Commit e619a3b04c27b680d9afedcb1bf79eb1e9cbb441
1 parent
4963f51a
Controllet cross browser big fix
Showing
534 changed files
with
10973 additions
and
6512 deletions
Too many changes.
To preserve performance only 100 of 534 files are displayed.
bower_components/google-map/.bower.json
100755 โ 100644
1 | 1 | { |
2 | 2 | "name": "google-map", |
3 | - "version": "1.1.0", | |
3 | + "version": "1.1.2", | |
4 | 4 | "description": "Google Maps web components", |
5 | 5 | "homepage": "https://googlewebcomponents.github.io/google-map", |
6 | 6 | "main": [ |
... | ... | @@ -36,11 +36,11 @@ |
36 | 36 | "web-component-tester": "*", |
37 | 37 | "iron-component-page": "PolymerElements/iron-component-page#^1.0.2" |
38 | 38 | }, |
39 | - "_release": "1.1.0", | |
39 | + "_release": "1.1.2", | |
40 | 40 | "_resolution": { |
41 | 41 | "type": "version", |
42 | - "tag": "1.1.0", | |
43 | - "commit": "c45ddfa8c48a67dda1b2237589edcd45bc3f7802" | |
42 | + "tag": "1.1.2", | |
43 | + "commit": "3567129ffac7df683346b5c9d8ad0c32e9213adb" | |
44 | 44 | }, |
45 | 45 | "_source": "git://github.com/GoogleWebComponents/google-map.git", |
46 | 46 | "_target": "^1.0.0", | ... | ... |
bower_components/google-map/LICENSE
100755 โ 100644
bower_components/google-map/README.md
100755 โ 100644
bower_components/google-map/bower.json
100755 โ 100644
bower_components/google-map/demo/index.html
100755 โ 100644
bower_components/google-map/google-map-directions.html
100755 โ 100644
bower_components/google-map/google-map-marker.html
100755 โ 100644
... | ... | @@ -42,8 +42,23 @@ child of `google-map`. |
42 | 42 | </dom-module> |
43 | 43 | |
44 | 44 | <script> |
45 | - | |
46 | 45 | (function() { |
46 | + | |
47 | + function setupDragHandler_() { | |
48 | + if (this.draggable) { | |
49 | + this.dragHandler_ = google.maps.event.addListener( | |
50 | + this.marker, 'dragend', onDragEnd_.bind(this)); | |
51 | + } else { | |
52 | + google.maps.event.removeListener(this.dragHandler_); | |
53 | + this.dragHandler_ = null; | |
54 | + } | |
55 | + } | |
56 | + | |
57 | + function onDragEnd_(e, details, sender) { | |
58 | + this.latitude = e.latLng.lat(); | |
59 | + this.longitude = e.latLng.lng(); | |
60 | + } | |
61 | + | |
47 | 62 | Polymer({ |
48 | 63 | |
49 | 64 | is: 'google-map-marker', |
... | ... | @@ -53,45 +68,53 @@ child of `google-map`. |
53 | 68 | * @param {google.maps.MouseEvent} event The mouse event. |
54 | 69 | * @event google-map-marker-click |
55 | 70 | */ |
71 | + | |
56 | 72 | /** |
57 | 73 | * Fired when the marker icon was double clicked. Requires the clickEvents attribute to be true. |
58 | 74 | * @param {google.maps.MouseEvent} event The mouse event. |
59 | 75 | * @event google-map-marker-dblclick |
60 | 76 | */ |
77 | + | |
61 | 78 | /** |
62 | 79 | * Fired for a mousedown on the marker. Requires the mouseEvents attribute to be true. |
63 | 80 | * @event google-map-marker-mousedown |
64 | 81 | * @param {google.maps.MouseEvent} event The mouse event. |
65 | 82 | */ |
83 | + | |
66 | 84 | /** |
67 | 85 | * Fired when the DOM `mousemove` event is fired on the marker. Requires the mouseEvents |
68 | 86 | * attribute to be true. |
69 | 87 | * @event google-map-marker-mousemove |
70 | 88 | * @param {google.maps.MouseEvent} event The mouse event. |
71 | 89 | */ |
90 | + | |
72 | 91 | /** |
73 | 92 | * Fired when the mouse leaves the area of the marker icon. Requires the mouseEvents attribute to be |
74 | 93 | * true. |
75 | 94 | * @event google-map-marker-mouseout |
76 | 95 | * @param {google.maps.MouseEvent} event The mouse event. |
77 | 96 | */ |
97 | + | |
78 | 98 | /** |
79 | 99 | * Fired when the mouse enters the area of the marker icon. Requires the mouseEvents attribute to be |
80 | 100 | * true. |
81 | 101 | * @event google-map-marker-mouseover |
82 | 102 | * @param {google.maps.MouseEvent} event The mouse event. |
83 | 103 | */ |
104 | + | |
84 | 105 | /** |
85 | 106 | * Fired for a mouseup on the marker. Requires the mouseEvents attribute to be true. |
86 | 107 | * |
87 | 108 | * @event google-map-marker-mouseup |
88 | 109 | * @param {google.maps.MouseEvent} event The mouse event. |
89 | 110 | */ |
111 | + | |
90 | 112 | /** |
91 | 113 | * Fired for a rightclick on the marker. Requires the clickEvents attribute to be true. |
92 | 114 | * @event google-map-marker-rightclick |
93 | 115 | * @param {google.maps.MouseEvent} event The mouse event. |
94 | 116 | */ |
117 | + | |
95 | 118 | properties: { |
96 | 119 | /** |
97 | 120 | * A Google Maps marker object. |
... | ... | @@ -161,6 +184,7 @@ child of `google-map`. |
161 | 184 | value: null, |
162 | 185 | reflectToAttribute: true |
163 | 186 | }, |
187 | + | |
164 | 188 | /** |
165 | 189 | * The marker's latitude coordinate. |
166 | 190 | */ |
... | ... | @@ -168,6 +192,16 @@ child of `google-map`. |
168 | 192 | type: Number, |
169 | 193 | value: null, |
170 | 194 | reflectToAttribute: true |
195 | + }, | |
196 | + | |
197 | + /** | |
198 | + * A animation for the marker. "DROP" or "BOUNCE". See | |
199 | + * https://developers.google.com/maps/documentation/javascript/examples/marker-animations. | |
200 | + */ | |
201 | + animation: { | |
202 | + type: String, | |
203 | + value: null, | |
204 | + observer: '_animationChanged' | |
171 | 205 | } |
172 | 206 | }, |
173 | 207 | |
... | ... | @@ -231,6 +265,12 @@ child of `google-map`. |
231 | 265 | } |
232 | 266 | }, |
233 | 267 | |
268 | + _animationChanged: function() { | |
269 | + if (this.marker) { | |
270 | + this.marker.setAnimation(google.maps.Animation[this.animation]); | |
271 | + } | |
272 | + }, | |
273 | + | |
234 | 274 | _iconChanged: function() { |
235 | 275 | if (this.marker) { |
236 | 276 | this.marker.setIcon(this.icon); |
... | ... | @@ -288,8 +328,12 @@ child of `google-map`. |
288 | 328 | this._listeners = {}; |
289 | 329 | this.marker = new google.maps.Marker({ |
290 | 330 | map: this.map, |
291 | - position: {lat: this.latitude, lng: this.longitude}, | |
331 | + position: { | |
332 | + lat: parseFloat(this.latitude), | |
333 | + lng: parseFloat(this.longitude) | |
334 | + }, | |
292 | 335 | title: this.title, |
336 | + animation: google.maps.Animation[this.animation], | |
293 | 337 | draggable: this.draggable, |
294 | 338 | visible: !this.hidden, |
295 | 339 | icon: this.icon, |
... | ... | @@ -336,19 +380,5 @@ child of `google-map`. |
336 | 380 | } |
337 | 381 | }); |
338 | 382 | |
339 | - function setupDragHandler_() { | |
340 | - if (this.draggable) { | |
341 | - this.dragHandler_ = google.maps.event.addListener( | |
342 | - this.marker, 'dragend', onDragEnd_.bind(this)); | |
343 | - } else { | |
344 | - google.maps.event.removeListener(this.dragHandler_); | |
345 | - this.dragHandler_ = null; | |
346 | - } | |
347 | - } | |
348 | - | |
349 | - function onDragEnd_(e, details, sender) { | |
350 | - this.latitude = e.latLng.lat(); | |
351 | - this.longitude = e.latLng.lng(); | |
352 | - } | |
353 | 383 | })(); |
354 | 384 | </script> | ... | ... |
bower_components/google-map/google-map-search.html
100755 โ 100644
... | ... | @@ -11,7 +11,7 @@ information on the API. |
11 | 11 | #### Example: |
12 | 12 | |
13 | 13 | <template is="dom-bind"> |
14 | - <google-map-search map="[[map]]" query="Pizza" | |
14 | + <google-map-search map="[[map]]" libraries="places" query="Pizza" | |
15 | 15 | results="{{results}}"></google-map-search> |
16 | 16 | <google-map map="{{map}}" latitude="37.779" |
17 | 17 | longitude="-122.3892"> |
... | ... | @@ -119,7 +119,7 @@ information on the API. |
119 | 119 | location: { |
120 | 120 | type: Object, |
121 | 121 | value: null, |
122 | - readyOnly: true | |
122 | + readOnly: true | |
123 | 123 | } |
124 | 124 | }, |
125 | 125 | |
... | ... | @@ -129,6 +129,13 @@ information on the API. |
129 | 129 | ], |
130 | 130 | |
131 | 131 | /** |
132 | + * Fired when the details of a place are returned. | |
133 | + * | |
134 | + * @event google-map-search-place-detail | |
135 | + * @param {google.maps.MarkerPlace} detail The place details. | |
136 | + */ | |
137 | + | |
138 | + /** | |
132 | 139 | * Fired when the search element returns a result. |
133 | 140 | * |
134 | 141 | * @event google-map-search-results |
... | ... | @@ -166,6 +173,26 @@ information on the API. |
166 | 173 | } |
167 | 174 | }, |
168 | 175 | |
176 | + /** | |
177 | + * Fetches details for a given place. | |
178 | + * @param {String} placeId The place id. | |
179 | + * @return {Promise} place The place information. | |
180 | + */ | |
181 | + getDetails: function(placeId) { | |
182 | + var places = new google.maps.places.PlacesService(this.map); | |
183 | + | |
184 | + return new Promise(function(resolve, reject) { | |
185 | + places.getDetails({placeId: placeId}, function(place, status) { | |
186 | + if (status === google.maps.places.PlacesServiceStatus.OK) { | |
187 | + resolve(place); | |
188 | + this.fire('google-map-search-place-detail', place); | |
189 | + } else { | |
190 | + reject(status); | |
191 | + } | |
192 | + }.bind(this)); | |
193 | + }.bind(this)); | |
194 | + }, | |
195 | + | |
169 | 196 | _gotResults: function(results, status) { |
170 | 197 | this.results = results.map(function(result) { |
171 | 198 | // obtain lat/long from geometry | ... | ... |
bower_components/google-map/google-map.html
100755 โ 100644
... | ... | @@ -204,7 +204,8 @@ The `google-map` element renders a Google Map. |
204 | 204 | zoom: { |
205 | 205 | type: Number, |
206 | 206 | value: 10, |
207 | - observer: '_zoomChanged' | |
207 | + observer: '_zoomChanged', | |
208 | + notify: true | |
208 | 209 | }, |
209 | 210 | |
210 | 211 | /** |
... | ... | @@ -221,7 +222,8 @@ The `google-map` element renders a Google Map. |
221 | 222 | mapType: { |
222 | 223 | type: String, |
223 | 224 | value: 'roadmap', // roadmap, satellite, hybrid, terrain, |
224 | - observer: '_mapTypeChanged' | |
225 | + observer: '_mapTypeChanged', | |
226 | + notify: true | |
225 | 227 | }, |
226 | 228 | |
227 | 229 | /** |
... | ... | @@ -671,6 +673,10 @@ The `google-map` element renders a Google Map. |
671 | 673 | google.maps.event.addListener(this.map, 'zoom_changed', function() { |
672 | 674 | this.zoom = this.map.getZoom(); |
673 | 675 | }.bind(this)); |
676 | + | |
677 | + google.maps.event.addListener(this.map, 'maptypeid_changed', function() { | |
678 | + this.mapType = this.map.getMapTypeId(); | |
679 | + }.bind(this)); | |
674 | 680 | |
675 | 681 | this._clickEventsChanged(); |
676 | 682 | this._dragEventsChanged(); | ... | ... |
bower_components/google-map/index.html
100755 โ 100644
bower_components/google-map/metadata.html
100755 โ 100644
bower_components/hydrolysis/.bower.json
100755 โ 100644
... | ... | @@ -19,13 +19,13 @@ |
19 | 19 | "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0", |
20 | 20 | "web-component-tester": "*" |
21 | 21 | }, |
22 | - "version": "1.15.2", | |
22 | + "version": "1.19.0", | |
23 | 23 | "homepage": "https://github.com/Polymer/hydrolysis", |
24 | - "_release": "1.15.2", | |
24 | + "_release": "1.19.0", | |
25 | 25 | "_resolution": { |
26 | 26 | "type": "version", |
27 | - "tag": "v1.15.2", | |
28 | - "commit": "3b255182fd39a273c255ac2a49db8d06d96f667d" | |
27 | + "tag": "v1.19.0", | |
28 | + "commit": "8b0e8410712cc465a35b854ce86bfb6b23e2e9ab" | |
29 | 29 | }, |
30 | 30 | "_source": "git://github.com/Polymer/hydrolysis.git", |
31 | 31 | "_target": "^1.11", | ... | ... |
bower_components/hydrolysis/.editorconfig
100755 โ 100644
bower_components/hydrolysis/.gitattributes
100755 โ 100644
bower_components/hydrolysis/API.md
100755 โ 100644
... | ... | @@ -24,31 +24,38 @@ Static analysis for Polymer. |
24 | 24 | * [.Analyzer](#hydrolysis.Analyzer) |
25 | 25 | * [new Analyzer(attachAST, [loader])](#new_hydrolysis.Analyzer_new) |
26 | 26 | * _instance_ |
27 | - * [.elements](#hydrolysis.Analyzer#elements) : <code>Array.<ElementDescriptor></code> | |
28 | - * [.elementsByTagName](#hydrolysis.Analyzer#elementsByTagName) : <code>Object.<string, ElementDescriptor></code> | |
29 | - * [.features](#hydrolysis.Analyzer#features) : <code>Array.<FeatureDescriptor></code> | |
30 | - * [.behaviors](#hydrolysis.Analyzer#behaviors) : <code>Array.<BehaviorDescriptor></code> | |
31 | - * [.html](#hydrolysis.Analyzer#html) : <code>Object.<string, AnalyzedDocument></code> | |
32 | - * [.parsedDocuments](#hydrolysis.Analyzer#parsedDocuments) : <code>Object</code> | |
33 | - * [._getDependencies(href, [found], [transitive])](#hydrolysis.Analyzer#_getDependencies) โ <code>Array.<string></code> | |
34 | - * [.metadataTree(href)](#hydrolysis.Analyzer#metadataTree) โ <code>Promise</code> | |
35 | - * [.nodeWalkDocuments(predicate)](#hydrolysis.Analyzer#nodeWalkDocuments) โ <code>Object</code> | |
36 | - * [.annotate()](#hydrolysis.Analyzer#annotate) | |
37 | - * [.clean()](#hydrolysis.Analyzer#clean) | |
27 | + * [.elements](#hydrolysis.Analyzer+elements) : <code>Array.<ElementDescriptor></code> | |
28 | + * [.elementsByTagName](#hydrolysis.Analyzer+elementsByTagName) : <code>Object.<string, ElementDescriptor></code> | |
29 | + * [.features](#hydrolysis.Analyzer+features) : <code>Array.<FeatureDescriptor></code> | |
30 | + * [.behaviors](#hydrolysis.Analyzer+behaviors) : <code>Array.<BehaviorDescriptor></code> | |
31 | + * [.behaviorsByName](#hydrolysis.Analyzer+behaviorsByName) : <code>Object.<string, BehaviorDescriptor></code> | |
32 | + * [.html](#hydrolysis.Analyzer+html) : <code>Object.<string, AnalyzedDocument></code> | |
33 | + * [.parsedDocuments](#hydrolysis.Analyzer+parsedDocuments) : <code>Object</code> | |
34 | + * [.parsedScripts](#hydrolysis.Analyzer+parsedScripts) : <code>Object.<string, Array.<ParsedJS>></code> | |
35 | + * [._content](#hydrolysis.Analyzer+_content) : <code>Object</code> | |
36 | + * [._getDependencies(href, [found], [transitive])](#hydrolysis.Analyzer+_getDependencies) โ <code>Array.<string></code> | |
37 | + * [.metadataTree(href)](#hydrolysis.Analyzer+metadataTree) โ <code>Promise</code> | |
38 | + * [.getLoadedAst(href, [loaded])](#hydrolysis.Analyzer+getLoadedAst) โ <code>Promise.<DocumentAST></code> | |
39 | + * [.nodeWalkDocuments(predicate)](#hydrolysis.Analyzer+nodeWalkDocuments) โ <code>Object</code> | |
40 | + * [.nodeWalkAllDocuments(predicate)](#hydrolysis.Analyzer+nodeWalkAllDocuments) โ <code>Object</code> | |
41 | + * [.annotate()](#hydrolysis.Analyzer+annotate) | |
42 | + * [.clean()](#hydrolysis.Analyzer+clean) | |
38 | 43 | * _static_ |
39 | 44 | * [.analyze(href, [options])](#hydrolysis.Analyzer.analyze) โ <code>Promise.<Analyzer></code> |
40 | 45 | * [.FileLoader](#hydrolysis.FileLoader) |
41 | 46 | * [new FileLoader()](#new_hydrolysis.FileLoader_new) |
42 | - * [.addResolver(resolver)](#hydrolysis.FileLoader#addResolver) | |
43 | - * [.request(url)](#hydrolysis.FileLoader#request) โ <code>Promise.<string></code> | |
47 | + * [.addResolver(resolver)](#hydrolysis.FileLoader+addResolver) | |
48 | + * [.request(url)](#hydrolysis.FileLoader+request) โ <code>Promise.<string></code> | |
44 | 49 | * [.FSResolver](#hydrolysis.FSResolver) |
45 | 50 | * [new FSResolver(config)](#new_hydrolysis.FSResolver_new) |
46 | 51 | * [.NoopResolver](#hydrolysis.NoopResolver) |
47 | 52 | * [new NoopResolver(config)](#new_hydrolysis.NoopResolver_new) |
48 | - * [.accept(uri, deferred)](#hydrolysis.NoopResolver#accept) โ <code>boolean</code> | |
53 | + * [.accept(uri, deferred)](#hydrolysis.NoopResolver+accept) โ <code>boolean</code> | |
49 | 54 | * [.XHRResolver](#hydrolysis.XHRResolver) |
50 | 55 | * [new XHRResolver(config)](#new_hydrolysis.XHRResolver_new) |
51 | 56 | * [.DocumentAST](#hydrolysis.DocumentAST) : <code>Object</code> |
57 | + * [.JSAST](#hydrolysis.JSAST) : <code>Object</code> | |
58 | + * [.ParsedJS](#hydrolysis.ParsedJS) : <code>Object</code> | |
52 | 59 | * [.ElementDescriptor](#hydrolysis.ElementDescriptor) : <code>Object</code> |
53 | 60 | * [.FeatureDescriptor](#hydrolysis.FeatureDescriptor) : <code>Object</code> |
54 | 61 | * [.BehaviorDescriptor](#hydrolysis.BehaviorDescriptor) : <code>Object</code> |
... | ... | @@ -64,17 +71,22 @@ Static analysis for Polymer. |
64 | 71 | * [.Analyzer](#hydrolysis.Analyzer) |
65 | 72 | * [new Analyzer(attachAST, [loader])](#new_hydrolysis.Analyzer_new) |
66 | 73 | * _instance_ |
67 | - * [.elements](#hydrolysis.Analyzer#elements) : <code>Array.<ElementDescriptor></code> | |
68 | - * [.elementsByTagName](#hydrolysis.Analyzer#elementsByTagName) : <code>Object.<string, ElementDescriptor></code> | |
69 | - * [.features](#hydrolysis.Analyzer#features) : <code>Array.<FeatureDescriptor></code> | |
70 | - * [.behaviors](#hydrolysis.Analyzer#behaviors) : <code>Array.<BehaviorDescriptor></code> | |
71 | - * [.html](#hydrolysis.Analyzer#html) : <code>Object.<string, AnalyzedDocument></code> | |
72 | - * [.parsedDocuments](#hydrolysis.Analyzer#parsedDocuments) : <code>Object</code> | |
73 | - * [._getDependencies(href, [found], [transitive])](#hydrolysis.Analyzer#_getDependencies) โ <code>Array.<string></code> | |
74 | - * [.metadataTree(href)](#hydrolysis.Analyzer#metadataTree) โ <code>Promise</code> | |
75 | - * [.nodeWalkDocuments(predicate)](#hydrolysis.Analyzer#nodeWalkDocuments) โ <code>Object</code> | |
76 | - * [.annotate()](#hydrolysis.Analyzer#annotate) | |
77 | - * [.clean()](#hydrolysis.Analyzer#clean) | |
74 | + * [.elements](#hydrolysis.Analyzer+elements) : <code>Array.<ElementDescriptor></code> | |
75 | + * [.elementsByTagName](#hydrolysis.Analyzer+elementsByTagName) : <code>Object.<string, ElementDescriptor></code> | |
76 | + * [.features](#hydrolysis.Analyzer+features) : <code>Array.<FeatureDescriptor></code> | |
77 | + * [.behaviors](#hydrolysis.Analyzer+behaviors) : <code>Array.<BehaviorDescriptor></code> | |
78 | + * [.behaviorsByName](#hydrolysis.Analyzer+behaviorsByName) : <code>Object.<string, BehaviorDescriptor></code> | |
79 | + * [.html](#hydrolysis.Analyzer+html) : <code>Object.<string, AnalyzedDocument></code> | |
80 | + * [.parsedDocuments](#hydrolysis.Analyzer+parsedDocuments) : <code>Object</code> | |
81 | + * [.parsedScripts](#hydrolysis.Analyzer+parsedScripts) : <code>Object.<string, Array.<ParsedJS>></code> | |
82 | + * [._content](#hydrolysis.Analyzer+_content) : <code>Object</code> | |
83 | + * [._getDependencies(href, [found], [transitive])](#hydrolysis.Analyzer+_getDependencies) โ <code>Array.<string></code> | |
84 | + * [.metadataTree(href)](#hydrolysis.Analyzer+metadataTree) โ <code>Promise</code> | |
85 | + * [.getLoadedAst(href, [loaded])](#hydrolysis.Analyzer+getLoadedAst) โ <code>Promise.<DocumentAST></code> | |
86 | + * [.nodeWalkDocuments(predicate)](#hydrolysis.Analyzer+nodeWalkDocuments) โ <code>Object</code> | |
87 | + * [.nodeWalkAllDocuments(predicate)](#hydrolysis.Analyzer+nodeWalkAllDocuments) โ <code>Object</code> | |
88 | + * [.annotate()](#hydrolysis.Analyzer+annotate) | |
89 | + * [.clean()](#hydrolysis.Analyzer+clean) | |
78 | 90 | * _static_ |
79 | 91 | * [.analyze(href, [options])](#hydrolysis.Analyzer.analyze) โ <code>Promise.<Analyzer></code> |
80 | 92 | |
... | ... | @@ -88,38 +100,55 @@ A database of Polymer metadata defined in HTML |
88 | 100 | | attachAST | <code>boolean</code> | If true, attach a parse5 compliant AST | |
89 | 101 | | [loader] | <code>FileLoader</code> | An optional `FileLoader` used to load external resources | |
90 | 102 | |
91 | -<a name="hydrolysis.Analyzer#elements"></a> | |
103 | +<a name="hydrolysis.Analyzer+elements"></a> | |
92 | 104 | #### analyzer.elements : <code>Array.<ElementDescriptor></code> |
93 | 105 | A list of all elements the `Analyzer` has metadata for. |
94 | 106 | |
95 | 107 | **Kind**: instance property of <code>[Analyzer](#hydrolysis.Analyzer)</code> |
96 | -<a name="hydrolysis.Analyzer#elementsByTagName"></a> | |
108 | +<a name="hydrolysis.Analyzer+elementsByTagName"></a> | |
97 | 109 | #### analyzer.elementsByTagName : <code>Object.<string, ElementDescriptor></code> |
98 | 110 | A view into `elements`, keyed by tag name. |
99 | 111 | |
100 | 112 | **Kind**: instance property of <code>[Analyzer](#hydrolysis.Analyzer)</code> |
101 | -<a name="hydrolysis.Analyzer#features"></a> | |
113 | +<a name="hydrolysis.Analyzer+features"></a> | |
102 | 114 | #### analyzer.features : <code>Array.<FeatureDescriptor></code> |
103 | 115 | A list of API features added to `Polymer.Base` encountered by the |
104 | 116 | analyzer. |
105 | 117 | |
106 | 118 | **Kind**: instance property of <code>[Analyzer](#hydrolysis.Analyzer)</code> |
107 | -<a name="hydrolysis.Analyzer#behaviors"></a> | |
119 | +<a name="hydrolysis.Analyzer+behaviors"></a> | |
108 | 120 | #### analyzer.behaviors : <code>Array.<BehaviorDescriptor></code> |
109 | 121 | The behaviors collected by the analysis pass. |
110 | 122 | |
111 | 123 | **Kind**: instance property of <code>[Analyzer](#hydrolysis.Analyzer)</code> |
112 | -<a name="hydrolysis.Analyzer#html"></a> | |
124 | +<a name="hydrolysis.Analyzer+behaviorsByName"></a> | |
125 | +#### analyzer.behaviorsByName : <code>Object.<string, BehaviorDescriptor></code> | |
126 | +The behaviors collected by the analysis pass by name. | |
127 | + | |
128 | +**Kind**: instance property of <code>[Analyzer](#hydrolysis.Analyzer)</code> | |
129 | +<a name="hydrolysis.Analyzer+html"></a> | |
113 | 130 | #### analyzer.html : <code>Object.<string, AnalyzedDocument></code> |
114 | 131 | A map, keyed by absolute path, of Document metadata. |
115 | 132 | |
116 | 133 | **Kind**: instance property of <code>[Analyzer](#hydrolysis.Analyzer)</code> |
117 | -<a name="hydrolysis.Analyzer#parsedDocuments"></a> | |
134 | +<a name="hydrolysis.Analyzer+parsedDocuments"></a> | |
118 | 135 | #### analyzer.parsedDocuments : <code>Object</code> |
119 | 136 | A map, keyed by path, of HTML document ASTs. |
120 | 137 | |
121 | 138 | **Kind**: instance property of <code>[Analyzer](#hydrolysis.Analyzer)</code> |
122 | -<a name="hydrolysis.Analyzer#_getDependencies"></a> | |
139 | +<a name="hydrolysis.Analyzer+parsedScripts"></a> | |
140 | +#### analyzer.parsedScripts : <code>Object.<string, Array.<ParsedJS>></code> | |
141 | +A map, keyed by path, of JS script ASTs. | |
142 | + | |
143 | +If the path is an HTML file with multiple scripts, the entry will be an array of scripts. | |
144 | + | |
145 | +**Kind**: instance property of <code>[Analyzer](#hydrolysis.Analyzer)</code> | |
146 | +<a name="hydrolysis.Analyzer+_content"></a> | |
147 | +#### analyzer._content : <code>Object</code> | |
148 | +A map, keyed by path, of document content. | |
149 | + | |
150 | +**Kind**: instance property of <code>[Analyzer](#hydrolysis.Analyzer)</code> | |
151 | +<a name="hydrolysis.Analyzer+_getDependencies"></a> | |
123 | 152 | #### analyzer._getDependencies(href, [found], [transitive]) โ <code>Array.<string></code> |
124 | 153 | List all the html dependencies for the document at `href`. |
125 | 154 | |
... | ... | @@ -132,7 +161,7 @@ List all the html dependencies for the document at `href`. |
132 | 161 | | [found] | <code>Object.<string, boolean></code> | An object keyed by URL of the already resolved dependencies. | |
133 | 162 | | [transitive] | <code>boolean</code> | Whether to load transitive dependencies. Defaults to true. | |
134 | 163 | |
135 | -<a name="hydrolysis.Analyzer#metadataTree"></a> | |
164 | +<a name="hydrolysis.Analyzer+metadataTree"></a> | |
136 | 165 | #### analyzer.metadataTree(href) โ <code>Promise</code> |
137 | 166 | Returns a promise that resolves to a POJO representation of the import |
138 | 167 | tree, in a format that maintains the ordering of the HTML imports spec. |
... | ... | @@ -143,9 +172,35 @@ tree, in a format that maintains the ordering of the HTML imports spec. |
143 | 172 | | --- | --- | --- | |
144 | 173 | | href | <code>string</code> | the import to get metadata for. | |
145 | 174 | |
146 | -<a name="hydrolysis.Analyzer#nodeWalkDocuments"></a> | |
175 | +<a name="hydrolysis.Analyzer+getLoadedAst"></a> | |
176 | +#### analyzer.getLoadedAst(href, [loaded]) โ <code>Promise.<DocumentAST></code> | |
177 | +Returns a promise resolving to a form of the AST with all links replaced | |
178 | +with the document they link to. .css and .script files become <style> and | |
179 | +<script>, respectively. | |
180 | + | |
181 | +The elements in the loaded document are unmodified from their original | |
182 | +documents. | |
183 | + | |
184 | +**Kind**: instance method of <code>[Analyzer](#hydrolysis.Analyzer)</code> | |
185 | + | |
186 | +| Param | Type | Description | | |
187 | +| --- | --- | --- | | |
188 | +| href | <code>string</code> | The document to load. | | |
189 | +| [loaded] | <code>Object.<string, boolean></code> | An object keyed by already loaded documents. | | |
190 | + | |
191 | +<a name="hydrolysis.Analyzer+nodeWalkDocuments"></a> | |
147 | 192 | #### analyzer.nodeWalkDocuments(predicate) โ <code>Object</code> |
148 | -Calls `dom5.nodeWalk` on each document that `Anayzler` has laoded. | |
193 | +Calls `dom5.nodeWalkAll` on each document that `Anayzler` has laoded. | |
194 | + | |
195 | +**Kind**: instance method of <code>[Analyzer](#hydrolysis.Analyzer)</code> | |
196 | + | |
197 | +| Param | Type | Description | | |
198 | +| --- | --- | --- | | |
199 | +| predicate | <code>Object</code> | A dom5 predicate. | | |
200 | + | |
201 | +<a name="hydrolysis.Analyzer+nodeWalkAllDocuments"></a> | |
202 | +#### analyzer.nodeWalkAllDocuments(predicate) โ <code>Object</code> | |
203 | +Calls `dom5.nodeWalkAll` on each document that `Anayzler` has laoded. | |
149 | 204 | |
150 | 205 | **Kind**: instance method of <code>[Analyzer](#hydrolysis.Analyzer)</code> |
151 | 206 | |
... | ... | @@ -153,12 +208,12 @@ Calls `dom5.nodeWalk` on each document that `Anayzler` has laoded. |
153 | 208 | | --- | --- | --- | |
154 | 209 | | predicate | <code>Object</code> | A dom5 predicate. | |
155 | 210 | |
156 | -<a name="hydrolysis.Analyzer#annotate"></a> | |
211 | +<a name="hydrolysis.Analyzer+annotate"></a> | |
157 | 212 | #### analyzer.annotate() |
158 | 213 | Annotates all loaded metadata with its documentation. |
159 | 214 | |
160 | 215 | **Kind**: instance method of <code>[Analyzer](#hydrolysis.Analyzer)</code> |
161 | -<a name="hydrolysis.Analyzer#clean"></a> | |
216 | +<a name="hydrolysis.Analyzer+clean"></a> | |
162 | 217 | #### analyzer.clean() |
163 | 218 | Removes redundant properties from the collected descriptors. |
164 | 219 | |
... | ... | @@ -185,14 +240,14 @@ In order to properly filter paths, `href` _must_ be an absolute URI. |
185 | 240 | |
186 | 241 | * [.FileLoader](#hydrolysis.FileLoader) |
187 | 242 | * [new FileLoader()](#new_hydrolysis.FileLoader_new) |
188 | - * [.addResolver(resolver)](#hydrolysis.FileLoader#addResolver) | |
189 | - * [.request(url)](#hydrolysis.FileLoader#request) โ <code>Promise.<string></code> | |
243 | + * [.addResolver(resolver)](#hydrolysis.FileLoader+addResolver) | |
244 | + * [.request(url)](#hydrolysis.FileLoader+request) โ <code>Promise.<string></code> | |
190 | 245 | |
191 | 246 | <a name="new_hydrolysis.FileLoader_new"></a> |
192 | 247 | #### new FileLoader() |
193 | 248 | A FileLoader lets you resolve URLs with a set of potential resolvers. |
194 | 249 | |
195 | -<a name="hydrolysis.FileLoader#addResolver"></a> | |
250 | +<a name="hydrolysis.FileLoader+addResolver"></a> | |
196 | 251 | #### fileLoader.addResolver(resolver) |
197 | 252 | Add an instance of a Resolver class to the list of url resolvers |
198 | 253 | |
... | ... | @@ -205,7 +260,7 @@ The first resolver to "accept" the url wins. |
205 | 260 | | --- | --- | --- | |
206 | 261 | | resolver | <code>Resolver</code> | The resolver to add. | |
207 | 262 | |
208 | -<a name="hydrolysis.FileLoader#request"></a> | |
263 | +<a name="hydrolysis.FileLoader+request"></a> | |
209 | 264 | #### fileLoader.request(url) โ <code>Promise.<string></code> |
210 | 265 | Return a promise for an absolute url |
211 | 266 | |
... | ... | @@ -241,7 +296,7 @@ Resolves requests via the file system. |
241 | 296 | |
242 | 297 | * [.NoopResolver](#hydrolysis.NoopResolver) |
243 | 298 | * [new NoopResolver(config)](#new_hydrolysis.NoopResolver_new) |
244 | - * [.accept(uri, deferred)](#hydrolysis.NoopResolver#accept) โ <code>boolean</code> | |
299 | + * [.accept(uri, deferred)](#hydrolysis.NoopResolver+accept) โ <code>boolean</code> | |
245 | 300 | |
246 | 301 | <a name="new_hydrolysis.NoopResolver_new"></a> |
247 | 302 | #### new NoopResolver(config) |
... | ... | @@ -252,7 +307,7 @@ A resolver that resolves to null any uri matching config. |
252 | 307 | | --- | --- | --- | |
253 | 308 | | config | <code>string</code> | The url to `accept`. | |
254 | 309 | |
255 | -<a name="hydrolysis.NoopResolver#accept"></a> | |
310 | +<a name="hydrolysis.NoopResolver+accept"></a> | |
256 | 311 | #### noopResolver.accept(uri, deferred) โ <code>boolean</code> |
257 | 312 | **Kind**: instance method of <code>[NoopResolver](#hydrolysis.NoopResolver)</code> |
258 | 313 | **Returns**: <code>boolean</code> - Whether the URI is handled by this resolver. |
... | ... | @@ -280,6 +335,23 @@ Construct a resolver that requests resources over XHR. |
280 | 335 | Parse5's representation of a parsed html document |
281 | 336 | |
282 | 337 | **Kind**: static typedef of <code>[hydrolysis](#hydrolysis)</code> |
338 | +<a name="hydrolysis.JSAST"></a> | |
339 | +### hydrolysis.JSAST : <code>Object</code> | |
340 | +espree's representation of a parsed html document | |
341 | + | |
342 | +**Kind**: static typedef of <code>[hydrolysis](#hydrolysis)</code> | |
343 | +<a name="hydrolysis.ParsedJS"></a> | |
344 | +### hydrolysis.ParsedJS : <code>Object</code> | |
345 | +Package of a parsed JS script | |
346 | + | |
347 | +**Kind**: static typedef of <code>[hydrolysis](#hydrolysis)</code> | |
348 | +**Properties** | |
349 | + | |
350 | +| Name | Type | Description | | |
351 | +| --- | --- | --- | | |
352 | +| ast | <code>JSAST</code> | The script's AST | | |
353 | +| scriptElement | <code>DocumentAST</code> | If inline, the script's containing tag. | | |
354 | + | |
283 | 355 | <a name="hydrolysis.ElementDescriptor"></a> |
284 | 356 | ### hydrolysis.ElementDescriptor : <code>Object</code> |
285 | 357 | The metadata for a single polymer element | ... | ... |
bower_components/hydrolysis/LICENSE
100755 โ 100644
bower_components/hydrolysis/README.md
100755 โ 100644
bower_components/hydrolysis/bower.json
100755 โ 100644
bower_components/hydrolysis/hydrolysis-analyzer.html
100755 โ 100644
bower_components/hydrolysis/hydrolysis.html
100755 โ 100644
bower_components/hydrolysis/hydrolysis.js
100755 โ 100644
... | ... | @@ -13,7 +13,6 @@ require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof requ |
13 | 13 | 'use strict'; |
14 | 14 | // jshint -W079 |
15 | 15 | var Promise = global.Promise || require('es6-promise').Promise; |
16 | -require("setimmediate"); | |
17 | 16 | // jshint +W079 |
18 | 17 | |
19 | 18 | var dom5 = require('dom5'); |
... | ... | @@ -42,6 +41,20 @@ var EMPTY_METADATA = {elements: [], features: [], behaviors: []}; |
42 | 41 | */ |
43 | 42 | |
44 | 43 | /** |
44 | + * espree's representation of a parsed html document | |
45 | + * @typedef {Object} JSAST | |
46 | + * @memberof hydrolysis | |
47 | + */ | |
48 | + | |
49 | +/** | |
50 | + * Package of a parsed JS script | |
51 | + * @typedef {Object} ParsedJS | |
52 | + * @property {JSAST} ast The script's AST | |
53 | + * @property {DocumentAST} scriptElement If inline, the script's containing tag. | |
54 | + * @memberof hydrolysis | |
55 | + */ | |
56 | + | |
57 | +/** | |
45 | 58 | * The metadata for a single polymer element |
46 | 59 | * @typedef {Object} ElementDescriptor |
47 | 60 | * @memberof hydrolysis |
... | ... | @@ -125,13 +138,18 @@ var Analyzer = function Analyzer(attachAST, |
125 | 138 | this.behaviors = []; |
126 | 139 | |
127 | 140 | /** |
141 | + * The behaviors collected by the analysis pass by name. | |
142 | + * | |
143 | + * @member {Object<string,BehaviorDescriptor>} | |
144 | + */ | |
145 | + this.behaviorsByName = {}; | |
146 | + | |
147 | + /** | |
128 | 148 | * A map, keyed by absolute path, of Document metadata. |
129 | 149 | * @member {Object<string,AnalyzedDocument>} |
130 | 150 | */ |
131 | 151 | this.html = {}; |
132 | 152 | |
133 | - this._parsedDocuments = {}; | |
134 | - | |
135 | 153 | /** |
136 | 154 | * A map, keyed by path, of HTML document ASTs. |
137 | 155 | * @type {Object} |
... | ... | @@ -139,6 +157,17 @@ var Analyzer = function Analyzer(attachAST, |
139 | 157 | this.parsedDocuments = {}; |
140 | 158 | |
141 | 159 | /** |
160 | + * A map, keyed by path, of JS script ASTs. | |
161 | + * | |
162 | + * If the path is an HTML file with multiple scripts, the entry will be an array of scripts. | |
163 | + * | |
164 | + * @type {Object<string,Array<ParsedJS>>} | |
165 | + */ | |
166 | + this.parsedScripts = {}; | |
167 | + | |
168 | + | |
169 | + | |
170 | + /** | |
142 | 171 | * A map, keyed by path, of document content. |
143 | 172 | * @type {Object} |
144 | 173 | */ |
... | ... | @@ -207,11 +236,14 @@ function _defaultFilter(href) { |
207 | 236 | Analyzer.prototype.load = function load(href) { |
208 | 237 | return this.loader.request(href).then(function(content) { |
209 | 238 | return new Promise(function(resolve, reject) { |
210 | - setImmediate(function() { | |
239 | + setTimeout(function() { | |
211 | 240 | this._content[href] = content; |
212 | 241 | resolve(this._parseHTML(content, href)); |
213 | - }.bind(this)); | |
214 | - }.bind(this)); | |
242 | + }.bind(this), 0); | |
243 | + }.bind(this)).catch(function(err){ | |
244 | + console.error("Error processing document at " + href); | |
245 | + throw err; | |
246 | + }); | |
215 | 247 | }.bind(this)); |
216 | 248 | }; |
217 | 249 | |
... | ... | @@ -240,8 +272,26 @@ Analyzer.prototype._parseHTML = function _parseHTML(htmlImport, |
240 | 272 | var htmlLoaded = Promise.resolve(parsed); |
241 | 273 | if (parsed.script) { |
242 | 274 | metadataLoaded = this._processScripts(parsed.script, href); |
243 | - depsLoaded.push(metadataLoaded); | |
244 | 275 | } |
276 | + var commentText = parsed.comment.map(function(comment){ | |
277 | + return dom5.getTextContent(comment); | |
278 | + }); | |
279 | + var pseudoElements = docs.parsePseudoElements(commentText); | |
280 | + pseudoElements.forEach(function(element){ | |
281 | + element.contentHref = href; | |
282 | + this.elements.push(element); | |
283 | + this.elementsByTagName[element.is] = element; | |
284 | + }.bind(this)); | |
285 | + metadataLoaded = metadataLoaded.then(function(metadata){ | |
286 | + var metadataEntry = { | |
287 | + elements: pseudoElements, | |
288 | + features: [], | |
289 | + behaviors: [] | |
290 | + }; | |
291 | + return [metadata, metadataEntry].reduce(reduceMetadata); | |
292 | + }); | |
293 | + depsLoaded.push(metadataLoaded); | |
294 | + | |
245 | 295 | |
246 | 296 | if (this.loader) { |
247 | 297 | var baseUri = href; |
... | ... | @@ -278,7 +328,6 @@ Analyzer.prototype._parseHTML = function _parseHTML(htmlImport, |
278 | 328 | depsLoaded = Promise.all(depsLoaded) |
279 | 329 | .then(function() {return depHrefs;}) |
280 | 330 | .catch(function(err) {throw err;}); |
281 | - this._parsedDocuments[href] = parsed; | |
282 | 331 | this.parsedDocuments[href] = parsed.ast; |
283 | 332 | this.html[href] = { |
284 | 333 | href: href, |
... | ... | @@ -305,7 +354,7 @@ Analyzer.prototype._processScript = function _processScript(script, href) { |
305 | 354 | var parsedJs; |
306 | 355 | if (!src) { |
307 | 356 | try { |
308 | - parsedJs = jsParse(script.childNodes[0].value); | |
357 | + parsedJs = jsParse((script.childNodes.length) ? script.childNodes[0].value : ''); | |
309 | 358 | } catch (err) { |
310 | 359 | // Figure out the correct line number for the error. |
311 | 360 | var line = 0; |
... | ... | @@ -318,7 +367,7 @@ Analyzer.prototype._processScript = function _processScript(script, href) { |
318 | 367 | col += err.column; |
319 | 368 | var message = "Error parsing script in " + href + " at " + line + ":" + col; |
320 | 369 | message += "\n" + err.description; |
321 | - throw new Error(message); | |
370 | + return Promise.reject(new Error(message)); | |
322 | 371 | } |
323 | 372 | if (parsedJs.elements) { |
324 | 373 | parsedJs.elements.forEach(function(element) { |
... | ... | @@ -342,9 +391,22 @@ Analyzer.prototype._processScript = function _processScript(script, href) { |
342 | 391 | if (parsedJs.behaviors) { |
343 | 392 | parsedJs.behaviors.forEach(function(behavior){ |
344 | 393 | behavior.contentHref = href; |
345 | - }); | |
394 | + this.behaviorsByName[behavior.is] = behavior; | |
395 | + this.behaviorsByName[behavior.symbol] = behavior; | |
396 | + }.bind(this)); | |
346 | 397 | this.behaviors = this.behaviors.concat(parsedJs.behaviors); |
347 | 398 | } |
399 | + if (!Object.hasOwnProperty.call(this.parsedScripts, href)) { | |
400 | + this.parsedScripts[href] = []; | |
401 | + } | |
402 | + var scriptElement; | |
403 | + if (script.__ownerDocument && script.__ownerDocument == href) { | |
404 | + scriptElement = script; | |
405 | + } | |
406 | + this.parsedScripts[href].push({ | |
407 | + ast: parsedJs.parsedScript, | |
408 | + scriptElement: scriptElement | |
409 | + }); | |
348 | 410 | return parsedJs; |
349 | 411 | } |
350 | 412 | if (this.loader) { |
... | ... | @@ -417,6 +479,38 @@ Analyzer.prototype._getDependencies = function _getDependencies(href, found, tra |
417 | 479 | }); |
418 | 480 | }; |
419 | 481 | |
482 | +function matchesDocumentFolder(descriptor, href) { | |
483 | + if (!descriptor.contentHref) { | |
484 | + return false; | |
485 | + } | |
486 | + var descriptorDoc = url.parse(descriptor.contentHref); | |
487 | + if (!descriptorDoc || !descriptorDoc.pathname) { | |
488 | + return false; | |
489 | + } | |
490 | + var searchDoc = url.parse(href); | |
491 | + if (!searchDoc || !searchDoc.pathname) { | |
492 | + return false; | |
493 | + } | |
494 | + var searchPath = searchDoc.pathname; | |
495 | + var lastSlash = searchPath.lastIndexOf("/"); | |
496 | + if (lastSlash > 0) { | |
497 | + searchPath = searchPath.slice(0, lastSlash); | |
498 | + } | |
499 | + return descriptorDoc.pathname.indexOf(searchPath) === 0; | |
500 | +} | |
501 | + | |
502 | +Analyzer.prototype.elementsForFolder = function elementsForFolder(href) { | |
503 | + return this.elements.filter(function(element){ | |
504 | + return matchesDocumentFolder(element, href); | |
505 | + }); | |
506 | +}; | |
507 | + | |
508 | +Analyzer.prototype.behaviorsForFolder = function behaviorsForFolder(href) { | |
509 | + return this.behaviors.filter(function(behavior){ | |
510 | + return matchesDocumentFolder(behavior, href); | |
511 | + }); | |
512 | +}; | |
513 | + | |
420 | 514 | /** |
421 | 515 | * Returns a promise that resolves to a POJO representation of the import |
422 | 516 | * tree, in a format that maintains the ordering of the HTML imports spec. |
... | ... | @@ -545,12 +639,12 @@ Analyzer.prototype._inlineImports = function _inlineImports(ast, href, loaded) { |
545 | 639 | |
546 | 640 | /** |
547 | 641 | * Returns a promise resolving to a form of the AST with all links replaced |
548 | - * with the document they link to. .css and .script files become <style> and | |
549 | - * <script>, respectively. | |
642 | + * with the document they link to. .css and .script files become <style> and | |
643 | + * <script>, respectively. | |
550 | 644 | * |
551 | 645 | * The elements in the loaded document are unmodified from their original |
552 | 646 | * documents. |
553 | - * | |
647 | + * | |
554 | 648 | * @param {string} href The document to load. |
555 | 649 | * @param {Object.<string,boolean>=} loaded An object keyed by already loaded documents. |
556 | 650 | * @return {Promise.<DocumentAST>} |
... | ... | @@ -560,9 +654,9 @@ Analyzer.prototype.getLoadedAst = function getLoadedAst(href, loaded) { |
560 | 654 | loaded = {}; |
561 | 655 | } |
562 | 656 | loaded[href] = true; |
563 | - var document = this._parsedDocuments[href]; | |
657 | + var parsedDocument = this.parsedDocuments[href]; | |
564 | 658 | var analyzedDocument = this.html[href]; |
565 | - var astCopy = dom5.parse(dom5.serialize(document.ast)); | |
659 | + var astCopy = dom5.parse(dom5.serialize(parsedDocument)); | |
566 | 660 | // Whenever we inline something, reset inlined to true to know that anoather |
567 | 661 | // inlining pass is needed; |
568 | 662 | this._inlineStyles(astCopy, href); |
... | ... | @@ -577,8 +671,8 @@ Analyzer.prototype.getLoadedAst = function getLoadedAst(href, loaded) { |
577 | 671 | * @return {Object} |
578 | 672 | */ |
579 | 673 | Analyzer.prototype.nodeWalkDocuments = function nodeWalkDocuments(predicate) { |
580 | - for (var href in this._parsedDocuments) { | |
581 | - var match = dom5.nodeWalk(this._parsedDocuments[href].ast, predicate); | |
674 | + for (var href in this.parsedDocuments) { | |
675 | + var match = dom5.nodeWalk(this.parsedDocuments[href], predicate); | |
582 | 676 | if (match) { |
583 | 677 | return match; |
584 | 678 | } |
... | ... | @@ -593,8 +687,8 @@ Analyzer.prototype.nodeWalkDocuments = function nodeWalkDocuments(predicate) { |
593 | 687 | */ |
594 | 688 | Analyzer.prototype.nodeWalkAllDocuments = function nodeWalkDocuments(predicate) { |
595 | 689 | var results = []; |
596 | - for (var href in this._parsedDocuments) { | |
597 | - var newNodes = dom5.nodeWalkAll(this._parsedDocuments[href].ast, predicate); | |
690 | + for (var href in this.parsedDocuments) { | |
691 | + var newNodes = dom5.nodeWalkAll(this.parsedDocuments[href], predicate); | |
598 | 692 | results = results.concat(newNodes); |
599 | 693 | } |
600 | 694 | return results; |
... | ... | @@ -607,9 +701,17 @@ Analyzer.prototype.annotate = function annotate() { |
607 | 701 | this.elements.unshift(featureEl); |
608 | 702 | this.elementsByTagName[featureEl.is] = featureEl; |
609 | 703 | } |
610 | - | |
611 | - this.elements.forEach(docs.annotateElement); | |
612 | - this.behaviors.forEach(docs.annotateElement); // Same shape. | |
704 | + var behaviorsByName = this.behaviorsByName; | |
705 | + var elementHelper = function(descriptor){ | |
706 | + docs.annotateElement(descriptor, behaviorsByName); | |
707 | + }; | |
708 | + this.elements.forEach(elementHelper); | |
709 | + this.behaviors.forEach(elementHelper); // Same shape. | |
710 | + this.behaviors.forEach(function(behavior){ | |
711 | + if (behavior.is !== behavior.symbol && behavior.symbol) { | |
712 | + this.behaviorsByName[behavior.symbol] = undefined; | |
713 | + } | |
714 | + }.bind(this)); | |
613 | 715 | }; |
614 | 716 | |
615 | 717 | function attachDomModule(parsedImport, element) { |
... | ... | @@ -631,8 +733,8 @@ Analyzer.prototype.clean = function clean() { |
631 | 733 | module.exports = Analyzer; |
632 | 734 | |
633 | 735 | }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) |
634 | - | |
635 | -},{"./ast-utils/docs":5,"./ast-utils/import-parse":10,"./ast-utils/js-parse":11,"./loader/file-loader":13,"./loader/fs-resolver":14,"./loader/noop-resolver":15,"./loader/xhr-resolver":16,"dom5":38,"es6-promise":60,"setimmediate":74,"url":26}],2:[function(require,module,exports){ | |
736 | +//# sourceMappingURL=data:application/json;charset:utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImxpYi9hbmFseXplci5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUE7QUFDQTtBQUNBO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G4gICAgfVxuICB9LmJpbmQodGhpcykpO1xufTtcblxuZnVuY3Rpb24gYXR0YWNoRG9tTW9kdWxlKHBhcnNlZEltcG9ydCwgZWxlbWVudCkge1xuICB2YXIgZG9tTW9kdWxlcyA9IHBhcnNlZEltcG9ydFsnZG9tLW1vZHVsZSddO1xuICBmb3IgKHZhciBpID0gMCwgZG9tTW9kdWxlOyBpIDwgZG9tTW9kdWxlcy5sZW5ndGg7IGkrKykge1xuICAgIGRvbU1vZHVsZSA9IGRvbU1vZHVsZXNbaV07XG4gICAgaWYgKGRvbTUuZ2V0QXR0cmlidXRlKGRvbU1vZHVsZSwgJ2lkJykgPT09IGVsZW1lbnQuaXMpIHtcbiAgICAgIGVsZW1lbnQuZG9tTW9kdWxlID0gZG9tTW9kdWxlO1xuICAgICAgcmV0dXJuO1xuICAgIH1cbiAgfVxufVxuXG4vKiogUmVtb3ZlcyByZWR1bmRhbnQgcHJvcGVydGllcyBmcm9tIHRoZSBjb2xsZWN0ZWQgZGVzY3JpcHRvcnMuICovXG5BbmFseXplci5wcm90b3R5cGUuY2xlYW4gPSBmdW5jdGlvbiBjbGVhbigpIHtcbiAgdGhpcy5lbGVtZW50cy5mb3JFYWNoKGRvY3MuY2xlYW5FbGVtZW50KTtcbn07XG5cbm1vZHVsZS5leHBvcnRzID0gQW5hbHl6ZXI7XG4iXX0= | |
737 | +},{"./ast-utils/docs":5,"./ast-utils/import-parse":10,"./ast-utils/js-parse":11,"./loader/file-loader":13,"./loader/fs-resolver":14,"./loader/noop-resolver":15,"./loader/xhr-resolver":16,"dom5":38,"es6-promise":60,"url":26}],2:[function(require,module,exports){ | |
636 | 738 | /** |
637 | 739 | * @license |
638 | 740 | * Copyright (c) 2015 The Polymer Project Authors. All rights reserved. |
... | ... | @@ -820,7 +922,7 @@ function arrayExpressionToValue(arry) { |
820 | 922 | for (var i=0; i<arry.elements.length; i++) { |
821 | 923 | var v = expressionToValue(arry.elements[i]); |
822 | 924 | if (v === undefined) |
823 | - v = CANT_CONVERT; | |
925 | + continue; | |
824 | 926 | if (i !== 0) |
825 | 927 | value += ', '; |
826 | 928 | value += v; |
... | ... | @@ -838,7 +940,7 @@ function objectExpressionToValue(obj) { |
838 | 940 | var k = expressionToValue(obj.properties[i].key); |
839 | 941 | var v = expressionToValue(obj.properties[i].value); |
840 | 942 | if (v === undefined) |
841 | - v = CANT_CONVERT; | |
943 | + continue; | |
842 | 944 | if (i !== 0) |
843 | 945 | value += ', '; |
844 | 946 | value += '"' + k + '": ' + v; |
... | ... | @@ -967,6 +1069,35 @@ module.exports = function behaviorFinder() { |
967 | 1069 | return newBehavior; |
968 | 1070 | } |
969 | 1071 | |
1072 | + /** | |
1073 | + * gets the expression representing a behavior from a node. | |
1074 | + */ | |
1075 | + function behaviorExpression(node) { | |
1076 | + switch(node.type) { | |
1077 | + case 'ExpressionStatement': | |
1078 | + return node.expression.right; | |
1079 | + case 'VariableDeclaration': | |
1080 | + return node.declarations.length > 0 ? node.declarations[0].init : null; | |
1081 | + } | |
1082 | + } | |
1083 | + | |
1084 | + /** | |
1085 | + * checks whether an expression is a simple array containing only member | |
1086 | + * expressions or identifiers. | |
1087 | + */ | |
1088 | + function isSimpleBehaviorArray(expression) { | |
1089 | + if (!expression || expression.type !== 'ArrayExpression') return false; | |
1090 | + for (var i=0; i < expression.elements.length; i++) { | |
1091 | + if (expression.elements[i].type !== 'MemberExpression' && | |
1092 | + expression.elements[i].type !== 'Identifier') { | |
1093 | + return false; | |
1094 | + } | |
1095 | + } | |
1096 | + return true; | |
1097 | + } | |
1098 | + | |
1099 | + var templatizer = "Polymer.Templatizer"; | |
1100 | + | |
970 | 1101 | var visitors = { |
971 | 1102 | |
972 | 1103 | /** |
... | ... | @@ -993,20 +1124,14 @@ module.exports = function behaviorFinder() { |
993 | 1124 | // inside the array. Ex: |
994 | 1125 | // Polymer.IronMultiSelectableBehavior = [ {....}, Polymer.IronSelectableBehavior] |
995 | 1126 | // We add these to behaviors array |
996 | - var expression; | |
997 | - switch(node.type) { | |
998 | - case 'ExpressionStatement': | |
999 | - expression = node.expression.right; | |
1000 | - break; | |
1001 | - case 'VariableDeclaration': | |
1002 | - expression = node.declarations.length > 0 ? node.declarations[0].init : null; | |
1003 | - break; | |
1004 | - } | |
1127 | + var expression = behaviorExpression(node); | |
1005 | 1128 | var chained = []; |
1006 | 1129 | if (expression && expression.type === 'ArrayExpression') { |
1007 | 1130 | for (var i=0; i < expression.elements.length; i++) { |
1008 | - if (expression.elements[i].type === 'MemberExpression') | |
1131 | + if (expression.elements[i].type === 'MemberExpression' || | |
1132 | + expression.elements[i].type === 'Identifier') { | |
1009 | 1133 | chained.push(astValue.expressionToValue(expression.elements[i])); |
1134 | + } | |
1010 | 1135 | } |
1011 | 1136 | if (chained.length > 0) |
1012 | 1137 | currentBehavior.behaviors = chained; |
... | ... | @@ -1015,8 +1140,13 @@ module.exports = function behaviorFinder() { |
1015 | 1140 | |
1016 | 1141 | _initBehavior: function(node, getName) { |
1017 | 1142 | var comment = esutil.getAttachedComment(node); |
1143 | + var symbol = getName(); | |
1018 | 1144 | // Quickly filter down to potential candidates. |
1019 | - if (!comment || comment.indexOf('@polymerBehavior') === -1) return; | |
1145 | + if (!comment || comment.indexOf('@polymerBehavior') === -1) { | |
1146 | + if (symbol !== templatizer) { | |
1147 | + return; | |
1148 | + } | |
1149 | + } | |
1020 | 1150 | |
1021 | 1151 | |
1022 | 1152 | currentBehavior = { |
... | ... | @@ -1029,14 +1159,16 @@ module.exports = function behaviorFinder() { |
1029 | 1159 | |
1030 | 1160 | docs.annotateBehavior(currentBehavior); |
1031 | 1161 | // Make sure that we actually parsed a behavior tag! |
1032 | - if (!jsdoc.hasTag(currentBehavior.jsdoc, 'polymerBehavior')) { | |
1162 | + if (!jsdoc.hasTag(currentBehavior.jsdoc, 'polymerBehavior') && | |
1163 | + symbol !== templatizer) { | |
1033 | 1164 | currentBehavior = null; |
1034 | 1165 | return; |
1035 | 1166 | } |
1036 | 1167 | |
1037 | 1168 | var name = jsdoc.getTag(currentBehavior.jsdoc, 'polymerBehavior', 'name'); |
1169 | + currentBehavior.symbol = symbol; | |
1038 | 1170 | if (!name) { |
1039 | - name = getName(); | |
1171 | + name = currentBehavior.symbol; | |
1040 | 1172 | } |
1041 | 1173 | if (!name) { |
1042 | 1174 | console.warn('Unable to determine name for @polymerBehavior:', comment); |
... | ... | @@ -1046,6 +1178,16 @@ module.exports = function behaviorFinder() { |
1046 | 1178 | this._parseChainedBehaviors(node); |
1047 | 1179 | |
1048 | 1180 | currentBehavior = mergeBehavior(currentBehavior); |
1181 | + | |
1182 | + // Some behaviors are just lists of other behaviors. If this is one then | |
1183 | + // add it to behaviors right away. | |
1184 | + if (isSimpleBehaviorArray(behaviorExpression(node))) { | |
1185 | + // TODO(ajo): Add a test to confirm the presence of `properties`. | |
1186 | + if (!currentBehavior.properties) currentBehavior.properties = []; | |
1187 | + if (behaviors.indexOf(currentBehavior) === -1) | |
1188 | + behaviors.push(currentBehavior); | |
1189 | + currentBehavior = null; | |
1190 | + } | |
1049 | 1191 | }, |
1050 | 1192 | |
1051 | 1193 | /** |
... | ... | @@ -1180,6 +1322,54 @@ function annotateElementHeader(descriptor) { |
1180 | 1322 | } |
1181 | 1323 | } |
1182 | 1324 | |
1325 | +function matchByName(propa, propb) { | |
1326 | + return propa.name == propb.name; | |
1327 | +} | |
1328 | + | |
1329 | +function copyProperties(from, to, behaviorsByName) { | |
1330 | + if (from.properties) { | |
1331 | + from.properties.forEach(function(fromProp){ | |
1332 | + for (var toProp, i = 0; i < to.properties.length; i++) { | |
1333 | + toProp = to.properties[i]; | |
1334 | + if (fromProp.name === toProp.name) { | |
1335 | + return; | |
1336 | + } | |
1337 | + } | |
1338 | + var newProp = {__fromBehavior: from.is}; | |
1339 | + if (fromProp.__fromBehavior) { | |
1340 | + return; | |
1341 | + } | |
1342 | + Object.keys(fromProp).forEach(function(propertyField){ | |
1343 | + newProp[propertyField] = fromProp[propertyField]; | |
1344 | + }); | |
1345 | + to.properties.push(newProp); | |
1346 | + }); | |
1347 | + } | |
1348 | + if (!from.behaviors) { | |
1349 | + return; | |
1350 | + } | |
1351 | + from.behaviors.forEach(function(behavior){ | |
1352 | + var definedBehavior = behaviorsByName[behavior] || behaviorsByName[behavior.symbol]; | |
1353 | + if (!definedBehavior) { | |
1354 | + return; | |
1355 | + } | |
1356 | + copyProperties(definedBehavior, to, behaviorsByName); | |
1357 | + }); | |
1358 | +} | |
1359 | + | |
1360 | +function mixinBehaviors(descriptor, behaviorsByName) { | |
1361 | + if (descriptor.behaviors) { | |
1362 | + descriptor.behaviors.forEach(function(behavior){ | |
1363 | + if (!behaviorsByName[behavior]) { | |
1364 | + console.warn("Behavior " + behavior + " not found!"); | |
1365 | + return; | |
1366 | + } | |
1367 | + var definedBehavior = behaviorsByName[behavior]; | |
1368 | + copyProperties(definedBehavior, descriptor, behaviorsByName); | |
1369 | + }); | |
1370 | + } | |
1371 | +} | |
1372 | + | |
1183 | 1373 | /** |
1184 | 1374 | * Annotates documentation found within a Hydrolysis element descriptor. Also |
1185 | 1375 | * supports behaviors. |
... | ... | @@ -1190,7 +1380,7 @@ function annotateElementHeader(descriptor) { |
1190 | 1380 | * @param {Object} descriptor The element descriptor. |
1191 | 1381 | * @return {Object} The descriptor that was given. |
1192 | 1382 | */ |
1193 | -function annotateElement(descriptor) { | |
1383 | +function annotateElement(descriptor, behaviorsByName) { | |
1194 | 1384 | if (!descriptor.desc && descriptor.type === 'element') { |
1195 | 1385 | descriptor.desc = _findElementDocs(descriptor.is, |
1196 | 1386 | descriptor.domModule, |
... | ... | @@ -1201,8 +1391,11 @@ function annotateElement(descriptor) { |
1201 | 1391 | // The `<dom-module>` is too low level for most needs, and it is _not_ |
1202 | 1392 | // serializable. So we drop it now that we've extracted all the useful bits |
1203 | 1393 | // from it. |
1394 | + // TODO: Don't worry about serializability here, provide an API to get JSON. | |
1204 | 1395 | delete descriptor.domModule; |
1205 | 1396 | |
1397 | + mixinBehaviors(descriptor, behaviorsByName); | |
1398 | + | |
1206 | 1399 | // Descriptors that should have their `desc` properties parsed as JSDoc. |
1207 | 1400 | descriptor.properties.forEach(function(property) { |
1208 | 1401 | // Feature properties are special, configuration is really just a matter of |
... | ... | @@ -1235,9 +1428,8 @@ function annotateElement(descriptor) { |
1235 | 1428 | * @param {Object} descriptor behavior descriptor |
1236 | 1429 | * @return {Object} descriptor passed in as param |
1237 | 1430 | */ |
1238 | -function annotateBehavior(descriptor) { | |
1431 | +function annotateBehavior(descriptor, behaviorsByName) { | |
1239 | 1432 | annotate(descriptor); |
1240 | - | |
1241 | 1433 | annotateElementHeader(descriptor); |
1242 | 1434 | |
1243 | 1435 | return descriptor; |
... | ... | @@ -1296,7 +1488,10 @@ function annotateProperty(descriptor, ignoreConfiguration) { |
1296 | 1488 | // @default JSDoc wins |
1297 | 1489 | var defaultTag = jsdoc.getTag(descriptor.jsdoc, 'default'); |
1298 | 1490 | if (defaultTag !== null) { |
1299 | - descriptor.default = (defaultTag.name || '') + (defaultTag.description || ''); | |
1491 | + var newDefault = (defaultTag.name || '') + (defaultTag.description || ''); | |
1492 | + if (newDefault !== '') { | |
1493 | + descriptor.default = newDefault; | |
1494 | + } | |
1300 | 1495 | } |
1301 | 1496 | |
1302 | 1497 | return descriptor; |
... | ... | @@ -1408,6 +1603,30 @@ function cleanProperty(property) { |
1408 | 1603 | } |
1409 | 1604 | |
1410 | 1605 | /** |
1606 | + * Parse elements defined only in comments. | |
1607 | + * @param {comments} Array<string> A list of comments to parse. | |
1608 | + * @return {ElementDescriptor} A list of pseudo-elements. | |
1609 | + */ | |
1610 | +function parsePseudoElements(comments) { | |
1611 | + var elements = []; | |
1612 | + comments.forEach(function(comment) { | |
1613 | + var parsed = jsdoc.parseJsdoc(comment); | |
1614 | + var pseudoTag = jsdoc.getTag(parsed, 'pseudoElement', 'name'); | |
1615 | + if (pseudoTag) { | |
1616 | + parsed.is = pseudoTag; | |
1617 | + parsed.jsdoc = {description: parsed.description, tags: parsed.tags}; | |
1618 | + parsed.properties = []; | |
1619 | + parsed.desc = parsed.description; | |
1620 | + parsed.description = undefined; | |
1621 | + parsed.tags = undefined; | |
1622 | + annotateElementHeader(parsed); | |
1623 | + elements.push(parsed); | |
1624 | + } | |
1625 | + }); | |
1626 | + return elements; | |
1627 | +} | |
1628 | + | |
1629 | +/** | |
1411 | 1630 | * @param {string} elementId |
1412 | 1631 | * @param {DocumentAST} domModule |
1413 | 1632 | * @param {DocumentAST} scriptElement The script that the element was defined in. |
... | ... | @@ -1470,6 +1689,7 @@ module.exports = { |
1470 | 1689 | clean: clean, |
1471 | 1690 | cleanElement: cleanElement, |
1472 | 1691 | featureElement: featureElement, |
1692 | + parsePseudoElements: parsePseudoElements | |
1473 | 1693 | }; |
1474 | 1694 | |
1475 | 1695 | },{"./jsdoc":12,"dom5":38}],6:[function(require,module,exports){ |
... | ... | @@ -1525,7 +1745,6 @@ var elementFinder = function elementFinder() { |
1525 | 1745 | if (node.type != 'ArrayExpression') { |
1526 | 1746 | return; |
1527 | 1747 | } |
1528 | - element.behaviors = []; | |
1529 | 1748 | |
1530 | 1749 | for (var i=0; i<node.elements.length; i++) { |
1531 | 1750 | var v = astValue.expressionToValue(node.elements[i]); |
... | ... | @@ -1566,6 +1785,7 @@ var elementFinder = function elementFinder() { |
1566 | 1785 | enterObjectExpression: function enterObjectExpression(node, parent) { |
1567 | 1786 | if (element && !element.properties) { |
1568 | 1787 | element.properties = []; |
1788 | + element.behaviors = []; | |
1569 | 1789 | for (var i = 0; i < node.properties.length; i++) { |
1570 | 1790 | var prop = node.properties[i]; |
1571 | 1791 | var name = esutil.objectKeyToString(prop.key); |
... | ... | @@ -1883,13 +2103,30 @@ var isStyleNode = p.OR( |
1883 | 2103 | ) |
1884 | 2104 | ); |
1885 | 2105 | |
2106 | +var isJSScriptNode = p.AND( | |
2107 | + p.hasTagName('script'), | |
2108 | + p.OR( | |
2109 | + p.NOT(p.hasAttr('type')), | |
2110 | + p.hasAttrValue('type', 'text/javascript'), | |
2111 | + p.hasAttrValue('type', 'application/javascript') | |
2112 | + ) | |
2113 | +); | |
2114 | + | |
1886 | 2115 | function addNode(node, registry) { |
1887 | 2116 | if (isHtmlImportNode(node)) { |
1888 | 2117 | registry.import.push(node); |
1889 | 2118 | } else if (isStyleNode(node)) { |
1890 | 2119 | registry.style.push(node); |
1891 | - } else if (registry.hasOwnProperty(node.tagName)) { | |
1892 | - registry[node.tagName].push(node); | |
2120 | + } else if (isJSScriptNode(node)) { | |
2121 | + registry.script.push(node); | |
2122 | + } else if (node.tagName === 'base') { | |
2123 | + registry.base.push(node); | |
2124 | + } else if (node.tagName === 'template') { | |
2125 | + registry.template.push(node); | |
2126 | + } else if (node.tagName === 'dom-module') { | |
2127 | + registry['dom-module'].push(node); | |
2128 | + } else if (dom5.isCommentNode(node)) { | |
2129 | + registry.comment.push(node); | |
1893 | 2130 | } |
1894 | 2131 | } |
1895 | 2132 | |
... | ... | @@ -1951,13 +2188,14 @@ var importParse = function importParse(htmlString, href) { |
1951 | 2188 | script: [], |
1952 | 2189 | style: [], |
1953 | 2190 | import: [], |
1954 | - 'dom-module': []}; | |
2191 | + 'dom-module': [], | |
2192 | + comment: []}; | |
1955 | 2193 | |
1956 | 2194 | var queue = [].concat(doc.childNodes); |
1957 | 2195 | var nextNode; |
1958 | 2196 | while (queue.length > 0) { |
1959 | 2197 | nextNode = queue.shift(); |
1960 | - if (nextNode && nextNode.tagName) { | |
2198 | + if (nextNode) { | |
1961 | 2199 | queue = queue.concat(nextNode.childNodes); |
1962 | 2200 | addNode(nextNode, registry); |
1963 | 2201 | } |
... | ... | @@ -2058,6 +2296,7 @@ var jsParse = function jsParse(jsString) { |
2058 | 2296 | behaviors: behaviorInfo.behaviors, |
2059 | 2297 | elements: elementInfo.elements, |
2060 | 2298 | features: featureInfo.features, |
2299 | + parsedScript: script | |
2061 | 2300 | }; |
2062 | 2301 | }; |
2063 | 2302 | |
... | ... | @@ -2376,7 +2615,7 @@ FileLoader.prototype = { |
2376 | 2615 | } |
2377 | 2616 | |
2378 | 2617 | if (!handled) { |
2379 | - deferred.reject('no resolver found'); | |
2618 | + deferred.reject(new Error('no resolver found for ' + uri)); | |
2380 | 2619 | } |
2381 | 2620 | |
2382 | 2621 | promise = deferred.promise; |
... | ... | @@ -2391,7 +2630,7 @@ FileLoader.prototype = { |
2391 | 2630 | module.exports = FileLoader; |
2392 | 2631 | |
2393 | 2632 | }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) |
2394 | - | |
2633 | +//# sourceMappingURL=data:application/json;charset:utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImxpYi9sb2FkZXIvZmlsZS1sb2FkZXIuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQU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rd2FyZHMgdGhyb3VnaCByZXNvbHZlcnMgdW50aWwgb25lIFwiYWNjZXB0c1wiIHRoZSByZXF1ZXN0XG4gICAgICBmb3IgKHZhciBpID0gdGhpcy5yZXNvbHZlcnMubGVuZ3RoIC0gMSwgcjsgaSA+PSAwOyBpLS0pIHtcbiAgICAgICAgciA9IHRoaXMucmVzb2x2ZXJzW2ldO1xuICAgICAgICBpZiAoci5hY2NlcHQodXJpLCBkZWZlcnJlZCkpIHtcbiAgICAgICAgICBoYW5kbGVkID0gdHJ1ZTtcbiAgICAgICAgICBicmVhaztcbiAgICAgICAgfVxuICAgICAgfVxuXG4gICAgICBpZiAoIWhhbmRsZWQpIHtcbiAgICAgICAgZGVmZXJyZWQucmVqZWN0KG5ldyBFcnJvcignbm8gcmVzb2x2ZXIgZm91bmQgZm9yICcgKyB1cmkpKTtcbiAgICAgIH1cblxuICAgICAgcHJvbWlzZSA9IGRlZmVycmVkLnByb21pc2U7XG4gICAgfSBlbHNlIHtcbiAgICAgIHByb21pc2UgPSB0aGlzLnJlcXVlc3RzW3VyaV0ucHJvbWlzZTtcbiAgICB9XG5cbiAgICByZXR1cm4gcHJvbWlzZTtcbiAgfVxufTtcblxubW9kdWxlLmV4cG9ydHMgPSBGaWxlTG9hZGVyO1xuIl19 | |
2395 | 2634 | },{"es6-promise":60}],14:[function(require,module,exports){ |
2396 | 2635 | /** |
2397 | 2636 | * @license |
... | ... | @@ -3221,7 +3460,7 @@ var substr = 'ab'.substr(-1) === 'b' |
3221 | 3460 | ; |
3222 | 3461 | |
3223 | 3462 | }).call(this,require('_process')) |
3224 | - | |
3463 | +//# sourceMappingURL=data:application/json;charset:utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm5vZGVfbW9kdWxlcy9icm93c2VyaWZ5L25vZGVfbW9kdWxlcy9wYXRoLWJyb3dzZXJpZnkvaW5kZXguanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBO0FBQ0E7QU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IgaSA9IDA7IGkgPCB4cy5sZW5ndGg7IGkrKykge1xuICAgICAgICBpZiAoZih4c1tpXSwgaSwgeHMpKSByZXMucHVzaCh4c1tpXSk7XG4gICAgfVxuICAgIHJldHVybiByZXM7XG59XG5cbi8vIFN0cmluZy5wcm90b3R5cGUuc3Vic3RyIC0gbmVnYXRpdmUgaW5kZXggZG9uJ3Qgd29yayBpbiBJRThcbnZhciBzdWJzdHIgPSAnYWInLnN1YnN0cigtMSkgPT09ICdiJ1xuICAgID8gZnVuY3Rpb24gKHN0ciwgc3RhcnQsIGxlbikgeyByZXR1cm4gc3RyLnN1YnN0cihzdGFydCwgbGVuKSB9XG4gICAgOiBmdW5jdGlvbiAoc3RyLCBzdGFydCwgbGVuKSB7XG4gICAgICAgIGlmIChzdGFydCA8IDApIHN0YXJ0ID0gc3RyLmxlbmd0aCArIHN0YXJ0O1xuICAgICAgICByZXR1cm4gc3RyLnN1YnN0cihzdGFydCwgbGVuKTtcbiAgICB9XG47XG4iXX0= | |
3225 | 3464 | },{"_process":21}],21:[function(require,module,exports){ |
3226 | 3465 | // shim for using process in browser |
3227 | 3466 | |
... | ... | @@ -3793,7 +4032,7 @@ process.umask = function() { return 0; }; |
3793 | 4032 | }(this)); |
3794 | 4033 | |
3795 | 4034 | }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) |
3796 | - | |
4035 | +//# sourceMappingURL=data:application/json;charset:utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm5vZGVfbW9kdWxlcy9icm93c2VyaWZ5L25vZGVfbW9kdWxlcy9wdW55Y29kZS9wdW55Y29kZS5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0F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x0ZGVmaW5lKCdwdW55Y29kZScsIGZ1bmN0aW9uKCkge1xuXHRcdFx0cmV0dXJuIHB1bnljb2RlO1xuXHRcdH0pO1xuXHR9IGVsc2UgaWYgKGZyZWVFeHBvcnRzICYmICFmcmVlRXhwb3J0cy5ub2RlVHlwZSkge1xuXHRcdGlmIChmcmVlTW9kdWxlKSB7IC8vIGluIE5vZGUuanMgb3IgUmluZ29KUyB2MC44LjArXG5cdFx0XHRmcmVlTW9kdWxlLmV4cG9ydHMgPSBwdW55Y29kZTtcblx0XHR9IGVsc2UgeyAvLyBpbiBOYXJ3aGFsIG9yIFJpbmdvSlMgdjAuNy4wLVxuXHRcdFx0Zm9yIChrZXkgaW4gcHVueWNvZGUpIHtcblx0XHRcdFx0cHVueWNvZGUuaGFzT3duUHJvcGVydHkoa2V5KSAmJiAoZnJlZUV4cG9ydHNba2V5XSA9IHB1bnljb2RlW2tleV0pO1xuXHRcdFx0fVxuXHRcdH1cblx0fSBlbHNlIHsgLy8gaW4gUmhpbm8gb3IgYSB3ZWIgYnJvd3NlclxuXHRcdHJvb3QucHVueWNvZGUgPSBwdW55Y29kZTtcblx0fVxuXG59KHRoaXMpKTtcbiJdfQ== | |
3797 | 4036 | },{}],23:[function(require,module,exports){ |
3798 | 4037 | // Copyright Joyent, Inc. and other Node contributors. |
3799 | 4038 | // |
... | ... | @@ -5279,7 +5518,7 @@ function hasOwnProperty(obj, prop) { |
5279 | 5518 | } |
5280 | 5519 | |
5281 | 5520 | }).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) |
5282 | - | |
5521 | +//# sourceMappingURL=data:application/json;charset:utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm5vZGVfbW9kdWxlcy9icm93c2VyaWZ5L25vZGVfbW9kdWxlcy91dGlsL3V0aWwuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBO0FBQ0E7QUFDQTtBQUN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1cCB1c2luZyBub3JtYWwgSmF2YVNjcmlwdCBkb2VzIG5vdCB3b3JrIGFzXG4gKiBleHBlY3RlZCBkdXJpbmcgYm9vdHN0cmFwcGluZyAoc2VlIG1pcnJvci5qcyBpbiByMTE0OTAzKS5cbiAqXG4gKiBAcGFyYW0ge2Z1bmN0aW9ufSBjdG9yIENvbnN0cnVjdG9yIGZ1bmN0aW9uIHdoaWNoIG5lZWRzIHRvIGluaGVyaXQgdGhlXG4gKiAgICAgcHJvdG90eXBlLlxuICogQHBhcmFtIHtmdW5jdGlvbn0gc3VwZXJDdG9yIENvbnN0cnVjdG9yIGZ1bmN0aW9uIHRvIGluaGVyaXQgcHJvdG90eXBlIGZyb20uXG4gKi9cbmV4cG9ydHMuaW5oZXJpdHMgPSByZXF1aXJlKCdpbmhlcml0cycpO1xuXG5leHBvcnRzLl9leHRlbmQgPSBmdW5jdGlvbihvcmlnaW4sIGFkZCkge1xuICAvLyBEb24ndCBkbyBhbnl0aGluZyBpZiBhZGQgaXNuJ3QgYW4gb2JqZWN0XG4gIGlmICghYWRkIHx8ICFpc09iamVjdChhZGQpKSByZXR1cm4gb3JpZ2luO1xuXG4gIHZhciBrZXlzID0gT2JqZWN0LmtleXMoYWRkKTtcbiAgdmFyIGkgPSBrZXlzLmxlbmd0aDtcbiAgd2hpbGUgKGktLSkge1xuICAgIG9yaWdpbltrZXlzW2ldXSA9IGFkZFtrZXlzW2ldXTtcbiAgfVxuICByZXR1cm4gb3JpZ2luO1xufTtcblxuZnVuY3Rpb24gaGFzT3duUHJvcGVydHkob2JqLCBwcm9wKSB7XG4gIHJldHVybiBPYmplY3QucHJvdG90eXBlLmhhc093blByb3BlcnR5LmNhbGwob2JqLCBwcm9wKTtcbn1cbiJdfQ== | |
5283 | 5522 | },{"./support/isBuffer":27,"_process":21,"inherits":19}],29:[function(require,module,exports){ |
5284 | 5523 | /* |
5285 | 5524 | Copyright (C) 2012-2014 Yusuke Suzuki <utatane.tea@gmail.com> |
... | ... | @@ -5607,6 +5846,10 @@ function hasOwnProperty(obj, prop) { |
5607 | 5846 | name += scanIdentifier(last); |
5608 | 5847 | |
5609 | 5848 | } |
5849 | + if(source.charCodeAt(index) === 0x5B /* '[' */ && source.charCodeAt(index + 1) === 0x5D /* ']' */){ | |
5850 | + name += advance(); | |
5851 | + name += advance(); | |
5852 | + } | |
5610 | 5853 | while (source.charCodeAt(index) === 0x2E /* '.' */ || |
5611 | 5854 | source.charCodeAt(index) === 0x23 /* '#' */ || |
5612 | 5855 | source.charCodeAt(index) === 0x7E /* '~' */) { |
... | ... | @@ -5864,7 +6107,9 @@ function hasOwnProperty(obj, prop) { |
5864 | 6107 | // un-fix potentially sloppy declaration |
5865 | 6108 | if (isParamTitle(this._title) && !this._tag.type && description && description.charAt(0) === '[') { |
5866 | 6109 | this._tag.type = this._extra.name; |
5867 | - this._tag.name = undefined; | |
6110 | + if (!this._tag.name) { | |
6111 | + this._tag.name = undefined; | |
6112 | + } | |
5868 | 6113 | |
5869 | 6114 | if (!sloppy) { |
5870 | 6115 | if (!this.addError('Missing or invalid tag name')) { |
... | ... | @@ -7847,7 +8092,7 @@ module.exports={ |
7847 | 8092 | "description": "JSDoc parser", |
7848 | 8093 | "homepage": "http://github.com/Constellation/doctrine.html", |
7849 | 8094 | "main": "lib/doctrine.js", |
7850 | - "version": "0.6.4", | |
8095 | + "version": "0.7.0", | |
7851 | 8096 | "engines": { |
7852 | 8097 | "node": ">=0.10.0" |
7853 | 8098 | }, |
... | ... | @@ -7863,14 +8108,17 @@ module.exports={ |
7863 | 8108 | ], |
7864 | 8109 | "maintainers": [ |
7865 | 8110 | { |
7866 | - "name": "Yusuke Suzuki", | |
7867 | - "email": "utatane.tea@gmail.com", | |
7868 | - "url": "http://github.com/Constellation" | |
8111 | + "name": "constellation", | |
8112 | + "email": "utatane.tea@gmail.com" | |
8113 | + }, | |
8114 | + { | |
8115 | + "name": "nzakas", | |
8116 | + "email": "nicholas@nczconsulting.com" | |
7869 | 8117 | } |
7870 | 8118 | ], |
7871 | 8119 | "repository": { |
7872 | 8120 | "type": "git", |
7873 | - "url": "http://github.com/Constellation/doctrine.git" | |
8121 | + "url": "http://github.com/eslint/doctrine.git" | |
7874 | 8122 | }, |
7875 | 8123 | "devDependencies": { |
7876 | 8124 | "coveralls": "^2.11.2", |
... | ... | @@ -7889,7 +8137,7 @@ module.exports={ |
7889 | 8137 | "licenses": [ |
7890 | 8138 | { |
7891 | 8139 | "type": "BSD", |
7892 | - "url": "http://github.com/Constellation/doctrine/raw/master/LICENSE.BSD" | |
8140 | + "url": "http://github.com/eslint/doctrine/raw/master/LICENSE.BSD" | |
7893 | 8141 | } |
7894 | 8142 | ], |
7895 | 8143 | "scripts": { |
... | ... | @@ -7902,17 +8150,23 @@ module.exports={ |
7902 | 8150 | "esutils": "^1.1.6", |
7903 | 8151 | "isarray": "0.0.1" |
7904 | 8152 | }, |
7905 | - "gitHead": "4f74c86ea5cd03fbd947c4df91a2192d13779fb5", | |
7906 | - "readme": "doctrine ([doctrine](http://github.com/Constellation/doctrine)) is JSDoc parser.\n\n[![Build Status](https://travis-ci.org/Constellation/doctrine.svg?branch=master)](https://travis-ci.org/Constellation/doctrine)\n[![Coverage Status](https://img.shields.io/coveralls/Constellation/doctrine.svg)](https://coveralls.io/r/Constellation/doctrine?branch=master)\n[![Dependency Status](https://david-dm.org/Constellation/doctrine.svg)](https://david-dm.org/Constellation/doctrine)\n[![devDependency Status](https://david-dm.org/Constellation/doctrine/dev-status.svg)](https://david-dm.org/Constellation/doctrine#info=devDependencies)\n[![Gitter chat](https://badges.gitter.im/Constellation/doctrine.png)](https://gitter.im/Constellation/doctrine)\n\nIt is now used by content assist system of [Eclipse Orion](http://www.eclipse.org/orion/) ([detail](http://planetorion.org/news/2012/10/orion-1-0-release/)). And used as JSDoc validator in [ESLint](http://eslint.org/).\n\nDoctrine can be used in a web browser with using browserify.\nor in a Node.js application via the package manager:\n\n npm install doctrine\n\nsimple example:\n\n doctrine.parse(\n [\n \"/**\",\n \" * This function comment is parsed by doctrine\",\n \" * @param {{ok:String}} userName\",\n \"*/\"\n ].join('\\n'), { unwrap: true });\n\nand gets following information\n\n {\n \"description\": \"This function comment is parsed by doctrine\",\n \"tags\": [\n {\n \"title\": \"param\",\n \"description\": null,\n \"type\": {\n \"type\": \"RecordType\",\n \"fields\": [\n {\n \"type\": \"FieldType\",\n \"key\": \"ok\",\n \"value\": {\n \"type\": \"NameExpression\",\n \"name\": \"String\"\n }\n }\n ]\n },\n \"name\": \"userName\"\n }\n ]\n }\n\nsee [demo page](http://constellation.github.com/doctrine/demo/index.html) more detail.\n\n### Options\n\n#### doctrine.parse\nWe can pass options to `doctrine.parse(comment, options)`.\n```js\n{\n unwrap: boolean, // default: false\n tags: [ string ] | null, // default: null\n recoverable: boolean, // default: false\n sloppy: boolean, // default: false\n lineNumbers: boolean // default: false\n}\n```\n\n##### unwrap\n\nWhen `unwrap` is `true`, doctrine attempt to unwrap comment specific string from a provided comment text. (removes `/**`, `*/` and `*`)\nFor example, `unwrap` transforms\n```\n/**\n * @param use\n */\n```\nto\n```\n@param use\n```\nIf a provided comment has these comment specific strings, you need to specify this `unwrap` option to `true`.\n\n##### tags\n\nWhen `tags` array is specified, doctrine only produce tags that is specified in this array.\nFor example, if you specify `[ 'param' ]`, doctrine only produces `param` tags.\nIf null is specified, doctrine produces all tags that doctrine can recognize.\n\n##### recoverable\n\nWhen `recoverable` is `true`, doctrine becomes `recoverable` - When failing to parse jsdoc comment, doctrine recovers its state and attempt to continue parsing.\n\n##### sloppy\n\nWhen `sloppy` is `true`,\n```\n@param String [foo]\n```\n's `[foo]` is interpreted as a optional parameter, not interpreted as a name of this `@param`.\n\n##### lineNumbers\n\nWhen `lineNumbers` is `true`, parsed tags will include a `lineNumber` property indicating the line (relative to the start of the comment block) where each tag is located in the source. So, given the following comment:\n```\n/**\n * @param {String} foo\n * @return {number}\n */\n```\nThe `@param` tag will have `lineNumber: 1`, and the `@return` tag will have `lineNumber: 2`.\n\n\n### License\n\n#### doctrine\n\nCopyright (C) 2012 [Yusuke Suzuki](http://github.com/Constellation)\n (twitter: [@Constellation](http://twitter.com/Constellation)) and other contributors.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n * Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n\n * Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in the\n documentation and/or other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY\nDIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\nON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\nTHIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n#### esprima\n\nsome of functions is derived from esprima\n\nCopyright (C) 2012, 2011 [Ariya Hidayat](http://ariya.ofilabs.com/about)\n (twitter: [@ariyahidayat](http://twitter.com/ariyahidayat)) and other contributors.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n * Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n\n * Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in the\n documentation and/or other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY\nDIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\nON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\nTHIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n\n#### closure-compiler\n\nsome of extensions is derived from closure-compiler\n\nApache License\nVersion 2.0, January 2004\nhttp://www.apache.org/licenses/\n", | |
7907 | - "readmeFilename": "README.md", | |
8153 | + "gitHead": "0d059e422bdfd630eaa15d583567c8668923f7e6", | |
7908 | 8154 | "bugs": { |
7909 | - "url": "https://github.com/Constellation/doctrine/issues" | |
8155 | + "url": "https://github.com/eslint/doctrine/issues" | |
8156 | + }, | |
8157 | + "_id": "doctrine@0.7.0", | |
8158 | + "_shasum": "dcc9589850b043d6e58abe24b561ccd57176cfd3", | |
8159 | + "_from": "doctrine@*", | |
8160 | + "_npmVersion": "1.4.28", | |
8161 | + "_npmUser": { | |
8162 | + "name": "nzakas", | |
8163 | + "email": "nicholas@nczconsulting.com" | |
8164 | + }, | |
8165 | + "dist": { | |
8166 | + "shasum": "dcc9589850b043d6e58abe24b561ccd57176cfd3", | |
8167 | + "tarball": "http://registry.npmjs.org/doctrine/-/doctrine-0.7.0.tgz" | |
7910 | 8168 | }, |
7911 | - "_id": "doctrine@0.6.4", | |
7912 | - "_shasum": "5b8d534412b49b8177b52082cd95df380de390aa", | |
7913 | - "_from": "git://github.com/PolymerLabs/doctrine.git#master", | |
7914 | - "_resolved": "git://github.com/PolymerLabs/doctrine.git#4f74c86ea5cd03fbd947c4df91a2192d13779fb5", | |
7915 | - "_fromGithub": true | |
8169 | + "_resolved": "https://registry.npmjs.org/doctrine/-/doctrine-0.7.0.tgz" | |
7916 | 8170 | } |
7917 | 8171 | |
7918 | 8172 | },{}],38:[function(require,module,exports){ |
... | ... | @@ -8273,6 +8527,34 @@ function _reverseNodeWalkAll(node, predicate, matches) { |
8273 | 8527 | } |
8274 | 8528 | |
8275 | 8529 | /** |
8530 | + * Equivalent to `nodeWalk`, but only returns nodes that are either | |
8531 | + * ancestors or earlier cousins/siblings in the document. | |
8532 | + * | |
8533 | + * Nodes are searched in reverse document order, starting from the sibling | |
8534 | + * prior to `node`. | |
8535 | + */ | |
8536 | +function nodeWalkPrior(node, predicate) { | |
8537 | + // Search our earlier siblings and their descendents. | |
8538 | + var parent = node.parentNode; | |
8539 | + if (parent) { | |
8540 | + var idx = parent.childNodes.indexOf(node); | |
8541 | + var siblings = parent.childNodes.slice(0, idx); | |
8542 | + for (var i = siblings.length-1; i >= 0; i--) { | |
8543 | + var sibling = siblings[i]; | |
8544 | + if (predicate(sibling)) { | |
8545 | + return sibling; | |
8546 | + } | |
8547 | + var found = nodeWalkPrior(sibling, predicate); | |
8548 | + } | |
8549 | + if (predicate(parent)) { | |
8550 | + return parent; | |
8551 | + } | |
8552 | + return nodeWalkPrior(parent, predicate); | |
8553 | + } | |
8554 | + return undefined; | |
8555 | +} | |
8556 | + | |
8557 | +/** | |
8276 | 8558 | * Equivalent to `nodeWalkAll`, but only returns nodes that are either |
8277 | 8559 | * ancestors or earlier cousins/siblings in the document. |
8278 | 8560 | * |
... | ... | @@ -8409,6 +8691,7 @@ module.exports = { |
8409 | 8691 | queryAll: queryAll, |
8410 | 8692 | nodeWalk: nodeWalk, |
8411 | 8693 | nodeWalkAll: nodeWalkAll, |
8694 | + nodeWalkPrior: nodeWalkPrior, | |
8412 | 8695 | nodeWalkAllPrior: nodeWalkAllPrior, |
8413 | 8696 | treeMap: treeMap, |
8414 | 8697 | predicates: { |
... | ... | @@ -9219,7 +9502,7 @@ exports.parseInnerHtml = function (innerHtml, contextElement, treeAdapter) { |
9219 | 9502 | return parser.parseFragment(innerHtml, contextElement); |
9220 | 9503 | }; |
9221 | 9504 | }).call(this,require('_process')) |
9222 | - | |
9505 | +//# sourceMappingURL=data:application/json;charset:utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm5vZGVfbW9kdWxlcy9kb201L25vZGVfbW9kdWxlcy9wYXJzZTUvbGliL2pzZG9tL2pzZG9tX3BhcnNlci5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwiZmlsZSI6ImdlbmVyYXRlZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzQ29udGVudCI6WyIndXNlIHN0cmljdCc7XHJcblxyXG52YXIgUGFyc2VyID0gcmVxdWlyZSgnLi4vdHJlZV9jb25zdHJ1Y3Rpb24vcGFyc2VyJyksXHJcbiAgICBQYXJzaW5nVW5pdCA9IHJlcXVpcmUoJy4vcGFyc2luZ191bml0Jyk7XHJcblxyXG4vL0FQSVxyXG5leHBvcnRzLn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5pdDtcclxufTtcclxuXHJcbmV4cG9ydHMucGFyc2VJbm5lckh0bWwgPSBmdW5jdGlvbiAoaW5uZXJIdG1sLCBjb250ZXh0RWxlbWVudCwgdHJlZUFkYXB0ZXIpIHtcclxuICAgIC8vTk9URTogdGhpcyBzaG91bGQgYmUgcmVlbnRyYW50LCBzbyB3ZSBjcmVhdGUgbmV3IHBhcnNlciBoZXJlXHJcbiAgICB2YXIgcGFyc2VyID0gbmV3IFBhcnNlcih0cmVlQWRhcHRlcik7XHJcblxyXG4gICAgcmV0dXJuIHBhcnNlci5wYXJzZUZyYWdtZW50KGlubmVySHRtbCwgY29udGV4dEVsZW1lbnQpO1xyXG59OyJdfQ== | |
9223 | 9506 | },{"../tree_construction/parser":59,"./parsing_unit":46,"_process":21}],46:[function(require,module,exports){ |
9224 | 9507 | 'use strict'; |
9225 | 9508 | |
... | ... | @@ -12969,34 +13252,64 @@ var OpenElementStack = require('./open_element_stack'), |
12969 | 13252 | var $ = HTML.TAG_NAMES; |
12970 | 13253 | |
12971 | 13254 | |
12972 | -function setEndLocation(element, endTagToken) { | |
12973 | - if (element.__location) | |
12974 | - element.__location.end = endTagToken.location.end; | |
13255 | +function setEndLocation(element, closingToken, treeAdapter) { | |
13256 | + var loc = element.__location; | |
13257 | + | |
13258 | + if (!loc) | |
13259 | + return; | |
13260 | + | |
13261 | + if (!loc.startTag) { | |
13262 | + loc.startTag = { | |
13263 | + start: loc.start, | |
13264 | + end: loc.end | |
13265 | + }; | |
13266 | + } | |
13267 | + | |
13268 | + if (closingToken.location) { | |
13269 | + var tn = treeAdapter.getTagName(element), | |
13270 | + // NOTE: For cases like <p> <p> </p> - First 'p' closes without a closing tag and | |
13271 | + // for cases like <td> <p> </td> - 'p' closes without a closing tag | |
13272 | + isClosingEndTag = closingToken.type === Tokenizer.END_TAG_TOKEN && | |
13273 | + tn === closingToken.tagName; | |
13274 | + | |
13275 | + if (isClosingEndTag) { | |
13276 | + loc.endTag = { | |
13277 | + start: closingToken.location.start, | |
13278 | + end: closingToken.location.end | |
13279 | + }; | |
13280 | + } | |
13281 | + | |
13282 | + loc.end = closingToken.location.end; | |
13283 | + } | |
12975 | 13284 | } |
12976 | 13285 | |
12977 | 13286 | //NOTE: patch open elements stack, so we can assign end location for the elements |
12978 | 13287 | function patchOpenElementsStack(stack, parser) { |
13288 | + var treeAdapter = parser.treeAdapter; | |
13289 | + | |
12979 | 13290 | stack.pop = function () { |
12980 | - setEndLocation(this.current, parser.currentToken); | |
13291 | + setEndLocation(this.current, parser.currentToken, treeAdapter); | |
12981 | 13292 | OpenElementStack.prototype.pop.call(this); |
12982 | 13293 | }; |
12983 | 13294 | |
12984 | 13295 | stack.popAllUpToHtmlElement = function () { |
12985 | 13296 | for (var i = this.stackTop; i > 0; i--) |
12986 | - setEndLocation(this.items[i], parser.currentToken); | |
13297 | + setEndLocation(this.items[i], parser.currentToken, treeAdapter); | |
12987 | 13298 | |
12988 | 13299 | OpenElementStack.prototype.popAllUpToHtmlElement.call(this); |
12989 | 13300 | }; |
12990 | 13301 | |
12991 | 13302 | stack.remove = function (element) { |
12992 | - setEndLocation(element, parser.currentToken); | |
13303 | + setEndLocation(element, parser.currentToken, treeAdapter); | |
12993 | 13304 | OpenElementStack.prototype.remove.call(this, element); |
12994 | 13305 | }; |
12995 | 13306 | } |
12996 | 13307 | |
12997 | 13308 | exports.assign = function (parser) { |
12998 | 13309 | //NOTE: obtain Parser proto this way to avoid module circular references |
12999 | - var parserProto = Object.getPrototypeOf(parser); | |
13310 | + var parserProto = Object.getPrototypeOf(parser), | |
13311 | + treeAdapter = parser.treeAdapter; | |
13312 | + | |
13000 | 13313 | |
13001 | 13314 | //NOTE: patch _reset method |
13002 | 13315 | parser._reset = function (html, document, fragmentContext) { |
... | ... | @@ -13022,12 +13335,12 @@ exports.assign = function (parser) { |
13022 | 13335 | //their end location explicitly. |
13023 | 13336 | if (token.type === Tokenizer.END_TAG_TOKEN && |
13024 | 13337 | (token.tagName === $.HTML || |
13025 | - (token.tagName === $.BODY && this.openElements.hasInScope($.BODY)))) { | |
13338 | + (token.tagName === $.BODY && this.openElements.hasInScope($.BODY)))) { | |
13026 | 13339 | for (var i = this.openElements.stackTop; i >= 0; i--) { |
13027 | 13340 | var element = this.openElements.items[i]; |
13028 | 13341 | |
13029 | 13342 | if (this.treeAdapter.getTagName(element) === token.tagName) { |
13030 | - setEndLocation(element, token); | |
13343 | + setEndLocation(element, token, treeAdapter); | |
13031 | 13344 | break; |
13032 | 13345 | } |
13033 | 13346 | } |
... | ... | @@ -17312,7 +17625,7 @@ function endTagInForeignContent(p, token) { |
17312 | 17625 | |
17313 | 17626 | |
17314 | 17627 | }).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) |
17315 | - | |
17628 | +//# sourceMappingURL=data:application/json;charset:utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm5vZGVfbW9kdWxlcy9lczYtcHJvbWlzZS9kaXN0L2VzNi1wcm9taXNlLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUN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ICAgICBzZWFsZWQgPSB0cnVlO1xuXG4gICAgICAgICAgbGliJGVzNiRwcm9taXNlJCRpbnRlcm5hbCQkcmVqZWN0KHByb21pc2UsIHJlYXNvbik7XG4gICAgICAgIH0sICdTZXR0bGU6ICcgKyAocHJvbWlzZS5fbGFiZWwgfHwgJyB1bmtub3duIHByb21pc2UnKSk7XG5cbiAgICAgICAgaWYgKCFzZWFsZWQgJiYgZXJyb3IpIHtcbiAgICAgICAgICBzZWFsZWQgPSB0cnVlO1xuICAgICAgICAgIGxpYiRlczYkcHJvbWlzZSQkaW50ZXJuYWwkJHJlamVjdChwcm9taXNlLCBlcnJvcik7XG4gICAgICAgIH1cbiAgICAgIH0sIHByb21pc2UpO1xuICAgIH1cblxuICAgIGZ1bmN0aW9uIGxpYiRlczYkcHJvbWlzZSQkaW50ZXJuYWwkJGhhbmRsZU93blRoZW5hYmxlKHByb21pc2UsIHRoZW5hYmxlKSB7XG4gICAgICBpZiAodGhlbmFibGUuX3N0YXRlID09PSBsaWIkZXM2JHByb21pc2UkJGludGVybmFsJCRGVUxGSUxMRUQpIHtcbiAgICAgICAgbGliJGVzNiRwcm9taXNlJCRpbnRlcm5hbCQkZnVsZmlsbChwcm9taXNlLCB0aGVuYWJsZS5fcmVzdWx0KTtcbiAgICAgIH0gZWxzZSBpZiAodGhlbmFibGUuX3N0YXRlID09PSBsaWIkZXM2JHByb21pc2UkJGludGVybmFsJCRSRUpFQ1RFRCkge1xuICAgICAgICBsaWIkZXM2JHByb21pc2UkJGludGVybmFsJCRyZWplY3QocHJvbWlzZSwgdGhlbmFibGUuX3Jlc3VsdCk7XG4gICAgICB9IGVsc2Uge1xuICAgICAgICBsaWIkZXM2JHByb21pc2UkJGludGVybmFsJCRzdWJzY3JpYmUodGhlbmFibGUsIHVuZGVmaW5lZCwgZnVuY3Rpb24odmFsdWUpIHtcbiAgICAgICAgICBsaWIkZXM2JHByb21pc2UkJGludGVybmFsJCRyZXNvbHZlKHByb21pc2UsIHZhbHV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W5wdXQpIHtcbiAgICAgIHZhciBlbnVtZXJhdG9yID0gdGhpcztcblxuICAgICAgZW51bWVyYXRvci5faW5zdGFuY2VDb25zdHJ1Y3RvciA9IENvbnN0cnVjdG9yO1xuICAgICAgZW51bWVyYXRvci5wcm9taXNlID0gbmV3IENvbnN0cnVjdG9yKGxpYiRlczYkcHJvbWlzZSQkaW50ZXJuYWwkJG5vb3ApO1xuXG4gICAgICBpZiAoZW51bWVyYXRvci5fdmFsaWRhdGVJbnB1dChpbnB1dCkpIHtcbiAgICAgICAgZW51bWVyYXRvci5faW5wdXQgICAgID0gaW5wdXQ7XG4gICAgICAgIGVudW1lcmF0b3IubGVuZ3RoICAgICA9IGlucHV0Lmxlbmd0aDtcbiAgICAgICAgZW51bWVyYXRvci5fcmVtYWluaW5nID0gaW5wdXQubGVuZ3RoO1xuXG4gICAgICAgIGVudW1lcmF0b3IuX2luaXQoKTtcblxuICAgICAgICBpZiAoZW51bWVyYXRvci5sZW5ndGggPT09IDApIHtcbiAgICAgICAgICBsaWIkZXM2JHByb21pc2UkJGludGVybmFsJCRmdWxmaWxsKGVudW1lcmF0b3IucHJvbWlzZSwgZW51bWVyYXRvci5fcmVzdWx0KTtcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICBlbnVtZXJhdG9yLmxlbmd0aCA9IGVudW1lcmF0b3IubGVuZ3RoIHx8IDA7XG4gICAgICAgICAgZW51bWVyYXRvci5fZW51bWVyYXRlKCk7XG4gICAgICAgICAgaWYgKGVudW1lcmF0b3IuX3JlbWFpbmluZyA9PT0gMCkge1xuICAgICAgICAgICAgbGliJGVzNiRwcm9taXNlJCRpbnRlcm5hbCQkZnVsZmlsbChlbnVtZXJhdG9yLnByb21pc2UsIGVudW1lcmF0b3IuX3Jlc3VsdCk7XG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICB9IGVsc2Uge1xuICAgICAgICBsaWIkZXM2JHByb21pc2UkJGludGVybmFsJCRyZWplY3QoZW51bWVyYXRv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ZhciB4aHIgPSBuZXcgWE1MSHR0cFJlcXVlc3QoKTtcblxuICAgICAgICAgIHhoci5vcGVuKCdHRVQnLCB1cmwpO1xuICAgICAgICAgIHhoci5vbnJlYWR5c3RhdGVjaGFuZ2UgPSBoYW5kbGVyO1xuICAgICAgICAgIHhoci5yZXNwb25zZVR5cGUgPSAnanNvbic7XG4gICAgICAgICAgeGhyLnNldFJlcXVlc3RIZWFkZXIoJ0FjY2VwdCcsICdhcHBsaWNhdGlvbi9qc29uJyk7XG4gICAgICAgICAgeGhyLnNlbmQoKTtcblxuICAgICAgICAgIGZ1bmN0aW9uIGhhbmRsZXIoKSB7XG4gICAgICAgICAgICBpZiAodGhpcy5yZWFkeVN0YXRlID09PSB0aGlzLkRPTkUpIHtcbiAgICAgICAgICAgICAgaWYgKHRoaXMuc3RhdHVzID09PSAyMDApIHtcbiAgICAgICAgICAgICAgICByZXNvbHZlKHRoaXMucmVzcG9uc2UpO1xuICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIHJlamVjdChuZXcgRXJyb3IoJ2dldEpTT046IGAnICsgdXJsICsgJ2AgZmFpbGVkIHdpdGggc3RhdHVzOiBbJyArIHRoaXMuc3RhdHVzICsgJ10nKSk7XG4gICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9O1xuICAgICAgICB9KTtcbiAgICAgIH1cblxuICAgICAgZ2V0SlNPTignL3Bvc3RzLmpzb24nKS50aGVuKGZ1bmN0aW9uKGpzb24pIHtcbiAgICAgICAgLy8gb24gZnVsZmlsbG1lbnRcbiAgICAgIH0sIGZ1bmN0aW9uKHJlYXNvbikge1xuICAgICAgICAvLyBvbiByZWplY3Rpb25cbiAgICAgIH0pO1xuICAgICAgYGBgXG5cbiAgICAgIFVubGlrZSBjYWxsYmFja3MsIHByb21pc2VzIGFyZSBncmVhdCBjb21wb3NhYmxlIHByaW1pdGl2ZXMuXG5cbiAgICAgIGBgYGpzXG4gICAgICBQcm9taXNlLmFsbChbXG4gICAgICAgIGdldEpTT04oJy9wb3N0cycpLFxuICAgICAgICBnZXRKU09OKCcvY29tbWVudHMnKVxuICAgICAgXSkudGhlbihmdW5jdGlvbih2YWx1ZXMpe1xuICAgICAgICB2YWx1ZXNbMF0gLy8gPT4gcG9zdHNKU09OXG4gICAgICAgIHZhbHVlc1sxXSAvLyA9PiBjb21tZW50c0pTT05cblxuICAgICAgICByZXR1cm4gdmFsdWVzO1xuICAgICAgfSk7XG4gICAgICBgYGBcblxuICAgICAgQGNsYXNzIFByb21pc2VcbiAgICAgIEBwYXJhbSB7ZnVuY3Rpb259IHJlc29sdmVyXG4gICAgICBVc2VmdWwgZm9yIHRvb2xpbmcuXG4gICAgICBAY29uc3RydWN0b3JcbiAgICAqL1xuICAgIGZ1bmN0aW9uIGxpYiRlczYkcHJvbWlzZSRwcm9taXNlJCRQcm9taXNlKHJlc29sdmVyKSB7XG4gICAgICB0aGlzLl9pZCA9IGxpYiRlczYkcHJvbWlzZSRwcm9taXNlJCRjb3VudGVyKys7XG4gICAgICB0aGlzLl9zdGF0ZSA9IHVuZGVmaW5lZDtcbiAgICAgIHRoaXMuX3Jlc3VsdCA9IHVuZGVmaW5lZDtcbiAgICAgIHRoaXMuX3N1YnNjcmliZXJzID0gW107XG5cbiAgICAgIGlmIChsaWIkZXM2JHByb21pc2UkJGludGVybmFsJCRub29wICE9PSByZXNvbHZlcikge1xuICAgICAgICBpZiAoIWxpYiRlczYkcHJvbWlzZSR1dGlscyQkaXNGdW5jdGlvbihyZXNvbHZlcikpIHtcbiAgICAgICAgICBsaWIkZXM2JHByb21pc2UkcHJvbWlzZSQkbmVlZHNSZXNvbHZlcigpO1xuICAgICAgICB9XG5cbiAgICAgICAgaWYgKCEodGhpcyBpbnN0YW5jZW9mIGxpYiRlczYkcHJvbWlzZSRwcm9taXNlJCRQcm9taXNlKSkge1xuICAgICAgICAgIGxpYiRlczYkcHJvbWlzZSRwcm9taXNlJCRuZWVkc05ldygpO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Wx0KGZ1bmN0aW9uKHJlc3VsdCwgZXJyKXtcbiAgICAgICAgaWYgKGVycikge1xuICAgICAgICAgIC8vIGZhaWx1cmVcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAvLyBzdWNjZXNzXG4gICAgICAgIH1cbiAgICAgIH0pO1xuICAgICAgYGBgXG5cbiAgICAgIFByb21pc2UgRXhhbXBsZTtcblxuICAgICAgYGBgamF2YXNjcmlwdFxuICAgICAgZmluZFJlc3VsdCgpLnRoZW4oZnVuY3Rpb24ocmVzdWx0KXtcbiAgICAgICAgLy8gc3VjY2Vzc1xuICAgICAgfSwgZnVuY3Rpb24ocmVhc29uKXtcbiAgICAgICAgLy8gZmFpbHVyZVxuICAgICAgfSk7XG4gICAgICBgYGBcblxuICAgICAgQWR2YW5jZWQgRXhhbXBsZVxuICAgICAgLS0tLS0tLS0tLS0tLS1cblxuICAgICAgU3luY2hyb25vdXMgRXhhbXBsZVxuXG4gICAgICBgYGBqYXZhc2NyaXB0XG4gICAgICB2YXIgYXV0aG9yLCBib29rcztcblxuICAgICAgdHJ5IHtcbiAgICAgICAgYXV0aG9yID0gZmluZEF1dGhvcigpO1xuICAgICAgICBib29rcyAgPSBmaW5kQm9va3NCeUF1dGhvcihhdXRob3IpO1xuICAgICAgICAvLyBzdWNjZXNzXG4gICAgICB9IGNhdGNoKHJlYXNvbikge1xuICAgICAgICAvLyBmYWlsdXJlXG4gICAgICB9XG4gICAgICBgYGBcblxuICAgICAgRXJyYmFjayBFeGFtcGxlXG5cbiAgICAgIGBgYGpzXG5cbiAgICAgIGZ1bmN0aW9uIGZvdW5kQm9va3MoYm9va3MpIHtcblxuICAgICAgfVxuXG4gICAgICBmdW5jdGlvbiBmYWlsdXJlKHJlYXNvbikge1xuXG4gICAgICB9XG5cbiAgICAgIGZpbmRBdXRob3IoZnVuY3Rpb24oYXV0aG9yLCBlcnIpe1xuICAgICAgICBpZiAoZXJyKSB7XG4gICAgICAgICAgZmFpbHVyZShlcnIpO1xuICAgICAgICAgIC8vIGZhaWx1cmVcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICB0cnkge1xuICAgICAgICAgICAgZmluZEJvb29rc0J5QXV0aG9yKGF1dGhvciwgZnVuY3Rpb24oYm9va3MsIGVycikge1xuICAgICAgICAgICAgICBpZiAoZXJyKSB7XG4gICAgICAgICAgICAgICAgZmFpbHVyZShlcnIpO1xuICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIHRyeSB7XG4gICAgICAgICAgICAgICAgICBmb3VuZEJvb2tzKGJvb2tzKTtcbiAgICAgICAgICAgICAgICB9IGNhdGNoKHJlYXNvbikge1xuICAgICAgICAgICAgICAgICAgZmFpbHVyZShyZWFzb24pO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSk7XG4gICAgICAgICAgfSBjYXRjaChlcnJvcikge1xuICAgICAgICAgICAgZmFpbHVyZShlcnIpO1xuICAgICAgICAgIH1cbiAgICAgICAgICAvLyBzdWNjZXNzXG4gICAgICAgIH1cbiAgICAgIH0pO1xuICAgICAgYGBgXG5cbiAgICAgIFByb21pc2UgRXhhbXBsZTtcblxuICAgICAgYGBgamF2YXNjcmlwdFxuICAgICAgZmluZEF1dGhvcigpLlxuICAgICAgICB0aGVuKGZpbmRCb29rc0J5QXV0aG9yKS5cbiAgICAgICAgdGhlbihmdW5jdGlvbihib29rcyl7XG4gICAgICAgICAgLy8gZm91bmQgYm9va3NcbiAgICAgIH0pLmNhdGNoKGZ1bmN0aW9uKHJlYXNvbil7XG4gICAgICAgIC8vIHNvbWV0aGluZyB3ZW50IHdyb25nXG4gICAgICB9KTtcbiAgICAgIGBgYFxuXG4gICAgICBAbWV0aG9kIHRoZW5cbiAgICAgIEBwYXJhbSB7RnVuY3Rpb259IG9uRnVsZmlsbGVkXG4gICAgICBAcGFyYW0ge0Z1bmN0aW9ufSBvblJlamVjdGVkXG4gICAgICBVc2VmdWwgZm9yI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gfTtcblxuICAgIC8qIGdsb2JhbCBkZWZpbmU6dHJ1ZSBtb2R1bGU6dHJ1ZSB3aW5kb3c6IHRydWUgKi9cbiAgICBpZiAodHlwZW9mIGRlZmluZSA9PT0gJ2Z1bmN0aW9uJyAmJiBkZWZpbmVbJ2FtZCddKSB7XG4gICAgICBkZWZpbmUoZnVuY3Rpb24oKSB7IHJldHVybiBsaWIkZXM2JHByb21pc2UkdW1kJCRFUzZQcm9taXNlOyB9KTtcbiAgICB9IGVsc2UgaWYgKHR5cGVvZiBtb2R1bGUgIT09ICd1bmRlZmluZWQnICYmIG1vZHVsZVsnZXhwb3J0cyddKSB7XG4gICAgICBtb2R1bGVbJ2V4cG9ydHMnXSA9IGxpYiRlczYkcHJvbWlzZSR1bWQkJEVTNlByb21pc2U7XG4gICAgfSBlbHNlIGlmICh0eXBlb2YgdGhpcyAhPT0gJ3VuZGVmaW5lZCcpIHtcbiAgICAgIHRoaXNbJ0VTNlByb21pc2UnXSA9IGxpYiRlczYkcHJvbWlzZSR1bWQkJEVTNlByb21pc2U7XG4gICAgfVxuXG4gICAgbGliJGVzNiRwcm9taXNlJHBvbHlmaWxsJCRkZWZhdWx0KCk7XG59KS5jYWxsKHRoaXMpO1xuXG4iXX0= | |
17316 | 17629 | },{"_process":21}],61:[function(require,module,exports){ |
17317 | 17630 | /* |
17318 | 17631 | Copyright (C) 2015 Fred K. Schott <fkschott@gmail.com> |
... | ... | @@ -17896,6 +18209,7 @@ function scanPunctuator() { |
17896 | 18209 | // The ... operator (spread, restParams, JSX, etc.) |
17897 | 18210 | if (extra.ecmaFeatures.spread || |
17898 | 18211 | extra.ecmaFeatures.restParams || |
18212 | + extra.ecmaFeatures.experimentalObjectRestSpread || | |
17899 | 18213 | (extra.ecmaFeatures.jsx && state.inJSXSpreadAttribute) |
17900 | 18214 | ) { |
17901 | 18215 | if (ch1 === "." && ch2 === "." && ch3 === ".") { |
... | ... | @@ -19385,7 +19699,7 @@ function throwError(token, messageFormat) { |
19385 | 19699 | error = new Error("Line " + token.lineNumber + ": " + msg); |
19386 | 19700 | error.index = token.range[0]; |
19387 | 19701 | error.lineNumber = token.lineNumber; |
19388 | - error.column = token.range[0] - lineStart + 1; | |
19702 | + error.column = token.range[0] - token.lineStart + 1; | |
19389 | 19703 | } else { |
19390 | 19704 | error = new Error("Line " + lineNumber + ": " + msg); |
19391 | 19705 | error.index = index; |
... | ... | @@ -19433,7 +19747,7 @@ function throwUnexpected(token) { |
19433 | 19747 | if (token.type === Token.Keyword) { |
19434 | 19748 | if (syntax.isFutureReservedWord(token.value)) { |
19435 | 19749 | throwError(token, Messages.UnexpectedReserved); |
19436 | - } else if (strict && syntax.isStrictModeReservedWord(token.value)) { | |
19750 | + } else if (strict && syntax.isStrictModeReservedWord(token.value, extra.ecmaFeatures)) { | |
19437 | 19751 | throwErrorTolerant(token, Messages.StrictReservedWord); |
19438 | 19752 | return; |
19439 | 19753 | } |
... | ... | @@ -19780,6 +20094,7 @@ function parseObjectProperty() { |
19780 | 20094 | allowShorthand = extra.ecmaFeatures.objectLiteralShorthandProperties, |
19781 | 20095 | allowGenerators = extra.ecmaFeatures.generators, |
19782 | 20096 | allowDestructuring = extra.ecmaFeatures.destructuring, |
20097 | + allowSpread = extra.ecmaFeatures.experimentalObjectRestSpread, | |
19783 | 20098 | marker = markerCreate(); |
19784 | 20099 | |
19785 | 20100 | token = lookahead; |
... | ... | @@ -19928,6 +20243,12 @@ function parseObjectProperty() { |
19928 | 20243 | ); |
19929 | 20244 | } |
19930 | 20245 | |
20246 | + // object spread property | |
20247 | + if (allowSpread && match("...")) { | |
20248 | + lex(); | |
20249 | + return markerApply(marker, astNodeFactory.createExperimentalSpreadProperty(parseAssignmentExpression())); | |
20250 | + } | |
20251 | + | |
19931 | 20252 | // only possibility in this branch is a shorthand generator |
19932 | 20253 | if (token.type === Token.EOF || token.type === Token.Punctuator) { |
19933 | 20254 | if (!allowGenerators || !match("*") || !allowMethod) { |
... | ... | @@ -20012,7 +20333,7 @@ function parseObjectInitialiser() { |
20012 | 20333 | |
20013 | 20334 | property = parseObjectProperty(); |
20014 | 20335 | |
20015 | - if (!property.computed) { | |
20336 | + if (!property.computed && property.type.indexOf("Experimental") === -1) { | |
20016 | 20337 | |
20017 | 20338 | name = getFieldName(property.key); |
20018 | 20339 | propertyFn = (property.kind === "get") ? PropertyKind.Get : PropertyKind.Set; |
... | ... | @@ -20275,6 +20596,19 @@ function parseNewExpression() { |
20275 | 20596 | marker = markerCreate(); |
20276 | 20597 | |
20277 | 20598 | expectKeyword("new"); |
20599 | + | |
20600 | + if (extra.ecmaFeatures.newTarget && match(".")) { | |
20601 | + lex(); | |
20602 | + if (lookahead.type === Token.Identifier && lookahead.value === "target") { | |
20603 | + if (state.inFunctionBody) { | |
20604 | + lex(); | |
20605 | + return markerApply(marker, astNodeFactory.createMetaProperty("new", "target")); | |
20606 | + } | |
20607 | + } | |
20608 | + | |
20609 | + throwUnexpected(lookahead); | |
20610 | + } | |
20611 | + | |
20278 | 20612 | callee = parseLeftHandSideExpression(); |
20279 | 20613 | args = match("(") ? parseArguments() : []; |
20280 | 20614 | |
... | ... | @@ -20604,7 +20938,7 @@ function reinterpretAsCoverFormalsList(expressions) { |
20604 | 20938 | throwError({}, Messages.UnexpectedToken, "."); |
20605 | 20939 | } |
20606 | 20940 | |
20607 | - reinterpretAsDestructuredParameter(options, param.argument); | |
20941 | + validateParam(options, param.argument, param.argument.name); | |
20608 | 20942 | param.type = astNodeTypes.RestElement; |
20609 | 20943 | params.push(param); |
20610 | 20944 | } else if (param.type === astNodeTypes.RestElement) { |
... | ... | @@ -20616,6 +20950,17 @@ function reinterpretAsCoverFormalsList(expressions) { |
20616 | 20950 | param.type = astNodeTypes.AssignmentPattern; |
20617 | 20951 | delete param.operator; |
20618 | 20952 | |
20953 | + if (param.right.type === astNodeTypes.YieldExpression) { | |
20954 | + if (param.right.argument) { | |
20955 | + throwUnexpected(lookahead); | |
20956 | + } | |
20957 | + | |
20958 | + param.right.type = astNodeTypes.Identifier; | |
20959 | + param.right.name = "yield"; | |
20960 | + delete param.right.argument; | |
20961 | + delete param.right.delegate; | |
20962 | + } | |
20963 | + | |
20619 | 20964 | params.push(param); |
20620 | 20965 | validateParam(options, param.left, param.left.name); |
20621 | 20966 | } else { |
... | ... | @@ -20640,10 +20985,15 @@ function reinterpretAsCoverFormalsList(expressions) { |
20640 | 20985 | |
20641 | 20986 | function parseArrowFunctionExpression(options, marker) { |
20642 | 20987 | var previousStrict, body; |
20988 | + var arrowStart = lineNumber; | |
20643 | 20989 | |
20644 | 20990 | expect("=>"); |
20645 | 20991 | previousStrict = strict; |
20646 | 20992 | |
20993 | + if (lineNumber > arrowStart) { | |
20994 | + throwError({}, Messages.UnexpectedToken, "=>"); | |
20995 | + } | |
20996 | + | |
20647 | 20997 | body = parseConciseBody(); |
20648 | 20998 | |
20649 | 20999 | if (strict && options.firstRestricted) { |
... | ... | @@ -20667,7 +21017,8 @@ function parseArrowFunctionExpression(options, marker) { |
20667 | 21017 | |
20668 | 21018 | function reinterpretAsAssignmentBindingPattern(expr) { |
20669 | 21019 | var i, len, property, element, |
20670 | - allowDestructuring = extra.ecmaFeatures.destructuring; | |
21020 | + allowDestructuring = extra.ecmaFeatures.destructuring, | |
21021 | + allowRest = extra.ecmaFeatures.experimentalObjectRestSpread; | |
20671 | 21022 | |
20672 | 21023 | if (!allowDestructuring) { |
20673 | 21024 | throwUnexpected(lex()); |
... | ... | @@ -20677,6 +21028,18 @@ function reinterpretAsAssignmentBindingPattern(expr) { |
20677 | 21028 | expr.type = astNodeTypes.ObjectPattern; |
20678 | 21029 | for (i = 0, len = expr.properties.length; i < len; i += 1) { |
20679 | 21030 | property = expr.properties[i]; |
21031 | + | |
21032 | + if (allowRest && property.type === astNodeTypes.ExperimentalSpreadProperty) { | |
21033 | + | |
21034 | + // only allow identifiers | |
21035 | + if (property.argument.type !== astNodeTypes.Identifier) { | |
21036 | + throwErrorTolerant({}, "Invalid object rest."); | |
21037 | + } | |
21038 | + | |
21039 | + property.type = astNodeTypes.ExperimentalRestProperty; | |
21040 | + return; | |
21041 | + } | |
21042 | + | |
20680 | 21043 | if (property.kind !== "init") { |
20681 | 21044 | throwErrorTolerant({}, Messages.InvalidLHSInAssignment); |
20682 | 21045 | } |
... | ... | @@ -20791,7 +21154,6 @@ function parseAssignmentExpression() { |
20791 | 21154 | if (match("=>") && |
20792 | 21155 | (state.parenthesisCount === oldParenthesisCount || |
20793 | 21156 | state.parenthesisCount === (oldParenthesisCount + 1))) { |
20794 | - | |
20795 | 21157 | if (node.type === astNodeTypes.Identifier) { |
20796 | 21158 | params = reinterpretAsCoverFormalsList([ node ]); |
20797 | 21159 | } else if (node.type === astNodeTypes.AssignmentExpression || |
... | ... | @@ -20806,6 +21168,7 @@ function parseAssignmentExpression() { |
20806 | 21168 | } |
20807 | 21169 | |
20808 | 21170 | if (params) { |
21171 | + state.parenthesisCount--; | |
20809 | 21172 | return parseArrowFunctionExpression(params, marker); |
20810 | 21173 | } |
20811 | 21174 | } |
... | ... | @@ -20826,6 +21189,7 @@ function parseAssignmentExpression() { |
20826 | 21189 | |
20827 | 21190 | token = lex(); |
20828 | 21191 | right = parseAssignmentExpression(); |
21192 | + | |
20829 | 21193 | node = markerApply(marker, astNodeFactory.createAssignmentExpression(token.value, left, right)); |
20830 | 21194 | } |
20831 | 21195 | |
... | ... | @@ -20910,7 +21274,7 @@ function parseVariableIdentifier() { |
20910 | 21274 | token = lex(); |
20911 | 21275 | |
20912 | 21276 | if (token.type !== Token.Identifier) { |
20913 | - if (strict && token.type === Token.Keyword && syntax.isStrictModeReservedWord(token.value)) { | |
21277 | + if (strict && token.type === Token.Keyword && syntax.isStrictModeReservedWord(token.value, extra.ecmaFeatures)) { | |
20914 | 21278 | throwErrorTolerant(token, Messages.StrictReservedWord); |
20915 | 21279 | } else { |
20916 | 21280 | throwUnexpected(token); |
... | ... | @@ -21162,6 +21526,11 @@ function parseForStatement(opts) { |
21162 | 21526 | init = parseExpression(); |
21163 | 21527 | state.allowIn = true; |
21164 | 21528 | |
21529 | + if (init.type === astNodeTypes.ArrayExpression) { | |
21530 | + init.type = astNodeTypes.ArrayPattern; | |
21531 | + } | |
21532 | + | |
21533 | + | |
21165 | 21534 | if (allowForOf && matchContextualKeyword("of")) { |
21166 | 21535 | operator = lex(); |
21167 | 21536 | left = init; |
... | ... | @@ -21669,7 +22038,7 @@ function parseFunctionSourceElements() { |
21669 | 22038 | oldInIteration = state.inIteration; |
21670 | 22039 | oldInSwitch = state.inSwitch; |
21671 | 22040 | oldInFunctionBody = state.inFunctionBody; |
21672 | - oldParenthesisCount = state.parenthesizedCount; | |
22041 | + oldParenthesisCount = state.parenthesisCount; | |
21673 | 22042 | |
21674 | 22043 | state.labelSet = new StringMap(); |
21675 | 22044 | state.inIteration = false; |
... | ... | @@ -21697,7 +22066,7 @@ function parseFunctionSourceElements() { |
21697 | 22066 | state.inIteration = oldInIteration; |
21698 | 22067 | state.inSwitch = oldInSwitch; |
21699 | 22068 | state.inFunctionBody = oldInFunctionBody; |
21700 | - state.parenthesizedCount = oldParenthesisCount; | |
22069 | + state.parenthesisCount = oldParenthesisCount; | |
21701 | 22070 | |
21702 | 22071 | return markerApply(marker, astNodeFactory.createBlockStatement(sourceElements)); |
21703 | 22072 | } |
... | ... | @@ -21718,7 +22087,7 @@ function validateParam(options, param, name) { |
21718 | 22087 | if (syntax.isRestrictedWord(name)) { |
21719 | 22088 | options.firstRestricted = param; |
21720 | 22089 | options.message = Messages.StrictParamName; |
21721 | - } else if (syntax.isStrictModeReservedWord(name)) { | |
22090 | + } else if (syntax.isStrictModeReservedWord(name, extra.ecmaFeatures)) { | |
21722 | 22091 | options.firstRestricted = param; |
21723 | 22092 | options.message = Messages.StrictReservedWord; |
21724 | 22093 | } else if (options.paramSet.has(name)) { |
... | ... | @@ -21848,7 +22217,7 @@ function parseFunctionDeclaration(identifierIsOptional) { |
21848 | 22217 | if (syntax.isRestrictedWord(token.value)) { |
21849 | 22218 | firstRestricted = token; |
21850 | 22219 | message = Messages.StrictFunctionName; |
21851 | - } else if (syntax.isStrictModeReservedWord(token.value)) { | |
22220 | + } else if (syntax.isStrictModeReservedWord(token.value, extra.ecmaFeatures)) { | |
21852 | 22221 | firstRestricted = token; |
21853 | 22222 | message = Messages.StrictReservedWord; |
21854 | 22223 | } |
... | ... | @@ -21913,7 +22282,7 @@ function parseFunctionExpression() { |
21913 | 22282 | if (syntax.isRestrictedWord(token.value)) { |
21914 | 22283 | firstRestricted = token; |
21915 | 22284 | message = Messages.StrictFunctionName; |
21916 | - } else if (syntax.isStrictModeReservedWord(token.value)) { | |
22285 | + } else if (syntax.isStrictModeReservedWord(token.value, extra.ecmaFeatures)) { | |
21917 | 22286 | firstRestricted = token; |
21918 | 22287 | message = Messages.StrictReservedWord; |
21919 | 22288 | } |
... | ... | @@ -22042,7 +22411,7 @@ function parseExportNamedDeclaration() { |
22042 | 22411 | do { |
22043 | 22412 | isExportFromIdentifier = isExportFromIdentifier || matchKeyword("default"); |
22044 | 22413 | specifiers.push(parseExportSpecifier()); |
22045 | - } while (match(",") && lex()); | |
22414 | + } while (match(",") && lex() && !match("}")); | |
22046 | 22415 | } |
22047 | 22416 | expect("}"); |
22048 | 22417 | |
... | ... | @@ -22172,7 +22541,7 @@ function parseNamedImports() { |
22172 | 22541 | if (!match("}")) { |
22173 | 22542 | do { |
22174 | 22543 | specifiers.push(parseImportSpecifier()); |
22175 | - } while (match(",") && lex()); | |
22544 | + } while (match(",") && lex() && !match("}")); | |
22176 | 22545 | } |
22177 | 22546 | expect("}"); |
22178 | 22547 | return specifiers; |
... | ... | @@ -22719,7 +23088,8 @@ function parse(code, options) { |
22719 | 23088 | generators: true, |
22720 | 23089 | destructuring: true, |
22721 | 23090 | classes: true, |
22722 | - modules: true | |
23091 | + modules: true, | |
23092 | + newTarget: true | |
22723 | 23093 | }; |
22724 | 23094 | } |
22725 | 23095 | |
... | ... | @@ -23006,6 +23376,14 @@ module.exports = { |
23006 | 23376 | }; |
23007 | 23377 | }, |
23008 | 23378 | |
23379 | + createMetaProperty: function(meta, property) { | |
23380 | + return { | |
23381 | + type: astNodeTypes.MetaProperty, | |
23382 | + meta: meta, | |
23383 | + property: property | |
23384 | + }; | |
23385 | + }, | |
23386 | + | |
23009 | 23387 | /** |
23010 | 23388 | * Create an ASTNode representation of a conditional expression |
23011 | 23389 | * @param {ASTNode} test The conditional to evaluate |
... | ... | @@ -23293,6 +23671,30 @@ module.exports = { |
23293 | 23671 | }, |
23294 | 23672 | |
23295 | 23673 | /** |
23674 | + * Create an ASTNode representation of an experimental rest property | |
23675 | + * @param {ASTNode} argument The identifier being rested | |
23676 | + * @returns {ASTNode} An ASTNode representing a rest element | |
23677 | + */ | |
23678 | + createExperimentalRestProperty: function(argument) { | |
23679 | + return { | |
23680 | + type: astNodeTypes.ExperimentalRestProperty, | |
23681 | + argument: argument | |
23682 | + }; | |
23683 | + }, | |
23684 | + | |
23685 | + /** | |
23686 | + * Create an ASTNode representation of an experimental spread property | |
23687 | + * @param {ASTNode} argument The identifier being spread | |
23688 | + * @returns {ASTNode} An ASTNode representing a spread element | |
23689 | + */ | |
23690 | + createExperimentalSpreadProperty: function(argument) { | |
23691 | + return { | |
23692 | + type: astNodeTypes.ExperimentalSpreadProperty, | |
23693 | + argument: argument | |
23694 | + }; | |
23695 | + }, | |
23696 | + | |
23697 | + /** | |
23296 | 23698 | * Create an ASTNode tagged template expression |
23297 | 23699 | * @param {ASTNode} tag The tag expression |
23298 | 23700 | * @param {ASTNode} quasi A TemplateLiteral ASTNode representing |
... | ... | @@ -23784,6 +24186,8 @@ module.exports = { |
23784 | 24186 | DoWhileStatement: "DoWhileStatement", |
23785 | 24187 | DebuggerStatement: "DebuggerStatement", |
23786 | 24188 | EmptyStatement: "EmptyStatement", |
24189 | + ExperimentalRestProperty: "ExperimentalRestProperty", | |
24190 | + ExperimentalSpreadProperty: "ExperimentalSpreadProperty", | |
23787 | 24191 | ExpressionStatement: "ExpressionStatement", |
23788 | 24192 | ForStatement: "ForStatement", |
23789 | 24193 | ForInStatement: "ForInStatement", |
... | ... | @@ -23796,6 +24200,7 @@ module.exports = { |
23796 | 24200 | LabeledStatement: "LabeledStatement", |
23797 | 24201 | LogicalExpression: "LogicalExpression", |
23798 | 24202 | MemberExpression: "MemberExpression", |
24203 | + MetaProperty: "MetaProperty", | |
23799 | 24204 | MethodDefinition: "MethodDefinition", |
23800 | 24205 | NewExpression: "NewExpression", |
23801 | 24206 | ObjectExpression: "ObjectExpression", |
... | ... | @@ -23955,9 +24360,21 @@ module.exports = { |
23955 | 24360 | } |
23956 | 24361 | |
23957 | 24362 | if (lastChild) { |
23958 | - if (lastChild.leadingComments && lastChild.leadingComments[lastChild.leadingComments.length - 1].range[1] <= node.range[0]) { | |
23959 | - node.leadingComments = lastChild.leadingComments; | |
23960 | - delete lastChild.leadingComments; | |
24363 | + if (lastChild.leadingComments) { | |
24364 | + if (lastChild.leadingComments[lastChild.leadingComments.length - 1].range[1] <= node.range[0]) { | |
24365 | + node.leadingComments = lastChild.leadingComments; | |
24366 | + delete lastChild.leadingComments; | |
24367 | + } else { | |
24368 | + // A leading comment for an anonymous class had been stolen by its first MethodDefinition, | |
24369 | + // so this takes back the leading comment. | |
24370 | + // See Also: https://github.com/eslint/espree/issues/158 | |
24371 | + for (i = lastChild.leadingComments.length - 2; i >= 0; --i) { | |
24372 | + if (lastChild.leadingComments[i].range[1] <= node.range[0]) { | |
24373 | + node.leadingComments = lastChild.leadingComments.splice(0, i + 1); | |
24374 | + break; | |
24375 | + } | |
24376 | + } | |
24377 | + } | |
23961 | 24378 | } |
23962 | 24379 | } else if (extra.leadingComments.length > 0) { |
23963 | 24380 | |
... | ... | @@ -24119,6 +24536,9 @@ module.exports = { |
24119 | 24536 | // enable parsing of classes |
24120 | 24537 | classes: false, |
24121 | 24538 | |
24539 | + // enable parsing of new.target | |
24540 | + newTarget: false, | |
24541 | + | |
24122 | 24542 | // enable parsing of modules |
24123 | 24543 | modules: false, |
24124 | 24544 | |
... | ... | @@ -24126,7 +24546,10 @@ module.exports = { |
24126 | 24546 | jsx: false, |
24127 | 24547 | |
24128 | 24548 | // allow return statement in global scope |
24129 | - globalReturn: false | |
24549 | + globalReturn: false, | |
24550 | + | |
24551 | + // allow experimental object rest/spread | |
24552 | + experimentalObjectRestSpread: false | |
24130 | 24553 | }; |
24131 | 24554 | |
24132 | 24555 | },{}],66:[function(require,module,exports){ |
... | ... | @@ -24403,7 +24826,7 @@ module.exports = { |
24403 | 24826 | } |
24404 | 24827 | }, |
24405 | 24828 | |
24406 | - isStrictModeReservedWord: function(id) { | |
24829 | + isStrictModeReservedWord: function(id, ecmaFeatures) { | |
24407 | 24830 | switch (id) { |
24408 | 24831 | case "implements": |
24409 | 24832 | case "interface": |
... | ... | @@ -24415,6 +24838,8 @@ module.exports = { |
24415 | 24838 | case "yield": |
24416 | 24839 | case "let": |
24417 | 24840 | return true; |
24841 | + case "await": | |
24842 | + return ecmaFeatures.modules; | |
24418 | 24843 | default: |
24419 | 24844 | return false; |
24420 | 24845 | } |
... | ... | @@ -24428,7 +24853,7 @@ module.exports = { |
24428 | 24853 | |
24429 | 24854 | isKeyword: function(id, strict, ecmaFeatures) { |
24430 | 24855 | |
24431 | - if (strict && this.isStrictModeReservedWord(id)) { | |
24856 | + if (strict && this.isStrictModeReservedWord(id, ecmaFeatures)) { | |
24432 | 24857 | return true; |
24433 | 24858 | } |
24434 | 24859 | |
... | ... | @@ -24877,7 +25302,7 @@ module.exports={ |
24877 | 25302 | "esparse": "./bin/esparse.js", |
24878 | 25303 | "esvalidate": "./bin/esvalidate.js" |
24879 | 25304 | }, |
24880 | - "version": "2.0.3", | |
25305 | + "version": "2.2.5", | |
24881 | 25306 | "files": [ |
24882 | 25307 | "bin", |
24883 | 25308 | "lib", |
... | ... | @@ -24893,7 +25318,7 @@ module.exports={ |
24893 | 25318 | }, |
24894 | 25319 | "repository": { |
24895 | 25320 | "type": "git", |
24896 | - "url": "http://github.com/eslint/espree.git" | |
25321 | + "url": "git+ssh://git@github.com/eslint/espree.git" | |
24897 | 25322 | }, |
24898 | 25323 | "bugs": { |
24899 | 25324 | "url": "http://github.com/eslint/espree.git" |
... | ... | @@ -24910,7 +25335,7 @@ module.exports={ |
24910 | 25335 | "complexity-report": "~0.6.1", |
24911 | 25336 | "dateformat": "^1.0.11", |
24912 | 25337 | "eslint": "^0.9.2", |
24913 | - "esprima": "git://github.com/jquery/esprima", | |
25338 | + "esprima": "git://github.com/jquery/esprima.git", | |
24914 | 25339 | "esprima-fb": "^8001.2001.0-dev-harmony-fb", |
24915 | 25340 | "istanbul": "~0.2.6", |
24916 | 25341 | "json-diff": "~0.3.1", |
... | ... | @@ -24949,9 +25374,9 @@ module.exports={ |
24949 | 25374 | "benchmark-quick": "node test/benchmarks.js quick" |
24950 | 25375 | }, |
24951 | 25376 | "dependencies": {}, |
24952 | - "gitHead": "b60b597cfe4834aacd16c90179ce73e22705c132", | |
24953 | - "_id": "espree@2.0.3", | |
24954 | - "_shasum": "1fbdff60a410bd0d416b1ab3d6230d34b7a450e1", | |
25377 | + "gitHead": "eeeeb05b879783901ff2308efcbd0cda76753cbe", | |
25378 | + "_id": "espree@2.2.5", | |
25379 | + "_shasum": "df691b9310889402aeb29cc066708c56690b854b", | |
24955 | 25380 | "_from": "espree@>=2.0.1 <3.0.0", |
24956 | 25381 | "_npmVersion": "1.4.28", |
24957 | 25382 | "_npmUser": { |
... | ... | @@ -24965,11 +25390,11 @@ module.exports={ |
24965 | 25390 | } |
24966 | 25391 | ], |
24967 | 25392 | "dist": { |
24968 | - "shasum": "1fbdff60a410bd0d416b1ab3d6230d34b7a450e1", | |
24969 | - "tarball": "http://registry.npmjs.org/espree/-/espree-2.0.3.tgz" | |
25393 | + "shasum": "df691b9310889402aeb29cc066708c56690b854b", | |
25394 | + "tarball": "http://registry.npmjs.org/espree/-/espree-2.2.5.tgz" | |
24970 | 25395 | }, |
24971 | 25396 | "directories": {}, |
24972 | - "_resolved": "https://registry.npmjs.org/espree/-/espree-2.0.3.tgz", | |
25397 | + "_resolved": "https://registry.npmjs.org/espree/-/espree-2.2.5.tgz", | |
24973 | 25398 | "readme": "ERROR: No README data found!" |
24974 | 25399 | } |
24975 | 25400 | |
... | ... | @@ -25838,7 +26263,7 @@ module.exports={ |
25838 | 26263 | ], |
25839 | 26264 | "repository": { |
25840 | 26265 | "type": "git", |
25841 | - "url": "http://github.com/estools/estraverse.git" | |
26266 | + "url": "git+ssh://git@github.com/estools/estraverse.git" | |
25842 | 26267 | }, |
25843 | 26268 | "devDependencies": { |
25844 | 26269 | "chai": "^2.1.1", |
... | ... | @@ -25884,187 +26309,7 @@ module.exports={ |
25884 | 26309 | "readme": "ERROR: No README data found!" |
25885 | 26310 | } |
25886 | 26311 | |
25887 | -},{}],74:[function(require,module,exports){ | |
25888 | -(function (process){ | |
25889 | -(function (global, undefined) { | |
25890 | - "use strict"; | |
25891 | - | |
25892 | - if (global.setImmediate) { | |
25893 | - return; | |
25894 | - } | |
25895 | - | |
25896 | - var nextHandle = 1; // Spec says greater than zero | |
25897 | - var tasksByHandle = {}; | |
25898 | - var currentlyRunningATask = false; | |
25899 | - var doc = global.document; | |
25900 | - var setImmediate; | |
25901 | - | |
25902 | - function addFromSetImmediateArguments(args) { | |
25903 | - tasksByHandle[nextHandle] = partiallyApplied.apply(undefined, args); | |
25904 | - return nextHandle++; | |
25905 | - } | |
25906 | - | |
25907 | - // This function accepts the same arguments as setImmediate, but | |
25908 | - // returns a function that requires no arguments. | |
25909 | - function partiallyApplied(handler) { | |
25910 | - var args = [].slice.call(arguments, 1); | |
25911 | - return function() { | |
25912 | - if (typeof handler === "function") { | |
25913 | - handler.apply(undefined, args); | |
25914 | - } else { | |
25915 | - (new Function("" + handler))(); | |
25916 | - } | |
25917 | - }; | |
25918 | - } | |
25919 | - | |
25920 | - function runIfPresent(handle) { | |
25921 | - // From the spec: "Wait until any invocations of this algorithm started before this one have completed." | |
25922 | - // So if we're currently running a task, we'll need to delay this invocation. | |
25923 | - if (currentlyRunningATask) { | |
25924 | - // Delay by doing a setTimeout. setImmediate was tried instead, but in Firefox 7 it generated a | |
25925 | - // "too much recursion" error. | |
25926 | - setTimeout(partiallyApplied(runIfPresent, handle), 0); | |
25927 | - } else { | |
25928 | - var task = tasksByHandle[handle]; | |
25929 | - if (task) { | |
25930 | - currentlyRunningATask = true; | |
25931 | - try { | |
25932 | - task(); | |
25933 | - } finally { | |
25934 | - clearImmediate(handle); | |
25935 | - currentlyRunningATask = false; | |
25936 | - } | |
25937 | - } | |
25938 | - } | |
25939 | - } | |
25940 | - | |
25941 | - function clearImmediate(handle) { | |
25942 | - delete tasksByHandle[handle]; | |
25943 | - } | |
25944 | - | |
25945 | - function installNextTickImplementation() { | |
25946 | - setImmediate = function() { | |
25947 | - var handle = addFromSetImmediateArguments(arguments); | |
25948 | - process.nextTick(partiallyApplied(runIfPresent, handle)); | |
25949 | - return handle; | |
25950 | - }; | |
25951 | - } | |
25952 | - | |
25953 | - function canUsePostMessage() { | |
25954 | - // The test against `importScripts` prevents this implementation from being installed inside a web worker, | |
25955 | - // where `global.postMessage` means something completely different and can't be used for this purpose. | |
25956 | - if (global.postMessage && !global.importScripts) { | |
25957 | - var postMessageIsAsynchronous = true; | |
25958 | - var oldOnMessage = global.onmessage; | |
25959 | - global.onmessage = function() { | |
25960 | - postMessageIsAsynchronous = false; | |
25961 | - }; | |
25962 | - global.postMessage("", "*"); | |
25963 | - global.onmessage = oldOnMessage; | |
25964 | - return postMessageIsAsynchronous; | |
25965 | - } | |
25966 | - } | |
25967 | - | |
25968 | - function installPostMessageImplementation() { | |
25969 | - // Installs an event handler on `global` for the `message` event: see | |
25970 | - // * https://developer.mozilla.org/en/DOM/window.postMessage | |
25971 | - // * http://www.whatwg.org/specs/web-apps/current-work/multipage/comms.html#crossDocumentMessages | |
25972 | - | |
25973 | - var messagePrefix = "setImmediate$" + Math.random() + "$"; | |
25974 | - var onGlobalMessage = function(event) { | |
25975 | - if (event.source === global && | |
25976 | - typeof event.data === "string" && | |
25977 | - event.data.indexOf(messagePrefix) === 0) { | |
25978 | - runIfPresent(+event.data.slice(messagePrefix.length)); | |
25979 | - } | |
25980 | - }; | |
25981 | - | |
25982 | - if (global.addEventListener) { | |
25983 | - global.addEventListener("message", onGlobalMessage, false); | |
25984 | - } else { | |
25985 | - global.attachEvent("onmessage", onGlobalMessage); | |
25986 | - } | |
25987 | - | |
25988 | - setImmediate = function() { | |
25989 | - var handle = addFromSetImmediateArguments(arguments); | |
25990 | - global.postMessage(messagePrefix + handle, "*"); | |
25991 | - return handle; | |
25992 | - }; | |
25993 | - } | |
25994 | - | |
25995 | - function installMessageChannelImplementation() { | |
25996 | - var channel = new MessageChannel(); | |
25997 | - channel.port1.onmessage = function(event) { | |
25998 | - var handle = event.data; | |
25999 | - runIfPresent(handle); | |
26000 | - }; | |
26001 | - | |
26002 | - setImmediate = function() { | |
26003 | - var handle = addFromSetImmediateArguments(arguments); | |
26004 | - channel.port2.postMessage(handle); | |
26005 | - return handle; | |
26006 | - }; | |
26007 | - } | |
26008 | - | |
26009 | - function installReadyStateChangeImplementation() { | |
26010 | - var html = doc.documentElement; | |
26011 | - setImmediate = function() { | |
26012 | - var handle = addFromSetImmediateArguments(arguments); | |
26013 | - // Create a <script> element; its readystatechange event will be fired asynchronously once it is inserted | |
26014 | - // into the document. Do so, thus queuing up the task. Remember to clean up once it's been called. | |
26015 | - var script = doc.createElement("script"); | |
26016 | - script.onreadystatechange = function () { | |
26017 | - runIfPresent(handle); | |
26018 | - script.onreadystatechange = null; | |
26019 | - html.removeChild(script); | |
26020 | - script = null; | |
26021 | - }; | |
26022 | - html.appendChild(script); | |
26023 | - return handle; | |
26024 | - }; | |
26025 | - } | |
26026 | - | |
26027 | - function installSetTimeoutImplementation() { | |
26028 | - setImmediate = function() { | |
26029 | - var handle = addFromSetImmediateArguments(arguments); | |
26030 | - setTimeout(partiallyApplied(runIfPresent, handle), 0); | |
26031 | - return handle; | |
26032 | - }; | |
26033 | - } | |
26034 | - | |
26035 | - // If supported, we should attach to the prototype of global, since that is where setTimeout et al. live. | |
26036 | - var attachTo = Object.getPrototypeOf && Object.getPrototypeOf(global); | |
26037 | - attachTo = attachTo && attachTo.setTimeout ? attachTo : global; | |
26038 | - | |
26039 | - // Don't get fooled by e.g. browserify environments. | |
26040 | - if ({}.toString.call(global.process) === "[object process]") { | |
26041 | - // For Node.js before 0.9 | |
26042 | - installNextTickImplementation(); | |
26043 | - | |
26044 | - } else if (canUsePostMessage()) { | |
26045 | - // For non-IE10 modern browsers | |
26046 | - installPostMessageImplementation(); | |
26047 | - | |
26048 | - } else if (global.MessageChannel) { | |
26049 | - // For web workers, where supported | |
26050 | - installMessageChannelImplementation(); | |
26051 | - | |
26052 | - } else if (doc && "onreadystatechange" in doc.createElement("script")) { | |
26053 | - // For IE 6โ8 | |
26054 | - installReadyStateChangeImplementation(); | |
26055 | - | |
26056 | - } else { | |
26057 | - // For older browsers | |
26058 | - installSetTimeoutImplementation(); | |
26059 | - } | |
26060 | - | |
26061 | - attachTo.setImmediate = setImmediate; | |
26062 | - attachTo.clearImmediate = clearImmediate; | |
26063 | -}(new Function("return this")())); | |
26064 | - | |
26065 | -}).call(this,require('_process')) | |
26066 | - | |
26067 | -},{"_process":21}],"hydrolysis":[function(require,module,exports){ | |
26312 | +},{}],"hydrolysis":[function(require,module,exports){ | |
26068 | 26313 | /** |
26069 | 26314 | * @license |
26070 | 26315 | * Copyright (c) 2015 The Polymer Project Authors. All rights reserved. |
... | ... | @@ -26094,4 +26339,4 @@ module.exports = { |
26094 | 26339 | }; |
26095 | 26340 | |
26096 | 26341 | },{"./lib/analyzer":1,"./lib/ast-utils/docs":5,"./lib/ast-utils/import-parse":10,"./lib/ast-utils/js-parse":11,"./lib/ast-utils/jsdoc":12,"./lib/loader/file-loader":13,"./lib/loader/fs-resolver":14,"./lib/loader/noop-resolver":15,"./lib/loader/xhr-resolver":16}]},{},[]) |
26097 | -//# sourceMappingURL=data:application/json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XG4gIGlmIChub2RlLnR5cGUgIT0gJ09iamVjdEV4cHJlc3Npb24nKSB7XG4gICAgcmV0dXJuIGFuYWx5emVkUHJvcHM7XG4gIH1cbiAgZm9yICh2YXIgaSA9IDA7IGkgPCBub2RlLnByb3BlcnRpZXMubGVuZ3RoOyBpKyspIHtcbiAgICB2YXIgcHJvcGVydHkgPSBub2RlLnByb3BlcnRpZXNbaV07XG4gICAgdmFyIHByb3AgPSBlc3V0aWwudG9Qcm9wZXJ0eURlc2NyaXB0b3IocHJvcGVydHkpO1xuICAgIHByb3AucHVibGlzaGVkID0gdHJ1ZTtcblxuICAgIGlmIChwcm9wZXJ0eS52YWx1ZS50eXBlID09ICdPYmplY3RFeHByZXNzaW9uJykge1xuICAgICAgLyoqXG4gICAgICAgKiBQYXJzZSB0aGUgZXhwcmVzc2lvbiBpbnNpZGUgYSBwcm9wZXJ0eSBvYmplY3QgYmxvY2suXG4gICAgICAgKiBwcm9wZXJ0eToge1xuICAgICAgICogICBrZXk6IHtcbiAgICAgICAqICAgICB0eXBlOiBTdHJpbmcsXG4gICAgICAgKiAgICAgbm90aWZ5OiB0cnVlLFxuICAgICAgICogICAgIHZhbHVlOiAtMSxcbiAgICAgICAqICAgICByZWFkT25seTogdHJ1ZSxcbiAgICAgICAqICAgICByZWZsZWN0VG9BdHRyaWJ1dGU6IHRydWVcbiAgICAgICAqICAgfVxuICAgICAgICogfVxuICAgICAgICovXG4gICAgICBmb3IgKHZhciBqID0gMDsgaiA8IHByb3BlcnR5LnZhbHVlLnByb3BlcnRpZXMubGVuZ3RoOyBqKyspIHtcbiAgICAgICAgdmFyIHByb3BlcnR5QXJnID0gcHJvcGVydHkudmFsdWUucHJvcGVydGllc1tqXTtcbiAgICAgICAgdmFyIHByb3BlcnR5S2V5ID0gZXN1dGlsLm9iamVjdEtleVRvU3RyaW5nKHByb3BlcnR5QXJnLmtleSk7XG5cbiAgICAgICAgc3dpdGNoKHByb3BlcnR5S2V5KSB7XG4gICAgICAgICAgY2FzZSAndHlwZSc6IHtcbiAgICAgICAgICAgIHByb3AudHlwZSA9IGVzdXRpbC5vYmplY3RLZXlUb1N0cmluZyhwcm9wZXJ0eUFyZy52YWx1ZSk7XG4gICAgICAgICAgICBpZiAocHJvcC50eXBlID09PSB1bmRlZmluZWQpIHtcbiAgICAgICAgICAgICAgdGhyb3cge1xuICAgICAgICAgICAgICAgIG1lc3NhZ2U6ICdJbnZhbGlkIHR5cGUgaW4gcHJvcGVydHkgb2JqZWN0LicsXG4gICAgICAgICAgICAgICAgbG9jYXRpb246IHByb3BlcnR5QXJnLmxvYy5zdGFydFxuICAgICAgICAgICAgICB9O1xuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgICAgICBicmVhaztcbiAgICAgICAgICBjYXNlICdub3RpZnknOiB7XG4gICAgICAgICAgICBwcm9wLm5vdGlmeSA9IGFzdFZhbHVlLmV4cHJlc3Npb25Ub1ZhbHVlKHByb3BlcnR5QXJnLnZhbHVlKTtcbiAgICAgICAgICAgIGlmIChwcm9wLm5vdGlmeSA9PT0gdW5kZWZpbmVkKVxuICAgICAgICAgICAgICBwcm9wLm5vdGlmeSA9IGFzdFZhbHVlLkNBTlRfQ09OVkVSVDtcbiAgICAgICAgICB9XG4gICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgY2FzZSAnb2JzZXJ2ZXInOiB7XG4gICAgICAgICAgICBwcm9wLm9ic2VydmVyID0gYXN0VmFsdWUuZXhwcmVzc2lvblRvVmFsdWUocHJvcGVydHlBcmcudmFsdWUpO1xuICAgICAgICAgICAgcHJvcC5vYnNlcnZlck5vZGUgPSBwcm9wZXJ0eUFyZy52YWx1ZTtcbiAgICAgICAgICAgIGlmIChwcm9wLm9ic2VydmVyID09PSB1bmRlZmluZWQpXG4gICAgICAgICAgICAgIHByb3Aub2JzZXJ2ZXIgPSBhc3RWYWx1ZS5DQU5UX0NPTlZFUlQ7XG4gICAgICAgICAgfVxuICAgICAgICAgIGJyZWFrO1xuICAgIC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gICAgICAgIGJyZWFrO1xuICAgICAgICBjYXNlICdWYXJpYWJsZURlY2xhcmF0aW9uJzpcbiAgICAgICAgICBleHByZXNzaW9uID0gbm9kZS5kZWNsYXJhdGlvbnMubGVuZ3RoID4gMCA/IG5vZGUuZGVjbGFyYXRpb25zWzBdLmluaXQgOiBudWxsO1xuICAgICAgICBicmVhaztcbiAgICAgIH1cbiAgICAgIHZhciBjaGFpbmVkID0gW107XG4gICAgICBpZiAoZXhwcmVzc2lvbiAmJiBleHByZXNzaW9uLnR5cGUgPT09ICdBcnJheUV4cHJlc3Npb24nKSB7XG4gICAgICAgIGZvciAodmFyIGk9MDsgaSA8IGV4cHJlc3Npb24uZWxlbWVudHMubGVuZ3RoOyBpKyspIHtcbiAgICAgICAgICBpZiAoZXhwcmVzc2lvbi5lbGVtZW50c1tpXS50eXBlID09PSAnTWVtYmVyRXhwcmVzc2lvbicpXG4gICAgICAgICAgICBjaGFpbmVkLnB1c2goYXN0VmFsdWUuZXhwcmVzc2lvblRvVmFsdWUoZXhwcmVzc2lvbi5lbGVtZW50c1tpXSkpO1xuICAgICAgICB9XG4gICAgICAgIGlmIChjaGFpbmVkLmxlbmd0aCA+IDApXG4gICAgICAgICAgY3VycmVudEJlaGF2aW9yLmJlaGF2aW9ycyA9IGNoYWluZWQ7XG4gICAgICB9XG4gICAgfSxcblxuICAgIF9pbml0QmVoYXZpb3I6IGZ1bmN0aW9uKG5vZGUsIGdldE5hbWUpIHtcbiAgICAgIHZhciBjb21tZW50ID0gZXN1dGlsLmdldEF0dGFjaGVkQ29tbWVudChub2RlKTtcbiAgICAgIC8vIFF1aWNrbHkgZmlsdGVyIGRvd24gdG8gcG90ZW50aWFsIGNhbmRpZGF0ZXMuXG4gICAgICBpZiAoIWNvbW1lbnQgfHwgY29tbWVudC5pbmRleE9mKCdAcG9seW1lckJlaGF2aW9yJykgPT09IC0xKSByZXR1cm47XG5cblxuICAgICAgY3VycmVudEJlaGF2aW9yID0ge1xuICAgICAgICB0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cHJvcHMgPSBhbmFseXplUHJvcGVydGllcyhub2RlKTtcblxuICAgICAgZm9yICh2YXIgaT0wOyBpPHByb3BzLmxlbmd0aDsgaSsrKSB7XG4gICAgICAgIGVsZW1lbnQucHJvcGVydGllcy5wdXNoKHByb3BzW2ldKTtcbiAgICAgIH1cbiAgICB9LFxuICAgIGJlaGF2aW9yczogZnVuY3Rpb24obm9kZSkge1xuICAgICAgaWYgKG5vZGUudHlwZSAhPSAnQXJyYXlFeHByZXNzaW9uJykge1xuICAgICAgICByZXR1cm47XG4gICAgICB9XG4gICAgICBlbGVtZW50LmJlaGF2aW9ycyA9IFtdO1xuXG4gICAgICBmb3IgKHZhciBpPTA7IGk8bm9kZS5lbGVtZW50cy5sZW5ndGg7IGkrKykge1xuICAgICAgICB2YXIgdiA9IGFzdFZhbHVlLmV4cHJlc3Npb25Ub1ZhbHVlKG5vZGUuZWxlbWVudHNbaV0pO1xuICAgICAgICBpZiAodiA9PT0gdW5kZWZpbmVkKVxuICAgICAgICAgIHYgPSBhc3RWYWx1ZS5DQU5UX0NPTlZFUlQ7XG4gICAgICAgIGVsZW1lbnQuYmVoYXZpb3JzLnB1c2godik7XG4gICAgICB9XG4gICAgfVxuICB9O1xuXG4gIHZhciB2aXNpdG9ycyA9IHtcbiAgICBlbnRlckNhbGxFeHByZXNzaW9uOiBmdW5jdGlvbiBlbnRlckNhbGxFeHByZXNzaW9uKG5vZGUsIHBhcmVudCkge1xuICAgICAgdmFyIGNhbGxlZSA9IG5vZGUuY2FsbGVlO1xuICAgICAgaWYgKGNhbGxlZS50eXBlID09ICdJZGVudGlmaWVyJykge1xuXG4gICAgICAgIGlmIChjYWxsZWUubmFtZSA9PSAnUG9seW1lcicpIHtcbiAgICAgICAgICBlbGVtZW50ID0ge1xuICAgICAgICAgICAgdHlwZTogJ2VsZW1lbnQnLFxuICAgICAgICAgICAgZGVzYzogZXN1dGlsLmdldEF0dGFjaGVkQ29tbWVudChwYXJlbnQpLFxuICAgICAgICAgICAgZXZlbnRzOiBlc3V0aWwuZ2V0RXZlbnRDb21tZW50cyhwYXJlbnQpLm1hcCggZnVuY3Rpb24oZXZlbnQpIHtcbiAgICAgICAgICAgICAgcmV0dXJuIHtkZXNjOiBldmVudH07XG4gICAgICAgICAgICB9KVxuICAgICAgICAgIH07XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9LFxuICAgIGxlYXZlQ2FsbEV4cHJlc3Npb246IGZ1bmN0aW9uIGxlYXZlQ2FsbEV4cHJlc3Npb24obm9kZSwgcGFyZW50KSB7XG4gICAgICB2YXIgY2FsbGVlID0gbm9kZS5jYWxsZWU7XG4gICAgICBpZiAoY2FsbGVlLnR5cGUgPT0gJ0lkZW50aWZpZXInKSB7XG4gICAgICAgIGlmIChjYWxsZWUubmFtZSA9PSAnUG9seW1lcicpIHtcbiAgICAgICAgICBpZiAoZWxlbWVudCkge1xuICAgICAgICAgICAgZWxlbWVudHMucHVzaChlbGVtZW50KTtcbiAgICAgICAgICAgIGVsZW1lbnQgPSB1bmRlZmluZWQ7XG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICB9XG4gICAgfSxcbiAgICBlbnRlck9iamVjdEV4cHJlc3Npb246IGZ1bmN0aW9uIGVudGVyT2JqZWN0RXhwcmVzc2lvbihub2RlLCBwYXJlbnQpIHtcbiAgICAgIGlmIChlbGVtZW50ICYmICFlbGVtZW50LnByb3BlcnRpZXMpIHtcbiAgICAgICAgZWxlbWVudC5wcm9wZXJ0aWVzID0gW107XG4gICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgbm9kZS5wcm9wZXJ0aWVzLmxlbmd0aDsgaSsrKSB7XG4gICAgICAgICAgdmFyIHByb3AgPSBub2RlLnByb3BlcnRpZXNbaV07XG4gICAgICAgICAgdmFyIG5hbWUgPSBlc3V0aWwub2JqZWN0S2V5VG9TdHJpbmcocHJvcC5rZXkpO1xuICAgICAgICAgIGlmICghbmFtZSkge1xuICAgICAgICAgICAgdGhyb3cge1xuICAg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LyB3ZSBuZWVkIHRoaXMgdG8gbWFrZSBzdXJlIHNpemUgb2YgaG9zdG5hbWUgaXMgbm90XG4gICAgICAgICAgICAgIC8vIGJyb2tlbiBieSByZXBsYWNpbmcgbm9uLUFTQ0lJIGJ5IG5vdGhpbmdcbiAgICAgICAgICAgICAgbmV3cGFydCArPSAneCc7XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICBuZXdwYXJ0ICs9IHBhcnRbal07XG4gICAgICAgICAgICB9XG4gICAgICAgICAgfVxuICAgICAgICAgIC8vIHdlIHRlc3QgYWdhaW4gd2l0aCBBU0NJSSBjaGFyIG9ubHlcbiAgICAgICAgICBpZiAoIW5ld3BhcnQubWF0Y2goaG9zdG5hbWVQYXJ0UGF0dGVybikpIHtcbiAgICAgICAgICAgIHZhciB2YWxpZFBhcnRzID0gaG9zdHBhcnRzLnNsaWNlKDAsIGkpO1xuICAgICAgICAgICAgdmFyIG5vdEhvc3QgPSBob3N0cGFydHMuc2xpY2UoaSArIDEpO1xuICAgICAgICAgICAgdmFyIGJpdCA9IHBhcnQubWF0Y2goaG9zdG5hbWVQYXJ0U3RhcnQpO1xuICAgICAgICAgICAgaWYgKGJpdCkge1xuICAgICAgICAgICAgICB2YWxpZFBhcnRzLnB1c2goYml0WzFdKTtcbiAgICAgICAgICAgICAgbm90SG9zdC51bnNoaWZ0KGJpdFsyXSk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBpZiAobm90SG9zdC5sZW5ndGgpIHtcbiAgICAgICAgICAgICAgcmVzdCA9ICcvJyArIG5vdEhvc3Quam9pbignLicpICsgcmVzdDtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHRoaXMuaG9zdG5hbWUgPSB2YWxpZFBhcnRzLmpvaW4oJy4nKTtcbiAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cblxuICAgIGlmICh0aGlzLmhvc3RuYW1lLmxlbm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ICAganNkb2MsXG4gICAgICAgIGVzdXRpbHMsXG4gICAgICAgIGhhc093blByb3BlcnR5O1xuXG4gICAgZXN1dGlscyA9IHJlcXVpcmUoJ2VzdXRpbHMnKTtcbiAgICBpc0FycmF5ID0gcmVxdWlyZSgnaXNhcnJheScpO1xuICAgIHR5cGVkID0gcmVxdWlyZSgnLi90eXBlZCcpO1xuICAgIHV0aWxpdHkgPSByZXF1aXJlKCcuL3V0aWxpdHknKTtcblxuICAgIGZ1bmN0aW9uIHNsaWNlU291cmNlKHNvdXJjZSwgaW5kZXgsIGxhc3QpIHtcbiAgICAgICAgcmV0dXJuIHNvdXJjZS5zbGljZShpbmRleCwgbGFzdCk7XG4gICAgfVxuXG4gICAgaGFzT3duUHJvcGVydHkgPSAoZnVuY3Rpb24gKCkge1xuICAgICAgICB2YXIgZnVuYyA9IE9iamVjdC5wcm90b3R5cGUuaGFzT3duUHJvcGVydHk7XG4gICAgICAgIHJldHVybiBmdW5jdGlvbiBoYXNPd25Qcm9wZXJ0eShvYmosIG5hbWUpIHtcbiAgICAgICAgICAgIHJldHVybiBmdW5jLmNhbGwob2JqLCBuYW1lKTtcbiAgICAgICAgfTtcbiAgICB9KCkpO1xuXG4gICAgZnVuY3Rpb24gc2hhbGxvd0NvcHkob2JqKSB7XG4gICAgICAgIHZhciByZXQgPSB7fSwga2V5O1xuICAgICAgICBmb3IgKGtleSBpbiBvYmopIHtcbiAgICAgICAgICAgIGlmIChvYmouaGFzT3duUHJvcGVydHkoa2V5KSkge1xuICAgICAgICAgICAgICAgIHJldFtrZXldID0gb2JqW2tleV07XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIHJldDtcbiAgICB9XG5cbiAgICBmdW5jdGlvbiBpc0FTQ0lJQWxwaGFudW1lcmljKGNoKSB7XG4gICAgICAgIHJldHVybiAoY2ggPj0gMHg2MSAgLyogJ2EnICovICYmIGNoIDw9IDB4N0EgIC8qICd6JyAqLykgfHxcbiAgICAg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lID09PSAnZXh0ZW5kcycgfHwgdGl0bGUgPT09ICdhdWdtZW50cycgfHxcbiAgICAgICAgICAgIHRpdGxlID09PSAncHVibGljJyB8fCB0aXRsZSA9PT0gJ3ByaXZhdGUnIHx8IHRpdGxlID09PSAncHJvdGVjdGVkJztcbiAgICB9XG5cbiAgICBmdW5jdGlvbiB0cmltKHN0cikge1xuICAgICAgICByZXR1cm4gc3RyLnJlcGxhY2UoL15cXHMrLywgJycpLnJlcGxhY2UoL1xccyskLywgJycpO1xuICAgIH1cblxuICAgIGZ1bmN0aW9uIHVud3JhcENvbW1lbnQoZG9jKSB7XG4gICAgICAgIC8vIEpTRG9jIGNvbW1lbnQgaXMgZm9sbG93aW5nIGZvcm1cbiAgICAgICAgLy8gICAvKipcbiAgICAgICAgLy8gICAgKiAuLi4uLi4uXG4gICAgICAgIC8vICAgICovXG4gICAgICAgIC8vIHJlbW92ZSAvKiosICovIGFuZCAqXG4gICAgICAgIHZhciBCRUZPUkVfU1RBUiA9IDAsXG4gICAgICAgICAgICBTVEFSID0gMSxcbiAgICAgICAgICAgIEFGVEVSX1NUQVIgPSAyLFxuICAgICAgICAgICAgaW5kZXgsXG4gICAgICAgICAgICBsZW4sXG4gICAgICAgICAgICBtb2RlLFxuICAgICAgICAgICAgcmVzdWx0LFxuICAgICAgICAgICAgY2g7XG5cbiAgICAgICAgZG9jID0gZG9jLnJlcGxhY2UoL15cXC9cXCpcXCo/LywgJycpLnJlcGxhY2UoL1xcKlxcLyQvLCAnJyk7XG4gICAgICAgIGluZGV4ID0gMDtcbiAgICAgICAgbGVuID0gZG9jLmxlbmd0aDtcbiAgICAgICAgbW9kZSA9IEJFRk9SRV9TVEFSO1xuICAgICAgICByZXN1bHQgPSAnJztcblxuICAgICAgICB3aGlsZSAoaW5kZXggPCBsZW4pIHtcbiAgICAgICAgICAgIGNoID0gZG9jLmNoYXJDb2RlQXQoaW5kZXgpO1xuICAgICAgICAgICAgc3dpdGNoIChtb2RlKSB7XG4gICAgICAgICAgICBjYXNlIEJFRk9SRV9TVEFSOlxuICAgICAgICAgICAgICAgIGlmIChlc3V0aWxzLmNvZGUuaXNMaW5lVGVybWluYXRvcihjaCkpIHtcbiAgICAgICAgICAgICAgICAgICAgcmVzdWx0ICs9IFN0cmluZy5mcm9tQ2hhckNvZGUoY2gpO1xuICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoY2ggPT09IDB4MkEgIC8qICcqJyAqLykge1xuICAgICAgICAgICAgICAgICAgICBtb2RlID0gU1RBUjtcbiAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKCFlc3V0aWxzLmNvZGUuaXNXaGl0ZVNwYWNlKGNoKSkge1xuICAgICAgICAgICAgICAgICAgICByZXN1bHQgKz0gU3RyaW5nLmZyb21DaGFyQ29kZShjaCk7XG4gICAgICAgICAgICAgICAgICAgIG1vZGUgPSBBRlRFUl9TVEFSO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICBicmVhaztcblxuICAgICAgICAgICAgY2FzZSBTVEFSOlxuICAgICAgICAgICAgICAgIGlmICghZXN1dGlscy5jb2RlLmlzV2hpdGVTcGFjZShjaCkpIHtcbiAgICAgICAgICAgICAgICAgICAgcmVzdWx0ICs9IFN0cmluZy5mcm9tQ2hhckNvZGUoY2gpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICBtb2RlID0gZXN1dGlscy5jb2RlLmlzTGluZVRlcm1pbmF0b3IoY2gpID8gQkVGT1JFX1NUQVIgOiBBRlRFUl9TVEFSO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgICAgICBjYXNlIEFGVEVSX1NUQVI6XG4gICAgICAgICAgICAgICAgcmVzdWx0ICs9IFN0cmluZy5mcm9tQ2hhckNvZGUoY2gpO1xuICAgICAgICAgICAgICAgIGlmIChlc3V0aWxzLmNvZGUuaXNMaW5lVGVybWluYXRvcihjaCkpIHtcbiAgICAgICAgICAgICAgICAgICAgbW9kZSA9IEJFRk9SRV9TVEFSO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGluZGV4ICs9IDE7XG4gICAgICAgIH1cblxuICAgICAgICByZXR1cm4gcmVzdWx0O1xuICAgIH1cblxuICAgIC8vIEpTRG9jIFRhZyBQYXJzZXJcblxuICAgIChmdW5jdGlvbiAoZXhwb3J0cykge1xuICAgICAgICB2YXIgUnVsZXMsXG4gICAgICAgICAgICBpbmRleCxcbiAgICAgICAgICAgIGxpbmVOdW1iZXIsXG4gICAgICAgICAgICBsZW5ndGgsXG4gICAgICAgICAgICBzb3VyY2UsXG4gICAgICAgICAgICByZWNvdmVyYWJsZSxcbiAgICAgICAgICAgIHNsb3BweSxcbiAgICAgICAgICAgIHN0cmljdDtcblxuICAgICAgICBmdW5jdGlvbiBhZHZhbmNlKCkge1xuICAgICAgICAgICAgdmFyIGNoID0gc291cmNlLmNoYXJDb2RlQXQoaW5kZXgpO1xuICAgICAgICAgICAgaW5kZXggKz0gMTtcbiAgICAgICAgICAgIGlmIChlc3V0aWxzLmNvZGUuaXNMaW5lVGVybWluYXRvcihjaCkgJiYgIShjaCA9PT0gMHgwRCAgLyogJ1xccicgKi8gJiYgc291cmNlLmNoYXJDb2RlQXQoaW5kZXgpID09PSAweDBBICAvKiAnXFxuJyAqLykpIHtcbiAgICAgICAgICAgICAgICBsaW5lTnVtYmVyICs9IDE7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICByZXR1cm4gU3RyaW5nLmZyb21DaGFyQ29kZShjaCk7XG4gICAgICAgIH1cblxuICAgICAgICBmdW5jdGlvbiBzY2FuVGl0bGUoKSB7XG4gICAgICAgICAgICB2YXIgdGl0bGUgPSAnJztcbiAgICAgICAgICAgIC8vIHdhc3RlICdAJ1xuICAgICAgICAgICAgYWR2YW5jZSgpO1xuXG4gICAgICAgICAgICB3aGlsZSAoaW5kZXggPCBsZW5ndGggJiYgaXNBU0NJSUFscGhhbnVtZXJpYyhzb3VyY2UuY2hhckNvZGVBdChpbmRleCkpKSB7XG4gICAgICAgICAgICAgICAgdGl0bGUgKz0gYWR2YW5jZSgpO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICByZXR1cm4gdGl0bGU7XG4gICAgICAgIH1cblxuICAgICAgICBmdW5jdGlvbiBzZWVrQ29udGVudCgpIHtcbiAgICAgICAgICAgIHZhciBjaCwgd2FpdGluZywgbGFzdCA9IGluZGV4O1xuXG4gICAgICAgICAgICB3YWl0aW5nID0gZmFsc2U7XG4gICAgICAgICAgICB3aGlsZSAobGFzdCA8IGxlbmd0aCkge1xuICAgICAgICAgICAgICAgIGNoID0gc291cmNlLmNoYXJDb2RlQXQobGFzdCk7XG4gICAgICAgICAgICAgICAgaWYgKGVzdXRpbHMuY29kZS5pc0xpbmVUZXJtaW5hdG9yKGNoKSAmJiAhKGNoID09PSAweDBEICAvKiAnXFxyJyAqLyAmJiBzb3VyY2UuY2hhckNvZGVBdChsYXN0ICsgMSkgPT09IDB4MEEgIC8qICdcXG4nICovKSkge1xuICAgICAgICAgICAgICAgICAgICBsaW5lTnVtYmVyICs9IDE7XG4gICAgICAgICAgICAgICAgICAgIHdhaXRpbmcgPSB0cnVlO1xuICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAod2FpdGluZykge1xuICAgICAgICAgICAgICAgICAgICBpZiAoY2ggPT09IDB4NDAgIC8qICdAJyAqLykge1xuICAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgaWYgKCFlc3V0aWxzLmNvZGUuaXNXaGl0ZVNwYWNlKGNoKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgd2FpdGluZyA9IGZhbHNlO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIGxhc3QgKz0gMTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHJldHVybiBsYXN0O1xuICAgICAgICB9XG5cbiAgICAgICAgLy8gdHlwZSBleHByZXNzaW9uIG1heSBoYXZlIG5lc3QgYnJhY2UsIHN1Y2ggYXMsXG4gICAgICAgIC8vIHsgeyBvazogc3RyaW5nIH0gfVxuICAgICAgICAvL1xuICAgICAgICAvLyB0aGVyZWZvcmUsIHNjYW5uaW5nIHR5cGUgZXhwcmVzc2lvbiB3aXRoIGJhbGFuY2luZyBicmFjZXMuXG4gICAgICAgIGZ1bmN0aW9uIHBhcnNlVHlwZSh0aXRsZSwgbGFzdCkge1xuICAgICAgICAgICAgdmFyIGNoLCBicmFjZSwgdHlwZSwgZGlyZWN0ID0gZmFsc2U7XG5cblxuICAgICAgICAgICAgLy8gc2VhcmNoICd7J1xuICAgICAgICAgICAgd2hpbGUgKGluZGV4IDwgbGFzdCkge1xuICAgICAgICAgICAgICAgIGNoID0gc291cmNlLmNoYXJDb2RlQXQoaW5kZXgpO1xuICAgICAgICAgICAgICAgIGlmIChlc3V0aWxzLmNvZGUuaXNXaGl0ZVNwYWNlKGNoKSkge1xuICAgICAgICAgICAgICAgICAgICBhZHZhbmNlKCk7XG4gICAgICAgICAgICAgICAgfSBlbHNlIGlmIChjaCA9PT0gMHg3QiAgLyogJ3snICovKSB7XG4gICAgICAgICAgICAgICAgICAgIGFkdmFuY2UoKTtcbiAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgLy8gdGhpcyBpcyBkaXJlY3QgcGF0dGVyblxuICAgICAgICAgICAgICAgICAgICBkaXJlY3QgPSB0cnVlO1xuICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG5cblxuICAgICAgICAgICAgaWYgKGRpcmVjdCkge1xuICAgICAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAvLyB0eXBlIGV4cHJlc3Npb24geyBpcyBmb3VuZFxuICAgICAgICAgICAgYnJhY2UgPSAxO1xuICAgICAgICAgICAgdHlwZSA9ICcnO1xuICAgICAgICAgICAgd2hpbGUgKGluZGV4IDwgbGFzdCkge1xuICAgICAgICAgICAgICAgIGNoID0gc291cmNlLmNoYXJDb2RlQXQoaW5kZXgpO1xuICAgICAgICAgICAgICAgIGlmIChlc3V0aWxzLmNvZGUuaXNMaW5lVGVybWluYXRvcihjaCkpIHtcbiAgICAgICAgICAgICAgICAgICAgYWR2YW5jZSgpO1xuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIGlmIChjaCA9PT0gMHg3RCAgLyogJ30nICovKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBicmFjZSAtPSAxO1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGJyYWNlID09PSAwKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgYWR2YW5jZSgpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKGNoID09PSAweDdCICAvKiAneycgKi8pIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGJyYWNlICs9IDE7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgdHlwZSArPSBhZHZhbmNlKCk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICBpZiAoYnJhY2UgIT09IDApIHtcbiAgICAgICAgICAgICAgICAvLyBicmFjZXMgaXMgbm90IGJhbGFuY2VkXG4gICAgICAgICAgICAgICAgcmV0dXJuIHV0aWxpdHkudGhyb3dFcnJvcignQnJhY2VzIGFyZSBub3QgYmFsYW5jZWQnKTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgaWYgKGlzUGFyYW1UaXRsZSh0aXRsZSkpIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gdHlwZWQucGFyc2VQYXJhbVR5cGUodHlwZSk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICByZXR1cm4gdHlwZWQucGFyc2VUeXBlKHR5cGUpO1xuICAgICAgICB9XG5cbiAgICAgICAgZnVuY3Rpb24gc2NhbklkZW50aWZpZXIobGFzdCkge1xuICAgICAgICAgICAgdmFyIGlkZW50aWZpZXI7XG4gICAgICAgICAgICBpZiAoIWVzdXRpbHMuY29kZS5pc0lkZW50aWZpZXJTdGFydChzb3VyY2UuY2hhckNvZGVBdChpbmRleCkpKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBpZGVudGlmaWVyID0gYWR2YW5jZSgpO1xuICAgICAgICAgICAgd2hpbGUgKGluZGV4IDwgbGFzdCAmJiBlc3V0aWxzLmNvZGUuaXNJZGVudGlmaWVyUGFydChzb3VyY2UuY2hhckNvZGVBdChpbmRleCkpKSB7XG4gICAgICAgICAgICAgICAgaWRlbnRpZmllciArPSBhZHZhbmNlKCk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICByZXR1cm4gaWRlbnRpZmllcjtcbiAgICAgICAgfVxuXG4gICAgICAgIGZ1bmN0aW9uIHNraXBXaGl0ZVNwYWNlKGxhc3QpIHtcbiAgICAgICAgICAgIHdoaWxlIChpbmRleCA8IGxhc3QgJiYgKGVzdXRpbHMuY29kZS5pc1doaXRlU3BhY2Uoc291cmNlLmNoYXJDb2RlQXQoaW5kZXgpKSB8fCBlc3V0aWxzLmNvZGUuaXNMaW5lVGVybWluYXRvcihzb3VyY2UuY2hhckNvZGVBdChpbmRleCkpKSkge1xuICAgICAgICAgICAgICAgIGFkdmFuY2UoKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIGZ1bmN0aW9uIHBhcnNlTmFtZShsYXN0LCBhbGxvd0JyYWNrZXRzLCBhbGxvd05lc3RlZFBhcmFtcykge1xuICAgICAgICAgICAgdmFyIG5hbWUgPSAnJywgdXNlQnJhY2tldHM7XG5cbiAgICAgICAgICAgIHNraXBXaGl0ZVNwYWNlKGxhc3QpO1xuXG4gICAgICAgICAgICBpZiAoaW5kZXggPj0gbGFzdCkge1xuICAgICAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICBpZiAoYWxsb3dCcmFja2V0cyAmJiBzb3VyY2UuY2hhckNvZGVBdChpbmRleCkgPT09IDB4NUIgIC8qICdbJyAqLykge1xuICAgICAgICAgICAgICAgIHVzZUJyYWNrZXRzID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICBuYW1lID0gYWR2YW5jZSgpO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICBpZiAoIWVzdXRpbHMuY29kZS5pc0lkZW50aWZpZXJTdGFydChzb3VyY2UuY2hhckNvZGVBdChpbmRleCkpKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIG5hbWUgKz0gc2NhbklkZW50aWZpZXIobGFzdCk7XG5cbiAgICAgICAgICAgIGlmIChhbGxvd05lc3RlZFBhcmFtcykge1xuICAgICAgICAgICAgICAgIGlmIChzb3VyY2UuY2hhckNvZGVBdChpbmRleCkgPT09IDB4M0EgLyogJzonICovICYmIChcbiAgICAgICAgICAgICAgICAgICAgICAgIG5hbWUgPT09ICdtb2R1bGUnIHx8XG4gICAgICAgICAgICAgICAgICAgICAgICBuYW1lID09PSAnZXh0ZXJuYWwnIHx8XG4gICAgICAgICAgICAgICAgICAgICAgICBuYW1lID09PSAnZXZlbnQnKSkge1xuICAgICAgICAgICAgICAgICAgICBuYW1lICs9IGFkdmFuY2UoKTtcbiAgICAgICAgICAgICAgICAgICAgbmFtZSArPSBzY2FuSWRlbnRpZmllcihsYXN0KTtcblxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB3aGlsZSAoc291cmNlLmNoYXJDb2RlQXQoaW5kZXgpID09PSAweDJFICAvKiAnLicgKi8gfHxcbiAgICAgICAgICAgICAgICAgICAgICAgIHNvdXJjZS5jaGFyQ29kZUF0KGluZGV4KSA9PT0gMHgyMyAgLyogJyMnICovIHx8XG4gICAgICAgICAgICAgICAgICAgICAgICBzb3VyY2UuY2hhckNvZGVBdChpbmRleCkgPT09IDB4N0UgIC8qICd+JyAqLykge1xuICAgICAgICAgICAgICAgICAgICBuYW1lICs9IGFkdmFuY2UoKTtcbiAgICAgICAgICAgICAgICAgICAgbmFtZSArPSBzY2FuSWRlbnRpZmllcihsYXN0KTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIGlmICh1c2VCcmFja2V0cykge1xuICAgICAgICAgICAgICAgIC8vIGRvIHdlIGhhdmUgYSBkZWZhdWx0IHZhbHVlIGZvciB0aGlzP1xuICAgICAgICAgICAgICAgIGlmIChzb3VyY2UuY2hhckNvZGVBdChpbmRleCkgPT09IDB4M0QgIC8qICc9JyAqLykge1xuXG4gICAgICAgICAgICAgICAgICAgIC8vIGNvbnN1bWUgdGhlICc9Jycgc3ltYm9sXG4gICAgICAgICAgICAgICAgICAgIG5hbWUgKz0gYWR2YW5jZSgpO1xuICAgICAgICAgICAgICAgICAgICAvLyBzY2FuIGluIHRoZSBkZWZhdWx0IHZhbHVlXG4gICAgICAgICAgICAgICAgICAgIHdoaWxlIChpbmRleCA8IGxhc3QgJiYgc291cmNlLmNoYXJDb2RlQXQoaW5kZXgpICE9PSAweDVEICAvKiAnXScgKi8pIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIG5hbWUgKz0gYWR2YW5jZSgpO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgaWYgKGluZGV4ID49IGxhc3QgIHx8IHNvdXJjZS5jaGFyQ29kZUF0KGluZGV4KSAhPT0gMHg1RCAgLyogJ10nICovKSB7XG4gICAgICAgICAgICAgICAgICAgIC8vIHdlIG5ldmVyIGZvdW5kIGEgY2xvc2luZyAnXSdcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgLy8gY29sbGVjdCB0aGUgbGFzdCAnXSdcbiAgICAgICAgICAgICAgICBuYW1lICs9IGFkdmFuY2UoKTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgcmV0dXJuIG5hbWU7XG4gICAgICAgIH1cblxuICAgICAgICBmdW5jdGlvbiBza2lwVG9UYWcoKSB7XG4gICAgICAgICAgICB3aGlsZSAoaW5kZXggPCBsZW5ndGggJiYgc291cmNlLmNoYXJDb2RlQXQoaW5kZXgpICE9PSAweDQwICAvKiAnQCcgKi8pIHtcbiAgICAgICAgICAgICAgICBhZHZhbmNlKCk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBpZiAoaW5kZXggPj0gbGVuZ3RoKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgdXRpbGl0eS5hc3NlcnQoc291cmNlLmNoYXJDb2RlQXQoaW5kZXgpID09PSAweDQwICAvKiAnQCcgKi8pO1xuICAgICAgICAgICAgcmV0dXJuIHRydWU7XG4gICAgICAgIH1cblxuICAgICAgICBmdW5jdGlvbiBUYWdQYXJzZXIob3B0aW9ucywgdGl0bGUpIHtcbiAgICAgICAgICAgIHRoaXMuX29wdGlvbnMgPSBvcHRpb25zO1xuICAgICAgICAgICAgdGhpcy5fdGl0bGUgPSB0aXRsZTtcbiAgICAgICAgICAgIHRoaXMuX3RhZyA9IHtcbiAgICAgICAgICAgICAgICB0aXRsZTogdGl0bGUsXG4gICAgICAgICAgICAgICAgZGVzY3JpcHRpb246IG51bGxcbiAgICAgICAgICAgIH07XG4gICAgICAgICAgICBpZiAodGhpcy5fb3B0aW9ucy5saW5lTnVtYmVycykge1xuICAgICAgICAgICAgICAgIHRoaXMuX3RhZy5saW5lTnVtYmVyID0gbGluZU51bWJlcjtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHRoaXMuX2xhc3QgPSAwO1xuICAgICAgICAgICAgLy8gc3BhY2UgdG8gc2F2ZSBzcGVjaWFsIGluZm9ybWF0aW9uIGZvciB0aXRsZSBwYXJzZXJzLlxuICAgICAgICAgICAgdGhpcy5fZXh0cmEgPSB7IH07XG4gICAgICAgIH1cblxuICAgICAgICAvLyBhZGRFcnJvcihlcnIsIC4uLilcbiAgICAgICAgVGFnUGFyc2VyLnByb3RvdHlwZS5hZGRFcnJvciA9IGZ1bmN0aW9uIGFkZEVycm9yKGVycm9yVGV4dCkge1xuICAgICAgICAgICAgdmFyIGFyZ3MgPSBBcnJheS5wcm90b3R5cGUuc2xpY2UuY2FsbChhcmd1bWVudHMsIDEpLFxuICAgICAgICAgICAgICAgIG1zZyA9IGVycm9yVGV4dC5yZXBsYWNlKFxuICAgICAgICAgICAgICAgICAgICAvJShcXGQpL2csXG4gICAgICAgICAgICAgICAgICAgIGZ1bmN0aW9uICh3aG9sZSwgaW5kZXgpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHV0aWxpdHkuYXNzZXJ0KGluZGV4IDwgYXJncy5sZW5ndGgsICdNZXNzYWdlIHJlZmVyZW5jZSBtdXN0IGJlIGluIHJhbmdlJyk7XG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gYXJnc1tpbmRleF07XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICApO1xuXG4gICAgICAgICAgICBpZiAoIXRoaXMuX3RhZy5lcnJvcnMpIHtcbiAgICAgICAgICAgICAgICB0aGlzLl90YWcuZXJyb3JzID0gW107XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBpZiAoc3RyaWN0KSB7XG4gICAgICAgICAgICAgICAgdXRpbGl0eS50aHJvd0Vycm9yKG1zZyk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICB0aGlzLl90YWcuZXJyb3JzLnB1c2gobXNnKTtcbiAgICAgICAgICAgIHJldHVybiByZWNvdmVyYWJsZTtcbiAgICAgICAgfTtcblxuICAgICAgICBUYWdQYXJzZXIucHJvdG90eXBlLnBhcnNlVHlwZSA9IGZ1bmN0aW9uICgpIHtcbiAgICAgICAgICAgIC8vIHR5cGUgcmVxdWlyZWQgdGl0bGVzXG4gICAgICAgICAgICBpZiAoaXNUeXBlUGFyYW1ldGVyUmVxdWlyZWQodGhpcy5fdGl0bGUpKSB7XG4gICAgICAgICAgICAgICAgdHJ5IHtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5fdGFnLnR5cGUgPSBwYXJzZVR5cGUodGhpcy5fdGl0bGUsIHRoaXMuX2xhc3QpO1xuICAgICAgICAgICAgICAgICAgICBpZiAoIXRoaXMuX3RhZy50eXBlKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoIWlzUGFyYW1UaXRsZSh0aGlzLl90aXRsZSkpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoIXRoaXMuYWRkRXJyb3IoJ01pc3Npbmcgb3IgaW52YWxpZCB0YWcgdHlwZScpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9IGNhdGNoIChlcnJvcikge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLl90YWcudHlwZSA9IG51bGw7XG4gICAgICAgICAgICAgICAgICAgIGlmICghdGhpcy5hZGRFcnJvcihlcnJvci5tZXNzYWdlKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSBlbHNlIGlmIChpc0FsbG93ZWRUeXBlKHRoaXMuX3RpdGxlKSkge1xuICAgICAgICAgICAgICAgIC8vIG9wdGlvbmFsIHR5cGVzXG4gICAgICAgICAgICAgICAgdHJ5IHtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5fdGFnLnR5cGUgPSBwYXJzZVR5cGUodGhpcy5fdGl0bGUsIHRoaXMuX2xhc3QpO1xuICAgICAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHtcbiAgICAgICAgICAgICAgICAgICAgLy9Gb3Igb3B0aW9uYWwgdHlwZXMsIGxldHMgZHJvcCB0aGUgdGhyb3duIGVycm9yIHdoZW4gd2UgaGl0IHRoZSBlbmQgb2YgdGhlIGZpbGVcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICByZXR1cm4gdHJ1ZTtcbiAgICAgICAgfTtcblxuICAgICAgICBUYWdQYXJzZXIucHJvdG90eXBlLl9wYXJzZU5hbWVQYXRoID0gZnVuY3Rpb24gKG9wdGlvbmFsKSB7XG4gICAgICAgICAgICB2YXIgbmFtZTtcbiAgICAgICAgICAgIG5hbWUgPSBwYXJzZU5hbWUodGhpcy5fbGFzdCwgc2xvcHB5ICYmIGlzUGFyYW1UaXRsZSh0aGlzLl90aXRsZSksIHRydWUpO1xuICAgICAgICAgICAgaWYgKCFuYW1lKSB7XG4gICAgICAgICAgICAgICAgaWYgKCFvcHRpb25hbCkge1xuICAgICAgICAgICAgICAgICAgICBpZiAoIXRoaXMuYWRkRXJyb3IoJ01pc3Npbmcgb3IgaW52YWxpZCB0YWcgbmFtZScpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICB0aGlzLl90YWcubmFtZSA9IG5hbWU7XG4gICAgICAgICAgICByZX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dHlwZVxuICAgICAgICAgICAgICAgICAgICAvLyBpdCdzIGFsc28gcG9zc2libGUgdGhpcyBpcyBhIHNsb3BweSBkZWNsYXJhdGlvbiwgaW4gd2hpY2ggY2FzZSBpdCB3aWxsIGJlXG4gICAgICAgICAgICAgICAgICAgIC8vIGZpeGVkIGF0IHRoZSBlbmRcbiAgICAgICAgICAgICAgICAgICAgaWYgKGlzUGFyYW1UaXRsZSh0aGlzLl90aXRsZSkgJiYgdGhpcy5fdGFnLnR5cGUgJiYgdGhpcy5fdGFnLnR5cGUubmFtZSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5fZXh0cmEubmFtZSA9IHRoaXMuX3RhZy50eXBlO1xuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5fdGFnLm5hbWUgPSB0aGlzLl90YWcudHlwZS5uYW1lO1xuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5fdGFnLnR5cGUgPSBudWxsO1xuICAgICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKCF0aGlzLmFkZEVycm9yKCdNaXNzaW5nIG9yIGludmFsaWQgdGFnIG5hbWUnKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIG5hbWUgPSB0aGlzLl90YWcubmFtZTtcbiAgICAgICAgICAgICAgICAgICAgaWYgKG5hbWUuY2hhckF0KDApID09PSAnWycgJiYgbmFtZS5jaGFyQXQobmFtZS5sZW5ndGggLSAxKSA9PT0gJ10nKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAvLyBleHRyYWN0IHRoZSBkZWZhdWx0IHZhbHVlIGlmIHRoZXJlIGlzIG9uZVxuICAgICAgICAgICAgICAgICAgICAgICAgLy8gZXhhbXBsZTogQHBhcmFtIHtzdHJpbmd9IFtzb21lYm9keT1Kb2huIERvZV0gZGVzY3JpcHRpb25cbiAgICAgICAgICAgICAgICAgICAgICAgIGFzc2lnbiA9IG5hbWUuc3Vic3RyaW5nKDEsIG5hbWUubGVuZ3RoIC0gMSkuc3BsaXQoJz0nKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChhc3NpZ25bMV0pIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLl90YWdbJ2RlZmF1bHQnXSA9IGFzc2lnblsxXTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuX3RhZy5uYW1lID0gYXNzaWduWzBdO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAvLyBjb252ZXJ0IHRvIGFuIG9wdGlvbmFsIHR5cGVcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmICh0aGlzLl90YWcudHlwZSAmJiB0aGlzLl90YWcudHlwZS50eXBlICE9PSAnT3B0aW9uYWxUeXBlJykge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuX3RhZy50eXBlID0ge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0eXBlOiAnT3B0aW9uYWxUeXBlJyxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZXhwcmVzc2lvbjogdGhpcy5fdGFnLnR5cGVcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9O1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICByZXR1cm4gdHJ1ZTtcbiAgICAgICAgfTtcblxuICAgICAgICBUYWdQYXJzZXIucHJvdG90eXBlLnBhcnNlRGVzY3JpcHRpb24gPSBmdW5jdGlvbiBwYXJzZURlc2NyaXB0aW9uKCkge1xuICAgICAgICAgICAgdmFyIGRlc2NyaXB0aW9uID0gdHJpbShzbGljZVNvdXJjZShzb3VyY2UsIGluZGV4LCB0aGlzLl9sYXN0KSk7XG4gICAgICAgICAgICBpZiAoZGVzY3JpcHRpb24pIHtcbiAgICAgICAgICAgICAgICBpZiAoKC9eLVxccysvKS50ZXN0KGRlc2NyaXB0aW9uKSkge1xuICAgICAgICAgICAgICAgICAgICBkZXNjcmlwdGlvbiA9IGRlc2NyaXB0aW9uLnN1YnN0cmluZygyKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgdGhpcy5fdGFnLmRlc2NyaXB0aW9uID0gZGVzY3JpcHRpb247XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICByZXR1cm4gdHJ1ZTtcbiAgICAgICAgfTtcblxuICAgICAgICBUYWdQYXJzZXIucHJvdG90eXBlLnBhcnNlS2luZCA9IGZ1bmN0aW9uIHBhcnNlS2luZCgpIHtcbiAgICAgICAgICAgIHZhciBraW5kLCBraW5kcztcbiAgICAgICAgICAgIGtpbmRzID0ge1xuICAgICAgICAgICAgICAgICdjbGFzcyc6IHRydWUsXG4gICAgICAgICAgICAgICAgJ2NvbnN0YW50JzogdHJ1ZSxcbiAgICAgICAgICAgICAgICAnZXZlbnQnOiB0cnVlLFxuICAgICAgICAgICAgICAgICdleHRlcm5hbCc6IHRydWUsXG4gICAgICAgICAgICAgICAgJ2ZpbGUnOiB0cnVlLFxuICAgICAgICAgICAgICAgICdmdW5jdGlvbic6IHRydWUsXG4gICAgICAgICAgICAgICAgJ21lbWJlcic6IHRydWUsXG4gICAgICAgICAgICAgICAgJ21peGluJzogdHJ1ZSxcbiAgICAgICAgICAgICAgICAnbW9kdWxlJzogdHJ1ZSxcbiAgICAgICAgICAgICAgICAnbmFtZXNwYWNlJzogdHJ1ZSxcbiAgICAgICAgICAgICAgICAndHlwZWRlZic6IHRydWVcbiAgICAgICAgICAgIH07XG4gICAgICAgICAgICBraW5kID0gdHJpbShzbGljZVNvdXJjZShzb3VyY2UsIGluZGV4LCB0aGlzLl9sYXN0KSk7XG4gICAgICAgICAgICB0aGlzLl90YWcua2luZCA9IGtpbmQ7XG4gICAgICAgICAgICBpZiAoIWhhc093blByb3BlcnR5KGtpbmRzLCBraW5kKSkge1xuICAgICAgICAgICAgICAgIGlmICghdGhpcy5hZGRFcnJvcignSW52YWxpZCBraW5kIG5hbWUgXFwnJTBcXCcnLCBraW5kKSkge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICAgICAgcmV0dXJuIHRydWU7XG4gICAgICAgIH07XG5cbiAgICAgICAgVGFnUGFyc2VyLnByb3RvdHlwZS5wYXJzZUFjY2VzcyA9IGZ1bmN0aW9uIHBhcnNlQWNjZXNzKCkge1xuICAgICAgICAgICAgdmFyIGFjY2VzcztcbiAgICAgICAgICAgIGFjY2VzcyA9IHRyaW0oc2xpY2VTb3VyY2Uoc291cmNlLCBpbmRleCwgdGhpcy5fbGFzdCkpO1xuICAgICAgICAgICAgdGhpcy5fdGFnLmFjY2VzcyA9IGFjY2VzcztcbiAgICAgICAgICAgIGlmIChhY2Nlc3MgIT09ICdwcml2YXRlJyAmJiBhY2Nlc3MgIT09ICdwcm90ZWN0ZWQnICYmIGFjY2VzcyAhPT0gJ3B1YmxpYycpIHtcbiAgICAgICAgICAgICAgICBpZiAoIXRoaXMuYWRkRXJyb3IoJ0ludmFsaWQgYWNjZXNzIG5hbWUgXFwnJTBcXCcnLCBhY2Nlc3MpKSB7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICByZXR1cm4gdHJ1ZTtcbiAgICAgICAgfTtcblxuICAgICAgICBUYWdQYXJzZXIucHJvdG90eXBlLnBhcnNlVmFyaWF0aW9uID0gZnVuY3Rpb24gcGFyc2VWYXJpYXRpb24oKSB7XG4gICAgICAgICAgICB2YXIgdmFyaWF0aW9uLCB0ZXh0O1xuICAgICAgICAgICAgdGV4dCA9IHRyaW0oc2xpY2VTb3VyY2Uoc291cmNlLCBpbmRleCwgdGhpcy5fbGFzdCkpO1xuICAgICAgICAgICAgdmFyaWF0aW9uID0gcGFyc2VGbG9hdCh0ZXh0LCAxMCk7XG4gICAgICAgICAgICB0aGlzLl90YWcudmFyaWF0aW9uID0gdmFyaWF0aW9uO1xuICAgICAgICAgICAgaWYgKGlzTmFOKHZhcmlhdGlvbikpIHtcbiAgICAgICAgICAgICAgICBpZiAoIXRoaXMuYWRkRXJyb3IoJ0ludmFsaWQgdmFyaWF0aW9uIFxcJyUwXFwnJywgdGV4dCkpIHtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHJldHVybiB0cnVlO1xuICAgICAgICB9O1xuXG4gICAgICAgIFRhZ1BhcnNlci5wcm90b3R5cGUuZW5zdXJlRW5kID0gZnVuY3Rpb24gKCkge1xuICAgICAgICAgICAgdmFyIHNob3VsZEJlRW1wdHkgPSB0cmltKHNsaWNlU291cmNlKHNvdXJjZSwgaW5kZXgsIHRoaXMuX2xhc3QpKTtcbiAgICAgICAgICAgIGlmIChzaG91bGRCZUVtcHR5KSB7XG4gICAgICAgICAgICAgICAgaWYgKCF0aGlzLmFkZEVycm9yKCdVbmtub3duIGNvbnRlbnQgXFwnJTBcXCcnLCBzaG91bGRCZUVtcHR5KSkge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICAgICAgcmV0dXJuIHRydWU7XG4gICAgICAgIH07XG5cbiAgICAgICAgVGFnUGFyc2VyLnByb3RvdHlwZS5lcGlsb2d1ZSA9IGZ1bmN0aW9uIGVwaWxvZ3VlKCkge1xuICAgICAgICAgICAgdmFyIGRlc2NyaXB0aW9uO1xuXG4gICAgICAgICAgICBkZXNjcmlwdGlvbiA9IHRoaXMuX3RhZy5kZXNjcmlwdGlvbjtcbiAgICAgICAgICAgIC8vIHVuLWZpeCBwb3RlbnRpYWxseSBzbG9wcHkgZGVjbGFyYXRpb25cbiAgICAgICAgICAgIGlmIChpc1BhcmFtVGl0bGUodGhpcy5fdGl0bGUpICYmICF0aGlzLl90YWcudHlwZSAmJiBkZXNjcmlwdGlvbiAmJiBkZXNjcmlwdGlvbi5jaGFyQXQoMCkgPT09ICdbJykge1xuICAgICAgICAgICAgICAgIHRoaXMuX3RhZy50eXBlID0gdGhpcy5fZXh0cmEubmFtZTtcbiAgICAgICAgICAgICAgICB0aGlzLl90YWcubmFtZSA9IHVuZGVmaW5lZDtcblxuICAgICAgICAgICAgICAgIGlmICghc2xvcHB5KSB7XG4gICAgICAgICAgICAgICAgICAgIGlmICghdGhpcy5hZGRFcnJvcignTWlzc2luZyBvciBpbnZhbGlkIHRhZyBuYW1lJykpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgcmV0dXJuIHRydWU7XG4gICAgICAgIH07XG5cbiAgICAgICAgUnVsZXMgPSB7XG4gICAgICAgICAgICAvLyBodHRwOi8vdXNlanNkb2Mub3JnL3RhZ3MtYWNjZXNzLmh0bWxcbiAgICAgICAgICAgICdhY2Nlc3MnOiBbJ3BhcnNlQWNjZXNzJ10sXG4gICAgICAgICAgICAvLyBodHRwOi8vdXNlanNkb2Mub3JnL3RhZ3MtYWxpYXMuaHRtbFxuICAgICAgICAgICAgJ2FsaWFzJzogWydwYXJzZU5hbWVQYXRoJywgJ2Vuc3VyZUVuZCddLFxuICAgICAgICAgICAgLy8gaHR0cDovL3VzZWpzZG9jLm9yZy90YWdzLWF1Z21lbnRzLmh0bWxcbiAgICAgICAgICAgICdh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gICAgICAgICAgIC8vIGh0dHA6Ly91c2Vqc2RvYy5vcmcvdGFncy12YXJpYXRpb24uaHRtbFxuICAgICAgICAgICAgJ3ZhcmlhdGlvbic6IFsncGFyc2VWYXJpYXRpb24nXSxcbiAgICAgICAgICAgIC8vIGh0dHA6Ly91c2Vqc2RvYy5vcmcvdGFncy12ZXJzaW9uLmh0bWxcbiAgICAgICAgICAgICd2ZXJzaW9uJzogWydwYXJzZURlc2NyaXB0aW9uJ11cbiAgICAgICAgfTtcblxuICAgICAgICBUYWdQYXJzZXIucHJvdG90eXBlLnBhcnNlID0gZnVuY3Rpb24gcGFyc2UoKSB7XG4gICAgICAgICAgICB2YXIgaSwgaXosIHNlcXVlbmNlcywgbWV0aG9kO1xuXG4gICAgICAgICAgICAvLyBlbXB0eSB0aXRsZVxuICAgICAgICAgICAgaWYgKCF0aGlzLl90aXRsZSkge1xuICAgICAgICAgICAgICAgIGlmICghdGhpcy5hZGRFcnJvcignTWlzc2luZyBvciBpbnZhbGlkIHRpdGxlJykpIHtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAvLyBTZWVrIHRvIGNvbnRlbnQgbGFzdCBpbmRleC5cbiAgICAgICAgICAgIHRoaXMuX2xhc3QgPSBzZWVrQ29udGVudCh0aGlzLl90aXRsZSk7XG5cbiAgICAgICAgICAgIGlmIChoYXNPd25Qcm9wZXJ0eShSdWxlcywgdGhpcy5fdGl0bGUpKSB7XG4gICAgICAgICAgICAgICAgc2VxdWVuY2VzID0gUnVsZXNbdGhpcy5fdGl0bGVdO1xuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAvLyBkZWZhdWx0IHNlcXVlbmNlc1xuICAgICAgICAgICAgICAgIHNlcXVlbmNlcyA9IFsncGFyc2VUeXBlJywgJ3BhcnNlTmFtZScsICdwYXJzZURlc2NyaXB0aW9uJywgJ2VwaWxvZ3VlJ107XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIGZvciAoaSA9IDAsIGl6ID0gc2VxdWVuY2VzLmxlbmd0aDsgaSA8IGl6OyArK2kpIHtcbiAgICAgICAgICAgICAgICBtZXRob2QgPSBzZXF1ZW5jZXNbaV07XG4gICAgICAgICAgICAgICAgaWYgKCF0aGlzW21ldGhvZF0oKSkge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4gbnVsbDtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIC8vIFNlZWsgZ2xvYmFsIGluZGV4IHRvIGVuZCBvZiB0aGlzIHRhZy5cbiAgICAgICAgICAgIGluZGV4ID0gdGhpcy5fbGFzdDtcbiAgICAgICAgICAgIHJldHVybiB0aGlzLl90YWc7XG4gICAgICAgIH07XG5cbiAgICAgICAgZnVuY3Rpb24gcGFyc2VUYWcob3B0aW9ucykge1xuICAgICAgICAgICAgdmFyIHRpdGxlLCBwYXJzZXI7XG5cbiAgICAgICAgICAgIC8vIHNraXAgdG8gdGFnXG4gICAgICAgICAgICBpZiAoIXNraXBUb1RhZygpKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIC8vIHNjYW4gdGl0bGVcbiAgICAgICAgICAgIHRpdGxlID0gc2NhblRpdGxlKCk7XG5cbiAgICAgICAgICAgIC8vIGNvbnN0cnVjdCB0YWcgcGFyc2VyXG4gICAgICAgICAgICBwYXJzZXIgPSBuZXcgVGFnUGFyc2VyKG9wdGlvbnMsIHRpdGxlKTtcbiAgICAgICAgICAgIHJldHVybiBwYXJzZXIucGFyc2UoKTtcbiAgICAgICAgfVxuXG4gICAgICAgIC8vXG4gICAgICAgIC8vIFBhcnNlIEpTRG9jXG4gICAgICAgIC8vXG5cbiAgICAgICAgZnVuY3Rpb24gc2NhbkpTRG9jRGVzY3JpcHRpb24ocHJlc2VydmVXaGl0ZXNwYWNlKSB7XG4gICAgICAgICAgICB2YXIgZGVzY3JpcHRpb24gPSAnJywgY2gsIGF0QWxsb3dlZDtcblxuICAgICAgICAgICAgYXRBbGxvd2VkID0gdHJ1ZTtcbiAgICAgICAgICAgIHdoaWxlIChpbmRleCA8IGxlbmd0aCkge1xuICAgICAgICAgICAgICAgIGNoID0gc291cmNlLmNoYXJDb2RlQXQoaW5kZXgpO1xuXG4gICAgICAgICAgICAgICAgaWYgKGF0QWxsb3dlZCAmJiBjaCA9PT0gMHg0MCAgLyogJ0AnICovKSB7XG4gICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIGlmIChlc3V0aWxzLmNvZGUuaXNMaW5lVGVybWluYXRvcihjaCkpIHtcbiAgICAgICAgICAgICAgICAgICAgYXRBbGxvd2VkID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKGF0QWxsb3dlZCAmJiAhZXN1dGlscy5jb2RlLmlzV2hpdGVTcGFjZShjaCkpIHtcbiAgICAgICAgICAgICAgICAgICAgYXRBbGxvd2VkID0gZmFsc2U7XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgZGVzY3JpcHRpb24gKz0gYWR2YW5jZSgpO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICByZXR1cm4gcHJlc2VydmVXaGl0ZXNwYWNlID8gZGVzY3JpcHRpb24gOiB0cmltKGRlc2NyaXB0aW9uKTtcbiAgICAgICAgfVxuXG4gICAgICAgIGZ1bmN0aW9uIHBhcnNlKGNvbW1lbnQsIG9wdGlvbnMpIHtcbiAgICAgICAgICAgIHZhciB0YWdzID0gW10sIHRhZywgZGVzY3JpcHRpb24sIGludGVyZXN0aW5nVGFncywgaSwgaXo7XG5cbiAgICAgICAgICAgIGlmIChvcHRpb25zID09PSB1bmRlZmluZWQpIHtcbiAgICAgICAgICAgICAgICBvcHRpb25zID0ge307XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIGlmICh0eXBlb2Ygb3B0aW9ucy51bndyYXAgPT09ICdib29sZWFuJyAmJiBvcHRpb25zLnVud3JhcCkge1xuICAgICAgICAgICAgICAgIHNvdXJjZSA9IHVud3JhcENvbW1lbnQoY29tbWVudCk7XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIHNvdXJjZSA9IGNvbW1lbnQ7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIC8vIGFycmF5IG9mIHJlbGV2YW50IHRhZ3NcbiAgICAgICAgICAgIGlmIChvcHRpb25zLnRhZ3MpIHtcbiAgICAgICAgICAgICAgICBpZiAoaXNBcnJheShvcHRpb25zLnRhZ3MpKSB7XG4gICAgICAgICAgICAgICAgICAgIGludGVyZXN0aW5nVGFncyA9IHsgfTtcbiAgICAgICAgICAgICAgICAgICAgZm9yIChpID0gMCwgaXogPSBvcHRpb25zLnRhZ3MubGVuZ3RoOyBpIDwgaXo7IGkrKykge1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHR5cGVvZiBvcHRpb25zLnRhZ3NbaV0gPT09ICdzdHJpbmcnKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaW50ZXJlc3RpbmdUYWdzW29wdGlvbnMudGFnc1tpXV0gPSB0cnVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB1dGlsaXR5LnRocm93RXJyb3IoJ0ludmFsaWQgXCJ0YWdzXCIgcGFyYW1ldGVyOiAnICsgb3B0aW9ucy50YWdzKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIHV0aWxpdHkudGhyb3dFcnJvcignSW52YWxpZCBcInRhZ3NcIiBwYXJhbWV0ZXI6ICcgKyBvcHRpb25zLnRhZ3MpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgbGVuZ3RoID0gc291cmNlLmxlbmd0aDtcbiAgICAgICAgICAgIGluZGV4ID0gMDtcbiAgICAgICAgICAgIGxpbmVOdW1iZXIgPSAwO1xuICAgICAgICAgICAgcmVjb3ZlcmFibGUgPSBvcHRpb25zLnJlY292ZXJhYmxlO1xuICAgICAgICAgICAgc2xvcHB5ID0gb3B0aW9ucy5zbG9wcHk7XG4gICAgICAgICAgICBzdHJpY3QgPSBvcHRpb25zLnN0cmljdDtcblxuICAgICAgICAgICAgZGVzY3JpcHRpb24gPSBzY2FuSlNEb2NEZXNjcmlwdGlvbihvcHRpb25zLnByZXNlcnZlV2hpdGVzcGFjZSk7XG5cbiAgICAgICAgICAgIHdoaWxlICh0cnVlKSB7XG4gICAgICAgICAgICAgICAgdGFnID0gcGFyc2VUYWcob3B0aW9ucyk7XG4gICAgICAgICAgICAgICAgaWYgKCF0YWcpIHtcbiAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIGlmICghaW50ZXJlc3RpbmdUYWdzIHx8IGludGVyZXN0aW5nVGFncy5oYXNPd25Qcm9wZXJ0eSh0YWcudGl0bGUpKSB7XG4gICAgICAgICAgICAgICAgICAgIHRhZ3MucHVzaCh0YWcpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgICAgICBkZXNjcmlwdGlvbjogZGVzY3JpcHRpb24sXG4gICAgICAgICAgICAgICAgdGFnczogdGFnc1xuICAgICAgICAgICAgfTtcbiAgICAgICAgfVxuICAgICAgICBleHBvcnRzLnBhcnNlID0gcGFyc2U7XG4gICAgfShqc2RvYyA9IHt9KSk7XG5cbiAgICBleHBvcnRzLnZlcnNpb24gPSB1dGlsaXR5LlZFUlNJT047XG4gICAgZXhwb3J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yYWwnLFxuICAgICAgICBVbmRlZmluZWRMaXRlcmFsOiAnVW5kZWZpbmVkTGl0ZXJhbCcsXG4gICAgICAgIFZvaWRMaXRlcmFsOiAnVm9pZExpdGVyYWwnLFxuICAgICAgICBVbmlvblR5cGU6ICdVbmlvblR5cGUnLFxuICAgICAgICBBcnJheVR5cGU6ICdBcnJheVR5cGUnLFxuICAgICAgICBSZWNvcmRUeXBlOiAnUmVjb3JkVHlwZScsXG4gICAgICAgIEZpZWxkVHlwZTogJ0ZpZWxkVHlwZScsXG4gICAgICAgIEZ1bmN0aW9uVHlwZTogJ0Z1bmN0aW9uVHlwZScsXG4gICAgICAgIFBhcmFtZXRlclR5cGU6ICdQYXJhbWV0ZXJUeXBlJyxcbiAgICAgICAgUmVzdFR5cGU6ICdSZXN0VHlwZScsXG4gICAgICAgIE5vbk51bGxhYmxlVHlwZTogJ05vbk51bGxhYmxlVHlwZScsXG4gICAgICAgIE9wdGlvbmFsVHlwZTogJ09wdGlvbmFsVHlwZScsXG4gICAgICAgIE51bGxhYmxlVHlwZTogJ051bGxhYmxlVHlwZScsXG4gICAgICAgIE5hbWVFeHByZXNzaW9uOiAnTmFtZUV4cHJlc3Npb24nLFxuICAgICAgICBUeXBlQXBwbGljYXRpb246ICdUeXBlQXBwbGljYXRpb24nXG4gICAgfTtcblxuICAgIFRva2VuID0ge1xuICAgICAgICBJTExFR0FMOiAwLCAgICAvLyBJTExFR0FMXG4gICAgICAgIERPVF9MVDogMSwgICAgIC8vIC48XG4gICAgICAgIFJFU1Q6IDIsICAgICAgIC8vIC4uLlxuICAgICAgICBMVDogMywgICAgICAgICAvLyA8XG4gICAgICAgIEdUOiA0LCAgICAgICAgIC8vID5cbiAgICAgICAgTFBBUkVOOiA1LCAgICAgLy8gKFxuICAgICAgICBSUEFSRU46IDYsICAgICAvLyApXG4gICAgICAgIExCUkFDRTogNywgICAgIC8vIHtcbiAgICAgICAgUkJSQUNFOiA4LCAgICAgLy8gfVxuICAgICAgICBMQl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ztcbiAgICAgICAgaW5kZXggPSB0aGlzLl9pbmRleDtcbiAgICAgICAgdG9rZW4gPSB0aGlzLl90b2tlbjtcbiAgICAgICAgdmFsdWUgPSB0aGlzLl92YWx1ZTtcbiAgICB9O1xuXG4gICAgQ29udGV4dC5zYXZlID0gZnVuY3Rpb24gKCkge1xuICAgICAgICByZXR1cm4gbmV3IENvbnRleHQocHJldmlvdXMsIGluZGV4LCB0b2tlbiwgdmFsdWUpO1xuICAgIH07XG5cbiAgICBmdW5jdGlvbiBhZHZhbmNlKCkge1xuICAgICAgICB2YXIgY2ggPSBzb3VyY2UuY2hhckF0KGluZGV4KTtcbiAgICAgICAgaW5kZXggKz0gMTtcbiAgICAgICAgcmV0dXJuIGNoO1xuICAgIH1cblxuICAgIGZ1bmN0aW9uIHNjYW5IZXhFc2NhcGUocHJlZml4KSB7XG4gICAgICAgIHZhciBpLCBsZW4sIGNoLCBjb2RlID0gMDtcblxuICAgICAgICBsZW4gPSAocHJlZml4ID09PSAndScpID8gNCA6IDI7XG4gICAgICAgIGZvciAoaSA9IDA7IGkgPCBsZW47ICsraSkge1xuICAgICAgICAgICAgaWYgKGluZGV4IDwgbGVuZ3RoICYmIGVzdXRpbHMuY29kZS5pc0hleERpZ2l0KHNvdXJjZS5jaGFyQ29kZUF0KGluZGV4KSkpIHtcbiAgICAgICAgICAgICAgICBjaCA9IGFkdmFuY2UoKTtcbiAgICAgICAgICAgICAgICBjb2RlID0gY29kZSAqIDE2ICsgJzAxMjM0NTY3ODlhYmNkZWYnLmluZGV4T2YoY2gudG9Mb3dlckNhc2UoKSk7XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIHJldHVybiAnJztcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gU3RyaW5nLmZyb21DaGFyQ29kZShjb2RlKTtcbiAgICB9XG5cbiAgICBmdW5jdGlvbiBzY2FuU3RyaW5nKCkge1xuICAgICAgICB2YXIgc3RyID0gJycsIHF1b3RlLCBjaCwgY29kZSwgdW5lc2NhcGVkLCByZXN0b3JlOyAvL1RPRE8gcmV2aWV3IHJlbW92YWwgb2N0YWwgPSBmYWxzZVxuICAgICAgICBxdW90ZSA9IHNvdXJjZS5jaGFyQXQoaW5kZXgpO1xuICAgICAgICArK2luZGV4O1xuXG4gICAgICAgIHdoaWxlIChpbmRleCA8IGxlbmd0aCkge1xuICAgICAgICAgICAgY2ggPSBhZHZhbmNlKCk7XG5cbiAgICAgICAgICAgIGlmIChjaCA9PT0gcXVvdGUpIHtcbiAgICAgICAgICAgICAgICBxdW90ZSA9ICcnO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgfSBlbHNlIGlmIChjaCA9PT0gJ1xcXFwnKSB7XG4gICAgICAgICAgICAgICAgY2ggPSBhZHZhbmNlKCk7XG4gICAgICAgICAgICAgICAgaWYgKCFlc3V0aWxzLmNvZGUuaXNMaW5lVGVybWluYXRvcihjaC5jaGFyQ29kZUF0KDApKSkge1xuICAgICAgICAgICAgICAgICAgICBzd2l0Y2ggKGNoKSB7XG4gICAgICAgICAgICAgICAgICAgIGNhc2UgJ24nOlxuICAgICAgICAgICAgICAgICAgICAgICAgc3RyICs9ICdcXG4nO1xuICAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgICAgICAgIGNhc2UgJ3InOlxuICAgICAgICAgICAgICAgICAgICAgICAgc3RyICs9ICdcXHInO1xuICAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgICAgICAgIGNhc2UgJ3QnOlxuICAgICAgICAgICAgICAgICAgICAgICAgc3RyICs9ICdcXHQnO1xuICAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgICAgICAgIGNhc2UgJ3UnOlxuICAgICAgICAgICAgICAgICAgICBjYXNlICd4JzpcbiAgICAgICAgICAgICAgICAgICAgICAgIHJlc3RvcmUgPSBpbmRleDtcbiAgICAgICAgICAgICAgICAgICAgICAgIHVuZXNjYXBlZCA9IHNjYW5IZXhFc2NhcGUoY2gpO1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHVuZXNjYXBlZCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHN0ciArPSB1bmVzY2FwZWQ7XG4gICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGluZGV4ID0gcmVzdG9yZTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBzdHIgKz0gY2g7XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICAgICAgY2FzZSAnYic6XG4gICAgICAgICAgICAgICAgICAgICAgICBzdHIgKz0gJ1xcYic7XG4gICAgICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICAgICAgY2FzZSAnZic6XG4gICAgICAgICAgICAgICAgICAgICAgICBzdHIgKz0gJ1xcZic7XG4gICAgICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICAgICAgY2FzZSAndic6XG4gICAgICAgICAgICAgICAgICAgICAgICBzdHIgKz0gJ1xcdic7XG4gICAgICAgICAgICAgICAgICAgICAgICBicmVhaztcblxuICAgICAgICAgICAgICAgICAgICBkZWZhdWx0OlxuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGVzdXRpbHMuY29kZS5pc09jdGFsRGlnaXQoY2guY2hhckNvZGVBdCgwKSkpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb2RlID0gJzAxMjM0NTY3Jy5pbmRleE9mKGNoKTtcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIFxcMCBpcyBub3Qgb2N0YWwgZXNjYXBlIHNlcXVlbmNlXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gRGVwcmVjYXRpbmcgdW51c2VkIGNvZGUuIFRPRE8gcmV2aWV3IHJlbW92YWxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAvL2lmIChjb2RlICE9PSAwKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gICAgb2N0YWwgPSB0cnVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vfVxuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGluZGV4IDwgbGVuZ3RoICYmIGVzdXRpbHMuY29kZS5pc09jdGFsRGlnaXQoc291cmNlLmNoYXJDb2RlQXQoaW5kZXgpKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvL1RPRE8gUmV2aWV3IFJlbW92YWwgb2N0YWwgPSB0cnVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb2RlID0gY29kZSAqIDggKyAnMDEyMzQ1NjcnLmluZGV4T2YoYWR2YW5jZSgpKTtcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyAzIGRpZ2l0cyBhcmUgb25seSBhbGxvd2VkIHdoZW4gc3RyaW5nIHN0YXJ0c1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyB3aXRoIDAsIDEsIDIsIDNcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKCcwMTIzJy5pbmRleE9mKGNoKSA+PSAwICYmXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaW5kZXggPCBsZW5ndGggJiZcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBlc3V0aWxzLmNvZGUuaXNPY3RhbERpZ2l0KHNvdXJjZS5jaGFyQ29kZUF0KGluZGV4KSkpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvZGUgPSBjb2RlICogOCArICcwMTIzNDU2NycuaW5kZXhPZihhZHZhbmNlKCkpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHN0ciArPSBTdHJpbmcuZnJvbUNoYXJDb2RlKGNvZGUpO1xuICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBzdHIgKz0gY2g7XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIGlmIChjaCA9PT0gICdcXHInICYmIHNvdXJjZS5jaGFyQ29kZUF0KGluZGV4KSA9PT0gMHgwQSAgLyogJ1xcbicgKi8pIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICsraW5kZXg7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9IGVsc2UgaWYgKGVzdXRpbHMuY29kZS5pc0xpbmVUZXJtaW5hdG9yKGNoLmNoYXJDb2RlQXQoMCkpKSB7XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIHN0ciArPSBjaDtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIGlmIChxdW90ZSAhPT0gJycpIHtcbiAgICAgICAgICAgIHV0aWxpdHkudGhyb3dFcnJvcigndW5leHBlY3RlZCBxdW90ZScpO1xuICAgICAgICB9XG5cbiAgICAgICAgdmFsdWUgPSBzdHI7XG4gICAgICAgIHJldHVybiBUb2tlbi5TVFJJTkc7XG4gICAgfVxuXG4gICAgZnVuY3Rpb24gc2Nhbk51bWJlcigpIHtcbiAgICAgICAgdmFyIG51bWJlciwgY2g7XG5cbiAgICAgICAgbnVtYmVyID0gJyc7XG4gICAgICAgIGNoID0gc291cmNlLmNoYXJDb2RlQXQoaW5kZXgpO1xuXG4gICAgICAgIGlmIChjaCAhPT0gMHgyRSAgLyogJy4nICovKSB7XG4gICAgICAgICAgICBudW1iZXIgPSBhZHZhbmNlKCk7XG4gICAgICAgICAgICBjaCA9IHNvdXJjZS5jaGFyQ29kZUF0KGluZGV4KTtcblxuICAgICAgICAgICAgaWYgKG51bWJlciA9PT0gJzAnKSB7XG4gICAgICAgICAgICAgICAgaWYgKGNoID09PSAweDc4ICAvKiAneCcgKi8gfHwgY2ggPT09IDB4NTggIC8qICdYJyAqLykge1xuICAgICAgICAgICAgICAgICAgICBudW1iZXIgKz0gYWR2YW5jZSgpO1xuICAgICAgICAgICAgICAgICAgICB3aGlsZSAoaW5kZXggPCBsZW5ndGgpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGNoID0gc291cmNlLmNoYXJDb2RlQXQoaW5kZXgpO1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKCFlc3V0aWxzLmNvZGUuaXNIZXhEaWdpdChjaCkpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIG51bWJlciArPSBhZHZhbmNlKCk7XG4gICAgICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgICAgICBpZiAobnVtYmVyLmxlbmd0aCA8PSAyKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAvLyBvbmx5IDB4XG4gICAgICAgICAgICAgICAgICAgICAgICB1dGlsaXR5LnRocm93RXJyb3IoJ3VuZXhwZWN0ZWQgdG9rZW4nKTtcbiAgICAgICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgICAgIGlmIChpbmRleCA8IGxlbmd0aCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgY2ggPSBzb3VyY2UuY2hhckNvZGVBdChpbmRleCk7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoZXN1dGlscy5jb2RlLmlzSWRlbnRpZmllclN0YXJ0KGNoKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHV0aWxpdHkudGhyb3dFcnJvcigndW5leHBlY3RlZCB0b2tlbicpO1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIHZhbHVlID0gcGFyc2VJbnQobnVtYmVyLCAxNik7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBUb2tlbi5OVU1CRVI7XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgaWYgKGVzdXRpbHMuY29kZS5pc09jdGFsRGlnaXQoY2gpKSB7XG4gICAgICAgICAgICAgICAgICAgIG51bWJlciArPSBhZHZhbmNlKCk7XG4gICAgICAgICAgICAgICAgICAgIHdoaWxlIChpbmRleCA8IGxlbmd0aCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgY2ggPSBzb3VyY2UuY2hhckNvZGVBdChpbmRleCk7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoIWVzdXRpbHMuY29kZS5pc09jdGFsRGlnaXQoY2gpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICBudW1iZXIgKz0gYWR2YW5jZSgpO1xuICAgICAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAgICAgaWYgKGluZGV4IDwgbGVuZ3RoKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBjaCA9IHNvdXJjZS5jaGFyQ29kZUF0KGluZGV4KTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChlc3V0aWxzLmNvZGUuaXNJZGVudGlmaWVyU3RhcnQoY2gpIHx8IGVzdXRpbHMuY29kZS5pc0RlY2ltYWxEaWdpdChjaCkpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB1dGlsaXR5LnRocm93RXJyb3IoJ3VuZXhwZWN0ZWQgdG9rZW4nKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB2YWx1ZSA9IHBhcnNlSW50KG51bWJlciwgOCk7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBUb2tlbi5OVU1CRVI7XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgaWYgKGVzdXRpbHMuY29kZS5pc0RlY2ltYWxEaWdpdChjaCkpIHtcbiAgICAgICAgICAgICAgICAgICAgdXRpbGl0eS50aHJvd0Vycm9yKCd1bmV4cGVjdGVkIHRva2VuJyk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICB3aGlsZSAoaW5kZXggPCBsZW5ndGgpIHtcbiAgICAgICAgICAgICAgICBjaCA9IHNvdXJjZS5jaGFyQ29kZUF0KGluZGV4KTtcbiAgICAgICAgICAgICAgICBpZiAoIWVzdXRpbHMuY29kZS5pc0RlY2ltYWxEaWdpdChjaCkpIHtcbiAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIG51bWJlciArPSBhZHZhbmNlKCk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICBpZiAoY2ggPT09IDB4MkUgIC8qICcuJyAqLykge1xuICAgICAgICAgICAgbnVtYmVyICs9IGFkdmFuY2UoKTtcbiAgICAgICAgICAgIHdoaWxlIChpbmRleCA8IGxlbmd0aCkge1xuICAgICAgICAgICAgICAgIGNoID0gc291cmNlLmNoYXJDb2RlQXQoaW5kZXgpO1xuICAgICAgICAgICAgICAgIGlmICghZXN1dGlscy5jb2RlLmlzRGVjaW1hbERpZ2l0KGNoKSkge1xuICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgbnVtYmVyICs9IGFkdmFuY2UoKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIGlmIChjaCA9PT0gMHg2NSAgLyogJ2UnICovIHx8IGNoID09PSAweDQ1ICAvKiAnRScgKi8pIHtcbiAgICAgICAgICAgIG51bWJlciArPSBhZHZhbmNlKCk7XG5cbiAgICAgICAgICAgIGNoID0gc291cmNlLmNoYXJDb2RlQXQoaW5kZXgpO1xuICAgICAgICAgICAgaWYgKGNoID09PSAweDJCICAvKiAnKycgKi8gfHwgY2ggPT09IDB4MkQgIC8qICctJyAqLykge1xuICAgICAgICAgICAgICAgIG51bWJlciArPSBhZHZhbmNlKCk7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIGNoID0gc291cmNlLmNoYXJDb2RlQXQoaW5kZXgpO1xuICAgICAgICAgICAgaWYgKGVzdXRpbHMuY29kZS5pc0RlY2ltYWxEaWdpdChjaCkpIHtcbiAgICAgICAgICAgICAgICBudW1iZXIgKz0gYWR2YW5jZSgpO1xuICAgICAgICAgICAgICAgIHdoaWxlIChpbmRleCA8IGxlbmd0aCkge1xuICAgICAgICAgICAgICAgICAgICBjaCA9IHNvdXJjZS5jaGFyQ29kZUF0KGluZGV4KTtcbiAgICAgICAgICAgICAgICAgICAgaWYgKCFlc3V0aWxzLmNvZGUuaXNEZWNpbWFsRGlnaXQoY2gpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICBudW1iZXIgKz0gYWR2YW5jZSgpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgdXRpbGl0eS50aHJvd0Vycm9yKCd1bmV4cGVjdGVkIHRva2VuJyk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICBpZiAoaW5kZXggPCBsZW5ndGgpIHtcbiAgICAgICAgICAgIGNoID0gc291cmNlLmNoYXJDb2RlQXQoaW5kZXgpO1xuICAgICAgICAgICAgaWYgKGVzdXRpbHMuY29kZS5pc0lkZW50aWZpZXJTdGFydChjaCkpIHtcbiAgICAgICAgICAgICAgICB1dGlsaXR5LnRocm93RXJyb3IoJ3VuZXhwZWN0ZWQgdG9rZW4nKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIHZhbHVlID0gcGFyc2VGbG9hdChudW1iZXIpO1xuICAgICAgICByZXR1cm4gVG9rZW4uTlVNQkVSO1xuICAgIH1cblxuXG4gICAgZnVuY3Rpb24gc2NhblR5cGVOYW1lKCkge1xuICAgICAgICB2YXIgY2gsIGNoMjtcblxuICAgICAgICB2YWx1ZSA9IGFkdmFuY2UoKTtcbiAgICAgICAgd2hpbGUgKGluZGV4IDwgbGVuZ3RoICYmIGlzVHlwZU5hbWUoc291cmNlLmNoYXJDb2RlQXQoaW5kZXgpKSkge1xuICAgICAgICAgICAgY2ggPSBzb3VyY2UuY2hhckNvZGVBdChpbmRleCk7XG4gICAgICAgICAgICBpZiAoY2ggPT09IDB4MkUgIC8qICcuJyAqLykge1xuICAgICAgICAgICAgICAgIGlmICgoaW5kZXggKyAxKSA+PSBsZW5ndGgpIHtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFRva2VuLklMTEVHQUw7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIGNoMiA9IHNvdXJjZS5jaGFyQ29kZUF0KGluZGV4ICsgMSk7XG4gICAgICAgICAgICAgICAgaWYgKGNoMiA9PT0gMHgzQyAgLyogJzwnICovKSB7XG4gICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHZhbHVlICs9IGFkdmFuY2UoKTtcbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gVG9rZW4uTkFNRTtcbiAgICB9XG5cbiAgICBmdW5jdGlvbiBuZXh0KCkge1xuICAgICAgICB2YXIgY2g7XG5cbiAgICAgICAgcHJldmlvdXMgPSBpbmRleDtcblxuICAgICAgICB3aGlsZSAoaW5kZXggPCBsZW5ndGggJiYgZXN1dGlscy5jb2RlLmlzV2hpdGVTcGFjZShzb3VyY2UuY2hhckNvZGVBdChpbmRleCkpKSB7XG4gICAgICAgICAgICBhZHZhbmNlKCk7XG4gICAgICAgIH1cbiAgICAgICAgaWYgKGluZGV4ID49IGxlbmd0aCkge1xuICAgICAgICAgICAgdG9rZW4gPSBUb2tlbi5FT0Y7XG4gICAgICAgICAgICByZXR1cm4gdG9rZW47XG4gICAgICAgIH1cblxuICAgICAgICBjaCA9IHNvdXJjZS5jaGFyQ29kZUF0KGluZGV4KTtcbiAgICAgICAgc3dpdGNoIChjaCkge1xuICAgICAgICBjYXNlIDB4Mjc6ICAvKiAnJycgKi9cbiAgICAgICAgY2FzZSAweDIyOiAgLyogJ1wiJyAqL1xuICAgICAgICAgICAgdG9rZW4gPSBzY2FuU3RyaW5nKCk7XG4gICAgICAgICAgICByZXR1cm4gdG9rZW47XG5cbiAgICAgICAgY2FzZSAweDNBOiAgLyogJzonICovXG4gICAgICAgICAgICBhZHZhbmNlKCk7XG4gICAgICAgICAgICB0b2tlbiA9IFRva2VuLkNPTE9OO1xuICAgICAgICAgICAgcmV0dXJuIHRva2VuO1xuXG4gICAgICAgIGNhc2UgMHgyQzogIC8qICcsJyAqL1xuICAgICAgICAgICAgYWR2YW5jZSgpO1xuICAgICAgICAgICAgdG9rZW4gPSBUb2tlbi5DT01NQTtcbiAgICAgICAgICAgIHJldHVybiB0b2tlbjtcblxuICAgICAgICBjYXNlIDB4Mjg6ICAvKiAnKCcgKi9cbiAgICAgICAgICAgIGFkdmFuY2UoKTtcbiAgICAgICAgICAgIHRva2VuID0gVG9rZW4uTFBBUkVOO1xuICAgICAgICAgICAgcmV0dXJuIHRva2VuO1xuXG4gICAgICAgIGNhc2UgMHgyOTogIC8qICcpJyAqL1xuICAgICAgICAgICAgYWR2YW5jZSgpO1xuICAgICAgICAgICAgdG9rZW4gPSBUb2tlbi5SUEFSRU47XG4gICAgICAgICAgICByZXR1cm4gdG9rZW47XG5cbiAgICAgICAgY2FzZSAweDVCOiAgLyogJ1snICovXG4gICAgICAgICAgICBhZHZhbmNlKCk7XG4gICAgICAgICAgICB0b2tlbiA9IFRva2VuLkxCUkFDSztcbiAgICAgICAgICAgIHJldHVybiB0b2tlbjtcblxuICAgICAgICBjYXNlIDB4NUQ6ICAvKiAnXScgKi9cbiAgICAgICAgICAgIGFkdmFuY2UoKTtcbiAgICAgICAgICAgIHRva2VuID0gVG9rZW4uUkJSQUNLO1xuICAgICAgICAgICAgcmV0dXJuIHRva2VuO1xuXG4gICAgICAgIGNhc2UgMHg3QjogIC8qICd7JyAqL1xuICAgICAgICAgICAgYWR2YW5jZSgpO1xuICAgICAgICAgICAgdG9rZW4gPSBUb2tlbi5MQlJBQ0U7XG4gICAgICAgICAgICByZXR1cm4gdG9rZW47XG5cbiAgICAgICAgY2FzZSAweDdEOiAgLyogJ30nICovXG4gICAgICAgICAgICBhZHZhbmNlKCk7XG4gICAgICAgICAgICB0b2tlbiA9IFRva2VuLlJCUkFDRTtcbiAgICAgICAgICAgIHJldHVybiB0b2tlbjtcblxuICAgICAgICBjYXNlIDB4MkU6ICAvKiAnLicgKi9cbiAgICAgICAgICAgIGlmIChpbmRleCArIDEgPCBsZW5ndGgpIHtcbiAgICAgICAgICAgICAgICBjaCA9IHNvdXJjZS5jaGFyQ29kZUF0KGluZGV4ICsgMSk7XG4gICAgICAgICAgICAgICAgaWYgKGNoID09PSAweDNDICAvKiAnPCcgKi8pIHtcbiAgICAgICAgICAgICAgICAgICAgYWR2YW5jZSgpOyAgLy8gJy4nXG4gICAgICAgICAgICAgICAgICAgIGFkdmFuY2UoKTsgIC8vICc8J1xuICAgICAgICAgICAgICAgICAgICB0b2tlbiA9IFRva2VuLkRPVF9MVDtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHRva2VuO1xuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIGlmIChjaCA9PT0gMHgyRSAgLyogJy4nICovICYmIGluZGV4ICsgMiA8IGxlbmd0aCAmJiBzb3VyY2UuY2hhckNvZGVBdChpbmRleCArIDIpID09PSAweDJFICAvKiAnLicgKi8pIHtcbiAgICAgICAgICAgICAgICAgICAgYWR2YW5jZSgpOyAgLy8gJy4nXG4gICAgICAgICAgICAgICAgICAgIGFkdmFuY2UoKTsgIC8vICcuJ1xuICAgICAgICAgICAgICAgICAgICBhZHZhbmNlKCk7ICAvLyAnLidcbiAgICAgICAgICAgICAgICAgICAgdG9rZW4gPSBUb2tlbi5SRVNUO1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4gdG9rZW47XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgaWYgKGVzdXRpbHMuY29kZS5pc0RlY2ltYWxEaWdpdChjaCkpIHtcbiAgICAgICAgICAgICAgICAgICAgdG9rZW4gPSBzY2FuTnVtYmVyKCk7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiB0b2tlbjtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICB0b2tlbiA9IFRva2VuLklMTEVHQUw7XG4gICAgICAgICAgICByZXR1cm4gdG9rZW47XG5cbiAgICAgICAgY2FzZSAweDNDOiAgLyogJzwnICovXG4gICAgICAgICAgICBhZHZhbmNlKCk7XG4gICAgICAgICAgICB0b2tlbiA9IFRva2VuLkxUO1xuICAgICAgICAgICAgcmV0dXJuIHRva2VuO1xuXG4gICAgICAgIGNhc2UgMHgzRTogIC8qICc+JyAqL1xuICAgICAgICAgICAgYWR2YW5jZSgpO1xuICAgICAgICAgICAgdG9rZW4gPSBUb2tlbi5HVDtcbiAgICAgICAgICAgIHJldHVybiB0b2tlbjtcblxuICAgICAgICBjYXNlIDB4MkE6ICAvKiAnKicgKi9cbiAgICAgICAgICAgIGFkdmFuY2UoKTtcbiAgICAgICAgICAgIHRva2VuID0gVG9rZW4uU1RBUjtcbiAgICAgICAgICAgIHJldHVybiB0b2tlbjtcblxuICAgICAgICBjYXNlIDB4N0M6ICAvKiAnfCcgKi9cbiAgICAgICAgICAgIGFkdmFuY2UoKTtcbiAgICAgICAgICAgIHRva2VuID0gVG9rZW4uUElQRTtcbiAgICAgICAgICAgIHJldHVybiB0b2tlbjtcblxuICAgICAgICBjYXNlIDB4M0Y6ICAvKiAnPycgKi9cbiAgICAgICAgICAgIGFkdmFuY2UoKTtcbiAgICAgICAgICAgIHRva2VuID0gVG9rZW4uUVVFU1RJT047XG4gICAgICAgICAgICByZXR1cm4gdG9rZW47XG5cbiAgICAgICAgY2FzZSAweDIxOiAgLyogJyEnICovXG4gICAgICAgICAgICBhZHZhbmNlKCk7XG4gICAgICAgICAgICB0b2tlbiA9IFRva2VuLkJBTkc7XG4gICAgICAgICAgICByZXR1cm4gdG9rZW47XG5cbiAgICAgICAgY2FzZSAweDNEOiAgLyogJz0nICovXG4gICAgICAgICAgICBhZHZhbmNlKCk7XG4gICAgICAgICAgICB0b2tlbiA9IFRva2VuLkVRVUFMO1xuICAgICAgICAgICAgcmV0dXJuIHRva2VuO1xuXG4gICAgICAgIGRlZmF1bHQ6XG4gICAgICAgICAgICBpZiAoZXN1dGlscy5jb2RlLmlzRGVjaW1hbERpZ2l0KGNoKSkge1xuICAgICAgICAgICAgICAgIHRva2VuID0gc2Nhbk51bWJlcigpO1xuICAgICAgICAgICAgICAgIHJldHVybiB0b2tlbjtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgLy8gdHlwZSBzdHJpbmcgcGVybWl0cyBmb2xsb3dpbmcgY2FzZSxcbiAgICAgICAgICAgIC8vXG4gICAgICAgICAgICAvLyBuYW1lc3BhY2UubW9kdWxlLk15Q2xhc3NcbiAgICAgICAgICAgIC8vXG4gICAgICAgICAgICAvLyB0aGlzIHJlZHVjZWQgMSB0b2tlbiBUS19OQU1FXG4gICAgICAgICAgIC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1lbnRzID0gW107XG4gICAgICAgIGlmICh0b2tlbiAhPT0gVG9rZW4uUlBBUkVOKSB7XG4gICAgICAgICAgICB3aGlsZSAodHJ1ZSkge1xuICAgICAgICAgICAgICAgIGVsZW1lbnRzLnB1c2gocGFyc2VUeXBlRXhwcmVzc2lvbigpKTtcbiAgICAgICAgICAgICAgICBpZiAodG9rZW4gPT09IFRva2VuLlJQQVJFTikge1xuICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgZXhwZWN0KFRva2VuLlBJUEUpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIGNvbnN1bWUoVG9rZW4uUlBBUkVOLCAnVW5pb25UeXBlIHNob3VsZCBlbmQgd2l0aCApJyk7XG4gICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICB0eXBlOiBTeW50YXguVW5pb25UeXBlLFxuICAgICAgICAgICAgZWxlbWVudHM6IGVsZW1lbnRzXG4gICAgICAgIH07XG4gICAgfVxuXG4gICAgLy8gQXJyYXlUeXBlIDo9ICdbJyBFbGVtZW50VHlwZUxpc3QgJ10nXG4gICAgLy9cbiAgICAvLyBFbGVtZW50VHlwZUxpc3QgOj1cbiAgICAvLyAgICAgPDxlbXB0eT4+XG4gICAgLy8gIHwgVHlwZUV4cHJlc3Npb25cbiAgICAvLyAgfCAnLi4uJyBUeXBlRXhwcmVzc2lvblxuICAgIC8vICB8IFR5cGVFeHByZXNzaW9uICcsJyBFbGVtZW50VHlwZUxpc3RcbiAgICBmdW5jdGlvbiBwYXJzZUFycmF5VHlwZSgpIHtcbiAgICAgICAgdmFyIGVsZW1lbnRzO1xuICAgICAgICBjb25zdW1lKFRva2VuLkxCUkFDSywgJ0FycmF5VHlwZSBzaG91bGQgc3RhcnQgd2l0aCBbJyk7XG4gICAgICAgIGVsZW1lbnRzID0gW107XG4gICAgICAgIHdoaWxlICh0b2tlbiAhPT0gVG9rZW4uUkJSQUNLKSB7XG4gICAgICAgICAgICBpZiAodG9rZW4gPT09IFRva2VuLlJFU1QpIHtcbiAgICAgICAgICAgICAgICBjb25zdW1lKFRva2VuLlJFU1QpO1xuICAgICAgICAgICAgICAgIGVsZW1lbnRzLnB1c2goe1xuICAgICAgICAgICAgICAgICAgICB0eXBlOiBTeW50YXguUmVzdFR5cGUsXG4gICAgICAgICAgICAgICAgICAgIGV4cHJlc3Npb246IHBhcnNlVHlwZUV4cHJlc3Npb24oKVxuICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICBlbGVtZW50cy5wdXNoKHBhcnNlVHlwZUV4cHJlc3Npb24oKSk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBpZiAodG9rZW4gIT09IFRva2VuLlJCUkFDSykge1xuICAgICAgICAgICAgICAgIGV4cGVjdChUb2tlbi5DT01NQSk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgZXhwZWN0KFRva2VuLlJCUkFDSyk7XG4gICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICB0eXBlOiBTeW50YXguQXJyYXlUeXBlLFxuICAgICAgICAgICAgZWxlbWVudHM6IGVsZW1lbnRzXG4gICAgICAgIH07XG4gICAgfVxuXG4gICAgZnVuY3Rpb24gcGFyc2VGaWVsZE5hbWUoKSB7XG4gICAgICAgIHZhciB2ID0gdmFsdWU7XG4gICAgICAgIGlmICh0b2tlbiA9PT0gVG9rZW4uTkFNRSB8fCB0b2tlbiA9PT0gVG9rZW4uU1RSSU5HKSB7XG4gICAgICAgICAgICBuZXh0KCk7XG4gICAgICAgICAgICByZXR1cm4gdjtcbiAgICAgICAgfVxuXG4gICAgICAgIGlmICh0b2tlbiA9PT0gVG9rZW4uTlVNQkVSKSB7XG4gICAgICAgICAgICBjb25zdW1lKFRva2VuLk5VTUJFUik7XG4gICAgICAgICAgICByZXR1cm4gU3RyaW5nKHYpO1xuICAgICAgICB9XG5cbiAgICAgICAgdXRpbGl0eS50aHJvd0Vycm9yKCd1bmV4cGVjdGVkIHRva2VuJyk7XG4gICAgfVxuXG4gICAgLy8gRmllbGRUeXBlIDo9XG4gICAgLy8gICAgIEZpZWxkTmFtZVxuICAgIC8vICAgfCBGaWVsZE5hbWUgJzonIFR5cGVFeHByZXNzaW9uXG4gICAgLy9cbiAgICAvLyBGaWVsZE5hbWUgOj1cbiAgICAvLyAgICAgTmFtZUV4cHJlc3Npb25cbiAgICAvLyAgIHwgU3RyaW5nTGl0ZXJhbFxuICAgIC8vICAgfCBOdW1iZXJMaXRlcmFsXG4gICAgLy8gICB8IFJlc2VydmVkSWRlbnRpZmllclxuICAgIGZ1bmN0aW9uIHBhcnNlRmllbGRUeXBlKCkge1xuICAgICAgICB2YXIga2V5O1xuXG4gICAgICAgIGtleSA9IHBhcnNlRmllbGROYW1lKCk7XG4gICAgICAgIGlmICh0b2tlbiA9PT0gVG9rZW4uQ09MT04pIHtcbiAgICAgICAgICAgIGNvbnN1bWUoVG9rZW4uQ09MT04pO1xuICAgICAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgICAgICB0eXBlOiBTeW50YXguRmllbGRUeXBlLFxuICAgICAgICAgICAgICAgIGtleToga2V5LFxuICAgICAgICAgICAgICAgIHZhbHVlOiBwYXJzZVR5cGVFeHByZXNzaW9uKClcbiAgICAgICAgICAgIH07XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgIHR5cGU6IFN5bnRheC5GaWVsZFR5cGUsXG4gICAgICAgICAgICBrZXk6IGtleSxcbiAgICAgICAgICAgIHZhbHVlOiBudWxsXG4gICAgICAgIH07XG4gICAgfVxuXG4gICAgLy8gUmVjb3JkVHlwZSA6PSAneycgRmllbGRUeXBlTGlzdCAnfSdcbiAgICAvL1xuICAgIC8vIEZpZWxkVHlwZUxpc3QgOj1cbiAgICAvLyAgICAgPDxlbXB0eT4+XG4gICAgLy8gICB8IEZpZWxkVHlwZVxuICAgIC8vICAgfCBGaWVsZFR5cGUgJywnIEZpZWxkVHlwZUxpc3RcbiAgICBmdW5jdGlvbiBwYXJzZVJlY29yZFR5cGUoKSB7XG4gICAgICAgIHZhciBmaWVsZHM7XG5cbiAgICAgICAgY29uc3VtZShUb2tlbi5MQlJBQ0UsICdSZWNvcmRUeXBlIHNob3VsZCBzdGFydCB3aXRoIHsnKTtcbiAgICAgICAgZmllbGRzID0gW107XG4gICAgICAgIGlmICh0b2tlbiA9PT0gVG9rZW4uQ09NTUEpIHtcbiAgICAgICAgICAgIGNvbnN1bWUoVG9rZW4uQ09NTUEpO1xuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgd2hpbGUgKHRva2VuICE9PSBUb2tlbi5SQlJBQ0UpIHtcbiAgICAgICAgICAgICAgICBmaWVsZHMucHVzaChwYXJzZUZpZWxkVHlwZSgpKTtcbiAgICAgICAgICAgICAgICBpZiAodG9rZW4gIT09IFRva2VuLlJCUkFDRSkge1xuICAgICAgICAgICAgICAgICAgICBleHBlY3QoVG9rZW4uQ09NTUEpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICBleHBlY3QoVG9rZW4uUkJSQUNFKTtcbiAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgIHR5cGU6IFN5bnRheC5SZWNvcmRUeXBlLFxuICAgICAgICAgICAgZmllbGRzOiBmaWVsZHNcbiAgICAgICAgfTtcbiAgICB9XG5cbiAgICAvLyBOYW1lRXhwcmVzc2lvbiA6PVxuICAgIC8vICAgIElkZW50aWZpZXJcbiAgICAvLyAgfCBUYWdJZGVudGlmaWVyICc6JyBJZGVudGlmaWVyXG4gICAgLy9cbiAgICAvLyBUYWcgaWRlbnRpZmllciBpcyBvbmUgb2YgXCJtb2R1bGVcIiwgXCJleHRlcm5hbFwiIG9yIFwiZXZlbnRcIlxuICAgIC8vIElkZW50aWZpZXIgaXMgdGhlIHNhbWUgYXMgVG9rZW4uTkFNRSwgaW5jbHVkaW5nIGFueSBkb3RzLCBzb21ldGhpbmcgbGlrZVxuICAgIC8vIG5hbWVzcGFjZS5tb2R1bGUuTXlDbGFzc1xuICAgIGZ1bmN0aW9uIHBhcnNlTmFtZUV4cHJlc3Npb24oKSB7XG4gICAgICAgIHZhciBuYW1lID0gdmFsdWU7XG4gICAgICAgIGV4cGVjdChUb2tlbi5OQU1FKTtcblxuICAgICAgICBpZiAodG9rZW4gPT09IFRva2VuLkNPTE9OICYmIChcbiAgICAgICAgICAgICAgICBuYW1lID09PSAnbW9kdWxlJyB8fFxuICAgICAgICAgICAgICAgIG5hbWUgPT09ICdleHRlcm5hbCcgfHxcbiAgICAgICAgICAgICAgICBuYW1lID09PSAnZXZlbnQnKSkge1xuICAgICAgICAgICAgY29uc3VtZShUb2tlbi5DT0xPTik7XG4gICAgICAgICAgICBuYW1lICs9ICc6JyArIHZhbHVlO1xuICAgICAgICAgICAgZXhwZWN0KFRva2VuLk5BTUUpO1xuICAgICAgICB9XG5cbiAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgIHR5cGU6IFN5bnRheC5OYW1lRXhwcmVzc2lvbixcbiAgICAgICAgICAgIG5hbWU6IG5hbWVcbiAgICAgICAgfTtcbiAgICB9XG5cbiAgICAvLyBUeXBlRXhwcmVzc2lvbkxpc3QgOj1cbiAgICAvLyAgICAgVG9wTGV2ZWxUeXBlRXhwcmVzc2lvblxuICAgIC8vICAgfCBUb3BMZXZlbFR5cGVFeHByZXNzaW9uICcsJyBUeXBlRXhwcmVzc2lvbkxpc3RcbiAgICBmdW5jdGlvbiBwYXJzZVR5cGVFeHByZXNzaW9uTGlzdCgpIHtcbiAgICAgICAgdmFyIGVsZW1lbnRzID0gW107XG5cbiAgICAgICAgZWxlbWVudHMucHVzaChwYXJzZVRvcCgpKTtcbiAgICAgICAgd2hpbGUgKHRva2VuID09PSBUb2tlbi5DT01NQSkge1xuICAgICAgICAgICAgY29uc3VtZShUb2tlbi5DT01NQSk7XG4gICAgICAgICAgICBlbGVtZW50cy5wdXNoKHBhcnNlVG9wKCkpO1xuICAgICAgICB9XG4gICAgICAgIHJldHVybiBlbGVtZW50cztcbiAgICB9XG5cbiAgICAvLyBUeXBlTmFtZSA6PVxuICAgIC8vICAgICBOYW1lRXhwcmVzc2lvblxuICAgIC8vICAgfCBOYW1lRXhwcmVzc2lvbiBUeXBlQXBwbGljYXRpb25cbiAgICAvL1xuICAgIC8vIFR5cGVBcHBsaWNhdGlvbiA6PVxuICAgIC8vICAgICAnLjwnIFR5cGVFeHByZXNzaW9uTGlzdCAnPidcbiAgICAvLyAgIHwgJzwnIFR5cGVFeHByZXNzaW9uTGlzdCAnPicgICAvLyB0aGlzIGlzIGV4dGVuc2lvbiBvZiBkb2N0cmluZVxuICAgIGZ1bmN0aW9uIHBhcnNlVHlwZU5hbWUoKSB7XG4gICAgICAgIHZhciBleHByLCBhcHBsaWNhdGlvbnM7XG5cbiAgICAgICAgZXhwciA9IHBhcnNlTmFtZUV4cHJlc3Npb24oKTtcbiAgICAgICAgaWYgKHRva2VuID09PSBUb2tlbi5ET1RfTFQgfHwgdG9rZW4gPT09IFRva2VuLkxUKSB7XG4gICAgICAgICAgICBuZXh0KCk7XG4gICAgICAgICAgICBhcHBsaWNhdGlvbnMgPSBwYXJzZVR5cGVFeHByZXNzaW9uTGlzdCgpO1xuICAgICAgICAgICAgZXhwZWN0KFRva2VuLkdUKTtcbiAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgICAgdHlwZTogU3ludGF4LlR5cGVBcHBsaWNhdGlvbixcbiAgICAgICAgICAgICAgICBleHByZXNzaW9uOiBleHByLFxuICAgICAgICAgICAgICAgIGFwcGxpY2F0aW9uczogYXBwbGljYXRpb25zXG4gICAgICAgICAgICB9O1xuICAgICAgICB9XG4gICAgICAgIHJldHVybiBleHByO1xuICAgIH1cblxuICAgIC8vIFJlc3VsdFR5cGUgOj1cbiAgICA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4uQ09MT04pIHtcbiAgICAgICAgICAgICAgICAvLyBJZGVudGlmaWVyICc6JyBUeXBlRXhwcmVzc2lvblxuICAgICAgICAgICAgICAgIGNvbnN1bWUoVG9rZW4uQ09MT04pO1xuICAgICAgICAgICAgICAgIGV4cHIgPSB7XG4gICAgICAgICAgICAgICAgICAgIHR5cGU6IFN5bnRheC5QYXJhbWV0ZXJUeXBlLFxuICAgICAgICAgICAgICAgICAgICBuYW1lOiBleHByLm5hbWUsXG4gICAgICAgICAgICAgICAgICAgIGV4cHJlc3Npb246IHBhcnNlVHlwZUV4cHJlc3Npb24oKVxuICAgICAgICAgICAgICAgIH07XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBpZiAodG9rZW4gPT09IFRva2VuLkVRVUFMKSB7XG4gICAgICAgICAgICAgICAgY29uc3VtZShUb2tlbi5FUVVBTCk7XG4gICAgICAgICAgICAgICAgZXhwciA9IHtcbiAgICAgICAgICAgICAgICAgICAgdHlwZTogU3ludGF4Lk9wdGlvbmFsVHlwZSxcbiAgICAgICAgICAgICAgICAgICAgZXhwcmVzc2lvbjogZXhwclxuICAgICAgICAgICAgICAgIH07XG4gICAgICAgICAgICAgICAgb3B0aW9uYWxTZXF1ZW5jZSA9IHRydWU7XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIGlmIChvcHRpb25hbFNlcXVlbmNlKSB7XG4gICAgICAgICAgICAgICAgICAgIHV0aWxpdHkudGhyb3dFcnJvcigndW5leHBlY3RlZCB0b2tlbicpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGlmIChyZXN0KSB7XG4gICAgICAgICAgICAgICAgZXhwciA9IHtcbiAgICAgICAgICAgICAgICAgICAgdHlwZTogU3ludGF4LlJlc3RUeXBlLFxuICAgICAgICAgICAgICAgICAgICBleHByZXNzaW9uOiBleHByXG4gICAgICAgICAgICAgICAgfTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAg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QYXJhbWV0ZXJzLlxuICAgICAgICAvLyBTbyB3ZSBkbyBub3QuIGlmIHdlIGRvbid0IGdldCAnKCcsIHdlIHNlZSBpdCBhcyBlcnJvci5cbiAgICAgICAgZXhwZWN0KFRva2VuLkxQQVJFTik7XG5cbiAgICAgICAgaXNOZXcgPSBmYWxzZTtcbiAgICAgICAgcGFyYW1zID0gW107XG4gICAgICAgIHRoaXNCaW5kaW5nID0gbnVsbDtcbiAgICAgICAgaWYgKHRva2VuICE9PSBUb2tlbi5SUEFSRU4pIHtcbiAgICAgICAgICAgIC8vIFBhcmFtZXRlcnNUeXBlIG9yICd0aGlzJ1xuICAgICAgICAgICAgaWYgKHRva2VuID09PSBUb2tlbi5OQU1FICYmXG4gICAgICAgICAgICAgICAgICAgICh2YWx1ZSA9PT0gJ3RoaXMnIHx8IHZhbHVlID09PSAnbmV3JykpIHtcbiAgICAgICAgICAgICAgICAvLyAndGhpcycgb3IgJ25ldydcbiAgICAgICAgICAgICAgICAvLyAnbmV3JyBpcyBDbG9zdXJlIENvbXBpbGVyIGV4dGVuc2lvblxuICAgICAgICAgICAgICAgIGlzTmV3ID0gdmFsdWUgPT09ICduZXcnO1xuICAgICAgICAgICAgICAgIGNvbnN1bWUoVG9rZW4uTkFNRSk7XG4gICAgICAgICAgICAgICAgZXhwZWN0KFRva2VuLkNPTE9OKTtcbiAgICAgICAgICAgICAgICB0aGlzQmluZGluZyA9IHBhcnNlVHlwZU5hbWUoKTtcbiAgICAgICAgICAgICAgICBpZiAodG9rZW4gPT09IFRva2VuLkNPTU1BKSB7XG4gICAgICAgICAgICAgICAgICAgIGNvbnN1bWUoVG9rZW4uQ09NTUEpO1xuICAgICAgICAgICAgICAgICAgICBwYXJhbXMgPSBwYXJzZVBhcmFtZXRlcnNUeXBlKCk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICBwYXJhbXMgPSBwYXJzZVBhcmFtZXRlcnNUeXBlKCk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICBleHBlY3QoVG9rZW4uUlBBUkVOKTtcblxuICAgICAgICByZXN1bHQgPSBudWxsO1xuICAgICAgICBpZiAodG9rZW4gPT09IFRva2VuLkNPTE9OKSB7XG4gICAgICAgICAgICByZXN1bHQgPSBwYXJzZVJlc3VsdFR5cGUoKTtcbiAgICAgICAgfVxuXG4gICAgICAgIGZuVHlwZSA9IHtcbiAgICAgICAgICAgIHR5cGU6IFN5bnRheC5GdW5jdGlvblR5cGUsXG4gICAgICAgICAgICBwYXJhbXM6IHBhcmFtcyxcbiAgICAgICAgICAgIHJlc3VsdDogcmVzdWx0XG4gICAgICAgIH07XG4gICAgICAgIGlmICh0aGlzQmluZGluZykge1xuICAgICAgICAgICAgLy8gYXZvaWQgYWRkaW5nIG51bGwgJ25ldycgYW5kICd0aGlzJyBwcm9wZXJ0aWVzXG4gICAgICAgICAgICBmblR5cGVbJ3RoaXMnXSA9IHRoaXNCaW5kaW5nO1xuICAgICAgICAgICAgaWYgKGlzTmV3KSB7XG4gICAgICAgICAgICAgICAgZm5UeXBlWyduZXcnXSA9IHRydWU7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIGZuVHlwZTtcbiAgICB9XG5cbiAgICAvLyBCYXNpY1R5cGVFeHByZXNzaW9uIDo9XG4gICAgLy8gICAgICcqJ1xuICAgIC8vICAgfCAnbnVsbCdcbiAgICAvLyAgIHwgJ3VuZGVmaW5lZCdcbiAgICAvLyAgIHwgVHlwZU5hbWVcbiAgICAvLyAgIHwgRnVuY3Rpb25UeXBlXG4gICAgLy8gICB8IFVuaW9uVHlwZVxuICAgIC8vICAgfCBSZWNvcmRUeXBlXG4gICAgLy8gICB8IEFycmF5VHlwZVxuICAgIGZ1bmN0aW9uIHBhcnNlQmFzaWNUeXBlRXhwcmVzc2lvbigpIHtcbiAgICAgICAgdmFyIGNvbnRleHQ7XG4gICAgICAgIHN3aXRjaCAodG9rZW4pIHtcbiAgICAgICAgY2FzZSBUb2tlbi5TVEFSOlxuICAgICAgICAgICAgY29uc3VtZShUb2tlbi5TVEFSKTtcbiAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgICAgdHlwZTogU3ludGF4LkFsbExpdGVyYWxcbiAgICAgICAgICAgIH07XG5cbiAgICAgICAgY2FzZSBUb2tlbi5MUEFSRU46XG4gICAgICAgICAgICByZXR1cm4gcGFyc2VVbmlvblR5cGUoKTtcblxuICAgICAgICBjYXNlIFRva2VuLkxCUkFDSzpcbiAgICAgICAgICAgIHJldHVybiBwYXJzZUFycmF5VHlwZSgpO1xuXG4gICAgICAgIGNhc2UgVG9rZW4uTEJSQUNFOlxuICAgICAgICAgICAgcmV0dXJuIHBhcnNlUmVjb3JkVHlwZSgpO1xuXG4gICAgICAgIGNhc2UgVG9rZW4uTkFNRTpcbiAgICAgICAgICAgIGlmICh2YWx1ZSA9PT0gJ251bGwnKSB7XG4gICAgICAgICAgICAgICAgY29uc3VtZShUb2tlbi5OQU1FKTtcbiAgICAgICAgICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgICAgICAgICB0eXBlOiBTeW50YXguTnVsbExpdGVyYWxcbiAgICAgICAgICAgICAgICB9O1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICBpZiAodmFsdWUgPT09ICd1bmRlZmluZWQnKSB7XG4gICAgICAgICAgICAgICAgY29uc3VtZShUb2tlbi5OQU1FKTtcbiAgICAgICAgICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgICAgICAgICB0eXBlOiBTeW50YXguVW5kZWZpbmVkTGl0ZXJhbFxuICAgICAgICAgICAgICAgIH07XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIGNvbnRleHQgPSBDb250ZXh0LnNhdmUoKTtcbiAgICAgICAgICAgIGlmICh2YWx1ZSA9PT0gJ2Z1bmN0aW9uJykge1xuICAgICAgICAgICAgICAgIHRyeSB7XG4gICAgICAg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HRva2VuID09PSBUb2tlbi5FT0YgfHxcbiAgICAgICAgICAgICAgICAgICAgdG9rZW4gPT09IFRva2VuLlJCUkFDSyB8fCB0b2tlbiA9PT0gVG9rZW4uR1QpIHtcbiAgICAgICAgICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgICAgICAgICB0eXBlOiBTeW50YXguTnVsbGFibGVMaXRlcmFsXG4gICAgICAgICAgICAgICAgfTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgICAgdHlwZTogU3ludGF4Lk51bGxhYmxlVHlwZSxcbiAgICAgICAgICAgICAgICBleHByZXNzaW9uOiBwYXJzZUJhc2ljVHlwZUV4cHJlc3Npb24oKSxcbiAgICAgICAgICAgICAgICBwcmVmaXg6IHRydWVcbiAgICAgICAgICAgIH07XG4gICAgICAgIH1cblxuICAgICAgICBpZiAodG9rZW4gPT09IFRva2VuLkJBTkcpIHtcbiAgICAgICAgICAgIGNvbnN1bWUoVG9rZW4uQkFORyk7XG4gICAgICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgICAgIHR5cGU6IFN5bnRheC5Ob25OdWxsYWJsZVR5cGUsXG4gICAgICAgICAgICAgICAgZXhwcmVzc2lvbjogcGFyc2VCYXNpY1R5cGVFeHByZXNzaW9uKCksXG4gICAgICAgICAgICAgICAgcHJlZml4OiB0cnVlXG4gICAgICAgICAgICB9O1xuICAgICAgICB9XG5cbiAgICAgICAgZXhwciA9IHBhcnNlQmFzaWNUeXBlRXhwcmVzc2lvbigpO1xuICAgICAgICBpZiAodG9rZW4gPT09IFRva2VuLkJBTkcpIHtcbiAgICAgICAgICAgIGNvbnN1bWUoVG9rZW4uQkFORyk7XG4gICAgICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgICAgIHR5cGU6IFN5bnRheC5Ob25OdWxsYWJsZVR5cGUsXG4gICAgICAgICAgICAgICAgZXhwcmVzc2lvbjogZXhwcixcbiAgICAgICAgICAgICAgICBwcmVmaXg6IGZhbHNlXG4gICAgICAgICAgICB9O1xuICAgICAgICB9XG5cbiAgICAgICAgaWYgKHRva2VuID09PSBUb2tlbi5RVUVTVElPTikge1xuICAgICAgICAgICAgY29uc3VtZShUb2tlbi5RVUVTVElPTik7XG4gICAgICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgICAgIHR5cGU6IFN5bnRheC5OdWxsYWJsZVR5cGUsXG4gICAgICAgICAgICAgICAgZXhwcmVzc2lvbjogZXhwcixcbiAgICAgICAgICAgICAgICBwcmVmaXg6IGZhbHNlXG4gICAgICAgICAgICB9O1xuICAgICAgICB9XG5cbiAgICAgICAgaWYgKHRva2VuID09PSBUb2tlbi5MQlJBQ0spIHtcbiAgICAgICAgICAgIGNvbnN1bWUoVG9rZW4uTEJSQUNLKTtcbiAgICAgICAgICAgIGV4cGVjdChUb2tlbi5SQlJBQ0ssICdleHBlY3RlZCBhbiBhcnJheS1zdHlsZSB0eXBlIGRlY2xhcmF0aW9uICgnICsgdmFsdWUgKyAnW10pJyk7XG4gICAgICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgICAgIHR5cGU6IFN5bnRheC5UeXBlQXBwbGljYXRpb24sXG4gICAgICAgICAgICAgICAgZXhwcmVzc2lvbjoge1xuICAgICAgICAgICAgICAgICAgICB0eXBlOiBTeW50YXguTmFtZUV4cHJlc3Npb24sXG4gICAgICAgICAgICAgICAgICAgIG5hbWU6ICdBcnJheSdcbiAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgIGFwcGxpY2F0aW9uczogW2V4cHJdXG4gICAgICAgICAgICB9O1xuICAgICAgICB9XG5cbiAgICAgICAgcmV0dXJuIGV4cHI7XG4gICAgfVxuXG4gICAgLy8gVG9wTGV2ZWxUeXBlRXhwcmVzc2lvbiA6PVxuICAgIC8vICAgICAgVHlwZUV4cHJlc3Npb25cbiAgICAvLyAgICB8IFR5cGVVbmlvbkxpc3RcbiAgICAvL1xuICAgIC8vIFRoaXMgcnVsZSBpcyBHb29nbGUgQ2xvc3VyZSBDb21waWxlciBleHRlbnNpb24sIG5vdCBFUzRcbiAgICAvLyBsaWtlLFxuICAgIC8vICAgeyBudW1iZXIgfCBzdHJpbmcgfVxuICAgIC8vIElmIHN0cmljdCB0byBFUzQsIHdlIHNob3VsZCB3cml0ZSBpdCBhc1xuICAgIC8vICAgeyAobnVtYmVyfHN0cmluZykgfVxuICAgIGZ1bmN0aW9uIHBhcnNlVG9wKCkge1xuICAgICAgICB2YXIgZXhwciwgZWxlbWVudHM7XG5cbiAgICAgICAgZXhwciA9IHBhcnNlVHlwZUV4cHJlc3Npb24oKTtcbiAgICAgICAgaWYgKHRva2VuICE9PSBUb2tlbi5QSVBFKSB7XG4gICAgICAgICAgICByZXR1cm4gZXhwcjtcbiAgICAgICAgfVxuXG4gICAgICAgIGVsZW1lbnRzID0gWyBleHByIF07XG4gICAgICAgIGNvbnN1bWUoVG9rZW4uUElQRSk7XG4gICAgICAgIHdoaWxlICh0cnVlKSB7XG4gICAgICAgICAgICBlbGVtZW50cy5wdXNoKHBhcnNlVHlwZUV4cHJlc3Npb24oKSk7XG4gICAgICAgICAgICBpZiAodG9rZW4gIT09IFRva2VuLlBJUEUpIHtcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGNvbnN1bWUoVG9rZW4uUElQRSk7XG4gICAgICAgIH1cblxuICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgdHlwZTogU3ludGF4LlVuaW9uVHlwZSxcbiAgICAgICAgICAgIGVsZW1lbnRzOiBlbGVtZW50c1xuICAgICAgICB9O1xuICAgIH1cblxuICAgIGZ1bmN0aW9uIHBhcnNlVG9wUGFyYW1UeXBlKCkge1xuICAgICAgICB2YXIgZXhwcjtcblxuICAgICAgICBpZiAodG9rZW4gPT09IFRva2VuLlJFU1QpIHtcbiAgICAgICAgICAgIGNvbnN1bWUoVG9rZW4uUkVTVCk7XG4gICAgICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgICAgIHR5cGU6IFN5bnRheC5SZXN0VHlwZSxcbiAgICAgICAgICAgICAgICBleHByZXNzaW9uOiBwYXJzZVRvcCgpXG4gICAgICAgICAgICB9O1xuICAgICAgICB9XG5cbiAgICAgICAgZXhwciA9IHBhcnNlVG9wKCk7XG4gICAgICAgIGlmICh0b2tlbiA9PT0gVG9rZW4uRVFVQUwpIHtcbiAgICAgICAgICAgIGNvbnN1bWUoVG9rZW4uRVFVQUwpO1xuICAgICAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgICAgICB0eXBlOiBTeW50YXguT3B0aW9uYWxUeXBlLFxuICAgICAgICAgICAgICAgIGV4cHJlc3Npb246IGV4cHJcbiAgICAgICAgICAgIH07XG4gICAgICAgIH1cblxuICAgICAgICByZXR1cm4gZXhwcjtcbiAgICB9XG5cbiAgICBmdW5jdGlvbiBwYXJzZVR5cGUoc3JjLCBvcHQpIHtcbiAgICAgICAgdmFyIGV4cHI7XG5cbiAgICAgICAgc291cmNlID0gc3JjO1xuICAgICAgICBsZW5ndGggPSBzb3VyY2UubGVuZ3RoO1xuICAgICAgICBpbmRleCA9IDA7XG4gICAgICAgIHByZXZpb3VzID0gMDtcblxuICAgICAgICBuZXh0KCk7XG4gICAgICAgIGV4cHIgPSBwYXJzZVRvcCgpO1xuXG4gICAgICAgIGlmIChvcHQgJiYgb3B0Lm1pZHN0cmVhbSkge1xuICAgICAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgICAgICBleHByZXNzaW9uOiBleHByLFxuICAgICAgICAgICAgICAgIGluZGV4OiBwcmV2aW91c1xuICAgICAgICAgICAgfTtcbiAgICAgICAgfVxuXG4gICAgICAgIGlmICh0b2tlbiAhPT0gVG9rZW4uRU9GKSB7XG4gICAgICAgICAgICB1dGlsaXR5LnRocm93RXJyb3IoJ25vdCByZWFjaCB0byBFT0YnKTtcbiAgICAgICAgfVxuXG4gICAgICAgIHJldHVybiBleHByO1xuICAgIH1cblxuICAgIGZ1bmN0aW9uIHBhcnNlUGFyYW1UeXBlKHNyYywgb3B0KSB7XG4gICAgICAgIHZhciBleHByO1xuXG4gICAgICAgIHNvdXJjZSA9IHNyYztcbiAgICAgICAgbGVuZ3RoID0gc291cmNlLmxlbmd0aDtcbiAgICAgICAgaW5kZXggPSAwO1xuICAgICAgICBwcmV2aW91cyA9IDA7XG5cbiAgICAgICAgbmV4dCgpO1xuICAgICAgICBleHByID0gcGFyc2VUb3BQYXJhbVR5cGUoKTtcblxuICAgICAgICBpZiAob3B0ICYmIG9wdC5taWRzdHJlYW0pIHtcbiAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgICAgZXhwcmVzc2lvbjogZXhwcixcbiAgICAgICAgICAgICAgICBpbmRleDogcHJldmlvdXNcbiAgICAgICAgICAgIH07XG4gICAgICAgIH1cblxuICAgICAgICBpZiAodG9rZW4gIT09IFRva2VuLkVPRikge1xuICAgICAgICAgICAgdXRpbGl0eS50aHJvd0Vycm9yKCdub3QgcmVhY2ggdG8gRU9GJyk7XG4gICAgICAgIH1cblxuICAgICAgICByZXR1cm4gZXhwcjtcbiAgICB9XG5cbiAgICBmdW5jdGlvbiBzdHJpbmdpZnlJbXBsKG5vZGUsIGNvbXBhY3QsIHRvcExldmVsKSB7XG4gICAgICAgIHZhciByZXN1bHQsIGksIGl6O1xuXG4gICAgICAgIHN3aXRjaCAobm9kZS50eXBlKSB7XG4gICAgICAgIGNhc2UgU3ludGF4Lk51bGxhYmxlTGl0ZXJhbDpcbiAgICAgICAgICAgIHJlc3VsdCA9ICc/JztcbiAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgIGNhc2UgU3ludGF4LkFsbExpdGVyYWw6XG4gICAgICAgICAgICByZXN1bHQgPSAnKic7XG4gICAgICAgICAgICBicmVhaztcblxuICAgICAgICBjYXNlIFN5bnRheC5OdWxsTGl0ZXJhbDpcbiAgICAgICAgICAgIHJlc3VsdCA9ICdudWxsJztcbiAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgIGNhc2UgU3ludGF4LlVuZGVmaW5lZExpdGVyYWw6XG4gICAgICAgICAgICByZXN1bHQgPSAndW5kZWZpbmVkJztcbiAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgIGNhc2UgU3ludGF4LlZvaWRMaXRlcmFsOlxuICAgICAgICAgICAgcmVzdWx0ID0gJ3ZvaWQnO1xuICAgICAgICAgICAgYnJlYWs7XG5cbiAgICAgICAgY2FzZSBTeW50YXguVW5pb25UeXBlOlxuICAgICAgICAgICAgaWYgKCF0b3BMZXZlbCkge1xuICAgICAgICAgICAgICAgIHJlc3VsdCA9ICcoJztcbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgcmVzdWx0ID0gJyc7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIGZvciAoaSA9IDAsIGl6ID0gbm9kZS5lbGVtZW50cy5sZW5ndGg7IGkgPCBpejsgKytpKSB7XG4gICAgICAgICAgICAgICAgcmVzdWx0ICs9IHN0cmluZ2lmeUltcGwobm9kZS5lbGVtZW50c1tpXSwgY29tcGFjdCk7XG4gICAgICAgICAgICAgICAgaWYgKChpICsgMSkgIT09IGl6KSB7XG4gICAgICAgICAgICAgICAgICAgIHJlc3VsdCArPSAnfCc7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICBpZiAoIXRvcExldmVsKSB7XG4gICAgICAgICAgICAgICAgcmVzdWx0ICs9ICcpJztcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgIGNhc2UgU3ludGF4LkFycmF5VHlwZTpcbiAgICAgICAgICAgIHJlc3VsdCA9ICdbJztcbiAgICAgICAgICAgIGZvciAoaSA9IDAsIGl6ID0gbm9kZS5lbGVtZW50cy5sZW5ndGg7IGkgPCBpejsgKytpKSB7XG4gICAgICAgICAgICAgICAgcmVzdWx0ICs9IHN0cmluZ2lmeUltcGwobm9kZS5lbGVtZW50c1tpXSwgY29tcGFjdCk7XG4gICAgICAgICAgICAgICAgaWYgKChpICsgMSkgIT09IGl6KSB7XG4gICAgICAgICAgICAgICAgICAgIHJlc3VsdCArPSBjb21wYWN0ID8gJywnIDogJywgJztcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICByZXN1bHQgKz0gJ10nO1xuICAgICAgICAgICAgYnJlYWs7XG5cbiAgICAgICAgY2FzZSBTeW50YXguUmVjb3JkVHlwZTpcbiAgICAgICAgICAgIHJlc3VsdCA9ICd7JztcbiAgICAgICAgICAgIGZvciAoaSA9IDAsIGl6ID0gbm9kZS5maWVsZHMubGVuZ3RoOyBpIDwgaXo7ICsraSkge1xuICAgICAgICAgICAgICAgIHJlc3VsdCArPSBzdHJpbmdpZnlJbXBsKG5vZGUuZmllbGRzW2ldLCBjb21wYWN0KTtcbiAgICAgICAgICAgICAgICBpZiAoKGkgKyAxKSAhPT0gaXopIHtcbiAgICAgICAgICAgICAgICAgICAgcmVzdWx0ICs9IGNvbXBhY3QgPyAnLCcgOiAnLCAnO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHJlc3VsdCArPSAnfSc7XG4gICAgICAgICAgICBicmVhaztcblxuICAgICAgICBjYXNlIFN5bnRheC5GaWVsZFR5cGU6XG4gICAgICAgICAgICBpZiAobm9kZS52YWx1ZSkge1xuICAgICAgICAgICAgICAgIHJlc3VsdCA9IG5vZGUua2V5ICsgKGNvbXBhY3QgPyAnOicgOiAnOiAnKSArIHN0cmluZ2lmeUltcGwobm9kZS52YWx1ZSwgY29tcGFjdCk7XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIHJlc3VsdCA9IG5vZGUua2V5O1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgYnJlYWs7XG5cbiAgICAgICAgY2FzZSBTeW50YXguRnVuY3Rpb25UeXBlOlxuICAgICAgICAgICAgcmVzdWx0ID0gY29tcGFjdCA/ICdmdW5jdGlvbignIDogJ2Z1bmN0aW9uICgnO1xuXG4gICAgICAgICAgICBpZiAobm9kZVsndGhpcyddKSB7XG4gICAgICAgICAgICAgICAgaWYgKG5vZGVbJ25ldyddKSB7XG4gICAgICAgICAgICAgICAgICAgIHJlc3VsdCArPSAoY29tcGFjdCA/ICduZXc6JyA6ICduZXc6ICcpO1xuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIHJlc3VsdCArPSAoY29tcGFjdCA/ICd0aGlzOicgOiAndGhpczogJyk7XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgcmVzdWx0ICs9IHN0cmluZ2lmeUltcGwobm9kZVsndGhpcyddLCBjb21wYWN0KTtcblxuICAgICAgICAgICAgICAgIGlmIChub2RlLnBhcmFtcy5sZW5ndGggIT09IDApIHtcbiAgICAgICAgICAgICAgICAgICAgcmVzdWx0ICs9IGNvbXBhY3QgPyAnLCcgOiAnLCAnO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgZm9yIChpID0gMCwgaXogPSBub2RlLnBhcmFtcy5sZW5ndGg7IGkgPCBpejsgKytpKSB7XG4gICAgICAgICAgICAgICAgcmVzdWx0ICs9IHN0cmluZ2lmeUltcGwobm9kZS5wYXJhbXNbaV0sIGNvbXBhY3QpO1xuICAgICAgICAgICAgICAgIGlmICgoaSArIDEpICE9PSBpeikge1xuICAgICAgICAgICAgICAgICAgICByZXN1bHQgKz0gY29tcGFjdCA/ICcsJyA6ICcsICc7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICByZXN1bHQgKz0gJyknO1xuXG4gICAgICAgICAgICBpZiAobm9kZS5yZXN1bHQpIHtcbiAgICAgICAgICAgICAgICByZXN1bHQgKz0gKGNvbXBhY3QgPyAnOicgOiAnOiAnKSArIHN0cmluZ2lmeUltcGwobm9kZS5yZXN1bHQsIGNvbXBhY3QpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgYnJlYWs7XG5cbiAgICAgICAgY2FzZSBTeW50YXguUGFyYW1ldGVyVHlwZTpcbiAgICAgICAgICAgIHJlc3VsdCA9IG5vZGUubmFtZSArIChjb21wYWN0ID8gJzonIDogJzogJykgKyBzdHJpbmdpZnlJbXBsKG5vZGUuZXhwcmVzc2lvbiwgY29tcGFjdCk7XG4gICAgICAgICAgICBicmVhaztcblxuICAgICAgICBjYXNlIFN5bnRheC5SZXN0VHlwZTpcbiAgICAgICAgICAgIHJlc3VsdCA9ICcuLi4nO1xuICAgICAgICAgICAgaWYgKG5vZGUuZXhwcmVzc2lvbikge1xuICAgICAgICAgICAgICAgIHJlc3VsdCArPSBzdHJpbmdpZnlJbXBsKG5vZGUuZXhwcmVzc2lvbiwgY29tcGFjdCk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBicmVhaztcblxuICAgICAgICBjYXNlIFN5bnRheC5Ob25OdWxsYWJsZVR5cGU6XG4gICAgICAgICAgICBpZiAobm9kZS5wcmVmaXgpIHtcbiAgICAgICAgICAgICAgICByZXN1bHQgPSAnIScgKyBzdHJpbmdpZnlJbXBsKG5vZGUuZXhwcmVzc2lvbiwgY29tcGFjdCk7XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIHJlc3VsdCA9IHN0cmluZ2lmeUltcGwobm9kZS5leHByZXNzaW9uLCBjb21wYWN0KSArICchJztcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgIGNhc2UgU3ludGF4Lk9wdGlvbmFsVHlwZTpcbiAgICAgICAgICAgIHJlc3VsdCA9IHN0cmluZ2lmeUltcGwobm9kZS5leHByZXNzaW9uLCBjb21wYWN0KSArICc9JztcbiAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgIGNhc2UgU3ludGF4Lk51bGxhYmxlVHlwZTpcbiAgICAgICAgICAgIGlmIChub2RlLnByZWZpeCkge1xuICAgICAgICAgICAgICAgIHJlc3VsdCA9ICc/JyArIHN0cmluZ2lmeUltcGwobm9kZS5leHByZXNzaW9uLCBjb21wYWN0KTtcbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgcmVzdWx0ID0gc3RyaW5naWZ5SW1wbChub2RlLmV4cHJlc3Npb24sIGNvbXBhY3QpICsgJz8nO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgYnJlYWs7XG5cbiAgICAgICAgY2FzZSBTeW50YXguTmFtZUV4cHJlc3Npb246XG4gICAgICAgICAgICByZXN1bHQgPSBub2RlLm5hbWU7XG4gICAgICAgICAgICBicmVhaztcblxuICAgICAgICBjYXNlIFN5bnRheC5UeXBlQXBwbGljYXRpb246XG4gICAgICAgICAgICByZXN1bHQgPSBzdHJpbmdpZnlJbXBsKG5vZGUuZXhwcmVzc2lvbiwgY29tcGFjdCkgKyAnLjwnO1xuICAgICAgICAgICAgZm9yIChpID0gMCwgaXogPSBub2RlLmFwcGxpY2F0aW9ucy5sZW5ndGg7IGkgPCBpejsgKytpKSB7XG4gICAgICAgICAgICAgICAgcmVzdWx0ICs9IHN0cmluZ2lmeUltcGwobm9kZS5hcHBsaWNhdGlvbnNbaV0sIGNvbXBhY3QpO1xuICAgICAgICAgICAgICAgIGlmICgoaSArIDEpICE9PSBpeikge1xuICAgICAgICAgICAgICAgICAgICByZXN1bHQgKz0gY29tcGFjdCA/ICcsJyA6ICcsICc7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICAgICAgcmVzdWx0ICs9ICc+JztcbiAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgIGRlZmF1bHQ6XG4gICAgICAgICAgICB1dGlsaXR5LnRocm93RXJyb3IoJ1Vua25vd24gdHlwZSAnICsgbm9kZS50eXBlKTtcbiAgICAgICAgfVxuXG4gICAgICAgIHJldHVybiByZXN1bHQ7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ICAgICAgICAgIGNhc2UgJ0Fzc2lnbm1lbnRFeHByZXNzaW9uJzpcbiAgICAgICAgICAgIGNhc2UgJ0JpbmFyeUV4cHJlc3Npb24nOlxuICAgICAgICAgICAgY2FzZSAnQ2FsbEV4cHJlc3Npb24nOlxuICAgICAgICAgICAgY2FzZSAnQ29uZGl0aW9uYWxFeHByZXNzaW9uJzpcbiAgICAgICAgICAgIGNhc2UgJ0Z1bmN0aW9uRXhwcmVzc2lvbic6XG4gICAgICAgICAgICBjYXNlICdJZGVudGlmaWVyJzpcbiAgICAgICAgICAgIGNhc2UgJ0xpdGVyYWwnOlxuICAgICAgICAgICAgY2FzZSAnTG9naWNhbEV4cHJlc3Npb24nOlxuICAgICAgICAgICAgY2FzZSAnTWVtYmVyRXhwcmVzc2lvbic6XG4gICAgICAgICAgICBjYXNlICdOZXdFeHByZXNzaW9uJzpcbiAgICAgICAgICAgIGNhc2UgJ09iamVjdEV4cHJlc3Npb24nOlxuICAgICAgICAgICAgY2FzZSAnU2VxdWVuY2VFeHByZXNzaW9uJzpcbiAgICAgICAgICAgIGNhc2UgJ1RoaXNFeHByZXNzaW9uJzpcbiAgICAgICAgICAgIGNhc2UgJ1VuYXJ5RXhwcmVzc2lvbic6XG4gICAgICAgICAgICBjYXNlICdVcGRhdGVFeHByZXNzaW9uJzpcbiAgICAgICAgICAgICAgICByZXR1cm4gdHJ1ZTtcbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgfVxuXG4gICAgZnVuY3Rpb24gaXNJdGVyYXRpb25TdGF0ZW1lbnQobm9kZSkge1xuICAgICAgICBpZiAobm9kZSA9PSBudWxsKSB7IHJldHVybiBmYWxzZTsgfVxuICAgICAgICBzd2l0Y2ggKG5vZGUudHlwZSkge1xuICAgICAgICAgICAgY2FzZSAnRG9XaGlsZVN0YXRlbWVudCc6XG4gICAgICAgICAgICBjYXNlICdGb3JJblN0YXRlbWVudCc6XG4gICAgICAgICAgICBjYXNlICdGb3JTdGF0ZW1lbnQnOlxuICAgICAgICAgICAgY2FzZSAnV2hpbGVTdGF0ZW1lbnQnOlxuICAgICAgICAgICAgICAgIHJldHVybiB0cnVlO1xuICAgICAgICB9XG4gICAgICAgIHJldHVybiBmYWxzZTtcbiAgICB9XG5cbiAgICBmdW5jdGlvbiBpc1N0YXRlbWVudChub2RlKSB7XG4gICAgICAgIGlmIChub2RlID09IG51bGwpIHsgcmV0dXJuIGZhbHNlOyB9XG4gICAgICAgIHN3aXRjaCAobm9kZS50eXBlKSB7XG4gICAgICAgICAgICBjYXNlICdCbG9ja1N0YXRlbWVudCc6XG4gICAgICAgICAgICBjYXNlICdCcmVha1N0YXRlbWVudCc6XG4gICAgICAgICAgICBjYXNlICdDb250aW51ZVN0YXRlbWVudCc6XG4gICAgICAgICAgICBjYXNlICdEZWJ1Z2dlclN0YXRlbWVudCc6XG4gICAgICAgICAgICBjYXNlICdEb1doaWxlU3RhdGVtZW50JzpcbiAgICAgICAgICAgIGNhc2UgJ0VtcHR5U3RhdGVtZW50JzpcbiAgICAgICAgICAgIGNhc2UgJ0V4cHJlc3Npb25TdGF0ZW1lbnQnOlxuICAgICAgICAgICAgY2FzZSAnRm9ySW5TdGF0ZW1lbnQnOlxuICAgICAgICAgICAgY2FzZSAnRm9yU3RhdGVtZW50JzpcbiAgICAgICAgICAgIGNhc2UgJ0lmU3RhdGVtZW50JzpcbiAgICAgICAgICAgIGNhc2UgJ0xhYmVsZWRTdGF0ZW1lbnQnOlxuICAgICAgICAgICAgY2FzZSAnUmV0dXJuU3RhdGVtZW50JzpcbiAgICAgICAgICAgIGNhc2UgJ1N3aXRjaFN0YXRlbWVudCc6XG4gICAgICAgICAgICBjYXNlICdUaHJvd1N0YXRlbWVudCc6XG4gICAgICAgICAgICBjYXNlICdUcnlTdGF0ZW1lbnQnOlxuICAgICAgICAgICAgY2FzZSAnVmFyaWFibGVEZWNsYXJhdGlvbic6XG4gICAgICAgICAgICBjYXNlICdXaGlsZVN0YXRlbWVudCc6XG4gICAgICAgICAgICBjYXNlICdXaXRoU3RhdGVtZW50JzpcbiAgICAgICAgICAgICAgICByZXR1cm4gdHJ1ZTtcbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgfVxuXG4gICAgZnVuY3Rpb24gaXNTb3VyY2VFbGVtZW50KG5vZGUpIHtcbiAgICAgIHJldHVybiBpc1N0YXRlbWVudChub2RlKSB8fCBub2RlICE9IG51bGwgJiYgbm9kZS50eXBlID09PSAnRnVuY3Rpb25EZWNsYXJhdGlvbic7XG4gICAgfVxuXG4gICAgZnVuY3Rpb24gdHJhaWxpbmdTdGF0ZW1lbnQobm9kZSkge1xuICAgICAgICBzd2l0Y2ggKG5vZGUudHlwZSkge1xuICAgICAgICBjYXNlICdJZlN0YXRlbWVudCc6XG4gICAgICAgICAgICBpZiAobm9kZS5hbHRlcm5hdGUgIT0gbnVsbCkge1xuICAgICAgICAgICAgICAgIHJldHVybiBub2RlLmFsdGVybmF0ZTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHJldHVybiBub2RlLmNvbnNlcXVlbnQ7XG5cbiAgICAgICAgY2FzZSAnTGFiZWxlZFN0YXRlbWVudCc6XG4gICAgICAgIGNhc2UgJ0ZvclN0YXRlbWVudCc6XG4gICAgICAgIGNhc2UgJ0ZvckluU3RhdGVtZW50JzpcbiAgICAgICAgY2FzZSAnV2hpbGVTdGF0ZW1lbnQnOlxuICAgICAgICBjYXNlICdXaXRoU3RhdGVtZW50JzpcbiAgICAgICAgICAgIHJldHVybiBub2RlLmJvZHk7XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgfVxuXG4gICAgZnVuY3Rpb24gaXNQcm9ibGVtYXRpY0lmU3RhdGVtZW50KG5vZGUpIHtcbiAgICAgICAgdmFyIGN1cnJlbnQ7XG5cbiAgICAgICAgaWYgKG5vZGUudHlwZSAhPT0gJ0lmU3RhdGVtZW50Jykge1xuICAgICAgICAgICAgcmV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8fCAoY2ggPT09IDB4MjAyOCkgfHwgKGNoID09PSAweDIwMjkpO1xuICAgIH1cblxuICAgIC8vIDcuNiBJZGVudGlmaWVyIE5hbWVzIGFuZCBJZGVudGlmaWVyc1xuXG4gICAgZnVuY3Rpb24gaXNJZGVudGlmaWVyU3RhcnQoY2gpIHtcbiAgICAgICAgcmV0dXJuIChjaCA+PSA5NyAmJiBjaCA8PSAxMjIpIHx8ICAgICAvLyBhLi56XG4gICAgICAgICAgICAoY2ggPj0gNjUgJiYgY2ggPD0gOTApIHx8ICAgICAgICAgLy8gQS4uWlxuICAgICAgICAgICAgKGNoID09PSAzNikgfHwgKGNoID09PSA5NSkgfHwgICAgIC8vICQgKGRvbGxhcikgYW5kIF8gKHVuZGVyc2NvcmUpXG4gICAgICAgICAgICAoY2ggPT09IDkyKSB8fCAgICAgICAgICAgICAgICAgICAgLy8gXFwgKGJhY2tzbGFzaClcbiAgICAgICAgICAgICgoY2ggPj0gMHg4MCkgJiYgUmVnZXguTm9uQXNjaWlJZGVudGlmaWVyU3RhcnQudGVzdChTdHJpbmcuZnJvbUNoYXJDb2RlKGNoKSkpO1xuICAgIH1cblxuICAgIGZ1bmN0aW9uIGlzSWRlbnRpZmllclBhcnQoY2gpIHtcbiAgICAgICAgcmV0dXJuIChjaCA+PSA5NyAmJiBjaCA8PSAxMjIpIHx8ICAgICAvLyBhLi56XG4gICAgICAgICAgICAoY2ggPj0gNjUgJiYgY2ggPD0gOTApIHx8ICAgICAgICAgLy8gQS4uWlxuICAgICAgICAgICAgKGNoID49IDQ4ICYmIGNoIDw9IDU3KSB8fCAgICAgICAgIC8vIDAuLjlcbiAgICAgICAgICAgIChjaCA9PT0gMzYpIHx8IChjaCA9PT0gOTUpIHx8ICAgICAvLyAkIChkb2xsYXIpIGFuZCBfICh1bmRlcnNjb3JlKVxuICAgICAgICAgICAgKGNoID09PSA5MikgfHwgICAgICAgICAgICAgICAgICAgIC8vIFxcIChiYWNrc2xhc2gpXG4gICAgICAgIC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AgcmV0dXJuIGlzS2V5d29yZEVTNihpZCwgc3RyaWN0KTtcbiAgICB9XG5cbiAgICBmdW5jdGlvbiBpc0tleXdvcmRFUzYoaWQsIHN0cmljdCkge1xuICAgICAgICBpZiAoc3RyaWN0ICYmIGlzU3RyaWN0TW9kZVJlc2VydmVkV29yZEVTNihpZCkpIHtcbiAgICAgICAgICAgIHJldHVybiB0cnVlO1xuICAgICAgICB9XG5cbiAgICAgICAgc3dpdGNoIChpZC5sZW5ndGgpIHtcbiAgICAgICAgY2FzZSAyOlxuICAgICAgICAgICAgcmV0dXJuIChpZCA9PT0gJ2lmJykgfHwgKGlkID09PSAnaW4nKSB8fCAoaWQgPT09ICdkbycpO1xuICAgICAgICBjYXNlIDM6XG4gICAgICAgICAgICByZXR1cm4gKGlkID09PSAndmFyJykgfHwgKGlkID09PSAnZm9yJykgfHwgKGlkID09PSAnbmV3JykgfHwgKGlkID09PSAndHJ5Jyk7XG4gICAgICAgIGNhc2UgNDpcbiAgICAgICAgICAgIHJldHVybiAoaWQgPT09ICd0aGlzJykgfHwgKGlkID09PSAnZWxzZScpIHx8IChpZCA9PT0gJ2Nhc2UnKSB8fFxuICAgICAgICAgICAgICAgIChpZCA9PT0gJ3ZvaWQnKSB8fCAoaWQgPT09ICd3aXRoJykgfHwgKGlkID09PSAnZW51bScpO1xuICAgICAgICBjYXNlIDU6XG4gICAgICAgICAgICByZXR1cm4gKGlkID09PSAnd2hpbGUnKSB8fCAoaWQgPT09ICdicmVhaycpIHx8IChpZCA9PT0gJ2NhdGNoJykgfHxcbiAgICAgICAgICAgICAgICAoaWQgPT09ICd0aHJvdycpIHx8IChpZCA9PT0gJ2NvbnN0JykgfHwgKGlkID09PSAneWllbGQnKSB8fFxuICAgICAgICAgICAgICAgIChpZCA9PT0gJ2NsYXNzJykgfHwgKGlkID09PSAnc3VwZXInKTtcbiAgICAgICAgY2FzZSA2OlxuICAgICAgICAgICAgcmV0dXJuIChpZCA9PT0gJ3JldHVybicpIHx8I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nZSBtYW5hZ2VyOlxcblxcbiAgICBucG0gaW5zdGFsbCBkb2N0cmluZVxcblxcbnNpbXBsZSBleGFtcGxlOlxcblxcbiAgICBkb2N0cmluZS5wYXJzZShcXG4gICAgICAgIFtcXG4gICAgICAgICAgICBcXFwiLyoqXFxcIixcXG4gICAgICAgICAgICBcXFwiICogVGhpcyBmdW5jdGlvbiBjb21tZW50IGlzIHBhcnNlZCBieSBkb2N0cmluZVxcXCIsXFxuICAgICAgICAgICAgXFxcIiAqIEBwYXJhbSB7e29rOlN0cmluZ319IHVzZXJOYW1lXFxcIixcXG4gICAgICAgICAgICBcXFwiKi9cXFwiXFxuICAgICAgICBdLmpvaW4oJ1xcXFxuJyksIHsgdW53cmFwOiB0cnVlIH0pO1xcblxcbmFuZCBnZXRzIGZvbGxvd2luZyBpbmZvcm1hdGlvblxcblxcbiAgICB7XFxuICAgICAgICBcXFwiZGVzY3JpcHRpb25cXFwiOiBcXFwiVGhpcyBmdW5jdGlvbiBjb21tZW50IGlzIHBhcnNlZCBieSBkb2N0cmluZVxcXCIsXFxuICAgICAgICBcXFwidGFnc1xcXCI6IFtcXG4gICAgICAgICAgICB7XFxuICAgICAgICAgICAgICAgIFxcXCJ0aXRsZVxcXCI6IFxcXCJwYXJhbVxcXCIsXFxuICAgICAgICAgICAgICAgIFxcXCJkZXNjcmlwdGlvblxcXCI6IG51bGwsXFxuICAgICAgICAgICAgICAgIFxcXCJ0eXBlXFxcIjoge1xcbiAgICAgICAgICAgICAgICAgICAgXFxcInR5cGVcXFwiOiBcXFwiUmVjb3JkVHlwZVxcXCIsXFxuICAgICAgICAgICAgICAgICAgICBcXFwiZmllbGRzXFxcIjogW1xcbiAgICAgICAgICAgICAgICAgICAgICAgIHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgXFxcInR5cGVcXFwiOiBcXFwiRmllbGRUeXBlXFxcIixcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgXFxcImtleVxcXCI6IFxcXCJva1xcXCIsXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxcXCJ2YWx1ZVxcXCI6IHtcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxcXCJ0eXBlXFxcIjogXFxcIk5hbWVFeHByZXNzaW9uXFxcIixcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxcXCJuYW1lXFxcIjogXFxcIlN0cmluZ1xcXCJcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cXG4gICAgICAgICAgICAgICAgICAgIF1cXG4gICAgICAgICAgICAgICAgfSxcXG4gICAgICAgICAgICAgICAgXFxcIm5hbWVcXFwiOiBcXFwidXNlck5hbWVcXFwiXFxuICAgICAgICAgICAgfVxcbiAgICAgICAgXVxcbiAgICB9XFxuXFxuc2VlIFtkZW1vIHBhZ2VdKGh0dHA6Ly9jb25zdGVsbGF0aW9uLmdpdGh1Yi5jb20vZG9jdHJpbmUvZGVtby9pbmRleC5odG1sKSBtb3JlIGRldGFpbC5cXG5cXG4jIyMgT3B0aW9uc1xcblxcbiMjIyMgZG9jdHJpbmUucGFyc2VcXG5XZSBjYW4gcGFzcyBvcHRpb25zIHRvIGBkb2N0cmluZS5wYXJzZShjb21tZW50LCBvcHRpb25zKWAuXFxuYGBganNcXG57XFxuICAgIHVud3JhcDogYm9vbGVhbiwgICAgICAgICAgLy8gZGVmYXVsdDogZmFsc2VcXG4gICAgdGFnczogWyBzdHJpbmcgXSB8IG51bGwsICAvLyBkZWZhdWx0OiBudWxsXFxuICAgIHJlY292ZXJhYmxlOiBib29sZWFuLCAgICAgLy8gZGVmYXVsdDogZmFsc2VcXG4gICAgc2xvcHB5OiBib29sZWFuLCAgICAgICAgICAvLyBkZWZhdWx0OiBmYWxzZVxcbiAgICBsaW5lTnVtYmVyczogYm9vbGVhbiAgICAgIC8vIGRlZmF1bHQ6IGZhbHNlXFxufVxcbmBgYFxcblxcbiMjIyMjIHVud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GT05UICYmIHRuICE9PSAkLkJHU09VTkQgJiYgdG4gIT09ICQuQlIgJiYgdG4gIT09ICQuQlIgJiZcbiAgICAgICAgdG4gIT09ICQuQ09MICYmIHRuICE9PSAkLkVNQkVEICYmIHRuICE9PSAkLkZSQU1FICYmIHRuICE9PSAkLkhSICYmIHRuICE9PSAkLklNRyAmJiB0biAhPT0gJC5JTlBVVCAmJlxuICAgICAgICB0biAhPT0gJC5LRVlHRU4gJiYgdG4gIT09ICQuTElOSyAmJiB0biAhPT0gJC5NRU5VSVRFTSAmJiB0biAhPT0gJC5NRVRBICYmIHRuICE9PSAkLlBBUkFNICYmIHRuICE9PSAkLlNPVVJDRSAmJlxuICAgICAgICB0biAhPT0gJC5UUkFDSyAmJiB0biAhPT0gJC5XQlIpIHtcblxuICAgICAgICBpZiAodG4gPT09ICQuUFJFIHx8IHRuID09PSAkLlRFWFRBUkVBIHx8IHRuID09PSAkLkxJU1RJTkcpIHtcbiAgICAgICAgICAgIHZhciBmaXJzdENoaWxkID0gdGhpcy50cmVlQWRhcHRlci5nZXRGaXJzdENoaWxkKG5vZGUpO1xuXG4gICAgICAgICAgICBpZiAoZmlyc3RDaGlsZCAmJiB0aGlzLnRyZWVBZGFwdGVyLmlzVGV4dE5vZGUoZmlyc3RDaGlsZCkpIHtcbiAgICAgICAgICAgICAgICB2YXIgY29udGVudCA9IHRoaXMudHJlZUFkYXB0ZXIuZ2V0VGV4dE5vZGVDb250ZW50KGZpcnN0Q2hpbGQpO1xuXG4gICAgICAgICAgICAgICAgaWYgKGNvbnRlbnRbMF0gPT09ICdcXG4nKVxuICAgICAgICAgICAgICAgICAgICB0aGlzLmh0bWwgKz0gJ1xcbic7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICB2YXIgY2hpbGROb2Rlc0hvbGRlciA9IHRuID09PSAkLlRFTVBMQVRFICYmIG5zID09PSBOUy5IVE1MID9cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLnRyZWVBZGFwdGVyLmdldENoaWxkTm9kZXMobm9kZSlbMF0gOlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG5vZGU7XG5cbiAgICAgICAgdGhpcy5fc2VyaWFsaXplQ2hpbGROb2RlcyhjaGlsZE5vZGVzSG9sZGVyKTtcbiAgICAgICAgdGhpcy5odG1sICs9ICc8LycgKyBxdWFsaWZpZWRUbiArICc+JztcbiAgICB9XG59O1xuXG5TZXJpYWxpemVyLnByb3RvdHlwZS5fc2VyaWFsaXplQXR0cmlidXRlcyA9IGZ1bmN0aW9uIChub2RlKSB7XG4gICAgdmFyIGF0dHJzID0gdGhpcy50cmVlQWRhcHRlci5nZXRBdHRyTGlzdChub2RlKTtcblxuICAgIGZvciAodmFyIGkgPSAwLCBhdHRyc0xlbmd0aCA9IGF0dHJzLmxlbmd0aDsgaSA8IGF0dHJzTGVuZ3RoOyBpKyspIHtcbiAgICAgICAgdmFyIGF0dHIgPSBhdHRyc1tpXSxcbiAgICAgICAgICAgIHZhbHVlID0gdGhpcy5vcHRpb25zLmVuY29kZUh0bWxFbnRpdGllcyA/IGVzY2FwZVN0cmluZyhhdHRyLnZhbHVlLCB0cnVlKSA6IGF0dHIudmFsdWU7XG5cbiAgICAgICAgdGhpcy5odG1sICs9ICcgJztcblxuICAgICAgICBpZiAoIWF0dHIubmFtZXNwYWNlKVxuICAgICAgICAgICAgdGhpcy5odG1sICs9IGF0dHIubmFtZTtcblxuICAgICAgICBlbHNlIGlmIChhdHRyLm5hbWVzcGFjZSA9PT0gTlMuWE1MKVxuICAgICAgICAgICAgdGhpcy5odG1sICs9ICd4bWw6JyArIGF0dHIubmFtZTtcblxuICAgICAgICBlbHNlIGlmIChhdHRyLm5hbWVzcGFjZSA9PT0gTlMuWE1MTlMpIHtcbiAgICAgICAgICAgIGlmIChhdHRyLm5hbWUgIT09ICd4bWxucycpXG4gICAgICAgICAgICAgICAgdGhpcy5odG1sICs9ICd4bWxuczonO1xuXG4gICAgICAgICAg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weDcyOiB7bDogezB4NjU6IHtsOiB7MHg3Njoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMjU4XX19fX19fX19fX19LCAweDYzOiB7bDogezB4Njk6IHtsOiB7MHg3Mjoge2w6IHsweDYzOiB7bDogezB4M0I6IHtjOiBbMTk0XX19LCBjOiBbMTk0XX19fX19LCAweDc5OiB7bDogezB4M0I6IHtjOiBbMTA0MF19fX19fSwgMHg0NToge2w6IHsweDZDOiB7bDogezB4Njk6IHtsOiB7MHg2Nzoge2w6IHsweDNCOiB7YzogWzE5OF19fSwgYzogWzE5OF19fX19fX19LCAweDY2OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMjAwNjhdfX19fX0sIDB4Njc6IHtsOiB7MHg3Mjoge2w6IHsweDYxOiB7bDogezB4NzY6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzE5Ml19fSwgYzogWzE5Ml19fX19fX19fX0sIDB4NkM6IHtsOiB7MHg3MDoge2w6IHsweDY4OiB7bDogezB4NjE6IHtsOiB7MHgzQjoge2M6IFs5MTNdfX19fX19fX19LCAweDZEOiB7bDogezB4NjE6IHtsOiB7MHg2Mzoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMjU2XX19fX19fX19fSwgMHg0RDoge2w6IHsweDUwOiB7bDogezB4M0I6IHtjOiBbMzhdfX0sIGM6IFszOF19fX0sIDB4NkU6IHtsOiB7MHg2NDoge2w6IHsweDNCOiB7YzogWzEwODM1XX19fX19LCAweDZGOiB7bDogezB4Njc6IHtsOiB7MHg2Rjoge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbMjYwXX19fX19fX0sIDB4NzA6IHtsOiB7MHg2Njoge2w6IHsweDNCOiB7YzogWzEyMDEyMF19fX19fX19LCAweDcwOiB7bDogezB4NzA6IHtsOiB7MHg2Qzoge2w6IHsweDc5OiB7bDogezB4NDY6IHtsOiB7MHg3NToge2w6IHsweDZFOiB7bDogezB4NjM6IHtsOiB7MHg3NDoge2w6IHsweDY5OiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDNCOiB7YzogWzgyODldfX19fX19fX19fX19fX19fX19fX19fX19fSwgMHg3Mjoge2w6IHsweDY5OiB7bDogezB4NkU6IHtsOiB7MHg2Nzoge2w6IHsweDNCOiB7YzogWzE5N119fSwgYzogWzE5N119fX19fX19LCAweDczOiB7bDogezB4NjM6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzExOTk2NF19fX19fSwgMHg3Mzoge2w6IHsweDY5OiB7bDogezB4Njc6IHtsOiB7MHg2RToge2w6IHsweDNCOiB7YzogWzg3ODhdfX19fX19fX19fX0sIDB4NzQ6IHtsOiB7MHg2OToge2w6IHsweDZDOiB7bDogezB4NjQ6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzE5NV19fSwgYzogWzE5NV19fX19fX19fX0sIDB4NzU6IHtsOiB7MHg2RDoge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbMTk2XX19LCBjOiBbMTk2XX19fX19fX0sXHJcbiAgICAweDYxOiB7bDogezB4NjE6IHtsOiB7MHg2Mzoge2w6IHsweDc1OiB7bDogezB4NzQ6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzIyNV19fSwgYzogWzIyNV19fX19fX19fX0sIDB4NjI6IHtsOiB7MHg3Mjoge2w6IHsweDY1OiB7bDogezB4NzY6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzI1OV19fX19fX19fX19fSwgMHg2Mzoge2w6IHsweDNCOiB7YzogWzg3NjZdfSwgMHg2NDoge2w6IHsweDNCOiB7YzogWzg3NjddfX19LCAweDQ1OiB7bDogezB4M0I6IHtjOiBbODc2NiwgODE5XX19fSwgMHg2OToge2w6IHsweDcyOiB7bDogezB4NjM6IHtsOiB7MHgzQjoge2M6IFsyMjZdfX0sIGM6IFsyMjZdfX19fX0sIDB4NzU6IHtsOiB7MHg3NDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMTgwXX19LCBjOiBbMTgwXX19fX19LCAweDc5OiB7bDogezB4M0I6IHtjOiBbMTA3Ml19fX19fSwgMHg2NToge2w6IHsweDZDOiB7bDogezB4Njk6IHtsOiB7MHg2Nzoge2w6IHsweDNCOiB7YzogWzIzMF19fSwgYzogWzIzMF19fX19fX19LCAweDY2OiB7bDogezB4M0I6IHtjOiBbODI4OV19LCAweDcyOiB7bDogezB4M0I6IHtjOiBbMTIwMDk0XX19fX19LCAweDY3OiB7bDogezB4NzI6IHtsOiB7MHg2MToge2w6IHsweDc2OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFsyMjRdfX0sIGM6IFsyMjRdfX19fX19fX19LCAweDZDOiB7bDogezB4NjU6IHtsOiB7MHg2Njoge2w6IHsweDczOiB7bDogezB4Nzk6IHtsOiB7MHg2RDoge2w6IHsweDNCOiB7YzogWzg1MDFdfX19fX19fX19LCAweDcwOiB7bDogezB4Njg6IHtsOiB7MHgzQjoge2M6IFs4NTAxXX19fX19fX0sIDB4NzA6IHtsOiB7MHg2ODoge2w6IHsweDYxOiB7bDogezB4M0I6IHtjOiBbOTQ1XX19fX19fX19fSwgMHg2RDoge2w6IHsweDYxOiB7bDogezB4NjM6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzI1N119fX19fSwgMHg2Qzoge2w6IHsweDY3OiB7bDogezB4M0I6IHtjOiBbMTA4MTVdfX19fX19fSwgMHg3MDoge2w6IHsweDNCOiB7YzogWzM4XX19LCBjOiBbMzhdfX19LCAweDZFOiB7bDogezB4NjQ6IHtsOiB7MHg2MToge2w6IHsweDZFOiB7bDogezB4NjQ6IHtsOiB7MHgzQjoge2M6IFsxMDgzN119fX19fX19LCAweDNCOiB7YzogWzg3NDNdfSwgMHg2NDoge2w6IHsweDNCOiB7YzogWzEwODQ0XX19fSwgMHg3Mzoge2w6IHsweDZDOiB7bDogezB4NkY6IHtsOiB7MHg3MDoge2w6IHsweDY1OiB7bDogezB4M0I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iB7YzogWzIyOF19fSwgYzogWzIyOF19fX19fSwgMHg3Nzoge2w6IHsweDYzOiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDY5OiB7bDogezB4NkU6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg3NTVdfX19fX19fX19fX19fSwgMHg2OToge2w6IHsweDZFOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFsxMDc2OV19fX19fX19fX19fSxcclxuICAgIDB4NjI6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4NkI6IHtsOiB7MHg2Mzoge2w6IHsweDZGOiB7bDogezB4NkU6IHtsOiB7MHg2Nzoge2w6IHsweDNCOiB7YzogWzg3ODBdfX19fX19fX19LCAweDY1OiB7bDogezB4NzA6IHtsOiB7MHg3Mzoge2w6IHsweDY5OiB7bDogezB4NkM6IHtsOiB7MHg2Rjoge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbMTAxNF19fX19fX19fX19fX19fX0sIDB4NzA6IHtsOiB7MHg3Mjoge2w6IHsweDY5OiB7bDogezB4NkQ6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzgyNDVdfX19fX19fX19fX0sIDB4NzM6IHtsOiB7MHg2OToge2w6IHsweDZEOiB7bDogezB4M0I6IHtjOiBbODc2NV19LCAweDY1OiB7bDogezB4NzE6IHtsOiB7MHgzQjoge2M6IFs4OTA5XX19fX19fX19fX19fX19fSwgMHg3Mjoge2w6IHsweDc2OiB7bDogezB4NjU6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzg4OTNdfX19fX19fSwgMHg3Nzoge2w6IHsweDY1OiB7bDogezB4NjQ6IHtsOiB7MHgzQjoge2M6IFs4OTY1XX0sIDB4Njc6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzg5NjVdfX19fX19fX19fX19fX19LCAweDYyOiB7bDogezB4NzI6IHtsOiB7MHg2Qjoge2w6IHsweDNCOiB7YzogWzkxNDFdfSwgMHg3NDoge2w6IHsweDYyOiB7bDogezB4NzI6IHtsOiB7MHg2Qjoge2w6IHsweDNCOiB7YzogWzkxNDJdfX19fX19fX19fX19fX19LCAweDYzOiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDY3OiB7bDogezB4M0I6IHtjOiBbODc4MF19fX19fX19LCAweDc5OiB7bDogezB4M0I6IHtjOiBbMTA3M119fX19fSwgMHg2NDoge2w6IHsweDcxOiB7bDogezB4NzU6IHtsOiB7MHg2Rjoge2w6IHsweDNCOiB7YzogWzgyMjJdfX19fX19fX19LCAweDY1OiB7bDogezB4NjM6IHtsOiB7MHg2MToge2w6IHsweDc1OiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFs4NzU3XX0sIDB4NjU6IHtsOiB7MHgzQjoge2M6IFs4NzU3XX19fX19fX19fX19LCAweDZEOiB7bDogezB4NzA6IHtsOiB7MHg3NDoge2w6IHsweDc5OiB7bDogezB4NzY6IHtsOiB7MHgzQjoge2M6IFsxMDY3Ml19fX19fX19fX19fSwgMHg3MDoge2w6IHsweDczOiB7bDogezB4Njk6IHtsOiB7MHgzQjoge2M6IFsxMDE0XX19fX19fX0sIDB4NzI6IHtsOiB7MHg2RToge2w6IHsweDZGOiB7bDogezB4NzU6IHtsOiB7MHgzQjoge2M6IFs4NDkyXX19fX19fX19fSwgMHg3NDoge2w6IHsweDYxOiB7bDogezB4M0I6IHtjOiBbOTQ2XX19fSwgMHg2ODoge2w6IHsweDNCOiB7YzogWzg1MDJdfX19LCAweDc3OiB7bDogezB4NjU6IHtsOiB7MHg2NToge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbODgxMl19fX19fX19fX19fX19LCAweDY2OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMjAwOTVdfX19fX0sIDB4Njk6IHtsOiB7MHg2Nzoge2w6IHsweDYzOiB7bDogezB4NjE6IHtsOiB7MHg3MDoge2w6IHsweDNCOiB7YzogWzg4OThdfX19fX0sIDB4Njk6IHtsOiB7MHg3Mjoge2w6IHsweDYzOiB7bDogezB4M0I6IHtjOiBbOTcxMV19fX19fX19LCAweDc1OiB7bDogezB4NzA6IHtsOiB7MHgzQjoge2M6IFs4ODk5XX19fX19fX0sIDB4NkY6IHtsOiB7MHg2NDoge2w6IHsweDZGOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFsxMDc1Ml19fX19fX19LCAweDcwOiB7bDogezB4NkM6IHtsOiB7MHg3NToge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbMTA3NTNdfX19fX19fX19LCAweDc0OiB7bDogezB4Njk6IHtsOiB7MHg2RDoge2w6IHsweDY1OiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFsxMDc1NF19fX19fX19fX19fX19LCAweDczOiB7bDogezB4NzE6IHtsOiB7MHg2Mzoge2w6IHsweDc1OiB7bDogezB4NzA6IHtsOiB7MHgzQjoge2M6IFsxMDc1OF19fX19fX19fX0sIDB4NzQ6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbOTczM119fX19fX19fX0sIDB4NzQ6IHtsOiB7MHg3Mjoge2w6IHsweDY5OiB7bDogezB4NjE6IHtsOiB7MHg2RToge2w6IHsweDY3OiB7bDogezB4NkM6IHtsOiB7MHg2NToge2w6IHsweDY0OiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbOTY2MV19fX19fX19fX0sIDB4NzU6IHtsOiB7MHg3MDoge2w6IHsweDNCOiB7YzogWzk2NTFdfX19fX19fX19fX19fX19fX19fX19LCAweDc1OiB7bDogezB4NzA6IHtsOiB7MHg2Qzoge2w6IHsweDc1OiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFsxMDc1Nl19fX19fX19fX19fSwgMHg3Njoge2w6IHsweDY1OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4ODk3XX19fX19fX0sIDB4Nzc6IHtsOiB7MHg2NToge2w6IHsweDY0OiB7bDogezB4Njc6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzg4OTZdfX19fX19fX19fX19fX19LCAweDZCOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFsxMDUwOV19fX19fX19fX19fSwgMHg2Qzoge2w6IHsweDYxOiB7bDogezB4NjM6IHtsOiB7MHg2Qjoge2w6IHsweDZDOiB7bDogezB4NkY6IHtsOiB7MHg3QToge2w6IHsweDY1OiB7bDogezB4NkU6IHtsOiB7MHg2Nzoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMTA3MzFdfX19fX19fX19fX19fX19LCAweDczOiB7bDogezB4NzE6IHtsOiB7MHg3NToge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzk2NDJdfX19fX19fX19fX19fSwgMHg3NDoge2w6IHsweDcyOiB7bDogezB4Njk6IHtsOiB7MHg2MToge2w6IHsweDZFOiB7bDogezB4Njc6IHtsOiB7MHg2Qzoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbOTY1Ml19LCAweDY0OiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbOTY2Ml19fX19fX19fX0sIDB4NkM6IHtsOiB7MHg2NToge2w6IHsweDY2OiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs5NjY2XX19fX19fX19fSwgMHg3Mjoge2w6IHsweDY5OiB7bDogezB4Njc6IHtsOiB7MHg2ODoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbOTY1Nl19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDZFOiB7bDogezB4NkI6IHtsOiB7MHgzQjoge2M6IFs5MjUxXX19fX19fX0sIDB4NkI6IHtsOiB7MHgzMToge2w6IHsweDMyOiB7bDogezB4M0I6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MHg2Mzoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTE5OTkxXX19fX19LCAweDY1OiB7bDogezB4NkQ6IHtsOiB7MHg2OToge2w6IHsweDNCOiB7YzogWzgyNzFdfX19fX19fSwgMHg2OToge2w6IHsweDZEOiB7bDogezB4M0I6IHtjOiBbODc2NV19LCAweDY1OiB7bDogezB4M0I6IHtjOiBbODkwOV19fX19fX19LCAweDZGOiB7bDogezB4NkM6IHtsOiB7MHg2Mjoge2w6IHsweDNCOiB7YzogWzEwNjkzXX19fSwgMHgzQjoge2M6IFs5Ml19LCAweDY4OiB7bDogezB4NzM6IHtsOiB7MHg3NToge2w6IHsweDYyOiB7bDogezB4M0I6IHtjOiBbMTAxODRdfX19fX19fX19fX19fX19LCAweDc1OiB7bDogezB4NkM6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzgyMjZdfSwgMHg2NToge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODIyNl19fX19fX19fX0sIDB4NkQ6IHtsOiB7MHg3MDoge2w6IHsweDNCOiB7YzogWzg3ODJdfSwgMHg0NToge2w6IHsweDNCOiB7YzogWzEwOTI2XX19fSwgMHg2NToge2w6IHsweDNCOiB7YzogWzg3ODNdfSwgMHg3MToge2w6IHsweDNCOiB7YzogWzg3ODNdfX19fX19fX19fX19fSxcclxuICAgIDB4NDI6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4NkI6IHtsOiB7MHg3Mzoge2w6IHsweDZDOiB7bDogezB4NjE6IHtsOiB7MHg3Mzoge2w6IHsweDY4OiB7bDogezB4M0I6IHtjOiBbODcyNl19fX19fX19fX19fX19fX0sIDB4NzI6IHtsOiB7MHg3Njoge2w6IHsweDNCOiB7YzogWzEwOTgzXX19fSwgMHg3Nzoge2w6IHsweDY1OiB7bDogezB4NjQ6IHtsOiB7MHgzQjoge2M6IFs4OTY2XX19fX19fX19fX19LCAweDYzOiB7bDogezB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMDQxXX19fX19LCAweDY1OiB7bDogezB4NjM6IHtsOiB7MHg2MToge2w6IHsweDc1OiB7bDogezB4NzM6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzg3NTddfX19fX19fX19fX0sIDB4NzI6IHtsOiB7MHg2RToge2w6IHsweDZGOiB7bDogezB4NzU6IHtsOiB7MHg2Qzoge2w6IHsweDZDOiB7bDogezB4Njk6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzg0OTJdfX19fX19fX19fX19fX19fX0sIDB4NzQ6IHtsOiB7MHg2MToge2w6IHsweDNCOiB7YzogWzkxNF19fX19fX19LCAweDY2OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMjAwNjldfX19fX0sIDB4NkY6IHtsOiB7MHg3MDoge2w6IHsweDY2OiB7bDogezB4M0I6IHtjOiBbMTIwMTIxXX19fX19fX0sIDB4NzI6IHtsOiB7MHg2NToge2w6IHsweDc2OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs3MjhdfX19fX19fX19LCAweDczOiB7bDogezB4NjM6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg0OTJdfX19fX19fSwgMHg3NToge2w6IHsweDZEOiB7bDogezB4NzA6IHtsOiB7MHg2NToge2w6IHsweDcxOiB7bDogezB4M0I6IHtjOiBbODc4Ml19fX19fX19fX19fX19LFxyXG4gICAgMHg0Mzoge2w6IHsweDYxOiB7bDogezB4NjM6IHtsOiB7MHg3NToge2w6IHsweDc0OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFsyNjJdfX19fX19fX19LCAweDcwOiB7bDogezB4M0I6IHtjOiBbODkxNF19LCAweDY5OiB7bDogezB4NzQ6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4NDQ6IHtsOiB7MHg2OToge2w6IHsweDY2OiB7bDogezB4NjY6IHtsOiB7MHg2NToge2w6IHsweDcyOiB7bDogezB4NjU6IHtsOiB7MHg2RToge2w6IHsweDc0OiB7bDogezB4Njk6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4NDQ6IHtsOiB7MHgzQjoge2M6IFs4NTE3XX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX0sIDB4Nzk6IHtsOiB7MHg2Qzoge2w6IHsweDY1OiB7bDogezB4Nzk6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzg0OTNdfX19fX19fX19fX19fSwgMHg2Mzoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbMjY4XX19fX19fX19fSwgMHg2NToge2w6IHsweDY0OiB7bDogezB4Njk6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzE5OV19fSwgYzogWzE5OV19fX19fX19LCAweDY5OiB7bDogezB4NzI6IHtsOiB7MHg2Mzoge2w6IHsweDNCOiB7YzogWzI2NF19fX19fX19LCAweDZGOiB7bDogezB4NkU6IHtsOiB7MHg2OToge2w6IHsweDZFOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4NzUyXX19fX19fX19fX19fX0sIDB4NjQ6IHtsOiB7MHg2Rjoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbMjY2XX19fX19fX0sIDB4NjU6IHtsOiB7MHg2NDoge2w6IHsweDY5OiB7bDogezB4NkM6IHtsOiB7MHg2Qzoge2w6IHsweDYxOiB7bDogezB4M0I6IHtjOiBbMTg0XX19fX19fX19fX19LCAweDZFOiB7bDogezB4NzQ6IHtsOiB7MHg2NToge2w6IHsweDcyOiB7bDogezB4NDQ6IHtsOiB7MHg2Rjoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbMTgzXX19fX19fX19fX19fX19fX19LCAweDY2OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs4NDkzXX19fX19LCAweDQ4OiB7bDogezB4NjM6IHtsOiB7MHg3OToge2w6IHsweDNCOiB7YzogWzEwNjNdfX19fX19fSwgMHg2ODoge2w6IHsweDY5OiB7bDogezB4M0I6IHtjOiBbOTM1XX19fX19LCAweDY5OiB7bDogezB4NzI6IHtsOiB7MHg2Mzoge2w6IHsweDZDOiB7bDogezB4NjU6IHtsOiB7MHg0NDoge2w6IHsweDZGOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4ODU3XX19fX19fX0sIDB4NEQ6IHtsOiB7MHg2OToge2w6IHsweDZFOiB7bDogezB4NzU6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzg4NTRdfX19fX19fX19fX0sIDB4NTA6IHtsOiB7MHg2Qzoge2w6IHsweDc1OiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFs4ODUzXX19fX19fX19fSwgMHg1NDoge2w6IHsweDY5OiB7bDogezB4NkQ6IHtsOiB7MHg2NToge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbODg1NV19fX19fX19fX19fX19fX19fX19fX0sIDB4NkM6IHtsOiB7MHg2Rjoge2w6IHsweDYzOiB7bDogezB4NkI6IHtsOiB7MHg3Nzoge2w6IHsweDY5OiB7bDogezB4NzM6IHtsOiB7MHg2NToge2w6IHsweDQzOiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDc0OiB7bDogezB4NkY6IHtsOiB7MHg3NToge2w6IHsweDcyOiB7bDogezB4NDk6IHtsOiB7MHg2RToge2w6IHsweDc0OiB7bDogezB4NjU6IHtsOiB7MHg2Nzoge2w6IHsweDcyOiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzg3NTRdfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fSwgMHg3Mzoge2w6IHsweDY1OiB7bDogezB4NDM6IHtsOiB7MHg3NToge2w6IHsweDcyOiB7bDogezB4NkM6IHtsOiB7MHg3OToge2w6IHsweDQ0OiB7bDogezB4NkY6IHtsOiB7MHg3NToge2w6IHsweDYyOiB7bDogezB4NkM6IHtsOiB7MHg2NToge2w6IHsweDUxOiB7bDogezB4NzU6IHtsOiB7MHg2Rjoge2w6IHsweDc0OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4MjIxXX19fX19fX19fX19fX19fX19fX19fX19LCAweDUxOiB7bDogezB4NzU6IHtsOiB7MHg2Rjoge2w6IHsweDc0OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4MjE3XX19fX19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDZGOiB7bDogezB4NkM6IHtsOiB7MHg2Rjoge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbODc1OV19LCAweDY1OiB7bDogezB4M0I6IHtjOiBbMTA4NjhdfX19fX19fX19LCAweDZFOiB7bDogezB4Njc6IHtsOiB7MHg3Mjoge2w6IHsweDc1OiB7bDogezB4NjU6IHtsOiB7MHg2RToge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODgwMV19fX19fX19fX19fX19LCAweDY5OiB7bDogezB4NkU6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg3NTFdfX19fX19fSwgMHg3NDoge2w6IHsweDZGOiB7bDogezB4NzU6IHtsOiB7MHg3Mjoge2w6IHsweDQ5OiB7bDogezB4NkU6IHtsOiB7MHg3NDoge2w6IHsweDY1OiB7bDogezB4Njc6IHtsOiB7MHg3Mjoge2w6IHsweDYxOiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFs4NzUwXX19fX19fX19fX19fX19fX19fX19fX19fX19fSwgMHg3MDoge2w6IHsweDY2OiB7bDogezB4M0I6IHtjOiBbODQ1MF19fX0sIDB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDY0OiB7bDogezB4NzU6IHtsOiB7MHg2Mzoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODcyMF19fX19fX19fX19fX19fX0sIDB4NzU6IHtsOiB7MHg2RToge2w6IHsweDc0OiB7bDogezB4NjU6IHtsOiB7MHg3Mjoge2w6IHsweDQzOiB7bDogezB4NkM6IHtsOiB7MHg2Rjoge2w6IHsweDYzOiB7bDogezB4NkI6IHtsOiB7MHg3Nzoge2w6IHsweDY5OiB7bDogezB4NzM6IHtsOiB7MHg2NToge2w6IHsweDQzOiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDc0OiB7bDogezB4NkY6IHtsOiB7MHg3NToge2w6IHsweDcyOiB7bDogezB4NDk6IHtsOiB7MHg2RToge2w6IHsweDc0OiB7bDogezB4NjU6IHtsOiB7MHg2Nzoge2w6IHsweDcyOiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzg3NTVdfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fSwgMHg0Rjoge2w6IHsweDUwOiB7bDogezB4NTk6IHtsOiB7MHgzQjoge2M6IFsxNjldfX0sIGM6IFsxNjldfX19fX0sIDB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDczOiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFsxMDc5OV19fX19fX19fX0sIDB4NzM6IHtsOiB7MHg2Mzoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTE5OTY2XX19fX19fX0sIDB4NzU6IHtsOiB7MHg3MDoge2w6IHsweDQzOiB7bDogezB4NjE6IHtsOiB7MHg3MDoge2w6IHsweDNCOiB7YzogWzg3ODFdfX19fX19fSwgMHgzQjoge2M6IFs4OTE1XX19fX19fX0sXHJcbiAgICAweDYzOiB7bDogezB4NjE6IHtsOiB7MHg2Mzoge2w6IHsweDc1OiB7bDogezB4NzQ6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzI2M119fX19fX19fX0sIDB4NzA6IHtsOiB7MHg2MToge2w6IHsweDZFOiB7bDogezB4NjQ6IHtsOiB7MHgzQjoge2M6IFsxMDgyMF19fX19fX19LCAweDYyOiB7bDogezB4NzI6IHtsOiB7MHg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6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzE4NF19fSwgYzogWzE4NF19fX19fSwgMHg2RDoge2w6IHsweDcwOiB7bDogezB4NzQ6IHtsOiB7MHg3OToge2w6IHsweDc2OiB7bDogezB4M0I6IHtjOiBbMTA2NzRdfX19fX19fX19fX0sIDB4NkU6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzE2Ml19LCAweDY1OiB7bDogezB4NzI6IHtsOiB7MHg2NDoge2w6IHsweDZGOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFsxODNdfX19fX19fX19fX19LCBjOiBbMTYyXX19fX19LCAweDY2OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMjAwOTZdfX19fX0sIDB4Njg6IHtsOiB7MHg2Mzoge2w6IHsweDc5OiB7bDogezB4M0I6IHtjOiBbMTA5NV19fX19fSwgMHg2NToge2w6IHsweDYzOiB7bDogezB4NkI6IHtsOiB7MHgzQjoge2M6IFsxMDAwM119LCAweDZEOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDZCOiB7bDogezB4M0I6IHtjOiBbMTAwMDNdfX19fX19fX19fX19fX19LCAweDY5OiB7bDogezB4M0I6IHtjOiBbOTY3XX19fX19LCAweDY5OiB7bDogezB4NzI6IHtsOiB7MHg2Mzoge2w6IHsweDNCOiB7YzogWzcxMF19LCAweDY1OiB7bDogezB4NzE6IHtsOiB7MHgzQjoge2M6IFs4NzkxXX19fX19LCAweDZDOiB7bDogezB4NjU6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4NkM6IHtsOiB7MHg2NToge2w6IHsweDY2OiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4NjM0XX19fX19fX19fSwgMHg3Mjoge2w6IHsweDY5OiB7bDogezB4Njc6IHtsOiB7MHg2ODoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODYzNV19fX19fX19fX19fX19fX19fX19fX0sIDB4NjQ6IHtsOiB7MHg2MToge2w6IHsweDczOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4ODU5XX19fX19fX0sIDB4NjM6IHtsOiB7MHg2OToge2w6IHsweDcyOiB7bDogezB4NjM6IHtsOiB7MHgzQjoge2M6IFs4ODU4XX19fX19fX19fSwgMHg2NDoge2w6IHsweDYxOiB7bDogezB4NzM6IHtsOiB7MHg2ODoge2w6IHsweDNCOiB7YzogWzg4NjFdfX19fX19fX19LCAweDUyOiB7bDogezB4M0I6IHtjOiBbMTc0XX19fSwgMHg1Mzoge2w6IHsweDNCOiB7YzogWzk0MTZdfX19fX19fX19fX0sIDB4M0I6IHtjOiBbOTY3NV19LCAweDQ1OiB7bDogezB4M0I6IHtjOiBbMTA2OTFdfX19LCAweDY1OiB7bDogezB4M0I6IHtjOiBbODc5MV19fX0sIDB4NjY6IHtsOiB7MHg2RToge2w6IHsweDY5OiB7bDogezB4NkU6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzEwNzY4XX19fX19fX19fX19LCAweDZEOiB7bDogezB4Njk6IHtsOiB7MHg2NDoge2w6IHsweDNCOiB7YzogWzEwOTkxXX19fX19fX0sIDB4NzM6IHtsOiB7MHg2Mzoge2w6IHsweDY5OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDY5MF19fX19fX19fX19fX19LCAweDZDOiB7bDogezB4NzU6IHtsOiB7MHg2Mjoge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbOTgyN119LCAweDc1OiB7bDogezB4Njk6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzk4MjddfX19fX19fX19fX19fX19LCAweDZGOiB7bDogezB4NkM6IHtsOiB7MHg2Rjoge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbNThdfSwgMHg2NToge2w6IHsweDNCOiB7YzogWzg3ODhdfSwgMHg3MToge2w6IHsweDNCO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joge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODg0NV19fX19fX19LCAweDZGOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDgyMV19fX19fSwgMHg3Mzoge2w6IHsweDNCOiB7YzogWzg3NDYsIDY1MDI0XX19fX19LCAweDcyOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODYzMV19LCAweDZEOiB7bDogezB4M0I6IHtjOiBbMTA1NTZdfX19fX19fX19LCAweDZDOiB7bDogezB4Nzk6IHtsOiB7MHg2NToge2w6IHsweDcxOiB7bDogezB4NzA6IHtsOiB7MHg3Mjoge2w6IHsweDY1OiB7bDogezB4NjM6IHtsOiB7MHgzQjoge2M6IFs4OTI2XX19fX19fX19fSwgMHg3Mzoge2w6IHsweDc1OiB7bDogezB4NjM6IHtsOiB7MHg2Mzoge2w6IHsweDNCOiB7YzogWzg5MjddfX19fX19fX19fX19fSwgMHg3Njoge2w6IHsweDY1OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4OTEwXX19fX19fX0sIDB4Nzc6IHtsOiB7MHg2NToge2w6IHsweDY0OiB7bDogezB4Njc6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzg5MTFdfX19fX19fX19fX19fX19LCAweDcyOiB7bDogezB4NjU6IHtsOiB7MHg2RToge2w6IHsweDNCOiB7YzogWzE2NF19fSwgYzogWzE2NF19fX19fSwgMHg3Njoge2w6IHsweDY1OiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDZDOiB7bDogezB4NjU6IHtsOiB7MHg2Njoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODYzMF19fX19fX19fX0sIDB4NzI6IHtsOiB7MHg2OToge2w6IHsweDY3OiB7bDogezB4Njg6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg2MzFdfX19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDc2OiB7bDogezB4NjU6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzg5MTBdfX19fX19fSwgMHg3Nzoge2w6IHsweDY1OiB7bDogezB4NjQ6IHtsOiB7MHgzQjoge2M6IFs4OTExXX19fX19fX19fSwgMHg3Nzoge2w6IHsweDYzOiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDY5OiB7bDogezB4NkU6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg3NTRdfX19fX19fX19fX19fSwgMHg2OToge2w6IHsweDZFOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4NzUzXX19fX19fX19fSwgMHg3OToge2w6IHsweDZDOiB7bDogezB4NjM6IHtsOiB7MHg3NDoge2w6IHsweDc5OiB7bDogezB4M0I6IHtjOiBbOTAwNV19fX19fX19fX19fX19LFxyXG4gICAgMHg2NDoge2w6IHsweDYxOiB7bDogezB4Njc6IHtsOiB7MHg2Nzoge2w6IHsweDY1OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs4MjI0XX19fX19fX19fSwgMHg2Qzoge2w6IHsweDY1OiB7bDogezB4NzQ6IHtsOiB7MHg2ODoge2w6IHsweDNCOiB7YzogWzg1MDRdfX19fX19fX19LCAweDcyOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs4NTk1XX19fX19LCAweDczOiB7bDogezB4Njg6IHtsOiB7MHgzQjoge2M6IFs4MjA4XX0sIDB4NzY6IHtsOiB7MHgzQjoge2M6IFs4ODY3XX19fX19fX19fSwgMHg0MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs4NjU5XX19fX19fX0sIDB4NjI6IHtsOiB7MHg2Qjoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4M0I6IHtjOiBbMTA1MTFdfX19fX19fX19fX0sIDB4NkM6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4M0I6IHtjOiBbNzMzXX19fX19fX19fSwgMHg2Mzoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbMjcxXX19fX19fX19fSwgMHg3OToge2w6IHsweDNCOiB7YzogWzEwNzZdfX19fX0sIDB4NjQ6IHtsOiB7MHg2MToge2w6IHsweDY3OiB7bDogezB4Njc6IHtsOiB7MHg2NToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODIyNV19fX19fX19fX0sIDB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg2NTBdfX19fX19fSwgMHgzQjoge2M6IFs4NTE4XX0sIDB4NkY6IHtsOiB7MHg3NDoge2w6IHsweDczOiB7bDogezB4NjU6IHtsOiB7MHg3MToge2w6IHsweDNCOiB7YzogWzEwODcxXX19fX19fX19fX19fX0sIDB4NjU6IHtsOiB7MHg2Nzoge2w6IHsweDNCOiB7YzogWzE3Nl19fSwgYzogWzE3Nl19LCAweDZDOiB7bDogezB4NzQ6IHtsOiB7MHg2MToge2w6IHsweDNCOiB7YzogWzk0OF19fX19fX19LCAweDZEOiB7bDogezB4NzA6IHtsOiB7MHg3NDoge2w6IHsweDc5OiB7bDogezB4NzY6IHtsOiB7MHgzQjoge2M6IFsxMDY3M119fX19fX19fX19fX19LCAweDY2OiB7bDogezB4Njk6IHtsOiB7MHg3Mzoge2w6IHsweDY4OiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFsxMDYyM119fX19fX19fX0sIDB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMjAwOTddfX19fX0sIDB4NDg6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA1OTddfX19fX19fSwgMHg2ODoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzg2NDNdfX19LCAweDcyOiB7bDogezB4M0I6IHtjOiBbODY0Ml19fX19fX19fX0sIDB4Njk6IHtsOiB7MHg2MToge2w6IHsweDZEOiB7bDogezB4M0I6IHtjOiBbODkwMF19LCAweDZGOiB7bDogezB4NkU6IHtsOiB7MHg2NDoge2w6IHsweDNCOiB7YzogWzg5MDBdfSwgMHg3Mzoge2w6IHsweDc1OiB7bDogezB4Njk6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzk4MzBdfX19fX19fX19fX19fX19LCAweDczOiB7bDogezB4M0I6IHtjOiBbOTgzMF19fX19fX19LCAweDY1OiB7bDogezB4M0I6IHtjOiBbMTY4XX19fSwgMHg2Nzoge2w6IHsweDYxOiB7bDogezB4NkQ6IHtsOiB7MHg2RDoge2w6IHsweDYxOiB7bDogezB4M0I6IHtjOiBbOTg5XX19fX19fX19fX19LCAweDczOiB7bDogezB4Njk6IHtsOiB7MHg2RToge2w6IHsweDNCOiB7YzogWzg5NDZdfX19fX19fSwgMHg3Njoge2w6IHsweDNCOiB7YzogWzI0N119LCAweDY5OiB7bDogezB4NjQ6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzI0N119LCAweDZGOiB7bDogezB4NkU6IHtsOiB7MHg3NDoge2w6IHsweDY5OiB7bDogezB4NkQ6IHtsOiB7MHg2NToge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbODkwM119fX19fX19fX19fX19fX19LCBjOiBbMjQ3XX19fX19LCAweDZGOiB7bDogezB4NkU6IHtsOiB7MHg3ODoge2w6IHsweDNCOiB7YzogWzg5MDNdfX19fX19fX19fX0sIDB4NkE6IHtsOiB7MHg2Mzoge2w6IHsweDc5OiB7bDogezB4M0I6IHtjOiBbMTEwNl19fX19fX19LCAweDZDOiB7bDogezB4NjM6IHtsOiB7MHg2Rjoge2w6IHsweDcyOiB7bDogezB4NkU6IHtsOiB7MHgzQjoge2M6IFs4OTkwXX19fX19fX0sIDB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDcwOiB7bDogezB4M0I6IHtjOiBbODk3M119fX19fX19fX19fSwgMHg2Rjoge2w6IHsweDZDOiB7bDogezB4NkM6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMzZdfX19fX19fX19LCAweDcwOiB7bDogezB4NjY6IHtsOiB7MHgzQjoge2M6IFsxMjAxNDldfX19fX0sIDB4NzQ6IHtsOiB7MHgzQjoge2M6IFs3MjldfSwgMHg2NToge2w6IHsweDcxOiB7bDogezB4M0I6IHtjOiBbODc4NF19LCAweDY0OiB7bDogezB4NkY6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg3ODVdfX19fX19fX19fX0sIDB4NkQ6IHtsOiB7MHg2OToge2w6IHsweDZFOiB7bDogezB4NzU6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzg3NjBdfX19fX19fX19fX0sIDB4NzA6IHtsOiB7MHg2Qzoge2w6IHsweDc1OiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFs4NzI0XX19fX19fX19fSwgMHg3Mzoge2w6IHsweDcxOiB7bDogezB4NzU6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4ODY1XX19fX19fX19fX19fX19fSwgMHg3NToge2w6IHsweDYyOiB7bDogezB4NkM6IHtsOiB7MHg2NToge2w6IHsweDYyOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDc3OiB7bDogezB4NjU6IHtsOiB7MHg2NDoge2w6IHsweDY3OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4OTY2XX19fX19fX19fX19fX19fX19fX19fX19fX0sIDB4Nzc6IHtsOiB7MHg2RToge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFs4NTk1XX19fX19fX19fX19LCAweDY0OiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDZFOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbODY1MF19fX19fX19fX19fX19fX19fX19fX0sIDB4Njg6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzA6IHtsOiB7MHg2Rjoge2w6IHsweDZGOiB7bDogezB4NkU6IHtsOiB7MHg2Qzoge2w6IHsweDY1OiB7bDogezB4NjY6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg2NDNdfX19fX19fX19LCAweDcyOiB7bDogezB4Njk6IHtsOiB7MHg2Nzoge2w6IHsweDY4OiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4NjQyXX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX0sIDB4NzI6IHtsOiB7MHg2Mjoge2w6IHsweDZCOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFsxMDUxMl19fX19fX19fX19fX19LCAweDYzOiB7bDogezB4NkY6IHtsOiB7MHg3Mjoge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbODk5MV19fX19fX19LCAweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3MDoge2w6IHsweDNCOiB7YzogWzg5NzJdfX19fX19fX19fX0sIDB4NzM6IHtsOiB7MHg2Mzoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTE5OTkzXX19fSwgMHg3OToge2w6IHsweDNCOiB7YzogWzExMDldfX19fX0sIDB4NkY6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzEwNzQyXX19fX19LCAweDc0OiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDZCOiB7bDogezB4M0I6IHtjOiBbMjczXX19fX19fX19fX19LCAweDc0OiB7bDogezB4Nj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OiB7bDogezB4M0I6IHtjOiBbODUxN119LCAweDZGOiB7bDogezB4NzQ6IHtsOiB7MHg3Mjoge2w6IHsweDYxOiB7bDogezB4Njg6IHtsOiB7MHg2NDoge2w6IHsweDNCOiB7YzogWzEwNTEzXX19fX19fX19fX19fX19fSwgMHg2NToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbODcxMV19LCAweDc0OiB7bDogezB4NjE6IHtsOiB7MHgzQjoge2M6IFs5MTZdfX19fX19fX19LCAweDY2OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMjAwNzFdfX19fX0sIDB4Njk6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4NzI6IHtsOiB7MHg2OToge2w6IHsweDc0OiB7bDogezB4Njk6IHtsOiB7MHg2Mzoge2w6IHsweDYxOiB7bDogezB4NkM6IHtsOiB7MHg0MToge2w6IHsweDYzOiB7bDogezB4NzU6IHtsOiB7MHg3NDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMTgwXX19fX19fX19fX19LCAweDQ0OiB7bDogezB4NkY6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzcyOV19fX0sIDB4NzU6IHtsOiB7MHg2Mjoge2w6IHsweDZDOiB7bDogezB4NjU6IHtsOiB7MHg0MToge2w6IHsweDYzOiB7bDogezB4NzU6IHtsOiB7MHg3NDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbNzMzXX19fX19fX19fX19fX19fX19fX19fX19LCAweDQ3OiB7bDogezB4NzI6IHtsOiB7MHg2MToge2w6IHsweDc2OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs5Nl19fX19fX19fX19fSwgMHg1NDoge2w6IHsweDY5OiB7bDogezB4NkM6IHtsOiB7MHg2NDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbNzMyXX19fX19fX19fX19fX19fX19fX19fX19fX19fSwgMHg2RDoge2w6IHsweDZGOiB7bDogezB4NkU6IHtsO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mjoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDNCOiB7YzogWzg2NTldfX19fX19fX19fX19fX19fX19fSwgMHg0Qzoge2w6IHsweDY1OiB7bDogezB4NjY6IHtsOiB7MHg3NDoge2w6IHsweDQxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFs4NjU2XX19fX19fX19fX19LCAweDUyOiB7bDogezB4Njk6IHtsOiB7MHg2Nzoge2w6IHsweDY4OiB7bDogezB4NzQ6IHtsOiB7MHg0MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4M0I6IHtjOiBbODY2MF19fX19fX19fX19fX19fX19fX19fX0sIDB4NTQ6IHtsOiB7MHg2NToge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMTA5ODBdfX19fX19fX19fX19fSwgMHg2Rjoge2w6IHsweDZFOiB7bDogezB4Njc6IHtsOiB7MHg0Qzoge2w6IHsweDY1OiB7bDogezB4NjY6IHtsOiB7MHg3NDoge2w6IHsweDQxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFsxMDIzMl19fX19fX19fX19fSwgMHg1Mjoge2w6IHsweDY5OiB7bDogezB4Njc6IHtsOiB7MHg2ODoge2w6IHsweDc0OiB7bDogezB4NDE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDNCOiB7YzogWzEwMjM0XX19fX19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDUyOiB7bDogezB4Njk6IHtsOiB7MHg2Nzoge2w6IHsweDY4OiB7bDogezB4NzQ6IHtsOiB7MHg0MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4M0I6IHtjOiBbMTAyMzNdfX19fX19fX19fX19fX19fX19fX19fX19fX19fX0sIDB4NTI6IHtsOiB7MHg2OToge2w6IHsweDY3OiB7bDogezB4Njg6IHtsOiB7MHg3NDoge2w6IHsweDQxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFs4NjU4XX19fX19fX19fX19LCAweDU0OiB7bDogezB4NjU6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzg4NzJdfX19fX19fX19fX19fX19fX0sIDB4NTU6IHtsOiB7MHg3MDoge2w6IHsweDQxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFs4NjU3XX19fX19fX19fX19LCAweDQ0OiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDZFOiB7bDogezB4NDE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDNCOiB7YzogWzg2NjFdfX19fX19fX19fX19fX19fX19fX19fX0sIDB4NTY6IHtsOiB7MHg2NToge2w6IHsweDcyOiB7bDogezB4NzQ6IHtsOiB7MHg2OToge2w6IHsweDYzOiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDQyOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg3NDFdfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fSwgMHg3Nzoge2w6IHsweDZFOiB7bDogezB4NDE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDQyOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwNTE1XX19fX19fX0sIDB4M0I6IHtjOiBbODU5NV19LCAweDU1OiB7bDogezB4NzA6IHtsOiB7MHg0MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4M0I6IHtjOiBbODY5M119fX19fX19fX19fX19fX19fX19fX19fX19LCAweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFs4NjU5XX19fX19fX19fX19LCAweDQyOiB7bDogezB4NzI6IHtsOiB7MHg2NToge2w6IHsweDc2OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs3ODVdfX19fX19fX19fX0sIDB4NEM6IHtsOiB7MHg2NToge2w6IHsweDY2OiB7bDogezB4NzQ6IHtsOiB7MHg1Mjoge2w6IHsweDY5OiB7bDogezB4Njc6IHtsOiB7MHg2ODoge2w6IHsweDc0OiB7bDogezB4NTY6IHtsOiB7MHg2NToge2w6IHsweDYzOiB7bDogezB4NzQ6IHtsOiB7MHg2Rjoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA1NzZdfX19fX19fX19fX19fX19fX19fX19fX0sIDB4NTQ6IHtsOiB7MHg2NToge2w6IHsweDY1OiB7bDogezB4NTY6IHtsOiB7MHg2NToge2w6IHsweDYzOiB7bDogezB4NzQ6IHtsOiB7MHg2Rjoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA1OTBdfX19fX19fX19fX19fX19fX19fSwgMHg1Njoge2w6IHsweDY1OiB7bDogezB4NjM6IHtsOiB7MHg3NDoge2w6IHsweDZGOiB7bDogezB4NzI6IHtsOiB7MHg0Mjoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDU4Ml19fX19fX19LCAweDNCOiB7YzogWzg2MzddfX19fX19fX19fX19fX19fX19fX19LCAweDUyOiB7bDogezB4Njk6IHtsOiB7MHg2Nzoge2w6IHsweDY4OiB7bDogezB4NzQ6IHtsOiB7MHg1NDoge2w6IHsweDY1OiB7bDogezB4NjU6IHtsOiB7MHg1Njoge2w6IHsweDY1OiB7bDogezB4NjM6IHtsOiB7MHg3NDoge2w6IHsweDZGOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDU5MV19fX19fX19fX19fX19fX19fX19LCAweDU2OiB7bDogezB4NjU6IHtsOiB7MHg2Mzoge2w6IHsweDc0OiB7bDogezB4NkY6IHtsOiB7MHg3Mjoge2w6IHsweDQyOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwNTgzXX19fX19fX0sIDB4M0I6IHtjOiBbODY0MV19fX19fX19fX19fX19fX19fX19fX19fSwgMHg1NDoge2w6IHsweDY1OiB7bDogezB4NjU6IHtsOiB7MHg0MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4M0I6IHtjOiBbODYxNV19fX19fX19fX19fSwgMHgzQjoge2M6IFs4ODY4XX19fX19fX19fX19fX0sIDB4NzM6IHtsOiB7MHg2Mzoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTE5OTY3XX19fX19LCAweDc0OiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDZCOiB7bDogezB4M0I6IHtjOiBbMjcyXX19fX19fX19fX19LCAweDUzOiB7bDogezB4NjM6IHtsOiB7MHg3OToge2w6IHsweDNCOiB7YzogWzEwMjldfX19fX19fSwgMHg1QToge2w6IHsweDYzOiB7bDogezB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMDM5XX19fX19fX19fSxcclxuICAgIDB4NDU6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4NzU6IHtsOiB7MHg3NDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMjAxXX19LCBjOiBbMjAxXX19fX19fX19fSwgMHg2Mzoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbMjgyXX19fX19fX19fSwgMHg2OToge2w6IHsweDcyOiB7bDogezB4NjM6IHtsOiB7MHgzQjoge2M6IFsyMDJdfX0sIGM6IFsyMDJdfX19fX0sIDB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMDY5XX19fX19LCAweDY0OiB7bDogezB4NkY6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzI3OF19fX19fX19LCAweDY2OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMjAwNzJdfX19fX0sIDB4Njc6IHtsOiB7MHg3Mjoge2w6IHsweDYxOiB7bDogezB4NzY6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzIwMF19fSwgYzogWzIwMF19fX19fX19fX0sIDB4NkM6IHtsOiB7MHg2NToge2w6IHsweDZEOiB7bDogezB4NjU6IHtsOiB7MHg2RToge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODcxMl19fX19fX19fX19fX19LCAweDZEOiB7bDogezB4NjE6IHtsOiB7MHg2Mzoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMjc0XX19fX19fX0sIDB4NzA6IHtsOiB7MHg3NDoge2w6IHsweDc5OiB7bDogezB4NTM6IHtsOiB7MHg2RDoge2w6IHsweDYxOiB7bDogezB4NkM6IHtsOiB7MHg2Qzoge2w6IHsweDUzOiB7bDogezB4NzE6IHtsOiB7MHg3NToge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzk3MjNdfX19fX19fX19fX19fX19fX19fX19fX0sIDB4NTY6IHtsOiB7MHg2NToge2w6IHsweDcyOiB7bDogezB4Nzk6IHtsOiB7MHg1Mzoge2w6IHsweDZEOiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDZDOiB7bDogezB4NTM6IHtsOiB7MHg3MToge2w6IHsweDc1OiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbOTY0M119fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX0sIDB4NEU6IHtsOiB7MHg0Nzoge2w6IHsweDNCOiB7YzogWzMzMF19fX19fSwgMHg2Rjoge2w6IHsweDY3OiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDNCOiB7YzogWzI4MF19fX19fX19LCAweDcwOiB7bDogezB4NjY6IHtsOiB7MHgzQjoge2M6IFsxMjAxMjRdfX19fX19fSwgMHg3MDoge2w6IHsweDczOiB7bDogezB4Njk6IHtsOiB7MHg2Qzoge2w6IHsweDZGOiB7bDogezB4NkU6IHtsOiB7MHgzQjoge2M6IFs5MTddfX19fX19fX19fX19fSwgMHg3MToge2w6IHsweDc1OiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzEwODY5XX0sIDB4NTQ6IHtsOiB7MHg2OToge2w6IHsweDZDOiB7bDogezB4NjQ6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzg3NzBdfX19fX19fX19fX19fX19LCAweDY5OiB7bDogezB4NkM6IHtsOiB7MHg2OToge2w6IHsweDYyOiB7bDogezB4NzI6IHtsOiB7MHg2OToge2w6IHsweDc1OiB7bDogezB4NkQ6IHtsOiB7MHgzQjoge2M6IFs4NjUyXX19fX19fX19fX19fX19fX19fX19fSwgMHg3Mzoge2w6IHsweDYzOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs4NDk2XX19fX19LCAweDY5OiB7bDogezB4NkQ6IHtsOiB7MHgzQjoge2M6IFsxMDg2N119fX19fX19LCAweDc0OiB7bDogezB4NjE6IHtsOiB7MHgzQjoge2M6IFs5MTldfX19fX0sIDB4NTQ6IHtsOiB7MHg0ODoge2w6IHsweDNCOiB7YzogWzIwOF19fSwgYzogWzIwOF19fX0sIDB4NzU6IHtsOiB7MHg2RDoge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbMjAzXX19LCBjOiBbMjAzXX19fX19LCAweDc4OiB7bDogezB4Njk6IHtsOiB7MHg3Mzoge2w6IHsweDc0OiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFs4NzA3XX19fX19fX19fSwgMHg3MDoge2w6IHsweDZGOiB7bDogezB4NkU6IHtsOiB7MHg2NToge2w6IHsweDZFOiB7bDogezB4NzQ6IHtsOiB7MHg2OToge2w6IHsweDYxOiB7bDogezB4NkM6IHtsOiB7MHg0NToge2w6IHsweDNCOiB7YzogWzg1MTldfX19fX19fX19fX19fX19fX19fX19fX19fSxcclxuICAgIDB4NjU6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4NzU6IHtsOiB7MHg3NDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMjMzXX19LCBjOiBbMjMzXX19fX19fX0sIDB4NzM6IHtsOiB7MHg3NDoge2w6IHsweDY1OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDg2Ml19fX19fX19fX19fSwgMHg2Mzoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbMjgzXX19fX19fX19fSwgMHg2OToge2w6IHsweDcyOiB7bDogezB4NjM6IHtsOiB7MHgzQjoge2M6IFsyMzRdfX0sIGM6IFsyMzRdfSwgMHgzQjoge2M6IFs4NzkwXX19fX19LCAweDZGOiB7bDogezB4NkM6IHtsOiB7MHg2Rjoge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbODc4OV19fX19fX19fX0sIDB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMTAxXX19fX19LCAweDQ0OiB7bDogezB4NDQ6IHtsOiB7MHg2Rjoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbMTA4NzFdfX19fX19fSwgMHg2Rjoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODc4NV19fX19fX19LCAweDY0OiB7bDogezB4NkY6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzI3OV19fX19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IHsweDMxOiB7bDogezB4MzM6IHtsOiB7MHgzQjoge2M6IFs4MTk2XX19fSwgMHgzNDoge2w6IHsweDNCOiB7YzogWzgxOTddfX19fX0sIDB4M0I6IHtjOiBbODE5NV19fX19fX19LCAweDZFOiB7bDogezB4Njc6IHtsOiB7MHgzQjoge2M6IFszMzFdfX19LCAweDczOiB7bDogezB4NzA6IHtsOiB7MHgzQjoge2M6IFs4MTk0XX19fX19fX0sIDB4NkY6IHtsOiB7MHg2Nzoge2w6IHsweDZGOiB7bDogezB4NkU6IHtsOiB7MHgzQjoge2M6IFsyODFdfX19fX19fSwgMHg3MDoge2w6IHsweDY2OiB7bDogezB4M0I6IHtjOiBbMTIwMTUwXX19fX19fX0sIDB4NzA6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODkxN119LCAweDczOiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFsxMDcyM119fX19fX19fX0sIDB4NkM6IHtsOiB7MHg3NToge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbMTA4NjVdfX19fX19fSwgMHg3Mzoge2w6IHsweDY5OiB7bDogezB4M0I6IHtjOiBbOTQ5XX0sIDB4NkM6IHtsOiB7MHg2Rjoge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbOTQ5XX19fX19fX0sIDB4NzY6IHtsOiB7MHgzQjoge2M6IFsxMDEzXX19fX19fX19fSwgMHg3MToge2w6IHsweDYzOiB7bDogezB4Njk6IHtsOiB7MHg3Mjoge2w6IHsweDYzOiB7bDogezB4M0I6IHtjOiBbODc5MF19fX19fX19LCAweDZGOiB7bDogezB4NkM6IHtsOiB7MHg2Rjoge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbODc4OV19fX19fX19fX19fSwgMHg3Mzoge2w6IHsweDY5OiB7bDogezB4NkQ6IHtsOiB7MHgzQjoge2M6IFs4NzcwXX19fX19LCAweDZDOiB7bDogezB4NjE6IHtsOiB7MHg2RToge2w6IHsweDc0OiB7bDogezB4Njc6IHtsOiB7MHg3NDoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA5MDJdfX19fX19fSwgMHg2Qzoge2w6IHsweDY1OiB7bDogezB4NzM6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzEwOTAxXX19fX19fX19fX19fX19fX19fX0sIDB4NzU6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFs2MV19fX19fX19LCAweDY1OiB7bDogezB4NzM6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg3OTldfX19fX19fSwgMHg2OToge2w6IHsweDc2OiB7bDogezB4M0I6IHtjOiBbODgwMV19LCAweDQ0OiB7bDogezB4NDQ6IHtsOiB7MHgzQjoge2M6IFsxMDg3Ml19fX19fX19fX19fSwgMHg3Njoge2w6IHsweDcwOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDczOiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFsxMDcyNV19fX19fX19fX19fX19fX0sIDB4NzI6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDYwOV19fX19fX19LCAweDQ0OiB7bDogezB4NkY6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg3ODddfX19fX19fX19LCAweDczOiB7bDogezB4NjM6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg0OTVdfX19fX0sIDB4NjQ6IHtsOiB7MHg2Rjoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODc4NF19fX19fX19LCAweDY5OiB7bDogezB4NkQ6IHtsOiB7MHgzQjoge2M6IFs4NzcwXX19fX19fX0sIDB4NzQ6IHtsOiB7MHg2MToge2w6IHsweDNCOiB7YzogWzk1MV19fX0sIDB4Njg6IHtsOiB7MHgzQjoge2M6IFsyNDBdfX0sIGM6IFsyNDBdfX19LCAweDc1OiB7bDogezB4NkQ6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzIzNV19fSwgYzogWzIzNV19fX0sIDB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDNCOiB7YzogWzgzNjRdfX19fX19fSwgMHg3ODoge2w6IHsweDYzOiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFszM119fX19fSwgMHg2OToge2w6IHsweDczOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4NzA3XX19fX19fX0sIDB4NzA6IHtsOiB7MHg2NToge2w6IHsweDYzOiB7bDogezB4NzQ6IHtsOiB7MHg2MToge2w6IHsweDc0OiB7bDogezB4Njk6IHtsOiB7MHg2Rjoge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbODQ5Nl19fX19fX19fX19fX19fX19fSwgMHg2Rjoge2w6IHsweDZFOiB7bDogezB4NjU6IHtsOiB7MHg2RToge2w6IHsweDc0OiB7bDogezB4Njk6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4NTE5XX19fX19fX19fX19fX19fX19fX19fX19fX0sXHJcbiAgICAweDY2OiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDZDOiB7bDogezB4Njk6IHtsOiB7MHg2RToge2w6IHsweDY3OiB7bDogezB4NjQ6IHtsOiB7MHg2Rjoge2w6IHsweDc0OiB7bDogezB4NzM6IHtsOiB7MHg2NToge2w6IHsweDcxOiB7bDogezB4M0I6IHtjOiBbODc4Nl19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDYzOiB7bDogezB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMDkyXX19fX19LCAweDY1OiB7bDogezB4NkQ6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs5NzkyXX19fX19fX19fX19LCAweDY2OiB7bDogezB4Njk6IHtsOiB7MHg2Qzoge2w6IHsweDY5OiB7bDogezB4Njc6IHtsOiB7MHgzQjoge2M6IFs2NDI1OV19fX19fX19fX0sIDB4NkM6IHtsOiB7MHg2OToge2w6IHsweDY3OiB7bDogezB4M0I6IHtjOiBbNjQyNTZdfX19fX0sIDB4NkM6IHtsOiB7MHg2OToge2w6IHsweDY3OiB7bDogezB4M0I6IHtjOiBbNjQyNjBdfX19fX19fX19LCAweDcyOiB7bDogezB4M0I6IHtjOiBbMTIwMDk5XX19fX19LCAweDY5OiB7bDogezB4NkM6IHtsOiB7MHg2OToge2w6IHsweDY3OiB7bDogezB4M0I6IHtjOiBbNjQyNTddfX19fX19fX19LCAweDZBOiB7bDogezB4NkM6IHtsOiB7MHg2OToge2w6IHsweDY3OiB7bDogezB4M0I6IHtjOiBbMTAyLCAxMDZdfX19fX19fX19LCAweDZDOiB7bDogezB4NjE6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzk4MzddfX19fX0sIDB4NkM6IHtsOiB7MHg2OToge2w6IHsweDY3OiB7bDogezB4M0I6IHtjOiBbNjQyNThdfX19fX19fSwgMHg3NDoge2w6IHsweDZFOiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFs5NjQ5XX19fX19fX19fSwgMHg2RToge2w6IHsweDZGOiB7bDogezB4NjY6IHtsOiB7MHgzQjoge2M6IFs0MDJdfX19fX19fSwgMHg2Rjoge2w6IHsweDcwOiB7bDogezB4NjY6IHtsOiB7MHgzQjoge2M6IFsxMjAxNTFdfX19fX0sIDB4NzI6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFs4NzA0XX19fX19fX0sIDB4NkI6IHtsOiB7MHgzQjoge2M6IFs4OTE2XX0sIDB4NzY6IHtsOiB7MHgzQjoge2M6IFsxMDk2OV19fX19fX19fX0sIDB4NzA6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzQ6IHtsOiB7MHg2OToge2w6IHsweDZFOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFsxMDc2NV19fX19fX19fX19fX19fX0sIDB4NzI6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4MzE6IHtsOiB7MHgzMjoge2w6IHsweDNCOiB7YzogWzE4OV19fSwgYzogWzE4OV19LCAweDMzOiB7bDogezB4M0I6IHtjOiBbODUzMV19fX0sIDB4MzQ6IHtsOiB7MHgzQjoge2M6IFsxODhdfX0sIGM6IFsxODhdfSwgMHgzNToge2w6IHsweDNCOiB7YzogWzg1MzNdfX19LCAweDM2OiB7bDogezB4M0I6IHtjOiBbODUzN119fX0sIDB4Mzg6IHtsOiB7MHgzQjoge2M6IFs4NTM5XX19fX19LCAweDMyOiB7bDogezB4MzM6IHtsOiB7MHgzQjoge2M6IFs4NTMyXX19fSwgMHgzNToge2w6IHsweDNCOiB7YzogWzg1MzRdfX19fX0sIDB4MzM6IHtsOiB7MHgzNDoge2w6IHsweDNCOiB7YzogWzE5MF19fSwgYzogWzE5MF19LCAweDM1OiB7bDogezB4M0I6IHtjOiBbODUzNV19fX0sIDB4Mzg6IHtsOiB7MHgzQjoge2M6IFs4NTQwXX19fX19LCAweDM0OiB7bDogezB4MzU6IHtsOiB7MHgzQjoge2M6IFs4NTM2XX19fX19LCAweDM1OiB7bDogezB4MzY6IHtsOiB7MHgzQjoge2M6IFs4NTM4XX19fSwgMHgzODoge2w6IHsweDNCOiB7YzogWzg1NDFdfX19fX0sIDB4Mzc6IHtsOiB7MHgzODoge2w6IHsweDNCOiB7YzogWzg1NDJdfX19fX19fSwgMHg3Mzoge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbODI2MF19fX19fX19LCAweDZGOiB7bDogezB4Nzc6IHtsOiB7MHg2RToge2w6IHsweDNCOiB7YzogWzg5OTRdfX19fX19fX19LCAweDczOiB7bDogezB4NjM6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzExOTk5NV19fX19fX19fX0sXHJcbiAgICAweDQ2OiB7bDogezB4NjM6IHtsOiB7MHg3OToge2w6IHsweDNCOiB7YzogWzEwNjBdfX19fX0sIDB4NjY6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEyMDA3M119fX19fSwgMHg2OToge2w6IHsweDZDOiB7bDogezB4NkM6IHtsOiB7MHg2NToge2w6IHsweDY0OiB7bDogezB4NTM6IHtsOiB7MHg2RDoge2w6IHsweDYxOiB7bDogezB4NkM6IHtsOiB7MHg2Qzoge2w6IHsweDUzOiB7bDogezB4NzE6IHtsOiB7MHg3NToge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzk3MjRdfX19fX19fX19fX19fX19fX19fX19fX0sIDB4NTY6IHtsOiB7MHg2NToge2w6IHsweDcyOiB7bDogezB4Nzk6IHtsOiB7MHg1Mzoge2w6IHsweDZEOiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDZDOiB7bDogezB4NTM6IHtsOiB7MHg3MToge2w6IHsweDc1OiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbOTY0Ml19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fSwgMHg2Rjoge2w6IHsweDcwOiB7bDogezB4NjY6IHtsOiB7MHgzQjoge2M6IFsxMjAxMjVdfX19fX0sIDB4NzI6IHtsOiB7MHg0MToge2w6IHsweDZDOiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFs4NzA0XX19fX19fX19fSwgMHg3NToge2w6IHsweDcyOiB7bDogezB4Njk6IHtsOiB7MHg2NToge2w6IHsweDcyOiB7bDogezB4NzQ6IHtsOiB7MHg3Mjoge2w6IHsweDY2OiB7bDogezB4M0I6IHtjOiBbODQ5N119fX19fX19fX19fX19fX19fX19LCAweDczOiB7bDogezB4NjM6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg0OTddfX19fX19fX19LFxyXG4gICAgMHg2Nzoge2w6IHsweDYxOiB7bDogezB4NjM6IHtsOiB7MHg3NToge2w6IHsweDc0OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs1MDFdfX19fX19fX19LCAweDZEOiB7bDogezB4NkQ6IHtsOiB7MHg2MToge2w6IHsweDNCOiB7YzogWzk0N119LCAweDY0OiB7bDogezB4M0I6IHtjOiBbOTg5XX19fX19fX19fSwgMHg3MDoge2w6IHsweDNCOiB7YzogWzEwODg2XX19fX19LCAweDYyOiB7bDogezB4NzI6IHtsOiB7MHg2NToge2w6IHsweDc2OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFsyODddfX19fX19fX19fX0sIDB4NjM6IHtsOiB7MHg2OToge2w6IHsweDcyOiB7bDogezB4NjM6IHtsOiB7MHgzQjoge2M6IFsyODVdfX19fX19fSwgMHg3OToge2w6IHsweDNCOiB7YzogWzEwNzVdfX19fX0sIDB4NjQ6IHtsOiB7MHg2Rjoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbMjg5XX19fX19fX0sIDB4NjU6IHtsOiB7MHgzQjoge2M6IFs4ODA1XX0sIDB4NkM6IHtsOiB7MHgzQjoge2M6IFs4OTIzXX19fSwgMHg3MToge2w6IHsweDNCOiB7YzogWzg4MDVdfSwgMHg3MToge2w6IHsweDNCOiB7YzogWzg4MDddfX19LCAweDczOiB7bDogezB4NkM6IHtsOiB7MHg2MToge2w6IHsweDZFOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFsxMDg3OF19fX19fX19fX19fX19LCAweDczOiB7bDogezB4NjM6IHtsOiB7MHg2Mzoge2w6IHsweDNCOiB7YzogWzEwOTIxXX19fX19LCAweDNCOiB7YzogWzEwODc4XX0sIDB4NjQ6IHtsOiB7MHg2Rjoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbMTA4ODBdfSwgMHg2Rjoge2w6IHsweDNCOiB7YzogWzEwODgyXX0sIDB4NkM6IHtsOiB7MHgzQjoge2M6IFsxMDg4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Qjoge2M6IFs4OTE5XX19fX19fX0sIDB4NjU6IHtsOiB7MHg3MToge2w6IHsweDZDOiB7bDogezB4NjU6IHtsOiB7MHg3Mzoge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbODkyM119fX19fX19fX0sIDB4NzE6IHtsOiB7MHg2Qzoge2w6IHsweDY1OiB7bDogezB4NzM6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzEwODkyXX19fX19fX19fX19fX19fSwgMHg2Qzoge2w6IHsweDY1OiB7bDogezB4NzM6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzg4MjNdfX19fX19fX19LCAweDczOiB7bDogezB4Njk6IHtsOiB7MHg2RDoge2w6IHsweDNCOiB7YzogWzg4MTldfX19fX19fX19fSwgYzogWzYyXX0sIDB4NzY6IHtsOiB7MHg2NToge2w6IHsweDcyOiB7bDogezB4NzQ6IHtsOiB7MHg2RToge2w6IHsweDY1OiB7bDogezB4NzE6IHtsOiB7MHg3MToge2w6IHsweDNCOiB7YzogWzg4MDksIDY1MDI0XX19fX19fX19fX19fX19fSwgMHg2RToge2w6IHsweDQ1OiB7bDogezB4M0I6IHtjOiBbODgwOSwgNjUwMjRdfX19fX19fX19LFxyXG4gICAgMHg0Nzoge2w6IHsweDYxOiB7bDogezB4NkQ6IHtsOiB7MHg2RDoge2w6IHsweDYxOiB7bDogezB4M0I6IHtjOiBbOTE1XX0sIDB4NjQ6IHtsOiB7MHgzQjoge2M6IFs5ODhdfX19fX19fX19fX0sIDB4NjI6IHtsOiB7MHg3Mjoge2w6IHsweDY1OiB7bDogezB4NzY6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzI4Nl19fX19fX19fX19fSwgMHg2Mzoge2w6IHsweDY1OiB7bDogezB4NjQ6IHtsOiB7MHg2OToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbMjkwXX19fX19fX19fSwgMHg2OToge2w6IHsweDcyOiB7bDogezB4NjM6IHtsOiB7MHgzQjoge2M6IFsyODRdfX19fX19fSwgMHg3OToge2w6IHsweDNCOiB7YzogWzEwNDNdfX19fX0sIDB4NjQ6IHtsOiB7MHg2Rjoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbMjg4XX19fX19fX0sIDB4NjY6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEyMDA3NF19fX19fSwgMHg2Nzoge2w6IHsweDNCOiB7YzogWzg5MjFdfX19LCAweDRBOiB7bDogezB4NjM6IHtsOiB7MHg3OToge2w6IHsweDNCOiB7YzogWzEwMjddfX19fX19fSwgMHg2Rjoge2w6IHsweDcwOiB7bDogezB4NjY6IHtsOiB7MHgzQjoge2M6IFsxMjAxMjZdfX19fX19fSwgMHg3Mjoge2w6IHsweDY1OiB7bDogezB4NjE6IHtsOiB7MHg3NDoge2w6IHsweDY1OiB7bDogezB4NzI6IHtsOiB7MHg0NToge2w6IHsweDcxOiB7bDogezB4NzU6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbODgwNV19LCAweDRDOiB7bDogezB4NjU6IHtsOiB7MHg3Mzoge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbODkyM119fX19fX19fX19fX19fX19fX19LCAweDQ2OiB7bDogezB4NzU6IHtsOiB7MHg2Qzoge2w6IHsweDZDOiB7bDogezB4NDU6IHtsOiB7MHg3MToge2w6IHsweDc1OiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzg4MDddfX19fX19fX19fX19fX19fX19fSwgMHg0Nzoge2w6IHsweDcyOiB7bDogezB4NjU6IHtsOiB7MHg2MToge2w6IHsweDc0OiB7bDogezB4NjU6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwOTE0XX19fX19fX19fX19fX19fSwgMHg0Qzoge2w6IHsweDY1OiB7bDogezB4NzM6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzg4MjNdfX19fX19fX19LCAweDUzOiB7bDogezB4NkM6IHtsOiB7MHg2MToge2w6IHsweDZFOiB7bDogezB4NzQ6IHtsOiB7MHg0NToge2w6IHsweDcxOiB7bDogezB4NzU6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbMTA4NzhdfX19fX19fX19fX19fX19fX19fX19LCAweDU0OiB7bDogezB4Njk6IHtsOiB7MHg2Qzoge2w6IHsweDY0OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4ODE5XX19fX19fX19fX19fX19fX19fX19fX19LCAweDczOiB7bDogezB4NjM6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzExOTk3MF19fX19fX19LCAweDU0OiB7bDogezB4M0I6IHtjOiBbNjJdfX0sIGM6IFs2Ml19LCAweDc0OiB7bDogezB4M0I6IHtjOiBbODgxMV19fX19fSxcclxuICAgIDB4NDg6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4NjU6IHtsOiB7MHg2Qjoge2w6IHsweDNCOiB7YzogWzcxMV19fX19fX19LCAweDc0OiB7bDogezB4M0I6IHtjOiBbOTRdfX19fX0sIDB4NDE6IHtsOiB7MHg1Mjoge2w6IHsweDQ0OiB7bDogezB4NjM6IHtsOiB7MHg3OToge2w6IHsweDNCOiB7YzogWzEwNjZdfX19fX19fX19fX0sIDB4NjM6IHtsOiB7MHg2OToge2w6IHsweDcyOiB7bDogezB4NjM6IHtsOiB7MHgzQjoge2M6IFsyOTJdfX19fX19fX19LCAweDY2OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs4NDYwXX19fX19LCAweDY5OiB7bDogezB4NkM6IHtsOiB7MHg2Mjoge2w6IHsweDY1OiB7bDogezB4NzI6IHtsOiB7MHg3NDoge2w6IHsweDUzOiB7bDogezB4NzA6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4NDU5XX19fX19fX19fX19fX19fX19fX19fX19LCAweDZGOiB7bDogezB4NzA6IHtsOiB7MHg2Njoge2w6IHsweDNCOiB7YzogWzg0NjFdfX19fX0sIDB4NzI6IHtsOiB7MHg2OToge2w6IHsweDdBOiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDc0OiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDRDOiB7bDogezB4Njk6IHtsOiB7MHg2RToge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbOTQ3Ml19fX19fX19fX19fX19fX19fX19fX19fX19fX0sIDB4NzM6IHtsOiB7MHg2Mzoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODQ1OV19fX19fSwgMHg3NDoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg2Qjoge2w6IHsweDNCOiB7YzogWzI5NF19fX19fX19fX19fSwgMHg3NToge2w6IHsweDZEOiB7bDogezB4NzA6IHtsOiB7MHg0NDoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHg2RToge2w6IHsweDQ4OiB7bDogezB4NzU6IHtsOiB7MHg2RDoge2w6IHsweDcwOiB7bDogezB4M0I6IHtjOiBbODc4Ml19fX19fX19fX19fX19fX19fSwgMHg0NToge2w6IHsweDcxOiB7bDogezB4NzU6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbODc4M119fX19fX19fX19fX19fX19fX19LFxyXG4gICAgMHg2ODoge2w6IHsweDYxOiB7bDogezB4Njk6IHtsOiB7MHg3Mjoge2w6IHsweDczOiB7bDogezB4NzA6IHtsOiB7MHgzQjoge2M6IFs4MjAyXX19fX19fX19fSwgMHg2Qzoge2w6IHsweDY2OiB7bDogezB4M0I6IHtjOiBbMTg5XX19fX19LCAweDZEOiB7bDogezB4Njk6IHtsOiB7MHg2Qzoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODQ1OV19fX19fX19fX0sIDB4NzI6IHtsOiB7MHg2NDoge2w6IHsweDYzOiB7bDogezB4Nzk6IHt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M6IFsxMDUzNF19fX19fX19fX19fX19fX0sIDB4NkY6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs4NzAzXX19fX19fX0sIDB4NkQ6IHtsOiB7MHg3NDoge2w6IHsweDY4OiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4NzYzXX19fX19fX19fSwgMHg2Rjoge2w6IHsweDZCOiB7bDogezB4NkM6IHtsOiB7MHg2NToge2w6IHsweDY2OiB7bDogezB4NzQ6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4M0I6IHtjOiBbODYxN119fX19fX19fX19fX19fX19fX19LCAweDcyOiB7bDogezB4Njk6IHtsOiB7MHg2Nzoge2w6IHsweDY4OiB7bDogezB4NzQ6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4M0I6IHtjOiBbODYxOF19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDcwOiB7bDogezB4NjY6IHtsOiB7MHgzQjoge2M6IFsxMjAxNTNdfX19fX0sIDB4NzI6IHtsOiB7MHg2Mjoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs4MjEzXX19fX19fX19fX19LCAweDczOiB7bDogezB4NjM6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzExOTk5N119fX19fSwgMHg2Qzoge2w6IHsweDYxOiB7bDogezB4NzM6IHtsOiB7MHg2ODoge2w6IHsweDNCOiB7YzogWzg0NjNdfX19fX19fX19LCAweDc0OiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDZCOiB7bDogezB4M0I6IHtjOiBbMjk1XX19fX19fX19fX19LCAweDc5OiB7bDogezB4NjI6IHtsOiB7MHg3NToge2w6IHsweDZDOiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFs4MjU5XX19fX19fX19fSwgMHg3MDoge2w6IHsweDY4OiB7bDogezB4NjU6IHtsOiB7MHg2RToge2w6IHsweDNCOiB7YzogWzgyMDhdfX19fX19fX19fX19fSxcclxuICAgIDB4NDk6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4NzU6IHtsOiB7MHg3NDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMjA1XX19LCBjOiBbMjA1XX19fX19fX19fSwgMHg2Mzoge2w6IHsweDY5OiB7bDogezB4NzI6IHtsOiB7MHg2Mzoge2w6IHsweDNCOiB7YzogWzIwNl19fSwgYzogWzIwNl19fX19fSwgMHg3OToge2w6IHsweDNCOiB7YzogWzEwNDhdfX19fX0sIDB4NjQ6IHtsOiB7MHg2Rjoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbMzA0XX19fX19fX0sIDB4NDU6IHtsOiB7MHg2Mzoge2w6IHsweDc5OiB7bDogezB4M0I6IHtjOiBbMTA0NV19fX19fX19LCAweDY2OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs4NDY1XX19fX19LCAweDY3OiB7bDogezB4NzI6IHtsOiB7MHg2MToge2w6IHsweDc2OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFsyMDRdfX0sIGM6IFsyMDRdfX19fX19fX19LCAweDRBOiB7bDogezB4NkM6IHtsOiB7MHg2OToge2w6IHsweDY3OiB7bDogezB4M0I6IHtjOiBbMzA2XX19fX19fX19fSwgMHg2RDoge2w6IHsweDYxOiB7bDogezB4NjM6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzI5OF19fX19fSwgMHg2Nzoge2w6IHsweDY5OiB7bDogezB4NkU6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4Nzk6IHtsOiB7MHg0OToge2w6IHsweDNCOiB7YzogWzg1MjBdfX19fX19fX19fX19fX19fX0sIDB4M0I6IHtjOiBbODQ2NV19LCAweDcwOiB7bDogezB4NkM6IHtsOiB7MHg2OToge2w6IHsweDY1OiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFs4NjU4XX19fX19fX19fX19fX0sIDB4NkU6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg3NDhdfSwgMHg2NToge2w6IHsweDY3OiB7bDogezB4NzI6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbODc0N119fX19fX19fX0sIDB4NzI6IHtsOiB7MHg3Mzoge2w6IHsweDY1OiB7bDogezB4NjM6IHtsOiB7MHg3NDoge2w6IHsweDY5OiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDNCOiB7YzogWzg4OThdfX19fX19fX19fX19fX19fX19fX19LCAweDc2OiB7bDogezB4Njk6IHtsOiB7MHg3Mzoge2w6IHsweDY5OiB7bDogezB4NjI6IHtsOiB7MHg2Qzoge2w6IHsweDY1OiB7bDogezB4NDM6IHtsOiB7MHg2Rjoge2w6IHsweDZEOiB7bDogezB4NkQ6IHtsOiB7MHg2MToge2w6IHsweDNCOiB7YzogWzgyOTFdfX19fX19fX19fX0sIDB4NTQ6IHtsOiB7MHg2OToge2w6IHsweDZEOiB7bDogezB4NjU6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzgyOTBdfX19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDRGOiB7bDogezB4NjM6IHtsOiB7MHg3OToge2w6IHsweDNCOiB7YzogWzEwMjVdfX19fX19fSwgMHg2Rjoge2w6IHsweDY3OiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDNCOiB7YzogWzMwMl19fX19fX19LCAweDcwOiB7bDogezB4NjY6IHtsOiB7MHgzQjoge2M6IFsxMjAxMjhdfX19fX0sIDB4NzQ6IHtsOiB7MHg2MToge2w6IHsweDNCOiB7YzogWzkyMV19fX19fX19LCAweDczOiB7bDogezB4NjM6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg0NjRdfX19fX19fSwgMHg3NDoge2w6IHsweDY5OiB7bDogezB4NkM6IHtsOiB7MHg2NDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMjk2XX19fX19fX19fX19LCAweDc1OiB7bDogezB4NkI6IHtsOiB7MHg2Mzoge2w6IHsweDc5OiB7bDogezB4M0I6IHtjOiBbMTAzMF19fX19fX19LCAweDZEOiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFsyMDddfX0sIGM6IFsyMDddfX19fX19fSxcclxuICAgIDB4Njk6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4NzU6IHtsOiB7MHg3NDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMjM3XX19LCBjOiBbMjM3XX19fX19fX19fSwgMHg2Mzoge2w6IHsweDNCOiB7YzogWzgyOTFdfSwgMHg2OToge2w6IHsweDcyOiB7bDogezB4NjM6IHtsOiB7MHgzQjoge2M6IFsyMzhdfX0sIGM6IFsyMzhdfX19fX0sIDB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMDgwXX19fX19LCAweDY1OiB7bDogezB4NjM6IHtsOiB7MHg3OToge2w6IHsweDNCOiB7YzogWzEwNzddfX19fX0sIDB4Nzg6IHtsOiB7MHg2Mzoge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbMTYxXX19LCBjOiBbMTYxXX19fX19fX0sIDB4NjY6IHtsOiB7MHg2Njoge2w6IHsweDNCOiB7YzogWzg2NjBdfX19LCAweDcyOiB7bDogezB4M0I6IHtjOiBbMTIwMTAyXX19fX19LCAweDY3OiB7bDogezB4NzI6IHtsOiB7MHg2MToge2w6IHsweDc2OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFsyMzZdfX0sIGM6IFsyMzZdfX19fX19fX19LCAweDY5OiB7bDogezB4M0I6IHtjOiBbODUyMF19LCAweDY5OiB7bDogezB4Njk6IHtsOiB7MHg2RToge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbMTA3NjRdfX19fX19fSwgMHg2RToge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODc0OV19fX19fX19LCAweDZFOiB7bDogezB4NjY6IHtsOiB7MHg2OToge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbMTA3MTZdfX19fX19fX19LCAweDZGOiB7bDogezB4NzQ6IHtsOiB7MHg2MToge2w6IHsweDNCOiB7YzogWzg0ODldfX19fX19fX19LCAweDZBOiB7bDogezB4NkM6IHtsOiB7MHg2OToge2w6IHsweDY3OiB7bDogezB4M0I6IHtjOiBbMzA3XX19fX19fX19fSwgMHg2RDoge2w6IHsweDYxOiB7bDogezB4NjM6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzI5OV19fX19fSwgMHg2Nzoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODQ2NV19fX0sIDB4NkM6IHtsOiB7MHg2OToge2w6IHsweDZFOiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4NDY0XX19fX19fX19fSwgMHg3MDoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg0NjVdfX19fX19fX19fX0sIDB4NzQ6IHtsOiB7MHg2ODoge2w6IHsweDNCOiB7YzogWzMwNV19fX19fX19LCAweDZGOiB7bDogezB4NjY6IHtsOiB7MHgzQjoge2M6IFs4ODg3XX19fX19LCAweDcwOiB7bDogezB4NjU6IHtsOiB7MHg2NDoge2w6IHsweDNCOiB7YzogWzQzN119fX19fX19fX0sIDB4NkU6IHtsOiB7MHg2Mzoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzg0NTNdfX19fX19fX19LCAweDNCOiB7YzogWzg3MTJdfSwgMHg2Njoge2w6IHsweDY5OiB7bDogezB4NkU6IHtsOiB7MHgzQjoge2M6IFs4NzM0XX0sIDB4NzQ6IHtsOiB7MHg2OToge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMTA3MTddfX19fX19fX19fX19fSwgMHg2Rjoge2w6IHsweDY0OiB7bDogezB4NkY6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzMwNV19fX19fX19fX0sIDB4NzQ6IHtsOiB7MHg2Mzoge2w6IHsweDYxOiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFs4ODkwXX19fX19fX0sIDB4M0I6IHtjOiBbODc0N119LCAweDY1OiB7bDogezB4Njc6IHtsOiB7MHg2NToge2w6IHsweDcyOiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFs4NDg0XX19fX19fX19fSwgMHg3Mjoge2w6IHsweDYzOiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzg4OTBdfX19fX19fX19fX0sIDB4NkM6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4Njg6IHtsOiB7MHg2Qjoge2w6IHsweDNCOiB7YzogWzEwNzc1XX19fX19fX19fX19LCAweDcwOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDY0OiB7bDogezB4M0I6IHtjOiBbMTA4MTJdfX19fX19fX19fX19fSwgMHg2Rjoge2w6IHsweDYzOiB7bDogezB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMTA1XX19fX19LCAweDY3OiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDNCOiB7YzogWzMwM119fX19fX19LCAweDcwOiB7bDogezB4NjY6IHtsOiB7MHgzQjoge2M6IFsxMjAxNTRdfX19fX0sIDB4NzQ6IHtsOiB7MHg2MToge2w6IHsweDNCOiB7YzogWzk1M119fX19fX19LCAweDcwOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDY0OiB7bDogezB4M0I6IHtjOiBbMTA4MTJdfX19fX19fX19LCAweDcxOiB7bDogezB4NzU6IHtsOiB7MHg2NToge2w6IHsweDczOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFsxOTFdfX0sIGM6IFsxOTFdfX19fX19fX19LCAweDczOiB7bDogezB4NjM6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzExOTk5OF19fX19fSwgMHg2OToge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbODcxMl19LCAweDY0OiB7bDogezB4NkY6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg5NDldfX19fX19fSwgMHg0NToge2w6IHsweDNCOiB7YzogWzg5NTNdfX19LCAweDczOiB7bDogezB4M0I6IHtjOiBbODk0OF19LCAweDc2OiB7bDogezB4M0I6IHtjOiBbODk0N119fX19fSwgMHg3Njoge2w6IHsweDNCOiB7YzogWzg3MTJdfX19fX19fX19LCAweDc0OiB7bDogezB4M0I6IHtjOiBbODI5MF19LCAweDY5OiB7bDogezB4NkM6IHtsOiB7MHg2NDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMjk3XX19fX19fX19fX19LCAweDc1OiB7bDogezB4NkI6IHtsOiB7MHg2Mzoge2w6IHsweDc5OiB7bDogezB4M0I6IHtjOiBbMTExMF19fX19fX19LCAweDZEOiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFsyMzldfX0sIGM6IFsyMzldfX19fX19fSxcclxuICAgIDB4NEE6IHtsOiB7MHg2Mzoge2w6IHsweDY5OiB7bDogezB4NzI6IHtsOiB7MHg2Mzoge2w6IHsweDNCOiB7YzogWzMwOF19fX19fX19LCAweDc5OiB7bDogezB4M0I6IHtjOiBbMTA0OV19fX19fSwgMHg2Njoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTIwMDc3XX19fX19LCAweDZGOiB7bDogezB4NzA6IHtsOiB7MHg2Njoge2w6IHsweDNCOiB7YzogWzEyMDEyOV19fX19fX19LCAweDczOiB7bDogezB4NjM6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzExOTk3M119fX19fSwgMHg2NToge2w6IHsweDcyOiB7bDogezB4NjM6IHtsOiB7MHg3OToge2w6IHsweDNCOiB7YzogWzEwMzJdfX19fX19fX19fX0sIDB4NzU6IHtsOiB7MHg2Qjoge2w6IHsweDYzOiB7bDogezB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMDI4XX19fX19fX19fX19LFxyXG4gICAgMHg2QToge2w6IHsweDYzOiB7bDogezB4Njk6IHtsOiB7MHg3Mjoge2w6IHsweDYzOiB7bDogezB4M0I6IHtjOiBbMzA5XX19fX19fX0sIDB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMDgxXX19fX19LCAweDY2OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMjAxMDNdfX19fX0sIDB4NkQ6IHtsOiB7MHg2MToge2w6IHsweDc0OiB7bDogezB4Njg6IHtsOiB7MHgzQjoge2M6IFs1NjddfX19fX19fX19LCAweDZGOiB7bDogezB4NzA6IHtsOiB7MHg2Njoge2w6IHsweDNCOiB7YzogWzEyMDE1NV19fX19fX19LCAweDczOiB7bDogezB4NjM6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzExOTk5OV19fX19fSwgMHg2NToge2w6IHsweDcyOiB7bDogezB4NjM6IHtsOiB7MHg3OToge2w6IHsweDNCOiB7YzogWzExMTJdfX19fX19fX19fX0sIDB4NzU6IHtsOiB7MHg2Qjoge2w6IHsweDYzOiB7bDogezB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMTA4XX19fX19fX19fX19LFxyXG4gICAgMHg0Qjoge2w6IHsweDYxOiB7bDogezB4NzA6IHtsOiB7MHg3MDoge2w6IHsweDYxOiB7bDogezB4M0I6IHtjOiBbOTIyXX19fX19fX19fSwgMHg2Mzoge2w6IHsweDY1OiB7bDogezB4NjQ6IHtsOiB7MHg2OToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbMzEwXX19fX19fX19fSwgMHg3OToge2w6IHsweDNCOiB7YzogWzEwNTBdfX19fX0sIDB4NjY6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEyMDA3OF19fX19fSwgMHg0ODoge2w6IHsweDYzOiB7bDogezB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMDYxXX19fX19fX0sIDB4NEE6IHtsOiB7MHg2Mzoge2w6IHsweDc5OiB7bDogezB4M0I6IHtjOiBbMTAzNl19fX19fX19LCAweDZGOiB7bDogezB4NzA6IHtsOiB7MHg2Njoge2w6IHsweDNCOiB7YzogWzEyMDEzMF19fX19fX19LCAweDczOiB7bDogezB4NjM6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzExOTk3NF19fX19fX19fX0sXHJcbiAgICAweDZCOiB7bDogezB4NjE6IHtsOiB7MHg3MDoge2w6IHsweDcwOiB7bDogezB4NjE6IHtsOiB7MHgzQjoge2M6IFs5NTRdfSwgMHg3Njoge2w6IHsweDNCOiB7YzogWzEwMDhdfX19fX19fX19fX0sIDB4NjM6IHtsOiB7MHg2NToge2w6IHsweDY0OiB7bDogezB4Njk6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzMxMV19fX19fX19fX0sIDB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMDgyXX19fX19LCAweDY2OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMjAxMDRdfX19fX0sIDB4Njc6IHtsOiB7MHg3Mjoge2w6IHsweDY1OiB7bDogezB4NjU6IHtsOiB7MHg2RToge2w6IHsweDNCOiB7YzogWzMxMl19fX19fX19fX19fSwgMHg2ODoge2w6IHsweDYzOiB7bDogezB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMDkzXX19fX19fX0sIDB4NkE6IHtsOiB7MHg2Mzoge2w6IHsweDc5OiB7bDogezB4M0I6IHtjOiBbMTExNl19fX19fX19LCAweDZGOiB7bDogezB4NzA6IHtsOiB7MHg2Njoge2w6IHsweDNCOiB7YzogWzEyMDE1Nl19fX19fX19LCAweDczOiB7bDogezB4NjM6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEyMDAwMF19fX19fX19fX0sXHJcbiAgICAweDZDOiB7bDogezB4NDE6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs4NjY2XX19fX19fX0sIDB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg2NTZdfX19fX0sIDB4NzQ6IHtsOiB7MHg2MToge2w6IHsweDY5OiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFsxMDUyM119fX19fX19fX19fSwgMHg2MToge2w6IHsweDYzOiB7bDogezB4NzU6IHtsOiB7MHg3NDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMzE0XX19fX19fX19fSwgMHg2NToge2w6IHsweDZEOiB7bDogezB4NzA6IHtsOiB7MHg3NDoge2w6IHsweDc5OiB7bDogezB4NzY6IHtsOiB7MHgzQjoge2M6IFsxMDY3Nl19fX19fX19fX19fX19LCAweDY3OiB7bDogezB4NzI6IHtsOiB7MHg2MToge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbODQ2Nl19fX19fX19fX0sIDB4NkQ6IHtsOiB7MHg2Mjoge2w6IHsweDY0OiB7bDogezB4NjE6IHtsOiB7MHgzQjoge2M6IFs5NTVdfX19fX19fX19LCAweDZFOiB7bDogezB4Njc6IHtsOiB7MHgzQjoge2M6IFsxMDIxNl19LCAweDY0OiB7bDogezB4M0I6IHtjOiBbMTA2NDFdfX19LCAweDZDOiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFsxMDIxNl19fX19fX19fX0sIDB4NzA6IHtsOiB7MHgzQjoge2M6IFsxMDg4NV19fX0sIDB4NzE6IHtsOiB7MHg3NToge2w6IHsweDZGOiB7bDogezB4M0I6IHtjOiBbMTcxXX19LCBjOiBbMTcxXX19fX19LCAweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Mjoge2w6IHsweDNCOiB7YzogWzg2NzZdfSwgMHg2Njoge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbMTA1Mjdd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zN119fX19fX19fX19fX19LCAweDQyOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA1MTBdfX19fX19fX19LCAweDYzOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4NkU6IHtsOiB7MHgzQjoge2M6IFszMThdfX19fX19fX19LCAweDY1OiB7bDogezB4NjQ6IHtsOiB7MHg2OToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbMzE2XX19fX19fX0sIDB4Njk6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzg5NjhdfX19fX19fSwgMHg3NToge2w6IHsweDYyOiB7bDogezB4M0I6IHtjOiBbMTIzXX19fX19LCAweDc5OiB7bDogezB4M0I6IHtjOiBbMTA4M119fX19fSwgMHg2NDoge2w6IHsweDYzOiB7bDogezB4NjE6IHtsOiB7MHgzQjoge2M6IFsxMDU1MF19fX19fSwgMHg3MToge2w6IHsweDc1OiB7bDogezB4NkY6IHtsOiB7MHgzQjoge2M6IFs4MjIwXX0sIDB4NzI6IHtsOiB7MHgzQjoge2M6IFs4MjIyXX19fX19fX19fSwgMHg3Mjoge2w6IHsweDY0OiB7bDogezB4Njg6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA1OTldfX19fX19fX19LCAweDc1OiB7bDogezB4NzM6IHtsOiB7MHg2ODoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDU3MV19fX19fX19fX19fX19LCAweDczOiB7bDogezB4Njg6IHtsOiB7MHgzQjoge2M6IFs4NjI2XX19fX19fX0sIDB4NjU6IHtsOiB7MHgzQjoge2M6IFs4ODA0XX0sIDB4NjY6IHtsOiB7MHg3NDoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFs4NTkyXX0sIDB4NzQ6IHtsOiB7MHg2MToge2w6IHsweDY5OiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFs4NjEwXX19fX19fX19fX19fX19fX19fX0sIDB4Njg6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzA6IHtsOiB7MHg2Rjoge2w6IHsweDZGOiB7bDogezB4NkU6IHtsOiB7MHg2NDoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHg2RToge2w6IHsweDNCOiB7YzogWzg2MzddfX19fX19fX19LCAweDc1OiB7bDogezB4NzA6IHtsOiB7MHgzQjoge2M6IFs4NjM2XX19fX19fX19fX19fX19fX19fX0sIDB4NkM6IHtsOiB7MHg2NToge2w6IHsweDY2OiB7bDogezB4NzQ6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFs4NjQ3XX19fX19fX19fX19fX19fX19fX19fSwgMHg3Mjoge2w6IHsweDY5OiB7bDogezB4Njc6IHtsOiB7MHg2ODoge2w6IHsweDc0OiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDNCOiB7YzogWzg1OTZdfSwgMHg3Mzoge2w6IHsweDNCOiB7YzogWzg2NDZdfX19fX19fX19fX19fSwgMHg2ODoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3MDoge2w6IHsweDZGOiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbODY1MV19fX19fX19fX19fX19fX19fSwgMHg3Mzoge2w6IHsweDcxOiB7bDogezB4NzU6IHtsOiB7MHg2OToge2w6IHsweDY3OiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDNCOiB7YzogWzg2MjFdfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fSwgMHg3NDoge2w6IHsweDY4OiB7bDogezB4NzI6IHtsOiB7MHg2NToge2w6IHsweDY1OiB7bDogezB4NzQ6IHtsOiB7MHg2OToge2w6IHsweDZEOiB7bDogezB4NjU6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzg5MDddfX19fX19fX19fX19fX19fX19fX19fX19fSwgMHg2Nzoge2w6IHsweDNCOiB7YzogWzg5MjJdfX19LCAweDcxOiB7bDogezB4M0I6IHtjOiBbODgwNF19LCAweDcxOiB7bDogezB4M0I6IHtjOiBbODgwNl19fX0sIDB4NzM6IHtsOiB7MHg2Qzoge2w6IHsweDYxOiB7bDogezB4NkU6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzEwODc3XX19fX19fX19fX19fX0sIDB4NzM6IHtsOiB7MHg2Mzoge2w6IHsweDYzOiB7bDogezB4M0I6IHtjOiBbMTA5MjBdfX19fX0sIDB4M0I6IHtjOiBbMTA4NzddfSwgMHg2NDoge2w6IHsweDZGOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFsxMDg3OV19LCAweDZGOiB7bDogezB4M0I6IHtjOiBbMTA4ODFdfSwgMHg3Mjoge2w6IHsweDNCOiB7YzogWzEwODgzXX19fX19fX19fX19LCAweDY3OiB7bDogezB4M0I6IHtjOiBbODkyMiwgNjUwMjRdfSwgMHg2NToge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbMTA4OTldfX19fX19fSwgMHg3Mzoge2w6IHsweDYxOiB7bDogezB4NzA6IHtsOiB7MHg3MDoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3ODoge2w6IHsweDNCOiB7YzogWzEwODg1XX19fX19fX19fX19fX0sIDB4NjQ6IHtsOiB7MHg2Rjoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODkxOF19fX19fX19LCAweDY1OiB7bDogezB4NzE6IHtsOiB7MHg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sOiB7MHg2Mzoge2w6IHsweDc5OiB7bDogezB4M0I6IHtjOiBbMTExM119fX19fX19LCAweDZDOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODY0N119fX19fX19LCAweDNCOiB7YzogWzg4MTBdfSwgMHg2Mzoge2w6IHsweDZGOiB7bDogezB4NzI6IHtsOiB7MHg2RToge2w6IHsweDY1OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs4OTkwXX19fX19fX19fX19fX0sIDB4Njg6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NjQ6IHtsOiB7MHgzQjoge2M6IFsxMDYwM119fX19fX19fX0sIDB4NzQ6IHtsOiB7MHg3Mjoge2w6IHsweDY5OiB7bDogezB4M0I6IHtjOiBbOTcyMl19fX19fX19fX0sIDB4NkQ6IHtsOiB7MHg2OToge2w6IHsweDY0OiB7bDogezB4NkY6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzMyMF19fX19fX19fX0sIDB4NkY6IHtsOiB7MHg3NToge2w6IHsweDczOiB7bDogezB4NzQ6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4Njg6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzkxMzZdfX19fX19fX19LCAweDNCOiB7YzogWzkxMzZdfX19fX19fX19fX0sIDB4NkU6IHtsOiB7MHg2MToge2w6IHsweDcwOiB7bDogezB4M0I6IHtjOiBbMTA4ODldfSwgMHg3MDoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3ODoge2w6IHsweDNCOiB7YzogWzEwODg5XX19fX19fX19fX19fX0sIDB4NjU6IHtsOiB7MHgzQjoge2M6IFsxMDg4N119LCAweDcxOiB7bDogezB4M0I6IHtjOiBbMTA4ODddfSwgMHg3MToge2w6IHsweDNCOiB7YzogWzg4MDhdfX19fX19fSwgMHg0NToge2w6IHsweDNCOiB7YzogWzg4MDhdfX19LCAweDczOiB7bDogezB4Njk6IHtsOiB7MHg2RDoge2w6IHsweDNCOiB7YzogWzg5MzRdfX19fX19fX19LCAweDZGOiB7bDogezB4NjE6IHtsOiB7MHg2RToge2w6IHsweDY3OiB7bDogezB4M0I6IHtjOiBbMTAyMjBdfX19fX0sIDB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg3MDFdfX19fX19fSwgMHg2Mjoge2w6IHsweDcyOiB7bDogezB4NkI6IHtsOiB7MHgzQjoge2M6IFsxMDIxNF19fX19fX19LCAweDZFOiB7bDogezB4Njc6IHtsOiB7MHg2Qzoge2w6IHsweDY1OiB7bDogezB4NjY6IHtsOiB7MHg3NDoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFsxMDIyOV19fX19fX19fX19fSwgMHg3Mjoge2w6IHsweDY5OiB7bDogezB4Njc6IHtsOiB7MHg2ODoge2w6IHsweDc0OiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDNCOiB7YzogWzEwMjMxXX19fX19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDZEOiB7bDogezB4NjE6IHtsOiB7MHg3MDoge2w6IHsweDczOiB7bDogezB4NzQ6IHtsOiB7MHg2Rjoge2w6IHsweDNCOiB7YzogWzEwMjM2XX19fX19fX19fX19fX0sIDB4NzI6IHtsOiB7MHg2OToge2w6IHsweDY3OiB7bDogezB4Njg6IHtsOiB7MHg3NDoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFsxMDIzMF19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDZGOiB7bDogezB4NzA6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4NkM6IHtsOiB7MHg2NToge2w6IHsweDY2OiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4NjE5XX19fX19fX19fSwgMHg3Mjoge2w6IHsweDY5OiB7bDogezB4Njc6IHtsOiB7MHg2ODoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODYyMF19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDcwOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwNjI5XX19fX19LCAweDY2OiB7bDogezB4M0I6IHtjOiBbMTIwMTU3XX19fSwgMHg2Qzoge2w6IHsweDc1OiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFsxMDc5N119fX19fX19fX0sIDB4NzQ6IHtsOiB7MHg2OToge2w6IHsweDZEOiB7bDogezB4NjU6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzEwODA0XX19fX19fX19fX19LCAweDc3OiB7bDogezB4NjE6IHtsOiB7MHg3Mzoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODcyN119fX19fX19LCAweDYyOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzk1XX19fX19fX19fSwgMHg3QToge2w6IHsweDNCOiB7YzogWzk2NzRdfSwgMHg2NToge2w6IHsweDZFOiB7bDogezB4Njc6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzk2NzRdfX19fX19fX19LCAweDY2OiB7bDogezB4M0I6IHtjOiBbMTA3MzFdfX19fX19fSwgMHg3MDoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs0MF19LCAweDZDOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFsxMDY0M119fX19fX19fX19fSwgMHg3Mjoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg2NDZdfX19fX19fSwgMHg2Mzoge2w6IHsweDZGOiB7bDogezB4NzI6IHtsOiB7MHg2RToge2w6IHsweDY1OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs4OTkxXX19fX19fX19fX19fX0sIDB4Njg6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODY1MV19LCAweDY0OiB7bDogezB4M0I6IHtjOiBbMTA2MDVdfX19fX19fX19LCAweDZEOiB7bDogezB4M0I6IHtjOiBbODIwNl19fX0sIDB4NzQ6IHtsOiB7MHg3Mjoge2w6IHsweDY5OiB7bDogezB4M0I6IHtjOiBbODg5NV19fX19fX19fX0sIDB4NzM6IHtsOiB7MHg2MToge2w6IHsweDcxOiB7bDogezB4NzU6IHtsOiB7MHg2Rjoge2w6IHsweDNCOiB7YzogWzgyNDldfX19fX19fX19LCAweDYzOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMjAwMDFdfX19fX0sIDB4Njg6IHtsOiB7MHgzQjoge2M6IFs4NjI0XX19fSwgMHg2OToge2w6IHsweDZEOiB7bDogezB4M0I6IHtjOiBbODgxOF19LCAweDY1OiB7bDogezB4M0I6IHtjOiBbMTA4OTNdfX19LCAweDY3OiB7bDogezB4M0I6IHtjOiBbMTA4OTVdfX19fX19fSwgMHg3MToge2w6IHsweDYyOiB7bDogezB4M0I6IHtjOiBbOTFdfX19LCAweDc1OiB7bDogezB4NkY6IHtsOiB7MHgzQjoge2M6IFs4MjE2XX0sIDB4NzI6IHtsOiB7MHgzQjoge2M6IFs4MjE4XX19fX19fX19fSwgMHg3NDoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg2Qjoge2w6IHsweDNCOiB7YzogWzMyMl19fX19fX19fX19fSwgMHg3NDoge2w6IHsweDYzOiB7bDogezB4NjM6IHtsOiB7MHgzQjoge2M6IFsxMDkxOF19fX0sIDB4Njk6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwODczXX19fX19fX0sIDB4M0I6IHtjOiBbNjBdfSwgMHg2NDoge2w6IHsweDZGOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4OTE4XX19fX19fX0sIDB4Njg6IHtsOiB7MHg3Mjoge2w6IHsweDY1OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4OTA3XX19fX19fX19fSwgMHg2OToge2w6IHsweDZEOiB7bDogezB4NjU6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzg5MDVdfX19fX19fX19LCAweDZDOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA2MTRdfX19fX19fX19LCAweDcxOiB7bDogezB4NzU6IHtsOiB7MHg2NToge2w6IHsweDczOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFsxMDg3NV19fX19fX19fX19fSwgMHg3Mjoge2w6IHsweDY5OiB7bDogezB4M0I6IHtjOiBbOTY2N119LCAweDY1OiB7bDogezB4M0I6IHtjOiBbODg4NF19fX0sIDB4NjY6IHtsOiB7MHgzQjoge2M6IFs5NjY2XX19fX19LCAweDUwOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwNjQ2XX19fX19fX19fX0sIGM6IFs2MF19LCAweDc1OiB7bDogezB4NzI6IHtsOiB7MHg2NDoge2w6IHsweDczOiB7bDogezB4Njg6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA1NzBdfX19fX19fX19fX0sIDB4NzU6IHtsOiB7MHg2ODoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDU5OF19fX19fX19fX19fX19LCAweDc2OiB7bDogezB4NjU6IHtsOiB7MHg3Mjoge2w6IHsweDc0OiB7bDogezB4NkU6IHtsOiB7MHg2NToge2w6IHsweDcxOiB7bDogezB4NzE6IHtsOiB7MHgzQjoge2M6IFs4ODA4LCA2NTAyNF19fX19fX19fX19fX19fX0sIDB4NkU6IHtsOiB7MHg0NToge2w6IHsweDNCOiB7YzogWzg4MDgsIDY1MDI0XX19fX19fX19fSxcclxuICAgIDB4NEM6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4NzU6IHtsOiB7MHg3NDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMzEzXX19fX19fX19fSwgMHg2RDoge2w6IHsweDYyOiB7bDogezB4NjQ6IHtsOiB7MHg2MToge2w6IHsweDNCOiB7YzogWzkyM119fX19fX19fX0sIDB4NkU6IHtsOiB7MHg2Nzoge2w6IHsweDNCOiB7YzogWzEwMjE4XX19fX19LCAweDcwOiB7bDogezB4NkM6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4NjU6IHtsOiB7MHg3NDoge2w6IHsweDcyOiB7bDogezB4NjY6IHtsOiB7MHgzQjoge2M6IFs4NDY2XX19fX19fX19fX19fX19fX19LCAweDcyOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs4NjA2XX19fX19fX0sIDB4NjM6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDNCOiB7YzogWzMxN119fX19fX19fX0sIDB4NjU6IHtsOiB7MHg2NDoge2w6IHsweDY5OiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFszMTVdfX19fX19fX19LCAweDc5OiB7bDogezB4M0I6IHtjOiBbMTA1MV19fX19fSwgMHg2NToge2w6IHsweDY2OiB7bDogezB4NzQ6IHtsOiB7MHg0MToge2w6IHsweDZFOiB7bDogezB4Njc6IHtsOiB7MHg2Qzoge2w6IHsweDY1OiB7bDogezB4NDI6IHtsOiB7MHg3Mjoge2w6IHsweDYxOiB7bDogezB4NjM6IHtsOiB7MHg2Qjoge2w6IHsweDY1OiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFsxMDIxNl19fX19fX19fX19fX19fX19fX19fX19fSwgMHg3Mjoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDQyOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg2NzZdfX19fX19fSwgMHgzQjoge2M6IFs4NTkyXX0sIDB4NTI6IHtsOiB7MHg2OToge2w6IHsweDY3OiB7bDogezB4Njg6IHtsOiB7MHg3NDoge2w6IHsweDQxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFs4NjQ2XX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX0sIDB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDNCOiB7YzogWzg2NTZdfX19fX19fX19fX0sIDB4NDM6IHtsOiB7MHg2NToge2w6IHsweDY5OiB7bDogezB4NkM6IHtsOiB7MHg2OToge2w6IHsweDZFOiB7bDogezB4Njc6IHtsOiB7MHgzQjoge2M6IFs4OTY4XX19fX19fX19fX19fX19fSwgMHg0NDoge2w6IHsweDZGOiB7bDogezB4NzU6IHtsOiB7MHg2Mjoge2w6IHsweDZDOiB7bDogezB4NjU6IHtsOiB7MHg0Mjoge2w6IHsweDcyOiB7bDogezB4NjE6IHtsOiB7MHg2Mzoge2w6IHsweDZCOiB7bDogezB4NjU6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzEwMjE0XX19fX19fX19fX19fX19fX19fX19fX19LCAweDc3OiB7bDogezB4NkU6IHtsOiB7MHg1NDoge2w6IHsweDY1OiB7bDogezB4NjU6IHtsOiB7MHg1Njoge2w6IHsweDY1OiB7bDogezB4NjM6IHtsOiB7MHg3NDoge2w6IHsweDZGOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDU5M119fX19fX19fX19fX19fX19fX19LCAweDU2OiB7bDogezB4NjU6IHtsOiB7MHg2Mzoge2w6IHsweDc0OiB7bDogezB4NkY6IHtsOiB7MHg3Mjoge2w6IHsweDQyOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwNTg1XX19fX19fX0sIDB4M0I6IHtjOiBbODY0M119fX19fX19fX19fX19fX19fX19fX0sIDB4NDY6IHtsOiB7MHg2Qzoge2w6IHsweDZGOiB7bDogezB4NkY6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg5NzBdfX19fX19fX19fX0sIDB4NTI6IHtsOiB7MHg2OToge2w6IHsweDY3OiB7bDogezB4Njg6IHtsOiB7MHg3NDoge2w6IHsweDQxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFs4NTk2XX19fX19fX19fX19LCAweDU2OiB7bDogezB4NjU6IHtsOiB7MHg2Mzoge2w6IHsweDc0OiB7bDogezB4NkY6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwNTc0XX19fX19fX19fX19fX19fX19fX19fX19LCAweDcyOiB7bDogezB4Njk6IHtsOiB7MHg2Nzoge2w6IHsweDY4OiB7bDogezB4NzQ6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4M0I6IHtjOiBbODY2MF19fX19fX19fX19fX19fX19fX19fX0sIDB4NTQ6IHtsOiB7MHg2NToge2w6IHsweDY1OiB7bDogezB4NDE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDNCOiB7YzogWzg2MTJdfX19fX19fX19fX0sIDB4M0I6IHtjOiBbODg2N119LCAweDU2OiB7bDogezB4NjU6IHtsOiB7MHg2Mzoge2w6IHsweDc0OiB7bDogezB4NkY6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwNTg2XX19fX19fX19fX19fX19fX19LCAweDcyOiB7bDogezB4Njk6IHtsOiB7MHg2MToge2w6IHsweDZFOiB7bDogezB4Njc6IHtsOiB7MHg2Qzoge2w6IHsweDY1OiB7bDogezB4NDI6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA3MDNdfX19fX19fSwgMHgzQjoge2M6IFs4ODgyXX0sIDB4NDU6IHtsOiB7MHg3MToge2w6IHsweDc1OiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzg4ODRdfX19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDU1OiB7bDogezB4NzA6IHtsOiB7MHg0NDoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHg2RToge2w6IHsweDU2OiB7bDogezB4NjU6IHtsOiB7MHg2Mzoge2w6IHsweDc0OiB7bDogezB4NkY6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwNTc3XX19fX19fX19fX19fX19fX19fX19fSwgMHg1NDoge2w6IHsweDY1OiB7bDogezB4NjU6IHtsOiB7MHg1Njoge2w6IHsweDY1OiB7bDogezB4NjM6IHtsOiB7MHg3NDoge2w6IHsweDZGOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDU5Ml19fX19fX19fX19fX19fX19fX19LCAweDU2OiB7bDogezB4NjU6IHtsOiB7MHg2Mzoge2w6IHsweDc0OiB7bDogezB4NkY6IHtsOiB7MHg3Mjoge2w6IHsweDQyOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwNTg0XX19fX19fX0sIDB4M0I6IHtjOiBbODYzOV19fX19fX19fX19fX19fX19fSwgMHg1Njoge2w6IHsweDY1OiB7bDogezB4NjM6IHtsOiB7MHg3NDoge2w6IHsweDZGOiB7bDogezB4NzI6IHtsOiB7MHg0Mjoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDU3OF19fX19fX19LCAweDNCOiB7YzogWzg2MzZdfX19fX19fX19fX19fX19fX0sIDB4NzM6IHtsOiB7MHg3Mzoge2w6IHsweDQ1OiB7bDogezB4NzE6IHtsOiB7MHg3NToge2w6IHsweDYxOiB7bDogezB4NkM6IHtsOiB7MHg0Nzoge2w6IHsweDcyOiB7bDogezB4NjU6IHtsOiB7MHg2MToge2w6IHsweDc0OiB7bDogezB4NjU6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg5MjJdfX19fX19fX19fX19fX19fX19fX19fX19fSwgMHg0Njoge2w6IHsweDc1OiB7bDogezB4NkM6IHtsOiB7MHg2Qzoge2w6IHsweDQ1OiB7bDogezB4NzE6IHtsOiB7MHg3NToge2w6IHsweDYxOiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFs4ODA2XX19fX19fX19fX19fX19fX19fX0sIDB4NDc6IHtsOiB7MHg3Mjoge2w6IHsweDY1OiB7bDogezB4NjE6IHtsOiB7MHg3NDoge2w6IHsweDY1OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs4ODIyXX19fX19fX19fX19fX19fSwgMHg0Qzoge2w6IHsweDY1OiB7bDogezB4NzM6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzEwOTEzXX19fX19fX19fSwgMHg1Mzoge2w6IHsweDZDOiB7bDogezB4NjE6IHtsOiB7MHg2RToge2w6IHsweDc0OiB7bDogezB4NDU6IHtsOiB7MHg3MToge2w6IHsweDc1OiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzEwODc3XX19fX19fX19fX19fX19fX19fX19fSwgMHg1NDoge2w6IHsweDY5OiB7bDogezB4NkM6IHtsOiB7MHg2NDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODgxOF19fX19fX19fX19fX19fX19fSwgMHg2Njoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTIwMDc5XX19fX19LCAweDRBOiB7bDogezB4NjM6IHtsOiB7MHg3OToge2w6IHsweDNCOiB7YzogWzEwMzNdfX19fX19fSwgMHg2Qzoge2w6IHsweDNCOiB7YzogWzg5MjBdfSwgMHg2NToge2w6IHsweDY2OiB7bDogezB4NzQ6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4M0I6IHtjOiBbODY2Nl19fX19fX19fX19fX19fX19fX19LCAweDZEOiB7bDogezB4Njk6IHtsOiB7MHg2NDoge2w6IHsweDZGOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFszMTldfX19fX19fX19fX0sIDB4NkY6IHtsOiB7MHg2RToge2w6IHsweDY3OiB7bDogezB4NEM6IHtsOiB7MHg2NToge2w6IHsweDY2OiB7bDogezB4NzQ6IHtsOiB7MHg0MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4M0I6IHtjOiBbMTAyMjldfX19fX19fX19fX0sIDB4NTI6IHtsOiB7MHg2OToge2w6IHsweDY3OiB7bDogezB4Njg6IHtsOiB7MHg3NDoge2w6IHsweDQxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFsxMDIzMV19fX19fX19fX19fX19fX19fX19fX19fX19fX19fSwgMHg2Qzoge2w6IHsweDY1OiB7bDogezB4NjY6IHtsOiB7MHg3NDoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFsxMDIzMl19fX19fX19fX19fSwgMHg3Mjoge2w6IHsweDY5OiB7bDogezB4Njc6IHtsOiB7MHg2ODoge2w6IHsweDc0OiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDNCOiB7YzogWzEwMjM0XX19fX19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDUyOiB7bDogezB4Njk6IHtsOiB7MHg2Nzoge2w6IHsweDY4OiB7bDogezB4NzQ6IHtsOiB7MHg0MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4M0I6IHtjOiBbMTAyMzBdfX19fX19fX19fX19fX19fX19fX19LCAweDcyOiB7bDogezB4Njk6IHtsOiB7MHg2Nzoge2w6IHsweDY4OiB7bDogezB4NzQ6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4M0I6IHtjOiBbMTAyMzNdfX19fX19fX19fX19fX19fX19fX19fX19fSwgMHg3MDoge2w6IHsweDY2OiB7bDogezB4M0I6IHtjOiBbMTIwMTMxXX19fX19LCAweDc3OiB7bDogezB4NjU6IHtsOiB7MHg3Mjoge2w6IHsweDRDOiB7bDogezB4NjU6IHtsOiB7MHg2Njoge2w6IHsweDc0OiB7bDogezB4NDE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDNCOiB7YzogWzg2MDFdfX19fX19fX19fX19fX19fX19fSwgMHg1Mjoge2w6IHsweDY5OiB7bDogezB4Njc6IHtsOiB7MHg2ODoge2w6IHsweDc0OiB7bDogezB4NDE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDNCOiB7YzogWzg2MDBdfX19fX19fX19fX19fX19fX19fX19fX19fX19fX0sIDB4NzM6IHtsOiB7MHg2Mzoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODQ2Nl19fX19fSwgMHg2ODoge2w6IHsweDNCOiB7YzogWzg2MjRdfX19LCAweDc0OiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDZCOiB7bDogezB4M0I6IHtjOiBbMzIxXX19fX19fX19fX19LCAweDU0OiB7bDogezB4M0I6IHtjOiBbNjBdfX0sIGM6IFs2MF19LCAweDc0OiB7bDogezB4M0I6IHtjOiBbODgxMF19fX19fSxcclxuICAgIDB4NkQ6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxNzVdfX0sIGM6IFsxNzVdfX19LCAweDZDOiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs5Nzk0XX19fSwgMHg3NDoge2w6IHsweDNCOiB7YzogWzEwMDE2XX0sIDB4NjU6IHtsOiB7MHg3Mzoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMTAwMTZdfX19fX19fX19fX0sIDB4NzA6IHtsOiB7MHgzQjoge2M6IFs4NjE0XX0sIDB4NzM6IHtsOiB7MHg3NDoge2w6IHsweDZGOiB7bDogezB4M0I6IHtjOiBbODYxNF19LCAweDY0OiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbODYxNV19fX19fX19fX0sIDB4NkM6IHtsOiB7MHg2NToge2w6IHsweDY2OiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4NjEyXX19fX19fX19fSwgMHg3NToge2w6IHsweDcwOiB7bDogezB4M0I6IHtjOiBbODYxM119fX19fX19fX19fX19LCAweDcyOiB7bDogezB4NkI6IHtsOiB7MHg2NToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbOTY0Nl19fX19fX19fX19fSwgMHg2Mzoge2w6IHsweDZGOiB7bDogezB4NkQ6IHtsOiB7MHg2RDoge2w6IHsweDYxOiB7bDogezB4M0I6IHtjOiBbMTA3OTNdfX19fX19fX19LCAweDc5OiB7bDogezB4M0I6IHtjOiBbMTA4NF19fX19fSwgMHg2NDoge2w6IHsweDYxOiB7bDogezB4NzM6IHtsOiB7MHg2ODoge2w6IHsweDNCOiB7YzogWzgyMTJdfX19fX19fX19LCAweDQ0OiB7bDogezB4NDQ6IHtsOiB7MHg2Rjoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODc2Ml19fX19fX19fX0sIDB4NjU6IHtsOiB7MHg2MToge2w6IHsweDczOiB7bDogezB4NzU6IHtsOiB7MHg3Mjoge2w6IHsweDY1OiB7bDogezB4NjQ6IHtsOiB7MHg2MToge2w6IHsweDZFOiB7bDogezB4Njc6IHtsOiB7MHg2Qzoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODczN119fX19fX19fX19fX19fX19fX19fX19fX19LCAweDY2OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMjAxMDZdfX19fX0sIDB4Njg6IHtsOiB7MHg2Rjoge2w6IHsweDNCOiB7YzogWzg0ODddfX19fX0sIDB4Njk6IHtsOiB7MHg2Mzoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHgzQjoge2M6IFsxODFdfX0sIGM6IFsxODFdfX19fX0sIDB4NjQ6IHtsOiB7MHg2MToge2w6IHsweDczOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs0Ml19fX19fX19LCAweDYzOiB7bDogezB4Njk6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwOTkyXX19fX19fX0sIDB4M0I6IHtjOiBbODczOV19LCAweDY0OiB7bDogezB4NkY6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzE4M119fSwgYzogWzE4M119fX19fX19LCAweDZFOiB7bDogezB4NzU6IHtsOiB7MHg3Mzoge2w6IHsweDYyOiB7bDogezB4M0I6IHtjOiBbODg2M119fX0sIDB4M0I6IHtjOiBbODcyMl19LCAweDY0OiB7bDogezB4M0I6IHtjOiBbODc2MF19LCAweDc1OiB7bDogezB4M0I6IHtjOiBbMTA3OTRdfX19fX19fX19fX19fSwgMHg2Qzoge2w6IHsweDYzOiB7bDogezB4NzA6IHtsOiB7MHgzQjoge2M6IFsxMDk3MV19fX19fSwgMHg2NDoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODIzMF19fX19fX19LCAweDZFOiB7bDogezB4NzA6IHtsOiB7MHg2Qzoge2w6IHsweDc1OiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFs4NzIzXX19fX19fX19fX19LCAweDZGOiB7bDogezB4NjQ6IHtsOiB7MHg2NToge2w6IHsweDZDOiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFs4ODcxXX19fX19fX19fSwgMHg3MDoge2w6IHsweDY2OiB7bDogezB4M0I6IHtjOiBbMTIwMTU4XX19fX19fX0sIDB4NzA6IHtsOiB7MHgzQjoge2M6IFs4NzIzXX19fSwgMHg3Mzoge2w6IHsweDYzOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMjAwMDJdfX19fX0sIDB4NzQ6IHtsOiB7MHg3MDoge2w6IHsweDZGOiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFs4NzY2XX19fX19fX19fX19LCAweDc1OiB7bDogezB4M0I6IHtjOiBbOTU2XX0sIDB4NkM6IHtsOiB7MHg3NDoge2w6IHsweDY5OiB7bDogezB4NkQ6IHtsOiB7MHg2MToge2w6IHsweDcwOiB7bDogezB4M0I6IHtjOiBbODg4OF19fX19fX19fX19fX19LCAweDZEOiB7bDogezB4NjE6IHtsOiB7MHg3MDoge2w6IHsweDNCOiB7YzogWzg4ODhdfX19fX19fX19fX0sXHJcbiAgICAweDREOiB7bDogezB4NjE6IHtsOiB7MHg3MDoge2w6IHsweDNCOiB7YzogWzEwNTAxXX19fX19LCAweDYzOiB7bDogezB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMDUyXX19fX19LCAweDY1OiB7bDogezB4NjQ6IHtsOiB7MHg2OToge2w6IHsweDc1OiB7bDogezB4NkQ6IHtsOiB7MHg1Mzoge2w6IHsweDcwOiB7bDogezB4NjE6IHtsOiB7MHg2Mzoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODI4N119fX19fX19fX19fX19fX19fX19LCAweDZDOiB7bDogezB4NkM6IHtsOiB7MHg2OToge2w6IHsweDZFOiB7bDogezB4NzQ6IHtsOiB7MHg3Mjoge2w6IHsweDY2OiB7bDogezB4M0I6IHtjOiBbODQ5OV19fX19fX19fX19fX19fX19fSwgMHg2Njoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTIwMDgwXX19fX19LCAweDY5OiB7bDogezB4NkU6IHtsOiB7MHg3NToge2w6IHsweDczOiB7bDogezB4NTA6IHtsOiB7MHg2Qzoge2w6IHsweDc1OiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFs4NzIzXX19fX19fX19fX19fX19fX19LCAweDZGOiB7bDogezB4NzA6IHtsOiB7MHg2Njoge2w6IHsweDNCOiB7YzogWzEyMDEzMl19fX19fX19LCAweDczOiB7bDogezB4NjM6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg0OTldfX19fX19fSwgMHg3NToge2w6IHsweDNCOiB7YzogWzkyNF19fX19fSxcclxuICAgIDB4NkU6IHtsOiB7MHg2MToge2w6IHsweDYyOiB7bDogezB4NkM6IHtsOiB7MHg2MToge2w6IHsweDNCOiB7YzogWzg3MTFdfX19fX19fSwgMHg2Mzoge2w6IHsweDc1OiB7bDogezB4NzQ6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzMyNF19fX19fX19fX0sIDB4NkU6IHtsOiB7MHg2Nzoge2w6IHsweDNCOiB7YzogWzg3MzYsIDg0MDJdfX19fX0sIDB4NzA6IHtsOiB7MHgzQjoge2M6IFs4Nzc3XX0sIDB4NDU6IHtsOiB7MHgzQjoge2M6IFsxMDg2NCwgODI0XX19fSwgMHg2OToge2w6IHsweDY0OiB7bDogezB4M0I6IHtjOiBbODc3OSwgODI0XX19fX19LCAweDZGOiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFszMjldfX19fX0sIDB4NzA6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzg6IHtsOiB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iB7bDogezB4NzI6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4NkM6IHtsOiB7MHg2NToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbODc0Ml19fX19fX19fX19fSwgMHgzQjoge2M6IFs4NzQyXX0sIDB4NzM6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzExMDA1LCA4NDIxXX19fX19LCAweDc0OiB7bDogezB4M0I6IHtjOiBbODcwNiwgODI0XX19fX19fX0sIDB4NkY6IHtsOiB7MHg2Qzoge2w6IHsweDY5OiB7bDogezB4NkU6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzEwNzcyXX19fX19fX19fX19LCAweDcyOiB7bDogezB4M0I6IHtjOiBbODgzMl19LCAweDYzOiB7bDogezB4NzU6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzg5MjhdfX19fX19fSwgMHg2NToge2w6IHsweDYzOiB7bDogezB4M0I6IHtjOiBbODgzMl19LCAweDY1OiB7bDogezB4NzE6IHtsOiB7MHgzQjoge2M6IFsxMDkyNywgODI0XX19fX19fX0sIDB4M0I6IHtjOiBbMTA5MjcsIDgyNF19fX19fX19LCAweDcyOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4NjM6IHtsOiB7MHgzQjoge2M6IFsxMDU0NywgODI0XX19fSwgMHgzQjoge2M6IFs4NjAzXX0sIDB4Nzc6IHtsOiB7MHgzQjoge2M6IFs4NjA1LCA4MjRdfX19fX19fX19LCAweDQxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg2NTVdfX19fX19fSwgMHg2OToge2w6IHsweDY3OiB7bDogezB4Njg6IHtsOiB7MHg3NDoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFs4NjAzXX19fX19fX19fX19fX19fX19fX0sIDB4NzQ6IHtsOiB7MHg3Mjoge2w6IHsweDY5OiB7bDogezB4M0I6IHtjOiBbODkzOV19LCAweDY1OiB7bDogezB4M0I6IHtjOiBbODk0MV19fX19fX19fX19fSwgMHg1Mjoge2w6IHsweDY5OiB7bDogezB4Njc6IHtsOiB7MHg2ODoge2w6IHsweDc0OiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDNCOiB7YzogWzg2NTVdfX19fX19fX19fX19fX19fX19fX19LCAweDczOiB7bDogezB4NjM6IHtsOiB7MHgzQjoge2M6IFs4ODMzXX0sIDB4NjM6IHtsOiB7MHg3NToge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODkyOV19fX19fX19LCAweDY1OiB7bDogezB4M0I6IHtjOiBbMTA5MjgsIDgyNF19fX0sIDB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMjAwMDNdfX19fX0sIDB4Njg6IHtsOiB7MHg2Rjoge2w6IHsweDcyOiB7bDogezB4NzQ6IHtsOiB7MHg2RDoge2w6IHsweDY5OiB7bDogezB4NjQ6IHtsOiB7MHgzQjoge2M6IFs4NzQwXX19fX19fX0sIDB4NzA6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDZDOiB7bDogezB4NjU6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzg3NDJdfX19fX19fX19fX19fX19fX19fX19fX19fSwgMHg2OToge2w6IHsweDZEOiB7bDogezB4M0I6IHtjOiBbODc2OV19LCAweDY1OiB7bDogezB4M0I6IHtjOiBbODc3Ml19LCAweDcxOiB7bDogezB4M0I6IHtjOiBbODc3Ml19fX19fX19fX0sIDB4NkQ6IHtsOiB7MHg2OToge2w6IHsweDY0OiB7bDogezB4M0I6IHtjOiBbODc0MF19fX19fX19LCAweDcwOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHswe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oge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMjQxXX19LCBjOiBbMjQxXX19fX19fX0sIDB4NkM6IHtsOiB7MHg2Nzoge2w6IHsweDNCOiB7YzogWzg4MjRdfX19fX0sIDB4NzI6IHtsOiB7MHg2OToge2w6IHsweDYxOiB7bDogezB4NkU6IHtsOiB7MHg2Nzoge2w6IHsweDZDOiB7bDogezB4NjU6IHtsOiB7MHg2Qzoge2w6IHsweDY1OiB7bDogezB4NjY6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg5MzhdfSwgMHg2NToge2w6IHsweDcxOiB7bDogezB4M0I6IHtjOiBbODk0MF19fX19fX19fX19fX19LCAweDcyOiB7bDogezB4Njk6IHtsOiB7MHg2Nzoge2w6IHsweDY4OiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4OTM5XX0sIDB4NjU6IHtsOiB7MHg3MToge2w6IHsweDNCOiB7YzogWzg5NDFdfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fSwgMHg3NToge2w6IHsweDNCOiB7YzogWzk1N119LCAweDZEOiB7bDogezB4M0I6IHtjOiBbMzVdfSwgMHg2NToge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHgzQjoge2M6IFs4NDcwXX19fX19fX0sIDB4NzM6IHtsOiB7MHg3MDoge2w6IHsweDNCOiB7YzogWzgxOTldfX19fX19fX19LCAweDc2OiB7bDogezB4NjE6IHtsOiB7MHg3MDoge2w6IHsweDNCOiB7YzogWzg3ODEsIDg0MDJdfX19fX0sIDB4NjQ6IHtsOiB7MHg2MToge2w6IHsweDczOiB7bDogezB4Njg6IHtsOiB7MHgzQjoge2M6IFs4ODc2XX19fX19fX19fSwgMHg0NDoge2w6IHsweDYxOiB7bDogezB4NzM6IHtsOiB7MHg2ODoge2w6IHsweDNCOiB7YzogWzg4NzddfX19fX19fX19LCAweDY3OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4ODA1LCA4NDAyXX19f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EwNTMxXX19fX19LCAweDcyOiB7bDogezB4M0I6IHtjOiBbODU5OF19LCAweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFs4NTk4XX19fX19fX19fX19LCAweDQxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg2NjJdfX19fX19fSwgMHg2RToge2w6IHsweDY1OiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwNTM1XX19fX19fX19fX19fX0sXHJcbiAgICAweDRFOiB7bDogezB4NjE6IHtsOiB7MHg2Mzoge2w6IHsweDc1OiB7bDogezB4NzQ6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzMyM119fX19fX19fX19fSwgMHg2Mzoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbMzI3XX19fX19fX19fSwgMHg2NToge2w6IHsweDY0OiB7bDogezB4Njk6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzMyNV19fX19fX19fX0sIDB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMDUzXX19fX19LCAweDY1OiB7bDogezB4Njc6IHtsOiB7MHg2MToge2w6IHsweDc0OiB7bDogezB4Njk6IHtsOiB7MHg3Njoge2w6IHsweDY1OiB7bDogezB4NEQ6IHtsOiB7MHg2NToge2w6IHsweDY0OiB7bDogezB4Njk6IHtsOiB7MHg3NToge2w6IHsweDZEOiB7bDogezB4NTM6IHtsOiB7MHg3MDoge2w6IHsweDYxOiB7bDogezB4NjM6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzgyMDNdfX19fX19fX19fX19fX19fX19fX19fX0sIDB4NTQ6IHtsOiB7MHg2ODoge2w6IHsweDY5OiB7bDogezB4NjM6IHtsOiB7MHg2Qjoge2w6IHsweDUzOiB7bDogezB4NzA6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4MjAzXX19fX19fX19fX19fX19fSwgMHg2RToge2w6IHsweDUzOiB7bDogezB4NzA6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4MjAzXX19fX19fX19fX19fX19fX19fX0sIDB4NTY6IHtsOiB7MHg2NToge2w6IHsweDcyOiB7bDogezB4Nzk6IHtsOiB7MHg1NDoge2w6IHsweDY4OiB7bDogezB4Njk6IHtsOiB7MHg2RToge2w6IHsweDUzOiB7bDogezB4NzA6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4MjAzXX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fSwgMHg3Mzoge2w6IHsweDc0OiB7bDogezB4NjU6IHtsOiB7MHg2NDoge2w6IHsweDQ3OiB7bDogezB4NzI6IHtsOiB7MHg2NToge2w6IHsweDYxOiB7bDogezB4NzQ6IHtsOiB7MHg2NToge2w6IHsweDcyOiB7bDogezB4NDc6IHtsOiB7MHg3Mjoge2w6IHsweDY1OiB7bDogezB4NjE6IHtsOiB7MHg3NDoge2w6IHsweDY1OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs4ODExXX19fX19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDRDOiB7bDogezB4NjU6IHtsOiB7MHg3Mzoge2w6IHsweDczOiB7bDogezB4NEM6IHtsOiB7MHg2NToge2w6IHsweDczOiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFs4ODEwXX19fX19fX19fX19fX19fX19fX19fX19fX0sIDB4Nzc6IHtsOiB7MHg0Qzoge2w6IHsweDY5OiB7bDogezB4NkU6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzEwXX19fX19fX19fX19fX0sIDB4NjY6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEyMDA4MV19fX19fSwgMHg0QToge2w6IHsweDYzOiB7bDogezB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMDM0XX19fX19fX0sIDB4NkY6IHtsOiB7MHg0Mjoge2w6IHsweDcyOiB7bDogezB4NjU6IHtsOiB7MHg2MToge2w6IHsweDZCOiB7bDogezB4M0I6IHtjOiBbODI4OF19fX19fX19fX19fSwgMHg2RToge2w6IHsweDQyOiB7bDogezB4NzI6IHtsOiB7MHg2NToge2w6IHsweDYxOiB7bDogezB4NkI6IHtsOiB7MHg2OToge2w6IHsweDZFOiB7bDogezB4Njc6IHtsOiB7MHg1Mzoge2w6IHsweDcwOiB7bDogezB4NjE6IHtsOiB7MHg2Mzoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMTYwXX19fX19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDcwOiB7bDogezB4NjY6IHtsOiB7MHgzQjoge2M6IFs4NDY5XX19fX19LCAweDc0OiB7bDogezB4M0I6IHtjOiBbMTA5ODhdfSwgMHg0Mzoge2w6IHsweDZGOiB7bDogezB4NkU6IHtsOiB7MHg2Nzoge2w6IHsweDcyOiB7bDogezB4NzU6IHtsOiB7MHg2NToge2w6IHsweDZFOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4ODAyXX19fX19fX19fX19fX19fX19LCAweDc1OiB7bDogezB4NzA6IHtsOiB7MHg0Mzoge2w6IHsweDYxOiB7bDogezB4NzA6IHtsOiB7MHgzQjoge2M6IFs4ODEzXX19fX19fX19fX19fX0sIDB4NDQ6IHtsOiB7MHg2Rjoge2w6IHsweDc1OiB7bDogezB4NjI6IHtsOiB7MHg2Qzoge2w6IHsweDY1OiB7bDogezB4NTY6IHtsOiB7MHg2NToge2w6IHsweDcyOiB7bDogezB4NzQ6IHtsOiB7MHg2OToge2w6IHsweDYzOiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDQyOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg3NDJdfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX0sIDB4NDU6IHtsOiB7MHg2Qzoge2w6IHsweDY1OiB7bDogezB4NkQ6IHtsOiB7MHg2NToge2w6IHsweDZFOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4NzEzXX19fX19fX19fX19fX0sIDB4NzE6IHtsOiB7MHg3NToge2w6IHsweDYxOiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFs4ODAwXX0sIDB4NTQ6IHtsOiB7MHg2OToge2w6IHsweDZDOiB7bDogezB4NjQ6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzg3NzAsIDgyNF19fX19fX19fX19fX19fX19fX19LCAweDc4OiB7bDogezB4Njk6IHtsOiB7MHg3Mzoge2w6IHsweDc0OiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFs4NzA4XX19fX19fX19fX19fX0sIDB4NDc6IHtsOiB7MHg3Mjoge2w6IHsweDY1OiB7bDogezB4NjE6IHtsOiB7MHg3NDoge2w6IHsweDY1OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs4ODE1XX0sIDB4NDU6IHtsOiB7MHg3MToge2w6IHsweDc1OiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzg4MTddfX19fX19fX19fX0sIDB4NDY6IHtsOiB7MHg3NToge2w6IHsweDZDOiB7bDogezB4NkM6IHtsOiB7MHg0NToge2w6IHsweDcxOiB7bDogezB4NzU6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbODgwNywgODI0XX19fX19fX19fX19fX19fX19fX0sIDB4NDc6IHtsOiB7MHg3Mjoge2w6IHsweDY1OiB7bDogezB4NjE6IHtsOiB7MHg3NDoge2w6IHsweDY1OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs4ODExLCA4MjRdfX19fX19fX19fX19fX19LCAweDRDOiB7bDogezB4NjU6IHtsOiB7MHg3Mzoge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbODgyNV19fX19fX19fX0sIDB4NTM6IHtsOiB7MHg2Qzoge2w6IHsweDYxOiB7bDogezB4NkU6IHtsOiB7MHg3NDoge2w6IHsweDQ1OiB7bDogezB4NzE6IHtsOiB7MHg3NToge2w6IHsweDYxOiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFsxMDg3OCwgODI0XX19fX19fX19fX19fX19fX19fX19fSwgMHg1NDoge2w6IHsweDY5OiB7bDogezB4NkM6IHtsOiB7MHg2NDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODgyMV19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDQ4OiB7bDogezB4NzU6IHtsOiB7MHg2RDoge2w6IHsweDcwOiB7bDogezB4NDQ6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4NkU6IHtsOiB7MHg0ODoge2w6IHsweDc1OiB7bDogezB4NkQ6IHtsOiB7MHg3MDoge2w6IHsweDNCOiB7YzogWzg3ODIsIDgyNF19fX19fX19fX19fX19fX19fSwgMHg0NToge2w6IHsweDcxOiB7bDogezB4NzU6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbODc4MywgODI0XX19fX19fX19fX19fX19fX19fX0sIDB4NEM6IHtsOiB7MHg2NToge2w6IHsweDY2OiB7bDogezB4NzQ6IHtsOiB7MHg1NDoge2w6IHsweDcyOiB7bDogezB4Njk6IHtsOiB7MHg2MToge2w6IHsweDZFOiB7bDogezB4Njc6IHtsOiB7MHg2Qzoge2w6IHsweDY1OiB7bDogezB4NDI6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA3MDMsIDgyNF19fX19fX19LCAweDNCOiB7YzogWzg5MzhdfSwgMHg0NToge2w6IHsweDcxOiB7bDogezB4NzU6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbODk0MF19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDczOiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFs4ODE0XX0sIDB4NDU6IHtsOiB7MHg3MToge2w6IHsweDc1OiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzg4MTZdfX19fX19fX19fX0sIDB4NDc6IHtsOiB7MHg3Mjoge2w6IHsweDY1OiB7bDogezB4NjE6IHtsOiB7MHg3NDoge2w6IHsweDY1OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs4ODI0XX19fX19fX19fX19fX19fSwgMHg0Qzoge2w6IHsweDY1OiB7bDogezB4NzM6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzg4MTAsIDgyNF19fX19fX19fX0sIDB4NTM6IHtsOiB7MHg2Qzoge2w6IHsweDYxOiB7bDogezB4NkU6IHtsOiB7MHg3NDoge2w6IHsweDQ1OiB7bDogezB4NzE6IHtsOiB7MHg3NToge2w6IHsweDYxOiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFsxMDg3NywgODI0XX19fX19fX19fX19fX19fX19fX19fSwgMHg1NDoge2w6IHsweDY5OiB7bDogezB4NkM6IHtsOiB7MHg2NDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODgyMF19fX19fX19fX19fX19fX19fX19LCAweDRFOiB7bDogezB4NjU6IHtsOiB7MHg3Mzoge2w6IHsweDc0OiB7bDogezB4NjU6IHtsOiB7MHg2NDoge2w6IHsweDQ3OiB7bDogezB4NzI6IHtsOiB7MHg2NToge2w6IHsweDYxOiB7bDogezB4NzQ6IHtsOiB7MHg2NToge2w6IHsweDcyOiB7bDogezB4NDc6IHtsOiB7MHg3Mjoge2w6IHsweDY1OiB7bDogezB4NjE6IHtsOiB7MHg3NDoge2w6IHsweDY1OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDkxNCwgODI0XX19fX19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDRDOiB7bDogezB4NjU6IHtsOiB7MHg3Mzoge2w6IHsweDczOiB7bDogezB4NEM6IHtsOiB7MHg2NToge2w6IHsweDczOiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFsxMDkxMywgODI0XX19fX19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDUwOiB7bDogezB4NzI6IHtsOiB7MHg2NToge2w6IHsweDYzOiB7bDogezB4NjU6IHtsOiB7MHg2NDoge2w6IHsweDY1OiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFs4ODMyXX0sIDB4NDU6IHtsOiB7MHg3MToge2w6IHsweDc1OiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzEwOTI3LCA4MjRdfX19fX19fX19fX0sIDB4NTM6IHtsOiB7MHg2Qzoge2w6IHsweDYxOiB7bDogezB4NkU6IHtsOiB7MHg3NDoge2w6IHsweDQ1OiB7bDogezB4NzE6IHtsOiB7MHg3NToge2w6IHsweDYxOiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFs4OTI4XX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX0sIDB4NTI6IHtsOiB7MHg2NToge2w6IHsweDc2OiB7bDogezB4NjU6IHtsOiB7MHg3Mjoge2w6IHsweDczOiB7bDogezB4NjU6IHtsOiB7MHg0NToge2w6IHsweDZDOiB7bDogezB4NjU6IHtsOiB7MHg2RDoge2w6IHsweDY1OiB7bDogezB4NkU6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg3MTZdfX19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDY5OiB7bDogezB4Njc6IHtsOiB7MHg2ODoge2w6IHsweDc0OiB7bDogezB4NTQ6IHtsOiB7MHg3Mjoge2w6IHsweDY5OiB7bDogezB4NjE6IHtsOiB7MHg2RToge2w6IHsweDY3OiB7bDogezB4NkM6IHtsOiB7MHg2NToge2w6IHsweDQyOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwNzA0LCA4MjRdfX19fX19fSwgMHgzQjoge2M6IFs4OTM5XX0sIDB4NDU6IHtsOiB7MHg3MToge2w6IHsweDc1OiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzg5NDFdfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fSwgMHg1Mzoge2w6IHsweDcxOiB7bDogezB4NzU6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NjU6IHtsOiB7MHg1Mzoge2w6IHsweDc1OiB7bDogezB4NjI6IHtsOiB7MHg3Mzoge2w6IHsweDY1OiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4ODQ3LCA4MjRdfSwgMHg0NToge2w6IHsweDcxOiB7bDogezB4NzU6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbODkzMF19fX19fX19fX19fX19fX19fX19LCAweDcwOiB7bDogezB4NjU6IHtsOiB7MHg3Mjoge2w6IHsweDczOiB7bDogezB4NjU6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg4NDgsIDgyNF19LCAweDQ1OiB7bDogezB4NzE6IHtsOiB7MHg3NToge2w6IHsweDYxOiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFs4OTMxXX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX0sIDB4NzU6IHtsOiB7MHg2Mjoge2w6IHsweDczOiB7bDogezB4NjU6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg4MzQsIDg0MDJdfSwgMHg0NToge2w6IHsweDcxOiB7bDogezB4NzU6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbODg0MF19fX19fX19fX19fX19fX19fX19LCAweDYzOiB7bDogezB4NjM6IHtsOiB7MHg2NToge2w6IHsweDY1OiB7bDogezB4NjQ6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzg4MzNdfSwgMHg0NToge2w6IHsweDcxOiB7bDogezB4NzU6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbMTA5MjgsIDgyNF19fX19fX19fX19fSwgMHg1Mzoge2w6IHsweDZDOiB7bDogezB4NjE6IHtsOiB7MHg2RToge2w6IHsweDc0OiB7bDogezB4NDU6IHtsOiB7MHg3MToge2w6IHsweDc1OiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzg5MjldfX19fX19fX19fX19fX19fX19fX19LCAweDU0OiB7bDogezB4Njk6IHtsOiB7MHg2Qzoge2w6IHsweDY0OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4ODMxLCA4MjRdfX19fX19fX19fX19fX19fX19fX19fX0sIDB4NzA6IHtsOiB7MHg2NToge2w6IHsweDcyOiB7bDogezB4NzM6IHtsOiB7MHg2NToge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODgzNSwgODQwMl19LCAweDQ1OiB7bDogezB4NzE6IHtsOiB7MHg3NToge2w6IHsweDYxOiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFs4ODQxXX19fX19fX19fX19fX19fX19fX19fX19fX19fSwgMHg1NDoge2w6IHsweDY5OiB7bDogezB4NkM6IHtsOiB7MHg2NDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODc2OV19LCAweDQ1OiB7bDogezB4NzE6IHtsOiB7MHg3NToge2w6IHsweDYxOiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFs4NzcyXX19fX19fX19fX19LCAweDQ2OiB7bDogezB4NzU6IHtsOiB7MHg2Qzoge2w6IHsweDZDOiB7bDogezB4NDU6IHtsOiB7MHg3MToge2w6IHsweDc1OiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzg3NzVdfX19fX19fX19fX19fX19fX19fSwgMHg1NDoge2w6IHsweDY5OiB7bDogezB4NkM6IHtsOiB7MHg2NDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODc3N119fX19fX19fX19fX19fX19fX19fX0sIDB4NTY6IHtsOiB7MHg2NToge2w6IHsweDcyOiB7bDogezB4NzQ6IHtsOiB7MHg2OToge2w6IHsweDYzOiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDQyOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg3NDBdfX19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDczOiB7bDogezB4NjM6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzExOTk3N119fX19fX19LCAweDc0OiB7bDogezB4Njk6IHtsOiB7MHg2Qzoge2w6IHsweDY0OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFsyMDldfX0sIGM6IFsyMDldfX19fX19fX19LCAweDc1OiB7bDogezB4M0I6IHtjOiBbOTI1XX19fX19LFxyXG4gICAgMHg0Rjoge2w6IHsweDYxOiB7bDogezB4NjM6IHtsOiB7MHg3NToge2w6IHsweDc0OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFsyMTFdfX0sIGM6IFsyMTFdfX19fX19fX19LCAweDYzOiB7bDogezB4Njk6IHtsOiB7MHg3Mjoge2w6IHsweDYzOiB7bDogezB4M0I6IHtjOiBbMjEyXX19LCBjOiBbMjEyXX19fX19LCAweDc5OiB7bDogezB4M0I6IHtjOiBbMTA1NF19fX19fSwgMHg2NDoge2w6IHsweDYyOiB7bDogezB4NkM6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4M0I6IHtjOiBbMzM2XX19fX19fX19fX19LCAweDQ1OiB7bDogezB4NkM6IHtsOiB7MHg2OToge2w6IHsweDY3OiB7bDogezB4M0I6IHtjOiBbMzM4XX19fX19fX19fSwgMHg2Njoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTIwMDgyXX19fX19LCAweDY3OiB7bDogezB4NzI6IHtsOiB7MHg2MToge2w6IHsweDc2OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFsyMTBdfX0sIGM6IFsyMTBdfX19fX19fX19LCAweDZEOiB7bDogezB4NjE6IHtsOiB7MHg2Mzoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMzMyXX19fX19fX0sIDB4NjU6IHtsOiB7MHg2Nzoge2w6IHsweDYxOiB7bDogezB4M0I6IHtjOiBbOTM3XX19fX19fX0sIDB4Njk6IHtsOiB7MHg2Mzoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDNCOiB7YzogWzkyN119fX19fX19fX19fX19LCAweDZGOiB7bDogezB4NzA6IHtsOiB7MHg2Njoge2w6IHsweDNCOiB7YzogWzEyMDEzNF19fX19fX19LCAweDcwOiB7bDogezB4NjU6IHtsOiB7MHg2RToge2w6IHsweDQzOiB7bDogezB4NzU6IHtsOiB7MHg3Mjoge2w6IHsweDZDOiB7bDogezB4Nzk6IHtsOiB7MHg0NDoge2w6IHsweDZGOiB7bDogezB4NzU6IHtsOiB7MHg2Mjoge2w6IHsweDZDOiB7bDogezB4NjU6IHtsOiB7MHg1MToge2w6IHsweDc1OiB7bDogezB4NkY6IHtsOiB7MHg3NDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODIyMF19fX19fX19fX19fX19fX19fX19fX19fSwgMHg1MToge2w6IHsweDc1OiB7bDogezB4NkY6IHtsOiB7MHg3NDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODIxNl19fX19fX19fX19fX19fX19fX19fX19fX19fX0sIDB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDgzNl19fX0sIDB4NzM6IHtsOiB7MHg2Mzoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTE5OTc4XX19fX19LCAweDZDOiB7bDogezB4NjE6IHtsOiB7MHg3Mzoge2w6IHsweDY4OiB7bDogezB4M0I6IHtjOiBbMjE2XX19LCBjOiBbMjE2XX19fX19fX19fSwgMHg3NDoge2w6IHsweDY5OiB7bDogezB4NkM6IHtsOiB7MHg2NDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMjEzXX19LCBjOiBbMjEzXX19fX19LCAweDZEOiB7bDogezB4NjU6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzEwODA3XX19fX19fX19fX19LCAweDc1OiB7bDogezB4NkQ6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzIxNF19fSwgYzogWzIxNF19fX19fSwgMHg3Njoge2w6IHsweDY1OiB7bDogezB4NzI6IHtsOiB7MHg0Mjoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs4MjU0XX19fX19LCAweDcyOiB7bDogezB4NjE6IHtsOiB7MHg2Mzoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbOTE4Ml19fX0sIDB4NkI6IHtsOiB7MHg2NToge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbOTE0MF19fX19fX19fX19fX19fX0sIDB4NTA6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NjU6IHtsOiB7MHg2RToge2w6IHsweDc0OiB7bDogezB4Njg6IHtsOiB7MHg2NToge2w6IHsweDczOiB7bDogezB4Njk6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzkxODBdfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fSxcclxuICAgIDB4NkY6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4NzU6IHtsOiB7MHg3NDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMjQzXX19LCBjOiBbMjQzXX19fX19fX0sIDB4NzM6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg4NTldfX19fX19fSwgMHg2Mzoge2w6IHsweDY5OiB7bDogezB4NzI6IHtsOiB7MHg2Mzoge2w6IHsweDNCOiB7YzogWzI0NF19fSwgYzogWzI0NF19LCAweDNCOiB7YzogWzg4NThdfX19fX0sIDB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMDg2XX19fX19LCAweDY0OiB7bDogezB4NjE6IHtsOiB7MHg3Mzoge2w6IHsweDY4OiB7bDogezB4M0I6IHtjOiBbODg2MV19fX19fX19LCAweDYyOiB7bDogezB4NkM6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4M0I6IHtjOiBbMzM3XX19fX19fX19fSwgMHg2OToge2w6IHsweDc2OiB7bDogezB4M0I6IHtjOiBbMTA4MDhdfX19fX0sIDB4NkY6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg4NTddfX19fX0sIDB4NzM6IHtsOiB7MHg2Rjoge2w6IHsweDZDOiB7bDogezB4NjQ6IHtsOiB7MHgzQjoge2M6IFsxMDY4NF19fX19fX19fX19fSwgMHg2NToge2w6IHsweDZDOiB7bDogezB4Njk6IHtsOiB7MHg2Nzoge2w6IHsweDNCOiB7YzogWzMzOV19fX19fX19fX0sIDB4NjY6IHtsOiB7MHg2Mzoge2w6IHsweDY5OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDY4N119fX19fX19LCAweDcyOiB7bDogezB4M0I6IHtjOiBbMTIwMTA4XX19fX19LCAweDY3OiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDNCOiB7YzogWzczMV19fX19fSwgMHg3Mjoge2w6IHsweDYxOiB7bDogezB4NzY6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzI0Ml19fSwgYzogWzI0Ml19fX19fX19LCAweDc0OiB7bDogezB4M0I6IHtjOiBbMTA2ODldfX19fX0sIDB4Njg6IHtsOiB7MHg2Mjoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDY3N119fX19fX19LCAweDZEOiB7bDogezB4M0I6IHtjOiBbOTM3XX19fX19LCAweDY5OiB7bDogezB4NkU6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg3NTBdfX19fX19fSwgMHg2Qzoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg2MzRdfX19fX19fSwgMHg2Mzoge2w6IHsweDY5OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDY4Nl19fX19fSwgMHg3Mjoge2w6IHsweDZGOiB7bDogezB4NzM6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzEwNjgzXX19fX19fX19fX19LCAweDY5OiB7bDogezB4NkU6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzgyNTRdfX19fX19fSwgMHg3NDoge2w6IHsweDNCOiB7YzogWzEwNjg4XX19fX19LCAweDZEOiB7bDogezB4NjE6IHtsOiB7MHg2Mzoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMzMzXX19fX19fX0sIDB4NjU6IHtsOiB7MHg2Nzoge2w6IHsweDYxOiB7bDogezB4M0I6IHtjOiBbOTY5XX19fX19fX0sIDB4Njk6IHtsOiB7MHg2Mzoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDNCOiB7YzogWzk1OV19fX19fX19fX0sIDB4NjQ6IHtsOiB7MHgzQjoge2M6IFsxMDY3OF19fX0sIDB4NkU6IHtsOiB7MHg3NToge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbODg1NF19fX19fX19fX19fSwgMHg2Rjoge2w6IHsweDcwOiB7bDogezB4NjY6IHtsOiB7MHgzQjoge2M6IFsxMjAxNjBdfX19fX19fSwgMHg3MDoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDY3OV19fX19fSwgMHg2NToge2w6IHsweDcyOiB7bDogezB4NzA6IHtsOiB7MHgzQjoge2M6IFsxMDY4MV19fX19fX19LCAweDZDOiB7bDogezB4NzU6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzg4NTNdfX19fX19fX19LCAwe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RToge2w6IHsweDZCOiB7bDogezB4M0I6IHtjOiBbODI0MV19fX19fX19fX19fX19LCAweDY2OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMjAxMDldfX19fX0sIDB4Njg6IHtsOiB7MHg2OToge2w6IHsweDNCOiB7YzogWzk2Nl19LCAweDc2OiB7bDogezB4M0I6IHtjOiBbOTgxXX19fX19LCAweDZEOiB7bDogezB4NkQ6IHtsOiB7MHg2MToge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODQ5OV19fX19fX19fX0sIDB4NkY6IHtsOiB7MHg2RToge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbOTc0Ml19fX19fX19fX0sIDB4Njk6IHtsOiB7MHgzQjoge2M6IFs5NjBdfSwgMHg3NDoge2w6IHsweDYzOiB7bDogezB4Njg6IHtsOiB7MHg2Njoge2w6IHsweDZGOiB7bDogezB4NzI6IHtsOiB7MHg2Qjoge2w6IHsweDNCOiB7YzogWzg5MTZdfX19fX19fX19fX19fX19LCAweDc2OiB7bDogezB4M0I6IHtjOiBbOTgyXX19fX19LCAweDZDOiB7bDogezB4NjE6IHtsOiB7MHg2RToge2w6IHsweDYzOiB7bDogezB4NkI6IHtsOiB7MHgzQjoge2M6IFs4NDYzXX0sIDB4Njg6IHtsOiB7MHgzQjoge2M6IFs4NDYyXX19fX19fX0sIDB4NkI6IHtsOiB7MHg3Njoge2w6IHsweDNCOiB7YzogWzg0NjNdfX19fX19fX19LCAweDc1OiB7bDogezB4NzM6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4Njk6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwNzg3XX19fX19fX19fSwgMHg2Mjoge2w6IHsweDNCOiB7YzogWzg4NjJdfX19LCAweDYzOiB7bDogezB4Njk6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwNzg2XX19fX19fX0sIDB4M0I6IHtjOiBbNDNdfSwgMHg2NDoge2w6IHsweDZGOiB7bDogezB4M0I6IHtjOiBbODcyNF19fX0sIDB4NzU6IHtsOiB7MHgzQjoge2M6IFsxMDc4OV19fX19fSwgMHg2NToge2w6IHsweDNCOiB7YzogWzEwODY2XX19fSwgMHg2RDoge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbMTc3XX19LCBjOiBbMTc3XX19fSwgMHg3Mzoge2w6IHsweDY5OiB7bDogezB4NkQ6IHtsOiB7MHgzQjoge2M6IFsxMDc5MF19fX19fX19LCAweDc0OiB7bDogezB4Nzc6IHtsOiB7MHg2Rjoge2w6IHsweDNCOiB7YzogWzEwNzkxXX19fX19fX19fX19fX0sIDB4NkQ6IHtsOiB7MHgzQjoge2M6IFsxNzddfX19LCAweDZGOiB7bDogezB4Njk6IHtsOiB7MHg2RToge2w6IHsweDc0OiB7bDogezB4Njk6IHtsOiB7MHg2RToge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbMTA3NzNdfX19fX19fX19fX19fSwgMHg3MDoge2w6IHsweDY2OiB7bDogezB4M0I6IHtjOiBbMTIwMTYxXX19fX19LCAweDc1OiB7bDogezB4NkU6IHtsOiB7MHg2NDoge2w6IHsweDNCOiB7YzogWzE2M119fSwgYzogWzE2M119fX19fX19LCAweDcyOiB7bDogezB4NjE6IHtsOiB7MHg3MDoge2w6IHsweDNCOiB7YzogWzEwOTM1XX19fX19LCAweDNCOiB7YzogWzg4MjZdfSwgMHg2Mzoge2w6IHsweDc1OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4ODI4XX19fX19fX0sIDB4NjU6IHtsOiB7MHg2Mzoge2w6IHsweDYxOiB7bDogezB4NzA6IHtsOiB7MHg3MDoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3ODoge2w6IHsweDNCOiB7YzogWzEwOTM1XX19fX19fX19fX19fX0sIDB4M0I6IHtjOiBbODgyNl19LCAweDYzOiB7bDogezB4NzU6IHtsOiB7MHg3Mjoge2w6IHsweDZDOiB7bDogezB4Nzk6IHtsOiB7MHg2NToge2w6IHsweDcxOiB7bDogezB4M0I6IHtjOiBbODgyOF19fX19fX19fX19fX19fX0sIDB4NjU6IHtsOiB7MHg3MToge2w6IHsweDNCOiB7YzogWzEwOTI3XX19fX19LCAweDZFOiB7bDogezB4NjE6IHtsOiB7MHg3MDoge2w6IHsweDcwOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc4OiB7bDogezB4M0I6IHtjOiBbMTA5MzddfX19fX19fX19fX19fSwgMHg2NToge2w6IHsweDcxOiB7bDogezB4NzE6IHtsOiB7MHgzQjoge2M6IFsxMDkzM119fX19fX19LCAweDczOiB7bDogezB4Njk6IHtsOiB7MHg2RDoge2w6IHsweDNCOiB7YzogWzg5MzZdfX19fX19fX19LCAweDczOiB7bDogezB4Njk6IHtsOiB7MHg2RDoge2w6IHsweDNCOiB7YzogWzg4MzBdfX19fX19fX19LCAweDNCOiB7YzogWzEwOTI3XX19fSwgMHg0NToge2w6IHsweDNCOiB7YzogWzEwOTMxXX19fSwgMHg2OToge2w6IHsweDZEOiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4MjQyXX0sIDB4NzM6IHtsOiB7MHgzQjoge2M6IFs4NDczXX19fX19fX19fSwgMHg2RToge2w6IHsweDYxOiB7bDogezB4NzA6IHtsOiB7MHgzQjoge2M6IFsxMDkzN119fX19fSwgMHg0NToge2w6IHsweDNCOiB7YzogWzEwOTMzXX19fSwgMHg3Mzoge2w6IHsweDY5OiB7bDogezB4NkQ6IHtsOiB7MHgzQjoge2M6IFs4OTM2XX19fX19fX19fSwgMHg2Rjoge2w6IHsweDY0OiB7bDogezB4M0I6IHtjOiBbODcxOV19fX0sIDB4NjY6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzkwMDZdfX19fX19fX19LCAweDZDOiB7bDogezB4Njk6IHtsOiB7MHg2RToge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODk3OF19fX19fX19fX0sIDB4NzM6IHtsOiB7MHg3NToge2w6IHsweDcyOiB7bDogezB4NjY6IHtsOiB7MHgzQjoge2M6IFs4OTc5XX19fX19fX19fX19LCAweDcwOiB7bDogezB4M0I6IHtjOiBbODczM119LCAweDc0OiB7bDogezB4NkY6IHtsOiB7MHgzQjoge2M6IFs4NzMzXX19fX19fX19fSwgMHg3Mzoge2w6IHsweDY5OiB7bDogezB4NkQ6IHtsOiB7MHgzQjoge2M6IFs4ODMwXX19fX19fX0sIDB4NzU6IHtsOiB7MHg3Mjoge2w6IHsweDY1OiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFs4ODgwXX19fX19fX19fX19LCAweDczOiB7bDogezB4NjM6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEyMDAwNV19fX19fSwgMHg2OToge2w6IHsweDNCOiB7YzogWzk2OF19fX19fSwgMHg3NToge2w6IHsweDZFOiB7bDogezB4NjM6IHtsOiB7MHg3Mzoge2w6IHsweDcwOiB7bDogezB4M0I6IHtjOiBbODIwMF19fX19fX19fX19fX19LFxyXG4gICAgMHg1MDoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3NDoge2w6IHsweDY5OiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDQ0OiB7bDogezB4M0I6IHtjOiBbODcwNl19fX19fX19fX19fX19fX0sIDB4NjM6IHtsOiB7MHg3OToge2w6IHsweDNCOiB7YzogWzEwNTVdfX19fX0sIDB4NjY6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEyMDA4M119fX19fSwgMHg2ODoge2w6IHsweDY5OiB7bDogezB4M0I6IHtjOiBbOTM0XX19fX19LCAweDY5OiB7bDogezB4M0I6IHtjOiBbOTI4XX19fSwgMHg2Qzoge2w6IHsweDc1OiB7bDogezB4NzM6IHtsOiB7MHg0RDoge2w6IHsweDY5OiB7bDogezB4NkU6IHtsOiB7MHg3NToge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbMTc3XX19fX19fX19fX19fX19fX19LCAweDZGOiB7bDogezB4Njk6IHtsOiB7MHg2RToge2w6IHsweDYzOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDY1OiB7bDogezB4NzA6IHtsOiB7MHg2Qzoge2w6IHsweDYxOiB7bDogezB4NkU6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzg0NjBdfX19fX19fX19fX19fX19fX19fX19fX0sIDB4NzA6IHtsOiB7MHg2Njoge2w6IHsweDNCOiB7YzogWzg0NzNdfX19fX19fSwgMHg3Mjoge2w6IHsweDNCOiB7YzogWzEwOTM5XX0sIDB4NjU6IHtsOiB7MHg2Mzoge2w6IHsweDY1OiB7bDogezB4NjQ6IHtsOiB7MHg2NToge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbODgyNl19LCAweDQ1OiB7bDogezB4NzE6IHtsOiB7MHg3NToge2w6IHsweDYxOiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFsxMDkyN119fX19fX19fX19fSwgMHg1Mzoge2w6IHsweDZDOiB7bDogezB4NjE6IHtsOiB7MHg2RToge2w6IHsweDc0OiB7bDogezB4NDU6IHtsOiB7MHg3MToge2w6IHsweDc1OiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzg4MjhdfX19fX19fX19fX19fX19fX19fX19LCAweDU0OiB7bDogezB4Njk6IHtsOiB7MHg2Qzoge2w6IHsweDY0OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4ODMwXX19fX19fX19fX19fX19fX19fX19fX19LCAweDY5OiB7bDogezB4NkQ6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzgyNDNdfX19fX19fSwgMHg2Rjoge2w6IHsweDY0OiB7bDogezB4NzU6IHtsOiB7MHg2Mzoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODcxOV19fX19fX19fX0sIDB4NzA6IHtsOiB7MHg2Rjoge2w6IHsweDcyOiB7bDogezB4NzQ6IHtsOiB7MHg2OToge2w6IHsweDZGOiB7bDogezB4NkU6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbODczM119fX19fSwgMHgzQjoge2M6IFs4NzU5XX19fX19fX19fX19fX19fX19fX0sIDB4NzM6IHtsOiB7MHg2Mzoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTE5OTc5XX19fX19LCAweDY5OiB7bDogezB4M0I6IHtjOiBbOTM2XX19fX19fX0sXHJcbiAgICAweDUxOiB7bDogezB4NjY6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEyMDA4NF19fX19fSwgMHg2Rjoge2w6IHsweDcwOiB7bDogezB4NjY6IHtsOiB7MHgzQjoge2M6IFs4NDc0XX19fX19fX0sIDB4NzM6IHtsOiB7MHg2Mzoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTE5OTgwXX19fX19fX0sIDB4NTU6IHtsOiB7MHg0Rjoge2w6IHsweDU0OiB7bDogezB4M0I6IHtjOiBbMzRdfX0sIGM6IFszNF19fX19fX19LFxyXG4gICAgMHg3MToge2w6IHsweDY2OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMjAxMTBdfX19fX0sIDB4Njk6IHtsOiB7MHg2RToge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbMTA3NjRdfX19fX19fSwgMHg2Rjoge2w6IHsweDcwOiB7bDogezB4NjY6IHtsOiB7MHgzQjoge2M6IFsxMjAxNjJdfX19fX19fSwgMHg3MDoge2w6IHsweDcyOiB7bDogezB4Njk6IHtsOiB7MHg2RDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODI3OV19fX19fX19fX19fSwgMHg3Mzoge2w6IHsweDYzOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMjAwMDZdfX19fX19fSwgMHg3NToge2w6IHsweDYxOiB7bDogezB4NzQ6IHtsOiB7MHg2NToge2w6IHsweDcyOiB7bDogezB4NkU6IHtsOiB7MHg2OToge2w6IHsweDZGOiB7bDogezB4NkU6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzg0NjFdfX19fX19fX19fX19fX19LCAweDY5OiB7bDogezB4NkU6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzEwNzc0XX19fX19fX19fX19LCAweDY1OiB7bDogezB4NzM6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzYzXX0sIDB4NjU6IHtsOiB7MHg3MToge2w6IHsweDNCOiB7YzogWzg3OTldfX19fX19fX19fX0sIDB4NkY6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzM0XX19LCBjOiBbMzRdfX19fX19fSxcclxuICAgIDB4NzI6IHtsOiB7MHg0MToge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg2NjddfX19fX19fSwgMHg3Mjoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODY1OF19fX19fSwgMHg3NDoge2w6IHsweDYxOiB7bDogezB4Njk6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzEwNTI0XX19fX19fX19fX19LCAweDYxOiB7bDogezB4NjM6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzg3NjUsIDgxN119fX0sIDB4NzU6IHtsOiB7MHg3NDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMzQxXX19fX19fX19fSwgMHg2NDoge2w6IHsweDY5OiB7bDogezB4NjM6IHtsOiB7MHgzQjoge2M6IFs4NzMwXX19fX19fX0sIDB4NjU6IHtsOiB7MHg2RDoge2w6IHsweDcwOiB7bDogezB4NzQ6IHtsOiB7MHg3OToge2w6IHsweDc2OiB7bDogezB4M0I6IHtjOiBbMTA2NzVdfX19fX19fX19fX19fSwgMHg2RToge2w6IHsweDY3OiB7bDogezB4M0I6I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MToge2w6IHsweDZDOiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFs4NDc0XX19fX19fX19fX19fX19fX19LCAweDYyOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA1MDldfX19fX19fSwgMHg2Mjoge2w6IHsweDcyOiB7bDogezB4NkI6IHtsOiB7MHgzQjoge2M6IFsxMDA5OV19fX19fX19LCAweDcyOiB7bDogezB4NjE6IHtsOiB7MHg2Mzoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMTI1XX19fSwgMHg2Qjoge2w6IHsweDNCOiB7YzogWzkzXX19fX19fX0sIDB4NkI6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzEwNjM2XX19fSwgMHg3Mzoge2w6IHsweDZDOiB7bDogezB4NjQ6IHtsOiB7MHgzQjoge2M6IFsxMDYzOF19fX0sIDB4NzU6IHtsOiB7MHgzQjoge2M6IFsxMDY0MF19fX19fX19fX19fX19LCAweDQyOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA1MTFdfX19fX19fX19LCAweDYzOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4NkU6IHtsOiB7MHgzQjoge2M6IFszNDVdfX19fX19fX19LCAweDY1OiB7bDogezB4NjQ6IHtsOiB7MHg2OToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbMzQzXX19fX19fX0sIDB4Njk6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzg5NjldfX19fX19fSwgMHg3NToge2w6IHsweDYyOiB7bDogezB4M0I6IHtjOiBbMTI1XX19fX19LCAweDc5OiB7bDogezB4M0I6IHtjOiBbMTA4OF19fX19fSwgMHg2NDoge2w6IHsweDYzOiB7bDogezB4NjE6IHtsOiB7MHgzQjoge2M6IFsxMDU1MV19fX19fSwgMHg2Qzoge2w6IHs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weDc0OiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbODY0OV19fX19fX19fX19fX19fX19fX19fX19fSwgMHg3Mzoge2w6IHsweDcxOiB7bDogezB4NzU6IHtsOiB7MHg2OToge2w6IHsweDY3OiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDNCOiB7YzogWzg2MDVdfX19fX19fX19fX19fX19fX19fX19LCAweDc0OiB7bDogezB4Njg6IHtsOiB7MHg3Mjoge2w6IHsweDY1OiB7bDogezB4NjU6IHtsOiB7MHg3NDoge2w6IHsweDY5OiB7bDogezB4NkQ6IHtsOiB7MHg2NToge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbODkwOF19fX19fX19fX19fX19fX19fX19fX19fX19fX0sIDB4NkU6IHtsOiB7MHg2Nzoge2w6IHsweDNCOiB7YzogWzczMF19fX19fSwgMHg3Mzoge2w6IHsweDY5OiB7bDogezB4NkU6IHtsOiB7MHg2Nzoge2w6IHsweDY0OiB7bDogezB4NkY6IHtsOiB7MHg3NDoge2w6IHsweDczOiB7bDogezB4NjU6IHtsOiB7MHg3MToge2w6IHsweDNCOiB7YzogWzg3ODddfX19fX19fX19fX19fX19fX19fX19fX0sIDB4NkM6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs4NjQ0XX19fX19fX0sIDB4Njg6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODY1Ml19fX19fX19LCAweDZEOiB7bDogezB4M0I6IHtjOiBbODIwN119fX19fSwgMHg2RDoge2w6IHsweDZGOiB7bDogezB4NzU6IHtsOiB7MHg3Mzoge2w6IHsweDc0OiB7bDogezB4NjE6IHtsOiB7MHg2Mzoge2w6IHsweDY4OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs5MTM3XX19fX19fX19fSwgMHgzQjoge2M6IFs5MTM3XX19fX19fX19fX19LCAweDZFOiB7bDogezB4NkQ6IHtsOiB7MHg2OToge2w6IHsweDY0OiB7bDogezB4M0I6IHtjOiBbMTA5OTBdfX19fX19fX19LCAweDZGOiB7bDogezB4NjE6IHtsOiB7MHg2RToge2w6IHsweDY3OiB7bDogezB4M0I6IHtjOiBbMTAyMjFdfX19fX0sIDB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg3MDJdfX19fX19fSwgMHg2Mjoge2w6IHsweDcyOiB7bDogezB4NkI6IHtsOiB7MHgzQjoge2M6IFsxMDIxNV19fX19fX19LCAweDcwOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwNjMwXX19fX19LCAweDY2OiB7bDogezB4M0I6IHtjOiBbMTIwMTYzXX19fSwgMHg2Qzoge2w6IHsweDc1OiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFsxMDc5OF19fX19fX19fX0sIDB4NzQ6IHtsOiB7MHg2OToge2w6IHsweDZEOiB7bDogezB4NjU6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzEwODA1XX19fX19fX19fX19fX0sIDB4NzA6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbNDFdfSwgMHg2Nzoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbMTA2NDRdfX19fX19fX19LCAweDcwOiB7bDogezB4NkY6IHtsOiB7MHg2Qzoge2w6IHsweDY5OiB7bDogezB4NkU6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzEwNzcwXX19fX19fX19fX19fX19fSwgMHg3Mjoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg2NDldfX19fX19fX19LCAweDczOiB7bDogezB4NjE6IHtsOiB7MHg3MToge2w6IHsweDc1OiB7bDogezB4NkY6IHtsOiB7MHgzQjoge2M6IFs4MjUwXX19fX19fX19fSwgMHg2Mzoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTIwMDA3XX19fX19LCAweDY4OiB7bDogezB4M0I6IHtjOiBbODYyNV19fX0sIDB4NzE6IHtsOiB7MHg2Mjoge2w6IHsweDNCOiB7YzogWzkzXX19fSwgMHg3NToge2w6IHsweDZGOiB7bDogezB4M0I6IHtjOiBbODIxN119LCAweDcyOiB7bDogezB4M0I6IHtjOiBbODIxN119fX19fX19fX19fSwgMHg3NDoge2w6IHsweDY4OiB7bDogezB4NzI6IHtsOiB7MHg2NToge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODkwOF19fX19fX19fX0sIDB4Njk6IHtsOiB7MHg2RDoge2w6IHsweDY1OiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFs4OTA2XX19fX19fX19fSwgMHg3Mjoge2w6IHsweDY5OiB7bDogezB4M0I6IHtjOiBbOTY1N119LCAweDY1OiB7bDogezB4M0I6IHtjOiBbODg4NV19fX0sIDB4NjY6IHtsOiB7MHgzQjoge2M6IFs5NjU2XX19fSwgMHg2Qzoge2w6IHsweDc0OiB7bDogezB4NzI6IHtsOiB7MHg2OToge2w6IHsweDNCOiB7YzogWzEwNzAyXX19fX19fX19fX19fX19fSwgMHg3NToge2w6IHsweDZDOiB7bDogezB4NzU6IHtsOiB7MHg2ODoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDYwMF19fX19fX19fX19fX19LCAweDc4OiB7bDogezB4M0I6IHtjOiBbODQ3OF19fX19fSxcclxuICAgIDB4NTI6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4NzU6IHtsOiB7MHg3NDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMzQwXX19fX19fX19fSwgMHg2RToge2w6IHsweDY3OiB7bDogezB4M0I6IHtjOiBbMTAyMTldfX19fX0sIDB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg2MDhdfSwgMHg3NDoge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbMTA1MThdfX19fX19fX19fX0sIDB4NDI6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDUxMl19fX19fX19fX0sIDB4NjM6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDNCOiB7YzogWzM0NF19fX19fX19fX0sIDB4NjU6IHtsOiB7MHg2NDoge2w6IHsweDY5OiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFszNDJdfX19fX19fX19LCAweDc5OiB7bDogezB4M0I6IHtjOiBbMTA1Nl19fX19fSwgMHg2NToge2w6IHsweDNCOiB7YzogWzg0NzZdfSwgMHg3Njoge2w6IHsweDY1OiB7bDogezB4NzI6IHtsOiB7MHg3Mzoge2w6IHsweDY1OiB7bDogezB4NDU6IHtsOiB7MHg2Qzoge2w6IHsweDY1OiB7bDogezB4NkQ6IHtsOiB7MHg2NToge2w6IHsweDZFOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4NzE1XX19fX19fX19fX19fX0sIDB4NzE6IHtsOiB7MHg3NToge2w6IHsweDY5OiB7bDogezB4NkM6IHtsOiB7MHg2OToge2w6IHsweDYyOiB7bDogezB4NzI6IHtsOiB7MHg2OToge2w6IHsweDc1OiB7bDogezB4NkQ6IHtsOiB7MHgzQjoge2M6IFs4NjUxXX19fX19fX19fX19fX19fX19fX19fX19LCAweDU1OiB7bDogezB4NzA6IHtsOiB7MHg0NToge2w6IHsweDcxOiB7bDogezB4NzU6IHtsOiB7MHg2OToge2w6IHsweDZDOiB7bDogezB4Njk6IHtsOiB7MHg2Mjoge2w6IHsweDcyOiB7bDogezB4Njk6IHtsOiB7MHg3NToge2w6IHsweDZEOiB7bDogezB4M0I6IHtjOiBbMTA2MDddfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDQ1OiB7bDogezB4NDc6IHtsOiB7MHgzQjoge2M6IFsxNzRdfX0sIGM6IFsxNzRdfX19LCAweDY2OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs4NDc2XX19fX19LCAweDY4OiB7bDogezB4NkY6IHtsOiB7MHgzQjoge2M6IFs5MjldfX19fX0sIDB4Njk6IHtsOiB7MHg2Nzoge2w6IHsweDY4OiB7bDogezB4NzQ6IHtsOiB7MHg0MToge2w6IHsweDZFOiB7bDogezB4Njc6IHtsOiB7MHg2Qzoge2w6IHsweDY1OiB7bDogezB4NDI6IHtsOiB7MHg3Mjoge2w6IHsweDYxOiB7bDogezB4NjM6IHtsOiB7MHg2Qjoge2w6IHsweDY1OiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFsxMDIxN119fX19fX19fX19fX19fX19fX19fX19fSwgMHg3Mjoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDQyOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg2NzddfX19fX19fSwgMHgzQjoge2M6IFs4NTk0XX0sIDB4NEM6IHtsOiB7MHg2NToge2w6IHsweDY2OiB7bDogezB4NzQ6IHtsOiB7MHg0MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4M0I6IHtjOiBbODY0NF19fX19fX19fX19fX19fX19fX19fX19fX19fX19fSwgMHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4M0I6IHtjOiBbODY1OF19fX19fX19fX19fSwgMHg0Mzoge2w6IHsweDY1OiB7bDogezB4Njk6IHtsOiB7MHg2Qzoge2w6IHsweDY5OiB7bDogezB4NkU6IHtsOiB7MHg2Nzoge2w6IHsweDNCOiB7YzogWzg5NjldfX19fX19fX19fX19fX19LCAweDQ0OiB7bDogezB4NkY6IHtsOiB7MHg3NToge2w6IHsweDYyOiB7bDogezB4NkM6IHtsOiB7MHg2NToge2w6IHsweDQyOiB7bDogezB4NzI6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4NkI6IHtsOiB7MHg2NToge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbMTAyMTVdfX19fX19fX19fX19fX19fX19fX19fX0sIDB4Nzc6IHtsOiB7MHg2RToge2w6IHsweDU0OiB7bDogezB4NjU6IHtsOiB7MHg2NToge2w6IHsweDU2OiB7bDogezB4NjU6IHtsOiB7MHg2Mzoge2w6IHsweDc0OiB7bDogezB4NkY6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwNTg5XX19fX19fX19fX19fX19fX19fX0sIDB4NTY6IHtsOiB7MHg2NToge2w6IHsweDYzOiB7bDogezB4NzQ6IHtsOiB7MHg2Rjoge2w6IHsweDcyOiB7bDogezB4NDI6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA1ODFdfX19fX19fSwgMHgzQjoge2M6IFs4NjQyXX19fX19fX19fX19fX19fX19fX19fSwgMHg0Njoge2w6IHsweDZDOiB7bDogezB4NkY6IHtsOiB7MHg2Rjoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODk3MV19fX19fX19fX19fSwgMHg1NDoge2w6IHsweDY1OiB7bDogezB4NjU6IHtsOiB7MHg0MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4M0I6IHtjOiBbODYxNF19fX19fX19fX19fSwgMHgzQjoge2M6IFs4ODY2XX0sIDB4NTY6IHtsOiB7MHg2NToge2w6IHsweDYzOiB7bDogezB4NzQ6IHtsOiB7MHg2Rjoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA1ODddfX19fX19fX19fX19fX19fX0sIDB4NzI6IHtsOiB7MHg2OToge2w6IHsweDYxOiB7bDogezB4NkU6IHtsOiB7MHg2Nzoge2w6IHsweDZDOiB7bDogezB4NjU6IHtsOiB7MHg0Mjoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDcwNF19fX19fX19LCAweDNCOiB7YzogWzg4ODNdfSwgMHg0NToge2w6IHsweDcxOiB7bDogezB4NzU6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbODg4NV19fX19fX19fX19fX19fX19fX19fX19fX19fX0sIDB4NTU6IHtsOiB7MHg3MDoge2w6IHsweDQ0OiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDZFOiB7bDogezB4NTY6IHtsOiB7MHg2NToge2w6IHsweDYzOiB7bDogezB4NzQ6IHtsOiB7MHg2Rjoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA1NzVdfX19fX19fX19fX19fX19fX19fX19LCAweDU0OiB7bDogezB4NjU6IHtsOiB7MHg2NToge2w6IHsweDU2OiB7bDogezB4NjU6IHtsOiB7MHg2Mzoge2w6IHsweDc0OiB7bDogezB4NkY6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwNTg4XX19fX19fX19fX19fX19fX19fX0sIDB4NTY6IHtsOiB7MHg2NToge2w6IHsweDYzOiB7bDogezB4NzQ6IHtsOiB7MHg2Rjoge2w6IHsweDcyOiB7bDogezB4NDI6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA1ODBdfX19fX19fSwgMHgzQjoge2M6IFs4NjM4XX19fX19fX19fX19fX19fX19LCAweDU2OiB7bDogezB4NjU6IHtsOiB7MHg2Mzoge2w6IHsweDc0OiB7bDogezB4NkY6IHtsOiB7MHg3Mjoge2w6IHsweDQyOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwNTc5XX19fX19fX0sIDB4M0I6IHtjOiBbODY0MF19fX19fX19fX19fX19fX19fX19fX0sIDB4NkY6IHtsOiB7MHg3MDoge2w6IHsweDY2OiB7bDogezB4M0I6IHtjOiBbODQ3N119fX19fSwgMHg3NToge2w6IHsweDZFOiB7bDogezB4NjQ6IHtsOiB7MHg0OToge2w6IHsweDZEOiB7bDogezB4NzA6IHtsOiB7MHg2Qzoge2w6IHsweDY5OiB7bDogezB4NjU6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzEwNjA4XX19fX19fX19fX19fX19fX19fX19fX19LCAweDcyOiB7bDogezB4Njk6IHtsOiB7MHg2Nzoge2w6IHsweDY4OiB7bDogezB4NzQ6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4M0I6IHtjOiBbODY2N119fX19fX19fX19fX19fX19fX19fX0sIDB4NzM6IHtsOiB7MHg2Mzoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODQ3NV19fX19fSwgMHg2ODoge2w6IHsweDNCOiB7YzogWzg2MjVdfX19fX0sIDB4NzU6IHtsOiB7MHg2Qzoge2w6IHsweDY1OiB7bDogezB4NDQ6IHtsOiB7MHg2NToge2w6IHsweDZDOiB7bDogezB4NjE6IHtsOiB7MHg3OToge2w6IHsweDY1OiB7bDogezB4NjQ6IHtsOiB7MHgzQjoge2M6IFsxMDc0MF19fX19fX19fX19fX19fX19fX19fX19fSxcclxuICAgIDB4NTM6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4NzU6IHtsOiB7MHg3NDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMzQ2XX19fX19fX19fX19LCAweDYzOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4NkU6IHtsOiB7MHgzQjoge2M6IFszNTJdfX19fX19fX19LCAweDNCOiB7YzogWzEwOTQwXX0sIDB4NjU6IHtsOiB7MHg2NDoge2w6IHsweDY5OiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFszNTBdfX19fX19fX19LCAweDY5OiB7bDogezB4NzI6IHtsOiB7MHg2Mzoge2w6IHsweDNCOiB7YzogWzM0OF19fX19fX19LCAweDc5OiB7bDogezB4M0I6IHtjOiBbMTA1N119fX19fSwgMHg2Njoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTIwMDg2XX19fX19LCAweDQ4OiB7bDogezB4NDM6IHtsOiB7MHg0ODoge2w6IHsweDYzOiB7bDogezB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMDY1XX19fX19fX19fSwgMHg2Mzoge2w6IHsweDc5OiB7bDogezB4M0I6IHtjOiBbMTA2NF19fX19fX19LCAweDY4OiB7bDogezB4NkY6IHtsOiB7MHg3Mjoge2w6IHsweDc0OiB7bDogezB4NDQ6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4NkU6IHtsOiB7MHg0MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4M0I6IHtjOiBbODU5NV19fX19fX19fX19fX19fX19fX19LCAweDRDOiB7bDogezB4NjU6IHtsOiB7MHg2Njoge2w6IHsweDc0OiB7bDogezB4NDE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDNCOiB7YzogWzg1OTJdfX19fX19fX19fX19fX19fX19fSwgMHg1Mjoge2w6IHsweDY5OiB7bDogezB4Njc6IHtsOiB7MHg2ODoge2w6IHsweDc0OiB7bDogezB4NDE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDNCOiB7YzogWzg1OTRdfX19fX19fX19fX19fX19fX19fX19LCAweDU1OiB7bDogezB4NzA6IHtsOiB7MHg0MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4M0I6IHtjOiBbODU5M119fX19fX19fX19fX19fX19fX19fX19fSwgMHg2OToge2w6IHsweDY3OiB7bDogezB4NkQ6IHtsOiB7MHg2MToge2w6IHsweDNCOiB7YzogWzkzMV19fX19fX19fX0sIDB4NkQ6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4NkM6IHtsOiB7MHg0Mzoge2w6IHsweDY5OiB7bDogezB4NzI6IHtsOiB7MHg2Mzoge2w6IHsweDZDOiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4NzI4XX19fX19fX19fX19fX19fX19fX19fSwgMHg0Rjoge2w6IHsweDQ2OiB7bDogezB4NTQ6IHtsOiB7MHg2Mzoge2w6IHsweDc5OiB7bDogezB4M0I6IHtjOiBbMTA2OF19fX19fX19fX19fSwgMHg2Rjoge2w6IHsweDcwOiB7bDogezB4NjY6IHtsOiB7MHgzQjoge2M6IFsxMjAxMzhdfX19fX19fSwgMHg3MToge2w6IHsweDcyOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4NzMwXX19fX19LCAweDc1OiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbOTYzM119LCAweDQ5OiB7bDogezB4NkU6IHtsOiB7MHg3NDoge2w6IHsweDY1OiB7bDogezB4NzI6IHtsOiB7MHg3Mzoge2w6IHsweDY1OiB7bDogezB4NjM6IHtsOiB7MHg3NDoge2w6IHsweDY5OiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDNCOiB7YzogWzg4NTFdfX19fX19fX19fX19fX19fX19fX19fX19fSwgMHg1Mzoge2w6IHsweDc1OiB7bDogezB4NjI6IHtsOiB7MHg3Mzoge2w6IHsweDY1OiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4ODQ3XX0sIDB4NDU6IHtsOiB7MHg3MToge2w6IHsweDc1OiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzg4NDldfX19fX19fX19fX19fX19fX19fSwgMHg3MDoge2w6IHsweDY1OiB7bDogezB4NzI6IHtsOiB7MHg3Mzoge2w6IHsweDY1OiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4ODQ4XX0sIDB4NDU6IHtsOiB7MHg3MToge2w6IHsweDc1OiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzg4NTBdfX19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDU1OiB7bDogezB4NkU6IHtsOiB7MHg2OToge2w6IHsweDZGOiB7bDogezB4NkU6IHtsOiB7MHgzQjoge2M6IFs4ODUyXX19fX19fX19fX19fX19fX19fX19fSwgMHg3Mzoge2w6IHsweDYzOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMTk5ODJdfX19fX19fSwgMHg3NDoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs4OTAyXX19fX19fX0sIDB4NzU6IHtsOiB7MHg2Mjoge2w6IHsweDNCOiB7YzogWzg5MTJdfSwgMHg3Mzoge2w6IHsweDY1OiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4OTEyXX0sIDB4NDU6IHtsOiB7MHg3MToge2w6IHsweDc1OiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzg4MzhdfX19fX19fX19fX19fX19fX19fSwgMHg2Mzoge2w6IHsweDYzOiB7bDogezB4NjU6IHtsOiB7MHg2NToge2w6IHsweDY0OiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFs4ODI3XX0sIDB4NDU6IHtsOiB7MHg3MToge2w6IHsweDc1OiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzEwOTI4XX19fX19fX19fX19LCAweDUzOiB7bDogezB4NkM6IHtsOiB7MHg2MToge2w6IHsweDZFOiB7bDogezB4NzQ6IHtsOiB7MHg0NToge2w6IHsweDcxOiB7bDogezB4NzU6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbODgyOV19fX19fX19fX19fX19fX19fX19fX0sIDB4NTQ6IHtsOiB7MHg2OToge2w6IHsweDZDOiB7bDogezB4NjQ6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzg4MzFdfX19fX19fX19fX19fX19fX19fX19LCAweDY4OiB7bDogezB4NTQ6IHtsOiB7MHg2ODoge2w6IHsweDYxOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4NzE1XX19fX19fX19fX19fX0sIDB4NkQ6IHtsOiB7MHgzQjoge2M6IFs4NzIxXX19fSwgMHg3MDoge2w6IHsweDNCOiB7YzogWzg5MTNdfSwgMHg2NToge2w6IHsweDcyOiB7bDogezB4NzM6IHtsOiB7MHg2NToge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODgzNV19LCAweDQ1OiB7bDogezB4NzE6IHtsOiB7MHg3NToge2w6IHsweDYxOiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFs4ODM5XX19fX19fX19fX19fX19fX19fX19fSwgMHg3Mzoge2w6IHsweDY1OiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4OTEzXX19fX19fX19fX19fX0sXHJcbiAgICAweDczOiB7bDogezB4NjE6IHtsOiB7MHg2Mzoge2w6IHsweDc1OiB7bDogezB4NzQ6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzM0N119fX19fX19fX19fSwgMHg2Mjoge2w6IHsweDcxOiB7bDogezB4NzU6IHtsOiB7MHg2Rjoge2w6IHsweDNCOiB7YzogWzgyMThdfX19fX19fX19LCAweDYzOiB7bDogezB4NjE6IHtsOiB7MHg3MDoge2w6IHsweDNCOiB7YzogWzEwOTM2XX19fSwgMHg3Mjoge2w6IHsweDZGOiB7bDogezB4NkU6IHtsOiB7MHgzQjoge2M6IFszNTNdfX19fX19fX19LCAweDNCO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weDc3OiB7bDogezB4M0I6IHtjOiBbODYwMF19fX19fX19fX19fSwgMHg0MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs4NjY0XX19fX19fX0sIDB4NjM6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzE2N119fSwgYzogWzE2N119fX0sIDB4NkQ6IHtsOiB7MHg2OToge2w6IHsweDNCOiB7YzogWzU5XX19fX19LCAweDczOiB7bDogezB4Nzc6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA1MzddfX19fX19fX19LCAweDc0OiB7bDogezB4NkQ6IHtsOiB7MHg2OToge2w6IHsweDZFOiB7bDogezB4NzU6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzg3MjZdfX19fX19fX19LCAweDZFOiB7bDogezB4M0I6IHtjOiBbODcyNl19fX19fX19LCAweDc4OiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFsxMDAzOF19fX19fX19LCAweDY2OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMjAxMTJdfSwgMHg2Rjoge2w6IHsweDc3OiB7bDogezB4NkU6IHtsOiB7MHgzQjoge2M6IFs4OTk0XX19fX19fX19fX19LCAweDY4OiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDcwOiB7bDogezB4M0I6IHtjOiBbOTgzOV19fX19fX19LCAweDYzOiB7bDogezB4Njg6IHtsOiB7MHg2Mzoge2w6IHsweDc5OiB7bDogezB4M0I6IHtjOiBbMTA5N119fX19fX19LCAweDc5OiB7bDogezB4M0I6IHtjOiBbMTA5Nl19fX19fSwgMHg2Rjoge2w6IHsweDcyOiB7bDogezB4NzQ6IHtsOiB7MHg2RDoge2w6IHsweDY5OiB7bDogezB4NjQ6IHtsOiB7MHgzQjoge2M6IFs4NzM5XX19fX19fX0sIDB4NzA6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NjE6IHtsO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7MHg2Qzoge2w6IHsweDczOiB7bDogezB4NjU6IHtsOiB7MHg3NDoge2w6IHsweDZEOiB7bDogezB4Njk6IHtsOiB7MHg2RToge2w6IHsweDc1OiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFs4NzI2XX19fX19fX19fX19fX19fX19fX19fSwgMHg3Mzoge2w6IHsweDY4OiB7bDogezB4NzA6IHtsOiB7MHgzQjoge2M6IFsxMDgwM119fX19fX19fX0sIDB4NjU6IHtsOiB7MHg3MDoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mzoge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbMTA3MjRdfX19fX19fX19fX19fSwgMHg2OToge2w6IHsweDY0OiB7bDogezB4M0I6IHtjOiBbODczOV19fX0sIDB4NkM6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzg5OTVdfX19fX19fSwgMHg3NDoge2w6IHsweDNCOiB7YzogWzEwOTIyXX0sIDB4NjU6IHtsOiB7MHgzQjoge2M6IFsxMDkyNF19LCAweDczOiB7bDogezB4M0I6IHtjOiBbMTA5MjQsIDY1MDI0XX19fX19fX19fSwgMHg2Rjoge2w6IHsweDY2OiB7bDogezB4NzQ6IHtsOiB7MHg2Mzoge2w6IHsweDc5OiB7bDogezB4M0I6IHtjOiBbMTEwMF19fX19fX19fX0sIDB4NkM6IHtsOiB7MHg2Mjoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs5MDIzXX19fX19LCAweDNCOiB7YzogWzEwNjkyXX19fSwgMHgzQjoge2M6IFs0N119fX0sIDB4NzA6IHtsOiB7MHg2Njoge2w6IHsweDNCOiB7YzogWzEyMDE2NF19fX19fX19LCAweDcwOiB7bDogezB4NjE6IHtsOiB7MHg2NDoge2w6IHsweDY1OiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFs5ODI0XX0sIDB4NzU6IHtsOiB7MHg2OToge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbOTgyNF19fX19fX19fX19fX19LCAweDcyOiB7bDogezB4M0I6IHtjOiBbODc0MV19fX19fX19LCAweDcxOiB7bDogezB4NjM6IHtsOiB7MHg2MToge2w6IHsweDcwOiB7bDogezB4M0I6IHtjOiBbODg1MV19LCAweDczOiB7bDogezB4M0I6IHtjOiBbODg1MSwgNjUwMjRdfX19fX19fSwgMHg3NToge2w6IHsweDcwOiB7bDogezB4M0I6IHtjOiBbODg1Ml19LCAweDczOiB7bDogezB4M0I6IHtjOiBbODg1MiwgNjUwMjRdfX19fX19fX19LCAweDczOiB7bDogezB4NzU6IHtsOiB7MHg2Mjoge2w6IHsweDNCOiB7YzogWzg4NDddfSwgMHg2NToge2w6IHsweDNCOiB7YzogWzg4NDldfX19LCAweDczOiB7bDogezB4NjU6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg4NDddfSwgMHg2NToge2w6IHsweDcxOiB7bDogezB4M0I6IHtjOiBbODg0OV19fX19fX19fX19fX19LCAweDcwOiB7bDogezB4M0I6IHtjOiBbODg0OF19LCAweDY1OiB7bDogezB4M0I6IHtjOiBbODg1MF19fX0sIDB4NzM6IHtsOiB7MHg2NToge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODg0OF19LCAweDY1OiB7bDogezB4NzE6IHtsOiB7MHgzQjoge2M6IFs4ODUwXX19fX19fX19fX19fX19fX19LCAweDc1OiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbOTYzM119fX0sIDB4NjY6IHtsOiB7MHgzQjoge2M6IFs5NjQyXX19fX19fX0sIDB4M0I6IHtjOiBbOTYzM119LCAweDY2OiB7bDogezB4M0I6IHtjOiBbOTY0Ml19fX19fX19LCAweDcyOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODU5NF19fX19fX19fX0sIDB4NzM6IHtsOiB7MHg2Mzoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTIwMDA4XX19fX19LCAweDY1OiB7bDogezB4NzQ6IHtsOiB7MHg2RDoge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbODcyNl19fX19fX19fX0sIDB4NkQ6IHtsOiB7MHg2OToge2w6IHsweDZDOiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4OTk1XX19fX19fX19fSwgMHg3NDoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg2Njoge2w6IHsweDNCOiB7YzogWzg5MDJdfX19fX19fX19fX0sIDB4NzQ6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbOTczNF19LCAweDY2OiB7bDogezB4M0I6IHtjOiBbOTczM119fX19fX19LCAweDcyOiB7bDogezB4NjE6IHtsOiB7MHg2OToge2w6IHsweDY3OiB7bDogezB4Njg6IHtsOiB7MHg3NDoge2w6IHsweDY1OiB7bDogezB4NzA6IHtsOiB7MHg3Mzoge2w6IHsweDY5OiB7bDogezB4NkM6IHtsOiB7MHg2Rjoge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbMTAxM119fX19fX19fX19fX19fX0sIDB4NzA6IHtsOiB7MHg2ODoge2w6IHsweDY5OiB7bDogezB4M0I6IHtjOiBbOTgxXX19fX19fX19fX19fX19fX19LCAweDZFOiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFsxNzVdfX19fX19fX19LCAweDc1OiB7bDogezB4NjI6IHtsOiB7MHgzQjoge2M6IFs4ODM0XX0sIDB4NjQ6IHtsOiB7MHg2Rjoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbMTA5NDFdfX19fX19fSwgMHg0NToge2w6IHsweDNCOiB7YzogWzEwOTQ5XX19fSwgMHg2NToge2w6IHsweDNCOiB7YzogWzg4MzhdfSwgMHg2NDoge2w6IHsweDZGOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFsxMDk0N119fX19fX19fX0sID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MTA5NDhdfX19fX19fX19LCAweDY4OiB7bDogezB4NzM6IHtsOiB7MHg2Rjoge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbMTAxODVdfX19fX0sIDB4NzU6IHtsOiB7MHg2Mjoge2w6IHsweDNCOiB7YzogWzEwOTY3XX19fX19fX19fSwgMHg2Qzoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwNjE5XX19fX19fX19fSwgMHg2RDoge2w6IHsweDc1OiB7bDogezB4NkM6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzEwOTQ2XX19fX19fX19fSwgMHg2RToge2w6IHsweDQ1OiB7bDogezB4M0I6IHtjOiBbMTA5NTZdfX19LCAweDY1OiB7bDogezB4M0I6IHtjOiBbODg0M119fX19fSwgMHg3MDoge2w6IHsweDZDOiB7bDogezB4NzU6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzEwOTQ0XX19fX19fX19fSwgMHg3Mzoge2w6IHsweDY1OiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4ODM1XX0sIDB4NjU6IHtsOiB7MHg3MToge2w6IHsweDNCOiB7YzogWzg4MzldfSwgMHg3MToge2w6IHsweDNCOiB7YzogWzEwOTUwXX19fX19fX0sIDB4NkU6IHtsOiB7MHg2NToge2w6IHsweDcxOiB7bDogezB4M0I6IHtjOiBbODg0M119LCAweDcxOiB7bDogezB4M0I6IHtjOiBbMTA5NTZdfX19fX19fX19fX19fSwgMHg2OToge2w6IHsweDZEOiB7bDogezB4M0I6IHtjOiBbMTA5NTJdfX19fX0sIDB4NzU6IHtsOiB7MHg2Mjoge2w6IHsweDNCOiB7YzogWzEwOTY0XX19fSwgMHg3MDoge2w6IHsweDNCOiB7YzogWzEwOTY2XX19fX19fX19fX19LCAweDc3OiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDY4OiB7bDogezB4NkI6IHtsOiB7MHgzQjoge2M6IFsxMDUzNF19fX19fSwgMHg3Mjoge2w6IHsweDNCOiB7YzogWzg2MDFdfSwgMHg2Rjoge2w6IHsweDc3OiB7bDogezB4M0I6IHtjOiBbODYwMV19fX19fX19fX19fSwgMHg0MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs4NjY1XX19fX19fX0sIDB4NkU6IHtsOiB7MHg3Nzoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDUzOF19fX19fX19fX19fSwgMHg3QToge2w6IHsweDZDOiB7bDogezB4Njk6IHtsOiB7MHg2Nzoge2w6IHsweDNCOiB7YzogWzIyM119fSwgYzogWzIyM119fX19fX19fX0sXHJcbiAgICAweDU0OiB7bDogezB4NjE6IHtsOiB7MHg2Mjoge2w6IHsweDNCOiB7YzogWzldfX19LCAweDc1OiB7bDogezB4M0I6IHtjOiBbOTMyXX19fX19LCAweDYzOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4NkU6IHtsOiB7MHgzQjoge2M6IFszNTZdfX19fX19fX19LCAweDY1OiB7bDogezB4NjQ6IHtsOiB7MHg2OToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbMzU0XX19fX19fX19fSwgMHg3OToge2w6IHsweDNCOiB7YzogWzEwNThdfX19fX0sIDB4NjY6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEyMDA4N119fX19fSwgMHg2ODoge2w6IHsweDY1OiB7bDogezB4NzI6IHtsOiB7MHg2NToge2w6IHsweDY2OiB7bDogezB4NkY6IHtsOiB7MHg3Mjoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODc1Nl19fX19fX19fX19fX19LCAweDc0OiB7bDogezB4NjE6IHtsOiB7MHgzQjoge2M6IFs5MjBdfX19fX19fSwgMHg2OToge2w6IHsweDYzOiB7bDogezB4NkI6IHtsOiB7MHg1Mzoge2w6IHsweDcwOiB7bDogezB4NjE6IHtsOiB7MHg2Mzoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODI4NywgODIwMl19fX19fX19fX19fX19fX0sIDB4NkU6IHtsOiB7MHg1Mzoge2w6IHsweDcwOiB7bDogezB4NjE6IHtsOiB7MHg2Mzoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODIwMV19fX19fX19fX19fX19fX19fSwgMHg0ODoge2w6IHsweDRGOiB7bDogezB4NTI6IHtsOiB7MHg0RToge2w6IHsweDNCOiB7YzogWzIyMl19fSwgYzogWzIyMl19fX19fX19LCAweDY5OiB7bDogezB4NkM6IHtsOiB7MHg2NDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODc2NF19LCAweDQ1OiB7bDogezB4NzE6IHtsOiB7MHg3NToge2w6IHsweDYxOiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFs4NzcxXX19fX19fX19fX19LCAweDQ2OiB7bDogezB4NzU6IHtsOiB7MHg2Qzoge2w6IHsweDZDOiB7bDogezB4NDU6IHtsOiB7MHg3MToge2w6IHsweDc1OiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzg3NzNdfX19fX19fX19fX19fX19fX19fSwgMHg1NDoge2w6IHsweDY5OiB7bDogezB4NkM6IHtsOiB7MHg2NDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODc3Nl19fX19fX19fX19fX19fX19fX19LCAweDZGOiB7bDogezB4NzA6IHtsOiB7MHg2Njoge2w6IHsweDNCOiB7YzogWzEyMDEzOV19fX19fX19LCAweDUyOiB7bDogezB4NDE6IHtsOiB7MHg0NDoge2w6IHsweDQ1OiB7bDogezB4M0I6IHtjOiBbODQ4Ml19fX19fX19fX0sIDB4NzI6IHtsOiB7MHg2OToge2w6IHsweDcwOiB7bDogezB4NkM6IHtsOiB7MHg2NToge2w6IHsweDQ0OiB7bDogezB4NkY6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg0MTFdfX19fX19fX19fX19fX19fX0sIDB4NzM6IHtsOiB7MHg2Mzoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTE5OTgzXX19fX19LCAweDc0OiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDZCOiB7bDogezB4M0I6IHtjOiBbMzU4XX19fX19fX19fX19LCAweDUzOiB7bDogezB4NjM6IHtsOiB7MHg3OToge2w6IHsweDNCOiB7YzogWzEwNjJdfX19fX0sIDB4NDg6IHtsOiB7MHg2Mzoge2w6IHsweDc5OiB7bDogezB4M0I6IHtjOiBbMTAzNV19fX19fX19fX19fSxcclxuICAgIDB4NzQ6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4Njc6IHtsOiB7MHg2NToge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODk4Ml19fX19fX19fX0sIDB4NzU6IHtsOiB7MHgzQjoge2M6IFs5NjRdfX19fX0sIDB4NjI6IHtsOiB7MHg3Mjoge2w6IHsweDZCOiB7bDogezB4M0I6IHtjOiBbOTE0MF19fX19fX19LCAweDYzOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4NkU6IHtsOiB7MHgzQjoge2M6IFszNTddfX19fX19fX19LCAweDY1OiB7bDogezB4NjQ6IHtsOiB7MHg2OToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbMzU1XX19fX19fX19fSwgMHg3OToge2w6IHsweDNCOiB7YzogWzEwOTBdfX19fX0sIDB4NjQ6IHtsOiB7MHg2Rjoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODQxMV19fX19fX19LCAweDY1OiB7bDogezB4NkM6IHtsOiB7MHg3Mjoge2w6IHsweDY1OiB7bDogezB4NjM6IHtsOiB7MHgzQjoge2M6IFs4OTgxXX19fX19fX19fX19LCAweDY2OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMjAxMTNdfX19fX0sIDB4Njg6IHtsOiB7MHg2NToge2w6IHsweDcyOiB7bDogezB4NjU6IHtsOiB7MHgzNDoge2w6IHsweDNCOiB7YzogWzg3NTZdfX19LCAweDY2OiB7bDogezB4NkY6IHtsOiB7MHg3Mjoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODc1Nl19fX19fX19fX19fX19LCAweDc0OiB7bDogezB4NjE6IHtsOiB7MHgzQjoge2M6IFs5NTJdfSwgMHg3Mzoge2w6IHsweDc5OiB7bDogezB4NkQ6IHtsOiB7MHgzQjoge2M6IFs5NzddfX19fX19fSwgMHg3Njoge2w6IHsweDNCOiB7YzogWzk3N119fX19fX19fX0sIDB4Njk6IHtsOiB7MHg2Mzoge2w6IHsweDZCOiB7bDogezB4NjE6IHtsOiB7MHg3MDoge2w6IHsweDcwOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc4OiB7bDogezB4M0I6IHtjOiBbODc3Nl19fX19fX19fX19fX19LCAweDczOiB7bDogezB4Njk6IHtsOiB7MHg2RDoge2w6IHsweDNCOiB7YzogWzg3NjRdfX19fX19fX19fX0sIDB4NkU6IHtsOiB7MHg3Mzoge2w6IHsweDcwOiB7bDogezB4M0I6IHtjOiBbODIwMV19fX19fX19fX0sIDB4NkI6IHtsOiB7MHg2MToge2w6IHsweDcwOiB7bDogezB4M0I6IHtjOiBbODc3Nl19fX19fSwgMHg3Mzoge2w6IHsweDY5OiB7bDogezB4NkQ6IHtsOiB7MHgzQjoge2M6IFs4NzY0XX19fX19fX19fSwgMHg2Rjoge2w6IHsweDcyOiB7bDogezB4NkU6IHtsOiB7MHgzQjoge2M6IFsyNTRdfX0sIGM6IFsyNTRdfX19fX19fSwgMHg2OToge2w6IHsweDZDOiB7bDogezB4NjQ6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzczMl19fX19fX19LCAweDZEOiB7bDogezB4NjU6IHtsOiB7MHg3Mzoge2w6IHsweDYyOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwODAxXX19fX19LCAweDNCOiB7YzogWzg4NjRdfX19LCAweDNCOiB7YzogWzIxNV19LCAweDY0OiB7bDogezB4M0I6IHtjOiBbMTA4MDBdfX19fSwgYzogWzIxNV19fX19fSwgMHg2RToge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODc0OV19fX19fX19LCAweDZGOiB7bDogezB4NjU6IHtsOiB7MHg2MToge2w6IHsweDNCOiB7YzogWzEwNTM2XX19fX19LCAweDcwOiB7bDogezB4NjI6IHtsOiB7MHg2Rjoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbOTAxNF19fX19fX19LCAweDYzOiB7bDogezB4Njk6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwOTkzXX19fX19fX0sIDB4M0I6IHtjOiBbODg2OF19LCAweDY2OiB7bDogezB4M0I6IHtjOiBbMTIwMTY1XX0sIDB4NkY6IHtsOiB7MHg3Mjoge2w6IHsweDZCOiB7bDogezB4M0I6IHtjOiBbMTA5NzBdfX19fX19fX19fX0sIDB4NzM6IHtsOiB7MHg2MToge2w6IHsweDNCOiB7YzogWzEwNTM3XX19fX19fX0sIDB4NzA6IHtsOiB7MHg3Mjoge2w6IHsweDY5OiB7bDogezB4NkQ6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzgyNDRdfX19fX19fX19fX0sIDB4NzI6IHtsOiB7MHg2MToge2w6IHsweDY0OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4NDgyXX19fX19fX0sIDB4Njk6IHtsOiB7MHg2MToge2w6IHsweDZFOiB7bDogezB4Njc6IHtsOiB7MHg2Qzoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbOTY1M119LCAweDY0OiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbOTY2M119fX19fX19fX0sIDB4NkM6IHtsOiB7MHg2NToge2w6IHsweDY2OiB7bDogezB4NzQ6I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IHtjOiBbMTExNV19fX19fX19LCAweDc0OiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDZCOiB7bDogezB4M0I6IHtjOiBbMzU5XX19fX19fX19fX19LCAweDc3OiB7bDogezB4Njk6IHtsOiB7MHg3ODoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODgxMl19fX19fX19LCAweDZGOiB7bDogezB4Njg6IHtsOiB7MHg2NToge2w6IHsweDYxOiB7bDogezB4NjQ6IHtsOiB7MHg2Qzoge2w6IHsweDY1OiB7bDogezB4NjY6IHtsOiB7MHg3NDoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFs4NjA2XX19fX19fX19fX19fX19fX19fX0sIDB4NzI6IHtsOiB7MHg2OToge2w6IHsweDY3OiB7bDogezB4Njg6IHtsOiB7MHg3NDoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFs4NjA4XX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19LFxyXG4gICAgMHg1NToge2w6IHsweDYxOiB7bDogezB4NjM6IHtsOiB7MHg3NToge2w6IHsweDc0OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFsyMThdfX0sIGM6IFsyMThdfX19fX19fSwgMHg3Mjoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODYwN119LCAweDZGOiB7bDogezB4NjM6IHtsOiB7MHg2OToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA1NjldfX19fX19fX19fX19fX19LCAweDYyOiB7bDogezB4NzI6IHtsOiB7MHg2Mzoge2w6IHsweDc5OiB7bDogezB4M0I6IHtjOiBbMTAzOF19fX19fSwgMHg2NToge2w6IHsweDc2OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFszNjRdfX19fX19fX19fX0sIDB4NjM6IHtsOiB7MHg2OToge2w6IHsweDcyOiB7bDogezB4NjM6IHtsOiB7MHgzQjoge2M6IFsyMTldfX0sIGM6IFsyMTldfX19fX0sIDB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMDU5XX19fX19LCAweDY0OiB7bDogezB4NjI6IHtsOiB7MHg2Qzoge2w6IHsweDYxOiB7bDogezB4NjM6IHtsOiB7MHgzQjoge2M6IFszNjhdfX19fX19fX19fX0sIDB4NjY6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEyMDA4OF19fX19fSwgMHg2Nzoge2w6IHsweDcyOiB7bDogezB4NjE6IHtsOiB7MHg3Njoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMjE3XX19LCBjOiBbMjE3XX19fX19fX19fSwgMHg2RDoge2w6IHsweDYxOiB7bDogezB4NjM6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzM2Ml19fX19fX19fX0sIDB4NkU6IHtsOiB7MHg2NDoge2w6IHsweDY1OiB7bDogezB4NzI6IHtsOiB7MHg0Mjoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs5NV19fX19fSwgMHg3Mjoge2w6IHsweDYxOiB7bDogezB4NjM6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzkxODNdfX19LCAweDZCOiB7bDogezB4NjU6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzkxNDFdfX19fX19fX19fX19fX19LCAweDUwOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDY1OiB7bDogezB4NkU6IHtsOiB7MHg3NDoge2w6IHsweDY4OiB7bDogezB4NjU6IHtsOiB7MHg3Mzoge2w6IHsweDY5OiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFs5MTgxXX19fX19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDY5OiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDNCOiB7YzogWzg4OTldfSwgMHg1MDoge2w6IHsweDZDOiB7bDogezB4NzU6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzg4NDZdfX19fX19fX19fX19fX19fX0sIDB4NkY6IHtsOiB7MHg2Nzoge2w6IHsweDZGOiB7bDogezB4NkU6IHtsOiB7MHgzQjoge2M6IFszNzBdfX19fX19fSwgMHg3MDoge2w6IHsweDY2OiB7bDogezB4M0I6IHtjOiBbMTIwMTQwXX19fX19fX0sIDB4NzA6IHtsOiB7MHg0MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4NDI6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA1MTRdfX19fX19fSwgMHgzQjoge2M6IFs4NTkzXX0sIDB4NDQ6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4NkU6IHtsOiB7MHg0MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4M0I6IHtjOiBbODY0NV19fX19fX19fX19fX19fX19fX19fX19fX19fX19fSwgMHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4M0I6IHtjOiBbODY1N119fX19fX19fX19fSwgMHg0NDoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHg2RToge2w6IHsweDQxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFs4NTk3XX19fX19fX19fX19fX19fX19fX0sIDB4NjQ6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4NkU6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4M0I6IHtjOiBbODY2MV19fX19fX19fX19fX19fX19fX19LCAweDQ1OiB7bDogezB4NzE6IHtsOiB7MHg3NToge2w6IHsweDY5OiB7bDogezB4NkM6IHtsOiB7MHg2OToge2w6IHsweDYyOiB7bDogezB4NzI6IHtsOiB7MHg2OToge2w6IHsweDc1OiB7bDogezB4NkQ6IHtsOiB7MHgzQjoge2M6IFsxMDYwNl19fX19fX19fX19fX19fX19fX19fX19fSwgMHg3MDoge2w6IHsweDY1OiB7bDogezB4NzI6IHtsOiB7MHg0Qzoge2w6IHsweDY1OiB7bDogezB4NjY6IHtsOiB7MHg3NDoge2w6IHsweDQxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFs4NTk4XX19fX19fX19fX19fX19fX19fX0sIDB4NTI6IHtsOiB7MHg2OToge2w6IHsweDY3OiB7bDogezB4Njg6IHtsOiB7MHg3NDoge2w6IHsweDQxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFs4NTk5XX19fX19fX19fX19fX19fX19fX19fX19fX19fSwgMHg3Mzoge2w6IHsweDY5OiB7bDogezB4M0I6IHtjOiBbOTc4XX0sIDB4NkM6IHtsOiB7MHg2Rjoge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbOTMzXX19fX19fX19fX19LCAweDU0OiB7bDogezB4NjU6IHtsOiB7MHg2NToge2w6IHsweDQxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFs4NjEzXX19fX19fX19fX19LCAweDNCOiB7YzogWzg4NjldfX19fX19fX19LCAweDcyOiB7bDogezB4Njk6IHtsOiB7MHg2RToge2w6IHsweDY3OiB7bDogezB4M0I6IHtjOiBbMzY2XX19fX19fX19fSwgMHg3Mzoge2w6IHsweDYzOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMTk5ODRdfX19fX19fSwgMHg3NDoge2w6IHsweDY5OiB7bDogezB4NkM6IHtsOiB7MHg2NDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMzYwXX19fX19fX19fX19LCAweDc1OiB7bDogezB4NkQ6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzIyMF19fSwgYzogWzIyMF19fX19fX19LFxyXG4gICAgMHg3NToge2w6IHsweDYxOiB7bDogezB4NjM6IHtsOiB7MHg3NToge2w6IHsweDc0OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFsyNTBdfX0sIGM6IFsyNTBdfX19fX19fSwgMHg3Mjoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODU5M119fX19fX19LCAweDQxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg2NTddfX19fX19fSwgMHg2Mjoge2w6IHsweDcyOiB7bDogezB4NjM6IHtsOiB7MHg3OToge2w6IHsweDNCOiB7YzogWzExMThdfX19fX0sIDB4NjU6IHtsOiB7MHg3Njoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMzY1XX19fX19fX19fX19LCAweDYzOiB7bDogezB4Njk6IHtsOiB7MHg3Mjoge2w6IHsweDYzOiB7bDogezB4M0I6IHtjOiBbMjUxXX19LCBjOiBbMjUxXX19fX19LCAweDc5OiB7bDogezB4M0I6IHtjOiBbMTA5MV19fX19fSwgMHg2NDoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg2NDVdfX19fX19fSwgMHg2Mjoge2w6IHsweDZDOiB7bDogezB4NjE6IHtsOiB7MHg2Mzoge2w6IHsweDNCOiB7YzogWzM2OV19fX19fX19fX0sIDB4Njg6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA2MDZdfX19fX19fX19LCAweDY2OiB7bDogezB4Njk6IHtsOiB7MHg3Mzoge2w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2OiB7bDogezB4M0I6IHtjOiBbMTIwMTY2XX19fX19fX0sIDB4NzA6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4M0I6IHtjOiBbODU5M119fX19fX19fX19fSwgMHg2NDoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHg2RToge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFs4NTk3XX19fX19fX19fX19fX19fX19fX0sIDB4Njg6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzA6IHtsOiB7MHg2Rjoge2w6IHsweDZGOiB7bDogezB4NkU6IHtsOiB7MHg2Qzoge2w6IHsweDY1OiB7bDogezB4NjY6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg2MzldfX19fX19fX19LCAweDcyOiB7bDogezB4Njk6IHtsOiB7MHg2Nzoge2w6IHsweDY4OiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4NjM4XX19fX19fX19fX19fX19fX19fX19fX19fX0sIDB4NkM6IHtsOiB7MHg3NToge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbODg0Nl19fX19fX19LCAweDczOiB7bDogezB4Njk6IHtsOiB7MHgzQjoge2M6IFs5NjVdfSwgMHg2ODoge2w6IHsweDNCOiB7YzogWzk3OF19fX0sIDB4NkM6IHtsOiB7MHg2Rjoge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbOTY1XX19fX19fX19fX19LCAweDc1OiB7bDogezB4NzA6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFs4NjQ4XX19fX19fX19fX19fX19fX19fX0sIDB4NzI6IHtsOiB7MHg2Mzoge2w6IHsweDZGOiB7bDogezB4NzI6IHtsOiB7MHg2RToge2w6IHsweDNCOiB7YzogWzg5ODldfSwgMHg2NToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODk4OV19fX19fX19fX19fSwgMHg3Mjoge2w6IHsweDZGOiB7bDogezB4NzA6IHtsOiB7MHgzQjoge2M6IFs4OTc0XX19fX19fX19fSwgMHg2OToge2w6IHsweDZFOiB7bDogezB4Njc6IHtsOiB7MHgzQjoge2M6IFszNjddfX19fX19fSwgMHg3NDoge2w6IHsweDcyOiB7bDogezB4Njk6IHtsOiB7MHgzQjoge2M6IFs5NzIxXX19fX19fX19fSwgMHg3Mzoge2w6IHsweDYzOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMjAwMTBdfX19fX19fSwgMHg3NDoge2w6IHsweDY0OiB7bDogezB4NkY6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg5NDRdfX19fX19fSwgMHg2OToge2w6IHsweDZDOiB7bDogezB4NjQ6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzM2MV19fX19fX19fX0sIDB4NzI6IHtsOiB7MHg2OToge2w6IHsweDNCOiB7YzogWzk2NTNdfSwgMHg2Njoge2w6IHsweDNCOiB7YzogWzk2NTJdfX19fX19fX19LCAweDc1OiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODY0OF19fX19fX19LCAweDZEOiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFsyNTJdfX0sIGM6IFsyNTJdfX19fX0sIDB4Nzc6IHtsOiB7MHg2MToge2w6IHsweDZFOiB7bDogezB4Njc6IHtsOiB7MHg2Qzoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMTA2NjNdfX19fX19fX19fX19fX19LFxyXG4gICAgMHg3Njoge2w6IHsweDYxOiB7bDogezB4NkU6IHtsOiB7MHg2Nzoge2w6IHsweDcyOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFsxMDY1Ml19fX19fX19fX0sIDB4NzI6IHtsOiB7MHg2NToge2w6IHsweDcwOiB7bDogezB4NzM6IHtsOiB7MHg2OToge2w6IHsweDZDOiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDNCOiB7YzogWzEwMTNdfX19fX19fX19fX19fX19LCAweDZCOiB7bDogezB4NjE6IHtsOiB7MHg3MDoge2w6IHsweDcwOiB7bDogezB4NjE6IHtsOiB7MHgzQjoge2M6IFsxMDA4XX19fX19fX19fX19LCAweDZFOiB7bDogezB4NkY6IHtsOiB7MHg3NDoge2w6IHsweDY4OiB7bDogezB4Njk6IHtsOiB7MHg2RToge2w6IHsweDY3OiB7bDogezB4M0I6IHtjOiBbODcwOV19fX19fX19fX19fX19fX0sIDB4NzA6IHtsOiB7MHg2ODoge2w6IHsweDY5OiB7bDogezB4M0I6IHtjOiBbOTgxXX19fX19LCAweDY5OiB7bDogezB4M0I6IHtjOiBbOTgyXX19fSwgMHg3Mjoge2w6IHsweDZGOiB7bDogezB4NzA6IHtsOiB7MHg3NDoge2w6IHsweDZGOiB7bDogezB4M0I6IHtjOiBbODczM119fX19fX19fX19fX19LCAweDcyOiB7bDogezB4M0I6IHtjOiBbODU5N119LCAweDY4OiB7bDogezB4NkY6IHtsOiB7MHgzQjoge2M6IFsxMDA5XX19fX19fX0sIDB4NzM6IHtsOiB7MHg2OToge2w6IHsweDY3OiB7bDogezB4NkQ6IHtsOiB7MHg2MToge2w6IHsweDNCOiB7YzogWzk2Ml19fX19fX19fX0sIDB4NzU6IHtsOiB7MHg2Mjoge2w6IHsweDczOiB7bDogezB4NjU6IHtsOiB7MHg3NDoge2w6IHsweDZFOiB7bDogezB4NjU6IHtsOiB7MHg3MToge2w6IHsweDNCOiB7YzogWzg4NDIsIDY1MDI0XX0sIDB4NzE6IHtsOiB7MHgzQjoge2M6IFsxMDk1NSwgNjUwMjRdfX19fX19fX19fX19fX19fX0sIDB4NzA6IHtsOiB7MHg3Mzoge2w6IHsweDY1OiB7bDogezB4NzQ6IHtsOiB7MHg2RToge2w6IHsweDY1OiB7bDogezB4NzE6IHtsOiB7MHgzQjoge2M6IFs4ODQzLCA2NTAyNF19LCAweDcxOiB7bDogezB4M0I6IHtjOiBbMTA5NTYsIDY1MDI0XX19fX19fX19fX19fX19fX19fX19fSwgMHg3NDoge2w6IHsweDY4OiB7bDogezB4NjU6IHtsOiB7MHg3NDoge2w6IHsweDYxOiB7bDogezB4M0I6IHtjOiBbOTc3XX19fX19fX19fSwgMHg3Mjoge2w6IHsweDY5OiB7bDogezB4NjE6IHtsOiB7MHg2RToge2w6IHsweDY3OiB7bDogezB4NkM6IHtsOiB7MHg2NToge2w6IHsweDZDOiB7bDogezB4NjU6IHtsOiB7MHg2Njoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODg4Ml19fX19fX19fX0sIDB4NzI6IHtsOiB7MHg2OToge2w6IHsweDY3OiB7bDogezB4Njg6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg4ODNdfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fSwgMHg0MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs4NjYxXX19fX19fX0sIDB4NDI6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA5ODRdfSwgMHg3Njoge2w6IHsweDNCOiB7YzogWzEwOTg1XX19fX19fX19fSwgMHg2Mzoge2w6IHsweDc5OiB7bDogezB4M0I6IHtjOiBbMTA3NF19fX19fSwgMHg2NDoge2w6IHsweDYxOiB7bDogezB4NzM6IHtsOiB7MHg2ODoge2w6IHsweDNCOiB7YzogWzg4NjZdfX19fX19fX19LCAweDQ0OiB7bDogezB4NjE6IHtsOiB7MHg3Mzoge2w6IHsweDY4OiB7bDogezB4M0I6IHtjOiBbODg3Ml19fX19fX19fX0sIDB4NjU6IHtsOiB7MHg2NToge2w6IHsweDYyOiB7bDogezB4N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NjUwMjRdfX19LCAweDY1OiB7bDogezB4M0I6IHtjOiBbODg0MiwgNjUwMjRdfX19fX19fSwgMHg3MDoge2w6IHsweDZFOiB7bDogezB4NDU6IHtsOiB7MHgzQjoge2M6IFsxMDk1NiwgNjUwMjRdfX19LCAweDY1OiB7bDogezB4M0I6IHtjOiBbODg0MywgNjUwMjRdfX19fX19fX19fX0sIDB4N0E6IHtsOiB7MHg2OToge2w6IHsweDY3OiB7bDogezB4N0E6IHtsOiB7MHg2MToge2w6IHsweDY3OiB7bDogezB4M0I6IHtjOiBbMTA2NTBdfX19fX19fX19fX19fX19LFxyXG4gICAgMHg1Njoge2w6IHsweDYyOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwOTg3XX19fX19fX0sIDB4NjM6IHtsOiB7MHg3OToge2w6IHsweDNCOiB7YzogWzEwNDJdfX19fX0sIDB4NjQ6IHtsOiB7MHg2MToge2w6IHsweDczOiB7bDogezB4Njg6IHtsOiB7MHgzQjoge2M6IFs4ODczXX0sIDB4NkM6IHtsOiB7MHgzQjoge2M6IFsxMDk4Ml19fX19fX19fX19fSwgMHg0NDoge2w6IHsweDYxOiB7bDogezB4NzM6IHtsOiB7MHg2ODoge2w6IHsweDNCOiB7YzogWzg4NzVdfX19fX19fX19LCAweDY1OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4ODk3XX19fSwgMHg3Mjoge2w6IHsweDYyOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzgyMTRdfX19fX19fSwgMHg3NDoge2w6IHsweDNCOiB7YzogWzgyMTRdfSwgMHg2OToge2w6IHsweDYzOiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDQyOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg3MzldfX19fX19fSwgMHg0Qzoge2w6IHsweDY5OiB7bDogezB4NkU6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzEyNF19fX19fX19fX0sIDB4NTM6IHtsOiB7MHg2NToge2w6IHsweDcwOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDYxOiB7bDogezB4NzQ6IHtsOiB7MHg2Rjoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTAwNzJdfX19fX19fX19fX19fX19fX19fSwgMHg1NDoge2w6IHsweDY5OiB7bDogezB4NkM6IHtsOiB7MHg2NDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODc2OF19fX19fX19fX19fX19fX19fX19fX0sIDB4Nzk6IHtsOiB7MHg1NDoge2w6IHsweDY4OiB7bDogezB4Njk6IHtsOiB7MHg2RToge2w6IHsweDUzOiB7bDogezB4NzA6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4MjAyXX19fX19fX19fX19fX19fX19fX19fX19fX0sIDB4NjY6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEyMDA4OV19fX19fSwgMHg2Rjoge2w6IHsweDcwOiB7bDogezB4NjY6IHtsOiB7MHgzQjoge2M6IFsxMjAxNDFdfX19fX19fSwgMHg3Mzoge2w6IHsweDYzOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMTk5ODVdfX19fX19fSwgMHg3Njoge2w6IHsweDY0OiB7bDogezB4NjE6IHtsOiB7MHg3Mzoge2w6IHsweDY4OiB7bDogezB4M0I6IHtjOiBbODg3NF19fX19fX19fX19fX19LFxyXG4gICAgMHg1Nzoge2w6IHsweDYzOiB7bDogezB4Njk6IHtsOiB7MHg3Mjoge2w6IHsweDYzOiB7bDogezB4M0I6IHtjOiBbMzcyXX19fX19fX19fSwgMHg2NToge2w6IHsweDY0OiB7bDogezB4Njc6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzg4OTZdfX19fX19fX19LCAweDY2OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMjAwOTBdfX19fX0sIDB4NkY6IHtsOiB7MHg3MDoge2w6IHsweDY2OiB7bDogezB4M0I6IHtjOiBbMTIwMTQyXX19fX19fX0sIDB4NzM6IHtsOiB7MHg2Mzoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTE5OTg2XX19fX19fX19fSxcclxuICAgIDB4Nzc6IHtsOiB7MHg2Mzoge2w6IHsweDY5OiB7bDogezB4NzI6IHtsOiB7MHg2Mzoge2w6IHsweDNCOiB7YzogWzM3M119fX19fX19fX0sIDB4NjU6IHtsOiB7MHg2NDoge2w6IHsweDYyOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwODQ3XX19fX19fX0sIDB4Njc6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzg3NDNdfSwgMHg3MToge2w6IHsweDNCOiB7YzogWzg3OTNdfX19fX19fX19LCAweDY5OiB7bDogezB4NjU6IHtsOiB7MHg3Mjoge2w6IHsweDcwOiB7bDogezB4M0I6IHtjOiBbODQ3Ml19fX19fX19fX19fSwgMHg2Njoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTIwMTE2XX19fX19LCAweDZGOiB7bDogezB4NzA6IHtsOiB7MHg2Njoge2w6IHsweDNCOiB7YzogWzEyMDE2OF19fX19fX19LCAweDcwOiB7bDogezB4M0I6IHtjOiBbODQ3Ml19fX0sIDB4NzI6IHtsOiB7MHgzQjoge2M6IFs4NzY4XX0sIDB4NjU6IHtsOiB7MHg2MToge2w6IHsweDc0OiB7bDogezB4Njg6IHtsOiB7MHgzQjoge2M6IFs4NzY4XX19fX19fX19fX19LCAweDczOiB7bDogezB4NjM6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEyMDAxMl19fX19fX19fX0sXHJcbiAgICAweDc4OiB7bDogezB4NjM6IHtsOiB7MHg2MToge2w6IHsweDcwOiB7bDogezB4M0I6IHtjOiBbODg5OF19fX19fSwgMHg2OToge2w6IHsweDcyOiB7bDogezB4NjM6IHtsOiB7MHgzQjoge2M6IFs5NzExXX19fX19fX0sIDB4NzU6IHtsOiB7MHg3MDoge2w6IHsweDNCOiB7YzogWzg4OTldfX19fX19fSwgMHg2NDoge2w6IHsweDc0OiB7bDogezB4NzI6IHtsOiB7MHg2OToge2w6IHsweDNCOiB7YzogWzk2NjFdfX19fX19fX19LCAweDY2OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMjAxMTddfX19fX0sIDB4Njg6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDIzMV19fX19fX19LCAweDQxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwMjM0XX19fX19fX19fSwgMHg2OToge2w6IHsweDNCOiB7YzogWzk1OF19fX0sIDB4NkM6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDIyOV19fX19fX19LCAweDQxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwMjMyXX19fX19fX19fSwgMHg2RDoge2w6IHsweDYxOiB7bDogezB4NzA6IHtsOiB7MHgzQjoge2M6IFsxMDIzNl19fX19fX19LCAweDZFOiB7bDogezB4Njk6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzg5NTVdfX19fX19fSwgMHg2Rjoge2w6IHsweDY0OiB7bDogezB4NkY6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzEwNzUyXX19fX19fX0sIDB4NzA6IHtsOiB7MHg2Njoge2w6IHsweDNCOiB7YzogWzEyMDE2OV19fX0sIDB4NkM6IHtsOiB7MHg3NToge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbMTA3NTNdfX19fX19fX19LCAweDc0OiB7bDogezB4Njk6IHtsOiB7MHg2RDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMTA3NTRdfX19fX19fX19fX0sIDB4NzI6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDIzMF19fX19fX19LCAweDQxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwMjMzXX19fX19fX19fSwgMHg3Mzoge2w6IHsweDYzOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMjAwMTNdfX19fX0sIDB4NzE6IHtsOiB7MHg2Mzoge2w6IHsweDc1OiB7bDogezB4NzA6IHtsOiB7MHgzQjoge2M6IFsxMDc1OF19fX19fX19fX19fSwgMHg3NToge2w6IHsweDcwOiB7bDogezB4NkM6IHtsOiB7MHg3NToge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbMTA3NTZdfX19fX19fX19LCAweDc0OiB7bDogezB4NzI6IHtsOiB7MHg2OToge2w6IHsweDNCOiB7YzogWzk2NTFdfX19fX19fX19LCAweDc2OiB7bDogezB4NjU6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzg4OTddfX19fX19fSwgMHg3Nzoge2w6IHsweDY1OiB7bDogezB4NjQ6IHtsOiB7MHg2Nzoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODg5Nl19fX19fX19fX19fX19LFxyXG4gICAgMHg1ODoge2w6IHsweDY2OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMjAwOTFdfX19fX0sIDB4Njk6IHtsOiB7MHgzQjoge2M6IFs5MjZdfX19LCAweDZGOiB7bDogezB4NzA6IHtsOiB7MHg2Njoge2w6IHsweDNCOiB7YzogWzEyMDE0M119fX19fX19LCAweDczOiB7bDogezB4NjM6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzExOTk4N119fX19fX19fX0sXHJcbiAgICAweDU5OiB7bDogezB4NjE6IHtsOiB7MHg2Mzoge2w6IHsweDc1OiB7bDogezB4NzQ6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzIyMV19fSwgYzogWzIyMV19fX19fX19fX0sIDB4NDE6IHtsOiB7MHg2Mzoge2w6IHsweDc5OiB7bDogezB4M0I6IHtjOiBbMTA3MV19fX19fX19LCAweDYzOiB7bDogezB4Njk6IHtsOiB7MHg3Mjoge2w6IHsweDYzOiB7bDogezB4M0I6IHtjOiBbMzc0XX19fX19fX0sIDB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMDY3XX19fX19LCAweDY2OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMjAwOTJdfX19fX0sIDB4NDk6IHtsOiB7MHg2Mzoge2w6IHsweDc5OiB7bDogezB4M0I6IHtjOiBbMTAzMV19fX19fX19LCAweDZGOiB7bDogezB4NzA6IHtsOiB7MHg2Njoge2w6IHsweDNCOiB7YzogWzEyMDE0NF19fX19fX19LCAweDczOiB7bDogezB4NjM6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzExOTk4OF19fX19fX19LCAweDU1OiB7bDogezB4NjM6IHtsOiB7MHg3OToge2w6IHsweDNCOiB7YzogWzEwNzBdfX19fX19fSwgMHg3NToge2w6IHsweDZEOiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFszNzZdfX19fX19fX19LFxyXG4gICAgMHg3OToge2w6IHsweDYxOiB7bDogezB4NjM6IHtsOiB7MHg3NToge2w6IHsweDc0OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFsyNTNdfX0sIGM6IFsyNTNdfX19fX0sIDB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMTAzXX19fX19fX0sIDB4NjM6IHtsOiB7MHg2OToge2w6IHsweDcyOiB7bDogezB4NjM6IHtsOiB7MHgzQjoge2M6IFszNzVdfX19fX19fSwgMHg3OToge2w6IHsweDNCOiB7YzogWzEwOTldfX19fX0sIDB4NjU6IHtsOiB7MHg2RToge2w6IHsweDNCOiB7YzogWzE2NV19fSwgYzogWzE2NV19fX0sI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AweDY2OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs4NDg4XX19fX19LCAweDQ4OiB7bDogezB4NjM6IHtsOiB7MHg3OToge2w6IHsweDNCOiB7YzogWzEwNDZdfX19fX19fSwgMHg2Rjoge2w6IHsweDcwOiB7bDogezB4NjY6IHtsOiB7MHgzQjoge2M6IFs4NDg0XX19fX19fX0sIDB4NzM6IHtsOiB7MHg2Mzoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTE5OTg5XX19fX19fX19fSxcclxuICAgIDB4N0E6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4NzU6IHtsOiB7MHg3NDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMzc4XX19fX19fX19fX19LCAweDYzOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4NkU6IHtsOiB7MHgzQjoge2M6IFszODJdfX19fX19fX19LCAweDc5OiB7bDogezB4M0I6IHtjOiBbMTA3OV19fX19fSwgMHg2NDoge2w6IHsweDZGOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFszODBdfX19fX19fSwgMHg2NToge2w6IHsweDY1OiB7bDogezB4NzQ6IHtsOiB7MHg3Mjoge2w6IHsweDY2OiB7bDogezB4M0I6IHtjOiBbODQ4OF19fX19fX19fX0sIDB4NzQ6IHtsOiB7MHg2MToge2w6IHsweDNCOiB7YzogWzk1MF19fX19fX19LCAweDY2OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMjAxMTldfX19fX0sIDB4Njg6IHtsOiB7MHg2Mzoge2w6IHsweDc5OiB7bDogezB4M0I6IHtjOiBbMTA3OF19fX19fX19LCAweDY5OiB7bDogezB4Njc6IHtsOiB7MHg3Mjoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg2NjldfX19fX19fX19fX19fSwgMHg2Rjoge2w6IHsweDcwOiB7bDogezB4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ICAgdGhpcy50ZW1wQnVmZi5wdXNoKGNwKTtcclxuICAgIH1cclxuXHJcbiAgICBlbHNlIGlmIChpc0FzY2lpTG93ZXIoY3ApKSB7XHJcbiAgICAgICAgdGhpcy5jdXJyZW50VG9rZW4udGFnTmFtZSArPSB0b0NoYXIoY3ApO1xyXG4gICAgICAgIHRoaXMudGVtcEJ1ZmYucHVzaChjcCk7XHJcbiAgICB9XHJcblxyXG4gICAgZWxzZSB7XHJcbiAgICAgICAgaWYgKHRoaXMuX2lzQXBwcm9wcmlhdGVFbmRUYWdUb2tlbigpKSB7XHJcbiAgICAgICAgICAgIGlmIChpc1doaXRlc3BhY2UoY3ApKSB7XHJcbiAgICAgICAgICAgICAgICB0aGlzLnN0YXRlID0gQkVGT1JFX0FUVFJJQlVURV9OQU1FX1NUQVRFO1xyXG4gICAgICAgICAgICAgICAgcmV0dXJuO1xyXG4gICAgICAgICAgICB9XHJcblxyXG4gICAgICAgICAgICBpZiAoY3AgPT09ICQuU09MSURVUykge1xyXG4gICAgICAgICAgICAgICAgdGhpcy5zdGF0ZSA9IFNFTEZfQ0xPU0lOR19TVEFSVF9UQUdfU1RBVEU7XHJcbiAgICAgICAgICAgICAgICByZXR1cm47XHJcbiAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgIGlmIChjcCA9PT0gJC5HUkVBVEVSX1RIQU5fU0lHTikge1xyXG4gICAgICAgICAgICAgICAgdGhpcy5zdGF0ZSA9IERBVEFfU1RBVEU7XHJcbiAgICAgICAgICAgICAgICB0aGlzLl9lbWl0Q3VycmVudFRva2VuKCk7XHJcbiAgICAgICAgICAgICAgICByZXR1cm47XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIHRoaXMuX2VtaXRDaGFyKCc8Jyk7XHJcbiAgICAgICAgdGhpcy5fZW1pdENoYXIoJy8nKTtcclxuICAgICAgICB0aGlzLl9lbWl0U2V2ZXJhbENvZGVQb2ludHModGhpcy50ZW1wQn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YWdOYW1lICs9IHRvQ2hhcihjcCk7XHJcbiAgICAgICAgdGhpcy50ZW1wQnVmZi5wdXNoKGNwKTtcclxuICAgIH1cclxuXHJcbiAgICBlbHNlIHtcclxuICAgICAgICBpZiAodGhpcy5faXNBcHByb3ByaWF0ZUVuZFRhZ1Rva2VuKCkpIHtcclxuICAgICAgICAgICAgaWYgKGlzV2hpdGVzcGFjZShjcCkpIHtcclxuICAgICAgICAgICAgICAgIHRoaXMuc3RhdGUgPSBCRUZPUkVfQVRUUklCVVRFX05BTUVfU1RBVEU7XHJcbiAgICAgICAgICAgICAgICByZXR1cm47XHJcbiAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgIGlmIChjcCA9PT0gJC5TT0xJRFVTKSB7XHJcbiAgICAgICAgICAgICAgICB0aGlzLnN0YXRlID0gU0VMRl9DTE9TSU5HX1NUQVJUX1RBR19TVEFURTtcclxuICAgICAgICAgICAgICAgIHJldHVybjtcclxuICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgaWYgKGNwID09PSAkLkdSRUFURVJfVEhBTl9TSUdOKSB7XHJcbiAgICAgICAgICAgICAgICB0aGlzLl9lbWl0Q3VycmVudFRva2VuKCk7XHJcbiAgICAgICAgICAgICAgICB0aGlzLnN0YXRlID0gREFUQV9TVEFURTtcclxuICAgICAgICAgICAgICAgIHJldHVybjtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgdGhpcy5fZW1pdENoYXIoJzwnKTtcclxuICAgICAgICB0aGlzLl9lbWl0Q2hhcignLycpO1xyXG4gICAgICAgIHRoaXMuX2VtaXRTZXZlcmFsQ29kZVBvaW50cyh0aGlzLnRlbXBCdWZmKTtcclxuICAgICAgICB0aGlzLl9yZWNvbnN1bWVJblN0YXRlKFJBV1RFWFRfU1RBVEUpO1xyXG4gICAgfVxyXG59O1xyXG5cclxuXHJcbi8vMTIuMi40LjE3IFNjcmlwdCBkYXRhIGxlc3MtdGhhbi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DaGFyKGNwKTtcclxuICAgICAgICB0aGlzLnRlbXBCdWZmLnB1c2goY3ApO1xyXG4gICAgfVxyXG5cclxuICAgIGVsc2UgaWYgKGlzQXNjaWlMb3dlcihjcCkpIHtcclxuICAgICAgICB0aGlzLmN1cnJlbnRUb2tlbi50YWdOYW1lICs9IHRvQ2hhcihjcCk7XHJcbiAgICAgICAgdGhpcy50ZW1wQnVmZi5wdXNoKGNwKTtcclxuICAgIH1cclxuXHJcbiAgICBlbHNlIHtcclxuICAgICAgICBpZiAodGhpcy5faXNBcHByb3ByaWF0ZUVuZFRhZ1Rva2VuKCkpIHtcclxuICAgICAgICAgICAgaWYgKGlzV2hpdGVzcGFjZShjcCkpIHtcclxuICAgICAgICAgICAgICAgIHRoaXMuc3RhdGUgPSBCRUZPUkVfQVRUUklCVVRFX05BTUVfU1RBVEU7XHJcbiAgICAgICAgICAgICAgICByZXR1cm47XHJcbiAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgIGVsc2UgaWYgKGNwID09PSAkLlNPTElEVVMpIHtcclxuICAgICAgICAgICAgICAgIHRoaXMuc3RhdGUgPSBTRUxGX0NMT1NJTkdfU1RBUlRfVEFHX1NUQVRFO1xyXG4gICAgICAgICAgICAgICAgcmV0dXJuO1xyXG4gICAgICAgICAgICB9XHJcblxyXG4gICAgICAgICAgICBlbHNlIGlmIChjcCA9PT0gJC5HUkVBVEVSX1RIQU5fU0lHTikge1xyXG4gICAgICAgICAgICAgICAgdGhpcy5fZW1pdEN1cnJlbnRUb2tlbigpO1xyXG4gICAgICAgICAgICAgICAgdGhpcy5zdGF0ZSA9IERBVEFfU1RBVEU7XHJcbiAgICAgICAgICAgICAgICByZXR1cm47XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIHRoaXMuX2VtaXRDaGFyKCc8Jyk7XHJcbiAgICAgICAgdGhpcy5fZW1pdENoYXIoJy8nKTtcclxuICAgICAgICB0aGlzLl9lbWl0U2V2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0pIHtcbiAgICAgICAgICAgICAgICB2YXIgZWxlbWVudCA9IHRoaXMub3BlbkVsZW1lbnRzLml0ZW1zW2ldO1xuXG4gICAgICAgICAgICAgICAgaWYgKHRoaXMudHJlZUFkYXB0ZXIuZ2V0VGFnTmFtZShlbGVtZW50KSA9PT0gdG9rZW4udGFnTmFtZSkge1xuICAgICAgICAgICAgICAgICAgICBzZXRFbmRMb2NhdGlvbihlbGVtZW50LCB0b2tlbik7XG4gICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH07XG5cbiAgICAvL0RvY3R5cGVcbiAgICBwYXJzZXIuX3NldERvY3VtZW50VHlwZSA9IGZ1bmN0aW9uICh0b2tlbikge1xuICAgICAgICBwYXJzZXJQcm90by5fc2V0RG9jdW1lbnRUeXBlLmNhbGwodGhpcywgdG9rZW4pO1xuXG4gICAgICAgIHZhciBkb2N1bWVudENoaWxkcmVuID0gdGhpcy50cmVlQWRhcHRlci5nZXRDaGlsZE5vZGVzKHRoaXMuZG9jdW1lbnQpLFxuICAgICAgICAgICAgY25MZW5ndGggPSBkb2N1bWVudENoaWxkcmVuLmxlbmd0aDtcblxuICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IGNuTGVuZ3RoOyBpKyspIHtcbiAgICAgICAgICAgIHZhciBub2RlID0gZG9jdW1lbnRDaGlsZHJlbltpXTtcblxuICAgICAgICAgICAgaWYgKHRoaXMudHJlZUFkYXB0ZXIuaXNEb2N1bWVudFR5cGVOb2RlKG5vZGUpKSB7XG4gICAgICAgICAgICAgICAgbm9kZS5fX2xvY2F0aW9uID0gdG9rZW4ubG9jYXRpb247XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9O1xuXG4gICAgLy9FbGVtZW50c1xuICAgIHBhcnNlci5fYXR0YWNoRWxlbWVudFRvVHJlZSA9IGZ1bm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pY3Rpb25hcnkuXHJcbmZ1bmN0aW9uIGlzSW1wbGllZEVuZFRhZ1JlcXVpcmVkKHRuKSB7XHJcbiAgICBzd2l0Y2ggKHRuLmxlbmd0aCkge1xyXG4gICAgICAgIGNhc2UgMTpcclxuICAgICAgICAgICAgcmV0dXJuIHRuID09PSAkLlA7XHJcblxyXG4gICAgICAgIGNhc2UgMjpcclxuICAgICAgICAgICAgcmV0dXJuIHRuID09PSAkLlJQIHx8IHRuID09PSAkLlJUIHx8IHRuID09PSAkLkREIHx8IHRuID09PSAkLkRUIHx8IHRuID09PSAkLkxJO1xyXG5cclxuICAgICAgICBjYXNlIDY6XHJcbiAgICAgICAgICAgIHJldHVybiB0biA9PT0gJC5PUFRJT047XHJcblxyXG4gICAgICAgIGNhc2UgODpcclxuICAgICAgICAgICAgcmV0dXJuIHRuID09PSAkLk9QVEdST1VQO1xyXG4gICAgfVxyXG5cclxuICAgIHJldHVybiBmYWxzZTtcclxufVxyXG5cclxuZnVuY3Rpb24gaXNTY29waW5nRWxlbWVudCh0biwgbnMpIHtcclxuICAgIHN3aXRjaCAodG4ubGVuZ3RoKSB7XHJcbiAgICAgICAgY2FzZSAyOlxyXG4gICAgICAgICAgICBpZiAodG4gPT09ICQuVEQgfHwgdG4gPT09ICQuVEgpXHJcbiAgICAgICAgICAgICAgICByZXR1cm4gbnMgPT09IE5TLkhUTUw7XHJcblxyXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5NSSB8fCB0biA9PT0gJC5NTyB8fCB0biA9PSAkLk1OIHx8IHRuID09PSAkLk1TKVxyXG4gICAgICAgICAgICAgICAgcmV0dXJuIG5zID09PSBOUy5NQVRITUw7XHJcblxyXG4gICAgICAgICAgICBicmVhaztcclxuXHJcbiAgICAgICAgY2FzZSA0OlxyXG4gICAgICAgICAgICBpZiAodG4gPT09ICQuSFRNTClcclxuICAgICAgICAgICAgICAgIHJldHVybiBucyA9PT0gTlMuSFRNTDtcclxuXHJcbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLkRFU0MpXHJcbiAgICAgICAgICAgICAgICByZXR1cm4gbnMgPT09IE5TLlNWRztcclxuXHJcbiAgICAgICAgICAgIGJyZWFrO1xyXG5cclxuICAgICAgICBjYXNlIDU6XHJcbiAgICAgICAgICAgIGlmICh0biA9PT0gJC5UQUJMRSlcclxuICAgICAgICAgICAgICAgIHJldHVybiBucyA9PT0gTlMuSFRNTDtcclxuXHJcbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLk1URVhUKVxyXG4gICAgICAgICAgICAgICAgcmV0dXJuIG5zID09PSBOUy5NQVRITUw7XHJcblxyXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5USVRMRSlcclxuICAgICAgICAgICAgICAgIHJldHVybiBucyA9PT0gTlMuU1ZHO1xyXG5cclxuICAgICAgICAgICAgYnJlYWs7XHJcblxyXG4gICAgICAgIGNhc2UgNjpcclxuICAgICAgICAgICAgcmV0dXJuICh0biA9PT0gJC5BUFBMRVQgfHwgdG4gPT09ICQuT0JKRUNUKSAmJiBucyA9PT0gTlMuSFRNTDtcclxuXHJcbiAgICAgICAgY2FzZSA3OlxyXG4gICAgICAgICAgICByZXR1cm4gKHRuID09PSAkLkNBUFRJT04gfHwgdG4gPT09ICQuTUFSUVVFRSkgJiYgbnMgPT09IE5TLkhUTUw7XHJcblxyXG4gICAgICAgIGNhc2UgODpcclxuICAgICAgICAgICAgcmV0dXJuIHRuID09PSAkLlRFTVBMQVRFICYmIG5zID09PSBOUy5IVE1MO1xyXG5cclxuICAgICAgICBjYXNlIDEzOlxyXG4gICAgICAgICAgICByZXR1cm4gdG4gPT09ICQuRk9SRUlHTl9PQkpFQ1QgJiYgbnMgPT09IE5TLlNWRztcclxuXHJcbiAgICAgICAgY2FzZSAxNDpcclxuICAgICAgICAgICAgcmV0dXJuIHRuID09PSAkLkFOTk9UQVRJT05fWE1MICYmIG5zID09PSBOUy5NQVRITUw7XHJcbiAgICB9XHJc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GlzLmZyYWdtZW50Q29udGV4dClcbiAgICAgICAgICAgICAgICBlbGVtZW50ID0gdGhpcy5mcmFnbWVudENvbnRleHQ7XG4gICAgICAgIH1cblxuICAgICAgICB2YXIgdG4gPSB0aGlzLnRyZWVBZGFwdGVyLmdldFRhZ05hbWUoZWxlbWVudCksXG4gICAgICAgICAgICBuZXdJbnNlcnRpb25Nb2RlID0gSU5TRVJUSU9OX01PREVfUkVTRVRfTUFQW3RuXTtcblxuICAgICAgICBpZiAobmV3SW5zZXJ0aW9uTW9kZSkge1xuICAgICAgICAgICAgdGhpcy5pbnNlcnRpb25Nb2RlID0gbmV3SW5zZXJ0aW9uTW9kZTtcbiAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICB9XG5cbiAgICAgICAgZWxzZSBpZiAoIWxhc3QgJiYgKHRuID09PSAkLlREIHx8IHRuID09PSAkLlRIKSkge1xuICAgICAgICAgICAgdGhpcy5pbnNlcnRpb25Nb2RlID0gSU5fQ0VMTF9NT0RFO1xuICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgIH1cblxuICAgICAgICBlbHNlIGlmICghbGFzdCAmJiB0biA9PT0gJC5IRUFEKSB7XG4gICAgICAgICAgICB0aGlzLmluc2VydGlvbk1vZGUgPSBJTl9IRUFEX01PREU7XG4gICAgICAgICAgICBicmVhaztcbiAgICAgICAgfVxuXG4gICAgICAgIGVsc2UgaWYgKHRuID09PSAkLlNFTEVDVCkge1xuICAgICAgICAgICAgdGhpcy5fcmVzZXRJbnNlcnRpb25Nb2RlRm9yU2VsZWN0KGkpO1xuICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgIH1cblxuICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5URU1QTEFURSkge1xuICAgICAgICAgICAgdGhpcy5pbnNlcnRpb25Nb2RlID0gdGhpcy5jdXJyZW50VG1wbEluc2VydGlvbk1vZGU7XG4gICAgICAgICAgICBicmVhaztcbiAgICAgICAgfVxuXG4gICAgICAgIGVsc2UgaWYgKHRuID09PSAkLkhUTUwpIHtcbiAgICAgICAgICAgIHRoaXMuaW5zZXJ0aW9uTW9kZSA9IHRoaXMuaGVhZEVsZW1lbnQgPyBBRlRFUl9IRUFEX01PREUgOiBCRUZPUkVfSEVBRF9NT0RFO1xuICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgIH1cblxuICAgICAgICBlbHNlIGlmIChsYXN0KSB7XG4gICAgICAgICAgICB0aGlzLmluc2VydGlvbk1vZGUgPSBJTl9CT0RZX01PREU7XG4gICAgICAgICAgICBicmVhaztcbiAgICAgICAgfVxuICAgIH1cbn07XG5cblBhcnNlci5wcm90b3R5cGUuX3Jlc2V0SW5zZXJ0aW9uTW9kZUZvclNlbGVjdCA9IGZ1bmN0aW9uIChzZWxlY3RJZHgpIHtcbiAgICBpZiAoc2VsZWN0SWR4ID4gMCkge1xuICAgICAgICBmb3IgKHZhciBpID0gc2VsZWN0SWR4IC0gMTsgaSA+IDA7IGktLSkge1xuICAgICAgICAgICAgdmFyIGFuY2VzdG9yID0gdGhpcy5vcGVuRWxlbWVudHMuaXRlbXNbaV0sXG4gICAgICAgICAgICAgICAgdG4gPSB0aGlzLnRyZWVBZGFwdGVyLmdldFRhZ05hbWUoYW5jZXN0b3IpO1xuXG4gICAgICAgICAgICBpZiAodG4gPT09ICQuVEVNUExBVEUpXG4gICAgICAgICAgICAgICAgYnJlYWs7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLlRBQkxFKSB7XG4gICAgICAgICAgICAgICAgdGhpcy5pbnNlcnRpb25Nb2RlID0gSU5fU0VMRUNUX0lOX1RBQkxFX01PREU7XG4gICAgICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuXG4gICAgdGhpcy5pbnNlcnRpb25Nb2RlID0gSU5fU0VMRUNUX01PREU7XG59O1xuXG5QYXJzZXIucHJvdG90eXBlLl9wdXNoVG1wbEluc2VydGlvbk1vZGUgPSBmdW5jdGl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dG4gPT09ICQuVSlcbiAgICAgICAgICAgICAgICBiU3RhcnRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5QKVxuICAgICAgICAgICAgICAgIGFkZHJlc3NTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLkEpXG4gICAgICAgICAgICAgICAgYVN0YXJ0VGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZVxuICAgICAgICAgICAgICAgIGdlbmVyaWNTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgIGNhc2UgMjpcbiAgICAgICAgICAgIGlmICh0biA9PT0gJC5ETCB8fCB0biA9PT0gJC5PTCB8fCB0biA9PT0gJC5VTClcbiAgICAgICAgICAgICAgICBhZGRyZXNzU3RhcnRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5IMSB8fCB0biA9PT0gJC5IMiB8fCB0biA9PT0gJC5IMyB8fCB0biA9PT0gJC5INCB8fCB0biA9PT0gJC5INSB8fCB0biA9PT0gJC5INilcbiAgICAgICAgICAgICAgICBudW1iZXJlZEhlYWRlclN0YXJ0VGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZSBpZiAodG4gPT09ICQuTEkgfHwgdG4gPT09ICQuREQgfHwgdG4gPT09ICQuRFQpXG4gICAgICAgICAgICAgICAgbGlzdEl0ZW1TdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLkVNIHx8IHRuID09PSAkLlRUKVxuICAgICAgICAgICAgICAgIGJTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLkJSKVxuICAgICAgICAgICAgICAgIGFyZWFTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLkhSKVxuICAgICAgICAgICAgICAgIGhyU3RhcnRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5SUCB8fCB0biA9PT0gJC5SVClcbiAgICAgICAgICAgICAgICBycFN0YXJ0VGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZSBpZiAodG4gIT09ICQuVEggJiYgdG4gIT09ICQuVEQgJiYgdG4gIT09ICQuVFIpXG4gICAgICAgICAgICAgICAgZ2VuZXJpY1N0YXJ0VGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgYnJlYWs7XG5cbiAgICAgICAgY2FzZSAzOlxuICAgICAgICAgICAgaWYgKHRuID09PSAkLkRJViB8fCB0biA9PT0gJC5ESVIgfHwgdG4gPT09ICQuTkFWKVxuICAgICAgICAgICAgICAgIGFkZHJlc3NTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLlBSRSlcbiAgICAgICAgICAgICAgICBwcmVTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLkJJRylcbiAgICAgICAgICAgICAgICBiU3RhcnRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5JTUcgfHwgdG4gPT09ICQuV0JSKVxuICAgICAgICAgICAgICAgIGFyZWFTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLlhNUClcbiAgICAgICAgICAgICAgICB4bXBTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLlNWRylcbiAgICAgICAgICAgICAgICBzdmdTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuICE9PSAkLkNPTClcbiAgICAgICAgICAgICAgICBnZW5lcmljU3RhcnRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBicmVhaztcblxuICAgICAgICBjYXNlIDQ6XG4gICAgICAgICAgICBpZiAodG4gPT09ICQuSFRNTClcbiAgICAgICAgICAgICAgICBodG1sU3RhcnRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5CQVNFIHx8IHRuID09PSAkLkxJTksgfHwgdG4gPT09ICQuTUVUQSlcbiAgICAgICAgICAgICAgICBzdGFydFRhZ0luSGVhZChwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLkJPRFkpXG4gICAgICAgICAgICAgICAgYm9keVN0YXJ0VGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZSBpZiAodG4gPT09ICQuTUFJTiB8fCB0biA9PT0gJC5NRU5VKVxuICAgICAgICAgICAgICAgIGFkZHJlc3NTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLkZPUk0pXG4gICAgICAgICAgICAgICAgZm9ybVN0YXJ0VGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZSBpZiAodG4gPT09ICQuQ09ERSB8fCB0biA9PT0gJC5GT05UKVxuICAgICAgICAgICAgICAgIGJTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLk5PQlIpXG4gICAgICAgICAgICAgICAgbm9iclN0YXJ0VGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZSBpZiAodG4gPT09ICQuQVJFQSlcbiAgICAgICAgICAgICAgICBhcmVhU3RhcnRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5NQVRIKVxuICAgICAgICAgICAgICAgIG1hdGhTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuICE9PSAkLkhFQUQpXG4gICAgICAgICAgICAgICAgZ2VuZXJpY1N0YXJ0VGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgYnJlYWs7XG5cbiAgICAgICAgY2FzZSA1OlxuICAgICAgICAgICAgaWYgKHRuID09PSAkLlNUWUxFIHx8IHRuID09PSAkLlRJVExFKVxuICAgICAgICAgICAgICAgIHN0YXJ0VGFnSW5IZWFkKHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZSBpZiAodG4gPT09ICQuQVNJREUpXG4gICAgICAgICAgICAgICAgYWRkcmVzc1N0YXJ0VGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZSBpZiAodG4gPT09ICQuU01BTEwpXG4gICAgICAgICAgICAgICAgYlN0YXJ0VGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZSBpZiAodG4gPT09ICQuVEFCTEUpXG4gICAgICAgICAgICAgICAgdGFibGVTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLkVNQkVEKVxuICAgICAgICAgICAgICAgIGFyZWFTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLklOUFVUKVxuICAgICAgICAgICAgICAgIGlucHV0U3RhcnRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5QQVJBTSB8fCB0biA9PT0gJC5UUkFDSylcbiAgICAgICAgICAgICAgICBwYXJhbVN0YXJ0VGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZSBpZiAodG4gPT09ICQuSU1BR0UpXG4gICAgICAgICAgICAgICAgaW1hZ2VTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuICE9PSAkLkZSQU1FICYmIHRuICE9PSAkLlRCT0RZICYmIHRuICE9PSAkLlRGT09UICYmIHRuICE9PSAkLlRIRUFEKVxuICAgICAgICAgICAgICAgIGdlbmVyaWNTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgIGNhc2UgNjpcbiAgICAgICAgICAgIGlmICh0biA9PT0gJC5TQ1JJUFQpXG4gICAgICAgICAgICAgICAgc3RhcnRUYWdJbkhlYWQocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5DRU5URVIgfHwgdG4gPT09ICQuRklHVVJFIHx8IHRuID09PSAkLkZPT1RFUiB8fCB0biA9PT0gJC5IRUFERVIgfHwgdG4gPT09ICQuSEdST1VQKVxuICAgICAgICAgICAgICAgIGFkZHJlc3NTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLkJVVFRPTilcbiAgICAgICAgICAgICAgICBidXR0b25TdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLlNUUklLRSB8fCB0biA9PT0gJC5TVFJPTkcpXG4gICAgICAgICAgICAgICAgYlN0YXJ0VGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZSBpZiAodG4gPT09ICQuQVBQTEVUIHx8IHRuID09PSAkLk9CSkVDVClcbiAgICAgICAgICAgICAgICBhcHBsZXRTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLktFWUdFTilcbiAgICAgICAgICAgICAgICBhcmVhU3RhcnRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5TT1VSQ0UpXG4gICAgICAgICAgICAgICAgcGFyYW1TdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLklGUkFNRSlcbiAgICAgICAgICAgICAgICBpZnJhbWVTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLlNFTEVDVClcbiAgICAgICAgICAgICAgICBzZWxlY3RTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLk9QVElPTilcbiAgICAgICAgICAgICAgICBvcHRncm91cFN0YXJ0VGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZVxuICAgICAgICAgICAgICAgIGdlbmVyaWNTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgIGNhc2UgNzpcbiAgICAgICAgICAgIGlmICh0biA9PT0gJC5CR1NPVU5EIHx8IHRuID09PSAkLkNPTU1BTkQpXG4gICAgICAgICAgICAgICAgc3RhcnRUYWdJbkhlYWQocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5ERVRBSUxTIHx8IHRuID09PSAkLkFERFJFU1MgfHwgdG4gPT09ICQuQVJUSUNMRSB8fCB0biA9PT0gJC5TRUNUSU9OIHx8IHRuID09PSAkLlNVTU1BUlkpXG4gICAgICAgICAgICAgICAgYWRkcmVzc1N0YXJ0VGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZSBpZiAodG4gPT09ICQuTElTVElORylcbiAgICAgICAgICAgICAgICBwcmVTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLk1BUlFVRUUpXG4gICAgICAgICAgICAgICAgYXBwbGV0U3RhcnRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5JU0lOREVYKVxuICAgICAgICAgICAgICAgIGlzaW5kZXhTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLk5PRU1CRUQpXG4gICAgICAgICAgICAgICAgbm9lbWJlZFN0YXJ0VGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZSBpZiAodG4gIT09ICQuQ0FQVElPTilcbiAgICAgICAgICAgICAgICBnZW5lcmljU3RhcnRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBicmVhaztcblxuICAgICAgICBjYXNlIDg6XG4gICAgICAgICAgICBpZiAodG4gPT09ICQuQkFTRUZPTlQgfHwgdG4gPT09ICQuTUVOVUlURU0pXG4gICAgICAgICAgICAgICAgbWVudWl0ZW1TdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLkZSQU1FU0VUKVxuICAgICAgICAgICAgICAgIGZyYW1lc2V0U3RhcnRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5GSUVMRFNFVClcbiAgICAgICAgICAgICAgICBhZGRyZXNzU3RhcnRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5URVhUQVJFQSlcbiAgICAgICAgICAgICAgICB0ZXh0YXJlYVN0YXJ0VGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZSBpZiAodG4gPT09ICQuVEVNUExBVEUpXG4gICAgICAgICAgICAgICAgc3RhcnRUYWdJbkhlYWQocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5OT1NDUklQVClcbiAgICAgICAgICAgICAgICBub2VtYmVkU3RhcnRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5PUFRHUk9VUClcbiAgICAgICAgICAgICAgICBvcHRncm91cFN0YXJ0VGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZSBpZiAodG4gIT09ICQuQ09MR1JPVVApXG4gICAgICAgICAgICAgICAgZ2VuZXJpY1N0YXJ0VGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgYnJlYWs7XG5cbiAgICAgICAgY2FzZSA5OlxuICAgICAgICAgICAgaWYgKHRuID09PSAkLlBMQUlOVEVYVClcbiAgICAgICAgICAgICAgICBwbGFpbnRleHRTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2VcbiAgICAgICAgICAgICAgICBnZW5lcmljU3RhcnRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBicmVhaztcblxuICAgICAgICBjYXNlIDEwOlxuICAgICAgICAgICAgaWYgKHRuID09PSAkLkJMT0NLUVVPVEUgfHwgdG4gPT09ICQuRklHQ0FQVElPTilcbiAgICAgICAgICAgICAgICBhZGRyZXNzU3RhcnRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlXG4gICAgICAgICAgICAgICAgZ2VuZXJpY1N0YXJ0VGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgYnJlYWs7XG5cbiAgICAgICAgZGVmYXVsdDpcbiAgICAgICAgICAgIGdlbmVyaWNTd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gIGVsc2UgaWYgKHRuID09PSAkLlApXG4gICAgICAgICAgICAgICAgcEVuZFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2VcbiAgICAgICAgICAgICAgICBnZW5lcmljRW5kVGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgYnJlYWs7XG5cbiAgICAgICAgY2FzZSAyOlxuICAgICAgICAgICAgaWYgKHRuID09ICQuREwgfHwgdG4gPT09ICQuVUwgfHwgdG4gPT09ICQuT0wpXG4gICAgICAgICAgICAgICAgYWRkcmVzc0VuZFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLkxJKVxuICAgICAgICAgICAgICAgIGxpRW5kVGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZSBpZiAodG4gPT09ICQuREQgfHwgdG4gPT09ICQuRFQpXG4gICAgICAgICAgICAgICAgZGRFbmRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5IMSB8fCB0biA9PT0gJC5IMiB8fCB0biA9PT0gJC5IMyB8fCB0biA9PT0gJC5INCB8fCB0biA9PT0gJC5INSB8fCB0biA9PT0gJC5INilcbiAgICAgICAgICAgICAgICBudW1iZXJlZEhlYWRlckVuZFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLkJSKVxuICAgICAgICAgICAgICAgIGJyRW5kVGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZSBpZiAodG4gPT09ICQuRU0gfHwgdG4gPT09ICQuVFQpXG4gICAgICAgICAgICAgICAgY2FsbEFkb3B0aW9uQWdlbmN5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZVxuICAgICAgICAgICAgICAgIGdlbmVyaWNFbmRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBicmVhaztcblxuICAgICAgICBjYXNlIDM6XG4gICAgICAgICAgICBpZiAodG4gPT09ICQuQklHKVxuICAgICAgICAgICAgICAgIGNhbGxBZG9wdGlvbkFnZW5jeShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLkRJUiB8fCB0biA9PT0gJC5ESVYgfHwgdG4gPT09ICQuTkFWKVxuICAgICAgICAgICAgICAgIGFkZHJlc3NFbmRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlXG4gICAgICAgICAgICAgICAgZ2VuZXJpY0VuZFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgIGNhc2UgNDpcbiAgICAgICAgICAgIGlmICh0biA9PT0gJC5CT0RZKVxuICAgICAgICAgICAgICAgIGJvZHlFbmRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5IVE1MKVxuICAgICAgICAgICAgICAgIGh0bWxFbmRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5GT1JNKVxuICAgICAgICAgICAgICAgIGZvcm1FbmRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5DT0RFIHx8IHRuID09PSAkLkZPTlQgfHwgdG4gPT09ICQuTk9CUilcbiAgICAgICAgICAgICAgICBjYWxsQWRvcHRpb25BZ2VuY3kocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5NQUlOIHx8IHRuID09PSAkLk1FTlUpXG4gICAgICAgICAgICAgICAgYWRkcmVzc0VuZFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2VcbiAgICAgICAgICAgICAgICBnZW5lcmljRW5kVGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgYnJlYWs7XG5cbiAgICAgICAgY2FzZSA1OlxuICAgICAgICAgICAgaWYgKHRuID09PSAkLkFTSURFKVxuICAgICAgICAgICAgICAgIGFkZHJlc3NFbmRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5TTUFMTClcbiAgICAgICAgICAgICAgICBjYWxsQWRvcHRpb25BZ2VuY3kocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlXG4gICAgICAgICAgICAgICAgZ2VuZXJpY0VuZFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgIGNhc2UgNjpcbiAgICAgICAgICAgIGlmICh0biA9PT0gJC5DRU5URVIgfHwgdG4gPT09ICQuRklHVVJFIHx8IHRuID09PSAkLkZPT1RFUiB8fCB0biA9PT0gJC5IRUFERVIgfHwgdG4gPT09ICQuSEdST1VQKVxuICAgICAgICAgICAgICAgIGFkZHJlc3NFbmRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5BUFBMRVQgfHwgdG4gPT09ICQuT0JKRUNUKVxuICAgICAgICAgICAgICAgIGFwcGxldEVuZFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09ICQuU1RSSUtFIHx8IHRuID09PSAkLlNUUk9ORylcbiAgICAgICAgICAgICAgICBjYWxsQWRvcHRpb25BZ2VuY3kocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlXG4gICAgICAgICAgICAgICAgZ2VuZXJpY0VuZFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgIGNhc2UgNzpcbiAgICAgICAgICAgIGlmICh0biA9PT0gJC5BRERSRVNTIHx8IHRuID09PSAkLkFSVElDTEUgfHwgdG4gPT09ICQuREVUQUlMUyB8fCB0biA9PT0gJC5TRUNUSU9OIHx8IHRuID09PSAkLlNVTU1BUlkpXG4gICAgICAgICAgICAgICAgYWRkcmVzc0VuZFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLk1BUlFVRUUpXG4gICAgICAgICAgICAgICAgYXBwbGV0RW5kVGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZVxuICAgICAgICAgICAgICAgIGdlbmVyaWNFbmRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBicmVhaztcblxuICAgICAgICBjYXNlIDg6XG4gICAgICAgICAgICBpZiAodG4gPT09ICQuRklFTERTRVQpXG4gICAgICAgICAgICAgICAgYWRkcmVzc0VuZFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLlRFTVBMQVRFKVxuICAgICAgICAgICAgICAgIGVuZFRhZ0luSGVhZChwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2VcbiAgICAgICAgICAgICAgICBnZW5lcmljRW5kVGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgYnJlYWs7XG5cbiAgICAgICAgY2FzZSAxMDpcbiAgICAgICAgICAgIGlmICh0biA9PT0gJC5CTE9DS1FVT1RFIHx8IHRuID09PSAkLkZJR0NBUFRJT04pXG4gICAgICAgICAgICAgICAgYWRkcmVzc0VuZFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2VcbiAgICAgICAgICAgICAgICBnZW5lcmljRW5kVGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgYnJlYWs7XG5cbiAgICAgICAgZGVmYXVsdCA6XG4gICAgICAgICAgICBnZW5lcmljRW5kVGFnSW5Cb2R5KHAsIHRva2VuKT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gICAgICAgICAgICB0b2tlbkluVGFibGUocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBicmVhaztcblxuICAgICAgICBjYXNlIDQ6XG4gICAgICAgICAgICBpZiAodG4gPT09ICQuRk9STSlcbiAgICAgICAgICAgICAgICBmb3JtU3RhcnRUYWdJblRhYmxlKHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZVxuICAgICAgICAgICAgICAgIHRva2VuSW5UYWJsZShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgIGNhc2UgNTpcbiAgICAgICAgICAgIGlmICh0biA9PT0gJC5UQUJMRSlcbiAgICAgICAgICAgICAgICB0YWJsZVN0YXJ0VGFnSW5UYWJsZShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLlNUWUxFKVxuICAgICAgICAgICAgICAgIHN0YXJ0VGFnSW5IZWFkKHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZSBpZiAodG4gPT09ICQuVEJPRFkgfHwgdG4gPT09ICQuVEZPT1QgfHwgdG4gPT09ICQuVEhFQUQpXG4gICAgICAgICAgICAgICAgdGJvZHlTdGFydFRhZ0luVGFibGUocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5JTlBVVClcbiAgICAgICAgICAgICAgICBpbnB1dFN0YXJ0VGFnSW5UYWJsZShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2VcbiAgICAgICAgICAgICAgICB0b2tlbkluVGFibGUocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBicmVhaztcblxuICAgICAgICBjYXNlIDY6XG4gICAgICAgICAgICBpZiAodG4gPT09ICQuU0NSSVBUKVxuICAgICAgICAgICAgICAgIHN0YXJ0VGFnSW5IZWFkKHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZVxuICAgICAgICAgICAgICAgIHRva2VuSW5UYWJsZShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgIGNhc2UgNzpcbiAgICAgICAgICAgIGlmICh0biA9PT0gJC5DQVBUSU9OKVxuICAgICAgICAgICAgICAgIGNhcHRpb25TdGFydFRhZ0luVGFibGUocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlXG4gICAgICAgICAgICAgICAgdG9rZW5JblRhYmxlKHAsIHRva2VuKTtcblxuICAgICAgICAgICAgYnJlYWs7XG5cbiAgICAgICAgY2FzZSA4OlxuICAgICAgICAgICAgaWYgKHRuID09PSAkLkNPTEdST1VQKVxuICAgICAgICAgICAgICAgIGNvbGdyb3VwU3RhcnRUYWdJblRhYmxlKHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZSBpZiAodG4gPT09ICQuVEVNUExBVEUpXG4gICAgICAgICAgICAgICAgc3RhcnRUYWdJbkhlYWQocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlXG4gICAgICAgICAgICAgICAgdG9rZW5JblRhYmxlKHAsIHRva2VuKTtcblxuICAgICAgICAgICAgYnJlYWs7XG5cbiAgICAgICAgZGVmYXVsdDpcbiAgICAgICAgICAgIHRva2VuSW5UYWJsZShwLCB0b2tlbik7XG4gICAgfVxuXG59XG5cbmZ1bmN0aW9uIGVuZFRhZ0luVGFibGUocCwgdG9rZW4pIHtcbiAgICB2YXIgdG4gPSB0b2tlbi50YWdOYW1lO1xuXG4gICAgaWYgKHRuID09PSAkLlRBQkxFKSB7XG4gICAgICAgIGlmIChwLm9wZW5FbGVtZW50cy5oYXNJblRhYmxlU2NvcGUoJC5UQUJMRSkpIHtcbiAgICAgICAgICAgIHAub3BlbkVsZW1lbnRzLnBvcFVudGlsVGFnTmFtZVBvcHBlZCgkLlRBQkxFKTtcbiAgICAgICAgICAgIHAuX3Jlc2V0SW5zZXJ0aW9uTW9kZSgpO1xuICAgICAgICB9XG5cbiAgICAgICAgZWxzZVxuICAgICAgICAgICAgdG9rZW4uaWdub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mdldE5hbWVzcGFjZVVSSShwLm9wZW5FbGVtZW50cy5jdXJyZW50KSAhPT0gTlMuSFRNTCAmJlxuICAgICAgICAgICAgICAgKCFwLl9pc01hdGhNTFRleHRJbnRlZ3JhdGlvblBvaW50KHAub3BlbkVsZW1lbnRzLmN1cnJlbnQpKSAmJlxuICAgICAgICAgICAgICAgKCFwLl9pc0h0bWxJbnRlZ3JhdGlvblBvaW50KHAub3BlbkVsZW1lbnRzLmN1cnJlbnQpKSkge1xuICAgICAgICAgICAgcC5vcGVuRWxlbWVudHMucG9wKCk7XG4gICAgICAgIH1cblxuICAgICAgICBwLl9wcm9jZXNzVG9rZW4odG9rZW4pO1xuICAgIH1cblxuICAgIGVsc2Uge1xuICAgICAgICB2YXIgY3VycmVudCA9IHAuX2dldEFkanVzdGVkQ3VycmVudEVsZW1lbnQoKSxcbiAgICAgICAgICAgIGN1cnJlbnROcyA9IHAudHJlZUFkYXB0ZXIuZ2V0TmFtZXNwYWNlVVJJKGN1cnJlbnQpO1xuXG4gICAgICAgIGlmIChjdXJyZW50TnMgPT09IE5TLk1BVEhNTClcbiAgICAgICAgICAgIEZvcmVpZ25Db250ZW50LmFkanVzdFRva2VuTWF0aE1MQXR0cnModG9rZW4pO1xuXG4gICAgICAgIGVsc2UgaWYgKGN1cnJlbnROcyA9PT0gTlMuU1ZHKSB7XG4gICAgICAgICAgICBGb3JlaWduQ29udGVudC5hZGp1c3RUb2tlblNWR1RhZ05hbWUodG9rZW4pO1xuICAgICAgICAgICAgRm9yZWlnbkNvbnRlbnQuYWRqdXN0VG9rZW5TVkdBdHRycyh0b2tlbik7XG4gICAgICAgIH1cblxuICAgICAgICBGb3JlaWduQ29udGVudC5hZGp1c3RUb2tlblhNTEF0dHJzKHRva2VuKTtcblxuICAgICAgICBpZiAodG9rZW4uc2VsZkNsb3NpbmcpXG4gICAgICAgICAgICBwLl9hcHBlbmRFbGVtZW50KHRva2VuLCBjdXJyZW50TnMpO1xuICAgICAgICBlbHNlXG4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H1cbiAgICAgICAgICBzZWFsZWQgPSB0cnVlO1xuICAgICAgICAgIGlmICh0aGVuYWJsZSAhPT0gdmFsdWUpIHtcbiAgICAgICAgICAgIGxpYiRlczYkcHJvbWlzZSQkaW50ZXJuYWwkJHJlc29sdmUocHJvbWlzZSwgdmFsdWUpO1xuICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICBsaWIkZXM2JHByb21pc2UkJGludGVybmFsJCRmdWxmaWxsKHByb21pc2UsIHZhbHVlKTtcbiAgICAgICAgICB9XG4gICAgICAgIH0sIGZ1bmN0aW9uKHJlYXNvbikge1xuICAgICAgICAgIGlmIChzZWFsZWQpIHsgcmV0dXJuOyB9XG4gICAgICAgICAgc2VhbGVkID0gdHJ1ZTtcblxuICAgICAgICAgIGxpYiRlczYkcHJvbWlzZSQkaW50ZXJuYWwkJHJlamVjdChwcm9taXNlLCByZWFzb24pO1xuICAgICAgICB9LCAnU2V0dGxlOiAnICsgKHByb21pc2UuX2xhYmVsIHx8ICcgdW5rbm93biBwcm9taXNlJykpO1xuXG4gICAgICAgIGlmICghc2VhbGVkICYmIGVycm9yKSB7XG4gICAgICAgICAgc2VhbGVkID0gdHJ1ZTtcbiAgICAgICAgICBsaWIkZXM2JHByb21pc2UkJGludGVybmFsJCRyZWplY3QocHJvbWlzZSwgZXJyb3IpO1xuICAgICAgICB9XG4gICAgICB9LCBwcm9taXNlKTtcbiAgICB9XG5cbiAgICBmdW5jdGlvbiBsaWIkZXM2JHByb21pc2UkJGludGVybmFsJCRoYW5kbGVPd25UaGVuYWJsZShwcm9taXNlLCB0aGVuYWJsZSkge1xuICAgICAgaWYgKHRoZW5hYmxlLl9zdGF0ZSA9PT0gbGliJGVzNiRwcm9taXNlJCRpbnRlcm5hbCQkRlVMRklMTEVEKSB7XG4gICAgICAgIGxpYiRlczYkcHJvbWlzZSQkaW50ZXJuYWwkJGZ1bGZpbGwocHJvbWlzZSwgdGhlbmFibGUuX3Jlc3VsdCk7XG4gICAgICB9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1cyArICddJykpO1xuICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgICAgfTtcbiAgICAgICAgfSk7XG4gICAgICB9XG5cbiAgICAgIGdldEpTT04oJy9wb3N0cy5qc29uJykudGhlbihmdW5jdGlvbihqc29uKSB7XG4gICAgICAgIC8vIG9uIGZ1bGZpbGxtZW50XG4gICAgICB9LCBmdW5jdGlvbihyZWFzb24pIHtcbiAgICAgICAgLy8gb24gcmVqZWN0aW9uXG4gICAgICB9KTtcbiAgICAgIGBgYFxuXG4gICAgICBVbmxpa2UgY2FsbGJhY2tzLCBwcm9taXNlcyBhcmUgZ3JlYXQgY29tcG9zYWJsZSBwcmltaXRpdmVzLlxuXG4gICAgICBgYGBqc1xuICAgICAgUHJvbWlzZS5hbGwoW1xuICAgICAgICBnZXRKU09OKCcvcG9zdHMnKSxcbiAgICAgICAgZ2V0SlNPTignL2NvbW1lbnRzJylcbiAgICAgIF0pLnRoZW4oZnVuY3Rpb24odmFsdWVzKXtcbiAgICAgICAgdmFsdWVzWzBdIC8vID0+IHBvc3RzSlNPTlxuICAgICAgICB2YWx1ZXNbMV0gLy8gPT4gY29tbWVudHNKU09OXG5cbiAgICAgICAgcmV0dXJuIHZhbHVlcztcbiAgICAgIH0pO1xuICAgICAgYGBgXG5cbiAgICAgIEBjbGFzcyBQcm9taXNlXG4gICAgICBAcGFyYW0ge2Z1bmN0aW9ufSByZXNvbHZlclxuICAgICAgVXNlZnVsIGZvciB0b29saW5nLlxuICAgICAgQGNvbnN0cnVjdG9yXG4gICAgKi9cbiAgICBmdW5jdGlvbiBsaWIkZXM2JHByb21pc2UkcHJvbWlzZSQkUHJvbWlzZShyZXNvbHZlcikge1xuICAgICAgdGhpcy5faWQgPSBsaWIkZXM2JHByb21pc2UkcHJvbWlzZSQkY291bnRlcisrO1xuICAgICAgdGhpcy5fc3RhdGUgPSB1bmRlZmluZWQ7XG4gICAgICB0aGlzLl9yZXN1bHQgPSB1bmRlZmluZWQ7XG4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9IGZpbmRBdXRob3IoKTtcbiAgICAgICAgYm9va3MgID0gZmluZEJvb2tzQnlBdXRob3IoYXV0aG9yKTtcbiAgICAgICAgLy8gc3VjY2Vzc1xuICAgICAgfSBjYXRjaChyZWFzb24pIHtcbiAgICAgICAgLy8gZmFpbHVyZVxuICAgICAgfVxuICAgICAgYGBgXG5cbiAgICAgIEVycmJhY2sgRXhhbXBsZVxuXG4gICAgICBgYGBqc1xuXG4gICAgICBmdW5jdGlvbiBmb3VuZEJvb2tzKGJvb2tzKSB7XG5cbiAgICAgIH1cblxuICAgICAgZnVuY3Rpb24gZmFpbHVyZShyZWFzb24pIHtcblxuICAgICAgfVxuXG4gICAgICBmaW5kQXV0aG9yKGZ1bmN0aW9uKGF1dGhvciwgZXJyKXtcbiAgICAgICAgaWYgKGVycikge1xuICAgICAgICAgIGZhaWx1cmUoZXJyKTtcbiAgICAgICAgICAvLyBmYWlsdXJlXG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgdHJ5IHtcbiAgICAgICAgICAgIGZpbmRCb29va3NCeUF1dGhvcihhdXRob3IsIGZ1bmN0aW9uKGJvb2tzLCBlcnIpIHtcbiAgICAgICAgICAgICAgaWYgKGVycikge1xuICAgICAgICAgICAgICAgIGZhaWx1cmUoZXJyKTtcbiAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICB0cnkge1xuICAgICAgICAgICAgICAgICAgZm91bmRCb29rcyhib29rcyk7XG4gICAgICAgICAgICAgICAgfSBjYXRjaChyZWFzb24pIHtcbiAgICAgICAgICAgICAgICAgIGZhaWx1cmUocmVhc29uKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0pO1xuICAgICAgICAgIH0gY2F0Y2goZXJyb3IpIHtcbiAgICAgICAgICAgIGZhaWx1cmUoZXJyKTtcbiAgICAgICAgICB9XG4gICAgICAgICAgLy8gc3VjY2Vzc1xuICAgICAgICB9XG4gICAgICB9K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EF0dGFjaG1lbnQuYWRkQ29tbWVudChjb21tZW50KTtcbiAgICB9XG59XG5cbmZ1bmN0aW9uIHNraXBTaW5nbGVMaW5lQ29tbWVudChvZmZzZXQpIHtcbiAgICB2YXIgc3RhcnQsIGxvYywgY2gsIGNvbW1lbnQ7XG5cbiAgICBzdGFydCA9IGluZGV4IC0gb2Zmc2V0O1xuICAgIGxvYyA9IHtcbiAgICAgICAgc3RhcnQ6IHtcbiAgICAgICAgICAgIGxpbmU6IGxpbmVOdW1iZXIsXG4gICAgICAgICAgICBjb2x1bW46IGluZGV4IC0gbGluZVN0YXJ0IC0gb2Zmc2V0XG4gICAgICAgIH1cbiAgICB9O1xuXG4gICAgd2hpbGUgKGluZGV4IDwgbGVuZ3RoKSB7XG4gICAgICAgIGNoID0gc291cmNlLmNoYXJDb2RlQXQoaW5kZXgpO1xuICAgICAgICArK2luZGV4O1xuICAgICAgICBpZiAoc3ludGF4LmlzTGluZVRlcm1pbmF0b3IoY2gpKSB7XG4gICAgICAgICAgICBpZiAoZXh0cmEuY29tbWVudHMpIHtcbiAgICAgICAgICAgICAgICBjb21tZW50ID0gc291cmNlLnNsaWNlKHN0YXJ0ICsgb2Zmc2V0LCBpbmRleCAtIDEpO1xuICAgICAgICAgICAgICAgIGxvYy5lbmQgPSB7XG4gICAgICAgICAgICAgICAgICAgIGxpbmU6IGxpbmVOdW1iZXIsXG4gICAgICAgICAgICAgICAgICAgIGNvbHVtbjogaW5kZXggLSBsaW5lU3RhcnQgLSAxXG4gICAgICAgICAgICAgICAgfTtcbiAgICAgICAgICAgICAgICBhZGRDb21tZW50KFwiTGluZVwiLCBjb21tZW50LCBzdGFydCwgaW5kZXggLSAxLCBsb2MpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgaWYgKGNoID09PSAxMyAmJiBzb3VyY2UuY2hhckNvZGVBdChpbmRleCkgPT09IDEwKSB7XG4gICAgICAgICAgICAgICAgKytpbmRleDtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgICsrbGluZU51bWJlcjtcbiAgICAgICAgICAgIGxpbmVTdGFydCA9IGluZGV4O1xuICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgaWYgKGV4dHJhLmNvbW1lbnRzKSB7XG4gICAgICAgIGNvbW1lbnQgPSBzb3VyY2Uuc2xpY2Uoc3RhcnQgKyBvZmZzZXQsIGluZGV4KTtcbiAgICAgICAgbG9jLmVuZCA9IHtcbiAgICAgICAgICAgIGxpbmU6IGxpbmVOdW1iZXIsXG4gICAgICAgICAgICBjb2x1bW46IGluZGV4IC0gbGluZVN0YXJ0XG4gICAgICAgIH07XG4gICAgICAgIGFkZENvbW1lbnQoXCJMaW5lXCIsIGNvbW1lbnQsIHN0YXJ0LCBpbmRleCwgbG9jKTtcbiAgICB9XG59XG5cbmZ1bmN0aW9uIHNraXBNdWx0aUxpbmVDb21tZW50KCkge1xuICAgIHZhciBzdGFydCwgbG9jLCBjaCwgY29tbWVudDtcblxuICAgIGlmIChleHRyYS5jb21tZW50cykge1xuICAgICAgICBzdGFydCA9IGluZGV4IC0gMjtcbiAgICAgICAgbG9jID0ge1xuICAgICAgICAgICAgc3RhcnQ6IHtcbiAgICAgICAgICAgICAgICBsaW5lOiBsaW5lTnVtYmVyLFxuICAgICAgICAgICAgICAgIGNvbHVtbjogaW5kZXggLSBsaW5lU3RhcnQgLSAyXG4gICAgICAgICAgICB9XG4gICAgICAgIH07XG4gICAgfVxuXG4gICAgd2hpbGUgKGluZGV4IDwgbGVuZ3RoKSB7XG4gICAgICAgIGNoID0gc291cmNlLmNoYXJDb2RlQXQoaW5kZXgpO1xuICAgICAgICBpZiAoc3ludGF4LmlzTGluZVRlcm1pbmF0b3IoY2gpKSB7XG4gICAgICAgICAgICBpZiAoY2ggPT09IDB4MEQgJiYgc291cmNlLmNoYXJDb2RlQXQoaW5kZXggKyAxKSA9PT0gMHgwQSkge1xuICAgICAgICAgICAgICAgICsraW5kZXg7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICArK2xpbmVOdW1iZXI7XG4gICAgICAgICAgICArK2luZGV4O1xuICAgICAgICAgICAgbGluZVN0YXJ0ID0gaW5kZXg7XG4gICAgICAgICAgICBpZiAoaW5kZXggPj0gbGVuZ3RoKSB7XG4gICAgICAgICAgICAgICAgdGhyb3dFcnJvcih7fSwgTWVzc2FnZXMuVW5leHBlY3RlZFRva2VuLCBcIklMTEVHQUxcIik7XG4gICAgICAgICAgICB9XG4gICAgICAgIH0gZWxzZSBpZiAoY2ggPT09IDB4MkEpIHtcbiAgICAgICAgICAgIC8vIEJsb2NrIGNvbW1lbnQgZW5kcyB3aXRoIFwiKi9cIi5cbiAgICAgICAgICAgIGlmIChzb3VyY2UuY2hhckNvZGVBdChpbmRleCArIDEpID09PSAweDJGKSB7XG4gICAgICAgICAgICAgICAgKytpbmRleDtcbiAgICAgICAgICAgICAgICArK2luZGV4O1xuICAgICAgICAgICAgICAgIGlmIChleHRyYS5jb21tZW50cykge1xuICAgICAgICAgICAgICAgICAgICBjb21tZW50ID0gc291cmNlLnNsaWNlKHN0YXJ0ICsgMiwgaW5kZXggLSAyKTtcbiAgICAgICAgICAgICAgICAgICAgbG9jLmVuZCA9IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGxpbmU6IGxpbmVOdW1iZXIsXG4gICAgICAgICAgICAgICAgICAgICAgICBjb2x1bW46IGluZGV4IC0gbGluZVN0YXJ0XG4gICAgICAgICAgICAgICAgICAgIH07XG4gICAgICAgICAgICAgICAgICAgIGFkZENvbW1lbnQoXCJCbG9ja1wiLCBjb21tZW50LCBzdGFydCwgaW5kZXgsIGxvYyk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgICsraW5kZXg7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICArK2luZGV4O1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgdGhyb3dFcnJvcih7fSwgTWVzc2FnZXMuVW5leHBlY3RlZFRva2VuLCBcIklMTEVHQUxcIik7XG59XG5cbmZ1bmN0aW9uIHNraXBDb21tZW50KCkge1xuICAgIHZhciBjaCwgc3RhcnQ7XG5cbiAgICBzdGFydCA9IChpbmRleCA9PT0gMCk7XG4gICAgd2hpbGUgKGluZGV4IDwgbGVuZ3RoKSB7XG4gICAgICAgIGNoID0gc291cmNlLmNoYXJDb2RlQXQoaW5kZXgpO1xuXG4gICAgICAgIGlmIChzeW50YXguaXNXaGl0ZVNwYWNlKGNoKSkge1xuICAgICAgICAgICAgKytpbmRleDtcbiAgICAgICAgfSBlbHNlIGlmIChzeW50YXguaXNMaW5lVGVybWluYXRvcihjaCkpIHtcbiAgICAgICAgICAgICsraW5kZXg7XG4gICAgICAgICAgICBpZiAoY2ggPT09IDB4MEQgJiYgc291cmNlLmNoYXJDb2RlQXQoaW5kZXgpID09PSAweDBBKSB7XG4gICAgICAgICAgICAgICAgKytpbmRleDtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgICsrbGluZU51bWJlcjtcbiAgICAgICAgICAgIGxpbmVTdGFydCA9IGluZGV4O1xuICAgICAgICAgICAgc3RhcnQgPSB0cnVlO1xuICAgICAgICB9IGVsc2UgaWYgKGNoID09PSAweDJGKSB7IC8vIFUrMDAyRiBpcyBcIi9cIlxuICAgICAgICAgICAgY2ggPSBzb3VyY2UuY2hhckNvZGVBdChpbmRleCArIDEpO1xuICAgICAgICAgICAgaWYgKGNoID09PSAweDJGKSB7XG4gICAgICAgICAgICAgICAgKytpbmRleDtcbiAgICAgICAgICAgICAgICArK2luZGV4O1xuICAgICAgICAgICAgICAgIHNraXBTaW5nbGVMaW5lQ29tbWVudCgyKTtcbiAgICAgICAgICAgICAgICBzdGFydCA9IHRydWU7XG4gICAgICAgICAgICB9IGVsc2UgaWYgKGNoID09PSAweDJBKSB7ICAvLyBVKzAwMkEgaXMgXCIqXCJcbiAgICAgICAgICAgICAgICArK2luZGV4O1xuICAgICAgICAgICAgICAgICsraW5kZXg7XG4gICAgICAgICAgICAgICAgc2tpcE11bHRpTGluZUNvbW1lbnQoKTtcbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICB9XG4gICAgICAgIH0gZWxzZSBpZiAoc3RhcnQgJiYgY2ggPT09IDB4MkQpIHsgLy8gVSswMDJEIGlzIFwiLVwiXG4gICAgICAgICAgICAvLyBVKzAwM0UgaXMgXCI+XCJcbiAgICAgICAgICAgIGlmICgoc291cmNlLmNoYXJDb2RlQXQoaW5kZXggKyAxKSA9PT0gMHgyRCkgJiYgKHNvdXJjZS5jaGFyQ29kZUF0KGluZGV4ICsgMikgPT09IDB4M0UpKSB7XG4gICAgICAgICAgICAgICAgLy8gXCItLT5cIiBpcyBhIHNpbmdsZS1saW5lIGNvbW1lbnRcbiAgICAgICAgICAgICAgICBpbmRleCArPSAzO1xuICAgICAgICAgICAgICAgIHNraXBTaW5nbGVMaW5lQ29tbWVudCgzKTtcbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICB9XG4gICAgICAgIH0gZWxzZSBpZiAoY2ggPT09IDB4M0MpIHsgLy8gVSswMDNDIGlzIFwiPFwiXG4gICAgICAgICAgICBpZiAoc291cmNlLnNsaWNlKGluZGV4ICsgMSwgaW5kZXggKyA0KSA9PT0gXCIhLS1cIikge1xuICAgICAgICAgICAgICAgICsraW5kZXg7IC8vIGA8YFxuICAgICAgICAgICAgICAgICsraW5kZXg7IC8vIGAhYFxuICAgICAgICAgICAgICAgICsraW5kZXg7IC8vIGAtYFxuICAgICAgICAgICAgICAgICsraW5kZXg7IC8vIGAtYFxuICAgICAgICAgICAgICAgIHNraXBTaW5nbGVMaW5lQ29tbWVudCg0KTtcbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICB9XG4g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cigwLCBpZC5sZW5ndGggLSAxKTtcbiAgICAgICAgICAgIGlmIChzb3VyY2UuY2hhckNvZGVBdChpbmRleCkgIT09IDB4NzUpIHtcbiAgICAgICAgICAgICAgICB0aHJvd0Vycm9yKHt9LCBNZXNzYWdlcy5VbmV4cGVjdGVkVG9rZW4sIFwiSUxMRUdBTFwiKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgICsraW5kZXg7XG4gICAgICAgICAgICBjaCA9IHNjYW5IZXhFc2NhcGUoXCJ1XCIpO1xuICAgICAgICAgICAgaWYgKCFjaCB8fCBjaCA9PT0gXCJcXFxcXCIgfHwgIXN5bnRheC5pc0lkZW50aWZpZXJQYXJ0KGNoLmNoYXJDb2RlQXQoMCkpKSB7XG4gICAgICAgICAgICAgICAgdGhyb3dFcnJvcih7fSwgTWVzc2FnZXMuVW5leHBlY3RlZFRva2VuLCBcIklMTEVHQUxcIik7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBpZCArPSBjaDtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIHJldHVybiBpZDtcbn1cblxuZnVuY3Rpb24gZ2V0SWRlbnRpZmllcigpIHtcbiAgICB2YXIgc3RhcnQsIGNoO1xuXG4gICAgc3RhcnQgPSBpbmRleCsrO1xuICAgIHdoaWxlIChpbmRleCA8IGxlbmd0aCkge1xuICAgICAgICBjaCA9IHNvdXJjZS5jaGFyQ29kZUF0KGluZGV4KTtcbiAgICAgICAgaWYgKGNoID09PSAweDVDKSB7XG4gICAgICAgICAgICAvLyBCbGFja3NsYXNoIChVKzAwNUMpIG1hcmtzIFVuaWNvZGUgZXNjYXBlIHNlcXVlbmNlLlxuICAgICAgICAgICAgaW5kZXggPSBzdGFydDtcbiAgICAgICAgICAgIHJldHVybiBnZXRFc2NhcGVkSWRlbnRpZmllcigpO1xuICAgICAgICB9XG4gICAgICAgIGlmIChzeW50YXguaXNJZGVudGlmaWVyUGFydChjaCkpIHtcbiAgICAgICAgICAgICsraW5kZXg7XG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tlbnMubGVuZ3RoO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgICAgIHR5cGU6IFRva2VuLlB1bmN0dWF0b3IsXG4gICAgICAgICAgICAgICAgdmFsdWU6IFN0cmluZy5mcm9tQ2hhckNvZGUoY29kZSksXG4gICAgICAgICAgICAgICAgbGluZU51bWJlcjogbGluZU51bWJlcixcbiAgICAgICAgICAgICAgICBsaW5lU3RhcnQ6IGxpbmVTdGFydCxcbiAgICAgICAgICAgICAgICByYW5nZTogW3N0YXJ0LCBpbmRleF1cbiAgICAgICAgICAgIH07XG5cbiAgICAgICAgY2FzZSAxMjM6ICAvLyB7IG9wZW4gY3VybHkgYnJhY2VcbiAgICAgICAgY2FzZSAxMjU6ICAvLyB9IGNsb3NlIGN1cmx5IGJyYWNlXG4gICAgICAgICAgICArK2luZGV4O1xuXG4gICAgICAgICAgICBpZiAoZXh0cmEudG9rZW5pemUgJiYgY29kZSA9PT0gMTIzKSB7XG4gICAgICAgICAgICAgICAgZXh0cmEub3BlbkN1cmx5VG9rZW4gPSBleHRyYS50b2tlbnMubGVuZ3RoO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAvLyBsb29rYWhlYWQyIGZ1bmN0aW9uIGNhbiBjYXVzZSB0b2tlbnMgdG8gYmUgc2Nhbm5lZCB0d2ljZSBhbmQgaW4gZG9pbmcgc29cbiAgICAgICAgICAgIC8vIHdvdWxkIHdyZWNrIHRoZSBjdXJseSBzdGFjayBieSBwdXNoaW5nIHRoZSBzYW1lIHRva2VuIG9udG8gdGhlIHN0YWNrIHR3aWNlLlxuICAgICAgICAgICAgLy8gY3VybHlMYXN0SW5kZXggZW5zdXJlcyBlYWNoIHRva2VuIGlzIHB1c2hlZCBvciBwb3BwZWQgZXhhY3RseSBvbmNlXG4gICAgICAgICAgICBpZiAoaW5kZXggPiBzdGF0ZS5jdXJseUxhc3RJbmRleCkge1xuICAgICAgICAgICAgICAgIHN0YXRlLmN1cmx5TGFzdEluZGV4ID0gaW5kZXg7XG4gICAgICAgICAgICAgICAgaWYgKGNvZGUgPT09IDEyMykge1xuICAgICAgICAgICAgICAgICAgICBzdGF0ZS5jdXJseVN0YWNrLnB1c2goXCJ7XCIpO1xuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIHN0YXRlLmN1cmx5U3RhY2sucG9wKCk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgICAgIHR5cGU6IFRva2VuLlB1bmN0dWF0b3IsXG4gICAgICAgICAgICAgICAgdmFsdWU6IFN0cmluZy5mcm9tQ2hhckNvZGUoY29kZSksXG4gICAgICAgICAgICAgICAgbGluZU51bWJlcjogbGluZU51bWJlcixcbiAgICAgICAgICAgICAgICBsaW5lU3RhcnQ6IGxpbmVTdGFydCxcbiAgICAgICAgICAgICAgICByYW5nZTogW3N0YXJ0LCBpbmRleF1cbiAgICAgICAgICAgIH07XG5cbiAgICAgICAgZGVmYXVsdDpcbiAgICAgICAgICAgIGNvZGUyID0gc291cmNlLmNoYXJDb2RlQXQoaW5kZXggKyAxKTtcblxuICAgICAgICAgICAgLy8gXCI9XCIgKGNoYXIgIzYxKSBtYXJrcyBhbiBhc3NpZ25tZW50IG9yIGNvbXBhcmlzb24gb3BlcmF0b3IuXG4gICAgICAgICAgICBpZiAoY29kZTIgPT09IDYxKSB7XG4gICAgICAgICAgICAgICAgc3dpdGNoIChjb2RlKSB7XG4gICAgICAgICAgICAgICAgICAgIGNhc2UgMzc6ICAvLyAlXG4gICAgICAgICAgICAgICAgICAgIGNhc2UgMzg6ICAvLyAmXG4gICAgICAgICAgICAgICAgICAgIGNhc2UgNDI6ICAvLyAqOlxuICAgICAgICAgICAgICAgICAgICBjYXNlIDQzOiAgLy8gK1xuICAgICAgICAgICAgICAgICAgICBjYXNlIDQ1OiAgLy8gLVxuICAgICAgICAgICAgICAgICAgICBjYXNlIDQ3OiAgLy8gL1xuICAgICAgICAgICAgICAgICAgICBjYXNlIDYwOiAgLy8gPFxuICAgICAgICAgICAgICAgICAgICBjYXNlIDYyOiAgLy8gPlxuICAgICAgICAgICAgICAgICAgICBjYXNlIDk0OiAgLy8gXlxuICAgICAgICAgICAgICAgICAgICBjYXNlIDEyNDogLy8gfFxuICAgICAgICAgICAgICAgICAgICAgICAgaW5kZXggKz0gMjtcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdHlwZTogVG9rZW4uUHVuY3R1YXRvcixcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB2YWx1ZTogU3RyaW5nLmZyb21DaGFyQ29kZShjb2RlKSArIFN0cmluZy5mcm9tQ2hhckNvZGUoY29kZTIpLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxpbmVOdW1iZXI6IGxpbmVOdW1iZXIsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbGluZVN0YXJ0OiBsaW5lU3RhcnQsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmFuZ2U6IFtzdGFydCwgaW5kZXhdXG4gICAgICAgICAgICAgICAgICAgICAgICB9O1xuXG4gICAgICAgICAgICAgICAgICAgIGNhc2UgMzM6IC8vICFcbiAgICAgICAgICAgICAgICAgICAgY2FzZSA2MTogLy8gPVxuICAgICAgICAgICAgICAgICAgICAgICAgaW5kZXggKz0gMjtcblxuICAgICAgICAgICAgICAgICAgICAgICAgLy8gIT09IGFuZCA9PT1cbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChzb3VyY2UuY2hhckNvZGVBdChpbmRleCkgPT09IDYxKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgKytpbmRleDtcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdHlwZTogVG9rZW4uUHVuY3R1YXRvcixcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB2YWx1ZTogc291cmNlLnNsaWNlKHN0YXJ0LCBpbmRleCksXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbGluZU51bWJlcjogbGluZU51bWJlcixcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBsaW5lU3RhcnQ6IGxpbmVTdGFydCxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByYW5nZTogW3N0YXJ0LCBpbmRleF1cbiAgICAgICAgICAgICAgICAgICAgICAgIH07XG4gICAgICAgICAgICAgICAgICAgIGRlZmF1bHQ6XG4gICAgICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBicmVhaztcbiAgICB9XG5cbiAgICAvLyBQZWVrIG1vcmUgY2hhcmFjdGVycy5cblxuICAgIGNoMiA9IHNvdXJjZVtpbmRleCArIDFdO1xuICAgIGNoMyA9IHNvdXJjZVtpbmRleCArIDJdO1xuICAgIGNoNCA9IHNvdXJjZVtpbmRleCArIDNdO1xuXG4gICAgLy8gNC1jaGFyYWN0ZXIgcHVuY3R1YXRvcjogPj4+PVxuXG4gICAgaWYgKGNoMSA9PT0gXCI+XCIgJiYgY2gyID09PSBcIj5cIiAmJiBjaDMgPT09IFwiPlwiKSB7XG4gICAgICAgIGlmIChjaDQgPT09IFwiPVwiKSB7XG4gICAgICAgICAgICBpbmRleCArPSA0O1xuICAgICAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgICAgICB0eXBlOiBUb2tlbi5QdW5jdHVhdG9yLFxuICAgICAgICAgICAgICAgIHZhbHVlOiBcIj4+Pj1cIixcbiAgICAgICAgICAgICAgICBsaW5lTnVtYmVyOiBsaW5lTnVtYmVyLFxuICAgICAgICAgICAgICAgIGxpbmVTdGFydDogbGluZVN0YXJ0LFxuICAgICAgICAgICAgICAgIHJhbmdlOiBbc3RhcnQsIGluZGV4XVxuICAgICAgICAgICAgfTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIC8vIDMtY2hhcmFjdGVyIHB1bmN0dWF0b3JzOiA9PT0gIT09ID4+PiA8PD0gPj49XG5cbiAgICBpZiAoY2gxID09PSBcIj5cIiAmJiBjaDIgPT09IFwiPlwiICYmIGNoMyA9PT0gXCI+XCIpIHtcbiAgICAgICAgaW5kZXggKz0gMztcbiAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgIHR5cGU6IFRva2VuLlB1bmN0dWF0b3IsXG4gICAgICAgICAgICB2YWx1ZTogXCI+Pj5cIixcbiAgICAgICAgICAgIGxpbmVOdW1iZXI6IGxpbmVOdW1iZXIsXG4gICAgICAgICAgICBsaW5lU3RhcnQ6IGxpbmVTdGFydCxcbiAgICAgICAgICAgIHJhbmdlOiBbc3RhcnQsIGluZGV4XVxuICAgICAgICB9O1xuICAgIH1cblxuICAgIGlmIChjaDEgPT09IFwiPFwiICYmIGNoMiA9PT0gXCI8XCIgJiYgY2gzID09PSBcIj1cIikge1xuICAgICAgICBpbmRleCArPSAzO1xuICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgdHlwZTogVG9rZW4uUHVuY3R1YXRvcixcbiAgICAgICAgICAgIHZhbHVlOiBcIjw8PVwiLFxuICAgICAgICAgICAgbGluZU51bWJlcjogbGluZU51bWJlcixcbiAgICAgICAgICAgIGxpbmVTdGFydDogbGluZVN0YXJ0LFxuICAgICAgICAgICAgcmFuZ2U6IFtzdGFydCwgaW5kZXhdXG4gICAgICAgIH07XG4gICAgfVxuXG4gICAgaWYgKGNoMSA9PT0gXCI+XCIgJiYgY2gyID09PSBcIj5cIiAmJiBjaDMgPT09IFwiPVwiKSB7XG4gICAgICAgIGluZGV4ICs9IDM7XG4gICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICB0eXBlOiBUb2tlbi5QdW5jdHVhdG9yLFxuICAgICAgICAgICAgdmFsdWU6IFwiPj49XCIsX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AgICAgdHlwZTogVG9rZW4uUHVuY3R1YXRvcixcbiAgICAgICAgICAgIHZhbHVlOiBjaDEgKyBjaDIsXG4gICAgICAgICAgICBsaW5lTnVtYmVyOiBsaW5lTnVtYmVyLFxuICAgICAgICAgICAgbGluZVN0YXJ0OiBsaW5lU3RhcnQsXG4gICAgICAgICAgICByYW5nZTogW3N0YXJ0LCBpbmRleF1cbiAgICAgICAgfTtcbiAgICB9XG5cbiAgICAvLyB0aGUgPT4gZm9yIGFycm93IGZ1bmN0aW9uc1xuICAgIGlmIChleHRyYS5lY21hRmVhdHVyZXMuYXJyb3dGdW5jdGlvbnMpIHtcbiAgICAgICAgaWYgKGNoMSA9PT0gXCI9XCIgJiYgY2gyID09PSBcIj5cIikge1xuICAgICAgICAgICAgaW5kZXggKz0gMjtcbiAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgICAgdHlwZTogVG9rZW4uUHVuY3R1YXRvcixcbiAgICAgICAgICAgICAgICB2YWx1ZTogXCI9PlwiLFxuICAgICAgICAgICAgICAgIGxpbmVOdW1iZXI6IGxpbmVOdW1iZXIsXG4gICAgICAgICAgICAgICAgbGluZVN0YXJ0OiBsaW5lU3RhcnQsXG4gICAgICAgICAgICAgICAgcmFuZ2U6IFtzdGFydCwgaW5kZXhdXG4gICAgICAgICAgICB9O1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgaWYgKFwiPD49ISstKiUmfF4vXCIuaW5kZXhPZihjaDEpID49IDApIHtcbiAgICAgICAgKytpbmRleDtcbiAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgIHR5cGU6IFRva2VuLlB1bmN0dWF0b3IsXG4gICAgICAgICAgICB2YWx1ZTogY2gxLFxuICAgICAgICAgICAgbGluZU51bWJlcjogbGluZU51bWJlcixcbiAgICAgICAgICAgIGxpbmVTdGFydDogbGluZVN0YXJ0LFxuICAgICAgICAgICAgcmFuZ2U6IFtzdGFydCwgaW5kZXhdXG4gICAgICAgIH07XG4gICAgfVxuXG4gICAgaWYgKGNoMSA9PT0gXCIuXCIpIHtcbiAgICAgICAgKytpbmRleDtcbiAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgIHR5cGU6IFRva2VuLlB1bmN0dWF0b3IsXG4gICAgICAgICAgICB2YWx1ZTogY2gxLFxuICAgICAgICAgICAgbGluZU51bWJlcjogbGluZU51bWJlcixcbiAgICAgICAgICAgIGxpbmVTdGFydDogbGluZVN0YXJ0LFxuICAgICAgICAgICAgcmFuZ2U6IFtzdGFydCwgaW5kZXhdXG4gICAgICAgIH07XG4gICAgfVxuXG4gICAgdGhyb3dFcnJvcih7fSwgTWVzc2FnZXMuVW5leHBlY3RlZFRva2VuLCBcIklMTEVHQUxcIik7XG59XG5cbi8vIDcuOC4zIE51bWVyaWMgTGl0ZXJhbHNcblxuZnVuY3Rpb24gc2NhbkhleExpdGVyYWwoc3RhcnQpIHtcbiAgICB2YXIgbnVtYmVyID0gXCJcIjtcblxuICAgIHdoaWxlIChpbmRleCA8IGxlbmd0aCkge1xuICAgICAgICBpZiAoIXN5bnRheC5pc0hleERpZ2l0KHNvdXJjZVtpbmRleF0pKSB7XG4gICAgICAgICAgICBicmVhaztcbiAgICAgICAgfVxuICAgICAgICBudW1iZXIgKz0gc291cmNlW2luZGV4KytdO1xuICAgIH1cblxuICAgIGlmIChudW1iZXIubGVuZ3RoID09PSAwKSB7XG4gICAgICAgIHRocm93RXJyb3Ioe30sIE1lc3NhZ2VzLlVuZXhwZWN0ZWRUb2tlbiwgXCJJTExFR0FMXCIpO1xuICAgIH1cblxuICAgIGlmIChzeW50YXguaXNJZGVudGlmaWVyU3RhcnQoc291cmNlLmNoYXJDb2RlQXQoaW5kZXgpKSkge1xuICAgICAgICB0aHJvd0Vycm9yKHt9LCBNZXNzYWdlcy5VbmV4cGVjdGVkVG9rZW4sIFwiSUxMRUdBTFwiKTtcbiAgICB9XG5cbiAgICByZXR1cm4ge1xuICAgICAgICB0eXBlOiBUb2tlbi5OdW1lcmljT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09IFwiWFwiKSB7XG4gICAgICAgICAgICAgICAgKytpbmRleDtcbiAgICAgICAgICAgICAgICByZXR1cm4gc2NhbkhleExpdGVyYWwoc3RhcnQpO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAvLyBCaW5hcnkgbnVtYmVyIGluIEVTNiBzdGFydHMgd2l0aCAnMGInXG4gICAgICAgICAgICBpZiAoZXh0cmEuZWNtYUZlYXR1cmVzLmJpbmFyeUxpdGVyYWxzKSB7XG4gICAgICAgICAgICAgICAgaWYgKGNoID09PSBcImJcIiB8fCBjaCA9PT0gXCJCXCIpIHtcbiAgICAgICAgICAgICAgICAgICAgKytpbmRleDtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHNjYW5CaW5hcnlMaXRlcmFsKHN0YXJ0KTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIGlmICgoZXh0cmEuZWNtYUZlYXR1cmVzLm9jdGFsTGl0ZXJhbHMgJiYgKGNoID09PSBcIm9cIiB8fCBjaCA9PT0gXCJPXCIpKSB8fCBzeW50YXguaXNPY3RhbERpZ2l0KGNoKSkge1xuICAgICAgICAgICAgICAgIHJldHVybiBzY2FuT2N0YWxMaXRlcmFsKGNoLCBzdGFydCk7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIC8vIGRlY2ltYWwgbnVtYmVyIHN0YXJ0cyB3aXRoIFwiMFwiIHN1Y2ggYXMgXCIwOVwiIGlzIGlsbGVnYWwuXG4gICAgICAgICAgICBpZiAoY2ggJiYgc3ludGF4LmlzRGVjaW1hbERpZ2l0KGNoLmNoYXJDb2RlQXQoMCkpKSB7XG4gICAgICAgICAgICAgICAgdGhyb3dFcnJvcih7fSwgTWVzc2FnZXMuVW5leHBlY3RlZFRva2VuLCBcIklMTEVHQUxcIik7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICB3aGlsZSAoc3ludGF4LmlzRGVjaW1hbERpZ2l0KHNvdXJjZS5jaGFyQ29kZUF0KGluZGV4KSkpIHtcbiAgICAgICAgICAgIG51bWJlciArPSBzb3VyY2VbaW5kZXgrK107XG4gICAgICAgIH1cbiAgICAgICAgY2ggPSBzb3VyY2VbaW5kZXhdO1xuICAgIH1cblxuICAgIGlmIChjaCA9PT0gXCIuXCIpIHtcbiAgICAgICAgbnVtYmVyICs9IHNvdXJjZVtpbmRleCsrXTtcbiAgICAgICAgd2hpbGUgKHN5bnRheC5pc0RlY2ltYWxEaWdpdChzb3VyY2UuY2hhckNvZGVBdChpbmRleCkpKSB7XG4gICAgICAgICAgICBudW1iZXIgKz0gc291cmNlW2luZGV4KytdO1xuICAgICAgICB9XG4gICAgICAgIGNoID0gc291cmNlW2luZGV4XTtcbiAgICB9XG5cbiAgICBpZiAoY2ggPT09IFwiZVwiIHx8IGNoID09PSBcIkVcIikge1xuICAgICAgICBudW1iZXIgKz0gc291cmNlW2luZGV4KytdO1xuXG4gICAgICAgIGNoID0gc291cmNlW2luZGV4XTtcbiAgICAgICAgaWYgKGNoID09PSBcIitcIiB8fCBjaCA9PT0gXCItXCIpIHtcbiAgICAgICAgICAgIG51bWJlciArPSBzb3VyY2VbaW5kZXgrK107XG4gICAgICAgIH1cbiAgICAgICAgaWYgKHN5bnRheC5pc0RlY2ltYWxEaWdpdChzb3VyY2UuY2hhckNvZGVBdChpbmRleCkpKSB7XG4gICAgICAgICAgICB3aGlsZSAoc3ludGF4LmlzRGVjaW1hbERpZ2l0KHNvdXJjZS5jaGFyQ29kZUF0KGluZGV4KSkpIHtcbiAgICAgICAgICAgICAgICBudW1iZXIgKz0gc291cmNlW2luZGV4KytdO1xuICAgICAgICAgICAgfVxuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgdGhyb3dFcnJvcih7fSwgTWVzc2FnZXMuVW5leHBlY3RlZFRva2VuLCBcIklMTEVHQUxcIik7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICBpZiAoc3ludGF4LmlzSWRlbnRpZ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ie1wiKSB7XG4gICAgICAgICAgICAgICAgKytpbmRleDtcbiAgICAgICAgICAgICAgICB0ZXJtaW5hdGVkID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGNvb2tlZCArPSBjaDtcbiAgICAgICAgfSBlbHNlIGlmIChjaCA9PT0gXCJcXFxcXCIpIHtcbiAgICAgICAgICAgIGNoID0gc291cmNlW2luZGV4KytdO1xuICAgICAgICAgICAgZXNjYXBlZFNlcXVlbmNlID0gc2NhbkVzY2FwZVNlcXVlbmNlKGNoKTtcblxuICAgICAgICAgICAgaWYgKGVzY2FwZWRTZXF1ZW5jZS5vY3RhbCkge1xuICAgICAgICAgICAgICAgIHRocm93RXJyb3Ioe30sIE1lc3NhZ2VzLlRlbXBsYXRlT2N0YWxMaXRlcmFsKTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgY29va2VkICs9IGVzY2FwZWRTZXF1ZW5jZS5jaDtcblxuICAgICAgICB9IGVsc2UgaWYgKHN5bnRheC5pc0xpbmVUZXJtaW5hdG9yKGNoLmNoYXJDb2RlQXQoMCkpKSB7XG4gICAgICAgICAgICArK2xpbmVOdW1iZXI7XG4gICAgICAgICAgICBpZiAoY2ggPT09IFwiXFxyXCIgJiYgc291cmNlW2luZGV4XSA9PT0gXCJcXG5cIikge1xuICAgICAgICAgICAgICAgICsraW5kZXg7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBsaW5lU3RhcnQgPSBpbmRleDtcbiAgICAgICAgICAgIGNvb2tlZCArPSBcIlxcblwiO1xuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgY29va2VkICs9IGNoO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgaWYgKCF0ZXJtaW5hdGVkKSB7XG4gICAgICAgIHRocm93RXJyb3Ioe30sIE1lc3NhZ2VzLlVuZXhwZWN0ZWRUb2tlbiwgXCJJTExFR0FMXCIpO1xuICAgIH1cblxuIC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XN0IHN0YXJ0IHdpdGggYSBzbGFzaFwiKTtcbiAgICBzdHIgPSBzb3VyY2VbaW5kZXgrK107XG5cbiAgICBjbGFzc01hcmtlciA9IGZhbHNlO1xuICAgIHRlcm1pbmF0ZWQgPSBmYWxzZTtcbiAgICB3aGlsZSAoaW5kZXggPCBsZW5ndGgpIHtcbiAgICAgICAgY2ggPSBzb3VyY2VbaW5kZXgrK107XG4gICAgICAgIHN0ciArPSBjaDtcbiAgICAgICAgaWYgKGNoID09PSBcIlxcXFxcIikge1xuICAgICAgICAgICAgY2ggPSBzb3VyY2VbaW5kZXgrK107XG4gICAgICAgICAgICAvLyBFQ01BLTI2MiA3LjguNVxuICAgICAgICAgICAgaWYgKHN5bnRheC5pc0xpbmVUZXJtaW5hdG9yKGNoLmNoYXJDb2RlQXQoMCkpKSB7XG4gICAgICAgICAgICAgICAgdGhyb3dFcnJvcih7fSwgTWVzc2FnZXMuVW50ZXJtaW5hdGVkUmVnRXhwKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHN0ciArPSBjaDtcbiAgICAgICAgfSBlbHNlIGlmIChzeW50YXguaXNMaW5lVGVybWluYXRvcihjaC5jaGFyQ29kZUF0KDApKSkge1xuICAgICAgICAgICAgdGhyb3dFcnJvcih7fSwgTWVzc2FnZXMuVW50ZXJtaW5hdGVkUmVnRXhwKTtcbiAgICAgICAgfSBlbHNlIGlmIChjbGFzc01hcmtlcikge1xuICAgICAgICAgICAgaWYgKGNoID09PSBcIl1cIikge1xuICAgICAgICAgICAgICAgIGNsYXNzTWFya2VyID0gZmFsc2U7XG4gICAgICAgICAgICB9XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICBpZiAoY2ggPT09IFwiL1wiKSB7XG4gICAgICAgICAgICAgICAgdGVybWluYXRlZCA9IHRydWU7XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICB9IGVsc2UgaWYgKGNoID09PSBcIltcIikge1xuICAgICAgICAgICAgICAgIGNsYXNzTWFya2VyID0gdHJ1ZTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH1cblxuICAgIGlmICghdGVybWluYXRlZCkge1xuICAgICAgICB0aHJvd0Vycm9yKHt9LCBNZXNzYWdlcy5VbnRlcm1pbmF0ZWRSZWdFeHApO1xuICAgIH1cblxuICAgIC8vIEV4Y2x1ZGUgbGVhZGluZyBhbmQgdHJhaWxpbmcgc2xhc2guXG4gICAgYm9keSA9IHN0ci5zdWJzdHIoMSwgc3RyLmxlbmd0aCAtIDIpO1xuICAgIHJldHVybiB7XG4gICAgICAgIHZhbHVlOiBib2R5LFxuICAgICAgICBsaXRlcmFsOiBzdHJcbiAgICB9O1xufVxuXG5mdW5jdGlvbiBzY2FuUmVnRXhwRmxhZ3MoKSB7XG4gICAgdmFyIGNoLCBzdHIsIGZsYWdzLCByZXN0b3JlO1xuXG4gICAgc3RyID0gXCJcIjtcbiAgICBmbGFncyA9IFwiXCI7XG4gICAgd2hpbGUgKGluZGV4IDwgbGVuZ3RoKSB7XG4gICAgICAgIGNoID0gc291cmNlW2luZGV4XTtcbiAgICAgICAgaWYgKCFzeW50YXguaXNJZGVudGlmaWVyUGFydChjaC5jaGFyQ29kZUF0KDApKSkge1xuICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgIH1cblxuICAgICAgICArK2luZGV4O1xuICAgICAgICBpZiAoY2ggPT09IFwiXFxcXFwiICYmIGluZGV4IDwgbGVuZ3RoKSB7XG4gICAgICAgICAgICBjaCA9IHNvdXJjZVtpbmRleF07XG4gICAgICAgICAgICBpZiAoY2ggPT09IFwidVwiKSB7XG4gICAgICAgICAgICAgICAgKytpbmRleDtcbiAgICAgICAgICAgICAgICByZXN0b3JlID0gaW5kZXg7XG4gICAgICAgICAgICAgICAgY2ggPSBzY2FuSGV4RXNjYXBlKFwidVwiKTtcbiAgICAgICAgICAgICAgICBpZiAoY2gpIHtcbiAgICAgICAgICAgICAgICAgICAgZmxhZ3MgKz0gY2g7XG4gICAgICAgICAgICAgICAgICAgIGZvciAoc3RyICs9IFwiXFxcXHVcIjsgcmVzdG9yZSA8IGluZGV4OyArK3Jlc3RvcmUpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHN0ciArPSBzb3VyY2VbcmVzdG9yZV07XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICBpbmRleCA9IHJlc3RvcmU7XG4gICAgICAgICAgICAgICAgICAgIGZsYWdzICs9IFwidVwiO1xuICAgICAgICAgICAgICAgICAgICBzdHIgKz0gXCJcXFxcdVwiO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB0aHJvd0Vycm9yVG9sZXJhbnQoe30sIE1lc3NhZ2VzLlVuZXhwZWN0ZWRUb2tlbiwgXCJJTExFR0FMXCIpO1xuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICBzdHIgKz0gXCJcXFxcXCI7XG4gICAgICAgICAgICAgICAgdGhyb3dFcnJvclRvbGVyYW50KHt9LCBNZXNzYWdlcy5VbmV4cGVjdGVkVG9rZW4sIFwiSUxMRUdBTFwiKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIGZsYWdzICs9IGNoO1xuICAgICAgICAgICAgc3RyICs9IGNoO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgcmV0dXJuIHtcbiAgICAgICAgdmFsdWU6IGZsYWdzLFxuICAgICAgICBsaXRlcmFsOiBzdHJcbiAgICB9O1xufVxuXG5mdW5jdGlvbiBzY2FuUmVnRXhwKCkge1xuICAgIHZhciBzdGFydCwgYm9keSwgZmxhZ3MsIHZhbHVlO1xuXG4gICAgbG9va2FoZWFkID0gbnVsbDtcbiAgICBza2lwQ29tbWVudCgpO1xuICAgIHN0YXJ0ID0gaW5kZXg7XG5cbiAgICBib2R5ID0gc2NhblJlZ0V4cEJvZHkoKTtcb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x1bW46IGluZGV4IC0gbGluZVN0YXJ0XG4gICAgICAgIH1cbiAgICB9O1xuXG4gICAgcmVnZXggPSBzY2FuUmVnRXhwKCk7XG4gICAgbG9jLmVuZCA9IHtcbiAgICAgICAgbGluZTogbGluZU51bWJlcixcbiAgICAgICAgY29sdW1uOiBpbmRleCAtIGxpbmVTdGFydFxuICAgIH07XG5cbiAgICAvKiBpc3RhbmJ1bCBpZ25vcmUgbmV4dCAqL1xuICAgIGlmICghZXh0cmEudG9rZW5pemUpIHtcbiAgICAgICAgLy8gUG9wIHRoZSBwcmV2aW91cyB0b2tlbiwgd2hpY2ggaXMgbGlrZWx5IFwiL1wiIG9yIFwiLz1cIlxuICAgICAgICBpZiAoZXh0cmEudG9rZW5zLmxlbmd0aCA+IDApIHtcbiAgICAgICAgICAgIHRva2VuID0gZXh0cmEudG9rZW5zW2V4dHJhLnRva2Vucy5sZW5ndGggLSAxXTtcbiAgICAgICAgICAgIGlmICh0b2tlbi5yYW5nZVswXSA9PT0gcG9zICYmIHRva2VuLnR5cGUgPT09IFwiUHVuY3R1YXRvclwiKSB7XG4gICAgICAgICAgICAgICAgaWYgKHRva2VuLnZhbHVlID09PSBcIi9cIiB8fCB0b2tlbi52YWx1ZSA9PT0gXCIvPVwiKSB7XG4gICAgICAgICAgICAgICAgICAgIGV4dHJhLnRva2Vucy5wb3AoKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICBleHRyYS50b2tlbnMucHVzaCh7XG4gICAgICAgICAgICB0eXBlOiBcIlJlZ3VsYXJFeHByZXNzaW9uXCIsXG4gICAgICAgICAgICB2YWx1ZTogcmVnZXgubGl0ZXJhbCxcbiAgICAgICAgICAgIHJlZ2V4OiByZWdleC5yZWdleCxcbiAgICAgICAgICAgIHJhbmdlOiBbcG9zLCBpbmRleF0sXG4gICAgICAgICAgICBsb2M6IGxvY1xuICAgICAgICB9KTtcbiAgICB9XG5cbiAgICByZXR1cm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2VuICYmXG4gICAgICAgICAgICAgICAgICAgIGNoZWNrVG9rZW4udHlwZSA9PT0gXCJLZXl3b3JkXCIgJiZcbiAgICAgICAgICAgICAgICAgICAgKGNoZWNrVG9rZW4udmFsdWUgPT09IFwiaWZcIiB8fFxuICAgICAgICAgICAgICAgICAgICAgY2hlY2tUb2tlbi52YWx1ZSA9PT0gXCJ3aGlsZVwiIHx8XG4gICAgICAgICAgICAgICAgICAgICBjaGVja1Rva2VuLnZhbHVlID09PSBcImZvclwiIHx8XG4gICAgICAgICAgICAgICAgICAgICBjaGVja1Rva2VuLnZhbHVlID09PSBcIndpdGhcIikpIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gY29sbGVjdFJlZ2V4KCk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICByZXR1cm4gc2NhblB1bmN0dWF0b3IoKTtcbiAgICAgICAgfVxuICAgICAgICBpZiAocHJldlRva2VuLnZhbHVlID09PSBcIn1cIikge1xuICAgICAgICAgICAgLy8gRGl2aWRpbmcgYSBmdW5jdGlvbiBieSBhbnl0aGluZyBtYWtlcyBsaXR0bGUgc2Vuc2UsXG4gICAgICAgICAgICAvLyBidXQgd2UgaGF2ZSB0byBjaGVjayBmb3IgdGhhdC5cbiAgICAgICAgICAgIGlmIChleHRyYS50b2tlbnNbZXh0cmEub3BlbkN1cmx5VG9rZW4gLSAzXSAmJlxuICAgICAgICAgICAgICAgICAgICBleHRyYS50b2tlbnNbZXh0cmEub3BlbkN1cmx5VG9rZW4gLSAzXS50eXBlID09PSBcIktleXdvcmRcIikge1xuICAgICAgICAgICAgICAgIC8vIEFub255bW91cyBmdW5jdGlvbi5cbiAgICAgICAgICAgICAgICBjaGVja1Rva2VuID0gZXh0cmEudG9rZW5zW2V4dHJhLm9wZW5DdXJseVRva2VuIC0gNF07XG4gICAgICAgICAgICAgICAgaWYgKCFjaGVja1Rva2VuKSB7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBzY2FuUHVuY3R1YXRvcigpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0gZWxzZSBpZiAoZXh0cmEudG9rZW5zW2V4dHJhLm9wZW5DdXJseVRva2VuIC0gNF0gJiZcbiAgICAgICAgICAgICAgICAgICAgZXh0cmEudG9rZW5zW2V4dHJhLm9wZW5DdXJseVRva2VuIC0gNF0udHlwZSA9PT0gXCJLZXl3b3JkXCIpIHtcbiAgICAgICAgICAgICAgICAvLyBOYW1lZCBmdW5jdGlvbi5cbiAgICAgICAgICAgICAgICBjaGVja1Rva2VuID0gZXh0cmEudG9rZW5zW2V4dHJhLm9wZW5DdXJseVRva2VuIC0gNV07XG4gICAgICAgICAgICAgICAgaWYgKCFjaGVja1Rva2VuKSB7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBjb2xsZWN0UmVnZXgoKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIHJldHVybiBzY2FuUHVuY3R1YXRvcigpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgLy8gY2hlY2tUb2tlbiBkZXRlcm1pbmVzIHdoZXRoZXIgdGhlIGZ1bmN0aW9uIGlzXG4gICAgICAgICAgICAvLyBhIGRlY2xhcmF0aW9uIG9yIGFuIGV4cHJlc3Npb24uXG4gICAgICAgICAgICBpZiAoRm5FeHByVG9rZW5zLmluZGV4T2YoY2hlY2tUb2tlbi52YWx1ZSkgPj0gMCkge1xuICAgICAgICAgICAgICAgIC8vIEl0IGlzIGFuIGV4cHJlc3Npb24uXG4gICAgICAgICAgICAgICAgcmV0dXJuIHNjYW5QdW5jdHVhdG9yKCk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICAvLyBJdCBpcyBhIGRlY2xhcmF0aW9uLlxuICAgICAgICAgICAgcmV0dXJuIGNvbGxlY3RSZWdleCgpO1xuICAgICAgICB9XG4gICAgICAgIHJldHVybiBjb2xsZWN0UmVnZXgoKTtcbiAgICB9XG4gICAgaWYgK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HtcbiAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICB9XG4gICAgICAgIHZhbHVlICs9IHNvdXJjZVtpbmRleCsrXTtcbiAgICB9XG5cbiAgICByZXR1cm4ge1xuICAgICAgICB0eXBlOiBUb2tlbi5KU1hJZGVudGlmaWVyLFxuICAgICAgICB2YWx1ZTogdmFsdWUsXG4gICAgICAgIGxpbmVOdW1iZXI6IGxpbmVOdW1iZXIsXG4gICAgICAgIGxpbmVTdGFydDogbGluZVN0YXJ0LFxuICAgICAgICByYW5nZTogW3N0YXJ0LCBpbmRleF1cbiAgICB9O1xufVxuXG5mdW5jdGlvbiBzY2FuSlNYRW50aXR5KCkge1xuICAgIHZhciBjaCwgc3RyID0gXCJcIiwgc3RhcnQgPSBpbmRleCwgY291bnQgPSAwLCBjb2RlO1xuICAgIGNoID0gc291cmNlW2luZGV4XTtcbiAgICBhc3NlcnQoY2ggPT09IFwiJlwiLCBcIkVudGl0eSBtdXN0IHN0YXJ0IHdpdGggYW4gYW1wZXJzYW5kXCIpO1xuICAgIGluZGV4Kys7XG4gICAgd2hpbGUgKGluZGV4IDwgbGVuZ3RoICYmIGNvdW50KysgPCAxMCkge1xuICAgICAgICBjaCA9IHNvdXJjZVtpbmRleCsrXTtcbiAgICAgICAgaWYgKGNoID09PSBcIjtcIikge1xuICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgIH1cbiAgICAgICAgc3RyICs9IGNoO1xuICAgIH1cblxuICAgIC8vIFdlbGwtZm9ybWVkIGVudGl0eSAoZW5kaW5nIHdhcyBmb3VuZCkuXG4gICAgaWYgKGNoID09PSBcIjtcIikge1xuICAgICAgICAvLyBOdW1lcmljIGVudGl0eS5cbiAgICAgICAgaWYgKHN0clswXSA9PT0gXCIjXCIpIHtcbiAgICAgICAgICAgIGlmIChzdHJbMV0gPT09IFwieFwiKSB7XG4gICAgICAgICAgICAgICAgY29kZSA9ICsoXCIwXCIgKyBzdHIuc3Vic3RyKDEpKTtcbiAgICAgICAgICAgI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cbiAgICAgICAgICAgIGluZGV4Kys7XG4gICAgICAgICAgICBpZiAoY2ggPT09IFwiXFxyXCIgJiYgc291cmNlW2luZGV4XSA9PT0gXCJcXG5cIikge1xuICAgICAgICAgICAgICAgIHN0ciArPSBjaDtcbiAgICAgICAgICAgICAgICBjaCA9IHNvdXJjZVtpbmRleF07XG4gICAgICAgICAgICAgICAgaW5kZXgrKztcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGlmIChzeW50YXguaXNMaW5lVGVybWluYXRvcihjaC5jaGFyQ29kZUF0KDApKSkge1xuICAgICAgICAgICAgICAgICsrbGluZU51bWJlcjtcbiAgICAgICAgICAgICAgICBsaW5lU3RhcnQgPSBpbmRleDtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHN0ciArPSBjaDtcbiAgICAgICAgfVxuICAgIH1cbiAgICByZXR1cm4ge1xuICAgICAgICB0eXBlOiBUb2tlbi5KU1hUZXh0LFxuICAgICAgICB2YWx1ZTogc3RyLFxuICAgICAgICBsaW5lTnVtYmVyOiBsaW5lTnVtYmVyLFxuICAgICAgICBsaW5lU3RhcnQ6IGxpbmVTdGFydCxcbiAgICAgICAgcmFuZ2U6IFtzdGFydCwgaW5kZXhdXG4gICAgfTtcbn1cblxuZnVuY3Rpb24gc2NhbkpTWFN0cmluZ0xpdGVyYWwoKSB7XG4gICAgdmFyIGlubmVyVG9rZW4sIHF1b3RlLCBzdGFydDtcblxuICAgIHF1b3RlID0gc291cmNlW2luZGV4XTtcbiAgICBhc3NlcnQoKHF1b3RlID09PSBcIlxcXCJcIiB8fCBxdW90ZSA9PT0gXCInXCIpLFxuICAgICAgICBcIlN0cmluZyBsaXRlcmFsIG11c3Qgc3RhcnRzIHdpdGggYSBxdW90ZVwiKTtcblxuICAgIHN0YXJ0ID0gaW5kZXg7XG4gICAgKytpbmRleDtcblxuICAgIGlubmVyVG9rZW4gPSBzY2FuSlNYVGV4dChbcXVvdGVdKTtcblxuICAgIGlmIChxdW90ZSAhP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IpO1xuICAgICAgICAgICAgZXhwZWN0KFwiKVwiKTtcblxuICAgICAgICAgICAgdmFsdWUgPSBwYXJzZVByb3BlcnR5RnVuY3Rpb24oe1xuICAgICAgICAgICAgICAgIHBhcmFtczogW10sXG4gICAgICAgICAgICAgICAgc3RyaWN0ZWQ6IG51bGwsXG4gICAgICAgICAgICAgICAgZmlyc3RSZXN0cmljdGVkOiBudWxsLFxuICAgICAgICAgICAgICAgIG1lc3NhZ2U6IG51bGxcbiAgICAgICAgICAgIH0sIHtcbiAgICAgICAgICAgICAgICBtYXJrZXI6IG1ldGhvZE1hcmtlclxuICAgICAgICAgICAgfSk7XG5cbiAgICAgICAgICAgIHJldHVybiBtYXJrZXJBcHBseShtYXJrZXIsIGFzdE5vZGVGYWN0b3J5LmNyZWF0ZVByb3BlcnR5KFwiZ2V0XCIsIGtleSwgdmFsdWUsIGZhbHNlLCBmYWxzZSwgY29tcHV0ZWQpKTtcblxuICAgICAgICB9IGVsc2UgaWYgKHRva2VuLnZhbHVlID09PSBcInNldFwiICYmIGxvb2thaGVhZFByb3BlcnR5TmFtZSgpKSB7XG4gICAgICAgICAgICBjb21wdXRlZCA9IG1hdGNoKFwiW1wiKTtcbiAgICAgICAgICAgIGtleSA9IHBhcnNlT2JqZWN0UHJvcGVydHlLZXkoKTtcbiAgICAgICAgICAgIG1ldGhvZE1hcmtlciA9IG1hcmtlckNyZWF0ZSgpO1xuICAgICAgICAgICAgZXhwZWN0KFwiKFwiKTtcblxuICAgICAgICAgICAgb3B0aW9ucyA9IHtcbiAgICAgICAgICAgICAgICBwYXJhbXM6IFtdLFxuICAgICAgICAgICAgICAgIGRlZmF1bHRDb3VudDogMCxcbiAgICAgICAgICAgICAgICBzdHJpY3RlZDogbnVsbCxcbiAgICAgICAgICAgICAgICBmaXJzdFJlc3RyaWN0ZWQ6IG51bGwsXG4gICAgICAgICAgICAgICAgcGFyYW1TZXQ6IG5ldyBTdHJpbmdNYXAoKVxuICAgICAgICAgICAgfTtcb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WQudmFsdWUgPT09IFwiW1wiKTtcbiAgICAgICAgICAgIGtleSA9IHBhcnNlT2JqZWN0UHJvcGVydHlLZXkoKTtcbiAgICAgICAgICAgIG1ldGhvZE1hcmtlciA9IG1hcmtlckNyZWF0ZSgpO1xuICAgICAgICAgICAgZXhwZWN0KFwiKFwiKTtcbiAgICAgICAgICAgIGV4cGVjdChcIilcIik7XG5cbiAgICAgICAgICAgIHJldHVybiBtYXJrZXJBcHBseShcbiAgICAgICAgICAgICAgICBtYXJrZXIsXG4gICAgICAgICAgICAgICAgYXN0Tm9kZUZhY3RvcnkuY3JlYXRlUHJvcGVydHkoXG4gICAgICAgICAgICAgICAgICAgIFwiZ2V0XCIsXG4gICAgICAgICAgICAgICAgICAgIGtleSxcbiAgICAgICAgICAgICAgICAgICAgcGFyc2VQcm9wZXJ0eUZ1bmN0aW9uKHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGdlbmVyYXRvcjogZmFsc2VcbiAgICAgICAgICAgICAgICAgICAgfSwge1xuICAgICAgICAgICAgICAgICAgICAgICAgbWFya2VyOiBtZXRob2RNYXJrZXJcbiAgICAgICAgICAgICAgICAgICAgfSksXG4gICAgICAgICAgICAgICAgICAgIGZhbHNlLFxuICAgICAgICAgICAgICAgICAgICBmYWxzZSxcbiAgICAgICAgICAgICAgICAgICAgY29tcHV0ZWRcbiAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICApO1xuICAgICAgICB9XG5cbiAgICAgICAgaWYgKHRva2VuLnZhbHVlID09PSBcInNldFwiICYmXG4gICAgICAgICAgICAgICAgIShtYXRjaChcIjpcIikgfHwgbWF0Y2goXCIoXCIpIHx8IG1hdGNoKFwiLFwiKSB8fCBtYXRjaChcIn1cIikpKSB7XG4gICAgICAgICAgICBjb21wdXRlZCA9IChsb29rYWhlYWQudmFsdWUgPT09IFwiW1wiKTtcbiAgICAgICAgICAgIGtleSA9IHBhcnNlT2JqZWN0UHJvcGVydHlLZXkoKTtcbiAgICAgICAgICAgIG1ldGhvZE1hcmtlciA9IG1hcmtlckNyZWF0ZSgpO1xuICAgICAgICAgICAgZXhwZWN0KFwiKFwiKTtcblxuICAgICAgICAgICAgb3B0aW9ucyA9IHtcbiAgICAgICAgICAgICAgICBwYXJhbXM6IFtdLFxuICAgICAgICAgICAgICAgIGRlZmF1bHRDb3VudDogMCxcbiAgICAgICAgICAgICAgICBzdHJpY3RlZDogbnVsbCxcbiAgICAgICAgICAgICAgICBmaXJzdFJlc3RyaWN0ZWQ6IG51bGwsXG4gICAgICAgICAgICAgICAgcGFyYW1TZXQ6IG5ldyBTdHJpbmdNYXAoKVxuICAgICAgICAgICAgfTtcblxuICAgICAgICAgICAgaWYgKG1hdGNoKFwiKVwiKSkge1xuICAgICAgICAgICAgICAgIHRocm93RXJyb3JUb2xlcmFudChsb29rYWhlYWQsIE1lc3NhZ2VzLlVuZXhwZWN0ZWRUb2tlbiwgbG9va2FoZWFkLnZhbHVlKTtcbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgcGFyc2VQYXJhbShvcHRpb25zKTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgZXhwZWN0KFwiKVwiKTtcblxuICAgICAgICAgICAgcmV0dXJuIG1hcmtlckFwcGx5KFxuICAgICAgICAgICAgICAgIG1hcmtlcixcbiAgICAgICAgICAgICAgICBhc3ROb2RlRmFjdG9yeS5jcmVhdGVQcm9wZXJ0eShcbiAgICAgICAgICAgICAgICAgICAgXCJzZXRcIixcbiAgICAgICAgICAgICAgICAgICAga2V5LFxuICAgICAgICAgICAgICAgICAgICBwYXJzZVByb3BlcnR5RnVuY3Rpb24ob3B0aW9ucywge1xuICAgICAgICAgICAgICAgICAgICAgICAgbWFya2VyOiBtZXRob2RNYXJrZXJcbiAgICAgICAgICAgICAgICAgICAgfSksXG4gICAgICAgICAgICAgICAgICAgIGZhbHNlLFxuICAgICAgICAgICAgICAgICAgICBmYWxzZSxcbiAgICAgICAgICAgICAgICAgICAgY29tcHV0ZWRcbiAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICApO1xuICAgICAgICB9XG5cbiAgICAgICAgLy8gbm9ybWFsIHByb3BlcnR5IChrZXk6dmFsdWUpXG4gICAgICAgIGlmIChtYXRjaChcIjpcIikpIHtcbiAgICAgICAgICAgIGxleCgpO1xuICAgICAgICAgICAgcmV0dXJuIG1hcmtlckFwcGx5KFxuICAgICAgICAgICAgICAgIG1hcmtlcixcbiAgICAgICAgICAgICAgICBhc3ROb2RlRmFjdG9yeS5jcmVhdGVQcm9wZXJ0eShcbiAgICAgICAgICAgICAgICAgICAgXCJpbml0XCIsXG4gICAgICAgICAgICAgICAgICAgIGlkLFxuICAgICAgICAgICAgICAgICAgICBwYXJzZUFzc2lnbm1lbnRFeHByZXNzaW9uKCksXG4gICAgICAgICAgICAgICAgICAgIGZhbHNlLFxuICAgICAgICAgICAgICAgICAgICBmYWxzZSxcbiAgICAgICAgICAgICAgICAgICAgY29tcHV0ZWRcbiAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICApO1xuICAgICAgICB9XG5cbiAgICAgICAgLy8gbWV0aG9kIHNob3J0aGFuZCAoa2V5KCl7Li4ufSlcbiAgICAgICAgaWYgKGFsbG93TWV0aG9kICYmIG1hdGNoKFwiKFwiKSkge1xuICAgICAgICAgICAgcmV0dXJuIG1hcmtlckFwcGx5KFxuICAgICAgICAgICAgICAgIG1hcmtlcixcbiAgICAgICAgICAgICAgICBhc3ROb2RlRmFjdG9yeS5jcmVhdGVQcm9wZXJ0eShcbiAgICAgICAgICAgICAgICAgICAgXCJpbml0XCIsXG4gICAgICAgICAgICAgICAgICAgIGlkLFxuICAgICAgICAgICAgICAgICAgICBwYXJzZVByb3BlcnR5TWV0aG9kRnVuY3Rpb24oeyBnZW5lcmF0b3I6IGZhbHNlIH0pLFxuICAgICAgICAgICAgICAgICAgICB0cnVlLFxuICAgICAgICAgICAgICAgICAgICBmYWxzZSxcbiAgICAgICAgICAgICAgICAgICAgY29tcHV0ZWRcbiAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICApO1xuICAgICAgICB9XG5cbiAgICAgICAgLy8gZGVzdHJ1Y3R1cmluZyBkZWZhdWx0cyAoc2hvcnRoYW5kIHN5bnRheClcbiAgICAgICAgaWYgKGFsbG93RGVzdHJ1Y3R1cmluZyAmJiBtYXRjaChcIj1cIikpIHtcbiAgICAgICAgICAgIGxleCgpO1xuICAgICAgICAgICAgdmFyIHZhbHVlID0gcGFyc2VBc3NpZ25tZW50RXhwcmVzc2lvbigpO1xuICAgICAgICAgICAgdmFyIHByb3AgPSBtYXJrZXJBcHBseShtYXJrZXIsIGFzdE5vZGVGYWN0b3J5LmNyZWF0ZUFzc2lnbm1lbnRFeHByZXNzaW9uKFwiPVwiLCBpZCwgdmFsdWUpKTtcbiAgICAgICAgICAgIHByb3AudHlwZSA9IGFzdE5vZGVUeXBlcy5Bc3NpZ25tZW50UGF0dGVybjtcbiAgICAgICAgICAgIHZhciBmdWxsUHJvcGVydHkgPSBhc3ROb2RlRmFjdG9yeS5jcmVhdGVQcm9wZXJ0eShcbiAgICAgICAgICAgICAgICBcImluaXRcIixcbiAgICAgICAgICAgICAgICBpZCxcbiAgICAgICAgICAgICAgICBwcm9wLFxuICAgICAgICAgICAgICAgIGZhbHNlLFxuICAgICAgICAgICAgICAgIHRydWUsIC8vIHNob3J0aGFuZFxuICAgICAgICAgICAgICAgIGNvbXB1dGVkXG4gICAgICAgICAgICApO1xuICAgICAgICAgICAgcmV0dXJuIG1hcmtlckFwcGx5KG1hcmtlciwgZnVsbFByb3BlcnR5KTtcbiAgICAgICAgfVxuXG4gICAgICAgIC8qXG4gICAgICAgICAqIE9ubHkgb3RoZXIgcG9zc2liaWxpdHkgaXMgdGhhdCB0aGlzIGlzIGEgc2hvcnRoYW5kIHByb3BlcnR5LiBDb21wdXRlZFxuICAgICAgICAgKiBwcm9wZXJ0aWVzIGNhbm5vdCB1c2Ugc2hvcnRoYW5kIG5vdGF0aW9uLCBzbyB0aGF0J3MgYSBzeW50YXggZXJyb3IuXG4gICAgICAgICAqIElmIHNob3J0aGFuZCBwcm9wZXJ0aWVzIGFyZW4ndCBhbGxvdywgdGhlbiB0aGlzIGlzIGFuIGF1dG9tYXRpY1xuICAgICAgICAgKiBzeW50YXggZXJyb3IuIERlc3RydWN0dXJpbmcgaXMgYW5vdGhlciBjYXNlIHdpdGggYSBzaW1pbGFyIHNob3J0aGFuZCBzeW50YXguXG4gICAgICAgICAqL1xuICAgICAgICBpZiAoY29tcHV0ZWQgfHwgKCFhbGxvd1Nob3J0aGFuZCAmJiAhYWxsb3dEZXN0cnVjdHVyaW5nKSkge1xuICAgICAgICAgICAgdGhyb3dVbmV4cGVjdGVkKGxvb2thaGVhZCk7XG4gICAgICAgIH1cblxuICAgICAgICAvLyBzaG9ydGhhbmQgcHJvcGVydHlcbiAgICAgICAgcmV0dXJuIG1hcmtlckFwcGx5KFxuICAgICAgICAgICAgbWFya2VyLFxuICAgICAgICAgICAgYXN0Tm9kZUZhY3RvcnkuY3JlYXRlUHJvcGVydHkoXG4gICAgICAgICAgICAgICAgXCJpbml0XCIsXG4gICAgICAgICAgICAgICAgaWQsXG4gICAgICAgICAgICAgICAgaWQsXG4gICAgICAgICAgICAgICAgZmFsc2UsXG4gICAgICAgICAgICAgICAgdHJ1ZSxcbiAgICAgICAgICAgICAgICBmYWxzZVxuICAgICAgICAgICAgKVxuICAgICAgICApO1xuICAgIH1cblxuICAgIC8vIG9ubHkgcG9zc2liaWxpdHkgaW4gdGhpcyBicmFuY2ggaXMgYSBzaG9ydGhhbmQgZ2VuZXJhdG9yXG4gICAgaWYgKHRva2VuLnR5cGUgPT09IFRva2VuLkVPRiB8fCB0b2tlbi50eXBlID09PSBUb2tlbi5QdW5jdHVhdG9yKSB7XG4gICAgICAgIGlmICghYWxsb3dHZW5lcmF0b3JzIHx8ICFtYXRjaChcIipcIikgfHwgIWFsbG93TWV0aG9kKSB7XG4gICAgICAgICAgICB0aHJvd1VuZXhwZW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AgICAgICByZXR1cm4gbWFya2VyQXBwbHkoXG4gICAgICAgICAgICBtYXJrZXIsXG4gICAgICAgICAgICBhc3ROb2RlRmFjdG9yeS5jcmVhdGVQcm9wZXJ0eShcbiAgICAgICAgICAgICAgICBcImluaXRcIixcbiAgICAgICAgICAgICAgICBrZXksXG4gICAgICAgICAgICAgICAgcGFyc2VQcm9wZXJ0eU1ldGhvZEZ1bmN0aW9uKCksXG4gICAgICAgICAgICAgICAgdHJ1ZSxcbiAgICAgICAgICAgICAgICBmYWxzZSxcbiAgICAgICAgICAgICAgICBmYWxzZVxuICAgICAgICAgICAgKVxuICAgICAgICApO1xuICAgIH1cblxuICAgIC8vIG5vIG90aGVyIG9wdGlvbnMsIHRoaXMgaXMgYmFkXG4gICAgdGhyb3dVbmV4cGVjdGVkKGxleCgpKTtcbn1cblxuZnVuY3Rpb24gZ2V0RmllbGROYW1lKGtleSkge1xuICAgIHZhciB0b1N0cmluZyA9IFN0cmluZztcbiAgICBpZiAoa2V5LnR5cGUgPT09IGFzdE5vZGVUeXBlcy5JZGVudGlmaWVyKSB7XG4gICAgICAgIHJldHVybiBrZXkubmFtZTtcbiAgICB9XG4gICAgcmV0dXJuIHRvU3RyaW5nKGtleS52YWx1ZSk7XG59XG5cbmZ1bmN0aW9uIHBhcnNlT2JqZWN0SW5pdGlhbGlzZXIoKSB7XG4gICAgdmFyIG1hcmtlciA9IG1hcmtlckNyZWF0ZSgpLFxuICAgICAgICBhbGxvd0R1cGxpY2F0ZXMgPSBleHRyYS5lY21hRmVhdHVyZXMub2JqZWN0TGl0ZXJhbER1cGxpY2F0ZVByb3BlcnRpZXMsXG4gICAgICAgIHByb3BlcnRpZXMgPSBbXSxcbiAgICAgICAgcHJvcGVydHksXG4gICAgICAgIG5hbWUsXG4gICAgICAgIHByb3BlcnR5Rm4sXG4gICAgICAgIGtpbmQsXG4gICAgICAgIHN0b3JlZEtpbmQsXG4gICAgICAgIHByZXZpb3VzSW5PYmplY3RMaXRlcmFsID0gc3RhdGUuaW5PYmplY3RMaXRlcmFsLFxuICAgICAgICBraW5kTWFwID0gbmV3IFN0cmluZ01hcCgpO1xuXG4gICAgc3RhdGUuaW5PYmplY3RMaXRlcmFsID0gdHJ1ZTtcblxuICAgIGV4cGVjdChcIntcIik7XG5cbiAgICB3aGlsZSAoIW1hdGNoKFwifVwiKSkge1xuXG4gICAgICAgIHByb3BlcnR5ID0gcGFyc2VPYmplY3RQcm9wZXJ0eSgpO1xuXG4gICAgICAgIGlmICghcHJvcGVydHkuY29tcHV0ZWQpIHtcblxuICAgICAgICAgICAgbmFtZSA9IGdldEZpZWxkTmFtZShwcm9wZXJ0eS5rZXkpO1xuICAgICAgICAgICAgcHJvcGVydHlGbiA9IChwcm9wZXJ0eS5raW5kID09PSBcImdldFwiKSA/IFByb3BlcnR5S2luZC5HZXQgOiBQcm9wZXJ0eUtpbmQuU2V0O1xuICAgICAgICAgICAga2luZCA9IChwcm9wZXJ0eS5raW5kID09PSBcImluaXRcIikgPyBQcm9wZXJ0eUtpbmQuRGF0YSA6IHByb3BlcnR5Rm47XG5cbiAgICAgICAgICAgIGlmIChraW5kTWFwLmhhcyhuYW1lKSkge1xuICAgICAgICAgICAgICAgIHN0b3JlZEtpbmQgPSBraW5kTWFwLmdldChuYW1lKTtcbiAgICAgICAgICAgICAgICBpZiAoc3RvcmVkS2luZCA9PT0gUHJvcGVydHlLaW5kLkRhdGEpIHtcbiAgICAgICAgICAgICAgICAgICAgaWYgKGtpbmQgPT09IFByb3BlcnR5S2luZC5EYXRhICYmIG5hbWUgPT09IFwiX19wcm90b19fXCIgJiYgYWxsb3dEdXBsaWNhdGVzKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAvLyBEdXBsaWNhdGUgJ19fcHJvdG9fXycgbGl0ZXJhbCBwcm9wZXJ0aWVzIGFyZSBmb3JiaWRkZW4gaW4gRVMgNlxuICAgICAgICAgICAgICAgICAgICAgICAgdGhyb3dFcnJvclRvbGVyYW50KHt9LCBNZXNzYWdlcy5EdXBsaWNhdGVQcm90b3R5cGVQcm9wZXJ0eSk7XG4gICAgICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoc3RyaWN0ICYmIGtpbmQgPT09IFByb3BlcnR5S2luZC5EYXRhICYmICFhbGxvd0R1cGxpY2F0ZXMpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIC8vIER1cGxpY2F0ZSBsaXRlcmFsIHByb3BlcnRpZXMgYXJlIG9ubHkgZm9yYmlkZGVuIGluIEVTIDUgc3RyaWN0IG1vZGVcbiAgICAgICAgICAgICAgICAgICAgICAgIHRocm93RXJyb3JUb2xlcmFudCh7fSwgTWVzc2FnZXMuU3RyaWN0RHVwbGljYXRlUHJvcGVydHkpO1xuICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKGtpbmQgIT09IFByb3BlcnR5S2luZC5EYXRhKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICB0aHJvd0Vycm9yVG9sZXJhbnQoe30sIE1lc3NhZ2VzLkFjY2Vzc29yRGF0YVByb3BlcnR5KTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIGlmIChraW5kID09PSBQcm9wZXJ0eUtpbmQuRGF0YSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgdGhyb3dFcnJvclRvbGVyYW50KHt9LCBNZXNzYWdlcy5BY2Nlc3NvckRhdGFQcm9wZXJ0eSk7XG4gICAgICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoc3RvcmVkS2luZCAmIGtpbmQpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHRocm93RXJyb3JUb2xlcmFudCh7fSwgTWVzc2FnZXMuQWNjZXNzb3JHZXRTZXQpO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIGtpbmRNYXAuc2V0KG5hbWUsIHN0b3JlZEtpbmQgfCBraW5kKT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gICAgYXJncy5wdXNoKGFyZyk7XG5cbiAgICAgICAgICAgIGlmIChtYXRjaChcIilcIikpIHtcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgZXhwZWN0KFwiLFwiKTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIGV4cGVjdChcIilcIik7XG5cbiAgICByZXR1cm4gYXJncztcbn1cblxuZnVuY3Rpb24gcGFyc2VTcHJlYWRPckFzc2lnbm1lbnRFeHByZXNzaW9uKCkge1xuICAgIGlmIChtYXRjaChcIi4uLlwiKSkge1xuICAgICAgICB2YXIgbWFya2VyID0gbWFya2VyQ3JlYXRlKCk7XG4gICAgICAgIGxleCgpO1xuICAgICAgICByZXR1cm4gbWFya2VyQXBwbHkobWFya2VyLCBhc3ROb2RlRmFjdG9yeS5jcmVhdGVTcHJlYWRFbGVtZW50KHBhcnNlQXNzaWdubWVudEV4cHJlc3Npb24oKSkpO1xuICAgIH1cbiAgICByZXR1cm4gcGFyc2VBc3NpZ25tZW50RXhwcmVzc2lvbigpO1xufVxuXG5mdW5jdGlvbiBwYXJzZU5vbkNvbXB1dGVkUHJvcGVydHkoKSB7XG4gICAgdmFyIHRva2VuLFxuICAgICAgICBtYXJrZXIgPSBtYXJrZXJDcmVhdGUoKTtcblxuICAgIHRva2VuID0gbGV4KCk7XG5cbiAgICBpZiAoIWlzSWRlbnRpZmllck5hbWUodG9rZW4pKSB7XG4gICAgICAgIHRocm93VW5leHBlY3RlZCh0b2tlbik7XG4gICAgfVxuXG4gICAgcmV0dXJuIG1hcmtlckFwcGx5KG1hcmtlciwgYXN0Tm9kZUZhY3RvcnkuY3JlYXRlSWRlbnRpZmllcih0b2tlbi52YWx1ZSkpO1xufVxuXG5mdW5jdGlvbiBwYXJzZU5vbkNvbXB1dGVkTWVtYmVyKCkge1xuICAgIGV4cGVjdChcIi5cIik7XG5cbiAgICByZXR1cm4gcGFyc2VOb25Db21wdXRlZFByb3BlcnR5KCk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FeHByZXNzaW9uKGV4cHIsIHBhcnNlVGVtcGxhdGVMaXRlcmFsKCkpKTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIHJldHVybiBleHByO1xufVxuXG5cbi8vIDExLjMgUG9zdGZpeCBFeHByZXNzaW9uc1xuXG5mdW5jdGlvbiBwYXJzZVBvc3RmaXhFeHByZXNzaW9uKCkge1xuICAgIHZhciBleHByLCB0b2tlbixcbiAgICAgICAgbWFya2VyID0gbWFya2VyQ3JlYXRlKCk7XG5cbiAgICBleHByID0gcGFyc2VMZWZ0SGFuZFNpZGVFeHByZXNzaW9uQWxsb3dDYWxsKCk7XG5cbiAgICBpZiAobG9va2FoZWFkLnR5cGUgPT09IFRva2VuLlB1bmN0dWF0b3IpIHtcbiAgICAgICAgaWYgKChtYXRjaChcIisrXCIpIHx8IG1hdGNoKFwiLS1cIikpICYmICFwZWVrTGluZVRlcm1pbmF0b3IoKSkge1xuICAgICAgICAgICAgLy8gMTEuMy4xLCAxMS4zLjJcbiAgICAgICAgICAgIGlmIChzdHJpY3QgJiYgZXhwci50eXBlID09PSBhc3ROb2RlVHlwZXMuSWRlbnRpZmllciAmJiBzeW50YXguaXNSZXN0cmljdGVkV29yZChleHByLm5hbWUpKSB7XG4gICAgICAgICAgICAgICAgdGhyb3dFcnJvclRvbGVyYW50KHt9LCBNZXNzYWdlcy5TdHJpY3RMSFNQb3N0Zml4KTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgaWYgKCFpc0xlZnRIYW5kU2lkZShleHByKSkge1xuICAgICAgICAgICAgICAgIHRocm93RXJyb3JUb2xlcmFudCh7fSwgTWVzc2FnZXMuSW52YWxpZExIU0luQXNzaWdubWVudCk7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIHRva2VuID0gbGV4KCk7XG4gICAgICAgICAgICBleHByID0gbWFya2VyQXBwbHkobWFya2VyLCBhc3ROb2RlRmFjdG9yeS5jcmVhdGVQb3N0Zml4RXhwcmVzc2lvbih0b2t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kICE9PSBcImluaXRcIikge1xuICAgICAgICAgICAgICAgIHRocm93RXJyb3JUb2xlcmFudCh7fSwgTWVzc2FnZXMuSW52YWxpZExIU0luQXNzaWdubWVudCk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICByZWludGVycHJldEFzQXNzaWdubWVudEJpbmRpbmdQYXR0ZXJuKHByb3BlcnR5LnZhbHVlKTtcbiAgICAgICAgfVxuICAgIH0gZWxzZSBpZiAoZXhwci50eXBlID09PSBhc3ROb2RlVHlwZXMuQXJyYXlFeHByZXNzaW9uKSB7XG4gICAgICAgIGV4cHIudHlwZSA9IGFzdE5vZGVUeXBlcy5BcnJheVBhdHRlcm47XG4gICAgICAgIGZvciAoaSA9IDAsIGxlbiA9IGV4cHIuZWxlbWVudHMubGVuZ3RoOyBpIDwgbGVuOyBpICs9IDEpIHtcbiAgICAgICAgICAgIGVsZW1lbnQgPSBleHByLmVsZW1lbnRzW2ldO1xuICAgICAgICAgICAgLyogaXN0YW5idWwgaWdub3JlIGVsc2UgKi9cbiAgICAgICAgICAgIGlmIChlbGVtZW50KSB7XG4gICAgICAgICAgICAgICAgcmVpbnRlcnByZXRBc0Fzc2lnbm1lbnRCaW5kaW5nUGF0dGVybihlbGVtZW50KTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH0gZWxzZSBpZiAoZXhwci50eXBlID09PSBhc3ROb2RlVHlwZXMuSWRlbnRpZmllcikge1xuICAgICAgICBpZiAoc3ludGF4LmlzUmVzdHJpY3RlZFdvcmQoZXhwci5uYW1lKSkge1xuICAgICAgICAgICAgdGhyb3dFcnJvclRvbGVyYW50KHt9LCBNZXNzYWdlcy5JbnZhbGlkTEhTSW5Bc3NpZ25tZW50KTtcbiAgICAgICAgfVxuICAgIH0gZWxzZSBpZiAoZXhwci50eXBlID09PSBhc3ROb2RlVHlwZXMuU3ByZWFkRWxlbWVudCkge1xuICAgICAgICByZWludGVycHJldEFzQXNzaWdubWVudEJpbmRpbmdQYXR0ZX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FtcygpO1xuICAgICAgICAgICAgaWYgKCFtYXRjaChcIj0+XCIpKSB7XG4gICAgICAgICAgICAgICAgdGhyb3dVbmV4cGVjdGVkKGxleCgpKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHJldHVybiBwYXJzZUFycm93RnVuY3Rpb25FeHByZXNzaW9uKHBhcmFtcywgbWFya2VyKTtcbiAgICAgICAgfVxuICAgICAgICBzdGFydHNXaXRoUGFyZW4gPSB0cnVlO1xuICAgIH1cblxuICAgIC8vIHJldmVydCB0byB0aGUgcHJldmlvdXMgbG9va2FoZWFkIHN0eWxlIG9iamVjdFxuICAgIHRva2VuID0gbG9va2FoZWFkO1xuICAgIG5vZGUgPSBsZWZ0ID0gcGFyc2VDb25kaXRpb25hbEV4cHJlc3Npb24oKTtcblxuICAgIGlmIChtYXRjaChcIj0+XCIpICYmXG4gICAgICAgICAgICAoc3RhdGUucGFyZW50aGVzaXNDb3VudCA9PT0gb2xkUGFyZW50aGVzaXNDb3VudCB8fFxuICAgICAgICAgICAgc3RhdGUucGFyZW50aGVzaXNDb3VudCA9PT0gKG9sZFBhcmVudGhlc2lzQ291bnQgKyAxKSkpIHtcblxuICAgICAgICBpZiAobm9kZS50eXBlID09PSBhc3ROb2RlVHlwZXMuSWRlbnRpZmllcikge1xuICAgICAgICAgICAgcGFyYW1zID0gcmVpbnRlcnByZXRBc0NvdmVyRm9ybWFsc0xpc3QoWyBub2RlIF0pO1xuICAgICAgICB9IGVsc2UgaWYgKG5vZGUudHlwZSA9PT0gYXN0Tm9kZVR5cGVzLkFzc2lnbm1lbnRFeHByZXNzaW9uIHx8XG4gICAgICAgICAgICBub2RlLnR5cGUgPT09IGFzdE5vZGVUeXBlcy5BcnJheUV4cHJlc3Npb24gfHxcbiAgICAgICAgICAgIG5vZGUudHlwZSA9PT0gYXN0Tm9kZVR5cGVzLk9iamVjdEV4cHJlc3Npb24pIHtcbiAgICAgICAgICAgIGlmICghc3RhcnRzV2l0aFBhcmVuKSB7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IoXCIpO1xuXG4gICAgaWYgKG1hdGNoKFwiO1wiKSkge1xuICAgICAgICBsZXgoKTtcbiAgICB9IGVsc2Uge1xuXG4gICAgICAgIGlmIChtYXRjaEtleXdvcmQoXCJ2YXJcIikgfHxcbiAgICAgICAgICAgIChhbGxvd0Jsb2NrQmluZGluZ3MgJiYgKG1hdGNoS2V5d29yZChcImxldFwiKSB8fCBtYXRjaEtleXdvcmQoXCJjb25zdFwiKSkpXG4gICAgICAgICkge1xuICAgICAgICAgICAgc3RhdGUuYWxsb3dJbiA9IGZhbHNlO1xuICAgICAgICAgICAgaW5pdCA9IHBhcnNlRm9yVmFyaWFibGVEZWNsYXJhdGlvbigpO1xuICAgICAgICAgICAgc3RhdGUuYWxsb3dJbiA9IHRydWU7XG5cbiAgICAgICAgICAgIGlmIChpbml0LmRlY2xhcmF0aW9ucy5sZW5ndGggPT09IDEpIHtcbiAgICAgICAgICAgICAgICBpZiAobWF0Y2hLZXl3b3JkKFwiaW5cIikgfHwgKGFsbG93Rm9yT2YgJiYgbWF0Y2hDb250ZXh0dWFsS2V5d29yZChcIm9mXCIpKSkge1xuICAgICAgICAgICAgICAgICAgICBvcGVyYXRvciA9IGxvb2thaGVhZDtcblxuICAgICAgICAgICAgICAgICAgICAvLyBUT0RPOiBpcyBcInZhclwiIGNoZWNrIGhlcmUgcmVhbGx5IG5lZWRlZD8gd2FzblwidCBpbiAxLjIuMlxuICAgICAgICAgICAgICAgICAgICBpZiAoISgob3BlcmF0b3IudmFsdWUgPT09IFwiaW5cIiB8fCBpbml0LmtpbmQgIT09IFwidmFyXCIpICYmIGluaXQuZGVjbGFyYXRpb25zWzBdLmluaXQpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBsZXgoKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGxlZnQgPSBpbml0O1xuICAgICAgICAgICAgICAgICAgICAgICAgcmlnaHQgPSBwYXJzZUV4cHJlc3Npb24oKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGluaXQgPSBudWxsO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuXG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICBzdGF0ZS5hbGxvd0luID0gZmFsc2U7XG4gICAgICAgICAgICBpbml0ID0gcGFyc2VFeHByZXNzaW9uKCk7XG4gICAgICAgICAgICBzdGF0ZS5hbGxvd0luID0gdHJ1ZTtcblxuICAgICAgICAgICAgaWYgKGFsbG93Rm9yT2YgJiYgbWF0Y2hDb250ZXh0dWFsS2V5d29yZChcIm9mXCIpKSB7XG4gICAgICAgICAgICAgICAgb3BlcmF0b3IgPSBsZXgoKTtcbiAgICAgICAgICAgICAgICBsZWZ0ID0gaW5pdDtcbiAgICAgICAgICAgICAgICByaWdodCA9IHBhcnNlRXhwcmVzc2lvbigpO1xuICAgICAgICAgICAgICAgIGluaXQgPSBudWxsO1xuICAgICAgICAgICAgfSBlbHNlIGlmIChtYXRjaEtleXdvcmQoXCJpblwiKSkge1xuICAgICAgICAgICAgICAgIC8vIExlZnRIYW5kU2lkZUV4cHJlc3Npb25cbiAgICAgICAgICAgICAgICBpZiAoIWlzTGVmdEhhbmRTaWRlKGluaXQpKSB7XG4gICAgICAgICAgICAgICAgICAgIHRocm93RXJyb3JUb2xlcmFudCh7fSwgTWVzc2FnZXMuSW52YWxpZExIU0luRm9ySW4pO1xuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIG9wZXJhdG9yID0gbGV4KCk7XG4gICAgICAgICAgICAgICAgbGVmdCA9IGluaXQ7XG4gICAgICAgICAgICAgICAgcmlnaHQgPSBwYXJzZUV4cHJlc3Npb24oKTtcbiAgICAgICAgICAgICAgICBpbml0ID0gbnVsbDtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIGlmICh0eXBlb2YgbGVmdCA9PT0gXCJ1bmRlZmluZWRcIikge1xuICAgICAgICAgICAgZXhwZWN0KFwiO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KTtcbiAgICAgICAgICAgIGRlZmF1bHQ6XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICBtYXJrZXIgPSBtYXJrZXJDcmVhdGUoKTtcblxuICAgIGlmICh0eXBlID09PSBUb2tlbi5LZXl3b3JkKSB7XG4gICAgICAgIHN3aXRjaCAobG9va2FoZWFkLnZhbHVlKSB7XG4gICAgICAgICAgICBjYXNlIFwiYnJlYWtcIjpcbiAgICAgICAgICAgICAgICByZXR1cm4gbWFya2VyQXBwbHkobWFya2VyLCBwYXJzZUJyZWFrU3RhdGVtZW50KCkpO1xuICAgICAgICAgICAgY2FzZSBcImNvbnRpbnVlXCI6XG4gICAgICAgICAgICAgICAgcmV0dXJuIG1hcmtlckFwcGx5KG1hcmtlciwgcGFyc2VDb250aW51ZVN0YXRlbWVudCgpKTtcbiAgICAgICAgICAgIGNhc2UgXCJkZWJ1Z2dlclwiOlxuICAgICAgICAgICAgICAgIHJldHVybiBtYXJrZXJBcHBseShtYXJrZXIsIHBhcnNlRGVidWdnZXJTdGF0ZW1lbnQoKSk7XG4gICAgICAgICAgICBjYXNlIFwiZG9cIjpcbiAgICAgICAgICAgICAgICByZXR1cm4gbWFya2VyQXBwbHkobWFya2VyLCBwYXJzZURvV2hpbGVTdGF0ZW1lbnQoKSk7XG4gICAgICAgICAgICBjYXNlIFwiZm9yXCI6XG4gICAgICAgICAgICAgICAgcmV0dXJuIG1hcmtlckFwcGx5KG1hcmtlciwgcGFyc2VGb3JTdGF0ZW1lbnQoKSk7XG4gICAgICAgICAgICBjYXNlIFwiZnVuY3Rpb25cIjpcbiAgICAgICAgICAgICAgICByZXR1cm4gbWFya2VyQXBwbHkobWFya2VyLCBwYXJzZUZ1bmN0aW9uRGVjbGFyYXRpb24oKSk7XG4gICAgICAgICAgICBjYXNlIFwiaWZcIjpcbiAgICAgICAgICAgICAgICByZXR1cm4gbWFya2VyQXBwbHkobWFya2VyLCBwYXJzZUlmU3RhdGVtZW50KCkpO1xuICAgICAgICAgICAgY2FzZSBcInJldHVyblwiOlxuICAgICAgICAgICAgICAgIHJldHVybiBtYXJrZXJBcHBseShtYXJrZXIsIHBhcnNlUmV0dXJuU3RhdGVtZW50KCkpO1xuICAgICAgICAgICAgY2FzZSBcInN3aXRjaFwiOlxuICAgICAgICAgICAgICAgIHJldHVybiBtYXJrZXJBcHBseShtYXJrZXIsIHBhcnNlU3dpdGNoU3RhdGVtZW50KCkpO1xuICAgICAgICAgICAgY2FzZSBcInRocm93XCI6XG4gICAgICAgICAgICAgICAgcmV0dXJuIG1hcmtlckFwcGx5KG1hcmtlciwgcGFyc2VUaHJvd1N0YXRlbWVudCgpKTtcbiAgICAgICAgICAgIGNhc2UgXCJ0cnlcIjpcbiAgICAgICAgICAgICAgICByZXR1cm4gbWFya2VyQXBwbHkobWFya2VyLCBwYXJzZVRyeVN0YXRlbWVudCgpKTtcbiAgICAgICAgICAgIGNhc2UgXCJ2YXJcIjpcbiAgICAgICAgICAgICAgICByZXR1cm4gbWFya2VyQXBwbHkobWFya2VyLCBwYXJzZVZhcmlhYmxlU3RhdGVtZW50KCkpO1xuICAgICAgICAgICAgY2FzZSBcIndoaWxlXCI6XG4gICAgICAgICAgICAgICAgcmV0dXJuIG1hcmtlckFwcGx5KG1hcmtlciwgcGFyc2VXaGlsZVN0YXRlbWVudCgpKTtcbiAgICAgICAgICAgIGNhc2UgXCJ3aXRoXCI6XG4gICAgICAgICAgICAgICAgcmV0dXJuIG1hcmtlckFwcGx5KG1hcmtlciwgcGFyc2VXaXRoU3RhdGVtZW50KCkpO1xuICAgICAgICAgICAgZGVmYXVsdDpcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgfVxuICAgIH1cblxuICAgIG1hcmtlciA9IG1hcmtlckNyZWF0ZSgpO1xuICAgIGV4cHIgPSBwYXJzZUV4cHJlc3Npb24oKTtcblxuICAgIC8vIDEyLjEyIExhYmVsbGVkIFN0YXRlbWVudHNcbiAgICBp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ICAgICAgaWYgKGFsbG93RGVmYXVsdFBhcmFtcyB8fCBhbGxvd0Rlc3RydWN0dXJpbmcpIHtcbiAgICAgICAgICAgIGxleCgpO1xuICAgICAgICAgICAgZGVmID0gcGFyc2VBc3NpZ25tZW50RXhwcmVzc2lvbigpO1xuICAgICAgICAgICAgKytvcHRpb25zLmRlZmF1bHRDb3VudDtcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIHRocm93VW5leHBlY3RlZChsb29rYWhlYWQpO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgaWYgKGRlZikge1xuICAgICAgICBvcHRpb25zLnBhcmFtcy5wdXNoKG1hcmtlckFwcGx5KFxuICAgICAgICAgICAgbWFya2VyLFxuICAgICAgICAgICAgYXN0Tm9kZUZhY3RvcnkuY3JlYXRlQXNzaWdubWVudFBhdHRlcm4oXG4gICAgICAgICAgICAgICAgcGFyYW0sXG4gICAgICAgICAgICAgICAgZGVmXG4gICAgICAgICAgICApXG4gICAgICAgICkpO1xuICAgIH0gZWxzZSB7XG4gICAgICAgIG9wdGlvbnMucGFyYW1zLnB1c2gocGFyYW0pO1xuICAgIH1cblxuICAgIHJldHVybiAhbWF0Y2goXCIpXCIpO1xufVxuXG5cbmZ1bmN0aW9uIHBhcnNlUGFyYW1zKGZpcnN0UmVzdHJpY3RlZCkge1xuICAgIHZhciBvcHRpb25zO1xuXG4gICAgb3B0aW9ucyA9IHtcbiAgICAgICAgcGFyYW1zOiBbXSxcbiAgICAgICAgZGVmYXVsdENvdW50OiAwLFxuICAgICAgICBmaXJzdFJlc3RyaWN0ZWQ6IGZpcnN0UmVzdHJpY3RlZFxuICAgIH07XG5cbiAgICBleHBlY3QoXCIoXCIpO1xuXG4gICAgaWYgKCFtYXRjaChcIilcIikpIHtcbiAgICAgICAgb3B0aW9ucy5wYXJhbVNldCA9IG5ldyBTdHJpbmdNYXAoKTtcbiAgICAgICAgd2hpbGUgKGluZGV4IDwgbGVuZ3RoKSB7XG4gICAgICAg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pIHtcblxuICAgICAgICAgICAgdG9rZW4gPSBsb29rYWhlYWQ7XG5cbiAgICAgICAgICAgIGlkID0gcGFyc2VWYXJpYWJsZUlkZW50aWZpZXIoKTtcblxuICAgICAgICAgICAgaWYgKHN0cmljdCkge1xuICAgICAgICAgICAgICAgIGlmIChzeW50YXguaXNSZXN0cmljdGVkV29yZCh0b2tlbi52YWx1ZSkpIHtcbiAgICAgICAgICAgICAgICAgICAgdGhyb3dFcnJvclRvbGVyYW50KHRva2VuLCBNZXNzYWdlcy5TdHJpY3RGdW5jdGlvbk5hbWUpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgaWYgKHN5bnRheC5pc1Jlc3RyaWN0ZWRXb3JkKHRva2VuLnZhbHVlKSkge1xuICAgICAgICAgICAgICAgICAgICBmaXJzdFJlc3RyaWN0ZWQgPSB0b2tlbjtcbiAgICAgICAgICAgICAgICAgICAgbWVzc2FnZSA9IE1lc3NhZ2VzLlN0cmljdEZ1bmN0aW9uTmFtZTtcbiAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKHN5bnRheC5pc1N0cmljdE1vZGVSZXNlcnZlZFdvcmQodG9rZW4udmFsdWUpKSB7XG4gICAgICAgICAgICAgICAgICAgIGZpcnN0UmVzdHJpY3RlZCA9IHRva2VuO1xuICAgICAgICAgICAgICAgICAgICBtZXNzYWdlID0gTWVzc2FnZXMuU3RyaWN0UmVzZXJ2ZWRXb3JkO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIHRtcCA9IHBhcnNlUGFyYW1zKGZpcnN0UmVzdHJpY3RlZCk7XG4gICAgICAgIGZpcnN0UmVzdHJpY3RlZCA9IHRtcC5maXJzdFJlc3RyaWN0ZWQ7XG4gICAgICAgIGlmICh0bXAubWVzc2FnZSkge1xuICAgICAgICAgICAgbWVzc2FnZSA9IHRtcC5tZXNzYWdlO1xu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GUgKCFtYXRjaChcIn1cIikpIHtcblxuICAgICAgICAvLyBleHRyYSBzZW1pY29sb25zIGFyZSBmaW5lXG4gICAgICAgIGlmIChtYXRjaChcIjtcIikpIHtcbiAgICAgICAgICAgIGxleCgpO1xuICAgICAgICAgICAgY29udGludWU7XG4gICAgICAgIH1cblxuICAgICAgICB0b2tlbiA9IGxvb2thaGVhZDtcbiAgICAgICAgaXNTdGF0aWMgPSBmYWxzZTtcbiAgICAgICAgZ2VuZXJhdG9yID0gbWF0Y2goXCIqXCIpO1xuICAgICAgICBjb21wdXRlZCA9IG1hdGNoKFwiW1wiKTtcbiAgICAgICAgbWFya2VyID0gbWFya2VyQ3JlYXRlKCk7XG5cbiAgICAgICAgaWYgKGdlbmVyYXRvcikge1xuICAgICAgICAgICAgaWYgKCFhbGxvd0dlbmVyYXRvcnMpIHtcbiAgICAgICAgICAgICAgICB0aHJvd1VuZXhwZWN0ZWQobG9va2FoZWFkKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGxleCgpO1xuICAgICAgICB9XG5cbiAgICAgICAga2V5ID0gcGFyc2VPYmplY3RQcm9wZXJ0eUtleSgpO1xuXG4gICAgICAgIC8vIHN0YXRpYyBnZW5lcmF0b3IgbWV0aG9kc1xuICAgICAgICBpZiAoa2V5Lm5hbWUgPT09IFwic3RhdGljXCIgJiYgbWF0Y2goXCIqXCIpKSB7XG4gICAgICAgICAgICBpZiAoIWFsbG93R2VuZXJhdG9ycykge1xuICAgICAgICAgICAgICAgIHRocm93VW5leHBlY3RlZChsb29rYWhlYWQpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgZ2VuZXJhdG9yID0gdHJ1ZTtcbiAgICAgICAgICAgIGxleCgpO1xuICAgICAgICB9XG5cbiAgICAgICAgaWYgKGtleS5uYW1lID09PSBcInN0YXRpY1wiICYmIGxvb2thaGVhZFByb3BlcnR5TmFtZSgpKSB7XG4gICAgICAgICAgICB0b2tlbiA9IGxvb2thaGVhZDtcbiAgICAgICAgICAgIGlzU3RhdGljID0gdHJ1ZTtcbiAgICAgICAgICAgIGNvbXB1dGVkID0gbWF0Y2goXCJbXCIpO1xuICAgICAgICAgICAga2V5ID0gcGFyc2VPYmplY3RQcm9wZXJ0eUtleSgpO1xuICAgICAgICB9XG5cbiAgICAgICAgaWYgKGdlbmVyYXRvcikge1xuICAgICAgICAgICAgbWV0aG9kID0gcGFyc2VHZW5lcmF0b3JQcm9wZXJ0eShrZXksIG1hcmtlcik7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICBtZXRob2QgPSB0cnlQYXJzZU1ldGhvZERlZmluaXRpb24odG9rZW4sIGtleSwgY29tcHV0ZWQsIG1hcmtlciwgZ2VuZXJhdG9yKTtcbiAgICAgICAgfVxuXG4gICAgICAgIGlmIChtZXRob2QpIHtcbiAgICAgICAgICAgIG1ldGhvZC5zdGF0aWMgPSBpc1N0YXRpYztcbiAgICAgICAgICAgIGlmIChtZXRob2Qua2luZCA9PT0gXCJpbml0XCIpIHtcbiAgICAgICAgICAgICAgICBtZXRob2Qua2luZCA9IFwibWV0aG9kXCI7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIGlmICghaXNTdGF0aWMpIHtcblxuICAgICAgICAgICAgICAgIGlmICghbWV0aG9kLmNvbXB1dGVkICYmIChtZXRob2Qua2V5Lm5hbWUgfHwgKG1ldGhvZC5rZXkudmFsdWUgJiYgbWV0aG9kLmtleS52YWx1ZS50b1N0cmluZygpKSkgPT09IFwiY29uc3RydWN0b3JcIikge1xuICAgICAgICAgICAgICAgICAgICBpZiAobWV0aG9kLmtpbmQgIT09IFwibWV0aG9kXCIgfHwgIW1ldGhvZC5tZXRob2QgfHwgbWV0aG9kLnZhbHVlLmdlbmVyYXRvcikge1xuICAgICAgICAgICAgICAgICAgICAgICAgdGhyb3dVbmV4cGVjdGVkKHRva2VuLCBNZXNzYWdlcy5Db25zdHJ1Y3RvclNwZWNpYWxNZXRob2QpO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIGlmIChoYXNDb25zdHJ1Y3Rvcikge1xuICAgICAgICAgICAgICAgICAgICAgICAgdGhyb3dVbmV4cGVjdGVkKHRva2VuLCBNZXNzYWdlcy5EdXBsaWNhdGVDb25zdHJ1Y3Rvcik7XG4gICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBoYXNDb25zdHJ1Y3RvciA9IHRydWU7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgbWV0aG9kLmtpbmQgPSBcImNvbnN0cnVjdG9yXCI7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICBpZiAoIW1ldGhvZC5jb21wdXRlZCAmJiAobWV0aG9kLmtleS5uYW1lIHx8IG1ldGhvZC5rZXkudmFsdWUudG9TdHJpbmcoKSkgPT09IFwicHJvdG90eXBlXCIpIHtcbiAgICAgICAgICAgICAgICAgICAgdGhyb3dVbmV4cGVjdGVkKHRva2VuLCBNZXNzYWdlcy5TdGF0aWNQcm90b3R5cGUpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIG1ldGhvZC50eXBlID0gYXN0Tm9kZVR5cGVzLk1ldGhvZERlZmluaXRpb247XG4gICAgICAgICAgICBkZWxldGUgbWV0aG9kLm1ldGhvZDtcbiAgICAgICAgICAgIGRlbGV0ZSBtZXRob2Quc2hvcnRoYW5kO1xuICAgICAgICAgICAgYm9keS5wdXNoKG1ldGhvZCk7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICB0aHJvd1VuZXhwZWN0ZWQobG9va2FoZWFkKTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIGxleCgpO1xuICAgIHJldHVybiBtYXJrZXJBcHBseSh0b3BNYXJrZXIsIGFzdE5vZGVGYWN0b3J5LmNyZWF0ZUNsYXNzQm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IGNhc2UgXCJleHBvcnRcIjpcbiAgICAgICAgICAgICAgICBpZiAoIWFsbG93TW9kdWxlcykge1xuICAgICAgICAgICAgICAgICAgICB0aHJvd0Vycm9yVG9sZXJhbnQoe30sIE1lc3NhZ2VzLklsbGVnYWxFeHBvcnREZWNsYXJhdGlvbik7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIHJldHVybiBwYXJzZUV4cG9ydERlY2xhcmF0aW9uKCk7XG4gICAgICAgICAgICBjYXNlIFwiaW1wb3J0XCI6XG4gICAgICAgICAgICAgICAgaWYgKCFhbGxvd01vZHVsZXMpIHtcbiAgICAgICAgICAgICAgICAgICAgdGhyb3dFcnJvclRvbGVyYW50KHt9LCBNZXNzYWdlcy5JbGxlZ2FsSW1wb3J0RGVjbGFyYXRpb24pO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICByZXR1cm4gcGFyc2VJbXBvcnREZWNsYXJhdGlvbigpO1xuICAgICAgICAgICAgY2FzZSBcImZ1bmN0aW9uXCI6XG4gICAgICAgICAgICAgICAgcmV0dXJuIHBhcnNlRnVuY3Rpb25EZWNsYXJhdGlvbigpO1xuICAgICAgICAgICAgY2FzZSBcImNsYXNzXCI6XG4gICAgICAgICAgICAgICAgaWYgKGFsbG93Q2xhc3Nlcykge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4gcGFyc2VDbGFzc0RlY2xhcmF0aW9uKCk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgY2FzZSBcImNvbnN0XCI6XG4gICAgICAgICAgICBjYXNlIFwibGV0XCI6XG4gICAgICAgICAgICAgICAgaWYgKGFsbG93QmxvY2tCaW5kaW5ncykge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4gcGFyc2VDb25zdExldERlY2xhcmF0aW9uKGxvb2thaGVhZC52YWx1ZSk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIC8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ICAgICBleHRyYS5lY21hRmVhdHVyZXMgPSBvcHRpb25zLmVjbWFGZWF0dXJlcztcbiAgICB9XG5cbiAgICB0cnkge1xuICAgICAgICBwZWVrKCk7XG4gICAgICAgIGlmIChsb29rYWhlYWQudHlwZSA9PT0gVG9rZW4uRU9GKSB7XG4gICAgICAgICAgICByZXR1cm4gZXh0cmEudG9rZW5zO1xuICAgICAgICB9XG5cbiAgICAgICAgbGV4KCk7XG4gICAgICAgIHdoaWxlIChsb29rYWhlYWQudHlwZSAhPT0gVG9rZW4uRU9GKSB7XG4gICAgICAgICAgICB0cnkge1xuICAgICAgICAgICAgICAgIGxleCgpO1xuICAgICAgICAgICAgfSBjYXRjaCAobGV4RXJyb3IpIHtcbiAgICAgICAgICAgICAgICBpZiAoZXh0cmEuZXJyb3JzKSB7XG4gICAgICAgICAgICAgICAgICAgIGV4dHJhLmVycm9ycy5wdXNoKGxleEVycm9yKTtcbiAgICAgICAgICAgICAgICAgICAgLy8gV2UgaGF2ZSB0byBicmVhayBvbiB0aGUgZmlyc3QgZXJyb3JcbiAgICAgICAgICAgICAgICAgICAgLy8gdG8gYXZvaWQgaW5maW5pdGUgbG9vcHMuXG4gICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIHRocm93IGxleEVycm9yO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIGZpbHRlclRva2VuTG9jYXRpb24oKTtcbiAgICAgICAgdG9rZW5zID0gZXh0cmEudG9rZW5zO1xuXG4gICAgICAgIGlmICh0eXBlb2YgZXh0cmEuY29tbWVudHMgIT09IFwidW5kZWZpbmVkXCIpIHtcbiAgICAgICAgICAgIHRva2Vucy5jb21tZW50cyA9IGV4dHJhLmNvbW1lbnRzO1xuICAgICAgICB9XG4gICAgICAgIGlmICh0eXBlb2YgZXh0cmEuZXJyb3JzICE9PSBcInV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AgICAgZXh0cmEuc291cmNlID0gdG9TdHJpbmcob3B0aW9ucy5zb3VyY2UpO1xuICAgICAgICB9XG5cbiAgICAgICAgaWYgKHR5cGVvZiBvcHRpb25zLnRva2VucyA9PT0gXCJib29sZWFuXCIgJiYgb3B0aW9ucy50b2tlbnMpIHtcbiAgICAgICAgICAgIGV4dHJhLnRva2VucyA9IFtdO1xuICAgICAgICB9XG4gICAgICAgIGlmICh0eXBlb2Ygb3B0aW9ucy5jb21tZW50ID09PSBcImJvb2xlYW5cIiAmJiBvcHRpb25zLmNvbW1lbnQpIHtcbiAgICAgICAgICAgIGV4dHJhLmNvbW1lbnRzID0gW107XG4gICAgICAgIH1cbiAgICAgICAgaWYgKHR5cGVvZiBvcHRpb25zLnRvbGVyYW50ID09PSBcImJvb2xlYW5cIiAmJiBvcHRpb25zLnRvbGVyYW50KSB7XG4gICAgICAgICAgICBleHRyYS5lcnJvcnMgPSBbXTtcbiAgICAgICAgfVxuICAgICAgICBpZiAoZXh0cmEuYXR0YWNoQ29tbWVudCkge1xuICAgICAgICAgICAgZXh0cmEucmFuZ2UgPSB0cnVlO1xuICAgICAgICAgICAgZXh0cmEuY29tbWVudHMgPSBbXTtcbiAgICAgICAgICAgIGNvbW1lbnRBdHRhY2htZW50LnJlc2V0KCk7XG4gICAgICAgIH1cblxuICAgICAgICBpZiAob3B0aW9ucy5zb3VyY2VUeXBlID09PSBcIm1vZHVsZVwiKSB7XG4gICAgICAgICAgICBleHRyYS5lY21hRmVhdHVyZXMgPSB7XG4gICAgICAgICAgICAgICAgYXJyb3dGdW5jdGlvbnM6IHRydWUsXG4gICAgICAgICAgICAgICAgYmxvY2tCaW5kaW5nczogdHJ1ZSxcbiAgICAgICAgICAgICAgICByZWdleFVGbGFnOiB0cnVlLFxuICAgICAgICAgICAgICAgIHJlZ2V4WUZsYWc6IHRydWUsXG4gICAgICAgICAgICAgICAgdGVtcGxhdGVTdHJpbmdzOiB0cnVlLFxuICAgICAgICAgICAgICAgIGJpbmFyeUxpdGVyYWxzOiB0cnVlLFxuICAgICAgICAgICAgICAgIG9jdGFsTGl0ZXJhbHM6IHRydWUsXG4gICAgICAgICAgICAgICAgdW5pY29kZUNvZGVQb2ludEVzY2FwZXM6IHRydWUsXG4gICAgICAgICAgICAgICAgc3VwZXJJbkZ1bmN0aW9uczogdHJ1ZSxcbiAgICAgICAgICAgICAgICBkZWZhdWx0UGFyYW1zOiB0cnVlLFxuICAgICAgICAgICAgICAgIHJlc3RQYXJhbXM6IHRydWUsXG4gICAgICAgICAgICAgICAgZm9yT2Y6IHRydWUsXG4gICAgICAgICAgICAgICAgb2JqZWN0TGl0ZXJhbENvbXB1dGVkUHJvcGVydGllczogdHJ1ZSxcbiAgICAgICAgICAgICAgICBvYmplY3RMaXRlcmFsU2hvcnRoYW5kTWV0aG9kczogdHJ1ZSxcbiAgICAgICAgICAgICAgICBvYmplY3RMaXRlcmFsU2hvcnRoYW5kUHJvcGVydGllczogdHJ1ZSxcbiAgICAgICAgICAgICAgICBvYmplY3RMaXRlcmFsRHVwbGljYXRlUHJvcGVydGllczogdHJ1ZSxcbiAgICAgICAgICAgICAgICBnZW5lcmF0b3JzOiB0cnVlLFxuICAgICAgICAgICAgICAgIGRlc3RydWN0dXJpbmc6IHRydWUsXG4gICAgICAgICAgICAgICAgY2xhc3NlczogdHJ1ZSxcbiAgICAgICAgICAgICAgICBtb2R1bGVzOiB0cnVlXG4gICAgICAgICAgICB9O1xuICAgICAgICB9XG5cbiAgICAgICAgLy8gYXBwbHkgcGFyc2luZyBmbGFncyBhZnRlciBzb3VyY2VUeXBlIHRvIGFsbG93IG92ZXJyaWRpbmdcbiAgICAgICAgaWYgKG9wdGlvbnMuZWNtYUZlYXR1cmVzICYmIHR5cGVvZiBvcHRpb25zLmVjbWFGZWF0dXJlcyA9PT0gXCJvYmplY3RcIikge1xuXG4gICAgICAgICAgICAvLyBpZiBpdCdzIGEgbW9kdWxlLCBhdWdtZW50IHRoZSBlY21hRmVhdHVyZXNcbiAgICAgICAgICAgIGlmIChvcHRpb25zLnNvdXJjZVR5cGUgPT09IFwibW9kdWxlXCIpIHtcbiAgICAgICAgICAgICAgICBPYmplY3Qua2V5cyhvcHRpb25zLmVjbWFGZWF0dXJlcykuZm9yRWFjaChmdW5jdGlvbihrZXkpIHtcbiAgICAgICAgICAgICAgICAgICAgZXh0cmEuZWNtYUZlYXR1cmVzW2tleV0gPSBvcHRpb25zLmVjbWFGZWF0dXJlc1trZXldO1xuICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICBleHRyYS5lY21hRmVhdHVyZXMgPSBvcHRpb25zLmVjbWFGZWF0dXJlcztcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgfVxuXG4gICAgdHJ5IHtcbiAgICAgICAgcHJvZ3JhbSA9IHBhcnNlUHJvZ3JhbSgpO1xuICAgICAgICBpZiAodHlwZW9mIGV4dHJhLmNvbW1lbnRzICE9PSBcInVuZGVmaW5lZFwiKSB7XG4gICAgICAgICAgICBwcm9ncmFtLmNvbW1lbnRzID0gZXh0cmEuY29tbWVudHM7XG4gICAgICAgIH1cbiAgICAgICAgaWYgKHR5cGVvZiBleHRyYS50b2tlbnMgIT09IFwidW5kZWZpbmVkXCIpIHtcbiAgICAgICAgICAgIGZpbHRlclRva2VuTG9jYXRpb24oKTtcbiAgICAgICAgICAgIHByb2dyYW0udG9rZW5zID0gZXh0cmEudG9rZW5zO1xuICAgICAgICB9XG4gICAgICAgIGlmICh0eXBlb2YgZXh0cmEuZXJyb3JzICE9PSBcInVuZGVmaW5lZFwiKSB7XG4gICAgICAgICAgICBwcm9ncmFtLmVycm9ycyA9IGV4dHJhLmVycm9ycztcbiAgICAgICAgfVxuICAgIH0gY2F0Y2ggKGUpIHtcbiAgICAgICAgdGhyb3cgZTtcbiAgICB9IGZpbmFsbHkge1xuICAgICAgICBleHRyYSA9IHt9O1xuICAgIH1cblxuICAgIHJldHVybi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AgICAgICAgYm9keTogYm9keVxuICAgICAgICB9O1xuICAgIH0sXG5cbiAgICAvKipcbiAgICAgKiBDcmVhdGVzIGFuIEFTVE5vZGUgcmVwcmVzZW50YXRpb24gb2YgYSBjbGFzcyBib2R5LlxuICAgICAqIEBwYXJhbSB7QVNUTm9kZX0gYm9keSBUaGUgbm9kZSByZXByZXNlbnRpbmcgdGhlIGJvZHkgb2YgdGhlIGNsYXNzLlxuICAgICAqIEByZXR1cm5zIHtBU1ROb2RlfSBBbiBBU1ROb2RlIHJlcHJlc2VudGluZyB0aGUgY2xhc3MgYm9keS5cbiAgICAgKi9cbiAgICBjcmVhdGVDbGFzc0JvZHk6IGZ1bmN0aW9uKGJvZHkpIHtcbiAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgIHR5cGU6IGFzdE5vZGVUeXBlcy5DbGFzc0JvZHksXG4gICAgICAgICAgICBib2R5OiBib2R5XG4gICAgICAgIH07XG4gICAgfSxcblxuICAgIGNyZWF0ZUNsYXNzRXhwcmVzc2lvbjogZnVuY3Rpb24oaWQsIHN1cGVyQ2xhc3MsIGJvZHkpIHtcbiAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgIHR5cGU6IGFzdE5vZGVUeXBlcy5DbGFzc0V4cHJlc3Npb24sXG4gICAgICAgICAgICBpZDogaWQsXG4gICAgICAgICAgICBzdXBlckNsYXNzOiBzdXBlckNsYXNzLFxuICAgICAgICAgICAgYm9keTogYm9keVxuICAgICAgICB9O1xuICAgIH0sXG5cbiAgICBjcmVhdGVDbGFzc0RlY2xhcmF0aW9uOiBmdW5jdGlvbihpZCwgc3VwZXJDbGFzcywgYm9keSkge1xuICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgdHlwZTogYXN0Tm9kZVR5cGVzLkNsYXNzRGVjbGFyYXRpb24sXG4gICAgICAgICAgICBpZDogaWQsXG4gICAgICAgICAgICBzdXBlckNsYXNzOiBzdXBlckNsYXNzLFxuICAgICAgICAgICAgYm9keTogY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dXRlZCkge1xuICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgdHlwZTogYXN0Tm9kZVR5cGVzLlByb3BlcnR5LFxuICAgICAgICAgICAga2V5OiBrZXksXG4gICAgICAgICAgICB2YWx1ZTogdmFsdWUsXG4gICAgICAgICAgICBraW5kOiBraW5kLFxuICAgICAgICAgICAgbWV0aG9kOiBtZXRob2QsXG4gICAgICAgICAgICBzaG9ydGhhbmQ6IHNob3J0aGFuZCxcbiAgICAgICAgICAgIGNvbXB1dGVkOiBjb21wdXRlZFxuICAgICAgICB9O1xuICAgIH0sXG5cbiAgICAvKipcbiAgICAgKiBDcmVhdGUgYW4gQVNUTm9kZSByZXByZXNlbnRhdGlvbiBvZiBhIHJlc3QgZWxlbWVudFxuICAgICAqIEBwYXJhbSB7QVNUTm9kZX0gYXJndW1lbnQgVGhlIHJlc3QgYXJndW1lbnRcbiAgICAgKiBAcmV0dXJucyB7QVNUTm9kZX0gQW4gQVNUTm9kZSByZXByZXNlbnRpbmcgYSByZXN0IGVsZW1lbnRcbiAgICAgKi9cbiAgICBjcmVhdGVSZXN0RWxlbWVudDogZnVuY3Rpb24gKGFyZ3VtZW50KSB7XG4gICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICB0eXBlOiBhc3ROb2RlVHlwZXMuUmVzdEVsZW1lbnQsXG4gICAgICAgICAgICBhcmd1bWVudDogYXJndW1lbnRcbiAgICAgICAgfTtcbiAgICB9LFxuXG4gICAgLyoqXG4gICAgICogQ3JlYXRlIGFuIEFTVE5vZGUgcmVwcmVzZW50YXRpb24gb2YgYSByZXR1cm4gc3RhdGVtZW50XG4gICAgICogQHBhcmFtIHs/QVNUTm9kZX0gYXJndW1lbnQgVGhlIHJldHVybiBhcmd1bWVudCwgbnVsbCBpZiBubyBhcmd1bWVudCBpcyBwcm92aWRlZFxuICAgICAqIEByZXR1cm5zIHtBU1ROb2RlfSBBbiBBU1ROb2RlIHJlcHJlc2VudGluZyBhIHJldHVybiBzdGF0ZW1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MgcmV0dXJuICh3aXRob3V0IGEgdmFsdWUpIGFuZFxuICAgICAgICAgICAgICAgICAqIGRlYnVnZ2VyLCBhbGwgY29tbWVudHMgd2lsbCBlbmQgdXAgYXMgbGVhZGluZ0NvbW1lbnRzIGFuZFxuICAgICAgICAgICAgICAgICAqIHdpbGwgb3RoZXJ3aXNlIGJlIGVsaW1pbmF0ZWQuIFRoaXMgZXh0cmEgc3RlcCBydW5zIHdoZW4gdGhlXG4gICAgICAgICAgICAgICAgICogYm90dG9tUmlnaHRTdGFjayBpcyBlbXB0eSBhbmQgdGhlcmUgYXJlIGNvbW1lbnRzIGxlZnRcbiAgICAgICAgICAgICAgICAgKiBpbiBsZWFkaW5nQ29tbWVudHMuXG4gICAgICAgICAgICAgICAgICpcbiAgICAgICAgICAgICAgICAgKiBUaGlzIGxvb3AgZmlndXJlcyBvdXQgdGhlIHN0b3BwaW5nIHBvaW50IGJldHdlZW4gdGhlIGFjdHVhbFxuICAgICAgICAgICAgICAgICAqIGxlYWRpbmcgYW5kIHRyYWlsaW5nIGNvbW1lbnRzIGJ5IGZpbmRpbmcgdGhlIGxvY2F0aW9uIG9mIHRoZVxuICAgICAgICAgICAgICAgICAqIGZpcnN0IGNvbW1lbnQgdGhhdCBjb21lcyBhZnRlciB0aGUgZ2l2ZW4gbm9kZS5cbiAgICAgICAgICAgICAgICAgKi9cbiAgICAgICAgICAgICAgICBmb3IgKGkgPSAwOyBpIDwgZXh0cmEubGVhZGluZ0NvbW1lbnRzLmxlbmd0aDsgaSsrKSB7XG4gICAgICAgICAgICAgICAgICAgIGlmIChleHRyYS5sZWFkaW5nQ29tbWVudHNbaV0ucmFuZ2VbMV0gPiBub2RlLnJhbmdlWzBdKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIC8qXG4gICAgICAgICAgICAgICAgICogU3BsaXQgdGhlIGFycmF5IGJhc2VkIG9uIHRoZSBsb2NhdGlvbiBvZiB0aGUgZmlyc3QgY29tbWVudFxuICAgICAgICAgICAgICAgICAqIHRoYXQgY29tZXMgYWZ0ZXIgdGhlIG5vZGUuIEtlZXAgaW4gbWluZCB0aGF0IHRoaXMgY291bGRcbiAgICAgICAgICAgICAgICAgKiByZXN1bHQgaW4gYW4gZW1wdHkgYXJyYXksIGFuZCBpZiBzbywgdGhlIGFycmF5IG11c3QgYmVcbiAgICAgICAgICAgICAgICAgKiBkZWxldGVkLlxuICAgICAgICAgICAgICAgICAqL1xuICAgICAgICAgICAgICAgIG5vZGUubGVhZGluZ0NvbW1lbnRzID0gZXh0cmEubGVhZGluZ0NvbW1lbnRzLnNsaWNlKDAsIGkpO1xuICAgICAgICAgICAgICAgIGlmIChub2RlLmxlYWRpbmdDb21tZW50cy5sZW5ndGggPT09IDApIHtcbiAgICAgICAgICAgICAgICAgICAgZGVsZXRlIG5vZGUubGVhZGluZ0NvbW1lbnRzO1xuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIC8qXG4gICAgICAgICAgICAgICAgICogU2ltaWxhcmx5LCB0cmFpbGluZyBjb21tZW50cyBhcmUgYXR0YWNoZWQgbGF0ZXIuIFRoZSB2YXJpYWJsZVxuICAgICAgICAgICAgICAgICAqIG11c3QgYmUgcmVzZXQgdG8gbnVsbCBpZiB0aGVyZSBhcmUgbm8gdHJhaWxpbmcgY29tbWVudHMuXG4gICAgICAgICAgICAgICAgICovXG4gICAgICAgICAgICAgICAgdHJhaWxpbmdDb21tZW50cyA9IGV4dHJhLmxlYWRpbmdDb21tZW50cy5zbGljZShpKTtcbiAgICAgICAgICAgICAgICBpZiAodHJhaWxpbmdDb21tZW50cy5sZW5ndGggPT09IDApIHtcbiAgICAgICAgICAgICAgICAgICAgdHJhaWxpbmdDb21tZW50cyA9IG51bGw7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICA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G4gICAgaXNJZGVudGlmaWVyU3RhcnQ6IGZ1bmN0aW9uKGNoKSB7XG4gICAgICAgIHJldHVybiAoY2ggPT09IDB4MjQpIHx8IChjaCA9PT0gMHg1RikgfHwgIC8vICQgKGRvbGxhcikgYW5kIF8gKHVuZGVyc2NvcmUpXG4gICAgICAgICAgICAoY2ggPj0gMHg0MSAmJiBjaCA8PSAweDVBKSB8fCAgICAgICAgIC8vIEEuLlpcbiAgICAgICAgICAgIChjaCA+PSAweDYxICYmIGNoIDw9IDB4N0EpIHx8ICAgICAgICAgLy8gYS4uelxuICAgICAgICAgICAgKGNoID09PSAweDVDKSB8fCAgICAgICAgICAgICAgICAgICAgICAvLyBcXCAoYmFja3NsYXNoKVxuICAgICAgICAgICAgKChjaCA+PSAweDgwKSAmJiBSZWdleC5Ob25Bc2NpaUlkZW50aWZpZXJTdGFydC50ZXN0KFN0cmluZy5mcm9tQ2hhckNvZGUoY2gpKSk7XG4gICAgfSxcblxuICAgIGlzSWRlbnRpZmllclBhcnQ6IGZ1bmN0aW9uKGNoKSB7XG4gICAgICAgIHJldHVybiAoY2ggPT09IDB4MjQpIHx8IChjaCA9PT0gMHg1RikgfHwgIC8vICQgKGRvbGxhcikgYW5kIF8gKHVuZGVyc2NvcmUpXG4gICAgICAgICAgICAoY2ggPj0gMHg0MSAmJiBjaCA8PSAweDVBKSB8fCAgICAgICAgIC8vIEEuLlpcbiAgICAgICAgICAgIChjaCA+PSAweDYxICYmIGNoIDw9IDB4N0EpIHx8ICAgICAgICAgLy8gYS4uelxuICAgICAgICAgICAgKGNoID49IDB4MzAgJiYgY2ggPD0gMHgzOSkgfHwgICAgICAgICAvLyAwLi45XG4gICAgICAgICAgICAoY2ggPT09IDB4NUMpIHx8ICAgICAgICAgICAgICAgICAgICAgIC8vIFxcIChiYWNrc2xhc2gpXG4gICAgICAgICAgICAoKGNoID49IDB4ODApICYmIFJlZ2V4Lk5vbkFzY2lpSWRlbnRpZmllclBhcnQudGVzdChTdHJpbmcuZnJvbUNoYXJDb2RlKGNoKSkpO1xuICAgIH0sXG5cbiAgICAvLyA3LjYuMS4yIEZ1dHVyZSBSZXNlcnZlZCBXb3Jkc1xuXG4gICAgaXNGdXR1cmVSZXNlcnZlZFdvcmQ6IGZ1bmN0aW9uKGlkKSB7XG4gICAgICAgIHN3aXRjaCAoaWQpIHtcbiAgICAgICAgICAgIGNhc2UgXCJjbGFzc1wiOlxuICAgICAgICAgICAgY2FzZSBcImVudW1cIjpcbiAgICAgICAgICAgIGNhc2UgXCJleHBvcnRcIjpcbiAgICAgICAgICAgIGNhc2UgXCJleHRlbmRzXCI6XG4gICAgICAgICAgICBjYXNlIFwiaW1wb3J0XCI6XG4gICAgICAgICAgICBjYXNlIFwic3VwZXJcIjpcbiAgICAgICAgICAgICAgICByZXR1cm4gdHJ1ZTtcbiAgICAgICAgICAgIGRlZmF1bHQ6XG4gICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlO1xuICAgICAgICB9XG4gICAgfSxcblxuICAgIGlzU3RyaWN0TW9kZVJlc2VydmVkV29yZDogZnVuY3Rpb24oaWQpIHtcbiAgICAgICAgc3dpdGNoIChpZCkge1xuICAgICAgICAgICAgY2FzZSBcImltcGxlbWVudHNcIjpcbiAgICAgICAgICAgIGNhc2UgXCJpbnRlcmZhY2VcIjpcbiAgICAgICAgICAgIGNhc2UgXCJwYWNrYWdlXCI6XG4gICAgICAgICAgICBjYXNlIFwicHJpdmF0ZVwiOlxuICAgICAgICAgICAgY2FzZSBcInByb3RlY3RlZFwiOlxuICAgICAgICAgICAgY2FzZSBcInB1YmxpY1wiOlxuICAgICAgICAgICAgY2FzZSBcInN0YXRpY1wiOlxuICAgICAgICAgICAgY2FzZSBcInlpZWxkXCI6XG4gICAgICAgICAgICBjYXNlIFwibGV0XCI6XG4gICAgICAgICAgICAgICAgcmV0dXJuIHRydWU7XG4gICAgICAgICAgICBkZWZhdWx0OlxuICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTtcbiAgIC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QgPT09IFwidGhpc1wiKSB8fCAoaWQgPT09IFwiZWxzZVwiKSB8fCAoaWQgPT09IFwiY2FzZVwiKSB8fFxuICAgICAgICAgICAgICAgICAgICAoaWQgPT09IFwidm9pZFwiKSB8fCAoaWQgPT09IFwid2l0aFwiKSB8fCAoaWQgPT09IFwiZW51bVwiKTtcbiAgICAgICAgICAgIGNhc2UgNTpcbiAgICAgICAgICAgICAgICByZXR1cm4gKGlkID09PSBcIndoaWxlXCIpIHx8IChpZCA9PT0gXCJicmVha1wiKSB8fCAoaWQgPT09IFwiY2F0Y2hcIikgfHxcbiAgICAgICAgICAgICAgICAgICAgKGlkID09PSBcInRocm93XCIpIHx8IChpZCA9PT0gXCJjb25zdFwiKSB8fCAoIWVjbWFGZWF0dXJlcy5nZW5lcmF0b3JzICYmIGlkID09PSBcInlpZWxkXCIpIHx8XG4gICAgICAgICAgICAgICAgICAgIChpZCA9PT0gXCJjbGFzc1wiKSB8fCAoaWQgPT09IFwic3VwZXJcIik7XG4gICAgICAgICAgICBjYXNlIDY6XG4gICAgICAgICAgICAgICAgcmV0dXJuIChpZCA9PT0gXCJyZXR1cm5cIikgfHwgKGlkID09PSBcInR5cGVvZlwiKSB8fCAoaWQgPT09IFwiZGVsZXRlXCIpIHx8XG4gICAgICAgICAgICAgICAgICAgIChpZCA9PT0gXCJzd2l0Y2hcIikgfHwgKGlkID09PSBcImV4cG9ydFwiKSB8fCAoaWQgPT09IFwiaW1wb3J0XCIpO1xuICAgICAgICAgICAgY2FzZSA3OlxuICAgICAgICAgICAgICAgIHJldHVybiAoaWQgPT09IFwiZGVmYXVsdFwiKSB8fCAoaWQgPT09IFwiZmluYWxseVwiKSB8fCAoaWQgPT09IFwiZXh0ZW5kc1wiKTtcbiAgICAgICAgICAgIGNhc2UgODpcbiAgICAgICAgICAgICAgICByZXR1cm4gKGlkID09PSBcImZ1bmN0aW9uXCIpIHx8IChpZCA9PT0gXCJjb250aW51ZVwiKSB8fCAoaWQgPT09IFwiZGV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BTS0lQLFxuICAgICAgICBSRU1PVkU7XG5cbiAgICBmdW5jdGlvbiBpZ25vcmVKU0hpbnRFcnJvcigpIHsgfVxuXG4gICAgaXNBcnJheSA9IEFycmF5LmlzQXJyYXk7XG4gICAgaWYgKCFpc0FycmF5KSB7XG4gICAgICAgIGlzQXJyYXkgPSBmdW5jdGlvbiBpc0FycmF5KGFycmF5KSB7XG4gICAgICAgICAgICByZXR1cm4gT2JqZWN0LnByb3RvdHlwZS50b1N0cmluZy5jYWxsKGFycmF5KSA9PT0gJ1tvYmplY3QgQXJyYXldJztcbiAgICAgICAgfTtcbiAgICB9XG5cbiAgICBmdW5jdGlvbiBkZWVwQ29weShvYmopIHtcbiAgICAgICAgdmFyIHJldCA9IHt9LCBrZXksIHZhbDtcbiAgICAgICAgZm9yIChrZXkgaW4gb2JqKSB7XG4gICAgICAgICAgICBpZiAob2JqLmhhc093blByb3BlcnR5KGtleSkpIHtcbiAgICAgICAgICAgICAgICB2YWwgPSBvYmpba2V5XTtcbiAgICAgICAgICAgICAgICBpZiAodHlwZW9mIHZhbCA9PT0gJ29iamVjdCcgJiYgdmFsICE9PSBudWxsKSB7XG4gICAgICAgICAgICAgICAgICAgIHJldFtrZXldID0gZGVlcENvcHkodmFsKTtcbiAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICByZXRba2V5XSA9IHZhbDtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIHJldDtcbiAgICB9XG5cbiAgICBmdW5jdGlvbiBzaGFsbG93Q29weShvYmopIHtcbiAgICAgICAgdmFyIHJldCA9IHt9LCBrZXk7XG4gICAgICAgIGZvciAoa2V5IGluIG9iaikge1xuICAgICAgICAgICAgaWYgKG9iai5oYXNPd25Qcm9wZXJ0eShrZXkpKSB7XG4gICAgICAgICAgICAgICAgcmV0W2tleV0gPSBvYmpba2V5XTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gcmV0O1xuICAgIH1cbiAgICBpZ25vcmVKU0hpbnRFcnJvcihzaGFsbG93Q29weSk7XG5cbiAgICAvLyBiYXNlZCBvbiBMTFZNIGxpYmMrKyB1cHBlcl9ib3VuZCAvIGxvd2VyX2JvdW5kXG4gICAgLy8gTUlUIExpY2Vuc2VcblxuICAgIGZ1bmN0aW9uIHVwcGVyQm91bmQoYXJyYXksIGZ1bmMpIHtcbiAgICAgICAgdmFyIGRpZmYsIGxlbiwgaSwgY3VycmVudDtcblxuICAgICAgICBsZW4gPSBhcnJheS5sZW5ndGg7XG4gICAgICAgIGkgPSAwO1xuXG4gICAgICAgIHdoaWxlIChsZW4pIHtcbiAgICAgICAgICAgIGRpZmYgPSBsZW4gPj4+IDE7XG4gICAgICAgICAgICBjdXJyZW50ID0gaSArIGRpZmY7XG4gICAgICAgICAgICBpZiAoZnVuYyhhcnJheVtjdXJyZW50XSkpIHtcbiAgICAgICAgICAgICAgICBsZW4gPSBkaWZmO1xuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICBpID0gY3VycmVudCArIDE7XG4gICAgICAgICAgICAgICAgbGVuIC09IGRpZmYgKyAxO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIHJldHVybiBpO1xuICAgIH1cblxuICAgIGZ1bmN0aW9uIGxvd2VyQm91bmQoYXJyYXksIGZ1bmMpIHtcbiAgICAgICAgdmFyIGRpZmYsIGxlbiwgaSwgY3VycmVudDtcblxuICAgICAgICBsZW4gPSBhcnJheS5sZW5ndGg7XG4gICAgICAgIGkgPSAwO1xuXG4gICAgICAgIHdoaWxlIChsZW4pIHtcbiAgICAgICAgICAgIGRpZmYgPSBsZW4gPj4+IDE7XG4gICAgICAgICAgICBjdXJyZW50ID0gaSArIGRpZmY7XG4gICAgICAgICAgICBpZiAoZnVuYyhhcnJheVtjdXJyZW50XSkpIHtcbiAgICAgICAgICAgICAgICBpID0gY3VycmVudCArIDE7XG4gICAgICAgICAgICAgICAgbGVuIC09IGRpZmYgKyAxO1xuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICBsZW4gPSBkaWZmO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIHJldHVybiBpO1xuICAgIH1cbiAgICBpZ25vcmVKU0hpbnRFcnJvcihsb3dlckJvdW5kKTtcblxuICAgIG9iamVjdENyZWF0ZSA9IE9iamVjdC5jcmVhdGUgfHwgKGZ1bmN0aW9uICgpIHtcbiAgICAgICAgZnVuY3Rpb24gRigpIHsgfVxuXG4gICAgICAgIHJldHVybiBmdW5jdGlvbiAobykge1xuICAgICAgICAgICAgRi5wcm90b3R5cGUgPSBvO1xuICAgICAgICAgICAgcmV0dXJuIG5ldyBGKCk7XG4gICAgICAgIH07XG4gICAgfSkoKTtcblxuICAgIG9iamVjdEtleXMgPSBPYmplY3Qua2V5cyB8fCBmdW5jdGlvbiAobykge1xuICAgICAgICB2YXIga2V5cyA9IFtdLCBrZXk7XG4gICAgICAgIGZvciAoa2V5IGluIG8pIHtcbiAgICAgICAgICAgIGtleXMucHVzaChrZXkpO1xuICAgICAgICB9XG4gICAgICAgIHJldHVybiBrZXlzO1xuICAgIH07XG5cbiAgICBmdW5jdGlvbiBleHRlbmQodG8sIGZyb20pIHtcbiAgICAgICAgdmFyIGtleXMgPSBvYmplY3RLZXlzKGZyb20pLCBrZXksIGksIGxlbjtcbiAgICAgICAgZm9yIChpID0gMCwgbGVuID0ga2V5cy5sZW5ndGg7IGkgPCBsZW47IGkgKz0gMSkge1xuICAgICAgICAgICAga2V5ID0ga2V5c1tpXTtcbiAgICAgICAgICAgIHRvW2tleV0gPSBmcm9tW2tleV07XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIHRvO1xuICAgIH1cblxuICAgIFN5bnRheCA9IHtcbiAgICAgICAgQXNzaWdubWVudEV4cHJlc3Npb246ICdBc3NpZ25tZW50RXhwcmVzc2lvbics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VudCcgXSxcbiAgICAgICAgUmV0dXJuU3RhdGVtZW50OiBbJ2FyZ3VtZW50J10sXG4gICAgICAgIFNlcXVlbmNlRXhwcmVzc2lvbjogWydleHByZXNzaW9ucyddLFxuICAgICAgICBTcHJlYWRFbGVtZW50OiBbJ2FyZ3VtZW50J10sXG4gICAgICAgIFN1cGVyRXhwcmVzc2lvbjogWydzdXBlciddLFxuICAgICAgICBTd2l0Y2hTdGF0ZW1lbnQ6IFsnZGlzY3JpbWluYW50JywgJ2Nhc2VzJ10sXG4gICAgICAgIFN3aXRjaENhc2U6IFsndGVzdCcsICdjb25zZXF1ZW50J10sXG4gICAgICAgIFRhZ2dlZFRlbXBsYXRlRXhwcmVzc2lvbjogWyd0YWcnLCAncXVhc2knXSxcbiAgICAgICAgVGVtcGxhdGVFbGVtZW50OiBbXSxcbiAgICAgICAgVGVtcGxhdGVMaXRlcmFsOiBbJ3F1YXNpcycsICdleHByZXNzaW9ucyddLFxuICAgICAgICBUaGlzRXhwcmVzc2lvbjogW10sXG4gICAgICAgIFRocm93U3RhdGVtZW50OiBbJ2FyZ3VtZW50J10sXG4gICAgICAgIFRyeVN0YXRlbWVudDogWydibG9jaycsICdoYW5kbGVyJywgJ2ZpbmFsaXplciddLFxuICAgICAgICBVbmFyeUV4cHJlc3Npb246IFsnYXJndW1lbnQnXSxcbiAgICAgICAgVXBkYXRlRXhwcmVzc2lvbjogWydhcmd1bWVudCddLFxuICAgICAgICBWYXJpYWJsZURlY2xhcmF0aW9uOiBbJ2RlY2xhcmF0aW9ucyddLFxuICAgICAgICBWYXJpYWJsZURlY2xhcmF0b3I6IFsnaWQnLCAnaW5pdCddLFxuICAgICAgICBXaGlsZVN0YXRlbWVudDogWyd0ZXN0JywgJ2JvZHknXSxcbiAgICAgICAgV2l0aFN0YXRlbWVudDogWydvYmplY3QnLCAnYm9keSddLFxuICAgICAgICBZaWVsZEV4cHJlc3Npb246IFsnYXJndW1lbnQnXVxuICAgIH07XG5cbiAgICAvLyB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gIC8vIEFQSTpcbiAgICAvLyByZXR1cm4gcHJvcGVydHkgcGF0aCBhcnJheSBmcm9tIHJvb3QgdG8gY3VycmVudCBub2RlXG4gICAgQ29udHJvbGxlci5wcm90b3R5cGUucGF0aCA9IGZ1bmN0aW9uIHBhdGgoKSB7XG4gICAgICAgIHZhciBpLCBpeiwgaiwganosIHJlc3VsdCwgZWxlbWVudDtcblxuICAgICAgICBmdW5jdGlvbiBhZGRUb1BhdGgocmVzdWx0LCBwYXRoKSB7XG4gICAgICAgICAgICBpZiAoaXNBcnJheShwYXRoKSkge1xuICAgICAgICAgICAgICAgIGZvciAoaiA9IDAsIGp6ID0gcGF0aC5sZW5ndGg7IGogPCBqejsgKytqKSB7XG4gICAgICAgICAgICAgICAgICAgIHJlc3VsdC5wdXNoKHBhdGhbal0pO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgcmVzdWx0LnB1c2gocGF0aCk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICAvLyByb290IG5vZGVcbiAgICAgICAgaWYgKCF0aGlzLl9fY3VycmVudC5wYXRoKSB7XG4gICAgICAgICAgICByZXR1cm4gbnVsbDtcbiAgICAgICAgfVxuXG4gICAgICAgIC8vIGZpcnN0IG5vZGUgaXMgc2VudGluZWwsIHNlY29uZCBub2RlIGlzIHJvb3QgZWxlbWVudFxuICAgICAgICByZXN1bHQgPSBbXTtcbiAgICAgICAgZm9yIChpID0gMiwgaXogPSB0aGlzLl9fbGVhdmVsaXN0Lmxlbmd0aDsgaSA8IGl6OyArK2kpIHtcbiAgICAgICAgICAgIGVsZW1lbnQgPSB0aGlzLl9fbGVhdmVsaXN0W2ldO1xuICAgICAgICAgICAgYWRkVG9QYXRoKHJlc3VsdCwgZWxlbWVudC5wYXRoKTtcbiAgICAgICAgfVxuICAgICAgICBhZGRUb1BhdGgocmVzdWx0LCB0aGlzLl9fY3VycmVudC5wYXRoKTt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guT2JqZWN0UGF0dGVybikgJiYgJ3Byb3BlcnRpZXMnID09PSBrZXk7XG4gICAgfVxuXG4gICAgQ29udHJvbGxlci5wcm90b3R5cGUudHJhdmVyc2UgPSBmdW5jdGlvbiB0cmF2ZXJzZShyb290LCB2aXNpdG9yKSB7XG4gICAgICAgIHZhciB3b3JrbGlzdCxcbiAgICAgICAgICAgIGxlYXZlbGlzdCxcbiAgICAgICAgICAgIGVsZW1lbnQsXG4gICAgICAgICAgICBub2RlLFxuICAgICAgICAgICAgbm9kZVR5cGUsXG4gICAgICAgICAgICByZXQsXG4gICAgICAgICAgICBrZXksXG4gICAgICAgICAgICBjdXJyZW50LFxuICAgICAgICAgICAgY3VycmVudDIsXG4gICAgICAgICAgICBjYW5kaWRhdGVzLFxuICAgICAgICAgICAgY2FuZGlkYXRlLFxuICAgICAgICAgICAgc2VudGluZWw7XG5cbiAgICAgICAgdGhpcy5fX2luaXRpYWxpemUocm9vdCwgdmlzaXRvcik7XG5cbiAgICAgICAgc2VudGluZWwgPSB7fTtcblxuICAgICAgICAvLyByZWZlcmVuY2VcbiAgICAgICAgd29ya2xpc3QgPSB0aGlzLl9fd29ya2xpc3Q7XG4gICAgICAgIGxlYXZlbGlzdCA9IHRoaXMuX19sZWF2ZWxpc3Q7XG5cbiAgICAgICAgLy8gaW5pdGlhbGl6ZVxuICAgICAgICB3b3JrbGlzdC5wdXNoKG5ldyBFbGVtZW50KHJvb3QsIG51bGwsIG51bGwsIG51bGwpKTtcbiAgICAgICAgbGVhdmVsaXN0LnB1c2gobmV3IEVsZW1lbnQobnVsbCwgbnVsbCwgbnVsbCwgbnVsbCkpO1xuXG4gICAgICAgIHdoaWxlICh3b3JrbGlzdC5sZW5ndGgpIHtcbiAgICAgICAgICAgIGVsZW1lbnQgPSB3b3JrbGlzdC5wb3AoKTtcblxuICAgICAgICAgICAgaWYgKGVsZW1lbnQgPT09IHNlbnRpbmVsKSB7XG4gICAgICAgICAgICAgICAgZWxlbWVudCA9IGxlYXZlbGlzdC5wb3AoKTtcblxuICAgICAgICAgICAgICAgIHJldCA9IHRoaXMuX19leGVjdXRlKHZpc2l0b3IubGVhdmUsIGVsZW1lbnQpO1xuXG4gICAgICAgICAgICAgICAgaWYgKHRoaXMuX19zdGF0ZSA9PT0gQlJFQUsgfHwgcmV0ID09PSBCUkVBSykge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm47XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIGNvbnRpbnVlO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICBpZiAoZWxlbWVudC5ub2RlKSB7XG5cbiAgICAgICAgICAgICAgICByZXQgPSB0aGlzLl9fZXhlY3V0ZSh2aXNpdG9yLmVudGVyLCBlbGVtZW50KTtcblxuICAgICAgICAgICAgICAgIGlmICh0aGlzLl9fc3RhdGUgPT09IEJSRUFLIHx8IHJldCA9PT0gQlJFQUspIHtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIHdvcmtsaXN0LnB1c2goc2VudGluZWwpO1xuICAgICAgICAgICAgICAgIGxlYXZlbGlzdC5wdXNoKGVsZW1lbnQpO1xuXG4gICAgICAgICAgICAgICAgaWYgKHRoaXMuX19zdGF0ZSA9PT0gU0tJUCB8fCByZXQgPT09IFNLSVApIHtcbiAgICAgICAgICAgICAgICAgICAgY29udGludWU7XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgbm9kZSA9IGVsZW1lbnQubm9kZTtcbiAgICAgICAgICAgICAgICBub2RlVHlwZSA9IGVsZW1lbnQud3JhcCB8fCBub2RlLnR5cGU7XG4gICAgICAgICAgICAgICAgY2FuZGlkYXRlcyA9IHRoaXMuX19rZXlzW25vZGVUeXBlXTtcbiAgICAgICAgICAgICAgICBpZiAoIWNhbmRpZGF0ZXMpIHtcbiAgICAgICAgICAgICAgICAgICAgaWYgKHRoaXMuX19mYWxsYmFjaykge1xuICAgICAgICAgICAgICAgICAgICAgICAgY2FuZGlkYXRlcyA9IG9iamVjdEtleXMobm9kZSk7XG4gICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICB0aHJvdyBuZXcgRXJyb3IoJ1Vua25vd24gbm9kZSB0eXBlICcgKyBub2RlVHlwZSArICcuJyk7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICBjdXJyZW50ID0gY2FuZGlkYXRlcy5sZW5ndGg7XG4gICAgICAgICAgICAgICAgd2hpbGUgKChjdXJyZW50IC09IDEpID49IDApIHtcbiAgICAgICAgICAgICAgICAgICAga2V5ID0gY2FuZGlkYXRlc1tjdXJyZW50XTtcbiAgICAgICAgICAgICAgICAgICAgY2FuZGlkYXRlID0gbm9kZVtrZXldO1xuICAgICAgICAgICAgICAgICAgICBpZiAoIWNhbmRpZGF0ZSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgY29udGludWU7XG4gICAgICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgICAgICBpZiAoaXNBcnJheShjYW5kaWRhdGUpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBjdXJyZW50MiA9IGNhbmRpZGF0ZS5sZW5ndGg7XG4gICAgICAgICAgICAgICAgICAgICAgICB3aGlsZSAoKGN1cnJlbnQyIC09IDEpID49IDApIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoIWNhbmRpZGF0ZVtjdXJyZW50Ml0pIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY29udGludWU7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChpc1Byb3BlcnR5KG5vZGVUeXBlLCBjYW5kaWRhdGVzW2N1cnJlbnRdKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBlbGVtZW50ID0gbmV3IEVsZW1lbnQoY2FuZGlkYXRlW2N1cnJlbnQyXSwgW2tleSwgY3VycmVudDJdLCAnUHJvcGVydHknLCBudWxsKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKGlzTm9kZShjYW5kaWRhdGVbY3VycmVudDJdKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBlbGVtZW50ID0gbmV3IEVsZW1lbnQoY2FuZGlkYXRlW2N1cnJlbnQyXSwgW2tleSwgY3VycmVudDJdLCBudWxsLCBudWxsKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb250aW51ZTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgd29ya2xpc3QucHVzaChlbGVtZW50KTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfSBlbHNlIGlmIChpc05vZGUoY2FuZGlkYXRlKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgd29ya2xpc3QucHVzaChuZXcgRWxlbWVudChjYW5kaWRhdGUsIGtleSwgbnVsbCwgbnVsbCkpO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfTtcblxuICAgIENvbnRyb2xsZXIucHJvdG90eXBlLnJlcGxhY2UgPSBmdW5jdGlvbiByZXBsYWNlKHJvb3QsIHZpc2l0b3IpIHtcbiAgICAgICAgZnVuY3Rpb24gcmVtb3ZlRWxlbShlbGVtZW50KSB7XG4gICAgICAgICAgICB2YXIgaSxcbiAgICAgICAgICAgICAgICBrZXksXG4gICAgICAgICAgICAgICAgbmV4dEVsZW0sXG4gICAgICAgICAgICAgICAgcGFyZW50O1xuXG4gICAgICAgICAgICBpZiAoZWxlbWVudC5yZWYucmVtb3ZlKCkpIHtcbiAgICAgICAgICAgICAgICAvLyBXaGVuIHRoZSByZWZlcmVuY2UgaXMgYW4gZWxlbWVudCBvZiBhbiBhcnJheS5cbiAgICAgICAgICAgICAgICBrZXkgPSBlbGVtZW50LnJlZi5rZXk7XG4gICAgICAgICAgICAgICAgcGFyZW50ID0gZWxlbWVudC5yZWYucGFyZW50O1xuXG4gICAgICAgICAgICAgICAgLy8gSWYgcmVtb3ZlZCBmcm9tIGFycmF5LCB0aGVuIGRlY3JlYXNlIGZvbGxvd2luZyBpdGVtcycga2V5cy5cbiAgICAgICAgICAgICAgICBpID0gd29ya2xpc3QubGVuZ3RoO1xuICAgICAgICAgICAgICAgIHdoaWxlIChpLS0pIHtcbiAgICAgICAgICAgICAgICAgICAgbmV4dEVsZW0gPSB3b3JrbGlzdFtpXTtcbiAgICAgICAgICAgICAgICAgICAgaWYgKG5leHRFbGVtLnJlZiAmJiBuZXh0RWxlbS5yZWYucGFyZW50ID09PSBwYXJlbnQpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmICAobmV4dEVsZW0ucmVmLmtleSA8IGtleSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgLS1uZXh0RWxlbS5yZWYua2V5O1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgdmFyIHdvcmtsaXN0LFxuICAgICAgICAgICAgbGVhdmVsaXN0LFxuICAgICAgICAgICAgbm9kZSxcbiAgICAgICAgICAgIG5vZGVUeXBlLFxuICAgICAgICAgICAgdGFyZ2V0LFxuICAgICAgICAgICAgZWxlbWVudCxcbiAgICAgICAgICAgIGN1cnJlbnQsXG4gICAgICAgICAgICBjdXJyZW50MixcbiAgICAgICAgICAgIGNhbmRpZGF0ZXMsXG4gICAgICAgICAgICBjYW5kaWRhdGUsXG4gICAgICAgICAgICBzZW50aW5lbCxcbiAgICAgICAgICAgIG91dGVyLFxuICAgICAgICAgICAga2V5O1xuXG4gICAgICAgIHRoaXMuX19pbml0aWFsaXplKHJvb3QsIHZpc2l0b3IpO1xuXG4gICAgICAgIHNlbnRpbmVsID0ge307XG5cbiAgICAgICAgLy8gcmVmZXJlbmNlXG4gICAgICAgIHdvcmtsaXN0ID0gdGhpcy5fX3dvcmtsaXN0O1xuICAgICAgICBsZWF2ZWxpc3QgPSB0aGlzLl9fbGVhdmVsaXN0O1xuXG4gICAgICAgIC8vIGluaXRpYWxpemVcbiAgICAgICAgb3V0ZXIgPSB7XG4gICAgICAgICAgICByb290OiByb290XG4gICAgICAgIH07XG4gICAgICAgIGVsZW1lbnQgPSBuZXcgRWxlbWVudChyb290LCBudWxsLCBudWxsLCBuZXcgUmVmZXJlbmNlKG91dGVyLCAncm9vdCcpKTtcbiAgICAgICAgd29ya2xpc3QucHVzaChlbGVtZW50KTtcbiAgICAgICAgbGVhdmVsaXN0LnB1c2goZWxlbWVudCk7XG5cbiAgICAgICAgd2hpbGUgKHdvcmtsaXN0Lmxlbmd0aCkge1xuICAgICAgICAgICAgZWxlbWVudCA9IHdvcmtsaXN0LnBvcCgpO1xuXG4gICAgICAgICAgICBpZiAoZWxlbWVudCA9PT0gc2VudGluZWwpIHtcbiAgICAgICAgICAgICAgICBlbGVtZW50ID0gbGVhdmVsaXN0LnBvcCgpO1xuXG4gICAgICAgICAgICAgICAgdGFyZ2V0ID0gdGhpcy5fX2V4ZWN1dGUodmlzaXRvci5sZWF2ZSwgZWxlbWVudCk7XG5cbiAgICAgICAgICAgICAgICAvLyBub2RlIG1heSBiZSByZXBsYWNlZCB3aXRoIG51bGwsXG4gICAgICAgICAgICAgICAgLy8gc28gZGlzdGluZ3Vpc2ggYmV0d2VlbiB1bmRlZmluZWQgYW5kIG51bGwgaW4gdGhpcyBwbGFjZVxuICAgICAgICAgICAgICAgIGlmICh0YXJnZXQgIT09IHVuZGVmaW5lZCAmJiB0YXJnZXQgIT09IEJSRUFLICYmIHRhcmdldCAhPT0gU0tJUCAmJiB0YXJnZXQgIT09IFJFTU9WRSkge1xuICAgICAgICAgICAgICAgICAgICAvLyByZXBsYWNlXG4gICAgICAgICAgICAgICAgICAgIGVsZW1lbnQucmVmLnJlcGxhY2UodGFyZ2V0KTtcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICBpZiAodGhpcy5fX3N0YXRlID09PSBSRU1PVkUgfHwgdGFyZ2V0ID09PSBSRU1PVkUpIHtcbiAgICAgICAgICAgICAgICAgICAgcmVtb3ZlRWxlbShlbGVtZW50KTtcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICBpZiAodGhpcy5fX3N0YXRlID09PSBCUkVBSyB8fCB0YXJnZXQgPT09IEJSRUFLKSB7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBvdXRlci5yb290O1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICBjb250aW51ZTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgdGFyZ2V0ID0gdGhpcy5fX2V4ZWN1dGUodmlzaXRvci5lbnRlciwgZWxlbWVudCk7XG5cbiAgICAgICAgICAgIC8vIG5vZGUgbWF5IGJlIHJlcGxhY2VkIHdpdGggbnVsbCxcbiAgICAgICAgICAgIC8vIHNvIGRpc3Rpbmd1aXNoIGJldHdlZW4gdW5kZWZpbmVkIGFuZCBudWxsIGluIHRoaXMgcGxhY2VcbiAgICAgICAgICAgIGlmICh0YXJnZXQgIT09IHVuZGVmaW5lZCAmJiB0YXJnZXQgIT09IEJSRUFLICYmIHRhcmdldCAhPT0gU0tJUCAmJiB0YXJnZXQgIT09IFJFTU9WRSkge1xuICAgICAgICAgICAgICAgIC8vIHJlcGxhY2VcbiAgICAgICAgICAgICAgICBlbGVtZW50LnJlZi5yZXBsYWNlKHRhcmdldCk7XG4gICAgICAgICAgICAgICAgZWxlbWVudC5ub2RlID0gdGFyZ2V0O1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICBpZiAodGhpcy5fX3N0YXRlID09PSBSRU1PVkUgfHwgdGFyZ2V0ID09PSBSRU1PVkUpIHtcbiAgICAgICAgICAgICAgICByZW1vdmVFbGVtKGVsZW1lbnQpO1xuICAgICAgICAgICAgICAgIGVsZW1lbnQubm9kZSA9IG51bGw7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIGlmICh0aGlzLl9fc3RhdGUgPT09IEJSRUFLIHx8IHRhcmdldCA9PT0gQlJFQUspIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gb3V0ZXIucm9vdDtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgLy8gbm9kZSBtYXkgYmUgbnVsbFxuICAgICAgICAgICAgbm9kZSA9IGVsZW1lbnQubm9kZTtcbiAgICAgICAgICAgIGlmICghbm9kZSkge1xuICAgICAgICAgICAgICAgIGNvbnRpbnVlO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICB3b3JrbGlzdC5wdXNoKHNlbnRpbmVsKTtcbiAgICAgICAgICAgIGxlYXZlbGlzdC5wdXNoKGVsZW1lbnQpO1xuXG4gICAgICAgICAgICBpZiAodGhpcy5fX3N0YXRlID09PSBTS0lQIHx8IHRhcmdldCA9PT0gU0tJUCkge1xuICAgICAgICAgICAgICAgIGNvbnRpbnVlO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICBub2RlVHlwZSA9IGVsZW1lbnQud3JhcCB8fCBub2RlLnR5cGU7XG4gICAgICAgICAgICBjYW5kaWRhdGVzID0gdGhpcy5fX2tleXNbbm9kZVR5cGVdO1xuICAgICAgICAgICAgaWYgKCFjYW5kaWRhdGVzKSB7XG4gICAgICAgICAgICAgICAgaWYgKHRoaXMuX19mYWxsYmFjaykge1xuICAgICAgICAgICAgICAgICAgICBjYW5kaWRhdGVzID0gb2JqZWN0S2V5cyhub2RlKTtcbiAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICB0aHJvdyBuZXcgRXJyb3IoJ1Vua25vd24gbm9kZSB0eXBlICcgKyBub2RlVHlwZSArICcuJyk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICBjdXJyZW50ID0gY2FuZGlkYXRlcy5sZW5ndGg7XG4gICAgICAgICAgICB3aGlsZSAoKGN1cnJlbnQgLT0gMSkgPj0gMCkge1xuICAgICAgICAgICAgICAgIGtleSA9IGNhbmRpZGF0ZXNbY3VycmVudF07XG4gICAgICAgICAgICAgICAgY2FuZGlkYXRlID0gbm9kZVtrZXldO1xuICAgICAgICAgICAgICAgIGlmICghY2FuZGlkYXRlKSB7XG4gICAgICAgICAgICAgICAgICAgIGNvbnRpbnVlO1xuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIGlmIChpc0FycmF5KGNhbmRpZGF0ZSkpIHtcbiAgICAgICAgICAgICAgICAgICAgY3VycmVudDIgPSBjYW5kaWRhdGUubGVuZ3RoO1xuICAgICAgICAgICAgICAgICAgICB3aGlsZSAoKGN1cnJlbnQyIC09IDEpID49IDApIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmICghY2FuZGlkYXRlW2N1cnJlbnQyXSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnRpbnVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGlzUHJvcGVydHkobm9kZVR5cGUsIGNhbmRpZGF0ZXNbY3VycmVudF0pKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZWxlbWVudCA9IG5ldyBFbGVtZW50KGNhbmRpZGF0ZVtjdXJyZW50Ml0sIFtrZXksIGN1cnJlbnQyXSwgJ1Byb3BlcnR5JywgbmV3IFJlZmVyZW5jZShjYW5kaWRhdGUsIGN1cnJlbnQyKSk7XG4gICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKGlzTm9kZShjYW5kaWRhdGVbY3VycmVudDJdKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGVsZW1lbnQgPSBuZXcgRWxlbWVudChjYW5kaWRhdGVbY3VycmVudDJdLCBba2V5LCBjdXJyZW50Ml0sIG51bGwsIG5ldyBSZWZlcmVuY2UoY2FuZGlkYXRlLCBjdXJyZW50MikpO1xuICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb250aW51ZTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIHdvcmtsaXN0LnB1c2goZWxlbWVudCk7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKGlzTm9kZShjYW5kaWRhdGUpKSB7XG4gICAgICAgICAgICAgICAgICAgIHdvcmtsaXN0LnB1c2gobmV3IEVsZW1lbnQoY2FuZGlkYXRlLCBrZXksIG51bGwsIG5ldyBSZWZlcmVuY2Uobm9kZSwga2V5KSkpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIHJldHVybiBvdXRlci5yb290O1xuICAgIH07XG5cbiAgICBmdW5jdGlvbiB0cmF2ZXJzZShyb290LCB2aXNpdG9yKSB7XG4gICAgICAgIHZhciBjb250cm9sbGVyID0gbmV3IENvbnRyb2xsZXIoKTtcbiAgICAgICAgcmV0dXJuIGNvbnRyb2xsZXIudHJhdmVyc2Uocm9vdCwgdmlzaXRvcik7XG4gICAgfVxuXG4gICAgZnVuY3Rpb24gcmVwbGFjZShyb290LCB2aXNpdG9yKSB7XG4gICAgICAgIHZhciBjb250cm9sbGVyID0gbmV3IENvbnRyb2xsZXIoKTtcbiAgICAgICAgcmV0dXJuIGNvbnRyb2xsZXIucmVwbGFjZShyb290LCB2aXNpdG9yKTtcbiAgICB9X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mb3JtYXRpb24nKTtcbiAgICAgICAgfVxuXG4gICAgICAgIC8vIHRva2VucyBhcnJheSBpcyBlbXB0eSwgd2UgYXR0YWNoIGNvbW1lbnRzIHRvIHRyZWUgYXMgJ2xlYWRpbmdDb21tZW50cydcbiAgICAgICAgaWYgKCF0b2tlbnMubGVuZ3RoKSB7XG4gICAgICAgICAgICBpZiAocHJvdmlkZWRDb21tZW50cy5sZW5ndGgpIHtcbiAgICAgICAgICAgICAgICBmb3IgKGkgPSAwLCBsZW4gPSBwcm92aWRlZENvbW1lbnRzLmxlbmd0aDsgaSA8IGxlbjsgaSArPSAxKSB7XG4gICAgICAgICAgICAgICAgICAgIGNvbW1lbnQgPSBkZWVwQ29weShwcm92aWRlZENvbW1lbnRzW2ldKTtcbiAgICAgICAgICAgICAgICAgICAgY29tbWVudC5leHRlbmRlZFJhbmdlID0gWzAsIHRyZWUucmFuZ2VbMF1dO1xuICAgICAgICAgICAgICAgICAgICBjb21tZW50cy5wdXNoKGNvbW1lbnQpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB0cmVlLmxlYWRpbmdDb21tZW50cyA9IGNvbW1lbnRzO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgcmV0dXJuIHRyZWU7XG4gICAgICAgIH1cblxuICAgICAgICBmb3IgKGkgPSAwLCBsZW4gPSBwcm92aWRlZENvbW1lbnRzLmxlbmd0aDsgaSA8IGxlbjsgaSArPSAxKSB7XG4gICAgICAgICAgICBjb21tZW50cy5wdXNoKGV4dGVuZENvbW1lbnRSYW5nZShkZWVwQ29weShwcm92aWRlZENvbW1lbnRzW2ldKSwgdG9rZW5zKSk7XG4gICAgICAgIH1cblxuICAgICAgICAvLyBUaGlzIGlzIGJhc2VkIG9uIEpvaG4gRnJlZW1hbidzIGltcGxlbWVudGF0aW9uLlxuICAgICAgICBjdXJzb3IgPSAwO1xuICAgICAgICB0cmF2ZXJzZSh0cmVlLCB7XG4gICAgICAgICAgICBlbnRlcjogZnVuY3Rpb24gKG5vZGUpIHtcbiAgICAgICAgICAgICAgICB2YXIgY29tbWVudDtcblxuICAgICAgICAgICAgICAgIHdoaWxlIChjdXJzb3IgPCBjb21tZW50cy5sZW5ndGgpIHtcbiAgICAgICAgICAgICAgICAgICAgY29tbWVudCA9IGNvbW1lbnRzW2N1cnNvcl07XG4gICAgICAgICAgICAgICAgICAgIGlmIChjb21tZW50LmV4dGVuZGVkUmFuZ2VbMV0gPiBub2RlLnJhbmdlWzBdKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgICAgIGlmIChjb21tZW50LmV4dGVuZGVkUmFuZ2VbMV0gPT09IG5vZGUucmFuZ2VbMF0pIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmICghbm9kZS5sZWFkaW5nQ29tbWVudHMpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBub2RlLmxlYWRpbmdDb21tZW50cyA9IFtdO1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgbm9kZS5sZWFkaW5nQ29tbWVudHMucHVzaChjb21tZW50KTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbW1lbnRzLnNwbGljZShjdXJzb3IsIDEpO1xuICAgICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAgICAgY3Vyc29yICs9IDE7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAvLyBhbHJlYWR5IG91dCBvZiBvd25lZCBub2RlXG4gICAgICAgICAgICAgICAgaWYgKGN1cnNvciA9PT0gY29tbWVudHMubGVuZ3RoKSB7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBWaXNpdG9yT3B0aW9uLkJyZWFrO1xuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIGlmIChjb21tZW50c1tjdXJzb3JdLmV4dGVuZGVkUmFuZ2VbMF0gPiBub2RlLnJhbmdlWzFdKSB7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBWaXNpdG9yT3B0aW9uLlNraXA7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9KTtcblxuICAgICAgICBjdXJzb3IgPSAwO1xuICAgICAgICB0cmF2ZXJzZSh0cmVlLCB7XG4gICAgICAgICAgICBsZWF2ZTogZnVuY3Rpb24gKG5vZGUpIHtcbiAgICAgICAgICAgICAgICB2YXIgY29tbWVudDtcblxuICAgICAgICAgICAgICAgIHdoaWxlIChjdXJzb3IgPCBjb21tZW50cy5sZW5ndGgpIHtcbiAgICAgICAgICAgICAgICAgICAgY29tbWVudCA9IGNvbW1lbnRzW2N1cnNvcl07XG4gICAgICAgICAgICAgICAgICAgIGlmIChub2RlLnJhbmdlWzFdIDwgY29tbWVudC5leHRlbmRlZFJhbmdlWzBdKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgICAgIGlmIChub2RlLnJhbmdlWzFdID09PSBjb21tZW50LmV4dGVuZGVkUmFuZ2VbMF0pIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmICghbm9kZS50cmFpbGluZ0NvbW1lbnRzKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbm9kZS50cmFpbGluZ0NvbW1lbnRzID0gW107XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICBub2RlLnRyYWlsaW5nQ29tbWVudHMucHVzaChjb21tZW50KTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbW1lbnRzLnNwbGljZShjdXJzb3IsIDEpO1xuICAgICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAgICAgY3Vyc29yICs9IDE7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAvLyBhbHJlYWR5IG91dCBvZiBvd25lZCBub2RlXG4gICAgICAgICAgICAgICAgaWYgKGN1cnNvciA9PT0gY29tbWVudHMubGVuZ3RoKSB7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBWaXNpdG9yT3B0aW9uLkJyZWFrO1xuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIGlmIChjb21tZW50c1tjdXJzb3JdLmV4dGVuZGVkUmFuZ2VbMF0gPiBub2RlLnJhbmdlWzFdKSB7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBWaXNpdG9yT3B0aW9uLlNraXA7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9KTtcblxuICAgICAgICByZXR1cm4gdHJlZTtcbiAgICB9XG5cbiAgICBleHBvcnRzLnZlcnNpb24gPSByZXF1aXJlKCcuL3BhY2thZ2UuanNvbicpLnZlcnNpb247XG4gICAgZXhwb3J0cy5TeW50YXggPSBTeW50YXg7XG4gICAgZXhwb3J0cy50cmF2ZXJzZSA9IHRyYXZlcnNlO1xuICAgIGV4cG9ydHMucmVwbGFjZSA9IHJlcGxhY2U7XG4gICAgZXhwb3J0cy5hdHRhY2hDb21tZW50cyA9IGF0dGFjaENvbW1lbnRzO1xuICAgIGV4cG9ydHMuVmlzaXRvcktleXMgPSBWaXNpdG9yS2V5cztcbiAgICBleHBvcnRzLlZpc2l0b3JPcHRpb24gPSBWaXNpdG9yT3B0aW9uO1xuICAgIGV4cG9ydHMuQ29udHJvbGxlciA9IENvbnRyb2xsZXI7XG4gICAgZXhwb3J0cy5jbG9uZUVudmlyb25tZW50ID0gZnVuY3Rpb24gKCkgeyByZXR1cm4gY2xvbmUoe30pOyB9O1xuXG4gICAgcmV0dXJuIGV4cG9ydHM7XG59KGV4cG9ydHMpKTtcbi8qIHZpbTogc2V0IHN3PTQgdH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spIHtcbiAgICAgICAgICAgIC8vIERlbGF5IGJ5IGRvaW5nIGEgc2V0VGltZW91dC4gc2V0SW1tZWRpYXRlIHdhcyB0cmllZCBpbnN0ZWFkLCBidXQgaW4gRmlyZWZveCA3IGl0IGdlbmVyYXRlZCBhXG4gICAgICAgICAgICAvLyBcInRvbyBtdWNoIHJlY3Vyc2lvblwiIGVycm9yLlxuICAgICAgICAgICAgc2V0VGltZW91dChwYXJ0aWFsbHlBcHBsaWVkKHJ1bklmUHJlc2VudCwgaGFuZGxlKSwgMCk7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICB2YXIgdGFzayA9IHRhc2tzQnlIYW5kbGVbaGFuZGxlXTtcbiAgICAgICAgICAgIGlmICh0YXNrKSB7XG4gICAgICAgICAgICAgICAgY3VycmVudGx5UnVubmluZ0FUYXNrID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICB0cnkge1xuICAgICAgICAgICAgICAgICAgICB0YXNrKCk7XG4gICAgICAgICAgICAgICAgfSBmaW5hbGx5IHtcbiAgICAgICAgICAgICAgICAgICAgY2xlYXJJbW1lZGlhdGUoaGFuZGxlKTtcbiAgICAgICAgICAgICAgICAgICAgY3VycmVudGx5UnVubmluZ0FUYXNrID0gZmFsc2U7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuXG4gICAgZnVuY3Rpb24gY2xlYXJJbW1lZGlhdGUoaGFuZGxlKSB7XG4gICAgICAgIGRlbGV0ZSB0YXNrc0J5SGFuZGxlW2hhbmRsZV07XG4gICAgfVxuXG4gICAgZnVuY3Rpb24gaW5zdGFsbE5leHRUaWNrSW1wbGVtZW50YXRpb24oKSB7XG4gICAgICAgIHNldEltbWVkaWF0ZSA9IGZ1bmN0aW9uKCkge1xuICAgICAgICAgICAgdmFyIGhhbmRsZSA9IGFkZEZyb21TZXRJbW1lZGlhdGVBcmd1bWVudHMoYXJndW1lbnRzKTtcbiAgICAgICAgICAgI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nR4dFxuICogQ29kZSBkaXN0cmlidXRlZCBieSBHb29nbGUgYXMgcGFydCBvZiB0aGUgcG9seW1lciBwcm9qZWN0IGlzIGFsc29cbiAqIHN1YmplY3QgdG8gYW4gYWRkaXRpb25hbCBJUCByaWdodHMgZ3JhbnQgZm91bmQgYXQgaHR0cDovL3BvbHltZXIuZ2l0aHViLmlvL1BBVEVOVFMudHh0XG4gKi9cbiAvKmpzbGludCBub2RlOiB0cnVlICovXG4ndXNlIHN0cmljdCc7XG5cbi8qKlxuICogU3RhdGljIGFuYWx5c2lzIGZvciBQb2x5bWVyLlxuICogQG5hbWVzcGFjZSBoeWRyb2x5c2lzXG4gKi9cbm1vZHVsZS5leHBvcnRzID0ge1xuICBBbmFseXplcjogICAgIHJlcXVpcmUoJy4vbGliL2FuYWx5emVyJyksXG4gIGRvY3M6ICAgICAgICAgcmVxdWlyZSgnLi9saWIvYXN0LXV0aWxzL2RvY3MnKSxcbiAgRlNSZXNvbHZlcjogICByZXF1aXJlKCcuL2xpYi9sb2FkZXIvZnMtcmVzb2x2ZXInKSxcbiAganNkb2M6ICAgICAgICByZXF1aXJlKCcuL2xpYi9hc3QtdXRpbHMvanNkb2MnKSxcbiAgTG9hZGVyOiAgICAgICByZXF1aXJlKCcuL2xpYi9sb2FkZXIvZmlsZS1sb2FkZXInKSxcbiAgTm9vcFJlc29sdmVyOiByZXF1aXJlKCcuL2xpYi9sb2FkZXIvbm9vcC1yZXNvbHZlcicpLFxuICBYSFJSZXNvbHZlcjogIHJlcXVpcmUoJy4vbGliL2xvYWRlci94aHItcmVzb2x2ZXInKSxcbiAgX2pzUGFyc2U6ICAgICByZXF1aXJlKCcuL2xpYi9hc3QtdXRpbHMvanMtcGFyc2UnKSxcbiAgX2ltcG9ydFBhcnNlOiByZXF1aXJlKCcuL2xpYi9hc3QtdXRpbHMvaW1wb3J0LXBhcnNlJyksXG59O1xuIl19 | |
26342 | +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozL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Bub3RpZnk6IHRydWUsXG4gICAgICAgKiAgICAgdmFsdWU6IC0xLFxuICAgICAgICogICAgIHJlYWRPbmx5OiB0cnVlLFxuICAgICAgICogICAgIHJlZmxlY3RUb0F0dHJpYnV0ZTogdHJ1ZVxuICAgICAgICogICB9XG4gICAgICAgKiB9XG4gICAgICAgKi9cbiAgICAgIGZvciAodmFyIGogPSAwOyBqIDwgcHJvcGVydHkudmFsdWUucHJvcGVydGllcy5sZW5ndGg7IGorKykge1xuICAgICAgICB2YXIgcHJvcGVydHlBcmcgPSBwcm9wZXJ0eS52YWx1ZS5wcm9wZXJ0aWVzW2pdO1xuICAgICAgICB2YXIgcHJvcGVydHlLZXkgPSBlc3V0aWwub2JqZWN0S2V5VG9TdHJpbmcocHJvcGVydHlBcmcua2V5KTtcblxuICAgICAgICBzd2l0Y2gocHJvcGVydHlLZXkpIHtcbiAgICAgICAgICBjYXNlICd0eXBlJzoge1xuICAgICAgICAgICAgcHJvcC50eXBlID0gZXN1dGlsLm9iamVjdEtleVRvU3RyaW5nKHByb3BlcnR5QXJnLnZhbHVlKTtcbiAgICAgICAgICAgIGlmIChwcm9wLnR5cGUgPT09IHVuZGVmaW5lZCkge1xuICAgICAgICAgICAgICB0aHJvdyB7XG4gICAgICAgICAgICAgICAgbWVzc2FnZTogJ0ludmFsaWQgdHlwZSBpbiBwcm9wZXJ0eSBvYmplY3QuJyxcbiAgICAgICAgICAgICAgICBsb2NhdGlvbjogcHJvcGVydHlBcmcubG9jLnN0YXJ0XG4gICAgICAgICAgICAgIH07XG4gICAgICAgICAgICB9XG4gICAgICAgICAgfVxuICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgIGNhc2UgJ25vdGlmeSc6IHtcbiAgICAgICAgICAgIHByb3Aubm90aWZ5ID0gYXN0VmFsdWUuZXhwcmVzc2lvblRvVmFsdWUocHJvcGVydHlBcmcudmFsdWUpO1xuICAgICAgICAgICAgaWYgKHByb3Aubm90aWZ5ID09PSB1bmRlZmluZWQpXG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ge1xuICAgICAgdmFyIGNvbW1lbnQgPSBlc3V0aWwuZ2V0QXR0YWNoZWRDb21tZW50KG5vZGUpO1xuICAgICAgdmFyIHN5bWJvbCA9IGdldE5hbWUoKTtcbiAgICAgIC8vIFF1aWNrbHkgZmlsdGVyIGRvd24gdG8gcG90ZW50aWFsIGNhbmRpZGF0ZXMuXG4gICAgICBpZiAoIWNvbW1lbnQgfHwgY29tbWVudC5pbmRleE9mKCdAcG9seW1lckJlaGF2aW9yJykgPT09IC0xKSB7XG4gICAgICAgIGlmIChzeW1ib2wgIT09IHRlbXBsYXRpemVyKSB7XG4gICAgICAgICAgcmV0dXJuO1xuICAgICAgICB9XG4gICAgICB9XG5cblxuICAgICAgY3VycmVudEJlaGF2aW9yID0ge1xuICAgICAgICB0eXBlOiAnYmVoYXZpb3InLFxuICAgICAgICBkZXNjOiBjb21tZW50LFxuICAgICAgICBldmVudHM6IGVzdXRpbC5nZXRFdmVudENvbW1lbnRzKG5vZGUpLm1hcCggZnVuY3Rpb24oZXZlbnQpIHtcbiAgICAgICAgICByZXR1cm4geyBkZXNjOiBldmVudH07XG4gICAgICAgIH0pXG4gICAgICB9O1xuXG4gICAgICBkb2NzLmFubm90YXRlQmVoYXZpb3IoY3VycmVudEJlaGF2aW9yKTtcbiAgICAgIC8vIE1ha2Ugc3VyZSB0aGF0IHdlIGFjdHVhbGx5IHBhcnNlZCBhIGJlaGF2aW9yIHRhZyFcbiAgICAgIGlmICghanNkb2MuaGFzVGFnKGN1cnJlbnRCZWhhdmlvci5qc2RvYywgJ3BvbHltZXJCZWhhdmlvcicpICYmXG4gICAgICAgICAgc3ltYm9sICE9PSB0ZW1wbGF0aXplcikge1xuICAgICAgICBjdXJyZW50QmVoYXZpb3IgPSBudWxsO1xuICAgICAgICByZXR1cm47XG4gICAgICB9XG5cbiAgICAgIHZhciBuYW1lID0ganNkb2MuZ2V0VGFnKGN1cnJlbnRCZWhhdmlvci5qc2RvYywgJ3BvbHltZXJCZWhhdmlvcic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AgIGRlc2M6IGVzdXRpbC5nZXRBdHRhY2hlZENvbW1lbnQocGFyZW50KSxcbiAgICAgICAgICAgIGV2ZW50czogZXN1dGlsLmdldEV2ZW50Q29tbWVudHMocGFyZW50KS5tYXAoIGZ1bmN0aW9uKGV2ZW50KSB7XG4gICAgICAgICAgICAgIHJldHVybiB7ZGVzYzogZXZlbnR9O1xuICAgICAgICAgICAgfSlcbiAgICAgICAgICB9O1xuICAgICAgICB9XG4gICAgICB9XG4gICAgfSxcbiAgICBsZWF2ZUNhbGxFeHByZXNzaW9uOiBmdW5jdGlvbiBsZWF2ZUNhbGxFeHByZXNzaW9uKG5vZGUsIHBhcmVudCkge1xuICAgICAgdmFyIGNhbGxlZSA9IG5vZGUuY2FsbGVlO1xuICAgICAgaWYgKGNhbGxlZS50eXBlID09ICdJZGVudGlmaWVyJykge1xuICAgICAgICBpZiAoY2FsbGVlLm5hbWUgPT0gJ1BvbHltZXInKSB7XG4gICAgICAgICAgaWYgKGVsZW1lbnQpIHtcbiAgICAgICAgICAgIGVsZW1lbnRzLnB1c2goZWxlbWVudCk7XG4gICAgICAgICAgICBlbGVtZW50ID0gdW5kZWZpbmVkO1xuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgfVxuICAgIH0sXG4gICAgZW50ZXJPYmplY3RFeHByZXNzaW9uOiBmdW5jdGlvbiBlbnRlck9iamVjdEV4cHJlc3Npb24obm9kZSwgcGFyZW50KSB7XG4gICAgICBpZiAoZWxlbWVudCAmJiAhZWxlbWVudC5wcm9wZXJ0aWVzKSB7XG4gICAgICAgIGVsZW1lbnQucHJvcGVydGllcyA9IFtdO1xuICAgICAgICBlbGVtZW50LmJlaGF2aW9ycyA9IFtdO1xuICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IG5vZGUucHJvcGVydGllcy5sZW5ndGg7IGkrKykge1xuICAgICAgICAgIHZhciBwcm9wID0gbm9kZS5wcm9wZXJ0aWVzW2ldO1xuICAgICAgICAgIHZhciBuYW1l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G4gICAgICAgIGVzdXRpbHMsXG4gICAgICAgIGhhc093blByb3BlcnR5O1xuXG4gICAgZXN1dGlscyA9IHJlcXVpcmUoJ2VzdXRpbHMnKTtcbiAgICBpc0FycmF5ID0gcmVxdWlyZSgnaXNhcnJheScpO1xuICAgIHR5cGVkID0gcmVxdWlyZSgnLi90eXBlZCcpO1xuICAgIHV0aWxpdHkgPSByZXF1aXJlKCcuL3V0aWxpdHknKTtcblxuICAgIGZ1bmN0aW9uIHNsaWNlU291cmNlKHNvdXJjZSwgaW5kZXgsIGxhc3QpIHtcbiAgICAgICAgcmV0dXJuIHNvdXJjZS5zbGljZShpbmRleCwgbGFzdCk7XG4gICAgfVxuXG4gICAgaGFzT3duUHJvcGVydHkgPSAoZnVuY3Rpb24gKCkge1xuICAgICAgICB2YXIgZnVuYyA9IE9iamVjdC5wcm90b3R5cGUuaGFzT3duUHJvcGVydHk7XG4gICAgICAgIHJldHVybiBmdW5jdGlvbiBoYXNPd25Qcm9wZXJ0eShvYmosIG5hbWUpIHtcbiAgICAgICAgICAgIHJldHVybiBmdW5jLmNhbGwob2JqLCBuYW1lKTtcbiAgICAgICAgfTtcbiAgICB9KCkpO1xuXG4gICAgZnVuY3Rpb24gc2hhbGxvd0NvcHkob2JqKSB7XG4gICAgICAgIHZhciByZXQgPSB7fSwga2V5O1xuICAgICAgICBmb3IgKGtleSBpbiBvYmopIHtcbiAgICAgICAgICAgIGlmIChvYmouaGFzT3duUHJvcGVydHkoa2V5KSkge1xuICAgICAgICAgICAgICAgIHJldFtrZXldID0gb2JqW2tleV07XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIHJldDtcbiAgICB9XG5cbiAgICBmdW5jdGlvbiBpc0FTQ0lJQWxwaGFudW1lcmljKGNoKSB7XG4gICAgICAgIHJldHVybiAoY2ggPj0gMHg2MSAgLyogJ2EnICovICYmIGNoIDw9IDB4N0EgIC8qICd6JyAqLykgfHxcbiAgICAgICAgICAgIChja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0ZW5kcycgfHwgdGl0bGUgPT09ICdhdWdtZW50cycgfHxcbiAgICAgICAgICAgIHRpdGxlID09PSAncHVibGljJyB8fCB0aXRsZSA9PT0gJ3ByaXZhdGUnIHx8IHRpdGxlID09PSAncHJvdGVjdGVkJztcbiAgICB9XG5cbiAgICBmdW5jdGlvbiB0cmltKHN0cikge1xuICAgICAgICByZXR1cm4gc3RyLnJlcGxhY2UoL15cXHMrLywgJycpLnJlcGxhY2UoL1xccyskLywgJycpO1xuICAgIH1cblxuICAgIGZ1bmN0aW9uIHVud3JhcENvbW1lbnQoZG9jKSB7XG4gICAgICAgIC8vIEpTRG9jIGNvbW1lbnQgaXMgZm9sbG93aW5nIGZvcm1cbiAgICAgICAgLy8gICAvKipcbiAgICAgICAgLy8gICAgKiAuLi4uLi4uXG4gICAgICAgIC8vICAgICovXG4gICAgICAgIC8vIHJlbW92ZSAvKiosICovIGFuZCAqXG4gICAgICAgIHZhciBCRUZPUkVfU1RBUiA9IDAsXG4gICAgICAgICAgICBTVEFSID0gMSxcbiAgICAgICAgICAgIEFGVEVSX1NUQVIgPSAyLFxuICAgICAgICAgICAgaW5kZXgsXG4gICAgICAgICAgICBsZW4sXG4gICAgICAgICAgICBtb2RlLFxuICAgICAgICAgICAgcmVzdWx0LFxuICAgICAgICAgICAgY2g7XG5cbiAgICAgICAgZG9jID0gZG9jLnJlcGxhY2UoL15cXC9cXCpcXCo/LywgJycpLnJlcGxhY2UoL1xcKlxcLyQvLCAnJyk7XG4gICAgICAgIGluZGV4ID0gMDtcbiAgICAgICAgbGVuID0gZG9jLmxlbmd0aDtcbiAgICAgICAgbW9kZSA9IEJFRk9SRV9TVEFSO1xuICAgICAgICByZXN1bHQgPSAnJztcblxuICAgICAgICB3aGlsZSAoaW5kZXggPCBsZW4pIHtcbiAgICAgICAgICAgIGNoID0gZG9jLmNoYXJDb2RlQXQoaW5kZXgpO1xuICAgICAgICAgICAgc3dpdGNoIChtb2RlKSB7XG4gICAgICAgICAgICBjYXNlIEJFRk9SRV9TVEFSOlxuICAgICAgICAgICAgICAgIGlmIChlc3V0aWxzLmNvZGUuaXNMaW5lVGVybWluYXRvcihjaCkpIHtcbiAgICAgICAgICAgICAgICAgICAgcmVzdWx0ICs9IFN0cmluZy5mcm9tQ2hhckNvZGUoY2gpO1xuICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoY2ggPT09IDB4MkEgIC8qICcqJyAqLykge1xuICAgICAgICAgICAgICAgICAgICBtb2RlID0gU1RBUjtcbiAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKCFlc3V0aWxzLmNvZGUuaXNXaGl0ZVNwYWNlKGNoKSkge1xuICAgICAgICAgICAgICAgICAgICByZXN1bHQgKz0gU3RyaW5nLmZyb21DaGFyQ29kZShjaCk7XG4gICAgICAgICAgICAgICAgICAgIG1vZGUgPSBBRlRFUl9TVEFSO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICBicmVhaztcblxuICAgICAgICAgICAgY2FzZSBTVEFSOlxuICAgICAgICAgICAgICAgIGlmICghZXN1dGlscy5jb2RlLmlzV2hpdGVTcGFjZShjaCkpIHtcbiAgICAgICAgICAgICAgICAgICAgcmVzdWx0ICs9IFN0cmluZy5mcm9tQ2hhckNvZGUoY2gpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICBtb2RlID0gZXN1dGlscy5jb2RlLmlzTGluZVRlcm1pbmF0b3IoY2gpID8gQkVGT1JFX1NUQVIgOiBBRlRFUl9TVEFSO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgICAgICBjYXNlIEFGVEVSX1NUQVI6XG4gICAgICAgICAgICAgICAgcmVzdWx0ICs9IFN0cmluZy5mcm9tQ2hhckNvZGUoY2gpO1xuICAgICAgICAgICAgICAgIGlmIChlc3V0aWxzLmNvZGUuaXNMaW5lVGVybWluYXRvcihjaCkpIHtcbiAgICAgICAgICAgICAgICAgICAgbW9kZSA9IEJFRk9SRV9TVEFSO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGluZGV4ICs9IDE7XG4gICAgICAgIH1cblxuICAgICAgICByZXR1cm4gcmVzdWx0O1xuICAgIH1cblxuICAgIC8vIEpTRG9jIFRhZyBQYXJzZXJcblxuICAgIChmdW5jdGlvbiAoZXhwb3J0cykge1xuICAgICAgICB2YXIgUnVsZXMsXG4gICAgICAgICAgICBpbmRleCxcbiAgICAgICAgICAgIGxpbmVOdW1iZXIsXG4gICAgICAgICAgICBsZW5ndGgsXG4gICAgICAgICAgICBzb3VyY2UsXG4gICAgICAgICAgICByZWNvdmVyYWJsZSxcbiAgICAgICAgICAgIHNsb3BweSxcbiAgICAgICAgICAgIHN0cmljdDtcblxuICAgICAgICBmdW5jdGlvbiBhZHZhbmNlKCkge1xuICAgICAgICAgICAgdmFyIGNoID0gc291cmNlLmNoYXJDb2RlQXQoaW5kZXgpO1xuICAgICAgICAgICAgaW5kZXggKz0gMTtcbiAgICAgICAgICAgIGlmIChlc3V0aWxzLmNvZGUuaXNMaW5lVGVybWluYXRvcihjaCkgJiYgIShjaCA9PT0gMHgwRCAgLyogJ1xccicgKi8gJiYgc291cmNlLmNoYXJDb2RlQXQoaW5kZXgpID09PSAweDBBICAvKiAnXFxuJyAqLykpIHtcbiAgICAgICAgICAgICAgICBsaW5lTnVtYmVyICs9IDE7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICByZXR1cm4gU3RyaW5nLmZyb21DaGFyQ29kZShjaCk7XG4gICAgICAgIH1cblxuICAgICAgICBmdW5jdGlvbiBzY2FuVGl0bGUoKSB7XG4gICAgICAgICAgICB2YXIgdGl0bGUgPSAnJztcbiAgICAgICAgICAgIC8vIHdhc3RlICdAJ1xuICAgICAgICAgICAgYWR2YW5jZSgpO1xuXG4gICAgICAgICAgICB3aGlsZSAoaW5kZXggPCBsZW5ndGggJiYgaXNBU0NJSUFscGhhbnVtZXJpYyhzb3VyY2UuY2hhckNvZGVBdChpbmRleCkpKSB7XG4gICAgICAgICAgICAgICAgdGl0bGUgKz0gYWR2YW5jZSgpO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICByZXR1cm4gdGl0bGU7XG4gICAgICAgIH1cblxuICAgICAgICBmdW5jdGlvbiBzZWVrQ29udGVudCgpIHtcbiAgICAgICAgICAgIHZhciBjaCwgd2FpdGluZywgbGFzdCA9IGluZGV4O1xuXG4gICAgICAgICAgICB3YWl0aW5nID0gZmFsc2U7XG4gICAgICAgICAgICB3aGlsZSAobGFzdCA8IGxlbmd0aCkge1xuICAgICAgICAgICAgICAgIGNoID0gc291cmNlLmNoYXJDb2RlQXQobGFzdCk7XG4gICAgICAgICAgICAgICAgaWYgKGVzdXRpbHMuY29kZS5pc0xpbmVUZXJtaW5hdG9yKGNoKSAmJiAhKGNoID09PSAweDBEICAvKiAnXFxyJyAqLyAmJiBzb3VyY2UuY2hhckNvZGVBdChsYXN0ICsgMSkgPT09IDB4MEEgIC8qICdcXG4nICovKSkge1xuICAgICAgICAgICAgICAgICAgICBsaW5lTnVtYmVyICs9IDE7XG4gICAgICAgICAgICAgICAgICAgIHdhaXRpbmcgPSB0cnVlO1xuICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAod2FpdGluZykge1xuICAgICAgICAgICAgICAgICAgICBpZiAoY2ggPT09IDB4NDAgIC8qICdAJyAqLykge1xuICAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgaWYgKCFlc3V0aWxzLmNvZGUuaXNXaGl0ZVNwYWNlKGNoKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgd2FpdGluZyA9IGZhbHNlO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIGxhc3QgKz0gMTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHJldHVybiBsYXN0O1xuICAgICAgICB9XG5cbiAgICAgICAgLy8gdHlwZSBleHByZXNzaW9uIG1heSBoYXZlIG5lc3QgYnJhY2UsIHN1Y2ggYXMsXG4gICAgICAgIC8vIHsgeyBvazogc3RyaW5nIH0gfVxuICAgICAgICAvL1xuICAgICAgICAvLyB0aGVyZWZvcmUsIHNjYW5uaW5nIHR5cGUgZXhwcmVzc2lvbiB3aXRoIGJhbGFuY2luZyBicmFjZXMuXG4gICAgICAgIGZ1bmN0aW9uIHBhcnNlVHlwZSh0aXRsZSwgbGFzdCkge1xuICAgICAgICAgICAgdmFyIGNoLCBicmFjZSwgdHlwZSwgZGlyZWN0ID0gZmFsc2U7XG5cblxuICAgICAgICAgICAgLy8gc2VhcmNoICd7J1xuICAgICAgICAgICAgd2hpbGUgKGluZGV4IDwgbGFzdCkge1xuICAgICAgICAgICAgICAgIGNoID0gc291cmNlLmNoYXJDb2RlQXQoaW5kZXgpO1xuICAgICAgICAgICAgICAgIGlmIChlc3V0aWxzLmNvZGUuaXNXaGl0ZVNwYWNlKGNoKSkge1xuICAgICAgICAgICAgICAgICAgICBhZHZhbmNlKCk7XG4gICAgICAgICAgICAgICAgfSBlbHNlIGlmIChjaCA9PT0gMHg3QiAgLyogJ3snICovKSB7XG4gICAgICAgICAgICAgICAgICAgIGFkdmFuY2UoKTtcbiAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgLy8gdGhpcyBpcyBkaXJlY3QgcGF0dGVyblxuICAgICAgICAgICAgICAgICAgICBkaXJlY3QgPSB0cnVlO1xuICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG5cblxuICAgICAgICAgICAgaWYgKGRpcmVjdCkge1xuICAgICAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAvLyB0eXBlIGV4cHJlc3Npb24geyBpcyBmb3VuZFxuICAgICAgICAgICAgYnJhY2UgPSAxO1xuICAgICAgICAgICAgdHlwZSA9ICcnO1xuICAgICAgICAgICAgd2hpbGUgKGluZGV4IDwgbGFzdCkge1xuICAgICAgICAgICAgICAgIGNoID0gc291cmNlLmNoYXJDb2RlQXQoaW5kZXgpO1xuICAgICAgICAgICAgICAgIGlmIChlc3V0aWxzLmNvZGUuaXNMaW5lVGVybWluYXRvcihjaCkpIHtcbiAgICAgICAgICAgICAgICAgICAgYWR2YW5jZSgpO1xuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIGlmIChjaCA9PT0gMHg3RCAgLyogJ30nICovKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBicmFjZSAtPSAxO1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGJyYWNlID09PSAwKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgYWR2YW5jZSgpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKGNoID09PSAweDdCICAvKiAneycgKi8pIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGJyYWNlICs9IDE7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgdHlwZSArPSBhZHZhbmNlKCk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICBpZiAoYnJhY2UgIT09IDApIHtcbiAgICAgICAgICAgICAgICAvLyBicmFjZXMgaXMgbm90IGJhbGFuY2VkXG4gICAgICAgICAgICAgICAgcmV0dXJuIHV0aWxpdHkudGhyb3dFcnJvcignQnJhY2VzIGFyZSBub3QgYmFsYW5jZWQnKTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgaWYgKGlzUGFyYW1UaXRsZSh0aXRsZSkpIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gdHlwZWQucGFyc2VQYXJhbVR5cGUodHlwZSk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICByZXR1cm4gdHlwZWQucGFyc2VUeXBlKHR5cGUpO1xuICAgICAgICB9XG5cbiAgICAgICAgZnVuY3Rpb24gc2NhbklkZW50aWZpZXIobGFzdCkge1xuICAgICAgICAgICAgdmFyIGlkZW50aWZpZXI7XG4gICAgICAgICAgICBpZiAoIWVzdXRpbHMuY29kZS5pc0lkZW50aWZpZXJTdGFydChzb3VyY2UuY2hhckNvZGVBdChpbmRleCkpKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBpZGVudGlmaWVyID0gYWR2YW5jZSgpO1xuICAgICAgICAgICAgd2hpbGUgKGluZGV4IDwgbGFzdCAmJiBlc3V0aWxzLmNvZGUuaXNJZGVudGlmaWVyUGFydChzb3VyY2UuY2hhckNvZGVBdChpbmRleCkpKSB7XG4gICAgICAgICAgICAgICAgaWRlbnRpZmllciArPSBhZHZhbmNlKCk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICByZXR1cm4gaWRlbnRpZmllcjtcbiAgICAgICAgfVxuXG4gICAgICAgIGZ1bmN0aW9uIHNraXBXaGl0ZVNwYWNlKGxhc3QpIHtcbiAgICAgICAgICAgIHdoaWxlIChpbmRleCA8IGxhc3QgJiYgKGVzdXRpbHMuY29kZS5pc1doaXRlU3BhY2Uoc291cmNlLmNoYXJDb2RlQXQoaW5kZXgpKSB8fCBlc3V0aWxzLmNvZGUuaXNMaW5lVGVybWluYXRvcihzb3VyY2UuY2hhckNvZGVBdChpbmRleCkpKSkge1xuICAgICAgICAgICAgICAgIGFkdmFuY2UoKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIGZ1bmN0aW9uIHBhcnNlTmFtZShsYXN0LCBhbGxvd0JyYWNrZXRzLCBhbGxvd05lc3RlZFBhcmFtcykge1xuICAgICAgICAgICAgdmFyIG5hbWUgPSAnJywgdXNlQnJhY2tldHM7XG5cbiAgICAgICAgICAgIHNraXBXaGl0ZVNwYWNlKGxhc3QpO1xuXG4gICAgICAgICAgICBpZiAoaW5kZXggPj0gbGFzdCkge1xuICAgICAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICBpZiAoYWxsb3dCcmFja2V0cyAmJiBzb3VyY2UuY2hhckNvZGVBdChpbmRleCkgPT09IDB4NUIgIC8qICdbJyAqLykge1xuICAgICAgICAgICAgICAgIHVzZUJyYWNrZXRzID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICBuYW1lID0gYWR2YW5jZSgpO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICBpZiAoIWVzdXRpbHMuY29kZS5pc0lkZW50aWZpZXJTdGFydChzb3VyY2UuY2hhckNvZGVBdChpbmRleCkpKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIG5hbWUgKz0gc2NhbklkZW50aWZpZXIobGFzdCk7XG5cbiAgICAgICAgICAgIGlmIChhbGxvd05lc3RlZFBhcmFtcykge1xuICAgICAgICAgICAgICAgIGlmIChzb3VyY2UuY2hhckNvZGVBdChpbmRleCkgPT09IDB4M0EgLyogJzonICovICYmIChcbiAgICAgICAgICAgICAgICAgICAgICAgIG5hbWUgPT09ICdtb2R1bGUnIHx8XG4gICAgICAgICAgICAgICAgICAgICAgICBuYW1lID09PSAnZXh0ZXJuYWwnIHx8XG4gICAgICAgICAgICAgICAgICAgICAgICBuYW1lID09PSAnZXZlbnQnKSkge1xuICAgICAgICAgICAgICAgICAgICBuYW1lICs9IGFkdmFuY2UoKTtcbiAgICAgICAgICAgICAgICAgICAgbmFtZSArPSBzY2FuSWRlbnRpZmllcihsYXN0KTtcblxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICBpZihzb3VyY2UuY2hhckNvZGVBdChpbmRleCkgPT09IDB4NUIgIC8qICdbJyAqLyAmJiBzb3VyY2UuY2hhckNvZGVBdChpbmRleCArIDEpID09PSAweDVEICAvKiAnXScgKi8pe1xuICAgICAgICAgICAgICAgICAgICBuYW1lICs9IGFkdmFuY2UoKTtcbiAgICAgICAgICAgICAgICAgICAgbmFtZSArPSBhZHZhbmNlKCk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIHdoaWxlIChzb3VyY2UuY2hhckNvZGVBdChpbmRleCkgPT09IDB4MkUgIC8qICcuJyAqLyB8fFxuICAgICAgICAgICAgICAgICAgICAgICAgc291cmNlLmNoYXJDb2RlQXQoaW5kZXgpID09PSAweDIzICAvKiAnIycgKi8gfHxcbiAgICAgICAgICAgICAgICAgICAgICAgIHNvdXJjZS5jaGFyQ29kZUF0KGluZGV4KSA9PT0gMHg3RSAgLyogJ34nICovKSB7XG4gICAgICAgICAgICAgICAgICAgIG5hbWUgKz0gYWR2YW5jZSgpO1xuICAgICAgICAgICAgICAgICAgICBuYW1lICs9IHNjYW5JZGVudGlmaWVyKGxhc3QpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgaWYgKHVzZUJyYWNrZXRzKSB7XG4gICAgICAgICAgICAgICAgLy8gZG8gd2UgaGF2ZSBhIGRlZmF1bHQgdmFsdWUgZm9yIHRoaXM/XG4gICAgICAgICAgICAgICAgaWYgKHNvdXJjZS5jaGFyQ29kZUF0KGluZGV4KSA9PT0gMHgzRCAgLyogJz0nICovKSB7XG5cbiAgICAgICAgICAgICAgICAgICAgLy8gY29uc3VtZSB0aGUgJz0nJyBzeW1ib2xcbiAgICAgICAgICAgICAgICAgICAgbmFtZSArPSBhZHZhbmNlKCk7XG4gICAgICAgICAgICAgICAgICAgIC8vIHNjYW4gaW4gdGhlIGRlZmF1bHQgdmFsdWVcbiAgICAgICAgICAgICAgICAgICAgd2hpbGUgKGluZGV4IDwgbGFzdCAmJiBzb3VyY2UuY2hhckNvZGVBdChpbmRleCkgIT09IDB4NUQgIC8qICddJyAqLykge1xuICAgICAgICAgICAgICAgICAgICAgICAgbmFtZSArPSBhZHZhbmNlKCk7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICBpZiAoaW5kZXggPj0gbGFzdCAgfHwgc291cmNlLmNoYXJDb2RlQXQoaW5kZXgpICE9PSAweDVEICAvKiAnXScgKi8pIHtcbiAgICAgICAgICAgICAgICAgICAgLy8gd2UgbmV2ZXIgZm91bmQgYSBjbG9zaW5nICddJ1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4gbnVsbDtcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAvLyBjb2xsZWN0IHRoZSBsYXN0ICddJ1xuICAgICAgICAgICAgICAgIG5hbWUgKz0gYWR2YW5jZSgpO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICByZXR1cm4gbmFtZTtcbiAgICAgICAgfVxuXG4gICAgICAgIGZ1bmN0aW9uIHNraXBUb1RhZygpIHtcbiAgICAgICAgICAgIHdoaWxlIChpbmRleCA8IGxlbmd0aCAmJiBzb3VyY2UuY2hhckNvZGVBdChpbmRleCkgIT09IDB4NDAgIC8qICdAJyAqLykge1xuICAgICAgICAgICAgICAgIGFkdmFuY2UoKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGlmIChpbmRleCA+PSBsZW5ndGgpIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICB1dGlsaXR5LmFzc2VydChzb3VyY2UuY2hhckNvZGVBdChpbmRleCkgPT09IDB4NDAgIC8qICdAJyAqLyk7XG4gICAgICAgICAgICByZXR1cm4gdHJ1ZTtcbiAgICAgICAgfVxuXG4gICAgICAgIGZ1bmN0aW9uIFRhZ1BhcnNlcihvcHRpb25zLCB0aXRsZSkge1xuICAgICAgICAgICAgdGhpcy5fb3B0aW9ucyA9IG9wdGlvbnM7XG4gICAgICAgICAgICB0aGlzLl90aXRsZSA9IHRpdGxlO1xuICAgICAgICAgICAgdGhpcy5fdGFnID0ge1xuICAgICAgICAgICAgICAgIHRpdGxlOiB0aXRsZSxcbiAgICAgICAgICAgICAgICBkZXNjcmlwdGlvbjogbnVsbFxuICAgICAgICAgICAgfTtcbiAgICAgICAgICAgIGlmICh0aGlzLl9vcHRpb25zLmxpbmVOdW1iZXJzKSB7XG4gICAgICAgICAgICAgICAgdGhpcy5fdGFnLmxpbmVOdW1iZXIgPSBsaW5lTnVtYmVyO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgdGhpcy5fbGFzdCA9IDA7XG4gICAgICAgICAgICAvLyBzcGFjZSB0byBzYXZlIHNwZWNpYWwgaW5mb3JtYXRpb24gZm9yIHRpdGxlIHBhcnNlcnMuXG4gICAgICAgICAgICB0aGlzLl9leHRyYSA9IHsgfTtcbiAgICAgICAgfVxuXG4gICAgICAgIC8vIGFkZEVycm9yKGVyciwgLi4uKVxuICAgICAgICBUYWdQYXJzZXIucHJvdG90eXBlLmFkZEVycm9yID0gZnVuY3Rpb24gYWRkRXJyb3IoZXJyb3JUZXh0KSB7XG4gICAgICAgICAgICB2YXIgYXJncyA9IEFycmF5LnByb3RvdHlwZS5zbGljZS5jYWxsKGFyZ3VtZW50cywgMSksXG4gICAgICAgICAgICAgICAgbXNnID0gZXJyb3JUZXh0LnJlcGxhY2UoXG4gICAgICAgICAgICAgICAgICAgIC8lKFxcZCkvZyxcbiAgICAgICAgICAgICAgICAgICAgZnVuY3Rpb24gKHdob2xlLCBpbmRleCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgdXRpbGl0eS5hc3NlcnQoaW5kZXggPCBhcmdzLmxlbmd0aCwgJ01lc3NhZ2UgcmVmZXJlbmNlIG11c3QgYmUgaW4gcmFuZ2UnKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBhcmdzW2luZGV4XTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICk7XG5cbiAgICAgICAgICAgIGlmICghdGhpcy5fdGFnLmVycm9ycykge1xuICAgICAgICAgICAgICAgIHRoaXMuX3RhZy5lcnJvcnMgPSBbXTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGlmIChzdHJpY3QpIHtcbiAgICAgICAgICAgICAgICB1dGlsaXR5LnRocm93RXJyb3IobXNnKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHRoaXMuX3RhZy5lcnJvcnMucHVzaChtc2cpO1xuICAgICAgICAgICAgcmV0dXJuIHJlY292ZXJhYmxlO1xuICAgICAgICB9O1xuXG4gICAgICAgIFRhZ1BhcnNlci5wcm90b3R5cGUucGFyc2VUeXBlID0gZnVuY3Rpb24gKCkge1xuICAgICAgICAgICAgLy8gdHlwZSByZXF1aXJlZCB0aXRsZXNcbiAgICAgICAgICAgIGlmIChpc1R5cGVQYXJhbWV0ZXJSZXF1aXJlZCh0aGlzLl90aXRsZSkpIHtcbiAgICAgICAgICAgICAgICB0cnkge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLl90YWcudHlwZSA9IHBhcnNlVHlwZSh0aGlzLl90aXRsZSwgdGhpcy5fbGFzdCk7XG4gICAgICAgICAgICAgICAgICAgIGlmICghdGhpcy5fdGFnLnR5cGUpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmICghaXNQYXJhbVRpdGxlKHRoaXMuX3RpdGxlKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmICghdGhpcy5hZGRFcnJvcignTWlzc2luZyBvciBpbnZhbGlkIHRhZyB0eXBlJykpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH0gY2F0Y2ggKGVycm9yKSB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuX3RhZy50eXBlID0gbnVsbDtcbiAgICAgICAgICAgICAgICAgICAgaWYgKCF0aGlzLmFkZEVycm9yKGVycm9yLm1lc3NhZ2UpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9IGVsc2UgaWYgKGlzQWxsb3dlZFR5cGUodGhpcy5fdGl0bGUpKSB7XG4gICAgICAgICAgICAgICAgLy8gb3B0aW9uYWwgdHlwZXNcbiAgICAgICAgICAgICAgICB0cnkge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLl90YWcudHlwZSA9IHBhcnNlVHlwZSh0aGlzLl90aXRsZSwgdGhpcy5fbGFzdCk7XG4gICAgICAgICAgICAgICAgfSBjYXRjaCAoZSkge1xuICAgICAgICAgICAgICAgICAgICAvL0ZvciBvcHRpb25hbCB0eXBlcywgbGV0cyBkcm9wIHRoZSB0aHJvd24gZXJyb3Igd2hlbiB3ZSBoaXQgdGhlIGVuZCBvZiB0aGUgZmlsZVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHJldHVybiB0cnVlO1xuICAgICAgICB9O1xuXG4gICAgICAgIFRhZ1BhcnNlci5wcm90b3R5cGUuX3BhcnNlTmFtZVBhdGggPSBmdW5jdGlvbiAob3B0aW9uYWwpIHtcbiAgICAgICAgICAgIHZhciBuYW1lO1xuICAgICAgICAgICAgbmFtZSA9IHBhcnNlTmFtZSh0aGlzLl9sYXN0LCBzbG9wcHkgJiYgaXNQYXJhbVRpdGxlKHRoaXMuX3RpdGxlKSwgdHJ1ZSk7XG4gICAgICAgICAgICBpZiAoIW5hbWUpIHtcbiAgICAgICAgICAgICAgICBpZiAoIW9wdGlvbmFsKSB7XG4gICAgICAgICAgICAgICAgICAgIGlmICghdGhpcy5hZGRFcnJvcignTWlzc2luZyBvciBpbnZhbGlkIHRhZyBuYW1lJykpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHRoaXMuX3RhZy5uYW1lID0gbmFtZTtcbiAgICAgICAgICAgIHJldHVybiB0cnVlO1xuICAgICAgICB9O1xuXG4gICAgICAgIFRhZ1BhcnNlci5wcm90b3R5cGUucGFyc2VOYW1lUGF0aCA9IGZ1bmN0aW9uICgpIHtcbiAgICAgICAgICAgIHJldHVybiB0aGlzLl9wYXJzZU5hbWVQYXRoKGZhbHNlKTtcbiAgICAgICAgfTtcblxuICAgICAgICBUYWdQYXJzZXIucHJvdG90eXBlLnBhcnNlTmFtZVBhdGhPcHRpb25hbCA9IGZ1bmN0aW9uICgpIHtcbiAgICAgICAgICAgIHJldHVybiB0aGlzLl9wYXJzZU5hbWVQYXRoKHRydWUpO1xuICAgICAgICB9O1xuXG5cbiAgICAgICAgVGFnUGFyc2VyLnByb3RvdHlwZS5wYXJzZU5hbWUgPSBmdW5jdGlvbiAoKSB7XG4gICAgICAgICAgICB2YXIgYXNzaWduLCBuYW1lO1xuXG4gICAgICAgICAgICAvLyBwYXJhbSwgcHJvcGVydHkgcmVxdWlyZXMgbmFtZVxuICAgICAgICAgICAgaWYgKGlzQWxsb3dlZE5hbWUodGhpcy5fdGl0bGUpKSB7XG4gICAgICAgICAgICAgICAgdGhpcy5fdGFnLm5hbWUgPSBwYXJzZU5hbWUodGhpcy5fbGFzdCwgc2xvcHB5ICYmIGlzUGFyYW1UaXRsZSh0aGlzLl90aXRsZSksIGlzQWxsb3dlZE5lc3RlZCh0aGlzLl90aXRsZSkpO1xuICAgICAgICAgICAgICAgIGlmICghdGhpcy5fdGFnLm5hbWUpIHtcbiAgICAgICAgICAgICAgICAgICAgaWYgKCFpc05hbWVQYXJhbWV0ZXJSZXF1aXJlZCh0aGlzLl90aXRsZSkpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiB0cnVlO1xuICAgICAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAgICAgLy8gaXQncyBwb3NzaWJsZSB0aGUgbmFtZSBoYXMgYWxyZWFkeSBiZWVuIHBhcnNlZCBidXQgaW50ZXJwcmV0ZWQgYXMgYSB0eXBlXG4gICAgICAgICAgICAgICAgICAgIC8vIGl0J3MgYWxzbyBwb3NzaWJsZSB0aGlzIGlzIGEgc2xvcHB5IGRlY2xhcmF0aW9uLCBpbiB3aGljaCBjYXNlIGl0IHdpbGwgYmVcbiAgICAgICAgICAgICAgICAgICAgLy8gZml4ZWQgYXQgdGhlIGVuZFxuICAgICAgICAgICAgICAgICAgICBpZiAoaXNQYXJhbVRpdGxlKHRoaXMuX3RpdGxlKSAmJiB0aGlzLl90YWcudHlwZSAmJiB0aGlzLl90YWcudHlwZS5uYW1lKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLl9leHRyYS5uYW1lID0gdGhpcy5fdGFnLnR5cGU7XG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLl90YWcubmFtZSA9IHRoaXMuX3RhZy50eXBlLm5hbWU7XG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLl90YWcudHlwZSA9IG51bGw7XG4gICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoIXRoaXMuYWRkRXJyb3IoJ01pc3Npbmcgb3IgaW52YWxpZCB0YWcgbmFtZScpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlO1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgbmFtZSA9IHRoaXMuX3RhZy5uYW1lO1xuICAgICAgICAgICAgICAgICAgICBpZiAobmFtZS5jaGFyQXQoMCkgPT09ICdbJyAmJiBuYW1lLmNoYXJBdChuYW1lLmxlbmd0aCAtIDEpID09PSAnXScpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIC8vIGV4dHJhY3QgdGhlIGRlZmF1bHQgdmFsdWUgaWYgdGhlcmUgaXMgb25lXG4gICAgICAgICAgICAgICAgICAgICAgICAvLyBleGFtcGxlOiBAcGFyYW0ge3N0cmluZ30gW3NvbWVib2R5PUpvaG4gRG9lXSBkZXNjcmlwdGlvblxuICAgICAgICAgICAgICAgICAgICAgICAgYXNzaWduID0gbmFtZS5zdWJzdHJpbmcoMSwgbmFtZS5sZW5ndGggLSAxKS5zcGxpdCgnPScpO1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGFzc2lnblsxXSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuX3RhZ1snZGVmYXVsdCddID0gYXNzaWduWzFdO1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5fdGFnLm5hbWUgPSBhc3NpZ25bMF07XG5cbiAgICAgICAgICAgICAgICAgICAgICAgIC8vIGNvbnZlcnQgdG8gYW4gb3B0aW9uYWwgdHlwZVxuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHRoaXMuX3RhZy50eXBlICYmIHRoaXMuX3RhZy50eXBlLnR5cGUgIT09ICdPcHRpb25hbFR5cGUnKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5fdGFnLnR5cGUgPSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHR5cGU6ICdPcHRpb25hbFR5cGUnLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBleHByZXNzaW9uOiB0aGlzLl90YWcudHlwZVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH07XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIHJldHVybiB0cnVlO1xuICAgICAgICB9O1xuXG4gICAgICAgIFRhZ1BhcnNlci5wcm90b3R5cGUucGFyc2VEZXNjcmlwdGlvbiA9IGZ1bmN0aW9uIHBhcnNlRGVzY3JpcHRpb24oKSB7XG4gICAgICAgICAgICB2YXIgZGVzY3JpcHRpb24gPSB0cmltKHNsaWNlU291cmNlKHNvdXJjZSwgaW5kZXgsIHRoaXMuX2xhc3QpKTtcbiAgICAgICAgICAgIGlmIChkZXNjcmlwdGlvbikge1xuICAgICAgICAgICAgICAgIGlmICgoL14tXFxzKy8pLnRlc3QoZGVzY3JpcHRpb24pKSB7XG4gICAgICAgICAgICAgICAgICAgIGRlc2NyaXB0aW9uID0gZGVzY3JpcHRpb24uc3Vic3RyaW5nKDIpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB0aGlzLl90YWcuZGVzY3JpcHRpb24gPSBkZXNjcmlwdGlvbjtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHJldHVybiB0cnVlO1xuICAgICAgICB9O1xuXG4gICAgICAgIFRhZ1BhcnNlci5wcm90b3R5cGUucGFyc2VLaW5kID0gZnVuY3Rpb24gcGFyc2VLaW5kKCkge1xuICAgICAgICAgICAgdmFyIGtpbmQsIGtpbmRzO1xuICAgICAgICAgICAga2luZHMgPSB7XG4gICAgICAgICAgICAgICAgJ2NsYXNzJzogdHJ1ZSxcbiAgICAgICAgICAgICAgICAnY29uc3RhbnQnOiB0cnVlLFxuICAgICAgICAgICAgICAgICdldmVudCc6IHRydWUsXG4gICAgICAgICAgICAgICAgJ2V4dGVybmFsJzogdHJ1ZSxcbiAgICAgICAgICAgICAgICAnZmlsZSc6IHRydWUsXG4gICAgICAgICAgICAgICAgJ2Z1bmN0aW9uJzogdHJ1ZSxcbiAgICAgICAgICAgICAgICAnbWVtYmVyJzogdHJ1ZSxcbiAgICAgICAgICAgICAgICAnbWl4aW4nOiB0cnVlLFxuICAgICAgICAgICAgICAgICdtb2R1bGUnOiB0cnVlLFxuICAgICAgICAgICAgICAgICduYW1lc3BhY2UnOiB0cnVlLFxuICAgICAgICAgICAgICAgICd0eXBlZGVmJzogdHJ1ZVxuICAgICAgICAgICAgfTtcbiAgICAgICAgICAgIGtpbmQgPSB0cmltKHNsaWNlU291cmNlKHNvdXJjZSwgaW5kZXgsIHRoaXMuX2xhc3QpKTtcbiAgICAgICAgICAgIHRoaXMuX3RhZy5raW5kID0ga2luZDtcbiAgICAgICAgICAgIGlmICghaGFzT3duUHJvcGVydHkoa2luZHMsIGtpbmQpKSB7XG4gICAgICAgICAgICAgICAgaWYgKCF0aGlzLmFkZEVycm9yKCdJbnZhbGlkIGtpbmQgbmFtZSBcXCclMFxcJycsIGtpbmQpKSB7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICByZXR1cm4gdHJ1ZTtcbiAgICAgICAgfTtcblxuICAgICAgICBUYWdQYXJzZXIucHJvdG90eXBlLnBhcnNlQWNjZXNzID0gZnVuY3Rpb24gcGFyc2VBY2Nlc3MoKSB7XG4gICAgICAgICAgICB2YXIgYWNjZXNzO1xuICAgICAgICAgICAgYWNjZXNzID0gdHJpbShzbGljZVNvdXJjZShzb3VyY2UsIGluZGV4LCB0aGlzLl9sYXN0KSk7XG4gICAgICAgICAgICB0aGlzLl90YWcuYWNjZXNzID0gYWNjZXNzO1xuICAgICAgICAgICAgaWYgKGFjY2VzcyAhPT0gJ3ByaXZhdGUnICYmIGFjY2VzcyAhPT0gJ3Byb3RlY3RlZCcgJiYgYWNjZXNzICE9PSAncHVibGljJykge1xuICAgICAgICAgICAgICAgIGlmICghdGhpcy5hZGRFcnJvcignSW52YWxpZCBhY2Nlc3MgbmFtZSBcXCclMFxcJycsIGFjY2VzcykpIHtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHJldHVybiB0cnVlO1xuICAgICAgICB9O1xuXG4gICAgICAgIFRhZ1BhcnNlci5wcm90b3R5cGUucGFyc2VWYXJpYXRpb24gPSBmdW5jdGlvbiBwYXJzZVZhcmlhdGlvbigpIHtcbiAgICAgICAgICAgIHZhciB2YXJpYXRpb24sIHRleHQ7XG4gICAgICAgICAgICB0ZXh0ID0gdHJpbShzbGljZVNvdXJjZShzb3VyY2UsIGluZGV4LCB0aGlzLl9sYXN0KSk7XG4gICAgICAgICAgICB2YXJpYXRpb24gPSBwYXJzZUZsb2F0KHRleHQsIDEwKTtcbiAgICAgICAgICAgIHRoaXMuX3RhZy52YXJpYXRpb24gPSB2YXJpYXRpb247XG4gICAgICAgICAgICBpZiAoaXNOYU4odmFyaWF0aW9uKSkge1xuICAgICAgICAgICAgICAgIGlmICghdGhpcy5hZGRFcnJvcignSW52YWxpZCB2YXJpYXRpb24gXFwnJTBcXCcnLCB0ZXh0KSkge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICAgICAgcmV0dXJuIHRydWU7XG4gICAgICAgIH07XG5cbiAgICAgICAgVGFnUGFyc2VyLnByb3RvdHlwZS5lbnN1cmVFbmQgPSBmdW5jdGlvbiAoKSB7XG4gICAgICAgICAgICB2YXIgc2hvdWxkQmVFbXB0eSA9IHRyaW0oc2xpY2VTb3VyY2Uoc291cmNlLCBpbmRleCwgdGhpcy5fbGFzdCkpO1xuICAgICAgICAgICAgaWYgKHNob3VsZEJlRW1wdHkpIHtcbiAgICAgICAgICAgICAgICBpZiAoIXRoaXMuYWRkRXJyb3IoJ1Vua25vd24gY29udGVudCBcXCclMFxcJycsIHNob3VsZEJlRW1wdHkpKSB7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICByZXR1cm4gdHJ1ZTtcbiAgICAgICAgfTtcblxuICAgICAgICBUYWdQYXJzZXIucHJvdG90eXBlLmVwaWxvZ3VlID0gZnVuY3Rpb24gZXBpbG9ndWUoKSB7XG4gICAgICAgICAgICB2YXIgZGVzY3JpcHRpb247XG5cbiAgICAgICAgICAgIGRlc2NyaXB0aW9uID0gdGhpcy5fdGFnLmRlc2NyaXB0aW9uO1xuICAgICAgICAgICAgLy8gdW4tZml4IHBvdGVudGlhbGx5IHNsb3BweSBkZWNsYXJhdGlvblxuICAgICAgICAgICAgaWYgKGlzUGFyYW1UaXRsZSh0aGlzLl90aXRsZSkgJiYgIXRoaXMuX3RhZy50eXBlICYmIGRlc2NyaXB0aW9uICYmIGRlc2NyaXB0aW9uLmNoYXJBdCgwKSA9PT0gJ1snKSB7XG4gICAgICAgICAgICAgICAgdGhpcy5fdGFnLnR5cGUgPSB0aGlzLl9leHRyYS5uYW1lO1xuICAgICAgICAgICAgICAgIGlmICghdGhpcy5fdGFnLm5hbWUpIHtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5fdGFnLm5hbWUgPSB1bmRlZmluZWQ7XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgaWYgKCFzbG9wcHkpIHtcbiAgICAgICAgICAgICAgICAgICAgaWYgKCF0aGlzLmFkZEVycm9yKCdNaXNzaW5nIG9yIGludmFsaWQgdGFnIG5hbWUnKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICByZXR1cm4gdHJ1ZTtcbiAgICAgICAgfTtcblxuICAgICAgICBSdWxlc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Ly91c2Vqc2RvYy5vcmcvdGFncy1wcml2YXRlLmh0bWxcbiAgICAgICAgICAgICdwcml2YXRlJzogWydwYXJzZVR5cGUnLCAncGFyc2VEZXNjcmlwdGlvbiddLFxuICAgICAgICAgICAgLy8gaHR0cDovL3VzZWpzZG9jLm9yZy90YWdzLXByb3RlY3RlZC5odG1sXG4gICAgICAgICAgICAncHJvdGVjdGVkJzogWydwYXJzZVR5cGUnLCAncGFyc2VEZXNjcmlwdGlvbiddLFxuICAgICAgICAgICAgLy8gaHR0cDovL3VzZWpzZG9jLm9yZy90YWdzLXB1YmxpYy5odG1sXG4gICAgICAgICAgICAncHVibGljJzogWydwYXJzZVR5cGUnLCAncGFyc2VEZXNjcmlwdGlvbiddLFxuICAgICAgICAgICAgLy8gaHR0cDovL3VzZWpzZG9jLm9yZy90YWdzLXJlYWRvbmx5Lmh0bWxcbiAgICAgICAgICAgICdyZWFkb25seSc6IFsnZW5zdXJlRW5kJ10sXG4gICAgICAgICAgICAvLyBodHRwOi8vdXNlanNkb2Mub3JnL3RhZ3MtcmVxdWlyZXMuaHRtbFxuICAgICAgICAgICAgJ3JlcXVpcmVzJzogWydwYXJzZU5hbWVQYXRoJywgJ2Vuc3VyZUVuZCddLFxuICAgICAgICAgICAgLy8gaHR0cDovL3VzZWpzZG9jLm9yZy90YWdzLXNpbmNlLmh0bWxcbiAgICAgICAgICAgICdzaW5jZSc6IFsncGFyc2VEZXNjcmlwdGlvbiddLFxuICAgICAgICAgICAgLy8gaHR0cDovL3VzZWpzZG9jLm9yZy90YWdzLXN0YXRpYy5odG1sXG4gICAgICAgICAgICAnc3RhdGljJzogWydlbnN1cmVFbmQnXSxcbiAgICAgICAgICAgIC8vIGh0dHA6Ly91c2Vqc2RvYy5vcmcvdGFncy1zdW1tYXJ5Lmh0bWxcbiAgICAgICAgICAgICdzdW1tYXJ5JzogWydwYXJzZURlc2NyaXB0aW9uJ10sXG4gICAgICAgICAgICAvLyBodHRwOi8vdXNlanNkb2Mub3JnL3RhZ3MtdGhpcy5odG1sXG4gICAgICAgICAgICAndGhpcyc6IFsncGFyc2VOYW1lUGF0aCcsICdlbnN1cmVFbmQnXSxcbiAgICAgICAgICAgIC8vIGh0dHA6Ly91c2Vqc2RvYy5vcmcvdGFncy10b2RvLmh0bWxcbiAgICAgICAgICAgICd0b2RvJzogWydwYXJzZURlc2NyaXB0aW9uJ10sXG4gICAgICAgICAgICAvLyBodHRwOi8vdXNlanNkb2Mub3JnL3RhZ3MtdHlwZWRlZi5odG1sXG4gICAgICAgICAgICAndHlwZWRlZic6IFsncGFyc2VUeXBlJywgJ3BhcnNlTmFtZVBhdGhPcHRpb25hbCddLFxuICAgICAgICAgICAgLy8gaHR0cDovL3VzZWpzZG9jLm9yZy90YWdzLXZhcmlhdGlvbi5odG1sXG4gICAgICAgICAgICAndmFyaWF0aW9uJzogWydwYXJzZVZhcmlhdGlvbiddLFxuICAgICAgICAgICAgLy8gaHR0cDovL3VzZWpzZG9jLm9yZy90YWdzLXZlcnNpb24uaHRtbFxuICAgICAgICAgICAgJ3ZlcnNpb24nOiBbJ3BhcnNlRGVzY3JpcHRpb24nXVxuICAgICAgICB9O1xuXG4gICAgICAgIFRhZ1BhcnNlci5wcm90b3R5cGUucGFyc2UgPSBmdW5jdGlvbiBwYXJzZSgpIHtcbiAgICAgICAgICAgIHZhciBpLCBpeiwgc2VxdWVuY2VzLCBtZXRob2Q7XG5cbiAgICAgICAgICAgIC8vIGVtcHR5IHRpdGxlXG4gICAgICAgICAgICBpZiAoIXRoaXMuX3RpdGxlKSB7XG4gICAgICAgICAgICAgICAgaWYgKCF0aGlzLmFkZEVycm9yKCdNaXNzaW5nIG9yIGludmFsaWQgdGl0bGUnKSkge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4gbnVsbDtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIC8vIFNlZWsgdG8gY29udGVudCBsYXN0IGluZGV4LlxuICAgICAgICAgICAgdGhpcy5fbGFzdCA9IHNlZWtDb250ZW50KHRoaXMuX3RpdGxlKTtcblxuICAgICAgICAgICAgaWYgKGhhc093blByb3BlcnR5KFJ1bGVzLCB0aGlzLl90aXRsZSkpIHtcbiAgICAgICAgICAgICAgICBzZXF1ZW5jZXMgPSBSdWxlc1t0aGlzLl90aXRsZV07XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIC8vIGRlZmF1bHQgc2VxdWVuY2VzXG4gICAgICAgICAgICAgICAgc2VxdWVuY2VzID0gWydwYXJzZVR5cGUnLCAncGFyc2VOYW1lJywgJ3BhcnNlRGVzY3JpcHRpb24nLCAnZXBpbG9ndWUnXTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgZm9yIChpID0gMCwgaXogPSBzZXF1ZW5jZXMubGVuZ3RoOyBpIDwgaXo7ICsraSkge1xuICAgICAgICAgICAgICAgIG1ldGhvZCA9IHNlcXVlbmNlc1tpXTtcbiAgICAgICAgICAgICAgICBpZiAoIXRoaXNbbWV0aG9kXSgpKSB7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgLy8gU2VlayBnbG9iYWwgaW5kZXggdG8gZW5kIG9mIHRoaXMgdGFnLlxuICAgICAgICAgICAgaW5kZXggPSB0aGlzLl9sYXN0O1xuICAgICAgICAgICAgcmV0dXJuIHRoaXMuX3RhZztcbiAgICAgICAgfTtcblxuICAgICAgICBmdW5jdGlvbiBwYXJzZVRhZyhvcHRpb25zKSB7XG4gICAgICAgICAgICB2YXIgdGl0bGUsIHBhcnNlcjtcblxuICAgICAgICAgICAgLy8gc2tpcCB0byB0YWdcbiAgICAgICAgICAgIGlmICghc2tpcFRvVGFnKCkpIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gbnVsbDtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgLy8gc2NhbiB0aXRsZVxuICAgICAgICAgICAgdGl0bGUgPSBzY2FuVGl0bGUoKTtcblxuICAgICAgICAgICAgLy8gY29uc3RydWN0IHRhZyBwYXJzZXJcbiAgICAgICAgICAgIHBhcnNlciA9IG5ldyBUYWdQYXJzZXIob3B0aW9ucywgdGl0bGUpO1xuICAgICAgICAgICAgcmV0dXJuIHBhcnNlci5wYXJzZSgpO1xuICAgICAgICB9XG5cbiAgICAgICAgLy9cbiAgICAgICAgLy8gUGFyc2UgSlNEb2NcbiAgICAgICAgLy9cblxuICAgICAgICBmdW5jdGlvbiBzY2FuSlNEb2NEZXNjcmlwdGlvbihwcmVzZXJ2ZVdoaXRlc3BhY2UpIHtcbiAgICAgICAgICAgIHZhciBkZXNjcmlwdGlvbiA9ICcnLCBjaCwgYXRBbGxvd2VkO1xuXG4gICAgICAgICAgICBhdEFsbG93ZWQgPSB0cnVlO1xuICAgICAgICAgICAgd2hpbGUgKGluZGV4IDwgbGVuZ3RoKSB7XG4gICAgICAgICAgICAgICAgY2ggPSBzb3VyY2UuY2hhckNvZGVBdChpbmRleCk7XG5cbiAgICAgICAgICAgICAgICBpZiAoYXRBbGxvd2VkICYmIGNoID09PSAweDQwICAvKiAnQCcgKi8pIHtcbiAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgaWYgKGVzdXRpbHMuY29kZS5pc0xpbmVUZXJtaW5hdG9yKGNoKSkge1xuICAgICAgICAgICAgICAgICAgICBhdEFsbG93ZWQgPSB0cnVlO1xuICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoYXRBbGxvd2VkICYmICFlc3V0aWxzLmNvZGUuaXNXaGl0ZVNwYWNlKGNoKSkge1xuICAgICAgICAgICAgICAgICAgICBhdEFsbG93ZWQgPSBmYWxzZTtcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICBkZXNjcmlwdGlvbiArPSBhZHZhbmNlKCk7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIHJldHVybiBwcmVzZXJ2ZVdoaXRlc3BhY2UgPyBkZXNjcmlwdGlvbiA6IHRyaW0oZGVzY3JpcHRpb24pO1xuICAgICAgICB9XG5cbiAgICAgICAgZnVuY3Rpb24gcGFyc2UoY29tbWVudCwgb3B0aW9ucykge1xuICAgICAgICAgICAgdmFyIHRhZ3MgPSBbXSwgdGFnLCBkZXNjcmlwdGlvbiwgaW50ZXJlc3RpbmdUYWdzLCBpLCBpejtcblxuICAgICAgICAgICAgaWYgKG9wdGlvbnMgPT09IHVuZGVmaW5lZCkge1xuICAgICAgICAgICAgICAgIG9wdGlvbnMgPSB7fTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgaWYgKHR5cGVvZiBvcHRpb25zLnVud3JhcCA9PT0gJ2Jvb2xlYW4nICYmIG9wdGlvbnMudW53cmFwKSB7XG4gICAgICAgICAgICAgICAgc291cmNlID0gdW53cmFwQ29tbWVudChjb21tZW50KTtcbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgc291cmNlID0gY29tbWVudDtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgLy8gYXJyYXkgb2YgcmVsZXZhbnQgdGFnc1xuICAgICAgICAgICAgaWYgKG9wdGlvbnMudGFncykge1xuICAgICAgICAgICAgICAgIGlmIChpc0FycmF5KG9wdGlvbnMudGFncykpIHtcbiAgICAgICAgICAgICAgICAgICAgaW50ZXJlc3RpbmdUYWdzID0geyB9O1xuICAgICAgICAgICAgICAgICAgICBmb3IgKGkgPSAwLCBpeiA9IG9wdGlvbnMudGFncy5sZW5ndGg7IGkgPCBpejsgaSsrKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAodHlwZW9mIG9wdGlvbnMudGFnc1tpXSA9PT0gJ3N0cmluZycpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpbnRlcmVzdGluZ1RhZ3Nbb3B0aW9ucy50YWdzW2ldXSA9IHRydWU7XG4gICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHV0aWxpdHkudGhyb3dFcnJvcignSW52YWxpZCBcInRhZ3NcIiBwYXJhbWV0ZXI6ICcgKyBvcHRpb25zLnRhZ3MpO1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgdXRpbGl0eS50aHJvd0Vycm9yKCdJbnZhbGlkIFwidGFnc1wiIHBhcmFtZXRlcjogJyArIG9wdGlvbnMudGFncyk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICBsZW5ndGggPSBzb3VyY2UubGVuZ3RoO1xuICAgICAgICAgICAgaW5kZXggPSAwO1xuICAgICAgICAgICAgbGluZU51bWJlciA9IDA7XG4gICAgICAgICAgICByZWNvdmVyYWJsZSA9IG9wdGlvbnMucmVjb3ZlcmFibGU7XG4gICAgICAgICAgICBzbG9wcHkgPSBvcHRpb25zLnNsb3BweTtcbiAgICAgICAgICAgIHN0cmljdCA9IG9wdGlvbnMuc3RyaWN0O1xuXG4gICAgICAgICAgICBkZXNjcmlwdGlvbiA9IHNjYW5KU0RvY0Rlc2NyaXB0aW9uKG9wdGlvbnMucHJlc2VydmVXaGl0ZXNwYWNlKTtcblxuICAgICAgICAgICAgd2hpbGUgKHRydWUpIHtcbiAgICAgICAgICAgICAgICB0YWcgPSBwYXJzZVRhZyhvcHRpb25zKTtcbiAgICAgICAgICAgICAgICBpZiAoIXRhZykge1xuICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgaWYgKCFpbnRlcmVzdGluZ1RhZ3MgfHwgaW50ZXJlc3RpbmdUYWdzLmhhc093blByb3BlcnR5KHRhZy50aXRsZSkpIHtcbiAgICAgICAgICAgICAgIC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ICAgVG9rZW4gPSB7XG4gICAgICAgIElMTEVHQUw6IDAsICAgIC8vIElMTEVHQUxcbiAgICAgICAgRE9UX0xUOiAxLCAgICAgLy8gLjxcbiAgICAgICAgUkVTVDogMiwgICAgICAgLy8gLi4uXG4gICAgICAgIExUOiAzLCAgICAgICAgIC8vIDxcbiAgICAgICAgR1Q6IDQsICAgICAgICAgLy8gPlxuICAgICAgICBMUEFSRU46IDUsICAgICAvLyAoXG4gICAgICAgIFJQQVJFTjogNiwgICAgIC8vIClcbiAgICAgICAgTEJSQUNFOiA3LCAgICAgLy8ge1xuICAgICAgICBSQlJBQ0U6IDgsICAgICAvLyB9XG4gICAgICAgIExCUkFDSzogOSwgICAgLy8gW1xuICAgICAgICBSQlJBQ0s6IDEwLCAgICAvLyBdXG4gICAgICAgIENPTU1BOiAxMSwgICAgIC8vICxcbiAgICAgICAgQ09MT046IDEyLCAgICAgLy8gOlxuICAgICAgICBTVEFSOiAxMywgICAgICAvLyAqXG4gICAgICAgIFBJUEU6IDE0LCAgICAgIC8vIHxcbiAgICAgICAgUVVFU1RJT046IDE1LCAgLy8gP1xuICAgICAgICBCQU5HOiAxNiwgICAgICAvLyAhXG4gICAgICAgIEVRVUFMOiAxNywgICAgIC8vID1cbiAgICAgICAgTkFNRTogMTgsICAgICAgLy8gbmFtZSB0b2tlblxuICAgICAgICBTVFJJTkc6IDE5LCAgICAvLyBzdHJpbmdcbiAgICAgICAgTlVNQkVSOiAyMCwgICAgLy8gbnVtYmVyXG4gICAgICAgIEVPRjogMjFcbiAgICB9O1xuXG4gICAgZnVuY3Rpb24gaXNUeXBlTmFtZShjaCkge1xuICAgICAgICByZXR1cm4gJz48KCl7fVtdLDoqfD8hPScuaW5kZXhPZihTdHJpbmcuZnJvbUNoYXJDb2RlKGNoKSkgPT09IC0xICYmICFlc3V0aWxzLmNvZGUuaXNXaGl0ZVNwYWNlKGNoKSAmJiAhZXN1dGlscy5jb2RlLmlzTGluZVRlcm1pbmF0b3IoY2gpO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gpKSkge1xuICAgICAgICAgICAgICAgIGNoID0gYWR2YW5jZSgpO1xuICAgICAgICAgICAgICAgIGNvZGUgPSBjb2RlICogMTYgKyAnMDEyMzQ1Njc4OWFiY2RlZicuaW5kZXhPZihjaC50b0xvd2VyQ2FzZSgpKTtcbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuICcnO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIHJldHVybiBTdHJpbmcuZnJvbUNoYXJDb2RlKGNvZGUpO1xuICAgIH1cblxuICAgIGZ1bmN0aW9uIHNjYW5TdHJpbmcoKSB7XG4gICAgICAgIHZhciBzdHIgPSAnJywgcXVvdGUsIGNoLCBjb2RlLCB1bmVzY2FwZWQsIHJlc3RvcmU7IC8vVE9ETyByZXZpZXcgcmVtb3ZhbCBvY3RhbCA9IGZhbHNlXG4gICAgICAgIHF1b3RlID0gc291cmNlLmNoYXJBdChpbmRleCk7XG4gICAgICAgICsraW5kZXg7XG5cbiAgICAgICAgd2hpbGUgKGluZGV4IDwgbGVuZ3RoKSB7XG4gICAgICAgICAgICBjaCA9IGFkdmFuY2UoKTtcblxuICAgICAgICAgICAgaWYgKGNoID09PSBxdW90ZSkge1xuICAgICAgICAgICAgICAgIHF1b3RlID0gJyc7XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICB9IGVsc2UgaWYgKGNoID09PSAnXFxcXCcpIHtcbiAgICAgICAgICAgICAgICBjaCA9IGFkdmFuY2UoKTtcbiAgICAgICAgICAgICAgICBpZiAoIWVzdXRpbHMuY29kZS5pc0xpbmVUZXJtaW5hdG9yKGNoLmNoYXJDb2RlQXQoMCkpKSB7XG4gICAgICAgICAgICAgICAgICAgIHN3aXRjaCAoY2gpIHtcbiAgICAgICAgICAgICAgICAgICAgY2FzZSAnbic6XG4gICAgICAgICAgICAgICAgICAgICAgICBzdHIgKz0gJ1xcbic7XG4gICAgICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICAgICAgY2FzZSAncic6XG4gICAgICAgICAgICAgICAgICAgICAgICBzdHIgKz0gJ1xccic7XG4gICAgICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICAgICAgY2FzZSAndCc6XG4gICAgICAgICAgICAgICAgICAgICAgICBzdHIgKz0gJ1xcdCc7XG4gICAgICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICAgICAgY2FzZSAndSc6XG4gICAgICAgICAgICAgICAgICAgIGNhc2UgJ3gnOlxuICAgICAgICAgICAgICAgICAgICAgICAgcmVzdG9yZSA9IGluZGV4O1xuICAgICAgICAgICAgICAgICAgICAgICAgdW5lc2NhcGVkID0gc2NhbkhleEVzY2FwZShjaCk7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAodW5lc2NhcGVkKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgc3RyICs9IHVuZXNjYXBlZDtcbiAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaW5kZXggPSByZXN0b3JlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHN0ciArPSBjaDtcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgICAgICBjYXNlICdiJzpcbiAgICAgICAgICAgICAgICAgICAgICAgIHN0ciArPSAnXFxiJztcbiAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgICAgICBjYXNlICdmJzpcbiAgICAgICAgICAgICAgICAgICAgICAgIHN0ciArPSAnXFxmJztcbiAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgICAgICBjYXNlICd2JzpcbiAgICAgICAgICAgICAgICAgICAgICAgIHN0ciArPSAnXFx2JztcbiAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgICAgICAgICAgICAgIGRlZmF1bHQ6XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoZXN1dGlscy5jb2RlLmlzT2N0YWxEaWdpdChjaC5jaGFyQ29kZUF0KDApKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvZGUgPSAnMDEyMzQ1NjcnLmluZGV4T2YoY2gpO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gXFwwIGlzIG5vdCBvY3RhbCBlc2NhcGUgc2VxdWVuY2VcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyBEZXByZWNhdGluZyB1bnVzZWQgY29kZS4gVE9ETyByZXZpZXcgcmVtb3ZhbFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vaWYgKGNvZGUgIT09IDApIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyAgICBvY3RhbCA9IHRydWU7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgLy99XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoaW5kZXggPCBsZW5ndGggJiYgZXN1dGlscy5jb2RlLmlzT2N0YWxEaWdpdChzb3VyY2UuY2hhckNvZGVBdChpbmRleCkpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vVE9ETyBSZXZpZXcgUmVtb3ZhbCBvY3RhbCA9IHRydWU7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvZGUgPSBjb2RlICogOCArICcwMTIzNDU2NycuaW5kZXhPZihhZHZhbmNlKCkpO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIDMgZGlnaXRzIGFyZSBvbmx5IGFsbG93ZWQgd2hlbiBzdHJpbmcgc3RhcnRzXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vIHdpdGggMCwgMSwgMiwgM1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoJzAxMjMnLmluZGV4T2YoY2gpID49IDAgJiZcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpbmRleCA8IGxlbmd0aCAmJlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGVzdXRpbHMuY29kZS5pc09jdGFsRGlnaXQoc291cmNlLmNoYXJDb2RlQXQoaW5kZXgpKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY29kZSA9IGNvZGUgKiA4ICsgJzAxMjM0NTY3Jy5pbmRleE9mKGFkdmFuY2UoKSk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgc3RyICs9IFN0cmluZy5mcm9tQ2hhckNvZGUoY29kZSk7XG4gICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHN0ciArPSBjaDtcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgaWYgKGNoID09PSAgJ1xccicgJiYgc291cmNlLmNoYXJDb2RlQXQoaW5kZXgpID09PSAweDBBICAvKiAnXFxuJyAqLykge1xuICAgICAgICAgICAgICAgICAgICAgICAgKytpbmRleDtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0gZWxzZSBpZiAoZXN1dGlscy5jb2RlLmlzTGluZVRlcm1pbmF0b3IoY2guY2hhckNvZGVBdCgwKSkpIHtcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgc3RyICs9IGNoO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgaWYgKHF1b3RlICE9PSAnJykge1xuICAgICAgICAgICAgdXRpbGl0eS50aHJvd0Vycm9yKCd1bmV4cGVjdGVkIHF1b3RlJyk7XG4gICAgICAgIH1cblxuICAgICAgICB2YWx1ZSA9IHN0cjtcbiAgICAgICAgcmV0dXJuIFRva2VuLlNUUklORztcbiAgICB9XG5cbiAgICBmdW5jdGlvbiBzY2FuTnVtYmVyKCkge1xuICAgICAgICB2YXIgbnVtYmVyLCBjaDtcblxuICAgICAgICBudW1iZXIgPSAnJztcbiAgICAgICAgY2ggPSBzb3VyY2UuY2hhckNvZGVBdChpbmRleCk7XG5cbiAgICAgICAgaWYgKGNoICE9PSAweDJFICAvKiAnLicgKi8pIHtcbiAgICAgICAgICAgIG51bWJlciA9IGFkdmFuY2UoKTtcbiAgICAgICAgICAgIGNoID0gc291cmNlLmNoYXJDb2RlQXQoaW5kZXgpO1xuXG4gICAgICAgICAgICBpZiAobnVtYmVyID09PSAnMCcpIHtcbiAgICAgICAgICAgICAgICBpZiAoY2ggPT09IDB4NzggIC8qICd4JyAqLyB8fCBjaCA9PT0gMHg1OCAgLyogJ1gnICovKSB7XG4gICAgICAgICAgICAgICAgICAgIG51bWJlciArPSBhZHZhbmNlKCk7XG4gICAgICAgICAgICAgICAgICAgIHdoaWxlIChpbmRleCA8IGxlbmd0aCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgY2ggPSBzb3VyY2UuY2hhckNvZGVBdChpbmRleCk7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoIWVzdXRpbHMuY29kZS5pc0hleERpZ2l0KGNoKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgbnVtYmVyICs9IGFkdmFuY2UoKTtcbiAgICAgICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgICAgIGlmIChudW1iZXIubGVuZ3RoIDw9IDIpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIC8vIG9ubHkgMHhcbiAgICAgICAgICAgICAgICAgICAgICAgIHV0aWxpdHkudGhyb3dFcnJvcigndW5leHBlY3RlZCB0b2tlbicpO1xuICAgICAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAgICAgaWYgKGluZGV4IDwgbGVuZ3RoKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBjaCA9IHNvdXJjZS5jaGFyQ29kZUF0KGluZGV4KTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChlc3V0aWxzLmNvZGUuaXNJZGVudGlmaWVyU3RhcnQoY2gpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdXRpbGl0eS50aHJvd0Vycm9yKCd1bmV4cGVjdGVkIHRva2VuJyk7XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgdmFsdWUgPSBwYXJzZUludChudW1iZXIsIDE2KTtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFRva2VuLk5VTUJFUjtcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICBpZiAoZXN1dGlscy5jb2RlLmlzT2N0YWxEaWdpdChjaCkpIHtcbiAgICAgICAgICAgICAgICAgICAgbnVtYmVyICs9IGFkdmFuY2UoKTtcbiAgICAgICAgICAgICAgICAgICAgd2hpbGUgKGluZGV4IDwgbGVuZ3RoKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBjaCA9IHNvdXJjZS5jaGFyQ29kZUF0KGluZGV4KTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmICghZXN1dGlscy5jb2RlLmlzT2N0YWxEaWdpdChjaCkpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIG51bWJlciArPSBhZHZhbmNlKCk7XG4gICAgICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgICAgICBpZiAoaW5kZXggPCBsZW5ndGgpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGNoID0gc291cmNlLmNoYXJDb2RlQXQoaW5kZXgpO1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGVzdXRpbHMuY29kZS5pc0lkZW50aWZpZXJTdGFydChjaCkgfHwgZXN1dGlscy5jb2RlLmlzRGVjaW1hbERpZ2l0KGNoKSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHV0aWxpdHkudGhyb3dFcnJvcigndW5leHBlY3RlZCB0b2tlbicpO1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIHZhbHVlID0gcGFyc2VJbnQobnVtYmVyLCA4KTtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFRva2VuLk5VTUJFUjtcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICBpZiAoZXN1dGlscy5jb2RlLmlzRGVjaW1hbERpZ2l0KGNoKSkge1xuICAgICAgICAgICAgICAgICAgICB1dGlsaXR5LnRocm93RXJyb3IoJ3VuZXhwZWN0ZWQgdG9rZW4nKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIHdoaWxlIChpbmRleCA8IGxlbmd0aCkge1xuICAgICAgICAgICAgICAgIGNoID0gc291cmNlLmNoYXJDb2RlQXQoaW5kZXgpO1xuICAgICAgICAgICAgICAgIGlmICghZXN1dGlscy5jb2RlLmlzRGVjaW1hbERpZ2l0KGNoKSkge1xuICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgbnVtYmVyICs9IGFkdmFuY2UoKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIGlmIChjaCA9PT0gMHgyRSAgLyogJy4nICovKSB7XG4gICAgICAgICAgICBudW1iZXIgKz0gYWR2YW5jZSgpO1xuICAgICAgICAgICAgd2hpbGUgKGluZGV4IDwgbGVuZ3RoKSB7XG4gICAgICAgICAgICAgICAgY2ggPSBzb3VyY2UuY2hhckNvZGVBdChpbmRleCk7XG4gICAgICAgICAgICAgICAgaWYgKCFlc3V0aWxzLmNvZGUuaXNEZWNpbWFsRGlnaXQoY2gpKSB7XG4gICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICBudW1iZXIgKz0gYWR2YW5jZSgpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgaWYgKGNoID09PSAweDY1ICAvKiAnZScgKi8gfHwgY2ggPT09IDB4NDUgIC8qICdFJyAqLykge1xuICAgICAgICAgICAgbnVtYmVyICs9IGFkdmFuY2UoKTtcblxuICAgICAgICAgICAgY2ggPSBzb3VyY2UuY2hhckNvZGVBdChpbmRleCk7XG4gICAgICAgICAgICBpZiAoY2ggPT09IDB4MkIgIC8qICcrJyAqLyB8fCBjaCA9PT0gMHgyRCAgLyogJy0nICovKSB7XG4gICAgICAgICAgICAgICAgbnVtYmVyICs9IGFkdmFuY2UoKTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgY2ggPSBzb3VyY2UuY2hhckNvZGVBdChpbmRleCk7XG4gICAgICAgICAgICBpZiAoZXN1dGlscy5jb2RlLmlzRGVjaW1hbERpZ2l0KGNoKSkge1xuICAgICAgICAgICAgICAgIG51bWJlciArPSBhZHZhbmNlKCk7XG4gICAgICAgICAgICAgICAgd2hpbGUgKGluZGV4IDwgbGVuZ3RoKSB7XG4gICAgICAgICAgICAgICAgICAgIGNoID0gc291cmNlLmNoYXJDb2RlQXQoaW5kZXgpO1xuICAgICAgICAgICAgICAgICAgICBpZiAoIWVzdXRpbHMuY29kZS5pc0RlY2ltYWxEaWdpdChjaCkpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIG51bWJlciArPSBhZHZhbmNlKCk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICB1dGlsaXR5LnRocm93RXJyb3IoJ3VuZXhwZWN0ZWQgdG9rZW4nKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIGlmIChpbmRleCA8IGxlbmd0aCkge1xuICAgICAgICAgICAgY2ggPSBzb3VyY2UuY2hhckNvZGVBdChpbmRleCk7XG4gICAgICAgICAgICBpZiAoZXN1dGlscy5jb2RlLmlzSWRlbnRpZmllclN0YXJ0KGNoKSkge1xuICAgICAgICAgICAgICAgIHV0aWxpdHkudGhyb3dFcnJvcigndW5leHBlY3RlZCB0b2tlbicpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgdmFsdWUgPSBwYXJzZUZsb2F0KG51bWJlcik7XG4gICAgICAgIHJldHVybiBUb2tlbi5OVU1CRVI7XG4gICAgfVxuXG5cbiAgICBmdW5jdGlvbiBzY2FuVHlwZU5hbWUoKSB7XG4gICAgICAgIHZhciBjaCwgY2gyO1xuXG4gICAgICAgIHZhbHVlID0gYWR2YW5jZSgpO1xuICAgICAgICB3aGlsZSAoaW5kZXggPCBsZW5ndGggJiYgaXNUeXBlTmFtZShzb3VyY2UuY2hhckNvZGVBdChpbmRleCkpKSB7XG4gICAgICAgICAgICBjaCA9IHNvdXJjZS5jaGFyQ29kZUF0KGluZGV4KTtcbiAgICAgICAgICAgIGlmIChjaCA9PT0gMHgyRSAgLyogJy4nICovKSB7XG4gICAgICAgICAgICAgICAgaWYgKChpbmRleCArIDEpID49IGxlbmd0aCkge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4gVG9rZW4uSUxMRUdBTDtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgY2gyID0gc291cmNlLmNoYXJDb2RlQXQoaW5kZXggKyAxKTtcbiAgICAgICAgICAgICAgICBpZiAoY2gyID09PSAweDNDICAvKiAnPCcgKi8pIHtcbiAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICAgICAgdmFsdWUgKz0gYWR2YW5jZSgpO1xuICAgICAgICB9XG4gICAgICAgIHJldHVybiBUb2tlbi5OQU1FO1xuICAgIH1cblxuICAgIGZ1bmN0aW9uIG5leHQoKSB7XG4gICAgICAgIHZhciBjaDtcblxuICAgICAgICBwcmV2aW91cyA9IGluZGV4O1xuXG4gICAgICAgIHdoaWxlIChpbmRleCA8IGxlbmd0aCAmJiBlc3V0aWxzLmNvZGUuaXNXaGl0ZVNwYWNlKHNvdXJjZS5jaGFyQ29kZUF0KGluZGV4KSkpIHtcbiAgICAgICAgICAgIGFkdmFuY2UoKTtcbiAgICAgICAgfVxuICAgICAgICBpZiAoaW5kZXggPj0gbGVuZ3RoKSB7XG4gICAgICAgICAgICB0b2tlbiA9IFRva2VuLkVPRjtcbiAgICAgICAgICAgIHJldHVybiB0b2tlbjtcbiAgICAgICAgfVxuXG4gICAgICAgIGNoID0gc291cmNlLmNoYXJDb2RlQXQoaW5kZXgpO1xuICAgICAgICBzd2l0Y2ggKGNoKSB7XG4gICAgICAgIGNhc2UgMHgyNzogIC8qICcnJyAqL1xuICAgICAgICBjYXNlIDB4MjI6ICAvKiAnXCInICovXG4gICAgICAgICAgICB0b2tlbiA9IHNjYW5TdHJpbmcoKTtcbiAgICAgICAgICAgIHJldHVybiB0b2tlbjtcblxuICAgICAgICBjYXNlIDB4M0E6ICAvKiAnOicgKi9cbiAgICAgICAgICAgIGFkdmFuY2UoKTtcbiAgICAgICAgICAgIHRva2VuID0gVG9rZW4uQ09MT047XG4gICAgICAgICAgICByZXR1cm4gdG9rZW47XG5cbiAgICAgICAgY2FzZSAweDJDOiAgLyogJywnICovXG4gICAgICAgICAgICBhZHZhbmNlKCk7XG4gICAgICAgICAgICB0b2tlbiA9IFRva2VuLkNPTU1BO1xuICAgICAgICAgICAgcmV0dXJuIHRva2VuO1xuXG4gICAgICAgIGNhc2UgMHgyODogIC8qICcoJyAqL1xuICAgICAgICAgICAgYWR2YW5jZSgpO1xuICAgICAgICAgICAgdG9rZW4gPSBUb2tlbi5MUEFSRU47XG4gICAgICAgICAgICByZXR1cm4gdG9rZW47XG5cbiAgICAgICAgY2FzZSAweDI5OiAgLyogJyknICovXG4gICAgICAgICAgICBhZHZhbmNlKCk7XG4gICAgICAgICAgICB0b2tlbiA9IFRva2VuLlJQQVJFTjtcbiAgICAgICAgICAgIHJldHVybiB0b2tlbjtcblxuICAgICAgICBjYXNlIDB4NUI6ICAvKiAnWycgKi9cbiAgICAgICAgICAgIGFkdmFuY2UoKTtcbiAgICAgICAgICAgIHRva2VuID0gVG9rZW4uTEJSQUNLO1xuICAgICAgICAgICAgcmV0dXJuIHRva2VuO1xuXG4gICAgICAgIGNhc2UgMHg1RDogIC8qICddJyAqL1xuICAgICAgICAgICAgYWR2YW5jZSgpO1xuICAgICAgICAgICAgdG9rZW4gPSBUb2tlbi5SQlJBQ0s7XG4gICAgICAgICAgICByZXR1cm4gdG9rZW47XG5cbiAgICAgICAgY2FzZSAweDdCOiAgLyogJ3snICovXG4gICAgICAgICAgICBhZHZhbmNlKCk7XG4gICAgICAgICAgICB0b2tlbiA9IFRva2VuLkxCUkFDRTtcbiAgICAgICAgICAgIHJldHVybiB0b2tlbjtcblxuICAgICAgICBjYXNlIDB4N0Q6ICAvKiAnfScgKi9cbiAgICAgICAgICAgIGFkdmFuY2UoKTtcbiAgICAgICAgICAgIHRva2VuID0gVG9rZW4uUkJSQUNFO1xuICAgICAgICAgICAgcmV0dXJuIHRva2VuO1xuXG4gICAgICAgIGNhc2UgMHgyRTogIC8qICcuJyAqL1xuICAgICAgICAgICAgaWYgKGluZGV4ICsgMSA8IGxlbmd0aCkge1xuICAgICAgICAgICAgICAgIGNoID0gc291cmNlLmNoYXJDb2RlQXQoaW5kZXggKyAxKTtcbiAgICAgICAgICAgICAgICBpZiAoY2ggPT09IDB4M0MgIC8qICc8JyAqLykge1xuICAgICAgICAgICAgICAgICAgICBhZHZhbmNlKCk7ICAvLyAnLidcbiAgICAgICAgICAgICAgICAgICAgYWR2YW5jZSgpOyAgLy8gJzwnXG4gICAgICAgICAgICAgICAgICAgIHRva2VuID0gVG9rZW4uRE9UX0xUO1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4gdG9rZW47XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgaWYgKGNoID09PSAweDJFICAvKiAnLicgKi8gJiYgaW5kZXggKyAyIDwgbGVuZ3RoICYmIHNvdXJjZS5jaGFyQ29kZUF0KGluZGV4ICsgMikgPT09IDB4MkUgIC8qICcuJyAqLykge1xuICAgICAgICAgICAgICAgICAgICBhZHZhbmNlKCk7ICAvLyAnLidcbiAgICAgICAgICAgICAgICAgICAgYWR2YW5jZSgpOyAgLy8gJy4nXG4gICAgICAgICAgICAgICAgICAgIGFkdmFuY2UoKTsgIC8vICcuJ1xuICAgICAgICAgICAgICAgICAgICB0b2tlbiA9IFRva2VuLlJFU1Q7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiB0b2tlbjtcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICBpZiAoZXN1dGlscy5jb2RlLmlzRGVjaW1hbERpZ2l0KGNoKSkge1xuICAgICAgICAgICAgICAgICAgICB0b2tlbiA9IHNjYW5OdW1iZXIoKTtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHRva2VuO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHRva2VuID0gVG9rZW4uSUxMRUdBTDtcbiAgICAgICAgICAgIHJldHVybiB0b2tlbjtcblxuICAgICAgICBjYXNlIDB4M0M6ICAvKiAnPCcgKi9cbiAgICAgICAgICAgIGFkdmFuY2UoKTtcbiAgICAgICAgICAgIHRva2VuID0gVG9rZW4uTFQ7XG4gICAgICAgICAgICByZXR1cm4gdG9rZW47XG5cbiAgICAgICAgY2FzZSAweDNFOiAgLyogJz4nICovXG4gICAgICAgICAgICBhZHZhbmNlKCk7XG4gICAgICAgICAgICB0b2tlbiA9IFRva2VuLkdUO1xuICAgICAgICAgICAgcmV0dXJuIHRva2VuO1xuXG4gICAgICAgIGNhc2UgMHgyQTogIC8qICcqJyAqL1xuICAgICAgICAgICAgYWR2YW5jZSgpO1xuICAgICAgICAgICAgdG9rZW4gPSBUb2tlbi5TVEFSO1xuICAgICAgICAgICAgcmV0dXJuIHRva2VuO1xuXG4gICAgICAgIGNhc2UgMHg3QzogIC8qICd8JyAqL1xuICAgICAgICAgICAgYWR2YW5jZSgpO1xuICAgICAgICAgICAgdG9rZW4gPSBUb2tlbi5QSVBFO1xuICAgICAgICAgICAgcmV0dXJuIHRva2VuO1xuXG4gICAgICAgIGNhc2UgMHgzRjogIC8qICc/JyAqL1xuICAgICAgICAgICAgYWR2YW5jZSgpO1xuICAgICAgICAgICAgdG9rZW4gPSBUb2tlbi5RVUVTVElPTjtcbiAgICAgICAgICAgIHJldHVybiB0b2tlbjtcblxuICAgICAgICBjYXNlIDB4MjE6ICAvKiAnIScgKi9cbiAgICAgICAgICAgIGFkdmFuY2UoKTtcbiAgICAgICAgICAgIHRva2VuID0gVG9rZW4uQkFORztcbiAgICAgICAgICAgIHJldHVybiB0b2tlbjtcblxuICAgICAgICBjYXNlIDB4M0Q6ICAvKiAnPScgKi9cbiAgICAgICAgICAgIGFkdmFuY2UoKTtcbiAgICAgICAgICAgIHRva2VuID0gVG9rZW4uRVFVQUw7XG4gICAgICAgICAgICByZXR1cm4gdG9rZW47XG5cbiAgICAgICAgZGVmYXVsdDpcbiAgICAgICAgICAgIGlmIChlc3V0aWxzLmNvZGU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gICAvLyAgfCBUeXBlRXhwcmVzc2lvblxuICAgIC8vICB8ICcuLi4nIFR5cGVFeHByZXNzaW9uXG4gICAgLy8gIHwgVHlwZUV4cHJlc3Npb24gJywnIEVsZW1lbnRUeXBlTGlzdFxuICAgIGZ1bmN0aW9uIHBhcnNlQXJyYXlUeXBlKCkge1xuICAgICAgICB2YXIgZWxlbWVudHM7XG4gICAgICAgIGNvbnN1bWUoVG9rZW4uTEJSQUNLLCAnQXJyYXlUeXBlIHNob3VsZCBzdGFydCB3aXRoIFsnKTtcbiAgICAgICAgZWxlbWVudHMgPSBbXTtcbiAgICAgICAgd2hpbGUgKHRva2VuICE9PSBUb2tlbi5SQlJBQ0spIHtcbiAgICAgICAgICAgIGlmICh0b2tlbiA9PT0gVG9rZW4uUkVTVCkge1xuICAgICAgICAgICAgICAgIGNvbnN1bWUoVG9rZW4uUkVTVCk7XG4gICAgICAgICAgICAgICAgZWxlbWVudHMucHVzaCh7XG4gICAgICAgICAgICAgICAgICAgIHR5cGU6IFN5bnRheC5SZXN0VHlwZSxcbiAgICAgICAgICAgICAgICAgICAgZXhwcmVzc2lvbjogcGFyc2VUeXBlRXhwcmVzc2lvbigpXG4gICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIGVsZW1lbnRzLnB1c2gocGFyc2VUeXBlRXhwcmVzc2lvbigpKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGlmICh0b2tlbiAhPT0gVG9rZW4uUkJSQUNLKSB7XG4gICAgICAgICAgICAgICAgZXhwZWN0KFRva2VuLkNPTU1BKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICBleHBlY3QoVG9rZW4uUkJSQUNLKTtcbiAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgIHR5cGU6IFN5bnRheC5BcnJheVR5cGUsXG4gICAgICAgICAgICBlbGVtZW50czogZWxlbWVudHNcbiAgICAgICAgfTtcbiAgICB9XG5cbiAgICBmdW5jdGlvbiBwYXJzZUZpZWxkTmFtZSgpIHtcbiAgICAgICAgdmFyIHYgPSB2YWx1ZTtcbiAgICAgICAgaWYgKHRva2VuID09PSBUb2tlbi5OQU1FIHx8IHRva2VuID09PSBUb2tlbi5TVFJJTkcpIHtcbiAgICAgICAgICAgIG5leHQoKTtcbiAgICAgICAgICAgIHJldHVybiB2O1xuICAgICAgICB9XG5cbiAgICAgICAgaWYgKHRva2VuID09PSBUb2tlbi5OVU1CRVIpIHtcbiAgICAgICAgICAgIGNvbnN1bWUoVG9rZW4uTlVNQkVSKTtcbiAgICAgICAgICAgIHJldHVybiBTdHJpbmcodik7XG4gICAgICAgIH1cblxuICAgICAgICB1dGlsaXR5LnRocm93RXJyb3IoJ3VuZXhwZWN0ZWQgdG9rZW4nKTtcbiAgICB9XG5cbiAgICAvLyBGaWVsZFR5cGUgOj1cbiAgICAvLyAgICAgRmllbGROYW1lXG4gICAgLy8gICB8IEZpZWxkTmFtZSAnOicgVHlwZUV4cHJlc3Npb25cbiAgICAvL1xuICAgIC8vIEZpZWxkTmFtZSA6PVxuICAgIC8vICAgICBOYW1lRXhwcmVzc2lvblxuICAgIC8vICAgfCBTdHJpbmdMaXRlcmFsXG4gICAgLy8gICB8IE51bWJlckxpdGVyYWxcbiAgICAvLyAgIHwgUmVzZXJ2ZWRJZGVudGlmaWVyXG4gICAgZnVuY3Rpb24gcGFyc2VGaWVsZFR5cGUoKSB7XG4gICAgICAgIHZhciBrZXk7XG5cbiAgICAgICAga2V5ID0gcGFyc2VGaWVsZE5hbWUoKTtcbiAgICAgICAgaWYgKHRva2VuID09PSBUb2tlbi5DT0xPTikge1xuICAgICAgICAgICAgY29uc3VtZShUb2tlbi5DT0xPTik7XG4gICAgICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgICAgIHR5cGU6IFN5bnRheC5GaWVsZFR5cGUsXG4gICAgICAgICAgICAgICAga2V5OiBrZXksXG4gICAgICAgICAgICAgICAgdmFsdWU6IHBhcnNlVHlwZUV4cHJlc3Npb24oKVxuICAgICAgICAgICAgfTtcbiAgICAgICAgfVxuICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgdHlwZTogU3ludGF4LkZpZWxkVHlwZSxcbiAgICAgICAgICAgIGtleToga2V5LFxuICAgICAgICAgICAgdmFsdWU6IG51bGxcbiAgICAgICAgfTtcbiAgICB9XG5cbiAgICAvLyBSZWNvcmRUeXBlIDo9ICd7JyBGaWVsZFR5cGVMaXN0ICd9J1xuICAgIC8vXG4gICAgLy8gRmllbGRUeXBlTGlzdCA6PVxuICAgIC8vICAgICA8PGVtcHR5Pj5cbiAgICAvLyAgIHwgRmllbGRUeXBlXG4gICAgLy8gICB8IEZpZWxkVHlwZSAnLCcgRmllbGRUeXBlTGlzdFxuICAgIGZ1bmN0aW9uIHBhcnNlUmVjb3JkVHlwZSgpIHtcbiAgICAgICAgdmFyIGZpZWxkcztcblxuICAgICAgICBjb25zdW1lKFRva2VuLkxCUkFDRSwgJ1JlY29yZFR5cGUgc2hvdWxkIHN0YXJ0IHdpdGggeycpO1xuICAgICAgICBmaWVsZHMgPSBbXTtcbiAgICAgICAgaWYgKHRva2VuID09PSBUb2tlbi5DT01NQSkge1xuICAgICAgICAgICAgY29uc3VtZShUb2tlbi5DT01NQSk7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICB3aGlsZSAodG9rZW4gIT09IFRva2VuLlJCUkFDRSkge1xuICAgICAgICAgICAgICAgIGZpZWxkcy5wdXNoKHBhcnNlRmllbGRUeXBlKCkpO1xuICAgICAgICAgICAgICAgIGlmICh0b2tlbiAhPT0gVG9rZW4uUkJSQUNFKSB7XG4gICAgICAgICAgICAgICAgICAgIGV4cGVjdChUb2tlbi5DT01NQSk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIGV4cGVjdChUb2tlbi5SQlJBQ0UpO1xuICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgdHlwZTogU3ludGF4LlJlY29yZFR5cGUsXG4gICAgICAgICAgICBmaWVsZHM6IGZpZWxkc1xuICAgICAgICB9O1xuICAgIH1cblxuICAgIC8vIE5hbWVFeHByZXNzaW9uIDo9XG4gICAgLy8gICAgSWRlbnRpZmllclxuICAgIC8vICB8IFRhZ0lkZW50aWZpZXIgJzonIElkZW50aWZpZXJcbiAgICAvL1xuICAgIC8vIFRhZyBpZGVudGlmaWVyIGlzIG9uZSBvZiBcIm1vZHVsZVwiLCBcImV4dGVybmFsXCIgb3IgXCJldmVudFwiXG4gICAgLy8gSWRlbnRpZmllciBpcyB0aGUgc2FtZSBhcyBUb2tlbi5OQU1FLCBpbmNsdWRpbmcgYW55IGRvdHMsIHNvbWV0aGluZyBsaWtlXG4gICAgLy8gbmFtZXNwYWNlLm1vZHVsZS5NeUNsYXNzXG4gICAgZnVuY3Rpb24gcGFyc2VOYW1lRXhwcmVzc2lvbigpIHtcbiAgICAgICAgdmFyIG5hbWUgPSB2YWx1ZTtcbiAgICAgICAgZXhwZWN0KFRva2VuLk5BTUUpO1xuXG4gICAgICAgIGlmICh0b2tlbiA9PT0gVG9rZW4uQ09MT04gJiYgKFxuICAgICAgICAgICAgICAgIG5hbWUgPT09ICdtb2R1bGUnIHx8XG4gICAgICAgICAgICAgICAgbmFtZSA9PT0gJ2V4dGVybmFsJyB8fFxuICAgICAgICAgICAgICAgIG5hbWUgPT09ICdldmVudCcpKSB7XG4gICAgICAgICAgICBjb25zdW1lKFRva2VuLkNPTE9OKTtcbiAgICAgICAgICAgIG5hbWUgKz0gJzonICsgdmFsdWU7XG4gICAgICAgICAgICBleHBlY3QoVG9rZW4uTkFNRSk7XG4gICAgICAgIH1cblxuICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgdHlwZTogU3ludGF4Lk5hbWVFeHByZXNzaW9uLFxuICAgICAgICAgICAgbmFtZTogbmFtZVxuICAgICAgICB9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sZSAodG9rZW4gIT09IFRva2VuLlJQQVJFTikge1xuICAgICAgICAgICAgaWYgKHRva2VuID09PSBUb2tlbi5SRVNUKSB7XG4gICAgICAgICAgICAgICAgLy8gUmVzdFBhcmFtZXRlclR5cGVcbiAgICAgICAgICAgICAgICBjb25zdW1lKFRva2VuLlJFU1QpO1xuICAgICAgICAgICAgICAgIHJlc3QgPSB0cnVlO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICBleHByID0gcGFyc2VUeXBlRXhwcmVzc2lvbigpO1xuICAgICAgICAgICAgaWYgKGV4cHIudHlwZSA9PT0gU3ludGF4Lk5hbWVFeHByZXNzaW9uICYmIHRva2VuID09PSBUb2tlbi5DT0xPTikge1xuICAgICAgICAgICAgICAgIC8vIElkZW50aWZpZXIgJzonIFR5cGVFeHByZXNzaW9uXG4gICAgICAgICAgICAgICAgY29uc3VtZShUb2tlbi5DT0xPTik7XG4gICAgICAgICAgICAgICAgZXhwciA9IHtcbiAgICAgICAgICAgICAgICAgICAgdHlwZTogU3ludGF4LlBhcmFtZXRlclR5cGUsXG4gICAgICAgICAgICAgICAgICAgIG5hbWU6IGV4cHIubmFtZSxcbiAgICAgICAgICAgICAgICAgICAgZXhwcmVzc2lvbjogcGFyc2VUeXBlRXhwcmVzc2lvbigpXG4gICAgICAgICAgICAgICAgfTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGlmICh0b2tlbiA9PT0gVG9rZW4uRVFVQUwpIHtcbiAgICAgICAgICAgICAgICBjb25zdW1lKFRva2VuLkVRVUFMKTtcbiAgICAgICAgICAgICAgICBleHByID0ge1xuICAgICAgICAgICAgICAgICAgICB0eXBlOiBTeW50YXguT3B0aW9uYWxUeXBlLFxuICAgICAgICAgICAgICAgICAgICBleHByZXNzaW9uOiBleHByXG4gICAgICAgICAgICAgICAgfTtcbiAgICAgICAgICAgICAgICBvcHRpb25hbFNlcXVlbmNlID0gdHJ1ZTtcbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgaWYgKG9wdGlvbmFsU2VxdWVuY2UpIHtcbiAgICAgICAgICAgICAgICAgICAgdXRpbGl0eS50aHJvd0Vycm9yKCd1bmV4cGVjdGVkIHRva2VuJyk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICAgICAgaWYgKHJlc3QpIHtcbiAgICAgICAgICAgICAgICBleHByID0ge1xuICAgICAgICAgICAgICAgICAgICB0eXBlOiBTeW50YXguUmVzdFR5cGUsXG4gICAgICAgICAgICAgICAgICAgIGV4cHJlc3Npb246IGV4cHJcbiAgICAgICAgICAgICAgICB9O1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgcGFyYW1zLnB1c2goZXhwcik7XG4gICAgICAgICAgICBpZiAodG9rZW4gIT09IFRva2VuLlJQQVJFTikge1xuICAgICAgICAgICAgICAgIGV4cGVjdChUb2tlbi5DT01NQSk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIHBhcmFtcztcbiAgICB9XG5cbiAgICAvLyBGdW5jdGlvblR5cGUgOj0gJ2Z1bmN0aW9uJyBGdW5jdGlvblNpZ25hdHVyZVR5cGVcbiAgICAvL1xuICAgIC8vIEZ1bmN0aW9uU2lnbmF0dXJlVHlwZSA6PVxuICAgIC8vICAgfCBUeXBlUGFyYW1ldGVycyAnKCcgJyknIFJlc3VsdFR5cGVcbiAgICAvLyAgIHwgVHlwZVBhcmFtZXRlcnMgJygnIFBhcmFtZXRlcnNUeXBlICcpJyBSZXN1bHRUeXBlXG4gICAgLy8gICB8IFR5cGVQYXJhbWV0ZXJzICcoJyAndGhpcycgJzonIFR5cGVOYW1lICcpJyBSZXN1bHRUeXBlXG4gICAgLy8gICB8IFR5cGVQYXJhbWV0ZXJzICcoJyAndGhpcycgJzonIFR5cGVOYW1lICcsJyBQYXJhbWV0ZXJzVHlwZSAnKScgUmVzdWx0VHlwZVxuICAgIGZ1bmN0aW9uIHBhcnNlRnVuY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gICAgICBleHBlY3QoVG9rZW4uQ09MT04pO1xuICAgICAgICAgICAgICAgIHRoaXNCaW5kaW5nID0gcGFyc2VUeXBlTmFtZSgpO1xuICAgICAgICAgICAgICAgIGlmICh0b2tlbiA9PT0gVG9rZW4uQ09NTUEpIHtcbiAgICAgICAgICAgICAgICAgICAgY29uc3VtZShUb2tlbi5DT01NQSk7XG4gICAgICAgICAgICAgICAgICAgIHBhcmFtcyA9IHBhcnNlUGFyYW1ldGVyc1R5cGUoKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIHBhcmFtcyA9IHBhcnNlUGFyYW1ldGVyc1R5cGUoKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIGV4cGVjdChUb2tlbi5SUEFSRU4pO1xuXG4gICAgICAgIHJlc3VsdCA9IG51bGw7XG4gICAgICAgIGlmICh0b2tlbiA9PT0gVG9rZW4uQ09MT04pIHtcbiAgICAgICAgICAgIHJlc3VsdCA9IHBhcnNlUmVzdWx0VHlwZSgpO1xuICAgICAgICB9XG5cbiAgICAgICAgZm5UeXBlID0ge1xuICAgICAgICAgICAgdHlwZTogU3ludGF4LkZ1bmN0aW9uVHlwZSxcbiAgICAgICAgICAgIHBhcmFtczogcGFyYW1zLFxuICAgICAgICAgICAgcmVzdWx0OiByZXN1bHRcbiAgICAgICAgfTtcbiAgICAgICAgaWYgKHRoaXNCaW5kaW5nKSB7XG4gICAgICAgICAgICAvLyBhdm9pZCBhZGRpbmcgbnVsbCAnbmV3JyBhbmQgJ3RoaXMnIHByb3BlcnRpZXNcbiAgICAgICAgICAgIGZuVHlwZVsndGhpcyddID0gdGhpc0JpbmRpbmc7XG4gICAgICAgICAgICBpZiAoaXNOZXcpIHtcbiAgICAgICAgICAgICAgICBmblR5cGVbJ25ldyddID0gdHJ1ZTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gZm5UeXBlO1xuICAgIH1cblxuICAgIC8vIEJhc2ljVHlwZUV4cHJlc3Npb24gOj1cbiAgICAvLyAgICAgJyonXG4gICAgLy8gICB8ICdudWxsJ1xuICAgIC8vICAgfCAndW5kZWZpbmVkJ1xuICAgIC8vICAgfCBUeXBlTmFtZVxuICAgIC8vICAgfCBGdW5jdGlvblR5cGVcbiAgICAvLyAgIHwgVW5pb25UeXBlXG4gICAgLy8gICB8IFJlY29yZFR5cGVcbiAgICAvLyAgIHwgQXJyYXlUeXBlXG4gICAgZnVuY3Rpb24gcGFyc2VCYXNpY1R5cGVFeHByZXNzaW9uKCkge1xuICAgICAgICB2YXIgY29udGV4dDtcbiAgICAgICAgc3dpdGNoICh0b2tlbikge1xuICAgICAgICBjYXNlIFRva2VuLlNUQVI6XG4gICAgICAgICAgICBjb25zdW1lKFRva2VuLlNUQVIpO1xuICAgICAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgICAgICB0eXBlOiBTeW50YXguQWxsTGl0ZXJhbFxuICAgICAgICAgICAgfTtcblxuICAgICAgICBjYXNlIFRva2VuLkxQQVJFTjpcbiAgICAgICAgICAgIHJldHVybiBwYXJzZVVuaW9uVHlwZSgpO1xuXG4gICAgICAgIGNhc2UgVG9rZW4uTEJSQUNLOlxuICAgICAgICAgICAgcmV0dXJuIHBhcnNlQXJyYXlUeXBlKCk7XG5cbiAgICAgICAgY2FzZSBUb2tlbi5MQlJBQ0U6XG4gICAgICAgICAgICByZXR1cm4gcGFyc2VSZWNvcmRUeXBlKCk7XG5cbiAgICAgICAgY2FzZSBUb2tlbi5OQU1FOlxuICAgICAgICAgICAgaWYgKHZhbHVlID09PSAnbnVsbCcpIHtcbiAgICAgICAgICAgICAgICBjb25zdW1lKFRva2VuLk5BTUUpO1xuICAgICAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgICAgICAgIHR5cGU6IFN5bnRheC5OdWxsTGl0ZXJhbFxuICAgICAgICAgICAgICAgIH07XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIGlmICh2YWx1ZSA9PT0gJ3VuZGVmaW5lZCcpIHtcbiAgICAgICAgICAgICAgICBjb25zdW1lKFRva2VuLk5BTUUpO1xuICAgICAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgICAgICAgIHR5cGU6IFN5bnRheC5VbmRlZmluZWRMaXRlcmFsXG4gICAgICAgICAgICAgICAgfTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgY29udGV4dCA9IENvbnRleHQuc2F2ZSgpO1xuICAgICAgICAgICAgaWYgKHZhbHVlID09PSAnZnVuY3Rpb24nKSB7XG4gICAgICAgICAgICAgICAgdHJ5IHtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHBhcnNlRnVuY3Rpb25UeXBlKCk7XG4gICAgICAgICAgICAgICAgfSBjYXRjaCAoZSkge1xuICAgICAgICAgICAgICAgICAgICBjb250ZXh0LnJlc3RvcmUoKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIHJldHVybiBwYXJzZVR5cGVOYW1lKCk7XG5cbiAgICAgICAgZGVmYXVsdDpcbiAgICAgICAgICAgIHV0aWxpdHkudGhyb3dFcnJvcigndW5leHBlY3RlZCB0b2tlbicpO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgLy8gVHlwZUV4cHJlc3Npb24gOj1cbiAgICAvLyAgICAgQmFzaWNUeXBlRXhwcmVzc2lvblxuICAgIC8vICAgfCAnPycgQmFzaWNUeXBlRXhwcmVzc2lvblxuICAgIC8vICAgfCAnIScgQmFzaWNUeXBlRXhwcmVzc2lvblxuICAgIC8vICAgfCBCYXNpY1R5cGVFeHByZXNzaW9uICc/J1xuICAgIC8vICAgfCBCYXNpY1R5cGVFeHByZXNzaW9uICchJ1xuICAgIC8vICAgfCAnPydcbiAgICAvLyAgIHwgQmFzaWNUeXBlRXhwcmVzc2lvbiAnW10nXG4gICAgZnVuY3Rpb24gcGFyc2VUeXBlRXhwcmVzc2lvbigpIHtcbiAgICAgICAgdmFyIGV4cHI7XG5cbiAgICAgICAgaWYgKHRva2VuID09PSBUb2tlbi5RVUVTVElPTikge1xuICAgICAgICAgICAgY29uc3VtZShUb2tlbi5RVUVTVElPTik7XG4gICAgICAgICAgICBpZiAodG9rZW4gPT09IFRva2VuLkNPTU1BIHx8IHRva2VuID09PSBUb2tlbi5FUVVBTCB8fCB0b2tlbiA9PT0gVG9rZW4uUkJSQUNFIHx8XG4gICAgICAgICAgICAgICAgICAgIHRva2VuID09PSBUb2tlbi5SUEFSRU4gfHwgdG9rZW4gPT09IFRva2VuLlBJUEUgfHwgdG9rZW4gPT09IFRva2VuLkVPRiB8fFxuICAgICAgICAgICAgICAgICAgICB0b2tlbiA9PT0gVG9rZW4uUkJSQUNLIHx8IHRva2VuID09PSBUb2tlbi5HVCkge1xuICAgICAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgICAgICAgIHR5cGU6IFN5bnRheC5OdWxsYWJsZUxpdGVyYWxcbiAgICAgICAgICAgICAgICB9O1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgICAgICB0eXBlOiBTeW50YXguTnVsbGFibGVUeXBlLFxuICAgICAgICAgICAgICAgIGV4cHJlc3Npb246IHBhcnNlQmFzaWNUeXBlRXhwcmVzc2lvbigpLFxuICAgICAgICAgICAgICAgIHByZWZpeDogdHJ1ZVxuICAgICAgICAgICAgfTtcbiAgICAgICAgfVxuXG4gICAgICAgIGlmICh0b2tlbiA9PT0gVG9rZW4uQkFORykge1xuICAgICAgICAgICAgY29uc3VtZShUb2tlbi5CQU5HKTtcbiAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgICAgdHlwZTogU3ludGF4Lk5vbk51bGxhYmxlVHlwZSxcbiAgICAgICAgICAgICAgICBleHByZXNzaW9uOiBwYXJzZUJhc2ljVHlwZUV4cHJlc3Npb24oKSxcbiAgICAgICAgICAgICAgICBwcmVmaXg6IHRydWVcbiAgICAgICAgICAgIH07XG4gICAgICAgIH1cblxuICAgICAgICBleHByID0gcGFyc2VCYXNpY1R5cGVFeHByZXNzaW9uKCk7XG4gICAgICAgIGlmICh0b2tlbiA9PT0gVG9rZW4uQkFORykge1xuICAgICAgICAgICAgY29uc3VtZShUb2tlbi5CQU5HKTtcbiAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgICAgdHlwZTogU3ludGF4Lk5vbk51bGxhYmxlVHlwZSxcbiAgICAgICAgICAgICAgICBleHByZXNzaW9uOiBleHByLFxuICAgICAgICAgICAgICAgIHByZWZpeDogZmFsc2VcbiAgICAgICAgICAgIH07XG4gICAgICAgIH1cblxuICAgICAgICBpZiAodG9rZW4gPT09IFRva2VuLlFVRVNUSU9OKSB7XG4gICAgICAgICAgICBjb25zdW1lKFRva2VuLlFVRVNUSU9OKTtcbiAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgICAgdHlwZTogU3ludGF4Lk51bGxhYmxlVHlwZSxcbiAgICAgICAgICAgICAgICBleHByZXNzaW9uOiBleHByLFxuICAgICAgICAgICAgICAgIHByZWZpeDogZmFsc2VcbiAgICAgICAgICAgIH07XG4gICAgICAgIH1cblxuICAgICAgICBpZiAodG9rZW4gPT09IFRva2VuLkxCUkFDSykge1xuICAgICAgICAgICAgY29uc3VtZShUb2tlbi5MQlJBQ0spO1xuICAgICAgICAgICAgZXhwZWN0KFRva2VuLlJCUkFDSywgJ2V4cGVjdGVkIGFuIGFycmF5LXN0eWxlIHR5cGUgZGVjbGFyYXRpb24gKCcgKyB2YWx1ZSArICdbXSknKTtcbiAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgICAgdHlwZTogU3ludGF4LlR5cGVBcHBsaWNhdGlvbixcbiAgICAgICAgICAgICAgICBleHByZXNzaW9uOiB7XG4gICAgICAgICAgICAgICAgICAgIHR5cGU6IFN5bnRheC5OYW1lRXhwcmVzc2lvbixcbiAgICAgICAgICAgICAgICAgICAgbmFtZTogJ0FycmF5J1xuICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgICAgYXBwbGljYXRpb25zOiBbZXhwcl1cbiAgICAgICAgICAgIH07XG4gICAgICAgIH1cblxuICAgICAgICByZXR1cm4gZXhwcjtcbiAgICB9XG5cbiAgICAvLyBUb3BMZXZlbFR5cGVFeHByZXNzaW9uIDo9XG4gICAgLy8gICAgICBUeXBlRXhwcmVzc2lvblxuICAgIC8vICAgIHwgVHlwZVVuaW9uTGlzdFxuICAgIC8vXG4gICAgLy8gVGhpcyBydWxlIGlzIEdvb2dsZSBDbG9zdXJlIENvbXBpbGVyIGV4dGVuc2lvbiwgbm90IEVTNFxuICAgIC8vIGxpa2UsXG4gICAgLy8gICB7IG51bWJlciB8IHN0cmluZyB9XG4gICAgLy8gSWYgc3RyaWN0IHRvIEVTNCwgd2Ugc2hvdWxkIHdyaXRlIGl0IGFzXG4gICAgLy8gICB7IChudW1iZXJ8c3RyaW5nKSB9XG4gICAgZnVuY3Rpb24gcGFyc2VUb3AoKSB7XG4gICAgICAgIHZhciBleHByLCBlbGVtZW50cztcblxuICAgICAgICBleHByID0gcGFyc2VUeXBlRXhwcmVzc2lvbigpO1xuICAgICAgICBpZiAodG9rZW4gIT09IFRva2VuLlBJUEUpIHtcbiAgICAgICAgICAgIHJldHVybiBleHByO1xuICAgICAgICB9XG5cbiAgICAgICAgZWxlbWVudHMgPSBbIGV4cHIgXTtcbiAgICAgICAgY29uc3VtZShUb2tlbi5QSVBFKTtcbiAgICAgICAgd2hpbGUgKHRydWUpIHtcbiAgICAgICAgICAgIGVsZW1lbnRzLnB1c2gocGFyc2VUeXBlRXhwcmVzc2lvbigpKTtcbiAgICAgICAgICAgIGlmICh0b2tlbiAhPT0gVG9rZW4uUElQRSkge1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgY29uc3VtZShUb2tlbi5QSVBFKTtcbiAgICAgICAgfVxuXG4gICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICB0eXBlOiBTeW50YXguVW5pb25UeXBlLFxuICAgICAgICAgICAgZWxlbWVudHM6IGVsZW1lbnRzXG4gICAgICAgIH07XG4gICAgfVxuXG4gICAgZnVuY3Rpb24gcGFyc2VUb3BQYXJhbVR5cGUoKSB7XG4gICAgICAgIHZhciBleHByO1xuXG4gICAgICAgIGlmICh0b2tlbiA9PT0gVG9rZW4uUkVTVCkge1xuICAgICAgICAgICAgY29uc3VtZShUb2tlbi5SRVNUKTtcbiAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgICAgdHlwZTogU3ludGF4LlJlc3RUeXBlLFxuICAgICAgICAgICAgICAgIGV4cHJlc3Npb246IHBhcnNlVG9wKClcbiAgICAgICAgICAgIH07XG4gICAgICAgIH1cblxuICAgICAgICBleHByID0gcGFyc2VUb3AoKTtcbiAgICAgICAgaWYgKHRva2VuID09PSBUb2tlbi5FUVVBTCkge1xuICAgICAgICAgICAgY29uc3VtZShUb2tlbi5FUVVBTCk7XG4gICAgICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgICAgIHR5cGU6IFN5bnRheC5PcHRpb25hbFR5cGUsXG4gICAgICAgICAgICAgICAgZXhwcmVzc2lvbjogZXhwclxuICAgICAgICAgICAgfTtcbiAgICAgICAgfVxuXG4gICAgICAgIHJldHVybiBleHByO1xuICAgIH1cblxuICAgIGZ1bmN0aW9uIHBhcnNlVHlwZShzcmMsIG9wdCkge1xuICAgICAgICB2YXIgZXhwcjtcblxuICAgICAgICBzb3VyY2UgPSBzcmM7XG4gICAgICAgIGxlbmd0aCA9IHNvdXJjZS5sZW5ndGg7XG4gICAgICAgIGluZGV4ID0gMDtcbiAgICAgICAgcHJldmlvdXMgPSAwO1xuXG4gICAgICAgIG5leHQoKTtcbiAgICAgICAgZXhwciA9IHBhcnNlVG9wKCk7XG5cbiAgICAgICAgaWYgKG9wdCAmJiBvcHQubWlkc3RyZWFtKSB7XG4gICAgICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgICAgIGV4cHJlc3Npb246IGV4cHIsXG4gICAgICAgICAgICAgICAgaW5kZXg6IHByZXZpb3VzXG4gICAgICAgICAgICB9O1xuICAgICAgICB9XG5cbiAgICAgICAgaWYgKHRva2VuICE9PSBUb2tlbi5FT0YpIHtcbiAgICAgICAgICAgIHV0aWxpdHkudGhyb3dFcnJvcignbm90IHJlYWNoIHRvIEVPRicpO1xuICAgICAgICB9XG5cbiAgICAgICAgcmV0dXJuIGV4cHI7XG4gICAgfVxuXG4gICAgZnVuY3Rpb24gcGFyc2VQYXJhbVR5cGUoc3JjLCBvcHQpIHtcbiAgICAgICAgdmFyIGV4cHI7XG5cbiAgICAgICAgc291cmNlID0gc3JjO1xuICAgICAgICBsZW5ndGggPSBzb3VyY2UubGVuZ3RoO1xuICAgICAgICBpbmRleCA9IDA7XG4gICAgICAgIHByZXZpb3VzID0gMDtcblxuICAgICAgICBuZXh0KCk7XG4gICAgICAgIGV4cHIgPSBwYXJzZVRvcFBhcmFtVHlwZSgpO1xuXG4gICAgICAgIGlmIChvcHQgJiYgb3B0Lm1pZHN0cmVhbSkge1xuICAgICAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgICAgICBleHByZXNzaW9uOiBleHByLFxuICAgICAgICAgICAgICAgIGluZGV4OiBwcmV2aW91c1xuICAgICAgICAgICAgfTtcbiAgICAgICAgfVxuXG4gICAgICAgIGlmICh0b2tlbiAhPT0gVG9rZW4uRU9GKSB7XG4gICAgICAgICAgICB1dGlsaXR5LnRocm93RXJyb3IoJ25vdCByZWFjaCB0byBFT0YnKTtcbiAgICAgICAgfVxuXG4gICAgICAgIHJldHVybiBleHByO1xuICAgIH1cblxuICAgIGZ1bmN0aW9uIHN0cmluZ2lmeUltcGwobm9kZSwgY29tcGFjdCwgdG9wTGV2ZWwpIHtcbiAgICAgICAgdmFyIHJlc3VsdCwgaSwgaXo7XG5cbiAgICAgICAgc3dpdGNoIChub2RlLnR5cGUpIHtcbiAgICAgICAgY2FzZSBTeW50YXguTnVsbGFibGVMaXRlcmFsOlxuICAgICAgICAgICAgcmVzdWx0ID0gJz8nO1xuICAgICAgICAgICAgYnJlYWs7XG5cbiAgICAgICAgY2FzZSBTeW50YXguQWxsTGl0ZXJhbDpcbiAgICAgICAgICAgIHJlc3VsdCA9ICcqJztcbiAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgIGNhc2UgU3ludGF4Lk51bGxMaXRlcmFsOlxuICAgICAgICAgICAgcmVzdWx0ID0gJ251bGwnO1xuICAgICAgICAgICAgYnJlYWs7XG5cbiAgICAgICAgY2FzZSBTeW50YXguVW5kZWZpbmVkTGl0ZXJhbDpcbiAgICAgICAgICAgIHJlc3VsdCA9ICd1bmRlZmluZWQnO1xuICAgICAgICAgICAgYnJlYWs7XG5cbiAgICAgICAgY2FzZSBTeW50YXguVm9pZExpdGVyYWw6XG4gICAgICAgICAgICByZXN1bHQgPSAndm9pZCc7XG4gICAgICAgICAgICBicmVhaztcblxuICAgICAgICBjYXNlIFN5bnRheC5VbmlvblR5cGU6XG4gICAgICAgICAgICBpZiAoIXRvcExldmVsKSB7XG4gICAgICAgICAgICAgICAgcmVzdWx0ID0gJygnO1xuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICByZXN1bHQgPSAnJztcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgZm9yIChpID0gMCwgaXogPSBub2RlLmVsZW1lbnRzLmxlbmd0aDsgaSA8IGl6OyArK2kpIHtcbiAgICAgICAgICAgICAgICByZXN1bHQgKz0gc3RyaW5naWZ5SW1wbChub2RlLmVsZW1lbnRzW2ldLCBjb21wYWN0KTtcbiAgICAgICAgICAgICAgICBpZiAoKGkgKyAxKSAhPT0gaXopIHtcbiAgICAgICAgICAgICAgICAgICAgcmVzdWx0ICs9ICd8JztcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIGlmICghdG9wTGV2ZWwpIHtcbiAgICAgICAgICAgICAgICByZXN1bHQgKz0gJyknO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgYnJlYWs7XG5cbiAgICAgICAgY2FzZSBTeW50YXguQXJyYXlUeXBlOlxuICAgICAgICAgICAgcmVzdWx0ID0gJ1snO1xuICAgICAgICAgICAgZm9yIChpID0gMCwgaXogPSBub2RlLmVsZW1lbnRzLmxlbmd0aDsgaSA8IGl6OyArK2kpIHtcbiAgICAgICAgICAgICAgICByZXN1bHQgKz0gc3RyaW5naWZ5SW1wbChub2RlLmVsZW1lbnRzW2ldLCBjb21wYWN0KTtcbiAgICAgICAgICAgICAgICBpZiAoKGkgKyAxKSAhPT0gaXopIHtcbiAgICAgICAgICAgICAgICAgICAgcmVzdWx0ICs9IGNvbXBhY3QgPyAnLCcgOiAnLCAnO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHJlc3VsdCArPSAnXSc7XG4gICAgICAgICAgICBicmVhaztcblxuICAgICAgICBjYXNlIFN5bnRheC5SZWNvcmRUeXBlOlxuICAgICAgICAgICAgcmVzdWx0ID0gJ3snO1xuICAgICAgICAgICAgZm9yIChpID0gMCwgaXogPSBub2RlLmZpZWxkcy5sZW5ndGg7IGkgPCBpejsgKytpKSB7XG4gICAgICAgICAgICAgICAgcmVzdWx0ICs9IHN0cmluZ2lmeUltcGwobm9kZS5maWVsZHNbaV0sIGNvbXBhY3QpO1xuICAgICAgICAgICAgICAgIGlmICgoaSArIDEpICE9PSBpeikge1xuICAgICAgICAgICAgICAgICAgICByZXN1bHQgKz0gY29tcGFjdCA/ICcsJyA6ICcsICc7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICAgICAgcmVzdWx0ICs9ICd9JztcbiAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgIGNhc2UgU3ludGF4LkZpZWxkVHlwZTpcbiAgICAgICAgICAgIGlmIChub2RlLnZhbHVlKSB7XG4gICAgICAgICAgICAgICAgcmVzdWx0ID0gbm9kZS5rZXkgKyAoY29tcGFjdCA/ICc6JyA6ICc6ICcpICsgc3RyaW5naWZ5SW1wbChub2RlLnZhbHVlLCBjb21wYWN0KTtcbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgcmVzdWx0ID0gbm9kZS5rZXk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBicmVhaztcblxuICAgICAgICBjYXNlIFN5bnRheC5GdW5jdGlvblR5cGU6XG4gICAgICAgICAgICByZXN1bHQgPSBjb21wYWN0ID8gJ2Z1bmN0aW9uKCcgOiAnZnVuY3Rpb24gKCc7XG5cbiAgICAgICAgICAgIGlmIChub2RlWyd0aGlzJ10pIHtcbiAgICAgICAgICAgICAgICBpZiAobm9kZVsnbmV3J10pIHtcbiAgICAgICAgICAgICAgICAgICAgcmVzdWx0ICs9IChjb21wYWN0ID8gJ25ldzonIDogJ25ldzogJyk7XG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgcmVzdWx0ICs9IChjb21wYWN0ID8gJ3RoaXM6JyA6ICd0aGlzOiAnKTtcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICByZXN1bHQgKz0gc3RyaW5naWZ5SW1wbChub2RlWyd0aGlzJ10sIGNvbXBhY3QpO1xuXG4gICAgICAgICAgICAgICAgaWYgKG5vZGUucGFyYW1zLmxlbmd0aCAhPT0gMCkge1xuICAgICAgICAgICAgICAgICAgICByZXN1bHQgKz0gY29tcGFjdCA/ICcsJyA6ICcsICc7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICBmb3IgKGkgPSAwLCBpeiA9IG5vZGUucGFyYW1zLmxlbmd0aDsgaSA8IGl6OyArK2kpIHtcbiAgICAgICAgICAgICAgICByZXN1bHQgKz0gc3RyaW5naWZ5SW1wbChub2RlLnBhcmFtc1tpXSwgY29tcGFjdCk7XG4gICAgICAgICAgICAgICAgaWYgKChpICsgMSkgIT09IGl6KSB7XG4gICAgICAgICAgICAgICAgICAgIHJlc3VsdCArPSBjb21wYWN0ID8gJywnIDogJywgJztcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIHJlc3VsdCArPSAnKSc7XG5cbiAgICAgICAgICAgIGlmIChub2RlLnJlc3VsdCkge1xuICAgICAgICAgICAgICAgIHJlc3VsdCArPSAoY29tcGFjdCA/ICc6JyA6ICc6ICcpICsgc3RyaW5naWZ5SW1wbChub2RlLnJlc3VsdCwgY29tcGFjdCk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBicmVhaztcblxuICAgICAgICBjYXNlIFN5bnRheC5QYXJhbWV0ZXJUeXBlOlxuICAgICAgICAgICAgcmVzdWx0ID0gbm9kZS5uYW1lICsgKGNvbXBhY3QgPyAnOicgOiAnOiAnKSArIHN0cmluZ2lmeUltcGwobm9kZS5leHByZXNzaW9uLCBjb21wYWN0KTtcbiAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgIGNhc2UgU3ludGF4LlJlc3RUeXBlOlxuICAgICAgICAgICAgcmVzdWx0ID0gJy4uLic7XG4gICAgICAgICAgICBpZiAobm9kZS5leHByZXNzaW9uKSB7XG4gICAgICAgICAgICAgICAgcmVzdWx0ICs9IHN0cmluZ2lmeUltcGwobm9kZS5leHByZXNzaW9uLCBjb21wYWN0KTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgIGNhc2UgU3ludGF4Lk5vbk51bGxhYmxlVHlwZTpcbiAgICAgICAgICAgIGlmIChub2RlLnByZWZpeCkge1xuICAgICAgICAgICAgICAgIHJlc3VsdCA9ICchJyArIHN0cmluZ2lmeUltcGwobm9kZS5leHByZXNzaW9uLCBjb21wYWN0KTtcbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgcmVzdWx0ID0gc3RyaW5naWZ5SW1wbChub2RlLmV4cHJlc3Npb24sIGNvbXBhY3QpICsgJyEnO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgYnJlYWs7XG5cbiAgICAgICAgY2FzZSBTeW50YXguT3B0aW9uYWxUeXBlOlxuICAgICAgICAgICAgcmVzdWx0ID0gc3RyaW5naWZ5SW1wbChub2RlLmV4cHJlc3Npb24sIGNvbXBhY3QpICsgJz0nO1xuICAgICAgICAgICAgYnJlYWs7XG5cbiAgICAgICAgY2FzZSBTeW50YXguTnVsbGFibGVUeXBlOlxuICAgICAgICAgICAgaWYgKG5vZGUucHJlZml4KSB7XG4gICAgICAgICAgICAgICAgcmVzdWx0ID0gJz8nICsgc3RyaW5naWZ5SW1wbChub2RlLmV4cHJlc3Npb24sIGNvbXBhY3QpO1xuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICByZXN1bHQgPSBzdHJpbmdpZnlJbXBsKG5vZGUuZXhwcmVzc2lvbiwgY29tcGFjdCkgKyAnPyc7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBicmVhaztcblxuICAgICAgICBjYXNlIFN5bnRheC5OYW1lRXhwcmVzc2lvbjpcbiAgICAgICAgICAgIHJlc3VsdCA9IG5vZGUubmFtZTtcbiAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgIGNhc2UgU3ludGF4LlR5cGVBcHBsaWNhdGlvbjpcbiAgICAgICAgICAgIHJlc3VsdCA9IHN0cmluZ2lmeUltcGwobm9kZS5leHByZXNzaW9uLCBjb21wYWN0KSArICcuPCc7XG4gICAgICAgICAgICBmb3IgKGkgPSAwLCBpeiA9IG5vZGUuYXBwbGljYXRpb25zLmxlbmd0aDsgaSA8IGl6OyArK2kpIHtcbiAgICAgICAgICAgICAgICByZXN1bHQgKz0gc3RyaW5naWZ5SW1wbChub2RlLmFwcGxpY2F0aW9uc1tpXSwgY29tcGFjdCk7XG4gICAgICAgICAgICAgICAgaWYgKChpICsgMSkgIT09IGl6KSB7XG4gICAgICAgICAgICAgICAgICAgIHJlc3VsdCArPSBjb21wYWN0ID8gJywnIDogJywgJztcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICByZXN1bHQgKz0gJz4nO1xuICAgICAgICAgICAgYnJlYWs7XG5cbiAgICAgICAgZGVmYXVsdDpcbiAgICAgICAgICAgIHV0aWxpdHkudGhyb3dFcnJvcignVW5rbm93biB0eXBlICcgKyBub2RlLnR5cGUpO1xuICAgICAgICB9XG5cbiAgICAgICAgcmV0dXJuIHJlc3VsdDtcbiAgICB9XG5cbiAgICBmdW5jdGlvbiBzdHJpbmdpZnkobm9kZSwgb3B0aW9ucykge1xuICAgICAgICBpZiAob3B0aW9ucyA9PSBudWxsKSB7XG4gICAgICAgICAgICBvcHRpb25zID0ge307XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIHN0cmluZ2lmeUltcGwobm9kZSwgb3B0aW9ucy5jb21wYWN0LCBvcHRpb25zLnRvcExldmVsKTtcbiAgICB9XG5cbiAgICBleHBvcnRzLnBhcnNlVHlwZSA9IHBhcnNlVHlwZTtcbiAgICBleHBvcnRzLnBhcnNlUGFyYW1UeXBlID0gcGFyc2VQYXJhbVR5cGU7XG4gICAgZXhwb3J0cy5zdHJpbmdpZnkgPSBzdHJpbmdpZnk7XG4gICAgZXhwb3J0cy5TeW50YXggPSBTeW50YXg7XG59KCkpO1xuLyogdmltOiBzZXQgc3c9NCB0cz00IGV0IHR3PTgwIDogKi9cbiIsIi8qXG4gIENvcHlyaWdodCAoQykgMjAxNCBZdXN1a2UgU3V6dWtpIDx1dGF0YW5lLnRlYUBnbWFpbC5jb20+XG5cbiAgUmVkaXN0cmlidXRpb24gYW5kIHVzZSBpbiBzb3VyY2UgYW5kIGJpbmFyeSBmb3Jtcywgd2l0aCBvciB3aXRob3V0XG4gIG1vZGlmaWNhdGlvbiwgYXJlIHBlcm1pdHRlZ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GVFdBUkUsIEVWRU4gSUYgQURWSVNFRCBPRiBUSEUgUE9TU0lCSUxJVFkgT0YgU1VDSCBEQU1BR0UuXG4qL1xuXG4oZnVuY3Rpb24gKCkge1xuICAgICd1c2Ugc3RyaWN0JztcblxuICAgIGZ1bmN0aW9uIGlzRXhwcmVzc2lvbihub2RlKSB7XG4gICAgICAgIGlmIChub2RlID09IG51bGwpIHsgcmV0dXJuIGZhbHNlOyB9XG4gICAgICAgIHN3aXRjaCAobm9kZS50eXBlKSB7XG4gICAgICAgICAgICBjYXNlICdBcnJheUV4cHJlc3Npb24nOlxuICAgICAgICAgICAgY2FzZSAnQXNzaWdubWVudEV4cHJlc3Npb24nOlxuICAgICAgICAgICAgY2FzZSAnQmluYXJ5RXhwcmVzc2lvbic6XG4gICAgICAgICAgICBjYXNlICdDYWxsRXhwcmVzc2lvbic6XG4gICAgICAgICAgICBjYXNlICdDb25kaXRpb25hbEV4cHJlc3Npb24nOlxuICAgICAgICAgICAgY2FzZSAnRnVuY3Rpb25FeHByZXNzaW9uJzpcbiAgICAgICAgICAgIGNhc2UgJ0lkZW50aWZpZXInOlxuICAgICAgICAgICAgY2FzZSAnTGl0ZXJhbCc6XG4gICAgICAgICAgICBjYXNlICdMb2dpY2FsRXhwcmVzc2lvbic6XG4gICAgICAgICAgICBjYXNlICdNZW1iZXJFeHByZXNzaW9uJzpcbiAgICAgICAgICAgIGNhc2UgJ05ld0V4cHJlc3Npb24nOlxuICAgICAgICAgICAgY2FzZSAnT2JqZWN0RXhwcmVzc2lvbic6XG4gICAgICAgICAgICBjYXNlICdTZXF1ZW5jZUV4cHJlc3Npb24nOlxuICAgICAgICAgICAgY2FzZSAnVGhpc0V4cHJlc3Npb24nOlxuICAgICAgICAgICAgY2FzZSAnVW5hcnlFeHByZXNzaW9uJzpcbiAgICAgICAgICAgIGNhc2UgJ1VwZGF0ZUV4cHJlc3Npb24nOlxuICAgICAgICAgICAgICAgIHJldHVybiB0cnVlO1xuICAgICAgICB9XG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AgICAgICBjYXNlICdXaGlsZVN0YXRlbWVudCc6XG4gICAgICAgIGNhc2UgJ1dpdGhTdGF0ZW1lbnQnOlxuICAgICAgICAgICAgcmV0dXJuIG5vZGUuYm9keTtcbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gbnVsbDtcbiAgICB9XG5cbiAgICBmdW5jdGlvbiBpc1Byb2JsZW1hdGljSWZTdGF0ZW1lbnQobm9kZSkge1xuICAgICAgICB2YXIgY3VycmVudDtcblxuICAgICAgICBpZiAobm9kZS50eXBlICE9PSAnSWZTdGF0ZW1lbnQnKSB7XG4gICAgICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgICAgIH1cbiAgICAgICAgaWYgKG5vZGUuYWx0ZXJuYXRlID09IG51bGwpIHtcbiAgICAgICAgICAgIHJldHVybiBmYWxzZTtcbiAgICAgICAgfVxuICAgICAgICBjdXJyZW50ID0gbm9kZS5jb25zZXF1ZW50O1xuICAgICAgICBkbyB7XG4gICAgICAgICAgICBpZiAoY3VycmVudC50eXBlID09PSAnSWZTdGF0ZW1lbnQnKSB7XG4gICAgICAgICAgICAgICAgaWYgKGN1cnJlbnQuYWx0ZXJuYXRlID09IG51bGwpICB7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiB0cnVlO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGN1cnJlbnQgPSB0cmFpbGluZ1N0YXRlbWVudChjdXJyZW50KTtcbiAgICAgICAgfSB3aGlsZSAoY3VycmVudCk7XG5cbiAgICAgICAgcmV0dXJuIGZhbHNlO1xuICAgIH1cblxuICAgIG1vZHVsZS5leHBvcnRzID0ge1xuICAgICAgICBpc0V4cHJlc3Npb246IGlzRXhwcmVzc2lvbixcbiAgICAgICAgaXNTdGF0ZW1lbnQ6IGlzU3RhdGVtZW50LFxuICAgICAgICBpc0l0ZXJhdGlvblN0YXRlbWVudDogaXNJdGVyYXRpb25TdGF0ZW1lbnQsXG4gICAgICAgIGlzU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pIHx8IChjaCA9PT0gMHgwQikgfHwgKGNoID09PSAweDBDKSB8fCAoY2ggPT09IDB4QTApIHx8XG4gICAgICAgICAgICAoY2ggPj0gMHgxNjgwICYmIE5PTl9BU0NJSV9XSElURVNQQUNFUy5pbmRleE9mKGNoKSA+PSAwKTtcbiAgICB9XG5cbiAgICAvLyA3LjMgTGluZSBUZXJtaW5hdG9yc1xuXG4gICAgZnVuY3Rpb24gaXNMaW5lVGVybWluYXRvcihjaCkge1xuICAgICAgICByZXR1cm4gKGNoID09PSAweDBBKSB8fCAoY2ggPT09IDB4MEQpIHx8IChjaCA9PT0gMHgyMDI4KSB8fCAoY2ggPT09IDB4MjAyOSk7XG4gICAgfVxuXG4gICAgLy8gNy42IElkZW50aWZpZXIgTmFtZXMgYW5kIElkZW50aWZpZXJzXG5cbiAgICBmdW5jdGlvbiBpc0lkZW50aWZpZXJTdGFydChjaCkge1xuICAgICAgICByZXR1cm4gKGNoID49IDk3ICYmIGNoIDw9IDEyMikgfHwgICAgIC8vIGEuLnpcbiAgICAgICAgICAgIChjaCA+PSA2NSAmJiBjaCA8PSA5MCkgfHwgICAgICAgICAvLyBBLi5aXG4gICAgICAgICAgICAoY2ggPT09IDM2KSB8fCAoY2ggPT09IDk1KSB8fCAgICAgLy8gJCAoZG9sbGFyKSBhbmQgXyAodW5kZXJzY29yZSlcbiAgICAgICAgICAgIChjaCA9PT0gOTIpIHx8ICAgICAgICAgICAgICAgICAgICAvLyBcXCAoYmFja3NsYXNoKVxuICAgICAgICAgICAgKChjaCA+PSAweDgwKSAmJiBSZWdleC5Ob25Bc2NpaUlkZW50aWZpZXJTdGFydC50ZXN0KFN0cmluZy5mcm9tQ2hhckNvZGUoY2gpKSk7XG4gICAgfVxuXG4gICAgZnVuY3Rpb24gaXNJZGVudGlmaWVyUGFydChjaCkge1xuICAgICAgICByZXR1cm4gKGNoID49IDk3ICYmIGNoIDw9IDEyMikgfHwgICAgIC8vIGEuLnpcbiAgICAgICAgICAgIChjaC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gICAgICAgICAgIHJldHVybiAoaWQgPT09ICd3aGlsZScpIHx8IChpZCA9PT0gJ2JyZWFrJykgfHwgKGlkID09PSAnY2F0Y2gnKSB8fFxuICAgICAgICAgICAgICAgIChpZCA9PT0gJ3Rocm93JykgfHwgKGlkID09PSAnY29uc3QnKSB8fCAoaWQgPT09ICd5aWVsZCcpIHx8XG4gICAgICAgICAgICAgICAgKGlkID09PSAnY2xhc3MnKSB8fCAoaWQgPT09ICdzdXBlcicpO1xuICAgICAgICBjYXNlIDY6XG4gICAgICAgICAgICByZXR1cm4gKGlkID09PSAncmV0dXJuJykgfHwgKGlkID09PSAndHlwZW9mJykgfHwgKGlkID09PSAnZGVsZXRlJykgfHxcbiAgICAgICAgICAgICAgICAoaWQgPT09ICdzd2l0Y2gnKSB8fCAoaWQgPT09ICdleHBvcnQnKSB8fCAoaWQgPT09ICdpbXBvcnQnKTtcbiAgICAgICAgY2FzZSA3OlxuICAgICAgICAgICAgcmV0dXJuIChpZCA9PT0gJ2RlZmF1bHQnKSB8fCAoaWQgPT09ICdmaW5hbGx5JykgfHwgKGlkID09PSAnZXh0ZW5kcycpO1xuICAgICAgICBjYXNlIDg6XG4gICAgICAgICAgICByZXR1cm4gKGlkID09PSAnZnVuY3Rpb24nKSB8fCAoaWQgPT09ICdjb250aW51ZScpIHx8IChpZCA9PT0gJ2RlYnVnZ2VyJyk7XG4gICAgICAgIGNhc2UgMTA6XG4gICAgICAgICAgICByZXR1cm4gKGlkID09PSAnaW5zdGFuY2VvZicpO1xuICAgICAgICBkZWZhdWx0OlxuICAgICAgICAgICAgcmV0dXJuIGZhbHNlO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgZnVuY3Rpb24gaXNSZXNlcnZlZFdvcmRFUzUoaWQsIHN0cmljdCkge1xuICAgICAgICByZXR1cm4gaWQgPT09ICdudWxsJyB8fCBpZCA9PT0gJ3RydWUnIHx8IGlkID09PSAnZmFsc2UnIHx8IGlzS2V5d29yZEVTNShpZCwgc3Ry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6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsyNTZdfX19fX19fX19LCAweDREOiB7bDogezB4NTA6IHtsOiB7MHgzQjoge2M6IFszOF19fSwgYzogWzM4XX19fSwgMHg2RToge2w6IHsweDY0OiB7bDogezB4M0I6IHtjOiBbMTA4MzVdfX19fX0sIDB4NkY6IHtsOiB7MHg2Nzoge2w6IHsweDZGOiB7bDogezB4NkU6IHtsOiB7MHgzQjoge2M6IFsyNjBdfX19fX19fSwgMHg3MDoge2w6IHsweDY2OiB7bDogezB4M0I6IHtjOiBbMTIwMTIwXX19fX19fX0sIDB4NzA6IHtsOiB7MHg3MDoge2w6IHsweDZDOiB7bDogezB4Nzk6IHtsOiB7MHg0Njoge2w6IHsweDc1OiB7bDogezB4NkU6IHtsOiB7MHg2Mzoge2w6IHsweDc0OiB7bDogezB4Njk6IHtsOiB7MHg2Rjoge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbODI4OV19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDcyOiB7bDogezB4Njk6IHtsOiB7MHg2RToge2w6IHsweDY3OiB7bDogezB4M0I6IHtjOiBbMTk3XX19LCBjOiBbMTk3XX19fX19fX0sIDB4NzM6IHtsOiB7MHg2Mzoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTE5OTY0XX19fX19LCAweDczOiB7bDogezB4Njk6IHtsOiB7MHg2Nzoge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbODc4OF19fX19fX19fX19fSwgMHg3NDoge2w6IHsweDY5OiB7bDogezB4NkM6IHtsOiB7MHg2NDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMTk1XX19LCBjOiBbMTk1XX19fX19fX19fSwgMHg3NToge2w6IHsweDZEOiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFsxOTZdfX0sIGM6IFsxOTZdfX19fX19fSxcclxuICAgIDB4NjE6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4NzU6IHtsOiB7MHg3NDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMjI1XX19LCBjOiBbMjI1XX19fX19fX19fSwgMHg2Mjoge2w6IHsweDcyOiB7bDogezB4NjU6IHtsOiB7MHg3Njoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMjU5XX19fX19fX19fX19LCAweDYzOiB7bDogezB4M0I6IHtjOiBbODc2Nl19LCAweDY0OiB7bDogezB4M0I6IHtjOiBbODc2N119fX0sIDB4NDU6IHtsOiB7MHgzQjoge2M6IFs4NzY2LCA4MTldfX19LCAweDY5OiB7bDogezB4NzI6IHtsOiB7MHg2Mzoge2w6IHsweDNCOiB7YzogWzIyNl19fSwgYzogWzIyNl19fX19fSwgMHg3NToge2w6IHsweDc0OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFsxODBdfX0sIGM6IFsxODBdfX19fX0sIDB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMDcyXX19fX19LCAweDY1OiB7bDogezB4NkM6IHtsOiB7MHg2OToge2w6IHsweDY3OiB7bDogezB4M0I6IHtjOiBbMjMwXX19LCBjOiBbMjMwXX19fX19fX0sIDB4NjY6IHtsOiB7MHgzQjoge2M6IFs4Mjg5XX0sIDB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMjAwOTRdfX19fX0sIDB4Njc6IHtsOiB7MHg3Mjoge2w6IHsweDYxOiB7bDogezB4NzY6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzIyNF19fSwgYzogWzIyNF19fX19fX19fX0sIDB4NkM6IHtsOiB7MHg2NToge2w6IHsweDY2OiB7bDogezB4NzM6IHtsOiB7MHg3OToge2w6IHsweDZEOiB7bDogezB4M0I6IHtjOiBbODUwMV19fX19fX19fX0sIDB4NzA6IHtsOiB7MHg2ODoge2w6IHsweDNCOiB7YzogWzg1MDFdfX19fX19fSwgMHg3MDoge2w6IHsweDY4OiB7bDogezB4NjE6I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2M6IFsxMDY3MV19fX19fSwgMHgzQjoge2M6IFs4NzM3XX19fX19fX0sIDB4NzI6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg3MzVdfSwgMHg3Njoge2w6IHsweDYyOiB7bDogezB4M0I6IHtjOiBbODg5NF19LCAweDY0OiB7bDogezB4M0I6IHtjOiBbMTA2NTNdfX19fX19fX19fX0sIDB4NzM6IHtsOiB7MHg3MDoge2w6IHsweDY4OiB7bDogezB4M0I6IHtjOiBbODczOF19fX19fSwgMHg3NDoge2w6IHsweDNCOiB7YzogWzE5N119fX19fSwgMHg3QToge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzkwODRdfX19fX19fX19fX19fSwgMHg2Rjoge2w6IHsweDY3OiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDNCOiB7YzogWzI2MV19fX19fX19LCAweDcwOiB7bDogezB4NjY6IHtsOiB7MHgzQjoge2M6IFsxMjAxNDZdfX19fX19fSwgMHg3MDoge2w6IHsweDYxOiB7bDogezB4NjM6IHtsOiB7MHg2OToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA4NjNdfX19fX19fX19LCAweDNCOiB7YzogWzg3NzZdfSwgMHg0NToge2w6IHsweDNCOiB7YzogWzEwODY0XX19fSwgMHg2NToge2w6IHsweDNCOiB7YzogWzg3NzhdfX19LCAweDY5OiB7bDogezB4NjQ6IHtsOiB7MHgzQjoge2M6IFs4Nzc5XX19fX19LCAweDZGOiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFszOV19fX19fSwgMHg3MDoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3ODoge2w6IHsweDNCOiB7YzogWzg3NzZdfSwgMHg2NToge2w6IHsweDcxOiB7bDogezB4M0I6IHtjOiBbODc3OF19fX19fX19fX19fX19fX0sIDB4NzI6IHtsOiB7MHg2OToge2w6IHsweDZFOiB7bDogezB4Njc6IHtsOiB7MHgzQjoge2M6IFsyMjldfX0sIGM6IFsyMjldfX19fX19fSwgMHg3Mzoge2w6IHsweDYzOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMTk5OTBdfX19fX0sIDB4NzQ6IHtsOiB7MHgzQjoge2M6IFs0Ml19fX0sIDB4Nzk6IHtsOiB7MHg2RDoge2w6IHsweDcwOiB7bDogezB4M0I6IHtjOiBbODc3Nl19LCAweDY1OiB7bDogezB4NzE6IHtsOiB7MHgzQjoge2M6IFs4NzgxXX19fX19fX19fX19fX0sIDB4NzQ6IHtsOiB7MHg2OToge2w6IHsweDZDOiB7bDogezB4NjQ6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzIyN119fSwgYzogWzIyN119fX19fX19fX0sIDB4NzU6IHtsOiB7MHg2RDoge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbMjI4XX19LCBjOiBbMjI4XX19fX19LCAweDc3OiB7bDogezB4NjM6IHtsOiB7MHg2Rjoge2w6IHsweDZFOiB7bDogezB4Njk6IHtsOiB7MHg2RToge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODc1NV19fX19fX19fX19fX19LCAweDY5OiB7bDogezB4NkU6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzEwNzY5XX19fX19fX19fX19LFxyXG4gICAgMHg2Mjoge2w6IHsweDYxOiB7bDogezB4NjM6IHtsOiB7MHg2Qjoge2w6IHsweDYzOiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDY3OiB7bDogezB4M0I6IHtjOiBbODc4MF19fX19fX19fX0sIDB4NjU6IHtsOiB7MHg3MDoge2w6IHsweDczOiB7bDogezB4Njk6IHtsOiB7MHg2Qzoge2w6IHsweDZGOiB7bDogezB4NkU6IHtsOiB7MHgzQjoge2M6IFsxMDE0XX19fX19fX19fX19fX19fSwgMHg3MDoge2w6IHsweDcyOiB7bDogezB4Njk6IHtsOiB7MHg2RDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODI0NV19fX19fX19fX19fSwgMHg3Mzoge2w6IHsweDY5OiB7bDogezB4NkQ6IHtsOiB7MHgzQjoge2M6IFs4NzY1XX0sIDB4NjU6IHtsOiB7MHg3MToge2w6IHsweDNCOiB7YzogWzg5MDldfX19fX19fX19fX19fX19LCAweDcyOiB7bDogezB4NzY6IHtsOiB7MHg2NToge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODg5M119fX19fX19LCAweDc3OiB7bDogezB4NjU6IHtsOiB7MHg2NDoge2w6IHsweDNCOiB7YzogWzg5NjVdfSwgMHg2Nzoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODk2NV19fX19fX19fX19fX19fX0sIDB4NjI6IHtsOiB7MHg3Mjoge2w6IHsweDZCOiB7bDogezB4M0I6IHtjOiBbOTE0MV19LCAweDc0OiB7bDogezB4NjI6IHtsOiB7MHg3Mjoge2w6IHsweDZCOiB7bDogezB4M0I6IHtjOiBbOTE0Ml19fX19fX19fX19fX19fX0sIDB4NjM6IHtsOiB7MHg2Rjoge2w6IHsweDZFOiB7bDogezB4Njc6IHtsOiB7MHgzQjoge2M6IFs4NzgwXX19fX19fX0sIDB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMDczXX19fX19LCAweDY0OiB7bDogezB4NzE6IHtsOiB7MHg3NToge2w6IHsweDZGOiB7bDogezB4M0I6IHtjOiBbODIyMl19fX19fX19fX0sIDB4NjU6IHtsOiB7MHg2Mzoge2w6IHsweDYxOiB7bDogezB4NzU6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzg3NTddfSwgMHg2NToge2w6IHsweDNCOiB7YzogWzg3NTddfX19fX19fX19fX0sIDB4NkQ6IHtsOiB7MHg3MDoge2w6IHsweDc0OiB7bDogezB4Nzk6IHtsOiB7MHg3Njoge2w6IHsweDNCOiB7YzogWzEwNjcyXX19fX19fX19fX19LCAweDcwOiB7bDogezB4NzM6IHtsOiB7MHg2OToge2w6IHsweDNCOiB7YzogWzEwMTRdfX19fX19fSwgMHg3Mjoge2w6IHsweDZFOiB7bDogezB4NkY6IHtsOiB7MHg3NToge2w6IHsweDNCOiB7YzogWzg0OTJdfX19fX19fX19LCAweDc0OiB7bDogezB4NjE6IHtsOiB7MHgzQjoge2M6IFs5NDZdfX19LCAweDY4OiB7bDogezB4M0I6IHtjOiBbODUwMl19fX0sIDB4Nzc6IHtsOiB7MHg2NToge2w6IHsweDY1OiB7bDogezB4NkU6IHtsOiB7MHgzQjoge2M6IFs4ODEyXX19fX19fX19fX19fX0sIDB4NjY6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEyMDA5NV19fX19fSwgMHg2OToge2w6IHsweDY3OiB7bDogezB4NjM6IHtsOiB7MHg2MToge2w6IHsweDcwOiB7bDogezB4M0I6IHtjOiBbODg5OF19fX19fSwgMHg2OToge2w6IHsweDcyOiB7bDogezB4NjM6IHtsOiB7MHgzQjoge2M6IFs5NzExXX19fX19fX0sIDB4NzU6IHtsOiB7MHg3MDoge2w6IHsweDNCOiB7YzogWzg4OTldfX19fX19fSwgMHg2Rjoge2w6IHsweDY0OiB7bDogezB4NkY6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzEwNzUyXX19fX19fX0sIDB4NzA6IHtsOiB7MHg2Qzoge2w6IHsweDc1OiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFsxMDc1M119fX19fX19fX0sIDB4NzQ6IHtsOiB7MHg2OToge2w6IHsweDZEOiB7bDogezB4NjU6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzEwNzU0XX19fX19fX19fX19fX0sIDB4NzM6IHtsOiB7MHg3MToge2w6IHsweDYzOiB7bDogezB4NzU6IHtsOiB7MHg3MDoge2w6IHsweDNCOiB7YzogWzEwNzU4XX19fX19fX19fSwgMHg3NDoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs5NzMzXX19fX19fX19fSwgMHg3NDoge2w6IHsweDcyOiB7bDogezB4Njk6IHtsOiB7MHg2MToge2w6IHsweDZFOiB7bDogezB4Njc6IHtsOiB7MHg2Qzoge2w6IHsweDY1OiB7bDogezB4NjQ6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4NkU6IHtsOiB7MHgzQjoge2M6IFs5NjYxXX19fX19fX19fSwgMHg3NToge2w6IHsweDcwOiB7bDogezB4M0I6IHtjOiBbOTY1MV19fX19fX19fX19fX19fX19fX19fX0sIDB4NzU6IHtsOiB7MHg3MDoge2w6IHsweDZDOiB7bDogezB4NzU6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzEwNzU2XX19fX19fX19fX19LCAweDc2OiB7bDogezB4NjU6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzg4OTddfX19fX19fSwgMHg3Nzoge2w6IHsweDY1OiB7bDogezB4NjQ6IHtsOiB7MHg2Nzoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODg5Nl19fX19fX19fX19fX19fX0sIDB4NkI6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDNCOiB7YzogWzEwNTA5XX19fX19fX19fX19LCAweDZDOiB7bDogezB4NjE6IHtsOiB7MHg2Mzoge2w6IHsweDZCOiB7bDogezB4NkM6IHtsOiB7MHg2Rjoge2w6IHsweDdBOiB7bDogezB4NjU6IHtsOiB7MHg2RToge2w6IHsweDY3OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFsxMDczMV19fX19fX19fX19fX19fX0sIDB4NzM6IHtsOiB7MHg3MToge2w6IHsweDc1OiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbOTY0Ml19fX19fX19fX19fX19LCAweDc0OiB7bDogezB4NzI6IHtsOiB7MHg2OToge2w6IHsweDYxOiB7bDogezB4NkU6IHtsOiB7MHg2Nzoge2w6IHsweDZDOiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs5NjUyXX0sIDB4NjQ6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4NkU6IHtsOiB7MHgzQjoge2M6IFs5NjYyXX19fX19fX19fSwgMHg2Qzoge2w6IHsweDY1OiB7bDogezB4NjY6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzk2NjZdfX19fX19fX19LCAweDcyOiB7bDogezB4Njk6IHtsOiB7MHg2Nzoge2w6IHsweDY4OiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs5NjU2XX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX0sIDB4NkU6IHtsOiB7MHg2Qjoge2w6IHsweDNCOiB7YzogWzkyNTFdfX19fX19fSwgMHg2Qjoge2w6IHsweDMxOiB7bDogezB4MzI6IHtsOiB7MHgzQjoge2M6IFs5NjE4XX19fSwgMHgzNDoge2w6IHsweDNCOiB7YzogWzk2MTddfX19fX0sIDB4MzM6IHtsOiB7MHgzNDoge2w6IHsweDNCOiB7YzogWzk2MTldfX19fX19fSwgMHg2Rjoge2w6IHsweDYzOiB7bDogezB4NkI6IHtsOiB7MHgzQjoge2M6IFs5NjA4XX19fX19fX19fSwgMHg2RToge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbNjEsIDg0MjFdfSwgMHg3MToge2w6IHsweDc1OiB7bDogezB4Njk6IHtsOiB7MHg3Njoge2w6IHsweDNCOiB7YzogWzg4MDEsIDg0MjFdfX19fX19fX19fX0sIDB4NkY6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg5NzZdfX19fX19fSwgMHg0RToge2w6IHsweDZGOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFsxMDk4OV19fX19fX19LCAweDZGOiB7bDogezB4NzA6IHtsOiB7MHg2Njoge2w6IHsweDNCOiB7YzogWzEyMDE0N119fX19fSwgMHg3NDoge2w6IHsweDNCOiB7YzogWzg4NjldfSwgM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HtjOiBbMTA5MjZdfX19LCAweDY1OiB7bDogezB4M0I6IHtjOiBbODc4M119LCAweDcxOiB7bDogezB4M0I6IHtjOiBbODc4M119fX19fX19fX19fX19LFxyXG4gICAgMHg0Mjoge2w6IHsweDYxOiB7bDogezB4NjM6IHtsOiB7MHg2Qjoge2w6IHsweDczOiB7bDogezB4NkM6IHtsOiB7MHg2MToge2w6IHsweDczOiB7bDogezB4Njg6IHtsOiB7MHgzQjoge2M6IFs4NzI2XX19fX19fX19fX19fX19fSwgMHg3Mjoge2w6IHsweDc2OiB7bDogezB4M0I6IHtjOiBbMTA5ODNdfX19LCAweDc3OiB7bDogezB4NjU6IHtsOiB7MHg2NDoge2w6IHsweDNCOiB7YzogWzg5NjZdfX19fX19fX19fX0sIDB4NjM6IHtsOiB7MHg3OToge2w6IHsweDNCOiB7YzogWzEwNDFdfX19fX0sIDB4NjU6IHtsOiB7MHg2Mzoge2w6IHsweDYxOiB7bDogezB4NzU6IHtsOiB7MHg3Mzoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODc1N119fX19fX19fX19fSwgMHg3Mjoge2w6IHsweDZFOiB7bDogezB4NkY6IHtsOiB7MHg3NToge2w6IHsweDZDOiB7bDogezB4NkM6IHtsOiB7MHg2OToge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbODQ5Ml19fX19fX19fX19fX19fX19fSwgMHg3NDoge2w6IHsweDYxOiB7bDogezB4M0I6IHtjOiBbOTE0XX19fX19fX0sIDB4NjY6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEyMDA2OV19fX19fSwgMHg2Rjoge2w6IHsweDcwOiB7bDogezB4NjY6IHtsOiB7MHgzQjoge2M6IFsxMjAxMjFdfX19fX19fSwgMHg3Mjoge2w6IHsweDY1OiB7bDogezB4NzY6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzcyOF19fX19fX19fX0sIDB4NzM6IHtsOiB7MHg2Mzoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODQ5Ml19fX19fX19LCAweDc1OiB7bDogezB4NkQ6IHtsOiB7MHg3MDoge2w6IHsweDY1OiB7bDogezB4NzE6IHtsOiB7MHgzQjoge2M6IFs4NzgyXX19fX19fX19fX19fX0sXHJcbiAgICAweDQzOiB7bDogezB4NjE6IHtsOiB7MHg2Mzoge2w6IHsweDc1OiB7bDogezB4NzQ6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzI2Ml19fX19fX19fX0sIDB4NzA6IHtsOiB7MHgzQjoge2M6IFs4OTE0XX0sIDB4Njk6IHtsOiB7MHg3NDoge2w6IHsweDYxOiB7bDogezB4NkM6IHtsOiB7MHg0NDoge2w6IHsweDY5OiB7bDogezB4NjY6IHtsOiB7MHg2Njoge2w6IHsweDY1OiB7bDogezB4NzI6IHtsOiB7MHg2NToge2w6IHsweDZFOiB7bDogezB4NzQ6IHtsOiB7MHg2OToge2w6IHsweDYxOiB7bDogezB4NkM6IHtsOiB7MHg0NDoge2w6IHsweDNCOiB7YzogWzg1MTddfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fSwgMHg3OToge2w6IHsweDZDOiB7bDogezB4NjU6IHtsOiB7MHg3OToge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbODQ5M119fX19fX19fX19fX19LCAweDYzOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4NkU6IHtsOiB7MHgzQjoge2M6IFsyNjhdfX19fX19fX19LCAweDY1OiB7bDogezB4NjQ6IHtsOiB7MHg2OToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbMTk5XX19LCBjOiBbMTk5XX19fX19fX0sIDB4Njk6IHtsOiB7MHg3Mjoge2w6IHsweDYzOiB7bDogezB4M0I6IHtjOiBbMjY0XX19fX19fX0sIDB4NkY6IHtsOiB7MHg2RToge2w6IHsweDY5OiB7bDogezB4NkU6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg3NTJdfX19fX19fX19fX19fSwgMHg2NDoge2w6IHsweDZGOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFsyNjZdfX19fX19fSwgMHg2NToge2w6IHsweDY0OiB7bDogezB4Njk6IHtsOiB7MHg2Qzoge2w6IHsweDZDOiB7bDogezB4NjE6IHtsOiB7MHgzQjoge2M6IFsxODRdfX19fX19fX19fX0sIDB4NkU6IHtsOiB7MHg3NDoge2w6IHsweDY1OiB7bDogezB4NzI6IHtsOiB7MHg0NDoge2w6IHsweDZGOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFsxODNdfX19fX19fX19fX19fX19fX0sIDB4NjY6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg0OTNdfX19fX0sIDB4NDg6IHtsOiB7MHg2Mzoge2w6IHsweDc5OiB7bDogezB4M0I6IHtjOiBbMTA2M119fX19fX19LCAweDY4OiB7bDogezB4Njk6IHtsOiB7MHgzQjoge2M6IFs5MzVdfX19fX0sIDB4Njk6IHtsOiB7MHg3Mjoge2w6IHsweDYzOiB7bDogezB4NkM6IHtsOiB7MHg2NToge2w6IHsweDQ0OiB7bDogezB4NkY6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg4NTddfX19fX19fSwgMHg0RDoge2w6IHsweDY5OiB7bDogezB4NkU6IHtsOiB7MHg3NToge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbODg1NF19fX19fX19fX19fSwgMHg1MDoge2w6IHsweDZDOiB7bDogezB4NzU6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzg4NTNdfX19fX19fX19LCAweDU0OiB7bDogezB4Njk6IHtsOiB7MHg2RDoge2w6IHsweDY1OiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFs4ODU1XX19fX19fX19fX19fX19fX19fX19fSwgMHg2Qzoge2w6IHsweDZGOiB7bDogezB4NjM6IHtsOiB7MHg2Qjoge2w6IHsweDc3OiB7bDogezB4Njk6IHtsOiB7MHg3Mzoge2w6IHsweDY1OiB7bDogezB4NDM6IHtsOiB7MHg2Rjoge2w6IHsweDZFOiB7bDogezB4NzQ6IHtsOiB7MHg2Rjoge2w6IHsweDc1OiB7bDogezB4NzI6IHtsOiB7MHg0OToge2w6IHsweDZFOiB7bDogezB4NzQ6IHtsOiB7MHg2NToge2w6IHsweDY3OiB7bDogezB4NzI6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbODc1NF19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDczOiB7bDogezB4NjU6IHtsOiB7MHg0Mzoge2w6IHsweDc1OiB7bDogezB4NzI6IHtsOiB7MHg2Qzoge2w6IHsweDc5OiB7bDogezB4NDQ6IHtsOiB7MHg2Rjoge2w6IHsweDc1OiB7bDogezB4NjI6IHtsOiB7MHg2Qzoge2w6IHsweDY1OiB7bDogezB4NTE6IHtsOiB7MHg3NToge2w6IHsweDZGOiB7bDogezB4NzQ6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzgyMjFdfX19fX19fX19fX19fX19fX19fX19fX0sIDB4NTE6IHtsOiB7MHg3NToge2w6IHsweDZGOiB7bDogezB4NzQ6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzgyMTddfX19fX19fX19fX19fX19fX19fX19fX19fX19fX0sIDB4NkY6IHtsOiB7MHg2Qzoge2w6IHsweDZGOiB7bDogezB4NkU6IHtsOiB7MHgzQjoge2M6IFs4NzU5XX0sIDB4NjU6IHtsOiB7MHgzQjoge2M6IFsxMDg2OF19fX19fX19fX0sIDB4NkU6IHtsOiB7MHg2Nzoge2w6IHsweDcyOiB7bDogezB4NzU6IHtsOiB7MHg2NToge2w6IHsweDZFOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4ODAxXX19fX19fX19fX19fX0sIDB4Njk6IHtsOiB7MHg2RToge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODc1MV19fX19fX19LCAweDc0OiB7bDogezB4NkY6IHtsOiB7MHg3NToge2w6IHsweDcyOiB7bDogezB4NDk6IHtsOiB7MHg2RToge2w6IHsweDc0OiB7bDogezB4NjU6IHtsOiB7MHg2Nzoge2w6IHsweDcyOiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzg3NTBdfX19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDcwOiB7bDogezB4NjY6IHtsOiB7MHgzQjoge2M6IFs4NDUwXX19fSwgMHg3Mjoge2w6IHsweDZGOiB7bDogezB4NjQ6IHtsOiB7MHg3NToge2w6IHsweDYzOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4NzIwXX19fX19fX19fX19fX19fSwgMHg3NToge2w6IHsweDZFOiB7bDogezB4NzQ6IHtsOiB7MHg2NToge2w6IHsweDcyOiB7bDogezB4NDM6IHtsOiB7MHg2Qzoge2w6IHsweDZGOiB7bDogezB4NjM6IHtsOiB7MHg2Qjoge2w6IHsweDc3OiB7bDogezB4Njk6IHtsOiB7MHg3Mzoge2w6IHsweDY1OiB7bDogezB4NDM6IHtsOiB7MHg2Rjoge2w6IHsweDZFOiB7bDogezB4NzQ6IHtsOiB7MHg2Rjoge2w6IHsweDc1OiB7bDogezB4NzI6IHtsOiB7MHg0OToge2w6IHsweDZFOiB7bDogezB4NzQ6IHtsOiB7MHg2NToge2w6IHsweDY3OiB7bDogezB4NzI6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbODc1NV19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDRGOiB7bDogezB4NTA6IHtsOiB7MHg1OToge2w6IHsweDNCOiB7YzogWzE2OV19fSwgYzogWzE2OV19fX19fSwgMHg3Mjoge2w6IHsweDZGOiB7bDogezB4NzM6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzEwNzk5XX19fX19fX19fSwgMHg3Mzoge2w6IHsweDYzOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMTk5NjZdfX19fX19fSwgMHg3NToge2w6IHsweDcwOiB7bDogezB4NDM6IHtsOiB7MHg2MToge2w6IHsweDcwOiB7bDogezB4M0I6IHtjOiBbODc4MV19fX19fX19LCAweDNCOiB7YzogWzg5MTVdfX19fX19fSxcclxuICAgIDB4NjM6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4NzU6IHtsOiB7MHg3NDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMjYzXX19fX19fX19fSwgMHg3MDoge2w6IHsweDYxOiB7bDogezB4NkU6IHtsOiB7MHg2NDoge2w6IHsweDNCOiB7YzogWzEwODIwXX19fX19fX0sIDB4NjI6IHtsOiB7MHg3Mjoge2w6IHsweDYzOiB7bDogezB4NzU6IHtsOiB7MHg3MDoge2w6IHsweDNCOiB7YzogWzEwODI1XX19fX19fX19fX19LCAweDYzOiB7bDogezB4NjE6IHtsOiB7MHg3MDoge2w6IHsweDNCOiB7YzogWzEwODI3XX19fX19LCAweDc1OiB7bDogezB4NzA6IHtsOiB7MHgzQjoge2M6IFsxMDgyM119fX19fX19LCAweDNCOiB7YzogWzg3NDVdfSwgMHg2NDoge2w6IHsweDZGOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFsxMDgxNl19fX19fX19LCAweDczOiB7bDogezB4M0I6IHtjOiBbODc0NSwgNjUwMjRdfX19fX0sIDB4NzI6IHtsOiB7MHg2NToge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODI1N119fX19fSwgMHg2Rjoge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbNzExXX19fX19fX19fSwgMHg2Mzoge2w6IHsweDYxOiB7bDogezB4NzA6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzEwODI5XX19fX19LCAweDcyOiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDNCOiB7YzogWzI2OV19fX19fX19fX0sIDB4NjU6IHtsOiB7MHg2NDoge2w6IHsweDY5OiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFsyMzFdfX0sIGM6IFsyMzFdfX19fX19fSwgMHg2OToge2w6IHsweDcyOiB7bDogezB4NjM6IHtsOiB7MHgzQjoge2M6IFsyNjVdfX19fX19fSwgMHg3NToge2w6IHsweDcwOiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFsxMDgyOF19LCAweDczOiB7bDogezB4NkQ6IHtsOiB7MHgzQjoge2M6IFsxMDgzMl19fX19fX19fX19fX19LCAweDY0OiB7bDogezB4NkY6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzI2N119fX19fX19LCAweDY1OiB7bDogezB4NjQ6IHtsOiB7MHg2OToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbMTg0XX19LCBjOiBbMTg0XX19fX19LCAweDZEOiB7bDogezB4NzA6IHtsOiB7MHg3NDoge2w6IHsweDc5OiB7bDogezB4NzY6IHtsOiB7MHgzQjoge2M6IFsxMDY3NF19fX19fX19fX19fSwgMHg2RToge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbMTYyXX0sIDB4NjU6IHtsOiB7MHg3Mjoge2w6IHsweDY0OiB7bDogezB4NkY6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzE4M119fX19fX19fX19fX0sIGM6IFsxNjJdfX19fX0sIDB4NjY6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEyMDA5Nl19fX19fSwgMHg2ODoge2w6IHsweDYzOiB7bDogezB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMDk1XX19fX19LCAweDY1OiB7bDogezB4NjM6IHtsOiB7MHg2Qjoge2w6IHsweDNCOiB7YzogWzEwMDAzXX0sIDB4NkQ6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NkI6IHtsOiB7MHgzQjoge2M6IFsxMDAwM119fX19fX19fX19f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MHg2OToge2w6IHsweDY0OiB7bDogezB4M0I6IHtjOiBbMTA5OTFdfX19fX19fSwgMHg3Mzoge2w6IHsweDYzOiB7bDogezB4Njk6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwNjkwXX19fX19fX19fX19fX0sIDB4NkM6IHtsOiB7MHg3NToge2w6IHsweDYyOiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFs5ODI3XX0sIDB4NzU6IHtsOiB7MHg2OToge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbOTgyN119fX19fX19fX19fX19fX0sIDB4NkY6IHtsOiB7MHg2Qzoge2w6IHsweDZGOiB7bDogezB4NkU6IHtsOiB7MHgzQjoge2M6IFs1OF19LCAweDY1OiB7bDogezB4M0I6IHtjOiBbODc4OF19LCAweDcxOiB7bDogezB4M0I6IHtjOiBbODc4OF19fX19fX19fX19fSwgMHg2RDoge2w6IHsweDZEOiB7bDogezB4NjE6IHtsOiB7MHgzQjoge2M6IFs0NF19LCAweDc0OiB7bDogezB4M0I6IHtjOiBbNjRdfX19fX19fSwgMHg3MDoge2w6IHsweDNCOiB7YzogWzg3MDVdfSwgMHg2Njoge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbODcyOF19fX19fSwgMHg2Qzoge2w6IHsweDY1OiB7bDogezB4NkQ6IHtsOiB7MHg2NToge2w6IHsweDZFOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4NzA1XX19fX19fX19fSwgMHg3ODoge2w6IHsweDY1OiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFs4NDUwXX19fX19fX19fX19fX19fSwgMHg2RToge2w6IHsweDY3OiB7bDogezB4M0I6IHtjOiBbODc3M119LCAweDY0OiB7bDogezB4NkY6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzEwODYxXX19fX19fX19fSwgMHg2OToge2w6IHsweDZFOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4NzUwXX19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qzoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg2MzBdfSwgMHg3MDoge2w6IHsweDNCOiB7YzogWzEwNTU3XX19fX19fX19fX19LCAweDcwOiB7bDogezB4NjI6IHtsOiB7MHg3Mjoge2w6IHsweDYzOiB7bDogezB4NjE6IHtsOiB7MHg3MDoge2w6IHsweDNCOiB7YzogWzEwODI0XX19fX19fX19fX19LCAweDYzOiB7bDogezB4NjE6IHtsOiB7MHg3MDoge2w6IHsweDNCOiB7YzogWzEwODIyXX19fX19LCAweDc1OiB7bDogezB4NzA6IHtsOiB7MHgzQjoge2M6IFsxMDgyNl19fX19fX19LCAweDNCOiB7YzogWzg3NDZdfSwgMHg2NDoge2w6IHsweDZGOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4ODQ1XX19fX19fX0sIDB4NkY6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwODIxXX19fX19LCAweDczOiB7bDogezB4M0I6IHtjOiBbODc0NiwgNjUwMjRdfX19fX0sIDB4NzI6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs4NjMxXX0sIDB4NkQ6IHtsOiB7MHgzQjoge2M6IFsxMDU1Nl19fX19fX19fX0sIDB4NkM6IHtsOiB7MHg3OToge2w6IHsweDY1OiB7bDogezB4NzE6IHtsOiB7MHg3MDoge2w6IHsweDcyOiB7bDogezB4NjU6IHtsOiB7MHg2Mzoge2w6IHsweDNCOiB7YzogWzg5MjZdfX19fX19fX19LCAweDczOiB7bDogezB4NzU6IHtsOiB7MHg2Mzoge2w6IHsweDYzOiB7bDogezB4M0I6IHtjOiBbODkyN119fX19fX19fX19fX19LCAweDc2OiB7bDogezB4NjU6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzg5MTBdfX19fX19fSwgMHg3Nzoge2w6IHsweDY1OiB7bDogezB4NjQ6IHtsOiB7MHg2Nzoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODkxMV19fX19fX19fX19fX19fX0sIDB4NzI6IHtsOiB7MHg2NToge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbMTY0XX19LCBjOiBbMTY0XX19fX19LCAweDc2OiB7bDogezB4NjU6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4NkM6IHtsOiB7MHg2NToge2w6IHsweDY2OiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4NjMwXX19fX19fX19fSwgMHg3Mjoge2w6IHsweDY5OiB7bDogezB4Njc6IHtsOiB7MHg2ODoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODYzMV19fX19fX19fX19fX19fX19fX19fX19fX19fX0sIDB4NzY6IHtsOiB7MHg2NToge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODkxMF19fX19fX19LCAweDc3OiB7bDogezB4NjU6IHtsOiB7MHg2NDoge2w6IHsweDNCOiB7YzogWzg5MTFdfX19fX19fX19LCAweDc3OiB7bDogezB4NjM6IHtsOiB7MHg2Rjoge2w6IHsweDZFOiB7bDogezB4Njk6IHtsOiB7MHg2RToge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODc1NF19fX19fX19fX19fX19LCAweDY5OiB7bDogezB4NkU6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg3NTNdfX19fX19fX19LCAweDc5OiB7bDogezB4NkM6IHtsOiB7MHg2Mzoge2w6IHsweDc0OiB7bDogezB4Nzk6IHtsOiB7MHgzQjoge2M6IFs5MDA1XX19fX19fX19fX19fX0sXHJcbiAgICAweDY0OiB7bDogezB4NjE6IHtsOiB7MHg2Nzoge2w6IHsweDY3OiB7bDogezB4NjU6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzgyMjRdfX19fX19fX19LCAweDZDOiB7bDogezB4NjU6IHtsOiB7MHg3NDoge2w6IHsweDY4OiB7bDogezB4M0I6IHtjOiBbODUwNF19fX19fX19fX0sIDB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg1OTVdfX19fX0sIDB4NzM6IHtsOiB7MHg2ODoge2w6IHsweDNCOiB7YzogWzgyMDhdfSwgMHg3Njoge2w6IHsweDNCOiB7YzogWzg4NjddfX19fX19fX19LCAweDQxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg2NTldfX19fX19fSwgMHg2Mjoge2w6IHsweDZCOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFsxMDUxMV19fX19fX19fX19fSwgMHg2Qzoge2w6IHsweDYxOiB7bDogezB4NjM6IHtsOiB7MHgzQjoge2M6IFs3MzNdfX19fX19fX19LCAweDYzOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4NkU6IHtsOiB7MHgzQjoge2M6IFsyNzFdfX19fX19fX19LCAweDc5OiB7bDogezB4M0I6IHtjOiBbMTA3Nl19fX19fSwgMHg2NDoge2w6IHsweDYxOiB7bDogezB4Njc6IHtsOiB7MHg2Nzoge2w6IHsweDY1OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs4MjI1XX19fX19fX19fSwgMHg3Mjoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODY1MF19fX19fX19LCAweDNCOiB7YzogWzg1MThdfSwgMHg2Rjoge2w6IHsweDc0OiB7bDogezB4NzM6IHtsOiB7MHg2NToge2w6IHsweDcxOiB7bDogezB4M0I6IHtjOiBbMTA4NzFdfX19fX19fX19fX19fSwgMHg2NToge2w6IHsweDY3OiB7bDogezB4M0I6IHtjOiBbMTc2XX19LCBjOiBbMTc2XX0sIDB4NkM6IHtsOiB7MHg3NDoge2w6IHsweDYxOiB7bDogezB4M0I6IHtjOiBbOTQ4XX19fX19fX0sIDB4NkQ6IHtsOiB7MHg3MDoge2w6IHsweDc0OiB7bDogezB4Nzk6IHtsOiB7MHg3Njoge2w6IHsweDNCOiB7YzogWzEwNjczXX19fX19fX19fX19fX0sIDB4NjY6IHtsOiB7MHg2OToge2w6IHsweDczOiB7bDogezB4Njg6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzEwNjIzXX19fX19fX19fSwgMHg3Mjoge2w6IHsweDNCOiB7YzogWzEyMDA5N119fX19fSwgMHg0ODoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDU5N119fX19fX19LCAweDY4OiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbODY0M119fX0sIDB4NzI6IHtsOiB7MHgzQjoge2M6IFs4NjQyXX19fX19fX19fSwgMHg2OToge2w6IHsweDYxOiB7bDogezB4NkQ6IHtsOiB7MHgzQjoge2M6IFs4OTAwXX0sIDB4NkY6IHtsOiB7MHg2RToge2w6IHsweDY0OiB7bDogezB4M0I6IHtjOiBbODkwMF19LCAweDczOiB7bDogezB4NzU6IHtsOiB7MHg2OToge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbOTgzMF19fX19fX19fX19fX19fX0sIDB4NzM6IHtsOiB7MHgzQjoge2M6IFs5ODMwXX19fX19fX0sIDB4NjU6IHtsOiB7MHgzQjoge2M6IFsxNjhdfX19LCAweDY3OiB7bDogezB4NjE6IHtsOiB7MHg2RDoge2w6IHsweDZEOiB7bDogezB4NjE6IHtsOiB7MHgzQjoge2M6IFs5ODldfX19fX19fX19fX0sIDB4NzM6IHtsOiB7MHg2OToge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbODk0Nl19fX19fX19LCAweDc2OiB7bDogezB4M0I6IHtjOiBbMjQ3XX0sIDB4Njk6IHtsOiB7MHg2NDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMjQ3XX0sIDB4NkY6IHtsOiB7MHg2RToge2w6IHsweDc0OiB7bDogezB4Njk6IHtsOiB7MHg2RDoge2w6IHsweDY1OiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFs4OTAzXX19fX19fX19fX19fX19fX0sIGM6IFsyNDddfX19fX0sIDB4NkY6IHtsOiB7MHg2RToge2w6IHsweDc4OiB7bDogezB4M0I6IHtjOiBbODkwM119fX19fX19fX19fSwgMHg2QToge2w6IHsweDYzOiB7bDogezB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMTA2XX19fX19fX0sIDB4NkM6IHtsOiB7MHg2Mzoge2w6IHsweDZGOiB7bDogezB4NzI6IHtsOiB7MHg2RToge2w6IHsweDNCOiB7YzogWzg5OTBdfX19fX19fSwgMHg3Mjoge2w6IHsweDZGOiB7bDogezB4NzA6IHtsOiB7MHgzQjoge2M6IFs4OTczXX19fX19fX19fX19LCAweDZGOiB7bDogezB4NkM6IHtsOiB7MHg2Qzoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFszNl19fX19fX19fX0sIDB4NzA6IHtsOiB7MHg2Njoge2w6IHsweDNCOiB7YzogWzEyMDE0OV19fX19fSwgMHg3NDoge2w6IHsweDNCOiB7YzogWzcyOV19LCAweDY1OiB7bDogezB4NzE6IHtsOiB7MHgzQjoge2M6IFs4Nzg0XX0sIDB4NjQ6IHtsOiB7MHg2Rjoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODc4NV19fX19fX19fX19fSwgMHg2RDoge2w6IHsweDY5OiB7bDogezB4NkU6IHtsOiB7MHg3NToge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbODc2MF19fX19fX19fX19fSwgMHg3MDoge2w6IHsweDZDOiB7bDogezB4NzU6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzg3MjRdfX19fX19fX19LCAweDczOiB7bDogezB4NzE6IHtsOiB7MHg3NToge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzg4NjVdfX19fX19fX19fX19fX19LCAweDc1OiB7bDogezB4NjI6IHtsOiB7MHg2Qzoge2w6IHsweDY1OiB7bDogezB4NjI6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4Nzc6IHtsOiB7MHg2NToge2w6IHsweDY0OiB7bDogezB4Njc6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzg5NjZdfX19fX19fX19fX19fX19fX19fX19fX19fSwgMHg3Nzoge2w6IHsweDZFOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDNCOiB7YzogWzg1OTVdfX19fX19fX19fX0sIDB4NjQ6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4NkU6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFs4NjUwXX19fX19fX19fX19fX19fX19fX19fSwgMHg2ODoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3MDoge2w6IHsweDZGOiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDZDOiB7bDogezB4NjU6IHtsOiB7MHg2Njoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODY0M119fX19fX19fX0sIDB4NzI6IHtsOiB7MHg2OToge2w6IHsweDY3OiB7bDogezB4Njg6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg2NDJdfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fSwgMHg3Mjoge2w6IHsweDYyOiB7bDogezB4NkI6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDNCOiB7YzogWzEwNTEyXX19fX19fX19fX19fX0sIDB4NjM6IHtsOiB7MHg2R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zI5XX19fSwgMHg3NToge2w6IHsweDYyOiB7bDogezB4NkM6IHtsOiB7MHg2NToge2w6IHsweDQxOiB7bDogezB4NjM6IHtsOiB7MHg3NToge2w6IHsweDc0OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs3MzNdfX19fX19fX19fX19fX19fX19fX19fX0sIDB4NDc6IHtsOiB7MHg3Mjoge2w6IHsweDYxOiB7bDogezB4NzY6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzk2XX19fX19fX19fX19LCAweDU0OiB7bDogezB4Njk6IHtsOiB7MHg2Qzoge2w6IHsweDY0OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs3MzJdfX19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDZEOiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDY0OiB7bDogezB4M0I6IHtjOiBbODkwMF19fX19fX19fX19fSwgMHg2Njoge2w6IHsweDY2OiB7bDogezB4NjU6IHtsOiB7MHg3Mjoge2w6IHsweDY1OiB7bDogezB4NkU6IHtsOiB7MHg3NDoge2w6IHsweDY5OiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDQ0OiB7bDogezB4M0I6IHtjOiBbODUxOF19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDRBOiB7bDogezB4NjM6IHtsOiB7MHg3OToge2w6IHsweDNCOiB7YzogWzEwMjZdfX19fX19fSwgMHg2Rjoge2w6IHsweDcwOiB7bDogezB4NjY6IHtsOiB7MHgzQjoge2M6IFsxMjAxMjNdfX19fX0sIDB4NzQ6IHtsOiB7MHgzQjoge2M6IFsxNjhdfSwgMHg0NDoge2w6IHsweDZGOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4NDEyXX19fX19fX0sIDB4NDU6IHtsOiB7MHg3MToge2w6IHsweDc1OiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzg3ODRdfX19fX19fX19fX19fSwgMHg3NToge2w6IHsweDYyOiB7bDogezB4NkM6IHtsOiB7MHg2NToge2w6IHsweDQzOiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDc0OiB7bDogezB4NkY6IHtsOiB7MHg3NToge2w6IHsweDcyOiB7bDogezB4NDk6IHtsOiB7MHg2RToge2w6IHsweDc0OiB7bDogezB4NjU6IHtsOiB7MHg2Nzoge2w6IHsweDcyOiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzg3NTFdfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fSwgMHg0NDoge2w6IHsweDZGOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFsxNjhdfX19LCAweDc3OiB7bDogezB4NkU6IHtsOiB7MHg0MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4M0I6IHtjOiBbODY1OV19fX19fX19fX19fX19fX19fX19LCAweDRDOiB7bDogezB4NjU6IHtsOiB7MHg2Njoge2w6IHsweDc0OiB7bDogezB4NDE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDNCOiB7YzogWzg2NTZdfX19fX19fX19fX0sIDB4NTI6IHtsOiB7MHg2OToge2w6IHsweDY3OiB7bDogezB4Njg6IHtsOiB7MHg3NDoge2w6IHsweDQxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFs4NjYwXX19fX19fX19fX19fX19fX19fX19fSwgMHg1NDoge2w6IHsweDY1OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFsxMDk4MF19fX19fX19fX19fX19LCAweDZGOiB7bDogezB4NkU6IHtsOiB7MHg2Nzoge2w6IHsweDRDOiB7bDogezB4NjU6IHtsOiB7MHg2Njoge2w6IHsweDc0OiB7bDogezB4NDE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDNCOiB7YzogWzEwMjMyXX19fX19fX19fX19LCAweDUyOiB7bDogezB4Njk6IHtsOiB7MHg2Nzoge2w6IHsweDY4OiB7bDogezB4NzQ6IHtsOiB7MHg0MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4M0I6IHtjOiBbMTAyMzRdfX19fX19fX19fX19fX19fX19fX19fX19fX19fX0sIDB4NTI6IHtsOiB7MHg2OToge2w6IHsweDY3OiB7bDogezB4Njg6IHtsOiB7MHg3NDoge2w6IHsweDQxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFsxMDIzM119fX19fX19fX19fX19fX19fX19fX19fX19fX19fSwgMHg1Mjoge2w6IHsweDY5OiB7bDogezB4Njc6IHtsOiB7MHg2ODoge2w6IHsweDc0OiB7bDogezB4NDE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDNCOiB7YzogWzg2NThdfX19fX19fX19fX0sIDB4NTQ6IHtsOiB7MHg2NToge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODg3Ml19fX19fX19fX19fX19fX19fSwgMHg1NToge2w6IHsweDcwOiB7bDogezB4NDE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDNCOiB7YzogWzg2NTddfX19fX19fX19fX0sIDB4NDQ6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4NkU6IHtsOiB7MHg0MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4M0I6IHtjOiBbODY2MV19fX19fX19fX19fX19fX19fX19fX19fSwgMHg1Njoge2w6IHsweDY1OiB7bDogezB4NzI6IHtsOiB7MHg3NDoge2w6IHsweDY5OiB7bDogezB4NjM6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4NDI6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODc0MV19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDc3OiB7bDogezB4NkU6IHtsOiB7MHg0MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4NDI6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA1MTVdfX19fX19fSwgMHgzQjoge2M6IFs4NTk1XX0sIDB4NTU6IHtsOiB7MHg3MDoge2w6IHsweDQxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFs4NjkzXX19fX19fX19fX19fX19fX19fX19fX19fX0sIDB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDNCOiB7YzogWzg2NTldfX19fX19fX19fX0sIDB4NDI6IHtsOiB7MHg3Mjoge2w6IHsweDY1OiB7bDogezB4NzY6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzc4NV19fX19fX19fX19fSwgMHg0Qzoge2w6IHsweDY1OiB7bDogezB4NjY6IHtsOiB7MHg3NDoge2w6IHsweDUyOiB7bDogezB4Njk6IHtsOiB7MHg2Nzoge2w6IHsweDY4OiB7bDogezB4NzQ6IHtsOiB7MHg1Njoge2w6IHsweDY1OiB7bDogezB4NjM6IHtsOiB7MHg3NDoge2w6IHsweDZGOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDU3Nl19fX19fX19fX19fX19fX19fX19fX19fSwgMHg1NDoge2w6IHsweDY1OiB7bDogezB4NjU6IHtsOiB7MHg1Njoge2w6IHsweDY1OiB7bDogezB4NjM6IHtsOiB7MHg3NDoge2w6IHsweDZGOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDU5MF19fX19fX19fX19fX19fX19fX19LCAweDU2OiB7bDogezB4NjU6IHtsOiB7MHg2Mzoge2w6IHsweDc0OiB7bDogezB4NkY6IHtsOiB7MHg3Mjoge2w6IHsweDQyOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwNTgyXX19fX19fX0sIDB4M0I6IHtjOiBbODYzN119fX19fX19fX19fX19fX19fX19fX0sIDB4NTI6IHtsOiB7MHg2OToge2w6IHsweDY3OiB7bDogezB4Njg6IHtsOiB7MHg3NDoge2w6IHsweDU0OiB7bDogezB4NjU6IHtsOiB7MHg2NToge2w6IHsweDU2OiB7bDogezB4NjU6IHtsOiB7MHg2Mzoge2w6IHsweDc0OiB7bDogezB4NkY6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwNTkxXX19fX19fX19fX19fX19fX19fX0sIDB4NTY6IHtsOiB7MHg2NToge2w6IHsweDYzOiB7bDogezB4NzQ6IHtsOiB7MHg2Rjoge2w6IHsweDcyOiB7bDogezB4NDI6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA1ODNdfX19fX19fSwgMHgzQjoge2M6IFs4NjQxXX19fX19fX19fX19fX19fX19fX19fX19LCAweDU0OiB7bDogezB4NjU6IHtsOiB7MHg2NToge2w6IHsweDQxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFs4NjE1XX19fX19fX19fX19LCAweDNCOiB7YzogWzg4NjhdfX19fX19fX19fX19fSwgMHg3Mzoge2w6IHsweDYzOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMTk5NjddfX19fX0sIDB4NzQ6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nk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1Mzoge2w6IHsweDZEOiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDZDOiB7bDogezB4NTM6IHtsOiB7MHg3MToge2w6IHsweDc1OiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbOTcyM119fX19fX19fX19fX19fX19fX19fX19fSwgMHg1Njoge2w6IHsweDY1OiB7bDogezB4NzI6IHtsOiB7MHg3OToge2w6IHsweDUzOiB7bDogezB4NkQ6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4NkM6IHtsOiB7MHg1Mzoge2w6IHsweDcxOiB7bDogezB4NzU6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs5NjQzXX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fSwgMHg0RToge2w6IHsweDQ3OiB7bDogezB4M0I6IHtjOiBbMzMwXX19fX19LCAweDZGOiB7bDogezB4Njc6IHtsOiB7MHg2Rjoge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbMjgwXX19fX19fX0sIDB4NzA6IHtsOiB7MHg2Njoge2w6IHsweDNCOiB7YzogWzEyMDEyNF19fX19fX19LCAweDcwOiB7bDogezB4NzM6IHtsOiB7MHg2OToge2w6IHsweDZDOiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDNCOiB7YzogWzkxN119fX19fX19fX19fX19LCAweDcxOiB7bDogezB4NzU6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbMTA4NjldfSwgMHg1NDoge2w6IHsweDY5OiB7bDogezB4NkM6IHtsOiB7MHg2NDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODc3MF19fX19fX19fX19fX19fX0sIDB4Njk6IHtsOiB7MHg2Qzoge2w6IHsweDY5OiB7bDogezB4NjI6IHtsOiB7MHg3Mjoge2w6IHsweDY5OiB7bDogezB4NzU6IHtsOiB7MHg2RDoge2w6IHsweDNCOiB7YzogWzg2NTJdfX19fX19fX19fX19fX19fX19fX19LCAweDczOiB7bDogezB4NjM6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg0OTZdfX19fX0sIDB4Njk6IHtsOiB7MHg2RDoge2w6IHsweDNCOiB7YzogWzEwODY3XX19fX19fX0sIDB4NzQ6IHtsOiB7MHg2MToge2w6IHsweDNCOiB7YzogWzkxOV19fX19fSwgMHg1NDoge2w6IHsweDQ4OiB7bDogezB4M0I6IHtjOiBbMjA4XX19LCBjOiBbMjA4XX19fSwgMHg3NToge2w6IHsweDZEOiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFsyMDNdfX0sIGM6IFsyMDNdfX19fX0sIDB4Nzg6IHtsOiB7MHg2OToge2w6IHsweDczOiB7bDogezB4NzQ6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzg3MDddfX19fX19fX19LCAweDcwOiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDY1OiB7bDogezB4NkU6IHtsOiB7MHg3NDoge2w6IHsweDY5OiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDQ1OiB7bDogezB4M0I6IHtjOiBbODUxOV19fX19fX19fX19fX19fX19fX19fX19fX19LFxyXG4gICAgMHg2NToge2w6IHsweDYxOiB7bDogezB4NjM6IHtsOiB7MHg3NToge2w6IHsweDc0OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFsyMzNdfX0sIGM6IFsyMzNdfX19fX19fSwgMHg3Mzoge2w6IHsweDc0OiB7bDogezB4NjU6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwODYyXX19fX19fX19fX19LCAweDYzOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4NkU6IHtsOiB7MHgzQjoge2M6IFsyODNdfX19fX19fX19LCAweDY5OiB7bDogezB4NzI6IHtsOiB7MHg2Mzo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g0NjddfX19LCAweDczOiB7bDogezB4M0I6IHtjOiBbMTA5MDFdfSwgMHg2NDoge2w6IHsweDZGOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFsxMDkwM119fX19fX19fX19fSwgMHg2RDoge2w6IHsweDYxOiB7bDogezB4NjM6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzI3NV19fX19fX19LCAweDcwOiB7bDogezB4NzQ6IHtsOiB7MHg3OToge2w6IHsweDNCOiB7YzogWzg3MDldfSwgMHg3Mzoge2w6IHsweDY1OiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4NzA5XX19fX19fX0sIDB4NzY6IHtsOiB7MHgzQjoge2M6IFs4NzA5XX19fX19fX19fSwgMHg3Mzoge2w6IHsweDcwOiB7bDogezB4MzE6IHtsOiB7MHgzMzoge2w6IHsweDNCOiB7YzogWzgxOTZdfX19LCAweDM0OiB7bDogezB4M0I6IHtjOiBbODE5N119fX19fSwgMHgzQjoge2M6IFs4MTk1XX19fX19fX0sIDB4NkU6IHtsOiB7MHg2Nzoge2w6IHsweDNCOiB7YzogWzMzMV19fX0sIDB4NzM6IHtsOiB7MHg3MDoge2w6IHsweDNCOiB7YzogWzgxOTRdfX19fX19fSwgMHg2Rjoge2w6IHsweDY3OiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDNCOiB7YzogWzI4MV19fX19fX19LCAweDcwOiB7bDogezB4NjY6IHtsOiB7MHgzQjoge2M6IFsxMjAxNTBdfX19fX19fSwgMHg3MDoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs4OTE3XX0sIDB4NzM6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzEwNzIzXX19fX19fX19fSwgMHg2Qzoge2w6IHsweDc1OiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFsxMDg2NV19fX19fX19LCAweDczOiB7bDogezB4Njk6IHtsOiB7MHgzQjoge2M6IFs5NDldfSwgMHg2Qzoge2w6IHsweDZGOiB7bDogezB4NkU6IHtsOiB7MHgzQjoge2M6IFs5NDldfX19fX19fSwgMHg3Njoge2w6IHsweDNCOiB7YzogWzEwMTNdfX19fX19fX19LCAweDcxOiB7bDogezB4NjM6IHtsOiB7MHg2OToge2w6IHsweDcyOiB7bDogezB4NjM6IHtsOiB7MHgzQjoge2M6IFs4NzkwXX19fX19fX0sIDB4NkY6IHtsOiB7MHg2Qzoge2w6IHsweDZGOiB7bDogezB4NkU6IHtsOiB7MHgzQjoge2M6IFs4Nzg5XX19fX19fX19fX19LCAweDczOiB7bDogezB4Njk6IHtsOiB7MHg2RDoge2w6IHsweDNCOiB7YzogWzg3NzBdfX19fX0sIDB4NkM6IHtsOiB7MHg2MToge2w6IHsweDZFOiB7bDogezB4NzQ6IHtsOiB7MHg2Nzoge2w6IHsweDc0OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDkwMl19fX19fX19LCAweDZDOiB7bDogezB4NjU6IHtsOiB7MHg3Mzoge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbMTA5MDFdfX19fX19fX19fX19fX19fX19fSwgMHg3NToge2w6IHsweDYxOiB7bDogezB4NkM6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzYxXX19fX19fX0sIDB4NjU6IHtsOiB7MHg3Mzoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODc5OV19fX19fX19LCAweDY5OiB7bDogezB4NzY6IHtsOiB7MHgzQjoge2M6IFs4ODAxXX0sIDB4NDQ6IHtsOiB7MHg0NDoge2w6IHsweDNCOiB7YzogWzEwODcyXX19fX19fX19fX19LCAweDc2OiB7bDogezB4NzA6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzM6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzEwNzI1XX19fX19fX19fX19fX19fSwgMHg3Mjoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwNjA5XX19fX19fX0sIDB4NDQ6IHtsOiB7MHg2Rjoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODc4N119fX19fX19fX0sIDB4NzM6IHtsOiB7MHg2Mzoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODQ5NV19fX19fSwgMHg2NDoge2w6IHsweDZGOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4Nzg0XX19fX19fX0sIDB4Njk6IHtsOiB7MHg2RDoge2w6IHsweDNCOiB7YzogWzg3NzBdfX19fX19fSwgMHg3NDoge2w6IHsweDYxOiB7bDogezB4M0I6IHtjOiBbOTUxXX19fSwgMHg2ODoge2w6IHsweDNCOiB7YzogWzI0MF19fSwgYzogWzI0MF19fX0sIDB4NzU6IHtsOiB7MHg2RDoge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbMjM1XX19LCBjOiBbMjM1XX19fSwgMHg3Mjoge2w6IHsweDZGOiB7bDogezB4M0I6IHtjOiBbODM2NF19fX19fX19LCAweDc4OiB7bDogezB4NjM6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzMzXX19fX19LCAweDY5OiB7bDogezB4NzM6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg3MDddfX19fX19fSwgMHg3MDoge2w6IHsweDY1OiB7bDogezB4NjM6IHtsOiB7MHg3NDoge2w6IHsweDYxOiB7bDogezB4NzQ6IHtsOiB7MHg2OToge2w6IHsweDZGOiB7bDogezB4NkU6IHtsOiB7MHgzQjoge2M6IFs4NDk2XX19fX19fX19fX19fX19fX19LCAweDZGOiB7bDogezB4NkU6IHtsOiB7MHg2NToge2w6IHsweDZFOiB7bDogezB4NzQ6IHtsOiB7MHg2OToge2w6IHsweDYxOiB7bDogezB4NkM6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzg1MTldfX19fX19fX19fX19fX19fX19fX19fX19fSxcclxuICAgIDB4NjY6IH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DNCOiB7YzogWzk2NDldfX19fX19fX19LCAweDZFOiB7bDogezB4NkY6IHtsOiB7MHg2Njoge2w6IHsweDNCOiB7YzogWzQwMl19fX19fX19LCAweDZGOiB7bDogezB4NzA6IHtsOiB7MHg2Njoge2w6IHsweDNCOiB7YzogWzEyMDE1MV19fX19fSwgMHg3Mjoge2w6IHsweDYxOiB7bDogezB4NkM6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzg3MDRdfX19fX19fSwgMHg2Qjoge2w6IHsweDNCOiB7YzogWzg5MTZdfSwgMHg3Njoge2w6IHsweDNCOiB7YzogWzEwOTY5XX19fX19fX19fSwgMHg3MDoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3NDoge2w6IHsweDY5OiB7bDogezB4NkU6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzEwNzY1XX19fX19fX19fX19fX19fSwgMHg3Mjoge2w6IHsweDYxOiB7bDogezB4NjM6IHtsOiB7MHgzMToge2w6IHsweDMyOiB7bDogezB4M0I6IHtjOiBbMTg5XX19LCBjOiBbMTg5XX0sIDB4MzM6IHtsOiB7MHgzQjoge2M6IFs4NTMxXX19fSwgMHgzNDoge2w6IHsweDNCOiB7YzogWzE4OF19fSwgYzogWzE4OF19LCAweDM1OiB7bDogezB4M0I6IHtjOiBbODUzM119fX0sIDB4MzY6IHtsOiB7MHgzQjoge2M6IFs4NTM3XX19fSwgMHgzODoge2w6IHsweDNCOiB7YzogWzg1MzldfX19fX0sIDB4MzI6IHtsOiB7MHgzMzoge2w6IHsweDNCOiB7YzogWzg1MzJdfX19LCAweDM1OiB7bDogezB4M0I6IHtjOiBbODUzNF19fX19fSwgMHgzMzoge2w6IHsweDM0OiB7bDogezB4M0I6IHtjOiBbMTkwXX19LCBjOiBbMTkwXX0sIDB4MzU6IHtsOiB7MHgzQjoge2M6IFs4NTM1XX19fSwgMHgzODoge2w6IHsweDNCOiB7YzogWzg1NDBdfX19fX0sIDB4MzQ6IHtsOiB7MHgzNToge2w6IHsweDNCOiB7YzogWzg1MzZdfX19fX0sIDB4MzU6IHtsOiB7MHgzNjoge2w6IHsweDNCOiB7YzogWzg1MzhdfX19LCAweDM4OiB7bDogezB4M0I6IHtjOiBbODU0MV19fX19fSwgMHgzNzoge2w6IHsweDM4OiB7bDogezB4M0I6IHtjOiBbODU0Ml19fX19fX19LCAweDczOiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFs4MjYwXX19fX19fX0sIDB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbODk5NF19fX19fX19fX0sIDB4NzM6IHtsOiB7MHg2Mzoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTE5OTk1XX19fX19fX19fSxcclxuICAgIDB4NDY6IHtsOiB7MHg2Mzoge2w6IHsweDc5OiB7bDogezB4M0I6IHtjOiBbMTA2MF19fX19fSwgMHg2Njoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTIwMDczXX19fX19LCAweDY5OiB7bDogezB4NkM6IHtsOiB7MHg2Qzoge2w6IHsweDY1OiB7bDogezB4NjQ6IHtsOiB7MHg1Mzoge2w6IHsweDZEOiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDZDOiB7bDogezB4NTM6IHtsOiB7MHg3MToge2w6IHsweDc1OiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbOTcyNF19fX19fX19fX19fX19fX19fX19fX19fSwgMHg1Njoge2w6IHsweDY1OiB7bDogezB4NzI6IHtsOiB7MHg3OToge2w6IHsweDUzOiB7bDogezB4NkQ6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4NkM6IHtsOiB7MHg1Mzoge2w6IHsweDcxOiB7bDogezB4NzU6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs5NjQyXX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDZGOiB7bDogezB4NzA6IHtsOiB7MHg2Njoge2w6IHsweDNCOiB7YzogWzEyMDEyNV19fX19fSwgMHg3Mjoge2w6IHsweDQxOiB7bDogezB4NkM6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzg3MDRdfX19fX19fX19LCAweDc1OiB7bDogezB4NzI6IHtsOiB7MHg2OToge2w6IHsweDY1OiB7bDogezB4NzI6IHtsOiB7MHg3NDoge2w6IHsweDcyOiB7bDogezB4NjY6IHtsOiB7MHgzQjoge2M6IFs4NDk3XX19fX19fX19fX19fX19fX19fX0sIDB4NzM6IHtsOiB7MHg2Mzoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODQ5N119fX19fX19fX0sXHJcbiAgICAweDY3OiB7bDogezB4NjE6IHtsOiB7MHg2Mzoge2w6IHsweDc1OiB7bDogezB4NzQ6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzUwMV19fX19fX19fX0sIDB4NkQ6IHtsOiB7MHg2RDoge2w6IHsweDYxOiB7bDogezB4M0I6IHtjOiBbOTQ3XX0sIDB4NjQ6IHtsOiB7MHgzQjoge2M6IFs5ODldfX19fX19fX19LCAweDcwOiB7bDogezB4M0I6IHtjOiBbMTA4ODZdfX19fX0sIDB4NjI6IHtsOiB7MHg3Mjoge2w6IHsweDY1OiB7bDogezB4NzY6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzI4N119fX19fX19fX19fSwgMHg2Mzoge2w6IHsweDY5OiB7bDogezB4NzI6IHtsOiB7MHg2Mzoge2w6IHsweDNCOiB7YzogWzI4NV19fX19fX19LCAweDc5OiB7bDogezB4M0I6IHtjOiBbMTA3NV19fX19fSwgMHg2NDoge2w6IHsweDZGOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFsyODldfX19fX19fSwgMHg2NToge2w6IHsweDNCOiB7YzogWzg4MDVdfSwgMHg2Qzoge2w6IHsweDNCOiB7YzogWzg5MjNdfX19LCAweDcxOiB7bDogezB4M0I6IHtjOiBbODgwNV19LCAweDcxOiB7bDogezB4M0I6IHtjOiBbODgwN119fX0sIDB4NzM6IHtsOiB7MHg2Qzoge2w6IHsweDYxOiB7bDogezB4NkU6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzEwODc4XX19fX19fX19fX19fX0sIDB4NzM6IHtsOiB7MHg2Mzoge2w6IHsweDYzOiB7bDogezB4M0I6IHtjOiBbMTA5MjFdfX19fX0sIDB4M0I6IHtjOiBbMTA4NzhdfSwgMHg2NDoge2w6IHsweDZGOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFsxMDg4MF19LCAweDZGOiB7bDogezB4M0I6IHtjOiBbMTA4ODJdfSwgMHg2Qzoge2w6IHsweDNCOiB7YzogWzEwODg0XX19fX19fX19fX19LCAweDZDOiB7bDogezB4M0I6IHtjOiBbODkyMywgNjUwMjRdfSwgMHg2NToge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbMTA5MDBdfX19fX19fX19fX0sIDB4NDU6IHtsOiB7MHgzQjoge2M6IFs4ODA3XX0sIDB4NkM6IHtsOiB7MHgzQjoge2M6IFsxMDg5Ml19fX19fSwgMHg2Njoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTIwMTAwXX19fX19LCAweDY3OiB7bDogezB4M0I6IHtjOiBbODgxMV19LCAweDY3OiB7bDogezB4M0I6IHtjOiBbODkyMV19fX19fSwgMHg2OToge2w6IHsweDZEOiB7bDogezB4NjU6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzg1MDNdfX19fX19fX19LCAweDZBOiB7bDogezB4NjM6IHtsOiB7MHg3OToge2w6IHsweDNCOiB7YzogWzExMDddfX19fX19fSwgMHg2Qzoge2w6IHsweDYxOiB7bDogezB4M0I6IHtjOiBbMTA5MTddfX19LCAweDNCOiB7YzogWzg4MjNdfSwgMHg0NToge2w6IHsweDNCOiB7YzogW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19fX19LCAweDZDOiB7bDogezB4NTA6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA2NDVdfX19fX19fX19LCAweDcxOiB7bDogezB4NzU6IHtsOiB7MHg2NToge2w6IHsweDczOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFsxMDg3Nl19fX19fX19fX19fSwgMHg3Mjoge2w6IHsweDYxOiB7bDogezB4NzA6IHtsOiB7MHg3MDoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3ODoge2w6IHsweDNCOiB7YzogWzEwODg2XX19fX19fX19fX19LCAweDcyOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDYxNl19fX19fX19LCAweDY0OiB7bDogezB4NkY6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg5MTldfX19fX19fSwgMHg2NToge2w6IHsweDcxOiB7bDogezB4NkM6IHtsOiB7MHg2NToge2w6IHsweDczOiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFs4OTIzXX19fX19fX19fSwgMHg3MToge2w6IHsweDZDOiB7bDogezB4NjU6IHtsOiB7MHg3Mzoge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbMTA4OTJdfX19fX19fX19fX19fX19LCAweDZDOiB7bDogezB4NjU6IHtsOiB7MHg3Mzoge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbODgyM119fX19fX19fX0sIDB4NzM6IHtsOiB7MHg2OToge2w6IHsweDZEOiB7bDogezB4M0I6IHtjOiBbODgxOV19fX19fX19fX19LCBjOiBbNjJdfSwgMHg3Njoge2w6IHsweDY1OiB7bDogezB4NzI6IHtsOiB7MHg3NDoge2w6IHsweDZFOiB7bDogezB4NjU6IHtsOiB7MHg3MToge2w6IHsweDcxOiB7bDogezB4M0I6IHtjOiBbODgwOSwgNjUwMjRdfX19fX19fX19fX19fX19LCAweDZFOiB7bDogezB4NDU6IHtsOiB7MHgzQjoge2M6IFs4ODA5LCA2NTAyNF19fX19fX19fX0sXHJcbiAgICAweDQ3OiB7bDogezB4NjE6IHtsOiB7MHg2RDoge2w6IHsweDZEOiB7bDogezB4NjE6IHtsOiB7MHgzQjoge2M6IFs5MTVdfSwgMHg2NDoge2w6IHsweDNCOiB7YzogWzk4OF19fX19fX19fX19fSwgMHg2Mjoge2w6IHsweDcyOiB7bDogezB4NjU6IHtsOiB7MHg3Njoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMjg2XX19fX19fX19fX19LCAweDYzOiB7bDogezB4NjU6IHtsOiB7MHg2NDoge2w6IHsweDY5OiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFsyOTBdfX19fX19fX19LCAweDY5OiB7bDogezB4NzI6IHtsOiB7MHg2Mzoge2w6IHsweDNCOiB7YzogWzI4NF19fX19fX19LCAweDc5OiB7bDogezB4M0I6IHtjOiBbMTA0M119fX19fSwgMHg2NDoge2w6IHsweDZGOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFsyODhdfX19fX19fSwgMHg2Njoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTIwMDc0XX19fX19LCAweDY3OiB7bDogezB4M0I6IHtjOiBbODkyMV19fX0sIDB4NEE6IHtsOiB7MHg2Mzoge2w6IHsweDc5OiB7bDogezB4M0I6IHtjOiBbMTAyN119fX19fX19LCAweDZGOiB7bDogezB4NzA6IHtsOiB7MHg2Njoge2w6IHsweDNCOiB7YzogWzEyMDEyNl19fX19fX19LCAweDcyOiB7bDogezB4NjU6IHtsOiB7MHg2MToge2w6IHsweDc0OiB7bDogezB4NjU6IHtsOiB7MHg3Mjoge2w6IHsweDQ1OiB7bDogezB4NzE6IHtsOiB7MHg3NToge2w6IHsweDYxOiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFs4ODA1XX0sIDB4NEM6IHtsOiB7MHg2NToge2w6IHsweDczOiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFs4OTIzXX19fX19fX19fX19fX19fX19fX0sIDB4NDY6IHtsOiB7MHg3NToge2w6IHsweDZDOiB7bDogezB4NkM6IHtsOiB7MHg0NToge2w6IHsweDcxOiB7bDogezB4NzU6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbODgwN119fX19fX19fX19fX19fX19fX19LCAweDQ3OiB7bDogezB4NzI6IHtsOiB7MHg2NToge2w6IHsweDYxOiB7bDogezB4NzQ6IHtsOiB7MHg2NToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA5MTRdfX19fX19fX19fX19fX19LCAweDRDOiB7bDogezB4NjU6IHtsOiB7MHg3Mzoge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbODgyM119fX19fX19fX0sIDB4NTM6IHtsOiB7MHg2Qzoge2w6IHsweDYxOiB7bDogezB4NkU6IHtsOiB7MHg3NDoge2w6IHsweDQ1OiB7bDogezB4NzE6IHtsOiB7MHg3NToge2w6IHsweDYxOiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFsxMDg3OF19fX19fX19fX19fX19fX19fX19fX0sIDB4NTQ6IHtsOiB7MHg2OToge2w6IHsweDZDOiB7bDogezB4NjQ6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzg4MTldfX19fX19fX19fX19fX19fX19fX19fX0sIDB4NzM6IHtsOiB7MHg2Mzoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTE5OTcwXX19fX19fX0sIDB4NTQ6IHtsOiB7MHgzQjoge2M6IFs2Ml19fSwgYzogWzYyXX0sIDB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4ODExXX19fX19LFxyXG4gICAgMHg0ODoge2w6IHsweDYxOiB7bDogezB4NjM6IHtsOiB7MHg2NToge2w6IHsweDZCOiB7bDogezB4M0I6IHtjOiBbNzExXX19fX19fX0sIDB4NzQ6IHtsOiB7MHgzQjoge2M6IFs5NF19fX19fSwgMHg0MToge2w6IHsweDUyOiB7bDogezB4NDQ6IHtsOiB7MHg2Mzoge2w6IHsweDc5OiB7bDogezB4M0I6IHtjOiBbMTA2Nl19fX19fX19fX19fSwgMHg2Mzoge2w6IHsweDY5OiB7bDogezB4NzI6IHtsOiB7MHg2Mzoge2w6IHsweDNCOiB7YzogWzI5Ml19fX19fX19fX0sIDB4NjY6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg0NjBdfX19fX0sIDB4Njk6IHtsOiB7MHg2Qzoge2w6IHsweDYyOiB7bDogezB4NjU6IHtsOiB7MHg3Mjoge2w6IHsweDc0OiB7bDogezB4NTM6IHtsOiB7MHg3MDoge2w6IHsweDYxOiB7bDogezB4NjM6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzg0NTldfX19fX19fX19fX19fX19fX19fX19fX0sIDB4NkY6IHtsOiB7MHg3MDoge2w6IHsweDY2OiB7bDogezB4M0I6IHtjOiBbODQ2MV19fX19fSwgMHg3Mjoge2w6IHsweDY5OiB7bDogezB4N0E6IHtsOiB7MHg2Rjoge2w6IHsweDZFOiB7bDogezB4NzQ6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4NEM6IHtsOiB7MHg2OToge2w6IHsweDZFOiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs5NDcyXX19fX19fX19fX19fX19fX19fX19fX19fX19fSwgMHg3Mzoge2w6IHsweDYzOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs4NDU5XX19fX19LCAweDc0OiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDZCOiB7bDogezB4M0I6IHtjOiBbMjk0XX19fX19fX19fX19LCAweDc1OiB7bDogezB4NkQ6IHtsOiB7MHg3MDoge2w6IHsweDQ0OiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDZFOiB7bDogezB4NDg6IHtsOiB7MHg3NToge2w6IHsweDZEOiB7bDogezB4NzA6IHtsOiB7MHgzQjoge2M6IFs4NzgyXX19fX19fX19fX19fX19fX19LCAweDQ1OiB7bDogezB4NzE6IHtsOiB7MHg3NToge2w6IHsweDYxOiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFs4NzgzXX19fX19fX19fX19fX19fX19fX0sXHJcbiAgICAweDY4OiB7bDogezB4NjE6IHtsOiB7MHg2OToge2w6IHsweDcyOiB7bDogezB4NzM6IHtsOiB7MHg3MDoge2w6IHsweDNCOiB7YzogWzgyMDJdfX19fX19fX19LCAweDZDOiB7bDogezB4NjY6IHtsOiB7MHgzQjoge2M6IFsxODldfX19fX0sIDB4NkQ6IHtsOiB7MHg2OToge2w6IHsweDZDOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4NDU5XX19fX19fX19fSwgMHg3Mjoge2w6IHsweDY0OiB7bDogezB4NjM6IHtsOiB7MHg3OToge2w6IHsweDNCOiB7YzogWzEwOThdfX19fX19fSwgMHg3Mjoge2w6IHsweDYzOiB7bDogezB4Njk6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwNTY4XX19fX19fX0sIDB4M0I6IHtjOiBbODU5Nl19LCAweDc3OiB7bDogezB4M0I6IHtjOiBbODYyMV19fX19fX19fX0sIDB4NDE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODY2MF19fX19fX19LCAweDYyOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg0NjNdfX19fX19fSwgMHg2Mzoge2w6IHsweDY5OiB7bDogezB4NzI6IHtsOiB7MHg2Mzoge2w6IHsweDNCOiB7YzogWzI5M119fX19fX19fX0sIDB4NjU6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzQ6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzk4MjldfSwgMHg3NToge2w6IHsweDY5OiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs5ODI5XX19fX19fX19fX19fX19fSwgMHg2Qzoge2w6IHsweDZDOiB7bDogezB4Njk6IHtsOiB7MHg3MDoge2w6IHsweDNCOiB7YzogWzgyMzBdfX19fX19fX19LCAweDcyOiB7bDogezB4NjM6IHtsOiB7MHg2Rjoge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbODg4OV19fX19fX19fX19fSwgMHg2Njoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTIwMTAxXX19fX19LCAweDZCOiB7bDogezB4NzM6IHtsOiB7MHg2NToge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4M0I6IHtjOiBbMTA1MzNdfX19fX19fX19fX0sIDB4Nzc6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDNCOiB7YzogWzEwNTM0XX19fX19fX19fX19fX19fSwgMHg2Rjoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg3MDNdfX19fX19fSwgMHg2RDoge2w6IHsweDc0OiB7bDogezB4Njg6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg3NjNdfX19fX19fX19LCAweDZGOiB7bDogezB4NkI6IHtsOiB7MHg2Qzoge2w6IHsweDY1OiB7bDogezB4NjY6IHtsOiB7MHg3NDoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFs4NjE3XX19fX19fX19fX19fX19fX19fX0sIDB4NzI6IHtsOiB7MHg2OToge2w6IHsweDY3OiB7bDogezB4Njg6IHtsOiB7MHg3NDoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFs4NjE4XX19fX19fX19fX19fX19fX19fX19fX19fX0sIDB4NzA6IHtsOiB7MHg2Njoge2w6IHsweDNCO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iB7MHg3Mjoge2w6IHsweDYxOiB7bDogezB4NzY6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzIwNF19fSwgYzogWzIwNF19fX19fX19fX0sIDB4NEE6IHtsOiB7MHg2Qzoge2w6IHsweDY5OiB7bDogezB4Njc6IHtsOiB7MHgzQjoge2M6IFszMDZdfX19fX19fX19LCAweDZEOiB7bDogezB4NjE6IHtsOiB7MHg2Mzoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMjk4XX19fX19LCAweDY3OiB7bDogezB4Njk6IHtsOiB7MHg2RToge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3OToge2w6IHsweDQ5OiB7bDogezB4M0I6IHtjOiBbODUyMF19fX19fX19fX19fX19fX19fSwgMHgzQjoge2M6IFs4NDY1XX0sIDB4NzA6IHtsOiB7MHg2Qzoge2w6IHsweDY5OiB7bDogezB4NjU6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzg2NThdfX19fX19fX19fX19fSwgMHg2RToge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODc0OF19LCAweDY1OiB7bDogezB4Njc6IHtsOiB7MHg3Mjoge2w6IHsweDYxOiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFs4NzQ3XX19fX19fX19fSwgMHg3Mjoge2w6IHsweDczOiB7bDogezB4NjU6IHtsOiB7MHg2Mzoge2w6IHsweDc0OiB7bDogezB4Njk6IHtsOiB7MHg2Rjoge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbODg5OF19fX19fX19fX19fX19fX19fX19fX0sIDB4NzY6IHtsOiB7MHg2OToge2w6IHsweDczOiB7bDogezB4Njk6IHtsOiB7MHg2Mjoge2w6IHsweDZDOiB7bDogezB4NjU6IHtsOiB7MHg0Mzoge2w6IHsweDZGOiB7bDogezB4NkQ6IHtsOiB7MHg2RDoge2w6IHsweDYxOiB7bDogezB4M0I6IHtjOiBbODI5MV19fX19fX19fX19fSwgMHg1NDoge2w6IHsweDY5OiB7bDogezB4NkQ6IHtsOiB7MHg2NToge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbODI5MF19fX19fX19fX19fX19fX19fX19fX19fX19fX0sIDB4NEY6IHtsOiB7MHg2Mzoge2w6IHsweDc5OiB7bDogezB4M0I6IHtjOiBbMTAyNV19fX19fX19LCAweDZGOiB7bDogezB4Njc6IHtsOiB7MHg2Rjoge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbMzAyXX19fX19fX0sIDB4NzA6IHtsOiB7MHg2Njoge2w6IHsweDNCOiB7YzogWzEyMDEyOF19fX19fSwgMHg3NDoge2w6IHsweDYxOiB7bDogezB4M0I6IHtjOiBbOTIxXX19fX19fX0sIDB4NzM6IHtsOiB7MHg2Mzoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODQ2NF19fX19fX19LCAweDc0OiB7bDogezB4Njk6IHtsOiB7MHg2Qzoge2w6IHsweDY0OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFsyOTZdfX19fX19fX19fX0sIDB4NzU6IHtsOiB7MHg2Qjoge2w6IHsweDYzOiB7bDogezB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMDMwXX19fX19fX0sIDB4NkQ6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzIwN119fSwgYzogWzIwN119fX19fX19LFxyXG4gICAgMHg2OToge2w6IHsweDYxOiB7bDogezB4NjM6IHtsOiB7MHg3NToge2w6IHsweDc0OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFsyMzddfX0sIGM6IFsyMzddfX19fX19fX19LCAweDYzOiB7bDogezB4M0I6IHtjOiBbODI5MV19LCAweDY5OiB7bDogezB4NzI6IHtsOiB7MHg2Mzoge2w6IHsweDNCOiB7YzogWzIzOF19fSwgYzogWzIzOF19fX19fSwgMHg3OToge2w6IHsweDNCOiB7YzogWzEwODBdfX19fX0sIDB4NjU6IHtsOiB7MHg2Mzoge2w6IHsweDc5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bDogezB4M0I6IHtjOiBbODQ2NV19fX19fX19fX19fSwgMHg3NDoge2w6IHsweDY4OiB7bDogezB4M0I6IHtjOiBbMzA1XX19fX19fX0sIDB4NkY6IHtsOiB7MHg2Njoge2w6IHsweDNCOiB7YzogWzg4ODddfX19fX0sIDB4NzA6IHtsOiB7MHg2NToge2w6IHsweDY0OiB7bDogezB4M0I6IHtjOiBbNDM3XX19fX19fX19fSwgMHg2RToge2w6IHsweDYzOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODQ1M119fX19fX19fX0sIDB4M0I6IHtjOiBbODcxMl19LCAweDY2OiB7bDogezB4Njk6IHtsOiB7MHg2RToge2w6IHsweDNCOiB7YzogWzg3MzRdfSwgMHg3NDoge2w6IHsweDY5OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFsxMDcxN119fX19fX19fX19fX19LCAweDZGOiB7bDogezB4NjQ6IHtsOiB7MHg2Rjoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbMzA1XX19fX19fX19fSwgMHg3NDoge2w6IHsweDYzOiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzg4OTBdfX19fX19fSwgMHgzQjoge2M6IFs4NzQ3XX0sIDB4NjU6IHtsOiB7MHg2Nzoge2w6IHsweDY1OiB7bDogezB4NzI6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzg0ODRdfX19fX19fX19LCAweDcyOiB7bDogezB4NjM6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbODg5MF19fX19fX19fX19fSwgMHg2Qzoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg2ODoge2w6IHsweDZCOiB7bDogezB4M0I6IHtjOiBbMTA3NzVdfX19fX19fX19fX0sIDB4NzA6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4NjQ6IHtsOiB7MHgzQj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7MHgzQjoge2M6IFsxMTEwXX19fX19fX0sIDB4NkQ6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzIzOV19fSwgYzogWzIzOV19fX19fX19LFxyXG4gICAgMHg0QToge2w6IHsweDYzOiB7bDogezB4Njk6IHtsOiB7MHg3Mjoge2w6IHsweDYzOiB7bDogezB4M0I6IHtjOiBbMzA4XX19fX19fX0sIDB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMDQ5XX19fX19LCAweDY2OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMjAwNzddfX19fX0sIDB4NkY6IHtsOiB7MHg3MDoge2w6IHsweDY2OiB7bDogezB4M0I6IHtjOiBbMTIwMTI5XX19fX19fX0sIDB4NzM6IHtsOiB7MHg2Mzoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTE5OTczXX19fX19LCAweDY1OiB7bDogezB4NzI6IHtsOiB7MHg2Mzoge2w6IHsweDc5OiB7bDogezB4M0I6IHtjOiBbMTAzMl19fX19fX19fX19fSwgMHg3NToge2w6IHsweDZCOiB7bDogezB4NjM6IHtsOiB7MHg3OToge2w6IHsweDNCOiB7YzogWzEwMjhdfX19fX19fX19fX0sXHJcbiAgICAweDZBOiB7bDogezB4NjM6IHtsOiB7MHg2OToge2w6IHsweDcyOiB7bDogezB4NjM6IHtsOiB7MHgzQjoge2M6IFszMDldfX19fX19fSwgMHg3OToge2w6IHsweDNCOiB7YzogWzEwODFdfX19fX0sIDB4NjY6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEyMDEwM119fX19fSwgMHg2RDoge2w6IHsweDYxOiB7bDogezB4NzQ6IHtsOiB7MHg2ODoge2w6IHsweDNCOiB7YzogWzU2N119fX19fX19fX0sIDB4NkY6IHtsOiB7MHg3MDoge2w6IHsweDY2OiB7bDogezB4M0I6IHtjOiBbMTIwMTU1XX19fX19fX0sIDB4NzM6IHtsOiB7MHg2Mzoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTE5OTk5XX19fX19LCAweDY1OiB7bDogezB4NzI6IHtsOiB7MHg2Mzoge2w6IHsweDc5OiB7bDogezB4M0I6IHtjOiBbMTExMl19fX19fX19fX19fSwgMHg3NToge2w6IHsweDZCOiB7bDogezB4NjM6IHtsOiB7MHg3OToge2w6IHsweDNCOiB7YzogWzExMDhdfX19fX19fX19fX0sXHJcbiAgICAweDRCOiB7bDogezB4NjE6IHtsOiB7MHg3MDoge2w6IHsweDcwOiB7bDogezB4NjE6IHtsOiB7MHgzQjoge2M6IFs5MjJdfX19fX19fX19LCAweDYzOiB7bDogezB4NjU6IHtsOiB7MHg2NDoge2w6IHsweDY5OiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFszMTBdfX19fX19fX19LCAweDc5OiB7bDogezB4M0I6IHtjOiBbMTA1MF19fX19fSwgMHg2Njoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTIwMDc4XX19fX19LCAweDQ4OiB7bDogezB4NjM6IHtsOiB7MHg3OToge2w6IHsweDNCOiB7YzogWzEwNjFdfX19fX19fSwgMHg0QToge2w6IHsweDYzOiB7bDogezB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMDM2XX19fX19fX0sIDB4NkY6IHtsOiB7MHg3MDoge2w6IHsweDY2OiB7bDogezB4M0I6IHtjOiBbMTIwMTMwXX19fX19fX0sIDB4NzM6IHtsOiB7MHg2Mzoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTE5OTc0XX19fX19fX19fSxcclxuICAgIDB4NkI6IHtsOiB7MHg2MToge2w6IHsweDcwOiB7bDogezB4NzA6IHtsOiB7MHg2MToge2w6IHsweDNCOiB7YzogWzk1NF19LCAweDc2OiB7bDogezB4M0I6IHtjOiBbMTAwOF19fX19fX19fX19fSwgMHg2Mzoge2w6IHsweDY1OiB7bDogezB4NjQ6IHtsOiB7MHg2OToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbMzExXX19fX19fX19fSwgMHg3OToge2w6IHsweDNCOiB7YzogWzEwODJdfX19fX0sIDB4NjY6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEyMDEwNF19fX19fSwgMHg2Nzoge2w6IHsweDcyOiB7bDogezB4NjU6IHtsOiB7MHg2NToge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbMzEyXX19fX19fX19fX19LCAweDY4OiB7bDogezB4NjM6IHtsOiB7MHg3OToge2w6IHsweDNCOiB7YzogWzEwOTNdfX19fX19fSwgMHg2QToge2w6IHsweDYzOiB7bDogezB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMTE2XX19fX19fX0sIDB4NkY6IHtsOiB7MHg3MDoge2w6IHsweDY2OiB7bDogezB4M0I6IHtjOiBbMTIwMTU2XX19fX19fX0sIDB4NzM6IHtsOiB7MHg2Mzoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTIwMDAwXX19fX19fX19fSxcclxuICAgIDB4NkM6IHtsOiB7MHg0MToge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg2NjZdfX19fX19fSwgMHg3Mjoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODY1Nl19fX19fSwgMHg3NDoge2w6IHsweDYxOiB7bDogezB4Njk6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzEwNTIzXX19fX19fX19fX19LCAweDYxOiB7bDogezB4NjM6IHtsOiB7MHg3NToge2w6IHsweDc0OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFszMTRdfX19fX19fX19LCAweDY1OiB7bDogezB4NkQ6IHtsOiB7MHg3MDoge2w6IHsweDc0OiB7bDogezB4Nzk6IHtsOiB7MHg3Njoge2w6IHsweDNCOiB7YzogWzEwNjc2XX19fX19fX19fX19fX0sIDB4Njc6IHtsOiB7MHg3Mjoge2w6IHsweDYxOiB7bDogezB4NkU6IHtsOiB7MHgzQjoge2M6IFs4NDY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mzoge2w6IHsweDNCOiB7YzogWzEwOTI1LCA2NTAyNF19fX19fX19fX0sIDB4NjI6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDUwOF19fX19fX19LCAweDYyOiB7bDogezB4NzI6IHtsOiB7MHg2Qjoge2w6IHsweDNCOiB7YzogWzEwMDk4XX19fX19fX0sIDB4NzI6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFsxMjNdfX19LCAweDZCOiB7bDogezB4M0I6IHtjOiBbOTFdfX19fX19fSwgMHg2Qjoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMTA2MzVdfX19LCAweDczOiB7bDogezB4NkM6IHtsOiB7MHg2NDoge2w6IHsweDNCOiB7YzogWzEwNjM5XX19fSwgMHg3NToge2w6IHsweDNCOiB7YzogWzEwNjM3XX19fX19fX19fX19fX0sIDB4NDI6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDUxMF19fX19fX19fX0sIDB4NjM6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDNCOiB7YzogWzMxOF19fX19fX19fX0sIDB4NjU6IHtsOiB7MHg2NDoge2w6IHsweDY5OiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFszMTZdfX19fX19fSwgMHg2OToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbODk2OF19fX19fX19LCAweDc1OiB7bDogezB4NjI6IHtsOiB7MHgzQjoge2M6IFsxMjNdfX19fX0sIDB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMDgzXX19fX19LCAweDY0OiB7bDogezB4NjM6IHtsOiB7MHg2MToge2w6IHsweDNCOiB7YzogWzEwNTUwXX19fX19LCAweDcxOiB7bDogezB4NzU6IHtsOiB7MHg2Rjoge2w6IHsweDNCOiB7YzogWzgyMjBdfSwgMHg3Mjoge2w6IHsweDNCOiB7YzogWzgyMjJdfX19fX19fX19LCAweDcyOiB7bDogezB4NjQ6IHtsOiB7MHg2ODoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDU5OV19fX19fX19fX0sIDB4NzU6IHtsOiB7MHg3Mzoge2w6IHsweDY4OiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwNTcxXX19fX19fX19fX19fX0sIDB4NzM6IHtsOiB7MHg2ODoge2w6IHsweDNCOiB7YzogWzg2MjZdfX19fX19fSwgMHg2NToge2w6IHsweDNCOiB7YzogWzg4MDRdfSwgMHg2Njoge2w6IHsweDc0OiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDNCOiB7YzogWzg1OTJdfSwgMHg3NDoge2w6IHsweDYxOiB7bDogezB4Njk6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzg2MTBdfX19fX19fX19fX19fX19fX19fSwgMHg2ODoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3MDoge2w6IHsweDZGOiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDY0OiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbODYzN119fX19fX19fX0sIDB4NzU6IHtsOiB7MHg3MDoge2w6IHsweDNCOiB7YzogWzg2MzZdfX19fX19fX19fX19fX19fX19fSwgMHg2Qzoge2w6IHsweDY1OiB7bDogezB4NjY6IHtsOiB7MHg3NDoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzg2NDddfX19fX19fX19fX19fX19fX19fX19LCAweDcyOiB7bDogezB4Njk6IHtsOiB7MHg2Nzoge2w6IHsweDY4OiB7bDogezB4NzQ6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4M0I6IHtjOiBbODU5Nl19LCAweDczOiB7bDogezB4M0I6IHtjOiBbODY0Nl19fX19fX19fX19fX19LCAweDY4OiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDcwOiB7bDogezB4NkY6IHtsOiB7MHg2Rjoge2w6IHsweDZFOiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFs4NjUxXX19fX19fX19fX19fX19fX19LCAweDczOiB7bDogezB4NzE6IHtsOiB7MHg3NToge2w6IHsweDY5OiB7bDogezB4Njc6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4M0I6IHtjOiBbODYyMV19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDc0OiB7bDogezB4Njg6IHtsOiB7MHg3Mjoge2w6IHsweDY1OiB7bDogezB4NjU6IHtsOiB7MHg3NDoge2w6IHsweDY5OiB7bDogezB4NkQ6IHtsOiB7MHg2NToge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbODkwN119fX19fX19fX19fX19fX19fX19fX19fX19LCAweDY3OiB7bDogezB4M0I6IHtjOiBbODkyMl19fX0sIDB4NzE6IHtsOiB7MHgzQjoge2M6IFs4ODA0XX0sIDB4NzE6IHtsOiB7MHgzQjoge2M6IFs4ODA2XX19fSwgMHg3Mzoge2w6IHsweDZDOiB7bDogezB4NjE6IHtsOiB7MHg2RToge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbMTA4NzddfX19fX19fX19fX19fSwgMHg3Mzoge2w6IHsweDYzOiB7bDogezB4NjM6IHtsOiB7MHgzQjoge2M6IFsxMDkyMF19fX19fSwgMHgzQjoge2M6IFsxMDg3N119LCAweDY0OiB7bDogezB4NkY6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzEwODc5XX0sIDB4NkY6IHtsOiB7MHgzQjoge2M6IFsxMDg4MV19LCAweDcyOiB7bDogezB4M0I6IHtjOiBbMTA4ODNdfX19fX19fX19fX0sIDB4Njc6IHtsOiB7MHgzQjoge2M6IFs4OTIyLCA2NTAyNF19LCAweDY1OiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFsxMDg5OV19fX19fX19LCAweDczOiB7bDogezB4NjE6IHtsOiB7MHg3MDoge2w6IHsweDcwOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc4OiB7bDogezB4M0I6IHtjOiBbMTA4ODVdfX19fX19fX19fX19fSwgMHg2NDoge2w6IHsweDZGOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4OTE4XX19fX19fX0sIDB4NjU6IHtsOiB7MHg3MToge2w6IHsweDY3OiB7bDogezB4NzQ6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg5MjJdfX19fX19fSwgMHg3MToge2w6IHsweDY3OiB7bDogezB4NzQ6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwODkxXX19fX19fX19fX19fX0sIDB4Njc6IHtsOiB7MHg3NDoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODgyMl19fX19fX19LCAweDczOiB7bDogezB4Njk6IHtsOiB7MHg2RDoge2w6IHsweDNCOiB7YzogWzg4MThdfX19fX19fX19fX19fSwgMHg0NToge2w6IHsweDNCOiB7YzogWzg4MDZdfSwgMHg2Nzoge2w6IHsweDNCOiB7YzogWzEwODkxXX19fX19LCAweDY2OiB7bDogezB4Njk6IHtsOiB7MHg3Mzoge2w6IHsweDY4OiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFsxMDYyMF19fX19fX19fX0sIDB4NkM6IHtsOiB7MHg2Rjoge2w6IHsweDZGOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IF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B7bDogezB4NzM6IHtsOiB7MHg3NDoge2w6IHsweDYxOiB7bDogezB4NjM6IHtsOiB7MHg2ODoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbOTEzNl19fX19fX19fX0sIDB4M0I6IHtjOiBbOTEzNl19fX19fX19fX19fSwgMHg2RToge2w6IHsweDYxOiB7bDogezB4NzA6IHtsOiB7MHgzQjoge2M6IFsxMDg4OV19LCAweDcwOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc4OiB7bDogezB4M0I6IHtjOiBbMTA4ODldfX19fX19fX19fX19fSwgMHg2NToge2w6IHsweDNCOiB7YzogWzEwODg3XX0sIDB4NzE6IHtsOiB7MHgzQjoge2M6IFsxMDg4N119LCAweDcxOiB7bDogezB4M0I6IHtjOiBbODgwOF19fX19fX19LCAweDQ1OiB7bDogezB4M0I6IHtjOiBbODgwOF19fX0sIDB4NzM6IHtsOiB7MHg2OToge2w6IHsweDZEOiB7bDogezB4M0I6IHtjOiBbODkzNF19fX19fX19fX0sIDB4NkY6IHtsOiB7MHg2MToge2w6IHsweDZFOiB7bDogezB4Njc6IHtsOiB7MHgzQjoge2M6IFsxMDIyMF19fX19fSwgMHg3Mjoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODcwMV19fX19fX19LCAweDYyOiB7bDogezB4NzI6IHtsOiB7MHg2Qjoge2w6IHsweDNCOiB7YzogWzEwMjE0XX19fX19fX0sIDB4NkU6IHtsOiB7MHg2Nzoge2w6IHsweDZDOiB7bDogezB4NjU6IHtsOiB7MHg2Njoge2w6IHsweDc0OiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDNCOiB7YzogWzEwMjI5XX19fX19fX19fX19LCAweDcyOiB7bDogezB4Njk6IHtsOiB7MHg2Nzoge2w6IHsweDY4OiB7bDogezB4NzQ6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4M0I6IHtjOiBbMTAyMzFdfX19fX19fX19fX19fX19fX19fX19fX19fX19fX0sIDB4NkQ6IHtsOiB7MHg2MToge2w6IHsweDcwOiB7bDogezB4NzM6IHtsOiB7MHg3NDoge2w6IHsweDZGOiB7bDogezB4M0I6IHtjOiBbMTAyMzZdfX19fX19fX19fX19fSwgMHg3Mjoge2w6IHsweDY5OiB7bDogezB4Njc6IHtsOiB7MHg2ODoge2w6IHsweDc0OiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDNCOiB7YzogWzEwMjMwXX19fX19fX19fX19fX19fX19fX19fX19fX0sIDB4NkY6IHtsOiB7MHg3MDoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHg2Qzoge2w6IHsweDY1OiB7bDogezB4NjY6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg2MTldfX19fX19fX19LCAweDcyOiB7bDogezB4Njk6IHtsOiB7MHg2Nzoge2w6IHsweDY4OiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4NjIwXX19fX19fX19fX19fX19fX19fX19fX19fX0sIDB4NzA6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA2MjldfX19fX0sIDB4NjY6IHtsOiB7MHgzQjoge2M6IFsxMjAxNTddfX19LCAweDZDOiB7bDogezB4NzU6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzEwNzk3XX19fX19fX19fSwgMHg3NDoge2w6IHsweDY5OiB7bDogezB4NkQ6IHtsOiB7MHg2NToge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbMTA4MDRdfX19fX19fX19fX0sIDB4Nzc6IHtsOiB7MHg2MToge2w6IHsweDczOiB7bDogezB4Nz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DY5OiB7bDogezB4NkQ6IHtsOiB7MHgzQjoge2M6IFs4ODE4XX0sIDB4NjU6IHtsOiB7MHgzQjoge2M6IFsxMDg5M119fX0sIDB4Njc6IHtsOiB7MHgzQjoge2M6IFsxMDg5NV19fX19fX19LCAweDcxOiB7bDogezB4NjI6IHtsOiB7MHgzQjoge2M6IFs5MV19fX0sIDB4NzU6IHtsOiB7MHg2Rjoge2w6IHsweDNCOiB7YzogWzgyMTZdfSwgMHg3Mjoge2w6IHsweDNCOiB7YzogWzgyMThdfX19fX19fX19LCAweDc0OiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDZCOiB7bDogezB4M0I6IHtjOiBbMzIyXX19fX19fX19fX19LCAweDc0OiB7bDogezB4NjM6IHtsOiB7MHg2Mzoge2w6IHsweDNCOiB7YzogWzEwOTE4XX19fSwgMHg2OToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA4NzNdfX19fX19fSwgMHgzQjoge2M6IFs2MF19LCAweDY0OiB7bDogezB4NkY6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg5MThdfX19fX19fSwgMHg2ODoge2w6IHsweDcyOiB7bDogezB4NjU6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzg5MDddfX19fX19fX19LCAweDY5OiB7bDogezB4NkQ6IHtsOiB7MHg2NToge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbODkwNV19fX19fX19fX0sIDB4NkM6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDYxNF19fX19fX19fX0sIDB4NzE6IHtsOiB7MHg3NToge2w6IHsweDY1OiB7bDogezB4NzM6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzEwODc1XX19fX19fX19fX19LCAweDcyOiB7bDogezB4Njk6IHtsOiB7MHgzQjoge2M6IFs5NjY3XX0sIDB4NjU6IHtsOiB7MHgzQjoge2M6IFs4ODg0XX19fSwgMHg2Njoge2w6IHsweDNCOiB7YzogWzk2NjZdfX19fX0sIDB4NTA6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA2NDZdfX19fX19fX19fSwgYzogWzYwXX0sIDB4NzU6IHtsOiB7MHg3Mjoge2w6IHsweDY0OiB7bDogezB4NzM6IHtsOiB7MHg2ODoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDU3MF19fX19fX19fX19fSwgMHg3NToge2w6IHsweDY4OiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwNTk4XX19fX19fX19fX19fX0sIDB4NzY6IHtsOiB7MHg2NToge2w6IHsweDcyOiB7bDogezB4NzQ6IHtsOiB7MHg2RToge2w6IHsweDY1OiB7bDogezB4NzE6IHtsOiB7MHg3MToge2w6IHsweDNCOiB7YzogWzg4MDgsIDY1MDI0XX19fX19fX19fX19fX19fSwgMHg2RToge2w6IHsweDQ1OiB7bDogezB4M0I6IHtjOiBbODgwOCwgNjUwMjRdfX19fX19fX19LFxyXG4gICAgMHg0Qzoge2w6IHsweDYxOiB7bDogezB4NjM6IHtsOiB7MHg3NToge2w6IHsweDc0OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFszMTNdfX19fX19fX19LCAweDZEOiB7bDogezB4NjI6IHtsOiB7MHg2NDoge2w6IHsweDYxOiB7bDogezB4M0I6IHtjOiBbOTIzXX19fX19fX19fSwgMHg2RToge2w6IHsweDY3OiB7bDogezB4M0I6IHtjOiBbMTAyMThdfX19fX0sIDB4NzA6IHtsOiB7MHg2Qzoge2w6IHsweDYxOiB7bDogezB4NjM6IHtsOiB7MHg2NToge2w6IHsweDc0OiB7bDogezB4NzI6IHtsOiB7MHg2Njoge2w6IHsweDNCOiB7YzogWzg0NjZdfX19fX19fX19fX19fX19fX0sIDB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg2MDZdfX19fX19fSwgMHg2Mzoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbMzE3XX19fX19fX19fSwgMHg2NToge2w6IHsweDY0OiB7bDogezB4Njk6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzMxNV19fX19fX19fX0sIDB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMDUxXX19fX19LCAweDY1OiB7bDogezB4NjY6IHtsOiB7MHg3NDoge2w6IHsweDQxOiB7bDogezB4NkU6IHtsOiB7MHg2Nzoge2w6IHsweDZDOiB7bDogezB4NjU6IHtsOiB7MHg0Mjoge2w6IHsweDcyOiB7bDogezB4NjE6IHtsOiB7MHg2Mzoge2w6IHsweDZCOiB7bDogezB4NjU6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzEwMjE2XX19fX19fX19fX19fX19fX19fX19fX19LCAweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4NDI6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODY3Nl19fX19fX19LCAweDNCOiB7YzogWzg1OTJdfSwgMHg1Mjoge2w6IHsweDY5OiB7bDogezB4Njc6IHtsOiB7MHg2ODoge2w6IHsweDc0OiB7bDogezB4NDE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDNCOiB7YzogWzg2NDZdfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fSwgMHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4M0I6IHtjOiBbODY1Nl19fX19fX19fX19fSwgMHg0Mzoge2w6IHsweDY1OiB7bDogezB4Njk6IHtsOiB7MHg2Qzoge2w6IHsweDY5OiB7bDogezB4NkU6IHtsOiB7MHg2Nzoge2w6IHsweDNCOiB7YzogWzg5NjhdfX19fX19fX19fX19fX19LCAweDQ0OiB7bDogezB4NkY6IHtsOiB7MHg3NToge2w6IHsweDYyOiB7bDogezB4NkM6IHtsOiB7MHg2NToge2w6IHsweDQyOiB7bDogezB4NzI6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4NkI6IHtsOiB7MHg2NToge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbMTAyMTRdfX19fX19fX19fX19fX19fX19fX19fX0sIDB4Nzc6IHtsOiB7MHg2RToge2w6IHsweDU0OiB7bDogezB4NjU6IHtsOiB7MHg2NToge2w6IHsweDU2OiB7bDogezB4NjU6IHtsOiB7MHg2Mzoge2w6IHsweDc0OiB7bDogezB4NkY6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwNTkzXX19fX19fX19fX19fX19fX19fX0sIDB4NTY6IHtsOiB7MHg2NToge2w6IHsweDYzOiB7bDogezB4NzQ6IHtsOiB7MHg2Rjoge2w6IHsweDcyOiB7bDogezB4NDI6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA1ODVdfX19fX19fSwgMHgzQjoge2M6IFs4NjQzXX19fX19fX19fX19fX19fX19fX19fSwgMHg0Njoge2w6IHsweDZDOiB7bDogezB4NkY6IHtsOiB7MHg2Rjoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODk3MF19fX19fX19fX19fSwgMHg1Mjoge2w6IHsweDY5OiB7bDogezB4Njc6IHtsOiB7MHg2ODoge2w6IHsweDc0OiB7bDogezB4NDE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDNCOiB7YzogWzg1OTZdfX19fX19fX19fX0sIDB4NTY6IHtsOiB7MHg2NToge2w6IHsweDYzOiB7bDogezB4NzQ6IHtsOiB7MHg2Rjoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA1NzRdfX19fX19fX19fX19fX19fX19fX19fX0sIDB4NzI6IHtsOiB7MHg2OToge2w6IHsweDY3OiB7bDogezB4Njg6IHtsOiB7MHg3NDoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFs4NjYwXX19fX19fX19fX19fX19fX19fX19fSwgMHg1NDoge2w6IHsweDY1OiB7bDogezB4NjU6IHtsOiB7MHg0MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4M0I6IHtjOiBbODYxMl19fX19fX19fX19fSwgMHgzQjoge2M6IFs4ODY3XX0sIDB4NTY6IHtsOiB7MHg2NToge2w6IHsweDYzOiB7bDogezB4NzQ6IHtsOiB7MHg2Rjoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA1ODZdfX19fX19fX19fX19fX19fX0sIDB4NzI6IHtsOiB7MHg2OToge2w6IHsweDYxOiB7bDogezB4NkU6IHtsOiB7MHg2Nzoge2w6IHsweDZDOiB7bDogezB4NjU6IHtsOiB7MHg0Mjoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDcwM119fX19fX19LCAweDNCOiB7YzogWzg4ODJdfSwgMHg0NToge2w6IHsweDcxOiB7bDogezB4NzU6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbODg4NF19fX19fX19fX19fX19fX19fX19fX19fX19fX0sIDB4NTU6IHtsOiB7MHg3MDoge2w6IHsweDQ0OiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDZFOiB7bDogezB4NTY6IHtsOiB7MHg2NToge2w6IHsweDYzOiB7bDogezB4NzQ6IHtsOiB7MHg2Rjoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA1NzddfX19fX19fX19fX19fX19fX19fX19LCAweDU0OiB7bDogezB4NjU6IHtsOiB7MHg2NToge2w6IHsweDU2OiB7bDogezB4NjU6IHtsOiB7MHg2Mzoge2w6IHsweDc0OiB7bDogezB4NkY6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwNTkyXX19fX19fX19fX19fX19fX19fX0sIDB4NTY6IHtsOiB7MHg2NToge2w6IHsweDYzOiB7bDogezB4NzQ6IHtsOiB7MHg2Rjoge2w6IHsweDcyOiB7bDogezB4NDI6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA1ODRdfX19fX19fSwgMHgzQjoge2M6IFs4NjM5XX19fX19fX19fX19fX19fX19LCAweDU2OiB7bDogezB4NjU6IHtsOiB7MHg2Mzoge2w6IHsweDc0OiB7bDogezB4NkY6IHtsOiB7MHg3Mjoge2w6IHsweDQyOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwNTc4XX19fX19fX0sIDB4M0I6IHtjOiBbODYzNl19fX19fX19fX19fX19fX19fSwgMHg3Mzoge2w6IHsweDczOiB7bDogezB4NDU6IHtsOiB7MHg3MToge2w6IHsweDc1OiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDQ3OiB7bDogezB4NzI6IHtsOiB7MHg2NToge2w6IHsweDYxOiB7bDogezB4NzQ6IHtsOiB7MHg2NToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODkyMl19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDQ2OiB7bDogezB4NzU6IHtsOiB7MHg2Qzoge2w6IHsweDZDOiB7bDogezB4NDU6IHtsOiB7MHg3MToge2w6IHsweDc1OiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzg4MDZdfX19fX19fX19fX19fX19fX19fSwgMHg0Nzoge2w6IHsweDcyOiB7bDogezB4NjU6IHtsOiB7MHg2MToge2w6IHsweDc0OiB7bDogezB4NjU6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg4MjJdfX19fX19fX19fX19fX19LCAweDRDOiB7bDogezB4NjU6IHtsOiB7MHg3Mzoge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbMTA5MTNdfX19fX19fX19LCAweDUzOiB7bDogezB4NkM6IHtsOiB7MHg2MToge2w6IHsweDZFOiB7bDogezB4NzQ6IHtsOiB7MHg0NToge2w6IHsweDcxOiB7bDogezB4NzU6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbMTA4NzddfX19fX19fX19fX19fX19fX19fX19LCAweDU0OiB7bDogezB4Njk6IHtsOiB7MHg2Qzoge2w6IHsweDY0OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4ODE4XX19fX19fX19fX19fX19fX19LCAweDY2OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMjAwNzldfX19fX0sIDB4NEE6IHtsOiB7MHg2Mzoge2w6IHsweDc5OiB7bDogezB4M0I6IHtjOiBbMTAzM119fX19fX19LCAweDZDOiB7bDogezB4M0I6IHtjOiBbODkyMF19LCAweDY1OiB7bDogezB4NjY6IHtsOiB7MHg3NDoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFs4NjY2XX19fX19fX19fX19fX19fX19fX0sIDB4NkQ6IHtsOiB7MHg2OToge2w6IHsweDY0OiB7bDogezB4NkY6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzMxOV19fX19fX19fX19fSwgMHg2Rjoge2w6IHsweDZFOiB7bDogezB4Njc6IHtsOiB7MHg0Qzoge2w6IHsweDY1OiB7bDogezB4NjY6IHtsOiB7MHg3NDoge2w6IHsweDQxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFsxMDIyOV19fX19fX19fX19fSwgMHg1Mjoge2w6IHsweDY5OiB7bDogezB4Njc6IHtsOiB7MHg2ODoge2w6IHsweDc0OiB7bDogezB4NDE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDNCOiB7YzogWzEwMjMxXX19fX19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDZDOiB7bDogezB4NjU6IHtsOiB7MHg2Njoge2w6IHsweDc0OiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDNCOiB7YzogWzEwMjMyXX19fX19fX19fX19LCAweDcyOiB7bDogezB4Njk6IHtsOiB7MHg2Nzoge2w6IHsweDY4OiB7bDogezB4NzQ6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4M0I6IHtjOiBbMTAyMzRdfX19fX19fX19fX19fX19fX19fX19fX19fX19fX0sIDB4NTI6IHtsOiB7MHg2OToge2w6IHsweDY3OiB7bDogezB4Njg6IHtsOiB7MHg3NDoge2w6IHsweDQxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFsxMDIzMF19fX19fX19fX19fX19fX19fX19fX0sIDB4NzI6IHtsOiB7MHg2OToge2w6IHsweDY3OiB7bDogezB4Njg6IHtsOiB7MHg3NDoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFsxMDIzM119fX19fX19fX19fX19fX19fX19fX19fX19LCAweDcwOiB7bDogezB4NjY6IHtsOiB7MHgzQjoge2M6IFsxMjAxMzFdfX19fX0sIDB4Nzc6IHtsOiB7MHg2NToge2w6IHsweDcyOiB7bDogezB4NEM6IHtsOiB7MHg2NToge2w6IHsweDY2OiB7bDogezB4NzQ6IHtsOiB7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X19fX19fX19fSwgMHg2Qzoge2w6IHsweDY1OiB7bDogezB4NjY6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg2MTJdfX19fX19fX19LCAweDc1OiB7bDogezB4NzA6IHtsOiB7MHgzQjoge2M6IFs4NjEzXX19fX19fX19fX19fX0sIDB4NzI6IHtsOiB7MHg2Qjoge2w6IHsweDY1OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs5NjQ2XX19fX19fX19fX19LCAweDYzOiB7bDogezB4NkY6IHtsOiB7MHg2RDoge2w6IHsweDZEOiB7bDogezB4NjE6IHtsOiB7MHgzQjoge2M6IFsxMDc5M119fX19fX19fX0sIDB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMDg0XX19fX19LCAweDY0OiB7bDogezB4NjE6IHtsOiB7MHg3Mzoge2w6IHsweDY4OiB7bDogezB4M0I6IHtjOiBbODIxMl19fX19fX19fX0sIDB4NDQ6IHtsOiB7MHg0NDoge2w6IHsweDZGOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4NzYyXX19fX19fX19fSwgMHg2NToge2w6IHsweDYxOiB7bDogezB4NzM6IHtsOiB7MHg3NToge2w6IHsweDcyOiB7bDogezB4NjU6IHtsOiB7MHg2NDoge2w6IHsweDYxOiB7bDogezB4NkU6IHtsOiB7MHg2Nzoge2w6IHsweDZDOiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4NzM3XX19fX19fX19fX19fX19fX19fX19fX19fX0sIDB4NjY6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEyMDEwNl19fX19fSwgMHg2ODoge2w6IHsweDZGOiB7bDogezB4M0I6IHtjOiBbODQ4N119fX19fSwgMHg2OToge2w6IHsweDYzOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDNCOiB7YzogWzE4MV19fSwgYzogWzE4MV19fX19fSwgMHg2NDoge2w6IHsweDYxOiB7bDogezB4NzM6IHtsOiB7MHg3ND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NTZdfSwgMHg2Qzoge2w6IHsweDc0OiB7bDogezB4Njk6IHtsOiB7MHg2RDoge2w6IHsweDYxOiB7bDogezB4NzA6IHtsOiB7MHgzQjoge2M6IFs4ODg4XX19fX19fX19fX19fX0sIDB4NkQ6IHtsOiB7MHg2MToge2w6IHsweDcwOiB7bDogezB4M0I6IHtjOiBbODg4OF19fX19fX19fX19fSxcclxuICAgIDB4NEQ6IHtsOiB7MHg2MToge2w6IHsweDcwOiB7bDogezB4M0I6IHtjOiBbMTA1MDFdfX19fX0sIDB4NjM6IHtsOiB7MHg3OToge2w6IHsweDNCOiB7YzogWzEwNTJdfX19fX0sIDB4NjU6IHtsOiB7MHg2NDoge2w6IHsweDY5OiB7bDogezB4NzU6IHtsOiB7MHg2RDoge2w6IHsweDUzOiB7bDogezB4NzA6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4Mjg3XX19fX19fX19fX19fX19fX19fX0sIDB4NkM6IHtsOiB7MHg2Qzoge2w6IHsweDY5OiB7bDogezB4NkU6IHtsOiB7MHg3NDoge2w6IHsweDcyOiB7bDogezB4NjY6IHtsOiB7MHgzQjoge2M6IFs4NDk5XX19fX19fX19fX19fX19fX19LCAweDY2OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMjAwODBdfX19fX0sIDB4Njk6IHtsOiB7MHg2RToge2w6IHsweDc1OiB7bDogezB4NzM6IHtsOiB7MHg1MDoge2w6IHsweDZDOiB7bDogezB4NzU6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzg3MjNdfX19fX19fX19fX19fX19fX0sIDB4NkY6IHtsOiB7MHg3MDoge2w6IHsweDY2OiB7bDogezB4M0I6IHtjOiBbMTIwMTMyXX19fX19fX0sIDB4NzM6IHtsOiB7MHg2Mzoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODQ5OV19fX19fX19LCAweDc1OiB7bDogezB4M0I6IHtjOiBbOTI0XX19fX19LFxyXG4gICAgMHg2RToge2w6IHsweDYxOiB7bDogezB4NjI6IHtsOiB7MHg2Qzoge2w6IHsweDYxOiB7bDogezB4M0I6IHtjOiBbODcxMV19fX19fX19LCAweDYzOiB7bDogezB4NzU6IHtsOiB7MHg3NDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMzI0XX19fX19fX19fSwgMHg2RToge2w6IHsweDY3OiB7bDogezB4M0I6IHtjOiBbODczNiwgODQwMl19fX19fSwgMHg3MDoge2w6IHsweDNCOiB7YzogWzg3NzddfSwgMHg0NToge2w6IHsweDNCOiB7YzogWzEwODY0LCA4MjRdfX19LCAweDY5OiB7bDogezB4NjQ6IHtsOiB7MHgzQjoge2M6IFs4Nzc5LCA4MjRdfX19fX0sIDB4NkY6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzMyOV19fX19fSwgMHg3MDoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3ODoge2w6IHsweDNCOiB7YzogWzg3NzddfX19fX19fX19fX0sIDB4NzQ6IHtsOiB7MHg3NToge2w6IHsweDcyOiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzk4MzhdfSwgMHg3Mzoge2w6IHsweDNCOiB7YzogWzg0NjldfX19fX19fSwgMHgzQjoge2M6IFs5ODM4XX19fX19fX19fSwgMHg2Mjoge2w6IHsweDczOiB7bDogezB4NzA6IHtsOiB7MHgzQjoge2M6IFsxNjBdfX0sIGM6IFsxNjBdfX19LCAweDc1OiB7bDogezB4NkQ6IHtsOiB7MHg3MDoge2w6IHsweDNCOiB7YzogWzg3ODIsIDgyNF19LCAweDY1OiB7bDogezB4M0I6IHtjOiBbODc4MywgODI0XX19fX19fX19fX19LCAweDYzOiB7bDogezB4NjE6IHtsOiB7MHg3MDoge2w6IHsweDNCOiB7YzogWzEwODE5XX19fSwgMHg3Mjoge2w6IHsweDZGOiB7bDogezB4NkU6IHtsOiB7MHgzQjoge2M6IFszMjhdfX19fX19fX19LCAweDY1OiB7bDogezB4NjQ6IHtsOiB7MHg2OToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbMzI2XX19fX19fX19fSwgMHg2Rjoge2w6IHsweDZFOiB7bDogezB4Njc6IHtsOiB7MHgzQjoge2M6IFs4Nzc1XX0sIDB4NjQ6IHtsOiB7MHg2Rjoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbMTA4NjEsIDgyNF19fX19fX19fX19fX19LCAweDc1OiB7bDogezB4NzA6IHtsOiB7MHgzQjoge2M6IFsxMDgxOF19fX19fSwgMHg3OToge2w6IHsweDNCOiB7YzogWzEwODVdfX19fX0sIDB4NjQ6IHtsOiB7MHg2MToge2w6IHsweDczOiB7bDogezB4Njg6IHtsOiB7MHgzQjoge2M6IFs4MjExXX19fX19fX19fSwgMHg2NToge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg2ODoge2w6IHsweDZCOiB7bDogezB4M0I6IHtjOiBbMTA1MzJdfX19fX0sIDB4NzI6IHtsOiB7MHgzQjoge2M6IFs4NTk5XX0sIDB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDNCOiB7YzogWzg1OTldfX19fX19fX19fX0sIDB4NDE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODY2M119fX19fX19LCAweDNCOiB7YzogWzg4MDBdfSwgMHg2NDoge2w6IHsweDZGOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4Nzg0LCA4MjRdfX19fX19fSwgMHg3MToge2w6IHsweDc1OiB7bDogezB4Njk6IHtsOiB7MHg3Njoge2w6IHsweDNCOiB7YzogWzg4MDJdfX19fX19fX19LCAweDczOiB7bDogezB4NjU6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA1MzZdfX19fX19fSwgMHg2OToge2w6IHsweDZEOiB7bDogezB4M0I6IHtjOiBbODc3MCwgODI0XX19fX19fX0sIDB4Nzg6IHtsOiB7MHg2OToge2w6IHsweDczOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4NzA4XX0sIDB4NzM6IHtsOiB7MHgzQjoge2M6IFs4NzA4XX19fX19fX19fX19fX0sIDB4NjY6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEyMDEwN119fX19fSwgMHg2Nzoge2w6IHsweDQ1OiB7bDogezB4M0I6IHtjOiBbODgwNywgODI0XX19fSwgMHg2NToge2w6IHsweDNCOiB7YzogWzg4MTddfSwgMHg3MToge2w6IHsweDNCOiB7YzogWzg4MTddfSwgMHg3MToge2w6IHsweDNCOiB7YzogWzg4MDcsIDgyNF19fX0sIDB4NzM6IHtsOiB7MHg2Qzoge2w6IHsweDYxOiB7bDogezB4NkU6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzEwODc4LCA4MjRdfX19fX19fX19fX19fSwgMHg3Mzoge2w6IHsweDNCOiB7YzogWzEwODc4LCA4MjRdfX19fX0sIDB4NzM6IHtsOiB7MHg2OToge2w6IHsweDZEOiB7bDogezB4M0I6IHtjOiBbODgyMV19fX19fX19LCAweDc0OiB7bDogezB4M0I6IHtjOiBbODgxNV19LCAweDcyOiB7bDogezB4M0I6IHtjOiBbODgxNV19fX19fX19LCAweDQ3OiB7bDogezB4Njc6IHtsOiB7MHgzQjoge2M6IFs4OTIxLCA4MjRdfX19LCAweDc0OiB7bDogezB4M0I6IHtjOiBbODgxMSwgODQwMl19LCAweDc2OiB7bDogezB4M0I6IHtjOiBbODgxMSwgODI0XX19fX19fX0sIDB4Njg6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs4NjIyXX19fX19fX0sIDB4NDE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODY1NF19fX19fX19LCAweDcwOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwOTk0XX19fX19fX19fSwgMHg2OToge2w6IHsweDNCOiB7YzogWzg3MTVdfSwgMHg3Mzoge2w6IHsweDNCOiB7YzogWzg5NTZdfSwgMHg2NDoge2w6IHsweDNCOiB7YzogWzg5NTRdfX19fX0sIDB4NzY6IHtsOiB7MHgzQjoge2M6IFs4NzE1XX19fX19LCAweDZBOiB7bDogezB4NjM6IHtsOiB7MHg3OToge2w6IHsweDNCOiB7YzogWzExMTRdfX19fX19fSwgMHg2Qzoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg2MDJdfX19fX19fSwgMHg0MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs4NjUzXX19fX19fX0sIDB4NjQ6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzgyMjldfX19fX0sIDB4NDU6IHtsOiB7MHgzQjoge2M6IFs4ODA2LCA4MjRdfX19LCAweDY1OiB7bDogezB4M0I6IHtjOiBbODgxNl19LCAweDY2OiB7bDogezB4NzQ6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4M0I6IHtjOiBbODYwMl19fX19fX19fX19fSwgMHg3Mjoge2w6IHsweDY5OiB7bDogezB4Njc6IHtsOiB7MHg2ODoge2w6IHsweDc0OiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDNCOiB7YzogWzg2MjJdfX19fX19fX19fX19fX19fX19fX19fX19fSwgMHg3MToge2w6IHsweDNCOiB7YzogWzg4MTZdfSwgMHg3MToge2w6IHsweDNCOiB7YzogWzg4MDYsIDgyNF19fX0sIDB4NzM6IHtsOiB7MHg2Qzoge2w6IHsweDYxOiB7bDogezB4NkU6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzEwODc3LCA4MjRdfX19fX19fX19fX19fSwgMHg3Mzoge2w6IHsweDNCOiB7YzogWzEwODc3LCA4MjRdfSwgMHg3Mzoge2w6IHsweDNCOiB7YzogWzg4MTRdfX19fX19fSwgMHg3Mzoge2w6IHsweDY5OiB7bDogezB4NkQ6IHtsOiB7MHgzQjoge2M6IFs4ODIwXX19fX19fX0sIDB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4ODE0XX0sIDB4NzI6IHtsOiB7MHg2OToge2w6IHsweDNCOiB7YzogWzg5MzhdfSwgMHg2NToge2w6IHsweDNCOiB7YzogWzg5NDBdfX19fX19fX19fX0sIDB4NEM6IHtsOiB7MHg2NToge2w6IHsweDY2OiB7bDogezB4NzQ6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4M0I6IHtjOiBbODY1M119fX19fX19fX19fSwgMHg3Mjoge2w6IHsweDY5OiB7bDogezB4Njc6IHtsOiB7MHg2ODoge2w6IHsweDc0OiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDNCOiB7YzogWzg2NTRdfX19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDZDOiB7bDogezB4M0I6IHtjOiBbODkyMCwgODI0XX19fSwgMHg3NDoge2w6IHsweDNCOiB7YzogWzg4MTAsIDg0MDJdfSwgMHg3Njoge2w6IHsweDNCOiB7YzogWzg4MTAsIDgyNF19fX19fX19LCAweDZEOiB7bDogezB4Njk6IHtsOiB7MHg2NDoge2w6IHsweDNCOiB7YzogWzg3NDBdfX19fX19fSwgMHg2Rjoge2w6IHsweDcwOiB7bDogezB4NjY6IHtsOiB7MHgzQjoge2M6IFsxMjAxNTldfX19fX0sIDB4NzQ6IHtsOiB7MHgzQjoge2M6IFsxNzJdfSwgMHg2OToge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbODcxM119LCAweDY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6IHtsOiB7MHg3NDoge2w6IHsweDZEOiB7bDogezB4Njk6IHtsOiB7MHg2NDoge2w6IHsweDNCOiB7YzogWzg3NDBdfX19fX19fSwgMHg3MDoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4NkM6IHtsOiB7MHg2NToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbODc0Ml19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDY5OiB7bDogezB4NkQ6IHtsOiB7MHgzQjoge2M6IFs4NzY5XX0sIDB4NjU6IHtsOiB7MHgzQjoge2M6IFs4NzcyXX0sIDB4NzE6IHtsOiB7MHgzQjoge2M6IFs4NzcyXX19fX19fX19fSwgMHg2RDoge2w6IHsweDY5OiB7bDogezB4NjQ6IHtsOiB7MHgzQjoge2M6IFs4NzQwXX19fX19fX0sIDB4NzA6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODc0Ml19fX19fX19LCAweDcxOiB7bDogezB4NzM6IHtsOiB7MHg3NToge2w6IHsweDYyOiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4OTMwXX19fX19LCAweDcwOiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4OTMxXX19fX19fX19fX19LCAweDc1OiB7bDogezB4NjI6IHtsOiB7MHgzQjoge2M6IFs4ODM2XX0sIDB4NDU6IHtsOiB7MHgzQjoge2M6IFsxMDk0OSwgODI0XX19fSwgMHg2NToge2w6IHsweDNCOiB7YzogWzg4NDBdfX19LCAweDczOiB7bDogezB4NjU6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg4MzQsIDg0MDJdfSwgMHg2NToge2w6IHsweDcxOiB7bDogezB4M0I6IHtjOiBbODg0MF19LCAweDcxOiB7bDogezB4M0I6IHtjOiBbMTA5NDksIDgyNF19fX19fX19fX19fX19fX0sIDB4NjM6IHtsOiB7MHg2Mzoge2w6IHsweDNCOiB7YzogWzg4MzNdfSwgMHg2NToge2w6IHsweDcxOiB7bDogezB4M0I6IHtjOiBbMTA5MjgsIDgyNF19fX19fX19fX0sIDB4NzA6IHtsOiB7MHgzQjoge2M6IFs4ODM3XX0sIDB4NDU6IHtsOiB7MHgzQjoge2M6IFsxMDk1MCwgODI0XX19fSwgMHg2NToge2w6IHsweDNCOiB7YzogWzg4NDFdfX19LCAweDczOiB7bDogezB4NjU6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg4MzUsIDg0MDJdfSwgMHg2NToge2w6IHsweDcxOiB7bDogezB4M0I6IHtjOiBbODg0MV19LCAweDcxOiB7bDogezB4M0I6IHtjOiBbMTA5NTAsIDgyNF19fX19fX19fX19fX19fX19fX19LCAweDc0OiB7bDogezB4Njc6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzg4MjVdfX19fX0sIDB4Njk6IHtsOiB7MHg2Qzoge2w6IHsweDY0OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFsyNDFdfX0sIGM6IFsyNDFdfX19fX19fSwgMHg2Qzoge2w6IHsweDY3OiB7bDogezB4M0I6IHtjOiBbODgyNF19fX19fSwgMHg3Mjoge2w6IHsweDY5OiB7bDogezB4NjE6IHtsOiB7MHg2RToge2w6IHsweDY3OiB7bDogezB4NkM6IHtsOiB7MHg2NToge2w6IHsweDZDOiB7bDogezB4NjU6IHtsOiB7MHg2Njoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODkzOF19LCAweDY1OiB7bDogezB4NzE6IHtsOiB7MHgzQjoge2M6IFs4OTQwXX19fX19fX19fX19fX0sIDB4NzI6IHtsOiB7MHg2OToge2w6IHsweDY3OiB7bDogezB4Njg6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg5MzldfSwgMHg2NToge2w6IHsweDcxOiB7bDogezB4M0I6IHtjOiBbODk0MV19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDc1OiB7bDogezB4M0I6IHtjOiBbOTU3XX0sIDB4NkQ6IHtsOiB7MHgzQjoge2M6IFszNV19LCAweDY1OiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDNCOiB7YzogWzg0NzBdfX19fX19fSwgMHg3Mzoge2w6IHsweDcwOiB7bDogezB4M0I6IHtjOiBbODE5OV19fX19fX19fX0sIDB4NzY6IHtsOiB7MHg2MToge2w6IHsweDcwOiB7bDogezB4M0I6IHtjOiBbODc4MSwgODQwMl19fX19fSwgMHg2NDoge2w6IHsweDYxOiB7bDogezB4NzM6IHtsOiB7MHg2ODoge2w6IHsweDNCOiB7YzogWzg4NzZdfX19fX19fX19LCAweDQ0OiB7bDogezB4NjE6IHtsOiB7MHg3Mzoge2w6IHsweDY4OiB7bDogezB4M0I6IHtjOiBbODg3N119fX19fX19fX0sIDB4Njc6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzg4MDUsIDg0MDJdfX19LCAweDc0OiB7bDogezB4M0I6IHtjOiBbNjIsIDg0MDJdfX19fX0sIDB4NDg6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDUwMF19fX19fX19fX0sIDB4Njk6IHtsOiB7MHg2RToge2w6IHsweDY2OiB7bDogezB4Njk6IHtsOiB7MHg2RToge2w6IHsweDNCOiB7YzogWzEwNzE4XX19fX19fX19fX19LCAweDZDOiB7bDogezB4NDE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA0OThdfX19fX19fSwgMHg2NToge2w6IHsweDNCOiB7YzogWzg4MDQsIDg0MDJdfX19LCAweDc0OiB7bDogezB4M0I6IHtjOiBbNjAsIDg0MDJdfSwgMHg3Mjoge2w6IHsweDY5OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4ODg0LCA4NDAyXX19fX19fX19fX19LCAweDcyOiB7bDogezB4NDE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA0OTldfX19fX19fSwgMHg3NDoge2w6IHsweDcyOiB7bDogezB4Njk6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzg4ODUsIDg0MDJdfX19fX19fX19fX0sIDB4NzM6IHtsOiB7MHg2OToge2w6IHsweDZEOiB7bDogezB4M0I6IHtjOiBbODc2NCwgODQwMl19fX19fX19fX0sIDB4NTY6IHtsOiB7MHg2NDoge2w6IHsweDYxOiB7bDogezB4NzM6IHtsOiB7MHg2ODoge2w6IHsweDNCOiB7YzogWzg4NzhdfX19fX19fX19LCAweDQ0OiB7bDogezB4NjE6IHtsOiB7MHg3Mzoge2w6IHsweDY4OiB7bDogezB4M0I6IHtjOiBbODg3OV19fX19fX19fX19fSwgMHg3Nzoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg2ODoge2w6IHsweDZCOiB7bDogezB4M0I6IHtjOiBbMTA1MzFdfX19fX0sIDB4NzI6IHtsOiB7MHgzQjoge2M6IFs4NTk4XX0sIDB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDNCOiB7YzogWzg1OThdfX19fX19fX19fX0sIDB4NDE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODY2Ml19fX19fX19LCAweDZFOiB7bDogezB4NjU6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA1MzVdfX19fX19fX19fX19fSxcclxuICAgIDB4NEU6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4NzU6IHtsOiB7MHg3NDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMzIzXX19fX19fX19fX19LCAweDYzOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4NkU6IHtsOiB7MHgzQjoge2M6IFszMjddfX19fX19fX19LCAweDY1OiB7bDogezB4NjQ6IHtsOiB7MHg2OToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbMzI1XX19fX19fX19fSwgMHg3OToge2w6IHsweDNCOiB7YzogWzEwNTNdfX19fX0sIDB4NjU6IHtsOiB7MHg2Nzoge2w6IHsweDYxOiB7bDogezB4NzQ6IHtsOiB7MHg2OToge2w6IHsweDc2OiB7bDogezB4NjU6IHtsOiB7MHg0RDoge2w6IHsweDY1OiB7bDogezB4NjQ6IHtsOiB7MHg2OToge2w6IHsweDc1OiB7bDogezB4NkQ6IHtsOiB7MHg1Mzoge2w6IHsweDcwOiB7bDogezB4NjE6IHtsOiB7MHg2Mzoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODIwM119fX19fX19fX19fX19fX19fX19fX19fSwgMHg1NDoge2w6IHsweDY4OiB7bDogezB4Njk6IHtsOiB7MHg2Mzoge2w6IHsweDZCOiB7bDogezB4NTM6IHtsOiB7MHg3MDoge2w6IHsweDYxOiB7bDogezB4NjM6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzgyMDNdfX19fX19fX19fX19fX19LCAweDZFOiB7bDogezB4NTM6IHtsOiB7MHg3MDoge2w6IHsweDYxOiB7bDogezB4NjM6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzgyMDNdfX19fX19fX19fX19fX19fX19fSwgMHg1Njoge2w6IHsweDY1OiB7bDogezB4NzI6IHtsOiB7MHg3OToge2w6IHsweDU0OiB7bDogezB4Njg6IHtsOiB7MHg2OToge2w6IHsweDZFOiB7bDogezB4NTM6IHtsOiB7MHg3MDoge2w6IHsweDYxOiB7bDogezB4NjM6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzgyMDNdfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDczOiB7bDogezB4NzQ6IHtsOiB7MHg2NToge2w6IHsweDY0OiB7bDogezB4NDc6IHtsOiB7MHg3Mjoge2w6IHsweDY1OiB7bDogezB4NjE6IHtsOiB7MHg3NDoge2w6IHsweDY1OiB7bDogezB4NzI6IHtsOiB7MHg0Nzoge2w6IHsweDcyOiB7bDogezB4NjU6IHtsOiB7MHg2MToge2w6IHsweDc0OiB7bDogezB4NjU6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg4MTFdfX19fX19fX19fX19fX19fX19fX19fX19fX19fX0sIDB4NEM6IHtsOiB7MHg2NToge2w6IHsweDczOiB7bDogezB4NzM6IHtsOiB7MHg0Qzoge2w6IHsweDY1OiB7bDogezB4NzM6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzg4MTBdfX19fX19fX19fX19fX19fX19fX19fX19fSwgMHg3Nzoge2w6IHsweDRDOiB7bDogezB4Njk6IHtsOiB7MHg2RToge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMTBdfX19fX19fX19fX19fSwgMHg2Njoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTIwMDgxXX19fX19LCAweDRBOiB7bDogezB4NjM6IHtsOiB7MHg3OToge2w6IHsweDNCOiB7YzogWzEwMzRdfX19fX19fSwgMHg2Rjoge2w6IHsweDQyOiB7bDogezB4NzI6IHtsOiB7MHg2NToge2w6IHsweDYxOiB7bDogezB4NkI6IHtsOiB7MHgzQjoge2M6IFs4Mjg4XX19fX19fX19fX19LCAweDZFOiB7bDogezB4NDI6IHtsOiB7MHg3Mjoge2w6IHsweDY1OiB7bDogezB4NjE6IHtsOiB7MHg2Qjoge2w6IHsweDY5OiB7bDogezB4NkU6IHtsOiB7MHg2Nzoge2w6IHsweDUzOiB7bDogezB4NzA6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFsxNjBdfX19fX19fX19fX19fX19fX19fX19fX19fX19fX0sIDB4NzA6IHtsOiB7MHg2Njoge2w6IHsweDNCOiB7YzogWzg0NjldfX19fX0sIDB4NzQ6IHtsOiB7MHgzQjoge2M6IFsxMDk4OF19LCAweDQzOiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDY3OiB7bDogezB4NzI6IHtsOiB7MHg3NToge2w6IHsweDY1OiB7bDogezB4NkU6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg4MDJdfX19fX19fX19fX19fX19fX0sIDB4NzU6IHtsOiB7MHg3MDoge2w6IHsweDQzOiB7bDogezB4NjE6IHtsOiB7MHg3MDoge2w6IHsweDNCOiB7YzogWzg4MTNdfX19fX19fX19fX19fSwgMHg0NDoge2w6IHsweDZGOiB7bDogezB4NzU6IHtsOiB7MHg2Mjoge2w6IHsweDZDOiB7bDogezB4NjU6IHtsOiB7MHg1Njoge2w6IHsweDY1OiB7bDogezB4NzI6IHtsOiB7MHg3NDoge2w6IHsweDY5OiB7bDogezB4NjM6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4NDI6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODc0Ml19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fSwgMHg0NToge2w6IHsweDZDOiB7bDogezB4NjU6IHtsOiB7MHg2RDoge2w6IHsweDY1OiB7bDogezB4NkU6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg3MTNdfX19fX19fX19fX19fSwgMHg3MToge2w6IHsweDc1OiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzg4MDBdfSwgMHg1NDoge2w6IHsweDY5OiB7bDogezB4NkM6IHtsOiB7MHg2NDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODc3MCwgODI0XX19fX19fX19fX19fX19fX19fX0sIDB4Nzg6IHtsOiB7MHg2OToge2w6IHsweDczOiB7bDogezB4NzQ6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzg3MDhdfX19fX19fX19fX19fSwgMHg0Nzoge2w6IHsweDcyOiB7bDogezB4NjU6IHtsOiB7MHg2MToge2w6IHsweDc0OiB7bDogezB4NjU6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg4MTVdfSwgMHg0NToge2w6IHsweDcxOiB7bDogezB4NzU6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbODgxN119fX19fX19fX19fSwgMHg0Njoge2w6IHsweDc1OiB7bDogezB4NkM6IHtsOiB7MHg2Qzoge2w6IHsweDQ1OiB7bDogezB4NzE6IHtsOiB7MHg3NToge2w6IHsweDYxOiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFs4ODA3LCA4MjRdfX19fX19fX19fX19fX19fX19fSwgMHg0Nzoge2w6IHsweDcyOiB7bDogezB4NjU6IHtsOiB7MHg2MToge2w6IHsweDc0OiB7bDogezB4NjU6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg4MTEsIDgyNF19fX19fX19fX19fX19fX0sIDB4NEM6IHtsOiB7MHg2NToge2w6IHsweDczOiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFs4ODI1XX19fX19fX19fSwgMHg1Mzoge2w6IHsweDZDOiB7bDogezB4NjE6IHtsOiB7MHg2RToge2w6IHsweDc0OiB7bDogezB4NDU6IHtsOiB7MHg3MToge2w6IHsweDc1OiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzEwODc4LCA4MjRdfX19fX19fX19fX19fX19fX19fX19LCAweDU0OiB7bDogezB4Njk6IHtsOiB7MHg2Qzoge2w6IHsweDY0OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4ODIxXX19fX19fX19fX19fX19fX19fX19fX19fX0sIDB4NDg6IHtsOiB7MHg3NToge2w6IHsweDZEOiB7bDogezB4NzA6IHtsOiB7MHg0NDoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHg2RToge2w6IHsweDQ4OiB7bDogezB4NzU6IHtsOiB7MHg2RDoge2w6IHsweDcwOiB7bDogezB4M0I6IHtjOiBbODc4MiwgODI0XX19fX19fX19fX19fX19fX19LCAweDQ1OiB7bDogezB4NzE6IHtsOiB7MHg3NToge2w6IHsweDYxOiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFs4NzgzLCA4MjRdfX19fX19fX19fX19fX19fX19fSwgMHg0Qzoge2w6IHsweDY1OiB7bDogezB4NjY6IHtsOiB7MHg3NDoge2w6IHsweDU0OiB7bDogezB4NzI6IHtsOiB7MHg2OToge2w6IHsweDYxOiB7bDogezB4NkU6IHtsOiB7MHg2Nzoge2w6IHsweDZDOiB7bDogezB4NjU6IHtsOiB7MHg0Mjoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDcwMywgODI0XX19fX19fX0sIDB4M0I6IHtjOiBbODkzOF19LCAweDQ1OiB7bDogezB4NzE6IHtsOiB7MHg3NToge2w6IHsweDYxOiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFs4OTQwXX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX0sIDB4NzM6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzg4MTRdfSwgMHg0NToge2w6IHsweDcxOiB7bDogezB4NzU6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbODgxNl19fX19fX19fX19fSwgMHg0Nzoge2w6IHsweDcyOiB7bDogezB4NjU6IHtsOiB7MHg2MToge2w6IHsweDc0OiB7bDogezB4NjU6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg4MjRdfX19fX19fX19fX19fX19LCAweDRDOiB7bDogezB4NjU6IHtsOiB7MHg3Mzoge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbODgxMCwgODI0XX19fX19fX19fSwgMHg1Mzoge2w6IHsweDZDOiB7bDogezB4NjE6IHtsOiB7MHg2RToge2w6IHsweDc0OiB7bDogezB4NDU6IHtsOiB7MHg3MToge2w6IHsweDc1OiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzEwODc3LCA4MjRdfX19fX19fX19fX19fX19fX19fX19LCAweDU0OiB7bDogezB4Njk6IHtsOiB7MHg2Qzoge2w6IHsweDY0OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4ODIwXX19fX19fX19fX19fX19fX19fX0sIDB4NEU6IHtsOiB7MHg2NToge2w6IHsweDczOiB7bDogezB4NzQ6IHtsOiB7MHg2NToge2w6IHsweDY0OiB7bDogezB4NDc6IHtsOiB7MHg3Mjoge2w6IHsweDY1OiB7bDogezB4NjE6IHtsOiB7MHg3NDoge2w6IHsweDY1OiB7bDogezB4NzI6IHtsOiB7MHg0Nzoge2w6IHsweDcyOiB7bDogezB4NjU6IHtsOiB7MHg2MToge2w6IHsweDc0OiB7bDogezB4NjU6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwOTE0LCA4MjRdfX19fX19fX19fX19fX19fX19fX19fX19fX19fX0sIDB4NEM6IHtsOiB7MHg2NToge2w6IHsweDczOiB7bDogezB4NzM6IHtsOiB7MHg0Qzoge2w6IHsweDY1OiB7bDogezB4NzM6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzEwOTEzLCA4MjRdfX19fX19fX19fX19fX19fX19fX19fX19fX19fX0sIDB4NTA6IHtsOiB7MHg3Mjoge2w6IHsweDY1OiB7bDogezB4NjM6IHtsOiB7MHg2NToge2w6IHsweDY0OiB7bDogezB4NjU6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzg4MzJdfSwgMHg0NToge2w6IHsweDcxOiB7bDogezB4NzU6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbMTA5MjcsIDgyNF19fX19fX19fX19fSwgMHg1Mzoge2w6IHsweDZDOiB7bDogezB4NjE6IHtsOiB7MHg2RToge2w6IHsweDc0OiB7bDogezB4NDU6IHtsOiB7MHg3MToge2w6IHsweDc1OiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzg5MjhdfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fSwgMHg1Mjoge2w6IHsweDY1OiB7bDogezB4NzY6IHtsOiB7MHg2NToge2w6IHsweDcyOiB7bDogezB4NzM6IHtsOiB7MHg2NToge2w6IHsweDQ1OiB7bDogezB4NkM6IHtsOiB7MHg2NToge2w6IHsweDZEOiB7bDogezB4NjU6IHtsOiB7MHg2RToge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODcxNl19fX19fX19fX19fX19fX19fX19fX19fX19fX0sIDB4Njk6IHtsOiB7MHg2Nzoge2w6IHsweDY4OiB7bDogezB4NzQ6IHtsOiB7MHg1NDoge2w6IHsweDcyOiB7bDogezB4Njk6IHtsOiB7MHg2MToge2w6IHsweDZFOiB7bDogezB4Njc6IHtsOiB7MHg2Qzoge2w6IHsweDY1OiB7bDogezB4NDI6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA3MDQsIDgyNF19fX19fX19LCAweDNCOiB7YzogWzg5MzldfSwgMHg0NToge2w6IHsweDcxOiB7bDogezB4NzU6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbODk0MV19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDUzOiB7bDogezB4NzE6IHtsOiB7MHg3NToge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg2NToge2w6IHsweDUzOiB7bDogezB4NzU6IHtsOiB7MHg2Mjoge2w6IHsweDczOiB7bDogezB4NjU6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg4NDcsIDgyNF19LCAweDQ1OiB7bDogezB4NzE6IHtsOiB7MHg3NToge2w6IHsweDYxOiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFs4OTMwXX19fX19fX19fX19fX19fX19fX0sIDB4NzA6IHtsOiB7MHg2NToge2w6IHsweDcyOiB7bDogezB4NzM6IHtsOiB7MHg2NToge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODg0OCwgODI0XX0sIDB4NDU6IHtsOiB7MHg3MToge2w6IHsweDc1OiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzg5MzFdfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fSwgMHg3NToge2w6IHsweDYyOiB7bDogezB4NzM6IHtsOiB7MHg2NToge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODgzNCwgODQwMl19LCAweDQ1OiB7bDogezB4NzE6IHtsOiB7MHg3NToge2w6IHsweDYxOiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFs4ODQwXX19fX19fX19fX19fX19fX19fX0sIDB4NjM6IHtsOiB7MHg2Mzoge2w6IHsweDY1OiB7bDogezB4NjU6IHtsOiB7MHg2NDoge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbODgzM119LCAweDQ1OiB7bDogezB4NzE6IHtsOiB7MHg3NToge2w6IHsweDYxOiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFsxMDkyOCwgODI0XX19fX19fX19fX19LCAweDUzOiB7bDogezB4NkM6IHtsOiB7MHg2MToge2w6IHsweDZFOiB7bDogezB4NzQ6IHtsOiB7MHg0NToge2w6IHsweDcxOiB7bDogezB4NzU6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbODkyOV19fX19fX19fX19fX19fX19fX19fX0sIDB4NTQ6IHtsOiB7MHg2OToge2w6IHsweDZDOiB7bDogezB4NjQ6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzg4MzEsIDgyNF19fX19fX19fX19fX19fX19fX19fX19fSwgMHg3MDoge2w6IHsweDY1OiB7bDogezB4NzI6IHtsOiB7MHg3Mzoge2w6IHsweDY1OiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4ODM1LCA4NDAyXX0sIDB4NDU6IHtsOiB7MHg3MToge2w6IHsweDc1OiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzg4NDFdfX19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDU0OiB7bDogezB4Njk6IHtsOiB7MHg2Qzoge2w6IHsweDY0OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4NzY5XX0sIDB4NDU6IHtsOiB7MHg3MToge2w6IHsweDc1OiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzg3NzJdfX19fX19fX19fX0sIDB4NDY6IHtsOiB7MHg3NToge2w6IHsweDZDOiB7bDogezB4NkM6IHtsOiB7MHg0NToge2w6IHsweDcxOiB7bDogezB4NzU6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbODc3NV19fX19fX19fX19fX19fX19fX19LCAweDU0OiB7bDogezB4Njk6IHtsOiB7MHg2Qzoge2w6IHsweDY0OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4Nzc3XX19fX19fX19fX19fX19fX19fX19fSwgMHg1Njoge2w6IHsweDY1OiB7bDogezB4NzI6IHtsOiB7MHg3NDoge2w6IHsweDY5OiB7bDogezB4NjM6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4NDI6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODc0MF19fX19fX19fX19fX19fX19fX19fX19fX19fX0sIDB4NzM6IHtsOiB7MHg2Mzoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTE5OTc3XX19fX19fX0sIDB4NzQ6IHtsOiB7MHg2OToge2w6IHsweDZDOiB7bDogezB4NjQ6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzIwOV19fSwgYzogWzIwOV19fX19fX19fX0sIDB4NzU6IHtsOiB7MHgzQjoge2M6IFs5MjVdfX19fX0sXHJcbiAgICAweDRGOiB7bDogezB4NjE6IHtsOiB7MHg2Mzoge2w6IHsweDc1OiB7bDogezB4NzQ6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzIxMV19fSwgYzogWzIxMV19fX19fX19fX0sIDB4NjM6IHtsOiB7MHg2OToge2w6IHsweDcyOiB7bDogezB4NjM6IHtsOiB7MHgzQjoge2M6IFsyMTJdfX0sIGM6IFsyMTJdfX19fX0sIDB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMDU0XX19fX19LCAweDY0OiB7bDogezB4NjI6IHtsOiB7MHg2Qzoge2w6IHsweDYxOiB7bDogezB4NjM6IHtsOiB7MHgzQjoge2M6IFszMzZdfX19fX19fX19fX0sIDB4NDU6IHtsOiB7MHg2Qzoge2w6IHsweDY5OiB7bDogezB4Njc6IHtsOiB7MHgzQjoge2M6IFszMzhdfX19fX19fX19LCAweDY2OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMjAwODJdfX19fX0sIDB4Njc6IHtsOiB7MHg3Mjoge2w6IHsweDYxOiB7bDogezB4NzY6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzIxMF19fSwgYzogWzIxMF19fX19fX19fX0sIDB4NkQ6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFszMzJdfX19fX19fSwgMHg2NToge2w6IHsweDY3OiB7bDogezB4NjE6IHtsOiB7MHgzQjoge2M6IFs5MzddfX19fX19fSwgMHg2OToge2w6IHsweDYzOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbOTI3XX19fX19fX19fX19fX0sIDB4NkY6IHtsOiB7MHg3MDoge2w6IHsweDY2OiB7bDogezB4M0I6IHtjOiBbMTIwMTM0XX19fX19fX0sIDB4NzA6IHtsOiB7MHg2NToge2w6IHsweDZFOiB7bDogezB4NDM6IHtsOiB7MHg3NToge2w6IHsweDcyOiB7bDogezB4NkM6IHtsOiB7MHg3OToge2w6IHsweDQ0OiB7bDogezB4NkY6IHtsOiB7MHg3NToge2w6IHsweDYyOiB7bDogezB4NkM6IHtsOiB7MHg2NToge2w6IHsweDUxOiB7bDogezB4NzU6IHtsOiB7MHg2Rjoge2w6IHsweDc0OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4MjIwXX19fX19fX19fX19fX19fX19fX19fX19LCAweDUxOiB7bDogezB4NzU6IHtsOiB7MHg2Rjoge2w6IHsweDc0OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4MjE2XX19fX19fX19fX19fX19fX19fX19fX19fX19fSwgMHg3Mjoge2w6IHsweDNCOiB7YzogWzEwODM2XX19fSwgMHg3Mzoge2w6IHsweDYzOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMTk5NzhdfX19fX0sIDB4NkM6IHtsOiB7MHg2MToge2w6IHsweDczOiB7bDogezB4Njg6IHtsOiB7MHgzQjoge2M6IFsyMTZdfX0sIGM6IFsyMTZdfX19fX19fX19LCAweDc0OiB7bDogezB4Njk6IHtsOiB7MHg2Qzoge2w6IHsweDY0OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFsyMTNdfX0sIGM6IFsyMTNdfX19fX0sIDB4NkQ6IHtsOiB7MHg2NToge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbMTA4MDddfX19fX19fX19fX0sIDB4NzU6IHtsOiB7MHg2RDoge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbMjE0XX19LCBjOiBbMjE0XX19fX19LCAweDc2OiB7bDogezB4NjU6IHtsOiB7MHg3Mjoge2w6IHsweDQyOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzgyNTRdfX19fX0sIDB4NzI6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs5MTgyXX19fSwgMHg2Qjoge2w6IHsweDY1OiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs5MTQwXX19fX19fX19fX19fX19fSwgMHg1MDoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg2NToge2w6IHsweDZFOiB7bDogezB4NzQ6IHtsOiB7MHg2ODoge2w6IHsweDY1OiB7bDogezB4NzM6IHtsOiB7MHg2OToge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbOTE4MF19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19LFxyXG4gICAgMHg2Rjoge2w6IHsweDYxOiB7bDogezB4NjM6IHtsOiB7MHg3NToge2w6IHsweDc0OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFsyNDNdfX0sIGM6IFsyNDNdfX19fX19fSwgMHg3Mzoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODg1OV19fX19fX19LCAweDYzOiB7bDogezB4Njk6IHtsOiB7MHg3Mjoge2w6IHsweDYzOiB7bDogezB4M0I6IHtjOiBbMjQ0XX19LCBjOiBbMjQ0XX0sIDB4M0I6IHtjOiBbODg1OF19fX19fSwgMHg3OToge2w6IHsweDNCOiB7YzogWzEwODZdfX19fX0sIDB4NjQ6IHtsOiB7MHg2MToge2w6IHsweDczOiB7bDogezB4Njg6IHtsOiB7MHgzQjoge2M6IFs4ODYxXX19fX19fX0sIDB4NjI6IHtsOiB7MHg2Qzoge2w6IHsweDYxOiB7bDogezB4NjM6IHtsOiB7MHgzQjoge2M6IFszMzddfX19fX19fX19LCAweDY5OiB7bDogezB4NzY6IHtsOiB7MHgzQjoge2M6IFsxMDgwOF19fX19fSwgMHg2Rjoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODg1N119fX19fSwgMHg3Mzoge2w6IHsweDZGOiB7bDogezB4NkM6IHtsOiB7MHg2NDoge2w6IHsweDNCOiB7YzogWzEwNjg0XX19fX19fX19fX19LCAweDY1OiB7bDogezB4NkM6IHtsOiB7MHg2OToge2w6IHsweDY3OiB7bDogezB4M0I6IHtjOiBbMzM5XX19fX19fX19fSwgMHg2Njoge2w6IHsweDYzOiB7bDogezB4Njk6IHt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DogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbOTU5XX19fX19fX19fSwgMHg2NDoge2w6IHsweDNCOiB7YzogWzEwNjc4XX19fSwgMHg2RToge2w6IHsweDc1OiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFs4ODU0XX19fX19fX19fX19LCAweDZGOiB7bDogezB4NzA6IHtsOiB7MHg2Njoge2w6IHsweDNCOiB7YzogWzEyMDE2MF19fX19fX19LCAweDcwOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwNjc5XX19fX19LCAweDY1OiB7bDogezB4NzI6IHtsOiB7MHg3MDoge2w6IHsweDNCOiB7YzogWzEwNjgxXX19fX19fX0sIDB4NkM6IHtsOiB7MHg3NToge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbODg1M119fX19fX19fX0sIDB4NzI6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs4NjM1XX19fX19fX0sIDB4M0I6IHtjOiBbODc0NF19LCAweDY0OiB7bDogezB4M0I6IHtjOiBbMTA4NDVdfSwgMHg2NToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODUwMF19LCAweDZGOiB7bDogezB4NjY6IHtsOiB7MHgzQjoge2M6IFs4NTAwXX19fX19fX19fSwgMHg2Njoge2w6IHsweDNCOiB7YzogWzE3MF19fSwgYzogWzE3MF19LCAweDZEOiB7bDogezB4M0I6IHtjOiBbMTg2XX19LCBjOiBbMTg2XX19fSwgMHg2OToge2w6IHsweDY3OiB7bDogezB4NkY6IHtsOiB7MHg2Njoge2w6IHsweDNCOiB7YzogWzg4ODZdfX19fX19fX19LCAweDZGOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDgzOF19fX19fSwgMHg3Mzoge2w6IHsweDZDOiB7bDogezB4NkY6IHtsOiB7MHg3MDoge2w6IHsweDY1OiB7bD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X19fSwgMHg2Qzoge2w6IHsweDNCOiB7YzogWzExMDA1XX19fX19LCAweDc0OiB7bDogezB4M0I6IHtjOiBbODcwNl19fX19fX19LCAweDYzOiB7bDogezB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMDg3XX19fX19LCAweDY1OiB7bDogezB4NzI6IHtsOiB7MHg2Mzoge2w6IHsweDZFOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFszN119fX19fX19LCAweDY5OiB7bDogezB4NkY6IHtsOiB7MHg2NDoge2w6IHsweDNCOiB7YzogWzQ2XX19fX19fX0sIDB4NkQ6IHtsOiB7MHg2OToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbODI0MF19fX19fX19LCAweDcwOiB7bDogezB4M0I6IHtjOiBbODg2OV19fX0sIDB4NzQ6IHtsOiB7MHg2NToge2w6IHsweDZFOiB7bDogezB4NkI6IHtsOiB7MHgzQjoge2M6IFs4MjQxXX19fX19fX19fX19fX0sIDB4NjY6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEyMDEwOV19fX19fSwgMHg2ODoge2w6IHsweDY5OiB7bDogezB4M0I6IHtjOiBbOTY2XX0sIDB4NzY6IHtsOiB7MHgzQjoge2M6IFs5ODFdfX19fX0sIDB4NkQ6IHtsOiB7MHg2RDoge2w6IHsweDYxOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4NDk5XX19fX19fX19fSwgMHg2Rjoge2w6IHsweDZFOiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs5NzQyXX19fX19fX19fSwgMHg2OToge2w6IHsweDNCOiB7YzogWzk2MF19LCAweDc0OiB7bDogezB4NjM6IHtsOiB7MHg2ODoge2w6IHsweDY2OiB7bDogezB4NkY6IHtsOiB7MHg3Mjoge2w6IHsweDZCOiB7bDogezB4M0I6IHtjOiBbODkxNl19fX19fX19fX19fX19fX0sIDB4NzY6IHtsOiB7MHgzQjoge2M6IFs5ODJdfX19fX0sIDB4NkM6IHtsOiB7MHg2MToge2w6IHsweDZFOiB7bDogezB4NjM6IHtsOiB7MHg2Qjoge2w6IHsweDNCOiB7YzogWzg0NjNdfSwgMHg2ODoge2w6IHsweDNCOiB7YzogWzg0NjJdfX19fX19fSwgMHg2Qjoge2w6IHsweDc2OiB7bDogezB4M0I6IHtjOiBbODQ2M119fX19fX19fX0sIDB4NzU6IHtsOiB7MHg3Mzoge2w6IHsweDYxOiB7bDogezB4NjM6IHtsOiB7MHg2OToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA3ODddfX19fX19fX19LCAweDYyOiB7bDogezB4M0I6IHtjOiBbODg2Ml19fX0sIDB4NjM6IHtsOiB7MHg2OToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA3ODZdfX19fX19fSwgMHgzQjoge2M6IFs0M119LCAweDY0OiB7bDogezB4NkY6IHtsOiB7MHgzQjoge2M6IFs4NzI0XX19fSwgMHg3NToge2w6IHsweDNCOiB7YzogWzEwNzg5XX19fX19LCAweDY1OiB7bDogezB4M0I6IHtjOiBbMTA4NjZdfX19LCAweDZEOiB7bDogezB4NkU6IHtsOiB7MHgzQjoge2M6IFsxNzddfX0sIGM6IFsxNzddfX19LCAweDczOiB7bDogezB4Njk6IHtsOiB7MHg2RDoge2w6IHsweDNCOiB7YzogWzEwNzkwXX19fX19fX0sIDB4NzQ6IHtsOiB7MHg3Nzoge2w6IHsweDZGOiB7bDogezB4M0I6IHtjOiBbMTA3OTFdfX19fX19fX19fX19fSwgMHg2RDoge2w6IHsweDNCOiB7YzogWzE3N119fX0sIDB4NkY6IHtsOiB7MHg2OToge2w6IHsweDZFOiB7bDogezB4NzQ6IHtsOiB7MHg2OToge2w6IHsweDZFOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFsxMDc3M119fX19fX19fX19fX19LCAweDcwOiB7bDogezB4NjY6IHtsOiB7MHgzQjoge2M6IFsxMjAxNjFdfX19fX0sIDB4NzU6IHtsOiB7MHg2RToge2w6IHsweDY0OiB7bDogezB4M0I6IHtjOiBbMTYzXX19LCBjOiBbMTYzXX19fX19fX0sIDB4NzI6IHtsOiB7MHg2MToge2w6IHsweDcwOiB7bDogezB4M0I6IHtjOiBbMTA5MzVdfX19fX0sIDB4M0I6IHtjOiBbODgyNl19LCAweDYzOiB7bDogezB4NzU6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzg4MjhdfX19fX19fSwgMHg2NToge2w6IHsweDYzOiB7bDogezB4NjE6IHtsOiB7MHg3MDoge2w6IHsweDcwOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc4OiB7bDogezB4M0I6IHtjOiBbMTA5MzVdfX19fX19fX19fX19fSwgMHgzQjoge2M6IFs4ODI2XX0sIDB4NjM6IHtsOiB7MHg3NToge2w6IHsweDcyOiB7bDogezB4NkM6IHtsOiB7MHg3OToge2w6IHsweDY1OiB7bDogezB4NzE6IHtsOiB7MHgzQjoge2M6IFs4ODI4XX19fX19fX19fX19fX19fSwgMHg2NToge2w6IHsweDcxOiB7bDogezB4M0I6IHtjOiBbMTA5MjddfX19fX0sIDB4NkU6IHtsOiB7MHg2MToge2w6IHsweDcwOiB7bDogezB4NzA6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzg6IHtsOiB7MHgzQjoge2M6IFsxMDkzN119fX19fX19fX19fX19LCAweDY1OiB7bDogezB4NzE6IHtsOiB7MHg3MToge2w6IHsweDNCOiB7YzogWzEwOTMzXX19fX19fX0sIDB4NzM6IHtsOiB7MHg2OToge2w6IHsweDZEOiB7bDogezB4M0I6IHtjOiBbODkzNl19fX19fX19fX0sIDB4NzM6IHtsOiB7MHg2OToge2w6IHsweDZEOiB7bDogezB4M0I6IHtjOiBbODgzMF19fX19fX19fX0sIDB4M0I6IHtjOiBbMTA5MjddfX19LCAweDQ1OiB7bDogezB4M0I6IHtjOiBbMTA5MzFdfX19LCAweDY5OiB7bDogezB4NkQ6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzgyNDJdfSwgMHg3Mzoge2w6IHsweDNCOiB7YzogWzg0NzNdfX19fX19fX19LCAweDZFOiB7bDogezB4NjE6IHtsOiB7MHg3MDoge2w6IHsweDNCOiB7YzogWzEwOTM3XX19fX19LCAweDQ1OiB7bDogezB4M0I6IHtjOiBbMTA5MzNdfX19LCAweDczOiB7bDogezB4Njk6IHtsOiB7MHg2RDoge2w6IHsweDNCOiB7YzogWzg5MzZdfX19fX19fX19LCAweDZGOiB7bDogezB4NjQ6IHtsOiB7MHgzQjoge2M6IFs4NzE5XX19fSwgMHg2Njoge2w6IHsweDYxOiB7bDogezB4NkM6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbOTAwNl19fX19fX19fX0sIDB4NkM6IHtsOiB7MHg2OToge2w6IHsweDZFOiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4OTc4XX19fX19fX19fSwgMHg3Mzoge2w6IHsweDc1OiB7bDogezB4NzI6IHtsOiB7MHg2Njoge2w6IHsweDNCOiB7YzogWzg5NzldfX19fX19fX19fX0sIDB4NzA6IHtsOiB7MHgzQjoge2M6IFs4NzMzXX0sIDB4NzQ6IHtsOiB7MHg2Rjoge2w6IHsweDNCOiB7YzogWzg3MzNdfX19fX19fX19LCAweDczOiB7bDogezB4Njk6IHtsOiB7MHg2RDoge2w6IHsweDNCOiB7YzogWzg4MzBdfX19fX19fSwgMHg3NToge2w6IHsweDcyOiB7bDogezB4NjU6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzg4ODBdfX19fX19fX19fX0sIDB4NzM6IHtsOiB7MHg2Mzoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTIwMDA1XX19fX19LCAweDY5OiB7bDogezB4M0I6IHtjOiBbOTY4XX19fX19LCAweDc1OiB7bDogezB4NkU6IHtsOiB7MHg2Mzoge2w6IHsweDczOiB7bDogezB4NzA6IHtsOiB7MHgzQjoge2M6IFs4MjAwXX19fX19fX19fX19fX0sXHJcbiAgICAweDUwOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDc0OiB7bDogezB4Njk6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4NDQ6IHtsOiB7MHgzQjoge2M6IFs4NzA2XX19fX19fX19fX19fX19fSwgMHg2Mzoge2w6IHsweDc5OiB7bDogezB4M0I6IHtjOiBbMTA1NV19fX19fSwgMHg2Njoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTIwMDgzXX19fX19LCAweDY4OiB7bDogezB4Njk6IHtsOiB7MHgzQjoge2M6IFs5MzRdfX19fX0sIDB4Njk6IHtsOiB7MHgzQjoge2M6IFs5MjhdfX19LCAweDZDOiB7bDogezB4NzU6IHtsOiB7MHg3Mzoge2w6IHsweDREOiB7bDogezB4Njk6IHtsOiB7MHg2RToge2w6IHsweDc1OiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFsxNzddfX19fX19fX19fX19fX19fX0sIDB4NkY6IHtsOiB7MHg2OToge2w6IHsweDZFOiB7bDogezB4NjM6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NjU6IHtsOiB7MHg3MDoge2w6IHsweDZDOiB7bDogezB4NjE6IHtsOiB7MHg2RToge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODQ2MF19fX19fX19fX19fX19fX19fX19fX19fSwgMHg3MDoge2w6IHsweDY2OiB7bDogezB4M0I6IHtjOiBbODQ3M119fX19fX19LCAweDcyOiB7bDogezB4M0I6IHtjOiBbMTA5MzldfSwgMHg2NToge2w6IHsweDYzOiB7bDogezB4NjU6IHtsOiB7MHg2NDoge2w6IHsweDY1OiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFs4ODI2XX0sIDB4NDU6IHtsOiB7MHg3MToge2w6IHsweDc1OiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzEwOTI3XX19fX19fX19fX19LCAweDUzOiB7bDogezB4NkM6IHtsOiB7MHg2MToge2w6IHsweDZFOiB7bDogezB4NzQ6IHtsOiB7MHg0NToge2w6IHsweDcxOiB7bDogezB4NzU6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbODgyOF19fX19fX19fX19fX19fX19fX19fX0sIDB4NTQ6IHtsOiB7MHg2OToge2w6IHsweDZDOiB7bDogezB4NjQ6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzg4MzBdfX19fX19fX19fX19fX19fX19fX19fX0sIDB4Njk6IHtsOiB7MHg2RDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODI0M119fX19fX19LCAweDZGOiB7bDogezB4NjQ6IHtsOiB7MHg3NToge2w6IHsweDYzOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4NzE5XX19fX19fX19fSwgMHg3MDoge2w6IHsweDZGOiB7bDogezB4NzI6IHtsOiB7MHg3NDoge2w6IHsweDY5OiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDYxOiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFs4NzMzXX19fX19LCAweDNCOiB7YzogWzg3NTldfX19fX19fX19fX19fX19fX19fSwgMHg3Mzoge2w6IHsweDYzOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMTk5NzldfX19fX0sIDB4Njk6IHtsOiB7MHgzQjoge2M6IFs5MzZdfX19fX19fSxcclxuICAgIDB4NTE6IHtsOiB7MHg2Njoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTIwMDg0XX19fX19LCAweDZGOiB7bDogezB4NzA6IHtsOiB7MHg2Njoge2w6IHsweDNCOiB7YzogWzg0NzRdfX19fX19fSwgMHg3Mzoge2w6IHsweDYzOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMTk5ODBdfX19fX19fSwgMHg1NToge2w6IHsweDRGOiB7bDogezB4NTQ6IHtsOiB7MHgzQjoge2M6IFszNF19fSwgYzogWzM0XX19fX19fX0sXHJcbiAgICAweDcxOiB7bDogezB4NjY6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEyMDExMF19fX19fSwgMHg2OToge2w6IHsweDZFOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFsxMDc2NF19fX19fX19LCAweDZGOiB7bDogezB4NzA6IHtsOiB7MHg2Njoge2w6IHsweDNCOiB7YzogWzEyMDE2Ml19fX19fX19LCAweDcwOiB7bDogezB4NzI6IHtsOiB7MHg2OToge2w6IHsweDZEOiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4Mjc5XX19fX19fX19fX19LCAweDczOiB7bDogezB4NjM6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEyMDAwNl19fX19fX19LCAweDc1OiB7bDogezB4NjE6IHtsOiB7MHg3NDoge2w6IHsweDY1OiB7bDogezB4NzI6IHtsOiB7MHg2RToge2w6IHsweDY5OiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbODQ2MV19fX19fX19fX19fX19fX0sIDB4Njk6IHtsOiB7MHg2RToge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbMTA3NzRdfX19fX19fX19fX0sIDB4NjU6IHtsOiB7MHg3Mzoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbNjNdfSwgMHg2NToge2w6IHsweDcxOiB7bDogezB4M0I6IHtjOiBbODc5OV19fX19fX19fX19fSwgMHg2Rjoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbMzRdfX0sIGM6IFszNF19fX19fX19LFxyXG4gICAgMHg3Mjoge2w6IHsweDQxOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODY2N119fX19fX19LCAweDcyOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs4NjU4XX19fX19LCAweDc0OiB7bDogezB4NjE6IHtsOiB7MHg2OToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbMTA1MjRdfX19fX19fX19fX0sIDB4NjE6IHtsOiB7MHg2Mzoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODc2NSwgODE3XX19fSwgMHg3NToge2w6IHsweDc0OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFszNDFdfX19fX19fX19LCAweDY0OiB7bDogezB4Njk6IHtsOiB7MHg2Mzoge2w6IHsweDNCOiB7YzogWzg3MzBdfX19fX19fSwgMHg2NToge2w6IHsweDZEOiB7bDogezB4NzA6IHtsOiB7MHg3NDoge2w6IHsweDc5OiB7bDogezB4NzY6IHtsOiB7MHgzQjoge2M6IFsxMDY3NV19fX19fX19fX19fX19LCAweDZFOiB7bDogezB4Njc6IHtsOiB7MHgzQjoge2M6IFsxMDIxN119LCAweDY0OiB7bDogezB4M0I6IHtjOiBbMTA2NDJdfX19LCAweDY1OiB7bDogezB4M0I6IHtjOiBbMTA2NjFdfX19LCAweDZDOiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFsxMDIxN119fX19fX19fX0sIDB4NzE6IHtsOiB7MHg3NToge2w6IHsweDZGOiB7bDogezB4M0I6IHtjOiBbMTg3XX19LCBjOiBbMTg3XX19fX19LCAweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2MToge2w6IHsweDcwOiB7bDogezB4M0I6IHtjOiBbMTA2MTNdfX19fX0sIDB4NjI6IHtsOiB7MHgzQjoge2M6IFs4Njc3XX0sIDB4NjY6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzEwNTI4XX19fX19fX0sIDB4NjM6IHtsOiB7MHgzQjoge2M6IFsxMDU0N119fX0sIDB4M0I6IHtjOiBbODU5NF19LCAweDY2OiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFsxMDUyNl19fX19fSwgMHg2ODoge2w6IHsweDZCOiB7bDogezB4M0I6IHtjOiBbODYxOF19fX19fSwgMHg2Qzoge2w6IHsweDcwOiB7bDogezB4M0I6IHtjOiBbODYyMF19fX19fSwgMHg3MDoge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbMTA1NjVdfX19fX0sIDB4NzM6IHtsOiB7MHg2OToge2w6IHsweDZEOiB7bDogezB4M0I6IHtjOiBbMTA2MTJdfX19fX19fSwgMHg3NDoge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbODYxMV19fX19fSwgMHg3Nzoge2w6IHsweDNCOiB7YzogWzg2MDVdfX19fX19fSwgMHg3NDoge2w6IHsweDYxOiB7bDogezB4Njk6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzEwNTIyXX19fX19fX0sIDB4Njk6IHtsOiB7MHg2Rjoge2w6IHsweDNCOiB7YzogWzg3NThdfSwgMHg2RToge2w6IHsweDYxOiB7bDogezB4NkM6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzg0NzRdfX19fX19fX19fX19fX19fX0sIDB4NjI6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDUwOV19fX19fX19LCAweDYyOiB7bDogezB4NzI6IHtsOiB7MHg2Qjoge2w6IHsweDNCOiB7YzogWzEwMDk5XX19fX19fX0sIDB4NzI6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFsxMjVdfX19LCAweDZCOiB7bDogezB4M0I6IHtjOiBbOTNdfX19fX19fSwgMHg2Qjoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMTA2MzZdfX19LCAweDczOiB7bDogezB4NkM6IHtsOiB7MHg2NDoge2w6IHsweDNCOiB7YzogWzEwNjM4XX19fSwgMHg3NToge2w6IHsweDNCOiB7YzogWzEwNjQwXX19fX19fX19fX19fX0sIDB4NDI6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDUxMV19fX19fX19fX0sIDB4NjM6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDNCOiB7YzogWzM0NV19fX19fX19fX0sIDB4NjU6IHtsOiB7MHg2NDoge2w6IHsweDY5OiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFszNDNdfX19fX19fSwgMHg2OToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbODk2OV19fX19fX19LCAweDc1OiB7bDogezB4NjI6IHtsOiB7MHgzQjoge2M6IFsxMjVdfX19fX0sIDB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMDg4XX19fX19LCAweDY0OiB7bDogezB4NjM6IHtsOiB7MHg2MToge2w6IHsweDNCOiB7YzogWzEwNTUxXX19fX19LCAweDZDOiB7bDogezB4NjQ6IHtsOiB7MHg2ODoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDYwMV19fX19fX19fX19fSwgMHg3MToge2w6IHsweDc1OiB7bDogezB4NkY6IHtsOiB7MHgzQjoge2M6IFs4MjIxXX0sIDB4NzI6IHtsOiB7MHgzQjoge2M6IFs4MjIxXX19fX19fX19fSwgMHg3Mzoge2w6IHsweDY4OiB7bDogezB4M0I6IHtjOiBbODYyN119fX19fX19LCAweDY1OiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzg0NzZdfSwgMHg2OToge2w6IHsweDZFOiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4NDc1XX19fX19fX0sIDB4NzA6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4NDc2XX19fX19fX19fSwgMHg3Mzoge2w6IHsweDNCOiB7YzogWzg0NzddfX19fX19fSwgMHg2Mzoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbOTY0NV19fX19fSwgMHg2Nzoge2w6IHsweDNCOiB7YzogWzE3NF19fSwgYzogWzE3NF19fX0sIDB4NjY6IHtsOiB7MHg2OToge2w6IHsweDczOiB7bDogezB4Njg6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzEwNjIxXX19fX19fX19fSwgMHg2Qzoge2w6IHsweDZGOiB7bDogezB4NkY6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg5NzFdfX19fX19fX19LCAweDcyOiB7bDogezB4M0I6IHtjOiBbMTIwMTExXX19fX19LCAweDQ4OiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwNTk2XX19fX19fX0sIDB4Njg6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NjQ6IHtsOiB7MHgzQjoge2M6IFs4NjQxXX19fSwgMHg3NToge2w6IHsweDNCOiB7YzogWzg2NDBdfSwgMHg2Qzoge2w6IHsweDNCOiB7YzogWzEwNjA0XX19fX19fX19fSwgMHg2Rjoge2w6IHsweDNCOiB7YzogWzk2MV19LCAweDc2OiB7bDogezB4M0I6IHtjOiBbMTAwOV19fX19fX19LCAweDY5OiB7bDogezB4Njc6IHtsOiB7MHg2ODoge2w6IHsweDc0OiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDNCOiB7YzogWzg1OTRdfSwgMHg3NDoge2w6IHsweDYxOiB7bDogezB4Njk6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzg2MTFdfX19fX19fX19fX19fX19fX19fSwgMHg2ODoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3MDoge2w6IHsweDZGOiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDY0OiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbODY0MV19fX19fX19fX0sIDB4NzU6IHtsOiB7MHg3MDoge2w6IHsweDNCOiB7YzogWzg2NDBdfX19fX19fX19fX19fX19fX19fSwgMHg2Qzoge2w6IHsweDY1OiB7bDogezB4NjY6IHtsOiB7MHg3NDoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzg2NDRdfX19fX19fX19fX19fSwgMHg2ODoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3MDoge2w6IHsweDZGOiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbODY1Ml19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDcyOiB7bDogezB4Njk6IHtsOiB7MHg2Nzoge2w6IHsweDY4OiB7bDogezB4NzQ6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFs4NjQ5XX19fX19fX19fX19fX19fX19fX19fX19LCAweDczOiB7bDogezB4NzE6IHtsOiB7MHg3NToge2w6IHsweDY5OiB7bDogezB4Njc6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4M0I6IHtjOiBbODYwNV19fX19fX19fX19fX19fX19fX19fX0sIDB4NzQ6IHtsOiB7MHg2ODoge2w6IHsweDcyOiB7bDogezB4NjU6IHtsOiB7MHg2NToge2w6IHsweDc0OiB7bDogezB4Njk6IHtsOiB7MHg2RDoge2w6IHsweDY1OiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFs4OTA4XX19fX19fX19fX19fX19fX19fX19fX19fX19fSwgMHg2RToge2w6IHsweDY3OiB7bDogezB4M0I6IHtjOiBbNzMwXX19fX19LCAweDczOiB7bDogezB4Njk6IHtsOiB7MHg2RToge2w6IHsweDY3OiB7bDogezB4NjQ6IHtsOiB7MHg2Rjoge2w6IHsweDc0OiB7bDogezB4NzM6IHtsOiB7MHg2NToge2w6IHsweDcxOiB7bDogezB4M0I6IHtjOiBbODc4N119fX19fX19fX19fX19fX19fX19fX19fSwgMHg2Qzoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg2NDRdfX19fX19fSwgMHg2ODoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs4NjUyXX19fX19fX0sIDB4NkQ6IHtsOiB7MHgzQjoge2M6IFs4MjA3XX19fX19LCAweDZEOiB7bDogezB4NkY6IHtsOiB7MHg3NToge2w6IHsweDczOiB7bDogezB4NzQ6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4Njg6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzkxMzddfX19fX19fX19LCAweDNCOiB7YzogWzkxMzddfX19fX19fX19fX0sIDB4NkU6IHtsOiB7MHg2RDoge2w6IHsweDY5OiB7bDogezB4NjQ6IHtsOiB7MHgzQjoge2M6IFsxMDk5MF19fX19fX19fX0sIDB4NkY6IHtsOiB7MHg2MToge2w6IHsweDZFOiB7bDogezB4Njc6IHtsOiB7MHgzQjoge2M6IFsxMDIyMV19fX19fSwgMHg3Mjoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODcwMl19fX19fX19LCAweDYyOiB7bDogezB4NzI6IHtsOiB7MHg2Qjoge2w6IHsweDNCOiB7YzogWzEwMjE1XX19fX19fX0sIDB4NzA6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA2MzBdfX19fX0sIDB4NjY6IHtsOiB7MHgzQjoge2M6IFsxMjAxNjNdfX19LCAweDZDOiB7bDogezB4NzU6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzEwNzk4XX19fX19fX19fSwgMHg3NDoge2w6IHsweDY5OiB7bDogezB4NkQ6IHtsOiB7MHg2NToge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbMTA4MDVdfX19fX19fX19fX19fSwgMHg3MDoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs0MV19LCAweDY3OiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFsxMDY0NF19fX19fX19fX0sIDB4NzA6IHtsOiB7MHg2Rjoge2w6IHsweDZDOiB7bDogezB4Njk6IHtsOiB7MHg2RToge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbMTA3NzBdfX19fX19fX19fX19fX19LCAweDcyOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODY0OV19fX19fX19fX0sIDB4NzM6IHtsOiB7MHg2MToge2w6IHsweDcxOiB7bDogezB4NzU6IHtsOiB7MHg2Rjoge2w6IHsweDNCOiB7YzogWzgyNTBdfX19fX19fX19LCAweDYzOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMjAwMDddfX19fX0sIDB4Njg6IHtsOiB7MHgzQjoge2M6IFs4NjI1XX19fSwgMHg3MToge2w6IHsweDYyOiB7bDogezB4M0I6IHtjOiBbOTNdfX19LCAweDc1OiB7bDogezB4NkY6IHtsOiB7MHgzQjoge2M6IFs4MjE3XX0sIDB4NzI6IHtsOiB7MHgzQjoge2M6IFs4MjE3XX19fX19fX19fX19LCAweDc0OiB7bDogezB4Njg6IHtsOiB7MHg3Mjoge2w6IHsweDY1OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4OTA4XX19fX19fX19fSwgMHg2OToge2w6IHsweDZEOiB7bDogezB4NjU6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzg5MDZdfX19fX19fX19LCAweDcyOiB7bDogezB4Njk6IHtsOiB7MHgzQjoge2M6IFs5NjU3XX0sIDB4NjU6IHtsOiB7MHgzQjoge2M6IFs4ODg1XX19fSwgMHg2Njoge2w6IHsweDNCOiB7YzogWzk2NTZdfX19LCAweDZDOiB7bDogezB4NzQ6IHtsOiB7MHg3Mjoge2w6IHsweDY5OiB7bDogezB4M0I6IHtjOiBbMTA3MDJdfX19fX19fX19fX19fX19LCAweDc1OiB7bDogezB4NkM6IHtsOiB7MHg3NToge2w6IHsweDY4OiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwNjAwXX19fX19fX19fX19fX0sIDB4Nzg6IHtsOiB7MHgzQjoge2M6IFs4NDc4XX19fX19LFxyXG4gICAgMHg1Mjoge2w6IHsweDYxOiB7bDogezB4NjM6IHtsOiB7MHg3NToge2w6IHsweDc0OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFszNDBdfX19fX19fX19LCAweDZFOiB7bDogezB4Njc6IHtsOiB7MHgzQjoge2M6IFsxMDIxOV19fX19fSwgMHg3Mjoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODYwOF19LCAweDc0OiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFsxMDUxOF19fX19fX19fX19fSwgMHg0Mjoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwNTEyXX19fX19fX19fSwgMHg2Mzoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbMzQ0XX19fX19fX19fSwgMHg2NToge2w6IHsweDY0OiB7bDogezB4Njk6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzM0Ml19fX19fX19fX0sIDB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMDU2XX19fX19LCAweDY1OiB7bDogezB4M0I6IHtjOiBbODQ3Nl19LCAweDc2OiB7bDogezB4NjU6IHtsOiB7MHg3Mjoge2w6IHsweDczOiB7bDogezB4NjU6IHtsOiB7MHg0NToge2w6IHsweDZDOiB7bDogezB4NjU6IHtsOiB7MHg2RDoge2w6IHsweDY1OiB7bDogezB4NkU6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg3MTVdfX19fX19fX19fX19fSwgMHg3MToge2w6IHsweDc1OiB7bDogezB4Njk6IHtsOiB7MHg2Qzoge2w6IHsweDY5OiB7bDogezB4NjI6IHtsOiB7MHg3Mjoge2w6IHsweDY5OiB7bDogezB4NzU6IHtsOiB7MHg2RDoge2w6IHsweDNCOiB7YzogWzg2NTFdfX19fX19fX19fX19fX19fX19fX19fX0sIDB4NTU6IHtsOiB7MHg3MDoge2w6IHsweDQ1OiB7bDogezB4NzE6IHtsOiB7MHg3NToge2w6IHsweDY5OiB7bDogezB4NkM6IHtsOiB7MHg2OToge2w6IHsweDYyOiB7bDogezB4NzI6IHtsOiB7MHg2OToge2w6IHsweDc1OiB7bDogezB4NkQ6IHtsOiB7MHgzQjoge2M6IFsxMDYwN119fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX0sIDB4NDU6IHtsOiB7MHg0Nzoge2w6IHsweDNCOiB7YzogWzE3NF19fSwgYzogWzE3NF19fX0sIDB4NjY6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg0NzZdfX19fX0sIDB4Njg6IHtsOiB7MHg2Rjoge2w6IHsweDNCOiB7YzogWzkyOV19fX19fSwgMHg2OToge2w6IHsweDY3OiB7bDogezB4Njg6IHtsOiB7MHg3NDoge2w6IHsweDQxOiB7bDogezB4NkU6IHtsOiB7MHg2Nzoge2w6IHsweDZDOiB7bDogezB4NjU6IHtsOiB7MHg0Mjoge2w6IHsweDcyOiB7bDogezB4NjE6IHtsOiB7MHg2Mzoge2w6IHsweDZCOiB7bDogezB4NjU6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzEwMjE3XX19fX19fX19fX19fX19fX19fX19fX19LCAweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4NDI6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODY3N119fX19fX19LCAweDNCOiB7YzogWzg1OTRdfSwgMHg0Qzoge2w6IHsweDY1OiB7bDogezB4NjY6IHtsOiB7MHg3NDoge2w6IHsweDQxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFs4NjQ0XX19fX19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFs4NjU4XX19fX19fX19fX19LCAweDQzOiB7bDogezB4NjU6IHtsOiB7MHg2OToge2w6IHsweDZDOiB7bDogezB4Njk6IHtsOiB7MHg2RToge2w6IHsweDY3OiB7bDogezB4M0I6IHtjOiBbODk2OV19fX19fX19fX19fX19fX0sIDB4NDQ6IHtsOiB7MHg2Rjoge2w6IHsweDc1OiB7bDogezB4NjI6IHtsOiB7MHg2Qzoge2w6IHsweDY1OiB7bDogezB4NDI6IHtsOiB7MHg3Mjoge2w6IHsweDYxOiB7bDogezB4NjM6IHtsOiB7MHg2Qjoge2w6IHsweDY1OiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFsxMDIxNV19fX19fX19fX19fX19fX19fX19fX19fSwgMHg3Nzoge2w6IHsweDZFOiB7bDogezB4NTQ6IHtsOiB7MHg2NToge2w6IHsweDY1OiB7bDogezB4NTY6IHtsOiB7MHg2NToge2w6IHsweDYzOiB7bDogezB4NzQ6IHtsOiB7MHg2Rjoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA1ODldfX19fX19fX19fX19fX19fX19fSwgMHg1Njoge2w6IHsweDY1OiB7bDogezB4NjM6IHtsOiB7MHg3NDoge2w6IHsweDZGOiB7bDogezB4NzI6IHtsOiB7MHg0Mjoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDU4MV19fX19fX19LCAweDNCOiB7YzogWzg2NDJdfX19fX19fX19fX19fX19fX19fX19LCAweDQ2OiB7bDogezB4NkM6IHtsOiB7MHg2Rjoge2w6IHsweDZGOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs4OTcxXX19fX19fX19fX19LCAweDU0OiB7bDogezB4NjU6IHtsOiB7MHg2NToge2w6IHsweDQxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFs4NjE0XX19fX19fX19fX19LCAweDNCOiB7YzogWzg4NjZdfSwgMHg1Njoge2w6IHsweDY1OiB7bDogezB4NjM6IHtsOiB7MHg3NDoge2w6IHsweDZGOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDU4N119fX19fX19fX19fX19fX19fSwgMHg3Mjoge2w6IHsweDY5OiB7bDogezB4NjE6IHtsOiB7MHg2RToge2w6IHsweDY3OiB7bDogezB4NkM6IHtsOiB7MHg2NToge2w6IHsweDQyOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwNzA0XX19fX19fX0sIDB4M0I6IHtjOiBbODg4M119LCAweDQ1OiB7bDogezB4NzE6IHtsOiB7MHg3NToge2w6IHsweDYxOiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFs4ODg1XX19fX19fX19fX19fX19fX19fX19fX19fX19fSwgMHg1NToge2w6IHsweDcwOiB7bDogezB4NDQ6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4NkU6IHtsOiB7MHg1Njoge2w6IHsweDY1OiB7bDogezB4NjM6IHtsOiB7MHg3NDoge2w6IHsweDZGOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDU3NV19fX19fX19fX19fX19fX19fX19fX0sIDB4NTQ6IHtsOiB7MHg2NToge2w6IHsweDY1OiB7bDogezB4NTY6IHtsOiB7MHg2NToge2w6IHsweDYzOiB7bDogezB4NzQ6IHtsOiB7MHg2Rjoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA1ODhdfX19fX19fX19fX19fX19fX19fSwgMHg1Njoge2w6IHsweDY1OiB7bDogezB4NjM6IHtsOiB7MHg3NDoge2w6IHsweDZGOiB7bDogezB4NzI6IHtsOiB7MHg0Mjoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDU4MF19fX19fX19LCAweDNCOiB7YzogWzg2MzhdfX19fX19fX19fX19fX19fX0sIDB4NTY6IHtsOiB7MHg2NToge2w6IHsweDYzOiB7bDogezB4NzQ6IHtsOiB7MHg2Rjoge2w6IHsweDcyOiB7bDogezB4NDI6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA1NzldfX19fX19fSwgMHgzQjoge2M6IFs4NjQwXX19fX19fX19fX19fX19fX19fX19fSwgMHg2Rjoge2w6IHsweDcwOiB7bDogezB4NjY6IHtsOiB7MHgzQjoge2M6IFs4NDc3XX19fX19LCAweDc1OiB7bDogezB4NkU6IHtsOiB7MHg2NDoge2w6IHsweDQ5OiB7bDogezB4NkQ6IHtsOiB7MHg3MDoge2w6IHsweDZDOiB7bDogezB4Njk6IHtsOiB7MHg2NToge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbMTA2MDhdfX19fX19fX19fX19fX19fX19fX19fX0sIDB4NzI6IHtsOiB7MHg2OToge2w6IHsweDY3OiB7bDogezB4Njg6IHtsOiB7MHg3NDoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFs4NjY3XX19fX19fX19fX19fX19fX19fX19fSwgMHg3Mzoge2w6IHsweDYzOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs4NDc1XX19fX19LCAweDY4OiB7bDogezB4M0I6IHtjOiBbODYyNV19fX19fSwgMH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Fs4NTk1XX19fX19fX19fX19fX19fX19fX0sIDB4NEM6IHtsOiB7MHg2NToge2w6IHsweDY2OiB7bDogezB4NzQ6IHtsOiB7MHg0MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4M0I6IHtjOiBbODU5Ml19fX19fX19fX19fX19fX19fX19LCAweDUyOiB7bDogezB4Njk6IHtsOiB7MHg2Nzoge2w6IHsweDY4OiB7bDogezB4NzQ6IHtsOiB7MHg0MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4M0I6IHtjOiBbODU5NF19fX19fX19fX19fX19fX19fX19fX0sIDB4NTU6IHtsOiB7MHg3MDoge2w6IHsweDQxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFs4NTkzXX19fX19fX19fX19fX19fX19fX19fX19LCAweDY5OiB7bDogezB4Njc6IHtsOiB7MHg2RDoge2w6IHsweDYxOiB7bDogezB4M0I6IHtjOiBbOTMxXX19fX19fX19fSwgMHg2RDoge2w6IHsweDYxOiB7bDogezB4NkM6IHtsOiB7MHg2Qzoge2w6IHsweDQzOiB7bDogezB4Njk6IHtsOiB7MHg3Mjoge2w6IHsweDYzOiB7bDogezB4NkM6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzg3MjhdfX19fX19fX19fX19fX19fX19fX19LCAweDRGOiB7bDogezB4NDY6IHtsOiB7MHg1NDoge2w6IHsweDYzOiB7bDogezB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMDY4XX19fX19fX19fX19LCAweDZGOiB7bDogezB4NzA6IHtsOiB7MHg2Njoge2w6IHsweDNCOiB7YzogWzEyMDEzOF19fX19fX19LCAweDcxOiB7bDogezB4NzI6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg3MzBdfX19fX0sIDB4NzU6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs5NjMzXX0sIDB4NDk6IHtsOiB7MHg2RToge2w6IHsweDc0OiB7bDogezB4NjU6IHtsOiB7MHg3Mjoge2w6IHsweDczOiB7bDogezB4NjU6IHtsOiB7MHg2Mzoge2w6IHsweDc0OiB7bDogezB4Njk6IHtsOiB7MHg2Rjoge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbODg1MV19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDUzOiB7bDogezB4NzU6IHtsOiB7MHg2Mjoge2w6IHsweDczOiB7bDogezB4NjU6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg4NDddfSwgMHg0NToge2w6IHsweDcxOiB7bDogezB4NzU6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbODg0OV19fX19fX19fX19fX19fX19fX19LCAweDcwOiB7bDogezB4NjU6IHtsOiB7MHg3Mjoge2w6IHsweDczOiB7bDogezB4NjU6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg4NDhdfSwgMHg0NToge2w6IHsweDcxOiB7bDogezB4NzU6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbODg1MF19fX19fX19fX19fX19fX19fX19fX19fX19fX0sIDB4NTU6IHtsOiB7MHg2RToge2w6IHsweDY5OiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDNCOiB7YzogWzg4NTJdfX19fX19fX19fX19fX19fX19fX19LCAweDczOiB7bDogezB4NjM6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzExOTk4Ml19fX19fX19LCAweDc0OiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg5MDJdfX19fX19fSwgMHg3NToge2w6IHsweDYyOiB7bDogezB4M0I6IHtjOiBbODkxMl19LCAweDczOiB7bDogezB4NjU6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg5MTJdfSwgMHg0NToge2w6IHsweDcxOiB7bDogezB4NzU6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbODgzOF19fX19fX19fX19fX19fX19fX19LCAweDYzOiB7bDogezB4NjM6IHtsOiB7MHg2NToge2w6IHsweDY1OiB7bDogezB4NjQ6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzg4MjddfSwgMHg0NToge2w6IHsweDcxOiB7bDogezB4NzU6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbMTA5MjhdfX19fX19fX19fX0sIDB4NTM6IHtsOiB7MHg2Qzoge2w6IHsweDYxOiB7bDogezB4NkU6IHtsOiB7MHg3NDoge2w6IHsweDQ1OiB7bDogezB4NzE6IHtsOiB7MHg3NToge2w6IHsweDYxOiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFs4ODI5XX19fX19fX19fX19fX19fX19fX19fSwgMHg1NDoge2w6IHsweDY5OiB7bDogezB4NkM6IHtsOiB7MHg2NDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODgzMV19fX19fX19fX19fX19fX19fX19fX0sIDB4Njg6IHtsOiB7MHg1NDoge2w6IHsweDY4OiB7bDogezB4NjE6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg3MTVdfX19fX19fX19fX19fSwgMHg2RDoge2w6IHsweDNCOiB7YzogWzg3MjFdfX19LCAweDcwOiB7bDogezB4M0I6IHtjOiBbODkxM119LCAweDY1OiB7bDogezB4NzI6IHtsOiB7MHg3Mzoge2w6IHsweDY1OiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4ODM1XX0sIDB4NDU6IHtsOiB7MHg3MToge2w6IHsweDc1OiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzg4MzldfX19fX19fX19fX19fX19fX19fX19LCAweDczOiB7bDogezB4NjU6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg5MTNdfX19fX19fX19fX19fSxcclxuICAgIDB4NzM6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4NzU6IHtsOiB7MHg3NDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMzQ3XX19fX19fX19fX19LCAweDYyOiB7bDogezB4NzE6IHtsOiB7MHg3NToge2w6IHsweDZGOiB7bDogezB4M0I6IHtjOiBbODIxOF19fX19fX19fX0sIDB4NjM6IHtsOiB7MHg2MToge2w6IHsweDcwOiB7bDogezB4M0I6IHtjOiBbMTA5MzZdfX19LCAweDcyOiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDNCOiB7YzogWzM1M119fX19fX19fX0sIDB4M0I6IHtjOiBbODgyN119LCAweDYzOiB7bDogezB4NzU6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzg4MjldfX19fX19fSwgMHg2NToge2w6IHsweDNCOiB7YzogWzEwOTI4XX0sIDB4NjQ6IHtsOiB7MHg2OToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbMzUxXX19fX19fX19fSwgMHg0NToge2w6IHsweDNCOiB7YzogWzEwOTMyXX19fSwgMHg2OToge2w6IHsweDcyOiB7bDogezB4NjM6IHtsOiB7MHgzQjoge2M6IFszNDldfX19fX19fSwgMHg2RToge2w6IHsweDYxOiB7bDogezB4NzA6IHtsOiB7MHgzQjoge2M6IFsxMDkzOF19fX19fSwgMHg0NToge2w6IHsweDNCOiB7YzogWzEwOTM0XX19fSwgMHg3Mzoge2w6IHsweDY5OiB7bDogezB4NkQ6IHtsOiB7MHgzQjoge2M6IFs4OTM3XX19fX19fX19fSwgMHg3MDoge2w6IHsweDZGOiB7bDogezB4NkM6IHtsOiB7MHg2OToge2w6IHsweDZFOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFsxMDc3MV19fX19fX19fX19fX19LCAweDczOiB7bDogezB4Njk6IHts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iB7YzogWzg5OTRdfX19fX19fX19fX0sIDB4Njg6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzA6IHtsOiB7MHgzQjoge2M6IFs5ODM5XX19fX19fX0sIDB4NjM6IHtsOiB7MHg2ODoge2w6IHsweDYzOiB7bDogezB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMDk3XX19fX19fX0sIDB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMDk2XX19fX19LCAweDZGOiB7bDogezB4NzI6IHtsOiB7MHg3NDoge2w6IHsweDZEOiB7bDogezB4Njk6IHtsOiB7MHg2NDoge2w6IHsweDNCOiB7YzogWzg3MzldfX19fX19fSwgMHg3MDoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4NkM6IHtsOiB7MHg2NToge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbODc0MV19fX19fX19fX19fX19fX19fX19fX19fSwgMHg3OToge2w6IHsweDNCOiB7YzogWzE3M119fSwgYzogWzE3M119fX0sIDB4Njk6IHtsOiB7MHg2Nzoge2w6IHsweDZEOiB7bDogezB4NjE6IHtsOiB7MHgzQjoge2M6IFs5NjNdfSwgMHg2Njoge2w6IHsweDNCOiB7YzogWzk2Ml19fX0sIDB4NzY6IHtsOiB7MHgzQjoge2M6IFs5NjJdfX19fX19fX19LCAweDZEOiB7bDogezB4M0I6IHtjOiBbODc2NF19LCAweDY0OiB7bDogezB4NkY6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzEwODU4XX19fX19fX0sIDB4NjU6IHtsOiB7MHgzQjoge2M6IFs4NzcxXX0sIDB4NzE6IHtsOiB7MHgzQjoge2M6IFs4NzcxXX19fX19LCAweDY3OiB7bDogezB4M0I6IHtjOiBbMTA5MTBdfSwgMHg0NToge2w6IHsweDNCOiB7YzogWzEwOTEyXX19fX19LCAweDZDOiB7bDogezB4M0I6IHtjOiBbMTA5MDldfSwgMHg0NToge2w6IHsweDNCOiB7YzogWzEwOTExXX19fX19LCAweDZFOiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4Nzc0XX19fX19LCAweDcwOiB7bDogezB4NkM6IHtsOiB7MHg3NToge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbMTA3ODhdfX19fX19fX19LCAweDcyOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA2MTBdfX19fX19fX19fX19fSwgMHg2Qzoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg1OTJdfX19fX19fX19LCAweDZEOiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDZDOiB7bDogezB4NzM6IHtsOiB7MHg2NToge2w6IHsweDc0OiB7bDogezB4NkQ6IHtsOiB7MHg2OToge2w6IHsweDZFOiB7bDogezB4NzU6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzg3MjZdfX19fX19fX19fX19fX19fX19fX19LCAweDczOiB7bDogezB4Njg6IHtsOiB7MHg3MDoge2w6IHsweDNCOiB7YzogWzEwODAzXX19fX19fX19fSwgMHg2NToge2w6IHsweDcwOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDczOiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFsxMDcyNF19fX19fX19fX19fX19LCAweDY5OiB7bDogezB4NjQ6IHtsOiB7MHgzQjoge2M6IFs4NzM5XX19fSwgMHg2Qzoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODk5NV19fX19fX19LCAweDc0OiB7bDogezB4M0I6IHtjOiBbMTA5MjJdfSwgMHg2NToge2w6IHsweDNCOiB7YzogWzEwOTI0XX0sIDB4NzM6IHtsOiB7MHgzQjoge2M6IFsxMDkyNCwgNjUwMjRdfX19fX19fX19LCAweDZGOiB7bDogezB4NjY6IHtsOiB7MHg3NDoge2w6IHsweDYzOiB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X19fX19fX19fX19fX19fSwgMHg3MDoge2w6IHsweDY4OiB7bDogezB4Njk6IHtsOiB7MHgzQjoge2M6IFs5ODFdfX19fX19fX19fX19fX19fX0sIDB4NkU6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzE3NV19fX19fX19fX0sIDB4NzU6IHtsOiB7MHg2Mjoge2w6IHsweDNCOiB7YzogWzg4MzRdfSwgMHg2NDoge2w6IHsweDZGOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFsxMDk0MV19fX19fX19LCAweDQ1OiB7bDogezB4M0I6IHtjOiBbMTA5NDldfX19LCAweDY1OiB7bDogezB4M0I6IHtjOiBbODgzOF19LCAweDY0OiB7bDogezB4NkY6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzEwOTQ3XX19fX19fX19fSwgMHg2RDoge2w6IHsweDc1OiB7bDogezB4NkM6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzEwOTQ1XX19fX19fX19fSwgMHg2RToge2w6IHsweDQ1OiB7bDogezB4M0I6IHtjOiBbMTA5NTVdfX19LCAweDY1OiB7bDogezB4M0I6IHtjOiBbODg0Ml19fX19fSwgMHg3MDoge2w6IHsweDZDOiB7bDogezB4NzU6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzEwOTQzXX19fX19fX19fSwgMHg3Mjoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwNjE3XX19fX19fX19fSwgMHg3Mzoge2w6IHsweDY1OiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4ODM0XX0sIDB4NjU6IHtsOiB7MHg3MToge2w6IHsweDNCOiB7YzogWzg4MzhdfSwgMHg3MToge2w6IHsweDNCOiB7YzogWzEwOTQ5XX19fX19fX0sIDB4NkU6IHtsOiB7MHg2NToge2w6IHsweDcxOiB7bDogezB4M0I6IHtjOiBbODg0Ml19LCAweDcxOiB7bDogezB4M0I6IHtjOiBbMTA5NTVdfX19fX19fX19fX19fSwgMHg2OToge2w6IHsweDZEOiB7bDogezB4M0I6IHtjOiBbMTA5NTFdfX19fX0sIDB4NzU6IHtsOiB7MHg2Mjoge2w6IHsweDNCOiB7YzogWzEwOTY1XX19fSwgMHg3MDoge2w6IHsweDNCOiB7YzogWzEwOTYzXX19fX19fX19fSwgMHg2Mzoge2w6IHsweDYzOiB7bDogezB4NjE6IHtsOiB7MHg3MDoge2w6IHsweDcwOiB7bDogezB4NzI6IHtsOiB7MHg2Rjoge2w6IHsweDc4OiB7bDogezB4M0I6IHtjOiBbMTA5MzZdfX19fX19fX19fX19fSwgMHgzQjoge2M6IFs4ODI3XX0sIDB4NjM6IHtsOiB7MHg3NToge2w6IHsweDcyOiB7bDogezB4NkM6IHtsOiB7MHg3OToge2w6IHsweDY1OiB7bDogezB4NzE6IHtsOiB7MHgzQjoge2M6IFs4ODI5XX19fX19fX19fX19fX19fSwgMHg2NToge2w6IHsweDcxOiB7bDogezB4M0I6IHtjOiBbMTA5MjhdfX19fX0sIDB4NkU6IHtsOiB7MHg2MToge2w6IHsweDcwOiB7bDogezB4NzA6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzg6IHtsOiB7MHgzQjoge2M6IFsxMDkzOF19fX19fX19fX19fX19LCAweDY1OiB7bDogezB4NzE6IHtsOiB7MHg3MToge2w6IHsweDNCOiB7YzogWzEwOTM0XX19fX19fX0sIDB4NzM6IHtsOiB7MHg2OToge2w6IHsweDZEOiB7bDogezB4M0I6IHtjOiBbODkzN119fX19fX19fX0sIDB4NzM6IHtsOiB7MHg2OToge2w6IHsweDZEOiB7bDogezB4M0I6IHtjOiBbODgzMV19fX19fX19fX19fSwgMHg2RDoge2w6IHsweDNCOiB7YzogWzg3MjFdfX19LCAweDZFOiB7bDogezB4Njc6IHtsOiB7MHgzQjoge2M6IFs5ODM0XX19fX19LCAweDcwOiB7bDogezB4MzE6IHtsOiB7MHgzQjoge2M6IFsxODVdfX0sIGM6IFsxODVdfSwgMHgzMjoge2w6IHsweDNCOiB7YzogWzE3OF19fSwgYzogWzE3OF19LCAweDMzOiB7bDogezB4M0I6IHtjOiBbMTc5XX19LCBjOiBbMTc5XX0sIDB4M0I6IHtjOiBbODgzNV19LCAweDY0OiB7bDogezB4NkY6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzEwOTQyXX19fX19LCAweDczOiB7bDogezB4NzU6IHtsOiB7MHg2Mjoge2w6IHsweDNCOiB7YzogWzEwOTY4XX19fX19fX19fSwgMHg0NToge2w6IHsweDNCOiB7YzogWzEwOTUwXX19fSwgMHg2NToge2w6IHsweDNCOiB7YzogWzg4MzldfSwgMHg2NDoge2w6IHsweDZGOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFsxMDk0OF19fX19fX19fX0sIDB4Njg6IHtsOiB7MHg3Mzoge2w6IHsweDZGOiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFsxMDE4NV19fX19fSwgMHg3NToge2w6IHsweDYyOiB7bDogezB4M0I6IHtjOiBbMTA5NjddfX19fX19fX19LCAweDZDOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA2MTldfX19fX19fX19LCAweDZEOiB7bDogezB4NzU6IHtsOiB7MHg2Qzoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbMTA5NDZdfX19fX19fX19LCAweDZFOiB7bDogezB4NDU6IHtsOiB7MHgzQjoge2M6IFsxMDk1Nl19fX0sIDB4NjU6IHtsOiB7MHgzQjoge2M6IFs4ODQzXX19fX19LCAweDcwOiB7bDogezB4NkM6IHtsOiB7MHg3NToge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbMTA5NDRdfX19fX19fX19LCAweDczOiB7bDogezB4NjU6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg4MzVdfSwgMHg2NToge2w6IHsweDcxOiB7bDogezB4M0I6IHtjOiBbODgzOV19LCAweDcxOiB7bDogezB4M0I6IHtjOiBbMTA5NTBdfX19fX19fSwgMHg2RToge2w6IHsweDY1OiB7bDogezB4NzE6IHtsOiB7MHgzQjoge2M6IFs4ODQzXX0sIDB4NzE6IHtsOiB7MHgzQjoge2M6IFsxMDk1Nl19fX19fX19fX19fX19LCAweDY5OiB7bDogezB4NkQ6IHtsOiB7MHgzQjoge2M6IFsxMDk1Ml19fX19fSwgMHg3NToge2w6IHsweDYyOiB7bDogezB4M0I6IHtjOiBbMTA5NjRdfX19LCAweDcwOiB7bDogezB4M0I6IHtjOiBbMTA5NjZdfX19fX19fX19fX0sIDB4Nzc6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4Njg6IHtsOiB7MHg2Qjoge2w6IHsweDNCOiB7YzogWzEwNTM0XX19fX19LCAweDcyOiB7bDogezB4M0I6IHtjOiBbODYwMV19LCAweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFs4NjAxXX19fX19fX19fX19LCAweDQxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg2NjVdfX19fX19fSwgMHg2RToge2w6IHsweDc3OiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwNTM4XX19fX19fX19fX19LCAweDdBOiB7bDogezB4NkM6IHtsOiB7MHg2OToge2w6IHsweDY3OiB7bDogezB4M0I6IHtjOiBbMjIzXX19LCBjOiBbMjIzXX19fX19fX19fSxcclxuICAgIDB4NTQ6IHtsOiB7MHg2MToge2w6IHsweDYyOiB7bDogezB4M0I6IHtjOiBbOV19fX0sIDB4NzU6IHtsOiB7MHgzQjoge2M6IFs5MzJdfX19fX0sIDB4NjM6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDNCOiB7YzogWzM1Nl19fX19fX19fX0sIDB4NjU6IHtsOiB7MHg2NDoge2w6IHsweDY5OiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFszNTRdfX19fX19fX19LCAweDc5OiB7bDogezB4M0I6IHtjOiBbMTA1OF19fX19fSwgMHg2Njoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTIwMDg3XX19fX19LCAweDY4OiB7bDogezB4NjU6IHtsOiB7MHg3Mjoge2w6IHsweDY1OiB7bDogezB4NjY6IHtsOiB7MHg2Rjoge2w6IHsweDcyOiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4NzU2XX19fX19fX19fX19fX0sIDB4NzQ6IHtsOiB7MHg2MToge2w6IHsweDNCOiB7YzogWzkyMF19fX19fX19LCAweDY5OiB7bDogezB4NjM6IHtsOiB7MHg2Qjoge2w6IHsweDUzOiB7bDogezB4NzA6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4Mjg3LCA4MjAyXX19fX19fX19fX19fX19fSwgMHg2RToge2w6IHsweDUzOiB7bDogezB4NzA6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4MjAxXX19fX19fX19fX19fX19fX19LCAweDQ4OiB7bDogezB4NEY6IHtsOiB7MHg1Mjoge2w6IHsweDRFOiB7bDogezB4M0I6IHtjOiBbMjIyXX19LCBjOiBbMjIyXX19fX19fX0sIDB4Njk6IHtsOiB7MHg2Qzoge2w6IHsweDY0OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4NzY0XX0sIDB4NDU6IHtsOiB7MHg3MToge2w6IHsweDc1OiB7bDogezB4NjE6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzg3NzFdfX19fX19fX19fX0sIDB4NDY6IHtsOiB7MHg3NToge2w6IHsweDZDOiB7bDogezB4NkM6IHtsOiB7MHg0NToge2w6IHsweDcxOiB7bDogezB4NzU6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB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weDcyOiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDNCOiB7YzogWzM1N119fX19fX19fX0sIDB4NjU6IHtsOiB7MHg2NDoge2w6IHsweDY5OiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFszNTVdfX19fX19fX19LCAweDc5OiB7bDogezB4M0I6IHtjOiBbMTA5MF19fX19fSwgMHg2NDoge2w6IHsweDZGOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4NDExXX19fX19fX0sIDB4NjU6IHtsOiB7MHg2Qzoge2w6IHsweDcyOiB7bDogezB4NjU6IHtsOiB7MHg2Mzoge2w6IHsweDNCOiB7YzogWzg5ODFdfX19fX19fX19fX0sIDB4NjY6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEyMDExM119fX19fSwgMHg2ODoge2w6IHsweDY1OiB7bDogezB4NzI6IHtsOiB7MHg2NToge2w6IHsweDM0OiB7bDogezB4M0I6IHtjOiBbODc1Nl19fX0sIDB4NjY6IHtsOiB7MHg2Rjoge2w6IHsweDcyOiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4NzU2XX19fX19fX19fX19fX0sIDB4NzQ6IHtsOiB7MHg2MToge2w6IHsweDNCOiB7YzogWzk1Ml19LCAweDczOiB7bDogezB4Nzk6IHtsOiB7MHg2RDoge2w6IHsweDNCOiB7YzogWzk3N119fX19fX19LCAweDc2OiB7bDogezB4M0I6IHtjOiBbOTc3XX19fX19fX19fSwgMHg2OToge2w6IHsweDYzOiB7bDogezB4NkI6IHtsOiB7MHg2MToge2w6IHsweDcwOiB7bDogezB4NzA6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzg6IHtsOiB7MHgzQjoge2M6IFs4Nzc2XX19fX19fX19fX19fX0sIDB4NzM6IHtsOiB7MHg2OToge2w6IHsweDZEOiB7bDogezB4M0I6IHtjOiBbODc2NF19fX19fX19fX19fSwgMHg2RToge2w6IHsweDczOiB7bDogezB4Nz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I6IHtjOiBbMTA1MzddfX19fX19fSwgMHg3MDoge2w6IHsweDcyOiB7bDogezB4Njk6IHtsOiB7MHg2RDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODI0NF19fX19fX19fX19fSwgMHg3Mjoge2w6IHsweDYxOiB7bDogezB4NjQ6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzg0ODJdfX19fX19fSwgMHg2OToge2w6IHsweDYxOiB7bDogezB4NkU6IHtsOiB7MHg2Nzoge2w6IHsweDZDOiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs5NjUzXX0sIDB4NjQ6IHtsOiB7MHg2Rjoge2w6IHsweDc3OiB7bDogezB4NkU6IHtsOiB7MHgzQjoge2M6IFs5NjYzXX19fX19fX19fSwgMHg2Qzoge2w6IHsweDY1OiB7bDogezB4NjY6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzk2NjddfSwgMHg2NToge2w6IHsweDcxOiB7bDogezB4M0I6IHtjOiBbODg4NF19fX19fX19fX19fX19LCAweDcxOiB7bDogezB4M0I6IHtjOiBbODc5Nl19fX0sIDB4NzI6IHtsOiB7MHg2OToge2w6IHsweDY3OiB7bDogezB4Njg6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzk2NTddfSwgMHg2NToge2w6IHsweDcxOiB7bDogezB4M0I6IHtjOiBbODg4NV19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDY0OiB7bDogezB4NkY6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzk3MDhdfX19fX19fSwgMHg2NToge2w6IHsweDNCOiB7YzogWzg3OTZdfX19LCAweDZEOiB7bDogezB4Njk6IHtsOiB7MHg2RToge2w6IHsweDc1OiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFsxMDgxMF19fX19fX19fX19fSwgMHg3MDoge2w6IHsweDZDOiB7bDogezB4NzU6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzEwODA5XX19f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19fX19fX19fX19fX19fX19fX19fX19fX19fX0sXHJcbiAgICAweDU1OiB7bDogezB4NjE6IHtsOiB7MHg2Mzoge2w6IHsweDc1OiB7bDogezB4NzQ6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzIxOF19fSwgYzogWzIxOF19fX19fX19LCAweDcyOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs4NjA3XX0sIDB4NkY6IHtsOiB7MHg2Mzoge2w6IHsweDY5OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDU2OV19fX19fX19fX19fX19fX0sIDB4NjI6IHtsOiB7MHg3Mjoge2w6IHsweDYzOiB7bDogezB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMDM4XX19fX19LCAweDY1OiB7bDogezB4NzY6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzM2NF19fX19fX19fX19fSwgMHg2Mzoge2w6IHsweDY5OiB7bDogezB4NzI6IHtsOiB7MHg2Mzoge2w6IHsweDNCOiB7YzogWzIxOV19fSwgYzogWzIxOV19fX19fSwgMHg3OToge2w6IHsweDNCOiB7YzogWzEwNTldfX19fX0sIDB4NjQ6IHtsOiB7MHg2Mjoge2w6IHsweDZDOiB7bDogezB4NjE6IHtsOiB7MHg2Mzoge2w6IHsweDNCOiB7YzogWzM2OF19fX19fX19fX19fSwgMHg2Njoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTIwMDg4XX19fX19LCAweDY3OiB7bDogezB4NzI6IHtsOiB7MHg2MToge2w6IHsweDc2OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFsyMTddfX0sIGM6IFsyMTddfX19fX19fX19LCAweDZEOiB7bDogezB4NjE6IHtsOiB7MHg2Mzoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMzYyXX19fX19fX19fSwgMHg2RToge2w6IHsweDY0OiB7bDogezB4NjU6IHtsOiB7MHg3Mjoge2w6IHsweDQyOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzk1XX19fX19LCAweDcyOiB7bDogezB4NjE6IHtsOiB7MHg2Mzoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbOTE4M119fX0sIDB4NkI6IHtsOiB7MHg2NToge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbOTE0MV19fX19fX19fX19fX19fX0sIDB4NTA6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NjU6IHtsOiB7MHg2RToge2w6IHsweDc0OiB7bDogezB4Njg6IHtsOiB7MHg2NToge2w6IHsweDczOiB7bDogezB4Njk6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzkxODFdfX19fX19fX19fX19fX19fX19fX19fX19fX19fX0sIDB4Njk6IHtsOiB7MHg2Rjoge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbODg5OV19LCAweDUwOiB7bDogezB4NkM6IHtsOiB7MHg3NToge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbODg0Nl19fX19fX19fX19fX19fX19fSwgMHg2Rjoge2w6IHsweDY3OiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDNCOiB7YzogWzM3MF19fX19fX19LCAweDcwOiB7bDogezB4NjY6IHtsOiB7MHgzQjoge2M6IFsxMjAxNDBdfX19fX19fSwgMHg3MDoge2w6IHsweDQxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHg0Mjoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDUxNF19fX19fX19LCAweDNCOiB7YzogWzg1OTNdfSwgMHg0NDoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHg2RToge2w6IHsweDQxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFs4NjQ1XX19fX19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFs4NjU3XX19fX19fX19fX19LCAweDQ0OiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDZFOiB7bDogezB4NDE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDNCOiB7YzogWzg1OTddfX19fX19fX19fX19fX19fX19fSwgMHg2NDoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHg2RToge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFs4NjYxXX19fX19fX19fX19fX19fX19fX0sIDB4NDU6IHtsOiB7MHg3MToge2w6IHsweDc1OiB7bDogezB4Njk6IHtsOiB7MHg2Qzoge2w6IHsweDY5OiB7bDogezB4NjI6IHtsOiB7MHg3Mjoge2w6IHsweDY5OiB7bDogezB4NzU6IHtsOiB7MHg2RDoge2w6IHsweDNCOiB7YzogWzEwNjA2XX19fX19fX19fX19fX19fX19fX19fX19LCAweDcwOiB7bDogezB4NjU6IHtsOiB7MHg3Mjoge2w6IHsweDRDOiB7bDogezB4NjU6IHtsOiB7MHg2Njoge2w6IHsweDc0OiB7bDogezB4NDE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDNCOiB7YzogWzg1OThdfX19fX19fX19fX19fX19fX19fSwgMHg1Mjoge2w6IHsweDY5OiB7bDogezB4Njc6IHtsOiB7MHg2ODoge2w6IHsweDc0OiB7bDogezB4NDE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDNCOiB7YzogWzg1OTldfX19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDczOiB7bDogezB4Njk6IHtsOiB7MHgzQjoge2M6IFs5NzhdfSwgMHg2Qzoge2w6IHsweDZGOiB7bDogezB4NkU6IHtsOiB7MHgzQjoge2M6IFs5MzNdfX19fX19fX19fX0sIDB4NTQ6IHtsOiB7MHg2NToge2w6IHsweDY1OiB7bDogezB4NDE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDNCOiB7YzogWzg2MTNdfX19fX19fX19fX0sIDB4M0I6IHtjOiBbODg2OV19fX19fX19fX0sIDB4NzI6IHtsOiB7MHg2OToge2w6IHsweDZFOiB7bDogezB4Njc6IHtsOiB7MHgzQjoge2M6IFszNjZdfX19fX19fX19LCAweDczOiB7bDogezB4NjM6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzExOTk4NF19fX19fX19LCAweDc0OiB7bDogezB4Njk6IHtsOiB7MHg2Qzoge2w6IHsweDY0OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFszNjBdfX19fX19fX19fX0sIDB4NzU6IHtsOiB7MHg2RDoge2w6IHsweDZDOiB7bDogezB4M0I6IHtjOiBbMjIwXX19LCBjOiBbMjIwXX19fX19fX0sXHJcbiAgICAweDc1OiB7bDogezB4NjE6IHtsOiB7MHg2Mzoge2w6IHsweDc1OiB7bDogezB4NzQ6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzI1MF19fSwgYzogWzI1MF19fX19fX19LCAweDcyOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs4NTkzXX19fX19fX0sIDB4NDE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODY1N119fX19fX19LCAweDYyOiB7bDogezB4NzI6IHtsOiB7MHg2Mzoge2w6IHsweDc5OiB7bDogezB4M0I6IHtjOiBbMTExOF19fX19fSwgMHg2NToge2w6IHsweDc2OiB7bDogezB4NjU6IHtsOiB7MHg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MHg2NToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODk4OF19fX19fX19fX19fSwgMHg3Mjoge2w6IHsweDZGOiB7bDogezB4NzA6IHtsOiB7MHgzQjoge2M6IFs4OTc1XX19fX19fX19fSwgMHg3NDoge2w6IHsweDcyOiB7bDogezB4Njk6IHtsOiB7MHgzQjoge2M6IFs5NzIwXX19fX19fX19fSwgMHg2RDoge2w6IHsweDYxOiB7bDogezB4NjM6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzM2M119fX19fX19LCAweDZDOiB7bDogezB4M0I6IHtjOiBbMTY4XX19LCBjOiBbMTY4XX19fSwgMHg2Rjoge2w6IHsweDY3OiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDNCOiB7YzogWzM3MV19fX19fX19LCAweDcwOiB7bDogezB4NjY6IHtsOiB7MHgzQjoge2M6IFsxMjAxNjZdfX19fX19fSwgMHg3MDoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHgzQjoge2M6IFs4NTkzXX19fX19fX19fX19LCAweDY0OiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDZFOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3Nzoge2w6IHsweDNCOiB7YzogWzg1OTddfX19fX19fX19fX19fX19fX19fSwgMHg2ODoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3MDoge2w6IHsweDZGOiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDZDOiB7bDogezB4NjU6IHtsOiB7MHg2Njoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODYzOV19fX19fX19fX0sIDB4NzI6IHtsOiB7MHg2OToge2w6IHsweDY3OiB7bDogezB4Njg6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzg2MzhdfX19fX19fX19fX19fX19fX19fX19fX19fSwgMHg2Qzoge2w6IHsweDc1OiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFs4ODQ2XX19fX19fX0sIDB4NzM6IHtsOiB7MHg2OToge2w6IHsweDNCOiB7YzogWzk2NV19LCAweDY4OiB7bDogezB4M0I6IHtjOiBbOTc4XX19fSwgMHg2Qzoge2w6IHsweDZGOiB7bDogezB4NkU6IHtsOiB7MHgzQjoge2M6IFs5NjVdfX19fX19fX19fX0sIDB4NzU6IHtsOiB7MHg3MDoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4Nzc6IHtsOiB7MHg3Mzoge2w6IHsweDNCOiB7YzogWzg2NDhdfX19fX19fX19fX19fX19fX19fSwgMHg3Mjoge2w6IHsweDYzOiB7bDogezB4NkY6IHtsOiB7MHg3Mjoge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbODk4OV19LCAweDY1OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs4OTg5XX19fX19fX19fX19LCAweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3MDoge2w6IHsweDNCOiB7YzogWzg5NzRdfX19fX19fX19LCAweDY5OiB7bDogezB4NkU6IHtsOiB7MHg2Nzoge2w6IHsweDNCOiB7YzogWzM2N119fX19fX19LCAweDc0OiB7bDogezB4NzI6IHtsOiB7MHg2OToge2w6IHsweDNCOiB7YzogWzk3MjFdfX19fX19fX19LCAweDczOiB7bDogezB4NjM6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEyMDAxMF19fX19fX19LCAweDc0OiB7bDogezB4NjQ6IHtsOiB7MHg2Rjoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODk0NF19fX19fX19LCAweDY5OiB7bDogezB4NkM6IHtsOiB7MHg2NDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMzYxXX19fX19fX19fSwgMHg3Mjoge2w6IHsweDY5OiB7bDogezB4M0I6IHtjOiBbOTY1M119LCAweDY2OiB7bDogezB4M0I6IHtjOiBbOTY1Ml19fX19fX19fX0sIDB4NzU6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFs4NjQ4XX19fX19fX0sIDB4NkQ6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzI1Ml19fSwgYzogWzI1Ml19fX19fSwgMHg3Nzoge2w6IHsweDYxOiB7bDogezB4NkU6IHtsOiB7MHg2Nzoge2w6IHsweDZDOiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFsxMDY2M119fX19fX19fX19fX19fX0sXHJcbiAgICAweDc2OiB7bDogezB4NjE6IHtsOiB7MHg2RToge2w6IHsweDY3OiB7bDogezB4NzI6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzEwNjUyXX19fX19fX19fSwgMHg3Mjoge2w6IHsweDY1OiB7bDogezB4NzA6IHtsOiB7MHg3Mzoge2w6IHsweDY5OiB7bDogezB4NkM6IHtsOiB7MHg2Rjoge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbMTAxM119fX19fX19fX19fX19fX0sIDB4NkI6IHtsOiB7MHg2MToge2w6IHsweDcwOiB7bDogezB4NzA6IHtsOiB7MHg2MToge2w6IHsweDNCOiB7YzogWzEwMDhdfX19fX19fX19fX0sIDB4NkU6IHtsOiB7MHg2Rjoge2w6IHsweDc0OiB7bDogezB4Njg6IHtsOiB7MHg2OToge2w6IHsweDZFOiB7bDogezB4Njc6IHtsOiB7MHgzQjoge2M6IFs4NzA5XX19fX19fX19fX19fX19fSwgMHg3MDoge2w6IHsweDY4OiB7bDogezB4Njk6IHtsOiB7MHgzQjoge2M6IFs5ODFdfX19fX0sIDB4Njk6IHtsOiB7MHgzQjoge2M6IFs5ODJdfX19LCAweDcyOiB7bDogezB4NkY6IHtsOiB7MHg3MDoge2w6IHsweDc0OiB7bDogezB4NkY6IHtsOiB7MHgzQjoge2M6IFs4NzMzXX19fX19fX19fX19fX0sIDB4NzI6IHtsOiB7MHgzQjoge2M6IFs4NTk3XX0sIDB4Njg6IHtsOiB7MHg2Rjoge2w6IHsweDNCOiB7YzogWzEwMDldfX19fX19fSwgMHg3Mzoge2w6IHsweDY5OiB7bDogezB4Njc6IHtsOiB7MHg2RDoge2w6IHsweDYxOiB7bDogezB4M0I6IHtjOiBbOTYyXX19fX19fX19fSwgMHg3NToge2w6IHsweDYyOiB7bDogezB4NzM6IHtsOiB7MHg2NToge2w6IHsweDc0OiB7bDogezB4NkU6IHtsOiB7MHg2NToge2w6IHsweDcxOiB7bDogezB4M0I6IHtjOiBbODg0MiwgNjUwMjRdfSwgMHg3MToge2w6IHsweDNCOiB7YzogWzEwOTU1LCA2NTAyNF19fX19fX19fX19fX19fX19fSwgMHg3MDoge2w6IHsweDczOiB7bDogezB4NjU6IHtsOiB7MHg3NDoge2w6IHsweDZFOiB7bDogezB4NjU6IHtsOiB7MHg3MToge2w6IHsweDNCOiB7YzogWzg4NDMsIDY1MDI0XX0sIDB4NzE6IHtsOiB7MHgzQjoge2M6IFsxMDk1NiwgNjUwMjRdfX19fX19fX19fX19fX19fX19fX19LCAweDc0OiB7bDogezB4Njg6IHtsOiB7MHg2NToge2w6IHsweDc0OiB7bDogezB4NjE6IHtsOiB7MHgzQjoge2M6IFs5NzddfX19fX19fX19LCAweDcyOiB7bDogezB4Njk6IHtsOiB7MHg2MToge2w6IHsweDZFOiB7bDogezB4Njc6IHtsOiB7MHg2Qzoge2w6IHsweDY1OiB7bDogezB4NkM6IHtsOiB7MHg2NToge2w6IHsweDY2OiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFs4ODgyXX19fX19fX19fSwgMHg3Mjoge2w6IHsweDY5OiB7bDogezB4Njc6IHtsOiB7MHg2ODoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbODg4M119fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19LCAweDQxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg2NjFdfX19fX19fSwgMHg0Mjoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDk4NF19LCAweDc2OiB7bDogezB4M0I6IHtjOiBbMTA5ODVdfX19fX19fX19LCAweDYzOiB7bDogezB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMDc0XX19fX19LCAweDY0OiB7bDogezB4NjE6IHtsOiB7MHg3Mzoge2w6IHsweDY4OiB7bDogezB4M0I6IHtjOiBbODg2Nl19fX19fX19fX0sIDB4NDQ6IHtsOiB7MHg2MToge2w6IHsweDczOiB7bDogezB4Njg6IHtsOiB7MHgzQjoge2M6IFs4ODcyXX19fX19fX19fSwgMHg2NToge2w6IHsweDY1OiB7bDogezB4NjI6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODg5MV19fX19fX19LCAweDNCOiB7YzogWzg3NDRdfSwgMHg2NToge2w6IHsweDcxOiB7bDogezB4M0I6IHtjOiBbODc5NF19fX19fX19LCAweDZDOiB7bDogezB4NkM6IHtsOiB7MHg2OToge2w6IHsweDcwOiB7bDogezB4M0I6IHtjOiBbODk0Ml19fX19fX19fX0sIDB4NzI6IHtsOiB7MHg2Mjoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMjRdfX19fX19fSwgMHg3NDoge2w6IHsweDNCOiB7YzogWzEyNF19fX19fX19LCAweDY2OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMjAxMTVdfX19fX0sIDB4NkM6IHtsOiB7MHg3NDoge2w6IHsweDcyOiB7bDogezB4Njk6IHtsOiB7MHgzQjoge2M6IFs4ODgyXX19fX19fX19fSwgMHg2RToge2w6IHsweDczOiB7bDogezB4NzU6IHtsOiB7MHg2Mjoge2w6IHsweDNCOiB7YzogWzg4MzQsIDg0MDJdfX19LCAweDcwOiB7bDogezB4M0I6IHtjOiBbODgzNSwgODQwMl19fX19fX19fX0sIDB4NkY6IHtsOiB7MHg3MDoge2w6IHsweDY2OiB7bDogezB4M0I6IHtjOiBbMTIwMTY3XX19fX19fX0sIDB4NzA6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4NzA6IHtsOiB7MHgzQjoge2M6IFs4NzMzXX19fX19fX19fSwgMHg3Mjoge2w6IHsweDc0OiB7bDogezB4NzI6IHtsOiB7MHg2OToge2w6IHsweDNCOiB7YzogWzg4ODNdfX19fX19fX19LCAweDczOiB7bDogezB4NjM6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEyMDAxMV19fX19fSwgMHg3NToge2w6IHsweDYyOiB7bDogezB4NkU6IHtsOiB7MHg0NToge2w6IHsweDNCOiB7YzogWzEwOTU1LCA2NTAyNF19fX0sIDB4NjU6IHtsOiB7MHgzQjoge2M6IFs4ODQyLCA2NTAyNF19fX19fX19LCAweDcwOiB7bDogezB4NkU6IHtsOiB7MHg0NToge2w6IHsweDNCOiB7YzogWzEwOTU2LCA2NTAyNF19fX0sIDB4NjU6IHtsOiB7MHgzQjoge2M6IFs4ODQzLCA2NTAyNF19fX19fX19fX19fSwgMHg3QToge2w6IHsweDY5OiB7bDogezB4Njc6IHtsOiB7MHg3QToge2w6IHsweDYxOiB7bDogezB4Njc6IHtsOiB7MHgzQjoge2M6IFsxMDY1MF19fX19fX19fX19fX19fX0sXHJcbiAgICAweDU2OiB7bDogezB4NjI6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA5ODddfX19fX19fSwgMHg2Mzoge2w6IHsweDc5OiB7bDogezB4M0I6IHtjOiBbMTA0Ml19fX19fSwgMHg2NDoge2w6IHsweDYxOiB7bDogezB4NzM6IHtsOiB7MHg2ODoge2w6IHsweDNCOiB7YzogWzg4NzNdfSwgMHg2Qzoge2w6IHsweDNCOiB7YzogWzEwOTgyXX19fX19fX19fX19LCAweDQ0OiB7bDogezB4NjE6IHtsOiB7MHg3Mzoge2w6IHsweDY4OiB7bDogezB4M0I6IHtjOiBbODg3NV19fX19fX19fX0sIDB4NjU6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzg4OTddfX19LCAweDcyOiB7bDogezB4NjI6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODIxNF19fX19fX19LCAweDc0OiB7bDogezB4M0I6IHtjOiBbODIxNF19LCAweDY5OiB7bDogezB4NjM6IHtsOiB7MHg2MToge2w6IHsweDZDOiB7bDogezB4NDI6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbODczOV19fX19fX19LCAweDRDOiB7bDogezB4Njk6IHtsOiB7MHg2RToge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMTI0XX19fX19fX19fSwgMHg1Mzoge2w6IHsweDY1OiB7bDogezB4NzA6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NjE6IHtsOiB7MHg3NDoge2w6IHsweDZGOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMDA3Ml19fX19fX19fX19fX19fX19fX19LCAweDU0OiB7bDogezB4Njk6IHtsOiB7MHg2Qzoge2w6IHsweDY0OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFs4NzY4XX19fX19fX19fX19fX19fX19fX19fSwgMHg3OToge2w6IHsweDU0OiB7bDogezB4Njg6IHtsOiB7MHg2OToge2w6IHsweDZFOiB7bDogezB4NTM6IHtsOiB7MHg3MDoge2w6IHsweDYxOiB7bDogezB4NjM6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzgyMDJdfX19fX19fX19fX19fX19fX19fX19fX19fSwgMHg2Njoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTIwMDg5XX19fX19LCAweDZGOiB7bDogezB4NzA6IHtsOiB7MHg2Njoge2w6IHsweDNCOiB7YzogWzEyMDE0MV19fX19fX19LCAweDczOiB7bDogezB4NjM6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzExOTk4NV19fX19fX19LCAweDc2OiB7bDogezB4NjQ6IHtsOiB7MHg2MToge2w6IHsweDczOiB7bDogezB4Njg6IHtsOiB7MHgzQjoge2M6IFs4ODc0XX19fX19fX19fX19fX0sXHJcbiAgICAweDU3OiB7bDogezB4NjM6IHtsOiB7MHg2OToge2w6IHsweDcyOiB7bDogezB4NjM6IHtsOiB7MHgzQjoge2M6IFszNzJdfX19fX19fX19LCAweDY1OiB7bDogezB4NjQ6IHtsOiB7MHg2Nzoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODg5Nl19fX19fX19fX0sIDB4NjY6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEyMDA5MF19fX19fSwgMHg2Rjoge2w6IHsweDcwOiB7bDogezB4NjY6IHtsOiB7MHgzQjoge2M6IFsxMjAxNDJdfX19fX19fSwgMHg3Mzoge2w6IHsweDYzOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMTk5ODZdfX19fX19fX19LFxyXG4gICAgMHg3Nzoge2w6IHsweDYzOiB7bDogezB4Njk6IHtsOiB7MHg3Mjoge2w6IHsweDYzOiB7bDogezB4M0I6IHtjOiBbMzczXX19fX19fX19fSwgMHg2NToge2w6IHsweDY0OiB7bDogezB4NjI6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTA4NDddfX19fX19fSwgMHg2Nzoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODc0M119LCAweDcxOiB7bDogezB4M0I6IHtjOiBbODc5M119fX19fX19fX0sIDB4Njk6IHtsOiB7MHg2NToge2w6IHsweDcyOiB7bDogezB4NzA6IHtsOiB7MHgzQjoge2M6IFs4NDcyXX19fX19fX19fX19LCAweDY2OiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMjAxMTZdfX19fX0sIDB4NkY6IHtsOiB7MHg3M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bDogezB4NjE6IHtsOiB7MHg3MDoge2w6IHsweDNCOiB7YzogWzEwMjM2XX19fX19fX0sIDB4NkU6IHtsOiB7MHg2OToge2w6IHsweDczOiB7bDogezB4M0I6IHtjOiBbODk1NV19fX19fX19LCAweDZGOiB7bDogezB4NjQ6IHtsOiB7MHg2Rjoge2w6IHsweDc0OiB7bDogezB4M0I6IHtjOiBbMTA3NTJdfX19fX19fSwgMHg3MDoge2w6IHsweDY2OiB7bDogezB4M0I6IHtjOiBbMTIwMTY5XX19fSwgMHg2Qzoge2w6IHsweDc1OiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFsxMDc1M119fX19fX19fX0sIDB4NzQ6IHtsOiB7MHg2OToge2w6IHsweDZEOiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFsxMDc1NF19fX19fX19fX19fSwgMHg3Mjoge2w6IHsweDYxOiB7bDogezB4NzI6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEwMjMwXX19fX19fX0sIDB4NDE6IHtsOiB7MHg3Mjoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTAyMzNdfX19fX19fX19LCAweDczOiB7bDogezB4NjM6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzEyMDAxM119fX19fSwgMHg3MToge2w6IHsweDYzOiB7bDogezB4NzU6IHtsOiB7MHg3MDoge2w6IHsweDNCOiB7YzogWzEwNzU4XX19fX19fX19fX19LCAweDc1OiB7bDogezB4NzA6IHtsOiB7MHg2Qzoge2w6IHsweDc1OiB7bDogezB4NzM6IHtsOiB7MHgzQjoge2M6IFsxMDc1Nl19fX19fX19fX0sIDB4NzQ6IHtsOiB7MHg3Mjoge2w6IHsweDY5OiB7bDogezB4M0I6IHtjOiBbOTY1MV19fX19fX19fX0sIDB4NzY6IHtsOiB7MHg2NToge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbODg5N119fX19fX19LCAweDc3OiB7bDogezB4NjU6IHtsOiB7MHg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DogezB4NkQ6IHtsOiB7MHg2Qzoge2w6IHsweDNCOiB7YzogWzM3Nl19fX19fX19fX0sXHJcbiAgICAweDc5OiB7bDogezB4NjE6IHtsOiB7MHg2Mzoge2w6IHsweDc1OiB7bDogezB4NzQ6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzI1M119fSwgYzogWzI1M119fX19fSwgMHg3OToge2w6IHsweDNCOiB7YzogWzExMDNdfX19fX19fSwgMHg2Mzoge2w6IHsweDY5OiB7bDogezB4NzI6IHtsOiB7MHg2Mzoge2w6IHsweDNCOiB7YzogWzM3NV19fX19fX19LCAweDc5OiB7bDogezB4M0I6IHtjOiBbMTA5OV19fX19fSwgMHg2NToge2w6IHsweDZFOiB7bDogezB4M0I6IHtjOiBbMTY1XX19LCBjOiBbMTY1XX19fSwgMHg2Njoge2w6IHsweDcyOiB7bDogezB4M0I6IHtjOiBbMTIwMTE4XX19fX19LCAweDY5OiB7bDogezB4NjM6IHtsOiB7MHg3OToge2w6IHsweDNCOiB7YzogWzExMTFdfX19fX19fSwgMHg2Rjoge2w6IHsweDcwOiB7bDogezB4NjY6IHtsOiB7MHgzQjoge2M6IFsxMjAxNzBdfX19fX19fSwgMHg3Mzoge2w6IHsweDYzOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMjAwMTRdfX19fX19fSwgMHg3NToge2w6IHsweDYzOiB7bDogezB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMTAyXX19fX19LCAweDZEOiB7bDogezB4NkM6IHtsOiB7MHgzQjoge2M6IFsyNTVdfX0sIGM6IFsyNTVdfX19fX19fSxcclxuICAgIDB4NUE6IHtsOiB7MHg2MToge2w6IHsweDYzOiB7bDogezB4NzU6IHtsOiB7MHg3NDoge2w6IHsweDY1OiB7bDogezB4M0I6IHtjOiBbMzc3XX19fX19fX19fX19LCAweDYzOiB7bDogezB4NjE6IHtsOiB7MHg3Mjoge2w6IHsweDZGOiB7bDogezB4NkU6IHtsOiB7MHgzQjoge2M6IFszODFdfX19fX19fX19LCAweDc5OiB7bDogezB4M0I6IHtjOiBbMTA0N119fX19fSwgMHg2NDoge2w6IHsweDZGOiB7bDogezB4NzQ6IHtsOiB7MHgzQjoge2M6IFszNzldfX19fX19fSwgMHg2NToge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg1Nzoge2w6IHsweDY5OiB7bDogezB4NjQ6IHtsOiB7MHg3NDoge2w6IHsweDY4OiB7bDogezB4NTM6IHtsOiB7MHg3MDoge2w6IHsweDYxOiB7bDogezB4NjM6IHtsOiB7MHg2NToge2w6IHsweDNCOiB7YzogWzgyMDNdfX19fX19fX19fX19fX19fX19fX19fX19fSwgMHg3NDoge2w6IHsweDYxOiB7bDogezB4M0I6IHtjOiBbOTE4XX19fX19fX0sIDB4NjY6IHtsOiB7MHg3Mjoge2w6IHsweDNCOiB7YzogWzg0ODhdfX19fX0sIDB4NDg6IHtsOiB7MHg2Mzoge2w6IHsweDc5OiB7bDogezB4M0I6IHtjOiBbMTA0Nl19fX19fX19LCAweDZGOiB7bDogezB4NzA6IHtsOiB7MHg2Njoge2w6IHsweDNCOiB7YzogWzg0ODRdfX19fX19fSwgMHg3Mzoge2w6IHsweDYzOiB7bDogezB4NzI6IHtsOiB7MHgzQjoge2M6IFsxMTk5ODldfX19fX19fX19LFxyXG4gICAgMHg3QToge2w6IHsweDYxOiB7bDogezB4NjM6IHtsOiB7MHg3NToge2w6IHsweDc0OiB7bDogezB4NjU6IHtsOiB7MHgzQjoge2M6IFszNzhdfX19fX19fX19fX0sIDB4NjM6IHtsOiB7MHg2MToge2w6IHsweDcyOiB7bDogezB4NkY6IHtsOiB7MHg2RToge2w6IHsweDNCOiB7YzogWzM4Ml19fX19fX19fX0sIDB4Nzk6IHtsOiB7MHgzQjoge2M6IFsxMDc5XX19fX19LCAweDY0OiB7bDogezB4NkY6IHtsOiB7MHg3NDoge2w6IHsweDNCOiB7YzogWzM4MF19fX19fX19LCAweDY1OiB7bDogezB4NjU6I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AgICAgICAgICAgICAgICB0aGlzLnN0YXRlID0gU0VMRl9DTE9TSU5HX1NUQVJUX1RBR19TVEFURTtcclxuICAgICAgICAgICAgICAgIHJldHVybjtcclxuICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgaWYgKGNwID09PSAkLkdSRUFURVJfVEhBTl9TSUdOKSB7XHJcbiAgICAgICAgICAgICAgICB0aGlzLnN0YXRlID0gREFUQV9TVEFURTtcclxuICAgICAgICAgICAgICAgIHRoaXMuX2VtaXRDdXJyZW50VG9rZW4oKTtcclxuICAgICAgICAgICAgICAgIHJldHVybjtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgdGhpcy5fZW1pdENoYXIoJzwnKTtcclxuICAgICAgICB0aGlzLl9lbWl0Q2hhcignLycpO1xyXG4gICAgICAgIHRoaXMuX2VtaXRTZXZlcmFsQ29kZVBvaW50cyh0aGlzLnRlbXBCdWZmKTtcclxuICAgICAgICB0aGlzLl9yZWNvbnN1bWVJblN0YXRlKFJDREFUQV9TVEFURSk7XHJcbiAgICB9XHJcbn07XHJcblxyXG5cclxuLy8xMi4yLjQuMTQgUkFXVEVYVCBsZXNzLXRoYW4gc2lnbiBzdGF0ZVxyXG4vLy0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLVxyXG5fW1JBV1RFWFRfTEVTU19USEFOX1NJR05fU1RBVEVdID0gZnVuY3Rpb24gcmF3dGV4dExlc3NUaGFuU2lnblN0YXRlKGNwKSB7XHJcbiAgICBpZiAoY3AgPT09ICQuU09MSURVUykge1xyXG4gICAgICAgIHRoaXMudGVtcEJ1ZmYgPSBbXTtcclxuICAgICAgICB0aGlzLnN0YXRlID0gUkFXVEVYVF9FTkRfVEFHX09QRU5fU1RBVEU7XHJcbiAgICB9XHJcblxyXG4gICAgZWxzZSB7XHJcbiAgICAgICAgdGhpcy5f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fRVNDQVBFRF9FTkRfVEFHX05BTUVfU1RBVEVdID0gZnVuY3Rpb24gc2NyaXB0RGF0YUVzY2FwZWRFbmRUYWdOYW1lU3RhdGUoY3ApIHtcclxuICAgIGlmIChpc0FzY2lpVXBwZXIoY3ApKSB7XHJcbiAgICAgICAgdGhpcy5jdXJyZW50VG9rZW4udGFnTmFtZSArPSB0b0FzY2lpTG93ZXJDaGFyKGNwKTtcclxuICAgICAgICB0aGlzLnRlbXBCdWZmLnB1c2goY3ApO1xyXG4gICAgfVxyXG5cclxuICAgIGVsc2UgaWYgKGlzQXNjaWlMb3dlcihjcCkpIHtcclxuICAgICAgICB0aGlzLmN1cnJlbnRUb2tlbi50YWdOYW1lICs9IHRvQ2hhcihjcCk7XHJcbiAgICAgICAgdGhpcy50ZW1wQnVmZi5wdXNoKGNwKTtcclxuICAgIH1cclxuXHJcbiAgICBlbHNlIHtcclxuICAgICAgICBpZiAodGhpcy5faXNBcHByb3ByaWF0ZUVuZFRhZ1Rva2VuKCkpIHtcclxuICAgICAgICAgICAgaWYgKGlzV2hpdGVzcGFjZShjcCkpIHtcclxuICAgICAgICAgICAgICAgIHRoaXMuc3RhdGUgPSBCRUZPUkVfQVRUUklCVVRFX05BTUVfU1RBVEU7XHJcbiAgICAgICAgICAgICAgICByZXR1cm47XHJcbiAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgIGlmIChjcCA9PT0gJC5TT0xJRFVTKSB7XHJcbiAgICAgICAgICAgICAgICB0aGlzLnN0YXRlID0gU0VMRl9DTE9TSU5HX1NUQVJUX1RBR19TVEFURTtcclxuICAgICAgICAgICAgICAgIHJldHVybjtcclxuICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgaWYgKGNwID09PSAkLkdSRUFURVJfVEhBTl9TSUdOKSB7XHJcbiAgICAgICAgICAgICAgICB0aGlzLl9lbWl0Q3VycmVudFRva2VuKCk7XHJcbiAgICAgICAgICAgICAgICB0aGlzLnN0YXRlID0gREFUQV9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gPSBuZUF0dHJzW2ldO1xyXG5cclxuICAgICAgICAgICAgbmVBdHRyc01hcFtuZUF0dHIubmFtZV0gPSBuZUF0dHIudmFsdWU7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IG5lQXR0cnNMZW5ndGg7IGkrKykge1xyXG4gICAgICAgICAgICBmb3IgKHZhciBqID0gMDsgaiA8IGNMZW5ndGg7IGorKykge1xyXG4gICAgICAgICAgICAgICAgdmFyIGNBdHRyID0gY2FuZGlkYXRlc1tqXS5hdHRyc1tpXTtcclxuXHJcbiAgICAgICAgICAgICAgICBpZiAobmVBdHRyc01hcFtjQXR0ci5uYW1lXSAhPT0gY0F0dHIudmFsdWUpIHtcclxuICAgICAgICAgICAgICAgICAgICBjYW5kaWRhdGVzLnNwbGljZShqLCAxKTtcclxuICAgICAgICAgICAgICAgICAgICBjTGVuZ3RoLS07XHJcbiAgICAgICAgICAgICAgICB9XHJcblxyXG4gICAgICAgICAgICAgICAgaWYgKGNhbmRpZGF0ZXMubGVuZ3RoIDwgTk9BSF9BUktfQ0FQQUNJVFkpXHJcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAvL05PVEU6IHJlbW92ZSBib3R0b21tb3N0IGNhbmRpZGF0ZXMgdW50aWwgTm9haCdzIEFyayBjb25kaXRpb24gd2lsbCBub3QgYmUgbWV0XHJcbiAgICAgICAgZm9yICh2YXIgaSA9IGNMZW5ndGggLSAxOyBpID49IE5PQUhfQVJLX0NBUEFDSVRZIC0gMTsgaS0tKSB7XHJcbiAgICAgICAgICAgIHRoaXMuZW50cmllcy5zcGxpY2UoY2FuZGlkYXRlc1tpXS5pZHgsIDEpO1xyXG4gICAgICAgICAgICB0aGlzLmxlbmd0aC0tO1xyXG4gICAgICAgIH1cclxuICAgIH1cclxufTtcclxuXHJcbi8vTXV0YXRpb25zXHJcbkZv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wodGhpcywgdG9rZW4pO1xuICAgIH07XG5cbiAgICBwYXJzZXIuX3Byb2Nlc3NUb2tlbiA9IGZ1bmN0aW9uICh0b2tlbikge1xuICAgICAgICB0aGlzLmN1cnJlbnRUb2tlbiA9IHRva2VuO1xuICAgICAgICBwYXJzZXJQcm90by5fcHJvY2Vzc1Rva2VuLmNhbGwodGhpcywgdG9rZW4pO1xuXG4gICAgICAgIC8vTk9URTogPGJvZHk+IGFuZCA8aHRtbD4gYXJlIG5ldmVyIHBvcHBlZCBmcm9tIHRoZSBzdGFjaywgc28gd2UgbmVlZCB0byB1cGRhdGVkXG4gICAgICAgIC8vdGhlaXIgZW5kIGxvY2F0aW9uIGV4cGxpY2l0bHkuXG4gICAgICAgIGlmICh0b2tlbi50eXBlID09PSBUb2tlbml6ZXIuRU5EX1RBR19UT0tFTiAmJlxuICAgICAgICAgICAgKHRva2VuLnRhZ05hbWUgPT09ICQuSFRNTCB8fFxuICAgICAgICAgICAgKHRva2VuLnRhZ05hbWUgPT09ICQuQk9EWSAmJiB0aGlzLm9wZW5FbGVtZW50cy5oYXNJblNjb3BlKCQuQk9EWSkpKSkge1xuICAgICAgICAgICAgZm9yICh2YXIgaSA9IHRoaXMub3BlbkVsZW1lbnRzLnN0YWNrVG9wOyBpID49IDA7IGktLSkge1xuICAgICAgICAgICAgICAgIHZhciBlbGVtZW50ID0gdGhpcy5vcGVuRWxlbWVudHMuaXRlbXNbaV07XG5cbiAgICAgICAgICAgICAgICBpZiAodGhpcy50cmVlQWRhcHRlci5nZXRUYWdOYW1lKGVsZW1lbnQpID09PSB0b2tlbi50YWdOYW1lKSB7XG4gICAgICAgICAgICAgICAgICAgIHNldEVuZExvY2F0aW9uKGVsZW1lbnQsIHRva2VuLCB0cmVlQWRhcHRlcik7XG4gICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH07XG5cbiAgICAvL0RvY3R5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gICAgIHJldHVybiB0biA9PT0gJC5PUFRJT047XHJcblxyXG4gICAgICAgIGNhc2UgODpcclxuICAgICAgICAgICAgcmV0dXJuIHRuID09PSAkLk9QVEdST1VQO1xyXG4gICAgfVxyXG5cclxuICAgIHJldHVybiBmYWxzZTtcclxufVxyXG5cclxuZnVuY3Rpb24gaXNTY29waW5nRWxlbWVudCh0biwgbnMpIHtcclxuICAgIHN3aXRjaCAodG4ubGVuZ3RoKSB7XHJcbiAgICAgICAgY2FzZSAyOlxyXG4gICAgICAgICAgICBpZiAodG4gPT09ICQuVEQgfHwgdG4gPT09ICQuVEgpXHJcbiAgICAgICAgICAgICAgICByZXR1cm4gbnMgPT09IE5TLkhUTUw7XHJcblxyXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5NSSB8fCB0biA9PT0gJC5NTyB8fCB0biA9PSAkLk1OIHx8IHRuID09PSAkLk1TKVxyXG4gICAgICAgICAgICAgICAgcmV0dXJuIG5zID09PSBOUy5NQVRITUw7XHJcblxyXG4gICAgICAgICAgICBicmVhaztcclxuXHJcbiAgICAgICAgY2FzZSA0OlxyXG4gICAgICAgICAgICBpZiAodG4gPT09ICQuSFRNTClcclxuICAgICAgICAgICAgICAgIHJldHVybiBucyA9PT0gTlMuSFRNTDtcclxuXHJcbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLkRFU0MpXHJcbiAgICAgICAgICAgICAgICByZXR1cm4gbnMgPT09IE5TLlNWRztcclxuXHJcbiAgICAgICAgICAgIGJyZWFrO1xyXG5cclxuICAgICAgICBjYXNlIDU6XHJcbiAgICAgICAgICAgIGlmICh0biA9PT0gJC5UQUJMRSlcclxuICAgICAgICAgICAgICAgIHJldHVybiBucyA9PT0gTlMuSFRNTDtcclxuXHJcbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLk1URVhUKVxyXG4gICAgICAgICAgICAgICAgcmV0dXJuIG5zID09PSBOUy5NQVRITUw7XHJcblxyXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5USVRMRSlcclxuICAgICAgICAgICAgICAgIHJldHVybiBucyA9PT0gTlMuU1ZHO1xyXG5cclxuICAgICAgICAgICAgYnJlYWs7XHJcblxyXG4gICAgICAgIGNhc2UgNjpcclxuICAgICAgICAgICAgcmV0dXJuICh0biA9PT0gJC5BUFBMRVQgfHwgdG4gPT09ICQuT0JKRUNUKSAmJiBucyA9PT0gTlMuSFRNTDtcclxuXHJcbiAgICAgICAgY2FzZSA3OlxyXG4gICAgICAgICAgICByZXR1cm4gKHRuID09PSAkLkNBUFRJT04gfHwgdG4gPT09ICQuTUFSUVVFRSkgJiYgbnMgPT09IE5TLkhUTUw7XHJcblxyXG4gICAgICAgIGNhc2UgODpcclxuICAgICAgICAgICAgcmV0dXJuIHRuID09PSAkLlRFTVBMQVRFICYmIG5zID09PSBOUy5IVE1MO1xyXG5cclxuICAgICAgICBjYXNlIDEzOlxyXG4gICAgICAgICAgICByZXR1cm4gdG4gPT09ICQuRk9SRUlHTl9PQkpFQ1QgJiYgbnMgPT09IE5TLlNWRztcclxuXHJcbiAgICAgICAgY2FzZSAxNDpcclxuICAgICAgICAgICAgcmV0dXJuIHRuID09PSAkLkFOTk9UQVRJT05fWE1MICYmIG5zID09PSBOUy5NQVRITUw7XHJcbiAgICB9XHJcblxyXG4gICAgcmV0dXJuIGZhbHNlO1xyXG59XHJcblxyXG4vL1N0YWNrIG9mIG9wZW4gZWxlbWVudHNcclxudmFyIE9wZW5FbGVtZW50U3RhY2sgPSBtb2R1bGUuZXhwb3J0cyA9IGZ1bmN0aW9uIChkb2N1bWVudCwgdHJlZUFkYXB0ZXIpIHtcclxuICAgIHRoaXMuc3RhY2tUb3AgPSAtMTtcclxuICAgIHRoaXMuaXRlbXMgPSBbXTtcclxuICAgIHRoaXMuY3VycmVudCA9IGRvY3VtZW50O1xyXG4gICAgdGhpcy5jdXJyZW50VGFnTmFtZSA9IG51bGw7XHJcbiAgICB0aGlzLmN1cnJlbnR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cbiAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICB9XG5cbiAgICAgICAgZWxzZSBpZiAoIWxhc3QgJiYgKHRuID09PSAkLlREIHx8IHRuID09PSAkLlRIKSkge1xuICAgICAgICAgICAgdGhpcy5pbnNlcnRpb25Nb2RlID0gSU5fQ0VMTF9NT0RFO1xuICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgIH1cblxuICAgICAgICBlbHNlIGlmICghbGFzdCAmJiB0biA9PT0gJC5IRUFEKSB7XG4gICAgICAgICAgICB0aGlzLmluc2VydGlvbk1vZGUgPSBJTl9IRUFEX01PREU7XG4gICAgICAgICAgICBicmVhaztcbiAgICAgICAgfVxuXG4gICAgICAgIGVsc2UgaWYgKHRuID09PSAkLlNFTEVDVCkge1xuICAgICAgICAgICAgdGhpcy5fcmVzZXRJbnNlcnRpb25Nb2RlRm9yU2VsZWN0KGkpO1xuICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgIH1cblxuICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5URU1QTEFURSkge1xuICAgICAgICAgICAgdGhpcy5pbnNlcnRpb25Nb2RlID0gdGhpcy5jdXJyZW50VG1wbEluc2VydGlvbk1vZGU7XG4gICAgICAgICAgICBicmVhaztcbiAgICAgICAgfVxuXG4gICAgICAgIGVsc2UgaWYgKHRuID09PSAkLkhUTUwpIHtcbiAgICAgICAgICAgIHRoaXMuaW5zZXJ0aW9uTW9kZSA9IHRoaXMuaGVhZEVsZW1lbnQgPyBBRlRFUl9IRUFEX01PREUgOiBCRUZPUkVfSEVBRF9NT0RFO1xuICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgIH1cblxuICAgICAgICBlbHNlIGlmIChsYXN0KSB7XG4gICAgICAgICAgICB0aGlzLmluc2VydGlvbk1vZGUgPSBJTl9CT0RZX01PREU7XG4gICAgICAgICAgICBicmVhaztcbiAgICAgICAgfVxuICAgIH1cbn07XG5cblBhcnNlci5wcm90b3R5cGUuX3Jlc2V0SW5zZXJ0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cbiAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgIGNhc2UgMjpcbiAgICAgICAgICAgIGlmICh0biA9PT0gJC5ETCB8fCB0biA9PT0gJC5PTCB8fCB0biA9PT0gJC5VTClcbiAgICAgICAgICAgICAgICBhZGRyZXNzU3RhcnRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5IMSB8fCB0biA9PT0gJC5IMiB8fCB0biA9PT0gJC5IMyB8fCB0biA9PT0gJC5INCB8fCB0biA9PT0gJC5INSB8fCB0biA9PT0gJC5INilcbiAgICAgICAgICAgICAgICBudW1iZXJlZEhlYWRlclN0YXJ0VGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZSBpZiAodG4gPT09ICQuTEkgfHwgdG4gPT09ICQuREQgfHwgdG4gPT09ICQuRFQpXG4gICAgICAgICAgICAgICAgbGlzdEl0ZW1TdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLkVNIHx8IHRuID09PSAkLlRUKVxuICAgICAgICAgICAgICAgIGJTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLkJSKVxuICAgICAgICAgICAgICAgIGFyZWFTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLkhSKVxuICAgICAgICAgICAgICAgIGhyU3RhcnRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5SUCB8fCB0biA9PT0gJC5SVClcbiAgICAgICAgICAgICAgICBycFN0YXJ0VGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZSBpZiAodG4gIT09ICQuVEggJiYgdG4gIT09ICQuVEQgJiYgdG4gIT09ICQuVFIpXG4gICAgICAgICAgICAgICAgZ2VuZXJpY1N0YXJ0VGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgYnJlYWs7XG5cbiAgICAgICAgY2FzZSAzOlxuICAgICAgICAgICAgaWYgKHRuID09PSAkLkRJViB8fCB0biA9PT0gJC5ESVIgfHwgdG4gPT09ICQuTkFWKVxuICAgICAgICAgICAgICAgIGFkZHJlc3NTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLlBSRSlcbiAgICAgICAgICAgICAgICBwcmVTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLkJJRylcbiAgICAgICAgICAgICAgICBiU3RhcnRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5JTUcgfHwgdG4gPT09ICQuV0JSKVxuICAgICAgICAgICAgICAgIGFyZWFTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLlhNUClcbiAgICAgICAgICAgICAgICB4bXBTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLlNWRylcbiAgICAgICAgICAgICAgICBzdmdTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuICE9PSAkLkNPTClcbiAgICAgICAgICAgICAgICBnZW5lcmljU3RhcnRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBicmVhaztcblxuICAgICAgICBjYXNlIDQ6XG4gICAgICAgICAgICBpZiAodG4gPT09ICQuSFRNTClcbiAgICAgICAgICAgICAgICBodG1sU3RhcnRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5CQVNFIHx8IHRuID09PSAkLkxJTksgfHwgdG4gPT09ICQuTUVUQSlcbiAgICAgICAgICAgICAgICBzdGFydFRhZ0luSGVhZChwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLkJPRFkpXG4gICAgICAgICAgICAgICAgYm9keVN0YXJ0VGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZSBpZiAodG4gPT09ICQuTUFJTiB8fCB0biA9PT0gJC5NRU5VKVxuICAgICAgICAgICAgICAgIGFkZHJlc3NTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLkZPUk0pXG4gICAgICAgICAgICAgICAgZm9ybVN0YXJ0VGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZSBpZiAodG4gPT09ICQuQ09ERSB8fCB0biA9PT0gJC5GT05UKVxuICAgICAgICAgICAgICAgIGJTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLk5PQlIpXG4gICAgICAgICAgICAgICAgbm9iclN0YXJ0VGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZSBpZiAodG4gPT09ICQuQVJFQSlcbiAgICAgICAgICAgICAgICBhcmVhU3RhcnRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5NQVRIKVxuICAgICAgICAgICAgICAgIG1hdGhTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuICE9PSAkLkhFQUQpXG4gICAgICAgICAgICAgICAgZ2VuZXJpY1N0YXJ0VGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgYnJlYWs7XG5cbiAgICAgICAgY2FzZSA1OlxuICAgICAgICAgICAgaWYgKHRuID09PSAkLlNUWUxFIHx8IHRuID09PSAkLlRJVExFKVxuICAgICAgICAgICAgICAgIHN0YXJ0VGFnSW5IZWFkKHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZSBpZiAodG4gPT09ICQuQVNJREUpXG4gICAgICAgICAgICAgICAgYWRkcmVzc1N0YXJ0VGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZSBpZiAodG4gPT09ICQuU01BTEwpXG4gICAgICAgICAgICAgICAgYlN0YXJ0VGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZSBpZiAodG4gPT09ICQuVEFCTEUpXG4gICAgICAgICAgICAgICAgdGFibGVTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLkVNQkVEKVxuICAgICAgICAgICAgICAgIGFyZWFTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLklOUFVUKVxuICAgICAgICAgICAgICAgIGlucHV0U3RhcnRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5QQVJBTSB8fCB0biA9PT0gJC5UUkFDSylcbiAgICAgICAgICAgICAgICBwYXJhbVN0YXJ0VGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZSBpZiAodG4gPT09ICQuSU1BR0UpXG4gICAgICAgICAgICAgICAgaW1hZ2VTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuICE9PSAkLkZSQU1FICYmIHRuICE9PSAkLlRCT0RZICYmIHRuICE9PSAkLlRGT09UICYmIHRuICE9PSAkLlRIRUFEKVxuICAgICAgICAgICAgICAgIGdlbmVyaWNTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgIGNhc2UgNjpcbiAgICAgICAgICAgIGlmICh0biA9PT0gJC5TQ1JJUFQpXG4gICAgICAgICAgICAgICAgc3RhcnRUYWdJbkhlYWQocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5DRU5URVIgfHwgdG4gPT09ICQuRklHVVJFIHx8IHRuID09PSAkLkZPT1RFUiB8fCB0biA9PT0gJC5IRUFERVIgfHwgdG4gPT09ICQuSEdST1VQKVxuICAgICAgICAgICAgICAgIGFkZHJlc3NTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLkJVVFRPTilcbiAgICAgICAgICAgICAgICBidXR0b25TdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLlNUUklLRSB8fCB0biA9PT0gJC5TVFJPTkcpXG4gICAgICAgICAgICAgICAgYlN0YXJ0VGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZSBpZiAodG4gPT09ICQuQVBQTEVUIHx8IHRuID09PSAkLk9CSkVDVClcbiAgICAgICAgICAgICAgICBhcHBsZXRTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLktFWUdFTilcbiAgICAgICAgICAgICAgICBhcmVhU3RhcnRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5TT1VSQ0UpXG4gICAgICAgICAgICAgICAgcGFyYW1TdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLklGUkFNRSlcbiAgICAgICAgICAgICAgICBpZnJhbWVTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLlNFTEVDVClcbiAgICAgICAgICAgICAgICBzZWxlY3RTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLk9QVElPTilcbiAgICAgICAgICAgICAgICBvcHRncm91cFN0YXJ0VGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZVxuICAgICAgICAgICAgICAgIGdlbmVyaWNTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgIGNhc2UgNzpcbiAgICAgICAgICAgIGlmICh0biA9PT0gJC5CR1NPVU5EIHx8IHRuID09PSAkLkNPTU1BTkQpXG4gICAgICAgICAgICAgICAgc3RhcnRUYWdJbkhlYWQocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5ERVRBSUxTIHx8IHRuID09PSAkLkFERFJFU1MgfHwgdG4gPT09ICQuQVJUSUNMRSB8fCB0biA9PT0gJC5TRUNUSU9OIHx8IHRuID09PSAkLlNVTU1BUlkpXG4gICAgICAgICAgICAgICAgYWRkcmVzc1N0YXJ0VGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZSBpZiAodG4gPT09ICQuTElTVElORylcbiAgICAgICAgICAgICAgICBwcmVTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLk1BUlFVRUUpXG4gICAgICAgICAgICAgICAgYXBwbGV0U3RhcnRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5JU0lOREVYKVxuICAgICAgICAgICAgICAgIGlzaW5kZXhTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLk5PRU1CRUQpXG4gICAgICAgICAgICAgICAgbm9lbWJlZFN0YXJ0VGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZSBpZiAodG4gIT09ICQuQ0FQVElPTilcbiAgICAgICAgICAgICAgICBnZW5lcmljU3RhcnRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBicmVhaztcblxuICAgICAgICBjYXNlIDg6XG4gICAgICAgICAgICBpZiAodG4gPT09ICQuQkFTRUZPTlQgfHwgdG4gPT09ICQuTUVOVUlURU0pXG4gICAgICAgICAgICAgICAgbWVudWl0ZW1TdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLkZSQU1FU0VUKVxuICAgICAgICAgICAgICAgIGZyYW1lc2V0U3RhcnRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5GSUVMRFNFVClcbiAgICAgICAgICAgICAgICBhZGRyZXNzU3RhcnRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5URVhUQVJFQSlcbiAgICAgICAgICAgICAgICB0ZXh0YXJlYVN0YXJ0VGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZSBpZiAodG4gPT09ICQuVEVNUExBVEUpXG4gICAgICAgICAgICAgICAgc3RhcnRUYWdJbkhlYWQocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5OT1NDUklQVClcbiAgICAgICAgICAgICAgICBub2VtYmVkU3RhcnRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5PUFRHUk9VUClcbiAgICAgICAgICAgICAgICBvcHRncm91cFN0YXJ0VGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZSBpZiAodG4gIT09ICQuQ09MR1JPVVApXG4gICAgICAgICAgICAgICAgZ2VuZXJpY1N0YXJ0VGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgYnJlYWs7XG5cbiAgICAgICAgY2FzZSA5OlxuICAgICAgICAgICAgaWYgKHRuID09PSAkLlBMQUlOVEVYVClcbiAgICAgICAgICAgICAgICBwbGFpbnRleHRTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2VcbiAgICAgICAgICAgICAgICBnZW5lcmljU3RhcnRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBicmVhaztcblxuICAgICAgICBjYXNlIDEwOlxuICAgICAgICAgICAgaWYgKHRuID09PSAkLkJMT0NLUVVPVEUgfHwgdG4gPT09ICQuRklHQ0FQVElPTilcbiAgICAgICAgICAgICAgICBhZGRyZXNzU3RhcnRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlXG4gICAgICAgICAgICAgICAgZ2VuZXJpY1N0YXJ0VGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgYnJlYWs7XG5cbiAgICAgICAgZGVmYXVsdDpcbiAgICAgICAgICAgIGdlbmVyaWNTdGFydFRhZ0luQm9keShwLCB0b2tlbik7XG4gICAgfVxufVxuXG5mdW5jdGlvbiBib2R5RW5kVGFnSW5Cb2R5KHAsIHRva2VuKSB7XG4gICAgaWYgKHAub3BlbkVsZW1lbnRzLmhhc0luU2NvcGUoJC5CT0RZKSlcbiAgICAgICAgcC5pbnNlcnRpb25Nb2RlID0gQUZURVJfQk9EWV9NT0RFO1xuXG4gICAgZWxzZVxuICAgICAgICB0b2tlbi5pZ25vcmVkID0gdHJ1ZTtcbn1cblxuZnVuY3Rpb24gaHRtbEVuZFRhZ0luQm9keShwLCB0b2tlbikge1xuICAgIHZhciBmYWtlVG9rZW4gPSBwLl9wcm9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gcC5vcGVuRWxlbWVudHMucG9wVW50aWxFbGVtZW50UG9wcGVkKGVsZW1lbnQpO1xuICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgIH1cblxuICAgICAgICBpZiAocC5faXNTcGVjaWFsRWxlbWVudChlbGVtZW50KSlcbiAgICAgICAgICAgIGJyZWFrO1xuICAgIH1cbn1cblxuLy9PUFRJTUlaQVRJT046IEludGVnZXIgY29tcGFyaXNvbnMgYXJlIGxvdy1jb3N0LCBzbyB3ZSBjYW4gdXNlIHZlcnkgZmFzdCB0YWcgbmFtZSBsZW5ndGggZmlsdGVycyBoZXJlLlxuLy9JdCdzIGZhc3RlciB0aGFuIHVzaW5nIGRpY3Rpb25hcnkuXG5mdW5jdGlvbiBlbmRUYWdJbkJvZHkocCwgdG9rZW4pIHtcbiAgICB2YXIgdG4gPSB0b2tlbi50YWdOYW1lO1xuXG4gICAgc3dpdGNoICh0bi5sZW5ndGgpIHtcbiAgICAgICAgY2FzZSAxOlxuICAgICAgICAgICAgaWYgKHRuID09PSAkLkEgfHwgdG4gPT09ICQuQiB8fCB0biA9PT0gJC5JIHx8IHRuID09PSAkLlMgfHwgdG4gPT0gJC5VKVxuICAgICAgICAgICAgICAgIGNhbGxBZG9wdGlvbkFnZW5jeShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLlApXG4gICAgICAgICAgICAgICAgcEVuZFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2VcbiAgICAgICAgICAgICAgICBnZW5lcmljRW5kVGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgYnJlYWs7XG5cbiAgICAgICAgY2FzZSAyOlxuICAgICAgICAgICAgaWYgKHRuID09ICQuREwgfHwgdG4gPT09ICQuVUwgfHwgdG4gPT09ICQuT0wpXG4gICAgICAgICAgICAgICAgYWRkcmVzc0VuZFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLkxJKVxuICAgICAgICAgICAgICAgIGxpRW5kVGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZSBpZiAodG4gPT09ICQuREQgfHwgdG4gPT09ICQuRFQpXG4gICAgICAgICAgICAgICAgZGRFbmRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5IMSB8fCB0biA9PT0gJC5IMiB8fCB0biA9PT0gJC5IMyB8fCB0biA9PT0gJC5INCB8fCB0biA9PT0gJC5INSB8fCB0biA9PT0gJC5INilcbiAgICAgICAgICAgICAgICBudW1iZXJlZEhlYWRlckVuZFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLkJSKVxuICAgICAgICAgICAgICAgIGJyRW5kVGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZSBpZiAodG4gPT09ICQuRU0gfHwgdG4gPT09ICQuVFQpXG4gICAgICAgICAgICAgICAgY2FsbEFkb3B0aW9uQWdlbmN5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZVxuICAgICAgICAgICAgICAgIGdlbmVyaWNFbmRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBicmVhaztcblxuICAgICAgICBjYXNlIDM6XG4gICAgICAgICAgICBpZiAodG4gPT09ICQuQklHKVxuICAgICAgICAgICAgICAgIGNhbGxBZG9wdGlvbkFnZW5jeShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLkRJUiB8fCB0biA9PT0gJC5ESVYgfHwgdG4gPT09ICQuTkFWKVxuICAgICAgICAgICAgICAgIGFkZHJlc3NFbmRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlXG4gICAgICAgICAgICAgICAgZ2VuZXJpY0VuZFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgIGNhc2UgNDpcbiAgICAgICAgICAgIGlmICh0biA9PT0gJC5CT0RZKVxuICAgICAgICAgICAgICAgIGJvZHlFbmRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5IVE1MKVxuICAgICAgICAgICAgICAgIGh0bWxFbmRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5GT1JNKVxuICAgICAgICAgICAgICAgIGZvcm1FbmRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5DT0RFIHx8IHRuID09PSAkLkZPTlQgfHwgdG4gPT09ICQuTk9CUilcbiAgICAgICAgICAgICAgICBjYWxsQWRvcHRpb25BZ2VuY3kocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5NQUlOIHx8IHRuID09PSAkLk1FTlUpXG4gICAgICAgICAgICAgICAgYWRkcmVzc0VuZFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2VcbiAgICAgICAgICAgICAgICBnZW5lcmljRW5kVGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgYnJlYWs7XG5cbiAgICAgICAgY2FzZSA1OlxuICAgICAgICAgICAgaWYgKHRuID09PSAkLkFTSURFKVxuICAgICAgICAgICAgICAgIGFkZHJlc3NFbmRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5TTUFMTClcbiAgICAgICAgICAgICAgICBjYWxsQWRvcHRpb25BZ2VuY3kocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlXG4gICAgICAgICAgICAgICAgZ2VuZXJpY0VuZFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgIGNhc2UgNjpcbiAgICAgICAgICAgIGlmICh0biA9PT0gJC5DRU5URVIgfHwgdG4gPT09ICQuRklHVVJFIHx8IHRuID09PSAkLkZPT1RFUiB8fCB0biA9PT0gJC5IRUFERVIgfHwgdG4gPT09ICQuSEdST1VQKVxuICAgICAgICAgICAgICAgIGFkZHJlc3NFbmRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5BUFBMRVQgfHwgdG4gPT09ICQuT0JKRUNUKVxuICAgICAgICAgICAgICAgIGFwcGxldEVuZFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09ICQuU1RSSUtFIHx8IHRuID09PSAkLlNUUk9ORylcbiAgICAgICAgICAgICAgICBjYWxsQWRvcHRpb25BZ2VuY3kocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlXG4gICAgICAgICAgICAgICAgZ2VuZXJpY0VuZFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgIGNhc2UgNzpcbiAgICAgICAgICAgIGlmICh0biA9PT0gJC5BRERSRVNTIHx8IHRuID09PSAkLkFSVElDTEUgfHwgdG4gPT09ICQuREVUQUlMUyB8fCB0biA9PT0gJC5TRUNUSU9OIHx8IHRuID09PSAkLlNVTU1BUlkpXG4gICAgICAgICAgICAgICAgYWRkcmVzc0VuZFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLk1BUlFVRUUpXG4gICAgICAgICAgICAgICAgYXBwbGV0RW5kVGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZVxuICAgICAgICAgICAgICAgIGdlbmVyaWNFbmRUYWdJbkJvZHkocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBicmVhaztcblxuICAgICAgICBjYXNlIDg6XG4gICAgICAgICAgICBpZiAodG4gPT09ICQuRklFTERTRVQpXG4gICAgICAgICAgICAgICAgYWRkcmVzc0VuZFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLlRFTVBMQVRFKVxuICAgICAgICAgICAgICAgIGVuZFRhZ0luSGVhZChwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2VcbiAgICAgICAgICAgICAgICBnZW5lcmljRW5kVGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgYnJlYWs7XG5cbiAgICAgICAgY2FzZSAxMDpcbiAgICAgICAgICAgIGlmICh0biA9PT0gJC5CTE9DS1FVT1RFIHx8IHRuID09PSAkLkZJR0NBUFRJT04pXG4gICAgICAgICAgICAgICAgYWRkcmVzc0VuZFRhZ0luQm9keShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2VcbiAgICAgICAgICAgICAgICBnZW5lcmljRW5kVGFnSW5Cb2R5KHAsIHRva2VuKTtcblxuICAgICAgICAgICAgYnJlYWs7XG5cbiAgICAgICAgZGVmYXVsdCA6XG4gICAgICAgICAgICBnZW5lcmljRW5kVGFnSW5Cb2R5KHAsIHRva2VuKTtcbiAgICB9XG59XG5cbmZ1bmN0aW9uIGVvZkluQm9keShwLCB0b2tlbikge1xuICAgIGlmIChwLnRtcGxJbnNlcnRpb25Nb2RlU3RhY2tUb3AgPiAtMSlcbiAgICAgICAgZW9mSW5UZW1wbGF0ZShwLCB0b2tlbik7XG5cbiAgICBlbHNlXG4gICAgICAgIHAuc3RvcHBlZCA9IHRydWU7XG59XG5cbi8vMTIuMi41LjQuOCBUaGUgXCJ0ZXh0XCIgaW5zZXJ0aW9uIG1vZGVcbi8vLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS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0gMCkge1xuICAgICAgICBwLl9pbnNlcnRFbGVtZW50KHRva2VuLCBOUy5IVE1MKTtcbiAgICAgICAgcC5mb3JtRWxlbWVudCA9IHAub3BlbkVsZW1lbnRzLmN1cnJlbnQ7XG4gICAgICAgIHAub3BlbkVsZW1lbnRzLnBvcCgpO1xuICAgIH1cbn1cblxuZnVuY3Rpb24gc3RhcnRUYWdJblRhYmxlKHAsIHRva2VuKSB7XG4gICAgdmFyIHRuID0gdG9rZW4udGFnTmFtZTtcblxuICAgIHN3aXRjaCAodG4ubGVuZ3RoKSB7XG4gICAgICAgIGNhc2UgMjpcbiAgICAgICAgICAgIGlmICh0biA9PT0gJC5URCB8fCB0biA9PT0gJC5USCB8fCB0biA9PT0gJC5UUilcbiAgICAgICAgICAgICAgICB0ZFN0YXJ0VGFnSW5UYWJsZShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2VcbiAgICAgICAgICAgICAgICB0b2tlbkluVGFibGUocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBicmVhaztcblxuICAgICAgICBjYXNlIDM6XG4gICAgICAgICAgICBpZiAodG4gPT09ICQuQ09MKVxuICAgICAgICAgICAgICAgIGNvbFN0YXJ0VGFnSW5UYWJsZShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2VcbiAgICAgICAgICAgICAgICB0b2tlbkluVGFibGUocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBicmVhaztcblxuICAgICAgICBjYXNlIDQ6XG4gICAgICAgICAgICBpZiAodG4gPT09ICQuRk9STSlcbiAgICAgICAgICAgICAgICBmb3JtU3RhcnRUYWdJblRhYmxlKHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZVxuICAgICAgICAgICAgICAgIHRva2VuSW5UYWJsZShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgIGNhc2UgNTpcbiAgICAgICAgICAgIGlmICh0biA9PT0gJC5UQUJMRSlcbiAgICAgICAgICAgICAgICB0YWJsZVN0YXJ0VGFnSW5UYWJsZShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2UgaWYgKHRuID09PSAkLlNUWUxFKVxuICAgICAgICAgICAgICAgIHN0YXJ0VGFnSW5IZWFkKHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZSBpZiAodG4gPT09ICQuVEJPRFkgfHwgdG4gPT09ICQuVEZPT1QgfHwgdG4gPT09ICQuVEhFQUQpXG4gICAgICAgICAgICAgICAgdGJvZHlTdGFydFRhZ0luVGFibGUocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlIGlmICh0biA9PT0gJC5JTlBVVClcbiAgICAgICAgICAgICAgICBpbnB1dFN0YXJ0VGFnSW5UYWJsZShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGVsc2VcbiAgICAgICAgICAgICAgICB0b2tlbkluVGFibGUocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBicmVhaztcblxuICAgICAgICBjYXNlIDY6XG4gICAgICAgICAgICBpZiAodG4gPT09ICQuU0NSSVBUKVxuICAgICAgICAgICAgICAgIHN0YXJ0VGFnSW5IZWFkKHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZVxuICAgICAgICAgICAgICAgIHRva2VuSW5UYWJsZShwLCB0b2tlbik7XG5cbiAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgIGNhc2UgNzpcbiAgICAgICAgICAgIGlmICh0biA9PT0gJC5DQVBUSU9OKVxuICAgICAgICAgICAgICAgIGNhcHRpb25TdGFydFRhZ0luVGFibGUocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlXG4gICAgICAgICAgICAgICAgdG9rZW5JblRhYmxlKHAsIHRva2VuKTtcblxuICAgICAgICAgICAgYnJlYWs7XG5cbiAgICAgICAgY2FzZSA4OlxuICAgICAgICAgICAgaWYgKHRuID09PSAkLkNPTEdST1VQKVxuICAgICAgICAgICAgICAgIGNvbGdyb3VwU3RhcnRUYWdJblRhYmxlKHAsIHRva2VuKTtcblxuICAgICAgICAgICAgZWxzZSBpZiAodG4gPT09ICQuVEVNUExBVEUpXG4gICAgICAgICAgICAgICAgc3RhcnRUYWdJbkhlYWQocCwgdG9rZW4pO1xuXG4gICAgICAgICAgICBlbHNlXG4gICAgICAgICAgICAgICAgdG9rZW5JblRhYmxlKHAsIHRva2VuKTtcblxuICAgICAgICAgICAgYnJlYWs7XG5cbiAgICAgICAgZGVmYXVsdDpcbiAgICAgICAgICAgIHRva2VuSW5UYWJsZShwLCB0b2tlbik7XG4gICAgfVxuXG59XG5cbmZ1bmN0aW9uIGVuZFRhZ0luVGFibGUocCwgdG9rZW4pIHtcbiAgICB2YXIgdG4gPSB0b2tlbi50YWdOYW1lO1xuXG4gICAgaWYgKHRuID09PSAkLlRBQkxFKSB7XG4gICAgICAgIGlmIChwLm9wZW5FbGVtZW50cy5oYXNJblRhYmxlU2NvcGUoJC5UQUJMRSkpIHtcbiAgICAgICAgICAgIHAub3BlbkVsZW1lbnRzLnBvcFVudGlsVGFnTmFtZVBvcHBlZCgkLlRBQkxFKTtcbiAgICAgICAgICAgIHAuX3Jlc2V0SW5zZXJ0aW9uTW9kZSgpO1xuICAgICAgICB9XG5cbiAgICAgICAgZWxzZVxuICAgICAgICAgICAgdG9rZW4uaWdub3JlZCA9IHRydWU7XG4gICAgfVxuXG4gICAgZWxzZSBpZiAodG4gPT09ICQuVEVNUExBVEUpXG4gICAgICAgIGVuZFRhZ0luSGVhZChwLCB0b2tlbik7XG5cbiAgICBlbHNlIGlmICh0biAhPT0gJC5CT0RZICYmIHRuICE9PSAkLkNBUFRJT04gJiYgdG4gIT09ICQuQ09MICYmIHRuICE9PSAkLkNPTEdST1VQICYmIHRuICE9PSAkLkhUTUwgJiZcbiAgICAgICAgICAgICB0biAhPT0gJC5UQk9EWSAmJiB0biAhPT0gJC5URCAmJiB0biAhPT0gJC5URk9PVCAmJiB0biAhPT0gJC5USCAmJiB0biAhPT0gJC5USE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1xuICAgIH1cblxuICAgIGVsc2Uge1xuICAgICAgICB2YXIgY3VycmVudCA9IHAuX2dldEFkanVzdGVkQ3VycmVudEVsZW1lbnQoKSxcbiAgICAgICAgICAgIGN1cnJlbnROcyA9IHAudHJlZUFkYXB0ZXIuZ2V0TmFtZXNwYWNlVVJJKGN1cnJlbnQpO1xuXG4gICAgICAgIGlmIChjdXJyZW50TnMgPT09IE5TLk1BVEhNTClcbiAgICAgICAgICAgIEZvcmVpZ25Db250ZW50LmFkanVzdFRva2VuTWF0aE1MQXR0cnModG9rZW4pO1xuXG4gICAgICAgIGVsc2UgaWYgKGN1cnJlbnROcyA9PT0gTlMuU1ZHKSB7XG4gICAgICAgICAgICBGb3JlaWduQ29udGVudC5hZGp1c3RUb2tlblNWR1RhZ05hbWUodG9rZW4pO1xuICAgICAgICAgICAgRm9yZWlnbkNvbnRlbnQuYWRqdXN0VG9rZW5TVkdBdHRycyh0b2tlbik7XG4gICAgICAgIH1cblxuICAgICAgICBGb3JlaWduQ29udGVudC5hZGp1c3RUb2tlblhNTEF0dHJzKHRva2VuKTtcblxuICAgICAgICBpZiAodG9rZW4uc2VsZkNsb3NpbmcpXG4gICAgICAgICAgICBwLl9hcHBlbmRFbGVtZW50KHRva2VuLCBjdXJyZW50TnMpO1xuICAgICAgICBlbHNlXG4gICAgICAgICAgICBwLl9pbnNlcnRFbGVtZW50KHRva2VuLCBjdXJyZW50TnMpO1xuICAgIH1cbn1cblxuZnVuY3Rpb24gZW5kVGFnSW5Gb3JlaWduQ29udGVudChwLCB0b2tlbikge1xuICAgIGZvciAodmFyIGkgPSBwLm9wZW5FbGVtZW50cy5zdGFja1RvcDsgaSA+IDA7IGktLSkge1xuICAgICAgICB2YXIgZWxlbWVudCA9IHAub3BlbkVsZW1lbnRzLml0ZW1zW2ldO1xuXG4gICAgICAgIGlmIChwLnRyZWVBZGFwdGVyLmdldE5hbWVzcGFjZVVSSShlbGVtZW50KSA9PT0gTlMuSFRNTCkge1xuICAgICAg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JHByb21pc2UkZW51bWVyYXRvciQkRW51bWVyYXRvcihDb25zdHJ1Y3RvciwgaW5wdXQpIHtcbiAgICAgIHZhciBlbnVtZXJhdG9yID0gdGhpcztcblxuICAgICAgZW51bWVyYXRvci5faW5zdGFuY2VDb25zdHJ1Y3RvciA9IENvbnN0cnVjdG9yO1xuICAgICAgZW51bWVyYXRvci5wcm9taXNlID0gbmV3IENvbnN0cnVjdG9yKGxpYiRlczYkcHJvbWlzZSQkaW50ZXJuYWwkJG5vb3ApO1xuXG4gICAgICBpZiAoZW51bWVyYXRvci5fdmFsaWRhdGVJbnB1dChpbnB1dCkpIHtcbiAgICAgICAgZW51bWVyYXRvci5faW5wdXQgICAgID0gaW5wdXQ7XG4gICAgICAgIGVudW1lcmF0b3IubGVuZ3RoICAgICA9IGlucHV0Lmxlbmd0aDtcbiAgICAgICAgZW51bWVyYXRvci5fcmVtYWluaW5nID0gaW5wdXQubGVuZ3RoO1xuXG4gICAgICAgIGVudW1lcmF0b3IuX2luaXQoKTtcblxuICAgICAgICBpZiAoZW51bWVyYXRvci5sZW5ndGggPT09IDApIHtcbiAgICAgICAgICBsaWIkZXM2JHByb21pc2UkJGludGVybmFsJCRmdWxmaWxsKGVudW1lcmF0b3IucHJvbWlzZSwgZW51bWVyYXRvci5fcmVzdWx0KTtcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICBlbnVtZXJhdG9yLmxlbmd0aCA9IGVudW1lcmF0b3IubGVuZ3RoIHx8IDA7XG4gICAgICAgICAgZW51bWVyYXRvci5fZW51bWVyYXRlKCk7XG4gICAgICAgICAgaWYgKGVudW1lcmF0b3IuX3JlbWFpbmluZyA9PT0gMCkge1xuICAgICAgICAgICAgbGliJGVzNiRwcm9taXNlJCRpbnRlcm5hbCQkZnVsZmlsbChlbnVtZXJhdG9yLnByb21pc2UsIGVudW1lcmF0b3IuX3Jlc3VsdCk7XG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICB9IGVsc2Uge1xuICAg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HJvbWlzZShmdW5jdGlvbihyZXNvbHZlLCByZWplY3Qpe1xuICAgICAgICAgIHZhciB4aHIgPSBuZXcgWE1MSHR0cFJlcXVlc3QoKTtcblxuICAgICAgICAgIHhoci5vcGVuKCdHRVQnLCB1cmwpO1xuICAgICAgICAgIHhoci5vbnJlYWR5c3RhdGVjaGFuZ2UgPSBoYW5kbGVyO1xuICAgICAgICAgIHhoci5yZXNwb25zZVR5cGUgPSAnanNvbic7XG4gICAgICAgICAgeGhyLnNldFJlcXVlc3RIZWFkZXIoJ0FjY2VwdCcsICdhcHBsaWNhdGlvbi9qc29uJyk7XG4gICAgICAgICAgeGhyLnNlbmQoKTtcblxuICAgICAgICAgIGZ1bmN0aW9uIGhhbmRsZXIoKSB7XG4gICAgICAgICAgICBpZiAodGhpcy5yZWFkeVN0YXRlID09PSB0aGlzLkRPTkUpIHtcbiAgICAgICAgICAgICAgaWYgKHRoaXMuc3RhdHVzID09PSAyMDApIHtcbiAgICAgICAgICAgICAgICByZXNvbHZlKHRoaXMucmVzcG9uc2UpO1xuICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIHJlamVjdChuZXcgRXJyb3IoJ2dldEpTT046IGAnICsgdXJsICsgJ2AgZmFpbGVkIHdpdGggc3RhdHVzOiBbJyArIHRoaXMuc3RhdHVzICsgJ10nKSk7XG4gICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9O1xuICAgICAgICB9KTtcbiAgICAgIH1cblxuICAgICAgZ2V0SlNPTignL3Bvc3RzLmpzb24nKS50aGVuKGZ1bmN0aW9uKGpzb24pIHtcbiAgICAgICAgLy8gb24gZnVsZmlsbG1lbnRcbiAgICAgIH0sIGZ1bmN0aW9uKHJlYXNvbikge1xuICAgICAgICAvLyBvbiByZWplY3Rpb25cbiAgICAgIH0pO1xuICAgICAgYGBgXG5cbiAgICAgIFVubGlrZSBjYWxsYmFja3MsIHByb21pc2VzIGFyZSBncmVhdCBjb21wb3NhYmxlIHByaW1pdGl2ZXMuXG5cbiAgICAgIGBgYGpzXG4gICAgICBQcm9taXNlLmFsbChbXG4gICAgICAgIGdldEpTT04oJy9wb3N0cycpLFxuICAgICAgICBnZXRKU09OKCcvY29tbWVudHMnKVxuICAgICAgXSkudGhlbihmdW5jdGlvbih2YWx1ZXMpe1xuICAgICAgICB2YWx1ZXNbMF0gLy8gPT4gcG9zdHNKU09OXG4gICAgICAgIHZhbHVlc1sxXSAvLyA9PiBjb21tZW50c0pTT05cblxuICAgICAgICByZXR1cm4gdmFsdWVzO1xuICAgICAgfSk7XG4gICAgICBgYGBcblxuICAgICAgQGNsYXNzIFByb21pc2VcbiAgICAgIEBwYXJhbSB7ZnVuY3Rpb259IHJlc29sdmVyXG4gICAgICBVc2VmdWwgZm9yIHRvb2xpbmcuXG4gICAgICBAY29uc3RydWN0b3JcbiAgICAqL1xuICAgIGZ1bmN0aW9uIGxpYiRlczYkcHJvbWlzZSRwcm9taXNlJCRQcm9taXNlKHJlc29sdmVyKSB7XG4gICAgICB0aGlzLl9pZCA9IGxpYiRlczYkcHJvbWlzZSRwcm9taXNlJCRjb3VudGVyKys7XG4gICAgICB0aGlzLl9zdGF0ZSA9IHVuZGVmaW5lZDtcbiAgICAgIHRoaXMuX3Jlc3VsdCA9IHVuZGVmaW5lZDtcbiAgICAgIHRoaXMuX3N1YnNjcmliZXJzID0gW107XG5cbiAgICAgIGlmIChsaWIkZXM2JHByb21pc2UkJGludGVybmFsJCRub29wICE9PSByZXNvbHZlcikge1xuICAgICAgICBpZiAoIWxpYiRlczYkcHJvbWlzZSR1dGlscyQkaXNGdW5jdGlvbihyZXNvbHZlcikpIHtcbiAgICAgICAgICBsaWIkZXM2JHByb21pc2UkcHJvbWlzZSQkbmVlZHNSZXNvbHZlcigpO1xuICAgICAgICB9XG5cbiAgICAgICAgaWYgKCEodGhpcyBpbnN0YW5jZW9mIGxpYiRlczYkcHJvbWlzZSRwcm9taXNlJCRQcm9taXNlKSkge1x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JyYmFjayBFeGFtcGxlXG5cbiAgICAgIGBgYGpzXG4gICAgICBmaW5kUmVzdWx0KGZ1bmN0aW9uKHJlc3VsdCwgZXJyKXtcbiAgICAgICAgaWYgKGVycikge1xuICAgICAgICAgIC8vIGZhaWx1cmVcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAvLyBzdWNjZXNzXG4gICAgICAgIH1cbiAgICAgIH0pO1xuICAgICAgYGBgXG5cbiAgICAgIFByb21pc2UgRXhhbXBsZTtcblxuICAgICAgYGBgamF2YXNjcmlwdFxuICAgICAgZmluZFJlc3VsdCgpLnRoZW4oZnVuY3Rpb24ocmVzdWx0KXtcbiAgICAgICAgLy8gc3VjY2Vzc1xuICAgICAgfSwgZnVuY3Rpb24ocmVhc29uKXtcbiAgICAgICAgLy8gZmFpbHVyZVxuICAgICAgfSk7XG4gICAgICBgYGBcblxuICAgICAgQWR2YW5jZWQgRXhhbXBsZVxuICAgICAgLS0tLS0tLS0tLS0tLS1cblxuICAgICAgU3luY2hyb25vdXMgRXhhbXBsZVxuXG4gICAgICBgYGBqYXZhc2NyaXB0XG4gICAgICB2YXIgYXV0aG9yLCBib29rcztcblxuICAgICAgdHJ5IHtcbiAgICAgICAgYXV0aG9yID0gZmluZEF1dGhvcigpO1xuICAgICAgICBib29rcyAgPSBmaW5kQm9va3NCeUF1dGhvcihhdXRob3IpO1xuICAgICAgICAvLyBzdWNjZXNzXG4gICAgICB9IGNhdGNoKHJlYXNvbikge1xuICAgICAgICAvLyBmYWlsdXJlXG4gICAgICB9XG4gICAgICBgYGBcblxuICAgICAgRXJyYmFjayBFeGFtcGxlXG5cbiAgICAgIGBgYGpzXG5cbiAgICAgIGZ1bmN0aW9uIGZvdW5kQm9va3MoYm9va3MpIHtcblxuICAgICAgfVxuXG4gICAgICBmdW5jdGlvbiBmYWlsdXJlKHJlYXNvbikge1xuXG4gICAgICB9XG5cbiAgICAgIGZpbmRBdXRob3IoZnVuY3Rpb24oYXV0aG9yLCBlcnIpe1xuICAgICAgICBpZiAoZXJyKSB7XG4gICAgICAgICAgZmFpbHVyZShlcnIpO1xuICAgICAgICAgIC8vIGZhaWx1cmVcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICB0cnkge1xuICAgICAgICAgICAgZmluZEJvb29rc0J5QXV0aG9yKGF1dGhvciwgZnVuY3Rpb24oYm9va3MsIGVycikge1xuICAgICAgICAgICAgICBpZiAoZXJyKSB7XG4gICAgICAgICAgICAgICAgZmFpbHVyZShlcnIpO1xuICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIHRyeSB7XG4gICAgICAgICAgICAgICAgICBmb3VuZEJvb2tzKGJvb2tzKTtcbiAgICAgICAgICAgICAgICB9IGNhdGNoKHJlYXNvbikge1xuICAgICAgICAgICAgICAgICAgZmFpbHVyZShyZWFzb24pO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSk7XG4gICAgICAgICAgfSBjYXRjaChlcnJvcikge1xuICAgICAgICAgICAgZmFpbHVyZShlcnIpO1xuICAgICAgICAgIH1cbiAgICAgICAgICAvLyBzdWNjZXNzXG4gICAgICAgIH1cbiAgICAgIH0pO1xuICAgICAgYGBgXG5cbiAgICAgIFByb21pc2UgRXhhbXBsZTtcblxuICAgICAgYGBgamF2YXNjcmlwdFxuICAgICAgZmluZEF1dGhvcigpLlxuICAgICAgICB0aGVuKGZpbmRCb29rc0J5QXV0aG9yKS5cbiAgICAgICAgdGhlbihmdW5jdGlvbihib29rcyl7XG4gICAgICAgICAgLy8gZm91bmQgYm9va3NcbiAgICAgIH0pLmNhdGNoKGZ1bmN0aW9uKHJlYXNvbil7XG4gICAgICAgIC8vIHNvbWV0aGluZyB3ZW50IHdyb25nXG4gICAgICB9KTtcbiAgICAgIGBgYFxuXG4gICAgICBAbWV0aG9kIHRoZW5cbiAgICAgIEBwYXJhbSB7RnVuY3Rpb259IG9uRnVsZmlsbGVkXG4gICAgICBAcGF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FydCwgZW5kXTtcbiAgICB9XG4gICAgaWYgKGV4dHJhLmxvYykge1xuICAgICAgICBjb21tZW50LmxvYyA9IGxvYztcbiAgICB9XG4gICAgZXh0cmEuY29tbWVudHMucHVzaChjb21tZW50KTtcblxuICAgIGlmIChleHRyYS5hdHRhY2hDb21tZW50KSB7XG4gICAgICAgIGNvbW1lbnRBdHRhY2htZW50LmFkZENvbW1lbnQoY29tbWVudCk7XG4gICAgfVxufVxuXG5mdW5jdGlvbiBza2lwU2luZ2xlTGluZUNvbW1lbnQob2Zmc2V0KSB7XG4gICAgdmFyIHN0YXJ0LCBsb2MsIGNoLCBjb21tZW50O1xuXG4gICAgc3RhcnQgPSBpbmRleCAtIG9mZnNldDtcbiAgICBsb2MgPSB7XG4gICAgICAgIHN0YXJ0OiB7XG4gICAgICAgICAgICBsaW5lOiBsaW5lTnVtYmVyLFxuICAgICAgICAgICAgY29sdW1uOiBpbmRleCAtIGxpbmVTdGFydCAtIG9mZnNldFxuICAgICAgICB9XG4gICAgfTtcblxuICAgIHdoaWxlIChpbmRleCA8IGxlbmd0aCkge1xuICAgICAgICBjaCA9IHNvdXJjZS5jaGFyQ29kZUF0KGluZGV4KTtcbiAgICAgICAgKytpbmRleDtcbiAgICAgICAgaWYgKHN5bnRheC5pc0xpbmVUZXJtaW5hdG9yKGNoKSkge1xuICAgICAgICAgICAgaWYgKGV4dHJhLmNvbW1lbnRzKSB7XG4gICAgICAgICAgICAgICAgY29tbWVudCA9IHNvdXJjZS5zbGljZShzdGFydCArIG9mZnNldCwgaW5kZXggLSAxKTtcbiAgICAgICAgICAgICAgICBsb2MuZW5kID0ge1xuICAgICAgICAgICAgICAgICAgICBsaW5lOiBsaW5lTnVtYmVyLFxuICAgICAgICAgICAgICAgICAgICBjb2x1bW46IGluZGV4IC0gbGluZVN0YXJ0IC0gMVxuICAgICAgICAgICAgICAgIH07XG4gICAgICAgICAgICAgICAgYWRkQ29tbWVudChcIkxpbmVcIiwgY29tbWVudCwgc3RhcnQsIGluZGV4IC0gMSwgbG9jKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGlmIChjaCA9PT0gMTMgJiYgc291cmNlLmNoYXJDb2RlQXQoaW5kZXgpID09PSAxMCkge1xuICAgICAgICAgICAgICAgICsraW5kZXg7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICArK2xpbmVOdW1iZXI7XG4gICAgICAgICAgICBsaW5lU3RhcnQgPSBpbmRleDtcbiAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIGlmIChleHRyYS5jb21tZW50cykge1xuICAgICAgICBjb21tZW50ID0gc291cmNlLnNsaWNlKHN0YXJ0ICsgb2Zmc2V0LCBpbmRleCk7XG4gICAgICAgIGxvYy5lbmQgPSB7XG4gICAgICAgICAgICBsaW5lOiBsaW5lTnVtYmVyLFxuICAgICAgICAgICAgY29sdW1uOiBpbmRleCAtIGxpbmVTdGFydFxuICAgICAgICB9O1xuICAgICAgICBhZGRDb21tZW50KFwiTGluZVwiLCBjb21tZW50LCBzdGFydCwgaW5kZXgsIGxvYyk7XG4gICAgfVxufVxuXG5mdW5jdGlvbiBza2lwTXVsdGlMaW5lQ29tbWVudCgpIHtcbiAgICB2YXIgc3RhcnQsIGxvYywgY2gsIGNvbW1lbnQ7XG5cbiAgICBpZiAoZXh0cmEuY29tbWVudHMpIHtcbiAgICAgICAgc3RhcnQgPSBpbmRleCAtIDI7XG4gICAgICAgIGxvYyA9IHtcbiAgICAgICAgICAgIHN0YXJ0OiB7XG4gICAgICAgICAgICAgICAgbGluZTogbGluZU51bWJlcixcbiAgICAgICAgICAgICAgICBjb2x1bW46IGluZGV4IC0gbGluZVN0YXJ0IC0gMlxuICAgICAgICAgICAgfVxuICAgICAgICB9O1xuICAgIH1cblxuICAgIHdoaWxlIChpbmRleCA8IGxlbmd0aCkge1xuICAgICAgICBjaCA9IHNvdXJjZS5jaGFyQ29kZUF0KGluZGV4KTtcbiAgICAgICAgaWYgKHN5bnRheC5pc0xpbmVUZXJtaW5hdG9yKGNoKSkge1xuICAgICAgICAgICAgaWYgKGNoID09PSAweDBEICYmIHNvdXJjZS5jaGFyQ29kZUF0KGluZGV4ICsgMSkgPT09IDB4MEEpIHtcbiAgICAgICAgICAgICAgICArK2luZGV4O1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgKytsaW5lTnVtYmVyO1xuICAgICAgICAgICAgKytpbmRleDtcbiAgICAgICAgICAgIGxpbmVTdGFydCA9IGluZGV4O1xuICAgICAgICAgICAgaWYgKGluZGV4ID49IGxlbmd0aCkge1xuICAgICAgICAgICAgICAgIHRocm93RXJyb3Ioe30sIE1lc3NhZ2VzLlVuZXhwZWN0ZWRUb2tlbiwgXCJJTExFR0FMXCIpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9IGVsc2UgaWYgKGNoID09PSAweDJBKSB7XG4gICAgICAgICAgICAvLyBCbG9jayBjb21tZW50IGVuZHMgd2l0aCBcIiovXCIuXG4gICAgICAgICAgICBpZiAoc291cmNlLmNoYXJDb2RlQXQoaW5kZXggKyAxKSA9PT0gMHgyRikge1xuICAgICAgICAgICAgICAgICsraW5kZXg7XG4gICAgICAgICAgICAgICAgKytpbmRleDtcbiAgICAgICAgICAgICAgICBpZiAoZXh0cmEuY29tbWVudHMpIHtcbiAgICAgICAgICAgICAgICAgICAgY29tbWVudCA9IHNvdXJjZS5zbGljZShzdGFydCArIDIsIGluZGV4IC0gMik7XG4gICAgICAgICAgICAgICAgICAgIGxvYy5lbmQgPSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBsaW5lOiBsaW5lTnVtYmVyLFxuICAgICAgICAgICAgICAgICAgICAgICAgY29sdW1uOiBpbmRleCAtIGxpbmVTdGFydFxuICAgICAgICAgICAgICAgICAgICB9O1xuICAgICAgICAgICAgICAgICAgICBhZGRDb21tZW50KFwiQmxvY2tcIiwgY29tbWVudCwgc3RhcnQsIGluZGV4LCBsb2MpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICByZXR1cm47XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICArK2luZGV4O1xuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgKytpbmRleDtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIHRocm93RXJyb3Ioe30sIE1lc3NhZ2VzLlVuZXhwZWN0ZWRUb2tlbiwgXCJJTExFR0FMXCIpO1xufVxuXG5mdW5jdGlvbiBza2lwQ29tbWVudCgpIHtcbiAgICB2YXIgY2gsIHN0YXJ0O1xuXG4gICAgc3RhcnQgPSAoaW5kZXggPT09IDApO1xuICAgIHdoaWxlIChpbmRleCA8IGxlbmd0aCkge1xuICAgICAgICBjaCA9IHNvdXJjZS5jaGFyQ29kZUF0KGluZGV4KTtcblxuICAgICAgICBpZiAoc3ludGF4LmlzV2hpdGVTcGFjZShjaCkpIHtcbiAgICAgICAgICAgICsraW5kZXg7XG4gICAgICAgIH0gZWxzZSBpZiAoc3ludGF4LmlzTGluZVRlcm1pbmF0b3IoY2gpKSB7XG4gICAgICAgICAgICArK2luZGV4O1xuICAgICAgICAgICAgaWYgKGNoID09PSAweDBEICYmIHNvdXJjZS5jaGFyQ29kZUF0KGluZGV4KSA9PT0gMHgwQSkge1xuICAgICAgICAgICAgICAgICsraW5kZXg7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICArK2xpbmVOdW1iZXI7XG4gICAgICAgICAgICBsaW5lU3RhcnQgPSBpbmRleDtcbiAgICAgICAgICAgIHN0YXJ0ID0gdHJ1ZTtcbiAgICAgICAgfSBlbHNlIGlmIChjaCA9PT0gMHgyRikgeyAvLyBVKzAwMkYgaXMgXCIvXCJcbiAgICAgICAgICAgIGNoID0gc291cmNlLmNoYXJDb2RlQXQoaW5kZXggKyAxKTtcbiAgICAgICAgICAgIGlmIChjaCA9PT0gMHgyRikge1xuICAgICAgICAgICAgICAgICsraW5kZXg7XG4gICAgICAgICAgICAgICAgKytpbmRleDtcbiAgICAgICAgICAgICAgICBza2lwU2luZ2xlTGluZUNvbW1lbnQoMik7XG4gICAgICAgICAgICAgICAgc3RhcnQgPSB0cnVlO1xuICAgICAgICAgICAgfSBlbHNlIGlmIChjaCA9PT0gMHgyQSkgeyAgLy8gVSswMDJBIGlzIFwiKlwiXG4gICAgICAgICAgICAgICAgKytpbmRleDtcbiAgICAgICAgICAgICAgICArK2luZGV4O1xuICAgICAgICAgICAgICAgIHNraXBNdWx0aUxpbmVDb21tZW50KCk7XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgfVxuICAgICAgICB9IGVsc2UgaWYgKHN0YXJ0ICYmIGNoID09PSAweDJEKSB7IC8vIFUrMDAyRCBpcyBcIi1cIlxuICAgICAgICAgICAgLy8gVSswMDNFIGlzIFwiPlwiXG4gICAgICAgICAgICBpZiAoKHNvdXJjZS5jaGFyQ29kZUF0KGluZGV4ICsgMSkgPT09IDB4MkQpICYmIChzb3VyY2UuY2hhckNvZGVBdChpbmRleCArIDIpID09PSAweDNFKSkge1xuICAgICAgICAgICAgICAgIC8vIFwiLS0+XCIgaXMgYSBzaW5nbGUtbGluZSBjb21tZW50XG4gICAgICAgICAgICAgICAgaW5kZXggKz0gMztcbiAgICAgICAgICAgICAgICBza2lwU2luZ2xlTGluZUNvbW1lbnQoMyk7XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgfVxuICAgICAgICB9IGVsc2UgaWYgKGNoID09PSAweDNDKSB7IC8vIFUrMDAzQyBpcyBcIjxcIlxuICAgICAgICAgICAgaWYgKHNvdXJjZS5zbGljZShpbmRleCArIDEsIGluZGV4ICsgNCkgPT09IFwiIS0tXCIpIHtcbiAgICAgICAgICAgICAgICArK2luZGV4OyAvLyBgPGBcbiAgICAgICAgICAgICAgICArK2luZGV4OyAvLyBgIWBcbiAgICAgICAgICAgICAgICArK2luZGV4OyAvLyBgLWBcbiAgICAgICA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ICAgICAgICAgICsraW5kZXg7XG5cbiAgICAgICAgICAgIGlmIChleHRyYS50b2tlbml6ZSAmJiBjb2RlID09PSA0MCkge1xuICAgICAgICAgICAgICAgIGV4dHJhLm9wZW5QYXJlblRva2VuID0gZXh0cmEudG9rZW5zLmxlbmd0aDtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgICAgICB0eXBlOiBUb2tlbi5QdW5jdHVhdG9yLFxuICAgICAgICAgICAgICAgIHZhbHVlOiBTdHJpbmcuZnJvbUNoYXJDb2RlKGNvZGUpLFxuICAgICAgICAgICAgICAgIGxpbmVOdW1iZXI6IGxpbmVOdW1iZXIsXG4gICAgICAgICAgICAgICAgbGluZVN0YXJ0OiBsaW5lU3RhcnQsXG4gICAgICAgICAgICAgICAgcmFuZ2U6IFtzdGFydCwgaW5kZXhdXG4gICAgICAgICAgICB9O1xuXG4gICAgICAgIGNhc2UgMTIzOiAgLy8geyBvcGVuIGN1cmx5IGJyYWNlXG4gICAgICAgIGNhc2UgMTI1OiAgLy8gfSBjbG9zZSBjdXJseSBicmFjZVxuICAgICAgICAgICAgKytpbmRleDtcblxuICAgICAgICAgICAgaWYgKGV4dHJhLnRva2VuaXplICYmIGNvZGUgPT09IDEyMykge1xuICAgICAgICAgICAgICAgIGV4dHJhLm9wZW5DdXJseVRva2VuID0gZXh0cmEudG9rZW5zLmxlbmd0aDtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgLy8gbG9va2FoZWFkMiBmdW5jdGlvbiBjYW4gY2F1c2UgdG9rZW5zIHRvIGJlIHNjYW5uZWQgdHdpY2UgYW5kIGluIGRvaW5nIHNvXG4gICAgICAgICAgICAvLyB3b3VsZCB3cmVjayB0aGUgY3VybHkgc3RhY2sgYnkgcHVzaGluZyB0aGUgc2FtZSB0b2tlbiBvbnRvIHRoZSBzdGFjayB0d2ljZS5cbiAgICAgICAgICAgIC8vIGN1cmx5TGFzdEluZGV4IGVuc3VyZXMgZWFjaCB0b2tlbiBpcyBwdXNoZWQgb3IgcG9wcGVkIGV4YWN0bHkgb25jZVxuICAgICAgICAgICAgaWYgKGluZGV4ID4gc3RhdGUuY3VybHlMYXN0SW5kZXgpIHtcbiAgICAgICAgICAgICAgICBzdGF0ZS5jdXJseUxhc3RJbmRleCA9IGluZGV4O1xuICAgICAgICAgICAgICAgIGlmIChjb2RlID09PSAxMjMpIHtcbiAgICAgICAgICAgICAgICAgICAgc3RhdGUuY3VybHlTdGFjay5wdXNoKFwie1wiKTtcbiAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICBzdGF0ZS5jdXJseVN0YWNrLnBvcCgpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgICAgICB0eXBlOiBUb2tlbi5QdW5jdHVhdG9yLFxuICAgICAgICAgICAgICAgIHZhbHVlOiBTdHJpbmcuZnJvbUNoYXJDb2RlKGNvZGUpLFxuICAgICAgICAgICAgICAgIGxpbmVOdW1iZXI6IGxpbmVOdW1iZXIsXG4gICAgICAgICAgICAgICAgbGluZVN0YXJ0OiBsaW5lU3RhcnQsXG4gICAgICAgICAgICAgICAgcmFuZ2U6IFtzdGFydCwgaW5kZXhdXG4gICAgICAgICAgICB9O1xuXG4gICAgICAgIGRlZmF1bHQ6XG4gICAgICAgICAgICBjb2RlMiA9IHNvdXJjZS5jaGFyQ29kZUF0KGluZGV4ICsgMSk7XG5cbiAgICAgICAgICAgIC8vIFwiPVwiIChjaGFyICM2MSkgbWFya3MgYW4gYXNzaWdubWVudCBvciBjb21wYXJpc29uIG9wZXJhdG9yLlxuICAgICAgICAgICAgaWYgKGNvZGUyID09PSA2MSkge1xuICAgICAgICAgICAgICAgIHN3aXRjaCAoY29kZSkge1xuICAgICAgICAgICAgICAgICAgICBjYXNlIDM3OiAgLy8gJVxuICAgICAgICAgICAgICAgICAgICBjYXNlIDM4OiAgLy8gJlxuICAgICAgICAgICAgICAgICAgICBjYXNlIDQyOiAgLy8gKjpcbiAgICAgICAgICAgICAgICAgICAgY2FzZSA0MzogIC8vICtcbiAgICAgICAgICAgICAgICAgICAgY2FzZSA0NTogIC8vIC1cbiAgICAgICAgICAgICAgICAgICAgY2FzZSA0NzogIC8vIC9cbiAgICAgICAgICAgICAgICAgICAgY2FzZSA2MDogIC8vIDxcbiAgICAgICAgICAgICAgICAgICAgY2FzZSA2MjogIC8vID5cbiAgICAgICAgICAgICAgICAgICAgY2FzZSA5NDogIC8vIF5cbiAgICAgICAgICAgICAgICAgICAgY2FzZSAxMjQ6IC8vIHxcbiAgICAgICAgICAgICAgICAgICAgICAgIGluZGV4ICs9IDI7XG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHR5cGU6IFRva2VuLlB1bmN0dWF0b3IsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFsdWU6IFN0cmluZy5mcm9tQ2hhckNvZGUoY29kZSkgKyBTdHJpbmcuZnJvbUNoYXJDb2RlKGNvZGUyKSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBsaW5lTnVtYmVyOiBsaW5lTnVtYmVyLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxpbmVTdGFydDogbGluZVN0YXJ0LFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJhbmdlOiBbc3RhcnQsIGluZGV4XVxuICAgICAgICAgICAgICAgICAgICAgICAgfTtcblxuICAgICAgICAgICAgICAgICAgICBjYXNlIDMzOiAvLyAhXG4gICAgICAgICAgICAgICAgICAgIGNhc2UgNjE6IC8vID1cbiAgICAgICAgICAgICAgICAgICAgICAgIGluZGV4ICs9IDI7XG5cbiAgICAgICAgICAgICAgICAgICAgICAgIC8vICE9PSBhbmQgPT09XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoc291cmNlLmNoYXJDb2RlQXQoaW5kZXgpID09PSA2MSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICsraW5kZXg7XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHR5cGU6IFRva2VuLlB1bmN0dWF0b3IsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFsdWU6IHNvdXJjZS5zbGljZShzdGFydCwgaW5kZXgpLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxpbmVOdW1iZXI6IGxpbmVOdW1iZXIsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbGluZVN0YXJ0OiBsaW5lU3RhcnQsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmFuZ2U6IFtzdGFydCwgaW5kZXhdXG4gICAgICAgICAgICAgICAgICAgICAgICB9O1xuICAgICAgICAgICAgICAgICAgICBkZWZhdWx0OlxuICAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICAgICAgYnJlYWs7XG4gICAgfVxuXG4gICAgLy8gUGVlayBtb3JlIGNoYXJhY3RlcnMuXG5cbiAgICBjaDIgPSBzb3VyY2VbaW5kZXggKyAxXTtcbiAgICBjaDMgPSBzb3VyY2VbaW5kZXggKyAyXTtcbiAgICBjaDQgPSBzb3VyY2VbaW5kZXggKyAzXTtcblxuICAgIC8vIDQtY2hhcmFjdGVyIHB1bmN0dWF0b3I6ID4+Pj1cblxuICAgIGlmIChjaDEgPT09IFwiPlwiICYmIGNoMiA9PT0gXCI+XCIgJiYgY2gzID09PSBcIj5cIikge1xuICAgICAgICBpZiAoY2g0ID09PSBcIj1cIikge1xuICAgICAgICAgICAgaW5kZXggKz0gNDtcbiAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgICAgdHlwZTogVG9rZW4uUHVuY3R1YXRvcixcbiAgICAgICAgICAgICAgICB2YWx1ZTogXCI+Pj49XCIsXG4gICAgICAgICAgICAgICAgbGluZU51bWJlcjogbGluZU51bWJlcixcbiAgICAgICAgICAgICAgICBsaW5lU3RhcnQ6IGxpbmVTdGFydCxcbiAgICAgICAgICAgICAgICByYW5nZTogW3N0YXJ0LCBpbmRleF1cbiAgICAgICAgICAgIH07XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAvLyAzLWNoYXJhY3RlciBwdW5jdHVhdG9yczogPT09ICE9PSA+Pj4gPDw9ID4+PVxuXG4gICAgaWYgKGNoMSA9PT0gXCI+XCIgJiYgY2gyID09PSBcIj5cIiAmJiBjaDMgPT09IFwiPlwiKSB7XG4gICAgICAgIGluZGV4ICs9IDM7XG4gICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICB0eXBlOiBUb2tlbi5QdW5jdHVhdG9yLFxuICAgICAgICAgICAgdmFsdWU6IFwiPj4+XCIsXG4gICAgICAgICAgICBsaW5lTnVtYmVyOiBsaW5lTnVtYmVyLFxuICAgICAgICAgICAgbGluZVN0YXJ0OiBsaW5lU3RhcnQsXG4gICAgICAgICAgICByYW5nZTogW3N0YXJ0LCBpbmRleF1cbiAgICAgICAgfTtcbiAgICB9XG5cbiAgICBpZiAoY2gxID09PSBcIjxcIiAmJiBjaDIgPT09IFwiPFwiICYmIGNoMyA9PT0gXCI9XCIpIHtcbiAgICAgICAgaW5kZXggKz0gMztcbiAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgIHR5cGU6IFRva2VuLlB1bmN0dWF0b3IsXG4gICAgICAgICAgICB2YWx1ZTogXCI8PD1cIixcbiAgICAgICAgICAgIGxpbmVOdW1iZXI6IGxpbmVOdW1iZXIsXG4gICAgICAgICAgICBsaW5lU3RhcnQ6IGxpbmVTdGFydCxcbiAgICAgICAgICAgIHJhbmdlOiBbc3RhcnQsIGluZGV4XVxuICAgICAgICB9O1xuICAgIH1cblxuICAgIGlmIChjaDEgPT09IFwiPlwiICYmIGNoMiA9PT0gXCI+XCIgJiYgY2gzID09PSBcIj1cIikge1xuICAgICAgICBpbmRleCArPSAzO1xuICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgdHlwZTogVG9rZW4uUHVuY3R1YXRvcixcbiAgICAgICAgICAgIHZhbHVlOiBcIj4+PVwiLFxuICAgICAgICAgICAgbGluZU51bWJlcjogbGluZU51bWJlcixcbiAgICAgICAgICAgIGxpbmVTdGFydDogbGluZVN0YXJ0LFxuICAgICAgICAgICAgcmFuZ2U6IFtzdGFydCwgaW5kZXhdXG4gICAgICAgIH07XG4gICAgfVxuXG4gICAgLy8gVGhlIC4uLiBvcGVyYXRvciAoc3ByZWFkLCByZXN0UGFyYW1zLCBKU1gsIGV0Yy4pXG4gICAgaWYgKGV4dHJhLmVjbWFGZWF0dXJlcy5zcHJlYWQgfHxcbiAgICAgICAgZXh0cmEuZWNtYUZlYXR1cmVzLnJlc3RQYXJhbXMgfHxcbiAgICAgICAgZXh0cmEuZWNtYUZlYXR1cmVzLmV4cGVyaW1lbnRhbE9iamVjdFJlc3RTcHJlYWQgfHxcbiAgICAgICAgKGV4dHJhLmVjbWFGZWF0dXJlcy5qc3ggJiYgc3RhdGUuaW5KU1hTcHJlYWRBdHRyaWJ1dGUpXG4gICAgKSB7XG4gICAgICAgIGlmIChjaDEgPT09IFwiLlwiICYmIGNoMiA9PT0gXCIuXCIgJiYgY2gzID09PSBcIi5cIikge1xuICAgICAgICAgICAgaW5kZXggKz0gMztcbiAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgICAgdHlwZTogVG9rZW4uUHVuY3R1YXRvcixcbiAgICAgICAgICAgICAgICB2YWx1ZTogXCIuLi5cIixcbiAgICAgICAgICAgICAgICBsaW5lTnVtYmVyOiBsaW5lTnVtYmVyLFxuICAgICAgICAgICAgICAgIGxpbmVTdGFydDogbGluZVN0YXJ0LFxuICAgICAgICAgICAgICAgIHJhbmdlOiBbc3RhcnQsIGluZGV4XVxuICAgICAgICAgICAgfTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIC8vIE90aGVyIDItY2hhcmFjdGVyIHB1bmN0dWF0b3JzOiArKyAtLSA8PCA+PiAmJiB8fFxuICAgIGlmIChjaDEgPT09IGNoMiAmJiAoXCIrLTw+JnxcIi5pbmRleE9mKGNoMSkgPj0gMCkpIHtcbiAgICAgICAgaW5kZXggKz0gMjtcbiAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgIHR5cGU6IFRva2VuLlB1bmN0dWF0b3IsXG4gICAgICAgICAgICB2YWx1ZTogY2gxICsgY2gyLFxuICAgICAgICAgICAgbGluZU51bWJlcjogbGluZU51bWJlcixcbiAgICAgICAgICAgIGxpbmVTdGFydDogbGluZVN0YXJ0LFxuICAgICAgICAgICAgcmFuZ2U6IFtzdGFydCwgaW5kZXhdXG4gICAgICAgIH07XG4gICAgfVxuXG4gICAgLy8gdGhlID0+IGZvciBhcnJvdyBmdW5jdGlvbnNcbiAgICBpZiAoZXh0cmEuZWNtYUZlYXR1cmVzLmFycm93RnVuY3Rpb25zKSB7XG4gICAgICAgIGlmIChjaDEgPT09IFwiPVwiICYmIGNoMiA9PT0gXCI+XCIpIHtcbiAgICAgICAgICAgIGluZGV4ICs9IDI7XG4gICAgICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgICAgIHR5cGU6IFRva2VuLlB1bmN0dWF0b3IsXG4gICAgICAgICAgICAgICAgdmFsdWU6IFwiPT5cIixcbiAgICAgICAgICAgICAgICBsaW5lTnVtYmVyOiBsaW5lTnVtYmVyLFxuICAgICAgICAgICAgICAgIGxpbmVTdGFydDogbGluZVN0YXJ0LFxuICAgICAgICAgICAgICAgIHJhbmdlOiBbc3RhcnQsIGluZGV4XVxuICAgICAgICAgICAgfTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIGlmIChcIjw+PSErLSolJnxeL1wiLmluZGV4T2YoY2gxKSA+PSAwKSB7XG4gICAgICAgICsraW5kZXg7XG4gICAgICAgIHJldHVybiB7XG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GVsc2UgKi9cbiAgICAgICAgaWYgKHN5bnRheC5pc0lkZW50aWZpZXJTdGFydChjaCkgfHwgc3ludGF4LmlzRGVjaW1hbERpZ2l0KGNoKSkge1xuICAgICAgICAgICAgdGhyb3dFcnJvcih7fSwgTWVzc2FnZXMuVW5leHBlY3RlZFRva2VuLCBcIklMTEVHQUxcIik7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICByZXR1cm4ge1xuICAgICAgICB0eXBlOiBUb2tlbi5OdW1lcmljTGl0ZXJhbCxcbiAgICAgICAgdmFsdWU6IHBhcnNlSW50KG51bWJlciwgMiksXG4gICAgICAgIGxpbmVOdW1iZXI6IGxpbmVOdW1iZXIsXG4gICAgICAgIGxpbmVTdGFydDogbGluZVN0YXJ0LFxuICAgICAgICByYW5nZTogW3N0YXJ0LCBpbmRleF1cbiAgICB9O1xufVxuXG5mdW5jdGlvbiBzY2FuT2N0YWxMaXRlcmFsKHByZWZpeCwgc3RhcnQpIHtcbiAgICB2YXIgbnVtYmVyLCBvY3RhbDtcblxuICAgIGlmIChzeW50YXguaXNPY3RhbERpZ2l0KHByZWZpeCkpIHtcbiAgICAgICAgb2N0YWwgPSB0cnVlO1xuICAgICAgICBudW1iZXIgPSBcIjBcIiArIHNvdXJjZVtpbmRleCsrXTtcbiAgICB9IGVsc2Uge1xuICAgICAgICBvY3RhbCA9IGZhbHNlO1xuICAgICAgICArK2luZGV4O1xuICAgICAgICBudW1iZXIgPSBcIlwiO1xuICAgIH1cblxuICAgIHdoaWxlIChpbmRleCA8IGxlbmd0aCkge1xuICAgICAgICBpZiAoIXN5bnRheC5pc09jdGFsRGlnaXQoc291cmNlW2luZGV4XSkpIHtcbiAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICB9XG4gICAgICAgIG51bWJlciArPSBzb3VyY2VbaW5kZXgrK107XG4gICAgfVxuXG4gICAgaWYgKCFvY3RhbCAmJiBudW1iZXIubGVuZ3RoID09PSAwKSB7XG4gICAgICAgIC8vIG9ubHkg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RleCsrXTtcbiAgICAgICAgY2ggPSBzb3VyY2VbaW5kZXhdO1xuXG4gICAgICAgIC8vIEhleCBudW1iZXIgc3RhcnRzIHdpdGggXCIweFwiLlxuICAgICAgICAvLyBPY3RhbCBudW1iZXIgc3RhcnRzIHdpdGggXCIwXCIuXG4gICAgICAgIGlmIChudW1iZXIgPT09IFwiMFwiKSB7XG4gICAgICAgICAgICBpZiAoY2ggPT09IFwieFwiIHx8IGNoID09PSBcIlhcIikge1xuICAgICAgICAgICAgICAgICsraW5kZXg7XG4gICAgICAgICAgICAgICAgcmV0dXJuIHNjYW5IZXhMaXRlcmFsKHN0YXJ0KTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgLy8gQmluYXJ5IG51bWJlciBpbiBFUzYgc3RhcnRzIHdpdGggJzBiJ1xuICAgICAgICAgICAgaWYgKGV4dHJhLmVjbWFGZWF0dXJlcy5iaW5hcnlMaXRlcmFscykge1xuICAgICAgICAgICAgICAgIGlmIChjaCA9PT0gXCJiXCIgfHwgY2ggPT09IFwiQlwiKSB7XG4gICAgICAgICAgICAgICAgICAgICsraW5kZXg7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBzY2FuQmluYXJ5TGl0ZXJhbChzdGFydCk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICBpZiAoKGV4dHJhLmVjbWFGZWF0dXJlcy5vY3RhbExpdGVyYWxzICYmIChjaCA9PT0gXCJvXCIgfHwgY2ggPT09IFwiT1wiKSkgfHwgc3ludGF4LmlzT2N0YWxEaWdpdChjaCkpIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gc2Nhbk9jdGFsTGl0ZXJhbChjaCwgc3RhcnQpO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAvLyBkZWNpbWFsIG51bWJlciBzdGFydHMgd2l0aCBcIjBcIiBzdWNoIGFzIFwiMDlcIiBpcyBpbGxlZ2FsLlxuICAgICAgICAgICAgaWYgKGNoICYmIHN5bnRheC5pc0RlY2ltYWxEaWdpdChjaC5jaGFyQ29kZUF0KDApKSkge1xuICAgICAgICAgICAgICAgIHRocm93RXJyb3Ioe30sIE1lc3NhZ2VzLlVuZXhwZWN0ZWRUb2tlbiwgXCJJTExFR0FMXCIpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgd2hpbGUgKHN5bnRheC5pc0RlY2ltYWxEaWdpdChzb3VyY2UuY2hhckNvZGVBdChpbmRleCkpKSB7XG4gICAgICAgICAgICBudW1iZXIgKz0gc291cmNlW2luZGV4KytdO1xuICAgICAgICB9XG4gICAgICAgIGNoID0gc291cmNlW2luZGV4XTtcbiAgICB9XG5cbiAgICBpZiAoY2ggPT09IFwiLlwiKSB7XG4gICAgICAgIG51bWJlciArPSBzb3VyY2VbaW5kZXgrK107XG4gICAgICAgIHdoaWxlIChzeW50YXguaXNEZWNpbWFsRGlnaXQoc291cmNlLmNoYXJDb2RlQXQoaW5kZXgpKSkge1xuICAgICAgICAgICAgbnVtYmVyICs9IHNvdXJjZVtpbmRleCsrXTtcbiAgICAgICAgfVxuICAgICAgICBjaCA9IHNvdXJjZVtpbmRleF07XG4gICAgfVxuXG4gICAgaWYgKGNoID09PSBcImVcIiB8fCBjaCA9PT0gXCJFXCIpIHtcbiAgICAgICAgbnVtYmVyICs9IHNvdXJjZVtpbmRleCsrXTtcblxuICAgICAgICBjaCA9IHNvdXJjZVtpbmRleF07XG4gICAgICAgIGlmIChjaCA9PT0gXCIrXCIgfHwgY2ggPT09IFwiLVwiKSB7XG4gICAgICAgICAgICBudW1iZXIgKz0gc291cmNlW2luZGV4KytdO1xuICAgICAgICB9XG4gICAgICAgIGlmIChzeW50YXguaXNEZWNpbWFsRGlnaXQoc291cmNlLmNoYXJDb2RlQXQoaW5kZXgpKSkge1xuICAgICAgICAgICAgd2hpbGUgKHN5bnRheC5pc0RlY2ltYWxEaWdpdChzb3VyY2UuY2hhckNvZGVBdChpbmRleCkpKSB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1xuXG4gICAgICAgIGlmIChjaCA9PT0gXCJgXCIpIHtcbiAgICAgICAgICAgIHRhaWwgPSB0cnVlO1xuICAgICAgICAgICAgdGVybWluYXRlZCA9IHRydWU7XG4gICAgICAgICAgICBicmVhaztcbiAgICAgICAgfSBlbHNlIGlmIChjaCA9PT0gXCIkXCIpIHtcbiAgICAgICAgICAgIGlmIChzb3VyY2VbaW5kZXhdID09PSBcIntcIikge1xuICAgICAgICAgICAgICAgICsraW5kZXg7XG4gICAgICAgICAgICAgICAgdGVybWluYXRlZCA9IHRydWU7XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBjb29rZWQgKz0gY2g7XG4gICAgICAgIH0gZWxzZSBpZiAoY2ggPT09IFwiXFxcXFwiKSB7XG4gICAgICAgICAgICBjaCA9IHNvdXJjZVtpbmRleCsrXTtcbiAgICAgICAgICAgIGVzY2FwZWRTZXF1ZW5jZSA9IHNjYW5Fc2NhcGVTZXF1ZW5jZShjaCk7XG5cbiAgICAgICAgICAgIGlmIChlc2NhcGVkU2VxdWVuY2Uub2N0YWwpIHtcbiAgICAgICAgICAgICAgICB0aHJvd0Vycm9yKHt9LCBNZXNzYWdlcy5UZW1wbGF0ZU9jdGFsTGl0ZXJhbCk7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIGNvb2tlZCArPSBlc2NhcGVkU2VxdWVuY2UuY2g7XG5cbiAgICAgICAgfSBlbHNlIGlmIChzeW50YXguaXNMaW5lVGVybWluYXRvcihjaC5jaGFyQ29kZUF0KDApKSkge1xuICAgICAgICAgICAgKytsaW5lTnVtYmVyO1xuICAgICAgICAgICAgaWYgKGNoID09PSBcIlxcclwiICYmIHNvdXJjZVtpbmRleF0gPT09IFwiXFxuXCIpIHtcbiAgICAgICAgICAgICAgICArK2luZGV4O1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgbGluZVN0YXJ0ID0gaW5kZXg7XG4gICAgICAgICAgICBjb29rZW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hblJlZ0V4cEJvZHkoKSB7XG4gICAgdmFyIGNoLCBzdHIsIGNsYXNzTWFya2VyLCB0ZXJtaW5hdGVkLCBib2R5O1xuXG4gICAgY2ggPSBzb3VyY2VbaW5kZXhdO1xuICAgIGFzc2VydChjaCA9PT0gXCIvXCIsIFwiUmVndWxhciBleHByZXNzaW9uIGxpdGVyYWwgbXVzdCBzdGFydCB3aXRoIGEgc2xhc2hcIik7XG4gICAgc3RyID0gc291cmNlW2luZGV4KytdO1xuXG4gICAgY2xhc3NNYXJrZXIgPSBmYWxzZTtcbiAgICB0ZXJtaW5hdGVkID0gZmFsc2U7XG4gICAgd2hpbGUgKGluZGV4IDwgbGVuZ3RoKSB7XG4gICAgICAgIGNoID0gc291cmNlW2luZGV4KytdO1xuICAgICAgICBzdHIgKz0gY2g7XG4gICAgICAgIGlmIChjaCA9PT0gXCJcXFxcXCIpIHtcbiAgICAgICAgICAgIGNoID0gc291cmNlW2luZGV4KytdO1xuICAgICAgICAgICAgLy8gRUNNQS0yNjIgNy44LjVcbiAgICAgICAgICAgIGlmIChzeW50YXguaXNMaW5lVGVybWluYXRvcihjaC5jaGFyQ29kZUF0KDApKSkge1xuICAgICAgICAgICAgICAgIHRocm93RXJyb3Ioe30sIE1lc3NhZ2VzLlVudGVybWluYXRlZFJlZ0V4cCk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBzdHIgKz0gY2g7XG4gICAgICAgIH0gZWxzZSBpZiAoc3ludGF4LmlzTGluZVRlcm1pbmF0b3IoY2guY2hhckNvZGVBdCgwKSkpIHtcbiAgICAgICAgICAgIHRocm93RXJyb3Ioe30sIE1lc3NhZ2VzLlVudGVybWluYXRlZFJlZ0V4cCk7XG4gICAgICAgIH0gZWxzZSBpZiAoY2xhc3NNYXJrZXIpIHtcbiAgICAgICAgICAgIGlmIChjaCA9PT0gXCJdXCIpIHtcbiAgICAgICAgICAgICAgICBjbGFzc01hcmtlciA9IGZhbHNlO1xuICAgICAgICAgICAgfVxuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgaWYgKGNoID09PSBcIi9cIikge1xuICAgICAgICAgICAgICAgIHRlcm1pbmF0ZWQgPSB0cnVlO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgfSBlbHNlIGlmIChjaCA9PT0gXCJbXCIpIHtcbiAgICAgICAgICAgICAgICBjbGFzc01hcmtlciA9IHRydWU7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICBpZiAoIXRlcm1pbmF0ZWQpIHtcbiAgICAgICAgdGhyb3dFcnJvcih7fSwgTWVzc2FnZXMuVW50ZXJtaW5hdGVkUmVnRXhwKTtcbiAgICB9XG5cbiAgICAvLyBFeGNsdWRlIGxlYWRpbmcgYW5kIHRyYWlsaW5nIHNsYXNoLlxuICAgIGJvZHkgPSBzdHIuc3Vic3RyKDEsIHN0ci5sZW5ndGggLSAyKTtcbiAgICByZXR1cm4ge1xuICAgICAgICB2YWx1ZTogYm9keSxcbiAgICAgICAgbGl0ZXJhbDogc3RyXG4gICAgfTtcbn1cblxuZnVuY3Rpb24gc2NhblJlZ0V4cEZsYWdzKCkge1xuICAgIHZhciBjaCwgc3RyLCBmbGFncywgcmVzdG9yZTtcblxuICAgIHN0ciA9IFwiXCI7XG4gICAgZmxhZ3MgPSBcIlwiO1xuICAgIHdoaWxlIChpbmRleCA8IGxlbmd0aCkge1xuICAgICAgICBjaCA9IHNvdXJjZVtpbmRleF07XG4gICAgICAgIGlmICghc3ludGF4LmlzSWRlbnRpZmllclBhcnQoY2guY2hhckNvZGVBdCgwKSkpIHtcbiAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICB9XG5cbiAgICAgICAgKytpbmRleDtcbiAgICAgICAgaWYgKGNoID09PSBcIlxcXFxcIiAmJiBpbmRleCA8IGxlbmd0aCkge1xuICAgICAgICAgICAgY2ggPSBzb3VyY2VbaW5kZXhdO1xuICAgICAgICAgICAgaWYgKGNoID09PSBcInVcIikge1xuICAgICAgICAgICAgICAgICsraW5kZXg7XG4gICAgICAgICAgICAgICAgcmVzdG9yZSA9IGluZGV4O1xuICAgICAgICAgICAgICAgIGNoID0gc2NhbkhleEVzY2FwZShcInVcIik7XG4gICAgICAgICAgICAgICAgaWYgKGNoKSB7XG4gICAgICAgICAgICAgICAgICAgIGZsYWdzICs9IGNoO1xuICAgICAgICAgICAgICAgICAgICBmb3IgKHN0ciArPSBcIlxcXFx1XCI7IHJlc3RvcmUgPCBpbmRleDsgKytyZXN0b3JlKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBzdHIgKz0gc291cmNlW3Jlc3RvcmVdO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgaW5kZXggPSByZXN0b3JlO1xuICAgICAgICAgICAgICAgICAgICBmbGFncyArPSBcInVcIjtcbiAgICAgICAgICAgICAgICAgICAgc3RyICs9IFwiXFxcXHVcIjtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgdGhyb3dFcnJvclRvbGVyYW50KHt9LCBNZXNzYWdlcy5VbmV4cGVjdGVkVG9rZW4sIFwiSUxMRUdBTFwiKTtcbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgc3RyICs9IFwiXFxcXFwiO1xuICAgICAgICAgICAgICAgIHRocm93RXJyb3JUb2xlcmFudCh7fSwgTWVzc2FnZXMuVW5leHBlY3RlZFRva2VuLCBcIklMTEVHQUxcIik7XG4gICAgICAgICAgICB9XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICBmbGFncyArPSBjaDtcbiAgICAgICAgICAgIHN0ciArPSBjaDtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIHJldHVybiB7XG4gICAgICAgIHZhbHVlOiBmbGFncyxcbiAgICAgICAgbGl0ZXJhbDogc3RyXG4gICAgfTtcbn1cblxuZnVuY3Rpb24gc2NhblJlZ0V4cCg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IgcG9zLCBsb2MsIHJlZ2V4LCB0b2tlbjtcblxuICAgIHNraXBDb21tZW50KCk7XG5cbiAgICBwb3MgPSBpbmRleDtcbiAgICBsb2MgPSB7XG4gICAgICAgIHN0YXJ0OiB7XG4gICAgICAgICAgICBsaW5lOiBsaW5lTnVtYmVyLFxuICAgICAgICAgICAgY29sdW1uOiBpbmRleCAtIGxpbmVTdGFydFxuICAgICAgICB9XG4gICAgfTtcblxuICAgIHJlZ2V4ID0gc2NhblJlZ0V4cCgpO1xuICAgIGxvYy5lbmQgPSB7XG4gICAgICAgIGxpbmU6IGxpbmVOdW1iZXIsXG4gICAgICAgIGNvbHVtbjogaW5kZXggLSBsaW5lU3RhcnRcbiAgICB9O1xuXG4gICAgLyogaXN0YW5idWwgaWdub3JlIG5leHQgKi9cbiAgICBpZiAoIWV4dHJhLnRva2VuaXplKSB7XG4gICAgICAgIC8vIFBvcCB0aGUgcHJldmlvdXMgdG9rZW4sIHdoaWNoIGlzIGxpa2VseSBcIi9cIiBvciBcIi89XCJcbiAgICAgICAgaWYgKGV4dHJhLnRva2Vucy5sZW5ndGggPiAwKSB7XG4gICAgICAgICAgICB0b2tlbiA9IGV4dHJhLnRva2Vuc1tleHRyYS50b2tlbnMubGVuZ3RoIC0gMV07XG4gICAgICAgICAgICBpZiAodG9rZW4ucmFuZ2VbMF0gPT09IHBvcyAmJiB0b2tlbi50eXBlID09PSBcIlB1bmN0dWF0b3JcIikge1xuICAgICAgICAgICAgICAgIGlmICh0b2tlbi52YWx1ZSA9PT0gXCIvXCIgfHwgdG9rZW4udmFsdWUgPT09IFwiLz1cIikge1xuICAgICAgICAgICAgICAgICAgICBleHRyYS50b2tlbnMucG9wKCk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgZXh0cmEudG9rZW5zLnB1c2goe1xuICAgICAgICAgICAgdHlwZTogXCJSZWd1bGFyRXhwcmVzc2lvblwiLFxuICAgICAgICAgICA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1YXRvcigpO1xuICAgICAgICB9XG4gICAgICAgIGlmIChwcmV2VG9rZW4udmFsdWUgPT09IFwiKVwiKSB7XG4gICAgICAgICAgICBjaGVja1Rva2VuID0gZXh0cmEudG9rZW5zW2V4dHJhLm9wZW5QYXJlblRva2VuIC0gMV07XG4gICAgICAgICAgICBpZiAoY2hlY2tUb2tlbiAmJlxuICAgICAgICAgICAgICAgICAgICBjaGVja1Rva2VuLnR5cGUgPT09IFwiS2V5d29yZFwiICYmXG4gICAgICAgICAgICAgICAgICAgIChjaGVja1Rva2VuLnZhbHVlID09PSBcImlmXCIgfHxcbiAgICAgICAgICAgICAgICAgICAgIGNoZWNrVG9rZW4udmFsdWUgPT09IFwid2hpbGVcIiB8fFxuICAgICAgICAgICAgICAgICAgICAgY2hlY2tUb2tlbi52YWx1ZSA9PT0gXCJmb3JcIiB8fFxuICAgICAgICAgICAgICAgICAgICAgY2hlY2tUb2tlbi52YWx1ZSA9PT0gXCJ3aXRoXCIpKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIGNvbGxlY3RSZWdleCgpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgcmV0dXJuIHNjYW5QdW5jdHVhdG9yKCk7XG4gICAgICAgIH1cbiAgICAgICAgaWYgKHByZXZUb2tlbi52YWx1ZSA9PT0gXCJ9XCIpIHtcbiAgICAgICAgICAgIC8vIERpdmlkaW5nIGEgZnVuY3Rpb24gYnkgYW55dGhpbmcgbWFrZXMgbGl0dGxlIHNlbnNlLFxuICAgICAgICAgICAgLy8gYnV0IHdlIGhhdmUgdG8gY2hlY2sgZm9yIHRoYXQuXG4gICAgICAgICAgICBpZiAoZXh0cmEudG9rZW5zW2V4dHJhLm9wZW5DdXJseVRva2VuIC0gM10gJiZcbiAgICAgICAgICAgICAgICAgICAgZXh0cmEudG9rZW5zW2V4dHJhLm9wZW5DdXJseVRva2VuIC0gM10udHlwZSA9PT0gXCJLZXl3b3JkXCIpIHtcbiAgICAgICAgICAgICAgICAvLyBBbm9ueW1vdXMgZnVuY3Rpb24uXG4gICAgICAgICAgICAgICAgY2hlY2tUb2tlbiA9IGV4dHJhLnRva2Vuc1tleHRyYS5vcGVuQ3VybHlUb2tlbiAtIDRdO1xuICAgICAgICAgICAgICAgIGlmICghY2hlY2tUb2tlbikge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4gc2NhblB1bmN0dWF0b3IoKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9IGVsc2UgaWYgKGV4dHJhLnRva2Vuc1tleHRyYS5vcGVuQ3VybHlUb2tlbiAtIDRdICYmXG4gICAgICAgICAgICAgICAgICAgIGV4dHJhLnRva2Vuc1tleHRyYS5vcGVuQ3VybHlUb2tlbiAtIDRdLnR5cGUgPT09IFwiS2V5d29yZFwiKSB7XG4gICAgICAgICAgICAgICAgLy8gTmFtZWQgZnVuY3Rpb24uXG4gICAgICAgICAgICAgICAgY2hlY2tUb2tlbiA9IGV4dHJhLnRva2Vuc1tleHRyYS5vcGVuQ3VybHlUb2tlbiAtIDVdO1xuICAgICAgICAgICAgICAgIGlmICghY2hlY2tUb2tlbikge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4gY29sbGVjdFJlZ2V4KCk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gc2NhblB1bmN0dWF0b3IoKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIC8vIGNoZWNrVG9rZW4gZGV0ZXJtaW5lcyB3aGV0aGVyIHRoZSBmdW5jdGlvbiBpc1xuICAgICAgICAgICAgLy8gYSBkZWNsYXJhdGlvbiBvciBhbiBleHByZXNzaW9uLlxuICAgICAgICAgICAgaWYgKEZuRXhwclRva2Vucy5pbmRleE9mKGNoZWNrVG9rZW4udmFsdWUpID49IDApIHtcbiAgICAgICAgICAgICAgICAvLyBJdCBpcyBhbiBleHByZXNzaW9uLlxuICAgICAgICAgICAgICAgIHJld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oKSB7XG4gICAgICAgIGNoID0gc291cmNlW2luZGV4XTtcbiAgICAgICAgaWYgKHN0b3BDaGFycy5pbmRleE9mKGNoKSAhPT0gLTEpIHtcbiAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICB9XG4gICAgICAgIGlmIChjaCA9PT0gXCImXCIpIHtcbiAgICAgICAgICAgIHN0ciArPSBzY2FuSlNYRW50aXR5KCk7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICBpbmRleCsrO1xuICAgICAgICAgICAgaWYgKGNoID09PSBcIlxcclwiICYmIHNvdXJjZVtpbmRleF0gPT09IFwiXFxuXCIpIHtcbiAgICAgICAgICAgICAgICBzdHIgKz0gY2g7XG4gICAgICAgICAgICAgICAgY2ggPSBzb3VyY2VbaW5kZXhdO1xuICAgICAgICAgICAgICAgIGluZGV4Kys7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBpZiAoc3ludGF4LmlzTGluZVRlcm1pbmF0b3IoY2guY2hhckNvZGVBdCgwKSkpIHtcbiAgICAgICAgICAgICAgICArK2xpbmVOdW1iZXI7XG4gICAgICAgICAgICAgICAgbGluZVN0YXJ0ID0gaW5kZXg7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBzdHIgKz0gY2g7XG4gICAgICAgIH1cbiAgICB9XG4gICAgcmV0dXJuIHtcbiAgICAgICAgdHlwZTogVG9rZW4uSlNYVGV4dCxcbiAgICAgICAgdmFsdWU6IHN0cixcbiAgICAgICAgbGluZU51bWJlcjogbGluZU51bWJlcixcbiAgICAgICAgbGluZVN0YXJ0OiBsaW5lU3RhcnQsXG4gICAgICAgIHJhbmdlOiBbc3RhcnQsIGluZGV4XVxuICAgIH07XG59XG5cbmZ1bmN0aW9uIHNjYW5KU1hTdHJpbmdMaXRlcmFsKCkge1xuICAgIHZhciBpbm5lclRva2VuLCBxdW90ZSwgc3RhcnQ7XG5cbiAgICBxdW90ZSA9IHNvdXJjZVtpbmRleF07XG4gICAgYXNzZXJ0KChxd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G4gICAgICAgICAgICBpZiAoKCFzdGF0ZS5pbk9iamVjdExpdGVyYWwgfHwgYWxsb3dPYmplY3RMaXRlcmFsQ29tcHV0ZWQpICYmXG4gICAgICAgICAgICAgICAgICAgIHRva2VuLnZhbHVlID09PSBcIltcIikge1xuICAgICAgICAgICAgICAgIC8vIEZvciBjb21wdXRlZCBwcm9wZXJ0aWVzIHdlIHNob3VsZCBza2lwIHRoZSBbIGFuZCBdLCBhbmRcbiAgICAgICAgICAgICAgICAvLyBjYXB0dXJlIGluIG1hcmtlciBvbmx5IHRoZSBhc3NpZ25tZW50IGV4cHJlc3Npb24gaXRzZWxmLlxuICAgICAgICAgICAgICAgIG1hcmtlciA9IG1hcmtlckNyZWF0ZSgpO1xuICAgICAgICAgICAgICAgIGV4cHIgPSBwYXJzZUFzc2lnbm1lbnRFeHByZXNzaW9uKCk7XG4gICAgICAgICAgICAgICAgcmVzdWx0ID0gbWFya2VyQXBwbHkobWFya2VyLCBleHByKTtcbiAgICAgICAgICAgICAgICBleHBlY3QoXCJdXCIpO1xuICAgICAgICAgICAgICAgIHJldHVybiByZXN1bHQ7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgLy8gbm8gZGVmYXVsdFxuICAgIH1cblxuICAgIHRocm93VW5leHBlY3RlZCh0b2tlbik7XG59XG5cbmZ1bmN0aW9uIGxvb2thaGVhZFByb3BlcnR5TmFtZSgpIHtcbiAgICBzd2l0Y2ggKGxvb2thaGVhZC50eXBlKSB7XG4gICAgICAgIGNhc2UgVG9rZW4uSWRlbnRpZmllcjpcbiAgICAgICAgY2FzZSBUb2tlbi5TdHJpbmdMaXRlcmFsOlxuICAgICAgICBjYXNlIFRva2VuLkJvb2xlYW5MaXRlcmFsOlxuICAgICAgICBjYXNlIFRva2VuLk51bGxMaXRlcmFsOlxuICAgICAgICBjYXNlIFRva2VuLk51bWVyaWNMaXRlcmFsOlxuICAgICAgICBjYXNlIFRva2VuLktleXdvcmQ6XG4gICAgICAgICAgICByZXR1c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WYgKHRva2VuLnZhbHVlID09PSBcImdldFwiICYmIGxvb2thaGVhZFByb3BlcnR5TmFtZSgpKSB7XG5cbiAgICAgICAgICAgIGNvbXB1dGVkID0gbWF0Y2goXCJbXCIpO1xuICAgICAgICAgICAga2V5ID0gcGFyc2VPYmplY3RQcm9wZXJ0eUtleSgpO1xuICAgICAgICAgICAgbWV0aG9kTWFya2VyID0gbWFya2VyQ3JlYXRlKCk7XG4gICAgICAgICAgICBleHBlY3QoXCIoXCIpO1xuICAgICAgICAgICAgZXhwZWN0KFwiKVwiKTtcblxuICAgICAgICAgICAgdmFsdWUgPSBwYXJzZVByb3BlcnR5RnVuY3Rpb24oe1xuICAgICAgICAgICAgICAgIHBhcmFtczogW10sXG4gICAgICAgICAgICAgICAgc3RyaWN0ZWQ6IG51bGwsXG4gICAgICAgICAgICAgICAgZmlyc3RSZXN0cmljdGVkOiBudWxsLFxuICAgICAgICAgICAgICAgIG1lc3NhZ2U6IG51bGxcbiAgICAgICAgICAgIH0sIHtcbiAgICAgICAgICAgICAgICBtYXJrZXI6IG1ldGhvZE1hcmtlclxuICAgICAgICAgICAgfSk7XG5cbiAgICAgICAgICAgIHJldHVybiBtYXJrZXJBcHBseShtYXJrZXIsIGFzdE5vZGVGYWN0b3J5LmNyZWF0ZVByb3BlcnR5KFwiZ2V0XCIsIGtleSwgdmFsdWUsIGZhbHNlLCBmYWxzZSwgY29tcHV0ZWQpKTtcblxuICAgICAgICB9IGVsc2UgaWYgKHRva2VuLnZhbHVlID09PSBcInNldFwiICYmIGxvb2thaGVhZFByb3BlcnR5TmFtZSgpKSB7XG4gICAgICAgICAgICBjb21wdXRlZCA9IG1hdGNoKFwiW1wiKTtcbiAgICAgICAgICAgIGtleSA9IHBhcnNlT2JqZWN0UHJvcGVydHlLZXkoKTtcbiAgICAgICAgICAgIG1ldGhvZE1hcmtlciA9IG1hcmtlckNyZWF0ZSgpO1xuICAgICAgICAgICAgZXhwZWN0KFwiKFwiKTtcblxuICAgICAgIC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WwhIFwiZ2V0XCIgYW5kIFwic2V0XCIgYXJlIGxlZ2FsXG4gICAgICAgICAqIG1ldGhvZCBuYW1lcy4gSXQncyBvbmx5IGEgZ2V0dGVyIG9yIHNldHRlciBpZiBmb2xsb3dlZCBieSBhIHNwYWNlLlxuICAgICAgICAgKi9cbiAgICAgICAgaWYgKHRva2VuLnZhbHVlID09PSBcImdldFwiICYmXG4gICAgICAgICAgICAgICAgIShtYXRjaChcIjpcIikgfHwgbWF0Y2goXCIoXCIpIHx8IG1hdGNoKFwiLFwiKSB8fCBtYXRjaChcIn1cIikpKSB7XG4gICAgICAgICAgICBjb21wdXRlZCA9IChsb29rYWhlYWQudmFsdWUgPT09IFwiW1wiKTtcbiAgICAgICAgICAgIGtleSA9IHBhcnNlT2JqZWN0UHJvcGVydHlLZXkoKTtcbiAgICAgICAgICAgIG1ldGhvZE1hcmtlciA9IG1hcmtlckNyZWF0ZSgpO1xuICAgICAgICAgICAgZXhwZWN0KFwiKFwiKTtcbiAgICAgICAgICAgIGV4cGVjdChcIilcIik7XG5cbiAgICAgICAgICAgIHJldHVybiBtYXJrZXJBcHBseShcbiAgICAgICAgICAgICAgICBtYXJrZXIsXG4gICAgICAgICAgICAgICAgYXN0Tm9kZUZhY3RvcnkuY3JlYXRlUHJvcGVydHkoXG4gICAgICAgICAgICAgICAgICAgIFwiZ2V0XCIsXG4gICAgICAgICAgICAgICAgICAgIGtleSxcbiAgICAgICAgICAgICAgICAgICAgcGFyc2VQcm9wZXJ0eUZ1bmN0aW9uKHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGdlbmVyYXRvcjogZmFsc2VcbiAgICAgICAgICAgICAgICAgICAgfSwge1xuICAgICAgICAgICAgICAgICAgICAgICAgbWFya2VyOiBtZXRob2RNYXJrZXJcbiAgICAgICAgICAgICAgICAgICAgfSksXG4gICAgICAgICAgICAgICAgICAgIGZhbHNlLFxuICAgICAgICAgICAgICAgICAgICBmYWxzZSxcbiAgICAgICAgICAgICAgICAgICAgY29tcHV0ZWRcbiAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICApO1xuICAgICAgICB9XG5cbiAgICAgICAgaWYgKHRva2VuLnZhbHVlID09PSBcInNldFwiICYmXG4gICAgICAgICAgICAgICAgIShtYXRjaChcIjpcIikgfHwgbWF0Y2goXCIoXCIpIHx8IG1hdGNoKFwiLFwiKSB8fCBtYXRjaChcIn1cIikpKSB7XG4gICAgICAgICAgICBjb21wdXRlZCA9IChsb29rYWhlYWQudmFsdWUgPT09IFwiW1wiKTtcbiAgICAgICAgICAgIGtleSA9IHBhcnNlT2JqZWN0UHJvcGVydHlLZXkoKTtcbiAgICAgICAgICAgIG1ldGhvZE1hcmtlciA9IG1hcmtlckNyZWF0ZSgpO1xuICAgICAgICAgICAgZXhwZWN0KFwiKFwiKTtcblxuICAgICAgICAgICAgb3B0aW9ucyA9IHtcbiAgICAgICAgICAgICAgICBwYXJhbXM6IFtdLFxuICAgICAgICAgICAgICAgIGRlZmF1bHRDb3VudDogMCxcbiAgICAgICAgICAgICAgICBzdHJpY3RlZDogbnVsbCxcbiAgICAgICAgICAgICAgICBmaXJzdFJlc3RyaWN0ZWQ6IG51bGwsXG4gICAgICAgICAgICAgICAgcGFyYW1TZXQ6IG5ldyBTdHJpbmdNYXAoKVxuICAgICAgICAgICAgfTtcblxuICAgICAgICAgICAgaWYgKG1hdGNoKFwiKVwiKSkge1xuICAgICAgICAgICAgICAgIHRocm93RXJyb3JUb2xlcmFudChsb29rYWhlYWQsIE1lc3NhZ2VzLlVuZXhwZWN0ZWRUb2tlbiwgbG9va2FoZWFkLnZhbHVlKTtcbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgcGFyc2VQYXJhbShvcHRpb25zKTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgZXhwZWN0KFwiKVwiKTtcblxuICAgICAgICAgICAgcmV0dXJuIG1hcmtlckFwcGx5KFxuICAgICAgICAgICAgICAgIG1hcmtlcixcbiAgICAgICAgICAgICAgICBhc3ROb2RlRmFjdG9yeS5jcmVhdGVQcm9wZXJ0eShcbiAgICAgICAgICAgICAgICAgICAgXCJzZXRcIixcbiAgICAgICAgICAgICAgICAgICAga2V5LFxuICAgICAgICAgICAgICAgICAgICBwYXJzZVByb3BlcnR5RnVuY3Rpb24ob3B0aW9ucywge1xuICAgICAgICAgICAgICAgICAgICAgICAgbWFya2VyOiBtZXRob2RNYXJrZXJcbiAgICAgICAgICAgICAgICAgICAgfSksXG4gICAgICAgICAgICAgICAgICAgIGZhbHNlLFxuICAgICAgICAgICAgICAgICAgICBmYWxzZSxcbiAgICAgICAgICAgICAgICAgICAgY29tcHV0ZWRcbiAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICApO1xuICAgICAgICB9XG5cbiAgICAgICAgLy8gbm9ybWFsIHByb3BlcnR5IChrZXk6dmFsdWUpXG4gICAgICAgIGlmIChtYXRjaChcIjpcIikpIHtcbiAgICAgICAgICAgIGxleCgpO1xuICAgICAgICAgICAgcmV0dXJuIG1hcmtlckFwcGx5KFxuICAgICAgICAgICAgICAgIG1hcmtlcixcbiAgICAgICAgICAgICAgICBhc3ROb2RlRmFjdG9yeS5jcmVhdGVQcm9wZXJ0eShcbiAgICAgICAgICAgICAgICAgICAgXCJpbml0XCIsXG4gICAgICAgICAgICAgICAgICAgIGlkLFxuICAgICAgICAgICAgICAgICAgICBwYXJzZUFzc2lnbm1lbnRFeHByZXNzaW9uKCksXG4gICAgICAgICAgICAgICAgICAgIGZhbHNlLFxuICAgICAgICAgICAgICAgICAgICBmYWxzZSxcbiAgICAgICAgICAgICAgICAgICAgY29tcHV0ZWRcbiAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICApO1xuICAgICAgICB9XG5cbiAgICAgICAgLy8gbWV0aG9kIHNob3J0aGFuZCAoa2V5KCl7Li4ufSlcbiAgICAgICAgaWYgKGFsbG93TWV0aG9kICYmIG1hdGNoKFwiKFwiKSkge1xuICAgICAgICAgICAgcmV0dXJuIG1hcmtlckFwcGx5KFxuICAgICAgICAgICAgICAgIG1hcmtlcixcbiAgICAgICAgICAgICAgICBhc3ROb2RlRmFjdG9yeS5jcmVhdGVQcm9wZXJ0eShcbiAgICAgICAgICAgICAgICAgICAgXCJpbml0XCIsXG4gICAgICAgICAgICAgICAgICAgIGlkLFxuICAgICAgICAgICAgICAgICAgICBwYXJzZVByb3BlcnR5TWV0aG9kRnVuY3Rpb24oeyBnZW5lcmF0b3I6IGZhbHNlIH0pLFxuICAgICAgICAgICAgICAgICAgICB0cnVlLFxuICAgICAgICAgICAgICAgICAgICBmYWxzZSxcbiAgICAgICAgICAgICAgICAgICAgY29tcHV0ZWRcbiAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICApO1xuICAgICAgICB9XG5cbiAgICAgICAgLy8gZGVzdHJ1Y3R1cmluZyBkZWZhdWx0cyAoc2hvcnRoYW5kIHN5bnRheClcbiAgICAgICAgaWYgKGFsbG93RGVzdHJ1Y3R1cmluZyAmJiBtYXRjaChcIj1cIikpIHtcbiAgICAgICAgICAgIGxleCgpO1xuICAgICAgICAgICAgdmFyIHZhbHVlID0gcGFyc2VBc3NpZ25tZW50RXhwcmVzc2lvbigpO1xuICAgICAgICAgICAgdmFyIHByb3AgPSBtYXJrZXJBcHBseShtYXJrZXIsIGFzdE5vZGVGYWN0b3J5LmNyZWF0ZUFzc2lnbm1lbnRFeHByZXNzaW9uKFwiPVwiLCBpZCwgdmFsdWUpKTtcbiAgICAgICAgICAgIHByb3AudHlwZSA9IGFzdE5vZGVUeXBlcy5Bc3NpZ25tZW50UGF0dGVybjtcbiAgICAgICAgICAgIHZhciBmdWxsUHJvcGVydHkgPSBhc3ROb2RlRmFjdG9yeS5jcmVhdGVQcm9wZXJ0eShcbiAgICAgICAgICAgICAgICBcImluaXRcIixcbiAgICAgICAgICAgICAgICBpZCxcbiAgICAgICAgICAgICAgICBwcm9wLFxuICAgICAgICAgICAgICAgIGZhbHNlLFxuICAgICAgICAgICAgICAgIHRydWUsIC8vIHNob3J0aGFuZFxuICAgICAgICAgICAgICAgIGNvbXB1dGVkXG4gICAgICAgICAgICApO1xuICAgICAgICAgICAgcmV0dXJuIG1hcmtlckFwcGx5KG1hcmtlciwgZnVsbFByb3BlcnR5KTtcbiAgICAgICAgfVxuXG4gICAgICAgIC8qXG4gICAgICAgICAqIE9ubHkgb3RoZXIgcG9zc2liaWxpdHkgaXMgdGhhdCB0aGlzIGlzIGEgc2hvcnRoYW5kIHByb3BlcnR5LiBDb21wdXRlZFxuICAgICAgICAgKiBwcm9wZXJ0aWVzIGNhbm5vdCB1c2Ugc2hvcnRoYW5kIG5vdGF0aW9uLCBzbyB0aGF0J3MgYSBzeW50YXggZXJyb3IuXG4gICAgICAgICAqIElmIHNob3J0aGFuZCBwcm9wZXJ0aWVzIGFyZW4ndCBhbGxvdywgdGhlbiB0aGlzIGlzIGFuIGF1dG9tYXRpY1xuICAgICAgICAgKiBzeW50YXggZXJyb3IuIERlc3RydWN0dXJpbmcgaXMgYW5vdGhlciBjYXNlIHdpdGggYSBzaW1pbGFyIHNob3J0aGFuZCBzeW50YXguXG4gICAgICAgICAqL1xuICAgICAgICBpZiAoY29tcHV0ZWQgfHwgKCFhbGxvd1Nob3J0aGFuZCAmJiAhYWxsb3dEZXN0cnVjdHVyaW5nKSkge1xuICAgICAgICAgICAgdGhyb3dVbmV4cGVjdGVkKGxvb2thaGVhZCk7XG4gICAgICAgIH1cblxuICAgICAgICAvLyBzaG9ydGhhbmQgcHJvcGVydHlcbiAgICAgICAgcmV0dXJuIG1hcmtlckFwcGx5KFxuICAgICAgICAgICAgbWFya2VyLFxuICAgICAgICAgICAgYXN0Tm9kZUZhY3RvcnkuY3JlYXRlUHJvcGVydHkoXG4gICAgICAgICAgICAgICAgXCJpbml0XCIsXG4gICAgICAgICAgICAgICAgaWQsXG4gICAgICAgICAgICAgICAgaWQsXG4gICAgICAgICAgICAgICAgZmFsc2UsXG4gICAgICAgICAgICAgICAgdHJ1ZSxcbiA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2l0aCBhIGNvbG9uIG9yIGEgbWV0aG9kLlxuICAgICAqL1xuICAgIGtleSA9IHBhcnNlT2JqZWN0UHJvcGVydHlLZXkoKTtcblxuICAgIC8vIGNoZWNrIGZvciBwcm9wZXJ0eSB2YWx1ZVxuICAgIGlmIChtYXRjaChcIjpcIikpIHtcbiAgICAgICAgbGV4KCk7XG4gICAgICAgIHJldHVybiBtYXJrZXJBcHBseShcbiAgICAgICAgICAgIG1hcmtlcixcbiAgICAgICAgICAgIGFzdE5vZGVGYWN0b3J5LmNyZWF0ZVByb3BlcnR5KFxuICAgICAgICAgICAgICAgIFwiaW5pdFwiLFxuICAgICAgICAgICAgICAgIGtleSxcbiAgICAgICAgICAgICAgICBwYXJzZUFzc2lnbm1lbnRFeHByZXNzaW9uKCksXG4gICAgICAgICAgICAgICAgZmFsc2UsXG4gICAgICAgICAgICAgICAgZmFsc2UsXG4gICAgICAgICAgICAgICAgZmFsc2VcbiAgICAgICAgICAgIClcbiAgICAgICAgKTtcbiAgICB9XG5cbiAgICAvLyBjaGVjayBmb3IgbWV0aG9kXG4gICAgaWYgKGFsbG93TWV0aG9kICYmIG1hdGNoKFwiKFwiKSkge1xuICAgICAgICByZXR1cm4gbWFya2VyQXBwbHkoXG4gICAgICAgICAgICBtYXJrZXIsXG4gICAgICAgICAgICBhc3ROb2RlRmFjdG9yeS5jcmVhdGVQcm9wZXJ0eShcbiAgICAgICAgICAgICAgICBcImluaXRcIixcbiAgICAgICAgICAgICAgICBrZXksXG4gICAgICAgICAgICAgICAgcGFyc2VQcm9wZXJ0eU1ldGhvZEZ1bmN0aW9uKCksXG4gICAgICAgICAgICAgICAgdHJ1ZSxcbiAgICAgICAgICAgICAgICBmYWxzZSxcbiAgICAgICAgICAgICAgICBmYWxzZVxuICAgICAgICAgICAgKVxuICAgICAgICApO1xuICAgIH1cblxuICAgIC8vIG5vIG90aGVyIG9wdGlvbnMsIHRoaXMgaXMgYmFkXG4gICAgdGhyb3dVbmV4cGVjdGVkK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gICBwcm9wZXJ0eUZuID0gKHByb3BlcnR5LmtpbmQgPT09IFwiZ2V0XCIpID8gUHJvcGVydHlLaW5kLkdldCA6IFByb3BlcnR5S2luZC5TZXQ7XG4gICAgICAgICAgICBraW5kID0gKHByb3BlcnR5LmtpbmQgPT09IFwiaW5pdFwiKSA/IFByb3BlcnR5S2luZC5EYXRhIDogcHJvcGVydHlGbjtcblxuICAgICAgICAgICAgaWYgKGtpbmRNYXAuaGFzKG5hbWUpKSB7XG4gICAgICAgICAgICAgICAgc3RvcmVkS2luZCA9IGtpbmRNYXAuZ2V0KG5hbWUpO1xuICAgICAgICAgICAgICAgIGlmIChzdG9yZWRLaW5kID09PSBQcm9wZXJ0eUtpbmQuRGF0YSkge1xuICAgICAgICAgICAgICAgICAgICBpZiAoa2luZCA9PT0gUHJvcGVydHlLaW5kLkRhdGEgJiYgbmFtZSA9PT0gXCJfX3Byb3RvX19cIiAmJiBhbGxvd0R1cGxpY2F0ZXMpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIC8vIER1cGxpY2F0ZSAnX19wcm90b19fJyBsaXRlcmFsIHByb3BlcnRpZXMgYXJlIGZvcmJpZGRlbiBpbiBFUyA2XG4gICAgICAgICAgICAgICAgICAgICAgICB0aHJvd0Vycm9yVG9sZXJhbnQoe30sIE1lc3NhZ2VzLkR1cGxpY2F0ZVByb3RvdHlwZVByb3BlcnR5KTtcbiAgICAgICAgICAgICAgICAgICAgfSBlbHNlIGlmIChzdHJpY3QgJiYga2luZCA9PT0gUHJvcGVydHlLaW5kLkRhdGEgJiYgIWFsbG93RHVwbGljYXRlcykge1xuICAgICAgICAgICAgICAgICAgICAgICAgLy8gRHVwbGljYXRlIGxpdGVyYWwgcHJvcGVydGllcyBhcmUgb25seSBmb3JiaWRkZW4gaW4gRVMgNSBzdHJpY3QgbW9kZVxuICAgICAgICAgICAgICAgICAgICAgICAgdGhyb3dFcnJvclRvbGVyYW50KHt9LCBNZXNzYWdlcy5TdHJpY3REdXBsaWNhdGVQcm9wZXJ0eSk7XG4gICAgICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoa2luZCAhPT0gUHJvcGVydHlLaW5kLkRhdGEpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHRocm93RXJyb3JUb2xlcmFudCh7fSwgTWVzc2FnZXMuQWNjZXNzb3JEYXRhUHJvcGVydHkpO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgaWYgKGtpbmQgPT09IFByb3BlcnR5S2luZC5EYXRhKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICB0aHJvd0Vycm9yVG9sZXJhbnQoe30sIE1lc3NhZ2VzLkFjY2Vzc29yRGF0YVByb3BlcnR5KTtcbiAgICAgICAgICAgICAgICAgICAgfSBlbHNlIGlmIChzdG9yZWRLaW5kICYga2luZCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgdGhyb3dFcnJvclRvbGVyYW50KHt9LCBNZXNzYWdlcy5BY2Nlc3NvckdldFNldCk7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAga2luZE1hcC5zZXQobmFtZSwgc3RvcmVkS2luZCB8IGtpbmQpO1xuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICBraW5kTWFwLnNldChuYW1lLCBraW5kKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIHByb3BlcnRpZXMucHVzaChwcm9wZXJ0eSk7XG5cbiAgICAgICAgaWYgKCFtYXRjaChcIn1cIikpIHtcbiAgICAgICAgICAgIGV4cGVjdChcIixcIik7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICBleHBlY3QoXCJ9XCIpO1xuXG4gICAgc3RhdGUuaW5PYmplY3RMaXRlcmFsID0gcHJldmlvdXNJbk9iamVjdExpdGVyYWw7XG5cbiAgICByZXR1cm4gbWFya2VyQX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ZXMuQXNzaWdubWVudFBhdHRlcm47XG4gICAgICAgICAgICBkZWxldGUgcGFyYW0ub3BlcmF0b3I7XG5cbiAgICAgICAgICAgIGlmIChwYXJhbS5yaWdodC50eXBlID09PSBhc3ROb2RlVHlwZXMuWWllbGRFeHByZXNzaW9uKSB7XG4gICAgICAgICAgICAgICAgaWYgKHBhcmFtLnJpZ2h0LmFyZ3VtZW50KSB7XG4gICAgICAgICAgICAgICAgICAgIHRocm93VW5leHBlY3RlZChsb29rYWhlYWQpO1xuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIHBhcmFtLnJpZ2h0LnR5cGUgPSBhc3ROb2RlVHlwZXMuSWRlbnRpZmllcjtcbiAgICAgICAgICAgICAgICBwYXJhbS5yaWdodC5uYW1lID0gXCJ5aWVsZFwiO1xuICAgICAgICAgICAgICAgIGRlbGV0ZSBwYXJhbS5yaWdodC5hcmd1bWVudDtcbiAgICAgICAgICAgICAgICBkZWxldGUgcGFyYW0ucmlnaHQuZGVsZWdhdGU7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIHBhcmFtcy5wdXNoKHBhcmFtKTtcbiAgICAgICAgICAgIHZhbGlkYXRlUGFyYW0ob3B0aW9ucywgcGFyYW0ubGVmdCwgcGFyYW0ubGVmdC5uYW1lKTtcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgaWYgKG9wdGlvbnMubWVzc2FnZSA9PT0gTWVzc2FnZXMuU3RyaWN0UGFyYW1EdXBlKSB7XG4gICAgICAgIHRocm93RXJyb3IoXG4gICAgICAgICAgICBzdHJpY3QgPyBvcHRpb25zLnN0cmljdGVkIDogb3B0aW9ucy5maXJzdFJlc3RyaWN0ZWQsXG4gICAgICAgICAgICBvcHRpb25zLm1lc3NhZ2VcbiAgICAgICAgKTtcbiAgICB9XG5cbiAgICByZXR1cm4ge1xuICAgICAgICBwYXJhbXM6IH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gICAgICAgICAgICAgIGlmIChwcm9wZXJ0eS5hcmd1bWVudC50eXBlICE9PSBhc3ROb2RlVHlwZXMuSWRlbnRpZmllcikge1xuICAgICAgICAgICAgICAgICAgICB0aHJvd0Vycm9yVG9sZXJhbnQoe30sIFwiSW52YWxpZCBvYmplY3QgcmVzdC5cIik7XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgcHJvcGVydHkudHlwZSA9IGFzdE5vZGVUeXBlcy5FeHBlcmltZW50YWxSZXN0UHJvcGVydHk7XG4gICAgICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICBpZiAocHJvcGVydHkua2luZCAhPT0gXCJpbml0XCIpIHtcbiAgICAgICAgICAgICAgICB0aHJvd0Vycm9yVG9sZXJhbnQoe30sIE1lc3NhZ2VzLkludmFsaWRMSFNJbkFzc2lnbm1lbnQpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgcmVpbnRlcnByZXRBc0Fzc2lnbm1lbnRCaW5kaW5nUGF0dGVybihwcm9wZXJ0eS52YWx1ZSk7XG4gICAgICAgIH1cbiAgICB9IGVsc2UgaWYgKGV4cHIudHlwZSA9PT0gYXN0Tm9kZVR5cGVzLkFycmF5RXhwcmVzc2lvbikge1xuICAgICAgICBleHByLnR5cGUgPSBhc3ROb2RlVHlwZXMuQXJyYXlQYXR0ZXJuO1xuICAgICAgICBmb3IgKGkgPSAwLCBsZW4gPSBleHByLmVsZW1lbnRzLmxlbmd0aDsgaSA8IGxlbjsgaSArPSAxKSB7XG4gICAgICAgICAgICBlbGVtZW50ID0gZXhwci5lbGVtZW50c1tpXTtcbiAgICAgICAgICAgIC8qIGlzdGFuYnVsIGlnbm9yZSBlbHNlICovXG4gICAgICAgICAgICBpZiAoZWxlbWVudCkge1xuICAgICAgICAgICAgICAgIHJlaW50ZXJwcmV0QXNBc3NpZ25tZW50QmluZGluZ1BhdHRlcm4oZWxlbWVudCk7XG4gICAgICAgIC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V4cHJlc3Npb24oKSxcbiAgICAgICAgZXhwcmVzc2lvbnMgPSBbIGV4cHIgXSxcbiAgICAgICAgc2VxdWVuY2UsIHNwcmVhZEZvdW5kO1xuXG4gICAgaWYgKG1hdGNoKFwiLFwiKSkge1xuICAgICAgICB3aGlsZSAoaW5kZXggPCBsZW5ndGgpIHtcbiAgICAgICAgICAgIGlmICghbWF0Y2goXCIsXCIpKSB7XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBsZXgoKTtcbiAgICAgICAgICAgIGV4cHIgPSBwYXJzZVNwcmVhZE9yQXNzaWdubWVudEV4cHJlc3Npb24oKTtcbiAgICAgICAgICAgIGV4cHJlc3Npb25zLnB1c2goZXhwcik7XG5cbiAgICAgICAgICAgIGlmIChleHByLnR5cGUgPT09IGFzdE5vZGVUeXBlcy5TcHJlYWRFbGVtZW50KSB7XG4gICAgICAgICAgICAgICAgc3ByZWFkRm91bmQgPSB0cnVlO1xuICAgICAgICAgICAgICAgIGlmICghbWF0Y2goXCIpXCIpKSB7XG4gICAgICAgICAgICAgICAgICAgIHRocm93RXJyb3Ioe30sIE1lc3NhZ2VzLkVsZW1lbnRBZnRlclNwcmVhZEVsZW1lbnQpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIHNlcXVlbmNlID0gbWFya2VyQXBwbHkobWFya2VyLCBhc3ROb2RlRmFjdG9yeS5jcmVhdGVTZXF1ZW5jZUV4cHJlc3Npb24oZXhwcmVzc2lvbnMpKTtcbiAgICB9XG5cbiAgICBpZiAoc3ByZWFkRm91bmQgJiYgbG9va2FoZWFkMigpLnZhbHVlICE9PSBcIj0+XCIpIHtcbiAgICAgICAgdGhyb3dFcnJvcih7fSwgTWVzc2FnZXMuSWxsZWdhbFNwcmVhZCk7XG4gICAgfVxuXG4gICAgcmV0dXJuIHNlcXVlbm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29yZChcIm9mXCIpKSkge1xuICAgICAgICAgICAgICAgICAgICBvcGVyYXRvciA9IGxvb2thaGVhZDtcblxuICAgICAgICAgICAgICAgICAgICAvLyBUT0RPOiBpcyBcInZhclwiIGNoZWNrIGhlcmUgcmVhbGx5IG5lZWRlZD8gd2FzblwidCBpbiAxLjIuMlxuICAgICAgICAgICAgICAgICAgICBpZiAoISgob3BlcmF0b3IudmFsdWUgPT09IFwiaW5cIiB8fCBpbml0LmtpbmQgIT09IFwidmFyXCIpICYmIGluaXQuZGVjbGFyYXRpb25zWzBdLmluaXQpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBsZXgoKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGxlZnQgPSBpbml0O1xuICAgICAgICAgICAgICAgICAgICAgICAgcmlnaHQgPSBwYXJzZUV4cHJlc3Npb24oKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGluaXQgPSBudWxsO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuXG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICBzdGF0ZS5hbGxvd0luID0gZmFsc2U7XG4gICAgICAgICAgICBpbml0ID0gcGFyc2VFeHByZXNzaW9uKCk7XG4gICAgICAgICAgICBzdGF0ZS5hbGxvd0luID0gdHJ1ZTtcblxuICAgICAgICAgICAgaWYgKGluaXQudHlwZSA9PT0gYXN0Tm9kZVR5cGVzLkFycmF5RXhwcmVzc2lvbikge1xuICAgICAgICAgICAgICAgIGluaXQudHlwZSA9IGFzdE5vZGVUeXBlcy5BcnJheVBhdHRlcm47XG4gICAgICAgICAgICB9XG5cblxuICAgICAgICAgICAgaWYgKGFsbG93Rm9yT2YgJiYgbWF0Y2hDb250ZXh0dWFsS2V5d29yZChcIm9mXCIpKSB7XG4gICAgICAgICAgICAgICAgb3BlcmF0b3IgPSBsZXgoKTtcbiAgICAgICAgICAgICAgICBsZWZ0ID0gaW5pdDtcbiAgICAgICAgICAgICAgICByaWdodCA9IHBhcnNlRXhwcmVzc2lvbigpO1xuICAgICAgICAgICAgICAgIGluaXQgPSBudWxsO1xuICAgICAgICAgICAgfSBlbHNlIGlmIChtYXRjaEtleXdvcmQoXCJpblwiKSkge1xuICAgICAgICAgICAgICAgIC8vIExlZnRIYW5kU2lkZUV4cHJlc3Npb25cbiAgICAgICAgICAgICAgICBpZiAoIWlzTGVmdEhhbmRTaWRlKGluaXQpKSB7XG4gICAgICAgICAgICAgICAgICAgIHRocm93RXJyb3JUb2xlcmFudCh7fSwgTWVzc2FnZXMuSW52YWxpZExIU0luRm9ySW4pO1xuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIG9wZXJhdG9yID0gbGV4KCk7XG4gICAgICAgICAgICAgICAgbGVmdCA9IGluaXQ7XG4gICAgICAgICAgICAgICAgcmlnaHQgPSBwYXJzZUV4cHJlc3Npb24oKTtcbiAgICAgICAgICAgICAgICBpbml0ID0gbnVsbDtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIGlmICh0eXBlb2YgbGVmdCA9PT0gXCJ1bmRlZmluZWRcIikge1xuICAgICAgICAgICAgZXhwZWN0KFwiO1wiKTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIGlmICh0eXBlb2YgbGVmdCA9PT0gXCJ1bmRlZmluZWRcIikge1xuXG4gICAgICAgIGlmICghbWF0Y2goXCI7XCIpKSB7XG4gICAgICAgICAgICB0ZXN0ID0gcGFyc2VFeHByZXNzaW9uKCk7XG4gICAgICAgIH1cbiAgICAgICAgZXhwZWN0KFwiO1wiKTtcblxuICAgICAgICBpZiAoIW1hdGNoKFwiKVwiKSkge1xuICAgICAgICAgICAgdXBkYXRlID0gcGFyc2VFeHByZXNzaW9uKCk7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICBleHBlY3QoXCIpXCIpO1xuXG4gICAgb2xkSW5JdGVyYXRpb24gPSBzdGF0ZS5pbkl0ZXJhdG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9rZW4uRU9GKSB7XG4gICAgICAgIHRocm93VW5leHBlY3RlZChsb29rYWhlYWQpO1xuICAgIH1cblxuICAgIGlmICh0eXBlID09PSBUb2tlbi5QdW5jdHVhdG9yICYmIGxvb2thaGVhZC52YWx1ZSA9PT0gXCJ7XCIpIHtcbiAgICAgICAgcmV0dXJuIHBhcnNlQmxvY2soKTtcbiAgICB9XG5cbiAgICBtYXJrZXIgPSBtYXJrZXJDcmVhdGUoKTtcblxuICAgIGlmICh0eXBlID09PSBUb2tlbi5QdW5jdHVhdG9yKSB7XG4gICAgICAgIHN3aXRjaCAobG9va2FoZWFkLnZhbHVlKSB7XG4gICAgICAgICAgICBjYXNlIFwiO1wiOlxuICAgICAgICAgICAgICAgIHJldHVybiBtYXJrZXJBcHBseShtYXJrZXIsIHBhcnNlRW1wdHlTdGF0ZW1lbnQoKSk7XG4gICAgICAgICAgICBjYXNlIFwie1wiOlxuICAgICAgICAgICAgICAgIHJldHVybiBwYXJzZUJsb2NrKCk7XG4gICAgICAgICAgICBjYXNlIFwiKFwiOlxuICAgICAgICAgICAgICAgIHJldHVybiBtYXJrZXJBcHBseShtYXJrZXIsIHBhcnNlRXhwcmVzc2lvblN0YXRlbWVudCgpKTtcbiAgICAgICAgICAgIGRlZmF1bHQ6XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICBtYXJrZXIgPSBtYXJrZXJDcmVhdGUoKTtcblxuICAgIGlmICh0eXBlID09PSBUb2tlbi5LZXl3b3JkKSB7XG4gICAgICAgIHN3aXRjaCAobG9va2FoZWFkLnZhbHVlKSB7XG4gICAgICAgICAgICBjYXNlIFwiYnJlYWtcIjpcbiAgICAgICAgICAgICAgICByZXR1cm4gbWFya2VyQXBwbHkobWFya2VyLCBwYXJzZUJyZWFrU3RhdGVtZW50KCkpO1xuICAgICAgICAgICAgY2FzZSBcImNvbnRpbnVlXCI6XG4gICAgICAgICAgICAgICAgcmV0dXJuIG1hcmtlckFwcGx5KG1hcmtlciwgcGFyc2VDb250aW51ZVN0YXRlbWVudCgpKTtcbiAgICAgICAgICAgIGNhc2UgXCJkZWJ1Z2dlclwiOlxuICAgICAgICAgICAgICAgIHJldHVybiBtYXJrZXJBcHBseShtYXJrZXIsIHBhcnNlRGVidWdnZXJTdGF0ZW1lbnQoKSk7XG4gICAgICAgICAgICBjYXNlIFwiZG9cIjpcbiAgICAgICAgICAgICAgICByZXR1cm4gbWFya2VyQXBwbHkobWFya2VyLCBwYXJzZURvV2hpbGVTdGF0ZW1lbnQoKSk7XG4gICAgICAgICAgICBjYXNlIFwiZm9yXCI6XG4gICAgICAgICAgICAgICAgcmV0dXJuIG1hcmtlckFwcGx5KG1hcmtlciwgcGFyc2VGb3JTdGF0ZW1lbnQoKSk7XG4gICAgICAgICAgICBjYXNlIFwiZnVuY3Rpb25cIjpcbiAgICAgICAgICAgICAgICByZXR1cm4gbWFya2VyQXBwbHkobWFya2VyLCBwYXJzZUZ1bmN0aW9uRGVjbGFyYXRpb24oKSk7XG4gICAgICAgICAgICBjYXNlIFwiaWZcIjpcbiAgICAgICAgICAgICAgICByZXR1cm4gbWFya2VyQXBwbHkobWFya2VyLCBwYXJzZUlmU3RhdGVtZW50KCkpO1xuICAgICAgICAgICAgY2FzZSBcInJldHVyblwiOlxuICAgICAgICAgICAgICAgIHJldHVybiBtYXJrZXJBcHBseShtYXJrZXIsIHBhcnNlUmV0dXJuU3RhdGVtZW50KCkpO1xuICAgICAgICAgICAgY2FzZSBcInN3aXRjaFwiOlxuICAgICAgICAgICAgICAgIHJldHVybiBtYXJrZXJBcHBseShtYXJrZXIsIHBhcnNlU3dpdGNoU3RhdGVtZW50KCkpO1xuICAgICAgICAgICAgY2FzZSBcInRocm93XCI6XG4gICAgICAgICAgICAgICAgcmV0dXJuIG1hcmtlckFwcGx5KG1hcmtlciwgcGFyc2VUaHJvd1N0YXRlbWVudCgpKTtcbiAgICAgICAgICAgIGNhc2UgXCJ0cnlcIjpcbiAgICAgICAgICAgICAgICByZXR1cm4gbWFya2VyQXBwbHkobWFya2VyLCBwYXJzZVRyeVN0YXRlbWVudCgpKTtcbiAgICAgICAgICAgIGNhc2UgXCJ2YXJcIjpcbiAgICAgICAgICAgICAgICByZXR1cm4gbWFya2VyQXBwbHkobWFya2VyLCBwYXJzZVZhcmlhYmxlU3RhdGVtZW50KCkpO1xuICAgICAgICAgICAgY2FzZSBcIndoaWxlXCI6XG4gICAgICAgICAgICAgICAgcmV0dXJuIG1hcmtlckFwcGx5KG1hcmtlciwgcGFyc2VXaGlsZVN0YXRlbWVudCgpKTtcbiAgICAgICAgICAgIGNhc2UgXCJ3aXRoXCI6XG4gICAgICAgICAgICAgICAgcmV0dXJuIG1hcmtlckFwcGx5KG1hcmtlciwgcGFyc2VXaXRoU3RhdGVtZW50KCkpO1xuICAgICAgICAgICAgZGVmYXVsdDpcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgfVxuICAgIH1cblxuICAgIG1hcmtlciA9IG1hcmtlckNyZWF0ZSgpO1xuICAgIGV4cHIgPSBwYXJzZUV4cHJlc3Npb24oKTtcblxuICAgIC8vIDEyLjEyIExhYmVsbGVkIFN0YXRlbWVudHNcbiAgICBpZiAoKGV4cHIudHlwZSA9PT0gYXN0Tm9kZVR5cGVzLklkZW50aWZpZXIpICYmIG1hdGNoKFwiOlwiKSkge1xuICAgICAgICBsZXgoKTtcblxuICAgICAgICBpZiAoc3RhdGUubGFiZWxTZXQuaGFzKGV4cHIubmFtZSkpIHtcbiAgICAgICAgICAgIHRocm93RXJyb3Ioe30sIE1lc3NhZ2VzLlJlZGVjbGFyYXRpb24sIFwiTGFiZWxcIiwgZXhwci5uYW1lKTtcbiAgICAgICAgfVxuXG4gICAgICAgIHN0YXRlLmxhYmVsU2V0LnNldChleHByLm5hbWUsIHRydWUpO1xuICAgICAgICBsYWJlbGVkQm9keSA9IHBhcnNlU3RhdGVtZW50KCk7XG4gICAgICAgIHN0YXRlLmxhYmVsU2V0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G9ydE5hbWVkRGVjbGFyYXRpb24oKSB7XG4gICAgdmFyIGRlY2xhcmF0aW9uID0gbnVsbCxcbiAgICAgICAgaXNFeHBvcnRGcm9tSWRlbnRpZmllcixcbiAgICAgICAgc3JjID0gbnVsbCwgc3BlY2lmaWVycyA9IFtdLFxuICAgICAgICBtYXJrZXIgPSBtYXJrZXJDcmVhdGUoKTtcblxuICAgIGV4cGVjdEtleXdvcmQoXCJleHBvcnRcIik7XG5cbiAgICAvLyBub24tZGVmYXVsdCBleHBvcnRcbiAgICBpZiAobG9va2FoZWFkLnR5cGUgPT09IFRva2VuLktleXdvcmQpIHtcbiAgICAgICAgLy8gY292ZXJzOlxuICAgICAgICAvLyBleHBvcnQgdmFyIGYgPSAxO1xuICAgICAgICBzd2l0Y2ggKGxvb2thaGVhZC52YWx1ZSkge1xuICAgICAgICAgICAgY2FzZSBcImxldFwiOlxuICAgICAgICAgICAgY2FzZSBcImNvbnN0XCI6XG4gICAgICAgICAgICBjYXNlIFwidmFyXCI6XG4gICAgICAgICAgICBjYXNlIFwiY2xhc3NcIjpcbiAgICAgICAgICAgIGNhc2UgXCJmdW5jdGlvblwiOlxuICAgICAgICAgICAgICAgIGRlY2xhcmF0aW9uID0gcGFyc2VTb3VyY2VFbGVtZW50KCk7XG4gICAgICAgICAgICAgICAgcmV0dXJuIG1hcmtlckFwcGx5KG1hcmtlciwgYXN0Tm9kZUZhY3RvcnkuY3JlYXRlRXhwb3J0TmFtZWREZWNsYXJhdGlvbihkZWNsYXJhdGlvbiwgc3BlY2lmaWVycywgbnVsbCkpO1xuICAgICAgICAgICAgZGVmYXVsdDpcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgfVxuICAgIH1cblxuICAgIGV4cGVjdChcIntcIik7XG4gICAgaWYgKCFtYXRjaChcIn1cIikpIHtcbiAgICAgICAgZG8ge1xuICAgICAgICAgICAgaXNFeHBvcnRGcm9tSWRlbnRpZmllciA9IGlzRXhwb3J0RnJvbUlkZW50aW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ZXJhdG9yID0gbWF0Y2goXCIqXCIpO1xuICAgICAgICBjb21wdXRlZCA9IG1hdGNoKFwiW1wiKTtcbiAgICAgICAgbWFya2VyID0gbWFya2VyQ3JlYXRlKCk7XG5cbiAgICAgICAgaWYgKGdlbmVyYXRvcikge1xuICAgICAgICAgICAgaWYgKCFhbGxvd0dlbmVyYXRvcnMpIHtcbiAgICAgICAgICAgICAgICB0aHJvd1VuZXhwZWN0ZWQobG9va2FoZWFkKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGxleCgpO1xuICAgICAgICB9XG5cbiAgICAgICAga2V5ID0gcGFyc2VPYmplY3RQcm9wZXJ0eUtleSgpO1xuXG4gICAgICAgIC8vIHN0YXRpYyBnZW5lcmF0b3IgbWV0aG9kc1xuICAgICAgICBpZiAoa2V5Lm5hbWUgPT09IFwic3RhdGljXCIgJiYgbWF0Y2goXCIqXCIpKSB7XG4gICAgICAgICAgICBpZiAoIWFsbG93R2VuZXJhdG9ycykge1xuICAgICAgICAgICAgICAgIHRocm93VW5leHBlY3RlZChsb29rYWhlYWQpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgZ2VuZXJhdG9yID0gdHJ1ZTtcbiAgICAgICAgICAgIGxleCgpO1xuICAgICAgICB9XG5cbiAgICAgICAgaWYgKGtleS5uYW1lID09PSBcInN0YXRpY1wiICYmIGxvb2thaGVhZFByb3BlcnR5TmFtZSgpKSB7XG4gICAgICAgICAgICB0b2tlbiA9IGxvb2thaGVhZDtcbiAgICAgICAgICAgIGlzU3RhdGljID0gdHJ1ZTtcbiAgICAgICAgICAgIGNvbXB1dGVkID0gbWF0Y2goXCJbXCIpO1xuICAgICAgICAgICAga2V5ID0gcGFyc2VPYmplY3RQcm9wZXJ0eUtleSgpO1xuICAgICAgICB9XG5cbiAgICAgICAgaWYgKGdlbmVyYXRvcikge1xuICAgICAgICAgICAgbWV0aG9kID0gcGFyc2VHZW5lcmF0b3JQcm9wZXJ0eShrZXksIG1hcmtlcik7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICBtZXRob2QgPSB0cnlQYXJzZU1ldGhvZERlZmluaXRpb24odG9rZW4sIGtleSwgY29tcHV0ZWQsIG1hcmtlciwgZ2VuZXJhdG9yKTtcbiAgICAgICAgfVxuXG4gICAgICAgIGlmIChtZXRob2QpIHtcbiAgICAgICAgICAgIG1ldGhvZC5zdGF0aWMgPSBpc1N0YXRpYztcbiAgICAgICAgICAgIGlmIChtZXRob2Qua2luZCA9PT0gXCJpbml0XCIpIHtcbiAgICAgICAgICAgICAgICBtZXRob2Qua2luZCA9IFwibWV0aG9kXCI7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIGlmICghaXNTdGF0aWMpIHtcblxuICAgICAgICAgICAgICAgIGlmICghbWV0aG9kLmNvbXB1dGVkICYmIChtZXRob2Qua2V5Lm5hbWUgfHwgKG1ldGhvZC5rZXkudmFsdWUgJiYgbWV0aG9kLmtleS52YWx1ZS50b1N0cmluZygpKSkgPT09IFwiY29uc3RydWN0b3JcIikge1xuICAgICAgICAgICAgICAgICAgICBpZiAobWV0aG9kLmtpbmQgIT09IFwibWV0aG9kXCIgfHwgIW1ldGhvZC5tZXRob2QgfHwgbWV0aG9kLnZhbHVlLmdlbmVyYXRvcikge1xuICAgICAgICAgICAgICAgICAgICAgICAgdGhyb3dVbmV4cGVjdGVkKHRva2VuLCBNZXNzYWdlcy5Db25zdHJ1Y3RvclNwZWNpYWxNZXRob2QpO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIGlmIChoYXNDb25zdHJ1Y3Rvcikge1xuICAgICAgICAgICAgICAgICAgICAgICAgdGhyb3dVbmV4cGVjdGVkKHRva2VuLCBNZXNzYWdlcy5EdXBsaWNhdGVDb25zdHJ1Y3Rvcik7XG4gICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBoYXNDb25zdHJ1Y3RvciA9IHRydWU7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgbWV0aG9kLmtpbmQgPSBcImNvbnN0cnVjdG9yXCI7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICBpZiAoIW1ldGhvZC5jb21wdXRlZCAmJiAobWV0aG9kLmtleS5uYW1lIHx8IG1ldGhvZC5rZXkudmFsdWUudG9TdHJpbmcoKSkgPT09IFwicHJvdG90eXBlXCIpIHtcbiAgICAgICAgICAgICAgICAgICAgdGhyb3dVbmV4cGVjdGVkKHRva2VuLCBNZXNzYWdlcy5TdGF0aWNQcm90b3R5cGUpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIG1ldGhvZC50eXBlID0gYXN0Tm9kZVR5cGVzLk1ldGhvZERlZmluaXRpb247XG4gICAgICAgICAgICBkZWxldGUgbWV0aG9kLm1ldGhvZDtcbiAgICAgICAgICAgIGRlbGV0ZSBtZXRob2Quc2hvcnRoYW5kO1xuICAgICAgICAgICAgYm9keS5wdXNoKG1ldGhvZCk7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICB0aHJvd1VuZXhwZWN0ZWQobG9va2FoZWFkKTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIGxleCgpO1xuICAgIHJldHVybiBtYXJrZXJBcHBseSh0b3BNYXJrZXIsIGFzdE5vZGVGYWN0b3J5LmNyZWF0ZUNsYXNzQm9keShib2R5KSk7XG59XG5cbmZ1bmN0aW9uIHBhcnNlQ2xhc3NFeHByZXNzaW9uKCkge1xuICAgIHZhciBpZCA9IG51bGwsIHN1cGVyQ2xhc3MgPSBudWxsLCBtYXJrZXIgPSBtYXJrZXJDcmVhdGUoKSxcbiAgICAgICAgcHJldmlvdXNTdHJpY3QgPSBzdHJpY3QsIGNsYXNzQm9keTtcblxuICAgIC8vIGNsYXNzZXMgcnVuIGluIHN0cmljdCBtb2Rl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ICAgICAgICBjYXNlIFwiaW1wb3J0XCI6XG4gICAgICAgICAgICAgICAgaWYgKCFhbGxvd01vZHVsZXMpIHtcbiAgICAgICAgICAgICAgICAgICAgdGhyb3dFcnJvclRvbGVyYW50KHt9LCBNZXNzYWdlcy5JbGxlZ2FsSW1wb3J0RGVjbGFyYXRpb24pO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICByZXR1cm4gcGFyc2VJbXBvcnREZWNsYXJhdGlvbigpO1xuICAgICAgICAgICAgY2FzZSBcImZ1bmN0aW9uXCI6XG4gICAgICAgICAgICAgICAgcmV0dXJuIHBhcnNlRnVuY3Rpb25EZWNsYXJhdGlvbigpO1xuICAgICAgICAgICAgY2FzZSBcImNsYXNzXCI6XG4gICAgICAgICAgICAgICAgaWYgKGFsbG93Q2xhc3Nlcykge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4gcGFyc2VDbGFzc0RlY2xhcmF0aW9uKCk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgY2FzZSBcImNvbnN0XCI6XG4gICAgICAgICAgICBjYXNlIFwibGV0XCI6XG4gICAgICAgICAgICAgICAgaWYgKGFsbG93QmxvY2tCaW5kaW5ncykge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4gcGFyc2VDb25zdExldERlY2xhcmF0aW9uKGxvb2thaGVhZC52YWx1ZSk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIC8qIGZhbGxzIHRocm91Z2ggKi9cbiAgICAgICAgICAgIGRlZmF1bHQ6XG4gICAgICAgICAgICAgICAgcmV0dXJuIHBhcnNlU3RhdGVtZW50KCk7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICBpZiAobG9va2FoZWFkLnR5cGUgIT09IFRva2VuLkVPRikge1xuICAgICAgICByZXR1cm4gcGFyc2VTdGF0ZW1lbnQoKTtcbiAgICB9XG59XG5cbmZ1bmN0aW9uIHBhc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Chsb29rYWhlYWQudHlwZSAhPT0gVG9rZW4uRU9GKSB7XG4gICAgICAgICAgICB0cnkge1xuICAgICAgICAgICAgICAgIGxleCgpO1xuICAgICAgICAgICAgfSBjYXRjaCAobGV4RXJyb3IpIHtcbiAgICAgICAgICAgICAgICBpZiAoZXh0cmEuZXJyb3JzKSB7XG4gICAgICAgICAgICAgICAgICAgIGV4dHJhLmVycm9ycy5wdXNoKGxleEVycm9yKTtcbiAgICAgICAgICAgICAgICAgICAgLy8gV2UgaGF2ZSB0byBicmVhayBvbiB0aGUgZmlyc3QgZXJyb3JcbiAgICAgICAgICAgICAgICAgICAgLy8gdG8gYXZvaWQgaW5maW5pdGUgbG9vcHMuXG4gICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIHRocm93IGxleEVycm9yO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIGZpbHRlclRva2VuTG9jYXRpb24oKTtcbiAgICAgICAgdG9rZW5zID0gZXh0cmEudG9rZW5zO1xuXG4gICAgICAgIGlmICh0eXBlb2YgZXh0cmEuY29tbWVudHMgIT09IFwidW5kZWZpbmVkXCIpIHtcbiAgICAgICAgICAgIHRva2Vucy5jb21tZW50cyA9IGV4dHJhLmNvbW1lbnRzO1xuICAgICAgICB9XG4gICAgICAgIGlmICh0eXBlb2YgZXh0cmEuZXJyb3JzICE9PSBcInVuZGVmaW5lZFwiKSB7XG4gICAgICAgICAgICB0b2tlbnMuZXJyb3JzID0gZXh0cmEuZXJyb3JzO1xuICAgICAgICB9XG4gICAgfSBjYXRjaCAoZSkge1xuICAgICAgICB0aHJvdyBlO1xuICAgIH0gZmluYWxseSB7XG4gICAgICAgIGV4dHJhID0ge307XG4gICAgfVxuICAgIHJldHVybiB0b2tlbnM7XG59XG5cbi8vLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t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ZW50ID09PSBcImJvb2xlYW5cIiAmJiBvcHRpb25zLmNvbW1lbnQpIHtcbiAgICAgICAgICAgIGV4dHJhLmNvbW1lbnRzID0gW107XG4gICAgICAgIH1cbiAgICAgICAgaWYgKHR5cGVvZiBvcHRpb25zLnRvbGVyYW50ID09PSBcImJvb2xlYW5cIiAmJiBvcHRpb25zLnRvbGVyYW50KSB7XG4gICAgICAgICAgICBleHRyYS5lcnJvcnMgPSBbXTtcbiAgICAgICAgfVxuICAgICAgICBpZiAoZXh0cmEuYXR0YWNoQ29tbWVudCkge1xuICAgICAgICAgICAgZXh0cmEucmFuZ2UgPSB0cnVlO1xuICAgICAgICAgICAgZXh0cmEuY29tbWVudHMgPSBbXTtcbiAgICAgICAgICAgIGNvbW1lbnRBdHRhY2htZW50LnJlc2V0KCk7XG4gICAgICAgIH1cblxuICAgICAgICBpZiAob3B0aW9ucy5zb3VyY2VUeXBlID09PSBcIm1vZHVsZVwiKSB7XG4gICAgICAgICAgICBleHRyYS5lY21hRmVhdHVyZXMgPSB7XG4gICAgICAgICAgICAgICAgYXJyb3dGdW5jdGlvbnM6IHRydWUsXG4gICAgICAgICAgICAgICAgYmxvY2tCaW5kaW5nczogdHJ1ZSxcbiAgICAgICAgICAgICAgICByZWdleFVGbGFnOiB0cnVlLFxuICAgICAgICAgICAgICAgIHJlZ2V4WUZsYWc6IHRydWUsXG4gICAgICAgICAgICAgICAgdGVtcGxhdGVTdHJpbmdzOiB0cnVlLFxuICAgICAgICAgICAgICAgIGJpbmFyeUxpdGVyYWxzOiB0cnVlLFxuICAgICAgICAgICAgICAgIG9jdGFsTGl0ZXJhbHM6IHRydWUsXG4gICAgICAgICAgICAgICAgdW5pY29kZUNvZGVQb2ludEVzY2FwZXM6IHRydWUsXG4gICAgICAgICAgICAgICAgc3VwZXJJbkZ1bmN0aW9uczogdHJ1ZSxcbiAgICAgICAgICAgICAgICBkZWZhdWx0UGFyYW1zOiB0cnVlLFxuICAgICAgICAgICAgICAgIHJlc3RQYXJhbXM6IHRydWUsXG4gICAgICAgICAgICAgICAgZm9yT2Y6IHRydWUsXG4gICAgICAgICAgICAgICAgb2JqZWN0TGl0ZXJhbENvbXB1dGVkUHJvcGVydGllczogdHJ1ZSxcbiAgICAgICAgICAgICAgICBvYmplY3RMaXRlcmFsU2hvcnRoYW5kTWV0aG9kczogdHJ1ZSxcbiAgICAgICAgICAgICAgICBvYmplY3RMaXRlcmFsU2hvcnRoYW5kUHJvcGVydGllczogdHJ1ZSxcbiAgICAgICAgICAgICAgICBvYmplY3RMaXRlcmFsRHVwbGljYXRlUHJvcGVydGllczogdHJ1ZSxcbiAgICAgICAgICAgICAgICBnZW5lcmF0b3JzOiB0cnVlLFxuICAgICAgICAgICAgICAgIGRlc3RydWN0dXJpbmc6IHRydWUsXG4gICAgICAgICAgICAgICAgY2xhc3NlczogdHJ1ZSxcbiAgICAgICAgICAgICAgICBtb2R1bGVzOiB0cnVlLFxuICAgICAgICAgICAgICAgIG5ld1RhcmdldDogdHJ1ZVxuICAgICAgICAgICAgfTtcbiAgICAgICAgfVxuXG4gICAgICAgIC8vIGFwcGx5IHBhcnNpbmcgZmxhZ3MgYWZ0ZXIgc291cmNlVHlwZSB0byBhbGxvdyBvdmVycmlkaW5nXG4gICAgICAgIGlmIChvcHRpb25zLmVjbWFGZWF0dXJlcyAmJiB0eXBlb2Ygb3B0aW9ucy5lY21hRmVhdHVyZXMgPT09IFwib2JqZWN0XCIpIHtcblxuICAgICAgICAgICAgLy8gaWYgaXQncyBhIG1vZHVsZSwgYXVnbWVudCB0aGUgZWNtYUZlYXR1cmVzXG4gICAgICAgICAgICBpZiAob3B0aW9ucy5zb3VyY2VUeXBlID09PSBcIm1vZHVsZVwiKSB7XG4gICAgICAgICAgICAgICAgT2JqZWN0LmtleXMob3B0aW9ucy5lY21hRmVhdHVyZXMpLmZvckVhY2goZnVuY3Rpb24oa2V5KSB7XG4gICAgICAgICAgICAgICAgICAgIGV4dHJhLmVjbWFGZWF0dXJlc1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ICAgICAgICAgICAgc291cmNlOiBzb3VyY2VcbiAgICAgICAgfTtcbiAgICB9LFxuXG4gICAgY3JlYXRlRXhwb3J0RGVmYXVsdERlY2xhcmF0aW9uOiBmdW5jdGlvbihkZWNsYXJhdGlvbikge1xuICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgdHlwZTogYXN0Tm9kZVR5cGVzLkV4cG9ydERlZmF1bHREZWNsYXJhdGlvbixcbiAgICAgICAgICAgIGRlY2xhcmF0aW9uOiBkZWNsYXJhdGlvblxuICAgICAgICB9O1xuICAgIH0sXG5cbiAgICBjcmVhdGVFeHBvcnRBbGxEZWNsYXJhdGlvbjogZnVuY3Rpb24oc291cmNlKSB7XG4gICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICB0eXBlOiBhc3ROb2RlVHlwZXMuRXhwb3J0QWxsRGVjbGFyYXRpb24sXG4gICAgICAgICAgICBzb3VyY2U6IHNvdXJjZVxuICAgICAgICB9O1xuICAgIH0sXG5cbiAgICBjcmVhdGVJbXBvcnRTcGVjaWZpZXI6IGZ1bmN0aW9uKGxvY2FsLCBpbXBvcnRlZCkge1xuICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgdHlwZTogYXN0Tm9kZVR5cGVzLkltcG9ydFNwZWNpZmllcixcbiAgICAgICAgICAgIGxvY2FsOiBsb2NhbCB8fCBpbXBvcnRlZCxcbiAgICAgICAgICAgIGltcG9ydGVkOiBpbXBvcnRlZFxuICAgICAgICB9O1xuICAgIH0sXG5cbiAgICBjcmVhdGVJbXBvcnREZWNsYXJhdGlvbjogZnVuY3Rpb24oc3BlY2lmaWVycywgc291cmNlKSB7XG4gICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICB0eXBlOiBhc3ROb2RlVHlwZXMuSW1wb3J0RGVjbGFyYXRpb24sXG4gICAgICAgICAgICBzcGVjaWZpZXJzOiBzcGVjaWZpZXJzLFxuICAgICAgICAgICAgc291cmNlOiBzb3VyY2VcbiAgICAgICAgfTtcbiAgIC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eXBlID09PSBhc3ROb2RlVHlwZXMuUHJvZ3JhbSkge1xuICAgICAgICAgICAgaWYgKG5vZGUuYm9keS5sZW5ndGggPiAwKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgaWYgKGV4dHJhLnRyYWlsaW5nQ29tbWVudHMubGVuZ3RoID4gMCkge1xuXG4gICAgICAgICAgICAvKlxuICAgICAgICAgICAgICogSWYgdGhlIGZpcnN0IGNvbW1lbnQgaW4gdHJhaWxpbmdDb21tZW50cyBjb21lcyBhZnRlciB0aGVcbiAgICAgICAgICAgICAqIGN1cnJlbnQgbm9kZSwgdGhlbiB3ZSdyZSBnb29kIC0gYWxsIGNvbW1lbnRzIGluIHRoZSBhcnJheSB3aWxsXG4gICAgICAgICAgICAgKiBjb21lIGFmdGVyIHRoZSBub2RlIGFuZCBzbyBpdCdzIHNhZmUgdG8gYWRkIHRoZW4gYXMgb2ZmaWNpYWxcbiAgICAgICAgICAgICAqIHRyYWlsaW5nQ29tbWVudHMuXG4gICAgICAgICAgICAgKi9cbiAgICAgICAgICAgIGlmIChleHRyYS50cmFpbGluZ0NvbW1lbnRzWzBdLnJhbmdlWzBdID49IG5vZGUucmFuZ2VbMV0pIHtcbiAgICAgICAgICAgICAgICB0cmFpbGluZ0NvbW1lbnRzID0gZXh0cmEudHJhaWxpbmdDb21tZW50cztcbiAgICAgICAgICAgICAgICBleHRyYS50cmFpbGluZ0NvbW1lbnRzID0gW107XG4gICAgICAgICAgICB9IGVsc2Uge1xuXG4gICAgICAgICAgICAgICAgLypcbiAgICAgICAgICAgICAgICAgKiBPdGhlcndpc2UsIGlmIHRoZSBmaXJzdCBjb21tZW50IGRvZXNuJ3QgY29tZSBhZnRlciB0aGVcbiAgICAgICAgICAgICAgICAgKiBjdXJyZW50IG5vZGUsIHRoYXQgbWVhbnMgd2UgaGF2ZSBhIG1peCBvZiBsZWFkaW5nIGFuZCB0cmFpbGluZ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M6Ly9naXRodWIuY29tL2VzbGludC9lc3ByZWUvaXNzdWVzLzE1OFxuICAgICAgICAgICAgICAgICAgICBmb3IgKGkgPSBsYXN0Q2hpbGQubGVhZGluZ0NvbW1lbnRzLmxlbmd0aCAtIDI7IGkgPj0gMDsgLS1pKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAobGFzdENoaWxkLmxlYWRpbmdDb21tZW50c1tpXS5yYW5nZVsxXSA8PSBub2RlLnJhbmdlWzBdKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbm9kZS5sZWFkaW5nQ29tbWVudHMgPSBsYXN0Q2hpbGQubGVhZGluZ0NvbW1lbnRzLnNwbGljZSgwLCBpICsgMSk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH0gZWxzZSBpZiAoZXh0cmEubGVhZGluZ0NvbW1lbnRzLmxlbmd0aCA+IDApIHtcblxuICAgICAgICAgICAgaWYgKGV4dHJhLmxlYWRpbmdDb21tZW50c1tleHRyYS5sZWFkaW5nQ29tbWVudHMubGVuZ3RoIC0gMV0ucmFuZ2VbMV0gPD0gbm9kZS5yYW5nZVswXSkge1xuICAgICAgICAgICAgICAgIG5vZGUubGVhZGluZ0NvbW1lbnRzID0gZXh0cmEubGVhZGluZ0NvbW1lbnRzO1xuICAgICAgICAgICAgICAgIGV4dHJhLmxlYWRpbmdDb21tZW50cyA9IFtdO1xuICAgICAgICAgICAgfSBlbHNlIHtcblxuICAgICAgICAgICAgICAgIC8vIGh0dHBzOi8vZ2l0aHViLmNvbS9lc2xpbnQvZXNwcmVlL2lzc3Vlcy8yXG5cbiAgICAgICAgICAgICAgICAvKlxuICAgICAgICAgICAgICAgICAqIEluIHNwZWNpYWwgY2FzZXMsIHN1Y2ggYXMgcmV0dXJuICh3aXRob3V0IGEgdmFsdWUpIGFuZFxuICAgICAgICAgICAgICAgICAqIGRlYnVnZ2VyLCBhbGwgY29tbWVudHMgd2lsbCBlbmQgdXAgYXMgbGVhZGluZ0NvbW1lbnRzIGFuZFxuICAgICAgICAgICAgICAgICAqIHdpbGwgb3RoZXJ3aXNlIGJlIGVsaW1pbmF0ZWQuIFRoaXMgZXh0cmEgc3RlcCBydW5zIHdoZW4gdGhlXG4gICAgICAgICAgICAgICAgICogYm90dG9tUmlnaHRTdGFjayBpcyBlbXB0eSBhbmQgdGhlcmUgYXJlIGNvbW1lbnRzIGxlZnRcbiAgICAgICAgICAgICAgICAgKiBpbiBsZWFkaW5nQ29tbWVudHMuXG4gICAgICAgICAgICAgICAgICpcbiAgICAgICAgICAgICAgICAgKiBUaGlzIGxvb3AgZmlndXJlcyBvdXQgdGhlIHN0b3BwaW5nIHBvaW50IGJldHdlZW4gdGhlIGFjdHVhbFxuICAgICAgICAgICAgICAgICAqIGxlYWRpbmcgYW5kIHRyYWlsaW5nIGNvbW1lbnRzIGJ5IGZpbmRpbmcgdGhlIGxvY2F0aW9uIG9mIHRoZVxuICAgICAgICAgICAgICAgICAqIGZpcnN0IGNvbW1lbnQgdGhhdCBjb21lcyBhZnRlciB0aGUgZ2l2ZW4gbm9kZS5cbiAgICAgICAgICAgICAgICAgKi9cbiAgICAgICAgICAgICAgICBmb3IgKGkgPSAwOyBpIDwgZXh0cmEubGVhZGluZ0NvbW1lbnRzLmxlbmd0aDsgaSsrKSB7XG4gICAgICAgICAgICAgICAgICAgIGlmIChleHRyYS5sZWFkaW5nQ29tbWVudHNbaV0ucmFuZ2VbMV0gPiBub2RlLnJhbmdlWzBdKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIC8qXG4gICAgICAgICAgICAgICAgICogU3BsaXQgdGhlIGFycmF5IGJhc2VkIG9uIHRoZSBsb2NhdGlvbiBvZiB0aGUgZmlyc3QgY29tbWVudFxuICAgICAgICAgICAgICAgICAqIHRoYXQgY29tZXMgYWZ0ZXIgdGhlIG5vZGUuIEtlZXAgaW4gbWluZCB0aGF0IHRoaXMgY291bGRcbiAgICAgICAgICAgICAgICAgKiByZXN1bHQgaW4gYW4gZW1wdHkgYXJyYXksIGFuZCBpZiBzbywgdGhlIGFycmF5IG11c3QgYmVcbiAgICAgICAgICAgICAgICAgKiBkZWxldGVkLlxuICAgICAgICAgICAgICAgICAqL1xuICAgICAgICAgICAgICAgIG5vZGUubGVhZGluZ0NvbW1lbnRzID0gZXh0cmEubGVhZGluZ0NvbW1lbnRzLnNsaWNlKDAsIGkpO1xuICAgICAgICAgICAgICAgIGlmIChub2RlLmxlYWRpbmdDb21tZW50cy5sZW5ndGggPT09IDApIHtcbiAgICAgICAgICAgICAgICAgICAgZGVsZXRlIG5vZGUubGVhZGluZ0NvbW1lbnRzO1xuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIC8qXG4gICAgICAgICAgICAgICAgICogU2ltaWxhcmx5LCB0cmFpbGluZyBjb21tZW50cyBhcmUgYXR0YWNoZWQgbGF0ZXIuIFRoZSB2YXJpYWJsZVxuICAgICAgICAgICAgICAgICAqIG11c3QgYmUgcmVzZXQgdG8gbnVsbCBpZiB0aGVyZSBhcmUgbm8gdHJhaWxpbmcgY29tbWVudHMuXG4gICAgICAgICAgICAgICAgICovXG4gICAgICAgICAgICAgICAgdHJhaWxpbmdDb21tZW50cyA9IGV4dHJhLmxlYWRpbmdDb21tZW50cy5zbGljZShpKTtcbiAgICAgICAgICAgICAgICBpZiAodHJhaWxpbmdDb21tZW50cy5sZW5ndGggPT09IDApIHtcbiAgICAgICAgICAgICAgICAgICAgdHJhaWxpbmdDb21tZW50cyA9IG51bGw7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgaWYgKHRyYWls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EEpIHx8IChjaCA9PT0gMHgwRCkgfHwgKGNoID09PSAweDIwMjgpIHx8IChjaCA9PT0gMHgyMDI5KTtcbiAgICB9LFxuXG4gICAgLy8gNy42IElkZW50aWZpZXIgTmFtZXMgYW5kIElkZW50aWZpZXJzXG5cbiAgICBpc0lkZW50aWZpZXJTdGFydDogZnVuY3Rpb24oY2gpIHtcbiAgICAgICAgcmV0dXJuIChjaCA9PT0gMHgyNCkgfHwgKGNoID09PSAweDVGKSB8fCAgLy8gJCAoZG9sbGFyKSBhbmQgXyAodW5kZXJzY29yZSlcbiAgICAgICAgICAgIChjaCA+PSAweDQxICYmIGNoIDw9IDB4NUEpIHx8ICAgICAgICAgLy8gQS4uWlxuICAgICAgICAgICAgKGNoID49IDB4NjEgJiYgY2ggPD0gMHg3QSkgfHwgICAgICAgICAvLyBhLi56XG4gICAgICAgICAgICAoY2ggPT09IDB4NUMpIHx8ICAgICAgICAgICAgICAgICAgICAgIC8vIFxcIChiYWNrc2xhc2gpXG4gICAgICAgICAgICAoKGNoID49IDB4ODApICYmIFJlZ2V4Lk5vbkFzY2lpSWRlbnRpZmllclN0YXJ0LnRlc3QoU3RyaW5nLmZyb21DaGFyQ29kZShjaCkpKTtcbiAgICB9LFxuXG4gICAgaXNJZGVudGlmaWVyUGFydDogZnVuY3Rpb24oY2gpIHtcbiAgICAgICAgcmV0dXJuIChjaCA9PT0gMHgyNCkgfHwgKGNoID09PSAweDVGKSB8fCAgLy8gJCAoZG9sbGFyKSBhbmQgXyAodW5kZXJzY29yZSlcbiAgICAgICAgICAgIChjaCA+PSAweDQxICYmIGNoIDw9IDB4NUEpIHx8ICAgICAgICAgLy8gQS4uWlxuICAgICAgICAgICAgKGNoID49IDB4NjEgJiYgY2ggPD0gMHg3QSkgfHwgICAgICAgICAvLyBhLi56XG4gICAgICAgICAgICAoY2ggPj0gMHgzMCAmJiBjaCA8PSAweDM5KSB8fCAgICAgICAgIC8vIDAuLjlcbiAgICAgICAgICAgIChjaCA9PT0gMHg1QykgfHwgICAgICAgICAgICAgICAgICAgICAgLy8gXFwgKGJhY2tzbGFzaClcbiAgICAgICAgICAgICgoY2ggPj0gMHg4MCkgJiYgUmVnZXguTm9uQXNjaWlJZGVudGlmaWVyUGFydC50ZXN0KFN0cmluZy5mcm9tQ2hhckNvZGUoY2gpKSk7XG4gICAgfSxcblxuICAgIC8vIDcuNi4xLjIgRnV0dXJlIFJlc2VydmVkIFdvcmRzXG5cbiAgICBpc0Z1dHVyZVJlc2VydmVkV29yZDogZnVuY3Rpb24oaWQpIHtcbiAgICAgICAgc3dpdGNoIChpZCkge1xuICAgICAgICAgICAgY2FzZSBcImNsYXNzXCI6XG4gICAgICAgICAgICBjYXNlIFwiZW51bVwiOlxuICAgICAgICAgICAgY2FzZSBcImV4cG9ydFwiOlxuICAgICAgICAgICAgY2FzZSBcImV4dGVuZHNcIjpcbiAgICAgICAgICAgIGNhc2UgXCJpbXBvcnRcIjpcbiAgICAgICAgICAgIGNhc2UgXCJzdXBlclwiOlxuICAgICAgICAgICAgICAgIHJldHVybiB0cnVlO1xuICAgICAgICAgICAgZGVmYXVsdDpcbiAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgICAgIH1cbiAgICB9LFxuXG4gICAgaXNTdHJpY3RNb2RlUmVzZXJ2ZWRXb3JkOiBmdW5jdGlvbihpZCwgZWNtYUZlYXR1cmVzKSB7XG4gICAgICAgIHN3aXRjaCAoaWQpIHtcbiAgICAgICAgICAgIGNhc2UgXCJpbXBsZW1lbnRzXCI6XG4gICAgICAgICAgICBjYXNlIFwiaW50ZXJmYWNlXCI6XG4gICAgICAgICAgICBjYXNlIFwicGFja2FnZVwiOlxuICAgICAgICAgICAgY2FzZSBcInByaXZhdGVcIjpcbiAgICAgICAgICAgIGNhc2UgXCJwcm90ZWN0ZWRcIjpcbiAgICAgICAgICAgIGNhc2UgXCJwdWJsaWNcIjpcbiAgICAgICAgICAgIGNhc2UgXCJzdGF0aWNcIjpcbiAgICA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8IChpZCA9PT0gXCJkb1wiKTtcbiAgICAgICAgICAgIGNhc2UgMzpcbiAgICAgICAgICAgICAgICByZXR1cm4gKGlkID09PSBcInZhclwiKSB8fCAoaWQgPT09IFwiZm9yXCIpIHx8IChpZCA9PT0gXCJuZXdcIikgfHxcbiAgICAgICAgICAgICAgICAgICAgKGlkID09PSBcInRyeVwiKSB8fCAoaWQgPT09IFwibGV0XCIpO1xuICAgICAgICAgICAgY2FzZSA0OlxuICAgICAgICAgICAgICAgIHJldHVybiAoaWQgPT09IFwidGhpc1wiKSB8fCAoaWQgPT09IFwiZWxzZVwiKSB8fCAoaWQgPT09IFwiY2FzZVwiKSB8fFxuICAgICAgICAgICAgICAgICAgICAoaWQgPT09IFwidm9pZFwiKSB8fCAoaWQgPT09IFwid2l0aFwiKSB8fCAoaWQgPT09IFwiZW51bVwiKTtcbiAgICAgICAgICAgIGNhc2UgNTpcbiAgICAgICAgICAgICAgICByZXR1cm4gKGlkID09PSBcIndoaWxlXCIpIHx8IChpZCA9PT0gXCJicmVha1wiKSB8fCAoaWQgPT09IFwiY2F0Y2hcIikgfHxcbiAgICAgICAgICAgICAgICAgICAgKGlkID09PSBcInRocm93XCIpIHx8IChpZCA9PT0gXCJjb25zdFwiKSB8fCAoIWVjbWFGZWF0dXJlcy5nZW5lcmF0b3JzICYmIGlkID09PSBcInlpZWxkXCIpIHx8XG4gICAgICAgICAgICAgICAgICAgIChpZCA9PT0gXCJjbGFzc1wiKSB8fCAoaWQgPT09IFwic3VwZXJcIik7XG4gICAgICAgICAgICBjYXNlIDY6XG4gICAgICAgICAgICAgICAgcmV0dXJuIChpZCA9PT0gXCJyZXR1cm5cIikgfHwgKGlkID09PSBcInR5cGVvZlwiKSB8fCAoaWQgPT09IFwiZGVsZXRlXCIpIHx8XG4gICAgICAgICAgICAgICAgICAgIChpZCA9PT0gXCJzd2l0Y2hcIikgfHwgKGlkID09PSBcImV4cG9ydFwiKSB8fCAoaWQgPT09IFwiaW1wb3J0XCIp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nVlKi9cbihmdW5jdGlvbiBjbG9uZShleHBvcnRzKSB7XG4gICAgJ3VzZSBzdHJpY3QnO1xuXG4gICAgdmFyIFN5bnRheCxcbiAgICAgICAgaXNBcnJheSxcbiAgICAgICAgVmlzaXRvck9wdGlvbixcbiAgICAgICAgVmlzaXRvcktleXMsXG4gICAgICAgIG9iamVjdENyZWF0ZSxcbiAgICAgICAgb2JqZWN0S2V5cyxcbiAgICAgICAgQlJFQUssXG4gICAgICAgIFNLSVAsXG4gICAgICAgIFJFTU9WRTtcblxuICAgIGZ1bmN0aW9uIGlnbm9yZUpTSGludEVycm9yKCkgeyB9XG5cbiAgICBpc0FycmF5ID0gQXJyYXkuaXNBcnJheTtcbiAgICBpZiAoIWlzQXJyYXkpIHtcbiAgICAgICAgaXNBcnJheSA9IGZ1bmN0aW9uIGlzQXJyYXkoYXJyYXkpIHtcbiAgICAgICAgICAgIHJldHVybiBPYmplY3QucHJvdG90eXBlLnRvU3RyaW5nLmNhbGwoYXJyYXkpID09PSAnW29iamVjdCBBcnJheV0nO1xuICAgICAgICB9O1xuICAgIH1cblxuICAgIGZ1bmN0aW9uIGRlZXBDb3B5KG9iaikge1xuICAgICAgICB2YXIgcmV0ID0ge30sIGtleSwgdmFsO1xuICAgICAgICBmb3IgKGtleSBpbiBvYmopIHtcbiAgICAgICAgICAgIGlmIChvYmouaGFzT3duUHJvcGVydHkoa2V5KSkge1xuICAgICAgICAgICAgICAgIHZhbCA9IG9ialtrZXldO1xuICAgICAgICAgICAgICAgIGlmICh0eXBlb2YgdmFsID09PSAnb2JqZWN0JyAmJiB2YWwgIT09IG51bGwpIHtcbiAgICAgICAgICAgICAgICAgICAgcmV0W2tleV0gPSBkZWVwQ29weSh2YWwpO1xuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIHJldFtrZXldID0gdmFsO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gcmV0O1xuICAgIH1cblxuICAgIGZ1bmN0aW9uIHNoYWxsb3dDb3B5KG9iaikge1xuICAgICAgICB2YXIgcmV0ID0ge30sIGtleTtcbiAgICAgICAgZm9yIChrZXkgaW4gb2JqKSB7XG4gICAgICAgICAgICBpZiAob2JqLmhhc093blByb3BlcnR5KGtleSkpIHtcbiAgICAgICAgICAgICAgICByZXRba2V5XSA9IG9ialtrZXldO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIHJldHVybiByZXQ7XG4gICAgfVxuICAgIGlnbm9yZUpTSGludEVycm9yKHNoYWxsb3dDb3B5KTtcblxuICAgIC8vIGJhc2VkIG9uIExMVk0gbGliYysrIHVwcGVyX2JvdW5kIC8gbG93ZXJfYm91bmRcbiAgICAvLyBNSVQgTGljZW5zZVxuXG4gICAgZnVuY3Rpb24gdXBwZXJCb3VuZChhcnJheSwgZnVuYykge1xuICAgICAgICB2YXIgZGlmZiwgbGVuLCBpLCBjdXJyZW50O1xuXG4gICAgICAgIGxlbiA9IGFycmF5Lmxlbmd0aDtcbiAgICAgICAgaSA9IDA7XG5cbiAgICAgICAgd2hpbGUgKGxlbikge1xuICAgICAgICAgICAgZGlmZiA9IGxlbiA+Pj4gMTtcbiAgICAgICAgICAgIGN1cnJlbnQgPSBpICsgZGlmZjtcbiAgICAgICAgICAgIGlmIChmdW5jKGFycmF5W2N1cnJlbnRdKSkge1xuICAgICAgICAgICAgICAgIGxlbiA9IGRpZmY7XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIGkgPSBjdXJyZW50ICsgMTtcbiAgICAgICAgICAgICAgICBsZW4gLT0gZGlmZiArIDE7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIGk7XG4gICAgfVxuXG4gICAgZnVuY3Rpb24gbG93ZXJCb3VuZChhcnJheSwgZnVuYykge1xuICAgICAgICB2YXIgZGlmZiwgbGVuLCBpLCBjdXJyZW50O1xuXG4gICAgICAgIGxlbiA9IGFycmF5Lmxlbmd0aDtcbiAgICAgICAgaSA9IDA7XG5cbiAgICAgICAgd2hpbGUgKGxlbikge1xuICAgICAgICAgICAgZGlmZiA9IGxlbiA+Pj4gMTtcbiAgICAgICAgICAgIGN1cnJlbnQgPSBpICsgZGlmZjtcbiAgICAgICAgICAgIGlmIChmdW5jKGFycmF5W2N1cnJlbnRdKSkge1xuICAgICAgICAgICAgICAgIGkgPSBjdXJyZW50ICsgMTtcbiAgICAgICAgICAgICAgICBsZW4gLT0gZGlmZiArIDE7XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIGxlbiA9IGRpZmY7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIGk7XG4gICAgfVxuICAgIGlnbm9yZUpTSGludEVycm9yKGxvd2VyQm91bmQpO1xuXG4gICAgb2JqZWN0Q3JlYXRlID0gT2JqZWN0LmNyZWF0ZSB8fCAoZnVuY3Rpb24gKCkge1xuICAgICAgICBmdW5jdGlvbiBGKCkgeyB9XG5cbiAgICAgICAgcmV0dXJuIGZ1bmN0aW9uIChvKSB7XG4gICAgICAgICAgICBGLnByb3RvdHlwZSA9IG87XG4gICAgICAgICAgICByZXR1cm4gbmV3IEYoKTtcbiAgICAgICAgfTtcbiAgICB9KSgpO1xuXG4gICAgb2JqZWN0S2V5cyA9IE9iamVjdC5rZXlzIHx8IGZ1bmN0aW9uIChvKSB7XG4gICAgICAgIHZhciBrZXlzID0gW10sIGtleTtcbiAgICAgICAgZm9yIChrZXkgaW4gbykge1xuICAgICAgICAgICAga2V5cy5wdXNoKGtleSk7XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIGtleXM7XG4gICAgfTtcblxuICAgIGZ1bmN0aW9uIGV4dGVuZCh0bywgZnJvbSkge1xuICAgICAgICB2YXIga2V5cyA9IG9iamVjdEtleXMoZnJvbSksIGtleSwgaSwgbGVuO1xuICAgICAgICBmb3IgK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ZSB7XG4gICAgICAgICAgICB0aGlzLnJlcGxhY2UobnVsbCk7XG4gICAgICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgICAgIH1cbiAgICB9O1xuXG4gICAgZnVuY3Rpb24gRWxlbWVudChub2RlLCBwYXRoLCB3cmFwLCByZWYpIHtcbiAgICAgICAgdGhpcy5ub2RlID0gbm9kZTtcbiAgICAgICAgdGhpcy5wYXRoID0gcGF0aDtcbiAgICAgICAgdGhpcy53cmFwID0gd3JhcDtcbiAgICAgICAgdGhpcy5yZWYgPSByZWY7XG4gICAgfVxuXG4gICAgZnVuY3Rpb24gQ29udHJvbGxlcigpIHsgfVxuXG4gICAgLy8gQVBJOlxuICAgIC8vIHJldHVybiBwcm9wZXJ0eSBwYXRoIGFycmF5IGZyb20gcm9vdCB0byBjdXJyZW50IG5vZGVcbiAgICBDb250cm9sbGVyLnByb3RvdHlwZS5wYXRoID0gZnVuY3Rpb24gcGF0aCgpIHtcbiAgICAgICAgdmFyIGksIGl6LCBqLCBqeiwgcmVzdWx0LCBlbGVtZW50O1xuXG4gICAgICAgIGZ1bmN0aW9uIGFkZFRvUGF0aChyZXN1bHQsIHBhdGgpIHtcbiAgICAgICAgICAgIGlmIChpc0FycmF5KHBhdGgpKSB7XG4gICAgICAgICAgICAgICAgZm9yIChqID0gMCwganogPSBwYXRoLmxlbmd0aDsgaiA8IGp6OyArK2opIHtcbiAgICAgICAgICAgICAgICAgICAgcmVzdWx0LnB1c2gocGF0aFtqXSk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICByZXN1bHQucHVzaChwYXRoKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIC8vIHJvb3Qgbm9kZVxuICAgICAgICBpZiAoIXRoaXMuX19jdXJyZW50LnBhdGgpIHtcbiAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICB9XG5cbiAgICAgICAgLy8gZmlyc3Q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iBpc05vZGUobm9kZSkge1xuICAgICAgICBpZiAobm9kZSA9PSBudWxsKSB7XG4gICAgICAgICAgICByZXR1cm4gZmFsc2U7XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIHR5cGVvZiBub2RlID09PSAnb2JqZWN0JyAmJiB0eXBlb2Ygbm9kZS50eXBlID09PSAnc3RyaW5nJztcbiAgICB9XG5cbiAgICBmdW5jdGlvbiBpc1Byb3BlcnR5KG5vZGVUeXBlLCBrZXkpIHtcbiAgICAgICAgcmV0dXJuIChub2RlVHlwZSA9PT0gU3ludGF4Lk9iamVjdEV4cHJlc3Npb24gfHwgbm9kZVR5cGUgPT09IFN5bnRheC5PYmplY3RQYXR0ZXJuKSAmJiAncHJvcGVydGllcycgPT09IGtleTtcbiAgICB9XG5cbiAgICBDb250cm9sbGVyLnByb3RvdHlwZS50cmF2ZXJzZSA9IGZ1bmN0aW9uIHRyYXZlcnNlKHJvb3QsIHZpc2l0b3IpIHtcbiAgICAgICAgdmFyIHdvcmtsaXN0LFxuICAgICAgICAgICAgbGVhdmVsaXN0LFxuICAgICAgICAgICAgZWxlbWVudCxcbiAgICAgICAgICAgIG5vZGUsXG4gICAgICAgICAgICBub2RlVHlwZSxcbiAgICAgICAgICAgIHJldCxcbiAgICAgICAgICAgIGtleSxcbiAgICAgICAgICAgIGN1cnJlbnQsXG4gICAgICAgICAgICBjdXJyZW50MixcbiAgICAgICAgICAgIGNhbmRpZGF0ZXMsXG4gICAgICAgICAgICBjYW5kaWRhdGUsXG4gICAgICAgICAgICBzZW50aW5lbDtcblxuICAgICAgICB0aGlzLl9faW5pdGlhbGl6ZShyb290LCB2aXNpdG9yKTtcblxuICAgICAgICBzZW50aW5lbCA9IHt9O1xuXG4gICAgICAgIC8vIHJlZmVyZW5jZVxuICAgICAgICB3b3JrbGlzdCA9IHRoaXMuX193b3JrbGlzdDtcbiAgICAgICAgbGVhdmVsaXN0ID0gdGhpcy5fX2xlYXZlbGlzdDtcblxuICAgICAgICAvLyBpbml0aWFsaXplXG4gICAgICAgIHdvcmtsaXN0LnB1c2gobmV3IEVsZW1lbnQocm9vdCwgbnVsbCwgbnVsbCwgbnVsbCkpO1xuICAgICAgICBsZWF2ZWxpc3QucHVzaChuZXcgRWxlbWVudChudWxsLCBudWxsLCBudWxsLCBudWxsKSk7XG5cbiAgICAgICAgd2hpbGUgKHdvcmtsaXN0Lmxlbmd0aCkge1xuICAgICAgICAgICAgZWxlbWVudCA9IHdvcmtsaXN0LnBvcCgpO1xuXG4gICAgICAgICAgICBpZiAoZWxlbWVudCA9PT0gc2VudGluZWwpIHtcbiAgICAgICAgICAgICAgICBlbGVtZW50ID0gbGVhdmVsaXN0LnBvcCgpO1xuXG4gICAgICAgICAgICAgICAgcmV0ID0gdGhpcy5fX2V4ZWN1dGUodmlzaXRvci5sZWF2ZSwgZWxlbWVudCk7XG5cbiAgICAgICAgICAgICAgICBpZiAodGhpcy5fX3N0YXRlID09PSBCUkVBSyB8fCByZXQgPT09IEJSRUFLKSB7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgY29udGludWU7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIGlmIChlbGVtZW50Lm5vZGUpIHtcblxuICAgICAgICAgICAgICAgIHJldCA9IHRoaXMuX19leGVjdXRlKHZpc2l0b3IuZW50ZXIsIGVsZW1lbnQpO1xuXG4gICAgICAgICAgICAgICAgaWYgKHRoaXMuX19zdGF0ZSA9PT0gQlJFQUsgfHwgcmV0ID09PSBCUkVBSykge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm47XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgd29ya2xpc3QucHVzaChzZW50aW5lbCk7XG4gICAgICAgICAgICAgICAgbGVhdmVsaXN0LnB1c2goZWxlbWVudCk7XG5cbiAgICAgICAgICAgICAgICBpZiAodGhpcy5fX3N0YXRlID09PSBTS0lQIHx8IHJldCA9PT0gU0tJUCkge1xuICAgICAgICAgICAgICAgICAgICBjb250aW51ZTtcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICBub2RlID0gZWxlbWVudC5ub2RlO1xuICAgICAgICAgICAgICAgIG5vZGVUeXBlID0gZWxlbWVudC53cmFwIHx8IG5vZGUudHlwZTtcbiAgICAgICAgICAgICAgICBjYW5kaWRhdGVzID0gdGhpcy5fX2tleXNbbm9kZVR5cGVdO1xuICAgICAgICAgICAgICAgIGlmICghY2FuZGlkYXRlcykge1xuICAgICAgICAgICAgICAgICAgICBpZiAodGhpcy5fX2ZhbGxiYWNrKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBjYW5kaWRhdGVzID0gb2JqZWN0S2V5cyhub2RlKTtcbiAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHRocm93IG5ldyBFcnJvcignVW5rbm93biBub2RlIHR5cGUgJyArIG5vZGVUeXBlICsgJy4nKTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIGN1cnJlbnQgPSBjYW5kaWRhdGVzLmxlbmd0aDtcbiAgICAgICAgICAgICAgICB3aGlsZSAoKGN1cnJlbnQgLT0gMSkgPj0gMCkge1xuICAgICAgICAgICAgICAgICAgICBrZXkgPSBjYW5kaWRhdGVzW2N1cnJlbnRdO1xuICAgICAgICAgICAgICAgICAgICBjYW5kaWRhdGUgPSBub2RlW2tleV07XG4gICAgICAgICAgICAgICAgICAgIGlmICghY2FuZGlkYXRlKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBjb250aW51ZTtcbiAgICAgICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgICAgIGlmIChpc0FycmF5KGNhbmRpZGF0ZSkpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGN1cnJlbnQyID0gY2FuZGlkYXRlLmxlbmd0aDtcbiAgICAgICAgICAgICAgICAgICAgICAgIHdoaWxlICgoY3VycmVudDIgLT0gMSkgPj0gMCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmICghY2FuZGlkYXRlW2N1cnJlbnQyXSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb250aW51ZTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGlzUHJvcGVydHkobm9kZVR5cGUsIGNhbmRpZGF0ZXNbY3VycmVudF0pKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGVsZW1lbnQgPSBuZXcgRWxlbWVudChjYW5kaWRhdGVbY3VycmVudDJdLCBba2V5LCBjdXJyZW50Ml0sICdQcm9wZXJ0eScsIG51bGwpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoaXNOb2RlKGNhbmRpZGF0ZVtjdXJyZW50Ml0pKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGVsZW1lbnQgPSBuZXcgRWxlbWVudChjYW5kaWRhdGVbY3VycmVudDJdLCBba2V5LCBjdXJyZW50Ml0sIG51bGwsIG51bGwpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnRpbnVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB3b3JrbGlzdC5wdXNoKGVsZW1lbnQpO1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKGlzTm9kZShjYW5kaWRhdGUpKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICB3b3JrbGlzdC5wdXNoKG5ldyBFbGVtZW50KGNhbmRpZGF0ZSwga2V5LCBudWxsLCBudWxsKSk7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9O1xuXG4gICAgQ29udHJvbGxlci5wcm90b3R5cGUucmVwbGFjZSA9IGZ1bmN0aW9uIHJlcGxhY2Uocm9vdCwgdmlzaXRvcikge1xuICAgICAgICBmdW5jdGlvbiByZW1vdmVFbGVtKGVsZW1lbnQpIHtcbiAgICAgICAgICAgIHZhciBpLFxuICAgICAgICAgICAgICAgIGtleSxcbiAgICAgICAgICAgICAgICBuZXh0RWxlbSxcbiAgICAgICAgICAgICAgICBwYXJlbnQ7XG5cbiAgICAgICAgICAgIGlmIChlbGVtZW50LnJlZi5yZW1vdmUoKSkge1xuICAgICAgICAgICAgICAgIC8vIFdoZW4gdGhlIHJlZmVyZW5jZSBpcyBhbiBlbGVtZW50IG9mIGFuIGFycmF5LlxuICAgICAgICAgICAgICAgIGtleSA9IGVsZW1lbnQucmVmLmtleTtcbiAgICAgICAgICAgICAgICBwYXJlbnQgPSBlbGVtZW50LnJlZi5wYXJlbnQ7XG5cbiAgICAgICAgICAgICAgICAvLyBJZiByZW1vdmVkIGZyb20gYXJyYXksIHRoZW4gZGVjcmVhc2UgZm9sbG93aW5nIGl0ZW1zJyBrZXlzLlxuICAgICAgICAgICAgICAgIGkgPSB3b3JrbGlzdC5sZW5ndGg7XG4gICAgICAgICAgICAgICAgd2hpbGUgKGktLSkge1xuICAgICAgICAgICAgICAgICAgICBuZXh0RWxlbSA9IHdvcmtsaXN0W2ldO1xuICAgICAgICAgICAgICAgICAgICBpZiAobmV4dEVsZW0ucmVmICYmIG5leHRFbGVtLnJlZi5wYXJlbnQgPT09IHBhcmVudCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgIChuZXh0RWxlbS5yZWYua2V5IDwga2V5KSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAtLW5leHRFbGVtLnJlZi5rZXk7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICB2YXIgd29ya2xpc3QsXG4gICAgICAgICAgICBsZWF2ZWxpc3QsXG4gICAgICAgICAgICBub2RlLFxuICAgICAgICAgICAgbm9kZVR5cGUsXG4gICAgICAgICAgICB0YXJnZXQsXG4gICAgICAgICAgICBlbGVtZW50LFxuICAgICAgICAgICAgY3VycmVudCxcbiAgICAgICAgICAgIGN1cnJlbnQyLFxuICAgICAgICAgICAgY2FuZGlkYXRlcyxcbiAgICAgICAgICAgIGNhbmRpZGF0ZSxcbiAgICAgICAgICAgIHNlbnRpbmVsLFxuICAgICAgICAgICAgb3V0ZXIsXG4gICAgICAgICAgICBrZXk7XG5cbiAgICAgICAgdGhpcy5fX2luaXRpYWxpemUocm9vdCwgdmlzaXRvcik7XG5cbiAgICAgICAgc2VudGluZWwgPSB7fTtcblxuICAgICAgICAvLyByZWZlcmVuY2VcbiAgICAgICAgd29ya2xpc3QgPSB0aGlzLl9fd29ya2xpc3Q7XG4gICAgICAgIGxlYXZlbGlzdCA9IHRoaXMuX19sZWF2ZWxpc3Q7XG5cbiAgICAgICAgLy8gaW5pdGlhbGl6ZVxuICAgICAgICBvdXRlciA9IHtcbiAgICAgICAgICAgIHJvb3Q6IHJvb3RcbiAgICAgICAgfTtcbiAgICAgICAgZWxlbWVudCA9IG5ldyBFbGVtZW50KHJvb3QsIG51bGwsIG51bGwsIG5ldyBSZWZlcmVuY2Uob3V0ZXIsICdyb290JykpO1xuICAgICAgICB3b3JrbGlzdC5wdXNoKGVsZW1lbnQpO1xuICAgICAgICBsZWF2ZWxpc3QucHVzaChlbGVtZW50KTtcblxuICAgICAgICB3aGlsZSAod29ya2xpc3QubGVuZ3RoKSB7XG4gICAgICAgICAgICBlbGVtZW50ID0gd29ya2xpc3QucG9wKCk7XG5cbiAgICAgICAgICAgIGlmIChlbGVtZW50ID09PSBzZW50aW5lbCkge1xuICAgICAgICAgICAgICAgIGVsZW1lbnQgPSBsZWF2ZWxpc3QucG9wKCk7XG5cbiAgICAgICAgICAgICAgICB0YXJnZXQgPSB0aGlzLl9fZXhlY3V0ZSh2aXNpdG9yLmxlYXZlLCBlbGVtZW50KTtcblxuICAgICAgICAgICAgICAgIC8vIG5vZGUgbWF5IGJlIHJlcGxhY2VkIHdpdGggbnVsbCxcbiAgICAgICAgICAgICAgICAvLyBzbyBkaXN0aW5ndWlzaCBiZXR3ZWVuIHVuZGVmaW5lZCBhbmQgbnVsbCBpbiB0aGlzIHBsYWNlXG4gICAgICAgICAgICAgICAgaWYgKHRhcmdldCAhPT0gdW5kZWZpbmVkICYmIHRhcmdldCAhPT0gQlJFQUsgJiYgdGFyZ2V0ICE9PSBTS0lQICYmIHRhcmdldCAhPT0gUkVNT1ZFKSB7XG4gICAgICAgICAgICAgICAgICAgIC8vIHJlcGxhY2VcbiAgICAgICAgICAgICAgICAgICAgZWxlbWVudC5yZWYucmVwbGFjZSh0YXJnZXQpO1xuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIGlmICh0aGlzLl9fc3RhdGUgPT09IFJFTU9WRSB8fCB0YXJnZXQgPT09IFJFTU9WRSkge1xuICAgICAgICAgICAgICAgICAgICByZW1vdmVFbGVtKGVsZW1lbnQpO1xuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIGlmICh0aGlzLl9fc3RhdGUgPT09IEJSRUFLIHx8IHRhcmdldCA9PT0gQlJFQUspIHtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIG91dGVyLnJvb3Q7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIGNvbnRpbnVlO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICB0YXJnZXQgPSB0aGlzLl9fZXhlY3V0ZSh2aXNpdG9yLmVudGVyLCBlbGVtZW50KTtcblxuICAgICAgICAgICAgLy8gbm9kZSBtYXkgYmUgcmVwbGFjZWQgd2l0aCBudWxsLFxuICAgICAgICAgICAgLy8gc28gZGlzdGluZ3Vpc2ggYmV0d2VlbiB1bmRlZmluZWQgYW5kIG51bGwgaW4gdGhpcyBwbGFjZVxuICAgICAgICAgICAgaWYgKHRhcmdldCAhPT0gdW5kZWZpbmVkICYmIHRhcmdldCAhPT0gQlJFQUsgJiYgdGFyZ2V0ICE9PSBTS0lQICYmIHRhcmdldCAhPT0gUkVNT1ZFKSB7XG4gICAgICAgICAgICAgICAgLy8gcmVwbGFjZVxuICAgICAgICAgICAgICAgIGVsZW1lbnQucmVmLnJlcGxhY2UodGFyZ2V0KTtcbiAgICAgICAgICAgICAgICBlbGVtZW50Lm5vZGUgPSB0YXJnZXQ7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIGlmICh0aGlzLl9fc3RhdGUgPT09IFJFTU9WRSB8fCB0YXJnZXQgPT09IFJFTU9WRSkge1xuICAgICAgICAgICAgICAgIHJlbW92ZUVsZW0oZWxlbWVudCk7XG4gICAgICAgICAgICAgICAgZWxlbWVudC5ub2RlID0gbnVsbDtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgaWYgKHRoaXMuX19zdGF0ZSA9PT0gQlJFQUsgfHwgdGFyZ2V0ID09PSBCUkVBSykge1xuICAgICAgICAgICAgICAgIHJldHVybiBvdXRlci5yb290O1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAvLyBub2RlIG1heSBiZSBudWxsXG4gICAgICAgICAgICBub2RlID0gZWxlbWVudC5ub2RlO1xuICAgICAgICAgICAgaWYgKCFub2RlKSB7XG4gICAgICAgICAgICAgICAgY29udGludWU7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIHdvcmtsaXN0LnB1c2goc2VudGluZWwpO1xuICAgICAgICAgICAgbGVhdmVsaXN0LnB1c2goZWxlbWVudCk7XG5cbiAgICAgICAgICAgIGlmICh0aGlzLl9fc3RhdGUgPT09IFNLSVAgfHwgdGFyZ2V0ID09PSBTS0lQKSB7XG4gICAgICAgICAgICAgICAgY29udGludWU7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIG5vZGVUeXBlID0gZWxlbWVudC53cmFwIHx8IG5vZGUudHlwZTtcbiAgICAgICAgICAgIGNhbmRpZGF0ZXMgPSB0aGlzLl9fa2V5c1tub2RlVHlwZV07XG4gICAgICAgICAgICBpZiAoIWNhbmRpZGF0ZXMpIHtcbiAgICAgICAgICAgICAgICBpZiAodGhpcy5fX2ZhbGxiYWNrKSB7XG4gICAgICAgICAgICAgICAgICAgIGNhbmRpZGF0ZXMgPSBvYmplY3RLZXlzKG5vZGUpO1xuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIHRocm93IG5ldyBFcnJvcignVW5rbm93biBub2RlIHR5cGUgJyArIG5vZGVUeXBlICsgJy4nKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIGN1cnJlbnQgPSBjYW5kaWRhdGVzLmxlbmd0aDtcbiAgICAgICAgICAgIHdoaWxlICgoY3VycmVudCAtPSAxKSA+PSAwKSB7XG4gICAgICAgICAgICAgICAga2V5ID0gY2FuZGlkYXRlc1tjdXJyZW50XTtcbiAgICAgICAgICAgICAgICBjYW5kaWRhdGUgPSBub2RlW2tleV07XG4gICAgICAgICAgICAgICAgaWYgKCFjYW5kaWRhdGUpIHtcbiAgICAgICAgICAgICAgICAgICAgY29udGludWU7XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgaWYgKGlzQXJyYXkoY2FuZGlkYXRlKSkge1xuICAgICAgICAgICAgICAgICAgICBjdXJyZW50MiA9IGNhbmRpZGF0ZS5sZW5ndGg7XG4gICAgICAgICAgICAgICAgICAgIHdoaWxlICgoY3VycmVudDIgLT0gMSkgPj0gMCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKCFjYW5kaWRhdGVbY3VycmVudDJdKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY29udGludWU7XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoaXNQcm9wZXJ0eShub2RlVHlwZSwgY2FuZGlkYXRlc1tjdXJyZW50XSkpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBlbGVtZW50ID0gbmV3IEVsZW1lbnQoY2FuZGlkYXRlW2N1cnJlbnQyXSwgW2tleSwgY3VycmVudDJdLCAnUHJvcGVydHknLCBuZXcgUmVmZXJlbmNlKGNhbmRpZGF0ZSwgY3VycmVudDIpKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoaXNOb2RlKGNhbmRpZGF0ZVtjdXJyZW50Ml0pKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZWxlbWVudCA9IG5ldyBFbGVtZW50KGNhbmRpZGF0ZVtjdXJyZW50Ml0sIFtrZXksIGN1cnJlbnQyXSwgbnVsbCwgbmV3IFJlZmVyZW5jZShjYW5kaWRhdGUsIGN1cnJlbnQyKSk7XG4gICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnRpbnVlO1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgd29ya2xpc3QucHVzaChlbGVtZW50KTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoaXNOb2RlKGNhbmRpZGF0ZSkpIHtcbiAgICAgICAgICAgICAgICAgICAgd29ya2xpc3QucHVzaChuZXcgRWxlbWVudChjYW5kaWRhdGUsIGtleSwgbnVsbCwgbmV3IFJlZmVyZW5jZShub2RlLCBrZXkpKSk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgcmV0dXJuIG91dGVyL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JldHVybiBjb21tZW50O1xuICAgIH1cblxuICAgIGZ1bmN0aW9uIGF0dGFjaENvbW1lbnRzKHRyZWUsIHByb3ZpZGVkQ29tbWVudHMsIHRva2Vucykge1xuICAgICAgICAvLyBBdCBmaXJzdCwgd2Ugc2hvdWxkIGNhbGN1bGF0ZSBleHRlbmRlZCBjb21tZW50IHJhbmdlcy5cbiAgICAgICAgdmFyIGNvbW1lbnRzID0gW10sIGNvbW1lbnQsIGxlbiwgaSwgY3Vyc29yO1xuXG4gICAgICAgIGlmICghdHJlZS5yYW5nZSkge1xuICAgICAgICAgICAgdGhyb3cgbmV3IEVycm9yKCdhdHRhY2hDb21tZW50cyBuZWVkcyByYW5nZSBpbmZvcm1hdGlvbicpO1xuICAgICAgICB9XG5cbiAgICAgICAgLy8gdG9rZW5zIGFycmF5IGlzIGVtcHR5LCB3ZSBhdHRhY2ggY29tbWVudHMgdG8gdHJlZSBhcyAnbGVhZGluZ0NvbW1lbnRzJ1xuICAgICAgICBpZiAoIXRva2Vucy5sZW5ndGgpIHtcbiAgICAgICAgICAgIGlmIChwcm92aWRlZENvbW1lbnRzLmxlbmd0aCkge1xuICAgICAgICAgICAgICAgIGZvciAoaSA9IDAsIGxlbiA9IHByb3ZpZGVkQ29tbWVudHMubGVuZ3RoOyBpIDwgbGVuOyBpICs9IDEpIHtcbiAgICAgICAgICAgICAgICAgICAgY29tbWVudCA9IGRlZXBDb3B5KHByb3ZpZGVkQ29tbWVudHNbaV0pO1xuICAgICAgICAgICAgICAgICAgICBjb21tZW50LmV4dGVuZGVkUmFuZ2UgPSBbMCwgdHJlZS5yYW5nZVswXV07XG4gICAgICAgICAgICAgICAgICAgIGNvbW1lbnRzLnB1c2goY29tbWVudCk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIHRyZWUubGVhZGluZ0NvbW1lbnRzID0gY29tbWVudHM7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICByZXR1cm4gdHJlZTtcbiAgICAgICAgfVxuXG4gICAgICAgIGZvciAoaSA9IDAsIGxlbiA9IHByb3ZpZGVkQ29tbWVudHMubGVuZ3RoOyBpIDwgbGVuOyBpICs9IDEpIHtcbiAgICAgICAgICAgIGNvbW1lbnRzLnB1c2goZXh0ZW5kQ29tbWVudFJhbmdlKGRlZXBDb3B5KHByb3ZpZGVkQ29tbWVudHNbaV0pLCB0b2tlbnMpKTtcbiAgICAgICAgfVxuXG4gICAgICAgIC8vIFRoaXMgaXMgYmFzZWQgb24gSm9obiBGcmVlbWFuJ3MgaW1wbGVtZW50YXRpb24uXG4gICAgICAgIGN1cnNvciA9IDA7XG4gICAgICAgIHRyYXZlcnNlKHRyZWUsIHtcbiAgICAgICAgICAgIGVudGVyOiBmdW5jdGlvbiAobm9kZSkge1xuICAgICAgICAgICAgICAgIHZhciBjb21tZW50O1xuXG4gICAgICAgICAgICAgICAgd2hpbGUgKGN1cnNvciA8IGNvbW1lbnRzLmxlbmd0aCkge1xuICAgICAgICAgICAgICAgICAgICBjb21tZW50ID0gY29tbWVudHNbY3Vyc29yXTtcbiAgICAgICAgICAgICAgICAgICAgaWYgKGNvbW1lbnQuZXh0ZW5kZWRSYW5nZVsxXSA+IG5vZGUucmFuZ2VbMF0pIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAgICAgaWYgKGNvbW1lbnQuZXh0ZW5kZWRSYW5nZVsxXSA9PT0gbm9kZS5yYW5nZVswXSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKCFub2RlLmxlYWRpbmdDb21tZW50cykge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIG5vZGUubGVhZGluZ0NvbW1lbnRzID0gW107XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICBub2RlLmxlYWRpbmdDb21tZW50cy5wdXNoKGNvbW1lbnQpO1xuICAgICAgICAgICAgICAgICAgICAgICAgY29tbWVudHMuc3BsaWNlKGN1cnNvciwgMSk7XG4gICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBjdXJzb3IgKz0gMTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIC8vIGFscmVhZHkgb3V0IG9mIG93bmVkIG5vZGVcbiAgICAgICAgICAgICAgICBpZiAoY3Vyc29yID09PSBjb21tZW50cy5sZW5ndGgpIHtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFZpc2l0b3JPcHRpb24uQnJlYWs7XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgaWYgKGNvbW1lbnRzW2N1cnNvcl0uZXh0ZW5kZWRSYW5nZVswXSA+IG5vZGUucmFuZ2VbMV0pIHtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFZpc2l0b3JPcHRpb24uU2tpcDtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH0pO1xuXG4gICAgICAgIGN1cnNvciA9IDA7XG4gICAgICAgIHRyYXZlcnNlKHRyZWUsIHtcbiAgICAgICAgICAgIGxlYXZlOiBmdW5jdGlvbiAobm9kZSkge1xuICAgICAgICAgICAgICAgIHZhciBjb21tZW50O1xuXG4gICAgICAgICAgICAgICAgd2hpbGUgKGN1cnNvciA8IGNvbW1lbnRzLmxlbmd0aCkge1xuICAgICAgICAgICAgICAgICAgICBjb21tZW50ID0gY29tbWVudHNbY3Vyc29yXTtcbiAgICAgICAgICAgICAgICAgICAgaWYgKG5vZGUucmFuZ2VbMV0gPCBjb21tZW50LmV4dGVuZGVkUmFuZ2VbMF0pIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAgICAgaWYgKG5vZGUucmFuZ2VbMV0gPT09IGNvbW1lbnQuZXh0ZW5kZWRSYW5nZVswXSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKCFub2RlLnRyYWlsaW5nQ29tbWVudHMpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBub2RlLnRyYWlsaW5nQ29tbWVudHMgPSBbXTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIG5vZGUudHJhaWxpbmdDb21tZW50cy5wdXNoKGNvbW1lbnQpO1xuICAgICAgICAgICAgICAgICAgICAgICAgY29tbWVudHMuc3BsaWNlKGN1cnNvciwgMSk7XG4gICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBjdXJzb3IgKz0gMTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIC8vIGFscmVhZHkgb3V0IG9mIG93bmVkIG5vZGVcbiAgICAgICAgICAgICAgICBpZiAoY3Vyc29yID09PSBjb21tZW50cy5sZW5ndGgpIHtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFZpc2l0b3JPcHRpb24uQnJlYWs7XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgaWYgKGNvbW1lbnRzW2N1cnNvcl0uZXh0ZW5kZWRSYW5nZVswXSA+IG5vZGUucmFuZ2VbMV0pIHtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFZpc2l0b3JPcHRpb24uU2tpcDtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH0pO1xuXG4gICAgICAgIHJldHVybiB0cmVlO1xuICAgIH1cblxuICAgIGV4cG9ydHMudmVyc2lvbiA9IHJlcXVpcmUoJy4vcGFja2FnZS5qc29uJykudmVyc2lvbjtcbiAgICBleHBvcnRzLlN5bnRheCA9IFN5bnRheDtcbiAgICBleHBvcnRzLnRyYXZlcnNlID0gdHJhdmVyc2U7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Bqc2RvYzogICAgICAgIHJlcXVpcmUoJy4vbGliL2FzdC11dGlscy9qc2RvYycpLFxuICBMb2FkZXI6ICAgICAgIHJlcXVpcmUoJy4vbGliL2xvYWRlci9maWxlLWxvYWRlcicpLFxuICBOb29wUmVzb2x2ZXI6IHJlcXVpcmUoJy4vbGliL2xvYWRlci9ub29wLXJlc29sdmVyJyksXG4gIFhIUlJlc29sdmVyOiAgcmVxdWlyZSgnLi9saWIvbG9hZGVyL3hoci1yZXNvbHZlcicpLFxuICBfanNQYXJzZTogICAgIHJlcXVpcmUoJy4vbGliL2FzdC11dGlscy9qcy1wYXJzZScpLFxuICBfaW1wb3J0UGFyc2U6IHJlcXVpcmUoJy4vbGliL2FzdC11dGlscy9pbXBvcnQtcGFyc2UnKSxcbn07XG4iXX0= | ... | ... |
bower_components/hydrolysis/index.js
100755 โ 100644
bower_components/iron-a11y-announcer/.bower.json
100755 โ 100644
1 | 1 | { |
2 | 2 | "name": "iron-a11y-announcer", |
3 | - "version": "1.0.2", | |
3 | + "version": "1.0.3", | |
4 | 4 | "description": "A singleton element that simplifies announcing text to screen readers.", |
5 | 5 | "keywords": [ |
6 | 6 | "web-components", |
... | ... | @@ -29,14 +29,14 @@ |
29 | 29 | "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0", |
30 | 30 | "web-component-tester": "*" |
31 | 31 | }, |
32 | - "homepage": "https://github.com/PolymerElements/iron-a11y-announcer", | |
33 | - "_release": "1.0.2", | |
32 | + "homepage": "https://github.com/polymerelements/iron-a11y-announcer", | |
33 | + "_release": "1.0.3", | |
34 | 34 | "_resolution": { |
35 | 35 | "type": "version", |
36 | - "tag": "v1.0.2", | |
37 | - "commit": "6010b30a67a12333f76394a558c820db727f7c84" | |
36 | + "tag": "v1.0.3", | |
37 | + "commit": "a5b8161326f11d68eacb5e9ea60694ebd779b48a" | |
38 | 38 | }, |
39 | - "_source": "git://github.com/PolymerElements/iron-a11y-announcer.git", | |
39 | + "_source": "git://github.com/polymerelements/iron-a11y-announcer.git", | |
40 | 40 | "_target": "^1.0.0", |
41 | - "_originalSource": "PolymerElements/iron-a11y-announcer" | |
41 | + "_originalSource": "polymerelements/iron-a11y-announcer" | |
42 | 42 | } |
43 | 43 | \ No newline at end of file | ... | ... |
bower_components/iron-a11y-announcer/.gitignore
100755 โ 100644
bower_components/iron-a11y-announcer/README.md
100755 โ 100644
bower_components/iron-a11y-announcer/bower.json
100755 โ 100644
bower_components/iron-a11y-announcer/demo/index.html
100755 โ 100644
bower_components/iron-a11y-announcer/demo/x-announces.html
100755 โ 100644
bower_components/iron-a11y-announcer/index.html
100755 โ 100644
bower_components/iron-a11y-announcer/iron-a11y-announcer.html
100755 โ 100644
bower_components/iron-a11y-announcer/test/index.html
100755 โ 100644
bower_components/iron-a11y-announcer/test/iron-a11y-announcer.html
100755 โ 100644
bower_components/iron-a11y-keys-behavior/.bower.json
100755 โ 100644
1 | 1 | { |
2 | 2 | "name": "iron-a11y-keys-behavior", |
3 | - "version": "1.0.5", | |
3 | + "version": "1.0.6", | |
4 | 4 | "description": "A behavior that enables keybindings for greater a11y.", |
5 | 5 | "keywords": [ |
6 | 6 | "web-components", |
... | ... | @@ -30,11 +30,11 @@ |
30 | 30 | "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" |
31 | 31 | }, |
32 | 32 | "homepage": "https://github.com/polymerelements/iron-a11y-keys-behavior", |
33 | - "_release": "1.0.5", | |
33 | + "_release": "1.0.6", | |
34 | 34 | "_resolution": { |
35 | 35 | "type": "version", |
36 | - "tag": "v1.0.5", | |
37 | - "commit": "cf833eab5c55a26c5aa92e56d3fcb079120ce66a" | |
36 | + "tag": "v1.0.6", | |
37 | + "commit": "af5c98b1cf9b3d180a6326c99ac9c7057eee647f" | |
38 | 38 | }, |
39 | 39 | "_source": "git://github.com/polymerelements/iron-a11y-keys-behavior.git", |
40 | 40 | "_target": "^1.0.0", | ... | ... |
bower_components/iron-a11y-keys-behavior/.gitignore
100755 โ 100644
bower_components/iron-a11y-keys-behavior/README.md
100755 โ 100644
bower_components/iron-a11y-keys-behavior/bower.json
100755 โ 100644
bower_components/iron-a11y-keys-behavior/demo/index.html
100755 โ 100644
bower_components/iron-a11y-keys-behavior/demo/x-key-aware.html
100755 โ 100644
bower_components/iron-a11y-keys-behavior/index.html
100755 โ 100644
bower_components/iron-a11y-keys-behavior/iron-a11y-keys-behavior.html
100755 โ 100644
... | ... | @@ -241,7 +241,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN |
241 | 241 | * `keys` property is pressed. |
242 | 242 | * |
243 | 243 | * @demo demo/index.html |
244 | - * @polymerBehavior IronA11yKeysBehavior | |
244 | + * @polymerBehavior | |
245 | 245 | */ |
246 | 246 | Polymer.IronA11yKeysBehavior = { |
247 | 247 | properties: { | ... | ... |
bower_components/iron-a11y-keys-behavior/test/basic-test.html
100755 โ 100644
bower_components/iron-ajax/.bower.json
100755 โ 100644
1 | 1 | { |
2 | 2 | "name": "iron-ajax", |
3 | - "version": "1.0.3", | |
3 | + "version": "1.0.5", | |
4 | 4 | "description": "Makes it easy to make ajax calls and parse the response", |
5 | 5 | "private": true, |
6 | 6 | "authors": [ |
... | ... | @@ -11,10 +11,7 @@ |
11 | 11 | "polymer", |
12 | 12 | "ajax" |
13 | 13 | ], |
14 | - "main": [ | |
15 | - "iron-ajax.html", | |
16 | - "iron-request.html" | |
17 | - ], | |
14 | + "main": "iron-ajax.html", | |
18 | 15 | "repository": { |
19 | 16 | "type": "git", |
20 | 17 | "url": "git://github.com/PolymerElements/iron-ajax.git" |
... | ... | @@ -35,11 +32,11 @@ |
35 | 32 | "web-component-tester": "*", |
36 | 33 | "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" |
37 | 34 | }, |
38 | - "_release": "1.0.3", | |
35 | + "_release": "1.0.5", | |
39 | 36 | "_resolution": { |
40 | 37 | "type": "version", |
41 | - "tag": "v1.0.3", | |
42 | - "commit": "32d96a1064a522cdc8e2cb5462b45d5232a7df16" | |
38 | + "tag": "v1.0.5", | |
39 | + "commit": "ce7e3e4cbac6b3d9aebae626021498882326b3bc" | |
43 | 40 | }, |
44 | 41 | "_source": "git://github.com/PolymerElements/iron-ajax.git", |
45 | 42 | "_target": "^1.0.0", | ... | ... |
bower_components/iron-ajax/.gitignore
100755 โ 100644
bower_components/iron-ajax/README.md
100755 โ 100644
bower_components/iron-ajax/bower.json
100755 โ 100644
1 | 1 | { |
2 | 2 | "name": "iron-ajax", |
3 | - "version": "1.0.3", | |
3 | + "version": "1.0.5", | |
4 | 4 | "description": "Makes it easy to make ajax calls and parse the response", |
5 | 5 | "private": true, |
6 | 6 | "authors": [ |
... | ... | @@ -11,10 +11,7 @@ |
11 | 11 | "polymer", |
12 | 12 | "ajax" |
13 | 13 | ], |
14 | - "main": [ | |
15 | - "iron-ajax.html", | |
16 | - "iron-request.html" | |
17 | - ], | |
14 | + "main": "iron-ajax.html", | |
18 | 15 | "repository": { |
19 | 16 | "type": "git", |
20 | 17 | "url": "git://github.com/PolymerElements/iron-ajax.git" | ... | ... |
bower_components/iron-ajax/demo/index.html
100755 โ 100644
bower_components/iron-ajax/hero.svg
100755 โ 100644
bower_components/iron-ajax/index.html
100755 โ 100644
bower_components/iron-ajax/iron-ajax.html
100755 โ 100644
... | ... | @@ -60,6 +60,10 @@ element. |
60 | 60 | * @event error |
61 | 61 | */ |
62 | 62 | |
63 | + hostAttributes: { | |
64 | + hidden: true | |
65 | + }, | |
66 | + | |
63 | 67 | properties: { |
64 | 68 | /** |
65 | 69 | * The URL target of the request. |
... | ... | @@ -204,29 +208,32 @@ element. |
204 | 208 | }, |
205 | 209 | |
206 | 210 | /** |
207 | - * Will be set to true if there is at least one in-flight request | |
208 | - * associated with this iron-ajax element. | |
211 | + * The most recent request made by this iron-ajax element. | |
209 | 212 | */ |
210 | - loading: { | |
211 | - type: Boolean, | |
213 | + lastRequest: { | |
214 | + type: Object, | |
212 | 215 | notify: true, |
213 | 216 | readOnly: true |
214 | 217 | }, |
215 | 218 | |
216 | 219 | /** |
217 | - * Will be set to the most recent request made by this iron-ajax element. | |
220 | + * True while lastRequest is in flight. | |
218 | 221 | */ |
219 | - lastRequest: { | |
220 | - type: Object, | |
222 | + loading: { | |
223 | + type: Boolean, | |
221 | 224 | notify: true, |
222 | 225 | readOnly: true |
223 | 226 | }, |
224 | 227 | |
225 | 228 | /** |
226 | - * Will be set to the most recent response received by a request | |
227 | - * that originated from this iron-ajax element. The type of the response | |
228 | - * is determined by the value of `handleAs` at the time that the request | |
229 | - * was generated. | |
229 | + * lastRequest's response. | |
230 | + * | |
231 | + * Note that lastResponse and lastError are set when lastRequest finishes, | |
232 | + * so if loading is true, then lastResponse and lastError will correspond | |
233 | + * to the result of the previous request. | |
234 | + * | |
235 | + * The type of the response is determined by the value of `handleAs` at | |
236 | + * the time that the request was generated. | |
230 | 237 | */ |
231 | 238 | lastResponse: { |
232 | 239 | type: Object, |
... | ... | @@ -235,8 +242,7 @@ element. |
235 | 242 | }, |
236 | 243 | |
237 | 244 | /** |
238 | - * Will be set to the most recent error that resulted from a request | |
239 | - * that originated from this iron-ajax element. | |
245 | + * lastRequest's error, if any. | |
240 | 246 | */ |
241 | 247 | lastError: { |
242 | 248 | type: Object, |
... | ... | @@ -275,7 +281,7 @@ element. |
275 | 281 | }, |
276 | 282 | |
277 | 283 | observers: [ |
278 | - '_requestOptionsChanged(url, method, params, headers,' + | |
284 | + '_requestOptionsChanged(url, method, params.*, headers,' + | |
279 | 285 | 'contentType, body, sync, handleAs, withCredentials, auto)' |
280 | 286 | ], |
281 | 287 | |
... | ... | @@ -399,14 +405,18 @@ element. |
399 | 405 | this.fire('request', { |
400 | 406 | request: request, |
401 | 407 | options: requestOptions |
402 | - }); | |
408 | + }, {bubbles: false}); | |
403 | 409 | |
404 | 410 | return request; |
405 | 411 | }, |
406 | 412 | |
407 | 413 | _handleResponse: function(request) { |
408 | - this._setLastResponse(request.response); | |
409 | - this.fire('response', request); | |
414 | + if (request === this.lastRequest) { | |
415 | + this._setLastResponse(request.response); | |
416 | + this._setLastError(null); | |
417 | + this._setLoading(false); | |
418 | + } | |
419 | + this.fire('response', request, {bubbles: false}); | |
410 | 420 | }, |
411 | 421 | |
412 | 422 | _handleError: function(request, error) { |
... | ... | @@ -414,14 +424,18 @@ element. |
414 | 424 | console.error(error); |
415 | 425 | } |
416 | 426 | |
417 | - this._setLastError({ | |
418 | - request: request, | |
419 | - error: error | |
420 | - }); | |
427 | + if (request === this.lastRequest) { | |
428 | + this._setLastError({ | |
429 | + request: request, | |
430 | + error: error | |
431 | + }); | |
432 | + this._setLastResponse(null); | |
433 | + this._setLoading(false); | |
434 | + } | |
421 | 435 | this.fire('error', { |
422 | 436 | request: request, |
423 | 437 | error: error |
424 | - }); | |
438 | + }, {bubbles: false}); | |
425 | 439 | }, |
426 | 440 | |
427 | 441 | _discardRequest: function(request) { |
... | ... | @@ -430,10 +444,6 @@ element. |
430 | 444 | if (requestIndex > -1) { |
431 | 445 | this.activeRequests.splice(requestIndex, 1); |
432 | 446 | } |
433 | - | |
434 | - if (this.activeRequests.length === 0) { | |
435 | - this._setLoading(false); | |
436 | - } | |
437 | 447 | }, |
438 | 448 | |
439 | 449 | _requestOptionsChanged: function() { | ... | ... |
bower_components/iron-ajax/iron-request.html
100755 โ 100644
... | ... | @@ -23,6 +23,10 @@ iron-request can be used to perform XMLHttpRequests. |
23 | 23 | Polymer({ |
24 | 24 | is: 'iron-request', |
25 | 25 | |
26 | + hostAttributes: { | |
27 | + hidden: true | |
28 | + }, | |
29 | + | |
26 | 30 | properties: { |
27 | 31 | |
28 | 32 | /** |
... | ... | @@ -63,7 +67,6 @@ iron-request can be used to perform XMLHttpRequests. |
63 | 67 | * A reference to the status code, if the `xhr` has completely resolved. |
64 | 68 | * |
65 | 69 | * @attribute status |
66 | - * @type short | |
67 | 70 | * @default 0 |
68 | 71 | */ |
69 | 72 | status: { |
... | ... | @@ -77,7 +80,6 @@ iron-request can be used to perform XMLHttpRequests. |
77 | 80 | * A reference to the status text, if the `xhr` has completely resolved. |
78 | 81 | * |
79 | 82 | * @attribute statusText |
80 | - * @type String | |
81 | 83 | * @default "" |
82 | 84 | */ |
83 | 85 | statusText: { |
... | ... | @@ -237,7 +239,6 @@ iron-request can be used to perform XMLHttpRequests. |
237 | 239 | } |
238 | 240 | var body = this._encodeBodyObject(options.body, contentType); |
239 | 241 | |
240 | - | |
241 | 242 | // In IE, `xhr.responseType` is an empty string when the response |
242 | 243 | // returns. Hence, caching it as `xhr._responseType`. |
243 | 244 | xhr.responseType = xhr._responseType = (options.handleAs || 'text'); |
... | ... | @@ -245,7 +246,10 @@ iron-request can be used to perform XMLHttpRequests. |
245 | 246 | |
246 | 247 | |
247 | 248 | |
248 | - xhr.send(body); | |
249 | + xhr.send( | |
250 | + /** @type {ArrayBuffer|ArrayBufferView|Blob|Document|FormData| | |
251 | + null|string|undefined} */ | |
252 | + (body)); | |
249 | 253 | |
250 | 254 | return this.completes; |
251 | 255 | }, |
... | ... | @@ -275,7 +279,7 @@ iron-request can be used to perform XMLHttpRequests. |
275 | 279 | // If accessing `xhr.responseText` throws, responseType `json` |
276 | 280 | // is supported and the result is rightly `undefined`. |
277 | 281 | try { |
278 | - xhr.responseText; | |
282 | + /** @suppress {suspiciousCode} */ xhr.responseText; | |
279 | 283 | } catch (e) { |
280 | 284 | return xhr.response; |
281 | 285 | } |
... | ... | @@ -314,20 +318,21 @@ iron-request can be used to perform XMLHttpRequests. |
314 | 318 | * @param {*} body The given body of the request to try and encode. |
315 | 319 | * @param {?string} contentType The given content type, to infer an encoding |
316 | 320 | * from. |
317 | - * @return {?string|*} Either the encoded body as a string, if successful, | |
321 | + * @return {*} Either the encoded body as a string, if successful, | |
318 | 322 | * or the unaltered body object if no encoding could be inferred. |
319 | 323 | */ |
320 | 324 | _encodeBodyObject: function(body, contentType) { |
321 | 325 | if (typeof body == 'string') { |
322 | 326 | return body; // Already encoded. |
323 | 327 | } |
328 | + var bodyObj = /** @type {Object} */ (body); | |
324 | 329 | switch(contentType) { |
325 | 330 | case('application/json'): |
326 | - return JSON.stringify(body); | |
331 | + return JSON.stringify(bodyObj); | |
327 | 332 | case('application/x-www-form-urlencoded'): |
328 | - return this._wwwFormUrlEncode(body); | |
333 | + return this._wwwFormUrlEncode(bodyObj); | |
329 | 334 | } |
330 | - return body; // Unknown, make no change. | |
335 | + return body; | |
331 | 336 | }, |
332 | 337 | |
333 | 338 | /** | ... | ... |
bower_components/iron-ajax/test/index.html
100755 โ 100644
... | ... | @@ -11,7 +11,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN |
11 | 11 | <html> |
12 | 12 | <head> |
13 | 13 | <meta charset="utf-8"> |
14 | - <script src="../../webcomponentsjs/webcomponents.js"></script> | |
14 | + <script src="../../webcomponentsjs/webcomponents-lite.js"></script> | |
15 | 15 | <script src="../../web-component-tester/browser.js"></script> |
16 | 16 | </head> |
17 | 17 | <body> | ... | ... |
bower_components/iron-ajax/test/iron-ajax.html
100755 โ 100644
... | ... | @@ -16,7 +16,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN |
16 | 16 | <script src="../../test-fixture/test-fixture-mocha.js"></script> |
17 | 17 | |
18 | 18 | <link rel="import" href="../../polymer/polymer.html"> |
19 | - <link rel="import" href="../../promise-polyfill/promise-polyfill-lite.html"> | |
19 | + <link rel="import" href="../../promise-polyfill/promise-polyfill.html"> | |
20 | 20 | <link rel="import" href="../../test-fixture/test-fixture.html"> |
21 | 21 | <link rel="import" href="../iron-ajax.html"> |
22 | 22 | </head> |
... | ... | @@ -37,6 +37,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN |
37 | 37 | <iron-ajax auto url="/responds_to_get_with_json"></iron-ajax> |
38 | 38 | </template> |
39 | 39 | </test-fixture> |
40 | + <test-fixture id="GetEcho"> | |
41 | + <template> | |
42 | + <iron-ajax handle-as="json" url="/echoes_request_url"></iron-ajax> | |
43 | + </template> | |
44 | + </test-fixture> | |
40 | 45 | <test-fixture id="TrivialPost"> |
41 | 46 | <template> |
42 | 47 | <iron-ajax method="POST" |
... | ... | @@ -128,6 +133,19 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN |
128 | 133 | server.restore(); |
129 | 134 | }); |
130 | 135 | |
136 | + // Echo requests are responded to individually and on demand, unlike the | |
137 | + // others in this file which are responded to with server.respond(), | |
138 | + // which responds to all open requests. | |
139 | + // We don't use server.respondWith here because there's no way to use it | |
140 | + // and only respond to a subset of requests. | |
141 | + // This way we can test for delayed and out of order responses and | |
142 | + // distinquish them by their responses. | |
143 | + function respondToEchoRequest(request) { | |
144 | + request.respond(200, responseHeaders.json, JSON.stringify({ | |
145 | + url: request.url | |
146 | + })); | |
147 | + } | |
148 | + | |
131 | 149 | suite('when making simple GET requests for JSON', function() { |
132 | 150 | test('has sane defaults that love you', function() { |
133 | 151 | request = ajax.generateRequest(); |
... | ... | @@ -185,44 +203,100 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN |
185 | 203 | expect(ajax.generateRequest()).to.be.instanceOf(IronRequest); |
186 | 204 | }); |
187 | 205 | |
188 | - test('reflects the loading state in the `loading` property', function(done) { | |
206 | + test('reflects the loading state in the `loading` property', function() { | |
189 | 207 | var request = ajax.generateRequest(); |
190 | 208 | |
191 | 209 | expect(ajax.loading).to.be.equal(true); |
192 | 210 | |
193 | 211 | server.respond(); |
194 | 212 | |
195 | - timePasses(1).then(function() { | |
213 | + return request.completes.then(function() { | |
214 | + return timePasses(1); | |
215 | + }).then(function() { | |
196 | 216 | expect(ajax.loading).to.be.equal(false); |
197 | - done(); | |
198 | - }).catch(function(e) { | |
199 | - done(e); | |
200 | 217 | }); |
201 | 218 | }); |
202 | 219 | }); |
203 | 220 | |
204 | 221 | suite('when there are multiple requests', function() { |
205 | 222 | var requests; |
223 | + var echoAjax; | |
224 | + var promiseAllComplete; | |
206 | 225 | |
207 | 226 | setup(function() { |
227 | + echoAjax = fixture('GetEcho'); | |
208 | 228 | requests = []; |
209 | 229 | |
210 | 230 | for (var i = 0; i < 3; ++i) { |
211 | - requests.push(ajax.generateRequest()); | |
231 | + echoAjax.params = {'order': i + 1}; | |
232 | + requests.push(echoAjax.generateRequest()); | |
212 | 233 | } |
234 | + var allPromises = requests.map(function(r){return r.completes}); | |
235 | + promiseAllComplete = Promise.all(allPromises); | |
213 | 236 | }); |
214 | 237 | |
215 | 238 | test('holds all requests in the `activeRequests` Array', function() { |
216 | - expect(requests).to.deep.eql(ajax.activeRequests); | |
239 | + expect(requests).to.deep.eql(echoAjax.activeRequests); | |
217 | 240 | }); |
218 | 241 | |
219 | - test('empties `activeRequests` when requests are completed', function(done) { | |
220 | - server.respond(); | |
221 | - timePasses(1).then(function() { | |
222 | - expect(ajax.activeRequests.length).to.be.equal(0); | |
223 | - done(); | |
224 | - }).catch(function(e) { | |
225 | - done(e); | |
242 | + test('empties `activeRequests` when requests are completed', function() { | |
243 | + expect(echoAjax.activeRequests.length).to.be.equal(3); | |
244 | + for (var i = 0; i < 3; i++) { | |
245 | + respondToEchoRequest(server.requests[i]); | |
246 | + } | |
247 | + return promiseAllComplete.then(function() { | |
248 | + return timePasses(1); | |
249 | + }).then(function() { | |
250 | + expect(echoAjax.activeRequests.length).to.be.equal(0); | |
251 | + }); | |
252 | + }); | |
253 | + | |
254 | + test('avoids race conditions with last response', function() { | |
255 | + expect(echoAjax.lastResponse).to.be.equal(undefined); | |
256 | + | |
257 | + // Resolving the oldest request doesn't update lastResponse. | |
258 | + respondToEchoRequest(server.requests[0]); | |
259 | + return requests[0].completes.then(function() { | |
260 | + expect(echoAjax.lastResponse).to.be.equal(undefined); | |
261 | + | |
262 | + // Resolving the most recent request does! | |
263 | + respondToEchoRequest(server.requests[2]); | |
264 | + return requests[2].completes; | |
265 | + }).then(function() { | |
266 | + expect(echoAjax.lastResponse).to.be.deep.eql( | |
267 | + {url: '/echoes_request_url?order=3'}); | |
268 | + | |
269 | + | |
270 | + // Resolving an out of order stale request after does nothing! | |
271 | + respondToEchoRequest(server.requests[1]); | |
272 | + return requests[1].completes; | |
273 | + }).then(function() { | |
274 | + expect(echoAjax.lastResponse).to.be.deep.eql( | |
275 | + {url: '/echoes_request_url?order=3'}); | |
276 | + }); | |
277 | + }); | |
278 | + | |
279 | + test('`loading` is true while the last one is loading', function() { | |
280 | + expect(echoAjax.loading).to.be.equal(true); | |
281 | + | |
282 | + respondToEchoRequest(server.requests[0]); | |
283 | + return requests[0].completes.then(function() { | |
284 | + // We're still loading because requests[2] is the most recently | |
285 | + // made request. | |
286 | + expect(echoAjax.loading).to.be.equal(true); | |
287 | + | |
288 | + respondToEchoRequest(server.requests[2]); | |
289 | + return requests[2].completes; | |
290 | + }).then(function() { | |
291 | + // Now we're done loading. | |
292 | + expect(echoAjax.loading).to.be.eql(false); | |
293 | + | |
294 | + // Resolving an out of order stale request after should have | |
295 | + // no effect. | |
296 | + respondToEchoRequest(server.requests[1]); | |
297 | + return requests[1].completes; | |
298 | + }).then(function() { | |
299 | + expect(echoAjax.loading).to.be.eql(false); | |
226 | 300 | }); |
227 | 301 | }); |
228 | 302 | }); |
... | ... | @@ -246,42 +320,63 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN |
246 | 320 | ajax = fixture('AutoGet'); |
247 | 321 | }); |
248 | 322 | |
249 | - test('automatically generates new requests', function(done) { | |
250 | - ajax.addEventListener('request', function() { | |
251 | - done(); | |
323 | + test('automatically generates new requests', function() { | |
324 | + return new Promise(function(resolve) { | |
325 | + ajax.addEventListener('request', function() { | |
326 | + resolve(); | |
327 | + }); | |
252 | 328 | }); |
253 | 329 | }); |
254 | 330 | |
255 | - test('does not send requests if url is not a string', function(done) { | |
256 | - ajax.addEventListener('request', function() { | |
257 | - done(new Error('A request was generated but url is null!')); | |
258 | - }); | |
331 | + test('does not send requests if url is not a string', function() { | |
332 | + return new Promise(function(resolve, reject) { | |
333 | + ajax.addEventListener('request', function() { | |
334 | + reject('A request was generated but url is null!'); | |
335 | + }); | |
259 | 336 | |
260 | - ajax.url = null; | |
261 | - ajax.handleAs = 'text'; | |
337 | + ajax.url = null; | |
338 | + ajax.handleAs = 'text'; | |
262 | 339 | |
263 | - Polymer.Base.async(function() { | |
264 | - done(); | |
265 | - }, 1); | |
340 | + Polymer.Base.async(function() { | |
341 | + resolve(); | |
342 | + }, 1); | |
343 | + }); | |
266 | 344 | }); |
267 | 345 | |
268 | - test('deduplicates multiple changes to a single request', function(done) { | |
346 | + test('deduplicates multiple changes to a single request', function() { | |
347 | + return new Promise(function(resolve, reject) { | |
348 | + ajax.addEventListener('request', function() { | |
349 | + server.respond(); | |
350 | + }); | |
351 | + | |
352 | + ajax.addEventListener('response', function() { | |
353 | + try { | |
354 | + expect(ajax.activeRequests.length).to.be.eql(1); | |
355 | + resolve() | |
356 | + } catch (e) { | |
357 | + reject(e); | |
358 | + } | |
359 | + }); | |
360 | + | |
361 | + ajax.handleas = 'text'; | |
362 | + ajax.params = { foo: 'bar' }; | |
363 | + ajax.headers = { 'X-Foo': 'Bar' }; | |
364 | + }); | |
365 | + }); | |
366 | + | |
367 | + test('automatically generates new request when a sub-property of params is changed', function(done) { | |
269 | 368 | ajax.addEventListener('request', function() { |
270 | 369 | server.respond(); |
271 | 370 | }); |
272 | - | |
371 | + | |
372 | + ajax.params = { foo: 'bar' }; | |
273 | 373 | ajax.addEventListener('response', function() { |
274 | - try { | |
275 | - expect(ajax.activeRequests.length).to.be.eql(1); | |
374 | + ajax.addEventListener('request', function() { | |
276 | 375 | done(); |
277 | - } catch (e) { | |
278 | - done(e); | |
279 | - } | |
376 | + }); | |
377 | + | |
378 | + ajax.set('params.foo', 'xyz'); | |
280 | 379 | }); |
281 | - | |
282 | - ajax.handleas = 'text'; | |
283 | - ajax.params = { foo: 'bar' }; | |
284 | - ajax.headers = { 'X-Foo': 'Bar' }; | |
285 | 380 | }); |
286 | 381 | }); |
287 | 382 | |
... | ... | @@ -291,16 +386,15 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN |
291 | 386 | server.respond(); |
292 | 387 | }); |
293 | 388 | |
294 | - test('is accessible as a readonly property', function(done) { | |
295 | - request.completes.then(function (request) { | |
389 | + test('is accessible as a readonly property', function() { | |
390 | + return request.completes.then(function (request) { | |
296 | 391 | expect(ajax.lastResponse).to.be.equal(request.response); |
297 | - done(); | |
298 | - }).catch(done); | |
392 | + }); | |
299 | 393 | }); |
300 | 394 | |
301 | 395 | |
302 | - test('updates with each new response', function(done) { | |
303 | - request.completes.then(function(request) { | |
396 | + test('updates with each new response', function() { | |
397 | + return request.completes.then(function(request) { | |
304 | 398 | |
305 | 399 | expect(request.response).to.be.an('object'); |
306 | 400 | expect(ajax.lastResponse).to.be.equal(request.response); |
... | ... | @@ -310,15 +404,10 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN |
310 | 404 | server.respond(); |
311 | 405 | |
312 | 406 | return request.completes; |
313 | - | |
314 | 407 | }).then(function(request) { |
315 | - | |
316 | 408 | expect(request.response).to.be.a('string'); |
317 | 409 | expect(ajax.lastResponse).to.be.equal(request.response); |
318 | - | |
319 | - done(); | |
320 | - | |
321 | - }).catch(done); | |
410 | + }); | |
322 | 411 | }); |
323 | 412 | }); |
324 | 413 | |
... | ... | @@ -412,14 +501,13 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN |
412 | 501 | ajax = fixture('DebouncedGet'); |
413 | 502 | }); |
414 | 503 | |
415 | - test('only requests a single resource', function(done) { | |
504 | + test('only requests a single resource', function() { | |
416 | 505 | ajax._requestOptionsChanged(); |
417 | 506 | expect(server.requests[0]).to.be.equal(undefined); |
418 | 507 | ajax._requestOptionsChanged(); |
419 | - window.setTimeout(function() { | |
508 | + return timePasses(200).then(function() { | |
420 | 509 | expect(server.requests[0]).to.be.ok; |
421 | - done(); | |
422 | - }, 200); | |
510 | + }); | |
423 | 511 | }); |
424 | 512 | }); |
425 | 513 | |
... | ... | @@ -431,16 +519,15 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN |
431 | 519 | ajax.addEventListener('response', responseHandler); |
432 | 520 | }); |
433 | 521 | |
434 | - test('calls the handler after every response', function(done) { | |
522 | + test('calls the handler after every response', function() { | |
435 | 523 | ajax.generateRequest(); |
436 | 524 | ajax.generateRequest(); |
437 | 525 | |
438 | 526 | server.respond(); |
439 | 527 | |
440 | - ajax.lastRequest.completes.then(function() { | |
528 | + return ajax.lastRequest.completes.then(function() { | |
441 | 529 | expect(responseHandler.callCount).to.be.equal(2); |
442 | - done(); | |
443 | - }).catch(done); | |
530 | + }); | |
444 | 531 | }); |
445 | 532 | }); |
446 | 533 | |
... | ... | @@ -449,94 +536,72 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN |
449 | 536 | server.restore(); |
450 | 537 | }); |
451 | 538 | |
452 | - test('finds the JSON on any platform', function(done) { | |
539 | + test('finds the JSON on any platform', function() { | |
453 | 540 | ajax.url = '../bower.json'; |
454 | 541 | request = ajax.generateRequest(); |
455 | - request.completes.then(function() { | |
542 | + return request.completes.then(function() { | |
456 | 543 | expect(ajax.lastResponse).to.be.instanceOf(Object); |
457 | - done(); | |
458 | - }).catch(function(e) { | |
459 | - done(e); | |
460 | 544 | }); |
461 | 545 | }); |
462 | 546 | }); |
463 | 547 | |
464 | 548 | suite('when handleAs parameter is `text`', function() { |
465 | 549 | |
466 | - test('response type is string', function (done) { | |
467 | - | |
550 | + test('response type is string', function () { | |
468 | 551 | ajax.url = '/responds_to_get_with_json'; |
469 | 552 | ajax.handleAs = 'text'; |
470 | 553 | |
471 | 554 | request = ajax.generateRequest(); |
472 | - request.completes.then(function () { | |
555 | + var promise = request.completes.then(function () { | |
473 | 556 | expect(typeof(ajax.lastResponse)).to.be.equal('string'); |
474 | - done(); | |
475 | - }).catch(function (e) { | |
476 | - done(e); | |
477 | 557 | }); |
478 | 558 | |
479 | 559 | server.respond(); |
480 | 560 | |
561 | + return promise; | |
481 | 562 | }); |
482 | 563 | |
483 | 564 | }); |
484 | 565 | |
485 | 566 | suite('when a request fails', function() { |
486 | - test('the error event has useful details', function(done) { | |
487 | - | |
567 | + test('we give an error with useful details', function() { | |
488 | 568 | ajax.url = '/responds_to_get_with_text'; |
489 | 569 | ajax.handleAs = 'json'; |
490 | - ajax.generateRequest(); | |
491 | - | |
570 | + var eventFired = false; | |
492 | 571 | ajax.addEventListener('error', function(event) { |
493 | - try { | |
494 | - expect(event.detail.request).to.be.okay; | |
495 | - expect(event.detail.error).to.be.okay; | |
496 | - done(); | |
497 | - } catch (e) { | |
498 | - done(e); | |
499 | - } | |
572 | + expect(event.detail.request).to.be.okay; | |
573 | + expect(event.detail.error).to.be.okay; | |
574 | + eventFired = true; | |
575 | + }); | |
576 | + var promise = ajax.generateRequest().completes.then(function() { | |
577 | + throw new Error('Expected the request to fail!'); | |
578 | + }, function(error) { | |
579 | + expect(error).to.be.instanceof(Error); | |
580 | + return timePasses(100); | |
581 | + }).then(function() { | |
582 | + expect(eventFired).to.be.eq(true); | |
500 | 583 | }); |
501 | 584 | |
502 | 585 | server.respond(); |
586 | + | |
587 | + return promise; | |
503 | 588 | }); |
504 | 589 | }); |
505 | 590 | |
506 | 591 | suite('when handleAs parameter is `json`', function() { |
507 | 592 | |
508 | - test('response type is string', function (done) { | |
509 | - | |
593 | + test('response type is string', function () { | |
510 | 594 | ajax.url = '/responds_to_get_with_json'; |
511 | 595 | ajax.handleAs = 'json'; |
512 | 596 | |
513 | 597 | request = ajax.generateRequest(); |
514 | - request.completes.then(function () { | |
598 | + var promise = request.completes.then(function () { | |
515 | 599 | expect(typeof(ajax.lastResponse)).to.be.equal('object'); |
516 | - done(); | |
517 | - }).catch(function (e) { | |
518 | - done(e); | |
519 | - }); | |
520 | - | |
521 | - server.respond(); | |
522 | - | |
523 | - }); | |
524 | - | |
525 | - test('fails when getting invalid json data', function (done) { | |
526 | - | |
527 | - ajax.url = '/responds_to_get_with_text'; | |
528 | - ajax.handleAs = 'json'; | |
529 | - | |
530 | - request = ajax.generateRequest(); | |
531 | - request.completes.catch(function (e) { | |
532 | - expect(e).to.be.instanceOf(Error); | |
533 | - done(); | |
534 | - }).catch(function (e) { | |
535 | - done(e); | |
536 | 600 | }); |
537 | 601 | |
538 | 602 | server.respond(); |
539 | 603 | |
604 | + return promise; | |
540 | 605 | }); |
541 | 606 | |
542 | 607 | }); | ... | ... |
bower_components/iron-ajax/test/iron-request.html
100755 โ 100644
... | ... | @@ -11,7 +11,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN |
11 | 11 | <head> |
12 | 12 | <title>iron-request</title> |
13 | 13 | |
14 | - <script src="../../webcomponentsjs/webcomponents-lite.js"></script> | |
14 | + <script src="../../webcomponentsjs/webcomponents.js"></script> | |
15 | 15 | <script src="../../web-component-tester/browser.js"></script> |
16 | 16 | <script src="../../test-fixture/test-fixture-mocha.js"></script> |
17 | 17 | |
... | ... | @@ -86,50 +86,39 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN |
86 | 86 | expect(request.xhr.async).to.be.eql(true); |
87 | 87 | }); |
88 | 88 | |
89 | - test('can be aborted', function (done) { | |
89 | + test('can be aborted', function () { | |
90 | 90 | request.send(successfulRequestOptions); |
91 | 91 | |
92 | 92 | request.abort(); |
93 | 93 | |
94 | 94 | server.respond(); |
95 | 95 | |
96 | - request.completes.then(function () { | |
97 | - done(new Error('Request did not abort appropriately!')); | |
96 | + return request.completes.then(function () { | |
97 | + throw new Error('Request did not abort appropriately!'); | |
98 | 98 | }).catch(function (e) { |
99 | 99 | expect(request.response).to.not.be.ok; |
100 | - done(); | |
101 | 100 | }); |
102 | 101 | }); |
103 | 102 | |
104 | - test('default responseType is text', function (done) { | |
105 | - | |
103 | + test('default responseType is text', function () { | |
106 | 104 | request.send(successfulRequestOptions); |
107 | 105 | server.respond(); |
108 | 106 | |
109 | - request.completes.then(function() { | |
107 | + return request.completes.then(function() { | |
110 | 108 | expect(request.response).to.be.an('string') |
111 | - done(); | |
112 | - }).catch(function(e) { | |
113 | - done(new Error('Response was not a Object')); | |
114 | 109 | }); |
115 | - | |
116 | 110 | }); |
117 | 111 | |
118 | - test('responseType can be configured via handleAs option', function (done) { | |
119 | - | |
112 | + test('responseType can be configured via handleAs option', function () { | |
120 | 113 | var options = Object.create(successfulRequestOptions); |
121 | 114 | options.handleAs = 'json'; |
122 | 115 | |
123 | 116 | request.send(options); |
124 | 117 | server.respond(); |
125 | 118 | |
126 | - request.completes.then(function() { | |
119 | + return request.completes.then(function() { | |
127 | 120 | expect(request.response).to.be.an('object'); |
128 | - done(); | |
129 | - }).catch(function(e) { | |
130 | - done(new Error('Response was not type Object')); | |
131 | 121 | }); |
132 | - | |
133 | 122 | }); |
134 | 123 | |
135 | 124 | }); |
... | ... | @@ -176,7 +165,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN |
176 | 165 | }); |
177 | 166 | |
178 | 167 | server.respond(); |
179 | - | |
168 | + | |
180 | 169 | expect(request.status).to.be.equal(0); |
181 | 170 | expect(request.statusText).to.be.equal(''); |
182 | 171 | }); | ... | ... |
bower_components/iron-autogrow-textarea/.bower.json
100755 โ 100644
1 | 1 | { |
2 | 2 | "name": "iron-autogrow-textarea", |
3 | - "version": "1.0.3", | |
3 | + "version": "1.0.6", | |
4 | 4 | "description": "A textarea element that automatically grows with input", |
5 | 5 | "authors": [ |
6 | 6 | "The Polymer Authors" |
... | ... | @@ -37,11 +37,11 @@ |
37 | 37 | "paper-styles": "PolymerElements/paper-styles#^1.0.0", |
38 | 38 | "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" |
39 | 39 | }, |
40 | - "_release": "1.0.3", | |
40 | + "_release": "1.0.6", | |
41 | 41 | "_resolution": { |
42 | 42 | "type": "version", |
43 | - "tag": "v1.0.3", | |
44 | - "commit": "9eae088ce72a31b0baf44e6cdc183e5b73014af5" | |
43 | + "tag": "v1.0.6", | |
44 | + "commit": "e0465d41019cf03827f4820a254ce80e56266e99" | |
45 | 45 | }, |
46 | 46 | "_source": "git://github.com/PolymerElements/iron-autogrow-textarea.git", |
47 | 47 | "_target": "^1.0.0", | ... | ... |
bower_components/iron-autogrow-textarea/.gitignore
100755 โ 100644
bower_components/iron-autogrow-textarea/README.md
100755 โ 100644
... | ... | @@ -6,19 +6,7 @@ never scroll. |
6 | 6 | |
7 | 7 | Example: |
8 | 8 | |
9 | - <iron-autogrow-textarea id="a1"> | |
10 | - <textarea id="t1"></textarea> | |
11 | - </iron-autogrow-textarea> | |
9 | + <iron-autogrow-textarea></iron-autogrow-textarea> | |
12 | 10 | |
13 | 11 | Because the `textarea`'s `value` property is not observable, you should use |
14 | -this element's `bind-value` instead for imperative updates. Alternatively, if | |
15 | -you do set the `textarea`'s `value` imperatively, you must also call `update` | |
16 | -to notify this element the value has changed. | |
17 | - | |
18 | - Example: | |
19 | - /* preferred, using the example HTML above*/ | |
20 | - a1.bindValue = 'some\ntext'; | |
21 | - | |
22 | - /* alternatively, */ | |
23 | - t1.value = 'some\ntext'; | |
24 | - a1.update(); | |
12 | +this element's `bind-value` instead for imperative updates. | ... | ... |
bower_components/iron-autogrow-textarea/bower.json
100755 โ 100644
bower_components/iron-autogrow-textarea/demo/index.html
100755 โ 100644
bower_components/iron-autogrow-textarea/index.html
100755 โ 100644
bower_components/iron-autogrow-textarea/iron-autogrow-textarea.html
100755 โ 100644
... | ... | @@ -21,9 +21,7 @@ never scroll. |
21 | 21 | |
22 | 22 | Example: |
23 | 23 | |
24 | - <iron-autogrow-textarea id="a1"> | |
25 | - <textarea id="t1"></textarea> | |
26 | - </iron-autogrow-textarea> | |
24 | + <iron-autogrow-textarea></iron-autogrow-textarea> | |
27 | 25 | |
28 | 26 | Because the `textarea`'s `value` property is not observable, you should use |
29 | 27 | this element's `bind-value` instead for imperative updates. |
... | ... | @@ -63,6 +61,7 @@ this element's `bind-value` instead for imperative updates. |
63 | 61 | height: 100%; |
64 | 62 | font-size: inherit; |
65 | 63 | font-family: inherit; |
64 | + line-height: inherit; | |
66 | 65 | } |
67 | 66 | |
68 | 67 | ::content textarea:invalid { |
... | ... | @@ -150,8 +149,8 @@ this element's `bind-value` instead for imperative updates. |
150 | 149 | * Bound to the textarea's `autofocus` attribute. |
151 | 150 | */ |
152 | 151 | autofocus: { |
153 | - type: String, | |
154 | - value: 'off' | |
152 | + type: Boolean, | |
153 | + value: false | |
155 | 154 | }, |
156 | 155 | |
157 | 156 | /** |
... | ... | @@ -220,6 +219,36 @@ this element's `bind-value` instead for imperative updates. |
220 | 219 | }, |
221 | 220 | |
222 | 221 | /** |
222 | + * Returns textarea's selection start. | |
223 | + * @type Number | |
224 | + */ | |
225 | + get selectionStart() { | |
226 | + return this.$.textarea.selectionStart; | |
227 | + }, | |
228 | + | |
229 | + /** | |
230 | + * Returns textarea's selection end. | |
231 | + * @type Number | |
232 | + */ | |
233 | + get selectionEnd() { | |
234 | + return this.$.textarea.selectionEnd; | |
235 | + }, | |
236 | + | |
237 | + /** | |
238 | + * Sets the textarea's selection start. | |
239 | + */ | |
240 | + set selectionStart(value) { | |
241 | + this.$.textarea.selectionStart = value; | |
242 | + }, | |
243 | + | |
244 | + /** | |
245 | + * Sets the textarea's selection end. | |
246 | + */ | |
247 | + set selectionEnd(value) { | |
248 | + this.$.textarea.selectionEnd = value; | |
249 | + }, | |
250 | + | |
251 | + /** | |
223 | 252 | * Returns true if `value` is valid. The validator provided in `validator` |
224 | 253 | * will be used first, if it exists; otherwise, the `textarea`'s validity |
225 | 254 | * is used. |
... | ... | @@ -243,17 +272,6 @@ this element's `bind-value` instead for imperative updates. |
243 | 272 | return valid; |
244 | 273 | }, |
245 | 274 | |
246 | - _update: function() { | |
247 | - this.$.mirror.innerHTML = this._valueForMirror(); | |
248 | - | |
249 | - var textarea = this.textarea; | |
250 | - // If the value of the textarea was updated imperatively, then we | |
251 | - // need to manually update bindValue as well. | |
252 | - if (textarea && this.bindValue != textarea.value) { | |
253 | - this.bindValue = textarea.value; | |
254 | - } | |
255 | - }, | |
256 | - | |
257 | 275 | _bindValueChanged: function() { |
258 | 276 | var textarea = this.textarea; |
259 | 277 | if (!textarea) { |
... | ... | @@ -261,14 +279,13 @@ this element's `bind-value` instead for imperative updates. |
261 | 279 | } |
262 | 280 | |
263 | 281 | textarea.value = this.bindValue; |
264 | - this._update(); | |
282 | + this.$.mirror.innerHTML = this._valueForMirror(); | |
265 | 283 | // manually notify because we don't want to notify until after setting value |
266 | 284 | this.fire('bind-value-changed', {value: this.bindValue}); |
267 | 285 | }, |
268 | 286 | |
269 | 287 | _onInput: function(event) { |
270 | 288 | this.bindValue = event.path ? event.path[0].value : event.target.value; |
271 | - this._update(); | |
272 | 289 | }, |
273 | 290 | |
274 | 291 | _constrain: function(tokens) { |
... | ... | @@ -302,5 +319,5 @@ this element's `bind-value` instead for imperative updates. |
302 | 319 | _computeValue: function() { |
303 | 320 | return this.bindValue; |
304 | 321 | } |
305 | - }) | |
322 | + }); | |
306 | 323 | </script> | ... | ... |
bower_components/iron-autogrow-textarea/test/basic.html
100755 โ 100644
... | ... | @@ -87,6 +87,18 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN |
87 | 87 | var finalHeight = autogrow.offsetHeight |
88 | 88 | assert.isTrue(finalHeight < initialHeight); |
89 | 89 | }); |
90 | + | |
91 | + test('textarea selection works', function() { | |
92 | + var autogrow = fixture('basic'); | |
93 | + var textarea = autogrow.textarea; | |
94 | + autogrow.bindValue = 'batman\nand\nrobin'; | |
95 | + | |
96 | + autogrow.selectionStart = 3; | |
97 | + autogrow.selectionEnd = 5; | |
98 | + | |
99 | + assert.equal(textarea.selectionStart, 3); | |
100 | + assert.equal(textarea.selectionEnd, 5); | |
101 | + }); | |
90 | 102 | }); |
91 | 103 | |
92 | 104 | suite('focus/blur events', function() { | ... | ... |
bower_components/iron-autogrow-textarea/test/index.html
100755 โ 100644
bower_components/iron-collapse/.bower.json
100755 โ 100644
1 | 1 | { |
2 | 2 | "name": "iron-collapse", |
3 | - "version": "1.0.2", | |
3 | + "version": "1.0.3", | |
4 | 4 | "description": "Provides a collapsable container", |
5 | 5 | "authors": [ |
6 | 6 | "The Polymer Authors" |
... | ... | @@ -28,11 +28,11 @@ |
28 | 28 | "paper-styles": "PolymerElements/paper-styles#^1.0.0", |
29 | 29 | "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" |
30 | 30 | }, |
31 | - "_release": "1.0.2", | |
31 | + "_release": "1.0.3", | |
32 | 32 | "_resolution": { |
33 | 33 | "type": "version", |
34 | - "tag": "v1.0.2", | |
35 | - "commit": "0b0228632fa005a57664d3bda8dbe14c89bec942" | |
34 | + "tag": "v1.0.3", | |
35 | + "commit": "08716fe08adec031ecbcfffd1811d27fea2f82ad" | |
36 | 36 | }, |
37 | 37 | "_source": "git://github.com/PolymerElements/iron-collapse.git", |
38 | 38 | "_target": "^1.0.0", | ... | ... |
bower_components/iron-collapse/.gitignore
100755 โ 100644
bower_components/iron-collapse/README.md
100755 โ 100644
bower_components/iron-collapse/bower.json
100755 โ 100644
bower_components/iron-collapse/demo/index.html
100755 โ 100644
bower_components/iron-collapse/index.html
100755 โ 100644
bower_components/iron-collapse/iron-collapse.html
100755 โ 100644
... | ... | @@ -14,7 +14,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN |
14 | 14 | `iron-collapse` creates a collapsible block of content. By default, the content |
15 | 15 | will be collapsed. Use `opened` or `toggle()` to show/hide the content. |
16 | 16 | |
17 | - <button on-click="{{toggle}}">toggle collapse</button> | |
17 | + <button on-click="toggle">toggle collapse</button> | |
18 | 18 | |
19 | 19 | <iron-collapse id="collapse"> |
20 | 20 | <div>Content goes here...</div> |
... | ... | @@ -134,21 +134,11 @@ and instead put a div inside and style that. |
134 | 134 | }, |
135 | 135 | |
136 | 136 | show: function() { |
137 | - this.toggleClass('iron-collapse-closed', false); | |
138 | - this.updateSize('auto', false); | |
139 | - var s = this._calcSize(); | |
140 | - this.updateSize('0px', false); | |
141 | - // force layout to ensure transition will go | |
142 | - this.offsetHeight; | |
143 | - this.updateSize(s, true); | |
137 | + this.opened = true; | |
144 | 138 | }, |
145 | 139 | |
146 | 140 | hide: function() { |
147 | - this.toggleClass('iron-collapse-opened', false); | |
148 | - this.updateSize(this._calcSize(), false); | |
149 | - // force layout to ensure transition will go | |
150 | - this.offsetHeight; | |
151 | - this.updateSize('0px', true); | |
141 | + this.opened = false; | |
152 | 142 | }, |
153 | 143 | |
154 | 144 | updateSize: function(size, animated) { |
... | ... | @@ -171,7 +161,22 @@ and instead put a div inside and style that. |
171 | 161 | }, |
172 | 162 | |
173 | 163 | _openedChanged: function() { |
174 | - this[this.opened ? 'show' : 'hide'](); | |
164 | + if (this.opened) { | |
165 | + this.toggleClass('iron-collapse-closed', false); | |
166 | + this.updateSize('auto', false); | |
167 | + var s = this._calcSize(); | |
168 | + this.updateSize('0px', false); | |
169 | + // force layout to ensure transition will go | |
170 | + /** @suppress {suspiciousCode} */ this.offsetHeight; | |
171 | + this.updateSize(s, true); | |
172 | + } | |
173 | + else { | |
174 | + this.toggleClass('iron-collapse-opened', false); | |
175 | + this.updateSize(this._calcSize(), false); | |
176 | + // force layout to ensure transition will go | |
177 | + /** @suppress {suspiciousCode} */ this.offsetHeight; | |
178 | + this.updateSize('0px', true); | |
179 | + } | |
175 | 180 | this.setAttribute('aria-expanded', this.opened ? 'true' : 'false'); |
176 | 181 | |
177 | 182 | }, | ... | ... |
bower_components/iron-collapse/test/basic.html
100755 โ 100644
bower_components/iron-collapse/test/horizontal.html
100755 โ 100644
bower_components/iron-collapse/test/index.html
100755 โ 100644
bower_components/iron-doc-viewer/.bower.json
100755 โ 100644
1 | 1 | { |
2 | 2 | "name": "iron-doc-viewer", |
3 | - "version": "1.0.3", | |
3 | + "version": "1.0.6", | |
4 | 4 | "authors": [ |
5 | 5 | "The Polymer Authors" |
6 | 6 | ], |
... | ... | @@ -34,11 +34,11 @@ |
34 | 34 | "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0", |
35 | 35 | "web-component-tester": "*" |
36 | 36 | }, |
37 | - "_release": "1.0.3", | |
37 | + "_release": "1.0.6", | |
38 | 38 | "_resolution": { |
39 | 39 | "type": "version", |
40 | - "tag": "v1.0.3", | |
41 | - "commit": "034967a91951954b1de9f01559093b15b3b9c86d" | |
40 | + "tag": "v1.0.6", | |
41 | + "commit": "70dd8aabd19ed3c034adea9b0d39dc0456b0b923" | |
42 | 42 | }, |
43 | 43 | "_source": "git://github.com/PolymerElements/iron-doc-viewer.git", |
44 | 44 | "_target": "^1.0.1", | ... | ... |
bower_components/iron-doc-viewer/README.md
100755 โ 100644
bower_components/iron-doc-viewer/bower.json
100755 โ 100644
bower_components/iron-doc-viewer/demo/index.html
100755 โ 100644
bower_components/iron-doc-viewer/index.html
100755 โ 100644
bower_components/iron-doc-viewer/iron-doc-property.css
100755 โ 100644
... | ... | @@ -24,7 +24,6 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN |
24 | 24 | #transitionMask { |
25 | 25 | position: relative; |
26 | 26 | overflow: hidden; |
27 | - padding-left: 160px; | |
28 | 27 | } |
29 | 28 | |
30 | 29 | [hidden] { |
... | ... | @@ -36,9 +35,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN |
36 | 35 | width: 160px; |
37 | 36 | overflow: hidden; |
38 | 37 | text-overflow: ellipsis; |
39 | - position: absolute; | |
40 | - left: 0; | |
41 | - top: 0; | |
38 | + float: left; | |
42 | 39 | } |
43 | 40 | |
44 | 41 | #signature .name { |
... | ... | @@ -47,7 +44,6 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN |
47 | 44 | |
48 | 45 | :host([function]) #signature { |
49 | 46 | position: static; |
50 | - margin-left: -160px; | |
51 | 47 | width: 100%; |
52 | 48 | } |
53 | 49 | |
... | ... | @@ -60,9 +56,16 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN |
60 | 56 | } |
61 | 57 | |
62 | 58 | #details { |
59 | + margin-left: 160px; | |
63 | 60 | flex: 1; |
64 | 61 | } |
65 | 62 | |
63 | +@media (max-width: 500px) { | |
64 | + #details { | |
65 | + margin-left: 0; | |
66 | + } | |
67 | +} | |
68 | + | |
66 | 69 | /* Metadata */ |
67 | 70 | |
68 | 71 | #meta { |
... | ... | @@ -107,7 +110,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN |
107 | 110 | #params marked-element { |
108 | 111 | display: inline-block; |
109 | 112 | } |
110 | -#params marked-element::shadow #content p { | |
113 | +#params .markdown-html p { | |
111 | 114 | margin: 0; |
112 | 115 | } |
113 | 116 | |
... | ... | @@ -117,15 +120,15 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN |
117 | 120 | display: block; |
118 | 121 | } |
119 | 122 | |
120 | -#desc::shadow #content > :first-child { | |
123 | +#desc .markdown-html > :first-child { | |
121 | 124 | margin-top: 0; |
122 | 125 | } |
123 | 126 | |
124 | -#desc::shadow #content > :last-child { | |
127 | +#desc .markdown-html > :last-child { | |
125 | 128 | margin-bottom: 0; |
126 | 129 | } |
127 | 130 | |
128 | -#desc::shadow #content #content code { | |
131 | +#desc .markdown-html code { | |
129 | 132 | @apply(--paper-font-code1); |
130 | 133 | } |
131 | 134 | ... | ... |
bower_components/iron-doc-viewer/iron-doc-property.html
100755 โ 100644
... | ... | @@ -38,15 +38,21 @@ Give it a hydrolysis `PropertyDescriptor` (via `descriptor`), and watch it go! |
38 | 38 | <li hidden$="{{!item.type}}"> |
39 | 39 | <span class="name">{{item.name}}</span> |
40 | 40 | <span class="type">{{item.type}}</span> |
41 | - <marked-element markdown="{{item.desc}}"></marked-element> | |
41 | + <marked-element markdown="{{item.desc}}"> | |
42 | + <div class="markdown-html"></div> | |
43 | + </marked-element> | |
42 | 44 | </li> |
43 | 45 | </template> |
44 | 46 | <li class="return" hidden$="{{!descriptor.return}}">Returns |
45 | 47 | <span class="type">{{descriptor.return.type}}</span> |
46 | - <marked-element markdown="{{descriptor.return.desc}}"></marked-element> | |
48 | + <marked-element markdown="{{descriptor.return.desc}}"> | |
49 | + <div class="markdown-html"></div> | |
50 | + </marked-element> | |
47 | 51 | </li> |
48 | 52 | </ol> |
49 | - <marked-element id="desc" markdown="{{descriptor.desc}}" hidden$="{{!descriptor.desc}}"></marked-element> | |
53 | + <marked-element id="desc" markdown="{{descriptor.desc}}" hidden$="{{!descriptor.desc}}"> | |
54 | + <div class="markdown-html"></div> | |
55 | + </marked-element> | |
50 | 56 | </div> |
51 | 57 | </div> |
52 | 58 | </template> | ... | ... |
bower_components/iron-doc-viewer/iron-doc-viewer.css
100755 โ 100644
... | ... | @@ -45,61 +45,62 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN |
45 | 45 | padding: 4px 0; |
46 | 46 | } |
47 | 47 | |
48 | -#summary marked-element::shadow #content pre { | |
48 | +#summary .markdown-html pre { | |
49 | 49 | background-color: var(--paper-grey-50); |
50 | 50 | border: solid #e5e5e5; |
51 | 51 | border-width: 1px 0; |
52 | 52 | overflow-x: auto; |
53 | 53 | padding: 12px 24px; |
54 | 54 | font-size: 15px; |
55 | + word-wrap: break-word; | |
55 | 56 | } |
56 | 57 | |
57 | -#summary marked-element::shadow #content table { | |
58 | +#summary .markdown-html table { | |
58 | 59 | width: 100%; |
59 | 60 | border-collapse: collapse; |
60 | 61 | margin: 12px 0; |
61 | 62 | border-top: 1px solid #e5e5e5; |
62 | 63 | } |
63 | 64 | |
64 | -#summary marked-element::shadow #content tr { | |
65 | +#summary .markdown-html tr { | |
65 | 66 | border-bottom: 1px solid #e5e5e5; |
66 | 67 | padding: 0 18px; |
67 | 68 | } |
68 | 69 | |
69 | -#summary marked-element::shadow #content td, | |
70 | -#summary marked-element::shadow #content th { | |
70 | +#summary .markdown-html td, | |
71 | +#summary .markdown-html th { | |
71 | 72 | padding: 6px 12px; |
72 | 73 | } |
73 | 74 | |
74 | -#summary marked-element::shadow #content td:first-child, | |
75 | -#summary marked-element::shadow #content th:first-child { | |
75 | +#summary .markdown-html td:first-child, | |
76 | +#summary .markdown-html th:first-child { | |
76 | 77 | padding-left: 24px; |
77 | 78 | } |
78 | 79 | |
79 | -#summary marked-element::shadow #content td:last-child, | |
80 | -#summary marked-element::shadow #content th:last-child { | |
80 | +#summary .markdown-html td:last-child, | |
81 | +#summary .markdown-html th:last-child { | |
81 | 82 | padding-right: 24px; |
82 | 83 | } |
83 | 84 | |
84 | -#summary marked-element::shadow #content code { | |
85 | +#summary .markdown-html code { | |
85 | 86 | @apply(--paper-font-code1); |
86 | 87 | } |
87 | 88 | |
88 | -#summary marked-element::shadow #content p { | |
89 | +#summary .markdown-html p { | |
89 | 90 | padding: 0 24px; |
90 | 91 | } |
91 | 92 | |
92 | -#summary marked-element::shadow #content a { | |
93 | +#summary .markdown-html a { | |
93 | 94 | color: var(--paper-indigo-a200); |
94 | 95 | font-weight: 500; |
95 | 96 | text-decoration: none; |
96 | 97 | } |
97 | 98 | |
98 | -#summary marked-element::shadow #content h1, | |
99 | -#summary marked-element::shadow #content h2, | |
100 | -#summary marked-element::shadow #content h3, | |
101 | -#summary marked-element::shadow #content h4, | |
102 | -#summary marked-element::shadow #content h5 { | |
99 | +#summary .markdown-html h1, | |
100 | +#summary .markdown-html h2, | |
101 | +#summary .markdown-html h3, | |
102 | +#summary .markdown-html h4, | |
103 | +#summary .markdown-html h5 { | |
103 | 104 | padding: 0 18px; |
104 | 105 | } |
105 | 106 | |
... | ... | @@ -148,4 +149,3 @@ iron-doc-property[configuration] { |
148 | 149 | padding: 16px 24px; |
149 | 150 | cursor: pointer; |
150 | 151 | } |
151 | - | ... | ... |
bower_components/iron-doc-viewer/iron-doc-viewer.html
100755 โ 100644
... | ... | @@ -8,7 +8,9 @@ Code distributed by Google as part of the polymer project is also |
8 | 8 | subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt |
9 | 9 | --> |
10 | 10 | <link rel="import" href="../marked-element/marked-element.html"> |
11 | -<link rel="import" href="../paper-styles/paper-styles.html"> | |
11 | +<link rel="import" href="../paper-styles/typography.html"> | |
12 | +<link rel="import" href="../paper-styles/shadow.html"> | |
13 | +<link rel="import" href="../paper-styles/color.html"> | |
12 | 14 | <link rel="import" href="../paper-button/paper-button.html"> |
13 | 15 | <link rel="import" href="../polymer/polymer.html"> |
14 | 16 | <link rel="import" href="../prism-element/prism-highlighter.html"> |
... | ... | @@ -52,7 +54,9 @@ property. |
52 | 54 | |
53 | 55 | <section id="summary" class="card" hidden$="[[!descriptor.desc]]"> |
54 | 56 | <header>Documentation</header> |
55 | - <marked-element markdown="{{descriptor.desc}}"></marked-element> | |
57 | + <marked-element markdown="{{descriptor.desc}}"> | |
58 | + <div class="markdown-html"></div> | |
59 | + </marked-element> | |
56 | 60 | </section> |
57 | 61 | |
58 | 62 | <nav id="api"> | ... | ... |
bower_components/iron-doc-viewer/test/index.html
100755 โ 100644
bower_components/iron-doc-viewer/test/iron-doc-viewer.html
100755 โ 100644
... | ... | @@ -106,12 +106,12 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN |
106 | 106 | |
107 | 107 | describe('edge cases', function() { |
108 | 108 | |
109 | - // TODO(nevir): Cannot enable until https://github.com/Polymer/polymer/issues/1200 | |
110 | - it.skip('throws when a bound and JSON descriptor are provided', function() { | |
111 | - expect(function() { | |
112 | - fixture('json-and-bound', {descriptor: ELEMENT}); | |
113 | - }).to.throw(Error, /descriptor/i); | |
114 | - }); | |
109 | + // // TODO(nevir): Cannot enable until https://github.com/Polymer/polymer/issues/1200 | |
110 | + // it.skip('throws when a bound and JSON descriptor are provided', function() { | |
111 | + // expect(function() { | |
112 | + // fixture('json-and-bound', {descriptor: ELEMENT}); | |
113 | + // }).to.throw(Error, /descriptor/i); | |
114 | + // }); | |
115 | 115 | |
116 | 116 | }); |
117 | 117 | ... | ... |
bower_components/iron-dropdown/.bower.json
100755 โ 100644
1 | 1 | { |
2 | 2 | "name": "iron-dropdown", |
3 | - "version": "1.0.5", | |
3 | + "version": "1.0.6", | |
4 | 4 | "description": "", |
5 | 5 | "authors": [ |
6 | 6 | "The Polymer Authors" |
... | ... | @@ -35,13 +35,13 @@ |
35 | 35 | "web-component-tester": "*", |
36 | 36 | "iron-image": "polymerelements/iron-image#^1.0.0" |
37 | 37 | }, |
38 | - "_release": "1.0.5", | |
38 | + "_release": "1.0.6", | |
39 | 39 | "_resolution": { |
40 | 40 | "type": "version", |
41 | - "tag": "v1.0.5", | |
42 | - "commit": "9c300a14a5aeca1c02f085e9117521af814ce640" | |
41 | + "tag": "v1.0.6", | |
42 | + "commit": "9b52ccb37577b0e4b3d34f3795117d95648b39ff" | |
43 | 43 | }, |
44 | - "_source": "git://github.com/PolymerElements/iron-dropdown.git", | |
44 | + "_source": "git://github.com/polymerelements/iron-dropdown.git", | |
45 | 45 | "_target": "^1.0.0", |
46 | - "_originalSource": "PolymerElements/iron-dropdown" | |
46 | + "_originalSource": "polymerelements/iron-dropdown" | |
47 | 47 | } |
48 | 48 | \ No newline at end of file | ... | ... |
bower_components/iron-dropdown/.gitignore
100755 โ 100644
bower_components/iron-dropdown/README.md
100755 โ 100644
bower_components/iron-dropdown/bower.json
100755 โ 100644
bower_components/iron-dropdown/demo/grow-height-animation.html
100755 โ 100644
bower_components/iron-dropdown/demo/index.html
100755 โ 100644
bower_components/iron-dropdown/demo/x-select.html
100755 โ 100644
bower_components/iron-dropdown/index.html
100755 โ 100644
bower_components/iron-dropdown/iron-dropdown-scroll-manager.html
100755 โ 100644
bower_components/iron-dropdown/iron-dropdown.html
100755 โ 100644
... | ... | @@ -163,6 +163,17 @@ method is called on the element. |
163 | 163 | }, |
164 | 164 | |
165 | 165 | /** |
166 | + * By default, the dropdown will constrain scrolling on the page | |
167 | + * to itself when opened. | |
168 | + * Set to true in order to prevent scroll from being constrained | |
169 | + * to the dropdown when it opens. | |
170 | + */ | |
171 | + allowOutsideScroll: { | |
172 | + type: Boolean, | |
173 | + value: false | |
174 | + }, | |
175 | + | |
176 | + /** | |
166 | 177 | * We memoize the positionTarget bounding rectangle so that we can |
167 | 178 | * limit the number of times it is queried per resize / relayout. |
168 | 179 | * @type {?Object} |
... | ... | @@ -282,7 +293,10 @@ method is called on the element. |
282 | 293 | * Overridden from `IronOverlayBehavior`. |
283 | 294 | */ |
284 | 295 | _renderOpened: function() { |
285 | - Polymer.IronDropdownScrollManager.pushScrollLock(this); | |
296 | + if (!this.allowOutsideScroll) { | |
297 | + Polymer.IronDropdownScrollManager.pushScrollLock(this); | |
298 | + } | |
299 | + | |
286 | 300 | if (!this.noAnimations && this.animationConfig && this.animationConfig.open) { |
287 | 301 | this.$.contentWrapper.classList.add('animating'); |
288 | 302 | this.playAnimation('open'); | ... | ... |
bower_components/iron-dropdown/test/index.html
100755 โ 100644
bower_components/iron-dropdown/test/iron-dropdown-scroll-manager.html
100755 โ 100644
bower_components/iron-dropdown/test/iron-dropdown.html
100755 โ 100644
... | ... | @@ -33,6 +33,14 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN |
33 | 33 | </template> |
34 | 34 | </test-fixture> |
35 | 35 | |
36 | + <test-fixture id="NonLockingDropdown"> | |
37 | + <template> | |
38 | + <iron-dropdown> | |
39 | + <div class="dropdown-content" allow-outside-scroll>I don't lock scroll!</div> | |
40 | + </iron-dropdown> | |
41 | + </template> | |
42 | + </test-fixture> | |
43 | + | |
36 | 44 | <test-fixture id="AlignedDropdown"> |
37 | 45 | <template> |
38 | 46 | <div style="display: block; position: relative; width: 100px; height: 100px;"> |
... | ... | @@ -131,6 +139,21 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN |
131 | 139 | }); |
132 | 140 | }); |
133 | 141 | |
142 | + suite('locking scroll', function() { | |
143 | + var dropdown; | |
144 | + | |
145 | + setup(function() { | |
146 | + dropdown = fixture('NonLockingDropdown'); | |
147 | + }); | |
148 | + | |
149 | + test('can be disabled with `allowOutsideScroll`', function() { | |
150 | + dropdown.open(); | |
151 | + | |
152 | + expect(Polymer.IronDropdownScrollManager.elementIsScrollLocked(document.body)) | |
153 | + .to.be.equal(false); | |
154 | + }); | |
155 | + }); | |
156 | + | |
134 | 157 | suite('aligned dropdown', function() { |
135 | 158 | var parent; |
136 | 159 | setup(function() { | ... | ... |
bower_components/iron-elements/.bower.json
100755 โ 100644
1 | 1 | { |
2 | 2 | "name": "iron-elements", |
3 | - "version": "1.0.2", | |
3 | + "version": "1.0.4", | |
4 | 4 | "description": "A set of visual and non-visual utility elements. Includes elements for working with layout, user input, selection, and scaffolding apps", |
5 | 5 | "keywords": [ |
6 | 6 | "web-components", |
... | ... | @@ -20,9 +20,11 @@ |
20 | 20 | "iron-ajax": "PolymerElements/iron-ajax#^1.0.0", |
21 | 21 | "iron-autogrow-textarea": "PolymerElements/iron-autogrow-textarea#^1.0.0", |
22 | 22 | "iron-behaviors": "PolymerElements/iron-behaviors#^1.0.0", |
23 | + "iron-checked-element-behavior": "PolymerElements/iron-checked-element-behavior#^1.0.0", | |
23 | 24 | "iron-collapse": "PolymerElements/iron-collapse#^1.0.0", |
24 | 25 | "iron-component-page": "PolymerElements/iron-component-page#^1.0.0", |
25 | 26 | "iron-doc-viewer": "PolymerElements/iron-doc-viewer#^1.0.0", |
27 | + "iron-dropdown": "PolymerElements/iron-dropdown#^1.0.0", | |
26 | 28 | "iron-fit-behavior": "PolymerElements/iron-fit-behavior#^1.0.0", |
27 | 29 | "iron-flex-layout": "PolymerElements/iron-flex-layout#^1.0.0", |
28 | 30 | "iron-form": "PolymerElements/iron-form#^1.0.0", |
... | ... | @@ -61,11 +63,11 @@ |
61 | 63 | "test", |
62 | 64 | "tests" |
63 | 65 | ], |
64 | - "_release": "1.0.2", | |
66 | + "_release": "1.0.4", | |
65 | 67 | "_resolution": { |
66 | 68 | "type": "version", |
67 | - "tag": "v1.0.2", | |
68 | - "commit": "63d565ea42faa4e80b266dad1f879c6ff5bf4600" | |
69 | + "tag": "v1.0.4", | |
70 | + "commit": "c9b524fef9bd71a3cb3616eb61dcee266258b7d0" | |
69 | 71 | }, |
70 | 72 | "_source": "git://github.com/polymerelements/iron-elements.git", |
71 | 73 | "_target": "~1.0.1", | ... | ... |
bower_components/iron-elements/README.md
100755 โ 100644
... | ... | @@ -6,12 +6,12 @@ Basic building blocks for creating an application. Most of the `iron` elements w |
6 | 6 | |
7 | 7 | ### Elements in progress |
8 | 8 | |
9 | -* `iron-list` - the upgraded version of a virtualized infinite list, previously named `core-list`. ETA: Couple weeks. | |
9 | +_No `iron-elements` are currently in progress. [`iron-list`](https://github.com/polymerelements/iron-list) was the most recent to be released._ | |
10 | 10 | |
11 | 11 | ### Elements planned |
12 | 12 | _Elements we're planning on building soon but haven't started yet_ |
13 | 13 | |
14 | -* `iron-label` - still looking for the right way to bring what used to be `core-label` into the 1.0 world. | |
14 | +* `iron-label` - still looking for the right way to bring what used to be `core-label` into the 1.0 world. | |
15 | 15 | |
16 | 16 | ### Elements not planned, notably |
17 | 17 | _Elements we're not planning on building as part of this product line, but that one might be wondering about_ |
... | ... | @@ -30,5 +30,5 @@ A number of elements existed as `core` elements that are not in this product lin |
30 | 30 | * `core-scroll-header-panel` - This had UI opinion, so it's been moved to [`paper-scroll-header-panel`](https://github.com/polymerelements/paper-scroll-header-panel). |
31 | 31 | * `core-splitter` - This element was relatively trivial, so we've put it off for now. |
32 | 32 | * `core-style` - This element is not useful with Polymer's new styling system. Check out the latest docs for more. |
33 | -* `core-tooltip` - This will become `paper-tooltip`. | |
34 | -* `core-menu` - This had UI opinion, and will become `paper-dropdown-menu`. | |
33 | +* `core-tooltip` - This has become `paper-tooltip`. | |
34 | +* `core-menu` - This had UI opinion, and has become `paper-dropdown-menu`. | ... | ... |
bower_components/iron-elements/bower.json
100755 โ 100644
1 | 1 | { |
2 | 2 | "name": "iron-elements", |
3 | - "version": "1.0.1", | |
3 | + "version": "1.0.4", | |
4 | 4 | "description": "A set of visual and non-visual utility elements. Includes elements for working with layout, user input, selection, and scaffolding apps", |
5 | 5 | "keywords": [ |
6 | 6 | "web-components", |
... | ... | @@ -20,9 +20,11 @@ |
20 | 20 | "iron-ajax": "PolymerElements/iron-ajax#^1.0.0", |
21 | 21 | "iron-autogrow-textarea": "PolymerElements/iron-autogrow-textarea#^1.0.0", |
22 | 22 | "iron-behaviors": "PolymerElements/iron-behaviors#^1.0.0", |
23 | + "iron-checked-element-behavior" : "PolymerElements/iron-checked-element-behavior#^1.0.0", | |
23 | 24 | "iron-collapse": "PolymerElements/iron-collapse#^1.0.0", |
24 | 25 | "iron-component-page": "PolymerElements/iron-component-page#^1.0.0", |
25 | 26 | "iron-doc-viewer": "PolymerElements/iron-doc-viewer#^1.0.0", |
27 | + "iron-dropdown": "PolymerElements/iron-dropdown#^1.0.0", | |
26 | 28 | "iron-fit-behavior": "PolymerElements/iron-fit-behavior#^1.0.0", |
27 | 29 | "iron-flex-layout": "PolymerElements/iron-flex-layout#^1.0.0", |
28 | 30 | "iron-form": "PolymerElements/iron-form#^1.0.0", | ... | ... |
bower_components/iron-flex-layout/.bower.json
100755 โ 100644
1 | 1 | { |
2 | 2 | "name": "iron-flex-layout", |
3 | - "version": "1.0.3", | |
3 | + "version": "1.0.4", | |
4 | 4 | "description": "Provide flexbox-based layouts", |
5 | 5 | "keywords": [ |
6 | 6 | "web-components", |
7 | 7 | "polymer", |
8 | 8 | "layout" |
9 | 9 | ], |
10 | + "main": "iron-flex-layout.html", | |
10 | 11 | "private": true, |
11 | 12 | "license": "http://polymer.github.io/LICENSE.txt", |
12 | 13 | "authors": [ |
... | ... | @@ -21,14 +22,15 @@ |
21 | 22 | }, |
22 | 23 | "devDependencies": { |
23 | 24 | "paper-styles": "polymerelements/paper-styles#^1.0.0", |
24 | - "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" | |
25 | + "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0", | |
26 | + "iron-component-page": "polymerelements/iron-component-page#^1.0.0" | |
25 | 27 | }, |
26 | 28 | "homepage": "https://github.com/PolymerElements/iron-flex-layout", |
27 | - "_release": "1.0.3", | |
29 | + "_release": "1.0.4", | |
28 | 30 | "_resolution": { |
29 | 31 | "type": "version", |
30 | - "tag": "v1.0.3", | |
31 | - "commit": "e6c2cfec18354973ac03e70dcd8afcc3c72d09b9" | |
32 | + "tag": "v1.0.4", | |
33 | + "commit": "dcfc54b0d358269bf0c72180b4ab090fc4931ecd" | |
32 | 34 | }, |
33 | 35 | "_source": "git://github.com/PolymerElements/iron-flex-layout.git", |
34 | 36 | "_target": "^1.0.0", | ... | ... |