@builder.io/sdk-react 0.6.3 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/browser/index.cjs +22 -22
- package/lib/browser/index.mjs +398 -400
- package/lib/{node/server-entry-f7504f89.mjs → browser/server-entry-f341a184.mjs} +33 -30
- package/lib/browser/{server-entry-2e639417.js → server-entry-f668f903.js} +1 -1
- package/lib/browser/server-entry.cjs +1 -1
- package/lib/browser/server-entry.mjs +1 -1
- package/lib/edge/index.cjs +25 -25
- package/lib/edge/index.mjs +1080 -1082
- package/lib/{browser/server-entry-f7504f89.mjs → edge/server-entry-f341a184.mjs} +33 -30
- package/lib/{node/server-entry-2e639417.js → edge/server-entry-f668f903.js} +1 -1
- package/lib/edge/server-entry.cjs +1 -1
- package/lib/edge/server-entry.mjs +1 -1
- package/lib/node/index.cjs +22 -22
- package/lib/node/index.mjs +398 -400
- package/lib/{edge/server-entry-f7504f89.mjs → node/server-entry-f341a184.mjs} +33 -30
- package/lib/{edge/server-entry-2e639417.js → node/server-entry-f668f903.js} +1 -1
- package/lib/node/server-entry.cjs +1 -1
- package/lib/node/server-entry.mjs +1 -1
- package/package.json +2 -1
- package/types/constants/sdk-version.d.ts +1 -1
package/lib/edge/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as Z, Fragment as
|
|
3
|
-
import { createContext as cr, useState as
|
|
4
|
-
import { j as
|
|
5
|
-
import { _ as Oo, h as No, f as Po, g as Mo, e as Fo, d as Uo, s as Bo, t as _o } from "./server-entry-
|
|
2
|
+
import { jsxs as Z, Fragment as F, jsx as m } from "react/jsx-runtime";
|
|
3
|
+
import { createContext as cr, useState as W, useContext as Hn, createElement as Vr, useRef as Yt, useEffect as ae } from "react";
|
|
4
|
+
import { j as qt, l as Oe, i as ke, k as Ne, m as Dr, n as Ht, T as et, r as Wr, c as Hr, o as Kn, p as ft, a as Kr, b as ur, q as Gr, u as Gn, v as zn, w as zr } from "./server-entry-f341a184.mjs";
|
|
5
|
+
import { _ as Oo, h as No, f as Po, g as Mo, e as Fo, d as Uo, s as Bo, t as _o } from "./server-entry-f341a184.mjs";
|
|
6
6
|
function Xr(e) {
|
|
7
|
-
return /* @__PURE__ */ Z(
|
|
8
|
-
e.link ? /* @__PURE__ */ m(
|
|
7
|
+
return /* @__PURE__ */ Z(F, { children: [
|
|
8
|
+
e.link ? /* @__PURE__ */ m(F, { children: /* @__PURE__ */ m(
|
|
9
9
|
"a",
|
|
10
10
|
{
|
|
11
11
|
role: "button",
|
|
@@ -14,7 +14,7 @@ function Xr(e) {
|
|
|
14
14
|
target: e.openLinkInNewTab ? "_blank" : void 0,
|
|
15
15
|
children: e.text
|
|
16
16
|
}
|
|
17
|
-
) }) : /* @__PURE__ */ m(
|
|
17
|
+
) }) : /* @__PURE__ */ m(F, { children: /* @__PURE__ */ m(
|
|
18
18
|
"button",
|
|
19
19
|
{
|
|
20
20
|
...e.attributes,
|
|
@@ -48,7 +48,7 @@ const fr = {
|
|
|
48
48
|
small: e,
|
|
49
49
|
medium: t
|
|
50
50
|
}) => {
|
|
51
|
-
const r =
|
|
51
|
+
const r = qt(fr);
|
|
52
52
|
if (!e || !t)
|
|
53
53
|
return r;
|
|
54
54
|
const n = Math.floor(e / 2);
|
|
@@ -76,26 +76,26 @@ const fr = {
|
|
|
76
76
|
const n = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
|
|
77
77
|
return n.slice(0, -1).reduce((i, a, s) => Object(i[a]) === i[a] ? i[a] : i[a] = Math.abs(Number(n[s + 1])) >> 0 === +n[s + 1] ? [] : {}, e)[n[n.length - 1]] = r, e;
|
|
78
78
|
};
|
|
79
|
-
var
|
|
79
|
+
var _, Jr = function(e) {
|
|
80
80
|
function t(o) {
|
|
81
81
|
return 48 > o ? o === 36 : 58 > o ? !0 : 65 > o ? !1 : 91 > o ? !0 : 97 > o ? o === 95 : 123 > o ? !0 : 170 <= o && $r.test(String.fromCharCode(o));
|
|
82
82
|
}
|
|
83
83
|
function r(o) {
|
|
84
|
-
return 65 > o ? o === 36 : 91 > o ? !0 : 97 > o ? o === 95 : 123 > o ? !0 : 170 <= o &&
|
|
84
|
+
return 65 > o ? o === 36 : 91 > o ? !0 : 97 > o ? o === 95 : 123 > o ? !0 : 170 <= o && Wn.test(String.fromCharCode(o));
|
|
85
85
|
}
|
|
86
86
|
function n(o, l) {
|
|
87
|
-
for (var c =
|
|
88
|
-
ct.lastIndex =
|
|
87
|
+
for (var c = S, h = 1, A = 0; ; ) {
|
|
88
|
+
ct.lastIndex = A;
|
|
89
89
|
var X = ct.exec(c);
|
|
90
90
|
if (X && X.index < o)
|
|
91
|
-
++h,
|
|
91
|
+
++h, A = X.index + X[0].length;
|
|
92
92
|
else
|
|
93
93
|
break;
|
|
94
94
|
}
|
|
95
95
|
throw c = {
|
|
96
96
|
line: h,
|
|
97
|
-
ab: o -
|
|
98
|
-
}, l += " (" + c.line + ":" + c.ab + ")", l = new SyntaxError(l), l.j = o, l.X = c, l.o =
|
|
97
|
+
ab: o - A
|
|
98
|
+
}, l += " (" + c.line + ":" + c.ab + ")", l = new SyntaxError(l), l.j = o, l.X = c, l.o = f, l;
|
|
99
99
|
}
|
|
100
100
|
function i(o) {
|
|
101
101
|
o = o.split(" ");
|
|
@@ -106,43 +106,43 @@ var L, Jr = function(e) {
|
|
|
106
106
|
};
|
|
107
107
|
}
|
|
108
108
|
function a() {
|
|
109
|
-
this.line =
|
|
109
|
+
this.line = Se, this.ab = f - fe;
|
|
110
110
|
}
|
|
111
111
|
function s(o, l) {
|
|
112
|
-
|
|
112
|
+
Ee = f, O.C && (It = new a()), j = o, d(), oe = l, $e = o.m;
|
|
113
113
|
}
|
|
114
|
-
function
|
|
115
|
-
for (var o =
|
|
116
|
-
++
|
|
117
|
-
O.va && O.va(!1,
|
|
114
|
+
function u() {
|
|
115
|
+
for (var o = f, l = O.va && O.C && new a(), c = S.charCodeAt(f += 2); f < Ce && c !== 10 && c !== 13 && c !== 8232 && c !== 8233; )
|
|
116
|
+
++f, c = S.charCodeAt(f);
|
|
117
|
+
O.va && O.va(!1, S.slice(o + 2, f), o, f, l, O.C && new a());
|
|
118
118
|
}
|
|
119
119
|
function d() {
|
|
120
|
-
for (;
|
|
121
|
-
var o =
|
|
120
|
+
for (; f < Ce; ) {
|
|
121
|
+
var o = S.charCodeAt(f);
|
|
122
122
|
if (o === 32)
|
|
123
|
-
++
|
|
123
|
+
++f;
|
|
124
124
|
else if (o === 13)
|
|
125
|
-
++
|
|
125
|
+
++f, o = S.charCodeAt(f), o === 10 && ++f, O.C && (++Se, fe = f);
|
|
126
126
|
else if (o === 10 || o === 8232 || o === 8233)
|
|
127
|
-
++
|
|
127
|
+
++f, O.C && (++Se, fe = f);
|
|
128
128
|
else if (8 < o && 14 > o)
|
|
129
|
-
++
|
|
129
|
+
++f;
|
|
130
130
|
else if (o === 47)
|
|
131
|
-
if (o =
|
|
131
|
+
if (o = S.charCodeAt(f + 1), o === 42) {
|
|
132
132
|
o = void 0;
|
|
133
|
-
var l = O.va && O.C && new a(), c =
|
|
134
|
-
if (h === -1 && n(
|
|
135
|
-
for (ct.lastIndex = c; (o = ct.exec(
|
|
136
|
-
++
|
|
137
|
-
O.va && O.va(!0,
|
|
133
|
+
var l = O.va && O.C && new a(), c = f, h = S.indexOf("*/", f += 2);
|
|
134
|
+
if (h === -1 && n(f - 2, "Unterminated comment"), f = h + 2, O.C)
|
|
135
|
+
for (ct.lastIndex = c; (o = ct.exec(S)) && o.index < f; )
|
|
136
|
+
++Se, fe = o.index + o[0].length;
|
|
137
|
+
O.va && O.va(!0, S.slice(c + 2, h), c, f, l, O.C && new a());
|
|
138
138
|
} else if (o === 47)
|
|
139
|
-
|
|
139
|
+
u();
|
|
140
140
|
else
|
|
141
141
|
break;
|
|
142
142
|
else if (o === 160)
|
|
143
|
-
++
|
|
143
|
+
++f;
|
|
144
144
|
else if (5760 <= o && _r.test(String.fromCharCode(o)))
|
|
145
|
-
++
|
|
145
|
+
++f;
|
|
146
146
|
else
|
|
147
147
|
break;
|
|
148
148
|
}
|
|
@@ -150,31 +150,31 @@ var L, Jr = function(e) {
|
|
|
150
150
|
function p(o) {
|
|
151
151
|
switch (o) {
|
|
152
152
|
case 46:
|
|
153
|
-
o =
|
|
153
|
+
o = S.charCodeAt(f + 1), 48 <= o && 57 >= o ? C(!0) : (++f, s(Fn));
|
|
154
154
|
return;
|
|
155
155
|
case 40:
|
|
156
|
-
return ++
|
|
156
|
+
return ++f, s(de);
|
|
157
157
|
case 41:
|
|
158
|
-
return ++
|
|
158
|
+
return ++f, s(ce);
|
|
159
159
|
case 59:
|
|
160
|
-
return ++
|
|
160
|
+
return ++f, s(he);
|
|
161
161
|
case 44:
|
|
162
|
-
return ++
|
|
162
|
+
return ++f, s(xe);
|
|
163
163
|
case 91:
|
|
164
|
-
return ++
|
|
164
|
+
return ++f, s(Ut);
|
|
165
165
|
case 93:
|
|
166
|
-
return ++
|
|
166
|
+
return ++f, s(Bt);
|
|
167
167
|
case 123:
|
|
168
|
-
return ++
|
|
168
|
+
return ++f, s(De);
|
|
169
169
|
case 125:
|
|
170
|
-
return ++
|
|
170
|
+
return ++f, s(Te);
|
|
171
171
|
case 58:
|
|
172
|
-
return ++
|
|
172
|
+
return ++f, s(We);
|
|
173
173
|
case 63:
|
|
174
|
-
return ++
|
|
174
|
+
return ++f, s(Un);
|
|
175
175
|
case 48:
|
|
176
|
-
if (o =
|
|
177
|
-
|
|
176
|
+
if (o = S.charCodeAt(f + 1), o === 120 || o === 88) {
|
|
177
|
+
f += 2, o = U(16), o === null && n(z + 2, "Expected hexadecimal number"), r(S.charCodeAt(f)) && n(f, "Identifier directly after number"), s(Ve, o);
|
|
178
178
|
return;
|
|
179
179
|
}
|
|
180
180
|
case 49:
|
|
@@ -186,24 +186,24 @@ var L, Jr = function(e) {
|
|
|
186
186
|
case 55:
|
|
187
187
|
case 56:
|
|
188
188
|
case 57:
|
|
189
|
-
return
|
|
189
|
+
return C(!1);
|
|
190
190
|
case 34:
|
|
191
191
|
case 39:
|
|
192
|
-
|
|
192
|
+
f++;
|
|
193
193
|
for (var l = ""; ; ) {
|
|
194
|
-
|
|
195
|
-
var c =
|
|
194
|
+
f >= Ce && n(z, "Unterminated string constant");
|
|
195
|
+
var c = S.charCodeAt(f);
|
|
196
196
|
if (c === o) {
|
|
197
|
-
++
|
|
197
|
+
++f, s(ot, l);
|
|
198
198
|
break;
|
|
199
199
|
}
|
|
200
200
|
if (c === 92) {
|
|
201
|
-
c =
|
|
202
|
-
var h = /^[0-7]+/.exec(
|
|
201
|
+
c = S.charCodeAt(++f);
|
|
202
|
+
var h = /^[0-7]+/.exec(S.slice(f, f + 3));
|
|
203
203
|
for (h && (h = h[0]); h && 255 < parseInt(h, 8); )
|
|
204
204
|
h = h.slice(0, -1);
|
|
205
|
-
if (h === "0" && (h = null), ++
|
|
206
|
-
|
|
205
|
+
if (h === "0" && (h = null), ++f, h)
|
|
206
|
+
ne && n(f - 2, "Octal literal in strict mode"), l += String.fromCharCode(parseInt(h, 8)), f += h.length - 1;
|
|
207
207
|
else
|
|
208
208
|
switch (c) {
|
|
209
209
|
case 110:
|
|
@@ -214,13 +214,13 @@ var L, Jr = function(e) {
|
|
|
214
214
|
l += "\r";
|
|
215
215
|
break;
|
|
216
216
|
case 120:
|
|
217
|
-
l += String.fromCharCode(
|
|
217
|
+
l += String.fromCharCode(T(2));
|
|
218
218
|
break;
|
|
219
219
|
case 117:
|
|
220
|
-
l += String.fromCharCode(
|
|
220
|
+
l += String.fromCharCode(T(4));
|
|
221
221
|
break;
|
|
222
222
|
case 85:
|
|
223
|
-
l += String.fromCharCode(
|
|
223
|
+
l += String.fromCharCode(T(8));
|
|
224
224
|
break;
|
|
225
225
|
case 116:
|
|
226
226
|
l += " ";
|
|
@@ -238,69 +238,69 @@ var L, Jr = function(e) {
|
|
|
238
238
|
l += "\0";
|
|
239
239
|
break;
|
|
240
240
|
case 13:
|
|
241
|
-
|
|
241
|
+
S.charCodeAt(f) === 10 && ++f;
|
|
242
242
|
case 10:
|
|
243
|
-
O.C && (
|
|
243
|
+
O.C && (fe = f, ++Se);
|
|
244
244
|
break;
|
|
245
245
|
default:
|
|
246
246
|
l += String.fromCharCode(c);
|
|
247
247
|
}
|
|
248
248
|
} else
|
|
249
|
-
c !== 13 && c !== 10 && c !== 8232 && c !== 8233 || n(z, "Unterminated string constant"), l += String.fromCharCode(c), ++
|
|
249
|
+
c !== 13 && c !== 10 && c !== 8232 && c !== 8233 || n(z, "Unterminated string constant"), l += String.fromCharCode(c), ++f;
|
|
250
250
|
}
|
|
251
251
|
return;
|
|
252
252
|
case 47:
|
|
253
|
-
o =
|
|
253
|
+
o = S.charCodeAt(f + 1), $e ? (++f, P()) : o === 61 ? b(we, 2) : b(Bn, 1);
|
|
254
254
|
return;
|
|
255
255
|
case 37:
|
|
256
256
|
case 42:
|
|
257
|
-
|
|
257
|
+
S.charCodeAt(f + 1) === 61 ? b(we, 2) : b(Fr, 1);
|
|
258
258
|
return;
|
|
259
259
|
case 124:
|
|
260
260
|
case 38:
|
|
261
|
-
l =
|
|
261
|
+
l = S.charCodeAt(f + 1), l === o ? b(o === 124 ? Ln : Vn, 2) : l === 61 ? b(we, 2) : b(o === 124 ? jr : Rr, 1);
|
|
262
262
|
return;
|
|
263
263
|
case 94:
|
|
264
|
-
|
|
264
|
+
S.charCodeAt(f + 1) === 61 ? b(we, 2) : b(Ar, 1);
|
|
265
265
|
return;
|
|
266
266
|
case 43:
|
|
267
267
|
case 45:
|
|
268
|
-
l =
|
|
268
|
+
l = S.charCodeAt(f + 1), l === o ? l === 45 && S.charCodeAt(f + 2) === 62 && lt.test(S.slice(ve, f)) ? (f += 3, u(), d(), y()) : b(Tr, 2) : l === 61 ? b(we, 2) : b(Mr, 1);
|
|
269
269
|
return;
|
|
270
270
|
case 60:
|
|
271
271
|
case 62:
|
|
272
|
-
l =
|
|
272
|
+
l = S.charCodeAt(f + 1), c = 1, l === o ? (c = o === 62 && S.charCodeAt(f + 2) === 62 ? 3 : 2, S.charCodeAt(f + c) === 61 ? b(we, c + 1) : b(Pr, c)) : l === 33 && o === 60 && S.charCodeAt(f + 2) === 45 && S.charCodeAt(f + 3) === 45 ? (f += 4, u(), d(), y()) : (l === 61 && (c = S.charCodeAt(f + 2) === 61 ? 3 : 2), b(Nr, c));
|
|
273
273
|
return;
|
|
274
274
|
case 61:
|
|
275
275
|
case 33:
|
|
276
|
-
|
|
276
|
+
S.charCodeAt(f + 1) === 61 ? b(Or, S.charCodeAt(f + 2) === 61 ? 3 : 2) : b(o === 61 ? _n : $n, 1);
|
|
277
277
|
return;
|
|
278
278
|
case 126:
|
|
279
|
-
return
|
|
279
|
+
return b($n, 1);
|
|
280
280
|
}
|
|
281
281
|
return !1;
|
|
282
282
|
}
|
|
283
283
|
function y(o) {
|
|
284
|
-
if (o ?
|
|
284
|
+
if (o ? f = z + 1 : z = f, O.C && (Et = new a()), o)
|
|
285
285
|
return P();
|
|
286
|
-
if (
|
|
286
|
+
if (f >= Ce)
|
|
287
287
|
return s(At);
|
|
288
|
-
if (o =
|
|
289
|
-
return
|
|
288
|
+
if (o = S.charCodeAt(f), r(o) || o === 92)
|
|
289
|
+
return $();
|
|
290
290
|
if (p(o) === !1) {
|
|
291
|
-
if (o = String.fromCharCode(o), o === "\\" ||
|
|
292
|
-
return
|
|
293
|
-
n(
|
|
291
|
+
if (o = String.fromCharCode(o), o === "\\" || Wn.test(o))
|
|
292
|
+
return $();
|
|
293
|
+
n(f, "Unexpected character '" + o + "'");
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
|
-
function
|
|
297
|
-
var c =
|
|
298
|
-
|
|
296
|
+
function b(o, l) {
|
|
297
|
+
var c = S.slice(f, f + l);
|
|
298
|
+
f += l, s(o, c);
|
|
299
299
|
}
|
|
300
300
|
function P() {
|
|
301
|
-
for (var o, l, c =
|
|
302
|
-
|
|
303
|
-
var h =
|
|
301
|
+
for (var o, l, c = f; ; ) {
|
|
302
|
+
f >= Ce && n(c, "Unterminated regexp");
|
|
303
|
+
var h = S.charAt(f);
|
|
304
304
|
if (lt.test(h) && n(c, "Unterminated regexp"), o)
|
|
305
305
|
o = !1;
|
|
306
306
|
else {
|
|
@@ -312,325 +312,325 @@ var L, Jr = function(e) {
|
|
|
312
312
|
break;
|
|
313
313
|
o = h === "\\";
|
|
314
314
|
}
|
|
315
|
-
++
|
|
315
|
+
++f;
|
|
316
316
|
}
|
|
317
|
-
o =
|
|
317
|
+
o = S.slice(c, f), ++f, (l = B()) && !/^[gmi]*$/.test(l) && n(c, "Invalid regexp flag");
|
|
318
318
|
try {
|
|
319
|
-
var
|
|
319
|
+
var A = new RegExp(o, l);
|
|
320
320
|
} catch (X) {
|
|
321
321
|
throw X instanceof SyntaxError && n(c, X.message), X;
|
|
322
322
|
}
|
|
323
|
-
s(
|
|
323
|
+
s(gn, A);
|
|
324
324
|
}
|
|
325
|
-
function
|
|
326
|
-
for (var c =
|
|
327
|
-
var
|
|
328
|
-
if (
|
|
325
|
+
function U(o, l) {
|
|
326
|
+
for (var c = f, h = 0, A = l === void 0 ? 1 / 0 : l, X = 0; X < A; ++X) {
|
|
327
|
+
var Q = S.charCodeAt(f);
|
|
328
|
+
if (Q = 97 <= Q ? Q - 97 + 10 : 65 <= Q ? Q - 65 + 10 : 48 <= Q && 57 >= Q ? Q - 48 : 1 / 0, Q >= o)
|
|
329
329
|
break;
|
|
330
|
-
++
|
|
330
|
+
++f, h = h * o + Q;
|
|
331
331
|
}
|
|
332
|
-
return
|
|
332
|
+
return f === c || l !== void 0 && f - c !== l ? null : h;
|
|
333
333
|
}
|
|
334
|
-
function
|
|
335
|
-
var l =
|
|
336
|
-
o ||
|
|
337
|
-
var
|
|
338
|
-
c ?
|
|
334
|
+
function C(o) {
|
|
335
|
+
var l = f, c = !1, h = S.charCodeAt(f) === 48;
|
|
336
|
+
o || U(10) !== null || n(l, "Invalid number"), S.charCodeAt(f) === 46 && (++f, U(10), c = !0), o = S.charCodeAt(f), (o === 69 || o === 101) && (o = S.charCodeAt(++f), o !== 43 && o !== 45 || ++f, U(10) === null && n(l, "Invalid number"), c = !0), r(S.charCodeAt(f)) && n(f, "Identifier directly after number"), o = S.slice(l, f);
|
|
337
|
+
var A;
|
|
338
|
+
c ? A = parseFloat(o) : h && o.length !== 1 ? /[89]/.test(o) || ne ? n(l, "Invalid number") : A = parseInt(o, 8) : A = parseInt(o, 10), s(Ve, A);
|
|
339
339
|
}
|
|
340
|
-
function
|
|
341
|
-
return o =
|
|
340
|
+
function T(o) {
|
|
341
|
+
return o = U(16, o), o === null && n(z, "Bad character escape sequence"), o;
|
|
342
342
|
}
|
|
343
|
-
function
|
|
344
|
-
|
|
345
|
-
for (var o, l = !0, c =
|
|
346
|
-
var h =
|
|
343
|
+
function B() {
|
|
344
|
+
je = !1;
|
|
345
|
+
for (var o, l = !0, c = f; ; ) {
|
|
346
|
+
var h = S.charCodeAt(f);
|
|
347
347
|
if (t(h))
|
|
348
|
-
|
|
348
|
+
je && (o += S.charAt(f)), ++f;
|
|
349
349
|
else if (h === 92) {
|
|
350
|
-
|
|
351
|
-
var
|
|
352
|
-
|
|
350
|
+
je || (o = S.slice(c, f)), je = !0, S.charCodeAt(++f) !== 117 && n(f, "Expecting Unicode escape sequence \\uXXXX"), ++f, h = T(4);
|
|
351
|
+
var A = String.fromCharCode(h);
|
|
352
|
+
A || n(f - 1, "Invalid Unicode escape"), (l ? r(h) : t(h)) || n(f - 4, "Invalid Unicode escape"), o += A;
|
|
353
353
|
} else
|
|
354
354
|
break;
|
|
355
355
|
l = !1;
|
|
356
356
|
}
|
|
357
|
-
return
|
|
357
|
+
return je ? o : S.slice(c, f);
|
|
358
358
|
}
|
|
359
|
-
function
|
|
360
|
-
var o =
|
|
361
|
-
!
|
|
359
|
+
function $() {
|
|
360
|
+
var o = B(), l = Ie;
|
|
361
|
+
!je && Br(o) && (l = Ir[o]), s(l, o);
|
|
362
362
|
}
|
|
363
363
|
function v() {
|
|
364
|
-
Tt = z,
|
|
364
|
+
Tt = z, ve = Ee, jt = It, y();
|
|
365
365
|
}
|
|
366
|
-
function
|
|
367
|
-
if (
|
|
368
|
-
for (;
|
|
369
|
-
|
|
370
|
-
`,
|
|
366
|
+
function H(o) {
|
|
367
|
+
if (ne = o, f = z, O.C)
|
|
368
|
+
for (; f < fe; )
|
|
369
|
+
fe = S.lastIndexOf(`
|
|
370
|
+
`, fe - 2) + 1, --Se;
|
|
371
371
|
d(), y();
|
|
372
372
|
}
|
|
373
|
-
function
|
|
373
|
+
function re() {
|
|
374
374
|
this.type = null, this.start = z, this.end = null;
|
|
375
375
|
}
|
|
376
|
-
function
|
|
376
|
+
function ie() {
|
|
377
377
|
this.start = Et, this.end = null, Ct && (this.source = Ct);
|
|
378
378
|
}
|
|
379
|
-
function
|
|
380
|
-
var o = new
|
|
381
|
-
return O.C && (o.X = new
|
|
379
|
+
function D() {
|
|
380
|
+
var o = new re();
|
|
381
|
+
return O.C && (o.X = new ie()), O.vb && (o.sourceFile = O.vb), O.Xa && (o.j = [z, 0]), o;
|
|
382
382
|
}
|
|
383
|
-
function
|
|
384
|
-
var l = new
|
|
385
|
-
return l.start = o.start, O.C && (l.X = new
|
|
383
|
+
function R(o) {
|
|
384
|
+
var l = new re();
|
|
385
|
+
return l.start = o.start, O.C && (l.X = new ie(), l.X.start = o.X.start), O.Xa && (l.j = [o.j[0], 0]), l;
|
|
386
386
|
}
|
|
387
|
-
function
|
|
388
|
-
return o.type = l, o.end =
|
|
387
|
+
function x(o, l) {
|
|
388
|
+
return o.type = l, o.end = ve, O.C && (o.X.end = jt), O.Xa && (o.j[1] = ve), o;
|
|
389
389
|
}
|
|
390
|
-
function
|
|
390
|
+
function N(o) {
|
|
391
391
|
return o.type === "ExpressionStatement" && o.la.type === "Literal" && o.la.value === "use strict";
|
|
392
392
|
}
|
|
393
393
|
function E(o) {
|
|
394
|
-
return
|
|
394
|
+
return j === o ? (v(), !0) : !1;
|
|
395
395
|
}
|
|
396
|
-
function
|
|
397
|
-
return !O.fc && (
|
|
396
|
+
function L() {
|
|
397
|
+
return !O.fc && (j === At || j === Te || lt.test(S.slice(ve, z)));
|
|
398
398
|
}
|
|
399
|
-
function
|
|
400
|
-
E(
|
|
399
|
+
function K() {
|
|
400
|
+
E(he) || L() || se();
|
|
401
401
|
}
|
|
402
|
-
function
|
|
403
|
-
|
|
402
|
+
function V(o) {
|
|
403
|
+
j === o ? v() : se();
|
|
404
404
|
}
|
|
405
|
-
function
|
|
405
|
+
function se() {
|
|
406
406
|
n(z, "Unexpected token");
|
|
407
407
|
}
|
|
408
|
-
function
|
|
409
|
-
o.type !== "Identifier" && o.type !== "MemberExpression" && n(o.start, "Assigning to rvalue"),
|
|
408
|
+
function rt(o) {
|
|
409
|
+
o.type !== "Identifier" && o.type !== "MemberExpression" && n(o.start, "Assigning to rvalue"), ne && o.type === "Identifier" && st(o.name) && n(o.start, "Assigning to " + o.name + " in strict mode");
|
|
410
410
|
}
|
|
411
|
-
function
|
|
412
|
-
(
|
|
413
|
-
var o =
|
|
411
|
+
function le() {
|
|
412
|
+
(j === Bn || j === we && oe === "/=") && y(!0);
|
|
413
|
+
var o = j, l = D();
|
|
414
414
|
switch (o) {
|
|
415
415
|
case Rt:
|
|
416
|
-
case
|
|
416
|
+
case vn:
|
|
417
417
|
v();
|
|
418
418
|
var c = o === Rt;
|
|
419
|
-
E(
|
|
419
|
+
E(he) || L() ? l.label = null : j !== Ie ? se() : (l.label = ue(), K());
|
|
420
420
|
for (var h = 0; h < G.length; ++h) {
|
|
421
|
-
var
|
|
422
|
-
if ((l.label === null ||
|
|
421
|
+
var A = G[h];
|
|
422
|
+
if ((l.label === null || A.name === l.label.name) && (A.kind !== null && (c || A.kind === "loop") || l.label && c))
|
|
423
423
|
break;
|
|
424
424
|
}
|
|
425
|
-
return h === G.length && n(l.start, "Unsyntactic " + o.l),
|
|
426
|
-
case
|
|
427
|
-
return v(),
|
|
428
|
-
case
|
|
429
|
-
return v(), G.push(_t), l.body =
|
|
430
|
-
case
|
|
431
|
-
return v(), G.push(_t),
|
|
425
|
+
return h === G.length && n(l.start, "Unsyntactic " + o.l), x(l, c ? "BreakStatement" : "ContinueStatement");
|
|
426
|
+
case xn:
|
|
427
|
+
return v(), K(), x(l, "DebuggerStatement");
|
|
428
|
+
case Sn:
|
|
429
|
+
return v(), G.push(_t), l.body = le(), G.pop(), V(Ft), l.test = Ue(), K(), x(l, "DoWhileStatement");
|
|
430
|
+
case Cn:
|
|
431
|
+
return v(), G.push(_t), V(de), j === he ? vt(l, null) : j === Mt ? (o = D(), v(), pn(o, !0), x(o, "VariableDeclaration"), o.fa.length === 1 && E(at) ? hn(l, o) : vt(l, o)) : (o = q(!1, !0), E(at) ? (rt(o), hn(l, o)) : vt(l, o));
|
|
432
432
|
case Nt:
|
|
433
433
|
return v(), wt(l, !0);
|
|
434
|
-
case Cn:
|
|
435
|
-
return v(), l.test = Be(), l.da = re(), l.alternate = E(Sn) ? re() : null, T(l, "IfStatement");
|
|
436
434
|
case En:
|
|
437
|
-
return
|
|
438
|
-
case Pt:
|
|
439
|
-
for (v(), l.Qb = Be(), l.tb = [], j(We), G.push(Lr); A !== je; )
|
|
440
|
-
A === Ot || A === xn ? (o = A === Ot, h && T(h, "SwitchCase"), l.tb.push(h = K()), h.da = [], v(), o ? h.test = q() : (c && n(Tt, "Multiple default clauses"), c = !0, h.test = null), j(He)) : (h || W(), h.da.push(re()));
|
|
441
|
-
return h && T(h, "SwitchCase"), v(), G.pop(), T(l, "SwitchStatement");
|
|
435
|
+
return v(), l.test = Ue(), l.da = le(), l.alternate = E(wn) ? le() : null, x(l, "IfStatement");
|
|
442
436
|
case In:
|
|
443
|
-
return
|
|
437
|
+
return Le || O.Ib || n(z, "'return' outside of function"), v(), E(he) || L() ? l.K = null : (l.K = q(), K()), x(l, "ReturnStatement");
|
|
438
|
+
case Pt:
|
|
439
|
+
for (v(), l.Qb = Ue(), l.tb = [], V(De), G.push(Lr); j !== Te; )
|
|
440
|
+
j === Ot || j === bn ? (o = j === Ot, h && x(h, "SwitchCase"), l.tb.push(h = D()), h.da = [], v(), o ? h.test = q() : (c && n(Tt, "Multiple default clauses"), c = !0, h.test = null), V(We)) : (h || se(), h.da.push(le()));
|
|
441
|
+
return h && x(h, "SwitchCase"), v(), G.pop(), x(l, "SwitchStatement");
|
|
444
442
|
case Tn:
|
|
445
|
-
return v(),
|
|
443
|
+
return v(), lt.test(S.slice(ve, z)) && n(ve, "Illegal newline after throw"), l.K = q(), K(), x(l, "ThrowStatement");
|
|
444
|
+
case jn:
|
|
445
|
+
return v(), l.block = Be(), l.Ea = null, j === yn && (o = D(), v(), V(de), o.Ua = ue(), ne && st(o.Ua.name) && n(o.Ua.start, "Binding " + o.Ua.name + " in strict mode"), V(ce), o.body = Be(), l.Ea = x(o, "CatchClause")), l.fb = E(kn) ? Be() : null, l.Ea || l.fb || n(l.start, "Missing catch or finally clause"), x(l, "TryStatement");
|
|
446
446
|
case Mt:
|
|
447
|
-
return v(),
|
|
447
|
+
return v(), pn(l), K(), x(l, "VariableDeclaration");
|
|
448
448
|
case Ft:
|
|
449
|
-
return v(), l.test =
|
|
450
|
-
case
|
|
451
|
-
return
|
|
452
|
-
case
|
|
453
|
-
return
|
|
454
|
-
case
|
|
455
|
-
return v(),
|
|
449
|
+
return v(), l.test = Ue(), G.push(_t), l.body = le(), G.pop(), x(l, "WhileStatement");
|
|
450
|
+
case An:
|
|
451
|
+
return ne && n(z, "'with' in strict mode"), v(), l.object = Ue(), l.body = le(), x(l, "WithStatement");
|
|
452
|
+
case De:
|
|
453
|
+
return Be();
|
|
454
|
+
case he:
|
|
455
|
+
return v(), x(l, "EmptyStatement");
|
|
456
456
|
default:
|
|
457
|
-
if (c =
|
|
457
|
+
if (c = oe, A = q(), o === Ie && A.type === "Identifier" && E(We)) {
|
|
458
458
|
for (h = 0; h < G.length; ++h)
|
|
459
|
-
G[h].name === c && n(
|
|
459
|
+
G[h].name === c && n(A.start, "Label '" + c + "' is already declared");
|
|
460
460
|
return G.push({
|
|
461
461
|
name: c,
|
|
462
|
-
kind:
|
|
463
|
-
}), l.body =
|
|
462
|
+
kind: j.W ? "loop" : j === Pt ? "switch" : null
|
|
463
|
+
}), l.body = le(), G.pop(), l.label = A, x(l, "LabeledStatement");
|
|
464
464
|
}
|
|
465
|
-
return l.la =
|
|
465
|
+
return l.la = A, K(), x(l, "ExpressionStatement");
|
|
466
466
|
}
|
|
467
467
|
}
|
|
468
|
-
function
|
|
469
|
-
|
|
468
|
+
function Ue() {
|
|
469
|
+
V(de);
|
|
470
470
|
var o = q();
|
|
471
|
-
return
|
|
471
|
+
return V(ce), o;
|
|
472
472
|
}
|
|
473
|
-
function
|
|
474
|
-
var l =
|
|
475
|
-
for (l.body = [],
|
|
476
|
-
var
|
|
477
|
-
if (l.body.push(
|
|
473
|
+
function Be(o) {
|
|
474
|
+
var l = D(), c = !0, h = !1;
|
|
475
|
+
for (l.body = [], V(De); !E(Te); ) {
|
|
476
|
+
var A = le();
|
|
477
|
+
if (l.body.push(A), c && o && N(A)) {
|
|
478
478
|
var X = h;
|
|
479
|
-
|
|
479
|
+
H(h = !0);
|
|
480
480
|
}
|
|
481
481
|
c = !1;
|
|
482
482
|
}
|
|
483
|
-
return h && !X &&
|
|
483
|
+
return h && !X && H(!1), x(l, "BlockStatement");
|
|
484
484
|
}
|
|
485
485
|
function vt(o, l) {
|
|
486
|
-
return o.ua = l,
|
|
487
|
-
}
|
|
488
|
-
function dn(o, l) {
|
|
489
|
-
return o.left = l, o.right = q(), j(ue), o.body = re(), G.pop(), T(o, "ForInStatement");
|
|
486
|
+
return o.ua = l, V(he), o.test = j === he ? null : q(), V(he), o.update = j === ce ? null : q(), V(ce), o.body = le(), G.pop(), x(o, "ForStatement");
|
|
490
487
|
}
|
|
491
488
|
function hn(o, l) {
|
|
489
|
+
return o.left = l, o.right = q(), V(ce), o.body = le(), G.pop(), x(o, "ForInStatement");
|
|
490
|
+
}
|
|
491
|
+
function pn(o, l) {
|
|
492
492
|
for (o.fa = [], o.kind = "var"; ; ) {
|
|
493
|
-
var c =
|
|
494
|
-
if (c.id =
|
|
493
|
+
var c = D();
|
|
494
|
+
if (c.id = ue(), ne && st(c.id.name) && n(c.id.start, "Binding " + c.id.name + " in strict mode"), c.ua = E(_n) ? q(!0, l) : null, o.fa.push(x(c, "VariableDeclarator")), !E(xe))
|
|
495
495
|
break;
|
|
496
496
|
}
|
|
497
497
|
}
|
|
498
498
|
function q(o, l) {
|
|
499
499
|
var c = xt(l);
|
|
500
|
-
if (!o &&
|
|
501
|
-
for (o =
|
|
500
|
+
if (!o && j === xe) {
|
|
501
|
+
for (o = R(c), o.xb = [c]; E(xe); )
|
|
502
502
|
o.xb.push(xt(l));
|
|
503
|
-
return
|
|
503
|
+
return x(o, "SequenceExpression");
|
|
504
504
|
}
|
|
505
505
|
return c;
|
|
506
506
|
}
|
|
507
507
|
function xt(o) {
|
|
508
508
|
var l = bt(St(), -1, o);
|
|
509
|
-
if (E(
|
|
510
|
-
var c =
|
|
511
|
-
c.test = l, c.da = q(!0),
|
|
509
|
+
if (E(Un)) {
|
|
510
|
+
var c = R(l);
|
|
511
|
+
c.test = l, c.da = q(!0), V(We), c.alternate = q(!0, o), l = x(c, "ConditionalExpression");
|
|
512
512
|
}
|
|
513
|
-
return
|
|
513
|
+
return j.Cb ? (c = R(l), c.operator = oe, c.left = l, v(), c.right = xt(o), rt(l), x(c, "AssignmentExpression")) : l;
|
|
514
514
|
}
|
|
515
515
|
function bt(o, l, c) {
|
|
516
|
-
var h =
|
|
517
|
-
if (h !== null && (!c ||
|
|
518
|
-
var
|
|
519
|
-
return
|
|
516
|
+
var h = j.L;
|
|
517
|
+
if (h !== null && (!c || j !== at) && h > l) {
|
|
518
|
+
var A = R(o);
|
|
519
|
+
return A.left = o, A.operator = oe, o = j, v(), A.right = bt(St(), h, c), h = x(A, o === Ln || o === Vn ? "LogicalExpression" : "BinaryExpression"), bt(h, l, c);
|
|
520
520
|
}
|
|
521
521
|
return o;
|
|
522
522
|
}
|
|
523
523
|
function St() {
|
|
524
|
-
if (
|
|
525
|
-
var o =
|
|
526
|
-
return o.operator =
|
|
524
|
+
if (j.prefix) {
|
|
525
|
+
var o = D(), l = j.$b;
|
|
526
|
+
return o.operator = oe, $e = o.prefix = !0, v(), o.K = St(), l ? rt(o.K) : ne && o.operator === "delete" && o.K.type === "Identifier" && n(o.start, "Deleting local variable in strict mode"), x(o, l ? "UpdateExpression" : "UnaryExpression");
|
|
527
527
|
}
|
|
528
|
-
for (l =
|
|
529
|
-
o =
|
|
528
|
+
for (l = _e(it()); j.cc && !L(); )
|
|
529
|
+
o = R(l), o.operator = oe, o.prefix = !1, o.K = l, rt(l), v(), l = x(o, "UpdateExpression");
|
|
530
530
|
return l;
|
|
531
531
|
}
|
|
532
|
-
function
|
|
533
|
-
if (E(
|
|
534
|
-
var c =
|
|
535
|
-
return c.object = o, c.Wa =
|
|
532
|
+
function _e(o, l) {
|
|
533
|
+
if (E(Fn)) {
|
|
534
|
+
var c = R(o);
|
|
535
|
+
return c.object = o, c.Wa = ue(!0), c.bb = !1, _e(x(c, "MemberExpression"), l);
|
|
536
536
|
}
|
|
537
|
-
return E(Ut) ? (c =
|
|
537
|
+
return E(Ut) ? (c = R(o), c.object = o, c.Wa = q(), c.bb = !0, V(Bt), _e(x(c, "MemberExpression"), l)) : !l && E(de) ? (c = R(o), c.callee = o, c.arguments = kt(ce, !1), _e(x(c, "CallExpression"), l)) : o;
|
|
538
538
|
}
|
|
539
539
|
function it() {
|
|
540
|
-
switch (
|
|
541
|
-
case Rn:
|
|
542
|
-
var o = K();
|
|
543
|
-
return v(), T(o, "ThisExpression");
|
|
544
|
-
case Te:
|
|
545
|
-
return fe();
|
|
546
|
-
case De:
|
|
547
|
-
case ot:
|
|
548
|
-
case mn:
|
|
549
|
-
return o = K(), o.value = se, o.raw = b.slice(z, Ie), v(), T(o, "Literal");
|
|
540
|
+
switch (j) {
|
|
550
541
|
case On:
|
|
542
|
+
var o = D();
|
|
543
|
+
return v(), x(o, "ThisExpression");
|
|
544
|
+
case Ie:
|
|
545
|
+
return ue();
|
|
546
|
+
case Ve:
|
|
547
|
+
case ot:
|
|
548
|
+
case gn:
|
|
549
|
+
return o = D(), o.value = oe, o.raw = S.slice(z, Ee), v(), x(o, "Literal");
|
|
551
550
|
case Nn:
|
|
552
551
|
case Pn:
|
|
553
|
-
|
|
554
|
-
|
|
552
|
+
case Mn:
|
|
553
|
+
return o = D(), o.value = j.$a, o.raw = j.l, v(), x(o, "Literal");
|
|
554
|
+
case de:
|
|
555
555
|
o = Et;
|
|
556
556
|
var l = z;
|
|
557
557
|
v();
|
|
558
558
|
var c = q();
|
|
559
|
-
return c.start = l, c.end =
|
|
559
|
+
return c.start = l, c.end = Ee, O.C && (c.X.start = o, c.X.end = It), O.Xa && (c.j = [l, Ee]), V(ce), c;
|
|
560
560
|
case Ut:
|
|
561
|
-
return o =
|
|
562
|
-
case
|
|
563
|
-
for (o =
|
|
561
|
+
return o = D(), v(), o.elements = kt(Bt, !0, !0), x(o, "ArrayExpression");
|
|
562
|
+
case De:
|
|
563
|
+
for (o = D(), l = !0, c = !1, o.h = [], v(); !E(Te); ) {
|
|
564
564
|
if (l)
|
|
565
565
|
l = !1;
|
|
566
|
-
else if (
|
|
566
|
+
else if (V(xe), O.sb && E(Te))
|
|
567
567
|
break;
|
|
568
568
|
var h = {
|
|
569
|
-
key:
|
|
570
|
-
},
|
|
571
|
-
if (E(
|
|
569
|
+
key: j === Ve || j === ot ? it() : ue(!0)
|
|
570
|
+
}, A = !1;
|
|
571
|
+
if (E(We)) {
|
|
572
572
|
h.value = q(!0);
|
|
573
573
|
var X = h.kind = "init";
|
|
574
574
|
} else
|
|
575
|
-
h.key.type !== "Identifier" || h.key.name !== "get" && h.key.name !== "set" ?
|
|
576
|
-
if (h.key.type === "Identifier" && (
|
|
577
|
-
for (var
|
|
578
|
-
var
|
|
579
|
-
if (
|
|
580
|
-
var $t = X ===
|
|
581
|
-
$t && !
|
|
575
|
+
h.key.type !== "Identifier" || h.key.name !== "get" && h.key.name !== "set" ? se() : (A = c = !0, X = h.kind = h.key.name, h.key = j === Ve || j === ot ? it() : ue(!0), j !== de && se(), h.value = wt(D(), !1));
|
|
576
|
+
if (h.key.type === "Identifier" && (ne || c))
|
|
577
|
+
for (var Q = 0; Q < o.h.length; ++Q) {
|
|
578
|
+
var Ae = o.h[Q];
|
|
579
|
+
if (Ae.key.name === h.key.name) {
|
|
580
|
+
var $t = X === Ae.kind || A && Ae.kind === "init" || X === "init" && (Ae.kind === "get" || Ae.kind === "set");
|
|
581
|
+
$t && !ne && X === "init" && Ae.kind === "init" && ($t = !1), $t && n(h.key.start, "Redefinition of property");
|
|
582
582
|
}
|
|
583
583
|
}
|
|
584
584
|
o.h.push(h);
|
|
585
585
|
}
|
|
586
|
-
return
|
|
586
|
+
return x(o, "ObjectExpression");
|
|
587
587
|
case Nt:
|
|
588
|
-
return o =
|
|
589
|
-
case
|
|
590
|
-
return o =
|
|
588
|
+
return o = D(), v(), wt(o, !1);
|
|
589
|
+
case Rn:
|
|
590
|
+
return o = D(), v(), o.callee = _e(it(), !0), o.arguments = E(de) ? kt(ce, !1) : Er, x(o, "NewExpression");
|
|
591
591
|
}
|
|
592
|
-
|
|
592
|
+
se();
|
|
593
593
|
}
|
|
594
594
|
function wt(o, l) {
|
|
595
|
-
|
|
595
|
+
j === Ie ? o.id = ue() : l ? se() : o.id = null, o.oa = [];
|
|
596
596
|
var c = !0;
|
|
597
|
-
for (
|
|
598
|
-
c ? c = !1 :
|
|
599
|
-
c =
|
|
597
|
+
for (V(de); !E(ce); )
|
|
598
|
+
c ? c = !1 : V(xe), o.oa.push(ue());
|
|
599
|
+
c = Le;
|
|
600
600
|
var h = G;
|
|
601
|
-
if (
|
|
601
|
+
if (Le = !0, G = [], o.body = Be(!0), Le = c, G = h, ne || o.body.body.length && N(o.body.body[0])) {
|
|
602
602
|
for (c = o.id ? -1 : 0; c < o.oa.length; ++c)
|
|
603
|
-
if (h = 0 > c ? o.id : o.oa[c], (
|
|
604
|
-
for (var
|
|
605
|
-
h.name === o.oa[
|
|
603
|
+
if (h = 0 > c ? o.id : o.oa[c], (Dn(h.name) || st(h.name)) && n(h.start, "Defining '" + h.name + "' in strict mode"), 0 <= c)
|
|
604
|
+
for (var A = 0; A < c; ++A)
|
|
605
|
+
h.name === o.oa[A].name && n(h.start, "Argument name clash in strict mode");
|
|
606
606
|
}
|
|
607
|
-
return
|
|
607
|
+
return x(o, l ? "FunctionDeclaration" : "FunctionExpression");
|
|
608
608
|
}
|
|
609
609
|
function kt(o, l, c) {
|
|
610
|
-
for (var h = [],
|
|
611
|
-
if (
|
|
612
|
-
|
|
613
|
-
else if (
|
|
610
|
+
for (var h = [], A = !0; !E(o); ) {
|
|
611
|
+
if (A)
|
|
612
|
+
A = !1;
|
|
613
|
+
else if (V(xe), l && O.sb && E(o))
|
|
614
614
|
break;
|
|
615
|
-
h.push(c &&
|
|
615
|
+
h.push(c && j === xe ? null : q(!0));
|
|
616
616
|
}
|
|
617
617
|
return h;
|
|
618
618
|
}
|
|
619
|
-
function
|
|
620
|
-
var l =
|
|
621
|
-
return o && O.yb === "everywhere" && (o = !1),
|
|
619
|
+
function ue(o) {
|
|
620
|
+
var l = D();
|
|
621
|
+
return o && O.yb === "everywhere" && (o = !1), j === Ie ? (!o && (O.yb && Ur(oe) || ne && Dn(oe)) && S.slice(z, Ee).indexOf("\\") === -1 && n(z, "The keyword '" + oe + "' is reserved"), l.name = oe) : o && j.l ? l.name = j.l : se(), $e = !1, v(), x(l, "Identifier");
|
|
622
622
|
}
|
|
623
623
|
e.version = "0.5.0";
|
|
624
|
-
var O,
|
|
624
|
+
var O, S = "", Ce, Ct;
|
|
625
625
|
e.parse = function(o, l) {
|
|
626
|
-
|
|
627
|
-
for (var c in
|
|
628
|
-
Object.prototype.hasOwnProperty.call(O, c) || (O[c] =
|
|
629
|
-
for (Ct = O.sourceFile,
|
|
630
|
-
c =
|
|
631
|
-
return
|
|
626
|
+
S = String(o), Ce = S.length, O = l || {};
|
|
627
|
+
for (var c in mn)
|
|
628
|
+
Object.prototype.hasOwnProperty.call(O, c) || (O[c] = mn[c]);
|
|
629
|
+
for (Ct = O.sourceFile, Se = 1, f = fe = 0, $e = !0, d(), c = O.dc, Tt = ve = f, O.C && (jt = new a()), Le = ne = !1, G = [], y(), o = c || D(), l = !0, c || (o.body = []); j !== At; )
|
|
630
|
+
c = le(), o.body.push(c), l && N(c) && H(!0), l = !1;
|
|
631
|
+
return x(o, "Program");
|
|
632
632
|
};
|
|
633
|
-
var
|
|
633
|
+
var mn = {
|
|
634
634
|
fc: !1,
|
|
635
635
|
sb: !0,
|
|
636
636
|
yb: !1,
|
|
@@ -641,13 +641,13 @@ var L, Jr = function(e) {
|
|
|
641
641
|
dc: null,
|
|
642
642
|
sourceFile: null,
|
|
643
643
|
vb: null
|
|
644
|
-
},
|
|
644
|
+
}, f = 0, z = 0, Ee = 0, Et, It, j, oe, $e, Se, fe, Tt = 0, ve = 0, jt, Le, G, ne, Er = [], Ve = {
|
|
645
645
|
type: "num"
|
|
646
|
-
},
|
|
646
|
+
}, gn = {
|
|
647
647
|
type: "regexp"
|
|
648
648
|
}, ot = {
|
|
649
649
|
type: "string"
|
|
650
|
-
},
|
|
650
|
+
}, Ie = {
|
|
651
651
|
type: "name"
|
|
652
652
|
}, At = {
|
|
653
653
|
type: "eof"
|
|
@@ -656,58 +656,58 @@ var L, Jr = function(e) {
|
|
|
656
656
|
}, Ot = {
|
|
657
657
|
l: "case",
|
|
658
658
|
m: !0
|
|
659
|
-
}, gn = {
|
|
660
|
-
l: "catch"
|
|
661
659
|
}, yn = {
|
|
662
|
-
l: "
|
|
660
|
+
l: "catch"
|
|
663
661
|
}, vn = {
|
|
664
|
-
l: "
|
|
662
|
+
l: "continue"
|
|
665
663
|
}, xn = {
|
|
666
|
-
l: "
|
|
664
|
+
l: "debugger"
|
|
667
665
|
}, bn = {
|
|
666
|
+
l: "default"
|
|
667
|
+
}, Sn = {
|
|
668
668
|
l: "do",
|
|
669
669
|
W: !0
|
|
670
|
-
},
|
|
670
|
+
}, wn = {
|
|
671
671
|
l: "else",
|
|
672
672
|
m: !0
|
|
673
|
-
}, wn = {
|
|
674
|
-
l: "finally"
|
|
675
673
|
}, kn = {
|
|
674
|
+
l: "finally"
|
|
675
|
+
}, Cn = {
|
|
676
676
|
l: "for",
|
|
677
677
|
W: !0
|
|
678
678
|
}, Nt = {
|
|
679
679
|
l: "function"
|
|
680
|
-
}, Cn = {
|
|
681
|
-
l: "if"
|
|
682
680
|
}, En = {
|
|
681
|
+
l: "if"
|
|
682
|
+
}, In = {
|
|
683
683
|
l: "return",
|
|
684
684
|
m: !0
|
|
685
685
|
}, Pt = {
|
|
686
686
|
l: "switch"
|
|
687
|
-
},
|
|
687
|
+
}, Tn = {
|
|
688
688
|
l: "throw",
|
|
689
689
|
m: !0
|
|
690
|
-
},
|
|
690
|
+
}, jn = {
|
|
691
691
|
l: "try"
|
|
692
692
|
}, Mt = {
|
|
693
693
|
l: "var"
|
|
694
694
|
}, Ft = {
|
|
695
695
|
l: "while",
|
|
696
696
|
W: !0
|
|
697
|
-
}, jn = {
|
|
698
|
-
l: "with"
|
|
699
697
|
}, An = {
|
|
698
|
+
l: "with"
|
|
699
|
+
}, Rn = {
|
|
700
700
|
l: "new",
|
|
701
701
|
m: !0
|
|
702
|
-
}, Rn = {
|
|
703
|
-
l: "this"
|
|
704
702
|
}, On = {
|
|
703
|
+
l: "this"
|
|
704
|
+
}, Nn = {
|
|
705
705
|
l: "null",
|
|
706
706
|
$a: null
|
|
707
|
-
},
|
|
707
|
+
}, Pn = {
|
|
708
708
|
l: "true",
|
|
709
709
|
$a: !0
|
|
710
|
-
},
|
|
710
|
+
}, Mn = {
|
|
711
711
|
l: "false",
|
|
712
712
|
$a: !1
|
|
713
713
|
}, at = {
|
|
@@ -717,34 +717,34 @@ var L, Jr = function(e) {
|
|
|
717
717
|
}, Ir = {
|
|
718
718
|
break: Rt,
|
|
719
719
|
case: Ot,
|
|
720
|
-
catch:
|
|
721
|
-
continue:
|
|
722
|
-
debugger:
|
|
723
|
-
default:
|
|
724
|
-
do:
|
|
725
|
-
else:
|
|
726
|
-
finally:
|
|
727
|
-
for:
|
|
720
|
+
catch: yn,
|
|
721
|
+
continue: vn,
|
|
722
|
+
debugger: xn,
|
|
723
|
+
default: bn,
|
|
724
|
+
do: Sn,
|
|
725
|
+
else: wn,
|
|
726
|
+
finally: kn,
|
|
727
|
+
for: Cn,
|
|
728
728
|
function: Nt,
|
|
729
|
-
if:
|
|
730
|
-
return:
|
|
729
|
+
if: En,
|
|
730
|
+
return: In,
|
|
731
731
|
switch: Pt,
|
|
732
|
-
throw:
|
|
733
|
-
try:
|
|
732
|
+
throw: Tn,
|
|
733
|
+
try: jn,
|
|
734
734
|
var: Mt,
|
|
735
735
|
while: Ft,
|
|
736
|
-
with:
|
|
737
|
-
null:
|
|
738
|
-
true:
|
|
739
|
-
false:
|
|
740
|
-
new:
|
|
736
|
+
with: An,
|
|
737
|
+
null: Nn,
|
|
738
|
+
true: Pn,
|
|
739
|
+
false: Mn,
|
|
740
|
+
new: Rn,
|
|
741
741
|
in: at,
|
|
742
742
|
instanceof: {
|
|
743
743
|
l: "instanceof",
|
|
744
744
|
L: 7,
|
|
745
745
|
m: !0
|
|
746
746
|
},
|
|
747
|
-
this:
|
|
747
|
+
this: On,
|
|
748
748
|
typeof: {
|
|
749
749
|
l: "typeof",
|
|
750
750
|
prefix: !0,
|
|
@@ -765,50 +765,50 @@ var L, Jr = function(e) {
|
|
|
765
765
|
m: !0
|
|
766
766
|
}, Bt = {
|
|
767
767
|
type: "]"
|
|
768
|
-
},
|
|
768
|
+
}, De = {
|
|
769
769
|
type: "{",
|
|
770
770
|
m: !0
|
|
771
|
-
},
|
|
771
|
+
}, Te = {
|
|
772
772
|
type: "}"
|
|
773
|
-
},
|
|
773
|
+
}, de = {
|
|
774
774
|
type: "(",
|
|
775
775
|
m: !0
|
|
776
|
-
},
|
|
776
|
+
}, ce = {
|
|
777
777
|
type: ")"
|
|
778
|
-
},
|
|
778
|
+
}, xe = {
|
|
779
779
|
type: ",",
|
|
780
780
|
m: !0
|
|
781
|
-
},
|
|
781
|
+
}, he = {
|
|
782
782
|
type: ";",
|
|
783
783
|
m: !0
|
|
784
|
-
},
|
|
784
|
+
}, We = {
|
|
785
785
|
type: ":",
|
|
786
786
|
m: !0
|
|
787
|
-
}, Mn = {
|
|
788
|
-
type: "."
|
|
789
787
|
}, Fn = {
|
|
788
|
+
type: "."
|
|
789
|
+
}, Un = {
|
|
790
790
|
type: "?",
|
|
791
791
|
m: !0
|
|
792
|
-
},
|
|
792
|
+
}, Bn = {
|
|
793
793
|
L: 10,
|
|
794
794
|
m: !0
|
|
795
|
-
},
|
|
795
|
+
}, _n = {
|
|
796
796
|
Cb: !0,
|
|
797
797
|
m: !0
|
|
798
|
-
},
|
|
798
|
+
}, we = {
|
|
799
799
|
Cb: !0,
|
|
800
800
|
m: !0
|
|
801
801
|
}, Tr = {
|
|
802
802
|
cc: !0,
|
|
803
803
|
prefix: !0,
|
|
804
804
|
$b: !0
|
|
805
|
-
},
|
|
805
|
+
}, $n = {
|
|
806
806
|
prefix: !0,
|
|
807
807
|
m: !0
|
|
808
|
-
},
|
|
808
|
+
}, Ln = {
|
|
809
809
|
L: 1,
|
|
810
810
|
m: !0
|
|
811
|
-
},
|
|
811
|
+
}, Vn = {
|
|
812
812
|
L: 2,
|
|
813
813
|
m: !0
|
|
814
814
|
}, jr = {
|
|
@@ -836,15 +836,15 @@ var L, Jr = function(e) {
|
|
|
836
836
|
}, Fr = {
|
|
837
837
|
L: 10,
|
|
838
838
|
m: !0
|
|
839
|
-
}, Ur = i("class enum extends super const export import"),
|
|
839
|
+
}, Ur = i("class enum extends super const export import"), Dn = i("implements interface let package private protected public static yield"), st = i("eval arguments"), Br = i("break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this"), _r = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Wn = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"), $r = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"), lt = /[\n\r\u2028\u2029]/, ct = /\r\n|[\n\r\u2028\u2029]/g, je, _t = {
|
|
840
840
|
kind: "loop"
|
|
841
841
|
}, Lr = {
|
|
842
842
|
kind: "switch"
|
|
843
843
|
};
|
|
844
|
-
},
|
|
845
|
-
Jr(
|
|
844
|
+
}, Kt = Kt = typeof globalThis > "u" ? void 0 : globalThis;
|
|
845
|
+
Jr(Kt.j || (Kt.j = {}));
|
|
846
846
|
function g(e, t) {
|
|
847
|
-
typeof e == "string" && (e =
|
|
847
|
+
typeof e == "string" && (e = Pe(e, "code"));
|
|
848
848
|
var r = e.constructor;
|
|
849
849
|
this.ya = function() {
|
|
850
850
|
return new r({
|
|
@@ -858,25 +858,25 @@ function g(e, t) {
|
|
|
858
858
|
var a, s;
|
|
859
859
|
for (s in this)
|
|
860
860
|
typeof this[s] == "function" && (a = s.match(e)) && (this.rb[a[1]] = this[s].bind(this));
|
|
861
|
-
this.N =
|
|
862
|
-
`), "polyfills"), this.ba = void 0, pt(this.ra), a = new
|
|
861
|
+
this.N = zt(this, this.ra, null), this.Na = this.N.object, this.ra = Pe(this.ba.join(`
|
|
862
|
+
`), "polyfills"), this.ba = void 0, pt(this.ra), a = new k(this.ra, this.N), a.done = !1, this.o = [a], this.Eb(), this.value = void 0, this.ra = n, a = new k(this.ra, this.N), a.done = !1, this.o.length = 0, this.o[0] = a;
|
|
863
863
|
}
|
|
864
864
|
var Jn = {
|
|
865
865
|
C: !0,
|
|
866
866
|
kc: 5
|
|
867
|
-
},
|
|
867
|
+
}, Zt = {
|
|
868
868
|
configurable: !0,
|
|
869
869
|
enumerable: !0,
|
|
870
870
|
writable: !1
|
|
871
|
-
},
|
|
871
|
+
}, w = {
|
|
872
872
|
configurable: !0,
|
|
873
873
|
enumerable: !1,
|
|
874
874
|
writable: !0
|
|
875
|
-
},
|
|
875
|
+
}, te = {
|
|
876
876
|
configurable: !0,
|
|
877
877
|
enumerable: !1,
|
|
878
878
|
writable: !1
|
|
879
|
-
},
|
|
879
|
+
}, He = {
|
|
880
880
|
configurable: !1,
|
|
881
881
|
enumerable: !1,
|
|
882
882
|
writable: !1
|
|
@@ -886,18 +886,18 @@ var Jn = {
|
|
|
886
886
|
writable: !0
|
|
887
887
|
}, pr = {
|
|
888
888
|
STEP_ERROR: !0
|
|
889
|
-
},
|
|
889
|
+
}, Fe = {
|
|
890
890
|
SCOPE_REFERENCE: !0
|
|
891
|
-
},
|
|
891
|
+
}, qe = {
|
|
892
892
|
VALUE_IN_DESCRIPTOR: !0
|
|
893
|
-
},
|
|
893
|
+
}, Re = {
|
|
894
894
|
REGEXP_TIMEOUT: !0
|
|
895
|
-
}, qn = [],
|
|
896
|
-
function
|
|
895
|
+
}, qn = [], me = null, Je = null, be = typeof globalThis > "u" ? void 0 : globalThis, Yr = ["onmessage = function(e) {", "var result;", "var data = e.data;", "switch (data[0]) {", "case 'split':", "result = data[1].split(data[2], data[3]);", "break;", "case 'match':", "result = data[1].match(data[2]);", "break;", "case 'search':", "result = data[1].search(data[2]);", "break;", "case 'replace':", "result = data[1].replace(data[2], data[3]);", "break;", "case 'exec':", "var regexp = data[1];", "regexp.lastIndex = data[2];", "result = [regexp.exec(data[3]), data[1].lastIndex];", "break;", "default:", "throw Error('Unknown RegExp operation: ' + data[0]);", "}", "postMessage(result);", "close();", "};"];
|
|
896
|
+
function Qt(e) {
|
|
897
897
|
var t = e >>> 0;
|
|
898
898
|
return t === Number(e) ? t : NaN;
|
|
899
899
|
}
|
|
900
|
-
function
|
|
900
|
+
function Ye(e) {
|
|
901
901
|
var t = e >>> 0;
|
|
902
902
|
return String(t) === String(e) && t !== 4294967295 ? t : NaN;
|
|
903
903
|
}
|
|
@@ -912,26 +912,26 @@ function pt(e, t, r) {
|
|
|
912
912
|
g.prototype.REGEXP_MODE = 2;
|
|
913
913
|
g.prototype.REGEXP_THREAD_TIMEOUT = 1e3;
|
|
914
914
|
g.prototype.POLYFILL_TIMEOUT = 1e3;
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
function
|
|
915
|
+
_ = g.prototype;
|
|
916
|
+
_.P = !1;
|
|
917
|
+
_.Ka = !1;
|
|
918
|
+
_.Kb = 0;
|
|
919
|
+
_.ic = 0;
|
|
920
|
+
function Pe(e, t) {
|
|
921
921
|
var r = {}, n;
|
|
922
922
|
for (n in Jn)
|
|
923
923
|
r[n] = Jn[n];
|
|
924
|
-
return r.sourceFile = t,
|
|
924
|
+
return r.sourceFile = t, be.j.parse(e, r);
|
|
925
925
|
}
|
|
926
|
-
|
|
926
|
+
_.Jb = function(e) {
|
|
927
927
|
var t = this.o[0];
|
|
928
928
|
if (!t || t.node.type !== "Program")
|
|
929
929
|
throw Error("Expecting original AST to start with a Program node");
|
|
930
|
-
if (typeof e == "string" && (e =
|
|
930
|
+
if (typeof e == "string" && (e = Pe(e, "appendCode" + this.Kb++)), !e || e.type !== "Program")
|
|
931
931
|
throw Error("Expecting new AST to start with a Program node");
|
|
932
|
-
|
|
932
|
+
Ze(this, e, t.scope), Array.prototype.push.apply(t.node.body, e.body), t.node.body.jb = null, t.done = !1;
|
|
933
933
|
};
|
|
934
|
-
|
|
934
|
+
_.lb = function() {
|
|
935
935
|
var e = this.o, t;
|
|
936
936
|
do {
|
|
937
937
|
var r = e[e.length - 1];
|
|
@@ -944,22 +944,22 @@ L.lb = function() {
|
|
|
944
944
|
r = null;
|
|
945
945
|
else {
|
|
946
946
|
this.ca.shift(), 0 <= r.interval && yr(this, r, r.interval);
|
|
947
|
-
var n = new
|
|
947
|
+
var n = new k(r.node, r.scope);
|
|
948
948
|
r.zb && (n.ia = 2, n.B = this.Na, n.U = r.zb, n.Qa = !0, n.F = r.Lb), r = n;
|
|
949
949
|
}
|
|
950
950
|
if (!r)
|
|
951
951
|
break;
|
|
952
952
|
}
|
|
953
953
|
n = r.node;
|
|
954
|
-
var i =
|
|
955
|
-
|
|
954
|
+
var i = Je;
|
|
955
|
+
Je = this;
|
|
956
956
|
try {
|
|
957
957
|
var a = this.rb[n.type](e, r, n);
|
|
958
958
|
} catch (s) {
|
|
959
959
|
if (s !== pr)
|
|
960
960
|
throw this.value !== s && (this.value = void 0), s;
|
|
961
961
|
} finally {
|
|
962
|
-
|
|
962
|
+
Je = i;
|
|
963
963
|
}
|
|
964
964
|
if (a && e.push(a), this.P)
|
|
965
965
|
throw this.value = void 0, Error("Getter not supported in this context");
|
|
@@ -969,60 +969,60 @@ L.lb = function() {
|
|
|
969
969
|
} while (!n.end && t > Date.now());
|
|
970
970
|
return !0;
|
|
971
971
|
};
|
|
972
|
-
|
|
972
|
+
_.Eb = function() {
|
|
973
973
|
for (; !this.za && this.lb(); )
|
|
974
974
|
;
|
|
975
975
|
return this.za;
|
|
976
976
|
};
|
|
977
977
|
function qr(e, t) {
|
|
978
|
-
e.g(t, "NaN", NaN,
|
|
978
|
+
e.g(t, "NaN", NaN, He), e.g(t, "Infinity", 1 / 0, He), e.g(t, "undefined", void 0, He), e.g(t, "window", t, Zt), e.g(t, "this", t, He), e.g(t, "self", t), e.M = new M(null), e.Z = new M(e.M), Zr(e, t), Qr(e, t), t.xa = e.M, e.g(t, "constructor", e.v, w), ei(e, t), ti(e, t), ni(e, t), ri(e, t), ii(e, t), oi(e, t), ai(e, t), si(e, t), li(e, t);
|
|
979
979
|
var r = e.i(function() {
|
|
980
980
|
throw EvalError("Can't happen");
|
|
981
981
|
}, !1);
|
|
982
|
-
r.eval = !0, e.g(t, "eval", r,
|
|
982
|
+
r.eval = !0, e.g(t, "eval", r, w), e.g(t, "parseInt", e.i(parseInt, !1), w), e.g(t, "parseFloat", e.i(parseFloat, !1), w), e.g(t, "isNaN", e.i(isNaN, !1), w), e.g(t, "isFinite", e.i(isFinite, !1), w);
|
|
983
983
|
for (var n = [[escape, "escape"], [unescape, "unescape"], [decodeURI, "decodeURI"], [decodeURIComponent, "decodeURIComponent"], [encodeURI, "encodeURI"], [encodeURIComponent, "encodeURIComponent"]], i = 0; i < n.length; i++)
|
|
984
984
|
r = function(a) {
|
|
985
985
|
return function(s) {
|
|
986
986
|
try {
|
|
987
987
|
return a(s);
|
|
988
|
-
} catch (
|
|
989
|
-
|
|
988
|
+
} catch (u) {
|
|
989
|
+
I(e, e.Gb, u.message);
|
|
990
990
|
}
|
|
991
991
|
};
|
|
992
|
-
}(n[i][0]), e.g(t, n[i][1], e.i(r, !1),
|
|
992
|
+
}(n[i][0]), e.g(t, n[i][1], e.i(r, !1), w);
|
|
993
993
|
r = function(a) {
|
|
994
994
|
return Zn(e, !1, arguments);
|
|
995
|
-
}, e.g(t, "setTimeout", e.i(r, !1),
|
|
995
|
+
}, e.g(t, "setTimeout", e.i(r, !1), w), r = function(a) {
|
|
996
996
|
return Zn(e, !0, arguments);
|
|
997
|
-
}, e.g(t, "setInterval", e.i(r, !1),
|
|
997
|
+
}, e.g(t, "setInterval", e.i(r, !1), w), r = function(a) {
|
|
998
998
|
Qn(e, a);
|
|
999
|
-
}, e.g(t, "clearTimeout", e.i(r, !1),
|
|
999
|
+
}, e.g(t, "clearTimeout", e.i(r, !1), w), r = function(a) {
|
|
1000
1000
|
Qn(e, a);
|
|
1001
|
-
}, e.g(t, "clearInterval", e.i(r, !1),
|
|
1001
|
+
}, e.g(t, "clearInterval", e.i(r, !1), w), 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);
|
|
1002
1002
|
}
|
|
1003
|
-
|
|
1003
|
+
_.Wb = 0;
|
|
1004
1004
|
function Zr(e, t) {
|
|
1005
1005
|
var r = /^[A-Za-z_$][\w$]*$/, n = function(i) {
|
|
1006
1006
|
var a = arguments.length ? String(arguments[arguments.length - 1]) : "", s = Array.prototype.slice.call(arguments, 0, -1).join(",").trim();
|
|
1007
1007
|
if (s) {
|
|
1008
1008
|
s = s.split(/\s*,\s*/);
|
|
1009
|
-
for (var
|
|
1010
|
-
var d = s[
|
|
1011
|
-
r.test(d) ||
|
|
1009
|
+
for (var u = 0; u < s.length; u++) {
|
|
1010
|
+
var d = s[u];
|
|
1011
|
+
r.test(d) || I(e, e.T, "Invalid function argument: " + d);
|
|
1012
1012
|
}
|
|
1013
1013
|
s = s.join(", ");
|
|
1014
1014
|
}
|
|
1015
1015
|
try {
|
|
1016
|
-
var p =
|
|
1016
|
+
var p = Pe("(function(" + s + ") {" + a + "})", "function" + e.Wb++);
|
|
1017
1017
|
} catch (y) {
|
|
1018
|
-
|
|
1018
|
+
I(e, e.T, "Invalid code: " + y.message);
|
|
1019
1019
|
}
|
|
1020
|
-
return p.body.length !== 1 &&
|
|
1020
|
+
return p.body.length !== 1 && I(e, e.T, "Invalid code in function body"), nn(e, p.body[0].la, e.N, "anonymous");
|
|
1021
1021
|
};
|
|
1022
|
-
e.O = e.i(n, !0), e.g(t, "Function", e.O,
|
|
1023
|
-
}, e.Z.Ta.id = e.Ya++, e.Z.Ab = !0, e.g(e.Z, "length", 0,
|
|
1022
|
+
e.O = e.i(n, !0), e.g(t, "Function", e.O, w), e.g(e.O, "prototype", e.Z, w), e.g(e.Z, "constructor", e.O, w), e.Z.Ta = function() {
|
|
1023
|
+
}, e.Z.Ta.id = e.Ya++, e.Z.Ab = !0, e.g(e.Z, "length", 0, te), e.Z.H = "Function", n = function(i, a) {
|
|
1024
1024
|
var s = e.o[e.o.length - 1];
|
|
1025
|
-
s.U = this, s.B = i, s.F = [], a != null && (a instanceof
|
|
1025
|
+
s.U = this, s.B = i, s.F = [], a != null && (a instanceof M ? s.F = mr(e, a) : I(e, e.j, "CreateListFromArrayLike called on non-object")), s.eb = !1;
|
|
1026
1026
|
}, J(e, e.O, "apply", n), n = function(i) {
|
|
1027
1027
|
var a = e.o[e.o.length - 1];
|
|
1028
1028
|
a.U = this, a.B = i, a.F = [];
|
|
@@ -1031,49 +1031,49 @@ function Zr(e, t) {
|
|
|
1031
1031
|
a.eb = !1;
|
|
1032
1032
|
}, J(e, e.O, "call", n), e.ba.push("Object.defineProperty(Function.prototype, 'bind',", "{configurable: true, writable: true, value:", "function bind(oThis) {", "if (typeof this !== 'function') {", "throw TypeError('What is trying to be bound is not callable');", "}", "var aArgs = Array.prototype.slice.call(arguments, 1),", "fToBind = this,", "fNOP = function() {},", "fBound = function() {", "return fToBind.apply(this instanceof fNOP", "? this", ": oThis,", "aArgs.concat(Array.prototype.slice.call(arguments)));", "};", "if (this.prototype) {", "fNOP.prototype = this.prototype;", "}", "fBound.prototype = new fNOP();", "return fBound;", "}", "});", ""), n = function() {
|
|
1033
1033
|
return String(this);
|
|
1034
|
-
}, J(e, e.O, "toString", n), e.g(e.O, "toString", e.i(n, !1),
|
|
1034
|
+
}, J(e, e.O, "toString", n), e.g(e.O, "toString", e.i(n, !1), w), n = function() {
|
|
1035
1035
|
return this.valueOf();
|
|
1036
|
-
}, J(e, e.O, "valueOf", n), e.g(e.O, "valueOf", e.i(n, !1),
|
|
1036
|
+
}, J(e, e.O, "valueOf", n), e.g(e.O, "valueOf", e.i(n, !1), w);
|
|
1037
1037
|
}
|
|
1038
1038
|
function Qr(e, t) {
|
|
1039
1039
|
function r(i) {
|
|
1040
|
-
i != null ||
|
|
1040
|
+
i != null || I(e, e.j, "Cannot convert '" + i + "' to object");
|
|
1041
1041
|
}
|
|
1042
1042
|
var n = function(i) {
|
|
1043
1043
|
if (i == null)
|
|
1044
|
-
return
|
|
1045
|
-
if (!(i instanceof
|
|
1046
|
-
var a = e.s(
|
|
1044
|
+
return ye(e) ? this : e.s(e.M);
|
|
1045
|
+
if (!(i instanceof M)) {
|
|
1046
|
+
var a = e.s(ge(e, i));
|
|
1047
1047
|
return a.data = i, a;
|
|
1048
1048
|
}
|
|
1049
1049
|
return i;
|
|
1050
1050
|
};
|
|
1051
|
-
e.v = e.i(n, !0), e.g(e.v, "prototype", e.M,
|
|
1052
|
-
return r(i),
|
|
1053
|
-
}, e.g(e.v, "getOwnPropertyNames", e.i(n, !1),
|
|
1054
|
-
return r(i), i instanceof
|
|
1055
|
-
}, e.g(e.v, "keys", e.i(n, !1),
|
|
1056
|
-
return i === null ? e.s(null) : (i instanceof
|
|
1057
|
-
}, e.g(e.v, "create", e.i(n, !1),
|
|
1058
|
-
return a = String(a), i instanceof
|
|
1059
|
-
}, e.g(e.v, "defineProperty", e.i(n, !1),
|
|
1060
|
-
if (i instanceof
|
|
1061
|
-
var s = Object.getOwnPropertyDescriptor(i.h, a),
|
|
1062
|
-
return i = i.Y[a], a = e.s(e.M),
|
|
1051
|
+
e.v = e.i(n, !0), e.g(e.v, "prototype", e.M, w), e.g(e.M, "constructor", e.v, w), e.g(t, "Object", e.v, w), n = function(i) {
|
|
1052
|
+
return r(i), pe(e, Object.getOwnPropertyNames(i instanceof M ? i.h : i));
|
|
1053
|
+
}, e.g(e.v, "getOwnPropertyNames", e.i(n, !1), w), n = function(i) {
|
|
1054
|
+
return r(i), i instanceof M && (i = i.h), pe(e, Object.keys(i));
|
|
1055
|
+
}, e.g(e.v, "keys", e.i(n, !1), w), n = function(i) {
|
|
1056
|
+
return i === null ? e.s(null) : (i instanceof M || I(e, e.j, "Object prototype may only be an Object or null, not " + i), e.s(i));
|
|
1057
|
+
}, e.g(e.v, "create", e.i(n, !1), w), e.ba.push("(function() {", "var create_ = Object.create;", "Object.create = function create(proto, props) {", "var obj = create_(proto);", "props && Object.defineProperties(obj, props);", "return obj;", "};", "})();", ""), n = function(i, a, s) {
|
|
1058
|
+
return a = String(a), i instanceof M || I(e, e.j, "Object.defineProperty called on non-object: " + i), s instanceof M || I(e, e.j, "Property description must be an object"), !i.preventExtensions || a in i.h || I(e, e.j, "Can't define property '" + a + "', object is not extensible"), e.g(i, a, qe, s.h), i;
|
|
1059
|
+
}, e.g(e.v, "defineProperty", e.i(n, !1), w), e.ba.push("(function() {", "var defineProperty_ = Object.defineProperty;", "Object.defineProperty = function defineProperty(obj, prop, d1) {", "var d2 = {};", "if ('configurable' in d1) d2.configurable = d1.configurable;", "if ('enumerable' in d1) d2.enumerable = d1.enumerable;", "if ('writable' in d1) d2.writable = d1.writable;", "if ('value' in d1) d2.value = d1.value;", "if ('get' in d1) d2.get = d1.get;", "if ('set' in d1) d2.set = d1.set;", "return defineProperty_(obj, prop, d2);", "};", "})();", "Object.defineProperty(Object, 'defineProperties',", "{configurable: true, writable: true, value:", "function defineProperties(obj, props) {", "var keys = Object.keys(props);", "for (var i = 0; i < keys.length; i++) {", "Object.defineProperty(obj, keys[i], props[keys[i]]);", "}", "return obj;", "}", "});", ""), n = function(i, a) {
|
|
1060
|
+
if (i instanceof M || I(e, e.j, "Object.getOwnPropertyDescriptor called on non-object: " + i), a = String(a), a in i.h) {
|
|
1061
|
+
var s = Object.getOwnPropertyDescriptor(i.h, a), u = i.V[a];
|
|
1062
|
+
return i = i.Y[a], a = e.s(e.M), u || i ? (e.g(a, "get", u), e.g(a, "set", i)) : (e.g(a, "value", s.value), e.g(a, "writable", s.writable)), e.g(a, "configurable", s.configurable), e.g(a, "enumerable", s.enumerable), a;
|
|
1063
1063
|
}
|
|
1064
|
-
}, e.g(e.v, "getOwnPropertyDescriptor", e.i(n, !1),
|
|
1065
|
-
return r(i),
|
|
1066
|
-
}, e.g(e.v, "getPrototypeOf", e.i(n, !1),
|
|
1064
|
+
}, e.g(e.v, "getOwnPropertyDescriptor", e.i(n, !1), w), n = function(i) {
|
|
1065
|
+
return r(i), ge(e, i);
|
|
1066
|
+
}, e.g(e.v, "getPrototypeOf", e.i(n, !1), w), n = function(i) {
|
|
1067
1067
|
return !!i && !i.preventExtensions;
|
|
1068
|
-
}, e.g(e.v, "isExtensible", e.i(n, !1),
|
|
1069
|
-
return i instanceof
|
|
1070
|
-
}, e.g(e.v, "preventExtensions", e.i(n, !1),
|
|
1071
|
-
return r(this), this instanceof
|
|
1068
|
+
}, e.g(e.v, "isExtensible", e.i(n, !1), w), n = function(i) {
|
|
1069
|
+
return i instanceof M && (i.preventExtensions = !0), i;
|
|
1070
|
+
}, e.g(e.v, "preventExtensions", e.i(n, !1), w), J(e, e.v, "toString", M.prototype.toString), J(e, e.v, "toLocaleString", M.prototype.toString), J(e, e.v, "valueOf", M.prototype.valueOf), n = function(i) {
|
|
1071
|
+
return r(this), this instanceof M ? String(i) in this.h : this.hasOwnProperty(i);
|
|
1072
1072
|
}, J(e, e.v, "hasOwnProperty", n), n = function(i) {
|
|
1073
|
-
return r(this), this instanceof
|
|
1073
|
+
return r(this), this instanceof M ? Object.prototype.propertyIsEnumerable.call(this.h, i) : this.propertyIsEnumerable(i);
|
|
1074
1074
|
}, J(e, e.v, "propertyIsEnumerable", n), n = function(i) {
|
|
1075
1075
|
for (; ; ) {
|
|
1076
|
-
if (i =
|
|
1076
|
+
if (i = ge(e, i), !i)
|
|
1077
1077
|
return !1;
|
|
1078
1078
|
if (i === this)
|
|
1079
1079
|
return !0;
|
|
@@ -1082,9 +1082,9 @@ function Qr(e, t) {
|
|
|
1082
1082
|
}
|
|
1083
1083
|
function ei(e, t) {
|
|
1084
1084
|
var r = function(n) {
|
|
1085
|
-
var i =
|
|
1085
|
+
var i = ye(e) ? this : Me(e), a = arguments[0];
|
|
1086
1086
|
if (arguments.length === 1 && typeof a == "number")
|
|
1087
|
-
isNaN(
|
|
1087
|
+
isNaN(Qt(a)) && I(e, e.ob, "Invalid array length: " + a), i.h.length = a;
|
|
1088
1088
|
else {
|
|
1089
1089
|
for (a = 0; a < arguments.length; a++)
|
|
1090
1090
|
i.h[a] = arguments[a];
|
|
@@ -1092,9 +1092,9 @@ function ei(e, t) {
|
|
|
1092
1092
|
}
|
|
1093
1093
|
return i;
|
|
1094
1094
|
};
|
|
1095
|
-
e.qa = e.i(r, !0), e.La = e.qa.h.prototype, e.g(t, "Array", e.qa,
|
|
1095
|
+
e.qa = e.i(r, !0), e.La = e.qa.h.prototype, e.g(t, "Array", e.qa, w), r = function(n) {
|
|
1096
1096
|
return n && n.H === "Array";
|
|
1097
|
-
}, e.g(e.qa, "isArray", e.i(r, !1),
|
|
1097
|
+
}, e.g(e.qa, "isArray", e.i(r, !1), w), e.g(e.La, "length", 0, {
|
|
1098
1098
|
configurable: !1,
|
|
1099
1099
|
enumerable: !1,
|
|
1100
1100
|
writable: !0
|
|
@@ -1102,231 +1102,231 @@ function ei(e, t) {
|
|
|
1102
1102
|
}
|
|
1103
1103
|
function ti(e, t) {
|
|
1104
1104
|
var r = function(n) {
|
|
1105
|
-
return n = arguments.length ?
|
|
1105
|
+
return n = arguments.length ? be.String(n) : "", ye(e) ? (this.data = n, this) : n;
|
|
1106
1106
|
};
|
|
1107
|
-
for (e.J = e.i(r, !0), e.g(t, "String", e.J,
|
|
1107
|
+
for (e.J = e.i(r, !0), e.g(t, "String", e.J, w), e.g(e.J, "fromCharCode", e.i(String.fromCharCode, !1), w), t = "charAt charCodeAt concat indexOf lastIndexOf slice substr substring toLocaleLowerCase toLocaleUpperCase toLowerCase toUpperCase trim".split(" "), r = 0; r < t.length; r++)
|
|
1108
1108
|
J(e, e.J, t[r], String.prototype[t[r]]);
|
|
1109
1109
|
r = function(n, i, a) {
|
|
1110
1110
|
i = e.R(i), a = e.R(a);
|
|
1111
1111
|
try {
|
|
1112
1112
|
return String(this).localeCompare(n, i, a);
|
|
1113
1113
|
} catch (s) {
|
|
1114
|
-
|
|
1114
|
+
I(e, e.D, "localeCompare: " + s.message);
|
|
1115
1115
|
}
|
|
1116
1116
|
}, J(e, e.J, "localeCompare", r), r = function(n, i, a) {
|
|
1117
1117
|
var s = String(this);
|
|
1118
|
-
if (i = i ? Number(i) : void 0, Y(e, n, e.I) && (n = n.data,
|
|
1119
|
-
if (
|
|
1120
|
-
n =
|
|
1118
|
+
if (i = i ? Number(i) : void 0, Y(e, n, e.I) && (n = n.data, Ge(e, n, a), e.REGEXP_MODE === 2)) {
|
|
1119
|
+
if (me)
|
|
1120
|
+
n = Ke(e, "string.split(separator, limit)", {
|
|
1121
1121
|
string: s,
|
|
1122
1122
|
separator: n,
|
|
1123
1123
|
limit: i
|
|
1124
|
-
}, n, a), n !==
|
|
1124
|
+
}, n, a), n !== Re && a(pe(e, n));
|
|
1125
1125
|
else {
|
|
1126
|
-
var
|
|
1127
|
-
|
|
1128
|
-
clearTimeout(d), a(
|
|
1129
|
-
},
|
|
1126
|
+
var u = e.ha(), d = ze(e, n, u, a);
|
|
1127
|
+
u.onmessage = function(p) {
|
|
1128
|
+
clearTimeout(d), a(pe(e, p.data));
|
|
1129
|
+
}, u.postMessage(["split", s, n, i]);
|
|
1130
1130
|
}
|
|
1131
1131
|
return;
|
|
1132
1132
|
}
|
|
1133
|
-
n = s.split(n, i), a(
|
|
1134
|
-
},
|
|
1133
|
+
n = s.split(n, i), a(pe(e, n));
|
|
1134
|
+
}, Xe(e, e.J, "split", r), r = function(n, i) {
|
|
1135
1135
|
var a = String(this);
|
|
1136
|
-
if (n = Y(e, n, e.I) ? n.data : new RegExp(n),
|
|
1137
|
-
if (
|
|
1138
|
-
n =
|
|
1136
|
+
if (n = Y(e, n, e.I) ? n.data : new RegExp(n), Ge(e, n, i), e.REGEXP_MODE === 2)
|
|
1137
|
+
if (me)
|
|
1138
|
+
n = Ke(e, "string.match(regexp)", {
|
|
1139
1139
|
string: a,
|
|
1140
1140
|
regexp: n
|
|
1141
|
-
}, n, i), n !==
|
|
1141
|
+
}, n, i), n !== Re && i(n && pe(e, n));
|
|
1142
1142
|
else {
|
|
1143
|
-
var s = e.ha(),
|
|
1143
|
+
var s = e.ha(), u = ze(e, n, s, i);
|
|
1144
1144
|
s.onmessage = function(d) {
|
|
1145
|
-
clearTimeout(
|
|
1145
|
+
clearTimeout(u), i(d.data && pe(e, d.data));
|
|
1146
1146
|
}, s.postMessage(["match", a, n]);
|
|
1147
1147
|
}
|
|
1148
1148
|
else
|
|
1149
|
-
n = a.match(n), i(n &&
|
|
1150
|
-
},
|
|
1149
|
+
n = a.match(n), i(n && pe(e, n));
|
|
1150
|
+
}, Xe(e, e.J, "match", r), r = function(n, i) {
|
|
1151
1151
|
var a = String(this);
|
|
1152
|
-
if (Y(e, n, e.I) ? n = n.data : n = new RegExp(n),
|
|
1153
|
-
if (
|
|
1154
|
-
n =
|
|
1152
|
+
if (Y(e, n, e.I) ? n = n.data : n = new RegExp(n), Ge(e, n, i), e.REGEXP_MODE === 2)
|
|
1153
|
+
if (me)
|
|
1154
|
+
n = Ke(e, "string.search(regexp)", {
|
|
1155
1155
|
string: a,
|
|
1156
1156
|
regexp: n
|
|
1157
|
-
}, n, i), n !==
|
|
1157
|
+
}, n, i), n !== Re && i(n);
|
|
1158
1158
|
else {
|
|
1159
|
-
var s = e.ha(),
|
|
1159
|
+
var s = e.ha(), u = ze(e, n, s, i);
|
|
1160
1160
|
s.onmessage = function(d) {
|
|
1161
|
-
clearTimeout(
|
|
1161
|
+
clearTimeout(u), i(d.data);
|
|
1162
1162
|
}, s.postMessage(["search", a, n]);
|
|
1163
1163
|
}
|
|
1164
1164
|
else
|
|
1165
1165
|
i(a.search(n));
|
|
1166
|
-
},
|
|
1166
|
+
}, Xe(e, e.J, "search", r), r = function(n, i, a) {
|
|
1167
1167
|
var s = String(this);
|
|
1168
|
-
if (i = String(i), Y(e, n, e.I) && (n = n.data,
|
|
1169
|
-
if (
|
|
1170
|
-
n =
|
|
1168
|
+
if (i = String(i), Y(e, n, e.I) && (n = n.data, Ge(e, n, a), e.REGEXP_MODE === 2)) {
|
|
1169
|
+
if (me)
|
|
1170
|
+
n = Ke(e, "string.replace(substr, newSubstr)", {
|
|
1171
1171
|
string: s,
|
|
1172
1172
|
substr: n,
|
|
1173
1173
|
newSubstr: i
|
|
1174
|
-
}, n, a), n !==
|
|
1174
|
+
}, n, a), n !== Re && a(n);
|
|
1175
1175
|
else {
|
|
1176
|
-
var
|
|
1177
|
-
|
|
1176
|
+
var u = e.ha(), d = ze(e, n, u, a);
|
|
1177
|
+
u.onmessage = function(p) {
|
|
1178
1178
|
clearTimeout(d), a(p.data);
|
|
1179
|
-
},
|
|
1179
|
+
}, u.postMessage(["replace", s, n, i]);
|
|
1180
1180
|
}
|
|
1181
1181
|
return;
|
|
1182
1182
|
}
|
|
1183
1183
|
a(s.replace(n, i));
|
|
1184
|
-
},
|
|
1184
|
+
}, Xe(e, e.J, "replace", r), 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;", "};", "})();", "");
|
|
1185
1185
|
}
|
|
1186
1186
|
function ni(e, t) {
|
|
1187
1187
|
e.mb = e.i(function(r) {
|
|
1188
|
-
return r =
|
|
1189
|
-
}, !0), e.g(t, "Boolean", e.mb,
|
|
1188
|
+
return r = be.Boolean(r), ye(e) ? (this.data = r, this) : r;
|
|
1189
|
+
}, !0), e.g(t, "Boolean", e.mb, w);
|
|
1190
1190
|
}
|
|
1191
1191
|
function ri(e, t) {
|
|
1192
1192
|
var r = function(n) {
|
|
1193
|
-
return n = arguments.length ?
|
|
1193
|
+
return n = arguments.length ? be.Number(n) : 0, ye(e) ? (this.data = n, this) : n;
|
|
1194
1194
|
};
|
|
1195
|
-
for (e.aa = e.i(r, !0), e.g(t, "Number", e.aa,
|
|
1196
|
-
e.g(e.aa, t[r], Number[t[r]],
|
|
1195
|
+
for (e.aa = e.i(r, !0), e.g(t, "Number", e.aa, w), t = ["MAX_VALUE", "MIN_VALUE", "NaN", "NEGATIVE_INFINITY", "POSITIVE_INFINITY"], r = 0; r < t.length; r++)
|
|
1196
|
+
e.g(e.aa, t[r], Number[t[r]], He);
|
|
1197
1197
|
r = function(n) {
|
|
1198
1198
|
try {
|
|
1199
1199
|
return Number(this).toExponential(n);
|
|
1200
1200
|
} catch (i) {
|
|
1201
|
-
|
|
1201
|
+
I(e, e.D, i.message);
|
|
1202
1202
|
}
|
|
1203
1203
|
}, J(e, e.aa, "toExponential", r), r = function(n) {
|
|
1204
1204
|
try {
|
|
1205
1205
|
return Number(this).toFixed(n);
|
|
1206
1206
|
} catch (i) {
|
|
1207
|
-
|
|
1207
|
+
I(e, e.D, i.message);
|
|
1208
1208
|
}
|
|
1209
1209
|
}, J(e, e.aa, "toFixed", r), r = function(n) {
|
|
1210
1210
|
try {
|
|
1211
1211
|
return Number(this).toPrecision(n);
|
|
1212
1212
|
} catch (i) {
|
|
1213
|
-
|
|
1213
|
+
I(e, e.D, i.message);
|
|
1214
1214
|
}
|
|
1215
1215
|
}, J(e, e.aa, "toPrecision", r), r = function(n) {
|
|
1216
1216
|
try {
|
|
1217
1217
|
return Number(this).toString(n);
|
|
1218
1218
|
} catch (i) {
|
|
1219
|
-
|
|
1219
|
+
I(e, e.D, i.message);
|
|
1220
1220
|
}
|
|
1221
1221
|
}, J(e, e.aa, "toString", r), r = function(n, i) {
|
|
1222
1222
|
n = n ? e.R(n) : void 0, i = i ? e.R(i) : void 0;
|
|
1223
1223
|
try {
|
|
1224
1224
|
return Number(this).toLocaleString(n, i);
|
|
1225
1225
|
} catch (a) {
|
|
1226
|
-
|
|
1226
|
+
I(e, e.D, "toLocaleString: " + a.message);
|
|
1227
1227
|
}
|
|
1228
1228
|
}, J(e, e.aa, "toLocaleString", r);
|
|
1229
1229
|
}
|
|
1230
1230
|
function ii(e, t) {
|
|
1231
1231
|
var r = function(i, a) {
|
|
1232
|
-
if (!
|
|
1233
|
-
return
|
|
1232
|
+
if (!ye(e))
|
|
1233
|
+
return be.Date();
|
|
1234
1234
|
var s = [null].concat(Array.from(arguments));
|
|
1235
|
-
return this.data = new (Function.prototype.bind.apply(
|
|
1235
|
+
return this.data = new (Function.prototype.bind.apply(be.Date, s))(), this;
|
|
1236
1236
|
};
|
|
1237
|
-
e.$ = e.i(r, !0), e.nb = e.$.h.prototype, e.g(t, "Date", e.$,
|
|
1237
|
+
e.$ = e.i(r, !0), e.nb = e.$.h.prototype, e.g(t, "Date", e.$, w), e.g(e.$, "now", e.i(Date.now, !1), w), e.g(e.$, "parse", e.i(Date.parse, !1), w), e.g(e.$, "UTC", e.i(Date.UTC, !1), w), 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(" ");
|
|
1238
1238
|
for (var n = 0; n < t.length; n++)
|
|
1239
1239
|
r = function(i) {
|
|
1240
1240
|
return function(a) {
|
|
1241
1241
|
var s = this.data;
|
|
1242
|
-
s instanceof Date ||
|
|
1243
|
-
for (var
|
|
1244
|
-
|
|
1245
|
-
return s[i].apply(s,
|
|
1242
|
+
s instanceof Date || I(e, e.j, i + " not called on a Date");
|
|
1243
|
+
for (var u = [], d = 0; d < arguments.length; d++)
|
|
1244
|
+
u[d] = e.R(arguments[d]);
|
|
1245
|
+
return s[i].apply(s, u);
|
|
1246
1246
|
};
|
|
1247
1247
|
}(t[n]), J(e, e.$, t[n], r);
|
|
1248
1248
|
}
|
|
1249
1249
|
function oi(e, t) {
|
|
1250
1250
|
var r = function(n, i) {
|
|
1251
|
-
if (
|
|
1251
|
+
if (ye(e))
|
|
1252
1252
|
var a = this;
|
|
1253
1253
|
else {
|
|
1254
1254
|
if (i === void 0 && Y(e, n, e.I))
|
|
1255
1255
|
return n;
|
|
1256
1256
|
a = e.s(e.Ma);
|
|
1257
1257
|
}
|
|
1258
|
-
n = n === void 0 ? "" : String(n), i = i ? String(i) : "", /^[gmi]*$/.test(i) ||
|
|
1258
|
+
n = n === void 0 ? "" : String(n), i = i ? String(i) : "", /^[gmi]*$/.test(i) || I(e, e.T, "Invalid regexp flag: " + i);
|
|
1259
1259
|
try {
|
|
1260
|
-
var s = new
|
|
1261
|
-
} catch (
|
|
1262
|
-
|
|
1260
|
+
var s = new be.RegExp(n, i);
|
|
1261
|
+
} catch (u) {
|
|
1262
|
+
I(e, e.T, u.message);
|
|
1263
1263
|
}
|
|
1264
|
-
return
|
|
1264
|
+
return en(e, a, s), a;
|
|
1265
1265
|
};
|
|
1266
|
-
e.I = e.i(r, !0), e.Ma = e.I.h.prototype, e.g(t, "RegExp", e.I,
|
|
1266
|
+
e.I = e.i(r, !0), e.Ma = e.I.h.prototype, e.g(t, "RegExp", e.I, w), e.g(e.I.h.prototype, "global", void 0, te), e.g(e.I.h.prototype, "ignoreCase", void 0, te), e.g(e.I.h.prototype, "multiline", void 0, te), e.g(e.I.h.prototype, "source", "(?:)", te), e.ba.push("Object.defineProperty(RegExp.prototype, 'test',", "{configurable: true, writable: true, value:", "function test(str) {", "return !!this.exec(str);", "}", "});"), r = function(n, i) {
|
|
1267
1267
|
function a(y) {
|
|
1268
1268
|
if (y) {
|
|
1269
|
-
var
|
|
1270
|
-
return e.g(
|
|
1269
|
+
var b = pe(e, y);
|
|
1270
|
+
return e.g(b, "index", y.index), e.g(b, "input", y.input), b;
|
|
1271
1271
|
}
|
|
1272
1272
|
return null;
|
|
1273
1273
|
}
|
|
1274
1274
|
var s = this.data;
|
|
1275
|
-
if (n = String(n), s.lastIndex = Number(e.G(this, "lastIndex")),
|
|
1276
|
-
if (
|
|
1277
|
-
n =
|
|
1275
|
+
if (n = String(n), s.lastIndex = Number(e.G(this, "lastIndex")), Ge(e, s, i), e.REGEXP_MODE === 2)
|
|
1276
|
+
if (me)
|
|
1277
|
+
n = Ke(e, "regexp.exec(string)", {
|
|
1278
1278
|
string: n,
|
|
1279
1279
|
regexp: s
|
|
1280
|
-
}, s, i), n !==
|
|
1280
|
+
}, s, i), n !== Re && (e.g(this, "lastIndex", s.lastIndex), i(a(n)));
|
|
1281
1281
|
else {
|
|
1282
|
-
var
|
|
1283
|
-
|
|
1282
|
+
var u = e.ha(), d = ze(e, s, u, i), p = this;
|
|
1283
|
+
u.onmessage = function(y) {
|
|
1284
1284
|
clearTimeout(d), e.g(p, "lastIndex", y.data[1]), i(a(y.data[0]));
|
|
1285
|
-
},
|
|
1285
|
+
}, u.postMessage(["exec", s, s.lastIndex, n]);
|
|
1286
1286
|
}
|
|
1287
1287
|
else
|
|
1288
1288
|
n = s.exec(n), e.g(this, "lastIndex", s.lastIndex), i(a(n));
|
|
1289
|
-
},
|
|
1289
|
+
}, Xe(e, e.I, "exec", r);
|
|
1290
1290
|
}
|
|
1291
1291
|
function ai(e, t) {
|
|
1292
1292
|
function r(n) {
|
|
1293
1293
|
var i = e.i(function(a) {
|
|
1294
|
-
var s =
|
|
1295
|
-
return
|
|
1294
|
+
var s = ye(e) ? this : e.Aa(i);
|
|
1295
|
+
return Gt(e, s, a), s;
|
|
1296
1296
|
}, !0);
|
|
1297
|
-
return e.g(i, "prototype", e.Aa(e.D),
|
|
1297
|
+
return e.g(i, "prototype", e.Aa(e.D), w), e.g(i.h.prototype, "name", n, w), e.g(t, n, i, w), i;
|
|
1298
1298
|
}
|
|
1299
1299
|
e.D = e.i(function(n) {
|
|
1300
|
-
var i =
|
|
1301
|
-
return
|
|
1302
|
-
}, !0), e.g(t, "Error", e.D,
|
|
1300
|
+
var i = ye(e) ? this : e.Aa(e.D);
|
|
1301
|
+
return Gt(e, i, n), i;
|
|
1302
|
+
}, !0), e.g(t, "Error", e.D, w), e.g(e.D.h.prototype, "message", "", w), e.g(e.D.h.prototype, "name", "Error", w), r("EvalError"), e.ob = r("RangeError"), e.pb = r("ReferenceError"), e.T = r("SyntaxError"), e.j = r("TypeError"), e.Gb = r("URIError");
|
|
1303
1303
|
}
|
|
1304
1304
|
function si(e, t) {
|
|
1305
1305
|
var r = e.s(e.M);
|
|
1306
|
-
e.g(t, "Math", r,
|
|
1306
|
+
e.g(t, "Math", r, w);
|
|
1307
1307
|
var n = "E LN2 LN10 LOG2E LOG10E PI SQRT1_2 SQRT2".split(" ");
|
|
1308
1308
|
for (t = 0; t < n.length; t++)
|
|
1309
|
-
e.g(r, n[t], Math[n[t]],
|
|
1309
|
+
e.g(r, n[t], Math[n[t]], te);
|
|
1310
1310
|
for (n = "abs acos asin atan atan2 ceil cos exp floor log max min pow random round sin sqrt tan".split(" "), t = 0; t < n.length; t++)
|
|
1311
|
-
e.g(r, n[t], e.i(Math[n[t]], !1),
|
|
1311
|
+
e.g(r, n[t], e.i(Math[n[t]], !1), w);
|
|
1312
1312
|
}
|
|
1313
1313
|
function li(e, t) {
|
|
1314
1314
|
var r = e.s(e.M);
|
|
1315
|
-
e.g(t, "JSON", r,
|
|
1315
|
+
e.g(t, "JSON", r, w), t = function(n) {
|
|
1316
1316
|
try {
|
|
1317
1317
|
var i = JSON.parse(String(n));
|
|
1318
1318
|
} catch (a) {
|
|
1319
|
-
|
|
1319
|
+
I(e, e.T, a.message);
|
|
1320
1320
|
}
|
|
1321
1321
|
return e.Ia(i);
|
|
1322
1322
|
}, e.g(r, "parse", e.i(t, !1)), t = function(n, i, a) {
|
|
1323
|
-
i && i.H === "Function" ?
|
|
1324
|
-
return typeof
|
|
1323
|
+
i && i.H === "Function" ? I(e, e.j, "Function replacer on JSON.stringify not supported") : i && i.H === "Array" ? (i = mr(e, i), i = i.filter(function(u) {
|
|
1324
|
+
return typeof u == "string" || typeof u == "number";
|
|
1325
1325
|
})) : i = null, typeof a != "string" && typeof a != "number" && (a = void 0), n = e.R(n);
|
|
1326
1326
|
try {
|
|
1327
1327
|
var s = JSON.stringify(n, i, a);
|
|
1328
|
-
} catch (
|
|
1329
|
-
|
|
1328
|
+
} catch (u) {
|
|
1329
|
+
I(e, e.j, u.message);
|
|
1330
1330
|
}
|
|
1331
1331
|
return s;
|
|
1332
1332
|
}, e.g(r, "stringify", e.i(t, !1));
|
|
@@ -1336,18 +1336,18 @@ function Y(e, t, r) {
|
|
|
1336
1336
|
return !1;
|
|
1337
1337
|
if (r = r.h.prototype, t === r)
|
|
1338
1338
|
return !0;
|
|
1339
|
-
for (t =
|
|
1339
|
+
for (t = ge(e, t); t; ) {
|
|
1340
1340
|
if (t === r)
|
|
1341
1341
|
return !0;
|
|
1342
1342
|
t = t.xa;
|
|
1343
1343
|
}
|
|
1344
1344
|
return !1;
|
|
1345
1345
|
}
|
|
1346
|
-
function
|
|
1347
|
-
t.data = new RegExp(r.source, r.flags), e.g(t, "lastIndex", r.lastIndex,
|
|
1346
|
+
function en(e, t, r) {
|
|
1347
|
+
t.data = new RegExp(r.source, r.flags), e.g(t, "lastIndex", r.lastIndex, w), e.g(t, "source", r.source, te), e.g(t, "global", r.global, te), e.g(t, "ignoreCase", r.ignoreCase, te), e.g(t, "multiline", r.multiline, te);
|
|
1348
1348
|
}
|
|
1349
|
-
function
|
|
1350
|
-
r && e.g(t, "message", String(r),
|
|
1349
|
+
function Gt(e, t, r) {
|
|
1350
|
+
r && e.g(t, "message", String(r), w), r = [];
|
|
1351
1351
|
for (var n = e.o.length - 1; 0 <= n; n--) {
|
|
1352
1352
|
var i = e.o[n], a = i.node;
|
|
1353
1353
|
a.type === "CallExpression" && (i = i.U) && r.length && (r[r.length - 1].Ob = e.G(i, "name")), !a.X || r.length && a.type !== "CallExpression" || r.push({
|
|
@@ -1361,63 +1361,63 @@ function Kt(e, t, r) {
|
|
|
1361
1361
|
`) : a + (" at " + s + `
|
|
1362
1362
|
`);
|
|
1363
1363
|
}
|
|
1364
|
-
e.g(t, "stack", a.trim(),
|
|
1364
|
+
e.g(t, "stack", a.trim(), w);
|
|
1365
1365
|
}
|
|
1366
|
-
|
|
1366
|
+
_.ha = function() {
|
|
1367
1367
|
var e = this.ha.Mb;
|
|
1368
1368
|
return e || (e = new Blob([Yr.join(`
|
|
1369
1369
|
`)], {
|
|
1370
1370
|
type: "application/javascript"
|
|
1371
1371
|
}), this.ha.Mb = e), new Worker(URL.createObjectURL(e));
|
|
1372
1372
|
};
|
|
1373
|
-
function
|
|
1373
|
+
function Ke(e, t, r, n, i) {
|
|
1374
1374
|
var a = {
|
|
1375
1375
|
timeout: e.REGEXP_THREAD_TIMEOUT
|
|
1376
1376
|
};
|
|
1377
1377
|
try {
|
|
1378
|
-
return
|
|
1378
|
+
return me.runInNewContext(t, r, a);
|
|
1379
1379
|
} catch {
|
|
1380
|
-
i(null),
|
|
1380
|
+
i(null), I(e, e.D, "RegExp Timeout: " + n);
|
|
1381
1381
|
}
|
|
1382
|
-
return
|
|
1382
|
+
return Re;
|
|
1383
1383
|
}
|
|
1384
|
-
function
|
|
1384
|
+
function Ge(e, t, r) {
|
|
1385
1385
|
if (e.REGEXP_MODE === 0)
|
|
1386
1386
|
var n = !1;
|
|
1387
1387
|
else if (e.REGEXP_MODE === 1)
|
|
1388
1388
|
n = !0;
|
|
1389
|
-
else if (
|
|
1389
|
+
else if (me)
|
|
1390
1390
|
n = !0;
|
|
1391
1391
|
else if (typeof Worker == "function" && typeof URL == "function")
|
|
1392
1392
|
n = !0;
|
|
1393
1393
|
else if (typeof require == "function") {
|
|
1394
1394
|
try {
|
|
1395
|
-
|
|
1395
|
+
me = require("vm");
|
|
1396
1396
|
} catch {
|
|
1397
1397
|
}
|
|
1398
|
-
n = !!
|
|
1398
|
+
n = !!me;
|
|
1399
1399
|
} else
|
|
1400
1400
|
n = !1;
|
|
1401
|
-
n || (r(null),
|
|
1401
|
+
n || (r(null), I(e, e.D, "Regular expressions not supported: " + t));
|
|
1402
1402
|
}
|
|
1403
|
-
function
|
|
1403
|
+
function ze(e, t, r, n) {
|
|
1404
1404
|
return setTimeout(function() {
|
|
1405
1405
|
r.terminate(), n(null);
|
|
1406
1406
|
try {
|
|
1407
|
-
|
|
1407
|
+
I(e, e.D, "RegExp Timeout: " + t);
|
|
1408
1408
|
} catch {
|
|
1409
1409
|
}
|
|
1410
1410
|
}, e.REGEXP_THREAD_TIMEOUT);
|
|
1411
1411
|
}
|
|
1412
|
-
|
|
1412
|
+
_.Aa = function(e) {
|
|
1413
1413
|
return this.s(e && e.h.prototype);
|
|
1414
1414
|
};
|
|
1415
|
-
|
|
1415
|
+
_.s = function(e) {
|
|
1416
1416
|
if (typeof e != "object")
|
|
1417
1417
|
throw Error("Non object prototype");
|
|
1418
|
-
return e = new
|
|
1418
|
+
return e = new M(e), Y(this, e, this.D) && (e.H = "Error"), e;
|
|
1419
1419
|
};
|
|
1420
|
-
function
|
|
1420
|
+
function Me(e) {
|
|
1421
1421
|
var t = e.s(e.La);
|
|
1422
1422
|
return e.g(t, "length", 0, {
|
|
1423
1423
|
configurable: !1,
|
|
@@ -1425,29 +1425,29 @@ function Fe(e) {
|
|
|
1425
1425
|
writable: !0
|
|
1426
1426
|
}), t.H = "Array", t;
|
|
1427
1427
|
}
|
|
1428
|
-
function
|
|
1428
|
+
function tn(e, t, r) {
|
|
1429
1429
|
var n = e.s(e.Z);
|
|
1430
|
-
return r ? (r = e.s(e.M), e.g(n, "prototype", r,
|
|
1430
|
+
return r ? (r = e.s(e.M), e.g(n, "prototype", r, w), e.g(r, "constructor", n, w)) : n.Ab = !0, e.g(n, "length", t, te), n.H = "Function", n;
|
|
1431
1431
|
}
|
|
1432
|
-
function
|
|
1433
|
-
var i =
|
|
1434
|
-
return i.Va = r, i.node = t, e.g(i, "name", t.id ? String(t.id.name) : n || "",
|
|
1432
|
+
function nn(e, t, r, n) {
|
|
1433
|
+
var i = tn(e, t.oa.length, !0);
|
|
1434
|
+
return i.Va = r, i.node = t, e.g(i, "name", t.id ? String(t.id.name) : n || "", te), i;
|
|
1435
1435
|
}
|
|
1436
|
-
|
|
1437
|
-
return t =
|
|
1436
|
+
_.i = function(e, t) {
|
|
1437
|
+
return t = tn(this, e.length, t), t.Ta = e, e.id = this.Ya++, this.g(t, "name", e.name, te), t;
|
|
1438
1438
|
};
|
|
1439
|
-
|
|
1440
|
-
var t =
|
|
1441
|
-
return t.Za = e, e.id = this.Ya++, this.g(t, "name", e.name,
|
|
1439
|
+
_.ub = function(e) {
|
|
1440
|
+
var t = tn(this, e.length, !0);
|
|
1441
|
+
return t.Za = e, e.id = this.Ya++, this.g(t, "name", e.name, te), t;
|
|
1442
1442
|
};
|
|
1443
|
-
|
|
1444
|
-
if (e instanceof
|
|
1443
|
+
_.Ia = function(e) {
|
|
1444
|
+
if (e instanceof M)
|
|
1445
1445
|
throw Error("Object is already pseudo");
|
|
1446
1446
|
if (e == null || e === !0 || e === !1 || typeof e == "string" || typeof e == "number")
|
|
1447
1447
|
return e;
|
|
1448
1448
|
if (e instanceof RegExp) {
|
|
1449
1449
|
var t = this.s(this.Ma);
|
|
1450
|
-
return
|
|
1450
|
+
return en(this, t, e), t;
|
|
1451
1451
|
}
|
|
1452
1452
|
if (e instanceof Date)
|
|
1453
1453
|
return t = this.s(this.nb), t.data = new Date(e.valueOf()), t;
|
|
@@ -1461,7 +1461,7 @@ L.Ia = function(e) {
|
|
|
1461
1461
|
}, !!t);
|
|
1462
1462
|
}
|
|
1463
1463
|
if (Array.isArray(e)) {
|
|
1464
|
-
t =
|
|
1464
|
+
t = Me(this);
|
|
1465
1465
|
for (var n = 0; n < e.length; n++)
|
|
1466
1466
|
n in e && this.g(t, n, this.Ia(e[n]));
|
|
1467
1467
|
return t;
|
|
@@ -1471,10 +1471,10 @@ L.Ia = function(e) {
|
|
|
1471
1471
|
this.g(t, n, this.Ia(e[n]));
|
|
1472
1472
|
return t;
|
|
1473
1473
|
};
|
|
1474
|
-
|
|
1474
|
+
_.R = function(e, t) {
|
|
1475
1475
|
if (typeof e != "object" && typeof e != "function" || e === null)
|
|
1476
1476
|
return e;
|
|
1477
|
-
if (!(e instanceof
|
|
1477
|
+
if (!(e instanceof M))
|
|
1478
1478
|
throw Error("Object is not pseudo");
|
|
1479
1479
|
if (Y(this, e, this.I))
|
|
1480
1480
|
return t = new RegExp(e.data.source, e.data.flags), t.lastIndex = e.data.lastIndex, t;
|
|
@@ -1501,8 +1501,8 @@ L.R = function(e, t) {
|
|
|
1501
1501
|
});
|
|
1502
1502
|
return t.hb.pop(), t.Sa.pop(), r;
|
|
1503
1503
|
};
|
|
1504
|
-
function
|
|
1505
|
-
for (var r =
|
|
1504
|
+
function pe(e, t) {
|
|
1505
|
+
for (var r = Me(e), n = Object.getOwnPropertyNames(t), i = 0; i < n.length; i++)
|
|
1506
1506
|
e.g(r, n[i], t[n[i]]);
|
|
1507
1507
|
return r;
|
|
1508
1508
|
}
|
|
@@ -1510,9 +1510,9 @@ function mr(e, t) {
|
|
|
1510
1510
|
var r = [], n;
|
|
1511
1511
|
for (n in t.h)
|
|
1512
1512
|
r[n] = e.G(t, n);
|
|
1513
|
-
return r.length =
|
|
1513
|
+
return r.length = Qt(e.G(t, "length")) || 0, r;
|
|
1514
1514
|
}
|
|
1515
|
-
function
|
|
1515
|
+
function ge(e, t) {
|
|
1516
1516
|
switch (typeof t) {
|
|
1517
1517
|
case "number":
|
|
1518
1518
|
return e.aa.h.prototype;
|
|
@@ -1523,52 +1523,52 @@ function ye(e, t) {
|
|
|
1523
1523
|
}
|
|
1524
1524
|
return t ? t.xa : null;
|
|
1525
1525
|
}
|
|
1526
|
-
|
|
1526
|
+
_.G = function(e, t) {
|
|
1527
1527
|
if (this.P)
|
|
1528
1528
|
throw Error("Getter not supported in that context");
|
|
1529
|
-
if (t = String(t), e != null ||
|
|
1529
|
+
if (t = String(t), e != null || I(this, this.j, "Cannot read property '" + t + "' of " + e), typeof e == "object" && !(e instanceof M))
|
|
1530
1530
|
throw TypeError("Expecting native value or pseudo object");
|
|
1531
1531
|
if (t === "length") {
|
|
1532
1532
|
if (Y(this, e, this.J))
|
|
1533
1533
|
return String(e).length;
|
|
1534
1534
|
} else if (64 > t.charCodeAt(0) && Y(this, e, this.J)) {
|
|
1535
|
-
var r =
|
|
1535
|
+
var r = Ye(t);
|
|
1536
1536
|
if (!isNaN(r) && r < String(e).length)
|
|
1537
1537
|
return String(e)[r];
|
|
1538
1538
|
}
|
|
1539
1539
|
do
|
|
1540
1540
|
if (e.h && t in e.h)
|
|
1541
1541
|
return (r = e.V[t]) ? (this.P = !0, r) : e.h[t];
|
|
1542
|
-
while (e =
|
|
1542
|
+
while (e = ge(this, e));
|
|
1543
1543
|
};
|
|
1544
1544
|
function mt(e, t, r) {
|
|
1545
|
-
if (!(t instanceof
|
|
1545
|
+
if (!(t instanceof M))
|
|
1546
1546
|
throw TypeError("Primitive data type has no properties");
|
|
1547
1547
|
if (r = String(r), r === "length" && Y(e, t, e.J))
|
|
1548
1548
|
return !0;
|
|
1549
1549
|
if (Y(e, t, e.J)) {
|
|
1550
|
-
var n =
|
|
1550
|
+
var n = Ye(r);
|
|
1551
1551
|
if (!isNaN(n) && n < String(t).length)
|
|
1552
1552
|
return !0;
|
|
1553
1553
|
}
|
|
1554
1554
|
do
|
|
1555
1555
|
if (t.h && r in t.h)
|
|
1556
1556
|
return !0;
|
|
1557
|
-
while (t =
|
|
1557
|
+
while (t = ge(e, t));
|
|
1558
1558
|
return !1;
|
|
1559
1559
|
}
|
|
1560
|
-
|
|
1560
|
+
_.g = function(e, t, r, n) {
|
|
1561
1561
|
if (this.Ka)
|
|
1562
1562
|
throw Error("Setter not supported in that context");
|
|
1563
|
-
if (t = String(t), e != null ||
|
|
1563
|
+
if (t = String(t), e != null || I(this, this.j, "Cannot set property '" + t + "' of " + e), typeof e == "object" && !(e instanceof M))
|
|
1564
1564
|
throw TypeError("Expecting native value or pseudo object");
|
|
1565
|
-
n && ("get" in n || "set" in n) && ("value" in n || "writable" in n) &&
|
|
1566
|
-
var i = !this.o ||
|
|
1567
|
-
if (e instanceof
|
|
1565
|
+
n && ("get" in n || "set" in n) && ("value" in n || "writable" in n) && I(this, this.j, "Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");
|
|
1566
|
+
var i = !this.o || rn(this).S;
|
|
1567
|
+
if (e instanceof M) {
|
|
1568
1568
|
if (Y(this, e, this.J)) {
|
|
1569
|
-
var a =
|
|
1569
|
+
var a = Ye(t);
|
|
1570
1570
|
if (t === "length" || !isNaN(a) && a < String(e).length) {
|
|
1571
|
-
i &&
|
|
1571
|
+
i && I(this, this.j, "Cannot assign to read only property '" + t + "' of String '" + e.data + "'");
|
|
1572
1572
|
return;
|
|
1573
1573
|
}
|
|
1574
1574
|
}
|
|
@@ -1579,64 +1579,64 @@ L.g = function(e, t, r, n) {
|
|
|
1579
1579
|
return;
|
|
1580
1580
|
r = n.value;
|
|
1581
1581
|
}
|
|
1582
|
-
if (r =
|
|
1582
|
+
if (r = Qt(r), isNaN(r) && I(this, this.ob, "Invalid array length"), r < a)
|
|
1583
1583
|
for (s in e.h) {
|
|
1584
|
-
var s =
|
|
1584
|
+
var s = Ye(s);
|
|
1585
1585
|
!isNaN(s) && r <= s && delete e.h[s];
|
|
1586
1586
|
}
|
|
1587
1587
|
} else
|
|
1588
|
-
isNaN(s =
|
|
1588
|
+
isNaN(s = Ye(t)) || (e.h.length = Math.max(a, s + 1));
|
|
1589
1589
|
if (!e.preventExtensions || t in e.h)
|
|
1590
1590
|
if (n) {
|
|
1591
|
-
i = {}, "get" in n && n.get && (e.V[t] = n.get, i.get = this.g.ac), "set" in n && n.set && (e.Y[t] = n.set, i.set = this.g.bc), "configurable" in n && (i.configurable = n.configurable), "enumerable" in n && (i.enumerable = n.enumerable), "writable" in n && (i.writable = n.writable, delete e.V[t], delete e.Y[t]), "value" in n ? (i.value = n.value, delete e.V[t], delete e.Y[t]) : r !==
|
|
1591
|
+
i = {}, "get" in n && n.get && (e.V[t] = n.get, i.get = this.g.ac), "set" in n && n.set && (e.Y[t] = n.set, i.set = this.g.bc), "configurable" in n && (i.configurable = n.configurable), "enumerable" in n && (i.enumerable = n.enumerable), "writable" in n && (i.writable = n.writable, delete e.V[t], delete e.Y[t]), "value" in n ? (i.value = n.value, delete e.V[t], delete e.Y[t]) : r !== qe && (i.value = r, delete e.V[t], delete e.Y[t]);
|
|
1592
1592
|
try {
|
|
1593
1593
|
Object.defineProperty(e.h, t, i);
|
|
1594
1594
|
} catch {
|
|
1595
|
-
|
|
1595
|
+
I(this, this.j, "Cannot redefine property: " + t);
|
|
1596
1596
|
}
|
|
1597
1597
|
"get" in n && !n.get && delete e.V[t], "set" in n && !n.set && delete e.Y[t];
|
|
1598
1598
|
} else {
|
|
1599
|
-
if (r ===
|
|
1599
|
+
if (r === qe)
|
|
1600
1600
|
throw ReferenceError("Value not specified");
|
|
1601
1601
|
for (n = e; !(t in n.h); )
|
|
1602
|
-
if (n =
|
|
1602
|
+
if (n = ge(this, n), !n) {
|
|
1603
1603
|
n = e;
|
|
1604
1604
|
break;
|
|
1605
1605
|
}
|
|
1606
1606
|
if (n.Y && n.Y[t])
|
|
1607
1607
|
return this.Ka = !0, n.Y[t];
|
|
1608
1608
|
if (n.V && n.V[t])
|
|
1609
|
-
i &&
|
|
1609
|
+
i && I(this, this.j, "Cannot set property '" + t + "' of object '" + e + "' which only has a getter");
|
|
1610
1610
|
else
|
|
1611
1611
|
try {
|
|
1612
1612
|
e.h[t] = r;
|
|
1613
1613
|
} catch {
|
|
1614
|
-
i &&
|
|
1614
|
+
i && I(this, this.j, "Cannot assign to read only property '" + t + "' of object '" + e + "'");
|
|
1615
1615
|
}
|
|
1616
1616
|
}
|
|
1617
1617
|
else
|
|
1618
|
-
i &&
|
|
1618
|
+
i && I(this, this.j, "Can't add property '" + t + "', object is not extensible");
|
|
1619
1619
|
} else
|
|
1620
|
-
i &&
|
|
1620
|
+
i && I(this, this.j, "Can't create property '" + t + "' on '" + e + "'");
|
|
1621
1621
|
};
|
|
1622
|
-
|
|
1622
|
+
_.g.ac = function() {
|
|
1623
1623
|
throw Error("Placeholder getter");
|
|
1624
1624
|
};
|
|
1625
|
-
|
|
1625
|
+
_.g.bc = function() {
|
|
1626
1626
|
throw Error("Placeholder setter");
|
|
1627
1627
|
};
|
|
1628
1628
|
function J(e, t, r, n) {
|
|
1629
|
-
e.g(t.h.prototype, r, e.i(n, !1),
|
|
1629
|
+
e.g(t.h.prototype, r, e.i(n, !1), w);
|
|
1630
1630
|
}
|
|
1631
|
-
function
|
|
1632
|
-
e.g(t.h.prototype, r, e.ub(n),
|
|
1631
|
+
function Xe(e, t, r, n) {
|
|
1632
|
+
e.g(t.h.prototype, r, e.ub(n), w);
|
|
1633
1633
|
}
|
|
1634
|
-
function
|
|
1634
|
+
function rn(e) {
|
|
1635
1635
|
if (e = e.o[e.o.length - 1].scope, !e)
|
|
1636
1636
|
throw Error("No scope found");
|
|
1637
1637
|
return e;
|
|
1638
1638
|
}
|
|
1639
|
-
function
|
|
1639
|
+
function zt(e, t, r) {
|
|
1640
1640
|
var n = !1;
|
|
1641
1641
|
if (r && r.S)
|
|
1642
1642
|
n = !0;
|
|
@@ -1644,30 +1644,30 @@ function Gt(e, t, r) {
|
|
|
1644
1644
|
var i = t.body && t.body[0];
|
|
1645
1645
|
i && i.la && i.la.type === "Literal" && i.la.value === "use strict" && (n = !0);
|
|
1646
1646
|
}
|
|
1647
|
-
return i = e.s(null), n = new vr(r, n, i), r || qr(e, n.object),
|
|
1647
|
+
return i = e.s(null), n = new vr(r, n, i), r || qr(e, n.object), Ze(e, t, n), n;
|
|
1648
1648
|
}
|
|
1649
|
-
function
|
|
1649
|
+
function on(e, t, r) {
|
|
1650
1650
|
if (!t)
|
|
1651
1651
|
throw Error("parentScope required");
|
|
1652
1652
|
return e = r || e.s(null), new vr(t, t.S, e);
|
|
1653
1653
|
}
|
|
1654
|
-
function
|
|
1655
|
-
for (var r =
|
|
1654
|
+
function an(e, t) {
|
|
1655
|
+
for (var r = rn(e); r && r !== e.N; ) {
|
|
1656
1656
|
if (t in r.object.h)
|
|
1657
1657
|
return r.object.h[t];
|
|
1658
1658
|
r = r.Va;
|
|
1659
1659
|
}
|
|
1660
1660
|
if (r === e.N && mt(e, r.object, t))
|
|
1661
1661
|
return e.G(r.object, t);
|
|
1662
|
-
r = e.o[e.o.length - 1].node, r.type === "UnaryExpression" && r.operator === "typeof" ||
|
|
1662
|
+
r = e.o[e.o.length - 1].node, r.type === "UnaryExpression" && r.operator === "typeof" || I(e, e.pb, t + " is not defined");
|
|
1663
1663
|
}
|
|
1664
1664
|
function gr(e, t, r) {
|
|
1665
|
-
for (var n =
|
|
1665
|
+
for (var n = rn(e), i = n.S; n && n !== e.N; ) {
|
|
1666
1666
|
if (t in n.object.h) {
|
|
1667
1667
|
try {
|
|
1668
1668
|
n.object.h[t] = r;
|
|
1669
1669
|
} catch {
|
|
1670
|
-
i &&
|
|
1670
|
+
i && I(e, e.j, "Cannot assign to read only variable '" + t + "'");
|
|
1671
1671
|
}
|
|
1672
1672
|
return;
|
|
1673
1673
|
}
|
|
@@ -1675,9 +1675,9 @@ function gr(e, t, r) {
|
|
|
1675
1675
|
}
|
|
1676
1676
|
if (n === e.N && (!i || mt(e, n.object, t)))
|
|
1677
1677
|
return e.g(n.object, t, r);
|
|
1678
|
-
|
|
1678
|
+
I(e, e.pb, t + " is not defined");
|
|
1679
1679
|
}
|
|
1680
|
-
function
|
|
1680
|
+
function Ze(e, t, r) {
|
|
1681
1681
|
if (t.jb)
|
|
1682
1682
|
var n = t.jb;
|
|
1683
1683
|
else {
|
|
@@ -1705,17 +1705,17 @@ function Qe(e, t, r) {
|
|
|
1705
1705
|
var a = t.constructor, s;
|
|
1706
1706
|
for (s in t)
|
|
1707
1707
|
if (s !== "loc") {
|
|
1708
|
-
var
|
|
1709
|
-
if (
|
|
1710
|
-
if (Array.isArray(
|
|
1711
|
-
for (i = 0; i <
|
|
1712
|
-
if (
|
|
1713
|
-
var d =
|
|
1708
|
+
var u = t[s];
|
|
1709
|
+
if (u && typeof u == "object") {
|
|
1710
|
+
if (Array.isArray(u)) {
|
|
1711
|
+
for (i = 0; i < u.length; i++)
|
|
1712
|
+
if (u[i] && u[i].constructor === a) {
|
|
1713
|
+
var d = Ze(e, u[i], r);
|
|
1714
1714
|
for (s in d)
|
|
1715
1715
|
n[s] = d[s];
|
|
1716
1716
|
}
|
|
1717
|
-
} else if (
|
|
1718
|
-
for (s in d =
|
|
1717
|
+
} else if (u.constructor === a)
|
|
1718
|
+
for (s in d = Ze(e, u, r), d)
|
|
1719
1719
|
n[s] = d[s];
|
|
1720
1720
|
}
|
|
1721
1721
|
}
|
|
@@ -1723,22 +1723,22 @@ function Qe(e, t, r) {
|
|
|
1723
1723
|
t.jb = n;
|
|
1724
1724
|
}
|
|
1725
1725
|
for (s in n)
|
|
1726
|
-
n[s] === !0 ? e.g(r.object, s, void 0, Yn) : e.g(r.object, s,
|
|
1726
|
+
n[s] === !0 ? e.g(r.object, s, void 0, Yn) : e.g(r.object, s, nn(e, n[s], r), Yn);
|
|
1727
1727
|
return n;
|
|
1728
1728
|
}
|
|
1729
|
-
function
|
|
1729
|
+
function ye(e) {
|
|
1730
1730
|
return e.o[e.o.length - 1].isConstructor;
|
|
1731
1731
|
}
|
|
1732
|
-
function
|
|
1733
|
-
return t[0] ===
|
|
1732
|
+
function sn(e, t) {
|
|
1733
|
+
return t[0] === Fe ? an(e, t[1]) : e.G(t[0], t[1]);
|
|
1734
1734
|
}
|
|
1735
|
-
function
|
|
1736
|
-
return t[0] ===
|
|
1735
|
+
function ln(e, t, r) {
|
|
1736
|
+
return t[0] === Fe ? gr(e, t[1], r) : e.g(t[0], t[1], r);
|
|
1737
1737
|
}
|
|
1738
|
-
function
|
|
1739
|
-
throw e.N ? (r !== void 0 && t instanceof
|
|
1738
|
+
function I(e, t, r) {
|
|
1739
|
+
throw e.N ? (r !== void 0 && t instanceof M && (t = e.Aa(t), Gt(e, t, r)), tt(e, 4, t), pr) : r === void 0 ? t : r;
|
|
1740
1740
|
}
|
|
1741
|
-
function
|
|
1741
|
+
function tt(e, t, r, n) {
|
|
1742
1742
|
if (t === 0)
|
|
1743
1743
|
throw TypeError("Should not unwind for NORMAL completions");
|
|
1744
1744
|
var i = e.o;
|
|
@@ -1783,34 +1783,34 @@ function nt(e, t, r, n) {
|
|
|
1783
1783
|
URIError
|
|
1784
1784
|
}, n = String(e.G(r, "name")), i = e.G(r, "message").valueOf(), t = (t[n] || Error)(i), t.stack = String(e.G(r, "stack"))) : t = String(r), e.value = t, t;
|
|
1785
1785
|
}
|
|
1786
|
-
function
|
|
1786
|
+
function ee(e, t) {
|
|
1787
1787
|
switch (t.type) {
|
|
1788
1788
|
case "ArrayExpression":
|
|
1789
1789
|
return "[...]";
|
|
1790
1790
|
case "BinaryExpression":
|
|
1791
1791
|
case "LogicalExpression":
|
|
1792
|
-
return
|
|
1792
|
+
return ee(e, t.left) + " " + t.operator + " " + ee(e, t.right);
|
|
1793
1793
|
case "CallExpression":
|
|
1794
|
-
return
|
|
1794
|
+
return ee(e, t.callee) + "(...)";
|
|
1795
1795
|
case "ConditionalExpression":
|
|
1796
|
-
return
|
|
1796
|
+
return ee(e, t.test) + " ? " + ee(e, t.da) + " : " + ee(e, t.alternate);
|
|
1797
1797
|
case "Identifier":
|
|
1798
1798
|
return t.name;
|
|
1799
1799
|
case "Literal":
|
|
1800
1800
|
return t.raw;
|
|
1801
1801
|
case "MemberExpression":
|
|
1802
|
-
var r =
|
|
1803
|
-
return e =
|
|
1802
|
+
var r = ee(e, t.object);
|
|
1803
|
+
return e = ee(e, t.Wa), t.bb ? r + "[" + e + "]" : r + "." + e;
|
|
1804
1804
|
case "NewExpression":
|
|
1805
|
-
return "new " +
|
|
1805
|
+
return "new " + ee(e, t.callee) + "(...)";
|
|
1806
1806
|
case "ObjectExpression":
|
|
1807
1807
|
return "{...}";
|
|
1808
1808
|
case "ThisExpression":
|
|
1809
1809
|
return "this";
|
|
1810
1810
|
case "UnaryExpression":
|
|
1811
|
-
return t.operator + " " +
|
|
1811
|
+
return t.operator + " " + ee(e, t.K);
|
|
1812
1812
|
case "UpdateExpression":
|
|
1813
|
-
return r =
|
|
1813
|
+
return r = ee(e, t.K), t.prefix ? t.operator + r : r + t.operator;
|
|
1814
1814
|
}
|
|
1815
1815
|
return "???";
|
|
1816
1816
|
}
|
|
@@ -1818,18 +1818,18 @@ function Zn(e, t, r) {
|
|
|
1818
1818
|
var n = e.o[e.o.length - 1], i = Array.from(r), a = i.shift();
|
|
1819
1819
|
r = Math.max(Number(i.shift() || 0), 0);
|
|
1820
1820
|
var s = e.ya();
|
|
1821
|
-
if (a instanceof
|
|
1822
|
-
var
|
|
1821
|
+
if (a instanceof M && a.H === "Function") {
|
|
1822
|
+
var u = a;
|
|
1823
1823
|
s.type = "CallExpression", n = n.scope;
|
|
1824
1824
|
} else {
|
|
1825
1825
|
try {
|
|
1826
|
-
var d =
|
|
1826
|
+
var d = Pe(String(a), "taskCode" + e.ic++);
|
|
1827
1827
|
} catch (p) {
|
|
1828
|
-
|
|
1828
|
+
I(e, e.T, "Invalid code: " + p.message);
|
|
1829
1829
|
}
|
|
1830
1830
|
s.type = "EvalProgram_", s.body = d.body, n = n.node.arguments[0], pt(s, n ? n.start : void 0, n ? n.end : void 0), n = e.N, i.length = 0;
|
|
1831
1831
|
}
|
|
1832
|
-
return t = new ci(
|
|
1832
|
+
return t = new ci(u, i, n, s, t ? r : -1), yr(e, t, r), t.Db;
|
|
1833
1833
|
}
|
|
1834
1834
|
function yr(e, t, r) {
|
|
1835
1835
|
t.time = Date.now() + r, e.ca.push(t), e.ca.sort(function(n, i) {
|
|
@@ -1843,49 +1843,49 @@ function Qn(e, t) {
|
|
|
1843
1843
|
break;
|
|
1844
1844
|
}
|
|
1845
1845
|
}
|
|
1846
|
-
function
|
|
1846
|
+
function nt(e, t, r) {
|
|
1847
1847
|
if (!e.P)
|
|
1848
1848
|
throw Error("Unexpected call to createGetter");
|
|
1849
1849
|
e.P = !1, r = Array.isArray(r) ? r[0] : r;
|
|
1850
1850
|
var n = e.ya();
|
|
1851
|
-
return n.type = "CallExpression", e = new
|
|
1851
|
+
return n.type = "CallExpression", e = new k(n, e.o[e.o.length - 1].scope), e.ia = 2, e.B = r, e.U = t, e.Qa = !0, e.F = [], e;
|
|
1852
1852
|
}
|
|
1853
|
-
function
|
|
1853
|
+
function cn(e, t, r, n) {
|
|
1854
1854
|
if (!e.Ka)
|
|
1855
1855
|
throw Error("Unexpected call to createSetter");
|
|
1856
1856
|
e.Ka = !1, r = Array.isArray(r) ? r[0] : e.Na;
|
|
1857
1857
|
var i = e.ya();
|
|
1858
|
-
return i.type = "CallExpression", e = new
|
|
1858
|
+
return i.type = "CallExpression", e = new k(i, e.o[e.o.length - 1].scope), e.ia = 2, e.B = r, e.U = t, e.Qa = !0, e.F = [n], e;
|
|
1859
1859
|
}
|
|
1860
1860
|
function Lt(e, t) {
|
|
1861
|
-
return t == null ? e.Na : t instanceof
|
|
1861
|
+
return t == null ? e.Na : t instanceof M ? t : (e = e.s(ge(e, t)), e.data = t, e);
|
|
1862
1862
|
}
|
|
1863
|
-
|
|
1863
|
+
_.Xb = function() {
|
|
1864
1864
|
return this.N;
|
|
1865
1865
|
};
|
|
1866
|
-
|
|
1866
|
+
_.Yb = function() {
|
|
1867
1867
|
return this.o;
|
|
1868
1868
|
};
|
|
1869
|
-
|
|
1869
|
+
_.ec = function(e) {
|
|
1870
1870
|
this.o = e;
|
|
1871
1871
|
};
|
|
1872
|
-
function
|
|
1872
|
+
function k(e, t) {
|
|
1873
1873
|
this.node = e, this.scope = t;
|
|
1874
1874
|
}
|
|
1875
1875
|
function vr(e, t, r) {
|
|
1876
1876
|
this.Va = e, this.S = t, this.object = r;
|
|
1877
1877
|
}
|
|
1878
|
-
function
|
|
1878
|
+
function M(e) {
|
|
1879
1879
|
this.V = /* @__PURE__ */ Object.create(null), this.Y = /* @__PURE__ */ Object.create(null), this.h = /* @__PURE__ */ Object.create(null), this.xa = e;
|
|
1880
1880
|
}
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
if (!
|
|
1881
|
+
_ = M.prototype;
|
|
1882
|
+
_.xa = null;
|
|
1883
|
+
_.H = "Object";
|
|
1884
|
+
_.data = null;
|
|
1885
|
+
_.toString = function() {
|
|
1886
|
+
if (!Je)
|
|
1887
1887
|
return "[object Interpreter.Object]";
|
|
1888
|
-
if (!(this instanceof
|
|
1888
|
+
if (!(this instanceof M))
|
|
1889
1889
|
return String(this);
|
|
1890
1890
|
if (this.H === "Array") {
|
|
1891
1891
|
var e = qn;
|
|
@@ -1895,7 +1895,7 @@ L.toString = function() {
|
|
|
1895
1895
|
1024 < r && (r = 1e3, n = !0);
|
|
1896
1896
|
for (var i = 0; i < r; i++) {
|
|
1897
1897
|
var a = this.h[i];
|
|
1898
|
-
t[i] = a instanceof
|
|
1898
|
+
t[i] = a instanceof M && e.indexOf(a) !== -1 ? "..." : a;
|
|
1899
1899
|
}
|
|
1900
1900
|
n && t.push("...");
|
|
1901
1901
|
} finally {
|
|
@@ -1930,8 +1930,8 @@ L.toString = function() {
|
|
|
1930
1930
|
}
|
|
1931
1931
|
return this.data !== null ? String(this.data) : "[object " + this.H + "]";
|
|
1932
1932
|
};
|
|
1933
|
-
|
|
1934
|
-
return !
|
|
1933
|
+
_.valueOf = function() {
|
|
1934
|
+
return !Je || this.data === void 0 || this.data === null || this.data instanceof RegExp ? this : this.data instanceof Date ? this.data.valueOf() : this.data;
|
|
1935
1935
|
};
|
|
1936
1936
|
function ci(e, t, r, n, i) {
|
|
1937
1937
|
this.zb = e, this.Lb = t, this.scope = r, this.node = n, this.interval = i, this.Db = ++ui, this.time = 0;
|
|
@@ -1940,18 +1940,18 @@ var ui = 0;
|
|
|
1940
1940
|
g.prototype.stepArrayExpression = function(e, t, r) {
|
|
1941
1941
|
r = r.elements;
|
|
1942
1942
|
var n = t.A || 0;
|
|
1943
|
-
for (t.Oa ? (this.g(t.Oa, n, t.value), n++) : (t.Oa =
|
|
1943
|
+
for (t.Oa ? (this.g(t.Oa, n, t.value), n++) : (t.Oa = Me(this), t.Oa.h.length = r.length); n < r.length; ) {
|
|
1944
1944
|
if (r[n])
|
|
1945
|
-
return t.A = n, new
|
|
1945
|
+
return t.A = n, new k(r[n], t.scope);
|
|
1946
1946
|
n++;
|
|
1947
1947
|
}
|
|
1948
1948
|
e.pop(), e[e.length - 1].value = t.Oa;
|
|
1949
1949
|
};
|
|
1950
1950
|
g.prototype.stepAssignmentExpression = function(e, t, r) {
|
|
1951
1951
|
if (!t.ja)
|
|
1952
|
-
return t.ja = !0, t = new
|
|
1952
|
+
return t.ja = !0, t = new k(r.left, t.scope), t.sa = !0, t;
|
|
1953
1953
|
if (!t.Da)
|
|
1954
|
-
return t.Fa || (t.Fa = t.value), t.Ba && (t.ma = t.value), !t.Ba && r.operator !== "=" && (e =
|
|
1954
|
+
return t.Fa || (t.Fa = t.value), t.Ba && (t.ma = t.value), !t.Ba && r.operator !== "=" && (e = sn(this, t.Fa), t.ma = e, this.P) ? (t.Ba = !0, nt(this, e, t.Fa)) : (t.Da = !0, r.operator === "=" && r.left.type === "Identifier" && (t.Pa = r.left.name), new k(r.right, t.scope));
|
|
1955
1955
|
if (t.ta)
|
|
1956
1956
|
e.pop(), e[e.length - 1].value = t.ib;
|
|
1957
1957
|
else {
|
|
@@ -1996,16 +1996,16 @@ g.prototype.stepAssignmentExpression = function(e, t, r) {
|
|
|
1996
1996
|
default:
|
|
1997
1997
|
throw SyntaxError("Unknown assignment expression: " + r.operator);
|
|
1998
1998
|
}
|
|
1999
|
-
if (r =
|
|
2000
|
-
return t.ta = !0, t.ib = n,
|
|
1999
|
+
if (r = ln(this, t.Fa, n))
|
|
2000
|
+
return t.ta = !0, t.ib = n, cn(this, r, t.Fa, n);
|
|
2001
2001
|
e.pop(), e[e.length - 1].value = n;
|
|
2002
2002
|
}
|
|
2003
2003
|
};
|
|
2004
2004
|
g.prototype.stepBinaryExpression = function(e, t, r) {
|
|
2005
2005
|
if (!t.ja)
|
|
2006
|
-
return t.ja = !0, new
|
|
2006
|
+
return t.ja = !0, new k(r.left, t.scope);
|
|
2007
2007
|
if (!t.Da)
|
|
2008
|
-
return t.Da = !0, t.ma = t.value, new
|
|
2008
|
+
return t.Da = !0, t.ma = t.value, new k(r.right, t.scope);
|
|
2009
2009
|
e.pop();
|
|
2010
2010
|
var n = t.ma;
|
|
2011
2011
|
switch (t = t.value, r.operator) {
|
|
@@ -2067,10 +2067,10 @@ g.prototype.stepBinaryExpression = function(e, t, r) {
|
|
|
2067
2067
|
r = n >>> t;
|
|
2068
2068
|
break;
|
|
2069
2069
|
case "in":
|
|
2070
|
-
t instanceof
|
|
2070
|
+
t instanceof M || I(this, this.j, "'in' expects an object, not '" + t + "'"), r = mt(this, t, n);
|
|
2071
2071
|
break;
|
|
2072
2072
|
case "instanceof":
|
|
2073
|
-
Y(this, t, this.O) ||
|
|
2073
|
+
Y(this, t, this.O) || I(this, this.j, "'instanceof' expects an object, not '" + t + "'"), r = n instanceof M ? Y(this, n, t) : !1;
|
|
2074
2074
|
break;
|
|
2075
2075
|
default:
|
|
2076
2076
|
throw SyntaxError("Unknown binary operator: " + r.operator);
|
|
@@ -2080,35 +2080,35 @@ g.prototype.stepBinaryExpression = function(e, t, r) {
|
|
|
2080
2080
|
g.prototype.stepBlockStatement = function(e, t, r) {
|
|
2081
2081
|
var n = t.A || 0;
|
|
2082
2082
|
if (r = r.body[n])
|
|
2083
|
-
return t.A = n + 1, new
|
|
2083
|
+
return t.A = n + 1, new k(r, t.scope);
|
|
2084
2084
|
e.pop();
|
|
2085
2085
|
};
|
|
2086
2086
|
g.prototype.stepBreakStatement = function(e, t, r) {
|
|
2087
|
-
|
|
2087
|
+
tt(this, 1, void 0, r.label && r.label.name);
|
|
2088
2088
|
};
|
|
2089
2089
|
g.prototype.Hb = 0;
|
|
2090
2090
|
g.prototype.stepCallExpression = function(e, t, r) {
|
|
2091
2091
|
if (!t.ia) {
|
|
2092
2092
|
t.ia = 1;
|
|
2093
|
-
var n = new
|
|
2093
|
+
var n = new k(r.callee, t.scope);
|
|
2094
2094
|
return n.sa = !0, n;
|
|
2095
2095
|
}
|
|
2096
2096
|
if (t.ia === 1) {
|
|
2097
2097
|
t.ia = 2;
|
|
2098
2098
|
var i = t.value;
|
|
2099
2099
|
if (Array.isArray(i)) {
|
|
2100
|
-
if (t.U =
|
|
2101
|
-
return t.ia = 1,
|
|
2100
|
+
if (t.U = sn(this, i), i[0] === Fe ? t.Pb = i[1] === "eval" : t.B = i[0], i = t.U, this.P)
|
|
2101
|
+
return t.ia = 1, nt(this, i, t.value);
|
|
2102
2102
|
} else
|
|
2103
2103
|
t.U = i;
|
|
2104
2104
|
t.F = [], t.A = 0;
|
|
2105
2105
|
}
|
|
2106
2106
|
if (i = t.U, !t.Qa) {
|
|
2107
2107
|
if (t.A !== 0 && t.F.push(t.value), r.arguments[t.A])
|
|
2108
|
-
return new
|
|
2108
|
+
return new k(r.arguments[t.A++], t.scope);
|
|
2109
2109
|
if (r.type === "NewExpression") {
|
|
2110
|
-
if (i instanceof
|
|
2111
|
-
t.B =
|
|
2110
|
+
if (i instanceof M && !i.Ab || I(this, this.j, ee(this, r.callee) + " is not a constructor"), i === this.qa)
|
|
2111
|
+
t.B = Me(this);
|
|
2112
2112
|
else {
|
|
2113
2113
|
var a = i.h.prototype;
|
|
2114
2114
|
(typeof a != "object" || a === null) && (a = this.M), t.B = this.s(a);
|
|
@@ -2120,61 +2120,61 @@ g.prototype.stepCallExpression = function(e, t, r) {
|
|
|
2120
2120
|
if (t.eb)
|
|
2121
2121
|
e.pop(), e[e.length - 1].value = t.isConstructor && typeof t.value != "object" ? t.B : t.value;
|
|
2122
2122
|
else {
|
|
2123
|
-
if (t.eb = !0, i instanceof
|
|
2124
|
-
for (r =
|
|
2123
|
+
if (t.eb = !0, i instanceof M || I(this, this.j, ee(this, r.callee) + " is not a function"), e = i.node) {
|
|
2124
|
+
for (r = zt(this, e.body, i.Va), n = Me(this), i = 0; i < t.F.length; i++)
|
|
2125
2125
|
this.g(n, i, t.F[i]);
|
|
2126
2126
|
for (this.g(r.object, "arguments", n), i = 0; i < e.oa.length; i++)
|
|
2127
2127
|
this.g(r.object, e.oa[i].name, t.F.length > i ? t.F[i] : void 0);
|
|
2128
|
-
return r.S || (t.B = Lt(this, t.B)), this.g(r.object, "this", t.B,
|
|
2128
|
+
return r.S || (t.B = Lt(this, t.B)), this.g(r.object, "this", t.B, Zt), t.value = void 0, new k(e.body, r);
|
|
2129
2129
|
}
|
|
2130
2130
|
if (i.eval)
|
|
2131
2131
|
if (i = t.F[0], typeof i != "string")
|
|
2132
2132
|
t.value = i;
|
|
2133
2133
|
else {
|
|
2134
2134
|
try {
|
|
2135
|
-
n =
|
|
2136
|
-
} catch (
|
|
2137
|
-
|
|
2135
|
+
n = Pe(String(i), "eval" + this.Hb++);
|
|
2136
|
+
} catch (u) {
|
|
2137
|
+
I(this, this.T, "Invalid code: " + u.message);
|
|
2138
2138
|
}
|
|
2139
|
-
return i = this.ya(), i.type = "EvalProgram_", i.body = n.body, pt(i, r.start, r.end), r = t.Pb ? t.scope : this.N, r.S ? r =
|
|
2139
|
+
return i = this.ya(), i.type = "EvalProgram_", i.body = n.body, pt(i, r.start, r.end), r = t.Pb ? t.scope : this.N, r.S ? r = zt(this, n, r) : Ze(this, n, r), this.value = void 0, new k(i, r);
|
|
2140
2140
|
}
|
|
2141
2141
|
else if (i.Ta)
|
|
2142
2142
|
t.scope.S || (t.B = Lt(this, t.B)), t.value = i.Ta.apply(t.B, t.F);
|
|
2143
2143
|
else if (i.Za) {
|
|
2144
2144
|
var s = this;
|
|
2145
|
-
n = i.Za.length - 1, n = t.F.concat(Array(n)).slice(0, n), n.push(function(
|
|
2146
|
-
t.value =
|
|
2145
|
+
n = i.Za.length - 1, n = t.F.concat(Array(n)).slice(0, n), n.push(function(u) {
|
|
2146
|
+
t.value = u, s.za = !1;
|
|
2147
2147
|
}), this.za = !0, t.scope.S || (t.B = Lt(this, t.B)), i.Za.apply(t.B, n);
|
|
2148
2148
|
} else
|
|
2149
|
-
|
|
2149
|
+
I(this, this.j, ee(this, r.callee) + " is not callable");
|
|
2150
2150
|
}
|
|
2151
2151
|
};
|
|
2152
2152
|
g.prototype.stepConditionalExpression = function(e, t, r) {
|
|
2153
2153
|
var n = t.na || 0;
|
|
2154
2154
|
if (n === 0)
|
|
2155
|
-
return t.na = 1, new
|
|
2155
|
+
return t.na = 1, new k(r.test, t.scope);
|
|
2156
2156
|
if (n === 1) {
|
|
2157
2157
|
if (t.na = 2, (n = !!t.value) && r.da)
|
|
2158
|
-
return new
|
|
2158
|
+
return new k(r.da, t.scope);
|
|
2159
2159
|
if (!n && r.alternate)
|
|
2160
|
-
return new
|
|
2160
|
+
return new k(r.alternate, t.scope);
|
|
2161
2161
|
this.value = void 0;
|
|
2162
2162
|
}
|
|
2163
2163
|
e.pop(), r.type === "ConditionalExpression" && (e[e.length - 1].value = t.value);
|
|
2164
2164
|
};
|
|
2165
2165
|
g.prototype.stepContinueStatement = function(e, t, r) {
|
|
2166
|
-
|
|
2166
|
+
tt(this, 2, void 0, r.label && r.label.name);
|
|
2167
2167
|
};
|
|
2168
2168
|
g.prototype.stepDebuggerStatement = function(e) {
|
|
2169
2169
|
e.pop();
|
|
2170
2170
|
};
|
|
2171
2171
|
g.prototype.stepDoWhileStatement = function(e, t, r) {
|
|
2172
2172
|
if (r.type === "DoWhileStatement" && t.ga === void 0 && (t.value = !0, t.ga = !0), !t.ga)
|
|
2173
|
-
return t.ga = !0, new
|
|
2173
|
+
return t.ga = !0, new k(r.test, t.scope);
|
|
2174
2174
|
if (!t.value)
|
|
2175
2175
|
e.pop();
|
|
2176
2176
|
else if (r.body)
|
|
2177
|
-
return t.ga = !1, t.W = !0, new
|
|
2177
|
+
return t.ga = !1, t.W = !0, new k(r.body, t.scope);
|
|
2178
2178
|
};
|
|
2179
2179
|
g.prototype.stepEmptyStatement = function(e) {
|
|
2180
2180
|
e.pop();
|
|
@@ -2182,23 +2182,23 @@ g.prototype.stepEmptyStatement = function(e) {
|
|
|
2182
2182
|
g.prototype.stepEvalProgram_ = function(e, t, r) {
|
|
2183
2183
|
var n = t.A || 0;
|
|
2184
2184
|
if (r = r.body[n])
|
|
2185
|
-
return t.A = n + 1, new
|
|
2185
|
+
return t.A = n + 1, new k(r, t.scope);
|
|
2186
2186
|
e.pop(), e[e.length - 1].value = this.value;
|
|
2187
2187
|
};
|
|
2188
2188
|
g.prototype.stepExpressionStatement = function(e, t, r) {
|
|
2189
2189
|
if (!t.ka)
|
|
2190
|
-
return this.value = void 0, t.ka = !0, new
|
|
2190
|
+
return this.value = void 0, t.ka = !0, new k(r.la, t.scope);
|
|
2191
2191
|
e.pop(), this.value = t.value;
|
|
2192
2192
|
};
|
|
2193
2193
|
g.prototype.stepForInStatement = function(e, t, r) {
|
|
2194
2194
|
if (!t.Ub && (t.Ub = !0, r.left.fa && r.left.fa[0].ua))
|
|
2195
|
-
return t.scope.S &&
|
|
2195
|
+
return t.scope.S && I(this, this.T, "for-in loop variable declaration may not have an initializer"), new k(r.left, t.scope);
|
|
2196
2196
|
if (!t.Ca)
|
|
2197
|
-
return t.Ca = !0, t.pa || (t.pa = t.value), new
|
|
2197
|
+
return t.Ca = !0, t.pa || (t.pa = t.value), new k(r.right, t.scope);
|
|
2198
2198
|
if (t.W || (t.W = !0, t.u = t.value, t.kb = /* @__PURE__ */ Object.create(null)), t.Ra === void 0)
|
|
2199
2199
|
e:
|
|
2200
2200
|
for (; ; ) {
|
|
2201
|
-
if (t.u instanceof
|
|
2201
|
+
if (t.u instanceof M)
|
|
2202
2202
|
for (t.wa || (t.wa = Object.getOwnPropertyNames(t.u.h)); ; ) {
|
|
2203
2203
|
var n = t.wa.shift();
|
|
2204
2204
|
if (n === void 0)
|
|
@@ -2215,91 +2215,91 @@ g.prototype.stepForInStatement = function(e, t, r) {
|
|
|
2215
2215
|
break e;
|
|
2216
2216
|
}
|
|
2217
2217
|
}
|
|
2218
|
-
if (t.u =
|
|
2218
|
+
if (t.u = ge(this, t.u), t.wa = null, t.u === null) {
|
|
2219
2219
|
e.pop();
|
|
2220
2220
|
return;
|
|
2221
2221
|
}
|
|
2222
2222
|
}
|
|
2223
2223
|
if (!t.wb)
|
|
2224
2224
|
if (t.wb = !0, e = r.left, e.type === "VariableDeclaration")
|
|
2225
|
-
t.pa = [
|
|
2225
|
+
t.pa = [Fe, e.fa[0].id.name];
|
|
2226
2226
|
else
|
|
2227
|
-
return t.pa = null, t = new
|
|
2228
|
-
if (t.pa || (t.pa = t.value), !t.ta && (t.ta = !0, e = t.Ra, n =
|
|
2229
|
-
return
|
|
2227
|
+
return t.pa = null, t = new k(e, t.scope), t.sa = !0, t;
|
|
2228
|
+
if (t.pa || (t.pa = t.value), !t.ta && (t.ta = !0, e = t.Ra, n = ln(this, t.pa, e)))
|
|
2229
|
+
return cn(this, n, t.pa, e);
|
|
2230
2230
|
if (t.Ra = void 0, t.wb = !1, t.ta = !1, r.body)
|
|
2231
|
-
return new
|
|
2231
|
+
return new k(r.body, t.scope);
|
|
2232
2232
|
};
|
|
2233
2233
|
g.prototype.stepForStatement = function(e, t, r) {
|
|
2234
2234
|
switch (t.na) {
|
|
2235
2235
|
default:
|
|
2236
2236
|
if (t.na = 1, r.ua)
|
|
2237
|
-
return new
|
|
2237
|
+
return new k(r.ua, t.scope);
|
|
2238
2238
|
break;
|
|
2239
2239
|
case 1:
|
|
2240
2240
|
if (t.na = 2, r.test)
|
|
2241
|
-
return new
|
|
2241
|
+
return new k(r.test, t.scope);
|
|
2242
2242
|
break;
|
|
2243
2243
|
case 2:
|
|
2244
2244
|
if (t.na = 3, r.test && !t.value)
|
|
2245
2245
|
e.pop();
|
|
2246
2246
|
else
|
|
2247
|
-
return t.W = !0, new
|
|
2247
|
+
return t.W = !0, new k(r.body, t.scope);
|
|
2248
2248
|
break;
|
|
2249
2249
|
case 3:
|
|
2250
2250
|
if (t.na = 1, r.update)
|
|
2251
|
-
return new
|
|
2251
|
+
return new k(r.update, t.scope);
|
|
2252
2252
|
}
|
|
2253
2253
|
};
|
|
2254
2254
|
g.prototype.stepFunctionDeclaration = function(e) {
|
|
2255
2255
|
e.pop();
|
|
2256
2256
|
};
|
|
2257
2257
|
g.prototype.stepFunctionExpression = function(e, t, r) {
|
|
2258
|
-
e.pop(), t = e[e.length - 1], e = t.scope, r.id && (e =
|
|
2258
|
+
e.pop(), t = e[e.length - 1], e = t.scope, r.id && (e = on(this, e)), t.value = nn(this, r, e, t.Pa), r.id && this.g(e.object, r.id.name, t.value, Zt);
|
|
2259
2259
|
};
|
|
2260
2260
|
g.prototype.stepIdentifier = function(e, t, r) {
|
|
2261
2261
|
if (e.pop(), t.sa)
|
|
2262
|
-
e[e.length - 1].value = [
|
|
2262
|
+
e[e.length - 1].value = [Fe, r.name];
|
|
2263
2263
|
else {
|
|
2264
|
-
if (t =
|
|
2265
|
-
return
|
|
2264
|
+
if (t = an(this, r.name), this.P)
|
|
2265
|
+
return nt(this, t, this.Na);
|
|
2266
2266
|
e[e.length - 1].value = t;
|
|
2267
2267
|
}
|
|
2268
2268
|
};
|
|
2269
2269
|
g.prototype.stepIfStatement = g.prototype.stepConditionalExpression;
|
|
2270
2270
|
g.prototype.stepLabeledStatement = function(e, t, r) {
|
|
2271
|
-
return e.pop(), e = t.labels || [], e.push(r.label.name), t = new
|
|
2271
|
+
return e.pop(), e = t.labels || [], e.push(r.label.name), t = new k(r.body, t.scope), t.labels = e, t;
|
|
2272
2272
|
};
|
|
2273
2273
|
g.prototype.stepLiteral = function(e, t, r) {
|
|
2274
|
-
e.pop(), t = r.value, t instanceof RegExp && (r = this.s(this.Ma),
|
|
2274
|
+
e.pop(), t = r.value, t instanceof RegExp && (r = this.s(this.Ma), en(this, r, t), t = r), e[e.length - 1].value = t;
|
|
2275
2275
|
};
|
|
2276
2276
|
g.prototype.stepLogicalExpression = function(e, t, r) {
|
|
2277
2277
|
if (r.operator !== "&&" && r.operator !== "||")
|
|
2278
2278
|
throw SyntaxError("Unknown logical operator: " + r.operator);
|
|
2279
2279
|
if (!t.ja)
|
|
2280
|
-
return t.ja = !0, new
|
|
2280
|
+
return t.ja = !0, new k(r.left, t.scope);
|
|
2281
2281
|
if (t.Da)
|
|
2282
2282
|
e.pop(), e[e.length - 1].value = t.value;
|
|
2283
2283
|
else if (r.operator === "&&" && !t.value || r.operator === "||" && t.value)
|
|
2284
2284
|
e.pop(), e[e.length - 1].value = t.value;
|
|
2285
2285
|
else
|
|
2286
|
-
return t.Da = !0, new
|
|
2286
|
+
return t.Da = !0, new k(r.right, t.scope);
|
|
2287
2287
|
};
|
|
2288
2288
|
g.prototype.stepMemberExpression = function(e, t, r) {
|
|
2289
2289
|
if (!t.Ca)
|
|
2290
|
-
return t.Ca = !0, new
|
|
2290
|
+
return t.Ca = !0, new k(r.object, t.scope);
|
|
2291
2291
|
if (r.bb)
|
|
2292
2292
|
if (t.Vb)
|
|
2293
2293
|
r = t.value;
|
|
2294
2294
|
else
|
|
2295
|
-
return t.u = t.value, t.Vb = !0, new
|
|
2295
|
+
return t.u = t.value, t.Vb = !0, new k(r.Wa, t.scope);
|
|
2296
2296
|
else
|
|
2297
2297
|
t.u = t.value, r = r.Wa.name;
|
|
2298
2298
|
if (e.pop(), t.sa)
|
|
2299
2299
|
e[e.length - 1].value = [t.u, r];
|
|
2300
2300
|
else {
|
|
2301
2301
|
if (r = this.G(t.u, r), this.P)
|
|
2302
|
-
return
|
|
2302
|
+
return nt(this, r, t.u);
|
|
2303
2303
|
e[e.length - 1].value = r;
|
|
2304
2304
|
}
|
|
2305
2305
|
};
|
|
@@ -2319,10 +2319,10 @@ g.prototype.stepObjectExpression = function(e, t, r) {
|
|
|
2319
2319
|
a = s.value;
|
|
2320
2320
|
else
|
|
2321
2321
|
throw SyntaxError("Unknown object structure: " + s.type);
|
|
2322
|
-
return t.Pa = a, new
|
|
2322
|
+
return t.Pa = a, new k(i.value, t.scope);
|
|
2323
2323
|
}
|
|
2324
2324
|
for (s in t.Ja)
|
|
2325
|
-
r = t.Ja[s], "get" in r || "set" in r ? this.g(t.u, s,
|
|
2325
|
+
r = t.Ja[s], "get" in r || "set" in r ? this.g(t.u, s, qe, {
|
|
2326
2326
|
configurable: !0,
|
|
2327
2327
|
enumerable: !0,
|
|
2328
2328
|
get: r.get,
|
|
@@ -2332,35 +2332,35 @@ g.prototype.stepObjectExpression = function(e, t, r) {
|
|
|
2332
2332
|
};
|
|
2333
2333
|
g.prototype.stepProgram = function(e, t, r) {
|
|
2334
2334
|
if (e = r.body.shift())
|
|
2335
|
-
return t.done = !1, new
|
|
2335
|
+
return t.done = !1, new k(e, t.scope);
|
|
2336
2336
|
t.done = !0;
|
|
2337
2337
|
};
|
|
2338
2338
|
g.prototype.stepReturnStatement = function(e, t, r) {
|
|
2339
2339
|
if (r.K && !t.ka)
|
|
2340
|
-
return t.ka = !0, new
|
|
2341
|
-
|
|
2340
|
+
return t.ka = !0, new k(r.K, t.scope);
|
|
2341
|
+
tt(this, 3, t.value);
|
|
2342
2342
|
};
|
|
2343
2343
|
g.prototype.stepSequenceExpression = function(e, t, r) {
|
|
2344
2344
|
var n = t.A || 0;
|
|
2345
2345
|
if (r = r.xb[n])
|
|
2346
|
-
return t.A = n + 1, new
|
|
2346
|
+
return t.A = n + 1, new k(r, t.scope);
|
|
2347
2347
|
e.pop(), e[e.length - 1].value = t.value;
|
|
2348
2348
|
};
|
|
2349
2349
|
g.prototype.stepSwitchStatement = function(e, t, r) {
|
|
2350
2350
|
if (!t.ga)
|
|
2351
|
-
return t.ga = 1, new
|
|
2351
|
+
return t.ga = 1, new k(r.Qb, t.scope);
|
|
2352
2352
|
for (t.ga === 1 && (t.ga = 2, t.hc = t.value, t.cb = -1); ; ) {
|
|
2353
2353
|
var n = t.gb || 0, i = r.tb[n];
|
|
2354
2354
|
if (t.Ha || !i || i.test)
|
|
2355
2355
|
if (i || t.Ha || t.cb === -1)
|
|
2356
2356
|
if (i) {
|
|
2357
2357
|
if (!t.Ha && !t.Fb && i.test)
|
|
2358
|
-
return t.Fb = !0, new
|
|
2358
|
+
return t.Fb = !0, new k(i.test, t.scope);
|
|
2359
2359
|
if (t.Ha || t.value === t.hc) {
|
|
2360
2360
|
t.Ha = !0;
|
|
2361
2361
|
var a = t.A || 0;
|
|
2362
2362
|
if (i.da[a])
|
|
2363
|
-
return t.Zb = !0, t.A = a + 1, new
|
|
2363
|
+
return t.Zb = !0, t.A = a + 1, new k(i.da[a], t.scope);
|
|
2364
2364
|
}
|
|
2365
2365
|
t.Fb = !1, t.A = 0, t.gb = n + 1;
|
|
2366
2366
|
} else {
|
|
@@ -2374,26 +2374,26 @@ g.prototype.stepSwitchStatement = function(e, t, r) {
|
|
|
2374
2374
|
}
|
|
2375
2375
|
};
|
|
2376
2376
|
g.prototype.stepThisExpression = function(e) {
|
|
2377
|
-
e.pop(), e[e.length - 1].value =
|
|
2377
|
+
e.pop(), e[e.length - 1].value = an(this, "this");
|
|
2378
2378
|
};
|
|
2379
2379
|
g.prototype.stepThrowStatement = function(e, t, r) {
|
|
2380
2380
|
if (t.ka)
|
|
2381
|
-
|
|
2381
|
+
I(this, t.value);
|
|
2382
2382
|
else
|
|
2383
|
-
return t.ka = !0, new
|
|
2383
|
+
return t.ka = !0, new k(r.K, t.scope);
|
|
2384
2384
|
};
|
|
2385
2385
|
g.prototype.stepTryStatement = function(e, t, r) {
|
|
2386
2386
|
if (!t.Rb)
|
|
2387
|
-
return t.Rb = !0, new
|
|
2387
|
+
return t.Rb = !0, new k(r.block, t.scope);
|
|
2388
2388
|
if (t.ea && t.ea.type === 4 && !t.Tb && r.Ea)
|
|
2389
|
-
return t.Tb = !0, e =
|
|
2389
|
+
return t.Tb = !0, e = on(this, t.scope), this.g(e.object, r.Ea.Ua.name, t.ea.value), t.ea = void 0, new k(r.Ea.body, e);
|
|
2390
2390
|
if (!t.Sb && r.fb)
|
|
2391
|
-
return t.Sb = !0, new
|
|
2392
|
-
e.pop(), t.ea &&
|
|
2391
|
+
return t.Sb = !0, new k(r.fb, t.scope);
|
|
2392
|
+
e.pop(), t.ea && tt(this, t.ea.type, t.ea.value, t.ea.label);
|
|
2393
2393
|
};
|
|
2394
2394
|
g.prototype.stepUnaryExpression = function(e, t, r) {
|
|
2395
2395
|
if (!t.ka)
|
|
2396
|
-
return t.ka = !0, e = new
|
|
2396
|
+
return t.ka = !0, e = new k(r.K, t.scope), e.sa = r.operator === "delete", e;
|
|
2397
2397
|
e.pop();
|
|
2398
2398
|
var n = t.value;
|
|
2399
2399
|
switch (r.operator) {
|
|
@@ -2412,11 +2412,11 @@ g.prototype.stepUnaryExpression = function(e, t, r) {
|
|
|
2412
2412
|
case "delete":
|
|
2413
2413
|
if (r = !0, Array.isArray(n)) {
|
|
2414
2414
|
var i = n[0];
|
|
2415
|
-
i ===
|
|
2415
|
+
i === Fe && (i = t.scope), n = String(n[1]);
|
|
2416
2416
|
try {
|
|
2417
2417
|
delete i.h[n];
|
|
2418
2418
|
} catch {
|
|
2419
|
-
t.scope.S ?
|
|
2419
|
+
t.scope.S ? I(this, this.j, "Cannot delete property '" + n + "' of '" + i + "'") : r = !1;
|
|
2420
2420
|
}
|
|
2421
2421
|
}
|
|
2422
2422
|
n = r;
|
|
@@ -2434,11 +2434,11 @@ g.prototype.stepUnaryExpression = function(e, t, r) {
|
|
|
2434
2434
|
};
|
|
2435
2435
|
g.prototype.stepUpdateExpression = function(e, t, r) {
|
|
2436
2436
|
if (!t.ja)
|
|
2437
|
-
return t.ja = !0, e = new
|
|
2437
|
+
return t.ja = !0, e = new k(r.K, t.scope), e.sa = !0, e;
|
|
2438
2438
|
if (t.Ga || (t.Ga = t.value), t.Ba && (t.ma = t.value), !t.Ba) {
|
|
2439
|
-
var n =
|
|
2439
|
+
var n = sn(this, t.Ga);
|
|
2440
2440
|
if (t.ma = n, this.P)
|
|
2441
|
-
return t.Ba = !0,
|
|
2441
|
+
return t.Ba = !0, nt(this, n, t.Ga);
|
|
2442
2442
|
}
|
|
2443
2443
|
if (t.ta)
|
|
2444
2444
|
e.pop(), e[e.length - 1].value = t.ib;
|
|
@@ -2449,8 +2449,8 @@ g.prototype.stepUpdateExpression = function(e, t, r) {
|
|
|
2449
2449
|
i = n - 1;
|
|
2450
2450
|
else
|
|
2451
2451
|
throw SyntaxError("Unknown update expression: " + r.operator);
|
|
2452
|
-
if (r = r.prefix ? i : n, n =
|
|
2453
|
-
return t.ta = !0, t.ib = r,
|
|
2452
|
+
if (r = r.prefix ? i : n, n = ln(this, t.Ga, i))
|
|
2453
|
+
return t.ta = !0, t.ib = r, cn(this, n, t.Ga, i);
|
|
2454
2454
|
e.pop(), e[e.length - 1].value = r;
|
|
2455
2455
|
}
|
|
2456
2456
|
};
|
|
@@ -2459,16 +2459,16 @@ g.prototype.stepVariableDeclaration = function(e, t, r) {
|
|
|
2459
2459
|
var n = t.A || 0, i = r[n];
|
|
2460
2460
|
for (t.Bb && i && (gr(this, i.id.name, t.value), t.Bb = !1, i = r[++n]); i; ) {
|
|
2461
2461
|
if (i.ua)
|
|
2462
|
-
return t.A = n, t.Bb = !0, t.Pa = i.id.name, new
|
|
2462
|
+
return t.A = n, t.Bb = !0, t.Pa = i.id.name, new k(i.ua, t.scope);
|
|
2463
2463
|
i = r[++n];
|
|
2464
2464
|
}
|
|
2465
2465
|
e.pop();
|
|
2466
2466
|
};
|
|
2467
2467
|
g.prototype.stepWithStatement = function(e, t, r) {
|
|
2468
|
-
return t.Ca ? (e.pop(), e =
|
|
2468
|
+
return t.Ca ? (e.pop(), e = on(this, t.scope, t.value), new k(r.body, e)) : (t.Ca = !0, new k(r.object, t.scope));
|
|
2469
2469
|
};
|
|
2470
2470
|
g.prototype.stepWhileStatement = g.prototype.stepDoWhileStatement;
|
|
2471
|
-
|
|
2471
|
+
be.Interpreter = g;
|
|
2472
2472
|
g.prototype.step = g.prototype.lb;
|
|
2473
2473
|
g.prototype.run = g.prototype.Eb;
|
|
2474
2474
|
g.prototype.appendCode = g.prototype.Jb;
|
|
@@ -2483,7 +2483,7 @@ g.prototype.pseudoToNative = g.prototype.R;
|
|
|
2483
2483
|
g.prototype.getGlobalScope = g.prototype.Xb;
|
|
2484
2484
|
g.prototype.getStateStack = g.prototype.Yb;
|
|
2485
2485
|
g.prototype.setStateStack = g.prototype.ec;
|
|
2486
|
-
g.VALUE_IN_DESCRIPTOR =
|
|
2486
|
+
g.VALUE_IN_DESCRIPTOR = qe;
|
|
2487
2487
|
const fi = ({
|
|
2488
2488
|
builder: e,
|
|
2489
2489
|
context: t,
|
|
@@ -2503,10 +2503,10 @@ const fi = ({
|
|
|
2503
2503
|
return;
|
|
2504
2504
|
if (!r.startsWith("state."))
|
|
2505
2505
|
return t;
|
|
2506
|
-
const [i, a] = r.split("="),
|
|
2506
|
+
const [i, a] = r.split("="), u = `setRootState('${i.replace("state.", "").trim()}', ${a.trim()})`;
|
|
2507
2507
|
return `
|
|
2508
2508
|
${t}
|
|
2509
|
-
${
|
|
2509
|
+
${u}
|
|
2510
2510
|
`;
|
|
2511
2511
|
}).filter(Boolean).join(`
|
|
2512
2512
|
`), er = (e) => e + "JSON", hi = ({
|
|
@@ -2518,50 +2518,50 @@ const fi = ({
|
|
|
2518
2518
|
rootSetState: a,
|
|
2519
2519
|
code: s
|
|
2520
2520
|
}) => {
|
|
2521
|
-
const
|
|
2521
|
+
const u = {
|
|
2522
2522
|
...n,
|
|
2523
2523
|
...i
|
|
2524
2524
|
}, d = fi({
|
|
2525
2525
|
builder: e,
|
|
2526
2526
|
context: t,
|
|
2527
2527
|
event: r,
|
|
2528
|
-
state:
|
|
2529
|
-
}), p = d.map(([
|
|
2530
|
-
const
|
|
2531
|
-
return `var ${
|
|
2528
|
+
state: u
|
|
2529
|
+
}), p = d.map(([C]) => {
|
|
2530
|
+
const T = er(C);
|
|
2531
|
+
return `var ${C} = ${T} === undefined ? undefined : JSON.parse(${T});`;
|
|
2532
2532
|
}).join(`
|
|
2533
2533
|
`), y = di(s);
|
|
2534
2534
|
if (y === "") {
|
|
2535
|
-
|
|
2535
|
+
Oe.warn("Skipping evaluation of empty code block.");
|
|
2536
2536
|
return;
|
|
2537
2537
|
}
|
|
2538
|
-
const
|
|
2538
|
+
const b = `
|
|
2539
2539
|
function theFunction() {
|
|
2540
2540
|
${p}
|
|
2541
2541
|
|
|
2542
2542
|
${y}
|
|
2543
2543
|
}
|
|
2544
2544
|
theFunction();
|
|
2545
|
-
`, P = (
|
|
2546
|
-
const
|
|
2547
|
-
a == null || a(
|
|
2548
|
-
},
|
|
2549
|
-
d.forEach(([
|
|
2550
|
-
const v = JSON.stringify(
|
|
2551
|
-
|
|
2552
|
-
}),
|
|
2545
|
+
`, P = (C, T) => {
|
|
2546
|
+
const B = hr(u, C, T);
|
|
2547
|
+
a == null || a(B);
|
|
2548
|
+
}, U = function(C, T) {
|
|
2549
|
+
d.forEach(([B, $]) => {
|
|
2550
|
+
const v = JSON.stringify($);
|
|
2551
|
+
C.setProperty(T, er(B), v);
|
|
2552
|
+
}), C.setProperty(T, "setRootState", C.createNativeFunction(P));
|
|
2553
2553
|
};
|
|
2554
2554
|
try {
|
|
2555
|
-
const
|
|
2556
|
-
return
|
|
2557
|
-
} catch (
|
|
2558
|
-
|
|
2559
|
-
e:
|
|
2555
|
+
const C = new g(b, U);
|
|
2556
|
+
return C.run(), C.pseudoToNative(C.value);
|
|
2557
|
+
} catch (C) {
|
|
2558
|
+
Oe.warn("Custom code error in edge runtime. NOTE: your code must be ES5 JavaScript.", {
|
|
2559
|
+
e: C
|
|
2560
2560
|
});
|
|
2561
2561
|
return;
|
|
2562
2562
|
}
|
|
2563
2563
|
};
|
|
2564
|
-
function
|
|
2564
|
+
function Qe({
|
|
2565
2565
|
code: e,
|
|
2566
2566
|
context: t,
|
|
2567
2567
|
localState: r,
|
|
@@ -2571,17 +2571,17 @@ function et({
|
|
|
2571
2571
|
isExpression: s = !0
|
|
2572
2572
|
}) {
|
|
2573
2573
|
if (e === "") {
|
|
2574
|
-
|
|
2574
|
+
Oe.warn("Skipping evaluation of empty code block.");
|
|
2575
2575
|
return;
|
|
2576
2576
|
}
|
|
2577
|
-
const
|
|
2578
|
-
isEditing:
|
|
2579
|
-
isBrowser:
|
|
2580
|
-
isServer: !
|
|
2577
|
+
const u = {
|
|
2578
|
+
isEditing: ke(),
|
|
2579
|
+
isBrowser: Ne(),
|
|
2580
|
+
isServer: !Ne(),
|
|
2581
2581
|
getUserAttributes: () => Dr()
|
|
2582
2582
|
}, y = {
|
|
2583
2583
|
code: /* we disable this for cases where we definitely don't want a return */ s && !(e.includes(";") || e.includes(" return ") || e.trim().startsWith("return ")) ? `return (${e});` : e,
|
|
2584
|
-
builder:
|
|
2584
|
+
builder: u,
|
|
2585
2585
|
context: t,
|
|
2586
2586
|
event: a,
|
|
2587
2587
|
rootSetState: i,
|
|
@@ -2590,8 +2590,8 @@ function et({
|
|
|
2590
2590
|
};
|
|
2591
2591
|
try {
|
|
2592
2592
|
return hi(y);
|
|
2593
|
-
} catch (
|
|
2594
|
-
|
|
2593
|
+
} catch (b) {
|
|
2594
|
+
Oe.error("Failed code evaluation: " + b.message, {
|
|
2595
2595
|
code: e
|
|
2596
2596
|
});
|
|
2597
2597
|
return;
|
|
@@ -2606,7 +2606,7 @@ const pi = ({
|
|
|
2606
2606
|
}) => {
|
|
2607
2607
|
if (!e.bindings)
|
|
2608
2608
|
return e;
|
|
2609
|
-
const a =
|
|
2609
|
+
const a = qt(e), s = {
|
|
2610
2610
|
...a,
|
|
2611
2611
|
properties: {
|
|
2612
2612
|
...a.properties
|
|
@@ -2615,15 +2615,15 @@ const pi = ({
|
|
|
2615
2615
|
...a.actions
|
|
2616
2616
|
}
|
|
2617
2617
|
};
|
|
2618
|
-
for (const
|
|
2619
|
-
const d = e.bindings[
|
|
2618
|
+
for (const u in e.bindings) {
|
|
2619
|
+
const d = e.bindings[u], p = Qe({
|
|
2620
2620
|
code: d,
|
|
2621
2621
|
localState: r,
|
|
2622
2622
|
rootState: n,
|
|
2623
2623
|
rootSetState: i,
|
|
2624
2624
|
context: t
|
|
2625
2625
|
});
|
|
2626
|
-
hr(s,
|
|
2626
|
+
hr(s, u, p);
|
|
2627
2627
|
}
|
|
2628
2628
|
return s;
|
|
2629
2629
|
};
|
|
@@ -2647,7 +2647,7 @@ function dt({
|
|
|
2647
2647
|
const mi = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), xr = (e) => Object.entries(e).map(([r, n]) => {
|
|
2648
2648
|
if (typeof n == "string")
|
|
2649
2649
|
return `${mi(r)}: ${n};`;
|
|
2650
|
-
}).filter(
|
|
2650
|
+
}).filter(Ht), gi = (e) => xr(e).join(`
|
|
2651
2651
|
`), Vt = ({
|
|
2652
2652
|
mediaQuery: e,
|
|
2653
2653
|
className: t,
|
|
@@ -2663,7 +2663,7 @@ const mi = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase
|
|
|
2663
2663
|
function gt(e) {
|
|
2664
2664
|
return /* @__PURE__ */ m("style", { dangerouslySetInnerHTML: { __html: e.styles }, id: e.id });
|
|
2665
2665
|
}
|
|
2666
|
-
function
|
|
2666
|
+
function un(e) {
|
|
2667
2667
|
function t() {
|
|
2668
2668
|
const n = dt({
|
|
2669
2669
|
block: e.block,
|
|
@@ -2673,10 +2673,10 @@ function cn(e) {
|
|
|
2673
2673
|
context: e.context.context,
|
|
2674
2674
|
shouldEvaluateBindings: !0
|
|
2675
2675
|
});
|
|
2676
|
-
return
|
|
2676
|
+
return Ht(n.hide) ? !n.hide : Ht(n.show) ? n.show : !0;
|
|
2677
2677
|
}
|
|
2678
2678
|
function r() {
|
|
2679
|
-
var
|
|
2679
|
+
var C;
|
|
2680
2680
|
const n = dt({
|
|
2681
2681
|
block: e.block,
|
|
2682
2682
|
localState: e.context.localState,
|
|
@@ -2685,13 +2685,13 @@ function cn(e) {
|
|
|
2685
2685
|
context: e.context.context,
|
|
2686
2686
|
shouldEvaluateBindings: !0
|
|
2687
2687
|
}), i = n.responsiveStyles, a = e.context.content, s = dr(
|
|
2688
|
-
((
|
|
2689
|
-
),
|
|
2688
|
+
((C = a == null ? void 0 : a.meta) == null ? void 0 : C.breakpoints) || {}
|
|
2689
|
+
), u = i == null ? void 0 : i.large, d = i == null ? void 0 : i.medium, p = i == null ? void 0 : i.small, y = n.id;
|
|
2690
2690
|
if (!y)
|
|
2691
2691
|
return "";
|
|
2692
|
-
const
|
|
2692
|
+
const b = u ? Vt({
|
|
2693
2693
|
className: y,
|
|
2694
|
-
styles:
|
|
2694
|
+
styles: u
|
|
2695
2695
|
}) : "", P = d ? Vt({
|
|
2696
2696
|
className: y,
|
|
2697
2697
|
styles: d,
|
|
@@ -2699,7 +2699,7 @@ function cn(e) {
|
|
|
2699
2699
|
"medium",
|
|
2700
2700
|
s
|
|
2701
2701
|
)
|
|
2702
|
-
}) : "",
|
|
2702
|
+
}) : "", U = p ? Vt({
|
|
2703
2703
|
className: y,
|
|
2704
2704
|
styles: p,
|
|
2705
2705
|
mediaQuery: Xn(
|
|
@@ -2707,9 +2707,9 @@ function cn(e) {
|
|
|
2707
2707
|
s
|
|
2708
2708
|
)
|
|
2709
2709
|
}) : "";
|
|
2710
|
-
return [
|
|
2710
|
+
return [b, P, U].join(" ");
|
|
2711
2711
|
}
|
|
2712
|
-
return /* @__PURE__ */ m(
|
|
2712
|
+
return /* @__PURE__ */ m(F, { children: r() && t() ? /* @__PURE__ */ m(F, { children: /* @__PURE__ */ m(gt, { styles: r() }) }) : null });
|
|
2713
2713
|
}
|
|
2714
2714
|
function yi(e) {
|
|
2715
2715
|
var t;
|
|
@@ -2754,7 +2754,7 @@ const vi = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
|
|
|
2754
2754
|
} = e;
|
|
2755
2755
|
if (!(r != null && r.collection))
|
|
2756
2756
|
return;
|
|
2757
|
-
const i =
|
|
2757
|
+
const i = Qe({
|
|
2758
2758
|
code: r.collection,
|
|
2759
2759
|
localState: t.localState,
|
|
2760
2760
|
rootState: t.rootState,
|
|
@@ -2777,7 +2777,7 @@ const vi = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
|
|
|
2777
2777
|
},
|
|
2778
2778
|
block: n
|
|
2779
2779
|
}));
|
|
2780
|
-
},
|
|
2780
|
+
}, fn = cr({
|
|
2781
2781
|
content: null,
|
|
2782
2782
|
context: {},
|
|
2783
2783
|
localState: void 0,
|
|
@@ -2790,8 +2790,8 @@ const vi = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
|
|
|
2790
2790
|
inheritedStyles: {}
|
|
2791
2791
|
});
|
|
2792
2792
|
function Si(e) {
|
|
2793
|
-
const [t, r] =
|
|
2794
|
-
return /* @__PURE__ */ m(
|
|
2793
|
+
const [t, r] = W(() => e.repeatContext);
|
|
2794
|
+
return /* @__PURE__ */ m(fn.Provider, { value: t, children: /* @__PURE__ */ m(
|
|
2795
2795
|
yt,
|
|
2796
2796
|
{
|
|
2797
2797
|
block: e.block,
|
|
@@ -2803,7 +2803,7 @@ function Si(e) {
|
|
|
2803
2803
|
function wi(e) {
|
|
2804
2804
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
2805
2805
|
}
|
|
2806
|
-
const ki = (e) => `on${wi(e)}`, Ci = (e, t) => (r) =>
|
|
2806
|
+
const ki = (e) => `on${wi(e)}`, Ci = (e, t) => (r) => Qe({
|
|
2807
2807
|
code: e,
|
|
2808
2808
|
context: t.context,
|
|
2809
2809
|
localState: t.localState,
|
|
@@ -2812,7 +2812,7 @@ const ki = (e) => `on${wi(e)}`, Ci = (e, t) => (r) => et({
|
|
|
2812
2812
|
event: r,
|
|
2813
2813
|
isExpression: !1
|
|
2814
2814
|
});
|
|
2815
|
-
function
|
|
2815
|
+
function Xt(e) {
|
|
2816
2816
|
const t = {}, r = e.block.actions ?? {};
|
|
2817
2817
|
for (const n in r) {
|
|
2818
2818
|
if (!r.hasOwnProperty(n))
|
|
@@ -2820,7 +2820,7 @@ function zt(e) {
|
|
|
2820
2820
|
const i = r[n];
|
|
2821
2821
|
let a = ki(n);
|
|
2822
2822
|
if (e.stripPrefix)
|
|
2823
|
-
switch (
|
|
2823
|
+
switch (et) {
|
|
2824
2824
|
case "vue2":
|
|
2825
2825
|
case "vue3":
|
|
2826
2826
|
a = a.replace("v-on:", "");
|
|
@@ -2854,7 +2854,7 @@ function ht({
|
|
|
2854
2854
|
return Ei(r);
|
|
2855
2855
|
}
|
|
2856
2856
|
function Ti(e) {
|
|
2857
|
-
switch (
|
|
2857
|
+
switch (et) {
|
|
2858
2858
|
case "svelte":
|
|
2859
2859
|
case "vue2":
|
|
2860
2860
|
case "vue3":
|
|
@@ -2877,7 +2877,7 @@ function ji(e) {
|
|
|
2877
2877
|
block: e.block,
|
|
2878
2878
|
context: e.context
|
|
2879
2879
|
}),
|
|
2880
|
-
...
|
|
2880
|
+
...Xt({
|
|
2881
2881
|
block: e.block,
|
|
2882
2882
|
rootState: e.context.rootState,
|
|
2883
2883
|
rootSetState: e.context.rootSetState,
|
|
@@ -2917,10 +2917,10 @@ const Ai = ({
|
|
|
2917
2917
|
};
|
|
2918
2918
|
function tr(e) {
|
|
2919
2919
|
var n, i;
|
|
2920
|
-
const [t, r] =
|
|
2920
|
+
const [t, r] = W(
|
|
2921
2921
|
() => e.isInteractive ? ji : e.componentRef
|
|
2922
2922
|
);
|
|
2923
|
-
return /* @__PURE__ */ m(
|
|
2923
|
+
return /* @__PURE__ */ m(F, { children: e.componentRef ? /* @__PURE__ */ m(F, { children: /* @__PURE__ */ Z(
|
|
2924
2924
|
t,
|
|
2925
2925
|
{
|
|
2926
2926
|
...Ai({
|
|
@@ -2943,7 +2943,7 @@ function tr(e) {
|
|
|
2943
2943
|
"block-" + a.id
|
|
2944
2944
|
)),
|
|
2945
2945
|
(i = e.blockChildren) == null ? void 0 : i.map((a) => /* @__PURE__ */ m(
|
|
2946
|
-
|
|
2946
|
+
un,
|
|
2947
2947
|
{
|
|
2948
2948
|
block: a,
|
|
2949
2949
|
context: e.context
|
|
@@ -2955,16 +2955,16 @@ function tr(e) {
|
|
|
2955
2955
|
) }) : null });
|
|
2956
2956
|
}
|
|
2957
2957
|
function nr(e) {
|
|
2958
|
-
return /* @__PURE__ */ Z(
|
|
2958
|
+
return /* @__PURE__ */ Z(F, { children: [
|
|
2959
2959
|
" ",
|
|
2960
|
-
e.hasChildren ? /* @__PURE__ */ m(
|
|
2960
|
+
e.hasChildren ? /* @__PURE__ */ m(F, { children: /* @__PURE__ */ Z(
|
|
2961
2961
|
e.Wrapper,
|
|
2962
2962
|
{
|
|
2963
2963
|
...ht({
|
|
2964
2964
|
block: e.block,
|
|
2965
2965
|
context: e.context
|
|
2966
2966
|
}),
|
|
2967
|
-
...
|
|
2967
|
+
...Xt({
|
|
2968
2968
|
block: e.block,
|
|
2969
2969
|
rootState: e.context.rootState,
|
|
2970
2970
|
rootSetState: e.context.rootSetState,
|
|
@@ -2978,14 +2978,14 @@ function nr(e) {
|
|
|
2978
2978
|
" "
|
|
2979
2979
|
]
|
|
2980
2980
|
}
|
|
2981
|
-
) }) : /* @__PURE__ */ m(
|
|
2981
|
+
) }) : /* @__PURE__ */ m(F, { children: /* @__PURE__ */ m(
|
|
2982
2982
|
e.Wrapper,
|
|
2983
2983
|
{
|
|
2984
2984
|
...ht({
|
|
2985
2985
|
block: e.block,
|
|
2986
2986
|
context: e.context
|
|
2987
2987
|
}),
|
|
2988
|
-
...
|
|
2988
|
+
...Xt({
|
|
2989
2989
|
block: e.block,
|
|
2990
2990
|
rootState: e.context.rootState,
|
|
2991
2991
|
rootSetState: e.context.rootSetState,
|
|
@@ -2999,7 +2999,7 @@ function nr(e) {
|
|
|
2999
2999
|
] });
|
|
3000
3000
|
}
|
|
3001
3001
|
function yt(e) {
|
|
3002
|
-
var y,
|
|
3002
|
+
var y, b, P, U;
|
|
3003
3003
|
function t() {
|
|
3004
3004
|
return xi({
|
|
3005
3005
|
block: e.block,
|
|
@@ -3030,31 +3030,31 @@ function yt(e) {
|
|
|
3030
3030
|
return "hide" in n() ? !n().hide : "show" in n() ? n().show : !0;
|
|
3031
3031
|
}
|
|
3032
3032
|
function s() {
|
|
3033
|
-
var
|
|
3034
|
-
return !((
|
|
3033
|
+
var T;
|
|
3034
|
+
return !((T = t == null ? void 0 : t()) != null && T.component) && !r() ? n().children ?? [] : [];
|
|
3035
3035
|
}
|
|
3036
|
-
function
|
|
3037
|
-
var
|
|
3036
|
+
function u() {
|
|
3037
|
+
var C, T, B, $, v;
|
|
3038
3038
|
return {
|
|
3039
3039
|
blockChildren: n().children ?? [],
|
|
3040
|
-
componentRef: (
|
|
3040
|
+
componentRef: (C = t == null ? void 0 : t()) == null ? void 0 : C.component,
|
|
3041
3041
|
componentOptions: {
|
|
3042
3042
|
...yi(n()),
|
|
3043
3043
|
builderContext: e.context,
|
|
3044
|
-
...((
|
|
3044
|
+
...((T = t == null ? void 0 : t()) == null ? void 0 : T.name) === "Symbol" || ((B = t == null ? void 0 : t()) == null ? void 0 : B.name) === "Columns" ? {
|
|
3045
3045
|
builderComponents: e.registeredComponents
|
|
3046
3046
|
} : {}
|
|
3047
3047
|
},
|
|
3048
3048
|
context: d,
|
|
3049
3049
|
registeredComponents: e.registeredComponents,
|
|
3050
3050
|
builderBlock: n(),
|
|
3051
|
-
includeBlockProps: ((
|
|
3051
|
+
includeBlockProps: (($ = t == null ? void 0 : t()) == null ? void 0 : $.noWrap) === !0,
|
|
3052
3052
|
isInteractive: !((v = t == null ? void 0 : t()) != null && v.isRSC)
|
|
3053
3053
|
};
|
|
3054
3054
|
}
|
|
3055
|
-
const [d, p] =
|
|
3056
|
-
return /* @__PURE__ */ m(
|
|
3057
|
-
Dt(i()) ? /* @__PURE__ */ m(
|
|
3055
|
+
const [d, p] = W(() => e.context);
|
|
3056
|
+
return /* @__PURE__ */ m(F, { children: a() ? /* @__PURE__ */ m(F, { children: (y = t == null ? void 0 : t()) != null && y.noWrap ? /* @__PURE__ */ m(F, { children: /* @__PURE__ */ m(tr, { ...u() }) }) : /* @__PURE__ */ Z(F, { children: [
|
|
3057
|
+
Dt(i()) ? /* @__PURE__ */ m(F, { children: /* @__PURE__ */ m(
|
|
3058
3058
|
nr,
|
|
3059
3059
|
{
|
|
3060
3060
|
Wrapper: i(),
|
|
@@ -3063,16 +3063,16 @@ function yt(e) {
|
|
|
3063
3063
|
hasChildren: !1
|
|
3064
3064
|
}
|
|
3065
3065
|
) }) : null,
|
|
3066
|
-
!Dt(i()) && r() ? /* @__PURE__ */ m(
|
|
3066
|
+
!Dt(i()) && r() ? /* @__PURE__ */ m(F, { children: (b = r()) == null ? void 0 : b.map((C, T) => /* @__PURE__ */ m(
|
|
3067
3067
|
Si,
|
|
3068
3068
|
{
|
|
3069
|
-
repeatContext:
|
|
3070
|
-
block:
|
|
3069
|
+
repeatContext: C.context,
|
|
3070
|
+
block: C.block,
|
|
3071
3071
|
registeredComponents: e.registeredComponents
|
|
3072
3072
|
},
|
|
3073
|
-
|
|
3073
|
+
T
|
|
3074
3074
|
)) }) : null,
|
|
3075
|
-
!Dt(i()) && !r() ? /* @__PURE__ */ m(
|
|
3075
|
+
!Dt(i()) && !r() ? /* @__PURE__ */ m(F, { children: /* @__PURE__ */ Z(
|
|
3076
3076
|
nr,
|
|
3077
3077
|
{
|
|
3078
3078
|
Wrapper: i(),
|
|
@@ -3080,23 +3080,23 @@ function yt(e) {
|
|
|
3080
3080
|
context: e.context,
|
|
3081
3081
|
hasChildren: !0,
|
|
3082
3082
|
children: [
|
|
3083
|
-
/* @__PURE__ */ m(tr, { ...
|
|
3084
|
-
(P = s()) == null ? void 0 : P.map((
|
|
3083
|
+
/* @__PURE__ */ m(tr, { ...u() }),
|
|
3084
|
+
(P = s()) == null ? void 0 : P.map((C) => /* @__PURE__ */ m(
|
|
3085
3085
|
yt,
|
|
3086
3086
|
{
|
|
3087
|
-
block:
|
|
3087
|
+
block: C,
|
|
3088
3088
|
context: d,
|
|
3089
3089
|
registeredComponents: e.registeredComponents
|
|
3090
3090
|
},
|
|
3091
|
-
"block-" +
|
|
3091
|
+
"block-" + C.id
|
|
3092
3092
|
)),
|
|
3093
|
-
(
|
|
3094
|
-
|
|
3093
|
+
(U = s()) == null ? void 0 : U.map((C) => /* @__PURE__ */ m(
|
|
3094
|
+
un,
|
|
3095
3095
|
{
|
|
3096
|
-
block:
|
|
3096
|
+
block: C,
|
|
3097
3097
|
context: d
|
|
3098
3098
|
},
|
|
3099
|
-
"block-style-" +
|
|
3099
|
+
"block-style-" + C.id
|
|
3100
3100
|
))
|
|
3101
3101
|
]
|
|
3102
3102
|
}
|
|
@@ -3110,7 +3110,7 @@ function Ri(e) {
|
|
|
3110
3110
|
}
|
|
3111
3111
|
function r() {
|
|
3112
3112
|
var i, a;
|
|
3113
|
-
|
|
3113
|
+
ke() && !((i = e.blocks) != null && i.length) && ((a = window.parent) == null || a.postMessage(
|
|
3114
3114
|
{
|
|
3115
3115
|
type: "builder.clickEmptyBlocks",
|
|
3116
3116
|
data: {
|
|
@@ -3123,7 +3123,7 @@ function Ri(e) {
|
|
|
3123
3123
|
}
|
|
3124
3124
|
function n() {
|
|
3125
3125
|
var i, a;
|
|
3126
|
-
|
|
3126
|
+
ke() && !((i = e.blocks) != null && i.length) && ((a = window.parent) == null || a.postMessage(
|
|
3127
3127
|
{
|
|
3128
3128
|
type: "builder.hoverEmptyBlocks",
|
|
3129
3129
|
data: {
|
|
@@ -3134,7 +3134,7 @@ function Ri(e) {
|
|
|
3134
3134
|
"*"
|
|
3135
3135
|
));
|
|
3136
3136
|
}
|
|
3137
|
-
return /* @__PURE__ */ Z(
|
|
3137
|
+
return /* @__PURE__ */ Z(F, { children: [
|
|
3138
3138
|
/* @__PURE__ */ m(
|
|
3139
3139
|
"div",
|
|
3140
3140
|
{
|
|
@@ -3156,9 +3156,9 @@ function Ri(e) {
|
|
|
3156
3156
|
] });
|
|
3157
3157
|
}
|
|
3158
3158
|
const br = cr({ registeredComponents: {} });
|
|
3159
|
-
function
|
|
3159
|
+
function dn(e) {
|
|
3160
3160
|
var n, i;
|
|
3161
|
-
const t =
|
|
3161
|
+
const t = Hn(fn), r = Hn(br);
|
|
3162
3162
|
return /* @__PURE__ */ Z(
|
|
3163
3163
|
Ri,
|
|
3164
3164
|
{
|
|
@@ -3167,7 +3167,7 @@ function fn(e) {
|
|
|
3167
3167
|
path: e.path,
|
|
3168
3168
|
styleProp: e.styleProp,
|
|
3169
3169
|
children: [
|
|
3170
|
-
e.blocks ? /* @__PURE__ */ m(
|
|
3170
|
+
e.blocks ? /* @__PURE__ */ m(F, { children: (n = e.blocks) == null ? void 0 : n.map((a) => /* @__PURE__ */ m(
|
|
3171
3171
|
yt,
|
|
3172
3172
|
{
|
|
3173
3173
|
block: a,
|
|
@@ -3176,8 +3176,8 @@ function fn(e) {
|
|
|
3176
3176
|
},
|
|
3177
3177
|
"render-block-" + a.id
|
|
3178
3178
|
)) }) : null,
|
|
3179
|
-
e.blocks ? /* @__PURE__ */ m(
|
|
3180
|
-
|
|
3179
|
+
e.blocks ? /* @__PURE__ */ m(F, { children: (i = e.blocks) == null ? void 0 : i.map((a) => /* @__PURE__ */ m(
|
|
3180
|
+
un,
|
|
3181
3181
|
{
|
|
3182
3182
|
block: a,
|
|
3183
3183
|
context: e.context || t
|
|
@@ -3189,76 +3189,76 @@ function fn(e) {
|
|
|
3189
3189
|
);
|
|
3190
3190
|
}
|
|
3191
3191
|
function Oi(e) {
|
|
3192
|
-
var
|
|
3193
|
-
const [t, r] =
|
|
3192
|
+
var $;
|
|
3193
|
+
const [t, r] = W(
|
|
3194
3194
|
() => typeof e.space == "number" ? e.space || 0 : 20
|
|
3195
|
-
), [n, i] =
|
|
3195
|
+
), [n, i] = W(() => e.columns || []), [a, s] = W(
|
|
3196
3196
|
() => e.stackColumnsAt || "tablet"
|
|
3197
3197
|
);
|
|
3198
|
-
function
|
|
3199
|
-
var
|
|
3200
|
-
return ((
|
|
3198
|
+
function u(v) {
|
|
3199
|
+
var H;
|
|
3200
|
+
return ((H = n[v]) == null ? void 0 : H.width) || 100 / n.length;
|
|
3201
3201
|
}
|
|
3202
3202
|
function d(v) {
|
|
3203
|
-
const
|
|
3204
|
-
return `calc(${
|
|
3203
|
+
const H = t * (n.length - 1) / n.length;
|
|
3204
|
+
return `calc(${u(v)}% - ${H}px)`;
|
|
3205
3205
|
}
|
|
3206
3206
|
function p({
|
|
3207
3207
|
stackedStyle: v,
|
|
3208
|
-
desktopStyle:
|
|
3208
|
+
desktopStyle: H
|
|
3209
3209
|
}) {
|
|
3210
|
-
return a === "tablet" ? v :
|
|
3210
|
+
return a === "tablet" ? v : H;
|
|
3211
3211
|
}
|
|
3212
3212
|
function y({
|
|
3213
3213
|
stackedStyle: v,
|
|
3214
|
-
desktopStyle:
|
|
3214
|
+
desktopStyle: H
|
|
3215
3215
|
}) {
|
|
3216
|
-
return a === "never" ?
|
|
3216
|
+
return a === "never" ? H : v;
|
|
3217
3217
|
}
|
|
3218
|
-
const [
|
|
3218
|
+
const [b, P] = W(
|
|
3219
3219
|
() => e.stackColumnsAt === "never" ? "row" : e.reverseColumnsWhenStacked ? "column-reverse" : "column"
|
|
3220
3220
|
);
|
|
3221
|
-
function
|
|
3221
|
+
function U() {
|
|
3222
3222
|
return {
|
|
3223
|
-
"--flex-dir":
|
|
3223
|
+
"--flex-dir": b,
|
|
3224
3224
|
"--flex-dir-tablet": p({
|
|
3225
|
-
stackedStyle:
|
|
3225
|
+
stackedStyle: b,
|
|
3226
3226
|
desktopStyle: "row"
|
|
3227
3227
|
})
|
|
3228
3228
|
};
|
|
3229
3229
|
}
|
|
3230
|
-
function
|
|
3231
|
-
const
|
|
3230
|
+
function C(v) {
|
|
3231
|
+
const H = v === 0 ? 0 : t, re = d(v), ie = `${H}px`, D = "100%", R = 0;
|
|
3232
3232
|
return {
|
|
3233
|
-
width:
|
|
3234
|
-
["marginLeft"]:
|
|
3233
|
+
width: re,
|
|
3234
|
+
["marginLeft"]: ie,
|
|
3235
3235
|
"--column-width-mobile": y({
|
|
3236
|
-
stackedStyle:
|
|
3237
|
-
desktopStyle:
|
|
3236
|
+
stackedStyle: D,
|
|
3237
|
+
desktopStyle: re
|
|
3238
3238
|
}),
|
|
3239
3239
|
"--column-margin-left-mobile": y({
|
|
3240
|
-
stackedStyle:
|
|
3241
|
-
desktopStyle:
|
|
3240
|
+
stackedStyle: R,
|
|
3241
|
+
desktopStyle: ie
|
|
3242
3242
|
}),
|
|
3243
3243
|
"--column-width-tablet": p({
|
|
3244
|
-
stackedStyle:
|
|
3245
|
-
desktopStyle:
|
|
3244
|
+
stackedStyle: D,
|
|
3245
|
+
desktopStyle: re
|
|
3246
3246
|
}),
|
|
3247
3247
|
"--column-margin-left-tablet": p({
|
|
3248
|
-
stackedStyle:
|
|
3249
|
-
desktopStyle:
|
|
3248
|
+
stackedStyle: R,
|
|
3249
|
+
desktopStyle: ie
|
|
3250
3250
|
})
|
|
3251
3251
|
};
|
|
3252
3252
|
}
|
|
3253
|
-
function
|
|
3254
|
-
var
|
|
3253
|
+
function T(v) {
|
|
3254
|
+
var re, ie;
|
|
3255
3255
|
return dr(
|
|
3256
|
-
((
|
|
3256
|
+
((ie = (re = e.builderContext.content) == null ? void 0 : re.meta) == null ? void 0 : ie.breakpoints) || {}
|
|
3257
3257
|
)[v].max;
|
|
3258
3258
|
}
|
|
3259
|
-
function
|
|
3259
|
+
function B() {
|
|
3260
3260
|
return `
|
|
3261
|
-
@media (max-width: ${
|
|
3261
|
+
@media (max-width: ${T("medium")}px) {
|
|
3262
3262
|
.${e.builderBlock.id}-breakpoints {
|
|
3263
3263
|
flex-direction: var(--flex-dir-tablet);
|
|
3264
3264
|
align-items: stretch;
|
|
@@ -3270,7 +3270,7 @@ function Oi(e) {
|
|
|
3270
3270
|
}
|
|
3271
3271
|
}
|
|
3272
3272
|
|
|
3273
|
-
@media (max-width: ${
|
|
3273
|
+
@media (max-width: ${T("small")}px) {
|
|
3274
3274
|
.${e.builderBlock.id}-breakpoints {
|
|
3275
3275
|
flex-direction: var(--flex-dir);
|
|
3276
3276
|
align-items: stretch;
|
|
@@ -3283,25 +3283,25 @@ function Oi(e) {
|
|
|
3283
3283
|
},
|
|
3284
3284
|
`;
|
|
3285
3285
|
}
|
|
3286
|
-
return /* @__PURE__ */ Z(
|
|
3286
|
+
return /* @__PURE__ */ Z(F, { children: [
|
|
3287
3287
|
/* @__PURE__ */ Z(
|
|
3288
3288
|
"div",
|
|
3289
3289
|
{
|
|
3290
3290
|
className: `builder-columns ${e.builderBlock.id}-breakpoints div-d734ad62`,
|
|
3291
|
-
style:
|
|
3291
|
+
style: U(),
|
|
3292
3292
|
children: [
|
|
3293
|
-
/* @__PURE__ */ m(
|
|
3294
|
-
(
|
|
3293
|
+
/* @__PURE__ */ m(F, { children: /* @__PURE__ */ m(gt, { styles: B() }) }),
|
|
3294
|
+
($ = e.columns) == null ? void 0 : $.map((v, H) => /* @__PURE__ */ Vr(
|
|
3295
3295
|
"div",
|
|
3296
3296
|
{
|
|
3297
3297
|
className: "builder-column div-d734ad62-2",
|
|
3298
|
-
style:
|
|
3299
|
-
key:
|
|
3298
|
+
style: C(H),
|
|
3299
|
+
key: H
|
|
3300
3300
|
},
|
|
3301
3301
|
/* @__PURE__ */ m(
|
|
3302
|
-
|
|
3302
|
+
dn,
|
|
3303
3303
|
{
|
|
3304
|
-
path: `component.options.columns.${
|
|
3304
|
+
path: `component.options.columns.${H}.blocks`,
|
|
3305
3305
|
parent: e.builderBlock.id,
|
|
3306
3306
|
styleProp: {
|
|
3307
3307
|
flexGrow: "1"
|
|
@@ -3359,7 +3359,7 @@ function Wt(e) {
|
|
|
3359
3359
|
return e.match(/cdn\.shopify\.com/) ? t.map((r) => [Mi(e, `${r}x${r}`), r]).filter(([r]) => !!r).map(([r, n]) => `${r} ${n}w`).concat([e]).join(", ") : e;
|
|
3360
3360
|
}
|
|
3361
3361
|
function Fi(e) {
|
|
3362
|
-
var i, a, s,
|
|
3362
|
+
var i, a, s, u;
|
|
3363
3363
|
function t() {
|
|
3364
3364
|
var y;
|
|
3365
3365
|
const p = e.image || e.src;
|
|
@@ -3388,10 +3388,10 @@ function Fi(e) {
|
|
|
3388
3388
|
};
|
|
3389
3389
|
return e.aspectRatio ? d : void 0;
|
|
3390
3390
|
}
|
|
3391
|
-
return /* @__PURE__ */ Z(
|
|
3392
|
-
/* @__PURE__ */ Z(
|
|
3391
|
+
return /* @__PURE__ */ Z(F, { children: [
|
|
3392
|
+
/* @__PURE__ */ Z(F, { children: [
|
|
3393
3393
|
/* @__PURE__ */ Z("picture", { children: [
|
|
3394
|
-
r() ? /* @__PURE__ */ m(
|
|
3394
|
+
r() ? /* @__PURE__ */ m(F, { children: /* @__PURE__ */ m("source", { type: "image/webp", srcSet: r() }) }) : null,
|
|
3395
3395
|
/* @__PURE__ */ m(
|
|
3396
3396
|
"img",
|
|
3397
3397
|
{
|
|
@@ -3410,7 +3410,7 @@ function Fi(e) {
|
|
|
3410
3410
|
}
|
|
3411
3411
|
)
|
|
3412
3412
|
] }),
|
|
3413
|
-
e.aspectRatio && !((a = (i = e.builderBlock) == null ? void 0 : i.children) != null && a.length && e.fitContent) ? /* @__PURE__ */ m(
|
|
3413
|
+
e.aspectRatio && !((a = (i = e.builderBlock) == null ? void 0 : i.children) != null && a.length && e.fitContent) ? /* @__PURE__ */ m(F, { children: /* @__PURE__ */ m(
|
|
3414
3414
|
"div",
|
|
3415
3415
|
{
|
|
3416
3416
|
className: "builder-image-sizer div-ef11a6be",
|
|
@@ -3419,8 +3419,8 @@ function Fi(e) {
|
|
|
3419
3419
|
}
|
|
3420
3420
|
}
|
|
3421
3421
|
) }) : null,
|
|
3422
|
-
(
|
|
3423
|
-
!e.fitContent && e.children ? /* @__PURE__ */ m(
|
|
3422
|
+
(u = (s = e.builderBlock) == null ? void 0 : s.children) != null && u.length && e.fitContent ? /* @__PURE__ */ m(F, { children: e.children }) : null,
|
|
3423
|
+
!e.fitContent && e.children ? /* @__PURE__ */ m(F, { children: /* @__PURE__ */ m("div", { className: "div-ef11a6be-2", children: e.children }) }) : null
|
|
3424
3424
|
] }),
|
|
3425
3425
|
/* @__PURE__ */ m("style", { children: `.img-ef11a6be {
|
|
3426
3426
|
opacity: 1;
|
|
@@ -3469,52 +3469,52 @@ const ut = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((
|
|
|
3469
3469
|
})), Bi = ({
|
|
3470
3470
|
canTrack: e,
|
|
3471
3471
|
content: t
|
|
3472
|
-
}) => !(!(ut(t).length > 0) || !e ||
|
|
3472
|
+
}) => !(!(ut(t).length > 0) || !e || Ne());
|
|
3473
3473
|
function _i(e, t, r) {
|
|
3474
3474
|
var s;
|
|
3475
3475
|
function n() {
|
|
3476
|
-
function
|
|
3477
|
-
let
|
|
3478
|
-
if (
|
|
3476
|
+
function u(C, T, B) {
|
|
3477
|
+
let $ = "";
|
|
3478
|
+
if (B) {
|
|
3479
3479
|
const v = /* @__PURE__ */ new Date();
|
|
3480
|
-
v.setTime(v.getTime() +
|
|
3480
|
+
v.setTime(v.getTime() + B * 24 * 60 * 60 * 1e3), $ = "; expires=" + v.toUTCString();
|
|
3481
3481
|
}
|
|
3482
|
-
document.cookie =
|
|
3482
|
+
document.cookie = C + "=" + (T || "") + $ + "; path=/; Secure; SameSite=None";
|
|
3483
3483
|
}
|
|
3484
|
-
function d(
|
|
3485
|
-
const
|
|
3486
|
-
for (let
|
|
3487
|
-
let v = $
|
|
3484
|
+
function d(C) {
|
|
3485
|
+
const T = C + "=", B = document.cookie.split(";");
|
|
3486
|
+
for (let $ = 0; $ < B.length; $++) {
|
|
3487
|
+
let v = B[$];
|
|
3488
3488
|
for (; v.charAt(0) === " "; )
|
|
3489
3489
|
v = v.substring(1, v.length);
|
|
3490
|
-
if (v.indexOf(
|
|
3491
|
-
return v.substring(
|
|
3490
|
+
if (v.indexOf(T) === 0)
|
|
3491
|
+
return v.substring(T.length, v.length);
|
|
3492
3492
|
}
|
|
3493
3493
|
return null;
|
|
3494
3494
|
}
|
|
3495
|
-
const p = `builder.tests.${e}`, y = d(p),
|
|
3496
|
-
if (y &&
|
|
3495
|
+
const p = `builder.tests.${e}`, y = d(p), b = t.map((C) => C.id).concat(e);
|
|
3496
|
+
if (y && b.includes(y))
|
|
3497
3497
|
return y;
|
|
3498
3498
|
let P = 0;
|
|
3499
|
-
const
|
|
3500
|
-
for (let
|
|
3501
|
-
const
|
|
3502
|
-
if (P +=
|
|
3503
|
-
return
|
|
3499
|
+
const U = Math.random();
|
|
3500
|
+
for (let C = 0; C < t.length; C++) {
|
|
3501
|
+
const T = t[C], B = T.testRatio;
|
|
3502
|
+
if (P += B, U < P)
|
|
3503
|
+
return u(p, T.id), T.id;
|
|
3504
3504
|
}
|
|
3505
|
-
return
|
|
3505
|
+
return u(p, e), e;
|
|
3506
3506
|
}
|
|
3507
3507
|
const i = n(), a = (s = document.currentScript) == null ? void 0 : s.previousElementSibling;
|
|
3508
3508
|
if (r) {
|
|
3509
3509
|
a.remove();
|
|
3510
|
-
const
|
|
3511
|
-
|
|
3510
|
+
const u = document.currentScript;
|
|
3511
|
+
u == null || u.remove();
|
|
3512
3512
|
} else {
|
|
3513
|
-
const
|
|
3513
|
+
const u = t.concat({
|
|
3514
3514
|
id: e
|
|
3515
3515
|
}).filter((d) => d.id !== i).map((d) => `.variant-${d.id} { display: none; }
|
|
3516
3516
|
`).join("");
|
|
3517
|
-
a.innerHTML =
|
|
3517
|
+
a.innerHTML = u;
|
|
3518
3518
|
}
|
|
3519
3519
|
}
|
|
3520
3520
|
function $i(e, t, r) {
|
|
@@ -3522,27 +3522,27 @@ function $i(e, t, r) {
|
|
|
3522
3522
|
if (!navigator.cookieEnabled)
|
|
3523
3523
|
return;
|
|
3524
3524
|
function n(p) {
|
|
3525
|
-
const y = p + "=",
|
|
3526
|
-
for (let P = 0; P <
|
|
3527
|
-
let
|
|
3528
|
-
for (;
|
|
3529
|
-
|
|
3530
|
-
if (
|
|
3531
|
-
return
|
|
3525
|
+
const y = p + "=", b = document.cookie.split(";");
|
|
3526
|
+
for (let P = 0; P < b.length; P++) {
|
|
3527
|
+
let U = b[P];
|
|
3528
|
+
for (; U.charAt(0) === " "; )
|
|
3529
|
+
U = U.substring(1, U.length);
|
|
3530
|
+
if (U.indexOf(y) === 0)
|
|
3531
|
+
return U.substring(y.length, U.length);
|
|
3532
3532
|
}
|
|
3533
3533
|
return null;
|
|
3534
3534
|
}
|
|
3535
|
-
const i = `builder.tests.${t}`, a = n(i), s = (d = document.currentScript) == null ? void 0 : d.parentElement,
|
|
3535
|
+
const i = `builder.tests.${t}`, a = n(i), s = (d = document.currentScript) == null ? void 0 : d.parentElement, u = e === t;
|
|
3536
3536
|
if (a === e) {
|
|
3537
|
-
if (
|
|
3537
|
+
if (u)
|
|
3538
3538
|
return;
|
|
3539
3539
|
s == null || s.removeAttribute("hidden"), s == null || s.removeAttribute("aria-hidden");
|
|
3540
3540
|
} else {
|
|
3541
|
-
|
|
3541
|
+
u && (r ? s == null || s.remove() : (s == null || s.setAttribute("hidden", "true"), s == null || s.setAttribute("aria-hidden", "true")));
|
|
3542
3542
|
return;
|
|
3543
3543
|
}
|
|
3544
3544
|
}
|
|
3545
|
-
const Li = (e) => e === "react" || e === "reactNative", Sr = Li(
|
|
3545
|
+
const Li = (e) => e === "react" || e === "reactNative", Sr = Li(et), wr = "builderIoAbTest", kr = "builderIoRenderContent", Vi = () => {
|
|
3546
3546
|
const e = _i.toString().replace(/\s+/g, " "), t = $i.toString().replace(/\s+/g, " ");
|
|
3547
3547
|
return `
|
|
3548
3548
|
window.${wr} = ${e}
|
|
@@ -3765,7 +3765,7 @@ const Li = (e) => e === "react" || e === "reactNative", Sr = Li(tt), wr = "build
|
|
|
3765
3765
|
});
|
|
3766
3766
|
}
|
|
3767
3767
|
const r = e.get("columns");
|
|
3768
|
-
Array.isArray(r) && r.find((i) => i.get("width")) && (r.find((a) => !a.get("width")) || r.reduce((
|
|
3768
|
+
Array.isArray(r) && r.find((i) => i.get("width")) && (r.find((a) => !a.get("width")) || r.reduce((u, d) => u + d.get("width"), 0) !== 100) && t();
|
|
3769
3769
|
}
|
|
3770
3770
|
}, {
|
|
3771
3771
|
name: "space",
|
|
@@ -3813,17 +3813,17 @@ const Li = (e) => e === "react" || e === "reactNative", Sr = Li(tt), wr = "build
|
|
|
3813
3813
|
defaultValue: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",
|
|
3814
3814
|
onChange: (e) => {
|
|
3815
3815
|
e.delete("srcset"), e.delete("noWebp");
|
|
3816
|
-
function r(s,
|
|
3816
|
+
function r(s, u = 6e4) {
|
|
3817
3817
|
return new Promise((d, p) => {
|
|
3818
3818
|
const y = document.createElement("img");
|
|
3819
|
-
let
|
|
3819
|
+
let b = !1;
|
|
3820
3820
|
y.onload = () => {
|
|
3821
|
-
|
|
3821
|
+
b = !0, d(y);
|
|
3822
3822
|
}, y.addEventListener("error", (P) => {
|
|
3823
3823
|
console.warn("Image load failed", P.error), p(P.error);
|
|
3824
3824
|
}), y.src = s, setTimeout(() => {
|
|
3825
|
-
|
|
3826
|
-
},
|
|
3825
|
+
b || p(new Error("Image load timed out"));
|
|
3826
|
+
}, u);
|
|
3827
3827
|
});
|
|
3828
3828
|
}
|
|
3829
3829
|
function n(s) {
|
|
@@ -3834,8 +3834,8 @@ const Li = (e) => e === "react" || e === "reactNative", Sr = Li(tt), wr = "build
|
|
|
3834
3834
|
s.type.includes("svg") && e.set("noWebp", !0);
|
|
3835
3835
|
}), i && (!a || a === 0.7041))
|
|
3836
3836
|
return r(i).then((s) => {
|
|
3837
|
-
const
|
|
3838
|
-
e.get("image") === i && (!
|
|
3837
|
+
const u = e.get("aspectRatio");
|
|
3838
|
+
e.get("image") === i && (!u || u === 0.7041) && s.width && s.height && (e.set("aspectRatio", n(s.height / s.width)), e.set("height", s.height), e.set("width", s.width));
|
|
3839
3839
|
});
|
|
3840
3840
|
}
|
|
3841
3841
|
}, {
|
|
@@ -4153,27 +4153,27 @@ const eo = {
|
|
|
4153
4153
|
}]
|
|
4154
4154
|
}, to = ["text/javascript", "application/javascript", "application/ecmascript"], no = (e) => to.includes(e.type);
|
|
4155
4155
|
function ro(e) {
|
|
4156
|
-
const t =
|
|
4156
|
+
const t = Yt(null), [r, n] = W(() => []), [i, a] = W(() => []), [s, u] = W(() => !1);
|
|
4157
4157
|
function d() {
|
|
4158
4158
|
if (!t.current || !t.current.getElementsByTagName)
|
|
4159
4159
|
return;
|
|
4160
4160
|
const p = t.current.getElementsByTagName("script");
|
|
4161
4161
|
for (let y = 0; y < p.length; y++) {
|
|
4162
|
-
const
|
|
4163
|
-
if (
|
|
4164
|
-
r.push(
|
|
4162
|
+
const b = p[y];
|
|
4163
|
+
if (b.src && !r.includes(b.src)) {
|
|
4164
|
+
r.push(b.src);
|
|
4165
4165
|
const P = document.createElement("script");
|
|
4166
|
-
P.async = !0, P.src =
|
|
4167
|
-
} else if (no(
|
|
4166
|
+
P.async = !0, P.src = b.src, document.head.appendChild(P);
|
|
4167
|
+
} else if (no(b) && !i.includes(b.innerText))
|
|
4168
4168
|
try {
|
|
4169
|
-
i.push(
|
|
4169
|
+
i.push(b.innerText), new Function(b.innerText)();
|
|
4170
4170
|
} catch (P) {
|
|
4171
4171
|
console.warn("`Embed`: Error running script:", P);
|
|
4172
4172
|
}
|
|
4173
4173
|
}
|
|
4174
4174
|
}
|
|
4175
|
-
return
|
|
4176
|
-
t.current && !s && (
|
|
4175
|
+
return ae(() => {
|
|
4176
|
+
t.current && !s && (u(!0), d());
|
|
4177
4177
|
}, [t.current, s]), /* @__PURE__ */ m(
|
|
4178
4178
|
"div",
|
|
4179
4179
|
{
|
|
@@ -4195,7 +4195,7 @@ function io(e) {
|
|
|
4195
4195
|
src: e.imgSrc || e.image,
|
|
4196
4196
|
...e.attributes
|
|
4197
4197
|
},
|
|
4198
|
-
|
|
4198
|
+
ke() && e.imgSrc || "default-key"
|
|
4199
4199
|
);
|
|
4200
4200
|
}
|
|
4201
4201
|
const oo = {
|
|
@@ -4214,12 +4214,12 @@ const oo = {
|
|
|
4214
4214
|
static: !0
|
|
4215
4215
|
};
|
|
4216
4216
|
function ao(e) {
|
|
4217
|
-
const t =
|
|
4217
|
+
const t = Yt(null), [r, n] = W(() => []), [i, a] = W(() => []);
|
|
4218
4218
|
function s() {
|
|
4219
4219
|
if (t.current && t.current.getElementsByTagName && typeof window < "u") {
|
|
4220
|
-
const
|
|
4221
|
-
for (let d = 0; d <
|
|
4222
|
-
const p =
|
|
4220
|
+
const u = t.current.getElementsByTagName("script");
|
|
4221
|
+
for (let d = 0; d < u.length; d++) {
|
|
4222
|
+
const p = u[d];
|
|
4223
4223
|
if (p.src) {
|
|
4224
4224
|
if (r.includes(p.src))
|
|
4225
4225
|
continue;
|
|
@@ -4242,7 +4242,7 @@ function ao(e) {
|
|
|
4242
4242
|
}
|
|
4243
4243
|
}
|
|
4244
4244
|
}
|
|
4245
|
-
return
|
|
4245
|
+
return ae(() => {
|
|
4246
4246
|
s();
|
|
4247
4247
|
}, []), /* @__PURE__ */ m(
|
|
4248
4248
|
"div",
|
|
@@ -4344,7 +4344,7 @@ font-weight: ${s};
|
|
|
4344
4344
|
contentId: t
|
|
4345
4345
|
}) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "";
|
|
4346
4346
|
function fo(e) {
|
|
4347
|
-
const [t, r] =
|
|
4347
|
+
const [t, r] = W(
|
|
4348
4348
|
() => `
|
|
4349
4349
|
${uo({
|
|
4350
4350
|
cssCode: e.cssCode,
|
|
@@ -4375,14 +4375,14 @@ const ho = ({
|
|
|
4375
4375
|
data: t,
|
|
4376
4376
|
locale: r
|
|
4377
4377
|
}) => {
|
|
4378
|
-
var a, s,
|
|
4378
|
+
var a, s, u;
|
|
4379
4379
|
const n = {};
|
|
4380
4380
|
(s = (a = e == null ? void 0 : e.data) == null ? void 0 : a.inputs) == null || s.forEach((d) => {
|
|
4381
4381
|
var p;
|
|
4382
4382
|
d.name && d.defaultValue !== void 0 && ((p = e == null ? void 0 : e.data) != null && p.state) && e.data.state[d.name] === void 0 && (n[d.name] = d.defaultValue);
|
|
4383
4383
|
});
|
|
4384
4384
|
const i = {
|
|
4385
|
-
...(
|
|
4385
|
+
...(u = e == null ? void 0 : e.data) == null ? void 0 : u.state,
|
|
4386
4386
|
...t,
|
|
4387
4387
|
...r ? {
|
|
4388
4388
|
locale: r
|
|
@@ -4402,7 +4402,7 @@ const ho = ({
|
|
|
4402
4402
|
...t
|
|
4403
4403
|
},
|
|
4404
4404
|
meta: e == null ? void 0 : e.meta
|
|
4405
|
-
} : void 0, mo = "0.
|
|
4405
|
+
} : void 0, mo = "0.7.0", go = () => {
|
|
4406
4406
|
Wr("insertMenu", {
|
|
4407
4407
|
name: "_default",
|
|
4408
4408
|
default: !0,
|
|
@@ -4428,10 +4428,10 @@ const ho = ({
|
|
|
4428
4428
|
let or = !1;
|
|
4429
4429
|
const yo = (e = {}) => {
|
|
4430
4430
|
var t, r;
|
|
4431
|
-
or || (or = !0,
|
|
4431
|
+
or || (or = !0, Ne() && ((t = window.parent) == null || t.postMessage({
|
|
4432
4432
|
type: "builder.sdkInfo",
|
|
4433
4433
|
data: {
|
|
4434
|
-
target:
|
|
4434
|
+
target: et,
|
|
4435
4435
|
version: mo,
|
|
4436
4436
|
supportsPatchUpdates: !1,
|
|
4437
4437
|
// Supports builder-model="..." attribute which is needed to
|
|
@@ -4451,22 +4451,22 @@ const yo = (e = {}) => {
|
|
|
4451
4451
|
if (n != null && n.type)
|
|
4452
4452
|
switch (n.type) {
|
|
4453
4453
|
case "builder.evaluate": {
|
|
4454
|
-
const s = n.data.text,
|
|
4455
|
-
let y,
|
|
4454
|
+
const s = n.data.text, u = n.data.arguments || [], d = n.data.id, p = new Function(s);
|
|
4455
|
+
let y, b = null;
|
|
4456
4456
|
try {
|
|
4457
|
-
y = p.apply(null,
|
|
4457
|
+
y = p.apply(null, u);
|
|
4458
4458
|
} catch (P) {
|
|
4459
|
-
|
|
4459
|
+
b = P;
|
|
4460
4460
|
}
|
|
4461
|
-
|
|
4461
|
+
b ? (i = window.parent) == null || i.postMessage({
|
|
4462
4462
|
type: "builder.evaluateError",
|
|
4463
4463
|
data: {
|
|
4464
4464
|
id: d,
|
|
4465
|
-
error:
|
|
4465
|
+
error: b.message
|
|
4466
4466
|
}
|
|
4467
4467
|
}, "*") : y && typeof y.then == "function" ? y.then((P) => {
|
|
4468
|
-
var
|
|
4469
|
-
(
|
|
4468
|
+
var U;
|
|
4469
|
+
(U = window.parent) == null || U.postMessage({
|
|
4470
4470
|
type: "builder.evaluateResult",
|
|
4471
4471
|
data: {
|
|
4472
4472
|
id: d,
|
|
@@ -4529,89 +4529,87 @@ const vo = (e, t, r = !0) => {
|
|
|
4529
4529
|
};
|
|
4530
4530
|
};
|
|
4531
4531
|
function So(e) {
|
|
4532
|
-
var
|
|
4533
|
-
const t =
|
|
4534
|
-
|
|
4535
|
-
|
|
4536
|
-
|
|
4537
|
-
var N, M, j, W, ce;
|
|
4538
|
-
const E = {
|
|
4532
|
+
var v, H, re, ie, D;
|
|
4533
|
+
const t = Yt(null), [r, n] = W(() => 0);
|
|
4534
|
+
function i(R) {
|
|
4535
|
+
var N, E, L, K, V;
|
|
4536
|
+
const x = {
|
|
4539
4537
|
...e.builderContextSignal.content,
|
|
4540
|
-
...
|
|
4538
|
+
...R,
|
|
4541
4539
|
data: {
|
|
4542
4540
|
...(N = e.builderContextSignal.content) == null ? void 0 : N.data,
|
|
4543
|
-
...
|
|
4541
|
+
...R == null ? void 0 : R.data
|
|
4544
4542
|
},
|
|
4545
4543
|
meta: {
|
|
4546
|
-
...(
|
|
4547
|
-
...
|
|
4548
|
-
breakpoints: ((
|
|
4544
|
+
...(E = e.builderContextSignal.content) == null ? void 0 : E.meta,
|
|
4545
|
+
...R == null ? void 0 : R.meta,
|
|
4546
|
+
breakpoints: ((L = R == null ? void 0 : R.meta) == null ? void 0 : L.breakpoints) || ((V = (K = e.builderContextSignal.content) == null ? void 0 : K.meta) == null ? void 0 : V.breakpoints)
|
|
4549
4547
|
}
|
|
4550
4548
|
};
|
|
4551
|
-
e.setBuilderContextSignal((
|
|
4552
|
-
...
|
|
4553
|
-
content:
|
|
4549
|
+
e.setBuilderContextSignal((se) => ({
|
|
4550
|
+
...se,
|
|
4551
|
+
content: x
|
|
4554
4552
|
}));
|
|
4555
4553
|
}
|
|
4556
|
-
|
|
4557
|
-
const [
|
|
4554
|
+
W(() => 0);
|
|
4555
|
+
const [a, s] = W(
|
|
4558
4556
|
() => !1
|
|
4559
4557
|
);
|
|
4560
|
-
function
|
|
4558
|
+
function u(R) {
|
|
4561
4559
|
var N;
|
|
4562
|
-
const { data:
|
|
4563
|
-
if (
|
|
4564
|
-
switch (
|
|
4560
|
+
const { data: x } = R;
|
|
4561
|
+
if (x)
|
|
4562
|
+
switch (x.type) {
|
|
4565
4563
|
case "builder.configureSdk": {
|
|
4566
|
-
const
|
|
4567
|
-
if (!
|
|
4564
|
+
const E = x.data, { breakpoints: L, contentId: K } = E;
|
|
4565
|
+
if (!K || K !== ((N = e.builderContextSignal.content) == null ? void 0 : N.id))
|
|
4568
4566
|
return;
|
|
4569
|
-
|
|
4567
|
+
L && i({
|
|
4570
4568
|
meta: {
|
|
4571
|
-
breakpoints:
|
|
4569
|
+
breakpoints: L
|
|
4572
4570
|
}
|
|
4573
|
-
}),
|
|
4571
|
+
}), n(r + 1);
|
|
4574
4572
|
break;
|
|
4575
4573
|
}
|
|
4576
4574
|
case "builder.contentUpdate": {
|
|
4577
|
-
const
|
|
4578
|
-
|
|
4575
|
+
const E = x.data, L = E.key || E.alias || E.entry || E.modelName, K = E.data;
|
|
4576
|
+
L === e.model && (i(K), n(r + 1));
|
|
4579
4577
|
break;
|
|
4580
4578
|
}
|
|
4581
4579
|
}
|
|
4582
4580
|
}
|
|
4583
|
-
function
|
|
4584
|
-
var
|
|
4585
|
-
const
|
|
4586
|
-
|
|
4587
|
-
code:
|
|
4581
|
+
function d() {
|
|
4582
|
+
var x, N;
|
|
4583
|
+
const R = (N = (x = e.builderContextSignal.content) == null ? void 0 : x.data) == null ? void 0 : N.jsCode;
|
|
4584
|
+
R && Qe({
|
|
4585
|
+
code: R,
|
|
4588
4586
|
context: e.context || {},
|
|
4589
4587
|
localState: void 0,
|
|
4590
4588
|
rootState: e.builderContextSignal.rootState,
|
|
4591
4589
|
rootSetState: e.builderContextSignal.rootSetState
|
|
4592
4590
|
});
|
|
4593
4591
|
}
|
|
4594
|
-
const [
|
|
4595
|
-
function
|
|
4596
|
-
var
|
|
4592
|
+
const [p, y] = W(() => ({})), [b, P] = W(() => !1);
|
|
4593
|
+
function U(R) {
|
|
4594
|
+
var x, N;
|
|
4597
4595
|
if (e.builderContextSignal.content) {
|
|
4598
|
-
const
|
|
4599
|
-
|
|
4596
|
+
const E = (x = e.builderContextSignal.content) == null ? void 0 : x.testVariationId, L = (N = e.builderContextSignal.content) == null ? void 0 : N.id;
|
|
4597
|
+
Kn({
|
|
4600
4598
|
type: "click",
|
|
4601
|
-
canTrack:
|
|
4602
|
-
contentId:
|
|
4599
|
+
canTrack: ft(e.canTrack),
|
|
4600
|
+
contentId: L,
|
|
4603
4601
|
apiKey: e.apiKey,
|
|
4604
|
-
variationId:
|
|
4605
|
-
...bo(
|
|
4606
|
-
unique: !
|
|
4602
|
+
variationId: E !== L ? E : void 0,
|
|
4603
|
+
...bo(R),
|
|
4604
|
+
unique: !b
|
|
4607
4605
|
});
|
|
4608
4606
|
}
|
|
4609
|
-
|
|
4607
|
+
b || P(!0);
|
|
4610
4608
|
}
|
|
4611
|
-
function
|
|
4612
|
-
return
|
|
4609
|
+
function C(R) {
|
|
4610
|
+
return R.replace(
|
|
4613
4611
|
/{{([^}]+)}}/g,
|
|
4614
|
-
(
|
|
4612
|
+
(x, N) => Qe({
|
|
4615
4613
|
code: N,
|
|
4616
4614
|
context: e.context || {},
|
|
4617
4615
|
localState: void 0,
|
|
@@ -4620,38 +4618,38 @@ function So(e) {
|
|
|
4620
4618
|
})
|
|
4621
4619
|
);
|
|
4622
4620
|
}
|
|
4623
|
-
function
|
|
4624
|
-
Gr(
|
|
4625
|
-
var
|
|
4626
|
-
const
|
|
4621
|
+
function T({ url: R, key: x }) {
|
|
4622
|
+
Gr(R).then((N) => N.json()).then((N) => {
|
|
4623
|
+
var L, K;
|
|
4624
|
+
const E = {
|
|
4627
4625
|
...e.builderContextSignal.rootState,
|
|
4628
|
-
[
|
|
4626
|
+
[x]: N
|
|
4629
4627
|
};
|
|
4630
|
-
(
|
|
4628
|
+
(K = (L = e.builderContextSignal).rootSetState) == null || K.call(L, E), p[x] = !0;
|
|
4631
4629
|
}).catch((N) => {
|
|
4632
|
-
console.error("error fetching dynamic data",
|
|
4630
|
+
console.error("error fetching dynamic data", R, N);
|
|
4633
4631
|
});
|
|
4634
4632
|
}
|
|
4635
|
-
function
|
|
4636
|
-
var
|
|
4637
|
-
const
|
|
4638
|
-
Object.entries(
|
|
4639
|
-
if (
|
|
4640
|
-
const
|
|
4641
|
-
|
|
4642
|
-
url:
|
|
4643
|
-
key:
|
|
4633
|
+
function B() {
|
|
4634
|
+
var x, N;
|
|
4635
|
+
const R = ((N = (x = e.builderContextSignal.content) == null ? void 0 : x.data) == null ? void 0 : N.httpRequests) ?? {};
|
|
4636
|
+
Object.entries(R).forEach(([E, L]) => {
|
|
4637
|
+
if (L && (!p[E] || ke())) {
|
|
4638
|
+
const K = C(L);
|
|
4639
|
+
T({
|
|
4640
|
+
url: K,
|
|
4641
|
+
key: E
|
|
4644
4642
|
});
|
|
4645
4643
|
}
|
|
4646
4644
|
});
|
|
4647
4645
|
}
|
|
4648
|
-
function
|
|
4649
|
-
|
|
4646
|
+
function $() {
|
|
4647
|
+
ke() && window.dispatchEvent(
|
|
4650
4648
|
new CustomEvent(
|
|
4651
4649
|
"builder:component:stateChange",
|
|
4652
4650
|
{
|
|
4653
4651
|
detail: {
|
|
4654
|
-
state:
|
|
4652
|
+
state: qt(e.builderContextSignal.rootState),
|
|
4655
4653
|
ref: {
|
|
4656
4654
|
name: e.model
|
|
4657
4655
|
}
|
|
@@ -4660,12 +4658,12 @@ function So(e) {
|
|
|
4660
4658
|
)
|
|
4661
4659
|
);
|
|
4662
4660
|
}
|
|
4663
|
-
return
|
|
4664
|
-
var
|
|
4665
|
-
if (e.apiKey ||
|
|
4661
|
+
return ae(() => {
|
|
4662
|
+
var R, x;
|
|
4663
|
+
if (e.apiKey || Oe.error(
|
|
4666
4664
|
"No API key provided to `RenderContent` component. This can cause issues. Please provide an API key using the `apiKey` prop."
|
|
4667
|
-
),
|
|
4668
|
-
if (
|
|
4665
|
+
), Ne()) {
|
|
4666
|
+
if (ke() && (n(r + 1), window.addEventListener("message", u), go(), yo({
|
|
4669
4667
|
...e.locale ? {
|
|
4670
4668
|
locale: e.locale
|
|
4671
4669
|
} : {},
|
|
@@ -4678,59 +4676,59 @@ function So(e) {
|
|
|
4678
4676
|
}), Object.values(
|
|
4679
4677
|
e.builderContextSignal.componentInfos
|
|
4680
4678
|
).forEach((N) => {
|
|
4681
|
-
var
|
|
4682
|
-
const
|
|
4683
|
-
(
|
|
4679
|
+
var L;
|
|
4680
|
+
const E = Hr(N);
|
|
4681
|
+
(L = window.parent) == null || L.postMessage(E, "*");
|
|
4684
4682
|
}), window.addEventListener(
|
|
4685
4683
|
"builder:component:stateChangeListenerActivated",
|
|
4686
|
-
|
|
4684
|
+
$
|
|
4687
4685
|
)), e.builderContextSignal.content) {
|
|
4688
|
-
const N = (
|
|
4689
|
-
|
|
4686
|
+
const N = (R = e.builderContextSignal.content) == null ? void 0 : R.testVariationId, E = (x = e.builderContextSignal.content) == null ? void 0 : x.id;
|
|
4687
|
+
Kn({
|
|
4690
4688
|
type: "impression",
|
|
4691
|
-
canTrack:
|
|
4692
|
-
contentId:
|
|
4689
|
+
canTrack: ft(e.canTrack),
|
|
4690
|
+
contentId: E,
|
|
4693
4691
|
apiKey: e.apiKey,
|
|
4694
|
-
variationId: N !==
|
|
4692
|
+
variationId: N !== E ? N : void 0
|
|
4695
4693
|
});
|
|
4696
4694
|
}
|
|
4697
4695
|
if (Kr()) {
|
|
4698
|
-
const N = new URL(location.href).searchParams,
|
|
4699
|
-
`builder.preview.${
|
|
4700
|
-
),
|
|
4701
|
-
|
|
4696
|
+
const N = new URL(location.href).searchParams, E = N.get("builder.preview"), L = N.get(
|
|
4697
|
+
`builder.preview.${E}`
|
|
4698
|
+
), K = N.get("apiKey") || N.get("builder.space");
|
|
4699
|
+
E === e.model && K === e.apiKey && (!e.content || L === e.content.id) && ur({
|
|
4702
4700
|
model: e.model,
|
|
4703
4701
|
apiKey: e.apiKey,
|
|
4704
4702
|
apiVersion: e.builderContextSignal.apiVersion
|
|
4705
|
-
}).then((
|
|
4706
|
-
|
|
4703
|
+
}).then((V) => {
|
|
4704
|
+
V && i(V);
|
|
4707
4705
|
});
|
|
4708
4706
|
}
|
|
4709
|
-
|
|
4707
|
+
d(), B(), $();
|
|
4710
4708
|
}
|
|
4711
|
-
}, []),
|
|
4712
|
-
e.content &&
|
|
4713
|
-
}, [e.content]),
|
|
4714
|
-
}, [
|
|
4715
|
-
|
|
4709
|
+
}, []), ae(() => {
|
|
4710
|
+
e.content && i(e.content);
|
|
4711
|
+
}, [e.content]), ae(() => {
|
|
4712
|
+
}, [a]), ae(() => {
|
|
4713
|
+
d();
|
|
4716
4714
|
}, [
|
|
4717
|
-
(
|
|
4715
|
+
(H = (v = e.builderContextSignal.content) == null ? void 0 : v.data) == null ? void 0 : H.jsCode,
|
|
4718
4716
|
e.builderContextSignal.rootState
|
|
4719
|
-
]),
|
|
4720
|
-
|
|
4721
|
-
}, [(
|
|
4722
|
-
|
|
4723
|
-
}, [e.builderContextSignal.rootState]),
|
|
4724
|
-
|
|
4717
|
+
]), ae(() => {
|
|
4718
|
+
B();
|
|
4719
|
+
}, [(ie = (re = e.builderContextSignal.content) == null ? void 0 : re.data) == null ? void 0 : ie.httpRequests]), ae(() => {
|
|
4720
|
+
$();
|
|
4721
|
+
}, [e.builderContextSignal.rootState]), ae(() => () => {
|
|
4722
|
+
Ne() && (window.removeEventListener("message", u), window.removeEventListener(
|
|
4725
4723
|
"builder:component:stateChangeListenerActivated",
|
|
4726
|
-
|
|
4724
|
+
$
|
|
4727
4725
|
));
|
|
4728
|
-
}, []), /* @__PURE__ */ m(
|
|
4726
|
+
}, []), /* @__PURE__ */ m(fn.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content ? /* @__PURE__ */ m(F, { children: /* @__PURE__ */ m(
|
|
4729
4727
|
"div",
|
|
4730
4728
|
{
|
|
4731
4729
|
ref: t,
|
|
4732
|
-
onClick: (
|
|
4733
|
-
"builder-content-id": (
|
|
4730
|
+
onClick: (R) => U(R),
|
|
4731
|
+
"builder-content-id": (D = e.builderContextSignal.content) == null ? void 0 : D.id,
|
|
4734
4732
|
"builder-model": e.model,
|
|
4735
4733
|
...e.showContent ? {} : {
|
|
4736
4734
|
hidden: !0,
|
|
@@ -4739,10 +4737,10 @@ function So(e) {
|
|
|
4739
4737
|
className: e.classNameProp,
|
|
4740
4738
|
children: e.children
|
|
4741
4739
|
},
|
|
4742
|
-
|
|
4740
|
+
r
|
|
4743
4741
|
) }) : null });
|
|
4744
4742
|
}
|
|
4745
|
-
function
|
|
4743
|
+
function Jt(e) {
|
|
4746
4744
|
return /* @__PURE__ */ m(
|
|
4747
4745
|
"script",
|
|
4748
4746
|
{
|
|
@@ -4752,25 +4750,25 @@ function Xt(e) {
|
|
|
4752
4750
|
);
|
|
4753
4751
|
}
|
|
4754
4752
|
function lr(e) {
|
|
4755
|
-
var d, p, y,
|
|
4756
|
-
const [t, r] =
|
|
4753
|
+
var d, p, y, b, P, U, C;
|
|
4754
|
+
const [t, r] = W(
|
|
4757
4755
|
() => {
|
|
4758
|
-
var
|
|
4756
|
+
var T, B;
|
|
4759
4757
|
return Wi({
|
|
4760
4758
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
|
|
4761
|
-
variationId: (
|
|
4759
|
+
variationId: (T = e.content) == null ? void 0 : T.testVariationId,
|
|
4762
4760
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
|
|
4763
|
-
contentId: (
|
|
4761
|
+
contentId: (B = e.content) == null ? void 0 : B.id
|
|
4764
4762
|
});
|
|
4765
4763
|
}
|
|
4766
4764
|
);
|
|
4767
|
-
function n(
|
|
4768
|
-
|
|
4769
|
-
|
|
4770
|
-
rootState:
|
|
4765
|
+
function n(T) {
|
|
4766
|
+
u((B) => ({
|
|
4767
|
+
...B,
|
|
4768
|
+
rootState: T
|
|
4771
4769
|
}));
|
|
4772
4770
|
}
|
|
4773
|
-
const [i, a] =
|
|
4771
|
+
const [i, a] = W(
|
|
4774
4772
|
() => [
|
|
4775
4773
|
...ir(),
|
|
4776
4774
|
// While this `components` object is deprecated, we must maintain support for it.
|
|
@@ -4778,19 +4776,19 @@ function lr(e) {
|
|
|
4778
4776
|
// existing usage.
|
|
4779
4777
|
// This is why we spread `components` after the default Builder.io components, but before the `props.customComponents`,
|
|
4780
4778
|
// which is the new standard way of providing custom components, and must therefore take precedence.
|
|
4781
|
-
...
|
|
4779
|
+
...Gn,
|
|
4782
4780
|
...e.customComponents || []
|
|
4783
4781
|
].reduce(
|
|
4784
|
-
(
|
|
4785
|
-
...
|
|
4786
|
-
[
|
|
4787
|
-
component:
|
|
4788
|
-
...
|
|
4782
|
+
(T, { component: B, ...$ }) => ({
|
|
4783
|
+
...T,
|
|
4784
|
+
[$.name]: {
|
|
4785
|
+
component: B,
|
|
4786
|
+
...zn($)
|
|
4789
4787
|
}
|
|
4790
4788
|
}),
|
|
4791
4789
|
{}
|
|
4792
4790
|
)
|
|
4793
|
-
), [s,
|
|
4791
|
+
), [s, u] = W(() => ({
|
|
4794
4792
|
content: po({
|
|
4795
4793
|
content: e.content,
|
|
4796
4794
|
data: e.data
|
|
@@ -4812,12 +4810,12 @@ function lr(e) {
|
|
|
4812
4810
|
// existing usage.
|
|
4813
4811
|
// This is why we spread `components` after the default Builder.io components, but before the `props.customComponents`,
|
|
4814
4812
|
// which is the new standard way of providing custom components, and must therefore take precedence.
|
|
4815
|
-
...
|
|
4813
|
+
...Gn,
|
|
4816
4814
|
...e.customComponents || []
|
|
4817
4815
|
].reduce(
|
|
4818
|
-
(
|
|
4819
|
-
...
|
|
4820
|
-
[
|
|
4816
|
+
(T, { component: B, ...$ }) => ({
|
|
4817
|
+
...T,
|
|
4818
|
+
[$.name]: zn($)
|
|
4821
4819
|
}),
|
|
4822
4820
|
{}
|
|
4823
4821
|
),
|
|
@@ -4843,21 +4841,21 @@ function lr(e) {
|
|
|
4843
4841
|
classNameProp: e.classNameProp,
|
|
4844
4842
|
showContent: e.showContent,
|
|
4845
4843
|
builderContextSignal: s,
|
|
4846
|
-
setBuilderContextSignal:
|
|
4844
|
+
setBuilderContextSignal: u,
|
|
4847
4845
|
children: [
|
|
4848
|
-
e.isSsrAbTest ? /* @__PURE__ */ m(
|
|
4849
|
-
/* @__PURE__ */ m(
|
|
4846
|
+
e.isSsrAbTest ? /* @__PURE__ */ m(F, { children: /* @__PURE__ */ m(Jt, { scriptStr: t }) }) : null,
|
|
4847
|
+
/* @__PURE__ */ m(F, { children: /* @__PURE__ */ m(
|
|
4850
4848
|
fo,
|
|
4851
4849
|
{
|
|
4852
4850
|
contentId: (d = s.content) == null ? void 0 : d.id,
|
|
4853
4851
|
cssCode: (y = (p = s.content) == null ? void 0 : p.data) == null ? void 0 : y.cssCode,
|
|
4854
|
-
customFonts: (P = (
|
|
4852
|
+
customFonts: (P = (b = s.content) == null ? void 0 : b.data) == null ? void 0 : P.customFonts
|
|
4855
4853
|
}
|
|
4856
4854
|
) }),
|
|
4857
4855
|
/* @__PURE__ */ m(
|
|
4858
|
-
|
|
4856
|
+
dn,
|
|
4859
4857
|
{
|
|
4860
|
-
blocks: (
|
|
4858
|
+
blocks: (C = (U = s.content) == null ? void 0 : U.data) == null ? void 0 : C.blocks,
|
|
4861
4859
|
context: s,
|
|
4862
4860
|
registeredComponents: i
|
|
4863
4861
|
}
|
|
@@ -4869,10 +4867,10 @@ function lr(e) {
|
|
|
4869
4867
|
);
|
|
4870
4868
|
}
|
|
4871
4869
|
function Cr(e) {
|
|
4872
|
-
var s,
|
|
4873
|
-
const [t, r] =
|
|
4870
|
+
var s, u, d;
|
|
4871
|
+
const [t, r] = W(
|
|
4874
4872
|
() => Bi({
|
|
4875
|
-
canTrack:
|
|
4873
|
+
canTrack: ft(e.canTrack),
|
|
4876
4874
|
content: e.content
|
|
4877
4875
|
})
|
|
4878
4876
|
);
|
|
@@ -4896,13 +4894,13 @@ function Cr(e) {
|
|
|
4896
4894
|
testVariationId: (p = e.content) == null ? void 0 : p.id
|
|
4897
4895
|
} : zr({
|
|
4898
4896
|
item: e.content,
|
|
4899
|
-
canTrack:
|
|
4897
|
+
canTrack: ft(e.canTrack)
|
|
4900
4898
|
});
|
|
4901
4899
|
}
|
|
4902
|
-
return
|
|
4903
|
-
}, []), /* @__PURE__ */ Z(
|
|
4904
|
-
!e.__isNestedRender &&
|
|
4905
|
-
t ? /* @__PURE__ */ Z(
|
|
4900
|
+
return ae(() => {
|
|
4901
|
+
}, []), /* @__PURE__ */ Z(F, { children: [
|
|
4902
|
+
!e.__isNestedRender && et !== "reactNative" ? /* @__PURE__ */ m(F, { children: /* @__PURE__ */ m(Jt, { scriptStr: Vi() }) }) : null,
|
|
4903
|
+
t ? /* @__PURE__ */ Z(F, { children: [
|
|
4906
4904
|
/* @__PURE__ */ m(
|
|
4907
4905
|
gt,
|
|
4908
4906
|
{
|
|
@@ -4910,8 +4908,8 @@ function Cr(e) {
|
|
|
4910
4908
|
styles: i()
|
|
4911
4909
|
}
|
|
4912
4910
|
),
|
|
4913
|
-
/* @__PURE__ */ m(
|
|
4914
|
-
(
|
|
4911
|
+
/* @__PURE__ */ m(Jt, { scriptStr: n() }),
|
|
4912
|
+
(u = ut(e.content)) == null ? void 0 : u.map((p) => /* @__PURE__ */ m(
|
|
4915
4913
|
lr,
|
|
4916
4914
|
{
|
|
4917
4915
|
content: p,
|
|
@@ -4969,11 +4967,11 @@ const wo = async ({
|
|
|
4969
4967
|
}
|
|
4970
4968
|
}
|
|
4971
4969
|
}).catch((r) => {
|
|
4972
|
-
|
|
4970
|
+
Oe.error("Could not fetch symbol content: ", r);
|
|
4973
4971
|
});
|
|
4974
4972
|
};
|
|
4975
4973
|
function ko(e) {
|
|
4976
|
-
var a, s,
|
|
4974
|
+
var a, s, u;
|
|
4977
4975
|
function t() {
|
|
4978
4976
|
var d, p;
|
|
4979
4977
|
return [
|
|
@@ -4983,7 +4981,7 @@ function ko(e) {
|
|
|
4983
4981
|
(p = e.symbol) != null && p.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
|
|
4984
4982
|
].filter(Boolean).join(" ");
|
|
4985
4983
|
}
|
|
4986
|
-
const [r, n] =
|
|
4984
|
+
const [r, n] = W(() => {
|
|
4987
4985
|
var d;
|
|
4988
4986
|
return (d = e.symbol) == null ? void 0 : d.content;
|
|
4989
4987
|
});
|
|
@@ -4995,9 +4993,9 @@ function ko(e) {
|
|
|
4995
4993
|
d && n(d);
|
|
4996
4994
|
});
|
|
4997
4995
|
}
|
|
4998
|
-
return
|
|
4996
|
+
return ae(() => {
|
|
4999
4997
|
i();
|
|
5000
|
-
}, []),
|
|
4998
|
+
}, []), ae(() => {
|
|
5001
4999
|
i();
|
|
5002
5000
|
}, [e.symbol]), /* @__PURE__ */ m("div", { ...e.attributes, className: t(), children: /* @__PURE__ */ m(
|
|
5003
5001
|
Cr,
|
|
@@ -5012,14 +5010,14 @@ function ko(e) {
|
|
|
5012
5010
|
...e.builderContext.localState,
|
|
5013
5011
|
...(s = r == null ? void 0 : r.data) == null ? void 0 : s.state
|
|
5014
5012
|
},
|
|
5015
|
-
model: (
|
|
5013
|
+
model: (u = e.symbol) == null ? void 0 : u.model,
|
|
5016
5014
|
content: r
|
|
5017
5015
|
}
|
|
5018
5016
|
) });
|
|
5019
5017
|
}
|
|
5020
|
-
const To =
|
|
5018
|
+
const To = dn, jo = Cr;
|
|
5021
5019
|
export {
|
|
5022
|
-
|
|
5020
|
+
dn as Blocks,
|
|
5023
5021
|
Xr as Button,
|
|
5024
5022
|
Oi as Columns,
|
|
5025
5023
|
Cr as Content,
|
|
@@ -5039,7 +5037,7 @@ export {
|
|
|
5039
5037
|
Mo as getAllContent,
|
|
5040
5038
|
Fo as getBuilderSearchParams,
|
|
5041
5039
|
Uo as getContent,
|
|
5042
|
-
|
|
5040
|
+
ke as isEditing,
|
|
5043
5041
|
Kr as isPreviewing,
|
|
5044
5042
|
Wr as register,
|
|
5045
5043
|
Bo as setEditorSettings,
|