@builder.io/sdk-react-nextjs 0.12.0 → 0.12.2
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/USE_CLIENT_BUNDLE-4b1b3c99.cjs +23 -0
- package/lib/browser/{USE_CLIENT_BUNDLE-109dedea.js → USE_CLIENT_BUNDLE-550679f9.js} +250 -265
- package/lib/{edge/USE_SERVER_BUNDLE-35036883.js → browser/USE_SERVER_BUNDLE-464dccd7.js} +1 -1
- package/lib/{edge/USE_SERVER_BUNDLE-ab530745.cjs → browser/USE_SERVER_BUNDLE-6234c5ea.cjs} +1 -1
- package/lib/browser/bundle-1d763be7.cjs +168 -0
- package/lib/browser/{bundle-f769d53a.js → bundle-d905bf70.js} +614 -572
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +17 -17
- package/lib/{node/USE_CLIENT_BUNDLE-f1c14740.js → edge/USE_CLIENT_BUNDLE-aa38a343.js} +250 -265
- package/lib/edge/USE_CLIENT_BUNDLE-edb18eb8.cjs +23 -0
- package/lib/{node/USE_SERVER_BUNDLE-a546a48c.js → edge/USE_SERVER_BUNDLE-70c27ea1.js} +1 -1
- package/lib/{node/USE_SERVER_BUNDLE-ce3684c3.cjs → edge/USE_SERVER_BUNDLE-f0eeb33e.cjs} +1 -1
- package/lib/edge/{bundle-593d3883.cjs → bundle-25fa71b1.cjs} +31 -31
- package/lib/edge/{bundle-80ec9a4d.js → bundle-834dbf29.js} +873 -831
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +17 -17
- package/lib/{edge/USE_CLIENT_BUNDLE-bffeb179.js → node/USE_CLIENT_BUNDLE-d30db795.js} +250 -265
- package/lib/node/USE_CLIENT_BUNDLE-def5165a.cjs +23 -0
- package/lib/{browser/USE_SERVER_BUNDLE-a36e67c3.js → node/USE_SERVER_BUNDLE-610c83b3.js} +1 -1
- package/lib/{browser/USE_SERVER_BUNDLE-7d41532a.cjs → node/USE_SERVER_BUNDLE-a5db98bc.cjs} +1 -1
- package/lib/node/{bundle-fd27db7d.js → bundle-1f73ead0.js} +236 -194
- package/lib/node/bundle-4efd9623.cjs +208 -0
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.mjs +17 -17
- package/package.json +1 -1
- package/types/cjs/blocks/slot/component-info.d.ts +2 -0
- package/types/cjs/blocks/slot/slot.d.ts +11 -0
- package/types/cjs/components/block/block.helpers.d.ts +0 -1
- package/types/cjs/components/block/components/block-wrapper.d.ts +2 -6
- package/types/cjs/components/content-variants/content-variants.types.d.ts +4 -0
- package/types/cjs/components/dynamic-renderer/dynamic-renderer.d.ts +8 -0
- package/types/cjs/components/dynamic-renderer/dynamic-renderer.helpers.d.ts +1 -0
- package/types/cjs/constants/sdk-version.d.ts +1 -1
- package/types/cjs/functions/is-from-trusted-host.d.ts +3 -0
- package/types/cjs/scripts/init-editing.d.ts +1 -0
- package/types/esm/blocks/slot/component-info.d.ts +2 -0
- package/types/esm/blocks/slot/slot.d.ts +11 -0
- package/types/esm/components/block/block.helpers.d.ts +0 -1
- package/types/esm/components/block/components/block-wrapper.d.ts +2 -6
- package/types/esm/components/content-variants/content-variants.types.d.ts +4 -0
- package/types/esm/components/dynamic-renderer/dynamic-renderer.d.ts +8 -0
- package/types/esm/components/dynamic-renderer/dynamic-renderer.helpers.d.ts +1 -0
- package/types/esm/constants/sdk-version.d.ts +1 -1
- package/types/esm/functions/is-from-trusted-host.d.ts +3 -0
- package/types/esm/scripts/init-editing.d.ts +1 -0
- package/lib/browser/USE_CLIENT_BUNDLE-c6f253a6.cjs +0 -23
- package/lib/browser/bundle-ff1186e7.cjs +0 -168
- package/lib/edge/USE_CLIENT_BUNDLE-23097d3f.cjs +0 -23
- package/lib/node/USE_CLIENT_BUNDLE-ff4465dc.cjs +0 -23
- package/lib/node/bundle-6e88a55c.cjs +0 -208
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { LRUCache as
|
|
2
|
-
import { jsx as E, Fragment as
|
|
3
|
-
import { createElement as
|
|
4
|
-
import { I as
|
|
1
|
+
import { LRUCache as zr } from "lru-cache";
|
|
2
|
+
import { jsx as E, Fragment as L, jsxs as Se } from "react/jsx-runtime";
|
|
3
|
+
import { createElement as qr } from "react";
|
|
4
|
+
import { I as Zr, B as Qr, a as eo, b as to, C as no, E as ro, F as oo, c as io, d as ao, S as so, V as lo, e as co } from "./USE_CLIENT_BUNDLE-aa38a343.js";
|
|
5
5
|
import "next/navigation";
|
|
6
|
-
function
|
|
6
|
+
function uo(e) {
|
|
7
7
|
var t;
|
|
8
8
|
return {
|
|
9
9
|
...(t = e.component) == null ? void 0 : t.options,
|
|
@@ -23,21 +23,21 @@ const at = "[Builder.io]: ", q = {
|
|
|
23
23
|
function G() {
|
|
24
24
|
return typeof window < "u" && typeof document < "u";
|
|
25
25
|
}
|
|
26
|
-
const
|
|
27
|
-
function
|
|
26
|
+
const ve = "rsc";
|
|
27
|
+
function fo() {
|
|
28
28
|
return G() && window.self !== window.top;
|
|
29
29
|
}
|
|
30
30
|
function Xt() {
|
|
31
|
-
return
|
|
31
|
+
return fo() && window.location.search.indexOf("builder.frameEditing=") !== -1;
|
|
32
32
|
}
|
|
33
|
-
const
|
|
33
|
+
const po = () => {
|
|
34
34
|
if (G()) {
|
|
35
35
|
const e = new URL(location.href);
|
|
36
36
|
return e.pathname === "" && (e.pathname = "/"), e;
|
|
37
37
|
} else
|
|
38
38
|
return console.warn("Cannot get location for tracking in non-browser environment"), null;
|
|
39
|
-
},
|
|
40
|
-
const e =
|
|
39
|
+
}, ho = () => typeof navigator == "object" && navigator.userAgent || "", ar = () => {
|
|
40
|
+
const e = ho(), t = {
|
|
41
41
|
Android() {
|
|
42
42
|
return e.match(/Android/i);
|
|
43
43
|
},
|
|
@@ -54,15 +54,15 @@ const ho = () => {
|
|
|
54
54
|
return e.match(/IEMobile/i) || e.match(/WPDesktop/i);
|
|
55
55
|
},
|
|
56
56
|
any() {
|
|
57
|
-
return t.Android() || t.BlackBerry() || t.iOS() || t.Opera() || t.Windows() ||
|
|
57
|
+
return t.Android() || t.BlackBerry() || t.iOS() || t.Opera() || t.Windows() || ve === "reactNative";
|
|
58
58
|
}
|
|
59
|
-
}, n = e.match(/Tablet|iPad/i), r =
|
|
59
|
+
}, n = e.match(/Tablet|iPad/i), r = po();
|
|
60
60
|
return {
|
|
61
61
|
urlPath: r == null ? void 0 : r.pathname,
|
|
62
62
|
host: (r == null ? void 0 : r.host) || (r == null ? void 0 : r.hostname),
|
|
63
63
|
device: n ? "tablet" : t.any() ? "mobile" : "desktop"
|
|
64
64
|
};
|
|
65
|
-
},
|
|
65
|
+
}, sr = ({
|
|
66
66
|
builder: e,
|
|
67
67
|
context: t,
|
|
68
68
|
event: n,
|
|
@@ -74,14 +74,14 @@ const ho = () => {
|
|
|
74
74
|
builder: e,
|
|
75
75
|
context: t,
|
|
76
76
|
event: n
|
|
77
|
-
}),
|
|
77
|
+
}), mo = () => ({
|
|
78
78
|
isEditing: Xt(),
|
|
79
79
|
isBrowser: G(),
|
|
80
80
|
isServer: !G(),
|
|
81
|
-
getUserAttributes: () =>
|
|
82
|
-
}),
|
|
81
|
+
getUserAttributes: () => ar()
|
|
82
|
+
}), go = (e, {
|
|
83
83
|
isExpression: t = !0
|
|
84
|
-
}) => /* we disable this for cases where we definitely don't want a return */ t && !(e.includes(";") || e.includes(" return ") || e.trim().startsWith("return ")) ? `return (${e});` : e,
|
|
84
|
+
}) => /* we disable this for cases where we definitely don't want a return */ t && !(e.includes(";") || e.includes(" return ") || e.trim().startsWith("return ")) ? `return (${e});` : e, yo = ({
|
|
85
85
|
code: e,
|
|
86
86
|
builder: t,
|
|
87
87
|
context: n,
|
|
@@ -90,15 +90,15 @@ const ho = () => {
|
|
|
90
90
|
rootSetState: a,
|
|
91
91
|
rootState: s
|
|
92
92
|
}) => {
|
|
93
|
-
const u =
|
|
93
|
+
const u = sr({
|
|
94
94
|
builder: t,
|
|
95
95
|
context: n,
|
|
96
96
|
event: r,
|
|
97
|
-
state:
|
|
97
|
+
state: vo(s, o, a)
|
|
98
98
|
});
|
|
99
99
|
return new Function(...u.map(([d]) => d), e)(...u.map(([, d]) => d));
|
|
100
100
|
};
|
|
101
|
-
function
|
|
101
|
+
function vo(e, t, n) {
|
|
102
102
|
if (e === t)
|
|
103
103
|
throw new Error("rootState === localState");
|
|
104
104
|
return new Proxy(e, {
|
|
@@ -110,7 +110,7 @@ function xo(e, t, n) {
|
|
|
110
110
|
}
|
|
111
111
|
});
|
|
112
112
|
}
|
|
113
|
-
const
|
|
113
|
+
const lr = (e, t, n) => {
|
|
114
114
|
if (Object(e) !== e)
|
|
115
115
|
return e;
|
|
116
116
|
const r = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
|
|
@@ -118,17 +118,17 @@ const ur = (e, t, n) => {
|
|
|
118
118
|
};
|
|
119
119
|
var N, bo = function(e) {
|
|
120
120
|
function t(i) {
|
|
121
|
-
return 48 > i ? i === 36 : 58 > i ? !0 : 65 > i ? !1 : 91 > i ? !0 : 97 > i ? i === 95 : 123 > i ? !0 : 170 <= i &&
|
|
121
|
+
return 48 > i ? i === 36 : 58 > i ? !0 : 65 > i ? !1 : 91 > i ? !0 : 97 > i ? i === 95 : 123 > i ? !0 : 170 <= i && Yr.test(String.fromCharCode(i));
|
|
122
122
|
}
|
|
123
123
|
function n(i) {
|
|
124
|
-
return 65 > i ? i === 36 : 91 > i ? !0 : 97 > i ? i === 95 : 123 > i ? !0 : 170 <= i &&
|
|
124
|
+
return 65 > i ? i === 36 : 91 > i ? !0 : 97 > i ? i === 95 : 123 > i ? !0 : 170 <= i && Dn.test(String.fromCharCode(i));
|
|
125
125
|
}
|
|
126
126
|
function r(i, l) {
|
|
127
127
|
for (var c = m, p = 1, T = 0; ; ) {
|
|
128
128
|
it.lastIndex = T;
|
|
129
|
-
var
|
|
130
|
-
if (
|
|
131
|
-
++p, T =
|
|
129
|
+
var D = it.exec(c);
|
|
130
|
+
if (D && D.index < i)
|
|
131
|
+
++p, T = D.index + D[0].length;
|
|
132
132
|
else
|
|
133
133
|
break;
|
|
134
134
|
}
|
|
@@ -149,7 +149,7 @@ var N, bo = function(e) {
|
|
|
149
149
|
this.line = we, this.ab = f - oe;
|
|
150
150
|
}
|
|
151
151
|
function s(i, l) {
|
|
152
|
-
Ce = f, O.C && (
|
|
152
|
+
Ce = f, O.C && (Et = new a()), I = i, d(), Q = l, Ue = i.m;
|
|
153
153
|
}
|
|
154
154
|
function u() {
|
|
155
155
|
for (var i = f, l = O.va && O.C && new a(), c = m.charCodeAt(f += 2); f < ke && c !== 10 && c !== 13 && c !== 8232 && c !== 8233; )
|
|
@@ -181,16 +181,16 @@ var N, bo = function(e) {
|
|
|
181
181
|
break;
|
|
182
182
|
else if (i === 160)
|
|
183
183
|
++f;
|
|
184
|
-
else if (5760 <= i &&
|
|
184
|
+
else if (5760 <= i && Xr.test(String.fromCharCode(i)))
|
|
185
185
|
++f;
|
|
186
186
|
else
|
|
187
187
|
break;
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
-
function
|
|
190
|
+
function S(i) {
|
|
191
191
|
switch (i) {
|
|
192
192
|
case 46:
|
|
193
|
-
i = m.charCodeAt(f + 1), 48 <= i && 57 >= i ?
|
|
193
|
+
i = m.charCodeAt(f + 1), 48 <= i && 57 >= i ? k(!0) : (++f, s(Pn));
|
|
194
194
|
return;
|
|
195
195
|
case 40:
|
|
196
196
|
return ++f, s(ie);
|
|
@@ -203,7 +203,7 @@ var N, bo = function(e) {
|
|
|
203
203
|
case 91:
|
|
204
204
|
return ++f, s(Mt);
|
|
205
205
|
case 93:
|
|
206
|
-
return ++f, s(
|
|
206
|
+
return ++f, s(Ut);
|
|
207
207
|
case 123:
|
|
208
208
|
return ++f, s(_e);
|
|
209
209
|
case 125:
|
|
@@ -211,7 +211,7 @@ var N, bo = function(e) {
|
|
|
211
211
|
case 58:
|
|
212
212
|
return ++f, s(De);
|
|
213
213
|
case 63:
|
|
214
|
-
return ++f, s(
|
|
214
|
+
return ++f, s(Nn);
|
|
215
215
|
case 48:
|
|
216
216
|
if (i = m.charCodeAt(f + 1), i === 120 || i === 88) {
|
|
217
217
|
f += 2, i = j(16), i === null && r(_ + 2, "Expected hexadecimal number"), n(m.charCodeAt(f)) && r(f, "Identifier directly after number"), s(Ve, i);
|
|
@@ -226,7 +226,7 @@ var N, bo = function(e) {
|
|
|
226
226
|
case 55:
|
|
227
227
|
case 56:
|
|
228
228
|
case 57:
|
|
229
|
-
return
|
|
229
|
+
return k(!1);
|
|
230
230
|
case 34:
|
|
231
231
|
case 39:
|
|
232
232
|
f++;
|
|
@@ -254,13 +254,13 @@ var N, bo = function(e) {
|
|
|
254
254
|
l += "\r";
|
|
255
255
|
break;
|
|
256
256
|
case 120:
|
|
257
|
-
l += String.fromCharCode(
|
|
257
|
+
l += String.fromCharCode(x(2));
|
|
258
258
|
break;
|
|
259
259
|
case 117:
|
|
260
|
-
l += String.fromCharCode(
|
|
260
|
+
l += String.fromCharCode(x(4));
|
|
261
261
|
break;
|
|
262
262
|
case 85:
|
|
263
|
-
l += String.fromCharCode(
|
|
263
|
+
l += String.fromCharCode(x(8));
|
|
264
264
|
break;
|
|
265
265
|
case 116:
|
|
266
266
|
l += " ";
|
|
@@ -290,50 +290,50 @@ var N, bo = function(e) {
|
|
|
290
290
|
}
|
|
291
291
|
return;
|
|
292
292
|
case 47:
|
|
293
|
-
i = m.charCodeAt(f + 1), Ue ? (++f, P()) : i === 61 ?
|
|
293
|
+
i = m.charCodeAt(f + 1), Ue ? (++f, P()) : i === 61 ? b(xe, 2) : b(Bn, 1);
|
|
294
294
|
return;
|
|
295
295
|
case 37:
|
|
296
296
|
case 42:
|
|
297
|
-
m.charCodeAt(f + 1) === 61 ?
|
|
297
|
+
m.charCodeAt(f + 1) === 61 ? b(xe, 2) : b(Hr, 1);
|
|
298
298
|
return;
|
|
299
299
|
case 124:
|
|
300
300
|
case 38:
|
|
301
|
-
l = m.charCodeAt(f + 1), l === i ?
|
|
301
|
+
l = m.charCodeAt(f + 1), l === i ? b(i === 124 ? Fn : Vn, 2) : l === 61 ? b(xe, 2) : b(i === 124 ? Fr : _r, 1);
|
|
302
302
|
return;
|
|
303
303
|
case 94:
|
|
304
|
-
m.charCodeAt(f + 1) === 61 ?
|
|
304
|
+
m.charCodeAt(f + 1) === 61 ? b(xe, 2) : b(Vr, 1);
|
|
305
305
|
return;
|
|
306
306
|
case 43:
|
|
307
307
|
case 45:
|
|
308
|
-
l = m.charCodeAt(f + 1), l === i ? l === 45 && m.charCodeAt(f + 2) === 62 && ot.test(m.slice(me, f)) ? (f += 3, u(), d(),
|
|
308
|
+
l = m.charCodeAt(f + 1), l === i ? l === 45 && m.charCodeAt(f + 2) === 62 && ot.test(m.slice(me, f)) ? (f += 3, u(), d(), C()) : b(Ur, 2) : l === 61 ? b(xe, 2) : b($r, 1);
|
|
309
309
|
return;
|
|
310
310
|
case 60:
|
|
311
311
|
case 62:
|
|
312
|
-
l = m.charCodeAt(f + 1), c = 1, l === i ? (c = i === 62 && m.charCodeAt(f + 2) === 62 ? 3 : 2, m.charCodeAt(f + c) === 61 ?
|
|
312
|
+
l = m.charCodeAt(f + 1), c = 1, l === i ? (c = i === 62 && m.charCodeAt(f + 2) === 62 ? 3 : 2, m.charCodeAt(f + c) === 61 ? b(xe, c + 1) : b(Wr, c)) : l === 33 && i === 60 && m.charCodeAt(f + 2) === 45 && m.charCodeAt(f + 3) === 45 ? (f += 4, u(), d(), C()) : (l === 61 && (c = m.charCodeAt(f + 2) === 61 ? 3 : 2), b(Lr, c));
|
|
313
313
|
return;
|
|
314
314
|
case 61:
|
|
315
315
|
case 33:
|
|
316
|
-
m.charCodeAt(f + 1) === 61 ?
|
|
316
|
+
m.charCodeAt(f + 1) === 61 ? b(Dr, m.charCodeAt(f + 2) === 61 ? 3 : 2) : b(i === 61 ? Mn : Un, 1);
|
|
317
317
|
return;
|
|
318
318
|
case 126:
|
|
319
|
-
return
|
|
319
|
+
return b(Un, 1);
|
|
320
320
|
}
|
|
321
321
|
return !1;
|
|
322
322
|
}
|
|
323
|
-
function
|
|
324
|
-
if (i ? f = _ + 1 : _ = f, O.C && (
|
|
323
|
+
function C(i) {
|
|
324
|
+
if (i ? f = _ + 1 : _ = f, O.C && (Ct = new a()), i)
|
|
325
325
|
return P();
|
|
326
326
|
if (f >= ke)
|
|
327
|
-
return s(
|
|
327
|
+
return s(At);
|
|
328
328
|
if (i = m.charCodeAt(f), n(i) || i === 92)
|
|
329
329
|
return $();
|
|
330
|
-
if (
|
|
331
|
-
if (i = String.fromCharCode(i), i === "\\" ||
|
|
330
|
+
if (S(i) === !1) {
|
|
331
|
+
if (i = String.fromCharCode(i), i === "\\" || Dn.test(i))
|
|
332
332
|
return $();
|
|
333
333
|
r(f, "Unexpected character '" + i + "'");
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
|
-
function
|
|
336
|
+
function b(i, l) {
|
|
337
337
|
var c = m.slice(f, f + l);
|
|
338
338
|
f += l, s(i, c);
|
|
339
339
|
}
|
|
@@ -354,16 +354,16 @@ var N, bo = function(e) {
|
|
|
354
354
|
}
|
|
355
355
|
++f;
|
|
356
356
|
}
|
|
357
|
-
i = m.slice(c, f), ++f, (l =
|
|
357
|
+
i = m.slice(c, f), ++f, (l = B()) && !/^[gmi]*$/.test(l) && r(c, "Invalid regexp flag");
|
|
358
358
|
try {
|
|
359
359
|
var T = new RegExp(i, l);
|
|
360
|
-
} catch (
|
|
361
|
-
throw
|
|
360
|
+
} catch (D) {
|
|
361
|
+
throw D instanceof SyntaxError && r(c, D.message), D;
|
|
362
362
|
}
|
|
363
|
-
s(
|
|
363
|
+
s(dn, T);
|
|
364
364
|
}
|
|
365
365
|
function j(i, l) {
|
|
366
|
-
for (var c = f, p = 0, T = l === void 0 ? 1 / 0 : l,
|
|
366
|
+
for (var c = f, p = 0, T = l === void 0 ? 1 / 0 : l, D = 0; D < T; ++D) {
|
|
367
367
|
var X = m.charCodeAt(f);
|
|
368
368
|
if (X = 97 <= X ? X - 97 + 10 : 65 <= X ? X - 65 + 10 : 48 <= X && 57 >= X ? X - 48 : 1 / 0, X >= i)
|
|
369
369
|
break;
|
|
@@ -371,23 +371,23 @@ var N, bo = function(e) {
|
|
|
371
371
|
}
|
|
372
372
|
return f === c || l !== void 0 && f - c !== l ? null : p;
|
|
373
373
|
}
|
|
374
|
-
function
|
|
374
|
+
function k(i) {
|
|
375
375
|
var l = f, c = !1, p = m.charCodeAt(f) === 48;
|
|
376
376
|
i || j(10) !== null || r(l, "Invalid number"), m.charCodeAt(f) === 46 && (++f, j(10), c = !0), i = m.charCodeAt(f), (i === 69 || i === 101) && (i = m.charCodeAt(++f), i !== 43 && i !== 45 || ++f, j(10) === null && r(l, "Invalid number"), c = !0), n(m.charCodeAt(f)) && r(f, "Identifier directly after number"), i = m.slice(l, f);
|
|
377
377
|
var T;
|
|
378
378
|
c ? T = parseFloat(i) : p && i.length !== 1 ? /[89]/.test(i) || z ? r(l, "Invalid number") : T = parseInt(i, 8) : T = parseInt(i, 10), s(Ve, T);
|
|
379
379
|
}
|
|
380
|
-
function
|
|
380
|
+
function x(i) {
|
|
381
381
|
return i = j(16, i), i === null && r(_, "Bad character escape sequence"), i;
|
|
382
382
|
}
|
|
383
|
-
function
|
|
383
|
+
function B() {
|
|
384
384
|
Te = !1;
|
|
385
385
|
for (var i, l = !0, c = f; ; ) {
|
|
386
386
|
var p = m.charCodeAt(f);
|
|
387
387
|
if (t(p))
|
|
388
388
|
Te && (i += m.charAt(f)), ++f;
|
|
389
389
|
else if (p === 92) {
|
|
390
|
-
Te || (i = m.slice(c, f)), Te = !0, m.charCodeAt(++f) !== 117 && r(f, "Expecting Unicode escape sequence \\uXXXX"), ++f, p =
|
|
390
|
+
Te || (i = m.slice(c, f)), Te = !0, m.charCodeAt(++f) !== 117 && r(f, "Expecting Unicode escape sequence \\uXXXX"), ++f, p = x(4);
|
|
391
391
|
var T = String.fromCharCode(p);
|
|
392
392
|
T || r(f - 1, "Invalid Unicode escape"), (l ? n(p) : t(p)) || r(f - 4, "Invalid Unicode escape"), i += T;
|
|
393
393
|
} else
|
|
@@ -397,26 +397,26 @@ var N, bo = function(e) {
|
|
|
397
397
|
return Te ? i : m.slice(c, f);
|
|
398
398
|
}
|
|
399
399
|
function $() {
|
|
400
|
-
var i =
|
|
401
|
-
!Te &&
|
|
400
|
+
var i = B(), l = Ee;
|
|
401
|
+
!Te && Gr(i) && (l = Mr[i]), s(l, i);
|
|
402
402
|
}
|
|
403
403
|
function g() {
|
|
404
|
-
|
|
404
|
+
It = _, me = Ce, Tt = Et, C();
|
|
405
405
|
}
|
|
406
406
|
function pe(i) {
|
|
407
407
|
if (z = i, f = _, O.C)
|
|
408
408
|
for (; f < oe; )
|
|
409
409
|
oe = m.lastIndexOf(`
|
|
410
410
|
`, oe - 2) + 1, --we;
|
|
411
|
-
d(),
|
|
411
|
+
d(), C();
|
|
412
412
|
}
|
|
413
413
|
function de() {
|
|
414
414
|
this.type = null, this.start = _, this.end = null;
|
|
415
415
|
}
|
|
416
416
|
function Z() {
|
|
417
|
-
this.start =
|
|
417
|
+
this.start = Ct, this.end = null, kt && (this.source = kt);
|
|
418
418
|
}
|
|
419
|
-
function
|
|
419
|
+
function M() {
|
|
420
420
|
var i = new de();
|
|
421
421
|
return O.C && (i.X = new Z()), O.vb && (i.sourceFile = O.vb), O.Xa && (i.j = [_, 0]), i;
|
|
422
422
|
}
|
|
@@ -425,16 +425,16 @@ var N, bo = function(e) {
|
|
|
425
425
|
return l.start = i.start, O.C && (l.X = new Z(), l.X.start = i.X.start), O.Xa && (l.j = [i.j[0], 0]), l;
|
|
426
426
|
}
|
|
427
427
|
function A(i, l) {
|
|
428
|
-
return i.type = l, i.end = me, O.C && (i.X.end =
|
|
428
|
+
return i.type = l, i.end = me, O.C && (i.X.end = Tt), O.Xa && (i.j[1] = me), i;
|
|
429
429
|
}
|
|
430
|
-
function
|
|
430
|
+
function gt(i) {
|
|
431
431
|
return i.type === "ExpressionStatement" && i.la.type === "Literal" && i.la.value === "use strict";
|
|
432
432
|
}
|
|
433
433
|
function U(i) {
|
|
434
434
|
return I === i ? (g(), !0) : !1;
|
|
435
435
|
}
|
|
436
436
|
function Ze() {
|
|
437
|
-
return !O.fc && (I ===
|
|
437
|
+
return !O.fc && (I === At || I === Ie || ot.test(m.slice(me, _)));
|
|
438
438
|
}
|
|
439
439
|
function be() {
|
|
440
440
|
U(ae) || Ze() || ne();
|
|
@@ -449,13 +449,13 @@ var N, bo = function(e) {
|
|
|
449
449
|
i.type !== "Identifier" && i.type !== "MemberExpression" && r(i.start, "Assigning to rvalue"), z && i.type === "Identifier" && rt(i.name) && r(i.start, "Assigning to " + i.name + " in strict mode");
|
|
450
450
|
}
|
|
451
451
|
function ee() {
|
|
452
|
-
(I === Bn || I ===
|
|
453
|
-
var i = I, l =
|
|
452
|
+
(I === Bn || I === xe && Q === "/=") && C(!0);
|
|
453
|
+
var i = I, l = M();
|
|
454
454
|
switch (i) {
|
|
455
|
-
case
|
|
456
|
-
case
|
|
455
|
+
case Ot:
|
|
456
|
+
case mn:
|
|
457
457
|
g();
|
|
458
|
-
var c = i ===
|
|
458
|
+
var c = i === Ot;
|
|
459
459
|
U(ae) || Ze() ? l.label = null : I !== Ee ? ne() : (l.label = re(), be());
|
|
460
460
|
for (var p = 0; p < V.length; ++p) {
|
|
461
461
|
var T = V[p];
|
|
@@ -463,34 +463,34 @@ var N, bo = function(e) {
|
|
|
463
463
|
break;
|
|
464
464
|
}
|
|
465
465
|
return p === V.length && r(l.start, "Unsyntactic " + i.l), A(l, c ? "BreakStatement" : "ContinueStatement");
|
|
466
|
-
case
|
|
466
|
+
case gn:
|
|
467
467
|
return g(), be(), A(l, "DebuggerStatement");
|
|
468
|
+
case vn:
|
|
469
|
+
return g(), V.push(Ft), l.body = ee(), V.pop(), F(Bt), l.test = Ne(), be(), A(l, "DoWhileStatement");
|
|
468
470
|
case xn:
|
|
469
|
-
return g(), V.push(
|
|
471
|
+
return g(), V.push(Ft), F(ie), I === ae ? yt(l, null) : I === Nt ? (i = M(), g(), fn(i, !0), A(i, "VariableDeclaration"), i.fa.length === 1 && U(nt) ? un(l, i) : yt(l, i)) : (i = K(!1, !0), U(nt) ? (Qe(i), un(l, i)) : yt(l, i));
|
|
472
|
+
case Rt:
|
|
473
|
+
return g(), xt(l, !0);
|
|
470
474
|
case Sn:
|
|
471
|
-
return g(), V.push(Ut), F(ie), I === ae ? gt(l, null) : I === Pt ? (i = B(), g(), pn(i, !0), A(i, "VariableDeclaration"), i.fa.length === 1 && U(nt) ? fn(l, i) : gt(l, i)) : (i = K(!1, !0), U(nt) ? (Qe(i), fn(l, i)) : gt(l, i));
|
|
472
|
-
case jt:
|
|
473
|
-
return g(), bt(l, !0);
|
|
474
|
-
case kn:
|
|
475
475
|
return g(), l.test = Ne(), l.da = ee(), l.alternate = U(bn) ? ee() : null, A(l, "IfStatement");
|
|
476
|
-
case
|
|
476
|
+
case kn:
|
|
477
477
|
return Fe || O.Ib || r(_, "'return' outside of function"), g(), U(ae) || Ze() ? l.K = null : (l.K = K(), be()), A(l, "ReturnStatement");
|
|
478
|
-
case
|
|
479
|
-
for (g(), l.Qb = Ne(), l.tb = [], F(_e), V.push(
|
|
480
|
-
I ===
|
|
478
|
+
case Pt:
|
|
479
|
+
for (g(), l.Qb = Ne(), l.tb = [], F(_e), V.push(Jr); I !== Ie; )
|
|
480
|
+
I === jt || I === yn ? (i = I === jt, p && A(p, "SwitchCase"), l.tb.push(p = M()), p.da = [], g(), i ? p.test = K() : (c && r(It, "Multiple default clauses"), c = !0, p.test = null), F(De)) : (p || ne(), p.da.push(ee()));
|
|
481
481
|
return p && A(p, "SwitchCase"), g(), V.pop(), A(l, "SwitchStatement");
|
|
482
|
-
case
|
|
482
|
+
case Cn:
|
|
483
483
|
return g(), ot.test(m.slice(me, _)) && r(me, "Illegal newline after throw"), l.K = K(), be(), A(l, "ThrowStatement");
|
|
484
|
-
case
|
|
485
|
-
return g(), l.block =
|
|
486
|
-
case Pt:
|
|
487
|
-
return g(), pn(l), be(), A(l, "VariableDeclaration");
|
|
484
|
+
case En:
|
|
485
|
+
return g(), l.block = Be(), l.Ea = null, I === hn && (i = M(), g(), F(ie), i.Ua = re(), z && rt(i.Ua.name) && r(i.Ua.start, "Binding " + i.Ua.name + " in strict mode"), F(te), i.body = Be(), l.Ea = A(i, "CatchClause")), l.fb = U(wn) ? Be() : null, l.Ea || l.fb || r(l.start, "Missing catch or finally clause"), A(l, "TryStatement");
|
|
488
486
|
case Nt:
|
|
489
|
-
return g(),
|
|
490
|
-
case
|
|
487
|
+
return g(), fn(l), be(), A(l, "VariableDeclaration");
|
|
488
|
+
case Bt:
|
|
489
|
+
return g(), l.test = Ne(), V.push(Ft), l.body = ee(), V.pop(), A(l, "WhileStatement");
|
|
490
|
+
case In:
|
|
491
491
|
return z && r(_, "'with' in strict mode"), g(), l.object = Ne(), l.body = ee(), A(l, "WithStatement");
|
|
492
492
|
case _e:
|
|
493
|
-
return
|
|
493
|
+
return Be();
|
|
494
494
|
case ae:
|
|
495
495
|
return g(), A(l, "EmptyStatement");
|
|
496
496
|
default:
|
|
@@ -499,7 +499,7 @@ var N, bo = function(e) {
|
|
|
499
499
|
V[p].name === c && r(T.start, "Label '" + c + "' is already declared");
|
|
500
500
|
return V.push({
|
|
501
501
|
name: c,
|
|
502
|
-
kind: I.W ? "loop" : I ===
|
|
502
|
+
kind: I.W ? "loop" : I === Pt ? "switch" : null
|
|
503
503
|
}), l.body = ee(), V.pop(), l.label = T, A(l, "LabeledStatement");
|
|
504
504
|
}
|
|
505
505
|
return l.la = T, be(), A(l, "ExpressionStatement");
|
|
@@ -510,97 +510,97 @@ var N, bo = function(e) {
|
|
|
510
510
|
var i = K();
|
|
511
511
|
return F(te), i;
|
|
512
512
|
}
|
|
513
|
-
function
|
|
514
|
-
var l =
|
|
513
|
+
function Be(i) {
|
|
514
|
+
var l = M(), c = !0, p = !1;
|
|
515
515
|
for (l.body = [], F(_e); !U(Ie); ) {
|
|
516
516
|
var T = ee();
|
|
517
|
-
if (l.body.push(T), c && i &&
|
|
518
|
-
var
|
|
517
|
+
if (l.body.push(T), c && i && gt(T)) {
|
|
518
|
+
var D = p;
|
|
519
519
|
pe(p = !0);
|
|
520
520
|
}
|
|
521
521
|
c = !1;
|
|
522
522
|
}
|
|
523
|
-
return p && !
|
|
523
|
+
return p && !D && pe(!1), A(l, "BlockStatement");
|
|
524
524
|
}
|
|
525
|
-
function
|
|
525
|
+
function yt(i, l) {
|
|
526
526
|
return i.ua = l, F(ae), i.test = I === ae ? null : K(), F(ae), i.update = I === te ? null : K(), F(te), i.body = ee(), V.pop(), A(i, "ForStatement");
|
|
527
527
|
}
|
|
528
|
-
function
|
|
528
|
+
function un(i, l) {
|
|
529
529
|
return i.left = l, i.right = K(), F(te), i.body = ee(), V.pop(), A(i, "ForInStatement");
|
|
530
530
|
}
|
|
531
|
-
function
|
|
531
|
+
function fn(i, l) {
|
|
532
532
|
for (i.fa = [], i.kind = "var"; ; ) {
|
|
533
|
-
var c =
|
|
534
|
-
if (c.id = re(), z && rt(c.id.name) && r(c.id.start, "Binding " + c.id.name + " in strict mode"), c.ua = U(
|
|
533
|
+
var c = M();
|
|
534
|
+
if (c.id = re(), z && rt(c.id.name) && r(c.id.start, "Binding " + c.id.name + " in strict mode"), c.ua = U(Mn) ? K(!0, l) : null, i.fa.push(A(c, "VariableDeclarator")), !U(ge))
|
|
535
535
|
break;
|
|
536
536
|
}
|
|
537
537
|
}
|
|
538
538
|
function K(i, l) {
|
|
539
|
-
var c =
|
|
539
|
+
var c = vt(l);
|
|
540
540
|
if (!i && I === ge) {
|
|
541
541
|
for (i = he(c), i.xb = [c]; U(ge); )
|
|
542
|
-
i.xb.push(
|
|
542
|
+
i.xb.push(vt(l));
|
|
543
543
|
return A(i, "SequenceExpression");
|
|
544
544
|
}
|
|
545
545
|
return c;
|
|
546
546
|
}
|
|
547
|
-
function
|
|
548
|
-
var l =
|
|
549
|
-
if (U(
|
|
547
|
+
function vt(i) {
|
|
548
|
+
var l = bt(wt(), -1, i);
|
|
549
|
+
if (U(Nn)) {
|
|
550
550
|
var c = he(l);
|
|
551
551
|
c.test = l, c.da = K(!0), F(De), c.alternate = K(!0, i), l = A(c, "ConditionalExpression");
|
|
552
552
|
}
|
|
553
|
-
return I.Cb ? (c = he(l), c.operator = Q, c.left = l, g(), c.right =
|
|
553
|
+
return I.Cb ? (c = he(l), c.operator = Q, c.left = l, g(), c.right = vt(i), Qe(l), A(c, "AssignmentExpression")) : l;
|
|
554
554
|
}
|
|
555
|
-
function
|
|
555
|
+
function bt(i, l, c) {
|
|
556
556
|
var p = I.L;
|
|
557
557
|
if (p !== null && (!c || I !== nt) && p > l) {
|
|
558
558
|
var T = he(i);
|
|
559
|
-
return T.left = i, T.operator = Q, i = I, g(), T.right =
|
|
559
|
+
return T.left = i, T.operator = Q, i = I, g(), T.right = bt(wt(), p, c), p = A(T, i === Fn || i === Vn ? "LogicalExpression" : "BinaryExpression"), bt(p, l, c);
|
|
560
560
|
}
|
|
561
561
|
return i;
|
|
562
562
|
}
|
|
563
|
-
function
|
|
563
|
+
function wt() {
|
|
564
564
|
if (I.prefix) {
|
|
565
|
-
var i =
|
|
566
|
-
return i.operator = Q, Ue = i.prefix = !0, g(), i.K =
|
|
565
|
+
var i = M(), l = I.$b;
|
|
566
|
+
return i.operator = Q, Ue = i.prefix = !0, g(), i.K = wt(), l ? Qe(i.K) : z && i.operator === "delete" && i.K.type === "Identifier" && r(i.start, "Deleting local variable in strict mode"), A(i, l ? "UpdateExpression" : "UnaryExpression");
|
|
567
567
|
}
|
|
568
|
-
for (l =
|
|
568
|
+
for (l = Me(et()); I.cc && !Ze(); )
|
|
569
569
|
i = he(l), i.operator = Q, i.prefix = !1, i.K = l, Qe(l), g(), l = A(i, "UpdateExpression");
|
|
570
570
|
return l;
|
|
571
571
|
}
|
|
572
|
-
function
|
|
573
|
-
if (U(
|
|
572
|
+
function Me(i, l) {
|
|
573
|
+
if (U(Pn)) {
|
|
574
574
|
var c = he(i);
|
|
575
|
-
return c.object = i, c.Wa = re(!0), c.bb = !1,
|
|
575
|
+
return c.object = i, c.Wa = re(!0), c.bb = !1, Me(A(c, "MemberExpression"), l);
|
|
576
576
|
}
|
|
577
|
-
return U(Mt) ? (c = he(i), c.object = i, c.Wa = K(), c.bb = !0, F(
|
|
577
|
+
return U(Mt) ? (c = he(i), c.object = i, c.Wa = K(), c.bb = !0, F(Ut), Me(A(c, "MemberExpression"), l)) : !l && U(ie) ? (c = he(i), c.callee = i, c.arguments = St(te, !1), Me(A(c, "CallExpression"), l)) : i;
|
|
578
578
|
}
|
|
579
579
|
function et() {
|
|
580
580
|
switch (I) {
|
|
581
|
-
case
|
|
582
|
-
var i =
|
|
581
|
+
case An:
|
|
582
|
+
var i = M();
|
|
583
583
|
return g(), A(i, "ThisExpression");
|
|
584
584
|
case Ee:
|
|
585
585
|
return re();
|
|
586
586
|
case Ve:
|
|
587
587
|
case tt:
|
|
588
|
-
case
|
|
589
|
-
return i =
|
|
588
|
+
case dn:
|
|
589
|
+
return i = M(), i.value = Q, i.raw = m.slice(_, Ce), g(), A(i, "Literal");
|
|
590
|
+
case On:
|
|
590
591
|
case jn:
|
|
591
592
|
case Rn:
|
|
592
|
-
|
|
593
|
-
return i = B(), i.value = I.$a, i.raw = I.l, g(), A(i, "Literal");
|
|
593
|
+
return i = M(), i.value = I.$a, i.raw = I.l, g(), A(i, "Literal");
|
|
594
594
|
case ie:
|
|
595
|
-
i =
|
|
595
|
+
i = Ct;
|
|
596
596
|
var l = _;
|
|
597
597
|
g();
|
|
598
598
|
var c = K();
|
|
599
|
-
return c.start = l, c.end = Ce, O.C && (c.X.start = i, c.X.end =
|
|
599
|
+
return c.start = l, c.end = Ce, O.C && (c.X.start = i, c.X.end = Et), O.Xa && (c.j = [l, Ce]), F(te), c;
|
|
600
600
|
case Mt:
|
|
601
|
-
return i =
|
|
601
|
+
return i = M(), g(), i.elements = St(Ut, !0, !0), A(i, "ArrayExpression");
|
|
602
602
|
case _e:
|
|
603
|
-
for (i =
|
|
603
|
+
for (i = M(), l = !0, c = !1, i.h = [], g(); !U(Ie); ) {
|
|
604
604
|
if (l)
|
|
605
605
|
l = !1;
|
|
606
606
|
else if (F(ge), O.sb && U(Ie))
|
|
@@ -610,43 +610,43 @@ var N, bo = function(e) {
|
|
|
610
610
|
}, T = !1;
|
|
611
611
|
if (U(De)) {
|
|
612
612
|
p.value = K(!0);
|
|
613
|
-
var
|
|
613
|
+
var D = p.kind = "init";
|
|
614
614
|
} else
|
|
615
|
-
p.key.type !== "Identifier" || p.key.name !== "get" && p.key.name !== "set" ? ne() : (T = c = !0,
|
|
615
|
+
p.key.type !== "Identifier" || p.key.name !== "get" && p.key.name !== "set" ? ne() : (T = c = !0, D = p.kind = p.key.name, p.key = I === Ve || I === tt ? et() : re(!0), I !== ie && ne(), p.value = xt(M(), !1));
|
|
616
616
|
if (p.key.type === "Identifier" && (z || c))
|
|
617
617
|
for (var X = 0; X < i.h.length; ++X) {
|
|
618
618
|
var Ae = i.h[X];
|
|
619
619
|
if (Ae.key.name === p.key.name) {
|
|
620
|
-
var
|
|
621
|
-
|
|
620
|
+
var Vt = D === Ae.kind || T && Ae.kind === "init" || D === "init" && (Ae.kind === "get" || Ae.kind === "set");
|
|
621
|
+
Vt && !z && D === "init" && Ae.kind === "init" && (Vt = !1), Vt && r(p.key.start, "Redefinition of property");
|
|
622
622
|
}
|
|
623
623
|
}
|
|
624
624
|
i.h.push(p);
|
|
625
625
|
}
|
|
626
626
|
return A(i, "ObjectExpression");
|
|
627
|
-
case
|
|
628
|
-
return i =
|
|
629
|
-
case
|
|
630
|
-
return i =
|
|
627
|
+
case Rt:
|
|
628
|
+
return i = M(), g(), xt(i, !1);
|
|
629
|
+
case Tn:
|
|
630
|
+
return i = M(), g(), i.callee = Me(et(), !0), i.arguments = U(ie) ? St(te, !1) : Br, A(i, "NewExpression");
|
|
631
631
|
}
|
|
632
632
|
ne();
|
|
633
633
|
}
|
|
634
|
-
function
|
|
634
|
+
function xt(i, l) {
|
|
635
635
|
I === Ee ? i.id = re() : l ? ne() : i.id = null, i.oa = [];
|
|
636
636
|
var c = !0;
|
|
637
637
|
for (F(ie); !U(te); )
|
|
638
638
|
c ? c = !1 : F(ge), i.oa.push(re());
|
|
639
639
|
c = Fe;
|
|
640
640
|
var p = V;
|
|
641
|
-
if (Fe = !0, V = [], i.body =
|
|
641
|
+
if (Fe = !0, V = [], i.body = Be(!0), Fe = c, V = p, z || i.body.body.length && gt(i.body.body[0])) {
|
|
642
642
|
for (c = i.id ? -1 : 0; c < i.oa.length; ++c)
|
|
643
|
-
if (p = 0 > c ? i.id : i.oa[c], (
|
|
643
|
+
if (p = 0 > c ? i.id : i.oa[c], (_n(p.name) || rt(p.name)) && r(p.start, "Defining '" + p.name + "' in strict mode"), 0 <= c)
|
|
644
644
|
for (var T = 0; T < c; ++T)
|
|
645
645
|
p.name === i.oa[T].name && r(p.start, "Argument name clash in strict mode");
|
|
646
646
|
}
|
|
647
647
|
return A(i, l ? "FunctionDeclaration" : "FunctionExpression");
|
|
648
648
|
}
|
|
649
|
-
function
|
|
649
|
+
function St(i, l, c) {
|
|
650
650
|
for (var p = [], T = !0; !U(i); ) {
|
|
651
651
|
if (T)
|
|
652
652
|
T = !1;
|
|
@@ -657,20 +657,20 @@ var N, bo = function(e) {
|
|
|
657
657
|
return p;
|
|
658
658
|
}
|
|
659
659
|
function re(i) {
|
|
660
|
-
var l =
|
|
661
|
-
return i && O.yb === "everywhere" && (i = !1), I === Ee ? (!i && (O.yb &&
|
|
660
|
+
var l = M();
|
|
661
|
+
return i && O.yb === "everywhere" && (i = !1), I === Ee ? (!i && (O.yb && Kr(Q) || z && _n(Q)) && m.slice(_, Ce).indexOf("\\") === -1 && r(_, "The keyword '" + Q + "' is reserved"), l.name = Q) : i && I.l ? l.name = I.l : ne(), Ue = !1, g(), A(l, "Identifier");
|
|
662
662
|
}
|
|
663
663
|
e.version = "0.5.0";
|
|
664
|
-
var O, m = "", ke,
|
|
664
|
+
var O, m = "", ke, kt;
|
|
665
665
|
e.parse = function(i, l) {
|
|
666
666
|
m = String(i), ke = m.length, O = l || {};
|
|
667
|
-
for (var c in
|
|
668
|
-
Object.prototype.hasOwnProperty.call(O, c) || (O[c] =
|
|
669
|
-
for (
|
|
670
|
-
c = ee(), i.body.push(c), l &&
|
|
667
|
+
for (var c in pn)
|
|
668
|
+
Object.prototype.hasOwnProperty.call(O, c) || (O[c] = pn[c]);
|
|
669
|
+
for (kt = O.sourceFile, we = 1, f = oe = 0, Ue = !0, d(), c = O.dc, It = me = f, O.C && (Tt = new a()), Fe = z = !1, V = [], C(), i = c || M(), l = !0, c || (i.body = []); I !== At; )
|
|
670
|
+
c = ee(), i.body.push(c), l && gt(c) && pe(!0), l = !1;
|
|
671
671
|
return A(i, "Program");
|
|
672
672
|
};
|
|
673
|
-
var
|
|
673
|
+
var pn = {
|
|
674
674
|
fc: !1,
|
|
675
675
|
sb: !0,
|
|
676
676
|
yb: !1,
|
|
@@ -681,30 +681,30 @@ var N, bo = function(e) {
|
|
|
681
681
|
dc: null,
|
|
682
682
|
sourceFile: null,
|
|
683
683
|
vb: null
|
|
684
|
-
}, f = 0, _ = 0, Ce = 0,
|
|
684
|
+
}, f = 0, _ = 0, Ce = 0, Ct, Et, I, Q, Ue, we, oe, It = 0, me = 0, Tt, Fe, V, z, Br = [], Ve = {
|
|
685
685
|
type: "num"
|
|
686
|
-
},
|
|
686
|
+
}, dn = {
|
|
687
687
|
type: "regexp"
|
|
688
688
|
}, tt = {
|
|
689
689
|
type: "string"
|
|
690
690
|
}, Ee = {
|
|
691
691
|
type: "name"
|
|
692
|
-
}, Tt = {
|
|
693
|
-
type: "eof"
|
|
694
692
|
}, At = {
|
|
695
|
-
|
|
693
|
+
type: "eof"
|
|
696
694
|
}, Ot = {
|
|
695
|
+
l: "break"
|
|
696
|
+
}, jt = {
|
|
697
697
|
l: "case",
|
|
698
698
|
m: !0
|
|
699
|
-
},
|
|
699
|
+
}, hn = {
|
|
700
700
|
l: "catch"
|
|
701
|
-
},
|
|
701
|
+
}, mn = {
|
|
702
702
|
l: "continue"
|
|
703
|
-
},
|
|
703
|
+
}, gn = {
|
|
704
704
|
l: "debugger"
|
|
705
|
-
},
|
|
705
|
+
}, yn = {
|
|
706
706
|
l: "default"
|
|
707
|
-
},
|
|
707
|
+
}, vn = {
|
|
708
708
|
l: "do",
|
|
709
709
|
W: !0
|
|
710
710
|
}, bn = {
|
|
@@ -712,79 +712,79 @@ var N, bo = function(e) {
|
|
|
712
712
|
m: !0
|
|
713
713
|
}, wn = {
|
|
714
714
|
l: "finally"
|
|
715
|
-
},
|
|
715
|
+
}, xn = {
|
|
716
716
|
l: "for",
|
|
717
717
|
W: !0
|
|
718
|
-
},
|
|
718
|
+
}, Rt = {
|
|
719
719
|
l: "function"
|
|
720
|
-
},
|
|
720
|
+
}, Sn = {
|
|
721
721
|
l: "if"
|
|
722
|
-
},
|
|
722
|
+
}, kn = {
|
|
723
723
|
l: "return",
|
|
724
724
|
m: !0
|
|
725
|
-
},
|
|
725
|
+
}, Pt = {
|
|
726
726
|
l: "switch"
|
|
727
|
-
},
|
|
727
|
+
}, Cn = {
|
|
728
728
|
l: "throw",
|
|
729
729
|
m: !0
|
|
730
|
-
},
|
|
730
|
+
}, En = {
|
|
731
731
|
l: "try"
|
|
732
|
-
}, Pt = {
|
|
733
|
-
l: "var"
|
|
734
732
|
}, Nt = {
|
|
733
|
+
l: "var"
|
|
734
|
+
}, Bt = {
|
|
735
735
|
l: "while",
|
|
736
736
|
W: !0
|
|
737
|
-
},
|
|
737
|
+
}, In = {
|
|
738
738
|
l: "with"
|
|
739
|
-
},
|
|
739
|
+
}, Tn = {
|
|
740
740
|
l: "new",
|
|
741
741
|
m: !0
|
|
742
|
-
},
|
|
742
|
+
}, An = {
|
|
743
743
|
l: "this"
|
|
744
|
-
},
|
|
744
|
+
}, On = {
|
|
745
745
|
l: "null",
|
|
746
746
|
$a: null
|
|
747
|
-
},
|
|
747
|
+
}, jn = {
|
|
748
748
|
l: "true",
|
|
749
749
|
$a: !0
|
|
750
|
-
},
|
|
750
|
+
}, Rn = {
|
|
751
751
|
l: "false",
|
|
752
752
|
$a: !1
|
|
753
753
|
}, nt = {
|
|
754
754
|
l: "in",
|
|
755
755
|
L: 7,
|
|
756
756
|
m: !0
|
|
757
|
-
},
|
|
758
|
-
break:
|
|
759
|
-
case:
|
|
760
|
-
catch:
|
|
761
|
-
continue:
|
|
762
|
-
debugger:
|
|
763
|
-
default:
|
|
764
|
-
do:
|
|
757
|
+
}, Mr = {
|
|
758
|
+
break: Ot,
|
|
759
|
+
case: jt,
|
|
760
|
+
catch: hn,
|
|
761
|
+
continue: mn,
|
|
762
|
+
debugger: gn,
|
|
763
|
+
default: yn,
|
|
764
|
+
do: vn,
|
|
765
765
|
else: bn,
|
|
766
766
|
finally: wn,
|
|
767
|
-
for:
|
|
768
|
-
function:
|
|
769
|
-
if:
|
|
770
|
-
return:
|
|
771
|
-
switch:
|
|
772
|
-
throw:
|
|
773
|
-
try:
|
|
774
|
-
var:
|
|
775
|
-
while:
|
|
776
|
-
with:
|
|
777
|
-
null:
|
|
778
|
-
true:
|
|
779
|
-
false:
|
|
780
|
-
new:
|
|
767
|
+
for: xn,
|
|
768
|
+
function: Rt,
|
|
769
|
+
if: Sn,
|
|
770
|
+
return: kn,
|
|
771
|
+
switch: Pt,
|
|
772
|
+
throw: Cn,
|
|
773
|
+
try: En,
|
|
774
|
+
var: Nt,
|
|
775
|
+
while: Bt,
|
|
776
|
+
with: In,
|
|
777
|
+
null: On,
|
|
778
|
+
true: jn,
|
|
779
|
+
false: Rn,
|
|
780
|
+
new: Tn,
|
|
781
781
|
in: nt,
|
|
782
782
|
instanceof: {
|
|
783
783
|
l: "instanceof",
|
|
784
784
|
L: 7,
|
|
785
785
|
m: !0
|
|
786
786
|
},
|
|
787
|
-
this:
|
|
787
|
+
this: An,
|
|
788
788
|
typeof: {
|
|
789
789
|
l: "typeof",
|
|
790
790
|
prefix: !0,
|
|
@@ -803,7 +803,7 @@ var N, bo = function(e) {
|
|
|
803
803
|
}, Mt = {
|
|
804
804
|
type: "[",
|
|
805
805
|
m: !0
|
|
806
|
-
},
|
|
806
|
+
}, Ut = {
|
|
807
807
|
type: "]"
|
|
808
808
|
}, _e = {
|
|
809
809
|
type: "{",
|
|
@@ -824,61 +824,61 @@ var N, bo = function(e) {
|
|
|
824
824
|
}, De = {
|
|
825
825
|
type: ":",
|
|
826
826
|
m: !0
|
|
827
|
-
},
|
|
827
|
+
}, Pn = {
|
|
828
828
|
type: "."
|
|
829
|
-
},
|
|
829
|
+
}, Nn = {
|
|
830
830
|
type: "?",
|
|
831
831
|
m: !0
|
|
832
832
|
}, Bn = {
|
|
833
833
|
L: 10,
|
|
834
834
|
m: !0
|
|
835
|
-
},
|
|
835
|
+
}, Mn = {
|
|
836
836
|
Cb: !0,
|
|
837
837
|
m: !0
|
|
838
|
-
},
|
|
838
|
+
}, xe = {
|
|
839
839
|
Cb: !0,
|
|
840
840
|
m: !0
|
|
841
|
-
},
|
|
841
|
+
}, Ur = {
|
|
842
842
|
cc: !0,
|
|
843
843
|
prefix: !0,
|
|
844
844
|
$b: !0
|
|
845
|
-
},
|
|
845
|
+
}, Un = {
|
|
846
846
|
prefix: !0,
|
|
847
847
|
m: !0
|
|
848
|
-
},
|
|
848
|
+
}, Fn = {
|
|
849
849
|
L: 1,
|
|
850
850
|
m: !0
|
|
851
|
-
},
|
|
851
|
+
}, Vn = {
|
|
852
852
|
L: 2,
|
|
853
853
|
m: !0
|
|
854
|
-
},
|
|
854
|
+
}, Fr = {
|
|
855
855
|
L: 3,
|
|
856
856
|
m: !0
|
|
857
|
-
},
|
|
857
|
+
}, Vr = {
|
|
858
858
|
L: 4,
|
|
859
859
|
m: !0
|
|
860
|
-
},
|
|
860
|
+
}, _r = {
|
|
861
861
|
L: 5,
|
|
862
862
|
m: !0
|
|
863
|
-
},
|
|
863
|
+
}, Dr = {
|
|
864
864
|
L: 6,
|
|
865
865
|
m: !0
|
|
866
|
-
},
|
|
866
|
+
}, Lr = {
|
|
867
867
|
L: 7,
|
|
868
868
|
m: !0
|
|
869
|
-
},
|
|
869
|
+
}, Wr = {
|
|
870
870
|
L: 8,
|
|
871
871
|
m: !0
|
|
872
|
-
},
|
|
872
|
+
}, $r = {
|
|
873
873
|
L: 9,
|
|
874
874
|
prefix: !0,
|
|
875
875
|
m: !0
|
|
876
|
-
},
|
|
876
|
+
}, Hr = {
|
|
877
877
|
L: 10,
|
|
878
878
|
m: !0
|
|
879
|
-
},
|
|
879
|
+
}, Kr = o("class enum extends super const export import"), _n = o("implements interface let package private protected public static yield"), rt = o("eval arguments"), Gr = 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"), Xr = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Dn = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"), Yr = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"), ot = /[\n\r\u2028\u2029]/, it = /\r\n|[\n\r\u2028\u2029]/g, Te, Ft = {
|
|
880
880
|
kind: "loop"
|
|
881
|
-
},
|
|
881
|
+
}, Jr = {
|
|
882
882
|
kind: "switch"
|
|
883
883
|
};
|
|
884
884
|
}, Lt = Lt = typeof globalThis > "u" ? void 0 : globalThis;
|
|
@@ -901,7 +901,7 @@ function h(e, t) {
|
|
|
901
901
|
this.N = $t(this, this.ra, null), this.Na = this.N.object, this.ra = je(this.ba.join(`
|
|
902
902
|
`), "polyfills"), this.ba = void 0, ut(this.ra), a = new v(this.ra, this.N), a.done = !1, this.o = [a], this.Eb(), this.value = void 0, this.ra = r, a = new v(this.ra, this.N), a.done = !1, this.o.length = 0, this.o[0] = a;
|
|
903
903
|
}
|
|
904
|
-
var
|
|
904
|
+
var Ln = {
|
|
905
905
|
C: !0,
|
|
906
906
|
kc: 5
|
|
907
907
|
}, Yt = {
|
|
@@ -920,11 +920,11 @@ var $n = {
|
|
|
920
920
|
configurable: !1,
|
|
921
921
|
enumerable: !1,
|
|
922
922
|
writable: !1
|
|
923
|
-
},
|
|
923
|
+
}, Wn = {
|
|
924
924
|
configurable: !1,
|
|
925
925
|
enumerable: !0,
|
|
926
926
|
writable: !0
|
|
927
|
-
},
|
|
927
|
+
}, cr = {
|
|
928
928
|
STEP_ERROR: !0
|
|
929
929
|
}, Pe = {
|
|
930
930
|
SCOPE_REFERENCE: !0
|
|
@@ -932,7 +932,7 @@ var $n = {
|
|
|
932
932
|
VALUE_IN_DESCRIPTOR: !0
|
|
933
933
|
}, Oe = {
|
|
934
934
|
REGEXP_TIMEOUT: !0
|
|
935
|
-
},
|
|
935
|
+
}, $n = [], le = null, Ge = null, ye = typeof globalThis > "u" ? void 0 : globalThis, wo = ["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();", "};"];
|
|
936
936
|
function Jt(e) {
|
|
937
937
|
var t = e >>> 0;
|
|
938
938
|
return t === Number(e) ? t : NaN;
|
|
@@ -959,9 +959,9 @@ N.Kb = 0;
|
|
|
959
959
|
N.ic = 0;
|
|
960
960
|
function je(e, t) {
|
|
961
961
|
var n = {}, r;
|
|
962
|
-
for (r in
|
|
963
|
-
n[r] =
|
|
964
|
-
return n.sourceFile = t,
|
|
962
|
+
for (r in Ln)
|
|
963
|
+
n[r] = Ln[r];
|
|
964
|
+
return n.sourceFile = t, ye.j.parse(e, n);
|
|
965
965
|
}
|
|
966
966
|
N.Jb = function(e) {
|
|
967
967
|
var t = this.o[0];
|
|
@@ -983,7 +983,7 @@ N.lb = function() {
|
|
|
983
983
|
if (n = this.ca[0], !n || n.time > Date.now())
|
|
984
984
|
n = null;
|
|
985
985
|
else {
|
|
986
|
-
this.ca.shift(), 0 <= n.interval &&
|
|
986
|
+
this.ca.shift(), 0 <= n.interval && pr(this, n, n.interval);
|
|
987
987
|
var r = new v(n.node, n.scope);
|
|
988
988
|
n.zb && (r.ia = 2, r.B = this.Na, r.U = n.zb, r.Qa = !0, r.F = n.Lb), n = r;
|
|
989
989
|
}
|
|
@@ -996,7 +996,7 @@ N.lb = function() {
|
|
|
996
996
|
try {
|
|
997
997
|
var a = this.rb[r.type](e, n, r);
|
|
998
998
|
} catch (s) {
|
|
999
|
-
if (s !==
|
|
999
|
+
if (s !== cr)
|
|
1000
1000
|
throw this.value !== s && (this.value = void 0), s;
|
|
1001
1001
|
} finally {
|
|
1002
1002
|
Ge = o;
|
|
@@ -1014,8 +1014,8 @@ N.Eb = function() {
|
|
|
1014
1014
|
;
|
|
1015
1015
|
return this.za;
|
|
1016
1016
|
};
|
|
1017
|
-
function
|
|
1018
|
-
e.g(t, "NaN", NaN, Le), e.g(t, "Infinity", 1 / 0, Le), e.g(t, "undefined", void 0, Le), e.g(t, "window", t, Yt), e.g(t, "this", t, Le), e.g(t, "self", t), e.M = new R(null), e.Z = new R(e.M),
|
|
1017
|
+
function xo(e, t) {
|
|
1018
|
+
e.g(t, "NaN", NaN, Le), e.g(t, "Infinity", 1 / 0, Le), e.g(t, "undefined", void 0, Le), e.g(t, "window", t, Yt), e.g(t, "this", t, Le), e.g(t, "self", t), e.M = new R(null), e.Z = new R(e.M), So(e, t), ko(e, t), t.xa = e.M, e.g(t, "constructor", e.v, y), Co(e, t), Eo(e, t), Io(e, t), To(e, t), Ao(e, t), Oo(e, t), jo(e, t), Ro(e, t), Po(e, t);
|
|
1019
1019
|
var n = e.i(function() {
|
|
1020
1020
|
throw EvalError("Can't happen");
|
|
1021
1021
|
}, !1);
|
|
@@ -1026,43 +1026,43 @@ function So(e, t) {
|
|
|
1026
1026
|
try {
|
|
1027
1027
|
return a(s);
|
|
1028
1028
|
} catch (u) {
|
|
1029
|
-
|
|
1029
|
+
w(e, e.Gb, u.message);
|
|
1030
1030
|
}
|
|
1031
1031
|
};
|
|
1032
1032
|
}(r[o][0]), e.g(t, r[o][1], e.i(n, !1), y);
|
|
1033
1033
|
n = function(a) {
|
|
1034
|
-
return
|
|
1034
|
+
return Hn(e, !1, arguments);
|
|
1035
1035
|
}, e.g(t, "setTimeout", e.i(n, !1), y), n = function(a) {
|
|
1036
|
-
return
|
|
1036
|
+
return Hn(e, !0, arguments);
|
|
1037
1037
|
}, e.g(t, "setInterval", e.i(n, !1), y), n = function(a) {
|
|
1038
|
-
|
|
1038
|
+
Kn(e, a);
|
|
1039
1039
|
}, e.g(t, "clearTimeout", e.i(n, !1), y), n = function(a) {
|
|
1040
|
-
|
|
1040
|
+
Kn(e, a);
|
|
1041
1041
|
}, e.g(t, "clearInterval", e.i(n, !1), y), e.OBJECT = e.v, e.OBJECT_PROTO = e.M, e.FUNCTION = e.O, e.FUNCTION_PROTO = e.Z, e.ARRAY = e.qa, e.ARRAY_PROTO = e.La, e.REGEXP = e.I, e.REGEXP_PROTO = e.Ma, e.DATE = e.$, e.DATE_PROTO = e.nb, e.qb && e.qb(e, t);
|
|
1042
1042
|
}
|
|
1043
1043
|
N.Wb = 0;
|
|
1044
|
-
function
|
|
1044
|
+
function So(e, t) {
|
|
1045
1045
|
var n = /^[A-Za-z_$][\w$]*$/, r = function(o) {
|
|
1046
1046
|
var a = arguments.length ? String(arguments[arguments.length - 1]) : "", s = Array.prototype.slice.call(arguments, 0, -1).join(",").trim();
|
|
1047
1047
|
if (s) {
|
|
1048
1048
|
s = s.split(/\s*,\s*/);
|
|
1049
1049
|
for (var u = 0; u < s.length; u++) {
|
|
1050
1050
|
var d = s[u];
|
|
1051
|
-
n.test(d) ||
|
|
1051
|
+
n.test(d) || w(e, e.T, "Invalid function argument: " + d);
|
|
1052
1052
|
}
|
|
1053
1053
|
s = s.join(", ");
|
|
1054
1054
|
}
|
|
1055
1055
|
try {
|
|
1056
|
-
var
|
|
1057
|
-
} catch (
|
|
1058
|
-
|
|
1056
|
+
var S = je("(function(" + s + ") {" + a + "})", "function" + e.Wb++);
|
|
1057
|
+
} catch (C) {
|
|
1058
|
+
w(e, e.T, "Invalid code: " + C.message);
|
|
1059
1059
|
}
|
|
1060
|
-
return
|
|
1060
|
+
return S.body.length !== 1 && w(e, e.T, "Invalid code in function body"), Zt(e, S.body[0].la, e.N, "anonymous");
|
|
1061
1061
|
};
|
|
1062
1062
|
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() {
|
|
1063
1063
|
}, e.Z.Ta.id = e.Ya++, e.Z.Ab = !0, e.g(e.Z, "length", 0, J), e.Z.H = "Function", r = function(o, a) {
|
|
1064
1064
|
var s = e.o[e.o.length - 1];
|
|
1065
|
-
s.U = this, s.B = o, s.F = [], a != null && (a instanceof R ? s.F =
|
|
1065
|
+
s.U = this, s.B = o, s.F = [], a != null && (a instanceof R ? s.F = ur(e, a) : w(e, e.j, "CreateListFromArrayLike called on non-object")), s.eb = !1;
|
|
1066
1066
|
}, W(e, e.O, "apply", r), r = function(o) {
|
|
1067
1067
|
var a = e.o[e.o.length - 1];
|
|
1068
1068
|
a.U = this, a.B = o, a.F = [];
|
|
@@ -1075,9 +1075,9 @@ function ko(e, t) {
|
|
|
1075
1075
|
return this.valueOf();
|
|
1076
1076
|
}, W(e, e.O, "valueOf", r), e.g(e.O, "valueOf", e.i(r, !1), y);
|
|
1077
1077
|
}
|
|
1078
|
-
function
|
|
1078
|
+
function ko(e, t) {
|
|
1079
1079
|
function n(o) {
|
|
1080
|
-
o != null ||
|
|
1080
|
+
o != null || w(e, e.j, "Cannot convert '" + o + "' to object");
|
|
1081
1081
|
}
|
|
1082
1082
|
var r = function(o) {
|
|
1083
1083
|
if (o == null)
|
|
@@ -1093,11 +1093,11 @@ function Co(e, t) {
|
|
|
1093
1093
|
}, e.g(e.v, "getOwnPropertyNames", e.i(r, !1), y), r = function(o) {
|
|
1094
1094
|
return n(o), o instanceof R && (o = o.h), se(e, Object.keys(o));
|
|
1095
1095
|
}, e.g(e.v, "keys", e.i(r, !1), y), r = function(o) {
|
|
1096
|
-
return o === null ? e.s(null) : (o instanceof R ||
|
|
1096
|
+
return o === null ? e.s(null) : (o instanceof R || w(e, e.j, "Object prototype may only be an Object or null, not " + o), e.s(o));
|
|
1097
1097
|
}, e.g(e.v, "create", e.i(r, !1), y), e.ba.push("(function() {", "var create_ = Object.create;", "Object.create = function create(proto, props) {", "var obj = create_(proto);", "props && Object.defineProperties(obj, props);", "return obj;", "};", "})();", ""), r = function(o, a, s) {
|
|
1098
|
-
return a = String(a), o instanceof R ||
|
|
1098
|
+
return a = String(a), o instanceof R || w(e, e.j, "Object.defineProperty called on non-object: " + o), s instanceof R || w(e, e.j, "Property description must be an object"), !o.preventExtensions || a in o.h || w(e, e.j, "Can't define property '" + a + "', object is not extensible"), e.g(o, a, Ye, s.h), o;
|
|
1099
1099
|
}, e.g(e.v, "defineProperty", e.i(r, !1), y), e.ba.push("(function() {", "var defineProperty_ = Object.defineProperty;", "Object.defineProperty = function defineProperty(obj, prop, d1) {", "var d2 = {};", "if ('configurable' in d1) d2.configurable = d1.configurable;", "if ('enumerable' in d1) d2.enumerable = d1.enumerable;", "if ('writable' in d1) d2.writable = d1.writable;", "if ('value' in d1) d2.value = d1.value;", "if ('get' in d1) d2.get = d1.get;", "if ('set' in d1) d2.set = d1.set;", "return defineProperty_(obj, prop, d2);", "};", "})();", "Object.defineProperty(Object, 'defineProperties',", "{configurable: true, writable: true, value:", "function defineProperties(obj, props) {", "var keys = Object.keys(props);", "for (var i = 0; i < keys.length; i++) {", "Object.defineProperty(obj, keys[i], props[keys[i]]);", "}", "return obj;", "}", "});", ""), r = function(o, a) {
|
|
1100
|
-
if (o instanceof R ||
|
|
1100
|
+
if (o instanceof R || w(e, e.j, "Object.getOwnPropertyDescriptor called on non-object: " + o), a = String(a), a in o.h) {
|
|
1101
1101
|
var s = Object.getOwnPropertyDescriptor(o.h, a), u = o.V[a];
|
|
1102
1102
|
return o = o.Y[a], a = e.s(e.M), u || o ? (e.g(a, "get", u), e.g(a, "set", o)) : (e.g(a, "value", s.value), e.g(a, "writable", s.writable)), e.g(a, "configurable", s.configurable), e.g(a, "enumerable", s.enumerable), a;
|
|
1103
1103
|
}
|
|
@@ -1120,11 +1120,11 @@ function Co(e, t) {
|
|
|
1120
1120
|
}
|
|
1121
1121
|
}, W(e, e.v, "isPrototypeOf", r);
|
|
1122
1122
|
}
|
|
1123
|
-
function
|
|
1123
|
+
function Co(e, t) {
|
|
1124
1124
|
var n = function(r) {
|
|
1125
1125
|
var o = ue(e) ? this : Re(e), a = arguments[0];
|
|
1126
1126
|
if (arguments.length === 1 && typeof a == "number")
|
|
1127
|
-
isNaN(Jt(a)) &&
|
|
1127
|
+
isNaN(Jt(a)) && w(e, e.ob, "Invalid array length: " + a), o.h.length = a;
|
|
1128
1128
|
else {
|
|
1129
1129
|
for (a = 0; a < arguments.length; a++)
|
|
1130
1130
|
o.h[a] = arguments[a];
|
|
@@ -1140,9 +1140,9 @@ function Eo(e, t) {
|
|
|
1140
1140
|
writable: !0
|
|
1141
1141
|
}), 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(',');", "}", ");", "})();", "");
|
|
1142
1142
|
}
|
|
1143
|
-
function
|
|
1143
|
+
function Eo(e, t) {
|
|
1144
1144
|
var n = function(r) {
|
|
1145
|
-
return r = arguments.length ?
|
|
1145
|
+
return r = arguments.length ? ye.String(r) : "", ue(e) ? (this.data = r, this) : r;
|
|
1146
1146
|
};
|
|
1147
1147
|
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++)
|
|
1148
1148
|
W(e, e.J, t[n], String.prototype[t[n]]);
|
|
@@ -1151,7 +1151,7 @@ function Io(e, t) {
|
|
|
1151
1151
|
try {
|
|
1152
1152
|
return String(this).localeCompare(r, o, a);
|
|
1153
1153
|
} catch (s) {
|
|
1154
|
-
|
|
1154
|
+
w(e, e.D, "localeCompare: " + s.message);
|
|
1155
1155
|
}
|
|
1156
1156
|
}, W(e, e.J, "localeCompare", n), n = function(r, o, a) {
|
|
1157
1157
|
var s = String(this);
|
|
@@ -1164,8 +1164,8 @@ function Io(e, t) {
|
|
|
1164
1164
|
}, r, a), r !== Oe && a(se(e, r));
|
|
1165
1165
|
else {
|
|
1166
1166
|
var u = e.ha(), d = He(e, r, u, a);
|
|
1167
|
-
u.onmessage = function(
|
|
1168
|
-
clearTimeout(d), a(se(e,
|
|
1167
|
+
u.onmessage = function(S) {
|
|
1168
|
+
clearTimeout(d), a(se(e, S.data));
|
|
1169
1169
|
}, u.postMessage(["split", s, r, o]);
|
|
1170
1170
|
}
|
|
1171
1171
|
return;
|
|
@@ -1214,8 +1214,8 @@ function Io(e, t) {
|
|
|
1214
1214
|
}, r, a), r !== Oe && a(r);
|
|
1215
1215
|
else {
|
|
1216
1216
|
var u = e.ha(), d = He(e, r, u, a);
|
|
1217
|
-
u.onmessage = function(
|
|
1218
|
-
clearTimeout(d), a(
|
|
1217
|
+
u.onmessage = function(S) {
|
|
1218
|
+
clearTimeout(d), a(S.data);
|
|
1219
1219
|
}, u.postMessage(["replace", s, r, o]);
|
|
1220
1220
|
}
|
|
1221
1221
|
return;
|
|
@@ -1223,14 +1223,14 @@ function Io(e, t) {
|
|
|
1223
1223
|
a(s.replace(r, o));
|
|
1224
1224
|
}, Ke(e, e.J, "replace", n), e.ba.push("(function() {", "var replace_ = String.prototype.replace;", "String.prototype.replace = function replace(substr, newSubstr) {", "if (typeof newSubstr !== 'function') {", "return replace_.call(this, substr, newSubstr);", "}", "var str = this;", "if (substr instanceof RegExp) {", "var subs = [];", "var m = substr.exec(str);", "while (m) {", "m.push(m.index, str);", "var inject = newSubstr.apply(null, m);", "subs.push([m.index, m[0].length, inject]);", "m = substr.global ? substr.exec(str) : null;", "}", "for (var i = subs.length - 1; i >= 0; i--) {", "str = str.substring(0, subs[i][0]) + subs[i][2] + str.substring(subs[i][0] + subs[i][1]);", "}", "} else {", "var i = str.indexOf(substr);", "if (i !== -1) {", "var inject = newSubstr(str.substr(i, substr.length), i, str);", "str = str.substring(0, i) + inject + str.substring(i + substr.length);", "}", "}", "return str;", "};", "})();", "");
|
|
1225
1225
|
}
|
|
1226
|
-
function
|
|
1226
|
+
function Io(e, t) {
|
|
1227
1227
|
e.mb = e.i(function(n) {
|
|
1228
|
-
return n =
|
|
1228
|
+
return n = ye.Boolean(n), ue(e) ? (this.data = n, this) : n;
|
|
1229
1229
|
}, !0), e.g(t, "Boolean", e.mb, y);
|
|
1230
1230
|
}
|
|
1231
|
-
function
|
|
1231
|
+
function To(e, t) {
|
|
1232
1232
|
var n = function(r) {
|
|
1233
|
-
return r = arguments.length ?
|
|
1233
|
+
return r = arguments.length ? ye.Number(r) : 0, ue(e) ? (this.data = r, this) : r;
|
|
1234
1234
|
};
|
|
1235
1235
|
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++)
|
|
1236
1236
|
e.g(e.aa, t[n], Number[t[n]], Le);
|
|
@@ -1238,55 +1238,55 @@ function Ao(e, t) {
|
|
|
1238
1238
|
try {
|
|
1239
1239
|
return Number(this).toExponential(r);
|
|
1240
1240
|
} catch (o) {
|
|
1241
|
-
|
|
1241
|
+
w(e, e.D, o.message);
|
|
1242
1242
|
}
|
|
1243
1243
|
}, W(e, e.aa, "toExponential", n), n = function(r) {
|
|
1244
1244
|
try {
|
|
1245
1245
|
return Number(this).toFixed(r);
|
|
1246
1246
|
} catch (o) {
|
|
1247
|
-
|
|
1247
|
+
w(e, e.D, o.message);
|
|
1248
1248
|
}
|
|
1249
1249
|
}, W(e, e.aa, "toFixed", n), n = function(r) {
|
|
1250
1250
|
try {
|
|
1251
1251
|
return Number(this).toPrecision(r);
|
|
1252
1252
|
} catch (o) {
|
|
1253
|
-
|
|
1253
|
+
w(e, e.D, o.message);
|
|
1254
1254
|
}
|
|
1255
1255
|
}, W(e, e.aa, "toPrecision", n), n = function(r) {
|
|
1256
1256
|
try {
|
|
1257
1257
|
return Number(this).toString(r);
|
|
1258
1258
|
} catch (o) {
|
|
1259
|
-
|
|
1259
|
+
w(e, e.D, o.message);
|
|
1260
1260
|
}
|
|
1261
1261
|
}, W(e, e.aa, "toString", n), n = function(r, o) {
|
|
1262
1262
|
r = r ? e.R(r) : void 0, o = o ? e.R(o) : void 0;
|
|
1263
1263
|
try {
|
|
1264
1264
|
return Number(this).toLocaleString(r, o);
|
|
1265
1265
|
} catch (a) {
|
|
1266
|
-
|
|
1266
|
+
w(e, e.D, "toLocaleString: " + a.message);
|
|
1267
1267
|
}
|
|
1268
1268
|
}, W(e, e.aa, "toLocaleString", n);
|
|
1269
1269
|
}
|
|
1270
|
-
function
|
|
1270
|
+
function Ao(e, t) {
|
|
1271
1271
|
var n = function(o, a) {
|
|
1272
1272
|
if (!ue(e))
|
|
1273
|
-
return
|
|
1273
|
+
return ye.Date();
|
|
1274
1274
|
var s = [null].concat(Array.from(arguments));
|
|
1275
|
-
return this.data = new (Function.prototype.bind.apply(
|
|
1275
|
+
return this.data = new (Function.prototype.bind.apply(ye.Date, s))(), this;
|
|
1276
1276
|
};
|
|
1277
1277
|
e.$ = e.i(n, !0), e.nb = e.$.h.prototype, e.g(t, "Date", e.$, y), e.g(e.$, "now", e.i(Date.now, !1), y), e.g(e.$, "parse", e.i(Date.parse, !1), y), e.g(e.$, "UTC", e.i(Date.UTC, !1), y), t = "getDate getDay getFullYear getHours getMilliseconds getMinutes getMonth getSeconds getTime getTimezoneOffset getUTCDate getUTCDay getUTCFullYear getUTCHours getUTCMilliseconds getUTCMinutes getUTCMonth getUTCSeconds getYear setDate setFullYear setHours setMilliseconds setMinutes setMonth setSeconds setTime setUTCDate setUTCFullYear setUTCHours setUTCMilliseconds setUTCMinutes setUTCMonth setUTCSeconds setYear toDateString toISOString toJSON toGMTString toLocaleDateString toLocaleString toLocaleTimeString toTimeString toUTCString".split(" ");
|
|
1278
1278
|
for (var r = 0; r < t.length; r++)
|
|
1279
1279
|
n = function(o) {
|
|
1280
1280
|
return function(a) {
|
|
1281
1281
|
var s = this.data;
|
|
1282
|
-
s instanceof Date ||
|
|
1282
|
+
s instanceof Date || w(e, e.j, o + " not called on a Date");
|
|
1283
1283
|
for (var u = [], d = 0; d < arguments.length; d++)
|
|
1284
1284
|
u[d] = e.R(arguments[d]);
|
|
1285
1285
|
return s[o].apply(s, u);
|
|
1286
1286
|
};
|
|
1287
1287
|
}(t[r]), W(e, e.$, t[r], n);
|
|
1288
1288
|
}
|
|
1289
|
-
function
|
|
1289
|
+
function Oo(e, t) {
|
|
1290
1290
|
var n = function(r, o) {
|
|
1291
1291
|
if (ue(e))
|
|
1292
1292
|
var a = this;
|
|
@@ -1295,19 +1295,19 @@ function jo(e, t) {
|
|
|
1295
1295
|
return r;
|
|
1296
1296
|
a = e.s(e.Ma);
|
|
1297
1297
|
}
|
|
1298
|
-
r = r === void 0 ? "" : String(r), o = o ? String(o) : "", /^[gmi]*$/.test(o) ||
|
|
1298
|
+
r = r === void 0 ? "" : String(r), o = o ? String(o) : "", /^[gmi]*$/.test(o) || w(e, e.T, "Invalid regexp flag: " + o);
|
|
1299
1299
|
try {
|
|
1300
|
-
var s = new
|
|
1300
|
+
var s = new ye.RegExp(r, o);
|
|
1301
1301
|
} catch (u) {
|
|
1302
|
-
|
|
1302
|
+
w(e, e.T, u.message);
|
|
1303
1303
|
}
|
|
1304
1304
|
return zt(e, a, s), a;
|
|
1305
1305
|
};
|
|
1306
1306
|
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, J), e.g(e.I.h.prototype, "ignoreCase", void 0, J), e.g(e.I.h.prototype, "multiline", void 0, J), e.g(e.I.h.prototype, "source", "(?:)", J), e.ba.push("Object.defineProperty(RegExp.prototype, 'test',", "{configurable: true, writable: true, value:", "function test(str) {", "return !!this.exec(str);", "}", "});"), n = function(r, o) {
|
|
1307
|
-
function a(
|
|
1308
|
-
if (
|
|
1309
|
-
var
|
|
1310
|
-
return e.g(
|
|
1307
|
+
function a(C) {
|
|
1308
|
+
if (C) {
|
|
1309
|
+
var b = se(e, C);
|
|
1310
|
+
return e.g(b, "index", C.index), e.g(b, "input", C.input), b;
|
|
1311
1311
|
}
|
|
1312
1312
|
return null;
|
|
1313
1313
|
}
|
|
@@ -1319,16 +1319,16 @@ function jo(e, t) {
|
|
|
1319
1319
|
regexp: s
|
|
1320
1320
|
}, s, o), r !== Oe && (e.g(this, "lastIndex", s.lastIndex), o(a(r)));
|
|
1321
1321
|
else {
|
|
1322
|
-
var u = e.ha(), d = He(e, s, u, o),
|
|
1323
|
-
u.onmessage = function(
|
|
1324
|
-
clearTimeout(d), e.g(
|
|
1322
|
+
var u = e.ha(), d = He(e, s, u, o), S = this;
|
|
1323
|
+
u.onmessage = function(C) {
|
|
1324
|
+
clearTimeout(d), e.g(S, "lastIndex", C.data[1]), o(a(C.data[0]));
|
|
1325
1325
|
}, u.postMessage(["exec", s, s.lastIndex, r]);
|
|
1326
1326
|
}
|
|
1327
1327
|
else
|
|
1328
1328
|
r = s.exec(r), e.g(this, "lastIndex", s.lastIndex), o(a(r));
|
|
1329
1329
|
}, Ke(e, e.I, "exec", n);
|
|
1330
1330
|
}
|
|
1331
|
-
function
|
|
1331
|
+
function jo(e, t) {
|
|
1332
1332
|
function n(r) {
|
|
1333
1333
|
var o = e.i(function(a) {
|
|
1334
1334
|
var s = ue(e) ? this : e.Aa(o);
|
|
@@ -1341,7 +1341,7 @@ function Ro(e, t) {
|
|
|
1341
1341
|
return Wt(e, o, r), o;
|
|
1342
1342
|
}, !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");
|
|
1343
1343
|
}
|
|
1344
|
-
function
|
|
1344
|
+
function Ro(e, t) {
|
|
1345
1345
|
var n = e.s(e.M);
|
|
1346
1346
|
e.g(t, "Math", n, y);
|
|
1347
1347
|
var r = "E LN2 LN10 LOG2E LOG10E PI SQRT1_2 SQRT2".split(" ");
|
|
@@ -1350,23 +1350,23 @@ function Po(e, t) {
|
|
|
1350
1350
|
for (r = "abs acos asin atan atan2 ceil cos exp floor log max min pow random round sin sqrt tan".split(" "), t = 0; t < r.length; t++)
|
|
1351
1351
|
e.g(n, r[t], e.i(Math[r[t]], !1), y);
|
|
1352
1352
|
}
|
|
1353
|
-
function
|
|
1353
|
+
function Po(e, t) {
|
|
1354
1354
|
var n = e.s(e.M);
|
|
1355
1355
|
e.g(t, "JSON", n, y), t = function(r) {
|
|
1356
1356
|
try {
|
|
1357
1357
|
var o = JSON.parse(String(r));
|
|
1358
1358
|
} catch (a) {
|
|
1359
|
-
|
|
1359
|
+
w(e, e.T, a.message);
|
|
1360
1360
|
}
|
|
1361
1361
|
return e.Ia(o);
|
|
1362
1362
|
}, e.g(n, "parse", e.i(t, !1)), t = function(r, o, a) {
|
|
1363
|
-
o && o.H === "Function" ?
|
|
1363
|
+
o && o.H === "Function" ? w(e, e.j, "Function replacer on JSON.stringify not supported") : o && o.H === "Array" ? (o = ur(e, o), o = o.filter(function(u) {
|
|
1364
1364
|
return typeof u == "string" || typeof u == "number";
|
|
1365
1365
|
})) : o = null, typeof a != "string" && typeof a != "number" && (a = void 0), r = e.R(r);
|
|
1366
1366
|
try {
|
|
1367
1367
|
var s = JSON.stringify(r, o, a);
|
|
1368
1368
|
} catch (u) {
|
|
1369
|
-
|
|
1369
|
+
w(e, e.j, u.message);
|
|
1370
1370
|
}
|
|
1371
1371
|
return s;
|
|
1372
1372
|
}, e.g(n, "stringify", e.i(t, !1));
|
|
@@ -1417,7 +1417,7 @@ function We(e, t, n, r, o) {
|
|
|
1417
1417
|
try {
|
|
1418
1418
|
return le.runInNewContext(t, n, a);
|
|
1419
1419
|
} catch {
|
|
1420
|
-
o(null),
|
|
1420
|
+
o(null), w(e, e.D, "RegExp Timeout: " + r);
|
|
1421
1421
|
}
|
|
1422
1422
|
return Oe;
|
|
1423
1423
|
}
|
|
@@ -1438,13 +1438,13 @@ function $e(e, t, n) {
|
|
|
1438
1438
|
r = !!le;
|
|
1439
1439
|
} else
|
|
1440
1440
|
r = !1;
|
|
1441
|
-
r || (n(null),
|
|
1441
|
+
r || (n(null), w(e, e.D, "Regular expressions not supported: " + t));
|
|
1442
1442
|
}
|
|
1443
1443
|
function He(e, t, n, r) {
|
|
1444
1444
|
return setTimeout(function() {
|
|
1445
1445
|
n.terminate(), r(null);
|
|
1446
1446
|
try {
|
|
1447
|
-
|
|
1447
|
+
w(e, e.D, "RegExp Timeout: " + t);
|
|
1448
1448
|
} catch {
|
|
1449
1449
|
}
|
|
1450
1450
|
}, e.REGEXP_THREAD_TIMEOUT);
|
|
@@ -1546,7 +1546,7 @@ function se(e, t) {
|
|
|
1546
1546
|
e.g(n, r[o], t[r[o]]);
|
|
1547
1547
|
return n;
|
|
1548
1548
|
}
|
|
1549
|
-
function
|
|
1549
|
+
function ur(e, t) {
|
|
1550
1550
|
var n = [], r;
|
|
1551
1551
|
for (r in t.h)
|
|
1552
1552
|
n[r] = e.G(t, r);
|
|
@@ -1566,7 +1566,7 @@ function ce(e, t) {
|
|
|
1566
1566
|
N.G = function(e, t) {
|
|
1567
1567
|
if (this.P)
|
|
1568
1568
|
throw Error("Getter not supported in that context");
|
|
1569
|
-
if (t = String(t), e != null ||
|
|
1569
|
+
if (t = String(t), e != null || w(this, this.j, "Cannot read property '" + t + "' of " + e), typeof e == "object" && !(e instanceof R))
|
|
1570
1570
|
throw TypeError("Expecting native value or pseudo object");
|
|
1571
1571
|
if (t === "length") {
|
|
1572
1572
|
if (H(this, e, this.J))
|
|
@@ -1600,15 +1600,15 @@ function ft(e, t, n) {
|
|
|
1600
1600
|
N.g = function(e, t, n, r) {
|
|
1601
1601
|
if (this.Ka)
|
|
1602
1602
|
throw Error("Setter not supported in that context");
|
|
1603
|
-
if (t = String(t), e != null ||
|
|
1603
|
+
if (t = String(t), e != null || w(this, this.j, "Cannot set property '" + t + "' of " + e), typeof e == "object" && !(e instanceof R))
|
|
1604
1604
|
throw TypeError("Expecting native value or pseudo object");
|
|
1605
|
-
r && ("get" in r || "set" in r) && ("value" in r || "writable" in r) &&
|
|
1605
|
+
r && ("get" in r || "set" in r) && ("value" in r || "writable" in r) && w(this, this.j, "Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");
|
|
1606
1606
|
var o = !this.o || Qt(this).S;
|
|
1607
1607
|
if (e instanceof R) {
|
|
1608
1608
|
if (H(this, e, this.J)) {
|
|
1609
1609
|
var a = Xe(t);
|
|
1610
1610
|
if (t === "length" || !isNaN(a) && a < String(e).length) {
|
|
1611
|
-
o &&
|
|
1611
|
+
o && w(this, this.j, "Cannot assign to read only property '" + t + "' of String '" + e.data + "'");
|
|
1612
1612
|
return;
|
|
1613
1613
|
}
|
|
1614
1614
|
}
|
|
@@ -1619,7 +1619,7 @@ N.g = function(e, t, n, r) {
|
|
|
1619
1619
|
return;
|
|
1620
1620
|
n = r.value;
|
|
1621
1621
|
}
|
|
1622
|
-
if (n = Jt(n), isNaN(n) &&
|
|
1622
|
+
if (n = Jt(n), isNaN(n) && w(this, this.ob, "Invalid array length"), n < a)
|
|
1623
1623
|
for (s in e.h) {
|
|
1624
1624
|
var s = Xe(s);
|
|
1625
1625
|
!isNaN(s) && n <= s && delete e.h[s];
|
|
@@ -1632,7 +1632,7 @@ N.g = function(e, t, n, r) {
|
|
|
1632
1632
|
try {
|
|
1633
1633
|
Object.defineProperty(e.h, t, o);
|
|
1634
1634
|
} catch {
|
|
1635
|
-
|
|
1635
|
+
w(this, this.j, "Cannot redefine property: " + t);
|
|
1636
1636
|
}
|
|
1637
1637
|
"get" in r && !r.get && delete e.V[t], "set" in r && !r.set && delete e.Y[t];
|
|
1638
1638
|
} else {
|
|
@@ -1646,18 +1646,18 @@ N.g = function(e, t, n, r) {
|
|
|
1646
1646
|
if (r.Y && r.Y[t])
|
|
1647
1647
|
return this.Ka = !0, r.Y[t];
|
|
1648
1648
|
if (r.V && r.V[t])
|
|
1649
|
-
o &&
|
|
1649
|
+
o && w(this, this.j, "Cannot set property '" + t + "' of object '" + e + "' which only has a getter");
|
|
1650
1650
|
else
|
|
1651
1651
|
try {
|
|
1652
1652
|
e.h[t] = n;
|
|
1653
1653
|
} catch {
|
|
1654
|
-
o &&
|
|
1654
|
+
o && w(this, this.j, "Cannot assign to read only property '" + t + "' of object '" + e + "'");
|
|
1655
1655
|
}
|
|
1656
1656
|
}
|
|
1657
1657
|
else
|
|
1658
|
-
o &&
|
|
1658
|
+
o && w(this, this.j, "Can't add property '" + t + "', object is not extensible");
|
|
1659
1659
|
} else
|
|
1660
|
-
o &&
|
|
1660
|
+
o && w(this, this.j, "Can't create property '" + t + "' on '" + e + "'");
|
|
1661
1661
|
};
|
|
1662
1662
|
N.g.ac = function() {
|
|
1663
1663
|
throw Error("Placeholder getter");
|
|
@@ -1684,12 +1684,12 @@ function $t(e, t, n) {
|
|
|
1684
1684
|
var o = t.body && t.body[0];
|
|
1685
1685
|
o && o.la && o.la.type === "Literal" && o.la.value === "use strict" && (r = !0);
|
|
1686
1686
|
}
|
|
1687
|
-
return o = e.s(null), r = new
|
|
1687
|
+
return o = e.s(null), r = new dr(n, r, o), n || xo(e, r.object), Je(e, t, r), r;
|
|
1688
1688
|
}
|
|
1689
1689
|
function en(e, t, n) {
|
|
1690
1690
|
if (!t)
|
|
1691
1691
|
throw Error("parentScope required");
|
|
1692
|
-
return e = n || e.s(null), new
|
|
1692
|
+
return e = n || e.s(null), new dr(t, t.S, e);
|
|
1693
1693
|
}
|
|
1694
1694
|
function tn(e, t) {
|
|
1695
1695
|
for (var n = Qt(e); n && n !== e.N; ) {
|
|
@@ -1699,15 +1699,15 @@ function tn(e, t) {
|
|
|
1699
1699
|
}
|
|
1700
1700
|
if (n === e.N && ft(e, n.object, t))
|
|
1701
1701
|
return e.G(n.object, t);
|
|
1702
|
-
n = e.o[e.o.length - 1].node, n.type === "UnaryExpression" && n.operator === "typeof" ||
|
|
1702
|
+
n = e.o[e.o.length - 1].node, n.type === "UnaryExpression" && n.operator === "typeof" || w(e, e.pb, t + " is not defined");
|
|
1703
1703
|
}
|
|
1704
|
-
function
|
|
1704
|
+
function fr(e, t, n) {
|
|
1705
1705
|
for (var r = Qt(e), o = r.S; r && r !== e.N; ) {
|
|
1706
1706
|
if (t in r.object.h) {
|
|
1707
1707
|
try {
|
|
1708
1708
|
r.object.h[t] = n;
|
|
1709
1709
|
} catch {
|
|
1710
|
-
o &&
|
|
1710
|
+
o && w(e, e.j, "Cannot assign to read only variable '" + t + "'");
|
|
1711
1711
|
}
|
|
1712
1712
|
return;
|
|
1713
1713
|
}
|
|
@@ -1715,7 +1715,7 @@ function dr(e, t, n) {
|
|
|
1715
1715
|
}
|
|
1716
1716
|
if (r === e.N && (!o || ft(e, r.object, t)))
|
|
1717
1717
|
return e.g(r.object, t, n);
|
|
1718
|
-
|
|
1718
|
+
w(e, e.pb, t + " is not defined");
|
|
1719
1719
|
}
|
|
1720
1720
|
function Je(e, t, n) {
|
|
1721
1721
|
if (t.jb)
|
|
@@ -1763,7 +1763,7 @@ function Je(e, t, n) {
|
|
|
1763
1763
|
t.jb = r;
|
|
1764
1764
|
}
|
|
1765
1765
|
for (s in r)
|
|
1766
|
-
r[s] === !0 ? e.g(n.object, s, void 0,
|
|
1766
|
+
r[s] === !0 ? e.g(n.object, s, void 0, Wn) : e.g(n.object, s, Zt(e, r[s], n), Wn);
|
|
1767
1767
|
return r;
|
|
1768
1768
|
}
|
|
1769
1769
|
function ue(e) {
|
|
@@ -1773,10 +1773,10 @@ function nn(e, t) {
|
|
|
1773
1773
|
return t[0] === Pe ? tn(e, t[1]) : e.G(t[0], t[1]);
|
|
1774
1774
|
}
|
|
1775
1775
|
function rn(e, t, n) {
|
|
1776
|
-
return t[0] === Pe ?
|
|
1776
|
+
return t[0] === Pe ? fr(e, t[1], n) : e.g(t[0], t[1], n);
|
|
1777
1777
|
}
|
|
1778
|
-
function
|
|
1779
|
-
throw e.N ? (n !== void 0 && t instanceof R && (t = e.Aa(t), Wt(e, t, n)), ze(e, 4, t),
|
|
1778
|
+
function w(e, t, n) {
|
|
1779
|
+
throw e.N ? (n !== void 0 && t instanceof R && (t = e.Aa(t), Wt(e, t, n)), ze(e, 4, t), cr) : n === void 0 ? t : n;
|
|
1780
1780
|
}
|
|
1781
1781
|
function ze(e, t, n, r) {
|
|
1782
1782
|
if (t === 0)
|
|
@@ -1854,7 +1854,7 @@ function Y(e, t) {
|
|
|
1854
1854
|
}
|
|
1855
1855
|
return "???";
|
|
1856
1856
|
}
|
|
1857
|
-
function
|
|
1857
|
+
function Hn(e, t, n) {
|
|
1858
1858
|
var r = e.o[e.o.length - 1], o = Array.from(n), a = o.shift();
|
|
1859
1859
|
n = Math.max(Number(o.shift() || 0), 0);
|
|
1860
1860
|
var s = e.ya();
|
|
@@ -1864,19 +1864,19 @@ function Gn(e, t, n) {
|
|
|
1864
1864
|
} else {
|
|
1865
1865
|
try {
|
|
1866
1866
|
var d = je(String(a), "taskCode" + e.ic++);
|
|
1867
|
-
} catch (
|
|
1868
|
-
|
|
1867
|
+
} catch (S) {
|
|
1868
|
+
w(e, e.T, "Invalid code: " + S.message);
|
|
1869
1869
|
}
|
|
1870
1870
|
s.type = "EvalProgram_", s.body = d.body, r = r.node.arguments[0], ut(s, r ? r.start : void 0, r ? r.end : void 0), r = e.N, o.length = 0;
|
|
1871
1871
|
}
|
|
1872
|
-
return t = new
|
|
1872
|
+
return t = new No(u, o, r, s, t ? n : -1), pr(e, t, n), t.Db;
|
|
1873
1873
|
}
|
|
1874
|
-
function
|
|
1874
|
+
function pr(e, t, n) {
|
|
1875
1875
|
t.time = Date.now() + n, e.ca.push(t), e.ca.sort(function(r, o) {
|
|
1876
1876
|
return r.time - o.time;
|
|
1877
1877
|
});
|
|
1878
1878
|
}
|
|
1879
|
-
function
|
|
1879
|
+
function Kn(e, t) {
|
|
1880
1880
|
for (var n = 0; n < e.ca.length; n++)
|
|
1881
1881
|
if (e.ca[n].Db == t) {
|
|
1882
1882
|
e.ca.splice(n, 1);
|
|
@@ -1897,7 +1897,7 @@ function on(e, t, n, r) {
|
|
|
1897
1897
|
var o = e.ya();
|
|
1898
1898
|
return o.type = "CallExpression", e = new v(o, e.o[e.o.length - 1].scope), e.ia = 2, e.B = n, e.U = t, e.Qa = !0, e.F = [r], e;
|
|
1899
1899
|
}
|
|
1900
|
-
function
|
|
1900
|
+
function _t(e, t) {
|
|
1901
1901
|
return t == null ? e.Na : t instanceof R ? t : (e = e.s(ce(e, t)), e.data = t, e);
|
|
1902
1902
|
}
|
|
1903
1903
|
N.Xb = function() {
|
|
@@ -1912,7 +1912,7 @@ N.ec = function(e) {
|
|
|
1912
1912
|
function v(e, t) {
|
|
1913
1913
|
this.node = e, this.scope = t;
|
|
1914
1914
|
}
|
|
1915
|
-
function
|
|
1915
|
+
function dr(e, t, n) {
|
|
1916
1916
|
this.Va = e, this.S = t, this.object = n;
|
|
1917
1917
|
}
|
|
1918
1918
|
function R(e) {
|
|
@@ -1928,7 +1928,7 @@ N.toString = function() {
|
|
|
1928
1928
|
if (!(this instanceof R))
|
|
1929
1929
|
return String(this);
|
|
1930
1930
|
if (this.H === "Array") {
|
|
1931
|
-
var e =
|
|
1931
|
+
var e = $n;
|
|
1932
1932
|
e.push(this);
|
|
1933
1933
|
try {
|
|
1934
1934
|
var t = [], n = this.h.length, r = !1;
|
|
@@ -1944,7 +1944,7 @@ N.toString = function() {
|
|
|
1944
1944
|
return t.join(",");
|
|
1945
1945
|
}
|
|
1946
1946
|
if (this.H === "Error") {
|
|
1947
|
-
if (e =
|
|
1947
|
+
if (e = $n, e.indexOf(this) !== -1)
|
|
1948
1948
|
return "[object Error]";
|
|
1949
1949
|
n = this;
|
|
1950
1950
|
do
|
|
@@ -1973,7 +1973,7 @@ N.toString = function() {
|
|
|
1973
1973
|
N.valueOf = function() {
|
|
1974
1974
|
return !Ge || this.data === void 0 || this.data === null || this.data instanceof RegExp ? this : this.data instanceof Date ? this.data.valueOf() : this.data;
|
|
1975
1975
|
};
|
|
1976
|
-
function
|
|
1976
|
+
function No(e, t, n, r, o) {
|
|
1977
1977
|
this.zb = e, this.Lb = t, this.scope = n, this.node = r, this.interval = o, this.Db = ++Bo, this.time = 0;
|
|
1978
1978
|
}
|
|
1979
1979
|
var Bo = 0;
|
|
@@ -2107,10 +2107,10 @@ h.prototype.stepBinaryExpression = function(e, t, n) {
|
|
|
2107
2107
|
n = r >>> t;
|
|
2108
2108
|
break;
|
|
2109
2109
|
case "in":
|
|
2110
|
-
t instanceof R ||
|
|
2110
|
+
t instanceof R || w(this, this.j, "'in' expects an object, not '" + t + "'"), n = ft(this, t, r);
|
|
2111
2111
|
break;
|
|
2112
2112
|
case "instanceof":
|
|
2113
|
-
H(this, t, this.O) ||
|
|
2113
|
+
H(this, t, this.O) || w(this, this.j, "'instanceof' expects an object, not '" + t + "'"), n = r instanceof R ? H(this, r, t) : !1;
|
|
2114
2114
|
break;
|
|
2115
2115
|
default:
|
|
2116
2116
|
throw SyntaxError("Unknown binary operator: " + n.operator);
|
|
@@ -2147,7 +2147,7 @@ h.prototype.stepCallExpression = function(e, t, n) {
|
|
|
2147
2147
|
if (t.A !== 0 && t.F.push(t.value), n.arguments[t.A])
|
|
2148
2148
|
return new v(n.arguments[t.A++], t.scope);
|
|
2149
2149
|
if (n.type === "NewExpression") {
|
|
2150
|
-
if (o instanceof R && !o.Ab ||
|
|
2150
|
+
if (o instanceof R && !o.Ab || w(this, this.j, Y(this, n.callee) + " is not a constructor"), o === this.qa)
|
|
2151
2151
|
t.B = Re(this);
|
|
2152
2152
|
else {
|
|
2153
2153
|
var a = o.h.prototype;
|
|
@@ -2160,12 +2160,12 @@ h.prototype.stepCallExpression = function(e, t, n) {
|
|
|
2160
2160
|
if (t.eb)
|
|
2161
2161
|
e.pop(), e[e.length - 1].value = t.isConstructor && typeof t.value != "object" ? t.B : t.value;
|
|
2162
2162
|
else {
|
|
2163
|
-
if (t.eb = !0, o instanceof R ||
|
|
2163
|
+
if (t.eb = !0, o instanceof R || w(this, this.j, Y(this, n.callee) + " is not a function"), e = o.node) {
|
|
2164
2164
|
for (n = $t(this, e.body, o.Va), r = Re(this), o = 0; o < t.F.length; o++)
|
|
2165
2165
|
this.g(r, o, t.F[o]);
|
|
2166
2166
|
for (this.g(n.object, "arguments", r), o = 0; o < e.oa.length; o++)
|
|
2167
2167
|
this.g(n.object, e.oa[o].name, t.F.length > o ? t.F[o] : void 0);
|
|
2168
|
-
return n.S || (t.B =
|
|
2168
|
+
return n.S || (t.B = _t(this, t.B)), this.g(n.object, "this", t.B, Yt), t.value = void 0, new v(e.body, n);
|
|
2169
2169
|
}
|
|
2170
2170
|
if (o.eval)
|
|
2171
2171
|
if (o = t.F[0], typeof o != "string")
|
|
@@ -2174,19 +2174,19 @@ h.prototype.stepCallExpression = function(e, t, n) {
|
|
|
2174
2174
|
try {
|
|
2175
2175
|
r = je(String(o), "eval" + this.Hb++);
|
|
2176
2176
|
} catch (u) {
|
|
2177
|
-
|
|
2177
|
+
w(this, this.T, "Invalid code: " + u.message);
|
|
2178
2178
|
}
|
|
2179
2179
|
return o = this.ya(), o.type = "EvalProgram_", o.body = r.body, ut(o, n.start, n.end), n = t.Pb ? t.scope : this.N, n.S ? n = $t(this, r, n) : Je(this, r, n), this.value = void 0, new v(o, n);
|
|
2180
2180
|
}
|
|
2181
2181
|
else if (o.Ta)
|
|
2182
|
-
t.scope.S || (t.B =
|
|
2182
|
+
t.scope.S || (t.B = _t(this, t.B)), t.value = o.Ta.apply(t.B, t.F);
|
|
2183
2183
|
else if (o.Za) {
|
|
2184
2184
|
var s = this;
|
|
2185
2185
|
r = o.Za.length - 1, r = t.F.concat(Array(r)).slice(0, r), r.push(function(u) {
|
|
2186
2186
|
t.value = u, s.za = !1;
|
|
2187
|
-
}), this.za = !0, t.scope.S || (t.B =
|
|
2187
|
+
}), this.za = !0, t.scope.S || (t.B = _t(this, t.B)), o.Za.apply(t.B, r);
|
|
2188
2188
|
} else
|
|
2189
|
-
|
|
2189
|
+
w(this, this.j, Y(this, n.callee) + " is not callable");
|
|
2190
2190
|
}
|
|
2191
2191
|
};
|
|
2192
2192
|
h.prototype.stepConditionalExpression = function(e, t, n) {
|
|
@@ -2232,7 +2232,7 @@ h.prototype.stepExpressionStatement = function(e, t, n) {
|
|
|
2232
2232
|
};
|
|
2233
2233
|
h.prototype.stepForInStatement = function(e, t, n) {
|
|
2234
2234
|
if (!t.Ub && (t.Ub = !0, n.left.fa && n.left.fa[0].ua))
|
|
2235
|
-
return t.scope.S &&
|
|
2235
|
+
return t.scope.S && w(this, this.T, "for-in loop variable declaration may not have an initializer"), new v(n.left, t.scope);
|
|
2236
2236
|
if (!t.Ca)
|
|
2237
2237
|
return t.Ca = !0, t.pa || (t.pa = t.value), new v(n.right, t.scope);
|
|
2238
2238
|
if (t.W || (t.W = !0, t.u = t.value, t.kb = /* @__PURE__ */ Object.create(null)), t.Ra === void 0)
|
|
@@ -2418,7 +2418,7 @@ h.prototype.stepThisExpression = function(e) {
|
|
|
2418
2418
|
};
|
|
2419
2419
|
h.prototype.stepThrowStatement = function(e, t, n) {
|
|
2420
2420
|
if (t.ka)
|
|
2421
|
-
|
|
2421
|
+
w(this, t.value);
|
|
2422
2422
|
else
|
|
2423
2423
|
return t.ka = !0, new v(n.K, t.scope);
|
|
2424
2424
|
};
|
|
@@ -2456,7 +2456,7 @@ h.prototype.stepUnaryExpression = function(e, t, n) {
|
|
|
2456
2456
|
try {
|
|
2457
2457
|
delete o.h[r];
|
|
2458
2458
|
} catch {
|
|
2459
|
-
t.scope.S ?
|
|
2459
|
+
t.scope.S ? w(this, this.j, "Cannot delete property '" + r + "' of '" + o + "'") : n = !1;
|
|
2460
2460
|
}
|
|
2461
2461
|
}
|
|
2462
2462
|
r = n;
|
|
@@ -2497,7 +2497,7 @@ h.prototype.stepUpdateExpression = function(e, t, n) {
|
|
|
2497
2497
|
h.prototype.stepVariableDeclaration = function(e, t, n) {
|
|
2498
2498
|
n = n.fa;
|
|
2499
2499
|
var r = t.A || 0, o = n[r];
|
|
2500
|
-
for (t.Bb && o && (
|
|
2500
|
+
for (t.Bb && o && (fr(this, o.id.name, t.value), t.Bb = !1, o = n[++r]); o; ) {
|
|
2501
2501
|
if (o.ua)
|
|
2502
2502
|
return t.A = r, t.Bb = !0, t.Pa = o.id.name, new v(o.ua, t.scope);
|
|
2503
2503
|
o = n[++r];
|
|
@@ -2508,7 +2508,7 @@ h.prototype.stepWithStatement = function(e, t, n) {
|
|
|
2508
2508
|
return t.Ca ? (e.pop(), e = en(this, t.scope, t.value), new v(n.body, e)) : (t.Ca = !0, new v(n.object, t.scope));
|
|
2509
2509
|
};
|
|
2510
2510
|
h.prototype.stepWhileStatement = h.prototype.stepDoWhileStatement;
|
|
2511
|
-
|
|
2511
|
+
ye.Interpreter = h;
|
|
2512
2512
|
h.prototype.step = h.prototype.lb;
|
|
2513
2513
|
h.prototype.run = h.prototype.Eb;
|
|
2514
2514
|
h.prototype.appendCode = h.prototype.Jb;
|
|
@@ -2524,7 +2524,7 @@ h.prototype.getGlobalScope = h.prototype.Xb;
|
|
|
2524
2524
|
h.prototype.getStateStack = h.prototype.Yb;
|
|
2525
2525
|
h.prototype.setStateStack = h.prototype.ec;
|
|
2526
2526
|
h.VALUE_IN_DESCRIPTOR = Ye;
|
|
2527
|
-
const
|
|
2527
|
+
const Mo = (e) => e.split(`
|
|
2528
2528
|
`).map((t) => {
|
|
2529
2529
|
const n = t.trim();
|
|
2530
2530
|
if (t.includes("__awaiter"))
|
|
@@ -2537,7 +2537,7 @@ const Uo = (e) => e.split(`
|
|
|
2537
2537
|
${u}
|
|
2538
2538
|
`;
|
|
2539
2539
|
}).filter(Boolean).join(`
|
|
2540
|
-
`),
|
|
2540
|
+
`), Gn = (e) => e + "JSON", Uo = ({
|
|
2541
2541
|
builder: e,
|
|
2542
2542
|
context: t,
|
|
2543
2543
|
event: n,
|
|
@@ -2549,46 +2549,46 @@ const Uo = (e) => e.split(`
|
|
|
2549
2549
|
const u = {
|
|
2550
2550
|
...r,
|
|
2551
2551
|
...o
|
|
2552
|
-
}, d =
|
|
2552
|
+
}, d = sr({
|
|
2553
2553
|
builder: e,
|
|
2554
2554
|
context: t,
|
|
2555
2555
|
event: n,
|
|
2556
2556
|
state: u
|
|
2557
|
-
}),
|
|
2558
|
-
const
|
|
2559
|
-
return `var ${
|
|
2557
|
+
}), S = d.map(([k]) => {
|
|
2558
|
+
const x = Gn(k);
|
|
2559
|
+
return `var ${k} = ${x} === undefined ? undefined : JSON.parse(${x});`;
|
|
2560
2560
|
}).join(`
|
|
2561
|
-
`),
|
|
2562
|
-
if (
|
|
2561
|
+
`), C = Mo(s);
|
|
2562
|
+
if (C === "") {
|
|
2563
2563
|
q.warn("Skipping evaluation of empty code block.");
|
|
2564
2564
|
return;
|
|
2565
2565
|
}
|
|
2566
|
-
const
|
|
2566
|
+
const b = `
|
|
2567
2567
|
function theFunction() {
|
|
2568
|
-
${k}
|
|
2569
|
-
|
|
2570
2568
|
${S}
|
|
2569
|
+
|
|
2570
|
+
${C}
|
|
2571
2571
|
}
|
|
2572
2572
|
theFunction();
|
|
2573
|
-
`, P = (
|
|
2574
|
-
const
|
|
2575
|
-
a == null || a(
|
|
2576
|
-
}, j = function(
|
|
2577
|
-
d.forEach(([
|
|
2573
|
+
`, P = (k, x) => {
|
|
2574
|
+
const B = lr(u, k, x);
|
|
2575
|
+
a == null || a(B);
|
|
2576
|
+
}, j = function(k, x) {
|
|
2577
|
+
d.forEach(([B, $]) => {
|
|
2578
2578
|
const g = JSON.stringify($);
|
|
2579
|
-
|
|
2580
|
-
}),
|
|
2579
|
+
k.setProperty(x, Gn(B), g);
|
|
2580
|
+
}), k.setProperty(x, "setRootState", k.createNativeFunction(P));
|
|
2581
2581
|
};
|
|
2582
2582
|
try {
|
|
2583
|
-
const
|
|
2584
|
-
return
|
|
2585
|
-
} catch (
|
|
2583
|
+
const k = new h(b, j);
|
|
2584
|
+
return k.run(), k.pseudoToNative(k.value);
|
|
2585
|
+
} catch (k) {
|
|
2586
2586
|
q.warn("Custom code error in edge runtime. NOTE: your code must be ES5 JavaScript.", {
|
|
2587
|
-
e:
|
|
2587
|
+
e: k
|
|
2588
2588
|
});
|
|
2589
2589
|
return;
|
|
2590
2590
|
}
|
|
2591
|
-
},
|
|
2591
|
+
}, Fo = (e) => G() ? yo(e) : Uo(e);
|
|
2592
2592
|
function an({
|
|
2593
2593
|
code: e,
|
|
2594
2594
|
context: t,
|
|
@@ -2603,10 +2603,10 @@ function an({
|
|
|
2603
2603
|
return;
|
|
2604
2604
|
}
|
|
2605
2605
|
const u = {
|
|
2606
|
-
code:
|
|
2606
|
+
code: go(e, {
|
|
2607
2607
|
isExpression: s
|
|
2608
2608
|
}),
|
|
2609
|
-
builder:
|
|
2609
|
+
builder: mo(),
|
|
2610
2610
|
context: t,
|
|
2611
2611
|
event: a,
|
|
2612
2612
|
rootSetState: o,
|
|
@@ -2614,7 +2614,7 @@ function an({
|
|
|
2614
2614
|
localState: n
|
|
2615
2615
|
};
|
|
2616
2616
|
try {
|
|
2617
|
-
return
|
|
2617
|
+
return Fo(u);
|
|
2618
2618
|
} catch (d) {
|
|
2619
2619
|
q.error("Failed code evaluation: " + d.message, {
|
|
2620
2620
|
code: e
|
|
@@ -2623,7 +2623,7 @@ function an({
|
|
|
2623
2623
|
}
|
|
2624
2624
|
}
|
|
2625
2625
|
const pt = (e) => JSON.parse(JSON.stringify(e));
|
|
2626
|
-
const
|
|
2626
|
+
const Vo = ({
|
|
2627
2627
|
block: e,
|
|
2628
2628
|
context: t,
|
|
2629
2629
|
localState: n,
|
|
@@ -2642,14 +2642,14 @@ const _o = ({
|
|
|
2642
2642
|
}
|
|
2643
2643
|
};
|
|
2644
2644
|
for (const u in e.bindings) {
|
|
2645
|
-
const d = e.bindings[u],
|
|
2645
|
+
const d = e.bindings[u], S = an({
|
|
2646
2646
|
code: d,
|
|
2647
2647
|
localState: n,
|
|
2648
2648
|
rootState: r,
|
|
2649
2649
|
rootSetState: o,
|
|
2650
2650
|
context: t
|
|
2651
2651
|
});
|
|
2652
|
-
|
|
2652
|
+
lr(s, u, S);
|
|
2653
2653
|
}
|
|
2654
2654
|
return s;
|
|
2655
2655
|
};
|
|
@@ -2662,7 +2662,7 @@ function ct({
|
|
|
2662
2662
|
rootSetState: a
|
|
2663
2663
|
}) {
|
|
2664
2664
|
const s = e;
|
|
2665
|
-
return n ?
|
|
2665
|
+
return n ? Vo({
|
|
2666
2666
|
block: s,
|
|
2667
2667
|
localState: r,
|
|
2668
2668
|
rootState: o,
|
|
@@ -2670,7 +2670,7 @@ function ct({
|
|
|
2670
2670
|
context: t
|
|
2671
2671
|
}) : s;
|
|
2672
2672
|
}
|
|
2673
|
-
const
|
|
2673
|
+
const _o = ({
|
|
2674
2674
|
block: e,
|
|
2675
2675
|
context: t,
|
|
2676
2676
|
registeredComponents: n
|
|
@@ -2692,7 +2692,7 @@ const Do = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
|
|
|
2692
2692
|
console.warn(`
|
|
2693
2693
|
Could not find a registered component named "${r}".
|
|
2694
2694
|
If you registered it, is the file that registered it imported by the file that needs to render it?`);
|
|
2695
|
-
},
|
|
2695
|
+
}, Do = ({
|
|
2696
2696
|
block: e,
|
|
2697
2697
|
context: t
|
|
2698
2698
|
}) => {
|
|
@@ -2712,20 +2712,20 @@ const Do = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
|
|
|
2712
2712
|
if (!Array.isArray(o))
|
|
2713
2713
|
return;
|
|
2714
2714
|
const a = n.collection.split(".").pop(), s = n.itemName || (a ? a + "Item" : "item");
|
|
2715
|
-
return o.map((d,
|
|
2715
|
+
return o.map((d, S) => ({
|
|
2716
2716
|
context: {
|
|
2717
2717
|
...t,
|
|
2718
2718
|
localState: {
|
|
2719
2719
|
...t.localState,
|
|
2720
|
-
$index:
|
|
2720
|
+
$index: S,
|
|
2721
2721
|
$item: d,
|
|
2722
2722
|
[s]: d,
|
|
2723
|
-
[`$${s}Index`]:
|
|
2723
|
+
[`$${s}Index`]: S
|
|
2724
2724
|
}
|
|
2725
2725
|
},
|
|
2726
2726
|
block: r
|
|
2727
2727
|
}));
|
|
2728
|
-
},
|
|
2728
|
+
}, hr = {
|
|
2729
2729
|
small: {
|
|
2730
2730
|
min: 320,
|
|
2731
2731
|
default: 321,
|
|
@@ -2741,11 +2741,11 @@ const Do = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
|
|
|
2741
2741
|
default: 991,
|
|
2742
2742
|
max: 1200
|
|
2743
2743
|
}
|
|
2744
|
-
},
|
|
2744
|
+
}, Xn = (e, t = hr) => `@media (max-width: ${t[e].max}px)`, mr = ({
|
|
2745
2745
|
small: e,
|
|
2746
2746
|
medium: t
|
|
2747
2747
|
}) => {
|
|
2748
|
-
const n = pt(
|
|
2748
|
+
const n = pt(hr);
|
|
2749
2749
|
if (!e || !t)
|
|
2750
2750
|
return n;
|
|
2751
2751
|
const r = Math.floor(e / 2);
|
|
@@ -2767,17 +2767,17 @@ const Do = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
|
|
|
2767
2767
|
min: a,
|
|
2768
2768
|
default: a + 1
|
|
2769
2769
|
}, n;
|
|
2770
|
-
},
|
|
2770
|
+
}, Lo = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), fe = (e) => e != null, gr = (e) => Object.entries(e).map(([n, r]) => {
|
|
2771
2771
|
if (typeof r == "string")
|
|
2772
|
-
return `${
|
|
2773
|
-
}).filter(fe),
|
|
2772
|
+
return `${Lo(n)}: ${r};`;
|
|
2773
|
+
}).filter(fe), Wo = (e) => gr(e).join(`
|
|
2774
2774
|
`), Dt = ({
|
|
2775
2775
|
mediaQuery: e,
|
|
2776
2776
|
className: t,
|
|
2777
2777
|
styles: n
|
|
2778
2778
|
}) => {
|
|
2779
2779
|
const r = `.${t} {
|
|
2780
|
-
${
|
|
2780
|
+
${Wo(n)}
|
|
2781
2781
|
}`;
|
|
2782
2782
|
return e ? `${e} {
|
|
2783
2783
|
${r}
|
|
@@ -2786,7 +2786,7 @@ const Do = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
|
|
|
2786
2786
|
function dt(e) {
|
|
2787
2787
|
return /* @__PURE__ */ E("style", { dangerouslySetInnerHTML: { __html: e.styles }, id: e.id });
|
|
2788
2788
|
}
|
|
2789
|
-
function
|
|
2789
|
+
function $o(e) {
|
|
2790
2790
|
const t = function() {
|
|
2791
2791
|
const o = ct({
|
|
2792
2792
|
block: e.block,
|
|
@@ -2798,7 +2798,7 @@ function Ko(e) {
|
|
|
2798
2798
|
});
|
|
2799
2799
|
return fe(o.hide) ? !o.hide : fe(o.show) ? o.show : !0;
|
|
2800
2800
|
}, n = function() {
|
|
2801
|
-
var
|
|
2801
|
+
var x;
|
|
2802
2802
|
const o = ct({
|
|
2803
2803
|
block: e.block,
|
|
2804
2804
|
localState: e.context.localState,
|
|
@@ -2806,37 +2806,37 @@ function Ko(e) {
|
|
|
2806
2806
|
rootSetState: e.context.rootSetState,
|
|
2807
2807
|
context: e.context.context,
|
|
2808
2808
|
shouldEvaluateBindings: !0
|
|
2809
|
-
}), a = o.responsiveStyles, s = e.context.content, u =
|
|
2810
|
-
((
|
|
2811
|
-
), d = a == null ? void 0 : a.large,
|
|
2812
|
-
if (!
|
|
2809
|
+
}), a = o.responsiveStyles, s = e.context.content, u = mr(
|
|
2810
|
+
((x = s == null ? void 0 : s.meta) == null ? void 0 : x.breakpoints) || {}
|
|
2811
|
+
), d = a == null ? void 0 : a.large, S = a == null ? void 0 : a.medium, C = a == null ? void 0 : a.small, b = o.id;
|
|
2812
|
+
if (!b)
|
|
2813
2813
|
return "";
|
|
2814
2814
|
const P = d ? Dt({
|
|
2815
|
-
className:
|
|
2815
|
+
className: b,
|
|
2816
2816
|
styles: d
|
|
2817
|
-
}) : "", j =
|
|
2818
|
-
className:
|
|
2819
|
-
styles:
|
|
2820
|
-
mediaQuery:
|
|
2817
|
+
}) : "", j = S ? Dt({
|
|
2818
|
+
className: b,
|
|
2819
|
+
styles: S,
|
|
2820
|
+
mediaQuery: Xn(
|
|
2821
2821
|
"medium",
|
|
2822
2822
|
u
|
|
2823
2823
|
)
|
|
2824
|
-
}) : "",
|
|
2825
|
-
className:
|
|
2826
|
-
styles:
|
|
2827
|
-
mediaQuery:
|
|
2824
|
+
}) : "", k = C ? Dt({
|
|
2825
|
+
className: b,
|
|
2826
|
+
styles: C,
|
|
2827
|
+
mediaQuery: Xn(
|
|
2828
2828
|
"small",
|
|
2829
2829
|
u
|
|
2830
2830
|
)
|
|
2831
2831
|
}) : "";
|
|
2832
|
-
return [P, j,
|
|
2832
|
+
return [P, j, k].join(" ");
|
|
2833
2833
|
};
|
|
2834
|
-
return /* @__PURE__ */ E(
|
|
2834
|
+
return /* @__PURE__ */ E(L, { children: n() && t() ? /* @__PURE__ */ E(L, { children: /* @__PURE__ */ E(dt, { styles: n() }) }) : null });
|
|
2835
2835
|
}
|
|
2836
|
-
function
|
|
2836
|
+
function Ho(e) {
|
|
2837
2837
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
2838
2838
|
}
|
|
2839
|
-
const
|
|
2839
|
+
const Ko = (e) => `on${Ho(e)}`, Go = (e, t) => (n) => an({
|
|
2840
2840
|
code: e,
|
|
2841
2841
|
context: t.context,
|
|
2842
2842
|
localState: t.localState,
|
|
@@ -2845,15 +2845,15 @@ const Xo = (e) => `on${Go(e)}`, Yo = (e, t) => (n) => an({
|
|
|
2845
2845
|
event: n,
|
|
2846
2846
|
isExpression: !1
|
|
2847
2847
|
});
|
|
2848
|
-
function
|
|
2848
|
+
function Aa(e) {
|
|
2849
2849
|
const t = {}, n = e.block.actions ?? {};
|
|
2850
2850
|
for (const r in n) {
|
|
2851
2851
|
if (!n.hasOwnProperty(r))
|
|
2852
2852
|
continue;
|
|
2853
2853
|
const o = n[r];
|
|
2854
|
-
let a =
|
|
2854
|
+
let a = Ko(r);
|
|
2855
2855
|
if (e.stripPrefix)
|
|
2856
|
-
switch (
|
|
2856
|
+
switch (ve) {
|
|
2857
2857
|
case "vue":
|
|
2858
2858
|
a = a.replace("v-on:", "");
|
|
2859
2859
|
break;
|
|
@@ -2861,42 +2861,42 @@ function Ea(e) {
|
|
|
2861
2861
|
a = a.replace("on:", "");
|
|
2862
2862
|
break;
|
|
2863
2863
|
}
|
|
2864
|
-
t[a] =
|
|
2864
|
+
t[a] = Go(o, e);
|
|
2865
2865
|
}
|
|
2866
2866
|
return t;
|
|
2867
2867
|
}
|
|
2868
|
-
function
|
|
2868
|
+
function Xo({
|
|
2869
2869
|
properties: e
|
|
2870
2870
|
}) {
|
|
2871
2871
|
return e.className = e.class, delete e.class, e;
|
|
2872
2872
|
}
|
|
2873
|
-
const
|
|
2873
|
+
const Yo = (e) => ({
|
|
2874
2874
|
href: e.href
|
|
2875
2875
|
});
|
|
2876
|
-
function
|
|
2876
|
+
function Jo({
|
|
2877
2877
|
block: e,
|
|
2878
2878
|
context: t
|
|
2879
2879
|
}) {
|
|
2880
2880
|
var r;
|
|
2881
2881
|
const n = {
|
|
2882
|
-
...
|
|
2882
|
+
...Yo(e),
|
|
2883
2883
|
...e.properties,
|
|
2884
2884
|
"builder-id": e.id,
|
|
2885
|
-
style: e.style ?
|
|
2885
|
+
style: e.style ? zo(e.style) : void 0,
|
|
2886
2886
|
class: [e.id, "builder-block", e.class, (r = e.properties) == null ? void 0 : r.class].filter(Boolean).join(" ")
|
|
2887
2887
|
};
|
|
2888
|
-
return
|
|
2888
|
+
return Xo({
|
|
2889
2889
|
properties: n,
|
|
2890
2890
|
context: t,
|
|
2891
2891
|
block: e
|
|
2892
2892
|
});
|
|
2893
2893
|
}
|
|
2894
|
-
function
|
|
2895
|
-
switch (
|
|
2894
|
+
function zo(e) {
|
|
2895
|
+
switch (ve) {
|
|
2896
2896
|
case "svelte":
|
|
2897
2897
|
case "vue":
|
|
2898
2898
|
case "solid":
|
|
2899
|
-
return
|
|
2899
|
+
return gr(e).join(" ");
|
|
2900
2900
|
case "qwik":
|
|
2901
2901
|
case "reactNative":
|
|
2902
2902
|
case "react":
|
|
@@ -2904,7 +2904,7 @@ function Zo(e) {
|
|
|
2904
2904
|
return e;
|
|
2905
2905
|
}
|
|
2906
2906
|
}
|
|
2907
|
-
const
|
|
2907
|
+
const qo = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), Oa = (e) => typeof e == "string" && qo.has(e.toLowerCase()), Zo = ({
|
|
2908
2908
|
componentOptions: e,
|
|
2909
2909
|
builderBlock: t,
|
|
2910
2910
|
context: n,
|
|
@@ -2920,7 +2920,7 @@ const Qo = ({
|
|
|
2920
2920
|
* component itself directly. Otherwise, they are provided to the wrapper element.
|
|
2921
2921
|
*/
|
|
2922
2922
|
...o ? {
|
|
2923
|
-
attributes:
|
|
2923
|
+
attributes: Jo({
|
|
2924
2924
|
block: t,
|
|
2925
2925
|
context: s
|
|
2926
2926
|
})
|
|
@@ -2934,13 +2934,13 @@ const Qo = ({
|
|
|
2934
2934
|
includeBlockProps: o
|
|
2935
2935
|
} : u;
|
|
2936
2936
|
};
|
|
2937
|
-
function
|
|
2937
|
+
function Yn(e) {
|
|
2938
2938
|
var n;
|
|
2939
|
-
const t = e.isInteractive ?
|
|
2940
|
-
return /* @__PURE__ */ E(
|
|
2939
|
+
const t = e.isInteractive ? Zr : e.componentRef;
|
|
2940
|
+
return /* @__PURE__ */ E(L, { children: e.componentRef ? /* @__PURE__ */ E(L, { children: /* @__PURE__ */ E(
|
|
2941
2941
|
t,
|
|
2942
2942
|
{
|
|
2943
|
-
...
|
|
2943
|
+
...Zo({
|
|
2944
2944
|
componentOptions: e.componentOptions,
|
|
2945
2945
|
builderBlock: e.builderBlock,
|
|
2946
2946
|
context: e.context,
|
|
@@ -2961,7 +2961,7 @@ function zn(e) {
|
|
|
2961
2961
|
}
|
|
2962
2962
|
) }) : null });
|
|
2963
2963
|
}
|
|
2964
|
-
function
|
|
2964
|
+
function Qo(e) {
|
|
2965
2965
|
const t = e.repeatContext;
|
|
2966
2966
|
return /* @__PURE__ */ E(
|
|
2967
2967
|
ht,
|
|
@@ -2973,15 +2973,15 @@ function ei(e) {
|
|
|
2973
2973
|
);
|
|
2974
2974
|
}
|
|
2975
2975
|
function ht(e) {
|
|
2976
|
-
var
|
|
2976
|
+
var S, C, b;
|
|
2977
2977
|
const t = function() {
|
|
2978
|
-
return
|
|
2978
|
+
return _o({
|
|
2979
2979
|
block: e.block,
|
|
2980
2980
|
context: e.context,
|
|
2981
2981
|
registeredComponents: e.registeredComponents
|
|
2982
2982
|
});
|
|
2983
2983
|
}, n = function() {
|
|
2984
|
-
return
|
|
2984
|
+
return Do({
|
|
2985
2985
|
block: e.block,
|
|
2986
2986
|
context: e.context
|
|
2987
2987
|
});
|
|
@@ -2998,37 +2998,37 @@ function ht(e) {
|
|
|
2998
2998
|
}, o = function() {
|
|
2999
2999
|
return e.block.tagName || "div";
|
|
3000
3000
|
}, a = function() {
|
|
3001
|
-
var
|
|
3002
|
-
if ((
|
|
3003
|
-
return !!((
|
|
3001
|
+
var x, B;
|
|
3002
|
+
if ((x = e.block.repeat) != null && x.collection)
|
|
3003
|
+
return !!((B = n()) != null && B.length);
|
|
3004
3004
|
const j = "hide" in r() ? r().hide : !1;
|
|
3005
3005
|
return ("show" in r() ? r().show : !0) && !j;
|
|
3006
3006
|
}, s = function() {
|
|
3007
|
-
var
|
|
3008
|
-
return !((
|
|
3007
|
+
var k;
|
|
3008
|
+
return !((k = t()) != null && k.component) && !n() ? r().children ?? [] : [];
|
|
3009
3009
|
}, u = function() {
|
|
3010
|
-
var j,
|
|
3010
|
+
var j, k, x, B, $;
|
|
3011
3011
|
return {
|
|
3012
3012
|
blockChildren: r().children ?? [],
|
|
3013
3013
|
componentRef: (j = t()) == null ? void 0 : j.component,
|
|
3014
3014
|
componentOptions: {
|
|
3015
|
-
...
|
|
3015
|
+
...uo(r()),
|
|
3016
3016
|
builderContext: e.context,
|
|
3017
|
-
...((
|
|
3017
|
+
...((k = t()) == null ? void 0 : k.name) === "Symbol" || ((x = t()) == null ? void 0 : x.name) === "Columns" ? {
|
|
3018
3018
|
builderComponents: e.registeredComponents
|
|
3019
3019
|
} : {}
|
|
3020
3020
|
},
|
|
3021
3021
|
context: d,
|
|
3022
3022
|
registeredComponents: e.registeredComponents,
|
|
3023
3023
|
builderBlock: r(),
|
|
3024
|
-
includeBlockProps: ((
|
|
3024
|
+
includeBlockProps: ((B = t()) == null ? void 0 : B.noWrap) === !0,
|
|
3025
3025
|
isInteractive: !(($ = t()) != null && $.isRSC)
|
|
3026
3026
|
};
|
|
3027
3027
|
}, d = e.context;
|
|
3028
|
-
return /* @__PURE__ */ E(
|
|
3029
|
-
/* @__PURE__ */ E(
|
|
3030
|
-
(
|
|
3031
|
-
|
|
3028
|
+
return /* @__PURE__ */ E(L, { children: a() ? /* @__PURE__ */ Se(L, { children: [
|
|
3029
|
+
/* @__PURE__ */ E($o, { block: e.block, context: e.context }),
|
|
3030
|
+
(S = t()) != null && S.noWrap ? /* @__PURE__ */ E(L, { children: /* @__PURE__ */ E(
|
|
3031
|
+
Yn,
|
|
3032
3032
|
{
|
|
3033
3033
|
componentRef: u().componentRef,
|
|
3034
3034
|
componentOptions: u().componentOptions,
|
|
@@ -3039,65 +3039,52 @@ function ht(e) {
|
|
|
3039
3039
|
includeBlockProps: u().includeBlockProps,
|
|
3040
3040
|
isInteractive: u().isInteractive
|
|
3041
3041
|
}
|
|
3042
|
-
) }) : /* @__PURE__ */
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
(w = s()) == null ? void 0 : w.map((P) => /* @__PURE__ */ E(
|
|
3083
|
-
ht,
|
|
3084
|
-
{
|
|
3085
|
-
block: P,
|
|
3086
|
-
context: d,
|
|
3087
|
-
registeredComponents: e.registeredComponents
|
|
3088
|
-
},
|
|
3089
|
-
P.id
|
|
3090
|
-
))
|
|
3091
|
-
]
|
|
3092
|
-
}
|
|
3093
|
-
) }) : null
|
|
3094
|
-
] })
|
|
3042
|
+
) }) : /* @__PURE__ */ E(L, { children: n() ? /* @__PURE__ */ E(L, { children: (b = n()) == null ? void 0 : b.map((P, j) => /* @__PURE__ */ E(
|
|
3043
|
+
Qo,
|
|
3044
|
+
{
|
|
3045
|
+
repeatContext: P.context,
|
|
3046
|
+
block: P.block,
|
|
3047
|
+
registeredComponents: e.registeredComponents
|
|
3048
|
+
},
|
|
3049
|
+
j
|
|
3050
|
+
)) }) : /* @__PURE__ */ E(L, { children: /* @__PURE__ */ Se(
|
|
3051
|
+
Qr,
|
|
3052
|
+
{
|
|
3053
|
+
Wrapper: o(),
|
|
3054
|
+
block: r(),
|
|
3055
|
+
context: e.context,
|
|
3056
|
+
children: [
|
|
3057
|
+
/* @__PURE__ */ E(
|
|
3058
|
+
Yn,
|
|
3059
|
+
{
|
|
3060
|
+
componentRef: u().componentRef,
|
|
3061
|
+
componentOptions: u().componentOptions,
|
|
3062
|
+
blockChildren: u().blockChildren,
|
|
3063
|
+
context: u().context,
|
|
3064
|
+
registeredComponents: u().registeredComponents,
|
|
3065
|
+
builderBlock: u().builderBlock,
|
|
3066
|
+
includeBlockProps: u().includeBlockProps,
|
|
3067
|
+
isInteractive: u().isInteractive
|
|
3068
|
+
}
|
|
3069
|
+
),
|
|
3070
|
+
(C = s()) == null ? void 0 : C.map((P) => /* @__PURE__ */ E(
|
|
3071
|
+
ht,
|
|
3072
|
+
{
|
|
3073
|
+
block: P,
|
|
3074
|
+
context: d,
|
|
3075
|
+
registeredComponents: e.registeredComponents
|
|
3076
|
+
},
|
|
3077
|
+
P.id
|
|
3078
|
+
))
|
|
3079
|
+
]
|
|
3080
|
+
}
|
|
3081
|
+
) }) })
|
|
3095
3082
|
] }) : null });
|
|
3096
3083
|
}
|
|
3097
|
-
function
|
|
3084
|
+
function mt(e) {
|
|
3098
3085
|
var t, n, r;
|
|
3099
3086
|
return /* @__PURE__ */ E(
|
|
3100
|
-
|
|
3087
|
+
eo,
|
|
3101
3088
|
{
|
|
3102
3089
|
blocks: e.blocks,
|
|
3103
3090
|
parent: e.parent,
|
|
@@ -3105,7 +3092,7 @@ function sn(e) {
|
|
|
3105
3092
|
styleProp: e.styleProp,
|
|
3106
3093
|
BlocksWrapper: (t = e.context) == null ? void 0 : t.BlocksWrapper,
|
|
3107
3094
|
BlocksWrapperProps: (n = e.context) == null ? void 0 : n.BlocksWrapperProps,
|
|
3108
|
-
children: e.blocks ? /* @__PURE__ */ E(
|
|
3095
|
+
children: e.blocks ? /* @__PURE__ */ E(L, { children: (r = e.blocks) == null ? void 0 : r.map((o) => /* @__PURE__ */ E(
|
|
3109
3096
|
ht,
|
|
3110
3097
|
{
|
|
3111
3098
|
block: o,
|
|
@@ -3117,25 +3104,25 @@ function sn(e) {
|
|
|
3117
3104
|
}
|
|
3118
3105
|
);
|
|
3119
3106
|
}
|
|
3120
|
-
function
|
|
3107
|
+
function ei(e) {
|
|
3121
3108
|
var j;
|
|
3122
|
-
const t = typeof e.space == "number" ? e.space || 0 : 20, n = e.columns || [], r = e.stackColumnsAt || "tablet", o = function(
|
|
3123
|
-
var
|
|
3124
|
-
return ((
|
|
3125
|
-
}, a = function(
|
|
3126
|
-
const
|
|
3127
|
-
return `calc(${o(
|
|
3109
|
+
const t = typeof e.space == "number" ? e.space || 0 : 20, n = e.columns || [], r = e.stackColumnsAt || "tablet", o = function(x) {
|
|
3110
|
+
var B;
|
|
3111
|
+
return ((B = n[x]) == null ? void 0 : B.width) || 100 / n.length;
|
|
3112
|
+
}, a = function(x) {
|
|
3113
|
+
const B = t * (n.length - 1) / n.length;
|
|
3114
|
+
return `calc(${o(x)}% - ${B}px)`;
|
|
3128
3115
|
}, s = function({
|
|
3129
|
-
stackedStyle:
|
|
3130
|
-
desktopStyle:
|
|
3116
|
+
stackedStyle: x,
|
|
3117
|
+
desktopStyle: B
|
|
3131
3118
|
}) {
|
|
3132
|
-
return r === "tablet" ?
|
|
3119
|
+
return r === "tablet" ? x : B;
|
|
3133
3120
|
}, u = function({
|
|
3134
|
-
stackedStyle:
|
|
3135
|
-
desktopStyle:
|
|
3121
|
+
stackedStyle: x,
|
|
3122
|
+
desktopStyle: B
|
|
3136
3123
|
}) {
|
|
3137
|
-
return r === "never" ?
|
|
3138
|
-
}, d = e.stackColumnsAt === "never" ? "row" : e.reverseColumnsWhenStacked ? "column-reverse" : "column",
|
|
3124
|
+
return r === "never" ? B : x;
|
|
3125
|
+
}, d = e.stackColumnsAt === "never" ? "row" : e.reverseColumnsWhenStacked ? "column-reverse" : "column", S = function() {
|
|
3139
3126
|
return {
|
|
3140
3127
|
"--flex-dir": d,
|
|
3141
3128
|
"--flex-dir-tablet": s({
|
|
@@ -3143,8 +3130,8 @@ function ti(e) {
|
|
|
3143
3130
|
desktopStyle: "row"
|
|
3144
3131
|
})
|
|
3145
3132
|
};
|
|
3146
|
-
},
|
|
3147
|
-
const
|
|
3133
|
+
}, C = function(x) {
|
|
3134
|
+
const B = x === 0 ? 0 : t, $ = a(x), g = `${B}px`, pe = "100%", de = 0;
|
|
3148
3135
|
return {
|
|
3149
3136
|
width: $,
|
|
3150
3137
|
["marginLeft"]: g,
|
|
@@ -3165,14 +3152,14 @@ function ti(e) {
|
|
|
3165
3152
|
desktopStyle: g
|
|
3166
3153
|
})
|
|
3167
3154
|
};
|
|
3168
|
-
},
|
|
3155
|
+
}, b = function(x) {
|
|
3169
3156
|
var $, g;
|
|
3170
|
-
return
|
|
3157
|
+
return mr(
|
|
3171
3158
|
((g = ($ = e.builderContext.content) == null ? void 0 : $.meta) == null ? void 0 : g.breakpoints) || {}
|
|
3172
|
-
)[
|
|
3159
|
+
)[x].max;
|
|
3173
3160
|
}, P = function() {
|
|
3174
3161
|
return `
|
|
3175
|
-
@media (max-width: ${
|
|
3162
|
+
@media (max-width: ${b("medium")}px) {
|
|
3176
3163
|
.${e.builderBlock.id}-breakpoints {
|
|
3177
3164
|
flex-direction: var(--flex-dir-tablet);
|
|
3178
3165
|
align-items: stretch;
|
|
@@ -3184,7 +3171,7 @@ function ti(e) {
|
|
|
3184
3171
|
}
|
|
3185
3172
|
}
|
|
3186
3173
|
|
|
3187
|
-
@media (max-width: ${
|
|
3174
|
+
@media (max-width: ${b("small")}px) {
|
|
3188
3175
|
.${e.builderBlock.id}-breakpoints {
|
|
3189
3176
|
flex-direction: var(--flex-dir);
|
|
3190
3177
|
align-items: stretch;
|
|
@@ -3197,32 +3184,32 @@ function ti(e) {
|
|
|
3197
3184
|
},
|
|
3198
3185
|
`;
|
|
3199
3186
|
};
|
|
3200
|
-
return /* @__PURE__ */
|
|
3201
|
-
/* @__PURE__ */
|
|
3187
|
+
return /* @__PURE__ */ Se(L, { children: [
|
|
3188
|
+
/* @__PURE__ */ Se(
|
|
3202
3189
|
"div",
|
|
3203
3190
|
{
|
|
3204
3191
|
className: `builder-columns ${e.builderBlock.id}-breakpoints div-39daef82`,
|
|
3205
|
-
style:
|
|
3192
|
+
style: S(),
|
|
3206
3193
|
children: [
|
|
3207
|
-
/* @__PURE__ */ E(
|
|
3208
|
-
(j = e.columns) == null ? void 0 : j.map((
|
|
3194
|
+
/* @__PURE__ */ E(L, { children: /* @__PURE__ */ E(dt, { styles: P() }) }),
|
|
3195
|
+
(j = e.columns) == null ? void 0 : j.map((k, x) => /* @__PURE__ */ qr(
|
|
3209
3196
|
"div",
|
|
3210
3197
|
{
|
|
3211
3198
|
className: "builder-column div-39daef82-2",
|
|
3212
|
-
style:
|
|
3213
|
-
key:
|
|
3199
|
+
style: C(x),
|
|
3200
|
+
key: x
|
|
3214
3201
|
},
|
|
3215
3202
|
/* @__PURE__ */ E(
|
|
3216
|
-
|
|
3203
|
+
mt,
|
|
3217
3204
|
{
|
|
3218
|
-
path: `component.options.columns.${
|
|
3205
|
+
path: `component.options.columns.${x}.blocks`,
|
|
3219
3206
|
parent: e.builderBlock.id,
|
|
3220
3207
|
styleProp: {
|
|
3221
3208
|
flexGrow: "1"
|
|
3222
3209
|
},
|
|
3223
3210
|
context: e.builderContext,
|
|
3224
3211
|
registeredComponents: e.builderComponents,
|
|
3225
|
-
blocks:
|
|
3212
|
+
blocks: k.blocks
|
|
3226
3213
|
}
|
|
3227
3214
|
)
|
|
3228
3215
|
))
|
|
@@ -3239,42 +3226,42 @@ function ti(e) {
|
|
|
3239
3226
|
}` })
|
|
3240
3227
|
] });
|
|
3241
3228
|
}
|
|
3242
|
-
function
|
|
3229
|
+
function Jn(e) {
|
|
3243
3230
|
return e.replace(/http(s)?:/, "");
|
|
3244
3231
|
}
|
|
3245
|
-
function
|
|
3232
|
+
function ti(e = "", t, n) {
|
|
3246
3233
|
const r = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), o = e.indexOf("?") !== -1 ? "&" : "?";
|
|
3247
3234
|
return e.match(r) ? e.replace(r, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + o + t + "=" + encodeURIComponent(n);
|
|
3248
3235
|
}
|
|
3249
|
-
function
|
|
3236
|
+
function ni(e, t) {
|
|
3250
3237
|
if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
|
|
3251
3238
|
return e;
|
|
3252
3239
|
if (t === "master")
|
|
3253
|
-
return
|
|
3240
|
+
return Jn(e);
|
|
3254
3241
|
const n = e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);
|
|
3255
3242
|
if (n) {
|
|
3256
3243
|
const r = e.split(n[0]), o = n[3], a = t.match("x") ? t : `${t}x`;
|
|
3257
|
-
return
|
|
3244
|
+
return Jn(`${r[0]}_${a}${o}`);
|
|
3258
3245
|
}
|
|
3259
3246
|
return null;
|
|
3260
3247
|
}
|
|
3261
|
-
function
|
|
3248
|
+
function ja(e) {
|
|
3262
3249
|
if (!e)
|
|
3263
3250
|
return e;
|
|
3264
3251
|
const t = [100, 200, 400, 800, 1200, 1600, 2e3];
|
|
3265
3252
|
if (e.match(/builder\.io/)) {
|
|
3266
3253
|
let n = e;
|
|
3267
3254
|
const r = Number(e.split("?width=")[1]);
|
|
3268
|
-
return isNaN(r) || (n = `${n} ${r}w`), t.filter((o) => o !== r).map((o) => `${
|
|
3255
|
+
return isNaN(r) || (n = `${n} ${r}w`), t.filter((o) => o !== r).map((o) => `${ti(e, "width", o)} ${o}w`).concat([n]).join(", ");
|
|
3269
3256
|
}
|
|
3270
|
-
return e.match(/cdn\.shopify\.com/) ? t.map((n) => [
|
|
3257
|
+
return e.match(/cdn\.shopify\.com/) ? t.map((n) => [ni(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, r]) => `${n} ${r}w`).concat([e]).join(", ") : e;
|
|
3271
3258
|
}
|
|
3272
|
-
const
|
|
3259
|
+
const ri = (e) => {
|
|
3273
3260
|
if (e === "localhost" || e === "127.0.0.1")
|
|
3274
3261
|
return e;
|
|
3275
3262
|
const t = e.split(".");
|
|
3276
3263
|
return t.length > 2 ? t.slice(1).join(".") : e;
|
|
3277
|
-
},
|
|
3264
|
+
}, yr = ({
|
|
3278
3265
|
name: e,
|
|
3279
3266
|
canTrack: t
|
|
3280
3267
|
}) => {
|
|
@@ -3285,14 +3272,14 @@ const oi = (e) => {
|
|
|
3285
3272
|
q.warn("[COOKIE] GET error: ", (r == null ? void 0 : r.message) || r);
|
|
3286
3273
|
return;
|
|
3287
3274
|
}
|
|
3288
|
-
},
|
|
3275
|
+
}, vr = async (e) => yr(e), oi = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(fe).join("; "), ii = [["secure", ""], ["SameSite", "None"]], ai = ({
|
|
3289
3276
|
name: e,
|
|
3290
3277
|
value: t,
|
|
3291
3278
|
expires: n
|
|
3292
3279
|
}) => {
|
|
3293
|
-
const o = (G() ? location.protocol === "https:" : !0) ?
|
|
3294
|
-
return
|
|
3295
|
-
},
|
|
3280
|
+
const o = (G() ? location.protocol === "https:" : !0) ? ii : [[]], a = n ? [["expires", n.toUTCString()]] : [[]], s = [[e, t], ...a, ["path", "/"], ["domain", ri(window.location.hostname)], ...o];
|
|
3281
|
+
return oi(s);
|
|
3282
|
+
}, br = async ({
|
|
3296
3283
|
name: e,
|
|
3297
3284
|
value: t,
|
|
3298
3285
|
expires: n,
|
|
@@ -3301,7 +3288,7 @@ const oi = (e) => {
|
|
|
3301
3288
|
try {
|
|
3302
3289
|
if (!r)
|
|
3303
3290
|
return;
|
|
3304
|
-
const o =
|
|
3291
|
+
const o = ai({
|
|
3305
3292
|
name: e,
|
|
3306
3293
|
value: t,
|
|
3307
3294
|
expires: n
|
|
@@ -3310,24 +3297,24 @@ const oi = (e) => {
|
|
|
3310
3297
|
} catch (o) {
|
|
3311
3298
|
q.warn("[COOKIE] SET error: ", (o == null ? void 0 : o.message) || o);
|
|
3312
3299
|
}
|
|
3313
|
-
},
|
|
3300
|
+
}, si = "builder.tests", sn = (e) => `${si}.${e}`, li = ({
|
|
3314
3301
|
contentId: e
|
|
3315
|
-
}) =>
|
|
3316
|
-
name:
|
|
3302
|
+
}) => vr({
|
|
3303
|
+
name: sn(e),
|
|
3317
3304
|
canTrack: !0
|
|
3318
|
-
}),
|
|
3305
|
+
}), ci = ({
|
|
3319
3306
|
contentId: e
|
|
3320
|
-
}) =>
|
|
3321
|
-
name:
|
|
3307
|
+
}) => yr({
|
|
3308
|
+
name: sn(e),
|
|
3322
3309
|
canTrack: !0
|
|
3323
|
-
}),
|
|
3310
|
+
}), ui = ({
|
|
3324
3311
|
contentId: e,
|
|
3325
3312
|
value: t
|
|
3326
|
-
}) =>
|
|
3327
|
-
name:
|
|
3313
|
+
}) => br({
|
|
3314
|
+
name: sn(e),
|
|
3328
3315
|
value: t,
|
|
3329
3316
|
canTrack: !0
|
|
3330
|
-
}),
|
|
3317
|
+
}), wr = (e) => fe(e.id) && fe(e.variations) && Object.keys(e.variations).length > 0, fi = ({
|
|
3331
3318
|
id: e,
|
|
3332
3319
|
variations: t
|
|
3333
3320
|
}) => {
|
|
@@ -3340,15 +3327,15 @@ const oi = (e) => {
|
|
|
3340
3327
|
return a;
|
|
3341
3328
|
}
|
|
3342
3329
|
return e;
|
|
3343
|
-
},
|
|
3344
|
-
const t =
|
|
3345
|
-
return
|
|
3330
|
+
}, xr = (e) => {
|
|
3331
|
+
const t = fi(e);
|
|
3332
|
+
return ui({
|
|
3346
3333
|
contentId: e.id,
|
|
3347
3334
|
value: t
|
|
3348
3335
|
}).catch((n) => {
|
|
3349
3336
|
q.error("could not store A/B test variation: ", n);
|
|
3350
3337
|
}), t;
|
|
3351
|
-
},
|
|
3338
|
+
}, Sr = ({
|
|
3352
3339
|
item: e,
|
|
3353
3340
|
testGroupId: t
|
|
3354
3341
|
}) => {
|
|
@@ -3362,7 +3349,7 @@ const oi = (e) => {
|
|
|
3362
3349
|
testVariationId: n.id,
|
|
3363
3350
|
testVariationName: n.name || (n.id === e.id ? "Default" : "")
|
|
3364
3351
|
};
|
|
3365
|
-
},
|
|
3352
|
+
}, pi = ({
|
|
3366
3353
|
item: e,
|
|
3367
3354
|
canTrack: t
|
|
3368
3355
|
}) => {
|
|
@@ -3370,14 +3357,14 @@ const oi = (e) => {
|
|
|
3370
3357
|
return e;
|
|
3371
3358
|
if (!e)
|
|
3372
3359
|
return;
|
|
3373
|
-
if (!
|
|
3360
|
+
if (!wr(e))
|
|
3374
3361
|
return e;
|
|
3375
|
-
const n =
|
|
3362
|
+
const n = ci({
|
|
3376
3363
|
contentId: e.id
|
|
3377
|
-
}) ||
|
|
3364
|
+
}) || xr({
|
|
3378
3365
|
variations: e.variations,
|
|
3379
3366
|
id: e.id
|
|
3380
|
-
}), r =
|
|
3367
|
+
}), r = Sr({
|
|
3381
3368
|
item: e,
|
|
3382
3369
|
testGroupId: n
|
|
3383
3370
|
});
|
|
@@ -3385,18 +3372,18 @@ const oi = (e) => {
|
|
|
3385
3372
|
...e,
|
|
3386
3373
|
...r
|
|
3387
3374
|
};
|
|
3388
|
-
},
|
|
3375
|
+
}, di = async ({
|
|
3389
3376
|
item: e,
|
|
3390
3377
|
canTrack: t
|
|
3391
3378
|
}) => {
|
|
3392
|
-
if (!t || !
|
|
3379
|
+
if (!t || !wr(e))
|
|
3393
3380
|
return e;
|
|
3394
|
-
const r = await
|
|
3381
|
+
const r = await li({
|
|
3395
3382
|
contentId: e.id
|
|
3396
|
-
}) ||
|
|
3383
|
+
}) || xr({
|
|
3397
3384
|
variations: e.variations,
|
|
3398
3385
|
id: e.id
|
|
3399
|
-
}), o =
|
|
3386
|
+
}), o = Sr({
|
|
3400
3387
|
item: e,
|
|
3401
3388
|
testGroupId: r
|
|
3402
3389
|
});
|
|
@@ -3404,7 +3391,7 @@ const oi = (e) => {
|
|
|
3404
3391
|
...e,
|
|
3405
3392
|
...o
|
|
3406
3393
|
};
|
|
3407
|
-
}, Ht = (e) => fe(e) ? e : !0,
|
|
3394
|
+
}, Ht = (e) => fe(e) ? e : !0, hi = {
|
|
3408
3395
|
name: "Core:Button",
|
|
3409
3396
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
|
|
3410
3397
|
defaultStyles: {
|
|
@@ -3437,7 +3424,7 @@ const oi = (e) => {
|
|
|
3437
3424
|
}],
|
|
3438
3425
|
static: !0,
|
|
3439
3426
|
noWrap: !0
|
|
3440
|
-
},
|
|
3427
|
+
}, mi = {
|
|
3441
3428
|
// TODO: ways to statically preprocess JSON for references, functions, etc
|
|
3442
3429
|
name: "Columns",
|
|
3443
3430
|
isRSC: !0,
|
|
@@ -3638,7 +3625,7 @@ const oi = (e) => {
|
|
|
3638
3625
|
helperText: "When stacking columns for mobile devices, reverse the ordering",
|
|
3639
3626
|
advanced: !0
|
|
3640
3627
|
}]
|
|
3641
|
-
},
|
|
3628
|
+
}, gi = {
|
|
3642
3629
|
name: "Custom Code",
|
|
3643
3630
|
static: !0,
|
|
3644
3631
|
requiredPermissions: ["editCode"],
|
|
@@ -3660,7 +3647,7 @@ const oi = (e) => {
|
|
|
3660
3647
|
helperText: "Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads",
|
|
3661
3648
|
advanced: !0
|
|
3662
3649
|
}]
|
|
3663
|
-
},
|
|
3650
|
+
}, yi = {
|
|
3664
3651
|
name: "Embed",
|
|
3665
3652
|
static: !0,
|
|
3666
3653
|
inputs: [{
|
|
@@ -3685,7 +3672,7 @@ const oi = (e) => {
|
|
|
3685
3672
|
defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
|
|
3686
3673
|
hideFromUI: !0
|
|
3687
3674
|
}]
|
|
3688
|
-
},
|
|
3675
|
+
}, vi = ["text/javascript", "application/javascript", "application/ecmascript"], Ra = (e) => vi.includes(e.type), bi = {
|
|
3689
3676
|
name: "Fragment",
|
|
3690
3677
|
static: !0,
|
|
3691
3678
|
hidden: !0,
|
|
@@ -3712,15 +3699,15 @@ const oi = (e) => {
|
|
|
3712
3699
|
onChange: (e) => {
|
|
3713
3700
|
e.delete("srcset"), e.delete("noWebp");
|
|
3714
3701
|
function n(s, u = 6e4) {
|
|
3715
|
-
return new Promise((d,
|
|
3716
|
-
const
|
|
3717
|
-
let
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
},
|
|
3721
|
-
console.warn("Image load failed", P.error),
|
|
3722
|
-
}),
|
|
3723
|
-
|
|
3702
|
+
return new Promise((d, S) => {
|
|
3703
|
+
const C = document.createElement("img");
|
|
3704
|
+
let b = !1;
|
|
3705
|
+
C.onload = () => {
|
|
3706
|
+
b = !0, d(C);
|
|
3707
|
+
}, C.addEventListener("error", (P) => {
|
|
3708
|
+
console.warn("Image load failed", P.error), S(P.error);
|
|
3709
|
+
}), C.src = s, setTimeout(() => {
|
|
3710
|
+
b || S(new Error("Image load timed out"));
|
|
3724
3711
|
}, u);
|
|
3725
3712
|
});
|
|
3726
3713
|
}
|
|
@@ -3791,7 +3778,7 @@ const oi = (e) => {
|
|
|
3791
3778
|
advanced: !0,
|
|
3792
3779
|
defaultValue: 0.7041
|
|
3793
3780
|
}]
|
|
3794
|
-
},
|
|
3781
|
+
}, xi = {
|
|
3795
3782
|
// friendlyName?
|
|
3796
3783
|
name: "Raw:Img",
|
|
3797
3784
|
hideFromInsertMenu: !0,
|
|
@@ -3805,7 +3792,7 @@ const oi = (e) => {
|
|
|
3805
3792
|
}],
|
|
3806
3793
|
noWrap: !0,
|
|
3807
3794
|
static: !0
|
|
3808
|
-
},
|
|
3795
|
+
}, Si = {
|
|
3809
3796
|
name: "Core:Section",
|
|
3810
3797
|
static: !0,
|
|
3811
3798
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
|
|
@@ -3844,7 +3831,44 @@ const oi = (e) => {
|
|
|
3844
3831
|
}
|
|
3845
3832
|
}
|
|
3846
3833
|
}]
|
|
3847
|
-
},
|
|
3834
|
+
}, ki = {
|
|
3835
|
+
name: "Slot",
|
|
3836
|
+
isRSC: !0,
|
|
3837
|
+
description: "Allow child blocks to be inserted into this content when used as a Symbol",
|
|
3838
|
+
docsLink: "https://www.builder.io/c/docs/symbols-with-blocks",
|
|
3839
|
+
image: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F3aad6de36eae43b59b52c85190fdef56",
|
|
3840
|
+
// Maybe wrap this for canHaveChildren so bind children to this hm
|
|
3841
|
+
inputs: [{
|
|
3842
|
+
name: "name",
|
|
3843
|
+
type: "string",
|
|
3844
|
+
required: !0,
|
|
3845
|
+
defaultValue: "children"
|
|
3846
|
+
}]
|
|
3847
|
+
};
|
|
3848
|
+
function Ci(e) {
|
|
3849
|
+
var t, n, r;
|
|
3850
|
+
return /* @__PURE__ */ E(
|
|
3851
|
+
"div",
|
|
3852
|
+
{
|
|
3853
|
+
style: {
|
|
3854
|
+
pointerEvents: "auto"
|
|
3855
|
+
},
|
|
3856
|
+
...!((t = e.builderContext.context) != null && t.symbolId) && {
|
|
3857
|
+
"builder-slot": e.name
|
|
3858
|
+
},
|
|
3859
|
+
children: /* @__PURE__ */ E(
|
|
3860
|
+
mt,
|
|
3861
|
+
{
|
|
3862
|
+
parent: (n = e.builderContext.context) == null ? void 0 : n.symbolId,
|
|
3863
|
+
path: `symbol.data.${e.name}`,
|
|
3864
|
+
context: e.builderContext,
|
|
3865
|
+
blocks: (r = e.builderContext.rootState) == null ? void 0 : r[e.name]
|
|
3866
|
+
}
|
|
3867
|
+
)
|
|
3868
|
+
}
|
|
3869
|
+
);
|
|
3870
|
+
}
|
|
3871
|
+
const Ei = {
|
|
3848
3872
|
name: "Symbol",
|
|
3849
3873
|
noWrap: !0,
|
|
3850
3874
|
static: !0,
|
|
@@ -3877,7 +3901,7 @@ const oi = (e) => {
|
|
|
3877
3901
|
hideFromUI: !0,
|
|
3878
3902
|
type: "boolean"
|
|
3879
3903
|
}]
|
|
3880
|
-
},
|
|
3904
|
+
}, Ii = {
|
|
3881
3905
|
name: "Text",
|
|
3882
3906
|
static: !0,
|
|
3883
3907
|
isRSC: !0,
|
|
@@ -3896,7 +3920,7 @@ const oi = (e) => {
|
|
|
3896
3920
|
textAlign: "center"
|
|
3897
3921
|
}
|
|
3898
3922
|
};
|
|
3899
|
-
function
|
|
3923
|
+
function Ti(e) {
|
|
3900
3924
|
var t;
|
|
3901
3925
|
return /* @__PURE__ */ E(
|
|
3902
3926
|
"div",
|
|
@@ -3909,7 +3933,7 @@ function Ii(e) {
|
|
|
3909
3933
|
}
|
|
3910
3934
|
);
|
|
3911
3935
|
}
|
|
3912
|
-
const
|
|
3936
|
+
const Ai = {
|
|
3913
3937
|
name: "Video",
|
|
3914
3938
|
canHaveChildren: !0,
|
|
3915
3939
|
defaultStyles: {
|
|
@@ -3990,55 +4014,58 @@ const Ti = {
|
|
|
3990
4014
|
defaultValue: !0,
|
|
3991
4015
|
advanced: !0
|
|
3992
4016
|
}]
|
|
3993
|
-
},
|
|
3994
|
-
component:
|
|
4017
|
+
}, zn = () => [{
|
|
4018
|
+
component: to,
|
|
4019
|
+
...hi
|
|
4020
|
+
}, {
|
|
4021
|
+
component: ei,
|
|
3995
4022
|
...mi
|
|
3996
4023
|
}, {
|
|
3997
|
-
component:
|
|
4024
|
+
component: no,
|
|
3998
4025
|
...gi
|
|
3999
4026
|
}, {
|
|
4000
4027
|
component: ro,
|
|
4001
4028
|
...yi
|
|
4002
4029
|
}, {
|
|
4003
4030
|
component: oo,
|
|
4004
|
-
...
|
|
4031
|
+
...bi
|
|
4005
4032
|
}, {
|
|
4006
4033
|
component: io,
|
|
4007
|
-
...
|
|
4034
|
+
...wi
|
|
4008
4035
|
}, {
|
|
4009
4036
|
component: ao,
|
|
4010
|
-
...
|
|
4037
|
+
...xi
|
|
4011
4038
|
}, {
|
|
4012
4039
|
component: so,
|
|
4013
4040
|
...Si
|
|
4014
4041
|
}, {
|
|
4015
|
-
component:
|
|
4016
|
-
...
|
|
4042
|
+
component: Sa,
|
|
4043
|
+
...Ei
|
|
4017
4044
|
}, {
|
|
4018
|
-
component:
|
|
4019
|
-
...
|
|
4045
|
+
component: Ti,
|
|
4046
|
+
...Ii
|
|
4020
4047
|
}, {
|
|
4021
|
-
component:
|
|
4022
|
-
...
|
|
4048
|
+
component: lo,
|
|
4049
|
+
...Ai
|
|
4023
4050
|
}, {
|
|
4024
|
-
component:
|
|
4025
|
-
...
|
|
4026
|
-
}],
|
|
4051
|
+
component: Ci,
|
|
4052
|
+
...ki
|
|
4053
|
+
}], qn = [], Pa = (e) => ({
|
|
4027
4054
|
type: "builder.registerComponent",
|
|
4028
4055
|
data: Kt(e)
|
|
4029
|
-
}),
|
|
4056
|
+
}), Oi = (e) => {
|
|
4030
4057
|
const t = e.toString().trim();
|
|
4031
4058
|
return `return (${!t.startsWith("function") && !t.startsWith("(") ? "function " : ""}${t}).apply(this, arguments)`;
|
|
4032
|
-
},
|
|
4059
|
+
}, ji = (e) => typeof e == "function" ? Oi(e) : pt(e), Kt = ({
|
|
4033
4060
|
inputs: e,
|
|
4034
4061
|
...t
|
|
4035
4062
|
}) => ({
|
|
4036
4063
|
...pt(t),
|
|
4037
4064
|
inputs: e == null ? void 0 : e.map((n) => Object.entries(n).reduce((r, [o, a]) => ({
|
|
4038
4065
|
...r,
|
|
4039
|
-
[o]:
|
|
4066
|
+
[o]: ji(a)
|
|
4040
4067
|
}), {}))
|
|
4041
|
-
}),
|
|
4068
|
+
}), Ri = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
|
|
4042
4069
|
function getAndSetVariantId() {
|
|
4043
4070
|
function setCookie(name, value, days) {
|
|
4044
4071
|
let expires = '';
|
|
@@ -4094,7 +4121,7 @@ const Ti = {
|
|
|
4094
4121
|
}).join('');
|
|
4095
4122
|
styleEl.innerHTML = newStyleStr;
|
|
4096
4123
|
}
|
|
4097
|
-
}`,
|
|
4124
|
+
}`, Pi = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
|
|
4098
4125
|
if (!navigator.cookieEnabled) {
|
|
4099
4126
|
return;
|
|
4100
4127
|
}
|
|
@@ -4128,24 +4155,24 @@ const Ti = {
|
|
|
4128
4155
|
thisScriptEl?.remove();
|
|
4129
4156
|
}
|
|
4130
4157
|
return;
|
|
4131
|
-
}`,
|
|
4158
|
+
}`, kr = "builderIoAbTest", Cr = "builderIoRenderContent", st = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
|
|
4132
4159
|
...t,
|
|
4133
4160
|
testVariationId: t.id,
|
|
4134
4161
|
id: e == null ? void 0 : e.id
|
|
4135
|
-
})),
|
|
4162
|
+
})), Ni = ({
|
|
4136
4163
|
canTrack: e,
|
|
4137
4164
|
content: t
|
|
4138
|
-
}) => !(!(st(t).length > 0) || !e || G()),
|
|
4139
|
-
window.${
|
|
4140
|
-
window.${
|
|
4141
|
-
`,
|
|
4142
|
-
window.${
|
|
4143
|
-
"${t}",${JSON.stringify(e)}, ${
|
|
4144
|
-
)`,
|
|
4165
|
+
}) => !(!(st(t).length > 0) || !e || G()), Bi = (e) => e === "react" || e === "reactNative", Er = Bi(ve), Mi = () => `
|
|
4166
|
+
window.${kr} = ${Ri}
|
|
4167
|
+
window.${Cr} = ${Pi}
|
|
4168
|
+
`, Ui = (e, t) => `
|
|
4169
|
+
window.${kr}(
|
|
4170
|
+
"${t}",${JSON.stringify(e)}, ${Er}
|
|
4171
|
+
)`, Fi = ({
|
|
4145
4172
|
contentId: e,
|
|
4146
4173
|
variationId: t
|
|
4147
|
-
}) => `window.${
|
|
4148
|
-
"${t}", "${e}", ${
|
|
4174
|
+
}) => `window.${Cr}(
|
|
4175
|
+
"${t}", "${e}", ${Er}
|
|
4149
4176
|
)`;
|
|
4150
4177
|
function Gt(e) {
|
|
4151
4178
|
return /* @__PURE__ */ E(
|
|
@@ -4156,33 +4183,33 @@ function Gt(e) {
|
|
|
4156
4183
|
}
|
|
4157
4184
|
);
|
|
4158
4185
|
}
|
|
4159
|
-
const
|
|
4186
|
+
const Vi = (e) => {
|
|
4160
4187
|
const t = e.get("preview"), n = e.get("overrides." + t);
|
|
4161
4188
|
return n || q.warn("No previewed ID found in search params."), n;
|
|
4162
4189
|
};
|
|
4163
|
-
function
|
|
4164
|
-
globalThis._BUILDER_PREVIEW_LRU_CACHE || (globalThis._BUILDER_PREVIEW_LRU_CACHE = new
|
|
4190
|
+
function _i() {
|
|
4191
|
+
globalThis._BUILDER_PREVIEW_LRU_CACHE || (globalThis._BUILDER_PREVIEW_LRU_CACHE = new zr({
|
|
4165
4192
|
max: 500,
|
|
4166
4193
|
// how long to live in ms
|
|
4167
4194
|
ttl: 1e3 * 60 * 5
|
|
4168
4195
|
}));
|
|
4169
4196
|
}
|
|
4170
|
-
function
|
|
4171
|
-
|
|
4172
|
-
const t =
|
|
4197
|
+
function Di(e) {
|
|
4198
|
+
_i();
|
|
4199
|
+
const t = Vi(e);
|
|
4173
4200
|
return typeof t == "string" ? globalThis._BUILDER_PREVIEW_LRU_CACHE.get(t) : void 0;
|
|
4174
4201
|
}
|
|
4175
|
-
function
|
|
4202
|
+
function Li() {
|
|
4176
4203
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : globalThis;
|
|
4177
4204
|
}
|
|
4178
|
-
function
|
|
4179
|
-
const e =
|
|
4205
|
+
function Wi() {
|
|
4206
|
+
const e = Li().fetch;
|
|
4180
4207
|
if (typeof e > "u")
|
|
4181
4208
|
throw console.warn(`Builder SDK could not find a global fetch function. Make sure you have a polyfill for fetch in your project.
|
|
4182
4209
|
For more information, read https://github.com/BuilderIO/this-package-uses-fetch`), new Error("Builder SDK could not find a global `fetch` function");
|
|
4183
4210
|
return e;
|
|
4184
4211
|
}
|
|
4185
|
-
const
|
|
4212
|
+
const $i = Wi();
|
|
4186
4213
|
function lt(e, t = null, n = ".") {
|
|
4187
4214
|
return Object.keys(e).reduce((r, o) => {
|
|
4188
4215
|
const a = e[o], s = [t, o].filter(Boolean).join(n);
|
|
@@ -4195,27 +4222,27 @@ function lt(e, t = null, n = ".") {
|
|
|
4195
4222
|
};
|
|
4196
4223
|
}, {});
|
|
4197
4224
|
}
|
|
4198
|
-
const
|
|
4225
|
+
const Hi = "v3", Zn = "builder.", Ki = "options.", Gi = (e) => {
|
|
4199
4226
|
const t = {};
|
|
4200
4227
|
return e.forEach((n, r) => {
|
|
4201
4228
|
t[r] = n;
|
|
4202
4229
|
}), t;
|
|
4203
|
-
},
|
|
4230
|
+
}, Ir = (e) => {
|
|
4204
4231
|
if (!e)
|
|
4205
4232
|
return {};
|
|
4206
|
-
const t =
|
|
4233
|
+
const t = Tr(e), n = {};
|
|
4207
4234
|
return Object.keys(t).forEach((r) => {
|
|
4208
|
-
if (r.startsWith(
|
|
4209
|
-
const o = r.replace(
|
|
4235
|
+
if (r.startsWith(Zn)) {
|
|
4236
|
+
const o = r.replace(Zn, "").replace(Ki, "");
|
|
4210
4237
|
n[o] = t[r];
|
|
4211
4238
|
}
|
|
4212
4239
|
}), n;
|
|
4213
|
-
},
|
|
4240
|
+
}, Xi = () => {
|
|
4214
4241
|
if (!G())
|
|
4215
4242
|
return {};
|
|
4216
4243
|
const e = new URLSearchParams(window.location.search);
|
|
4217
|
-
return
|
|
4218
|
-
},
|
|
4244
|
+
return Ir(e);
|
|
4245
|
+
}, Tr = (e) => e instanceof URLSearchParams ? Gi(e) : e, Qn = (e) => typeof e == "number" && !isNaN(e) && e >= 0, ln = (e) => {
|
|
4219
4246
|
let {
|
|
4220
4247
|
noTraverse: t = !1
|
|
4221
4248
|
} = e;
|
|
@@ -4227,32 +4254,32 @@ const $i = "v3", er = "builder.", Hi = "options.", Ki = (e) => {
|
|
|
4227
4254
|
apiKey: s,
|
|
4228
4255
|
includeRefs: u = !0,
|
|
4229
4256
|
enrich: d,
|
|
4230
|
-
locale:
|
|
4231
|
-
apiVersion:
|
|
4232
|
-
fields:
|
|
4257
|
+
locale: S,
|
|
4258
|
+
apiVersion: C = Hi,
|
|
4259
|
+
fields: b,
|
|
4233
4260
|
omit: P,
|
|
4234
4261
|
offset: j,
|
|
4235
|
-
cacheSeconds:
|
|
4236
|
-
staleCacheSeconds:
|
|
4237
|
-
sort:
|
|
4262
|
+
cacheSeconds: k,
|
|
4263
|
+
staleCacheSeconds: x,
|
|
4264
|
+
sort: B,
|
|
4238
4265
|
includeUnpublished: $
|
|
4239
4266
|
} = e;
|
|
4240
4267
|
if (!s)
|
|
4241
4268
|
throw new Error("Missing API key");
|
|
4242
|
-
if (!["v2", "v3"].includes(
|
|
4243
|
-
throw new Error(`Invalid apiVersion: expected 'v2' or 'v3', received '${
|
|
4269
|
+
if (!["v2", "v3"].includes(C))
|
|
4270
|
+
throw new Error(`Invalid apiVersion: expected 'v2' or 'v3', received '${C}'`);
|
|
4244
4271
|
(e.limit === void 0 || e.limit > 1) && !("noTraverse" in e) && (t = !0);
|
|
4245
|
-
const g = new URL(`https://cdn.builder.io/api/${
|
|
4246
|
-
if (g.searchParams.set("omit", P || "meta.componentsUsed"),
|
|
4272
|
+
const g = new URL(`https://cdn.builder.io/api/${C}/content/${a}?apiKey=${s}&limit=${n}&noTraverse=${t}&includeRefs=${u}${S ? `&locale=${S}` : ""}${d ? `&enrich=${d}` : ""}`);
|
|
4273
|
+
if (g.searchParams.set("omit", P || "meta.componentsUsed"), b && g.searchParams.set("fields", b), Number.isFinite(j) && j > -1 && g.searchParams.set("offset", String(Math.floor(j))), typeof $ == "boolean" && g.searchParams.set("includeUnpublished", String($)), k && Qn(k) && g.searchParams.set("cacheSeconds", String(k)), x && Qn(x) && g.searchParams.set("staleCacheSeconds", String(x)), B) {
|
|
4247
4274
|
const Z = lt({
|
|
4248
|
-
sort:
|
|
4275
|
+
sort: B
|
|
4249
4276
|
});
|
|
4250
|
-
for (const
|
|
4251
|
-
g.searchParams.set(
|
|
4277
|
+
for (const M in Z)
|
|
4278
|
+
g.searchParams.set(M, JSON.stringify(Z[M]));
|
|
4252
4279
|
}
|
|
4253
4280
|
const pe = {
|
|
4254
|
-
...
|
|
4255
|
-
...
|
|
4281
|
+
...Xi(),
|
|
4282
|
+
...Tr(e.options || {})
|
|
4256
4283
|
}, de = lt(pe);
|
|
4257
4284
|
for (const Z in de)
|
|
4258
4285
|
g.searchParams.set(Z, String(de[Z]));
|
|
@@ -4260,37 +4287,37 @@ const $i = "v3", er = "builder.", Hi = "options.", Ki = (e) => {
|
|
|
4260
4287
|
const Z = lt({
|
|
4261
4288
|
query: o
|
|
4262
4289
|
});
|
|
4263
|
-
for (const
|
|
4264
|
-
g.searchParams.set(
|
|
4290
|
+
for (const M in Z)
|
|
4291
|
+
g.searchParams.set(M, JSON.stringify(Z[M]));
|
|
4265
4292
|
}
|
|
4266
4293
|
return g;
|
|
4267
|
-
},
|
|
4268
|
-
async function
|
|
4269
|
-
const t = await
|
|
4294
|
+
}, Yi = (e) => "results" in e;
|
|
4295
|
+
async function cn(e) {
|
|
4296
|
+
const t = await Ar({
|
|
4270
4297
|
...e,
|
|
4271
4298
|
limit: 1
|
|
4272
4299
|
});
|
|
4273
4300
|
return t && t[0] || null;
|
|
4274
4301
|
}
|
|
4275
|
-
const
|
|
4276
|
-
const t =
|
|
4277
|
-
return await (await
|
|
4278
|
-
},
|
|
4302
|
+
const Na = cn, Ji = async (e) => {
|
|
4303
|
+
const t = ln(e);
|
|
4304
|
+
return await (await $i(t.href)).json();
|
|
4305
|
+
}, zi = async (e, t, n = ln(e)) => {
|
|
4279
4306
|
const r = Ht(e.canTrack);
|
|
4280
4307
|
if (n.search.includes("preview=")) {
|
|
4281
4308
|
const a = [];
|
|
4282
4309
|
for (const s of t.results) {
|
|
4283
|
-
const u =
|
|
4310
|
+
const u = Di(n.searchParams);
|
|
4284
4311
|
a.push(u || s);
|
|
4285
4312
|
}
|
|
4286
4313
|
t.results = a;
|
|
4287
4314
|
}
|
|
4288
|
-
if (!r || !(G() ||
|
|
4315
|
+
if (!r || !(G() || ve === "reactNative"))
|
|
4289
4316
|
return t.results;
|
|
4290
4317
|
try {
|
|
4291
4318
|
const a = [];
|
|
4292
4319
|
for (const s of t.results)
|
|
4293
|
-
a.push(await
|
|
4320
|
+
a.push(await di({
|
|
4294
4321
|
item: s,
|
|
4295
4322
|
canTrack: r
|
|
4296
4323
|
}));
|
|
@@ -4300,10 +4327,10 @@ const Oa = un, Yi = async (e) => {
|
|
|
4300
4327
|
}
|
|
4301
4328
|
return t.results;
|
|
4302
4329
|
};
|
|
4303
|
-
async function
|
|
4330
|
+
async function Ar(e) {
|
|
4304
4331
|
try {
|
|
4305
|
-
const t =
|
|
4306
|
-
return
|
|
4332
|
+
const t = ln(e), n = await Ji(e);
|
|
4333
|
+
return Yi(n) ? zi(e, n) : (q.error("Error fetching data. ", {
|
|
4307
4334
|
url: t,
|
|
4308
4335
|
content: n,
|
|
4309
4336
|
options: e
|
|
@@ -4312,92 +4339,96 @@ async function jr(e) {
|
|
|
4312
4339
|
return q.error("Error fetching data. ", t), null;
|
|
4313
4340
|
}
|
|
4314
4341
|
}
|
|
4315
|
-
const
|
|
4316
|
-
function
|
|
4342
|
+
const Ba = Ar, qi = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
|
|
4343
|
+
function Zi(e, t) {
|
|
4344
|
+
const n = new URL(t.origin), r = n.hostname;
|
|
4345
|
+
return (e || qi).findIndex((o) => o.startsWith("*.") ? r.endsWith(o.slice(1)) : o === r) > -1;
|
|
4346
|
+
}
|
|
4347
|
+
function Ma() {
|
|
4317
4348
|
return !G() || Xt() ? !1 : location.search.indexOf("builder.preview=") !== -1;
|
|
4318
4349
|
}
|
|
4319
|
-
function
|
|
4350
|
+
function Qi() {
|
|
4320
4351
|
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
|
|
4321
4352
|
const t = Math.random() * 16 | 0;
|
|
4322
4353
|
return (e == "x" ? t : t & 3 | 8).toString(16);
|
|
4323
4354
|
});
|
|
4324
4355
|
}
|
|
4325
|
-
function
|
|
4326
|
-
return
|
|
4356
|
+
function Or() {
|
|
4357
|
+
return Qi().replace(/-/g, "");
|
|
4327
4358
|
}
|
|
4328
|
-
const
|
|
4359
|
+
const jr = "builderSessionId", ea = async ({
|
|
4329
4360
|
canTrack: e
|
|
4330
4361
|
}) => {
|
|
4331
4362
|
if (!e)
|
|
4332
4363
|
return;
|
|
4333
|
-
const t = await
|
|
4334
|
-
name:
|
|
4364
|
+
const t = await vr({
|
|
4365
|
+
name: jr,
|
|
4335
4366
|
canTrack: e
|
|
4336
4367
|
});
|
|
4337
4368
|
if (fe(t))
|
|
4338
4369
|
return t;
|
|
4339
4370
|
{
|
|
4340
|
-
const n =
|
|
4341
|
-
return
|
|
4371
|
+
const n = ta();
|
|
4372
|
+
return na({
|
|
4342
4373
|
id: n,
|
|
4343
4374
|
canTrack: e
|
|
4344
4375
|
}), n;
|
|
4345
4376
|
}
|
|
4346
|
-
},
|
|
4377
|
+
}, ta = () => Or(), na = ({
|
|
4347
4378
|
id: e,
|
|
4348
4379
|
canTrack: t
|
|
4349
|
-
}) =>
|
|
4350
|
-
name:
|
|
4380
|
+
}) => br({
|
|
4381
|
+
name: jr,
|
|
4351
4382
|
value: e,
|
|
4352
4383
|
canTrack: t
|
|
4353
|
-
}),
|
|
4384
|
+
}), Rr = () => G() && typeof localStorage < "u" ? localStorage : void 0, ra = ({
|
|
4354
4385
|
key: e,
|
|
4355
4386
|
canTrack: t
|
|
4356
4387
|
}) => {
|
|
4357
4388
|
var n;
|
|
4358
4389
|
try {
|
|
4359
|
-
return t ? (n =
|
|
4390
|
+
return t ? (n = Rr()) == null ? void 0 : n.getItem(e) : void 0;
|
|
4360
4391
|
} catch (r) {
|
|
4361
4392
|
console.debug("[LocalStorage] GET error: ", r);
|
|
4362
4393
|
return;
|
|
4363
4394
|
}
|
|
4364
|
-
},
|
|
4395
|
+
}, oa = ({
|
|
4365
4396
|
key: e,
|
|
4366
4397
|
canTrack: t,
|
|
4367
4398
|
value: n
|
|
4368
4399
|
}) => {
|
|
4369
4400
|
var r;
|
|
4370
4401
|
try {
|
|
4371
|
-
t && ((r =
|
|
4402
|
+
t && ((r = Rr()) == null || r.setItem(e, n));
|
|
4372
4403
|
} catch (o) {
|
|
4373
4404
|
console.debug("[LocalStorage] SET error: ", o);
|
|
4374
4405
|
}
|
|
4375
|
-
},
|
|
4406
|
+
}, Pr = "builderVisitorId", ia = ({
|
|
4376
4407
|
canTrack: e
|
|
4377
4408
|
}) => {
|
|
4378
4409
|
if (!e)
|
|
4379
4410
|
return;
|
|
4380
|
-
const t =
|
|
4381
|
-
key:
|
|
4411
|
+
const t = ra({
|
|
4412
|
+
key: Pr,
|
|
4382
4413
|
canTrack: e
|
|
4383
4414
|
});
|
|
4384
4415
|
if (fe(t))
|
|
4385
4416
|
return t;
|
|
4386
4417
|
{
|
|
4387
|
-
const n =
|
|
4388
|
-
return
|
|
4418
|
+
const n = aa();
|
|
4419
|
+
return sa({
|
|
4389
4420
|
id: n,
|
|
4390
4421
|
canTrack: e
|
|
4391
4422
|
}), n;
|
|
4392
4423
|
}
|
|
4393
|
-
},
|
|
4424
|
+
}, aa = () => Or(), sa = ({
|
|
4394
4425
|
id: e,
|
|
4395
4426
|
canTrack: t
|
|
4396
|
-
}) =>
|
|
4397
|
-
key:
|
|
4427
|
+
}) => oa({
|
|
4428
|
+
key: Pr,
|
|
4398
4429
|
value: e,
|
|
4399
4430
|
canTrack: t
|
|
4400
|
-
}),
|
|
4431
|
+
}), la = async ({
|
|
4401
4432
|
canTrack: e
|
|
4402
4433
|
}) => {
|
|
4403
4434
|
if (!e)
|
|
@@ -4405,16 +4436,16 @@ const Pr = "builderSessionId", qi = async ({
|
|
|
4405
4436
|
visitorId: void 0,
|
|
4406
4437
|
sessionId: void 0
|
|
4407
4438
|
};
|
|
4408
|
-
const t = await
|
|
4439
|
+
const t = await ea({
|
|
4409
4440
|
canTrack: e
|
|
4410
|
-
}), n =
|
|
4441
|
+
}), n = ia({
|
|
4411
4442
|
canTrack: e
|
|
4412
4443
|
});
|
|
4413
4444
|
return {
|
|
4414
4445
|
sessionId: t,
|
|
4415
4446
|
visitorId: n
|
|
4416
4447
|
};
|
|
4417
|
-
},
|
|
4448
|
+
}, ca = async ({
|
|
4418
4449
|
type: e,
|
|
4419
4450
|
canTrack: t,
|
|
4420
4451
|
apiKey: n,
|
|
@@ -4428,23 +4459,23 @@ const Pr = "builderSessionId", qi = async ({
|
|
|
4428
4459
|
url: location.href,
|
|
4429
4460
|
...r
|
|
4430
4461
|
},
|
|
4431
|
-
...await
|
|
4462
|
+
...await la({
|
|
4432
4463
|
canTrack: t
|
|
4433
4464
|
}),
|
|
4434
|
-
userAttributes:
|
|
4465
|
+
userAttributes: ar(),
|
|
4435
4466
|
ownerId: n
|
|
4436
4467
|
}
|
|
4437
4468
|
});
|
|
4438
|
-
async function
|
|
4469
|
+
async function ua(e) {
|
|
4439
4470
|
if (!e.apiKey) {
|
|
4440
4471
|
q.error("Missing API key for track call. Please provide your API key.");
|
|
4441
4472
|
return;
|
|
4442
4473
|
}
|
|
4443
|
-
if (e.canTrack && !Xt() && (G() ||
|
|
4474
|
+
if (e.canTrack && !Xt() && (G() || ve === "reactNative"))
|
|
4444
4475
|
return fetch("https://cdn.builder.io/api/v1/track", {
|
|
4445
4476
|
method: "POST",
|
|
4446
4477
|
body: JSON.stringify({
|
|
4447
|
-
events: [await
|
|
4478
|
+
events: [await ca(e)]
|
|
4448
4479
|
}),
|
|
4449
4480
|
headers: {
|
|
4450
4481
|
"content-type": "application/json"
|
|
@@ -4454,14 +4485,14 @@ async function sa(e) {
|
|
|
4454
4485
|
console.error("Failed to track: ", t);
|
|
4455
4486
|
});
|
|
4456
4487
|
}
|
|
4457
|
-
const
|
|
4488
|
+
const Ua = (e) => ua({
|
|
4458
4489
|
...e,
|
|
4459
4490
|
canTrack: !0
|
|
4460
4491
|
});
|
|
4461
|
-
function
|
|
4492
|
+
function er(e) {
|
|
4462
4493
|
return Math.round(e * 1e3) / 1e3;
|
|
4463
4494
|
}
|
|
4464
|
-
const
|
|
4495
|
+
const fa = (e, t, n = !0) => {
|
|
4465
4496
|
if (!(e instanceof HTMLElement))
|
|
4466
4497
|
return null;
|
|
4467
4498
|
let r = n ? e : e.parentElement;
|
|
@@ -4472,38 +4503,38 @@ const la = (e, t, n = !0) => {
|
|
|
4472
4503
|
return r;
|
|
4473
4504
|
} while (r = r.parentElement);
|
|
4474
4505
|
return null;
|
|
4475
|
-
},
|
|
4506
|
+
}, pa = (e) => fa(e, (t) => {
|
|
4476
4507
|
const n = t.getAttribute("builder-id") || t.id;
|
|
4477
4508
|
return (n == null ? void 0 : n.indexOf("builder-")) === 0;
|
|
4478
|
-
}),
|
|
4509
|
+
}), tr = ({
|
|
4479
4510
|
event: e,
|
|
4480
4511
|
target: t
|
|
4481
4512
|
}) => {
|
|
4482
|
-
const n = t.getBoundingClientRect(), r = e.clientX - n.left, o = e.clientY - n.top, a =
|
|
4513
|
+
const n = t.getBoundingClientRect(), r = e.clientX - n.left, o = e.clientY - n.top, a = er(r / n.width), s = er(o / n.height);
|
|
4483
4514
|
return {
|
|
4484
4515
|
x: a,
|
|
4485
4516
|
y: s
|
|
4486
4517
|
};
|
|
4487
|
-
},
|
|
4488
|
-
const t = e.target, n = t &&
|
|
4518
|
+
}, Fa = (e) => {
|
|
4519
|
+
const t = e.target, n = t && pa(t), r = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
|
|
4489
4520
|
return {
|
|
4490
4521
|
targetBuilderElement: r || void 0,
|
|
4491
4522
|
metadata: {
|
|
4492
|
-
targetOffset: t ?
|
|
4523
|
+
targetOffset: t ? tr({
|
|
4493
4524
|
event: e,
|
|
4494
4525
|
target: t
|
|
4495
4526
|
}) : void 0,
|
|
4496
|
-
builderTargetOffset: n ?
|
|
4527
|
+
builderTargetOffset: n ? tr({
|
|
4497
4528
|
event: e,
|
|
4498
4529
|
target: n
|
|
4499
4530
|
}) : void 0,
|
|
4500
4531
|
builderElementIndex: n && r ? [].slice.call(document.getElementsByClassName(r)).indexOf(n) : void 0
|
|
4501
4532
|
}
|
|
4502
4533
|
};
|
|
4503
|
-
},
|
|
4504
|
-
function
|
|
4505
|
-
let n =
|
|
4506
|
-
if (n || (n =
|
|
4534
|
+
}, da = "0.12.2", nr = {};
|
|
4535
|
+
function ha(e, t) {
|
|
4536
|
+
let n = nr[e];
|
|
4537
|
+
if (n || (n = nr[e] = []), n.push(t), G()) {
|
|
4507
4538
|
const r = {
|
|
4508
4539
|
type: "builder.register",
|
|
4509
4540
|
data: {
|
|
@@ -4518,8 +4549,8 @@ function fa(e, t) {
|
|
|
4518
4549
|
}
|
|
4519
4550
|
}
|
|
4520
4551
|
}
|
|
4521
|
-
const
|
|
4522
|
-
|
|
4552
|
+
const Va = () => {
|
|
4553
|
+
ha("insertMenu", {
|
|
4523
4554
|
name: "_default",
|
|
4524
4555
|
default: !0,
|
|
4525
4556
|
items: [{
|
|
@@ -4541,14 +4572,14 @@ const Ma = () => {
|
|
|
4541
4572
|
}]
|
|
4542
4573
|
});
|
|
4543
4574
|
};
|
|
4544
|
-
let
|
|
4545
|
-
const
|
|
4575
|
+
let rr = !1;
|
|
4576
|
+
const _a = (e = {}) => {
|
|
4546
4577
|
var t, n;
|
|
4547
|
-
|
|
4578
|
+
rr || (rr = !0, G() && ((t = window.parent) == null || t.postMessage({
|
|
4548
4579
|
type: "builder.sdkInfo",
|
|
4549
4580
|
data: {
|
|
4550
|
-
target:
|
|
4551
|
-
version:
|
|
4581
|
+
target: ve,
|
|
4582
|
+
version: da,
|
|
4552
4583
|
supportsPatchUpdates: !1,
|
|
4553
4584
|
// Supports builder-model="..." attribute which is needed to
|
|
4554
4585
|
// scope our '+ add block' button styling
|
|
@@ -4560,47 +4591,50 @@ const Ba = (e = {}) => {
|
|
|
4560
4591
|
data: {
|
|
4561
4592
|
options: e
|
|
4562
4593
|
}
|
|
4563
|
-
}, "*"), window.addEventListener("message", ({
|
|
4564
|
-
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
|
|
4568
|
-
|
|
4594
|
+
}, "*"), window.addEventListener("message", (r) => {
|
|
4595
|
+
var a, s;
|
|
4596
|
+
if (!Zi(e.trustedHosts, r))
|
|
4597
|
+
return;
|
|
4598
|
+
const {
|
|
4599
|
+
data: o
|
|
4600
|
+
} = r;
|
|
4601
|
+
if (o != null && o.type)
|
|
4602
|
+
switch (o.type) {
|
|
4569
4603
|
case "builder.evaluate": {
|
|
4570
|
-
const
|
|
4571
|
-
let
|
|
4604
|
+
const u = o.data.text, d = o.data.arguments || [], S = o.data.id, C = new Function(u);
|
|
4605
|
+
let b, P = null;
|
|
4572
4606
|
try {
|
|
4573
|
-
|
|
4574
|
-
} catch (
|
|
4575
|
-
|
|
4607
|
+
b = C.apply(null, d);
|
|
4608
|
+
} catch (j) {
|
|
4609
|
+
P = j;
|
|
4576
4610
|
}
|
|
4577
|
-
|
|
4611
|
+
P ? (a = window.parent) == null || a.postMessage({
|
|
4578
4612
|
type: "builder.evaluateError",
|
|
4579
4613
|
data: {
|
|
4580
|
-
id:
|
|
4581
|
-
error:
|
|
4614
|
+
id: S,
|
|
4615
|
+
error: P.message
|
|
4582
4616
|
}
|
|
4583
|
-
}, "*") :
|
|
4584
|
-
var
|
|
4585
|
-
(
|
|
4617
|
+
}, "*") : b && typeof b.then == "function" ? b.then((j) => {
|
|
4618
|
+
var k;
|
|
4619
|
+
(k = window.parent) == null || k.postMessage({
|
|
4586
4620
|
type: "builder.evaluateResult",
|
|
4587
4621
|
data: {
|
|
4588
|
-
id:
|
|
4589
|
-
result:
|
|
4622
|
+
id: S,
|
|
4623
|
+
result: j
|
|
4590
4624
|
}
|
|
4591
4625
|
}, "*");
|
|
4592
|
-
}).catch(console.error) : (
|
|
4626
|
+
}).catch(console.error) : (s = window.parent) == null || s.postMessage({
|
|
4593
4627
|
type: "builder.evaluateResult",
|
|
4594
4628
|
data: {
|
|
4595
|
-
result:
|
|
4596
|
-
id:
|
|
4629
|
+
result: b,
|
|
4630
|
+
id: S
|
|
4597
4631
|
}
|
|
4598
4632
|
}, "*");
|
|
4599
4633
|
break;
|
|
4600
4634
|
}
|
|
4601
4635
|
}
|
|
4602
4636
|
})));
|
|
4603
|
-
},
|
|
4637
|
+
}, ma = (e) => {
|
|
4604
4638
|
var a;
|
|
4605
4639
|
const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], r = e.fileUrl ?? ((a = e == null ? void 0 : e.files) == null ? void 0 : a.regular);
|
|
4606
4640
|
let o = "";
|
|
@@ -4626,22 +4660,22 @@ font-weight: ${s};
|
|
|
4626
4660
|
`.trim());
|
|
4627
4661
|
}
|
|
4628
4662
|
return o;
|
|
4629
|
-
},
|
|
4663
|
+
}, ga = ({
|
|
4630
4664
|
customFonts: e
|
|
4631
4665
|
}) => {
|
|
4632
4666
|
var t;
|
|
4633
|
-
return ((t = e == null ? void 0 : e.map((n) =>
|
|
4634
|
-
},
|
|
4667
|
+
return ((t = e == null ? void 0 : e.map((n) => ma(n))) == null ? void 0 : t.join(" ")) || "";
|
|
4668
|
+
}, ya = ({
|
|
4635
4669
|
cssCode: e,
|
|
4636
4670
|
contentId: t
|
|
4637
4671
|
}) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "";
|
|
4638
|
-
function
|
|
4672
|
+
function va(e) {
|
|
4639
4673
|
const t = `
|
|
4640
|
-
${
|
|
4674
|
+
${ya({
|
|
4641
4675
|
cssCode: e.cssCode,
|
|
4642
4676
|
contentId: e.contentId
|
|
4643
4677
|
})}
|
|
4644
|
-
${
|
|
4678
|
+
${ga({
|
|
4645
4679
|
customFonts: e.customFonts
|
|
4646
4680
|
})}
|
|
4647
4681
|
|
|
@@ -4660,7 +4694,7 @@ ${da({
|
|
|
4660
4694
|
`.trim();
|
|
4661
4695
|
return /* @__PURE__ */ E(dt, { styles: t });
|
|
4662
4696
|
}
|
|
4663
|
-
const
|
|
4697
|
+
const ba = ({
|
|
4664
4698
|
content: e,
|
|
4665
4699
|
data: t,
|
|
4666
4700
|
locale: n
|
|
@@ -4677,7 +4711,7 @@ const ga = ({
|
|
|
4677
4711
|
locale: n
|
|
4678
4712
|
} : {}
|
|
4679
4713
|
};
|
|
4680
|
-
},
|
|
4714
|
+
}, wa = ({
|
|
4681
4715
|
content: e,
|
|
4682
4716
|
data: t
|
|
4683
4717
|
}) => e ? {
|
|
@@ -4688,38 +4722,38 @@ const ga = ({
|
|
|
4688
4722
|
},
|
|
4689
4723
|
meta: e == null ? void 0 : e.meta
|
|
4690
4724
|
} : void 0;
|
|
4691
|
-
function
|
|
4692
|
-
var o, a, s, u, d,
|
|
4693
|
-
const t =
|
|
4725
|
+
function or(e) {
|
|
4726
|
+
var o, a, s, u, d, S, C, b, P;
|
|
4727
|
+
const t = Fi({
|
|
4694
4728
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
|
|
4695
4729
|
variationId: (o = e.content) == null ? void 0 : o.testVariationId,
|
|
4696
4730
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
|
|
4697
4731
|
contentId: (a = e.content) == null ? void 0 : a.id
|
|
4698
4732
|
}), n = [
|
|
4699
|
-
...
|
|
4733
|
+
...zn(),
|
|
4700
4734
|
// While this `components` object is deprecated, we must maintain support for it.
|
|
4701
4735
|
// Since users are able to override our default components, we need to make sure that we do not break such
|
|
4702
4736
|
// existing usage.
|
|
4703
4737
|
// This is why we spread `components` after the default Builder.io components, but before the `props.customComponents`,
|
|
4704
4738
|
// which is the new standard way of providing custom components, and must therefore take precedence.
|
|
4705
|
-
...
|
|
4739
|
+
...qn,
|
|
4706
4740
|
...e.customComponents || []
|
|
4707
4741
|
].reduce(
|
|
4708
|
-
(j, { component:
|
|
4742
|
+
(j, { component: k, ...x }) => ({
|
|
4709
4743
|
...j,
|
|
4710
|
-
[
|
|
4711
|
-
component:
|
|
4712
|
-
...Kt(
|
|
4744
|
+
[x.name]: {
|
|
4745
|
+
component: k,
|
|
4746
|
+
...Kt(x)
|
|
4713
4747
|
}
|
|
4714
4748
|
}),
|
|
4715
4749
|
{}
|
|
4716
4750
|
), r = {
|
|
4717
|
-
content:
|
|
4751
|
+
content: wa({
|
|
4718
4752
|
content: e.content,
|
|
4719
4753
|
data: e.data
|
|
4720
4754
|
}),
|
|
4721
4755
|
localState: void 0,
|
|
4722
|
-
rootState:
|
|
4756
|
+
rootState: ba({
|
|
4723
4757
|
content: e.content,
|
|
4724
4758
|
data: e.data,
|
|
4725
4759
|
locale: e.locale
|
|
@@ -4729,18 +4763,18 @@ function ar(e) {
|
|
|
4729
4763
|
apiKey: e.apiKey,
|
|
4730
4764
|
apiVersion: e.apiVersion,
|
|
4731
4765
|
componentInfos: [
|
|
4732
|
-
...
|
|
4766
|
+
...zn(),
|
|
4733
4767
|
// While this `components` object is deprecated, we must maintain support for it.
|
|
4734
4768
|
// Since users are able to override our default components, we need to make sure that we do not break such
|
|
4735
4769
|
// existing usage.
|
|
4736
4770
|
// This is why we spread `components` after the default Builder.io components, but before the `props.customComponents`,
|
|
4737
4771
|
// which is the new standard way of providing custom components, and must therefore take precedence.
|
|
4738
|
-
...
|
|
4772
|
+
...qn,
|
|
4739
4773
|
...e.customComponents || []
|
|
4740
4774
|
].reduce(
|
|
4741
|
-
(j, { component:
|
|
4775
|
+
(j, { component: k, ...x }) => ({
|
|
4742
4776
|
...j,
|
|
4743
|
-
[
|
|
4777
|
+
[x.name]: Kt(x)
|
|
4744
4778
|
}),
|
|
4745
4779
|
{}
|
|
4746
4780
|
),
|
|
@@ -4748,8 +4782,8 @@ function ar(e) {
|
|
|
4748
4782
|
BlocksWrapper: e.blocksWrapper || "div",
|
|
4749
4783
|
BlocksWrapperProps: e.blocksWrapperProps || {}
|
|
4750
4784
|
};
|
|
4751
|
-
return /* @__PURE__ */
|
|
4752
|
-
|
|
4785
|
+
return /* @__PURE__ */ Se(
|
|
4786
|
+
co,
|
|
4753
4787
|
{
|
|
4754
4788
|
content: e.content,
|
|
4755
4789
|
data: e.data,
|
|
@@ -4764,20 +4798,21 @@ function ar(e) {
|
|
|
4764
4798
|
builderContextSignal: r,
|
|
4765
4799
|
contentWrapper: e.contentWrapper,
|
|
4766
4800
|
contentWrapperProps: e.contentWrapperProps,
|
|
4801
|
+
trustedHosts: e.trustedHosts,
|
|
4767
4802
|
children: [
|
|
4768
|
-
e.isSsrAbTest ? /* @__PURE__ */ E(
|
|
4769
|
-
/* @__PURE__ */ E(
|
|
4770
|
-
|
|
4803
|
+
e.isSsrAbTest ? /* @__PURE__ */ E(L, { children: /* @__PURE__ */ E(Gt, { scriptStr: t }) }) : null,
|
|
4804
|
+
/* @__PURE__ */ E(L, { children: /* @__PURE__ */ E(
|
|
4805
|
+
va,
|
|
4771
4806
|
{
|
|
4772
4807
|
contentId: (s = r.content) == null ? void 0 : s.id,
|
|
4773
4808
|
cssCode: (d = (u = r.content) == null ? void 0 : u.data) == null ? void 0 : d.cssCode,
|
|
4774
|
-
customFonts: (
|
|
4809
|
+
customFonts: (C = (S = r.content) == null ? void 0 : S.data) == null ? void 0 : C.customFonts
|
|
4775
4810
|
}
|
|
4776
4811
|
) }),
|
|
4777
4812
|
/* @__PURE__ */ E(
|
|
4778
|
-
|
|
4813
|
+
mt,
|
|
4779
4814
|
{
|
|
4780
|
-
blocks: (P = (
|
|
4815
|
+
blocks: (P = (b = r.content) == null ? void 0 : b.data) == null ? void 0 : P.blocks,
|
|
4781
4816
|
context: r,
|
|
4782
4817
|
registeredComponents: n
|
|
4783
4818
|
}
|
|
@@ -4786,17 +4821,17 @@ function ar(e) {
|
|
|
4786
4821
|
}
|
|
4787
4822
|
);
|
|
4788
4823
|
}
|
|
4789
|
-
function
|
|
4824
|
+
function Nr(e) {
|
|
4790
4825
|
var a, s;
|
|
4791
|
-
const t =
|
|
4826
|
+
const t = Ni({
|
|
4792
4827
|
canTrack: Ht(e.canTrack),
|
|
4793
4828
|
content: e.content
|
|
4794
4829
|
}), n = function() {
|
|
4795
4830
|
var d;
|
|
4796
|
-
return
|
|
4797
|
-
st(e.content).map((
|
|
4798
|
-
id:
|
|
4799
|
-
testRatio:
|
|
4831
|
+
return Ui(
|
|
4832
|
+
st(e.content).map((S) => ({
|
|
4833
|
+
id: S.testVariationId,
|
|
4834
|
+
testRatio: S.testRatio
|
|
4800
4835
|
})),
|
|
4801
4836
|
((d = e.content) == null ? void 0 : d.id) || ""
|
|
4802
4837
|
);
|
|
@@ -4807,14 +4842,14 @@ function Br(e) {
|
|
|
4807
4842
|
return t ? {
|
|
4808
4843
|
...e.content,
|
|
4809
4844
|
testVariationId: (d = e.content) == null ? void 0 : d.id
|
|
4810
|
-
} :
|
|
4845
|
+
} : pi({
|
|
4811
4846
|
item: e.content,
|
|
4812
4847
|
canTrack: Ht(e.canTrack)
|
|
4813
4848
|
});
|
|
4814
4849
|
};
|
|
4815
|
-
return /* @__PURE__ */
|
|
4816
|
-
!e.__isNestedRender &&
|
|
4817
|
-
t ? /* @__PURE__ */
|
|
4850
|
+
return /* @__PURE__ */ Se(L, { children: [
|
|
4851
|
+
!e.__isNestedRender && ve !== "reactNative" ? /* @__PURE__ */ E(L, { children: /* @__PURE__ */ E(Gt, { scriptStr: Mi() }) }) : null,
|
|
4852
|
+
t ? /* @__PURE__ */ Se(L, { children: [
|
|
4818
4853
|
/* @__PURE__ */ E(
|
|
4819
4854
|
dt,
|
|
4820
4855
|
{
|
|
@@ -4824,7 +4859,7 @@ function Br(e) {
|
|
|
4824
4859
|
),
|
|
4825
4860
|
/* @__PURE__ */ E(Gt, { scriptStr: n() }),
|
|
4826
4861
|
(s = st(e.content)) == null ? void 0 : s.map((u) => /* @__PURE__ */ E(
|
|
4827
|
-
|
|
4862
|
+
or,
|
|
4828
4863
|
{
|
|
4829
4864
|
content: u,
|
|
4830
4865
|
showContent: !1,
|
|
@@ -4842,13 +4877,14 @@ function Br(e) {
|
|
|
4842
4877
|
blocksWrapper: e.blocksWrapper,
|
|
4843
4878
|
blocksWrapperProps: e.blocksWrapperProps,
|
|
4844
4879
|
contentWrapper: e.contentWrapper,
|
|
4845
|
-
contentWrapperProps: e.contentWrapperProps
|
|
4880
|
+
contentWrapperProps: e.contentWrapperProps,
|
|
4881
|
+
trustedHosts: e.trustedHosts
|
|
4846
4882
|
},
|
|
4847
4883
|
u.testVariationId
|
|
4848
4884
|
))
|
|
4849
4885
|
] }) : null,
|
|
4850
4886
|
/* @__PURE__ */ E(
|
|
4851
|
-
|
|
4887
|
+
or,
|
|
4852
4888
|
{
|
|
4853
4889
|
content: o(),
|
|
4854
4890
|
showContent: !0,
|
|
@@ -4866,18 +4902,19 @@ function Br(e) {
|
|
|
4866
4902
|
blocksWrapper: e.blocksWrapper,
|
|
4867
4903
|
blocksWrapperProps: e.blocksWrapperProps,
|
|
4868
4904
|
contentWrapper: e.contentWrapper,
|
|
4869
|
-
contentWrapperProps: e.contentWrapperProps
|
|
4905
|
+
contentWrapperProps: e.contentWrapperProps,
|
|
4906
|
+
trustedHosts: e.trustedHosts
|
|
4870
4907
|
}
|
|
4871
4908
|
)
|
|
4872
4909
|
] });
|
|
4873
4910
|
}
|
|
4874
|
-
const
|
|
4911
|
+
const xa = async ({
|
|
4875
4912
|
builderContextValue: e,
|
|
4876
4913
|
symbol: t
|
|
4877
4914
|
}) => {
|
|
4878
4915
|
if (t != null && t.model && // This is a hack, we should not need to check for this, but it is needed for Svelte.
|
|
4879
4916
|
(e != null && e.apiKey))
|
|
4880
|
-
return
|
|
4917
|
+
return cn({
|
|
4881
4918
|
model: t.model,
|
|
4882
4919
|
apiKey: e.apiKey,
|
|
4883
4920
|
apiVersion: e.apiVersion,
|
|
@@ -4890,50 +4927,53 @@ const va = async ({
|
|
|
4890
4927
|
q.error("Could not fetch symbol content: ", n);
|
|
4891
4928
|
});
|
|
4892
4929
|
};
|
|
4893
|
-
async function
|
|
4894
|
-
var r, o, a, s;
|
|
4930
|
+
async function Sa(e) {
|
|
4931
|
+
var r, o, a, s, u;
|
|
4895
4932
|
const t = function() {
|
|
4896
|
-
var
|
|
4933
|
+
var S, C;
|
|
4897
4934
|
return [
|
|
4898
4935
|
e.attributes.className,
|
|
4899
4936
|
"builder-symbol",
|
|
4900
|
-
(
|
|
4901
|
-
(
|
|
4937
|
+
(S = e.symbol) != null && S.inline ? "builder-inline-symbol" : void 0,
|
|
4938
|
+
(C = e.symbol) != null && C.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
|
|
4902
4939
|
].filter(Boolean).join(" ");
|
|
4903
|
-
}, n = ((r = e.symbol) == null ? void 0 : r.content) || await
|
|
4940
|
+
}, n = ((r = e.symbol) == null ? void 0 : r.content) || await xa({
|
|
4904
4941
|
symbol: e.symbol,
|
|
4905
4942
|
builderContextValue: e.builderContext
|
|
4906
4943
|
});
|
|
4907
4944
|
return /* @__PURE__ */ E("div", { ...e.attributes, className: t(), children: /* @__PURE__ */ E(
|
|
4908
|
-
|
|
4945
|
+
Nr,
|
|
4909
4946
|
{
|
|
4910
4947
|
__isNestedRender: !0,
|
|
4911
4948
|
apiVersion: e.builderContext.apiVersion,
|
|
4912
4949
|
apiKey: e.builderContext.apiKey,
|
|
4913
|
-
context:
|
|
4950
|
+
context: {
|
|
4951
|
+
...e.builderContext.context,
|
|
4952
|
+
symbolId: (o = e.builderBlock) == null ? void 0 : o.id
|
|
4953
|
+
},
|
|
4914
4954
|
customComponents: Object.values(e.builderComponents),
|
|
4915
4955
|
data: {
|
|
4916
|
-
...(
|
|
4956
|
+
...(a = e.symbol) == null ? void 0 : a.data,
|
|
4917
4957
|
...e.builderContext.localState,
|
|
4918
|
-
...(
|
|
4958
|
+
...(s = n == null ? void 0 : n.data) == null ? void 0 : s.state
|
|
4919
4959
|
},
|
|
4920
|
-
model: (
|
|
4960
|
+
model: (u = e.symbol) == null ? void 0 : u.model,
|
|
4921
4961
|
content: n
|
|
4922
4962
|
}
|
|
4923
4963
|
) });
|
|
4924
4964
|
}
|
|
4925
|
-
const
|
|
4926
|
-
function
|
|
4965
|
+
const Da = mt, La = Nr, ir = {};
|
|
4966
|
+
function Wa(e) {
|
|
4927
4967
|
if (G()) {
|
|
4928
|
-
Object.assign(
|
|
4968
|
+
Object.assign(ir, e);
|
|
4929
4969
|
const t = {
|
|
4930
4970
|
type: "builder.settingsChange",
|
|
4931
|
-
data:
|
|
4971
|
+
data: ir
|
|
4932
4972
|
};
|
|
4933
4973
|
parent.postMessage(t, "*");
|
|
4934
4974
|
}
|
|
4935
4975
|
}
|
|
4936
|
-
const
|
|
4976
|
+
const $a = async (e) => {
|
|
4937
4977
|
var r, o, a;
|
|
4938
4978
|
const t = e.path || ((r = e.url) == null ? void 0 : r.pathname) || ((o = e.userAttributes) == null ? void 0 : o.urlPath), n = {
|
|
4939
4979
|
...e,
|
|
@@ -4945,48 +4985,50 @@ const _a = async (e) => {
|
|
|
4945
4985
|
urlPath: t
|
|
4946
4986
|
} : {}
|
|
4947
4987
|
},
|
|
4948
|
-
options:
|
|
4988
|
+
options: Ir(e.searchParams || ((a = e.url) == null ? void 0 : a.searchParams) || e.options)
|
|
4949
4989
|
};
|
|
4950
4990
|
return {
|
|
4951
4991
|
apiKey: n.apiKey,
|
|
4952
4992
|
model: n.model,
|
|
4953
|
-
content: await
|
|
4993
|
+
content: await cn(n)
|
|
4954
4994
|
};
|
|
4955
4995
|
};
|
|
4956
4996
|
export {
|
|
4957
|
-
|
|
4958
|
-
|
|
4959
|
-
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
Ua as
|
|
4963
|
-
|
|
4964
|
-
|
|
4965
|
-
|
|
4966
|
-
|
|
4967
|
-
|
|
4968
|
-
|
|
4969
|
-
|
|
4970
|
-
|
|
4971
|
-
Ra as
|
|
4972
|
-
|
|
4973
|
-
|
|
4974
|
-
|
|
4975
|
-
|
|
4976
|
-
|
|
4997
|
+
Ba as A,
|
|
4998
|
+
mt as B,
|
|
4999
|
+
Nr as C,
|
|
5000
|
+
Na as D,
|
|
5001
|
+
Ir as E,
|
|
5002
|
+
Ua as F,
|
|
5003
|
+
$a as G,
|
|
5004
|
+
Da as R,
|
|
5005
|
+
Sa as S,
|
|
5006
|
+
Ti as T,
|
|
5007
|
+
ua as _,
|
|
5008
|
+
Aa as a,
|
|
5009
|
+
Xt as b,
|
|
5010
|
+
ja as c,
|
|
5011
|
+
Ra as d,
|
|
5012
|
+
G as e,
|
|
5013
|
+
Ht as f,
|
|
5014
|
+
Jo as g,
|
|
5015
|
+
Ma as h,
|
|
5016
|
+
Oa as i,
|
|
5017
|
+
Zi as j,
|
|
5018
|
+
an as k,
|
|
4977
5019
|
q as l,
|
|
4978
|
-
|
|
4979
|
-
|
|
4980
|
-
|
|
4981
|
-
|
|
4982
|
-
|
|
4983
|
-
|
|
4984
|
-
|
|
4985
|
-
|
|
4986
|
-
|
|
4987
|
-
|
|
4988
|
-
|
|
4989
|
-
|
|
4990
|
-
|
|
4991
|
-
|
|
5020
|
+
Fa as m,
|
|
5021
|
+
pt as n,
|
|
5022
|
+
Pa as o,
|
|
5023
|
+
cn as p,
|
|
5024
|
+
$i as q,
|
|
5025
|
+
Va as r,
|
|
5026
|
+
_a as s,
|
|
5027
|
+
_i as t,
|
|
5028
|
+
La as u,
|
|
5029
|
+
ei as v,
|
|
5030
|
+
ha as w,
|
|
5031
|
+
Wa as x,
|
|
5032
|
+
zi as y,
|
|
5033
|
+
Ar as z
|
|
4992
5034
|
};
|