Repository navigation
Expand file tree
/
Copy pathstitch_app.js
More file actions
496 lines (494 loc) · 212 KB
/
Copy pathstitch_app.js
File metadata and controls
496 lines (494 loc) · 212 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
"use strict";this.default_Nemo=this.default_Nemo||{};(function(_){var window=this;
try{
var tH;_.rH=function(a,b){b.hasOwnProperty("displayName")||(b.displayName=a.toString());b[_.qH]=a};_.sH=function(a,b){return Array.prototype.filter.call(a,b,void 0)};tH=function(a,b,c){this.promise=a;this.resolve=b;this.reject=c};_.uH=function(){let a,b;const c=new _.Ux(function(d,e){a=d;b=e});return new tH(c,a,b)};_.qH=Symbol("Ja");
_.PJ=function(){};_.PJ.prototype.next=function(){return _.QJ};_.QJ={done:!0,value:void 0};_.PJ.prototype.dd=function(){return this};_.TJ=class{constructor(a){this.B=a}dd(){return new _.RJ(this.B())}[Symbol.iterator](){return new _.SJ(this.B())}};_.TJ.prototype.A=_.ca(7);_.RJ=class extends _.PJ{constructor(a){super();this.B=a}next(){return this.B.next()}[Symbol.iterator](){return new _.SJ(this.B)}};_.RJ.prototype.A=_.ca(6);_.SJ=class extends _.TJ{constructor(a){super(()=>a);this.D=a}next(){return this.D.next()}};
_.UJ=function(a,b,c){if(typeof a==="function")c&&(a=(0,_.P)(a,c));else if(a&&typeof a.handleEvent=="function")a=(0,_.P)(a.handleEvent,a);else throw Error("tb");return Number(b)>2147483647?-1:_.v.setTimeout(a,b||0)};
var aK,YJ,qK;_.VJ=function(a,b){this.D=this.K=this.F="";this.I=null;this.H=this.A="";this.G=!1;let c;a instanceof _.VJ?(this.G=b!==void 0?b:a.G,_.WJ(this,a.F),this.K=a.K,this.D=a.D,_.XJ(this,a.I),this.A=a.A,YJ(this,a.B.clone()),this.H=a.H):a&&(c=String(a).match(_.Em))?(this.G=!!b,_.WJ(this,c[1]||"",!0),this.K=ZJ(c[2]||""),this.D=ZJ(c[3]||"",!0),_.XJ(this,c[4]),this.A=ZJ(c[5]||"",!0),YJ(this,c[6]||"",!0),this.H=ZJ(c[7]||"")):(this.G=!!b,this.B=new _.$J(null,this.G))};_.zn.prototype.Xa=_.ea(3,function(){return _.Gz(this).values});
_.zn.prototype.ib=_.ea(2,function(){return _.Gz(this).keys});aK=function(a){return a&&typeof a.isDisposed=="function"?a.isDisposed():!1};_.bK=function(a){if(a.Xa&&typeof a.Xa=="function")return a.Xa();if(typeof Map!=="undefined"&&a instanceof Map||typeof Set!=="undefined"&&a instanceof Set)return Array.from(a.values());if(typeof a==="string")return a.split("");if(_.Ka(a)){const b=[],c=a.length;for(let d=0;d<c;d++)b.push(a[d]);return b}return _.cm(a)};
_.cK=function(a){if(a.ib&&typeof a.ib=="function")return a.ib();if(!a.Xa||typeof a.Xa!="function"){if(typeof Map!=="undefined"&&a instanceof Map)return Array.from(a.keys());if(!(typeof Set!=="undefined"&&a instanceof Set)){if(_.Ka(a)||typeof a==="string"){const b=[];a=a.length;for(let c=0;c<a;c++)b.push(c);return b}return _.dm(a)}}};
_.dK=function(a,b,c){if(a.forEach&&typeof a.forEach=="function")a.forEach(b,c);else if(_.Ka(a)||typeof a==="string")Array.prototype.forEach.call(a,b,c);else{const d=_.cK(a),e=_.bK(a),f=e.length;for(let g=0;g<f;g++)b.call(c,e[g],d&&d[g],a)}};_.$J=function(a,b){this.B=this.A=null;this.D=a||null;this.F=!!b};_.eK=function(a){a.A||(a.A=new Map,a.B=0,a.D&&_.Hm(a.D,function(b,c){a.add(_.Gm(b),c)}))};_.t=_.$J.prototype;_.t.rb=_.ca(4);
_.t.add=function(a,b){_.eK(this);this.D=null;a=fK(this,a);let c=this.A.get(a);c||this.A.set(a,c=[]);c.push(b);this.B+=1;return this};_.t.remove=function(a){_.eK(this);a=fK(this,a);return this.A.has(a)?(this.D=null,this.B-=this.A.get(a).length,this.A.delete(a)):!1};_.t.clear=function(){this.A=this.D=null;this.B=0};_.t.isEmpty=function(){_.eK(this);return this.B==0};var gK=function(a,b){_.eK(a);b=fK(a,b);return a.A.has(b)};_.t=_.$J.prototype;
_.t.forEach=function(a,b){_.eK(this);this.A.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};_.t.ib=function(){_.eK(this);const a=Array.from(this.A.values()),b=Array.from(this.A.keys()),c=[];for(let d=0;d<b.length;d++){const e=a[d];for(let f=0;f<e.length;f++)c.push(b[d])}return c};_.t.Xa=function(a){_.eK(this);let b=[];if(typeof a==="string")gK(this,a)&&(b=b.concat(this.A.get(fK(this,a))));else{a=Array.from(this.A.values());for(let c=0;c<a.length;c++)b=b.concat(a[c])}return b};
_.t.set=function(a,b){_.eK(this);this.D=null;a=fK(this,a);gK(this,a)&&(this.B-=this.A.get(a).length);this.A.set(a,[b]);this.B+=1;return this};_.t.get=function(a,b){if(!a)return b;a=this.Xa(a);return a.length>0?String(a[0]):b};_.hK=function(a,b,c){a.remove(b);c.length>0&&(a.D=null,a.A.set(fK(a,b),_.Ja(c)),a.B+=c.length)};
_.$J.prototype.toString=function(){if(this.D)return this.D;if(!this.A)return"";const a=[],b=Array.from(this.A.keys());for(let d=0;d<b.length;d++){var c=b[d];const e=encodeURIComponent(String(c));c=this.Xa(c);for(let f=0;f<c.length;f++){let g=e;c[f]!==""&&(g+="="+encodeURIComponent(String(c[f])));a.push(g)}}return this.D=a.join("&")};_.$J.prototype.clone=function(){const a=new _.$J;a.D=this.D;this.A&&(a.A=new Map(this.A),a.B=this.B);return a};
var fK=function(a,b){b=String(b);a.F&&(b=b.toLowerCase());return b},iK=function(a,b){b&&!a.F&&(_.eK(a),a.D=null,a.A.forEach(function(c,d){const e=d.toLowerCase();d!=e&&(this.remove(d),_.hK(this,e,c))},a));a.F=b};_.$J.prototype.extend=function(a){for(let b=0;b<arguments.length;b++)_.dK(arguments[b],function(c,d){this.add(d,c)},this)};
var jK=/[#\/\?@]/g,kK=/[#\?]/g,lK=/[#\?:]/g,mK=/#/g,ZJ=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},nK=/[#\?@]/g,oK=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},pK=function(a,b,c){return typeof a==="string"?(a=encodeURI(a).replace(b,oK),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null};
_.VJ.prototype.toString=function(){const a=[];var b=this.F;b&&a.push(pK(b,jK,!0),":");var c=this.D;if(c||b=="file")a.push("//"),(b=this.K)&&a.push(pK(b,jK,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.I,c!=null&&a.push(":",String(c));if(c=this.A)this.D&&c.charAt(0)!="/"&&a.push("/"),a.push(pK(c,c.charAt(0)=="/"?kK:lK,!0));(c=this.B.toString())&&a.push("?",c);(c=this.H)&&a.push("#",pK(c,mK));return a.join("")};
_.VJ.prototype.resolve=function(a){const b=this.clone();let c=!!a.F;c?_.WJ(b,a.F):c=!!a.K;c?b.K=a.K:c=!!a.D;c?b.D=a.D:c=a.I!=null;var d=a.A;if(c)_.XJ(b,a.I);else if(c=!!a.A){if(d.charAt(0)!="/")if(this.D&&!this.A)d="/"+d;else{var e=b.A.lastIndexOf("/");e!=-1&&(d=b.A.slice(0,e+1)+d)}e=d;if(e==".."||e==".")d="";else if(e.indexOf("./")!=-1||e.indexOf("/.")!=-1){d=e.lastIndexOf("/",0)==0;e=e.split("/");const f=[];for(let g=0;g<e.length;){const h=e[g++];h=="."?d&&g==e.length&&f.push(""):h==".."?((f.length>
1||f.length==1&&f[0]!="")&&f.pop(),d&&g==e.length&&f.push("")):(f.push(h),d=!0)}d=f.join("/")}else d=e}c?b.A=d:c=a.B.toString()!=="";c?YJ(b,a.B.clone()):c=!!a.H;c&&(b.H=a.H);return b};_.VJ.prototype.clone=function(){return new _.VJ(this)};_.WJ=function(a,b,c){a.F=c?ZJ(b,!0):b;a.F&&(a.F=a.F.replace(/:$/,""))};_.XJ=function(a,b){if(b){b=Number(b);if(isNaN(b)||b<0)throw Error("aa`"+b);a.I=b}else a.I=null};YJ=function(a,b,c){b instanceof _.$J?(a.B=b,iK(a.B,a.G)):(c||(b=pK(b,nK)),a.B=new _.$J(b,a.G))};
_.rK=function(a,b,c,d){const e=typeof b==="function";(e||!aK(b))&&e&&aK(d);if(!(e||b&&typeof b.handleEvent=="function"))throw Error("tb");a=(0,_.P)(qK,null,a,b,d);return _.v.setTimeout(a,c||0)};qK=function(a,b,c){typeof b==="function"?aK(c)||b.call(c):b&&typeof b.handleEvent=="function"&&(aK(b)||b.handleEvent.call(b))};_.sK=new _.Kz("byfTOb","byfTOb");
_.Gn("byfTOb");
var uK=function(a,b){this.F=a;this.B=b;if(!c){var c=new _.VJ("//www.google.com/images/cleardot.gif");tK(c)}this.D=c},tK=function(a){var b=Math.floor(Math.random()*2147483648).toString(36)+Math.abs(Math.floor(Math.random()*2147483648)^_.Zs()).toString(36);a.B.set("zx",b)};_.t=uK.prototype;_.t.Mh=1E4;_.t.cd=!1;_.t.wg=0;_.t.Te=null;_.t.dh=null;_.t.setTimeout=function(a){this.Mh=a};_.t.start=function(){if(this.cd)throw Error("vb");this.cd=!0;this.wg=0;vK(this)};_.t.stop=function(){wK(this);this.cd=!1};
var vK=function(a){a.wg++;navigator!==null&&"onLine"in navigator&&!navigator.onLine?_.UJ((0,_.P)(a.Be,a,!1),0):(a.A=new Image,a.A.onload=(0,_.P)(a.Ql,a),a.A.onerror=(0,_.P)(a.Pl,a),a.A.onabort=(0,_.P)(a.Ol,a),a.Te=_.UJ(a.Rl,a.Mh,a),a.A.src=String(a.D))};_.t=uK.prototype;_.t.Ql=function(){this.Be(!0)};_.t.Pl=function(){this.Be(!1)};_.t.Ol=function(){this.Be(!1)};_.t.Rl=function(){this.Be(!1)};
_.t.Be=function(a){wK(this);a?(this.cd=!1,this.F.call(this.B,!0)):this.wg<=0?vK(this):(this.cd=!1,this.F.call(this.B,!1))};
var wK=function(a){a.A&&(a.A.onload=null,a.A.onerror=null,a.A.onabort=null,a.A=null);a.Te&&(_.v.clearTimeout(a.Te),a.Te=null);a.dh&&(_.v.clearTimeout(a.dh),a.dh=null)},xK=class extends _.cx{constructor(){super();this.A=new uK(this.I,this);this.F=51E3+Math.round(18E3*Math.random())}M(){var a=Date.now();return a-this.D>this.F?(this.A.cd||(navigator!==null&&"onLine"in navigator&&!navigator.onLine?(this.D=a-this.F+1E3,_.rK("wb",(0,_.P)(this.H,this,!1),0)):(a=new _.VJ("//www.google.com/images/cleardot.gif"),
tK(a),this.A.D=a,this.A.start())),!0):!1}I(a){this.D=Date.now();this.H(a)}H(a){this.G=a;this.dispatchEvent("c")}};xK.prototype.D=0;xK.prototype.G=!0;_.yK=class{constructor(){this.A=new xK}};_.rH(_.sK,_.yK);
_.Hn();
_.zK=class extends _.S{constructor(a){super(a,1)}};_.AK={};_.BK=function(a,b,c){return _.mc(_.ss(a,b,c,_.AK))};_.CK=new _.Kz("LEikZe","LEikZe");
_.Gn("LEikZe");
var FK,HK,IK,MK,OK,PK,QK,SK,UK,YK;_.DK=function(a){if(!Array.isArray(a))throw Error();if(Object.isFrozen(a)||Object.isSealed(a)||!Object.isExtensible(a))throw Error();return a};_.EK=function(a,b){return a>b?1:a<b?-1:0};FK=function(a,b){a.sort(b||_.EK)};_.GK=function(a,b){if(b==null)return new a;b=_.DK(b);return new a(_.db(b))};HK=function(a){return a==null?null:_.he(a)};IK=function(a){_.Ym.call(this);this.B=a;this.A={}};_.JK=function(a,b){_.Wm(a,b,"unknown")};
_.KK=function(a,b){this.B={};this.A=[];this.D=this.size=0;var c=arguments.length;if(c>1){if(c%2)throw Error("rb");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else if(a)if(a instanceof _.KK)for(c=a.ib(),d=0;d<c.length;d++)this.set(c[d],a.get(c[d]));else for(d in a)this.set(d,a[d])};_.LK=function(a,b,c,d,e){this.B=a;this.A=b;(b===void 0||b<=0)&&_.Xm(Error("xb`"+b+"`"+(a&&a.A.A)));this.G=c==1;this.D=d;this.F=e};MK=function(a,b,c){a.push(encodeURIComponent(b)+"="+encodeURIComponent(c))};
_.NK=function(a){a=a.elements;let b;for(let c=0;b=a[c];c++)if(!b.disabled&&b.type&&b.type.toLowerCase()=="file")return!0;return!1};OK=function(a){var b=a.type;if(typeof b==="string")switch(b.toLowerCase()){case "checkbox":case "radio":return a.checked?a.value:null;case "select-one":return b=a.selectedIndex,b>=0?a.options[b].value:null;case "select-multiple":b=[];let c;for(let d=0;c=a.options[d];d++)c.selected&&b.push(c.value);return b.length?b:null}return a.value!=null?a.value:null};
PK=function(a){const b=[];var c=a.elements,d;let e;for(var f=0;d=c.item(f);f++)if(d.form==a&&!d.disabled&&d.tagName!="FIELDSET")switch(e=d.name,d.type.toLowerCase()){case "file":case "submit":case "reset":case "button":break;case "select-multiple":d=OK(d);if(d!=null){let g;for(let h=0;g=d[h];h++)MK(b,e,g)}break;default:d=OK(d),d!=null&&MK(b,e,d)}c=a.getElementsByTagName("INPUT");for(d=0;f=c[d];d++)f.form==a&&f.type.toLowerCase()=="image"&&(e=f.name,MK(b,e,f.value),MK(b,e+".x","0"),MK(b,e+".y","0"));
return b.join("&")};QK=function(){this.constructor.Th||(this.constructor.Th={});this.constructor.Th[this.toString()]=this};_.RK=function(a,b){a!=null&&this.append.apply(this,arguments)};SK=function(){_.fa.call(this);this.message="Retryable Server Error"};_.TK=function(){this.A=[];this.B=[]};UK=function(){_.cx.call(this);_.cx.call(this);this.H=new _.TK;this.U=new _.KK;this.A=[];this.F=[];this.G=[];this.aa=new IK(this);new _.KK;this.X=!0};_.TJ.prototype.A=_.ea(7,function(){return new _.SJ(this.B())});
_.RJ.prototype.A=_.ea(6,function(){return new _.SJ(this.B)});_.zn.prototype.rb=_.ea(5,function(){return this.A.cookie?(this.A.cookie||"").split(";").length:0});_.$J.prototype.rb=_.ea(4,function(){_.eK(this);return this.B});_.VK=function(a){try{return a.A?a.A.responseText:""}catch(b){return""}};_.WK=function(a,b){b=(0,_.bx)(b);b=_.Xx(b,b);b.B=!0;_.by(a,b);return a};_.XK=function(a,b,c){Array.isArray(c)||(c=[String(c)]);_.hK(a.B,b,c)};_.T=function(a,b,c){return _.Vb(_.ss(a,b,c,_.AK))};YK=[];
_.at(IK,_.Ym);IK.prototype.listen=function(a,b,c,d){Array.isArray(b)||(b&&(YK[0]=b.toString()),b=YK);for(let e=0;e<b.length;e++){const f=_.Sw(a,b[e],c||this.handleEvent,d||!1,this.B||this);if(!f)break;this.A[f.key]=f}return this};var ZK=function(a){_.bm(a.A,function(b,c){this.A.hasOwnProperty(c)&&_.$w(b)},a);a.A={}};IK.prototype.na=function(){IK.va.na.call(this);ZK(this)};IK.prototype.handleEvent=function(){throw Error("ca");};
var $K=function(a,b){return new _.wF(a,b)},aL=function(a){if(a instanceof _.TJ||a instanceof _.RJ||a instanceof _.SJ)return a;if(typeof a.next=="function")return new _.TJ(()=>a);if(typeof a[Symbol.iterator]=="function")return new _.TJ(()=>a[Symbol.iterator]());if(typeof a.dd=="function")return new _.TJ(()=>a.dd());throw Error("qb");},bL=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},cL=function(a,b){return a===b};_.t=_.KK.prototype;_.t.rb=function(){return this.size};
_.t.Xa=function(){dL(this);const a=[];for(let b=0;b<this.A.length;b++)a.push(this.B[this.A[b]]);return a};_.t.ib=function(){dL(this);return this.A.concat()};_.t.has=function(a){return bL(this.B,a)};_.t.equals=function(a,b){if(this===a)return!0;if(this.size!=a.rb())return!1;b=b||cL;dL(this);let c;for(let d=0;c=this.A[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};_.t.isEmpty=function(){return this.size==0};_.t.clear=function(){this.B={};this.D=this.size=this.A.length=0};_.t.remove=function(a){return this.delete(a)};
_.t.delete=function(a){return bL(this.B,a)?(delete this.B[a],--this.size,this.D++,this.A.length>2*this.size&&dL(this),!0):!1};var dL=function(a){if(a.size!=a.A.length){for(var b=0,c=0;b<a.A.length;){var d=a.A[b];bL(a.B,d)&&(a.A[c++]=d);b++}a.A.length=c}if(a.size!=a.A.length){b={};for(d=c=0;c<a.A.length;){const e=a.A[c];bL(b,e)||(a.A[d++]=e,b[e]=1);c++}a.A.length=d}};_.t=_.KK.prototype;_.t.get=function(a,b){return bL(this.B,a)?this.B[a]:b};
_.t.set=function(a,b){bL(this.B,a)||(this.size+=1,this.A.push(a),this.D++);this.B[a]=b};_.t.forEach=function(a,b){const c=this.ib();for(let d=0;d<c.length;d++){const e=c[d],f=this.get(e);a.call(b,f,e,this)}};_.t.clone=function(){return new _.KK(this)};_.t.keys=function(){return aL(this.dd(!0)).A()};_.t.values=function(){return aL(this.dd(!1)).A()};_.t.entries=function(){const a=this;return $K(this.keys(),function(b){return[b,a.get(b)]})};
_.t.dd=function(a){dL(this);let b=0;const c=this.D,d=this,e=new _.PJ;e.next=function(){if(c!=d.D)throw Error("sb");if(b>=d.A.length)return _.QJ;const f=d.A[b++];return{value:a?f:d.B[f],done:!1}};return e};var eL=function(a){if(a.G)a=!1;else{var b;if(b=!!a.B)a:switch(b=a.B,b.le){case "RETRY":b=!0;break a;case "FAIL":b=!1;break a;case "BEST_EFFORT":b=a.D||a.B.Td;b=a.A>=500&&b<3?!0:!1;break a;default:throw Error("yb`"+b.le);}a=b}return a};_.LK.prototype.toString=function(){return String(this.A)};_.fL=class extends _.S{constructor(a){super(a,0,_.fL.messageId)}};_.fL.messageId="di";_.gL=class extends _.S{constructor(a){super(a,0,_.gL.messageId)}};_.gL.messageId="e";var hL=class extends _.S{constructor(a){super(a,0,hL.messageId)}};hL.messageId="f.ri";_.iL=class extends _.S{constructor(a){super(a,0,_.iL.messageId)}getData(){return _.BK(this,4,_.mb)}D(){return _.O(this,_.zK,10,_.mb)}};_.iL.messageId="er";QK.prototype.serialize=function(){return this.toString()};QK.prototype.toString=function(){this.A||(this.A="lib:f_req");return this.A};QK.prototype.getType=function(){return"f_req"};var jL=class extends QK{};var kL=function(a,b){switch(a){case 1:case 3:return 8;case 4:return NaN;case 7:return 100;case 6:return b||7;case 8:return 101;case 5:return 9;default:return 102}},lL=class extends _.Ym{constructor(){super();this.F=!1}ka(){return 0}transfer(a){this.B.We(a);this.D=a}};_.t=_.RK.prototype;_.t.Bc="";_.t.set=function(a){this.Bc=""+a};_.t.append=function(a,b,c){this.Bc+=String(a);if(b!=null)for(let d=1;d<arguments.length;d++)this.Bc+=arguments[d];return this};_.t.clear=function(){this.Bc=""};_.t.toString=function(){return this.Bc};var mL,pL,qL,oL;mL=function(a){const b=a.H;if(b){const c=new _.RK;b.forEach((d,e)=>{c.append(encodeURIComponent(String(e)),"=",encodeURIComponent(String(d)),"&")});return c.toString()}return a.F?PK(a.F):""};_.nL=function(a,b,c){const d=a.D;b=new _.LK(d,b,void 0,void 0,c);a.B.Ef(d,b)};
_.rL=class extends lL{constructor(a){super();this.A=new _.ox;this.hc=a;this.U=null;this.A.headers.set("X-Same-Domain","1");_.Sw(this.A,"complete",this.Aa,!1,this);_.Sw(this.A,"ready",this.Fa,!1,this)}na(){_.Zw(this.A,"complete",this.Aa,!1,this);_.Zw(this.A,"ready",this.Fa,!1,this);this.A.dispose();super.na()}transfer(a){this.B.We(a);this.D=a;_.XK(a.A,"rt",this.hc);const b=a.G;var c=a.H!=null||a.F!=null;if(!a.S||c){if(this.G&&(c=this.aa.call(null),c!==void 0)){const d=a.F;if(d){let e=d.elements[this.G];
e||(e=d.ownerDocument.createElement("input"),e.setAttribute("name",this.G),e.setAttribute("hidden",!0),d.appendChild(e));e.value=c}else a.Md(this.G,c)}this.A.send(a.getUrl(),a.B,mL(a),b)}else this.A.send(a.getUrl(),a.B,null,b)}abort(a){this.U=a;this.A.abort(7)}Aa(a){a=a.target;this.D.ka=_.zx(a);if(_.yx(a)){if(_.VK(a).length>0||_.zx(a)==204){this.Lb(a);return}this.U=104}this.I(a)}Fa(){this.B.Sm(this)}I(a){var b=this.U;this.U=0;const c=_.zx(a),d=a.H;oL.exec(_.VK(a));let e;b?e=b:d==6&&(a=_.VK(a),e=(b=
a.match(pL))?700+parseInt(b[1],10):(b=a.match(qL))?Number("6"+b[1]):null);e||(e=kL(d,c));_.nL(this,e)}};pL=RegExp("var gmail_error\\s*=\\s*(\\d+)","m");qL=RegExp("var rc\\s*=\\s*(\\d+)","m");oL=RegExp("(?:Additional details|Detailed Technical Info)[\\s\\S]*<pre[^>]*>([\\s\\S]*)<\\/pre>","i");var sL=class extends _.Yl{constructor(a,b,c,d){super((d?"data_b:":"data:")+b);this.request=a;this.data=c}};var tL;tL=class{constructor(a){a&&(HK(_.cu(a,1,_.mb)),_.BK(a,2,_.mb),_.BK(a,3,_.mb),HK(_.cu(a,4,_.mb)),_.BK(a,13,_.mb))}};_.uL=new tL;var wL,xL;_.vL=new jL;wL=function(a){return!!a.D&&!(typeof a.D.isDisposed=="function"&&a.D.isDisposed())};xL=function(a,b){a.complete=!0;_.Zs();a.K&&(_.v.clearTimeout(a.K),a.K=null);wL(a)&&(a.M&&a.D.nf&&a.D.nf(a),a.D.Pi&&a.D.Pi(a,b))};var yL=function(a,b,c){c?a.Bf=b:(b=Math.min(3E5,Math.max(b,1E3)),a.Bf=Math.round(.85*b)+Math.round(.3*b*Math.random()))},zL=class{constructor(){this.D=[];this.F={};yL(this,1E3)}pe(){return this.xe}vg(){return this.xe==this.ye}getError(){return this.G}reset(){this.G=this.B=null}};_.t=zL.prototype;_.t.ah=0;_.t.ye=-1;_.t.xe=0;_.t.Uc=0;_.t.Ab=0;_.t.Kl=0;_.t.Bf=0;var AL=class extends _.Yl{constructor(a){super(a)}};_.at(SK,_.fa);var BL=function(a){a.A.length===0&&(a.A=a.B,a.A.reverse(),a.B=[])};_.TK.prototype.enqueue=function(a){this.B.push(a)};_.CL=function(a){BL(a);return a.A.pop()};_.DL=function(a){BL(a);a=a.A;return a[a.length-1]};_.t=_.TK.prototype;_.t.rb=function(){return this.A.length+this.B.length};_.t.isEmpty=function(){return this.A.length===0&&this.B.length===0};_.t.clear=function(){this.A=[];this.B=[]};_.t.contains=function(a){return _.Ga(this.A,a)||_.Ga(this.B,a)};
_.t.remove=function(a){{var b=this.A;const c=Array.prototype.lastIndexOf.call(b,a,b.length-1);c>=0?(Array.prototype.splice.call(b,c,1),b=!0):b=!1}return b||_.Ia(this.B,a)};_.t.Xa=function(){const a=[];for(var b=this.A.length-1;b>=0;--b)a.push(this.A[b]);b=this.B.length;for(let c=0;c<b;++c)a.push(this.B[c]);return a};_.at(UK,_.cx);UK.prototype.D=null;UK.prototype.S="READY";UK.prototype.M=1;UK.prototype.dispose=function(){for(let b=0;b<this.F.length;b++){var a=this.F[b].getContext();a.Ab&&(_.v.clearTimeout(a.Ab),a.Ab=0)}this.isDisposed()||(UK.va.dispose.call(this),this.H.clear(),this.D&&(_.v.clearTimeout(this.D),this.D=null));for(a=0;a<this.G.length;a++)this.G[a].dispose();this.F.length=this.A.length=0;this.aa.dispose()};
_.EL=function(a,b){const c={};c.Sm=(0,_.P)(a.Tm,a);c.Ef=(0,_.P)(a.Ef,a);c.Ae=(0,_.P)(a.Ae,a);c.Xk=(0,_.P)(a.Fa,a);c.mf=(0,_.P)(a.Aa,a);c.vg=(0,_.P)(a.zk,a);c.No=(0,_.P)(a.Vk,a);c.pe=(0,_.P)(a.Wk,a);c.Cp=(0,_.P)(a.Kd,a);c.We=(0,_.P)(a.We,a);b.B=c;a.G.push(b)};UK.prototype.send=function(a){this.isDisposed()?FL(this,a,107):(this.dispatchEvent(new AL("e")),this.H.enqueue(a),GL(this))};UK.prototype.getState=function(){return this.S};UK.prototype.abort=function(a,b){HL(this,a,b)};
var HL=function(a,b,c){c=typeof c==="number"?c:100;_.Ga(a.A,b)?(b.getContext().ah=c,(a=b.getContext())&&a.B&&a.B.abort(a.ah)):a.H.remove(b)&&FL(a,b,c)},JL=function(a,b){var c=null;const d={},e=_.sH(a.G,function(k){const l=_.Xs(k);d[l]=k.ka(b);return!!d[l]});FK(e,(0,_.P)(a.ea,null,d,a.G));let f=0;const g=e.length;for(let k=0;k<g&&!c;k++){var h=e[k];if(!h.F){c=h;break}h=d[_.Xs(h)];if(k==g-1||h>d[_.Xs(e[k+1])])for(;!c&&f<=k;)if(c=e[f++],IL(a,c)<a.M)if(c=c.clone())_.EL(a,c);else{if(h==1)throw Error("Gb");
}else throw Error("Hb");}return c};UK.prototype.ea=function(a,b,c,d){const e=_.Xs(c),f=_.Xs(d);return a[e]<a[f]?1:a[e]>a[f]?-1:c.F&&!d.F?1:!c.F&&d.F?-1:_.Fa(b,d)-_.Fa(b,c)};var IL=function(a,b){let c=0;b=b.constructor;a=a.G;const d=a.length;for(let e=0;e<d;e++)a[e].constructor===b&&c++;return c};UK.prototype.We=function(a){if(this.U.size!==0){const b=Array.from(this.U.keys());for(let c=0;c<b.length;c++){const d=b[c],e=this.U.get(d);_.XK(a.A,d,e);this.U.delete(d)}}};
var KL=function(a,b){switch(b){case "ACTIVE":case "WAITING_FOR_RETRY":case "RETRY_TIMER":if(a.A.length==0)throw Error("Jb`"+b);}b!=a.S&&(a.S=b,a.dispatchEvent(new AL("d")),a.qa&&a.qa.qp())},GL=function(a){if(a.X&&(a.S=="READY"||a.M!==1)){var b=_.DL(a.H);b&&a.A.length<a.M&&(_.CL(a.H),b.aa=new zL,a.A.push(b),LL(a,b))}},LL=function(a,b){b.getUrl();var c=b.getContext();c.xe=0;c.ye=-1;c=_.Zs();b.Hi==-1&&(b.Hi=c);b.dj=c;b.Td++;try{KL(a,"ACTIVE");try{const d=b.getContext();d.ah=0;let e=d.B;if(!e){e=JL(a,
b);if(!e)throw Error("Ib`"+b);e.F=!0;d.B=e}d.A=null;e.transfer(b);a.D||(a.D=_.rK("Lb",a.lj,3E4,a))}catch(d){throw d;}}catch(d){throw d;}};UK.prototype.Aa=function(a,b){this.mf(a,b)};UK.prototype.mf=function(a,b){const c=a.getContext();for(let d=0;d<b.length;d++){const e=b[d];c.xe++;const f=e[0];f!==hL.messageId&&c.D.push(e);c.pe()==1&&ML(a);f==hL.messageId?NL(this,a,e):f==_.fL.messageId?OL(a,e):f==_.gL.messageId&&(PL(a,new _.gL(e)),this.Kd(a))}};
UK.prototype.Fa=function(a,b){const c=a.getContext();c.xe++;const d=b[0];c.Uc&&(_.v.clearTimeout(c.Uc),c.Uc=0);d!==hL.messageId&&c.D.push(b);c.pe()==1&&ML(a);d==hL.messageId?NL(this,a,b):d==_.fL.messageId?OL(a,b):d==_.gL.messageId?(PL(a,new _.gL(b)),this.Kd(a)):(b=a.getContext(),a=_.rK("Lb",_.gn(this.Kd,a),1,this),b.Uc=a)};
var ML=function(a){try{_.Zs()}catch(b){_.JK("Exception in onFirstArray_",b),a.getContext().A=b}},NL=function(a,b,c){c=new hL(c);(c=_.BK(c,1,_.mb))&&a.da&&c!=a.da&&(b.getContext().A=Error(106))},OL=function(a,b){try{const d=new _.fL(b);var c=new tL(d);a.Cj=c}catch(d){_.JK("Exception in handleDebugInfoArray_",d),a.getContext().A=d}},PL=function(a,b){a=a.getContext();var c=_.T(b,1,_.mb);a.ye=c;let d;((d=HK(_.cu(b,4,_.mb)))!=null?d:0)>0&&HK(_.cu(b,4,_.mb))};_.t=UK.prototype;
_.t.Kd=function(a){var b=a.getContext();b.Uc&&(_.v.clearTimeout(b.Uc),b.Uc=0);const c=b.D,d=b.F;if(c.length&&(b.D=[],b.F={},b=a?a.getContext():null,!b||!b.A))try{for(let h=0;h<c.length;h++){var e=c[h];this.dispatchEvent(new sL(a,e[0],(0,_.Ot)(e),!0))}var f=(0,_.Ot)(c);a&&wL(a)&&a.D.Yk&&a.D.Yk(a,c);this.dispatchEvent(new sL(a,"aa",f));for(f=0;f<c.length;f++){const h=c[f],k=(0,_.Ot)(h),l=h[0];if(a)if(l==_.iL.messageId){const m=_.GK(_.iL,(0,_.Ot)(h)),n=_.T(m,5,_.mb);if(n>=500&&n<700){const r=new _.LK(a,
n,!1,a.Td);if(eL(r)){b.G=r;a=b;var g=new SK;a.A=g;break}}e=a;e.da=m;wL(e)&&e.D.nf&&e.D.nf(e)}else e=a,wL(e)&&e.D.Qi&&e.D.Qi(e,l,h,d);this.dispatchEvent(new sL(a,l,k))}}catch(h){"function"==typeof _.QL&&h instanceof _.QL||_.JK("Exception in processArrays",h),b&&(b.A=h)}};_.t.zk=function(a){return a.getContext().vg()};_.t.Wk=function(a){return a.getContext().pe()};_.t.Vk=function(a){return a.getContext().ye};
_.t.Ae=function(a,b={}){const c=a.getContext();c.F=b;this.Kd(a);const d=c.A;if(d||!c.vg()){let e;if(d){if("function"==typeof _.QL&&d instanceof _.QL)return a.getUrl(),b=c.Bf,_.Ga(this.A,a)&&(yL(a.getContext(),b,!0),_.Ha(this.F,a),a.getContext().Ab=-1,KL(this,"WAITING_FOR_RETRY")),!0;d instanceof SK?e=c.getError():e=new _.LK(a,d.message==106?106:12,!0)}else b="Missing data arrays. Expected "+c.ye+", received "+c.pe(),e=new _.LK(a,103,!1,a.Td,b),this.ka&&RL(a);SL(this,a,e);return!1}a.M=!1;a.R=null;
a.bg=-1;xL(a,b);this.dispatchEvent(new AL("f"));_.Ia(this.F,a);KL(this,"WAITING_FOR_READY");return!0};_.t.Ef=function(a,b){this.ka&&b.A==103&&RL(a);this.Kd(a);SL(this,a,b)};var SL=function(a,b,c){b.getContext().G=c;b.Cj=_.uL;eL(c)?(_.Ha(a.F,b),b.getContext().Ab=-1,b="WAITING_FOR_RETRY"):(eL(c),_.Ia(a.F,b),FL(a,b,c),b="WAITING_FOR_READY");KL(a,b)};_.t=UK.prototype;
_.t.Tm=function(a){const b=_.Ea(this.A,function(c){return c.getContext().B==a});_.Ga(this.F,b)||(a.F=!1,b.getContext().reset(),_.Ia(this.A,b));this.D&&(_.v.clearTimeout(this.D),this.D=null);_.fn(this.F,this.Fl,this);this.A.length<this.M&&(KL(this,"READY"),GL(this))};_.t.Fl=function(a){const b=a.getContext();if(b.Ab==-1){var c=a.A.B.get("f.retries");a.xc({"f.retries":(c?Number(c):0)+1});c=b.Bf;var d=_.Zs()+c;b.Kl=d;a=_.rK("Lb",(0,_.P)(this.Tl,this,a),c);b.Ab=a;yL(b,2*c);KL(this,"RETRY_TIMER")}};
_.t.Tl=function(a){var b=a.getContext();b.Ab&&(_.v.clearTimeout(b.Ab),b.Ab=0);LL(this,a)};_.t.lj=function(){this.D=_.rK("Lb",this.lj,3E4,this);this.mi()};_.t.mi=function(){if(this.A.length!=0&&this.I){var a=this.A.length;for(let b=0;b<a;b++){const c=this.A[b],d=_.Zs(),e=c.dj;if(e>-1&&d-e>6E4)if(this.I.M())break;else this.I.G||HL(this,c,1)}}};var RL=function(a){_.XK(a.A,"nrt",a.Td);var b=a.getContext().B;b instanceof _.rL&&(b=_.VK(b.A),b!=null&&a.Md("rhma",b))};
UK.prototype.disable=function(){this.X=!1};var FL=function(a,b,c){typeof c==="number"&&(c=new _.LK(b,c));a.dispatchEvent(new AL("g"));b.M=!0;b.R=c;xL(b)};var TL=class extends _.rL{constructor(){super("j")}ka(a){const b=a.F;return b&&_.NK(b)?0:a.wf&&!a.U?.9:.5}clone(){const a=new TL;var b=this.aa;a.G=this.G;a.aa=b;return a}Lb(a){let b=_.VK(a);b=b.substring(b.indexOf("\n"));a=this.D;try{var c=window.JSON.parse(b)}catch(d){c=new _.LK(a,10);this.B.Ef(a,c);return}Array.isArray(c)&&this.B.mf(a,c[0]);this.B.Ae(a)}I(a){let b=_.VK(a);b=b.substring(b.indexOf("\n"));let c;try{c=window.JSON.parse(b)}catch(d){}Array.isArray(c)?(a=this.D,this.B.mf(a,c[0]),this.B.Ae(a)):
super.I(a)}};var UL;UL={Dk:!1,domain:void 0,Mc:null,method:"POST",Aj:!1,scheme:void 0,host:void 0,Xm:!1};
_.VL=class extends _.cx{constructor(a,b,c,d){super();this.H=null;this.G=[];this.I=null;this.M=UL;this.ld=null;_.cx.call(this);b||(b=new UK,_.EL(b,new TL));this.D=b;c||(c=new UK,_.EL(c,new TL));this.F=c;this.D=b||null;this.F=c||null;this.H=d||null}A(a){_.Iw(this,_.gn(_.Wl,a));this.G.push(a)}na(){_.Wl(this.D);_.Wl(this.F);_.Wl(this.H);super.na()}initialize(a){a=a.get(_.sK).A;var b=this.D;b.I=a;b.I&&b.aa.listen(b.I,"c",b.mi);this.H=null}};_.rH(_.CK,_.VL);
_.Hn();
_.Gn("lsjVmc");
var sO;_.pO=function(){};_.rO=function(a,b=!0){_.Ym.call(this);this.G=a;this.B=new qO(this);b&&(a=this.G.get(_.CK),a.G.includes(this.B),a.A(this.B));_.Iw(this,_.gn(_.Wl,this.B))};_.QL=class extends _.fa{constructor(){super();this.message="XSRF token refresh"}};sO=class extends _.S{constructor(a){super(a)}};var tO=class extends _.S{constructor(a){super(a,0,tO.messageId)}};tO.messageId="xsrf";var uO=new _.Ju(48448350,_.zK,tO);_.at(_.pO,_.Ym);_.pO.prototype.A=function(){};_.pO.prototype.B=function(){};_.vO=new _.Kz("lsjVmc","lsjVmc");_.at(_.rO,_.Ym);_.rO.prototype.A=null;_.rO.prototype.D="at";_.rO.prototype.F=null;_.rO.prototype.configure=function(a,b,c){this.A=a;this.F=b;c&&(this.D=c)};var qO=function(a){this.D=a};_.at(qO,_.pO);qO.prototype.A=function(a){var b=this.D;if(b.D&&b.A)if(a.B=="DELETE")a.sk(b.A);else{var c=b.D;b=b.A;const d=a.F;d?(a=d.elements[c],a||(a=d.ownerDocument.createElement("input"),a.setAttribute("name",c),a.setAttribute("hidden",!0),d.appendChild(a)),a.value=b):a.S||a.Md(c,b)}};
qO.prototype.B=function(a){for(let d=0;d<a.length;d++){let e;const f=(e=a[d].D())==null?void 0:_.Eu(e,uO);var b;if(b=f){b=this.D;let g=!1;var c=void 0;const h=b.F;_.O(f,sO,2,_.mb)&&(c=_.O(f,sO,2,_.mb),c=_.BK(c,1));h&&c===h&&(b.A=_.BK(f,1,_.mb),g=!0);b=g}if(b)throw new _.QL;}};_.rH(_.vO,_.rO);
_.Hn();
var DH,IH;DH=function(a,b){b=_.AH(BH,a,()=>b);(a=b.A)&&_.AH(CH,a,()=>b);return b};_.AH=function(a,b,c){let d=a.get(b);d||(d=c(b),a.set(b,d));return d};_.FH=function(a){_.EH.add(a.toString())};_.HH=function(a){return _.AH(GH,a.toString(),()=>new Set)};IH=function(a,b,c,d=!1){return new _.Kz(a,b,c,d)};_.JH=function(a,b,c,d=!1){b=IH(a,b,c,d);return DH(a,b)};_.KH=a=>{var b="Pg";if(a.Pg&&a.hasOwnProperty(b))return a.Pg;b=new a;return a.Pg=b};_.LH=class{constructor(){this.A={}}register(a,b){this.A[a.toString()]=b}static W(){return _.KH(_.LH)}};var GH,BH,CH;GH=new Map;_.MH=new Map;BH=new Map;CH=new Map;_.EH=new Set;
_.QH=function(a,b,c,d){a=_.JH(a,b,d?[d]:void 0,_.NH);_.LH.W().register(a,new OH(a,_.HH(a),c?_.HH(c):new Set,PH(a),c?PH(c):new Set,d));return a};_.NH=!_.Zn();var RH=[],OH=class{constructor(a,b,c,d,e,f=null){this.A=a;this.F=b;this.G=c;this.H=d;this.I=e;this.B=f;this.D=null;RH.push(this)}K(){let a;return(a=this.D)!=null?a:this.B}};var PH=a=>_.AH(_.MH,a.toString(),()=>new Set);
_.SH=function(a,b){_.HH(b).add(a)};_.TH=function(a,b){return _.JH(a,a,b)};
_.SH("ws9Tlc","NpD4ec");_.UH=_.TH("ws9Tlc");_.FH(_.UH);_.VH=_.QH("NpD4ec","cEt90b","Jj7sLe",_.UH);_.FH(_.VH);
_.SH("OTA3Ae","hcz20b");
_.SH("KVPDCe","rhfQ5c");
_.SH("kWgXee","awbruf");
_.SH("PoEs9b","JbjMkf");_.WH=_.TH("PoEs9b");_.FH(_.WH);
_.XH=_.QH("JbjMkf","Pjplud","BUsNi",_.WH);_.FH(_.XH);
_.SH("VDovNc","vFKn6c");
_.SH("ovKuLd","rhfQ5c");
_.SH("Mlhmy","MH8Kwd");_.YH=_.TH("Mlhmy");_.FH(_.YH);
_.ZH=_.QH("MH8Kwd","QGR0gd","RVvAg",_.YH);_.FH(_.ZH);
_.SH("ebZ3mb","baoWIc");_.$H=_.TH("ebZ3mb",[]);_.FH(_.$H);
_.aI=_.QH("baoWIc","dowIGb",void 0,_.$H);_.FH(_.aI);
_.eI=_.QH("rhfQ5c","qafBPd");_.FH(_.eI);
_.SH("e7Hzgb","P3QXL");_.fI=_.TH("e7Hzgb",[]);_.FH(_.fI);
_.gI=_.QH("P3QXL","ScI3Yc",void 0,_.fI);_.FH(_.gI);
_.SH("P6sQOc","INd5kb");
_.SH("A1yn5d","t2XHQe");_.hI=_.TH("A1yn5d",[]);_.FH(_.hI);
_.iI=_.QH("t2XHQe","YIZmRd",void 0,_.hI);_.FH(_.iI);
_.jI=_.QH("hcz20b","lOO0Vd");_.FH(_.jI);
_.QH("iqZ0T","a56pNe");
_.QH("xe5kJ","Me32dd");
_.kI=_.QH("vFKn6c","Uvc8o");_.FH(_.kI);
_.Gn("wrzEXb");
_.Hn();
var oI,qI,sI,tI,KI;_.lI=function(a){a=a[_.qH];return a instanceof _.Kz?a:null};_.mI=function(a){const b={},c={},d=[],e=[],f=k=>{if(!c[k]){var l=k instanceof _.Kz?k.B:[];c[k]=[...l];l.forEach(m=>{b[m]=b[m]||[];b[m].push(k)});l.length||d.push(k);l.forEach(f)}};for(a.forEach(f);d.length;){const k=d.shift();e.push(k);b[k]&&b[k].forEach(l=>{_.Ia(c[l],k);c[l].length||d.push(l)})}const g={},h=[];e.forEach(k=>{k instanceof _.Kz&&(k=k.A,k==null||g[k]||(g[k]=!0,h.push(k)))});return{Am:e,modules:h}};
_.nI=function(a){if(a){if(typeof a.Ad==="function"&&typeof a.description==="string")return a.description;if(a instanceof _.Kz)return`$$XID:${a.toString()}$$`;if(typeof a==="function"){var b=_.lI(a);return b?_.nI(b):`Unregistered object: ${a.name?a.name:`<anonymous (sample methods: ${oI(a)})>`}`}return a.constructor&&a.constructor!==Object?_.nI(a.constructor):a.description?a.description:((b=a.T)==null?0:b.token)?`${a.T.token}`:String(a)}return String(a)};
oI=function(a){return Object.getOwnPropertyNames(a.prototype).filter(b=>b!=="constructor").slice(0,5).join(", ")};_.pI=function(a,b){var c;if((c=a)==null?0:c.isDisposed)throw Error("Na`"+String(a.vd));for(;a!==void 0;){c=a;if(c.uc)return c.uc(b,{optional:!0});a=a.parent}return _.lf};qI=function(a){a.then(void 0,()=>{});return a};_.rI=function(a,b,c){return{V:a,token:c,J:b,value:void 0}};sI=function(a){return{T:_.rI("root",void 0,Symbol(a))}};
tI=function(a){let b,c,d;return(d=(c=(b=a==null?void 0:a.displayName)!=null?b:a==null?void 0:a.name)!=null?c:a==null?void 0:a.description)!=null?d:String(a)};_.uI=function(a){if(!a.T)throw Error("Va`"+tI(a));};_.wI=function(a,b){return _.vI(a.getContext(0),b)};_.vI=function(a,b){a=_.kf(a);try{return b()}finally{_.kf(a)}};_.AI=function(a){_.xI(a);if(a[_.yI]!==void 0)throw Error("Wa`"+tI(a));_.uI(a);const b=_.pI(_.jf,a);return _.zI(b,_.nI(a))};
_.DI=function(a){try{_.xI(a),a[_.yI]||_.uI(a)}catch(b){return _.BI(b)}return a.T&&!a[_.yI]?new _.CI(b=>{b(_.AI(a))}):(new _.CI((b,c)=>{a[_.yI](b,c)})).map(b=>_.zI(b,_.nI(a)))};
_.II=function(a){return{description:a.toString(),[_.yI]:(b,c)=>{const d=new _.EI;FI(_.GI.W(),a).flatMap(e=>{if(d.isDisposed())throw new HI(`Lazy injection by ID of ${a} cancelled since the source context ${d.context.vd} was disposed `+"while downloading the injected object. This usually happens when some async logic leaks after a Wiz object is disposed.");return _.wI(d,()=>_.DI(e))}).B(b,c)}}};_.xI=function(a){if(!_.jf)throw Error("Xa`"+_.nI(a));};
_.zI=function(a,b){if(_.mf(a)){if(a===_.lf)throw Error("Ya`"+b);throw a;}return a};_.JI=function(a,b){let c,d;return(d=(c=a.A[b.toString()])==null?void 0:c.K())!=null?d:b};KI=function(a){return new _.Ux(function(b,c){c(a)})};_.LI=function(a){if(a instanceof _.Ux)return a;const b=new _.Ux(_.Ax);_.Tx(b,2,a);return b};var MI=Symbol("Ra"),NI=Symbol("Sa");var OI,PI,QI;OI=Symbol();PI=function(a){return new _.CI(OI,1,a)};_.BI=function(a){return new _.CI(OI,2,a)};QI=function(a){switch(a.state){case 0:return{state:a.state};case 1:return{state:a.state,value:a.value};case 2:return{state:a.state,error:a.error};default:_.Jb(a.state,void 0)}};
_.CI=class{constructor(a,b,c){this.state=0;this.A=[];if(a===OI)this.state=b,this.state===1?this.value=c:this.error=c;else{b=d=>{if(this.state===0){this.value=d;this.state=1;for(let f=0;f<this.A.length;f++){var [e]=this.A[f];try{e(d)}catch(g){}}this.A=[]}};c=d=>{if(this.state===0){this.error=d;this.state=2;for(let f=0;f<this.A.length;f++){var [,e]=this.A[f];try{e(d)}catch(g){}}this.A=[]}};try{a(b,c)}catch(d){c(d)}}}B(a,b){switch(this.state){case 0:this.A.push([a,b]);break;case 1:a(this.value);break;
case 2:b(this.error);break;default:_.Jb(this.state,void 0)}}map(a,b){const c=QI(this),d=c.state;switch(d){case 1:try{return PI(a(c.value))}catch(e){return _.BI(e)}case 2:try{return _.BI(b?b(c.error):c.error)}catch(e){return _.BI(e)}case 0:break;default:_.Jb(d,void 0)}return new _.CI((e,f)=>{this.B(g=>{try{e(a(g))}catch(h){f(h)}},g=>{try{f(b?b(g):g)}catch(h){f(h)}})})}flatMap(a,b){const c=QI(this),d=c.state;switch(d){case 1:try{return a(c.value)}catch(e){return _.BI(e)}case 2:try{return _.BI(b?b(c.error):
c.error)}catch(e){return _.BI(e)}case 0:break;default:_.Jb(d,void 0)}return new _.CI((e,f)=>{this.B(g=>{try{a(g).B(e,f)}catch(h){f(h)}},g=>{try{f(b?b(g):g)}catch(h){f(h)}})})}};var RI,TI,WI,FI,UI,SI;RI=function(a,b){a.F||(a.F=_.Fn());return a.F.K(b)};TI=function(a){return SI?_.$x(a):Promise.all(a)};_.VI=function(a,b){a=UI(a,b);return SI?qI(a):a};WI=function(a,b){for(const c of a.A)c.B([b]);return new TypeError("Ta`"+b)};FI=function(a,b){b=_.JI(_.LH.W(),b);const c=a.B[b.toString()];if(c){for(const d of a.A)d.A([b]);return PI(c)}return b instanceof _.Kz?new _.CI((d,e)=>{_.VI(a,[b]).then(()=>{a.B[b.toString()]||e(WI(a,b));d(a.B[b.toString()])},e)}):_.BI(WI(a,b))};
_.XI=function(a,b){b=_.JI(_.LH.W(),b);const c=a.B[b.toString()];if(c)for(const d of a.A)d.A([b]);return c};
UI=function(a,b){const c=_.LH.W();b=b.map(l=>_.JI(c,l));b=[...(new Set(b))];const d=[],e=[];b.forEach(l=>{a.B[l.toString()]?d.push(l):e.push(l)});const f=e.filter(l=>!a.D.has(l));if(d.length)for(const l of a.A)l.A(d);if(f.length)for(const l of a.A)l.F(f);b=_.mI(e).Am.filter(l=>l instanceof _.Kz&&!a.B[l.toString()]&&!c.A[l.toString()]);const g=new Set;b.forEach(l=>{l=l.A;l!=null&&g.add(l)});if(!g.size)return SI?_.LI():Promise.resolve();f.forEach(l=>{a.D.add(l)});let h;try{h=Object.values(a.G(a,[...g]))}catch(l){let m;
SI?m=KI(l):m=Promise.reject(l);h=[m]}const k=()=>{f.forEach(l=>{a.D.delete(l)})};return TI(h).then(()=>{k();if(f.length)for(const l of a.A)l.D(f)},l=>{k();if(f.length)for(const m of a.A)m.B(f);throw l;})};_.GI=class{constructor(){this.B={};this.pb=null;this.A=new Set;this.F=null;this.D=new Set;this.G=RI}register(a,b){_.rH(a,b);this.B[a.toString()]=b}Ad(a){if(a=_.lI(a))return a}static W(){return _.KH(_.GI)}};SI=!_.nt;_.yI=Symbol("Ua");_.YI=sI("WizInjectionContext_ModelRootElement");_.ZI=sI("WizInjectionContext_RendererData");_.$I=sI("WizInjectionContext_InjectingConstructor");_.aJ=sI("WizInjectionContext_AppContext");_.bJ=sI("WizInjectionContext_Dispatcher");_.cJ=sI("WizInjectionContext_RootElement");_.dJ=sI("WizInjectionContext_AsyncDeps");_.eJ=sI("WizInjectionContext_ObjectCreationTracker");_.EI=class{constructor(){this.context=_.jf}isDisposed(){return!((this==null?0:this.context)&&!this.context.isDisposed)}getContext(){this.isDisposed();return this.context}run(a){return _.wI(this,a)}};var HI=class extends Error{constructor(a){super(a);Object.setPrototypeOf(this,new.target.prototype)}};var fJ;_.gJ=class{constructor(a){this.A=a;this.Vg="InjectionToken";this.description=this.B=a.toString()}Ad(){return this.A}[_.yI](a,b){var c;if((c=fJ)==null?0:c.kl(this.A)){var d;if(c=(d=fJ)==null?void 0:d.W(this.A)){c.then(a,b);return}}d=_.JI(_.LH.W(),this.A);_.II(d)[_.yI](a,b)}[MI](){return[{type:NI,key:this.A.toString()}]}};
_.hJ=class extends _.gJ{constructor(a){super(a);this.T=_.rI("root",()=>{var b;if((b=fJ)==null?0:b.kl(this.A))throw Error("Za");b=_.XI(_.GI.W(),this.A);if(!b){b=_.JI(_.LH.W(),this.A);if(this.A===b)throw Error("$a`"+this.A);throw Error("ab`"+this.A+"`"+b);}return _.AI(b)});this[_.yI]=void 0}};
var mJ,pJ,rJ,sJ,nJ;_.kJ=function(a,b,c){const d={};for(const e in a)d[e]=b.call(c,a[e],e,a);return d};_.lJ=function(a,b){return b()};mJ=function(a){return new _.CI((b,c)=>{_.sy(a,b,c)})};
_.oJ=function(a){const b={state:"NONE"},c={uc:d=>{switch(d.T.token){case _.eJ.T.token:var e=b;break;case _.dJ.T.token:e=a.io;break;case _.cJ.T.token:e=a.rootElement;break;case _.YI.T.token:e=a.hp;break;case _.aJ.T.token:e=a.pb;break;case _.ZI.T.token:e=a.qm;break;case _.$I.T.token:e=a.uf;break;case _.bJ.T.token:e=a.Fo}if(e)d=e;else a:{for(e=c.parent;e;){var f=e;if(f.uc){d=f.uc(d);break a}e=e.parent}e=d.T.token;f=nJ[e];f!==void 0?d=f:(f=d.T.V,d.T.J?(d=d.T.J(),e&&f==="root"&&(nJ[e]=d)):d=_.lf)}return d}};
return c};pJ=function(a){for(const b of Object.keys(a));};_.qJ=function(){var a=_.jf;if(!a)throw Error("Oa");const b=_.pI(a,_.aJ);if(!_.mf(b))return b;a=_.pI(a,_.bJ);if(!_.mf(a))return a.pb};rJ=function(a,b,c,d,e,f){_.my.call(this,e,f);this.M=a;this.U=[];this.da=!!b;this.Fa=!!c;this.Aa=!!d;this.ka=0;for(b=0;b<a.length;b++)_.sy(a[b],(0,_.P)(this.ea,this,b,!0),(0,_.P)(this.ea,this,b,!1));a.length!=0||this.da||this.callback(this.U)};
sJ=function(a){if(a instanceof _.gJ)return a.Ad();if(a instanceof _.Kz||(a=_.GI.W().Ad(a)))return a};
_.xJ=function(a,b){b&&_.GI.W().register(b,a);a.T=_.rI("root",()=>{var c=_.qJ();var d=(d=sJ(a))?_.JI(_.LH.W(),d):void 0;if(typeof a==="function"&&a[_.yI]!==void 0)throw Error("ib`"+_.nI(a));var e;d=(e=d==null?void 0:d.toString())!=null?e:a;if(e=tJ.A.get(d))var f=e;else{e=typeof a==="function"?a:_.XI(_.GI.W(),a.Ad());if(!e)throw Error("jb`"+a);c=new uJ(c,e);c.A||(c.A=_.oJ({pb:c.pb,uf:c.uf,qm:c}));c=_.kf(c.A);try{var g=_.lI(e);const h=new e;if(g){const k=vJ[g];if(k)for(g=0;g<k.length;g++)k[g](h)}f=h}finally{_.kf(c)}wJ.has(d)||
(tJ.A.has(d),tJ.B.has(d),tJ.A.set(d,f))}return f},b||a)};_.yJ=function(a,b,c){return Array.prototype.map.call(a,b,c)};_.zJ=[];nJ={};_.at(rJ,_.my);rJ.prototype.ea=function(a,b,c){this.ka++;this.U[a]=[b,c];this.A||(this.da&&b?this.callback([a,c]):this.Fa&&!b?this.B(c):this.ka==this.M.length&&this.callback(this.U));this.Aa&&!b&&(c=null);return c};rJ.prototype.B=function(a){rJ.va.B.call(this,a);for(a=0;a<this.M.length;a++)this.M[a].cancel()};var AJ=function(a){return _.ty(new rJ(a,!1,!0),function(b){const c=[];for(let d=0;d<b.length;d++)c[d]=b[d][1];return c})};pJ({preload:function(a,b){var c=[];const d=Object.keys(b);for(const e of d){const f=b[e];f instanceof _.gJ?c.push(f.Ad()):f instanceof _.Kz&&c.push(f)}b=_.VI(_.GI.W(),c);c={};for(const e of d)c[e]=b;return c}});pJ({context:function(){throw Error("eb");},Np:function(a,b){try{let c=b;typeof b==="function"&&(c=b.call(a,a));return c instanceof _.CI?c:Promise.resolve(c)}catch(c){return Promise.reject(c)}}});
pJ({pb:function(a,b){a=Object.keys(b);const c={};for(const f of a){const g=b[f],h=_.lI(g);let k;h?k=h:k=g;c[f]=k}b=_.qJ();if(!b)throw Error("db");try{var d=b.aa(Object.values(c));b={};for(var e of a)b[e]=mJ(d[c[e].toString()]);return b}catch(f){d=_.BI(f);e={};for(const g of a)e[g]=d;return e}}});pJ({yi:function(a,b){a=b.call(a,a);return Array.isArray(a)?mJ(AJ(a)):a instanceof _.my?mJ(a):a}});var vJ={};var uJ=class{constructor(a,b){this.pb=a;this.uf=b}getData(){throw Error("eb");}toString(){return`context:${_.nI(this.uf)}`}};var BJ=class{constructor(){this.A=new Map;this.B=new Map}dispose(a){if(a){for(const b of[...this.A.values()].reverse())(b==null?0:b.dispose)&&b.dispose();for(const b of[...this.B.values()].reverse())b.map(c=>{(c==null?0:c.dispose)&&c.dispose()})}this.A.clear();this.B.clear()}},tJ=new BJ,wJ=new Set;var CJ=function(a){const b=_.cm(a).map(c=>sJ(c)).filter(c=>c instanceof _.Kz);_.VI(_.GI.W(),b);return _.kJ(a,c=>c instanceof _.Kz?_.DI(_.II(c)):_.DI(c))};pJ({service:function(a,b){return CJ(b)}});
_.WL=function(a){return _.EH.has(a.toString())};_.XL=function(a){const b=_.LH.W().A[a.toString()];if(!b)throw Error("La`"+a);return b};
_.XL(_.VH);_.WL(_.VH);_.UH&&_.WL(_.UH);
_.Gn("ws9Tlc");
var $L,aM,bM,cM,dM,eM,fM;_.YL=function(a,b,c){var d=a.length;const e=typeof a==="string"?a.split(""):a;for(--d;d>=0;--d)d in e&&b.call(c,e[d],d,a)};$L=function(a,b){if(/-[a-z]/.test(b))return null;if(ZL&&a.dataset){if(_.wa()&&!(b in a.dataset))return null;a=a.dataset[b];return a===void 0?null:a}return a.getAttribute("data-"+String(b).replace(/([A-Z])/g,"-$1").toLowerCase())};aM=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})};
bM=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})};cM=function(a){return a.children!=void 0?a.children:Array.prototype.filter.call(a.childNodes,function(b){return b.nodeType==1})};dM=function(a,b){for(;a&&a.nodeType!=1;)a=b?a.nextSibling:a.previousSibling;return a};eM=function(a){return a.nextElementSibling!==void 0?a.nextElementSibling:dM(a.nextSibling,!0)};
fM=function(a){return a.previousElementSibling!==void 0?a.previousElementSibling:dM(a.previousSibling,!1)};try{let a,b;const c=(b=(a=window)==null?void 0:a.top)!=null?b:_.v;c.U3bHHf!=null||(c.U3bHHf=0);c.U3bHHf++}catch(a){_.v.U3bHHf!=null||(_.v.U3bHHf=0),_.v.U3bHHf++};var gM={};var ZL=!_.tt&&!_.va();var hM=a=>typeof a=="string"?b=>!!b.matches&&b.matches(a):a,iM=()=>!0;var jM={};var lM=function(a){this.A=kM(a)},kM=function(a){if(a instanceof lM)a=a.A;else if(a[0]instanceof lM){const b=new Set;for(let c=0;c<a.length;c++)for(const d of a[c].A)b.add(d);a=b}return[...a]};_.t=lM.prototype;_.t.each=function(a,b,c=!1){(c?_.YL:_.fn)(this.A,a,b);return this};_.t.size=function(){return this.A.length};_.t.isEmpty=function(){return this.A.length===0};_.t.get=function(a){return this.A[a]||null};_.t.el=function(){return this.A[0]||null};_.t.map=function(a,b){return _.yJ(this.A,a,b)};
_.t.equals=function(a){var b;if(!(b=this===a))a:if(b=this.A,a=a.A,_.Ka(b)&&_.Ka(a)&&b.length==a.length){var c=b.length;for(let d=0;d<c;d++)if(b[d]!==a[d]){b=!1;break a}b=!0}else b=!1;return b};_.t.first=function(){return this.A.length==0?null:new mM(this.A[0])};_.t.last=function(){return this.A.length==0?null:new mM(this.A[this.A.length-1])};_.t.find=function(a){const b=[];this.each(function(c){c=c.querySelectorAll(String(a));for(let d=0;d<c.length;d++)b.push(c[d])});return new lM(b)};
_.t.parent=function(){const a=[];this.each(function(b){(b=b.parentElement||null)&&!_.Ga(a,b)&&a.push(b)});return new lM(a)};_.t.children=function(){const a=[];this.each(function(b){b=cM(b);for(let c=0;c<b.length;c++)a.push(b[c])});return new lM(a)};_.t.filter=function(a){a=_.sH(this.A,hM(a));return new lM(a)};_.t.closest=function(a){const b=[],c=hM(a);this.each(function(d){a:{let e=0;for(;d;){if(_.Us(d)&&d.nodeType==1&&c(d))break a;d=d.parentNode;e++}d=null}d&&!_.Ga(b,d)&&b.push(d)});return new lM(b)};
_.t.next=function(a){return nM(this,eM,a)};_.t.uj=function(a){return nM(this,fM,a)};var nM=function(a,b,c){const d=[];let e;e=c?hM(c):iM;a.each(function(f){(f=b(f))&&e(f)&&d.push(f)});return new lM(d)};lM.prototype.getStyle=function(a){if(this.A.length>0){var b=this.A[0],c=b.style[aM(a)];if(typeof c!=="undefined")a=c;else{c=b.style;let e=jM[a];if(!e){var d=aM(a);e=d;b.style[d]===void 0&&(d=(_.wt?"Webkit":_.vt?"Moz":null)+bM(d),b.style[d]!==void 0&&(e=d));jM[a]=e}a=c[e]||""}return a}};
lM.prototype.getData=function(a){if(this.A.length===0)return new _.le(a,null);const b=$L(this.A[0],a);return new _.le(a,b)};lM.prototype.focus=function(a){try{a?this.el().focus(a):this.el().focus()}catch(b){}return this};
lM.prototype.click=function(){var a=_.Hx(this.el());if(a.createEvent){const b=a.createEvent("MouseEvents");b.initMouseEvent("click",!0,!0,a.defaultView,1,0,0,0,0,!1,!1,!1,!1,0,null);this.el().dispatchEvent(b)}else a=a.createEventObject(),a.clientX=0,a.clientY=0,a.screenX=0,a.screenY=0,a.altKey=!1,a.ctrlKey=!1,a.shiftKey=!1,a.button=0,this.el().fireEvent("onclick",a)};
var oM=function(a,b,c,d=!1){function e(f,g,h){let k=g;g&&g.parentNode&&(k=g.cloneNode(!0));f(k,h)}if(a.A.length==1){const f=a.A[0],g=h=>b(h,f);c instanceof lM?c.each(g,void 0,d):Array.isArray(c)?(d?_.YL:_.fn)(c,g):b(c,f);return a}return a.each(function(f){c instanceof lM?c.each(function(g){e(b,g,f)}):Array.isArray(c)?_.fn(c,function(g){e(b,g,f)}):e(b,c,f)})};_.t=lM.prototype;_.t.append=function(a){return oM(this,function(b,c){b&&c.appendChild(b)},a)};
_.t.remove=function(){return oM(this,function(a,b){_.Kx(b)},null)};_.t.empty=function(){return oM(this,function(a,b){for(;a=b.firstChild;)b.removeChild(a)},null)};_.t.after=function(a,b=!0){return oM(this,function(c,d){c&&d.parentNode&&d.parentNode.insertBefore(c,d.nextSibling)},a,!b)};_.t.before=function(a){return oM(this,function(b,c){b&&c.parentNode&&c.parentNode.insertBefore(b,c)},a)};
_.t.replaceWith=function(a){return oM(this,function(b,c){if(b){const d=c.parentNode;d&&d.replaceChild(b,c)}},a)};var pM=function(a){return a.each(function(b){b.style.display=""})};lM.prototype.show=function(){return pM(this)};lM.prototype.trigger=function(a,b,c,d){return qM(this,a,b,c,d)};var qM=function(a,b,c,d,e){return a.each(function(f){let g;((g=gM.Go)!=null?g:_.Hx(f)).__wizdispatcher.cq(f,b,c,d,e)})},mM=function(a,b){a instanceof lM&&(b=a.A,a=null);this.A=kM(a!=null?[a]:b)};_.at(mM,lM);
_.t=mM.prototype;_.t.children=function(){return new lM(Array.prototype.slice.call(cM(this.A[0])))};_.t.each=function(a,b){a.call(b,this.A[0],0);return this};_.t.size=function(){return 1};_.t.el=function(){return this.A[0]};_.t.first=function(){return this};var rM=class{constructor(){this.A=window}get(){return this.A}find(a){return(new mM(this.A.document.documentElement)).find(a)}};_.xJ(rM,_.UH);
_.Hn();
_.Gn("cEt90b");
_.sM=new _.hJ(_.VH);
_.Hn();
_.Gn("OTA3Ae");
_.le.prototype.D=_.ea(0,function(a){return arguments.length==0?_.rn(this):_.sn(this,a)});_.JM={};_.KM={};_.LM={};_.MM={};_.NM=_.TH("OTA3Ae");_.FH(_.NM);_.OM=class{constructor(){this.B=_.yJ(_.Wo(_.me("MT7f9b")),a=>a.D())}getType(a){let b=0;_.fn(a.G(),c=>{_.QG===c.key&&(b=c.value?1:2)},this);if(b!=0)return b;a=parseInt(a,10);if(a!==void 0)if(_.JM[a]!==void 0||_.KM[a]!==void 0)b=1;else if(_.LM[a]!==void 0||_.MM[a]!==void 0)b=2;return b}};_.OM.prototype.A=_.ca(8);_.xJ(_.OM,_.NM);
_.Hn();
_.Gn("PoEs9b");
_.xJ(class{},_.WH);
_.Hn();
_.Gn("Pjplud");
_.RM=new _.hJ(_.XH);
_.Hn();
_.Gn("Mlhmy");
_.xJ(class{constructor(){this.A=_.AI(_.sM)}B(){return this.A.get().location.pathname}},_.YH);
_.Hn();
_.Gn("QGR0gd");
_.SM=new _.hJ(_.ZH);
_.Hn();
_.Gn("A1yn5d");
var tM,wM;tM=function(a){if(a==null)return a;if(typeof a==="string"&&a)a=+a;else if(typeof a!=="number")return;return(0,_.Pb)(a)?a>>>0:void 0};
_.uM=function(a,b,c,d,e,f){let g=a.fa,h=g[_.A]|0;d=_.fb(a,h)?1:d;e=!!e||d===3;d===2&&_.jd(a)&&(g=a.fa,h=g[_.A]|0);a=_.sd(g,b,f);let k=a===_.rd?7:a[_.A]|0,l=_.td(k,h);var m=4&l?!1:!0;if(m){4&l&&(a=[...a],k=0,l=_.od(l,h),h=_.md(g,h,b,a,f));let n=0,r=0;for(;n<a.length;n++){const p=c(a[n]);p!=null&&(a[r++]=p)}r<n&&(a.length=r);c=(l|4)&-513;l=c&=-1025;l&=-4097}l!==k&&(a[_.A]=l,2&l&&Object.freeze(a));return a=_.pd(a,l,g,h,b,f,d,m,e)};_.vM=class extends _.S{constructor(a){super(a)}};
wM=class extends _.S{constructor(a){super(a)}G(){var a=tM(_.ss(this,1));return a!=null?a:0}F(){return _.O(this,_.vM,2)}H(){return _.O(this,_.vM,3)}D(){return _.fu(this,4)}I(){return _.uM(this,5,_.Tb,void 0===_.Ft?2:4)}};_.xJ(class{constructor(){const a=_.Uo(_.me("YlwcZe"));this.If=a?_.fe(wM,`[${a.substring(4)}`):null}},_.hI);
_.Hn();
_.Gn("YIZmRd");
_.xM=new _.hJ(_.iI);
_.Hn();
_.MJ=new _.IG("returnFrozen");
_.zM=_.TH("P6sQOc",[]);_.FH(_.zM);
var TM;TM=function(){if(_.VL instanceof _.Kz)return _.VL;const a=_.lI(_.VL);if(!a)throw Error("Pb`"+_.nI(_.VL));return a};_.UM=function(){const a=TM();return{T:_.rI(null,()=>{const b=_.qJ();if(!b)throw Error("Ob");return b.get(a)},_.VL)}};
_.Gn("kWgXee");
var WM,XM,YM,ZM,cN,fN,VM,jN,kN,lN,mN,aN,bN,nN,pN,qN,rN,sN,tN,uN,vN,yN,zN,BN,CN,EN,FN,IN,KN,NN;WM=function(a,...b){var c=a[0];if(a.length===1)return c+"_";c=[0,c];for(let d=0;d<b.length;d++){const e=b[d];"function"==typeof VM&&e instanceof VM?c.push(2,e.Ml):typeof e==="number"?c.push(2,String(e)):c.push(1,e);c.push(0,a[d+1])}return JSON.stringify(c)};XM=function(a){return Array.prototype.concat.apply([],arguments)};YM=function(a){if(_.zC!==_.zC)throw Error();return new VM(a)};
ZM=function(a){let b;if(a.length!==0&&typeof(b=a[0])==="string"&&b)return b};cN=function(a){(this.I=a)&&_.$M(this,"BEST_EFFORT");_.Zs();this.A=new _.VJ;this.B="POST";this.ea=aN++;bN||(a=new Date,bN=a.getHours()*3600+a.getMinutes()*60+a.getSeconds());this.Y=1+bN+this.ea*1E5;this.G=new _.KK};_.dN=function(a){let b=0;for(const c in a)b++;return b};_.eN=function(a,b){if(b)for(const [c,d]of b)a.set(c,d)};
fN=function(){var a=_.II(_.zM);return _.H(function*(){_.xI(a);a[_.yI]||_.uI(a);if(a.T&&!a[_.yI])return Promise.resolve(_.AI(a));const b=yield new Promise((c,d)=>{a[_.yI](c,d)});return _.zI(b,_.nI(a))})};_.my.prototype.D=_.ea(1,function(a){const b=new _.my;_.sy(this,b.callback,b.B,b);a&&(b.F=this,this.I++);return b});_.gN=function(a,b,c){return _.wd(a,b,c==null?c:_.Ub(c),0)};_.hN=function(a){return _.id(a)};_.iN=function(a,b,c){return _.sy(a,null,b,c)};VM=class{constructor(a){this.Ml=a}};
jN=function(a,b){a=a.map(c=>c.messageId).join(", ");b=b.map(c=>{c=c instanceof _.S?c.constructor.messageId:Array.isArray(c)&&c.length?c[0]instanceof _.S?c[0].constructor.messageId:Array.isArray(c[0])?ZM(c[0]):ZM(c):void 0;return c}).join(", ");return`Expected protos: [${a}]. Returned protos: [${b}].`};_.HM=class extends _.fa{constructor(a,b,c,d,e){super(`Error code = ${b}`+(c?`, Path = ${c}`:"")+(d?`, Message = ${d}`:"")+(e?`, ${e.F}`:""));this.name=a;this.A=b;this.D=e}getError(){return this.D}};
kN=class extends _.HM{constructor(a,b,c){super("TooManyProtosError",108,c,"The RequestService interface only supports a single received proto (be it data or error). "+(a&&b?jN(a,b):""))}};lN=class extends _.HM{constructor(a,b,c){super("ExpectedProtoNotFound",109,c,"The expected response proto was not returned by the server."+jN(a,b))}};mN=class extends _.HM{constructor(){super("Retry",0,void 0,"An interceptor has requested that the request be retried.")}};aN=0;
nN=function(a){if(a.started)throw Error("zb");};_.$M=function(a,b){nN(a);a.le=b};_.oN=function(a,b){nN(a);a.Qj=b};pN=function(a,b,c){if(b instanceof _.$J){const d=b.ib();_.Ma(d);for(let e=0;e<d.length;e++){const f=d[e],g=b.Xa(f);c?a.Md(f,g):_.XK(a.A,f,g)}}else _.dK(b,function(d,e){c?this.Md(e,d):_.XK(this.A,e,d)},a)};_.t=cN.prototype;_.t.Qj=!0;_.t.wf=!0;_.t.bg=-1;_.t.Hi=-1;_.t.dj=-1;_.t.Cj=_.uL;_.t.Td=0;_.t.le="BEST_EFFORT";_.t.sk=function(a){this.G.set("X-Framework-Xsrf-Token",a)};
_.t.getContext=function(){return this.aa};_.t.Ul=function(){this.le="FAIL";this.I.abort(this,101)};_.t.getMessage=function(){return""};_.t.send=function(){if(this.started)throw Error("Cb");_.Zs();this.Y||_.JK("No request id for ["+this.getUrl()+"]",Error("Bb`"+this.getUrl()));_.XK(this.A,"_reqid",this.Y);this.I.send(this);this.started=!0;this.bg>=0&&(this.K=_.rK("Db",this.Ul,this.bg,this))};_.t.abort=function(){if(!this.started)throw Error("Eb");this.complete||(this.le="FAIL",this.I.abort(this))};
_.t.getType=function(){return _.vL};_.t.getData=function(a){return this.X?this.X[a]:null};_.t.getUrl=function(){return String(this.A.clone())};_.t.xc=function(a){pN(this,a,!1)};_.t.Md=function(a,b){this.H||(this.H=new _.$J);Array.isArray(b)||(b=[String(b)]);_.Ga(_.qx,this.B)||(this.B="POST");_.hK(this.H,a,b)};
qN=function(a,b){const c={};for(var d=0;d<b.length;d++)c[b[d].messageId]=b[d];b=[];d=[];for(let h=0;h<a.length;h++){var e=a[h];if(e instanceof _.S){var f=c[e.constructor.messageId];e instanceof _.iL?d.push(e):f&&b.push(e)}else{var g=ZM(e);if(f=c[g])g=g===_.fL.messageId||g===_.gL.messageId||g===_.iL.messageId,e=_.GK(f,g?(0,_.Ot)(e):e),b.push(e),g||(a[h]=e)}}return{He:b,yd:d}};
rN=function(a,b){_.fn(a.M,function(c){var d=[];Array.isArray(d)||(d=[d]);d=qN(b,d).yd;if(d.length)try{c.B(d)}catch(e){if("function"==typeof _.QL&&e instanceof _.QL)throw this.U=!0,new mN;throw e;}},a)};sN=function(a,b){if(a.B.Mc){b=[b];rN(a,b);b=qN(b,a.F);let c;b.He.length>0?c=b.He[0]:b.yd.length>0&&(c=b.yd[0]);if(c){let d;_.lJ(WM`BqgkJe${YM((d=c.constructor.messageId)!=null?d:"unknown")}OWXEXe`,()=>a.B.Mc(c))}}else a.H.push(b)};
tN=function(a){const b={},c=a.R;b.nf=d=>{if(!c.A){var e=d.R;e?c.B(e):sN(a,d.da)}};b.Pi=(d,e)=>{if(!c.A){d="unknown";a.H.length>0&&(a.H[0]instanceof _.S?d=a.H[0].constructor.messageId:Array.isArray(a.H[0])&&(d=ZM(a.H[0])));var f;_.lJ(WM`IE0Oi${a.H.length}cESSm${YM((f=d)!=null?f:"unknown")}OWXEXe`,()=>{c.callback({data:a.H,Op:e});return c})}};b.Qi=(d,e,f)=>{sN(a,f)};b.aq=!0;a.A.D=b};
uN=function(a){_.fn(a.M,function(b){b.A&&_.ty(this.D,b.A,b)},a);_.ty(a.D,b=>{b.send();return _.iN(a.R.D(),c=>{c instanceof _.ny&&a.R.cancel()})});a.B.Mc?_.ty(a.D,()=>null):(_.ty(a.D,b=>{rN(a,b.data)}),a.B.Dk?_.ty(a.D,a.aa,a):a.B.Aj?_.ty(a.D,a.da,a):_.ty(a.D,a.ea,a));_.iN(a.D,a.X,a)};vN=function(a){return _.lJ(WM`xK4gQc${YM(a.A.B)}V1GM4b${YM(a.A.A.A)}OWXEXe`,()=>{a.D.callback(a.A);return a.D})};_.wN=function(a,b){a.I||(a.I=b);return vN(b)};
yN=class{constructor(a,b,c,d,e){this.H=[];this.U=this.S=!1;this.I=b;this.G=c;this.F=d;this.B=e;this.M=a.G;this.D=new _.my;this.R=new _.my(this.Y.bind(this));this.K=a;this.A=new cN(this.B.Xm?a.D:a.F);this.A.A.A=this.I;this.A.B=this.B.method;let f,g,h;typeof this.B.host==="string"&&(f=this.B.host.match(_.Em)[1]||null,g=_.Dm(this.B.host.match(_.Em)[3]||null),h=Number(this.B.host.match(_.Em)[4]||null)||null);f=f||this.B.scheme;typeof f==="string"&&_.WJ(this.A.A,f);g=g||this.B.domain;typeof g==="string"&&
(this.A.A.D=g);typeof h==="number"&&_.XJ(this.A.A,h);a=this.A;(b=!_.Ga(_.qx,this.A.B))&&_.Ga(_.qx,a.B)?a.B="GET":b||_.Ga(_.qx,a.B)||(a.B="POST");nN(a);a.S=b;tN(this);if(this.G){if(_.Ga(_.qx,this.A.B)){a=this.G;try{var k=a instanceof HTMLFormElement}catch(l){k=typeof a==="object"&&a.nodeType===1&&typeof a.style==="object"&&typeof a.ownerDocument==="object"&&a.tagName.toLowerCase()==="form"}if(k){k=this.A;nN(k);k.wf=!1;k=this.A;a=this.G;nN(k);if(k.wf)throw Error("Fb");k.F=a}else this.G instanceof _.S?
this.A.Md("f.req",this.G.serialize()):pN(this.A,this.G,!0)}else this.A.xc(this.G);this.B.Mc&&(_.oN(this.A,!1),k=this.A,nN(k),k.U=!0)}uN(this)}send(){return _.wN(this.K,this)}da(a){a=a.data;for(let b=0;b<a.length;b++){const c=a[b];if(c instanceof _.LK)throw c;}return a}aa(a){a=a.data;if(this.F.length===0)return null;const b=qN(a,this.F);if(b.He.length===0&&b.yd.length===0)throw new lN(this.F,a,this.I);return XM(b.He,b.yd)}ea(a){a=a.data;if(this.F.length===0)return null;var b=qN(a,this.F);const c=b.He;
b=b.yd;if(c.length===0&&b.length===0)throw new lN(this.F,a,this.I);if(c.length===1&&b.length===0)return c[0];if(c.length===0&&b.length===1)throw b[0];throw new kN(this.F,a,this.I);}getUrl(){return this.A.getUrl()}cancel(){this.D.cancel()}X(a){if(a instanceof mN||this.U&&this.B.Mc){a=this.A.A.B.get("f.retries");a=(a?Number(a):0)+1;if(a>100)throw new _.HM("TooManyRetries",102,this.I,"There was an error after several retries.");var b=_.xN(this.K,this.I,this.G,this.F,this.B);b.A.xc({"f.retries":a});return _.wN(this.K,
b)}if(!(a instanceof _.ny)){if(!this.B.Aj&&a instanceof _.LK){b=a.A;if(b==100&&this.S)return new _.ny(this.D);throw new _.HM("TransportError",b,this.I,"There was an error during the transport or processing of this request.",a);}throw a;}}Y(){this.A&&(this.S=!0,this.A.abort())}toString(){return this.A.getUrl()}};
_.xN=function(a,b,c,d,e){var f={};if(b.startsWith("http")){b=b.match(_.Em);f=b[1]||void 0;var g=b[3]||void 0,h=b[4];b=b[5]||"";f={scheme:f,host:g?(f?f+"://":"")+g+(h?`:${h}`:""):void 0}}h=[];g={};e||d&&(typeof d==="function"||Array.isArray(d))?(d&&(h=Array.isArray(d)?d:[d]),e&&(g=e)):d&&(g=d);d=h;Object.assign(f,g);e=f;f=_.fm(a.M);_.hm(f,e||{});return new yN(a,b,c||null,d,f)};zN=function(a,b){_.fn(b.G(),()=>{},a)};
BN=function(a){var b=AN;_.Ec(a.fa,b.A);_.Cc(a,b.A);return b.ctor?b.B(a,b.ctor,b.A,b.D):b.B(a,b.A,b.defaultValue,b.D)};_.U=function(a,b,c){return _.wd(a,b,_.lc(c),"")};CN=function(a,b){_.gN(a,1,b)};EN=function(a){var b=new _.DN;return _.U(b,2,a)};FN=function(a,b){_.au(a,3,b)};_.DN=class extends _.S{constructor(a){super(a)}D(){return _.du(this,1)}getMessage(){return _.R(this,2)}};
_.GN=function(a){isFinite(a)&&(a=String(a));return typeof a==="string"?/^\s*-?0x/i.test(a)?parseInt(a,16):parseInt(a,10):NaN};_.HN=function(a,b){b=b.value;_.zJ[b]||(_.zJ[b]=[]);_.zJ[b].push(a)};IN=class{constructor(a){this.B=a}A(a,b){return _.LI(this.B.A(a,b))}};_.JN=function(a,b){_.HN(new IN(a),b)};KN={value:3,Ij:!0};_.GM=class extends _.fa{constructor(a){super(a.getMessage());this.B=!1;this.status=a}};_.GM.prototype.name="RpcError";_.LN=function(a,b){return _.fp(a,2,b)};
_.MN=class extends _.S{constructor(a){super(a)}sa(){return _.R(this,1)}};NN=class extends _.S{constructor(a){super(a)}};_.ON=class extends _.S{constructor(a){super(a,0,_.ON.messageId)}sa(){return _.R(this,1,void 0,_.mb)}getError(){return _.O(this,_.DN,5,_.mb)}B(){return _.ns(this,_.DN,5,_.mb)}};_.ON.prototype.Qb="rTCZff";_.ON.messageId="wrb.fr";var PN=class extends _.S{constructor(a){super(a)}};var QN=class extends _.S{constructor(a){super(a)}};QN.prototype.Qb="KpfDkf";var AN=new _.Ju(463303444,_.zK,QN);var RN=function(a,b){_.bm(a,function(c){zN(b,c.sa());b.getType(c.sa())})};var SN=_.TH("kWgXee");_.FH(SN);_.UN=function(a){if(!("function"==typeof _.TN&&a instanceof _.TN))return{};const b={};_.bm(a.sideChannel,(c,d)=>{d="x-goog-ext-"+_.GN(d)+"-jspb";c=c.serialize().trim();if(b!==null&&d in b)throw Error("R`"+d);b[d]=c});return b};var WN,VN,XN,YN;
WN=function(a,b){const c={},d={},e=new PN;let f={},g={},h=!0,k=null,l=!1;const m=new Map;_.bm(b,(w,z)=>{const N=w.B().serialize(),X=w.sa().toString();var da=X+N;m.has(da)?(w=m.get(da),d[z]=d[w],c[z]=c[w]):(c[z]=_.uH(),d[z]=c[z].promise,m.set(da,z),da=new _.MN,z=_.fp(da,4,z),z=_.fp(z,1,X),w.B()&&_.LN(z,N),_.bu(e,1,_.MN,z),h?(g=_.UN(w),h=!1,k=a.F.If,l=w.A(_.QG),f=w.A(_.TG)):VN(k,a.F.If))});var n={Mc:a.G.bind(a,b,c)};let r=_.xN(a.B,`${_.me("eptZe")}${"data/batchexecute"}`,e,[_.ON],n);n=Object.values(b);
const p=n.filter(w=>w.A(_.UG)>0).map(w=>w.sa().toString()+":"+w.A(_.UG)).join(","),q={rpcids:Array.from(new Set(n.map(w=>w.sa().toString()))).join(),"source-path":a.H.B()};p.length>0&&(q["fcd.retries"]=p);n.forEach(w=>{if(w.A(_.VG)!==void 0)for(const z of w.A(_.VG).keys())q[z]=w.A(_.VG).get(z)});r.A.xc(q);n=r.A.G;_.em(g)||_.eN(n,Object.entries(g));if(f!=null)for(const w in f)n.set(w,f[w]);!k&&l||_.$M(r.A,"FAIL");a.D(r.A,b);_.iN(_.wN(a.B,r),function(w){_.fn(_.cm(c),z=>{z.reject(w)})},a);let u=!1,y=
_.dN(d);_.bm(d,(w,z)=>{w.F(N=>{N instanceof _.dy&&(u=!0,z in b&&delete b[z])});_.WK(w,()=>{y--;u&&y===0&&r.cancel()})});return d};VN=function(a,b){if(a!==b&&(a||b)&&!(a&&!b||!a&&b||a.G()!=b.G()||a.D()!=b.D())){var c=new Set(a.I()),d=new Set(b.I());c.size==d.size&&[...c].every(e=>d.has(e))&&XN(a.F(),b.F())&&XN(a.H(),b.H())}};XN=function(a,b){return a===b?!0:a&&!b||!a&&b||_.eu(a,1)!=_.eu(b,1)||_.du(a,2)!=_.du(b,2)?!1:!0};
YN=function(a){const b={};a.forEach(function(c){const d=_.T(c,1);c=_.BK(c,2);b[d]=JSON.parse(c)});new _.zK([b])};
_.$N=class{constructor(){this.B=_.AI(_.UM());this.A=_.AI(_.OM);this.F=_.AI(_.xM);_.AI(_.RM);this.H=_.AI(_.SM);const a=new _.EI;setTimeout(()=>_.H(function*(){const b=yield _.wI(a,()=>fN());_.JN(b,KN)}),0)}execute(a){if(_.em(a))return{};RN(a,this.A);return WN(this,a)}G(a,b,c){if(c instanceof _.iL){var d=_.mc(_.ss(c,2,_.mb))!=null?` [${_.BK(c,2,_.mb)}]`:"";d=EN(`RPC executor service threw an error${d}!`);_.Vb(_.ss(c,9,_.mb))!=null&&CN(d,_.T(c,9,_.mb));(c=c.D())&&(c=BN(c))&&FN(d,_.$t(c,_.Lu,1));const e=
new _.GM(d);_.fn(_.cm(b),f=>{f.reject(e)})}else if(d=_.BK(c,6,_.mb),a.hasOwnProperty(d)){if(_.mc(_.ss(c,2,_.mb))!=null){a=a[d];const e=a.sa().D;YN(_.$t(c,NN,7,_.mb));c=_.R(c,2,void 0,_.mb);c=a.A(_.MJ)&&_.ZN?_.hN(_.fe(e,c)):_.fe(e,c);c=a.sa().H(c);b[d].resolve(c)}else c.B()&&(c=new _.GM(c.getError()),b[d].reject(c));d in b&&delete b[d]}}D(){}};_.ZN=!1;_.xJ(_.$N,SN);
_.Hn();
var gO;gO=function(a,b){if(a.A[b]&&_.DL(a.A[b])){a.B[b]=!0;const c=_.CL(a.A[b]);a.A[b].isEmpty()&&delete a.A[b];c.li?gO(a,b):c.wh.resolve(_.WK(c.Vl(),(0,_.P)(function(){gO(this,b)},a)))}else delete a.B[b]};
_.hO=class extends _.Ym{constructor(){super();this.A={};this.B={}}na(){delete this.A;delete this.B}execute(a,b){b=b?b:"default";this.A[b]||(this.A[b]=new _.TK);const c=_.uH(),d={wh:c,Vl:a,li:!1};this.A[b].enqueue(d);this.B[b]||gO(this,b);return c.promise.F(function(e){if(e instanceof Error)throw e instanceof _.dy&&(d.li=!0),e;throw Error(e);})}static W(){return _.KH(_.hO)}};
_.Gn("KVPDCe");
_.nO=_.TH("KVPDCe",[]);_.FH(_.nO);var oO=function(a,b){const c={},d={};for(const e of b)c[e.requestId]=e.Lj,d[e.requestId]=e.wh;a=a.B.execute(c);for(const e of Object.keys(a))a[e].then(f=>{d[e]&&d[e].resolve(f)},f=>{d[e]&&d[e].reject(f)})};
_.xJ(class{constructor(){this.B=_.AI(_.$N);this.D=_.AI(_.xM);this.G=_.hO.W();this.A=[];this.F=0}fetch(a){const b=_.uH(),c=String(this.F++);this.A.push({Lj:a,wh:b,requestId:c});this.A.length===1&&Promise.resolve().then(()=>{if(this.A.length!==0){var d=[...this.A];this.A.length=0;var e={},f=[];for(const k of d){a:{d=k.Lj;var g=k.requestId;if(d.A(_.WG)){d=`excluded_${g}`;break a}g=_.UN(d);g=JSON.stringify(g);var h=this.D.If;h=h?h.serialize():"null";const l=d.A(_.QG);d=(d=d.A(_.TG))?JSON.stringify(d):
"null";d=`${g}|${h}|${l}|${d}`}e[d]||(e[d]=[],f.push(d));e[d].push(k)}for(const k of f)oO(this,e[k])}});return b.promise}ua(a){return this.G.execute(()=>this.B.execute({generic:a}).generic)}},_.nO);
_.Hn();
_.DJ=function(a,b){delete a.A[b];delete a.B[b];delete a.D[b]};_.EJ=class{constructor(){this.A={};this.B={};this.D={};this.F=0}create(a){_.bm(a,c=>{if(c.A(_.MG)||c.A(_.NG))throw Error("kb");});this.F++;let b=0;return _.kJ(a,c=>{const d=`${this.F}`;b++;const e=`${b}`;this.A[d]||(this.A[d]=[]);this.A[d].push(e);return c.Wb(_.MG,d).Wb(_.NG,e)},this)}track(a,b){if(this.B[a])throw Error("lb`"+a);this.B[a]=[];this.D[a]=b}};_.xJ(_.EJ);
_.Gn("ovKuLd");
var iO,jO;iO=function(a,b){const c=`${b.A(_.MG)}`,d=b.A(_.NG);if(!c||!d)throw Error("mb");if(!a.B[c])throw Error("nb`"+d+"`"+c);if(_.Ga(a.B[c],d))throw Error("ob`"+d+"`"+c);a.B[c].push(b);if(a.A[c]){if(a.A[c].length<a.B[c].length)throw b=Error("pb`"+c+"`"+a.A[c.length]),_.DJ(a,c),b;a.B[c].length===a.A[c].length&&(a.D[c](),_.DJ(a,c))}else a.D[c](),_.DJ(a,c)};jO=function(a,b,c){c.getType(b)};_.kO=_.TH("ovKuLd");_.FH(_.kO);var lO=function(a,b,c){c&&(delete a.A[b][c],delete a.D[b][c],delete a.B[b][c]);_.em(a.A[b])&&(delete a.D[b],delete a.A[b],delete a.B[b])},mO=class{constructor(){this.F=_.AI(_.$N);this.G=_.AI(_.OM);this.I=_.hO.W();this.H=_.AI(_.EJ);this.D={};this.A={};this.B={}}fetch(a){const b=a.sa();jO(a.B(),b,this.G);const c=a.A(_.MG),d=a.A(_.NG);return c&&d?(this.A[c]||(this.A[c]={},this.D[c]={},this.H.track(c,(0,_.P)(function(){this.B[c]=this.F.execute(this.D[c]);for(const e in this.B[c])this.B[c][e].then(f=>
{this.A[c][e].resolve(f);lO(this,c,e)},f=>{this.A[c][e].reject(f);lO(this,c,e)},this)},this))),this.D[c][d]=a,this.A[c][d]=_.uH(),iO(this.H,a),this.A[c][d].promise.F(e=>{e instanceof _.dy&&this.B.hasOwnProperty(c)&&this.B[c].hasOwnProperty(d)&&this.B[c][d].cancel()}),this.A[c][d].promise):this.F.execute({generic:a}).generic}ua(a){var b=a.sa();jO(a.B(),b,this.G);b=(0,_.P)(function(){return this.F.execute({generic:a}).generic},this);return this.I.execute(b,a.A(_.RG))}};_.xJ(mO,_.kO);
_.Hn();
_.Gn("qafBPd");
_.iJ=class{constructor(a,b,c){this.B=a;this.D=b;this.A=c}type(){return this.A}};_.jJ=new _.hJ(_.eI);
_.Hn();
_.Gn("ebZ3mb");
var FJ,GJ,HJ,IJ;FJ=function(a,b,c){return arguments.length<=2?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};GJ=function(a){const b=[];for(let d=0;d<arguments.length;d++){const e=arguments[d];if(Array.isArray(e))for(let f=0;f<e.length;f+=8192){var c=FJ(e,f,f+8192);c=GJ.apply(null,c);for(let g=0;g<c.length;g++)b.push(c[g])}else b.push(e)}return b};
HJ=function(a,b,c,d,e){const f=_.uH();if(b==a.length)return e.promise.then(d.resolve,d.reject),f.resolve(c),f.promise;const g=a[b],h=_.uH();d.promise.F(()=>{});g.A(c.B,h.promise).then(k=>{k.A==1||k.A==2||k.A==3?k.D.then(d.resolve,d.reject):h.promise.then(d.resolve,d.reject);k.A==1?f.resolve(k):f.resolve(HJ(a,++b,k,h,e))});return f.promise};IJ=function(a,b){const c=_.uH();return HJ(GJ(_.sH(_.zJ,d=>!!d)),0,new _.iJ(a,null,0),c,b).then(d=>new _.iJ(d.B,c.promise,d.type()))};
_.JJ=function(a,b,c){const d=_.uH(),e=_.uH();let f;b.sa().getName();return _.lJ(0,()=>{IJ(b,d).then(g=>{if(g.A==1){const h=b.A(_.MG),k=b.A(_.NG);h&&k&&(_.Ia(c.A[h],k),c.B[h]&&c.B[h].length===c.A[h].length&&(c.D[h](),_.DJ(c,h)))}else f=a(g.B),d.resolve(f);e.resolve(g.D)});return e.promise.then(g=>g,g=>{g instanceof _.dy&&f!=null&&f.cancel();throw g;})})};
_.KJ=class{constructor(){this.A=_.AI(_.EJ);const a=_.AI(_.jJ);this.B=a.fetch.bind(a);this.D=a.ua.bind(a)}fetch(a){return _.JJ(this.B,a,this.A).then(b=>b.D())}ua(a){return _.JJ(this.D,a,this.A).then(b=>b.D())}};_.xJ(_.KJ,_.$H);
_.Hn();
_.Gn("lOO0Vd");
_.yM=new _.hJ(_.jI);
_.Hn();
_.Gn("P6sQOc");
var BM;_.AM=function(a,b){return new _.iJ(a,b,2)};BM=function(a){let b=null;return(new _.Ux(function(c,d){b=_.UJ(function(){c(void 0)},a);b==-1&&d(Error("ub"))})).F(function(c){_.v.clearTimeout(b);throw c;})};var DM=function(a){const b={};_.fn(a.I(),e=>{b[e]=!0});const c=a.F(),d=a.H();return new CM(a.G(),_.he(_.eu(c,1))*1E3,a.D(),_.he(_.eu(d,1))*1E3,b)},EM=function(a){return Math.random()*Math.min(a.G*Math.pow(a.F,a.A),a.H)},FM=function(a,b){return a.A>=a.D?!1:b!=null?!!a.I[b]:!0},CM=class{constructor(a,b,c,d,e){this.D=a;this.G=b;this.F=c;this.H=d;this.I=e;this.A=0;this.B=EM(this)}};var IM=function(a,b,c,d){return c.then(e=>e,e=>{if("function"==typeof _.GM&&e instanceof _.GM){if(!e.status||!FM(d,e.status.D()))throw e;}else if("function"==typeof _.HM&&e instanceof _.HM&&e.A!==103&&e.A!==7)throw e;return BM(d.B).then(()=>{if(!FM(d))throw Error("Nb`"+d.D);++d.A;d.B=EM(d);b=b.Wb(_.UG,d.A);return IM(a,b,a.fetch(b),d)})})};
_.xJ(class{constructor(){this.B=_.AI(_.xM);this.D=_.AI(_.yM);const a=_.AI(_.jJ);this.fetch=a.fetch.bind(a)}A(a,b){if(this.D.getType(a.sa())!==1)return new _.iJ(a,null,0);var c=this.B.If;return(c=c?DM(c):null)&&FM(c)?_.AM(a,IM(this,a,b,c)):new _.iJ(a,null,0)}},_.zM);
_.Hn();
_.Gn("f1G8G");
_.OJ=new _.Kz("f1G8G","f1G8G",[_.gI,_.fI]);
_.Hn();
_.bO=_.TH("VDovNc");_.FH(_.bO);var cO;cO=function(a,b){b=a.indexOf(b);b>-1&&a.splice(b,1)};_.dO=class{constructor(){this.B=[];this.F=[];this.D=[];this.A=[];this.G=null}on(a,b){a=="data"?this.B.push(b):a=="status"?this.F.push(b):a=="end"?this.D.push(b):a=="error"&&this.A.push(b);return this}cancel(){if(!this.G)throw Error("Rb");this.G.cancel()}removeListener(a,b){a=="data"?cO(this.B,b):a=="status"?cO(this.F,b):a=="end"?cO(this.D,b):a=="error"&&cO(this.A,b);return this}};_.dO.prototype.removeListener=_.dO.prototype.removeListener;
_.dO.prototype.cancel=_.dO.prototype.cancel;_.dO.prototype.on=_.dO.prototype.on;
_.Gn("oxe1Cc");
/*
Math.uuid.js (v1.4)
http://www.broofa.com
mailto:robert@broofa.com
Copyright (c) 2010 Robert Kieffer
Dual licensed under the MIT and GPL licenses.
*/
var wO,xO,yO,zO,AO,BO,CO,DO,EO,FO,GO,HO,IO,JO,KO,NO,OO,PO,QO,RO,SO,TO,UO,VO,WO,cP,dP,eP,gP,hP,iP,jP,mP,oP,rP,sP,tP,qP,uP,vP,xP,wP,BP,DP,GP,JP,KP,LP,NP,SP,OP,TP,VP,$P,aQ,bQ,cQ,dQ,pQ,rQ,sQ,vQ,wQ,xQ,yQ,zQ,AQ,PQ,$Q,aR,bR,cR,dR,eR,SQ,hR,iR,kR,lR,mR,nR,oR,pR,qR,vR,xR,zR,ER,HR,UQ,IR,JR,KR,VQ,MR,NR,OR,YQ,OQ,SR,TR,UR,VR,WR,YR,NQ,MQ,$R,HQ,dS,eS,kS,lS,mS,nS,pS,qS,rS,sS,CS,wS,yS,AS,IS,JS,LS,MS,NS,OS,PS,qQ,kQ,QS,RS,SS,lP,US,TS,VS,MO,LO,ZR,WS,XS,YS,ZS,uR,V,$S,aT,RP,LQ,$O,bP,bT,aP,XO,YO,cT,dT,ZO,RQ,QQ,fP,eT,fT,
tQ,eQ,kP,gT,gQ,fQ,hT,iT,kT,lT,mT,pP,nT,lQ;wO=function(a){return a instanceof _.mh?a.Ug:a};xO=function(a,b,c,d){d=b[18].oa[d];if(d.matches===null){const l=a.data,m=c.matches,n=[];for(let r=0;m!==null&&r<m.length;r+=2){var e=m[r];if(e<0)n.push(null);else{a=n;var f=a.push,g=b,h=l[e],k=m[r+1];e=c.metadata.read;k===-1?(e=h,g=e.type&11?_.nh(e,g):e.type&4?_.kl(e,g):null):k===-2?g=e===_.mh?_.nh(h,g):e===_.ml?_.kl(h,g):e===_.nw?_.bl(h,g):void 0:g=_.Xg(g,g[1],k,h);f.call(a,g)}}d.matches=n}return d.matches};
yO=function(a,b,c,d){var e=a.oa.kf(c);const f=e.matches;if(f!==null)for(a=xO(a,b,e,c),c=0;c<f.length;c+=2){var g=f[c];if(g>0)d.push(a[c/2]);else{e=f[c+1];g=b[-g];for(var h=10;h<g.length;h++){var k=g[h];k[16]===k[3]&&yO(k[1],k,e,d)}if(g[9]!==null)for(g=g[9],h=0;h<g.length;h++)k=g[h],yO(k[1],k,e,d)}}return d};zO=function(a,b){return a<b?-1:a>b?1:0};AO=function(a){if(a[0]==="-")var b=!1;else b=a.length,b=b<20?!0:b===20&&a<="18446744073709551615";if(b)return a;_.Ib(a);return _.Cb(_.xb,_.yb)};
BO=function(a){a=(0,_.ec)(a);a>=0&&(0,_.fc)(a)||(_.Bb(a),a=_.Db(_.xb,_.yb));return a};CO=function(a){a=(0,_.ec)(a);a>=0&&(0,_.fc)(a)?a=String(a):(_.Bb(a),a=_.Cb(_.xb,_.yb));return a};DO=function(a){return(0,_.fc)(a)?_.vb(BO(a)):_.vb(CO(a))};EO=function(a){var b=(0,_.ec)(Number(a));if((0,_.fc)(b)&&b>=0)return String(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return AO(a)};
FO=function(a){var b=(0,_.ec)(Number(a));if((0,_.fc)(b)&&b>=0)return _.vb(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return _.Xa()?_.vb((0,_.Lt)(64,BigInt(a))):_.vb(AO(a))};
GO=function(a){var b=void 0;b!=null||(b=_.Wb?1024:0);if(!_.Rb(a))throw _.Ua("uint64");const c=typeof a;switch(b){case 512:switch(c){case "string":return EO(a);case "bigint":return String((0,_.Lt)(64,a));default:return CO(a)}case 1024:switch(c){case "string":return FO(a);case "bigint":return _.vb((0,_.Lt)(64,a));default:return DO(a)}case 0:switch(c){case "string":return EO(a);case "bigint":return _.vb((0,_.Lt)(64,a));default:return BO(a)}default:return _.Jb(b,"Unknown format requested type for int64")}};
HO=function(a){const b=typeof a;if(a==null)return a;if(b==="bigint")return _.vb((0,_.Lt)(64,a));if(_.Rb(a))return b==="string"?FO(a):DO(a)};IO=function(a){if(typeof a!=="string")throw Error();return a};JO=function(a,b,c){if(b)return _.Nb(a);let d;return(d=_.Ob(a))!=null?d:c?!1:void 0};KO=function(a,b,c){if(b)return IO(a);let d;return(d=_.mc(a))!=null?d:c?"":void 0};NO=function(){return LO||(LO=new _.Rc(_.bb([]),void 0,void 0,void 0,MO))};
OO=function(a,b,c,d){let e;var f=a.fa,g=f[_.A]|0;e=_.fb(a,g);a:{!e&&_.jd(a)&&(f=a.fa,g=f[_.A]|0);var h=_.qd(f,b,void 0);a=!1;if(h==null){if(e){b=NO();break a}h=[]}else if(h.constructor===_.Rc)if(h.Ec&2&&!e)h=h.Gh();else{b=h;break a}else Array.isArray(h)?a=!!((h[_.A]|0)&2):h=[];if(e){if(!h.length){b=NO();break a}a||(a=!0,_.bb(h))}else if(a){a=!1;_.cb(h);h=[...h];for(let k=0;k<h.length;k++){const l=h[k]=[...h[k]];Array.isArray(l[1])&&(l[1]=_.bb(l[1]))}h=_.cb(h)}!a&&g&32&&_.db(h);d=new _.Rc(h,c,KO,d);
g=_.md(f,g,b,d,void 0);a||_.ld(f,g);b=d}!e&&c&&(b.Gk=!0);return b};PO=function(a,b){this.set(b,a)};QO=function(a,b,c,d,e,f){_.kd(a);b=_.uM(a,b,_.mc,2,!0,d);let g;d=(g=_.ab(b===_.rd?7:b[_.A]|0))!=null?g:_.Wb?1024:0;if(f)if(Array.isArray(c))for(e=c.length,f=0;f<e;f++)b.push(IO(c[f],d));else for(const h of c)b.push(IO(h,d));else e&&_.kb(b),b.push(IO(c,d));return a};RO=function(a,b){b==null?(a=a.constructor,a=a[_.pc]||(a[_.pc]=_.qc(a))):a=new a.constructor(_.bb(_.DK(b)));return a};
SO=function(a){return _.ob(b=>b instanceof a&&!_.fb(b))};TO=function(a,b,c,d){const e=_.G.ta;var f=e[1],g=a+27;if(f.hb){var h=f.Jb;c=_.ig(h,c);g=_.Jj(f,g,2,b,c);g.kb=_.Gg(g.kb,g.Gb);if(d!=null)for(h=_.ig(h,d),g.te=[],c=0;c<h.length;c+=2)g.te.push(h[c],-1);g.Gb!==null&&_.Gj(g,g.Gb,!1);g.kb!==null&&_.Gj(g,g.kb,!0);f.oa!==null&&f.oa.je(f,g);f=g}else f=f.data[g];_.zj(f,e,a,b);d!=null&&_.sj(e,f);return TO};UO=function(){const a=_.Aj();_.Ij===a&&(_.Ij=null);_.G.ie--;return UO};VO=function(){return this.A[Symbol.iterator]()};
WO=function(a){return a.split(",").map(b=>b.trim())};cP=function(a,b,c){const d=_.G.mb;d.hb&&(a=new XO(a,b,c),d.oa===null&&(d.oa=new YO),d.oa.track(new ZO(a)),(b&2)===2&&(d.Tj=!0));a=_.G.ta;b=new $O((b&4)===4);c=b.destroy;let e;var f=(e=a[7])!=null?e:a[7]=[];f.push(b);if(d.hb){let h;((h=d.Ra)!=null?h:d.Ra=[]).push(c,f.length-1)}let g;((g=a[18])!=null?g:a[18]=new aP).oa.push(new bP(b));return cP};
dP=function(a){if(a instanceof _.um)return a;for(let b=0;b<_.nx.length;++b){const c=_.nx[b];if(c instanceof _.sm&&c.Dd(a))return new _.um(a)}};eP=function(a,b,c){b=_.xm(b);b!==void 0&&a.open(b,c,void 0)};
gP=function(a,b){const c=a.search(fP);a:{var d=0;for(var e=b.length;(d=a.indexOf(b,d))>=0&&d<c;){var f=a.charCodeAt(d-1);if(f==38||f==63)if(f=a.charCodeAt(d+e),!f||f==61||f==38||f==35)break a;d+=e+1}d=-1}if(d<0)return null;e=a.indexOf("&",d);if(e<0||e>c)e=c;d+=b.length+1;return _.Gm(a.slice(d,e!==-1?e:0))};hP=function(a,...b){if(b.length===0)return _.pm(a[0]);let c=a[0];for(let d=0;d<b.length;d++)c+=encodeURIComponent(b[d])+a[d+1];return _.pm(c)};
iP=function(a,b,c,d){b!==-1&&(a+=` (HTTP Status: ${b})`);c&&(a+=` (XHR Error Code: ${c}) (XHR Error Message: '${d}')`);return a};jP=function(a){return`${_.sn(_.me("eptZe"),"")}${"data"}${a}`};
mP=function(a,b,c,d,e,f){b=_.LN(new _.MN,b.serialize());const g=new _.dO;e=_.xN(a,jP(e),b,[_.ON],{Mc:h=>{if(kP(h))lP(g,"error",h);else if(_.mc(_.ss(h,2,_.mb))!=null){var k;h=JSON.parse((k=_.R(h,2,void 0,_.mb))!=null?k:"[]");k=RO(f,h);lP(g,"data",k)}else h.B()&&(k=new _.GM(h.getError()),lP(g,"error",k))}});g.G=e;e.A.xc(d);d=e.A.G;_.em(c)||_.eN(d,Object.entries(c));_.$M(e.A,"FAIL");_.iN(_.ty(_.wN(a,e),()=>{lP(g,"end")}),h=>{lP(g,"error",h)});return g};
oP=function(a){if(!a||!a.Qb)return a;const b=nP[a.Qb];return b?b.ho?(a=a.clone(),b.oo(a),a):a:a};rP=function(a,b){b=oP(b);if(!b)return`rpcid:${pP(a)}:`;const c=[];b=_.Uc(b,_.sc);qP(b,c);return`rpcid:${pP(a)}:${c.join("")}`};sP=function(a,b){if(Array.isArray(a))qP(a,b);else{if(_.Us(a))throw Error("Sb`"+a);switch(typeof a){case "boolean":b.push(`"${a?1:0}"`);case "number":case "bigint":b.push(`"${a}"`);break;default:b.push(JSON.stringify(a))}}};tP=function(a){return!isNaN(a)};
qP=function(a,b){for(let f=0;f<a.length;f++){var c=a[f];if(uP(c))continue;if(c&&typeof c==="object"&&!Array.isArray(c)){var d=b,e=Object.keys(c).filter(tP).map(Number);e.sort(_.EK);for(const g of e){e=c[g];if(uP(e))continue;let h=[];sP(e,h);h.length&&d.push(d.length?",":"{",(g-1).toString(),":",h.join(""))}continue}d=[];sP(c,d);d.length&&b.push(b.length?",":"{",""+f,":",d.join(""))}b.length&&b.push("}")};uP=function(a){return a==null||Array.isArray(a)&&a.length==0};
vP=function(){this.D=new _.KK;this.R=new _.KK;this.A=new _.KK;this.F=new _.KK;this.B=new _.KK;this.G=[];this.K=new _.my};xP=function(){return wP().then(function(a){return new _.Ux(function(b,c){a.load("gapi.iframes",{callback:_.gn(b,a),timeout:1E4,ontimeout:function(){c(Error("Vb`gapi.iframes"))}})})})};
wP=function(){var a=window;return a.gapi?_.LI(a.gapi):yP?yP:yP=new _.Ux(function(b,c){const d=_.Jx(document,"SCRIPT");_.Bm(d,zP);d.onload=function(){b(a.gapi)};d.onerror=function(){c(Error("Wb"))};document.getElementsByTagName("head")[0].appendChild(d)})};BP=function(a){return AP.some(b=>b.test(a))};
DP=function(a,b){var c;var d=(c=a.formContent)==null?void 0:c.locale;c=d==null?void 0:d.split("-")[0];d=d&&CP.includes(d)?d:c&&CP.includes(c)?c:void 0;d=(d!=null?d:"en").replaceAll("-","_").toLowerCase();let e;a=((e=a.initializationData)==null?0:e.useNightlyRelease)?"nightly":"live";let f;return(b==null?0:(f=b.getEnableAlohaBinarySplit)==null?0:f.call(b))?hP`https://www.gstatic.com/uservoice/feedback/client/web/${a}/main_light_binary.js`:hP`https://www.gstatic.com/uservoice/feedback/client/web/${a}/main_binary__${d}.js`};
GP=function(a,b,c,d){if(EP&&FP===b)return EP;FP=b;const e=DP(a,d);return EP=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise((f,g)=>{const h=_.Jx(document,"SCRIPT");_.Bm(h,e);h.onload=()=>{b.feedbackV2GlobalObject?f(b.feedbackV2GlobalObject):g(Error("Xb"))};h.onerror=()=>{g(Error("Yb`"+e.toString()))};c.body.appendChild(h)})};
JP=function(a,b,c,d){if(HP&&IP===b)return HP;IP=b;const e=DP(a,d);return HP=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise((f,g)=>{const h=_.Jx(document,"SCRIPT");_.Bm(h,e);h.onload=()=>{b.feedbackV2GlobalObject?f(b.feedbackV2GlobalObject):g(Error("Xb"))};h.onerror=()=>{g(Error("Yb`"+e.toString()))};c.body.appendChild(h)})};
KP=function(a,b,c,d){return _.H(function*(){var e=Date.now();e=yield(yield GP(a,c,d,b)).initializeFeedbackClientAsync(a,e,b);e.initiateAloha();return e})};LP=function(a,b,c,d){return _.H(function*(){var e=Date.now();e=yield(yield JP(a,c,d.document,b)).initializeFeedbackClientAsync(a,e,b,d);e.initiateAloha();return e})};
NP=function(a,b,c){return _.H(function*(){const d=c||_.v;let e;if(b==null?0:(e=b.getEnableAlohaBinarySplit)==null?0:e.call(b)){if(d.isFormOpened)throw new MP;d.isFormOpened=!0;a.callbacks=a.callbacks||{};const f=a.callbacks.onClose||(()=>{});a.callbacks.onClose=g=>{d.isFormOpened=!1;f(g)};try{return LP(a,b,d,d)}catch(g){throw d.isFormOpened=!1,g;}}else{if(d.isFormOpened)throw new MP;d.isFormOpened=!0;a.callbacks=a.callbacks||{};const f=a.callbacks.onClose||(()=>{});a.callbacks.onClose=g=>{d.isFormOpened=
!1;f(g)};try{return KP(a,b,d,d.document)}catch(g){throw d.isFormOpened=!1,g;}}})};
SP=function(a,b){return _.H(function*(){return new Promise((c,d)=>{Number.isInteger(Number(a))&&Number(a)>0?(d=OP(b!=null?b:"")+"/aloha_form_properties?productId="+a,_.sx(d,e=>{e=e.target;let f=null;try{var g=JSON,h=g.stringify;if(e.A){var k=e.A.responseText;k.indexOf(")]}'\n")==0&&(k=k.substring(5));var l=_.ex(k)}else l=void 0;f=_.fe(PP,h.call(g,l))}catch(m){h=new PP,l=QP(),l=RP(l,13,!1),l=RP(l,14,!0),l=RP(l,15,!0),l=RP(l,20,!1),f=_.L(h,1,l)}c(f)},"GET","",{},2E3,!0)):d(Error("Zb`"+a))})})};
OP=function(a){return BP(a)?a:"https://www.google.com/tools/feedback"};TP=function(a){this.A=void 0;this.Qa={};if(a){const b=_.cK(a);a=_.bK(a);for(let c=0;c<b.length;c++)this.set(b[c],a[c])}};VP=function(a){UP.call(this,a)};$P=function(a,b=!1){this.A=null;a instanceof WP||(XP==void 0&&(XP=new YP),a=XP.parse(a.toString(),b));a=this.A=a;a.K==void 0&&((b=a.getOptions())||(b=""),a.K=(new ZP).parse(b));UP.call(this,a.K);this.I=this.A.H;a=this.A;b=a.F.I;this.H=a.F.D+(b?":"+b:"");this.G=this.A.F.B.toString()};
aQ=function(a){return _.ti(()=>new _.Ch(b=>{const c=a();c.then(d=>{b.next(d);b.complete()},d=>{b.error(d)});return()=>{c.cancel()}}))};bQ=function(a){a.A(new class extends _.pO{A(b){const c=gP(window.location.href,"useDemoData");c&&_.XK(b.A,"useDemoData",c)}})};cQ=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(a){var b=Math.random()*16|0;return(a=="x"?b:b&3|8).toString(16)})};dQ=function(a){a=a.toString();return a.startsWith("/")||a.endsWith("_")?a.slice(1,-1):null};
pQ=function(a){({Po:b=!1}={});var b;eQ(a);const c=new _.my,d=fQ(a);d.ld=()=>{d.ld=null;return c};d.initialize(a);const e=new gQ;[d.D,d.F].forEach(g=>{_.EL(g,e);g.M=10});const f=_.Uo(_.me("cfb2h"));f&&d.A(new hQ(f));b&&(bQ(d),_.JN(new iQ,_.jQ));kQ(_.GI.W(),a);lQ(a).configure(_.Uo(_.me("SNlM0e")),_.Uo(_.me("S06Grb")));d.A(new mQ("e","mods","jsmode","mjsmode","deb","opt","route","hotswaps"));d.A(new nQ);a=window.location.href;gP(a,"hl")||(a=_.Mm(a,"hl","en-US"));d.A(new oQ(a));c.callback()};
rQ=function(a=!1){a=a?_.nO:_.kO;qQ(_.XL(_.eI),a);qQ(_.XL(_.aI),_.$H);qQ(_.XL(_.gI),_.fI);qQ(_.XL(_.kI),_.bO);qQ(_.XL(_.jI),_.NM)};sQ=function(a,b=!1){pQ(a);rQ(b)};vQ=function(a){if(a.A[_.OJ]||a.M[_.OJ])return a.get(_.OJ);var b=_.oJ({pb:a});b=_.vI(b,()=>new tQ);uQ(a,_.OJ,b);return b};wQ=function(a){switch(a){case 1:return 1;case 4:return 4;case 6:return 6;case 2:return 2;case 7:return 7;default:return 0}};xQ=function(a){switch(a){case 1:return 1;default:return 0}};
yQ=function(a){switch(a){case 1:return 1;case 2:return 2;default:return 0}};zQ=function(a){switch(a){case 1:return 1;case 4:return 4;case 6:return 6;case 2:return 2;case 7:return 7;default:return 0}};AQ=function(a){switch(a){case 1:return 1;case 2:return 2;default:return 0}};
PQ=function(a){let b;var c=BQ(CQ(DQ(EQ(FQ(new GQ,a.name),a.title),zQ(a.type)),a.visibility===1?1:2),HQ(a.thumbnailScreenshot));a:switch(a.origin){case 1:var d=1;break a;case 2:d=2;break a;default:d=0}c=IQ(JQ(KQ(LQ(c,8,d),MQ(a.deviceType)),NQ(a.designTheme)),((b=a.screenInstances)!=null?b:[]).map(e=>OQ(e)));a.backgroundTheme&&_.U(c,14,a.backgroundTheme);return c};
$Q=function(a){let b,c,d,e,f,g,h;return{name:a.getName(),title:_.R(a,2),type:wQ(_.gu(a,6)),visibility:_.gu(a,3)===1?1:2,createTime:((b=_.O(a,QQ,4))==null?void 0:RQ(b))||new Date,updateTime:((c=_.O(a,QQ,5))==null?void 0:RQ(c))||new Date,readTime:((d=_.O(a,QQ,15))==null?void 0:RQ(d))||new Date,thumbnailScreenshot:SQ(_.O(a,TQ,7)),origin:AQ(_.gu(a,8)),deviceType:UQ(_.gu(a,9)),designTheme:VQ(_.O(a,WQ,10)),screenInstances:_.$t(a,XQ,12).map(k=>YQ(k)),userRole:yQ((g=(e=_.O(a,ZQ,13))==null?void 0:_.gu(e,1))!=
null?g:0),isRemixed:(h=(f=_.O(a,ZQ,13))==null?void 0:_.Q(f,2))!=null?h:!1,backgroundTheme:_.R(a,14)}};aR=function(a){switch(a.getState()){case 1:return"new";case 2:return"running";case 3:return"done";case 4:return"cancelled";case 5:return"failed";case 6:return"waiting_for_resource";default:return"unspecified"}};
bR=function(a){switch(a){case 1:return"chat_message";case 2:return"edit_theme";case 3:return"generate_variants";case 7:return"generate_prototype";case 13:return"edit_prototype";case 12:return"generate_slides";case 4:return"interactive_prototype";case 5:return"regenerate_design";case 6:return"annotate";case 8:return"image_only";case 9:return"predictive_heatmap";case 10:return"generate_prd";case 11:return"image_to_code";case 14:return"critique_design";case 15:return"apply_design_system";case 16:return"app_store_screens";
case 17:return"marketing_kit";case 20:return"accessibility_audit";case 21:return"missing_states";case 22:return"dev_handoff";case 23:return"web_assets";case 18:return"generate_prototype_v2";case 19:return"edit_prototype_v2";default:return"unspecified"}};cR=function(a){switch(a){case 1:return"turbo_agent";case 2:return"pro_agent";case 3:return"image_agent";case 5:return"image_pro_agent";case 4:return"genie_agent";case 6:return"hatter_agent";case 7:return"gemini_3_agent";default:return"unspecified"}};
dR=function(a){switch(a){case 1:return 1;case 2:return 2;case 3:return 3;case 4:return 4;case 5:return 5;case 6:return 6;case 7:return 7;default:return 0}};eR=function(a){a:switch(_.gu(a,1)){case 1:var b=1;break a;case 2:b=2;break a;default:b=0}return{rating:b,comment:_.R(a,2),designFeedbackReason:dR(_.gu(a,3))}};
SQ=function(a){return a?_.ns(a,fR,4)?{name:a.getName(),downloadUrl:_.hu(a,3,gR)||_.hu(a,2,gR),userFeedback:eR(_.O(a,fR,4))}:{name:a.getName(),downloadUrl:_.hu(a,3,gR)||_.hu(a,2,gR),mimeType:_.R(a,6)}:{name:"",downloadUrl:""}};hR=function(a){switch(a){case 0:return"unspecified";case 1:return"design";case 2:return"image";case 3:return"prototype";case 5:return"prototype_v2";case 4:return"document";default:return"unspecified"}};
iR=function(a){switch(a){case 1:return"image";case 2:return"text";case 3:return"button";case 4:return"input";case 5:return"container";default:return"component_type_unspecified"}};kR=function(a){var b=iR(a.getType());var c=_.O(a,jR,2);c={x:_.du(c,1),y:_.du(c,2),width:_.du(c,3),height:_.du(c,4)};return{type:b,boundingBox:c,xpath:_.R(a,3),description:_.R(a,4)}};lR=function(a){switch(a){case 1:return"in_progress";case 2:return"complete";case 3:return"failed";default:return"screen_status_unspecified"}};
mR=function(a){switch(a){case 1:return"screenshot";case 2:return"html";case 3:return"code";case 4:return"markdown";case 5:return"sticky_note";default:return"screenshot"}};nR=function(a){switch(a){case "screenshot":return 1;case "html":return 2;case "code":return 3;case "markdown":return 4;case "sticky_note":return 5;default:return 0}};oR=function(a){switch(a){case 2:return"push";case 3:return"push_back";case 4:return"slide_up";case 1:return"none";default:return"none"}};
pR=function(a){return{xpath:_.R(a,1),targetScreenId:_.R(a,2),transition:oR(_.gu(a,3)),state:a.getState()||"default"}};qR=function(a){return{name:a.getName()||"default"}};vR=function(a){const b={};OO(a,3,rR).forEach((d,e)=>{d=_.$t(d,sR,1);b[e]=d.map(pR)});const c=_.$t(a,tR,4).map(qR);return{initScreenId:_.R(a,1),screenIds:[...uR(a,2)],states:c.length>0?c:[{name:"default"}],links:b}};xR=function(a){var b=new wR;b=_.U(b,1,a.displayName);b=_.U(b,2,a.designTokens);return _.U(b,3,a.styleGuidelines).setTheme(NQ(a.theme))};
zR=function(a){const b=_.iu(a,wR,3,yR);return{name:a.getName(),designSystem:b?{displayName:_.R(b,1),designTokens:_.R(b,2),styleGuidelines:_.R(b,3),theme:VQ(_.O(b,WQ,4))}:void 0,version:Number(_.eu(a,4))}};
ER=function(a){var b=_.O(a,AR,16);const c=_.O(a,BR,19),d=_.O(a,WQ,12);var e=a.getId(),f=_.R(a,17),g=_.R(a,18),h=SQ(_.O(a,TQ,1)),k=SQ(_.O(a,TQ,2)),l=SQ(_.O(a,TQ,4)),m=_.R(a,6),n=_.R(a,7),r=_.R(a,8),p=_.R(a,9),q=a.getPrompt(),u=hR(_.gu(a,14));a=UQ(_.gu(a,13));if(b){const y=_.O(b,CR,7);b={componentRegions:_.$t(b,DR,1).map(kR),statusMessage:_.R(b,3),status:lR(_.gu(b,5)),displayMode:mR(_.gu(b,6)),prototypeSpec:y&&typeof y!=="string"?vR(y):void 0}}else b=void 0;return{id:e,groupId:f,groupName:g,screenshot:h,
htmlCode:k,figmaExport:l,generatedBy:m,width:n,height:r,title:p,prompt:q,screenType:u,deviceType:a,screenMetadata:b,designSystem:c?zR(c):void 0,theme:d?VQ(d):void 0}};HR=function(a){const b=_.iu(a,FR,1,GR);a=a.getError();return b?{screen:ER(b)}:a?{error:{code:a.D(),message:a.getMessage()}}:{}};UQ=function(a){switch(a){case 2:return"desktop";case 1:return"mobile";case 3:return"tablet";case 4:return"agnostic";default:return"unspecified"}};
IR=function(a){switch(a){case 1:return"Be Vietnam Pro";case 2:return"Epilogue";case 3:return"Inter";case 4:return"Lexend";case 5:return"Manrope";case 6:return"Newsreader";case 7:return"Noto Serif";case 8:return"Plus Jakarta Sans";case 9:return"Public Sans";case 10:return"Space Grotesk";case 11:return"Spline Sans";case 12:return"Work Sans";case 13:return"Domine";case 14:return"Libre Caslon Text";case 15:return"EB Garamond";case 16:return"Literata";case 17:return"Source Serif 4";case 18:return"Montserrat";
case 19:return"Metropolis";case 20:return"Source Sans 3";case 21:return"Nunito Sans";case 22:return"Arimo";case 23:return"Hanken Grotesk";case 24:return"Rubik";case 25:return"Geist";case 26:return"DM Sans";case 27:return"IBM Plex Sans";case 28:return"Sora";default:return"Unspecified"}};JR=function(a){switch(a){case 2:return 1;case 3:return 2;case 4:return 3;case 5:return 4;default:return 0}};
KR=function(a){switch(a){case 1:return"monochrome";case 2:return"neutral";case 3:return"tonal_spot";case 4:return"vibrant";case 5:return"expressive";case 6:return"fidelity";case 7:return"content";case 8:return"rainbow";case 9:return"fruit_salad";default:return"unspecified"}};
VQ=function(a){if(a){a:switch(_.gu(a,1)){case 1:var b="light";break a;case 2:b="dark";break a;default:b="unspecified"}var c=IR(_.gu(a,2)),d=IR(_.gu(a,10)),e=IR(_.gu(a,11)),f=IR(_.gu(a,12)),g=JR(_.gu(a,3)),h=_.R(a,4),k=_.R(a,5),l=_.du(a,6);a={colorMode:b,font:c,headlineFont:d,bodyFont:e,labelFont:f,roundness:g,preset:h,customColor:k,saturation:l<=0?0:l===1?1:l===2?2:l===3?3:4,colorVariant:KR(_.gu(a,15)),overridePrimaryColor:_.R(a,16)||void 0,overrideSecondaryColor:_.R(a,17)||void 0,overrideTertiaryColor:_.R(a,
18)||void 0,overrideNeutralColor:_.R(a,19)||void 0,description:_.R(a,9),namedColors:Object.fromEntries(OO(a,13,void 0,KO)),designMd:_.R(a,14)}}else a=LR;return a};MR=function(a){return a?{screens:_.$t(a,FR,1).map(b=>ER(b)),theme:VQ(_.O(a,WQ,2)),deviceType:UQ(_.gu(a,3)),title:_.R(a,4)}:{screens:[],theme:LR,deviceType:"unspecified",title:""}};NR=function(a){switch(a){case 1:return"SCREEN_INSTANCE";case 2:return"DESIGN_SYSTEM_INSTANCE";case 3:return"GROUP_INSTANCE";default:return"UNSPECIFIED"}};
OR=function(a){switch(a){case "SCREEN_INSTANCE":return 1;case "DESIGN_SYSTEM_INSTANCE":return 2;case "GROUP_INSTANCE":return 3;default:return 0}};YQ=function(a){return{id:a.getId(),type:NR(a.getType()),sourceScreen:_.hu(a,2,PR),sourceAsset:_.hu(a,13,PR)||void 0,x:_.du(a,3),y:_.du(a,4),width:_.du(a,5),height:_.du(a,6),label:_.R(a,7),hidden:_.Q(a,9),groupId:_.R(a,10),groupName:_.R(a,11),isFavourite:_.Q(a,12)}};
OQ=function(a){var b=new XQ;b=_.U(b,1,a.id);b=_.gN(b,3,a.x);b=_.gN(b,4,a.y);b=_.gN(b,5,a.width);b=_.gN(b,6,a.height);b=_.U(b,7,a.label);b=RP(b,9,a.hidden||!1);b=_.U(b,10,a.groupId);b=_.U(b,11,a.groupName);b=RP(b,12,a.isFavourite||!1);b=LQ(b,14,OR(a.type));a.sourceAsset?_.Ut(b,13,PR,_.lc(a.sourceAsset)):_.Ut(b,2,PR,_.lc(a.sourceScreen));return b};
SR=function(a){switch(_.Wt(a,QR)){case 1:return{component:{design:MR(_.iu(a,RR,1,QR))}};case 2:return{component:{text:_.hu(a,2,QR)}};case 3:return{component:{suggestion:_.hu(a,3,QR)}};default:return{component:{text:""}}}};
TR=function(a){switch(a){case "chat_message":return 1;case "edit_theme":return 2;case "generate_variants":return 3;case "generate_prototype":return 7;case "edit_prototype":return 13;case "generate_slides":return 12;case "interactive_prototype":return 4;case "regenerate_design":return 5;case "annotate":return 6;case "image_only":return 8;case "predictive_heatmap":return 9;case "generate_prd":return 10;case "image_to_code":return 11;case "critique_design":return 14;case "apply_design_system":return 15;
case "app_store_screens":return 16;case "marketing_kit":return 17;case "accessibility_audit":return 20;case "missing_states":return 21;case "dev_handoff":return 22;case "web_assets":return 23;case "generate_prototype_v2":return 18;case "edit_prototype_v2":return 19;default:return 0}};
UR=function(a){switch(a){case "turbo_agent":return 1;case "pro_agent":return 2;case "image_agent":return 3;case "genie_agent":return 4;case "image_pro_agent":return 5;case "hatter_agent":return 6;case "gemini_3_agent":return 7;default:return 0}};
VR=function(a){switch(a){case "Be Vietnam Pro":return 1;case "Epilogue":return 2;case "Inter":return 3;case "Lexend":return 4;case "Manrope":return 5;case "Newsreader":return 6;case "Noto Serif":return 7;case "Plus Jakarta Sans":return 8;case "Public Sans":return 9;case "Space Grotesk":return 10;case "Spline Sans":return 11;case "Work Sans":return 12;case "Domine":return 13;case "Libre Caslon Text":return 14;case "EB Garamond":return 15;case "Literata":return 16;case "Source Serif 4":return 17;case "Montserrat":return 18;
case "Metropolis":return 19;case "Source Sans 3":return 20;case "Nunito Sans":return 21;case "Arimo":return 22;case "Hanken Grotesk":return 23;case "Rubik":return 24;case "Geist":return 25;case "DM Sans":return 26;case "IBM Plex Sans":return 27;case "Sora":return 28;default:return 0}};WR=function(a){switch(a){case 1:return 2;case 2:return 3;case 3:return 4;case 4:return 5;default:return 0}};
YR=function(a){switch(a){case "monochrome":return 1;case "neutral":return 2;case "tonal_spot":return 3;case "vibrant":return 4;case "expressive":return 5;case "fidelity":return 6;case "content":return 7;case "rainbow":return 8;case "fruit_salad":return 9;default:return 0}};
NQ=function(a){var b=new WQ;a:switch(a.colorMode){case "light":var c=1;break a;case "dark":c=2;break a;default:c=0}b=LQ(b,1,c);b=LQ(b,3,WR(a.roundness));b=_.U(b,4,a.preset);b=_.U(b,5,a.customColor);b=_.gN(b,6,a.saturation);b=LQ(b,15,YR(a.colorVariant));b=_.U(b,9,a.description);c=new Map(Object.entries(a.namedColors));ZR(b,13);c&&(_.kd(b),c.forEach(PO,OO(b,13,void 0,KO)));b=_.U(b,14,a.designMd);a.font&&LQ(b,2,VR(a.font));a.headlineFont&&LQ(b,10,VR(a.headlineFont));a.bodyFont&&LQ(b,11,VR(a.bodyFont));
a.labelFont&&LQ(b,12,VR(a.labelFont));a.overridePrimaryColor&&_.U(b,16,a.overridePrimaryColor);a.overrideSecondaryColor&&_.U(b,17,a.overrideSecondaryColor);a.overrideTertiaryColor&&_.U(b,18,a.overrideTertiaryColor);a.overrideNeutralColor&&_.U(b,19,a.overrideNeutralColor);return b};MQ=function(a){switch(a){case "desktop":return 2;case "mobile":return 1;case "tablet":return 3;case "agnostic":return 4;default:return 0}};
$R=function(a){switch(a){case 1:return 1;case 2:return 2;case 3:return 3;case 4:return 4;case 5:return 5;case 6:return 6;case 7:return 7;default:return 0}};HQ=function(a){return aS(bS(new TQ,a.name),a.downloadUrl)};dS=function(a,b=""){var c=new FR;a=cS(new TQ,a);c=_.L(c,1,a);b=_.U(c,9,b);return LQ(b,14,2)};eS=function(a,b="",c="",d){var e=new FR;a=cS(new TQ,a);c=_.U(a,6,c);e=_.L(e,2,c);b=_.U(e,9,b);b=LQ(b,14,4);d&&(e=new AR,d=LQ(e,6,nR(d)),_.L(b,16,d));return b};
kS=function(a){let b,c,d,e,f,g,h,k;return{name:a.getName(),type:bR(a.getType()),state:aR(a),userFeedback:_.ns(a,fR,8)?eR(_.O(a,fR,8)):void 0,createdAt:((b=_.O(a,QQ,6))==null?void 0:RQ(b))||new Date,modifiedAt:new Date,sessionInput:{prompt:fS(a).getPrompt(),agentType:cR(gS(fS(a))),designTheme:VQ(hS(fS(a))),designSystem:((c=fS(a))==null?void 0:_.R(c,12))||void 0,deviceType:UQ(iS(fS(a))),files:((d=fS(a))==null?void 0:_.$t(d,TQ,4).map(l=>SQ(l)))||[],urls:[...((h=(e=fS(a))==null?void 0:uR(e,11))!=null?
h:[])],selectedScreenInstances:((f=fS(a))==null?void 0:_.$t(f,XQ,6).map(l=>YQ(l)))||[],variantCount:((g=fS(a))==null?void 0:_.du(g,8))||1},outputComponents:_.$t(a,jS,5).map(l=>SR(l)),traceIds:[...uR(a,9)],genieState:xQ((k=_.gu(a,10))!=null?k:0),userPromptSummary:_.R(a,11)||void 0}};lS=function(a){switch(a){case 2:return 2;case 3:return 3;case 4:return 4;case 5:return 5;default:return 0}};
mS=function(a){const b={trainingDataOptOut:_.Q(a,2),galileoProjectImportState:lS(_.gu(a,1)),dailyCreditUsed:_.du(a,9),dailyCreditAllocated:_.du(a,10),dailyImageProScreenUsed:_.du(a,11),dailyImageProScreenAllocated:_.du(a,12),numExperimentalScreensGeneratedCurrentMonth:_.du(a,3),numStandardScreensGeneratedCurrentMonth:_.du(a,4),numImageScreensGeneratedCurrentMonth:_.du(a,7),experimentalScreensMonthlyQuota:_.du(a,5),standardScreensMonthlyQuota:_.du(a,6),imageScreensMonthlyQuota:_.du(a,8)};var c=_.gu(a,
17);c!==0&&(b.marketingEmailOptIn=c===1);c=_.gu(a,18);c!==0&&(b.uxrContactOptIn=c===1);a=_.gu(a,19);a!==0&&(b.stitchInformativeOptIn=a===1);return b};nS=function(a){switch(a){case 1:return 1;case 2:return 2;case 3:return 3;case 4:return 4;case 5:return 5;case 6:return 6;case 7:return 7;default:return 0}};
pS=function(a){var b;let c;var d=a.getName(),e=_.R(a,2),f=_.R(a,3),g=((b=_.O(a,QQ,4))==null?void 0:RQ(b))||new Date;b=(c=_.O(a,QQ,6))==null?void 0:RQ(c);if(_.ns(a,oS,5)){a=_.O(a,oS,5);let h;a={name:a.getName(),projectId:_.R(a,2),displayName:_.R(a,3),createTime:((h=_.O(a,QQ,4))==null?void 0:RQ(h))||new Date}}else a=void 0;return{name:d,displayName:e,keyString:f,createTime:g,lastUsedTime:b,cloudProject:a}};
qS=function(a){const b=new Set;return JSON.stringify(a,function(c,d){if(typeof d==="object"&&d!==null){if(b.has(d))return"Maybe Circular";b.add(d)}if(d instanceof Error){const e={};for(const f of Object.getOwnPropertyNames(d))e[f]=d[f];return e}return d})};rS=function(a){var b=qS(a);b=Error(b);typeof a==="object"&&a!==null&&("stack"in a&&typeof a.stack==="string"&&(b.stack=a.stack),"cause"in a&&(b.cause=a.cause));return b};sS=function(a){return typeof a==="object"&&a!==null&&"message"in a};
CS=function(a){const b=_.O(a,tS,2);if(b&&_.St(b,uS,1,vS))return Object.assign({},wS(_.Zt(b,uS,_.Rt(b,vS,1))),{id:_.R(a,1),branches:_.$t(b,xS,2).map(c=>({name:c.getName()})),defaultBranch:_.ns(b,xS,3)?{name:_.O(b,xS,3).getName()}:void 0,settings:yS(_.O(a,zS,6)),metadata:AS(_.O(a,BS,7))})};
wS=function(a){let b;return{type:"github",displayName:`${_.R(a,3)}/${_.R(a,2)}`,repoOwner:_.R(a,3),repoName:_.R(a,2),isPrivate:_.Q(a,1),accessStatus:(b=DS.get(_.gu(a,6)))!=null?b:0,environmentSetupScript:_.mc(_.ss(a,4))!=null?_.R(a,4):void 0,exportedSnapshotId:_.mc(_.ss(a,8))!=null?_.R(a,8):void 0,testCommand:_.mc(_.ss(a,5))!=null?_.R(a,5):void 0,staticId:_.R(a,9)}};
yS=function(a){if(!a)return{Gl:!0,Qk:!0,km:ES(),Jl:_.hN(_.hN(FS()))};let b,c,d,e;return{Gl:_.Q(a,1,!0),Qk:_.Q(a,2,!0),km:(d=(b=_.O(a,GS,3))==null?void 0:_.id(b))!=null?d:ES(),Jl:(e=(c=_.O(a,HS,4))==null?void 0:_.id(c))!=null?e:_.hN(_.hN(FS()))}};AS=function(a){return a?{wl:_.R(a,1)}:{}};IS=function(){let a=Date.now();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,b=>{let c=(a+Math.floor(Math.random()*16))%16;a=Math.floor(a/16+2E-15);b==="y"&&(c=c&7|8);return c.toString(16)})};JS=function(...a){window.dataLayer.push(arguments)};
_.KS=function(a,b,c){return _.wd(a,b,c==null?c:_.cc(c),"0")};LS=function(a){var b=1;a=a.split(":");const c=[];for(;b>0&&a.length;)c.push(a.shift()),b--;a.length&&c.push(a.join(":"));return c};MS=function(a){const b={};a=(a.A&&_.xx(a)>=2?a.A.getAllResponseHeaders()||"":"").split("\r\n");for(let d=0;d<a.length;d++){if(/^[\s\xa0]*$/.test(a[d]))continue;var c=LS(a[d]);const e=c[0];c=c[1];if(typeof c!=="string")continue;c=c.trim();const f=b[e]||[];b[e]=f;f.push(c)}return _.kJ(b,function(d){return d.join(", ")})};
NS=function(a,b){b instanceof _.my?_.ty(a,(0,_.P)(b.D,b)):_.ty(a,function(){return b})};OS=function(a,b,c=!1){if(c){if(!a.A)throw Error("ma`"+a.D);b.map(d=>d.A).forEach(d=>{_.Cn(e=>{e.Fe(a.A,d)})})}a.B=a.B.filter(d=>b.indexOf(d)===-1)};PS=function(a,b){if((new Set([...a.F,...a.G])).has(b.toString()))return!0;a=new Set([...a.H,...a.I]);for(const c of a)if(PS(_.XL(c),b))return!0;return!1};qQ=function(a,b){a.D!==b&&(_.WL(a.A)&&_.WL(b),PS(a,b),a.B&&OS(a.A,[a.B],_.NH),_.Jz(a.A,[b],_.NH),a.D=b)};
kQ=function(a,b){a.pb=b};QS=function(a,b){return _.JJ(a.B,b,a.A).then(c=>c.A())};RS=function(a,b){return _.JJ(a.D,b,a.A).then(c=>c.A())};SS=function(a,b){return a instanceof _.VJ?a.clone():new _.VJ(a,b)};lP=function(a,b,c){if(b=="data")for(b=0;b<a.B.length;b++)a.B[b](c);else if(b=="status")for(b=0;b<a.F.length;b++)a.F[b](c);else if(b=="end")for(c=0;c<a.D.length;c++)a.D[c]();else if(b=="error")for(b=0;b<a.A.length;b++)a.A[b](c)};
US=function(a,b){var c=TS;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};TS={};
VS=function(a){return US(a,function(){let b=0;const c=String(_.At).trim().split("."),d=String(a).trim().split("."),e=Math.max(c.length,d.length);for(let h=0;b==0&&h<e;h++){var f=c[h]||"",g=d[h]||"";do{f=/(\d*)(\D*)(.*)/.exec(f)||["","","",""];g=/(\d*)(\D*)(.*)/.exec(g)||["","","",""];if(f[0].length==0&&g[0].length==0)break;b=zO(f[1].length==0?0:parseInt(f[1],10),g[1].length==0?0:parseInt(g[1],10))||zO(f[2].length==0,g[2].length==0)||zO(f[2],g[2]);f=f[3];g=g[3]}while(b==0)}return b>=0})};MO={};
ZR=function(a,b){_.kd(a);a=a.fa;let c=a[_.A]|0;const d=_.qd(a,b);d instanceof _.Rc&&!(d instanceof _.Rc&&d.Ec&2)?d.clear():d!=null&&_.md(a,c,b)};WS=function(a,b,c){const d=a.fa;return _.Cd(a,d,d[_.A]|0,b,c,1)};XS=function(a,b,c,d){d=_.Dd(d);_.Ut(a,b,c,d);d&&!_.fb(d)&&_.ld(a.fa);return a};
YS=function(a,b,c,d){_.kd(a);const e=a.fa;b=_.Cd(a,e,e[_.A]|0,c,b,2,void 0,!0);let f=c=0;if(Array.isArray(d)){var g=d.length;for(let k=0;k<g;k++){var h=d[k];b.push(h);(h=_.fb(h))&&!c++&&(b[_.A]&=-9);h||f++||_.$a(b,4096)}}else for(g of d)d=g,b.push(d),(d=_.fb(d))&&!c++&&(b[_.A]&=-9),d||f++||_.$a(b,4096);f&&_.ld(e);return a};ZS=function(a,b){return _.Wb?_.ss(a,b,void 0,_.AK,HO):HO(_.ss(a,b,void 0,_.AK))};uR=function(a,b){return _.uM(a,b,_.mc,void 0===_.Ft?2:4)};
V=function(a,b){return _.Ob(_.ss(a,b,void 0,_.AK))};$S=function(a,b){return _.cu(a,b,void 0,_.AK)};aT=function(a,b){return _.ss(a,b,void 0,_.AK,_.Kb)};RP=function(a,b,c){return _.wd(a,b,c==null?c:_.Nb(c),!1)};LQ=function(a,b,c){return _.wd(a,b,c==null?c:_.Sb(c),0)};
$O=class{get changes(){let a;return(a=this.B)!=null?a:this.B=new _.Jv}constructor(a=!1){this.F=a;this.wa=!0;this.G=void 0;this.A=[];this.D=!1;this.B=void 0;this.length=0;this.last=this.first=void 0;this[_.pw]=VO}get(a){return this.A[a]}map(a){return this.A.map(a)}filter(a){return this.A.filter(a)}find(a){return this.A.find(a)}reduce(a,b){return this.A.reduce(a,b)}forEach(a){this.A.forEach(a)}some(a){return this.A.some(a)}toString(){return this.A.toString()}reset(a,b){this.wa=!1;a=a.flat(Number.POSITIVE_INFINITY);
a:{var c=this.A;if(c.length!==a.length)b=!1;else{for(let d=0;d<c.length;d++){let e=c[d],f=a[d];b&&(e=b(e),f=b(f));if(f!==e){b=!1;break a}}b=!0}}if(this.D=!b)this.A=a,this.length=a.length,this.last=a[this.length-1],this.first=a[0]}Bh(){this.wa=!0;let a;(a=this.G)==null||a.call(this)}destroy(){this.B!==void 0&&(this.B.complete(),this.B.unsubscribe())}};bP=class{constructor(a){this.mh=a;this.matches=null}clone(){return new bP(this.mh)}Bh(){this.mh.Bh()}};
bT=function(a,b){for(let c=0;c<a.oa.length;c++)b.oa.kf(c).matches!==null&&a.oa[c].Bh()};aP=class{constructor(){this.oa=[]}fl(a){bT(this,a)}ge(a){bT(this,a)}Sk(a){bT(this,a)}};XO=class{constructor(a,b,c=null){this.flags=b;this.read=c;typeof a==="string"?this.tj=WO(a):this.tj=a}};YO=class{constructor(){this.oa=[]}je(a,b){for(let c=0;c<this.oa.length;c++)this.oa[c].je(a,b)}gf(a){for(let b=0;b<this.oa.length;b++)this.oa[b].gf(a)}La(a,b){for(let c=0;c<this.oa.length;c++)this.oa[c].La(a,b)}kf(a){return this.oa[a]}get length(){return this.oa.length}track(a){this.oa.push(a)}};
cT=function(a,b,c){a.matches===null?a.matches=[b,c]:a.matches.push(b,c)};dT=function(a,b,c,d){if(d!==null){const e=a.metadata.read;e!==null?e===_.mh||e===_.nw||e===_.ml&&c.type&4?cT(a,c.index,-2):(b=_.Wg(c,b,e,!1,!1),b!==null&&cT(a,c.index,b)):cT(a,c.index,d)}};
ZO=class{constructor(a){this.metadata=a;this.matches=null;this.Kk=!1;this.A=!0;this.B=-1}je(a,b){if(this.A&&(this.metadata.flags&1)!==1){var c=this.B;for(var d=b.parent;d!==null&&d.type&8&&d.index!==c;)d=d.parent;c=c===(d!==null?d.index:-1)}else c=this.A;if(c)if(c=this.metadata.tj,Array.isArray(c))for(d=0;d<c.length;d++){const f=c[d];a:{var e=b.te;if(e!==null)for(let g=0;g<e.length;g+=2)if(e[g]===f){e=e[g+1];break a}e=null}dT(this,a,b,e);dT(this,a,b,_.Wg(b,a,f,!1,!1))}else c===_.ml?b.type&4&&dT(this,
a,b,-1):dT(this,a,b,_.Wg(b,a,c,!1,!1))}gf(a){this.B===a.index&&(this.A=!1)}La(a,b){this.je(a,b)}};RQ=function(a){var b=Number;var c=_.Wb?_.jc(_.ss(a,1,void 0,void 0,_.kc)):_.jc(_.ss(a,1),!0);b=b(c!=null?c:"0");a=_.du(a,2);return new Date(b*1E3+a/1E6)};QQ=class extends _.S{constructor(a){super(a)}};fP=/#|$/;eT={value:1,Ij:!0};_.jQ={value:2,Ij:!1};fT=class extends _.fa{constructor(a){super();this.message="AppContext is disposed, cannot get "+a.join(", ")+"."}};
tQ=class{constructor(){this.A=_.AI(_.KJ);this.B=_.LI()}fetch(a){return this.B.then(()=>QS(this.A,a))}ua(a){return this.B.then(()=>RS(this.A,a))}};eQ=function(a){const b=new _.yK(a);uQ(a,_.sK,b)};kP=SO(_.iL);
gT=function(a,b){var c=a.H;if(c==b.length)return 3;var d=b.indexOf("\n",c);if(d==-1)return 1;if(c==d)return a.ea=0,a.M=null,2;const e=b.substring(c,d),f=Number(e);if(isNaN(f))return a.ea=1,a.M="length: "+e.length+", "+e.substring(0,7)+", ssi:"+c+", sei:"+d+", rtl:"+b.length+", "+b.substring(0,Math.min(15,c)),2;if(d+f>b.length)return 1;c=b.substr(d,f);let g;try{g=window.JSON.parse(c)}catch(h){return a.ea=2,a.M=null,2}a.H=d+f;if(Array.isArray(g))for(d=0;d<g.length;d++)a.B.Xk(a.D,g[d]);return a.H==b.length?
3:0};
gQ=class extends _.rL{constructor(){super("c");this.da=!1;_.Sw(this.A,"readystatechange",this.Ja,!1,this);this.S=-1;this.M=null;this.Y=!0}clone(){const a=new gQ;var b=this.aa;a.G=this.G;a.aa=b;this.da&&(a.da=!0);return a}na(){_.v.clearTimeout(this.S);_.Zw(this.A,"readystatechange",this.Ja,!1,this);super.na()}ka(a){if(a.Qj)return 0;const b=a.F;return b&&_.NK(b)||_.wt&&!VS("420+")||_.vt&&!VS("1.9")?0:a.U||!a.wf?.9:.5}Ja(){_.wt||_.vt||_.tt||_.v.clearTimeout(this.S);_.xx(this.A)==3&&this.X(!1)}Lb(){_.v.clearTimeout(this.S);this.X(!0)}I(a){this.X(!0,
this.da&&_.zx(a)>=500,_.zx(a),a.H,typeof a.I==="string"?a.I:String(a.I));super.I(a)}X(a,b,c=-1,d=0,e=""){if(!this.qa||a){var f=_.VK(this.A);if(this.H==0){var g=f.indexOf("\n\n");if(g==-1){a&&(a=iP("Incomplete XSS header at end of request",c,d,e),b||(c===0&&d===6?_.nL(this,7,iP("Unknown HTTP error in underlying XHR",c,d,e)):_.nL(this,103,a)),this.Y=!0);return}this.H=g+2}do g=gT(this,f);while(g==0);a&&(this.Y=!0);switch(g){case 2:a?b||this.abort(10):this.qa=!0;break;case 3:a&&(this.B.Ae(this.D,MS(this.A)),
this.qa&&_.JK("Chunk parse error: "+this.ea+(this.M?", "+this.M:""),Error()));break;case 1:a&&(c=iP("Incomplete chunk at end of request.",c,d,e),b||_.nL(this,103,c))}a||_.wt||_.vt||_.tt||(this.S=_.UJ(this.X,100,this))}}transfer(a){this.Y||_.JK("transfer() called during response processing",Error());this.Y=!1;this.H=0;this.qa=!1;super.transfer(a)}};fQ=function(a){const b=new _.VL(a,void 0,void 0,void 0);uQ(a,_.CK,b);return b};hT=class{constructor(a){this.A=a||{}}get(a){return this.A[a]}ib(){return Object.keys(this.A)}};
iT=function(a){const b=_.kJ(a.sideChannel,e=>e.clone());var c=a.F;c=c?c.xf()?c:c.clone():null;const d={};for(const e of a.D.ib())d[e]=a.D.get(e);return new _.TN(a.G,c,b,new hT(d))};kT=function(a,b){const c=jT.A;a=iT(a);a.sideChannel[c]=b;return a};
_.TN=class{constructor(a,b,c={},d=new hT,e){this.G=a;this.F=b||void 0;this.sideChannel=c;this.D=d;e&&_.fn(e,f=>{const g=f.value!=void 0?f.value:f.key.A;var h=this.D;f=f.key.getId();h.A[f]=g},this)}sa(){return this.G}B(){if(this.F){var a=this.F;a.xf()&&(a=this.F=_.uc(a));return a}}Wb(a,b){if(a.A===void 0&&b===void 0)throw Error("Qb`"+a);const c=iT(this);var d=c.D,e=a.getId();d.A[e]=b!=void 0?b:a.A;return c}A(a){return this.D.get(a.getId())}};
lT=class{constructor(a,b){this.F=a;this.B=b}sa(){return this.F}D(){const a=this.B;return a&&a instanceof _.S?_.uc(a):a}A(){const a=this.B;return this.B=a&&_.id(a)}};mT={};pP=function(a){return typeof a.B==="number"?a.B.toString():a.A};
nT=class{constructor(a,b,c){this.A=a;this.D=b;this.B=parseInt(a,10)||null;this.I=null;let d;if(c)for(d=[],a=0;a<c.length;a+=2){b=c[a];const e=c[a+1];d.push({key:b,value:e});switch(b){case _.OG:this.B=e;break;case _.PG:this.I=e;break;case _.SG:}}this.F=d}getName(){return this.A}G(){return this.F?this.F.slice():[]}toString(){return this.A}W(a){return new _.TN(this,a,void 0,void 0,this.F)}H(a){return new lT(this,a)}matches(a){return this.A==a.A||this.B&&this.B.toString()==a.A||a.B&&a.B.toString()==this.A?
!0:!1}};lQ=function(a){const b=new _.rO(a,!0);uQ(a,_.vO,b);return b};var pT=function(){var a=new oT,b=cQ();return _.fp(a,1,b)},oT=class extends _.S{constructor(a){super(a)}};var jT=new _.Ju(278731023,_.zK,oT);var qT=class extends _.S{constructor(a){super(a)}};var sT=function(a){var b=new rT;return _.vd(b,1,a,IO)},tT=function(a,b){return QO(a,1,b)},rT=class extends _.S{constructor(a){super(a)}};var uT=function(a,b){return _.L(a,1,b)},wT=function(){var a=new vT;return _.vd(a,3,[1,7],_.Sb)},vT=class extends _.S{constructor(a){super(a)}};var xT=function(a,b){return QO(a,1,b)},yT=function(a,b){return _.L(a,2,b)},zT=class extends _.S{constructor(a){super(a)}getContext(){return _.O(this,qT,4)}};var AT=class extends _.S{constructor(a){super(a)}};var BT=function(a){return _.mc(_.ss(a,1))},CT=class extends _.S{constructor(a){super(a)}};var DT=function(a){return _.Zt(a,CT,24)},ET=class extends _.S{constructor(a){super(a)}getModel(){return _.gu(this,25,1)}setModel(a){return _.hs(this,25,a)}};var FT=class extends _.S{constructor(a){super(a)}getUrl(){return _.BK(this,2)}};var GT=class extends _.S{constructor(a){super(a)}addMembership(a,b){return _.bu(this,32,AT,a,b)}};GT.prototype.Qb="kX9w3e";var HT=class extends _.S{constructor(a){super(a)}};var IT=function(a){return WS(a,HT,1)},JT=class extends _.S{constructor(a){super(a)}};JT.prototype.Qb="ZfYm6";var KT=new nT("o30O0e",JT,[_.QG,!0,_.SG,"/InternalPeopleService.GetPeople"]);var LT=class extends _.S{constructor(a){super(a)}};var MT=class extends _.S{constructor(a){super(a)}},PT=function(a){var b=new NT;return _.Ut(b,3,OT,_.lc(a))},NT=class extends _.S{constructor(a){super(a)}},OT=[1,2,3,4,5,6];var WQ=class extends _.S{constructor(a){super(a)}};var wR=class extends _.S{constructor(a){super(a)}setTheme(a){return _.L(this,4,a)}};var QT=function(a,b){return _.U(a,1,b)},RT=function(a,b){return XS(a,3,yR,b)},BR=class extends _.S{constructor(a){super(a)}getName(){return _.R(this,1)}},yR=[3];var jR=class extends _.S{constructor(a){super(a)}};var DR=class extends _.S{constructor(a){super(a)}getType(){return _.gu(this,1)}};var sR=class extends _.S{constructor(a){super(a)}getState(){return _.R(this,4)}};var rR=class extends _.S{constructor(a){super(a)}};var tR=class extends _.S{constructor(a){super(a)}getName(){return _.R(this,1)}};var CR=class extends _.S{constructor(a){super(a)}};var AR=class extends _.S{constructor(a){super(a)}};var fR=class extends _.S{constructor(a){super(a)}};var bS=function(a,b){return _.U(a,1,b)},cS=function(a,b){return _.Ut(a,2,gR,_.lc(b))},aS=function(a,b){return _.Ut(a,3,gR,_.lc(b))},TQ=class extends _.S{constructor(a){super(a)}getName(){return _.R(this,1)}},gR=[2,3,7];var FR=class extends _.S{constructor(a){super(a)}getName(){return _.R(this,11)}getId(){return _.R(this,5)}getPrompt(){return _.R(this,10)}setPrompt(a){return _.U(this,10,a)}setTheme(a){return _.L(this,12,a)}};var ST=class extends _.S{constructor(a){super(a)}};var TT=function(a,b){return _.U(a,1,b)},UT=function(a,b){return YS(a,2,ST,b)},VT=class extends _.S{constructor(a){super(a)}};var WT=class extends _.S{constructor(a){super(a)}getError(){return _.iu(this,_.DN,2,GR)}B(){return _.St(this,_.DN,2,GR)}},GR=[1,2];var XT=new nT("XaOLp",class extends _.S{constructor(a){super(a)}},[_.QG,!1,_.SG,"/AppCompanionAgentService.BatchCreateScreens"]);var ZQ=class extends _.S{constructor(a){super(a)}};var XQ=class extends _.S{constructor(a){super(a)}getId(){return _.R(this,1)}getType(){return _.gu(this,14)}},PR=[2,13];var FQ=function(a,b){return _.U(a,1,b)},EQ=function(a,b){return _.U(a,2,b)},BQ=function(a,b){return _.L(a,7,b)},DQ=function(a,b){return LQ(a,6,b)},CQ=function(a,b){return LQ(a,3,b)},KQ=function(a,b){return LQ(a,9,b)},JQ=function(a,b){return _.L(a,10,b)},IQ=function(a,b){return YS(a,12,XQ,b)},GQ=class extends _.S{constructor(a){super(a)}getName(){return _.R(this,1)}};var YT=function(a,b){return _.U(a,1,b)},ZT=function(a,b){return _.L(a,2,b)},$T=class extends _.S{constructor(a){super(a)}getName(){return _.R(this,1)}};var aU=new nT("vW3whd",class extends _.S{constructor(a){super(a)}},[_.QG,!1,_.SG,"/AppCompanionAgentService.CopyProject"]);var bU=function(a,b){return _.U(a,1,b)},cU=class extends _.S{constructor(a){super(a)}getName(){return _.R(this,1)}};var dU=new nT("AC4owb",class extends _.S{constructor(a){super(a)}},[_.QG,!1,_.SG,"/AppCompanionAgentService.CopyScreen"]);var fU=function(a){var b=new eU;return _.L(b,1,a)},eU=class extends _.S{constructor(a){super(a)}};var gU=new nT("zxdp3c",BR,[_.QG,!1,_.SG,"/AppCompanionAgentService.CreateAsset"]);var iU=function(a){var b=new hU;return _.L(b,1,a)},hU=class extends _.S{constructor(a){super(a)}};var jU=new nT("cabgj",GQ,[_.QG,!1,_.SG,"/AppCompanionAgentService.CreateProject"]);var hS=function(a){return _.O(a,WQ,2)},kU=function(a,b){_.L(a,2,b)},iS=function(a){return _.gu(a,3)},lU=function(a,b){YS(a,6,XQ,b)},gS=function(a){return _.gu(a,10)},mU=function(a,b){return LQ(a,10,b)},nU=class extends _.S{constructor(a){super(a)}getPrompt(){return _.R(this,1)}setPrompt(a){return _.U(this,1,a)}getOptions(){return _.O(this,MT,5)}setOptions(a){return _.L(this,5,a)}};var RR=class extends _.S{constructor(a){super(a)}setTheme(a){return _.L(this,2,a)}};var jS=class extends _.S{constructor(a){super(a)}},QR=[1,2,3];var oU=function(a,b){return LQ(a,7,b)},fS=function(a){return _.O(a,nU,4)},pU=class extends _.S{constructor(a){super(a)}getName(){return _.R(this,1)}getType(){return _.gu(this,7)}getState(){return _.gu(this,3)}Nd(a){return _.L(this,4,a)}};var qU=function(a,b){return _.U(a,1,b)},rU=function(a,b){return _.L(a,2,b)},sU=class extends _.S{constructor(a){super(a)}getSession(){return _.O(this,pU,2)}};var tU=new nT("IEkn6e",pU,[_.QG,!1,_.SG,"/AppCompanionAgentService.CreateSession"]);var uU=function(a,b){return _.U(a,1,b)},vU=class extends _.S{constructor(a){super(a)}getName(){return _.R(this,1)}};var wU=new nT("jte62d",LT,[_.QG,!1,_.SG,"/AppCompanionAgentService.DeleteCloudApiKey"]);var xU=function(a,b){return _.U(a,1,b)},yU=class extends _.S{constructor(a){super(a)}getName(){return _.R(this,1)}};var zU=new nT("hxYVdb",class extends _.S{constructor(a){super(a)}},[_.QG,!1,_.SG,"/AppCompanionAgentService.DeleteProject"]);var AU=function(a,b){return _.U(a,1,b)},BU=class extends _.S{constructor(a){super(a)}getName(){return _.R(this,1)}};var CU=new nT("mXKTCe",class extends _.S{constructor(a){super(a)}},[_.QG,!1,_.SG,"/AppCompanionAgentService.DeleteSession"]);var DU=function(a,b){return _.gN(a,1,b)},EU=class extends _.S{constructor(a){super(a)}};var FU=function(a,b){return _.U(a,1,b)},HU=function(a,b){return _.Ut(a,2,GU,_.lc(b))},IU=class extends _.S{constructor(a){super(a)}getName(){return _.R(this,1)}getOptions(){return _.O(this,EU,3)}setOptions(a){return _.L(this,3,a)}},GU=[2];var JU=class extends _.S{constructor(a){super(a)}};var KU=new nT("zOzVec",class extends _.S{constructor(a){super(a)}},[_.QG,!0,_.SG,"/AppCompanionAgentService.DownloadFile"]);var LU=class extends _.S{constructor(a){super(a)}};var oS=class extends _.S{constructor(a){super(a)}getName(){return _.R(this,1)}};var MU=class extends _.S{constructor(a){super(a)}getName(){return _.R(this,1)}};var NU=new nT("MUAiWe",class extends _.S{constructor(a){super(a)}},[_.QG,!1,_.SG,"/AppCompanionAgentService.GenerateCloudApiKey"]);var OU=function(a,b){return _.U(a,1,b)},PU=class extends _.S{constructor(a){super(a)}getName(){return _.R(this,1)}};var QU=new nT("eW2RYb",GQ,[_.QG,!0,_.SG,"/AppCompanionAgentService.GetProject"]);var RU=function(a,b){return _.U(a,1,b)},SU=class extends _.S{constructor(a){super(a)}getName(){return _.R(this,1)}};var TU=new nT("uYEY6",pU,[_.QG,!0,_.SG,"/AppCompanionAgentService.GetSession"]);var UU=class extends _.S{constructor(a){super(a)}};var VU=function(a,b){return RP(a,2,b)},WU=function(a,b){LQ(a,17,b)},XU=function(a,b){LQ(a,18,b)},YU=function(a,b){LQ(a,19,b)},ZU=class extends _.S{constructor(a){super(a)}};var $U=new nT("N5xENe",ZU,[_.QG,!0,_.SG,"/AppCompanionAgentService.GetUserSettings"]);var aV=function(a,b){return _.vd(a,1,b,IO)},bV=class extends _.S{constructor(a){super(a)}};var cV=new nT("jDlCL",class extends _.S{constructor(a){super(a)}},[_.QG,!1,_.SG,"/AppCompanionAgentService.ImportProjects"]);var eV=function(){var a=new dV;return _.U(a,2,"design_system")},dV=class extends _.S{constructor(a){super(a)}};var fV=new nT("UiiVCf",class extends _.S{constructor(a){super(a)}},[_.QG,!0,_.SG,"/AppCompanionAgentService.ListAssets"]);var gV=class extends _.S{constructor(a){super(a)}};var hV=new nT("QvqTSb",class extends _.S{constructor(a){super(a)}},[_.QG,!0,_.SG,"/AppCompanionAgentService.ListCloudApiKeys"]);var iV=function(a,b){return RP(a,2,b)},jV=class extends _.S{constructor(a){super(a)}};var kV=new nT("A7f2qf",class extends _.S{constructor(a){super(a)}},[_.QG,!0,_.SG,"/AppCompanionAgentService.ListProjects"]);var lV=function(a,b){return _.U(a,1,b)},mV=function(a){return RP(a,2,!0)},nV=class extends _.S{constructor(a){super(a)}};var oV=new nT("ErneX",class extends _.S{constructor(a){super(a)}},[_.QG,!0,_.SG,"/AppCompanionAgentService.ListScreens"]);var pV=function(a,b){return _.U(a,1,b)},qV=function(a,b){return RP(a,4,b)},rV=class extends _.S{constructor(a){super(a)}};var sV=new nT("dNS8Mc",class extends _.S{constructor(a){super(a)}},[_.QG,!0,_.SG,"/AppCompanionAgentService.ListSessions"]);var tV=class extends _.S{constructor(a){super(a)}},uV=SO(tV);var vV=class extends _.S{constructor(a){super(a)}},wV=SO(vV);var xV=class extends _.S{constructor(a){super(a)}},yV=SO(xV);var zV=class extends _.S{constructor(a){super(a)}},AV=[1,2,3];var BV=new nT("yxssG",class extends _.S{constructor(a){super(a)}},[_.QG,!1,_.SG,"/AppCompanionAgentService.RegisterClientEvent"]);var CV=function(a,b){return _.U(a,1,b)},DV=function(a,b){return _.L(a,2,b)},EV=class extends _.S{constructor(a){super(a)}};var FV=new nT("toHZnc",class extends _.S{constructor(a){super(a)}},[_.QG,!1,_.SG,"/AppCompanionAgentService.SubmitFeedback"]);var HV=function(a){var b=new GV;return _.L(b,1,a)},IV=function(a){var b=tT(new rT,"design_system");return _.L(a,2,b)},GV=class extends _.S{constructor(a){super(a)}};var JV=new nT("sfYZh",BR,[_.QG,!1,_.SG,"/AppCompanionAgentService.UpdateAsset"]);var KV=function(a,b){return _.L(a,1,b)},LV=function(a){var b=tT(tT(tT(tT(new rT,"title"),"visibility"),"screen_instances"),"background_theme");return _.L(a,2,b)},MV=class extends _.S{constructor(a){super(a)}};var NV=new nT("f6CJY",GQ,[_.QG,!1,_.SG,"/AppCompanionAgentService.UpdateProject"]);var OV=function(a,b){return _.L(a,1,b)},PV=function(a){var b=tT(new rT,"html_code");return _.L(a,2,b)},QV=class extends _.S{constructor(a){super(a)}};var RV=new nT("Y1mZCb",FR,[_.QG,!1,_.SG,"/AppCompanionAgentService.UpdateScreen"]);new nT("gkEJ2e",pU,[_.QG,!1,_.SG,"/AppCompanionAgentService.UpdateSession"]);var SV=function(a,b){return _.L(a,1,b)},TV=function(a){var b=tT(new rT,"training_data_opt_out");return _.L(a,2,b)},UV=class extends _.S{constructor(a){super(a)}};var VV=new nT("z9l9qb",ZU,[_.QG,!1,_.SG,"/AppCompanionAgentService.UpdateUserSettings"]);var nP={};var WV=new _.Kz("xUdipf","xUdipf");var XV=[],YV=[];var ZV={},$V={},bW=function(a,b){const c=b?ZV:$V;let d=c[a.toString()];d||(aW(b),d=c[a.toString()]);return d},aW=function(a){const b=a?_.JM:_.LM;a=a?ZV:$V;for(const c in b){const d=cW(b,parseInt(c,10)),e=d.ctor.prototype.Qb;e&&(a[e]=d.A)}},dW=function(a){{var b=a.Qb;let c=ZV[b.toString()];c||(aW(!0),c=ZV[b.toString()]);c?b=!0:(c=$V[b.toString()],c||(aW(!1),c=$V[b.toString()]),b=c?!1:void 0)}b?(b=bW(a.Qb,!0),a={Of:cW(_.KM,b),Ej:cW(_.JM,b),request:a}):(b=bW(a.Qb,!1),a={Of:cW(_.MM,b),hj:cW(_.LM,b),Hl:a});
return a},cW=function(a,b){if(a=a[b])return Object.values(a)[0]};var eW=function(a){if(typeof a.sa==="function")return a.sa();let b=-1;a instanceof _.S&&(a=dW(a));a instanceof _.Ju?b=a.A:a.Ej?b=a.Ej.A:a.hj?b=a.hj.A:a.Of&&(b=a.Of.A);var c=_.JM[b]||_.LM[b];a=_.KM[b]||_.MM[b];c&&Object.values(c);c=()=>{};a&&(c=Object.values(a)[0].ctor);return new nT(b+"",c)};vP.prototype.initialize=function(a,b){a=a||_.v;b=b||"";let c,d;if(b){var e=a.AF_initDataKeys&&a.AF_initDataKeys[b];c=a.AF_initDataChunkQueue&&a.AF_initDataChunkQueue[b];d=a.AF_dataServiceRequests&&a.AF_dataServiceRequests[b]}else e=a.AF_initDataKeys,c=a.AF_initDataChunkQueue,d=a.AF_dataServiceRequests;e&&c&&d?this.I(e,c,d):b?(a.AF_initDataInitializeCallback=a.AF_initDataInitializeCallback||{},a.AF_initDataInitializeCallback[b]=(0,_.P)(this.I,this)):(e=(0,_.P)(this.I,this),_.en("AF_initDataInitializeCallback",
e,a));b?(a.AF_initDataCallback=a.AF_initDataCallback||{},a.AF_initDataCallback[b]=(0,_.P)(this.H,this)):(b=(0,_.P)(this.H,this),_.en("AF_initDataCallback",b,a))};
vP.prototype.I=function(a,b=[],c={}){a=a&&a.length?a:_.yJ(b,d=>d.key);_.fn(a,function(d){this.A.set(d,new _.my);const e=c[d];if(e){e.id=e.id+"";var f=[];e.ext&&f.push(_.OG,e.ext);f=new nT(e.id,()=>{},f);if(e.request){f=pP(f);const g=this.B.get(f)||[];g.push({initialDataKey:d,key:e});this.B.set(f,g)}else this.F.set(rP(f,null),d)}},this);_.fn(this.G,function(d){d=fW(this,d);this.A.delete(d)},this);_.fn(b,(0,_.P)(this.H,this));this.K.callback(null)};
var gW=function(a,b){b=fW(a,b);return b!=null&&a.A.has(b)},fW=function(a,b){if(typeof b==="string")return b;var c=b.Pf?b.Pf:eW(b);if(a.B.has(pP(c))){if(!b.request)return null;var d=b.request.constructor;const e=pP(c),f=a.B.get(e);for(let g=0;g<f.length;g++){const h=rP(c,new d(f[g].key.request));a.F.set(h,f[g].initialDataKey)}a.B.delete(e)}b.Pf?b=rP(b.Pf,b.request):(b=b instanceof _.Ju?{Of:b}:b,b.sa||(c=eW(b),b instanceof _.S?b=c.W(b):(c=b.request?c.W(b.request):c.W(b.Hl),b.Bk&&(c=c.Wb(_.MG,b.Bk)),
b.Ck&&(c=c.Wb(_.NG,b.Ck)),b.Mo&&(c=c.Wb(_.JG)),b.maxRetries&&(c=c.Wb(_.KG,b.maxRetries)),b.ml&&(c=c.Wb(_.LG,b.ml)),b=c)),c=b.B(),c=oP(c),b=rP(b.sa(),c));return a.F.has(b)?a.F.get(b):null};
vP.prototype.H=function(a){var b=a.key;const c=this.A.get(b,null);if(c){var d={isError:a.errorHasStatus||a.isError||!1,data:a.data,sideChannel:a.sideChannel?new _.zK([a.sideChannel]):void 0};this.D.set(b,d);var e=a.hash;e&&this.R.set(e,b);if(a.errorHasStatus)c.B(new _.GM(new _.DN(a.data)));else if(a.isError){var f=Error;if(typeof d=="undefined")d="undefined";else if(d==null)d="NULL";else{a=[];for(const g in d){if(typeof d[g]==="function")continue;e=g+" = ";try{e+=d[g]}catch(h){e+="*** "+h+" ***"}a.push(e)}d=
a.join("\n")}c.B(f("Tb`"+b+"`"+d))}else if(c.callback(d),d.sideChannel){b=d.sideChannel;YV.push(b);for(f of XV)f.Hg(b)}}};var hW=function(a,b){return(a=a.D.get(b))&&!a.isError?(typeof a.data==="function"&&(a.data=a.data()),{data:a.data,sideChannel:a.sideChannel}):null},iW=function(a,b){return _.ty(a.K.D(),function(){if(!gW(this,b))throw Error("Ub`"+b);const c=fW(this,b),d=this.A.get(c,null).D();_.ty(d,function(){return hW(this,c)},this);return d},a)};
vP.prototype.getData=function(a){return _.ty(iW(this,a).D(),function(b){return b.data})};_.jW=!1;_.rH(WV,vP);var kW=class extends _.S{constructor(a){super(a)}};var lW=new nT("gxq4ob",class extends _.S{constructor(a){super(a)}},[_.QG,!0,_.SG,"/NemoUiService.ConvertHtmlToFigmaClipboard"]);var mW=class extends _.S{constructor(a){super(a)}};var nW=class extends _.S{constructor(a){super(a)}};var oW=new nT("AeQzje",class extends _.S{constructor(a){super(a)}},[_.QG,!0,_.SG,"/NemoUiService.ConvertMultipleHtmlToFigmaClipboard"]);var pW=class extends _.S{constructor(a){super(a)}};var qW=new nT("FuVISc",class extends _.S{constructor(a){super(a)}},[_.QG,!0,_.SG,"/NemoUiService.GetGeminiLiveEphemeralToken"]);var yP,zP=_.pm("https://apis.google.com/js/api.js");var sW=function(){var a=rW();return RP(a,7,!0)},rW=function(){var a=new tW;a=RP(a,5,!0);a=RP(a,2,!0);a=RP(a,4,!1);a=RP(a,8,!0);return RP(a,9,!0)},uW=function(){var a=sW();return RP(a,10,!0)},QP=function(){var a=uW();return RP(a,12,!0)},tW=class extends _.S{constructor(a){super(a)}getEnableSsEngine(){return _.Q(this,2)}getEnableAwr(){return _.Q(this,3)}getAlohaAutoGaRollout(){return _.Q(this,5)}getEnableConfigurator(){return _.Q(this,6)}getEnableMweb(){return _.Q(this,7)}getEnableCtlConsentCheckbox(){return _.Q(this,
8)}getEnableIframe(){return _.Q(this,9)}getEnableScreenshotNudge(){return _.Q(this,10)}getEnableWebStartupConfigEndpoint(){return _.Q(this,11)}getEnableJunkNudge(){return _.Q(this,12)}getEnableConfiguratorLocale(){return _.Q(this,13)}getEnableTinyNoPointer(){return _.Q(this,14)}getEnableSupportSessionLogging(){return _.Q(this,15)}getEnableFileUploadForScreenshot(){return _.Q(this,16)}getEnableDirectDeflectionForSingleCategory(){return _.Q(this,17)}getEnableImageSanitization(){return _.Q(this,18)}getEnableAlohaBinarySplit(){return _.Q(this,
19)}getEnableDbFeedbackIntents(){return _.Q(this,20)}getEnableMarkMandatoryFieldsWithRequired(){return _.Q(this,21)}getEnableFeedbackCategoryCustomUi(){return _.Q(this,22)}getEnableRealtimeCtl(){return _.Q(this,23)}};var PP=class extends _.S{constructor(a){super(a)}};var AP=[/https:\/\/sandbox\.google\.com\/tools\/feedback/,/https:\/\/feedback-frontend-qual[a-z0-9.]*\.google\.com\/inapp/,/https:\/\/feedback-frontend-qual[a-z0-9.]*\.google\.com\/tools\/feedback/,/https:\/\/.*\.googleusercontent\.com\/inapp/];var CP="af am ar-EG ar-JO ar-MA ar-SA ar-XB ar az be bg bn bs ca cs cy da de-AT de-CH de el en en-GB en-AU en-CA en-IE en-IN en-NZ en-SG en-XA en-XC en-ZA es es-419 es-AR es-BO es-CL es-CO es-CR es-DO es-EC es-GT es-HN es-MX es-NI es-PA es-PE es-PR es-PY es-SV es-US es-UY es-VE et eu fa fi fil fr-CA fr-CH fr gl gsw gu he hi hr hu hy id in is it iw ja ka kk km kn ko ky ln lo lt lv mk ml mn mo mr ms my nb ne nl no pa pl pt pt-BR pt-PT ro ru si sk sl sq sr-Latn sr sv sw ta te th tl tr uk ur uz vi zh zh-CN zh-HK zh-TW zu".split(" ");var MP=class extends Error{constructor(){super("Form is either loading or already opened");this.name="DuplicateFormError"}},EP,HP,FP,IP;var vW=function(a,b,c){a.timeOfStartCall=(new Date).getTime();var d=c||_.v;const e=d.document,f=a.nonce||_.zm("script",d.document);f&&!a.nonce&&(a.nonce=f);if(a.flow=="help"){var g=_.Qs("document.location.href",d);!a.helpCenterContext&&g&&(a.helpCenterContext=g.substring(0,1200));g=!0;if(b&&JSON&&JSON.stringify){const h=JSON.stringify(b);(g=h.length<=1200)&&(a.psdJson=h)}g||(b={invalidPsd:!0})}b=[a,b,c];d.GOOGLE_FEEDBACK_START_ARGUMENTS=b;c=a.feedbackServerUri||"//www.google.com/tools/feedback";if(g=
d.GOOGLE_FEEDBACK_START)g.apply(d,b);else{d=c+"/load.js?";for(const h in a)b=a[h],b==null||_.Us(b)||(d+=encodeURIComponent(h)+"="+encodeURIComponent(b)+"&");a=_.In(e).createElement("SCRIPT");f&&a.setAttribute("nonce",f);_.Bm(a,_.pm(d));e.body.appendChild(a)}},wW=function(a,b,c,d){return _.H(function*(){const e=c||_.v;var f=a.serverEnvironment==="DEV",g=c||_.v;g=a.nonce||_.zm("script",g.document);f={integrationKeys:{productId:a.productId,feedbackBucket:a.bucket,triggerId:a.triggerId},callbacks:{onClose:a.callback,
onLoad:a.onLoadCallback},formContent:{locale:a.locale,disableScreenshot:a.disableScreenshotting,productDisplayName:void 0,announcement:void 0,issueCategories:void 0,includeSeveritySelection:void 0,customImageSrc:void 0,thankYouMessage:void 0,userEmail:void 0,defaultFormInputValues:void 0,defaultFormInputValuesString:void 0,abuseLink:a.abuseLink,additionalDataConsent:a.additionalDataConsent},initializationData:{isLocalServer:f,nonce:g,useNightlyRelease:f,feedbackJsUrl:void 0,feedbackCssUrl:void 0,
feedbackJsUrlSerialized:void 0,feedbackCssUrlSerialized:void 0,submissionServerUri:a.feedbackServerUri,colorScheme:a.colorScheme},extraData:{productVersion:a.productVersion,authUser:a.authuser,configuratorId:a.configuratorId,customZIndex:a.customZIndex,tinyNoPointer:a.tinyNoPointer,allowNonLoggedInFeedback:a.allowNonLoggedInFeedback,enableAnonymousFeedback:a.enableAnonymousFeedback}};b&&(g=new Map(Object.entries(b)),f.extraData.productSpecificData=g);yield NP(f,d,e)})},xW=function(a,b,c){try{if(a.flow===
"help"){const d=a.helpCenterPath.replace(/^\//,"");eP(c||window,`https://support.google.com/${d}`)}else a.flow==="submit"?vW(a,b,c):SP(a.productId,a.feedbackServerUri).then(d=>{d=_.O(d,tW,1);const e=!_.xt||(d==null?void 0:d.getEnableMweb()),f=!a.tinyNoPointer||(d==null?void 0:d.getEnableTinyNoPointer());!d||d.getAlohaAutoGaRollout()&&e&&f?wW(a,b,c,d).catch(g=>{!g||g instanceof MP||vW(a,b,c)}):vW(a,b,c)},d=>{!d||d instanceof MP||vW(a,b,c)})}catch(d){wW(a,b,c,null).catch(e=>{!e||e instanceof MP||vW(a,
b,c)})}};_.en("userfeedback.api.startFeedback",xW);var yW=class{};yW.P=function(a){return new (a||yW)};yW.T=_.B({token:yW,J:yW.P,V:"root"});var uQ=function(a,b,c){if(a.isDisposed())_.Wl(c);else{a.A[b]=[c,!0];var d=zW(a,a,b);for(let e=0;e<d.length;e++)d[e].callback(null);delete a.U[b];b instanceof _.Kz&&_.rH(b,c.constructor)}},AW=function(a){for(;a.D;)a=a.D;return a},BW=function(a,b){for(var c=a;c;c=c.D){if(c.isDisposed())throw new fT([b]);if(c.A[b])return c.A[b][0];if(c.Y[b])break}if(c=a.M[b]){c=c(a);if(c==null)throw Error("ac`"+b);uQ(a,b,c);return c}return null},CW=function(a){return a.X?a.X:a.D?CW(a.D):null},EW=function(a,b,c,d){_.ty(b,
function(){this.H.dispatchEvent(new DW("i",c))},a);_.iN(b,(0,_.P)(a.da,a,c,d));_.ty(b,(0,_.P)(a.S,a,c,d))},zW=function(a,b,c){const d=[],e=a.F[c];e&&(_.YL(e,function(f){var g;a:{for(g=f.pb;g;){if(g==b){g=!0;break a}g=g.D}g=!1}g&&(d.push(f.d),_.Ia(e,f))}),e.length==0&&delete a.F[c]);return d},FW=function(a,b){a.F&&_.bm(a.F,function(c,d,e){_.YL(c,function(f){f.pb==b&&_.Ia(c,f)});c.length==0&&delete e[d]})},HW=class extends _.Ym{constructor(){super();this.A={};this.U={};this.M={};this.F={};this.B={};
this.Y={};this.H=new _.cx;this.D=null;const a=AW(this);this!=a&&(a.G?a.G.push(this):a.G=[this])}get(a){let b=BW(this,a);if(b==null)throw Error("$b`"+a);return b}aa(a){if(this.isDisposed())throw new fT(a);const b={};var c=[],d=[];const e={};for(const g of a)if(a=BW(this,g)){const h=new _.my;b[g]=h;a.ld&&(NS(h,a.ld()),_.ty(h,_.gn(function(k){return k},a)));h.callback(a)}else if(this.B[g])a=this.B[g].D(),_.ty(a,()=>this.I(g)),b[g]=a;else{var f=void 0;g instanceof _.Kz?f=_.mI([g]).modules:(a=this.U[g])&&
(f=[a]);f&&f.length?(f&&(c.push(...f),e[g]=f[f.length-1]),d.push(g)):(a=new _.my,b[g]=a,a.B(Error("$b`"+g)))}if(c.length){for(const g of d)this.H.dispatchEvent(new DW("h",g));c=CW(this).K(c);for(const g of d)d=e[g],f=c[d],f=f instanceof _.my?f.D():_.uy(f),b[g]=f,EW(this,f,g,d)}return b}S(a,b){var c=BW(this,a);if(c==null){if(this.B[a])return c=this.B[a].D(),_.ty(c,(0,_.P)(this.S,this,a,b)),c;if(!b)throw Error("bc`"+a);throw Error("cc`"+b+"`"+a);}return c.ld?(b=new _.my,NS(b,c.ld()),b.callback(c),_.ty(b,
(0,_.P)(this.I,this,a)),b):this.I(a)}I(a){this.B[a]&&delete this.B[a];return this.get(a)}da(a,b,c){return c instanceof _.ny?c:new GW(a,b,c)}na(){if(AW(this)==this){var a=this.G;if(a)for(;a.length;)a[0].dispose()}else{a=AW(this).G;for(let b=0;b<a.length;b++)if(a[b]==this){a.splice(b,1);break}}for(const b in this.A)a=this.A[b],a[1]&&a[0].dispose&&a[0].dispose();this.A=null;this.H.dispose();FW(this,this);this.F=null;_.Wl(this.ea);this.Y=this.ea=null;super.na()}},GW=function(a,b,c){_.fa.call(this);this.moduleId=
b;this.cause=c;this.message='Module "'+b+'" failed to load when requesting the service "'+a+'" [cause: '+c+"]";this.stack=c.stack+"\nWRAPPED BY:\n"+this.stack};_.at(GW,_.fa);var DW=function(a){_.Yl.call(this,a)};_.at(DW,_.Yl);var hQ=class extends _.pO{constructor(a){super();this.buildLabel=a}A(a){this.buildLabel&&_.XK(a.A,"bl",this.buildLabel)}};var oQ=class extends _.pO{constructor(a){super();const b={};_.fn("e hl gl jsmode mjsmode deb opt route hotswaps _hostType authuser pageId duul nuul".split(" "),function(c){const d=gP(a,c);d&&(b[c]=d)});this.D=b}A(a){_.bm(this.D,function(b,c){a.A.B.get(c)||_.XK(a.A,c,b)})}};var mQ=class extends _.pO{constructor(a){super();this.D=[].slice.apply(arguments)}A(){_.fn(this.D,function(){})}};var nQ=class extends _.pO{constructor(){var a=_.Uo(_.me("FdrFJe"));super();this.D=a}A(a){this.D&&_.XK(a.A,"f.sid",this.D)}};var IW=RegExp("^((http(s)?):)?\\/\\/((((lh[3-6](-tt|-d[a-g,y,z]|-testonly)?\\.((ggpht)|(googleusercontent)|(google)|(sandbox\\.google)))|(lh7\\-(eu|us|qw|rt)\\.((googleusercontent)|(google)))|((photos|testonly|work)\\.fife\\.usercontent\\.google)|([\\w\\-]+\\.fife\\.usercontent\\.google)|(([1-4]\\.bp\\.blogspot)|(bp[0-3]\\.blogger))|(ccp-lh\\.googleusercontent)|((((cp|ci|gp)[3-6])|(ap[1-2]))\\.(ggpht|googleusercontent))|(gm[1-4]\\.ggpht)|(play-(ti-)?lh\\.googleusercontent)|(gz0\\.googleusercontent)|(((yt[3-4])|(sp[1-3]))\\.(ggpht|googleusercontent)))\\.com)|(drive\\.google\\.com\\/drive\\-(usercontent|viewer))|(dp[3-6]\\.googleusercontent\\.cn)|(lh[3-6]\\.(googleadsserving\\.cn|xn--9kr7l\\.com))|((photos|drive|contribution)\\-image\\-(dev|qa)(-us|-eu)?(-auth|-cookie)?\\.corp\\.google\\.com)|(photos\\-image\\-dev\\-dl\\-(auth|eu|us)\\.corp\\.google\\.com)|((dev|dev2|dev3|qa|qa2|qa3|qa-red|qa-blue|canary)[-.]lighthouse\\.sandbox\\.google\\.com\\/image)|(image\\-(dev|qa)\\-lighthouse(-auth)?\\.sandbox\\.google\\.com(\\/image)?)|(drive\\-qa\\.corp\\.google\\.com\\/drive\\-(usercontent|viewer))|(docs(\\-(dev|qa)\\.corp)?\\.google\\.com\\/(u\\/[0-9]+\\/)?(docs|sheets|slides|drawings|forms|videos|pictures)\\-images\\-(rt|qw))|(docs\\.sandbox\\.google\\.com\\/(u\\/[0-9]+\\/)?(docs|sheets|slides|drawings|forms|videos|pictures)\\-images))\\/",
"i"),JW=/^(https?:)?\/\/sp[1-4]\.((ggpht)|(googleusercontent))\.com\//i,KW=/^(https?:)?\/\/(qa(-red|-blue)?|dev2?|image-dev)(-|\.)lighthouse(-auth)?\.sandbox\.google\.com\//i,LW=/^(https?:)?\/\/lighthouse-(qa(-red|-blue)?|dev2)\.corp\.google\.com\//i;var MW=class extends _.S{constructor(a){super(a)}getToken(){return _.BK(this,24)}setToken(a){return _.fp(this,24,a)}};TP.prototype.set=function(a,b){NW(this,a,b,!1)};TP.prototype.setValue=function(a){this.A=a};TP.prototype.add=function(a,b){NW(this,a,b,!0)};var NW=function(a,b,c,d){for(let e=0;e<b.length;e++){const f=b.charAt(e);a.Qa[f]||(a.Qa[f]=new TP);a=a.Qa[f]}if(d&&a.A!==void 0)throw Error("dc`"+b);a.A=c},OW=function(a,b){for(let c=0;c<b.length;c++)if(a=a.Qa[b.charAt(c)],!a)return;return a};TP.prototype.get=function(a){return(a=OW(this,a))?a.A:void 0};TP.prototype.Xa=function(){const a=[];PW(this,a);return a};
var PW=function(a,b){a.A!==void 0&&b.push(a.A);for(const c in a.Qa)PW(a.Qa[c],b)};TP.prototype.ib=function(a){const b=[];if(a){let c=this;for(let d=0;d<a.length;d++){const e=a.charAt(d);if(!c.Qa[e])return[];c=c.Qa[e]}QW(c,a,b)}else QW(this,"",b);return b};var QW=function(a,b,c){a.A!==void 0&&c.push(b);for(const d in a.Qa)QW(a.Qa[d],b+d,c)};_.t=TP.prototype;_.t.clear=function(){this.Qa={};this.A=void 0};
_.t.remove=function(a){var b=this;const c=[];for(var d=0;d<a.length;d++){const e=a.charAt(d);if(!b.Qa[e])throw Error("ec`"+a);c.push([b,e]);b=b.Qa[e]}a=b.A;for(delete b.A;c.length>0;)if(d=c.pop(),b=d[0],d=d[1],b.Qa[d].isEmpty())delete b.Qa[d];else break;return a};_.t.clone=function(){return new TP(this)};_.t.rb=function(){var a=this.Xa();return a.rb&&typeof a.rb=="function"?a.rb():_.Ka(a)||typeof a==="string"?a.length:_.dN(a)};_.t.isEmpty=function(){return this.A===void 0&&_.em(this.Qa)};var ZP=function(){if(!RW){var a=RW=new TP,b;for(b in SW)a.add(b,SW[b])}},RW,Y=function(a,b){this.types=a;this.A=b},SW={a:new Y([3,0],[function(a,b){_.K(a,21,b)},function(a,b){_.M(a,56,b)}]),al:new Y([3],[function(a,b){_.K(a,74,b)}]),b:new Y([3,0],[function(a,b){_.K(a,23,b)},function(a,b){_.M(a,38,b)}]),ba:new Y([0],[function(a,b){_.M(a,85,b)}]),bc:new Y([0],[function(a,b){_.M(a,87,b)}]),br:new Y([0],[function(a,b){_.M(a,86,b)}]),c:new Y([3,0],[function(a,b){_.K(a,2,b)},function(a,b){_.M(a,39,b)}]),
cc:new Y([3],[function(a,b){_.K(a,51,b)}]),ci:new Y([3],[function(a,b){_.K(a,32,b)}]),ckm:new Y([3],[function(a,b){_.K(a,104,b)}]),cp:new Y([0],[function(a,b){_.M(a,92,b)}]),cr:new Y([3],[function(a,b){_.K(a,108,b)}]),cv:new Y([0],[function(a,b){_.M(a,94,b)}]),d:new Y([3],[function(a,b){_.K(a,3,b)}]),dc:new Y([5],[function(a,b){_.fp(a,99,b)}]),df:new Y([3],[function(a,b){_.K(a,80,b)}]),dv:new Y([3],[function(a,b){_.K(a,90,b)}]),e:new Y([0],[function(a,b){_.M(a,15,b)}]),em:new Y([0],[function(a,b){_.M(a,
107,b)}]),f:new Y([4],[function(a,b){_.fp(a,16,b)}]),fg:new Y([3],[function(a,b){_.K(a,34,b)}]),fh:new Y([3],[function(a,b){_.K(a,30,b)}]),fm:new Y([3],[function(a,b){_.K(a,84,b)}]),fo:new Y([2],[function(a,b){_.ku(a,79,b)}]),ft:new Y([3],[function(a,b){_.K(a,50,b)}]),fv:new Y([3],[function(a,b){_.K(a,31,b)}]),g:new Y([3],[function(a,b){_.K(a,14,b)}]),gce:new Y([4],[function(a,b){_.fp(a,112,b)}]),gd:new Y([3],[function(a,b){_.K(a,83,b)}]),gm:new Y([3],[function(a,b){_.K(a,105,b)}]),h:new Y([3,0],
[function(a,b){_.K(a,4,b)},function(a,b){_.M(a,13,b)}]),i:new Y([3],[function(a,b){_.K(a,22,b)}]),ic:new Y([0],[function(a,b){_.M(a,71,b)}]),id:new Y([3],[function(a,b){_.K(a,70,b)}]),il:new Y([3],[function(a,b){_.K(a,96,b)}]),ip:new Y([3],[function(a,b){_.K(a,54,b)}]),iv:new Y([0],[function(a,b){_.ju(a,75,b)}]),j:new Y([1],[function(a,b){_.Qt(a,29,b==null?b:GO(b))}]),k:new Y([3,0],[function(a,b){_.K(a,17,b)},function(a,b){_.M(a,42,b)}]),l:new Y([0],[function(a,b){_.M(a,44,b)}]),lf:new Y([3],[function(a,
b){_.K(a,65,b)}]),lo:new Y([3],[function(a,b){_.K(a,97,b)}]),m:new Y([0],[function(a,b){_.M(a,63,b)}]),md:new Y([3],[function(a,b){_.K(a,91,b)}]),mm:new Y([4],[function(a,b){_.fp(a,81,b)}]),mo:new Y([3],[function(a,b){_.K(a,73,b)}]),mp:new Y([0],[function(a,b){_.M(a,115,b)}]),mv:new Y([3],[function(a,b){_.K(a,66,b)}]),n:new Y([3],[function(a,b){_.K(a,20,b)}]),nc:new Y([3],[function(a,b){_.K(a,55,b)}]),nd:new Y([3],[function(a,b){_.K(a,53,b)}]),ng:new Y([3],[function(a,b){_.K(a,95,b)}]),ngm:new Y([3],
[function(a,b){_.K(a,106,b)}]),no:new Y([3],[function(a,b){_.K(a,37,b)}]),ns:new Y([3],[function(a,b){_.K(a,40,b)}]),nt0:new Y([4],[function(a,b){_.fp(a,36,b)}]),ntm:new Y([3],[function(a,b){_.K(a,114,b)}]),nu:new Y([3],[function(a,b){_.K(a,46,b)}]),nw:new Y([3],[function(a,b){_.K(a,48,b)}]),o:new Y([1,3],[function(a,b){_.Qt(a,7,b==null?b:GO(b))},function(a,b){_.K(a,27,b)}]),p:new Y([3,0],[function(a,b){_.K(a,19,b)},function(a,b){_.M(a,43,b)}]),pa:new Y([3],[function(a,b){_.K(a,61,b)}]),pc:new Y([0],
[function(a,b){_.M(a,88,b)}]),pd:new Y([3],[function(a,b){_.K(a,60,b)}]),pf:new Y([3],[function(a,b){_.K(a,67,b)}]),pg:new Y([3],[function(a,b){_.K(a,72,b)}]),pi:new Y([2],[function(a,b){_.ku(a,76,b)}]),pp:new Y([3],[function(a,b){_.K(a,52,b)}]),pt:new Y([4],[function(a,b){_.fp(a,111,b)}]),q:new Y([4],[function(a,b){_.fp(a,28,b)}]),r:new Y([3,0],[function(a,b){_.K(a,6,b)},function(a,b){_.M(a,26,b)}]),ra:new Y([3],[function(a,b){_.K(a,103,b)}]),rf:new Y([3],[function(a,b){_.K(a,100,b)}]),rg:new Y([3],
[function(a,b){_.K(a,59,b)}]),rh:new Y([3],[function(a,b){_.K(a,49,b)}]),rj:new Y([3],[function(a,b){_.K(a,57,b)}]),ro:new Y([2],[function(a,b){_.ku(a,78,b)}]),rp:new Y([3],[function(a,b){_.K(a,58,b)}]),rw:new Y([3],[function(a,b){_.K(a,35,b)}]),rwa:new Y([3],[function(a,b){_.K(a,64,b)}]),rwu:new Y([3],[function(a,b){_.K(a,41,b)}]),s:new Y([3,0],[function(a,b){_.K(a,33,b)},function(a,b){_.M(a,1,b)}]),sb:new Y([0],[function(a,b){_.M(a,110,b)}]),sc:new Y([0],[function(a,b){_.M(a,89,b)}]),sg:new Y([3],
[function(a,b){_.K(a,82,b)}]),sl:new Y([0],[function(a,b){_.M(a,109,b)}]),sm:new Y([3],[function(a,b){_.K(a,93,b)}]),t:new Y([4],[function(a,b){a.setToken(b)}]),tm:new Y([3],[function(a,b){_.K(a,113,b)}]),u:new Y([3],[function(a,b){_.K(a,18,b)}]),ut:new Y([3],[function(a,b){_.K(a,45,b)}]),v:new Y([0],[function(a,b){_.M(a,62,b)}]),vb:new Y([0],[function(a,b){_.ju(a,68,b)}]),vf:new Y([4],[function(a,b){_.fp(a,102,b)}]),vl:new Y([0],[function(a,b){_.ju(a,69,b)}]),vm:new Y([3],[function(a,b){_.K(a,98,
b)}]),w:new Y([0],[function(a,b){_.M(a,12,b)}]),x:new Y([0],[function(a,b){_.M(a,9,b)}]),y:new Y([0],[function(a,b){_.M(a,10,b)}]),ya:new Y([2],[function(a,b){_.ku(a,77,b)}]),z:new Y([0],[function(a,b){_.M(a,11,b)}])};
ZP.prototype.parse=function(a){var b=new MW,c=new MW;if(a=="")a=!0;else{a=a.split("-");for(var d=!0,e=0;e<a.length;e++){var f=a[e];if(f.length==0)d=!1;else{var g=f,h=!1;var k=g;var l=g.charAt(0);l!=l.toLowerCase()&&(h=!0,k=g.charAt(0).toLowerCase()+g.substring(1));var m=RW;for(l=1;l<=k.length;++l){var n=m,r=k.substring(0,l);if(r.length==0?n.isEmpty():!OW(n,r))break}k=l==1?null:(k=m.get(k.substring(0,l-1)))?{Wl:g.substring(0,l-1),value:g.substring(l-1),Dm:h,attributes:k}:null;if(k){g=[];h=[];l=!1;
for(m=0;m<k.attributes.types.length;m++){n=k.attributes.types[m];var p=k.value;r=e;if(k.Dm&&n==1)for(var q=p.length;q<12&&r<a.length-1;)p+="-"+a[r+1],q=p.length,++r;else if(n==2)for(;r<a.length-1&&a[r+1].match(/^[\d\.]/);)p+="-"+a[r+1],++r;q=k.attributes.A[m];p=TW(this,n)(k.Wl,p,b,c,q);if(p===null){l=!0;e=r;break}else g.push(n),h.push(p)}if(!l)for(k=0;k<h.length;k++)m=g[k],p=h[k],UW(this,m)(f,p);d=d&&l}else d=!1}}a=d}return new VW(b,c,a)};
var WW=function(a,b,c,d,e,f){e(c,b);a=a.charAt(0);f=f(a==a.toUpperCase());e(d,f)};_.t=ZP.prototype;_.t.Zl=function(a,b,c,d,e){if(b=="")return 0;b=_.GN(b);if(isNaN(b))return 1;WW(a,b,c,d,e,Number);return null};_.t.zl=function(){};_.t.Yl=function(a,b,c,d,e){if(b=="")return 0;const f=Number(b);b=f==0&&/^[\s\xa0]*$/.test(b)?NaN:f;if(isNaN(b))return 1;WW(a,b,c,d,e,Number);return null};_.t.yl=function(){};_.t.Xl=function(a,b,c,d,e){if(b!="")return 2;WW(a,!0,c,d,e,Boolean);return null};_.t.xl=function(){};
_.t.am=function(a,b,c,d,e){if(b=="")return 0;WW(a,b,c,d,e,f=>f?"1":"");return null};_.t.Al=function(){};_.t.bm=function(a,b,c,d,e){if(b=="")return 0;WW(a,b,c,d,e,f=>f?1:0);return null};
var TW=function(a,b){switch(b){case 0:return(0,_.P)(a.Zl,a);case 2:return(0,_.P)(a.Yl,a);case 3:return(0,_.P)(a.Xl,a);case 4:return(0,_.P)(a.am,a);case 1:return(0,_.P)(a.bm,a);default:return function(){}}},UW=function(a,b){switch(b){case 0:return(0,_.P)(a.zl,a);case 2:return(0,_.P)(a.yl,a);case 3:return(0,_.P)(a.xl,a);case 4:case 1:return(0,_.P)(a.Al,a);default:return function(){}}},VW=function(a,b,c){this.A=a;this.B=b;this.D=c};VW.prototype.Dd=function(){return this.D};var UP=function(a){this.F=null;this.D=[];this.B=null;XW(this,a)},YW=function(a){a.F==null&&(a.F=new ZP);return a.F},XW=function(a,b){a.B=b?typeof b==="string"?YW(a).parse(b):b:YW(a).parse("")},ZW=function(a,b){return a==b?!1:!0};_.t=UP.prototype;_.t.eg=function(a){a=a||void 0;const b=this.B,c=b.A;ZW(a,_.Q(c,2),_.Q(b.B,2))&&_.K(c,2,a);return this};_.t.dg=function(a){a=a||void 0;const b=this.B,c=b.A;ZW(a,V(c,51),V(b.B,51))&&_.K(c,51,a);return this};
_.t.gg=function(a){a=a||void 0;const b=this.B,c=b.A;ZW(a,V(c,32),V(b.B,32))&&_.K(c,32,a);return this};_.t.Ue=function(a){const b=this.B,c=b.A;ZW(a,_.T(c,13),_.T(b.B,13))&&_.M(c,13,a);return this};_.t.cg=function(a){a=a||void 0;const b=this.B,c=b.A;ZW(a,_.Q(c,20),_.Q(b.B,20))&&_.K(c,20,a);return this};_.t.ig=function(a){a=a||void 0;const b=this.B,c=b.A;ZW(a,_.Q(c,19),_.Q(b.B,19))&&_.K(c,19,a);return this};_.t.hg=function(a){a=a||void 0;const b=this.B,c=b.A;ZW(a,V(c,60),V(b.B,60))&&_.K(c,60,a);return this};
_.t.kg=function(a){a=a||void 0;const b=this.B,c=b.A;ZW(a,_.Q(c,67),_.Q(b.B,67))&&_.K(c,67,a);return this};_.t.jg=function(a){a=a||void 0;const b=this.B,c=b.A;ZW(a,_.Q(c,52),_.Q(b.B,52))&&_.K(c,52,a);return this};_.t.Cc=function(a){const b=this.B,c=b.A;ZW(a,_.T(c,1),_.T(b.B,1))&&_.M(c,1,a);return this};_.t.setToken=function(a){a=a||void 0;const b=this.B,c=b.A;ZW(a,c.getToken(),b.B.getToken())&&c.setToken(a);return this};
_.t.Ve=function(a){const b=this.B,c=b.A;ZW(a,_.T(c,12),_.T(b.B,12))&&_.M(c,12,a);return this};_.t.setOptions=function(a){XW(this,a);return this};
_.t.Ka=function(){this.D.length=0;var a=this.B;const b=a.A;a=a.B;$W(this,"s",_.T(b,1),_.T(a,1));$W(this,"w",_.T(b,12),_.T(a,12));Z(this,"c",_.Q(b,2),_.Q(a,2));Z(this,"d",_.Q(b,3),_.Q(a,3));$W(this,"h",_.T(b,13),_.T(a,13));Z(this,"s",V(b,33),V(a,33));Z(this,"h",_.Q(b,4),_.Q(a,4));Z(this,"p",_.Q(b,19),_.Q(a,19));Z(this,"pp",_.Q(b,52),_.Q(a,52));Z(this,"pf",_.Q(b,67),_.Q(a,67));Z(this,"n",_.Q(b,20),_.Q(a,20));$W(this,"r",_.T(b,26),_.T(a,26));Z(this,"r",_.Q(b,6),_.Q(a,6));Z(this,"o",V(b,27),V(a,27));
var c=ZS(b,7);aX(this,"o",c,ZS(a,7));c=ZS(b,29);aX(this,"j",c,ZS(a,29));$W(this,"x",_.T(b,9),_.T(a,9));$W(this,"y",_.T(b,10),_.T(a,10));$W(this,"z",_.T(b,11),_.T(a,11));Z(this,"g",_.Q(b,14),_.Q(a,14));$W(this,"e",_.T(b,15),_.T(a,15));aX(this,"f",_.BK(b,16),_.BK(a,16));Z(this,"k",V(b,17),V(a,17));Z(this,"u",V(b,18),!0);Z(this,"ut",V(b,45),!0);Z(this,"i",V(b,22),!0);Z(this,"a",V(b,21),V(a,21));Z(this,"b",_.Q(b,23),_.Q(a,23));$W(this,"b",_.T(b,38),_.T(a,38));$W(this,"c",_.T(b,39),_.T(a,39),16,8);aX(this,
"q",_.BK(b,28),_.BK(a,28));Z(this,"fh",V(b,30),V(a,30));Z(this,"fv",V(b,31),V(a,31));Z(this,"fg",_.Q(b,34),_.Q(a,34));Z(this,"ci",V(b,32),V(a,32));aX(this,"t",b.getToken(),a.getToken());aX(this,"nt0",_.BK(b,36),_.BK(a,36));Z(this,"rw",_.Q(b,35),_.Q(a,35));Z(this,"rwu",_.Q(b,41),_.Q(a,41));Z(this,"rwa",_.Q(b,64),_.Q(a,64));Z(this,"nw",_.Q(b,48),_.Q(a,48));Z(this,"rh",_.Q(b,49),_.Q(a,49));Z(this,"no",_.Q(b,37),_.Q(a,37));Z(this,"ns",V(b,40),V(a,40));$W(this,"k",_.T(b,42),_.T(a,42));$W(this,"p",_.T(b,
43),_.T(a,43));$W(this,"l",_.T(b,44),_.T(a,44));$W(this,"v",_.T(b,62),_.T(a,62));Z(this,"nu",V(b,46),V(a,46));Z(this,"ft",V(b,50),V(a,50));Z(this,"cc",V(b,51),V(a,51));Z(this,"nd",V(b,53),V(a,53));Z(this,"ip",V(b,54),V(a,54));Z(this,"nc",V(b,55),V(a,55));$W(this,"a",_.T(b,56),_.T(a,56));Z(this,"rj",V(b,57),V(a,57));Z(this,"rp",V(b,58),V(a,58));Z(this,"rg",V(b,59),V(a,59));Z(this,"pd",V(b,60),V(a,60));Z(this,"pa",V(b,61),V(a,61));$W(this,"m",_.T(b,63),_.T(a,63));$W(this,"vb",$S(b,68),$S(a,68));$W(this,
"vl",$S(b,69),$S(a,69));Z(this,"lf",V(b,65),V(a,65));Z(this,"mv",V(b,66),V(a,66));Z(this,"id",V(b,70),V(a,70));$W(this,"ic",_.T(b,71),!0);Z(this,"pg",_.Q(b,72),_.Q(a,72));Z(this,"mo",V(b,73),V(a,73));Z(this,"al",V(b,74),V(a,74));$W(this,"iv",$S(b,75),$S(a,75));$W(this,"pi",aT(b,76),aT(a,76));$W(this,"ya",aT(b,77),aT(a,77));$W(this,"ro",aT(b,78),aT(a,78));$W(this,"fo",aT(b,79),aT(a,79));Z(this,"df",V(b,80),V(a,80));aX(this,"mm",_.BK(b,81),_.BK(a,81));Z(this,"sg",V(b,82),V(a,82));Z(this,"gd",V(b,83),
V(a,83));Z(this,"fm",V(b,84),V(a,84));$W(this,"ba",_.T(b,85),_.T(a,85));$W(this,"br",_.T(b,86),_.T(a,86));$W(this,"bc",_.T(b,87),_.T(a,87),16,8);$W(this,"pc",_.T(b,88),_.T(a,88),16,8);$W(this,"sc",_.T(b,89),_.T(a,89),16,8);Z(this,"dv",V(b,90),V(a,90));Z(this,"md",V(b,91),V(a,91));$W(this,"cp",_.T(b,92),_.T(a,92));Z(this,"sm",V(b,93),V(a,93));$W(this,"cv",_.T(b,94),_.T(a,94));Z(this,"ng",V(b,95),V(a,95));Z(this,"il",V(b,96),V(a,96));Z(this,"lo",V(b,97),V(a,97));Z(this,"vm",V(b,98),V(a,98));aX(this,
"dc",_.BK(b,99),_.BK(a,99));Z(this,"rf",V(b,100),V(a,100));aX(this,"vf",_.BK(b,102),_.BK(a,102));Z(this,"ra",_.Q(b,103),_.Q(a,103));Z(this,"ckm",V(b,104),V(a,104));Z(this,"gm",V(b,105),V(a,105));Z(this,"ngm",V(b,106),V(a,106));$W(this,"em",_.T(b,107),_.T(a,107));Z(this,"cr",V(b,108),V(a,108));$W(this,"sl",_.T(b,109),_.T(a,109));$W(this,"sb",_.T(b,110),_.T(a,110));aX(this,"pt",_.BK(b,111),_.BK(a,111));aX(this,"gce",_.BK(b,112),_.BK(a,112));Z(this,"tm",V(b,113),V(a,113));Z(this,"ntm",V(b,114),V(a,114));
$W(this,"mp",_.T(b,115),_.T(a,115));return this.D.join("-")};var $W=function(a,b,c,d,e,f){if(c!=null){var g=e==void 0||e!=10&&e!=16?10:e;c=Number(c).toString(g);e=new _.RK;e.append(g==16?"0x":"");g=e.append;f==void 0?f="":(f-=c.length,f=f<=0?"":"0".repeat(f));g.call(e,f);e.append(c);bX(a,b,e.toString(),!!Number(d))}},Z=function(a,b,c,d){c&&bX(a,b,"",!!d)},aX=function(a,b,c,d){c&&bX(a,b,String(c),!!Number(d))},bX=function(a,b,c,d){d&&(b=b.charAt(0).toUpperCase()+b.substring(1));a.D.push(b+c)};_.at(VP,UP);_.t=VP.prototype;_.t.eg=function(a){a&&cX(this);return VP.va.eg.call(this,a)};_.t.Ue=function(a){a=a==null||a<0?void 0:a;a!=null&&this.Cc();return VP.va.Ue.call(this,a)};_.t.gg=function(a){a&&cX(this);return VP.va.gg.call(this,a)};_.t.dg=function(a){a&&cX(this);return VP.va.dg.call(this,a)};_.t.Cc=function(a){_.Us(a)&&(a=Math.max(a.width,a.height));a=a==null||a<0?void 0:a;a!=null&&(this.Ve(),this.Ue());return VP.va.Cc.call(this,a)};
_.t.ig=function(a){a&&cX(this);return VP.va.ig.call(this,a)};_.t.jg=function(a){a&&cX(this);return VP.va.jg.call(this,a)};_.t.kg=function(a){a&&cX(this);return VP.va.kg.call(this,a)};_.t.cg=function(a){a&&cX(this);return VP.va.cg.call(this,a)};_.t.hg=function(a){a&&cX(this);return VP.va.hg.call(this,a)};_.t.Ve=function(a){a=a==null||a<0?void 0:a;a!=null&&this.Cc();return VP.va.Ve.call(this,a)};var cX=function(a){a.cg();a.dg();a.eg();a.gg();a.hg();a.ig();a.jg();a.kg()};
VP.prototype.Ka=function(){var a=this.B.A;V(a,18)||V(a,45)?_.T(a,1)||this.Cc(0):(a=this.B.A,_.T(a,1)||_.T(a,12)||_.T(a,13)||(this.Cc(),this.Ue(),this.Ve(),cX(this)));return VP.va.Ka.call(this)};var dX=/^[^\/]*\/\//,eX=function(a,b=!1){this.D=a;this.H="";(a=this.D.match(dX))&&a[0]?(this.H=a[0],a=this.H.match(/\w+/)?this.D:"http://"+this.D.substring(this.H.length)):a="http://"+this.D;this.F=SS(a,!0);this.U=b;this.G=!0;this.aa=!1},fX=function(a,b){a.B=a.B?a.B+("/"+b):b},gX=function(a){if(a.A==void 0){var b=a.F.A.substring(1);a.B=null;if(a.U){a.A=[];if((b.match(/=/g)||[]).length>1)return a.G=!1,a.A;var c=b.indexOf("=");c!=-1?(a.A.push(b.substr(0,c)),a.A.push(b.substr(c+1))):a.A.push(b);return a.A}a.A=
b.split("/");b=a.A.length;b>2&&a.A[0]=="u"&&(fX(a,a.A[0]+"/"+a.A[1]),a.A.shift(),a.A.shift(),b-=2);if(b==0||b==4||b>7)return a.G=!1,a.A;if(b==2)fX(a,a.A[0]);else if(a.A[0]=="image")fX(a,a.A[0]);else if(b==7||b==3)return a.G=!1,a.A;if(b<=3){a.aa=!0;b==3&&(fX(a,a.A[1]),a.A.shift(),--b);--b;c=a.A[b];const d=c.indexOf("=");d!=-1&&(a.A[b]=c.substr(0,d),a.A.push(c.substr(d+1)))}}return a.A};eX.prototype.Dd=function(){gX(this);return this.G};
var hX=function(a){gX(a);return a.aa},iX=function(a){gX(a);return a.U},jX=function(a){gX(a);a.B==void 0&&(a.B=null);return a.B},kX=function(a){switch(gX(a).length){case 7:return!0;case 6:return jX(a)==null;case 5:return!1;case 3:return!0;case 2:return jX(a)==null;case 1:return!1;default:return!1}},lX=function(a,b){if(iX(a))a:{switch(b){case 7:b=0;break;case 4:if(!kX(a)){a=null;break a}b=1;break;default:a=null;break a}a=gX(a)[b]}else if(hX(a))a:{var c=jX(a)!=null?1:0;switch(b){case 6:b=c;break;case 4:if(!kX(a)){a=
null;break a}b=1+c;break;default:a=null;break a}a=gX(a)[b]}else a:{c=jX(a)!=null?1:0;switch(b){case 0:b=c;break;case 1:b=1+c;break;case 2:b=2+c;break;case 3:b=3+c;break;case 4:if(!kX(a)){a=null;break a}b=4+c;break;case 5:b=kX(a)?1:0;b=4+c+b;break;default:a=null;break a}a=gX(a)[b]}return a};eX.prototype.getOptions=function(){this.I==void 0&&(this.I=lX(this,4));return this.I};var YP=class{parse(a,b=!1){return new WP(a,b)}},WP=class extends eX{constructor(a,b=!1){super(a,b)}};_.at($P,VP);var XP;$P.prototype.Dd=function(){return this.A.Dd()};
$P.prototype.Ka=function(){if(!this.A.Dd())return this.A.D;var a=$P.va.Ka.call(this),b=[];jX(this.A)!=null&&b.push(jX(this.A));const c=iX(this.A);if(hX(this.A)){var d=this.A;d.Y==void 0&&(d.Y=lX(d,6));b.push(d.Y+(a?"="+a:""))}else if(c){d=b.push;var e=this.A;e.M===void 0&&(e.M=lX(e,7));d.call(b,e.M);a&&b.push(a)}else d=b.push,e=this.A,e.X==void 0&&(e.X=lX(e,0)),d.call(b,e.X),d=b.push,e=this.A,e.da==void 0&&(e.da=lX(e,1)),d.call(b,e.da),d=b.push,e=this.A,e.S==void 0&&(e.S=lX(e,2)),d.call(b,e.S),d=
b.push,e=this.A,e.ea==void 0&&(e.ea=lX(e,3)),d.call(b,e.ea),a&&b.push(a),a=b.push,d=this.A,d.R==void 0&&(d.R=lX(d,5)),a.call(b,d.R);b=c?b.join("="):b.join("/");b=SS(this.I+this.H+"/"+b+(this.G?"?"+this.G:"")).toString();b.startsWith("%3a//")&&(b=b.replace("%3a//","://"));return b};var mX=new _.F("FC_DATA_BATCHING_ENABLED",{V:"root",J:()=>!1});var nX=class{constructor(a){this.B=a}A(a){var b={Pf:a.sa(),request:a.B()||null};var c=hW(this.B,b);if(c=c==null?null:c.data){if(Array.isArray(c))c=new (a.sa().D)(c);else{var d=a.sa().D;c=_.fe(d,c)}c=a.sa().H(c);d=this.B;const e=fW(d,b);e&&(d.K.A&&d.A.delete(e),_.jW?d.D.delete(e)&&(d.G.push(e),b=document.getElementsByClassName(e),b.length===1&&b.item(0).remove()):(d.D.delete(b),d.G.push(e)));b=_.LI(c);return _.LI(new _.iJ(a,b,1))}return _.LI(new _.iJ(a,null,0))}};var oX=new _.Kz("xOU1xf","xOU1xf");var iQ=class{constructor(){this.B=new Map}A(a,b){const c=a.B().serialize(),d=dQ(a.sa()),e=a.A(_.MG),f=e&&this.B.get(e)||pT();e&&this.B.set(e,f);b=b.then(g=>{const h=g.B.serialize(),k=_.BK(f,1),l=document.createEvent("CustomEvent");l.initCustomEvent("protoshop-wizrpc-executed",!0,!0,{uo:k,Pp:d,request:c,response:h});document.dispatchEvent(l);return g});a=kT(a,f);return _.AM(a,b)}};var pX=class{constructor(a){this.A=a.get(_.CK)}stream(a){var b=a.sa();const c=_.UN(a);var d=a.A(_.TG);Object.assign(c,d);var e=a.A(_.VG)||new Map;d=this.A;a=a.B();e=Object.fromEntries(e);var f=b.getName();f=mT[f];b=b.D;if(!((b==null?void 0:b.prototype)instanceof _.S))throw Error();b=b[_.pc]||(b[_.pc]=_.qc(b));return mP(d,a,c,e,f,b)}};var qX=new _.Kz("yYaL7d","yYaL7d",[_.CK]);var rX=class{constructor(a){this.A=a}fetch(a){return aQ(()=>this.A.fetch(a))}ua(a){return aQ(()=>this.A.ua(a))}};var sX=new _.Kz("V7tC0e","V7tC0e");var tX=typeof Symbol==="function"&&Symbol.observable||"@@observable",uX=class{constructor(a){this.A=a}[tX](){return this}subscribe(a){const b=this.A();b.on("data",c=>{let d;(d=a.next)==null||d.call(a,c)});b.on("error",c=>{a.error?a.error(c):setTimeout(()=>{throw c;},0)});b.on("end",()=>{let c;(c=a.complete)==null||c.call(a)});return{unsubscribe(){try{b==null||b.cancel()}catch(c){}}}}};var vX=class{constructor(a){this.A=new pX(a)}stream(a){return new uX(()=>this.A.stream(a))}};var yX=new _.F("ImmutableGenericDataInterface",{V:"root",J:()=>{const a=_.E(wX);_.xX();return vQ(a)}});new _.F("ObservableDataInterface",{V:"root",J:()=>{var a=_.E(wX);_.xX();if(a.A[oX]||a.M[oX])a=a.get(oX);else{var b=vQ(a);b=new rX(b);uQ(a,oX,b);a=b}return a}});_.xX=()=>{};new _.F("DataStreamingInterface",{V:"root",J:()=>{const a=_.E(wX),b=new pX(a);uQ(a,qX,b);return b}});new _.F("SubscribableDataStreamingInterface",{V:"root",J:()=>{const a=_.E(wX),b=new vX(a);uQ(a,sX,b);return b}});
var wX=new _.F("DefaultDataAppContext",{V:"root",J:()=>{const a=(_.Fn(),new HW),b=_.E(mX,{optional:!0});if(_.v.kn||_.v.jn){const c=new vP;c.initialize();_.HN(new nX(c),eT);uQ(a,WV,c)}sQ(a,!!b);return a}});var LR={colorMode:"unspecified",font:"Unspecified",roundness:0,preset:"",customColor:"",saturation:0,headlineFont:"Unspecified",bodyFont:"Unspecified",labelFont:"Unspecified",colorVariant:"unspecified",overridePrimaryColor:void 0,overrideSecondaryColor:void 0,overrideTertiaryColor:void 0,overrideNeutralColor:void 0,description:"",namedColors:{},designMd:""};var zX=function(a){return _.H(function*(){try{return yield _.ci(a)}catch(b){throw qS(b);}})},AX=function(a){const b=new UU;return zX(_.ti(()=>a.A.fetch($U.W(b))).pipe(_.J(c=>c)))},BX=function(a,b,c,d,e,f){const g=TV(SV(new UV,VU(new ZU,b)));c!==void 0&&(tT(_.O(g,rT,2),"marketing_email_opt_in_status"),WU(_.O(g,ZU,1),c?1:2));d!==void 0&&(tT(_.O(g,rT,2),"uxr_contact_opt_in_status"),XU(_.O(g,ZU,1),d?1:2));e!==void 0&&(tT(_.O(g,rT,2),"stitch_informative_opt_in_status"),YU(_.O(g,ZU,1),e?1:2));RP(g,3,f!=
null?f:!0);return zX(_.ti(()=>a.A.ua(VV.W(g))).pipe(_.J(h=>h)))},CX=function(a,b){b=DQ(new GQ,zQ(b));const c=iU(b);return zX(_.ti(()=>a.A.ua(jU.W(c))).pipe(_.J(d=>d)))},DX=function(a,b){const c=OU(new PU,b);return zX(_.ti(()=>a.A.fetch(QU.W(c))).pipe(_.J(d=>d)))},EX=function(a,b){const c=xU(new yU,b);return zX(_.ti(()=>a.A.ua(zU.W(c))).pipe(_.J(()=>{})))},FX=function(a,b){const c=LV(KV(new MV,b));return zX(_.ti(()=>a.A.ua(NV.W(c))).pipe(_.J(d=>d)))},GX=function(a,b){const c=PV(OV(new QV,b));return zX(_.ti(()=>
a.A.ua(RV.W(c))).pipe(_.J(d=>d)))},HX=function(a,b){const c=bU(new cU,b.screenName);b.destProjectId&&_.U(c,2,b.destProjectId);return zX(_.ti(()=>a.A.ua(dU.W(c))).pipe(_.J(d=>_.O(d,FR,1))))},IX=function(a,b,c,d=0){const e=HU(FU(new IU,b),c).setOptions(DU(new EU,d));return zX(_.ti(()=>a.A.fetch(KU.W(e))).pipe(_.J(f=>{let g;return`data:${((g=_.O(f,JU,2))==null?void 0:_.R(g,3))||"image/png"};base64,${_.R(f,3)}`})))},JX=function(a,b){const c=FU(new IU,b);return zX(_.ti(()=>a.A.fetch(KU.W(c))).pipe(_.J(d=>
_.R(d,3))))},KX=function(a,b=!1){const c=iV(new jV,b);return zX(_.ti(()=>a.A.fetch(kV.W(c))).pipe(_.J(d=>WS(d,GQ,1))))},LX=function(a,b,c,d,e,f,g,h,k,l,m="unspecified",n,r,p,q){c=mU((new nU).setPrompt(c),UR(d));e!==void 0&&LQ(c,3,e?1:2);f!==void 0&&LQ(c,3,MQ(f));if(g.length)for(var u of g)e=cS(new TQ,u),_.bu(c,4,TQ,e);else h&&(u=bS(aS(new TQ,h.downloadUrl),h.name),_.bu(c,4,TQ,u));(k==null?0:k.length)&&lU(c,k.map(w=>OQ(w)));(q==null?0:q.length)&&QO(c,11,q,void 0,void 0,!0);k=new MT;q=new MT;u=new URLSearchParams(window.location.search);
for(const [w,z]of u)u=w,e=z,u.startsWith("compare.")?OO(q,1,NT).set(u.substring(8),PT(e)):OO(k,1,NT).set(u,PT(e));if(l)for(const [w,z]of Object.entries(l))l=w,u=z,l.startsWith("compare.")?OO(q,1,NT).set(l.substring(8),PT(u)):OO(k,1,NT).set(l,PT(u));c.setOptions(k);_.L(c,9,q);_.gN(c,8,p);n!==void 0&&kU(c,NQ(n));r!==void 0&&_.U(c,12,r);m=oU(new pU,TR(m)).Nd(c);const y=rU(qU(new sU,b),m);return zX(_.ti(()=>a.A.ua(tU.W(y))).pipe(_.J(w=>w)))},MX=function(a,b){const c=AU(new BU,b);return zX(_.ti(()=>a.A.ua(CU.W(c))).pipe(_.J(()=>
{})))},NX=function(a,b,c=!1){const d=qV(pV(new rV,b),c);return zX(_.ti(()=>a.A.fetch(sV.W(d))).pipe(_.J(e=>WS(e,pU,1))))},OX=function(a,b){const c=mV(lV(new nV,b));return zX(_.ti(()=>a.A.fetch(oV.W(c))).pipe(_.J(d=>WS(d,FR,1))))},PX=function(a,b){const c=aV(new bV,b);return zX(_.ti(()=>a.A.ua(cV.W(c))).pipe(_.J(()=>{})))},QX=function(a,b,c){const d=DV(CV(new EV,b),c);return zX(_.ti(()=>a.A.ua(FV.W(d))).pipe(_.J(()=>{})))},RX=function(a,b){const c=new zV;if(wV(b))XS(c,1,AV,b);else if(yV(b))XS(c,2,
AV,b);else if(uV(b))XS(c,3,AV,b);else throw console.error("Unknown event type provided to registerClientEvent"),Error("gc");return zX(_.ti(()=>a.A.ua(BV.W(c))).pipe(_.J(()=>{})))},SX=function(a,b,c){const d=UT(TT(new VT,b),c.map(e=>{var f=new ST;return _.L(f,1,e)}));return zX(_.ti(()=>a.A.ua(XT.W(d))).pipe(_.J(e=>WS(e,WT,2).map(HR))))},TX=function(a,b,c){const d=ZT(YT(new $T,b),c);return zX(_.ti(()=>a.A.ua(aU.W(d))).pipe(_.J(e=>_.R(e,2))))},UX=function(a){const b=new LU;return zX(_.ti(()=>a.A.ua(NU.W(b))).pipe(_.J(c=>
_.O(c,MU,1))))},VX=function(a){const b=new gV;return zX(_.ti(()=>a.A.fetch(hV.W(b))).pipe(_.J(c=>WS(c,MU,1))))},WX=function(a,b){const c=uU(new vU,b);return zX(_.ti(()=>a.A.ua(wU.W(c))).pipe(_.J(()=>{})))},XX=function(a,b){const c=eV();b&&_.U(c,1,b);return zX(_.ti(()=>a.A.fetch(fV.W(c))).pipe(_.J(d=>WS(d,BR,1))))},YX=function(a,b,c){b=RT(new BR,b);const d=fU(b);c&&_.U(d,2,c);return zX(_.ti(()=>a.A.ua(gU.W(d))).pipe(_.J(e=>e)))},ZX=function(a,b,c){b=RT(QT(new BR,b),c);const d=IV(HV(b));return zX(_.ti(()=>
a.A.ua(JV.W(d))).pipe(_.J(e=>e)))},$X=class{constructor(){this.A=_.E(yX)}getSession(a){const b=RU(new SU,a);return zX(_.ti(()=>this.A.fetch(TU.W(b))).pipe(_.J(c=>c)))}};$X.P=function(a){return new (a||$X)};$X.T=_.B({token:$X,J:$X.P,V:"root"});var aY;delete _.Pm.acBuild;_.Pm.acBuild=()=>{let a;return(a=aY)!=null?a:"unknown"};var bY=function(a){return _.H(function*(){try{return yield _.ci(a)}catch(b){throw qS(b);}})},cY=function(a){const b=new pW;return bY(_.ti(()=>a.A.fetch(qW.W(b))).pipe(_.J(c=>_.R(c,1))))},dY=function(a,b,c,d){const e=new kW;_.U(e,1,b);c&&_.gN(e,2,c);d&&_.gN(e,3,d);return bY(_.ti(()=>a.A.fetch(lW.W(e))).pipe(_.J(f=>_.R(f,1))))},eY=function(a,b){const c=new nW;for(const d of b)b=new mW,_.U(b,1,d.html),d.width&&_.gN(b,2,d.width),d.height&&_.gN(b,3,d.height),d.title&&_.U(b,4,d.title),_.bu(c,1,mW,b);return bY(_.ti(()=>
a.A.fetch(oW.W(c))).pipe(_.J(d=>_.R(d,1))))},fY=class{constructor(){this.A=_.E(yX)}};fY.P=function(a){return new (a||fY)};fY.T=_.B({token:fY,J:fY.P,V:"root"});var gY=function(a){return _.H(function*(){try{return yield _.ci(a)}catch(b){throw rS(b);}})},hY=function(a,b){return _.H(function*(){const c=yT(xT(new zT,b),uT(wT(),sT(["person.photo"])));let d,e,f;return(e=(d=IT(yield gY(_.ti(()=>a.A.fetch(KT.W(c))).pipe(_.J(g=>g))))[0])==null?void 0:_.O(d,GT,3))==null?void 0:(f=WS(e,FT,4)[0])==null?void 0:_.mc(_.ss(f,2))})},iY=function(a,b){return _.H(function*(){const c=yT(xT(new zT,b),uT(wT(),sT(["person.metadata","person.metadata.best_display_name"])));let d,
e;return(e=(d=IT(yield gY(_.ti(()=>a.A.fetch(KT.W(c))).pipe(_.J(f=>f))))[0])==null?void 0:_.O(d,GT,3))==null?void 0:BT(DT(_.Zt(e,ET,2)))})},jY=class{constructor(){this.A=_.E(yX)}};jY.P=function(a){return new (a||jY)};jY.T=_.B({token:jY,J:jY.P,V:"root"});var FS=function(){var a=new HS;return _.K(a,1,!0)},HS=class extends _.S{constructor(a){super(a)}};var xS=class extends _.S{constructor(a){super(a)}getName(){return _.R(this,1)}};var uS=class extends _.S{constructor(a){super(a)}};var tS=class extends _.S{constructor(a){super(a)}},vS=[1,4];var BS=class extends _.S{constructor(a){super(a)}};var GS=class extends _.S{constructor(a){super(a)}};var ES=_.ee(GS);var zS=class extends _.S{constructor(a){super(a)}};var DS=new Map([[0,0],[1,1],[2,2],[3,3]]);var kY=class extends _.S{constructor(a){super(a)}};var lY=class extends _.S{constructor(a){super(a)}};var mY=class extends _.S{constructor(a){super(a)}getName(){return _.R(this,1)}},nY=[4,5,6];var pY=function(){var a=new oY;a=_.U(a,1,"lynx");var b=new _.vM;b=_.KS(b,1,0);a=_.L(a,4,b);b=new _.vM;b=_.KS(b,1,360);a=_.L(a,10,b);b=new Map([["enable_bash_session_tool",!0],["enable_memory",!0],["enable_thinking",!0],["use_gemini_api",!0],["use_simple_agent_context",!0]]);ZR(a,11);if(b){_.kd(a);var c=b.forEach;var d=OO(a,11,void 0,JO);c.call(b,PO,d)}return a},oY=class extends _.S{constructor(a){super(a)}};var qY=function(a,b){return _.U(a,1,b)},rY=function(a){return _.U(a,7,"")},tY=function(a,b){return XS(a,3,sY,b)},vY=function(a,b){return _.Ut(a,5,uY,_.lc(b))},xY=function(a,b){return _.Ut(a,11,wY,_.lc(b))},yY=function(a){var b=new kY;b=LQ(b,1,8);return _.L(a,10,b)},zY=class extends _.S{constructor(a){super(a)}},sY=[3,12],uY=[5,6],wY=[9,11];var AY=new nT("Rja83d",class extends _.S{constructor(a){super(a)}},[_.QG,!1,_.SG,"/SweBotService.CreateTask"]);var BY=class extends _.S{constructor(a){super(a)}};var CY=class extends _.S{constructor(a){super(a)}};var DY=new nT("YqkSHd",class extends _.S{constructor(a){super(a)}},[_.QG,!0,_.SG,"/SweBotService.ListSources"]);var EY=function(a){return _.H(function*(){try{return yield _.ci(a)}catch(b){throw rS(b);}})},FY=function(a,b,c,d,e){const f=pY(),g=vY(xY(tY(yY(rY(qY(new zY,b))),f),d),c);e&&_.au(g,13,e);return EY(_.ti(()=>a.A.ua(AY.W(g))).pipe(_.J(h=>_.R(h,1))))},GY=function(a){const b=new BY;return EY(_.ti(()=>a.A.fetch(DY.W(b))).pipe(_.J(c=>WS(c,CY,1).map(d=>CS(d)).filter(d=>!!d))))},HY=class{constructor(){this.A=_.E(yX)}};HY.P=function(a){return new (a||HY)};HY.T=_.B({token:HY,J:HY.P,V:"root"});var IY={MSG_ACCOUNT_MENU_TERMS_PRIVACY_LINK:"Terms & Privacy",MSG_ACCOUNT_MENU_THIRD_PARTY_NOTICES_LINK:"Third Party Notices",MSG_ACCOUNT_MENU_TITLE:"Account Menu",MSG_AIS_PROMPT_SUFFIX:" You can hotlink images from the html",MSG_AI_STUDIO:"AI Studio",MSG_ANNOTATIONS_DISCARD_DRAFT_DIALOG_DESCRIPTION:"You have annotations that will be lost if you exit. Are you sure want to exit?",MSG_ANNOTATIONS_DISCARD_DRAFT_DIALOG_TITLE:"Draft will be discarded",MSG_ANNOTATIONS_EDIT_BUTTON:"Annotate",MSG_ANNOTATIONS_LOADING_SCREENSHOT:"Preparing the canvas...",
MSG_ANNOTATIONS_SCREENSHOT_ERROR:"Failed to load screen for annotations. Please try again later.",MSG_ANNOTATIONS_TOOLTIP_DISCLAIMER:"Note: During the preview period, the resulting screen will not exportable to code",MSG_ANNOTATIONS_TOOLTIP_DISMISS:"Okay, got it!",MSG_ANNOTATIONS_TOOLTIP_FEEDBACK:"Please let us know what you think",MSG_ANNOTATIONS_TOOLTIP_INTRO:"You are getting a preview of Annotation Editing, powered by Nano Banana \ud83c\udf4c.",MSG_API_KEY_ABUSE_DETECTION_DESCRIPTION:"For your protection, we automatically disable any API keys found to be publicly exposed to prevent abuse.",
MSG_API_KEY_ABUSE_DETECTION_TITLE:"Abuse auto-detection on",MSG_API_KEY_COPIED_SUCCESS:"Copied to clipboard",MSG_API_KEY_COPY_FAILED:"Failed to copy",MSG_API_KEY_COPY_TOOLTIP:"Copy key",MSG_API_KEY_CREATED_SUCCESS:"API key created successfully!",MSG_API_KEY_CREATE_BUTTON:"Create key",MSG_API_KEY_CREATE_FAILED:"Failed to create API key",MSG_API_KEY_CREATE_MAX_KEYS_ERROR:"You have reached the maximum number of API keys.",MSG_API_KEY_CREATING_BUTTON:"Cutting your key",MSG_API_KEY_DELETED_SUCCESS:"API key deleted successfully!",
MSG_API_KEY_DELETE_DIALOG_DESCRIPTION:"Are you sure you want to delete this API key?",MSG_API_KEY_DELETE_DIALOG_TITLE:"Delete API key",MSG_API_KEY_DELETE_FAILED:"Failed to delete API key",MSG_API_KEY_DELETE_TOOLTIP:"Delete API key",MSG_API_KEY_DISCLAIMER:"Your use of the Stitch API is governed by the Google Terms and Use Policy, and the Google APIs Terms, and your Stitch settings. The Stitch [Privacy Notice](/privacy) describes how your data is handled",MSG_API_KEY_DOCS:"For information about how to use the API, see the [API documentation](/docs/mcp/setup).",
MSG_API_KEY_FETCH_FAILED:"Failed to get API keys",MSG_API_KEY_FOOTER_NOTE:"Remember to use your API keys securely. Don't share or embed them in public code.",MSG_API_KEY_LAST_USED_NEVER:"Never",MSG_API_KEY_NO_KEYS_MESSAGE:"No keys to display",MSG_API_KEY_SECTION_TITLE:"API key",MSG_API_KEY_TABLE_HEADER_CREATED:"Created at",MSG_API_KEY_TABLE_HEADER_KEY:"API key",MSG_API_KEY_TABLE_HEADER_LAST_USED:"Last used",MSG_APPLY:"Apply",MSG_ASPECTS_TO_VARY:"Aspects to vary",MSG_ATTACH_MENU_WEBSITE_URL:"Website URL",
MSG_BUILDING_TEXT:"Building...",MSG_BUILD_WITH_AI_STUDIO:"Build with AI Studio",MSG_CANCEL:"Cancel",MSG_CHANGES_SAVED:"Changes saved",MSG_CHANGES_SAVED_EXCLAMATION:"Changes saved!",MSG_CHAT_PANEL_DISCLAIMER:"Stitch can make mistakes. Please check its work.",MSG_CHAT_PANEL_PLACEHOLDER:"Describe your design",MSG_CLOSE_BUTTON:"Close",MSG_COMMAND_ADD_TO_CHAT:"Add to Chat",MSG_COMMAND_APP_STORE_SCREENS:"App Store Assets",MSG_COMMAND_CODE_VERSION:"Code version",MSG_COMMAND_DESIGN_SYSTEM:"Design System",
MSG_COMMAND_DIRECT_EDIT:"Edit",MSG_COMMAND_EDIT_PROTOTYPE:"Edit Prototype",MSG_COMMAND_PITCHDECK:"Pitchdeck",MSG_COMMAND_PREDICTIVE_HEATMAP:"Predictive Heatmap",MSG_COMMAND_PROTOTYPE:"Prototype",MSG_COMMAND_PROTOTYPE_HINT_DISABLED:"Create an interactive Prototype by selecting more than one screen",MSG_COMMAND_PROTOTYPE_HINT_LABEL:"Prototype (select >1 screens)",MSG_COMMAND_REGENERATE:"Regenerate",MSG_COMMAND_UPDATE_SCREEN_TO_LATEST_DESIGN_SYSTEM:"Update to Latest Design System",MSG_COMMAND_WEB_ASSETS:"Web Assets",
MSG_CONTEXT_MENU_ADD_NOTE:"Add Note",MSG_CONTEXT_MENU_COPY:"Copy",MSG_CONTEXT_MENU_DELETE:"Delete",MSG_CONTEXT_MENU_DOWNLOAD:"Download",MSG_CONTEXT_MENU_DUPLICATE:"Duplicate",MSG_CONTEXT_MENU_EDIT_THEME:"Edit Theme",MSG_CONTEXT_MENU_FORMAT:"Format",MSG_CONTEXT_MENU_GENERATE_OPTIONS:"Variations",MSG_CONTEXT_MENU_PASTE:"Paste",MSG_CONTEXT_MENU_PROMOTE_TO_GLOBAL:"Promote to Global",MSG_CONTEXT_MENU_UPLOAD_FILE:"Upload file",MSG_CONVERT:"Convert",MSG_CONVERTING:"Converting...",MSG_COPIED:"Copied",MSG_COPIED_AS_PNG:"Copied as PNG",
MSG_COPIED_CODE:"Copied as code",MSG_COPIED_LINK:"Copied link",MSG_COPY:"Copy",MSG_COPYING_TEXT:"Copying...",MSG_COPY_BUTTON:"Copy",MSG_COPY_CODE_FAILED:"Could not copy the code. Please try again later.",MSG_COPY_CODE_PERMISSION_NEEDED:"Could not copy the code. Please grant clipboard permission in your browser settings and try again.",MSG_COPY_FIGMA_FAILED:"Could not copy the design. Please try again later.",MSG_COPY_HTML_TO_CLIPBOARD:"Code to Clipboard",MSG_COPY_TO_FIGMA_TOOLTIP:"Copy to Figma",
MSG_CREATE_DEVICE_TYPE_DESKTOP:"Desktop",MSG_CREATE_DEVICE_TYPE_MOBILE:"App",MSG_CREATE_DEVICE_TYPE_SELECT:"Device",MSG_CREATE_DEVICE_TYPE_WEB:"Web",MSG_CREATE_GENERATE_DESIGNS_BUTTON:"Generate designs",MSG_CREATE_NEW_DESIGN_HEADER:"New Project",MSG_CREATE_NEW_DESIGN_IN_MODE_HEADER:"Start a new design",MSG_CREATE_NEW_DESIGN_IN_MODE_HEADER_PART1:"Start a new",MSG_CREATE_NEW_DESIGN_IN_MODE_HEADER_PART2:"design",MSG_CREATE_PROMPT_PLACEHOLDER:"Describe your design",MSG_CREATE_TASK:"Create Task",MSG_CREATE_TRY_PROMPTS_HEADER:"Try these prompts",
MSG_CREATE_VARIANTS_PROMPT:"Generate variations",MSG_CREATING_TEXT:"Creating...",MSG_CREATING_VARIANTS_ERROR:"Failed to create variants. Please try again later.",MSG_CREATING_VARIANTS_TOAST:"Creating variations",MSG_CREATIVE_RANGE:"Creative range",MSG_CREATIVE_RANGE_EXPLORE:"Explore",MSG_CREATIVE_RANGE_EXPLORE_TOOLTIP:"Be creative, but nothing crazy",MSG_CREATIVE_RANGE_REFINE:"Refine",MSG_CREATIVE_RANGE_REFINE_TOOLTIP:"Offer options with more subtle changes",MSG_CREATIVE_RANGE_REIMAGINE:"Reimagine",
MSG_CREATIVE_RANGE_REIMAGINE_TOOLTIP:"Open your mind to very varied options",MSG_CRITIQUE_CONSISTENCY_LABEL:"Critique Consistency",MSG_CRITIQUE_UX_FLOW_LABEL:"UX Flow Critique",MSG_CUSTOM_INSTRUCTIONS:"Custom instructions",MSG_DAILY_CREDITS:"Daily Credits",MSG_DEFAULT_PROMPT_BUILD_APP:"Build me an app with screens that look like this.",MSG_DELETED_DESIGN_TOAST:"Your design has been deleted",MSG_DELETED_SCREEN_TOAST:"Deleted",MSG_DELETE_BUTTON:"Delete",MSG_DELETE_DESIGN_BUTTON:"Delete Project",MSG_DELETE_DESIGN_DIALOG_DESCRIPTION:"Are you sure you want to permanently delete this design? This action cannot be undone.",
MSG_DELETE_SESSION_TOAST:"Delete this request",MSG_DELETING_DESIGN_STATUS:"Deleting...",MSG_DESIGN_COPIED_TOAST:'Design copied to clipboard. Press "Cmd+V" or "Ctrl+V" in Figma to paste.',MSG_DESIGN_MD_LABEL:"DESIGN.md",MSG_DESIGN_SYSTEM_NOT_FOUND:"Design system not found",MSG_DEVICE_DESKTOP:"Desktop",MSG_DEVICE_MOBILE:"Mobile",MSG_DEVICE_TABLET:"Tablet",MSG_DISCORD:"Discord",MSG_DISMISS_BUTTON:"Dismiss",MSG_DOWNLOAD:"Download",MSG_DOWNLOAD_ALL:"Download Project",MSG_DUPLICATED:"Duplicated",MSG_DUPLICATE_BUTTON_LABEL:"Duplicate",
MSG_DUPLICATE_LOADING_TOAST:"Duplicating this project.",MSG_DUPLICATE_MENU_LABEL:"Duplicate Project",MSG_DUPLICATE_MODAL_TEXT:"This will create a new project with all the screens and content from the current project. Are you sure you want to continue?",MSG_EDIT:"Edit",MSG_ERROR_GO_TO_HOMEPAGE_LINK:"Go to Homepage",MSG_ERROR_NOT_FOUND_HEADING:"Oops! Page Not Found.",MSG_ERROR_SAVING:"Error saving",MSG_ERROR_UNAVAILABLE_HEADING:"Sorry, Stitch is unavailable.",MSG_ERROR_UPDATE_SETTINGS_FAILED:"Unable to update settings, please try again later",
MSG_EXAMPLE_PROJECT_BANNER:"This is an example project",MSG_EXAMPLE_USER_LABEL:"Example user",MSG_EXIT:"Exit",MSG_EXPORT_AIS_DISCLOSURE:"You are about to export your Stitch data to Google AI Studio. Once in AI Studio, your content will be governed by the [AI Studio Terms of Service](https://ai.google.dev/terms) and [Generative AI Prohibited Use Policy](https://policies.google.com/terms/generative-ai/use-policy).",MSG_EXPORT_BUTTON:"Export",MSG_EXPORT_JULES_DISCLOSURE:"Your content will be sent to Jules automatically when you use this feature. Processing is subject to the [Jules Privacy Notice](https://jules.google.com/privacy), [Google Terms of Service](https://policies.google.com/terms), and [Jules privacy settings](https://jules.google.com/settings) you have chosen.",
MSG_EXPORT_PANEL_TITLE:"Export",MSG_EXPORT_SCREEN_LIMIT:"Export is limited to 16 screens. Please deselect some screens to continue.",MSG_EXPORT_TO_AI_STUDIO_PANEL_DETAIL:"AI studio will open and html and image files will download in the background. It may take a minute or two to export many screens.",MSG_FAILED_CREATE_PROJECT:"Failed to create project, Please try again later.",MSG_FAILED_THEME_UPDATE:"Failed to update theme, Please try again later.",MSG_FAILED_TO_COPY_CODE:"Failed to copy code",MSG_FAILED_TO_COPY_LINK:"Failed to copy link",
MSG_FAILED_TO_COPY_PNG:"Failed to copy PNG",MSG_FAILED_TO_SUBMIT_FEEDBACK:"We ran into an issue while submitting feedback, please try again soon",MSG_FALLBACK_USER_LABEL:"You",MSG_FAQ_A1:"Stitch is an AI-powered tool to help application builders generate high-quality user interfaces for mobile and web apps, and easily export them to Figma, or directly access the frontend code. It uses some of the latest AI models from Google DeepMind.",MSG_FAQ_A2:"Stitch is available for free of charge with certain usage limits. Each user receives a monthly allowance of 350 generations using Standard mode and 200 generations using Experimental mode. Please note that these limits are subject to change.",
MSG_FAQ_A3:'Your account will be temporarily unable to generate until your monthly limits reset for the new month. For further inquiries, please <a rel="noopener noreferrer" target="_blank" href="https://forms.gle/rGfNjvctxc3xtyp18">fill out this form</a> reach out to us on X at <a rel="noopener noreferrer" target="_blank" href="https://x.com/stitchbygoogle">@stitchbygoogle</a>.',MSG_FAQ_A4:"We\u2019re working to bring our tools to as many people as possible. The site is currently available in English only to 18+ users in 212 countries.",
MSG_FAQ_A5:'Google does not claim ownership over original designs or code that you generate with Stitch, as detailed in the <a rel="noopener noreferrer" target="_blank" href="https://policies.google.com/terms#toc-content">Google Terms of Service</a>: "Some of our services allow you to generate original content. Google won\u2019t claim ownership over that content." You are responsible for fully reviewing and complying with the terms.',MSG_FAQ_A6:"Yes, if you are a former Galileo AI user, you can upload your conversation history via the settings page. This will allow you to access and view your past conversations with Galileo. Please note that you will not be able to continue these imported conversations within Stitch.",
MSG_FAQ_A7:'For any inquiry, contact us on X at <a rel="noopener noreferrer" target="_blank" href="https://x.com/stitchbygoogle">@stitchbygoogle</a>',MSG_FAQ_Q1:"What is Stitch?",MSG_FAQ_Q2:"Is Stitch free of charge?",MSG_FAQ_Q3:"What happens if I exceed my monthly limits?",MSG_FAQ_Q4:"Where is Stitch available?",MSG_FAQ_Q5:"Can I use designs generated from Stitch for commercial purposes?",MSG_FAQ_Q6:"Can I import data from Galileo AI?",MSG_FAQ_Q7:"I want to get in touch with the Stitch team, how can I reach out?",
MSG_FEEDBACK_IMPROVEMENT_QUESTION:"What needs to be improved?",MSG_FEEDBACK_SENDING:"Sending...",MSG_FEEDBACK_SENSITIVE_INFO_DISCLAIMER:"Do not include any sensitive or personal information.",MSG_FEEDBACK_SUBMITTED:"Feedback sent",MSG_FEEDBACK_THANKS:"Thanks for your feedback!",MSG_FEEDBACK_VARIANTS_PLACEHOLDER:"What did you like or dislike about these variants? (e.g. text, layout, colors)",MSG_FEEDBACK_VARIANTS_SUBTITLE:"Help us improve these designs",MSG_FEEDBACK_VARIANTS_SUGGESTED_ACTION:"How are the variants that I generated? Feedback helps improve this feature.",
MSG_FEEDBACK_VARIANTS_SUGGESTED_ACTION_BUTTON:"Rate the designs",MSG_FEEDBACK_VARIANTS_TITLE:"Provide feedback on the generated variants",MSG_FIGMA:"Figma",MSG_FIGMA_EXPORT_DESCRIPTION:"Your HTML will be sent to code.to.design and processed according to their [Terms of Service](https://divriots.com/legal/code.to.design/terms) and [Privacy Policy](https://divriots.com/legal/code.to.design/privacy)",MSG_FIGMA_EXPORT_DISABLED_IMAGE_UPLOAD:"Figma Export not available yet with the upload image feature",
MSG_FIGMA_EXPORT_DISABLED_IMPORTED_PROJECTS:"Figma Export not available for imported projects",MSG_FIGMA_EXPORT_DISABLED_STANDARD_MODE_ONLY:"Figma export only available in Standard Mode",MSG_FILE_UPLOAD_INVALID_TYPE:"Only image (JPG, PNG) and text (html, txt, md) files are supported",MSG_GENIE_LOCKED_TOOLTIP:"Locked during ideation",MSG_GENIE_PROMPT_PLACEHOLDER:"Bring a problem to solve and see solutions.",MSG_GO_TO_ALL_DESIGNS:"Go to all projects",MSG_HELP:"Help",MSG_HOMEPAGE_AFTER_LABEL:"After",
MSG_HOMEPAGE_BANNER_EXPORT_AI_STUDIO:"New feature! Export to **Google AI Studio**",MSG_HOMEPAGE_BEFORE_LABEL:"Before",MSG_HOMEPAGE_EXAMPLE_GENERATE_ALT:"Create the next page",MSG_HOMEPAGE_EXAMPLE_GENERATE_PROMPT:"Create the page that people see when they click \u201cTech that connects\u201d",MSG_HOMEPAGE_EXAMPLE_GENERATE_TITLE:"Generate new pages, on brand",MSG_HOMEPAGE_EXAMPLE_MAGIC_EDIT_ALT:"Add a section.",MSG_HOMEPAGE_EXAMPLE_MAGIC_EDIT_PROMPT:"Add a section that asks \u201cwhat are you hungry for?\u201d Use emojis for responses :) ",
MSG_HOMEPAGE_EXAMPLE_MAGIC_EDIT_TITLE:"Magically edit your app",MSG_HOMEPAGE_EXAMPLE_REIMAGINE_ALT:"Redesigned site for a younger audience",MSG_HOMEPAGE_EXAMPLE_REIMAGINE_PROMPT:"Redesign this page for a younger audience ",MSG_HOMEPAGE_EXAMPLE_REIMAGINE_TITLE:"Reimagine your site for different audiences",MSG_HOMEPAGE_EXAMPLE_SOLVE_PROBLEMS_ALT:"Improve the number of conversions",MSG_HOMEPAGE_EXAMPLE_SOLVE_PROBLEMS_PROMPT:"Improve the number of users who add to cart ",MSG_HOMEPAGE_EXAMPLE_SOLVE_PROBLEMS_TITLE:"Solve business problems",
MSG_HOMEPAGE_INTRODUCING:"Introducing",MSG_HOMEPAGE_NEW_IN_STITCH:"New in Stitch",MSG_HOMEPAGE_REDESIGN_AGENT:"Redesign Agent",MSG_HOMEPAGE_REDESIGN_DESCRIPTION_PART1:"Redesign and edit your app with a screenshot or URL",MSG_HOMEPAGE_REDESIGN_DESCRIPTION_PART2:"With a little help from \ud83c\udf4c Pro",MSG_HOMEPAGE_SEE_IT_YOURSELF:"See it for yourself",MSG_HOMEPAGE_WATCH_DEMO:"Watch a demo",MSG_HOME_ABOVE_THE_FOLD_HEADING:"Design at the speed of AI",MSG_HOME_ABOVE_THE_FOLD_SUBHEADING:"Transform ideas into UI designs for mobile and web applications.",
MSG_HOME_AI_UI_BANNER_BODY:"Write a few words, attach an image and watch your UI come to life",MSG_HOME_AI_UI_BANNER_HEADING:"AI for your UI",MSG_HOME_AVAILABILITY_BODY:"Stitch makes UI creation incredibly simple. No matter your background or expertise, Stitch will help you bring your ideas to life.",MSG_HOME_AVAILABILITY_BUTTON_LABEL:"Start designing",MSG_HOME_AVAILABILITY_FOOTNOTE_L1:"*Available to 18+ users in select countries and territories.",MSG_HOME_AVAILABILITY_FOOTNOTE_L2:"Personal Google Account required.",
MSG_HOME_AVAILABILITY_HEADING_L1:"Available now",MSG_HOME_AVAILABILITY_HEADING_L2:"Free of charge",MSG_HOME_BUILD_WITH_GEMINI_BODY:"Leverage some of the latest AI models from Google DeepMind to generate designs.",MSG_HOME_BUILD_WITH_GEMINI_HEADING:"Build with Gemini",MSG_HOME_CODE_BODY:"Export static HTML code that matches the design and Figma export.",MSG_HOME_CODE_HEADING:"Export code",MSG_HOME_DASHBOARD_BUTTON:"Dashboard",MSG_HOME_DESIGN_CLOSEUP_IMAGE_ALT:"Closeup of mouse pointer adjusting a design",
MSG_HOME_EASY_EDITS_BODY:"Iterate and tweak designs to build an interface that works best for you.",MSG_HOME_EASY_EDITS_HEADING:"Easy edits",MSG_HOME_EASY_EDITS_IMAGE_ALT:"Scrolling through generated screens",MSG_HOME_FAQ_HEADING:"Questions?",MSG_HOME_GEMINI_SPARK_IMAGE_ALT:"Gemini spark",MSG_HOME_OWN_DESIGN_BODY:"Use your original generations as you see fit. Export designs to Figma to fiddle further or copy the code to use how you\u2019d like.",MSG_HOME_OWN_DESIGN_HEADING:"You can own your design",
MSG_HOME_SWIRLY_GRADIENT_ALT:"Swirly grainy gradient of pink, blues, purples, and black",MSG_HOME_TRY_NOW_BUTTON:"Try now",MSG_HOME_UI_STACK_IMAGE_ALT:"Stack of UI designs in perspective",MSG_HTML_COPIED_TOAST:"Code copied to clipboard",MSG_HTML_COPY_FAILED_TOAST:"Failed to copy HTML. Please try again.",MSG_IMAGES_UPLOADED:"Uploaded",MSG_IMAGE_SCREENS:"Image Screens",MSG_IMAGE_TO_CODE_TOAST:"Generating code... May take 3-5 minutes.",MSG_IMAGE_TO_CODE_TOAST_ERROR:"Code failed to generate",MSG_IMAGE_UPLOAD_GENERIC_ERROR:"File not allowed. Please try a different one.",
MSG_IMAGE_UPLOAD_INVALID_TYPE:"Only JPG and PNG are supported",MSG_IMAGE_UPLOAD_TOO_LARGE:"The file size must be 5MB or smaller",MSG_INLINE_CHAT_ERROR:"Failed to create. Please try again later.",MSG_INQUIRY_FORM_LINK:' For further inquiries please <a rel="noopener noreferrer" target="_blank" href="https://forms.gle/rGfNjvctxc3xtyp18">fill out this form</a>',MSG_JULES:"Jules",MSG_LEARN_MORE:"Learn more",MSG_LIGHTBOX_COPY_CODE_BUTTON:"Copy code",MSG_LIGHTBOX_EXPANDED_IMAGE_ALT:"Expanded image",MSG_LIGHTBOX_PROMPT_TITLE:"Prompt",
MSG_LIGHTBOX_VIEW_CODE_BUTTON:"Code",MSG_LIGHTBOX_VIEW_DESIGN_BUTTON:"Design",MSG_LOADING:"Loading...",MSG_LOADING_ADDING_COLOR:"Adding a splash of color...",MSG_LOADING_ADJUSTING_SPACING:"Adjusting spacing...",MSG_LOADING_APPLYING_TASTE:"Applying design taste...",MSG_LOADING_ASSEMBLING_COMPONENTS:"Assembling components...",MSG_LOADING_BALANCING_ELEMENTS:"Balancing the elements...",MSG_LOADING_BRINGING_VISION_TO_LIFE:"Bringing your vision to life...",MSG_LOADING_CHOOSING_TYPOGRAPHY:"Choosing typography...",
MSG_LOADING_COLORING_OUTSIDE_LINES:"Coloring outside the lines...",MSG_LOADING_COMPOSING_SCREEN:"Composing the screen...",MSG_LOADING_CRAFTING:"Crafting...",MSG_LOADING_CRAFTING_COMPONENTS:"Crafting components...",MSG_LOADING_CREATING:"Creating...",MSG_LOADING_CURATING_PALETTE:"Curating the color palette...",MSG_LOADING_DESIGNING:"Designing...",MSG_LOADING_DOODLING:"Doodling...",MSG_LOADING_ENSURING_CONSISTENCY:"Ensuring consistency...",MSG_LOADING_EXPLORING_STYLES:"Exploring styles...",MSG_LOADING_FINISHING_TOUCHES:"Adding finishing touches...",
MSG_LOADING_FORGING_FINAL_DESIGN:"Forging final design...",MSG_LOADING_GENERATING:"Generating...",MSG_LOADING_IMAGINING:"Imagining...",MSG_LOADING_INIT_COLLECTING_CRAYONS:"Collecting the crayons...",MSG_LOADING_INIT_GATHERING_INSPIRATION:"Gathering inspiration...",MSG_LOADING_INIT_INITIALIZING:"Initializing the canvas...",MSG_LOADING_INIT_LOADING_ASSETS:"Loading the creative assets...",MSG_LOADING_INIT_MIXING_PAINTS:"Mixing the paints...",MSG_LOADING_INIT_PREPARING_TOOLS:"Preparing the tools...",
MSG_LOADING_INIT_SETTING_UP_WORKSPACE:"Setting up the workspace...",MSG_LOADING_INIT_SHARPENING_PENCILS:"Sharpening the pencils...",MSG_LOADING_INIT_STARTING_ENGINE:"Starting the engine...",MSG_LOADING_INIT_WARMING_UP:"Warming up...",MSG_LOADING_ITERATING:"Iterating on your design...",MSG_LOADING_LAYING_OUT:"Laying out...",MSG_LOADING_MAKING_PIXELS_DANCE:"Making the pixels dance...",MSG_LOADING_MOCKING_UP:"Mocking up...",MSG_LOADING_ORGANIZING_HIERARCHY:"Organizing the hierarchy...",MSG_LOADING_PERFECTING_DETAILS:"Perfecting the details...",
MSG_LOADING_POLISHING_PIXELS:"Polishing the pixels...",MSG_LOADING_RENDERING_VIEW:"Rendering the view...",MSG_LOADING_RESEARCHING_PATTERNS:"Researching design patterns...",MSG_LOADING_SHADING:"Shading...",MSG_LOADING_SKETCHING:"Sketching...",MSG_LOADING_SOON_ALMOST_THERE:"almost there...",MSG_LOADING_SOON_ANY_SECOND:"any second now...",MSG_LOADING_SOON_MOMENT_MORE:"just a moment more...",MSG_LOADING_SOON_REALLY_SOON:"really soon...",MSG_LOADING_SOON_WRAPPING_UP:"wrapping up...",MSG_LOADING_STITCHING:"Stitching...",
MSG_LOADING_STRUCTURING_ELEMENTS:"Structuring the elements...",MSG_LOADING_STYLING:"Styling...",MSG_LOADING_UNLEASHING_CREATIVITY:"Unleashing creativity...",MSG_MCP_API_KEY_LABEL:"API Key",MSG_MCP_CLIENT_ANTIGRAVITY:"Antigravity",MSG_MCP_CLIENT_CLAUDE_CODE:"Claude Code",MSG_MCP_CLIENT_CODEX:"Codex",MSG_MCP_CLIENT_CURSOR:"Cursor",MSG_MCP_CLIENT_GEMINI_CLI:"Gemini CLI",MSG_MCP_CLIENT_JULES:"Jules",MSG_MCP_CLIENT_LABEL:"Client",MSG_MCP_CLIENT_OPENCODE:"OpenCode",MSG_MCP_CLIENT_VSCODE:"VS Code",MSG_MCP_CONFIG_COPIED:"MCP configuration copied to clipboard",
MSG_MCP_CONFIG_LABEL:"Configuration",MSG_MCP_CONNECT_CLIENT:"Need to connect your client?",MSG_MCP_COPY_PROMPT:"Copy Prompt",MSG_MCP_CREATE_API_KEY:"Create API key",MSG_MCP_DESCRIPTION:"Connect your IDE or CLI to Stitch via the Model Context Protocol (MCP).",MSG_MCP_GEMINI_CLI_STEP1:"Step 1: Install the Stitch extension",MSG_MCP_GEMINI_CLI_STEP2:"Step 2: The extension will prompt for your API key on first use",MSG_MCP_NO_API_KEYS:"No API keys found",MSG_MCP_PROMPT_COPIED:"Prompt copied!",MSG_MCP_PROMPT_LABEL:"Prompt",
MSG_MCP_SELECT_API_KEY:"Select an API key",MSG_MCP_SELECT_CLIENT:"Select your IDE or CLI",MSG_MCP_SETUP_BUTTON:"Setup MCP",MSG_MENU_MANAGE_ACCOUNT:"Manage Account",MSG_MENU_SETTINGS_TITLE:"Stitch Settings",MSG_MENU_SIGN_OUT:"Sign out",MSG_MENU_SWITCH_ACCOUNT:"Switch Account",MSG_MODEL_DESC_FLASH:"Explore creative directions with Nano Banana image model.",MSG_MODEL_DESC_GEMINI_3_FLASH:"High-quality designs in HTML with Gemini 3.0 Flash. Export to coding agents.",MSG_MODEL_DESC_GEMINI_3_PRO:"Uses Gemini 3 Pro. Prioritizes maximum quality and reasoning over speed.",
MSG_MODEL_DESC_GENIE:"Bring a problem to solve and see solutions.",MSG_MODEL_DESC_HATTER:"Create high-quality designs with the Hatter agent.",MSG_MODEL_DESC_PRO:"Explore creative directions with our most advanced image model.",MSG_MODEL_DESC_REDESIGN:"Redesign existing apps or sites with Nano Banana Pro. Attach a screenshot.",MSG_MODEL_DESC_STANDARD:"Design fast with Gemini Flash. Export designs to code or Figma.",MSG_MODE_STANDARD_TITLE:"Standard Mode",MSG_MORE_MENU_FAQ:"FAQ",MSG_MORE_MENU_FORUM:"Forum",
MSG_MORE_MENU_PRIVACY_NOTICE:"Privacy Notice",MSG_MORE_MENU_PROMPT_GUIDE:"Prompt Guide",MSG_MORE_MENU_RENAME_DESIGN:"Rename Project",MSG_MORE_MENU_SEND_FEEDBACK:"Send Feedback",MSG_MORE_MENU_SHARE_DESIGN:"Share",MSG_NEW_BADGE:"New",MSG_NO_CODE_AVAILABLE_TO_COPY:"No code available to copy",MSG_NO_IMAGE_AVAILABLE_TO_COPY:"No image available to copy",MSG_NO_PREVIEW:"No Preview",MSG_NO_RESULT:"No result",MSG_NO_SELECTION_AVAILABLE:"No selection available",MSG_NUMBER_OF_OPTIONS:"Number of options",MSG_OPEN_IN_NEW_TAB:"Open Direct link",
MSG_OUTAGE_BANNER_NOT_AVAILABLE:"Shhh, the pixels are sleeping! Stitch is taking a quick power nap and is currently unavailable. We'll be back online once we're refreshed and ready to create.",MSG_OUTAGE_BANNER_STILL_AVAILABLE:"We're pushing pixels at maximum speed! The studio is processing a high volume of new designs, which may slow things down. Your request is safe in the queue.",MSG_PASTE:"Paste",MSG_PASTE_FILE_NOT_SUPPORTED:"Trying to paste a file? Use Ctrl-V or Command-V.",MSG_PASTE_PERMISSION_DENIED:"Please allow Stitch clipboard access, or use Ctrl-V or Command-V.",
MSG_PREVIEW_LABEL:"PREVIEW",MSG_PREVIEW_SCREEN_NOT_FOUND:"Preview screen not found / or was deleted",MSG_PRIVACY_PAGE_TITLE:"Stitch Privacy Notice",MSG_PRIVATE_ONLY_TO_ME:"Private to only me",MSG_PRODUCT_LOGO_ALT:"Product name, Stitch (beta)",MSG_PROJECTS_EXAMPLES_HEADER:"Examples",MSG_PROJECTS_TIMESPAN_LAST_30_DAYS:"Last 30 days",MSG_PROJECTS_TIMESPAN_LAST_7_DAYS:"Last 7 days",MSG_PROJECTS_TIMESPAN_LAST_YEAR:"Last Year",MSG_PROJECTS_TIMESPAN_THIS_YEAR:"This Year",MSG_PROJECTS_TIMESPAN_TODAY:"Recent",
MSG_PROJECTS_TIMESPAN_YESTERDAY:"Yesterday",MSG_PROJECT_SEARCH_PLACEHOLDER:"Search projects",MSG_PROMOTE_TO_GLOBAL_SUCCESS:"Promoted to global design system",MSG_PROMPT_PLACEHOLDER:"Help me build these screens",MSG_PROMPT_PLACEHOLDER_AIS:"Make this real.",MSG_PROTOTYPE_CLICK_ELEMENTS_TO_SELECT:"Click elements to select",MSG_PROTOTYPE_DESCRIBE_CHANGES_PLACEHOLDER:"Describe your changes...",MSG_PROTOTYPE_INTERACTING_HEADING:"You're interacting!",MSG_PROTOTYPE_LOADING_ANALYZING:"Analyzing screen layout and hierarchy...",
MSG_PROTOTYPE_LOADING_APPLYING:"Applying physics engine...",MSG_PROTOTYPE_LOADING_COMPILING:"Compiling preview assets...",MSG_PROTOTYPE_LOADING_CONNECTING:"Connecting navigation flows...",MSG_PROTOTYPE_LOADING_CONSTRUCTING:"Constructing interaction graph...",MSG_PROTOTYPE_LOADING_DETECTING:"Detecting clickable regions...",MSG_PROTOTYPE_LOADING_FINALIZING:"Finalizing prototype assembly...",MSG_PROTOTYPE_LOADING_GENERATING:"Generating Prototype...",MSG_PROTOTYPE_LOADING_GENERATING_MICRO:"Generating micro-interactions...",
MSG_PROTOTYPE_LOADING_IDENTIFYING:"Identifying interactive elements...",MSG_PROTOTYPE_LOADING_INFERRING:"Inferring component states...",MSG_PROTOTYPE_LOADING_LINKING:"Linking visual states...",MSG_PROTOTYPE_LOADING_MAPPING:"Mapping navigation hotspots...",MSG_PROTOTYPE_LOADING_OPTIMIZING:"Optimizing transition physics...",MSG_PROTOTYPE_LOADING_REFINING:"Refining gesture recognition...",MSG_PROTOTYPE_LOADING_SIMULATING:"Simulating user flows...",MSG_PROTOTYPE_LOADING_SYNTHESIZING:"Synthesizing interaction logic...",
MSG_PROTOTYPE_MAKE_CHANGES_HEADING:"Make changes",MSG_PROTOTYPE_MAKE_CHANGE_BUTTON:"Make change",MSG_PROTOTYPE_SELECT_ELEMENTS:"Select elements",MSG_PROTOTYPE_TOAST_CREATED:"Prototype Created",MSG_PROTOTYPE_TOAST_CREATING:"Creating Prototype",MSG_PROTOTYPE_TOAST_EDITING:"Editing your Prototype",MSG_PROTOTYPE_TOAST_ERROR_CREATING:"Error creating the Prototype",MSG_PROTOTYPE_TOAST_ERROR_EDITING:"Error editing your Prototype",MSG_PROTOTYPE_TOAST_READY:"Your Prototype is ready",MSG_PROTOTYPE_TOAST_VIEW:"View",
MSG_PUBLIC_PROJECT_DISCLAIMER:"This content was created by another person. It may be inaccurate or unsafe.",MSG_PUBLIC_USER_LABEL:"Stitch user",MSG_QUOTA_CONCURRENCY_USER:"You've hit your max concurrent generations, please wait for generations to finish.",MSG_QUOTA_DAILY_USER:"You've reached your daily limit of {LIMIT} generated screens. Your limit will reset tomorrow.",MSG_QUOTA_FLASH_USER:"You've hit your generation limit of {LIMIT} screens per month with Standard mode. Your limit will reset next month. You have {PRO_REMAINING} Pro screens available this month.",
MSG_QUOTA_GENERIC:"Generation limited, check your credits in settings",MSG_QUOTA_IMAGE_PRO_USER:"You've reached your Redesign quota for today. This is a temporary quota during the launch period. You may still use the Turbo and Pro.",MSG_QUOTA_MULTIPLE_SESSIONS_USER:"Please wait for current generations to finish for this project.",MSG_QUOTA_PRO_USER:"You've hit your generation limit of {LIMIT} screens per month with Experimental mode. Your Gemini Pro limit will reset next month. You have {FLASH_REMAINING} Standard screens available this month.",
MSG_READONLY_PROJECT:"You don't have permission to edit this project.",MSG_RECENT_PROJECTS_HEADER:"Design history",MSG_REDESIGN_PROMPT_PLACEHOLDER:"Describe your redesign or edit. Select or attach a screenshot for best results.",MSG_REDO:"Redo",MSG_REMAINING_IMAGE_SCREENS_INFO:"You have {REMAINING} Redesign screens remaining today! Have fun!",MSG_REMIX_BUTTON_LABEL:"Remix",MSG_REMIX_FAILURE_TOAST:"Sorry, something went wrong. Please try again in a few seconds.",MSG_REMIX_LOADING_TOAST:"Remixing this project.",
MSG_REMIX_STITCH_RESPONSE:"I have remixed your project and it is ready for further design.",MSG_REMIX_SUCCESS_TOAST:"Finished creating your Remix!",MSG_REMIX_TOAST_BUTTON_LABEL:"Open Project",MSG_REMIX_USER_PROMPT:"Please remix this project.",MSG_RESET:"Reset",MSG_SAVE_BUTTON:"Save",MSG_SAVING:"Saving...",MSG_SAVING_ELLIPSIS:"Saving...",MSG_SCAN_QR_CODE:"Scan QR Code",MSG_SCAN_QR_CODE_DESC:"Scan this code with your mobile device to view the preview.",MSG_SCREEN_LINKED_NOTICE:"Screen duplicated. Edits will affect all linked copies.",
MSG_SELECT_FONT:"Select a font",MSG_SENDING:"Sending...",MSG_SESSION_CANCELLED:"Something unexpected happened, and Stitch couldn't complete your generation. Please try again in a moment.",MSG_SESSION_WAITING_FOR_RESOURCE:"There is a spike in traffic while your design is being generated, come back later to see the results",MSG_SETTINGS_MARKETING_EMAILS_DESCRIPTION:"Receive emails for model updates, offers, useful tips and news about Stitch.",MSG_SETTINGS_MARKETING_EMAILS_LABEL:"Email Preferences",
MSG_SETTINGS_PAGE_TITLE:"Settings",MSG_SETTINGS_SAVE_CHANGES_BUTTON:"Save changes",MSG_SETTINGS_STITCH_INFORMATIVE_DESCRIPTION:"Receive notification, sharing and other project specific emails",MSG_SETTINGS_UXR_CONTACT_DESCRIPTION:"Receive invitations for future research studies from Stitch and Google Labs",MSG_SHARED:"Shared",MSG_SHARED_WITH_OTHERS:"Shared with others",MSG_SHARE_DIALOG_COPY_LINK:"Copy link",MSG_SHARE_DIALOG_DISCLAIMER:"By making your project public, you allow anyone with the link to view and remix its generated designs and code. You can revoke public access at any time, but this will not remove already remixed designs.",
MSG_SHARE_DIALOG_LINK_COPIED:"Link copied to clipboard!",MSG_SHARE_DIALOG_PUBLISH_LABEL:"Enable sharing & remixing",MSG_SHARE_DIALOG_PUBLISH_STATE:"Anyone with the link can access this project",MSG_SHARE_DIALOG_SHARE_TITLE:"Share Project",MSG_SHARE_DIALOG_UNPUBLISH_STATE:"Only you can access this project",MSG_SHARE_READ_ONLY_PROJECT_BANNER:"This is a read-only project",MSG_SHORTCUT_KEYS:"Shortcut Keys",MSG_SHORTCUT_LABEL_ALIGN_SELECTED:"Align selected",MSG_SHORTCUT_LABEL_CUT:"Cut",MSG_SHORTCUT_LABEL_DOWNLOAD_SELECTED:"Download selected",
MSG_SHORTCUT_LABEL_NEXT_SCREEN:"Next Screen",MSG_SHORTCUT_LABEL_NUDGE_SELECTED:"Nudge selected",MSG_SHORTCUT_LABEL_PAN_HOLD:"Pan (hold)",MSG_SHORTCUT_LABEL_PAN_TOOL:"Pan Tool",MSG_SHORTCUT_LABEL_PREVIOUS_SCREEN:"Previous Screen",MSG_SHORTCUT_LABEL_SELECT_ALL:"Select All",MSG_SHORTCUT_LABEL_SELECT_TOOL:"Select Tool",MSG_SHORTCUT_LABEL_ZOOM_IN:"Zoom In",MSG_SHORTCUT_LABEL_ZOOM_OUT:"Zoom Out",MSG_SHORTCUT_LABEL_ZOOM_TOOL_HOLD:"Zoom Tool (hold)",MSG_SHORTCUT_LABEL_ZOOM_TO_100:"Zoom to 100%",MSG_SHORTCUT_LABEL_ZOOM_TO_FIT:"Zoom to Fit",
MSG_SHORTCUT_LABEL_ZOOM_TO_SELECTION:"Zoom to Selection",MSG_SHORTCUT_SECTION_EDIT:"Edit",MSG_SHORTCUT_SECTION_GENERAL:"General",MSG_SHORTCUT_SECTION_NAVIGATION:"Navigation",MSG_SHORTCUT_SECTION_TOOLS:"Tools",MSG_SHORTCUT_SECTION_VIEW:"View",MSG_SHOW_ALL_ACTIONS:"Command menu",MSG_SHOW_LESS:"Show less",MSG_SHOW_MORE:"Show more",MSG_SHOW_QR_CODE:"Show QR Code",MSG_SIGN_IN_BUTTON:"Sign In",MSG_STITCH_AVATAR_ALT:"Stitch avatar",MSG_STITCH_MCP:"MCP",MSG_STUDIO_A11Y_DESCRIPTION:"Creates a WCAG compliance report and a visual overlay with contrast ratios and alt-text suggestions on the canvas.",
MSG_STUDIO_A11Y_LABEL:"Accessibility Audit",MSG_STUDIO_A11Y_SUBTITLE:"Automated WCAG contrast & compliance",MSG_STUDIO_APP_STORE_DESCRIPTION:"Adds app icon, store screenshots, feature graphic, and a store description to the canvas.",MSG_STUDIO_APP_STORE_LABEL:"App Store Assets",MSG_STUDIO_APP_STORE_SUBTITLE:"Ready-to-use marketing visuals & screenshots",MSG_STUDIO_DEV_HANDOFF_DESCRIPTION:"Generates a design spec sheet with spacing, typography, and color tokens on the canvas.",MSG_STUDIO_DEV_HANDOFF_LABEL:"Dev Handoff Kit",
MSG_STUDIO_DEV_HANDOFF_SUBTITLE:"Design specs & token definitions",MSG_STUDIO_GENERATE_SELECTED:"Generate Selected",MSG_STUDIO_GENERATING:"Generating\u2026",MSG_STUDIO_HEATMAP_DESCRIPTION:"Generates a heatmap overlay on each selected screen showing predicted user attention areas.",MSG_STUDIO_HEATMAP_LABEL:"Predictive Heatmap",MSG_STUDIO_HEATMAP_SUBTITLE:"AI-powered attention analysis & flows",MSG_STUDIO_MARKETING_DESCRIPTION:"Places social media cards, banner ads, and email header images on the canvas.",
MSG_STUDIO_MARKETING_LABEL:"Marketing Kit",MSG_STUDIO_MARKETING_SUBTITLE:"Social media templates & brand assets",MSG_STUDIO_MISSING_STATES_DESCRIPTION:"Adds empty, error, and loading state screens next to each selected screen on the canvas.",MSG_STUDIO_MISSING_STATES_LABEL:"Missing States",MSG_STUDIO_MISSING_STATES_SUBTITLE:"Generate loading, empty & error states",MSG_STUDIO_UX_CRITIQUE_DESCRIPTION:"Produces an annotated critique document on the canvas with actionable improvement suggestions.",MSG_STUDIO_UX_CRITIQUE_LABEL:"UX Critique",
MSG_STUDIO_UX_CRITIQUE_SUBTITLE:"Expert review of usability & interaction",MSG_STUDIO_WEB_ASSETS_DESCRIPTION:"Generates favicons, Apple touch icons, and a web manifest JSON file for your web app.",MSG_STUDIO_WEB_ASSETS_LABEL:"Web Assets",MSG_STUDIO_WEB_ASSETS_SUBTITLE:"Favicons, touch icons & web manifest",MSG_TAB_MY_PROJECTS:"My Projects",MSG_TAB_SHARED_WITH_ME:"Shared with me",MSG_THEME_APPEARANCE_HEADER:"Appearance",MSG_THEME_APPLY_BUTTON:"Apply theme",MSG_THEME_COLOR_CUSTOM:"Custom",MSG_THEME_COLOR_HEADER:"Color",
MSG_THEME_CORNER_RADIUS_HEADER:"Corner radius",MSG_THEME_EDITING_DISABLED_IMAGE_UPLOAD:"Theme Controls not available yet with the upload image feature",MSG_THEME_EDITING_DISABLED_NO_IMAGES:"Theme controls not available for images",MSG_THEME_EDITING_DISABLED_READONLY:"Theme editing is disabled for read-only projects",MSG_THEME_EDITING_DISABLED_STANDARD_MODE_ONLY:"Theme controls only available in Standard Mode",MSG_THEME_EDIT_DONE:"Theme updated!",MSG_THEME_FONT_HEADER:"Font",MSG_TIP_ADD_TO_CHAT_CONTEXT:"Adding screens to chat gives Stitch the context it needs for better edits",
MSG_TIP_ALIGN_MENU:"Use the Align menu to snap multiple screens to Left, Right, Top, Bottom, or Center",MSG_TIP_ALIGN_MULTI_SELECT:"Select multiple screens to quickly align them to edges or centers",MSG_TIP_ARRANGE_EVEN_SPACING:"Evenly space 3+ selected screens horizontally or vertically",MSG_TIP_ARRANGE_SCREENS:"Select 3+ screens and use Arrange to evenly space them horizontally or vertically",MSG_TIP_COMMAND_PALETTE:"Use the command palette to discover all available actions for your selection",
MSG_TIP_COPY_VARIATIONS:"Right-click and use Copy As for quick access to PNG, Code, or Link formats",MSG_TIP_DOWNLOAD_MULTIPLE:"Download multiple screens at once by selecting them all first",MSG_TIP_DUPLICATE_MULTISELECT:"Duplicate works on multi-selections too - great for creating screen families",MSG_TIP_EDIT_PROTOTYPE:"Click Edit Prototype to add interactive hotspots and build click-through demos",MSG_TIP_EXPORT_PANEL:"Check out the Export Panel for full control over format and quality",MSG_TIP_MULTI_SELECT_ACTIONS:"Multi-select screens and apply commands like Align, Copy, or Duplicate in one action",
MSG_TIP_SPACING_INDICATORS:"Hold SHIFT while dragging to snap screens to equal spacing between neighbors",MSG_TIP_VARIANTS:"Right-click any screen and choose Variants to explore Layout, Color, or Font variations",MSG_TOOLTIP_EXAMPLE_EDIT_DISABLED:"Example projects cannot be edited",MSG_TOOLTIP_IMAGE_UPLOAD_INSPIRATION:"Attach a screenshot, sketch or visual inspiration",MSG_TOOLTIP_REMIX_BUTTON:"Remixing will create a new Project with all the screens in the current Project",MSG_TOOLTIP_RESULT_BAD:"Bad result",
MSG_TOOLTIP_RESULT_GOOD:"Good result",MSG_TOOLTIP_SEED_IMAGE:"Seed Image",MSG_TOOLTIP_VARIANTS_EDIT_DISABLED:"Variant designs cannot be edited",MSG_TOOLTIP_WAIT_FOR_LOAD:"Please wait until designs have loaded",MSG_UGC_TRUST_BANNER:"This content was generated by a Stitch user. Do not enter sensitive information as it may be seen by the owner.",MSG_UNDO:"Undo",MSG_UNSAVED_CHANGES:"Design has unsaved changes",MSG_UPDATE_GLOBAL_DESIGN_SYSTEM_SUCCESS:"Updated global design system",MSG_UPLOAD_FILES_BUTTON_LABEL:"Upload Files",
MSG_UPLOAD_IMAGES_BUTTON_LABEL:"Upload Images",MSG_USAGE_TODAY:"Usage Today",MSG_VIEW_CODE_TOOLTIP:"View Code",MSG_WEB_SEARCH:"Web Search",MSG_WHATS_NEW:"What's New",MSG_WHATS_NEW_TITLE:"Recent Updates",MSG_ZIP:".zip"};var JY=class{Cf(){}};JY.P=function(a){return new (a||JY)};
JY.Yf=_.zk({type:JY,lb:[["appcompanion-layout"]],Gd:["*"],Ic:2,bd:0,Jb:[[1,"main"]],La:function(a){if(a&1){a=_.G.ta[15][5];if(!a.Tb){var b=[];for(var c=0;c<1;c++)b.push(null);b=a.Tb=b;c=b.slice();for(a=a.child;a!==null;)a.type!==128&&(c[0]?c[0].vj=a:b[0]=a,c[0]=a),a=a.next}TO(0,"main",0);a=_.G.ta;var d=_.G.mb;b=_.Jj(d,28,16,null,null);b.Tb===null&&(b.Tb=0);_.G.Oc=!1;if((!a[6]||_.Ij!==null)&&(b.flags&32)!==32){c=a[11];d=_.ej(d,b.parent,a);var e=b.parent||a[5];e=e.type&40?_.gg(a[e.index]):null;_.hj(c,
0,a,b,d,e)}UO()}},styles:["[_nghost-%COMP%]{width:100vw;height:100vh;height:100svh;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row;background:#191a1f;color:#fff}.header[_ngcontent-%COMP%]{height:100vh;width:80px;border-right:1px solid #404040}.nav[_ngcontent-%COMP%]{height:calc(100% - 32px);padding:16px 0;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;font-size:12px}.primary-nav[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.primary-nav[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{min-height:68px;text-decoration:none;color:#fff}.main[_ngcontent-%COMP%]{width:100%;height:100%}@media (max-width:768px){[_nghost-%COMP%]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.header[_ngcontent-%COMP%]{height:48px;min-height:48px;width:100vw}.nav[_ngcontent-%COMP%]{height:100%;width:calc(100% - 32px);padding:0 16px;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.primary-nav[_ngcontent-%COMP%]{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row;gap:10px}.primary-nav[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{min-height:0}}"],
zg:0});var KY=function(a,b){_.H(function*(){JSON.stringify(b);if(!b.messageType||!b.messageId)throw Error("ic`"+JSON.stringify(b));if(a.A.has(b.messageId)){const {resolve:e,reject:f}=a.A.get(b.messageId);a.A.delete(b.messageId);var c;((c=b.data)==null?0:c.error)?f(b.data.error):e(b.data)}else{var d;if((d=b.data)==null?0:d.error)throw Error("jc`"+b.data.error);d=e=>a.send(b.messageType,e,b.metadata,a.clientId,b.messageId);c=a.listeners.get(b.messageType)||[];for(const {handler:e,Rk:f}of c)try{const g=yield e(b.data,
b.metadata,b);if(!f)break;d(g)}catch(g){console.error(g),d({done:!0,error:g})}}})},LY=class{constructor(){this.listeners=new Map;this.A=new Map;this.clientId=IS();this.status="connected"}send(a,b,c,d,e){a={messageType:String(a),data:b,metadata:c,messageId:e,clientId:d};this.H(a);JSON.stringify(a);return e}on(a,b,c=!0){this.listeners.has(a)||this.listeners.set(a,[]);const d=this.listeners.get(a),e={handler:b,Rk:c};d==null||d.push(e);return{dispose:()=>{const f=d==null?void 0:d.indexOf(e);f===void 0||
f===-1||d!=null&&d.splice(f,1)}}}emit(a,b,c,d){return this.request(a,b,c,d,!1)}request(a,b,c,d,e=!0){const f=IS();return new Promise((g,h)=>{const k=this;return _.H(function*(){(yield k.D())||h();k.send(a,b,c,k.clientId,f);e?k.A.set(f,{resolve:g,reject:h}):g(null)})})}dispose(){}D(){return _.H(function*(){return!0})}H(){}};var MY=class extends LY{H(a){this.B&&this.B.send("protocolMessage",JSON.stringify(a),void 0,this.G)}D(){const a=this;return _.H(function*(){a.F||(a.F=new Promise(b=>{a.I=b}));return a.F})}start(a,b,c){const d=this;return _.H(function*(){yield xP();const e=window.gapi;d.B=e.iframes.getContext().openChild({url:`${b}${c}`,where:a,attributes:{title:"Stitch - Design with AI",allow:"microphone; camera; clipboard-read; display-capture; clipboard-write"}});d.G=e.iframes.makeWhiteListIframesFilter([b]);d.B.register("protocolMessage",
f=>{KY(d,JSON.parse(f))},d.G);d.on("iframe-ready",()=>{let f;(f=d.I)==null||f.call(d,!0)})})}};var NY=["acIframe"];window.dataLayer=window.dataLayer||[];JS("js",new Date);JS("config","G-1CD1CPGEYF",{send_page_view:!1});
var OY=function(a){if(!a.B)throw a.G(),Error("kc");if(!a.H)throw Error("lc");},PY=function(a){return _.H(function*(){return $Q(a)})},QY=function(a){return window.origin.includes("dev")||a.Lb?"feeds/emr3dam5suxspk":"feeds/kxlwurp47nhro2"},RY=function(a){const b=(new URLSearchParams(window.location.search)).get("contribServiceFeed");if(!b)return QY(a);if(b==="prod")return"feeds/kxlwurp47nhro2";if(b==="dev")return"feeds/emr3dam5suxspk";console.error("Invalid contribServiceFeed override",b);return QY(a)},
SY=function(a,b,c){return _.H(function*(){try{const d=RY(a),e=yield fetch("https://content-push.googleapis.com/upload/",{method:"POST",headers:{"Push-ID":d,"X-Tenant-Id":c,Authorization:"Basic bGFicy1jb2RlOlh4YjdfUjhjVjl4dC1tSg=="},body:b});if(!e.ok)throw Error("mc");return e.text()}catch(d){throw console.error("Failed to upload file to ContribService",d),d;}})},TY=function(a){a=atob(a.split(",")[1]);const b=new ArrayBuffer(a.length),c=new Uint8Array(b);for(let d=0;d<a.length;d++)c[d]=a.charCodeAt(d);
return b},UY=function(){var a=new URLSearchParams(window.location.search),b=a.get("useStaging")==="true"||a.get("useStaging")==="1",c=a.get("useLocalhost");const d=c!==null;a=a.get("devVersion");const e=window.origin.includes("dev")||window.origin.includes("autopush")||window.origin.includes("staging")||window.origin.includes("googlers.com"),f=window.origin.includes("stitch-beta"),g=window.origin.includes("stitch.corp.google");return(e||g)&&d?(b=8081,c!=="true"&&c!=="1"&&(c=Number(c),!isNaN(c)&&c>=
8E3&&c<=9E3&&(b=c)),`https://localhost:${b}`):(e||g)&&a&&/^[a-zA-Z0-9-]+$/.test(a)?`https://${a}-${"dot-app-companion-430619.wl.r.appspot.com"}`:e||g&&b?"https://staging-dot-app-companion-430619.wl.r.appspot.com":f?"https://beta-dot-app-companion-430619.wl.r.appspot.com":"https://app-companion-430619.appspot.com"};
_.Fs=class{constructor(a){this.A=a;this.Wh="";this.feedback=_.E(yW);_.E(_.Cw);this.rk=_.sn(_.me("oPEP7c"),"");this.buildLabel=_.sn(_.me("cfb2h"),"");this.B=!!_.sn(_.me("S06Grb"),"");this.userLanguageCode=_.sn(_.me("sLXzRb"),"");this.D=_.sn(_.me("W3Yyqf"),"");this.kk=_.Ro(_.me("mL6Y7b"),!1);this.Lb=_.Ro(_.me("DpimGf"),!1);this.qk=_.Ro(_.me("Rompu"),!0);this.pk=_.Ro(_.me("I5EGtf"),!1);this.flags=_.E(_.eH);let b,c,d,e;this.H=((d=(b=this.flags)==null?void 0:b[0])!=null?d:!0)&&(this.kk||((e=(c=this.flags)==
null?void 0:c[47])!=null?e:!1));this.I=_.E(jY);this.K=_.E(HY);this.F=_.E(fY)}G(){var a=window,b;const c=(b=_.sn(_.me("AeXYXb"),""))!=null?b:"https://accounts.google.com/ServiceLogin";b=new URL(c);b.searchParams.append("osid","1");b=dP(b.toString());eP(a,b,"_self")}nk(){var a=window;let b;var c=dP((b=_.sn(_.me("ANdtfc"),""))!=null?b:"https://accounts.google.com/Logout");eP(a,c,"_self")}zm(){var a=window;let b;var c=dP((b=_.sn(_.me("WqTxgc"),""))!=null?b:"https://accounts.google.com/AccountChooser");
eP(a,c,"_self")}Ym(){const a=this;return _.H(function*(){if(!a.B)return{avatarUrl:"",avatarName:""};let b=yield hY(a.I,a.D);var c;if(c=b)c=b,c=IW.test(c)||JW.test(c)||KW.test(c)||LW.test(c);c&&(b=(new $P(b,!1)).Cc(96).Ka());return{avatarUrl:b===void 0?"":b,avatarName:""}})}U({projectType:a}){const b=this;return _.H(function*(){OY(b);const c=yield CX(b.A,a);return yield PY(c)})}R({projectId:a,sourceProject:b}){const c=this;return _.H(function*(){OY(c);return yield TX(c.A,a,PQ(b))})}ea(){const a=this;
return _.H(function*(){OY(a);const b=yield UX(a.A);return pS(b)})}hc(){const a=this;return _.H(function*(){OY(a);return(yield VX(a.A)).map(pS)})}X(a){const b=this;return _.H(function*(){OY(b);yield WX(b.A,a)})}ne(a){const b=this;return _.H(function*(){return(yield XX(b.A,a==null?void 0:a.projectId)).map(zR)})}S(a){const b=this;return _.H(function*(){var c=xR(a.designSystem);OY(b);c=yield YX(b.A,c,a.projectId);return zR(c)})}Cl(a){const b=this;return _.H(function*(){var c=xR(a.designSystem);OY(b);
c=yield ZX(b.A,a.name,c);return zR(c)})}qa({projectId:a}){const b=this;return _.H(function*(){const c=yield DX(b.A,a);return yield PY(c)})}Lg({shouldFetchViewedProjects:a}){const b=this;return _.H(function*(){OY(b);const c=yield KX(b.A,a);return yield Promise.all(c.map(d=>PY(d)))})}aa({projectId:a}){const b=this;return _.H(function*(){OY(b);yield EX(b.A,a)})}Il(a){const b=this;return _.H(function*(){OY(b);const c=yield FX(b.A,PQ(a));return $Q(c)})}Y({type:a,projectId:b,prompt:c,agentType:d,isMobile:e,
deviceType:f,files:g,debugOptions:h,editFile:k,selectedScreenInstances:l,designTheme:m,designSystem:n,variantCount:r,urls:p}){const q=this;return _.H(function*(){OY(q);var u=[];if(g)try{const y=g.map(w=>{w=TY(w);return SY(q,w,"labs-code")});u=yield Promise.all(y)}catch(y){throw console.error("Failed to get contribServiceID",y),qS({message:"Failed to get contribServiceID",Jg:y});}u=yield LX(q.A,b,c,d,e,f,u,k,l,h,a,m,n,r,p);return kS(u)})}getSession({name:a}){const b=this;return _.H(function*(){OY(b);
const c=yield b.A.getSession(a);return kS(c)})}ol({projectId:a,shouldFetchRemixedSessions:b}){const c=this;return _.H(function*(){const d=yield NX(c.A,a,b);return yield Promise.all(d.map(e=>kS(e)))})}da({name:a}){const b=this;return _.H(function*(){OY(b);yield MX(b.A,a)})}Ng({projectId:a}){const b=this;return _.H(function*(){const c=yield OX(b.A,a);return yield Promise.all(c.map(d=>ER(d)))})}Nl({screenName:a,htmlCode:b}){const c=this;return _.H(function*(){OY(c);var d="";if(b)try{var e=TY(b);d=yield SY(c,
e,"labs-code")}catch(g){throw console.error("Failed to get contribServiceID",g),qS({message:"Failed to get contribServiceID",Jg:g});}e=c.A;var f=new FR;f=_.U(f,11,a);d=cS(new TQ,d);d=_.L(f,2,d);e=yield GX(e,d);return ER(e)})}M(a){const b=this;return _.H(function*(){OY(b);const c=yield HX(b.A,a);return ER(c)})}Zm(a){const b=this;return _.H(function*(){return IX(b.A,a.name,a.downloadUrl,a.size)})}ka(a){const b=this;return _.H(function*(){return JX(b.A,a)})}Fa(a){const b=this;return _.H(function*(){OY(b);
try{const c=[];for(const e of a){const f=TY(e);c.push(SY(b,f,"labs-code"))}const d=yield Promise.all(c);yield PX(b.A,d)}catch(c){throw console.error("Failed to import projects",c),qS({message:"Failed to import projects",Jg:c});}})}cn(a){return _.H(function*(){xW({productId:5360795,bucket:"stitch"},a,void 0)})}ql({associatedResourceName:a,userFeedback:b}){const c=this;return _.H(function*(){OY(c);var d=c.A;var e=new fR;a:switch(b.rating){case 1:var f=1;break a;case 2:f=2;break a;default:f=0}e=LQ(e,
1,f);e=_.U(e,2,b.comment);e=LQ(e,3,$R(b.designFeedbackReason));yield QX(d,a,e)})}pl(a){const b=this;return _.H(function*(){try{if(b.B){if(a.event.kind==="exportClickEvent"){var c=new vV;var d=LQ(c,1,nS(a.event.exportType));var e=_.U(d,2,a.event.projectId);var f=_.U(e,3,a.event.sessionId);var g=_.U(f,4,a.event.screenId)}else if(a.event.kind==="suggestedPromptClickEvent"){var h=new xV;var k=LQ(h,1,zQ(a.event.projectType));var l=_.U(k,2,a.event.projectId);g=_.U(l,3,a.event.sessionId)}else if(a.event.kind===
"designImpressionEvent"){var m=new tV;var n=_.U(m,1,a.event.projectId);var r=_.U(n,2,a.event.sessionId);var p=_.KS(r,3,a.event.firstScreenUrlLatencyMs);var q=_.KS(p,4,a.event.allScreensUrlLatencyMs);var u=_.KS(q,5,a.event.firstScreenRenderLatencyMs);g=_.KS(u,6,a.event.allScreensRenderLatencyMs)}else throw console.error("Unknown event type provided to clientEventToProto"),Error("fc");yield RX(b.A,g)}}catch(y){throw qS({message:"Failed to register client event",Jg:y});}})}Ja(){const a=this;return _.H(function*(){let b=
"";if(a.D)try{const c=yield iY(a.I,a.D);b=c!==void 0?c:"You"}catch(c){console.error("Failed to get user display name")}return{userEmail:a.rk,userVisibleName:b,userIsLoggedIn:a.B,userLanguageCode:a.userLanguageCode,buildLabel:a.buildLabel}})}Aa(){const a=this;return _.H(function*(){OY(a);return mS(yield AX(a.A))})}om(a){const b=this;return _.H(function*(){OY(b);return mS(yield BX(b.A,a.trainingDataOptOut,a.marketingEmailOptIn,a.uxrContactOptIn,a.stitchInformativeOptIn,b.qk))})}bn(){return _.H(function*(){return IY})}Vm({projectId:a,
screens:b,fileNames:c}){const d=this;return _.H(function*(){OY(d);var e=[];for(const f of b){const g=TY(f);e.push(SY(d,g,"labs-code"))}e=(yield Promise.all(e)).map((f,g)=>dS(f,c==null?void 0:c[g]));return yield SX(d.A,a,e)})}Km({projectId:a,screens:b,fileNames:c,mimeTypes:d,displayModes:e}){const f=this;return _.H(function*(){OY(f);var g=[];for(const h of b){const k=(new TextEncoder).encode(h);g.push(SY(f,k,"labs-code"))}g=(yield Promise.all(g)).map((h,k)=>eS(h,c==null?void 0:c[k],d==null?void 0:
d[k],e==null?void 0:e[k]));return yield SX(f.A,a,g)})}mk(){const a=this;return _.H(function*(){return(yield GY(a.K)).map(b=>{let c;return{id:b.id,repoName:(b==null?void 0:b.type)==="github"?b.repoName:b.displayName,branchName:(c=b.metadata)==null?void 0:c.wl}})})}lk({sourceId:a,branchName:b,description:c,selectedScreenInstances:d,screenshots:e}){const f=this;return _.H(function*(){OY(f);if(!e||!d||e.length!==d.length)throw Error("nc");var g=[];for(const h of e){const k=TY(h);g.push(SY(f,k,"jules"))}g=
(yield Promise.all(g)).map((h,k)=>{var l=new mY;l=_.fp(l,2,"image/png");k=_.fp(l,1,d[k].label);l=new lY;l=_.hs(l,2,1);h=_.fp(l,5,h);h=_.hs(h,3,1);return XS(k,4,nY,h)});return{taskId:yield FY(f.K,c,a,b!=null?b:"",g)}})}Ll(){const a=this;return _.H(function*(){const b=window.location.pathname.replace(a.Wh,""),c=new URLSearchParams(window.location.search),d=new MY;yield d.start(a.bl.Ug,UY(),`${b}?${c.toString()}`);d.on("copyProject",a.R.bind(a));d.on("getImage",a.Zm.bind(a));d.on("getFile",a.ka.bind(a));
d.on("getUserSettings",a.Aa.bind(a));d.on("getTranslationMessages",a.bn.bind(a));d.on("updateUserSettings",a.om.bind(a));d.on("createProject",a.U.bind(a));d.on("getProject",a.qa.bind(a));d.on("deleteProject",a.aa.bind(a));d.on("deleteSession",a.da.bind(a));d.on("updateProject",a.Il.bind(a));d.on("listProjects",a.Lg.bind(a));d.on("createSession",a.Y.bind(a));d.on("getSession",a.getSession.bind(a));d.on("listSessions",a.ol.bind(a));d.on("listScreens",a.Ng.bind(a));d.on("updateScreen",a.Nl.bind(a));
d.on("copyScreen",a.M.bind(a));d.on("createImageScreens",a.Vm.bind(a));d.on("createDocumentScreens",a.Km.bind(a));d.on("importProjects",a.Fa.bind(a));d.on("registerClientEvent",a.pl.bind(a));d.on("submitFeedback",a.ql.bind(a));d.on("getAvatarDetails",a.Ym.bind(a));d.on("getUserInfo",a.Ja.bind(a));d.on("getFlags",()=>Object.assign({},a.flags,{[0]:a.H}));d.on("login",a.G.bind(a));d.on("logout",a.nk.bind(a));d.on("chooseAccount",a.zm.bind(a));d.on("giveProductFeedback",a.cn.bind(a));d.on("updateNavigationHistory",
e=>{e=new CustomEvent("ac:navigate",{detail:{path:e},bubbles:!0});window.dispatchEvent(e)});d.on("requestPermission",e=>_.H(function*(){return(yield navigator.permissions.query({name:e})).state==="granted"}));d.on("askForClipboardPermission",()=>(()=>_.H(function*(){return(yield navigator.permissions.query({name:"clipboard-write"})).state==="granted"}))());d.on("writeToClipboard",e=>(()=>_.H(function*(){try{if(e.type==="text/plain")yield navigator.clipboard.writeText(e.content);else if(e.type==="image/png"){const g=
yield(yield fetch(e.content)).blob();yield navigator.clipboard.write([new ClipboardItem({[e.type]:g})])}else{try{var f={blob:new Blob([e.content],{type:e.type}),error:void 0}}catch(g){f={blob:void 0,error:g}}if(!f.blob||f.error)throw f.error;yield navigator.clipboard.write([new ClipboardItem({[e.type]:f.blob})])}return{error:""}}catch(g){return console.error(g),g.message.includes("ClipboardItem")?{error:"ClipboardAPIUnsupportedError"}:{error:qS(g)}}}))());d.on("clipboardWrite",e=>_.H(function*(){try{return typeof e===
"string"?yield navigator.clipboard.writeText(e):yield navigator.clipboard.write(e),{error:void 0}}catch(f){return console.error(f),f.message.includes("ClipboardItem")?{error:"ClipboardAPIUnsupportedError"}:{error:qS(f)}}}));d.on("reportError",e=>{a:{if(sS(e)){var f=e.message;var g=e.stack;e.acBuild&&!aY&&(aY=e.acBuild)}else{b:{try{if(g=JSON.parse(e.replace("\n"," ")),sS(g)){f={message:g.message,stack:g.stack};break b}}catch(l){}f=e.replace(/\\"/g,'"').replace(/\\\\/g,"\\");f=(g=f.match(/\{"stack":"((?:[^"\\]|\\.)*)"\}/))&&
g[1]&&g.index!==void 0?{message:f.substring(0,g.index).trim(),stack:g[1].replace(/\\n/g,"\n").replace(/\\"/g,'"').replace(/\\\\/g,"\\")}:(g=f.match(/at https:\/\/app-companion-430619\.appspot\.com/))&&g.index!==void 0?{message:f.substring(0,g.index).trim(),stack:f.substring(g.index)}:{message:f}}({message:f,stack:g}=f)}let h=e=f;const k=h.match(/\s*"?\{\\?"/);k&&k.index!==void 0&&k.index>0&&(h=h.substring(0,k.index));h=h.trim();h.startsWith('"')&&h.endsWith('"')&&(h=h.slice(1,-1));h.length<5&&(h=
e);e=h;e.length>60&&(e=e.substring(0,60)+"...");e=Error("hc`"+e.replace(/&/g,"&").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")+"`"+f);if(g){if(g.includes("chrome-extension://")||g.includes("webkit-masked-url://"))break a;g=g.replace(/-[a-zA-Z0-9]+(?=\.js)/g,"");e.stack=g}(g=_.cn.A)&&_.zy(g,e,f)}});d.on("getParentFrameOrigin",()=>window.origin);d.on("julesListSources",a.mk.bind(a));d.on("julesCreateTask",a.lk.bind(a));d.on("logAnalyticsPageView",e=>{JS("event","page_view",{page_location:e.pageGroup,
page_referrer:e.pageReferrer,user_status:e.userIsLoggedIn?"logged_in":"logged_out",send_to:"G-1CD1CPGEYF"})});d.on("logAnalyticsEvent",e=>{JS("event",e.eventName,e.dimensions)});d.on("setAnalyticsParams",e=>{JS("set",e.dimensions)});d.on("getGeminiLiveEphemeralToken",()=>cY(a.F));d.on("convertHtmlToFigmaClipboard",({html:e,width:f,height:g})=>dY(a.F,e,f,g));d.on("convertMultipleHtmlToFigmaClipboard",({screens:e})=>eY(a.F,e));d.on("generateCloudApiKey",a.ea.bind(a));d.on("listCloudApiKeys",a.hc.bind(a));
d.on("deleteCloudApiKey",a.X.bind(a));d.on("listDesignSystems",a.ne.bind(a));d.on("createDesignSystem",a.S.bind(a));d.on("updateDesignSystem",a.Cl.bind(a));d.on("getDefaultOptInCheckboxSetting",()=>a.pk)})}};_.Fs.P=function(a){return new (a||_.Fs)(_.Kj($X))};
_.Fs.Yf=_.zk({type:_.Fs,lb:[["appcompanion-host"]],Ac:function(a,b){a&1&&cP(NY,5);if(a&2){let e;{a=e=_.G.ta[18].oa[_.G.gb].mh;var c=_.G.ta,d=_.G.mb;const f=_.G.gb;_.G.gb=f+1;d=d.oa.kf(f);if(a.wa&&(c[2]&4)===4===((d.metadata.flags&2)===2)){if(d.matches===null)a.reset([]);else{d=c[1];const g=d.oa.kf(f);c=g.Kk?yO(d,c,f,[]):xO(d,c,g,f);a.reset(c,wO);a.B===void 0||!a.D&&a.F||a.B.next(a)}a=!0}else a=!1}a&&(b.bl=e.first)}},inputs:{Wh:"appPrefix"},Ic:3,bd:0,Jb:[["acIframe",""],[1,"ac-iframe"]],La:function(a){a&
1&&(_.hl(0,"appcompanion-layout"),_.jl(1,"div",1,0),_.il())},dependencies:[JY],styles:["[_nghost-%COMP%]{display:block}.ac-iframe[_ngcontent-%COMP%]{width:100%;height:100vh;height:100svh;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}.ac-iframe[_ngcontent-%COMP%] iframe[_ngcontent-%COMP%]{width:100%;height:100vh;height:100svh}"],zg:0});
_.Hn();
}catch(e){_._DumpException(e)}
}).call(this,this.default_Nemo);
// Google Inc.