@builder.io/sdk-vue 2.0.30 → 2.0.31
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/{awaiter-t_FyHypk.js → awaiter-CBFYn8Rc.js} +1 -1
- package/lib/browser/{awaiter-G8SRGpZq.cjs → awaiter-zzvk2NgH.cjs} +1 -1
- package/lib/browser/{block-styles-QdL_P0Fx.js → block-styles-1TjUGG0M.js} +1 -1
- package/lib/browser/{block-styles-OnuFq-oN.cjs → block-styles-eG8aHEnR.cjs} +1 -1
- package/lib/browser/{block-wrapper-7IkLgp7x.js → block-wrapper-mHstZCm3.js} +3 -3
- package/lib/browser/{block-wrapper-fBAL9K2u.cjs → block-wrapper-t1YyB3qf.cjs} +1 -1
- package/lib/browser/{component-ref-L--Mvtc5.cjs → component-ref-4iD2JOXe.cjs} +1 -1
- package/lib/browser/{component-ref-llprrwE2.js → component-ref-SiTniDkf.js} +3 -3
- package/lib/browser/constants/sdk-version.d.ts +1 -1
- package/lib/browser/{get-block-properties-C3Bt0aVR.js → get-block-properties-WnxZnXsK.js} +1 -1
- package/lib/browser/{get-block-properties-GiTnRRbK.cjs → get-block-properties-qCNopliW.cjs} +1 -1
- package/lib/browser/{index-2PyFlZUC.cjs → index-EOpyZR3_.cjs} +23 -23
- package/lib/browser/{index-vt9k3TV3.js → index-nG43II0w.js} +576 -570
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +1 -1
- package/lib/browser/{repeated-block-dHROvYhN.js → repeated-block-WkFOmnw-.js} +2 -2
- package/lib/browser/{repeated-block-8thLK-kw.cjs → repeated-block-Zrynel2G.cjs} +1 -1
- package/lib/edge/{awaiter-xMGfwYjm.js → awaiter-ETIQ3Y1O.js} +1 -1
- package/lib/edge/{awaiter-GC2xTC8Y.cjs → awaiter-tqyHYP24.cjs} +1 -1
- package/lib/edge/{block-styles-MQ6F-wJx.cjs → block-styles-UFZvXK12.cjs} +1 -1
- package/lib/edge/{block-styles-lnpdX6V-.js → block-styles-xeGiE5b9.js} +1 -1
- package/lib/edge/{block-wrapper-aixvpDaD.cjs → block-wrapper-Kx9lGbVC.cjs} +1 -1
- package/lib/edge/{block-wrapper-OjYnBNwz.js → block-wrapper-rWfNhUAl.js} +3 -3
- package/lib/edge/{component-ref-UF81PmzX.js → component-ref-2gTfqFWa.js} +3 -3
- package/lib/edge/{component-ref-pLMkH-li.cjs → component-ref-jL8V5feH.cjs} +1 -1
- package/lib/edge/constants/sdk-version.d.ts +1 -1
- package/lib/edge/{get-block-properties-PgTUmqHR.cjs → get-block-properties-U4aZTxWN.cjs} +1 -1
- package/lib/edge/{get-block-properties-_21D78JP.js → get-block-properties-rSB9DXAm.js} +1 -1
- package/lib/edge/{index-5thgYd8i.cjs → index-1wQww2g6.cjs} +14 -14
- package/lib/edge/{index-vCgGh07X.js → index-61CJkECh.js} +682 -676
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +1 -1
- package/lib/{node/repeated-block-SZwTMCgz.cjs → edge/repeated-block-YThkmdHp.cjs} +1 -1
- package/lib/edge/{repeated-block-2cIfX4fx.js → repeated-block-sibYzFQC.js} +2 -2
- package/lib/node/{awaiter-3eKUn_vT.js → awaiter--0e1RmdV.js} +1 -1
- package/lib/node/{awaiter-qNZtZLjJ.cjs → awaiter-YeTQ3hOV.cjs} +1 -1
- package/lib/node/{block-styles-ON8cTpGp.cjs → block-styles-OsL48K76.cjs} +1 -1
- package/lib/node/{block-styles-IyYaHu8-.js → block-styles-mmmG5Zvb.js} +1 -1
- package/lib/node/{block-wrapper-WZ-DIDkP.js → block-wrapper-6FrZVnI8.js} +3 -3
- package/lib/node/{block-wrapper-qYoYSONc.cjs → block-wrapper-hK9iEXhq.cjs} +1 -1
- package/lib/node/{component-ref-_kyf_si2.js → component-ref-u2wfD4PU.js} +3 -3
- package/lib/node/{component-ref-5hL2pob8.cjs → component-ref-yN1A7uFk.cjs} +1 -1
- package/lib/node/constants/sdk-version.d.ts +1 -1
- package/lib/node/{get-block-properties-9J6zqRJY.cjs → get-block-properties-EkNcjp0K.cjs} +1 -1
- package/lib/node/{get-block-properties-OXHPbXLH.js → get-block-properties-QhUhlrxy.js} +1 -1
- package/lib/node/{index-NtAkrth1.cjs → index-EBQK2Vx-.cjs} +25 -25
- package/lib/node/{index-Cxf2YzmY.js → index-GJHkrBmN.js} +553 -547
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.mjs +1 -1
- package/lib/node/{repeated-block-vtGXbgev.js → repeated-block-h-cU9AMQ.js} +2 -2
- package/lib/{edge/repeated-block-7ZbJaVOi.cjs → node/repeated-block-z6QgHzWM.cjs} +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as j, openBlock as g, createElementBlock as
|
|
1
|
+
import { defineComponent as j, openBlock as g, createElementBlock as E, Fragment as J, createBlock as D, resolveDynamicComponent as ut, mergeProps as q, toHandlers as pe, withCtx as Ee, renderSlot as de, resolveComponent as U, createTextVNode as No, toDisplayString as Bt, defineAsyncComponent as rt, createVNode as ie, renderList as fe, createCommentVNode as M, h as Or, createElementVNode as ht, normalizeStyle as $e, normalizeClass as ft, markRaw as Vo } from "vue";
|
|
2
2
|
const Do = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), Uo = (e) => typeof e == "string" && Do.has(e.toLowerCase());
|
|
3
3
|
function me(e = {}, t, n) {
|
|
4
4
|
const r = {};
|
|
@@ -23,14 +23,14 @@ const Fo = j({
|
|
|
23
23
|
return n;
|
|
24
24
|
};
|
|
25
25
|
function Wo(e, t, n, r, o, i) {
|
|
26
|
-
return e.isEmptyElement(e.TagName) ? (g(),
|
|
27
|
-
typeof e.TagName == "string" ? (g(),
|
|
28
|
-
default:
|
|
26
|
+
return e.isEmptyElement(e.TagName) ? (g(), D(ut(e.TagName), q({ key: 1 }, e.attributes, pe(e.actionAttributes)), null, 16)) : (g(), E(J, { key: 0 }, [
|
|
27
|
+
typeof e.TagName == "string" ? (g(), D(ut(e.TagName), q({ key: 0 }, e.attributes, pe(e.actionAttributes)), {
|
|
28
|
+
default: Ee(() => [
|
|
29
29
|
de(e.$slots, "default")
|
|
30
30
|
]),
|
|
31
31
|
_: 3
|
|
32
|
-
}, 16)) : (g(),
|
|
33
|
-
default:
|
|
32
|
+
}, 16)) : (g(), D(ut(e.TagName), q({ key: 1 }, e.attributes, pe(e.actionAttributes)), {
|
|
33
|
+
default: Ee(() => [
|
|
34
34
|
de(e.$slots, "default")
|
|
35
35
|
]),
|
|
36
36
|
_: 3
|
|
@@ -40,8 +40,8 @@ function Wo(e, t, n, r, o, i) {
|
|
|
40
40
|
const bn = /* @__PURE__ */ N(Fo, [["render", Wo]]), gu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
41
41
|
__proto__: null,
|
|
42
42
|
default: bn
|
|
43
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
44
|
-
switch (
|
|
43
|
+
}, Symbol.toStringTag, { value: "Module" })), se = "vue", Ot = () => {
|
|
44
|
+
switch (se) {
|
|
45
45
|
case "react":
|
|
46
46
|
case "reactNative":
|
|
47
47
|
case "rsc":
|
|
@@ -70,7 +70,7 @@ const bn = /* @__PURE__ */ N(Fo, [["render", Wo]]), gu = /* @__PURE__ */ Object.
|
|
|
70
70
|
attrs() {
|
|
71
71
|
return {
|
|
72
72
|
...me(this.attributes, "v-on:", !1),
|
|
73
|
-
[
|
|
73
|
+
[Ot()]: `${this.link ? "" : "builder-button"} ${this.attributes[Ot()] || ""}`,
|
|
74
74
|
...this.link ? {
|
|
75
75
|
href: this.link,
|
|
76
76
|
target: this.openLinkInNewTab ? "_blank" : void 0,
|
|
@@ -83,14 +83,14 @@ const bn = /* @__PURE__ */ N(Fo, [["render", Wo]]), gu = /* @__PURE__ */ Object.
|
|
|
83
83
|
}
|
|
84
84
|
});
|
|
85
85
|
function Lo(e, t, n, r, o, i) {
|
|
86
|
-
const s =
|
|
87
|
-
return g(),
|
|
86
|
+
const s = U("DynamicRenderer");
|
|
87
|
+
return g(), D(s, {
|
|
88
88
|
attributes: e.attrs(),
|
|
89
89
|
TagName: e.link ? e.builderLinkComponent || "a" : "button",
|
|
90
90
|
actionAttributes: e.filterAttrs(e.attributes, "v-on:", !0)
|
|
91
91
|
}, {
|
|
92
|
-
default:
|
|
93
|
-
No(
|
|
92
|
+
default: Ee(() => [
|
|
93
|
+
No(Bt(e.text), 1)
|
|
94
94
|
]),
|
|
95
95
|
_: 1
|
|
96
96
|
}, 8, ["attributes", "TagName", "actionAttributes"]);
|
|
@@ -129,11 +129,11 @@ function zo(e, ...t) {
|
|
|
129
129
|
delete n[r];
|
|
130
130
|
return n;
|
|
131
131
|
}
|
|
132
|
-
const
|
|
133
|
-
log: (...e) => console.log(
|
|
134
|
-
error: (...e) => console.error(
|
|
135
|
-
warn: (...e) => console.warn(
|
|
136
|
-
debug: (...e) => console.debug(
|
|
132
|
+
const $t = "[Builder.io]: ", re = {
|
|
133
|
+
log: (...e) => console.log($t, ...e),
|
|
134
|
+
error: (...e) => console.error($t, ...e),
|
|
135
|
+
warn: (...e) => console.warn($t, ...e),
|
|
136
|
+
debug: (...e) => console.debug($t, ...e)
|
|
137
137
|
}, Br = (e, t, n) => {
|
|
138
138
|
const r = String.prototype.split.call(t, /[,[\].]+?/).filter(Boolean).reduce((o, i) => o != null ? o[i] : o, e);
|
|
139
139
|
return r === void 0 || r === e ? n : r;
|
|
@@ -150,7 +150,7 @@ const Jo = (e) => {
|
|
|
150
150
|
function _o() {
|
|
151
151
|
return Y() && window.self !== window.top;
|
|
152
152
|
}
|
|
153
|
-
function
|
|
153
|
+
function le(e) {
|
|
154
154
|
return _o() && // accessing window.location.search is safe here because `isIframe()` is only `true` if we're in a browser.
|
|
155
155
|
Vr(e || window.location.search).indexOf("builder.frameEditing=") !== -1;
|
|
156
156
|
}
|
|
@@ -178,7 +178,7 @@ const Xo = () => {
|
|
|
178
178
|
return e.match(/IEMobile/i) || e.match(/WPDesktop/i);
|
|
179
179
|
},
|
|
180
180
|
any() {
|
|
181
|
-
return t.Android() || t.BlackBerry() || t.iOS() || t.Opera() || t.Windows() ||
|
|
181
|
+
return t.Android() || t.BlackBerry() || t.iOS() || t.Opera() || t.Windows() || se === "reactNative";
|
|
182
182
|
}
|
|
183
183
|
}, n = e.match(/Tablet|iPad/i), r = Xo();
|
|
184
184
|
return {
|
|
@@ -199,7 +199,7 @@ const Xo = () => {
|
|
|
199
199
|
context: t,
|
|
200
200
|
event: n
|
|
201
201
|
}), Zo = () => ({
|
|
202
|
-
isEditing:
|
|
202
|
+
isEditing: le(),
|
|
203
203
|
isBrowser: Y(),
|
|
204
204
|
isServer: !Y(),
|
|
205
205
|
getUserAttributes: () => Dr()
|
|
@@ -260,17 +260,17 @@ var B, ti = function(e) {
|
|
|
260
260
|
return 65 > a ? a === 36 : 91 > a ? !0 : 97 > a ? a === 95 : 123 > a ? !0 : 170 <= a && gr.test(String.fromCharCode(a));
|
|
261
261
|
}
|
|
262
262
|
function r(a, l) {
|
|
263
|
-
for (var c = k, h = 1,
|
|
264
|
-
|
|
265
|
-
var z =
|
|
263
|
+
for (var c = k, h = 1, R = 0; ; ) {
|
|
264
|
+
At.lastIndex = R;
|
|
265
|
+
var z = At.exec(c);
|
|
266
266
|
if (z && z.index < a)
|
|
267
|
-
++h,
|
|
267
|
+
++h, R = z.index + z[0].length;
|
|
268
268
|
else
|
|
269
269
|
break;
|
|
270
270
|
}
|
|
271
271
|
throw c = {
|
|
272
272
|
line: h,
|
|
273
|
-
ab: a -
|
|
273
|
+
ab: a - R
|
|
274
274
|
}, l += " (" + c.line + ":" + c.ab + ")", l = new SyntaxError(l), l.j = a, l.X = c, l.o = d, l;
|
|
275
275
|
}
|
|
276
276
|
function o(a) {
|
|
@@ -282,25 +282,25 @@ var B, ti = function(e) {
|
|
|
282
282
|
};
|
|
283
283
|
}
|
|
284
284
|
function i() {
|
|
285
|
-
this.line =
|
|
285
|
+
this.line = Ne, this.ab = d - be;
|
|
286
286
|
}
|
|
287
287
|
function s(a, l) {
|
|
288
|
-
|
|
288
|
+
Fe = d, A.C && (Gt = new i()), x = a, p(), ae = l, Ze = a.m;
|
|
289
289
|
}
|
|
290
290
|
function u() {
|
|
291
|
-
for (var a = d, l = A.va && A.C && new i(), c = k.charCodeAt(d += 2); d <
|
|
291
|
+
for (var a = d, l = A.va && A.C && new i(), c = k.charCodeAt(d += 2); d < Ue && c !== 10 && c !== 13 && c !== 8232 && c !== 8233; )
|
|
292
292
|
++d, c = k.charCodeAt(d);
|
|
293
293
|
A.va && A.va(!1, k.slice(a + 2, d), a, d, l, A.C && new i());
|
|
294
294
|
}
|
|
295
295
|
function p() {
|
|
296
|
-
for (; d <
|
|
296
|
+
for (; d < Ue; ) {
|
|
297
297
|
var a = k.charCodeAt(d);
|
|
298
298
|
if (a === 32)
|
|
299
299
|
++d;
|
|
300
300
|
else if (a === 13)
|
|
301
|
-
++d, a = k.charCodeAt(d), a === 10 && ++d, A.C && (++
|
|
301
|
+
++d, a = k.charCodeAt(d), a === 10 && ++d, A.C && (++Ne, be = d);
|
|
302
302
|
else if (a === 10 || a === 8232 || a === 8233)
|
|
303
|
-
++d, A.C && (++
|
|
303
|
+
++d, A.C && (++Ne, be = d);
|
|
304
304
|
else if (8 < a && 14 > a)
|
|
305
305
|
++d;
|
|
306
306
|
else if (a === 47)
|
|
@@ -308,8 +308,8 @@ var B, ti = function(e) {
|
|
|
308
308
|
a = void 0;
|
|
309
309
|
var l = A.va && A.C && new i(), c = d, h = k.indexOf("*/", d += 2);
|
|
310
310
|
if (h === -1 && r(d - 2, "Unterminated comment"), d = h + 2, A.C)
|
|
311
|
-
for (
|
|
312
|
-
++
|
|
311
|
+
for (At.lastIndex = c; (a = At.exec(k)) && a.index < d; )
|
|
312
|
+
++Ne, be = a.index + a[0].length;
|
|
313
313
|
A.va && A.va(!0, k.slice(c + 2, h), c, d, l, A.C && new i());
|
|
314
314
|
} else if (a === 47)
|
|
315
315
|
u();
|
|
@@ -329,28 +329,28 @@ var B, ti = function(e) {
|
|
|
329
329
|
a = k.charCodeAt(d + 1), 48 <= a && 57 >= a ? V(!0) : (++d, s(lr));
|
|
330
330
|
return;
|
|
331
331
|
case 40:
|
|
332
|
-
return ++d, s(
|
|
332
|
+
return ++d, s(ke);
|
|
333
333
|
case 41:
|
|
334
334
|
return ++d, s(he);
|
|
335
335
|
case 59:
|
|
336
|
-
return ++d, s(
|
|
336
|
+
return ++d, s(Se);
|
|
337
337
|
case 44:
|
|
338
|
-
return ++d, s(
|
|
338
|
+
return ++d, s(Ae);
|
|
339
339
|
case 91:
|
|
340
340
|
return ++d, s(tn);
|
|
341
341
|
case 93:
|
|
342
342
|
return ++d, s(nn);
|
|
343
343
|
case 123:
|
|
344
|
-
return ++d, s(
|
|
344
|
+
return ++d, s(tt);
|
|
345
345
|
case 125:
|
|
346
|
-
return ++d, s(
|
|
346
|
+
return ++d, s(Me);
|
|
347
347
|
case 58:
|
|
348
|
-
return ++d, s(
|
|
348
|
+
return ++d, s(nt);
|
|
349
349
|
case 63:
|
|
350
350
|
return ++d, s(ur);
|
|
351
351
|
case 48:
|
|
352
352
|
if (a = k.charCodeAt(d + 1), a === 120 || a === 88) {
|
|
353
|
-
d += 2, a =
|
|
353
|
+
d += 2, a = I(16), a === null && r(G + 2, "Expected hexadecimal number"), n(k.charCodeAt(d)) && r(d, "Identifier directly after number"), s(et, a);
|
|
354
354
|
return;
|
|
355
355
|
}
|
|
356
356
|
case 49:
|
|
@@ -367,10 +367,10 @@ var B, ti = function(e) {
|
|
|
367
367
|
case 39:
|
|
368
368
|
d++;
|
|
369
369
|
for (var l = ""; ; ) {
|
|
370
|
-
d >=
|
|
370
|
+
d >= Ue && r(G, "Unterminated string constant");
|
|
371
371
|
var c = k.charCodeAt(d);
|
|
372
372
|
if (c === a) {
|
|
373
|
-
++d, s(
|
|
373
|
+
++d, s(Et, l);
|
|
374
374
|
break;
|
|
375
375
|
}
|
|
376
376
|
if (c === 92) {
|
|
@@ -379,7 +379,7 @@ var B, ti = function(e) {
|
|
|
379
379
|
for (h && (h = h[0]); h && 255 < parseInt(h, 8); )
|
|
380
380
|
h = h.slice(0, -1);
|
|
381
381
|
if (h === "0" && (h = null), ++d, h)
|
|
382
|
-
|
|
382
|
+
oe && r(d - 2, "Octal literal in strict mode"), l += String.fromCharCode(parseInt(h, 8)), d += h.length - 1;
|
|
383
383
|
else
|
|
384
384
|
switch (c) {
|
|
385
385
|
case 110:
|
|
@@ -416,7 +416,7 @@ var B, ti = function(e) {
|
|
|
416
416
|
case 13:
|
|
417
417
|
k.charCodeAt(d) === 10 && ++d;
|
|
418
418
|
case 10:
|
|
419
|
-
A.C && (
|
|
419
|
+
A.C && (be = d, ++Ne);
|
|
420
420
|
break;
|
|
421
421
|
default:
|
|
422
422
|
l += String.fromCharCode(c);
|
|
@@ -426,26 +426,26 @@ var B, ti = function(e) {
|
|
|
426
426
|
}
|
|
427
427
|
return;
|
|
428
428
|
case 47:
|
|
429
|
-
a = k.charCodeAt(d + 1),
|
|
429
|
+
a = k.charCodeAt(d + 1), Ze ? (++d, y()) : a === 61 ? v(Ve, 2) : v(cr, 1);
|
|
430
430
|
return;
|
|
431
431
|
case 37:
|
|
432
432
|
case 42:
|
|
433
|
-
k.charCodeAt(d + 1) === 61 ? v(
|
|
433
|
+
k.charCodeAt(d + 1) === 61 ? v(Ve, 2) : v(Ao, 1);
|
|
434
434
|
return;
|
|
435
435
|
case 124:
|
|
436
436
|
case 38:
|
|
437
|
-
l = k.charCodeAt(d + 1), l === a ? v(a === 124 ? hr : fr, 2) : l === 61 ? v(
|
|
437
|
+
l = k.charCodeAt(d + 1), l === a ? v(a === 124 ? hr : fr, 2) : l === 61 ? v(Ve, 2) : v(a === 124 ? Co : To, 1);
|
|
438
438
|
return;
|
|
439
439
|
case 94:
|
|
440
|
-
k.charCodeAt(d + 1) === 61 ? v(
|
|
440
|
+
k.charCodeAt(d + 1) === 61 ? v(Ve, 2) : v(wo, 1);
|
|
441
441
|
return;
|
|
442
442
|
case 43:
|
|
443
443
|
case 45:
|
|
444
|
-
l = k.charCodeAt(d + 1), l === a ? l === 45 && k.charCodeAt(d + 2) === 62 &&
|
|
444
|
+
l = k.charCodeAt(d + 1), l === a ? l === 45 && k.charCodeAt(d + 2) === 62 && Rt.test(k.slice(Re, d)) ? (d += 3, u(), p(), b()) : v(So, 2) : l === 61 ? v(Ve, 2) : v(Ro, 1);
|
|
445
445
|
return;
|
|
446
446
|
case 60:
|
|
447
447
|
case 62:
|
|
448
|
-
l = k.charCodeAt(d + 1), c = 1, l === a ? (c = a === 62 && k.charCodeAt(d + 2) === 62 ? 3 : 2, k.charCodeAt(d + c) === 61 ? v(
|
|
448
|
+
l = k.charCodeAt(d + 1), c = 1, l === a ? (c = a === 62 && k.charCodeAt(d + 2) === 62 ? 3 : 2, k.charCodeAt(d + c) === 61 ? v(Ve, c + 1) : v(xo, c)) : l === 33 && a === 60 && k.charCodeAt(d + 2) === 45 && k.charCodeAt(d + 3) === 45 ? (d += 4, u(), p(), b()) : (l === 61 && (c = k.charCodeAt(d + 2) === 61 ? 3 : 2), v(Io, c));
|
|
449
449
|
return;
|
|
450
450
|
case 61:
|
|
451
451
|
case 33:
|
|
@@ -459,13 +459,13 @@ var B, ti = function(e) {
|
|
|
459
459
|
function b(a) {
|
|
460
460
|
if (a ? d = G + 1 : G = d, A.C && (Kt = new i()), a)
|
|
461
461
|
return y();
|
|
462
|
-
if (d >=
|
|
462
|
+
if (d >= Ue)
|
|
463
463
|
return s(Jt);
|
|
464
464
|
if (a = k.charCodeAt(d), n(a) || a === 92)
|
|
465
|
-
return
|
|
465
|
+
return xe();
|
|
466
466
|
if (m(a) === !1) {
|
|
467
467
|
if (a = String.fromCharCode(a), a === "\\" || gr.test(a))
|
|
468
|
-
return
|
|
468
|
+
return xe();
|
|
469
469
|
r(d, "Unexpected character '" + a + "'");
|
|
470
470
|
}
|
|
471
471
|
}
|
|
@@ -475,9 +475,9 @@ var B, ti = function(e) {
|
|
|
475
475
|
}
|
|
476
476
|
function y() {
|
|
477
477
|
for (var a, l, c = d; ; ) {
|
|
478
|
-
d >=
|
|
478
|
+
d >= Ue && r(c, "Unterminated regexp");
|
|
479
479
|
var h = k.charAt(d);
|
|
480
|
-
if (
|
|
480
|
+
if (Rt.test(h) && r(c, "Unterminated regexp"), a)
|
|
481
481
|
a = !1;
|
|
482
482
|
else {
|
|
483
483
|
if (h === "[")
|
|
@@ -492,319 +492,319 @@ var B, ti = function(e) {
|
|
|
492
492
|
}
|
|
493
493
|
a = k.slice(c, d), ++d, (l = Z()) && !/^[gmi]*$/.test(l) && r(c, "Invalid regexp flag");
|
|
494
494
|
try {
|
|
495
|
-
var
|
|
495
|
+
var R = new RegExp(a, l);
|
|
496
496
|
} catch (z) {
|
|
497
497
|
throw z instanceof SyntaxError && r(c, z.message), z;
|
|
498
498
|
}
|
|
499
|
-
s(Hn,
|
|
499
|
+
s(Hn, R);
|
|
500
500
|
}
|
|
501
|
-
function
|
|
502
|
-
for (var c = d, h = 0,
|
|
503
|
-
var
|
|
504
|
-
if (
|
|
501
|
+
function I(a, l) {
|
|
502
|
+
for (var c = d, h = 0, R = l === void 0 ? 1 / 0 : l, z = 0; z < R; ++z) {
|
|
503
|
+
var ee = k.charCodeAt(d);
|
|
504
|
+
if (ee = 97 <= ee ? ee - 97 + 10 : 65 <= ee ? ee - 65 + 10 : 48 <= ee && 57 >= ee ? ee - 48 : 1 / 0, ee >= a)
|
|
505
505
|
break;
|
|
506
|
-
++d, h = h * a +
|
|
506
|
+
++d, h = h * a + ee;
|
|
507
507
|
}
|
|
508
508
|
return d === c || l !== void 0 && d - c !== l ? null : h;
|
|
509
509
|
}
|
|
510
510
|
function V(a) {
|
|
511
511
|
var l = d, c = !1, h = k.charCodeAt(d) === 48;
|
|
512
|
-
a ||
|
|
513
|
-
var
|
|
514
|
-
c ?
|
|
512
|
+
a || I(10) !== null || r(l, "Invalid number"), k.charCodeAt(d) === 46 && (++d, I(10), c = !0), a = k.charCodeAt(d), (a === 69 || a === 101) && (a = k.charCodeAt(++d), a !== 43 && a !== 45 || ++d, I(10) === null && r(l, "Invalid number"), c = !0), n(k.charCodeAt(d)) && r(d, "Identifier directly after number"), a = k.slice(l, d);
|
|
513
|
+
var R;
|
|
514
|
+
c ? R = parseFloat(a) : h && a.length !== 1 ? /[89]/.test(a) || oe ? r(l, "Invalid number") : R = parseInt(a, 8) : R = parseInt(a, 10), s(et, R);
|
|
515
515
|
}
|
|
516
516
|
function O(a) {
|
|
517
|
-
return a =
|
|
517
|
+
return a = I(16, a), a === null && r(G, "Bad character escape sequence"), a;
|
|
518
518
|
}
|
|
519
519
|
function Z() {
|
|
520
|
-
|
|
520
|
+
Le = !1;
|
|
521
521
|
for (var a, l = !0, c = d; ; ) {
|
|
522
522
|
var h = k.charCodeAt(d);
|
|
523
523
|
if (t(h))
|
|
524
|
-
|
|
524
|
+
Le && (a += k.charAt(d)), ++d;
|
|
525
525
|
else if (h === 92) {
|
|
526
|
-
|
|
527
|
-
var
|
|
528
|
-
|
|
526
|
+
Le || (a = k.slice(c, d)), Le = !0, k.charCodeAt(++d) !== 117 && r(d, "Expecting Unicode escape sequence \\uXXXX"), ++d, h = O(4);
|
|
527
|
+
var R = String.fromCharCode(h);
|
|
528
|
+
R || r(d - 1, "Invalid Unicode escape"), (l ? n(h) : t(h)) || r(d - 4, "Invalid Unicode escape"), a += R;
|
|
529
529
|
} else
|
|
530
530
|
break;
|
|
531
531
|
l = !1;
|
|
532
532
|
}
|
|
533
|
-
return
|
|
533
|
+
return Le ? a : k.slice(c, d);
|
|
534
534
|
}
|
|
535
|
-
function
|
|
536
|
-
var a = Z(), l =
|
|
537
|
-
!
|
|
535
|
+
function xe() {
|
|
536
|
+
var a = Z(), l = We;
|
|
537
|
+
!Le && Po(a) && (l = ko[a]), s(l, a);
|
|
538
538
|
}
|
|
539
539
|
function $() {
|
|
540
|
-
qt = G,
|
|
540
|
+
qt = G, Re = Fe, zt = Gt, b();
|
|
541
541
|
}
|
|
542
|
-
function
|
|
543
|
-
if (
|
|
544
|
-
for (; d <
|
|
545
|
-
|
|
546
|
-
`,
|
|
542
|
+
function F(a) {
|
|
543
|
+
if (oe = a, d = G, A.C)
|
|
544
|
+
for (; d < be; )
|
|
545
|
+
be = k.lastIndexOf(`
|
|
546
|
+
`, be - 2) + 1, --Ne;
|
|
547
547
|
p(), b();
|
|
548
548
|
}
|
|
549
|
-
function
|
|
549
|
+
function De() {
|
|
550
550
|
this.type = null, this.start = G, this.end = null;
|
|
551
551
|
}
|
|
552
|
-
function
|
|
552
|
+
function je() {
|
|
553
553
|
this.start = Kt, this.end = null, Ht && (this.source = Ht);
|
|
554
554
|
}
|
|
555
|
-
function
|
|
556
|
-
var a = new
|
|
557
|
-
return A.C && (a.X = new
|
|
555
|
+
function K() {
|
|
556
|
+
var a = new De();
|
|
557
|
+
return A.C && (a.X = new je()), A.vb && (a.sourceFile = A.vb), A.Xa && (a.j = [G, 0]), a;
|
|
558
558
|
}
|
|
559
|
-
function
|
|
560
|
-
var l = new
|
|
561
|
-
return l.start = a.start, A.C && (l.X = new
|
|
559
|
+
function ue(a) {
|
|
560
|
+
var l = new De();
|
|
561
|
+
return l.start = a.start, A.C && (l.X = new je(), l.X.start = a.X.start), A.Xa && (l.j = [a.j[0], 0]), l;
|
|
562
562
|
}
|
|
563
|
-
function
|
|
564
|
-
return a.type = l, a.end =
|
|
563
|
+
function T(a, l) {
|
|
564
|
+
return a.type = l, a.end = Re, A.C && (a.X.end = zt), A.Xa && (a.j[1] = Re), a;
|
|
565
565
|
}
|
|
566
|
-
function
|
|
566
|
+
function ge(a) {
|
|
567
567
|
return a.type === "ExpressionStatement" && a.la.type === "Literal" && a.la.value === "use strict";
|
|
568
568
|
}
|
|
569
|
-
function
|
|
570
|
-
return
|
|
569
|
+
function W(a) {
|
|
570
|
+
return x === a ? ($(), !0) : !1;
|
|
571
571
|
}
|
|
572
|
-
function
|
|
573
|
-
return !A.fc && (
|
|
572
|
+
function Ct() {
|
|
573
|
+
return !A.fc && (x === Jt || x === Me || Rt.test(k.slice(Re, G)));
|
|
574
574
|
}
|
|
575
|
-
function
|
|
576
|
-
|
|
575
|
+
function Be() {
|
|
576
|
+
W(Se) || Ct() || ye();
|
|
577
577
|
}
|
|
578
|
-
function
|
|
579
|
-
|
|
578
|
+
function L(a) {
|
|
579
|
+
x === a ? $() : ye();
|
|
580
580
|
}
|
|
581
|
-
function
|
|
581
|
+
function ye() {
|
|
582
582
|
r(G, "Unexpected token");
|
|
583
583
|
}
|
|
584
|
-
function
|
|
585
|
-
a.type !== "Identifier" && a.type !== "MemberExpression" && r(a.start, "Assigning to rvalue"),
|
|
584
|
+
function wt(a) {
|
|
585
|
+
a.type !== "Identifier" && a.type !== "MemberExpression" && r(a.start, "Assigning to rvalue"), oe && a.type === "Identifier" && xt(a.name) && r(a.start, "Assigning to " + a.name + " in strict mode");
|
|
586
586
|
}
|
|
587
587
|
function ce() {
|
|
588
|
-
(
|
|
589
|
-
var a =
|
|
588
|
+
(x === cr || x === Ve && ae === "/=") && b(!0);
|
|
589
|
+
var a = x, l = K();
|
|
590
590
|
switch (a) {
|
|
591
591
|
case _t:
|
|
592
592
|
case Gn:
|
|
593
593
|
$();
|
|
594
594
|
var c = a === _t;
|
|
595
|
-
|
|
596
|
-
for (var h = 0; h <
|
|
597
|
-
var
|
|
598
|
-
if ((l.label === null ||
|
|
595
|
+
W(Se) || Ct() ? l.label = null : x !== We ? ye() : (l.label = ve(), Be());
|
|
596
|
+
for (var h = 0; h < H.length; ++h) {
|
|
597
|
+
var R = H[h];
|
|
598
|
+
if ((l.label === null || R.name === l.label.name) && (R.kind !== null && (c || R.kind === "loop") || l.label && c))
|
|
599
599
|
break;
|
|
600
600
|
}
|
|
601
|
-
return h ===
|
|
601
|
+
return h === H.length && r(l.start, "Unsyntactic " + a.l), T(l, c ? "BreakStatement" : "ContinueStatement");
|
|
602
602
|
case qn:
|
|
603
|
-
return $(),
|
|
603
|
+
return $(), Be(), T(l, "DebuggerStatement");
|
|
604
604
|
case Jn:
|
|
605
|
-
return $(),
|
|
605
|
+
return $(), H.push(rn), l.body = ce(), H.pop(), L(en), l.test = _e(), Be(), T(l, "DoWhileStatement");
|
|
606
606
|
case Yn:
|
|
607
|
-
return $(),
|
|
607
|
+
return $(), H.push(rn), L(ke), x === Se ? Dt(l, null) : x === Qt ? (a = K(), $(), Mn(a, !0), T(a, "VariableDeclaration"), a.fa.length === 1 && W(It) ? Wn(l, a) : Dt(l, a)) : (a = Q(!1, !0), W(It) ? (wt(a), Wn(l, a)) : Dt(l, a));
|
|
608
608
|
case Yt:
|
|
609
609
|
return $(), Mt(l, !0);
|
|
610
610
|
case Zn:
|
|
611
|
-
return $(), l.test =
|
|
611
|
+
return $(), l.test = _e(), l.da = ce(), l.alternate = W(_n) ? ce() : null, T(l, "IfStatement");
|
|
612
612
|
case Qn:
|
|
613
|
-
return
|
|
613
|
+
return Qe || A.Ib || r(G, "'return' outside of function"), $(), W(Se) || Ct() ? l.K = null : (l.K = Q(), Be()), T(l, "ReturnStatement");
|
|
614
614
|
case Zt:
|
|
615
|
-
for ($(), l.Qb =
|
|
616
|
-
|
|
617
|
-
return h &&
|
|
615
|
+
for ($(), l.Qb = _e(), l.tb = [], L(tt), H.push(Bo); x !== Me; )
|
|
616
|
+
x === Xt || x === zn ? (a = x === Xt, h && T(h, "SwitchCase"), l.tb.push(h = K()), h.da = [], $(), a ? h.test = Q() : (c && r(qt, "Multiple default clauses"), c = !0, h.test = null), L(nt)) : (h || ye(), h.da.push(ce()));
|
|
617
|
+
return h && T(h, "SwitchCase"), $(), H.pop(), T(l, "SwitchStatement");
|
|
618
618
|
case er:
|
|
619
|
-
return $(),
|
|
619
|
+
return $(), Rt.test(k.slice(Re, G)) && r(Re, "Illegal newline after throw"), l.K = Q(), Be(), T(l, "ThrowStatement");
|
|
620
620
|
case tr:
|
|
621
|
-
return $(), l.block =
|
|
621
|
+
return $(), l.block = Xe(), l.Ea = null, x === Kn && (a = K(), $(), L(ke), a.Ua = ve(), oe && xt(a.Ua.name) && r(a.Ua.start, "Binding " + a.Ua.name + " in strict mode"), L(he), a.body = Xe(), l.Ea = T(a, "CatchClause")), l.fb = W(Xn) ? Xe() : null, l.Ea || l.fb || r(l.start, "Missing catch or finally clause"), T(l, "TryStatement");
|
|
622
622
|
case Qt:
|
|
623
|
-
return $(), Mn(l),
|
|
623
|
+
return $(), Mn(l), Be(), T(l, "VariableDeclaration");
|
|
624
624
|
case en:
|
|
625
|
-
return $(), l.test =
|
|
625
|
+
return $(), l.test = _e(), H.push(rn), l.body = ce(), H.pop(), T(l, "WhileStatement");
|
|
626
626
|
case nr:
|
|
627
|
-
return
|
|
628
|
-
case
|
|
629
|
-
return
|
|
630
|
-
case
|
|
631
|
-
return $(),
|
|
627
|
+
return oe && r(G, "'with' in strict mode"), $(), l.object = _e(), l.body = ce(), T(l, "WithStatement");
|
|
628
|
+
case tt:
|
|
629
|
+
return Xe();
|
|
630
|
+
case Se:
|
|
631
|
+
return $(), T(l, "EmptyStatement");
|
|
632
632
|
default:
|
|
633
|
-
if (c =
|
|
634
|
-
for (h = 0; h <
|
|
635
|
-
|
|
636
|
-
return
|
|
633
|
+
if (c = ae, R = Q(), a === We && R.type === "Identifier" && W(nt)) {
|
|
634
|
+
for (h = 0; h < H.length; ++h)
|
|
635
|
+
H[h].name === c && r(R.start, "Label '" + c + "' is already declared");
|
|
636
|
+
return H.push({
|
|
637
637
|
name: c,
|
|
638
|
-
kind:
|
|
639
|
-
}), l.body = ce(),
|
|
638
|
+
kind: x.W ? "loop" : x === Zt ? "switch" : null
|
|
639
|
+
}), l.body = ce(), H.pop(), l.label = R, T(l, "LabeledStatement");
|
|
640
640
|
}
|
|
641
|
-
return l.la =
|
|
641
|
+
return l.la = R, Be(), T(l, "ExpressionStatement");
|
|
642
642
|
}
|
|
643
643
|
}
|
|
644
|
-
function
|
|
645
|
-
|
|
644
|
+
function _e() {
|
|
645
|
+
L(ke);
|
|
646
646
|
var a = Q();
|
|
647
|
-
return
|
|
647
|
+
return L(he), a;
|
|
648
648
|
}
|
|
649
|
-
function
|
|
650
|
-
var l =
|
|
651
|
-
for (l.body = [],
|
|
652
|
-
var
|
|
653
|
-
if (l.body.push(
|
|
649
|
+
function Xe(a) {
|
|
650
|
+
var l = K(), c = !0, h = !1;
|
|
651
|
+
for (l.body = [], L(tt); !W(Me); ) {
|
|
652
|
+
var R = ce();
|
|
653
|
+
if (l.body.push(R), c && a && ge(R)) {
|
|
654
654
|
var z = h;
|
|
655
|
-
|
|
655
|
+
F(h = !0);
|
|
656
656
|
}
|
|
657
657
|
c = !1;
|
|
658
658
|
}
|
|
659
|
-
return h && !z &&
|
|
659
|
+
return h && !z && F(!1), T(l, "BlockStatement");
|
|
660
660
|
}
|
|
661
661
|
function Dt(a, l) {
|
|
662
|
-
return a.ua = l,
|
|
662
|
+
return a.ua = l, L(Se), a.test = x === Se ? null : Q(), L(Se), a.update = x === he ? null : Q(), L(he), a.body = ce(), H.pop(), T(a, "ForStatement");
|
|
663
663
|
}
|
|
664
664
|
function Wn(a, l) {
|
|
665
|
-
return a.left = l, a.right = Q(),
|
|
665
|
+
return a.left = l, a.right = Q(), L(he), a.body = ce(), H.pop(), T(a, "ForInStatement");
|
|
666
666
|
}
|
|
667
667
|
function Mn(a, l) {
|
|
668
668
|
for (a.fa = [], a.kind = "var"; ; ) {
|
|
669
|
-
var c =
|
|
670
|
-
if (c.id =
|
|
669
|
+
var c = K();
|
|
670
|
+
if (c.id = ve(), oe && xt(c.id.name) && r(c.id.start, "Binding " + c.id.name + " in strict mode"), c.ua = W(pr) ? Q(!0, l) : null, a.fa.push(T(c, "VariableDeclarator")), !W(Ae))
|
|
671
671
|
break;
|
|
672
672
|
}
|
|
673
673
|
}
|
|
674
674
|
function Q(a, l) {
|
|
675
675
|
var c = Ut(l);
|
|
676
|
-
if (!a &&
|
|
677
|
-
for (a =
|
|
676
|
+
if (!a && x === Ae) {
|
|
677
|
+
for (a = ue(c), a.xb = [c]; W(Ae); )
|
|
678
678
|
a.xb.push(Ut(l));
|
|
679
|
-
return
|
|
679
|
+
return T(a, "SequenceExpression");
|
|
680
680
|
}
|
|
681
681
|
return c;
|
|
682
682
|
}
|
|
683
683
|
function Ut(a) {
|
|
684
684
|
var l = Ft(Wt(), -1, a);
|
|
685
|
-
if (
|
|
686
|
-
var c =
|
|
687
|
-
c.test = l, c.da = Q(!0),
|
|
685
|
+
if (W(ur)) {
|
|
686
|
+
var c = ue(l);
|
|
687
|
+
c.test = l, c.da = Q(!0), L(nt), c.alternate = Q(!0, a), l = T(c, "ConditionalExpression");
|
|
688
688
|
}
|
|
689
|
-
return
|
|
689
|
+
return x.Cb ? (c = ue(l), c.operator = ae, c.left = l, $(), c.right = Ut(a), wt(l), T(c, "AssignmentExpression")) : l;
|
|
690
690
|
}
|
|
691
691
|
function Ft(a, l, c) {
|
|
692
|
-
var h =
|
|
693
|
-
if (h !== null && (!c ||
|
|
694
|
-
var
|
|
695
|
-
return
|
|
692
|
+
var h = x.L;
|
|
693
|
+
if (h !== null && (!c || x !== It) && h > l) {
|
|
694
|
+
var R = ue(a);
|
|
695
|
+
return R.left = a, R.operator = ae, a = x, $(), R.right = Ft(Wt(), h, c), h = T(R, a === hr || a === fr ? "LogicalExpression" : "BinaryExpression"), Ft(h, l, c);
|
|
696
696
|
}
|
|
697
697
|
return a;
|
|
698
698
|
}
|
|
699
699
|
function Wt() {
|
|
700
|
-
if (
|
|
701
|
-
var a =
|
|
702
|
-
return a.operator =
|
|
700
|
+
if (x.prefix) {
|
|
701
|
+
var a = K(), l = x.$b;
|
|
702
|
+
return a.operator = ae, Ze = a.prefix = !0, $(), a.K = Wt(), l ? wt(a.K) : oe && a.operator === "delete" && a.K.type === "Identifier" && r(a.start, "Deleting local variable in strict mode"), T(a, l ? "UpdateExpression" : "UnaryExpression");
|
|
703
703
|
}
|
|
704
|
-
for (l =
|
|
705
|
-
a =
|
|
704
|
+
for (l = Ye(Tt()); x.cc && !Ct(); )
|
|
705
|
+
a = ue(l), a.operator = ae, a.prefix = !1, a.K = l, wt(l), $(), l = T(a, "UpdateExpression");
|
|
706
706
|
return l;
|
|
707
707
|
}
|
|
708
|
-
function
|
|
709
|
-
if (
|
|
710
|
-
var c =
|
|
711
|
-
return c.object = a, c.Wa =
|
|
708
|
+
function Ye(a, l) {
|
|
709
|
+
if (W(lr)) {
|
|
710
|
+
var c = ue(a);
|
|
711
|
+
return c.object = a, c.Wa = ve(!0), c.bb = !1, Ye(T(c, "MemberExpression"), l);
|
|
712
712
|
}
|
|
713
|
-
return
|
|
713
|
+
return W(tn) ? (c = ue(a), c.object = a, c.Wa = Q(), c.bb = !0, L(nn), Ye(T(c, "MemberExpression"), l)) : !l && W(ke) ? (c = ue(a), c.callee = a, c.arguments = Lt(he, !1), Ye(T(c, "CallExpression"), l)) : a;
|
|
714
714
|
}
|
|
715
|
-
function
|
|
716
|
-
switch (
|
|
715
|
+
function Tt() {
|
|
716
|
+
switch (x) {
|
|
717
717
|
case or:
|
|
718
|
-
var a =
|
|
719
|
-
return $(),
|
|
720
|
-
case
|
|
721
|
-
return
|
|
722
|
-
case
|
|
723
|
-
case
|
|
718
|
+
var a = K();
|
|
719
|
+
return $(), T(a, "ThisExpression");
|
|
720
|
+
case We:
|
|
721
|
+
return ve();
|
|
722
|
+
case et:
|
|
723
|
+
case Et:
|
|
724
724
|
case Hn:
|
|
725
|
-
return a =
|
|
725
|
+
return a = K(), a.value = ae, a.raw = k.slice(G, Fe), $(), T(a, "Literal");
|
|
726
726
|
case ir:
|
|
727
727
|
case sr:
|
|
728
728
|
case ar:
|
|
729
|
-
return a =
|
|
730
|
-
case
|
|
729
|
+
return a = K(), a.value = x.$a, a.raw = x.l, $(), T(a, "Literal");
|
|
730
|
+
case ke:
|
|
731
731
|
a = Kt;
|
|
732
732
|
var l = G;
|
|
733
733
|
$();
|
|
734
734
|
var c = Q();
|
|
735
|
-
return c.start = l, c.end =
|
|
735
|
+
return c.start = l, c.end = Fe, A.C && (c.X.start = a, c.X.end = Gt), A.Xa && (c.j = [l, Fe]), L(he), c;
|
|
736
736
|
case tn:
|
|
737
|
-
return a =
|
|
738
|
-
case
|
|
739
|
-
for (a =
|
|
737
|
+
return a = K(), $(), a.elements = Lt(nn, !0, !0), T(a, "ArrayExpression");
|
|
738
|
+
case tt:
|
|
739
|
+
for (a = K(), l = !0, c = !1, a.h = [], $(); !W(Me); ) {
|
|
740
740
|
if (l)
|
|
741
741
|
l = !1;
|
|
742
|
-
else if (
|
|
742
|
+
else if (L(Ae), A.sb && W(Me))
|
|
743
743
|
break;
|
|
744
744
|
var h = {
|
|
745
|
-
key:
|
|
746
|
-
},
|
|
747
|
-
if (
|
|
745
|
+
key: x === et || x === Et ? Tt() : ve(!0)
|
|
746
|
+
}, R = !1;
|
|
747
|
+
if (W(nt)) {
|
|
748
748
|
h.value = Q(!0);
|
|
749
749
|
var z = h.kind = "init";
|
|
750
750
|
} else
|
|
751
|
-
h.key.type !== "Identifier" || h.key.name !== "get" && h.key.name !== "set" ?
|
|
752
|
-
if (h.key.type === "Identifier" && (
|
|
753
|
-
for (var
|
|
754
|
-
var
|
|
755
|
-
if (
|
|
756
|
-
var on = z ===
|
|
757
|
-
on && !
|
|
751
|
+
h.key.type !== "Identifier" || h.key.name !== "get" && h.key.name !== "set" ? ye() : (R = c = !0, z = h.kind = h.key.name, h.key = x === et || x === Et ? Tt() : ve(!0), x !== ke && ye(), h.value = Mt(K(), !1));
|
|
752
|
+
if (h.key.type === "Identifier" && (oe || c))
|
|
753
|
+
for (var ee = 0; ee < a.h.length; ++ee) {
|
|
754
|
+
var He = a.h[ee];
|
|
755
|
+
if (He.key.name === h.key.name) {
|
|
756
|
+
var on = z === He.kind || R && He.kind === "init" || z === "init" && (He.kind === "get" || He.kind === "set");
|
|
757
|
+
on && !oe && z === "init" && He.kind === "init" && (on = !1), on && r(h.key.start, "Redefinition of property");
|
|
758
758
|
}
|
|
759
759
|
}
|
|
760
760
|
a.h.push(h);
|
|
761
761
|
}
|
|
762
|
-
return
|
|
762
|
+
return T(a, "ObjectExpression");
|
|
763
763
|
case Yt:
|
|
764
|
-
return a =
|
|
764
|
+
return a = K(), $(), Mt(a, !1);
|
|
765
765
|
case rr:
|
|
766
|
-
return a =
|
|
766
|
+
return a = K(), $(), a.callee = Ye(Tt(), !0), a.arguments = W(ke) ? Lt(he, !1) : bo, T(a, "NewExpression");
|
|
767
767
|
}
|
|
768
|
-
|
|
768
|
+
ye();
|
|
769
769
|
}
|
|
770
770
|
function Mt(a, l) {
|
|
771
|
-
|
|
771
|
+
x === We ? a.id = ve() : l ? ye() : a.id = null, a.oa = [];
|
|
772
772
|
var c = !0;
|
|
773
|
-
for (
|
|
774
|
-
c ? c = !1 :
|
|
775
|
-
c =
|
|
776
|
-
var h =
|
|
777
|
-
if (
|
|
773
|
+
for (L(ke); !W(he); )
|
|
774
|
+
c ? c = !1 : L(Ae), a.oa.push(ve());
|
|
775
|
+
c = Qe;
|
|
776
|
+
var h = H;
|
|
777
|
+
if (Qe = !0, H = [], a.body = Xe(!0), Qe = c, H = h, oe || a.body.body.length && ge(a.body.body[0])) {
|
|
778
778
|
for (c = a.id ? -1 : 0; c < a.oa.length; ++c)
|
|
779
|
-
if (h = 0 > c ? a.id : a.oa[c], (mr(h.name) ||
|
|
780
|
-
for (var
|
|
781
|
-
h.name === a.oa[
|
|
779
|
+
if (h = 0 > c ? a.id : a.oa[c], (mr(h.name) || xt(h.name)) && r(h.start, "Defining '" + h.name + "' in strict mode"), 0 <= c)
|
|
780
|
+
for (var R = 0; R < c; ++R)
|
|
781
|
+
h.name === a.oa[R].name && r(h.start, "Argument name clash in strict mode");
|
|
782
782
|
}
|
|
783
|
-
return
|
|
783
|
+
return T(a, l ? "FunctionDeclaration" : "FunctionExpression");
|
|
784
784
|
}
|
|
785
785
|
function Lt(a, l, c) {
|
|
786
|
-
for (var h = [],
|
|
787
|
-
if (
|
|
788
|
-
|
|
789
|
-
else if (
|
|
786
|
+
for (var h = [], R = !0; !W(a); ) {
|
|
787
|
+
if (R)
|
|
788
|
+
R = !1;
|
|
789
|
+
else if (L(Ae), l && A.sb && W(a))
|
|
790
790
|
break;
|
|
791
|
-
h.push(c &&
|
|
791
|
+
h.push(c && x === Ae ? null : Q(!0));
|
|
792
792
|
}
|
|
793
793
|
return h;
|
|
794
794
|
}
|
|
795
|
-
function
|
|
796
|
-
var l =
|
|
797
|
-
return a && A.yb === "everywhere" && (a = !1),
|
|
795
|
+
function ve(a) {
|
|
796
|
+
var l = K();
|
|
797
|
+
return a && A.yb === "everywhere" && (a = !1), x === We ? (!a && (A.yb && $o(ae) || oe && mr(ae)) && k.slice(G, Fe).indexOf("\\") === -1 && r(G, "The keyword '" + ae + "' is reserved"), l.name = ae) : a && x.l ? l.name = x.l : ye(), Ze = !1, $(), T(l, "Identifier");
|
|
798
798
|
}
|
|
799
799
|
e.version = "0.5.0";
|
|
800
|
-
var A, k = "",
|
|
800
|
+
var A, k = "", Ue, Ht;
|
|
801
801
|
e.parse = function(a, l) {
|
|
802
|
-
k = String(a),
|
|
802
|
+
k = String(a), Ue = k.length, A = l || {};
|
|
803
803
|
for (var c in Ln)
|
|
804
804
|
Object.prototype.hasOwnProperty.call(A, c) || (A[c] = Ln[c]);
|
|
805
|
-
for (Ht = A.sourceFile,
|
|
806
|
-
c = ce(), a.body.push(c), l &&
|
|
807
|
-
return
|
|
805
|
+
for (Ht = A.sourceFile, Ne = 1, d = be = 0, Ze = !0, p(), c = A.dc, qt = Re = d, A.C && (zt = new i()), Qe = oe = !1, H = [], b(), a = c || K(), l = !0, c || (a.body = []); x !== Jt; )
|
|
806
|
+
c = ce(), a.body.push(c), l && ge(c) && F(!0), l = !1;
|
|
807
|
+
return T(a, "Program");
|
|
808
808
|
};
|
|
809
809
|
var Ln = {
|
|
810
810
|
fc: !1,
|
|
@@ -817,13 +817,13 @@ var B, ti = function(e) {
|
|
|
817
817
|
dc: null,
|
|
818
818
|
sourceFile: null,
|
|
819
819
|
vb: null
|
|
820
|
-
}, d = 0, G = 0,
|
|
820
|
+
}, d = 0, G = 0, Fe = 0, Kt, Gt, x, ae, Ze, Ne, be, qt = 0, Re = 0, zt, Qe, H, oe, bo = [], et = {
|
|
821
821
|
type: "num"
|
|
822
822
|
}, Hn = {
|
|
823
823
|
type: "regexp"
|
|
824
|
-
},
|
|
824
|
+
}, Et = {
|
|
825
825
|
type: "string"
|
|
826
|
-
},
|
|
826
|
+
}, We = {
|
|
827
827
|
type: "name"
|
|
828
828
|
}, Jt = {
|
|
829
829
|
type: "eof"
|
|
@@ -886,7 +886,7 @@ var B, ti = function(e) {
|
|
|
886
886
|
}, ar = {
|
|
887
887
|
l: "false",
|
|
888
888
|
$a: !1
|
|
889
|
-
},
|
|
889
|
+
}, It = {
|
|
890
890
|
l: "in",
|
|
891
891
|
L: 7,
|
|
892
892
|
m: !0
|
|
@@ -914,7 +914,7 @@ var B, ti = function(e) {
|
|
|
914
914
|
true: sr,
|
|
915
915
|
false: ar,
|
|
916
916
|
new: rr,
|
|
917
|
-
in:
|
|
917
|
+
in: It,
|
|
918
918
|
instanceof: {
|
|
919
919
|
l: "instanceof",
|
|
920
920
|
L: 7,
|
|
@@ -941,23 +941,23 @@ var B, ti = function(e) {
|
|
|
941
941
|
m: !0
|
|
942
942
|
}, nn = {
|
|
943
943
|
type: "]"
|
|
944
|
-
},
|
|
944
|
+
}, tt = {
|
|
945
945
|
type: "{",
|
|
946
946
|
m: !0
|
|
947
|
-
},
|
|
947
|
+
}, Me = {
|
|
948
948
|
type: "}"
|
|
949
|
-
},
|
|
949
|
+
}, ke = {
|
|
950
950
|
type: "(",
|
|
951
951
|
m: !0
|
|
952
952
|
}, he = {
|
|
953
953
|
type: ")"
|
|
954
|
-
},
|
|
954
|
+
}, Ae = {
|
|
955
955
|
type: ",",
|
|
956
956
|
m: !0
|
|
957
|
-
},
|
|
957
|
+
}, Se = {
|
|
958
958
|
type: ";",
|
|
959
959
|
m: !0
|
|
960
|
-
},
|
|
960
|
+
}, nt = {
|
|
961
961
|
type: ":",
|
|
962
962
|
m: !0
|
|
963
963
|
}, lr = {
|
|
@@ -971,7 +971,7 @@ var B, ti = function(e) {
|
|
|
971
971
|
}, pr = {
|
|
972
972
|
Cb: !0,
|
|
973
973
|
m: !0
|
|
974
|
-
},
|
|
974
|
+
}, Ve = {
|
|
975
975
|
Cb: !0,
|
|
976
976
|
m: !0
|
|
977
977
|
}, So = {
|
|
@@ -1012,7 +1012,7 @@ var B, ti = function(e) {
|
|
|
1012
1012
|
}, Ao = {
|
|
1013
1013
|
L: 10,
|
|
1014
1014
|
m: !0
|
|
1015
|
-
}, $o = o("class enum extends super const export import"), mr = o("implements interface let package private protected public static yield"),
|
|
1015
|
+
}, $o = o("class enum extends super const export import"), mr = o("implements interface let package private protected public static yield"), xt = o("eval arguments"), Po = o("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"), Oo = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, gr = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"), jo = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"), Rt = /[\n\r\u2028\u2029]/, At = /\r\n|[\n\r\u2028\u2029]/g, Le, rn = {
|
|
1016
1016
|
kind: "loop"
|
|
1017
1017
|
}, Bo = {
|
|
1018
1018
|
kind: "switch"
|
|
@@ -1020,7 +1020,7 @@ var B, ti = function(e) {
|
|
|
1020
1020
|
}, hn = hn = typeof globalThis > "u" ? void 0 : globalThis;
|
|
1021
1021
|
ti(hn.j || (hn.j = {}));
|
|
1022
1022
|
function f(e, t) {
|
|
1023
|
-
typeof e == "string" && (e =
|
|
1023
|
+
typeof e == "string" && (e = Ge(e, "code"));
|
|
1024
1024
|
var n = e.constructor;
|
|
1025
1025
|
this.ya = function() {
|
|
1026
1026
|
return new n({
|
|
@@ -1034,8 +1034,8 @@ function f(e, t) {
|
|
|
1034
1034
|
var i, s;
|
|
1035
1035
|
for (s in this)
|
|
1036
1036
|
typeof this[s] == "function" && (i = s.match(e)) && (this.rb[i[1]] = this[s].bind(this));
|
|
1037
|
-
this.N = mn(this, this.ra, null), this.Na = this.N.object, this.ra =
|
|
1038
|
-
`), "polyfills"), this.ba = void 0,
|
|
1037
|
+
this.N = mn(this, this.ra, null), this.Na = this.N.object, this.ra = Ge(this.ba.join(`
|
|
1038
|
+
`), "polyfills"), this.ba = void 0, Nt(this.ra), i = new C(this.ra, this.N), i.done = !1, this.o = [i], this.Eb(), this.value = void 0, this.ra = r, i = new C(this.ra, this.N), i.done = !1, this.o.length = 0, this.o[0] = i;
|
|
1039
1039
|
}
|
|
1040
1040
|
var yr = {
|
|
1041
1041
|
C: !0,
|
|
@@ -1048,11 +1048,11 @@ var yr = {
|
|
|
1048
1048
|
configurable: !0,
|
|
1049
1049
|
enumerable: !1,
|
|
1050
1050
|
writable: !0
|
|
1051
|
-
},
|
|
1051
|
+
}, ne = {
|
|
1052
1052
|
configurable: !0,
|
|
1053
1053
|
enumerable: !1,
|
|
1054
1054
|
writable: !1
|
|
1055
|
-
},
|
|
1055
|
+
}, ot = {
|
|
1056
1056
|
configurable: !1,
|
|
1057
1057
|
enumerable: !1,
|
|
1058
1058
|
writable: !1
|
|
@@ -1062,27 +1062,27 @@ var yr = {
|
|
|
1062
1062
|
writable: !0
|
|
1063
1063
|
}, Fr = {
|
|
1064
1064
|
STEP_ERROR: !0
|
|
1065
|
-
},
|
|
1065
|
+
}, ze = {
|
|
1066
1066
|
SCOPE_REFERENCE: !0
|
|
1067
|
-
},
|
|
1067
|
+
}, mt = {
|
|
1068
1068
|
VALUE_IN_DESCRIPTOR: !0
|
|
1069
|
-
},
|
|
1069
|
+
}, Ke = {
|
|
1070
1070
|
REGEXP_TIMEOUT: !0
|
|
1071
|
-
}, br = [],
|
|
1071
|
+
}, br = [], we = null, ct = null, Pe = typeof globalThis > "u" ? void 0 : globalThis, ni = ["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();", "};"];
|
|
1072
1072
|
function Cn(e) {
|
|
1073
1073
|
var t = e >>> 0;
|
|
1074
1074
|
return t === Number(e) ? t : NaN;
|
|
1075
1075
|
}
|
|
1076
|
-
function
|
|
1076
|
+
function pt(e) {
|
|
1077
1077
|
var t = e >>> 0;
|
|
1078
1078
|
return String(t) === String(e) && t !== 4294967295 ? t : NaN;
|
|
1079
1079
|
}
|
|
1080
|
-
function
|
|
1080
|
+
function Nt(e, t, n) {
|
|
1081
1081
|
t ? e.start = t : delete e.start, n ? e.end = n : delete e.end;
|
|
1082
1082
|
for (var r in e)
|
|
1083
1083
|
if (r !== "loc" && e.hasOwnProperty(r)) {
|
|
1084
1084
|
var o = e[r];
|
|
1085
|
-
o && typeof o == "object" &&
|
|
1085
|
+
o && typeof o == "object" && Nt(o, t, n);
|
|
1086
1086
|
}
|
|
1087
1087
|
}
|
|
1088
1088
|
f.prototype.REGEXP_MODE = 2;
|
|
@@ -1093,19 +1093,19 @@ B.P = !1;
|
|
|
1093
1093
|
B.Ka = !1;
|
|
1094
1094
|
B.Kb = 0;
|
|
1095
1095
|
B.ic = 0;
|
|
1096
|
-
function
|
|
1096
|
+
function Ge(e, t) {
|
|
1097
1097
|
var n = {}, r;
|
|
1098
1098
|
for (r in yr)
|
|
1099
1099
|
n[r] = yr[r];
|
|
1100
|
-
return n.sourceFile = t,
|
|
1100
|
+
return n.sourceFile = t, Pe.j.parse(e, n);
|
|
1101
1101
|
}
|
|
1102
1102
|
B.Jb = function(e) {
|
|
1103
1103
|
var t = this.o[0];
|
|
1104
1104
|
if (!t || t.node.type !== "Program")
|
|
1105
1105
|
throw Error("Expecting original AST to start with a Program node");
|
|
1106
|
-
if (typeof e == "string" && (e =
|
|
1106
|
+
if (typeof e == "string" && (e = Ge(e, "appendCode" + this.Kb++)), !e || e.type !== "Program")
|
|
1107
1107
|
throw Error("Expecting new AST to start with a Program node");
|
|
1108
|
-
|
|
1108
|
+
gt(this, e, t.scope), Array.prototype.push.apply(t.node.body, e.body), t.node.body.jb = null, t.done = !1;
|
|
1109
1109
|
};
|
|
1110
1110
|
B.lb = function() {
|
|
1111
1111
|
var e = this.o, t;
|
|
@@ -1127,15 +1127,15 @@ B.lb = function() {
|
|
|
1127
1127
|
break;
|
|
1128
1128
|
}
|
|
1129
1129
|
r = n.node;
|
|
1130
|
-
var o =
|
|
1131
|
-
|
|
1130
|
+
var o = ct;
|
|
1131
|
+
ct = this;
|
|
1132
1132
|
try {
|
|
1133
1133
|
var i = this.rb[r.type](e, n, r);
|
|
1134
1134
|
} catch (s) {
|
|
1135
1135
|
if (s !== Fr)
|
|
1136
1136
|
throw this.value !== s && (this.value = void 0), s;
|
|
1137
1137
|
} finally {
|
|
1138
|
-
|
|
1138
|
+
ct = o;
|
|
1139
1139
|
}
|
|
1140
1140
|
if (i && e.push(i), this.P)
|
|
1141
1141
|
throw this.value = void 0, Error("Getter not supported in this context");
|
|
@@ -1151,7 +1151,7 @@ B.Eb = function() {
|
|
|
1151
1151
|
return this.za;
|
|
1152
1152
|
};
|
|
1153
1153
|
function ri(e, t) {
|
|
1154
|
-
e.g(t, "NaN", NaN,
|
|
1154
|
+
e.g(t, "NaN", NaN, ot), e.g(t, "Infinity", 1 / 0, ot), e.g(t, "undefined", void 0, ot), e.g(t, "window", t, Sn), e.g(t, "this", t, ot), e.g(t, "self", t), e.M = new P(null), e.Z = new P(e.M), oi(e, t), ii(e, t), t.xa = e.M, e.g(t, "constructor", e.v, S), si(e, t), ai(e, t), li(e, t), ui(e, t), ci(e, t), pi(e, t), di(e, t), hi(e, t), fi(e, t);
|
|
1155
1155
|
var n = e.i(function() {
|
|
1156
1156
|
throw EvalError("Can't happen");
|
|
1157
1157
|
}, !1);
|
|
@@ -1189,14 +1189,14 @@ function oi(e, t) {
|
|
|
1189
1189
|
s = s.join(", ");
|
|
1190
1190
|
}
|
|
1191
1191
|
try {
|
|
1192
|
-
var m =
|
|
1192
|
+
var m = Ge("(function(" + s + ") {" + i + "})", "function" + e.Wb++);
|
|
1193
1193
|
} catch (b) {
|
|
1194
1194
|
w(e, e.T, "Invalid code: " + b.message);
|
|
1195
1195
|
}
|
|
1196
1196
|
return m.body.length !== 1 && w(e, e.T, "Invalid code in function body"), En(e, m.body[0].la, e.N, "anonymous");
|
|
1197
1197
|
};
|
|
1198
1198
|
e.O = e.i(r, !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() {
|
|
1199
|
-
}, e.Z.Ta.id = e.Ya++, e.Z.Ab = !0, e.g(e.Z, "length", 0,
|
|
1199
|
+
}, e.Z.Ta.id = e.Ya++, e.Z.Ab = !0, e.g(e.Z, "length", 0, ne), e.Z.H = "Function", r = function(o, i) {
|
|
1200
1200
|
var s = e.o[e.o.length - 1];
|
|
1201
1201
|
s.U = this, s.B = o, s.F = [], i != null && (i instanceof P ? s.F = Wr(e, i) : w(e, e.j, "CreateListFromArrayLike called on non-object")), s.eb = !1;
|
|
1202
1202
|
}, _(e, e.O, "apply", r), r = function(o) {
|
|
@@ -1217,28 +1217,28 @@ function ii(e, t) {
|
|
|
1217
1217
|
}
|
|
1218
1218
|
var r = function(o) {
|
|
1219
1219
|
if (o == null)
|
|
1220
|
-
return
|
|
1220
|
+
return Ie(e) ? this : e.s(e.M);
|
|
1221
1221
|
if (!(o instanceof P)) {
|
|
1222
|
-
var i = e.s(
|
|
1222
|
+
var i = e.s(Te(e, o));
|
|
1223
1223
|
return i.data = o, i;
|
|
1224
1224
|
}
|
|
1225
1225
|
return o;
|
|
1226
1226
|
};
|
|
1227
1227
|
e.v = e.i(r, !0), e.g(e.v, "prototype", e.M, S), e.g(e.M, "constructor", e.v, S), e.g(t, "Object", e.v, S), r = function(o) {
|
|
1228
|
-
return n(o),
|
|
1228
|
+
return n(o), Ce(e, Object.getOwnPropertyNames(o instanceof P ? o.h : o));
|
|
1229
1229
|
}, e.g(e.v, "getOwnPropertyNames", e.i(r, !1), S), r = function(o) {
|
|
1230
|
-
return n(o), o instanceof P && (o = o.h),
|
|
1230
|
+
return n(o), o instanceof P && (o = o.h), Ce(e, Object.keys(o));
|
|
1231
1231
|
}, e.g(e.v, "keys", e.i(r, !1), S), r = function(o) {
|
|
1232
1232
|
return o === null ? e.s(null) : (o instanceof P || w(e, e.j, "Object prototype may only be an Object or null, not " + o), e.s(o));
|
|
1233
1233
|
}, e.g(e.v, "create", e.i(r, !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;", "};", "})();", ""), r = function(o, i, s) {
|
|
1234
|
-
return i = String(i), o instanceof P || w(e, e.j, "Object.defineProperty called on non-object: " + o), s instanceof P || w(e, e.j, "Property description must be an object"), !o.preventExtensions || i in o.h || w(e, e.j, "Can't define property '" + i + "', object is not extensible"), e.g(o, i,
|
|
1234
|
+
return i = String(i), o instanceof P || w(e, e.j, "Object.defineProperty called on non-object: " + o), s instanceof P || w(e, e.j, "Property description must be an object"), !o.preventExtensions || i in o.h || w(e, e.j, "Can't define property '" + i + "', object is not extensible"), e.g(o, i, mt, s.h), o;
|
|
1235
1235
|
}, e.g(e.v, "defineProperty", e.i(r, !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;", "}", "});", ""), r = function(o, i) {
|
|
1236
1236
|
if (o instanceof P || w(e, e.j, "Object.getOwnPropertyDescriptor called on non-object: " + o), i = String(i), i in o.h) {
|
|
1237
1237
|
var s = Object.getOwnPropertyDescriptor(o.h, i), u = o.V[i];
|
|
1238
1238
|
return o = o.Y[i], i = e.s(e.M), u || o ? (e.g(i, "get", u), e.g(i, "set", o)) : (e.g(i, "value", s.value), e.g(i, "writable", s.writable)), e.g(i, "configurable", s.configurable), e.g(i, "enumerable", s.enumerable), i;
|
|
1239
1239
|
}
|
|
1240
1240
|
}, e.g(e.v, "getOwnPropertyDescriptor", e.i(r, !1), S), r = function(o) {
|
|
1241
|
-
return n(o),
|
|
1241
|
+
return n(o), Te(e, o);
|
|
1242
1242
|
}, e.g(e.v, "getPrototypeOf", e.i(r, !1), S), r = function(o) {
|
|
1243
1243
|
return !!o && !o.preventExtensions;
|
|
1244
1244
|
}, e.g(e.v, "isExtensible", e.i(r, !1), S), r = function(o) {
|
|
@@ -1249,7 +1249,7 @@ function ii(e, t) {
|
|
|
1249
1249
|
return n(this), this instanceof P ? Object.prototype.propertyIsEnumerable.call(this.h, o) : this.propertyIsEnumerable(o);
|
|
1250
1250
|
}, _(e, e.v, "propertyIsEnumerable", r), r = function(o) {
|
|
1251
1251
|
for (; ; ) {
|
|
1252
|
-
if (o =
|
|
1252
|
+
if (o = Te(e, o), !o)
|
|
1253
1253
|
return !1;
|
|
1254
1254
|
if (o === this)
|
|
1255
1255
|
return !0;
|
|
@@ -1258,7 +1258,7 @@ function ii(e, t) {
|
|
|
1258
1258
|
}
|
|
1259
1259
|
function si(e, t) {
|
|
1260
1260
|
var n = function(r) {
|
|
1261
|
-
var o =
|
|
1261
|
+
var o = Ie(e) ? this : qe(e), i = arguments[0];
|
|
1262
1262
|
if (arguments.length === 1 && typeof i == "number")
|
|
1263
1263
|
isNaN(Cn(i)) && w(e, e.ob, "Invalid array length: " + i), o.h.length = i;
|
|
1264
1264
|
else {
|
|
@@ -1278,7 +1278,7 @@ function si(e, t) {
|
|
|
1278
1278
|
}
|
|
1279
1279
|
function ai(e, t) {
|
|
1280
1280
|
var n = function(r) {
|
|
1281
|
-
return r = arguments.length ?
|
|
1281
|
+
return r = arguments.length ? Pe.String(r) : "", Ie(e) ? (this.data = r, this) : r;
|
|
1282
1282
|
};
|
|
1283
1283
|
for (e.J = e.i(n, !0), e.g(t, "String", e.J, S), e.g(e.J, "fromCharCode", e.i(String.fromCharCode, !1), S), t = "charAt charCodeAt concat indexOf lastIndexOf slice substr substring toLocaleLowerCase toLocaleUpperCase toLowerCase toUpperCase trim".split(" "), n = 0; n < t.length; n++)
|
|
1284
1284
|
_(e, e.J, t[n], String.prototype[t[n]]);
|
|
@@ -1291,65 +1291,65 @@ function ai(e, t) {
|
|
|
1291
1291
|
}
|
|
1292
1292
|
}, _(e, e.J, "localeCompare", n), n = function(r, o, i) {
|
|
1293
1293
|
var s = String(this);
|
|
1294
|
-
if (o = o ? Number(o) : void 0, X(e, r, e.I) && (r = r.data,
|
|
1295
|
-
if (
|
|
1296
|
-
r =
|
|
1294
|
+
if (o = o ? Number(o) : void 0, X(e, r, e.I) && (r = r.data, st(e, r, i), e.REGEXP_MODE === 2)) {
|
|
1295
|
+
if (we)
|
|
1296
|
+
r = it(e, "string.split(separator, limit)", {
|
|
1297
1297
|
string: s,
|
|
1298
1298
|
separator: r,
|
|
1299
1299
|
limit: o
|
|
1300
|
-
}, r, i), r !==
|
|
1300
|
+
}, r, i), r !== Ke && i(Ce(e, r));
|
|
1301
1301
|
else {
|
|
1302
|
-
var u = e.ha(), p =
|
|
1302
|
+
var u = e.ha(), p = at(e, r, u, i);
|
|
1303
1303
|
u.onmessage = function(m) {
|
|
1304
|
-
clearTimeout(p), i(
|
|
1304
|
+
clearTimeout(p), i(Ce(e, m.data));
|
|
1305
1305
|
}, u.postMessage(["split", s, r, o]);
|
|
1306
1306
|
}
|
|
1307
1307
|
return;
|
|
1308
1308
|
}
|
|
1309
|
-
r = s.split(r, o), i(
|
|
1310
|
-
},
|
|
1309
|
+
r = s.split(r, o), i(Ce(e, r));
|
|
1310
|
+
}, lt(e, e.J, "split", n), n = function(r, o) {
|
|
1311
1311
|
var i = String(this);
|
|
1312
|
-
if (r = X(e, r, e.I) ? r.data : new RegExp(r),
|
|
1313
|
-
if (
|
|
1314
|
-
r =
|
|
1312
|
+
if (r = X(e, r, e.I) ? r.data : new RegExp(r), st(e, r, o), e.REGEXP_MODE === 2)
|
|
1313
|
+
if (we)
|
|
1314
|
+
r = it(e, "string.match(regexp)", {
|
|
1315
1315
|
string: i,
|
|
1316
1316
|
regexp: r
|
|
1317
|
-
}, r, o), r !==
|
|
1317
|
+
}, r, o), r !== Ke && o(r && Ce(e, r));
|
|
1318
1318
|
else {
|
|
1319
|
-
var s = e.ha(), u =
|
|
1319
|
+
var s = e.ha(), u = at(e, r, s, o);
|
|
1320
1320
|
s.onmessage = function(p) {
|
|
1321
|
-
clearTimeout(u), o(p.data &&
|
|
1321
|
+
clearTimeout(u), o(p.data && Ce(e, p.data));
|
|
1322
1322
|
}, s.postMessage(["match", i, r]);
|
|
1323
1323
|
}
|
|
1324
1324
|
else
|
|
1325
|
-
r = i.match(r), o(r &&
|
|
1326
|
-
},
|
|
1325
|
+
r = i.match(r), o(r && Ce(e, r));
|
|
1326
|
+
}, lt(e, e.J, "match", n), n = function(r, o) {
|
|
1327
1327
|
var i = String(this);
|
|
1328
|
-
if (X(e, r, e.I) ? r = r.data : r = new RegExp(r),
|
|
1329
|
-
if (
|
|
1330
|
-
r =
|
|
1328
|
+
if (X(e, r, e.I) ? r = r.data : r = new RegExp(r), st(e, r, o), e.REGEXP_MODE === 2)
|
|
1329
|
+
if (we)
|
|
1330
|
+
r = it(e, "string.search(regexp)", {
|
|
1331
1331
|
string: i,
|
|
1332
1332
|
regexp: r
|
|
1333
|
-
}, r, o), r !==
|
|
1333
|
+
}, r, o), r !== Ke && o(r);
|
|
1334
1334
|
else {
|
|
1335
|
-
var s = e.ha(), u =
|
|
1335
|
+
var s = e.ha(), u = at(e, r, s, o);
|
|
1336
1336
|
s.onmessage = function(p) {
|
|
1337
1337
|
clearTimeout(u), o(p.data);
|
|
1338
1338
|
}, s.postMessage(["search", i, r]);
|
|
1339
1339
|
}
|
|
1340
1340
|
else
|
|
1341
1341
|
o(i.search(r));
|
|
1342
|
-
},
|
|
1342
|
+
}, lt(e, e.J, "search", n), n = function(r, o, i) {
|
|
1343
1343
|
var s = String(this);
|
|
1344
|
-
if (o = String(o), X(e, r, e.I) && (r = r.data,
|
|
1345
|
-
if (
|
|
1346
|
-
r =
|
|
1344
|
+
if (o = String(o), X(e, r, e.I) && (r = r.data, st(e, r, i), e.REGEXP_MODE === 2)) {
|
|
1345
|
+
if (we)
|
|
1346
|
+
r = it(e, "string.replace(substr, newSubstr)", {
|
|
1347
1347
|
string: s,
|
|
1348
1348
|
substr: r,
|
|
1349
1349
|
newSubstr: o
|
|
1350
|
-
}, r, i), r !==
|
|
1350
|
+
}, r, i), r !== Ke && i(r);
|
|
1351
1351
|
else {
|
|
1352
|
-
var u = e.ha(), p =
|
|
1352
|
+
var u = e.ha(), p = at(e, r, u, i);
|
|
1353
1353
|
u.onmessage = function(m) {
|
|
1354
1354
|
clearTimeout(p), i(m.data);
|
|
1355
1355
|
}, u.postMessage(["replace", s, r, o]);
|
|
@@ -1357,19 +1357,19 @@ function ai(e, t) {
|
|
|
1357
1357
|
return;
|
|
1358
1358
|
}
|
|
1359
1359
|
i(s.replace(r, o));
|
|
1360
|
-
},
|
|
1360
|
+
}, lt(e, e.J, "replace", n), e.ba.push("(function() {", "var replace_ = String.prototype.replace;", "String.prototype.replace = function replace(substr, newSubstr) {", "if (typeof newSubstr !== 'function') {", "return replace_.call(this, substr, newSubstr);", "}", "var str = this;", "if (substr instanceof RegExp) {", "var subs = [];", "var m = substr.exec(str);", "while (m) {", "m.push(m.index, str);", "var inject = newSubstr.apply(null, m);", "subs.push([m.index, m[0].length, inject]);", "m = substr.global ? substr.exec(str) : null;", "}", "for (var i = subs.length - 1; i >= 0; i--) {", "str = str.substring(0, subs[i][0]) + subs[i][2] + str.substring(subs[i][0] + subs[i][1]);", "}", "} else {", "var i = str.indexOf(substr);", "if (i !== -1) {", "var inject = newSubstr(str.substr(i, substr.length), i, str);", "str = str.substring(0, i) + inject + str.substring(i + substr.length);", "}", "}", "return str;", "};", "})();", "");
|
|
1361
1361
|
}
|
|
1362
1362
|
function li(e, t) {
|
|
1363
1363
|
e.mb = e.i(function(n) {
|
|
1364
|
-
return n =
|
|
1364
|
+
return n = Pe.Boolean(n), Ie(e) ? (this.data = n, this) : n;
|
|
1365
1365
|
}, !0), e.g(t, "Boolean", e.mb, S);
|
|
1366
1366
|
}
|
|
1367
1367
|
function ui(e, t) {
|
|
1368
1368
|
var n = function(r) {
|
|
1369
|
-
return r = arguments.length ?
|
|
1369
|
+
return r = arguments.length ? Pe.Number(r) : 0, Ie(e) ? (this.data = r, this) : r;
|
|
1370
1370
|
};
|
|
1371
1371
|
for (e.aa = e.i(n, !0), e.g(t, "Number", e.aa, S), t = ["MAX_VALUE", "MIN_VALUE", "NaN", "NEGATIVE_INFINITY", "POSITIVE_INFINITY"], n = 0; n < t.length; n++)
|
|
1372
|
-
e.g(e.aa, t[n], Number[t[n]],
|
|
1372
|
+
e.g(e.aa, t[n], Number[t[n]], ot);
|
|
1373
1373
|
n = function(r) {
|
|
1374
1374
|
try {
|
|
1375
1375
|
return Number(this).toExponential(r);
|
|
@@ -1405,10 +1405,10 @@ function ui(e, t) {
|
|
|
1405
1405
|
}
|
|
1406
1406
|
function ci(e, t) {
|
|
1407
1407
|
var n = function(o, i) {
|
|
1408
|
-
if (!
|
|
1409
|
-
return
|
|
1408
|
+
if (!Ie(e))
|
|
1409
|
+
return Pe.Date();
|
|
1410
1410
|
var s = [null].concat(Array.from(arguments));
|
|
1411
|
-
return this.data = new (Function.prototype.bind.apply(
|
|
1411
|
+
return this.data = new (Function.prototype.bind.apply(Pe.Date, s))(), this;
|
|
1412
1412
|
};
|
|
1413
1413
|
e.$ = e.i(n, !0), e.nb = e.$.h.prototype, e.g(t, "Date", e.$, S), e.g(e.$, "now", e.i(Date.now, !1), S), e.g(e.$, "parse", e.i(Date.parse, !1), S), e.g(e.$, "UTC", e.i(Date.UTC, !1), S), t = "getDate getDay getFullYear getHours getMilliseconds getMinutes getMonth getSeconds getTime getTimezoneOffset getUTCDate getUTCDay getUTCFullYear getUTCHours getUTCMilliseconds getUTCMinutes getUTCMonth getUTCSeconds getYear setDate setFullYear setHours setMilliseconds setMinutes setMonth setSeconds setTime setUTCDate setUTCFullYear setUTCHours setUTCMilliseconds setUTCMinutes setUTCMonth setUTCSeconds setYear toDateString toISOString toJSON toGMTString toLocaleDateString toLocaleString toLocaleTimeString toTimeString toUTCString".split(" ");
|
|
1414
1414
|
for (var r = 0; r < t.length; r++)
|
|
@@ -1424,7 +1424,7 @@ function ci(e, t) {
|
|
|
1424
1424
|
}
|
|
1425
1425
|
function pi(e, t) {
|
|
1426
1426
|
var n = function(r, o) {
|
|
1427
|
-
if (
|
|
1427
|
+
if (Ie(e))
|
|
1428
1428
|
var i = this;
|
|
1429
1429
|
else {
|
|
1430
1430
|
if (o === void 0 && X(e, r, e.I))
|
|
@@ -1433,47 +1433,47 @@ function pi(e, t) {
|
|
|
1433
1433
|
}
|
|
1434
1434
|
r = r === void 0 ? "" : String(r), o = o ? String(o) : "", /^[gmi]*$/.test(o) || w(e, e.T, "Invalid regexp flag: " + o);
|
|
1435
1435
|
try {
|
|
1436
|
-
var s = new
|
|
1436
|
+
var s = new Pe.RegExp(r, o);
|
|
1437
1437
|
} catch (u) {
|
|
1438
1438
|
w(e, e.T, u.message);
|
|
1439
1439
|
}
|
|
1440
1440
|
return wn(e, i, s), i;
|
|
1441
1441
|
};
|
|
1442
|
-
e.I = e.i(n, !0), e.Ma = e.I.h.prototype, e.g(t, "RegExp", e.I, S), e.g(e.I.h.prototype, "global", void 0,
|
|
1442
|
+
e.I = e.i(n, !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);", "}", "});"), n = function(r, o) {
|
|
1443
1443
|
function i(b) {
|
|
1444
1444
|
if (b) {
|
|
1445
|
-
var v =
|
|
1445
|
+
var v = Ce(e, b);
|
|
1446
1446
|
return e.g(v, "index", b.index), e.g(v, "input", b.input), v;
|
|
1447
1447
|
}
|
|
1448
1448
|
return null;
|
|
1449
1449
|
}
|
|
1450
1450
|
var s = this.data;
|
|
1451
|
-
if (r = String(r), s.lastIndex = Number(e.G(this, "lastIndex")),
|
|
1452
|
-
if (
|
|
1453
|
-
r =
|
|
1451
|
+
if (r = String(r), s.lastIndex = Number(e.G(this, "lastIndex")), st(e, s, o), e.REGEXP_MODE === 2)
|
|
1452
|
+
if (we)
|
|
1453
|
+
r = it(e, "regexp.exec(string)", {
|
|
1454
1454
|
string: r,
|
|
1455
1455
|
regexp: s
|
|
1456
|
-
}, s, o), r !==
|
|
1456
|
+
}, s, o), r !== Ke && (e.g(this, "lastIndex", s.lastIndex), o(i(r)));
|
|
1457
1457
|
else {
|
|
1458
|
-
var u = e.ha(), p =
|
|
1458
|
+
var u = e.ha(), p = at(e, s, u, o), m = this;
|
|
1459
1459
|
u.onmessage = function(b) {
|
|
1460
1460
|
clearTimeout(p), e.g(m, "lastIndex", b.data[1]), o(i(b.data[0]));
|
|
1461
1461
|
}, u.postMessage(["exec", s, s.lastIndex, r]);
|
|
1462
1462
|
}
|
|
1463
1463
|
else
|
|
1464
1464
|
r = s.exec(r), e.g(this, "lastIndex", s.lastIndex), o(i(r));
|
|
1465
|
-
},
|
|
1465
|
+
}, lt(e, e.I, "exec", n);
|
|
1466
1466
|
}
|
|
1467
1467
|
function di(e, t) {
|
|
1468
1468
|
function n(r) {
|
|
1469
1469
|
var o = e.i(function(i) {
|
|
1470
|
-
var s =
|
|
1470
|
+
var s = Ie(e) ? this : e.Aa(o);
|
|
1471
1471
|
return fn(e, s, i), s;
|
|
1472
1472
|
}, !0);
|
|
1473
1473
|
return e.g(o, "prototype", e.Aa(e.D), S), e.g(o.h.prototype, "name", r, S), e.g(t, r, o, S), o;
|
|
1474
1474
|
}
|
|
1475
1475
|
e.D = e.i(function(r) {
|
|
1476
|
-
var o =
|
|
1476
|
+
var o = Ie(e) ? this : e.Aa(e.D);
|
|
1477
1477
|
return fn(e, o, r), o;
|
|
1478
1478
|
}, !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), n("EvalError"), e.ob = n("RangeError"), e.pb = n("ReferenceError"), e.T = n("SyntaxError"), e.j = n("TypeError"), e.Gb = n("URIError");
|
|
1479
1479
|
}
|
|
@@ -1482,7 +1482,7 @@ function hi(e, t) {
|
|
|
1482
1482
|
e.g(t, "Math", n, S);
|
|
1483
1483
|
var r = "E LN2 LN10 LOG2E LOG10E PI SQRT1_2 SQRT2".split(" ");
|
|
1484
1484
|
for (t = 0; t < r.length; t++)
|
|
1485
|
-
e.g(n, r[t], Math[r[t]],
|
|
1485
|
+
e.g(n, r[t], Math[r[t]], ne);
|
|
1486
1486
|
for (r = "abs acos asin atan atan2 ceil cos exp floor log max min pow random round sin sqrt tan".split(" "), t = 0; t < r.length; t++)
|
|
1487
1487
|
e.g(n, r[t], e.i(Math[r[t]], !1), S);
|
|
1488
1488
|
}
|
|
@@ -1512,7 +1512,7 @@ function X(e, t, n) {
|
|
|
1512
1512
|
return !1;
|
|
1513
1513
|
if (n = n.h.prototype, t === n)
|
|
1514
1514
|
return !0;
|
|
1515
|
-
for (t =
|
|
1515
|
+
for (t = Te(e, t); t; ) {
|
|
1516
1516
|
if (t === n)
|
|
1517
1517
|
return !0;
|
|
1518
1518
|
t = t.xa;
|
|
@@ -1520,7 +1520,7 @@ function X(e, t, n) {
|
|
|
1520
1520
|
return !1;
|
|
1521
1521
|
}
|
|
1522
1522
|
function wn(e, t, n) {
|
|
1523
|
-
t.data = new RegExp(n.source, n.flags), e.g(t, "lastIndex", n.lastIndex, S), e.g(t, "source", n.source,
|
|
1523
|
+
t.data = new RegExp(n.source, n.flags), e.g(t, "lastIndex", n.lastIndex, S), e.g(t, "source", n.source, ne), e.g(t, "global", n.global, ne), e.g(t, "ignoreCase", n.ignoreCase, ne), e.g(t, "multiline", n.multiline, ne);
|
|
1524
1524
|
}
|
|
1525
1525
|
function fn(e, t, n) {
|
|
1526
1526
|
n && e.g(t, "message", String(n), S), n = [];
|
|
@@ -1546,37 +1546,37 @@ B.ha = function() {
|
|
|
1546
1546
|
type: "application/javascript"
|
|
1547
1547
|
}), this.ha.Mb = e), new Worker(URL.createObjectURL(e));
|
|
1548
1548
|
};
|
|
1549
|
-
function
|
|
1549
|
+
function it(e, t, n, r, o) {
|
|
1550
1550
|
var i = {
|
|
1551
1551
|
timeout: e.REGEXP_THREAD_TIMEOUT
|
|
1552
1552
|
};
|
|
1553
1553
|
try {
|
|
1554
|
-
return
|
|
1554
|
+
return we.runInNewContext(t, n, i);
|
|
1555
1555
|
} catch {
|
|
1556
1556
|
o(null), w(e, e.D, "RegExp Timeout: " + r);
|
|
1557
1557
|
}
|
|
1558
|
-
return
|
|
1558
|
+
return Ke;
|
|
1559
1559
|
}
|
|
1560
|
-
function
|
|
1560
|
+
function st(e, t, n) {
|
|
1561
1561
|
if (e.REGEXP_MODE === 0)
|
|
1562
1562
|
var r = !1;
|
|
1563
1563
|
else if (e.REGEXP_MODE === 1)
|
|
1564
1564
|
r = !0;
|
|
1565
|
-
else if (
|
|
1565
|
+
else if (we)
|
|
1566
1566
|
r = !0;
|
|
1567
1567
|
else if (typeof Worker == "function" && typeof URL == "function")
|
|
1568
1568
|
r = !0;
|
|
1569
1569
|
else if (typeof require == "function") {
|
|
1570
1570
|
try {
|
|
1571
|
-
|
|
1571
|
+
we = require("vm");
|
|
1572
1572
|
} catch {
|
|
1573
1573
|
}
|
|
1574
|
-
r = !!
|
|
1574
|
+
r = !!we;
|
|
1575
1575
|
} else
|
|
1576
1576
|
r = !1;
|
|
1577
1577
|
r || (n(null), w(e, e.D, "Regular expressions not supported: " + t));
|
|
1578
1578
|
}
|
|
1579
|
-
function
|
|
1579
|
+
function at(e, t, n, r) {
|
|
1580
1580
|
return setTimeout(function() {
|
|
1581
1581
|
n.terminate(), r(null);
|
|
1582
1582
|
try {
|
|
@@ -1593,7 +1593,7 @@ B.s = function(e) {
|
|
|
1593
1593
|
throw Error("Non object prototype");
|
|
1594
1594
|
return e = new P(e), X(this, e, this.D) && (e.H = "Error"), e;
|
|
1595
1595
|
};
|
|
1596
|
-
function
|
|
1596
|
+
function qe(e) {
|
|
1597
1597
|
var t = e.s(e.La);
|
|
1598
1598
|
return e.g(t, "length", 0, {
|
|
1599
1599
|
configurable: !1,
|
|
@@ -1603,18 +1603,18 @@ function He(e) {
|
|
|
1603
1603
|
}
|
|
1604
1604
|
function Tn(e, t, n) {
|
|
1605
1605
|
var r = e.s(e.Z);
|
|
1606
|
-
return n ? (n = e.s(e.M), e.g(r, "prototype", n, S), e.g(n, "constructor", r, S)) : r.Ab = !0, e.g(r, "length", t,
|
|
1606
|
+
return n ? (n = e.s(e.M), e.g(r, "prototype", n, S), e.g(n, "constructor", r, S)) : r.Ab = !0, e.g(r, "length", t, ne), r.H = "Function", r;
|
|
1607
1607
|
}
|
|
1608
1608
|
function En(e, t, n, r) {
|
|
1609
1609
|
var o = Tn(e, t.oa.length, !0);
|
|
1610
|
-
return o.Va = n, o.node = t, e.g(o, "name", t.id ? String(t.id.name) : r || "",
|
|
1610
|
+
return o.Va = n, o.node = t, e.g(o, "name", t.id ? String(t.id.name) : r || "", ne), o;
|
|
1611
1611
|
}
|
|
1612
1612
|
B.i = function(e, t) {
|
|
1613
|
-
return t = Tn(this, e.length, t), t.Ta = e, e.id = this.Ya++, this.g(t, "name", e.name,
|
|
1613
|
+
return t = Tn(this, e.length, t), t.Ta = e, e.id = this.Ya++, this.g(t, "name", e.name, ne), t;
|
|
1614
1614
|
};
|
|
1615
1615
|
B.ub = function(e) {
|
|
1616
1616
|
var t = Tn(this, e.length, !0);
|
|
1617
|
-
return t.Za = e, e.id = this.Ya++, this.g(t, "name", e.name,
|
|
1617
|
+
return t.Za = e, e.id = this.Ya++, this.g(t, "name", e.name, ne), t;
|
|
1618
1618
|
};
|
|
1619
1619
|
B.Ia = function(e) {
|
|
1620
1620
|
if (e instanceof P)
|
|
@@ -1637,7 +1637,7 @@ B.Ia = function(e) {
|
|
|
1637
1637
|
}, !!t);
|
|
1638
1638
|
}
|
|
1639
1639
|
if (Array.isArray(e)) {
|
|
1640
|
-
t =
|
|
1640
|
+
t = qe(this);
|
|
1641
1641
|
for (var r = 0; r < e.length; r++)
|
|
1642
1642
|
r in e && this.g(t, r, this.Ia(e[r]));
|
|
1643
1643
|
return t;
|
|
@@ -1666,7 +1666,7 @@ B.R = function(e, t) {
|
|
|
1666
1666
|
if (t.hb.push(e), X(this, e, this.qa)) {
|
|
1667
1667
|
n = [], t.Sa.push(n);
|
|
1668
1668
|
for (var r = this.G(e, "length"), o = 0; o < r; o++)
|
|
1669
|
-
|
|
1669
|
+
Vt(this, e, o) && (n[o] = this.R(this.G(e, o), t));
|
|
1670
1670
|
} else
|
|
1671
1671
|
for (r in n = {}, t.Sa.push(n), e.h)
|
|
1672
1672
|
o = this.R(e.h[r], t), Object.defineProperty(n, r, {
|
|
@@ -1677,8 +1677,8 @@ B.R = function(e, t) {
|
|
|
1677
1677
|
});
|
|
1678
1678
|
return t.hb.pop(), t.Sa.pop(), n;
|
|
1679
1679
|
};
|
|
1680
|
-
function
|
|
1681
|
-
for (var n =
|
|
1680
|
+
function Ce(e, t) {
|
|
1681
|
+
for (var n = qe(e), r = Object.getOwnPropertyNames(t), o = 0; o < r.length; o++)
|
|
1682
1682
|
e.g(n, r[o], t[r[o]]);
|
|
1683
1683
|
return n;
|
|
1684
1684
|
}
|
|
@@ -1688,7 +1688,7 @@ function Wr(e, t) {
|
|
|
1688
1688
|
n[r] = e.G(t, r);
|
|
1689
1689
|
return n.length = Cn(e.G(t, "length")) || 0, n;
|
|
1690
1690
|
}
|
|
1691
|
-
function
|
|
1691
|
+
function Te(e, t) {
|
|
1692
1692
|
switch (typeof t) {
|
|
1693
1693
|
case "number":
|
|
1694
1694
|
return e.aa.h.prototype;
|
|
@@ -1708,29 +1708,29 @@ B.G = function(e, t) {
|
|
|
1708
1708
|
if (X(this, e, this.J))
|
|
1709
1709
|
return String(e).length;
|
|
1710
1710
|
} else if (64 > t.charCodeAt(0) && X(this, e, this.J)) {
|
|
1711
|
-
var n =
|
|
1711
|
+
var n = pt(t);
|
|
1712
1712
|
if (!isNaN(n) && n < String(e).length)
|
|
1713
1713
|
return String(e)[n];
|
|
1714
1714
|
}
|
|
1715
1715
|
do
|
|
1716
1716
|
if (e.h && t in e.h)
|
|
1717
1717
|
return (n = e.V[t]) ? (this.P = !0, n) : e.h[t];
|
|
1718
|
-
while (e =
|
|
1718
|
+
while (e = Te(this, e));
|
|
1719
1719
|
};
|
|
1720
|
-
function
|
|
1720
|
+
function Vt(e, t, n) {
|
|
1721
1721
|
if (!(t instanceof P))
|
|
1722
1722
|
throw TypeError("Primitive data type has no properties");
|
|
1723
1723
|
if (n = String(n), n === "length" && X(e, t, e.J))
|
|
1724
1724
|
return !0;
|
|
1725
1725
|
if (X(e, t, e.J)) {
|
|
1726
|
-
var r =
|
|
1726
|
+
var r = pt(n);
|
|
1727
1727
|
if (!isNaN(r) && r < String(t).length)
|
|
1728
1728
|
return !0;
|
|
1729
1729
|
}
|
|
1730
1730
|
do
|
|
1731
1731
|
if (t.h && n in t.h)
|
|
1732
1732
|
return !0;
|
|
1733
|
-
while (t =
|
|
1733
|
+
while (t = Te(e, t));
|
|
1734
1734
|
return !1;
|
|
1735
1735
|
}
|
|
1736
1736
|
B.g = function(e, t, n, r) {
|
|
@@ -1742,7 +1742,7 @@ B.g = function(e, t, n, r) {
|
|
|
1742
1742
|
var o = !this.o || In(this).S;
|
|
1743
1743
|
if (e instanceof P) {
|
|
1744
1744
|
if (X(this, e, this.J)) {
|
|
1745
|
-
var i =
|
|
1745
|
+
var i = pt(t);
|
|
1746
1746
|
if (t === "length" || !isNaN(i) && i < String(e).length) {
|
|
1747
1747
|
o && w(this, this.j, "Cannot assign to read only property '" + t + "' of String '" + e.data + "'");
|
|
1748
1748
|
return;
|
|
@@ -1757,14 +1757,14 @@ B.g = function(e, t, n, r) {
|
|
|
1757
1757
|
}
|
|
1758
1758
|
if (n = Cn(n), isNaN(n) && w(this, this.ob, "Invalid array length"), n < i)
|
|
1759
1759
|
for (s in e.h) {
|
|
1760
|
-
var s =
|
|
1760
|
+
var s = pt(s);
|
|
1761
1761
|
!isNaN(s) && n <= s && delete e.h[s];
|
|
1762
1762
|
}
|
|
1763
1763
|
} else
|
|
1764
|
-
isNaN(s =
|
|
1764
|
+
isNaN(s = pt(t)) || (e.h.length = Math.max(i, s + 1));
|
|
1765
1765
|
if (!e.preventExtensions || t in e.h)
|
|
1766
1766
|
if (r) {
|
|
1767
|
-
o = {}, "get" in r && r.get && (e.V[t] = r.get, o.get = this.g.ac), "set" in r && r.set && (e.Y[t] = r.set, o.set = this.g.bc), "configurable" in r && (o.configurable = r.configurable), "enumerable" in r && (o.enumerable = r.enumerable), "writable" in r && (o.writable = r.writable, delete e.V[t], delete e.Y[t]), "value" in r ? (o.value = r.value, delete e.V[t], delete e.Y[t]) : n !==
|
|
1767
|
+
o = {}, "get" in r && r.get && (e.V[t] = r.get, o.get = this.g.ac), "set" in r && r.set && (e.Y[t] = r.set, o.set = this.g.bc), "configurable" in r && (o.configurable = r.configurable), "enumerable" in r && (o.enumerable = r.enumerable), "writable" in r && (o.writable = r.writable, delete e.V[t], delete e.Y[t]), "value" in r ? (o.value = r.value, delete e.V[t], delete e.Y[t]) : n !== mt && (o.value = n, delete e.V[t], delete e.Y[t]);
|
|
1768
1768
|
try {
|
|
1769
1769
|
Object.defineProperty(e.h, t, o);
|
|
1770
1770
|
} catch {
|
|
@@ -1772,10 +1772,10 @@ B.g = function(e, t, n, r) {
|
|
|
1772
1772
|
}
|
|
1773
1773
|
"get" in r && !r.get && delete e.V[t], "set" in r && !r.set && delete e.Y[t];
|
|
1774
1774
|
} else {
|
|
1775
|
-
if (n ===
|
|
1775
|
+
if (n === mt)
|
|
1776
1776
|
throw ReferenceError("Value not specified");
|
|
1777
1777
|
for (r = e; !(t in r.h); )
|
|
1778
|
-
if (r =
|
|
1778
|
+
if (r = Te(this, r), !r) {
|
|
1779
1779
|
r = e;
|
|
1780
1780
|
break;
|
|
1781
1781
|
}
|
|
@@ -1804,7 +1804,7 @@ B.g.bc = function() {
|
|
|
1804
1804
|
function _(e, t, n, r) {
|
|
1805
1805
|
e.g(t.h.prototype, n, e.i(r, !1), S);
|
|
1806
1806
|
}
|
|
1807
|
-
function
|
|
1807
|
+
function lt(e, t, n, r) {
|
|
1808
1808
|
e.g(t.h.prototype, n, e.ub(r), S);
|
|
1809
1809
|
}
|
|
1810
1810
|
function In(e) {
|
|
@@ -1820,7 +1820,7 @@ function mn(e, t, n) {
|
|
|
1820
1820
|
var o = t.body && t.body[0];
|
|
1821
1821
|
o && o.la && o.la.type === "Literal" && o.la.value === "use strict" && (r = !0);
|
|
1822
1822
|
}
|
|
1823
|
-
return o = e.s(null), r = new Hr(n, r, o), n || ri(e, r.object),
|
|
1823
|
+
return o = e.s(null), r = new Hr(n, r, o), n || ri(e, r.object), gt(e, t, r), r;
|
|
1824
1824
|
}
|
|
1825
1825
|
function xn(e, t, n) {
|
|
1826
1826
|
if (!t)
|
|
@@ -1833,7 +1833,7 @@ function Rn(e, t) {
|
|
|
1833
1833
|
return n.object.h[t];
|
|
1834
1834
|
n = n.Va;
|
|
1835
1835
|
}
|
|
1836
|
-
if (n === e.N &&
|
|
1836
|
+
if (n === e.N && Vt(e, n.object, t))
|
|
1837
1837
|
return e.G(n.object, t);
|
|
1838
1838
|
n = e.o[e.o.length - 1].node, n.type === "UnaryExpression" && n.operator === "typeof" || w(e, e.pb, t + " is not defined");
|
|
1839
1839
|
}
|
|
@@ -1849,11 +1849,11 @@ function Mr(e, t, n) {
|
|
|
1849
1849
|
}
|
|
1850
1850
|
r = r.Va;
|
|
1851
1851
|
}
|
|
1852
|
-
if (r === e.N && (!o ||
|
|
1852
|
+
if (r === e.N && (!o || Vt(e, r.object, t)))
|
|
1853
1853
|
return e.g(r.object, t, n);
|
|
1854
1854
|
w(e, e.pb, t + " is not defined");
|
|
1855
1855
|
}
|
|
1856
|
-
function
|
|
1856
|
+
function gt(e, t, n) {
|
|
1857
1857
|
if (t.jb)
|
|
1858
1858
|
var r = t.jb;
|
|
1859
1859
|
else {
|
|
@@ -1886,12 +1886,12 @@ function ft(e, t, n) {
|
|
|
1886
1886
|
if (Array.isArray(u)) {
|
|
1887
1887
|
for (o = 0; o < u.length; o++)
|
|
1888
1888
|
if (u[o] && u[o].constructor === i) {
|
|
1889
|
-
var p =
|
|
1889
|
+
var p = gt(e, u[o], n);
|
|
1890
1890
|
for (s in p)
|
|
1891
1891
|
r[s] = p[s];
|
|
1892
1892
|
}
|
|
1893
1893
|
} else if (u.constructor === i)
|
|
1894
|
-
for (s in p =
|
|
1894
|
+
for (s in p = gt(e, u, n), p)
|
|
1895
1895
|
r[s] = p[s];
|
|
1896
1896
|
}
|
|
1897
1897
|
}
|
|
@@ -1902,19 +1902,19 @@ function ft(e, t, n) {
|
|
|
1902
1902
|
r[s] === !0 ? e.g(n.object, s, void 0, vr) : e.g(n.object, s, En(e, r[s], n), vr);
|
|
1903
1903
|
return r;
|
|
1904
1904
|
}
|
|
1905
|
-
function
|
|
1905
|
+
function Ie(e) {
|
|
1906
1906
|
return e.o[e.o.length - 1].isConstructor;
|
|
1907
1907
|
}
|
|
1908
1908
|
function An(e, t) {
|
|
1909
|
-
return t[0] ===
|
|
1909
|
+
return t[0] === ze ? Rn(e, t[1]) : e.G(t[0], t[1]);
|
|
1910
1910
|
}
|
|
1911
1911
|
function $n(e, t, n) {
|
|
1912
|
-
return t[0] ===
|
|
1912
|
+
return t[0] === ze ? Mr(e, t[1], n) : e.g(t[0], t[1], n);
|
|
1913
1913
|
}
|
|
1914
1914
|
function w(e, t, n) {
|
|
1915
|
-
throw e.N ? (n !== void 0 && t instanceof P && (t = e.Aa(t), fn(e, t, n)),
|
|
1915
|
+
throw e.N ? (n !== void 0 && t instanceof P && (t = e.Aa(t), fn(e, t, n)), vt(e, 4, t), Fr) : n === void 0 ? t : n;
|
|
1916
1916
|
}
|
|
1917
|
-
function
|
|
1917
|
+
function vt(e, t, n, r) {
|
|
1918
1918
|
if (t === 0)
|
|
1919
1919
|
throw TypeError("Should not unwind for NORMAL completions");
|
|
1920
1920
|
var o = e.o;
|
|
@@ -1959,34 +1959,34 @@ function gt(e, t, n, r) {
|
|
|
1959
1959
|
URIError
|
|
1960
1960
|
}, r = String(e.G(n, "name")), o = e.G(n, "message").valueOf(), t = (t[r] || Error)(o), t.stack = String(e.G(n, "stack"))) : t = String(n), e.value = t, t;
|
|
1961
1961
|
}
|
|
1962
|
-
function
|
|
1962
|
+
function te(e, t) {
|
|
1963
1963
|
switch (t.type) {
|
|
1964
1964
|
case "ArrayExpression":
|
|
1965
1965
|
return "[...]";
|
|
1966
1966
|
case "BinaryExpression":
|
|
1967
1967
|
case "LogicalExpression":
|
|
1968
|
-
return
|
|
1968
|
+
return te(e, t.left) + " " + t.operator + " " + te(e, t.right);
|
|
1969
1969
|
case "CallExpression":
|
|
1970
|
-
return
|
|
1970
|
+
return te(e, t.callee) + "(...)";
|
|
1971
1971
|
case "ConditionalExpression":
|
|
1972
|
-
return
|
|
1972
|
+
return te(e, t.test) + " ? " + te(e, t.da) + " : " + te(e, t.alternate);
|
|
1973
1973
|
case "Identifier":
|
|
1974
1974
|
return t.name;
|
|
1975
1975
|
case "Literal":
|
|
1976
1976
|
return t.raw;
|
|
1977
1977
|
case "MemberExpression":
|
|
1978
|
-
var n =
|
|
1979
|
-
return e =
|
|
1978
|
+
var n = te(e, t.object);
|
|
1979
|
+
return e = te(e, t.Wa), t.bb ? n + "[" + e + "]" : n + "." + e;
|
|
1980
1980
|
case "NewExpression":
|
|
1981
|
-
return "new " +
|
|
1981
|
+
return "new " + te(e, t.callee) + "(...)";
|
|
1982
1982
|
case "ObjectExpression":
|
|
1983
1983
|
return "{...}";
|
|
1984
1984
|
case "ThisExpression":
|
|
1985
1985
|
return "this";
|
|
1986
1986
|
case "UnaryExpression":
|
|
1987
|
-
return t.operator + " " +
|
|
1987
|
+
return t.operator + " " + te(e, t.K);
|
|
1988
1988
|
case "UpdateExpression":
|
|
1989
|
-
return n =
|
|
1989
|
+
return n = te(e, t.K), t.prefix ? t.operator + n : n + t.operator;
|
|
1990
1990
|
}
|
|
1991
1991
|
return "???";
|
|
1992
1992
|
}
|
|
@@ -1999,11 +1999,11 @@ function kr(e, t, n) {
|
|
|
1999
1999
|
s.type = "CallExpression", r = r.scope;
|
|
2000
2000
|
} else {
|
|
2001
2001
|
try {
|
|
2002
|
-
var p =
|
|
2002
|
+
var p = Ge(String(i), "taskCode" + e.ic++);
|
|
2003
2003
|
} catch (m) {
|
|
2004
2004
|
w(e, e.T, "Invalid code: " + m.message);
|
|
2005
2005
|
}
|
|
2006
|
-
s.type = "EvalProgram_", s.body = p.body, r = r.node.arguments[0],
|
|
2006
|
+
s.type = "EvalProgram_", s.body = p.body, r = r.node.arguments[0], Nt(s, r ? r.start : void 0, r ? r.end : void 0), r = e.N, o.length = 0;
|
|
2007
2007
|
}
|
|
2008
2008
|
return t = new mi(u, o, r, s, t ? n : -1), Lr(e, t, n), t.Db;
|
|
2009
2009
|
}
|
|
@@ -2019,7 +2019,7 @@ function Sr(e, t) {
|
|
|
2019
2019
|
break;
|
|
2020
2020
|
}
|
|
2021
2021
|
}
|
|
2022
|
-
function
|
|
2022
|
+
function bt(e, t, n) {
|
|
2023
2023
|
if (!e.P)
|
|
2024
2024
|
throw Error("Unexpected call to createGetter");
|
|
2025
2025
|
e.P = !1, n = Array.isArray(n) ? n[0] : n;
|
|
@@ -2034,7 +2034,7 @@ function Pn(e, t, n, r) {
|
|
|
2034
2034
|
return o.type = "CallExpression", e = new C(o, e.o[e.o.length - 1].scope), e.ia = 2, e.B = n, e.U = t, e.Qa = !0, e.F = [r], e;
|
|
2035
2035
|
}
|
|
2036
2036
|
function sn(e, t) {
|
|
2037
|
-
return t == null ? e.Na : t instanceof P ? t : (e = e.s(
|
|
2037
|
+
return t == null ? e.Na : t instanceof P ? t : (e = e.s(Te(e, t)), e.data = t, e);
|
|
2038
2038
|
}
|
|
2039
2039
|
B.Xb = function() {
|
|
2040
2040
|
return this.N;
|
|
@@ -2059,7 +2059,7 @@ B.xa = null;
|
|
|
2059
2059
|
B.H = "Object";
|
|
2060
2060
|
B.data = null;
|
|
2061
2061
|
B.toString = function() {
|
|
2062
|
-
if (!
|
|
2062
|
+
if (!ct)
|
|
2063
2063
|
return "[object Interpreter.Object]";
|
|
2064
2064
|
if (!(this instanceof P))
|
|
2065
2065
|
return String(this);
|
|
@@ -2107,7 +2107,7 @@ B.toString = function() {
|
|
|
2107
2107
|
return this.data !== null ? String(this.data) : "[object " + this.H + "]";
|
|
2108
2108
|
};
|
|
2109
2109
|
B.valueOf = function() {
|
|
2110
|
-
return !
|
|
2110
|
+
return !ct || this.data === void 0 || this.data === null || this.data instanceof RegExp ? this : this.data instanceof Date ? this.data.valueOf() : this.data;
|
|
2111
2111
|
};
|
|
2112
2112
|
function mi(e, t, n, r, o) {
|
|
2113
2113
|
this.zb = e, this.Lb = t, this.scope = n, this.node = r, this.interval = o, this.Db = ++gi, this.time = 0;
|
|
@@ -2116,7 +2116,7 @@ var gi = 0;
|
|
|
2116
2116
|
f.prototype.stepArrayExpression = function(e, t, n) {
|
|
2117
2117
|
n = n.elements;
|
|
2118
2118
|
var r = t.A || 0;
|
|
2119
|
-
for (t.Oa ? (this.g(t.Oa, r, t.value), r++) : (t.Oa =
|
|
2119
|
+
for (t.Oa ? (this.g(t.Oa, r, t.value), r++) : (t.Oa = qe(this), t.Oa.h.length = n.length); r < n.length; ) {
|
|
2120
2120
|
if (n[r])
|
|
2121
2121
|
return t.A = r, new C(n[r], t.scope);
|
|
2122
2122
|
r++;
|
|
@@ -2127,7 +2127,7 @@ f.prototype.stepAssignmentExpression = function(e, t, n) {
|
|
|
2127
2127
|
if (!t.ja)
|
|
2128
2128
|
return t.ja = !0, t = new C(n.left, t.scope), t.sa = !0, t;
|
|
2129
2129
|
if (!t.Da)
|
|
2130
|
-
return t.Fa || (t.Fa = t.value), t.Ba && (t.ma = t.value), !t.Ba && n.operator !== "=" && (e = An(this, t.Fa), t.ma = e, this.P) ? (t.Ba = !0,
|
|
2130
|
+
return t.Fa || (t.Fa = t.value), t.Ba && (t.ma = t.value), !t.Ba && n.operator !== "=" && (e = An(this, t.Fa), t.ma = e, this.P) ? (t.Ba = !0, bt(this, e, t.Fa)) : (t.Da = !0, n.operator === "=" && n.left.type === "Identifier" && (t.Pa = n.left.name), new C(n.right, t.scope));
|
|
2131
2131
|
if (t.ta)
|
|
2132
2132
|
e.pop(), e[e.length - 1].value = t.ib;
|
|
2133
2133
|
else {
|
|
@@ -2243,7 +2243,7 @@ f.prototype.stepBinaryExpression = function(e, t, n) {
|
|
|
2243
2243
|
n = r >>> t;
|
|
2244
2244
|
break;
|
|
2245
2245
|
case "in":
|
|
2246
|
-
t instanceof P || w(this, this.j, "'in' expects an object, not '" + t + "'"), n =
|
|
2246
|
+
t instanceof P || w(this, this.j, "'in' expects an object, not '" + t + "'"), n = Vt(this, t, r);
|
|
2247
2247
|
break;
|
|
2248
2248
|
case "instanceof":
|
|
2249
2249
|
X(this, t, this.O) || w(this, this.j, "'instanceof' expects an object, not '" + t + "'"), n = r instanceof P ? X(this, r, t) : !1;
|
|
@@ -2260,7 +2260,7 @@ f.prototype.stepBlockStatement = function(e, t, n) {
|
|
|
2260
2260
|
e.pop();
|
|
2261
2261
|
};
|
|
2262
2262
|
f.prototype.stepBreakStatement = function(e, t, n) {
|
|
2263
|
-
|
|
2263
|
+
vt(this, 1, void 0, n.label && n.label.name);
|
|
2264
2264
|
};
|
|
2265
2265
|
f.prototype.Hb = 0;
|
|
2266
2266
|
f.prototype.stepCallExpression = function(e, t, n) {
|
|
@@ -2273,8 +2273,8 @@ f.prototype.stepCallExpression = function(e, t, n) {
|
|
|
2273
2273
|
t.ia = 2;
|
|
2274
2274
|
var o = t.value;
|
|
2275
2275
|
if (Array.isArray(o)) {
|
|
2276
|
-
if (t.U = An(this, o), o[0] ===
|
|
2277
|
-
return t.ia = 1,
|
|
2276
|
+
if (t.U = An(this, o), o[0] === ze ? t.Pb = o[1] === "eval" : t.B = o[0], o = t.U, this.P)
|
|
2277
|
+
return t.ia = 1, bt(this, o, t.value);
|
|
2278
2278
|
} else
|
|
2279
2279
|
t.U = o;
|
|
2280
2280
|
t.F = [], t.A = 0;
|
|
@@ -2283,8 +2283,8 @@ f.prototype.stepCallExpression = function(e, t, n) {
|
|
|
2283
2283
|
if (t.A !== 0 && t.F.push(t.value), n.arguments[t.A])
|
|
2284
2284
|
return new C(n.arguments[t.A++], t.scope);
|
|
2285
2285
|
if (n.type === "NewExpression") {
|
|
2286
|
-
if (o instanceof P && !o.Ab || w(this, this.j,
|
|
2287
|
-
t.B =
|
|
2286
|
+
if (o instanceof P && !o.Ab || w(this, this.j, te(this, n.callee) + " is not a constructor"), o === this.qa)
|
|
2287
|
+
t.B = qe(this);
|
|
2288
2288
|
else {
|
|
2289
2289
|
var i = o.h.prototype;
|
|
2290
2290
|
(typeof i != "object" || i === null) && (i = this.M), t.B = this.s(i);
|
|
@@ -2296,8 +2296,8 @@ f.prototype.stepCallExpression = function(e, t, n) {
|
|
|
2296
2296
|
if (t.eb)
|
|
2297
2297
|
e.pop(), e[e.length - 1].value = t.isConstructor && typeof t.value != "object" ? t.B : t.value;
|
|
2298
2298
|
else {
|
|
2299
|
-
if (t.eb = !0, o instanceof P || w(this, this.j,
|
|
2300
|
-
for (n = mn(this, e.body, o.Va), r =
|
|
2299
|
+
if (t.eb = !0, o instanceof P || w(this, this.j, te(this, n.callee) + " is not a function"), e = o.node) {
|
|
2300
|
+
for (n = mn(this, e.body, o.Va), r = qe(this), o = 0; o < t.F.length; o++)
|
|
2301
2301
|
this.g(r, o, t.F[o]);
|
|
2302
2302
|
for (this.g(n.object, "arguments", r), o = 0; o < e.oa.length; o++)
|
|
2303
2303
|
this.g(n.object, e.oa[o].name, t.F.length > o ? t.F[o] : void 0);
|
|
@@ -2308,11 +2308,11 @@ f.prototype.stepCallExpression = function(e, t, n) {
|
|
|
2308
2308
|
t.value = o;
|
|
2309
2309
|
else {
|
|
2310
2310
|
try {
|
|
2311
|
-
r =
|
|
2311
|
+
r = Ge(String(o), "eval" + this.Hb++);
|
|
2312
2312
|
} catch (u) {
|
|
2313
2313
|
w(this, this.T, "Invalid code: " + u.message);
|
|
2314
2314
|
}
|
|
2315
|
-
return o = this.ya(), o.type = "EvalProgram_", o.body = r.body,
|
|
2315
|
+
return o = this.ya(), o.type = "EvalProgram_", o.body = r.body, Nt(o, n.start, n.end), n = t.Pb ? t.scope : this.N, n.S ? n = mn(this, r, n) : gt(this, r, n), this.value = void 0, new C(o, n);
|
|
2316
2316
|
}
|
|
2317
2317
|
else if (o.Ta)
|
|
2318
2318
|
t.scope.S || (t.B = sn(this, t.B)), t.value = o.Ta.apply(t.B, t.F);
|
|
@@ -2322,7 +2322,7 @@ f.prototype.stepCallExpression = function(e, t, n) {
|
|
|
2322
2322
|
t.value = u, s.za = !1;
|
|
2323
2323
|
}), this.za = !0, t.scope.S || (t.B = sn(this, t.B)), o.Za.apply(t.B, r);
|
|
2324
2324
|
} else
|
|
2325
|
-
w(this, this.j,
|
|
2325
|
+
w(this, this.j, te(this, n.callee) + " is not callable");
|
|
2326
2326
|
}
|
|
2327
2327
|
};
|
|
2328
2328
|
f.prototype.stepConditionalExpression = function(e, t, n) {
|
|
@@ -2339,7 +2339,7 @@ f.prototype.stepConditionalExpression = function(e, t, n) {
|
|
|
2339
2339
|
e.pop(), n.type === "ConditionalExpression" && (e[e.length - 1].value = t.value);
|
|
2340
2340
|
};
|
|
2341
2341
|
f.prototype.stepContinueStatement = function(e, t, n) {
|
|
2342
|
-
|
|
2342
|
+
vt(this, 2, void 0, n.label && n.label.name);
|
|
2343
2343
|
};
|
|
2344
2344
|
f.prototype.stepDebuggerStatement = function(e) {
|
|
2345
2345
|
e.pop();
|
|
@@ -2391,14 +2391,14 @@ f.prototype.stepForInStatement = function(e, t, n) {
|
|
|
2391
2391
|
break e;
|
|
2392
2392
|
}
|
|
2393
2393
|
}
|
|
2394
|
-
if (t.u =
|
|
2394
|
+
if (t.u = Te(this, t.u), t.wa = null, t.u === null) {
|
|
2395
2395
|
e.pop();
|
|
2396
2396
|
return;
|
|
2397
2397
|
}
|
|
2398
2398
|
}
|
|
2399
2399
|
if (!t.wb)
|
|
2400
2400
|
if (t.wb = !0, e = n.left, e.type === "VariableDeclaration")
|
|
2401
|
-
t.pa = [
|
|
2401
|
+
t.pa = [ze, e.fa[0].id.name];
|
|
2402
2402
|
else
|
|
2403
2403
|
return t.pa = null, t = new C(e, t.scope), t.sa = !0, t;
|
|
2404
2404
|
if (t.pa || (t.pa = t.value), !t.ta && (t.ta = !0, e = t.Ra, r = $n(this, t.pa, e)))
|
|
@@ -2435,10 +2435,10 @@ f.prototype.stepFunctionExpression = function(e, t, n) {
|
|
|
2435
2435
|
};
|
|
2436
2436
|
f.prototype.stepIdentifier = function(e, t, n) {
|
|
2437
2437
|
if (e.pop(), t.sa)
|
|
2438
|
-
e[e.length - 1].value = [
|
|
2438
|
+
e[e.length - 1].value = [ze, n.name];
|
|
2439
2439
|
else {
|
|
2440
2440
|
if (t = Rn(this, n.name), this.P)
|
|
2441
|
-
return
|
|
2441
|
+
return bt(this, t, this.Na);
|
|
2442
2442
|
e[e.length - 1].value = t;
|
|
2443
2443
|
}
|
|
2444
2444
|
};
|
|
@@ -2475,7 +2475,7 @@ f.prototype.stepMemberExpression = function(e, t, n) {
|
|
|
2475
2475
|
e[e.length - 1].value = [t.u, n];
|
|
2476
2476
|
else {
|
|
2477
2477
|
if (n = this.G(t.u, n), this.P)
|
|
2478
|
-
return
|
|
2478
|
+
return bt(this, n, t.u);
|
|
2479
2479
|
e[e.length - 1].value = n;
|
|
2480
2480
|
}
|
|
2481
2481
|
};
|
|
@@ -2498,7 +2498,7 @@ f.prototype.stepObjectExpression = function(e, t, n) {
|
|
|
2498
2498
|
return t.Pa = i, new C(o.value, t.scope);
|
|
2499
2499
|
}
|
|
2500
2500
|
for (s in t.Ja)
|
|
2501
|
-
n = t.Ja[s], "get" in n || "set" in n ? this.g(t.u, s,
|
|
2501
|
+
n = t.Ja[s], "get" in n || "set" in n ? this.g(t.u, s, mt, {
|
|
2502
2502
|
configurable: !0,
|
|
2503
2503
|
enumerable: !0,
|
|
2504
2504
|
get: n.get,
|
|
@@ -2514,7 +2514,7 @@ f.prototype.stepProgram = function(e, t, n) {
|
|
|
2514
2514
|
f.prototype.stepReturnStatement = function(e, t, n) {
|
|
2515
2515
|
if (n.K && !t.ka)
|
|
2516
2516
|
return t.ka = !0, new C(n.K, t.scope);
|
|
2517
|
-
|
|
2517
|
+
vt(this, 3, t.value);
|
|
2518
2518
|
};
|
|
2519
2519
|
f.prototype.stepSequenceExpression = function(e, t, n) {
|
|
2520
2520
|
var r = t.A || 0;
|
|
@@ -2565,7 +2565,7 @@ f.prototype.stepTryStatement = function(e, t, n) {
|
|
|
2565
2565
|
return t.Tb = !0, e = xn(this, t.scope), this.g(e.object, n.Ea.Ua.name, t.ea.value), t.ea = void 0, new C(n.Ea.body, e);
|
|
2566
2566
|
if (!t.Sb && n.fb)
|
|
2567
2567
|
return t.Sb = !0, new C(n.fb, t.scope);
|
|
2568
|
-
e.pop(), t.ea &&
|
|
2568
|
+
e.pop(), t.ea && vt(this, t.ea.type, t.ea.value, t.ea.label);
|
|
2569
2569
|
};
|
|
2570
2570
|
f.prototype.stepUnaryExpression = function(e, t, n) {
|
|
2571
2571
|
if (!t.ka)
|
|
@@ -2588,7 +2588,7 @@ f.prototype.stepUnaryExpression = function(e, t, n) {
|
|
|
2588
2588
|
case "delete":
|
|
2589
2589
|
if (n = !0, Array.isArray(r)) {
|
|
2590
2590
|
var o = r[0];
|
|
2591
|
-
o ===
|
|
2591
|
+
o === ze && (o = t.scope), r = String(r[1]);
|
|
2592
2592
|
try {
|
|
2593
2593
|
delete o.h[r];
|
|
2594
2594
|
} catch {
|
|
@@ -2614,7 +2614,7 @@ f.prototype.stepUpdateExpression = function(e, t, n) {
|
|
|
2614
2614
|
if (t.Ga || (t.Ga = t.value), t.Ba && (t.ma = t.value), !t.Ba) {
|
|
2615
2615
|
var r = An(this, t.Ga);
|
|
2616
2616
|
if (t.ma = r, this.P)
|
|
2617
|
-
return t.Ba = !0,
|
|
2617
|
+
return t.Ba = !0, bt(this, r, t.Ga);
|
|
2618
2618
|
}
|
|
2619
2619
|
if (t.ta)
|
|
2620
2620
|
e.pop(), e[e.length - 1].value = t.ib;
|
|
@@ -2644,7 +2644,7 @@ f.prototype.stepWithStatement = function(e, t, n) {
|
|
|
2644
2644
|
return t.Ca ? (e.pop(), e = xn(this, t.scope, t.value), new C(n.body, e)) : (t.Ca = !0, new C(n.object, t.scope));
|
|
2645
2645
|
};
|
|
2646
2646
|
f.prototype.stepWhileStatement = f.prototype.stepDoWhileStatement;
|
|
2647
|
-
|
|
2647
|
+
Pe.Interpreter = f;
|
|
2648
2648
|
f.prototype.step = f.prototype.lb;
|
|
2649
2649
|
f.prototype.run = f.prototype.Eb;
|
|
2650
2650
|
f.prototype.appendCode = f.prototype.Jb;
|
|
@@ -2659,7 +2659,7 @@ f.prototype.pseudoToNative = f.prototype.R;
|
|
|
2659
2659
|
f.prototype.getGlobalScope = f.prototype.Xb;
|
|
2660
2660
|
f.prototype.getStateStack = f.prototype.Yb;
|
|
2661
2661
|
f.prototype.setStateStack = f.prototype.ec;
|
|
2662
|
-
f.VALUE_IN_DESCRIPTOR =
|
|
2662
|
+
f.VALUE_IN_DESCRIPTOR = mt;
|
|
2663
2663
|
function yi() {
|
|
2664
2664
|
const e = f.prototype.getProperty, t = f.prototype.setProperty;
|
|
2665
2665
|
function n(s, u) {
|
|
@@ -2713,7 +2713,7 @@ function main()`).replace(/\?\./g, "."), Cr = (e) => e + "JSON", bi = ({
|
|
|
2713
2713
|
}).join(`
|
|
2714
2714
|
`), b = vi(s);
|
|
2715
2715
|
if (b === "") {
|
|
2716
|
-
|
|
2716
|
+
re.warn("Skipping evaluation of empty code block.");
|
|
2717
2717
|
return;
|
|
2718
2718
|
}
|
|
2719
2719
|
const v = `
|
|
@@ -2724,20 +2724,20 @@ function theFunction() {
|
|
|
2724
2724
|
}
|
|
2725
2725
|
theFunction();
|
|
2726
2726
|
`, y = function(O, Z) {
|
|
2727
|
-
p.forEach(([
|
|
2728
|
-
if (
|
|
2729
|
-
O.setProperty(Z,
|
|
2727
|
+
p.forEach(([xe, $]) => {
|
|
2728
|
+
if (xe === "state")
|
|
2729
|
+
O.setProperty(Z, xe, O.createConnectedObject($), O.READONLY_DESCRIPTOR);
|
|
2730
2730
|
else {
|
|
2731
|
-
const
|
|
2732
|
-
O.setProperty(Z, Cr(
|
|
2731
|
+
const F = JSON.stringify($);
|
|
2732
|
+
O.setProperty(Z, Cr(xe), F);
|
|
2733
2733
|
}
|
|
2734
2734
|
});
|
|
2735
|
-
},
|
|
2736
|
-
return
|
|
2737
|
-
},
|
|
2735
|
+
}, I = new f(v, y);
|
|
2736
|
+
return I.run(), I.pseudoToNative(I.value);
|
|
2737
|
+
}, Oe = (e) => e != null;
|
|
2738
2738
|
function ki() {
|
|
2739
2739
|
var e;
|
|
2740
|
-
return typeof process < "u" &&
|
|
2740
|
+
return typeof process < "u" && Oe((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
|
|
2741
2741
|
}
|
|
2742
2742
|
const Si = ({
|
|
2743
2743
|
shouldLogWarning: e
|
|
@@ -2746,14 +2746,14 @@ const Si = ({
|
|
|
2746
2746
|
if (!ki())
|
|
2747
2747
|
return !1;
|
|
2748
2748
|
const t = process.arch === "arm64", n = process.version.startsWith("v20"), r = (o = process.env.NODE_OPTIONS) == null ? void 0 : o.includes("--no-node-snapshot");
|
|
2749
|
-
return t && n && !r ? (e &&
|
|
2749
|
+
return t && n && !r ? (e && re.log("Skipping usage of `isolated-vm` to avoid crashes in Node v20 on an arm64 machine.\n If you would like to use the `isolated-vm` package on this machine, please provide the `NODE_OPTIONS=--no-node-snapshot` config to your Node process.\n See https://github.com/BuilderIO/builder/blob/main/packages/sdks/README.md#node-v20--m1-macs-apple-silicon-support for more information.\n "), !0) : !1;
|
|
2750
2750
|
}, Ci = (e) => Y() || Si({
|
|
2751
2751
|
shouldLogWarning: !0
|
|
2752
2752
|
}) ? ei(e) : bi(e), wi = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, Ti = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, Ei = (e) => {
|
|
2753
2753
|
var t, n, r, o, i, s;
|
|
2754
2754
|
return ((r = (n = (t = wi.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : r.slice(1)) || ((s = (i = (o = Ti.exec(e.trim())) == null ? void 0 : o.groups) == null ? void 0 : i.getPath) == null ? void 0 : s.slice(1));
|
|
2755
2755
|
};
|
|
2756
|
-
function
|
|
2756
|
+
function kt({
|
|
2757
2757
|
code: e,
|
|
2758
2758
|
context: t,
|
|
2759
2759
|
localState: n,
|
|
@@ -2784,7 +2784,7 @@ function vt({
|
|
|
2784
2784
|
try {
|
|
2785
2785
|
return Ci(p);
|
|
2786
2786
|
} catch (m) {
|
|
2787
|
-
|
|
2787
|
+
re.error("Failed code evaluation: " + m.message, {
|
|
2788
2788
|
code: e
|
|
2789
2789
|
});
|
|
2790
2790
|
return;
|
|
@@ -2808,7 +2808,7 @@ function gn(e) {
|
|
|
2808
2808
|
n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = gn(e[n]));
|
|
2809
2809
|
return t;
|
|
2810
2810
|
}
|
|
2811
|
-
const Ii = ["svelte", "vue", "angular", "qwik", "solid"].includes(
|
|
2811
|
+
const Ii = ["svelte", "vue", "angular", "qwik", "solid"].includes(se), xi = (e) => {
|
|
2812
2812
|
if (Ii) {
|
|
2813
2813
|
const t = On(e);
|
|
2814
2814
|
return {
|
|
@@ -2845,7 +2845,7 @@ const Ii = ["svelte", "vue", "angular", "qwik", "solid"].includes(ae), xi = (e)
|
|
|
2845
2845
|
return e;
|
|
2846
2846
|
const i = xi(e);
|
|
2847
2847
|
for (const s in e.bindings) {
|
|
2848
|
-
const u = e.bindings[s], p =
|
|
2848
|
+
const u = e.bindings[s], p = kt({
|
|
2849
2849
|
code: u,
|
|
2850
2850
|
localState: n,
|
|
2851
2851
|
rootState: r,
|
|
@@ -2879,17 +2879,17 @@ function $i(e) {
|
|
|
2879
2879
|
}
|
|
2880
2880
|
const Pi = (e) => ({
|
|
2881
2881
|
type: "builder.registerComponent",
|
|
2882
|
-
data:
|
|
2882
|
+
data: jt(e)
|
|
2883
2883
|
}), Oi = (e) => {
|
|
2884
|
-
const t = e.toString().trim();
|
|
2885
|
-
return `return (${!t.startsWith("function") && !t.startsWith("(") ? "function " : ""}${t}).apply(this, arguments)`;
|
|
2884
|
+
const t = e.toString().trim(), n = /^[a-zA-Z0-9_]+\s*=>/i.test(t);
|
|
2885
|
+
return `return (${!t.startsWith("function") && !t.startsWith("(") && !n ? "function " : ""}${t}).apply(this, arguments)`;
|
|
2886
2886
|
};
|
|
2887
|
-
function
|
|
2887
|
+
function jt(e) {
|
|
2888
2888
|
return JSON.parse(JSON.stringify(e, (t, n) => typeof n == "function" ? Oi(n) : n));
|
|
2889
2889
|
}
|
|
2890
2890
|
const wr = {};
|
|
2891
2891
|
function ji(e, t) {
|
|
2892
|
-
e === "plugin" && (t =
|
|
2892
|
+
e === "plugin" && (t = jt(t));
|
|
2893
2893
|
let n = wr[e];
|
|
2894
2894
|
if (n || (n = wr[e] = []), n.push(t), Y()) {
|
|
2895
2895
|
const r = {
|
|
@@ -2932,8 +2932,8 @@ const Er = "builder.", Bi = "options.", Gr = (e) => {
|
|
|
2932
2932
|
return {};
|
|
2933
2933
|
const e = new URLSearchParams(window.location.search);
|
|
2934
2934
|
return Gr(e);
|
|
2935
|
-
}, qr = "2.0.
|
|
2936
|
-
"X-Builder-SDK":
|
|
2935
|
+
}, qr = "2.0.31", zr = () => ({
|
|
2936
|
+
"X-Builder-SDK": se,
|
|
2937
2937
|
"X-Builder-SDK-GEN": "2",
|
|
2938
2938
|
"X-Builder-SDK-Version": qr
|
|
2939
2939
|
}), Vi = (e) => {
|
|
@@ -2949,10 +2949,10 @@ const Er = "builder.", Bi = "options.", Gr = (e) => {
|
|
|
2949
2949
|
try {
|
|
2950
2950
|
return t ? (n = document.cookie.split("; ").find((r) => r.startsWith(`${e}=`))) == null ? void 0 : n.split("=")[1] : void 0;
|
|
2951
2951
|
} catch (r) {
|
|
2952
|
-
|
|
2952
|
+
re.warn("[COOKIE] GET error: ", (r == null ? void 0 : r.message) || r);
|
|
2953
2953
|
return;
|
|
2954
2954
|
}
|
|
2955
|
-
}, _r = async (e) => Jr(e), Di = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(
|
|
2955
|
+
}, _r = async (e) => Jr(e), Di = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(Oe).join("; "), Ui = [["secure", ""], ["SameSite", "None"]], Fi = ({
|
|
2956
2956
|
name: e,
|
|
2957
2957
|
value: t,
|
|
2958
2958
|
expires: n
|
|
@@ -2975,7 +2975,7 @@ const Er = "builder.", Bi = "options.", Gr = (e) => {
|
|
|
2975
2975
|
});
|
|
2976
2976
|
document.cookie = o;
|
|
2977
2977
|
} catch (o) {
|
|
2978
|
-
|
|
2978
|
+
re.warn("[COOKIE] SET error: ", (o == null ? void 0 : o.message) || o);
|
|
2979
2979
|
}
|
|
2980
2980
|
};
|
|
2981
2981
|
function Wi() {
|
|
@@ -2996,7 +2996,7 @@ const Zr = "builderSessionId", Mi = async ({
|
|
|
2996
2996
|
name: Zr,
|
|
2997
2997
|
canTrack: e
|
|
2998
2998
|
});
|
|
2999
|
-
if (
|
|
2999
|
+
if (Oe(t))
|
|
3000
3000
|
return t;
|
|
3001
3001
|
{
|
|
3002
3002
|
const n = Li();
|
|
@@ -3043,7 +3043,7 @@ const Zr = "builderSessionId", Mi = async ({
|
|
|
3043
3043
|
key: eo,
|
|
3044
3044
|
canTrack: e
|
|
3045
3045
|
});
|
|
3046
|
-
if (
|
|
3046
|
+
if (Oe(t))
|
|
3047
3047
|
return t;
|
|
3048
3048
|
{
|
|
3049
3049
|
const n = zi();
|
|
@@ -3062,7 +3062,7 @@ const Zr = "builderSessionId", Mi = async ({
|
|
|
3062
3062
|
});
|
|
3063
3063
|
function jn(e) {
|
|
3064
3064
|
var t;
|
|
3065
|
-
typeof process < "u" && ((t = process.env) != null && t.DEBUG) && String(process.env.DEBUG) == "true" &&
|
|
3065
|
+
typeof process < "u" && ((t = process.env) != null && t.DEBUG) && String(process.env.DEBUG) == "true" && re.log(e);
|
|
3066
3066
|
}
|
|
3067
3067
|
const _i = async ({
|
|
3068
3068
|
canTrack: e
|
|
@@ -3107,10 +3107,10 @@ async function yn({
|
|
|
3107
3107
|
...t
|
|
3108
3108
|
}) {
|
|
3109
3109
|
if (!t.apiKey) {
|
|
3110
|
-
|
|
3110
|
+
re.error("Missing API key for track call. Please provide your API key.");
|
|
3111
3111
|
return;
|
|
3112
3112
|
}
|
|
3113
|
-
if (!t.canTrack ||
|
|
3113
|
+
if (!t.canTrack || le() || !(Y() || se === "reactNative"))
|
|
3114
3114
|
return;
|
|
3115
3115
|
const r = `${e || "https://cdn.builder.io"}/api/v1/track`;
|
|
3116
3116
|
return jn(r), fetch(r, {
|
|
@@ -3166,7 +3166,7 @@ const no = (e = {}) => {
|
|
|
3166
3166
|
Ir || (Ir = !0, Y() && ((t = window.parent) == null || t.postMessage({
|
|
3167
3167
|
type: "builder.sdkInfo",
|
|
3168
3168
|
data: {
|
|
3169
|
-
target:
|
|
3169
|
+
target: se,
|
|
3170
3170
|
version: qr,
|
|
3171
3171
|
supportsPatchUpdates: !1,
|
|
3172
3172
|
// Supports builder-model="..." attribute which is needed to
|
|
@@ -3193,8 +3193,8 @@ const no = (e = {}) => {
|
|
|
3193
3193
|
let v, y = null;
|
|
3194
3194
|
try {
|
|
3195
3195
|
v = b.apply(null, p);
|
|
3196
|
-
} catch (
|
|
3197
|
-
y =
|
|
3196
|
+
} catch (I) {
|
|
3197
|
+
y = I;
|
|
3198
3198
|
}
|
|
3199
3199
|
y ? (i = window.parent) == null || i.postMessage({
|
|
3200
3200
|
type: "builder.evaluateError",
|
|
@@ -3202,13 +3202,13 @@ const no = (e = {}) => {
|
|
|
3202
3202
|
id: m,
|
|
3203
3203
|
error: y.message
|
|
3204
3204
|
}
|
|
3205
|
-
}, "*") : v && typeof v.then == "function" ? v.then((
|
|
3205
|
+
}, "*") : v && typeof v.then == "function" ? v.then((I) => {
|
|
3206
3206
|
var V;
|
|
3207
3207
|
(V = window.parent) == null || V.postMessage({
|
|
3208
3208
|
type: "builder.evaluateResult",
|
|
3209
3209
|
data: {
|
|
3210
3210
|
id: m,
|
|
3211
|
-
result:
|
|
3211
|
+
result: I
|
|
3212
3212
|
}
|
|
3213
3213
|
}, "*");
|
|
3214
3214
|
}).catch(console.error) : (s = window.parent) == null || s.postMessage({
|
|
@@ -3250,7 +3250,7 @@ const no = (e = {}) => {
|
|
|
3250
3250
|
}
|
|
3251
3251
|
}, bu = (e, t, n) => {
|
|
3252
3252
|
if (!Y)
|
|
3253
|
-
return
|
|
3253
|
+
return re.warn("`subscribeToEditor` only works in the browser. It currently seems to be running on the server."), () => {
|
|
3254
3254
|
};
|
|
3255
3255
|
no();
|
|
3256
3256
|
const r = ro({
|
|
@@ -3284,7 +3284,7 @@ const no = (e = {}) => {
|
|
|
3284
3284
|
name: Bn(e),
|
|
3285
3285
|
value: t,
|
|
3286
3286
|
canTrack: !0
|
|
3287
|
-
}), oo = (e) =>
|
|
3287
|
+
}), oo = (e) => Oe(e.id) && Oe(e.variations) && Object.keys(e.variations).length > 0, rs = ({
|
|
3288
3288
|
id: e,
|
|
3289
3289
|
variations: t
|
|
3290
3290
|
}) => {
|
|
@@ -3303,7 +3303,7 @@ const no = (e = {}) => {
|
|
|
3303
3303
|
contentId: e.id,
|
|
3304
3304
|
value: t
|
|
3305
3305
|
}).catch((n) => {
|
|
3306
|
-
|
|
3306
|
+
re.error("could not store A/B test variation: ", n);
|
|
3307
3307
|
}), t;
|
|
3308
3308
|
}, so = ({
|
|
3309
3309
|
item: e,
|
|
@@ -3361,7 +3361,7 @@ const no = (e = {}) => {
|
|
|
3361
3361
|
...e,
|
|
3362
3362
|
...o
|
|
3363
3363
|
};
|
|
3364
|
-
},
|
|
3364
|
+
}, yt = (e) => Oe(e) ? e : !0;
|
|
3365
3365
|
function ss() {
|
|
3366
3366
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : globalThis;
|
|
3367
3367
|
}
|
|
@@ -3406,7 +3406,7 @@ const us = "v3", xr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Nn = (
|
|
|
3406
3406
|
omit: b,
|
|
3407
3407
|
offset: v,
|
|
3408
3408
|
cacheSeconds: y,
|
|
3409
|
-
staleCacheSeconds:
|
|
3409
|
+
staleCacheSeconds: I,
|
|
3410
3410
|
sort: V,
|
|
3411
3411
|
includeUnpublished: O,
|
|
3412
3412
|
apiHost: Z
|
|
@@ -3415,28 +3415,34 @@ const us = "v3", xr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Nn = (
|
|
|
3415
3415
|
throw new Error("Missing API key");
|
|
3416
3416
|
if (!["v3"].includes(p))
|
|
3417
3417
|
throw new Error(`Invalid apiVersion: expected 'v3', received '${p}'`);
|
|
3418
|
-
const
|
|
3419
|
-
|
|
3420
|
-
|
|
3418
|
+
const xe = t !== 1, $ = Z || "https://cdn.builder.io", F = new URL(`${$}/api/${p}/content/${o}`);
|
|
3419
|
+
F.searchParams.set("apiKey", i), F.searchParams.set("limit", String(t)), F.searchParams.set("noTraverse", String(xe)), F.searchParams.set("includeRefs", String(!0));
|
|
3420
|
+
const De = u || (n == null ? void 0 : n.locale);
|
|
3421
|
+
let je = n;
|
|
3422
|
+
if (De && (F.searchParams.set("locale", De), je = {
|
|
3423
|
+
locale: De,
|
|
3424
|
+
...je
|
|
3425
|
+
}), s && F.searchParams.set("enrich", String(s)), F.searchParams.set("omit", b || "meta.componentsUsed"), m && F.searchParams.set("fields", m), Number.isFinite(v) && v > -1 && F.searchParams.set("offset", String(Math.floor(v))), typeof O == "boolean" && F.searchParams.set("includeUnpublished", String(O)), y && xr(y) && F.searchParams.set("cacheSeconds", String(y)), I && xr(I) && F.searchParams.set("staleCacheSeconds", String(I)), V) {
|
|
3426
|
+
const T = vn({
|
|
3421
3427
|
sort: V
|
|
3422
3428
|
});
|
|
3423
|
-
for (const
|
|
3424
|
-
|
|
3429
|
+
for (const ge in T)
|
|
3430
|
+
F.searchParams.set(ge, JSON.stringify(T[ge]));
|
|
3425
3431
|
}
|
|
3426
|
-
const
|
|
3432
|
+
const K = {
|
|
3427
3433
|
...Ni(),
|
|
3428
3434
|
...Nr(e.options || {})
|
|
3429
|
-
},
|
|
3430
|
-
for (const
|
|
3431
|
-
|
|
3432
|
-
if (
|
|
3433
|
-
const
|
|
3435
|
+
}, ue = vn(K);
|
|
3436
|
+
for (const T in ue)
|
|
3437
|
+
F.searchParams.set(T, String(ue[T]));
|
|
3438
|
+
if (je && F.searchParams.set("userAttributes", JSON.stringify(je)), r) {
|
|
3439
|
+
const T = ao({
|
|
3434
3440
|
query: r
|
|
3435
3441
|
});
|
|
3436
|
-
for (const
|
|
3437
|
-
|
|
3442
|
+
for (const ge in T)
|
|
3443
|
+
F.searchParams.set(ge, JSON.stringify(T[ge]));
|
|
3438
3444
|
}
|
|
3439
|
-
return
|
|
3445
|
+
return F;
|
|
3440
3446
|
}, cs = (e) => "results" in e;
|
|
3441
3447
|
async function Vn(e) {
|
|
3442
3448
|
const t = await hs({
|
|
@@ -3456,8 +3462,8 @@ const ps = async (e) => {
|
|
|
3456
3462
|
};
|
|
3457
3463
|
return await (await n(t.href, r)).json();
|
|
3458
3464
|
}, ds = async (e, t, n = Nn(e)) => {
|
|
3459
|
-
const r =
|
|
3460
|
-
if (n.search.includes("preview="), !r || !(Y() ||
|
|
3465
|
+
const r = yt(e.canTrack);
|
|
3466
|
+
if (n.search.includes("preview="), !r || !(Y() || se === "reactNative"))
|
|
3461
3467
|
return t.results;
|
|
3462
3468
|
try {
|
|
3463
3469
|
const o = [];
|
|
@@ -3468,20 +3474,20 @@ const ps = async (e) => {
|
|
|
3468
3474
|
}));
|
|
3469
3475
|
t.results = o;
|
|
3470
3476
|
} catch (o) {
|
|
3471
|
-
|
|
3477
|
+
re.error("Could not process A/B tests. ", o);
|
|
3472
3478
|
}
|
|
3473
3479
|
return t.results;
|
|
3474
3480
|
};
|
|
3475
3481
|
async function hs(e) {
|
|
3476
3482
|
try {
|
|
3477
3483
|
const t = Nn(e), n = await ps(e);
|
|
3478
|
-
return cs(n) ? ds(e, n) : (
|
|
3484
|
+
return cs(n) ? ds(e, n) : (re.error("Error fetching data. ", {
|
|
3479
3485
|
url: t,
|
|
3480
3486
|
content: n,
|
|
3481
3487
|
options: e
|
|
3482
3488
|
}), null);
|
|
3483
3489
|
} catch (t) {
|
|
3484
|
-
return
|
|
3490
|
+
return re.error("Error fetching data. ", t), null;
|
|
3485
3491
|
}
|
|
3486
3492
|
}
|
|
3487
3493
|
const ku = async (e) => {
|
|
@@ -3516,7 +3522,7 @@ function fs(e, t, n = {}) {
|
|
|
3516
3522
|
return r = this, o = arguments, b <= 0 || b > t ? (s && (clearTimeout(s), s = null), u = m, i = e.apply(r, o), s || (r = o = null)) : !s && n.trailing !== !1 && (s = setTimeout(p, b)), i;
|
|
3517
3523
|
};
|
|
3518
3524
|
}
|
|
3519
|
-
function
|
|
3525
|
+
function dt(e, ...t) {
|
|
3520
3526
|
const n = Object(e);
|
|
3521
3527
|
for (let r = 1; r < arguments.length; r++) {
|
|
3522
3528
|
const o = arguments[r];
|
|
@@ -3560,8 +3566,8 @@ function co(e) {
|
|
|
3560
3566
|
return;
|
|
3561
3567
|
}
|
|
3562
3568
|
Array.from(t).forEach((n) => {
|
|
3563
|
-
uo(e, n), n.style.transition = "none", n.style.transitionDelay = "0",
|
|
3564
|
-
n.style.transition = `all ${e.duration}s ${Dn(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"),
|
|
3569
|
+
uo(e, n), n.style.transition = "none", n.style.transitionDelay = "0", dt(n.style, e.steps[0].styles), setTimeout(() => {
|
|
3570
|
+
n.style.transition = `all ${e.duration}s ${Dn(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), dt(n.style, e.steps[1].styles), setTimeout(() => {
|
|
3565
3571
|
n.style.transition = "", n.style.transitionDelay = "";
|
|
3566
3572
|
}, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
|
|
3567
3573
|
});
|
|
@@ -3578,10 +3584,10 @@ function ys(e) {
|
|
|
3578
3584
|
let r = !1, o = !1;
|
|
3579
3585
|
function i() {
|
|
3580
3586
|
!r && u(n) ? (r = !0, o = !0, setTimeout(() => {
|
|
3581
|
-
|
|
3587
|
+
dt(n.style, e.steps[1].styles), e.repeat || document.removeEventListener("scroll", s), setTimeout(() => {
|
|
3582
3588
|
o = !1, e.repeat || (n.style.transition = "", n.style.transitionDelay = "");
|
|
3583
3589
|
}, (e.duration + (e.delay || 0)) * 1e3 + 100);
|
|
3584
|
-
})) : e.repeat && r && !o && !u(n) && (r = !1,
|
|
3590
|
+
})) : e.repeat && r && !o && !u(n) && (r = !1, dt(n.style, e.steps[0].styles));
|
|
3585
3591
|
}
|
|
3586
3592
|
const s = fs(i, 200, {
|
|
3587
3593
|
leading: !1
|
|
@@ -3592,7 +3598,7 @@ function ys(e) {
|
|
|
3592
3598
|
}
|
|
3593
3599
|
const p = e.steps[0].styles;
|
|
3594
3600
|
function m() {
|
|
3595
|
-
|
|
3601
|
+
dt(n.style, p);
|
|
3596
3602
|
}
|
|
3597
3603
|
m(), setTimeout(() => {
|
|
3598
3604
|
n.style.transition = `all ${e.duration}s ${Dn(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
|
|
@@ -3605,7 +3611,7 @@ function ys(e) {
|
|
|
3605
3611
|
const po = (e) => Object.entries(e).map(([n, r]) => {
|
|
3606
3612
|
if (typeof r == "string")
|
|
3607
3613
|
return `${Dn(n)}: ${r};`;
|
|
3608
|
-
}).filter(
|
|
3614
|
+
}).filter(Oe), vs = (e) => po(e).join(`
|
|
3609
3615
|
`), Su = ({
|
|
3610
3616
|
mediaQuery: e,
|
|
3611
3617
|
className: t,
|
|
@@ -3632,7 +3638,7 @@ const Cu = ({
|
|
|
3632
3638
|
block: e
|
|
3633
3639
|
}));
|
|
3634
3640
|
function ho(e) {
|
|
3635
|
-
switch (
|
|
3641
|
+
switch (se) {
|
|
3636
3642
|
case "svelte":
|
|
3637
3643
|
case "vue":
|
|
3638
3644
|
case "solid":
|
|
@@ -3669,7 +3675,7 @@ const ks = ({
|
|
|
3669
3675
|
} = e;
|
|
3670
3676
|
if (!(n != null && n.collection))
|
|
3671
3677
|
return;
|
|
3672
|
-
const o =
|
|
3678
|
+
const o = kt({
|
|
3673
3679
|
code: n.collection,
|
|
3674
3680
|
localState: t.localState,
|
|
3675
3681
|
rootState: t.rootState,
|
|
@@ -3717,22 +3723,22 @@ const ks = ({
|
|
|
3717
3723
|
"Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
|
|
3718
3724
|
e
|
|
3719
3725
|
), e;
|
|
3720
|
-
}), xs = () => import("./block-styles-
|
|
3726
|
+
}), xs = () => import("./block-styles-xeGiE5b9.js").then((e) => e.default).catch((e) => {
|
|
3721
3727
|
throw console.error(
|
|
3722
3728
|
"Error while attempting to dynamically import component BlockStyles at ./components/block-styles.vue",
|
|
3723
3729
|
e
|
|
3724
3730
|
), e;
|
|
3725
|
-
}), Rs = () => import("./block-wrapper-
|
|
3731
|
+
}), Rs = () => import("./block-wrapper-rWfNhUAl.js").then((e) => e.default).catch((e) => {
|
|
3726
3732
|
throw console.error(
|
|
3727
3733
|
"Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
|
|
3728
3734
|
e
|
|
3729
3735
|
), e;
|
|
3730
|
-
}), As = () => import("./component-ref-
|
|
3736
|
+
}), As = () => import("./component-ref-2gTfqFWa.js").then((e) => e.default).catch((e) => {
|
|
3731
3737
|
throw console.error(
|
|
3732
3738
|
"Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
|
|
3733
3739
|
e
|
|
3734
3740
|
), e;
|
|
3735
|
-
}), $s = () => import("./repeated-block-
|
|
3741
|
+
}), $s = () => import("./repeated-block-sibYzFQC.js").then((e) => e.default).catch((e) => {
|
|
3736
3742
|
throw console.error(
|
|
3737
3743
|
"Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
|
|
3738
3744
|
e
|
|
@@ -3740,11 +3746,11 @@ const ks = ({
|
|
|
3740
3746
|
}), Ps = j({
|
|
3741
3747
|
name: "block",
|
|
3742
3748
|
components: {
|
|
3743
|
-
BlockStyles:
|
|
3744
|
-
RepeatedBlock:
|
|
3745
|
-
ComponentRef:
|
|
3746
|
-
BlockWrapper:
|
|
3747
|
-
DynamicDiv:
|
|
3749
|
+
BlockStyles: rt(xs),
|
|
3750
|
+
RepeatedBlock: rt($s),
|
|
3751
|
+
ComponentRef: rt(As),
|
|
3752
|
+
BlockWrapper: rt(Rs),
|
|
3753
|
+
DynamicDiv: rt(Is)
|
|
3748
3754
|
},
|
|
3749
3755
|
props: ["block", "context", "registeredComponents", "linkComponent"],
|
|
3750
3756
|
data() {
|
|
@@ -3825,27 +3831,27 @@ const ks = ({
|
|
|
3825
3831
|
registeredComponents: this.registeredComponents,
|
|
3826
3832
|
builderBlock: this.processedBlock,
|
|
3827
3833
|
includeBlockProps: ((t = this.blockComponent) == null ? void 0 : t.noWrap) === !0,
|
|
3828
|
-
isInteractive: !((n = this.blockComponent) != null && n.isRSC &&
|
|
3834
|
+
isInteractive: !((n = this.blockComponent) != null && n.isRSC && se === "rsc")
|
|
3829
3835
|
};
|
|
3830
3836
|
}
|
|
3831
3837
|
}
|
|
3832
3838
|
});
|
|
3833
3839
|
function Os(e, t, n, r, o, i) {
|
|
3834
3840
|
var v;
|
|
3835
|
-
const s =
|
|
3836
|
-
return e.canShowBlock ? (g(),
|
|
3837
|
-
|
|
3841
|
+
const s = U("BlockStyles"), u = U("ComponentRef"), p = U("Block", !0), m = U("BlockWrapper"), b = U("RepeatedBlock");
|
|
3842
|
+
return e.canShowBlock ? (g(), E(J, { key: 0 }, [
|
|
3843
|
+
ie(s, {
|
|
3838
3844
|
block: e.processedBlock,
|
|
3839
3845
|
context: e.context
|
|
3840
3846
|
}, null, 8, ["block", "context"]),
|
|
3841
|
-
(v = e.blockComponent) != null && v.noWrap ? (g(),
|
|
3842
|
-
e.repeatItem ? (g(!0),
|
|
3843
|
-
key:
|
|
3847
|
+
(v = e.blockComponent) != null && v.noWrap ? (g(), E(J, { key: 1 }, [
|
|
3848
|
+
e.repeatItem ? (g(!0), E(J, { key: 1 }, fe(e.repeatItem, (y, I) => (g(), D(b, {
|
|
3849
|
+
key: I,
|
|
3844
3850
|
repeatContext: y.context,
|
|
3845
3851
|
block: y.block,
|
|
3846
3852
|
registeredComponents: e.registeredComponents,
|
|
3847
3853
|
linkComponent: e.linkComponent
|
|
3848
|
-
}, null, 8, ["repeatContext", "block", "registeredComponents", "linkComponent"]))), 128)) : (g(),
|
|
3854
|
+
}, null, 8, ["repeatContext", "block", "registeredComponents", "linkComponent"]))), 128)) : (g(), D(u, {
|
|
3849
3855
|
key: 0,
|
|
3850
3856
|
componentRef: e.componentRefProps.componentRef,
|
|
3851
3857
|
componentOptions: e.componentRefProps.componentOptions,
|
|
@@ -3857,21 +3863,21 @@ function Os(e, t, n, r, o, i) {
|
|
|
3857
3863
|
includeBlockProps: e.componentRefProps.includeBlockProps,
|
|
3858
3864
|
isInteractive: e.componentRefProps.isInteractive
|
|
3859
3865
|
}, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "linkComponent", "builderBlock", "includeBlockProps", "isInteractive"]))
|
|
3860
|
-
], 64)) : (g(),
|
|
3861
|
-
e.repeatItem ? (g(!0),
|
|
3862
|
-
key:
|
|
3866
|
+
], 64)) : (g(), E(J, { key: 0 }, [
|
|
3867
|
+
e.repeatItem ? (g(!0), E(J, { key: 1 }, fe(e.repeatItem, (y, I) => (g(), D(b, {
|
|
3868
|
+
key: I,
|
|
3863
3869
|
repeatContext: y.context,
|
|
3864
3870
|
block: y.block,
|
|
3865
3871
|
registeredComponents: e.registeredComponents,
|
|
3866
3872
|
linkComponent: e.linkComponent
|
|
3867
|
-
}, null, 8, ["repeatContext", "block", "registeredComponents", "linkComponent"]))), 128)) : (g(),
|
|
3873
|
+
}, null, 8, ["repeatContext", "block", "registeredComponents", "linkComponent"]))), 128)) : (g(), D(m, {
|
|
3868
3874
|
key: 0,
|
|
3869
3875
|
Wrapper: e.Tag,
|
|
3870
3876
|
block: e.processedBlock,
|
|
3871
3877
|
context: e.context
|
|
3872
3878
|
}, {
|
|
3873
|
-
default:
|
|
3874
|
-
|
|
3879
|
+
default: Ee(() => [
|
|
3880
|
+
ie(u, {
|
|
3875
3881
|
componentRef: e.componentRefProps.componentRef,
|
|
3876
3882
|
componentOptions: e.componentRefProps.componentOptions,
|
|
3877
3883
|
blockChildren: e.componentRefProps.blockChildren,
|
|
@@ -3882,7 +3888,7 @@ function Os(e, t, n, r, o, i) {
|
|
|
3882
3888
|
includeBlockProps: e.componentRefProps.includeBlockProps,
|
|
3883
3889
|
isInteractive: e.componentRefProps.isInteractive
|
|
3884
3890
|
}, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "linkComponent", "builderBlock", "includeBlockProps", "isInteractive"]),
|
|
3885
|
-
(g(!0),
|
|
3891
|
+
(g(!0), E(J, null, fe(e.childrenWithoutParentComponent, (y, I) => (g(), D(p, {
|
|
3886
3892
|
key: y.id,
|
|
3887
3893
|
block: y,
|
|
3888
3894
|
registeredComponents: e.registeredComponents,
|
|
@@ -3893,7 +3899,7 @@ function Os(e, t, n, r, o, i) {
|
|
|
3893
3899
|
_: 1
|
|
3894
3900
|
}, 8, ["Wrapper", "block", "context"]))
|
|
3895
3901
|
], 64))
|
|
3896
|
-
], 64)) :
|
|
3902
|
+
], 64)) : M("", !0);
|
|
3897
3903
|
}
|
|
3898
3904
|
const Un = /* @__PURE__ */ N(Ps, [["render", Os]]), wu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3899
3905
|
__proto__: null,
|
|
@@ -3930,7 +3936,7 @@ const Un = /* @__PURE__ */ N(Ps, [["render", Os]]), wu = /* @__PURE__ */ Object.
|
|
|
3930
3936
|
methods: {
|
|
3931
3937
|
onClick() {
|
|
3932
3938
|
var e, t;
|
|
3933
|
-
|
|
3939
|
+
le() && !((e = this.blocks) != null && e.length) && ((t = window.parent) == null || t.postMessage(
|
|
3934
3940
|
{
|
|
3935
3941
|
type: "builder.clickEmptyBlocks",
|
|
3936
3942
|
data: {
|
|
@@ -3943,7 +3949,7 @@ const Un = /* @__PURE__ */ N(Ps, [["render", Os]]), wu = /* @__PURE__ */ Object.
|
|
|
3943
3949
|
},
|
|
3944
3950
|
onMouseEnter() {
|
|
3945
3951
|
var e, t;
|
|
3946
|
-
|
|
3952
|
+
le() && !((e = this.blocks) != null && e.length) && ((t = window.parent) == null || t.postMessage(
|
|
3947
3953
|
{
|
|
3948
3954
|
type: "builder.hoverEmptyBlocks",
|
|
3949
3955
|
data: {
|
|
@@ -3957,7 +3963,7 @@ const Un = /* @__PURE__ */ N(Ps, [["render", Os]]), wu = /* @__PURE__ */ Object.
|
|
|
3957
3963
|
}
|
|
3958
3964
|
});
|
|
3959
3965
|
function Bs(e, t, n, r, o, i) {
|
|
3960
|
-
return g(),
|
|
3966
|
+
return g(), D(ut(e.BlocksWrapper), q({
|
|
3961
3967
|
ref: "blocksWrapperRef",
|
|
3962
3968
|
class: e.className + " component-1k2igrjdg3x",
|
|
3963
3969
|
"builder-path": e.dataPath,
|
|
@@ -3967,7 +3973,7 @@ function Bs(e, t, n, r, o, i) {
|
|
|
3967
3973
|
onMouseEnter: (s) => e.onMouseEnter(),
|
|
3968
3974
|
onKeyPress: (s) => e.onClick()
|
|
3969
3975
|
}, { ...e.BlocksWrapperProps }), {
|
|
3970
|
-
default:
|
|
3976
|
+
default: Ee(() => [
|
|
3971
3977
|
de(e.$slots, "default", {}, void 0, !0)
|
|
3972
3978
|
]),
|
|
3973
3979
|
_: 3
|
|
@@ -3993,8 +3999,8 @@ const Ns = /* @__PURE__ */ N(js, [["render", Bs], ["__scopeId", "data-v-ba2bc5c0
|
|
|
3993
3999
|
});
|
|
3994
4000
|
function Ds(e, t, n, r, o, i) {
|
|
3995
4001
|
var p, m, b, v;
|
|
3996
|
-
const s =
|
|
3997
|
-
return g(),
|
|
4002
|
+
const s = U("Block"), u = U("BlocksWrapper");
|
|
4003
|
+
return g(), D(u, {
|
|
3998
4004
|
blocks: e.blocks,
|
|
3999
4005
|
parent: e.parent,
|
|
4000
4006
|
path: e.path,
|
|
@@ -4003,33 +4009,33 @@ function Ds(e, t, n, r, o, i) {
|
|
|
4003
4009
|
BlocksWrapper: ((p = e.context) == null ? void 0 : p.BlocksWrapper) || ((m = e.builderContext) == null ? void 0 : m.BlocksWrapper),
|
|
4004
4010
|
BlocksWrapperProps: ((b = e.context) == null ? void 0 : b.BlocksWrapperProps) || ((v = e.builderContext) == null ? void 0 : v.BlocksWrapperProps)
|
|
4005
4011
|
}, {
|
|
4006
|
-
default:
|
|
4007
|
-
e.blocks ? (g(!0),
|
|
4012
|
+
default: Ee(() => [
|
|
4013
|
+
e.blocks ? (g(!0), E(J, { key: 0 }, fe(e.blocks, (y, I) => {
|
|
4008
4014
|
var V;
|
|
4009
|
-
return g(),
|
|
4015
|
+
return g(), D(s, {
|
|
4010
4016
|
key: y.id,
|
|
4011
4017
|
block: y,
|
|
4012
4018
|
linkComponent: e.linkComponent,
|
|
4013
4019
|
context: e.context || e.builderContext,
|
|
4014
4020
|
registeredComponents: e.registeredComponents || ((V = e.componentsContext) == null ? void 0 : V.registeredComponents)
|
|
4015
4021
|
}, null, 8, ["block", "linkComponent", "context", "registeredComponents"]);
|
|
4016
|
-
}), 128)) :
|
|
4022
|
+
}), 128)) : M("", !0)
|
|
4017
4023
|
]),
|
|
4018
4024
|
_: 1
|
|
4019
4025
|
}, 8, ["blocks", "parent", "path", "styleProp", "classNameProp", "BlocksWrapper", "BlocksWrapperProps"]);
|
|
4020
4026
|
}
|
|
4021
|
-
const
|
|
4027
|
+
const Je = /* @__PURE__ */ N(Vs, [["render", Ds]]), Us = j({
|
|
4022
4028
|
name: "dynamic-div",
|
|
4023
4029
|
props: []
|
|
4024
4030
|
});
|
|
4025
4031
|
function Fs(e, t, n, r, o, i) {
|
|
4026
|
-
return g(),
|
|
4032
|
+
return g(), E("div", null, [
|
|
4027
4033
|
de(e.$slots, "default")
|
|
4028
4034
|
]);
|
|
4029
4035
|
}
|
|
4030
|
-
const
|
|
4036
|
+
const St = /* @__PURE__ */ N(Us, [["render", Fs]]), Ws = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4031
4037
|
__proto__: null,
|
|
4032
|
-
default:
|
|
4038
|
+
default: St
|
|
4033
4039
|
}, Symbol.toStringTag, { value: "Module" })), Fn = j({
|
|
4034
4040
|
render() {
|
|
4035
4041
|
return Or("style", {
|
|
@@ -4087,8 +4093,8 @@ const bt = /* @__PURE__ */ N(Us, [["render", Fs]]), Ws = /* @__PURE__ */ Object.
|
|
|
4087
4093
|
components: {
|
|
4088
4094
|
InlinedStyles: Fn,
|
|
4089
4095
|
DynamicRenderer: bn,
|
|
4090
|
-
Blocks:
|
|
4091
|
-
DynamicDiv:
|
|
4096
|
+
Blocks: Je,
|
|
4097
|
+
DynamicDiv: St
|
|
4092
4098
|
},
|
|
4093
4099
|
props: [
|
|
4094
4100
|
"space",
|
|
@@ -4101,7 +4107,7 @@ const bt = /* @__PURE__ */ N(Us, [["render", Fs]]), Ws = /* @__PURE__ */ Object.
|
|
|
4101
4107
|
"builderComponents"
|
|
4102
4108
|
],
|
|
4103
4109
|
data() {
|
|
4104
|
-
return { TARGET:
|
|
4110
|
+
return { TARGET: se, getColumnsClass: Ls };
|
|
4105
4111
|
},
|
|
4106
4112
|
computed: {
|
|
4107
4113
|
gutterSize() {
|
|
@@ -4217,7 +4223,7 @@ const bt = /* @__PURE__ */ N(Us, [["render", Fs]]), Ws = /* @__PURE__ */ Object.
|
|
|
4217
4223
|
...e.link ? {
|
|
4218
4224
|
href: e.link
|
|
4219
4225
|
} : {},
|
|
4220
|
-
[
|
|
4226
|
+
[Ot()]: "builder-column",
|
|
4221
4227
|
style: ho(this.columnCssVars(t))
|
|
4222
4228
|
};
|
|
4223
4229
|
}
|
|
@@ -4225,25 +4231,25 @@ const bt = /* @__PURE__ */ N(Us, [["render", Fs]]), Ws = /* @__PURE__ */ Object.
|
|
|
4225
4231
|
});
|
|
4226
4232
|
function Ks(e, t, n, r, o, i) {
|
|
4227
4233
|
var m;
|
|
4228
|
-
const s =
|
|
4229
|
-
return g(),
|
|
4234
|
+
const s = U("InlinedStyles"), u = U("Blocks"), p = U("DynamicRenderer");
|
|
4235
|
+
return g(), E("div", q({
|
|
4230
4236
|
class: e.getColumnsClass((m = e.builderBlock) == null ? void 0 : m.id) + " div-4wbls88y960",
|
|
4231
4237
|
style: e.columnsCssVars()
|
|
4232
4238
|
}, {}), [
|
|
4233
|
-
e.TARGET !== "reactNative" ? (g(),
|
|
4239
|
+
e.TARGET !== "reactNative" ? (g(), D(s, {
|
|
4234
4240
|
key: 0,
|
|
4235
4241
|
id: "builderio-columns",
|
|
4236
4242
|
styles: e.columnsStyles(),
|
|
4237
4243
|
nonce: e.builderContext.nonce
|
|
4238
|
-
}, null, 8, ["styles", "nonce"])) :
|
|
4239
|
-
(g(!0),
|
|
4244
|
+
}, null, 8, ["styles", "nonce"])) : M("", !0),
|
|
4245
|
+
(g(!0), E(J, null, fe(e.columns, (b, v) => (g(), D(p, {
|
|
4240
4246
|
key: v,
|
|
4241
4247
|
TagName: e.getTagName(b),
|
|
4242
4248
|
actionAttributes: {},
|
|
4243
4249
|
attributes: e.getAttributes(b, v)
|
|
4244
4250
|
}, {
|
|
4245
|
-
default:
|
|
4246
|
-
|
|
4251
|
+
default: Ee(() => [
|
|
4252
|
+
ie(u, {
|
|
4247
4253
|
path: `columns.${v}.blocks`,
|
|
4248
4254
|
parent: e.builderBlock.id,
|
|
4249
4255
|
styleProp: {
|
|
@@ -4264,7 +4270,7 @@ const Gs = /* @__PURE__ */ N(Hs, [["render", Ks], ["__scopeId", "data-v-3354f136
|
|
|
4264
4270
|
props: []
|
|
4265
4271
|
});
|
|
4266
4272
|
function zs(e, t, n, r, o, i) {
|
|
4267
|
-
return g(),
|
|
4273
|
+
return g(), E("span", null, [
|
|
4268
4274
|
de(e.$slots, "default")
|
|
4269
4275
|
]);
|
|
4270
4276
|
}
|
|
@@ -4356,24 +4362,24 @@ const Ys = j({
|
|
|
4356
4362
|
};
|
|
4357
4363
|
function ta(e, t, n, r, o, i) {
|
|
4358
4364
|
var s, u, p, m, b, v;
|
|
4359
|
-
return g(),
|
|
4360
|
-
|
|
4361
|
-
e.webpSrcSet ? (g(),
|
|
4365
|
+
return g(), E(J, null, [
|
|
4366
|
+
ht("picture", null, [
|
|
4367
|
+
e.webpSrcSet ? (g(), E("source", {
|
|
4362
4368
|
key: 0,
|
|
4363
4369
|
type: "image/webp",
|
|
4364
4370
|
srcset: e.webpSrcSet
|
|
4365
|
-
}, null, 8, Zs)) :
|
|
4366
|
-
|
|
4371
|
+
}, null, 8, Zs)) : M("", !0),
|
|
4372
|
+
ht("img", {
|
|
4367
4373
|
loading: e.highPriority ? "eager" : "lazy",
|
|
4368
4374
|
fetchpriority: e.highPriority ? "high" : "auto",
|
|
4369
4375
|
alt: e.altText,
|
|
4370
4376
|
role: e.altText ? void 0 : "presentation",
|
|
4371
|
-
style:
|
|
4377
|
+
style: $e({
|
|
4372
4378
|
objectPosition: e.backgroundPosition || "center",
|
|
4373
4379
|
objectFit: e.backgroundSize || "cover",
|
|
4374
4380
|
...e.aspectRatioCss
|
|
4375
4381
|
}),
|
|
4376
|
-
class:
|
|
4382
|
+
class: ft(
|
|
4377
4383
|
"builder-image" + (e.className ? " " + e.className : "") + " img-29wpyomtntv"
|
|
4378
4384
|
),
|
|
4379
4385
|
src: e.image,
|
|
@@ -4381,17 +4387,17 @@ function ta(e, t, n, r, o, i) {
|
|
|
4381
4387
|
sizes: e.sizes
|
|
4382
4388
|
}, null, 14, Qs)
|
|
4383
4389
|
]),
|
|
4384
|
-
e.aspectRatio && !((u = (s = e.builderBlock) == null ? void 0 : s.children) != null && u.length && e.fitContent) ? (g(),
|
|
4390
|
+
e.aspectRatio && !((u = (s = e.builderBlock) == null ? void 0 : s.children) != null && u.length && e.fitContent) ? (g(), E("div", {
|
|
4385
4391
|
key: 0,
|
|
4386
4392
|
class: "builder-image-sizer div-29wpyomtntv",
|
|
4387
|
-
style:
|
|
4393
|
+
style: $e({
|
|
4388
4394
|
paddingTop: e.aspectRatio * 100 + "%"
|
|
4389
4395
|
})
|
|
4390
|
-
}, null, 4)) :
|
|
4391
|
-
(m = (p = e.builderBlock) == null ? void 0 : p.children) != null && m.length && e.fitContent ? de(e.$slots, "default", { key: 1 }, void 0, !0) :
|
|
4392
|
-
!e.fitContent && ((v = (b = e.builderBlock) == null ? void 0 : b.children) != null && v.length) ? (g(),
|
|
4396
|
+
}, null, 4)) : M("", !0),
|
|
4397
|
+
(m = (p = e.builderBlock) == null ? void 0 : p.children) != null && m.length && e.fitContent ? de(e.$slots, "default", { key: 1 }, void 0, !0) : M("", !0),
|
|
4398
|
+
!e.fitContent && ((v = (b = e.builderBlock) == null ? void 0 : b.children) != null && v.length) ? (g(), E("div", ea, [
|
|
4393
4399
|
de(e.$slots, "default", {}, void 0, !0)
|
|
4394
|
-
])) :
|
|
4400
|
+
])) : M("", !0)
|
|
4395
4401
|
], 64);
|
|
4396
4402
|
}
|
|
4397
4403
|
const na = /* @__PURE__ */ N(Ys, [["render", ta], ["__scopeId", "data-v-77f8a6c4"]]), ra = j({
|
|
@@ -4402,7 +4408,7 @@ const na = /* @__PURE__ */ N(Ys, [["render", ta], ["__scopeId", "data-v-77f8a6c4
|
|
|
4402
4408
|
}
|
|
4403
4409
|
});
|
|
4404
4410
|
function oa(e, t, n, r, o, i) {
|
|
4405
|
-
return g(),
|
|
4411
|
+
return g(), E("section", q({
|
|
4406
4412
|
style: {
|
|
4407
4413
|
width: "100%",
|
|
4408
4414
|
alignSelf: "stretch",
|
|
@@ -4545,7 +4551,7 @@ const ia = /* @__PURE__ */ N(ra, [["render", oa]]), ln = {
|
|
|
4545
4551
|
}
|
|
4546
4552
|
}, aa = (e) => e.toString(), la = j({
|
|
4547
4553
|
name: "builder-accordion",
|
|
4548
|
-
components: { Blocks:
|
|
4554
|
+
components: { Blocks: Je },
|
|
4549
4555
|
props: [
|
|
4550
4556
|
"grid",
|
|
4551
4557
|
"oneAtATime",
|
|
@@ -4640,15 +4646,15 @@ const ia = /* @__PURE__ */ N(ra, [["render", oa]]), ln = {
|
|
|
4640
4646
|
}
|
|
4641
4647
|
}), ua = ["data-index", "onClick"];
|
|
4642
4648
|
function ca(e, t, n, r, o, i) {
|
|
4643
|
-
const s =
|
|
4644
|
-
return g(),
|
|
4649
|
+
const s = U("Blocks");
|
|
4650
|
+
return g(), E("div", {
|
|
4645
4651
|
class: "builder-accordion",
|
|
4646
|
-
style:
|
|
4652
|
+
style: $e(e.accordionStyles)
|
|
4647
4653
|
}, [
|
|
4648
|
-
(g(!0),
|
|
4649
|
-
|
|
4650
|
-
class:
|
|
4651
|
-
style:
|
|
4654
|
+
(g(!0), E(J, null, fe(e.items, (u, p) => (g(), E(J, { key: p }, [
|
|
4655
|
+
ht("div", {
|
|
4656
|
+
class: ft(e.getAccordionTitleClassName(p)),
|
|
4657
|
+
style: $e({
|
|
4652
4658
|
...e.accordionTitleStyles,
|
|
4653
4659
|
...e.grid && {
|
|
4654
4660
|
width: e.gridRowWidth,
|
|
@@ -4658,7 +4664,7 @@ function ca(e, t, n, r, o, i) {
|
|
|
4658
4664
|
"data-index": p,
|
|
4659
4665
|
onClick: (m) => e.onClick(p)
|
|
4660
4666
|
}, [
|
|
4661
|
-
|
|
4667
|
+
ie(s, {
|
|
4662
4668
|
blocks: u.title,
|
|
4663
4669
|
path: `items.${p}.title`,
|
|
4664
4670
|
parent: e.builderBlock.id,
|
|
@@ -4667,12 +4673,12 @@ function ca(e, t, n, r, o, i) {
|
|
|
4667
4673
|
linkComponent: e.builderLinkComponent
|
|
4668
4674
|
}, null, 8, ["blocks", "path", "parent", "context", "registeredComponents", "linkComponent"])
|
|
4669
4675
|
], 14, ua),
|
|
4670
|
-
e.open.includes(p) ? (g(),
|
|
4676
|
+
e.open.includes(p) ? (g(), E("div", {
|
|
4671
4677
|
key: 0,
|
|
4672
|
-
class:
|
|
4673
|
-
style:
|
|
4678
|
+
class: ft(e.getAccordionDetailClassName(p)),
|
|
4679
|
+
style: $e(e.accordionDetailStyles)
|
|
4674
4680
|
}, [
|
|
4675
|
-
|
|
4681
|
+
ie(s, {
|
|
4676
4682
|
blocks: u.detail,
|
|
4677
4683
|
path: `items.${p}.detail`,
|
|
4678
4684
|
parent: e.builderBlock.id,
|
|
@@ -4680,7 +4686,7 @@ function ca(e, t, n, r, o, i) {
|
|
|
4680
4686
|
registeredComponents: e.builderComponents,
|
|
4681
4687
|
linkComponent: e.builderLinkComponent
|
|
4682
4688
|
}, null, 8, ["blocks", "path", "parent", "context", "registeredComponents", "linkComponent"])
|
|
4683
|
-
], 6)) :
|
|
4689
|
+
], 6)) : M("", !0)
|
|
4684
4690
|
], 64))), 128))
|
|
4685
4691
|
], 4);
|
|
4686
4692
|
}
|
|
@@ -5099,13 +5105,13 @@ const pa = /* @__PURE__ */ N(la, [["render", ca]]), da = {
|
|
|
5099
5105
|
}
|
|
5100
5106
|
}, va = j({
|
|
5101
5107
|
name: "builder-slot",
|
|
5102
|
-
components: { Blocks:
|
|
5108
|
+
components: { Blocks: Je },
|
|
5103
5109
|
props: ["builderContext", "name", "builderComponents"]
|
|
5104
5110
|
});
|
|
5105
5111
|
function ba(e, t, n, r, o, i) {
|
|
5106
5112
|
var u, p, m;
|
|
5107
|
-
const s =
|
|
5108
|
-
return g(),
|
|
5113
|
+
const s = U("Blocks");
|
|
5114
|
+
return g(), E("div", q(
|
|
5109
5115
|
{ style: {
|
|
5110
5116
|
pointerEvents: "auto"
|
|
5111
5117
|
} },
|
|
@@ -5113,7 +5119,7 @@ function ba(e, t, n, r, o, i) {
|
|
|
5113
5119
|
"builder-slot": e.name
|
|
5114
5120
|
}
|
|
5115
5121
|
), [
|
|
5116
|
-
|
|
5122
|
+
ie(s, {
|
|
5117
5123
|
parent: (p = e.builderContext.context) == null ? void 0 : p.symbolId,
|
|
5118
5124
|
path: `symbol.data.${e.name}`,
|
|
5119
5125
|
context: e.builderContext,
|
|
@@ -5304,7 +5310,7 @@ const ka = /* @__PURE__ */ N(va, [["render", ba]]), Sa = {
|
|
|
5304
5310
|
}
|
|
5305
5311
|
}, wa = j({
|
|
5306
5312
|
name: "builder-tabs",
|
|
5307
|
-
components: { Blocks:
|
|
5313
|
+
components: { Blocks: Je },
|
|
5308
5314
|
props: [
|
|
5309
5315
|
"defaultActiveTab",
|
|
5310
5316
|
"tabs",
|
|
@@ -5329,26 +5335,26 @@ const ka = /* @__PURE__ */ N(va, [["render", ba]]), Sa = {
|
|
|
5329
5335
|
}
|
|
5330
5336
|
}), Ta = ["onClick"], Ea = { key: 0 };
|
|
5331
5337
|
function Ia(e, t, n, r, o, i) {
|
|
5332
|
-
const s =
|
|
5333
|
-
return g(),
|
|
5334
|
-
|
|
5338
|
+
const s = U("Blocks");
|
|
5339
|
+
return g(), E("div", null, [
|
|
5340
|
+
ht("div", {
|
|
5335
5341
|
class: "builder-tabs-wrap",
|
|
5336
|
-
style:
|
|
5342
|
+
style: $e({
|
|
5337
5343
|
display: "flex",
|
|
5338
5344
|
flexDirection: "row",
|
|
5339
5345
|
justifyContent: e.tabHeaderLayout || "flex-start",
|
|
5340
5346
|
overflow: "auto"
|
|
5341
5347
|
})
|
|
5342
5348
|
}, [
|
|
5343
|
-
(g(!0),
|
|
5349
|
+
(g(!0), E(J, null, fe(e.tabs, (u, p) => (g(), E("span", {
|
|
5344
5350
|
key: p,
|
|
5345
|
-
class:
|
|
5346
|
-
style:
|
|
5351
|
+
class: ft(`builder-tab-wrap ${e.activeTab === p ? "builder-tab-active" : ""}`),
|
|
5352
|
+
style: $e({
|
|
5347
5353
|
...e.activeTab === p ? e.activeTabStyle : {}
|
|
5348
5354
|
}),
|
|
5349
5355
|
onClick: (m) => e.onClick(p)
|
|
5350
5356
|
}, [
|
|
5351
|
-
|
|
5357
|
+
ie(s, {
|
|
5352
5358
|
parent: e.builderBlock.id,
|
|
5353
5359
|
path: `tabs.${p}.label`,
|
|
5354
5360
|
blocks: u.label,
|
|
@@ -5358,8 +5364,8 @@ function Ia(e, t, n, r, o, i) {
|
|
|
5358
5364
|
}, null, 8, ["parent", "path", "blocks", "context", "registeredComponents", "linkComponent"])
|
|
5359
5365
|
], 14, Ta))), 128))
|
|
5360
5366
|
], 4),
|
|
5361
|
-
e.activeTabContent(e.activeTab) ? (g(),
|
|
5362
|
-
|
|
5367
|
+
e.activeTabContent(e.activeTab) ? (g(), E("div", Ea, [
|
|
5368
|
+
ie(s, {
|
|
5363
5369
|
parent: e.builderBlock.id,
|
|
5364
5370
|
path: `tabs.${e.activeTab}.content`,
|
|
5365
5371
|
blocks: e.activeTabContent(e.activeTab),
|
|
@@ -5367,7 +5373,7 @@ function Ia(e, t, n, r, o, i) {
|
|
|
5367
5373
|
registeredComponents: e.builderComponents,
|
|
5368
5374
|
linkComponent: e.builderLinkComponent
|
|
5369
5375
|
}, null, 8, ["parent", "path", "blocks", "context", "registeredComponents", "linkComponent"])
|
|
5370
|
-
])) :
|
|
5376
|
+
])) : M("", !0)
|
|
5371
5377
|
]);
|
|
5372
5378
|
}
|
|
5373
5379
|
const xa = /* @__PURE__ */ N(wa, [["render", Ia]]), Ra = {
|
|
@@ -5406,7 +5412,7 @@ const xa = /* @__PURE__ */ N(wa, [["render", Ia]]), Ra = {
|
|
|
5406
5412
|
} = e;
|
|
5407
5413
|
return String(((i = this.text) == null ? void 0 : i.toString()) || "").replace(
|
|
5408
5414
|
/{{([^}]+)}}/g,
|
|
5409
|
-
(s, u) =>
|
|
5415
|
+
(s, u) => kt({
|
|
5410
5416
|
code: u,
|
|
5411
5417
|
context: t,
|
|
5412
5418
|
localState: n,
|
|
@@ -5418,7 +5424,7 @@ const xa = /* @__PURE__ */ N(wa, [["render", Ia]]), Ra = {
|
|
|
5418
5424
|
}
|
|
5419
5425
|
}), $a = ["innerHTML"];
|
|
5420
5426
|
function Pa(e, t, n, r, o, i) {
|
|
5421
|
-
return g(),
|
|
5427
|
+
return g(), E("div", {
|
|
5422
5428
|
class: "builder-text",
|
|
5423
5429
|
innerHTML: e.processedText,
|
|
5424
5430
|
style: {
|
|
@@ -5484,9 +5490,9 @@ const Oa = /* @__PURE__ */ N(Aa, [["render", Pa]]), ja = {
|
|
|
5484
5490
|
}
|
|
5485
5491
|
}), Na = ["innerHTML"];
|
|
5486
5492
|
function Va(e, t, n, r, o, i) {
|
|
5487
|
-
return g(),
|
|
5493
|
+
return g(), E("div", {
|
|
5488
5494
|
ref: "elementRef",
|
|
5489
|
-
class:
|
|
5495
|
+
class: ft("builder-custom-code" + (e.replaceNodes ? " replace-nodes" : "")),
|
|
5490
5496
|
innerHTML: e.code
|
|
5491
5497
|
}, null, 10, Na);
|
|
5492
5498
|
}
|
|
@@ -5549,7 +5555,7 @@ const Da = /* @__PURE__ */ N(Ba, [["render", Va]]), Ua = {
|
|
|
5549
5555
|
}
|
|
5550
5556
|
}), La = ["innerHTML"];
|
|
5551
5557
|
function Ha(e, t, n, r, o, i) {
|
|
5552
|
-
return g(),
|
|
5558
|
+
return g(), E("div", {
|
|
5553
5559
|
class: "builder-embed",
|
|
5554
5560
|
ref: "elem",
|
|
5555
5561
|
innerHTML: e.content
|
|
@@ -5797,7 +5803,7 @@ const Ka = /* @__PURE__ */ N(Ma, [["render", Ha]]), Ga = {
|
|
|
5797
5803
|
return qa.includes(e) ? e : "production";
|
|
5798
5804
|
}, Ja = j({
|
|
5799
5805
|
name: "builder-form-component",
|
|
5800
|
-
components: { Block: Un, Blocks:
|
|
5806
|
+
components: { Block: Un, Blocks: Je },
|
|
5801
5807
|
props: [
|
|
5802
5808
|
"builderContext",
|
|
5803
5809
|
"previewState",
|
|
@@ -5839,7 +5845,7 @@ const Ka = /* @__PURE__ */ N(Ma, [["render", Ha]]), Ga = {
|
|
|
5839
5845
|
this.builderContext.rootSetState ? (r = (n = this.builderContext).rootSetState) == null || r.call(n, t) : this.builderContext.rootState = t;
|
|
5840
5846
|
},
|
|
5841
5847
|
submissionState() {
|
|
5842
|
-
return
|
|
5848
|
+
return le() && this.previewState || this.formState;
|
|
5843
5849
|
},
|
|
5844
5850
|
onSubmit(e) {
|
|
5845
5851
|
var n;
|
|
@@ -5855,27 +5861,27 @@ const Ka = /* @__PURE__ */ N(Ma, [["render", Ha]]), Ga = {
|
|
|
5855
5861
|
const r = e.currentTarget || e.target, o = this.customHeaders || {};
|
|
5856
5862
|
let i;
|
|
5857
5863
|
const s = new FormData(r), u = Array.from(r.querySelectorAll("input,select,textarea")).filter((y) => !!y.name).map((y) => {
|
|
5858
|
-
let
|
|
5864
|
+
let I;
|
|
5859
5865
|
const V = y.name;
|
|
5860
5866
|
if (y instanceof HTMLInputElement)
|
|
5861
5867
|
if (y.type === "radio") {
|
|
5862
5868
|
if (y.checked)
|
|
5863
|
-
return
|
|
5869
|
+
return I = y.name, {
|
|
5864
5870
|
key: V,
|
|
5865
|
-
value:
|
|
5871
|
+
value: I
|
|
5866
5872
|
};
|
|
5867
5873
|
} else if (y.type === "checkbox")
|
|
5868
|
-
|
|
5874
|
+
I = y.checked;
|
|
5869
5875
|
else if (y.type === "number" || y.type === "range") {
|
|
5870
5876
|
const O = y.valueAsNumber;
|
|
5871
|
-
isNaN(O) || (
|
|
5877
|
+
isNaN(O) || (I = O);
|
|
5872
5878
|
} else
|
|
5873
|
-
y.type === "file" ?
|
|
5879
|
+
y.type === "file" ? I = y.files : I = y.value;
|
|
5874
5880
|
else
|
|
5875
|
-
|
|
5881
|
+
I = y.value;
|
|
5876
5882
|
return {
|
|
5877
5883
|
key: V,
|
|
5878
|
-
value:
|
|
5884
|
+
value: I
|
|
5879
5885
|
};
|
|
5880
5886
|
});
|
|
5881
5887
|
let p = this.contentType;
|
|
@@ -5885,8 +5891,8 @@ const Ka = /* @__PURE__ */ N(Ma, [["render", Ha]]), Ga = {
|
|
|
5885
5891
|
i = s;
|
|
5886
5892
|
else {
|
|
5887
5893
|
const y = {};
|
|
5888
|
-
Array.from(u).forEach(({ value:
|
|
5889
|
-
Kr(y, V,
|
|
5894
|
+
Array.from(u).forEach(({ value: I, key: V }) => {
|
|
5895
|
+
Kr(y, V, I);
|
|
5890
5896
|
}), i = JSON.stringify(y);
|
|
5891
5897
|
}
|
|
5892
5898
|
p && p !== "multipart/form-data" && (t && ((n = this.action) != null && n.includes("zapier.com")) || (o["content-type"] = p));
|
|
@@ -5907,19 +5913,19 @@ const Ka = /* @__PURE__ */ N(Ma, [["render", Ha]]), Ga = {
|
|
|
5907
5913
|
method: this.method || "post"
|
|
5908
5914
|
}).then(
|
|
5909
5915
|
async (y) => {
|
|
5910
|
-
let
|
|
5916
|
+
let I;
|
|
5911
5917
|
const V = y.headers.get("content-type");
|
|
5912
|
-
if (V && V.indexOf("application/json") !== -1 ?
|
|
5913
|
-
let O = Br(
|
|
5918
|
+
if (V && V.indexOf("application/json") !== -1 ? I = await y.json() : I = await y.text(), !y.ok && this.errorMessagePath) {
|
|
5919
|
+
let O = Br(I, this.errorMessagePath);
|
|
5914
5920
|
O && (typeof O != "string" && (O = JSON.stringify(O)), this.formErrorMessage = O, this.mergeNewRootState({
|
|
5915
5921
|
formErrorMessage: O
|
|
5916
5922
|
}));
|
|
5917
5923
|
}
|
|
5918
|
-
if (this.responseData =
|
|
5924
|
+
if (this.responseData = I, this.formState = y.ok ? "success" : "error", y.ok) {
|
|
5919
5925
|
const O = new CustomEvent("submit:success", {
|
|
5920
5926
|
detail: {
|
|
5921
5927
|
res: y,
|
|
5922
|
-
body:
|
|
5928
|
+
body: I
|
|
5923
5929
|
}
|
|
5924
5930
|
});
|
|
5925
5931
|
if (this.$refs.formRef) {
|
|
@@ -5940,12 +5946,12 @@ const Ka = /* @__PURE__ */ N(Ma, [["render", Ha]]), Ga = {
|
|
|
5940
5946
|
}
|
|
5941
5947
|
},
|
|
5942
5948
|
(y) => {
|
|
5943
|
-
const
|
|
5949
|
+
const I = new CustomEvent("submit:error", {
|
|
5944
5950
|
detail: {
|
|
5945
5951
|
error: y
|
|
5946
5952
|
}
|
|
5947
5953
|
});
|
|
5948
|
-
this.$refs.formRef && (this.$refs.formRef.dispatchEvent(
|
|
5954
|
+
this.$refs.formRef && (this.$refs.formRef.dispatchEvent(I), I.defaultPrevented) || (this.responseData = y, this.formState = "error");
|
|
5949
5955
|
}
|
|
5950
5956
|
);
|
|
5951
5957
|
}
|
|
@@ -5957,8 +5963,8 @@ const Ka = /* @__PURE__ */ N(Ma, [["render", Ha]]), Ga = {
|
|
|
5957
5963
|
};
|
|
5958
5964
|
function Ya(e, t, n, r, o, i) {
|
|
5959
5965
|
var p;
|
|
5960
|
-
const s =
|
|
5961
|
-
return g(),
|
|
5966
|
+
const s = U("Block"), u = U("Blocks");
|
|
5967
|
+
return g(), E("form", q({
|
|
5962
5968
|
validate: e.validate,
|
|
5963
5969
|
ref: "formRef",
|
|
5964
5970
|
action: !e.sendWithJs && e.action,
|
|
@@ -5966,32 +5972,32 @@ function Ya(e, t, n, r, o, i) {
|
|
|
5966
5972
|
name: e.name,
|
|
5967
5973
|
onSubmit: t[0] || (t[0] = (m) => e.onSubmit(m))
|
|
5968
5974
|
}, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, pe(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
|
|
5969
|
-
e.builderBlock && e.builderBlock.children ? (g(!0),
|
|
5975
|
+
e.builderBlock && e.builderBlock.children ? (g(!0), E(J, { key: 0 }, fe((p = e.builderBlock) == null ? void 0 : p.children, (m, b) => (g(), D(s, {
|
|
5970
5976
|
key: `form-block-${e.idx}`,
|
|
5971
5977
|
block: m,
|
|
5972
5978
|
context: e.builderContext,
|
|
5973
5979
|
registeredComponents: e.builderComponents,
|
|
5974
5980
|
linkComponent: e.builderLinkComponent
|
|
5975
|
-
}, null, 8, ["block", "context", "registeredComponents", "linkComponent"]))), 128)) :
|
|
5976
|
-
e.submissionState() === "error" ? (g(),
|
|
5981
|
+
}, null, 8, ["block", "context", "registeredComponents", "linkComponent"]))), 128)) : M("", !0),
|
|
5982
|
+
e.submissionState() === "error" ? (g(), D(u, {
|
|
5977
5983
|
key: 1,
|
|
5978
5984
|
path: "errorMessage",
|
|
5979
5985
|
blocks: e.errorMessage,
|
|
5980
5986
|
context: e.builderContext
|
|
5981
|
-
}, null, 8, ["blocks", "context"])) :
|
|
5982
|
-
e.submissionState() === "sending" ? (g(),
|
|
5987
|
+
}, null, 8, ["blocks", "context"])) : M("", !0),
|
|
5988
|
+
e.submissionState() === "sending" ? (g(), D(u, {
|
|
5983
5989
|
key: 2,
|
|
5984
5990
|
path: "sendingMessage",
|
|
5985
5991
|
blocks: e.sendingMessage,
|
|
5986
5992
|
context: e.builderContext
|
|
5987
|
-
}, null, 8, ["blocks", "context"])) :
|
|
5988
|
-
e.submissionState() === "error" && e.responseData ? (g(),
|
|
5989
|
-
e.submissionState() === "success" ? (g(),
|
|
5993
|
+
}, null, 8, ["blocks", "context"])) : M("", !0),
|
|
5994
|
+
e.submissionState() === "error" && e.responseData ? (g(), E("pre", Xa, Bt(JSON.stringify(e.responseData, null, 2)), 1)) : M("", !0),
|
|
5995
|
+
e.submissionState() === "success" ? (g(), D(u, {
|
|
5990
5996
|
key: 4,
|
|
5991
5997
|
path: "successMessage",
|
|
5992
5998
|
blocks: e.successMessage,
|
|
5993
5999
|
context: e.builderContext
|
|
5994
|
-
}, null, 8, ["blocks", "context"])) :
|
|
6000
|
+
}, null, 8, ["blocks", "context"])) : M("", !0)
|
|
5995
6001
|
], 16, _a);
|
|
5996
6002
|
}
|
|
5997
6003
|
const Za = /* @__PURE__ */ N(Ja, [["render", Ya], ["__scopeId", "data-v-cd94d6c1"]]), Qa = {
|
|
@@ -6057,11 +6063,11 @@ const Za = /* @__PURE__ */ N(Ja, [["render", Ya], ["__scopeId", "data-v-cd94d6c1
|
|
|
6057
6063
|
"required"
|
|
6058
6064
|
],
|
|
6059
6065
|
data() {
|
|
6060
|
-
return { isEditing:
|
|
6066
|
+
return { isEditing: le, filterAttrs: me };
|
|
6061
6067
|
}
|
|
6062
6068
|
}), tl = ["placeholder", "type", "name", "value", "defaultValue", "required"];
|
|
6063
6069
|
function nl(e, t, n, r, o, i) {
|
|
6064
|
-
return g(),
|
|
6070
|
+
return g(), E("input", q({
|
|
6065
6071
|
key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
|
|
6066
6072
|
placeholder: e.placeholder,
|
|
6067
6073
|
type: e.type,
|
|
@@ -6117,21 +6123,21 @@ const rl = /* @__PURE__ */ N(el, [["render", nl]]), ol = {
|
|
|
6117
6123
|
name: "builder-select-component",
|
|
6118
6124
|
props: ["attributes", "value", "defaultValue", "name", "required", "options"],
|
|
6119
6125
|
data() {
|
|
6120
|
-
return { isEditing:
|
|
6126
|
+
return { isEditing: le, filterAttrs: me };
|
|
6121
6127
|
}
|
|
6122
6128
|
}), sl = ["value", "defaultValue", "name", "required"], al = ["value"];
|
|
6123
6129
|
function ll(e, t, n, r, o, i) {
|
|
6124
|
-
return g(),
|
|
6130
|
+
return g(), E("select", q({
|
|
6125
6131
|
value: e.value,
|
|
6126
6132
|
key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
|
|
6127
6133
|
defaultValue: e.defaultValue,
|
|
6128
6134
|
name: e.name,
|
|
6129
6135
|
required: e.required
|
|
6130
6136
|
}, e.filterAttrs(e.attributes, "v-on:", !1), pe(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
|
|
6131
|
-
(g(!0),
|
|
6137
|
+
(g(!0), E(J, null, fe(e.options, (s, u) => (g(), E("option", {
|
|
6132
6138
|
key: `${s.name}-${u}`,
|
|
6133
6139
|
value: s.value
|
|
6134
|
-
},
|
|
6140
|
+
}, Bt(s.name || s.value), 9, al))), 128))
|
|
6135
6141
|
], 16, sl);
|
|
6136
6142
|
}
|
|
6137
6143
|
const ul = /* @__PURE__ */ N(il, [["render", ll]]), cl = {
|
|
@@ -6167,7 +6173,7 @@ const ul = /* @__PURE__ */ N(il, [["render", ll]]), cl = {
|
|
|
6167
6173
|
}
|
|
6168
6174
|
});
|
|
6169
6175
|
function dl(e, t, n, r, o, i) {
|
|
6170
|
-
return g(),
|
|
6176
|
+
return g(), E("button", q({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), pe(e.filterAttrs(e.attributes, "v-on:", !0), !0)), Bt(e.text), 17);
|
|
6171
6177
|
}
|
|
6172
6178
|
const hl = /* @__PURE__ */ N(pl, [["render", dl]]), fl = {
|
|
6173
6179
|
name: "Form:TextArea",
|
|
@@ -6220,7 +6226,7 @@ const hl = /* @__PURE__ */ N(pl, [["render", dl]]), fl = {
|
|
|
6220
6226
|
}
|
|
6221
6227
|
}), gl = ["placeholder", "name", "value", "defaultValue", "required"];
|
|
6222
6228
|
function yl(e, t, n, r, o, i) {
|
|
6223
|
-
return g(),
|
|
6229
|
+
return g(), E("textarea", q({
|
|
6224
6230
|
placeholder: e.placeholder,
|
|
6225
6231
|
name: e.name,
|
|
6226
6232
|
value: e.value,
|
|
@@ -6253,11 +6259,11 @@ const vl = /* @__PURE__ */ N(ml, [["render", yl]]), bl = {
|
|
|
6253
6259
|
"attributes"
|
|
6254
6260
|
],
|
|
6255
6261
|
data() {
|
|
6256
|
-
return { isEditing:
|
|
6262
|
+
return { isEditing: le, filterAttrs: me };
|
|
6257
6263
|
}
|
|
6258
6264
|
}), Sl = ["alt", "src"];
|
|
6259
6265
|
function Cl(e, t, n, r, o, i) {
|
|
6260
|
-
return g(),
|
|
6266
|
+
return g(), E("img", q({
|
|
6261
6267
|
style: {
|
|
6262
6268
|
objectFit: e.backgroundSize || "cover",
|
|
6263
6269
|
objectPosition: e.backgroundPosition || "center"
|
|
@@ -6421,8 +6427,8 @@ const wl = /* @__PURE__ */ N(kl, [["render", Cl]]), Tl = {
|
|
|
6421
6427
|
};
|
|
6422
6428
|
function Pl(e, t, n, r, o, i) {
|
|
6423
6429
|
var s, u, p, m, b, v, y;
|
|
6424
|
-
return g(),
|
|
6425
|
-
|
|
6430
|
+
return g(), E("div", Il, [
|
|
6431
|
+
ht("video", q({
|
|
6426
6432
|
class: "builder-video",
|
|
6427
6433
|
preload: e.preload || "metadata",
|
|
6428
6434
|
style: {
|
|
@@ -6442,27 +6448,27 @@ function Pl(e, t, n, r, o, i) {
|
|
|
6442
6448
|
src: e.video || "no-src",
|
|
6443
6449
|
poster: e.posterImage
|
|
6444
6450
|
}, e.spreadProps), [
|
|
6445
|
-
e.lazyLoad ?
|
|
6451
|
+
e.lazyLoad ? M("", !0) : (g(), E("source", {
|
|
6446
6452
|
key: 0,
|
|
6447
6453
|
type: "video/mp4",
|
|
6448
6454
|
src: e.video
|
|
6449
6455
|
}, null, 8, Rl))
|
|
6450
6456
|
], 16, xl),
|
|
6451
|
-
e.aspectRatio && !(e.fitContent && ((p = (u = e.builderBlock) == null ? void 0 : u.children) != null && p.length)) ? (g(),
|
|
6457
|
+
e.aspectRatio && !(e.fitContent && ((p = (u = e.builderBlock) == null ? void 0 : u.children) != null && p.length)) ? (g(), E("div", {
|
|
6452
6458
|
key: 0,
|
|
6453
|
-
style:
|
|
6459
|
+
style: $e({
|
|
6454
6460
|
width: "100%",
|
|
6455
6461
|
paddingTop: e.aspectRatio * 100 + "%",
|
|
6456
6462
|
pointerEvents: "none",
|
|
6457
6463
|
fontSize: "0px"
|
|
6458
6464
|
})
|
|
6459
|
-
}, null, 4)) :
|
|
6460
|
-
(b = (m = e.builderBlock) == null ? void 0 : m.children) != null && b.length && e.fitContent ? (g(),
|
|
6465
|
+
}, null, 4)) : M("", !0),
|
|
6466
|
+
(b = (m = e.builderBlock) == null ? void 0 : m.children) != null && b.length && e.fitContent ? (g(), E("div", Al, [
|
|
6461
6467
|
de(e.$slots, "default")
|
|
6462
|
-
])) :
|
|
6463
|
-
(y = (v = e.builderBlock) == null ? void 0 : v.children) != null && y.length && !e.fitContent ? (g(),
|
|
6468
|
+
])) : M("", !0),
|
|
6469
|
+
(y = (v = e.builderBlock) == null ? void 0 : v.children) != null && y.length && !e.fitContent ? (g(), E("div", $l, [
|
|
6464
6470
|
de(e.$slots, "default")
|
|
6465
|
-
])) :
|
|
6471
|
+
])) : M("", !0)
|
|
6466
6472
|
]);
|
|
6467
6473
|
}
|
|
6468
6474
|
const Ol = /* @__PURE__ */ N(El, [["render", Pl]]), jl = () => [{
|
|
@@ -6612,14 +6618,14 @@ const Ol = /* @__PURE__ */ N(El, [["render", Pl]]), jl = () => [{
|
|
|
6612
6618
|
thisScriptEl?.remove();
|
|
6613
6619
|
}
|
|
6614
6620
|
return;
|
|
6615
|
-
}`, mo = "builderIoAbTest", go = "builderIoRenderContent",
|
|
6621
|
+
}`, mo = "builderIoAbTest", go = "builderIoRenderContent", Pt = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
|
|
6616
6622
|
...t,
|
|
6617
6623
|
testVariationId: t.id,
|
|
6618
6624
|
id: e == null ? void 0 : e.id
|
|
6619
6625
|
})), Vl = ({
|
|
6620
6626
|
canTrack: e,
|
|
6621
6627
|
content: t
|
|
6622
|
-
}) => !(!(
|
|
6628
|
+
}) => !(!(Pt(t).length > 0) || !e), Dl = (e) => e === "react" || e === "reactNative", yo = Dl(se), Ul = () => `
|
|
6623
6629
|
window.${mo} = ${Bl}
|
|
6624
6630
|
window.${go} = ${Nl}
|
|
6625
6631
|
`, Fl = (e, t) => `
|
|
@@ -6736,7 +6742,7 @@ font-weight: ${s};
|
|
|
6736
6742
|
}
|
|
6737
6743
|
`, Jl = (e) => e ? "" : zl, _l = (e) => `variant-${e}`, Xl = j({
|
|
6738
6744
|
name: "enable-editor",
|
|
6739
|
-
components: { DynamicDiv:
|
|
6745
|
+
components: { DynamicDiv: St },
|
|
6740
6746
|
props: [
|
|
6741
6747
|
"isNestedRender",
|
|
6742
6748
|
"builderContextSignal",
|
|
@@ -6776,9 +6782,9 @@ font-weight: ${s};
|
|
|
6776
6782
|
mounted() {
|
|
6777
6783
|
var e, t;
|
|
6778
6784
|
if (Y()) {
|
|
6779
|
-
if (
|
|
6785
|
+
if (le() && !this.isNestedRender && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
|
|
6780
6786
|
new CustomEvent("initeditingbldr")
|
|
6781
|
-
), this.builderContextSignal.content &&
|
|
6787
|
+
), this.builderContextSignal.content && yt(this.canTrack)) {
|
|
6782
6788
|
const r = (e = this.builderContextSignal.content) == null ? void 0 : e.testVariationId, o = (t = this.builderContextSignal.content) == null ? void 0 : t.id, i = this.apiKey;
|
|
6783
6789
|
yn({
|
|
6784
6790
|
apiHost: this.apiHost,
|
|
@@ -6789,7 +6795,7 @@ font-weight: ${s};
|
|
|
6789
6795
|
variationId: r !== o ? r : void 0
|
|
6790
6796
|
});
|
|
6791
6797
|
}
|
|
6792
|
-
$i() && !
|
|
6798
|
+
$i() && !le() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
|
|
6793
6799
|
new CustomEvent("initpreviewingbldr")
|
|
6794
6800
|
);
|
|
6795
6801
|
}
|
|
@@ -6912,7 +6918,7 @@ font-weight: ${s};
|
|
|
6912
6918
|
yn({
|
|
6913
6919
|
apiHost: this.apiHost,
|
|
6914
6920
|
type: "click",
|
|
6915
|
-
canTrack:
|
|
6921
|
+
canTrack: yt(this.canTrack),
|
|
6916
6922
|
contentId: o,
|
|
6917
6923
|
apiKey: this.apiKey,
|
|
6918
6924
|
variationId: r !== o ? r : void 0,
|
|
@@ -6926,13 +6932,13 @@ font-weight: ${s};
|
|
|
6926
6932
|
var t, n;
|
|
6927
6933
|
const e = ((n = (t = this.builderContextSignal.content) == null ? void 0 : t.data) == null ? void 0 : n.httpRequests) ?? {};
|
|
6928
6934
|
Object.entries(e).forEach(([r, o]) => {
|
|
6929
|
-
if (!o || this.httpReqsPending[r] || this.httpReqsData[r] && !
|
|
6935
|
+
if (!o || this.httpReqsPending[r] || this.httpReqsData[r] && !le())
|
|
6930
6936
|
return;
|
|
6931
6937
|
this.httpReqsPending[r] = !0;
|
|
6932
6938
|
const i = o.replace(
|
|
6933
6939
|
/{{([^}]+)}}/g,
|
|
6934
6940
|
(s, u) => String(
|
|
6935
|
-
|
|
6941
|
+
kt({
|
|
6936
6942
|
code: u,
|
|
6937
6943
|
context: this.context || {},
|
|
6938
6944
|
localState: void 0,
|
|
@@ -6953,7 +6959,7 @@ font-weight: ${s};
|
|
|
6953
6959
|
});
|
|
6954
6960
|
},
|
|
6955
6961
|
emitStateUpdate() {
|
|
6956
|
-
|
|
6962
|
+
le() && window.dispatchEvent(
|
|
6957
6963
|
new CustomEvent(
|
|
6958
6964
|
"builder:component:stateChange",
|
|
6959
6965
|
{
|
|
@@ -7005,7 +7011,7 @@ font-weight: ${s};
|
|
|
7005
7011
|
});
|
|
7006
7012
|
function Yl(e, t, n, r, o, i) {
|
|
7007
7013
|
var s, u, p;
|
|
7008
|
-
return e.builderContextSignal.content ? (g(),
|
|
7014
|
+
return e.builderContextSignal.content ? (g(), D(ut(e.ContentWrapper), q({
|
|
7009
7015
|
key: 0,
|
|
7010
7016
|
ref: "elementRef",
|
|
7011
7017
|
onClick: (m) => e.onClick(m),
|
|
@@ -7015,11 +7021,11 @@ function Yl(e, t, n, r, o, i) {
|
|
|
7015
7021
|
onIniteditingbldr: (m) => e.elementRef_onIniteditingbldr(m),
|
|
7016
7022
|
onInitpreviewingbldr: (m) => e.elementRef_onInitpreviewingbldr(m)
|
|
7017
7023
|
}, { ...e.showContentProps, ...e.contentWrapperProps }), {
|
|
7018
|
-
default:
|
|
7024
|
+
default: Ee(() => [
|
|
7019
7025
|
de(e.$slots, "default")
|
|
7020
7026
|
]),
|
|
7021
7027
|
_: 3
|
|
7022
|
-
}, 16, ["onClick", "builder-content-id", "builder-model", "className", "onIniteditingbldr", "onInitpreviewingbldr"])) :
|
|
7028
|
+
}, 16, ["onClick", "builder-content-id", "builder-model", "className", "onIniteditingbldr", "onInitpreviewingbldr"])) : M("", !0);
|
|
7023
7029
|
}
|
|
7024
7030
|
const Zl = /* @__PURE__ */ N(Xl, [["render", Yl]]), Ql = j({
|
|
7025
7031
|
name: "content-styles",
|
|
@@ -7041,8 +7047,8 @@ ${Jl(this.isNestedRender)}
|
|
|
7041
7047
|
}
|
|
7042
7048
|
});
|
|
7043
7049
|
function eu(e, t, n, r, o, i) {
|
|
7044
|
-
const s =
|
|
7045
|
-
return g(),
|
|
7050
|
+
const s = U("InlinedStyles");
|
|
7051
|
+
return g(), D(s, {
|
|
7046
7052
|
id: "builderio-content",
|
|
7047
7053
|
styles: e.injectedStyles,
|
|
7048
7054
|
nonce: e.nonce
|
|
@@ -7081,8 +7087,8 @@ const tu = /* @__PURE__ */ N(Ql, [["render", eu]]), nu = ({
|
|
|
7081
7087
|
EnableEditor: Zl,
|
|
7082
7088
|
InlinedScript: vo,
|
|
7083
7089
|
ContentStyles: tu,
|
|
7084
|
-
Blocks:
|
|
7085
|
-
DynamicDiv:
|
|
7090
|
+
Blocks: Je,
|
|
7091
|
+
DynamicDiv: St
|
|
7086
7092
|
},
|
|
7087
7093
|
props: [
|
|
7088
7094
|
"apiKey",
|
|
@@ -7124,7 +7130,7 @@ const tu = /* @__PURE__ */ N(Ql, [["render", eu]]), nu = ({
|
|
|
7124
7130
|
...o,
|
|
7125
7131
|
[s.name]: {
|
|
7126
7132
|
component: ou(i),
|
|
7127
|
-
...
|
|
7133
|
+
...jt(s)
|
|
7128
7134
|
}
|
|
7129
7135
|
}),
|
|
7130
7136
|
{}
|
|
@@ -7151,7 +7157,7 @@ const tu = /* @__PURE__ */ N(Ql, [["render", eu]]), nu = ({
|
|
|
7151
7157
|
].reduce(
|
|
7152
7158
|
(o, { component: i, ...s }) => ({
|
|
7153
7159
|
...o,
|
|
7154
|
-
[s.name]:
|
|
7160
|
+
[s.name]: jt(s)
|
|
7155
7161
|
}),
|
|
7156
7162
|
{}
|
|
7157
7163
|
),
|
|
@@ -7160,7 +7166,7 @@ const tu = /* @__PURE__ */ N(Ql, [["render", eu]]), nu = ({
|
|
|
7160
7166
|
BlocksWrapperProps: this.blocksWrapperProps || {},
|
|
7161
7167
|
nonce: this.nonce || ""
|
|
7162
7168
|
},
|
|
7163
|
-
TARGET:
|
|
7169
|
+
TARGET: se
|
|
7164
7170
|
};
|
|
7165
7171
|
},
|
|
7166
7172
|
provide() {
|
|
@@ -7173,11 +7179,11 @@ const tu = /* @__PURE__ */ N(Ql, [["render", eu]]), nu = ({
|
|
|
7173
7179
|
},
|
|
7174
7180
|
created() {
|
|
7175
7181
|
var t, n;
|
|
7176
|
-
this.apiKey ||
|
|
7182
|
+
this.apiKey || re.error(
|
|
7177
7183
|
"No API key provided to `Content` component. This can cause issues. Please provide an API key using the `apiKey` prop."
|
|
7178
7184
|
);
|
|
7179
7185
|
const e = (n = (t = this.builderContextSignal.content) == null ? void 0 : t.data) == null ? void 0 : n.jsCode;
|
|
7180
|
-
e &&
|
|
7186
|
+
e && kt({
|
|
7181
7187
|
code: e,
|
|
7182
7188
|
context: this.context || {},
|
|
7183
7189
|
localState: void 0,
|
|
@@ -7195,8 +7201,8 @@ const tu = /* @__PURE__ */ N(Ql, [["render", eu]]), nu = ({
|
|
|
7195
7201
|
}
|
|
7196
7202
|
});
|
|
7197
7203
|
function su(e, t, n, r, o, i) {
|
|
7198
|
-
const s =
|
|
7199
|
-
return g(),
|
|
7204
|
+
const s = U("InlinedScript"), u = U("ContentStyles"), p = U("Blocks"), m = U("EnableEditor");
|
|
7205
|
+
return g(), D(m, q({
|
|
7200
7206
|
apiHost: e.apiHost,
|
|
7201
7207
|
nonce: e.nonce,
|
|
7202
7208
|
content: e.content,
|
|
@@ -7214,24 +7220,24 @@ function su(e, t, n, r, o, i) {
|
|
|
7214
7220
|
trustedHosts: e.trustedHosts,
|
|
7215
7221
|
isNestedRender: e.isNestedRender
|
|
7216
7222
|
}, {}), {
|
|
7217
|
-
default:
|
|
7218
|
-
var b, v, y,
|
|
7223
|
+
default: Ee(() => {
|
|
7224
|
+
var b, v, y, I, V, O, Z;
|
|
7219
7225
|
return [
|
|
7220
|
-
e.isSsrAbTest ? (g(),
|
|
7226
|
+
e.isSsrAbTest ? (g(), D(s, {
|
|
7221
7227
|
key: 0,
|
|
7222
7228
|
id: "builderio-variant-visibility",
|
|
7223
7229
|
scriptStr: e.scriptStr,
|
|
7224
7230
|
nonce: e.nonce || ""
|
|
7225
|
-
}, null, 8, ["scriptStr", "nonce"])) :
|
|
7226
|
-
e.TARGET !== "reactNative" ? (g(),
|
|
7231
|
+
}, null, 8, ["scriptStr", "nonce"])) : M("", !0),
|
|
7232
|
+
e.TARGET !== "reactNative" ? (g(), D(u, {
|
|
7227
7233
|
key: 1,
|
|
7228
7234
|
nonce: e.nonce || "",
|
|
7229
7235
|
isNestedRender: e.isNestedRender,
|
|
7230
7236
|
contentId: (b = e.builderContextSignal.content) == null ? void 0 : b.id,
|
|
7231
7237
|
cssCode: (y = (v = e.builderContextSignal.content) == null ? void 0 : v.data) == null ? void 0 : y.cssCode,
|
|
7232
|
-
customFonts: (V = (
|
|
7233
|
-
}, null, 8, ["nonce", "isNestedRender", "contentId", "cssCode", "customFonts"])) :
|
|
7234
|
-
|
|
7238
|
+
customFonts: (V = (I = e.builderContextSignal.content) == null ? void 0 : I.data) == null ? void 0 : V.customFonts
|
|
7239
|
+
}, null, 8, ["nonce", "isNestedRender", "contentId", "cssCode", "customFonts"])) : M("", !0),
|
|
7240
|
+
ie(p, {
|
|
7235
7241
|
blocks: (Z = (O = e.builderContextSignal.content) == null ? void 0 : O.data) == null ? void 0 : Z.blocks,
|
|
7236
7242
|
context: e.builderContextSignal,
|
|
7237
7243
|
registeredComponents: e.registeredComponents,
|
|
@@ -7273,12 +7279,12 @@ const au = /* @__PURE__ */ N(iu, [["render", su]]), lu = j({
|
|
|
7273
7279
|
data() {
|
|
7274
7280
|
return {
|
|
7275
7281
|
shouldRenderVariants: Vl({
|
|
7276
|
-
canTrack:
|
|
7282
|
+
canTrack: yt(this.canTrack),
|
|
7277
7283
|
content: this.content
|
|
7278
7284
|
}),
|
|
7279
|
-
TARGET:
|
|
7285
|
+
TARGET: se,
|
|
7280
7286
|
getInitVariantsFnsScriptString: Ul,
|
|
7281
|
-
getVariants:
|
|
7287
|
+
getVariants: Pt
|
|
7282
7288
|
};
|
|
7283
7289
|
},
|
|
7284
7290
|
mounted() {
|
|
@@ -7287,7 +7293,7 @@ const au = /* @__PURE__ */ N(iu, [["render", su]]), lu = j({
|
|
|
7287
7293
|
updateCookieAndStylesScriptStr() {
|
|
7288
7294
|
var e;
|
|
7289
7295
|
return Fl(
|
|
7290
|
-
|
|
7296
|
+
Pt(this.content).map((t) => ({
|
|
7291
7297
|
id: t.testVariationId,
|
|
7292
7298
|
testRatio: t.testRatio
|
|
7293
7299
|
})),
|
|
@@ -7295,7 +7301,7 @@ const au = /* @__PURE__ */ N(iu, [["render", su]]), lu = j({
|
|
|
7295
7301
|
);
|
|
7296
7302
|
},
|
|
7297
7303
|
hideVariantsStyleString() {
|
|
7298
|
-
return
|
|
7304
|
+
return Pt(this.content).map((e) => `.variant-${e.testVariationId} { display: none; } `).join("");
|
|
7299
7305
|
},
|
|
7300
7306
|
defaultContent() {
|
|
7301
7307
|
var e;
|
|
@@ -7304,32 +7310,32 @@ const au = /* @__PURE__ */ N(iu, [["render", su]]), lu = j({
|
|
|
7304
7310
|
testVariationId: (e = this.content) == null ? void 0 : e.id
|
|
7305
7311
|
} : os({
|
|
7306
7312
|
item: this.content,
|
|
7307
|
-
canTrack:
|
|
7313
|
+
canTrack: yt(this.canTrack)
|
|
7308
7314
|
});
|
|
7309
7315
|
}
|
|
7310
7316
|
}
|
|
7311
7317
|
});
|
|
7312
7318
|
function uu(e, t, n, r, o, i) {
|
|
7313
|
-
const s =
|
|
7314
|
-
return g(),
|
|
7315
|
-
!e.isNestedRender && e.TARGET !== "reactNative" ? (g(),
|
|
7319
|
+
const s = U("InlinedScript"), u = U("InlinedStyles"), p = U("ContentComponent");
|
|
7320
|
+
return g(), E(J, null, [
|
|
7321
|
+
!e.isNestedRender && e.TARGET !== "reactNative" ? (g(), D(s, {
|
|
7316
7322
|
key: 0,
|
|
7317
7323
|
id: "builderio-init-variants-fns",
|
|
7318
7324
|
scriptStr: e.getInitVariantsFnsScriptString(),
|
|
7319
7325
|
nonce: e.nonce || ""
|
|
7320
|
-
}, null, 8, ["scriptStr", "nonce"])) :
|
|
7321
|
-
e.shouldRenderVariants ? (g(),
|
|
7322
|
-
|
|
7326
|
+
}, null, 8, ["scriptStr", "nonce"])) : M("", !0),
|
|
7327
|
+
e.shouldRenderVariants ? (g(), E(J, { key: 1 }, [
|
|
7328
|
+
ie(u, {
|
|
7323
7329
|
id: "builderio-variants",
|
|
7324
7330
|
styles: e.hideVariantsStyleString,
|
|
7325
7331
|
nonce: e.nonce || ""
|
|
7326
7332
|
}, null, 8, ["styles", "nonce"]),
|
|
7327
|
-
|
|
7333
|
+
ie(s, {
|
|
7328
7334
|
id: "builderio-variants-visibility",
|
|
7329
7335
|
scriptStr: e.updateCookieAndStylesScriptStr,
|
|
7330
7336
|
nonce: e.nonce || ""
|
|
7331
7337
|
}, null, 8, ["scriptStr", "nonce"]),
|
|
7332
|
-
(g(!0),
|
|
7338
|
+
(g(!0), E(J, null, fe(e.getVariants(e.content), (m, b) => (g(), D(p, q({
|
|
7333
7339
|
key: m.testVariationId,
|
|
7334
7340
|
apiHost: e.apiHost,
|
|
7335
7341
|
isNestedRender: e.isNestedRender,
|
|
@@ -7353,8 +7359,8 @@ function uu(e, t, n, r, o, i) {
|
|
|
7353
7359
|
contentWrapperProps: e.contentWrapperProps,
|
|
7354
7360
|
trustedHosts: e.trustedHosts
|
|
7355
7361
|
}, {}), null, 16, ["apiHost", "isNestedRender", "nonce", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"]))), 128))
|
|
7356
|
-
], 64)) :
|
|
7357
|
-
|
|
7362
|
+
], 64)) : M("", !0),
|
|
7363
|
+
ie(p, q({
|
|
7358
7364
|
apiHost: e.apiHost,
|
|
7359
7365
|
nonce: e.nonce,
|
|
7360
7366
|
isNestedRender: e.isNestedRender,
|
|
@@ -7397,11 +7403,11 @@ const cu = /* @__PURE__ */ N(lu, [["render", uu]]), pu = async ({
|
|
|
7397
7403
|
}
|
|
7398
7404
|
}
|
|
7399
7405
|
}).catch((n) => {
|
|
7400
|
-
|
|
7406
|
+
re.error("Could not fetch symbol content: ", n);
|
|
7401
7407
|
});
|
|
7402
7408
|
}, du = j({
|
|
7403
7409
|
name: "builder-symbol",
|
|
7404
|
-
components: { ContentVariants: cu, DynamicDiv:
|
|
7410
|
+
components: { ContentVariants: cu, DynamicDiv: St },
|
|
7405
7411
|
props: [
|
|
7406
7412
|
"symbol",
|
|
7407
7413
|
"attributes",
|
|
@@ -7436,7 +7442,7 @@ const cu = /* @__PURE__ */ N(lu, [["render", uu]]), pu = async ({
|
|
|
7436
7442
|
className() {
|
|
7437
7443
|
var e, t;
|
|
7438
7444
|
return [
|
|
7439
|
-
this.attributes[
|
|
7445
|
+
this.attributes[Ot()],
|
|
7440
7446
|
"builder-symbol",
|
|
7441
7447
|
(e = this.symbol) != null && e.inline ? "builder-inline-symbol" : void 0,
|
|
7442
7448
|
(t = this.symbol) != null && t.dynamic || this.dynamic ? "builder-dynamic-symbol" : void 0
|
|
@@ -7461,9 +7467,9 @@ const cu = /* @__PURE__ */ N(lu, [["render", uu]]), pu = async ({
|
|
|
7461
7467
|
});
|
|
7462
7468
|
function hu(e, t, n, r, o, i) {
|
|
7463
7469
|
var u, p, m, b, v;
|
|
7464
|
-
const s =
|
|
7465
|
-
return g(),
|
|
7466
|
-
|
|
7470
|
+
const s = U("ContentVariants");
|
|
7471
|
+
return g(), E("div", q({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, pe(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
|
|
7472
|
+
ie(s, {
|
|
7467
7473
|
nonce: e.builderContext.nonce,
|
|
7468
7474
|
isNestedRender: !0,
|
|
7469
7475
|
apiVersion: e.builderContext.apiVersion,
|
|
@@ -7498,25 +7504,25 @@ export {
|
|
|
7498
7504
|
wu as G,
|
|
7499
7505
|
na as I,
|
|
7500
7506
|
ia as S,
|
|
7501
|
-
|
|
7507
|
+
se as T,
|
|
7502
7508
|
Ol as V,
|
|
7503
7509
|
Fn as _,
|
|
7504
7510
|
Su as a,
|
|
7505
7511
|
Tu as b,
|
|
7506
|
-
|
|
7512
|
+
Oe as c,
|
|
7507
7513
|
Dn as d,
|
|
7508
7514
|
N as e,
|
|
7509
|
-
|
|
7515
|
+
kt as f,
|
|
7510
7516
|
Ms as g,
|
|
7511
7517
|
Cu as h,
|
|
7512
|
-
|
|
7518
|
+
Ot as i,
|
|
7513
7519
|
dn as j,
|
|
7514
7520
|
Ho as k,
|
|
7515
7521
|
fu as l,
|
|
7516
7522
|
Oa as m,
|
|
7517
|
-
|
|
7523
|
+
Je as n,
|
|
7518
7524
|
cu as o,
|
|
7519
|
-
|
|
7525
|
+
le as p,
|
|
7520
7526
|
$i as q,
|
|
7521
7527
|
Pi as r,
|
|
7522
7528
|
ji as s,
|