@builder.io/sdk-qwik 0.5.3-4 → 0.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,6 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const qwik = require("@builder.io/qwik");
4
4
  const jsxRuntime = require("@builder.io/qwik/jsx-runtime");
5
- const Interpreter = require("js-interpreter");
6
5
  const Button = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl((props) => {
7
6
  qwik.useStylesScopedQrl(/* @__PURE__ */ qwik.inlinedQrl(STYLES$3, "Button_component_useStylesScoped_a1JZ0Q0Q2Oc"));
8
7
  return /* @__PURE__ */ qwik._jsxC(jsxRuntime.Fragment, {
@@ -83,6 +82,3168 @@ const set = (obj, _path, value) => {
83
82
  path.slice(0, -1).reduce((a, c, i) => Object(a[c]) === a[c] ? a[c] : a[c] = Math.abs(Number(path[i + 1])) >> 0 === +path[i + 1] ? [] : {}, obj)[path[path.length - 1]] = value;
84
83
  return obj;
85
84
  };
85
+ var p;
86
+ var ca = function(a) {
87
+ function b(f) {
88
+ return 48 > f ? 36 === f : 58 > f ? true : 65 > f ? false : 91 > f ? true : 97 > f ? 95 === f : 123 > f ? true : 170 <= f && Jc.test(String.fromCharCode(f));
89
+ }
90
+ function d(f) {
91
+ return 65 > f ? 36 === f : 91 > f ? true : 97 > f ? 95 === f : 123 > f ? true : 170 <= f && Pb.test(String.fromCharCode(f));
92
+ }
93
+ function c(f, g) {
94
+ var l = r;
95
+ for (var n = 1, w = 0; ; ) {
96
+ Sa.lastIndex = w;
97
+ var J = Sa.exec(l);
98
+ if (J && J.index < f)
99
+ ++n, w = J.index + J[0].length;
100
+ else
101
+ break;
102
+ }
103
+ l = {
104
+ line: n,
105
+ ab: f - w
106
+ };
107
+ g += " (" + l.line + ":" + l.ab + ")";
108
+ g = new SyntaxError(g);
109
+ g.j = f;
110
+ g.X = l;
111
+ g.o = m;
112
+ throw g;
113
+ }
114
+ function e(f) {
115
+ f = f.split(" ");
116
+ for (var g = /* @__PURE__ */ Object.create(null), l = 0; l < f.length; l++)
117
+ g[f[l]] = true;
118
+ return function(n) {
119
+ return g[n] || false;
120
+ };
121
+ }
122
+ function h() {
123
+ this.line = la;
124
+ this.ab = m - X;
125
+ }
126
+ function k(f, g) {
127
+ oa = m;
128
+ z.C && (cb = new h());
129
+ x = f;
130
+ C();
131
+ T = g;
132
+ ya = f.m;
133
+ }
134
+ function q() {
135
+ for (var f = m, g = z.va && z.C && new h(), l = r.charCodeAt(m += 2); m < pa && 10 !== l && 13 !== l && 8232 !== l && 8233 !== l; )
136
+ ++m, l = r.charCodeAt(m);
137
+ z.va && z.va(false, r.slice(f + 2, m), f, m, g, z.C && new h());
138
+ }
139
+ function C() {
140
+ for (; m < pa; ) {
141
+ var f = r.charCodeAt(m);
142
+ if (32 === f)
143
+ ++m;
144
+ else if (13 === f)
145
+ ++m, f = r.charCodeAt(m), 10 === f && ++m, z.C && (++la, X = m);
146
+ else if (10 === f || 8232 === f || 8233 === f)
147
+ ++m, z.C && (++la, X = m);
148
+ else if (8 < f && 14 > f)
149
+ ++m;
150
+ else if (47 === f) {
151
+ if (f = r.charCodeAt(m + 1), 42 === f) {
152
+ f = void 0;
153
+ var g = z.va && z.C && new h(), l = m, n = r.indexOf("*/", m += 2);
154
+ -1 === n && c(m - 2, "Unterminated comment");
155
+ m = n + 2;
156
+ if (z.C)
157
+ for (Sa.lastIndex = l; (f = Sa.exec(r)) && f.index < m; )
158
+ ++la, X = f.index + f[0].length;
159
+ z.va && z.va(true, r.slice(l + 2, n), l, m, g, z.C && new h());
160
+ } else if (47 === f)
161
+ q();
162
+ else
163
+ break;
164
+ } else if (160 === f)
165
+ ++m;
166
+ else if (5760 <= f && Kc.test(String.fromCharCode(f)))
167
+ ++m;
168
+ else
169
+ break;
170
+ }
171
+ }
172
+ function U(f) {
173
+ switch (f) {
174
+ case 46:
175
+ f = r.charCodeAt(m + 1);
176
+ 48 <= f && 57 >= f ? Qb(true) : (++m, k(Rb));
177
+ return;
178
+ case 40:
179
+ return ++m, k(Y);
180
+ case 41:
181
+ return ++m, k(W);
182
+ case 59:
183
+ return ++m, k(Z);
184
+ case 44:
185
+ return ++m, k(ha);
186
+ case 91:
187
+ return ++m, k(db);
188
+ case 93:
189
+ return ++m, k(eb);
190
+ case 123:
191
+ return ++m, k(za);
192
+ case 125:
193
+ return ++m, k(qa);
194
+ case 58:
195
+ return ++m, k(Aa);
196
+ case 63:
197
+ return ++m, k(Sb);
198
+ case 48:
199
+ if (f = r.charCodeAt(m + 1), 120 === f || 88 === f) {
200
+ m += 2;
201
+ f = Ba(16);
202
+ null === f && c(I + 2, "Expected hexadecimal number");
203
+ d(r.charCodeAt(m)) && c(m, "Identifier directly after number");
204
+ k(Ca, f);
205
+ return;
206
+ }
207
+ case 49:
208
+ case 50:
209
+ case 51:
210
+ case 52:
211
+ case 53:
212
+ case 54:
213
+ case 55:
214
+ case 56:
215
+ case 57:
216
+ return Qb(false);
217
+ case 34:
218
+ case 39:
219
+ m++;
220
+ for (var g = ""; ; ) {
221
+ m >= pa && c(I, "Unterminated string constant");
222
+ var l = r.charCodeAt(m);
223
+ if (l === f) {
224
+ ++m;
225
+ k(Ta, g);
226
+ break;
227
+ }
228
+ if (92 === l) {
229
+ l = r.charCodeAt(++m);
230
+ var n = /^[0-7]+/.exec(r.slice(m, m + 3));
231
+ for (n && (n = n[0]); n && 255 < parseInt(n, 8); )
232
+ n = n.slice(0, -1);
233
+ "0" === n && (n = null);
234
+ ++m;
235
+ if (n)
236
+ S && c(m - 2, "Octal literal in strict mode"), g += String.fromCharCode(parseInt(n, 8)), m += n.length - 1;
237
+ else
238
+ switch (l) {
239
+ case 110:
240
+ g += "\n";
241
+ break;
242
+ case 114:
243
+ g += "\r";
244
+ break;
245
+ case 120:
246
+ g += String.fromCharCode(Ua(2));
247
+ break;
248
+ case 117:
249
+ g += String.fromCharCode(Ua(4));
250
+ break;
251
+ case 85:
252
+ g += String.fromCharCode(Ua(8));
253
+ break;
254
+ case 116:
255
+ g += " ";
256
+ break;
257
+ case 98:
258
+ g += "\b";
259
+ break;
260
+ case 118:
261
+ g += "\v";
262
+ break;
263
+ case 102:
264
+ g += "\f";
265
+ break;
266
+ case 48:
267
+ g += "\0";
268
+ break;
269
+ case 13:
270
+ 10 === r.charCodeAt(m) && ++m;
271
+ case 10:
272
+ z.C && (X = m, ++la);
273
+ break;
274
+ default:
275
+ g += String.fromCharCode(l);
276
+ }
277
+ } else
278
+ 13 !== l && 10 !== l && 8232 !== l && 8233 !== l || c(I, "Unterminated string constant"), g += String.fromCharCode(l), ++m;
279
+ }
280
+ return;
281
+ case 47:
282
+ f = r.charCodeAt(m + 1);
283
+ ya ? (++m, Tb()) : 61 === f ? F(ma, 2) : F(Ub, 1);
284
+ return;
285
+ case 37:
286
+ case 42:
287
+ 61 === r.charCodeAt(m + 1) ? F(ma, 2) : F(Lc, 1);
288
+ return;
289
+ case 124:
290
+ case 38:
291
+ g = r.charCodeAt(m + 1);
292
+ g === f ? F(124 === f ? Vb : Wb, 2) : 61 === g ? F(ma, 2) : F(124 === f ? Mc : Nc, 1);
293
+ return;
294
+ case 94:
295
+ 61 === r.charCodeAt(m + 1) ? F(ma, 2) : F(Oc, 1);
296
+ return;
297
+ case 43:
298
+ case 45:
299
+ g = r.charCodeAt(m + 1);
300
+ g === f ? 45 === g && 62 === r.charCodeAt(m + 2) && Va.test(r.slice(ia, m)) ? (m += 3, q(), C(), N()) : F(Pc, 2) : 61 === g ? F(ma, 2) : F(Qc, 1);
301
+ return;
302
+ case 60:
303
+ case 62:
304
+ g = r.charCodeAt(m + 1);
305
+ l = 1;
306
+ g === f ? (l = 62 === f && 62 === r.charCodeAt(m + 2) ? 3 : 2, 61 === r.charCodeAt(m + l) ? F(ma, l + 1) : F(Rc, l)) : 33 === g && 60 === f && 45 === r.charCodeAt(m + 2) && 45 === r.charCodeAt(m + 3) ? (m += 4, q(), C(), N()) : (61 === g && (l = 61 === r.charCodeAt(m + 2) ? 3 : 2), F(Sc, l));
307
+ return;
308
+ case 61:
309
+ case 33:
310
+ 61 === r.charCodeAt(m + 1) ? F(Tc, 61 === r.charCodeAt(m + 2) ? 3 : 2) : F(61 === f ? Xb : Yb, 1);
311
+ return;
312
+ case 126:
313
+ return F(Yb, 1);
314
+ }
315
+ return false;
316
+ }
317
+ function N(f) {
318
+ f ? m = I + 1 : I = m;
319
+ z.C && (fb = new h());
320
+ if (f)
321
+ return Tb();
322
+ if (m >= pa)
323
+ return k(gb);
324
+ f = r.charCodeAt(m);
325
+ if (d(f) || 92 === f)
326
+ return Zb();
327
+ if (false === U(f)) {
328
+ f = String.fromCharCode(f);
329
+ if ("\\" === f || Pb.test(f))
330
+ return Zb();
331
+ c(m, "Unexpected character '" + f + "'");
332
+ }
333
+ }
334
+ function F(f, g) {
335
+ var l = r.slice(m, m + g);
336
+ m += g;
337
+ k(f, l);
338
+ }
339
+ function Tb() {
340
+ for (var f, g, l = m; ; ) {
341
+ m >= pa && c(l, "Unterminated regexp");
342
+ var n = r.charAt(m);
343
+ Va.test(n) && c(l, "Unterminated regexp");
344
+ if (f)
345
+ f = false;
346
+ else {
347
+ if ("[" === n)
348
+ g = true;
349
+ else if ("]" === n && g)
350
+ g = false;
351
+ else if ("/" === n && !g)
352
+ break;
353
+ f = "\\" === n;
354
+ }
355
+ ++m;
356
+ }
357
+ f = r.slice(l, m);
358
+ ++m;
359
+ (g = $b()) && !/^[gmi]*$/.test(g) && c(l, "Invalid regexp flag");
360
+ try {
361
+ var w = new RegExp(f, g);
362
+ } catch (J) {
363
+ throw J instanceof SyntaxError && c(l, J.message), J;
364
+ }
365
+ k(ac, w);
366
+ }
367
+ function Ba(f, g) {
368
+ for (var l = m, n = 0, w = void 0 === g ? Infinity : g, J = 0; J < w; ++J) {
369
+ var P = r.charCodeAt(m);
370
+ P = 97 <= P ? P - 97 + 10 : 65 <= P ? P - 65 + 10 : 48 <= P && 57 >= P ? P - 48 : Infinity;
371
+ if (P >= f)
372
+ break;
373
+ ++m;
374
+ n = n * f + P;
375
+ }
376
+ return m === l || void 0 !== g && m - l !== g ? null : n;
377
+ }
378
+ function Qb(f) {
379
+ var g = m, l = false, n = 48 === r.charCodeAt(m);
380
+ f || null !== Ba(10) || c(g, "Invalid number");
381
+ 46 === r.charCodeAt(m) && (++m, Ba(10), l = true);
382
+ f = r.charCodeAt(m);
383
+ if (69 === f || 101 === f)
384
+ f = r.charCodeAt(++m), 43 !== f && 45 !== f || ++m, null === Ba(10) && c(g, "Invalid number"), l = true;
385
+ d(r.charCodeAt(m)) && c(m, "Identifier directly after number");
386
+ f = r.slice(g, m);
387
+ var w;
388
+ l ? w = parseFloat(f) : n && 1 !== f.length ? /[89]/.test(f) || S ? c(g, "Invalid number") : w = parseInt(f, 8) : w = parseInt(f, 10);
389
+ k(Ca, w);
390
+ }
391
+ function Ua(f) {
392
+ f = Ba(16, f);
393
+ null === f && c(I, "Bad character escape sequence");
394
+ return f;
395
+ }
396
+ function $b() {
397
+ ra = false;
398
+ for (var f, g = true, l = m; ; ) {
399
+ var n = r.charCodeAt(m);
400
+ if (b(n))
401
+ ra && (f += r.charAt(m)), ++m;
402
+ else if (92 === n) {
403
+ ra || (f = r.slice(l, m));
404
+ ra = true;
405
+ 117 !== r.charCodeAt(++m) && c(m, "Expecting Unicode escape sequence \\uXXXX");
406
+ ++m;
407
+ n = Ua(4);
408
+ var w = String.fromCharCode(n);
409
+ w || c(m - 1, "Invalid Unicode escape");
410
+ (g ? d(n) : b(n)) || c(m - 4, "Invalid Unicode escape");
411
+ f += w;
412
+ } else
413
+ break;
414
+ g = false;
415
+ }
416
+ return ra ? f : r.slice(l, m);
417
+ }
418
+ function Zb() {
419
+ var f = $b(), g = sa;
420
+ !ra && Uc(f) && (g = Vc[f]);
421
+ k(g, f);
422
+ }
423
+ function B() {
424
+ hb = I;
425
+ ia = oa;
426
+ ib = cb;
427
+ N();
428
+ }
429
+ function jb(f) {
430
+ S = f;
431
+ m = I;
432
+ if (z.C)
433
+ for (; m < X; )
434
+ X = r.lastIndexOf("\n", X - 2) + 1, --la;
435
+ C();
436
+ N();
437
+ }
438
+ function bc() {
439
+ this.type = null;
440
+ this.start = I;
441
+ this.end = null;
442
+ }
443
+ function cc() {
444
+ this.start = fb;
445
+ this.end = null;
446
+ kb && (this.source = kb);
447
+ }
448
+ function L() {
449
+ var f = new bc();
450
+ z.C && (f.X = new cc());
451
+ z.vb && (f.sourceFile = z.vb);
452
+ z.Xa && (f.j = [
453
+ I,
454
+ 0
455
+ ]);
456
+ return f;
457
+ }
458
+ function ja(f) {
459
+ var g = new bc();
460
+ g.start = f.start;
461
+ z.C && (g.X = new cc(), g.X.start = f.X.start);
462
+ z.Xa && (g.j = [
463
+ f.j[0],
464
+ 0
465
+ ]);
466
+ return g;
467
+ }
468
+ function y(f, g) {
469
+ f.type = g;
470
+ f.end = ia;
471
+ z.C && (f.X.end = ib);
472
+ z.Xa && (f.j[1] = ia);
473
+ return f;
474
+ }
475
+ function lb(f) {
476
+ return "ExpressionStatement" === f.type && "Literal" === f.la.type && "use strict" === f.la.value;
477
+ }
478
+ function E(f) {
479
+ return x === f ? (B(), true) : false;
480
+ }
481
+ function Wa() {
482
+ return !z.fc && (x === gb || x === qa || Va.test(r.slice(ia, I)));
483
+ }
484
+ function na() {
485
+ E(Z) || Wa() || aa();
486
+ }
487
+ function G(f) {
488
+ x === f ? B() : aa();
489
+ }
490
+ function aa() {
491
+ c(I, "Unexpected token");
492
+ }
493
+ function Xa(f) {
494
+ "Identifier" !== f.type && "MemberExpression" !== f.type && c(f.start, "Assigning to rvalue");
495
+ S && "Identifier" === f.type && Ya(f.name) && c(f.start, "Assigning to " + f.name + " in strict mode");
496
+ }
497
+ function V() {
498
+ (x === Ub || x === ma && "/=" === T) && N(true);
499
+ var f = x, g = L();
500
+ switch (f) {
501
+ case mb:
502
+ case dc:
503
+ B();
504
+ var l = f === mb;
505
+ E(Z) || Wa() ? g.label = null : x !== sa ? aa() : (g.label = ba(), na());
506
+ for (var n = 0; n < H.length; ++n) {
507
+ var w = H[n];
508
+ if (null === g.label || w.name === g.label.name) {
509
+ if (null !== w.kind && (l || "loop" === w.kind))
510
+ break;
511
+ if (g.label && l)
512
+ break;
513
+ }
514
+ }
515
+ n === H.length && c(g.start, "Unsyntactic " + f.l);
516
+ return y(g, l ? "BreakStatement" : "ContinueStatement");
517
+ case ec:
518
+ return B(), na(), y(g, "DebuggerStatement");
519
+ case fc:
520
+ return B(), H.push(nb), g.body = V(), H.pop(), G(ob), g.test = Da(), na(), y(g, "DoWhileStatement");
521
+ case gc:
522
+ B();
523
+ H.push(nb);
524
+ G(Y);
525
+ if (x === Z)
526
+ return pb(g, null);
527
+ if (x === qb)
528
+ return f = L(), B(), hc(f, true), y(f, "VariableDeclaration"), 1 === f.fa.length && E(Za) ? ic(g, f) : pb(g, f);
529
+ f = O(false, true);
530
+ return E(Za) ? (Xa(f), ic(g, f)) : pb(g, f);
531
+ case rb:
532
+ return B(), sb(g, true);
533
+ case jc:
534
+ return B(), g.test = Da(), g.da = V(), g.alternate = E(kc) ? V() : null, y(g, "IfStatement");
535
+ case lc:
536
+ return Ea || z.Ib || c(I, "'return' outside of function"), B(), E(Z) || Wa() ? g.K = null : (g.K = O(), na()), y(g, "ReturnStatement");
537
+ case tb:
538
+ B();
539
+ g.Qb = Da();
540
+ g.tb = [];
541
+ G(za);
542
+ for (H.push(Wc); x !== qa; )
543
+ x === ub || x === mc ? (f = x === ub, n && y(n, "SwitchCase"), g.tb.push(n = L()), n.da = [], B(), f ? n.test = O() : (l && c(hb, "Multiple default clauses"), l = true, n.test = null), G(Aa)) : (n || aa(), n.da.push(V()));
544
+ n && y(n, "SwitchCase");
545
+ B();
546
+ H.pop();
547
+ return y(g, "SwitchStatement");
548
+ case nc:
549
+ return B(), Va.test(r.slice(ia, I)) && c(ia, "Illegal newline after throw"), g.K = O(), na(), y(g, "ThrowStatement");
550
+ case oc:
551
+ return B(), g.block = Fa(), g.Ea = null, x === pc && (f = L(), B(), G(Y), f.Ua = ba(), S && Ya(f.Ua.name) && c(f.Ua.start, "Binding " + f.Ua.name + " in strict mode"), G(W), f.body = Fa(), g.Ea = y(f, "CatchClause")), g.fb = E(qc) ? Fa() : null, g.Ea || g.fb || c(g.start, "Missing catch or finally clause"), y(g, "TryStatement");
552
+ case qb:
553
+ return B(), hc(g), na(), y(g, "VariableDeclaration");
554
+ case ob:
555
+ return B(), g.test = Da(), H.push(nb), g.body = V(), H.pop(), y(g, "WhileStatement");
556
+ case rc:
557
+ return S && c(I, "'with' in strict mode"), B(), g.object = Da(), g.body = V(), y(g, "WithStatement");
558
+ case za:
559
+ return Fa();
560
+ case Z:
561
+ return B(), y(g, "EmptyStatement");
562
+ default:
563
+ l = T;
564
+ w = O();
565
+ if (f === sa && "Identifier" === w.type && E(Aa)) {
566
+ for (n = 0; n < H.length; ++n)
567
+ H[n].name === l && c(w.start, "Label '" + l + "' is already declared");
568
+ H.push({
569
+ name: l,
570
+ kind: x.W ? "loop" : x === tb ? "switch" : null
571
+ });
572
+ g.body = V();
573
+ H.pop();
574
+ g.label = w;
575
+ return y(g, "LabeledStatement");
576
+ }
577
+ g.la = w;
578
+ na();
579
+ return y(g, "ExpressionStatement");
580
+ }
581
+ }
582
+ function Da() {
583
+ G(Y);
584
+ var f = O();
585
+ G(W);
586
+ return f;
587
+ }
588
+ function Fa(f) {
589
+ var g = L(), l = true, n = false;
590
+ g.body = [];
591
+ for (G(za); !E(qa); ) {
592
+ var w = V();
593
+ g.body.push(w);
594
+ if (l && f && lb(w)) {
595
+ var J = n;
596
+ jb(n = true);
597
+ }
598
+ l = false;
599
+ }
600
+ n && !J && jb(false);
601
+ return y(g, "BlockStatement");
602
+ }
603
+ function pb(f, g) {
604
+ f.ua = g;
605
+ G(Z);
606
+ f.test = x === Z ? null : O();
607
+ G(Z);
608
+ f.update = x === W ? null : O();
609
+ G(W);
610
+ f.body = V();
611
+ H.pop();
612
+ return y(f, "ForStatement");
613
+ }
614
+ function ic(f, g) {
615
+ f.left = g;
616
+ f.right = O();
617
+ G(W);
618
+ f.body = V();
619
+ H.pop();
620
+ return y(f, "ForInStatement");
621
+ }
622
+ function hc(f, g) {
623
+ f.fa = [];
624
+ for (f.kind = "var"; ; ) {
625
+ var l = L();
626
+ l.id = ba();
627
+ S && Ya(l.id.name) && c(l.id.start, "Binding " + l.id.name + " in strict mode");
628
+ l.ua = E(Xb) ? O(true, g) : null;
629
+ f.fa.push(y(l, "VariableDeclarator"));
630
+ if (!E(ha))
631
+ break;
632
+ }
633
+ }
634
+ function O(f, g) {
635
+ var l = vb(g);
636
+ if (!f && x === ha) {
637
+ f = ja(l);
638
+ for (f.xb = [
639
+ l
640
+ ]; E(ha); )
641
+ f.xb.push(vb(g));
642
+ return y(f, "SequenceExpression");
643
+ }
644
+ return l;
645
+ }
646
+ function vb(f) {
647
+ var g = wb(xb(), -1, f);
648
+ if (E(Sb)) {
649
+ var l = ja(g);
650
+ l.test = g;
651
+ l.da = O(true);
652
+ G(Aa);
653
+ l.alternate = O(true, f);
654
+ g = y(l, "ConditionalExpression");
655
+ }
656
+ return x.Cb ? (l = ja(g), l.operator = T, l.left = g, B(), l.right = vb(f), Xa(g), y(l, "AssignmentExpression")) : g;
657
+ }
658
+ function wb(f, g, l) {
659
+ var n = x.L;
660
+ if (null !== n && (!l || x !== Za) && n > g) {
661
+ var w = ja(f);
662
+ w.left = f;
663
+ w.operator = T;
664
+ f = x;
665
+ B();
666
+ w.right = wb(xb(), n, l);
667
+ n = y(w, f === Vb || f === Wb ? "LogicalExpression" : "BinaryExpression");
668
+ return wb(n, g, l);
669
+ }
670
+ return f;
671
+ }
672
+ function xb() {
673
+ if (x.prefix) {
674
+ var f = L(), g = x.$b;
675
+ f.operator = T;
676
+ ya = f.prefix = true;
677
+ B();
678
+ f.K = xb();
679
+ g ? Xa(f.K) : S && "delete" === f.operator && "Identifier" === f.K.type && c(f.start, "Deleting local variable in strict mode");
680
+ return y(f, g ? "UpdateExpression" : "UnaryExpression");
681
+ }
682
+ for (g = Ga($a()); x.cc && !Wa(); )
683
+ f = ja(g), f.operator = T, f.prefix = false, f.K = g, Xa(g), B(), g = y(f, "UpdateExpression");
684
+ return g;
685
+ }
686
+ function Ga(f, g) {
687
+ if (E(Rb)) {
688
+ var l = ja(f);
689
+ l.object = f;
690
+ l.Wa = ba(true);
691
+ l.bb = false;
692
+ return Ga(y(l, "MemberExpression"), g);
693
+ }
694
+ return E(db) ? (l = ja(f), l.object = f, l.Wa = O(), l.bb = true, G(eb), Ga(y(l, "MemberExpression"), g)) : !g && E(Y) ? (l = ja(f), l.callee = f, l.arguments = yb(W, false), Ga(y(l, "CallExpression"), g)) : f;
695
+ }
696
+ function $a() {
697
+ switch (x) {
698
+ case sc:
699
+ var f = L();
700
+ B();
701
+ return y(f, "ThisExpression");
702
+ case sa:
703
+ return ba();
704
+ case Ca:
705
+ case Ta:
706
+ case ac:
707
+ return f = L(), f.value = T, f.raw = r.slice(I, oa), B(), y(f, "Literal");
708
+ case tc:
709
+ case uc:
710
+ case vc:
711
+ return f = L(), f.value = x.$a, f.raw = x.l, B(), y(f, "Literal");
712
+ case Y:
713
+ f = fb;
714
+ var g = I;
715
+ B();
716
+ var l = O();
717
+ l.start = g;
718
+ l.end = oa;
719
+ z.C && (l.X.start = f, l.X.end = cb);
720
+ z.Xa && (l.j = [
721
+ g,
722
+ oa
723
+ ]);
724
+ G(W);
725
+ return l;
726
+ case db:
727
+ return f = L(), B(), f.elements = yb(eb, true, true), y(f, "ArrayExpression");
728
+ case za:
729
+ f = L();
730
+ g = true;
731
+ l = false;
732
+ f.h = [];
733
+ for (B(); !E(qa); ) {
734
+ if (g)
735
+ g = false;
736
+ else if (G(ha), z.sb && E(qa))
737
+ break;
738
+ var n = {
739
+ key: x === Ca || x === Ta ? $a() : ba(true)
740
+ }, w = false;
741
+ if (E(Aa)) {
742
+ n.value = O(true);
743
+ var J = n.kind = "init";
744
+ } else
745
+ "Identifier" !== n.key.type || "get" !== n.key.name && "set" !== n.key.name ? aa() : (w = l = true, J = n.kind = n.key.name, n.key = x === Ca || x === Ta ? $a() : ba(true), x !== Y && aa(), n.value = sb(L(), false));
746
+ if ("Identifier" === n.key.type && (S || l))
747
+ for (var P = 0; P < f.h.length; ++P) {
748
+ var ta = f.h[P];
749
+ if (ta.key.name === n.key.name) {
750
+ var zb = J === ta.kind || w && "init" === ta.kind || "init" === J && ("get" === ta.kind || "set" === ta.kind);
751
+ zb && !S && "init" === J && "init" === ta.kind && (zb = false);
752
+ zb && c(n.key.start, "Redefinition of property");
753
+ }
754
+ }
755
+ f.h.push(n);
756
+ }
757
+ return y(f, "ObjectExpression");
758
+ case rb:
759
+ return f = L(), B(), sb(f, false);
760
+ case wc:
761
+ return f = L(), B(), f.callee = Ga($a(), true), f.arguments = E(Y) ? yb(W, false) : Xc, y(f, "NewExpression");
762
+ }
763
+ aa();
764
+ }
765
+ function sb(f, g) {
766
+ x === sa ? f.id = ba() : g ? aa() : f.id = null;
767
+ f.oa = [];
768
+ var l = true;
769
+ for (G(Y); !E(W); )
770
+ l ? l = false : G(ha), f.oa.push(ba());
771
+ l = Ea;
772
+ var n = H;
773
+ Ea = true;
774
+ H = [];
775
+ f.body = Fa(true);
776
+ Ea = l;
777
+ H = n;
778
+ if (S || f.body.body.length && lb(f.body.body[0])) {
779
+ for (l = f.id ? -1 : 0; l < f.oa.length; ++l)
780
+ if (n = 0 > l ? f.id : f.oa[l], (xc(n.name) || Ya(n.name)) && c(n.start, "Defining '" + n.name + "' in strict mode"), 0 <= l)
781
+ for (var w = 0; w < l; ++w)
782
+ n.name === f.oa[w].name && c(n.start, "Argument name clash in strict mode");
783
+ }
784
+ return y(f, g ? "FunctionDeclaration" : "FunctionExpression");
785
+ }
786
+ function yb(f, g, l) {
787
+ for (var n = [], w = true; !E(f); ) {
788
+ if (w)
789
+ w = false;
790
+ else if (G(ha), g && z.sb && E(f))
791
+ break;
792
+ n.push(l && x === ha ? null : O(true));
793
+ }
794
+ return n;
795
+ }
796
+ function ba(f) {
797
+ var g = L();
798
+ f && "everywhere" === z.yb && (f = false);
799
+ x === sa ? (!f && (z.yb && Yc(T) || S && xc(T)) && -1 === r.slice(I, oa).indexOf("\\") && c(I, "The keyword '" + T + "' is reserved"), g.name = T) : f && x.l ? g.name = x.l : aa();
800
+ ya = false;
801
+ B();
802
+ return y(g, "Identifier");
803
+ }
804
+ a.version = "0.5.0";
805
+ var z, r = "", pa, kb;
806
+ a.parse = function(f, g) {
807
+ r = String(f);
808
+ pa = r.length;
809
+ z = g || {};
810
+ for (var l in yc)
811
+ Object.prototype.hasOwnProperty.call(z, l) || (z[l] = yc[l]);
812
+ kb = z.sourceFile;
813
+ la = 1;
814
+ m = X = 0;
815
+ ya = true;
816
+ C();
817
+ l = z.dc;
818
+ hb = ia = m;
819
+ z.C && (ib = new h());
820
+ Ea = S = false;
821
+ H = [];
822
+ N();
823
+ f = l || L();
824
+ g = true;
825
+ l || (f.body = []);
826
+ for (; x !== gb; )
827
+ l = V(), f.body.push(l), g && lb(l) && jb(true), g = false;
828
+ return y(f, "Program");
829
+ };
830
+ var yc = {
831
+ fc: false,
832
+ sb: true,
833
+ yb: false,
834
+ Ib: false,
835
+ C: false,
836
+ va: null,
837
+ Xa: false,
838
+ dc: null,
839
+ sourceFile: null,
840
+ vb: null
841
+ }, m = 0, I = 0, oa = 0, fb, cb, x, T, ya, la, X, hb = 0, ia = 0, ib, Ea, H, S, Xc = [], Ca = {
842
+ type: "num"
843
+ }, ac = {
844
+ type: "regexp"
845
+ }, Ta = {
846
+ type: "string"
847
+ }, sa = {
848
+ type: "name"
849
+ }, gb = {
850
+ type: "eof"
851
+ }, mb = {
852
+ l: "break"
853
+ }, ub = {
854
+ l: "case",
855
+ m: true
856
+ }, pc = {
857
+ l: "catch"
858
+ }, dc = {
859
+ l: "continue"
860
+ }, ec = {
861
+ l: "debugger"
862
+ }, mc = {
863
+ l: "default"
864
+ }, fc = {
865
+ l: "do",
866
+ W: true
867
+ }, kc = {
868
+ l: "else",
869
+ m: true
870
+ }, qc = {
871
+ l: "finally"
872
+ }, gc = {
873
+ l: "for",
874
+ W: true
875
+ }, rb = {
876
+ l: "function"
877
+ }, jc = {
878
+ l: "if"
879
+ }, lc = {
880
+ l: "return",
881
+ m: true
882
+ }, tb = {
883
+ l: "switch"
884
+ }, nc = {
885
+ l: "throw",
886
+ m: true
887
+ }, oc = {
888
+ l: "try"
889
+ }, qb = {
890
+ l: "var"
891
+ }, ob = {
892
+ l: "while",
893
+ W: true
894
+ }, rc = {
895
+ l: "with"
896
+ }, wc = {
897
+ l: "new",
898
+ m: true
899
+ }, sc = {
900
+ l: "this"
901
+ }, tc = {
902
+ l: "null",
903
+ $a: null
904
+ }, uc = {
905
+ l: "true",
906
+ $a: true
907
+ }, vc = {
908
+ l: "false",
909
+ $a: false
910
+ }, Za = {
911
+ l: "in",
912
+ L: 7,
913
+ m: true
914
+ }, Vc = {
915
+ "break": mb,
916
+ "case": ub,
917
+ "catch": pc,
918
+ "continue": dc,
919
+ "debugger": ec,
920
+ "default": mc,
921
+ "do": fc,
922
+ "else": kc,
923
+ "finally": qc,
924
+ "for": gc,
925
+ "function": rb,
926
+ "if": jc,
927
+ "return": lc,
928
+ "switch": tb,
929
+ "throw": nc,
930
+ "try": oc,
931
+ "var": qb,
932
+ "while": ob,
933
+ "with": rc,
934
+ "null": tc,
935
+ "true": uc,
936
+ "false": vc,
937
+ "new": wc,
938
+ "in": Za,
939
+ "instanceof": {
940
+ l: "instanceof",
941
+ L: 7,
942
+ m: true
943
+ },
944
+ "this": sc,
945
+ "typeof": {
946
+ l: "typeof",
947
+ prefix: true,
948
+ m: true
949
+ },
950
+ "void": {
951
+ l: "void",
952
+ prefix: true,
953
+ m: true
954
+ },
955
+ "delete": {
956
+ l: "delete",
957
+ prefix: true,
958
+ m: true
959
+ }
960
+ }, db = {
961
+ type: "[",
962
+ m: true
963
+ }, eb = {
964
+ type: "]"
965
+ }, za = {
966
+ type: "{",
967
+ m: true
968
+ }, qa = {
969
+ type: "}"
970
+ }, Y = {
971
+ type: "(",
972
+ m: true
973
+ }, W = {
974
+ type: ")"
975
+ }, ha = {
976
+ type: ",",
977
+ m: true
978
+ }, Z = {
979
+ type: ";",
980
+ m: true
981
+ }, Aa = {
982
+ type: ":",
983
+ m: true
984
+ }, Rb = {
985
+ type: "."
986
+ }, Sb = {
987
+ type: "?",
988
+ m: true
989
+ }, Ub = {
990
+ L: 10,
991
+ m: true
992
+ }, Xb = {
993
+ Cb: true,
994
+ m: true
995
+ }, ma = {
996
+ Cb: true,
997
+ m: true
998
+ }, Pc = {
999
+ cc: true,
1000
+ prefix: true,
1001
+ $b: true
1002
+ }, Yb = {
1003
+ prefix: true,
1004
+ m: true
1005
+ }, Vb = {
1006
+ L: 1,
1007
+ m: true
1008
+ }, Wb = {
1009
+ L: 2,
1010
+ m: true
1011
+ }, Mc = {
1012
+ L: 3,
1013
+ m: true
1014
+ }, Oc = {
1015
+ L: 4,
1016
+ m: true
1017
+ }, Nc = {
1018
+ L: 5,
1019
+ m: true
1020
+ }, Tc = {
1021
+ L: 6,
1022
+ m: true
1023
+ }, Sc = {
1024
+ L: 7,
1025
+ m: true
1026
+ }, Rc = {
1027
+ L: 8,
1028
+ m: true
1029
+ }, Qc = {
1030
+ L: 9,
1031
+ prefix: true,
1032
+ m: true
1033
+ }, Lc = {
1034
+ L: 10,
1035
+ m: true
1036
+ }, Yc = e("class enum extends super const export import"), xc = e("implements interface let package private protected public static yield"), Ya = e("eval arguments"), Uc = e("break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this"), Kc = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Pb = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"), Jc = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‌‍‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"), Va = /[\n\r\u2028\u2029]/, Sa = /\r\n|[\n\r\u2028\u2029]/g, ra, nb = {
1037
+ kind: "loop"
1038
+ }, Wc = {
1039
+ kind: "switch"
1040
+ };
1041
+ };
1042
+ var __this = __this = "undefined" === typeof globalThis ? void 0 : globalThis;
1043
+ ca(__this.j || (__this.j = {}));
1044
+ function t(a, b) {
1045
+ "string" === typeof a && (a = da(a, "code"));
1046
+ var d = a.constructor;
1047
+ this.ya = function() {
1048
+ return new d({
1049
+ options: {}
1050
+ });
1051
+ };
1052
+ var c = this.ya(), e;
1053
+ for (e in a)
1054
+ c[e] = "body" === e ? a[e].slice() : a[e];
1055
+ this.ra = c;
1056
+ this.ca = [];
1057
+ this.qb = b;
1058
+ this.za = false;
1059
+ this.ba = [];
1060
+ this.Ya = 0;
1061
+ this.rb = /* @__PURE__ */ Object.create(null);
1062
+ a = /^step([A-Z]\w*)$/;
1063
+ var h, k;
1064
+ for (k in this)
1065
+ "function" === typeof this[k] && (h = k.match(a)) && (this.rb[h[1]] = this[k].bind(this));
1066
+ this.N = ea(this, this.ra, null);
1067
+ this.Na = this.N.object;
1068
+ this.ra = da(this.ba.join("\n"), "polyfills");
1069
+ this.ba = void 0;
1070
+ fa(this.ra);
1071
+ h = new u(this.ra, this.N);
1072
+ h.done = false;
1073
+ this.o = [
1074
+ h
1075
+ ];
1076
+ this.Eb();
1077
+ this.value = void 0;
1078
+ this.ra = c;
1079
+ h = new u(this.ra, this.N);
1080
+ h.done = false;
1081
+ this.o.length = 0;
1082
+ this.o[0] = h;
1083
+ }
1084
+ var ka = {
1085
+ C: true,
1086
+ kc: 5
1087
+ }, ua = {
1088
+ configurable: true,
1089
+ enumerable: true,
1090
+ writable: false
1091
+ }, v = {
1092
+ configurable: true,
1093
+ enumerable: false,
1094
+ writable: true
1095
+ }, A = {
1096
+ configurable: true,
1097
+ enumerable: false,
1098
+ writable: false
1099
+ }, va = {
1100
+ configurable: false,
1101
+ enumerable: false,
1102
+ writable: false
1103
+ }, wa = {
1104
+ configurable: false,
1105
+ enumerable: true,
1106
+ writable: true
1107
+ }, xa = {
1108
+ STEP_ERROR: true
1109
+ }, Ha = {
1110
+ SCOPE_REFERENCE: true
1111
+ }, Ia = {
1112
+ VALUE_IN_DESCRIPTOR: true
1113
+ }, Ja = {
1114
+ REGEXP_TIMEOUT: true
1115
+ }, Ka = [], La = null, Ma = null, Na = "undefined" === typeof globalThis ? void 0 : globalThis, Oa = [
1116
+ "onmessage = function(e) {",
1117
+ "var result;",
1118
+ "var data = e.data;",
1119
+ "switch (data[0]) {",
1120
+ "case 'split':",
1121
+ "result = data[1].split(data[2], data[3]);",
1122
+ "break;",
1123
+ "case 'match':",
1124
+ "result = data[1].match(data[2]);",
1125
+ "break;",
1126
+ "case 'search':",
1127
+ "result = data[1].search(data[2]);",
1128
+ "break;",
1129
+ "case 'replace':",
1130
+ "result = data[1].replace(data[2], data[3]);",
1131
+ "break;",
1132
+ "case 'exec':",
1133
+ "var regexp = data[1];",
1134
+ "regexp.lastIndex = data[2];",
1135
+ "result = [regexp.exec(data[3]), data[1].lastIndex];",
1136
+ "break;",
1137
+ "default:",
1138
+ "throw Error('Unknown RegExp operation: ' + data[0]);",
1139
+ "}",
1140
+ "postMessage(result);",
1141
+ "close();",
1142
+ "};"
1143
+ ];
1144
+ function Pa(a) {
1145
+ var b = a >>> 0;
1146
+ return b === Number(a) ? b : NaN;
1147
+ }
1148
+ function Qa(a) {
1149
+ var b = a >>> 0;
1150
+ return String(b) === String(a) && 4294967295 !== b ? b : NaN;
1151
+ }
1152
+ function fa(a, b, d) {
1153
+ b ? a.start = b : delete a.start;
1154
+ d ? a.end = d : delete a.end;
1155
+ for (var c in a)
1156
+ if ("loc" !== c && a.hasOwnProperty(c)) {
1157
+ var e = a[c];
1158
+ e && "object" === typeof e && fa(e, b, d);
1159
+ }
1160
+ }
1161
+ t.prototype.REGEXP_MODE = 2;
1162
+ t.prototype.REGEXP_THREAD_TIMEOUT = 1e3;
1163
+ t.prototype.POLYFILL_TIMEOUT = 1e3;
1164
+ p = t.prototype;
1165
+ p.P = false;
1166
+ p.Ka = false;
1167
+ p.Kb = 0;
1168
+ p.ic = 0;
1169
+ function da(a, b) {
1170
+ var d = {}, c;
1171
+ for (c in ka)
1172
+ d[c] = ka[c];
1173
+ d.sourceFile = b;
1174
+ return Na.j.parse(a, d);
1175
+ }
1176
+ p.Jb = function(a) {
1177
+ var b = this.o[0];
1178
+ if (!b || "Program" !== b.node.type)
1179
+ throw Error("Expecting original AST to start with a Program node");
1180
+ "string" === typeof a && (a = da(a, "appendCode" + this.Kb++));
1181
+ if (!a || "Program" !== a.type)
1182
+ throw Error("Expecting new AST to start with a Program node");
1183
+ Ra(this, a, b.scope);
1184
+ Array.prototype.push.apply(b.node.body, a.body);
1185
+ b.node.body.jb = null;
1186
+ b.done = false;
1187
+ };
1188
+ p.lb = function() {
1189
+ var a = this.o, b;
1190
+ do {
1191
+ var d = a[a.length - 1];
1192
+ if (this.za)
1193
+ break;
1194
+ else if (!d || "Program" === d.node.type && d.done) {
1195
+ if (!this.ca.length)
1196
+ return false;
1197
+ d = this.ca[0];
1198
+ if (!d || d.time > Date.now())
1199
+ d = null;
1200
+ else {
1201
+ this.ca.shift();
1202
+ 0 <= d.interval && ab(this, d, d.interval);
1203
+ var c = new u(d.node, d.scope);
1204
+ d.zb && (c.ia = 2, c.B = this.Na, c.U = d.zb, c.Qa = true, c.F = d.Lb);
1205
+ d = c;
1206
+ }
1207
+ if (!d)
1208
+ break;
1209
+ }
1210
+ c = d.node;
1211
+ var e = Ma;
1212
+ Ma = this;
1213
+ try {
1214
+ var h = this.rb[c.type](a, d, c);
1215
+ } catch (k) {
1216
+ if (k !== xa)
1217
+ throw this.value !== k && (this.value = void 0), k;
1218
+ } finally {
1219
+ Ma = e;
1220
+ }
1221
+ h && a.push(h);
1222
+ if (this.P)
1223
+ throw this.value = void 0, Error("Getter not supported in this context");
1224
+ if (this.Ka)
1225
+ throw this.value = void 0, Error("Setter not supported in this context");
1226
+ b || c.end || (b = Date.now() + this.POLYFILL_TIMEOUT);
1227
+ } while (!c.end && b > Date.now());
1228
+ return true;
1229
+ };
1230
+ p.Eb = function() {
1231
+ for (; !this.za && this.lb(); )
1232
+ ;
1233
+ return this.za;
1234
+ };
1235
+ function bb(a, b) {
1236
+ a.g(b, "NaN", NaN, va);
1237
+ a.g(b, "Infinity", Infinity, va);
1238
+ a.g(b, "undefined", void 0, va);
1239
+ a.g(b, "window", b, ua);
1240
+ a.g(b, "this", b, va);
1241
+ a.g(b, "self", b);
1242
+ a.M = new D(null);
1243
+ a.Z = new D(a.M);
1244
+ Ab(a, b);
1245
+ Bb(a, b);
1246
+ b.xa = a.M;
1247
+ a.g(b, "constructor", a.v, v);
1248
+ Cb(a, b);
1249
+ Db(a, b);
1250
+ Eb(a, b);
1251
+ Fb(a, b);
1252
+ Gb(a, b);
1253
+ Hb(a, b);
1254
+ Ib(a, b);
1255
+ Jb(a, b);
1256
+ Kb(a, b);
1257
+ var d = a.i(function() {
1258
+ throw EvalError("Can't happen");
1259
+ }, false);
1260
+ d.eval = true;
1261
+ a.g(b, "eval", d, v);
1262
+ a.g(b, "parseInt", a.i(parseInt, false), v);
1263
+ a.g(b, "parseFloat", a.i(parseFloat, false), v);
1264
+ a.g(b, "isNaN", a.i(isNaN, false), v);
1265
+ a.g(b, "isFinite", a.i(isFinite, false), v);
1266
+ for (var c = [
1267
+ [
1268
+ escape,
1269
+ "escape"
1270
+ ],
1271
+ [
1272
+ unescape,
1273
+ "unescape"
1274
+ ],
1275
+ [
1276
+ decodeURI,
1277
+ "decodeURI"
1278
+ ],
1279
+ [
1280
+ decodeURIComponent,
1281
+ "decodeURIComponent"
1282
+ ],
1283
+ [
1284
+ encodeURI,
1285
+ "encodeURI"
1286
+ ],
1287
+ [
1288
+ encodeURIComponent,
1289
+ "encodeURIComponent"
1290
+ ]
1291
+ ], e = 0; e < c.length; e++)
1292
+ d = function(h) {
1293
+ return function(k) {
1294
+ try {
1295
+ return h(k);
1296
+ } catch (q) {
1297
+ K(a, a.Gb, q.message);
1298
+ }
1299
+ };
1300
+ }(c[e][0]), a.g(b, c[e][1], a.i(d, false), v);
1301
+ d = function(h) {
1302
+ return Lb(a, false, arguments);
1303
+ };
1304
+ a.g(b, "setTimeout", a.i(d, false), v);
1305
+ d = function(h) {
1306
+ return Lb(a, true, arguments);
1307
+ };
1308
+ a.g(b, "setInterval", a.i(d, false), v);
1309
+ d = function(h) {
1310
+ Mb(a, h);
1311
+ };
1312
+ a.g(b, "clearTimeout", a.i(d, false), v);
1313
+ d = function(h) {
1314
+ Mb(a, h);
1315
+ };
1316
+ a.g(b, "clearInterval", a.i(d, false), v);
1317
+ a.OBJECT = a.v;
1318
+ a.OBJECT_PROTO = a.M;
1319
+ a.FUNCTION = a.O;
1320
+ a.FUNCTION_PROTO = a.Z;
1321
+ a.ARRAY = a.qa;
1322
+ a.ARRAY_PROTO = a.La;
1323
+ a.REGEXP = a.I;
1324
+ a.REGEXP_PROTO = a.Ma;
1325
+ a.DATE = a.$;
1326
+ a.DATE_PROTO = a.nb;
1327
+ a.qb && a.qb(a, b);
1328
+ }
1329
+ p.Wb = 0;
1330
+ function Ab(a, b) {
1331
+ var d = /^[A-Za-z_$][\w$]*$/;
1332
+ var c = function(e) {
1333
+ var h = arguments.length ? String(arguments[arguments.length - 1]) : "", k = Array.prototype.slice.call(arguments, 0, -1).join(",").trim();
1334
+ if (k) {
1335
+ k = k.split(/\s*,\s*/);
1336
+ for (var q = 0; q < k.length; q++) {
1337
+ var C = k[q];
1338
+ d.test(C) || K(a, a.T, "Invalid function argument: " + C);
1339
+ }
1340
+ k = k.join(", ");
1341
+ }
1342
+ try {
1343
+ var U = da("(function(" + k + ") {" + h + "})", "function" + a.Wb++);
1344
+ } catch (N) {
1345
+ K(a, a.T, "Invalid code: " + N.message);
1346
+ }
1347
+ 1 !== U.body.length && K(a, a.T, "Invalid code in function body");
1348
+ return Nb(a, U.body[0].la, a.N, "anonymous");
1349
+ };
1350
+ a.O = a.i(c, true);
1351
+ a.g(b, "Function", a.O, v);
1352
+ a.g(a.O, "prototype", a.Z, v);
1353
+ a.g(a.Z, "constructor", a.O, v);
1354
+ a.Z.Ta = function() {
1355
+ };
1356
+ a.Z.Ta.id = a.Ya++;
1357
+ a.Z.Ab = true;
1358
+ a.g(a.Z, "length", 0, A);
1359
+ a.Z.H = "Function";
1360
+ c = function(e, h) {
1361
+ var k = a.o[a.o.length - 1];
1362
+ k.U = this;
1363
+ k.B = e;
1364
+ k.F = [];
1365
+ null !== h && void 0 !== h && (h instanceof D ? k.F = Ob(a, h) : K(a, a.j, "CreateListFromArrayLike called on non-object"));
1366
+ k.eb = false;
1367
+ };
1368
+ M(a, a.O, "apply", c);
1369
+ c = function(e) {
1370
+ var h = a.o[a.o.length - 1];
1371
+ h.U = this;
1372
+ h.B = e;
1373
+ h.F = [];
1374
+ for (var k = 1; k < arguments.length; k++)
1375
+ h.F.push(arguments[k]);
1376
+ h.eb = false;
1377
+ };
1378
+ M(a, a.O, "call", c);
1379
+ a.ba.push("Object.defineProperty(Function.prototype, 'bind',", "{configurable: true, writable: true, value:", "function bind(oThis) {", "if (typeof this !== 'function') {", "throw TypeError('What is trying to be bound is not callable');", "}", "var aArgs = Array.prototype.slice.call(arguments, 1),", "fToBind = this,", "fNOP = function() {},", "fBound = function() {", "return fToBind.apply(this instanceof fNOP", "? this", ": oThis,", "aArgs.concat(Array.prototype.slice.call(arguments)));", "};", "if (this.prototype) {", "fNOP.prototype = this.prototype;", "}", "fBound.prototype = new fNOP();", "return fBound;", "}", "});", "");
1380
+ c = function() {
1381
+ return String(this);
1382
+ };
1383
+ M(a, a.O, "toString", c);
1384
+ a.g(a.O, "toString", a.i(c, false), v);
1385
+ c = function() {
1386
+ return this.valueOf();
1387
+ };
1388
+ M(a, a.O, "valueOf", c);
1389
+ a.g(a.O, "valueOf", a.i(c, false), v);
1390
+ }
1391
+ function Bb(a, b) {
1392
+ function d(e) {
1393
+ void 0 !== e && null !== e || K(a, a.j, "Cannot convert '" + e + "' to object");
1394
+ }
1395
+ var c = function(e) {
1396
+ if (void 0 === e || null === e)
1397
+ return zc(a) ? this : a.s(a.M);
1398
+ if (!(e instanceof D)) {
1399
+ var h = a.s(Ac(a, e));
1400
+ h.data = e;
1401
+ return h;
1402
+ }
1403
+ return e;
1404
+ };
1405
+ a.v = a.i(c, true);
1406
+ a.g(a.v, "prototype", a.M, v);
1407
+ a.g(a.M, "constructor", a.v, v);
1408
+ a.g(b, "Object", a.v, v);
1409
+ c = function(e) {
1410
+ d(e);
1411
+ return Bc(a, Object.getOwnPropertyNames(e instanceof D ? e.h : e));
1412
+ };
1413
+ a.g(a.v, "getOwnPropertyNames", a.i(c, false), v);
1414
+ c = function(e) {
1415
+ d(e);
1416
+ e instanceof D && (e = e.h);
1417
+ return Bc(a, Object.keys(e));
1418
+ };
1419
+ a.g(a.v, "keys", a.i(c, false), v);
1420
+ c = function(e) {
1421
+ if (null === e)
1422
+ return a.s(null);
1423
+ e instanceof D || K(a, a.j, "Object prototype may only be an Object or null, not " + e);
1424
+ return a.s(e);
1425
+ };
1426
+ a.g(a.v, "create", a.i(c, false), v);
1427
+ a.ba.push("(function() {", "var create_ = Object.create;", "Object.create = function create(proto, props) {", "var obj = create_(proto);", "props && Object.defineProperties(obj, props);", "return obj;", "};", "})();", "");
1428
+ c = function(e, h, k) {
1429
+ h = String(h);
1430
+ e instanceof D || K(a, a.j, "Object.defineProperty called on non-object: " + e);
1431
+ k instanceof D || K(a, a.j, "Property description must be an object");
1432
+ !e.preventExtensions || h in e.h || K(a, a.j, "Can't define property '" + h + "', object is not extensible");
1433
+ a.g(e, h, Ia, k.h);
1434
+ return e;
1435
+ };
1436
+ a.g(a.v, "defineProperty", a.i(c, false), v);
1437
+ a.ba.push("(function() {", "var defineProperty_ = Object.defineProperty;", "Object.defineProperty = function defineProperty(obj, prop, d1) {", "var d2 = {};", "if ('configurable' in d1) d2.configurable = d1.configurable;", "if ('enumerable' in d1) d2.enumerable = d1.enumerable;", "if ('writable' in d1) d2.writable = d1.writable;", "if ('value' in d1) d2.value = d1.value;", "if ('get' in d1) d2.get = d1.get;", "if ('set' in d1) d2.set = d1.set;", "return defineProperty_(obj, prop, d2);", "};", "})();", "Object.defineProperty(Object, 'defineProperties',", "{configurable: true, writable: true, value:", "function defineProperties(obj, props) {", "var keys = Object.keys(props);", "for (var i = 0; i < keys.length; i++) {", "Object.defineProperty(obj, keys[i], props[keys[i]]);", "}", "return obj;", "}", "});", "");
1438
+ c = function(e, h) {
1439
+ e instanceof D || K(a, a.j, "Object.getOwnPropertyDescriptor called on non-object: " + e);
1440
+ h = String(h);
1441
+ if (h in e.h) {
1442
+ var k = Object.getOwnPropertyDescriptor(e.h, h), q = e.V[h];
1443
+ e = e.Y[h];
1444
+ h = a.s(a.M);
1445
+ q || e ? (a.g(h, "get", q), a.g(h, "set", e)) : (a.g(h, "value", k.value), a.g(h, "writable", k.writable));
1446
+ a.g(h, "configurable", k.configurable);
1447
+ a.g(h, "enumerable", k.enumerable);
1448
+ return h;
1449
+ }
1450
+ };
1451
+ a.g(a.v, "getOwnPropertyDescriptor", a.i(c, false), v);
1452
+ c = function(e) {
1453
+ d(e);
1454
+ return Ac(a, e);
1455
+ };
1456
+ a.g(a.v, "getPrototypeOf", a.i(c, false), v);
1457
+ c = function(e) {
1458
+ return !!e && !e.preventExtensions;
1459
+ };
1460
+ a.g(a.v, "isExtensible", a.i(c, false), v);
1461
+ c = function(e) {
1462
+ e instanceof D && (e.preventExtensions = true);
1463
+ return e;
1464
+ };
1465
+ a.g(a.v, "preventExtensions", a.i(c, false), v);
1466
+ M(a, a.v, "toString", D.prototype.toString);
1467
+ M(a, a.v, "toLocaleString", D.prototype.toString);
1468
+ M(a, a.v, "valueOf", D.prototype.valueOf);
1469
+ c = function(e) {
1470
+ d(this);
1471
+ return this instanceof D ? String(e) in this.h : this.hasOwnProperty(e);
1472
+ };
1473
+ M(a, a.v, "hasOwnProperty", c);
1474
+ c = function(e) {
1475
+ d(this);
1476
+ return this instanceof D ? Object.prototype.propertyIsEnumerable.call(this.h, e) : this.propertyIsEnumerable(e);
1477
+ };
1478
+ M(a, a.v, "propertyIsEnumerable", c);
1479
+ c = function(e) {
1480
+ for (; ; ) {
1481
+ e = Ac(a, e);
1482
+ if (!e)
1483
+ return false;
1484
+ if (e === this)
1485
+ return true;
1486
+ }
1487
+ };
1488
+ M(a, a.v, "isPrototypeOf", c);
1489
+ }
1490
+ function Cb(a, b) {
1491
+ var d = function(c) {
1492
+ var e = zc(a) ? this : Cc(a), h = arguments[0];
1493
+ if (1 === arguments.length && "number" === typeof h)
1494
+ isNaN(Pa(h)) && K(a, a.ob, "Invalid array length: " + h), e.h.length = h;
1495
+ else {
1496
+ for (h = 0; h < arguments.length; h++)
1497
+ e.h[h] = arguments[h];
1498
+ e.h.length = h;
1499
+ }
1500
+ return e;
1501
+ };
1502
+ a.qa = a.i(d, true);
1503
+ a.La = a.qa.h.prototype;
1504
+ a.g(b, "Array", a.qa, v);
1505
+ d = function(c) {
1506
+ return c && "Array" === c.H;
1507
+ };
1508
+ a.g(a.qa, "isArray", a.i(d, false), v);
1509
+ a.g(a.La, "length", 0, {
1510
+ configurable: false,
1511
+ enumerable: false,
1512
+ writable: true
1513
+ });
1514
+ a.La.H = "Array";
1515
+ a.ba.push("(function() {", "function createArrayMethod_(f) {", "Object.defineProperty(Array.prototype, f.name,", "{configurable: true, writable: true, value: f});", "}", "createArrayMethod_(", "function pop() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 0) {", "o.length = 0;", "return undefined;", "}", "len--;", "var x = o[len];", "delete o[len];", "o.length = len;", "return x;", "}", ");", "createArrayMethod_(", "function push(var_args) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "for (var i = 0; i < arguments.length; i++) {", "o[len] = arguments[i];", "len++;", "}", "o.length = len;", "return len;", "}", ");", "createArrayMethod_(", "function shift() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 0) {", "o.length = 0;", "return undefined;", "}", "var value = o[0];", "for (var i = 0; i < len - 1; i++) {", "if ((i + 1) in o) {", "o[i] = o[i + 1];", "} else {", "delete o[i];", "}", "}", "delete o[i];", "o.length = len - 1;", "return value;", "}", ");", "createArrayMethod_(", "function unshift(var_args) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 0) {", "len = 0;", "}", "for (var i = len - 1; i >= 0; i--) {", "if (i in o) {", "o[i + arguments.length] = o[i];", "} else {", "delete o[i + arguments.length];", "}", "}", "for (var i = 0; i < arguments.length; i++) {", "o[i] = arguments[i];", "}", "return (o.length = len + arguments.length);", "}", ");", "createArrayMethod_(", "function reverse() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 2) {", "return o;", "}", "for (var i = 0; i < len / 2 - 0.5; i++) {", "var x = o[i];", "var hasX = i in o;", "if ((len - i - 1) in o) {", "o[i] = o[len - i - 1];", "} else {", "delete o[i];", "}", "if (hasX) {", "o[len - i - 1] = x;", "} else {", "delete o[len - i - 1];", "}", "}", "return o;", "}", ");", "createArrayMethod_(", "function indexOf(searchElement, fromIndex) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var n = fromIndex | 0;", "if (!len || n >= len) {", "return -1;", "}", "var i = Math.max(n >= 0 ? n : len - Math.abs(n), 0);", "while (i < len) {", "if (i in o && o[i] === searchElement) {", "return i;", "}", "i++;", "}", "return -1;", "}", ");", "createArrayMethod_(", "function lastIndexOf(searchElement, fromIndex) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len) {", "return -1;", "}", "var n = len - 1;", "if (arguments.length > 1) {", "n = fromIndex | 0;", "if (n) {", "n = (n > 0 || -1) * Math.floor(Math.abs(n));", "}", "}", "var i = n >= 0 ? Math.min(n, len - 1) : len - Math.abs(n);", "while (i >= 0) {", "if (i in o && o[i] === searchElement) {", "return i;", "}", "i--;", "}", "return -1;", "}", ");", "createArrayMethod_(", "function slice(start, end) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "start |= 0;", "start = (start >= 0) ? start : Math.max(0, len + start);", "if (typeof end !== 'undefined') {", "if (end !== Infinity) {", "end |= 0;", "}", "if (end < 0) {", "end = len + end;", "} else {", "end = Math.min(end, len);", "}", "} else {", "end = len;", "}", "var size = end - start;", "var cloned = new Array(size);", "for (var i = 0; i < size; i++) {", "if ((start + i) in o) {", "cloned[i] = o[start + i];", "}", "}", "return cloned;", "}", ");", "createArrayMethod_(", "function splice(start, deleteCount, var_args) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "start |= 0;", "if (start < 0) {", "start = Math.max(len + start, 0);", "} else {", "start = Math.min(start, len);", "}", "if (arguments.length < 1) {", "deleteCount = len - start;", "} else {", "deleteCount |= 0;", "deleteCount = Math.max(0, Math.min(deleteCount, len - start));", "}", "var removed = [];", "for (var i = start; i < start + deleteCount; i++) {", "if (i in o) {", "removed.push(o[i]);", "} else {", "removed.length++;", "}", "if ((i + deleteCount) in o) {", "o[i] = o[i + deleteCount];", "} else {", "delete o[i];", "}", "}", "for (var i = start + deleteCount; i < len - deleteCount; i++) {", "if ((i + deleteCount) in o) {", "o[i] = o[i + deleteCount];", "} else {", "delete o[i];", "}", "}", "for (var i = len - deleteCount; i < len; i++) {", "delete o[i];", "}", "len -= deleteCount;", "var arl = arguments.length - 2;", "for (var i = len - 1; i >= start; i--) {", "if (i in o) {", "o[i + arl] = o[i];", "} else {", "delete o[i + arl];", "}", "}", "len += arl;", "for (var i = 2; i < arguments.length; i++) {", "o[start + i - 2] = arguments[i];", "}", "o.length = len;", "return removed;", "}", ");", "createArrayMethod_(", "function concat(var_args) {", "if (!this) throw TypeError();", "var o = Object(this);", "var cloned = [];", "for (var i = -1; i < arguments.length; i++) {", "var value = (i === -1) ? o : arguments[i];", "if (Array.isArray(value)) {", "for (var j = 0, l = value.length; j < l; j++) {", "if (j in value) {", "cloned.push(value[j]);", "} else {", "cloned.length++;", "}", "}", "} else {", "cloned.push(value);", "}", "}", "return cloned;", "}", ");", "createArrayMethod_(", "function join(opt_separator) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var sep = typeof opt_separator === 'undefined' ?", "',' : ('' + opt_separator);", "var str = '';", "for (var i = 0; i < len; i++) {", "if (i && sep) str += sep;", "str += (o[i] === null || o[i] === undefined) ? '' : o[i];", "}", "return str;", "}", ");", "createArrayMethod_(", "function every(callbackfn, thisArg) {", "if (!this || typeof callbackfn !== 'function') throw TypeError();", "var t, k = 0;", "var o = Object(this), len = o.length >>> 0;", "if (arguments.length > 1) t = thisArg;", "while (k < len) {", "if (k in o && !callbackfn.call(t, o[k], k, o)) return false;", "k++;", "}", "return true;", "}", ");", "createArrayMethod_(", "function filter(fun, var_args) {", "if (this === void 0 || this === null || typeof fun !== 'function') throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var res = [];", "var thisArg = arguments.length >= 2 ? arguments[1] : void 0;", "for (var i = 0; i < len; i++) {", "if (i in o) {", "var val = o[i];", "if (fun.call(thisArg, val, i, o)) res.push(val);", "}", "}", "return res;", "}", ");", "createArrayMethod_(", "function forEach(callback, thisArg) {", "if (!this || typeof callback !== 'function') throw TypeError();", "var t, k = 0;", "var o = Object(this), len = o.length >>> 0;", "if (arguments.length > 1) t = thisArg;", "while (k < len) {", "if (k in o) callback.call(t, o[k], k, o);", "k++;", "}", "}", ");", "createArrayMethod_(", "function map(callback, thisArg) {", "if (!this || typeof callback !== 'function') throw TypeError();", "var t, k = 0;", "var o = Object(this), len = o.length >>> 0;", "if (arguments.length > 1) t = thisArg;", "var a = new Array(len);", "while (k < len) {", "if (k in o) a[k] = callback.call(t, o[k], k, o);", "k++;", "}", "return a;", "}", ");", "createArrayMethod_(", "function reduce(callback /*, initialValue*/) {", "if (!this || typeof callback !== 'function') throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var k = 0, value;", "if (arguments.length === 2) {", "value = arguments[1];", "} else {", "while (k < len && !(k in o)) k++;", "if (k >= len) {", "throw TypeError('Reduce of empty array with no initial value');", "}", "value = o[k++];", "}", "for (; k < len; k++) {", "if (k in o) value = callback(value, o[k], k, o);", "}", "return value;", "}", ");", "createArrayMethod_(", "function reduceRight(callback /*, initialValue*/) {", "if (null === this || 'undefined' === typeof this || 'function' !== typeof callback) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var k = len - 1, value;", "if (arguments.length >= 2) {", "value = arguments[1];", "} else {", "while (k >= 0 && !(k in o)) k--;", "if (k < 0) {", "throw TypeError('Reduce of empty array with no initial value');", "}", "value = o[k--];", "}", "for (; k >= 0; k--) {", "if (k in o) value = callback(value, o[k], k, o);", "}", "return value;", "}", ");", "createArrayMethod_(", "function some(fun/*, thisArg*/) {", "if (!this || typeof fun !== 'function') throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var thisArg = arguments.length >= 2 ? arguments[1] : void 0;", "for (var i = 0; i < len; i++) {", "if (i in o && fun.call(thisArg, o[i], i, o)) return true;", "}", "return false;", "}", ");", "createArrayMethod_(", "function sort(opt_comp) {", "if (!this) throw TypeError();", "if (typeof opt_comp !== 'function') {", "opt_comp = undefined;", "}", "for (var i = 0; i < this.length; i++) {", "var changes = 0;", "for (var j = 0; j < this.length - i - 1; j++) {", "if (opt_comp ? (opt_comp(this[j], this[j + 1]) > 0) :", "(String(this[j]) > String(this[j + 1]))) {", "var swap = this[j];", "var hasSwap = j in this;", "if ((j + 1) in this) {", "this[j] = this[j + 1];", "} else {", "delete this[j];", "}", "if (hasSwap) {", "this[j + 1] = swap;", "} else {", "delete this[j + 1];", "}", "changes++;", "}", "}", "if (!changes) break;", "}", "return this;", "}", ");", "createArrayMethod_(", "function toLocaleString() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var out = [];", "for (var i = 0; i < len; i++) {", "out[i] = (o[i] === null || o[i] === undefined) ? '' : o[i].toLocaleString();", "}", "return out.join(',');", "}", ");", "})();", "");
1516
+ }
1517
+ function Db(a, b) {
1518
+ var d = function(c) {
1519
+ c = arguments.length ? Na.String(c) : "";
1520
+ return zc(a) ? (this.data = c, this) : c;
1521
+ };
1522
+ a.J = a.i(d, true);
1523
+ a.g(b, "String", a.J, v);
1524
+ a.g(a.J, "fromCharCode", a.i(String.fromCharCode, false), v);
1525
+ b = "charAt charCodeAt concat indexOf lastIndexOf slice substr substring toLocaleLowerCase toLocaleUpperCase toLowerCase toUpperCase trim".split(" ");
1526
+ for (d = 0; d < b.length; d++)
1527
+ M(a, a.J, b[d], String.prototype[b[d]]);
1528
+ d = function(c, e, h) {
1529
+ e = a.R(e);
1530
+ h = a.R(h);
1531
+ try {
1532
+ return String(this).localeCompare(c, e, h);
1533
+ } catch (k) {
1534
+ K(a, a.D, "localeCompare: " + k.message);
1535
+ }
1536
+ };
1537
+ M(a, a.J, "localeCompare", d);
1538
+ d = function(c, e, h) {
1539
+ var k = String(this);
1540
+ e = e ? Number(e) : void 0;
1541
+ if (Q(a, c, a.I) && (c = c.data, Dc(a, c, h), 2 === a.REGEXP_MODE)) {
1542
+ if (La)
1543
+ c = Ec(a, "string.split(separator, limit)", {
1544
+ string: k,
1545
+ separator: c,
1546
+ limit: e
1547
+ }, c, h), c !== Ja && h(Bc(a, c));
1548
+ else {
1549
+ var q = a.ha(), C = Fc(a, c, q, h);
1550
+ q.onmessage = function(U) {
1551
+ clearTimeout(C);
1552
+ h(Bc(a, U.data));
1553
+ };
1554
+ q.postMessage([
1555
+ "split",
1556
+ k,
1557
+ c,
1558
+ e
1559
+ ]);
1560
+ }
1561
+ return;
1562
+ }
1563
+ c = k.split(c, e);
1564
+ h(Bc(a, c));
1565
+ };
1566
+ Gc(a, a.J, "split", d);
1567
+ d = function(c, e) {
1568
+ var h = String(this);
1569
+ c = Q(a, c, a.I) ? c.data : new RegExp(c);
1570
+ Dc(a, c, e);
1571
+ if (2 === a.REGEXP_MODE) {
1572
+ if (La)
1573
+ c = Ec(a, "string.match(regexp)", {
1574
+ string: h,
1575
+ regexp: c
1576
+ }, c, e), c !== Ja && e(c && Bc(a, c));
1577
+ else {
1578
+ var k = a.ha(), q = Fc(a, c, k, e);
1579
+ k.onmessage = function(C) {
1580
+ clearTimeout(q);
1581
+ e(C.data && Bc(a, C.data));
1582
+ };
1583
+ k.postMessage([
1584
+ "match",
1585
+ h,
1586
+ c
1587
+ ]);
1588
+ }
1589
+ } else
1590
+ c = h.match(c), e(c && Bc(a, c));
1591
+ };
1592
+ Gc(a, a.J, "match", d);
1593
+ d = function(c, e) {
1594
+ var h = String(this);
1595
+ Q(a, c, a.I) ? c = c.data : c = new RegExp(c);
1596
+ Dc(a, c, e);
1597
+ if (2 === a.REGEXP_MODE) {
1598
+ if (La)
1599
+ c = Ec(a, "string.search(regexp)", {
1600
+ string: h,
1601
+ regexp: c
1602
+ }, c, e), c !== Ja && e(c);
1603
+ else {
1604
+ var k = a.ha(), q = Fc(a, c, k, e);
1605
+ k.onmessage = function(C) {
1606
+ clearTimeout(q);
1607
+ e(C.data);
1608
+ };
1609
+ k.postMessage([
1610
+ "search",
1611
+ h,
1612
+ c
1613
+ ]);
1614
+ }
1615
+ } else
1616
+ e(h.search(c));
1617
+ };
1618
+ Gc(a, a.J, "search", d);
1619
+ d = function(c, e, h) {
1620
+ var k = String(this);
1621
+ e = String(e);
1622
+ if (Q(a, c, a.I) && (c = c.data, Dc(a, c, h), 2 === a.REGEXP_MODE)) {
1623
+ if (La)
1624
+ c = Ec(a, "string.replace(substr, newSubstr)", {
1625
+ string: k,
1626
+ substr: c,
1627
+ newSubstr: e
1628
+ }, c, h), c !== Ja && h(c);
1629
+ else {
1630
+ var q = a.ha(), C = Fc(a, c, q, h);
1631
+ q.onmessage = function(U) {
1632
+ clearTimeout(C);
1633
+ h(U.data);
1634
+ };
1635
+ q.postMessage([
1636
+ "replace",
1637
+ k,
1638
+ c,
1639
+ e
1640
+ ]);
1641
+ }
1642
+ return;
1643
+ }
1644
+ h(k.replace(c, e));
1645
+ };
1646
+ Gc(a, a.J, "replace", d);
1647
+ a.ba.push("(function() {", "var replace_ = String.prototype.replace;", "String.prototype.replace = function replace(substr, newSubstr) {", "if (typeof newSubstr !== 'function') {", "return replace_.call(this, substr, newSubstr);", "}", "var str = this;", "if (substr instanceof RegExp) {", "var subs = [];", "var m = substr.exec(str);", "while (m) {", "m.push(m.index, str);", "var inject = newSubstr.apply(null, m);", "subs.push([m.index, m[0].length, inject]);", "m = substr.global ? substr.exec(str) : null;", "}", "for (var i = subs.length - 1; i >= 0; i--) {", "str = str.substring(0, subs[i][0]) + subs[i][2] + str.substring(subs[i][0] + subs[i][1]);", "}", "} else {", "var i = str.indexOf(substr);", "if (i !== -1) {", "var inject = newSubstr(str.substr(i, substr.length), i, str);", "str = str.substring(0, i) + inject + str.substring(i + substr.length);", "}", "}", "return str;", "};", "})();", "");
1648
+ }
1649
+ function Eb(a, b) {
1650
+ a.mb = a.i(function(d) {
1651
+ d = Na.Boolean(d);
1652
+ return zc(a) ? (this.data = d, this) : d;
1653
+ }, true);
1654
+ a.g(b, "Boolean", a.mb, v);
1655
+ }
1656
+ function Fb(a, b) {
1657
+ var d = function(c) {
1658
+ c = arguments.length ? Na.Number(c) : 0;
1659
+ return zc(a) ? (this.data = c, this) : c;
1660
+ };
1661
+ a.aa = a.i(d, true);
1662
+ a.g(b, "Number", a.aa, v);
1663
+ b = [
1664
+ "MAX_VALUE",
1665
+ "MIN_VALUE",
1666
+ "NaN",
1667
+ "NEGATIVE_INFINITY",
1668
+ "POSITIVE_INFINITY"
1669
+ ];
1670
+ for (d = 0; d < b.length; d++)
1671
+ a.g(a.aa, b[d], Number[b[d]], va);
1672
+ d = function(c) {
1673
+ try {
1674
+ return Number(this).toExponential(c);
1675
+ } catch (e) {
1676
+ K(a, a.D, e.message);
1677
+ }
1678
+ };
1679
+ M(a, a.aa, "toExponential", d);
1680
+ d = function(c) {
1681
+ try {
1682
+ return Number(this).toFixed(c);
1683
+ } catch (e) {
1684
+ K(a, a.D, e.message);
1685
+ }
1686
+ };
1687
+ M(a, a.aa, "toFixed", d);
1688
+ d = function(c) {
1689
+ try {
1690
+ return Number(this).toPrecision(c);
1691
+ } catch (e) {
1692
+ K(a, a.D, e.message);
1693
+ }
1694
+ };
1695
+ M(a, a.aa, "toPrecision", d);
1696
+ d = function(c) {
1697
+ try {
1698
+ return Number(this).toString(c);
1699
+ } catch (e) {
1700
+ K(a, a.D, e.message);
1701
+ }
1702
+ };
1703
+ M(a, a.aa, "toString", d);
1704
+ d = function(c, e) {
1705
+ c = c ? a.R(c) : void 0;
1706
+ e = e ? a.R(e) : void 0;
1707
+ try {
1708
+ return Number(this).toLocaleString(c, e);
1709
+ } catch (h) {
1710
+ K(a, a.D, "toLocaleString: " + h.message);
1711
+ }
1712
+ };
1713
+ M(a, a.aa, "toLocaleString", d);
1714
+ }
1715
+ function Gb(a, b) {
1716
+ var d = function(e, h) {
1717
+ if (!zc(a))
1718
+ return Na.Date();
1719
+ var k = [
1720
+ null
1721
+ ].concat(Array.from(arguments));
1722
+ this.data = new (Function.prototype.bind.apply(Na.Date, k))();
1723
+ return this;
1724
+ };
1725
+ a.$ = a.i(d, true);
1726
+ a.nb = a.$.h.prototype;
1727
+ a.g(b, "Date", a.$, v);
1728
+ a.g(a.$, "now", a.i(Date.now, false), v);
1729
+ a.g(a.$, "parse", a.i(Date.parse, false), v);
1730
+ a.g(a.$, "UTC", a.i(Date.UTC, false), v);
1731
+ b = "getDate getDay getFullYear getHours getMilliseconds getMinutes getMonth getSeconds getTime getTimezoneOffset getUTCDate getUTCDay getUTCFullYear getUTCHours getUTCMilliseconds getUTCMinutes getUTCMonth getUTCSeconds getYear setDate setFullYear setHours setMilliseconds setMinutes setMonth setSeconds setTime setUTCDate setUTCFullYear setUTCHours setUTCMilliseconds setUTCMinutes setUTCMonth setUTCSeconds setYear toDateString toISOString toJSON toGMTString toLocaleDateString toLocaleString toLocaleTimeString toTimeString toUTCString".split(" ");
1732
+ for (var c = 0; c < b.length; c++)
1733
+ d = function(e) {
1734
+ return function(h) {
1735
+ var k = this.data;
1736
+ k instanceof Date || K(a, a.j, e + " not called on a Date");
1737
+ for (var q = [], C = 0; C < arguments.length; C++)
1738
+ q[C] = a.R(arguments[C]);
1739
+ return k[e].apply(k, q);
1740
+ };
1741
+ }(b[c]), M(a, a.$, b[c], d);
1742
+ }
1743
+ function Hb(a, b) {
1744
+ var d = function(c, e) {
1745
+ if (zc(a))
1746
+ var h = this;
1747
+ else {
1748
+ if (void 0 === e && Q(a, c, a.I))
1749
+ return c;
1750
+ h = a.s(a.Ma);
1751
+ }
1752
+ c = void 0 === c ? "" : String(c);
1753
+ e = e ? String(e) : "";
1754
+ /^[gmi]*$/.test(e) || K(a, a.T, "Invalid regexp flag: " + e);
1755
+ try {
1756
+ var k = new Na.RegExp(c, e);
1757
+ } catch (q) {
1758
+ K(a, a.T, q.message);
1759
+ }
1760
+ Hc(a, h, k);
1761
+ return h;
1762
+ };
1763
+ a.I = a.i(d, true);
1764
+ a.Ma = a.I.h.prototype;
1765
+ a.g(b, "RegExp", a.I, v);
1766
+ a.g(a.I.h.prototype, "global", void 0, A);
1767
+ a.g(a.I.h.prototype, "ignoreCase", void 0, A);
1768
+ a.g(a.I.h.prototype, "multiline", void 0, A);
1769
+ a.g(a.I.h.prototype, "source", "(?:)", A);
1770
+ a.ba.push("Object.defineProperty(RegExp.prototype, 'test',", "{configurable: true, writable: true, value:", "function test(str) {", "return !!this.exec(str);", "}", "});");
1771
+ d = function(c, e) {
1772
+ function h(N) {
1773
+ if (N) {
1774
+ var F = Bc(a, N);
1775
+ a.g(F, "index", N.index);
1776
+ a.g(F, "input", N.input);
1777
+ return F;
1778
+ }
1779
+ return null;
1780
+ }
1781
+ var k = this.data;
1782
+ c = String(c);
1783
+ k.lastIndex = Number(a.G(this, "lastIndex"));
1784
+ Dc(a, k, e);
1785
+ if (2 === a.REGEXP_MODE) {
1786
+ if (La)
1787
+ c = Ec(a, "regexp.exec(string)", {
1788
+ string: c,
1789
+ regexp: k
1790
+ }, k, e), c !== Ja && (a.g(this, "lastIndex", k.lastIndex), e(h(c)));
1791
+ else {
1792
+ var q = a.ha(), C = Fc(a, k, q, e), U = this;
1793
+ q.onmessage = function(N) {
1794
+ clearTimeout(C);
1795
+ a.g(U, "lastIndex", N.data[1]);
1796
+ e(h(N.data[0]));
1797
+ };
1798
+ q.postMessage([
1799
+ "exec",
1800
+ k,
1801
+ k.lastIndex,
1802
+ c
1803
+ ]);
1804
+ }
1805
+ } else
1806
+ c = k.exec(c), a.g(this, "lastIndex", k.lastIndex), e(h(c));
1807
+ };
1808
+ Gc(a, a.I, "exec", d);
1809
+ }
1810
+ function Ib(a, b) {
1811
+ function d(c) {
1812
+ var e = a.i(function(h) {
1813
+ var k = zc(a) ? this : a.Aa(e);
1814
+ Ic(a, k, h);
1815
+ return k;
1816
+ }, true);
1817
+ a.g(e, "prototype", a.Aa(a.D), v);
1818
+ a.g(e.h.prototype, "name", c, v);
1819
+ a.g(b, c, e, v);
1820
+ return e;
1821
+ }
1822
+ a.D = a.i(function(c) {
1823
+ var e = zc(a) ? this : a.Aa(a.D);
1824
+ Ic(a, e, c);
1825
+ return e;
1826
+ }, true);
1827
+ a.g(b, "Error", a.D, v);
1828
+ a.g(a.D.h.prototype, "message", "", v);
1829
+ a.g(a.D.h.prototype, "name", "Error", v);
1830
+ d("EvalError");
1831
+ a.ob = d("RangeError");
1832
+ a.pb = d("ReferenceError");
1833
+ a.T = d("SyntaxError");
1834
+ a.j = d("TypeError");
1835
+ a.Gb = d("URIError");
1836
+ }
1837
+ function Jb(a, b) {
1838
+ var d = a.s(a.M);
1839
+ a.g(b, "Math", d, v);
1840
+ var c = "E LN2 LN10 LOG2E LOG10E PI SQRT1_2 SQRT2".split(" ");
1841
+ for (b = 0; b < c.length; b++)
1842
+ a.g(d, c[b], Math[c[b]], A);
1843
+ c = "abs acos asin atan atan2 ceil cos exp floor log max min pow random round sin sqrt tan".split(" ");
1844
+ for (b = 0; b < c.length; b++)
1845
+ a.g(d, c[b], a.i(Math[c[b]], false), v);
1846
+ }
1847
+ function Kb(a, b) {
1848
+ var d = a.s(a.M);
1849
+ a.g(b, "JSON", d, v);
1850
+ b = function(c) {
1851
+ try {
1852
+ var e = JSON.parse(String(c));
1853
+ } catch (h) {
1854
+ K(a, a.T, h.message);
1855
+ }
1856
+ return a.Ia(e);
1857
+ };
1858
+ a.g(d, "parse", a.i(b, false));
1859
+ b = function(c, e, h) {
1860
+ e && "Function" === e.H ? K(a, a.j, "Function replacer on JSON.stringify not supported") : e && "Array" === e.H ? (e = Ob(a, e), e = e.filter(function(q) {
1861
+ return "string" === typeof q || "number" === typeof q;
1862
+ })) : e = null;
1863
+ "string" !== typeof h && "number" !== typeof h && (h = void 0);
1864
+ c = a.R(c);
1865
+ try {
1866
+ var k = JSON.stringify(c, e, h);
1867
+ } catch (q) {
1868
+ K(a, a.j, q.message);
1869
+ }
1870
+ return k;
1871
+ };
1872
+ a.g(d, "stringify", a.i(b, false));
1873
+ }
1874
+ function Q(a, b, d) {
1875
+ if (null === b || void 0 === b || !d)
1876
+ return false;
1877
+ d = d.h.prototype;
1878
+ if (b === d)
1879
+ return true;
1880
+ for (b = Ac(a, b); b; ) {
1881
+ if (b === d)
1882
+ return true;
1883
+ b = b.xa;
1884
+ }
1885
+ return false;
1886
+ }
1887
+ function Hc(a, b, d) {
1888
+ b.data = new RegExp(d.source, d.flags);
1889
+ a.g(b, "lastIndex", d.lastIndex, v);
1890
+ a.g(b, "source", d.source, A);
1891
+ a.g(b, "global", d.global, A);
1892
+ a.g(b, "ignoreCase", d.ignoreCase, A);
1893
+ a.g(b, "multiline", d.multiline, A);
1894
+ }
1895
+ function Ic(a, b, d) {
1896
+ d && a.g(b, "message", String(d), v);
1897
+ d = [];
1898
+ for (var c = a.o.length - 1; 0 <= c; c--) {
1899
+ var e = a.o[c], h = e.node;
1900
+ "CallExpression" === h.type && (e = e.U) && d.length && (d[d.length - 1].Ob = a.G(e, "name"));
1901
+ !h.X || d.length && "CallExpression" !== h.type || d.push({
1902
+ Nb: h.X
1903
+ });
1904
+ }
1905
+ c = String(a.G(b, "name"));
1906
+ h = String(a.G(b, "message"));
1907
+ h = c + ": " + h + "\n";
1908
+ for (c = 0; c < d.length; c++) {
1909
+ var k = d[c].Nb;
1910
+ e = d[c].Ob;
1911
+ k = k.source + ":" + k.start.line + ":" + k.start.ab;
1912
+ h = e ? h + (" at " + e + " (" + k + ")\n") : h + (" at " + k + "\n");
1913
+ }
1914
+ a.g(b, "stack", h.trim(), v);
1915
+ }
1916
+ p.ha = function() {
1917
+ var a = this.ha.Mb;
1918
+ a || (a = new Blob([
1919
+ Oa.join("\n")
1920
+ ], {
1921
+ type: "application/javascript"
1922
+ }), this.ha.Mb = a);
1923
+ return new Worker(URL.createObjectURL(a));
1924
+ };
1925
+ function Ec(a, b, d, c, e) {
1926
+ var h = {
1927
+ timeout: a.REGEXP_THREAD_TIMEOUT
1928
+ };
1929
+ try {
1930
+ return La.runInNewContext(b, d, h);
1931
+ } catch (k) {
1932
+ e(null), K(a, a.D, "RegExp Timeout: " + c);
1933
+ }
1934
+ return Ja;
1935
+ }
1936
+ function Dc(a, b, d) {
1937
+ if (0 === a.REGEXP_MODE)
1938
+ var c = false;
1939
+ else if (1 === a.REGEXP_MODE)
1940
+ c = true;
1941
+ else if (La)
1942
+ c = true;
1943
+ else if ("function" === typeof Worker && "function" === typeof URL)
1944
+ c = true;
1945
+ else if ("function" === typeof require) {
1946
+ try {
1947
+ La = require("vm");
1948
+ } catch (e) {
1949
+ }
1950
+ c = !!La;
1951
+ } else
1952
+ c = false;
1953
+ c || (d(null), K(a, a.D, "Regular expressions not supported: " + b));
1954
+ }
1955
+ function Fc(a, b, d, c) {
1956
+ return setTimeout(function() {
1957
+ d.terminate();
1958
+ c(null);
1959
+ try {
1960
+ K(a, a.D, "RegExp Timeout: " + b);
1961
+ } catch (e) {
1962
+ }
1963
+ }, a.REGEXP_THREAD_TIMEOUT);
1964
+ }
1965
+ p.Aa = function(a) {
1966
+ return this.s(a && a.h.prototype);
1967
+ };
1968
+ p.s = function(a) {
1969
+ if ("object" !== typeof a)
1970
+ throw Error("Non object prototype");
1971
+ a = new D(a);
1972
+ Q(this, a, this.D) && (a.H = "Error");
1973
+ return a;
1974
+ };
1975
+ function Cc(a) {
1976
+ var b = a.s(a.La);
1977
+ a.g(b, "length", 0, {
1978
+ configurable: false,
1979
+ enumerable: false,
1980
+ writable: true
1981
+ });
1982
+ b.H = "Array";
1983
+ return b;
1984
+ }
1985
+ function Zc(a, b, d) {
1986
+ var c = a.s(a.Z);
1987
+ d ? (d = a.s(a.M), a.g(c, "prototype", d, v), a.g(d, "constructor", c, v)) : c.Ab = true;
1988
+ a.g(c, "length", b, A);
1989
+ c.H = "Function";
1990
+ return c;
1991
+ }
1992
+ function Nb(a, b, d, c) {
1993
+ var e = Zc(a, b.oa.length, true);
1994
+ e.Va = d;
1995
+ e.node = b;
1996
+ a.g(e, "name", b.id ? String(b.id.name) : c || "", A);
1997
+ return e;
1998
+ }
1999
+ p.i = function(a, b) {
2000
+ b = Zc(this, a.length, b);
2001
+ b.Ta = a;
2002
+ a.id = this.Ya++;
2003
+ this.g(b, "name", a.name, A);
2004
+ return b;
2005
+ };
2006
+ p.ub = function(a) {
2007
+ var b = Zc(this, a.length, true);
2008
+ b.Za = a;
2009
+ a.id = this.Ya++;
2010
+ this.g(b, "name", a.name, A);
2011
+ return b;
2012
+ };
2013
+ p.Ia = function(a) {
2014
+ if (a instanceof D)
2015
+ throw Error("Object is already pseudo");
2016
+ if (null === a || void 0 === a || true === a || false === a || "string" === typeof a || "number" === typeof a)
2017
+ return a;
2018
+ if (a instanceof RegExp) {
2019
+ var b = this.s(this.Ma);
2020
+ Hc(this, b, a);
2021
+ return b;
2022
+ }
2023
+ if (a instanceof Date)
2024
+ return b = this.s(this.nb), b.data = new Date(a.valueOf()), b;
2025
+ if ("function" === typeof a) {
2026
+ var d = this;
2027
+ b = Object.getOwnPropertyDescriptor(a, "prototype");
2028
+ return this.i(function() {
2029
+ var e = Array.prototype.slice.call(arguments).map(function(h) {
2030
+ return d.R(h);
2031
+ });
2032
+ e = a.apply(d, e);
2033
+ return d.Ia(e);
2034
+ }, !!b);
2035
+ }
2036
+ if (Array.isArray(a)) {
2037
+ b = Cc(this);
2038
+ for (var c = 0; c < a.length; c++)
2039
+ c in a && this.g(b, c, this.Ia(a[c]));
2040
+ return b;
2041
+ }
2042
+ b = this.s(this.M);
2043
+ for (c in a)
2044
+ this.g(b, c, this.Ia(a[c]));
2045
+ return b;
2046
+ };
2047
+ p.R = function(a, b) {
2048
+ if ("object" !== typeof a && "function" !== typeof a || null === a)
2049
+ return a;
2050
+ if (!(a instanceof D))
2051
+ throw Error("Object is not pseudo");
2052
+ if (Q(this, a, this.I))
2053
+ return b = new RegExp(a.data.source, a.data.flags), b.lastIndex = a.data.lastIndex, b;
2054
+ if (Q(this, a, this.$))
2055
+ return new Date(a.data.valueOf());
2056
+ b = b || {
2057
+ hb: [],
2058
+ Sa: []
2059
+ };
2060
+ var d = b.hb.indexOf(a);
2061
+ if (-1 !== d)
2062
+ return b.Sa[d];
2063
+ b.hb.push(a);
2064
+ if (Q(this, a, this.qa)) {
2065
+ d = [];
2066
+ b.Sa.push(d);
2067
+ for (var c = this.G(a, "length"), e = 0; e < c; e++)
2068
+ $c(this, a, e) && (d[e] = this.R(this.G(a, e), b));
2069
+ } else
2070
+ for (c in d = {}, b.Sa.push(d), a.h)
2071
+ e = this.R(a.h[c], b), Object.defineProperty(d, c, {
2072
+ value: e,
2073
+ writable: true,
2074
+ enumerable: true,
2075
+ configurable: true
2076
+ });
2077
+ b.hb.pop();
2078
+ b.Sa.pop();
2079
+ return d;
2080
+ };
2081
+ function Bc(a, b) {
2082
+ for (var d = Cc(a), c = Object.getOwnPropertyNames(b), e = 0; e < c.length; e++)
2083
+ a.g(d, c[e], b[c[e]]);
2084
+ return d;
2085
+ }
2086
+ function Ob(a, b) {
2087
+ var d = [], c;
2088
+ for (c in b.h)
2089
+ d[c] = a.G(b, c);
2090
+ d.length = Pa(a.G(b, "length")) || 0;
2091
+ return d;
2092
+ }
2093
+ function Ac(a, b) {
2094
+ switch (typeof b) {
2095
+ case "number":
2096
+ return a.aa.h.prototype;
2097
+ case "boolean":
2098
+ return a.mb.h.prototype;
2099
+ case "string":
2100
+ return a.J.h.prototype;
2101
+ }
2102
+ return b ? b.xa : null;
2103
+ }
2104
+ p.G = function(a, b) {
2105
+ if (this.P)
2106
+ throw Error("Getter not supported in that context");
2107
+ b = String(b);
2108
+ void 0 !== a && null !== a || K(this, this.j, "Cannot read property '" + b + "' of " + a);
2109
+ if ("object" === typeof a && !(a instanceof D))
2110
+ throw TypeError("Expecting native value or pseudo object");
2111
+ if ("length" === b) {
2112
+ if (Q(this, a, this.J))
2113
+ return String(a).length;
2114
+ } else if (64 > b.charCodeAt(0) && Q(this, a, this.J)) {
2115
+ var d = Qa(b);
2116
+ if (!isNaN(d) && d < String(a).length)
2117
+ return String(a)[d];
2118
+ }
2119
+ do
2120
+ if (a.h && b in a.h)
2121
+ return (d = a.V[b]) ? (this.P = true, d) : a.h[b];
2122
+ while (a = Ac(this, a));
2123
+ };
2124
+ function $c(a, b, d) {
2125
+ if (!(b instanceof D))
2126
+ throw TypeError("Primitive data type has no properties");
2127
+ d = String(d);
2128
+ if ("length" === d && Q(a, b, a.J))
2129
+ return true;
2130
+ if (Q(a, b, a.J)) {
2131
+ var c = Qa(d);
2132
+ if (!isNaN(c) && c < String(b).length)
2133
+ return true;
2134
+ }
2135
+ do
2136
+ if (b.h && d in b.h)
2137
+ return true;
2138
+ while (b = Ac(a, b));
2139
+ return false;
2140
+ }
2141
+ p.g = function(a, b, d, c) {
2142
+ if (this.Ka)
2143
+ throw Error("Setter not supported in that context");
2144
+ b = String(b);
2145
+ void 0 !== a && null !== a || K(this, this.j, "Cannot set property '" + b + "' of " + a);
2146
+ if ("object" === typeof a && !(a instanceof D))
2147
+ throw TypeError("Expecting native value or pseudo object");
2148
+ c && ("get" in c || "set" in c) && ("value" in c || "writable" in c) && K(this, this.j, "Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");
2149
+ var e = !this.o || ad(this).S;
2150
+ if (a instanceof D) {
2151
+ if (Q(this, a, this.J)) {
2152
+ var h = Qa(b);
2153
+ if ("length" === b || !isNaN(h) && h < String(a).length) {
2154
+ e && K(this, this.j, "Cannot assign to read only property '" + b + "' of String '" + a.data + "'");
2155
+ return;
2156
+ }
2157
+ }
2158
+ if ("Array" === a.H) {
2159
+ if (h = a.h.length, "length" === b) {
2160
+ if (c) {
2161
+ if (!("value" in c))
2162
+ return;
2163
+ d = c.value;
2164
+ }
2165
+ d = Pa(d);
2166
+ isNaN(d) && K(this, this.ob, "Invalid array length");
2167
+ if (d < h)
2168
+ for (k in a.h) {
2169
+ var k = Qa(k);
2170
+ !isNaN(k) && d <= k && delete a.h[k];
2171
+ }
2172
+ } else
2173
+ isNaN(k = Qa(b)) || (a.h.length = Math.max(h, k + 1));
2174
+ }
2175
+ if (!a.preventExtensions || b in a.h) {
2176
+ if (c) {
2177
+ e = {};
2178
+ "get" in c && c.get && (a.V[b] = c.get, e.get = this.g.ac);
2179
+ "set" in c && c.set && (a.Y[b] = c.set, e.set = this.g.bc);
2180
+ "configurable" in c && (e.configurable = c.configurable);
2181
+ "enumerable" in c && (e.enumerable = c.enumerable);
2182
+ "writable" in c && (e.writable = c.writable, delete a.V[b], delete a.Y[b]);
2183
+ "value" in c ? (e.value = c.value, delete a.V[b], delete a.Y[b]) : d !== Ia && (e.value = d, delete a.V[b], delete a.Y[b]);
2184
+ try {
2185
+ Object.defineProperty(a.h, b, e);
2186
+ } catch (q) {
2187
+ K(this, this.j, "Cannot redefine property: " + b);
2188
+ }
2189
+ "get" in c && !c.get && delete a.V[b];
2190
+ "set" in c && !c.set && delete a.Y[b];
2191
+ } else {
2192
+ if (d === Ia)
2193
+ throw ReferenceError("Value not specified");
2194
+ for (c = a; !(b in c.h); )
2195
+ if (c = Ac(this, c), !c) {
2196
+ c = a;
2197
+ break;
2198
+ }
2199
+ if (c.Y && c.Y[b])
2200
+ return this.Ka = true, c.Y[b];
2201
+ if (c.V && c.V[b])
2202
+ e && K(this, this.j, "Cannot set property '" + b + "' of object '" + a + "' which only has a getter");
2203
+ else
2204
+ try {
2205
+ a.h[b] = d;
2206
+ } catch (q) {
2207
+ e && K(this, this.j, "Cannot assign to read only property '" + b + "' of object '" + a + "'");
2208
+ }
2209
+ }
2210
+ } else
2211
+ e && K(this, this.j, "Can't add property '" + b + "', object is not extensible");
2212
+ } else
2213
+ e && K(this, this.j, "Can't create property '" + b + "' on '" + a + "'");
2214
+ };
2215
+ p.g.ac = function() {
2216
+ throw Error("Placeholder getter");
2217
+ };
2218
+ p.g.bc = function() {
2219
+ throw Error("Placeholder setter");
2220
+ };
2221
+ function M(a, b, d, c) {
2222
+ a.g(b.h.prototype, d, a.i(c, false), v);
2223
+ }
2224
+ function Gc(a, b, d, c) {
2225
+ a.g(b.h.prototype, d, a.ub(c), v);
2226
+ }
2227
+ function ad(a) {
2228
+ a = a.o[a.o.length - 1].scope;
2229
+ if (!a)
2230
+ throw Error("No scope found");
2231
+ return a;
2232
+ }
2233
+ function ea(a, b, d) {
2234
+ var c = false;
2235
+ if (d && d.S)
2236
+ c = true;
2237
+ else {
2238
+ var e = b.body && b.body[0];
2239
+ e && e.la && "Literal" === e.la.type && "use strict" === e.la.value && (c = true);
2240
+ }
2241
+ e = a.s(null);
2242
+ c = new bd(d, c, e);
2243
+ d || bb(a, c.object);
2244
+ Ra(a, b, c);
2245
+ return c;
2246
+ }
2247
+ function cd(a, b, d) {
2248
+ if (!b)
2249
+ throw Error("parentScope required");
2250
+ a = d || a.s(null);
2251
+ return new bd(b, b.S, a);
2252
+ }
2253
+ function dd(a, b) {
2254
+ for (var d = ad(a); d && d !== a.N; ) {
2255
+ if (b in d.object.h)
2256
+ return d.object.h[b];
2257
+ d = d.Va;
2258
+ }
2259
+ if (d === a.N && $c(a, d.object, b))
2260
+ return a.G(d.object, b);
2261
+ d = a.o[a.o.length - 1].node;
2262
+ "UnaryExpression" === d.type && "typeof" === d.operator || K(a, a.pb, b + " is not defined");
2263
+ }
2264
+ function ed(a, b, d) {
2265
+ for (var c = ad(a), e = c.S; c && c !== a.N; ) {
2266
+ if (b in c.object.h) {
2267
+ try {
2268
+ c.object.h[b] = d;
2269
+ } catch (h) {
2270
+ e && K(a, a.j, "Cannot assign to read only variable '" + b + "'");
2271
+ }
2272
+ return;
2273
+ }
2274
+ c = c.Va;
2275
+ }
2276
+ if (c === a.N && (!e || $c(a, c.object, b)))
2277
+ return a.g(c.object, b, d);
2278
+ K(a, a.pb, b + " is not defined");
2279
+ }
2280
+ function Ra(a, b, d) {
2281
+ if (b.jb)
2282
+ var c = b.jb;
2283
+ else {
2284
+ c = /* @__PURE__ */ Object.create(null);
2285
+ switch (b.type) {
2286
+ case "VariableDeclaration":
2287
+ for (var e = 0; e < b.fa.length; e++)
2288
+ c[b.fa[e].id.name] = true;
2289
+ break;
2290
+ case "FunctionDeclaration":
2291
+ c[b.id.name] = b;
2292
+ break;
2293
+ case "BlockStatement":
2294
+ case "CatchClause":
2295
+ case "DoWhileStatement":
2296
+ case "ForInStatement":
2297
+ case "ForStatement":
2298
+ case "IfStatement":
2299
+ case "LabeledStatement":
2300
+ case "Program":
2301
+ case "SwitchCase":
2302
+ case "SwitchStatement":
2303
+ case "TryStatement":
2304
+ case "WithStatement":
2305
+ case "WhileStatement":
2306
+ var h = b.constructor, k;
2307
+ for (k in b)
2308
+ if ("loc" !== k) {
2309
+ var q = b[k];
2310
+ if (q && "object" === typeof q) {
2311
+ if (Array.isArray(q)) {
2312
+ for (e = 0; e < q.length; e++)
2313
+ if (q[e] && q[e].constructor === h) {
2314
+ var C = Ra(a, q[e], d);
2315
+ for (k in C)
2316
+ c[k] = C[k];
2317
+ }
2318
+ } else if (q.constructor === h)
2319
+ for (k in C = Ra(a, q, d), C)
2320
+ c[k] = C[k];
2321
+ }
2322
+ }
2323
+ }
2324
+ b.jb = c;
2325
+ }
2326
+ for (k in c)
2327
+ true === c[k] ? a.g(d.object, k, void 0, wa) : a.g(d.object, k, Nb(a, c[k], d), wa);
2328
+ return c;
2329
+ }
2330
+ function zc(a) {
2331
+ return a.o[a.o.length - 1].isConstructor;
2332
+ }
2333
+ function fd(a, b) {
2334
+ return b[0] === Ha ? dd(a, b[1]) : a.G(b[0], b[1]);
2335
+ }
2336
+ function gd(a, b, d) {
2337
+ return b[0] === Ha ? ed(a, b[1], d) : a.g(b[0], b[1], d);
2338
+ }
2339
+ function K(a, b, d) {
2340
+ if (!a.N)
2341
+ throw void 0 === d ? b : d;
2342
+ void 0 !== d && b instanceof D && (b = a.Aa(b), Ic(a, b, d));
2343
+ hd(a, 4, b);
2344
+ throw xa;
2345
+ }
2346
+ function hd(a, b, d, c) {
2347
+ if (0 === b)
2348
+ throw TypeError("Should not unwind for NORMAL completions");
2349
+ var e = a.o;
2350
+ a:
2351
+ for (; 0 < e.length; e.pop()) {
2352
+ var h = e[e.length - 1];
2353
+ switch (h.node.type) {
2354
+ case "TryStatement":
2355
+ h.ea = {
2356
+ type: b,
2357
+ value: d,
2358
+ label: c
2359
+ };
2360
+ return;
2361
+ case "CallExpression":
2362
+ case "NewExpression":
2363
+ if (3 === b) {
2364
+ h.value = d;
2365
+ return;
2366
+ }
2367
+ if (4 !== b)
2368
+ throw Error("Unsynatctic break/continue not rejected by Acorn");
2369
+ break;
2370
+ case "Program":
2371
+ h.done = true;
2372
+ break a;
2373
+ }
2374
+ if (1 === b) {
2375
+ if (c ? h.labels && -1 !== h.labels.indexOf(c) : h.W || h.Zb) {
2376
+ e.pop();
2377
+ return;
2378
+ }
2379
+ } else if (2 === b && (c ? h.labels && -1 !== h.labels.indexOf(c) : h.W))
2380
+ return;
2381
+ }
2382
+ Q(a, d, a.D) ? (b = {
2383
+ EvalError,
2384
+ RangeError,
2385
+ ReferenceError,
2386
+ SyntaxError,
2387
+ TypeError,
2388
+ URIError
2389
+ }, c = String(a.G(d, "name")), e = a.G(d, "message").valueOf(), b = (b[c] || Error)(e), b.stack = String(a.G(d, "stack"))) : b = String(d);
2390
+ a.value = b;
2391
+ throw b;
2392
+ }
2393
+ function R(a, b) {
2394
+ switch (b.type) {
2395
+ case "ArrayExpression":
2396
+ return "[...]";
2397
+ case "BinaryExpression":
2398
+ case "LogicalExpression":
2399
+ return R(a, b.left) + " " + b.operator + " " + R(a, b.right);
2400
+ case "CallExpression":
2401
+ return R(a, b.callee) + "(...)";
2402
+ case "ConditionalExpression":
2403
+ return R(a, b.test) + " ? " + R(a, b.da) + " : " + R(a, b.alternate);
2404
+ case "Identifier":
2405
+ return b.name;
2406
+ case "Literal":
2407
+ return b.raw;
2408
+ case "MemberExpression":
2409
+ var d = R(a, b.object);
2410
+ a = R(a, b.Wa);
2411
+ return b.bb ? d + "[" + a + "]" : d + "." + a;
2412
+ case "NewExpression":
2413
+ return "new " + R(a, b.callee) + "(...)";
2414
+ case "ObjectExpression":
2415
+ return "{...}";
2416
+ case "ThisExpression":
2417
+ return "this";
2418
+ case "UnaryExpression":
2419
+ return b.operator + " " + R(a, b.K);
2420
+ case "UpdateExpression":
2421
+ return d = R(a, b.K), b.prefix ? b.operator + d : d + b.operator;
2422
+ }
2423
+ return "???";
2424
+ }
2425
+ function Lb(a, b, d) {
2426
+ var c = a.o[a.o.length - 1], e = Array.from(d), h = e.shift();
2427
+ d = Math.max(Number(e.shift() || 0), 0);
2428
+ var k = a.ya();
2429
+ if (h instanceof D && "Function" === h.H) {
2430
+ var q = h;
2431
+ k.type = "CallExpression";
2432
+ c = c.scope;
2433
+ } else {
2434
+ try {
2435
+ var C = da(String(h), "taskCode" + a.ic++);
2436
+ } catch (U) {
2437
+ K(a, a.T, "Invalid code: " + U.message);
2438
+ }
2439
+ k.type = "EvalProgram_";
2440
+ k.body = C.body;
2441
+ c = c.node.arguments[0];
2442
+ fa(k, c ? c.start : void 0, c ? c.end : void 0);
2443
+ c = a.N;
2444
+ e.length = 0;
2445
+ }
2446
+ b = new id(q, e, c, k, b ? d : -1);
2447
+ ab(a, b, d);
2448
+ return b.Db;
2449
+ }
2450
+ function ab(a, b, d) {
2451
+ b.time = Date.now() + d;
2452
+ a.ca.push(b);
2453
+ a.ca.sort(function(c, e) {
2454
+ return c.time - e.time;
2455
+ });
2456
+ }
2457
+ function Mb(a, b) {
2458
+ for (var d = 0; d < a.ca.length; d++)
2459
+ if (a.ca[d].Db == b) {
2460
+ a.ca.splice(d, 1);
2461
+ break;
2462
+ }
2463
+ }
2464
+ function jd(a, b, d) {
2465
+ if (!a.P)
2466
+ throw Error("Unexpected call to createGetter");
2467
+ a.P = false;
2468
+ d = Array.isArray(d) ? d[0] : d;
2469
+ var c = a.ya();
2470
+ c.type = "CallExpression";
2471
+ a = new u(c, a.o[a.o.length - 1].scope);
2472
+ a.ia = 2;
2473
+ a.B = d;
2474
+ a.U = b;
2475
+ a.Qa = true;
2476
+ a.F = [];
2477
+ return a;
2478
+ }
2479
+ function kd(a, b, d, c) {
2480
+ if (!a.Ka)
2481
+ throw Error("Unexpected call to createSetter");
2482
+ a.Ka = false;
2483
+ d = Array.isArray(d) ? d[0] : a.Na;
2484
+ var e = a.ya();
2485
+ e.type = "CallExpression";
2486
+ a = new u(e, a.o[a.o.length - 1].scope);
2487
+ a.ia = 2;
2488
+ a.B = d;
2489
+ a.U = b;
2490
+ a.Qa = true;
2491
+ a.F = [
2492
+ c
2493
+ ];
2494
+ return a;
2495
+ }
2496
+ function ld(a, b) {
2497
+ return void 0 === b || null === b ? a.Na : b instanceof D ? b : (a = a.s(Ac(a, b)), a.data = b, a);
2498
+ }
2499
+ p.Xb = function() {
2500
+ return this.N;
2501
+ };
2502
+ p.Yb = function() {
2503
+ return this.o;
2504
+ };
2505
+ p.ec = function(a) {
2506
+ this.o = a;
2507
+ };
2508
+ function u(a, b) {
2509
+ this.node = a;
2510
+ this.scope = b;
2511
+ }
2512
+ function bd(a, b, d) {
2513
+ this.Va = a;
2514
+ this.S = b;
2515
+ this.object = d;
2516
+ }
2517
+ function D(a) {
2518
+ this.V = /* @__PURE__ */ Object.create(null);
2519
+ this.Y = /* @__PURE__ */ Object.create(null);
2520
+ this.h = /* @__PURE__ */ Object.create(null);
2521
+ this.xa = a;
2522
+ }
2523
+ p = D.prototype;
2524
+ p.xa = null;
2525
+ p.H = "Object";
2526
+ p.data = null;
2527
+ p.toString = function() {
2528
+ if (!Ma)
2529
+ return "[object Interpreter.Object]";
2530
+ if (!(this instanceof D))
2531
+ return String(this);
2532
+ if ("Array" === this.H) {
2533
+ var a = Ka;
2534
+ a.push(this);
2535
+ try {
2536
+ var b = [], d = this.h.length, c = false;
2537
+ 1024 < d && (d = 1e3, c = true);
2538
+ for (var e = 0; e < d; e++) {
2539
+ var h = this.h[e];
2540
+ b[e] = h instanceof D && -1 !== a.indexOf(h) ? "..." : h;
2541
+ }
2542
+ c && b.push("...");
2543
+ } finally {
2544
+ a.pop();
2545
+ }
2546
+ return b.join(",");
2547
+ }
2548
+ if ("Error" === this.H) {
2549
+ a = Ka;
2550
+ if (-1 !== a.indexOf(this))
2551
+ return "[object Error]";
2552
+ d = this;
2553
+ do
2554
+ if ("name" in d.h) {
2555
+ b = d.h.name;
2556
+ break;
2557
+ }
2558
+ while (d = d.xa);
2559
+ d = this;
2560
+ do
2561
+ if ("message" in d.h) {
2562
+ c = d.h.message;
2563
+ break;
2564
+ }
2565
+ while (d = d.xa);
2566
+ a.push(this);
2567
+ try {
2568
+ b = b && String(b), c = c && String(c);
2569
+ } finally {
2570
+ a.pop();
2571
+ }
2572
+ return c ? b + ": " + c : String(b);
2573
+ }
2574
+ return null !== this.data ? String(this.data) : "[object " + this.H + "]";
2575
+ };
2576
+ p.valueOf = function() {
2577
+ return !Ma || void 0 === this.data || null === this.data || this.data instanceof RegExp ? this : this.data instanceof Date ? this.data.valueOf() : this.data;
2578
+ };
2579
+ function id(a, b, d, c, e) {
2580
+ this.zb = a;
2581
+ this.Lb = b;
2582
+ this.scope = d;
2583
+ this.node = c;
2584
+ this.interval = e;
2585
+ this.Db = ++md;
2586
+ this.time = 0;
2587
+ }
2588
+ var md = 0;
2589
+ t.prototype.stepArrayExpression = function(a, b, d) {
2590
+ d = d.elements;
2591
+ var c = b.A || 0;
2592
+ b.Oa ? (this.g(b.Oa, c, b.value), c++) : (b.Oa = Cc(this), b.Oa.h.length = d.length);
2593
+ for (; c < d.length; ) {
2594
+ if (d[c])
2595
+ return b.A = c, new u(d[c], b.scope);
2596
+ c++;
2597
+ }
2598
+ a.pop();
2599
+ a[a.length - 1].value = b.Oa;
2600
+ };
2601
+ t.prototype.stepAssignmentExpression = function(a, b, d) {
2602
+ if (!b.ja)
2603
+ return b.ja = true, b = new u(d.left, b.scope), b.sa = true, b;
2604
+ if (!b.Da) {
2605
+ b.Fa || (b.Fa = b.value);
2606
+ b.Ba && (b.ma = b.value);
2607
+ if (!b.Ba && "=" !== d.operator && (a = fd(this, b.Fa), b.ma = a, this.P))
2608
+ return b.Ba = true, jd(this, a, b.Fa);
2609
+ b.Da = true;
2610
+ "=" === d.operator && "Identifier" === d.left.type && (b.Pa = d.left.name);
2611
+ return new u(d.right, b.scope);
2612
+ }
2613
+ if (b.ta)
2614
+ a.pop(), a[a.length - 1].value = b.ib;
2615
+ else {
2616
+ var c = b.ma, e = b.value;
2617
+ switch (d.operator) {
2618
+ case "=":
2619
+ c = e;
2620
+ break;
2621
+ case "+=":
2622
+ c += e;
2623
+ break;
2624
+ case "-=":
2625
+ c -= e;
2626
+ break;
2627
+ case "*=":
2628
+ c *= e;
2629
+ break;
2630
+ case "/=":
2631
+ c /= e;
2632
+ break;
2633
+ case "%=":
2634
+ c %= e;
2635
+ break;
2636
+ case "<<=":
2637
+ c <<= e;
2638
+ break;
2639
+ case ">>=":
2640
+ c >>= e;
2641
+ break;
2642
+ case ">>>=":
2643
+ c >>>= e;
2644
+ break;
2645
+ case "&=":
2646
+ c &= e;
2647
+ break;
2648
+ case "^=":
2649
+ c ^= e;
2650
+ break;
2651
+ case "|=":
2652
+ c |= e;
2653
+ break;
2654
+ default:
2655
+ throw SyntaxError("Unknown assignment expression: " + d.operator);
2656
+ }
2657
+ if (d = gd(this, b.Fa, c))
2658
+ return b.ta = true, b.ib = c, kd(this, d, b.Fa, c);
2659
+ a.pop();
2660
+ a[a.length - 1].value = c;
2661
+ }
2662
+ };
2663
+ t.prototype.stepBinaryExpression = function(a, b, d) {
2664
+ if (!b.ja)
2665
+ return b.ja = true, new u(d.left, b.scope);
2666
+ if (!b.Da)
2667
+ return b.Da = true, b.ma = b.value, new u(d.right, b.scope);
2668
+ a.pop();
2669
+ var c = b.ma;
2670
+ b = b.value;
2671
+ switch (d.operator) {
2672
+ case "==":
2673
+ d = c == b;
2674
+ break;
2675
+ case "!=":
2676
+ d = c != b;
2677
+ break;
2678
+ case "===":
2679
+ d = c === b;
2680
+ break;
2681
+ case "!==":
2682
+ d = c !== b;
2683
+ break;
2684
+ case ">":
2685
+ d = c > b;
2686
+ break;
2687
+ case ">=":
2688
+ d = c >= b;
2689
+ break;
2690
+ case "<":
2691
+ d = c < b;
2692
+ break;
2693
+ case "<=":
2694
+ d = c <= b;
2695
+ break;
2696
+ case "+":
2697
+ d = c + b;
2698
+ break;
2699
+ case "-":
2700
+ d = c - b;
2701
+ break;
2702
+ case "*":
2703
+ d = c * b;
2704
+ break;
2705
+ case "/":
2706
+ d = c / b;
2707
+ break;
2708
+ case "%":
2709
+ d = c % b;
2710
+ break;
2711
+ case "&":
2712
+ d = c & b;
2713
+ break;
2714
+ case "|":
2715
+ d = c | b;
2716
+ break;
2717
+ case "^":
2718
+ d = c ^ b;
2719
+ break;
2720
+ case "<<":
2721
+ d = c << b;
2722
+ break;
2723
+ case ">>":
2724
+ d = c >> b;
2725
+ break;
2726
+ case ">>>":
2727
+ d = c >>> b;
2728
+ break;
2729
+ case "in":
2730
+ b instanceof D || K(this, this.j, "'in' expects an object, not '" + b + "'");
2731
+ d = $c(this, b, c);
2732
+ break;
2733
+ case "instanceof":
2734
+ Q(this, b, this.O) || K(this, this.j, "'instanceof' expects an object, not '" + b + "'");
2735
+ d = c instanceof D ? Q(this, c, b) : false;
2736
+ break;
2737
+ default:
2738
+ throw SyntaxError("Unknown binary operator: " + d.operator);
2739
+ }
2740
+ a[a.length - 1].value = d;
2741
+ };
2742
+ t.prototype.stepBlockStatement = function(a, b, d) {
2743
+ var c = b.A || 0;
2744
+ if (d = d.body[c])
2745
+ return b.A = c + 1, new u(d, b.scope);
2746
+ a.pop();
2747
+ };
2748
+ t.prototype.stepBreakStatement = function(a, b, d) {
2749
+ hd(this, 1, void 0, d.label && d.label.name);
2750
+ };
2751
+ t.prototype.Hb = 0;
2752
+ t.prototype.stepCallExpression = function(a, b, d) {
2753
+ if (!b.ia) {
2754
+ b.ia = 1;
2755
+ var c = new u(d.callee, b.scope);
2756
+ c.sa = true;
2757
+ return c;
2758
+ }
2759
+ if (1 === b.ia) {
2760
+ b.ia = 2;
2761
+ var e = b.value;
2762
+ if (Array.isArray(e)) {
2763
+ if (b.U = fd(this, e), e[0] === Ha ? b.Pb = "eval" === e[1] : b.B = e[0], e = b.U, this.P)
2764
+ return b.ia = 1, jd(this, e, b.value);
2765
+ } else
2766
+ b.U = e;
2767
+ b.F = [];
2768
+ b.A = 0;
2769
+ }
2770
+ e = b.U;
2771
+ if (!b.Qa) {
2772
+ 0 !== b.A && b.F.push(b.value);
2773
+ if (d.arguments[b.A])
2774
+ return new u(d.arguments[b.A++], b.scope);
2775
+ if ("NewExpression" === d.type) {
2776
+ e instanceof D && !e.Ab || K(this, this.j, R(this, d.callee) + " is not a constructor");
2777
+ if (e === this.qa)
2778
+ b.B = Cc(this);
2779
+ else {
2780
+ var h = e.h.prototype;
2781
+ if ("object" !== typeof h || null === h)
2782
+ h = this.M;
2783
+ b.B = this.s(h);
2784
+ }
2785
+ b.isConstructor = true;
2786
+ }
2787
+ b.Qa = true;
2788
+ }
2789
+ if (b.eb)
2790
+ a.pop(), a[a.length - 1].value = b.isConstructor && "object" !== typeof b.value ? b.B : b.value;
2791
+ else {
2792
+ b.eb = true;
2793
+ e instanceof D || K(this, this.j, R(this, d.callee) + " is not a function");
2794
+ if (a = e.node) {
2795
+ d = ea(this, a.body, e.Va);
2796
+ c = Cc(this);
2797
+ for (e = 0; e < b.F.length; e++)
2798
+ this.g(c, e, b.F[e]);
2799
+ this.g(d.object, "arguments", c);
2800
+ for (e = 0; e < a.oa.length; e++)
2801
+ this.g(d.object, a.oa[e].name, b.F.length > e ? b.F[e] : void 0);
2802
+ d.S || (b.B = ld(this, b.B));
2803
+ this.g(d.object, "this", b.B, ua);
2804
+ b.value = void 0;
2805
+ return new u(a.body, d);
2806
+ }
2807
+ if (e.eval) {
2808
+ if (e = b.F[0], "string" !== typeof e)
2809
+ b.value = e;
2810
+ else {
2811
+ try {
2812
+ c = da(String(e), "eval" + this.Hb++);
2813
+ } catch (q) {
2814
+ K(this, this.T, "Invalid code: " + q.message);
2815
+ }
2816
+ e = this.ya();
2817
+ e.type = "EvalProgram_";
2818
+ e.body = c.body;
2819
+ fa(e, d.start, d.end);
2820
+ d = b.Pb ? b.scope : this.N;
2821
+ d.S ? d = ea(this, c, d) : Ra(this, c, d);
2822
+ this.value = void 0;
2823
+ return new u(e, d);
2824
+ }
2825
+ } else if (e.Ta)
2826
+ b.scope.S || (b.B = ld(this, b.B)), b.value = e.Ta.apply(b.B, b.F);
2827
+ else if (e.Za) {
2828
+ var k = this;
2829
+ c = e.Za.length - 1;
2830
+ c = b.F.concat(Array(c)).slice(0, c);
2831
+ c.push(function(q) {
2832
+ b.value = q;
2833
+ k.za = false;
2834
+ });
2835
+ this.za = true;
2836
+ b.scope.S || (b.B = ld(this, b.B));
2837
+ e.Za.apply(b.B, c);
2838
+ } else
2839
+ K(this, this.j, R(this, d.callee) + " is not callable");
2840
+ }
2841
+ };
2842
+ t.prototype.stepConditionalExpression = function(a, b, d) {
2843
+ var c = b.na || 0;
2844
+ if (0 === c)
2845
+ return b.na = 1, new u(d.test, b.scope);
2846
+ if (1 === c) {
2847
+ b.na = 2;
2848
+ if ((c = !!b.value) && d.da)
2849
+ return new u(d.da, b.scope);
2850
+ if (!c && d.alternate)
2851
+ return new u(d.alternate, b.scope);
2852
+ this.value = void 0;
2853
+ }
2854
+ a.pop();
2855
+ "ConditionalExpression" === d.type && (a[a.length - 1].value = b.value);
2856
+ };
2857
+ t.prototype.stepContinueStatement = function(a, b, d) {
2858
+ hd(this, 2, void 0, d.label && d.label.name);
2859
+ };
2860
+ t.prototype.stepDebuggerStatement = function(a) {
2861
+ a.pop();
2862
+ };
2863
+ t.prototype.stepDoWhileStatement = function(a, b, d) {
2864
+ "DoWhileStatement" === d.type && void 0 === b.ga && (b.value = true, b.ga = true);
2865
+ if (!b.ga)
2866
+ return b.ga = true, new u(d.test, b.scope);
2867
+ if (!b.value)
2868
+ a.pop();
2869
+ else if (d.body)
2870
+ return b.ga = false, b.W = true, new u(d.body, b.scope);
2871
+ };
2872
+ t.prototype.stepEmptyStatement = function(a) {
2873
+ a.pop();
2874
+ };
2875
+ t.prototype.stepEvalProgram_ = function(a, b, d) {
2876
+ var c = b.A || 0;
2877
+ if (d = d.body[c])
2878
+ return b.A = c + 1, new u(d, b.scope);
2879
+ a.pop();
2880
+ a[a.length - 1].value = this.value;
2881
+ };
2882
+ t.prototype.stepExpressionStatement = function(a, b, d) {
2883
+ if (!b.ka)
2884
+ return this.value = void 0, b.ka = true, new u(d.la, b.scope);
2885
+ a.pop();
2886
+ this.value = b.value;
2887
+ };
2888
+ t.prototype.stepForInStatement = function(a, b, d) {
2889
+ if (!b.Ub && (b.Ub = true, d.left.fa && d.left.fa[0].ua))
2890
+ return b.scope.S && K(this, this.T, "for-in loop variable declaration may not have an initializer"), new u(d.left, b.scope);
2891
+ if (!b.Ca)
2892
+ return b.Ca = true, b.pa || (b.pa = b.value), new u(d.right, b.scope);
2893
+ b.W || (b.W = true, b.u = b.value, b.kb = /* @__PURE__ */ Object.create(null));
2894
+ if (void 0 === b.Ra)
2895
+ a:
2896
+ for (; ; ) {
2897
+ if (b.u instanceof D)
2898
+ for (b.wa || (b.wa = Object.getOwnPropertyNames(b.u.h)); ; ) {
2899
+ var c = b.wa.shift();
2900
+ if (void 0 === c)
2901
+ break;
2902
+ if (Object.prototype.hasOwnProperty.call(b.u.h, c) && !b.kb[c] && (b.kb[c] = true, Object.prototype.propertyIsEnumerable.call(b.u.h, c))) {
2903
+ b.Ra = c;
2904
+ break a;
2905
+ }
2906
+ }
2907
+ else if (null !== b.u && void 0 !== b.u)
2908
+ for (b.wa || (b.wa = Object.getOwnPropertyNames(b.u)); ; ) {
2909
+ c = b.wa.shift();
2910
+ if (void 0 === c)
2911
+ break;
2912
+ b.kb[c] = true;
2913
+ if (Object.prototype.propertyIsEnumerable.call(b.u, c)) {
2914
+ b.Ra = c;
2915
+ break a;
2916
+ }
2917
+ }
2918
+ b.u = Ac(this, b.u);
2919
+ b.wa = null;
2920
+ if (null === b.u) {
2921
+ a.pop();
2922
+ return;
2923
+ }
2924
+ }
2925
+ if (!b.wb) {
2926
+ if (b.wb = true, a = d.left, "VariableDeclaration" === a.type)
2927
+ b.pa = [
2928
+ Ha,
2929
+ a.fa[0].id.name
2930
+ ];
2931
+ else
2932
+ return b.pa = null, b = new u(a, b.scope), b.sa = true, b;
2933
+ }
2934
+ b.pa || (b.pa = b.value);
2935
+ if (!b.ta && (b.ta = true, a = b.Ra, c = gd(this, b.pa, a)))
2936
+ return kd(this, c, b.pa, a);
2937
+ b.Ra = void 0;
2938
+ b.wb = false;
2939
+ b.ta = false;
2940
+ if (d.body)
2941
+ return new u(d.body, b.scope);
2942
+ };
2943
+ t.prototype.stepForStatement = function(a, b, d) {
2944
+ switch (b.na) {
2945
+ default:
2946
+ b.na = 1;
2947
+ if (d.ua)
2948
+ return new u(d.ua, b.scope);
2949
+ break;
2950
+ case 1:
2951
+ b.na = 2;
2952
+ if (d.test)
2953
+ return new u(d.test, b.scope);
2954
+ break;
2955
+ case 2:
2956
+ b.na = 3;
2957
+ if (d.test && !b.value)
2958
+ a.pop();
2959
+ else
2960
+ return b.W = true, new u(d.body, b.scope);
2961
+ break;
2962
+ case 3:
2963
+ if (b.na = 1, d.update)
2964
+ return new u(d.update, b.scope);
2965
+ }
2966
+ };
2967
+ t.prototype.stepFunctionDeclaration = function(a) {
2968
+ a.pop();
2969
+ };
2970
+ t.prototype.stepFunctionExpression = function(a, b, d) {
2971
+ a.pop();
2972
+ b = a[a.length - 1];
2973
+ a = b.scope;
2974
+ d.id && (a = cd(this, a));
2975
+ b.value = Nb(this, d, a, b.Pa);
2976
+ d.id && this.g(a.object, d.id.name, b.value, ua);
2977
+ };
2978
+ t.prototype.stepIdentifier = function(a, b, d) {
2979
+ a.pop();
2980
+ if (b.sa)
2981
+ a[a.length - 1].value = [
2982
+ Ha,
2983
+ d.name
2984
+ ];
2985
+ else {
2986
+ b = dd(this, d.name);
2987
+ if (this.P)
2988
+ return jd(this, b, this.Na);
2989
+ a[a.length - 1].value = b;
2990
+ }
2991
+ };
2992
+ t.prototype.stepIfStatement = t.prototype.stepConditionalExpression;
2993
+ t.prototype.stepLabeledStatement = function(a, b, d) {
2994
+ a.pop();
2995
+ a = b.labels || [];
2996
+ a.push(d.label.name);
2997
+ b = new u(d.body, b.scope);
2998
+ b.labels = a;
2999
+ return b;
3000
+ };
3001
+ t.prototype.stepLiteral = function(a, b, d) {
3002
+ a.pop();
3003
+ b = d.value;
3004
+ b instanceof RegExp && (d = this.s(this.Ma), Hc(this, d, b), b = d);
3005
+ a[a.length - 1].value = b;
3006
+ };
3007
+ t.prototype.stepLogicalExpression = function(a, b, d) {
3008
+ if ("&&" !== d.operator && "||" !== d.operator)
3009
+ throw SyntaxError("Unknown logical operator: " + d.operator);
3010
+ if (!b.ja)
3011
+ return b.ja = true, new u(d.left, b.scope);
3012
+ if (b.Da)
3013
+ a.pop(), a[a.length - 1].value = b.value;
3014
+ else if ("&&" === d.operator && !b.value || "||" === d.operator && b.value)
3015
+ a.pop(), a[a.length - 1].value = b.value;
3016
+ else
3017
+ return b.Da = true, new u(d.right, b.scope);
3018
+ };
3019
+ t.prototype.stepMemberExpression = function(a, b, d) {
3020
+ if (!b.Ca)
3021
+ return b.Ca = true, new u(d.object, b.scope);
3022
+ if (d.bb) {
3023
+ if (b.Vb)
3024
+ d = b.value;
3025
+ else
3026
+ return b.u = b.value, b.Vb = true, new u(d.Wa, b.scope);
3027
+ } else
3028
+ b.u = b.value, d = d.Wa.name;
3029
+ a.pop();
3030
+ if (b.sa)
3031
+ a[a.length - 1].value = [
3032
+ b.u,
3033
+ d
3034
+ ];
3035
+ else {
3036
+ d = this.G(b.u, d);
3037
+ if (this.P)
3038
+ return jd(this, d, b.u);
3039
+ a[a.length - 1].value = d;
3040
+ }
3041
+ };
3042
+ t.prototype.stepNewExpression = t.prototype.stepCallExpression;
3043
+ t.prototype.stepObjectExpression = function(a, b, d) {
3044
+ var c = b.A || 0, e = d.h[c];
3045
+ if (b.u) {
3046
+ var h = b.Pa;
3047
+ b.Ja[h] || (b.Ja[h] = {});
3048
+ b.Ja[h][e.kind] = b.value;
3049
+ b.A = ++c;
3050
+ e = d.h[c];
3051
+ } else
3052
+ b.u = this.s(this.M), b.Ja = /* @__PURE__ */ Object.create(null);
3053
+ if (e) {
3054
+ var k = e.key;
3055
+ if ("Identifier" === k.type)
3056
+ h = k.name;
3057
+ else if ("Literal" === k.type)
3058
+ h = k.value;
3059
+ else
3060
+ throw SyntaxError("Unknown object structure: " + k.type);
3061
+ b.Pa = h;
3062
+ return new u(e.value, b.scope);
3063
+ }
3064
+ for (k in b.Ja)
3065
+ d = b.Ja[k], "get" in d || "set" in d ? this.g(b.u, k, Ia, {
3066
+ configurable: true,
3067
+ enumerable: true,
3068
+ get: d.get,
3069
+ set: d.set
3070
+ }) : this.g(b.u, k, d.init);
3071
+ a.pop();
3072
+ a[a.length - 1].value = b.u;
3073
+ };
3074
+ t.prototype.stepProgram = function(a, b, d) {
3075
+ if (a = d.body.shift())
3076
+ return b.done = false, new u(a, b.scope);
3077
+ b.done = true;
3078
+ };
3079
+ t.prototype.stepReturnStatement = function(a, b, d) {
3080
+ if (d.K && !b.ka)
3081
+ return b.ka = true, new u(d.K, b.scope);
3082
+ hd(this, 3, b.value);
3083
+ };
3084
+ t.prototype.stepSequenceExpression = function(a, b, d) {
3085
+ var c = b.A || 0;
3086
+ if (d = d.xb[c])
3087
+ return b.A = c + 1, new u(d, b.scope);
3088
+ a.pop();
3089
+ a[a.length - 1].value = b.value;
3090
+ };
3091
+ t.prototype.stepSwitchStatement = function(a, b, d) {
3092
+ if (!b.ga)
3093
+ return b.ga = 1, new u(d.Qb, b.scope);
3094
+ 1 === b.ga && (b.ga = 2, b.hc = b.value, b.cb = -1);
3095
+ for (; ; ) {
3096
+ var c = b.gb || 0, e = d.tb[c];
3097
+ if (b.Ha || !e || e.test) {
3098
+ if (e || b.Ha || -1 === b.cb) {
3099
+ if (e) {
3100
+ if (!b.Ha && !b.Fb && e.test)
3101
+ return b.Fb = true, new u(e.test, b.scope);
3102
+ if (b.Ha || b.value === b.hc) {
3103
+ b.Ha = true;
3104
+ var h = b.A || 0;
3105
+ if (e.da[h])
3106
+ return b.Zb = true, b.A = h + 1, new u(e.da[h], b.scope);
3107
+ }
3108
+ b.Fb = false;
3109
+ b.A = 0;
3110
+ b.gb = c + 1;
3111
+ } else {
3112
+ a.pop();
3113
+ break;
3114
+ }
3115
+ } else
3116
+ b.Ha = true, b.gb = b.cb;
3117
+ } else
3118
+ b.cb = c, b.gb = c + 1;
3119
+ }
3120
+ };
3121
+ t.prototype.stepThisExpression = function(a) {
3122
+ a.pop();
3123
+ a[a.length - 1].value = dd(this, "this");
3124
+ };
3125
+ t.prototype.stepThrowStatement = function(a, b, d) {
3126
+ if (b.ka)
3127
+ K(this, b.value);
3128
+ else
3129
+ return b.ka = true, new u(d.K, b.scope);
3130
+ };
3131
+ t.prototype.stepTryStatement = function(a, b, d) {
3132
+ if (!b.Rb)
3133
+ return b.Rb = true, new u(d.block, b.scope);
3134
+ if (b.ea && 4 === b.ea.type && !b.Tb && d.Ea)
3135
+ return b.Tb = true, a = cd(this, b.scope), this.g(a.object, d.Ea.Ua.name, b.ea.value), b.ea = void 0, new u(d.Ea.body, a);
3136
+ if (!b.Sb && d.fb)
3137
+ return b.Sb = true, new u(d.fb, b.scope);
3138
+ a.pop();
3139
+ b.ea && hd(this, b.ea.type, b.ea.value, b.ea.label);
3140
+ };
3141
+ t.prototype.stepUnaryExpression = function(a, b, d) {
3142
+ if (!b.ka)
3143
+ return b.ka = true, a = new u(d.K, b.scope), a.sa = "delete" === d.operator, a;
3144
+ a.pop();
3145
+ var c = b.value;
3146
+ switch (d.operator) {
3147
+ case "-":
3148
+ c = -c;
3149
+ break;
3150
+ case "+":
3151
+ c = +c;
3152
+ break;
3153
+ case "!":
3154
+ c = !c;
3155
+ break;
3156
+ case "~":
3157
+ c = ~c;
3158
+ break;
3159
+ case "delete":
3160
+ d = true;
3161
+ if (Array.isArray(c)) {
3162
+ var e = c[0];
3163
+ e === Ha && (e = b.scope);
3164
+ c = String(c[1]);
3165
+ try {
3166
+ delete e.h[c];
3167
+ } catch (h) {
3168
+ b.scope.S ? K(this, this.j, "Cannot delete property '" + c + "' of '" + e + "'") : d = false;
3169
+ }
3170
+ }
3171
+ c = d;
3172
+ break;
3173
+ case "typeof":
3174
+ c = c && "Function" === c.H ? "function" : typeof c;
3175
+ break;
3176
+ case "void":
3177
+ c = void 0;
3178
+ break;
3179
+ default:
3180
+ throw SyntaxError("Unknown unary operator: " + d.operator);
3181
+ }
3182
+ a[a.length - 1].value = c;
3183
+ };
3184
+ t.prototype.stepUpdateExpression = function(a, b, d) {
3185
+ if (!b.ja)
3186
+ return b.ja = true, a = new u(d.K, b.scope), a.sa = true, a;
3187
+ b.Ga || (b.Ga = b.value);
3188
+ b.Ba && (b.ma = b.value);
3189
+ if (!b.Ba) {
3190
+ var c = fd(this, b.Ga);
3191
+ b.ma = c;
3192
+ if (this.P)
3193
+ return b.Ba = true, jd(this, c, b.Ga);
3194
+ }
3195
+ if (b.ta)
3196
+ a.pop(), a[a.length - 1].value = b.ib;
3197
+ else {
3198
+ c = Number(b.ma);
3199
+ if ("++" === d.operator)
3200
+ var e = c + 1;
3201
+ else if ("--" === d.operator)
3202
+ e = c - 1;
3203
+ else
3204
+ throw SyntaxError("Unknown update expression: " + d.operator);
3205
+ d = d.prefix ? e : c;
3206
+ if (c = gd(this, b.Ga, e))
3207
+ return b.ta = true, b.ib = d, kd(this, c, b.Ga, e);
3208
+ a.pop();
3209
+ a[a.length - 1].value = d;
3210
+ }
3211
+ };
3212
+ t.prototype.stepVariableDeclaration = function(a, b, d) {
3213
+ d = d.fa;
3214
+ var c = b.A || 0, e = d[c];
3215
+ b.Bb && e && (ed(this, e.id.name, b.value), b.Bb = false, e = d[++c]);
3216
+ for (; e; ) {
3217
+ if (e.ua)
3218
+ return b.A = c, b.Bb = true, b.Pa = e.id.name, new u(e.ua, b.scope);
3219
+ e = d[++c];
3220
+ }
3221
+ a.pop();
3222
+ };
3223
+ t.prototype.stepWithStatement = function(a, b, d) {
3224
+ if (!b.Ca)
3225
+ return b.Ca = true, new u(d.object, b.scope);
3226
+ a.pop();
3227
+ a = cd(this, b.scope, b.value);
3228
+ return new u(d.body, a);
3229
+ };
3230
+ t.prototype.stepWhileStatement = t.prototype.stepDoWhileStatement;
3231
+ Na.Interpreter = t;
3232
+ t.prototype.step = t.prototype.lb;
3233
+ t.prototype.run = t.prototype.Eb;
3234
+ t.prototype.appendCode = t.prototype.Jb;
3235
+ t.prototype.createObject = t.prototype.Aa;
3236
+ t.prototype.createObjectProto = t.prototype.s;
3237
+ t.prototype.createAsyncFunction = t.prototype.ub;
3238
+ t.prototype.createNativeFunction = t.prototype.i;
3239
+ t.prototype.getProperty = t.prototype.G;
3240
+ t.prototype.setProperty = t.prototype.g;
3241
+ t.prototype.nativeToPseudo = t.prototype.Ia;
3242
+ t.prototype.pseudoToNative = t.prototype.R;
3243
+ t.prototype.getGlobalScope = t.prototype.Xb;
3244
+ t.prototype.getStateStack = t.prototype.Yb;
3245
+ t.prototype.setStateStack = t.prototype.ec;
3246
+ t.VALUE_IN_DESCRIPTOR = Ia;
86
3247
  const processCode = (code) => {
87
3248
  return code.split("\n").map((line) => {
88
3249
  const trimmed = line.trim();
@@ -140,7 +3301,7 @@ theFunction();
140
3301
  interpreter.setProperty(globalObject, "setRootState", interpreter.createNativeFunction(setRootState));
141
3302
  };
142
3303
  try {
143
- const myInterpreter = new Interpreter(transformed, initFunc);
3304
+ const myInterpreter = new t(transformed, initFunc);
144
3305
  myInterpreter.run();
145
3306
  const output = myInterpreter.pseudoToNative(myInterpreter.value);
146
3307
  return output;
@@ -1520,7 +4681,7 @@ const setCookie = async ({ name, value, expires, canTrack }) => {
1520
4681
  }
1521
4682
  };
1522
4683
  const BUILDER_STORE_PREFIX = "builder.tests";
1523
- const getContentTestKey = (id) => `${BUILDER_STORE_PREFIX}.${id}`;
4684
+ const getContentTestKey = (id2) => `${BUILDER_STORE_PREFIX}.${id2}`;
1524
4685
  const getContentVariationCookie = ({ contentId }) => getCookie({
1525
4686
  name: getContentTestKey(contentId),
1526
4687
  canTrack: true
@@ -1535,17 +4696,17 @@ const setContentVariationCookie = ({ contentId, value }) => setCookie({
1535
4696
  canTrack: true
1536
4697
  });
1537
4698
  const checkIsBuilderContentWithVariations = (item) => checkIsDefined(item.id) && checkIsDefined(item.variations) && Object.keys(item.variations).length > 0;
1538
- const getRandomVariationId = ({ id, variations }) => {
4699
+ const getRandomVariationId = ({ id: id2, variations }) => {
1539
4700
  var _a;
1540
4701
  let n = 0;
1541
4702
  const random = Math.random();
1542
- for (const id2 in variations) {
1543
- const testRatio = (_a = variations[id2]) == null ? void 0 : _a.testRatio;
4703
+ for (const id22 in variations) {
4704
+ const testRatio = (_a = variations[id22]) == null ? void 0 : _a.testRatio;
1544
4705
  n += testRatio;
1545
4706
  if (random < n)
1546
- return id2;
4707
+ return id22;
1547
4708
  }
1548
- return id;
4709
+ return id2;
1549
4710
  };
1550
4711
  const getAndSetVariantId = (args) => {
1551
4712
  const randomVariationId = getRandomVariationId(args);
@@ -2667,9 +5828,9 @@ function bldrAbTest(contentId, variants, isHydrationTarget2) {
2667
5828
  }
2668
5829
  function getCookie2(name) {
2669
5830
  const nameEQ = name + "=";
2670
- const ca = document.cookie.split(";");
2671
- for (let i = 0; i < ca.length; i++) {
2672
- let c = ca[i];
5831
+ const ca2 = document.cookie.split(";");
5832
+ for (let i = 0; i < ca2.length; i++) {
5833
+ let c = ca2[i];
2673
5834
  while (c.charAt(0) === " ")
2674
5835
  c = c.substring(1, c.length);
2675
5836
  if (c.indexOf(nameEQ) === 0)
@@ -2718,9 +5879,9 @@ function bldrCntntScrpt(variantContentId, defaultContentId, isHydrationTarget2)
2718
5879
  return;
2719
5880
  function getCookie2(name) {
2720
5881
  const nameEQ = name + "=";
2721
- const ca = document.cookie.split(";");
2722
- for (let i = 0; i < ca.length; i++) {
2723
- let c = ca[i];
5882
+ const ca2 = document.cookie.split(";");
5883
+ for (let i = 0; i < ca2.length; i++) {
5884
+ let c = ca2[i];
2724
5885
  while (c.charAt(0) === " ")
2725
5886
  c = c.substring(1, c.length);
2726
5887
  if (c.indexOf(nameEQ) === 0)
@@ -2943,8 +6104,8 @@ function isPreviewing() {
2943
6104
  }
2944
6105
  function uuidv4() {
2945
6106
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(c) {
2946
- const r = Math.random() * 16 | 0, v = c == "x" ? r : r & 3 | 8;
2947
- return v.toString(16);
6107
+ const r = Math.random() * 16 | 0, v2 = c == "x" ? r : r & 3 | 8;
6108
+ return v2.toString(16);
2948
6109
  });
2949
6110
  }
2950
6111
  function uuid() {
@@ -2970,9 +6131,9 @@ const getSessionId = async ({ canTrack }) => {
2970
6131
  }
2971
6132
  };
2972
6133
  const createSessionId = () => uuid();
2973
- const setSessionId = ({ id, canTrack }) => setCookie({
6134
+ const setSessionId = ({ id: id2, canTrack }) => setCookie({
2974
6135
  name: SESSION_LOCAL_STORAGE_KEY,
2975
- value: id,
6136
+ value: id2,
2976
6137
  canTrack
2977
6138
  });
2978
6139
  const getLocalStorage = () => isBrowser() && typeof localStorage !== "undefined" ? localStorage : void 0;
@@ -3016,9 +6177,9 @@ const getVisitorId = ({ canTrack }) => {
3016
6177
  }
3017
6178
  };
3018
6179
  const createVisitorId = () => uuid();
3019
- const setVisitorId = ({ id, canTrack }) => setLocalStorageItem({
6180
+ const setVisitorId = ({ id: id2, canTrack }) => setLocalStorageItem({
3020
6181
  key: VISITOR_LOCAL_STORAGE_KEY,
3021
- value: id,
6182
+ value: id2,
3022
6183
  canTrack
3023
6184
  });
3024
6185
  const getLocation = () => {
@@ -3142,8 +6303,8 @@ const findParentElement = (target, callback, checkElement = true) => {
3142
6303
  return null;
3143
6304
  };
3144
6305
  const findBuilderParent = (target) => findParentElement(target, (el) => {
3145
- const id = el.getAttribute("builder-id") || el.id;
3146
- return Boolean((id == null ? void 0 : id.indexOf("builder-")) === 0);
6306
+ const id2 = el.getAttribute("builder-id") || el.id;
6307
+ return Boolean((id2 == null ? void 0 : id2.indexOf("builder-")) === 0);
3147
6308
  });
3148
6309
  const computeOffset = ({ event, target }) => {
3149
6310
  const targetRect = target.getBoundingClientRect();
@@ -3266,7 +6427,7 @@ const setupBrowserForEditing = (options = {}) => {
3266
6427
  case "builder.evaluate": {
3267
6428
  const text = data.data.text;
3268
6429
  const args = data.data.arguments || [];
3269
- const id = data.data.id;
6430
+ const id2 = data.data.id;
3270
6431
  const fn = new Function(text);
3271
6432
  let result;
3272
6433
  let error = null;
@@ -3279,7 +6440,7 @@ const setupBrowserForEditing = (options = {}) => {
3279
6440
  (_a2 = window.parent) == null ? void 0 : _a2.postMessage({
3280
6441
  type: "builder.evaluateError",
3281
6442
  data: {
3282
- id,
6443
+ id: id2,
3283
6444
  error: error.message
3284
6445
  }
3285
6446
  }, "*");
@@ -3289,7 +6450,7 @@ const setupBrowserForEditing = (options = {}) => {
3289
6450
  (_a3 = window.parent) == null ? void 0 : _a3.postMessage({
3290
6451
  type: "builder.evaluateResult",
3291
6452
  data: {
3292
- id,
6453
+ id: id2,
3293
6454
  result: finalResult
3294
6455
  }
3295
6456
  }, "*");
@@ -3299,7 +6460,7 @@ const setupBrowserForEditing = (options = {}) => {
3299
6460
  type: "builder.evaluateResult",
3300
6461
  data: {
3301
6462
  result,
3302
- id
6463
+ id: id2
3303
6464
  }
3304
6465
  }, "*");
3305
6466
  break;