@builder.io/sdk-react 0.7.0 → 0.7.1-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.
Files changed (37) hide show
  1. package/lib/browser/index.cjs +23 -23
  2. package/lib/browser/index.mjs +592 -560
  3. package/lib/browser/{server-entry-f341a184.mjs → server-entry-13b7e1e6.mjs} +200 -185
  4. package/lib/browser/server-entry-c98db16c.js +2 -0
  5. package/lib/browser/server-entry.cjs +1 -1
  6. package/lib/browser/server-entry.mjs +1 -1
  7. package/lib/edge/index.cjs +32 -32
  8. package/lib/edge/index.mjs +1122 -1062
  9. package/lib/{node/server-entry-f341a184.mjs → edge/server-entry-13b7e1e6.mjs} +200 -185
  10. package/lib/edge/server-entry-c98db16c.js +2 -0
  11. package/lib/edge/server-entry.cjs +1 -1
  12. package/lib/edge/server-entry.mjs +1 -1
  13. package/lib/index.cjs +14 -0
  14. package/lib/index.mjs +10 -0
  15. package/lib/node/index.cjs +68 -28
  16. package/lib/node/index.mjs +931 -802
  17. package/lib/{edge/server-entry-f341a184.mjs → node/server-entry-13b7e1e6.mjs} +200 -185
  18. package/lib/node/server-entry-c98db16c.js +2 -0
  19. package/lib/node/server-entry.cjs +1 -1
  20. package/lib/node/server-entry.mjs +1 -1
  21. package/package.json +2 -1
  22. package/types/blocks/image/image.d.ts +1 -1
  23. package/types/constants/sdk-version.d.ts +1 -1
  24. package/types/functions/evaluate/choose-eval.d.ts +6 -0
  25. package/types/functions/evaluate/evaluate.d.ts +1 -5
  26. package/types/functions/evaluate/helpers.d.ts +7 -1
  27. package/types/functions/evaluate/node-runtime/index.d.ts +1 -1
  28. package/types/functions/evaluate/node-runtime/node-runtime.d.ts +2 -0
  29. package/types/functions/evaluate/node-runtime/safeDynamicRequire.d.ts +13 -0
  30. package/types/functions/get-content/types.d.ts +94 -3
  31. package/types/functions/is-node-runtime.d.ts +4 -0
  32. package/types/node-runtime/index.d.ts +1 -0
  33. package/types/node-runtime/node-runtime.d.ts +1 -0
  34. package/types/node-runtime.d.ts +1 -0
  35. package/lib/browser/server-entry-f668f903.js +0 -2
  36. package/lib/edge/server-entry-f668f903.js +0 -2
  37. package/lib/node/server-entry-f668f903.js +0 -2
