@builder.io/sdk-vue 0.11.5 → 0.12.1
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.547deda7.cjs → block-styles.0a1c13cc.cjs} +1 -1
- package/lib/browser/{block-styles.7d354d56.js → block-styles.15daad04.js} +2 -2
- package/lib/browser/{block-wrapper.3999844a.cjs → block-wrapper.3372ead3.cjs} +1 -1
- package/lib/browser/{block-wrapper.c1399cc7.js → block-wrapper.684870c2.js} +3 -3
- package/lib/browser/blocks/slot/component-info.d.ts +2 -0
- package/lib/browser/blocks/slot/slot.vue.d.ts +19 -0
- package/lib/browser/blocks/symbol/symbol.vue.d.ts +3 -0
- package/lib/browser/{component-ref.6369d7ce.cjs → component-ref.35876089.cjs} +1 -1
- package/lib/browser/{component-ref.1980ea37.js → component-ref.408ec744.js} +3 -3
- package/lib/browser/constants/sdk-version.d.ts +1 -1
- package/lib/browser/{css.f13f9668.cjs → css.56c01a0f.cjs} +1 -1
- package/lib/browser/{css.c5dbc2fb.js → css.e56cc923.js} +1 -1
- package/lib/browser/{get-block-actions.9e78e08c.js → get-block-actions.5749164d.js} +2 -2
- package/lib/browser/{get-block-actions.be9b24f4.cjs → get-block-actions.786a0830.cjs} +1 -1
- package/lib/browser/{index.68f1cdc9.js → index.1c3cd66d.js} +351 -308
- package/lib/browser/{index.2d468b02.cjs → index.caecdbca.cjs} +16 -16
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.js +1 -1
- package/lib/browser/{repeated-block.d0d6536d.js → repeated-block.3aa48114.js} +2 -2
- package/lib/browser/{repeated-block.5177bff6.cjs → repeated-block.f3af0b09.cjs} +1 -1
- package/lib/browser/style.css +1 -1
- package/lib/edge/{block-styles.7036106d.cjs → block-styles.1d36e17e.cjs} +1 -1
- package/lib/edge/{block-styles.9a6f909a.js → block-styles.baf84624.js} +2 -2
- package/lib/edge/{block-wrapper.f0edc57e.js → block-wrapper.c2e6a717.js} +3 -3
- package/lib/edge/{block-wrapper.87aa285f.cjs → block-wrapper.e35eb0ba.cjs} +1 -1
- package/lib/edge/blocks/slot/component-info.d.ts +2 -0
- package/lib/edge/blocks/slot/slot.vue.d.ts +19 -0
- package/lib/edge/blocks/symbol/symbol.vue.d.ts +3 -0
- package/lib/edge/{component-ref.fae2958f.js → component-ref.a0bf7c30.js} +3 -3
- package/lib/edge/{component-ref.06dc7198.cjs → component-ref.b38c0a17.cjs} +1 -1
- package/lib/edge/constants/sdk-version.d.ts +1 -1
- package/lib/{node/css.33f6a0e5.cjs → edge/css.817ffaca.cjs} +1 -1
- package/lib/{node/css.7b7d6045.js → edge/css.c9cd980b.js} +1 -1
- package/lib/{node/get-block-actions.da279770.js → edge/get-block-actions.59e642f2.js} +2 -2
- package/lib/edge/{get-block-actions.de0e3a7c.cjs → get-block-actions.c4334ce2.cjs} +1 -1
- package/lib/edge/{index.b0c8c979.cjs → index.7f2747c7.cjs} +21 -21
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/{index.b3a91e74.js → index.d2eea20b.js} +635 -592
- package/lib/edge/index.js +1 -1
- package/lib/edge/{repeated-block.cddb5408.js → repeated-block.d2e0b56c.js} +2 -2
- package/lib/edge/{repeated-block.4e5fe8a8.cjs → repeated-block.d802e6a0.cjs} +1 -1
- package/lib/edge/style.css +1 -1
- package/lib/node/{block-styles.17b53563.cjs → block-styles.544d0fa5.cjs} +1 -1
- package/lib/node/{block-styles.d0b46cf1.js → block-styles.9378e041.js} +2 -2
- package/lib/node/{block-wrapper.beb0b154.js → block-wrapper.20c333af.js} +3 -3
- package/lib/node/{block-wrapper.ba583c5e.cjs → block-wrapper.498bd360.cjs} +1 -1
- package/lib/node/blocks/slot/component-info.d.ts +2 -0
- package/lib/node/blocks/slot/slot.vue.d.ts +19 -0
- package/lib/node/blocks/symbol/symbol.vue.d.ts +3 -0
- package/lib/node/{component-ref.d338ff58.cjs → component-ref.36955ca9.cjs} +1 -1
- package/lib/node/{component-ref.3600c82e.js → component-ref.85cf8aff.js} +3 -3
- package/lib/node/constants/sdk-version.d.ts +1 -1
- package/lib/{edge/css.b1595c13.js → node/css.43e589b6.js} +1 -1
- package/lib/{edge/css.d468e49f.cjs → node/css.b8f02dce.cjs} +1 -1
- package/lib/{edge/get-block-actions.6c32fbdc.js → node/get-block-actions.9542f4f9.js} +2 -2
- package/lib/node/{get-block-actions.a9c7f214.cjs → get-block-actions.c427b339.cjs} +1 -1
- package/lib/node/{index.ff428090.cjs → index.52366dfd.cjs} +6 -6
- package/lib/node/{index.7a458aa4.js → index.73c9ec13.js} +132 -89
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.js +1 -1
- package/lib/node/{repeated-block.5d392271.cjs → repeated-block.182fc93f.cjs} +1 -1
- package/lib/node/{repeated-block.3c6c86a9.js → repeated-block.6972ade9.js} +2 -2
- package/lib/node/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as $, openBlock as E, createElementBlock as I, mergeProps as ee, toHandlers as rt, toDisplayString as tr, defineAsyncComponent as Ct, resolveComponent as V, Fragment as ue, createVNode as me, createBlock as X, createCommentVNode as L, renderList as ot, withCtx as at, resolveDynamicComponent as vr, renderSlot as Ee, h as Ar, createElementVNode as tn, normalizeStyle as nn, normalizeClass as Cr, markRaw as mo } from "vue";
|
|
2
2
|
function Ft(e = {}, t, n) {
|
|
3
3
|
const r = {};
|
|
4
4
|
for (const o in e) {
|
|
@@ -9,7 +9,7 @@ function Ft(e = {}, t, n) {
|
|
|
9
9
|
}
|
|
10
10
|
return r;
|
|
11
11
|
}
|
|
12
|
-
const go =
|
|
12
|
+
const go = $({
|
|
13
13
|
name: "builder-button",
|
|
14
14
|
props: ["attributes", "text", "link", "openLinkInNewTab"],
|
|
15
15
|
data() {
|
|
@@ -27,25 +27,25 @@ const go = U({
|
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
|
-
const
|
|
30
|
+
const P = (e, t) => {
|
|
31
31
|
const n = e.__vccOpts || e;
|
|
32
32
|
for (const [r, o] of t)
|
|
33
33
|
n[r] = o;
|
|
34
34
|
return n;
|
|
35
35
|
}, yo = ["href", "target"];
|
|
36
36
|
function vo(e, t, n, r, o, i) {
|
|
37
|
-
return e.link ? (E(), I("a",
|
|
37
|
+
return e.link ? (E(), I("a", ee({
|
|
38
38
|
key: 0,
|
|
39
39
|
href: e.link,
|
|
40
40
|
target: e.openLinkInNewTab ? "_blank" : void 0,
|
|
41
41
|
role: "button"
|
|
42
|
-
}, e.filterAttrs(e.attributes, "v-on:", !1), rt(e.filterAttrs(e.attributes, "v-on:", !0), !0)), tr(e.text), 17, yo)) : (E(), I("button",
|
|
42
|
+
}, e.filterAttrs(e.attributes, "v-on:", !1), rt(e.filterAttrs(e.attributes, "v-on:", !0), !0)), tr(e.text), 17, yo)) : (E(), I("button", ee({
|
|
43
43
|
key: 1,
|
|
44
44
|
style: e.attributes.style,
|
|
45
45
|
class: e._classStringToObject(e.attributes.class + " button-21azgz5avex")
|
|
46
46
|
}, e.filterAttrs(e.attributes, "v-on:", !1), rt(e.filterAttrs(e.attributes, "v-on:", !0), !0)), tr(e.text), 17));
|
|
47
47
|
}
|
|
48
|
-
const Ao = /* @__PURE__ */
|
|
48
|
+
const Ao = /* @__PURE__ */ P(go, [["render", vo], ["__scopeId", "data-v-becdf225"], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/blocks/button/button.vue"]]), Co = Symbol(), rn = {
|
|
49
49
|
Builder: {
|
|
50
50
|
content: null,
|
|
51
51
|
context: {},
|
|
@@ -73,7 +73,7 @@ function ko(e) {
|
|
|
73
73
|
builderBlock: e
|
|
74
74
|
};
|
|
75
75
|
}
|
|
76
|
-
const
|
|
76
|
+
const Ae = "vue", Pe = (e) => e != null, bt = "[Builder.io]: ", te = {
|
|
77
77
|
log: (...e) => console.log(bt, ...e),
|
|
78
78
|
error: (...e) => console.error(bt, ...e),
|
|
79
79
|
warn: (...e) => console.warn(bt, ...e),
|
|
@@ -85,8 +85,8 @@ function J() {
|
|
|
85
85
|
function Eo() {
|
|
86
86
|
return J() && window.self !== window.top;
|
|
87
87
|
}
|
|
88
|
-
function
|
|
89
|
-
return Eo() && (
|
|
88
|
+
function ge() {
|
|
89
|
+
return Eo() && (Ae === "reactNative" || window.location.search.indexOf("builder.frameEditing=") !== -1);
|
|
90
90
|
}
|
|
91
91
|
const So = () => {
|
|
92
92
|
if (J()) {
|
|
@@ -112,7 +112,7 @@ const So = () => {
|
|
|
112
112
|
return e.match(/IEMobile/i) || e.match(/WPDesktop/i);
|
|
113
113
|
},
|
|
114
114
|
any() {
|
|
115
|
-
return t.Android() || t.BlackBerry() || t.iOS() || t.Opera() || t.Windows() ||
|
|
115
|
+
return t.Android() || t.BlackBerry() || t.iOS() || t.Opera() || t.Windows() || Ae === "reactNative";
|
|
116
116
|
}
|
|
117
117
|
}, n = e.match(/Tablet|iPad/i), r = So();
|
|
118
118
|
return {
|
|
@@ -132,7 +132,7 @@ const So = () => {
|
|
|
132
132
|
context: t,
|
|
133
133
|
event: n
|
|
134
134
|
}), wo = () => ({
|
|
135
|
-
isEditing:
|
|
135
|
+
isEditing: ge(),
|
|
136
136
|
isBrowser: J(),
|
|
137
137
|
isServer: !J(),
|
|
138
138
|
getUserAttributes: () => kr()
|
|
@@ -183,9 +183,9 @@ var x, xo = function(e) {
|
|
|
183
183
|
function r(s, a) {
|
|
184
184
|
for (var l = g, d = 1, F = 0; ; ) {
|
|
185
185
|
At.lastIndex = F;
|
|
186
|
-
var
|
|
187
|
-
if (
|
|
188
|
-
++d, F =
|
|
186
|
+
var H = At.exec(l);
|
|
187
|
+
if (H && H.index < s)
|
|
188
|
+
++d, F = H.index + H[0].length;
|
|
189
189
|
else
|
|
190
190
|
break;
|
|
191
191
|
}
|
|
@@ -206,7 +206,7 @@ var x, xo = function(e) {
|
|
|
206
206
|
this.line = Be, this.ab = c - ce;
|
|
207
207
|
}
|
|
208
208
|
function u(s, a) {
|
|
209
|
-
xe = c, B.C && (
|
|
209
|
+
xe = c, B.C && (Ut = new i()), S = s, h(), re = a, Ke = s.m;
|
|
210
210
|
}
|
|
211
211
|
function p() {
|
|
212
212
|
for (var s = c, a = B.va && B.C && new i(), l = g.charCodeAt(c += 2); c < Ie && l !== 10 && l !== 13 && l !== 8232 && l !== 8233; )
|
|
@@ -256,11 +256,11 @@ var x, xo = function(e) {
|
|
|
256
256
|
case 59:
|
|
257
257
|
return ++c, u(de);
|
|
258
258
|
case 44:
|
|
259
|
-
return ++c, u(
|
|
259
|
+
return ++c, u(ke);
|
|
260
260
|
case 91:
|
|
261
|
-
return ++c, u(Xt);
|
|
262
|
-
case 93:
|
|
263
261
|
return ++c, u(Jt);
|
|
262
|
+
case 93:
|
|
263
|
+
return ++c, u(Yt);
|
|
264
264
|
case 123:
|
|
265
265
|
return ++c, u(Xe);
|
|
266
266
|
case 125:
|
|
@@ -271,7 +271,7 @@ var x, xo = function(e) {
|
|
|
271
271
|
return ++c, u(zn);
|
|
272
272
|
case 48:
|
|
273
273
|
if (s = g.charCodeAt(c + 1), s === 120 || s === 88) {
|
|
274
|
-
c += 2, s =
|
|
274
|
+
c += 2, s = N(16), s === null && r(W + 2, "Expected hexadecimal number"), n(g.charCodeAt(c)) && r(c, "Identifier directly after number"), u(ze, s);
|
|
275
275
|
return;
|
|
276
276
|
}
|
|
277
277
|
case 49:
|
|
@@ -311,13 +311,13 @@ var x, xo = function(e) {
|
|
|
311
311
|
a += "\r";
|
|
312
312
|
break;
|
|
313
313
|
case 120:
|
|
314
|
-
a += String.fromCharCode(
|
|
314
|
+
a += String.fromCharCode(_(2));
|
|
315
315
|
break;
|
|
316
316
|
case 117:
|
|
317
|
-
a += String.fromCharCode(
|
|
317
|
+
a += String.fromCharCode(_(4));
|
|
318
318
|
break;
|
|
319
319
|
case 85:
|
|
320
|
-
a += String.fromCharCode(
|
|
320
|
+
a += String.fromCharCode(_(8));
|
|
321
321
|
break;
|
|
322
322
|
case 116:
|
|
323
323
|
a += " ";
|
|
@@ -347,41 +347,41 @@ var x, xo = function(e) {
|
|
|
347
347
|
}
|
|
348
348
|
return;
|
|
349
349
|
case 47:
|
|
350
|
-
s = g.charCodeAt(c + 1), Ke ? (++c, T()) : s === 61 ?
|
|
350
|
+
s = g.charCodeAt(c + 1), Ke ? (++c, T()) : s === 61 ? b(De, 2) : b(Xn, 1);
|
|
351
351
|
return;
|
|
352
352
|
case 37:
|
|
353
353
|
case 42:
|
|
354
|
-
g.charCodeAt(c + 1) === 61 ?
|
|
354
|
+
g.charCodeAt(c + 1) === 61 ? b(De, 2) : b(ao, 1);
|
|
355
355
|
return;
|
|
356
356
|
case 124:
|
|
357
357
|
case 38:
|
|
358
|
-
a = g.charCodeAt(c + 1), a === s ?
|
|
358
|
+
a = g.charCodeAt(c + 1), a === s ? b(s === 124 ? qn : Qn, 2) : a === 61 ? b(De, 2) : b(s === 124 ? to : ro, 1);
|
|
359
359
|
return;
|
|
360
360
|
case 94:
|
|
361
|
-
g.charCodeAt(c + 1) === 61 ?
|
|
361
|
+
g.charCodeAt(c + 1) === 61 ? b(De, 2) : b(no, 1);
|
|
362
362
|
return;
|
|
363
363
|
case 43:
|
|
364
364
|
case 45:
|
|
365
|
-
a = g.charCodeAt(c + 1), a === s ? a === 45 && g.charCodeAt(c + 2) === 62 && vt.test(g.slice(
|
|
365
|
+
a = g.charCodeAt(c + 1), a === s ? a === 45 && g.charCodeAt(c + 2) === 62 && vt.test(g.slice(be, c)) ? (c += 3, p(), h(), v()) : b(eo, 2) : a === 61 ? b(De, 2) : b(uo, 1);
|
|
366
366
|
return;
|
|
367
367
|
case 60:
|
|
368
368
|
case 62:
|
|
369
|
-
a = g.charCodeAt(c + 1), l = 1, a === s ? (l = s === 62 && g.charCodeAt(c + 2) === 62 ? 3 : 2, g.charCodeAt(c + l) === 61 ?
|
|
369
|
+
a = g.charCodeAt(c + 1), l = 1, a === s ? (l = s === 62 && g.charCodeAt(c + 2) === 62 ? 3 : 2, g.charCodeAt(c + l) === 61 ? b(De, l + 1) : b(so, l)) : a === 33 && s === 60 && g.charCodeAt(c + 2) === 45 && g.charCodeAt(c + 3) === 45 ? (c += 4, p(), h(), v()) : (a === 61 && (l = g.charCodeAt(c + 2) === 61 ? 3 : 2), b(io, l));
|
|
370
370
|
return;
|
|
371
371
|
case 61:
|
|
372
372
|
case 33:
|
|
373
|
-
g.charCodeAt(c + 1) === 61 ?
|
|
373
|
+
g.charCodeAt(c + 1) === 61 ? b(oo, g.charCodeAt(c + 2) === 61 ? 3 : 2) : b(s === 61 ? Jn : Yn, 1);
|
|
374
374
|
return;
|
|
375
375
|
case 126:
|
|
376
|
-
return
|
|
376
|
+
return b(Yn, 1);
|
|
377
377
|
}
|
|
378
378
|
return !1;
|
|
379
379
|
}
|
|
380
380
|
function v(s) {
|
|
381
|
-
if (s ? c = W + 1 : W = c, B.C && (
|
|
381
|
+
if (s ? c = W + 1 : W = c, B.C && (_t = new i()), s)
|
|
382
382
|
return T();
|
|
383
383
|
if (c >= Ie)
|
|
384
|
-
return u(
|
|
384
|
+
return u(Vt);
|
|
385
385
|
if (s = g.charCodeAt(c), n(s) || s === 92)
|
|
386
386
|
return Fe();
|
|
387
387
|
if (m(s) === !1) {
|
|
@@ -390,7 +390,7 @@ var x, xo = function(e) {
|
|
|
390
390
|
r(c, "Unexpected character '" + s + "'");
|
|
391
391
|
}
|
|
392
392
|
}
|
|
393
|
-
function
|
|
393
|
+
function b(s, a) {
|
|
394
394
|
var l = g.slice(c, c + a);
|
|
395
395
|
c += a, u(s, l);
|
|
396
396
|
}
|
|
@@ -411,16 +411,16 @@ var x, xo = function(e) {
|
|
|
411
411
|
}
|
|
412
412
|
++c;
|
|
413
413
|
}
|
|
414
|
-
s = g.slice(l, c), ++c, (a =
|
|
414
|
+
s = g.slice(l, c), ++c, (a = ne()) && !/^[gmi]*$/.test(a) && r(l, "Invalid regexp flag");
|
|
415
415
|
try {
|
|
416
416
|
var F = new RegExp(s, a);
|
|
417
|
-
} catch (
|
|
418
|
-
throw
|
|
417
|
+
} catch (H) {
|
|
418
|
+
throw H instanceof SyntaxError && r(l, H.message), H;
|
|
419
419
|
}
|
|
420
420
|
u(Bn, F);
|
|
421
421
|
}
|
|
422
|
-
function
|
|
423
|
-
for (var l = c, d = 0, F = a === void 0 ? 1 / 0 : a,
|
|
422
|
+
function N(s, a) {
|
|
423
|
+
for (var l = c, d = 0, F = a === void 0 ? 1 / 0 : a, H = 0; H < F; ++H) {
|
|
424
424
|
var Y = g.charCodeAt(c);
|
|
425
425
|
if (Y = 97 <= Y ? Y - 97 + 10 : 65 <= Y ? Y - 65 + 10 : 48 <= Y && 57 >= Y ? Y - 48 : 1 / 0, Y >= s)
|
|
426
426
|
break;
|
|
@@ -430,21 +430,21 @@ var x, xo = function(e) {
|
|
|
430
430
|
}
|
|
431
431
|
function R(s) {
|
|
432
432
|
var a = c, l = !1, d = g.charCodeAt(c) === 48;
|
|
433
|
-
s ||
|
|
433
|
+
s || N(10) !== null || r(a, "Invalid number"), g.charCodeAt(c) === 46 && (++c, N(10), l = !0), s = g.charCodeAt(c), (s === 69 || s === 101) && (s = g.charCodeAt(++c), s !== 43 && s !== 45 || ++c, N(10) === null && r(a, "Invalid number"), l = !0), n(g.charCodeAt(c)) && r(c, "Identifier directly after number"), s = g.slice(a, c);
|
|
434
434
|
var F;
|
|
435
435
|
l ? F = parseFloat(s) : d && s.length !== 1 ? /[89]/.test(s) || Z ? r(a, "Invalid number") : F = parseInt(s, 8) : F = parseInt(s, 10), u(ze, F);
|
|
436
436
|
}
|
|
437
|
-
function
|
|
438
|
-
return s =
|
|
437
|
+
function _(s) {
|
|
438
|
+
return s = N(16, s), s === null && r(W, "Bad character escape sequence"), s;
|
|
439
439
|
}
|
|
440
|
-
function
|
|
440
|
+
function ne() {
|
|
441
441
|
je = !1;
|
|
442
442
|
for (var s, a = !0, l = c; ; ) {
|
|
443
443
|
var d = g.charCodeAt(c);
|
|
444
444
|
if (t(d))
|
|
445
445
|
je && (s += g.charAt(c)), ++c;
|
|
446
446
|
else if (d === 92) {
|
|
447
|
-
je || (s = g.slice(l, c)), je = !0, g.charCodeAt(++c) !== 117 && r(c, "Expecting Unicode escape sequence \\uXXXX"), ++c, d =
|
|
447
|
+
je || (s = g.slice(l, c)), je = !0, g.charCodeAt(++c) !== 117 && r(c, "Expecting Unicode escape sequence \\uXXXX"), ++c, d = _(4);
|
|
448
448
|
var F = String.fromCharCode(d);
|
|
449
449
|
F || r(c - 1, "Invalid Unicode escape"), (a ? n(d) : t(d)) || r(c - 4, "Invalid Unicode escape"), s += F;
|
|
450
450
|
} else
|
|
@@ -454,11 +454,11 @@ var x, xo = function(e) {
|
|
|
454
454
|
return je ? s : g.slice(l, c);
|
|
455
455
|
}
|
|
456
456
|
function Fe() {
|
|
457
|
-
var s =
|
|
457
|
+
var s = ne(), a = Te;
|
|
458
458
|
!je && co(s) && (a = Zr[s]), u(a, s);
|
|
459
459
|
}
|
|
460
|
-
function
|
|
461
|
-
|
|
460
|
+
function k() {
|
|
461
|
+
Mt = W, be = xe, Wt = Ut, v();
|
|
462
462
|
}
|
|
463
463
|
function Me(s) {
|
|
464
464
|
if (Z = s, c = W, B.C)
|
|
@@ -471,33 +471,33 @@ var x, xo = function(e) {
|
|
|
471
471
|
this.type = null, this.start = W, this.end = null;
|
|
472
472
|
}
|
|
473
473
|
function oe() {
|
|
474
|
-
this.start =
|
|
474
|
+
this.start = _t, this.end = null, Nt && (this.source = Nt);
|
|
475
475
|
}
|
|
476
476
|
function j() {
|
|
477
477
|
var s = new We();
|
|
478
478
|
return B.C && (s.X = new oe()), B.vb && (s.sourceFile = B.vb), B.Xa && (s.j = [W, 0]), s;
|
|
479
479
|
}
|
|
480
|
-
function
|
|
480
|
+
function Ce(s) {
|
|
481
481
|
var a = new We();
|
|
482
482
|
return a.start = s.start, B.C && (a.X = new oe(), a.X.start = s.X.start), B.Xa && (a.j = [s.j[0], 0]), a;
|
|
483
483
|
}
|
|
484
484
|
function w(s, a) {
|
|
485
|
-
return s.type = a, s.end =
|
|
485
|
+
return s.type = a, s.end = be, B.C && (s.X.end = Wt), B.Xa && (s.j[1] = be), s;
|
|
486
486
|
}
|
|
487
|
-
function
|
|
487
|
+
function xt(s) {
|
|
488
488
|
return s.type === "ExpressionStatement" && s.la.type === "Literal" && s.la.value === "use strict";
|
|
489
489
|
}
|
|
490
490
|
function O(s) {
|
|
491
|
-
return S === s ? (
|
|
491
|
+
return S === s ? (k(), !0) : !1;
|
|
492
492
|
}
|
|
493
493
|
function dt() {
|
|
494
|
-
return !B.fc && (S ===
|
|
494
|
+
return !B.fc && (S === Vt || S === Re || vt.test(g.slice(be, W)));
|
|
495
495
|
}
|
|
496
496
|
function we() {
|
|
497
497
|
O(de) || dt() || ae();
|
|
498
498
|
}
|
|
499
|
-
function
|
|
500
|
-
S === s ?
|
|
499
|
+
function U(s) {
|
|
500
|
+
S === s ? k() : ae();
|
|
501
501
|
}
|
|
502
502
|
function ae() {
|
|
503
503
|
r(W, "Unexpected token");
|
|
@@ -506,196 +506,196 @@ var x, xo = function(e) {
|
|
|
506
506
|
s.type !== "Identifier" && s.type !== "MemberExpression" && r(s.start, "Assigning to rvalue"), Z && s.type === "Identifier" && yt(s.name) && r(s.start, "Assigning to " + s.name + " in strict mode");
|
|
507
507
|
}
|
|
508
508
|
function ie() {
|
|
509
|
-
(S === Xn || S === De &&
|
|
509
|
+
(S === Xn || S === De && re === "/=") && v(!0);
|
|
510
510
|
var s = S, a = j();
|
|
511
511
|
switch (s) {
|
|
512
|
-
case
|
|
512
|
+
case Lt:
|
|
513
513
|
case In:
|
|
514
|
-
|
|
515
|
-
var l = s ===
|
|
514
|
+
k();
|
|
515
|
+
var l = s === Lt;
|
|
516
516
|
O(de) || dt() ? a.label = null : S !== Te ? ae() : (a.label = le(), we());
|
|
517
|
-
for (var d = 0; d <
|
|
518
|
-
var F =
|
|
517
|
+
for (var d = 0; d < M.length; ++d) {
|
|
518
|
+
var F = M[d];
|
|
519
519
|
if ((a.label === null || F.name === a.label.name) && (F.kind !== null && (l || F.kind === "loop") || a.label && l))
|
|
520
520
|
break;
|
|
521
521
|
}
|
|
522
|
-
return d ===
|
|
522
|
+
return d === M.length && r(a.start, "Unsyntactic " + s.l), w(a, l ? "BreakStatement" : "ContinueStatement");
|
|
523
523
|
case xn:
|
|
524
|
-
return
|
|
524
|
+
return k(), we(), w(a, "DebuggerStatement");
|
|
525
525
|
case Rn:
|
|
526
|
-
return
|
|
527
|
-
case Pn:
|
|
528
|
-
return b(), _.push(Yt), N(pe), S === de ? xt(a, null) : S === Gt ? (s = j(), b(), Fn(s, !0), w(s, "VariableDeclaration"), s.fa.length === 1 && O(gt) ? Sn(a, s) : xt(a, s)) : (s = z(!1, !0), O(gt) ? (ht(s), Sn(a, s)) : xt(a, s));
|
|
529
|
-
case Ht:
|
|
530
|
-
return b(), Ot(a, !0);
|
|
526
|
+
return k(), M.push(qt), a.body = ie(), M.pop(), U(Xt), a.test = Ve(), we(), w(a, "DoWhileStatement");
|
|
531
527
|
case $n:
|
|
532
|
-
return
|
|
533
|
-
case Nn:
|
|
534
|
-
return Ge || B.Ib || r(W, "'return' outside of function"), b(), O(de) || dt() ? a.K = null : (a.K = z(), we()), w(a, "ReturnStatement");
|
|
528
|
+
return k(), M.push(qt), U(pe), S === de ? Tt(a, null) : S === zt ? (s = j(), k(), Fn(s, !0), w(s, "VariableDeclaration"), s.fa.length === 1 && O(gt) ? Sn(a, s) : Tt(a, s)) : (s = z(!1, !0), O(gt) ? (ht(s), Sn(a, s)) : Tt(a, s));
|
|
535
529
|
case Kt:
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
return
|
|
530
|
+
return k(), $t(a, !0);
|
|
531
|
+
case Pn:
|
|
532
|
+
return k(), a.test = Ve(), a.da = ie(), a.alternate = O(jn) ? ie() : null, w(a, "IfStatement");
|
|
533
|
+
case Nn:
|
|
534
|
+
return Ge || B.Ib || r(W, "'return' outside of function"), k(), O(de) || dt() ? a.K = null : (a.K = z(), we()), w(a, "ReturnStatement");
|
|
535
|
+
case Gt:
|
|
536
|
+
for (k(), a.Qb = Ve(), a.tb = [], U(Xe), M.push(fo); S !== Re; )
|
|
537
|
+
S === Ht || S === Tn ? (s = S === Ht, d && w(d, "SwitchCase"), a.tb.push(d = j()), d.da = [], k(), s ? d.test = z() : (l && r(Mt, "Multiple default clauses"), l = !0, d.test = null), U(Je)) : (d || ae(), d.da.push(ie()));
|
|
538
|
+
return d && w(d, "SwitchCase"), k(), M.pop(), w(a, "SwitchStatement");
|
|
539
539
|
case _n:
|
|
540
|
-
return
|
|
540
|
+
return k(), vt.test(g.slice(be, W)) && r(be, "Illegal newline after throw"), a.K = z(), we(), w(a, "ThrowStatement");
|
|
541
541
|
case Un:
|
|
542
|
-
return
|
|
543
|
-
case Gt:
|
|
544
|
-
return b(), Fn(a), we(), w(a, "VariableDeclaration");
|
|
542
|
+
return k(), a.block = Le(), a.Ea = null, S === Dn && (s = j(), k(), U(pe), s.Ua = le(), Z && yt(s.Ua.name) && r(s.Ua.start, "Binding " + s.Ua.name + " in strict mode"), U(se), s.body = Le(), a.Ea = w(s, "CatchClause")), a.fb = O(On) ? Le() : null, a.Ea || a.fb || r(a.start, "Missing catch or finally clause"), w(a, "TryStatement");
|
|
545
543
|
case zt:
|
|
546
|
-
return
|
|
544
|
+
return k(), Fn(a), we(), w(a, "VariableDeclaration");
|
|
545
|
+
case Xt:
|
|
546
|
+
return k(), a.test = Ve(), M.push(qt), a.body = ie(), M.pop(), w(a, "WhileStatement");
|
|
547
547
|
case Mn:
|
|
548
|
-
return Z && r(W, "'with' in strict mode"),
|
|
548
|
+
return Z && r(W, "'with' in strict mode"), k(), a.object = Ve(), a.body = ie(), w(a, "WithStatement");
|
|
549
549
|
case Xe:
|
|
550
550
|
return Le();
|
|
551
551
|
case de:
|
|
552
|
-
return
|
|
552
|
+
return k(), w(a, "EmptyStatement");
|
|
553
553
|
default:
|
|
554
|
-
if (l =
|
|
555
|
-
for (d = 0; d <
|
|
556
|
-
|
|
557
|
-
return
|
|
554
|
+
if (l = re, F = z(), s === Te && F.type === "Identifier" && O(Je)) {
|
|
555
|
+
for (d = 0; d < M.length; ++d)
|
|
556
|
+
M[d].name === l && r(F.start, "Label '" + l + "' is already declared");
|
|
557
|
+
return M.push({
|
|
558
558
|
name: l,
|
|
559
|
-
kind: S.W ? "loop" : S ===
|
|
560
|
-
}), a.body = ie(),
|
|
559
|
+
kind: S.W ? "loop" : S === Gt ? "switch" : null
|
|
560
|
+
}), a.body = ie(), M.pop(), a.label = F, w(a, "LabeledStatement");
|
|
561
561
|
}
|
|
562
562
|
return a.la = F, we(), w(a, "ExpressionStatement");
|
|
563
563
|
}
|
|
564
564
|
}
|
|
565
565
|
function Ve() {
|
|
566
|
-
|
|
566
|
+
U(pe);
|
|
567
567
|
var s = z();
|
|
568
|
-
return
|
|
568
|
+
return U(se), s;
|
|
569
569
|
}
|
|
570
570
|
function Le(s) {
|
|
571
571
|
var a = j(), l = !0, d = !1;
|
|
572
|
-
for (a.body = [],
|
|
572
|
+
for (a.body = [], U(Xe); !O(Re); ) {
|
|
573
573
|
var F = ie();
|
|
574
|
-
if (a.body.push(F), l && s &&
|
|
575
|
-
var
|
|
574
|
+
if (a.body.push(F), l && s && xt(F)) {
|
|
575
|
+
var H = d;
|
|
576
576
|
Me(d = !0);
|
|
577
577
|
}
|
|
578
578
|
l = !1;
|
|
579
579
|
}
|
|
580
|
-
return d && !
|
|
580
|
+
return d && !H && Me(!1), w(a, "BlockStatement");
|
|
581
581
|
}
|
|
582
|
-
function
|
|
583
|
-
return s.ua = a,
|
|
582
|
+
function Tt(s, a) {
|
|
583
|
+
return s.ua = a, U(de), s.test = S === de ? null : z(), U(de), s.update = S === se ? null : z(), U(se), s.body = ie(), M.pop(), w(s, "ForStatement");
|
|
584
584
|
}
|
|
585
585
|
function Sn(s, a) {
|
|
586
|
-
return s.left = a, s.right = z(),
|
|
586
|
+
return s.left = a, s.right = z(), U(se), s.body = ie(), M.pop(), w(s, "ForInStatement");
|
|
587
587
|
}
|
|
588
588
|
function Fn(s, a) {
|
|
589
589
|
for (s.fa = [], s.kind = "var"; ; ) {
|
|
590
590
|
var l = j();
|
|
591
|
-
if (l.id = le(), Z && yt(l.id.name) && r(l.id.start, "Binding " + l.id.name + " in strict mode"), l.ua = O(Jn) ? z(!0, a) : null, s.fa.push(w(l, "VariableDeclarator")), !O(
|
|
591
|
+
if (l.id = le(), Z && yt(l.id.name) && r(l.id.start, "Binding " + l.id.name + " in strict mode"), l.ua = O(Jn) ? z(!0, a) : null, s.fa.push(w(l, "VariableDeclarator")), !O(ke))
|
|
592
592
|
break;
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
595
|
function z(s, a) {
|
|
596
|
-
var l =
|
|
597
|
-
if (!s && S ===
|
|
598
|
-
for (s =
|
|
599
|
-
s.xb.push(
|
|
596
|
+
var l = Rt(a);
|
|
597
|
+
if (!s && S === ke) {
|
|
598
|
+
for (s = Ce(l), s.xb = [l]; O(ke); )
|
|
599
|
+
s.xb.push(Rt(a));
|
|
600
600
|
return w(s, "SequenceExpression");
|
|
601
601
|
}
|
|
602
602
|
return l;
|
|
603
603
|
}
|
|
604
|
-
function
|
|
605
|
-
var a =
|
|
604
|
+
function Rt(s) {
|
|
605
|
+
var a = jt(Ot(), -1, s);
|
|
606
606
|
if (O(zn)) {
|
|
607
|
-
var l =
|
|
608
|
-
l.test = a, l.da = z(!0),
|
|
607
|
+
var l = Ce(a);
|
|
608
|
+
l.test = a, l.da = z(!0), U(Je), l.alternate = z(!0, s), a = w(l, "ConditionalExpression");
|
|
609
609
|
}
|
|
610
|
-
return S.Cb ? (l =
|
|
610
|
+
return S.Cb ? (l = Ce(a), l.operator = re, l.left = a, k(), l.right = Rt(s), ht(a), w(l, "AssignmentExpression")) : a;
|
|
611
611
|
}
|
|
612
|
-
function
|
|
612
|
+
function jt(s, a, l) {
|
|
613
613
|
var d = S.L;
|
|
614
614
|
if (d !== null && (!l || S !== gt) && d > a) {
|
|
615
|
-
var F =
|
|
616
|
-
return F.left = s, F.operator =
|
|
615
|
+
var F = Ce(s);
|
|
616
|
+
return F.left = s, F.operator = re, s = S, k(), F.right = jt(Ot(), d, l), d = w(F, s === qn || s === Qn ? "LogicalExpression" : "BinaryExpression"), jt(d, a, l);
|
|
617
617
|
}
|
|
618
618
|
return s;
|
|
619
619
|
}
|
|
620
|
-
function
|
|
620
|
+
function Ot() {
|
|
621
621
|
if (S.prefix) {
|
|
622
622
|
var s = j(), a = S.$b;
|
|
623
|
-
return s.operator =
|
|
623
|
+
return s.operator = re, Ke = s.prefix = !0, k(), s.K = Ot(), a ? ht(s.K) : Z && s.operator === "delete" && s.K.type === "Identifier" && r(s.start, "Deleting local variable in strict mode"), w(s, a ? "UpdateExpression" : "UnaryExpression");
|
|
624
624
|
}
|
|
625
625
|
for (a = He(ft()); S.cc && !dt(); )
|
|
626
|
-
s =
|
|
626
|
+
s = Ce(a), s.operator = re, s.prefix = !1, s.K = a, ht(a), k(), a = w(s, "UpdateExpression");
|
|
627
627
|
return a;
|
|
628
628
|
}
|
|
629
629
|
function He(s, a) {
|
|
630
630
|
if (O(Gn)) {
|
|
631
|
-
var l =
|
|
631
|
+
var l = Ce(s);
|
|
632
632
|
return l.object = s, l.Wa = le(!0), l.bb = !1, He(w(l, "MemberExpression"), a);
|
|
633
633
|
}
|
|
634
|
-
return O(
|
|
634
|
+
return O(Jt) ? (l = Ce(s), l.object = s, l.Wa = z(), l.bb = !0, U(Yt), He(w(l, "MemberExpression"), a)) : !a && O(pe) ? (l = Ce(s), l.callee = s, l.arguments = Pt(se, !1), He(w(l, "CallExpression"), a)) : s;
|
|
635
635
|
}
|
|
636
636
|
function ft() {
|
|
637
637
|
switch (S) {
|
|
638
638
|
case Vn:
|
|
639
639
|
var s = j();
|
|
640
|
-
return
|
|
640
|
+
return k(), w(s, "ThisExpression");
|
|
641
641
|
case Te:
|
|
642
642
|
return le();
|
|
643
643
|
case ze:
|
|
644
644
|
case mt:
|
|
645
645
|
case Bn:
|
|
646
|
-
return s = j(), s.value =
|
|
646
|
+
return s = j(), s.value = re, s.raw = g.slice(W, xe), k(), w(s, "Literal");
|
|
647
647
|
case Ln:
|
|
648
648
|
case Hn:
|
|
649
649
|
case Kn:
|
|
650
|
-
return s = j(), s.value = S.$a, s.raw = S.l,
|
|
650
|
+
return s = j(), s.value = S.$a, s.raw = S.l, k(), w(s, "Literal");
|
|
651
651
|
case pe:
|
|
652
|
-
s =
|
|
652
|
+
s = _t;
|
|
653
653
|
var a = W;
|
|
654
|
-
|
|
654
|
+
k();
|
|
655
655
|
var l = z();
|
|
656
|
-
return l.start = a, l.end = xe, B.C && (l.X.start = s, l.X.end =
|
|
657
|
-
case
|
|
658
|
-
return s = j(),
|
|
656
|
+
return l.start = a, l.end = xe, B.C && (l.X.start = s, l.X.end = Ut), B.Xa && (l.j = [a, xe]), U(se), l;
|
|
657
|
+
case Jt:
|
|
658
|
+
return s = j(), k(), s.elements = Pt(Yt, !0, !0), w(s, "ArrayExpression");
|
|
659
659
|
case Xe:
|
|
660
|
-
for (s = j(), a = !0, l = !1, s.h = [],
|
|
660
|
+
for (s = j(), a = !0, l = !1, s.h = [], k(); !O(Re); ) {
|
|
661
661
|
if (a)
|
|
662
662
|
a = !1;
|
|
663
|
-
else if (
|
|
663
|
+
else if (U(ke), B.sb && O(Re))
|
|
664
664
|
break;
|
|
665
665
|
var d = {
|
|
666
666
|
key: S === ze || S === mt ? ft() : le(!0)
|
|
667
667
|
}, F = !1;
|
|
668
668
|
if (O(Je)) {
|
|
669
669
|
d.value = z(!0);
|
|
670
|
-
var
|
|
670
|
+
var H = d.kind = "init";
|
|
671
671
|
} else
|
|
672
|
-
d.key.type !== "Identifier" || d.key.name !== "get" && d.key.name !== "set" ? ae() : (F = l = !0,
|
|
672
|
+
d.key.type !== "Identifier" || d.key.name !== "get" && d.key.name !== "set" ? ae() : (F = l = !0, H = d.kind = d.key.name, d.key = S === ze || S === mt ? ft() : le(!0), S !== pe && ae(), d.value = $t(j(), !1));
|
|
673
673
|
if (d.key.type === "Identifier" && (Z || l))
|
|
674
674
|
for (var Y = 0; Y < s.h.length; ++Y) {
|
|
675
675
|
var Oe = s.h[Y];
|
|
676
676
|
if (Oe.key.name === d.key.name) {
|
|
677
|
-
var
|
|
678
|
-
|
|
677
|
+
var Qt = H === Oe.kind || F && Oe.kind === "init" || H === "init" && (Oe.kind === "get" || Oe.kind === "set");
|
|
678
|
+
Qt && !Z && H === "init" && Oe.kind === "init" && (Qt = !1), Qt && r(d.key.start, "Redefinition of property");
|
|
679
679
|
}
|
|
680
680
|
}
|
|
681
681
|
s.h.push(d);
|
|
682
682
|
}
|
|
683
683
|
return w(s, "ObjectExpression");
|
|
684
|
-
case
|
|
685
|
-
return s = j(),
|
|
684
|
+
case Kt:
|
|
685
|
+
return s = j(), k(), $t(s, !1);
|
|
686
686
|
case Wn:
|
|
687
|
-
return s = j(),
|
|
687
|
+
return s = j(), k(), s.callee = He(ft(), !0), s.arguments = O(pe) ? Pt(se, !1) : Qr, w(s, "NewExpression");
|
|
688
688
|
}
|
|
689
689
|
ae();
|
|
690
690
|
}
|
|
691
|
-
function
|
|
691
|
+
function $t(s, a) {
|
|
692
692
|
S === Te ? s.id = le() : a ? ae() : s.id = null, s.oa = [];
|
|
693
693
|
var l = !0;
|
|
694
|
-
for (
|
|
695
|
-
l ? l = !1 :
|
|
694
|
+
for (U(pe); !O(se); )
|
|
695
|
+
l ? l = !1 : U(ke), s.oa.push(le());
|
|
696
696
|
l = Ge;
|
|
697
|
-
var d =
|
|
698
|
-
if (Ge = !0,
|
|
697
|
+
var d = M;
|
|
698
|
+
if (Ge = !0, M = [], s.body = Le(!0), Ge = l, M = d, Z || s.body.body.length && xt(s.body.body[0])) {
|
|
699
699
|
for (l = s.id ? -1 : 0; l < s.oa.length; ++l)
|
|
700
700
|
if (d = 0 > l ? s.id : s.oa[l], (Zn(d.name) || yt(d.name)) && r(d.start, "Defining '" + d.name + "' in strict mode"), 0 <= l)
|
|
701
701
|
for (var F = 0; F < l; ++F)
|
|
@@ -707,24 +707,24 @@ var x, xo = function(e) {
|
|
|
707
707
|
for (var d = [], F = !0; !O(s); ) {
|
|
708
708
|
if (F)
|
|
709
709
|
F = !1;
|
|
710
|
-
else if (
|
|
710
|
+
else if (U(ke), a && B.sb && O(s))
|
|
711
711
|
break;
|
|
712
|
-
d.push(l && S ===
|
|
712
|
+
d.push(l && S === ke ? null : z(!0));
|
|
713
713
|
}
|
|
714
714
|
return d;
|
|
715
715
|
}
|
|
716
716
|
function le(s) {
|
|
717
717
|
var a = j();
|
|
718
|
-
return s && B.yb === "everywhere" && (s = !1), S === Te ? (!s && (B.yb && lo(
|
|
718
|
+
return s && B.yb === "everywhere" && (s = !1), S === Te ? (!s && (B.yb && lo(re) || Z && Zn(re)) && g.slice(W, xe).indexOf("\\") === -1 && r(W, "The keyword '" + re + "' is reserved"), a.name = re) : s && S.l ? a.name = S.l : ae(), Ke = !1, k(), w(a, "Identifier");
|
|
719
719
|
}
|
|
720
720
|
e.version = "0.5.0";
|
|
721
|
-
var B, g = "", Ie,
|
|
721
|
+
var B, g = "", Ie, Nt;
|
|
722
722
|
e.parse = function(s, a) {
|
|
723
723
|
g = String(s), Ie = g.length, B = a || {};
|
|
724
724
|
for (var l in wn)
|
|
725
725
|
Object.prototype.hasOwnProperty.call(B, l) || (B[l] = wn[l]);
|
|
726
|
-
for (
|
|
727
|
-
l = ie(), s.body.push(l), a &&
|
|
726
|
+
for (Nt = B.sourceFile, Be = 1, c = ce = 0, Ke = !0, h(), l = B.dc, Mt = be = c, B.C && (Wt = new i()), Ge = Z = !1, M = [], v(), s = l || j(), a = !0, l || (s.body = []); S !== Vt; )
|
|
727
|
+
l = ie(), s.body.push(l), a && xt(l) && Me(!0), a = !1;
|
|
728
728
|
return w(s, "Program");
|
|
729
729
|
};
|
|
730
730
|
var wn = {
|
|
@@ -738,7 +738,7 @@ var x, xo = function(e) {
|
|
|
738
738
|
dc: null,
|
|
739
739
|
sourceFile: null,
|
|
740
740
|
vb: null
|
|
741
|
-
}, c = 0, W = 0, xe = 0,
|
|
741
|
+
}, c = 0, W = 0, xe = 0, _t, Ut, S, re, Ke, Be, ce, Mt = 0, be = 0, Wt, Ge, M, Z, Qr = [], ze = {
|
|
742
742
|
type: "num"
|
|
743
743
|
}, Bn = {
|
|
744
744
|
type: "regexp"
|
|
@@ -746,11 +746,11 @@ var x, xo = function(e) {
|
|
|
746
746
|
type: "string"
|
|
747
747
|
}, Te = {
|
|
748
748
|
type: "name"
|
|
749
|
-
}, Wt = {
|
|
750
|
-
type: "eof"
|
|
751
749
|
}, Vt = {
|
|
752
|
-
|
|
750
|
+
type: "eof"
|
|
753
751
|
}, Lt = {
|
|
752
|
+
l: "break"
|
|
753
|
+
}, Ht = {
|
|
754
754
|
l: "case",
|
|
755
755
|
m: !0
|
|
756
756
|
}, Dn = {
|
|
@@ -769,26 +769,26 @@ var x, xo = function(e) {
|
|
|
769
769
|
m: !0
|
|
770
770
|
}, On = {
|
|
771
771
|
l: "finally"
|
|
772
|
-
},
|
|
772
|
+
}, $n = {
|
|
773
773
|
l: "for",
|
|
774
774
|
W: !0
|
|
775
|
-
},
|
|
775
|
+
}, Kt = {
|
|
776
776
|
l: "function"
|
|
777
|
-
},
|
|
777
|
+
}, Pn = {
|
|
778
778
|
l: "if"
|
|
779
779
|
}, Nn = {
|
|
780
780
|
l: "return",
|
|
781
781
|
m: !0
|
|
782
|
-
},
|
|
782
|
+
}, Gt = {
|
|
783
783
|
l: "switch"
|
|
784
784
|
}, _n = {
|
|
785
785
|
l: "throw",
|
|
786
786
|
m: !0
|
|
787
787
|
}, Un = {
|
|
788
788
|
l: "try"
|
|
789
|
-
}, Gt = {
|
|
790
|
-
l: "var"
|
|
791
789
|
}, zt = {
|
|
790
|
+
l: "var"
|
|
791
|
+
}, Xt = {
|
|
792
792
|
l: "while",
|
|
793
793
|
W: !0
|
|
794
794
|
}, Mn = {
|
|
@@ -812,8 +812,8 @@ var x, xo = function(e) {
|
|
|
812
812
|
L: 7,
|
|
813
813
|
m: !0
|
|
814
814
|
}, Zr = {
|
|
815
|
-
break:
|
|
816
|
-
case:
|
|
815
|
+
break: Lt,
|
|
816
|
+
case: Ht,
|
|
817
817
|
catch: Dn,
|
|
818
818
|
continue: In,
|
|
819
819
|
debugger: xn,
|
|
@@ -821,15 +821,15 @@ var x, xo = function(e) {
|
|
|
821
821
|
do: Rn,
|
|
822
822
|
else: jn,
|
|
823
823
|
finally: On,
|
|
824
|
-
for:
|
|
825
|
-
function:
|
|
826
|
-
if:
|
|
824
|
+
for: $n,
|
|
825
|
+
function: Kt,
|
|
826
|
+
if: Pn,
|
|
827
827
|
return: Nn,
|
|
828
|
-
switch:
|
|
828
|
+
switch: Gt,
|
|
829
829
|
throw: _n,
|
|
830
830
|
try: Un,
|
|
831
|
-
var:
|
|
832
|
-
while:
|
|
831
|
+
var: zt,
|
|
832
|
+
while: Xt,
|
|
833
833
|
with: Mn,
|
|
834
834
|
null: Ln,
|
|
835
835
|
true: Hn,
|
|
@@ -857,10 +857,10 @@ var x, xo = function(e) {
|
|
|
857
857
|
prefix: !0,
|
|
858
858
|
m: !0
|
|
859
859
|
}
|
|
860
|
-
},
|
|
860
|
+
}, Jt = {
|
|
861
861
|
type: "[",
|
|
862
862
|
m: !0
|
|
863
|
-
},
|
|
863
|
+
}, Yt = {
|
|
864
864
|
type: "]"
|
|
865
865
|
}, Xe = {
|
|
866
866
|
type: "{",
|
|
@@ -872,7 +872,7 @@ var x, xo = function(e) {
|
|
|
872
872
|
m: !0
|
|
873
873
|
}, se = {
|
|
874
874
|
type: ")"
|
|
875
|
-
},
|
|
875
|
+
}, ke = {
|
|
876
876
|
type: ",",
|
|
877
877
|
m: !0
|
|
878
878
|
}, de = {
|
|
@@ -933,13 +933,13 @@ var x, xo = function(e) {
|
|
|
933
933
|
}, ao = {
|
|
934
934
|
L: 10,
|
|
935
935
|
m: !0
|
|
936
|
-
}, lo = o("class enum extends super const export import"), Zn = o("implements interface let package private protected public static yield"), yt = o("eval arguments"), co = 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"), po = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, er = RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]"), ho = RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\u0300-\u036F\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u0620-\u0649\u0672-\u06D3\u06E7-\u06E8\u06FB-\u06FC\u0730-\u074A\u0800-\u0814\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0840-\u0857\u08E4-\u08FE\u0900-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962-\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09D7\u09DF-\u09E0\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2-\u0AE3\u0AE6-\u0AEF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5F-\u0B60\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C01-\u0C03\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62-\u0C63\u0C66-\u0C6F\u0C82\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2-\u0CE3\u0CE6-\u0CEF\u0D02\u0D03\u0D46-\u0D48\u0D57\u0D62-\u0D63\u0D66-\u0D6F\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E34-\u0E3A\u0E40-\u0E45\u0E50-\u0E59\u0EB4-\u0EB9\u0EC8-\u0ECD\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F41-\u0F47\u0F71-\u0F84\u0F86-\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1029\u1040-\u1049\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u170E-\u1710\u1720-\u1730\u1740-\u1750\u1772\u1773\u1780-\u17B2\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1920-\u192B\u1930-\u193B\u1951-\u196D\u19B0-\u19C0\u19C8-\u19C9\u19D0-\u19D9\u1A00-\u1A15\u1A20-\u1A53\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1B46-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C00-\u1C22\u1C40-\u1C49\u1C5B-\u1C7D\u1CD0-\u1CD2\u1D00-\u1DBE\u1E01-\u1F15\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2D81-\u2D96\u2DE0-\u2DFF\u3021-\u3028\u3099\u309A\uA640-\uA66D\uA674-\uA67D\uA69F\uA6F0-\uA6F1\uA7F8-\uA800\uA806\uA80B\uA823-\uA827\uA880-\uA881\uA8B4-\uA8C4\uA8D0-\uA8D9\uA8F3-\uA8F7\uA900-\uA909\uA926-\uA92D\uA930-\uA945\uA980-\uA983\uA9B3-\uA9C0\uAA00-\uAA27\uAA40-\uAA41\uAA4C-\uAA4D\uAA50-\uAA59\uAA7B\uAAE0-\uAAE9\uAAF2-\uAAF3\uABC0-\uABE1\uABEC\uABED\uABF0-\uABF9\uFB20-\uFB28\uFE00-\uFE0F\uFE20-\uFE26\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F]"), vt = /[\n\r\u2028\u2029]/, At = /\r\n|[\n\r\u2028\u2029]/g, je, Yt = {
|
|
936
|
+
}, lo = o("class enum extends super const export import"), Zn = o("implements interface let package private protected public static yield"), yt = o("eval arguments"), co = 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"), po = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, er = RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]"), ho = RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\u0300-\u036F\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u0620-\u0649\u0672-\u06D3\u06E7-\u06E8\u06FB-\u06FC\u0730-\u074A\u0800-\u0814\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0840-\u0857\u08E4-\u08FE\u0900-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962-\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09D7\u09DF-\u09E0\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2-\u0AE3\u0AE6-\u0AEF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5F-\u0B60\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C01-\u0C03\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62-\u0C63\u0C66-\u0C6F\u0C82\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2-\u0CE3\u0CE6-\u0CEF\u0D02\u0D03\u0D46-\u0D48\u0D57\u0D62-\u0D63\u0D66-\u0D6F\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E34-\u0E3A\u0E40-\u0E45\u0E50-\u0E59\u0EB4-\u0EB9\u0EC8-\u0ECD\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F41-\u0F47\u0F71-\u0F84\u0F86-\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1029\u1040-\u1049\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u170E-\u1710\u1720-\u1730\u1740-\u1750\u1772\u1773\u1780-\u17B2\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1920-\u192B\u1930-\u193B\u1951-\u196D\u19B0-\u19C0\u19C8-\u19C9\u19D0-\u19D9\u1A00-\u1A15\u1A20-\u1A53\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1B46-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C00-\u1C22\u1C40-\u1C49\u1C5B-\u1C7D\u1CD0-\u1CD2\u1D00-\u1DBE\u1E01-\u1F15\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2D81-\u2D96\u2DE0-\u2DFF\u3021-\u3028\u3099\u309A\uA640-\uA66D\uA674-\uA67D\uA69F\uA6F0-\uA6F1\uA7F8-\uA800\uA806\uA80B\uA823-\uA827\uA880-\uA881\uA8B4-\uA8C4\uA8D0-\uA8D9\uA8F3-\uA8F7\uA900-\uA909\uA926-\uA92D\uA930-\uA945\uA980-\uA983\uA9B3-\uA9C0\uAA00-\uAA27\uAA40-\uAA41\uAA4C-\uAA4D\uAA50-\uAA59\uAA7B\uAAE0-\uAAE9\uAAF2-\uAAF3\uABC0-\uABE1\uABEC\uABED\uABF0-\uABF9\uFB20-\uFB28\uFE00-\uFE0F\uFE20-\uFE26\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F]"), vt = /[\n\r\u2028\u2029]/, At = /\r\n|[\n\r\u2028\u2029]/g, je, qt = {
|
|
937
937
|
kind: "loop"
|
|
938
938
|
}, fo = {
|
|
939
939
|
kind: "switch"
|
|
940
940
|
};
|
|
941
|
-
},
|
|
942
|
-
xo(
|
|
941
|
+
}, on = on = typeof globalThis > "u" ? void 0 : globalThis;
|
|
942
|
+
xo(on.j || (on.j = {}));
|
|
943
943
|
function f(e, t) {
|
|
944
944
|
typeof e == "string" && (e = Ne(e, "code"));
|
|
945
945
|
var n = e.constructor;
|
|
@@ -955,13 +955,13 @@ function f(e, t) {
|
|
|
955
955
|
var i, u;
|
|
956
956
|
for (u in this)
|
|
957
957
|
typeof this[u] == "function" && (i = u.match(e)) && (this.rb[i[1]] = this[u].bind(this));
|
|
958
|
-
this.N =
|
|
958
|
+
this.N = un(this, this.ra, null), this.Na = this.N.object, this.ra = Ne(this.ba.join(`
|
|
959
959
|
`), "polyfills"), this.ba = void 0, wt(this.ra), i = new A(this.ra, this.N), i.done = !1, this.o = [i], this.Eb(), this.value = void 0, this.ra = r, i = new A(this.ra, this.N), i.done = !1, this.o.length = 0, this.o[0] = i;
|
|
960
960
|
}
|
|
961
961
|
var nr = {
|
|
962
962
|
C: !0,
|
|
963
963
|
kc: 5
|
|
964
|
-
},
|
|
964
|
+
}, cn = {
|
|
965
965
|
configurable: !0,
|
|
966
966
|
enumerable: !0,
|
|
967
967
|
writable: !1
|
|
@@ -987,10 +987,10 @@ var nr = {
|
|
|
987
987
|
SCOPE_REFERENCE: !0
|
|
988
988
|
}, it = {
|
|
989
989
|
VALUE_IN_DESCRIPTOR: !0
|
|
990
|
-
},
|
|
990
|
+
}, $e = {
|
|
991
991
|
REGEXP_TIMEOUT: !0
|
|
992
992
|
}, or = [], fe = null, tt = null, Se = typeof globalThis > "u" ? void 0 : globalThis, To = ["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();", "};"];
|
|
993
|
-
function
|
|
993
|
+
function pn(e) {
|
|
994
994
|
var t = e >>> 0;
|
|
995
995
|
return t === Number(e) ? t : NaN;
|
|
996
996
|
}
|
|
@@ -1072,7 +1072,7 @@ x.Eb = function() {
|
|
|
1072
1072
|
return this.za;
|
|
1073
1073
|
};
|
|
1074
1074
|
function Ro(e, t) {
|
|
1075
|
-
e.g(t, "NaN", NaN, Ye), e.g(t, "Infinity", 1 / 0, Ye), e.g(t, "undefined", void 0, Ye), e.g(t, "window", t,
|
|
1075
|
+
e.g(t, "NaN", NaN, Ye), e.g(t, "Infinity", 1 / 0, Ye), e.g(t, "undefined", void 0, Ye), e.g(t, "window", t, cn), e.g(t, "this", t, Ye), e.g(t, "self", t), e.M = new D(null), e.Z = new D(e.M), jo(e, t), Oo(e, t), t.xa = e.M, e.g(t, "constructor", e.v, y), $o(e, t), Po(e, t), No(e, t), _o(e, t), Uo(e, t), Mo(e, t), Wo(e, t), Vo(e, t), Lo(e, t);
|
|
1076
1076
|
var n = e.i(function() {
|
|
1077
1077
|
throw EvalError("Can't happen");
|
|
1078
1078
|
}, !1);
|
|
@@ -1114,23 +1114,23 @@ function jo(e, t) {
|
|
|
1114
1114
|
} catch (v) {
|
|
1115
1115
|
C(e, e.T, "Invalid code: " + v.message);
|
|
1116
1116
|
}
|
|
1117
|
-
return m.body.length !== 1 && C(e, e.T, "Invalid code in function body"),
|
|
1117
|
+
return m.body.length !== 1 && C(e, e.T, "Invalid code in function body"), fn(e, m.body[0].la, e.N, "anonymous");
|
|
1118
1118
|
};
|
|
1119
1119
|
e.O = e.i(r, !0), e.g(t, "Function", e.O, y), e.g(e.O, "prototype", e.Z, y), e.g(e.Z, "constructor", e.O, y), e.Z.Ta = function() {
|
|
1120
1120
|
}, e.Z.Ta.id = e.Ya++, e.Z.Ab = !0, e.g(e.Z, "length", 0, Q), e.Z.H = "Function", r = function(o, i) {
|
|
1121
1121
|
var u = e.o[e.o.length - 1];
|
|
1122
1122
|
u.U = this, u.B = o, u.F = [], i != null && (i instanceof D ? u.F = wr(e, i) : C(e, e.j, "CreateListFromArrayLike called on non-object")), u.eb = !1;
|
|
1123
|
-
},
|
|
1123
|
+
}, K(e, e.O, "apply", r), r = function(o) {
|
|
1124
1124
|
var i = e.o[e.o.length - 1];
|
|
1125
1125
|
i.U = this, i.B = o, i.F = [];
|
|
1126
1126
|
for (var u = 1; u < arguments.length; u++)
|
|
1127
1127
|
i.F.push(arguments[u]);
|
|
1128
1128
|
i.eb = !1;
|
|
1129
|
-
},
|
|
1129
|
+
}, K(e, e.O, "call", r), e.ba.push("Object.defineProperty(Function.prototype, 'bind',", "{configurable: true, writable: true, value:", "function bind(oThis) {", "if (typeof this !== 'function') {", "throw TypeError('What is trying to be bound is not callable');", "}", "var aArgs = Array.prototype.slice.call(arguments, 1),", "fToBind = this,", "fNOP = function() {},", "fBound = function() {", "return fToBind.apply(this instanceof fNOP", "? this", ": oThis,", "aArgs.concat(Array.prototype.slice.call(arguments)));", "};", "if (this.prototype) {", "fNOP.prototype = this.prototype;", "}", "fBound.prototype = new fNOP();", "return fBound;", "}", "});", ""), r = function() {
|
|
1130
1130
|
return String(this);
|
|
1131
|
-
},
|
|
1131
|
+
}, K(e, e.O, "toString", r), e.g(e.O, "toString", e.i(r, !1), y), r = function() {
|
|
1132
1132
|
return this.valueOf();
|
|
1133
|
-
},
|
|
1133
|
+
}, K(e, e.O, "valueOf", r), e.g(e.O, "valueOf", e.i(r, !1), y);
|
|
1134
1134
|
}
|
|
1135
1135
|
function Oo(e, t) {
|
|
1136
1136
|
function n(o) {
|
|
@@ -1138,9 +1138,9 @@ function Oo(e, t) {
|
|
|
1138
1138
|
}
|
|
1139
1139
|
var r = function(o) {
|
|
1140
1140
|
if (o == null)
|
|
1141
|
-
return
|
|
1141
|
+
return ve(e) ? this : e.s(e.M);
|
|
1142
1142
|
if (!(o instanceof D)) {
|
|
1143
|
-
var i = e.s(
|
|
1143
|
+
var i = e.s(ye(e, o));
|
|
1144
1144
|
return i.data = o, i;
|
|
1145
1145
|
}
|
|
1146
1146
|
return o;
|
|
@@ -1159,29 +1159,29 @@ function Oo(e, t) {
|
|
|
1159
1159
|
return o = o.Y[i], i = e.s(e.M), p || o ? (e.g(i, "get", p), e.g(i, "set", o)) : (e.g(i, "value", u.value), e.g(i, "writable", u.writable)), e.g(i, "configurable", u.configurable), e.g(i, "enumerable", u.enumerable), i;
|
|
1160
1160
|
}
|
|
1161
1161
|
}, e.g(e.v, "getOwnPropertyDescriptor", e.i(r, !1), y), r = function(o) {
|
|
1162
|
-
return n(o),
|
|
1162
|
+
return n(o), ye(e, o);
|
|
1163
1163
|
}, e.g(e.v, "getPrototypeOf", e.i(r, !1), y), r = function(o) {
|
|
1164
1164
|
return !!o && !o.preventExtensions;
|
|
1165
1165
|
}, e.g(e.v, "isExtensible", e.i(r, !1), y), r = function(o) {
|
|
1166
1166
|
return o instanceof D && (o.preventExtensions = !0), o;
|
|
1167
|
-
}, e.g(e.v, "preventExtensions", e.i(r, !1), y),
|
|
1167
|
+
}, e.g(e.v, "preventExtensions", e.i(r, !1), y), K(e, e.v, "toString", D.prototype.toString), K(e, e.v, "toLocaleString", D.prototype.toString), K(e, e.v, "valueOf", D.prototype.valueOf), r = function(o) {
|
|
1168
1168
|
return n(this), this instanceof D ? String(o) in this.h : this.hasOwnProperty(o);
|
|
1169
|
-
},
|
|
1169
|
+
}, K(e, e.v, "hasOwnProperty", r), r = function(o) {
|
|
1170
1170
|
return n(this), this instanceof D ? Object.prototype.propertyIsEnumerable.call(this.h, o) : this.propertyIsEnumerable(o);
|
|
1171
|
-
},
|
|
1171
|
+
}, K(e, e.v, "propertyIsEnumerable", r), r = function(o) {
|
|
1172
1172
|
for (; ; ) {
|
|
1173
|
-
if (o =
|
|
1173
|
+
if (o = ye(e, o), !o)
|
|
1174
1174
|
return !1;
|
|
1175
1175
|
if (o === this)
|
|
1176
1176
|
return !0;
|
|
1177
1177
|
}
|
|
1178
|
-
},
|
|
1178
|
+
}, K(e, e.v, "isPrototypeOf", r);
|
|
1179
1179
|
}
|
|
1180
|
-
function
|
|
1180
|
+
function $o(e, t) {
|
|
1181
1181
|
var n = function(r) {
|
|
1182
|
-
var o =
|
|
1182
|
+
var o = ve(e) ? this : _e(e), i = arguments[0];
|
|
1183
1183
|
if (arguments.length === 1 && typeof i == "number")
|
|
1184
|
-
isNaN(
|
|
1184
|
+
isNaN(pn(i)) && C(e, e.ob, "Invalid array length: " + i), o.h.length = i;
|
|
1185
1185
|
else {
|
|
1186
1186
|
for (i = 0; i < arguments.length; i++)
|
|
1187
1187
|
o.h[i] = arguments[i];
|
|
@@ -1197,12 +1197,12 @@ function Po(e, t) {
|
|
|
1197
1197
|
writable: !0
|
|
1198
1198
|
}), e.La.H = "Array", e.ba.push("(function() {", "function createArrayMethod_(f) {", "Object.defineProperty(Array.prototype, f.name,", "{configurable: true, writable: true, value: f});", "}", "createArrayMethod_(", "function pop() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 0) {", "o.length = 0;", "return undefined;", "}", "len--;", "var x = o[len];", "delete o[len];", "o.length = len;", "return x;", "}", ");", "createArrayMethod_(", "function push(var_args) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "for (var i = 0; i < arguments.length; i++) {", "o[len] = arguments[i];", "len++;", "}", "o.length = len;", "return len;", "}", ");", "createArrayMethod_(", "function shift() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 0) {", "o.length = 0;", "return undefined;", "}", "var value = o[0];", "for (var i = 0; i < len - 1; i++) {", "if ((i + 1) in o) {", "o[i] = o[i + 1];", "} else {", "delete o[i];", "}", "}", "delete o[i];", "o.length = len - 1;", "return value;", "}", ");", "createArrayMethod_(", "function unshift(var_args) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 0) {", "len = 0;", "}", "for (var i = len - 1; i >= 0; i--) {", "if (i in o) {", "o[i + arguments.length] = o[i];", "} else {", "delete o[i + arguments.length];", "}", "}", "for (var i = 0; i < arguments.length; i++) {", "o[i] = arguments[i];", "}", "return (o.length = len + arguments.length);", "}", ");", "createArrayMethod_(", "function reverse() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 2) {", "return o;", "}", "for (var i = 0; i < len / 2 - 0.5; i++) {", "var x = o[i];", "var hasX = i in o;", "if ((len - i - 1) in o) {", "o[i] = o[len - i - 1];", "} else {", "delete o[i];", "}", "if (hasX) {", "o[len - i - 1] = x;", "} else {", "delete o[len - i - 1];", "}", "}", "return o;", "}", ");", "createArrayMethod_(", "function indexOf(searchElement, fromIndex) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var n = fromIndex | 0;", "if (!len || n >= len) {", "return -1;", "}", "var i = Math.max(n >= 0 ? n : len - Math.abs(n), 0);", "while (i < len) {", "if (i in o && o[i] === searchElement) {", "return i;", "}", "i++;", "}", "return -1;", "}", ");", "createArrayMethod_(", "function lastIndexOf(searchElement, fromIndex) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len) {", "return -1;", "}", "var n = len - 1;", "if (arguments.length > 1) {", "n = fromIndex | 0;", "if (n) {", "n = (n > 0 || -1) * Math.floor(Math.abs(n));", "}", "}", "var i = n >= 0 ? Math.min(n, len - 1) : len - Math.abs(n);", "while (i >= 0) {", "if (i in o && o[i] === searchElement) {", "return i;", "}", "i--;", "}", "return -1;", "}", ");", "createArrayMethod_(", "function slice(start, end) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "start |= 0;", "start = (start >= 0) ? start : Math.max(0, len + start);", "if (typeof end !== 'undefined') {", "if (end !== Infinity) {", "end |= 0;", "}", "if (end < 0) {", "end = len + end;", "} else {", "end = Math.min(end, len);", "}", "} else {", "end = len;", "}", "var size = end - start;", "var cloned = new Array(size);", "for (var i = 0; i < size; i++) {", "if ((start + i) in o) {", "cloned[i] = o[start + i];", "}", "}", "return cloned;", "}", ");", "createArrayMethod_(", "function splice(start, deleteCount, var_args) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "start |= 0;", "if (start < 0) {", "start = Math.max(len + start, 0);", "} else {", "start = Math.min(start, len);", "}", "if (arguments.length < 1) {", "deleteCount = len - start;", "} else {", "deleteCount |= 0;", "deleteCount = Math.max(0, Math.min(deleteCount, len - start));", "}", "var removed = [];", "for (var i = start; i < start + deleteCount; i++) {", "if (i in o) {", "removed.push(o[i]);", "} else {", "removed.length++;", "}", "if ((i + deleteCount) in o) {", "o[i] = o[i + deleteCount];", "} else {", "delete o[i];", "}", "}", "for (var i = start + deleteCount; i < len - deleteCount; i++) {", "if ((i + deleteCount) in o) {", "o[i] = o[i + deleteCount];", "} else {", "delete o[i];", "}", "}", "for (var i = len - deleteCount; i < len; i++) {", "delete o[i];", "}", "len -= deleteCount;", "var arl = arguments.length - 2;", "for (var i = len - 1; i >= start; i--) {", "if (i in o) {", "o[i + arl] = o[i];", "} else {", "delete o[i + arl];", "}", "}", "len += arl;", "for (var i = 2; i < arguments.length; i++) {", "o[start + i - 2] = arguments[i];", "}", "o.length = len;", "return removed;", "}", ");", "createArrayMethod_(", "function concat(var_args) {", "if (!this) throw TypeError();", "var o = Object(this);", "var cloned = [];", "for (var i = -1; i < arguments.length; i++) {", "var value = (i === -1) ? o : arguments[i];", "if (Array.isArray(value)) {", "for (var j = 0, l = value.length; j < l; j++) {", "if (j in value) {", "cloned.push(value[j]);", "} else {", "cloned.length++;", "}", "}", "} else {", "cloned.push(value);", "}", "}", "return cloned;", "}", ");", "createArrayMethod_(", "function join(opt_separator) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var sep = typeof opt_separator === 'undefined' ?", "',' : ('' + opt_separator);", "var str = '';", "for (var i = 0; i < len; i++) {", "if (i && sep) str += sep;", "str += (o[i] === null || o[i] === undefined) ? '' : o[i];", "}", "return str;", "}", ");", "createArrayMethod_(", "function every(callbackfn, thisArg) {", "if (!this || typeof callbackfn !== 'function') throw TypeError();", "var t, k = 0;", "var o = Object(this), len = o.length >>> 0;", "if (arguments.length > 1) t = thisArg;", "while (k < len) {", "if (k in o && !callbackfn.call(t, o[k], k, o)) return false;", "k++;", "}", "return true;", "}", ");", "createArrayMethod_(", "function filter(fun, var_args) {", "if (this === void 0 || this === null || typeof fun !== 'function') throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var res = [];", "var thisArg = arguments.length >= 2 ? arguments[1] : void 0;", "for (var i = 0; i < len; i++) {", "if (i in o) {", "var val = o[i];", "if (fun.call(thisArg, val, i, o)) res.push(val);", "}", "}", "return res;", "}", ");", "createArrayMethod_(", "function forEach(callback, thisArg) {", "if (!this || typeof callback !== 'function') throw TypeError();", "var t, k = 0;", "var o = Object(this), len = o.length >>> 0;", "if (arguments.length > 1) t = thisArg;", "while (k < len) {", "if (k in o) callback.call(t, o[k], k, o);", "k++;", "}", "}", ");", "createArrayMethod_(", "function map(callback, thisArg) {", "if (!this || typeof callback !== 'function') throw TypeError();", "var t, k = 0;", "var o = Object(this), len = o.length >>> 0;", "if (arguments.length > 1) t = thisArg;", "var a = new Array(len);", "while (k < len) {", "if (k in o) a[k] = callback.call(t, o[k], k, o);", "k++;", "}", "return a;", "}", ");", "createArrayMethod_(", "function reduce(callback /*, initialValue*/) {", "if (!this || typeof callback !== 'function') throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var k = 0, value;", "if (arguments.length === 2) {", "value = arguments[1];", "} else {", "while (k < len && !(k in o)) k++;", "if (k >= len) {", "throw TypeError('Reduce of empty array with no initial value');", "}", "value = o[k++];", "}", "for (; k < len; k++) {", "if (k in o) value = callback(value, o[k], k, o);", "}", "return value;", "}", ");", "createArrayMethod_(", "function reduceRight(callback /*, initialValue*/) {", "if (null === this || 'undefined' === typeof this || 'function' !== typeof callback) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var k = len - 1, value;", "if (arguments.length >= 2) {", "value = arguments[1];", "} else {", "while (k >= 0 && !(k in o)) k--;", "if (k < 0) {", "throw TypeError('Reduce of empty array with no initial value');", "}", "value = o[k--];", "}", "for (; k >= 0; k--) {", "if (k in o) value = callback(value, o[k], k, o);", "}", "return value;", "}", ");", "createArrayMethod_(", "function some(fun/*, thisArg*/) {", "if (!this || typeof fun !== 'function') throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var thisArg = arguments.length >= 2 ? arguments[1] : void 0;", "for (var i = 0; i < len; i++) {", "if (i in o && fun.call(thisArg, o[i], i, o)) return true;", "}", "return false;", "}", ");", "createArrayMethod_(", "function sort(opt_comp) {", "if (!this) throw TypeError();", "if (typeof opt_comp !== 'function') {", "opt_comp = undefined;", "}", "for (var i = 0; i < this.length; i++) {", "var changes = 0;", "for (var j = 0; j < this.length - i - 1; j++) {", "if (opt_comp ? (opt_comp(this[j], this[j + 1]) > 0) :", "(String(this[j]) > String(this[j + 1]))) {", "var swap = this[j];", "var hasSwap = j in this;", "if ((j + 1) in this) {", "this[j] = this[j + 1];", "} else {", "delete this[j];", "}", "if (hasSwap) {", "this[j + 1] = swap;", "} else {", "delete this[j + 1];", "}", "changes++;", "}", "}", "if (!changes) break;", "}", "return this;", "}", ");", "createArrayMethod_(", "function toLocaleString() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var out = [];", "for (var i = 0; i < len; i++) {", "out[i] = (o[i] === null || o[i] === undefined) ? '' : o[i].toLocaleString();", "}", "return out.join(',');", "}", ");", "})();", "");
|
|
1199
1199
|
}
|
|
1200
|
-
function
|
|
1200
|
+
function Po(e, t) {
|
|
1201
1201
|
var n = function(r) {
|
|
1202
|
-
return r = arguments.length ? Se.String(r) : "",
|
|
1202
|
+
return r = arguments.length ? Se.String(r) : "", ve(e) ? (this.data = r, this) : r;
|
|
1203
1203
|
};
|
|
1204
1204
|
for (e.J = e.i(n, !0), e.g(t, "String", e.J, y), e.g(e.J, "fromCharCode", e.i(String.fromCharCode, !1), y), t = "charAt charCodeAt concat indexOf lastIndexOf slice substr substring toLocaleLowerCase toLocaleUpperCase toLowerCase toUpperCase trim".split(" "), n = 0; n < t.length; n++)
|
|
1205
|
-
|
|
1205
|
+
K(e, e.J, t[n], String.prototype[t[n]]);
|
|
1206
1206
|
n = function(r, o, i) {
|
|
1207
1207
|
o = e.R(o), i = e.R(i);
|
|
1208
1208
|
try {
|
|
@@ -1210,7 +1210,7 @@ function $o(e, t) {
|
|
|
1210
1210
|
} catch (u) {
|
|
1211
1211
|
C(e, e.D, "localeCompare: " + u.message);
|
|
1212
1212
|
}
|
|
1213
|
-
},
|
|
1213
|
+
}, K(e, e.J, "localeCompare", n), n = function(r, o, i) {
|
|
1214
1214
|
var u = String(this);
|
|
1215
1215
|
if (o = o ? Number(o) : void 0, G(e, r, e.I) && (r = r.data, Qe(e, r, i), e.REGEXP_MODE === 2)) {
|
|
1216
1216
|
if (fe)
|
|
@@ -1218,7 +1218,7 @@ function $o(e, t) {
|
|
|
1218
1218
|
string: u,
|
|
1219
1219
|
separator: r,
|
|
1220
1220
|
limit: o
|
|
1221
|
-
}, r, i), r !==
|
|
1221
|
+
}, r, i), r !== $e && i(he(e, r));
|
|
1222
1222
|
else {
|
|
1223
1223
|
var p = e.ha(), h = Ze(e, r, p, i);
|
|
1224
1224
|
p.onmessage = function(m) {
|
|
@@ -1235,7 +1235,7 @@ function $o(e, t) {
|
|
|
1235
1235
|
r = qe(e, "string.match(regexp)", {
|
|
1236
1236
|
string: i,
|
|
1237
1237
|
regexp: r
|
|
1238
|
-
}, r, o), r !==
|
|
1238
|
+
}, r, o), r !== $e && o(r && he(e, r));
|
|
1239
1239
|
else {
|
|
1240
1240
|
var u = e.ha(), p = Ze(e, r, u, o);
|
|
1241
1241
|
u.onmessage = function(h) {
|
|
@@ -1251,7 +1251,7 @@ function $o(e, t) {
|
|
|
1251
1251
|
r = qe(e, "string.search(regexp)", {
|
|
1252
1252
|
string: i,
|
|
1253
1253
|
regexp: r
|
|
1254
|
-
}, r, o), r !==
|
|
1254
|
+
}, r, o), r !== $e && o(r);
|
|
1255
1255
|
else {
|
|
1256
1256
|
var u = e.ha(), p = Ze(e, r, u, o);
|
|
1257
1257
|
u.onmessage = function(h) {
|
|
@@ -1268,7 +1268,7 @@ function $o(e, t) {
|
|
|
1268
1268
|
string: u,
|
|
1269
1269
|
substr: r,
|
|
1270
1270
|
newSubstr: o
|
|
1271
|
-
}, r, i), r !==
|
|
1271
|
+
}, r, i), r !== $e && i(r);
|
|
1272
1272
|
else {
|
|
1273
1273
|
var p = e.ha(), h = Ze(e, r, p, i);
|
|
1274
1274
|
p.onmessage = function(m) {
|
|
@@ -1282,12 +1282,12 @@ function $o(e, t) {
|
|
|
1282
1282
|
}
|
|
1283
1283
|
function No(e, t) {
|
|
1284
1284
|
e.mb = e.i(function(n) {
|
|
1285
|
-
return n = Se.Boolean(n),
|
|
1285
|
+
return n = Se.Boolean(n), ve(e) ? (this.data = n, this) : n;
|
|
1286
1286
|
}, !0), e.g(t, "Boolean", e.mb, y);
|
|
1287
1287
|
}
|
|
1288
1288
|
function _o(e, t) {
|
|
1289
1289
|
var n = function(r) {
|
|
1290
|
-
return r = arguments.length ? Se.Number(r) : 0,
|
|
1290
|
+
return r = arguments.length ? Se.Number(r) : 0, ve(e) ? (this.data = r, this) : r;
|
|
1291
1291
|
};
|
|
1292
1292
|
for (e.aa = e.i(n, !0), e.g(t, "Number", e.aa, y), t = ["MAX_VALUE", "MIN_VALUE", "NaN", "NEGATIVE_INFINITY", "POSITIVE_INFINITY"], n = 0; n < t.length; n++)
|
|
1293
1293
|
e.g(e.aa, t[n], Number[t[n]], Ye);
|
|
@@ -1297,36 +1297,36 @@ function _o(e, t) {
|
|
|
1297
1297
|
} catch (o) {
|
|
1298
1298
|
C(e, e.D, o.message);
|
|
1299
1299
|
}
|
|
1300
|
-
},
|
|
1300
|
+
}, K(e, e.aa, "toExponential", n), n = function(r) {
|
|
1301
1301
|
try {
|
|
1302
1302
|
return Number(this).toFixed(r);
|
|
1303
1303
|
} catch (o) {
|
|
1304
1304
|
C(e, e.D, o.message);
|
|
1305
1305
|
}
|
|
1306
|
-
},
|
|
1306
|
+
}, K(e, e.aa, "toFixed", n), n = function(r) {
|
|
1307
1307
|
try {
|
|
1308
1308
|
return Number(this).toPrecision(r);
|
|
1309
1309
|
} catch (o) {
|
|
1310
1310
|
C(e, e.D, o.message);
|
|
1311
1311
|
}
|
|
1312
|
-
},
|
|
1312
|
+
}, K(e, e.aa, "toPrecision", n), n = function(r) {
|
|
1313
1313
|
try {
|
|
1314
1314
|
return Number(this).toString(r);
|
|
1315
1315
|
} catch (o) {
|
|
1316
1316
|
C(e, e.D, o.message);
|
|
1317
1317
|
}
|
|
1318
|
-
},
|
|
1318
|
+
}, K(e, e.aa, "toString", n), n = function(r, o) {
|
|
1319
1319
|
r = r ? e.R(r) : void 0, o = o ? e.R(o) : void 0;
|
|
1320
1320
|
try {
|
|
1321
1321
|
return Number(this).toLocaleString(r, o);
|
|
1322
1322
|
} catch (i) {
|
|
1323
1323
|
C(e, e.D, "toLocaleString: " + i.message);
|
|
1324
1324
|
}
|
|
1325
|
-
},
|
|
1325
|
+
}, K(e, e.aa, "toLocaleString", n);
|
|
1326
1326
|
}
|
|
1327
1327
|
function Uo(e, t) {
|
|
1328
1328
|
var n = function(o, i) {
|
|
1329
|
-
if (!
|
|
1329
|
+
if (!ve(e))
|
|
1330
1330
|
return Se.Date();
|
|
1331
1331
|
var u = [null].concat(Array.from(arguments));
|
|
1332
1332
|
return this.data = new (Function.prototype.bind.apply(Se.Date, u))(), this;
|
|
@@ -1341,11 +1341,11 @@ function Uo(e, t) {
|
|
|
1341
1341
|
p[h] = e.R(arguments[h]);
|
|
1342
1342
|
return u[o].apply(u, p);
|
|
1343
1343
|
};
|
|
1344
|
-
}(t[r]),
|
|
1344
|
+
}(t[r]), K(e, e.$, t[r], n);
|
|
1345
1345
|
}
|
|
1346
1346
|
function Mo(e, t) {
|
|
1347
1347
|
var n = function(r, o) {
|
|
1348
|
-
if (
|
|
1348
|
+
if (ve(e))
|
|
1349
1349
|
var i = this;
|
|
1350
1350
|
else {
|
|
1351
1351
|
if (o === void 0 && G(e, r, e.I))
|
|
@@ -1358,13 +1358,13 @@ function Mo(e, t) {
|
|
|
1358
1358
|
} catch (p) {
|
|
1359
1359
|
C(e, e.T, p.message);
|
|
1360
1360
|
}
|
|
1361
|
-
return
|
|
1361
|
+
return dn(e, i, u), i;
|
|
1362
1362
|
};
|
|
1363
1363
|
e.I = e.i(n, !0), e.Ma = e.I.h.prototype, e.g(t, "RegExp", e.I, y), e.g(e.I.h.prototype, "global", void 0, Q), e.g(e.I.h.prototype, "ignoreCase", void 0, Q), e.g(e.I.h.prototype, "multiline", void 0, Q), e.g(e.I.h.prototype, "source", "(?:)", Q), e.ba.push("Object.defineProperty(RegExp.prototype, 'test',", "{configurable: true, writable: true, value:", "function test(str) {", "return !!this.exec(str);", "}", "});"), n = function(r, o) {
|
|
1364
1364
|
function i(v) {
|
|
1365
1365
|
if (v) {
|
|
1366
|
-
var
|
|
1367
|
-
return e.g(
|
|
1366
|
+
var b = he(e, v);
|
|
1367
|
+
return e.g(b, "index", v.index), e.g(b, "input", v.input), b;
|
|
1368
1368
|
}
|
|
1369
1369
|
return null;
|
|
1370
1370
|
}
|
|
@@ -1374,7 +1374,7 @@ function Mo(e, t) {
|
|
|
1374
1374
|
r = qe(e, "regexp.exec(string)", {
|
|
1375
1375
|
string: r,
|
|
1376
1376
|
regexp: u
|
|
1377
|
-
}, u, o), r !==
|
|
1377
|
+
}, u, o), r !== $e && (e.g(this, "lastIndex", u.lastIndex), o(i(r)));
|
|
1378
1378
|
else {
|
|
1379
1379
|
var p = e.ha(), h = Ze(e, u, p, o), m = this;
|
|
1380
1380
|
p.onmessage = function(v) {
|
|
@@ -1388,14 +1388,14 @@ function Mo(e, t) {
|
|
|
1388
1388
|
function Wo(e, t) {
|
|
1389
1389
|
function n(r) {
|
|
1390
1390
|
var o = e.i(function(i) {
|
|
1391
|
-
var u =
|
|
1392
|
-
return
|
|
1391
|
+
var u = ve(e) ? this : e.Aa(o);
|
|
1392
|
+
return sn(e, u, i), u;
|
|
1393
1393
|
}, !0);
|
|
1394
1394
|
return e.g(o, "prototype", e.Aa(e.D), y), e.g(o.h.prototype, "name", r, y), e.g(t, r, o, y), o;
|
|
1395
1395
|
}
|
|
1396
1396
|
e.D = e.i(function(r) {
|
|
1397
|
-
var o =
|
|
1398
|
-
return
|
|
1397
|
+
var o = ve(e) ? this : e.Aa(e.D);
|
|
1398
|
+
return sn(e, o, r), o;
|
|
1399
1399
|
}, !0), e.g(t, "Error", e.D, y), e.g(e.D.h.prototype, "message", "", y), e.g(e.D.h.prototype, "name", "Error", y), n("EvalError"), e.ob = n("RangeError"), e.pb = n("ReferenceError"), e.T = n("SyntaxError"), e.j = n("TypeError"), e.Gb = n("URIError");
|
|
1400
1400
|
}
|
|
1401
1401
|
function Vo(e, t) {
|
|
@@ -1433,17 +1433,17 @@ function G(e, t, n) {
|
|
|
1433
1433
|
return !1;
|
|
1434
1434
|
if (n = n.h.prototype, t === n)
|
|
1435
1435
|
return !0;
|
|
1436
|
-
for (t =
|
|
1436
|
+
for (t = ye(e, t); t; ) {
|
|
1437
1437
|
if (t === n)
|
|
1438
1438
|
return !0;
|
|
1439
1439
|
t = t.xa;
|
|
1440
1440
|
}
|
|
1441
1441
|
return !1;
|
|
1442
1442
|
}
|
|
1443
|
-
function
|
|
1443
|
+
function dn(e, t, n) {
|
|
1444
1444
|
t.data = new RegExp(n.source, n.flags), e.g(t, "lastIndex", n.lastIndex, y), e.g(t, "source", n.source, Q), e.g(t, "global", n.global, Q), e.g(t, "ignoreCase", n.ignoreCase, Q), e.g(t, "multiline", n.multiline, Q);
|
|
1445
1445
|
}
|
|
1446
|
-
function
|
|
1446
|
+
function sn(e, t, n) {
|
|
1447
1447
|
n && e.g(t, "message", String(n), y), n = [];
|
|
1448
1448
|
for (var r = e.o.length - 1; 0 <= r; r--) {
|
|
1449
1449
|
var o = e.o[r], i = o.node;
|
|
@@ -1476,7 +1476,7 @@ function qe(e, t, n, r, o) {
|
|
|
1476
1476
|
} catch {
|
|
1477
1477
|
o(null), C(e, e.D, "RegExp Timeout: " + r);
|
|
1478
1478
|
}
|
|
1479
|
-
return
|
|
1479
|
+
return $e;
|
|
1480
1480
|
}
|
|
1481
1481
|
function Qe(e, t, n) {
|
|
1482
1482
|
if (e.REGEXP_MODE === 0)
|
|
@@ -1522,19 +1522,19 @@ function _e(e) {
|
|
|
1522
1522
|
writable: !0
|
|
1523
1523
|
}), t.H = "Array", t;
|
|
1524
1524
|
}
|
|
1525
|
-
function
|
|
1525
|
+
function hn(e, t, n) {
|
|
1526
1526
|
var r = e.s(e.Z);
|
|
1527
1527
|
return n ? (n = e.s(e.M), e.g(r, "prototype", n, y), e.g(n, "constructor", r, y)) : r.Ab = !0, e.g(r, "length", t, Q), r.H = "Function", r;
|
|
1528
1528
|
}
|
|
1529
|
-
function
|
|
1530
|
-
var o =
|
|
1529
|
+
function fn(e, t, n, r) {
|
|
1530
|
+
var o = hn(e, t.oa.length, !0);
|
|
1531
1531
|
return o.Va = n, o.node = t, e.g(o, "name", t.id ? String(t.id.name) : r || "", Q), o;
|
|
1532
1532
|
}
|
|
1533
1533
|
x.i = function(e, t) {
|
|
1534
|
-
return t =
|
|
1534
|
+
return t = hn(this, e.length, t), t.Ta = e, e.id = this.Ya++, this.g(t, "name", e.name, Q), t;
|
|
1535
1535
|
};
|
|
1536
1536
|
x.ub = function(e) {
|
|
1537
|
-
var t =
|
|
1537
|
+
var t = hn(this, e.length, !0);
|
|
1538
1538
|
return t.Za = e, e.id = this.Ya++, this.g(t, "name", e.name, Q), t;
|
|
1539
1539
|
};
|
|
1540
1540
|
x.Ia = function(e) {
|
|
@@ -1544,7 +1544,7 @@ x.Ia = function(e) {
|
|
|
1544
1544
|
return e;
|
|
1545
1545
|
if (e instanceof RegExp) {
|
|
1546
1546
|
var t = this.s(this.Ma);
|
|
1547
|
-
return
|
|
1547
|
+
return dn(this, t, e), t;
|
|
1548
1548
|
}
|
|
1549
1549
|
if (e instanceof Date)
|
|
1550
1550
|
return t = this.s(this.nb), t.data = new Date(e.valueOf()), t;
|
|
@@ -1607,9 +1607,9 @@ function wr(e, t) {
|
|
|
1607
1607
|
var n = [], r;
|
|
1608
1608
|
for (r in t.h)
|
|
1609
1609
|
n[r] = e.G(t, r);
|
|
1610
|
-
return n.length =
|
|
1610
|
+
return n.length = pn(e.G(t, "length")) || 0, n;
|
|
1611
1611
|
}
|
|
1612
|
-
function
|
|
1612
|
+
function ye(e, t) {
|
|
1613
1613
|
switch (typeof t) {
|
|
1614
1614
|
case "number":
|
|
1615
1615
|
return e.aa.h.prototype;
|
|
@@ -1636,7 +1636,7 @@ x.G = function(e, t) {
|
|
|
1636
1636
|
do
|
|
1637
1637
|
if (e.h && t in e.h)
|
|
1638
1638
|
return (n = e.V[t]) ? (this.P = !0, n) : e.h[t];
|
|
1639
|
-
while (e =
|
|
1639
|
+
while (e = ye(this, e));
|
|
1640
1640
|
};
|
|
1641
1641
|
function Bt(e, t, n) {
|
|
1642
1642
|
if (!(t instanceof D))
|
|
@@ -1651,7 +1651,7 @@ function Bt(e, t, n) {
|
|
|
1651
1651
|
do
|
|
1652
1652
|
if (t.h && n in t.h)
|
|
1653
1653
|
return !0;
|
|
1654
|
-
while (t =
|
|
1654
|
+
while (t = ye(e, t));
|
|
1655
1655
|
return !1;
|
|
1656
1656
|
}
|
|
1657
1657
|
x.g = function(e, t, n, r) {
|
|
@@ -1660,7 +1660,7 @@ x.g = function(e, t, n, r) {
|
|
|
1660
1660
|
if (t = String(t), e != null || C(this, this.j, "Cannot set property '" + t + "' of " + e), typeof e == "object" && !(e instanceof D))
|
|
1661
1661
|
throw TypeError("Expecting native value or pseudo object");
|
|
1662
1662
|
r && ("get" in r || "set" in r) && ("value" in r || "writable" in r) && C(this, this.j, "Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");
|
|
1663
|
-
var o = !this.o ||
|
|
1663
|
+
var o = !this.o || mn(this).S;
|
|
1664
1664
|
if (e instanceof D) {
|
|
1665
1665
|
if (G(this, e, this.J)) {
|
|
1666
1666
|
var i = nt(t);
|
|
@@ -1676,7 +1676,7 @@ x.g = function(e, t, n, r) {
|
|
|
1676
1676
|
return;
|
|
1677
1677
|
n = r.value;
|
|
1678
1678
|
}
|
|
1679
|
-
if (n =
|
|
1679
|
+
if (n = pn(n), isNaN(n) && C(this, this.ob, "Invalid array length"), n < i)
|
|
1680
1680
|
for (u in e.h) {
|
|
1681
1681
|
var u = nt(u);
|
|
1682
1682
|
!isNaN(u) && n <= u && delete e.h[u];
|
|
@@ -1696,7 +1696,7 @@ x.g = function(e, t, n, r) {
|
|
|
1696
1696
|
if (n === it)
|
|
1697
1697
|
throw ReferenceError("Value not specified");
|
|
1698
1698
|
for (r = e; !(t in r.h); )
|
|
1699
|
-
if (r =
|
|
1699
|
+
if (r = ye(this, r), !r) {
|
|
1700
1700
|
r = e;
|
|
1701
1701
|
break;
|
|
1702
1702
|
}
|
|
@@ -1722,18 +1722,18 @@ x.g.ac = function() {
|
|
|
1722
1722
|
x.g.bc = function() {
|
|
1723
1723
|
throw Error("Placeholder setter");
|
|
1724
1724
|
};
|
|
1725
|
-
function
|
|
1725
|
+
function K(e, t, n, r) {
|
|
1726
1726
|
e.g(t.h.prototype, n, e.i(r, !1), y);
|
|
1727
1727
|
}
|
|
1728
1728
|
function et(e, t, n, r) {
|
|
1729
1729
|
e.g(t.h.prototype, n, e.ub(r), y);
|
|
1730
1730
|
}
|
|
1731
|
-
function
|
|
1731
|
+
function mn(e) {
|
|
1732
1732
|
if (e = e.o[e.o.length - 1].scope, !e)
|
|
1733
1733
|
throw Error("No scope found");
|
|
1734
1734
|
return e;
|
|
1735
1735
|
}
|
|
1736
|
-
function
|
|
1736
|
+
function un(e, t, n) {
|
|
1737
1737
|
var r = !1;
|
|
1738
1738
|
if (n && n.S)
|
|
1739
1739
|
r = !0;
|
|
@@ -1743,13 +1743,13 @@ function sn(e, t, n) {
|
|
|
1743
1743
|
}
|
|
1744
1744
|
return o = e.s(null), r = new Ir(n, r, o), n || Ro(e, r.object), st(e, t, r), r;
|
|
1745
1745
|
}
|
|
1746
|
-
function
|
|
1746
|
+
function gn(e, t, n) {
|
|
1747
1747
|
if (!t)
|
|
1748
1748
|
throw Error("parentScope required");
|
|
1749
1749
|
return e = n || e.s(null), new Ir(t, t.S, e);
|
|
1750
1750
|
}
|
|
1751
|
-
function
|
|
1752
|
-
for (var n =
|
|
1751
|
+
function yn(e, t) {
|
|
1752
|
+
for (var n = mn(e); n && n !== e.N; ) {
|
|
1753
1753
|
if (t in n.object.h)
|
|
1754
1754
|
return n.object.h[t];
|
|
1755
1755
|
n = n.Va;
|
|
@@ -1759,7 +1759,7 @@ function gn(e, t) {
|
|
|
1759
1759
|
n = e.o[e.o.length - 1].node, n.type === "UnaryExpression" && n.operator === "typeof" || C(e, e.pb, t + " is not defined");
|
|
1760
1760
|
}
|
|
1761
1761
|
function Br(e, t, n) {
|
|
1762
|
-
for (var r =
|
|
1762
|
+
for (var r = mn(e), o = r.S; r && r !== e.N; ) {
|
|
1763
1763
|
if (t in r.object.h) {
|
|
1764
1764
|
try {
|
|
1765
1765
|
r.object.h[t] = n;
|
|
@@ -1820,20 +1820,20 @@ function st(e, t, n) {
|
|
|
1820
1820
|
t.jb = r;
|
|
1821
1821
|
}
|
|
1822
1822
|
for (u in r)
|
|
1823
|
-
r[u] === !0 ? e.g(n.object, u, void 0, rr) : e.g(n.object, u,
|
|
1823
|
+
r[u] === !0 ? e.g(n.object, u, void 0, rr) : e.g(n.object, u, fn(e, r[u], n), rr);
|
|
1824
1824
|
return r;
|
|
1825
1825
|
}
|
|
1826
|
-
function
|
|
1826
|
+
function ve(e) {
|
|
1827
1827
|
return e.o[e.o.length - 1].isConstructor;
|
|
1828
1828
|
}
|
|
1829
|
-
function
|
|
1830
|
-
return t[0] === Ue ?
|
|
1829
|
+
function vn(e, t) {
|
|
1830
|
+
return t[0] === Ue ? yn(e, t[1]) : e.G(t[0], t[1]);
|
|
1831
1831
|
}
|
|
1832
|
-
function
|
|
1832
|
+
function An(e, t, n) {
|
|
1833
1833
|
return t[0] === Ue ? Br(e, t[1], n) : e.g(t[0], t[1], n);
|
|
1834
1834
|
}
|
|
1835
1835
|
function C(e, t, n) {
|
|
1836
|
-
throw e.N ? (n !== void 0 && t instanceof D && (t = e.Aa(t),
|
|
1836
|
+
throw e.N ? (n !== void 0 && t instanceof D && (t = e.Aa(t), sn(e, t, n)), lt(e, 4, t), Fr) : n === void 0 ? t : n;
|
|
1837
1837
|
}
|
|
1838
1838
|
function lt(e, t, n, r) {
|
|
1839
1839
|
if (t === 0)
|
|
@@ -1947,15 +1947,15 @@ function ct(e, t, n) {
|
|
|
1947
1947
|
var r = e.ya();
|
|
1948
1948
|
return r.type = "CallExpression", e = new A(r, e.o[e.o.length - 1].scope), e.ia = 2, e.B = n, e.U = t, e.Qa = !0, e.F = [], e;
|
|
1949
1949
|
}
|
|
1950
|
-
function
|
|
1950
|
+
function Cn(e, t, n, r) {
|
|
1951
1951
|
if (!e.Ka)
|
|
1952
1952
|
throw Error("Unexpected call to createSetter");
|
|
1953
1953
|
e.Ka = !1, n = Array.isArray(n) ? n[0] : e.Na;
|
|
1954
1954
|
var o = e.ya();
|
|
1955
1955
|
return o.type = "CallExpression", e = new A(o, e.o[e.o.length - 1].scope), e.ia = 2, e.B = n, e.U = t, e.Qa = !0, e.F = [r], e;
|
|
1956
1956
|
}
|
|
1957
|
-
function
|
|
1958
|
-
return t == null ? e.Na : t instanceof D ? t : (e = e.s(
|
|
1957
|
+
function Zt(e, t) {
|
|
1958
|
+
return t == null ? e.Na : t instanceof D ? t : (e = e.s(ye(e, t)), e.data = t, e);
|
|
1959
1959
|
}
|
|
1960
1960
|
x.Xb = function() {
|
|
1961
1961
|
return this.N;
|
|
@@ -2048,7 +2048,7 @@ f.prototype.stepAssignmentExpression = function(e, t, n) {
|
|
|
2048
2048
|
if (!t.ja)
|
|
2049
2049
|
return t.ja = !0, t = new A(n.left, t.scope), t.sa = !0, t;
|
|
2050
2050
|
if (!t.Da)
|
|
2051
|
-
return t.Fa || (t.Fa = t.value), t.Ba && (t.ma = t.value), !t.Ba && n.operator !== "=" && (e =
|
|
2051
|
+
return t.Fa || (t.Fa = t.value), t.Ba && (t.ma = t.value), !t.Ba && n.operator !== "=" && (e = vn(this, t.Fa), t.ma = e, this.P) ? (t.Ba = !0, ct(this, e, t.Fa)) : (t.Da = !0, n.operator === "=" && n.left.type === "Identifier" && (t.Pa = n.left.name), new A(n.right, t.scope));
|
|
2052
2052
|
if (t.ta)
|
|
2053
2053
|
e.pop(), e[e.length - 1].value = t.ib;
|
|
2054
2054
|
else {
|
|
@@ -2093,8 +2093,8 @@ f.prototype.stepAssignmentExpression = function(e, t, n) {
|
|
|
2093
2093
|
default:
|
|
2094
2094
|
throw SyntaxError("Unknown assignment expression: " + n.operator);
|
|
2095
2095
|
}
|
|
2096
|
-
if (n =
|
|
2097
|
-
return t.ta = !0, t.ib = r,
|
|
2096
|
+
if (n = An(this, t.Fa, r))
|
|
2097
|
+
return t.ta = !0, t.ib = r, Cn(this, n, t.Fa, r);
|
|
2098
2098
|
e.pop(), e[e.length - 1].value = r;
|
|
2099
2099
|
}
|
|
2100
2100
|
};
|
|
@@ -2194,7 +2194,7 @@ f.prototype.stepCallExpression = function(e, t, n) {
|
|
|
2194
2194
|
t.ia = 2;
|
|
2195
2195
|
var o = t.value;
|
|
2196
2196
|
if (Array.isArray(o)) {
|
|
2197
|
-
if (t.U =
|
|
2197
|
+
if (t.U = vn(this, o), o[0] === Ue ? t.Pb = o[1] === "eval" : t.B = o[0], o = t.U, this.P)
|
|
2198
2198
|
return t.ia = 1, ct(this, o, t.value);
|
|
2199
2199
|
} else
|
|
2200
2200
|
t.U = o;
|
|
@@ -2218,11 +2218,11 @@ f.prototype.stepCallExpression = function(e, t, n) {
|
|
|
2218
2218
|
e.pop(), e[e.length - 1].value = t.isConstructor && typeof t.value != "object" ? t.B : t.value;
|
|
2219
2219
|
else {
|
|
2220
2220
|
if (t.eb = !0, o instanceof D || C(this, this.j, q(this, n.callee) + " is not a function"), e = o.node) {
|
|
2221
|
-
for (n =
|
|
2221
|
+
for (n = un(this, e.body, o.Va), r = _e(this), o = 0; o < t.F.length; o++)
|
|
2222
2222
|
this.g(r, o, t.F[o]);
|
|
2223
2223
|
for (this.g(n.object, "arguments", r), o = 0; o < e.oa.length; o++)
|
|
2224
2224
|
this.g(n.object, e.oa[o].name, t.F.length > o ? t.F[o] : void 0);
|
|
2225
|
-
return n.S || (t.B =
|
|
2225
|
+
return n.S || (t.B = Zt(this, t.B)), this.g(n.object, "this", t.B, cn), t.value = void 0, new A(e.body, n);
|
|
2226
2226
|
}
|
|
2227
2227
|
if (o.eval)
|
|
2228
2228
|
if (o = t.F[0], typeof o != "string")
|
|
@@ -2233,15 +2233,15 @@ f.prototype.stepCallExpression = function(e, t, n) {
|
|
|
2233
2233
|
} catch (p) {
|
|
2234
2234
|
C(this, this.T, "Invalid code: " + p.message);
|
|
2235
2235
|
}
|
|
2236
|
-
return o = this.ya(), o.type = "EvalProgram_", o.body = r.body, wt(o, n.start, n.end), n = t.Pb ? t.scope : this.N, n.S ? n =
|
|
2236
|
+
return o = this.ya(), o.type = "EvalProgram_", o.body = r.body, wt(o, n.start, n.end), n = t.Pb ? t.scope : this.N, n.S ? n = un(this, r, n) : st(this, r, n), this.value = void 0, new A(o, n);
|
|
2237
2237
|
}
|
|
2238
2238
|
else if (o.Ta)
|
|
2239
|
-
t.scope.S || (t.B =
|
|
2239
|
+
t.scope.S || (t.B = Zt(this, t.B)), t.value = o.Ta.apply(t.B, t.F);
|
|
2240
2240
|
else if (o.Za) {
|
|
2241
2241
|
var u = this;
|
|
2242
2242
|
r = o.Za.length - 1, r = t.F.concat(Array(r)).slice(0, r), r.push(function(p) {
|
|
2243
2243
|
t.value = p, u.za = !1;
|
|
2244
|
-
}), this.za = !0, t.scope.S || (t.B =
|
|
2244
|
+
}), this.za = !0, t.scope.S || (t.B = Zt(this, t.B)), o.Za.apply(t.B, r);
|
|
2245
2245
|
} else
|
|
2246
2246
|
C(this, this.j, q(this, n.callee) + " is not callable");
|
|
2247
2247
|
}
|
|
@@ -2312,7 +2312,7 @@ f.prototype.stepForInStatement = function(e, t, n) {
|
|
|
2312
2312
|
break e;
|
|
2313
2313
|
}
|
|
2314
2314
|
}
|
|
2315
|
-
if (t.u =
|
|
2315
|
+
if (t.u = ye(this, t.u), t.wa = null, t.u === null) {
|
|
2316
2316
|
e.pop();
|
|
2317
2317
|
return;
|
|
2318
2318
|
}
|
|
@@ -2322,8 +2322,8 @@ f.prototype.stepForInStatement = function(e, t, n) {
|
|
|
2322
2322
|
t.pa = [Ue, e.fa[0].id.name];
|
|
2323
2323
|
else
|
|
2324
2324
|
return t.pa = null, t = new A(e, t.scope), t.sa = !0, t;
|
|
2325
|
-
if (t.pa || (t.pa = t.value), !t.ta && (t.ta = !0, e = t.Ra, r =
|
|
2326
|
-
return
|
|
2325
|
+
if (t.pa || (t.pa = t.value), !t.ta && (t.ta = !0, e = t.Ra, r = An(this, t.pa, e)))
|
|
2326
|
+
return Cn(this, r, t.pa, e);
|
|
2327
2327
|
if (t.Ra = void 0, t.wb = !1, t.ta = !1, n.body)
|
|
2328
2328
|
return new A(n.body, t.scope);
|
|
2329
2329
|
};
|
|
@@ -2352,13 +2352,13 @@ f.prototype.stepFunctionDeclaration = function(e) {
|
|
|
2352
2352
|
e.pop();
|
|
2353
2353
|
};
|
|
2354
2354
|
f.prototype.stepFunctionExpression = function(e, t, n) {
|
|
2355
|
-
e.pop(), t = e[e.length - 1], e = t.scope, n.id && (e =
|
|
2355
|
+
e.pop(), t = e[e.length - 1], e = t.scope, n.id && (e = gn(this, e)), t.value = fn(this, n, e, t.Pa), n.id && this.g(e.object, n.id.name, t.value, cn);
|
|
2356
2356
|
};
|
|
2357
2357
|
f.prototype.stepIdentifier = function(e, t, n) {
|
|
2358
2358
|
if (e.pop(), t.sa)
|
|
2359
2359
|
e[e.length - 1].value = [Ue, n.name];
|
|
2360
2360
|
else {
|
|
2361
|
-
if (t =
|
|
2361
|
+
if (t = yn(this, n.name), this.P)
|
|
2362
2362
|
return ct(this, t, this.Na);
|
|
2363
2363
|
e[e.length - 1].value = t;
|
|
2364
2364
|
}
|
|
@@ -2368,7 +2368,7 @@ f.prototype.stepLabeledStatement = function(e, t, n) {
|
|
|
2368
2368
|
return e.pop(), e = t.labels || [], e.push(n.label.name), t = new A(n.body, t.scope), t.labels = e, t;
|
|
2369
2369
|
};
|
|
2370
2370
|
f.prototype.stepLiteral = function(e, t, n) {
|
|
2371
|
-
e.pop(), t = n.value, t instanceof RegExp && (n = this.s(this.Ma),
|
|
2371
|
+
e.pop(), t = n.value, t instanceof RegExp && (n = this.s(this.Ma), dn(this, n, t), t = n), e[e.length - 1].value = t;
|
|
2372
2372
|
};
|
|
2373
2373
|
f.prototype.stepLogicalExpression = function(e, t, n) {
|
|
2374
2374
|
if (n.operator !== "&&" && n.operator !== "||")
|
|
@@ -2471,7 +2471,7 @@ f.prototype.stepSwitchStatement = function(e, t, n) {
|
|
|
2471
2471
|
}
|
|
2472
2472
|
};
|
|
2473
2473
|
f.prototype.stepThisExpression = function(e) {
|
|
2474
|
-
e.pop(), e[e.length - 1].value =
|
|
2474
|
+
e.pop(), e[e.length - 1].value = yn(this, "this");
|
|
2475
2475
|
};
|
|
2476
2476
|
f.prototype.stepThrowStatement = function(e, t, n) {
|
|
2477
2477
|
if (t.ka)
|
|
@@ -2483,7 +2483,7 @@ f.prototype.stepTryStatement = function(e, t, n) {
|
|
|
2483
2483
|
if (!t.Rb)
|
|
2484
2484
|
return t.Rb = !0, new A(n.block, t.scope);
|
|
2485
2485
|
if (t.ea && t.ea.type === 4 && !t.Tb && n.Ea)
|
|
2486
|
-
return t.Tb = !0, e =
|
|
2486
|
+
return t.Tb = !0, e = gn(this, t.scope), this.g(e.object, n.Ea.Ua.name, t.ea.value), t.ea = void 0, new A(n.Ea.body, e);
|
|
2487
2487
|
if (!t.Sb && n.fb)
|
|
2488
2488
|
return t.Sb = !0, new A(n.fb, t.scope);
|
|
2489
2489
|
e.pop(), t.ea && lt(this, t.ea.type, t.ea.value, t.ea.label);
|
|
@@ -2533,7 +2533,7 @@ f.prototype.stepUpdateExpression = function(e, t, n) {
|
|
|
2533
2533
|
if (!t.ja)
|
|
2534
2534
|
return t.ja = !0, e = new A(n.K, t.scope), e.sa = !0, e;
|
|
2535
2535
|
if (t.Ga || (t.Ga = t.value), t.Ba && (t.ma = t.value), !t.Ba) {
|
|
2536
|
-
var r =
|
|
2536
|
+
var r = vn(this, t.Ga);
|
|
2537
2537
|
if (t.ma = r, this.P)
|
|
2538
2538
|
return t.Ba = !0, ct(this, r, t.Ga);
|
|
2539
2539
|
}
|
|
@@ -2546,8 +2546,8 @@ f.prototype.stepUpdateExpression = function(e, t, n) {
|
|
|
2546
2546
|
o = r - 1;
|
|
2547
2547
|
else
|
|
2548
2548
|
throw SyntaxError("Unknown update expression: " + n.operator);
|
|
2549
|
-
if (n = n.prefix ? o : r, r =
|
|
2550
|
-
return t.ta = !0, t.ib = n,
|
|
2549
|
+
if (n = n.prefix ? o : r, r = An(this, t.Ga, o))
|
|
2550
|
+
return t.ta = !0, t.ib = n, Cn(this, r, t.Ga, o);
|
|
2551
2551
|
e.pop(), e[e.length - 1].value = n;
|
|
2552
2552
|
}
|
|
2553
2553
|
};
|
|
@@ -2562,7 +2562,7 @@ f.prototype.stepVariableDeclaration = function(e, t, n) {
|
|
|
2562
2562
|
e.pop();
|
|
2563
2563
|
};
|
|
2564
2564
|
f.prototype.stepWithStatement = function(e, t, n) {
|
|
2565
|
-
return t.Ca ? (e.pop(), e =
|
|
2565
|
+
return t.Ca ? (e.pop(), e = gn(this, t.scope, t.value), new A(n.body, e)) : (t.Ca = !0, new A(n.object, t.scope));
|
|
2566
2566
|
};
|
|
2567
2567
|
f.prototype.stepWhileStatement = f.prototype.stepDoWhileStatement;
|
|
2568
2568
|
Se.Interpreter = f;
|
|
@@ -2612,35 +2612,35 @@ const Go = (e) => e.split(`
|
|
|
2612
2612
|
event: n,
|
|
2613
2613
|
state: p
|
|
2614
2614
|
}), m = h.map(([R]) => {
|
|
2615
|
-
const
|
|
2616
|
-
return `var ${R} = ${
|
|
2615
|
+
const _ = ur(R);
|
|
2616
|
+
return `var ${R} = ${_} === undefined ? undefined : JSON.parse(${_});`;
|
|
2617
2617
|
}).join(`
|
|
2618
2618
|
`), v = Go(u);
|
|
2619
2619
|
if (v === "") {
|
|
2620
|
-
|
|
2620
|
+
te.warn("Skipping evaluation of empty code block.");
|
|
2621
2621
|
return;
|
|
2622
2622
|
}
|
|
2623
|
-
const
|
|
2623
|
+
const b = `
|
|
2624
2624
|
function theFunction() {
|
|
2625
2625
|
${m}
|
|
2626
2626
|
|
|
2627
2627
|
${v}
|
|
2628
2628
|
}
|
|
2629
2629
|
theFunction();
|
|
2630
|
-
`, T = (R,
|
|
2631
|
-
const
|
|
2632
|
-
i == null || i(
|
|
2633
|
-
},
|
|
2634
|
-
h.forEach(([
|
|
2635
|
-
const
|
|
2636
|
-
R.setProperty(
|
|
2637
|
-
}), R.setProperty(
|
|
2630
|
+
`, T = (R, _) => {
|
|
2631
|
+
const ne = Sr(p, R, _);
|
|
2632
|
+
i == null || i(ne);
|
|
2633
|
+
}, N = function(R, _) {
|
|
2634
|
+
h.forEach(([ne, Fe]) => {
|
|
2635
|
+
const k = JSON.stringify(Fe);
|
|
2636
|
+
R.setProperty(_, ur(ne), k);
|
|
2637
|
+
}), R.setProperty(_, "setRootState", R.createNativeFunction(T));
|
|
2638
2638
|
};
|
|
2639
2639
|
try {
|
|
2640
|
-
const R = new f(
|
|
2640
|
+
const R = new f(b, N);
|
|
2641
2641
|
return R.run(), R.pseudoToNative(R.value);
|
|
2642
2642
|
} catch (R) {
|
|
2643
|
-
|
|
2643
|
+
te.warn("Custom code error in edge runtime. NOTE: your code must be ES5 JavaScript.", {
|
|
2644
2644
|
e: R
|
|
2645
2645
|
});
|
|
2646
2646
|
return;
|
|
@@ -2656,7 +2656,7 @@ function St({
|
|
|
2656
2656
|
isExpression: u = !0
|
|
2657
2657
|
}) {
|
|
2658
2658
|
if (e === "") {
|
|
2659
|
-
|
|
2659
|
+
te.warn("Skipping evaluation of empty code block.");
|
|
2660
2660
|
return;
|
|
2661
2661
|
}
|
|
2662
2662
|
const p = {
|
|
@@ -2673,7 +2673,7 @@ function St({
|
|
|
2673
2673
|
try {
|
|
2674
2674
|
return Xo(p);
|
|
2675
2675
|
} catch (h) {
|
|
2676
|
-
|
|
2676
|
+
te.error("Failed code evaluation: " + h.message, {
|
|
2677
2677
|
code: e
|
|
2678
2678
|
});
|
|
2679
2679
|
return;
|
|
@@ -2782,27 +2782,27 @@ const Yo = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
|
|
|
2782
2782
|
},
|
|
2783
2783
|
block: r
|
|
2784
2784
|
}));
|
|
2785
|
-
}, ei = () => import("./block-styles.
|
|
2785
|
+
}, ei = () => import("./block-styles.baf84624.js").then((e) => e.default).catch((e) => {
|
|
2786
2786
|
throw console.error(
|
|
2787
2787
|
"Error while attempting to dynamically import component BlockStyles at ./components/block-styles.vue",
|
|
2788
2788
|
e
|
|
2789
2789
|
), e;
|
|
2790
|
-
}), ti = () => import("./block-wrapper.
|
|
2790
|
+
}), ti = () => import("./block-wrapper.c2e6a717.js").then((e) => e.default).catch((e) => {
|
|
2791
2791
|
throw console.error(
|
|
2792
2792
|
"Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
|
|
2793
2793
|
e
|
|
2794
2794
|
), e;
|
|
2795
|
-
}), ni = () => import("./component-ref.
|
|
2795
|
+
}), ni = () => import("./component-ref.a0bf7c30.js").then((e) => e.default).catch((e) => {
|
|
2796
2796
|
throw console.error(
|
|
2797
2797
|
"Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
|
|
2798
2798
|
e
|
|
2799
2799
|
), e;
|
|
2800
|
-
}), ri = () => import("./repeated-block.
|
|
2800
|
+
}), ri = () => import("./repeated-block.d2e0b56c.js").then((e) => e.default).catch((e) => {
|
|
2801
2801
|
throw console.error(
|
|
2802
2802
|
"Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
|
|
2803
2803
|
e
|
|
2804
2804
|
), e;
|
|
2805
|
-
}), oi =
|
|
2805
|
+
}), oi = $({
|
|
2806
2806
|
name: "block",
|
|
2807
2807
|
components: {
|
|
2808
2808
|
BlockStyles: Ct(ei),
|
|
@@ -2875,14 +2875,14 @@ const Yo = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
|
|
|
2875
2875
|
}
|
|
2876
2876
|
});
|
|
2877
2877
|
function ii(e, t, n, r, o, i) {
|
|
2878
|
-
var
|
|
2879
|
-
const u =
|
|
2878
|
+
var b;
|
|
2879
|
+
const u = V("block-styles"), p = V("block-wrapper"), h = V("repeated-block"), m = V("component-ref"), v = V("block", !0);
|
|
2880
2880
|
return e.canShowBlock ? (E(), I(ue, { key: 0 }, [
|
|
2881
|
-
|
|
2881
|
+
me(u, {
|
|
2882
2882
|
block: e.block,
|
|
2883
2883
|
context: e.context
|
|
2884
2884
|
}, null, 8, ["block", "context"]),
|
|
2885
|
-
(
|
|
2885
|
+
(b = e.blockComponent) != null && b.noWrap ? (E(), X(m, {
|
|
2886
2886
|
key: 1,
|
|
2887
2887
|
componentRef: e.componentRefProps.componentRef,
|
|
2888
2888
|
componentOptions: e.componentRefProps.componentOptions,
|
|
@@ -2899,13 +2899,13 @@ function ii(e, t, n, r, o, i) {
|
|
|
2899
2899
|
block: e.processedBlock,
|
|
2900
2900
|
context: e.context,
|
|
2901
2901
|
hasChildren: !1
|
|
2902
|
-
}, null, 8, ["Wrapper", "block", "context"])) :
|
|
2903
|
-
!e.isEmptyHtmlElement(e.Tag) && e.repeatItem ? (E(!0), I(ue, { key: 1 }, ot(e.repeatItem, (T,
|
|
2904
|
-
key:
|
|
2902
|
+
}, null, 8, ["Wrapper", "block", "context"])) : L("v-if", !0),
|
|
2903
|
+
!e.isEmptyHtmlElement(e.Tag) && e.repeatItem ? (E(!0), I(ue, { key: 1 }, ot(e.repeatItem, (T, N) => (E(), X(h, {
|
|
2904
|
+
key: N,
|
|
2905
2905
|
repeatContext: T.context,
|
|
2906
2906
|
block: T.block,
|
|
2907
2907
|
registeredComponents: e.registeredComponents
|
|
2908
|
-
}, null, 8, ["repeatContext", "block", "registeredComponents"]))), 128)) :
|
|
2908
|
+
}, null, 8, ["repeatContext", "block", "registeredComponents"]))), 128)) : L("v-if", !0),
|
|
2909
2909
|
!e.isEmptyHtmlElement(e.Tag) && !e.repeatItem ? (E(), X(p, {
|
|
2910
2910
|
key: 2,
|
|
2911
2911
|
Wrapper: e.Tag,
|
|
@@ -2914,7 +2914,7 @@ function ii(e, t, n, r, o, i) {
|
|
|
2914
2914
|
hasChildren: !0
|
|
2915
2915
|
}, {
|
|
2916
2916
|
default: at(() => [
|
|
2917
|
-
|
|
2917
|
+
me(m, {
|
|
2918
2918
|
componentRef: e.componentRefProps.componentRef,
|
|
2919
2919
|
componentOptions: e.componentRefProps.componentOptions,
|
|
2920
2920
|
blockChildren: e.componentRefProps.blockChildren,
|
|
@@ -2924,7 +2924,7 @@ function ii(e, t, n, r, o, i) {
|
|
|
2924
2924
|
includeBlockProps: e.componentRefProps.includeBlockProps,
|
|
2925
2925
|
isInteractive: e.componentRefProps.isInteractive
|
|
2926
2926
|
}, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "builderBlock", "includeBlockProps", "isInteractive"]),
|
|
2927
|
-
(E(!0), I(ue, null, ot(e.childrenWithoutParentComponent, (T,
|
|
2927
|
+
(E(!0), I(ue, null, ot(e.childrenWithoutParentComponent, (T, N) => (E(), X(v, {
|
|
2928
2928
|
key: T.id,
|
|
2929
2929
|
block: T,
|
|
2930
2930
|
context: e.childrenContext,
|
|
@@ -2932,14 +2932,14 @@ function ii(e, t, n, r, o, i) {
|
|
|
2932
2932
|
}, null, 8, ["block", "context", "registeredComponents"]))), 128))
|
|
2933
2933
|
]),
|
|
2934
2934
|
_: 1
|
|
2935
|
-
}, 8, ["Wrapper", "block", "context"])) :
|
|
2935
|
+
}, 8, ["Wrapper", "block", "context"])) : L("v-if", !0)
|
|
2936
2936
|
], 64))
|
|
2937
|
-
], 64)) :
|
|
2937
|
+
], 64)) : L("v-if", !0);
|
|
2938
2938
|
}
|
|
2939
|
-
const Tr = /* @__PURE__ */
|
|
2939
|
+
const Tr = /* @__PURE__ */ P(oi, [["render", ii], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/block/block.vue"]]), $u = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2940
2940
|
__proto__: null,
|
|
2941
2941
|
default: Tr
|
|
2942
|
-
}, Symbol.toStringTag, { value: "Module" })), si =
|
|
2942
|
+
}, Symbol.toStringTag, { value: "Module" })), si = $({
|
|
2943
2943
|
name: "builder-blocks-wrapper",
|
|
2944
2944
|
props: [
|
|
2945
2945
|
"BlocksWrapper",
|
|
@@ -2958,7 +2958,7 @@ const Tr = /* @__PURE__ */ M(oi, [["render", ii], ["__file", "/home/runner/work/
|
|
|
2958
2958
|
methods: {
|
|
2959
2959
|
onClick() {
|
|
2960
2960
|
var e, t;
|
|
2961
|
-
|
|
2961
|
+
ge() && !((e = this.blocks) != null && e.length) && ((t = window.parent) == null || t.postMessage(
|
|
2962
2962
|
{
|
|
2963
2963
|
type: "builder.clickEmptyBlocks",
|
|
2964
2964
|
data: {
|
|
@@ -2971,7 +2971,7 @@ const Tr = /* @__PURE__ */ M(oi, [["render", ii], ["__file", "/home/runner/work/
|
|
|
2971
2971
|
},
|
|
2972
2972
|
onMouseEnter() {
|
|
2973
2973
|
var e, t;
|
|
2974
|
-
|
|
2974
|
+
ge() && !((e = this.blocks) != null && e.length) && ((t = window.parent) == null || t.postMessage(
|
|
2975
2975
|
{
|
|
2976
2976
|
type: "builder.hoverEmptyBlocks",
|
|
2977
2977
|
data: {
|
|
@@ -2994,8 +2994,8 @@ const Tr = /* @__PURE__ */ M(oi, [["render", ii], ["__file", "/home/runner/work/
|
|
|
2994
2994
|
}
|
|
2995
2995
|
});
|
|
2996
2996
|
function ui(e, t, n, r, o, i) {
|
|
2997
|
-
return E(), X(vr(e.BlocksWrapper),
|
|
2998
|
-
class: e._classStringToObject(e.className + " component-
|
|
2997
|
+
return E(), X(vr(e.BlocksWrapper), ee({
|
|
2998
|
+
class: e._classStringToObject(e.className + " component-1k2igrjdg3x"),
|
|
2999
2999
|
"builder-path": e.path,
|
|
3000
3000
|
"builder-parent-id": e.parent,
|
|
3001
3001
|
style: e.styleProp,
|
|
@@ -3009,7 +3009,7 @@ function ui(e, t, n, r, o, i) {
|
|
|
3009
3009
|
_: 3
|
|
3010
3010
|
}, 16, ["class", "builder-path", "builder-parent-id", "style", "onClick", "onMouseEnter", "onKeyPress"]);
|
|
3011
3011
|
}
|
|
3012
|
-
const ai = /* @__PURE__ */
|
|
3012
|
+
const ai = /* @__PURE__ */ P(si, [["render", ui], ["__scopeId", "data-v-1f8aab9f"], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/blocks/blocks-wrapper.vue"]]), li = $({
|
|
3013
3013
|
name: "builder-blocks",
|
|
3014
3014
|
components: { BlocksWrapper: ai, Block: Tr },
|
|
3015
3015
|
props: [
|
|
@@ -3021,13 +3021,13 @@ const ai = /* @__PURE__ */ M(si, [["render", ui], ["__scopeId", "data-v-1f8aab9f
|
|
|
3021
3021
|
"registeredComponents"
|
|
3022
3022
|
],
|
|
3023
3023
|
inject: {
|
|
3024
|
-
builderContext:
|
|
3024
|
+
builderContext: rn.key,
|
|
3025
3025
|
componentsContext: br.key
|
|
3026
3026
|
}
|
|
3027
3027
|
});
|
|
3028
3028
|
function ci(e, t, n, r, o, i) {
|
|
3029
3029
|
var h, m;
|
|
3030
|
-
const u =
|
|
3030
|
+
const u = V("block"), p = V("blocks-wrapper");
|
|
3031
3031
|
return E(), X(p, {
|
|
3032
3032
|
blocks: e.blocks,
|
|
3033
3033
|
parent: e.parent,
|
|
@@ -3037,23 +3037,23 @@ function ci(e, t, n, r, o, i) {
|
|
|
3037
3037
|
BlocksWrapperProps: (m = e.context) == null ? void 0 : m.BlocksWrapperProps
|
|
3038
3038
|
}, {
|
|
3039
3039
|
default: at(() => [
|
|
3040
|
-
e.blocks ? (E(!0), I(ue, { key: 0 }, ot(e.blocks, (v,
|
|
3040
|
+
e.blocks ? (E(!0), I(ue, { key: 0 }, ot(e.blocks, (v, b) => (E(), X(u, {
|
|
3041
3041
|
key: v.id,
|
|
3042
3042
|
block: v,
|
|
3043
3043
|
context: e.context || e.builderContext,
|
|
3044
3044
|
registeredComponents: e.registeredComponents || e.componentsContext.registeredComponents
|
|
3045
|
-
}, null, 8, ["block", "context", "registeredComponents"]))), 128)) :
|
|
3045
|
+
}, null, 8, ["block", "context", "registeredComponents"]))), 128)) : L("v-if", !0)
|
|
3046
3046
|
]),
|
|
3047
3047
|
_: 1
|
|
3048
3048
|
}, 8, ["blocks", "parent", "path", "styleProp", "BlocksWrapper", "BlocksWrapperProps"]);
|
|
3049
3049
|
}
|
|
3050
|
-
const
|
|
3050
|
+
const Dt = /* @__PURE__ */ P(li, [["render", ci], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/blocks/blocks.vue"]]), pi = $({
|
|
3051
3051
|
render() {
|
|
3052
3052
|
return Ar("style", { id: this.id, innerHTML: this.styles });
|
|
3053
3053
|
},
|
|
3054
3054
|
name: "inlined-styles",
|
|
3055
3055
|
props: ["styles", "id"]
|
|
3056
|
-
}), bn = /* @__PURE__ */
|
|
3056
|
+
}), bn = /* @__PURE__ */ P(pi, [["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/inlined-styles.vue"]]), Rr = {
|
|
3057
3057
|
small: {
|
|
3058
3058
|
min: 320,
|
|
3059
3059
|
default: 321,
|
|
@@ -3069,7 +3069,7 @@ const Cn = /* @__PURE__ */ M(li, [["render", ci], ["__file", "/home/runner/work/
|
|
|
3069
3069
|
default: 991,
|
|
3070
3070
|
max: 1200
|
|
3071
3071
|
}
|
|
3072
|
-
},
|
|
3072
|
+
}, Pu = (e, t = Rr) => `@media (max-width: ${t[e].max}px)`, di = ({
|
|
3073
3073
|
small: e,
|
|
3074
3074
|
medium: t
|
|
3075
3075
|
}) => {
|
|
@@ -3094,9 +3094,9 @@ const Cn = /* @__PURE__ */ M(li, [["render", ci], ["__file", "/home/runner/work/
|
|
|
3094
3094
|
min: i,
|
|
3095
3095
|
default: i + 1
|
|
3096
3096
|
}, n;
|
|
3097
|
-
}, hi =
|
|
3097
|
+
}, hi = $({
|
|
3098
3098
|
name: "builder-columns",
|
|
3099
|
-
components: { InlinedStyles: bn, Blocks:
|
|
3099
|
+
components: { InlinedStyles: bn, Blocks: Dt },
|
|
3100
3100
|
props: [
|
|
3101
3101
|
"js",
|
|
3102
3102
|
"space",
|
|
@@ -3113,7 +3113,7 @@ const Cn = /* @__PURE__ */ M(li, [["render", ci], ["__file", "/home/runner/work/
|
|
|
3113
3113
|
cols: this.columns || [],
|
|
3114
3114
|
stackAt: this.stackColumnsAt || "tablet",
|
|
3115
3115
|
flexDir: this.stackColumnsAt === "never" ? "row" : this.reverseColumnsWhenStacked ? "column-reverse" : "column",
|
|
3116
|
-
TARGET:
|
|
3116
|
+
TARGET: Ae
|
|
3117
3117
|
};
|
|
3118
3118
|
},
|
|
3119
3119
|
computed: {
|
|
@@ -3216,8 +3216,8 @@ const Cn = /* @__PURE__ */ M(li, [["render", ci], ["__file", "/home/runner/work/
|
|
|
3216
3216
|
}
|
|
3217
3217
|
});
|
|
3218
3218
|
function fi(e, t, n, r, o, i) {
|
|
3219
|
-
const u =
|
|
3220
|
-
return E(), I("div",
|
|
3219
|
+
const u = V("inlined-styles"), p = V("blocks");
|
|
3220
|
+
return E(), I("div", ee({
|
|
3221
3221
|
class: e._classStringToObject(
|
|
3222
3222
|
`builder-columns ${e.builderBlock.id}-breakpoints div-16nol0lwi20`
|
|
3223
3223
|
),
|
|
@@ -3226,13 +3226,13 @@ function fi(e, t, n, r, o, i) {
|
|
|
3226
3226
|
e.TARGET !== "reactNative" ? (E(), X(u, {
|
|
3227
3227
|
key: 0,
|
|
3228
3228
|
styles: e.columnsStyles
|
|
3229
|
-
}, null, 8, ["styles"])) :
|
|
3230
|
-
(E(!0), I(ue, null, ot(e.columns, (h, m) => (E(), I("div",
|
|
3229
|
+
}, null, 8, ["styles"])) : L("v-if", !0),
|
|
3230
|
+
(E(!0), I(ue, null, ot(e.columns, (h, m) => (E(), I("div", ee({
|
|
3231
3231
|
key: m,
|
|
3232
3232
|
class: "builder-column div-16nol0lwi20-2",
|
|
3233
3233
|
style: e.columnCssVars(m)
|
|
3234
3234
|
}, {}), [
|
|
3235
|
-
|
|
3235
|
+
me(p, {
|
|
3236
3236
|
path: `component.options.columns.${m}.blocks`,
|
|
3237
3237
|
parent: e.builderBlock.id,
|
|
3238
3238
|
styleProp: {
|
|
@@ -3245,7 +3245,7 @@ function fi(e, t, n, r, o, i) {
|
|
|
3245
3245
|
], 16))), 128))
|
|
3246
3246
|
], 16);
|
|
3247
3247
|
}
|
|
3248
|
-
const mi = /* @__PURE__ */
|
|
3248
|
+
const mi = /* @__PURE__ */ P(hi, [["render", fi], ["__scopeId", "data-v-7be099dc"], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/blocks/columns/columns.vue"]]), gi = $({
|
|
3249
3249
|
name: "builder-fragment-component",
|
|
3250
3250
|
props: []
|
|
3251
3251
|
});
|
|
@@ -3254,7 +3254,7 @@ function yi(e, t, n, r, o, i) {
|
|
|
3254
3254
|
Ee(e.$slots, "default")
|
|
3255
3255
|
]);
|
|
3256
3256
|
}
|
|
3257
|
-
const vi = /* @__PURE__ */
|
|
3257
|
+
const vi = /* @__PURE__ */ P(gi, [["render", yi], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/blocks/fragment/fragment.vue"]]);
|
|
3258
3258
|
function ar(e) {
|
|
3259
3259
|
return e.replace(/http(s)?:/, "");
|
|
3260
3260
|
}
|
|
@@ -3274,7 +3274,7 @@ function Ci(e, t) {
|
|
|
3274
3274
|
}
|
|
3275
3275
|
return null;
|
|
3276
3276
|
}
|
|
3277
|
-
function
|
|
3277
|
+
function en(e) {
|
|
3278
3278
|
if (!e)
|
|
3279
3279
|
return e;
|
|
3280
3280
|
const t = [100, 200, 400, 800, 1200, 1600, 2e3];
|
|
@@ -3285,7 +3285,7 @@ function Zt(e) {
|
|
|
3285
3285
|
}
|
|
3286
3286
|
return e.match(/cdn\.shopify\.com/) ? t.map((n) => [Ci(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, r]) => `${n} ${r}w`).concat([e]).join(", ") : e;
|
|
3287
3287
|
}
|
|
3288
|
-
const bi =
|
|
3288
|
+
const bi = $({
|
|
3289
3289
|
name: "builder-image",
|
|
3290
3290
|
props: [
|
|
3291
3291
|
"image",
|
|
@@ -3309,10 +3309,10 @@ const bi = U({
|
|
|
3309
3309
|
return this.srcset;
|
|
3310
3310
|
if (this.srcset && ((n = this.image) == null ? void 0 : n.includes("builder.io/api/v1/image"))) {
|
|
3311
3311
|
if (!this.srcset.includes(this.image.split("?")[0]))
|
|
3312
|
-
return console.debug("Removed given srcset"),
|
|
3312
|
+
return console.debug("Removed given srcset"), en(t);
|
|
3313
3313
|
} else if (this.image && !this.srcset)
|
|
3314
|
-
return
|
|
3315
|
-
return
|
|
3314
|
+
return en(t);
|
|
3315
|
+
return en(t);
|
|
3316
3316
|
},
|
|
3317
3317
|
webpSrcSet() {
|
|
3318
3318
|
var e;
|
|
@@ -3348,17 +3348,17 @@ const ki = ["srcset"], Ei = ["alt", "role", "src", "srcset", "sizes"], Si = {
|
|
|
3348
3348
|
function Fi(e, t, n, r, o, i) {
|
|
3349
3349
|
var u, p, h, m;
|
|
3350
3350
|
return E(), I(ue, null, [
|
|
3351
|
-
|
|
3351
|
+
tn("picture", null, [
|
|
3352
3352
|
e.webpSrcSet ? (E(), I("source", {
|
|
3353
3353
|
key: 0,
|
|
3354
3354
|
type: "image/webp",
|
|
3355
3355
|
srcset: e.webpSrcSet
|
|
3356
|
-
}, null, 8, ki)) :
|
|
3357
|
-
|
|
3356
|
+
}, null, 8, ki)) : L("v-if", !0),
|
|
3357
|
+
tn("img", {
|
|
3358
3358
|
loading: "lazy",
|
|
3359
3359
|
alt: e.altText,
|
|
3360
3360
|
role: e.altText ? "presentation" : void 0,
|
|
3361
|
-
style:
|
|
3361
|
+
style: nn({
|
|
3362
3362
|
objectPosition: e.backgroundPosition || "center",
|
|
3363
3363
|
objectFit: e.backgroundSize || "cover",
|
|
3364
3364
|
...e.aspectRatioCss
|
|
@@ -3376,17 +3376,17 @@ function Fi(e, t, n, r, o, i) {
|
|
|
3376
3376
|
e.aspectRatio && !(((p = (u = e.builderBlock) == null ? void 0 : u.children) == null ? void 0 : p.length) && e.fitContent) ? (E(), I("div", {
|
|
3377
3377
|
key: 0,
|
|
3378
3378
|
class: "builder-image-sizer div-1be3j8m9ewb",
|
|
3379
|
-
style:
|
|
3379
|
+
style: nn({
|
|
3380
3380
|
paddingTop: e.aspectRatio * 100 + "%"
|
|
3381
3381
|
})
|
|
3382
|
-
}, null, 4)) :
|
|
3383
|
-
((m = (h = e.builderBlock) == null ? void 0 : h.children) == null ? void 0 : m.length) && e.fitContent ? Ee(e.$slots, "default", { key: 1 }, void 0, !0) :
|
|
3382
|
+
}, null, 4)) : L("v-if", !0),
|
|
3383
|
+
((m = (h = e.builderBlock) == null ? void 0 : h.children) == null ? void 0 : m.length) && e.fitContent ? Ee(e.$slots, "default", { key: 1 }, void 0, !0) : L("v-if", !0),
|
|
3384
3384
|
!e.fitContent && e.$slots.default ? (E(), I("div", Si, [
|
|
3385
3385
|
Ee(e.$slots, "default", {}, void 0, !0)
|
|
3386
|
-
])) :
|
|
3386
|
+
])) : L("v-if", !0)
|
|
3387
3387
|
], 64);
|
|
3388
3388
|
}
|
|
3389
|
-
const wi = /* @__PURE__ */
|
|
3389
|
+
const wi = /* @__PURE__ */ P(bi, [["render", Fi], ["__scopeId", "data-v-58ca75d1"], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/blocks/image/image.vue"]]), Bi = $({
|
|
3390
3390
|
name: "builder-section-component",
|
|
3391
3391
|
props: ["attributes", "maxWidth"],
|
|
3392
3392
|
data() {
|
|
@@ -3394,7 +3394,7 @@ const wi = /* @__PURE__ */ M(bi, [["render", Fi], ["__scopeId", "data-v-58ca75d1
|
|
|
3394
3394
|
}
|
|
3395
3395
|
});
|
|
3396
3396
|
function Di(e, t, n, r, o, i) {
|
|
3397
|
-
return E(), I("section",
|
|
3397
|
+
return E(), I("section", ee({
|
|
3398
3398
|
style: {
|
|
3399
3399
|
width: "100%",
|
|
3400
3400
|
alignSelf: "stretch",
|
|
@@ -3411,7 +3411,7 @@ function Di(e, t, n, r, o, i) {
|
|
|
3411
3411
|
Ee(e.$slots, "default")
|
|
3412
3412
|
], 16);
|
|
3413
3413
|
}
|
|
3414
|
-
const Ii = /* @__PURE__ */
|
|
3414
|
+
const Ii = /* @__PURE__ */ P(Bi, [["render", Di], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/blocks/section/section.vue"]]), xi = (e) => {
|
|
3415
3415
|
if (e === "localhost" || e === "127.0.0.1")
|
|
3416
3416
|
return e;
|
|
3417
3417
|
const t = e.split(".");
|
|
@@ -3424,17 +3424,17 @@ const Ii = /* @__PURE__ */ M(Bi, [["render", Di], ["__file", "/home/runner/work/
|
|
|
3424
3424
|
try {
|
|
3425
3425
|
return t ? (n = document.cookie.split("; ").find((r) => r.startsWith(`${e}=`))) == null ? void 0 : n.split("=")[1] : void 0;
|
|
3426
3426
|
} catch (r) {
|
|
3427
|
-
|
|
3427
|
+
te.warn("[COOKIE] GET error: ", (r == null ? void 0 : r.message) || r);
|
|
3428
3428
|
return;
|
|
3429
3429
|
}
|
|
3430
|
-
}, Or = async (e) => jr(e), Ti = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(
|
|
3430
|
+
}, Or = async (e) => jr(e), Ti = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(Pe).join("; "), Ri = [["secure", ""], ["SameSite", "None"]], ji = ({
|
|
3431
3431
|
name: e,
|
|
3432
3432
|
value: t,
|
|
3433
3433
|
expires: n
|
|
3434
3434
|
}) => {
|
|
3435
3435
|
const o = (J() ? location.protocol === "https:" : !0) ? Ri : [[]], i = n ? [["expires", n.toUTCString()]] : [[]], u = [[e, t], ...i, ["path", "/"], ["domain", xi(window.location.hostname)], ...o];
|
|
3436
3436
|
return Ti(u);
|
|
3437
|
-
},
|
|
3437
|
+
}, $r = async ({
|
|
3438
3438
|
name: e,
|
|
3439
3439
|
value: t,
|
|
3440
3440
|
expires: n,
|
|
@@ -3450,14 +3450,14 @@ const Ii = /* @__PURE__ */ M(Bi, [["render", Di], ["__file", "/home/runner/work/
|
|
|
3450
3450
|
});
|
|
3451
3451
|
document.cookie = o;
|
|
3452
3452
|
} catch (o) {
|
|
3453
|
-
|
|
3453
|
+
te.warn("[COOKIE] SET error: ", (o == null ? void 0 : o.message) || o);
|
|
3454
3454
|
}
|
|
3455
|
-
}, Oi = "builder.tests", kn = (e) => `${Oi}.${e}`,
|
|
3455
|
+
}, Oi = "builder.tests", kn = (e) => `${Oi}.${e}`, $i = ({
|
|
3456
3456
|
contentId: e
|
|
3457
3457
|
}) => Or({
|
|
3458
3458
|
name: kn(e),
|
|
3459
3459
|
canTrack: !0
|
|
3460
|
-
}),
|
|
3460
|
+
}), Pi = ({
|
|
3461
3461
|
contentId: e
|
|
3462
3462
|
}) => jr({
|
|
3463
3463
|
name: kn(e),
|
|
@@ -3465,11 +3465,11 @@ const Ii = /* @__PURE__ */ M(Bi, [["render", Di], ["__file", "/home/runner/work/
|
|
|
3465
3465
|
}), Ni = ({
|
|
3466
3466
|
contentId: e,
|
|
3467
3467
|
value: t
|
|
3468
|
-
}) =>
|
|
3468
|
+
}) => $r({
|
|
3469
3469
|
name: kn(e),
|
|
3470
3470
|
value: t,
|
|
3471
3471
|
canTrack: !0
|
|
3472
|
-
}),
|
|
3472
|
+
}), Pr = (e) => Pe(e.id) && Pe(e.variations) && Object.keys(e.variations).length > 0, _i = ({
|
|
3473
3473
|
id: e,
|
|
3474
3474
|
variations: t
|
|
3475
3475
|
}) => {
|
|
@@ -3488,7 +3488,7 @@ const Ii = /* @__PURE__ */ M(Bi, [["render", Di], ["__file", "/home/runner/work/
|
|
|
3488
3488
|
contentId: e.id,
|
|
3489
3489
|
value: t
|
|
3490
3490
|
}).catch((n) => {
|
|
3491
|
-
|
|
3491
|
+
te.error("could not store A/B test variation: ", n);
|
|
3492
3492
|
}), t;
|
|
3493
3493
|
}, _r = ({
|
|
3494
3494
|
item: e,
|
|
@@ -3511,9 +3511,9 @@ const Ii = /* @__PURE__ */ M(Bi, [["render", Di], ["__file", "/home/runner/work/
|
|
|
3511
3511
|
return e;
|
|
3512
3512
|
if (!e)
|
|
3513
3513
|
return;
|
|
3514
|
-
if (
|
|
3514
|
+
if (!Pr(e))
|
|
3515
3515
|
return e;
|
|
3516
|
-
const n =
|
|
3516
|
+
const n = Pi({
|
|
3517
3517
|
contentId: e.id
|
|
3518
3518
|
}) || Nr({
|
|
3519
3519
|
variations: e.variations,
|
|
@@ -3530,9 +3530,9 @@ const Ii = /* @__PURE__ */ M(Bi, [["render", Di], ["__file", "/home/runner/work/
|
|
|
3530
3530
|
item: e,
|
|
3531
3531
|
canTrack: t
|
|
3532
3532
|
}) => {
|
|
3533
|
-
if (!t ||
|
|
3533
|
+
if (!t || !Pr(e))
|
|
3534
3534
|
return e;
|
|
3535
|
-
const r = await
|
|
3535
|
+
const r = await $i({
|
|
3536
3536
|
contentId: e.id
|
|
3537
3537
|
}) || Nr({
|
|
3538
3538
|
variations: e.variations,
|
|
@@ -3545,7 +3545,7 @@ const Ii = /* @__PURE__ */ M(Bi, [["render", Di], ["__file", "/home/runner/work/
|
|
|
3545
3545
|
...e,
|
|
3546
3546
|
...o
|
|
3547
3547
|
};
|
|
3548
|
-
}, ut = (e) =>
|
|
3548
|
+
}, ut = (e) => Pe(e) ? e : !0, Wi = {
|
|
3549
3549
|
name: "Core:Button",
|
|
3550
3550
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
|
|
3551
3551
|
defaultStyles: {
|
|
@@ -3799,7 +3799,7 @@ const Ii = /* @__PURE__ */ M(Bi, [["render", Di], ["__file", "/home/runner/work/
|
|
|
3799
3799
|
helperText: "Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads",
|
|
3800
3800
|
advanced: !0
|
|
3801
3801
|
}]
|
|
3802
|
-
}, Hi =
|
|
3802
|
+
}, Hi = $({
|
|
3803
3803
|
name: "builder-custom-code",
|
|
3804
3804
|
props: ["replaceNodes", "code"],
|
|
3805
3805
|
data() {
|
|
@@ -3856,7 +3856,7 @@ function Gi(e, t, n, r, o, i) {
|
|
|
3856
3856
|
innerHTML: e.code
|
|
3857
3857
|
}, null, 10, Ki);
|
|
3858
3858
|
}
|
|
3859
|
-
const zi = /* @__PURE__ */
|
|
3859
|
+
const zi = /* @__PURE__ */ P(Hi, [["render", Gi], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/blocks/custom-code/custom-code.vue"]]), Xi = {
|
|
3860
3860
|
name: "Embed",
|
|
3861
3861
|
static: !0,
|
|
3862
3862
|
inputs: [{
|
|
@@ -3881,7 +3881,7 @@ const zi = /* @__PURE__ */ M(Hi, [["render", Gi], ["__file", "/home/runner/work/
|
|
|
3881
3881
|
defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
|
|
3882
3882
|
hideFromUI: !0
|
|
3883
3883
|
}]
|
|
3884
|
-
}, Ji = ["text/javascript", "application/javascript", "application/ecmascript"], Yi = (e) => Ji.includes(e.type), qi =
|
|
3884
|
+
}, Ji = ["text/javascript", "application/javascript", "application/ecmascript"], Yi = (e) => Ji.includes(e.type), qi = $({
|
|
3885
3885
|
name: "builder-embed",
|
|
3886
3886
|
props: ["content"],
|
|
3887
3887
|
data() {
|
|
@@ -3931,7 +3931,7 @@ function Zi(e, t, n, r, o, i) {
|
|
|
3931
3931
|
innerHTML: e.content
|
|
3932
3932
|
}, null, 8, Qi);
|
|
3933
3933
|
}
|
|
3934
|
-
const es = /* @__PURE__ */
|
|
3934
|
+
const es = /* @__PURE__ */ P(qi, [["render", Zi], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/blocks/embed/embed.vue"]]), ts = {
|
|
3935
3935
|
name: "Fragment",
|
|
3936
3936
|
static: !0,
|
|
3937
3937
|
hidden: !0,
|
|
@@ -3960,13 +3960,13 @@ const es = /* @__PURE__ */ M(qi, [["render", Zi], ["__file", "/home/runner/work/
|
|
|
3960
3960
|
function n(u, p = 6e4) {
|
|
3961
3961
|
return new Promise((h, m) => {
|
|
3962
3962
|
const v = document.createElement("img");
|
|
3963
|
-
let
|
|
3963
|
+
let b = !1;
|
|
3964
3964
|
v.onload = () => {
|
|
3965
|
-
|
|
3965
|
+
b = !0, h(v);
|
|
3966
3966
|
}, v.addEventListener("error", (T) => {
|
|
3967
3967
|
console.warn("Image load failed", T.error), m(T.error);
|
|
3968
3968
|
}), v.src = u, setTimeout(() => {
|
|
3969
|
-
|
|
3969
|
+
b || m(new Error("Image load timed out"));
|
|
3970
3970
|
}, p);
|
|
3971
3971
|
});
|
|
3972
3972
|
}
|
|
@@ -4050,7 +4050,7 @@ const es = /* @__PURE__ */ M(qi, [["render", Zi], ["__file", "/home/runner/work/
|
|
|
4050
4050
|
}],
|
|
4051
4051
|
noWrap: !0,
|
|
4052
4052
|
static: !0
|
|
4053
|
-
}, os =
|
|
4053
|
+
}, os = $({
|
|
4054
4054
|
name: "builder-img-component",
|
|
4055
4055
|
props: [
|
|
4056
4056
|
"backgroundSize",
|
|
@@ -4061,11 +4061,11 @@ const es = /* @__PURE__ */ M(qi, [["render", Zi], ["__file", "/home/runner/work/
|
|
|
4061
4061
|
"attributes"
|
|
4062
4062
|
],
|
|
4063
4063
|
data() {
|
|
4064
|
-
return { isEditing:
|
|
4064
|
+
return { isEditing: ge, filterAttrs: Ft };
|
|
4065
4065
|
}
|
|
4066
4066
|
}), is = ["alt", "src"];
|
|
4067
4067
|
function ss(e, t, n, r, o, i) {
|
|
4068
|
-
return E(), I("img",
|
|
4068
|
+
return E(), I("img", ee({
|
|
4069
4069
|
style: {
|
|
4070
4070
|
objectFit: e.backgroundSize || "cover",
|
|
4071
4071
|
objectPosition: e.backgroundPosition || "center"
|
|
@@ -4075,7 +4075,7 @@ function ss(e, t, n, r, o, i) {
|
|
|
4075
4075
|
src: e.imgSrc || e.image
|
|
4076
4076
|
}, e.filterAttrs(e.attributes, "v-on:", !1), rt(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, is);
|
|
4077
4077
|
}
|
|
4078
|
-
const us = /* @__PURE__ */
|
|
4078
|
+
const us = /* @__PURE__ */ P(os, [["render", ss], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/blocks/img/img.vue"]]), as = {
|
|
4079
4079
|
name: "Core:Section",
|
|
4080
4080
|
static: !0,
|
|
4081
4081
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
|
|
@@ -4115,6 +4115,42 @@ const us = /* @__PURE__ */ M(os, [["render", ss], ["__file", "/home/runner/work/
|
|
|
4115
4115
|
}
|
|
4116
4116
|
}]
|
|
4117
4117
|
}, ls = {
|
|
4118
|
+
name: "Slot",
|
|
4119
|
+
isRSC: !0,
|
|
4120
|
+
description: "Allow child blocks to be inserted into this content when used as a Symbol",
|
|
4121
|
+
docsLink: "https://www.builder.io/c/docs/symbols-with-blocks",
|
|
4122
|
+
image: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F3aad6de36eae43b59b52c85190fdef56",
|
|
4123
|
+
inputs: [{
|
|
4124
|
+
name: "name",
|
|
4125
|
+
type: "string",
|
|
4126
|
+
required: !0,
|
|
4127
|
+
defaultValue: "children"
|
|
4128
|
+
}]
|
|
4129
|
+
}, cs = $({
|
|
4130
|
+
name: "builder-slot",
|
|
4131
|
+
components: { Blocks: Dt },
|
|
4132
|
+
props: ["builderContext", "name"]
|
|
4133
|
+
});
|
|
4134
|
+
function ps(e, t, n, r, o, i) {
|
|
4135
|
+
var p, h, m;
|
|
4136
|
+
const u = V("blocks");
|
|
4137
|
+
return E(), I("div", ee(
|
|
4138
|
+
{ style: {
|
|
4139
|
+
pointerEvents: "auto"
|
|
4140
|
+
} },
|
|
4141
|
+
!((p = e.builderContext.context) != null && p.symbolId) && {
|
|
4142
|
+
"builder-slot": e.name
|
|
4143
|
+
}
|
|
4144
|
+
), [
|
|
4145
|
+
me(u, {
|
|
4146
|
+
parent: (h = e.builderContext.context) == null ? void 0 : h.symbolId,
|
|
4147
|
+
path: `symbol.data.${e.name}`,
|
|
4148
|
+
context: e.builderContext,
|
|
4149
|
+
blocks: (m = e.builderContext.rootState) == null ? void 0 : m[e.name]
|
|
4150
|
+
}, null, 8, ["parent", "path", "context", "blocks"])
|
|
4151
|
+
], 16);
|
|
4152
|
+
}
|
|
4153
|
+
const ds = /* @__PURE__ */ P(cs, [["render", ps], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/blocks/slot/slot.vue"]]), hs = {
|
|
4118
4154
|
name: "Symbol",
|
|
4119
4155
|
noWrap: !0,
|
|
4120
4156
|
static: !0,
|
|
@@ -4147,7 +4183,7 @@ const us = /* @__PURE__ */ M(os, [["render", ss], ["__file", "/home/runner/work/
|
|
|
4147
4183
|
hideFromUI: !0,
|
|
4148
4184
|
type: "boolean"
|
|
4149
4185
|
}]
|
|
4150
|
-
},
|
|
4186
|
+
}, fs = {
|
|
4151
4187
|
name: "Text",
|
|
4152
4188
|
static: !0,
|
|
4153
4189
|
isRSC: !0,
|
|
@@ -4165,11 +4201,11 @@ const us = /* @__PURE__ */ M(os, [["render", ss], ["__file", "/home/runner/work/
|
|
|
4165
4201
|
height: "auto",
|
|
4166
4202
|
textAlign: "center"
|
|
4167
4203
|
}
|
|
4168
|
-
},
|
|
4204
|
+
}, ms = $({
|
|
4169
4205
|
name: "builder-text",
|
|
4170
4206
|
props: ["text"]
|
|
4171
|
-
}),
|
|
4172
|
-
function
|
|
4207
|
+
}), gs = ["innerHTML"];
|
|
4208
|
+
function ys(e, t, n, r, o, i) {
|
|
4173
4209
|
var u;
|
|
4174
4210
|
return E(), I("div", {
|
|
4175
4211
|
class: "builder-text",
|
|
@@ -4177,9 +4213,9 @@ function hs(e, t, n, r, o, i) {
|
|
|
4177
4213
|
style: {
|
|
4178
4214
|
outline: "none"
|
|
4179
4215
|
}
|
|
4180
|
-
}, null, 8,
|
|
4216
|
+
}, null, 8, gs);
|
|
4181
4217
|
}
|
|
4182
|
-
const
|
|
4218
|
+
const vs = /* @__PURE__ */ P(ms, [["render", ys], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/blocks/text/text.vue"]]), As = {
|
|
4183
4219
|
name: "Video",
|
|
4184
4220
|
canHaveChildren: !0,
|
|
4185
4221
|
defaultStyles: {
|
|
@@ -4260,7 +4296,7 @@ const fs = /* @__PURE__ */ M(ps, [["render", hs], ["__file", "/home/runner/work/
|
|
|
4260
4296
|
defaultValue: !0,
|
|
4261
4297
|
advanced: !0
|
|
4262
4298
|
}]
|
|
4263
|
-
},
|
|
4299
|
+
}, Cs = $({
|
|
4264
4300
|
name: "builder-video",
|
|
4265
4301
|
props: [
|
|
4266
4302
|
"autoPlay",
|
|
@@ -4305,16 +4341,16 @@ const fs = /* @__PURE__ */ M(ps, [["render", hs], ["__file", "/home/runner/work/
|
|
|
4305
4341
|
};
|
|
4306
4342
|
}
|
|
4307
4343
|
}
|
|
4308
|
-
}),
|
|
4344
|
+
}), bs = { style: {
|
|
4309
4345
|
position: "relative"
|
|
4310
|
-
} },
|
|
4346
|
+
} }, ks = ["preload", "src", "poster"], Es = ["src"], Ss = {
|
|
4311
4347
|
key: 1,
|
|
4312
4348
|
style: {
|
|
4313
4349
|
display: "flex",
|
|
4314
4350
|
flexDirection: "column",
|
|
4315
4351
|
alignItems: "stretch"
|
|
4316
4352
|
}
|
|
4317
|
-
},
|
|
4353
|
+
}, Fs = {
|
|
4318
4354
|
key: 2,
|
|
4319
4355
|
style: {
|
|
4320
4356
|
pointerEvents: "none",
|
|
@@ -4328,10 +4364,10 @@ const fs = /* @__PURE__ */ M(ps, [["render", hs], ["__file", "/home/runner/work/
|
|
|
4328
4364
|
height: "100%"
|
|
4329
4365
|
}
|
|
4330
4366
|
};
|
|
4331
|
-
function
|
|
4332
|
-
var u, p, h, m, v,
|
|
4333
|
-
return E(), I("div",
|
|
4334
|
-
|
|
4367
|
+
function ws(e, t, n, r, o, i) {
|
|
4368
|
+
var u, p, h, m, v, b, T;
|
|
4369
|
+
return E(), I("div", bs, [
|
|
4370
|
+
tn("video", ee({
|
|
4335
4371
|
class: "builder-video",
|
|
4336
4372
|
preload: e.preload || "metadata",
|
|
4337
4373
|
style: {
|
|
@@ -4349,30 +4385,30 @@ function ks(e, t, n, r, o, i) {
|
|
|
4349
4385
|
src: e.video || "no-src",
|
|
4350
4386
|
poster: e.posterImage
|
|
4351
4387
|
}, e.spreadProps), [
|
|
4352
|
-
e.lazyLoad ?
|
|
4388
|
+
e.lazyLoad ? L("v-if", !0) : (E(), I("source", {
|
|
4353
4389
|
key: 0,
|
|
4354
4390
|
type: "video/mp4",
|
|
4355
4391
|
src: e.video
|
|
4356
|
-
}, null, 8,
|
|
4357
|
-
], 16,
|
|
4392
|
+
}, null, 8, Es))
|
|
4393
|
+
], 16, ks),
|
|
4358
4394
|
e.aspectRatio && !(e.fitContent && ((h = (p = e.builderBlock) == null ? void 0 : p.children) == null ? void 0 : h.length)) ? (E(), I("div", {
|
|
4359
4395
|
key: 0,
|
|
4360
|
-
style:
|
|
4396
|
+
style: nn({
|
|
4361
4397
|
width: "100%",
|
|
4362
4398
|
paddingTop: e.aspectRatio * 100 + "%",
|
|
4363
4399
|
pointerEvents: "none",
|
|
4364
4400
|
fontSize: "0px"
|
|
4365
4401
|
})
|
|
4366
|
-
}, null, 4)) :
|
|
4367
|
-
((v = (m = e.builderBlock) == null ? void 0 : m.children) == null ? void 0 : v.length) && e.fitContent ? (E(), I("div",
|
|
4402
|
+
}, null, 4)) : L("v-if", !0),
|
|
4403
|
+
((v = (m = e.builderBlock) == null ? void 0 : m.children) == null ? void 0 : v.length) && e.fitContent ? (E(), I("div", Ss, [
|
|
4368
4404
|
Ee(e.$slots, "default")
|
|
4369
|
-
])) :
|
|
4370
|
-
((T = (
|
|
4405
|
+
])) : L("v-if", !0),
|
|
4406
|
+
((T = (b = e.builderBlock) == null ? void 0 : b.children) == null ? void 0 : T.length) && !e.fitContent ? (E(), I("div", Fs, [
|
|
4371
4407
|
Ee(e.$slots, "default")
|
|
4372
|
-
])) :
|
|
4408
|
+
])) : L("v-if", !0)
|
|
4373
4409
|
]);
|
|
4374
4410
|
}
|
|
4375
|
-
const
|
|
4411
|
+
const Bs = /* @__PURE__ */ P(Cs, [["render", ws], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/blocks/video/video.vue"]]), lr = () => [{
|
|
4376
4412
|
component: Ao,
|
|
4377
4413
|
...Wi
|
|
4378
4414
|
}, {
|
|
@@ -4397,30 +4433,33 @@ const Es = /* @__PURE__ */ M(gs, [["render", ks], ["__file", "/home/runner/work/
|
|
|
4397
4433
|
component: Ii,
|
|
4398
4434
|
...as
|
|
4399
4435
|
}, {
|
|
4400
|
-
component:
|
|
4401
|
-
...
|
|
4436
|
+
component: ju,
|
|
4437
|
+
...hs
|
|
4438
|
+
}, {
|
|
4439
|
+
component: vs,
|
|
4440
|
+
...fs
|
|
4402
4441
|
}, {
|
|
4403
|
-
component:
|
|
4404
|
-
...
|
|
4442
|
+
component: Bs,
|
|
4443
|
+
...As
|
|
4405
4444
|
}, {
|
|
4406
|
-
component:
|
|
4407
|
-
...
|
|
4408
|
-
}], cr = [],
|
|
4445
|
+
component: ds,
|
|
4446
|
+
...ls
|
|
4447
|
+
}], cr = [], Ds = (e) => ({
|
|
4409
4448
|
type: "builder.registerComponent",
|
|
4410
|
-
data:
|
|
4411
|
-
}),
|
|
4449
|
+
data: an(e)
|
|
4450
|
+
}), Is = (e) => {
|
|
4412
4451
|
const t = e.toString().trim();
|
|
4413
4452
|
return `return (${!t.startsWith("function") && !t.startsWith("(") ? "function " : ""}${t}).apply(this, arguments)`;
|
|
4414
|
-
},
|
|
4453
|
+
}, xs = (e) => typeof e == "function" ? Is(e) : pt(e), an = ({
|
|
4415
4454
|
inputs: e,
|
|
4416
4455
|
...t
|
|
4417
4456
|
}) => ({
|
|
4418
4457
|
...pt(t),
|
|
4419
4458
|
inputs: e == null ? void 0 : e.map((n) => Object.entries(n).reduce((r, [o, i]) => ({
|
|
4420
4459
|
...r,
|
|
4421
|
-
[o]:
|
|
4460
|
+
[o]: xs(i)
|
|
4422
4461
|
}), {}))
|
|
4423
|
-
}),
|
|
4462
|
+
}), Ts = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
|
|
4424
4463
|
function getAndSetVariantId() {
|
|
4425
4464
|
function setCookie(name, value, days) {
|
|
4426
4465
|
let expires = '';
|
|
@@ -4476,7 +4515,7 @@ const Es = /* @__PURE__ */ M(gs, [["render", ks], ["__file", "/home/runner/work/
|
|
|
4476
4515
|
}).join('');
|
|
4477
4516
|
styleEl.innerHTML = newStyleStr;
|
|
4478
4517
|
}
|
|
4479
|
-
}`,
|
|
4518
|
+
}`, Rs = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
|
|
4480
4519
|
if (!navigator.cookieEnabled) {
|
|
4481
4520
|
return;
|
|
4482
4521
|
}
|
|
@@ -4514,38 +4553,38 @@ const Es = /* @__PURE__ */ M(gs, [["render", ks], ["__file", "/home/runner/work/
|
|
|
4514
4553
|
...t,
|
|
4515
4554
|
testVariationId: t.id,
|
|
4516
4555
|
id: e == null ? void 0 : e.id
|
|
4517
|
-
})),
|
|
4556
|
+
})), js = ({
|
|
4518
4557
|
canTrack: e,
|
|
4519
4558
|
content: t
|
|
4520
|
-
}) => !(!(kt(t).length > 0) || !e),
|
|
4521
|
-
window.${Ur} = ${
|
|
4522
|
-
window.${Mr} = ${
|
|
4523
|
-
`,
|
|
4559
|
+
}) => !(!(kt(t).length > 0) || !e), Os = (e) => e === "react" || e === "reactNative", Wr = Os(Ae), $s = () => `
|
|
4560
|
+
window.${Ur} = ${Ts}
|
|
4561
|
+
window.${Mr} = ${Rs}
|
|
4562
|
+
`, Ps = (e, t) => `
|
|
4524
4563
|
window.${Ur}(
|
|
4525
4564
|
"${t}",${JSON.stringify(e)}, ${Wr}
|
|
4526
|
-
)`,
|
|
4565
|
+
)`, Ns = ({
|
|
4527
4566
|
contentId: e,
|
|
4528
4567
|
variationId: t
|
|
4529
4568
|
}) => `window.${Mr}(
|
|
4530
4569
|
"${t}", "${e}", ${Wr}
|
|
4531
|
-
)`,
|
|
4570
|
+
)`, _s = $({
|
|
4532
4571
|
render() {
|
|
4533
4572
|
return Ar("script", { id: this.id, innerHTML: this.scriptStr });
|
|
4534
4573
|
},
|
|
4535
4574
|
name: "inlined-script",
|
|
4536
4575
|
props: ["scriptStr", "id"]
|
|
4537
|
-
}), Vr = /* @__PURE__ */
|
|
4538
|
-
function
|
|
4576
|
+
}), Vr = /* @__PURE__ */ P(_s, [["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/inlined-script.vue"]]);
|
|
4577
|
+
function Us() {
|
|
4539
4578
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : globalThis;
|
|
4540
4579
|
}
|
|
4541
|
-
function
|
|
4542
|
-
const e =
|
|
4580
|
+
function Ms() {
|
|
4581
|
+
const e = Us().fetch;
|
|
4543
4582
|
if (typeof e > "u")
|
|
4544
4583
|
throw console.warn(`Builder SDK could not find a global fetch function. Make sure you have a polyfill for fetch in your project.
|
|
4545
4584
|
For more information, read https://github.com/BuilderIO/this-package-uses-fetch`), new Error("Builder SDK could not find a global `fetch` function");
|
|
4546
4585
|
return e;
|
|
4547
4586
|
}
|
|
4548
|
-
const Lr =
|
|
4587
|
+
const Lr = Ms();
|
|
4549
4588
|
function Et(e, t = null, n = ".") {
|
|
4550
4589
|
return Object.keys(e).reduce((r, o) => {
|
|
4551
4590
|
const i = e[o], u = [t, o].filter(Boolean).join(n);
|
|
@@ -4558,7 +4597,7 @@ function Et(e, t = null, n = ".") {
|
|
|
4558
4597
|
};
|
|
4559
4598
|
}, {});
|
|
4560
4599
|
}
|
|
4561
|
-
const
|
|
4600
|
+
const Ws = "v3", pr = "builder.", Vs = "options.", Ls = (e) => {
|
|
4562
4601
|
const t = {};
|
|
4563
4602
|
return e.forEach((n, r) => {
|
|
4564
4603
|
t[r] = n;
|
|
@@ -4569,16 +4608,16 @@ const Ns = "v3", pr = "builder.", _s = "options.", Us = (e) => {
|
|
|
4569
4608
|
const t = Kr(e), n = {};
|
|
4570
4609
|
return Object.keys(t).forEach((r) => {
|
|
4571
4610
|
if (r.startsWith(pr)) {
|
|
4572
|
-
const o = r.replace(pr, "").replace(
|
|
4611
|
+
const o = r.replace(pr, "").replace(Vs, "");
|
|
4573
4612
|
n[o] = t[r];
|
|
4574
4613
|
}
|
|
4575
4614
|
}), n;
|
|
4576
|
-
},
|
|
4615
|
+
}, Hs = () => {
|
|
4577
4616
|
if (!J())
|
|
4578
4617
|
return {};
|
|
4579
4618
|
const e = new URLSearchParams(window.location.search);
|
|
4580
4619
|
return Hr(e);
|
|
4581
|
-
}, Kr = (e) => e instanceof URLSearchParams ?
|
|
4620
|
+
}, Kr = (e) => e instanceof URLSearchParams ? Ls(e) : e, dr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, En = (e) => {
|
|
4582
4621
|
let {
|
|
4583
4622
|
noTraverse: t = !1
|
|
4584
4623
|
} = e;
|
|
@@ -4591,13 +4630,13 @@ const Ns = "v3", pr = "builder.", _s = "options.", Us = (e) => {
|
|
|
4591
4630
|
includeRefs: p = !0,
|
|
4592
4631
|
enrich: h,
|
|
4593
4632
|
locale: m,
|
|
4594
|
-
apiVersion: v =
|
|
4595
|
-
fields:
|
|
4633
|
+
apiVersion: v = Ws,
|
|
4634
|
+
fields: b,
|
|
4596
4635
|
omit: T,
|
|
4597
|
-
offset:
|
|
4636
|
+
offset: N,
|
|
4598
4637
|
cacheSeconds: R,
|
|
4599
|
-
staleCacheSeconds:
|
|
4600
|
-
sort:
|
|
4638
|
+
staleCacheSeconds: _,
|
|
4639
|
+
sort: ne,
|
|
4601
4640
|
includeUnpublished: Fe
|
|
4602
4641
|
} = e;
|
|
4603
4642
|
if (!u)
|
|
@@ -4605,42 +4644,42 @@ const Ns = "v3", pr = "builder.", _s = "options.", Us = (e) => {
|
|
|
4605
4644
|
if (!["v2", "v3"].includes(v))
|
|
4606
4645
|
throw new Error(`Invalid apiVersion: expected 'v2' or 'v3', received '${v}'`);
|
|
4607
4646
|
(e.limit === void 0 || e.limit > 1) && !("noTraverse" in e) && (t = !0);
|
|
4608
|
-
const
|
|
4609
|
-
if (
|
|
4647
|
+
const k = new URL(`https://cdn.builder.io/api/${v}/content/${i}?apiKey=${u}&limit=${n}&noTraverse=${t}&includeRefs=${p}${m ? `&locale=${m}` : ""}${h ? `&enrich=${h}` : ""}`);
|
|
4648
|
+
if (k.searchParams.set("omit", T || "meta.componentsUsed"), b && k.searchParams.set("fields", b), Number.isFinite(N) && N > -1 && k.searchParams.set("offset", String(Math.floor(N))), typeof Fe == "boolean" && k.searchParams.set("includeUnpublished", String(Fe)), R && dr(R) && k.searchParams.set("cacheSeconds", String(R)), _ && dr(_) && k.searchParams.set("staleCacheSeconds", String(_)), ne) {
|
|
4610
4649
|
const oe = Et({
|
|
4611
|
-
sort:
|
|
4650
|
+
sort: ne
|
|
4612
4651
|
});
|
|
4613
4652
|
for (const j in oe)
|
|
4614
|
-
|
|
4653
|
+
k.searchParams.set(j, JSON.stringify(oe[j]));
|
|
4615
4654
|
}
|
|
4616
4655
|
const Me = {
|
|
4617
|
-
...
|
|
4656
|
+
...Hs(),
|
|
4618
4657
|
...Kr(e.options || {})
|
|
4619
4658
|
}, We = Et(Me);
|
|
4620
4659
|
for (const oe in We)
|
|
4621
|
-
|
|
4622
|
-
if (r &&
|
|
4660
|
+
k.searchParams.set(oe, String(We[oe]));
|
|
4661
|
+
if (r && k.searchParams.set("userAttributes", JSON.stringify(r)), o) {
|
|
4623
4662
|
const oe = Et({
|
|
4624
4663
|
query: o
|
|
4625
4664
|
});
|
|
4626
4665
|
for (const j in oe)
|
|
4627
|
-
|
|
4666
|
+
k.searchParams.set(j, JSON.stringify(oe[j]));
|
|
4628
4667
|
}
|
|
4629
|
-
return
|
|
4630
|
-
},
|
|
4631
|
-
async function
|
|
4668
|
+
return k;
|
|
4669
|
+
}, Ks = (e) => "results" in e;
|
|
4670
|
+
async function It(e) {
|
|
4632
4671
|
const t = await Gr({
|
|
4633
4672
|
...e,
|
|
4634
4673
|
limit: 1
|
|
4635
4674
|
});
|
|
4636
4675
|
return t && t[0] || null;
|
|
4637
4676
|
}
|
|
4638
|
-
const
|
|
4677
|
+
const Nu = It, Gs = async (e) => {
|
|
4639
4678
|
const t = En(e);
|
|
4640
4679
|
return await (await Lr(t.href)).json();
|
|
4641
|
-
},
|
|
4680
|
+
}, zs = async (e, t, n = En(e)) => {
|
|
4642
4681
|
const r = ut(e.canTrack);
|
|
4643
|
-
if (n.search.includes("preview="), !r || !(J() ||
|
|
4682
|
+
if (n.search.includes("preview="), !r || !(J() || Ae === "reactNative"))
|
|
4644
4683
|
return t.results;
|
|
4645
4684
|
try {
|
|
4646
4685
|
const o = [];
|
|
@@ -4651,36 +4690,36 @@ const ju = Dt, Vs = async (e) => {
|
|
|
4651
4690
|
}));
|
|
4652
4691
|
t.results = o;
|
|
4653
4692
|
} catch (o) {
|
|
4654
|
-
|
|
4693
|
+
te.error("Could not process A/B tests. ", o);
|
|
4655
4694
|
}
|
|
4656
4695
|
return t.results;
|
|
4657
4696
|
};
|
|
4658
4697
|
async function Gr(e) {
|
|
4659
4698
|
try {
|
|
4660
|
-
const t = En(e), n = await
|
|
4661
|
-
return
|
|
4699
|
+
const t = En(e), n = await Gs(e);
|
|
4700
|
+
return Ks(n) ? zs(e, n) : (te.error("Error fetching data. ", {
|
|
4662
4701
|
url: t,
|
|
4663
4702
|
content: n,
|
|
4664
4703
|
options: e
|
|
4665
4704
|
}), null);
|
|
4666
4705
|
} catch (t) {
|
|
4667
|
-
return
|
|
4706
|
+
return te.error("Error fetching data. ", t), null;
|
|
4668
4707
|
}
|
|
4669
4708
|
}
|
|
4670
|
-
const
|
|
4671
|
-
function
|
|
4672
|
-
return !J() ||
|
|
4709
|
+
const _u = Gr;
|
|
4710
|
+
function Xs() {
|
|
4711
|
+
return !J() || ge() ? !1 : Boolean(location.search.indexOf("builder.preview=") !== -1);
|
|
4673
4712
|
}
|
|
4674
|
-
function
|
|
4713
|
+
function Js() {
|
|
4675
4714
|
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
|
|
4676
4715
|
const t = Math.random() * 16 | 0;
|
|
4677
4716
|
return (e == "x" ? t : t & 3 | 8).toString(16);
|
|
4678
4717
|
});
|
|
4679
4718
|
}
|
|
4680
4719
|
function zr() {
|
|
4681
|
-
return
|
|
4720
|
+
return Js().replace(/-/g, "");
|
|
4682
4721
|
}
|
|
4683
|
-
const Xr = "builderSessionId",
|
|
4722
|
+
const Xr = "builderSessionId", Ys = async ({
|
|
4684
4723
|
canTrack: e
|
|
4685
4724
|
}) => {
|
|
4686
4725
|
if (!e)
|
|
@@ -4689,23 +4728,23 @@ const Xr = "builderSessionId", Gs = async ({
|
|
|
4689
4728
|
name: Xr,
|
|
4690
4729
|
canTrack: e
|
|
4691
4730
|
});
|
|
4692
|
-
if (
|
|
4731
|
+
if (Pe(t))
|
|
4693
4732
|
return t;
|
|
4694
4733
|
{
|
|
4695
|
-
const n =
|
|
4696
|
-
return
|
|
4734
|
+
const n = qs();
|
|
4735
|
+
return Qs({
|
|
4697
4736
|
id: n,
|
|
4698
4737
|
canTrack: e
|
|
4699
4738
|
}), n;
|
|
4700
4739
|
}
|
|
4701
|
-
},
|
|
4740
|
+
}, qs = () => zr(), Qs = ({
|
|
4702
4741
|
id: e,
|
|
4703
4742
|
canTrack: t
|
|
4704
|
-
}) =>
|
|
4743
|
+
}) => $r({
|
|
4705
4744
|
name: Xr,
|
|
4706
4745
|
value: e,
|
|
4707
4746
|
canTrack: t
|
|
4708
|
-
}), Jr = () => J() && typeof localStorage < "u" ? localStorage : void 0,
|
|
4747
|
+
}), Jr = () => J() && typeof localStorage < "u" ? localStorage : void 0, Zs = ({
|
|
4709
4748
|
key: e,
|
|
4710
4749
|
canTrack: t
|
|
4711
4750
|
}) => {
|
|
@@ -4716,7 +4755,7 @@ const Xr = "builderSessionId", Gs = async ({
|
|
|
4716
4755
|
console.debug("[LocalStorage] GET error: ", r);
|
|
4717
4756
|
return;
|
|
4718
4757
|
}
|
|
4719
|
-
},
|
|
4758
|
+
}, eu = ({
|
|
4720
4759
|
key: e,
|
|
4721
4760
|
canTrack: t,
|
|
4722
4761
|
value: n
|
|
@@ -4727,32 +4766,32 @@ const Xr = "builderSessionId", Gs = async ({
|
|
|
4727
4766
|
} catch (o) {
|
|
4728
4767
|
console.debug("[LocalStorage] SET error: ", o);
|
|
4729
4768
|
}
|
|
4730
|
-
}, Yr = "builderVisitorId",
|
|
4769
|
+
}, Yr = "builderVisitorId", tu = ({
|
|
4731
4770
|
canTrack: e
|
|
4732
4771
|
}) => {
|
|
4733
4772
|
if (!e)
|
|
4734
4773
|
return;
|
|
4735
|
-
const t =
|
|
4774
|
+
const t = Zs({
|
|
4736
4775
|
key: Yr,
|
|
4737
4776
|
canTrack: e
|
|
4738
4777
|
});
|
|
4739
|
-
if (
|
|
4778
|
+
if (Pe(t))
|
|
4740
4779
|
return t;
|
|
4741
4780
|
{
|
|
4742
|
-
const n =
|
|
4743
|
-
return
|
|
4781
|
+
const n = nu();
|
|
4782
|
+
return ru({
|
|
4744
4783
|
id: n,
|
|
4745
4784
|
canTrack: e
|
|
4746
4785
|
}), n;
|
|
4747
4786
|
}
|
|
4748
|
-
},
|
|
4787
|
+
}, nu = () => zr(), ru = ({
|
|
4749
4788
|
id: e,
|
|
4750
4789
|
canTrack: t
|
|
4751
|
-
}) =>
|
|
4790
|
+
}) => eu({
|
|
4752
4791
|
key: Yr,
|
|
4753
4792
|
value: e,
|
|
4754
4793
|
canTrack: t
|
|
4755
|
-
}),
|
|
4794
|
+
}), ou = async ({
|
|
4756
4795
|
canTrack: e
|
|
4757
4796
|
}) => {
|
|
4758
4797
|
if (!e)
|
|
@@ -4760,16 +4799,16 @@ const Xr = "builderSessionId", Gs = async ({
|
|
|
4760
4799
|
visitorId: void 0,
|
|
4761
4800
|
sessionId: void 0
|
|
4762
4801
|
};
|
|
4763
|
-
const t = await
|
|
4802
|
+
const t = await Ys({
|
|
4764
4803
|
canTrack: e
|
|
4765
|
-
}), n =
|
|
4804
|
+
}), n = tu({
|
|
4766
4805
|
canTrack: e
|
|
4767
4806
|
});
|
|
4768
4807
|
return {
|
|
4769
4808
|
sessionId: t,
|
|
4770
4809
|
visitorId: n
|
|
4771
4810
|
};
|
|
4772
|
-
},
|
|
4811
|
+
}, iu = async ({
|
|
4773
4812
|
type: e,
|
|
4774
4813
|
canTrack: t,
|
|
4775
4814
|
apiKey: n,
|
|
@@ -4783,23 +4822,23 @@ const Xr = "builderSessionId", Gs = async ({
|
|
|
4783
4822
|
url: location.href,
|
|
4784
4823
|
...r
|
|
4785
4824
|
},
|
|
4786
|
-
...await
|
|
4825
|
+
...await ou({
|
|
4787
4826
|
canTrack: t
|
|
4788
4827
|
}),
|
|
4789
4828
|
userAttributes: kr(),
|
|
4790
4829
|
ownerId: n
|
|
4791
4830
|
}
|
|
4792
4831
|
});
|
|
4793
|
-
async function
|
|
4832
|
+
async function ln(e) {
|
|
4794
4833
|
if (!e.apiKey) {
|
|
4795
|
-
|
|
4834
|
+
te.error("Missing API key for track call. Please provide your API key.");
|
|
4796
4835
|
return;
|
|
4797
4836
|
}
|
|
4798
|
-
if (!!e.canTrack && !
|
|
4837
|
+
if (!!e.canTrack && !ge() && !!(J() || Ae === "reactNative"))
|
|
4799
4838
|
return fetch("https://cdn.builder.io/api/v1/track", {
|
|
4800
4839
|
method: "POST",
|
|
4801
4840
|
body: JSON.stringify({
|
|
4802
|
-
events: [await
|
|
4841
|
+
events: [await iu(e)]
|
|
4803
4842
|
}),
|
|
4804
4843
|
headers: {
|
|
4805
4844
|
"content-type": "application/json"
|
|
@@ -4809,14 +4848,14 @@ async function an(e) {
|
|
|
4809
4848
|
console.error("Failed to track: ", t);
|
|
4810
4849
|
});
|
|
4811
4850
|
}
|
|
4812
|
-
const
|
|
4851
|
+
const Uu = (e) => ln({
|
|
4813
4852
|
...e,
|
|
4814
4853
|
canTrack: !0
|
|
4815
4854
|
});
|
|
4816
4855
|
function hr(e) {
|
|
4817
4856
|
return Math.round(e * 1e3) / 1e3;
|
|
4818
4857
|
}
|
|
4819
|
-
const
|
|
4858
|
+
const su = (e, t, n = !0) => {
|
|
4820
4859
|
if (!(e instanceof HTMLElement))
|
|
4821
4860
|
return null;
|
|
4822
4861
|
let r = n ? e : e.parentElement;
|
|
@@ -4827,7 +4866,7 @@ const nu = (e, t, n = !0) => {
|
|
|
4827
4866
|
return r;
|
|
4828
4867
|
} while (r = r.parentElement);
|
|
4829
4868
|
return null;
|
|
4830
|
-
},
|
|
4869
|
+
}, uu = (e) => su(e, (t) => {
|
|
4831
4870
|
const n = t.getAttribute("builder-id") || t.id;
|
|
4832
4871
|
return Boolean((n == null ? void 0 : n.indexOf("builder-")) === 0);
|
|
4833
4872
|
}), fr = ({
|
|
@@ -4839,8 +4878,8 @@ const nu = (e, t, n = !0) => {
|
|
|
4839
4878
|
x: i,
|
|
4840
4879
|
y: u
|
|
4841
4880
|
};
|
|
4842
|
-
},
|
|
4843
|
-
const t = e.target, n = t &&
|
|
4881
|
+
}, au = (e) => {
|
|
4882
|
+
const t = e.target, n = t && uu(t), r = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
|
|
4844
4883
|
return {
|
|
4845
4884
|
targetBuilderElement: r || void 0,
|
|
4846
4885
|
metadata: {
|
|
@@ -4855,8 +4894,8 @@ const nu = (e, t, n = !0) => {
|
|
|
4855
4894
|
builderElementIndex: n && r ? [].slice.call(document.getElementsByClassName(r)).indexOf(n) : void 0
|
|
4856
4895
|
}
|
|
4857
4896
|
};
|
|
4858
|
-
},
|
|
4859
|
-
function
|
|
4897
|
+
}, lu = "0.12.1", mr = {};
|
|
4898
|
+
function cu(e, t) {
|
|
4860
4899
|
let n = mr[e];
|
|
4861
4900
|
if (n || (n = mr[e] = []), n.push(t), J()) {
|
|
4862
4901
|
const r = {
|
|
@@ -4873,8 +4912,8 @@ function su(e, t) {
|
|
|
4873
4912
|
}
|
|
4874
4913
|
}
|
|
4875
4914
|
}
|
|
4876
|
-
const
|
|
4877
|
-
|
|
4915
|
+
const pu = () => {
|
|
4916
|
+
cu("insertMenu", {
|
|
4878
4917
|
name: "_default",
|
|
4879
4918
|
default: !0,
|
|
4880
4919
|
items: [{
|
|
@@ -4897,13 +4936,13 @@ const uu = () => {
|
|
|
4897
4936
|
});
|
|
4898
4937
|
};
|
|
4899
4938
|
let gr = !1;
|
|
4900
|
-
const
|
|
4939
|
+
const du = (e = {}) => {
|
|
4901
4940
|
var t, n;
|
|
4902
4941
|
gr || (gr = !0, J() && ((t = window.parent) == null || t.postMessage({
|
|
4903
4942
|
type: "builder.sdkInfo",
|
|
4904
4943
|
data: {
|
|
4905
|
-
target:
|
|
4906
|
-
version:
|
|
4944
|
+
target: Ae,
|
|
4945
|
+
version: lu,
|
|
4907
4946
|
supportsPatchUpdates: !1,
|
|
4908
4947
|
supportsAddBlockScoping: !0,
|
|
4909
4948
|
supportsCustomBreakpoints: !0
|
|
@@ -4921,21 +4960,21 @@ const au = (e = {}) => {
|
|
|
4921
4960
|
switch (r.type) {
|
|
4922
4961
|
case "builder.evaluate": {
|
|
4923
4962
|
const u = r.data.text, p = r.data.arguments || [], h = r.data.id, m = new Function(u);
|
|
4924
|
-
let v,
|
|
4963
|
+
let v, b = null;
|
|
4925
4964
|
try {
|
|
4926
4965
|
v = m.apply(null, p);
|
|
4927
4966
|
} catch (T) {
|
|
4928
|
-
|
|
4967
|
+
b = T;
|
|
4929
4968
|
}
|
|
4930
|
-
|
|
4969
|
+
b ? (o = window.parent) == null || o.postMessage({
|
|
4931
4970
|
type: "builder.evaluateError",
|
|
4932
4971
|
data: {
|
|
4933
4972
|
id: h,
|
|
4934
|
-
error:
|
|
4973
|
+
error: b.message
|
|
4935
4974
|
}
|
|
4936
4975
|
}, "*") : v && typeof v.then == "function" ? v.then((T) => {
|
|
4937
|
-
var
|
|
4938
|
-
(
|
|
4976
|
+
var N;
|
|
4977
|
+
(N = window.parent) == null || N.postMessage({
|
|
4939
4978
|
type: "builder.evaluateResult",
|
|
4940
4979
|
data: {
|
|
4941
4980
|
id: h,
|
|
@@ -4953,7 +4992,7 @@ const au = (e = {}) => {
|
|
|
4953
4992
|
}
|
|
4954
4993
|
}
|
|
4955
4994
|
})));
|
|
4956
|
-
},
|
|
4995
|
+
}, hu = $({
|
|
4957
4996
|
name: "enable-editor",
|
|
4958
4997
|
props: [
|
|
4959
4998
|
"builderContextSignal",
|
|
@@ -4979,24 +5018,24 @@ const au = (e = {}) => {
|
|
|
4979
5018
|
ContentWrapper: this.contentWrapper || "div",
|
|
4980
5019
|
httpReqsData: {},
|
|
4981
5020
|
clicked: !1,
|
|
4982
|
-
builderContext:
|
|
5021
|
+
builderContext: rn
|
|
4983
5022
|
};
|
|
4984
5023
|
},
|
|
4985
5024
|
provide() {
|
|
4986
5025
|
const e = this;
|
|
4987
5026
|
return {
|
|
4988
|
-
[
|
|
5027
|
+
[rn.key]: e.builderContextSignal
|
|
4989
5028
|
};
|
|
4990
5029
|
},
|
|
4991
5030
|
mounted() {
|
|
4992
5031
|
(() => {
|
|
4993
5032
|
var n, r;
|
|
4994
5033
|
if (J()) {
|
|
4995
|
-
if (
|
|
5034
|
+
if (ge() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
|
|
4996
5035
|
new CustomEvent("initeditingbldr")
|
|
4997
5036
|
), this.builderContextSignal.content && ut(this.canTrack)) {
|
|
4998
5037
|
const i = (n = this.builderContextSignal.content) == null ? void 0 : n.testVariationId, u = (r = this.builderContextSignal.content) == null ? void 0 : r.id, p = this.apiKey;
|
|
4999
|
-
|
|
5038
|
+
ln({
|
|
5000
5039
|
type: "impression",
|
|
5001
5040
|
canTrack: !0,
|
|
5002
5041
|
contentId: u,
|
|
@@ -5004,12 +5043,12 @@ const au = (e = {}) => {
|
|
|
5004
5043
|
variationId: i !== u ? i : void 0
|
|
5005
5044
|
});
|
|
5006
5045
|
}
|
|
5007
|
-
|
|
5046
|
+
Xs() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
|
|
5008
5047
|
new CustomEvent("initpreviewingbldr")
|
|
5009
5048
|
);
|
|
5010
5049
|
}
|
|
5011
5050
|
})(), (() => {
|
|
5012
|
-
this.apiKey ||
|
|
5051
|
+
this.apiKey || te.error(
|
|
5013
5052
|
"No API key provided to `RenderContent` component. This can cause issues. Please provide an API key using the `apiKey` prop."
|
|
5014
5053
|
), this.evaluateJsCode(), this.runHttpRequests(), this.emitStateUpdate();
|
|
5015
5054
|
})();
|
|
@@ -5166,13 +5205,13 @@ const au = (e = {}) => {
|
|
|
5166
5205
|
var t, n;
|
|
5167
5206
|
if (this.builderContextSignal.content) {
|
|
5168
5207
|
const r = (t = this.builderContextSignal.content) == null ? void 0 : t.testVariationId, o = (n = this.builderContextSignal.content) == null ? void 0 : n.id;
|
|
5169
|
-
|
|
5208
|
+
ln({
|
|
5170
5209
|
type: "click",
|
|
5171
5210
|
canTrack: ut(this.canTrack),
|
|
5172
5211
|
contentId: o,
|
|
5173
5212
|
apiKey: this.apiKey,
|
|
5174
5213
|
variationId: r !== o ? r : void 0,
|
|
5175
|
-
...
|
|
5214
|
+
...au(e),
|
|
5176
5215
|
unique: !this.clicked
|
|
5177
5216
|
});
|
|
5178
5217
|
}
|
|
@@ -5206,7 +5245,7 @@ const au = (e = {}) => {
|
|
|
5206
5245
|
var t, n, r;
|
|
5207
5246
|
const e = (r = (n = (t = this.builderContextSignal.content) == null ? void 0 : t.data) == null ? void 0 : n.httpRequests) != null ? r : {};
|
|
5208
5247
|
Object.entries(e).forEach(([o, i]) => {
|
|
5209
|
-
if (i && (!this.httpReqsData[o] ||
|
|
5248
|
+
if (i && (!this.httpReqsData[o] || ge())) {
|
|
5210
5249
|
const u = this.evalExpression(i);
|
|
5211
5250
|
this.handleRequest({
|
|
5212
5251
|
url: u,
|
|
@@ -5216,7 +5255,7 @@ const au = (e = {}) => {
|
|
|
5216
5255
|
});
|
|
5217
5256
|
},
|
|
5218
5257
|
emitStateUpdate() {
|
|
5219
|
-
|
|
5258
|
+
ge() && window.dispatchEvent(
|
|
5220
5259
|
new CustomEvent(
|
|
5221
5260
|
"builder:component:stateChange",
|
|
5222
5261
|
{
|
|
@@ -5231,7 +5270,7 @@ const au = (e = {}) => {
|
|
|
5231
5270
|
);
|
|
5232
5271
|
},
|
|
5233
5272
|
elementRef_onIniteditingbldr(e) {
|
|
5234
|
-
this.forceReRenderCount = this.forceReRenderCount + 1, window.addEventListener("message", this.processMessage),
|
|
5273
|
+
this.forceReRenderCount = this.forceReRenderCount + 1, window.addEventListener("message", this.processMessage), pu(), du({
|
|
5235
5274
|
...this.locale ? {
|
|
5236
5275
|
locale: this.locale
|
|
5237
5276
|
} : {},
|
|
@@ -5245,7 +5284,7 @@ const au = (e = {}) => {
|
|
|
5245
5284
|
this.builderContextSignal.componentInfos
|
|
5246
5285
|
).forEach((t) => {
|
|
5247
5286
|
var r;
|
|
5248
|
-
const n =
|
|
5287
|
+
const n = Ds(t);
|
|
5249
5288
|
(r = window.parent) == null || r.postMessage(n, "*");
|
|
5250
5289
|
}), window.addEventListener(
|
|
5251
5290
|
"builder:component:stateChangeListenerActivated",
|
|
@@ -5256,7 +5295,7 @@ const au = (e = {}) => {
|
|
|
5256
5295
|
const t = new URL(location.href).searchParams, n = t.get("builder.preview"), r = t.get(
|
|
5257
5296
|
`builder.preview.${n}`
|
|
5258
5297
|
), o = t.get("apiKey") || t.get("builder.space");
|
|
5259
|
-
n === this.model && o === this.apiKey && (!this.content || r === this.content.id) &&
|
|
5298
|
+
n === this.model && o === this.apiKey && (!this.content || r === this.content.id) && It({
|
|
5260
5299
|
model: this.model,
|
|
5261
5300
|
apiKey: this.apiKey,
|
|
5262
5301
|
apiVersion: this.builderContextSignal.apiVersion
|
|
@@ -5275,9 +5314,9 @@ const au = (e = {}) => {
|
|
|
5275
5314
|
}
|
|
5276
5315
|
}
|
|
5277
5316
|
});
|
|
5278
|
-
function
|
|
5317
|
+
function fu(e, t, n, r, o, i) {
|
|
5279
5318
|
var u, p, h;
|
|
5280
|
-
return e.builderContextSignal.content ? (E(), X(vr(e.ContentWrapper),
|
|
5319
|
+
return e.builderContextSignal.content ? (E(), X(vr(e.ContentWrapper), ee({
|
|
5281
5320
|
key: e.forceReRenderCount,
|
|
5282
5321
|
ref: "elementRef",
|
|
5283
5322
|
onClick: (m) => e.onClick(m),
|
|
@@ -5299,9 +5338,9 @@ function cu(e, t, n, r, o, i) {
|
|
|
5299
5338
|
Ee(e.$slots, "default")
|
|
5300
5339
|
]),
|
|
5301
5340
|
_: 3
|
|
5302
|
-
}, 16, ["onClick", "builder-content-id", "builder-model", "class", "onIniteditingbldr", "onInitpreviewingbldr"])) :
|
|
5341
|
+
}, 16, ["onClick", "builder-content-id", "builder-model", "class", "onIniteditingbldr", "onInitpreviewingbldr"])) : L("v-if", !0);
|
|
5303
5342
|
}
|
|
5304
|
-
const
|
|
5343
|
+
const mu = /* @__PURE__ */ P(hu, [["render", fu], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/content/components/enable-editor.vue"]]), gu = (e) => {
|
|
5305
5344
|
var i, u;
|
|
5306
5345
|
const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], r = (u = e.fileUrl) != null ? u : (i = e == null ? void 0 : e.files) == null ? void 0 : i.regular;
|
|
5307
5346
|
let o = "";
|
|
@@ -5327,26 +5366,26 @@ font-weight: ${p};
|
|
|
5327
5366
|
`.trim());
|
|
5328
5367
|
}
|
|
5329
5368
|
return o;
|
|
5330
|
-
},
|
|
5369
|
+
}, yu = ({
|
|
5331
5370
|
customFonts: e
|
|
5332
5371
|
}) => {
|
|
5333
5372
|
var t;
|
|
5334
|
-
return ((t = e == null ? void 0 : e.map((n) =>
|
|
5335
|
-
},
|
|
5373
|
+
return ((t = e == null ? void 0 : e.map((n) => gu(n))) == null ? void 0 : t.join(" ")) || "";
|
|
5374
|
+
}, vu = ({
|
|
5336
5375
|
cssCode: e,
|
|
5337
5376
|
contentId: t
|
|
5338
|
-
}) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "",
|
|
5377
|
+
}) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Au = $({
|
|
5339
5378
|
name: "content-styles",
|
|
5340
5379
|
components: { InlinedStyles: bn },
|
|
5341
5380
|
props: ["cssCode", "contentId", "customFonts"],
|
|
5342
5381
|
data() {
|
|
5343
5382
|
return {
|
|
5344
5383
|
injectedStyles: `
|
|
5345
|
-
${
|
|
5384
|
+
${vu({
|
|
5346
5385
|
cssCode: this.cssCode,
|
|
5347
5386
|
contentId: this.contentId
|
|
5348
5387
|
})}
|
|
5349
|
-
${
|
|
5388
|
+
${yu({
|
|
5350
5389
|
customFonts: this.customFonts
|
|
5351
5390
|
})}
|
|
5352
5391
|
|
|
@@ -5366,11 +5405,11 @@ ${hu({
|
|
|
5366
5405
|
};
|
|
5367
5406
|
}
|
|
5368
5407
|
});
|
|
5369
|
-
function
|
|
5370
|
-
const u =
|
|
5408
|
+
function Cu(e, t, n, r, o, i) {
|
|
5409
|
+
const u = V("inlined-styles");
|
|
5371
5410
|
return E(), X(u, { styles: e.injectedStyles }, null, 8, ["styles"]);
|
|
5372
5411
|
}
|
|
5373
|
-
const
|
|
5412
|
+
const bu = /* @__PURE__ */ P(Au, [["render", Cu], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/content/components/styles.vue"]]), ku = ({
|
|
5374
5413
|
content: e,
|
|
5375
5414
|
data: t,
|
|
5376
5415
|
locale: n
|
|
@@ -5387,7 +5426,7 @@ const yu = /* @__PURE__ */ M(mu, [["render", gu], ["__file", "/home/runner/work/
|
|
|
5387
5426
|
locale: n
|
|
5388
5427
|
} : {}
|
|
5389
5428
|
};
|
|
5390
|
-
},
|
|
5429
|
+
}, Eu = ({
|
|
5391
5430
|
content: e,
|
|
5392
5431
|
data: t
|
|
5393
5432
|
}) => e ? {
|
|
@@ -5397,13 +5436,13 @@ const yu = /* @__PURE__ */ M(mu, [["render", gu], ["__file", "/home/runner/work/
|
|
|
5397
5436
|
...t
|
|
5398
5437
|
},
|
|
5399
5438
|
meta: e == null ? void 0 : e.meta
|
|
5400
|
-
} : void 0,
|
|
5439
|
+
} : void 0, Su = mo, Fu = $({
|
|
5401
5440
|
name: "content-component",
|
|
5402
5441
|
components: {
|
|
5403
|
-
EnableEditor:
|
|
5442
|
+
EnableEditor: mu,
|
|
5404
5443
|
InlinedScript: Vr,
|
|
5405
|
-
ContentStyles:
|
|
5406
|
-
Blocks:
|
|
5444
|
+
ContentStyles: bu,
|
|
5445
|
+
Blocks: Dt
|
|
5407
5446
|
},
|
|
5408
5447
|
props: [
|
|
5409
5448
|
"content",
|
|
@@ -5427,7 +5466,7 @@ const yu = /* @__PURE__ */ M(mu, [["render", gu], ["__file", "/home/runner/work/
|
|
|
5427
5466
|
data() {
|
|
5428
5467
|
var e, t;
|
|
5429
5468
|
return {
|
|
5430
|
-
scriptStr:
|
|
5469
|
+
scriptStr: Ns({
|
|
5431
5470
|
variationId: (e = this.content) == null ? void 0 : e.testVariationId,
|
|
5432
5471
|
contentId: (t = this.content) == null ? void 0 : t.id
|
|
5433
5472
|
}),
|
|
@@ -5439,19 +5478,19 @@ const yu = /* @__PURE__ */ M(mu, [["render", gu], ["__file", "/home/runner/work/
|
|
|
5439
5478
|
(n, { component: r, ...o }) => ({
|
|
5440
5479
|
...n,
|
|
5441
5480
|
[o.name]: {
|
|
5442
|
-
component:
|
|
5443
|
-
...
|
|
5481
|
+
component: Su(r),
|
|
5482
|
+
...an(o)
|
|
5444
5483
|
}
|
|
5445
5484
|
}),
|
|
5446
5485
|
{}
|
|
5447
5486
|
),
|
|
5448
5487
|
builderContextSignal: {
|
|
5449
|
-
content:
|
|
5488
|
+
content: Eu({
|
|
5450
5489
|
content: this.content,
|
|
5451
5490
|
data: this.data
|
|
5452
5491
|
}),
|
|
5453
5492
|
localState: void 0,
|
|
5454
|
-
rootState:
|
|
5493
|
+
rootState: ku({
|
|
5455
5494
|
content: this.content,
|
|
5456
5495
|
data: this.data,
|
|
5457
5496
|
locale: this.locale
|
|
@@ -5467,7 +5506,7 @@ const yu = /* @__PURE__ */ M(mu, [["render", gu], ["__file", "/home/runner/work/
|
|
|
5467
5506
|
].reduce(
|
|
5468
5507
|
(n, { component: r, ...o }) => ({
|
|
5469
5508
|
...n,
|
|
5470
|
-
[o.name]:
|
|
5509
|
+
[o.name]: an(o)
|
|
5471
5510
|
}),
|
|
5472
5511
|
{}
|
|
5473
5512
|
),
|
|
@@ -5475,7 +5514,7 @@ const yu = /* @__PURE__ */ M(mu, [["render", gu], ["__file", "/home/runner/work/
|
|
|
5475
5514
|
BlocksWrapper: this.blocksWrapper || "div",
|
|
5476
5515
|
BlocksWrapperProps: this.blocksWrapperProps || {}
|
|
5477
5516
|
},
|
|
5478
|
-
TARGET:
|
|
5517
|
+
TARGET: Ae
|
|
5479
5518
|
};
|
|
5480
5519
|
},
|
|
5481
5520
|
provide() {
|
|
@@ -5492,9 +5531,9 @@ const yu = /* @__PURE__ */ M(mu, [["render", gu], ["__file", "/home/runner/work/
|
|
|
5492
5531
|
}
|
|
5493
5532
|
}
|
|
5494
5533
|
});
|
|
5495
|
-
function
|
|
5496
|
-
const u =
|
|
5497
|
-
return E(), X(m,
|
|
5534
|
+
function wu(e, t, n, r, o, i) {
|
|
5535
|
+
const u = V("inlined-script"), p = V("content-styles"), h = V("blocks"), m = V("enable-editor");
|
|
5536
|
+
return E(), X(m, ee({
|
|
5498
5537
|
content: e.content,
|
|
5499
5538
|
data: e.data,
|
|
5500
5539
|
model: e.model,
|
|
@@ -5510,20 +5549,20 @@ function ku(e, t, n, r, o, i) {
|
|
|
5510
5549
|
contentWrapperProps: e.contentWrapperProps
|
|
5511
5550
|
}, {}), {
|
|
5512
5551
|
default: at(() => {
|
|
5513
|
-
var v,
|
|
5552
|
+
var v, b, T, N, R, _, ne;
|
|
5514
5553
|
return [
|
|
5515
5554
|
e.isSsrAbTest ? (E(), X(u, {
|
|
5516
5555
|
key: 0,
|
|
5517
5556
|
scriptStr: e.scriptStr
|
|
5518
|
-
}, null, 8, ["scriptStr"])) :
|
|
5557
|
+
}, null, 8, ["scriptStr"])) : L("v-if", !0),
|
|
5519
5558
|
e.TARGET !== "reactNative" ? (E(), X(p, {
|
|
5520
5559
|
key: 1,
|
|
5521
5560
|
contentId: (v = e.builderContextSignal.content) == null ? void 0 : v.id,
|
|
5522
|
-
cssCode: (T = (
|
|
5523
|
-
customFonts: (R = (
|
|
5524
|
-
}, null, 8, ["contentId", "cssCode", "customFonts"])) :
|
|
5525
|
-
|
|
5526
|
-
blocks: (
|
|
5561
|
+
cssCode: (T = (b = e.builderContextSignal.content) == null ? void 0 : b.data) == null ? void 0 : T.cssCode,
|
|
5562
|
+
customFonts: (R = (N = e.builderContextSignal.content) == null ? void 0 : N.data) == null ? void 0 : R.customFonts
|
|
5563
|
+
}, null, 8, ["contentId", "cssCode", "customFonts"])) : L("v-if", !0),
|
|
5564
|
+
me(h, {
|
|
5565
|
+
blocks: (ne = (_ = e.builderContextSignal.content) == null ? void 0 : _.data) == null ? void 0 : ne.blocks,
|
|
5527
5566
|
context: e.builderContextSignal,
|
|
5528
5567
|
registeredComponents: e.registeredComponents
|
|
5529
5568
|
}, null, 8, ["blocks", "context", "registeredComponents"])
|
|
@@ -5532,12 +5571,12 @@ function ku(e, t, n, r, o, i) {
|
|
|
5532
5571
|
_: 1
|
|
5533
5572
|
}, 16, ["content", "data", "model", "context", "apiKey", "canTrack", "locale", "includeRefs", "enrich", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps"]);
|
|
5534
5573
|
}
|
|
5535
|
-
const
|
|
5574
|
+
const Bu = /* @__PURE__ */ P(Fu, [["render", wu], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/content/content.vue"]]), Du = $({
|
|
5536
5575
|
name: "content-variants",
|
|
5537
5576
|
components: {
|
|
5538
5577
|
InlinedScript: Vr,
|
|
5539
5578
|
InlinedStyles: bn,
|
|
5540
|
-
ContentComponent:
|
|
5579
|
+
ContentComponent: Bu
|
|
5541
5580
|
},
|
|
5542
5581
|
props: [
|
|
5543
5582
|
"canTrack",
|
|
@@ -5559,12 +5598,12 @@ const Eu = /* @__PURE__ */ M(bu, [["render", ku], ["__file", "/home/runner/work/
|
|
|
5559
5598
|
],
|
|
5560
5599
|
data() {
|
|
5561
5600
|
return {
|
|
5562
|
-
shouldRenderVariants:
|
|
5601
|
+
shouldRenderVariants: js({
|
|
5563
5602
|
canTrack: ut(this.canTrack),
|
|
5564
5603
|
content: this.content
|
|
5565
5604
|
}),
|
|
5566
|
-
TARGET:
|
|
5567
|
-
getScriptString:
|
|
5605
|
+
TARGET: Ae,
|
|
5606
|
+
getScriptString: $s,
|
|
5568
5607
|
getVariants: kt
|
|
5569
5608
|
};
|
|
5570
5609
|
},
|
|
@@ -5574,7 +5613,7 @@ const Eu = /* @__PURE__ */ M(bu, [["render", ku], ["__file", "/home/runner/work/
|
|
|
5574
5613
|
computed: {
|
|
5575
5614
|
updateCookieAndStylesScriptStr() {
|
|
5576
5615
|
var e;
|
|
5577
|
-
return
|
|
5616
|
+
return Ps(
|
|
5578
5617
|
kt(this.content).map((t) => ({
|
|
5579
5618
|
id: t.testVariationId,
|
|
5580
5619
|
testRatio: t.testRatio
|
|
@@ -5597,21 +5636,21 @@ const Eu = /* @__PURE__ */ M(bu, [["render", ku], ["__file", "/home/runner/work/
|
|
|
5597
5636
|
}
|
|
5598
5637
|
}
|
|
5599
5638
|
});
|
|
5600
|
-
function
|
|
5639
|
+
function Iu(e, t, n, r, o, i) {
|
|
5601
5640
|
var m;
|
|
5602
|
-
const u =
|
|
5641
|
+
const u = V("inlined-script"), p = V("inlined-styles"), h = V("content-component");
|
|
5603
5642
|
return E(), I(ue, null, [
|
|
5604
5643
|
!e.__isNestedRender && e.TARGET !== "reactNative" ? (E(), X(u, {
|
|
5605
5644
|
key: 0,
|
|
5606
5645
|
scriptStr: e.getScriptString()
|
|
5607
|
-
}, null, 8, ["scriptStr"])) :
|
|
5646
|
+
}, null, 8, ["scriptStr"])) : L("v-if", !0),
|
|
5608
5647
|
e.shouldRenderVariants ? (E(), I(ue, { key: 1 }, [
|
|
5609
|
-
|
|
5648
|
+
me(p, {
|
|
5610
5649
|
id: `variants-styles-${(m = e.content) == null ? void 0 : m.id}`,
|
|
5611
5650
|
styles: e.hideVariantsStyleString
|
|
5612
5651
|
}, null, 8, ["id", "styles"]),
|
|
5613
|
-
|
|
5614
|
-
(E(!0), I(ue, null, ot(e.getVariants(e.content), (v,
|
|
5652
|
+
me(u, { scriptStr: e.updateCookieAndStylesScriptStr }, null, 8, ["scriptStr"]),
|
|
5653
|
+
(E(!0), I(ue, null, ot(e.getVariants(e.content), (v, b) => (E(), X(h, {
|
|
5615
5654
|
key: v.testVariationId,
|
|
5616
5655
|
content: v,
|
|
5617
5656
|
showContent: !1,
|
|
@@ -5631,8 +5670,8 @@ function Fu(e, t, n, r, o, i) {
|
|
|
5631
5670
|
contentWrapper: e.contentWrapper,
|
|
5632
5671
|
contentWrapperProps: e.contentWrapperProps
|
|
5633
5672
|
}, null, 8, ["content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "canTrack", "locale", "includeRefs", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps"]))), 128))
|
|
5634
|
-
], 64)) :
|
|
5635
|
-
|
|
5673
|
+
], 64)) : L("v-if", !0),
|
|
5674
|
+
me(h, ee({
|
|
5636
5675
|
content: e.defaultContent,
|
|
5637
5676
|
showContent: !0,
|
|
5638
5677
|
model: e.model,
|
|
@@ -5655,12 +5694,12 @@ function Fu(e, t, n, r, o, i) {
|
|
|
5655
5694
|
}), null, 16, ["content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "canTrack", "locale", "includeRefs", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps"])
|
|
5656
5695
|
], 64);
|
|
5657
5696
|
}
|
|
5658
|
-
const qr = /* @__PURE__ */
|
|
5697
|
+
const qr = /* @__PURE__ */ P(Du, [["render", Iu], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/components/content-variants/content-variants.vue"]]), xu = async ({
|
|
5659
5698
|
builderContextValue: e,
|
|
5660
5699
|
symbol: t
|
|
5661
5700
|
}) => {
|
|
5662
5701
|
if ((t == null ? void 0 : t.model) && (e == null ? void 0 : e.apiKey))
|
|
5663
|
-
return
|
|
5702
|
+
return It({
|
|
5664
5703
|
model: t.model,
|
|
5665
5704
|
apiKey: e.apiKey,
|
|
5666
5705
|
apiVersion: e.apiVersion,
|
|
@@ -5670,9 +5709,9 @@ const qr = /* @__PURE__ */ M(Su, [["render", Fu], ["__file", "/home/runner/work/
|
|
|
5670
5709
|
}
|
|
5671
5710
|
}
|
|
5672
5711
|
}).catch((n) => {
|
|
5673
|
-
|
|
5712
|
+
te.error("Could not fetch symbol content: ", n);
|
|
5674
5713
|
});
|
|
5675
|
-
},
|
|
5714
|
+
}, Tu = $({
|
|
5676
5715
|
name: "builder-symbol",
|
|
5677
5716
|
components: { ContentVariants: qr },
|
|
5678
5717
|
props: [
|
|
@@ -5681,6 +5720,7 @@ const qr = /* @__PURE__ */ M(Su, [["render", Fu], ["__file", "/home/runner/work/
|
|
|
5681
5720
|
"symbol",
|
|
5682
5721
|
"dynamic",
|
|
5683
5722
|
"builderContext",
|
|
5723
|
+
"builderBlock",
|
|
5684
5724
|
"builderComponents"
|
|
5685
5725
|
],
|
|
5686
5726
|
data() {
|
|
@@ -5716,7 +5756,7 @@ const qr = /* @__PURE__ */ M(Su, [["render", Fu], ["__file", "/home/runner/work/
|
|
|
5716
5756
|
},
|
|
5717
5757
|
methods: {
|
|
5718
5758
|
setContent() {
|
|
5719
|
-
this.contentToUse ||
|
|
5759
|
+
this.contentToUse || xu({
|
|
5720
5760
|
symbol: this.symbol,
|
|
5721
5761
|
builderContextValue: this.builderContext
|
|
5722
5762
|
}).then((e) => {
|
|
@@ -5734,30 +5774,33 @@ const qr = /* @__PURE__ */ M(Su, [["render", Fu], ["__file", "/home/runner/work/
|
|
|
5734
5774
|
}
|
|
5735
5775
|
}
|
|
5736
5776
|
});
|
|
5737
|
-
function
|
|
5738
|
-
var p, h, m, v;
|
|
5739
|
-
const u =
|
|
5740
|
-
return E(), I("div",
|
|
5777
|
+
function Ru(e, t, n, r, o, i) {
|
|
5778
|
+
var p, h, m, v, b;
|
|
5779
|
+
const u = V("content-variants");
|
|
5780
|
+
return E(), I("div", ee({
|
|
5741
5781
|
class: e._classStringToObject(e.className)
|
|
5742
5782
|
}, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, rt(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
|
|
5743
|
-
|
|
5783
|
+
me(u, {
|
|
5744
5784
|
__isNestedRender: !0,
|
|
5745
5785
|
apiVersion: e.builderContext.apiVersion,
|
|
5746
5786
|
apiKey: e.builderContext.apiKey,
|
|
5747
|
-
context:
|
|
5787
|
+
context: {
|
|
5788
|
+
...e.builderContext.context,
|
|
5789
|
+
symbolId: (p = e.builderBlock) == null ? void 0 : p.id
|
|
5790
|
+
},
|
|
5748
5791
|
customComponents: Object.values(e.builderComponents),
|
|
5749
5792
|
data: {
|
|
5750
|
-
...(
|
|
5793
|
+
...(h = e.symbol) == null ? void 0 : h.data,
|
|
5751
5794
|
...e.builderContext.localState,
|
|
5752
|
-
...(
|
|
5795
|
+
...(v = (m = e.contentToUse) == null ? void 0 : m.data) == null ? void 0 : v.state
|
|
5753
5796
|
},
|
|
5754
|
-
model: (
|
|
5797
|
+
model: (b = e.symbol) == null ? void 0 : b.model,
|
|
5755
5798
|
content: e.contentToUse
|
|
5756
5799
|
}, null, 8, ["apiVersion", "apiKey", "context", "customComponents", "data", "model", "content"])
|
|
5757
5800
|
], 16);
|
|
5758
5801
|
}
|
|
5759
|
-
const
|
|
5760
|
-
function
|
|
5802
|
+
const ju = /* @__PURE__ */ P(Tu, [["render", Ru], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/src/blocks/symbol/symbol.vue"]]), Mu = Dt, Wu = qr, yr = {};
|
|
5803
|
+
function Vu(e) {
|
|
5761
5804
|
if (J()) {
|
|
5762
5805
|
Object.assign(yr, e);
|
|
5763
5806
|
const t = {
|
|
@@ -5767,7 +5810,7 @@ function _u(e) {
|
|
|
5767
5810
|
parent.postMessage(t, "*");
|
|
5768
5811
|
}
|
|
5769
5812
|
}
|
|
5770
|
-
const
|
|
5813
|
+
const Lu = async (e) => {
|
|
5771
5814
|
var r, o, i;
|
|
5772
5815
|
const t = e.path || ((r = e.url) == null ? void 0 : r.pathname) || ((o = e.userAttributes) == null ? void 0 : o.urlPath), n = {
|
|
5773
5816
|
...e,
|
|
@@ -5784,45 +5827,45 @@ const Uu = async (e) => {
|
|
|
5784
5827
|
return {
|
|
5785
5828
|
apiKey: n.apiKey,
|
|
5786
5829
|
model: n.model,
|
|
5787
|
-
content: await
|
|
5830
|
+
content: await It(n)
|
|
5788
5831
|
};
|
|
5789
5832
|
};
|
|
5790
5833
|
export {
|
|
5791
|
-
|
|
5834
|
+
Lu as A,
|
|
5792
5835
|
Tr as B,
|
|
5793
5836
|
qr as C,
|
|
5794
|
-
|
|
5837
|
+
$u as D,
|
|
5795
5838
|
vi as F,
|
|
5796
5839
|
bn as I,
|
|
5797
|
-
|
|
5840
|
+
Mu as R,
|
|
5798
5841
|
Ii as S,
|
|
5799
|
-
|
|
5800
|
-
|
|
5801
|
-
|
|
5842
|
+
Ae as T,
|
|
5843
|
+
Bs as V,
|
|
5844
|
+
P as _,
|
|
5802
5845
|
di as a,
|
|
5803
|
-
|
|
5804
|
-
|
|
5805
|
-
|
|
5846
|
+
Pu as b,
|
|
5847
|
+
Pe as c,
|
|
5848
|
+
rn as d,
|
|
5806
5849
|
St as e,
|
|
5807
|
-
|
|
5850
|
+
Dt as f,
|
|
5808
5851
|
xr as g,
|
|
5809
|
-
|
|
5852
|
+
Wu as h,
|
|
5810
5853
|
Ao as i,
|
|
5811
5854
|
mi as j,
|
|
5812
5855
|
wi as k,
|
|
5813
|
-
|
|
5814
|
-
|
|
5815
|
-
|
|
5816
|
-
|
|
5817
|
-
|
|
5818
|
-
|
|
5819
|
-
|
|
5820
|
-
|
|
5856
|
+
ju as l,
|
|
5857
|
+
vs as m,
|
|
5858
|
+
ge as n,
|
|
5859
|
+
Xs as o,
|
|
5860
|
+
Ds as p,
|
|
5861
|
+
zs as q,
|
|
5862
|
+
cu as r,
|
|
5863
|
+
Vu as s,
|
|
5821
5864
|
Gr as t,
|
|
5822
|
-
|
|
5823
|
-
|
|
5824
|
-
|
|
5825
|
-
|
|
5865
|
+
It as u,
|
|
5866
|
+
_u as v,
|
|
5867
|
+
Su as w,
|
|
5868
|
+
Nu as x,
|
|
5826
5869
|
Hr as y,
|
|
5827
|
-
|
|
5870
|
+
Uu as z
|
|
5828
5871
|
};
|