@builder.io/sdk-react 0.6.1 → 0.6.3
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.
- package/lib/browser/index.cjs +13 -13
- package/lib/browser/index.mjs +155 -150
- package/lib/edge/index.cjs +20 -20
- package/lib/edge/index.mjs +396 -391
- package/lib/node/index.cjs +13 -13
- package/lib/node/index.mjs +155 -150
- package/package.json +1 -1
- package/types/constants/sdk-version.d.ts +1 -1
- package/types/functions/fetch-builder-props.d.ts +13 -0
- package/types/types/components.d.ts +0 -1
package/lib/edge/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs as Z, Fragment as U, jsx as m } from "react/jsx-runtime";
|
|
3
|
-
import {
|
|
4
|
-
import { j as
|
|
3
|
+
import { createContext as cr, useState as H, useContext as Wn, createElement as Vr, useRef as Jt, useEffect as le } from "react";
|
|
4
|
+
import { j as Yt, l as Ne, i as Ce, k as Pe, m as Dr, n as ft, T as tt, r as Wr, c as Hr, o as Hn, a as Kr, b as ur, p as Gr, q as Kn, u as Gn, v as zn, w as zr } from "./server-entry-f7504f89.mjs";
|
|
5
5
|
import { _ as Oo, h as No, f as Po, g as Mo, e as Fo, d as Uo, s as Bo, t as _o } from "./server-entry-f7504f89.mjs";
|
|
6
6
|
function Xr(e) {
|
|
7
7
|
return /* @__PURE__ */ Z(U, { children: [
|
|
@@ -48,7 +48,7 @@ const fr = {
|
|
|
48
48
|
small: e,
|
|
49
49
|
medium: t
|
|
50
50
|
}) => {
|
|
51
|
-
const r =
|
|
51
|
+
const r = Yt(fr);
|
|
52
52
|
if (!e || !t)
|
|
53
53
|
return r;
|
|
54
54
|
const n = Math.floor(e / 2);
|
|
@@ -109,7 +109,7 @@ var L, Jr = function(e) {
|
|
|
109
109
|
this.line = we, this.ab = u - de;
|
|
110
110
|
}
|
|
111
111
|
function s(o, l) {
|
|
112
|
-
Ie = u, O.C && (
|
|
112
|
+
Ie = u, O.C && (It = new a()), A = o, d(), se = l, Le = o.m;
|
|
113
113
|
}
|
|
114
114
|
function f() {
|
|
115
115
|
for (var o = u, l = O.va && O.C && new a(), c = b.charCodeAt(u += 2); u < Ee && c !== 10 && c !== 13 && c !== 8232 && c !== 8233; )
|
|
@@ -150,7 +150,7 @@ var L, Jr = function(e) {
|
|
|
150
150
|
function p(o) {
|
|
151
151
|
switch (o) {
|
|
152
152
|
case 46:
|
|
153
|
-
o = b.charCodeAt(u + 1), 48 <= o && 57 >= o ?
|
|
153
|
+
o = b.charCodeAt(u + 1), 48 <= o && 57 >= o ? k(!0) : (++u, s(Mn));
|
|
154
154
|
return;
|
|
155
155
|
case 40:
|
|
156
156
|
return ++u, s(he);
|
|
@@ -161,9 +161,9 @@ var L, Jr = function(e) {
|
|
|
161
161
|
case 44:
|
|
162
162
|
return ++u, s(be);
|
|
163
163
|
case 91:
|
|
164
|
-
return ++u, s(Ft);
|
|
165
|
-
case 93:
|
|
166
164
|
return ++u, s(Ut);
|
|
165
|
+
case 93:
|
|
166
|
+
return ++u, s(Bt);
|
|
167
167
|
case 123:
|
|
168
168
|
return ++u, s(We);
|
|
169
169
|
case 125:
|
|
@@ -186,7 +186,7 @@ var L, Jr = function(e) {
|
|
|
186
186
|
case 55:
|
|
187
187
|
case 56:
|
|
188
188
|
case 57:
|
|
189
|
-
return
|
|
189
|
+
return k(!1);
|
|
190
190
|
case 34:
|
|
191
191
|
case 39:
|
|
192
192
|
u++;
|
|
@@ -214,13 +214,13 @@ var L, Jr = function(e) {
|
|
|
214
214
|
l += "\r";
|
|
215
215
|
break;
|
|
216
216
|
case 120:
|
|
217
|
-
l += String.fromCharCode(
|
|
217
|
+
l += String.fromCharCode(I(2));
|
|
218
218
|
break;
|
|
219
219
|
case 117:
|
|
220
|
-
l += String.fromCharCode(
|
|
220
|
+
l += String.fromCharCode(I(4));
|
|
221
221
|
break;
|
|
222
222
|
case 85:
|
|
223
|
-
l += String.fromCharCode(
|
|
223
|
+
l += String.fromCharCode(I(8));
|
|
224
224
|
break;
|
|
225
225
|
case 116:
|
|
226
226
|
l += " ";
|
|
@@ -281,10 +281,10 @@ var L, Jr = function(e) {
|
|
|
281
281
|
return !1;
|
|
282
282
|
}
|
|
283
283
|
function y(o) {
|
|
284
|
-
if (o ? u = z + 1 : z = u, O.C && (
|
|
284
|
+
if (o ? u = z + 1 : z = u, O.C && (Et = new a()), o)
|
|
285
285
|
return P();
|
|
286
286
|
if (u >= Ee)
|
|
287
|
-
return s(
|
|
287
|
+
return s(At);
|
|
288
288
|
if (o = b.charCodeAt(u), r(o) || o === 92)
|
|
289
289
|
return V();
|
|
290
290
|
if (p(o) === !1) {
|
|
@@ -331,13 +331,13 @@ var L, Jr = function(e) {
|
|
|
331
331
|
}
|
|
332
332
|
return u === c || l !== void 0 && u - c !== l ? null : h;
|
|
333
333
|
}
|
|
334
|
-
function
|
|
334
|
+
function k(o) {
|
|
335
335
|
var l = u, c = !1, h = b.charCodeAt(u) === 48;
|
|
336
336
|
o || B(10) !== null || n(l, "Invalid number"), b.charCodeAt(u) === 46 && (++u, B(10), c = !0), o = b.charCodeAt(u), (o === 69 || o === 101) && (o = b.charCodeAt(++u), o !== 43 && o !== 45 || ++u, B(10) === null && n(l, "Invalid number"), c = !0), r(b.charCodeAt(u)) && n(u, "Identifier directly after number"), o = b.slice(l, u);
|
|
337
337
|
var R;
|
|
338
338
|
c ? R = parseFloat(o) : h && o.length !== 1 ? /[89]/.test(o) || ie ? n(l, "Invalid number") : R = parseInt(o, 8) : R = parseInt(o, 10), s(De, R);
|
|
339
339
|
}
|
|
340
|
-
function
|
|
340
|
+
function I(o) {
|
|
341
341
|
return o = B(16, o), o === null && n(z, "Bad character escape sequence"), o;
|
|
342
342
|
}
|
|
343
343
|
function $() {
|
|
@@ -347,7 +347,7 @@ var L, Jr = function(e) {
|
|
|
347
347
|
if (t(h))
|
|
348
348
|
Ae && (o += b.charAt(u)), ++u;
|
|
349
349
|
else if (h === 92) {
|
|
350
|
-
Ae || (o = b.slice(c, u)), Ae = !0, b.charCodeAt(++u) !== 117 && n(u, "Expecting Unicode escape sequence \\uXXXX"), ++u, h =
|
|
350
|
+
Ae || (o = b.slice(c, u)), Ae = !0, b.charCodeAt(++u) !== 117 && n(u, "Expecting Unicode escape sequence \\uXXXX"), ++u, h = I(4);
|
|
351
351
|
var R = String.fromCharCode(h);
|
|
352
352
|
R || n(u - 1, "Invalid Unicode escape"), (l ? r(h) : t(h)) || n(u - 4, "Invalid Unicode escape"), o += R;
|
|
353
353
|
} else
|
|
@@ -361,9 +361,9 @@ var L, Jr = function(e) {
|
|
|
361
361
|
!Ae && Br(o) && (l = Ir[o]), s(l, o);
|
|
362
362
|
}
|
|
363
363
|
function v() {
|
|
364
|
-
|
|
364
|
+
Tt = z, xe = Ie, jt = It, y();
|
|
365
365
|
}
|
|
366
|
-
function
|
|
366
|
+
function D(o) {
|
|
367
367
|
if (ie = o, u = z, O.C)
|
|
368
368
|
for (; u < de; )
|
|
369
369
|
de = b.lastIndexOf(`
|
|
@@ -374,7 +374,7 @@ var L, Jr = function(e) {
|
|
|
374
374
|
this.type = null, this.start = z, this.end = null;
|
|
375
375
|
}
|
|
376
376
|
function ae() {
|
|
377
|
-
this.start =
|
|
377
|
+
this.start = Et, this.end = null, Ct && (this.source = Ct);
|
|
378
378
|
}
|
|
379
379
|
function K() {
|
|
380
380
|
var o = new oe();
|
|
@@ -385,24 +385,24 @@ var L, Jr = function(e) {
|
|
|
385
385
|
return l.start = o.start, O.C && (l.X = new ae(), l.X.start = o.X.start), O.Xa && (l.j = [o.j[0], 0]), l;
|
|
386
386
|
}
|
|
387
387
|
function T(o, l) {
|
|
388
|
-
return o.type = l, o.end = xe, O.C && (o.X.end =
|
|
388
|
+
return o.type = l, o.end = xe, O.C && (o.X.end = jt), O.Xa && (o.j[1] = xe), o;
|
|
389
389
|
}
|
|
390
390
|
function _(o) {
|
|
391
391
|
return o.type === "ExpressionStatement" && o.la.type === "Literal" && o.la.value === "use strict";
|
|
392
392
|
}
|
|
393
|
-
function
|
|
393
|
+
function E(o) {
|
|
394
394
|
return A === o ? (v(), !0) : !1;
|
|
395
395
|
}
|
|
396
396
|
function N() {
|
|
397
|
-
return !O.fc && (A ===
|
|
397
|
+
return !O.fc && (A === At || A === je || lt.test(b.slice(xe, z)));
|
|
398
398
|
}
|
|
399
399
|
function M() {
|
|
400
|
-
|
|
400
|
+
E(pe) || N() || W();
|
|
401
401
|
}
|
|
402
402
|
function j(o) {
|
|
403
|
-
A === o ? v() :
|
|
403
|
+
A === o ? v() : W();
|
|
404
404
|
}
|
|
405
|
-
function
|
|
405
|
+
function W() {
|
|
406
406
|
n(z, "Unexpected token");
|
|
407
407
|
}
|
|
408
408
|
function ce(o) {
|
|
@@ -412,11 +412,11 @@ var L, Jr = function(e) {
|
|
|
412
412
|
(A === Un || A === ke && se === "/=") && y(!0);
|
|
413
413
|
var o = A, l = K();
|
|
414
414
|
switch (o) {
|
|
415
|
-
case
|
|
415
|
+
case Rt:
|
|
416
416
|
case yn:
|
|
417
417
|
v();
|
|
418
|
-
var c = o ===
|
|
419
|
-
|
|
418
|
+
var c = o === Rt;
|
|
419
|
+
E(pe) || N() ? l.label = null : A !== Te ? W() : (l.label = fe(), M());
|
|
420
420
|
for (var h = 0; h < G.length; ++h) {
|
|
421
421
|
var R = G[h];
|
|
422
422
|
if ((l.label === null || R.name === l.label.name) && (R.kind !== null && (c || R.kind === "loop") || l.label && c))
|
|
@@ -426,27 +426,27 @@ var L, Jr = function(e) {
|
|
|
426
426
|
case vn:
|
|
427
427
|
return v(), M(), T(l, "DebuggerStatement");
|
|
428
428
|
case bn:
|
|
429
|
-
return v(), G.push(
|
|
429
|
+
return v(), G.push(_t), l.body = re(), G.pop(), j(Ft), l.test = Be(), M(), T(l, "DoWhileStatement");
|
|
430
430
|
case kn:
|
|
431
|
-
return v(), G.push(
|
|
432
|
-
case
|
|
433
|
-
return v(),
|
|
431
|
+
return v(), G.push(_t), j(he), A === pe ? vt(l, null) : A === Mt ? (o = K(), v(), hn(o, !0), T(o, "VariableDeclaration"), o.fa.length === 1 && E(at) ? dn(l, o) : vt(l, o)) : (o = q(!1, !0), E(at) ? (ce(o), dn(l, o)) : vt(l, o));
|
|
432
|
+
case Nt:
|
|
433
|
+
return v(), wt(l, !0);
|
|
434
434
|
case Cn:
|
|
435
|
-
return v(), l.test = Be(), l.da = re(), l.alternate =
|
|
435
|
+
return v(), l.test = Be(), l.da = re(), l.alternate = E(Sn) ? re() : null, T(l, "IfStatement");
|
|
436
436
|
case En:
|
|
437
|
-
return Ve || O.Ib || n(z, "'return' outside of function"), v(),
|
|
438
|
-
case
|
|
437
|
+
return Ve || O.Ib || n(z, "'return' outside of function"), v(), E(pe) || N() ? l.K = null : (l.K = q(), M()), T(l, "ReturnStatement");
|
|
438
|
+
case Pt:
|
|
439
439
|
for (v(), l.Qb = Be(), l.tb = [], j(We), G.push(Lr); A !== je; )
|
|
440
|
-
A ===
|
|
440
|
+
A === Ot || A === xn ? (o = A === Ot, h && T(h, "SwitchCase"), l.tb.push(h = K()), h.da = [], v(), o ? h.test = q() : (c && n(Tt, "Multiple default clauses"), c = !0, h.test = null), j(He)) : (h || W(), h.da.push(re()));
|
|
441
441
|
return h && T(h, "SwitchCase"), v(), G.pop(), T(l, "SwitchStatement");
|
|
442
442
|
case In:
|
|
443
443
|
return v(), lt.test(b.slice(xe, z)) && n(xe, "Illegal newline after throw"), l.K = q(), M(), T(l, "ThrowStatement");
|
|
444
444
|
case Tn:
|
|
445
|
-
return v(), l.block = _e(), l.Ea = null, A === gn && (o = K(), v(), j(he), o.Ua = fe(), ie && st(o.Ua.name) && n(o.Ua.start, "Binding " + o.Ua.name + " in strict mode"), j(ue), o.body = _e(), l.Ea = T(o, "CatchClause")), l.fb =
|
|
446
|
-
case Pt:
|
|
447
|
-
return v(), hn(l), M(), T(l, "VariableDeclaration");
|
|
445
|
+
return v(), l.block = _e(), l.Ea = null, A === gn && (o = K(), v(), j(he), o.Ua = fe(), ie && st(o.Ua.name) && n(o.Ua.start, "Binding " + o.Ua.name + " in strict mode"), j(ue), o.body = _e(), l.Ea = T(o, "CatchClause")), l.fb = E(wn) ? _e() : null, l.Ea || l.fb || n(l.start, "Missing catch or finally clause"), T(l, "TryStatement");
|
|
448
446
|
case Mt:
|
|
449
|
-
return v(),
|
|
447
|
+
return v(), hn(l), M(), T(l, "VariableDeclaration");
|
|
448
|
+
case Ft:
|
|
449
|
+
return v(), l.test = Be(), G.push(_t), l.body = re(), G.pop(), T(l, "WhileStatement");
|
|
450
450
|
case jn:
|
|
451
451
|
return ie && n(z, "'with' in strict mode"), v(), l.object = Be(), l.body = re(), T(l, "WithStatement");
|
|
452
452
|
case We:
|
|
@@ -454,12 +454,12 @@ var L, Jr = function(e) {
|
|
|
454
454
|
case pe:
|
|
455
455
|
return v(), T(l, "EmptyStatement");
|
|
456
456
|
default:
|
|
457
|
-
if (c = se, R = q(), o === Te && R.type === "Identifier" &&
|
|
457
|
+
if (c = se, R = q(), o === Te && R.type === "Identifier" && E(He)) {
|
|
458
458
|
for (h = 0; h < G.length; ++h)
|
|
459
459
|
G[h].name === c && n(R.start, "Label '" + c + "' is already declared");
|
|
460
460
|
return G.push({
|
|
461
461
|
name: c,
|
|
462
|
-
kind: A.W ? "loop" : A ===
|
|
462
|
+
kind: A.W ? "loop" : A === Pt ? "switch" : null
|
|
463
463
|
}), l.body = re(), G.pop(), l.label = R, T(l, "LabeledStatement");
|
|
464
464
|
}
|
|
465
465
|
return l.la = R, M(), T(l, "ExpressionStatement");
|
|
@@ -472,17 +472,17 @@ var L, Jr = function(e) {
|
|
|
472
472
|
}
|
|
473
473
|
function _e(o) {
|
|
474
474
|
var l = K(), c = !0, h = !1;
|
|
475
|
-
for (l.body = [], j(We); !
|
|
475
|
+
for (l.body = [], j(We); !E(je); ) {
|
|
476
476
|
var R = re();
|
|
477
477
|
if (l.body.push(R), c && o && _(R)) {
|
|
478
478
|
var X = h;
|
|
479
|
-
|
|
479
|
+
D(h = !0);
|
|
480
480
|
}
|
|
481
481
|
c = !1;
|
|
482
482
|
}
|
|
483
|
-
return h && !X &&
|
|
483
|
+
return h && !X && D(!1), T(l, "BlockStatement");
|
|
484
484
|
}
|
|
485
|
-
function
|
|
485
|
+
function vt(o, l) {
|
|
486
486
|
return o.ua = l, j(pe), o.test = A === pe ? null : q(), j(pe), o.update = A === ue ? null : q(), j(ue), o.body = re(), G.pop(), T(o, "ForStatement");
|
|
487
487
|
}
|
|
488
488
|
function dn(o, l) {
|
|
@@ -491,50 +491,50 @@ var L, Jr = function(e) {
|
|
|
491
491
|
function hn(o, l) {
|
|
492
492
|
for (o.fa = [], o.kind = "var"; ; ) {
|
|
493
493
|
var c = K();
|
|
494
|
-
if (c.id = fe(), ie && st(c.id.name) && n(c.id.start, "Binding " + c.id.name + " in strict mode"), c.ua =
|
|
494
|
+
if (c.id = fe(), ie && st(c.id.name) && n(c.id.start, "Binding " + c.id.name + " in strict mode"), c.ua = E(Bn) ? q(!0, l) : null, o.fa.push(T(c, "VariableDeclarator")), !E(be))
|
|
495
495
|
break;
|
|
496
496
|
}
|
|
497
497
|
}
|
|
498
498
|
function q(o, l) {
|
|
499
|
-
var c =
|
|
499
|
+
var c = xt(l);
|
|
500
500
|
if (!o && A === be) {
|
|
501
|
-
for (o = Q(c), o.xb = [c];
|
|
502
|
-
o.xb.push(
|
|
501
|
+
for (o = Q(c), o.xb = [c]; E(be); )
|
|
502
|
+
o.xb.push(xt(l));
|
|
503
503
|
return T(o, "SequenceExpression");
|
|
504
504
|
}
|
|
505
505
|
return c;
|
|
506
506
|
}
|
|
507
|
-
function
|
|
508
|
-
var l =
|
|
509
|
-
if (
|
|
507
|
+
function xt(o) {
|
|
508
|
+
var l = bt(St(), -1, o);
|
|
509
|
+
if (E(Fn)) {
|
|
510
510
|
var c = Q(l);
|
|
511
511
|
c.test = l, c.da = q(!0), j(He), c.alternate = q(!0, o), l = T(c, "ConditionalExpression");
|
|
512
512
|
}
|
|
513
|
-
return A.Cb ? (c = Q(l), c.operator = se, c.left = l, v(), c.right =
|
|
513
|
+
return A.Cb ? (c = Q(l), c.operator = se, c.left = l, v(), c.right = xt(o), ce(l), T(c, "AssignmentExpression")) : l;
|
|
514
514
|
}
|
|
515
|
-
function
|
|
515
|
+
function bt(o, l, c) {
|
|
516
516
|
var h = A.L;
|
|
517
517
|
if (h !== null && (!c || A !== at) && h > l) {
|
|
518
518
|
var R = Q(o);
|
|
519
|
-
return R.left = o, R.operator = se, o = A, v(), R.right =
|
|
519
|
+
return R.left = o, R.operator = se, o = A, v(), R.right = bt(St(), h, c), h = T(R, o === $n || o === Ln ? "LogicalExpression" : "BinaryExpression"), bt(h, l, c);
|
|
520
520
|
}
|
|
521
521
|
return o;
|
|
522
522
|
}
|
|
523
|
-
function
|
|
523
|
+
function St() {
|
|
524
524
|
if (A.prefix) {
|
|
525
525
|
var o = K(), l = A.$b;
|
|
526
|
-
return o.operator = se, Le = o.prefix = !0, v(), o.K =
|
|
526
|
+
return o.operator = se, Le = o.prefix = !0, v(), o.K = St(), l ? ce(o.K) : ie && o.operator === "delete" && o.K.type === "Identifier" && n(o.start, "Deleting local variable in strict mode"), T(o, l ? "UpdateExpression" : "UnaryExpression");
|
|
527
527
|
}
|
|
528
528
|
for (l = $e(it()); A.cc && !N(); )
|
|
529
529
|
o = Q(l), o.operator = se, o.prefix = !1, o.K = l, ce(l), v(), l = T(o, "UpdateExpression");
|
|
530
530
|
return l;
|
|
531
531
|
}
|
|
532
532
|
function $e(o, l) {
|
|
533
|
-
if (
|
|
533
|
+
if (E(Mn)) {
|
|
534
534
|
var c = Q(o);
|
|
535
535
|
return c.object = o, c.Wa = fe(!0), c.bb = !1, $e(T(c, "MemberExpression"), l);
|
|
536
536
|
}
|
|
537
|
-
return
|
|
537
|
+
return E(Ut) ? (c = Q(o), c.object = o, c.Wa = q(), c.bb = !0, j(Bt), $e(T(c, "MemberExpression"), l)) : !l && E(he) ? (c = Q(o), c.callee = o, c.arguments = kt(ue, !1), $e(T(c, "CallExpression"), l)) : o;
|
|
538
538
|
}
|
|
539
539
|
function it() {
|
|
540
540
|
switch (A) {
|
|
@@ -552,49 +552,49 @@ var L, Jr = function(e) {
|
|
|
552
552
|
case Pn:
|
|
553
553
|
return o = K(), o.value = A.$a, o.raw = A.l, v(), T(o, "Literal");
|
|
554
554
|
case he:
|
|
555
|
-
o =
|
|
555
|
+
o = Et;
|
|
556
556
|
var l = z;
|
|
557
557
|
v();
|
|
558
558
|
var c = q();
|
|
559
|
-
return c.start = l, c.end = Ie, O.C && (c.X.start = o, c.X.end =
|
|
560
|
-
case
|
|
561
|
-
return o = K(), v(), o.elements =
|
|
559
|
+
return c.start = l, c.end = Ie, O.C && (c.X.start = o, c.X.end = It), O.Xa && (c.j = [l, Ie]), j(ue), c;
|
|
560
|
+
case Ut:
|
|
561
|
+
return o = K(), v(), o.elements = kt(Bt, !0, !0), T(o, "ArrayExpression");
|
|
562
562
|
case We:
|
|
563
|
-
for (o = K(), l = !0, c = !1, o.h = [], v(); !
|
|
563
|
+
for (o = K(), l = !0, c = !1, o.h = [], v(); !E(je); ) {
|
|
564
564
|
if (l)
|
|
565
565
|
l = !1;
|
|
566
|
-
else if (j(be), O.sb &&
|
|
566
|
+
else if (j(be), O.sb && E(je))
|
|
567
567
|
break;
|
|
568
568
|
var h = {
|
|
569
569
|
key: A === De || A === ot ? it() : fe(!0)
|
|
570
570
|
}, R = !1;
|
|
571
|
-
if (
|
|
571
|
+
if (E(He)) {
|
|
572
572
|
h.value = q(!0);
|
|
573
573
|
var X = h.kind = "init";
|
|
574
574
|
} else
|
|
575
|
-
h.key.type !== "Identifier" || h.key.name !== "get" && h.key.name !== "set" ?
|
|
575
|
+
h.key.type !== "Identifier" || h.key.name !== "get" && h.key.name !== "set" ? W() : (R = c = !0, X = h.kind = h.key.name, h.key = A === De || A === ot ? it() : fe(!0), A !== he && W(), h.value = wt(K(), !1));
|
|
576
576
|
if (h.key.type === "Identifier" && (ie || c))
|
|
577
577
|
for (var ee = 0; ee < o.h.length; ++ee) {
|
|
578
578
|
var Re = o.h[ee];
|
|
579
579
|
if (Re.key.name === h.key.name) {
|
|
580
|
-
var
|
|
581
|
-
|
|
580
|
+
var $t = X === Re.kind || R && Re.kind === "init" || X === "init" && (Re.kind === "get" || Re.kind === "set");
|
|
581
|
+
$t && !ie && X === "init" && Re.kind === "init" && ($t = !1), $t && n(h.key.start, "Redefinition of property");
|
|
582
582
|
}
|
|
583
583
|
}
|
|
584
584
|
o.h.push(h);
|
|
585
585
|
}
|
|
586
586
|
return T(o, "ObjectExpression");
|
|
587
|
-
case
|
|
588
|
-
return o = K(), v(),
|
|
587
|
+
case Nt:
|
|
588
|
+
return o = K(), v(), wt(o, !1);
|
|
589
589
|
case An:
|
|
590
|
-
return o = K(), v(), o.callee = $e(it(), !0), o.arguments =
|
|
590
|
+
return o = K(), v(), o.callee = $e(it(), !0), o.arguments = E(he) ? kt(ue, !1) : Er, T(o, "NewExpression");
|
|
591
591
|
}
|
|
592
|
-
|
|
592
|
+
W();
|
|
593
593
|
}
|
|
594
|
-
function
|
|
595
|
-
A === Te ? o.id = fe() : l ?
|
|
594
|
+
function wt(o, l) {
|
|
595
|
+
A === Te ? o.id = fe() : l ? W() : o.id = null, o.oa = [];
|
|
596
596
|
var c = !0;
|
|
597
|
-
for (j(he); !
|
|
597
|
+
for (j(he); !E(ue); )
|
|
598
598
|
c ? c = !1 : j(be), o.oa.push(fe());
|
|
599
599
|
c = Ve;
|
|
600
600
|
var h = G;
|
|
@@ -606,11 +606,11 @@ var L, Jr = function(e) {
|
|
|
606
606
|
}
|
|
607
607
|
return T(o, l ? "FunctionDeclaration" : "FunctionExpression");
|
|
608
608
|
}
|
|
609
|
-
function
|
|
610
|
-
for (var h = [], R = !0; !
|
|
609
|
+
function kt(o, l, c) {
|
|
610
|
+
for (var h = [], R = !0; !E(o); ) {
|
|
611
611
|
if (R)
|
|
612
612
|
R = !1;
|
|
613
|
-
else if (j(be), l && O.sb &&
|
|
613
|
+
else if (j(be), l && O.sb && E(o))
|
|
614
614
|
break;
|
|
615
615
|
h.push(c && A === be ? null : q(!0));
|
|
616
616
|
}
|
|
@@ -618,16 +618,16 @@ var L, Jr = function(e) {
|
|
|
618
618
|
}
|
|
619
619
|
function fe(o) {
|
|
620
620
|
var l = K();
|
|
621
|
-
return o && O.yb === "everywhere" && (o = !1), A === Te ? (!o && (O.yb && Ur(se) || ie && Vn(se)) && b.slice(z, Ie).indexOf("\\") === -1 && n(z, "The keyword '" + se + "' is reserved"), l.name = se) : o && A.l ? l.name = A.l :
|
|
621
|
+
return o && O.yb === "everywhere" && (o = !1), A === Te ? (!o && (O.yb && Ur(se) || ie && Vn(se)) && b.slice(z, Ie).indexOf("\\") === -1 && n(z, "The keyword '" + se + "' is reserved"), l.name = se) : o && A.l ? l.name = A.l : W(), Le = !1, v(), T(l, "Identifier");
|
|
622
622
|
}
|
|
623
623
|
e.version = "0.5.0";
|
|
624
|
-
var O, b = "", Ee,
|
|
624
|
+
var O, b = "", Ee, Ct;
|
|
625
625
|
e.parse = function(o, l) {
|
|
626
626
|
b = String(o), Ee = b.length, O = l || {};
|
|
627
627
|
for (var c in pn)
|
|
628
628
|
Object.prototype.hasOwnProperty.call(O, c) || (O[c] = pn[c]);
|
|
629
|
-
for (
|
|
630
|
-
c = re(), o.body.push(c), l && _(c) &&
|
|
629
|
+
for (Ct = O.sourceFile, we = 1, u = de = 0, Le = !0, d(), c = O.dc, Tt = xe = u, O.C && (jt = new a()), Ve = ie = !1, G = [], y(), o = c || K(), l = !0, c || (o.body = []); A !== At; )
|
|
630
|
+
c = re(), o.body.push(c), l && _(c) && D(!0), l = !1;
|
|
631
631
|
return T(o, "Program");
|
|
632
632
|
};
|
|
633
633
|
var pn = {
|
|
@@ -641,7 +641,7 @@ var L, Jr = function(e) {
|
|
|
641
641
|
dc: null,
|
|
642
642
|
sourceFile: null,
|
|
643
643
|
vb: null
|
|
644
|
-
}, u = 0, z = 0, Ie = 0,
|
|
644
|
+
}, u = 0, z = 0, Ie = 0, Et, It, A, se, Le, we, de, Tt = 0, xe = 0, jt, Ve, G, ie, Er = [], De = {
|
|
645
645
|
type: "num"
|
|
646
646
|
}, mn = {
|
|
647
647
|
type: "regexp"
|
|
@@ -649,11 +649,11 @@ var L, Jr = function(e) {
|
|
|
649
649
|
type: "string"
|
|
650
650
|
}, Te = {
|
|
651
651
|
type: "name"
|
|
652
|
-
}, jt = {
|
|
653
|
-
type: "eof"
|
|
654
652
|
}, At = {
|
|
655
|
-
|
|
653
|
+
type: "eof"
|
|
656
654
|
}, Rt = {
|
|
655
|
+
l: "break"
|
|
656
|
+
}, Ot = {
|
|
657
657
|
l: "case",
|
|
658
658
|
m: !0
|
|
659
659
|
}, gn = {
|
|
@@ -675,23 +675,23 @@ var L, Jr = function(e) {
|
|
|
675
675
|
}, kn = {
|
|
676
676
|
l: "for",
|
|
677
677
|
W: !0
|
|
678
|
-
},
|
|
678
|
+
}, Nt = {
|
|
679
679
|
l: "function"
|
|
680
680
|
}, Cn = {
|
|
681
681
|
l: "if"
|
|
682
682
|
}, En = {
|
|
683
683
|
l: "return",
|
|
684
684
|
m: !0
|
|
685
|
-
},
|
|
685
|
+
}, Pt = {
|
|
686
686
|
l: "switch"
|
|
687
687
|
}, In = {
|
|
688
688
|
l: "throw",
|
|
689
689
|
m: !0
|
|
690
690
|
}, Tn = {
|
|
691
691
|
l: "try"
|
|
692
|
-
}, Pt = {
|
|
693
|
-
l: "var"
|
|
694
692
|
}, Mt = {
|
|
693
|
+
l: "var"
|
|
694
|
+
}, Ft = {
|
|
695
695
|
l: "while",
|
|
696
696
|
W: !0
|
|
697
697
|
}, jn = {
|
|
@@ -715,8 +715,8 @@ var L, Jr = function(e) {
|
|
|
715
715
|
L: 7,
|
|
716
716
|
m: !0
|
|
717
717
|
}, Ir = {
|
|
718
|
-
break:
|
|
719
|
-
case:
|
|
718
|
+
break: Rt,
|
|
719
|
+
case: Ot,
|
|
720
720
|
catch: gn,
|
|
721
721
|
continue: yn,
|
|
722
722
|
debugger: vn,
|
|
@@ -725,14 +725,14 @@ var L, Jr = function(e) {
|
|
|
725
725
|
else: Sn,
|
|
726
726
|
finally: wn,
|
|
727
727
|
for: kn,
|
|
728
|
-
function:
|
|
728
|
+
function: Nt,
|
|
729
729
|
if: Cn,
|
|
730
730
|
return: En,
|
|
731
|
-
switch:
|
|
731
|
+
switch: Pt,
|
|
732
732
|
throw: In,
|
|
733
733
|
try: Tn,
|
|
734
|
-
var:
|
|
735
|
-
while:
|
|
734
|
+
var: Mt,
|
|
735
|
+
while: Ft,
|
|
736
736
|
with: jn,
|
|
737
737
|
null: On,
|
|
738
738
|
true: Nn,
|
|
@@ -760,10 +760,10 @@ var L, Jr = function(e) {
|
|
|
760
760
|
prefix: !0,
|
|
761
761
|
m: !0
|
|
762
762
|
}
|
|
763
|
-
},
|
|
763
|
+
}, Ut = {
|
|
764
764
|
type: "[",
|
|
765
765
|
m: !0
|
|
766
|
-
},
|
|
766
|
+
}, Bt = {
|
|
767
767
|
type: "]"
|
|
768
768
|
}, We = {
|
|
769
769
|
type: "{",
|
|
@@ -836,13 +836,13 @@ var L, Jr = function(e) {
|
|
|
836
836
|
}, Fr = {
|
|
837
837
|
L: 10,
|
|
838
838
|
m: !0
|
|
839
|
-
}, Ur = i("class enum extends super const export import"), Vn = i("implements interface let package private protected public static yield"), st = i("eval arguments"), Br = i("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"), _r = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Dn = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"), $r = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"), lt = /[\n\r\u2028\u2029]/, ct = /\r\n|[\n\r\u2028\u2029]/g, Ae,
|
|
839
|
+
}, Ur = i("class enum extends super const export import"), Vn = i("implements interface let package private protected public static yield"), st = i("eval arguments"), Br = i("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"), _r = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Dn = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"), $r = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"), lt = /[\n\r\u2028\u2029]/, ct = /\r\n|[\n\r\u2028\u2029]/g, Ae, _t = {
|
|
840
840
|
kind: "loop"
|
|
841
841
|
}, Lr = {
|
|
842
842
|
kind: "switch"
|
|
843
843
|
};
|
|
844
|
-
},
|
|
845
|
-
Jr(
|
|
844
|
+
}, Ht = Ht = typeof globalThis > "u" ? void 0 : globalThis;
|
|
845
|
+
Jr(Ht.j || (Ht.j = {}));
|
|
846
846
|
function g(e, t) {
|
|
847
847
|
typeof e == "string" && (e = Me(e, "code"));
|
|
848
848
|
var r = e.constructor;
|
|
@@ -858,13 +858,13 @@ function g(e, t) {
|
|
|
858
858
|
var a, s;
|
|
859
859
|
for (s in this)
|
|
860
860
|
typeof this[s] == "function" && (a = s.match(e)) && (this.rb[a[1]] = this[s].bind(this));
|
|
861
|
-
this.N =
|
|
862
|
-
`), "polyfills"), this.ba = void 0,
|
|
861
|
+
this.N = Gt(this, this.ra, null), this.Na = this.N.object, this.ra = Me(this.ba.join(`
|
|
862
|
+
`), "polyfills"), this.ba = void 0, pt(this.ra), a = new w(this.ra, this.N), a.done = !1, this.o = [a], this.Eb(), this.value = void 0, this.ra = n, a = new w(this.ra, this.N), a.done = !1, this.o.length = 0, this.o[0] = a;
|
|
863
863
|
}
|
|
864
864
|
var Jn = {
|
|
865
865
|
C: !0,
|
|
866
866
|
kc: 5
|
|
867
|
-
},
|
|
867
|
+
}, qt = {
|
|
868
868
|
configurable: !0,
|
|
869
869
|
enumerable: !0,
|
|
870
870
|
writable: !1
|
|
@@ -893,7 +893,7 @@ var Jn = {
|
|
|
893
893
|
}, Oe = {
|
|
894
894
|
REGEXP_TIMEOUT: !0
|
|
895
895
|
}, qn = [], ge = null, Ye = null, Se = typeof globalThis > "u" ? void 0 : globalThis, Yr = ["onmessage = function(e) {", "var result;", "var data = e.data;", "switch (data[0]) {", "case 'split':", "result = data[1].split(data[2], data[3]);", "break;", "case 'match':", "result = data[1].match(data[2]);", "break;", "case 'search':", "result = data[1].search(data[2]);", "break;", "case 'replace':", "result = data[1].replace(data[2], data[3]);", "break;", "case 'exec':", "var regexp = data[1];", "regexp.lastIndex = data[2];", "result = [regexp.exec(data[3]), data[1].lastIndex];", "break;", "default:", "throw Error('Unknown RegExp operation: ' + data[0]);", "}", "postMessage(result);", "close();", "};"];
|
|
896
|
-
function
|
|
896
|
+
function Zt(e) {
|
|
897
897
|
var t = e >>> 0;
|
|
898
898
|
return t === Number(e) ? t : NaN;
|
|
899
899
|
}
|
|
@@ -901,12 +901,12 @@ function qe(e) {
|
|
|
901
901
|
var t = e >>> 0;
|
|
902
902
|
return String(t) === String(e) && t !== 4294967295 ? t : NaN;
|
|
903
903
|
}
|
|
904
|
-
function
|
|
904
|
+
function pt(e, t, r) {
|
|
905
905
|
t ? e.start = t : delete e.start, r ? e.end = r : delete e.end;
|
|
906
906
|
for (var n in e)
|
|
907
907
|
if (n !== "loc" && e.hasOwnProperty(n)) {
|
|
908
908
|
var i = e[n];
|
|
909
|
-
i && typeof i == "object" &&
|
|
909
|
+
i && typeof i == "object" && pt(i, t, r);
|
|
910
910
|
}
|
|
911
911
|
}
|
|
912
912
|
g.prototype.REGEXP_MODE = 2;
|
|
@@ -975,7 +975,7 @@ L.Eb = function() {
|
|
|
975
975
|
return this.za;
|
|
976
976
|
};
|
|
977
977
|
function qr(e, t) {
|
|
978
|
-
e.g(t, "NaN", NaN, Ke), e.g(t, "Infinity", 1 / 0, Ke), e.g(t, "undefined", void 0, Ke), e.g(t, "window", t,
|
|
978
|
+
e.g(t, "NaN", NaN, Ke), e.g(t, "Infinity", 1 / 0, Ke), e.g(t, "undefined", void 0, Ke), e.g(t, "window", t, qt), e.g(t, "this", t, Ke), e.g(t, "self", t), e.M = new F(null), e.Z = new F(e.M), Zr(e, t), Qr(e, t), t.xa = e.M, e.g(t, "constructor", e.v, S), ei(e, t), ti(e, t), ni(e, t), ri(e, t), ii(e, t), oi(e, t), ai(e, t), si(e, t), li(e, t);
|
|
979
979
|
var r = e.i(function() {
|
|
980
980
|
throw EvalError("Can't happen");
|
|
981
981
|
}, !1);
|
|
@@ -986,7 +986,7 @@ function qr(e, t) {
|
|
|
986
986
|
try {
|
|
987
987
|
return a(s);
|
|
988
988
|
} catch (f) {
|
|
989
|
-
|
|
989
|
+
C(e, e.Gb, f.message);
|
|
990
990
|
}
|
|
991
991
|
};
|
|
992
992
|
}(n[i][0]), e.g(t, n[i][1], e.i(r, !1), S);
|
|
@@ -1008,21 +1008,21 @@ function Zr(e, t) {
|
|
|
1008
1008
|
s = s.split(/\s*,\s*/);
|
|
1009
1009
|
for (var f = 0; f < s.length; f++) {
|
|
1010
1010
|
var d = s[f];
|
|
1011
|
-
r.test(d) ||
|
|
1011
|
+
r.test(d) || C(e, e.T, "Invalid function argument: " + d);
|
|
1012
1012
|
}
|
|
1013
1013
|
s = s.join(", ");
|
|
1014
1014
|
}
|
|
1015
1015
|
try {
|
|
1016
1016
|
var p = Me("(function(" + s + ") {" + a + "})", "function" + e.Wb++);
|
|
1017
1017
|
} catch (y) {
|
|
1018
|
-
|
|
1018
|
+
C(e, e.T, "Invalid code: " + y.message);
|
|
1019
1019
|
}
|
|
1020
|
-
return p.body.length !== 1 &&
|
|
1020
|
+
return p.body.length !== 1 && C(e, e.T, "Invalid code in function body"), tn(e, p.body[0].la, e.N, "anonymous");
|
|
1021
1021
|
};
|
|
1022
1022
|
e.O = e.i(n, !0), e.g(t, "Function", e.O, S), e.g(e.O, "prototype", e.Z, S), e.g(e.Z, "constructor", e.O, S), e.Z.Ta = function() {
|
|
1023
1023
|
}, e.Z.Ta.id = e.Ya++, e.Z.Ab = !0, e.g(e.Z, "length", 0, ne), e.Z.H = "Function", n = function(i, a) {
|
|
1024
1024
|
var s = e.o[e.o.length - 1];
|
|
1025
|
-
s.U = this, s.B = i, s.F = [], a != null && (a instanceof F ? s.F = mr(e, a) :
|
|
1025
|
+
s.U = this, s.B = i, s.F = [], a != null && (a instanceof F ? s.F = mr(e, a) : C(e, e.j, "CreateListFromArrayLike called on non-object")), s.eb = !1;
|
|
1026
1026
|
}, J(e, e.O, "apply", n), n = function(i) {
|
|
1027
1027
|
var a = e.o[e.o.length - 1];
|
|
1028
1028
|
a.U = this, a.B = i, a.F = [];
|
|
@@ -1037,7 +1037,7 @@ function Zr(e, t) {
|
|
|
1037
1037
|
}
|
|
1038
1038
|
function Qr(e, t) {
|
|
1039
1039
|
function r(i) {
|
|
1040
|
-
i != null ||
|
|
1040
|
+
i != null || C(e, e.j, "Cannot convert '" + i + "' to object");
|
|
1041
1041
|
}
|
|
1042
1042
|
var n = function(i) {
|
|
1043
1043
|
if (i == null)
|
|
@@ -1053,11 +1053,11 @@ function Qr(e, t) {
|
|
|
1053
1053
|
}, e.g(e.v, "getOwnPropertyNames", e.i(n, !1), S), n = function(i) {
|
|
1054
1054
|
return r(i), i instanceof F && (i = i.h), me(e, Object.keys(i));
|
|
1055
1055
|
}, e.g(e.v, "keys", e.i(n, !1), S), n = function(i) {
|
|
1056
|
-
return i === null ? e.s(null) : (i instanceof F ||
|
|
1056
|
+
return i === null ? e.s(null) : (i instanceof F || C(e, e.j, "Object prototype may only be an Object or null, not " + i), e.s(i));
|
|
1057
1057
|
}, e.g(e.v, "create", e.i(n, !1), S), e.ba.push("(function() {", "var create_ = Object.create;", "Object.create = function create(proto, props) {", "var obj = create_(proto);", "props && Object.defineProperties(obj, props);", "return obj;", "};", "})();", ""), n = function(i, a, s) {
|
|
1058
|
-
return a = String(a), i instanceof F ||
|
|
1058
|
+
return a = String(a), i instanceof F || C(e, e.j, "Object.defineProperty called on non-object: " + i), s instanceof F || C(e, e.j, "Property description must be an object"), !i.preventExtensions || a in i.h || C(e, e.j, "Can't define property '" + a + "', object is not extensible"), e.g(i, a, Ze, s.h), i;
|
|
1059
1059
|
}, e.g(e.v, "defineProperty", e.i(n, !1), S), e.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;", "}", "});", ""), n = function(i, a) {
|
|
1060
|
-
if (i instanceof F ||
|
|
1060
|
+
if (i instanceof F || C(e, e.j, "Object.getOwnPropertyDescriptor called on non-object: " + i), a = String(a), a in i.h) {
|
|
1061
1061
|
var s = Object.getOwnPropertyDescriptor(i.h, a), f = i.V[a];
|
|
1062
1062
|
return i = i.Y[a], a = e.s(e.M), f || i ? (e.g(a, "get", f), e.g(a, "set", i)) : (e.g(a, "value", s.value), e.g(a, "writable", s.writable)), e.g(a, "configurable", s.configurable), e.g(a, "enumerable", s.enumerable), a;
|
|
1063
1063
|
}
|
|
@@ -1084,7 +1084,7 @@ function ei(e, t) {
|
|
|
1084
1084
|
var r = function(n) {
|
|
1085
1085
|
var i = ve(e) ? this : Fe(e), a = arguments[0];
|
|
1086
1086
|
if (arguments.length === 1 && typeof a == "number")
|
|
1087
|
-
isNaN(
|
|
1087
|
+
isNaN(Zt(a)) && C(e, e.ob, "Invalid array length: " + a), i.h.length = a;
|
|
1088
1088
|
else {
|
|
1089
1089
|
for (a = 0; a < arguments.length; a++)
|
|
1090
1090
|
i.h[a] = arguments[a];
|
|
@@ -1111,7 +1111,7 @@ function ti(e, t) {
|
|
|
1111
1111
|
try {
|
|
1112
1112
|
return String(this).localeCompare(n, i, a);
|
|
1113
1113
|
} catch (s) {
|
|
1114
|
-
|
|
1114
|
+
C(e, e.D, "localeCompare: " + s.message);
|
|
1115
1115
|
}
|
|
1116
1116
|
}, J(e, e.J, "localeCompare", r), r = function(n, i, a) {
|
|
1117
1117
|
var s = String(this);
|
|
@@ -1198,32 +1198,32 @@ function ri(e, t) {
|
|
|
1198
1198
|
try {
|
|
1199
1199
|
return Number(this).toExponential(n);
|
|
1200
1200
|
} catch (i) {
|
|
1201
|
-
|
|
1201
|
+
C(e, e.D, i.message);
|
|
1202
1202
|
}
|
|
1203
1203
|
}, J(e, e.aa, "toExponential", r), r = function(n) {
|
|
1204
1204
|
try {
|
|
1205
1205
|
return Number(this).toFixed(n);
|
|
1206
1206
|
} catch (i) {
|
|
1207
|
-
|
|
1207
|
+
C(e, e.D, i.message);
|
|
1208
1208
|
}
|
|
1209
1209
|
}, J(e, e.aa, "toFixed", r), r = function(n) {
|
|
1210
1210
|
try {
|
|
1211
1211
|
return Number(this).toPrecision(n);
|
|
1212
1212
|
} catch (i) {
|
|
1213
|
-
|
|
1213
|
+
C(e, e.D, i.message);
|
|
1214
1214
|
}
|
|
1215
1215
|
}, J(e, e.aa, "toPrecision", r), r = function(n) {
|
|
1216
1216
|
try {
|
|
1217
1217
|
return Number(this).toString(n);
|
|
1218
1218
|
} catch (i) {
|
|
1219
|
-
|
|
1219
|
+
C(e, e.D, i.message);
|
|
1220
1220
|
}
|
|
1221
1221
|
}, J(e, e.aa, "toString", r), r = function(n, i) {
|
|
1222
1222
|
n = n ? e.R(n) : void 0, i = i ? e.R(i) : void 0;
|
|
1223
1223
|
try {
|
|
1224
1224
|
return Number(this).toLocaleString(n, i);
|
|
1225
1225
|
} catch (a) {
|
|
1226
|
-
|
|
1226
|
+
C(e, e.D, "toLocaleString: " + a.message);
|
|
1227
1227
|
}
|
|
1228
1228
|
}, J(e, e.aa, "toLocaleString", r);
|
|
1229
1229
|
}
|
|
@@ -1239,7 +1239,7 @@ function ii(e, t) {
|
|
|
1239
1239
|
r = function(i) {
|
|
1240
1240
|
return function(a) {
|
|
1241
1241
|
var s = this.data;
|
|
1242
|
-
s instanceof Date ||
|
|
1242
|
+
s instanceof Date || C(e, e.j, i + " not called on a Date");
|
|
1243
1243
|
for (var f = [], d = 0; d < arguments.length; d++)
|
|
1244
1244
|
f[d] = e.R(arguments[d]);
|
|
1245
1245
|
return s[i].apply(s, f);
|
|
@@ -1255,13 +1255,13 @@ function oi(e, t) {
|
|
|
1255
1255
|
return n;
|
|
1256
1256
|
a = e.s(e.Ma);
|
|
1257
1257
|
}
|
|
1258
|
-
n = n === void 0 ? "" : String(n), i = i ? String(i) : "", /^[gmi]*$/.test(i) ||
|
|
1258
|
+
n = n === void 0 ? "" : String(n), i = i ? String(i) : "", /^[gmi]*$/.test(i) || C(e, e.T, "Invalid regexp flag: " + i);
|
|
1259
1259
|
try {
|
|
1260
1260
|
var s = new Se.RegExp(n, i);
|
|
1261
1261
|
} catch (f) {
|
|
1262
|
-
|
|
1262
|
+
C(e, e.T, f.message);
|
|
1263
1263
|
}
|
|
1264
|
-
return
|
|
1264
|
+
return Qt(e, a, s), a;
|
|
1265
1265
|
};
|
|
1266
1266
|
e.I = e.i(r, !0), e.Ma = e.I.h.prototype, e.g(t, "RegExp", e.I, S), e.g(e.I.h.prototype, "global", void 0, ne), e.g(e.I.h.prototype, "ignoreCase", void 0, ne), e.g(e.I.h.prototype, "multiline", void 0, ne), e.g(e.I.h.prototype, "source", "(?:)", ne), e.ba.push("Object.defineProperty(RegExp.prototype, 'test',", "{configurable: true, writable: true, value:", "function test(str) {", "return !!this.exec(str);", "}", "});"), r = function(n, i) {
|
|
1267
1267
|
function a(y) {
|
|
@@ -1292,13 +1292,13 @@ function ai(e, t) {
|
|
|
1292
1292
|
function r(n) {
|
|
1293
1293
|
var i = e.i(function(a) {
|
|
1294
1294
|
var s = ve(e) ? this : e.Aa(i);
|
|
1295
|
-
return
|
|
1295
|
+
return Kt(e, s, a), s;
|
|
1296
1296
|
}, !0);
|
|
1297
1297
|
return e.g(i, "prototype", e.Aa(e.D), S), e.g(i.h.prototype, "name", n, S), e.g(t, n, i, S), i;
|
|
1298
1298
|
}
|
|
1299
1299
|
e.D = e.i(function(n) {
|
|
1300
1300
|
var i = ve(e) ? this : e.Aa(e.D);
|
|
1301
|
-
return
|
|
1301
|
+
return Kt(e, i, n), i;
|
|
1302
1302
|
}, !0), e.g(t, "Error", e.D, S), e.g(e.D.h.prototype, "message", "", S), e.g(e.D.h.prototype, "name", "Error", S), r("EvalError"), e.ob = r("RangeError"), e.pb = r("ReferenceError"), e.T = r("SyntaxError"), e.j = r("TypeError"), e.Gb = r("URIError");
|
|
1303
1303
|
}
|
|
1304
1304
|
function si(e, t) {
|
|
@@ -1316,17 +1316,17 @@ function li(e, t) {
|
|
|
1316
1316
|
try {
|
|
1317
1317
|
var i = JSON.parse(String(n));
|
|
1318
1318
|
} catch (a) {
|
|
1319
|
-
|
|
1319
|
+
C(e, e.T, a.message);
|
|
1320
1320
|
}
|
|
1321
1321
|
return e.Ia(i);
|
|
1322
1322
|
}, e.g(r, "parse", e.i(t, !1)), t = function(n, i, a) {
|
|
1323
|
-
i && i.H === "Function" ?
|
|
1323
|
+
i && i.H === "Function" ? C(e, e.j, "Function replacer on JSON.stringify not supported") : i && i.H === "Array" ? (i = mr(e, i), i = i.filter(function(f) {
|
|
1324
1324
|
return typeof f == "string" || typeof f == "number";
|
|
1325
1325
|
})) : i = null, typeof a != "string" && typeof a != "number" && (a = void 0), n = e.R(n);
|
|
1326
1326
|
try {
|
|
1327
1327
|
var s = JSON.stringify(n, i, a);
|
|
1328
1328
|
} catch (f) {
|
|
1329
|
-
|
|
1329
|
+
C(e, e.j, f.message);
|
|
1330
1330
|
}
|
|
1331
1331
|
return s;
|
|
1332
1332
|
}, e.g(r, "stringify", e.i(t, !1));
|
|
@@ -1343,10 +1343,10 @@ function Y(e, t, r) {
|
|
|
1343
1343
|
}
|
|
1344
1344
|
return !1;
|
|
1345
1345
|
}
|
|
1346
|
-
function
|
|
1346
|
+
function Qt(e, t, r) {
|
|
1347
1347
|
t.data = new RegExp(r.source, r.flags), e.g(t, "lastIndex", r.lastIndex, S), e.g(t, "source", r.source, ne), e.g(t, "global", r.global, ne), e.g(t, "ignoreCase", r.ignoreCase, ne), e.g(t, "multiline", r.multiline, ne);
|
|
1348
1348
|
}
|
|
1349
|
-
function
|
|
1349
|
+
function Kt(e, t, r) {
|
|
1350
1350
|
r && e.g(t, "message", String(r), S), r = [];
|
|
1351
1351
|
for (var n = e.o.length - 1; 0 <= n; n--) {
|
|
1352
1352
|
var i = e.o[n], a = i.node;
|
|
@@ -1377,7 +1377,7 @@ function Ge(e, t, r, n, i) {
|
|
|
1377
1377
|
try {
|
|
1378
1378
|
return ge.runInNewContext(t, r, a);
|
|
1379
1379
|
} catch {
|
|
1380
|
-
i(null),
|
|
1380
|
+
i(null), C(e, e.D, "RegExp Timeout: " + n);
|
|
1381
1381
|
}
|
|
1382
1382
|
return Oe;
|
|
1383
1383
|
}
|
|
@@ -1398,13 +1398,13 @@ function ze(e, t, r) {
|
|
|
1398
1398
|
n = !!ge;
|
|
1399
1399
|
} else
|
|
1400
1400
|
n = !1;
|
|
1401
|
-
n || (r(null),
|
|
1401
|
+
n || (r(null), C(e, e.D, "Regular expressions not supported: " + t));
|
|
1402
1402
|
}
|
|
1403
1403
|
function Xe(e, t, r, n) {
|
|
1404
1404
|
return setTimeout(function() {
|
|
1405
1405
|
r.terminate(), n(null);
|
|
1406
1406
|
try {
|
|
1407
|
-
|
|
1407
|
+
C(e, e.D, "RegExp Timeout: " + t);
|
|
1408
1408
|
} catch {
|
|
1409
1409
|
}
|
|
1410
1410
|
}, e.REGEXP_THREAD_TIMEOUT);
|
|
@@ -1425,19 +1425,19 @@ function Fe(e) {
|
|
|
1425
1425
|
writable: !0
|
|
1426
1426
|
}), t.H = "Array", t;
|
|
1427
1427
|
}
|
|
1428
|
-
function
|
|
1428
|
+
function en(e, t, r) {
|
|
1429
1429
|
var n = e.s(e.Z);
|
|
1430
1430
|
return r ? (r = e.s(e.M), e.g(n, "prototype", r, S), e.g(r, "constructor", n, S)) : n.Ab = !0, e.g(n, "length", t, ne), n.H = "Function", n;
|
|
1431
1431
|
}
|
|
1432
|
-
function
|
|
1433
|
-
var i =
|
|
1432
|
+
function tn(e, t, r, n) {
|
|
1433
|
+
var i = en(e, t.oa.length, !0);
|
|
1434
1434
|
return i.Va = r, i.node = t, e.g(i, "name", t.id ? String(t.id.name) : n || "", ne), i;
|
|
1435
1435
|
}
|
|
1436
1436
|
L.i = function(e, t) {
|
|
1437
|
-
return t =
|
|
1437
|
+
return t = en(this, e.length, t), t.Ta = e, e.id = this.Ya++, this.g(t, "name", e.name, ne), t;
|
|
1438
1438
|
};
|
|
1439
1439
|
L.ub = function(e) {
|
|
1440
|
-
var t =
|
|
1440
|
+
var t = en(this, e.length, !0);
|
|
1441
1441
|
return t.Za = e, e.id = this.Ya++, this.g(t, "name", e.name, ne), t;
|
|
1442
1442
|
};
|
|
1443
1443
|
L.Ia = function(e) {
|
|
@@ -1447,7 +1447,7 @@ L.Ia = function(e) {
|
|
|
1447
1447
|
return e;
|
|
1448
1448
|
if (e instanceof RegExp) {
|
|
1449
1449
|
var t = this.s(this.Ma);
|
|
1450
|
-
return
|
|
1450
|
+
return Qt(this, t, e), t;
|
|
1451
1451
|
}
|
|
1452
1452
|
if (e instanceof Date)
|
|
1453
1453
|
return t = this.s(this.nb), t.data = new Date(e.valueOf()), t;
|
|
@@ -1490,7 +1490,7 @@ L.R = function(e, t) {
|
|
|
1490
1490
|
if (t.hb.push(e), Y(this, e, this.qa)) {
|
|
1491
1491
|
r = [], t.Sa.push(r);
|
|
1492
1492
|
for (var n = this.G(e, "length"), i = 0; i < n; i++)
|
|
1493
|
-
|
|
1493
|
+
mt(this, e, i) && (r[i] = this.R(this.G(e, i), t));
|
|
1494
1494
|
} else
|
|
1495
1495
|
for (n in r = {}, t.Sa.push(r), e.h)
|
|
1496
1496
|
i = this.R(e.h[n], t), Object.defineProperty(r, n, {
|
|
@@ -1510,7 +1510,7 @@ function mr(e, t) {
|
|
|
1510
1510
|
var r = [], n;
|
|
1511
1511
|
for (n in t.h)
|
|
1512
1512
|
r[n] = e.G(t, n);
|
|
1513
|
-
return r.length =
|
|
1513
|
+
return r.length = Zt(e.G(t, "length")) || 0, r;
|
|
1514
1514
|
}
|
|
1515
1515
|
function ye(e, t) {
|
|
1516
1516
|
switch (typeof t) {
|
|
@@ -1526,7 +1526,7 @@ function ye(e, t) {
|
|
|
1526
1526
|
L.G = function(e, t) {
|
|
1527
1527
|
if (this.P)
|
|
1528
1528
|
throw Error("Getter not supported in that context");
|
|
1529
|
-
if (t = String(t), e != null ||
|
|
1529
|
+
if (t = String(t), e != null || C(this, this.j, "Cannot read property '" + t + "' of " + e), typeof e == "object" && !(e instanceof F))
|
|
1530
1530
|
throw TypeError("Expecting native value or pseudo object");
|
|
1531
1531
|
if (t === "length") {
|
|
1532
1532
|
if (Y(this, e, this.J))
|
|
@@ -1541,7 +1541,7 @@ L.G = function(e, t) {
|
|
|
1541
1541
|
return (r = e.V[t]) ? (this.P = !0, r) : e.h[t];
|
|
1542
1542
|
while (e = ye(this, e));
|
|
1543
1543
|
};
|
|
1544
|
-
function
|
|
1544
|
+
function mt(e, t, r) {
|
|
1545
1545
|
if (!(t instanceof F))
|
|
1546
1546
|
throw TypeError("Primitive data type has no properties");
|
|
1547
1547
|
if (r = String(r), r === "length" && Y(e, t, e.J))
|
|
@@ -1560,15 +1560,15 @@ function pt(e, t, r) {
|
|
|
1560
1560
|
L.g = function(e, t, r, n) {
|
|
1561
1561
|
if (this.Ka)
|
|
1562
1562
|
throw Error("Setter not supported in that context");
|
|
1563
|
-
if (t = String(t), e != null ||
|
|
1563
|
+
if (t = String(t), e != null || C(this, this.j, "Cannot set property '" + t + "' of " + e), typeof e == "object" && !(e instanceof F))
|
|
1564
1564
|
throw TypeError("Expecting native value or pseudo object");
|
|
1565
|
-
n && ("get" in n || "set" in n) && ("value" in n || "writable" in n) &&
|
|
1566
|
-
var i = !this.o ||
|
|
1565
|
+
n && ("get" in n || "set" in n) && ("value" in n || "writable" in n) && C(this, this.j, "Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");
|
|
1566
|
+
var i = !this.o || nn(this).S;
|
|
1567
1567
|
if (e instanceof F) {
|
|
1568
1568
|
if (Y(this, e, this.J)) {
|
|
1569
1569
|
var a = qe(t);
|
|
1570
1570
|
if (t === "length" || !isNaN(a) && a < String(e).length) {
|
|
1571
|
-
i &&
|
|
1571
|
+
i && C(this, this.j, "Cannot assign to read only property '" + t + "' of String '" + e.data + "'");
|
|
1572
1572
|
return;
|
|
1573
1573
|
}
|
|
1574
1574
|
}
|
|
@@ -1579,7 +1579,7 @@ L.g = function(e, t, r, n) {
|
|
|
1579
1579
|
return;
|
|
1580
1580
|
r = n.value;
|
|
1581
1581
|
}
|
|
1582
|
-
if (r =
|
|
1582
|
+
if (r = Zt(r), isNaN(r) && C(this, this.ob, "Invalid array length"), r < a)
|
|
1583
1583
|
for (s in e.h) {
|
|
1584
1584
|
var s = qe(s);
|
|
1585
1585
|
!isNaN(s) && r <= s && delete e.h[s];
|
|
@@ -1592,7 +1592,7 @@ L.g = function(e, t, r, n) {
|
|
|
1592
1592
|
try {
|
|
1593
1593
|
Object.defineProperty(e.h, t, i);
|
|
1594
1594
|
} catch {
|
|
1595
|
-
|
|
1595
|
+
C(this, this.j, "Cannot redefine property: " + t);
|
|
1596
1596
|
}
|
|
1597
1597
|
"get" in n && !n.get && delete e.V[t], "set" in n && !n.set && delete e.Y[t];
|
|
1598
1598
|
} else {
|
|
@@ -1606,18 +1606,18 @@ L.g = function(e, t, r, n) {
|
|
|
1606
1606
|
if (n.Y && n.Y[t])
|
|
1607
1607
|
return this.Ka = !0, n.Y[t];
|
|
1608
1608
|
if (n.V && n.V[t])
|
|
1609
|
-
i &&
|
|
1609
|
+
i && C(this, this.j, "Cannot set property '" + t + "' of object '" + e + "' which only has a getter");
|
|
1610
1610
|
else
|
|
1611
1611
|
try {
|
|
1612
1612
|
e.h[t] = r;
|
|
1613
1613
|
} catch {
|
|
1614
|
-
i &&
|
|
1614
|
+
i && C(this, this.j, "Cannot assign to read only property '" + t + "' of object '" + e + "'");
|
|
1615
1615
|
}
|
|
1616
1616
|
}
|
|
1617
1617
|
else
|
|
1618
|
-
i &&
|
|
1618
|
+
i && C(this, this.j, "Can't add property '" + t + "', object is not extensible");
|
|
1619
1619
|
} else
|
|
1620
|
-
i &&
|
|
1620
|
+
i && C(this, this.j, "Can't create property '" + t + "' on '" + e + "'");
|
|
1621
1621
|
};
|
|
1622
1622
|
L.g.ac = function() {
|
|
1623
1623
|
throw Error("Placeholder getter");
|
|
@@ -1631,12 +1631,12 @@ function J(e, t, r, n) {
|
|
|
1631
1631
|
function Je(e, t, r, n) {
|
|
1632
1632
|
e.g(t.h.prototype, r, e.ub(n), S);
|
|
1633
1633
|
}
|
|
1634
|
-
function
|
|
1634
|
+
function nn(e) {
|
|
1635
1635
|
if (e = e.o[e.o.length - 1].scope, !e)
|
|
1636
1636
|
throw Error("No scope found");
|
|
1637
1637
|
return e;
|
|
1638
1638
|
}
|
|
1639
|
-
function
|
|
1639
|
+
function Gt(e, t, r) {
|
|
1640
1640
|
var n = !1;
|
|
1641
1641
|
if (r && r.S)
|
|
1642
1642
|
n = !0;
|
|
@@ -1646,36 +1646,36 @@ function Kt(e, t, r) {
|
|
|
1646
1646
|
}
|
|
1647
1647
|
return i = e.s(null), n = new vr(r, n, i), r || qr(e, n.object), Qe(e, t, n), n;
|
|
1648
1648
|
}
|
|
1649
|
-
function
|
|
1649
|
+
function rn(e, t, r) {
|
|
1650
1650
|
if (!t)
|
|
1651
1651
|
throw Error("parentScope required");
|
|
1652
1652
|
return e = r || e.s(null), new vr(t, t.S, e);
|
|
1653
1653
|
}
|
|
1654
|
-
function
|
|
1655
|
-
for (var r =
|
|
1654
|
+
function on(e, t) {
|
|
1655
|
+
for (var r = nn(e); r && r !== e.N; ) {
|
|
1656
1656
|
if (t in r.object.h)
|
|
1657
1657
|
return r.object.h[t];
|
|
1658
1658
|
r = r.Va;
|
|
1659
1659
|
}
|
|
1660
|
-
if (r === e.N &&
|
|
1660
|
+
if (r === e.N && mt(e, r.object, t))
|
|
1661
1661
|
return e.G(r.object, t);
|
|
1662
|
-
r = e.o[e.o.length - 1].node, r.type === "UnaryExpression" && r.operator === "typeof" ||
|
|
1662
|
+
r = e.o[e.o.length - 1].node, r.type === "UnaryExpression" && r.operator === "typeof" || C(e, e.pb, t + " is not defined");
|
|
1663
1663
|
}
|
|
1664
1664
|
function gr(e, t, r) {
|
|
1665
|
-
for (var n =
|
|
1665
|
+
for (var n = nn(e), i = n.S; n && n !== e.N; ) {
|
|
1666
1666
|
if (t in n.object.h) {
|
|
1667
1667
|
try {
|
|
1668
1668
|
n.object.h[t] = r;
|
|
1669
1669
|
} catch {
|
|
1670
|
-
i &&
|
|
1670
|
+
i && C(e, e.j, "Cannot assign to read only variable '" + t + "'");
|
|
1671
1671
|
}
|
|
1672
1672
|
return;
|
|
1673
1673
|
}
|
|
1674
1674
|
n = n.Va;
|
|
1675
1675
|
}
|
|
1676
|
-
if (n === e.N && (!i ||
|
|
1676
|
+
if (n === e.N && (!i || mt(e, n.object, t)))
|
|
1677
1677
|
return e.g(n.object, t, r);
|
|
1678
|
-
|
|
1678
|
+
C(e, e.pb, t + " is not defined");
|
|
1679
1679
|
}
|
|
1680
1680
|
function Qe(e, t, r) {
|
|
1681
1681
|
if (t.jb)
|
|
@@ -1723,20 +1723,20 @@ function Qe(e, t, r) {
|
|
|
1723
1723
|
t.jb = n;
|
|
1724
1724
|
}
|
|
1725
1725
|
for (s in n)
|
|
1726
|
-
n[s] === !0 ? e.g(r.object, s, void 0, Yn) : e.g(r.object, s,
|
|
1726
|
+
n[s] === !0 ? e.g(r.object, s, void 0, Yn) : e.g(r.object, s, tn(e, n[s], r), Yn);
|
|
1727
1727
|
return n;
|
|
1728
1728
|
}
|
|
1729
1729
|
function ve(e) {
|
|
1730
1730
|
return e.o[e.o.length - 1].isConstructor;
|
|
1731
1731
|
}
|
|
1732
|
-
function
|
|
1733
|
-
return t[0] === Ue ?
|
|
1732
|
+
function an(e, t) {
|
|
1733
|
+
return t[0] === Ue ? on(e, t[1]) : e.G(t[0], t[1]);
|
|
1734
1734
|
}
|
|
1735
|
-
function
|
|
1735
|
+
function sn(e, t, r) {
|
|
1736
1736
|
return t[0] === Ue ? gr(e, t[1], r) : e.g(t[0], t[1], r);
|
|
1737
1737
|
}
|
|
1738
|
-
function
|
|
1739
|
-
throw e.N ? (r !== void 0 && t instanceof F && (t = e.Aa(t),
|
|
1738
|
+
function C(e, t, r) {
|
|
1739
|
+
throw e.N ? (r !== void 0 && t instanceof F && (t = e.Aa(t), Kt(e, t, r)), nt(e, 4, t), pr) : r === void 0 ? t : r;
|
|
1740
1740
|
}
|
|
1741
1741
|
function nt(e, t, r, n) {
|
|
1742
1742
|
if (t === 0)
|
|
@@ -1825,9 +1825,9 @@ function Zn(e, t, r) {
|
|
|
1825
1825
|
try {
|
|
1826
1826
|
var d = Me(String(a), "taskCode" + e.ic++);
|
|
1827
1827
|
} catch (p) {
|
|
1828
|
-
|
|
1828
|
+
C(e, e.T, "Invalid code: " + p.message);
|
|
1829
1829
|
}
|
|
1830
|
-
s.type = "EvalProgram_", s.body = d.body, n = n.node.arguments[0],
|
|
1830
|
+
s.type = "EvalProgram_", s.body = d.body, n = n.node.arguments[0], pt(s, n ? n.start : void 0, n ? n.end : void 0), n = e.N, i.length = 0;
|
|
1831
1831
|
}
|
|
1832
1832
|
return t = new ci(f, i, n, s, t ? r : -1), yr(e, t, r), t.Db;
|
|
1833
1833
|
}
|
|
@@ -1850,14 +1850,14 @@ function rt(e, t, r) {
|
|
|
1850
1850
|
var n = e.ya();
|
|
1851
1851
|
return n.type = "CallExpression", e = new w(n, e.o[e.o.length - 1].scope), e.ia = 2, e.B = r, e.U = t, e.Qa = !0, e.F = [], e;
|
|
1852
1852
|
}
|
|
1853
|
-
function
|
|
1853
|
+
function ln(e, t, r, n) {
|
|
1854
1854
|
if (!e.Ka)
|
|
1855
1855
|
throw Error("Unexpected call to createSetter");
|
|
1856
1856
|
e.Ka = !1, r = Array.isArray(r) ? r[0] : e.Na;
|
|
1857
1857
|
var i = e.ya();
|
|
1858
1858
|
return i.type = "CallExpression", e = new w(i, e.o[e.o.length - 1].scope), e.ia = 2, e.B = r, e.U = t, e.Qa = !0, e.F = [n], e;
|
|
1859
1859
|
}
|
|
1860
|
-
function
|
|
1860
|
+
function Lt(e, t) {
|
|
1861
1861
|
return t == null ? e.Na : t instanceof F ? t : (e = e.s(ye(e, t)), e.data = t, e);
|
|
1862
1862
|
}
|
|
1863
1863
|
L.Xb = function() {
|
|
@@ -1951,7 +1951,7 @@ g.prototype.stepAssignmentExpression = function(e, t, r) {
|
|
|
1951
1951
|
if (!t.ja)
|
|
1952
1952
|
return t.ja = !0, t = new w(r.left, t.scope), t.sa = !0, t;
|
|
1953
1953
|
if (!t.Da)
|
|
1954
|
-
return t.Fa || (t.Fa = t.value), t.Ba && (t.ma = t.value), !t.Ba && r.operator !== "=" && (e =
|
|
1954
|
+
return t.Fa || (t.Fa = t.value), t.Ba && (t.ma = t.value), !t.Ba && r.operator !== "=" && (e = an(this, t.Fa), t.ma = e, this.P) ? (t.Ba = !0, rt(this, e, t.Fa)) : (t.Da = !0, r.operator === "=" && r.left.type === "Identifier" && (t.Pa = r.left.name), new w(r.right, t.scope));
|
|
1955
1955
|
if (t.ta)
|
|
1956
1956
|
e.pop(), e[e.length - 1].value = t.ib;
|
|
1957
1957
|
else {
|
|
@@ -1996,8 +1996,8 @@ g.prototype.stepAssignmentExpression = function(e, t, r) {
|
|
|
1996
1996
|
default:
|
|
1997
1997
|
throw SyntaxError("Unknown assignment expression: " + r.operator);
|
|
1998
1998
|
}
|
|
1999
|
-
if (r =
|
|
2000
|
-
return t.ta = !0, t.ib = n,
|
|
1999
|
+
if (r = sn(this, t.Fa, n))
|
|
2000
|
+
return t.ta = !0, t.ib = n, ln(this, r, t.Fa, n);
|
|
2001
2001
|
e.pop(), e[e.length - 1].value = n;
|
|
2002
2002
|
}
|
|
2003
2003
|
};
|
|
@@ -2067,10 +2067,10 @@ g.prototype.stepBinaryExpression = function(e, t, r) {
|
|
|
2067
2067
|
r = n >>> t;
|
|
2068
2068
|
break;
|
|
2069
2069
|
case "in":
|
|
2070
|
-
t instanceof F ||
|
|
2070
|
+
t instanceof F || C(this, this.j, "'in' expects an object, not '" + t + "'"), r = mt(this, t, n);
|
|
2071
2071
|
break;
|
|
2072
2072
|
case "instanceof":
|
|
2073
|
-
Y(this, t, this.O) ||
|
|
2073
|
+
Y(this, t, this.O) || C(this, this.j, "'instanceof' expects an object, not '" + t + "'"), r = n instanceof F ? Y(this, n, t) : !1;
|
|
2074
2074
|
break;
|
|
2075
2075
|
default:
|
|
2076
2076
|
throw SyntaxError("Unknown binary operator: " + r.operator);
|
|
@@ -2097,7 +2097,7 @@ g.prototype.stepCallExpression = function(e, t, r) {
|
|
|
2097
2097
|
t.ia = 2;
|
|
2098
2098
|
var i = t.value;
|
|
2099
2099
|
if (Array.isArray(i)) {
|
|
2100
|
-
if (t.U =
|
|
2100
|
+
if (t.U = an(this, i), i[0] === Ue ? t.Pb = i[1] === "eval" : t.B = i[0], i = t.U, this.P)
|
|
2101
2101
|
return t.ia = 1, rt(this, i, t.value);
|
|
2102
2102
|
} else
|
|
2103
2103
|
t.U = i;
|
|
@@ -2107,7 +2107,7 @@ g.prototype.stepCallExpression = function(e, t, r) {
|
|
|
2107
2107
|
if (t.A !== 0 && t.F.push(t.value), r.arguments[t.A])
|
|
2108
2108
|
return new w(r.arguments[t.A++], t.scope);
|
|
2109
2109
|
if (r.type === "NewExpression") {
|
|
2110
|
-
if (i instanceof F && !i.Ab ||
|
|
2110
|
+
if (i instanceof F && !i.Ab || C(this, this.j, te(this, r.callee) + " is not a constructor"), i === this.qa)
|
|
2111
2111
|
t.B = Fe(this);
|
|
2112
2112
|
else {
|
|
2113
2113
|
var a = i.h.prototype;
|
|
@@ -2120,12 +2120,12 @@ g.prototype.stepCallExpression = function(e, t, r) {
|
|
|
2120
2120
|
if (t.eb)
|
|
2121
2121
|
e.pop(), e[e.length - 1].value = t.isConstructor && typeof t.value != "object" ? t.B : t.value;
|
|
2122
2122
|
else {
|
|
2123
|
-
if (t.eb = !0, i instanceof F ||
|
|
2124
|
-
for (r =
|
|
2123
|
+
if (t.eb = !0, i instanceof F || C(this, this.j, te(this, r.callee) + " is not a function"), e = i.node) {
|
|
2124
|
+
for (r = Gt(this, e.body, i.Va), n = Fe(this), i = 0; i < t.F.length; i++)
|
|
2125
2125
|
this.g(n, i, t.F[i]);
|
|
2126
2126
|
for (this.g(r.object, "arguments", n), i = 0; i < e.oa.length; i++)
|
|
2127
2127
|
this.g(r.object, e.oa[i].name, t.F.length > i ? t.F[i] : void 0);
|
|
2128
|
-
return r.S || (t.B =
|
|
2128
|
+
return r.S || (t.B = Lt(this, t.B)), this.g(r.object, "this", t.B, qt), t.value = void 0, new w(e.body, r);
|
|
2129
2129
|
}
|
|
2130
2130
|
if (i.eval)
|
|
2131
2131
|
if (i = t.F[0], typeof i != "string")
|
|
@@ -2134,19 +2134,19 @@ g.prototype.stepCallExpression = function(e, t, r) {
|
|
|
2134
2134
|
try {
|
|
2135
2135
|
n = Me(String(i), "eval" + this.Hb++);
|
|
2136
2136
|
} catch (f) {
|
|
2137
|
-
|
|
2137
|
+
C(this, this.T, "Invalid code: " + f.message);
|
|
2138
2138
|
}
|
|
2139
|
-
return i = this.ya(), i.type = "EvalProgram_", i.body = n.body,
|
|
2139
|
+
return i = this.ya(), i.type = "EvalProgram_", i.body = n.body, pt(i, r.start, r.end), r = t.Pb ? t.scope : this.N, r.S ? r = Gt(this, n, r) : Qe(this, n, r), this.value = void 0, new w(i, r);
|
|
2140
2140
|
}
|
|
2141
2141
|
else if (i.Ta)
|
|
2142
|
-
t.scope.S || (t.B =
|
|
2142
|
+
t.scope.S || (t.B = Lt(this, t.B)), t.value = i.Ta.apply(t.B, t.F);
|
|
2143
2143
|
else if (i.Za) {
|
|
2144
2144
|
var s = this;
|
|
2145
2145
|
n = i.Za.length - 1, n = t.F.concat(Array(n)).slice(0, n), n.push(function(f) {
|
|
2146
2146
|
t.value = f, s.za = !1;
|
|
2147
|
-
}), this.za = !0, t.scope.S || (t.B =
|
|
2147
|
+
}), this.za = !0, t.scope.S || (t.B = Lt(this, t.B)), i.Za.apply(t.B, n);
|
|
2148
2148
|
} else
|
|
2149
|
-
|
|
2149
|
+
C(this, this.j, te(this, r.callee) + " is not callable");
|
|
2150
2150
|
}
|
|
2151
2151
|
};
|
|
2152
2152
|
g.prototype.stepConditionalExpression = function(e, t, r) {
|
|
@@ -2192,7 +2192,7 @@ g.prototype.stepExpressionStatement = function(e, t, r) {
|
|
|
2192
2192
|
};
|
|
2193
2193
|
g.prototype.stepForInStatement = function(e, t, r) {
|
|
2194
2194
|
if (!t.Ub && (t.Ub = !0, r.left.fa && r.left.fa[0].ua))
|
|
2195
|
-
return t.scope.S &&
|
|
2195
|
+
return t.scope.S && C(this, this.T, "for-in loop variable declaration may not have an initializer"), new w(r.left, t.scope);
|
|
2196
2196
|
if (!t.Ca)
|
|
2197
2197
|
return t.Ca = !0, t.pa || (t.pa = t.value), new w(r.right, t.scope);
|
|
2198
2198
|
if (t.W || (t.W = !0, t.u = t.value, t.kb = /* @__PURE__ */ Object.create(null)), t.Ra === void 0)
|
|
@@ -2225,8 +2225,8 @@ g.prototype.stepForInStatement = function(e, t, r) {
|
|
|
2225
2225
|
t.pa = [Ue, e.fa[0].id.name];
|
|
2226
2226
|
else
|
|
2227
2227
|
return t.pa = null, t = new w(e, t.scope), t.sa = !0, t;
|
|
2228
|
-
if (t.pa || (t.pa = t.value), !t.ta && (t.ta = !0, e = t.Ra, n =
|
|
2229
|
-
return
|
|
2228
|
+
if (t.pa || (t.pa = t.value), !t.ta && (t.ta = !0, e = t.Ra, n = sn(this, t.pa, e)))
|
|
2229
|
+
return ln(this, n, t.pa, e);
|
|
2230
2230
|
if (t.Ra = void 0, t.wb = !1, t.ta = !1, r.body)
|
|
2231
2231
|
return new w(r.body, t.scope);
|
|
2232
2232
|
};
|
|
@@ -2255,13 +2255,13 @@ g.prototype.stepFunctionDeclaration = function(e) {
|
|
|
2255
2255
|
e.pop();
|
|
2256
2256
|
};
|
|
2257
2257
|
g.prototype.stepFunctionExpression = function(e, t, r) {
|
|
2258
|
-
e.pop(), t = e[e.length - 1], e = t.scope, r.id && (e =
|
|
2258
|
+
e.pop(), t = e[e.length - 1], e = t.scope, r.id && (e = rn(this, e)), t.value = tn(this, r, e, t.Pa), r.id && this.g(e.object, r.id.name, t.value, qt);
|
|
2259
2259
|
};
|
|
2260
2260
|
g.prototype.stepIdentifier = function(e, t, r) {
|
|
2261
2261
|
if (e.pop(), t.sa)
|
|
2262
2262
|
e[e.length - 1].value = [Ue, r.name];
|
|
2263
2263
|
else {
|
|
2264
|
-
if (t =
|
|
2264
|
+
if (t = on(this, r.name), this.P)
|
|
2265
2265
|
return rt(this, t, this.Na);
|
|
2266
2266
|
e[e.length - 1].value = t;
|
|
2267
2267
|
}
|
|
@@ -2271,7 +2271,7 @@ g.prototype.stepLabeledStatement = function(e, t, r) {
|
|
|
2271
2271
|
return e.pop(), e = t.labels || [], e.push(r.label.name), t = new w(r.body, t.scope), t.labels = e, t;
|
|
2272
2272
|
};
|
|
2273
2273
|
g.prototype.stepLiteral = function(e, t, r) {
|
|
2274
|
-
e.pop(), t = r.value, t instanceof RegExp && (r = this.s(this.Ma),
|
|
2274
|
+
e.pop(), t = r.value, t instanceof RegExp && (r = this.s(this.Ma), Qt(this, r, t), t = r), e[e.length - 1].value = t;
|
|
2275
2275
|
};
|
|
2276
2276
|
g.prototype.stepLogicalExpression = function(e, t, r) {
|
|
2277
2277
|
if (r.operator !== "&&" && r.operator !== "||")
|
|
@@ -2374,11 +2374,11 @@ g.prototype.stepSwitchStatement = function(e, t, r) {
|
|
|
2374
2374
|
}
|
|
2375
2375
|
};
|
|
2376
2376
|
g.prototype.stepThisExpression = function(e) {
|
|
2377
|
-
e.pop(), e[e.length - 1].value =
|
|
2377
|
+
e.pop(), e[e.length - 1].value = on(this, "this");
|
|
2378
2378
|
};
|
|
2379
2379
|
g.prototype.stepThrowStatement = function(e, t, r) {
|
|
2380
2380
|
if (t.ka)
|
|
2381
|
-
|
|
2381
|
+
C(this, t.value);
|
|
2382
2382
|
else
|
|
2383
2383
|
return t.ka = !0, new w(r.K, t.scope);
|
|
2384
2384
|
};
|
|
@@ -2386,7 +2386,7 @@ g.prototype.stepTryStatement = function(e, t, r) {
|
|
|
2386
2386
|
if (!t.Rb)
|
|
2387
2387
|
return t.Rb = !0, new w(r.block, t.scope);
|
|
2388
2388
|
if (t.ea && t.ea.type === 4 && !t.Tb && r.Ea)
|
|
2389
|
-
return t.Tb = !0, e =
|
|
2389
|
+
return t.Tb = !0, e = rn(this, t.scope), this.g(e.object, r.Ea.Ua.name, t.ea.value), t.ea = void 0, new w(r.Ea.body, e);
|
|
2390
2390
|
if (!t.Sb && r.fb)
|
|
2391
2391
|
return t.Sb = !0, new w(r.fb, t.scope);
|
|
2392
2392
|
e.pop(), t.ea && nt(this, t.ea.type, t.ea.value, t.ea.label);
|
|
@@ -2416,7 +2416,7 @@ g.prototype.stepUnaryExpression = function(e, t, r) {
|
|
|
2416
2416
|
try {
|
|
2417
2417
|
delete i.h[n];
|
|
2418
2418
|
} catch {
|
|
2419
|
-
t.scope.S ?
|
|
2419
|
+
t.scope.S ? C(this, this.j, "Cannot delete property '" + n + "' of '" + i + "'") : r = !1;
|
|
2420
2420
|
}
|
|
2421
2421
|
}
|
|
2422
2422
|
n = r;
|
|
@@ -2436,7 +2436,7 @@ g.prototype.stepUpdateExpression = function(e, t, r) {
|
|
|
2436
2436
|
if (!t.ja)
|
|
2437
2437
|
return t.ja = !0, e = new w(r.K, t.scope), e.sa = !0, e;
|
|
2438
2438
|
if (t.Ga || (t.Ga = t.value), t.Ba && (t.ma = t.value), !t.Ba) {
|
|
2439
|
-
var n =
|
|
2439
|
+
var n = an(this, t.Ga);
|
|
2440
2440
|
if (t.ma = n, this.P)
|
|
2441
2441
|
return t.Ba = !0, rt(this, n, t.Ga);
|
|
2442
2442
|
}
|
|
@@ -2449,8 +2449,8 @@ g.prototype.stepUpdateExpression = function(e, t, r) {
|
|
|
2449
2449
|
i = n - 1;
|
|
2450
2450
|
else
|
|
2451
2451
|
throw SyntaxError("Unknown update expression: " + r.operator);
|
|
2452
|
-
if (r = r.prefix ? i : n, n =
|
|
2453
|
-
return t.ta = !0, t.ib = r,
|
|
2452
|
+
if (r = r.prefix ? i : n, n = sn(this, t.Ga, i))
|
|
2453
|
+
return t.ta = !0, t.ib = r, ln(this, n, t.Ga, i);
|
|
2454
2454
|
e.pop(), e[e.length - 1].value = r;
|
|
2455
2455
|
}
|
|
2456
2456
|
};
|
|
@@ -2465,7 +2465,7 @@ g.prototype.stepVariableDeclaration = function(e, t, r) {
|
|
|
2465
2465
|
e.pop();
|
|
2466
2466
|
};
|
|
2467
2467
|
g.prototype.stepWithStatement = function(e, t, r) {
|
|
2468
|
-
return t.Ca ? (e.pop(), e =
|
|
2468
|
+
return t.Ca ? (e.pop(), e = rn(this, t.scope, t.value), new w(r.body, e)) : (t.Ca = !0, new w(r.object, t.scope));
|
|
2469
2469
|
};
|
|
2470
2470
|
g.prototype.stepWhileStatement = g.prototype.stepDoWhileStatement;
|
|
2471
2471
|
Se.Interpreter = g;
|
|
@@ -2526,9 +2526,9 @@ const fi = ({
|
|
|
2526
2526
|
context: t,
|
|
2527
2527
|
event: r,
|
|
2528
2528
|
state: f
|
|
2529
|
-
}), p = d.map(([
|
|
2530
|
-
const
|
|
2531
|
-
return `var ${
|
|
2529
|
+
}), p = d.map(([k]) => {
|
|
2530
|
+
const I = er(k);
|
|
2531
|
+
return `var ${k} = ${I} === undefined ? undefined : JSON.parse(${I});`;
|
|
2532
2532
|
}).join(`
|
|
2533
2533
|
`), y = di(s);
|
|
2534
2534
|
if (y === "") {
|
|
@@ -2542,21 +2542,21 @@ function theFunction() {
|
|
|
2542
2542
|
${y}
|
|
2543
2543
|
}
|
|
2544
2544
|
theFunction();
|
|
2545
|
-
`, P = (
|
|
2546
|
-
const $ = hr(f,
|
|
2545
|
+
`, P = (k, I) => {
|
|
2546
|
+
const $ = hr(f, k, I);
|
|
2547
2547
|
a == null || a($);
|
|
2548
|
-
}, B = function(
|
|
2548
|
+
}, B = function(k, I) {
|
|
2549
2549
|
d.forEach(([$, V]) => {
|
|
2550
2550
|
const v = JSON.stringify(V);
|
|
2551
|
-
|
|
2552
|
-
}),
|
|
2551
|
+
k.setProperty(I, er($), v);
|
|
2552
|
+
}), k.setProperty(I, "setRootState", k.createNativeFunction(P));
|
|
2553
2553
|
};
|
|
2554
2554
|
try {
|
|
2555
|
-
const
|
|
2556
|
-
return
|
|
2557
|
-
} catch (
|
|
2555
|
+
const k = new g(x, B);
|
|
2556
|
+
return k.run(), k.pseudoToNative(k.value);
|
|
2557
|
+
} catch (k) {
|
|
2558
2558
|
Ne.warn("Custom code error in edge runtime. NOTE: your code must be ES5 JavaScript.", {
|
|
2559
|
-
e:
|
|
2559
|
+
e: k
|
|
2560
2560
|
});
|
|
2561
2561
|
return;
|
|
2562
2562
|
}
|
|
@@ -2606,7 +2606,7 @@ const pi = ({
|
|
|
2606
2606
|
}) => {
|
|
2607
2607
|
if (!e.bindings)
|
|
2608
2608
|
return e;
|
|
2609
|
-
const a =
|
|
2609
|
+
const a = Yt(e), s = {
|
|
2610
2610
|
...a,
|
|
2611
2611
|
properties: {
|
|
2612
2612
|
...a.properties
|
|
@@ -2627,7 +2627,7 @@ const pi = ({
|
|
|
2627
2627
|
}
|
|
2628
2628
|
return s;
|
|
2629
2629
|
};
|
|
2630
|
-
function
|
|
2630
|
+
function dt({
|
|
2631
2631
|
block: e,
|
|
2632
2632
|
context: t,
|
|
2633
2633
|
shouldEvaluateBindings: r,
|
|
@@ -2648,7 +2648,7 @@ const mi = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase
|
|
|
2648
2648
|
if (typeof n == "string")
|
|
2649
2649
|
return `${mi(r)}: ${n};`;
|
|
2650
2650
|
}).filter(ft), gi = (e) => xr(e).join(`
|
|
2651
|
-
`),
|
|
2651
|
+
`), Vt = ({
|
|
2652
2652
|
mediaQuery: e,
|
|
2653
2653
|
className: t,
|
|
2654
2654
|
styles: r
|
|
@@ -2660,51 +2660,56 @@ const mi = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase
|
|
|
2660
2660
|
${n}
|
|
2661
2661
|
}` : n;
|
|
2662
2662
|
};
|
|
2663
|
-
function
|
|
2663
|
+
function gt(e) {
|
|
2664
2664
|
return /* @__PURE__ */ m("style", { dangerouslySetInnerHTML: { __html: e.styles }, id: e.id });
|
|
2665
2665
|
}
|
|
2666
2666
|
function cn(e) {
|
|
2667
|
-
|
|
2668
|
-
|
|
2667
|
+
function t() {
|
|
2668
|
+
const n = dt({
|
|
2669
2669
|
block: e.block,
|
|
2670
2670
|
localState: e.context.localState,
|
|
2671
2671
|
rootState: e.context.rootState,
|
|
2672
2672
|
rootSetState: e.context.rootSetState,
|
|
2673
2673
|
context: e.context.context,
|
|
2674
2674
|
shouldEvaluateBindings: !0
|
|
2675
|
-
})
|
|
2676
|
-
|
|
2677
|
-
function n() {
|
|
2678
|
-
return ft(t.hide) ? !t.hide : ft(t.show) ? t.show : !0;
|
|
2675
|
+
});
|
|
2676
|
+
return ft(n.hide) ? !n.hide : ft(n.show) ? n.show : !0;
|
|
2679
2677
|
}
|
|
2680
|
-
function
|
|
2681
|
-
var
|
|
2682
|
-
const
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2678
|
+
function r() {
|
|
2679
|
+
var k;
|
|
2680
|
+
const n = dt({
|
|
2681
|
+
block: e.block,
|
|
2682
|
+
localState: e.context.localState,
|
|
2683
|
+
rootState: e.context.rootState,
|
|
2684
|
+
rootSetState: e.context.rootSetState,
|
|
2685
|
+
context: e.context.context,
|
|
2686
|
+
shouldEvaluateBindings: !0
|
|
2687
|
+
}), i = n.responsiveStyles, a = e.context.content, s = dr(
|
|
2688
|
+
((k = a == null ? void 0 : a.meta) == null ? void 0 : k.breakpoints) || {}
|
|
2689
|
+
), f = i == null ? void 0 : i.large, d = i == null ? void 0 : i.medium, p = i == null ? void 0 : i.small, y = n.id;
|
|
2690
|
+
if (!y)
|
|
2686
2691
|
return "";
|
|
2687
|
-
const
|
|
2688
|
-
className:
|
|
2689
|
-
styles:
|
|
2690
|
-
}) : "",
|
|
2691
|
-
className:
|
|
2692
|
-
styles:
|
|
2692
|
+
const x = f ? Vt({
|
|
2693
|
+
className: y,
|
|
2694
|
+
styles: f
|
|
2695
|
+
}) : "", P = d ? Vt({
|
|
2696
|
+
className: y,
|
|
2697
|
+
styles: d,
|
|
2693
2698
|
mediaQuery: Xn(
|
|
2694
2699
|
"medium",
|
|
2695
|
-
|
|
2700
|
+
s
|
|
2696
2701
|
)
|
|
2697
|
-
}) : "",
|
|
2698
|
-
className:
|
|
2699
|
-
styles:
|
|
2702
|
+
}) : "", B = p ? Vt({
|
|
2703
|
+
className: y,
|
|
2704
|
+
styles: p,
|
|
2700
2705
|
mediaQuery: Xn(
|
|
2701
2706
|
"small",
|
|
2702
|
-
|
|
2707
|
+
s
|
|
2703
2708
|
)
|
|
2704
2709
|
}) : "";
|
|
2705
|
-
return [P, B
|
|
2710
|
+
return [x, P, B].join(" ");
|
|
2706
2711
|
}
|
|
2707
|
-
return /* @__PURE__ */ m(U, { children:
|
|
2712
|
+
return /* @__PURE__ */ m(U, { children: r() && t() ? /* @__PURE__ */ m(U, { children: /* @__PURE__ */ m(gt, { styles: r() }) }) : null });
|
|
2708
2713
|
}
|
|
2709
2714
|
function yi(e) {
|
|
2710
2715
|
var t;
|
|
@@ -2717,13 +2722,13 @@ function yi(e) {
|
|
|
2717
2722
|
builderBlock: e
|
|
2718
2723
|
};
|
|
2719
2724
|
}
|
|
2720
|
-
const vi = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"],
|
|
2725
|
+
const vi = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"], Dt = (e) => typeof e == "string" && vi.includes(e.toLowerCase()), xi = ({
|
|
2721
2726
|
block: e,
|
|
2722
2727
|
context: t,
|
|
2723
2728
|
registeredComponents: r
|
|
2724
2729
|
}) => {
|
|
2725
2730
|
var a;
|
|
2726
|
-
const n = (a =
|
|
2731
|
+
const n = (a = dt({
|
|
2727
2732
|
block: e,
|
|
2728
2733
|
localState: t.localState,
|
|
2729
2734
|
rootState: t.rootState,
|
|
@@ -2785,9 +2790,9 @@ const vi = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
|
|
|
2785
2790
|
inheritedStyles: {}
|
|
2786
2791
|
});
|
|
2787
2792
|
function Si(e) {
|
|
2788
|
-
const [t, r] =
|
|
2793
|
+
const [t, r] = H(() => e.repeatContext);
|
|
2789
2794
|
return /* @__PURE__ */ m(un.Provider, { value: t, children: /* @__PURE__ */ m(
|
|
2790
|
-
|
|
2795
|
+
yt,
|
|
2791
2796
|
{
|
|
2792
2797
|
block: e.block,
|
|
2793
2798
|
context: t,
|
|
@@ -2807,7 +2812,7 @@ const ki = (e) => `on${wi(e)}`, Ci = (e, t) => (r) => et({
|
|
|
2807
2812
|
event: r,
|
|
2808
2813
|
isExpression: !1
|
|
2809
2814
|
});
|
|
2810
|
-
function
|
|
2815
|
+
function zt(e) {
|
|
2811
2816
|
const t = {}, r = e.block.actions ?? {};
|
|
2812
2817
|
for (const n in r) {
|
|
2813
2818
|
if (!r.hasOwnProperty(n))
|
|
@@ -2834,7 +2839,7 @@ function Ei(e) {
|
|
|
2834
2839
|
const Ii = (e) => ({
|
|
2835
2840
|
href: e.href
|
|
2836
2841
|
});
|
|
2837
|
-
function
|
|
2842
|
+
function ht({
|
|
2838
2843
|
block: e,
|
|
2839
2844
|
context: t
|
|
2840
2845
|
}) {
|
|
@@ -2868,11 +2873,11 @@ function ji(e) {
|
|
|
2868
2873
|
{
|
|
2869
2874
|
...e.wrapperProps,
|
|
2870
2875
|
attributes: {
|
|
2871
|
-
...
|
|
2876
|
+
...ht({
|
|
2872
2877
|
block: e.block,
|
|
2873
2878
|
context: e.context
|
|
2874
2879
|
}),
|
|
2875
|
-
...
|
|
2880
|
+
...zt({
|
|
2876
2881
|
block: e.block,
|
|
2877
2882
|
rootState: e.context.rootState,
|
|
2878
2883
|
rootSetState: e.context.rootSetState,
|
|
@@ -2904,7 +2909,7 @@ const Ai = ({
|
|
|
2904
2909
|
* component itself directly. Otherwise, they are provided to the wrapper element.
|
|
2905
2910
|
*/
|
|
2906
2911
|
...i ? {
|
|
2907
|
-
attributes:
|
|
2912
|
+
attributes: ht({
|
|
2908
2913
|
block: t,
|
|
2909
2914
|
context: s
|
|
2910
2915
|
})
|
|
@@ -2912,7 +2917,7 @@ const Ai = ({
|
|
|
2912
2917
|
};
|
|
2913
2918
|
function tr(e) {
|
|
2914
2919
|
var n, i;
|
|
2915
|
-
const [t, r] =
|
|
2920
|
+
const [t, r] = H(
|
|
2916
2921
|
() => e.isInteractive ? ji : e.componentRef
|
|
2917
2922
|
);
|
|
2918
2923
|
return /* @__PURE__ */ m(U, { children: e.componentRef ? /* @__PURE__ */ m(U, { children: /* @__PURE__ */ Z(
|
|
@@ -2929,7 +2934,7 @@ function tr(e) {
|
|
|
2929
2934
|
}),
|
|
2930
2935
|
children: [
|
|
2931
2936
|
(n = e.blockChildren) == null ? void 0 : n.map((a) => /* @__PURE__ */ m(
|
|
2932
|
-
|
|
2937
|
+
yt,
|
|
2933
2938
|
{
|
|
2934
2939
|
block: a,
|
|
2935
2940
|
context: e.context,
|
|
@@ -2955,11 +2960,11 @@ function nr(e) {
|
|
|
2955
2960
|
e.hasChildren ? /* @__PURE__ */ m(U, { children: /* @__PURE__ */ Z(
|
|
2956
2961
|
e.Wrapper,
|
|
2957
2962
|
{
|
|
2958
|
-
...
|
|
2963
|
+
...ht({
|
|
2959
2964
|
block: e.block,
|
|
2960
2965
|
context: e.context
|
|
2961
2966
|
}),
|
|
2962
|
-
...
|
|
2967
|
+
...zt({
|
|
2963
2968
|
block: e.block,
|
|
2964
2969
|
rootState: e.context.rootState,
|
|
2965
2970
|
rootSetState: e.context.rootSetState,
|
|
@@ -2976,11 +2981,11 @@ function nr(e) {
|
|
|
2976
2981
|
) }) : /* @__PURE__ */ m(U, { children: /* @__PURE__ */ m(
|
|
2977
2982
|
e.Wrapper,
|
|
2978
2983
|
{
|
|
2979
|
-
...
|
|
2984
|
+
...ht({
|
|
2980
2985
|
block: e.block,
|
|
2981
2986
|
context: e.context
|
|
2982
2987
|
}),
|
|
2983
|
-
...
|
|
2988
|
+
...zt({
|
|
2984
2989
|
block: e.block,
|
|
2985
2990
|
rootState: e.context.rootState,
|
|
2986
2991
|
rootSetState: e.context.rootSetState,
|
|
@@ -2993,7 +2998,7 @@ function nr(e) {
|
|
|
2993
2998
|
" "
|
|
2994
2999
|
] });
|
|
2995
3000
|
}
|
|
2996
|
-
function
|
|
3001
|
+
function yt(e) {
|
|
2997
3002
|
var y, x, P, B;
|
|
2998
3003
|
function t() {
|
|
2999
3004
|
return xi({
|
|
@@ -3009,7 +3014,7 @@ function gt(e) {
|
|
|
3009
3014
|
});
|
|
3010
3015
|
}
|
|
3011
3016
|
function n() {
|
|
3012
|
-
return r() ? e.block :
|
|
3017
|
+
return r() ? e.block : dt({
|
|
3013
3018
|
block: e.block,
|
|
3014
3019
|
localState: e.context.localState,
|
|
3015
3020
|
rootState: e.context.rootState,
|
|
@@ -3025,18 +3030,18 @@ function gt(e) {
|
|
|
3025
3030
|
return "hide" in n() ? !n().hide : "show" in n() ? n().show : !0;
|
|
3026
3031
|
}
|
|
3027
3032
|
function s() {
|
|
3028
|
-
var
|
|
3029
|
-
return !((
|
|
3033
|
+
var I;
|
|
3034
|
+
return !((I = t == null ? void 0 : t()) != null && I.component) && !r() ? n().children ?? [] : [];
|
|
3030
3035
|
}
|
|
3031
3036
|
function f() {
|
|
3032
|
-
var
|
|
3037
|
+
var k, I, $, V, v;
|
|
3033
3038
|
return {
|
|
3034
3039
|
blockChildren: n().children ?? [],
|
|
3035
|
-
componentRef: (
|
|
3040
|
+
componentRef: (k = t == null ? void 0 : t()) == null ? void 0 : k.component,
|
|
3036
3041
|
componentOptions: {
|
|
3037
3042
|
...yi(n()),
|
|
3038
3043
|
builderContext: e.context,
|
|
3039
|
-
...((
|
|
3044
|
+
...((I = t == null ? void 0 : t()) == null ? void 0 : I.name) === "Symbol" || (($ = t == null ? void 0 : t()) == null ? void 0 : $.name) === "Columns" ? {
|
|
3040
3045
|
builderComponents: e.registeredComponents
|
|
3041
3046
|
} : {}
|
|
3042
3047
|
},
|
|
@@ -3047,9 +3052,9 @@ function gt(e) {
|
|
|
3047
3052
|
isInteractive: !((v = t == null ? void 0 : t()) != null && v.isRSC)
|
|
3048
3053
|
};
|
|
3049
3054
|
}
|
|
3050
|
-
const [d, p] =
|
|
3055
|
+
const [d, p] = H(() => e.context);
|
|
3051
3056
|
return /* @__PURE__ */ m(U, { children: a() ? /* @__PURE__ */ m(U, { children: (y = t == null ? void 0 : t()) != null && y.noWrap ? /* @__PURE__ */ m(U, { children: /* @__PURE__ */ m(tr, { ...f() }) }) : /* @__PURE__ */ Z(U, { children: [
|
|
3052
|
-
|
|
3057
|
+
Dt(i()) ? /* @__PURE__ */ m(U, { children: /* @__PURE__ */ m(
|
|
3053
3058
|
nr,
|
|
3054
3059
|
{
|
|
3055
3060
|
Wrapper: i(),
|
|
@@ -3058,16 +3063,16 @@ function gt(e) {
|
|
|
3058
3063
|
hasChildren: !1
|
|
3059
3064
|
}
|
|
3060
3065
|
) }) : null,
|
|
3061
|
-
!
|
|
3066
|
+
!Dt(i()) && r() ? /* @__PURE__ */ m(U, { children: (x = r()) == null ? void 0 : x.map((k, I) => /* @__PURE__ */ m(
|
|
3062
3067
|
Si,
|
|
3063
3068
|
{
|
|
3064
|
-
repeatContext:
|
|
3065
|
-
block:
|
|
3069
|
+
repeatContext: k.context,
|
|
3070
|
+
block: k.block,
|
|
3066
3071
|
registeredComponents: e.registeredComponents
|
|
3067
3072
|
},
|
|
3068
|
-
|
|
3073
|
+
I
|
|
3069
3074
|
)) }) : null,
|
|
3070
|
-
!
|
|
3075
|
+
!Dt(i()) && !r() ? /* @__PURE__ */ m(U, { children: /* @__PURE__ */ Z(
|
|
3071
3076
|
nr,
|
|
3072
3077
|
{
|
|
3073
3078
|
Wrapper: i(),
|
|
@@ -3076,22 +3081,22 @@ function gt(e) {
|
|
|
3076
3081
|
hasChildren: !0,
|
|
3077
3082
|
children: [
|
|
3078
3083
|
/* @__PURE__ */ m(tr, { ...f() }),
|
|
3079
|
-
(P = s()) == null ? void 0 : P.map((
|
|
3080
|
-
|
|
3084
|
+
(P = s()) == null ? void 0 : P.map((k) => /* @__PURE__ */ m(
|
|
3085
|
+
yt,
|
|
3081
3086
|
{
|
|
3082
|
-
block:
|
|
3087
|
+
block: k,
|
|
3083
3088
|
context: d,
|
|
3084
3089
|
registeredComponents: e.registeredComponents
|
|
3085
3090
|
},
|
|
3086
|
-
"block-" +
|
|
3091
|
+
"block-" + k.id
|
|
3087
3092
|
)),
|
|
3088
|
-
(B = s()) == null ? void 0 : B.map((
|
|
3093
|
+
(B = s()) == null ? void 0 : B.map((k) => /* @__PURE__ */ m(
|
|
3089
3094
|
cn,
|
|
3090
3095
|
{
|
|
3091
|
-
block:
|
|
3096
|
+
block: k,
|
|
3092
3097
|
context: d
|
|
3093
3098
|
},
|
|
3094
|
-
"block-style-" +
|
|
3099
|
+
"block-style-" + k.id
|
|
3095
3100
|
))
|
|
3096
3101
|
]
|
|
3097
3102
|
}
|
|
@@ -3163,7 +3168,7 @@ function fn(e) {
|
|
|
3163
3168
|
styleProp: e.styleProp,
|
|
3164
3169
|
children: [
|
|
3165
3170
|
e.blocks ? /* @__PURE__ */ m(U, { children: (n = e.blocks) == null ? void 0 : n.map((a) => /* @__PURE__ */ m(
|
|
3166
|
-
|
|
3171
|
+
yt,
|
|
3167
3172
|
{
|
|
3168
3173
|
block: a,
|
|
3169
3174
|
context: e.context || t,
|
|
@@ -3185,32 +3190,32 @@ function fn(e) {
|
|
|
3185
3190
|
}
|
|
3186
3191
|
function Oi(e) {
|
|
3187
3192
|
var V;
|
|
3188
|
-
const [t, r] =
|
|
3193
|
+
const [t, r] = H(
|
|
3189
3194
|
() => typeof e.space == "number" ? e.space || 0 : 20
|
|
3190
|
-
), [n, i] =
|
|
3195
|
+
), [n, i] = H(() => e.columns || []), [a, s] = H(
|
|
3191
3196
|
() => e.stackColumnsAt || "tablet"
|
|
3192
3197
|
);
|
|
3193
3198
|
function f(v) {
|
|
3194
|
-
var
|
|
3195
|
-
return ((
|
|
3199
|
+
var D;
|
|
3200
|
+
return ((D = n[v]) == null ? void 0 : D.width) || 100 / n.length;
|
|
3196
3201
|
}
|
|
3197
3202
|
function d(v) {
|
|
3198
|
-
const
|
|
3199
|
-
return `calc(${f(v)}% - ${
|
|
3203
|
+
const D = t * (n.length - 1) / n.length;
|
|
3204
|
+
return `calc(${f(v)}% - ${D}px)`;
|
|
3200
3205
|
}
|
|
3201
3206
|
function p({
|
|
3202
3207
|
stackedStyle: v,
|
|
3203
|
-
desktopStyle:
|
|
3208
|
+
desktopStyle: D
|
|
3204
3209
|
}) {
|
|
3205
|
-
return a === "tablet" ? v :
|
|
3210
|
+
return a === "tablet" ? v : D;
|
|
3206
3211
|
}
|
|
3207
3212
|
function y({
|
|
3208
3213
|
stackedStyle: v,
|
|
3209
|
-
desktopStyle:
|
|
3214
|
+
desktopStyle: D
|
|
3210
3215
|
}) {
|
|
3211
|
-
return a === "never" ?
|
|
3216
|
+
return a === "never" ? D : v;
|
|
3212
3217
|
}
|
|
3213
|
-
const [x, P] =
|
|
3218
|
+
const [x, P] = H(
|
|
3214
3219
|
() => e.stackColumnsAt === "never" ? "row" : e.reverseColumnsWhenStacked ? "column-reverse" : "column"
|
|
3215
3220
|
);
|
|
3216
3221
|
function B() {
|
|
@@ -3222,8 +3227,8 @@ function Oi(e) {
|
|
|
3222
3227
|
})
|
|
3223
3228
|
};
|
|
3224
3229
|
}
|
|
3225
|
-
function
|
|
3226
|
-
const
|
|
3230
|
+
function k(v) {
|
|
3231
|
+
const D = v === 0 ? 0 : t, oe = d(v), ae = `${D}px`, K = "100%", Q = 0;
|
|
3227
3232
|
return {
|
|
3228
3233
|
width: oe,
|
|
3229
3234
|
["marginLeft"]: ae,
|
|
@@ -3245,7 +3250,7 @@ function Oi(e) {
|
|
|
3245
3250
|
})
|
|
3246
3251
|
};
|
|
3247
3252
|
}
|
|
3248
|
-
function
|
|
3253
|
+
function I(v) {
|
|
3249
3254
|
var oe, ae;
|
|
3250
3255
|
return dr(
|
|
3251
3256
|
((ae = (oe = e.builderContext.content) == null ? void 0 : oe.meta) == null ? void 0 : ae.breakpoints) || {}
|
|
@@ -3253,7 +3258,7 @@ function Oi(e) {
|
|
|
3253
3258
|
}
|
|
3254
3259
|
function $() {
|
|
3255
3260
|
return `
|
|
3256
|
-
@media (max-width: ${
|
|
3261
|
+
@media (max-width: ${I("medium")}px) {
|
|
3257
3262
|
.${e.builderBlock.id}-breakpoints {
|
|
3258
3263
|
flex-direction: var(--flex-dir-tablet);
|
|
3259
3264
|
align-items: stretch;
|
|
@@ -3265,7 +3270,7 @@ function Oi(e) {
|
|
|
3265
3270
|
}
|
|
3266
3271
|
}
|
|
3267
3272
|
|
|
3268
|
-
@media (max-width: ${
|
|
3273
|
+
@media (max-width: ${I("small")}px) {
|
|
3269
3274
|
.${e.builderBlock.id}-breakpoints {
|
|
3270
3275
|
flex-direction: var(--flex-dir);
|
|
3271
3276
|
align-items: stretch;
|
|
@@ -3285,18 +3290,18 @@ function Oi(e) {
|
|
|
3285
3290
|
className: `builder-columns ${e.builderBlock.id}-breakpoints div-d734ad62`,
|
|
3286
3291
|
style: B(),
|
|
3287
3292
|
children: [
|
|
3288
|
-
/* @__PURE__ */ m(U, { children: /* @__PURE__ */ m(
|
|
3289
|
-
(V = e.columns) == null ? void 0 : V.map((v,
|
|
3293
|
+
/* @__PURE__ */ m(U, { children: /* @__PURE__ */ m(gt, { styles: $() }) }),
|
|
3294
|
+
(V = e.columns) == null ? void 0 : V.map((v, D) => /* @__PURE__ */ Vr(
|
|
3290
3295
|
"div",
|
|
3291
3296
|
{
|
|
3292
3297
|
className: "builder-column div-d734ad62-2",
|
|
3293
|
-
style:
|
|
3294
|
-
key:
|
|
3298
|
+
style: k(D),
|
|
3299
|
+
key: D
|
|
3295
3300
|
},
|
|
3296
3301
|
/* @__PURE__ */ m(
|
|
3297
3302
|
fn,
|
|
3298
3303
|
{
|
|
3299
|
-
path: `component.options.columns.${
|
|
3304
|
+
path: `component.options.columns.${D}.blocks`,
|
|
3300
3305
|
parent: e.builderBlock.id,
|
|
3301
3306
|
styleProp: {
|
|
3302
3307
|
flexGrow: "1"
|
|
@@ -3342,7 +3347,7 @@ function Mi(e, t) {
|
|
|
3342
3347
|
}
|
|
3343
3348
|
return null;
|
|
3344
3349
|
}
|
|
3345
|
-
function
|
|
3350
|
+
function Wt(e) {
|
|
3346
3351
|
if (!e)
|
|
3347
3352
|
return e;
|
|
3348
3353
|
const t = [100, 200, 400, 800, 1200, 1600, 2e3];
|
|
@@ -3364,10 +3369,10 @@ function Fi(e) {
|
|
|
3364
3369
|
return e.srcset;
|
|
3365
3370
|
if (e.srcset && ((y = e.image) != null && y.includes("builder.io/api/v1/image"))) {
|
|
3366
3371
|
if (!e.srcset.includes(e.image.split("?")[0]))
|
|
3367
|
-
return console.debug("Removed given srcset"),
|
|
3372
|
+
return console.debug("Removed given srcset"), Wt(p);
|
|
3368
3373
|
} else if (e.image && !e.srcset)
|
|
3369
|
-
return
|
|
3370
|
-
return
|
|
3374
|
+
return Wt(p);
|
|
3375
|
+
return Wt(p);
|
|
3371
3376
|
}
|
|
3372
3377
|
function r() {
|
|
3373
3378
|
var d;
|
|
@@ -3468,34 +3473,34 @@ const ut = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((
|
|
|
3468
3473
|
function _i(e, t, r) {
|
|
3469
3474
|
var s;
|
|
3470
3475
|
function n() {
|
|
3471
|
-
function f(
|
|
3476
|
+
function f(k, I, $) {
|
|
3472
3477
|
let V = "";
|
|
3473
3478
|
if ($) {
|
|
3474
3479
|
const v = /* @__PURE__ */ new Date();
|
|
3475
3480
|
v.setTime(v.getTime() + $ * 24 * 60 * 60 * 1e3), V = "; expires=" + v.toUTCString();
|
|
3476
3481
|
}
|
|
3477
|
-
document.cookie =
|
|
3482
|
+
document.cookie = k + "=" + (I || "") + V + "; path=/; Secure; SameSite=None";
|
|
3478
3483
|
}
|
|
3479
|
-
function d(
|
|
3480
|
-
const
|
|
3484
|
+
function d(k) {
|
|
3485
|
+
const I = k + "=", $ = document.cookie.split(";");
|
|
3481
3486
|
for (let V = 0; V < $.length; V++) {
|
|
3482
3487
|
let v = $[V];
|
|
3483
3488
|
for (; v.charAt(0) === " "; )
|
|
3484
3489
|
v = v.substring(1, v.length);
|
|
3485
|
-
if (v.indexOf(
|
|
3486
|
-
return v.substring(
|
|
3490
|
+
if (v.indexOf(I) === 0)
|
|
3491
|
+
return v.substring(I.length, v.length);
|
|
3487
3492
|
}
|
|
3488
3493
|
return null;
|
|
3489
3494
|
}
|
|
3490
|
-
const p = `builder.tests.${e}`, y = d(p), x = t.map((
|
|
3495
|
+
const p = `builder.tests.${e}`, y = d(p), x = t.map((k) => k.id).concat(e);
|
|
3491
3496
|
if (y && x.includes(y))
|
|
3492
3497
|
return y;
|
|
3493
3498
|
let P = 0;
|
|
3494
3499
|
const B = Math.random();
|
|
3495
|
-
for (let
|
|
3496
|
-
const
|
|
3500
|
+
for (let k = 0; k < t.length; k++) {
|
|
3501
|
+
const I = t[k], $ = I.testRatio;
|
|
3497
3502
|
if (P += $, B < P)
|
|
3498
|
-
return f(p,
|
|
3503
|
+
return f(p, I.id), I.id;
|
|
3499
3504
|
}
|
|
3500
3505
|
return f(p, e), e;
|
|
3501
3506
|
}
|
|
@@ -3982,7 +3987,7 @@ const Li = (e) => e === "react" || e === "reactNative", Sr = Li(tt), wr = "build
|
|
|
3982
3987
|
function qi(e) {
|
|
3983
3988
|
var t;
|
|
3984
3989
|
return /* @__PURE__ */ m(
|
|
3985
|
-
"
|
|
3990
|
+
"div",
|
|
3986
3991
|
{
|
|
3987
3992
|
className: "builder-text",
|
|
3988
3993
|
dangerouslySetInnerHTML: { __html: ((t = e.text) == null ? void 0 : t.toString()) || "" },
|
|
@@ -4148,7 +4153,7 @@ const eo = {
|
|
|
4148
4153
|
}]
|
|
4149
4154
|
}, to = ["text/javascript", "application/javascript", "application/ecmascript"], no = (e) => to.includes(e.type);
|
|
4150
4155
|
function ro(e) {
|
|
4151
|
-
const t =
|
|
4156
|
+
const t = Jt(null), [r, n] = H(() => []), [i, a] = H(() => []), [s, f] = H(() => !1);
|
|
4152
4157
|
function d() {
|
|
4153
4158
|
if (!t.current || !t.current.getElementsByTagName)
|
|
4154
4159
|
return;
|
|
@@ -4209,7 +4214,7 @@ const oo = {
|
|
|
4209
4214
|
static: !0
|
|
4210
4215
|
};
|
|
4211
4216
|
function ao(e) {
|
|
4212
|
-
const t =
|
|
4217
|
+
const t = Jt(null), [r, n] = H(() => []), [i, a] = H(() => []);
|
|
4213
4218
|
function s() {
|
|
4214
4219
|
if (t.current && t.current.getElementsByTagName && typeof window < "u") {
|
|
4215
4220
|
const f = t.current.getElementsByTagName("script");
|
|
@@ -4339,7 +4344,7 @@ font-weight: ${s};
|
|
|
4339
4344
|
contentId: t
|
|
4340
4345
|
}) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "";
|
|
4341
4346
|
function fo(e) {
|
|
4342
|
-
const [t, r] =
|
|
4347
|
+
const [t, r] = H(
|
|
4343
4348
|
() => `
|
|
4344
4349
|
${uo({
|
|
4345
4350
|
cssCode: e.cssCode,
|
|
@@ -4363,7 +4368,7 @@ ${co({
|
|
|
4363
4368
|
}
|
|
4364
4369
|
`.trim()
|
|
4365
4370
|
);
|
|
4366
|
-
return /* @__PURE__ */ m(
|
|
4371
|
+
return /* @__PURE__ */ m(gt, { styles: t });
|
|
4367
4372
|
}
|
|
4368
4373
|
const ho = ({
|
|
4369
4374
|
content: e,
|
|
@@ -4397,7 +4402,7 @@ const ho = ({
|
|
|
4397
4402
|
...t
|
|
4398
4403
|
},
|
|
4399
4404
|
meta: e == null ? void 0 : e.meta
|
|
4400
|
-
} : void 0, mo = "0.6.
|
|
4405
|
+
} : void 0, mo = "0.6.3", go = () => {
|
|
4401
4406
|
Wr("insertMenu", {
|
|
4402
4407
|
name: "_default",
|
|
4403
4408
|
default: !0,
|
|
@@ -4525,12 +4530,12 @@ const vo = (e, t, r = !0) => {
|
|
|
4525
4530
|
};
|
|
4526
4531
|
function So(e) {
|
|
4527
4532
|
var oe, ae, K, Q, T;
|
|
4528
|
-
const t =
|
|
4533
|
+
const t = Jt(null), [r, n] = H(
|
|
4529
4534
|
() => ft(e.canTrack) ? e.canTrack : !0
|
|
4530
|
-
), [i, a] =
|
|
4535
|
+
), [i, a] = H(() => 0);
|
|
4531
4536
|
function s(_) {
|
|
4532
|
-
var N, M, j,
|
|
4533
|
-
const
|
|
4537
|
+
var N, M, j, W, ce;
|
|
4538
|
+
const E = {
|
|
4534
4539
|
...e.builderContextSignal.content,
|
|
4535
4540
|
..._,
|
|
4536
4541
|
data: {
|
|
@@ -4540,26 +4545,26 @@ function So(e) {
|
|
|
4540
4545
|
meta: {
|
|
4541
4546
|
...(M = e.builderContextSignal.content) == null ? void 0 : M.meta,
|
|
4542
4547
|
..._ == null ? void 0 : _.meta,
|
|
4543
|
-
breakpoints: ((j = _ == null ? void 0 : _.meta) == null ? void 0 : j.breakpoints) || ((ce = (
|
|
4548
|
+
breakpoints: ((j = _ == null ? void 0 : _.meta) == null ? void 0 : j.breakpoints) || ((ce = (W = e.builderContextSignal.content) == null ? void 0 : W.meta) == null ? void 0 : ce.breakpoints)
|
|
4544
4549
|
}
|
|
4545
4550
|
};
|
|
4546
4551
|
e.setBuilderContextSignal((re) => ({
|
|
4547
4552
|
...re,
|
|
4548
|
-
content:
|
|
4553
|
+
content: E
|
|
4549
4554
|
}));
|
|
4550
4555
|
}
|
|
4551
|
-
|
|
4552
|
-
const [f, d] =
|
|
4556
|
+
H(() => 0);
|
|
4557
|
+
const [f, d] = H(
|
|
4553
4558
|
() => !1
|
|
4554
4559
|
);
|
|
4555
4560
|
function p(_) {
|
|
4556
4561
|
var N;
|
|
4557
|
-
const { data:
|
|
4558
|
-
if (
|
|
4559
|
-
switch (
|
|
4562
|
+
const { data: E } = _;
|
|
4563
|
+
if (E)
|
|
4564
|
+
switch (E.type) {
|
|
4560
4565
|
case "builder.configureSdk": {
|
|
4561
|
-
const M =
|
|
4562
|
-
if (!
|
|
4566
|
+
const M = E.data, { breakpoints: j, contentId: W } = M;
|
|
4567
|
+
if (!W || W !== ((N = e.builderContextSignal.content) == null ? void 0 : N.id))
|
|
4563
4568
|
return;
|
|
4564
4569
|
j && s({
|
|
4565
4570
|
meta: {
|
|
@@ -4569,15 +4574,15 @@ function So(e) {
|
|
|
4569
4574
|
break;
|
|
4570
4575
|
}
|
|
4571
4576
|
case "builder.contentUpdate": {
|
|
4572
|
-
const M =
|
|
4573
|
-
j === e.model && (s(
|
|
4577
|
+
const M = E.data, j = M.key || M.alias || M.entry || M.modelName, W = M.data;
|
|
4578
|
+
j === e.model && (s(W), a(i + 1));
|
|
4574
4579
|
break;
|
|
4575
4580
|
}
|
|
4576
4581
|
}
|
|
4577
4582
|
}
|
|
4578
4583
|
function y() {
|
|
4579
|
-
var
|
|
4580
|
-
const _ = (N = (
|
|
4584
|
+
var E, N;
|
|
4585
|
+
const _ = (N = (E = e.builderContextSignal.content) == null ? void 0 : E.data) == null ? void 0 : N.jsCode;
|
|
4581
4586
|
_ && et({
|
|
4582
4587
|
code: _,
|
|
4583
4588
|
context: e.context || {},
|
|
@@ -4586,11 +4591,11 @@ function So(e) {
|
|
|
4586
4591
|
rootSetState: e.builderContextSignal.rootSetState
|
|
4587
4592
|
});
|
|
4588
4593
|
}
|
|
4589
|
-
const [x, P] =
|
|
4590
|
-
function
|
|
4591
|
-
var
|
|
4594
|
+
const [x, P] = H(() => ({})), [B, k] = H(() => !1);
|
|
4595
|
+
function I(_) {
|
|
4596
|
+
var E, N;
|
|
4592
4597
|
if (e.builderContextSignal.content) {
|
|
4593
|
-
const M = (
|
|
4598
|
+
const M = (E = e.builderContextSignal.content) == null ? void 0 : E.testVariationId, j = (N = e.builderContextSignal.content) == null ? void 0 : N.id;
|
|
4594
4599
|
Hn({
|
|
4595
4600
|
type: "click",
|
|
4596
4601
|
canTrack: r,
|
|
@@ -4601,12 +4606,12 @@ function So(e) {
|
|
|
4601
4606
|
unique: !B
|
|
4602
4607
|
});
|
|
4603
4608
|
}
|
|
4604
|
-
B ||
|
|
4609
|
+
B || k(!0);
|
|
4605
4610
|
}
|
|
4606
4611
|
function $(_) {
|
|
4607
4612
|
return _.replace(
|
|
4608
4613
|
/{{([^}]+)}}/g,
|
|
4609
|
-
(
|
|
4614
|
+
(E, N) => et({
|
|
4610
4615
|
code: N,
|
|
4611
4616
|
context: e.context || {},
|
|
4612
4617
|
localState: void 0,
|
|
@@ -4615,38 +4620,38 @@ function So(e) {
|
|
|
4615
4620
|
})
|
|
4616
4621
|
);
|
|
4617
4622
|
}
|
|
4618
|
-
function V({ url: _, key:
|
|
4623
|
+
function V({ url: _, key: E }) {
|
|
4619
4624
|
Gr(_).then((N) => N.json()).then((N) => {
|
|
4620
|
-
var j,
|
|
4625
|
+
var j, W;
|
|
4621
4626
|
const M = {
|
|
4622
4627
|
...e.builderContextSignal.rootState,
|
|
4623
|
-
[
|
|
4628
|
+
[E]: N
|
|
4624
4629
|
};
|
|
4625
|
-
(
|
|
4630
|
+
(W = (j = e.builderContextSignal).rootSetState) == null || W.call(j, M), x[E] = !0;
|
|
4626
4631
|
}).catch((N) => {
|
|
4627
4632
|
console.error("error fetching dynamic data", _, N);
|
|
4628
4633
|
});
|
|
4629
4634
|
}
|
|
4630
4635
|
function v() {
|
|
4631
|
-
var
|
|
4632
|
-
const _ = ((N = (
|
|
4636
|
+
var E, N;
|
|
4637
|
+
const _ = ((N = (E = e.builderContextSignal.content) == null ? void 0 : E.data) == null ? void 0 : N.httpRequests) ?? {};
|
|
4633
4638
|
Object.entries(_).forEach(([M, j]) => {
|
|
4634
4639
|
if (j && (!x[M] || Ce())) {
|
|
4635
|
-
const
|
|
4640
|
+
const W = $(j);
|
|
4636
4641
|
V({
|
|
4637
|
-
url:
|
|
4642
|
+
url: W,
|
|
4638
4643
|
key: M
|
|
4639
4644
|
});
|
|
4640
4645
|
}
|
|
4641
4646
|
});
|
|
4642
4647
|
}
|
|
4643
|
-
function
|
|
4648
|
+
function D() {
|
|
4644
4649
|
Ce() && window.dispatchEvent(
|
|
4645
4650
|
new CustomEvent(
|
|
4646
4651
|
"builder:component:stateChange",
|
|
4647
4652
|
{
|
|
4648
4653
|
detail: {
|
|
4649
|
-
state:
|
|
4654
|
+
state: Yt(e.builderContextSignal.rootState),
|
|
4650
4655
|
ref: {
|
|
4651
4656
|
name: e.model
|
|
4652
4657
|
}
|
|
@@ -4656,7 +4661,7 @@ function So(e) {
|
|
|
4656
4661
|
);
|
|
4657
4662
|
}
|
|
4658
4663
|
return le(() => {
|
|
4659
|
-
var _,
|
|
4664
|
+
var _, E;
|
|
4660
4665
|
if (e.apiKey || Ne.error(
|
|
4661
4666
|
"No API key provided to `RenderContent` component. This can cause issues. Please provide an API key using the `apiKey` prop."
|
|
4662
4667
|
), Pe()) {
|
|
@@ -4678,9 +4683,9 @@ function So(e) {
|
|
|
4678
4683
|
(j = window.parent) == null || j.postMessage(M, "*");
|
|
4679
4684
|
}), window.addEventListener(
|
|
4680
4685
|
"builder:component:stateChangeListenerActivated",
|
|
4681
|
-
|
|
4686
|
+
D
|
|
4682
4687
|
)), e.builderContextSignal.content) {
|
|
4683
|
-
const N = (_ = e.builderContextSignal.content) == null ? void 0 : _.testVariationId, M = (
|
|
4688
|
+
const N = (_ = e.builderContextSignal.content) == null ? void 0 : _.testVariationId, M = (E = e.builderContextSignal.content) == null ? void 0 : E.id;
|
|
4684
4689
|
Hn({
|
|
4685
4690
|
type: "impression",
|
|
4686
4691
|
canTrack: r,
|
|
@@ -4692,8 +4697,8 @@ function So(e) {
|
|
|
4692
4697
|
if (Kr()) {
|
|
4693
4698
|
const N = new URL(location.href).searchParams, M = N.get("builder.preview"), j = N.get(
|
|
4694
4699
|
`builder.preview.${M}`
|
|
4695
|
-
),
|
|
4696
|
-
M === e.model &&
|
|
4700
|
+
), W = N.get("apiKey") || N.get("builder.space");
|
|
4701
|
+
M === e.model && W === e.apiKey && (!e.content || j === e.content.id) && ur({
|
|
4697
4702
|
model: e.model,
|
|
4698
4703
|
apiKey: e.apiKey,
|
|
4699
4704
|
apiVersion: e.builderContextSignal.apiVersion
|
|
@@ -4701,7 +4706,7 @@ function So(e) {
|
|
|
4701
4706
|
ce && s(ce);
|
|
4702
4707
|
});
|
|
4703
4708
|
}
|
|
4704
|
-
y(), v(),
|
|
4709
|
+
y(), v(), D();
|
|
4705
4710
|
}
|
|
4706
4711
|
}, []), le(() => {
|
|
4707
4712
|
e.content && s(e.content);
|
|
@@ -4714,17 +4719,17 @@ function So(e) {
|
|
|
4714
4719
|
]), le(() => {
|
|
4715
4720
|
v();
|
|
4716
4721
|
}, [(Q = (K = e.builderContextSignal.content) == null ? void 0 : K.data) == null ? void 0 : Q.httpRequests]), le(() => {
|
|
4717
|
-
|
|
4722
|
+
D();
|
|
4718
4723
|
}, [e.builderContextSignal.rootState]), le(() => () => {
|
|
4719
4724
|
Pe() && (window.removeEventListener("message", p), window.removeEventListener(
|
|
4720
4725
|
"builder:component:stateChangeListenerActivated",
|
|
4721
|
-
|
|
4726
|
+
D
|
|
4722
4727
|
));
|
|
4723
4728
|
}, []), /* @__PURE__ */ m(un.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content ? /* @__PURE__ */ m(U, { children: /* @__PURE__ */ m(
|
|
4724
4729
|
"div",
|
|
4725
4730
|
{
|
|
4726
4731
|
ref: t,
|
|
4727
|
-
onClick: (_) =>
|
|
4732
|
+
onClick: (_) => I(_),
|
|
4728
4733
|
"builder-content-id": (T = e.builderContextSignal.content) == null ? void 0 : T.id,
|
|
4729
4734
|
"builder-model": e.model,
|
|
4730
4735
|
...e.showContent ? {} : {
|
|
@@ -4737,7 +4742,7 @@ function So(e) {
|
|
|
4737
4742
|
i
|
|
4738
4743
|
) }) : null });
|
|
4739
4744
|
}
|
|
4740
|
-
function
|
|
4745
|
+
function Xt(e) {
|
|
4741
4746
|
return /* @__PURE__ */ m(
|
|
4742
4747
|
"script",
|
|
4743
4748
|
{
|
|
@@ -4747,25 +4752,25 @@ function zt(e) {
|
|
|
4747
4752
|
);
|
|
4748
4753
|
}
|
|
4749
4754
|
function lr(e) {
|
|
4750
|
-
var d, p, y, x, P, B,
|
|
4751
|
-
const [t, r] =
|
|
4755
|
+
var d, p, y, x, P, B, k;
|
|
4756
|
+
const [t, r] = H(
|
|
4752
4757
|
() => {
|
|
4753
|
-
var
|
|
4758
|
+
var I, $;
|
|
4754
4759
|
return Wi({
|
|
4755
4760
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
|
|
4756
|
-
variationId: (
|
|
4761
|
+
variationId: (I = e.content) == null ? void 0 : I.testVariationId,
|
|
4757
4762
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
|
|
4758
4763
|
contentId: ($ = e.content) == null ? void 0 : $.id
|
|
4759
4764
|
});
|
|
4760
4765
|
}
|
|
4761
4766
|
);
|
|
4762
|
-
function n(
|
|
4767
|
+
function n(I) {
|
|
4763
4768
|
f(($) => ({
|
|
4764
4769
|
...$,
|
|
4765
|
-
rootState:
|
|
4770
|
+
rootState: I
|
|
4766
4771
|
}));
|
|
4767
4772
|
}
|
|
4768
|
-
const [i, a] =
|
|
4773
|
+
const [i, a] = H(
|
|
4769
4774
|
() => [
|
|
4770
4775
|
...ir(),
|
|
4771
4776
|
// While this `components` object is deprecated, we must maintain support for it.
|
|
@@ -4776,8 +4781,8 @@ function lr(e) {
|
|
|
4776
4781
|
...Kn,
|
|
4777
4782
|
...e.customComponents || []
|
|
4778
4783
|
].reduce(
|
|
4779
|
-
(
|
|
4780
|
-
...
|
|
4784
|
+
(I, { component: $, ...V }) => ({
|
|
4785
|
+
...I,
|
|
4781
4786
|
[V.name]: {
|
|
4782
4787
|
component: $,
|
|
4783
4788
|
...Gn(V)
|
|
@@ -4785,7 +4790,7 @@ function lr(e) {
|
|
|
4785
4790
|
}),
|
|
4786
4791
|
{}
|
|
4787
4792
|
)
|
|
4788
|
-
), [s, f] =
|
|
4793
|
+
), [s, f] = H(() => ({
|
|
4789
4794
|
content: po({
|
|
4790
4795
|
content: e.content,
|
|
4791
4796
|
data: e.data
|
|
@@ -4810,8 +4815,8 @@ function lr(e) {
|
|
|
4810
4815
|
...Kn,
|
|
4811
4816
|
...e.customComponents || []
|
|
4812
4817
|
].reduce(
|
|
4813
|
-
(
|
|
4814
|
-
...
|
|
4818
|
+
(I, { component: $, ...V }) => ({
|
|
4819
|
+
...I,
|
|
4815
4820
|
[V.name]: Gn(V)
|
|
4816
4821
|
}),
|
|
4817
4822
|
{}
|
|
@@ -4840,7 +4845,7 @@ function lr(e) {
|
|
|
4840
4845
|
builderContextSignal: s,
|
|
4841
4846
|
setBuilderContextSignal: f,
|
|
4842
4847
|
children: [
|
|
4843
|
-
e.isSsrAbTest ? /* @__PURE__ */ m(U, { children: /* @__PURE__ */ m(
|
|
4848
|
+
e.isSsrAbTest ? /* @__PURE__ */ m(U, { children: /* @__PURE__ */ m(Xt, { scriptStr: t }) }) : null,
|
|
4844
4849
|
/* @__PURE__ */ m(U, { children: /* @__PURE__ */ m(
|
|
4845
4850
|
fo,
|
|
4846
4851
|
{
|
|
@@ -4852,7 +4857,7 @@ function lr(e) {
|
|
|
4852
4857
|
/* @__PURE__ */ m(
|
|
4853
4858
|
fn,
|
|
4854
4859
|
{
|
|
4855
|
-
blocks: (
|
|
4860
|
+
blocks: (k = (B = s.content) == null ? void 0 : B.data) == null ? void 0 : k.blocks,
|
|
4856
4861
|
context: s,
|
|
4857
4862
|
registeredComponents: i
|
|
4858
4863
|
}
|
|
@@ -4865,7 +4870,7 @@ function lr(e) {
|
|
|
4865
4870
|
}
|
|
4866
4871
|
function Cr(e) {
|
|
4867
4872
|
var s, f, d;
|
|
4868
|
-
const [t, r] =
|
|
4873
|
+
const [t, r] = H(
|
|
4869
4874
|
() => Bi({
|
|
4870
4875
|
canTrack: zn(e.canTrack),
|
|
4871
4876
|
content: e.content
|
|
@@ -4896,16 +4901,16 @@ function Cr(e) {
|
|
|
4896
4901
|
}
|
|
4897
4902
|
return le(() => {
|
|
4898
4903
|
}, []), /* @__PURE__ */ Z(U, { children: [
|
|
4899
|
-
!e.__isNestedRender && tt !== "reactNative" ? /* @__PURE__ */ m(U, { children: /* @__PURE__ */ m(
|
|
4904
|
+
!e.__isNestedRender && tt !== "reactNative" ? /* @__PURE__ */ m(U, { children: /* @__PURE__ */ m(Xt, { scriptStr: Vi() }) }) : null,
|
|
4900
4905
|
t ? /* @__PURE__ */ Z(U, { children: [
|
|
4901
4906
|
/* @__PURE__ */ m(
|
|
4902
|
-
|
|
4907
|
+
gt,
|
|
4903
4908
|
{
|
|
4904
4909
|
id: `variants-styles-${(s = e.content) == null ? void 0 : s.id}`,
|
|
4905
4910
|
styles: i()
|
|
4906
4911
|
}
|
|
4907
4912
|
),
|
|
4908
|
-
/* @__PURE__ */ m(
|
|
4913
|
+
/* @__PURE__ */ m(Xt, { scriptStr: n() }),
|
|
4909
4914
|
(f = ut(e.content)) == null ? void 0 : f.map((p) => /* @__PURE__ */ m(
|
|
4910
4915
|
lr,
|
|
4911
4916
|
{
|
|
@@ -4978,7 +4983,7 @@ function ko(e) {
|
|
|
4978
4983
|
(p = e.symbol) != null && p.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
|
|
4979
4984
|
].filter(Boolean).join(" ");
|
|
4980
4985
|
}
|
|
4981
|
-
const [r, n] =
|
|
4986
|
+
const [r, n] = H(() => {
|
|
4982
4987
|
var d;
|
|
4983
4988
|
return (d = e.symbol) == null ? void 0 : d.content;
|
|
4984
4989
|
});
|