@@ -1,11 +1,11 @@
1
1
  "use client";
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
- function Xr(e) {
7
- return /* @__PURE__ */ Z(F, { children: [
8
- e.link ? /* @__PURE__ */ m(F, { children: /* @__PURE__ */ m(
2
+ import { jsxs as Z, Fragment as U, jsx as g } from "react/jsx-runtime";
3
+ import { createContext as cr, useState as H, useContext as Hn, createElement as ur, useRef as Yt, useEffect as Q } from "react";
4
+ import { j as qt, i as Ce, k as Ee, l as Wr, m as Pe, n as Ht, T as tt, r as Hr, o as ft, p as Kn, a as Kr, c as Gr, b as fr, q as zr, u as Gn, v as zn, w as Xr } from "./server-entry-13b7e1e6.mjs";
5
+ import { _ as Uo, h as Bo, f as _o, g as Lo, e as $o, d as Vo, s as Do, t as Wo } from "./server-entry-13b7e1e6.mjs";
6
+ function Jr(e) {
7
+ return /* @__PURE__ */ Z(U, { children: [
8
+ e.link ? /* @__PURE__ */ g(U, { children: /* @__PURE__ */ g(
9
9
  "a",
10
10
  {
11
11
  role: "button",
@@ -14,21 +14,21 @@ function Xr(e) {
14
14
  target: e.openLinkInNewTab ? "_blank" : void 0,
15
15
  children: e.text
16
16
  }
17
- ) }) : /* @__PURE__ */ m(F, { children: /* @__PURE__ */ m(
17
+ ) }) : /* @__PURE__ */ g(U, { children: /* @__PURE__ */ g(
18
18
  "button",
19
19
  {
20
20
  ...e.attributes,
21
21
  style: e.attributes.style,
22
- className: e.attributes.className + " button-3e7bc8b2",
22
+ className: e.attributes.className + " button-35669e6c",
23
23
  children: e.text
24
24
  }
25
25
  ) }),
26
- /* @__PURE__ */ m("style", { children: `.button-3e7bc8b2 {
26
+ /* @__PURE__ */ g("style", { children: `.button-35669e6c {
27
27
  all: unset;
28
28
  }` })
29
29
  ] });
30
30
  }
31
- const fr = {
31
+ const dr = {
32
32
  small: {
33
33
  min: 320,
34
34
  default: 321,
@@ -44,11 +44,11 @@ const fr = {
44
44
  default: 991,
45
45
  max: 1200
46
46
  }
47
- }, Xn = (e, t = fr) => `@media (max-width: ${t[e].max}px)`, dr = ({
47
+ }, Xn = (e, t = dr) => `@media (max-width: ${t[e].max}px)`, hr = ({
48
48
  small: e,
49
49
  medium: t
50
50
  }) => {
51
- const r = qt(fr);
51
+ const r = qt(dr);
52
52
  if (!e || !t)
53
53
  return r;
54
54
  const n = Math.floor(e / 2);
@@ -70,31 +70,79 @@ const fr = {
70
70
  min: a,
71
71
  default: a + 1
72
72
  }, r;
73
- }, hr = (e, t, r) => {
73
+ }, pr = ({
74
+ builder: e,
75
+ context: t,
76
+ event: r,
77
+ state: n
78
+ }) => Object.entries({
79
+ state: n,
80
+ Builder: e,
81
+ // legacy
82
+ builder: e,
83
+ context: t,
84
+ event: r
85
+ }), Yr = () => ({
86
+ isEditing: Ce(),
87
+ isBrowser: Ee(),
88
+ isServer: !Ee(),
89
+ getUserAttributes: () => Wr()
90
+ }), qr = (e, {
91
+ isExpression: t = !0
92
+ }) => /* we disable this for cases where we definitely don't want a return */ t && !(e.includes(";") || e.includes(" return ") || e.trim().startsWith("return ")) ? `return (${e});` : e, Zr = ({
93
+ code: e,
94
+ builder: t,
95
+ context: r,
96
+ event: n,
97
+ localState: i,
98
+ rootSetState: a,
99
+ rootState: s
100
+ }) => {
101
+ const u = pr({
102
+ builder: t,
103
+ context: r,
104
+ event: n,
105
+ state: Qr(s, i, a)
106
+ });
107
+ return new Function(...u.map(([d]) => d), e)(...u.map(([, d]) => d));
108
+ };
109
+ function Qr(e, t, r) {
110
+ if (e === t)
111
+ throw new Error("rootState === localState");
112
+ return new Proxy(e, {
113
+ get: (n, i) => t && i in t ? t[i] : e[i],
114
+ set: (n, i, a) => {
115
+ if (t && i in t)
116
+ throw new Error("Writing to local state is not allowed as it is read-only.");
117
+ return e[i] = a, r == null || r(e), !0;
118
+ }
119
+ });
120
+ }
121
+ const mr = (e, t, r) => {
74
122
  if (Object(e) !== e)
75
123
  return e;
76
124
  const n = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
77
125
  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
126
  };
79
- var _, Jr = function(e) {
127
+ var $, ei = function(e) {
80
128
  function t(o) {
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));
129
+ return 48 > o ? o === 36 : 58 > o ? !0 : 65 > o ? !1 : 91 > o ? !0 : 97 > o ? o === 95 : 123 > o ? !0 : 170 <= o && Vr.test(String.fromCharCode(o));
82
130
  }
83
131
  function r(o) {
84
132
  return 65 > o ? o === 36 : 91 > o ? !0 : 97 > o ? o === 95 : 123 > o ? !0 : 170 <= o && Wn.test(String.fromCharCode(o));
85
133
  }
86
134
  function n(o, l) {
87
- for (var c = S, h = 1, A = 0; ; ) {
88
- ct.lastIndex = A;
135
+ for (var c = S, h = 1, R = 0; ; ) {
136
+ ct.lastIndex = R;
89
137
  var X = ct.exec(c);
90
138
  if (X && X.index < o)
91
- ++h, A = X.index + X[0].length;
139
+ ++h, R = X.index + X[0].length;
92
140
  else
93
141
  break;
94
142
  }
95
143
  throw c = {
96
144
  line: h,
97
- ab: o - A
145
+ ab: o - R
98
146
  }, l += " (" + c.line + ":" + c.ab + ")", l = new SyntaxError(l), l.j = o, l.X = c, l.o = f, l;
99
147
  }
100
148
  function i(o) {
@@ -106,42 +154,42 @@ var _, Jr = function(e) {
106
154
  };
107
155
  }
108
156
  function a() {
109
- this.line = Se, this.ab = f - fe;
157
+ this.line = we, this.ab = f - fe;
110
158
  }
111
159
  function s(o, l) {
112
- Ee = f, O.C && (It = new a()), j = o, d(), oe = l, $e = o.m;
160
+ Te = f, N.C && (It = new a()), A = o, d(), le = l, $e = o.m;
113
161
  }
114
162
  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; )
163
+ for (var o = f, l = N.va && N.C && new a(), c = S.charCodeAt(f += 2); f < Ie && c !== 10 && c !== 13 && c !== 8232 && c !== 8233; )
116
164
  ++f, c = S.charCodeAt(f);
117
- O.va && O.va(!1, S.slice(o + 2, f), o, f, l, O.C && new a());
165
+ N.va && N.va(!1, S.slice(o + 2, f), o, f, l, N.C && new a());
118
166
  }
119
167
  function d() {
120
- for (; f < Ce; ) {
168
+ for (; f < Ie; ) {
121
169
  var o = S.charCodeAt(f);
122
170
  if (o === 32)
123
171
  ++f;
124
172
  else if (o === 13)
125
- ++f, o = S.charCodeAt(f), o === 10 && ++f, O.C && (++Se, fe = f);
173
+ ++f, o = S.charCodeAt(f), o === 10 && ++f, N.C && (++we, fe = f);
126
174
  else if (o === 10 || o === 8232 || o === 8233)
127
- ++f, O.C && (++Se, fe = f);
175
+ ++f, N.C && (++we, fe = f);
128
176
  else if (8 < o && 14 > o)
129
177
  ++f;
130
178
  else if (o === 47)
131
179
  if (o = S.charCodeAt(f + 1), o === 42) {
132
180
  o = void 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)
181
+ var l = N.va && N.C && new a(), c = f, h = S.indexOf("*/", f += 2);
182
+ if (h === -1 && n(f - 2, "Unterminated comment"), f = h + 2, N.C)
135
183
  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());
184
+ ++we, fe = o.index + o[0].length;
185
+ N.va && N.va(!0, S.slice(c + 2, h), c, f, l, N.C && new a());
138
186
  } else if (o === 47)
139
187
  u();
140
188
  else
141
189
  break;
142
190
  else if (o === 160)
143
191
  ++f;
144
- else if (5760 <= o && _r.test(String.fromCharCode(o)))
192
+ else if (5760 <= o && $r.test(String.fromCharCode(o)))
145
193
  ++f;
146
194
  else
147
195
  break;
@@ -165,16 +213,16 @@ var _, Jr = function(e) {
165
213
  case 93:
166
214
  return ++f, s(Bt);
167
215
  case 123:
168
- return ++f, s(De);
216
+ return ++f, s(We);
169
217
  case 125:
170
- return ++f, s(Te);
218
+ return ++f, s(Ae);
171
219
  case 58:
172
- return ++f, s(We);
220
+ return ++f, s(He);
173
221
  case 63:
174
222
  return ++f, s(Un);
175
223
  case 48:
176
224
  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);
225
+ f += 2, o = _(16), o === null && n(z + 2, "Expected hexadecimal number"), r(S.charCodeAt(f)) && n(f, "Identifier directly after number"), s(De, o);
178
226
  return;
179
227
  }
180
228
  case 49:
@@ -191,7 +239,7 @@ var _, Jr = function(e) {
191
239
  case 39:
192
240
  f++;
193
241
  for (var l = ""; ; ) {
194
- f >= Ce && n(z, "Unterminated string constant");
242
+ f >= Ie && n(z, "Unterminated string constant");
195
243
  var c = S.charCodeAt(f);
196
244
  if (c === o) {
197
245
  ++f, s(ot, l);
@@ -203,7 +251,7 @@ var _, Jr = function(e) {
203
251
  for (h && (h = h[0]); h && 255 < parseInt(h, 8); )
204
252
  h = h.slice(0, -1);
205
253
  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;
254
+ oe && n(f - 2, "Octal literal in strict mode"), l += String.fromCharCode(parseInt(h, 8)), f += h.length - 1;
207
255
  else
208
256
  switch (c) {
209
257
  case 110:
@@ -214,13 +262,13 @@ var _, Jr = function(e) {
214
262
  l += "\r";
215
263
  break;
216
264
  case 120:
217
- l += String.fromCharCode(T(2));
265
+ l += String.fromCharCode(I(2));
218
266
  break;
219
267
  case 117:
220
- l += String.fromCharCode(T(4));
268
+ l += String.fromCharCode(I(4));
221
269
  break;
222
270
  case 85:
223
- l += String.fromCharCode(T(8));
271
+ l += String.fromCharCode(I(8));
224
272
  break;
225
273
  case 116:
226
274
  l += " ";
@@ -240,7 +288,7 @@ var _, Jr = function(e) {
240
288
  case 13:
241
289
  S.charCodeAt(f) === 10 && ++f;
242
290
  case 10:
243
- O.C && (fe = f, ++Se);
291
+ N.C && (fe = f, ++we);
244
292
  break;
245
293
  default:
246
294
  l += String.fromCharCode(c);
@@ -250,56 +298,56 @@ var _, Jr = function(e) {
250
298
  }
251
299
  return;
252
300
  case 47:
253
- o = S.charCodeAt(f + 1), $e ? (++f, P()) : o === 61 ? b(we, 2) : b(Bn, 1);
301
+ o = S.charCodeAt(f + 1), $e ? (++f, P()) : o === 61 ? x(ke, 2) : x(Bn, 1);
254
302
  return;
255
303
  case 37:
256
304
  case 42:
257
- S.charCodeAt(f + 1) === 61 ? b(we, 2) : b(Fr, 1);
305
+ S.charCodeAt(f + 1) === 61 ? x(ke, 2) : x(Br, 1);
258
306
  return;
259
307
  case 124:
260
308
  case 38:
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);
309
+ l = S.charCodeAt(f + 1), l === o ? x(o === 124 ? $n : Vn, 2) : l === 61 ? x(ke, 2) : x(o === 124 ? Rr : Nr, 1);
262
310
  return;
263
311
  case 94:
264
- S.charCodeAt(f + 1) === 61 ? b(we, 2) : b(Ar, 1);
312
+ S.charCodeAt(f + 1) === 61 ? x(ke, 2) : x(Or, 1);
265
313
  return;
266
314
  case 43:
267
315
  case 45:
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);
316
+ 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()) : x(Ar, 2) : l === 61 ? x(ke, 2) : x(Ur, 1);
269
317
  return;
270
318
  case 60:
271
319
  case 62:
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));
320
+ l = S.charCodeAt(f + 1), c = 1, l === o ? (c = o === 62 && S.charCodeAt(f + 2) === 62 ? 3 : 2, S.charCodeAt(f + c) === 61 ? x(ke, c + 1) : x(Fr, 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), x(Mr, c));
273
321
  return;
274
322
  case 61:
275
323
  case 33:
276
- S.charCodeAt(f + 1) === 61 ? b(Or, S.charCodeAt(f + 2) === 61 ? 3 : 2) : b(o === 61 ? _n : $n, 1);
324
+ S.charCodeAt(f + 1) === 61 ? x(Pr, S.charCodeAt(f + 2) === 61 ? 3 : 2) : x(o === 61 ? _n : Ln, 1);
277
325
  return;
278
326
  case 126:
279
- return b($n, 1);
327
+ return x(Ln, 1);
280
328
  }
281
329
  return !1;
282
330
  }
283
331
  function y(o) {
284
- if (o ? f = z + 1 : z = f, O.C && (Et = new a()), o)
332
+ if (o ? f = z + 1 : z = f, N.C && (Et = new a()), o)
285
333
  return P();
286
- if (f >= Ce)
334
+ if (f >= Ie)
287
335
  return s(At);
288
336
  if (o = S.charCodeAt(f), r(o) || o === 92)
289
- return $();
337
+ return V();
290
338
  if (p(o) === !1) {
291
339
  if (o = String.fromCharCode(o), o === "\\" || Wn.test(o))
292
- return $();
340
+ return V();
293
341
  n(f, "Unexpected character '" + o + "'");
294
342
  }
295
343
  }
296
- function b(o, l) {
344
+ function x(o, l) {
297
345
  var c = S.slice(f, f + l);
298
346
  f += l, s(o, c);
299
347
  }
300
348
  function P() {
301
349
  for (var o, l, c = f; ; ) {
302
- f >= Ce && n(c, "Unterminated regexp");
350
+ f >= Ie && n(c, "Unterminated regexp");
303
351
  var h = S.charAt(f);
304
352
  if (lt.test(h) && n(c, "Unterminated regexp"), o)
305
353
  o = !1;
@@ -314,321 +362,321 @@ var _, Jr = function(e) {
314
362
  }
315
363
  ++f;
316
364
  }
317
- o = S.slice(c, f), ++f, (l = B()) && !/^[gmi]*$/.test(l) && n(c, "Invalid regexp flag");
365
+ o = S.slice(c, f), ++f, (l = L()) && !/^[gmi]*$/.test(l) && n(c, "Invalid regexp flag");
318
366
  try {
319
- var A = new RegExp(o, l);
367
+ var R = new RegExp(o, l);
320
368
  } catch (X) {
321
369
  throw X instanceof SyntaxError && n(c, X.message), X;
322
370
  }
323
- s(gn, A);
371
+ s(gn, R);
324
372
  }
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)
373
+ function _(o, l) {
374
+ for (var c = f, h = 0, R = l === void 0 ? 1 / 0 : l, X = 0; X < R; ++X) {
375
+ var te = S.charCodeAt(f);
376
+ if (te = 97 <= te ? te - 97 + 10 : 65 <= te ? te - 65 + 10 : 48 <= te && 57 >= te ? te - 48 : 1 / 0, te >= o)
329
377
  break;
330
- ++f, h = h * o + Q;
378
+ ++f, h = h * o + te;
331
379
  }
332
380
  return f === c || l !== void 0 && f - c !== l ? null : h;
333
381
  }
334
382
  function C(o) {
335
383
  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);
384
+ o || _(10) !== null || n(l, "Invalid number"), S.charCodeAt(f) === 46 && (++f, _(10), c = !0), o = S.charCodeAt(f), (o === 69 || o === 101) && (o = S.charCodeAt(++f), o !== 43 && o !== 45 || ++f, _(10) === null && n(l, "Invalid number"), c = !0), r(S.charCodeAt(f)) && n(f, "Identifier directly after number"), o = S.slice(l, f);
385
+ var R;
386
+ c ? R = parseFloat(o) : h && o.length !== 1 ? /[89]/.test(o) || oe ? n(l, "Invalid number") : R = parseInt(o, 8) : R = parseInt(o, 10), s(De, R);
339
387
  }
340
- function T(o) {
341
- return o = U(16, o), o === null && n(z, "Bad character escape sequence"), o;
388
+ function I(o) {
389
+ return o = _(16, o), o === null && n(z, "Bad character escape sequence"), o;
342
390
  }
343
- function B() {
344
- je = !1;
391
+ function L() {
392
+ Re = !1;
345
393
  for (var o, l = !0, c = f; ; ) {
346
394
  var h = S.charCodeAt(f);
347
395
  if (t(h))
348
- je && (o += S.charAt(f)), ++f;
396
+ Re && (o += S.charAt(f)), ++f;
349
397
  else if (h === 92) {
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;
398
+ Re || (o = S.slice(c, f)), Re = !0, S.charCodeAt(++f) !== 117 && n(f, "Expecting Unicode escape sequence \\uXXXX"), ++f, h = I(4);
399
+ var R = String.fromCharCode(h);
400
+ R || n(f - 1, "Invalid Unicode escape"), (l ? r(h) : t(h)) || n(f - 4, "Invalid Unicode escape"), o += R;
353
401
  } else
354
402
  break;
355
403
  l = !1;
356
404
  }
357
- return je ? o : S.slice(c, f);
405
+ return Re ? o : S.slice(c, f);
358
406
  }
359
- function $() {
360
- var o = B(), l = Ie;
361
- !je && Br(o) && (l = Ir[o]), s(l, o);
407
+ function V() {
408
+ var o = L(), l = je;
409
+ !Re && Lr(o) && (l = jr[o]), s(l, o);
362
410
  }
363
411
  function v() {
364
- Tt = z, ve = Ee, jt = It, y();
412
+ Tt = z, ve = Te, jt = It, y();
365
413
  }
366
- function H(o) {
367
- if (ne = o, f = z, O.C)
414
+ function K(o) {
415
+ if (oe = o, f = z, N.C)
368
416
  for (; f < fe; )
369
417
  fe = S.lastIndexOf(`
370
- `, fe - 2) + 1, --Se;
418
+ `, fe - 2) + 1, --we;
371
419
  d(), y();
372
420
  }
373
- function re() {
421
+ function ae() {
374
422
  this.type = null, this.start = z, this.end = null;
375
423
  }
376
- function ie() {
424
+ function se() {
377
425
  this.start = Et, this.end = null, Ct && (this.source = Ct);
378
426
  }
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;
427
+ function W() {
428
+ var o = new ae();
429
+ return N.C && (o.X = new se()), N.vb && (o.sourceFile = N.vb), N.Xa && (o.j = [z, 0]), o;
382
430
  }
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;
431
+ function ee(o) {
432
+ var l = new ae();
433
+ return l.start = o.start, N.C && (l.X = new se(), l.X.start = o.X.start), N.Xa && (l.j = [o.j[0], 0]), l;
386
434
  }
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;
435
+ function T(o, l) {
436
+ return o.type = l, o.end = ve, N.C && (o.X.end = jt), N.Xa && (o.j[1] = ve), o;
389
437
  }
390
- function N(o) {
438
+ function O(o) {
391
439
  return o.type === "ExpressionStatement" && o.la.type === "Literal" && o.la.value === "use strict";
392
440
  }
393
- function E(o) {
394
- return j === o ? (v(), !0) : !1;
441
+ function b(o) {
442
+ return A === o ? (v(), !0) : !1;
395
443
  }
396
- function L() {
397
- return !O.fc && (j === At || j === Te || lt.test(S.slice(ve, z)));
444
+ function B() {
445
+ return !N.fc && (A === At || A === Ae || lt.test(S.slice(ve, z)));
398
446
  }
399
- function K() {
400
- E(he) || L() || se();
447
+ function M() {
448
+ b(he) || B() || D();
401
449
  }
402
- function V(o) {
403
- j === o ? v() : se();
450
+ function j(o) {
451
+ A === o ? v() : D();
404
452
  }
405
- function se() {
453
+ function D() {
406
454
  n(z, "Unexpected token");
407
455
  }
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");
456
+ function Se(o) {
457
+ o.type !== "Identifier" && o.type !== "MemberExpression" && n(o.start, "Assigning to rvalue"), oe && o.type === "Identifier" && st(o.name) && n(o.start, "Assigning to " + o.name + " in strict mode");
410
458
  }
411
- function le() {
412
- (j === Bn || j === we && oe === "/=") && y(!0);
413
- var o = j, l = D();
459
+ function ie() {
460
+ (A === Bn || A === ke && le === "/=") && y(!0);
461
+ var o = A, l = W();
414
462
  switch (o) {
415
463
  case Rt:
416
464
  case vn:
417
465
  v();
418
466
  var c = o === Rt;
419
- E(he) || L() ? l.label = null : j !== Ie ? se() : (l.label = ue(), K());
467
+ b(he) || B() ? l.label = null : A !== je ? D() : (l.label = ue(), M());
420
468
  for (var h = 0; h < G.length; ++h) {
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))
469
+ var R = G[h];
470
+ if ((l.label === null || R.name === l.label.name) && (R.kind !== null && (c || R.kind === "loop") || l.label && c))
423
471
  break;
424
472
  }
425
- return h === G.length && n(l.start, "Unsyntactic " + o.l), x(l, c ? "BreakStatement" : "ContinueStatement");
473
+ return h === G.length && n(l.start, "Unsyntactic " + o.l), T(l, c ? "BreakStatement" : "ContinueStatement");
426
474
  case xn:
427
- return v(), K(), x(l, "DebuggerStatement");
475
+ return v(), M(), T(l, "DebuggerStatement");
428
476
  case Sn:
429
- return v(), G.push(_t), l.body = le(), G.pop(), V(Ft), l.test = Ue(), K(), x(l, "DoWhileStatement");
477
+ return v(), G.push(_t), l.body = ie(), G.pop(), j(Ft), l.test = Be(), M(), T(l, "DoWhileStatement");
430
478
  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));
479
+ return v(), G.push(_t), j(de), A === he ? vt(l, null) : A === Mt ? (o = W(), v(), pn(o, !0), T(o, "VariableDeclaration"), o.fa.length === 1 && b(at) ? hn(l, o) : vt(l, o)) : (o = q(!1, !0), b(at) ? (Se(o), hn(l, o)) : vt(l, o));
432
480
  case Nt:
433
481
  return v(), wt(l, !0);
434
482
  case En:
435
- return v(), l.test = Ue(), l.da = le(), l.alternate = E(wn) ? le() : null, x(l, "IfStatement");
483
+ return v(), l.test = Be(), l.da = ie(), l.alternate = b(wn) ? ie() : null, T(l, "IfStatement");
436
484
  case In:
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");
485
+ return Ve || N.Ib || n(z, "'return' outside of function"), v(), b(he) || B() ? l.K = null : (l.K = q(), M()), T(l, "ReturnStatement");
438
486
  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");
487
+ for (v(), l.Qb = Be(), l.tb = [], j(We), G.push(Dr); A !== Ae; )
488
+ A === Ot || A === bn ? (o = A === Ot, h && T(h, "SwitchCase"), l.tb.push(h = W()), h.da = [], v(), o ? h.test = q() : (c && n(Tt, "Multiple default clauses"), c = !0, h.test = null), j(He)) : (h || D(), h.da.push(ie()));
489
+ return h && T(h, "SwitchCase"), v(), G.pop(), T(l, "SwitchStatement");
442
490
  case Tn:
443
- return v(), lt.test(S.slice(ve, z)) && n(ve, "Illegal newline after throw"), l.K = q(), K(), x(l, "ThrowStatement");
491
+ return v(), lt.test(S.slice(ve, z)) && n(ve, "Illegal newline after throw"), l.K = q(), M(), T(l, "ThrowStatement");
444
492
  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");
493
+ return v(), l.block = _e(), l.Ea = null, A === yn && (o = W(), v(), j(de), o.Ua = ue(), oe && st(o.Ua.name) && n(o.Ua.start, "Binding " + o.Ua.name + " in strict mode"), j(ce), o.body = _e(), l.Ea = T(o, "CatchClause")), l.fb = b(kn) ? _e() : null, l.Ea || l.fb || n(l.start, "Missing catch or finally clause"), T(l, "TryStatement");
446
494
  case Mt:
447
- return v(), pn(l), K(), x(l, "VariableDeclaration");
495
+ return v(), pn(l), M(), T(l, "VariableDeclaration");
448
496
  case Ft:
449
- return v(), l.test = Ue(), G.push(_t), l.body = le(), G.pop(), x(l, "WhileStatement");
497
+ return v(), l.test = Be(), G.push(_t), l.body = ie(), G.pop(), T(l, "WhileStatement");
450
498
  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();
499
+ return oe && n(z, "'with' in strict mode"), v(), l.object = Be(), l.body = ie(), T(l, "WithStatement");
500
+ case We:
501
+ return _e();
454
502
  case he:
455
- return v(), x(l, "EmptyStatement");
503
+ return v(), T(l, "EmptyStatement");
456
504
  default:
457
- if (c = oe, A = q(), o === Ie && A.type === "Identifier" && E(We)) {
505
+ if (c = le, R = q(), o === je && R.type === "Identifier" && b(He)) {
458
506
  for (h = 0; h < G.length; ++h)
459
- G[h].name === c && n(A.start, "Label '" + c + "' is already declared");
507
+ G[h].name === c && n(R.start, "Label '" + c + "' is already declared");
460
508
  return G.push({
461
509
  name: c,
462
- kind: j.W ? "loop" : j === Pt ? "switch" : null
463
- }), l.body = le(), G.pop(), l.label = A, x(l, "LabeledStatement");
510
+ kind: A.W ? "loop" : A === Pt ? "switch" : null
511
+ }), l.body = ie(), G.pop(), l.label = R, T(l, "LabeledStatement");
464
512
  }
465
- return l.la = A, K(), x(l, "ExpressionStatement");
513
+ return l.la = R, M(), T(l, "ExpressionStatement");
466
514
  }
467
515
  }
468
- function Ue() {
469
- V(de);
516
+ function Be() {
517
+ j(de);
470
518
  var o = q();
471
- return V(ce), o;
519
+ return j(ce), o;
472
520
  }
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)) {
521
+ function _e(o) {
522
+ var l = W(), c = !0, h = !1;
523
+ for (l.body = [], j(We); !b(Ae); ) {
524
+ var R = ie();
525
+ if (l.body.push(R), c && o && O(R)) {
478
526
  var X = h;
479
- H(h = !0);
527
+ K(h = !0);
480
528
  }
481
529
  c = !1;
482
530
  }
483
- return h && !X && H(!1), x(l, "BlockStatement");
531
+ return h && !X && K(!1), T(l, "BlockStatement");
484
532
  }
485
533
  function vt(o, l) {
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");
534
+ return o.ua = l, j(he), o.test = A === he ? null : q(), j(he), o.update = A === ce ? null : q(), j(ce), o.body = ie(), G.pop(), T(o, "ForStatement");
487
535
  }
488
536
  function hn(o, l) {
489
- return o.left = l, o.right = q(), V(ce), o.body = le(), G.pop(), x(o, "ForInStatement");
537
+ return o.left = l, o.right = q(), j(ce), o.body = ie(), G.pop(), T(o, "ForInStatement");
490
538
  }
491
539
  function pn(o, l) {
492
540
  for (o.fa = [], o.kind = "var"; ; ) {
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))
541
+ var c = W();
542
+ if (c.id = ue(), oe && st(c.id.name) && n(c.id.start, "Binding " + c.id.name + " in strict mode"), c.ua = b(_n) ? q(!0, l) : null, o.fa.push(T(c, "VariableDeclarator")), !b(xe))
495
543
  break;
496
544
  }
497
545
  }
498
546
  function q(o, l) {
499
547
  var c = xt(l);
500
- if (!o && j === xe) {
501
- for (o = R(c), o.xb = [c]; E(xe); )
548
+ if (!o && A === xe) {
549
+ for (o = ee(c), o.xb = [c]; b(xe); )
502
550
  o.xb.push(xt(l));
503
- return x(o, "SequenceExpression");
551
+ return T(o, "SequenceExpression");
504
552
  }
505
553
  return c;
506
554
  }
507
555
  function xt(o) {
508
556
  var l = bt(St(), -1, o);
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");
557
+ if (b(Un)) {
558
+ var c = ee(l);
559
+ c.test = l, c.da = q(!0), j(He), c.alternate = q(!0, o), l = T(c, "ConditionalExpression");
512
560
  }
513
- return j.Cb ? (c = R(l), c.operator = oe, c.left = l, v(), c.right = xt(o), rt(l), x(c, "AssignmentExpression")) : l;
561
+ return A.Cb ? (c = ee(l), c.operator = le, c.left = l, v(), c.right = xt(o), Se(l), T(c, "AssignmentExpression")) : l;
514
562
  }
515
563
  function bt(o, l, c) {
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);
564
+ var h = A.L;
565
+ if (h !== null && (!c || A !== at) && h > l) {
566
+ var R = ee(o);
567
+ return R.left = o, R.operator = le, o = A, v(), R.right = bt(St(), h, c), h = T(R, o === $n || o === Vn ? "LogicalExpression" : "BinaryExpression"), bt(h, l, c);
520
568
  }
521
569
  return o;
522
570
  }
523
571
  function St() {
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");
572
+ if (A.prefix) {
573
+ var o = W(), l = A.$b;
574
+ return o.operator = le, $e = o.prefix = !0, v(), o.K = St(), l ? Se(o.K) : oe && o.operator === "delete" && o.K.type === "Identifier" && n(o.start, "Deleting local variable in strict mode"), T(o, l ? "UpdateExpression" : "UnaryExpression");
527
575
  }
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");
576
+ for (l = Le(it()); A.cc && !B(); )
577
+ o = ee(l), o.operator = le, o.prefix = !1, o.K = l, Se(l), v(), l = T(o, "UpdateExpression");
530
578
  return l;
531
579
  }
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);
580
+ function Le(o, l) {
581
+ if (b(Fn)) {
582
+ var c = ee(o);
583
+ return c.object = o, c.Wa = ue(!0), c.bb = !1, Le(T(c, "MemberExpression"), l);
536
584
  }
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;
585
+ return b(Ut) ? (c = ee(o), c.object = o, c.Wa = q(), c.bb = !0, j(Bt), Le(T(c, "MemberExpression"), l)) : !l && b(de) ? (c = ee(o), c.callee = o, c.arguments = kt(ce, !1), Le(T(c, "CallExpression"), l)) : o;
538
586
  }
539
587
  function it() {
540
- switch (j) {
588
+ switch (A) {
541
589
  case On:
542
- var o = D();
543
- return v(), x(o, "ThisExpression");
544
- case Ie:
590
+ var o = W();
591
+ return v(), T(o, "ThisExpression");
592
+ case je:
545
593
  return ue();
546
- case Ve:
594
+ case De:
547
595
  case ot:
548
596
  case gn:
549
- return o = D(), o.value = oe, o.raw = S.slice(z, Ee), v(), x(o, "Literal");
597
+ return o = W(), o.value = le, o.raw = S.slice(z, Te), v(), T(o, "Literal");
550
598
  case Nn:
551
599
  case Pn:
552
600
  case Mn:
553
- return o = D(), o.value = j.$a, o.raw = j.l, v(), x(o, "Literal");
601
+ return o = W(), o.value = A.$a, o.raw = A.l, v(), T(o, "Literal");
554
602
  case de:
555
603
  o = Et;
556
604
  var l = z;
557
605
  v();
558
606
  var c = q();
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;
607
+ return c.start = l, c.end = Te, N.C && (c.X.start = o, c.X.end = It), N.Xa && (c.j = [l, Te]), j(ce), c;
560
608
  case Ut:
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); ) {
609
+ return o = W(), v(), o.elements = kt(Bt, !0, !0), T(o, "ArrayExpression");
610
+ case We:
611
+ for (o = W(), l = !0, c = !1, o.h = [], v(); !b(Ae); ) {
564
612
  if (l)
565
613
  l = !1;
566
- else if (V(xe), O.sb && E(Te))
614
+ else if (j(xe), N.sb && b(Ae))
567
615
  break;
568
616
  var h = {
569
- key: j === Ve || j === ot ? it() : ue(!0)
570
- }, A = !1;
571
- if (E(We)) {
617
+ key: A === De || A === ot ? it() : ue(!0)
618
+ }, R = !1;
619
+ if (b(He)) {
572
620
  h.value = q(!0);
573
621
  var X = h.kind = "init";
574
622
  } else
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");
623
+ h.key.type !== "Identifier" || h.key.name !== "get" && h.key.name !== "set" ? D() : (R = c = !0, X = h.kind = h.key.name, h.key = A === De || A === ot ? it() : ue(!0), A !== de && D(), h.value = wt(W(), !1));
624
+ if (h.key.type === "Identifier" && (oe || c))
625
+ for (var te = 0; te < o.h.length; ++te) {
626
+ var Oe = o.h[te];
627
+ if (Oe.key.name === h.key.name) {
628
+ var Lt = X === Oe.kind || R && Oe.kind === "init" || X === "init" && (Oe.kind === "get" || Oe.kind === "set");
629
+ Lt && !oe && X === "init" && Oe.kind === "init" && (Lt = !1), Lt && n(h.key.start, "Redefinition of property");
582
630
  }
583
631
  }
584
632
  o.h.push(h);
585
633
  }
586
- return x(o, "ObjectExpression");
634
+ return T(o, "ObjectExpression");
587
635
  case Nt:
588
- return o = D(), v(), wt(o, !1);
636
+ return o = W(), v(), wt(o, !1);
589
637
  case Rn:
590
- return o = D(), v(), o.callee = _e(it(), !0), o.arguments = E(de) ? kt(ce, !1) : Er, x(o, "NewExpression");
638
+ return o = W(), v(), o.callee = Le(it(), !0), o.arguments = b(de) ? kt(ce, !1) : Tr, T(o, "NewExpression");
591
639
  }
592
- se();
640
+ D();
593
641
  }
594
642
  function wt(o, l) {
595
- j === Ie ? o.id = ue() : l ? se() : o.id = null, o.oa = [];
643
+ A === je ? o.id = ue() : l ? D() : o.id = null, o.oa = [];
596
644
  var c = !0;
597
- for (V(de); !E(ce); )
598
- c ? c = !1 : V(xe), o.oa.push(ue());
599
- c = Le;
645
+ for (j(de); !b(ce); )
646
+ c ? c = !1 : j(xe), o.oa.push(ue());
647
+ c = Ve;
600
648
  var h = G;
601
- if (Le = !0, G = [], o.body = Be(!0), Le = c, G = h, ne || o.body.body.length && N(o.body.body[0])) {
649
+ if (Ve = !0, G = [], o.body = _e(!0), Ve = c, G = h, oe || o.body.body.length && O(o.body.body[0])) {
602
650
  for (c = o.id ? -1 : 0; c < o.oa.length; ++c)
603
651
  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");
652
+ for (var R = 0; R < c; ++R)
653
+ h.name === o.oa[R].name && n(h.start, "Argument name clash in strict mode");
606
654
  }
607
- return x(o, l ? "FunctionDeclaration" : "FunctionExpression");
655
+ return T(o, l ? "FunctionDeclaration" : "FunctionExpression");
608
656
  }
609
657
  function kt(o, l, c) {
610
- for (var h = [], A = !0; !E(o); ) {
611
- if (A)
612
- A = !1;
613
- else if (V(xe), l && O.sb && E(o))
658
+ for (var h = [], R = !0; !b(o); ) {
659
+ if (R)
660
+ R = !1;
661
+ else if (j(xe), l && N.sb && b(o))
614
662
  break;
615
- h.push(c && j === xe ? null : q(!0));
663
+ h.push(c && A === xe ? null : q(!0));
616
664
  }
617
665
  return h;
618
666
  }
619
667
  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");
668
+ var l = W();
669
+ return o && N.yb === "everywhere" && (o = !1), A === je ? (!o && (N.yb && _r(le) || oe && Dn(le)) && S.slice(z, Te).indexOf("\\") === -1 && n(z, "The keyword '" + le + "' is reserved"), l.name = le) : o && A.l ? l.name = A.l : D(), $e = !1, v(), T(l, "Identifier");
622
670
  }
623
671
  e.version = "0.5.0";
624
- var O, S = "", Ce, Ct;
672
+ var N, S = "", Ie, Ct;
625
673
  e.parse = function(o, l) {
626
- S = String(o), Ce = S.length, O = l || {};
674
+ S = String(o), Ie = S.length, N = l || {};
627
675
  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");
676
+ Object.prototype.hasOwnProperty.call(N, c) || (N[c] = mn[c]);
677
+ for (Ct = N.sourceFile, we = 1, f = fe = 0, $e = !0, d(), c = N.dc, Tt = ve = f, N.C && (jt = new a()), Ve = oe = !1, G = [], y(), o = c || W(), l = !0, c || (o.body = []); A !== At; )
678
+ c = ie(), o.body.push(c), l && O(c) && K(!0), l = !1;
679
+ return T(o, "Program");
632
680
  };
633
681
  var mn = {
634
682
  fc: !1,
@@ -641,13 +689,13 @@ var _, Jr = function(e) {
641
689
  dc: null,
642
690
  sourceFile: null,
643
691
  vb: null
644
- }, f = 0, z = 0, Ee = 0, Et, It, j, oe, $e, Se, fe, Tt = 0, ve = 0, jt, Le, G, ne, Er = [], Ve = {
692
+ }, f = 0, z = 0, Te = 0, Et, It, A, le, $e, we, fe, Tt = 0, ve = 0, jt, Ve, G, oe, Tr = [], De = {
645
693
  type: "num"
646
694
  }, gn = {
647
695
  type: "regexp"
648
696
  }, ot = {
649
697
  type: "string"
650
- }, Ie = {
698
+ }, je = {
651
699
  type: "name"
652
700
  }, At = {
653
701
  type: "eof"
@@ -714,7 +762,7 @@ var _, Jr = function(e) {
714
762
  l: "in",
715
763
  L: 7,
716
764
  m: !0
717
- }, Ir = {
765
+ }, jr = {
718
766
  break: Rt,
719
767
  case: Ot,
720
768
  catch: yn,
@@ -765,10 +813,10 @@ var _, Jr = function(e) {
765
813
  m: !0
766
814
  }, Bt = {
767
815
  type: "]"
768
- }, De = {
816
+ }, We = {
769
817
  type: "{",
770
818
  m: !0
771
- }, Te = {
819
+ }, Ae = {
772
820
  type: "}"
773
821
  }, de = {
774
822
  type: "(",
@@ -781,7 +829,7 @@ var _, Jr = function(e) {
781
829
  }, he = {
782
830
  type: ";",
783
831
  m: !0
784
- }, We = {
832
+ }, He = {
785
833
  type: ":",
786
834
  m: !0
787
835
  }, Fn = {
@@ -795,56 +843,56 @@ var _, Jr = function(e) {
795
843
  }, _n = {
796
844
  Cb: !0,
797
845
  m: !0
798
- }, we = {
846
+ }, ke = {
799
847
  Cb: !0,
800
848
  m: !0
801
- }, Tr = {
849
+ }, Ar = {
802
850
  cc: !0,
803
851
  prefix: !0,
804
852
  $b: !0
805
- }, $n = {
853
+ }, Ln = {
806
854
  prefix: !0,
807
855
  m: !0
808
- }, Ln = {
856
+ }, $n = {
809
857
  L: 1,
810
858
  m: !0
811
859
  }, Vn = {
812
860
  L: 2,
813
861
  m: !0
814
- }, jr = {
862
+ }, Rr = {
815
863
  L: 3,
816
864
  m: !0
817
- }, Ar = {
865
+ }, Or = {
818
866
  L: 4,
819
867
  m: !0
820
- }, Rr = {
868
+ }, Nr = {
821
869
  L: 5,
822
870
  m: !0
823
- }, Or = {
871
+ }, Pr = {
824
872
  L: 6,
825
873
  m: !0
826
- }, Nr = {
874
+ }, Mr = {
827
875
  L: 7,
828
876
  m: !0
829
- }, Pr = {
877
+ }, Fr = {
830
878
  L: 8,
831
879
  m: !0
832
- }, Mr = {
880
+ }, Ur = {
833
881
  L: 9,
834
882
  prefix: !0,
835
883
  m: !0
836
- }, Fr = {
884
+ }, Br = {
837
885
  L: 10,
838
886
  m: !0
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 = {
887
+ }, _r = i("class enum extends super const export import"), Dn = i("implements interface let package private protected public static yield"), st = i("eval arguments"), Lr = 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ヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"), Vr = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‌‍‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"), lt = /[\n\r\u2028\u2029]/, ct = /\r\n|[\n\r\u2028\u2029]/g, Re, _t = {
840
888
  kind: "loop"
841
- }, Lr = {
889
+ }, Dr = {
842
890
  kind: "switch"
843
891
  };
844
892
  }, Kt = Kt = typeof globalThis > "u" ? void 0 : globalThis;
845
- Jr(Kt.j || (Kt.j = {}));
846
- function g(e, t) {
847
- typeof e == "string" && (e = Pe(e, "code"));
893
+ ei(Kt.j || (Kt.j = {}));
894
+ function m(e, t) {
895
+ typeof e == "string" && (e = Me(e, "code"));
848
896
  var r = e.constructor;
849
897
  this.ya = function() {
850
898
  return new r({
@@ -858,7 +906,7 @@ function g(e, t) {
858
906
  var a, s;
859
907
  for (s in this)
860
908
  typeof this[s] == "function" && (a = s.match(e)) && (this.rb[a[1]] = this[s].bind(this));
861
- this.N = zt(this, this.ra, null), this.Na = this.N.object, this.ra = Pe(this.ba.join(`
909
+ this.N = zt(this, this.ra, null), this.Na = this.N.object, this.ra = Me(this.ba.join(`
862
910
  `), "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
911
  }
864
912
  var Jn = {
@@ -872,11 +920,11 @@ var Jn = {
872
920
  configurable: !0,
873
921
  enumerable: !1,
874
922
  writable: !0
875
- }, te = {
923
+ }, re = {
876
924
  configurable: !0,
877
925
  enumerable: !1,
878
926
  writable: !1
879
- }, He = {
927
+ }, Ke = {
880
928
  configurable: !1,
881
929
  enumerable: !1,
882
930
  writable: !1
@@ -884,20 +932,20 @@ var Jn = {
884
932
  configurable: !1,
885
933
  enumerable: !0,
886
934
  writable: !0
887
- }, pr = {
935
+ }, gr = {
888
936
  STEP_ERROR: !0
889
- }, Fe = {
937
+ }, Ue = {
890
938
  SCOPE_REFERENCE: !0
891
- }, qe = {
939
+ }, Ze = {
892
940
  VALUE_IN_DESCRIPTOR: !0
893
- }, Re = {
941
+ }, Ne = {
894
942
  REGEXP_TIMEOUT: !0
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();", "};"];
943
+ }, qn = [], me = null, Ye = null, be = typeof globalThis > "u" ? void 0 : globalThis, ti = ["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
944
  function Qt(e) {
897
945
  var t = e >>> 0;
898
946
  return t === Number(e) ? t : NaN;
899
947
  }
900
- function Ye(e) {
948
+ function qe(e) {
901
949
  var t = e >>> 0;
902
950
  return String(t) === String(e) && t !== 4294967295 ? t : NaN;
903
951
  }
@@ -909,29 +957,29 @@ function pt(e, t, r) {
909
957
  i && typeof i == "object" && pt(i, t, r);
910
958
  }
911
959
  }
912
- g.prototype.REGEXP_MODE = 2;
913
- g.prototype.REGEXP_THREAD_TIMEOUT = 1e3;
914
- g.prototype.POLYFILL_TIMEOUT = 1e3;
915
- _ = g.prototype;
916
- _.P = !1;
917
- _.Ka = !1;
918
- _.Kb = 0;
919
- _.ic = 0;
920
- function Pe(e, t) {
960
+ m.prototype.REGEXP_MODE = 2;
961
+ m.prototype.REGEXP_THREAD_TIMEOUT = 1e3;
962
+ m.prototype.POLYFILL_TIMEOUT = 1e3;
963
+ $ = m.prototype;
964
+ $.P = !1;
965
+ $.Ka = !1;
966
+ $.Kb = 0;
967
+ $.ic = 0;
968
+ function Me(e, t) {
921
969
  var r = {}, n;
922
970
  for (n in Jn)
923
971
  r[n] = Jn[n];
924
972
  return r.sourceFile = t, be.j.parse(e, r);
925
973
  }
926
- _.Jb = function(e) {
974
+ $.Jb = function(e) {
927
975
  var t = this.o[0];
928
976
  if (!t || t.node.type !== "Program")
929
977
  throw Error("Expecting original AST to start with a Program node");
930
- if (typeof e == "string" && (e = Pe(e, "appendCode" + this.Kb++)), !e || e.type !== "Program")
978
+ if (typeof e == "string" && (e = Me(e, "appendCode" + this.Kb++)), !e || e.type !== "Program")
931
979
  throw Error("Expecting new AST to start with a Program node");
932
- Ze(this, e, t.scope), Array.prototype.push.apply(t.node.body, e.body), t.node.body.jb = null, t.done = !1;
980
+ Qe(this, e, t.scope), Array.prototype.push.apply(t.node.body, e.body), t.node.body.jb = null, t.done = !1;
933
981
  };
934
- _.lb = function() {
982
+ $.lb = function() {
935
983
  var e = this.o, t;
936
984
  do {
937
985
  var r = e[e.length - 1];
@@ -943,7 +991,7 @@ _.lb = function() {
943
991
  if (r = this.ca[0], !r || r.time > Date.now())
944
992
  r = null;
945
993
  else {
946
- this.ca.shift(), 0 <= r.interval && yr(this, r, r.interval);
994
+ this.ca.shift(), 0 <= r.interval && xr(this, r, r.interval);
947
995
  var n = new k(r.node, r.scope);
948
996
  r.zb && (n.ia = 2, n.B = this.Na, n.U = r.zb, n.Qa = !0, n.F = r.Lb), r = n;
949
997
  }
@@ -951,15 +999,15 @@ _.lb = function() {
951
999
  break;
952
1000
  }
953
1001
  n = r.node;
954
- var i = Je;
955
- Je = this;
1002
+ var i = Ye;
1003
+ Ye = this;
956
1004
  try {
957
1005
  var a = this.rb[n.type](e, r, n);
958
1006
  } catch (s) {
959
- if (s !== pr)
1007
+ if (s !== gr)
960
1008
  throw this.value !== s && (this.value = void 0), s;
961
1009
  } finally {
962
- Je = i;
1010
+ Ye = i;
963
1011
  }
964
1012
  if (a && e.push(a), this.P)
965
1013
  throw this.value = void 0, Error("Getter not supported in this context");
@@ -969,13 +1017,13 @@ _.lb = function() {
969
1017
  } while (!n.end && t > Date.now());
970
1018
  return !0;
971
1019
  };
972
- _.Eb = function() {
1020
+ $.Eb = function() {
973
1021
  for (; !this.za && this.lb(); )
974
1022
  ;
975
1023
  return this.za;
976
1024
  };
977
- function qr(e, t) {
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);
1025
+ function ni(e, t) {
1026
+ e.g(t, "NaN", NaN, Ke), e.g(t, "Infinity", 1 / 0, Ke), e.g(t, "undefined", void 0, Ke), e.g(t, "window", t, Zt), e.g(t, "this", t, Ke), e.g(t, "self", t), e.M = new F(null), e.Z = new F(e.M), ri(e, t), ii(e, t), t.xa = e.M, e.g(t, "constructor", e.v, w), oi(e, t), ai(e, t), si(e, t), li(e, t), ci(e, t), ui(e, t), fi(e, t), di(e, t), hi(e, t);
979
1027
  var r = e.i(function() {
980
1028
  throw EvalError("Can't happen");
981
1029
  }, !1);
@@ -986,7 +1034,7 @@ function qr(e, t) {
986
1034
  try {
987
1035
  return a(s);
988
1036
  } catch (u) {
989
- I(e, e.Gb, u.message);
1037
+ E(e, e.Gb, u.message);
990
1038
  }
991
1039
  };
992
1040
  }(n[i][0]), e.g(t, n[i][1], e.i(r, !1), w);
@@ -1000,29 +1048,29 @@ function qr(e, t) {
1000
1048
  Qn(e, a);
1001
1049
  }, 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
1050
  }
1003
- _.Wb = 0;
1004
- function Zr(e, t) {
1051
+ $.Wb = 0;
1052
+ function ri(e, t) {
1005
1053
  var r = /^[A-Za-z_$][\w$]*$/, n = function(i) {
1006
1054
  var a = arguments.length ? String(arguments[arguments.length - 1]) : "", s = Array.prototype.slice.call(arguments, 0, -1).join(",").trim();
1007
1055
  if (s) {
1008
1056
  s = s.split(/\s*,\s*/);
1009
1057
  for (var u = 0; u < s.length; u++) {
1010
1058
  var d = s[u];
1011
- r.test(d) || I(e, e.T, "Invalid function argument: " + d);
1059
+ r.test(d) || E(e, e.T, "Invalid function argument: " + d);
1012
1060
  }
1013
1061
  s = s.join(", ");
1014
1062
  }
1015
1063
  try {
1016
- var p = Pe("(function(" + s + ") {" + a + "})", "function" + e.Wb++);
1064
+ var p = Me("(function(" + s + ") {" + a + "})", "function" + e.Wb++);
1017
1065
  } catch (y) {
1018
- I(e, e.T, "Invalid code: " + y.message);
1066
+ E(e, e.T, "Invalid code: " + y.message);
1019
1067
  }
1020
- return p.body.length !== 1 && I(e, e.T, "Invalid code in function body"), nn(e, p.body[0].la, e.N, "anonymous");
1068
+ return p.body.length !== 1 && E(e, e.T, "Invalid code in function body"), nn(e, p.body[0].la, e.N, "anonymous");
1021
1069
  };
1022
1070
  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) {
1071
+ }, e.Z.Ta.id = e.Ya++, e.Z.Ab = !0, e.g(e.Z, "length", 0, re), e.Z.H = "Function", n = function(i, a) {
1024
1072
  var s = e.o[e.o.length - 1];
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;
1073
+ s.U = this, s.B = i, s.F = [], a != null && (a instanceof F ? s.F = yr(e, a) : E(e, e.j, "CreateListFromArrayLike called on non-object")), s.eb = !1;
1026
1074
  }, J(e, e.O, "apply", n), n = function(i) {
1027
1075
  var a = e.o[e.o.length - 1];
1028
1076
  a.U = this, a.B = i, a.F = [];
@@ -1035,29 +1083,29 @@ function Zr(e, t) {
1035
1083
  return this.valueOf();
1036
1084
  }, J(e, e.O, "valueOf", n), e.g(e.O, "valueOf", e.i(n, !1), w);
1037
1085
  }
1038
- function Qr(e, t) {
1086
+ function ii(e, t) {
1039
1087
  function r(i) {
1040
- i != null || I(e, e.j, "Cannot convert '" + i + "' to object");
1088
+ i != null || E(e, e.j, "Cannot convert '" + i + "' to object");
1041
1089
  }
1042
1090
  var n = function(i) {
1043
1091
  if (i == null)
1044
1092
  return ye(e) ? this : e.s(e.M);
1045
- if (!(i instanceof M)) {
1093
+ if (!(i instanceof F)) {
1046
1094
  var a = e.s(ge(e, i));
1047
1095
  return a.data = i, a;
1048
1096
  }
1049
1097
  return i;
1050
1098
  };
1051
1099
  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));
1100
+ return r(i), pe(e, Object.getOwnPropertyNames(i instanceof F ? i.h : i));
1053
1101
  }, 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));
1102
+ return r(i), i instanceof F && (i = i.h), pe(e, Object.keys(i));
1055
1103
  }, 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));
1104
+ return i === null ? e.s(null) : (i instanceof F || E(e, e.j, "Object prototype may only be an Object or null, not " + i), e.s(i));
1057
1105
  }, 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;
1106
+ return a = String(a), i instanceof F || E(e, e.j, "Object.defineProperty called on non-object: " + i), s instanceof F || E(e, e.j, "Property description must be an object"), !i.preventExtensions || a in i.h || E(e, e.j, "Can't define property '" + a + "', object is not extensible"), e.g(i, a, Ze, s.h), i;
1059
1107
  }, 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) {
1108
+ if (i instanceof F || E(e, e.j, "Object.getOwnPropertyDescriptor called on non-object: " + i), a = String(a), a in i.h) {
1061
1109
  var s = Object.getOwnPropertyDescriptor(i.h, a), u = i.V[a];
1062
1110
  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
1111
  }
@@ -1066,11 +1114,11 @@ function Qr(e, t) {
1066
1114
  }, e.g(e.v, "getPrototypeOf", e.i(n, !1), w), n = function(i) {
1067
1115
  return !!i && !i.preventExtensions;
1068
1116
  }, 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);
1117
+ return i instanceof F && (i.preventExtensions = !0), i;
1118
+ }, e.g(e.v, "preventExtensions", e.i(n, !1), w), J(e, e.v, "toString", F.prototype.toString), J(e, e.v, "toLocaleString", F.prototype.toString), J(e, e.v, "valueOf", F.prototype.valueOf), n = function(i) {
1119
+ return r(this), this instanceof F ? String(i) in this.h : this.hasOwnProperty(i);
1072
1120
  }, J(e, e.v, "hasOwnProperty", n), n = function(i) {
1073
- return r(this), this instanceof M ? Object.prototype.propertyIsEnumerable.call(this.h, i) : this.propertyIsEnumerable(i);
1121
+ return r(this), this instanceof F ? Object.prototype.propertyIsEnumerable.call(this.h, i) : this.propertyIsEnumerable(i);
1074
1122
  }, J(e, e.v, "propertyIsEnumerable", n), n = function(i) {
1075
1123
  for (; ; ) {
1076
1124
  if (i = ge(e, i), !i)
@@ -1080,11 +1128,11 @@ function Qr(e, t) {
1080
1128
  }
1081
1129
  }, J(e, e.v, "isPrototypeOf", n);
1082
1130
  }
1083
- function ei(e, t) {
1131
+ function oi(e, t) {
1084
1132
  var r = function(n) {
1085
- var i = ye(e) ? this : Me(e), a = arguments[0];
1133
+ var i = ye(e) ? this : Fe(e), a = arguments[0];
1086
1134
  if (arguments.length === 1 && typeof a == "number")
1087
- isNaN(Qt(a)) && I(e, e.ob, "Invalid array length: " + a), i.h.length = a;
1135
+ isNaN(Qt(a)) && E(e, e.ob, "Invalid array length: " + a), i.h.length = a;
1088
1136
  else {
1089
1137
  for (a = 0; a < arguments.length; a++)
1090
1138
  i.h[a] = arguments[a];
@@ -1100,7 +1148,7 @@ function ei(e, t) {
1100
1148
  writable: !0
1101
1149
  }), e.La.H = "Array", e.ba.push("(function() {", "function createArrayMethod_(f) {", "Object.defineProperty(Array.prototype, f.name,", "{configurable: true, writable: true, value: f});", "}", "createArrayMethod_(", "function pop() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 0) {", "o.length = 0;", "return undefined;", "}", "len--;", "var x = o[len];", "delete o[len];", "o.length = len;", "return x;", "}", ");", "createArrayMethod_(", "function push(var_args) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "for (var i = 0; i < arguments.length; i++) {", "o[len] = arguments[i];", "len++;", "}", "o.length = len;", "return len;", "}", ");", "createArrayMethod_(", "function shift() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 0) {", "o.length = 0;", "return undefined;", "}", "var value = o[0];", "for (var i = 0; i < len - 1; i++) {", "if ((i + 1) in o) {", "o[i] = o[i + 1];", "} else {", "delete o[i];", "}", "}", "delete o[i];", "o.length = len - 1;", "return value;", "}", ");", "createArrayMethod_(", "function unshift(var_args) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 0) {", "len = 0;", "}", "for (var i = len - 1; i >= 0; i--) {", "if (i in o) {", "o[i + arguments.length] = o[i];", "} else {", "delete o[i + arguments.length];", "}", "}", "for (var i = 0; i < arguments.length; i++) {", "o[i] = arguments[i];", "}", "return (o.length = len + arguments.length);", "}", ");", "createArrayMethod_(", "function reverse() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 2) {", "return o;", "}", "for (var i = 0; i < len / 2 - 0.5; i++) {", "var x = o[i];", "var hasX = i in o;", "if ((len - i - 1) in o) {", "o[i] = o[len - i - 1];", "} else {", "delete o[i];", "}", "if (hasX) {", "o[len - i - 1] = x;", "} else {", "delete o[len - i - 1];", "}", "}", "return o;", "}", ");", "createArrayMethod_(", "function indexOf(searchElement, fromIndex) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var n = fromIndex | 0;", "if (!len || n >= len) {", "return -1;", "}", "var i = Math.max(n >= 0 ? n : len - Math.abs(n), 0);", "while (i < len) {", "if (i in o && o[i] === searchElement) {", "return i;", "}", "i++;", "}", "return -1;", "}", ");", "createArrayMethod_(", "function lastIndexOf(searchElement, fromIndex) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len) {", "return -1;", "}", "var n = len - 1;", "if (arguments.length > 1) {", "n = fromIndex | 0;", "if (n) {", "n = (n > 0 || -1) * Math.floor(Math.abs(n));", "}", "}", "var i = n >= 0 ? Math.min(n, len - 1) : len - Math.abs(n);", "while (i >= 0) {", "if (i in o && o[i] === searchElement) {", "return i;", "}", "i--;", "}", "return -1;", "}", ");", "createArrayMethod_(", "function slice(start, end) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "start |= 0;", "start = (start >= 0) ? start : Math.max(0, len + start);", "if (typeof end !== 'undefined') {", "if (end !== Infinity) {", "end |= 0;", "}", "if (end < 0) {", "end = len + end;", "} else {", "end = Math.min(end, len);", "}", "} else {", "end = len;", "}", "var size = end - start;", "var cloned = new Array(size);", "for (var i = 0; i < size; i++) {", "if ((start + i) in o) {", "cloned[i] = o[start + i];", "}", "}", "return cloned;", "}", ");", "createArrayMethod_(", "function splice(start, deleteCount, var_args) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "start |= 0;", "if (start < 0) {", "start = Math.max(len + start, 0);", "} else {", "start = Math.min(start, len);", "}", "if (arguments.length < 1) {", "deleteCount = len - start;", "} else {", "deleteCount |= 0;", "deleteCount = Math.max(0, Math.min(deleteCount, len - start));", "}", "var removed = [];", "for (var i = start; i < start + deleteCount; i++) {", "if (i in o) {", "removed.push(o[i]);", "} else {", "removed.length++;", "}", "if ((i + deleteCount) in o) {", "o[i] = o[i + deleteCount];", "} else {", "delete o[i];", "}", "}", "for (var i = start + deleteCount; i < len - deleteCount; i++) {", "if ((i + deleteCount) in o) {", "o[i] = o[i + deleteCount];", "} else {", "delete o[i];", "}", "}", "for (var i = len - deleteCount; i < len; i++) {", "delete o[i];", "}", "len -= deleteCount;", "var arl = arguments.length - 2;", "for (var i = len - 1; i >= start; i--) {", "if (i in o) {", "o[i + arl] = o[i];", "} else {", "delete o[i + arl];", "}", "}", "len += arl;", "for (var i = 2; i < arguments.length; i++) {", "o[start + i - 2] = arguments[i];", "}", "o.length = len;", "return removed;", "}", ");", "createArrayMethod_(", "function concat(var_args) {", "if (!this) throw TypeError();", "var o = Object(this);", "var cloned = [];", "for (var i = -1; i < arguments.length; i++) {", "var value = (i === -1) ? o : arguments[i];", "if (Array.isArray(value)) {", "for (var j = 0, l = value.length; j < l; j++) {", "if (j in value) {", "cloned.push(value[j]);", "} else {", "cloned.length++;", "}", "}", "} else {", "cloned.push(value);", "}", "}", "return cloned;", "}", ");", "createArrayMethod_(", "function join(opt_separator) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var sep = typeof opt_separator === 'undefined' ?", "',' : ('' + opt_separator);", "var str = '';", "for (var i = 0; i < len; i++) {", "if (i && sep) str += sep;", "str += (o[i] === null || o[i] === undefined) ? '' : o[i];", "}", "return str;", "}", ");", "createArrayMethod_(", "function every(callbackfn, thisArg) {", "if (!this || typeof callbackfn !== 'function') throw TypeError();", "var t, k = 0;", "var o = Object(this), len = o.length >>> 0;", "if (arguments.length > 1) t = thisArg;", "while (k < len) {", "if (k in o && !callbackfn.call(t, o[k], k, o)) return false;", "k++;", "}", "return true;", "}", ");", "createArrayMethod_(", "function filter(fun, var_args) {", "if (this === void 0 || this === null || typeof fun !== 'function') throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var res = [];", "var thisArg = arguments.length >= 2 ? arguments[1] : void 0;", "for (var i = 0; i < len; i++) {", "if (i in o) {", "var val = o[i];", "if (fun.call(thisArg, val, i, o)) res.push(val);", "}", "}", "return res;", "}", ");", "createArrayMethod_(", "function forEach(callback, thisArg) {", "if (!this || typeof callback !== 'function') throw TypeError();", "var t, k = 0;", "var o = Object(this), len = o.length >>> 0;", "if (arguments.length > 1) t = thisArg;", "while (k < len) {", "if (k in o) callback.call(t, o[k], k, o);", "k++;", "}", "}", ");", "createArrayMethod_(", "function map(callback, thisArg) {", "if (!this || typeof callback !== 'function') throw TypeError();", "var t, k = 0;", "var o = Object(this), len = o.length >>> 0;", "if (arguments.length > 1) t = thisArg;", "var a = new Array(len);", "while (k < len) {", "if (k in o) a[k] = callback.call(t, o[k], k, o);", "k++;", "}", "return a;", "}", ");", "createArrayMethod_(", "function reduce(callback /*, initialValue*/) {", "if (!this || typeof callback !== 'function') throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var k = 0, value;", "if (arguments.length === 2) {", "value = arguments[1];", "} else {", "while (k < len && !(k in o)) k++;", "if (k >= len) {", "throw TypeError('Reduce of empty array with no initial value');", "}", "value = o[k++];", "}", "for (; k < len; k++) {", "if (k in o) value = callback(value, o[k], k, o);", "}", "return value;", "}", ");", "createArrayMethod_(", "function reduceRight(callback /*, initialValue*/) {", "if (null === this || 'undefined' === typeof this || 'function' !== typeof callback) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var k = len - 1, value;", "if (arguments.length >= 2) {", "value = arguments[1];", "} else {", "while (k >= 0 && !(k in o)) k--;", "if (k < 0) {", "throw TypeError('Reduce of empty array with no initial value');", "}", "value = o[k--];", "}", "for (; k >= 0; k--) {", "if (k in o) value = callback(value, o[k], k, o);", "}", "return value;", "}", ");", "createArrayMethod_(", "function some(fun/*, thisArg*/) {", "if (!this || typeof fun !== 'function') throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var thisArg = arguments.length >= 2 ? arguments[1] : void 0;", "for (var i = 0; i < len; i++) {", "if (i in o && fun.call(thisArg, o[i], i, o)) return true;", "}", "return false;", "}", ");", "createArrayMethod_(", "function sort(opt_comp) {", "if (!this) throw TypeError();", "if (typeof opt_comp !== 'function') {", "opt_comp = undefined;", "}", "for (var i = 0; i < this.length; i++) {", "var changes = 0;", "for (var j = 0; j < this.length - i - 1; j++) {", "if (opt_comp ? (opt_comp(this[j], this[j + 1]) > 0) :", "(String(this[j]) > String(this[j + 1]))) {", "var swap = this[j];", "var hasSwap = j in this;", "if ((j + 1) in this) {", "this[j] = this[j + 1];", "} else {", "delete this[j];", "}", "if (hasSwap) {", "this[j + 1] = swap;", "} else {", "delete this[j + 1];", "}", "changes++;", "}", "}", "if (!changes) break;", "}", "return this;", "}", ");", "createArrayMethod_(", "function toLocaleString() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var out = [];", "for (var i = 0; i < len; i++) {", "out[i] = (o[i] === null || o[i] === undefined) ? '' : o[i].toLocaleString();", "}", "return out.join(',');", "}", ");", "})();", "");
1102
1150
  }
1103
- function ti(e, t) {
1151
+ function ai(e, t) {
1104
1152
  var r = function(n) {
1105
1153
  return n = arguments.length ? be.String(n) : "", ye(e) ? (this.data = n, this) : n;
1106
1154
  };
@@ -1111,19 +1159,19 @@ function ti(e, t) {
1111
1159
  try {
1112
1160
  return String(this).localeCompare(n, i, a);
1113
1161
  } catch (s) {
1114
- I(e, e.D, "localeCompare: " + s.message);
1162
+ E(e, e.D, "localeCompare: " + s.message);
1115
1163
  }
1116
1164
  }, J(e, e.J, "localeCompare", r), r = function(n, i, a) {
1117
1165
  var s = String(this);
1118
- if (i = i ? Number(i) : void 0, Y(e, n, e.I) && (n = n.data, Ge(e, n, a), e.REGEXP_MODE === 2)) {
1166
+ if (i = i ? Number(i) : void 0, Y(e, n, e.I) && (n = n.data, ze(e, n, a), e.REGEXP_MODE === 2)) {
1119
1167
  if (me)
1120
- n = Ke(e, "string.split(separator, limit)", {
1168
+ n = Ge(e, "string.split(separator, limit)", {
1121
1169
  string: s,
1122
1170
  separator: n,
1123
1171
  limit: i
1124
- }, n, a), n !== Re && a(pe(e, n));
1172
+ }, n, a), n !== Ne && a(pe(e, n));
1125
1173
  else {
1126
- var u = e.ha(), d = ze(e, n, u, a);
1174
+ var u = e.ha(), d = Xe(e, n, u, a);
1127
1175
  u.onmessage = function(p) {
1128
1176
  clearTimeout(d), a(pe(e, p.data));
1129
1177
  }, u.postMessage(["split", s, n, i]);
@@ -1131,49 +1179,49 @@ function ti(e, t) {
1131
1179
  return;
1132
1180
  }
1133
1181
  n = s.split(n, i), a(pe(e, n));
1134
- }, Xe(e, e.J, "split", r), r = function(n, i) {
1182
+ }, Je(e, e.J, "split", r), r = function(n, i) {
1135
1183
  var a = String(this);
1136
- if (n = Y(e, n, e.I) ? n.data : new RegExp(n), Ge(e, n, i), e.REGEXP_MODE === 2)
1184
+ if (n = Y(e, n, e.I) ? n.data : new RegExp(n), ze(e, n, i), e.REGEXP_MODE === 2)
1137
1185
  if (me)
1138
- n = Ke(e, "string.match(regexp)", {
1186
+ n = Ge(e, "string.match(regexp)", {
1139
1187
  string: a,
1140
1188
  regexp: n
1141
- }, n, i), n !== Re && i(n && pe(e, n));
1189
+ }, n, i), n !== Ne && i(n && pe(e, n));
1142
1190
  else {
1143
- var s = e.ha(), u = ze(e, n, s, i);
1191
+ var s = e.ha(), u = Xe(e, n, s, i);
1144
1192
  s.onmessage = function(d) {
1145
1193
  clearTimeout(u), i(d.data && pe(e, d.data));
1146
1194
  }, s.postMessage(["match", a, n]);
1147
1195
  }
1148
1196
  else
1149
1197
  n = a.match(n), i(n && pe(e, n));
1150
- }, Xe(e, e.J, "match", r), r = function(n, i) {
1198
+ }, Je(e, e.J, "match", r), r = function(n, i) {
1151
1199
  var a = String(this);
1152
- if (Y(e, n, e.I) ? n = n.data : n = new RegExp(n), Ge(e, n, i), e.REGEXP_MODE === 2)
1200
+ if (Y(e, n, e.I) ? n = n.data : n = new RegExp(n), ze(e, n, i), e.REGEXP_MODE === 2)
1153
1201
  if (me)
1154
- n = Ke(e, "string.search(regexp)", {
1202
+ n = Ge(e, "string.search(regexp)", {
1155
1203
  string: a,
1156
1204
  regexp: n
1157
- }, n, i), n !== Re && i(n);
1205
+ }, n, i), n !== Ne && i(n);
1158
1206
  else {
1159
- var s = e.ha(), u = ze(e, n, s, i);
1207
+ var s = e.ha(), u = Xe(e, n, s, i);
1160
1208
  s.onmessage = function(d) {
1161
1209
  clearTimeout(u), i(d.data);
1162
1210
  }, s.postMessage(["search", a, n]);
1163
1211
  }
1164
1212
  else
1165
1213
  i(a.search(n));
1166
- }, Xe(e, e.J, "search", r), r = function(n, i, a) {
1214
+ }, Je(e, e.J, "search", r), r = function(n, i, a) {
1167
1215
  var s = String(this);
1168
- if (i = String(i), Y(e, n, e.I) && (n = n.data, Ge(e, n, a), e.REGEXP_MODE === 2)) {
1216
+ if (i = String(i), Y(e, n, e.I) && (n = n.data, ze(e, n, a), e.REGEXP_MODE === 2)) {
1169
1217
  if (me)
1170
- n = Ke(e, "string.replace(substr, newSubstr)", {
1218
+ n = Ge(e, "string.replace(substr, newSubstr)", {
1171
1219
  string: s,
1172
1220
  substr: n,
1173
1221
  newSubstr: i
1174
- }, n, a), n !== Re && a(n);
1222
+ }, n, a), n !== Ne && a(n);
1175
1223
  else {
1176
- var u = e.ha(), d = ze(e, n, u, a);
1224
+ var u = e.ha(), d = Xe(e, n, u, a);
1177
1225
  u.onmessage = function(p) {
1178
1226
  clearTimeout(d), a(p.data);
1179
1227
  }, u.postMessage(["replace", s, n, i]);
@@ -1181,53 +1229,53 @@ function ti(e, t) {
1181
1229
  return;
1182
1230
  }
1183
1231
  a(s.replace(n, i));
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;", "};", "})();", "");
1232
+ }, Je(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
1233
  }
1186
- function ni(e, t) {
1234
+ function si(e, t) {
1187
1235
  e.mb = e.i(function(r) {
1188
1236
  return r = be.Boolean(r), ye(e) ? (this.data = r, this) : r;
1189
1237
  }, !0), e.g(t, "Boolean", e.mb, w);
1190
1238
  }
1191
- function ri(e, t) {
1239
+ function li(e, t) {
1192
1240
  var r = function(n) {
1193
1241
  return n = arguments.length ? be.Number(n) : 0, ye(e) ? (this.data = n, this) : n;
1194
1242
  };
1195
1243
  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);
1244
+ e.g(e.aa, t[r], Number[t[r]], Ke);
1197
1245
  r = function(n) {
1198
1246
  try {
1199
1247
  return Number(this).toExponential(n);
1200
1248
  } catch (i) {
1201
- I(e, e.D, i.message);
1249
+ E(e, e.D, i.message);
1202
1250
  }
1203
1251
  }, J(e, e.aa, "toExponential", r), r = function(n) {
1204
1252
  try {
1205
1253
  return Number(this).toFixed(n);
1206
1254
  } catch (i) {
1207
- I(e, e.D, i.message);
1255
+ E(e, e.D, i.message);
1208
1256
  }
1209
1257
  }, J(e, e.aa, "toFixed", r), r = function(n) {
1210
1258
  try {
1211
1259
  return Number(this).toPrecision(n);
1212
1260
  } catch (i) {
1213
- I(e, e.D, i.message);
1261
+ E(e, e.D, i.message);
1214
1262
  }
1215
1263
  }, J(e, e.aa, "toPrecision", r), r = function(n) {
1216
1264
  try {
1217
1265
  return Number(this).toString(n);
1218
1266
  } catch (i) {
1219
- I(e, e.D, i.message);
1267
+ E(e, e.D, i.message);
1220
1268
  }
1221
1269
  }, J(e, e.aa, "toString", r), r = function(n, i) {
1222
1270
  n = n ? e.R(n) : void 0, i = i ? e.R(i) : void 0;
1223
1271
  try {
1224
1272
  return Number(this).toLocaleString(n, i);
1225
1273
  } catch (a) {
1226
- I(e, e.D, "toLocaleString: " + a.message);
1274
+ E(e, e.D, "toLocaleString: " + a.message);
1227
1275
  }
1228
1276
  }, J(e, e.aa, "toLocaleString", r);
1229
1277
  }
1230
- function ii(e, t) {
1278
+ function ci(e, t) {
1231
1279
  var r = function(i, a) {
1232
1280
  if (!ye(e))
1233
1281
  return be.Date();
@@ -1239,14 +1287,14 @@ function ii(e, t) {
1239
1287
  r = function(i) {
1240
1288
  return function(a) {
1241
1289
  var s = this.data;
1242
- s instanceof Date || I(e, e.j, i + " not called on a Date");
1290
+ s instanceof Date || E(e, e.j, i + " not called on a Date");
1243
1291
  for (var u = [], d = 0; d < arguments.length; d++)
1244
1292
  u[d] = e.R(arguments[d]);
1245
1293
  return s[i].apply(s, u);
1246
1294
  };
1247
1295
  }(t[n]), J(e, e.$, t[n], r);
1248
1296
  }
1249
- function oi(e, t) {
1297
+ function ui(e, t) {
1250
1298
  var r = function(n, i) {
1251
1299
  if (ye(e))
1252
1300
  var a = this;
@@ -1255,40 +1303,40 @@ function oi(e, t) {
1255
1303
  return n;
1256
1304
  a = e.s(e.Ma);
1257
1305
  }
1258
- n = n === void 0 ? "" : String(n), i = i ? String(i) : "", /^[gmi]*$/.test(i) || I(e, e.T, "Invalid regexp flag: " + i);
1306
+ n = n === void 0 ? "" : String(n), i = i ? String(i) : "", /^[gmi]*$/.test(i) || E(e, e.T, "Invalid regexp flag: " + i);
1259
1307
  try {
1260
1308
  var s = new be.RegExp(n, i);
1261
1309
  } catch (u) {
1262
- I(e, e.T, u.message);
1310
+ E(e, e.T, u.message);
1263
1311
  }
1264
1312
  return en(e, a, s), a;
1265
1313
  };
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) {
1314
+ 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, re), e.g(e.I.h.prototype, "ignoreCase", void 0, re), e.g(e.I.h.prototype, "multiline", void 0, re), e.g(e.I.h.prototype, "source", "(?:)", re), 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
1315
  function a(y) {
1268
1316
  if (y) {
1269
- var b = pe(e, y);
1270
- return e.g(b, "index", y.index), e.g(b, "input", y.input), b;
1317
+ var x = pe(e, y);
1318
+ return e.g(x, "index", y.index), e.g(x, "input", y.input), x;
1271
1319
  }
1272
1320
  return null;
1273
1321
  }
1274
1322
  var s = this.data;
1275
- if (n = String(n), s.lastIndex = Number(e.G(this, "lastIndex")), Ge(e, s, i), e.REGEXP_MODE === 2)
1323
+ if (n = String(n), s.lastIndex = Number(e.G(this, "lastIndex")), ze(e, s, i), e.REGEXP_MODE === 2)
1276
1324
  if (me)
1277
- n = Ke(e, "regexp.exec(string)", {
1325
+ n = Ge(e, "regexp.exec(string)", {
1278
1326
  string: n,
1279
1327
  regexp: s
1280
- }, s, i), n !== Re && (e.g(this, "lastIndex", s.lastIndex), i(a(n)));
1328
+ }, s, i), n !== Ne && (e.g(this, "lastIndex", s.lastIndex), i(a(n)));
1281
1329
  else {
1282
- var u = e.ha(), d = ze(e, s, u, i), p = this;
1330
+ var u = e.ha(), d = Xe(e, s, u, i), p = this;
1283
1331
  u.onmessage = function(y) {
1284
1332
  clearTimeout(d), e.g(p, "lastIndex", y.data[1]), i(a(y.data[0]));
1285
1333
  }, u.postMessage(["exec", s, s.lastIndex, n]);
1286
1334
  }
1287
1335
  else
1288
1336
  n = s.exec(n), e.g(this, "lastIndex", s.lastIndex), i(a(n));
1289
- }, Xe(e, e.I, "exec", r);
1337
+ }, Je(e, e.I, "exec", r);
1290
1338
  }
1291
- function ai(e, t) {
1339
+ function fi(e, t) {
1292
1340
  function r(n) {
1293
1341
  var i = e.i(function(a) {
1294
1342
  var s = ye(e) ? this : e.Aa(i);
@@ -1301,32 +1349,32 @@ function ai(e, t) {
1301
1349
  return Gt(e, i, n), i;
1302
1350
  }, !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
1351
  }
1304
- function si(e, t) {
1352
+ function di(e, t) {
1305
1353
  var r = e.s(e.M);
1306
1354
  e.g(t, "Math", r, w);
1307
1355
  var n = "E LN2 LN10 LOG2E LOG10E PI SQRT1_2 SQRT2".split(" ");
1308
1356
  for (t = 0; t < n.length; t++)
1309
- e.g(r, n[t], Math[n[t]], te);
1357
+ e.g(r, n[t], Math[n[t]], re);
1310
1358
  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
1359
  e.g(r, n[t], e.i(Math[n[t]], !1), w);
1312
1360
  }
1313
- function li(e, t) {
1361
+ function hi(e, t) {
1314
1362
  var r = e.s(e.M);
1315
1363
  e.g(t, "JSON", r, w), t = function(n) {
1316
1364
  try {
1317
1365
  var i = JSON.parse(String(n));
1318
1366
  } catch (a) {
1319
- I(e, e.T, a.message);
1367
+ E(e, e.T, a.message);
1320
1368
  }
1321
1369
  return e.Ia(i);
1322
1370
  }, e.g(r, "parse", e.i(t, !1)), t = function(n, i, a) {
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) {
1371
+ i && i.H === "Function" ? E(e, e.j, "Function replacer on JSON.stringify not supported") : i && i.H === "Array" ? (i = yr(e, i), i = i.filter(function(u) {
1324
1372
  return typeof u == "string" || typeof u == "number";
1325
1373
  })) : i = null, typeof a != "string" && typeof a != "number" && (a = void 0), n = e.R(n);
1326
1374
  try {
1327
1375
  var s = JSON.stringify(n, i, a);
1328
1376
  } catch (u) {
1329
- I(e, e.j, u.message);
1377
+ E(e, e.j, u.message);
1330
1378
  }
1331
1379
  return s;
1332
1380
  }, e.g(r, "stringify", e.i(t, !1));
@@ -1344,7 +1392,7 @@ function Y(e, t, r) {
1344
1392
  return !1;
1345
1393
  }
1346
1394
  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);
1395
+ t.data = new RegExp(r.source, r.flags), e.g(t, "lastIndex", r.lastIndex, w), e.g(t, "source", r.source, re), e.g(t, "global", r.global, re), e.g(t, "ignoreCase", r.ignoreCase, re), e.g(t, "multiline", r.multiline, re);
1348
1396
  }
1349
1397
  function Gt(e, t, r) {
1350
1398
  r && e.g(t, "message", String(r), w), r = [];
@@ -1363,25 +1411,25 @@ function Gt(e, t, r) {
1363
1411
  }
1364
1412
  e.g(t, "stack", a.trim(), w);
1365
1413
  }
1366
- _.ha = function() {
1414
+ $.ha = function() {
1367
1415
  var e = this.ha.Mb;
1368
- return e || (e = new Blob([Yr.join(`
1416
+ return e || (e = new Blob([ti.join(`
1369
1417
  `)], {
1370
1418
  type: "application/javascript"
1371
1419
  }), this.ha.Mb = e), new Worker(URL.createObjectURL(e));
1372
1420
  };
1373
- function Ke(e, t, r, n, i) {
1421
+ function Ge(e, t, r, n, i) {
1374
1422
  var a = {
1375
1423
  timeout: e.REGEXP_THREAD_TIMEOUT
1376
1424
  };
1377
1425
  try {
1378
1426
  return me.runInNewContext(t, r, a);
1379
1427
  } catch {
1380
- i(null), I(e, e.D, "RegExp Timeout: " + n);
1428
+ i(null), E(e, e.D, "RegExp Timeout: " + n);
1381
1429
  }
1382
- return Re;
1430
+ return Ne;
1383
1431
  }
1384
- function Ge(e, t, r) {
1432
+ function ze(e, t, r) {
1385
1433
  if (e.REGEXP_MODE === 0)
1386
1434
  var n = !1;
1387
1435
  else if (e.REGEXP_MODE === 1)
@@ -1398,26 +1446,26 @@ function Ge(e, t, r) {
1398
1446
  n = !!me;
1399
1447
  } else
1400
1448
  n = !1;
1401
- n || (r(null), I(e, e.D, "Regular expressions not supported: " + t));
1449
+ n || (r(null), E(e, e.D, "Regular expressions not supported: " + t));
1402
1450
  }
1403
- function ze(e, t, r, n) {
1451
+ function Xe(e, t, r, n) {
1404
1452
  return setTimeout(function() {
1405
1453
  r.terminate(), n(null);
1406
1454
  try {
1407
- I(e, e.D, "RegExp Timeout: " + t);
1455
+ E(e, e.D, "RegExp Timeout: " + t);
1408
1456
  } catch {
1409
1457
  }
1410
1458
  }, e.REGEXP_THREAD_TIMEOUT);
1411
1459
  }
1412
- _.Aa = function(e) {
1460
+ $.Aa = function(e) {
1413
1461
  return this.s(e && e.h.prototype);
1414
1462
  };
1415
- _.s = function(e) {
1463
+ $.s = function(e) {
1416
1464
  if (typeof e != "object")
1417
1465
  throw Error("Non object prototype");
1418
- return e = new M(e), Y(this, e, this.D) && (e.H = "Error"), e;
1466
+ return e = new F(e), Y(this, e, this.D) && (e.H = "Error"), e;
1419
1467
  };
1420
- function Me(e) {
1468
+ function Fe(e) {
1421
1469
  var t = e.s(e.La);
1422
1470
  return e.g(t, "length", 0, {
1423
1471
  configurable: !1,
@@ -1427,21 +1475,21 @@ function Me(e) {
1427
1475
  }
1428
1476
  function tn(e, t, r) {
1429
1477
  var n = e.s(e.Z);
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;
1478
+ 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, re), n.H = "Function", n;
1431
1479
  }
1432
1480
  function nn(e, t, r, n) {
1433
1481
  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;
1482
+ return i.Va = r, i.node = t, e.g(i, "name", t.id ? String(t.id.name) : n || "", re), i;
1435
1483
  }
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;
1484
+ $.i = function(e, t) {
1485
+ return t = tn(this, e.length, t), t.Ta = e, e.id = this.Ya++, this.g(t, "name", e.name, re), t;
1438
1486
  };
1439
- _.ub = function(e) {
1487
+ $.ub = function(e) {
1440
1488
  var t = tn(this, e.length, !0);
1441
- return t.Za = e, e.id = this.Ya++, this.g(t, "name", e.name, te), t;
1489
+ return t.Za = e, e.id = this.Ya++, this.g(t, "name", e.name, re), t;
1442
1490
  };
1443
- _.Ia = function(e) {
1444
- if (e instanceof M)
1491
+ $.Ia = function(e) {
1492
+ if (e instanceof F)
1445
1493
  throw Error("Object is already pseudo");
1446
1494
  if (e == null || e === !0 || e === !1 || typeof e == "string" || typeof e == "number")
1447
1495
  return e;
@@ -1461,7 +1509,7 @@ _.Ia = function(e) {
1461
1509
  }, !!t);
1462
1510
  }
1463
1511
  if (Array.isArray(e)) {
1464
- t = Me(this);
1512
+ t = Fe(this);
1465
1513
  for (var n = 0; n < e.length; n++)
1466
1514
  n in e && this.g(t, n, this.Ia(e[n]));
1467
1515
  return t;
@@ -1471,10 +1519,10 @@ _.Ia = function(e) {
1471
1519
  this.g(t, n, this.Ia(e[n]));
1472
1520
  return t;
1473
1521
  };
1474
- _.R = function(e, t) {
1522
+ $.R = function(e, t) {
1475
1523
  if (typeof e != "object" && typeof e != "function" || e === null)
1476
1524
  return e;
1477
- if (!(e instanceof M))
1525
+ if (!(e instanceof F))
1478
1526
  throw Error("Object is not pseudo");
1479
1527
  if (Y(this, e, this.I))
1480
1528
  return t = new RegExp(e.data.source, e.data.flags), t.lastIndex = e.data.lastIndex, t;
@@ -1502,11 +1550,11 @@ _.R = function(e, t) {
1502
1550
  return t.hb.pop(), t.Sa.pop(), r;
1503
1551
  };
1504
1552
  function pe(e, t) {
1505
- for (var r = Me(e), n = Object.getOwnPropertyNames(t), i = 0; i < n.length; i++)
1553
+ for (var r = Fe(e), n = Object.getOwnPropertyNames(t), i = 0; i < n.length; i++)
1506
1554
  e.g(r, n[i], t[n[i]]);
1507
1555
  return r;
1508
1556
  }
1509
- function mr(e, t) {
1557
+ function yr(e, t) {
1510
1558
  var r = [], n;
1511
1559
  for (n in t.h)
1512
1560
  r[n] = e.G(t, n);
@@ -1523,16 +1571,16 @@ function ge(e, t) {
1523
1571
  }
1524
1572
  return t ? t.xa : null;
1525
1573
  }
1526
- _.G = function(e, t) {
1574
+ $.G = function(e, t) {
1527
1575
  if (this.P)
1528
1576
  throw Error("Getter not supported in that context");
1529
- if (t = String(t), e != null || I(this, this.j, "Cannot read property '" + t + "' of " + e), typeof e == "object" && !(e instanceof M))
1577
+ if (t = String(t), e != null || E(this, this.j, "Cannot read property '" + t + "' of " + e), typeof e == "object" && !(e instanceof F))
1530
1578
  throw TypeError("Expecting native value or pseudo object");
1531
1579
  if (t === "length") {
1532
1580
  if (Y(this, e, this.J))
1533
1581
  return String(e).length;
1534
1582
  } else if (64 > t.charCodeAt(0) && Y(this, e, this.J)) {
1535
- var r = Ye(t);
1583
+ var r = qe(t);
1536
1584
  if (!isNaN(r) && r < String(e).length)
1537
1585
  return String(e)[r];
1538
1586
  }
@@ -1542,12 +1590,12 @@ _.G = function(e, t) {
1542
1590
  while (e = ge(this, e));
1543
1591
  };
1544
1592
  function mt(e, t, r) {
1545
- if (!(t instanceof M))
1593
+ if (!(t instanceof F))
1546
1594
  throw TypeError("Primitive data type has no properties");
1547
1595
  if (r = String(r), r === "length" && Y(e, t, e.J))
1548
1596
  return !0;
1549
1597
  if (Y(e, t, e.J)) {
1550
- var n = Ye(r);
1598
+ var n = qe(r);
1551
1599
  if (!isNaN(n) && n < String(t).length)
1552
1600
  return !0;
1553
1601
  }
@@ -1557,18 +1605,18 @@ function mt(e, t, r) {
1557
1605
  while (t = ge(e, t));
1558
1606
  return !1;
1559
1607
  }
1560
- _.g = function(e, t, r, n) {
1608
+ $.g = function(e, t, r, n) {
1561
1609
  if (this.Ka)
1562
1610
  throw Error("Setter not supported in that context");
1563
- if (t = String(t), e != null || I(this, this.j, "Cannot set property '" + t + "' of " + e), typeof e == "object" && !(e instanceof M))
1611
+ if (t = String(t), e != null || E(this, this.j, "Cannot set property '" + t + "' of " + e), typeof e == "object" && !(e instanceof F))
1564
1612
  throw TypeError("Expecting native value or pseudo object");
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");
1613
+ n && ("get" in n || "set" in n) && ("value" in n || "writable" in n) && E(this, this.j, "Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");
1566
1614
  var i = !this.o || rn(this).S;
1567
- if (e instanceof M) {
1615
+ if (e instanceof F) {
1568
1616
  if (Y(this, e, this.J)) {
1569
- var a = Ye(t);
1617
+ var a = qe(t);
1570
1618
  if (t === "length" || !isNaN(a) && a < String(e).length) {
1571
- i && I(this, this.j, "Cannot assign to read only property '" + t + "' of String '" + e.data + "'");
1619
+ i && E(this, this.j, "Cannot assign to read only property '" + t + "' of String '" + e.data + "'");
1572
1620
  return;
1573
1621
  }
1574
1622
  }
@@ -1579,24 +1627,24 @@ _.g = function(e, t, r, n) {
1579
1627
  return;
1580
1628
  r = n.value;
1581
1629
  }
1582
- if (r = Qt(r), isNaN(r) && I(this, this.ob, "Invalid array length"), r < a)
1630
+ if (r = Qt(r), isNaN(r) && E(this, this.ob, "Invalid array length"), r < a)
1583
1631
  for (s in e.h) {
1584
- var s = Ye(s);
1632
+ var s = qe(s);
1585
1633
  !isNaN(s) && r <= s && delete e.h[s];
1586
1634
  }
1587
1635
  } else
1588
- isNaN(s = Ye(t)) || (e.h.length = Math.max(a, s + 1));
1636
+ isNaN(s = qe(t)) || (e.h.length = Math.max(a, s + 1));
1589
1637
  if (!e.preventExtensions || t in e.h)
1590
1638
  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 !== qe && (i.value = r, delete e.V[t], delete e.Y[t]);
1639
+ 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 !== Ze && (i.value = r, delete e.V[t], delete e.Y[t]);
1592
1640
  try {
1593
1641
  Object.defineProperty(e.h, t, i);
1594
1642
  } catch {
1595
- I(this, this.j, "Cannot redefine property: " + t);
1643
+ E(this, this.j, "Cannot redefine property: " + t);
1596
1644
  }
1597
1645
  "get" in n && !n.get && delete e.V[t], "set" in n && !n.set && delete e.Y[t];
1598
1646
  } else {
1599
- if (r === qe)
1647
+ if (r === Ze)
1600
1648
  throw ReferenceError("Value not specified");
1601
1649
  for (n = e; !(t in n.h); )
1602
1650
  if (n = ge(this, n), !n) {
@@ -1606,29 +1654,29 @@ _.g = function(e, t, r, n) {
1606
1654
  if (n.Y && n.Y[t])
1607
1655
  return this.Ka = !0, n.Y[t];
1608
1656
  if (n.V && n.V[t])
1609
- i && I(this, this.j, "Cannot set property '" + t + "' of object '" + e + "' which only has a getter");
1657
+ i && E(this, this.j, "Cannot set property '" + t + "' of object '" + e + "' which only has a getter");
1610
1658
  else
1611
1659
  try {
1612
1660
  e.h[t] = r;
1613
1661
  } catch {
1614
- i && I(this, this.j, "Cannot assign to read only property '" + t + "' of object '" + e + "'");
1662
+ i && E(this, this.j, "Cannot assign to read only property '" + t + "' of object '" + e + "'");
1615
1663
  }
1616
1664
  }
1617
1665
  else
1618
- i && I(this, this.j, "Can't add property '" + t + "', object is not extensible");
1666
+ i && E(this, this.j, "Can't add property '" + t + "', object is not extensible");
1619
1667
  } else
1620
- i && I(this, this.j, "Can't create property '" + t + "' on '" + e + "'");
1668
+ i && E(this, this.j, "Can't create property '" + t + "' on '" + e + "'");
1621
1669
  };
1622
- _.g.ac = function() {
1670
+ $.g.ac = function() {
1623
1671
  throw Error("Placeholder getter");
1624
1672
  };
1625
- _.g.bc = function() {
1673
+ $.g.bc = function() {
1626
1674
  throw Error("Placeholder setter");
1627
1675
  };
1628
1676
  function J(e, t, r, n) {
1629
1677
  e.g(t.h.prototype, r, e.i(n, !1), w);
1630
1678
  }
1631
- function Xe(e, t, r, n) {
1679
+ function Je(e, t, r, n) {
1632
1680
  e.g(t.h.prototype, r, e.ub(n), w);
1633
1681
  }
1634
1682
  function rn(e) {
@@ -1644,12 +1692,12 @@ function zt(e, t, r) {
1644
1692
  var i = t.body && t.body[0];
1645
1693
  i && i.la && i.la.type === "Literal" && i.la.value === "use strict" && (n = !0);
1646
1694
  }
1647
- return i = e.s(null), n = new vr(r, n, i), r || qr(e, n.object), Ze(e, t, n), n;
1695
+ return i = e.s(null), n = new br(r, n, i), r || ni(e, n.object), Qe(e, t, n), n;
1648
1696
  }
1649
1697
  function on(e, t, r) {
1650
1698
  if (!t)
1651
1699
  throw Error("parentScope required");
1652
- return e = r || e.s(null), new vr(t, t.S, e);
1700
+ return e = r || e.s(null), new br(t, t.S, e);
1653
1701
  }
1654
1702
  function an(e, t) {
1655
1703
  for (var r = rn(e); r && r !== e.N; ) {
@@ -1659,15 +1707,15 @@ function an(e, t) {
1659
1707
  }
1660
1708
  if (r === e.N && mt(e, r.object, t))
1661
1709
  return e.G(r.object, t);
1662
- r = e.o[e.o.length - 1].node, r.type === "UnaryExpression" && r.operator === "typeof" || I(e, e.pb, t + " is not defined");
1710
+ r = e.o[e.o.length - 1].node, r.type === "UnaryExpression" && r.operator === "typeof" || E(e, e.pb, t + " is not defined");
1663
1711
  }
1664
- function gr(e, t, r) {
1712
+ function vr(e, t, r) {
1665
1713
  for (var n = rn(e), i = n.S; n && n !== e.N; ) {
1666
1714
  if (t in n.object.h) {
1667
1715
  try {
1668
1716
  n.object.h[t] = r;
1669
1717
  } catch {
1670
- i && I(e, e.j, "Cannot assign to read only variable '" + t + "'");
1718
+ i && E(e, e.j, "Cannot assign to read only variable '" + t + "'");
1671
1719
  }
1672
1720
  return;
1673
1721
  }
@@ -1675,9 +1723,9 @@ function gr(e, t, r) {
1675
1723
  }
1676
1724
  if (n === e.N && (!i || mt(e, n.object, t)))
1677
1725
  return e.g(n.object, t, r);
1678
- I(e, e.pb, t + " is not defined");
1726
+ E(e, e.pb, t + " is not defined");
1679
1727
  }
1680
- function Ze(e, t, r) {
1728
+ function Qe(e, t, r) {
1681
1729
  if (t.jb)
1682
1730
  var n = t.jb;
1683
1731
  else {
@@ -1710,12 +1758,12 @@ function Ze(e, t, r) {
1710
1758
  if (Array.isArray(u)) {
1711
1759
  for (i = 0; i < u.length; i++)
1712
1760
  if (u[i] && u[i].constructor === a) {
1713
- var d = Ze(e, u[i], r);
1761
+ var d = Qe(e, u[i], r);
1714
1762
  for (s in d)
1715
1763
  n[s] = d[s];
1716
1764
  }
1717
1765
  } else if (u.constructor === a)
1718
- for (s in d = Ze(e, u, r), d)
1766
+ for (s in d = Qe(e, u, r), d)
1719
1767
  n[s] = d[s];
1720
1768
  }
1721
1769
  }
@@ -1730,15 +1778,15 @@ function ye(e) {
1730
1778
  return e.o[e.o.length - 1].isConstructor;
1731
1779
  }
1732
1780
  function sn(e, t) {
1733
- return t[0] === Fe ? an(e, t[1]) : e.G(t[0], t[1]);
1781
+ return t[0] === Ue ? an(e, t[1]) : e.G(t[0], t[1]);
1734
1782
  }
1735
1783
  function ln(e, t, r) {
1736
- return t[0] === Fe ? gr(e, t[1], r) : e.g(t[0], t[1], r);
1784
+ return t[0] === Ue ? vr(e, t[1], r) : e.g(t[0], t[1], r);
1737
1785
  }
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;
1786
+ function E(e, t, r) {
1787
+ throw e.N ? (r !== void 0 && t instanceof F && (t = e.Aa(t), Gt(e, t, r)), nt(e, 4, t), gr) : r === void 0 ? t : r;
1740
1788
  }
1741
- function tt(e, t, r, n) {
1789
+ function nt(e, t, r, n) {
1742
1790
  if (t === 0)
1743
1791
  throw TypeError("Should not unwind for NORMAL completions");
1744
1792
  var i = e.o;
@@ -1783,34 +1831,34 @@ function tt(e, t, r, n) {
1783
1831
  URIError
1784
1832
  }, 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
1833
  }
1786
- function ee(e, t) {
1834
+ function ne(e, t) {
1787
1835
  switch (t.type) {
1788
1836
  case "ArrayExpression":
1789
1837
  return "[...]";
1790
1838
  case "BinaryExpression":
1791
1839
  case "LogicalExpression":
1792
- return ee(e, t.left) + " " + t.operator + " " + ee(e, t.right);
1840
+ return ne(e, t.left) + " " + t.operator + " " + ne(e, t.right);
1793
1841
  case "CallExpression":
1794
- return ee(e, t.callee) + "(...)";
1842
+ return ne(e, t.callee) + "(...)";
1795
1843
  case "ConditionalExpression":
1796
- return ee(e, t.test) + " ? " + ee(e, t.da) + " : " + ee(e, t.alternate);
1844
+ return ne(e, t.test) + " ? " + ne(e, t.da) + " : " + ne(e, t.alternate);
1797
1845
  case "Identifier":
1798
1846
  return t.name;
1799
1847
  case "Literal":
1800
1848
  return t.raw;
1801
1849
  case "MemberExpression":
1802
- var r = ee(e, t.object);
1803
- return e = ee(e, t.Wa), t.bb ? r + "[" + e + "]" : r + "." + e;
1850
+ var r = ne(e, t.object);
1851
+ return e = ne(e, t.Wa), t.bb ? r + "[" + e + "]" : r + "." + e;
1804
1852
  case "NewExpression":
1805
- return "new " + ee(e, t.callee) + "(...)";
1853
+ return "new " + ne(e, t.callee) + "(...)";
1806
1854
  case "ObjectExpression":
1807
1855
  return "{...}";
1808
1856
  case "ThisExpression":
1809
1857
  return "this";
1810
1858
  case "UnaryExpression":
1811
- return t.operator + " " + ee(e, t.K);
1859
+ return t.operator + " " + ne(e, t.K);
1812
1860
  case "UpdateExpression":
1813
- return r = ee(e, t.K), t.prefix ? t.operator + r : r + t.operator;
1861
+ return r = ne(e, t.K), t.prefix ? t.operator + r : r + t.operator;
1814
1862
  }
1815
1863
  return "???";
1816
1864
  }
@@ -1818,20 +1866,20 @@ function Zn(e, t, r) {
1818
1866
  var n = e.o[e.o.length - 1], i = Array.from(r), a = i.shift();
1819
1867
  r = Math.max(Number(i.shift() || 0), 0);
1820
1868
  var s = e.ya();
1821
- if (a instanceof M && a.H === "Function") {
1869
+ if (a instanceof F && a.H === "Function") {
1822
1870
  var u = a;
1823
1871
  s.type = "CallExpression", n = n.scope;
1824
1872
  } else {
1825
1873
  try {
1826
- var d = Pe(String(a), "taskCode" + e.ic++);
1874
+ var d = Me(String(a), "taskCode" + e.ic++);
1827
1875
  } catch (p) {
1828
- I(e, e.T, "Invalid code: " + p.message);
1876
+ E(e, e.T, "Invalid code: " + p.message);
1829
1877
  }
1830
1878
  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
1879
  }
1832
- return t = new ci(u, i, n, s, t ? r : -1), yr(e, t, r), t.Db;
1880
+ return t = new pi(u, i, n, s, t ? r : -1), xr(e, t, r), t.Db;
1833
1881
  }
1834
- function yr(e, t, r) {
1882
+ function xr(e, t, r) {
1835
1883
  t.time = Date.now() + r, e.ca.push(t), e.ca.sort(function(n, i) {
1836
1884
  return n.time - i.time;
1837
1885
  });
@@ -1843,7 +1891,7 @@ function Qn(e, t) {
1843
1891
  break;
1844
1892
  }
1845
1893
  }
1846
- function nt(e, t, r) {
1894
+ function rt(e, t, r) {
1847
1895
  if (!e.P)
1848
1896
  throw Error("Unexpected call to createGetter");
1849
1897
  e.P = !1, r = Array.isArray(r) ? r[0] : r;
@@ -1857,35 +1905,35 @@ function cn(e, t, r, n) {
1857
1905
  var i = e.ya();
1858
1906
  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
1907
  }
1860
- function Lt(e, t) {
1861
- return t == null ? e.Na : t instanceof M ? t : (e = e.s(ge(e, t)), e.data = t, e);
1908
+ function $t(e, t) {
1909
+ return t == null ? e.Na : t instanceof F ? t : (e = e.s(ge(e, t)), e.data = t, e);
1862
1910
  }
1863
- _.Xb = function() {
1911
+ $.Xb = function() {
1864
1912
  return this.N;
1865
1913
  };
1866
- _.Yb = function() {
1914
+ $.Yb = function() {
1867
1915
  return this.o;
1868
1916
  };
1869
- _.ec = function(e) {
1917
+ $.ec = function(e) {
1870
1918
  this.o = e;
1871
1919
  };
1872
1920
  function k(e, t) {
1873
1921
  this.node = e, this.scope = t;
1874
1922
  }
1875
- function vr(e, t, r) {
1923
+ function br(e, t, r) {
1876
1924
  this.Va = e, this.S = t, this.object = r;
1877
1925
  }
1878
- function M(e) {
1926
+ function F(e) {
1879
1927
  this.V = /* @__PURE__ */ Object.create(null), this.Y = /* @__PURE__ */ Object.create(null), this.h = /* @__PURE__ */ Object.create(null), this.xa = e;
1880
1928
  }
1881
- _ = M.prototype;
1882
- _.xa = null;
1883
- _.H = "Object";
1884
- _.data = null;
1885
- _.toString = function() {
1886
- if (!Je)
1929
+ $ = F.prototype;
1930
+ $.xa = null;
1931
+ $.H = "Object";
1932
+ $.data = null;
1933
+ $.toString = function() {
1934
+ if (!Ye)
1887
1935
  return "[object Interpreter.Object]";
1888
- if (!(this instanceof M))
1936
+ if (!(this instanceof F))
1889
1937
  return String(this);
1890
1938
  if (this.H === "Array") {
1891
1939
  var e = qn;
@@ -1895,7 +1943,7 @@ _.toString = function() {
1895
1943
  1024 < r && (r = 1e3, n = !0);
1896
1944
  for (var i = 0; i < r; i++) {
1897
1945
  var a = this.h[i];
1898
- t[i] = a instanceof M && e.indexOf(a) !== -1 ? "..." : a;
1946
+ t[i] = a instanceof F && e.indexOf(a) !== -1 ? "..." : a;
1899
1947
  }
1900
1948
  n && t.push("...");
1901
1949
  } finally {
@@ -1930,28 +1978,28 @@ _.toString = function() {
1930
1978
  }
1931
1979
  return this.data !== null ? String(this.data) : "[object " + this.H + "]";
1932
1980
  };
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;
1981
+ $.valueOf = function() {
1982
+ return !Ye || this.data === void 0 || this.data === null || this.data instanceof RegExp ? this : this.data instanceof Date ? this.data.valueOf() : this.data;
1935
1983
  };
1936
- function ci(e, t, r, n, i) {
1937
- this.zb = e, this.Lb = t, this.scope = r, this.node = n, this.interval = i, this.Db = ++ui, this.time = 0;
1984
+ function pi(e, t, r, n, i) {
1985
+ this.zb = e, this.Lb = t, this.scope = r, this.node = n, this.interval = i, this.Db = ++mi, this.time = 0;
1938
1986
  }
1939
- var ui = 0;
1940
- g.prototype.stepArrayExpression = function(e, t, r) {
1987
+ var mi = 0;
1988
+ m.prototype.stepArrayExpression = function(e, t, r) {
1941
1989
  r = r.elements;
1942
1990
  var n = t.A || 0;
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; ) {
1991
+ for (t.Oa ? (this.g(t.Oa, n, t.value), n++) : (t.Oa = Fe(this), t.Oa.h.length = r.length); n < r.length; ) {
1944
1992
  if (r[n])
1945
1993
  return t.A = n, new k(r[n], t.scope);
1946
1994
  n++;
1947
1995
  }
1948
1996
  e.pop(), e[e.length - 1].value = t.Oa;
1949
1997
  };
1950
- g.prototype.stepAssignmentExpression = function(e, t, r) {
1998
+ m.prototype.stepAssignmentExpression = function(e, t, r) {
1951
1999
  if (!t.ja)
1952
2000
  return t.ja = !0, t = new k(r.left, t.scope), t.sa = !0, t;
1953
2001
  if (!t.Da)
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));
2002
+ 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, rt(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
2003
  if (t.ta)
1956
2004
  e.pop(), e[e.length - 1].value = t.ib;
1957
2005
  else {
@@ -2001,7 +2049,7 @@ g.prototype.stepAssignmentExpression = function(e, t, r) {
2001
2049
  e.pop(), e[e.length - 1].value = n;
2002
2050
  }
2003
2051
  };
2004
- g.prototype.stepBinaryExpression = function(e, t, r) {
2052
+ m.prototype.stepBinaryExpression = function(e, t, r) {
2005
2053
  if (!t.ja)
2006
2054
  return t.ja = !0, new k(r.left, t.scope);
2007
2055
  if (!t.Da)
@@ -2067,27 +2115,27 @@ g.prototype.stepBinaryExpression = function(e, t, r) {
2067
2115
  r = n >>> t;
2068
2116
  break;
2069
2117
  case "in":
2070
- t instanceof M || I(this, this.j, "'in' expects an object, not '" + t + "'"), r = mt(this, t, n);
2118
+ t instanceof F || E(this, this.j, "'in' expects an object, not '" + t + "'"), r = mt(this, t, n);
2071
2119
  break;
2072
2120
  case "instanceof":
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;
2121
+ Y(this, t, this.O) || E(this, this.j, "'instanceof' expects an object, not '" + t + "'"), r = n instanceof F ? Y(this, n, t) : !1;
2074
2122
  break;
2075
2123
  default:
2076
2124
  throw SyntaxError("Unknown binary operator: " + r.operator);
2077
2125
  }
2078
2126
  e[e.length - 1].value = r;
2079
2127
  };
2080
- g.prototype.stepBlockStatement = function(e, t, r) {
2128
+ m.prototype.stepBlockStatement = function(e, t, r) {
2081
2129
  var n = t.A || 0;
2082
2130
  if (r = r.body[n])
2083
2131
  return t.A = n + 1, new k(r, t.scope);
2084
2132
  e.pop();
2085
2133
  };
2086
- g.prototype.stepBreakStatement = function(e, t, r) {
2087
- tt(this, 1, void 0, r.label && r.label.name);
2134
+ m.prototype.stepBreakStatement = function(e, t, r) {
2135
+ nt(this, 1, void 0, r.label && r.label.name);
2088
2136
  };
2089
- g.prototype.Hb = 0;
2090
- g.prototype.stepCallExpression = function(e, t, r) {
2137
+ m.prototype.Hb = 0;
2138
+ m.prototype.stepCallExpression = function(e, t, r) {
2091
2139
  if (!t.ia) {
2092
2140
  t.ia = 1;
2093
2141
  var n = new k(r.callee, t.scope);
@@ -2097,8 +2145,8 @@ g.prototype.stepCallExpression = function(e, t, r) {
2097
2145
  t.ia = 2;
2098
2146
  var i = t.value;
2099
2147
  if (Array.isArray(i)) {
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);
2148
+ if (t.U = sn(this, i), i[0] === Ue ? t.Pb = i[1] === "eval" : t.B = i[0], i = t.U, this.P)
2149
+ return t.ia = 1, rt(this, i, t.value);
2102
2150
  } else
2103
2151
  t.U = i;
2104
2152
  t.F = [], t.A = 0;
@@ -2107,8 +2155,8 @@ g.prototype.stepCallExpression = function(e, t, r) {
2107
2155
  if (t.A !== 0 && t.F.push(t.value), r.arguments[t.A])
2108
2156
  return new k(r.arguments[t.A++], t.scope);
2109
2157
  if (r.type === "NewExpression") {
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);
2158
+ if (i instanceof F && !i.Ab || E(this, this.j, ne(this, r.callee) + " is not a constructor"), i === this.qa)
2159
+ t.B = Fe(this);
2112
2160
  else {
2113
2161
  var a = i.h.prototype;
2114
2162
  (typeof a != "object" || a === null) && (a = this.M), t.B = this.s(a);
@@ -2120,36 +2168,36 @@ g.prototype.stepCallExpression = function(e, t, r) {
2120
2168
  if (t.eb)
2121
2169
  e.pop(), e[e.length - 1].value = t.isConstructor && typeof t.value != "object" ? t.B : t.value;
2122
2170
  else {
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++)
2171
+ if (t.eb = !0, i instanceof F || E(this, this.j, ne(this, r.callee) + " is not a function"), e = i.node) {
2172
+ for (r = zt(this, e.body, i.Va), n = Fe(this), i = 0; i < t.F.length; i++)
2125
2173
  this.g(n, i, t.F[i]);
2126
2174
  for (this.g(r.object, "arguments", n), i = 0; i < e.oa.length; i++)
2127
2175
  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, Zt), t.value = void 0, new k(e.body, r);
2176
+ return r.S || (t.B = $t(this, t.B)), this.g(r.object, "this", t.B, Zt), t.value = void 0, new k(e.body, r);
2129
2177
  }
2130
2178
  if (i.eval)
2131
2179
  if (i = t.F[0], typeof i != "string")
2132
2180
  t.value = i;
2133
2181
  else {
2134
2182
  try {
2135
- n = Pe(String(i), "eval" + this.Hb++);
2183
+ n = Me(String(i), "eval" + this.Hb++);
2136
2184
  } catch (u) {
2137
- I(this, this.T, "Invalid code: " + u.message);
2185
+ E(this, this.T, "Invalid code: " + u.message);
2138
2186
  }
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);
2187
+ 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) : Qe(this, n, r), this.value = void 0, new k(i, r);
2140
2188
  }
2141
2189
  else if (i.Ta)
2142
- t.scope.S || (t.B = Lt(this, t.B)), t.value = i.Ta.apply(t.B, t.F);
2190
+ t.scope.S || (t.B = $t(this, t.B)), t.value = i.Ta.apply(t.B, t.F);
2143
2191
  else if (i.Za) {
2144
2192
  var s = this;
2145
2193
  n = i.Za.length - 1, n = t.F.concat(Array(n)).slice(0, n), n.push(function(u) {
2146
2194
  t.value = u, s.za = !1;
2147
- }), this.za = !0, t.scope.S || (t.B = Lt(this, t.B)), i.Za.apply(t.B, n);
2195
+ }), this.za = !0, t.scope.S || (t.B = $t(this, t.B)), i.Za.apply(t.B, n);
2148
2196
  } else
2149
- I(this, this.j, ee(this, r.callee) + " is not callable");
2197
+ E(this, this.j, ne(this, r.callee) + " is not callable");
2150
2198
  }
2151
2199
  };
2152
- g.prototype.stepConditionalExpression = function(e, t, r) {
2200
+ m.prototype.stepConditionalExpression = function(e, t, r) {
2153
2201
  var n = t.na || 0;
2154
2202
  if (n === 0)
2155
2203
  return t.na = 1, new k(r.test, t.scope);
@@ -2162,13 +2210,13 @@ g.prototype.stepConditionalExpression = function(e, t, r) {
2162
2210
  }
2163
2211
  e.pop(), r.type === "ConditionalExpression" && (e[e.length - 1].value = t.value);
2164
2212
  };
2165
- g.prototype.stepContinueStatement = function(e, t, r) {
2166
- tt(this, 2, void 0, r.label && r.label.name);
2213
+ m.prototype.stepContinueStatement = function(e, t, r) {
2214
+ nt(this, 2, void 0, r.label && r.label.name);
2167
2215
  };
2168
- g.prototype.stepDebuggerStatement = function(e) {
2216
+ m.prototype.stepDebuggerStatement = function(e) {
2169
2217
  e.pop();
2170
2218
  };
2171
- g.prototype.stepDoWhileStatement = function(e, t, r) {
2219
+ m.prototype.stepDoWhileStatement = function(e, t, r) {
2172
2220
  if (r.type === "DoWhileStatement" && t.ga === void 0 && (t.value = !0, t.ga = !0), !t.ga)
2173
2221
  return t.ga = !0, new k(r.test, t.scope);
2174
2222
  if (!t.value)
@@ -2176,29 +2224,29 @@ g.prototype.stepDoWhileStatement = function(e, t, r) {
2176
2224
  else if (r.body)
2177
2225
  return t.ga = !1, t.W = !0, new k(r.body, t.scope);
2178
2226
  };
2179
- g.prototype.stepEmptyStatement = function(e) {
2227
+ m.prototype.stepEmptyStatement = function(e) {
2180
2228
  e.pop();
2181
2229
  };
2182
- g.prototype.stepEvalProgram_ = function(e, t, r) {
2230
+ m.prototype.stepEvalProgram_ = function(e, t, r) {
2183
2231
  var n = t.A || 0;
2184
2232
  if (r = r.body[n])
2185
2233
  return t.A = n + 1, new k(r, t.scope);
2186
2234
  e.pop(), e[e.length - 1].value = this.value;
2187
2235
  };
2188
- g.prototype.stepExpressionStatement = function(e, t, r) {
2236
+ m.prototype.stepExpressionStatement = function(e, t, r) {
2189
2237
  if (!t.ka)
2190
2238
  return this.value = void 0, t.ka = !0, new k(r.la, t.scope);
2191
2239
  e.pop(), this.value = t.value;
2192
2240
  };
2193
- g.prototype.stepForInStatement = function(e, t, r) {
2241
+ m.prototype.stepForInStatement = function(e, t, r) {
2194
2242
  if (!t.Ub && (t.Ub = !0, r.left.fa && r.left.fa[0].ua))
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);
2243
+ return t.scope.S && E(this, this.T, "for-in loop variable declaration may not have an initializer"), new k(r.left, t.scope);
2196
2244
  if (!t.Ca)
2197
2245
  return t.Ca = !0, t.pa || (t.pa = t.value), new k(r.right, t.scope);
2198
2246
  if (t.W || (t.W = !0, t.u = t.value, t.kb = /* @__PURE__ */ Object.create(null)), t.Ra === void 0)
2199
2247
  e:
2200
2248
  for (; ; ) {
2201
- if (t.u instanceof M)
2249
+ if (t.u instanceof F)
2202
2250
  for (t.wa || (t.wa = Object.getOwnPropertyNames(t.u.h)); ; ) {
2203
2251
  var n = t.wa.shift();
2204
2252
  if (n === void 0)
@@ -2222,7 +2270,7 @@ g.prototype.stepForInStatement = function(e, t, r) {
2222
2270
  }
2223
2271
  if (!t.wb)
2224
2272
  if (t.wb = !0, e = r.left, e.type === "VariableDeclaration")
2225
- t.pa = [Fe, e.fa[0].id.name];
2273
+ t.pa = [Ue, e.fa[0].id.name];
2226
2274
  else
2227
2275
  return t.pa = null, t = new k(e, t.scope), t.sa = !0, t;
2228
2276
  if (t.pa || (t.pa = t.value), !t.ta && (t.ta = !0, e = t.Ra, n = ln(this, t.pa, e)))
@@ -2230,7 +2278,7 @@ g.prototype.stepForInStatement = function(e, t, r) {
2230
2278
  if (t.Ra = void 0, t.wb = !1, t.ta = !1, r.body)
2231
2279
  return new k(r.body, t.scope);
2232
2280
  };
2233
- g.prototype.stepForStatement = function(e, t, r) {
2281
+ m.prototype.stepForStatement = function(e, t, r) {
2234
2282
  switch (t.na) {
2235
2283
  default:
2236
2284
  if (t.na = 1, r.ua)
@@ -2251,29 +2299,29 @@ g.prototype.stepForStatement = function(e, t, r) {
2251
2299
  return new k(r.update, t.scope);
2252
2300
  }
2253
2301
  };
2254
- g.prototype.stepFunctionDeclaration = function(e) {
2302
+ m.prototype.stepFunctionDeclaration = function(e) {
2255
2303
  e.pop();
2256
2304
  };
2257
- g.prototype.stepFunctionExpression = function(e, t, r) {
2305
+ m.prototype.stepFunctionExpression = function(e, t, r) {
2258
2306
  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
2307
  };
2260
- g.prototype.stepIdentifier = function(e, t, r) {
2308
+ m.prototype.stepIdentifier = function(e, t, r) {
2261
2309
  if (e.pop(), t.sa)
2262
- e[e.length - 1].value = [Fe, r.name];
2310
+ e[e.length - 1].value = [Ue, r.name];
2263
2311
  else {
2264
2312
  if (t = an(this, r.name), this.P)
2265
- return nt(this, t, this.Na);
2313
+ return rt(this, t, this.Na);
2266
2314
  e[e.length - 1].value = t;
2267
2315
  }
2268
2316
  };
2269
- g.prototype.stepIfStatement = g.prototype.stepConditionalExpression;
2270
- g.prototype.stepLabeledStatement = function(e, t, r) {
2317
+ m.prototype.stepIfStatement = m.prototype.stepConditionalExpression;
2318
+ m.prototype.stepLabeledStatement = function(e, t, r) {
2271
2319
  return e.pop(), e = t.labels || [], e.push(r.label.name), t = new k(r.body, t.scope), t.labels = e, t;
2272
2320
  };
2273
- g.prototype.stepLiteral = function(e, t, r) {
2321
+ m.prototype.stepLiteral = function(e, t, r) {
2274
2322
  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
2323
  };
2276
- g.prototype.stepLogicalExpression = function(e, t, r) {
2324
+ m.prototype.stepLogicalExpression = function(e, t, r) {
2277
2325
  if (r.operator !== "&&" && r.operator !== "||")
2278
2326
  throw SyntaxError("Unknown logical operator: " + r.operator);
2279
2327
  if (!t.ja)
@@ -2285,7 +2333,7 @@ g.prototype.stepLogicalExpression = function(e, t, r) {
2285
2333
  else
2286
2334
  return t.Da = !0, new k(r.right, t.scope);
2287
2335
  };
2288
- g.prototype.stepMemberExpression = function(e, t, r) {
2336
+ m.prototype.stepMemberExpression = function(e, t, r) {
2289
2337
  if (!t.Ca)
2290
2338
  return t.Ca = !0, new k(r.object, t.scope);
2291
2339
  if (r.bb)
@@ -2299,12 +2347,12 @@ g.prototype.stepMemberExpression = function(e, t, r) {
2299
2347
  e[e.length - 1].value = [t.u, r];
2300
2348
  else {
2301
2349
  if (r = this.G(t.u, r), this.P)
2302
- return nt(this, r, t.u);
2350
+ return rt(this, r, t.u);
2303
2351
  e[e.length - 1].value = r;
2304
2352
  }
2305
2353
  };
2306
- g.prototype.stepNewExpression = g.prototype.stepCallExpression;
2307
- g.prototype.stepObjectExpression = function(e, t, r) {
2354
+ m.prototype.stepNewExpression = m.prototype.stepCallExpression;
2355
+ m.prototype.stepObjectExpression = function(e, t, r) {
2308
2356
  var n = t.A || 0, i = r.h[n];
2309
2357
  if (t.u) {
2310
2358
  var a = t.Pa;
@@ -2322,7 +2370,7 @@ g.prototype.stepObjectExpression = function(e, t, r) {
2322
2370
  return t.Pa = a, new k(i.value, t.scope);
2323
2371
  }
2324
2372
  for (s in t.Ja)
2325
- r = t.Ja[s], "get" in r || "set" in r ? this.g(t.u, s, qe, {
2373
+ r = t.Ja[s], "get" in r || "set" in r ? this.g(t.u, s, Ze, {
2326
2374
  configurable: !0,
2327
2375
  enumerable: !0,
2328
2376
  get: r.get,
@@ -2330,23 +2378,23 @@ g.prototype.stepObjectExpression = function(e, t, r) {
2330
2378
  }) : this.g(t.u, s, r.init);
2331
2379
  e.pop(), e[e.length - 1].value = t.u;
2332
2380
  };
2333
- g.prototype.stepProgram = function(e, t, r) {
2381
+ m.prototype.stepProgram = function(e, t, r) {
2334
2382
  if (e = r.body.shift())
2335
2383
  return t.done = !1, new k(e, t.scope);
2336
2384
  t.done = !0;
2337
2385
  };
2338
- g.prototype.stepReturnStatement = function(e, t, r) {
2386
+ m.prototype.stepReturnStatement = function(e, t, r) {
2339
2387
  if (r.K && !t.ka)
2340
2388
  return t.ka = !0, new k(r.K, t.scope);
2341
- tt(this, 3, t.value);
2389
+ nt(this, 3, t.value);
2342
2390
  };
2343
- g.prototype.stepSequenceExpression = function(e, t, r) {
2391
+ m.prototype.stepSequenceExpression = function(e, t, r) {
2344
2392
  var n = t.A || 0;
2345
2393
  if (r = r.xb[n])
2346
2394
  return t.A = n + 1, new k(r, t.scope);
2347
2395
  e.pop(), e[e.length - 1].value = t.value;
2348
2396
  };
2349
- g.prototype.stepSwitchStatement = function(e, t, r) {
2397
+ m.prototype.stepSwitchStatement = function(e, t, r) {
2350
2398
  if (!t.ga)
2351
2399
  return t.ga = 1, new k(r.Qb, t.scope);
2352
2400
  for (t.ga === 1 && (t.ga = 2, t.hc = t.value, t.cb = -1); ; ) {
@@ -2373,25 +2421,25 @@ g.prototype.stepSwitchStatement = function(e, t, r) {
2373
2421
  t.cb = n, t.gb = n + 1;
2374
2422
  }
2375
2423
  };
2376
- g.prototype.stepThisExpression = function(e) {
2424
+ m.prototype.stepThisExpression = function(e) {
2377
2425
  e.pop(), e[e.length - 1].value = an(this, "this");
2378
2426
  };
2379
- g.prototype.stepThrowStatement = function(e, t, r) {
2427
+ m.prototype.stepThrowStatement = function(e, t, r) {
2380
2428
  if (t.ka)
2381
- I(this, t.value);
2429
+ E(this, t.value);
2382
2430
  else
2383
2431
  return t.ka = !0, new k(r.K, t.scope);
2384
2432
  };
2385
- g.prototype.stepTryStatement = function(e, t, r) {
2433
+ m.prototype.stepTryStatement = function(e, t, r) {
2386
2434
  if (!t.Rb)
2387
2435
  return t.Rb = !0, new k(r.block, t.scope);
2388
2436
  if (t.ea && t.ea.type === 4 && !t.Tb && r.Ea)
2389
2437
  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
2438
  if (!t.Sb && r.fb)
2391
2439
  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);
2440
+ e.pop(), t.ea && nt(this, t.ea.type, t.ea.value, t.ea.label);
2393
2441
  };
2394
- g.prototype.stepUnaryExpression = function(e, t, r) {
2442
+ m.prototype.stepUnaryExpression = function(e, t, r) {
2395
2443
  if (!t.ka)
2396
2444
  return t.ka = !0, e = new k(r.K, t.scope), e.sa = r.operator === "delete", e;
2397
2445
  e.pop();
@@ -2412,11 +2460,11 @@ g.prototype.stepUnaryExpression = function(e, t, r) {
2412
2460
  case "delete":
2413
2461
  if (r = !0, Array.isArray(n)) {
2414
2462
  var i = n[0];
2415
- i === Fe && (i = t.scope), n = String(n[1]);
2463
+ i === Ue && (i = t.scope), n = String(n[1]);
2416
2464
  try {
2417
2465
  delete i.h[n];
2418
2466
  } catch {
2419
- t.scope.S ? I(this, this.j, "Cannot delete property '" + n + "' of '" + i + "'") : r = !1;
2467
+ t.scope.S ? E(this, this.j, "Cannot delete property '" + n + "' of '" + i + "'") : r = !1;
2420
2468
  }
2421
2469
  }
2422
2470
  n = r;
@@ -2432,13 +2480,13 @@ g.prototype.stepUnaryExpression = function(e, t, r) {
2432
2480
  }
2433
2481
  e[e.length - 1].value = n;
2434
2482
  };
2435
- g.prototype.stepUpdateExpression = function(e, t, r) {
2483
+ m.prototype.stepUpdateExpression = function(e, t, r) {
2436
2484
  if (!t.ja)
2437
2485
  return t.ja = !0, e = new k(r.K, t.scope), e.sa = !0, e;
2438
2486
  if (t.Ga || (t.Ga = t.value), t.Ba && (t.ma = t.value), !t.Ba) {
2439
2487
  var n = sn(this, t.Ga);
2440
2488
  if (t.ma = n, this.P)
2441
- return t.Ba = !0, nt(this, n, t.Ga);
2489
+ return t.Ba = !0, rt(this, n, t.Ga);
2442
2490
  }
2443
2491
  if (t.ta)
2444
2492
  e.pop(), e[e.length - 1].value = t.ib;
@@ -2454,49 +2502,37 @@ g.prototype.stepUpdateExpression = function(e, t, r) {
2454
2502
  e.pop(), e[e.length - 1].value = r;
2455
2503
  }
2456
2504
  };
2457
- g.prototype.stepVariableDeclaration = function(e, t, r) {
2505
+ m.prototype.stepVariableDeclaration = function(e, t, r) {
2458
2506
  r = r.fa;
2459
2507
  var n = t.A || 0, i = r[n];
2460
- for (t.Bb && i && (gr(this, i.id.name, t.value), t.Bb = !1, i = r[++n]); i; ) {
2508
+ for (t.Bb && i && (vr(this, i.id.name, t.value), t.Bb = !1, i = r[++n]); i; ) {
2461
2509
  if (i.ua)
2462
2510
  return t.A = n, t.Bb = !0, t.Pa = i.id.name, new k(i.ua, t.scope);
2463
2511
  i = r[++n];
2464
2512
  }
2465
2513
  e.pop();
2466
2514
  };
2467
- g.prototype.stepWithStatement = function(e, t, r) {
2515
+ m.prototype.stepWithStatement = function(e, t, r) {
2468
2516
  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
2517
  };
2470
- g.prototype.stepWhileStatement = g.prototype.stepDoWhileStatement;
2471
- be.Interpreter = g;
2472
- g.prototype.step = g.prototype.lb;
2473
- g.prototype.run = g.prototype.Eb;
2474
- g.prototype.appendCode = g.prototype.Jb;
2475
- g.prototype.createObject = g.prototype.Aa;
2476
- g.prototype.createObjectProto = g.prototype.s;
2477
- g.prototype.createAsyncFunction = g.prototype.ub;
2478
- g.prototype.createNativeFunction = g.prototype.i;
2479
- g.prototype.getProperty = g.prototype.G;
2480
- g.prototype.setProperty = g.prototype.g;
2481
- g.prototype.nativeToPseudo = g.prototype.Ia;
2482
- g.prototype.pseudoToNative = g.prototype.R;
2483
- g.prototype.getGlobalScope = g.prototype.Xb;
2484
- g.prototype.getStateStack = g.prototype.Yb;
2485
- g.prototype.setStateStack = g.prototype.ec;
2486
- g.VALUE_IN_DESCRIPTOR = qe;
2487
- const fi = ({
2488
- builder: e,
2489
- context: t,
2490
- event: r,
2491
- state: n
2492
- }) => Object.entries({
2493
- state: n,
2494
- Builder: e,
2495
- // legacy
2496
- builder: e,
2497
- context: t,
2498
- event: r
2499
- }), di = (e) => e.split(`
2518
+ m.prototype.stepWhileStatement = m.prototype.stepDoWhileStatement;
2519
+ be.Interpreter = m;
2520
+ m.prototype.step = m.prototype.lb;
2521
+ m.prototype.run = m.prototype.Eb;
2522
+ m.prototype.appendCode = m.prototype.Jb;
2523
+ m.prototype.createObject = m.prototype.Aa;
2524
+ m.prototype.createObjectProto = m.prototype.s;
2525
+ m.prototype.createAsyncFunction = m.prototype.ub;
2526
+ m.prototype.createNativeFunction = m.prototype.i;
2527
+ m.prototype.getProperty = m.prototype.G;
2528
+ m.prototype.setProperty = m.prototype.g;
2529
+ m.prototype.nativeToPseudo = m.prototype.Ia;
2530
+ m.prototype.pseudoToNative = m.prototype.R;
2531
+ m.prototype.getGlobalScope = m.prototype.Xb;
2532
+ m.prototype.getStateStack = m.prototype.Yb;
2533
+ m.prototype.setStateStack = m.prototype.ec;
2534
+ m.VALUE_IN_DESCRIPTOR = Ze;
2535
+ const gi = (e) => e.split(`
2500
2536
  `).map((t) => {
2501
2537
  const r = t.trim();
2502
2538
  if (t.includes("__awaiter"))
@@ -2509,7 +2545,7 @@ const fi = ({
2509
2545
  ${u}
2510
2546
  `;
2511
2547
  }).filter(Boolean).join(`
2512
- `), er = (e) => e + "JSON", hi = ({
2548
+ `), er = (e) => e + "JSON", yi = ({
2513
2549
  builder: e,
2514
2550
  context: t,
2515
2551
  event: r,
@@ -2521,47 +2557,47 @@ const fi = ({
2521
2557
  const u = {
2522
2558
  ...n,
2523
2559
  ...i
2524
- }, d = fi({
2560
+ }, d = pr({
2525
2561
  builder: e,
2526
2562
  context: t,
2527
2563
  event: r,
2528
2564
  state: u
2529
2565
  }), p = d.map(([C]) => {
2530
- const T = er(C);
2531
- return `var ${C} = ${T} === undefined ? undefined : JSON.parse(${T});`;
2566
+ const I = er(C);
2567
+ return `var ${C} = ${I} === undefined ? undefined : JSON.parse(${I});`;
2532
2568
  }).join(`
2533
- `), y = di(s);
2569
+ `), y = gi(s);
2534
2570
  if (y === "") {
2535
- Oe.warn("Skipping evaluation of empty code block.");
2571
+ Pe.warn("Skipping evaluation of empty code block.");
2536
2572
  return;
2537
2573
  }
2538
- const b = `
2574
+ const x = `
2539
2575
  function theFunction() {
2540
2576
  ${p}
2541
2577
 
2542
2578
  ${y}
2543
2579
  }
2544
2580
  theFunction();
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));
2581
+ `, P = (C, I) => {
2582
+ const L = mr(u, C, I);
2583
+ a == null || a(L);
2584
+ }, _ = function(C, I) {
2585
+ d.forEach(([L, V]) => {
2586
+ const v = JSON.stringify(V);
2587
+ C.setProperty(I, er(L), v);
2588
+ }), C.setProperty(I, "setRootState", C.createNativeFunction(P));
2553
2589
  };
2554
2590
  try {
2555
- const C = new g(b, U);
2591
+ const C = new m(x, _);
2556
2592
  return C.run(), C.pseudoToNative(C.value);
2557
2593
  } catch (C) {
2558
- Oe.warn("Custom code error in edge runtime. NOTE: your code must be ES5 JavaScript.", {
2594
+ Pe.warn("Custom code error in edge runtime. NOTE: your code must be ES5 JavaScript.", {
2559
2595
  e: C
2560
2596
  });
2561
2597
  return;
2562
2598
  }
2563
- };
2564
- function Qe({
2599
+ }, vi = (e) => Ee() ? Zr(e) : yi(e);
2600
+ function et({
2565
2601
  code: e,
2566
2602
  context: t,
2567
2603
  localState: r,
@@ -2571,17 +2607,14 @@ function Qe({
2571
2607
  isExpression: s = !0
2572
2608
  }) {
2573
2609
  if (e === "") {
2574
- Oe.warn("Skipping evaluation of empty code block.");
2610
+ Pe.warn("Skipping evaluation of empty code block.");
2575
2611
  return;
2576
2612
  }
2577
2613
  const u = {
2578
- isEditing: ke(),
2579
- isBrowser: Ne(),
2580
- isServer: !Ne(),
2581
- getUserAttributes: () => Dr()
2582
- }, y = {
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: u,
2614
+ code: qr(e, {
2615
+ isExpression: s
2616
+ }),
2617
+ builder: Yr(),
2585
2618
  context: t,
2586
2619
  event: a,
2587
2620
  rootSetState: i,
@@ -2589,15 +2622,15 @@ function Qe({
2589
2622
  localState: r
2590
2623
  };
2591
2624
  try {
2592
- return hi(y);
2593
- } catch (b) {
2594
- Oe.error("Failed code evaluation: " + b.message, {
2625
+ return vi(u);
2626
+ } catch (d) {
2627
+ Pe.error("Failed code evaluation: " + d.message, {
2595
2628
  code: e
2596
2629
  });
2597
2630
  return;
2598
2631
  }
2599
2632
  }
2600
- const pi = ({
2633
+ const xi = ({
2601
2634
  block: e,
2602
2635
  context: t,
2603
2636
  localState: r,
@@ -2616,14 +2649,14 @@ const pi = ({
2616
2649
  }
2617
2650
  };
2618
2651
  for (const u in e.bindings) {
2619
- const d = e.bindings[u], p = Qe({
2652
+ const d = e.bindings[u], p = et({
2620
2653
  code: d,
2621
2654
  localState: r,
2622
2655
  rootState: n,
2623
2656
  rootSetState: i,
2624
2657
  context: t
2625
2658
  });
2626
- hr(s, u, p);
2659
+ mr(s, u, p);
2627
2660
  }
2628
2661
  return s;
2629
2662
  };
@@ -2636,7 +2669,7 @@ function dt({
2636
2669
  rootSetState: a
2637
2670
  }) {
2638
2671
  const s = e;
2639
- return r ? pi({
2672
+ return r ? xi({
2640
2673
  block: s,
2641
2674
  localState: n,
2642
2675
  rootState: i,
@@ -2644,24 +2677,24 @@ function dt({
2644
2677
  context: t
2645
2678
  }) : s;
2646
2679
  }
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]) => {
2680
+ const bi = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), Sr = (e) => Object.entries(e).map(([r, n]) => {
2648
2681
  if (typeof n == "string")
2649
- return `${mi(r)}: ${n};`;
2650
- }).filter(Ht), gi = (e) => xr(e).join(`
2682
+ return `${bi(r)}: ${n};`;
2683
+ }).filter(Ht), Si = (e) => Sr(e).join(`
2651
2684
  `), Vt = ({
2652
2685
  mediaQuery: e,
2653
2686
  className: t,
2654
2687
  styles: r
2655
2688
  }) => {
2656
2689
  const n = `.${t} {
2657
- ${gi(r)}
2690
+ ${Si(r)}
2658
2691
  }`;
2659
2692
  return e ? `${e} {
2660
2693
  ${n}
2661
2694
  }` : n;
2662
2695
  };
2663
2696
  function gt(e) {
2664
- return /* @__PURE__ */ m("style", { dangerouslySetInnerHTML: { __html: e.styles }, id: e.id });
2697
+ return /* @__PURE__ */ g("style", { dangerouslySetInnerHTML: { __html: e.styles }, id: e.id });
2665
2698
  }
2666
2699
  function un(e) {
2667
2700
  function t() {
@@ -2684,12 +2717,12 @@ function un(e) {
2684
2717
  rootSetState: e.context.rootSetState,
2685
2718
  context: e.context.context,
2686
2719
  shouldEvaluateBindings: !0
2687
- }), i = n.responsiveStyles, a = e.context.content, s = dr(
2720
+ }), i = n.responsiveStyles, a = e.context.content, s = hr(
2688
2721
  ((C = a == null ? void 0 : a.meta) == null ? void 0 : C.breakpoints) || {}
2689
2722
  ), 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
2723
  if (!y)
2691
2724
  return "";
2692
- const b = u ? Vt({
2725
+ const x = u ? Vt({
2693
2726
  className: y,
2694
2727
  styles: u
2695
2728
  }) : "", P = d ? Vt({
@@ -2699,7 +2732,7 @@ function un(e) {
2699
2732
  "medium",
2700
2733
  s
2701
2734
  )
2702
- }) : "", U = p ? Vt({
2735
+ }) : "", _ = p ? Vt({
2703
2736
  className: y,
2704
2737
  styles: p,
2705
2738
  mediaQuery: Xn(
@@ -2707,11 +2740,11 @@ function un(e) {
2707
2740
  s
2708
2741
  )
2709
2742
  }) : "";
2710
- return [b, P, U].join(" ");
2743
+ return [x, P, _].join(" ");
2711
2744
  }
2712
- return /* @__PURE__ */ m(F, { children: r() && t() ? /* @__PURE__ */ m(F, { children: /* @__PURE__ */ m(gt, { styles: r() }) }) : null });
2745
+ return /* @__PURE__ */ g(U, { children: r() && t() ? /* @__PURE__ */ g(U, { children: /* @__PURE__ */ g(gt, { styles: r() }) }) : null });
2713
2746
  }
2714
- function yi(e) {
2747
+ function wi(e) {
2715
2748
  var t;
2716
2749
  return {
2717
2750
  ...(t = e.component) == null ? void 0 : t.options,
@@ -2722,7 +2755,7 @@ function yi(e) {
2722
2755
  builderBlock: e
2723
2756
  };
2724
2757
  }
2725
- const vi = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"], Dt = (e) => typeof e == "string" && vi.includes(e.toLowerCase()), xi = ({
2758
+ const ki = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"], Dt = (e) => typeof e == "string" && ki.includes(e.toLowerCase()), Ci = ({
2726
2759
  block: e,
2727
2760
  context: t,
2728
2761
  registeredComponents: r
@@ -2744,7 +2777,7 @@ const vi = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
2744
2777
  console.warn(`
2745
2778
  Could not find a registered component named "${n}".
2746
2779
  If you registered it, is the file that registered it imported by the file that needs to render it?`);
2747
- }, bi = ({
2780
+ }, Ei = ({
2748
2781
  block: e,
2749
2782
  context: t
2750
2783
  }) => {
@@ -2754,7 +2787,7 @@ const vi = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
2754
2787
  } = e;
2755
2788
  if (!(r != null && r.collection))
2756
2789
  return;
2757
- const i = Qe({
2790
+ const i = et({
2758
2791
  code: r.collection,
2759
2792
  localState: t.localState,
2760
2793
  rootState: t.rootState,
@@ -2789,9 +2822,9 @@ const vi = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
2789
2822
  componentInfos: {},
2790
2823
  inheritedStyles: {}
2791
2824
  });
2792
- function Si(e) {
2793
- const [t, r] = W(() => e.repeatContext);
2794
- return /* @__PURE__ */ m(fn.Provider, { value: t, children: /* @__PURE__ */ m(
2825
+ function Ii(e) {
2826
+ const [t, r] = H(() => e.repeatContext);
2827
+ return /* @__PURE__ */ g(fn.Provider, { value: t, children: /* @__PURE__ */ g(
2795
2828
  yt,
2796
2829
  {
2797
2830
  block: e.block,
@@ -2800,10 +2833,10 @@ function Si(e) {
2800
2833
  }
2801
2834
  ) });
2802
2835
  }
2803
- function wi(e) {
2836
+ function Ti(e) {
2804
2837
  return e.charAt(0).toUpperCase() + e.slice(1);
2805
2838
  }
2806
- const ki = (e) => `on${wi(e)}`, Ci = (e, t) => (r) => Qe({
2839
+ const ji = (e) => `on${Ti(e)}`, Ai = (e, t) => (r) => et({
2807
2840
  code: e,
2808
2841
  context: t.context,
2809
2842
  localState: t.localState,
@@ -2818,9 +2851,9 @@ function Xt(e) {
2818
2851
  if (!r.hasOwnProperty(n))
2819
2852
  continue;
2820
2853
  const i = r[n];
2821
- let a = ki(n);
2854
+ let a = ji(n);
2822
2855
  if (e.stripPrefix)
2823
- switch (et) {
2856
+ switch (tt) {
2824
2857
  case "vue2":
2825
2858
  case "vue3":
2826
2859
  a = a.replace("v-on:", "");
@@ -2829,14 +2862,14 @@ function Xt(e) {
2829
2862
  a = a.replace("on:", "");
2830
2863
  break;
2831
2864
  }
2832
- t[a] = Ci(i, e);
2865
+ t[a] = Ai(i, e);
2833
2866
  }
2834
2867
  return t;
2835
2868
  }
2836
- function Ei(e) {
2869
+ function Ri(e) {
2837
2870
  return e.className = e.class, delete e.class, e;
2838
2871
  }
2839
- const Ii = (e) => ({
2872
+ const Oi = (e) => ({
2840
2873
  href: e.href
2841
2874
  });
2842
2875
  function ht({
@@ -2845,21 +2878,21 @@ function ht({
2845
2878
  }) {
2846
2879
  var n;
2847
2880
  const r = {
2848
- ...Ii(e),
2881
+ ...Oi(e),
2849
2882
  ...e.properties,
2850
2883
  "builder-id": e.id,
2851
- style: e.style ? Ti(e.style) : void 0,
2884
+ style: e.style ? Ni(e.style) : void 0,
2852
2885
  class: [e.id, "builder-block", e.class, (n = e.properties) == null ? void 0 : n.class].filter(Boolean).join(" ")
2853
2886
  };
2854
- return Ei(r);
2887
+ return Ri(r);
2855
2888
  }
2856
- function Ti(e) {
2857
- switch (et) {
2889
+ function Ni(e) {
2890
+ switch (tt) {
2858
2891
  case "svelte":
2859
2892
  case "vue2":
2860
2893
  case "vue3":
2861
2894
  case "solid":
2862
- return xr(e).join(" ");
2895
+ return Sr(e).join(" ");
2863
2896
  case "qwik":
2864
2897
  case "reactNative":
2865
2898
  case "react":
@@ -2867,8 +2900,8 @@ function Ti(e) {
2867
2900
  return e;
2868
2901
  }
2869
2902
  }
2870
- function ji(e) {
2871
- return /* @__PURE__ */ m(
2903
+ function Pi(e) {
2904
+ return /* @__PURE__ */ g(
2872
2905
  e.Wrapper,
2873
2906
  {
2874
2907
  ...e.wrapperProps,
@@ -2889,7 +2922,7 @@ function ji(e) {
2889
2922
  }
2890
2923
  );
2891
2924
  }
2892
- const Ai = ({
2925
+ const Mi = ({
2893
2926
  componentOptions: e,
2894
2927
  builderBlock: t,
2895
2928
  context: r,
@@ -2917,13 +2950,13 @@ const Ai = ({
2917
2950
  };
2918
2951
  function tr(e) {
2919
2952
  var n, i;
2920
- const [t, r] = W(
2921
- () => e.isInteractive ? ji : e.componentRef
2953
+ const [t, r] = H(
2954
+ () => e.isInteractive ? Pi : e.componentRef
2922
2955
  );
2923
- return /* @__PURE__ */ m(F, { children: e.componentRef ? /* @__PURE__ */ m(F, { children: /* @__PURE__ */ Z(
2956
+ return /* @__PURE__ */ g(U, { children: e.componentRef ? /* @__PURE__ */ g(U, { children: /* @__PURE__ */ Z(
2924
2957
  t,
2925
2958
  {
2926
- ...Ai({
2959
+ ...Mi({
2927
2960
  componentOptions: e.componentOptions,
2928
2961
  builderBlock: e.builderBlock,
2929
2962
  context: e.context,
@@ -2933,7 +2966,7 @@ function tr(e) {
2933
2966
  contextValue: e.context
2934
2967
  }),
2935
2968
  children: [
2936
- (n = e.blockChildren) == null ? void 0 : n.map((a) => /* @__PURE__ */ m(
2969
+ (n = e.blockChildren) == null ? void 0 : n.map((a) => /* @__PURE__ */ g(
2937
2970
  yt,
2938
2971
  {
2939
2972
  block: a,
@@ -2942,7 +2975,7 @@ function tr(e) {
2942
2975
  },
2943
2976
  "block-" + a.id
2944
2977
  )),
2945
- (i = e.blockChildren) == null ? void 0 : i.map((a) => /* @__PURE__ */ m(
2978
+ (i = e.blockChildren) == null ? void 0 : i.map((a) => /* @__PURE__ */ g(
2946
2979
  un,
2947
2980
  {
2948
2981
  block: a,
@@ -2955,9 +2988,9 @@ function tr(e) {
2955
2988
  ) }) : null });
2956
2989
  }
2957
2990
  function nr(e) {
2958
- return /* @__PURE__ */ Z(F, { children: [
2991
+ return /* @__PURE__ */ Z(U, { children: [
2959
2992
  " ",
2960
- e.hasChildren ? /* @__PURE__ */ m(F, { children: /* @__PURE__ */ Z(
2993
+ e.hasChildren ? /* @__PURE__ */ g(U, { children: /* @__PURE__ */ Z(
2961
2994
  e.Wrapper,
2962
2995
  {
2963
2996
  ...ht({
@@ -2978,7 +3011,7 @@ function nr(e) {
2978
3011
  " "
2979
3012
  ]
2980
3013
  }
2981
- ) }) : /* @__PURE__ */ m(F, { children: /* @__PURE__ */ m(
3014
+ ) }) : /* @__PURE__ */ g(U, { children: /* @__PURE__ */ g(
2982
3015
  e.Wrapper,
2983
3016
  {
2984
3017
  ...ht({
@@ -2999,16 +3032,16 @@ function nr(e) {
2999
3032
  ] });
3000
3033
  }
3001
3034
  function yt(e) {
3002
- var y, b, P, U;
3035
+ var y, x, P, _;
3003
3036
  function t() {
3004
- return xi({
3037
+ return Ci({
3005
3038
  block: e.block,
3006
3039
  context: e.context,
3007
3040
  registeredComponents: e.registeredComponents
3008
3041
  });
3009
3042
  }
3010
3043
  function r() {
3011
- return bi({
3044
+ return Ei({
3012
3045
  block: e.block,
3013
3046
  context: e.context
3014
3047
  });
@@ -3030,31 +3063,31 @@ function yt(e) {
3030
3063
  return "hide" in n() ? !n().hide : "show" in n() ? n().show : !0;
3031
3064
  }
3032
3065
  function s() {
3033
- var T;
3034
- return !((T = t == null ? void 0 : t()) != null && T.component) && !r() ? n().children ?? [] : [];
3066
+ var I;
3067
+ return !((I = t == null ? void 0 : t()) != null && I.component) && !r() ? n().children ?? [] : [];
3035
3068
  }
3036
3069
  function u() {
3037
- var C, T, B, $, v;
3070
+ var C, I, L, V, v;
3038
3071
  return {
3039
3072
  blockChildren: n().children ?? [],
3040
3073
  componentRef: (C = t == null ? void 0 : t()) == null ? void 0 : C.component,
3041
3074
  componentOptions: {
3042
- ...yi(n()),
3075
+ ...wi(n()),
3043
3076
  builderContext: e.context,
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" ? {
3077
+ ...((I = t == null ? void 0 : t()) == null ? void 0 : I.name) === "Symbol" || ((L = t == null ? void 0 : t()) == null ? void 0 : L.name) === "Columns" ? {
3045
3078
  builderComponents: e.registeredComponents
3046
3079
  } : {}
3047
3080
  },
3048
3081
  context: d,
3049
3082
  registeredComponents: e.registeredComponents,
3050
3083
  builderBlock: n(),
3051
- includeBlockProps: (($ = t == null ? void 0 : t()) == null ? void 0 : $.noWrap) === !0,
3084
+ includeBlockProps: ((V = t == null ? void 0 : t()) == null ? void 0 : V.noWrap) === !0,
3052
3085
  isInteractive: !((v = t == null ? void 0 : t()) != null && v.isRSC)
3053
3086
  };
3054
3087
  }
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(
3088
+ const [d, p] = H(() => e.context);
3089
+ return /* @__PURE__ */ g(U, { children: a() ? /* @__PURE__ */ g(U, { children: (y = t == null ? void 0 : t()) != null && y.noWrap ? /* @__PURE__ */ g(U, { children: /* @__PURE__ */ g(tr, { ...u() }) }) : /* @__PURE__ */ Z(U, { children: [
3090
+ Dt(i()) ? /* @__PURE__ */ g(U, { children: /* @__PURE__ */ g(
3058
3091
  nr,
3059
3092
  {
3060
3093
  Wrapper: i(),
@@ -3063,16 +3096,16 @@ function yt(e) {
3063
3096
  hasChildren: !1
3064
3097
  }
3065
3098
  ) }) : null,
3066
- !Dt(i()) && r() ? /* @__PURE__ */ m(F, { children: (b = r()) == null ? void 0 : b.map((C, T) => /* @__PURE__ */ m(
3067
- Si,
3099
+ !Dt(i()) && r() ? /* @__PURE__ */ g(U, { children: (x = r()) == null ? void 0 : x.map((C, I) => /* @__PURE__ */ g(
3100
+ Ii,
3068
3101
  {
3069
3102
  repeatContext: C.context,
3070
3103
  block: C.block,
3071
3104
  registeredComponents: e.registeredComponents
3072
3105
  },
3073
- T
3106
+ I
3074
3107
  )) }) : null,
3075
- !Dt(i()) && !r() ? /* @__PURE__ */ m(F, { children: /* @__PURE__ */ Z(
3108
+ !Dt(i()) && !r() ? /* @__PURE__ */ g(U, { children: /* @__PURE__ */ Z(
3076
3109
  nr,
3077
3110
  {
3078
3111
  Wrapper: i(),
@@ -3080,8 +3113,8 @@ function yt(e) {
3080
3113
  context: e.context,
3081
3114
  hasChildren: !0,
3082
3115
  children: [
3083
- /* @__PURE__ */ m(tr, { ...u() }),
3084
- (P = s()) == null ? void 0 : P.map((C) => /* @__PURE__ */ m(
3116
+ /* @__PURE__ */ g(tr, { ...u() }),
3117
+ (P = s()) == null ? void 0 : P.map((C) => /* @__PURE__ */ g(
3085
3118
  yt,
3086
3119
  {
3087
3120
  block: C,
@@ -3090,7 +3123,7 @@ function yt(e) {
3090
3123
  },
3091
3124
  "block-" + C.id
3092
3125
  )),
3093
- (U = s()) == null ? void 0 : U.map((C) => /* @__PURE__ */ m(
3126
+ (_ = s()) == null ? void 0 : _.map((C) => /* @__PURE__ */ g(
3094
3127
  un,
3095
3128
  {
3096
3129
  block: C,
@@ -3103,14 +3136,14 @@ function yt(e) {
3103
3136
  ) }) : null
3104
3137
  ] }) }) : null });
3105
3138
  }
3106
- function Ri(e) {
3139
+ function Fi(e) {
3107
3140
  function t() {
3108
3141
  var i;
3109
3142
  return "builder-blocks" + ((i = e.blocks) != null && i.length ? "" : " no-blocks");
3110
3143
  }
3111
3144
  function r() {
3112
3145
  var i, a;
3113
- ke() && !((i = e.blocks) != null && i.length) && ((a = window.parent) == null || a.postMessage(
3146
+ Ce() && !((i = e.blocks) != null && i.length) && ((a = window.parent) == null || a.postMessage(
3114
3147
  {
3115
3148
  type: "builder.clickEmptyBlocks",
3116
3149
  data: {
@@ -3123,7 +3156,7 @@ function Ri(e) {
3123
3156
  }
3124
3157
  function n() {
3125
3158
  var i, a;
3126
- ke() && !((i = e.blocks) != null && i.length) && ((a = window.parent) == null || a.postMessage(
3159
+ Ce() && !((i = e.blocks) != null && i.length) && ((a = window.parent) == null || a.postMessage(
3127
3160
  {
3128
3161
  type: "builder.hoverEmptyBlocks",
3129
3162
  data: {
@@ -3134,11 +3167,11 @@ function Ri(e) {
3134
3167
  "*"
3135
3168
  ));
3136
3169
  }
3137
- return /* @__PURE__ */ Z(F, { children: [
3138
- /* @__PURE__ */ m(
3170
+ return /* @__PURE__ */ Z(U, { children: [
3171
+ /* @__PURE__ */ g(
3139
3172
  "div",
3140
3173
  {
3141
- className: t() + " div-5821bd52",
3174
+ className: t() + " div-02c7a115",
3142
3175
  "builder-path": e.path,
3143
3176
  "builder-parent-id": e.parent,
3144
3177
  style: e.styleProp,
@@ -3148,26 +3181,26 @@ function Ri(e) {
3148
3181
  children: e.children
3149
3182
  }
3150
3183
  ),
3151
- /* @__PURE__ */ m("style", { children: `.div-5821bd52 {
3184
+ /* @__PURE__ */ g("style", { children: `.div-02c7a115 {
3152
3185
  display: flex;
3153
3186
  flex-direction: column;
3154
3187
  align-items: stretch;
3155
3188
  }` })
3156
3189
  ] });
3157
3190
  }
3158
- const br = cr({ registeredComponents: {} });
3191
+ const wr = cr({ registeredComponents: {} });
3159
3192
  function dn(e) {
3160
3193
  var n, i;
3161
- const t = Hn(fn), r = Hn(br);
3194
+ const t = Hn(fn), r = Hn(wr);
3162
3195
  return /* @__PURE__ */ Z(
3163
- Ri,
3196
+ Fi,
3164
3197
  {
3165
3198
  blocks: e.blocks,
3166
3199
  parent: e.parent,
3167
3200
  path: e.path,
3168
3201
  styleProp: e.styleProp,
3169
3202
  children: [
3170
- e.blocks ? /* @__PURE__ */ m(F, { children: (n = e.blocks) == null ? void 0 : n.map((a) => /* @__PURE__ */ m(
3203
+ e.blocks ? /* @__PURE__ */ g(U, { children: (n = e.blocks) == null ? void 0 : n.map((a) => /* @__PURE__ */ g(
3171
3204
  yt,
3172
3205
  {
3173
3206
  block: a,
@@ -3176,7 +3209,7 @@ function dn(e) {
3176
3209
  },
3177
3210
  "render-block-" + a.id
3178
3211
  )) }) : null,
3179
- e.blocks ? /* @__PURE__ */ m(F, { children: (i = e.blocks) == null ? void 0 : i.map((a) => /* @__PURE__ */ m(
3212
+ e.blocks ? /* @__PURE__ */ g(U, { children: (i = e.blocks) == null ? void 0 : i.map((a) => /* @__PURE__ */ g(
3180
3213
  un,
3181
3214
  {
3182
3215
  block: a,
@@ -3188,77 +3221,77 @@ function dn(e) {
3188
3221
  }
3189
3222
  );
3190
3223
  }
3191
- function Oi(e) {
3192
- var $;
3193
- const [t, r] = W(
3224
+ function Ui(e) {
3225
+ var V;
3226
+ const [t, r] = H(
3194
3227
  () => typeof e.space == "number" ? e.space || 0 : 20
3195
- ), [n, i] = W(() => e.columns || []), [a, s] = W(
3228
+ ), [n, i] = H(() => e.columns || []), [a, s] = H(
3196
3229
  () => e.stackColumnsAt || "tablet"
3197
3230
  );
3198
3231
  function u(v) {
3199
- var H;
3200
- return ((H = n[v]) == null ? void 0 : H.width) || 100 / n.length;
3232
+ var K;
3233
+ return ((K = n[v]) == null ? void 0 : K.width) || 100 / n.length;
3201
3234
  }
3202
3235
  function d(v) {
3203
- const H = t * (n.length - 1) / n.length;
3204
- return `calc(${u(v)}% - ${H}px)`;
3236
+ const K = t * (n.length - 1) / n.length;
3237
+ return `calc(${u(v)}% - ${K}px)`;
3205
3238
  }
3206
3239
  function p({
3207
3240
  stackedStyle: v,
3208
- desktopStyle: H
3241
+ desktopStyle: K
3209
3242
  }) {
3210
- return a === "tablet" ? v : H;
3243
+ return a === "tablet" ? v : K;
3211
3244
  }
3212
3245
  function y({
3213
3246
  stackedStyle: v,
3214
- desktopStyle: H
3247
+ desktopStyle: K
3215
3248
  }) {
3216
- return a === "never" ? H : v;
3249
+ return a === "never" ? K : v;
3217
3250
  }
3218
- const [b, P] = W(
3251
+ const [x, P] = H(
3219
3252
  () => e.stackColumnsAt === "never" ? "row" : e.reverseColumnsWhenStacked ? "column-reverse" : "column"
3220
3253
  );
3221
- function U() {
3254
+ function _() {
3222
3255
  return {
3223
- "--flex-dir": b,
3256
+ "--flex-dir": x,
3224
3257
  "--flex-dir-tablet": p({
3225
- stackedStyle: b,
3258
+ stackedStyle: x,
3226
3259
  desktopStyle: "row"
3227
3260
  })
3228
3261
  };
3229
3262
  }
3230
3263
  function C(v) {
3231
- const H = v === 0 ? 0 : t, re = d(v), ie = `${H}px`, D = "100%", R = 0;
3264
+ const K = v === 0 ? 0 : t, ae = d(v), se = `${K}px`, W = "100%", ee = 0;
3232
3265
  return {
3233
- width: re,
3234
- ["marginLeft"]: ie,
3266
+ width: ae,
3267
+ ["marginLeft"]: se,
3235
3268
  "--column-width-mobile": y({
3236
- stackedStyle: D,
3237
- desktopStyle: re
3269
+ stackedStyle: W,
3270
+ desktopStyle: ae
3238
3271
  }),
3239
3272
  "--column-margin-left-mobile": y({
3240
- stackedStyle: R,
3241
- desktopStyle: ie
3273
+ stackedStyle: ee,
3274
+ desktopStyle: se
3242
3275
  }),
3243
3276
  "--column-width-tablet": p({
3244
- stackedStyle: D,
3245
- desktopStyle: re
3277
+ stackedStyle: W,
3278
+ desktopStyle: ae
3246
3279
  }),
3247
3280
  "--column-margin-left-tablet": p({
3248
- stackedStyle: R,
3249
- desktopStyle: ie
3281
+ stackedStyle: ee,
3282
+ desktopStyle: se
3250
3283
  })
3251
3284
  };
3252
3285
  }
3253
- function T(v) {
3254
- var re, ie;
3255
- return dr(
3256
- ((ie = (re = e.builderContext.content) == null ? void 0 : re.meta) == null ? void 0 : ie.breakpoints) || {}
3286
+ function I(v) {
3287
+ var ae, se;
3288
+ return hr(
3289
+ ((se = (ae = e.builderContext.content) == null ? void 0 : ae.meta) == null ? void 0 : se.breakpoints) || {}
3257
3290
  )[v].max;
3258
3291
  }
3259
- function B() {
3292
+ function L() {
3260
3293
  return `
3261
- @media (max-width: ${T("medium")}px) {
3294
+ @media (max-width: ${I("medium")}px) {
3262
3295
  .${e.builderBlock.id}-breakpoints {
3263
3296
  flex-direction: var(--flex-dir-tablet);
3264
3297
  align-items: stretch;
@@ -3270,7 +3303,7 @@ function Oi(e) {
3270
3303
  }
3271
3304
  }
3272
3305
 
3273
- @media (max-width: ${T("small")}px) {
3306
+ @media (max-width: ${I("small")}px) {
3274
3307
  .${e.builderBlock.id}-breakpoints {
3275
3308
  flex-direction: var(--flex-dir);
3276
3309
  align-items: stretch;
@@ -3283,25 +3316,25 @@ function Oi(e) {
3283
3316
  },
3284
3317
  `;
3285
3318
  }
3286
- return /* @__PURE__ */ Z(F, { children: [
3319
+ return /* @__PURE__ */ Z(U, { children: [
3287
3320
  /* @__PURE__ */ Z(
3288
3321
  "div",
3289
3322
  {
3290
- className: `builder-columns ${e.builderBlock.id}-breakpoints div-d734ad62`,
3291
- style: U(),
3323
+ className: `builder-columns ${e.builderBlock.id}-breakpoints div-ac8f4142`,
3324
+ style: _(),
3292
3325
  children: [
3293
- /* @__PURE__ */ m(F, { children: /* @__PURE__ */ m(gt, { styles: B() }) }),
3294
- ($ = e.columns) == null ? void 0 : $.map((v, H) => /* @__PURE__ */ Vr(
3326
+ /* @__PURE__ */ g(U, { children: /* @__PURE__ */ g(gt, { styles: L() }) }),
3327
+ (V = e.columns) == null ? void 0 : V.map((v, K) => /* @__PURE__ */ ur(
3295
3328
  "div",
3296
3329
  {
3297
- className: "builder-column div-d734ad62-2",
3298
- style: C(H),
3299
- key: H
3330
+ className: "builder-column div-ac8f4142-2",
3331
+ style: C(K),
3332
+ key: K
3300
3333
  },
3301
- /* @__PURE__ */ m(
3334
+ /* @__PURE__ */ g(
3302
3335
  dn,
3303
3336
  {
3304
- path: `component.options.columns.${H}.blocks`,
3337
+ path: `component.options.columns.${K}.blocks`,
3305
3338
  parent: e.builderBlock.id,
3306
3339
  styleProp: {
3307
3340
  flexGrow: "1"
@@ -3315,27 +3348,27 @@ function Oi(e) {
3315
3348
  ]
3316
3349
  }
3317
3350
  ),
3318
- /* @__PURE__ */ m("style", { children: `.div-d734ad62 {
3351
+ /* @__PURE__ */ g("style", { children: `.div-ac8f4142 {
3319
3352
  display: flex;
3320
3353
  line-height: normal;
3321
- }.div-d734ad62-2 {
3354
+ }.div-ac8f4142-2 {
3322
3355
  display: flex;
3323
3356
  flex-direction: column;
3324
3357
  align-items: stretch;
3325
3358
  }` })
3326
3359
  ] });
3327
3360
  }
3328
- function Ni(e) {
3329
- return /* @__PURE__ */ m("span", { children: e.children });
3361
+ function Bi(e) {
3362
+ return /* @__PURE__ */ g("span", { children: e.children });
3330
3363
  }
3331
3364
  function rr(e) {
3332
3365
  return e.replace(/http(s)?:/, "");
3333
3366
  }
3334
- function Pi(e = "", t, r) {
3367
+ function _i(e = "", t, r) {
3335
3368
  const n = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), i = e.indexOf("?") !== -1 ? "&" : "?";
3336
3369
  return e.match(n) ? e.replace(n, "$1" + t + "=" + encodeURIComponent(r) + "$2") : e + i + t + "=" + encodeURIComponent(r);
3337
3370
  }
3338
- function Mi(e, t) {
3371
+ function Li(e, t) {
3339
3372
  if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
3340
3373
  return e;
3341
3374
  if (t === "master")
@@ -3354,11 +3387,11 @@ function Wt(e) {
3354
3387
  if (e.match(/builder\.io/)) {
3355
3388
  let r = e;
3356
3389
  const n = Number(e.split("?width=")[1]);
3357
- return isNaN(n) || (r = `${r} ${n}w`), t.filter((i) => i !== n).map((i) => `${Pi(e, "width", i)} ${i}w`).concat([r]).join(", ");
3390
+ return isNaN(n) || (r = `${r} ${n}w`), t.filter((i) => i !== n).map((i) => `${_i(e, "width", i)} ${i}w`).concat([r]).join(", ");
3358
3391
  }
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;
3392
+ return e.match(/cdn\.shopify\.com/) ? t.map((r) => [Li(e, `${r}x${r}`), r]).filter(([r]) => !!r).map(([r, n]) => `${r} ${n}w`).concat([e]).join(", ") : e;
3360
3393
  }
3361
- function Fi(e) {
3394
+ function $i(e) {
3362
3395
  var i, a, s, u;
3363
3396
  function t() {
3364
3397
  var y;
@@ -3388,11 +3421,11 @@ function Fi(e) {
3388
3421
  };
3389
3422
  return e.aspectRatio ? d : void 0;
3390
3423
  }
3391
- return /* @__PURE__ */ Z(F, { children: [
3392
- /* @__PURE__ */ Z(F, { children: [
3424
+ return /* @__PURE__ */ Z(U, { children: [
3425
+ /* @__PURE__ */ Z(U, { children: [
3393
3426
  /* @__PURE__ */ Z("picture", { children: [
3394
- r() ? /* @__PURE__ */ m(F, { children: /* @__PURE__ */ m("source", { type: "image/webp", srcSet: r() }) }) : null,
3395
- /* @__PURE__ */ m(
3427
+ r() ? /* @__PURE__ */ g(U, { children: /* @__PURE__ */ g("source", { type: "image/webp", srcSet: r() }) }) : null,
3428
+ /* @__PURE__ */ g(
3396
3429
  "img",
3397
3430
  {
3398
3431
  loading: "lazy",
@@ -3403,33 +3436,33 @@ function Fi(e) {
3403
3436
  objectFit: e.backgroundSize || "cover",
3404
3437
  ...n()
3405
3438
  },
3406
- className: "builder-image" + (e.className ? " " + e.className : "") + " img-ef11a6be",
3439
+ className: "builder-image" + (e.className ? " " + e.className : "") + " img-497e0136",
3407
3440
  src: e.image,
3408
3441
  srcSet: t(),
3409
3442
  sizes: e.sizes
3410
3443
  }
3411
3444
  )
3412
3445
  ] }),
3413
- e.aspectRatio && !((a = (i = e.builderBlock) == null ? void 0 : i.children) != null && a.length && e.fitContent) ? /* @__PURE__ */ m(F, { children: /* @__PURE__ */ m(
3446
+ e.aspectRatio && !((a = (i = e.builderBlock) == null ? void 0 : i.children) != null && a.length && e.fitContent) ? /* @__PURE__ */ g(U, { children: /* @__PURE__ */ g(
3414
3447
  "div",
3415
3448
  {
3416
- className: "builder-image-sizer div-ef11a6be",
3449
+ className: "builder-image-sizer div-497e0136",
3417
3450
  style: {
3418
3451
  paddingTop: e.aspectRatio * 100 + "%"
3419
3452
  }
3420
3453
  }
3421
3454
  ) }) : null,
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
3455
+ (u = (s = e.builderBlock) == null ? void 0 : s.children) != null && u.length && e.fitContent ? /* @__PURE__ */ g(U, { children: e.children }) : null,
3456
+ !e.fitContent && e.children ? /* @__PURE__ */ g(U, { children: /* @__PURE__ */ g("div", { className: "div-497e0136-2", children: e.children }) }) : null
3424
3457
  ] }),
3425
- /* @__PURE__ */ m("style", { children: `.img-ef11a6be {
3458
+ /* @__PURE__ */ g("style", { children: `.img-497e0136 {
3426
3459
  opacity: 1;
3427
3460
  transition: opacity 0.2s ease-in-out;
3428
- }.div-ef11a6be {
3461
+ }.div-497e0136 {
3429
3462
  width: 100%;
3430
3463
  pointer-events: none;
3431
3464
  font-size: 0;
3432
- }.div-ef11a6be-2 {
3465
+ }.div-497e0136-2 {
3433
3466
  display: flex;
3434
3467
  flex-direction: column;
3435
3468
  align-items: stretch;
@@ -3441,8 +3474,8 @@ function Fi(e) {
3441
3474
  }` })
3442
3475
  ] });
3443
3476
  }
3444
- function Ui(e) {
3445
- return /* @__PURE__ */ m(
3477
+ function Vi(e) {
3478
+ return /* @__PURE__ */ g(
3446
3479
  "section",
3447
3480
  {
3448
3481
  ...e.attributes,
@@ -3466,41 +3499,41 @@ const ut = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((
3466
3499
  ...t,
3467
3500
  testVariationId: t.id,
3468
3501
  id: e == null ? void 0 : e.id
3469
- })), Bi = ({
3502
+ })), Di = ({
3470
3503
  canTrack: e,
3471
3504
  content: t
3472
- }) => !(!(ut(t).length > 0) || !e || Ne());
3473
- function _i(e, t, r) {
3505
+ }) => !(!(ut(t).length > 0) || !e || Ee());
3506
+ function Wi(e, t, r) {
3474
3507
  var s;
3475
3508
  function n() {
3476
- function u(C, T, B) {
3477
- let $ = "";
3478
- if (B) {
3509
+ function u(C, I, L) {
3510
+ let V = "";
3511
+ if (L) {
3479
3512
  const v = /* @__PURE__ */ new Date();
3480
- v.setTime(v.getTime() + B * 24 * 60 * 60 * 1e3), $ = "; expires=" + v.toUTCString();
3513
+ v.setTime(v.getTime() + L * 24 * 60 * 60 * 1e3), V = "; expires=" + v.toUTCString();
3481
3514
  }
3482
- document.cookie = C + "=" + (T || "") + $ + "; path=/; Secure; SameSite=None";
3515
+ document.cookie = C + "=" + (I || "") + V + "; path=/; Secure; SameSite=None";
3483
3516
  }
3484
3517
  function d(C) {
3485
- const T = C + "=", B = document.cookie.split(";");
3486
- for (let $ = 0; $ < B.length; $++) {
3487
- let v = B[$];
3518
+ const I = C + "=", L = document.cookie.split(";");
3519
+ for (let V = 0; V < L.length; V++) {
3520
+ let v = L[V];
3488
3521
  for (; v.charAt(0) === " "; )
3489
3522
  v = v.substring(1, v.length);
3490
- if (v.indexOf(T) === 0)
3491
- return v.substring(T.length, v.length);
3523
+ if (v.indexOf(I) === 0)
3524
+ return v.substring(I.length, v.length);
3492
3525
  }
3493
3526
  return null;
3494
3527
  }
3495
- const p = `builder.tests.${e}`, y = d(p), b = t.map((C) => C.id).concat(e);
3496
- if (y && b.includes(y))
3528
+ const p = `builder.tests.${e}`, y = d(p), x = t.map((C) => C.id).concat(e);
3529
+ if (y && x.includes(y))
3497
3530
  return y;
3498
3531
  let P = 0;
3499
- const U = Math.random();
3532
+ const _ = Math.random();
3500
3533
  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;
3534
+ const I = t[C], L = I.testRatio;
3535
+ if (P += L, _ < P)
3536
+ return u(p, I.id), I.id;
3504
3537
  }
3505
3538
  return u(p, e), e;
3506
3539
  }
@@ -3517,18 +3550,18 @@ function _i(e, t, r) {
3517
3550
  a.innerHTML = u;
3518
3551
  }
3519
3552
  }
3520
- function $i(e, t, r) {
3553
+ function Hi(e, t, r) {
3521
3554
  var d;
3522
3555
  if (!navigator.cookieEnabled)
3523
3556
  return;
3524
3557
  function n(p) {
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);
3558
+ const y = p + "=", x = document.cookie.split(";");
3559
+ for (let P = 0; P < x.length; P++) {
3560
+ let _ = x[P];
3561
+ for (; _.charAt(0) === " "; )
3562
+ _ = _.substring(1, _.length);
3563
+ if (_.indexOf(y) === 0)
3564
+ return _.substring(y.length, _.length);
3532
3565
  }
3533
3566
  return null;
3534
3567
  }
@@ -3542,18 +3575,18 @@ function $i(e, t, r) {
3542
3575
  return;
3543
3576
  }
3544
3577
  }
3545
- const Li = (e) => e === "react" || e === "reactNative", Sr = Li(et), wr = "builderIoAbTest", kr = "builderIoRenderContent", Vi = () => {
3546
- const e = _i.toString().replace(/\s+/g, " "), t = $i.toString().replace(/\s+/g, " ");
3578
+ const Ki = (e) => e === "react" || e === "reactNative", kr = Ki(tt), Cr = "builderIoAbTest", Er = "builderIoRenderContent", Gi = () => {
3579
+ const e = Wi.toString().replace(/\s+/g, " "), t = Hi.toString().replace(/\s+/g, " ");
3547
3580
  return `
3548
- window.${wr} = ${e}
3549
- window.${kr} = ${t}
3581
+ window.${Cr} = ${e}
3582
+ window.${Er} = ${t}
3550
3583
  `;
3551
- }, Di = (e, t) => `
3552
- window.${wr}("${t}",${JSON.stringify(e)}, ${Sr})`, Wi = ({
3584
+ }, zi = (e, t) => `
3585
+ window.${Cr}("${t}",${JSON.stringify(e)}, ${kr})`, Xi = ({
3553
3586
  contentId: e,
3554
3587
  variationId: t
3555
3588
  }) => `
3556
- window.${kr}("${t}", "${e}", ${Sr})`, Hi = {
3589
+ window.${Er}("${t}", "${e}", ${kr})`, Ji = {
3557
3590
  name: "Core:Button",
3558
3591
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
3559
3592
  defaultStyles: {
@@ -3586,7 +3619,7 @@ const Li = (e) => e === "react" || e === "reactNative", Sr = Li(et), wr = "build
3586
3619
  }],
3587
3620
  static: !0,
3588
3621
  noWrap: !0
3589
- }, Ki = {
3622
+ }, Yi = {
3590
3623
  // TODO: ways to statically preprocess JSON for references, functions, etc
3591
3624
  name: "Columns",
3592
3625
  isRSC: !0,
@@ -3787,13 +3820,13 @@ const Li = (e) => e === "react" || e === "reactNative", Sr = Li(et), wr = "build
3787
3820
  helperText: "When stacking columns for mobile devices, reverse the ordering",
3788
3821
  advanced: !0
3789
3822
  }]
3790
- }, Gi = {
3823
+ }, qi = {
3791
3824
  name: "Fragment",
3792
3825
  static: !0,
3793
3826
  hidden: !0,
3794
3827
  canHaveChildren: !0,
3795
3828
  noWrap: !0
3796
- }, zi = {
3829
+ }, Zi = {
3797
3830
  name: "Image",
3798
3831
  static: !0,
3799
3832
  image: "https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",
@@ -3816,13 +3849,13 @@ const Li = (e) => e === "react" || e === "reactNative", Sr = Li(et), wr = "build
3816
3849
  function r(s, u = 6e4) {
3817
3850
  return new Promise((d, p) => {
3818
3851
  const y = document.createElement("img");
3819
- let b = !1;
3852
+ let x = !1;
3820
3853
  y.onload = () => {
3821
- b = !0, d(y);
3854
+ x = !0, d(y);
3822
3855
  }, y.addEventListener("error", (P) => {
3823
3856
  console.warn("Image load failed", P.error), p(P.error);
3824
3857
  }), y.src = s, setTimeout(() => {
3825
- b || p(new Error("Image load timed out"));
3858
+ x || p(new Error("Image load timed out"));
3826
3859
  }, u);
3827
3860
  });
3828
3861
  }
@@ -3893,7 +3926,7 @@ const Li = (e) => e === "react" || e === "reactNative", Sr = Li(et), wr = "build
3893
3926
  advanced: !0,
3894
3927
  defaultValue: 0.7041
3895
3928
  }]
3896
- }, Xi = {
3929
+ }, Qi = {
3897
3930
  name: "Core:Section",
3898
3931
  static: !0,
3899
3932
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -3932,7 +3965,7 @@ const Li = (e) => e === "react" || e === "reactNative", Sr = Li(et), wr = "build
3932
3965
  }
3933
3966
  }
3934
3967
  }]
3935
- }, Ji = {
3968
+ }, eo = {
3936
3969
  name: "Symbol",
3937
3970
  noWrap: !0,
3938
3971
  static: !0,
@@ -3965,7 +3998,7 @@ const Li = (e) => e === "react" || e === "reactNative", Sr = Li(et), wr = "build
3965
3998
  hideFromUI: !0,
3966
3999
  type: "boolean"
3967
4000
  }]
3968
- }, Yi = {
4001
+ }, to = {
3969
4002
  name: "Text",
3970
4003
  static: !0,
3971
4004
  isRSC: !0,
@@ -3984,9 +4017,9 @@ const Li = (e) => e === "react" || e === "reactNative", Sr = Li(et), wr = "build
3984
4017
  textAlign: "center"
3985
4018
  }
3986
4019
  };
3987
- function qi(e) {
4020
+ function no(e) {
3988
4021
  var t;
3989
- return /* @__PURE__ */ m(
4022
+ return /* @__PURE__ */ g(
3990
4023
  "div",
3991
4024
  {
3992
4025
  className: "builder-text",
@@ -3997,7 +4030,7 @@ function qi(e) {
3997
4030
  }
3998
4031
  );
3999
4032
  }
4000
- const Zi = {
4033
+ const ro = {
4001
4034
  name: "Video",
4002
4035
  canHaveChildren: !0,
4003
4036
  defaultStyles: {
@@ -4079,7 +4112,7 @@ const Zi = {
4079
4112
  advanced: !0
4080
4113
  }]
4081
4114
  };
4082
- function Qi(e) {
4115
+ function io(e) {
4083
4116
  var n;
4084
4117
  function t() {
4085
4118
  return {
@@ -4106,7 +4139,7 @@ function Qi(e) {
4106
4139
  ...t()
4107
4140
  };
4108
4141
  }
4109
- return /* @__PURE__ */ m(
4142
+ return /* @__PURE__ */ g(
4110
4143
  "video",
4111
4144
  {
4112
4145
  ...r(),
@@ -4126,7 +4159,7 @@ function Qi(e) {
4126
4159
  }
4127
4160
  );
4128
4161
  }
4129
- const eo = {
4162
+ const oo = {
4130
4163
  name: "Embed",
4131
4164
  static: !0,
4132
4165
  inputs: [{
@@ -4151,30 +4184,30 @@ const eo = {
4151
4184
  defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
4152
4185
  hideFromUI: !0
4153
4186
  }]
4154
- }, to = ["text/javascript", "application/javascript", "application/ecmascript"], no = (e) => to.includes(e.type);
4155
- function ro(e) {
4156
- const t = Yt(null), [r, n] = W(() => []), [i, a] = W(() => []), [s, u] = W(() => !1);
4187
+ }, ao = ["text/javascript", "application/javascript", "application/ecmascript"], so = (e) => ao.includes(e.type);
4188
+ function lo(e) {
4189
+ const t = Yt(null), [r, n] = H(() => []), [i, a] = H(() => []), [s, u] = H(() => !1);
4157
4190
  function d() {
4158
4191
  if (!t.current || !t.current.getElementsByTagName)
4159
4192
  return;
4160
4193
  const p = t.current.getElementsByTagName("script");
4161
4194
  for (let y = 0; y < p.length; y++) {
4162
- const b = p[y];
4163
- if (b.src && !r.includes(b.src)) {
4164
- r.push(b.src);
4195
+ const x = p[y];
4196
+ if (x.src && !r.includes(x.src)) {
4197
+ r.push(x.src);
4165
4198
  const P = document.createElement("script");
4166
- P.async = !0, P.src = b.src, document.head.appendChild(P);
4167
- } else if (no(b) && !i.includes(b.innerText))
4199
+ P.async = !0, P.src = x.src, document.head.appendChild(P);
4200
+ } else if (so(x) && !i.includes(x.innerText))
4168
4201
  try {
4169
- i.push(b.innerText), new Function(b.innerText)();
4202
+ i.push(x.innerText), new Function(x.innerText)();
4170
4203
  } catch (P) {
4171
4204
  console.warn("`Embed`: Error running script:", P);
4172
4205
  }
4173
4206
  }
4174
4207
  }
4175
- return ae(() => {
4208
+ return Q(() => {
4176
4209
  t.current && !s && (u(!0), d());
4177
- }, [t.current, s]), /* @__PURE__ */ m(
4210
+ }, [t.current, s]), /* @__PURE__ */ g(
4178
4211
  "div",
4179
4212
  {
4180
4213
  className: "builder-embed",
@@ -4183,8 +4216,8 @@ function ro(e) {
4183
4216
  }
4184
4217
  );
4185
4218
  }
4186
- function io(e) {
4187
- return /* @__PURE__ */ m(
4219
+ function co(e) {
4220
+ return /* @__PURE__ */ g(
4188
4221
  "img",
4189
4222
  {
4190
4223
  style: {
@@ -4195,10 +4228,10 @@ function io(e) {
4195
4228
  src: e.imgSrc || e.image,
4196
4229
  ...e.attributes
4197
4230
  },
4198
- ke() && e.imgSrc || "default-key"
4231
+ Ce() && e.imgSrc || "default-key"
4199
4232
  );
4200
4233
  }
4201
- const oo = {
4234
+ const uo = {
4202
4235
  // friendlyName?
4203
4236
  name: "Raw:Img",
4204
4237
  hideFromInsertMenu: !0,
@@ -4213,38 +4246,36 @@ const oo = {
4213
4246
  noWrap: !0,
4214
4247
  static: !0
4215
4248
  };
4216
- function ao(e) {
4217
- const t = Yt(null), [r, n] = W(() => []), [i, a] = W(() => []);
4218
- function s() {
4219
- if (t.current && t.current.getElementsByTagName && typeof window < "u") {
4220
- const u = t.current.getElementsByTagName("script");
4221
- for (let d = 0; d < u.length; d++) {
4222
- const p = u[d];
4223
- if (p.src) {
4224
- if (r.includes(p.src))
4225
- continue;
4226
- r.push(p.src);
4227
- const y = document.createElement("script");
4228
- y.async = !0, y.src = p.src, document.head.appendChild(y);
4229
- } else if (!p.type || [
4230
- "text/javascript",
4231
- "application/javascript",
4232
- "application/ecmascript"
4233
- ].includes(p.type)) {
4234
- if (i.includes(p.innerText))
4235
- continue;
4236
- try {
4237
- i.push(p.innerText), new Function(p.innerText)();
4238
- } catch (y) {
4239
- console.warn("`CustomCode`: Error running script:", y);
4240
- }
4249
+ function fo(e) {
4250
+ const t = Yt(null), [r, n] = H(() => []), [i, a] = H(() => []);
4251
+ return Q(() => {
4252
+ var u;
4253
+ if (!((u = t.current) != null && u.getElementsByTagName) || typeof window > "u")
4254
+ return;
4255
+ const s = t.current.getElementsByTagName("script");
4256
+ for (let d = 0; d < s.length; d++) {
4257
+ const p = s[d];
4258
+ if (p.src) {
4259
+ if (r.includes(p.src))
4260
+ continue;
4261
+ r.push(p.src);
4262
+ const y = document.createElement("script");
4263
+ y.async = !0, y.src = p.src, document.head.appendChild(y);
4264
+ } else if (!p.type || [
4265
+ "text/javascript",
4266
+ "application/javascript",
4267
+ "application/ecmascript"
4268
+ ].includes(p.type)) {
4269
+ if (i.includes(p.innerText))
4270
+ continue;
4271
+ try {
4272
+ i.push(p.innerText), new Function(p.innerText)();
4273
+ } catch (y) {
4274
+ console.warn("`CustomCode`: Error running script:", y);
4241
4275
  }
4242
4276
  }
4243
4277
  }
4244
- }
4245
- return ae(() => {
4246
- s();
4247
- }, []), /* @__PURE__ */ m(
4278
+ }, []), /* @__PURE__ */ g(
4248
4279
  "div",
4249
4280
  {
4250
4281
  ref: t,
@@ -4253,7 +4284,7 @@ function ao(e) {
4253
4284
  }
4254
4285
  );
4255
4286
  }
4256
- const so = {
4287
+ const ho = {
4257
4288
  name: "Custom Code",
4258
4289
  static: !0,
4259
4290
  requiredPermissions: ["editCode"],
@@ -4276,39 +4307,39 @@ const so = {
4276
4307
  advanced: !0
4277
4308
  }]
4278
4309
  }, ir = () => [{
4279
- component: Xr,
4280
- ...Hi
4310
+ component: Jr,
4311
+ ...Ji
4281
4312
  }, {
4282
- component: Oi,
4283
- ...Ki
4313
+ component: Ui,
4314
+ ...Yi
4284
4315
  }, {
4285
- component: ao,
4286
- ...so
4316
+ component: fo,
4317
+ ...ho
4287
4318
  }, {
4288
- component: ro,
4289
- ...eo
4319
+ component: lo,
4320
+ ...oo
4290
4321
  }, {
4291
- component: Ni,
4292
- ...Gi
4322
+ component: Bi,
4323
+ ...qi
4293
4324
  }, {
4294
- component: Fi,
4295
- ...zi
4325
+ component: $i,
4326
+ ...Zi
4296
4327
  }, {
4297
- component: io,
4298
- ...oo
4328
+ component: co,
4329
+ ...uo
4299
4330
  }, {
4300
- component: Ui,
4301
- ...Xi
4331
+ component: Vi,
4332
+ ...Qi
4302
4333
  }, {
4303
- component: ko,
4304
- ...Ji
4334
+ component: jo,
4335
+ ...eo
4305
4336
  }, {
4306
- component: qi,
4307
- ...Yi
4337
+ component: no,
4338
+ ...to
4308
4339
  }, {
4309
- component: Qi,
4310
- ...Zi
4311
- }], lo = (e) => {
4340
+ component: io,
4341
+ ...ro
4342
+ }], po = (e) => {
4312
4343
  var a;
4313
4344
  const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), r = t.split(",")[0], n = e.fileUrl ?? ((a = e == null ? void 0 : e.files) == null ? void 0 : a.regular);
4314
4345
  let i = "";
@@ -4334,23 +4365,23 @@ font-weight: ${s};
4334
4365
  `.trim());
4335
4366
  }
4336
4367
  return i;
4337
- }, co = ({
4368
+ }, mo = ({
4338
4369
  customFonts: e
4339
4370
  }) => {
4340
4371
  var t;
4341
- return ((t = e == null ? void 0 : e.map((r) => lo(r))) == null ? void 0 : t.join(" ")) || "";
4342
- }, uo = ({
4372
+ return ((t = e == null ? void 0 : e.map((r) => po(r))) == null ? void 0 : t.join(" ")) || "";
4373
+ }, go = ({
4343
4374
  cssCode: e,
4344
4375
  contentId: t
4345
4376
  }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "";
4346
- function fo(e) {
4347
- const [t, r] = W(
4377
+ function yo(e) {
4378
+ const [t, r] = H(
4348
4379
  () => `
4349
- ${uo({
4380
+ ${go({
4350
4381
  cssCode: e.cssCode,
4351
4382
  contentId: e.contentId
4352
4383
  })}
4353
- ${co({
4384
+ ${mo({
4354
4385
  customFonts: e.customFonts
4355
4386
  })}
4356
4387
 
@@ -4368,9 +4399,9 @@ ${co({
4368
4399
  }
4369
4400
  `.trim()
4370
4401
  );
4371
- return /* @__PURE__ */ m(gt, { styles: t });
4402
+ return /* @__PURE__ */ g(gt, { styles: t });
4372
4403
  }
4373
- const ho = ({
4404
+ const vo = ({
4374
4405
  content: e,
4375
4406
  data: t,
4376
4407
  locale: r
@@ -4392,7 +4423,7 @@ const ho = ({
4392
4423
  ...n,
4393
4424
  ...i
4394
4425
  };
4395
- }, po = ({
4426
+ }, xo = ({
4396
4427
  content: e,
4397
4428
  data: t
4398
4429
  }) => e ? {
@@ -4402,8 +4433,8 @@ const ho = ({
4402
4433
  ...t
4403
4434
  },
4404
4435
  meta: e == null ? void 0 : e.meta
4405
- } : void 0, mo = "0.7.0", go = () => {
4406
- Wr("insertMenu", {
4436
+ } : void 0, bo = "0.7.1-0", So = () => {
4437
+ Hr("insertMenu", {
4407
4438
  name: "_default",
4408
4439
  default: !0,
4409
4440
  items: [{
@@ -4426,13 +4457,13 @@ const ho = ({
4426
4457
  });
4427
4458
  };
4428
4459
  let or = !1;
4429
- const yo = (e = {}) => {
4460
+ const wo = (e = {}) => {
4430
4461
  var t, r;
4431
- or || (or = !0, Ne() && ((t = window.parent) == null || t.postMessage({
4462
+ or || (or = !0, Ee() && ((t = window.parent) == null || t.postMessage({
4432
4463
  type: "builder.sdkInfo",
4433
4464
  data: {
4434
- target: et,
4435
- version: mo,
4465
+ target: tt,
4466
+ version: bo,
4436
4467
  supportsPatchUpdates: !1,
4437
4468
  // Supports builder-model="..." attribute which is needed to
4438
4469
  // scope our '+ add block' button styling
@@ -4452,21 +4483,21 @@ const yo = (e = {}) => {
4452
4483
  switch (n.type) {
4453
4484
  case "builder.evaluate": {
4454
4485
  const s = n.data.text, u = n.data.arguments || [], d = n.data.id, p = new Function(s);
4455
- let y, b = null;
4486
+ let y, x = null;
4456
4487
  try {
4457
4488
  y = p.apply(null, u);
4458
4489
  } catch (P) {
4459
- b = P;
4490
+ x = P;
4460
4491
  }
4461
- b ? (i = window.parent) == null || i.postMessage({
4492
+ x ? (i = window.parent) == null || i.postMessage({
4462
4493
  type: "builder.evaluateError",
4463
4494
  data: {
4464
4495
  id: d,
4465
- error: b.message
4496
+ error: x.message
4466
4497
  }
4467
4498
  }, "*") : y && typeof y.then == "function" ? y.then((P) => {
4468
- var U;
4469
- (U = window.parent) == null || U.postMessage({
4499
+ var _;
4500
+ (_ = window.parent) == null || _.postMessage({
4470
4501
  type: "builder.evaluateResult",
4471
4502
  data: {
4472
4503
  id: d,
@@ -4488,7 +4519,7 @@ const yo = (e = {}) => {
4488
4519
  function ar(e) {
4489
4520
  return Math.round(e * 1e3) / 1e3;
4490
4521
  }
4491
- const vo = (e, t, r = !0) => {
4522
+ const ko = (e, t, r = !0) => {
4492
4523
  if (!(e instanceof HTMLElement))
4493
4524
  return null;
4494
4525
  let n = r ? e : e.parentElement;
@@ -4499,7 +4530,7 @@ const vo = (e, t, r = !0) => {
4499
4530
  return n;
4500
4531
  } while (n = n.parentElement);
4501
4532
  return null;
4502
- }, xo = (e) => vo(e, (t) => {
4533
+ }, Co = (e) => ko(e, (t) => {
4503
4534
  const r = t.getAttribute("builder-id") || t.id;
4504
4535
  return (r == null ? void 0 : r.indexOf("builder-")) === 0;
4505
4536
  }), sr = ({
@@ -4511,8 +4542,8 @@ const vo = (e, t, r = !0) => {
4511
4542
  x: a,
4512
4543
  y: s
4513
4544
  };
4514
- }, bo = (e) => {
4515
- const t = e.target, r = t && xo(t), n = (r == null ? void 0 : r.getAttribute("builder-id")) || (r == null ? void 0 : r.id);
4545
+ }, Eo = (e) => {
4546
+ const t = e.target, r = t && Co(t), n = (r == null ? void 0 : r.getAttribute("builder-id")) || (r == null ? void 0 : r.id);
4516
4547
  return {
4517
4548
  targetBuilderElement: n || void 0,
4518
4549
  metadata: {
@@ -4528,89 +4559,89 @@ const vo = (e, t, r = !0) => {
4528
4559
  }
4529
4560
  };
4530
4561
  };
4531
- function So(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 = {
4562
+ function Io(e) {
4563
+ var ae, se, W, ee, T;
4564
+ const t = Yt(null), [r, n] = H(() => 0);
4565
+ function i(O) {
4566
+ var B, M, j, D, Se;
4567
+ const b = {
4537
4568
  ...e.builderContextSignal.content,
4538
- ...R,
4569
+ ...O,
4539
4570
  data: {
4540
- ...(N = e.builderContextSignal.content) == null ? void 0 : N.data,
4541
- ...R == null ? void 0 : R.data
4571
+ ...(B = e.builderContextSignal.content) == null ? void 0 : B.data,
4572
+ ...O == null ? void 0 : O.data
4542
4573
  },
4543
4574
  meta: {
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)
4575
+ ...(M = e.builderContextSignal.content) == null ? void 0 : M.meta,
4576
+ ...O == null ? void 0 : O.meta,
4577
+ breakpoints: ((j = O == null ? void 0 : O.meta) == null ? void 0 : j.breakpoints) || ((Se = (D = e.builderContextSignal.content) == null ? void 0 : D.meta) == null ? void 0 : Se.breakpoints)
4547
4578
  }
4548
4579
  };
4549
- e.setBuilderContextSignal((se) => ({
4550
- ...se,
4551
- content: x
4580
+ e.setBuilderContextSignal((ie) => ({
4581
+ ...ie,
4582
+ content: b
4552
4583
  }));
4553
4584
  }
4554
- W(() => 0);
4555
- const [a, s] = W(
4585
+ H(() => 0);
4586
+ const [a, s] = H(
4556
4587
  () => !1
4557
4588
  );
4558
- function u(R) {
4559
- var N;
4560
- const { data: x } = R;
4561
- if (x)
4562
- switch (x.type) {
4589
+ function u(O) {
4590
+ var B;
4591
+ const { data: b } = O;
4592
+ if (b)
4593
+ switch (b.type) {
4563
4594
  case "builder.configureSdk": {
4564
- const E = x.data, { breakpoints: L, contentId: K } = E;
4565
- if (!K || K !== ((N = e.builderContextSignal.content) == null ? void 0 : N.id))
4595
+ const M = b.data, { breakpoints: j, contentId: D } = M;
4596
+ if (!D || D !== ((B = e.builderContextSignal.content) == null ? void 0 : B.id))
4566
4597
  return;
4567
- L && i({
4598
+ j && i({
4568
4599
  meta: {
4569
- breakpoints: L
4600
+ breakpoints: j
4570
4601
  }
4571
4602
  }), n(r + 1);
4572
4603
  break;
4573
4604
  }
4574
4605
  case "builder.contentUpdate": {
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));
4606
+ const M = b.data, j = M.key || M.alias || M.entry || M.modelName, D = M.data;
4607
+ j === e.model && (i(D), n(r + 1));
4577
4608
  break;
4578
4609
  }
4579
4610
  }
4580
4611
  }
4581
4612
  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,
4613
+ var b, B;
4614
+ const O = (B = (b = e.builderContextSignal.content) == null ? void 0 : b.data) == null ? void 0 : B.jsCode;
4615
+ O && et({
4616
+ code: O,
4586
4617
  context: e.context || {},
4587
4618
  localState: void 0,
4588
4619
  rootState: e.builderContextSignal.rootState,
4589
4620
  rootSetState: e.builderContextSignal.rootSetState
4590
4621
  });
4591
4622
  }
4592
- const [p, y] = W(() => ({})), [b, P] = W(() => !1);
4593
- function U(R) {
4594
- var x, N;
4623
+ const [p, y] = H(() => ({})), [x, P] = H(() => !1);
4624
+ function _(O) {
4625
+ var b, B;
4595
4626
  if (e.builderContextSignal.content) {
4596
- const E = (x = e.builderContextSignal.content) == null ? void 0 : x.testVariationId, L = (N = e.builderContextSignal.content) == null ? void 0 : N.id;
4627
+ const M = (b = e.builderContextSignal.content) == null ? void 0 : b.testVariationId, j = (B = e.builderContextSignal.content) == null ? void 0 : B.id;
4597
4628
  Kn({
4598
4629
  type: "click",
4599
4630
  canTrack: ft(e.canTrack),
4600
- contentId: L,
4631
+ contentId: j,
4601
4632
  apiKey: e.apiKey,
4602
- variationId: E !== L ? E : void 0,
4603
- ...bo(R),
4604
- unique: !b
4633
+ variationId: M !== j ? M : void 0,
4634
+ ...Eo(O),
4635
+ unique: !x
4605
4636
  });
4606
4637
  }
4607
- b || P(!0);
4638
+ x || P(!0);
4608
4639
  }
4609
- function C(R) {
4610
- return R.replace(
4640
+ function C(O) {
4641
+ return O.replace(
4611
4642
  /{{([^}]+)}}/g,
4612
- (x, N) => Qe({
4613
- code: N,
4643
+ (b, B) => et({
4644
+ code: B,
4614
4645
  context: e.context || {},
4615
4646
  localState: void 0,
4616
4647
  rootState: e.builderContextSignal.rootState,
@@ -4618,33 +4649,33 @@ function So(e) {
4618
4649
  })
4619
4650
  );
4620
4651
  }
4621
- function T({ url: R, key: x }) {
4622
- Gr(R).then((N) => N.json()).then((N) => {
4623
- var L, K;
4624
- const E = {
4652
+ function I({ url: O, key: b }) {
4653
+ zr(O).then((B) => B.json()).then((B) => {
4654
+ var j, D;
4655
+ const M = {
4625
4656
  ...e.builderContextSignal.rootState,
4626
- [x]: N
4657
+ [b]: B
4627
4658
  };
4628
- (K = (L = e.builderContextSignal).rootSetState) == null || K.call(L, E), p[x] = !0;
4629
- }).catch((N) => {
4630
- console.error("error fetching dynamic data", R, N);
4659
+ (D = (j = e.builderContextSignal).rootSetState) == null || D.call(j, M), p[b] = !0;
4660
+ }).catch((B) => {
4661
+ console.error("error fetching dynamic data", O, B);
4631
4662
  });
4632
4663
  }
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
4664
+ function L() {
4665
+ var b, B;
4666
+ const O = ((B = (b = e.builderContextSignal.content) == null ? void 0 : b.data) == null ? void 0 : B.httpRequests) ?? {};
4667
+ Object.entries(O).forEach(([M, j]) => {
4668
+ if (j && (!p[M] || Ce())) {
4669
+ const D = C(j);
4670
+ I({
4671
+ url: D,
4672
+ key: M
4642
4673
  });
4643
4674
  }
4644
4675
  });
4645
4676
  }
4646
- function $() {
4647
- ke() && window.dispatchEvent(
4677
+ function V() {
4678
+ Ce() && window.dispatchEvent(
4648
4679
  new CustomEvent(
4649
4680
  "builder:component:stateChange",
4650
4681
  {
@@ -4658,90 +4689,119 @@ function So(e) {
4658
4689
  )
4659
4690
  );
4660
4691
  }
4661
- return ae(() => {
4662
- var R, x;
4663
- if (e.apiKey || Oe.error(
4664
- "No API key provided to `RenderContent` component. This can cause issues. Please provide an API key using the `apiKey` prop."
4665
- ), Ne()) {
4666
- if (ke() && (n(r + 1), window.addEventListener("message", u), go(), yo({
4667
- ...e.locale ? {
4668
- locale: e.locale
4669
- } : {},
4670
- ...e.includeRefs ? {
4671
- includeRefs: e.includeRefs
4672
- } : {},
4673
- ...e.enrich ? {
4674
- enrich: e.enrich
4675
- } : {}
4676
- }), Object.values(
4677
- e.builderContextSignal.componentInfos
4678
- ).forEach((N) => {
4679
- var L;
4680
- const E = Hr(N);
4681
- (L = window.parent) == null || L.postMessage(E, "*");
4682
- }), window.addEventListener(
4683
- "builder:component:stateChangeListenerActivated",
4684
- $
4685
- )), e.builderContextSignal.content) {
4686
- const N = (R = e.builderContextSignal.content) == null ? void 0 : R.testVariationId, E = (x = e.builderContextSignal.content) == null ? void 0 : x.id;
4692
+ function v(O) {
4693
+ n(r + 1), window.addEventListener("message", u), So(), wo({
4694
+ ...e.locale ? {
4695
+ locale: e.locale
4696
+ } : {},
4697
+ ...e.includeRefs ? {
4698
+ includeRefs: e.includeRefs
4699
+ } : {},
4700
+ ...e.enrich ? {
4701
+ enrich: e.enrich
4702
+ } : {}
4703
+ }), Object.values(
4704
+ e.builderContextSignal.componentInfos
4705
+ ).forEach((b) => {
4706
+ var M;
4707
+ const B = Gr(b);
4708
+ (M = window.parent) == null || M.postMessage(B, "*");
4709
+ }), window.addEventListener(
4710
+ "builder:component:stateChangeListenerActivated",
4711
+ V
4712
+ );
4713
+ }
4714
+ function K(O) {
4715
+ const b = new URL(location.href).searchParams, B = b.get("builder.preview"), M = b.get(
4716
+ `builder.preview.${B}`
4717
+ ), j = b.get("apiKey") || b.get("builder.space");
4718
+ B === e.model && j === e.apiKey && (!e.content || M === e.content.id) && fr({
4719
+ model: e.model,
4720
+ apiKey: e.apiKey,
4721
+ apiVersion: e.builderContextSignal.apiVersion
4722
+ }).then((D) => {
4723
+ D && i(D);
4724
+ });
4725
+ }
4726
+ return Q(() => {
4727
+ var O;
4728
+ return (O = t.current) == null || O.addEventListener(
4729
+ "initeditingbldr",
4730
+ v
4731
+ ), () => {
4732
+ var b;
4733
+ return (b = t.current) == null ? void 0 : b.removeEventListener(
4734
+ "initeditingbldr",
4735
+ v
4736
+ );
4737
+ };
4738
+ }, []), Q(() => {
4739
+ var O;
4740
+ return (O = t.current) == null || O.addEventListener(
4741
+ "initpreviewingbldr",
4742
+ K
4743
+ ), () => {
4744
+ var b;
4745
+ return (b = t.current) == null ? void 0 : b.removeEventListener(
4746
+ "initpreviewingbldr",
4747
+ K
4748
+ );
4749
+ };
4750
+ }, []), Q(() => {
4751
+ var O, b;
4752
+ if (Ee()) {
4753
+ if (Ce() && t.current && t.current.dispatchEvent(new CustomEvent("initeditingbldr")), e.builderContextSignal.content && ft(e.canTrack)) {
4754
+ const M = (O = e.builderContextSignal.content) == null ? void 0 : O.testVariationId, j = (b = e.builderContextSignal.content) == null ? void 0 : b.id, D = e.apiKey;
4687
4755
  Kn({
4688
4756
  type: "impression",
4689
- canTrack: ft(e.canTrack),
4690
- contentId: E,
4691
- apiKey: e.apiKey,
4692
- variationId: N !== E ? N : void 0
4757
+ canTrack: !0,
4758
+ contentId: j,
4759
+ apiKey: D,
4760
+ variationId: M !== j ? M : void 0
4693
4761
  });
4694
4762
  }
4695
- if (Kr()) {
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({
4700
- model: e.model,
4701
- apiKey: e.apiKey,
4702
- apiVersion: e.builderContextSignal.apiVersion
4703
- }).then((V) => {
4704
- V && i(V);
4705
- });
4706
- }
4707
- d(), B(), $();
4763
+ Kr() && t.current && t.current.dispatchEvent(new CustomEvent("initpreviewingbldr"));
4708
4764
  }
4709
- }, []), ae(() => {
4765
+ }, []), Q(() => {
4766
+ e.apiKey || Pe.error(
4767
+ "No API key provided to `RenderContent` component. This can cause issues. Please provide an API key using the `apiKey` prop."
4768
+ ), d(), L(), V();
4769
+ }, []), Q(() => {
4710
4770
  e.content && i(e.content);
4711
- }, [e.content]), ae(() => {
4712
- }, [a]), ae(() => {
4771
+ }, [e.content]), Q(() => {
4772
+ }, [a]), Q(() => {
4713
4773
  d();
4714
4774
  }, [
4715
- (H = (v = e.builderContextSignal.content) == null ? void 0 : v.data) == null ? void 0 : H.jsCode,
4775
+ (se = (ae = e.builderContextSignal.content) == null ? void 0 : ae.data) == null ? void 0 : se.jsCode,
4716
4776
  e.builderContextSignal.rootState
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(
4777
+ ]), Q(() => {
4778
+ L();
4779
+ }, [(ee = (W = e.builderContextSignal.content) == null ? void 0 : W.data) == null ? void 0 : ee.httpRequests]), Q(() => {
4780
+ V();
4781
+ }, [e.builderContextSignal.rootState]), Q(() => () => {
4782
+ Ee() && (window.removeEventListener("message", u), window.removeEventListener(
4723
4783
  "builder:component:stateChangeListenerActivated",
4724
- $
4784
+ V
4725
4785
  ));
4726
- }, []), /* @__PURE__ */ m(fn.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content ? /* @__PURE__ */ m(F, { children: /* @__PURE__ */ m(
4786
+ }, []), /* @__PURE__ */ g(fn.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content ? /* @__PURE__ */ g(U, { children: /* @__PURE__ */ ur(
4727
4787
  "div",
4728
4788
  {
4789
+ key: r,
4729
4790
  ref: t,
4730
- onClick: (R) => U(R),
4731
- "builder-content-id": (D = e.builderContextSignal.content) == null ? void 0 : D.id,
4791
+ onClick: (O) => _(O),
4792
+ "builder-content-id": (T = e.builderContextSignal.content) == null ? void 0 : T.id,
4732
4793
  "builder-model": e.model,
4733
4794
  ...e.showContent ? {} : {
4734
4795
  hidden: !0,
4735
4796
  "aria-hidden": !0
4736
4797
  },
4737
- className: e.classNameProp,
4738
- children: e.children
4798
+ className: e.classNameProp
4739
4799
  },
4740
- r
4800
+ e.children
4741
4801
  ) }) : null });
4742
4802
  }
4743
4803
  function Jt(e) {
4744
- return /* @__PURE__ */ m(
4804
+ return /* @__PURE__ */ g(
4745
4805
  "script",
4746
4806
  {
4747
4807
  dangerouslySetInnerHTML: { __html: e.scriptStr },
@@ -4750,25 +4810,25 @@ function Jt(e) {
4750
4810
  );
4751
4811
  }
4752
4812
  function lr(e) {
4753
- var d, p, y, b, P, U, C;
4754
- const [t, r] = W(
4813
+ var d, p, y, x, P, _, C;
4814
+ const [t, r] = H(
4755
4815
  () => {
4756
- var T, B;
4757
- return Wi({
4816
+ var I, L;
4817
+ return Xi({
4758
4818
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
4759
- variationId: (T = e.content) == null ? void 0 : T.testVariationId,
4819
+ variationId: (I = e.content) == null ? void 0 : I.testVariationId,
4760
4820
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
4761
- contentId: (B = e.content) == null ? void 0 : B.id
4821
+ contentId: (L = e.content) == null ? void 0 : L.id
4762
4822
  });
4763
4823
  }
4764
4824
  );
4765
- function n(T) {
4766
- u((B) => ({
4767
- ...B,
4768
- rootState: T
4825
+ function n(I) {
4826
+ u((L) => ({
4827
+ ...L,
4828
+ rootState: I
4769
4829
  }));
4770
4830
  }
4771
- const [i, a] = W(
4831
+ const [i, a] = H(
4772
4832
  () => [
4773
4833
  ...ir(),
4774
4834
  // While this `components` object is deprecated, we must maintain support for it.
@@ -4779,22 +4839,22 @@ function lr(e) {
4779
4839
  ...Gn,
4780
4840
  ...e.customComponents || []
4781
4841
  ].reduce(
4782
- (T, { component: B, ...$ }) => ({
4783
- ...T,
4784
- [$.name]: {
4785
- component: B,
4786
- ...zn($)
4842
+ (I, { component: L, ...V }) => ({
4843
+ ...I,
4844
+ [V.name]: {
4845
+ component: L,
4846
+ ...zn(V)
4787
4847
  }
4788
4848
  }),
4789
4849
  {}
4790
4850
  )
4791
- ), [s, u] = W(() => ({
4792
- content: po({
4851
+ ), [s, u] = H(() => ({
4852
+ content: xo({
4793
4853
  content: e.content,
4794
4854
  data: e.data
4795
4855
  }),
4796
4856
  localState: void 0,
4797
- rootState: ho({
4857
+ rootState: vo({
4798
4858
  content: e.content,
4799
4859
  data: e.data,
4800
4860
  locale: e.locale
@@ -4813,22 +4873,22 @@ function lr(e) {
4813
4873
  ...Gn,
4814
4874
  ...e.customComponents || []
4815
4875
  ].reduce(
4816
- (T, { component: B, ...$ }) => ({
4817
- ...T,
4818
- [$.name]: zn($)
4876
+ (I, { component: L, ...V }) => ({
4877
+ ...I,
4878
+ [V.name]: zn(V)
4819
4879
  }),
4820
4880
  {}
4821
4881
  ),
4822
4882
  inheritedStyles: {}
4823
4883
  }));
4824
- return /* @__PURE__ */ m(
4825
- br.Provider,
4884
+ return /* @__PURE__ */ g(
4885
+ wr.Provider,
4826
4886
  {
4827
4887
  value: {
4828
4888
  registeredComponents: i
4829
4889
  },
4830
4890
  children: /* @__PURE__ */ Z(
4831
- So,
4891
+ Io,
4832
4892
  {
4833
4893
  content: e.content,
4834
4894
  model: e.model,
@@ -4843,19 +4903,19 @@ function lr(e) {
4843
4903
  builderContextSignal: s,
4844
4904
  setBuilderContextSignal: u,
4845
4905
  children: [
4846
- e.isSsrAbTest ? /* @__PURE__ */ m(F, { children: /* @__PURE__ */ m(Jt, { scriptStr: t }) }) : null,
4847
- /* @__PURE__ */ m(F, { children: /* @__PURE__ */ m(
4848
- fo,
4906
+ e.isSsrAbTest ? /* @__PURE__ */ g(U, { children: /* @__PURE__ */ g(Jt, { scriptStr: t }) }) : null,
4907
+ /* @__PURE__ */ g(U, { children: /* @__PURE__ */ g(
4908
+ yo,
4849
4909
  {
4850
4910
  contentId: (d = s.content) == null ? void 0 : d.id,
4851
4911
  cssCode: (y = (p = s.content) == null ? void 0 : p.data) == null ? void 0 : y.cssCode,
4852
- customFonts: (P = (b = s.content) == null ? void 0 : b.data) == null ? void 0 : P.customFonts
4912
+ customFonts: (P = (x = s.content) == null ? void 0 : x.data) == null ? void 0 : P.customFonts
4853
4913
  }
4854
4914
  ) }),
4855
- /* @__PURE__ */ m(
4915
+ /* @__PURE__ */ g(
4856
4916
  dn,
4857
4917
  {
4858
- blocks: (C = (U = s.content) == null ? void 0 : U.data) == null ? void 0 : C.blocks,
4918
+ blocks: (C = (_ = s.content) == null ? void 0 : _.data) == null ? void 0 : C.blocks,
4859
4919
  context: s,
4860
4920
  registeredComponents: i
4861
4921
  }
@@ -4866,17 +4926,17 @@ function lr(e) {
4866
4926
  }
4867
4927
  );
4868
4928
  }
4869
- function Cr(e) {
4929
+ function Ir(e) {
4870
4930
  var s, u, d;
4871
- const [t, r] = W(
4872
- () => Bi({
4931
+ const [t, r] = H(
4932
+ () => Di({
4873
4933
  canTrack: ft(e.canTrack),
4874
4934
  content: e.content
4875
4935
  })
4876
4936
  );
4877
4937
  function n() {
4878
4938
  var p;
4879
- return Di(
4939
+ return zi(
4880
4940
  ut(e.content).map((y) => ({
4881
4941
  id: y.testVariationId,
4882
4942
  testRatio: y.testRatio
@@ -4892,24 +4952,24 @@ function Cr(e) {
4892
4952
  return t ? {
4893
4953
  ...e.content,
4894
4954
  testVariationId: (p = e.content) == null ? void 0 : p.id
4895
- } : zr({
4955
+ } : Xr({
4896
4956
  item: e.content,
4897
4957
  canTrack: ft(e.canTrack)
4898
4958
  });
4899
4959
  }
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: [
4904
- /* @__PURE__ */ m(
4960
+ return Q(() => {
4961
+ }, []), /* @__PURE__ */ Z(U, { children: [
4962
+ !e.__isNestedRender && tt !== "reactNative" ? /* @__PURE__ */ g(U, { children: /* @__PURE__ */ g(Jt, { scriptStr: Gi() }) }) : null,
4963
+ t ? /* @__PURE__ */ Z(U, { children: [
4964
+ /* @__PURE__ */ g(
4905
4965
  gt,
4906
4966
  {
4907
4967
  id: `variants-styles-${(s = e.content) == null ? void 0 : s.id}`,
4908
4968
  styles: i()
4909
4969
  }
4910
4970
  ),
4911
- /* @__PURE__ */ m(Jt, { scriptStr: n() }),
4912
- (u = ut(e.content)) == null ? void 0 : u.map((p) => /* @__PURE__ */ m(
4971
+ /* @__PURE__ */ g(Jt, { scriptStr: n() }),
4972
+ (u = ut(e.content)) == null ? void 0 : u.map((p) => /* @__PURE__ */ g(
4913
4973
  lr,
4914
4974
  {
4915
4975
  content: p,
@@ -4930,7 +4990,7 @@ function Cr(e) {
4930
4990
  p.testVariationId
4931
4991
  ))
4932
4992
  ] }) : null,
4933
- /* @__PURE__ */ m(
4993
+ /* @__PURE__ */ g(
4934
4994
  lr,
4935
4995
  {
4936
4996
  content: a(),
@@ -4951,13 +5011,13 @@ function Cr(e) {
4951
5011
  )
4952
5012
  ] });
4953
5013
  }
4954
- const wo = async ({
5014
+ const To = async ({
4955
5015
  builderContextValue: e,
4956
5016
  symbol: t
4957
5017
  }) => {
4958
5018
  if (t != null && t.model && // This is a hack, we should not need to check for this, but it is needed for Svelte.
4959
5019
  (e != null && e.apiKey))
4960
- return ur({
5020
+ return fr({
4961
5021
  model: t.model,
4962
5022
  apiKey: e.apiKey,
4963
5023
  apiVersion: e.apiVersion,
@@ -4967,10 +5027,10 @@ const wo = async ({
4967
5027
  }
4968
5028
  }
4969
5029
  }).catch((r) => {
4970
- Oe.error("Could not fetch symbol content: ", r);
5030
+ Pe.error("Could not fetch symbol content: ", r);
4971
5031
  });
4972
5032
  };
4973
- function ko(e) {
5033
+ function jo(e) {
4974
5034
  var a, s, u;
4975
5035
  function t() {
4976
5036
  var d, p;
@@ -4981,24 +5041,24 @@ function ko(e) {
4981
5041
  (p = e.symbol) != null && p.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
4982
5042
  ].filter(Boolean).join(" ");
4983
5043
  }
4984
- const [r, n] = W(() => {
5044
+ const [r, n] = H(() => {
4985
5045
  var d;
4986
5046
  return (d = e.symbol) == null ? void 0 : d.content;
4987
5047
  });
4988
5048
  function i() {
4989
- r || wo({
5049
+ r || To({
4990
5050
  symbol: e.symbol,
4991
5051
  builderContextValue: e.builderContext
4992
5052
  }).then((d) => {
4993
5053
  d && n(d);
4994
5054
  });
4995
5055
  }
4996
- return ae(() => {
5056
+ return Q(() => {
4997
5057
  i();
4998
- }, []), ae(() => {
5058
+ }, []), Q(() => {
4999
5059
  i();
5000
- }, [e.symbol]), /* @__PURE__ */ m("div", { ...e.attributes, className: t(), children: /* @__PURE__ */ m(
5001
- Cr,
5060
+ }, [e.symbol]), /* @__PURE__ */ g("div", { ...e.attributes, className: t(), children: /* @__PURE__ */ g(
5061
+ Ir,
5002
5062
  {
5003
5063
  __isNestedRender: !0,
5004
5064
  apiVersion: e.builderContext.apiVersion,
@@ -5015,31 +5075,31 @@ function ko(e) {
5015
5075
  }
5016
5076
  ) });
5017
5077
  }
5018
- const To = dn, jo = Cr;
5078
+ const No = dn, Po = Ir;
5019
5079
  export {
5020
5080
  dn as Blocks,
5021
- Xr as Button,
5022
- Oi as Columns,
5023
- Cr as Content,
5024
- Ni as Fragment,
5025
- Fi as Image,
5026
- To as RenderBlocks,
5027
- jo as RenderContent,
5028
- Ui as Section,
5029
- ko as Symbol,
5030
- qi as Text,
5031
- Qi as Video,
5032
- Oo as _processContentResult,
5033
- Hr as createRegisterComponentMessage,
5034
- No as fetchBuilderProps,
5035
- Po as fetchEntries,
5036
- ur as fetchOneEntry,
5037
- Mo as getAllContent,
5038
- Fo as getBuilderSearchParams,
5039
- Uo as getContent,
5040
- ke as isEditing,
5081
+ Jr as Button,
5082
+ Ui as Columns,
5083
+ Ir as Content,
5084
+ Bi as Fragment,
5085
+ $i as Image,
5086
+ No as RenderBlocks,
5087
+ Po as RenderContent,
5088
+ Vi as Section,
5089
+ jo as Symbol,
5090
+ no as Text,
5091
+ io as Video,
5092
+ Uo as _processContentResult,
5093
+ Gr as createRegisterComponentMessage,
5094
+ Bo as fetchBuilderProps,
5095
+ _o as fetchEntries,
5096
+ fr as fetchOneEntry,
5097
+ Lo as getAllContent,
5098
+ $o as getBuilderSearchParams,
5099
+ Vo as getContent,
5100
+ Ce as isEditing,
5041
5101
  Kr as isPreviewing,
5042
- Wr as register,
5043
- Bo as setEditorSettings,
5044
- _o as track
5102
+ Hr as register,
5103
+ Do as setEditorSettings,
5104
+ Wo as track
5045
5105
  };