@builder.io/sdk-vue 2.0.2 → 2.0.5
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/{block-styles-Mn6wJduZ.cjs → block-styles-D_zAdF_-.cjs} +1 -1
- package/lib/browser/{block-styles-sZJR1URf.js → block-styles-MssxqA7D.js} +1 -1
- package/lib/browser/{block-wrapper-qFFX6RFF.cjs → block-wrapper-2KXOiTI2.cjs} +1 -1
- package/lib/browser/{block-wrapper-ody6Sxkr.js → block-wrapper-rbABMVr_.js} +3 -3
- package/lib/browser/blocks/image/image.types.d.ts +2 -0
- package/lib/browser/blocks/symbol/symbol.types.d.ts +1 -0
- package/lib/browser/blocks/text/text.vue.d.ts +6 -1
- package/lib/browser/{component-ref-rf4-wS3o.js → component-ref-dDrd_qBD.js} +2 -2
- package/lib/browser/{component-ref-DSNF4azA.cjs → component-ref-l_tRyac5.cjs} +1 -1
- package/lib/browser/constants/sdk-version.d.ts +1 -1
- package/lib/browser/functions/register-component.d.ts +2 -2
- package/lib/browser/{get-block-properties-trq7EGpq.cjs → get-block-properties-BfIn2Yi4.cjs} +1 -1
- package/lib/browser/{get-block-properties-O0W_2V2s.js → get-block-properties-ahTVSOXd.js} +1 -1
- package/lib/browser/index-0ZvT1Hu8.cjs +166 -0
- package/lib/browser/{index---sv1Dmc.js → index-1Z3BnsMm.js} +254 -234
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +1 -1
- package/lib/browser/{repeated-block-LqvC87RV.cjs → repeated-block-IGwzL-5u.cjs} +1 -1
- package/lib/browser/{repeated-block-4hDqPbdf.js → repeated-block-ai9MmzuH.js} +2 -2
- package/lib/browser/style.css +1 -1
- package/lib/edge/{block-styles-VkVzS7vd.cjs → block-styles-MT4Rv8Nz.cjs} +1 -1
- package/lib/{node/block-styles-Tyg1fV88.js → edge/block-styles-zNRTZ1A0.js} +1 -1
- package/lib/{node/block-wrapper-0rr8eTCE.cjs → edge/block-wrapper-sF2FW-5-.cjs} +1 -1
- package/lib/edge/{block-wrapper-Lrmvcvj2.js → block-wrapper-tFFuq_Mc.js} +3 -3
- package/lib/edge/blocks/image/image.types.d.ts +2 -0
- package/lib/edge/blocks/symbol/symbol.types.d.ts +1 -0
- package/lib/edge/blocks/text/text.vue.d.ts +6 -1
- package/lib/{node/component-ref-j2PWej8h.cjs → edge/component-ref-V7vQSEzJ.cjs} +1 -1
- package/lib/{node/component-ref-FN9Rzqu_.js → edge/component-ref-ZYvL2bfE.js} +2 -2
- package/lib/edge/constants/sdk-version.d.ts +1 -1
- package/lib/edge/functions/register-component.d.ts +2 -2
- package/lib/edge/{get-block-properties-ZdU2gihP.cjs → get-block-properties-UCj-C1wW.cjs} +1 -1
- package/lib/edge/{get-block-properties-YDq-FuAs.js → get-block-properties-sUN0gr7S.js} +1 -1
- package/lib/edge/{index-8mGnZrt9.js → index-FKFwDmHW.js} +500 -480
- package/lib/edge/{index-tYqLns-6.cjs → index-OvlUrAU4.cjs} +24 -24
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +1 -1
- package/lib/edge/{repeated-block-IOMTx4Ek.cjs → repeated-block-Pxb_oYw8.cjs} +1 -1
- package/lib/edge/{repeated-block-c9Qq8PaK.js → repeated-block-jBPLukxe.js} +2 -2
- package/lib/edge/style.css +1 -1
- package/lib/{edge/block-styles-QLPVQ54j.js → node/block-styles-2nOqCLPr.js} +1 -1
- package/lib/node/{block-styles-GqJTbD8X.cjs → block-styles-rBs6oiI0.cjs} +1 -1
- package/lib/node/{block-wrapper-iBhEa5rI.js → block-wrapper-cjk61owJ.js} +3 -3
- package/lib/{edge/block-wrapper-C3QWzorc.cjs → node/block-wrapper-pzm9ydqd.cjs} +1 -1
- package/lib/node/blocks/image/image.types.d.ts +2 -0
- package/lib/node/blocks/symbol/symbol.types.d.ts +1 -0
- package/lib/node/blocks/text/text.vue.d.ts +6 -1
- package/lib/{edge/component-ref-_MrpnWQq.cjs → node/component-ref-915SIOjG.cjs} +1 -1
- package/lib/{edge/component-ref-BzjW_J7Z.js → node/component-ref-YVoFqoVR.js} +2 -2
- package/lib/node/constants/sdk-version.d.ts +1 -1
- package/lib/node/functions/register-component.d.ts +2 -2
- package/lib/node/{get-block-properties-NZJwLalB.cjs → get-block-properties-Pmia_Lv7.cjs} +1 -1
- package/lib/node/{get-block-properties-HOAtHaKD.js → get-block-properties-q-3OOLjR.js} +1 -1
- package/lib/node/{index-AtsvJZco.js → index-QoeI1v_Q.js} +43 -23
- package/lib/node/{index-_k1NN43c.cjs → index-cdkVjek0.cjs} +6 -6
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.mjs +1 -1
- package/lib/node/{repeated-block-ztDvgKZz.js → repeated-block-DkyB3x_l.js} +2 -2
- package/lib/node/{repeated-block-Smn39W6t.cjs → repeated-block-gfgpiWc1.cjs} +1 -1
- package/lib/node/style.css +1 -1
- package/package.json +1 -1
- package/lib/browser/index-5K25vfnv.cjs +0 -166
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var No = Object.defineProperty;
|
|
2
2
|
var Vo = (e, t, n) => t in e ? No(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
|
-
var
|
|
4
|
-
import { defineComponent as j, openBlock as y, createElementBlock as T, Fragment as Z, createBlock as
|
|
5
|
-
const
|
|
3
|
+
var an = (e, t, n) => (Vo(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
4
|
+
import { defineComponent as j, openBlock as y, createElementBlock as T, Fragment as Z, createBlock as D, resolveDynamicComponent as ct, mergeProps as z, toHandlers as ce, withCtx as Te, renderSlot as pe, resolveComponent as U, createTextVNode as Uo, toDisplayString as Bt, defineAsyncComponent as ot, createVNode as ie, renderList as Ee, createCommentVNode as M, h as jr, createElementVNode as ft, normalizeStyle as Oe, normalizeClass as mt, markRaw as Do } from "vue";
|
|
5
|
+
const Fo = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), Mo = (e) => typeof e == "string" && Fo.has(e.toLowerCase());
|
|
6
6
|
function he(e = {}, t, n) {
|
|
7
7
|
const r = {};
|
|
8
8
|
for (const o in e) {
|
|
@@ -26,13 +26,13 @@ const Wo = j({
|
|
|
26
26
|
return n;
|
|
27
27
|
};
|
|
28
28
|
function Lo(e, t, n, r, o, i) {
|
|
29
|
-
return e.isEmptyElement(e.TagName) ? (y(),
|
|
30
|
-
typeof e.TagName == "string" ? (y(),
|
|
29
|
+
return e.isEmptyElement(e.TagName) ? (y(), D(ct(e.TagName), z({ key: 1 }, e.attributes, ce(e.actionAttributes)), null, 16)) : (y(), T(Z, { key: 0 }, [
|
|
30
|
+
typeof e.TagName == "string" ? (y(), D(ct(e.TagName), z({ key: 0 }, e.attributes, ce(e.actionAttributes)), {
|
|
31
31
|
default: Te(() => [
|
|
32
32
|
pe(e.$slots, "default")
|
|
33
33
|
]),
|
|
34
34
|
_: 3
|
|
35
|
-
}, 16)) : (y(),
|
|
35
|
+
}, 16)) : (y(), D(ct(e.TagName), z({ key: 1 }, e.attributes, ce(e.actionAttributes)), {
|
|
36
36
|
default: Te(() => [
|
|
37
37
|
pe(e.$slots, "default")
|
|
38
38
|
]),
|
|
@@ -40,9 +40,9 @@ function Lo(e, t, n, r, o, i) {
|
|
|
40
40
|
}, 16))
|
|
41
41
|
], 64));
|
|
42
42
|
}
|
|
43
|
-
const
|
|
43
|
+
const Sn = /* @__PURE__ */ V(Wo, [["render", Lo]]), du = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
44
44
|
__proto__: null,
|
|
45
|
-
default:
|
|
45
|
+
default: Sn
|
|
46
46
|
}, Symbol.toStringTag, { value: "Module" })), fe = "vue", jt = () => {
|
|
47
47
|
switch (fe) {
|
|
48
48
|
case "react":
|
|
@@ -58,7 +58,7 @@ const Cn = /* @__PURE__ */ V(Wo, [["render", Lo]]), hu = /* @__PURE__ */ Object.
|
|
|
58
58
|
}
|
|
59
59
|
}, Ho = j({
|
|
60
60
|
name: "builder-button",
|
|
61
|
-
components: { DynamicRenderer:
|
|
61
|
+
components: { DynamicRenderer: Sn },
|
|
62
62
|
props: [
|
|
63
63
|
"attributes",
|
|
64
64
|
"link",
|
|
@@ -87,18 +87,18 @@ const Cn = /* @__PURE__ */ V(Wo, [["render", Lo]]), hu = /* @__PURE__ */ Object.
|
|
|
87
87
|
});
|
|
88
88
|
function Ko(e, t, n, r, o, i) {
|
|
89
89
|
const a = U("DynamicRenderer");
|
|
90
|
-
return y(),
|
|
90
|
+
return y(), D(a, {
|
|
91
91
|
attributes: e.attrs(),
|
|
92
92
|
TagName: e.link ? e.builderLinkComponent || "a" : "button",
|
|
93
93
|
actionAttributes: e.filterAttrs(e.attributes, "v-on:", !0)
|
|
94
94
|
}, {
|
|
95
95
|
default: Te(() => [
|
|
96
|
-
Uo(
|
|
96
|
+
Uo(Bt(e.text), 1)
|
|
97
97
|
]),
|
|
98
98
|
_: 1
|
|
99
99
|
}, 8, ["attributes", "TagName", "actionAttributes"]);
|
|
100
100
|
}
|
|
101
|
-
const qo = /* @__PURE__ */ V(Ho, [["render", Ko]]), zo = Symbol(),
|
|
101
|
+
const qo = /* @__PURE__ */ V(Ho, [["render", Ko]]), zo = Symbol(), fn = {
|
|
102
102
|
Builder: {
|
|
103
103
|
content: null,
|
|
104
104
|
context: {},
|
|
@@ -180,7 +180,7 @@ const _o = () => {
|
|
|
180
180
|
host: (r == null ? void 0 : r.host) || (r == null ? void 0 : r.hostname),
|
|
181
181
|
device: n ? "tablet" : t.any() ? "mobile" : "desktop"
|
|
182
182
|
};
|
|
183
|
-
},
|
|
183
|
+
}, Dr = ({
|
|
184
184
|
builder: e,
|
|
185
185
|
context: t,
|
|
186
186
|
event: n,
|
|
@@ -208,11 +208,11 @@ const _o = () => {
|
|
|
208
208
|
rootSetState: i,
|
|
209
209
|
rootState: a
|
|
210
210
|
}) => {
|
|
211
|
-
const u =
|
|
211
|
+
const u = Dr({
|
|
212
212
|
builder: t,
|
|
213
213
|
context: n,
|
|
214
214
|
event: r,
|
|
215
|
-
state:
|
|
215
|
+
state: Fr({
|
|
216
216
|
rootState: a,
|
|
217
217
|
localState: o,
|
|
218
218
|
rootSetState: i
|
|
@@ -220,7 +220,7 @@ const _o = () => {
|
|
|
220
220
|
});
|
|
221
221
|
return new Function(...u.map(([p]) => p), e)(...u.map(([, p]) => p));
|
|
222
222
|
};
|
|
223
|
-
function
|
|
223
|
+
function Fr({
|
|
224
224
|
rootState: e,
|
|
225
225
|
localState: t,
|
|
226
226
|
rootSetState: n
|
|
@@ -230,7 +230,7 @@ function Dr({
|
|
|
230
230
|
if (t && o in t)
|
|
231
231
|
return t[o];
|
|
232
232
|
const i = r[o];
|
|
233
|
-
return typeof i == "object" && i !== null ?
|
|
233
|
+
return typeof i == "object" && i !== null ? Fr({
|
|
234
234
|
rootState: i,
|
|
235
235
|
localState: void 0,
|
|
236
236
|
rootSetState: n ? (a) => {
|
|
@@ -245,7 +245,7 @@ function Dr({
|
|
|
245
245
|
}
|
|
246
246
|
});
|
|
247
247
|
}
|
|
248
|
-
const
|
|
248
|
+
const Cn = (e, t, n) => {
|
|
249
249
|
if (Object(e) !== e)
|
|
250
250
|
return e;
|
|
251
251
|
const r = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
|
|
@@ -260,8 +260,8 @@ var B, ni = function(e) {
|
|
|
260
260
|
}
|
|
261
261
|
function r(s, l) {
|
|
262
262
|
for (var c = b, f = 1, I = 0; ; ) {
|
|
263
|
-
|
|
264
|
-
var K =
|
|
263
|
+
At.lastIndex = I;
|
|
264
|
+
var K = At.exec(c);
|
|
265
265
|
if (K && K.index < s)
|
|
266
266
|
++f, I = K.index + K[0].length;
|
|
267
267
|
else
|
|
@@ -284,32 +284,32 @@ var B, ni = function(e) {
|
|
|
284
284
|
this.line = Ve, this.ab = d - ye;
|
|
285
285
|
}
|
|
286
286
|
function a(s, l) {
|
|
287
|
-
|
|
287
|
+
Fe = d, $.C && (zt = new i()), E = s, p(), ae = l, Qe = s.m;
|
|
288
288
|
}
|
|
289
289
|
function u() {
|
|
290
|
-
for (var s = d, l =
|
|
290
|
+
for (var s = d, l = $.va && $.C && new i(), c = b.charCodeAt(d += 2); d < De && c !== 10 && c !== 13 && c !== 8232 && c !== 8233; )
|
|
291
291
|
++d, c = b.charCodeAt(d);
|
|
292
|
-
|
|
292
|
+
$.va && $.va(!1, b.slice(s + 2, d), s, d, l, $.C && new i());
|
|
293
293
|
}
|
|
294
294
|
function p() {
|
|
295
|
-
for (; d <
|
|
295
|
+
for (; d < De; ) {
|
|
296
296
|
var s = b.charCodeAt(d);
|
|
297
297
|
if (s === 32)
|
|
298
298
|
++d;
|
|
299
299
|
else if (s === 13)
|
|
300
|
-
++d, s = b.charCodeAt(d), s === 10 && ++d,
|
|
300
|
+
++d, s = b.charCodeAt(d), s === 10 && ++d, $.C && (++Ve, ye = d);
|
|
301
301
|
else if (s === 10 || s === 8232 || s === 8233)
|
|
302
|
-
++d,
|
|
302
|
+
++d, $.C && (++Ve, ye = d);
|
|
303
303
|
else if (8 < s && 14 > s)
|
|
304
304
|
++d;
|
|
305
305
|
else if (s === 47)
|
|
306
306
|
if (s = b.charCodeAt(d + 1), s === 42) {
|
|
307
307
|
s = void 0;
|
|
308
|
-
var l =
|
|
309
|
-
if (f === -1 && r(d - 2, "Unterminated comment"), d = f + 2,
|
|
310
|
-
for (
|
|
308
|
+
var l = $.va && $.C && new i(), c = d, f = b.indexOf("*/", d += 2);
|
|
309
|
+
if (f === -1 && r(d - 2, "Unterminated comment"), d = f + 2, $.C)
|
|
310
|
+
for (At.lastIndex = c; (s = At.exec(b)) && s.index < d; )
|
|
311
311
|
++Ve, ye = s.index + s[0].length;
|
|
312
|
-
|
|
312
|
+
$.va && $.va(!0, b.slice(c + 2, f), c, d, l, $.C && new i());
|
|
313
313
|
} else if (s === 47)
|
|
314
314
|
u();
|
|
315
315
|
else
|
|
@@ -336,9 +336,9 @@ var B, ni = function(e) {
|
|
|
336
336
|
case 44:
|
|
337
337
|
return ++d, a(Pe);
|
|
338
338
|
case 91:
|
|
339
|
-
return ++d, a(
|
|
339
|
+
return ++d, a(nn);
|
|
340
340
|
case 93:
|
|
341
|
-
return ++d, a(
|
|
341
|
+
return ++d, a(rn);
|
|
342
342
|
case 123:
|
|
343
343
|
return ++d, a(nt);
|
|
344
344
|
case 125:
|
|
@@ -366,7 +366,7 @@ var B, ni = function(e) {
|
|
|
366
366
|
case 39:
|
|
367
367
|
d++;
|
|
368
368
|
for (var l = ""; ; ) {
|
|
369
|
-
d >=
|
|
369
|
+
d >= De && r(H, "Unterminated string constant");
|
|
370
370
|
var c = b.charCodeAt(d);
|
|
371
371
|
if (c === s) {
|
|
372
372
|
++d, a(It, l);
|
|
@@ -415,7 +415,7 @@ var B, ni = function(e) {
|
|
|
415
415
|
case 13:
|
|
416
416
|
b.charCodeAt(d) === 10 && ++d;
|
|
417
417
|
case 10:
|
|
418
|
-
|
|
418
|
+
$.C && (ye = d, ++Ve);
|
|
419
419
|
break;
|
|
420
420
|
default:
|
|
421
421
|
l += String.fromCharCode(c);
|
|
@@ -429,7 +429,7 @@ var B, ni = function(e) {
|
|
|
429
429
|
return;
|
|
430
430
|
case 37:
|
|
431
431
|
case 42:
|
|
432
|
-
b.charCodeAt(d + 1) === 61 ? h(Ue, 2) : h(
|
|
432
|
+
b.charCodeAt(d + 1) === 61 ? h(Ue, 2) : h($o, 1);
|
|
433
433
|
return;
|
|
434
434
|
case 124:
|
|
435
435
|
case 38:
|
|
@@ -440,7 +440,7 @@ var B, ni = function(e) {
|
|
|
440
440
|
return;
|
|
441
441
|
case 43:
|
|
442
442
|
case 45:
|
|
443
|
-
l = b.charCodeAt(d + 1), l === s ? l === 45 && b.charCodeAt(d + 2) === 62 &&
|
|
443
|
+
l = b.charCodeAt(d + 1), l === s ? l === 45 && b.charCodeAt(d + 2) === 62 && $t.test(b.slice(Ae, d)) ? (d += 3, u(), p(), v()) : h(So, 2) : l === 61 ? h(Ue, 2) : h(Ro, 1);
|
|
444
444
|
return;
|
|
445
445
|
case 60:
|
|
446
446
|
case 62:
|
|
@@ -456,10 +456,10 @@ var B, ni = function(e) {
|
|
|
456
456
|
return !1;
|
|
457
457
|
}
|
|
458
458
|
function v(s) {
|
|
459
|
-
if (s ? d = H + 1 : H = d,
|
|
459
|
+
if (s ? d = H + 1 : H = d, $.C && (qt = new i()), s)
|
|
460
460
|
return C();
|
|
461
|
-
if (d >=
|
|
462
|
-
return a(
|
|
461
|
+
if (d >= De)
|
|
462
|
+
return a(Xt);
|
|
463
463
|
if (s = b.charCodeAt(d), n(s) || s === 92)
|
|
464
464
|
return N();
|
|
465
465
|
if (m(s) === !1) {
|
|
@@ -474,9 +474,9 @@ var B, ni = function(e) {
|
|
|
474
474
|
}
|
|
475
475
|
function C() {
|
|
476
476
|
for (var s, l, c = d; ; ) {
|
|
477
|
-
d >=
|
|
477
|
+
d >= De && r(c, "Unterminated regexp");
|
|
478
478
|
var f = b.charAt(d);
|
|
479
|
-
if (
|
|
479
|
+
if ($t.test(f) && r(c, "Unterminated regexp"), s)
|
|
480
480
|
s = !1;
|
|
481
481
|
else {
|
|
482
482
|
if (f === "[")
|
|
@@ -536,10 +536,10 @@ var B, ni = function(e) {
|
|
|
536
536
|
!Le && Po(s) && (l = ko[s]), a(l, s);
|
|
537
537
|
}
|
|
538
538
|
function R() {
|
|
539
|
-
|
|
539
|
+
Gt = H, Ae = Fe, Jt = zt, v();
|
|
540
540
|
}
|
|
541
541
|
function xe(s) {
|
|
542
|
-
if (oe = s, d = H,
|
|
542
|
+
if (oe = s, d = H, $.C)
|
|
543
543
|
for (; d < ye; )
|
|
544
544
|
ye = b.lastIndexOf(`
|
|
545
545
|
`, ye - 2) + 1, --Ve;
|
|
@@ -549,30 +549,30 @@ var B, ni = function(e) {
|
|
|
549
549
|
this.type = null, this.start = H, this.end = null;
|
|
550
550
|
}
|
|
551
551
|
function Re() {
|
|
552
|
-
this.start =
|
|
552
|
+
this.start = qt, this.end = null, Kt && (this.source = Kt);
|
|
553
553
|
}
|
|
554
554
|
function G() {
|
|
555
555
|
var s = new re();
|
|
556
|
-
return
|
|
556
|
+
return $.C && (s.X = new Re()), $.vb && (s.sourceFile = $.vb), $.Xa && (s.j = [H, 0]), s;
|
|
557
557
|
}
|
|
558
|
-
function
|
|
558
|
+
function $e(s) {
|
|
559
559
|
var l = new re();
|
|
560
|
-
return l.start = s.start,
|
|
560
|
+
return l.start = s.start, $.C && (l.X = new Re(), l.X.start = s.X.start), $.Xa && (l.j = [s.j[0], 0]), l;
|
|
561
561
|
}
|
|
562
562
|
function x(s, l) {
|
|
563
|
-
return s.type = l, s.end =
|
|
563
|
+
return s.type = l, s.end = Ae, $.C && (s.X.end = Jt), $.Xa && (s.j[1] = Ae), s;
|
|
564
564
|
}
|
|
565
|
-
function
|
|
565
|
+
function Ut(s) {
|
|
566
566
|
return s.type === "ExpressionStatement" && s.la.type === "Literal" && s.la.value === "use strict";
|
|
567
567
|
}
|
|
568
|
-
function
|
|
568
|
+
function F(s) {
|
|
569
569
|
return E === s ? (R(), !0) : !1;
|
|
570
570
|
}
|
|
571
571
|
function wt() {
|
|
572
|
-
return
|
|
572
|
+
return !$.fc && (E === Xt || E === We || $t.test(b.slice(Ae, H)));
|
|
573
573
|
}
|
|
574
574
|
function Ne() {
|
|
575
|
-
|
|
575
|
+
F(be) || wt() || me();
|
|
576
576
|
}
|
|
577
577
|
function W(s) {
|
|
578
578
|
E === s ? R() : me();
|
|
@@ -587,11 +587,11 @@ var B, ni = function(e) {
|
|
|
587
587
|
(E === pr || E === Ue && ae === "/=") && v(!0);
|
|
588
588
|
var s = E, l = G();
|
|
589
589
|
switch (s) {
|
|
590
|
-
case
|
|
590
|
+
case Yt:
|
|
591
591
|
case zn:
|
|
592
592
|
R();
|
|
593
|
-
var c = s ===
|
|
594
|
-
|
|
593
|
+
var c = s === Yt;
|
|
594
|
+
F(be) || wt() ? l.label = null : E !== Me ? me() : (l.label = ge(), Ne());
|
|
595
595
|
for (var f = 0; f < L.length; ++f) {
|
|
596
596
|
var I = L[f];
|
|
597
597
|
if ((l.label === null || I.name === l.label.name) && (I.kind !== null && (c || I.kind === "loop") || l.label && c))
|
|
@@ -601,27 +601,27 @@ var B, ni = function(e) {
|
|
|
601
601
|
case Gn:
|
|
602
602
|
return R(), Ne(), x(l, "DebuggerStatement");
|
|
603
603
|
case Xn:
|
|
604
|
-
return R(), L.push(
|
|
604
|
+
return R(), L.push(on), l.body = ue(), L.pop(), W(tn), l.test = Ye(), Ne(), x(l, "DoWhileStatement");
|
|
605
605
|
case Zn:
|
|
606
|
-
return R(), L.push(
|
|
607
|
-
case
|
|
608
|
-
return R(),
|
|
606
|
+
return R(), L.push(on), W(ve), E === be ? Dt(l, null) : E === en ? (s = G(), R(), Ln(s, !0), x(s, "VariableDeclaration"), s.fa.length === 1 && F(xt) ? Wn(l, s) : Dt(l, s)) : (s = _(!1, !0), F(xt) ? (Tt(s), Wn(l, s)) : Dt(l, s));
|
|
607
|
+
case Zt:
|
|
608
|
+
return R(), Lt(l, !0);
|
|
609
609
|
case Qn:
|
|
610
|
-
return R(), l.test = Ye(), l.da = ue(), l.alternate =
|
|
610
|
+
return R(), l.test = Ye(), l.da = ue(), l.alternate = F(Yn) ? ue() : null, x(l, "IfStatement");
|
|
611
611
|
case er:
|
|
612
|
-
return et ||
|
|
613
|
-
case
|
|
612
|
+
return et || $.Ib || r(H, "'return' outside of function"), R(), F(be) || wt() ? l.K = null : (l.K = _(), Ne()), x(l, "ReturnStatement");
|
|
613
|
+
case Qt:
|
|
614
614
|
for (R(), l.Qb = Ye(), l.tb = [], W(nt), L.push(Bo); E !== We; )
|
|
615
|
-
E ===
|
|
615
|
+
E === _t || E === Jn ? (s = E === _t, f && x(f, "SwitchCase"), l.tb.push(f = G()), f.da = [], R(), s ? f.test = _() : (c && r(Gt, "Multiple default clauses"), c = !0, f.test = null), W(rt)) : (f || me(), f.da.push(ue()));
|
|
616
616
|
return f && x(f, "SwitchCase"), R(), L.pop(), x(l, "SwitchStatement");
|
|
617
617
|
case tr:
|
|
618
|
-
return R(),
|
|
618
|
+
return R(), $t.test(b.slice(Ae, H)) && r(Ae, "Illegal newline after throw"), l.K = _(), Ne(), x(l, "ThrowStatement");
|
|
619
619
|
case nr:
|
|
620
|
-
return R(), l.block = _e(), l.Ea = null, E === qn && (s = G(), R(), W(ve), s.Ua = ge(), oe && Rt(s.Ua.name) && r(s.Ua.start, "Binding " + s.Ua.name + " in strict mode"), W(de), s.body = _e(), l.Ea = x(s, "CatchClause")), l.fb =
|
|
621
|
-
case
|
|
620
|
+
return R(), l.block = _e(), l.Ea = null, E === qn && (s = G(), R(), W(ve), s.Ua = ge(), oe && Rt(s.Ua.name) && r(s.Ua.start, "Binding " + s.Ua.name + " in strict mode"), W(de), s.body = _e(), l.Ea = x(s, "CatchClause")), l.fb = F(_n) ? _e() : null, l.Ea || l.fb || r(l.start, "Missing catch or finally clause"), x(l, "TryStatement");
|
|
621
|
+
case en:
|
|
622
622
|
return R(), Ln(l), Ne(), x(l, "VariableDeclaration");
|
|
623
|
-
case
|
|
624
|
-
return R(), l.test = Ye(), L.push(
|
|
623
|
+
case tn:
|
|
624
|
+
return R(), l.test = Ye(), L.push(on), l.body = ue(), L.pop(), x(l, "WhileStatement");
|
|
625
625
|
case rr:
|
|
626
626
|
return oe && r(H, "'with' in strict mode"), R(), l.object = Ye(), l.body = ue(), x(l, "WithStatement");
|
|
627
627
|
case nt:
|
|
@@ -629,12 +629,12 @@ var B, ni = function(e) {
|
|
|
629
629
|
case be:
|
|
630
630
|
return R(), x(l, "EmptyStatement");
|
|
631
631
|
default:
|
|
632
|
-
if (c = ae, I = _(), s === Me && I.type === "Identifier" &&
|
|
632
|
+
if (c = ae, I = _(), s === Me && I.type === "Identifier" && F(rt)) {
|
|
633
633
|
for (f = 0; f < L.length; ++f)
|
|
634
634
|
L[f].name === c && r(I.start, "Label '" + c + "' is already declared");
|
|
635
635
|
return L.push({
|
|
636
636
|
name: c,
|
|
637
|
-
kind: E.W ? "loop" : E ===
|
|
637
|
+
kind: E.W ? "loop" : E === Qt ? "switch" : null
|
|
638
638
|
}), l.body = ue(), L.pop(), l.label = I, x(l, "LabeledStatement");
|
|
639
639
|
}
|
|
640
640
|
return l.la = I, Ne(), x(l, "ExpressionStatement");
|
|
@@ -647,9 +647,9 @@ var B, ni = function(e) {
|
|
|
647
647
|
}
|
|
648
648
|
function _e(s) {
|
|
649
649
|
var l = G(), c = !0, f = !1;
|
|
650
|
-
for (l.body = [], W(nt); !
|
|
650
|
+
for (l.body = [], W(nt); !F(We); ) {
|
|
651
651
|
var I = ue();
|
|
652
|
-
if (l.body.push(I), c && s &&
|
|
652
|
+
if (l.body.push(I), c && s && Ut(I)) {
|
|
653
653
|
var K = f;
|
|
654
654
|
xe(f = !0);
|
|
655
655
|
}
|
|
@@ -666,50 +666,50 @@ var B, ni = function(e) {
|
|
|
666
666
|
function Ln(s, l) {
|
|
667
667
|
for (s.fa = [], s.kind = "var"; ; ) {
|
|
668
668
|
var c = G();
|
|
669
|
-
if (c.id = ge(), oe && Rt(c.id.name) && r(c.id.start, "Binding " + c.id.name + " in strict mode"), c.ua =
|
|
669
|
+
if (c.id = ge(), oe && Rt(c.id.name) && r(c.id.start, "Binding " + c.id.name + " in strict mode"), c.ua = F(dr) ? _(!0, l) : null, s.fa.push(x(c, "VariableDeclarator")), !F(Pe))
|
|
670
670
|
break;
|
|
671
671
|
}
|
|
672
672
|
}
|
|
673
673
|
function _(s, l) {
|
|
674
|
-
var c =
|
|
674
|
+
var c = Ft(l);
|
|
675
675
|
if (!s && E === Pe) {
|
|
676
|
-
for (s =
|
|
677
|
-
s.xb.push(
|
|
676
|
+
for (s = $e(c), s.xb = [c]; F(Pe); )
|
|
677
|
+
s.xb.push(Ft(l));
|
|
678
678
|
return x(s, "SequenceExpression");
|
|
679
679
|
}
|
|
680
680
|
return c;
|
|
681
681
|
}
|
|
682
|
-
function
|
|
683
|
-
var l = Wt(
|
|
684
|
-
if (
|
|
685
|
-
var c =
|
|
682
|
+
function Ft(s) {
|
|
683
|
+
var l = Mt(Wt(), -1, s);
|
|
684
|
+
if (F(cr)) {
|
|
685
|
+
var c = $e(l);
|
|
686
686
|
c.test = l, c.da = _(!0), W(rt), c.alternate = _(!0, s), l = x(c, "ConditionalExpression");
|
|
687
687
|
}
|
|
688
|
-
return E.Cb ? (c =
|
|
688
|
+
return E.Cb ? (c = $e(l), c.operator = ae, c.left = l, R(), c.right = Ft(s), Tt(l), x(c, "AssignmentExpression")) : l;
|
|
689
689
|
}
|
|
690
|
-
function
|
|
690
|
+
function Mt(s, l, c) {
|
|
691
691
|
var f = E.L;
|
|
692
692
|
if (f !== null && (!c || E !== xt) && f > l) {
|
|
693
|
-
var I =
|
|
694
|
-
return I.left = s, I.operator = ae, s = E, R(), I.right = Wt(
|
|
693
|
+
var I = $e(s);
|
|
694
|
+
return I.left = s, I.operator = ae, s = E, R(), I.right = Mt(Wt(), f, c), f = x(I, s === fr || s === mr ? "LogicalExpression" : "BinaryExpression"), Mt(f, l, c);
|
|
695
695
|
}
|
|
696
696
|
return s;
|
|
697
697
|
}
|
|
698
|
-
function
|
|
698
|
+
function Wt() {
|
|
699
699
|
if (E.prefix) {
|
|
700
700
|
var s = G(), l = E.$b;
|
|
701
|
-
return s.operator = ae, Qe = s.prefix = !0, R(), s.K =
|
|
701
|
+
return s.operator = ae, Qe = s.prefix = !0, R(), s.K = Wt(), l ? Tt(s.K) : oe && s.operator === "delete" && s.K.type === "Identifier" && r(s.start, "Deleting local variable in strict mode"), x(s, l ? "UpdateExpression" : "UnaryExpression");
|
|
702
702
|
}
|
|
703
703
|
for (l = Ze(Et()); E.cc && !wt(); )
|
|
704
|
-
s =
|
|
704
|
+
s = $e(l), s.operator = ae, s.prefix = !1, s.K = l, Tt(l), R(), l = x(s, "UpdateExpression");
|
|
705
705
|
return l;
|
|
706
706
|
}
|
|
707
707
|
function Ze(s, l) {
|
|
708
|
-
if (
|
|
709
|
-
var c =
|
|
708
|
+
if (F(ur)) {
|
|
709
|
+
var c = $e(s);
|
|
710
710
|
return c.object = s, c.Wa = ge(!0), c.bb = !1, Ze(x(c, "MemberExpression"), l);
|
|
711
711
|
}
|
|
712
|
-
return
|
|
712
|
+
return F(nn) ? (c = $e(s), c.object = s, c.Wa = _(), c.bb = !0, W(rn), Ze(x(c, "MemberExpression"), l)) : !l && F(ve) ? (c = $e(s), c.callee = s, c.arguments = Ht(de, !1), Ze(x(c, "CallExpression"), l)) : s;
|
|
713
713
|
}
|
|
714
714
|
function Et() {
|
|
715
715
|
switch (E) {
|
|
@@ -721,59 +721,59 @@ var B, ni = function(e) {
|
|
|
721
721
|
case tt:
|
|
722
722
|
case It:
|
|
723
723
|
case Kn:
|
|
724
|
-
return s = G(), s.value = ae, s.raw = b.slice(H,
|
|
724
|
+
return s = G(), s.value = ae, s.raw = b.slice(H, Fe), R(), x(s, "Literal");
|
|
725
725
|
case sr:
|
|
726
726
|
case ar:
|
|
727
727
|
case lr:
|
|
728
728
|
return s = G(), s.value = E.$a, s.raw = E.l, R(), x(s, "Literal");
|
|
729
729
|
case ve:
|
|
730
|
-
s =
|
|
730
|
+
s = qt;
|
|
731
731
|
var l = H;
|
|
732
732
|
R();
|
|
733
733
|
var c = _();
|
|
734
|
-
return c.start = l, c.end =
|
|
735
|
-
case
|
|
736
|
-
return s = G(), R(), s.elements =
|
|
734
|
+
return c.start = l, c.end = Fe, $.C && (c.X.start = s, c.X.end = zt), $.Xa && (c.j = [l, Fe]), W(de), c;
|
|
735
|
+
case nn:
|
|
736
|
+
return s = G(), R(), s.elements = Ht(rn, !0, !0), x(s, "ArrayExpression");
|
|
737
737
|
case nt:
|
|
738
|
-
for (s = G(), l = !0, c = !1, s.h = [], R(); !
|
|
738
|
+
for (s = G(), l = !0, c = !1, s.h = [], R(); !F(We); ) {
|
|
739
739
|
if (l)
|
|
740
740
|
l = !1;
|
|
741
|
-
else if (W(Pe),
|
|
741
|
+
else if (W(Pe), $.sb && F(We))
|
|
742
742
|
break;
|
|
743
743
|
var f = {
|
|
744
744
|
key: E === tt || E === It ? Et() : ge(!0)
|
|
745
745
|
}, I = !1;
|
|
746
|
-
if (
|
|
746
|
+
if (F(rt)) {
|
|
747
747
|
f.value = _(!0);
|
|
748
748
|
var K = f.kind = "init";
|
|
749
749
|
} else
|
|
750
|
-
f.key.type !== "Identifier" || f.key.name !== "get" && f.key.name !== "set" ? me() : (I = c = !0, K = f.kind = f.key.name, f.key = E === tt || E === It ? Et() : ge(!0), E !== ve && me(), f.value =
|
|
750
|
+
f.key.type !== "Identifier" || f.key.name !== "get" && f.key.name !== "set" ? me() : (I = c = !0, K = f.kind = f.key.name, f.key = E === tt || E === It ? Et() : ge(!0), E !== ve && me(), f.value = Lt(G(), !1));
|
|
751
751
|
if (f.key.type === "Identifier" && (oe || c))
|
|
752
752
|
for (var ee = 0; ee < s.h.length; ++ee) {
|
|
753
753
|
var He = s.h[ee];
|
|
754
754
|
if (He.key.name === f.key.name) {
|
|
755
|
-
var
|
|
756
|
-
|
|
755
|
+
var sn = K === He.kind || I && He.kind === "init" || K === "init" && (He.kind === "get" || He.kind === "set");
|
|
756
|
+
sn && !oe && K === "init" && He.kind === "init" && (sn = !1), sn && r(f.key.start, "Redefinition of property");
|
|
757
757
|
}
|
|
758
758
|
}
|
|
759
759
|
s.h.push(f);
|
|
760
760
|
}
|
|
761
761
|
return x(s, "ObjectExpression");
|
|
762
|
-
case
|
|
763
|
-
return s = G(), R(),
|
|
762
|
+
case Zt:
|
|
763
|
+
return s = G(), R(), Lt(s, !1);
|
|
764
764
|
case or:
|
|
765
|
-
return s = G(), R(), s.callee = Ze(Et(), !0), s.arguments =
|
|
765
|
+
return s = G(), R(), s.callee = Ze(Et(), !0), s.arguments = F(ve) ? Ht(de, !1) : bo, x(s, "NewExpression");
|
|
766
766
|
}
|
|
767
767
|
me();
|
|
768
768
|
}
|
|
769
|
-
function
|
|
769
|
+
function Lt(s, l) {
|
|
770
770
|
E === Me ? s.id = ge() : l ? me() : s.id = null, s.oa = [];
|
|
771
771
|
var c = !0;
|
|
772
|
-
for (W(ve); !
|
|
772
|
+
for (W(ve); !F(de); )
|
|
773
773
|
c ? c = !1 : W(Pe), s.oa.push(ge());
|
|
774
774
|
c = et;
|
|
775
775
|
var f = L;
|
|
776
|
-
if (et = !0, L = [], s.body = _e(!0), et = c, L = f, oe || s.body.body.length &&
|
|
776
|
+
if (et = !0, L = [], s.body = _e(!0), et = c, L = f, oe || s.body.body.length && Ut(s.body.body[0])) {
|
|
777
777
|
for (c = s.id ? -1 : 0; c < s.oa.length; ++c)
|
|
778
778
|
if (f = 0 > c ? s.id : s.oa[c], (gr(f.name) || Rt(f.name)) && r(f.start, "Defining '" + f.name + "' in strict mode"), 0 <= c)
|
|
779
779
|
for (var I = 0; I < c; ++I)
|
|
@@ -781,11 +781,11 @@ var B, ni = function(e) {
|
|
|
781
781
|
}
|
|
782
782
|
return x(s, l ? "FunctionDeclaration" : "FunctionExpression");
|
|
783
783
|
}
|
|
784
|
-
function
|
|
785
|
-
for (var f = [], I = !0; !
|
|
784
|
+
function Ht(s, l, c) {
|
|
785
|
+
for (var f = [], I = !0; !F(s); ) {
|
|
786
786
|
if (I)
|
|
787
787
|
I = !1;
|
|
788
|
-
else if (W(Pe), l &&
|
|
788
|
+
else if (W(Pe), l && $.sb && F(s))
|
|
789
789
|
break;
|
|
790
790
|
f.push(c && E === Pe ? null : _(!0));
|
|
791
791
|
}
|
|
@@ -793,16 +793,16 @@ var B, ni = function(e) {
|
|
|
793
793
|
}
|
|
794
794
|
function ge(s) {
|
|
795
795
|
var l = G();
|
|
796
|
-
return s &&
|
|
796
|
+
return s && $.yb === "everywhere" && (s = !1), E === Me ? (!s && ($.yb && Ao(ae) || oe && gr(ae)) && b.slice(H, Fe).indexOf("\\") === -1 && r(H, "The keyword '" + ae + "' is reserved"), l.name = ae) : s && E.l ? l.name = E.l : me(), Qe = !1, R(), x(l, "Identifier");
|
|
797
797
|
}
|
|
798
798
|
e.version = "0.5.0";
|
|
799
|
-
var
|
|
799
|
+
var $, b = "", De, Kt;
|
|
800
800
|
e.parse = function(s, l) {
|
|
801
|
-
b = String(s),
|
|
801
|
+
b = String(s), De = b.length, $ = l || {};
|
|
802
802
|
for (var c in Hn)
|
|
803
|
-
Object.prototype.hasOwnProperty.call(
|
|
804
|
-
for (
|
|
805
|
-
c = ue(), s.body.push(c), l &&
|
|
803
|
+
Object.prototype.hasOwnProperty.call($, c) || ($[c] = Hn[c]);
|
|
804
|
+
for (Kt = $.sourceFile, Ve = 1, d = ye = 0, Qe = !0, p(), c = $.dc, Gt = Ae = d, $.C && (Jt = new i()), et = oe = !1, L = [], v(), s = c || G(), l = !0, c || (s.body = []); E !== Xt; )
|
|
805
|
+
c = ue(), s.body.push(c), l && Ut(c) && xe(!0), l = !1;
|
|
806
806
|
return x(s, "Program");
|
|
807
807
|
};
|
|
808
808
|
var Hn = {
|
|
@@ -816,7 +816,7 @@ var B, ni = function(e) {
|
|
|
816
816
|
dc: null,
|
|
817
817
|
sourceFile: null,
|
|
818
818
|
vb: null
|
|
819
|
-
}, d = 0, H = 0,
|
|
819
|
+
}, d = 0, H = 0, Fe = 0, qt, zt, E, ae, Qe, Ve, ye, Gt = 0, Ae = 0, Jt, et, L, oe, bo = [], tt = {
|
|
820
820
|
type: "num"
|
|
821
821
|
}, Kn = {
|
|
822
822
|
type: "regexp"
|
|
@@ -824,11 +824,11 @@ var B, ni = function(e) {
|
|
|
824
824
|
type: "string"
|
|
825
825
|
}, Me = {
|
|
826
826
|
type: "name"
|
|
827
|
-
},
|
|
827
|
+
}, Xt = {
|
|
828
828
|
type: "eof"
|
|
829
|
-
},
|
|
829
|
+
}, Yt = {
|
|
830
830
|
l: "break"
|
|
831
|
-
},
|
|
831
|
+
}, _t = {
|
|
832
832
|
l: "case",
|
|
833
833
|
m: !0
|
|
834
834
|
}, qn = {
|
|
@@ -850,23 +850,23 @@ var B, ni = function(e) {
|
|
|
850
850
|
}, Zn = {
|
|
851
851
|
l: "for",
|
|
852
852
|
W: !0
|
|
853
|
-
},
|
|
853
|
+
}, Zt = {
|
|
854
854
|
l: "function"
|
|
855
855
|
}, Qn = {
|
|
856
856
|
l: "if"
|
|
857
857
|
}, er = {
|
|
858
858
|
l: "return",
|
|
859
859
|
m: !0
|
|
860
|
-
},
|
|
860
|
+
}, Qt = {
|
|
861
861
|
l: "switch"
|
|
862
862
|
}, tr = {
|
|
863
863
|
l: "throw",
|
|
864
864
|
m: !0
|
|
865
865
|
}, nr = {
|
|
866
866
|
l: "try"
|
|
867
|
-
},
|
|
867
|
+
}, en = {
|
|
868
868
|
l: "var"
|
|
869
|
-
},
|
|
869
|
+
}, tn = {
|
|
870
870
|
l: "while",
|
|
871
871
|
W: !0
|
|
872
872
|
}, rr = {
|
|
@@ -890,8 +890,8 @@ var B, ni = function(e) {
|
|
|
890
890
|
L: 7,
|
|
891
891
|
m: !0
|
|
892
892
|
}, ko = {
|
|
893
|
-
break:
|
|
894
|
-
case:
|
|
893
|
+
break: Yt,
|
|
894
|
+
case: _t,
|
|
895
895
|
catch: qn,
|
|
896
896
|
continue: zn,
|
|
897
897
|
debugger: Gn,
|
|
@@ -900,14 +900,14 @@ var B, ni = function(e) {
|
|
|
900
900
|
else: Yn,
|
|
901
901
|
finally: _n,
|
|
902
902
|
for: Zn,
|
|
903
|
-
function:
|
|
903
|
+
function: Zt,
|
|
904
904
|
if: Qn,
|
|
905
905
|
return: er,
|
|
906
|
-
switch:
|
|
906
|
+
switch: Qt,
|
|
907
907
|
throw: tr,
|
|
908
908
|
try: nr,
|
|
909
|
-
var:
|
|
910
|
-
while:
|
|
909
|
+
var: en,
|
|
910
|
+
while: tn,
|
|
911
911
|
with: rr,
|
|
912
912
|
null: sr,
|
|
913
913
|
true: ar,
|
|
@@ -935,10 +935,10 @@ var B, ni = function(e) {
|
|
|
935
935
|
prefix: !0,
|
|
936
936
|
m: !0
|
|
937
937
|
}
|
|
938
|
-
},
|
|
938
|
+
}, nn = {
|
|
939
939
|
type: "[",
|
|
940
940
|
m: !0
|
|
941
|
-
},
|
|
941
|
+
}, rn = {
|
|
942
942
|
type: "]"
|
|
943
943
|
}, nt = {
|
|
944
944
|
type: "{",
|
|
@@ -1008,16 +1008,16 @@ var B, ni = function(e) {
|
|
|
1008
1008
|
L: 9,
|
|
1009
1009
|
prefix: !0,
|
|
1010
1010
|
m: !0
|
|
1011
|
-
},
|
|
1011
|
+
}, $o = {
|
|
1012
1012
|
L: 10,
|
|
1013
1013
|
m: !0
|
|
1014
|
-
},
|
|
1014
|
+
}, Ao = o("class enum extends super const export import"), gr = o("implements interface let package private protected public static yield"), Rt = 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]/, yr = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"), jo = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"), $t = /[\n\r\u2028\u2029]/, At = /\r\n|[\n\r\u2028\u2029]/g, Le, on = {
|
|
1015
1015
|
kind: "loop"
|
|
1016
1016
|
}, Bo = {
|
|
1017
1017
|
kind: "switch"
|
|
1018
1018
|
};
|
|
1019
|
-
},
|
|
1020
|
-
ni(
|
|
1019
|
+
}, mn = mn = typeof globalThis > "u" ? void 0 : globalThis;
|
|
1020
|
+
ni(mn.j || (mn.j = {}));
|
|
1021
1021
|
function g(e, t) {
|
|
1022
1022
|
typeof e == "string" && (e = ze(e, "code"));
|
|
1023
1023
|
var n = e.constructor;
|
|
@@ -1033,13 +1033,13 @@ function g(e, t) {
|
|
|
1033
1033
|
var i, a;
|
|
1034
1034
|
for (a in this)
|
|
1035
1035
|
typeof this[a] == "function" && (i = a.match(e)) && (this.rb[i[1]] = this[a].bind(this));
|
|
1036
|
-
this.N =
|
|
1037
|
-
`), "polyfills"), this.ba = void 0,
|
|
1036
|
+
this.N = yn(this, this.ra, null), this.Na = this.N.object, this.ra = ze(this.ba.join(`
|
|
1037
|
+
`), "polyfills"), this.ba = void 0, Nt(this.ra), i = new S(this.ra, this.N), i.done = !1, this.o = [i], this.Eb(), this.value = void 0, this.ra = r, i = new S(this.ra, this.N), i.done = !1, this.o.length = 0, this.o[0] = i;
|
|
1038
1038
|
}
|
|
1039
1039
|
var vr = {
|
|
1040
1040
|
C: !0,
|
|
1041
1041
|
kc: 5
|
|
1042
|
-
},
|
|
1042
|
+
}, wn = {
|
|
1043
1043
|
configurable: !0,
|
|
1044
1044
|
enumerable: !0,
|
|
1045
1045
|
writable: !1
|
|
@@ -1068,7 +1068,7 @@ var vr = {
|
|
|
1068
1068
|
}, Ke = {
|
|
1069
1069
|
REGEXP_TIMEOUT: !0
|
|
1070
1070
|
}, kr = [], Ce = null, pt = null, je = typeof globalThis > "u" ? void 0 : globalThis, ri = ["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();", "};"];
|
|
1071
|
-
function
|
|
1071
|
+
function Tn(e) {
|
|
1072
1072
|
var t = e >>> 0;
|
|
1073
1073
|
return t === Number(e) ? t : NaN;
|
|
1074
1074
|
}
|
|
@@ -1076,12 +1076,12 @@ function dt(e) {
|
|
|
1076
1076
|
var t = e >>> 0;
|
|
1077
1077
|
return String(t) === String(e) && t !== 4294967295 ? t : NaN;
|
|
1078
1078
|
}
|
|
1079
|
-
function
|
|
1079
|
+
function Nt(e, t, n) {
|
|
1080
1080
|
t ? e.start = t : delete e.start, n ? e.end = n : delete e.end;
|
|
1081
1081
|
for (var r in e)
|
|
1082
1082
|
if (r !== "loc" && e.hasOwnProperty(r)) {
|
|
1083
1083
|
var o = e[r];
|
|
1084
|
-
o && typeof o == "object" &&
|
|
1084
|
+
o && typeof o == "object" && Nt(o, t, n);
|
|
1085
1085
|
}
|
|
1086
1086
|
}
|
|
1087
1087
|
g.prototype.REGEXP_MODE = 2;
|
|
@@ -1150,7 +1150,7 @@ B.Eb = function() {
|
|
|
1150
1150
|
return this.za;
|
|
1151
1151
|
};
|
|
1152
1152
|
function oi(e, t) {
|
|
1153
|
-
e.g(t, "NaN", NaN, it), e.g(t, "Infinity", 1 / 0, it), e.g(t, "undefined", void 0, it), e.g(t, "window", t,
|
|
1153
|
+
e.g(t, "NaN", NaN, it), e.g(t, "Infinity", 1 / 0, it), e.g(t, "undefined", void 0, it), e.g(t, "window", t, wn), e.g(t, "this", t, it), e.g(t, "self", t), e.M = new A(null), e.Z = new A(e.M), ii(e, t), si(e, t), t.xa = e.M, e.g(t, "constructor", e.v, k), ai(e, t), li(e, t), ui(e, t), ci(e, t), pi(e, t), di(e, t), hi(e, t), fi(e, t), mi(e, t);
|
|
1154
1154
|
var n = e.i(function() {
|
|
1155
1155
|
throw EvalError("Can't happen");
|
|
1156
1156
|
}, !1);
|
|
@@ -1192,12 +1192,12 @@ function ii(e, t) {
|
|
|
1192
1192
|
} catch (v) {
|
|
1193
1193
|
w(e, e.T, "Invalid code: " + v.message);
|
|
1194
1194
|
}
|
|
1195
|
-
return m.body.length !== 1 && w(e, e.T, "Invalid code in function body"),
|
|
1195
|
+
return m.body.length !== 1 && w(e, e.T, "Invalid code in function body"), xn(e, m.body[0].la, e.N, "anonymous");
|
|
1196
1196
|
};
|
|
1197
1197
|
e.O = e.i(r, !0), e.g(t, "Function", e.O, k), e.g(e.O, "prototype", e.Z, k), e.g(e.Z, "constructor", e.O, k), e.Z.Ta = function() {
|
|
1198
1198
|
}, 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) {
|
|
1199
1199
|
var a = e.o[e.o.length - 1];
|
|
1200
|
-
a.U = this, a.B = o, a.F = [], i != null && (i instanceof
|
|
1200
|
+
a.U = this, a.B = o, a.F = [], i != null && (i instanceof A ? a.F = Wr(e, i) : w(e, e.j, "CreateListFromArrayLike called on non-object")), a.eb = !1;
|
|
1201
1201
|
}, q(e, e.O, "apply", r), r = function(o) {
|
|
1202
1202
|
var i = e.o[e.o.length - 1];
|
|
1203
1203
|
i.U = this, i.B = o, i.F = [];
|
|
@@ -1217,22 +1217,22 @@ function si(e, t) {
|
|
|
1217
1217
|
var r = function(o) {
|
|
1218
1218
|
if (o == null)
|
|
1219
1219
|
return Ie(e) ? this : e.s(e.M);
|
|
1220
|
-
if (!(o instanceof
|
|
1220
|
+
if (!(o instanceof A)) {
|
|
1221
1221
|
var i = e.s(we(e, o));
|
|
1222
1222
|
return i.data = o, i;
|
|
1223
1223
|
}
|
|
1224
1224
|
return o;
|
|
1225
1225
|
};
|
|
1226
1226
|
e.v = e.i(r, !0), e.g(e.v, "prototype", e.M, k), e.g(e.M, "constructor", e.v, k), e.g(t, "Object", e.v, k), r = function(o) {
|
|
1227
|
-
return n(o), Se(e, Object.getOwnPropertyNames(o instanceof
|
|
1227
|
+
return n(o), Se(e, Object.getOwnPropertyNames(o instanceof A ? o.h : o));
|
|
1228
1228
|
}, e.g(e.v, "getOwnPropertyNames", e.i(r, !1), k), r = function(o) {
|
|
1229
|
-
return n(o), o instanceof
|
|
1229
|
+
return n(o), o instanceof A && (o = o.h), Se(e, Object.keys(o));
|
|
1230
1230
|
}, e.g(e.v, "keys", e.i(r, !1), k), r = function(o) {
|
|
1231
|
-
return o === null ? e.s(null) : (o instanceof
|
|
1231
|
+
return o === null ? e.s(null) : (o instanceof A || w(e, e.j, "Object prototype may only be an Object or null, not " + o), e.s(o));
|
|
1232
1232
|
}, e.g(e.v, "create", e.i(r, !1), k), 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, a) {
|
|
1233
|
-
return i = String(i), o instanceof
|
|
1233
|
+
return i = String(i), o instanceof A || w(e, e.j, "Object.defineProperty called on non-object: " + o), a instanceof A || 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, gt, a.h), o;
|
|
1234
1234
|
}, e.g(e.v, "defineProperty", e.i(r, !1), k), 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) {
|
|
1235
|
-
if (o instanceof
|
|
1235
|
+
if (o instanceof A || w(e, e.j, "Object.getOwnPropertyDescriptor called on non-object: " + o), i = String(i), i in o.h) {
|
|
1236
1236
|
var a = Object.getOwnPropertyDescriptor(o.h, i), u = o.V[i];
|
|
1237
1237
|
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", a.value), e.g(i, "writable", a.writable)), e.g(i, "configurable", a.configurable), e.g(i, "enumerable", a.enumerable), i;
|
|
1238
1238
|
}
|
|
@@ -1241,11 +1241,11 @@ function si(e, t) {
|
|
|
1241
1241
|
}, e.g(e.v, "getPrototypeOf", e.i(r, !1), k), r = function(o) {
|
|
1242
1242
|
return !!o && !o.preventExtensions;
|
|
1243
1243
|
}, e.g(e.v, "isExtensible", e.i(r, !1), k), r = function(o) {
|
|
1244
|
-
return o instanceof
|
|
1245
|
-
}, e.g(e.v, "preventExtensions", e.i(r, !1), k), q(e, e.v, "toString",
|
|
1246
|
-
return n(this), this instanceof
|
|
1244
|
+
return o instanceof A && (o.preventExtensions = !0), o;
|
|
1245
|
+
}, e.g(e.v, "preventExtensions", e.i(r, !1), k), q(e, e.v, "toString", A.prototype.toString), q(e, e.v, "toLocaleString", A.prototype.toString), q(e, e.v, "valueOf", A.prototype.valueOf), r = function(o) {
|
|
1246
|
+
return n(this), this instanceof A ? String(o) in this.h : this.hasOwnProperty(o);
|
|
1247
1247
|
}, q(e, e.v, "hasOwnProperty", r), r = function(o) {
|
|
1248
|
-
return n(this), this instanceof
|
|
1248
|
+
return n(this), this instanceof A ? Object.prototype.propertyIsEnumerable.call(this.h, o) : this.propertyIsEnumerable(o);
|
|
1249
1249
|
}, q(e, e.v, "propertyIsEnumerable", r), r = function(o) {
|
|
1250
1250
|
for (; ; ) {
|
|
1251
1251
|
if (o = we(e, o), !o)
|
|
@@ -1259,7 +1259,7 @@ function ai(e, t) {
|
|
|
1259
1259
|
var n = function(r) {
|
|
1260
1260
|
var o = Ie(e) ? this : Ge(e), i = arguments[0];
|
|
1261
1261
|
if (arguments.length === 1 && typeof i == "number")
|
|
1262
|
-
isNaN(
|
|
1262
|
+
isNaN(Tn(i)) && w(e, e.ob, "Invalid array length: " + i), o.h.length = i;
|
|
1263
1263
|
else {
|
|
1264
1264
|
for (i = 0; i < arguments.length; i++)
|
|
1265
1265
|
o.h[i] = arguments[i];
|
|
@@ -1436,7 +1436,7 @@ function di(e, t) {
|
|
|
1436
1436
|
} catch (u) {
|
|
1437
1437
|
w(e, e.T, u.message);
|
|
1438
1438
|
}
|
|
1439
|
-
return
|
|
1439
|
+
return En(e, i, a), i;
|
|
1440
1440
|
};
|
|
1441
1441
|
e.I = e.i(n, !0), e.Ma = e.I.h.prototype, e.g(t, "RegExp", e.I, k), 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) {
|
|
1442
1442
|
function i(v) {
|
|
@@ -1467,13 +1467,13 @@ function hi(e, t) {
|
|
|
1467
1467
|
function n(r) {
|
|
1468
1468
|
var o = e.i(function(i) {
|
|
1469
1469
|
var a = Ie(e) ? this : e.Aa(o);
|
|
1470
|
-
return
|
|
1470
|
+
return gn(e, a, i), a;
|
|
1471
1471
|
}, !0);
|
|
1472
1472
|
return e.g(o, "prototype", e.Aa(e.D), k), e.g(o.h.prototype, "name", r, k), e.g(t, r, o, k), o;
|
|
1473
1473
|
}
|
|
1474
1474
|
e.D = e.i(function(r) {
|
|
1475
1475
|
var o = Ie(e) ? this : e.Aa(e.D);
|
|
1476
|
-
return
|
|
1476
|
+
return gn(e, o, r), o;
|
|
1477
1477
|
}, !0), e.g(t, "Error", e.D, k), e.g(e.D.h.prototype, "message", "", k), e.g(e.D.h.prototype, "name", "Error", k), n("EvalError"), e.ob = n("RangeError"), e.pb = n("ReferenceError"), e.T = n("SyntaxError"), e.j = n("TypeError"), e.Gb = n("URIError");
|
|
1478
1478
|
}
|
|
1479
1479
|
function fi(e, t) {
|
|
@@ -1518,10 +1518,10 @@ function J(e, t, n) {
|
|
|
1518
1518
|
}
|
|
1519
1519
|
return !1;
|
|
1520
1520
|
}
|
|
1521
|
-
function
|
|
1521
|
+
function En(e, t, n) {
|
|
1522
1522
|
t.data = new RegExp(n.source, n.flags), e.g(t, "lastIndex", n.lastIndex, k), 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);
|
|
1523
1523
|
}
|
|
1524
|
-
function
|
|
1524
|
+
function gn(e, t, n) {
|
|
1525
1525
|
n && e.g(t, "message", String(n), k), n = [];
|
|
1526
1526
|
for (var r = e.o.length - 1; 0 <= r; r--) {
|
|
1527
1527
|
var o = e.o[r], i = o.node;
|
|
@@ -1590,7 +1590,7 @@ B.Aa = function(e) {
|
|
|
1590
1590
|
B.s = function(e) {
|
|
1591
1591
|
if (typeof e != "object")
|
|
1592
1592
|
throw Error("Non object prototype");
|
|
1593
|
-
return e = new
|
|
1593
|
+
return e = new A(e), J(this, e, this.D) && (e.H = "Error"), e;
|
|
1594
1594
|
};
|
|
1595
1595
|
function Ge(e) {
|
|
1596
1596
|
var t = e.s(e.La);
|
|
@@ -1600,29 +1600,29 @@ function Ge(e) {
|
|
|
1600
1600
|
writable: !0
|
|
1601
1601
|
}), t.H = "Array", t;
|
|
1602
1602
|
}
|
|
1603
|
-
function
|
|
1603
|
+
function In(e, t, n) {
|
|
1604
1604
|
var r = e.s(e.Z);
|
|
1605
1605
|
return n ? (n = e.s(e.M), e.g(r, "prototype", n, k), e.g(n, "constructor", r, k)) : r.Ab = !0, e.g(r, "length", t, ne), r.H = "Function", r;
|
|
1606
1606
|
}
|
|
1607
|
-
function
|
|
1608
|
-
var o =
|
|
1607
|
+
function xn(e, t, n, r) {
|
|
1608
|
+
var o = In(e, t.oa.length, !0);
|
|
1609
1609
|
return o.Va = n, o.node = t, e.g(o, "name", t.id ? String(t.id.name) : r || "", ne), o;
|
|
1610
1610
|
}
|
|
1611
1611
|
B.i = function(e, t) {
|
|
1612
|
-
return t =
|
|
1612
|
+
return t = In(this, e.length, t), t.Ta = e, e.id = this.Ya++, this.g(t, "name", e.name, ne), t;
|
|
1613
1613
|
};
|
|
1614
1614
|
B.ub = function(e) {
|
|
1615
|
-
var t =
|
|
1615
|
+
var t = In(this, e.length, !0);
|
|
1616
1616
|
return t.Za = e, e.id = this.Ya++, this.g(t, "name", e.name, ne), t;
|
|
1617
1617
|
};
|
|
1618
1618
|
B.Ia = function(e) {
|
|
1619
|
-
if (e instanceof
|
|
1619
|
+
if (e instanceof A)
|
|
1620
1620
|
throw Error("Object is already pseudo");
|
|
1621
1621
|
if (e == null || e === !0 || e === !1 || typeof e == "string" || typeof e == "number")
|
|
1622
1622
|
return e;
|
|
1623
1623
|
if (e instanceof RegExp) {
|
|
1624
1624
|
var t = this.s(this.Ma);
|
|
1625
|
-
return
|
|
1625
|
+
return En(this, t, e), t;
|
|
1626
1626
|
}
|
|
1627
1627
|
if (e instanceof Date)
|
|
1628
1628
|
return t = this.s(this.nb), t.data = new Date(e.valueOf()), t;
|
|
@@ -1649,7 +1649,7 @@ B.Ia = function(e) {
|
|
|
1649
1649
|
B.R = function(e, t) {
|
|
1650
1650
|
if (typeof e != "object" && typeof e != "function" || e === null)
|
|
1651
1651
|
return e;
|
|
1652
|
-
if (!(e instanceof
|
|
1652
|
+
if (!(e instanceof A))
|
|
1653
1653
|
throw Error("Object is not pseudo");
|
|
1654
1654
|
if (J(this, e, this.I))
|
|
1655
1655
|
return t = new RegExp(e.data.source, e.data.flags), t.lastIndex = e.data.lastIndex, t;
|
|
@@ -1665,7 +1665,7 @@ B.R = function(e, t) {
|
|
|
1665
1665
|
if (t.hb.push(e), J(this, e, this.qa)) {
|
|
1666
1666
|
n = [], t.Sa.push(n);
|
|
1667
1667
|
for (var r = this.G(e, "length"), o = 0; o < r; o++)
|
|
1668
|
-
|
|
1668
|
+
Vt(this, e, o) && (n[o] = this.R(this.G(e, o), t));
|
|
1669
1669
|
} else
|
|
1670
1670
|
for (r in n = {}, t.Sa.push(n), e.h)
|
|
1671
1671
|
o = this.R(e.h[r], t), Object.defineProperty(n, r, {
|
|
@@ -1685,7 +1685,7 @@ function Wr(e, t) {
|
|
|
1685
1685
|
var n = [], r;
|
|
1686
1686
|
for (r in t.h)
|
|
1687
1687
|
n[r] = e.G(t, r);
|
|
1688
|
-
return n.length =
|
|
1688
|
+
return n.length = Tn(e.G(t, "length")) || 0, n;
|
|
1689
1689
|
}
|
|
1690
1690
|
function we(e, t) {
|
|
1691
1691
|
switch (typeof t) {
|
|
@@ -1701,7 +1701,7 @@ function we(e, t) {
|
|
|
1701
1701
|
B.G = function(e, t) {
|
|
1702
1702
|
if (this.P)
|
|
1703
1703
|
throw Error("Getter not supported in that context");
|
|
1704
|
-
if (t = String(t), e != null || w(this, this.j, "Cannot read property '" + t + "' of " + e), typeof e == "object" && !(e instanceof
|
|
1704
|
+
if (t = String(t), e != null || w(this, this.j, "Cannot read property '" + t + "' of " + e), typeof e == "object" && !(e instanceof A))
|
|
1705
1705
|
throw TypeError("Expecting native value or pseudo object");
|
|
1706
1706
|
if (t === "length") {
|
|
1707
1707
|
if (J(this, e, this.J))
|
|
@@ -1716,8 +1716,8 @@ B.G = function(e, t) {
|
|
|
1716
1716
|
return (n = e.V[t]) ? (this.P = !0, n) : e.h[t];
|
|
1717
1717
|
while (e = we(this, e));
|
|
1718
1718
|
};
|
|
1719
|
-
function
|
|
1720
|
-
if (!(t instanceof
|
|
1719
|
+
function Vt(e, t, n) {
|
|
1720
|
+
if (!(t instanceof A))
|
|
1721
1721
|
throw TypeError("Primitive data type has no properties");
|
|
1722
1722
|
if (n = String(n), n === "length" && J(e, t, e.J))
|
|
1723
1723
|
return !0;
|
|
@@ -1735,11 +1735,11 @@ function Ut(e, t, n) {
|
|
|
1735
1735
|
B.g = function(e, t, n, r) {
|
|
1736
1736
|
if (this.Ka)
|
|
1737
1737
|
throw Error("Setter not supported in that context");
|
|
1738
|
-
if (t = String(t), e != null || w(this, this.j, "Cannot set property '" + t + "' of " + e), typeof e == "object" && !(e instanceof
|
|
1738
|
+
if (t = String(t), e != null || w(this, this.j, "Cannot set property '" + t + "' of " + e), typeof e == "object" && !(e instanceof A))
|
|
1739
1739
|
throw TypeError("Expecting native value or pseudo object");
|
|
1740
1740
|
r && ("get" in r || "set" in r) && ("value" in r || "writable" in r) && w(this, this.j, "Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");
|
|
1741
|
-
var o = !this.o ||
|
|
1742
|
-
if (e instanceof
|
|
1741
|
+
var o = !this.o || Rn(this).S;
|
|
1742
|
+
if (e instanceof A) {
|
|
1743
1743
|
if (J(this, e, this.J)) {
|
|
1744
1744
|
var i = dt(t);
|
|
1745
1745
|
if (t === "length" || !isNaN(i) && i < String(e).length) {
|
|
@@ -1754,7 +1754,7 @@ B.g = function(e, t, n, r) {
|
|
|
1754
1754
|
return;
|
|
1755
1755
|
n = r.value;
|
|
1756
1756
|
}
|
|
1757
|
-
if (n =
|
|
1757
|
+
if (n = Tn(n), isNaN(n) && w(this, this.ob, "Invalid array length"), n < i)
|
|
1758
1758
|
for (a in e.h) {
|
|
1759
1759
|
var a = dt(a);
|
|
1760
1760
|
!isNaN(a) && n <= a && delete e.h[a];
|
|
@@ -1806,12 +1806,12 @@ function q(e, t, n, r) {
|
|
|
1806
1806
|
function ut(e, t, n, r) {
|
|
1807
1807
|
e.g(t.h.prototype, n, e.ub(r), k);
|
|
1808
1808
|
}
|
|
1809
|
-
function
|
|
1809
|
+
function Rn(e) {
|
|
1810
1810
|
if (e = e.o[e.o.length - 1].scope, !e)
|
|
1811
1811
|
throw Error("No scope found");
|
|
1812
1812
|
return e;
|
|
1813
1813
|
}
|
|
1814
|
-
function
|
|
1814
|
+
function yn(e, t, n) {
|
|
1815
1815
|
var r = !1;
|
|
1816
1816
|
if (n && n.S)
|
|
1817
1817
|
r = !0;
|
|
@@ -1826,18 +1826,18 @@ function $n(e, t, n) {
|
|
|
1826
1826
|
throw Error("parentScope required");
|
|
1827
1827
|
return e = n || e.s(null), new Kr(t, t.S, e);
|
|
1828
1828
|
}
|
|
1829
|
-
function
|
|
1830
|
-
for (var n =
|
|
1829
|
+
function An(e, t) {
|
|
1830
|
+
for (var n = Rn(e); n && n !== e.N; ) {
|
|
1831
1831
|
if (t in n.object.h)
|
|
1832
1832
|
return n.object.h[t];
|
|
1833
1833
|
n = n.Va;
|
|
1834
1834
|
}
|
|
1835
|
-
if (n === e.N &&
|
|
1835
|
+
if (n === e.N && Vt(e, n.object, t))
|
|
1836
1836
|
return e.G(n.object, t);
|
|
1837
1837
|
n = e.o[e.o.length - 1].node, n.type === "UnaryExpression" && n.operator === "typeof" || w(e, e.pb, t + " is not defined");
|
|
1838
1838
|
}
|
|
1839
1839
|
function Lr(e, t, n) {
|
|
1840
|
-
for (var r =
|
|
1840
|
+
for (var r = Rn(e), o = r.S; r && r !== e.N; ) {
|
|
1841
1841
|
if (t in r.object.h) {
|
|
1842
1842
|
try {
|
|
1843
1843
|
r.object.h[t] = n;
|
|
@@ -1848,7 +1848,7 @@ function Lr(e, t, n) {
|
|
|
1848
1848
|
}
|
|
1849
1849
|
r = r.Va;
|
|
1850
1850
|
}
|
|
1851
|
-
if (r === e.N && (!o ||
|
|
1851
|
+
if (r === e.N && (!o || Vt(e, r.object, t)))
|
|
1852
1852
|
return e.g(r.object, t, n);
|
|
1853
1853
|
w(e, e.pb, t + " is not defined");
|
|
1854
1854
|
}
|
|
@@ -1898,22 +1898,22 @@ function yt(e, t, n) {
|
|
|
1898
1898
|
t.jb = r;
|
|
1899
1899
|
}
|
|
1900
1900
|
for (a in r)
|
|
1901
|
-
r[a] === !0 ? e.g(n.object, a, void 0, br) : e.g(n.object, a,
|
|
1901
|
+
r[a] === !0 ? e.g(n.object, a, void 0, br) : e.g(n.object, a, xn(e, r[a], n), br);
|
|
1902
1902
|
return r;
|
|
1903
1903
|
}
|
|
1904
1904
|
function Ie(e) {
|
|
1905
1905
|
return e.o[e.o.length - 1].isConstructor;
|
|
1906
1906
|
}
|
|
1907
|
-
function
|
|
1908
|
-
return t[0] === Je ?
|
|
1907
|
+
function Pn(e, t) {
|
|
1908
|
+
return t[0] === Je ? An(e, t[1]) : e.G(t[0], t[1]);
|
|
1909
1909
|
}
|
|
1910
|
-
function
|
|
1910
|
+
function On(e, t, n) {
|
|
1911
1911
|
return t[0] === Je ? Lr(e, t[1], n) : e.g(t[0], t[1], n);
|
|
1912
1912
|
}
|
|
1913
1913
|
function w(e, t, n) {
|
|
1914
|
-
throw e.N ? (n !== void 0 && t instanceof
|
|
1914
|
+
throw e.N ? (n !== void 0 && t instanceof A && (t = e.Aa(t), gn(e, t, n)), kt(e, 4, t), Mr) : n === void 0 ? t : n;
|
|
1915
1915
|
}
|
|
1916
|
-
function
|
|
1916
|
+
function kt(e, t, n, r) {
|
|
1917
1917
|
if (t === 0)
|
|
1918
1918
|
throw TypeError("Should not unwind for NORMAL completions");
|
|
1919
1919
|
var o = e.o;
|
|
@@ -1993,7 +1993,7 @@ function Sr(e, t, n) {
|
|
|
1993
1993
|
var r = e.o[e.o.length - 1], o = Array.from(n), i = o.shift();
|
|
1994
1994
|
n = Math.max(Number(o.shift() || 0), 0);
|
|
1995
1995
|
var a = e.ya();
|
|
1996
|
-
if (i instanceof
|
|
1996
|
+
if (i instanceof A && i.H === "Function") {
|
|
1997
1997
|
var u = i;
|
|
1998
1998
|
a.type = "CallExpression", r = r.scope;
|
|
1999
1999
|
} else {
|
|
@@ -2002,7 +2002,7 @@ function Sr(e, t, n) {
|
|
|
2002
2002
|
} catch (m) {
|
|
2003
2003
|
w(e, e.T, "Invalid code: " + m.message);
|
|
2004
2004
|
}
|
|
2005
|
-
a.type = "EvalProgram_", a.body = p.body, r = r.node.arguments[0],
|
|
2005
|
+
a.type = "EvalProgram_", a.body = p.body, r = r.node.arguments[0], Nt(a, r ? r.start : void 0, r ? r.end : void 0), r = e.N, o.length = 0;
|
|
2006
2006
|
}
|
|
2007
2007
|
return t = new gi(u, o, r, a, t ? n : -1), Hr(e, t, n), t.Db;
|
|
2008
2008
|
}
|
|
@@ -2018,22 +2018,22 @@ function Cr(e, t) {
|
|
|
2018
2018
|
break;
|
|
2019
2019
|
}
|
|
2020
2020
|
}
|
|
2021
|
-
function
|
|
2021
|
+
function St(e, t, n) {
|
|
2022
2022
|
if (!e.P)
|
|
2023
2023
|
throw Error("Unexpected call to createGetter");
|
|
2024
2024
|
e.P = !1, n = Array.isArray(n) ? n[0] : n;
|
|
2025
2025
|
var r = e.ya();
|
|
2026
2026
|
return r.type = "CallExpression", e = new S(r, e.o[e.o.length - 1].scope), e.ia = 2, e.B = n, e.U = t, e.Qa = !0, e.F = [], e;
|
|
2027
2027
|
}
|
|
2028
|
-
function
|
|
2028
|
+
function jn(e, t, n, r) {
|
|
2029
2029
|
if (!e.Ka)
|
|
2030
2030
|
throw Error("Unexpected call to createSetter");
|
|
2031
2031
|
e.Ka = !1, n = Array.isArray(n) ? n[0] : e.Na;
|
|
2032
2032
|
var o = e.ya();
|
|
2033
2033
|
return o.type = "CallExpression", e = new S(o, e.o[e.o.length - 1].scope), e.ia = 2, e.B = n, e.U = t, e.Qa = !0, e.F = [r], e;
|
|
2034
2034
|
}
|
|
2035
|
-
function
|
|
2036
|
-
return t == null ? e.Na : t instanceof
|
|
2035
|
+
function ln(e, t) {
|
|
2036
|
+
return t == null ? e.Na : t instanceof A ? t : (e = e.s(we(e, t)), e.data = t, e);
|
|
2037
2037
|
}
|
|
2038
2038
|
B.Xb = function() {
|
|
2039
2039
|
return this.N;
|
|
@@ -2050,17 +2050,17 @@ function S(e, t) {
|
|
|
2050
2050
|
function Kr(e, t, n) {
|
|
2051
2051
|
this.Va = e, this.S = t, this.object = n;
|
|
2052
2052
|
}
|
|
2053
|
-
function
|
|
2053
|
+
function A(e) {
|
|
2054
2054
|
this.V = /* @__PURE__ */ Object.create(null), this.Y = /* @__PURE__ */ Object.create(null), this.h = /* @__PURE__ */ Object.create(null), this.xa = e;
|
|
2055
2055
|
}
|
|
2056
|
-
B =
|
|
2056
|
+
B = A.prototype;
|
|
2057
2057
|
B.xa = null;
|
|
2058
2058
|
B.H = "Object";
|
|
2059
2059
|
B.data = null;
|
|
2060
2060
|
B.toString = function() {
|
|
2061
2061
|
if (!pt)
|
|
2062
2062
|
return "[object Interpreter.Object]";
|
|
2063
|
-
if (!(this instanceof
|
|
2063
|
+
if (!(this instanceof A))
|
|
2064
2064
|
return String(this);
|
|
2065
2065
|
if (this.H === "Array") {
|
|
2066
2066
|
var e = kr;
|
|
@@ -2070,7 +2070,7 @@ B.toString = function() {
|
|
|
2070
2070
|
1024 < n && (n = 1e3, r = !0);
|
|
2071
2071
|
for (var o = 0; o < n; o++) {
|
|
2072
2072
|
var i = this.h[o];
|
|
2073
|
-
t[o] = i instanceof
|
|
2073
|
+
t[o] = i instanceof A && e.indexOf(i) !== -1 ? "..." : i;
|
|
2074
2074
|
}
|
|
2075
2075
|
r && t.push("...");
|
|
2076
2076
|
} finally {
|
|
@@ -2126,7 +2126,7 @@ g.prototype.stepAssignmentExpression = function(e, t, n) {
|
|
|
2126
2126
|
if (!t.ja)
|
|
2127
2127
|
return t.ja = !0, t = new S(n.left, t.scope), t.sa = !0, t;
|
|
2128
2128
|
if (!t.Da)
|
|
2129
|
-
return t.Fa || (t.Fa = t.value), t.Ba && (t.ma = t.value), !t.Ba && n.operator !== "=" && (e =
|
|
2129
|
+
return t.Fa || (t.Fa = t.value), t.Ba && (t.ma = t.value), !t.Ba && n.operator !== "=" && (e = Pn(this, t.Fa), t.ma = e, this.P) ? (t.Ba = !0, St(this, e, t.Fa)) : (t.Da = !0, n.operator === "=" && n.left.type === "Identifier" && (t.Pa = n.left.name), new S(n.right, t.scope));
|
|
2130
2130
|
if (t.ta)
|
|
2131
2131
|
e.pop(), e[e.length - 1].value = t.ib;
|
|
2132
2132
|
else {
|
|
@@ -2171,8 +2171,8 @@ g.prototype.stepAssignmentExpression = function(e, t, n) {
|
|
|
2171
2171
|
default:
|
|
2172
2172
|
throw SyntaxError("Unknown assignment expression: " + n.operator);
|
|
2173
2173
|
}
|
|
2174
|
-
if (n =
|
|
2175
|
-
return t.ta = !0, t.ib = r,
|
|
2174
|
+
if (n = On(this, t.Fa, r))
|
|
2175
|
+
return t.ta = !0, t.ib = r, jn(this, n, t.Fa, r);
|
|
2176
2176
|
e.pop(), e[e.length - 1].value = r;
|
|
2177
2177
|
}
|
|
2178
2178
|
};
|
|
@@ -2242,10 +2242,10 @@ g.prototype.stepBinaryExpression = function(e, t, n) {
|
|
|
2242
2242
|
n = r >>> t;
|
|
2243
2243
|
break;
|
|
2244
2244
|
case "in":
|
|
2245
|
-
t instanceof
|
|
2245
|
+
t instanceof A || w(this, this.j, "'in' expects an object, not '" + t + "'"), n = Vt(this, t, r);
|
|
2246
2246
|
break;
|
|
2247
2247
|
case "instanceof":
|
|
2248
|
-
J(this, t, this.O) || w(this, this.j, "'instanceof' expects an object, not '" + t + "'"), n = r instanceof
|
|
2248
|
+
J(this, t, this.O) || w(this, this.j, "'instanceof' expects an object, not '" + t + "'"), n = r instanceof A ? J(this, r, t) : !1;
|
|
2249
2249
|
break;
|
|
2250
2250
|
default:
|
|
2251
2251
|
throw SyntaxError("Unknown binary operator: " + n.operator);
|
|
@@ -2259,7 +2259,7 @@ g.prototype.stepBlockStatement = function(e, t, n) {
|
|
|
2259
2259
|
e.pop();
|
|
2260
2260
|
};
|
|
2261
2261
|
g.prototype.stepBreakStatement = function(e, t, n) {
|
|
2262
|
-
|
|
2262
|
+
kt(this, 1, void 0, n.label && n.label.name);
|
|
2263
2263
|
};
|
|
2264
2264
|
g.prototype.Hb = 0;
|
|
2265
2265
|
g.prototype.stepCallExpression = function(e, t, n) {
|
|
@@ -2272,8 +2272,8 @@ g.prototype.stepCallExpression = function(e, t, n) {
|
|
|
2272
2272
|
t.ia = 2;
|
|
2273
2273
|
var o = t.value;
|
|
2274
2274
|
if (Array.isArray(o)) {
|
|
2275
|
-
if (t.U =
|
|
2276
|
-
return t.ia = 1,
|
|
2275
|
+
if (t.U = Pn(this, o), o[0] === Je ? t.Pb = o[1] === "eval" : t.B = o[0], o = t.U, this.P)
|
|
2276
|
+
return t.ia = 1, St(this, o, t.value);
|
|
2277
2277
|
} else
|
|
2278
2278
|
t.U = o;
|
|
2279
2279
|
t.F = [], t.A = 0;
|
|
@@ -2282,7 +2282,7 @@ g.prototype.stepCallExpression = function(e, t, n) {
|
|
|
2282
2282
|
if (t.A !== 0 && t.F.push(t.value), n.arguments[t.A])
|
|
2283
2283
|
return new S(n.arguments[t.A++], t.scope);
|
|
2284
2284
|
if (n.type === "NewExpression") {
|
|
2285
|
-
if (o instanceof
|
|
2285
|
+
if (o instanceof A && !o.Ab || w(this, this.j, te(this, n.callee) + " is not a constructor"), o === this.qa)
|
|
2286
2286
|
t.B = Ge(this);
|
|
2287
2287
|
else {
|
|
2288
2288
|
var i = o.h.prototype;
|
|
@@ -2295,12 +2295,12 @@ g.prototype.stepCallExpression = function(e, t, n) {
|
|
|
2295
2295
|
if (t.eb)
|
|
2296
2296
|
e.pop(), e[e.length - 1].value = t.isConstructor && typeof t.value != "object" ? t.B : t.value;
|
|
2297
2297
|
else {
|
|
2298
|
-
if (t.eb = !0, o instanceof
|
|
2299
|
-
for (n =
|
|
2298
|
+
if (t.eb = !0, o instanceof A || w(this, this.j, te(this, n.callee) + " is not a function"), e = o.node) {
|
|
2299
|
+
for (n = yn(this, e.body, o.Va), r = Ge(this), o = 0; o < t.F.length; o++)
|
|
2300
2300
|
this.g(r, o, t.F[o]);
|
|
2301
2301
|
for (this.g(n.object, "arguments", r), o = 0; o < e.oa.length; o++)
|
|
2302
2302
|
this.g(n.object, e.oa[o].name, t.F.length > o ? t.F[o] : void 0);
|
|
2303
|
-
return n.S || (t.B =
|
|
2303
|
+
return n.S || (t.B = ln(this, t.B)), this.g(n.object, "this", t.B, wn), t.value = void 0, new S(e.body, n);
|
|
2304
2304
|
}
|
|
2305
2305
|
if (o.eval)
|
|
2306
2306
|
if (o = t.F[0], typeof o != "string")
|
|
@@ -2311,15 +2311,15 @@ g.prototype.stepCallExpression = function(e, t, n) {
|
|
|
2311
2311
|
} catch (u) {
|
|
2312
2312
|
w(this, this.T, "Invalid code: " + u.message);
|
|
2313
2313
|
}
|
|
2314
|
-
return o = this.ya(), o.type = "EvalProgram_", o.body = r.body,
|
|
2314
|
+
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 = yn(this, r, n) : yt(this, r, n), this.value = void 0, new S(o, n);
|
|
2315
2315
|
}
|
|
2316
2316
|
else if (o.Ta)
|
|
2317
|
-
t.scope.S || (t.B =
|
|
2317
|
+
t.scope.S || (t.B = ln(this, t.B)), t.value = o.Ta.apply(t.B, t.F);
|
|
2318
2318
|
else if (o.Za) {
|
|
2319
2319
|
var a = this;
|
|
2320
2320
|
r = o.Za.length - 1, r = t.F.concat(Array(r)).slice(0, r), r.push(function(u) {
|
|
2321
2321
|
t.value = u, a.za = !1;
|
|
2322
|
-
}), this.za = !0, t.scope.S || (t.B =
|
|
2322
|
+
}), this.za = !0, t.scope.S || (t.B = ln(this, t.B)), o.Za.apply(t.B, r);
|
|
2323
2323
|
} else
|
|
2324
2324
|
w(this, this.j, te(this, n.callee) + " is not callable");
|
|
2325
2325
|
}
|
|
@@ -2338,7 +2338,7 @@ g.prototype.stepConditionalExpression = function(e, t, n) {
|
|
|
2338
2338
|
e.pop(), n.type === "ConditionalExpression" && (e[e.length - 1].value = t.value);
|
|
2339
2339
|
};
|
|
2340
2340
|
g.prototype.stepContinueStatement = function(e, t, n) {
|
|
2341
|
-
|
|
2341
|
+
kt(this, 2, void 0, n.label && n.label.name);
|
|
2342
2342
|
};
|
|
2343
2343
|
g.prototype.stepDebuggerStatement = function(e) {
|
|
2344
2344
|
e.pop();
|
|
@@ -2373,7 +2373,7 @@ g.prototype.stepForInStatement = function(e, t, n) {
|
|
|
2373
2373
|
if (t.W || (t.W = !0, t.u = t.value, t.kb = /* @__PURE__ */ Object.create(null)), t.Ra === void 0)
|
|
2374
2374
|
e:
|
|
2375
2375
|
for (; ; ) {
|
|
2376
|
-
if (t.u instanceof
|
|
2376
|
+
if (t.u instanceof A)
|
|
2377
2377
|
for (t.wa || (t.wa = Object.getOwnPropertyNames(t.u.h)); ; ) {
|
|
2378
2378
|
var r = t.wa.shift();
|
|
2379
2379
|
if (r === void 0)
|
|
@@ -2400,8 +2400,8 @@ g.prototype.stepForInStatement = function(e, t, n) {
|
|
|
2400
2400
|
t.pa = [Je, e.fa[0].id.name];
|
|
2401
2401
|
else
|
|
2402
2402
|
return t.pa = null, t = new S(e, t.scope), t.sa = !0, t;
|
|
2403
|
-
if (t.pa || (t.pa = t.value), !t.ta && (t.ta = !0, e = t.Ra, r =
|
|
2404
|
-
return
|
|
2403
|
+
if (t.pa || (t.pa = t.value), !t.ta && (t.ta = !0, e = t.Ra, r = On(this, t.pa, e)))
|
|
2404
|
+
return jn(this, r, t.pa, e);
|
|
2405
2405
|
if (t.Ra = void 0, t.wb = !1, t.ta = !1, n.body)
|
|
2406
2406
|
return new S(n.body, t.scope);
|
|
2407
2407
|
};
|
|
@@ -2430,14 +2430,14 @@ g.prototype.stepFunctionDeclaration = function(e) {
|
|
|
2430
2430
|
e.pop();
|
|
2431
2431
|
};
|
|
2432
2432
|
g.prototype.stepFunctionExpression = function(e, t, n) {
|
|
2433
|
-
e.pop(), t = e[e.length - 1], e = t.scope, n.id && (e = $n(this, e)), t.value =
|
|
2433
|
+
e.pop(), t = e[e.length - 1], e = t.scope, n.id && (e = $n(this, e)), t.value = xn(this, n, e, t.Pa), n.id && this.g(e.object, n.id.name, t.value, wn);
|
|
2434
2434
|
};
|
|
2435
2435
|
g.prototype.stepIdentifier = function(e, t, n) {
|
|
2436
2436
|
if (e.pop(), t.sa)
|
|
2437
2437
|
e[e.length - 1].value = [Je, n.name];
|
|
2438
2438
|
else {
|
|
2439
|
-
if (t =
|
|
2440
|
-
return
|
|
2439
|
+
if (t = An(this, n.name), this.P)
|
|
2440
|
+
return St(this, t, this.Na);
|
|
2441
2441
|
e[e.length - 1].value = t;
|
|
2442
2442
|
}
|
|
2443
2443
|
};
|
|
@@ -2446,7 +2446,7 @@ g.prototype.stepLabeledStatement = function(e, t, n) {
|
|
|
2446
2446
|
return e.pop(), e = t.labels || [], e.push(n.label.name), t = new S(n.body, t.scope), t.labels = e, t;
|
|
2447
2447
|
};
|
|
2448
2448
|
g.prototype.stepLiteral = function(e, t, n) {
|
|
2449
|
-
e.pop(), t = n.value, t instanceof RegExp && (n = this.s(this.Ma),
|
|
2449
|
+
e.pop(), t = n.value, t instanceof RegExp && (n = this.s(this.Ma), En(this, n, t), t = n), e[e.length - 1].value = t;
|
|
2450
2450
|
};
|
|
2451
2451
|
g.prototype.stepLogicalExpression = function(e, t, n) {
|
|
2452
2452
|
if (n.operator !== "&&" && n.operator !== "||")
|
|
@@ -2474,7 +2474,7 @@ g.prototype.stepMemberExpression = function(e, t, n) {
|
|
|
2474
2474
|
e[e.length - 1].value = [t.u, n];
|
|
2475
2475
|
else {
|
|
2476
2476
|
if (n = this.G(t.u, n), this.P)
|
|
2477
|
-
return
|
|
2477
|
+
return St(this, n, t.u);
|
|
2478
2478
|
e[e.length - 1].value = n;
|
|
2479
2479
|
}
|
|
2480
2480
|
};
|
|
@@ -2513,7 +2513,7 @@ g.prototype.stepProgram = function(e, t, n) {
|
|
|
2513
2513
|
g.prototype.stepReturnStatement = function(e, t, n) {
|
|
2514
2514
|
if (n.K && !t.ka)
|
|
2515
2515
|
return t.ka = !0, new S(n.K, t.scope);
|
|
2516
|
-
|
|
2516
|
+
kt(this, 3, t.value);
|
|
2517
2517
|
};
|
|
2518
2518
|
g.prototype.stepSequenceExpression = function(e, t, n) {
|
|
2519
2519
|
var r = t.A || 0;
|
|
@@ -2549,7 +2549,7 @@ g.prototype.stepSwitchStatement = function(e, t, n) {
|
|
|
2549
2549
|
}
|
|
2550
2550
|
};
|
|
2551
2551
|
g.prototype.stepThisExpression = function(e) {
|
|
2552
|
-
e.pop(), e[e.length - 1].value =
|
|
2552
|
+
e.pop(), e[e.length - 1].value = An(this, "this");
|
|
2553
2553
|
};
|
|
2554
2554
|
g.prototype.stepThrowStatement = function(e, t, n) {
|
|
2555
2555
|
if (t.ka)
|
|
@@ -2564,7 +2564,7 @@ g.prototype.stepTryStatement = function(e, t, n) {
|
|
|
2564
2564
|
return t.Tb = !0, e = $n(this, t.scope), this.g(e.object, n.Ea.Ua.name, t.ea.value), t.ea = void 0, new S(n.Ea.body, e);
|
|
2565
2565
|
if (!t.Sb && n.fb)
|
|
2566
2566
|
return t.Sb = !0, new S(n.fb, t.scope);
|
|
2567
|
-
e.pop(), t.ea &&
|
|
2567
|
+
e.pop(), t.ea && kt(this, t.ea.type, t.ea.value, t.ea.label);
|
|
2568
2568
|
};
|
|
2569
2569
|
g.prototype.stepUnaryExpression = function(e, t, n) {
|
|
2570
2570
|
if (!t.ka)
|
|
@@ -2611,9 +2611,9 @@ g.prototype.stepUpdateExpression = function(e, t, n) {
|
|
|
2611
2611
|
if (!t.ja)
|
|
2612
2612
|
return t.ja = !0, e = new S(n.K, t.scope), e.sa = !0, e;
|
|
2613
2613
|
if (t.Ga || (t.Ga = t.value), t.Ba && (t.ma = t.value), !t.Ba) {
|
|
2614
|
-
var r =
|
|
2614
|
+
var r = Pn(this, t.Ga);
|
|
2615
2615
|
if (t.ma = r, this.P)
|
|
2616
|
-
return t.Ba = !0,
|
|
2616
|
+
return t.Ba = !0, St(this, r, t.Ga);
|
|
2617
2617
|
}
|
|
2618
2618
|
if (t.ta)
|
|
2619
2619
|
e.pop(), e[e.length - 1].value = t.ib;
|
|
@@ -2624,8 +2624,8 @@ g.prototype.stepUpdateExpression = function(e, t, n) {
|
|
|
2624
2624
|
o = r - 1;
|
|
2625
2625
|
else
|
|
2626
2626
|
throw SyntaxError("Unknown update expression: " + n.operator);
|
|
2627
|
-
if (n = n.prefix ? o : r, r =
|
|
2628
|
-
return t.ta = !0, t.ib = n,
|
|
2627
|
+
if (n = n.prefix ? o : r, r = On(this, t.Ga, o))
|
|
2628
|
+
return t.ta = !0, t.ib = n, jn(this, r, t.Ga, o);
|
|
2629
2629
|
e.pop(), e[e.length - 1].value = n;
|
|
2630
2630
|
}
|
|
2631
2631
|
};
|
|
@@ -2684,7 +2684,7 @@ const vi = (e) => e.split(`
|
|
|
2684
2684
|
const u = {
|
|
2685
2685
|
...r,
|
|
2686
2686
|
...o
|
|
2687
|
-
}, p =
|
|
2687
|
+
}, p = Dr({
|
|
2688
2688
|
builder: e,
|
|
2689
2689
|
context: t,
|
|
2690
2690
|
event: n,
|
|
@@ -2706,7 +2706,7 @@ function theFunction() {
|
|
|
2706
2706
|
}
|
|
2707
2707
|
theFunction();
|
|
2708
2708
|
`, C = (Y, N) => {
|
|
2709
|
-
const R =
|
|
2709
|
+
const R = Cn(u, Y, N);
|
|
2710
2710
|
i == null || i(R);
|
|
2711
2711
|
}, O = function(Y, N) {
|
|
2712
2712
|
p.forEach(([R, xe]) => {
|
|
@@ -2744,9 +2744,9 @@ const Si = () => {
|
|
|
2744
2744
|
});
|
|
2745
2745
|
}
|
|
2746
2746
|
};
|
|
2747
|
-
|
|
2747
|
+
an(ke, "cacheLimit", 20), an(ke, "cache", /* @__PURE__ */ new Map());
|
|
2748
2748
|
let qe = ke;
|
|
2749
|
-
function
|
|
2749
|
+
function vt({
|
|
2750
2750
|
code: e,
|
|
2751
2751
|
context: t,
|
|
2752
2752
|
localState: n,
|
|
@@ -2788,7 +2788,7 @@ function Bt({
|
|
|
2788
2788
|
return;
|
|
2789
2789
|
}
|
|
2790
2790
|
}
|
|
2791
|
-
const
|
|
2791
|
+
const Bn = (e) => JSON.parse(JSON.stringify(e));
|
|
2792
2792
|
const wi = ({
|
|
2793
2793
|
block: e,
|
|
2794
2794
|
context: t,
|
|
@@ -2798,7 +2798,7 @@ const wi = ({
|
|
|
2798
2798
|
}) => {
|
|
2799
2799
|
if (!e.bindings)
|
|
2800
2800
|
return e;
|
|
2801
|
-
const i =
|
|
2801
|
+
const i = Bn(e), a = {
|
|
2802
2802
|
...i,
|
|
2803
2803
|
properties: {
|
|
2804
2804
|
...i.properties
|
|
@@ -2808,7 +2808,7 @@ const wi = ({
|
|
|
2808
2808
|
}
|
|
2809
2809
|
};
|
|
2810
2810
|
for (const u in e.bindings) {
|
|
2811
|
-
const p = e.bindings[u], m =
|
|
2811
|
+
const p = e.bindings[u], m = vt({
|
|
2812
2812
|
code: p,
|
|
2813
2813
|
localState: n,
|
|
2814
2814
|
rootState: r,
|
|
@@ -2816,7 +2816,7 @@ const wi = ({
|
|
|
2816
2816
|
context: t,
|
|
2817
2817
|
enableCache: !0
|
|
2818
2818
|
});
|
|
2819
|
-
|
|
2819
|
+
Cn(a, u, m);
|
|
2820
2820
|
}
|
|
2821
2821
|
return a;
|
|
2822
2822
|
};
|
|
@@ -2940,7 +2940,7 @@ const Xr = (e) => Object.entries(e).map(([n, r]) => {
|
|
|
2940
2940
|
if (typeof r == "string")
|
|
2941
2941
|
return `${Nn(n)}: ${r};`;
|
|
2942
2942
|
}).filter(Be), Ri = (e) => Xr(e).join(`
|
|
2943
|
-
`),
|
|
2943
|
+
`), hu = ({
|
|
2944
2944
|
mediaQuery: e,
|
|
2945
2945
|
className: t,
|
|
2946
2946
|
styles: n
|
|
@@ -2952,15 +2952,15 @@ const Xr = (e) => Object.entries(e).map(([n, r]) => {
|
|
|
2952
2952
|
${r}
|
|
2953
2953
|
}` : r;
|
|
2954
2954
|
};
|
|
2955
|
-
function
|
|
2955
|
+
function $i({
|
|
2956
2956
|
style: e
|
|
2957
2957
|
}) {
|
|
2958
2958
|
return e;
|
|
2959
2959
|
}
|
|
2960
|
-
const
|
|
2960
|
+
const fu = ({
|
|
2961
2961
|
block: e,
|
|
2962
2962
|
context: t
|
|
2963
|
-
}) => Yr(
|
|
2963
|
+
}) => Yr($i({
|
|
2964
2964
|
style: e.style || {},
|
|
2965
2965
|
context: t,
|
|
2966
2966
|
block: e
|
|
@@ -2979,7 +2979,7 @@ function Yr(e) {
|
|
|
2979
2979
|
return e;
|
|
2980
2980
|
}
|
|
2981
2981
|
}
|
|
2982
|
-
const
|
|
2982
|
+
const Ai = ({
|
|
2983
2983
|
block: e,
|
|
2984
2984
|
context: t,
|
|
2985
2985
|
registeredComponents: n
|
|
@@ -3011,7 +3011,7 @@ const $i = ({
|
|
|
3011
3011
|
} = e;
|
|
3012
3012
|
if (!(n != null && n.collection))
|
|
3013
3013
|
return;
|
|
3014
|
-
const o =
|
|
3014
|
+
const o = vt({
|
|
3015
3015
|
code: n.collection,
|
|
3016
3016
|
localState: t.localState,
|
|
3017
3017
|
rootState: t.rootState,
|
|
@@ -3060,22 +3060,22 @@ const $i = ({
|
|
|
3060
3060
|
"Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
|
|
3061
3061
|
e
|
|
3062
3062
|
), e;
|
|
3063
|
-
}), Ui = () => import("./block-styles-
|
|
3063
|
+
}), Ui = () => import("./block-styles-zNRTZ1A0.js").then((e) => e.default).catch((e) => {
|
|
3064
3064
|
throw console.error(
|
|
3065
3065
|
"Error while attempting to dynamically import component BlockStyles at ./components/block-styles.vue",
|
|
3066
3066
|
e
|
|
3067
3067
|
), e;
|
|
3068
|
-
}),
|
|
3068
|
+
}), Di = () => import("./block-wrapper-tFFuq_Mc.js").then((e) => e.default).catch((e) => {
|
|
3069
3069
|
throw console.error(
|
|
3070
3070
|
"Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
|
|
3071
3071
|
e
|
|
3072
3072
|
), e;
|
|
3073
|
-
}),
|
|
3073
|
+
}), Fi = () => import("./component-ref-ZYvL2bfE.js").then((e) => e.default).catch((e) => {
|
|
3074
3074
|
throw console.error(
|
|
3075
3075
|
"Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
|
|
3076
3076
|
e
|
|
3077
3077
|
), e;
|
|
3078
|
-
}), Mi = () => import("./repeated-block-
|
|
3078
|
+
}), Mi = () => import("./repeated-block-jBPLukxe.js").then((e) => e.default).catch((e) => {
|
|
3079
3079
|
throw console.error(
|
|
3080
3080
|
"Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
|
|
3081
3081
|
e
|
|
@@ -3084,9 +3084,9 @@ const $i = ({
|
|
|
3084
3084
|
name: "block",
|
|
3085
3085
|
components: {
|
|
3086
3086
|
BlockStyles: ot(Ui),
|
|
3087
|
-
ComponentRef: ot(
|
|
3087
|
+
ComponentRef: ot(Fi),
|
|
3088
3088
|
RepeatedBlock: ot(Mi),
|
|
3089
|
-
BlockWrapper: ot(
|
|
3089
|
+
BlockWrapper: ot(Di),
|
|
3090
3090
|
DynamicDiv: ot(Vi)
|
|
3091
3091
|
},
|
|
3092
3092
|
props: ["block", "context", "registeredComponents", "linkComponent"],
|
|
@@ -3101,7 +3101,7 @@ const $i = ({
|
|
|
3101
3101
|
},
|
|
3102
3102
|
computed: {
|
|
3103
3103
|
blockComponent() {
|
|
3104
|
-
return
|
|
3104
|
+
return Ai({
|
|
3105
3105
|
block: this.block,
|
|
3106
3106
|
context: this.context,
|
|
3107
3107
|
registeredComponents: this.registeredComponents
|
|
@@ -3172,7 +3172,7 @@ function Li(e, t, n, r, o, i) {
|
|
|
3172
3172
|
block: e.block,
|
|
3173
3173
|
context: e.context
|
|
3174
3174
|
}, null, 8, ["block", "context"]),
|
|
3175
|
-
(h = e.blockComponent) != null && h.noWrap ? (y(),
|
|
3175
|
+
(h = e.blockComponent) != null && h.noWrap ? (y(), D(u, {
|
|
3176
3176
|
key: 1,
|
|
3177
3177
|
componentRef: e.componentRefProps.componentRef,
|
|
3178
3178
|
componentOptions: e.componentRefProps.componentOptions,
|
|
@@ -3184,13 +3184,13 @@ function Li(e, t, n, r, o, i) {
|
|
|
3184
3184
|
includeBlockProps: e.componentRefProps.includeBlockProps,
|
|
3185
3185
|
isInteractive: e.componentRefProps.isInteractive
|
|
3186
3186
|
}, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "linkComponent", "builderBlock", "includeBlockProps", "isInteractive"])) : (y(), T(Z, { key: 0 }, [
|
|
3187
|
-
e.repeatItem ? (y(!0), T(Z, { key: 1 }, Ee(e.repeatItem, (C, O) => (y(),
|
|
3187
|
+
e.repeatItem ? (y(!0), T(Z, { key: 1 }, Ee(e.repeatItem, (C, O) => (y(), D(v, {
|
|
3188
3188
|
key: O,
|
|
3189
3189
|
repeatContext: C.context,
|
|
3190
3190
|
block: C.block,
|
|
3191
3191
|
registeredComponents: e.registeredComponents,
|
|
3192
3192
|
linkComponent: e.linkComponent
|
|
3193
|
-
}, null, 8, ["repeatContext", "block", "registeredComponents", "linkComponent"]))), 128)) : (y(),
|
|
3193
|
+
}, null, 8, ["repeatContext", "block", "registeredComponents", "linkComponent"]))), 128)) : (y(), D(m, {
|
|
3194
3194
|
key: 0,
|
|
3195
3195
|
Wrapper: e.Tag,
|
|
3196
3196
|
block: e.processedBlock,
|
|
@@ -3208,7 +3208,7 @@ function Li(e, t, n, r, o, i) {
|
|
|
3208
3208
|
includeBlockProps: e.componentRefProps.includeBlockProps,
|
|
3209
3209
|
isInteractive: e.componentRefProps.isInteractive
|
|
3210
3210
|
}, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "linkComponent", "builderBlock", "includeBlockProps", "isInteractive"]),
|
|
3211
|
-
(y(!0), T(Z, null, Ee(e.childrenWithoutParentComponent, (C, O) => (y(),
|
|
3211
|
+
(y(!0), T(Z, null, Ee(e.childrenWithoutParentComponent, (C, O) => (y(), D(p, {
|
|
3212
3212
|
key: C.id,
|
|
3213
3213
|
block: C,
|
|
3214
3214
|
registeredComponents: e.registeredComponents,
|
|
@@ -3221,7 +3221,7 @@ function Li(e, t, n, r, o, i) {
|
|
|
3221
3221
|
], 64))
|
|
3222
3222
|
], 64)) : M("", !0);
|
|
3223
3223
|
}
|
|
3224
|
-
const Vn = /* @__PURE__ */ V(Wi, [["render", Li]]),
|
|
3224
|
+
const Vn = /* @__PURE__ */ V(Wi, [["render", Li]]), mu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3225
3225
|
__proto__: null,
|
|
3226
3226
|
default: Vn
|
|
3227
3227
|
}, Symbol.toStringTag, { value: "Module" })), Hi = j({
|
|
@@ -3270,7 +3270,7 @@ const Vn = /* @__PURE__ */ V(Wi, [["render", Li]]), gu = /* @__PURE__ */ Object.
|
|
|
3270
3270
|
}
|
|
3271
3271
|
});
|
|
3272
3272
|
function Ki(e, t, n, r, o, i) {
|
|
3273
|
-
return y(),
|
|
3273
|
+
return y(), D(ct(e.BlocksWrapper), z({
|
|
3274
3274
|
class: e.className + " component-178o76acnws",
|
|
3275
3275
|
"builder-path": e.path,
|
|
3276
3276
|
"builder-parent-id": e.parent,
|
|
@@ -3298,14 +3298,14 @@ const qi = /* @__PURE__ */ V(Hi, [["render", Ki], ["__scopeId", "data-v-a5b13ef9
|
|
|
3298
3298
|
"registeredComponents"
|
|
3299
3299
|
],
|
|
3300
3300
|
inject: {
|
|
3301
|
-
builderContext:
|
|
3301
|
+
builderContext: fn.key,
|
|
3302
3302
|
componentsContext: Br.key
|
|
3303
3303
|
}
|
|
3304
3304
|
});
|
|
3305
3305
|
function Gi(e, t, n, r, o, i) {
|
|
3306
3306
|
var p, m;
|
|
3307
3307
|
const a = U("Block"), u = U("BlocksWrapper");
|
|
3308
|
-
return y(),
|
|
3308
|
+
return y(), D(u, {
|
|
3309
3309
|
blocks: e.blocks,
|
|
3310
3310
|
parent: e.parent,
|
|
3311
3311
|
path: e.path,
|
|
@@ -3314,7 +3314,7 @@ function Gi(e, t, n, r, o, i) {
|
|
|
3314
3314
|
BlocksWrapperProps: ((m = e.context) == null ? void 0 : m.BlocksWrapperProps) || e.builderContext.BlocksWrapperProps
|
|
3315
3315
|
}, {
|
|
3316
3316
|
default: Te(() => [
|
|
3317
|
-
e.blocks ? (y(!0), T(Z, { key: 0 }, Ee(e.blocks, (v, h) => (y(),
|
|
3317
|
+
e.blocks ? (y(!0), T(Z, { key: 0 }, Ee(e.blocks, (v, h) => (y(), D(a, {
|
|
3318
3318
|
key: v.id,
|
|
3319
3319
|
block: v,
|
|
3320
3320
|
linkComponent: e.linkComponent,
|
|
@@ -3363,11 +3363,11 @@ const Ct = /* @__PURE__ */ V(Ji, [["render", Xi]]), Yi = /* @__PURE__ */ Object.
|
|
|
3363
3363
|
default: 991,
|
|
3364
3364
|
max: 1200
|
|
3365
3365
|
}
|
|
3366
|
-
},
|
|
3366
|
+
}, gu = (e, t = _r) => `@media (max-width: ${t[e].max}px)`, _i = ({
|
|
3367
3367
|
small: e,
|
|
3368
3368
|
medium: t
|
|
3369
3369
|
}) => {
|
|
3370
|
-
const n =
|
|
3370
|
+
const n = Bn(_r);
|
|
3371
3371
|
if (!e || !t)
|
|
3372
3372
|
return n;
|
|
3373
3373
|
const r = Math.floor(e / 2);
|
|
@@ -3393,7 +3393,7 @@ const Ct = /* @__PURE__ */ V(Ji, [["render", Xi]]), Yi = /* @__PURE__ */ Object.
|
|
|
3393
3393
|
name: "builder-columns",
|
|
3394
3394
|
components: {
|
|
3395
3395
|
InlinedStyles: Un,
|
|
3396
|
-
DynamicRenderer:
|
|
3396
|
+
DynamicRenderer: Sn,
|
|
3397
3397
|
Blocks: Xe,
|
|
3398
3398
|
DynamicDiv: Ct
|
|
3399
3399
|
},
|
|
@@ -3485,6 +3485,7 @@ const Ct = /* @__PURE__ */ V(Ji, [["render", Xi]]), Yi = /* @__PURE__ */ Object.
|
|
|
3485
3485
|
)[e].max;
|
|
3486
3486
|
},
|
|
3487
3487
|
columnsStyles() {
|
|
3488
|
+
const e = `.${this.builderBlock.id}-breakpoints > .builder-column`;
|
|
3488
3489
|
return `
|
|
3489
3490
|
@media (max-width: ${this.getWidthForBreakpointSize("medium")}px) {
|
|
3490
3491
|
.${this.builderBlock.id}-breakpoints {
|
|
@@ -3492,7 +3493,7 @@ const Ct = /* @__PURE__ */ V(Ji, [["render", Xi]]), Yi = /* @__PURE__ */ Object.
|
|
|
3492
3493
|
align-items: stretch;
|
|
3493
3494
|
}
|
|
3494
3495
|
|
|
3495
|
-
|
|
3496
|
+
${e} {
|
|
3496
3497
|
width: var(--column-width-tablet) !important;
|
|
3497
3498
|
margin-left: var(--column-margin-left-tablet) !important;
|
|
3498
3499
|
}
|
|
@@ -3504,7 +3505,7 @@ const Ct = /* @__PURE__ */ V(Ji, [["render", Xi]]), Yi = /* @__PURE__ */ Object.
|
|
|
3504
3505
|
align-items: stretch;
|
|
3505
3506
|
}
|
|
3506
3507
|
|
|
3507
|
-
|
|
3508
|
+
${e} {
|
|
3508
3509
|
width: var(--column-width-mobile) !important;
|
|
3509
3510
|
margin-left: var(--column-margin-left-mobile) !important;
|
|
3510
3511
|
}
|
|
@@ -3529,13 +3530,13 @@ function es(e, t, n, r, o, i) {
|
|
|
3529
3530
|
class: e.getColumnsClass((m = e.builderBlock) == null ? void 0 : m.id) + " div-2brhoa1k8gd",
|
|
3530
3531
|
style: e.columnsCssVars()
|
|
3531
3532
|
}, {}), [
|
|
3532
|
-
e.TARGET !== "reactNative" ? (y(),
|
|
3533
|
+
e.TARGET !== "reactNative" ? (y(), D(a, {
|
|
3533
3534
|
key: 0,
|
|
3534
3535
|
id: "builderio-columns",
|
|
3535
3536
|
styles: e.columnsStyles(),
|
|
3536
3537
|
nonce: e.builderContext.nonce
|
|
3537
3538
|
}, null, 8, ["styles", "nonce"])) : M("", !0),
|
|
3538
|
-
(y(!0), T(Z, null, Ee(e.columns, (v, h) => (y(),
|
|
3539
|
+
(y(!0), T(Z, null, Ee(e.columns, (v, h) => (y(), D(p, {
|
|
3539
3540
|
key: h,
|
|
3540
3541
|
TagName: e.getTagName(v),
|
|
3541
3542
|
actionAttributes: {},
|
|
@@ -3558,7 +3559,7 @@ function es(e, t, n, r, o, i) {
|
|
|
3558
3559
|
}, 1032, ["TagName", "attributes"]))), 128))
|
|
3559
3560
|
], 16);
|
|
3560
3561
|
}
|
|
3561
|
-
const ts = /* @__PURE__ */ V(Qi, [["render", es], ["__scopeId", "data-v-
|
|
3562
|
+
const ts = /* @__PURE__ */ V(Qi, [["render", es], ["__scopeId", "data-v-52366f16"]]), ns = j({
|
|
3562
3563
|
name: "builder-fragment-component",
|
|
3563
3564
|
props: []
|
|
3564
3565
|
});
|
|
@@ -3587,7 +3588,7 @@ function ss(e, t) {
|
|
|
3587
3588
|
}
|
|
3588
3589
|
return null;
|
|
3589
3590
|
}
|
|
3590
|
-
function
|
|
3591
|
+
function un(e) {
|
|
3591
3592
|
if (!e)
|
|
3592
3593
|
return e;
|
|
3593
3594
|
const t = [100, 200, 400, 800, 1200, 1600, 2e3];
|
|
@@ -3615,6 +3616,8 @@ const as = j({
|
|
|
3615
3616
|
"builderBlock",
|
|
3616
3617
|
"fitContent"
|
|
3617
3618
|
],
|
|
3619
|
+
mounted() {
|
|
3620
|
+
},
|
|
3618
3621
|
computed: {
|
|
3619
3622
|
srcSetToUse() {
|
|
3620
3623
|
var n;
|
|
@@ -3626,10 +3629,10 @@ const as = j({
|
|
|
3626
3629
|
if (!this.noWebp) {
|
|
3627
3630
|
if (this.srcset && ((n = this.image) != null && n.includes("builder.io/api/v1/image"))) {
|
|
3628
3631
|
if (!this.srcset.includes(this.image.split("?")[0]))
|
|
3629
|
-
return console.debug("Removed given srcset"),
|
|
3632
|
+
return console.debug("Removed given srcset"), un(t);
|
|
3630
3633
|
} else if (this.image && !this.srcset)
|
|
3631
|
-
return
|
|
3632
|
-
return
|
|
3634
|
+
return un(t);
|
|
3635
|
+
return un(t);
|
|
3633
3636
|
}
|
|
3634
3637
|
},
|
|
3635
3638
|
webpSrcSet() {
|
|
@@ -3691,7 +3694,7 @@ function ps(e, t, n, r, o, i) {
|
|
|
3691
3694
|
])) : M("", !0)
|
|
3692
3695
|
], 64);
|
|
3693
3696
|
}
|
|
3694
|
-
const ds = /* @__PURE__ */ V(as, [["render", ps], ["__scopeId", "data-v-
|
|
3697
|
+
const ds = /* @__PURE__ */ V(as, [["render", ps], ["__scopeId", "data-v-b1147753"]]), hs = j({
|
|
3695
3698
|
name: "builder-section-component",
|
|
3696
3699
|
props: ["attributes", "maxWidth"],
|
|
3697
3700
|
data() {
|
|
@@ -3757,21 +3760,21 @@ const ms = /* @__PURE__ */ V(hs, [["render", fs]]), gs = (e) => {
|
|
|
3757
3760
|
} catch (o) {
|
|
3758
3761
|
se.warn("[COOKIE] SET error: ", (o == null ? void 0 : o.message) || o);
|
|
3759
3762
|
}
|
|
3760
|
-
}, ks = "builder.tests",
|
|
3763
|
+
}, ks = "builder.tests", Dn = (e) => `${ks}.${e}`, Ss = ({
|
|
3761
3764
|
contentId: e
|
|
3762
3765
|
}) => Qr({
|
|
3763
|
-
name:
|
|
3766
|
+
name: Dn(e),
|
|
3764
3767
|
canTrack: !0
|
|
3765
3768
|
}), Cs = ({
|
|
3766
3769
|
contentId: e
|
|
3767
3770
|
}) => Zr({
|
|
3768
|
-
name:
|
|
3771
|
+
name: Dn(e),
|
|
3769
3772
|
canTrack: !0
|
|
3770
3773
|
}), ws = ({
|
|
3771
3774
|
contentId: e,
|
|
3772
3775
|
value: t
|
|
3773
3776
|
}) => eo({
|
|
3774
|
-
name:
|
|
3777
|
+
name: Dn(e),
|
|
3775
3778
|
value: t,
|
|
3776
3779
|
canTrack: !0
|
|
3777
3780
|
}), to = (e) => Be(e.id) && Be(e.variations) && Object.keys(e.variations).length > 0, Ts = ({
|
|
@@ -3851,7 +3854,7 @@ const ms = /* @__PURE__ */ V(hs, [["render", fs]]), gs = (e) => {
|
|
|
3851
3854
|
...e,
|
|
3852
3855
|
...o
|
|
3853
3856
|
};
|
|
3854
|
-
},
|
|
3857
|
+
}, bt = (e) => Be(e) ? e : !0, cn = {
|
|
3855
3858
|
"@type": "@builder.io/sdk:Element",
|
|
3856
3859
|
layerName: "Accordion item title",
|
|
3857
3860
|
responsiveStyles: {
|
|
@@ -3880,7 +3883,7 @@ const ms = /* @__PURE__ */ V(hs, [["render", fs]]), gs = (e) => {
|
|
|
3880
3883
|
}
|
|
3881
3884
|
}
|
|
3882
3885
|
}]
|
|
3883
|
-
},
|
|
3886
|
+
}, pn = {
|
|
3884
3887
|
"@type": "@builder.io/sdk:Element",
|
|
3885
3888
|
layerName: "Accordion item detail",
|
|
3886
3889
|
responsiveStyles: {
|
|
@@ -3928,19 +3931,19 @@ const ms = /* @__PURE__ */ V(hs, [["render", fs]]), gs = (e) => {
|
|
|
3928
3931
|
name: "title",
|
|
3929
3932
|
type: "uiBlocks",
|
|
3930
3933
|
hideFromUI: !0,
|
|
3931
|
-
defaultValue: [
|
|
3934
|
+
defaultValue: [cn]
|
|
3932
3935
|
}, {
|
|
3933
3936
|
name: "detail",
|
|
3934
3937
|
type: "uiBlocks",
|
|
3935
3938
|
hideFromUI: !0,
|
|
3936
|
-
defaultValue: [
|
|
3939
|
+
defaultValue: [pn]
|
|
3937
3940
|
}],
|
|
3938
3941
|
defaultValue: [{
|
|
3939
|
-
title: [
|
|
3940
|
-
detail: [
|
|
3942
|
+
title: [cn],
|
|
3943
|
+
detail: [pn]
|
|
3941
3944
|
}, {
|
|
3942
|
-
title: [
|
|
3943
|
-
detail: [
|
|
3945
|
+
title: [cn],
|
|
3946
|
+
detail: [pn]
|
|
3944
3947
|
}],
|
|
3945
3948
|
showIf: (e) => !e.get("useChildrenForItems")
|
|
3946
3949
|
}, {
|
|
@@ -3975,7 +3978,7 @@ const ms = /* @__PURE__ */ V(hs, [["render", fs]]), gs = (e) => {
|
|
|
3975
3978
|
builderComponents: !0,
|
|
3976
3979
|
builderLinkComponent: !0
|
|
3977
3980
|
}
|
|
3978
|
-
}, Rs = (e) => e.toString(),
|
|
3981
|
+
}, Rs = (e) => e.toString(), $s = j({
|
|
3979
3982
|
name: "builder-accordion",
|
|
3980
3983
|
components: { Blocks: Xe },
|
|
3981
3984
|
props: [
|
|
@@ -4070,7 +4073,7 @@ const ms = /* @__PURE__ */ V(hs, [["render", fs]]), gs = (e) => {
|
|
|
4070
4073
|
this.open.includes(e) ? this.open = this.onlyOneAtATime ? [] : this.open.filter((t) => t !== e) : this.open = this.onlyOneAtATime ? [e] : this.open.concat(e);
|
|
4071
4074
|
}
|
|
4072
4075
|
}
|
|
4073
|
-
}),
|
|
4076
|
+
}), As = ["data-index", "onClick"];
|
|
4074
4077
|
function Ps(e, t, n, r, o, i) {
|
|
4075
4078
|
const a = U("Blocks");
|
|
4076
4079
|
return y(), T("div", {
|
|
@@ -4096,7 +4099,7 @@ function Ps(e, t, n, r, o, i) {
|
|
|
4096
4099
|
registeredComponents: e.builderComponents,
|
|
4097
4100
|
linkComponent: e.builderLinkComponent
|
|
4098
4101
|
}, null, 8, ["blocks", "path", "parent", "context", "registeredComponents", "linkComponent"])
|
|
4099
|
-
], 14,
|
|
4102
|
+
], 14, As),
|
|
4100
4103
|
e.open.includes(p) ? (y(), T("div", {
|
|
4101
4104
|
key: 0,
|
|
4102
4105
|
class: mt(e.getAccordionDetailClassName(p)),
|
|
@@ -4114,7 +4117,7 @@ function Ps(e, t, n, r, o, i) {
|
|
|
4114
4117
|
], 64))), 128))
|
|
4115
4118
|
], 4);
|
|
4116
4119
|
}
|
|
4117
|
-
const Os = /* @__PURE__ */ V(
|
|
4120
|
+
const Os = /* @__PURE__ */ V($s, [["render", Ps]]), js = {
|
|
4118
4121
|
name: "Core:Button",
|
|
4119
4122
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
|
|
4120
4123
|
defaultStyles: {
|
|
@@ -4510,7 +4513,7 @@ const Os = /* @__PURE__ */ V(As, [["render", Ps]]), js = {
|
|
|
4510
4513
|
}
|
|
4511
4514
|
}
|
|
4512
4515
|
}]
|
|
4513
|
-
},
|
|
4516
|
+
}, Ds = {
|
|
4514
4517
|
name: "Slot",
|
|
4515
4518
|
isRSC: !0,
|
|
4516
4519
|
description: "Allow child blocks to be inserted into this content when used as a Symbol",
|
|
@@ -4526,7 +4529,7 @@ const Os = /* @__PURE__ */ V(As, [["render", Ps]]), js = {
|
|
|
4526
4529
|
shouldReceiveBuilderProps: {
|
|
4527
4530
|
builderContext: !0
|
|
4528
4531
|
}
|
|
4529
|
-
},
|
|
4532
|
+
}, Fs = j({
|
|
4530
4533
|
name: "builder-slot",
|
|
4531
4534
|
components: { Blocks: Xe },
|
|
4532
4535
|
props: ["builderContext", "name"]
|
|
@@ -4550,7 +4553,7 @@ function Ms(e, t, n, r, o, i) {
|
|
|
4550
4553
|
}, null, 8, ["parent", "path", "context", "blocks"])
|
|
4551
4554
|
], 16);
|
|
4552
4555
|
}
|
|
4553
|
-
const Ws = /* @__PURE__ */ V(
|
|
4556
|
+
const Ws = /* @__PURE__ */ V(Fs, [["render", Ms]]), Ls = {
|
|
4554
4557
|
name: "Symbol",
|
|
4555
4558
|
noWrap: !0,
|
|
4556
4559
|
static: !0,
|
|
@@ -4589,7 +4592,7 @@ const Ws = /* @__PURE__ */ V(Ds, [["render", Ms]]), Ls = {
|
|
|
4589
4592
|
builderComponents: !0,
|
|
4590
4593
|
builderLinkComponent: !0
|
|
4591
4594
|
}
|
|
4592
|
-
},
|
|
4595
|
+
}, dn = {
|
|
4593
4596
|
"@type": "@builder.io/sdk:Element",
|
|
4594
4597
|
responsiveStyles: {
|
|
4595
4598
|
large: {
|
|
@@ -4611,7 +4614,7 @@ const Ws = /* @__PURE__ */ V(Ds, [["render", Ms]]), Ls = {
|
|
|
4611
4614
|
text: "New tab"
|
|
4612
4615
|
}
|
|
4613
4616
|
}
|
|
4614
|
-
},
|
|
4617
|
+
}, hn = {
|
|
4615
4618
|
"@type": "@builder.io/sdk:Element",
|
|
4616
4619
|
responsiveStyles: {
|
|
4617
4620
|
large: {
|
|
@@ -4637,16 +4640,16 @@ const Ws = /* @__PURE__ */ V(Ds, [["render", Ms]]), Ls = {
|
|
|
4637
4640
|
name: "label",
|
|
4638
4641
|
type: "uiBlocks",
|
|
4639
4642
|
hideFromUI: !0,
|
|
4640
|
-
defaultValue: [
|
|
4643
|
+
defaultValue: [dn]
|
|
4641
4644
|
}, {
|
|
4642
4645
|
name: "content",
|
|
4643
4646
|
type: "uiBlocks",
|
|
4644
4647
|
hideFromUI: !0,
|
|
4645
|
-
defaultValue: [
|
|
4648
|
+
defaultValue: [hn]
|
|
4646
4649
|
}],
|
|
4647
4650
|
defaultValue: [{
|
|
4648
4651
|
label: [{
|
|
4649
|
-
...
|
|
4652
|
+
...dn,
|
|
4650
4653
|
component: {
|
|
4651
4654
|
name: "Text",
|
|
4652
4655
|
options: {
|
|
@@ -4655,7 +4658,7 @@ const Ws = /* @__PURE__ */ V(Ds, [["render", Ms]]), Ls = {
|
|
|
4655
4658
|
}
|
|
4656
4659
|
}],
|
|
4657
4660
|
content: [{
|
|
4658
|
-
...
|
|
4661
|
+
...hn,
|
|
4659
4662
|
component: {
|
|
4660
4663
|
name: "Text",
|
|
4661
4664
|
options: {
|
|
@@ -4665,7 +4668,7 @@ const Ws = /* @__PURE__ */ V(Ds, [["render", Ms]]), Ls = {
|
|
|
4665
4668
|
}]
|
|
4666
4669
|
}, {
|
|
4667
4670
|
label: [{
|
|
4668
|
-
...
|
|
4671
|
+
...dn,
|
|
4669
4672
|
component: {
|
|
4670
4673
|
name: "Text",
|
|
4671
4674
|
options: {
|
|
@@ -4674,7 +4677,7 @@ const Ws = /* @__PURE__ */ V(Ds, [["render", Ms]]), Ls = {
|
|
|
4674
4677
|
}
|
|
4675
4678
|
}],
|
|
4676
4679
|
content: [{
|
|
4677
|
-
...
|
|
4680
|
+
...hn,
|
|
4678
4681
|
component: {
|
|
4679
4682
|
name: "Text",
|
|
4680
4683
|
options: {
|
|
@@ -4800,7 +4803,8 @@ function Gs(e, t, n, r, o, i) {
|
|
|
4800
4803
|
}
|
|
4801
4804
|
const Js = /* @__PURE__ */ V(Ks, [["render", Gs]]), Xs = {
|
|
4802
4805
|
shouldReceiveBuilderProps: {
|
|
4803
|
-
builderBlock: !1
|
|
4806
|
+
builderBlock: !1,
|
|
4807
|
+
builderContext: !0
|
|
4804
4808
|
},
|
|
4805
4809
|
name: "Text",
|
|
4806
4810
|
static: !0,
|
|
@@ -4821,13 +4825,34 @@ const Js = /* @__PURE__ */ V(Ks, [["render", Gs]]), Xs = {
|
|
|
4821
4825
|
}
|
|
4822
4826
|
}, Ys = j({
|
|
4823
4827
|
name: "builder-text",
|
|
4824
|
-
props: ["text"]
|
|
4828
|
+
props: ["builderContext", "text"],
|
|
4829
|
+
computed: {
|
|
4830
|
+
processedText() {
|
|
4831
|
+
var i;
|
|
4832
|
+
const e = this.builderContext, {
|
|
4833
|
+
context: t,
|
|
4834
|
+
localState: n,
|
|
4835
|
+
rootState: r,
|
|
4836
|
+
rootSetState: o
|
|
4837
|
+
} = e;
|
|
4838
|
+
return String(((i = this.text) == null ? void 0 : i.toString()) || "").replace(
|
|
4839
|
+
/{{([^}]+)}}/g,
|
|
4840
|
+
(a, u) => vt({
|
|
4841
|
+
code: u,
|
|
4842
|
+
context: t,
|
|
4843
|
+
localState: n,
|
|
4844
|
+
rootState: r,
|
|
4845
|
+
rootSetState: o,
|
|
4846
|
+
enableCache: !1
|
|
4847
|
+
})
|
|
4848
|
+
);
|
|
4849
|
+
}
|
|
4850
|
+
}
|
|
4825
4851
|
}), _s = ["innerHTML"];
|
|
4826
4852
|
function Zs(e, t, n, r, o, i) {
|
|
4827
|
-
var a;
|
|
4828
4853
|
return y(), T("div", {
|
|
4829
4854
|
class: "builder-text",
|
|
4830
|
-
innerHTML:
|
|
4855
|
+
innerHTML: e.processedText,
|
|
4831
4856
|
style: {
|
|
4832
4857
|
outline: "none"
|
|
4833
4858
|
}
|
|
@@ -5296,7 +5321,7 @@ const pa = /* @__PURE__ */ V(la, [["render", ca]]), da = {
|
|
|
5296
5321
|
else {
|
|
5297
5322
|
const h = {};
|
|
5298
5323
|
Array.from(u).forEach(({ value: C, key: O }) => {
|
|
5299
|
-
|
|
5324
|
+
Cn(h, O, C);
|
|
5300
5325
|
}), i = JSON.stringify(h);
|
|
5301
5326
|
}
|
|
5302
5327
|
p && p !== "multipart/form-data" && (t && ((n = this.action) != null && n.includes("zapier.com")) || (o["content-type"] = p));
|
|
@@ -5379,27 +5404,27 @@ function ba(e, t, n, r, o, i) {
|
|
|
5379
5404
|
name: e.name,
|
|
5380
5405
|
onSubmit: t[0] || (t[0] = (m) => e.onSubmit(m))
|
|
5381
5406
|
}, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, ce(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
|
|
5382
|
-
e.builderBlock && e.builderBlock.children ? (y(!0), T(Z, { key: 0 }, Ee((p = e.builderBlock) == null ? void 0 : p.children, (m, v) => (y(),
|
|
5407
|
+
e.builderBlock && e.builderBlock.children ? (y(!0), T(Z, { key: 0 }, Ee((p = e.builderBlock) == null ? void 0 : p.children, (m, v) => (y(), D(a, {
|
|
5383
5408
|
key: `form-block-${e.idx}`,
|
|
5384
5409
|
block: m,
|
|
5385
5410
|
context: e.builderContext,
|
|
5386
5411
|
registeredComponents: e.builderComponents,
|
|
5387
5412
|
linkComponent: e.builderLinkComponent
|
|
5388
5413
|
}, null, 8, ["block", "context", "registeredComponents", "linkComponent"]))), 128)) : M("", !0),
|
|
5389
|
-
e.submissionState() === "error" ? (y(),
|
|
5414
|
+
e.submissionState() === "error" ? (y(), D(u, {
|
|
5390
5415
|
key: 1,
|
|
5391
5416
|
path: "errorMessage",
|
|
5392
5417
|
blocks: e.errorMessage,
|
|
5393
5418
|
context: e.builderContext
|
|
5394
5419
|
}, null, 8, ["blocks", "context"])) : M("", !0),
|
|
5395
|
-
e.submissionState() === "sending" ? (y(),
|
|
5420
|
+
e.submissionState() === "sending" ? (y(), D(u, {
|
|
5396
5421
|
key: 2,
|
|
5397
5422
|
path: "sendingMessage",
|
|
5398
5423
|
blocks: e.sendingMessage,
|
|
5399
5424
|
context: e.builderContext
|
|
5400
5425
|
}, null, 8, ["blocks", "context"])) : M("", !0),
|
|
5401
|
-
e.submissionState() === "error" && e.responseData ? (y(), T("pre", va,
|
|
5402
|
-
e.submissionState() === "success" ? (y(),
|
|
5426
|
+
e.submissionState() === "error" && e.responseData ? (y(), T("pre", va, Bt(JSON.stringify(e.responseData, null, 2)), 1)) : M("", !0),
|
|
5427
|
+
e.submissionState() === "success" ? (y(), D(u, {
|
|
5403
5428
|
key: 4,
|
|
5404
5429
|
path: "successMessage",
|
|
5405
5430
|
blocks: e.successMessage,
|
|
@@ -5532,8 +5557,8 @@ const Ea = /* @__PURE__ */ V(Ca, [["render", Ta]]), Ia = {
|
|
|
5532
5557
|
data() {
|
|
5533
5558
|
return { isEditing: le, filterAttrs: he };
|
|
5534
5559
|
}
|
|
5535
|
-
}), Ra = ["value", "defaultValue", "name", "required"],
|
|
5536
|
-
function
|
|
5560
|
+
}), Ra = ["value", "defaultValue", "name", "required"], $a = ["value"];
|
|
5561
|
+
function Aa(e, t, n, r, o, i) {
|
|
5537
5562
|
return y(), T("select", z({
|
|
5538
5563
|
value: e.value,
|
|
5539
5564
|
key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
|
|
@@ -5544,10 +5569,10 @@ function $a(e, t, n, r, o, i) {
|
|
|
5544
5569
|
(y(!0), T(Z, null, Ee(e.options, (a, u) => (y(), T("option", {
|
|
5545
5570
|
key: `${a.name}-${u}`,
|
|
5546
5571
|
value: a.value
|
|
5547
|
-
},
|
|
5572
|
+
}, Bt(a.name || a.value), 9, $a))), 128))
|
|
5548
5573
|
], 16, Ra);
|
|
5549
5574
|
}
|
|
5550
|
-
const Pa = /* @__PURE__ */ V(xa, [["render",
|
|
5575
|
+
const Pa = /* @__PURE__ */ V(xa, [["render", Aa]]), Oa = {
|
|
5551
5576
|
name: "Form:SubmitButton",
|
|
5552
5577
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
|
|
5553
5578
|
defaultStyles: {
|
|
@@ -5580,7 +5605,7 @@ const Pa = /* @__PURE__ */ V(xa, [["render", $a]]), Oa = {
|
|
|
5580
5605
|
}
|
|
5581
5606
|
});
|
|
5582
5607
|
function Ba(e, t, n, r, o, i) {
|
|
5583
|
-
return y(), T("button", z({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), ce(e.filterAttrs(e.attributes, "v-on:", !0), !0)),
|
|
5608
|
+
return y(), T("button", z({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), ce(e.filterAttrs(e.attributes, "v-on:", !0), !0)), Bt(e.text), 17);
|
|
5584
5609
|
}
|
|
5585
5610
|
const Na = /* @__PURE__ */ V(ja, [["render", Ba]]), Va = {
|
|
5586
5611
|
name: "Form:TextArea",
|
|
@@ -5631,17 +5656,17 @@ const Na = /* @__PURE__ */ V(ja, [["render", Ba]]), Va = {
|
|
|
5631
5656
|
data() {
|
|
5632
5657
|
return { filterAttrs: he };
|
|
5633
5658
|
}
|
|
5634
|
-
}),
|
|
5635
|
-
function
|
|
5659
|
+
}), Da = ["placeholder", "name", "value", "defaultValue", "required"];
|
|
5660
|
+
function Fa(e, t, n, r, o, i) {
|
|
5636
5661
|
return y(), T("textarea", z({
|
|
5637
5662
|
placeholder: e.placeholder,
|
|
5638
5663
|
name: e.name,
|
|
5639
5664
|
value: e.value,
|
|
5640
5665
|
defaultValue: e.defaultValue,
|
|
5641
5666
|
required: e.required
|
|
5642
|
-
}, e.filterAttrs(e.attributes, "v-on:", !1), ce(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16,
|
|
5667
|
+
}, e.filterAttrs(e.attributes, "v-on:", !1), ce(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Da);
|
|
5643
5668
|
}
|
|
5644
|
-
const Ma = /* @__PURE__ */ V(Ua, [["render",
|
|
5669
|
+
const Ma = /* @__PURE__ */ V(Ua, [["render", Fa]]), Wa = {
|
|
5645
5670
|
// friendlyName?
|
|
5646
5671
|
name: "Raw:Img",
|
|
5647
5672
|
hideFromInsertMenu: !0,
|
|
@@ -5922,9 +5947,9 @@ const el = /* @__PURE__ */ V(Ga, [["render", Qa]]), tl = () => [{
|
|
|
5922
5947
|
...Us
|
|
5923
5948
|
}, {
|
|
5924
5949
|
component: Ws,
|
|
5925
|
-
...
|
|
5950
|
+
...Ds
|
|
5926
5951
|
}, {
|
|
5927
|
-
component:
|
|
5952
|
+
component: uu,
|
|
5928
5953
|
...Ls
|
|
5929
5954
|
}, {
|
|
5930
5955
|
component: Qs,
|
|
@@ -5937,20 +5962,15 @@ const el = /* @__PURE__ */ V(Ga, [["render", Qa]]), tl = () => [{
|
|
|
5937
5962
|
...xs
|
|
5938
5963
|
}, ...tl()], nl = (e) => ({
|
|
5939
5964
|
type: "builder.registerComponent",
|
|
5940
|
-
data:
|
|
5965
|
+
data: vn(e)
|
|
5941
5966
|
}), rl = (e) => {
|
|
5942
5967
|
const t = e.toString().trim();
|
|
5943
5968
|
return `return (${!t.startsWith("function") && !t.startsWith("(") ? "function " : ""}${t}).apply(this, arguments)`;
|
|
5944
|
-
}
|
|
5945
|
-
|
|
5946
|
-
|
|
5947
|
-
}
|
|
5948
|
-
|
|
5949
|
-
inputs: e == null ? void 0 : e.map((n) => Object.entries(n).reduce((r, [o, i]) => ({
|
|
5950
|
-
...r,
|
|
5951
|
-
[o]: ol(i)
|
|
5952
|
-
}), {}))
|
|
5953
|
-
}), il = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
|
|
5969
|
+
};
|
|
5970
|
+
function vn(e) {
|
|
5971
|
+
return JSON.parse(JSON.stringify(e, (t, n) => typeof n == "function" ? rl(n) : n));
|
|
5972
|
+
}
|
|
5973
|
+
const ol = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
|
|
5954
5974
|
function getAndSetVariantId() {
|
|
5955
5975
|
function setCookie(name, value, days) {
|
|
5956
5976
|
let expires = '';
|
|
@@ -6006,7 +6026,7 @@ const el = /* @__PURE__ */ V(Ga, [["render", Qa]]), tl = () => [{
|
|
|
6006
6026
|
}).join('');
|
|
6007
6027
|
styleEl.innerHTML = newStyleStr;
|
|
6008
6028
|
}
|
|
6009
|
-
}`,
|
|
6029
|
+
}`, il = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
|
|
6010
6030
|
if (!navigator.cookieEnabled) {
|
|
6011
6031
|
return;
|
|
6012
6032
|
}
|
|
@@ -6044,16 +6064,16 @@ const el = /* @__PURE__ */ V(Ga, [["render", Qa]]), tl = () => [{
|
|
|
6044
6064
|
...t,
|
|
6045
6065
|
testVariationId: t.id,
|
|
6046
6066
|
id: e == null ? void 0 : e.id
|
|
6047
|
-
})),
|
|
6067
|
+
})), sl = ({
|
|
6048
6068
|
canTrack: e,
|
|
6049
6069
|
content: t
|
|
6050
|
-
}) => !(!(Ot(t).length > 0) || !e),
|
|
6051
|
-
window.${oo} = ${
|
|
6052
|
-
window.${io} = ${
|
|
6053
|
-
`,
|
|
6070
|
+
}) => !(!(Ot(t).length > 0) || !e), al = (e) => e === "react" || e === "reactNative", so = al(fe), ll = () => `
|
|
6071
|
+
window.${oo} = ${ol}
|
|
6072
|
+
window.${io} = ${il}
|
|
6073
|
+
`, ul = (e, t) => `
|
|
6054
6074
|
window.${oo}(
|
|
6055
6075
|
"${t}",${JSON.stringify(e)}, ${so}
|
|
6056
|
-
)`,
|
|
6076
|
+
)`, cl = ({
|
|
6057
6077
|
contentId: e,
|
|
6058
6078
|
variationId: t
|
|
6059
6079
|
}) => `window.${io}(
|
|
@@ -6069,23 +6089,23 @@ const el = /* @__PURE__ */ V(Ga, [["render", Qa]]), tl = () => [{
|
|
|
6069
6089
|
name: "inlined-script",
|
|
6070
6090
|
props: ["scriptStr", "id", "nonce"]
|
|
6071
6091
|
});
|
|
6072
|
-
function
|
|
6092
|
+
function pl() {
|
|
6073
6093
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : globalThis;
|
|
6074
6094
|
}
|
|
6075
|
-
function
|
|
6076
|
-
const e =
|
|
6095
|
+
function dl() {
|
|
6096
|
+
const e = pl().fetch;
|
|
6077
6097
|
if (typeof e > "u")
|
|
6078
6098
|
throw console.warn(`Builder SDK could not find a global fetch function. Make sure you have a polyfill for fetch in your project.
|
|
6079
6099
|
For more information, read https://github.com/BuilderIO/this-package-uses-fetch`), new Error("Builder SDK could not find a global `fetch` function");
|
|
6080
6100
|
return e;
|
|
6081
6101
|
}
|
|
6082
|
-
const lo =
|
|
6083
|
-
function
|
|
6102
|
+
const lo = dl();
|
|
6103
|
+
function bn(e, t = null, n = ".") {
|
|
6084
6104
|
return Object.keys(e).reduce((r, o) => {
|
|
6085
6105
|
const i = e[o], a = [t, o].filter(Boolean).join(n);
|
|
6086
6106
|
return [typeof i == "object", i !== null, !(Array.isArray(i) && i.length === 0)].every(Boolean) ? {
|
|
6087
6107
|
...r,
|
|
6088
|
-
...
|
|
6108
|
+
...bn(i, a, n)
|
|
6089
6109
|
} : {
|
|
6090
6110
|
...r,
|
|
6091
6111
|
[a]: i
|
|
@@ -6099,22 +6119,22 @@ function uo(e, t, n = {}) {
|
|
|
6099
6119
|
}
|
|
6100
6120
|
return n;
|
|
6101
6121
|
}
|
|
6102
|
-
const
|
|
6122
|
+
const hl = "v3", Ir = "builder.", fl = "options.", co = (e) => {
|
|
6103
6123
|
if (!e)
|
|
6104
6124
|
return {};
|
|
6105
6125
|
const t = Nr(e), n = {};
|
|
6106
6126
|
return Object.keys(t).forEach((r) => {
|
|
6107
6127
|
if (r.startsWith(Ir)) {
|
|
6108
|
-
const o = r.replace(Ir, "").replace(
|
|
6128
|
+
const o = r.replace(Ir, "").replace(fl, "");
|
|
6109
6129
|
n[o] = t[r];
|
|
6110
6130
|
}
|
|
6111
6131
|
}), n;
|
|
6112
|
-
},
|
|
6132
|
+
}, ml = () => {
|
|
6113
6133
|
if (!X())
|
|
6114
6134
|
return {};
|
|
6115
6135
|
const e = new URLSearchParams(window.location.search);
|
|
6116
6136
|
return co(e);
|
|
6117
|
-
}, xr = (e) => typeof e == "number" && !isNaN(e) && e >= 0,
|
|
6137
|
+
}, xr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Fn = (e) => {
|
|
6118
6138
|
const {
|
|
6119
6139
|
limit: t = 30,
|
|
6120
6140
|
userAttributes: n,
|
|
@@ -6123,7 +6143,7 @@ const fl = "v3", Ir = "builder.", ml = "options.", co = (e) => {
|
|
|
6123
6143
|
apiKey: i,
|
|
6124
6144
|
enrich: a,
|
|
6125
6145
|
locale: u,
|
|
6126
|
-
apiVersion: p =
|
|
6146
|
+
apiVersion: p = hl,
|
|
6127
6147
|
fields: m,
|
|
6128
6148
|
omit: v,
|
|
6129
6149
|
offset: h,
|
|
@@ -6138,16 +6158,16 @@ const fl = "v3", Ir = "builder.", ml = "options.", co = (e) => {
|
|
|
6138
6158
|
throw new Error(`Invalid apiVersion: expected 'v3', received '${p}'`);
|
|
6139
6159
|
const Y = t !== 1, N = new URL(`https://cdn.builder.io/api/${p}/content/${o}`);
|
|
6140
6160
|
if (N.searchParams.set("apiKey", i), N.searchParams.set("limit", String(t)), N.searchParams.set("noTraverse", String(Y)), N.searchParams.set("includeRefs", String(!0)), u && N.searchParams.set("locale", u), a && N.searchParams.set("enrich", String(a)), N.searchParams.set("omit", v || "meta.componentsUsed"), m && N.searchParams.set("fields", m), Number.isFinite(h) && h > -1 && N.searchParams.set("offset", String(Math.floor(h))), typeof Q == "boolean" && N.searchParams.set("includeUnpublished", String(Q)), C && xr(C) && N.searchParams.set("cacheSeconds", String(C)), O && xr(O) && N.searchParams.set("staleCacheSeconds", String(O)), P) {
|
|
6141
|
-
const re =
|
|
6161
|
+
const re = bn({
|
|
6142
6162
|
sort: P
|
|
6143
6163
|
});
|
|
6144
6164
|
for (const Re in re)
|
|
6145
6165
|
N.searchParams.set(Re, JSON.stringify(re[Re]));
|
|
6146
6166
|
}
|
|
6147
6167
|
const R = {
|
|
6148
|
-
...
|
|
6168
|
+
...ml(),
|
|
6149
6169
|
...Nr(e.options || {})
|
|
6150
|
-
}, xe =
|
|
6170
|
+
}, xe = bn(R);
|
|
6151
6171
|
for (const re in xe)
|
|
6152
6172
|
N.searchParams.set(re, String(xe[re]));
|
|
6153
6173
|
if (n && N.searchParams.set("userAttributes", JSON.stringify(n)), r) {
|
|
@@ -6158,19 +6178,19 @@ const fl = "v3", Ir = "builder.", ml = "options.", co = (e) => {
|
|
|
6158
6178
|
N.searchParams.set(Re, JSON.stringify(re[Re]));
|
|
6159
6179
|
}
|
|
6160
6180
|
return N;
|
|
6161
|
-
},
|
|
6181
|
+
}, gl = (e) => "results" in e;
|
|
6162
6182
|
async function Mn(e) {
|
|
6163
|
-
const t = await
|
|
6183
|
+
const t = await bl({
|
|
6164
6184
|
...e,
|
|
6165
6185
|
limit: 1
|
|
6166
6186
|
});
|
|
6167
6187
|
return t && t[0] || null;
|
|
6168
6188
|
}
|
|
6169
|
-
const
|
|
6170
|
-
const t =
|
|
6189
|
+
const yl = async (e) => {
|
|
6190
|
+
const t = Fn(e);
|
|
6171
6191
|
return await (await (e.fetch ?? lo)(t.href, e.fetchOptions)).json();
|
|
6172
|
-
},
|
|
6173
|
-
const r =
|
|
6192
|
+
}, vl = async (e, t, n = Fn(e)) => {
|
|
6193
|
+
const r = bt(e.canTrack);
|
|
6174
6194
|
if (n.search.includes("preview="), !r || !(X() || fe === "reactNative"))
|
|
6175
6195
|
return t.results;
|
|
6176
6196
|
try {
|
|
@@ -6186,10 +6206,10 @@ const vl = async (e) => {
|
|
|
6186
6206
|
}
|
|
6187
6207
|
return t.results;
|
|
6188
6208
|
};
|
|
6189
|
-
async function
|
|
6209
|
+
async function bl(e) {
|
|
6190
6210
|
try {
|
|
6191
|
-
const t =
|
|
6192
|
-
return
|
|
6211
|
+
const t = Fn(e), n = await yl(e);
|
|
6212
|
+
return gl(n) ? vl(e, n) : (se.error("Error fetching data. ", {
|
|
6193
6213
|
url: t,
|
|
6194
6214
|
content: n,
|
|
6195
6215
|
options: e
|
|
@@ -6198,20 +6218,20 @@ async function kl(e) {
|
|
|
6198
6218
|
return se.error("Error fetching data. ", t), null;
|
|
6199
6219
|
}
|
|
6200
6220
|
}
|
|
6201
|
-
function
|
|
6221
|
+
function kl(e) {
|
|
6202
6222
|
const t = e || (X() ? window.location.search : void 0);
|
|
6203
6223
|
return t ? Vr(t).indexOf("builder.preview=") !== -1 : !1;
|
|
6204
6224
|
}
|
|
6205
|
-
function
|
|
6225
|
+
function Sl() {
|
|
6206
6226
|
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
|
|
6207
6227
|
const t = Math.random() * 16 | 0;
|
|
6208
6228
|
return (e == "x" ? t : t & 3 | 8).toString(16);
|
|
6209
6229
|
});
|
|
6210
6230
|
}
|
|
6211
6231
|
function po() {
|
|
6212
|
-
return
|
|
6232
|
+
return Sl().replace(/-/g, "");
|
|
6213
6233
|
}
|
|
6214
|
-
const ho = "builderSessionId",
|
|
6234
|
+
const ho = "builderSessionId", Cl = async ({
|
|
6215
6235
|
canTrack: e
|
|
6216
6236
|
}) => {
|
|
6217
6237
|
if (!e)
|
|
@@ -6223,20 +6243,20 @@ const ho = "builderSessionId", wl = async ({
|
|
|
6223
6243
|
if (Be(t))
|
|
6224
6244
|
return t;
|
|
6225
6245
|
{
|
|
6226
|
-
const n =
|
|
6227
|
-
return
|
|
6246
|
+
const n = wl();
|
|
6247
|
+
return Tl({
|
|
6228
6248
|
id: n,
|
|
6229
6249
|
canTrack: e
|
|
6230
6250
|
}), n;
|
|
6231
6251
|
}
|
|
6232
|
-
},
|
|
6252
|
+
}, wl = () => po(), Tl = ({
|
|
6233
6253
|
id: e,
|
|
6234
6254
|
canTrack: t
|
|
6235
6255
|
}) => eo({
|
|
6236
6256
|
name: ho,
|
|
6237
6257
|
value: e,
|
|
6238
6258
|
canTrack: t
|
|
6239
|
-
}), fo = () => X() && typeof localStorage < "u" ? localStorage : void 0,
|
|
6259
|
+
}), fo = () => X() && typeof localStorage < "u" ? localStorage : void 0, El = ({
|
|
6240
6260
|
key: e,
|
|
6241
6261
|
canTrack: t
|
|
6242
6262
|
}) => {
|
|
@@ -6247,7 +6267,7 @@ const ho = "builderSessionId", wl = async ({
|
|
|
6247
6267
|
console.debug("[LocalStorage] GET error: ", r);
|
|
6248
6268
|
return;
|
|
6249
6269
|
}
|
|
6250
|
-
},
|
|
6270
|
+
}, Il = ({
|
|
6251
6271
|
key: e,
|
|
6252
6272
|
canTrack: t,
|
|
6253
6273
|
value: n
|
|
@@ -6258,32 +6278,32 @@ const ho = "builderSessionId", wl = async ({
|
|
|
6258
6278
|
} catch (o) {
|
|
6259
6279
|
console.debug("[LocalStorage] SET error: ", o);
|
|
6260
6280
|
}
|
|
6261
|
-
}, mo = "builderVisitorId",
|
|
6281
|
+
}, mo = "builderVisitorId", xl = ({
|
|
6262
6282
|
canTrack: e
|
|
6263
6283
|
}) => {
|
|
6264
6284
|
if (!e)
|
|
6265
6285
|
return;
|
|
6266
|
-
const t =
|
|
6286
|
+
const t = El({
|
|
6267
6287
|
key: mo,
|
|
6268
6288
|
canTrack: e
|
|
6269
6289
|
});
|
|
6270
6290
|
if (Be(t))
|
|
6271
6291
|
return t;
|
|
6272
6292
|
{
|
|
6273
|
-
const n =
|
|
6293
|
+
const n = Rl();
|
|
6274
6294
|
return $l({
|
|
6275
6295
|
id: n,
|
|
6276
6296
|
canTrack: e
|
|
6277
6297
|
}), n;
|
|
6278
6298
|
}
|
|
6279
|
-
},
|
|
6299
|
+
}, Rl = () => po(), $l = ({
|
|
6280
6300
|
id: e,
|
|
6281
6301
|
canTrack: t
|
|
6282
|
-
}) =>
|
|
6302
|
+
}) => Il({
|
|
6283
6303
|
key: mo,
|
|
6284
6304
|
value: e,
|
|
6285
6305
|
canTrack: t
|
|
6286
|
-
}),
|
|
6306
|
+
}), Al = async ({
|
|
6287
6307
|
canTrack: e
|
|
6288
6308
|
}) => {
|
|
6289
6309
|
if (!e)
|
|
@@ -6291,16 +6311,16 @@ const ho = "builderSessionId", wl = async ({
|
|
|
6291
6311
|
visitorId: void 0,
|
|
6292
6312
|
sessionId: void 0
|
|
6293
6313
|
};
|
|
6294
|
-
const t = await
|
|
6314
|
+
const t = await Cl({
|
|
6295
6315
|
canTrack: e
|
|
6296
|
-
}), n =
|
|
6316
|
+
}), n = xl({
|
|
6297
6317
|
canTrack: e
|
|
6298
6318
|
});
|
|
6299
6319
|
return {
|
|
6300
6320
|
sessionId: t,
|
|
6301
6321
|
visitorId: n
|
|
6302
6322
|
};
|
|
6303
|
-
},
|
|
6323
|
+
}, Pl = async ({
|
|
6304
6324
|
type: e,
|
|
6305
6325
|
canTrack: t,
|
|
6306
6326
|
apiKey: n,
|
|
@@ -6314,14 +6334,14 @@ const ho = "builderSessionId", wl = async ({
|
|
|
6314
6334
|
url: location.href,
|
|
6315
6335
|
...r
|
|
6316
6336
|
},
|
|
6317
|
-
...await
|
|
6337
|
+
...await Al({
|
|
6318
6338
|
canTrack: t
|
|
6319
6339
|
}),
|
|
6320
6340
|
userAttributes: Ur(),
|
|
6321
6341
|
ownerId: n
|
|
6322
6342
|
}
|
|
6323
6343
|
});
|
|
6324
|
-
async function
|
|
6344
|
+
async function kn(e) {
|
|
6325
6345
|
if (!e.apiKey) {
|
|
6326
6346
|
se.error("Missing API key for track call. Please provide your API key.");
|
|
6327
6347
|
return;
|
|
@@ -6330,7 +6350,7 @@ async function Sn(e) {
|
|
|
6330
6350
|
return fetch("https://cdn.builder.io/api/v1/track", {
|
|
6331
6351
|
method: "POST",
|
|
6332
6352
|
body: JSON.stringify({
|
|
6333
|
-
events: [await
|
|
6353
|
+
events: [await Pl(e)]
|
|
6334
6354
|
}),
|
|
6335
6355
|
headers: {
|
|
6336
6356
|
"content-type": "application/json"
|
|
@@ -6340,14 +6360,14 @@ async function Sn(e) {
|
|
|
6340
6360
|
console.error("Failed to track: ", t);
|
|
6341
6361
|
});
|
|
6342
6362
|
}
|
|
6343
|
-
const
|
|
6363
|
+
const yu = (e) => kn({
|
|
6344
6364
|
...e,
|
|
6345
6365
|
canTrack: !0
|
|
6346
6366
|
});
|
|
6347
6367
|
function Rr(e) {
|
|
6348
6368
|
return Math.round(e * 1e3) / 1e3;
|
|
6349
6369
|
}
|
|
6350
|
-
const
|
|
6370
|
+
const Ol = (e, t, n = !0) => {
|
|
6351
6371
|
if (!(e instanceof HTMLElement))
|
|
6352
6372
|
return null;
|
|
6353
6373
|
let r = n ? e : e.parentElement;
|
|
@@ -6358,10 +6378,10 @@ const jl = (e, t, n = !0) => {
|
|
|
6358
6378
|
return r;
|
|
6359
6379
|
} while (r = r.parentElement);
|
|
6360
6380
|
return null;
|
|
6361
|
-
},
|
|
6381
|
+
}, jl = (e) => Ol(e, (t) => {
|
|
6362
6382
|
const n = t.getAttribute("builder-id") || t.id;
|
|
6363
6383
|
return (n == null ? void 0 : n.indexOf("builder-")) === 0;
|
|
6364
|
-
}),
|
|
6384
|
+
}), $r = ({
|
|
6365
6385
|
event: e,
|
|
6366
6386
|
target: t
|
|
6367
6387
|
}) => {
|
|
@@ -6370,33 +6390,33 @@ const jl = (e, t, n = !0) => {
|
|
|
6370
6390
|
x: i,
|
|
6371
6391
|
y: a
|
|
6372
6392
|
};
|
|
6373
|
-
},
|
|
6374
|
-
const t = e.target, n = t &&
|
|
6393
|
+
}, Bl = (e) => {
|
|
6394
|
+
const t = e.target, n = t && jl(t), r = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
|
|
6375
6395
|
return {
|
|
6376
6396
|
targetBuilderElement: r || void 0,
|
|
6377
6397
|
metadata: {
|
|
6378
|
-
targetOffset: t ?
|
|
6398
|
+
targetOffset: t ? $r({
|
|
6379
6399
|
event: e,
|
|
6380
6400
|
target: t
|
|
6381
6401
|
}) : void 0,
|
|
6382
|
-
builderTargetOffset: n ?
|
|
6402
|
+
builderTargetOffset: n ? $r({
|
|
6383
6403
|
event: e,
|
|
6384
6404
|
target: n
|
|
6385
6405
|
}) : void 0,
|
|
6386
6406
|
builderElementIndex: n && r ? [].slice.call(document.getElementsByClassName(r)).indexOf(n) : void 0
|
|
6387
6407
|
}
|
|
6388
6408
|
};
|
|
6389
|
-
},
|
|
6409
|
+
}, Nl = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
|
|
6390
6410
|
function go(e, t) {
|
|
6391
6411
|
if (!t.origin.startsWith("http") && !t.origin.startsWith("https"))
|
|
6392
6412
|
return !1;
|
|
6393
6413
|
const n = new URL(t.origin), r = n.hostname;
|
|
6394
|
-
return (e ||
|
|
6414
|
+
return (e || Nl).findIndex((o) => o.startsWith("*.") ? r.endsWith(o.slice(1)) : o === r) > -1;
|
|
6395
6415
|
}
|
|
6396
|
-
const
|
|
6397
|
-
function
|
|
6398
|
-
let n =
|
|
6399
|
-
if (n || (n =
|
|
6416
|
+
const Vl = "2.0.5", Ar = {};
|
|
6417
|
+
function Ul(e, t) {
|
|
6418
|
+
let n = Ar[e];
|
|
6419
|
+
if (n || (n = Ar[e] = []), n.push(t), X()) {
|
|
6400
6420
|
const r = {
|
|
6401
6421
|
type: "builder.register",
|
|
6402
6422
|
data: {
|
|
@@ -6412,7 +6432,7 @@ function Fl(e, t) {
|
|
|
6412
6432
|
}
|
|
6413
6433
|
}
|
|
6414
6434
|
const Dl = () => {
|
|
6415
|
-
|
|
6435
|
+
Ul("insertMenu", {
|
|
6416
6436
|
name: "_default",
|
|
6417
6437
|
default: !0,
|
|
6418
6438
|
items: [{
|
|
@@ -6441,7 +6461,7 @@ const yo = (e = {}) => {
|
|
|
6441
6461
|
type: "builder.sdkInfo",
|
|
6442
6462
|
data: {
|
|
6443
6463
|
target: fe,
|
|
6444
|
-
version:
|
|
6464
|
+
version: Vl,
|
|
6445
6465
|
supportsPatchUpdates: !1,
|
|
6446
6466
|
// Supports builder-model="..." attribute which is needed to
|
|
6447
6467
|
// scope our '+ add block' button styling
|
|
@@ -6522,7 +6542,7 @@ const yo = (e = {}) => {
|
|
|
6522
6542
|
break;
|
|
6523
6543
|
}
|
|
6524
6544
|
}
|
|
6525
|
-
},
|
|
6545
|
+
}, vu = (e, t, n) => {
|
|
6526
6546
|
if (!X)
|
|
6527
6547
|
return se.warn("`subscribeToEditor` only works in the browser. It currently seems to be running on the server."), () => {
|
|
6528
6548
|
};
|
|
@@ -6541,7 +6561,7 @@ const yo = (e = {}) => {
|
|
|
6541
6561
|
return window.addEventListener("message", r), () => {
|
|
6542
6562
|
window.removeEventListener("message", r);
|
|
6543
6563
|
};
|
|
6544
|
-
},
|
|
6564
|
+
}, Fl = (e) => {
|
|
6545
6565
|
var i;
|
|
6546
6566
|
const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], r = e.fileUrl ?? ((i = e == null ? void 0 : e.files) == null ? void 0 : i.regular);
|
|
6547
6567
|
let o = "";
|
|
@@ -6567,15 +6587,15 @@ font-weight: ${a};
|
|
|
6567
6587
|
`.trim());
|
|
6568
6588
|
}
|
|
6569
6589
|
return o;
|
|
6570
|
-
},
|
|
6590
|
+
}, Ml = ({
|
|
6571
6591
|
customFonts: e
|
|
6572
6592
|
}) => {
|
|
6573
6593
|
var t;
|
|
6574
|
-
return ((t = e == null ? void 0 : e.map((n) =>
|
|
6575
|
-
},
|
|
6594
|
+
return ((t = e == null ? void 0 : e.map((n) => Fl(n))) == null ? void 0 : t.join(" ")) || "";
|
|
6595
|
+
}, Wl = ({
|
|
6576
6596
|
cssCode: e,
|
|
6577
6597
|
contentId: t
|
|
6578
|
-
}) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "",
|
|
6598
|
+
}) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Ll = `
|
|
6579
6599
|
.builder-button {
|
|
6580
6600
|
all: unset;
|
|
6581
6601
|
}
|
|
@@ -6592,7 +6612,7 @@ font-weight: ${a};
|
|
|
6592
6612
|
text-align: inherit;
|
|
6593
6613
|
font-family: inherit;
|
|
6594
6614
|
}
|
|
6595
|
-
`,
|
|
6615
|
+
`, Hl = (e) => e ? "" : Ll, Kl = (e) => `variant-${e}`, ql = j({
|
|
6596
6616
|
name: "enable-editor",
|
|
6597
6617
|
components: { DynamicDiv: Ct },
|
|
6598
6618
|
props: [
|
|
@@ -6616,14 +6636,14 @@ font-weight: ${a};
|
|
|
6616
6636
|
httpReqsData: {},
|
|
6617
6637
|
httpReqsPending: {},
|
|
6618
6638
|
clicked: !1,
|
|
6619
|
-
builderContext:
|
|
6620
|
-
getWrapperClassName:
|
|
6639
|
+
builderContext: fn,
|
|
6640
|
+
getWrapperClassName: Kl
|
|
6621
6641
|
};
|
|
6622
6642
|
},
|
|
6623
6643
|
provide() {
|
|
6624
6644
|
const e = this;
|
|
6625
6645
|
return {
|
|
6626
|
-
[
|
|
6646
|
+
[fn.key]: e.builderContextSignal
|
|
6627
6647
|
};
|
|
6628
6648
|
},
|
|
6629
6649
|
mounted() {
|
|
@@ -6632,9 +6652,9 @@ font-weight: ${a};
|
|
|
6632
6652
|
if (X()) {
|
|
6633
6653
|
if (le() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
|
|
6634
6654
|
new CustomEvent("initeditingbldr")
|
|
6635
|
-
), this.builderContextSignal.content &&
|
|
6655
|
+
), this.builderContextSignal.content && bt(this.canTrack)) {
|
|
6636
6656
|
const i = (n = this.builderContextSignal.content) == null ? void 0 : n.testVariationId, a = (r = this.builderContextSignal.content) == null ? void 0 : r.id, u = this.apiKey;
|
|
6637
|
-
|
|
6657
|
+
kn({
|
|
6638
6658
|
type: "impression",
|
|
6639
6659
|
canTrack: !0,
|
|
6640
6660
|
contentId: a,
|
|
@@ -6642,7 +6662,7 @@ font-weight: ${a};
|
|
|
6642
6662
|
variationId: i !== a ? i : void 0
|
|
6643
6663
|
});
|
|
6644
6664
|
}
|
|
6645
|
-
|
|
6665
|
+
kl() && !le() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
|
|
6646
6666
|
new CustomEvent("initpreviewingbldr")
|
|
6647
6667
|
);
|
|
6648
6668
|
}
|
|
@@ -6790,7 +6810,7 @@ font-weight: ${a};
|
|
|
6790
6810
|
evaluateJsCode() {
|
|
6791
6811
|
var t, n;
|
|
6792
6812
|
const e = (n = (t = this.builderContextSignal.content) == null ? void 0 : t.data) == null ? void 0 : n.jsCode;
|
|
6793
|
-
e &&
|
|
6813
|
+
e && vt({
|
|
6794
6814
|
code: e,
|
|
6795
6815
|
context: this.context || {},
|
|
6796
6816
|
localState: void 0,
|
|
@@ -6806,13 +6826,13 @@ font-weight: ${a};
|
|
|
6806
6826
|
var t, n;
|
|
6807
6827
|
if (this.builderContextSignal.content) {
|
|
6808
6828
|
const r = (t = this.builderContextSignal.content) == null ? void 0 : t.testVariationId, o = (n = this.builderContextSignal.content) == null ? void 0 : n.id;
|
|
6809
|
-
|
|
6829
|
+
kn({
|
|
6810
6830
|
type: "click",
|
|
6811
|
-
canTrack:
|
|
6831
|
+
canTrack: bt(this.canTrack),
|
|
6812
6832
|
contentId: o,
|
|
6813
6833
|
apiKey: this.apiKey,
|
|
6814
6834
|
variationId: r !== o ? r : void 0,
|
|
6815
|
-
...
|
|
6835
|
+
...Bl(e),
|
|
6816
6836
|
unique: !this.clicked
|
|
6817
6837
|
});
|
|
6818
6838
|
}
|
|
@@ -6828,7 +6848,7 @@ font-weight: ${a};
|
|
|
6828
6848
|
const i = o.replace(
|
|
6829
6849
|
/{{([^}]+)}}/g,
|
|
6830
6850
|
(a, u) => String(
|
|
6831
|
-
|
|
6851
|
+
vt({
|
|
6832
6852
|
code: u,
|
|
6833
6853
|
context: this.context || {},
|
|
6834
6854
|
localState: void 0,
|
|
@@ -6855,7 +6875,7 @@ font-weight: ${a};
|
|
|
6855
6875
|
"builder:component:stateChange",
|
|
6856
6876
|
{
|
|
6857
6877
|
detail: {
|
|
6858
|
-
state:
|
|
6878
|
+
state: Bn(this.builderContextSignal.rootState),
|
|
6859
6879
|
ref: {
|
|
6860
6880
|
name: this.model
|
|
6861
6881
|
}
|
|
@@ -6900,9 +6920,9 @@ font-weight: ${a};
|
|
|
6900
6920
|
}
|
|
6901
6921
|
}
|
|
6902
6922
|
});
|
|
6903
|
-
function
|
|
6923
|
+
function zl(e, t, n, r, o, i) {
|
|
6904
6924
|
var a, u, p;
|
|
6905
|
-
return e.builderContextSignal.content ? (y(),
|
|
6925
|
+
return e.builderContextSignal.content ? (y(), D(ct(e.ContentWrapper), z({
|
|
6906
6926
|
key: 0,
|
|
6907
6927
|
ref: "elementRef",
|
|
6908
6928
|
onClick: (m) => e.onClick(m),
|
|
@@ -6918,34 +6938,34 @@ function Gl(e, t, n, r, o, i) {
|
|
|
6918
6938
|
_: 3
|
|
6919
6939
|
}, 16, ["onClick", "builder-content-id", "builder-model", "class", "onIniteditingbldr", "onInitpreviewingbldr"])) : M("", !0);
|
|
6920
6940
|
}
|
|
6921
|
-
const
|
|
6941
|
+
const Gl = /* @__PURE__ */ V(ql, [["render", zl]]), Jl = j({
|
|
6922
6942
|
name: "content-styles",
|
|
6923
6943
|
components: { InlinedStyles: Un },
|
|
6924
6944
|
props: ["cssCode", "contentId", "customFonts", "isNestedRender", "nonce"],
|
|
6925
6945
|
data() {
|
|
6926
6946
|
return {
|
|
6927
6947
|
injectedStyles: `
|
|
6928
|
-
${
|
|
6948
|
+
${Wl({
|
|
6929
6949
|
cssCode: this.cssCode,
|
|
6930
6950
|
contentId: this.contentId
|
|
6931
6951
|
})}
|
|
6932
|
-
${
|
|
6952
|
+
${Ml({
|
|
6933
6953
|
customFonts: this.customFonts
|
|
6934
6954
|
})}
|
|
6935
|
-
${
|
|
6955
|
+
${Hl(this.isNestedRender)}
|
|
6936
6956
|
`.trim()
|
|
6937
6957
|
};
|
|
6938
6958
|
}
|
|
6939
6959
|
});
|
|
6940
|
-
function
|
|
6960
|
+
function Xl(e, t, n, r, o, i) {
|
|
6941
6961
|
const a = U("InlinedStyles");
|
|
6942
|
-
return y(),
|
|
6962
|
+
return y(), D(a, {
|
|
6943
6963
|
id: "builderio-content",
|
|
6944
6964
|
styles: e.injectedStyles,
|
|
6945
6965
|
nonce: e.nonce
|
|
6946
6966
|
}, null, 8, ["styles", "nonce"]);
|
|
6947
6967
|
}
|
|
6948
|
-
const
|
|
6968
|
+
const Yl = /* @__PURE__ */ V(Jl, [["render", Xl]]), _l = ({
|
|
6949
6969
|
content: e,
|
|
6950
6970
|
data: t,
|
|
6951
6971
|
locale: n
|
|
@@ -6962,7 +6982,7 @@ const _l = /* @__PURE__ */ V(Xl, [["render", Yl]]), Zl = ({
|
|
|
6962
6982
|
locale: n
|
|
6963
6983
|
} : {}
|
|
6964
6984
|
};
|
|
6965
|
-
},
|
|
6985
|
+
}, Zl = ({
|
|
6966
6986
|
content: e,
|
|
6967
6987
|
data: t
|
|
6968
6988
|
}) => e ? {
|
|
@@ -6972,12 +6992,12 @@ const _l = /* @__PURE__ */ V(Xl, [["render", Yl]]), Zl = ({
|
|
|
6972
6992
|
...t
|
|
6973
6993
|
},
|
|
6974
6994
|
meta: e == null ? void 0 : e.meta
|
|
6975
|
-
} : void 0,
|
|
6995
|
+
} : void 0, Ql = Do, eu = j({
|
|
6976
6996
|
name: "content-component",
|
|
6977
6997
|
components: {
|
|
6978
|
-
EnableEditor:
|
|
6998
|
+
EnableEditor: Gl,
|
|
6979
6999
|
InlinedScript: ao,
|
|
6980
|
-
ContentStyles:
|
|
7000
|
+
ContentStyles: Yl,
|
|
6981
7001
|
Blocks: Xe,
|
|
6982
7002
|
DynamicDiv: Ct
|
|
6983
7003
|
},
|
|
@@ -7006,7 +7026,7 @@ const _l = /* @__PURE__ */ V(Xl, [["render", Yl]]), Zl = ({
|
|
|
7006
7026
|
data() {
|
|
7007
7027
|
var e, t, n, r;
|
|
7008
7028
|
return {
|
|
7009
|
-
scriptStr:
|
|
7029
|
+
scriptStr: cl({
|
|
7010
7030
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
|
|
7011
7031
|
variationId: (e = this.content) == null ? void 0 : e.testVariationId,
|
|
7012
7032
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
|
|
@@ -7019,19 +7039,19 @@ const _l = /* @__PURE__ */ V(Xl, [["render", Yl]]), Zl = ({
|
|
|
7019
7039
|
(o, { component: i, ...a }) => ({
|
|
7020
7040
|
...o,
|
|
7021
7041
|
[a.name]: {
|
|
7022
|
-
component:
|
|
7023
|
-
...
|
|
7042
|
+
component: Ql(i),
|
|
7043
|
+
...vn(a)
|
|
7024
7044
|
}
|
|
7025
7045
|
}),
|
|
7026
7046
|
{}
|
|
7027
7047
|
),
|
|
7028
7048
|
builderContextSignal: {
|
|
7029
|
-
content:
|
|
7049
|
+
content: Zl({
|
|
7030
7050
|
content: this.content,
|
|
7031
7051
|
data: this.data
|
|
7032
7052
|
}),
|
|
7033
7053
|
localState: void 0,
|
|
7034
|
-
rootState:
|
|
7054
|
+
rootState: _l({
|
|
7035
7055
|
content: this.content,
|
|
7036
7056
|
data: this.data,
|
|
7037
7057
|
locale: this.locale
|
|
@@ -7047,7 +7067,7 @@ const _l = /* @__PURE__ */ V(Xl, [["render", Yl]]), Zl = ({
|
|
|
7047
7067
|
].reduce(
|
|
7048
7068
|
(o, { component: i, ...a }) => ({
|
|
7049
7069
|
...o,
|
|
7050
|
-
[a.name]:
|
|
7070
|
+
[a.name]: vn(a)
|
|
7051
7071
|
}),
|
|
7052
7072
|
{}
|
|
7053
7073
|
),
|
|
@@ -7073,9 +7093,9 @@ const _l = /* @__PURE__ */ V(Xl, [["render", Yl]]), Zl = ({
|
|
|
7073
7093
|
}
|
|
7074
7094
|
}
|
|
7075
7095
|
});
|
|
7076
|
-
function
|
|
7096
|
+
function tu(e, t, n, r, o, i) {
|
|
7077
7097
|
const a = U("InlinedScript"), u = U("ContentStyles"), p = U("Blocks"), m = U("EnableEditor");
|
|
7078
|
-
return y(),
|
|
7098
|
+
return y(), D(m, z({
|
|
7079
7099
|
nonce: e.nonce,
|
|
7080
7100
|
content: e.content,
|
|
7081
7101
|
data: e.data,
|
|
@@ -7094,13 +7114,13 @@ function nu(e, t, n, r, o, i) {
|
|
|
7094
7114
|
default: Te(() => {
|
|
7095
7115
|
var v, h, C, O, P, Q, Y;
|
|
7096
7116
|
return [
|
|
7097
|
-
e.isSsrAbTest ? (y(),
|
|
7117
|
+
e.isSsrAbTest ? (y(), D(a, {
|
|
7098
7118
|
key: 0,
|
|
7099
7119
|
id: "builderio-variant-visibility",
|
|
7100
7120
|
scriptStr: e.scriptStr,
|
|
7101
7121
|
nonce: e.nonce || ""
|
|
7102
7122
|
}, null, 8, ["scriptStr", "nonce"])) : M("", !0),
|
|
7103
|
-
e.TARGET !== "reactNative" ? (y(),
|
|
7123
|
+
e.TARGET !== "reactNative" ? (y(), D(u, {
|
|
7104
7124
|
key: 1,
|
|
7105
7125
|
nonce: e.nonce || "",
|
|
7106
7126
|
isNestedRender: e.isNestedRender,
|
|
@@ -7119,12 +7139,12 @@ function nu(e, t, n, r, o, i) {
|
|
|
7119
7139
|
_: 1
|
|
7120
7140
|
}, 16, ["nonce", "content", "data", "model", "context", "apiKey", "canTrack", "locale", "enrich", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps", "trustedHosts"]);
|
|
7121
7141
|
}
|
|
7122
|
-
const
|
|
7142
|
+
const nu = /* @__PURE__ */ V(eu, [["render", tu]]), ru = j({
|
|
7123
7143
|
name: "content-variants",
|
|
7124
7144
|
components: {
|
|
7125
7145
|
InlinedScript: ao,
|
|
7126
7146
|
InlinedStyles: Un,
|
|
7127
|
-
ContentComponent:
|
|
7147
|
+
ContentComponent: nu
|
|
7128
7148
|
},
|
|
7129
7149
|
props: [
|
|
7130
7150
|
"canTrack",
|
|
@@ -7148,12 +7168,12 @@ const ru = /* @__PURE__ */ V(tu, [["render", nu]]), ou = j({
|
|
|
7148
7168
|
],
|
|
7149
7169
|
data() {
|
|
7150
7170
|
return {
|
|
7151
|
-
shouldRenderVariants:
|
|
7152
|
-
canTrack:
|
|
7171
|
+
shouldRenderVariants: sl({
|
|
7172
|
+
canTrack: bt(this.canTrack),
|
|
7153
7173
|
content: this.content
|
|
7154
7174
|
}),
|
|
7155
7175
|
TARGET: fe,
|
|
7156
|
-
getInitVariantsFnsScriptString:
|
|
7176
|
+
getInitVariantsFnsScriptString: ll,
|
|
7157
7177
|
getVariants: Ot
|
|
7158
7178
|
};
|
|
7159
7179
|
},
|
|
@@ -7162,7 +7182,7 @@ const ru = /* @__PURE__ */ V(tu, [["render", nu]]), ou = j({
|
|
|
7162
7182
|
computed: {
|
|
7163
7183
|
updateCookieAndStylesScriptStr() {
|
|
7164
7184
|
var e;
|
|
7165
|
-
return
|
|
7185
|
+
return ul(
|
|
7166
7186
|
Ot(this.content).map((t) => ({
|
|
7167
7187
|
id: t.testVariationId,
|
|
7168
7188
|
testRatio: t.testRatio
|
|
@@ -7180,15 +7200,15 @@ const ru = /* @__PURE__ */ V(tu, [["render", nu]]), ou = j({
|
|
|
7180
7200
|
testVariationId: (e = this.content) == null ? void 0 : e.id
|
|
7181
7201
|
} : Es({
|
|
7182
7202
|
item: this.content,
|
|
7183
|
-
canTrack:
|
|
7203
|
+
canTrack: bt(this.canTrack)
|
|
7184
7204
|
});
|
|
7185
7205
|
}
|
|
7186
7206
|
}
|
|
7187
7207
|
});
|
|
7188
|
-
function
|
|
7208
|
+
function ou(e, t, n, r, o, i) {
|
|
7189
7209
|
const a = U("InlinedScript"), u = U("InlinedStyles"), p = U("ContentComponent");
|
|
7190
7210
|
return y(), T(Z, null, [
|
|
7191
|
-
!e.isNestedRender && e.TARGET !== "reactNative" ? (y(),
|
|
7211
|
+
!e.isNestedRender && e.TARGET !== "reactNative" ? (y(), D(a, {
|
|
7192
7212
|
key: 0,
|
|
7193
7213
|
id: "builderio-init-variants-fns",
|
|
7194
7214
|
scriptStr: e.getInitVariantsFnsScriptString(),
|
|
@@ -7205,7 +7225,7 @@ function iu(e, t, n, r, o, i) {
|
|
|
7205
7225
|
scriptStr: e.updateCookieAndStylesScriptStr,
|
|
7206
7226
|
nonce: e.nonce || ""
|
|
7207
7227
|
}, null, 8, ["scriptStr", "nonce"]),
|
|
7208
|
-
(y(!0), T(Z, null, Ee(e.getVariants(e.content), (m, v) => (y(),
|
|
7228
|
+
(y(!0), T(Z, null, Ee(e.getVariants(e.content), (m, v) => (y(), D(p, {
|
|
7209
7229
|
key: m.testVariationId,
|
|
7210
7230
|
isNestedRender: e.isNestedRender,
|
|
7211
7231
|
nonce: e.nonce,
|
|
@@ -7255,7 +7275,7 @@ function iu(e, t, n, r, o, i) {
|
|
|
7255
7275
|
}), null, 16, ["nonce", "isNestedRender", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"])
|
|
7256
7276
|
], 64);
|
|
7257
7277
|
}
|
|
7258
|
-
const
|
|
7278
|
+
const iu = /* @__PURE__ */ V(ru, [["render", ou]]), su = async ({
|
|
7259
7279
|
builderContextValue: e,
|
|
7260
7280
|
symbol: t
|
|
7261
7281
|
}) => {
|
|
@@ -7273,9 +7293,9 @@ const su = /* @__PURE__ */ V(ou, [["render", iu]]), au = async ({
|
|
|
7273
7293
|
}).catch((n) => {
|
|
7274
7294
|
se.error("Could not fetch symbol content: ", n);
|
|
7275
7295
|
});
|
|
7276
|
-
},
|
|
7296
|
+
}, au = j({
|
|
7277
7297
|
name: "builder-symbol",
|
|
7278
|
-
components: { ContentVariants:
|
|
7298
|
+
components: { ContentVariants: iu, DynamicDiv: Ct },
|
|
7279
7299
|
props: [
|
|
7280
7300
|
"symbol",
|
|
7281
7301
|
"attributes",
|
|
@@ -7324,7 +7344,7 @@ const su = /* @__PURE__ */ V(ou, [["render", iu]]), au = async ({
|
|
|
7324
7344
|
},
|
|
7325
7345
|
methods: {
|
|
7326
7346
|
setContent() {
|
|
7327
|
-
this.contentToUse ||
|
|
7347
|
+
this.contentToUse || su({
|
|
7328
7348
|
symbol: this.symbol,
|
|
7329
7349
|
builderContextValue: this.builderContext
|
|
7330
7350
|
}).then((e) => {
|
|
@@ -7333,7 +7353,7 @@ const su = /* @__PURE__ */ V(ou, [["render", iu]]), au = async ({
|
|
|
7333
7353
|
}
|
|
7334
7354
|
}
|
|
7335
7355
|
});
|
|
7336
|
-
function
|
|
7356
|
+
function lu(e, t, n, r, o, i) {
|
|
7337
7357
|
var u, p, m, v, h;
|
|
7338
7358
|
const a = U("ContentVariants");
|
|
7339
7359
|
return y(), T("div", z({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, ce(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
|
|
@@ -7361,8 +7381,8 @@ function uu(e, t, n, r, o, i) {
|
|
|
7361
7381
|
}, null, 8, ["nonce", "apiVersion", "apiKey", "context", "customComponents", "data", "canTrack", "model", "content", "linkComponent", "blocksWrapper", "contentWrapper"])
|
|
7362
7382
|
], 16);
|
|
7363
7383
|
}
|
|
7364
|
-
const
|
|
7365
|
-
function
|
|
7384
|
+
const uu = /* @__PURE__ */ V(au, [["render", lu]]), Or = {};
|
|
7385
|
+
function bu(e) {
|
|
7366
7386
|
if (X()) {
|
|
7367
7387
|
Object.assign(Or, e);
|
|
7368
7388
|
const t = {
|
|
@@ -7372,7 +7392,7 @@ function ku(e) {
|
|
|
7372
7392
|
parent.postMessage(t, "*");
|
|
7373
7393
|
}
|
|
7374
7394
|
}
|
|
7375
|
-
const
|
|
7395
|
+
const ku = async (e) => {
|
|
7376
7396
|
var r, o, i;
|
|
7377
7397
|
const t = e.path || ((r = e.url) == null ? void 0 : r.pathname) || ((o = e.userAttributes) == null ? void 0 : o.urlPath), n = {
|
|
7378
7398
|
...e,
|
|
@@ -7393,43 +7413,43 @@ const Su = async (e) => {
|
|
|
7393
7413
|
};
|
|
7394
7414
|
};
|
|
7395
7415
|
export {
|
|
7396
|
-
|
|
7416
|
+
vl as A,
|
|
7397
7417
|
Vn as B,
|
|
7398
7418
|
ts as C,
|
|
7399
|
-
|
|
7419
|
+
bl as D,
|
|
7400
7420
|
Mn as E,
|
|
7401
7421
|
os as F,
|
|
7402
|
-
|
|
7403
|
-
|
|
7422
|
+
du as G,
|
|
7423
|
+
mu as H,
|
|
7404
7424
|
ds as I,
|
|
7405
7425
|
ms as S,
|
|
7406
7426
|
fe as T,
|
|
7407
7427
|
el as V,
|
|
7408
7428
|
Un as _,
|
|
7409
7429
|
_i as a,
|
|
7410
|
-
|
|
7430
|
+
hu as b,
|
|
7411
7431
|
Be as c,
|
|
7412
|
-
|
|
7432
|
+
gu as d,
|
|
7413
7433
|
Nn as e,
|
|
7414
7434
|
V as f,
|
|
7415
7435
|
qr as g,
|
|
7416
|
-
|
|
7417
|
-
|
|
7436
|
+
vt as h,
|
|
7437
|
+
fu as i,
|
|
7418
7438
|
jt as j,
|
|
7419
|
-
|
|
7439
|
+
fn as k,
|
|
7420
7440
|
qo as l,
|
|
7421
|
-
|
|
7441
|
+
uu as m,
|
|
7422
7442
|
Qs as n,
|
|
7423
7443
|
Xe as o,
|
|
7424
|
-
|
|
7444
|
+
iu as p,
|
|
7425
7445
|
le as q,
|
|
7426
|
-
|
|
7446
|
+
kl as r,
|
|
7427
7447
|
nl as s,
|
|
7428
|
-
|
|
7429
|
-
|
|
7448
|
+
Ul as t,
|
|
7449
|
+
bu as u,
|
|
7430
7450
|
co as v,
|
|
7431
|
-
|
|
7432
|
-
|
|
7433
|
-
|
|
7434
|
-
|
|
7451
|
+
Ql as w,
|
|
7452
|
+
yu as x,
|
|
7453
|
+
vu as y,
|
|
7454
|
+
ku as z
|
|
7435
7455
|
};
|