@builder.io/sdk-react-nextjs 0.14.6 → 0.14.7

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 (38) hide show
  1. package/README.md +8 -2
  2. package/lib/browser/USE_CLIENT_BUNDLE-9a694813.cjs +21 -0
  3. package/lib/browser/{USE_CLIENT_BUNDLE-dbef551d.js → USE_CLIENT_BUNDLE-f0eac1bb.js} +143 -136
  4. package/lib/{edge/USE_SERVER_BUNDLE-abb6c4ae.js → browser/USE_SERVER_BUNDLE-280036e3.js} +1 -1
  5. package/lib/{edge/USE_SERVER_BUNDLE-2000e927.cjs → browser/USE_SERVER_BUNDLE-ea761ee7.cjs} +1 -1
  6. package/lib/browser/{bundle-b2b7ab8b.js → bundle-187b6567.js} +620 -585
  7. package/lib/browser/bundle-f2d9f409.cjs +168 -0
  8. package/lib/browser/index.cjs +1 -1
  9. package/lib/browser/index.mjs +3 -3
  10. package/lib/{node/USE_CLIENT_BUNDLE-22e26b2f.js → edge/USE_CLIENT_BUNDLE-7cf0df22.js} +143 -136
  11. package/lib/edge/USE_CLIENT_BUNDLE-bda05805.cjs +21 -0
  12. package/lib/{node/USE_SERVER_BUNDLE-5a67cb67.cjs → edge/USE_SERVER_BUNDLE-0165e9c2.cjs} +1 -1
  13. package/lib/{node/USE_SERVER_BUNDLE-90b6e155.js → edge/USE_SERVER_BUNDLE-536a078a.js} +1 -1
  14. package/lib/edge/{bundle-9950e3ec.js → bundle-d26182eb.js} +1253 -1218
  15. package/lib/edge/{bundle-f4b34118.cjs → bundle-f84983cc.cjs} +35 -35
  16. package/lib/edge/index.cjs +1 -1
  17. package/lib/edge/index.mjs +3 -3
  18. package/lib/{edge/USE_CLIENT_BUNDLE-471a7309.js → node/USE_CLIENT_BUNDLE-04e65a8b.js} +143 -136
  19. package/lib/node/USE_CLIENT_BUNDLE-4e14ccee.cjs +21 -0
  20. package/lib/{browser/USE_SERVER_BUNDLE-545db2f7.cjs → node/USE_SERVER_BUNDLE-6f53d199.cjs} +1 -1
  21. package/lib/{browser/USE_SERVER_BUNDLE-a6a333bd.js → node/USE_SERVER_BUNDLE-dee3041b.js} +1 -1
  22. package/lib/node/{bundle-a8519a3b.js → bundle-29f6bee7.js} +245 -210
  23. package/lib/node/{bundle-9f34ab83.cjs → bundle-b303d0db.cjs} +11 -11
  24. package/lib/node/index.cjs +1 -1
  25. package/lib/node/index.mjs +3 -3
  26. package/package.json +1 -1
  27. package/types/cjs/components/block/block.helpers.d.ts +4 -0
  28. package/types/cjs/constants/sdk-version.d.ts +1 -1
  29. package/types/cjs/functions/evaluate/evaluate.d.ts +3 -1
  30. package/types/cjs/functions/evaluate/helpers.d.ts +1 -0
  31. package/types/esm/components/block/block.helpers.d.ts +4 -0
  32. package/types/esm/constants/sdk-version.d.ts +1 -1
  33. package/types/esm/functions/evaluate/evaluate.d.ts +3 -1
  34. package/types/esm/functions/evaluate/helpers.d.ts +1 -0
  35. package/lib/browser/USE_CLIENT_BUNDLE-e0428aec.cjs +0 -21
  36. package/lib/browser/bundle-0de8b96d.cjs +0 -168
  37. package/lib/edge/USE_CLIENT_BUNDLE-1ce5de06.cjs +0 -21
  38. package/lib/node/USE_CLIENT_BUNDLE-07b10dcb.cjs +0 -21
@@ -1,9 +1,9 @@
1
- import { jsx as C, Fragment as W, jsxs as xe } from "react/jsx-runtime";
1
+ import { jsx as A, Fragment as Z, jsxs as xe } from "react/jsx-runtime";
2
2
  import "react";
3
- import { LRUCache as Qr } from "lru-cache";
4
- import { I as eo, B as to, a as no, D as ro, C as oo, E as io, b as ao, V as so, c as lo, F as co, d as uo, S as fo, e as po } from "./USE_CLIENT_BUNDLE-471a7309.js";
3
+ import { LRUCache as no } from "lru-cache";
4
+ import { I as ro, B as oo, a as io, D as ao, C as so, E as lo, b as co, V as uo, c as fo, F as po, d as ho, S as mo, e as go } from "./USE_CLIENT_BUNDLE-7cf0df22.js";
5
5
  import "next/navigation";
6
- const ho = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), _a = (e) => typeof e == "string" && ho.has(e.toLowerCase()), he = "rsc", Gt = () => {
6
+ const yo = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), Ha = (e) => typeof e == "string" && yo.has(e.toLowerCase()), he = "rsc", Jt = () => {
7
7
  switch (he) {
8
8
  case "react":
9
9
  case "reactNative":
@@ -16,7 +16,7 @@ const ho = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr",
16
16
  return "class";
17
17
  }
18
18
  };
19
- function mo(e) {
19
+ function vo(e) {
20
20
  var t;
21
21
  return {
22
22
  ...(t = e.component) == null ? void 0 : t.options,
@@ -27,35 +27,35 @@ function mo(e) {
27
27
  builderBlock: e
28
28
  };
29
29
  }
30
- const at = "[Builder.io]: ", Y = {
31
- log: (...e) => console.log(at, ...e),
32
- error: (...e) => console.error(at, ...e),
33
- warn: (...e) => console.warn(at, ...e),
34
- debug: (...e) => console.debug(at, ...e)
30
+ const st = "[Builder.io]: ", X = {
31
+ log: (...e) => console.log(st, ...e),
32
+ error: (...e) => console.error(st, ...e),
33
+ warn: (...e) => console.warn(st, ...e),
34
+ debug: (...e) => console.debug(st, ...e)
35
35
  };
36
- function X() {
36
+ function G() {
37
37
  return typeof window < "u" && typeof document < "u";
38
38
  }
39
- const go = (e) => {
39
+ const bo = (e) => {
40
40
  const t = {};
41
41
  return e.forEach((n, r) => {
42
42
  t[r] = n;
43
43
  }), t;
44
- }, ar = (e) => e instanceof URLSearchParams ? go(e) : e, sr = (e) => typeof e == "string" ? e : e instanceof URLSearchParams ? e.toString() : new URLSearchParams(e).toString();
45
- function yo() {
46
- return X() && window.self !== window.top;
44
+ }, cr = (e) => e instanceof URLSearchParams ? bo(e) : e, ur = (e) => typeof e == "string" ? e : e instanceof URLSearchParams ? e.toString() : new URLSearchParams(e).toString();
45
+ function So() {
46
+ return G() && window.self !== window.top;
47
47
  }
48
- function Xt(e) {
49
- return yo() && sr(e || window.location.search).indexOf("builder.frameEditing=") !== -1;
48
+ function Yt(e) {
49
+ return So() && ur(e || window.location.search).indexOf("builder.frameEditing=") !== -1;
50
50
  }
51
- const vo = () => {
52
- if (X()) {
51
+ const wo = () => {
52
+ if (G()) {
53
53
  const e = new URL(location.href);
54
54
  return e.pathname === "" && (e.pathname = "/"), e;
55
55
  } else
56
56
  return console.warn("Cannot get location for tracking in non-browser environment"), null;
57
- }, bo = () => typeof navigator == "object" && navigator.userAgent || "", lr = () => {
58
- const e = bo(), t = {
57
+ }, xo = () => typeof navigator == "object" && navigator.userAgent || "", fr = () => {
58
+ const e = xo(), t = {
59
59
  Android() {
60
60
  return e.match(/Android/i);
61
61
  },
@@ -74,13 +74,13 @@ const vo = () => {
74
74
  any() {
75
75
  return t.Android() || t.BlackBerry() || t.iOS() || t.Opera() || t.Windows() || he === "reactNative";
76
76
  }
77
- }, n = e.match(/Tablet|iPad/i), r = vo();
77
+ }, n = e.match(/Tablet|iPad/i), r = wo();
78
78
  return {
79
79
  urlPath: r == null ? void 0 : r.pathname,
80
80
  host: (r == null ? void 0 : r.host) || (r == null ? void 0 : r.hostname),
81
81
  device: n ? "tablet" : t.any() ? "mobile" : "desktop"
82
82
  };
83
- }, cr = ({
83
+ }, pr = ({
84
84
  builder: e,
85
85
  context: t,
86
86
  event: n,
@@ -92,14 +92,14 @@ const vo = () => {
92
92
  builder: e,
93
93
  context: t,
94
94
  event: n
95
- }), So = () => ({
96
- isEditing: Xt(),
97
- isBrowser: X(),
98
- isServer: !X(),
99
- getUserAttributes: () => lr()
100
- }), wo = (e, {
95
+ }), ko = () => ({
96
+ isEditing: Yt(),
97
+ isBrowser: G(),
98
+ isServer: !G(),
99
+ getUserAttributes: () => fr()
100
+ }), Co = (e, {
101
101
  isExpression: t = !0
102
- }) => /* 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, xo = ({
102
+ }) => /* 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, Eo = ({
103
103
  code: e,
104
104
  builder: t,
105
105
  context: n,
@@ -108,11 +108,11 @@ const vo = () => {
108
108
  rootSetState: i,
109
109
  rootState: s
110
110
  }) => {
111
- const u = cr({
111
+ const u = pr({
112
112
  builder: t,
113
113
  context: n,
114
114
  event: r,
115
- state: ur({
115
+ state: dr({
116
116
  rootState: s,
117
117
  localState: o,
118
118
  rootSetState: i
@@ -120,7 +120,7 @@ const vo = () => {
120
120
  });
121
121
  return new Function(...u.map(([d]) => d), e)(...u.map(([, d]) => d));
122
122
  };
123
- function ur({
123
+ function dr({
124
124
  rootState: e,
125
125
  localState: t,
126
126
  rootSetState: n
@@ -130,7 +130,7 @@ function ur({
130
130
  if (t && o in t)
131
131
  return t[o];
132
132
  const i = r[o];
133
- return typeof i == "object" ? ur({
133
+ return typeof i == "object" && i !== null ? dr({
134
134
  rootState: i,
135
135
  localState: void 0,
136
136
  rootSetState: n ? (s) => {
@@ -145,31 +145,31 @@ function ur({
145
145
  }
146
146
  });
147
147
  }
148
- const fr = (e, t, n) => {
148
+ const hr = (e, t, n) => {
149
149
  if (Object(e) !== e)
150
150
  return e;
151
151
  const r = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
152
152
  return r.slice(0, -1).reduce((o, i, s) => Object(o[i]) === o[i] ? o[i] : o[i] = Math.abs(Number(r[s + 1])) >> 0 === +r[s + 1] ? [] : {}, e)[r[r.length - 1]] = n, e;
153
153
  };
154
- var B, ko = function(e) {
154
+ var B, Io = function(e) {
155
155
  function t(a) {
156
- return 48 > a ? a === 36 : 58 > a ? !0 : 65 > a ? !1 : 91 > a ? !0 : 97 > a ? a === 95 : 123 > a ? !0 : 170 <= a && qr.test(String.fromCharCode(a));
156
+ return 48 > a ? a === 36 : 58 > a ? !0 : 65 > a ? !1 : 91 > a ? !0 : 97 > a ? a === 95 : 123 > a ? !0 : 170 <= a && eo.test(String.fromCharCode(a));
157
157
  }
158
158
  function n(a) {
159
- return 65 > a ? a === 36 : 91 > a ? !0 : 97 > a ? a === 95 : 123 > a ? !0 : 170 <= a && Vn.test(String.fromCharCode(a));
159
+ return 65 > a ? a === 36 : 91 > a ? !0 : 97 > a ? a === 95 : 123 > a ? !0 : 170 <= a && $n.test(String.fromCharCode(a));
160
160
  }
161
161
  function r(a, l) {
162
- for (var c = m, p = 1, T = 0; ; ) {
163
- it.lastIndex = T;
164
- var _ = it.exec(c);
162
+ for (var c = g, p = 1, I = 0; ; ) {
163
+ at.lastIndex = I;
164
+ var _ = at.exec(c);
165
165
  if (_ && _.index < a)
166
- ++p, T = _.index + _[0].length;
166
+ ++p, I = _.index + _[0].length;
167
167
  else
168
168
  break;
169
169
  }
170
170
  throw c = {
171
171
  line: p,
172
- ab: a - T
172
+ ab: a - I
173
173
  }, l += " (" + c.line + ":" + c.ab + ")", l = new SyntaxError(l), l.j = a, l.X = c, l.o = f, l;
174
174
  }
175
175
  function o(a) {
@@ -184,48 +184,48 @@ var B, ko = function(e) {
184
184
  this.line = Se, this.ab = f - se;
185
185
  }
186
186
  function s(a, l) {
187
- Ce = f, O.C && (Ct = new i()), I = a, d(), te = l, Fe = a.m;
187
+ Ce = f, O.C && (It = new i()), E = a, d(), te = l, Fe = a.m;
188
188
  }
189
189
  function u() {
190
- for (var a = f, l = O.va && O.C && new i(), c = m.charCodeAt(f += 2); f < ke && c !== 10 && c !== 13 && c !== 8232 && c !== 8233; )
191
- ++f, c = m.charCodeAt(f);
192
- O.va && O.va(!1, m.slice(a + 2, f), a, f, l, O.C && new i());
190
+ for (var a = f, l = O.va && O.C && new i(), c = g.charCodeAt(f += 2); f < ke && c !== 10 && c !== 13 && c !== 8232 && c !== 8233; )
191
+ ++f, c = g.charCodeAt(f);
192
+ O.va && O.va(!1, g.slice(a + 2, f), a, f, l, O.C && new i());
193
193
  }
194
194
  function d() {
195
195
  for (; f < ke; ) {
196
- var a = m.charCodeAt(f);
196
+ var a = g.charCodeAt(f);
197
197
  if (a === 32)
198
198
  ++f;
199
199
  else if (a === 13)
200
- ++f, a = m.charCodeAt(f), a === 10 && ++f, O.C && (++Se, se = f);
200
+ ++f, a = g.charCodeAt(f), a === 10 && ++f, O.C && (++Se, se = f);
201
201
  else if (a === 10 || a === 8232 || a === 8233)
202
202
  ++f, O.C && (++Se, se = f);
203
203
  else if (8 < a && 14 > a)
204
204
  ++f;
205
205
  else if (a === 47)
206
- if (a = m.charCodeAt(f + 1), a === 42) {
206
+ if (a = g.charCodeAt(f + 1), a === 42) {
207
207
  a = void 0;
208
- var l = O.va && O.C && new i(), c = f, p = m.indexOf("*/", f += 2);
208
+ var l = O.va && O.C && new i(), c = f, p = g.indexOf("*/", f += 2);
209
209
  if (p === -1 && r(f - 2, "Unterminated comment"), f = p + 2, O.C)
210
- for (it.lastIndex = c; (a = it.exec(m)) && a.index < f; )
210
+ for (at.lastIndex = c; (a = at.exec(g)) && a.index < f; )
211
211
  ++Se, se = a.index + a[0].length;
212
- O.va && O.va(!0, m.slice(c + 2, p), c, f, l, O.C && new i());
212
+ O.va && O.va(!0, g.slice(c + 2, p), c, f, l, O.C && new i());
213
213
  } else if (a === 47)
214
214
  u();
215
215
  else
216
216
  break;
217
217
  else if (a === 160)
218
218
  ++f;
219
- else if (5760 <= a && zr.test(String.fromCharCode(a)))
219
+ else if (5760 <= a && Qr.test(String.fromCharCode(a)))
220
220
  ++f;
221
221
  else
222
222
  break;
223
223
  }
224
224
  }
225
- function k(a) {
225
+ function v(a) {
226
226
  switch (a) {
227
227
  case 46:
228
- a = m.charCodeAt(f + 1), 48 <= a && 57 >= a ? v(!0) : (++f, s(Pn));
228
+ a = g.charCodeAt(f + 1), 48 <= a && 57 >= a ? k(!0) : (++f, s(Un));
229
229
  return;
230
230
  case 40:
231
231
  return ++f, s(le);
@@ -236,20 +236,20 @@ var B, ko = function(e) {
236
236
  case 44:
237
237
  return ++f, s(ye);
238
238
  case 91:
239
- return ++f, s(Bt);
239
+ return ++f, s(Mt);
240
240
  case 93:
241
- return ++f, s(Ut);
241
+ return ++f, s(Ft);
242
242
  case 123:
243
243
  return ++f, s(Le);
244
244
  case 125:
245
245
  return ++f, s(Ie);
246
246
  case 58:
247
- return ++f, s(Ve);
247
+ return ++f, s(_e);
248
248
  case 63:
249
- return ++f, s(Nn);
249
+ return ++f, s(Mn);
250
250
  case 48:
251
- if (a = m.charCodeAt(f + 1), a === 120 || a === 88) {
252
- f += 2, a = j(16), a === null && r(V + 2, "Expected hexadecimal number"), n(m.charCodeAt(f)) && r(f, "Identifier directly after number"), s(De, a);
251
+ if (a = g.charCodeAt(f + 1), a === 120 || a === 88) {
252
+ f += 2, a = R(16), a === null && r(D + 2, "Expected hexadecimal number"), n(g.charCodeAt(f)) && r(f, "Identifier directly after number"), s(De, a);
253
253
  return;
254
254
  }
255
255
  case 49:
@@ -261,24 +261,24 @@ var B, ko = function(e) {
261
261
  case 55:
262
262
  case 56:
263
263
  case 57:
264
- return v(!1);
264
+ return k(!1);
265
265
  case 34:
266
266
  case 39:
267
267
  f++;
268
268
  for (var l = ""; ; ) {
269
- f >= ke && r(V, "Unterminated string constant");
270
- var c = m.charCodeAt(f);
269
+ f >= ke && r(D, "Unterminated string constant");
270
+ var c = g.charCodeAt(f);
271
271
  if (c === a) {
272
- ++f, s(tt, l);
272
+ ++f, s(nt, l);
273
273
  break;
274
274
  }
275
275
  if (c === 92) {
276
- c = m.charCodeAt(++f);
277
- var p = /^[0-7]+/.exec(m.slice(f, f + 3));
276
+ c = g.charCodeAt(++f);
277
+ var p = /^[0-7]+/.exec(g.slice(f, f + 3));
278
278
  for (p && (p = p[0]); p && 255 < parseInt(p, 8); )
279
279
  p = p.slice(0, -1);
280
280
  if (p === "0" && (p = null), ++f, p)
281
- Z && r(f - 2, "Octal literal in strict mode"), l += String.fromCharCode(parseInt(p, 8)), f += p.length - 1;
281
+ q && r(f - 2, "Octal literal in strict mode"), l += String.fromCharCode(parseInt(p, 8)), f += p.length - 1;
282
282
  else
283
283
  switch (c) {
284
284
  case 110:
@@ -313,7 +313,7 @@ var B, ko = function(e) {
313
313
  l += "\0";
314
314
  break;
315
315
  case 13:
316
- m.charCodeAt(f) === 10 && ++f;
316
+ g.charCodeAt(f) === 10 && ++f;
317
317
  case 10:
318
318
  O.C && (se = f, ++Se);
319
319
  break;
@@ -321,62 +321,62 @@ var B, ko = function(e) {
321
321
  l += String.fromCharCode(c);
322
322
  }
323
323
  } else
324
- c !== 13 && c !== 10 && c !== 8232 && c !== 8233 || r(V, "Unterminated string constant"), l += String.fromCharCode(c), ++f;
324
+ c !== 13 && c !== 10 && c !== 8232 && c !== 8233 || r(D, "Unterminated string constant"), l += String.fromCharCode(c), ++f;
325
325
  }
326
326
  return;
327
327
  case 47:
328
- a = m.charCodeAt(f + 1), Fe ? (++f, R()) : a === 61 ? y(we, 2) : y(Bn, 1);
328
+ a = g.charCodeAt(f + 1), Fe ? (++f, j()) : a === 61 ? m(we, 2) : m(Fn, 1);
329
329
  return;
330
330
  case 37:
331
331
  case 42:
332
- m.charCodeAt(f + 1) === 61 ? y(we, 2) : y(Xr, 1);
332
+ g.charCodeAt(f + 1) === 61 ? m(we, 2) : m(zr, 1);
333
333
  return;
334
334
  case 124:
335
335
  case 38:
336
- l = m.charCodeAt(f + 1), l === a ? y(a === 124 ? Mn : Dn, 2) : l === 61 ? y(we, 2) : y(a === 124 ? Vr : Wr, 1);
336
+ l = g.charCodeAt(f + 1), l === a ? m(a === 124 ? Ln : _n, 2) : l === 61 ? m(we, 2) : m(a === 124 ? $r : Kr, 1);
337
337
  return;
338
338
  case 94:
339
- m.charCodeAt(f + 1) === 61 ? y(we, 2) : y(_r, 1);
339
+ g.charCodeAt(f + 1) === 61 ? m(we, 2) : m(Hr, 1);
340
340
  return;
341
341
  case 43:
342
342
  case 45:
343
- l = m.charCodeAt(f + 1), l === a ? l === 45 && m.charCodeAt(f + 2) === 62 && ot.test(m.slice(ge, f)) ? (f += 3, u(), d(), E()) : y(Lr, 2) : l === 61 ? y(we, 2) : y(Gr, 1);
343
+ l = g.charCodeAt(f + 1), l === a ? l === 45 && g.charCodeAt(f + 2) === 62 && it.test(g.slice(ge, f)) ? (f += 3, u(), d(), x()) : m(Wr, 2) : l === 61 ? m(we, 2) : m(Yr, 1);
344
344
  return;
345
345
  case 60:
346
346
  case 62:
347
- l = m.charCodeAt(f + 1), c = 1, l === a ? (c = a === 62 && m.charCodeAt(f + 2) === 62 ? 3 : 2, m.charCodeAt(f + c) === 61 ? y(we, c + 1) : y(Kr, c)) : l === 33 && a === 60 && m.charCodeAt(f + 2) === 45 && m.charCodeAt(f + 3) === 45 ? (f += 4, u(), d(), E()) : (l === 61 && (c = m.charCodeAt(f + 2) === 61 ? 3 : 2), y(Hr, c));
347
+ l = g.charCodeAt(f + 1), c = 1, l === a ? (c = a === 62 && g.charCodeAt(f + 2) === 62 ? 3 : 2, g.charCodeAt(f + c) === 61 ? m(we, c + 1) : m(Jr, c)) : l === 33 && a === 60 && g.charCodeAt(f + 2) === 45 && g.charCodeAt(f + 3) === 45 ? (f += 4, u(), d(), x()) : (l === 61 && (c = g.charCodeAt(f + 2) === 61 ? 3 : 2), m(Xr, c));
348
348
  return;
349
349
  case 61:
350
350
  case 33:
351
- m.charCodeAt(f + 1) === 61 ? y($r, m.charCodeAt(f + 2) === 61 ? 3 : 2) : y(a === 61 ? Un : Fn, 1);
351
+ g.charCodeAt(f + 1) === 61 ? m(Gr, g.charCodeAt(f + 2) === 61 ? 3 : 2) : m(a === 61 ? Vn : Dn, 1);
352
352
  return;
353
353
  case 126:
354
- return y(Fn, 1);
354
+ return m(Dn, 1);
355
355
  }
356
356
  return !1;
357
357
  }
358
- function E(a) {
359
- if (a ? f = V + 1 : V = f, O.C && (kt = new i()), a)
360
- return R();
358
+ function x(a) {
359
+ if (a ? f = D + 1 : D = f, O.C && (Et = new i()), a)
360
+ return j();
361
361
  if (f >= ke)
362
- return s(Tt);
363
- if (a = m.charCodeAt(f), n(a) || a === 92)
362
+ return s(Ot);
363
+ if (a = g.charCodeAt(f), n(a) || a === 92)
364
364
  return N();
365
- if (k(a) === !1) {
366
- if (a = String.fromCharCode(a), a === "\\" || Vn.test(a))
365
+ if (v(a) === !1) {
366
+ if (a = String.fromCharCode(a), a === "\\" || $n.test(a))
367
367
  return N();
368
368
  r(f, "Unexpected character '" + a + "'");
369
369
  }
370
370
  }
371
- function y(a, l) {
372
- var c = m.slice(f, f + l);
371
+ function m(a, l) {
372
+ var c = g.slice(f, f + l);
373
373
  f += l, s(a, c);
374
374
  }
375
- function R() {
375
+ function j() {
376
376
  for (var a, l, c = f; ; ) {
377
377
  f >= ke && r(c, "Unterminated regexp");
378
- var p = m.charAt(f);
379
- if (ot.test(p) && r(c, "Unterminated regexp"), a)
378
+ var p = g.charAt(f);
379
+ if (it.test(p) && r(c, "Unterminated regexp"), a)
380
380
  a = !1;
381
381
  else {
382
382
  if (p === "[")
@@ -389,323 +389,323 @@ var B, ko = function(e) {
389
389
  }
390
390
  ++f;
391
391
  }
392
- a = m.slice(c, f), ++f, (l = U()) && !/^[gmi]*$/.test(l) && r(c, "Invalid regexp flag");
392
+ a = g.slice(c, f), ++f, (l = U()) && !/^[gmi]*$/.test(l) && r(c, "Invalid regexp flag");
393
393
  try {
394
- var T = new RegExp(a, l);
394
+ var I = new RegExp(a, l);
395
395
  } catch (_) {
396
396
  throw _ instanceof SyntaxError && r(c, _.message), _;
397
397
  }
398
- s(dn, T);
398
+ s(gn, I);
399
399
  }
400
- function j(a, l) {
401
- for (var c = f, p = 0, T = l === void 0 ? 1 / 0 : l, _ = 0; _ < T; ++_) {
402
- var J = m.charCodeAt(f);
400
+ function R(a, l) {
401
+ for (var c = f, p = 0, I = l === void 0 ? 1 / 0 : l, _ = 0; _ < I; ++_) {
402
+ var J = g.charCodeAt(f);
403
403
  if (J = 97 <= J ? J - 97 + 10 : 65 <= J ? J - 65 + 10 : 48 <= J && 57 >= J ? J - 48 : 1 / 0, J >= a)
404
404
  break;
405
405
  ++f, p = p * a + J;
406
406
  }
407
407
  return f === c || l !== void 0 && f - c !== l ? null : p;
408
408
  }
409
- function v(a) {
410
- var l = f, c = !1, p = m.charCodeAt(f) === 48;
411
- a || j(10) !== null || r(l, "Invalid number"), m.charCodeAt(f) === 46 && (++f, j(10), c = !0), a = m.charCodeAt(f), (a === 69 || a === 101) && (a = m.charCodeAt(++f), a !== 43 && a !== 45 || ++f, j(10) === null && r(l, "Invalid number"), c = !0), n(m.charCodeAt(f)) && r(f, "Identifier directly after number"), a = m.slice(l, f);
412
- var T;
413
- c ? T = parseFloat(a) : p && a.length !== 1 ? /[89]/.test(a) || Z ? r(l, "Invalid number") : T = parseInt(a, 8) : T = parseInt(a, 10), s(De, T);
409
+ function k(a) {
410
+ var l = f, c = !1, p = g.charCodeAt(f) === 48;
411
+ a || R(10) !== null || r(l, "Invalid number"), g.charCodeAt(f) === 46 && (++f, R(10), c = !0), a = g.charCodeAt(f), (a === 69 || a === 101) && (a = g.charCodeAt(++f), a !== 43 && a !== 45 || ++f, R(10) === null && r(l, "Invalid number"), c = !0), n(g.charCodeAt(f)) && r(f, "Identifier directly after number"), a = g.slice(l, f);
412
+ var I;
413
+ c ? I = parseFloat(a) : p && a.length !== 1 ? /[89]/.test(a) || q ? r(l, "Invalid number") : I = parseInt(a, 8) : I = parseInt(a, 10), s(De, I);
414
414
  }
415
415
  function w(a) {
416
- return a = j(16, a), a === null && r(V, "Bad character escape sequence"), a;
416
+ return a = R(16, a), a === null && r(D, "Bad character escape sequence"), a;
417
417
  }
418
418
  function U() {
419
419
  Te = !1;
420
420
  for (var a, l = !0, c = f; ; ) {
421
- var p = m.charCodeAt(f);
421
+ var p = g.charCodeAt(f);
422
422
  if (t(p))
423
- Te && (a += m.charAt(f)), ++f;
423
+ Te && (a += g.charAt(f)), ++f;
424
424
  else if (p === 92) {
425
- Te || (a = m.slice(c, f)), Te = !0, m.charCodeAt(++f) !== 117 && r(f, "Expecting Unicode escape sequence \\uXXXX"), ++f, p = w(4);
426
- var T = String.fromCharCode(p);
427
- T || r(f - 1, "Invalid Unicode escape"), (l ? n(p) : t(p)) || r(f - 4, "Invalid Unicode escape"), a += T;
425
+ Te || (a = g.slice(c, f)), Te = !0, g.charCodeAt(++f) !== 117 && r(f, "Expecting Unicode escape sequence \\uXXXX"), ++f, p = w(4);
426
+ var I = String.fromCharCode(p);
427
+ I || r(f - 1, "Invalid Unicode escape"), (l ? n(p) : t(p)) || r(f - 4, "Invalid Unicode escape"), a += I;
428
428
  } else
429
429
  break;
430
430
  l = !1;
431
431
  }
432
- return Te ? a : m.slice(c, f);
432
+ return Te ? a : g.slice(c, f);
433
433
  }
434
434
  function N() {
435
435
  var a = U(), l = Ee;
436
- !Te && Jr(a) && (l = Dr[a]), s(l, a);
436
+ !Te && Zr(a) && (l = _r[a]), s(l, a);
437
437
  }
438
- function x() {
439
- Et = V, ge = Ce, It = Ct, E();
438
+ function C() {
439
+ Tt = D, ge = Ce, At = It, x();
440
440
  }
441
441
  function Q(a) {
442
- if (Z = a, f = V, O.C)
442
+ if (q = a, f = D, O.C)
443
443
  for (; f < se; )
444
- se = m.lastIndexOf(`
444
+ se = g.lastIndexOf(`
445
445
  `, se - 2) + 1, --Se;
446
- d(), E();
446
+ d(), x();
447
447
  }
448
- function H() {
449
- this.type = null, this.start = V, this.end = null;
448
+ function $() {
449
+ this.type = null, this.start = D, this.end = null;
450
450
  }
451
451
  function ee() {
452
- this.start = kt, this.end = null, xt && (this.source = xt);
452
+ this.start = Et, this.end = null, Ct && (this.source = Ct);
453
453
  }
454
- function M() {
455
- var a = new H();
456
- return O.C && (a.X = new ee()), O.vb && (a.sourceFile = O.vb), O.Xa && (a.j = [V, 0]), a;
454
+ function L() {
455
+ var a = new $();
456
+ return O.C && (a.X = new ee()), O.vb && (a.sourceFile = O.vb), O.Xa && (a.j = [D, 0]), a;
457
457
  }
458
458
  function me(a) {
459
- var l = new H();
459
+ var l = new $();
460
460
  return l.start = a.start, O.C && (l.X = new ee(), l.X.start = a.X.start), O.Xa && (l.j = [a.j[0], 0]), l;
461
461
  }
462
- function A(a, l) {
463
- return a.type = l, a.end = ge, O.C && (a.X.end = It), O.Xa && (a.j[1] = ge), a;
462
+ function T(a, l) {
463
+ return a.type = l, a.end = ge, O.C && (a.X.end = At), O.Xa && (a.j[1] = ge), a;
464
464
  }
465
- function mt(a) {
465
+ function yt(a) {
466
466
  return a.type === "ExpressionStatement" && a.la.type === "Literal" && a.la.value === "use strict";
467
467
  }
468
- function F(a) {
469
- return I === a ? (x(), !0) : !1;
468
+ function M(a) {
469
+ return E === a ? (C(), !0) : !1;
470
470
  }
471
- function Ze() {
472
- return !O.fc && (I === Tt || I === Ie || ot.test(m.slice(ge, V)));
471
+ function Qe() {
472
+ return !O.fc && (E === Ot || E === Ie || it.test(g.slice(ge, D)));
473
473
  }
474
474
  function be() {
475
- F(ce) || Ze() || ie();
475
+ M(ce) || Qe() || ie();
476
476
  }
477
- function D(a) {
478
- I === a ? x() : ie();
477
+ function F(a) {
478
+ E === a ? C() : ie();
479
479
  }
480
480
  function ie() {
481
- r(V, "Unexpected token");
481
+ r(D, "Unexpected token");
482
482
  }
483
- function Qe(a) {
484
- a.type !== "Identifier" && a.type !== "MemberExpression" && r(a.start, "Assigning to rvalue"), Z && a.type === "Identifier" && rt(a.name) && r(a.start, "Assigning to " + a.name + " in strict mode");
483
+ function et(a) {
484
+ a.type !== "Identifier" && a.type !== "MemberExpression" && r(a.start, "Assigning to rvalue"), q && a.type === "Identifier" && ot(a.name) && r(a.start, "Assigning to " + a.name + " in strict mode");
485
485
  }
486
486
  function ne() {
487
- (I === Bn || I === we && te === "/=") && E(!0);
488
- var a = I, l = M();
487
+ (E === Fn || E === we && te === "/=") && x(!0);
488
+ var a = E, l = L();
489
489
  switch (a) {
490
- case At:
491
- case mn:
492
- x();
493
- var c = a === At;
494
- F(ce) || Ze() ? l.label = null : I !== Ee ? ie() : (l.label = ae(), be());
495
- for (var p = 0; p < L.length; ++p) {
496
- var T = L[p];
497
- if ((l.label === null || T.name === l.label.name) && (T.kind !== null && (c || T.kind === "loop") || l.label && c))
490
+ case jt:
491
+ case vn:
492
+ C();
493
+ var c = a === jt;
494
+ M(ce) || Qe() ? l.label = null : E !== Ee ? ie() : (l.label = ae(), be());
495
+ for (var p = 0; p < V.length; ++p) {
496
+ var I = V[p];
497
+ if ((l.label === null || I.name === l.label.name) && (I.kind !== null && (c || I.kind === "loop") || l.label && c))
498
498
  break;
499
499
  }
500
- return p === L.length && r(l.start, "Unsyntactic " + a.l), A(l, c ? "BreakStatement" : "ContinueStatement");
501
- case gn:
502
- return x(), be(), A(l, "DebuggerStatement");
503
- case vn:
504
- return x(), L.push(Ft), l.body = ne(), L.pop(), D(Nt), l.test = Ne(), be(), A(l, "DoWhileStatement");
500
+ return p === V.length && r(l.start, "Unsyntactic " + a.l), T(l, c ? "BreakStatement" : "ContinueStatement");
501
+ case bn:
502
+ return C(), be(), T(l, "DebuggerStatement");
505
503
  case wn:
506
- return x(), L.push(Ft), D(le), I === ce ? gt(l, null) : I === Pt ? (a = M(), x(), fn(a, !0), A(a, "VariableDeclaration"), a.fa.length === 1 && F(nt) ? un(l, a) : gt(l, a)) : (a = G(!1, !0), F(nt) ? (Qe(a), un(l, a)) : gt(l, a));
507
- case jt:
508
- return x(), St(l, !0);
509
- case xn:
510
- return x(), l.test = Ne(), l.da = ne(), l.alternate = F(bn) ? ne() : null, A(l, "IfStatement");
511
- case kn:
512
- return Me || O.Ib || r(V, "'return' outside of function"), x(), F(ce) || Ze() ? l.K = null : (l.K = G(), be()), A(l, "ReturnStatement");
513
- case Rt:
514
- for (x(), l.Qb = Ne(), l.tb = [], D(Le), L.push(Zr); I !== Ie; )
515
- I === Ot || I === yn ? (a = I === Ot, p && A(p, "SwitchCase"), l.tb.push(p = M()), p.da = [], x(), a ? p.test = G() : (c && r(Et, "Multiple default clauses"), c = !0, p.test = null), D(Ve)) : (p || ie(), p.da.push(ne()));
516
- return p && A(p, "SwitchCase"), x(), L.pop(), A(l, "SwitchStatement");
504
+ return C(), V.push(Vt), l.body = ne(), V.pop(), F(Ut), l.test = Be(), be(), T(l, "DoWhileStatement");
517
505
  case Cn:
518
- return x(), ot.test(m.slice(ge, V)) && r(ge, "Illegal newline after throw"), l.K = G(), be(), A(l, "ThrowStatement");
519
- case En:
520
- return x(), l.block = Be(), l.Ea = null, I === hn && (a = M(), x(), D(le), a.Ua = ae(), Z && rt(a.Ua.name) && r(a.Ua.start, "Binding " + a.Ua.name + " in strict mode"), D(re), a.body = Be(), l.Ea = A(a, "CatchClause")), l.fb = F(Sn) ? Be() : null, l.Ea || l.fb || r(l.start, "Missing catch or finally clause"), A(l, "TryStatement");
506
+ return C(), V.push(Vt), F(le), E === ce ? vt(l, null) : E === Bt ? (a = L(), C(), hn(a, !0), T(a, "VariableDeclaration"), a.fa.length === 1 && M(rt) ? dn(l, a) : vt(l, a)) : (a = K(!1, !0), M(rt) ? (et(a), dn(l, a)) : vt(l, a));
521
507
  case Pt:
522
- return x(), fn(l), be(), A(l, "VariableDeclaration");
523
- case Nt:
524
- return x(), l.test = Ne(), L.push(Ft), l.body = ne(), L.pop(), A(l, "WhileStatement");
508
+ return C(), xt(l, !0);
509
+ case En:
510
+ return C(), l.test = Be(), l.da = ne(), l.alternate = M(xn) ? ne() : null, T(l, "IfStatement");
525
511
  case In:
526
- return Z && r(V, "'with' in strict mode"), x(), l.object = Ne(), l.body = ne(), A(l, "WithStatement");
512
+ return Ve || O.Ib || r(D, "'return' outside of function"), C(), M(ce) || Qe() ? l.K = null : (l.K = K(), be()), T(l, "ReturnStatement");
513
+ case Nt:
514
+ for (C(), l.Qb = Be(), l.tb = [], F(Le), V.push(to); E !== Ie; )
515
+ E === Rt || E === Sn ? (a = E === Rt, p && T(p, "SwitchCase"), l.tb.push(p = L()), p.da = [], C(), a ? p.test = K() : (c && r(Tt, "Multiple default clauses"), c = !0, p.test = null), F(_e)) : (p || ie(), p.da.push(ne()));
516
+ return p && T(p, "SwitchCase"), C(), V.pop(), T(l, "SwitchStatement");
517
+ case Tn:
518
+ return C(), it.test(g.slice(ge, D)) && r(ge, "Illegal newline after throw"), l.K = K(), be(), T(l, "ThrowStatement");
519
+ case An:
520
+ return C(), l.block = Ue(), l.Ea = null, E === yn && (a = L(), C(), F(le), a.Ua = ae(), q && ot(a.Ua.name) && r(a.Ua.start, "Binding " + a.Ua.name + " in strict mode"), F(re), a.body = Ue(), l.Ea = T(a, "CatchClause")), l.fb = M(kn) ? Ue() : null, l.Ea || l.fb || r(l.start, "Missing catch or finally clause"), T(l, "TryStatement");
521
+ case Bt:
522
+ return C(), hn(l), be(), T(l, "VariableDeclaration");
523
+ case Ut:
524
+ return C(), l.test = Be(), V.push(Vt), l.body = ne(), V.pop(), T(l, "WhileStatement");
525
+ case On:
526
+ return q && r(D, "'with' in strict mode"), C(), l.object = Be(), l.body = ne(), T(l, "WithStatement");
527
527
  case Le:
528
- return Be();
528
+ return Ue();
529
529
  case ce:
530
- return x(), A(l, "EmptyStatement");
530
+ return C(), T(l, "EmptyStatement");
531
531
  default:
532
- if (c = te, T = G(), a === Ee && T.type === "Identifier" && F(Ve)) {
533
- for (p = 0; p < L.length; ++p)
534
- L[p].name === c && r(T.start, "Label '" + c + "' is already declared");
535
- return L.push({
532
+ if (c = te, I = K(), a === Ee && I.type === "Identifier" && M(_e)) {
533
+ for (p = 0; p < V.length; ++p)
534
+ V[p].name === c && r(I.start, "Label '" + c + "' is already declared");
535
+ return V.push({
536
536
  name: c,
537
- kind: I.W ? "loop" : I === Rt ? "switch" : null
538
- }), l.body = ne(), L.pop(), l.label = T, A(l, "LabeledStatement");
537
+ kind: E.W ? "loop" : E === Nt ? "switch" : null
538
+ }), l.body = ne(), V.pop(), l.label = I, T(l, "LabeledStatement");
539
539
  }
540
- return l.la = T, be(), A(l, "ExpressionStatement");
540
+ return l.la = I, be(), T(l, "ExpressionStatement");
541
541
  }
542
542
  }
543
- function Ne() {
544
- D(le);
545
- var a = G();
546
- return D(re), a;
543
+ function Be() {
544
+ F(le);
545
+ var a = K();
546
+ return F(re), a;
547
547
  }
548
- function Be(a) {
549
- var l = M(), c = !0, p = !1;
550
- for (l.body = [], D(Le); !F(Ie); ) {
551
- var T = ne();
552
- if (l.body.push(T), c && a && mt(T)) {
548
+ function Ue(a) {
549
+ var l = L(), c = !0, p = !1;
550
+ for (l.body = [], F(Le); !M(Ie); ) {
551
+ var I = ne();
552
+ if (l.body.push(I), c && a && yt(I)) {
553
553
  var _ = p;
554
554
  Q(p = !0);
555
555
  }
556
556
  c = !1;
557
557
  }
558
- return p && !_ && Q(!1), A(l, "BlockStatement");
558
+ return p && !_ && Q(!1), T(l, "BlockStatement");
559
559
  }
560
- function gt(a, l) {
561
- return a.ua = l, D(ce), a.test = I === ce ? null : G(), D(ce), a.update = I === re ? null : G(), D(re), a.body = ne(), L.pop(), A(a, "ForStatement");
560
+ function vt(a, l) {
561
+ return a.ua = l, F(ce), a.test = E === ce ? null : K(), F(ce), a.update = E === re ? null : K(), F(re), a.body = ne(), V.pop(), T(a, "ForStatement");
562
562
  }
563
- function un(a, l) {
564
- return a.left = l, a.right = G(), D(re), a.body = ne(), L.pop(), A(a, "ForInStatement");
563
+ function dn(a, l) {
564
+ return a.left = l, a.right = K(), F(re), a.body = ne(), V.pop(), T(a, "ForInStatement");
565
565
  }
566
- function fn(a, l) {
566
+ function hn(a, l) {
567
567
  for (a.fa = [], a.kind = "var"; ; ) {
568
- var c = M();
569
- if (c.id = ae(), Z && rt(c.id.name) && r(c.id.start, "Binding " + c.id.name + " in strict mode"), c.ua = F(Un) ? G(!0, l) : null, a.fa.push(A(c, "VariableDeclarator")), !F(ye))
568
+ var c = L();
569
+ if (c.id = ae(), q && ot(c.id.name) && r(c.id.start, "Binding " + c.id.name + " in strict mode"), c.ua = M(Vn) ? K(!0, l) : null, a.fa.push(T(c, "VariableDeclarator")), !M(ye))
570
570
  break;
571
571
  }
572
572
  }
573
- function G(a, l) {
574
- var c = yt(l);
575
- if (!a && I === ye) {
576
- for (a = me(c), a.xb = [c]; F(ye); )
577
- a.xb.push(yt(l));
578
- return A(a, "SequenceExpression");
573
+ function K(a, l) {
574
+ var c = bt(l);
575
+ if (!a && E === ye) {
576
+ for (a = me(c), a.xb = [c]; M(ye); )
577
+ a.xb.push(bt(l));
578
+ return T(a, "SequenceExpression");
579
579
  }
580
580
  return c;
581
581
  }
582
- function yt(a) {
583
- var l = vt(bt(), -1, a);
584
- if (F(Nn)) {
582
+ function bt(a) {
583
+ var l = St(wt(), -1, a);
584
+ if (M(Mn)) {
585
585
  var c = me(l);
586
- c.test = l, c.da = G(!0), D(Ve), c.alternate = G(!0, a), l = A(c, "ConditionalExpression");
586
+ c.test = l, c.da = K(!0), F(_e), c.alternate = K(!0, a), l = T(c, "ConditionalExpression");
587
587
  }
588
- return I.Cb ? (c = me(l), c.operator = te, c.left = l, x(), c.right = yt(a), Qe(l), A(c, "AssignmentExpression")) : l;
588
+ return E.Cb ? (c = me(l), c.operator = te, c.left = l, C(), c.right = bt(a), et(l), T(c, "AssignmentExpression")) : l;
589
589
  }
590
- function vt(a, l, c) {
591
- var p = I.L;
592
- if (p !== null && (!c || I !== nt) && p > l) {
593
- var T = me(a);
594
- return T.left = a, T.operator = te, a = I, x(), T.right = vt(bt(), p, c), p = A(T, a === Mn || a === Dn ? "LogicalExpression" : "BinaryExpression"), vt(p, l, c);
590
+ function St(a, l, c) {
591
+ var p = E.L;
592
+ if (p !== null && (!c || E !== rt) && p > l) {
593
+ var I = me(a);
594
+ return I.left = a, I.operator = te, a = E, C(), I.right = St(wt(), p, c), p = T(I, a === Ln || a === _n ? "LogicalExpression" : "BinaryExpression"), St(p, l, c);
595
595
  }
596
596
  return a;
597
597
  }
598
- function bt() {
599
- if (I.prefix) {
600
- var a = M(), l = I.$b;
601
- return a.operator = te, Fe = a.prefix = !0, x(), a.K = bt(), l ? Qe(a.K) : Z && a.operator === "delete" && a.K.type === "Identifier" && r(a.start, "Deleting local variable in strict mode"), A(a, l ? "UpdateExpression" : "UnaryExpression");
598
+ function wt() {
599
+ if (E.prefix) {
600
+ var a = L(), l = E.$b;
601
+ return a.operator = te, Fe = a.prefix = !0, C(), a.K = wt(), l ? et(a.K) : q && a.operator === "delete" && a.K.type === "Identifier" && r(a.start, "Deleting local variable in strict mode"), T(a, l ? "UpdateExpression" : "UnaryExpression");
602
602
  }
603
- for (l = Ue(et()); I.cc && !Ze(); )
604
- a = me(l), a.operator = te, a.prefix = !1, a.K = l, Qe(l), x(), l = A(a, "UpdateExpression");
603
+ for (l = Me(tt()); E.cc && !Qe(); )
604
+ a = me(l), a.operator = te, a.prefix = !1, a.K = l, et(l), C(), l = T(a, "UpdateExpression");
605
605
  return l;
606
606
  }
607
- function Ue(a, l) {
608
- if (F(Pn)) {
607
+ function Me(a, l) {
608
+ if (M(Un)) {
609
609
  var c = me(a);
610
- return c.object = a, c.Wa = ae(!0), c.bb = !1, Ue(A(c, "MemberExpression"), l);
610
+ return c.object = a, c.Wa = ae(!0), c.bb = !1, Me(T(c, "MemberExpression"), l);
611
611
  }
612
- return F(Bt) ? (c = me(a), c.object = a, c.Wa = G(), c.bb = !0, D(Ut), Ue(A(c, "MemberExpression"), l)) : !l && F(le) ? (c = me(a), c.callee = a, c.arguments = wt(re, !1), Ue(A(c, "CallExpression"), l)) : a;
612
+ return M(Mt) ? (c = me(a), c.object = a, c.Wa = K(), c.bb = !0, F(Ft), Me(T(c, "MemberExpression"), l)) : !l && M(le) ? (c = me(a), c.callee = a, c.arguments = kt(re, !1), Me(T(c, "CallExpression"), l)) : a;
613
613
  }
614
- function et() {
615
- switch (I) {
616
- case An:
617
- var a = M();
618
- return x(), A(a, "ThisExpression");
614
+ function tt() {
615
+ switch (E) {
616
+ case Rn:
617
+ var a = L();
618
+ return C(), T(a, "ThisExpression");
619
619
  case Ee:
620
620
  return ae();
621
621
  case De:
622
- case tt:
623
- case dn:
624
- return a = M(), a.value = te, a.raw = m.slice(V, Ce), x(), A(a, "Literal");
625
- case On:
626
- case jn:
627
- case Rn:
628
- return a = M(), a.value = I.$a, a.raw = I.l, x(), A(a, "Literal");
622
+ case nt:
623
+ case gn:
624
+ return a = L(), a.value = te, a.raw = g.slice(D, Ce), C(), T(a, "Literal");
625
+ case Pn:
626
+ case Nn:
627
+ case Bn:
628
+ return a = L(), a.value = E.$a, a.raw = E.l, C(), T(a, "Literal");
629
629
  case le:
630
- a = kt;
631
- var l = V;
632
- x();
633
- var c = G();
634
- return c.start = l, c.end = Ce, O.C && (c.X.start = a, c.X.end = Ct), O.Xa && (c.j = [l, Ce]), D(re), c;
635
- case Bt:
636
- return a = M(), x(), a.elements = wt(Ut, !0, !0), A(a, "ArrayExpression");
630
+ a = Et;
631
+ var l = D;
632
+ C();
633
+ var c = K();
634
+ return c.start = l, c.end = Ce, O.C && (c.X.start = a, c.X.end = It), O.Xa && (c.j = [l, Ce]), F(re), c;
635
+ case Mt:
636
+ return a = L(), C(), a.elements = kt(Ft, !0, !0), T(a, "ArrayExpression");
637
637
  case Le:
638
- for (a = M(), l = !0, c = !1, a.h = [], x(); !F(Ie); ) {
638
+ for (a = L(), l = !0, c = !1, a.h = [], C(); !M(Ie); ) {
639
639
  if (l)
640
640
  l = !1;
641
- else if (D(ye), O.sb && F(Ie))
641
+ else if (F(ye), O.sb && M(Ie))
642
642
  break;
643
643
  var p = {
644
- key: I === De || I === tt ? et() : ae(!0)
645
- }, T = !1;
646
- if (F(Ve)) {
647
- p.value = G(!0);
644
+ key: E === De || E === nt ? tt() : ae(!0)
645
+ }, I = !1;
646
+ if (M(_e)) {
647
+ p.value = K(!0);
648
648
  var _ = p.kind = "init";
649
649
  } else
650
- p.key.type !== "Identifier" || p.key.name !== "get" && p.key.name !== "set" ? ie() : (T = c = !0, _ = p.kind = p.key.name, p.key = I === De || I === tt ? et() : ae(!0), I !== le && ie(), p.value = St(M(), !1));
651
- if (p.key.type === "Identifier" && (Z || c))
650
+ p.key.type !== "Identifier" || p.key.name !== "get" && p.key.name !== "set" ? ie() : (I = c = !0, _ = p.kind = p.key.name, p.key = E === De || E === nt ? tt() : ae(!0), E !== le && ie(), p.value = xt(L(), !1));
651
+ if (p.key.type === "Identifier" && (q || c))
652
652
  for (var J = 0; J < a.h.length; ++J) {
653
653
  var Ae = a.h[J];
654
654
  if (Ae.key.name === p.key.name) {
655
- var Mt = _ === Ae.kind || T && Ae.kind === "init" || _ === "init" && (Ae.kind === "get" || Ae.kind === "set");
656
- Mt && !Z && _ === "init" && Ae.kind === "init" && (Mt = !1), Mt && r(p.key.start, "Redefinition of property");
655
+ var Dt = _ === Ae.kind || I && Ae.kind === "init" || _ === "init" && (Ae.kind === "get" || Ae.kind === "set");
656
+ Dt && !q && _ === "init" && Ae.kind === "init" && (Dt = !1), Dt && r(p.key.start, "Redefinition of property");
657
657
  }
658
658
  }
659
659
  a.h.push(p);
660
660
  }
661
- return A(a, "ObjectExpression");
662
- case jt:
663
- return a = M(), x(), St(a, !1);
664
- case Tn:
665
- return a = M(), x(), a.callee = Ue(et(), !0), a.arguments = F(le) ? wt(re, !1) : Mr, A(a, "NewExpression");
661
+ return T(a, "ObjectExpression");
662
+ case Pt:
663
+ return a = L(), C(), xt(a, !1);
664
+ case jn:
665
+ return a = L(), C(), a.callee = Me(tt(), !0), a.arguments = M(le) ? kt(re, !1) : Lr, T(a, "NewExpression");
666
666
  }
667
667
  ie();
668
668
  }
669
- function St(a, l) {
670
- I === Ee ? a.id = ae() : l ? ie() : a.id = null, a.oa = [];
669
+ function xt(a, l) {
670
+ E === Ee ? a.id = ae() : l ? ie() : a.id = null, a.oa = [];
671
671
  var c = !0;
672
- for (D(le); !F(re); )
673
- c ? c = !1 : D(ye), a.oa.push(ae());
674
- c = Me;
675
- var p = L;
676
- if (Me = !0, L = [], a.body = Be(!0), Me = c, L = p, Z || a.body.body.length && mt(a.body.body[0])) {
672
+ for (F(le); !M(re); )
673
+ c ? c = !1 : F(ye), a.oa.push(ae());
674
+ c = Ve;
675
+ var p = V;
676
+ if (Ve = !0, V = [], a.body = Ue(!0), Ve = c, V = p, q || a.body.body.length && yt(a.body.body[0])) {
677
677
  for (c = a.id ? -1 : 0; c < a.oa.length; ++c)
678
- if (p = 0 > c ? a.id : a.oa[c], (Ln(p.name) || rt(p.name)) && r(p.start, "Defining '" + p.name + "' in strict mode"), 0 <= c)
679
- for (var T = 0; T < c; ++T)
680
- p.name === a.oa[T].name && r(p.start, "Argument name clash in strict mode");
678
+ if (p = 0 > c ? a.id : a.oa[c], (Wn(p.name) || ot(p.name)) && r(p.start, "Defining '" + p.name + "' in strict mode"), 0 <= c)
679
+ for (var I = 0; I < c; ++I)
680
+ p.name === a.oa[I].name && r(p.start, "Argument name clash in strict mode");
681
681
  }
682
- return A(a, l ? "FunctionDeclaration" : "FunctionExpression");
682
+ return T(a, l ? "FunctionDeclaration" : "FunctionExpression");
683
683
  }
684
- function wt(a, l, c) {
685
- for (var p = [], T = !0; !F(a); ) {
686
- if (T)
687
- T = !1;
688
- else if (D(ye), l && O.sb && F(a))
684
+ function kt(a, l, c) {
685
+ for (var p = [], I = !0; !M(a); ) {
686
+ if (I)
687
+ I = !1;
688
+ else if (F(ye), l && O.sb && M(a))
689
689
  break;
690
- p.push(c && I === ye ? null : G(!0));
690
+ p.push(c && E === ye ? null : K(!0));
691
691
  }
692
692
  return p;
693
693
  }
694
694
  function ae(a) {
695
- var l = M();
696
- return a && O.yb === "everywhere" && (a = !1), I === Ee ? (!a && (O.yb && Yr(te) || Z && Ln(te)) && m.slice(V, Ce).indexOf("\\") === -1 && r(V, "The keyword '" + te + "' is reserved"), l.name = te) : a && I.l ? l.name = I.l : ie(), Fe = !1, x(), A(l, "Identifier");
695
+ var l = L();
696
+ return a && O.yb === "everywhere" && (a = !1), E === Ee ? (!a && (O.yb && qr(te) || q && Wn(te)) && g.slice(D, Ce).indexOf("\\") === -1 && r(D, "The keyword '" + te + "' is reserved"), l.name = te) : a && E.l ? l.name = E.l : ie(), Fe = !1, C(), T(l, "Identifier");
697
697
  }
698
698
  e.version = "0.5.0";
699
- var O, m = "", ke, xt;
699
+ var O, g = "", ke, Ct;
700
700
  e.parse = function(a, l) {
701
- m = String(a), ke = m.length, O = l || {};
702
- for (var c in pn)
703
- Object.prototype.hasOwnProperty.call(O, c) || (O[c] = pn[c]);
704
- for (xt = O.sourceFile, Se = 1, f = se = 0, Fe = !0, d(), c = O.dc, Et = ge = f, O.C && (It = new i()), Me = Z = !1, L = [], E(), a = c || M(), l = !0, c || (a.body = []); I !== Tt; )
705
- c = ne(), a.body.push(c), l && mt(c) && Q(!0), l = !1;
706
- return A(a, "Program");
701
+ g = String(a), ke = g.length, O = l || {};
702
+ for (var c in mn)
703
+ Object.prototype.hasOwnProperty.call(O, c) || (O[c] = mn[c]);
704
+ for (Ct = O.sourceFile, Se = 1, f = se = 0, Fe = !0, d(), c = O.dc, Tt = ge = f, O.C && (At = new i()), Ve = q = !1, V = [], x(), a = c || L(), l = !0, c || (a.body = []); E !== Ot; )
705
+ c = ne(), a.body.push(c), l && yt(c) && Q(!0), l = !1;
706
+ return T(a, "Program");
707
707
  };
708
- var pn = {
708
+ var mn = {
709
709
  fc: !1,
710
710
  sb: !0,
711
711
  yb: !1,
@@ -716,110 +716,110 @@ var B, ko = function(e) {
716
716
  dc: null,
717
717
  sourceFile: null,
718
718
  vb: null
719
- }, f = 0, V = 0, Ce = 0, kt, Ct, I, te, Fe, Se, se, Et = 0, ge = 0, It, Me, L, Z, Mr = [], De = {
719
+ }, f = 0, D = 0, Ce = 0, Et, It, E, te, Fe, Se, se, Tt = 0, ge = 0, At, Ve, V, q, Lr = [], De = {
720
720
  type: "num"
721
- }, dn = {
721
+ }, gn = {
722
722
  type: "regexp"
723
- }, tt = {
723
+ }, nt = {
724
724
  type: "string"
725
725
  }, Ee = {
726
726
  type: "name"
727
- }, Tt = {
727
+ }, Ot = {
728
728
  type: "eof"
729
- }, At = {
729
+ }, jt = {
730
730
  l: "break"
731
- }, Ot = {
731
+ }, Rt = {
732
732
  l: "case",
733
733
  m: !0
734
- }, hn = {
734
+ }, yn = {
735
735
  l: "catch"
736
- }, mn = {
736
+ }, vn = {
737
737
  l: "continue"
738
- }, gn = {
738
+ }, bn = {
739
739
  l: "debugger"
740
- }, yn = {
740
+ }, Sn = {
741
741
  l: "default"
742
- }, vn = {
742
+ }, wn = {
743
743
  l: "do",
744
744
  W: !0
745
- }, bn = {
745
+ }, xn = {
746
746
  l: "else",
747
747
  m: !0
748
- }, Sn = {
748
+ }, kn = {
749
749
  l: "finally"
750
- }, wn = {
750
+ }, Cn = {
751
751
  l: "for",
752
752
  W: !0
753
- }, jt = {
753
+ }, Pt = {
754
754
  l: "function"
755
- }, xn = {
755
+ }, En = {
756
756
  l: "if"
757
- }, kn = {
757
+ }, In = {
758
758
  l: "return",
759
759
  m: !0
760
- }, Rt = {
760
+ }, Nt = {
761
761
  l: "switch"
762
- }, Cn = {
762
+ }, Tn = {
763
763
  l: "throw",
764
764
  m: !0
765
- }, En = {
765
+ }, An = {
766
766
  l: "try"
767
- }, Pt = {
767
+ }, Bt = {
768
768
  l: "var"
769
- }, Nt = {
769
+ }, Ut = {
770
770
  l: "while",
771
771
  W: !0
772
- }, In = {
772
+ }, On = {
773
773
  l: "with"
774
- }, Tn = {
774
+ }, jn = {
775
775
  l: "new",
776
776
  m: !0
777
- }, An = {
777
+ }, Rn = {
778
778
  l: "this"
779
- }, On = {
779
+ }, Pn = {
780
780
  l: "null",
781
781
  $a: null
782
- }, jn = {
782
+ }, Nn = {
783
783
  l: "true",
784
784
  $a: !0
785
- }, Rn = {
785
+ }, Bn = {
786
786
  l: "false",
787
787
  $a: !1
788
- }, nt = {
788
+ }, rt = {
789
789
  l: "in",
790
790
  L: 7,
791
791
  m: !0
792
- }, Dr = {
793
- break: At,
794
- case: Ot,
795
- catch: hn,
796
- continue: mn,
797
- debugger: gn,
798
- default: yn,
799
- do: vn,
800
- else: bn,
801
- finally: Sn,
802
- for: wn,
803
- function: jt,
804
- if: xn,
805
- return: kn,
806
- switch: Rt,
807
- throw: Cn,
808
- try: En,
809
- var: Pt,
810
- while: Nt,
811
- with: In,
812
- null: On,
813
- true: jn,
814
- false: Rn,
815
- new: Tn,
816
- in: nt,
792
+ }, _r = {
793
+ break: jt,
794
+ case: Rt,
795
+ catch: yn,
796
+ continue: vn,
797
+ debugger: bn,
798
+ default: Sn,
799
+ do: wn,
800
+ else: xn,
801
+ finally: kn,
802
+ for: Cn,
803
+ function: Pt,
804
+ if: En,
805
+ return: In,
806
+ switch: Nt,
807
+ throw: Tn,
808
+ try: An,
809
+ var: Bt,
810
+ while: Ut,
811
+ with: On,
812
+ null: Pn,
813
+ true: Nn,
814
+ false: Bn,
815
+ new: jn,
816
+ in: rt,
817
817
  instanceof: {
818
818
  l: "instanceof",
819
819
  L: 7,
820
820
  m: !0
821
821
  },
822
- this: An,
822
+ this: Rn,
823
823
  typeof: {
824
824
  l: "typeof",
825
825
  prefix: !0,
@@ -835,10 +835,10 @@ var B, ko = function(e) {
835
835
  prefix: !0,
836
836
  m: !0
837
837
  }
838
- }, Bt = {
838
+ }, Mt = {
839
839
  type: "[",
840
840
  m: !0
841
- }, Ut = {
841
+ }, Ft = {
842
842
  type: "]"
843
843
  }, Le = {
844
844
  type: "{",
@@ -856,70 +856,70 @@ var B, ko = function(e) {
856
856
  }, ce = {
857
857
  type: ";",
858
858
  m: !0
859
- }, Ve = {
859
+ }, _e = {
860
860
  type: ":",
861
861
  m: !0
862
- }, Pn = {
862
+ }, Un = {
863
863
  type: "."
864
- }, Nn = {
864
+ }, Mn = {
865
865
  type: "?",
866
866
  m: !0
867
- }, Bn = {
867
+ }, Fn = {
868
868
  L: 10,
869
869
  m: !0
870
- }, Un = {
870
+ }, Vn = {
871
871
  Cb: !0,
872
872
  m: !0
873
873
  }, we = {
874
874
  Cb: !0,
875
875
  m: !0
876
- }, Lr = {
876
+ }, Wr = {
877
877
  cc: !0,
878
878
  prefix: !0,
879
879
  $b: !0
880
- }, Fn = {
880
+ }, Dn = {
881
881
  prefix: !0,
882
882
  m: !0
883
- }, Mn = {
883
+ }, Ln = {
884
884
  L: 1,
885
885
  m: !0
886
- }, Dn = {
886
+ }, _n = {
887
887
  L: 2,
888
888
  m: !0
889
- }, Vr = {
889
+ }, $r = {
890
890
  L: 3,
891
891
  m: !0
892
- }, _r = {
892
+ }, Hr = {
893
893
  L: 4,
894
894
  m: !0
895
- }, Wr = {
895
+ }, Kr = {
896
896
  L: 5,
897
897
  m: !0
898
- }, $r = {
898
+ }, Gr = {
899
899
  L: 6,
900
900
  m: !0
901
- }, Hr = {
901
+ }, Xr = {
902
902
  L: 7,
903
903
  m: !0
904
- }, Kr = {
904
+ }, Jr = {
905
905
  L: 8,
906
906
  m: !0
907
- }, Gr = {
907
+ }, Yr = {
908
908
  L: 9,
909
909
  prefix: !0,
910
910
  m: !0
911
- }, Xr = {
911
+ }, zr = {
912
912
  L: 10,
913
913
  m: !0
914
- }, Yr = o("class enum extends super const export import"), Ln = o("implements interface let package private protected public static yield"), rt = o("eval arguments"), Jr = o("break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this"), zr = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Vn = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"), qr = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‌‍‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"), ot = /[\n\r\u2028\u2029]/, it = /\r\n|[\n\r\u2028\u2029]/g, Te, Ft = {
914
+ }, qr = o("class enum extends super const export import"), Wn = o("implements interface let package private protected public static yield"), ot = o("eval arguments"), Zr = o("break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this"), Qr = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, $n = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"), eo = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‌‍‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"), it = /[\n\r\u2028\u2029]/, at = /\r\n|[\n\r\u2028\u2029]/g, Te, Vt = {
915
915
  kind: "loop"
916
- }, Zr = {
916
+ }, to = {
917
917
  kind: "switch"
918
918
  };
919
- }, Vt = Vt = typeof globalThis > "u" ? void 0 : globalThis;
920
- ko(Vt.j || (Vt.j = {}));
919
+ }, Wt = Wt = typeof globalThis > "u" ? void 0 : globalThis;
920
+ Io(Wt.j || (Wt.j = {}));
921
921
  function h(e, t) {
922
- typeof e == "string" && (e = je(e, "code"));
922
+ typeof e == "string" && (e = Re(e, "code"));
923
923
  var n = e.constructor;
924
924
  this.ya = function() {
925
925
  return new n({
@@ -933,55 +933,55 @@ function h(e, t) {
933
933
  var i, s;
934
934
  for (s in this)
935
935
  typeof this[s] == "function" && (i = s.match(e)) && (this.rb[i[1]] = this[s].bind(this));
936
- this.N = Wt(this, this.ra, null), this.Na = this.N.object, this.ra = je(this.ba.join(`
937
- `), "polyfills"), this.ba = void 0, ut(this.ra), i = new b(this.ra, this.N), i.done = !1, this.o = [i], this.Eb(), this.value = void 0, this.ra = r, i = new b(this.ra, this.N), i.done = !1, this.o.length = 0, this.o[0] = i;
936
+ this.N = Ht(this, this.ra, null), this.Na = this.N.object, this.ra = Re(this.ba.join(`
937
+ `), "polyfills"), this.ba = void 0, pt(this.ra), i = new b(this.ra, this.N), i.done = !1, this.o = [i], this.Eb(), this.value = void 0, this.ra = r, i = new b(this.ra, this.N), i.done = !1, this.o.length = 0, this.o[0] = i;
938
938
  }
939
- var _n = {
939
+ var Hn = {
940
940
  C: !0,
941
941
  kc: 5
942
- }, Yt = {
942
+ }, zt = {
943
943
  configurable: !0,
944
944
  enumerable: !0,
945
945
  writable: !1
946
- }, g = {
946
+ }, y = {
947
947
  configurable: !0,
948
948
  enumerable: !1,
949
949
  writable: !0
950
- }, q = {
950
+ }, z = {
951
951
  configurable: !0,
952
952
  enumerable: !1,
953
953
  writable: !1
954
- }, _e = {
954
+ }, We = {
955
955
  configurable: !1,
956
956
  enumerable: !1,
957
957
  writable: !1
958
- }, Wn = {
958
+ }, Kn = {
959
959
  configurable: !1,
960
960
  enumerable: !0,
961
961
  writable: !0
962
- }, pr = {
962
+ }, mr = {
963
963
  STEP_ERROR: !0
964
- }, Pe = {
964
+ }, Ne = {
965
965
  SCOPE_REFERENCE: !0
966
966
  }, Ye = {
967
967
  VALUE_IN_DESCRIPTOR: !0
968
- }, Oe = {
968
+ }, je = {
969
969
  REGEXP_TIMEOUT: !0
970
- }, $n = [], fe = null, Ge = null, ve = typeof globalThis > "u" ? void 0 : globalThis, Co = ["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();", "};"];
971
- function Jt(e) {
970
+ }, Gn = [], fe = null, Xe = null, ve = typeof globalThis > "u" ? void 0 : globalThis, To = ["onmessage = function(e) {", "var result;", "var data = e.data;", "switch (data[0]) {", "case 'split':", "result = data[1].split(data[2], data[3]);", "break;", "case 'match':", "result = data[1].match(data[2]);", "break;", "case 'search':", "result = data[1].search(data[2]);", "break;", "case 'replace':", "result = data[1].replace(data[2], data[3]);", "break;", "case 'exec':", "var regexp = data[1];", "regexp.lastIndex = data[2];", "result = [regexp.exec(data[3]), data[1].lastIndex];", "break;", "default:", "throw Error('Unknown RegExp operation: ' + data[0]);", "}", "postMessage(result);", "close();", "};"];
971
+ function qt(e) {
972
972
  var t = e >>> 0;
973
973
  return t === Number(e) ? t : NaN;
974
974
  }
975
- function Xe(e) {
975
+ function Je(e) {
976
976
  var t = e >>> 0;
977
977
  return String(t) === String(e) && t !== 4294967295 ? t : NaN;
978
978
  }
979
- function ut(e, t, n) {
979
+ function pt(e, t, n) {
980
980
  t ? e.start = t : delete e.start, n ? e.end = n : delete e.end;
981
981
  for (var r in e)
982
982
  if (r !== "loc" && e.hasOwnProperty(r)) {
983
983
  var o = e[r];
984
- o && typeof o == "object" && ut(o, t, n);
984
+ o && typeof o == "object" && pt(o, t, n);
985
985
  }
986
986
  }
987
987
  h.prototype.REGEXP_MODE = 2;
@@ -992,19 +992,19 @@ B.P = !1;
992
992
  B.Ka = !1;
993
993
  B.Kb = 0;
994
994
  B.ic = 0;
995
- function je(e, t) {
995
+ function Re(e, t) {
996
996
  var n = {}, r;
997
- for (r in _n)
998
- n[r] = _n[r];
997
+ for (r in Hn)
998
+ n[r] = Hn[r];
999
999
  return n.sourceFile = t, ve.j.parse(e, n);
1000
1000
  }
1001
1001
  B.Jb = function(e) {
1002
1002
  var t = this.o[0];
1003
1003
  if (!t || t.node.type !== "Program")
1004
1004
  throw Error("Expecting original AST to start with a Program node");
1005
- if (typeof e == "string" && (e = je(e, "appendCode" + this.Kb++)), !e || e.type !== "Program")
1005
+ if (typeof e == "string" && (e = Re(e, "appendCode" + this.Kb++)), !e || e.type !== "Program")
1006
1006
  throw Error("Expecting new AST to start with a Program node");
1007
- Je(this, e, t.scope), Array.prototype.push.apply(t.node.body, e.body), t.node.body.jb = null, t.done = !1;
1007
+ ze(this, e, t.scope), Array.prototype.push.apply(t.node.body, e.body), t.node.body.jb = null, t.done = !1;
1008
1008
  };
1009
1009
  B.lb = function() {
1010
1010
  var e = this.o, t;
@@ -1018,7 +1018,7 @@ B.lb = function() {
1018
1018
  if (n = this.ca[0], !n || n.time > Date.now())
1019
1019
  n = null;
1020
1020
  else {
1021
- this.ca.shift(), 0 <= n.interval && mr(this, n, n.interval);
1021
+ this.ca.shift(), 0 <= n.interval && vr(this, n, n.interval);
1022
1022
  var r = new b(n.node, n.scope);
1023
1023
  n.zb && (r.ia = 2, r.B = this.Na, r.U = n.zb, r.Qa = !0, r.F = n.Lb), n = r;
1024
1024
  }
@@ -1026,15 +1026,15 @@ B.lb = function() {
1026
1026
  break;
1027
1027
  }
1028
1028
  r = n.node;
1029
- var o = Ge;
1030
- Ge = this;
1029
+ var o = Xe;
1030
+ Xe = this;
1031
1031
  try {
1032
1032
  var i = this.rb[r.type](e, n, r);
1033
1033
  } catch (s) {
1034
- if (s !== pr)
1034
+ if (s !== mr)
1035
1035
  throw this.value !== s && (this.value = void 0), s;
1036
1036
  } finally {
1037
- Ge = o;
1037
+ Xe = o;
1038
1038
  }
1039
1039
  if (i && e.push(i), this.P)
1040
1040
  throw this.value = void 0, Error("Getter not supported in this context");
@@ -1049,12 +1049,12 @@ B.Eb = function() {
1049
1049
  ;
1050
1050
  return this.za;
1051
1051
  };
1052
- function Eo(e, t) {
1053
- e.g(t, "NaN", NaN, _e), e.g(t, "Infinity", 1 / 0, _e), e.g(t, "undefined", void 0, _e), e.g(t, "window", t, Yt), e.g(t, "this", t, _e), e.g(t, "self", t), e.M = new P(null), e.Z = new P(e.M), Io(e, t), To(e, t), t.xa = e.M, e.g(t, "constructor", e.v, g), Ao(e, t), Oo(e, t), jo(e, t), Ro(e, t), Po(e, t), No(e, t), Bo(e, t), Uo(e, t), Fo(e, t);
1052
+ function Ao(e, t) {
1053
+ e.g(t, "NaN", NaN, We), e.g(t, "Infinity", 1 / 0, We), e.g(t, "undefined", void 0, We), e.g(t, "window", t, zt), e.g(t, "this", t, We), e.g(t, "self", t), e.M = new P(null), e.Z = new P(e.M), Oo(e, t), jo(e, t), t.xa = e.M, e.g(t, "constructor", e.v, y), Ro(e, t), Po(e, t), No(e, t), Bo(e, t), Uo(e, t), Mo(e, t), Fo(e, t), Vo(e, t), Do(e, t);
1054
1054
  var n = e.i(function() {
1055
1055
  throw EvalError("Can't happen");
1056
1056
  }, !1);
1057
- n.eval = !0, e.g(t, "eval", n, g), e.g(t, "parseInt", e.i(parseInt, !1), g), e.g(t, "parseFloat", e.i(parseFloat, !1), g), e.g(t, "isNaN", e.i(isNaN, !1), g), e.g(t, "isFinite", e.i(isFinite, !1), g);
1057
+ n.eval = !0, e.g(t, "eval", n, y), e.g(t, "parseInt", e.i(parseInt, !1), y), e.g(t, "parseFloat", e.i(parseFloat, !1), y), e.g(t, "isNaN", e.i(isNaN, !1), y), e.g(t, "isFinite", e.i(isFinite, !1), y);
1058
1058
  for (var r = [[escape, "escape"], [unescape, "unescape"], [decodeURI, "decodeURI"], [decodeURIComponent, "decodeURIComponent"], [encodeURI, "encodeURI"], [encodeURIComponent, "encodeURIComponent"]], o = 0; o < r.length; o++)
1059
1059
  n = function(i) {
1060
1060
  return function(s) {
@@ -1064,19 +1064,19 @@ function Eo(e, t) {
1064
1064
  S(e, e.Gb, u.message);
1065
1065
  }
1066
1066
  };
1067
- }(r[o][0]), e.g(t, r[o][1], e.i(n, !1), g);
1067
+ }(r[o][0]), e.g(t, r[o][1], e.i(n, !1), y);
1068
1068
  n = function(i) {
1069
- return Hn(e, !1, arguments);
1070
- }, e.g(t, "setTimeout", e.i(n, !1), g), n = function(i) {
1071
- return Hn(e, !0, arguments);
1072
- }, e.g(t, "setInterval", e.i(n, !1), g), n = function(i) {
1073
- Kn(e, i);
1074
- }, e.g(t, "clearTimeout", e.i(n, !1), g), n = function(i) {
1075
- Kn(e, i);
1076
- }, e.g(t, "clearInterval", e.i(n, !1), g), 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);
1069
+ return Xn(e, !1, arguments);
1070
+ }, e.g(t, "setTimeout", e.i(n, !1), y), n = function(i) {
1071
+ return Xn(e, !0, arguments);
1072
+ }, e.g(t, "setInterval", e.i(n, !1), y), n = function(i) {
1073
+ Jn(e, i);
1074
+ }, e.g(t, "clearTimeout", e.i(n, !1), y), n = function(i) {
1075
+ Jn(e, i);
1076
+ }, e.g(t, "clearInterval", e.i(n, !1), y), e.OBJECT = e.v, e.OBJECT_PROTO = e.M, e.FUNCTION = e.O, e.FUNCTION_PROTO = e.Z, e.ARRAY = e.qa, e.ARRAY_PROTO = e.La, e.REGEXP = e.I, e.REGEXP_PROTO = e.Ma, e.DATE = e.$, e.DATE_PROTO = e.nb, e.qb && e.qb(e, t);
1077
1077
  }
1078
1078
  B.Wb = 0;
1079
- function Io(e, t) {
1079
+ function Oo(e, t) {
1080
1080
  var n = /^[A-Za-z_$][\w$]*$/, r = function(o) {
1081
1081
  var i = arguments.length ? String(arguments[arguments.length - 1]) : "", s = Array.prototype.slice.call(arguments, 0, -1).join(",").trim();
1082
1082
  if (s) {
@@ -1088,29 +1088,29 @@ function Io(e, t) {
1088
1088
  s = s.join(", ");
1089
1089
  }
1090
1090
  try {
1091
- var k = je("(function(" + s + ") {" + i + "})", "function" + e.Wb++);
1092
- } catch (E) {
1093
- S(e, e.T, "Invalid code: " + E.message);
1091
+ var v = Re("(function(" + s + ") {" + i + "})", "function" + e.Wb++);
1092
+ } catch (x) {
1093
+ S(e, e.T, "Invalid code: " + x.message);
1094
1094
  }
1095
- return k.body.length !== 1 && S(e, e.T, "Invalid code in function body"), Zt(e, k.body[0].la, e.N, "anonymous");
1095
+ return v.body.length !== 1 && S(e, e.T, "Invalid code in function body"), en(e, v.body[0].la, e.N, "anonymous");
1096
1096
  };
1097
- e.O = e.i(r, !0), e.g(t, "Function", e.O, g), e.g(e.O, "prototype", e.Z, g), e.g(e.Z, "constructor", e.O, g), e.Z.Ta = function() {
1098
- }, e.Z.Ta.id = e.Ya++, e.Z.Ab = !0, e.g(e.Z, "length", 0, q), e.Z.H = "Function", r = function(o, i) {
1097
+ e.O = e.i(r, !0), e.g(t, "Function", e.O, y), e.g(e.O, "prototype", e.Z, y), e.g(e.Z, "constructor", e.O, y), e.Z.Ta = function() {
1098
+ }, e.Z.Ta.id = e.Ya++, e.Z.Ab = !0, e.g(e.Z, "length", 0, z), e.Z.H = "Function", r = function(o, i) {
1099
1099
  var s = e.o[e.o.length - 1];
1100
- s.U = this, s.B = o, s.F = [], i != null && (i instanceof P ? s.F = dr(e, i) : S(e, e.j, "CreateListFromArrayLike called on non-object")), s.eb = !1;
1101
- }, $(e, e.O, "apply", r), r = function(o) {
1100
+ s.U = this, s.B = o, s.F = [], i != null && (i instanceof P ? s.F = gr(e, i) : S(e, e.j, "CreateListFromArrayLike called on non-object")), s.eb = !1;
1101
+ }, W(e, e.O, "apply", r), r = function(o) {
1102
1102
  var i = e.o[e.o.length - 1];
1103
1103
  i.U = this, i.B = o, i.F = [];
1104
1104
  for (var s = 1; s < arguments.length; s++)
1105
1105
  i.F.push(arguments[s]);
1106
1106
  i.eb = !1;
1107
- }, $(e, e.O, "call", r), e.ba.push("Object.defineProperty(Function.prototype, 'bind',", "{configurable: true, writable: true, value:", "function bind(oThis) {", "if (typeof this !== 'function') {", "throw TypeError('What is trying to be bound is not callable');", "}", "var aArgs = Array.prototype.slice.call(arguments, 1),", "fToBind = this,", "fNOP = function() {},", "fBound = function() {", "return fToBind.apply(this instanceof fNOP", "? this", ": oThis,", "aArgs.concat(Array.prototype.slice.call(arguments)));", "};", "if (this.prototype) {", "fNOP.prototype = this.prototype;", "}", "fBound.prototype = new fNOP();", "return fBound;", "}", "});", ""), r = function() {
1107
+ }, W(e, e.O, "call", r), e.ba.push("Object.defineProperty(Function.prototype, 'bind',", "{configurable: true, writable: true, value:", "function bind(oThis) {", "if (typeof this !== 'function') {", "throw TypeError('What is trying to be bound is not callable');", "}", "var aArgs = Array.prototype.slice.call(arguments, 1),", "fToBind = this,", "fNOP = function() {},", "fBound = function() {", "return fToBind.apply(this instanceof fNOP", "? this", ": oThis,", "aArgs.concat(Array.prototype.slice.call(arguments)));", "};", "if (this.prototype) {", "fNOP.prototype = this.prototype;", "}", "fBound.prototype = new fNOP();", "return fBound;", "}", "});", ""), r = function() {
1108
1108
  return String(this);
1109
- }, $(e, e.O, "toString", r), e.g(e.O, "toString", e.i(r, !1), g), r = function() {
1109
+ }, W(e, e.O, "toString", r), e.g(e.O, "toString", e.i(r, !1), y), r = function() {
1110
1110
  return this.valueOf();
1111
- }, $(e, e.O, "valueOf", r), e.g(e.O, "valueOf", e.i(r, !1), g);
1111
+ }, W(e, e.O, "valueOf", r), e.g(e.O, "valueOf", e.i(r, !1), y);
1112
1112
  }
1113
- function To(e, t) {
1113
+ function jo(e, t) {
1114
1114
  function n(o) {
1115
1115
  o != null || S(e, e.j, "Cannot convert '" + o + "' to object");
1116
1116
  }
@@ -1123,43 +1123,43 @@ function To(e, t) {
1123
1123
  }
1124
1124
  return o;
1125
1125
  };
1126
- e.v = e.i(r, !0), e.g(e.v, "prototype", e.M, g), e.g(e.M, "constructor", e.v, g), e.g(t, "Object", e.v, g), r = function(o) {
1126
+ e.v = e.i(r, !0), e.g(e.v, "prototype", e.M, y), e.g(e.M, "constructor", e.v, y), e.g(t, "Object", e.v, y), r = function(o) {
1127
1127
  return n(o), ue(e, Object.getOwnPropertyNames(o instanceof P ? o.h : o));
1128
- }, e.g(e.v, "getOwnPropertyNames", e.i(r, !1), g), r = function(o) {
1128
+ }, e.g(e.v, "getOwnPropertyNames", e.i(r, !1), y), r = function(o) {
1129
1129
  return n(o), o instanceof P && (o = o.h), ue(e, Object.keys(o));
1130
- }, e.g(e.v, "keys", e.i(r, !1), g), r = function(o) {
1130
+ }, e.g(e.v, "keys", e.i(r, !1), y), r = function(o) {
1131
1131
  return o === null ? e.s(null) : (o instanceof P || S(e, e.j, "Object prototype may only be an Object or null, not " + o), e.s(o));
1132
- }, e.g(e.v, "create", e.i(r, !1), g), e.ba.push("(function() {", "var create_ = Object.create;", "Object.create = function create(proto, props) {", "var obj = create_(proto);", "props && Object.defineProperties(obj, props);", "return obj;", "};", "})();", ""), r = function(o, i, s) {
1132
+ }, e.g(e.v, "create", e.i(r, !1), y), e.ba.push("(function() {", "var create_ = Object.create;", "Object.create = function create(proto, props) {", "var obj = create_(proto);", "props && Object.defineProperties(obj, props);", "return obj;", "};", "})();", ""), r = function(o, i, s) {
1133
1133
  return i = String(i), o instanceof P || S(e, e.j, "Object.defineProperty called on non-object: " + o), s instanceof P || S(e, e.j, "Property description must be an object"), !o.preventExtensions || i in o.h || S(e, e.j, "Can't define property '" + i + "', object is not extensible"), e.g(o, i, Ye, s.h), o;
1134
- }, e.g(e.v, "defineProperty", e.i(r, !1), g), e.ba.push("(function() {", "var defineProperty_ = Object.defineProperty;", "Object.defineProperty = function defineProperty(obj, prop, d1) {", "var d2 = {};", "if ('configurable' in d1) d2.configurable = d1.configurable;", "if ('enumerable' in d1) d2.enumerable = d1.enumerable;", "if ('writable' in d1) d2.writable = d1.writable;", "if ('value' in d1) d2.value = d1.value;", "if ('get' in d1) d2.get = d1.get;", "if ('set' in d1) d2.set = d1.set;", "return defineProperty_(obj, prop, d2);", "};", "})();", "Object.defineProperty(Object, 'defineProperties',", "{configurable: true, writable: true, value:", "function defineProperties(obj, props) {", "var keys = Object.keys(props);", "for (var i = 0; i < keys.length; i++) {", "Object.defineProperty(obj, keys[i], props[keys[i]]);", "}", "return obj;", "}", "});", ""), r = function(o, i) {
1134
+ }, e.g(e.v, "defineProperty", e.i(r, !1), y), e.ba.push("(function() {", "var defineProperty_ = Object.defineProperty;", "Object.defineProperty = function defineProperty(obj, prop, d1) {", "var d2 = {};", "if ('configurable' in d1) d2.configurable = d1.configurable;", "if ('enumerable' in d1) d2.enumerable = d1.enumerable;", "if ('writable' in d1) d2.writable = d1.writable;", "if ('value' in d1) d2.value = d1.value;", "if ('get' in d1) d2.get = d1.get;", "if ('set' in d1) d2.set = d1.set;", "return defineProperty_(obj, prop, d2);", "};", "})();", "Object.defineProperty(Object, 'defineProperties',", "{configurable: true, writable: true, value:", "function defineProperties(obj, props) {", "var keys = Object.keys(props);", "for (var i = 0; i < keys.length; i++) {", "Object.defineProperty(obj, keys[i], props[keys[i]]);", "}", "return obj;", "}", "});", ""), r = function(o, i) {
1135
1135
  if (o instanceof P || S(e, e.j, "Object.getOwnPropertyDescriptor called on non-object: " + o), i = String(i), i in o.h) {
1136
1136
  var s = Object.getOwnPropertyDescriptor(o.h, i), u = o.V[i];
1137
1137
  return o = o.Y[i], i = e.s(e.M), u || o ? (e.g(i, "get", u), e.g(i, "set", o)) : (e.g(i, "value", s.value), e.g(i, "writable", s.writable)), e.g(i, "configurable", s.configurable), e.g(i, "enumerable", s.enumerable), i;
1138
1138
  }
1139
- }, e.g(e.v, "getOwnPropertyDescriptor", e.i(r, !1), g), r = function(o) {
1139
+ }, e.g(e.v, "getOwnPropertyDescriptor", e.i(r, !1), y), r = function(o) {
1140
1140
  return n(o), pe(e, o);
1141
- }, e.g(e.v, "getPrototypeOf", e.i(r, !1), g), r = function(o) {
1141
+ }, e.g(e.v, "getPrototypeOf", e.i(r, !1), y), r = function(o) {
1142
1142
  return !!o && !o.preventExtensions;
1143
- }, e.g(e.v, "isExtensible", e.i(r, !1), g), r = function(o) {
1143
+ }, e.g(e.v, "isExtensible", e.i(r, !1), y), r = function(o) {
1144
1144
  return o instanceof P && (o.preventExtensions = !0), o;
1145
- }, e.g(e.v, "preventExtensions", e.i(r, !1), g), $(e, e.v, "toString", P.prototype.toString), $(e, e.v, "toLocaleString", P.prototype.toString), $(e, e.v, "valueOf", P.prototype.valueOf), r = function(o) {
1145
+ }, e.g(e.v, "preventExtensions", e.i(r, !1), y), W(e, e.v, "toString", P.prototype.toString), W(e, e.v, "toLocaleString", P.prototype.toString), W(e, e.v, "valueOf", P.prototype.valueOf), r = function(o) {
1146
1146
  return n(this), this instanceof P ? String(o) in this.h : this.hasOwnProperty(o);
1147
- }, $(e, e.v, "hasOwnProperty", r), r = function(o) {
1147
+ }, W(e, e.v, "hasOwnProperty", r), r = function(o) {
1148
1148
  return n(this), this instanceof P ? Object.prototype.propertyIsEnumerable.call(this.h, o) : this.propertyIsEnumerable(o);
1149
- }, $(e, e.v, "propertyIsEnumerable", r), r = function(o) {
1149
+ }, W(e, e.v, "propertyIsEnumerable", r), r = function(o) {
1150
1150
  for (; ; ) {
1151
1151
  if (o = pe(e, o), !o)
1152
1152
  return !1;
1153
1153
  if (o === this)
1154
1154
  return !0;
1155
1155
  }
1156
- }, $(e, e.v, "isPrototypeOf", r);
1156
+ }, W(e, e.v, "isPrototypeOf", r);
1157
1157
  }
1158
- function Ao(e, t) {
1158
+ function Ro(e, t) {
1159
1159
  var n = function(r) {
1160
- var o = de(e) ? this : Re(e), i = arguments[0];
1160
+ var o = de(e) ? this : Pe(e), i = arguments[0];
1161
1161
  if (arguments.length === 1 && typeof i == "number")
1162
- isNaN(Jt(i)) && S(e, e.ob, "Invalid array length: " + i), o.h.length = i;
1162
+ isNaN(qt(i)) && S(e, e.ob, "Invalid array length: " + i), o.h.length = i;
1163
1163
  else {
1164
1164
  for (i = 0; i < arguments.length; i++)
1165
1165
  o.h[i] = arguments[i];
@@ -1167,20 +1167,20 @@ function Ao(e, t) {
1167
1167
  }
1168
1168
  return o;
1169
1169
  };
1170
- e.qa = e.i(n, !0), e.La = e.qa.h.prototype, e.g(t, "Array", e.qa, g), n = function(r) {
1170
+ e.qa = e.i(n, !0), e.La = e.qa.h.prototype, e.g(t, "Array", e.qa, y), n = function(r) {
1171
1171
  return r && r.H === "Array";
1172
- }, e.g(e.qa, "isArray", e.i(n, !1), g), e.g(e.La, "length", 0, {
1172
+ }, e.g(e.qa, "isArray", e.i(n, !1), y), e.g(e.La, "length", 0, {
1173
1173
  configurable: !1,
1174
1174
  enumerable: !1,
1175
1175
  writable: !0
1176
1176
  }), 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(',');", "}", ");", "})();", "");
1177
1177
  }
1178
- function Oo(e, t) {
1178
+ function Po(e, t) {
1179
1179
  var n = function(r) {
1180
1180
  return r = arguments.length ? ve.String(r) : "", de(e) ? (this.data = r, this) : r;
1181
1181
  };
1182
- for (e.J = e.i(n, !0), e.g(t, "String", e.J, g), e.g(e.J, "fromCharCode", e.i(String.fromCharCode, !1), g), t = "charAt charCodeAt concat indexOf lastIndexOf slice substr substring toLocaleLowerCase toLocaleUpperCase toLowerCase toUpperCase trim".split(" "), n = 0; n < t.length; n++)
1183
- $(e, e.J, t[n], String.prototype[t[n]]);
1182
+ for (e.J = e.i(n, !0), e.g(t, "String", e.J, y), e.g(e.J, "fromCharCode", e.i(String.fromCharCode, !1), y), t = "charAt charCodeAt concat indexOf lastIndexOf slice substr substring toLocaleLowerCase toLocaleUpperCase toLowerCase toUpperCase trim".split(" "), n = 0; n < t.length; n++)
1183
+ W(e, e.J, t[n], String.prototype[t[n]]);
1184
1184
  n = function(r, o, i) {
1185
1185
  o = e.R(o), i = e.R(i);
1186
1186
  try {
@@ -1188,128 +1188,128 @@ function Oo(e, t) {
1188
1188
  } catch (s) {
1189
1189
  S(e, e.D, "localeCompare: " + s.message);
1190
1190
  }
1191
- }, $(e, e.J, "localeCompare", n), n = function(r, o, i) {
1191
+ }, W(e, e.J, "localeCompare", n), n = function(r, o, i) {
1192
1192
  var s = String(this);
1193
- if (o = o ? Number(o) : void 0, K(e, r, e.I) && (r = r.data, $e(e, r, i), e.REGEXP_MODE === 2)) {
1193
+ if (o = o ? Number(o) : void 0, H(e, r, e.I) && (r = r.data, He(e, r, i), e.REGEXP_MODE === 2)) {
1194
1194
  if (fe)
1195
- r = We(e, "string.split(separator, limit)", {
1195
+ r = $e(e, "string.split(separator, limit)", {
1196
1196
  string: s,
1197
1197
  separator: r,
1198
1198
  limit: o
1199
- }, r, i), r !== Oe && i(ue(e, r));
1199
+ }, r, i), r !== je && i(ue(e, r));
1200
1200
  else {
1201
- var u = e.ha(), d = He(e, r, u, i);
1202
- u.onmessage = function(k) {
1203
- clearTimeout(d), i(ue(e, k.data));
1201
+ var u = e.ha(), d = Ke(e, r, u, i);
1202
+ u.onmessage = function(v) {
1203
+ clearTimeout(d), i(ue(e, v.data));
1204
1204
  }, u.postMessage(["split", s, r, o]);
1205
1205
  }
1206
1206
  return;
1207
1207
  }
1208
1208
  r = s.split(r, o), i(ue(e, r));
1209
- }, Ke(e, e.J, "split", n), n = function(r, o) {
1209
+ }, Ge(e, e.J, "split", n), n = function(r, o) {
1210
1210
  var i = String(this);
1211
- if (r = K(e, r, e.I) ? r.data : new RegExp(r), $e(e, r, o), e.REGEXP_MODE === 2)
1211
+ if (r = H(e, r, e.I) ? r.data : new RegExp(r), He(e, r, o), e.REGEXP_MODE === 2)
1212
1212
  if (fe)
1213
- r = We(e, "string.match(regexp)", {
1213
+ r = $e(e, "string.match(regexp)", {
1214
1214
  string: i,
1215
1215
  regexp: r
1216
- }, r, o), r !== Oe && o(r && ue(e, r));
1216
+ }, r, o), r !== je && o(r && ue(e, r));
1217
1217
  else {
1218
- var s = e.ha(), u = He(e, r, s, o);
1218
+ var s = e.ha(), u = Ke(e, r, s, o);
1219
1219
  s.onmessage = function(d) {
1220
1220
  clearTimeout(u), o(d.data && ue(e, d.data));
1221
1221
  }, s.postMessage(["match", i, r]);
1222
1222
  }
1223
1223
  else
1224
1224
  r = i.match(r), o(r && ue(e, r));
1225
- }, Ke(e, e.J, "match", n), n = function(r, o) {
1225
+ }, Ge(e, e.J, "match", n), n = function(r, o) {
1226
1226
  var i = String(this);
1227
- if (K(e, r, e.I) ? r = r.data : r = new RegExp(r), $e(e, r, o), e.REGEXP_MODE === 2)
1227
+ if (H(e, r, e.I) ? r = r.data : r = new RegExp(r), He(e, r, o), e.REGEXP_MODE === 2)
1228
1228
  if (fe)
1229
- r = We(e, "string.search(regexp)", {
1229
+ r = $e(e, "string.search(regexp)", {
1230
1230
  string: i,
1231
1231
  regexp: r
1232
- }, r, o), r !== Oe && o(r);
1232
+ }, r, o), r !== je && o(r);
1233
1233
  else {
1234
- var s = e.ha(), u = He(e, r, s, o);
1234
+ var s = e.ha(), u = Ke(e, r, s, o);
1235
1235
  s.onmessage = function(d) {
1236
1236
  clearTimeout(u), o(d.data);
1237
1237
  }, s.postMessage(["search", i, r]);
1238
1238
  }
1239
1239
  else
1240
1240
  o(i.search(r));
1241
- }, Ke(e, e.J, "search", n), n = function(r, o, i) {
1241
+ }, Ge(e, e.J, "search", n), n = function(r, o, i) {
1242
1242
  var s = String(this);
1243
- if (o = String(o), K(e, r, e.I) && (r = r.data, $e(e, r, i), e.REGEXP_MODE === 2)) {
1243
+ if (o = String(o), H(e, r, e.I) && (r = r.data, He(e, r, i), e.REGEXP_MODE === 2)) {
1244
1244
  if (fe)
1245
- r = We(e, "string.replace(substr, newSubstr)", {
1245
+ r = $e(e, "string.replace(substr, newSubstr)", {
1246
1246
  string: s,
1247
1247
  substr: r,
1248
1248
  newSubstr: o
1249
- }, r, i), r !== Oe && i(r);
1249
+ }, r, i), r !== je && i(r);
1250
1250
  else {
1251
- var u = e.ha(), d = He(e, r, u, i);
1252
- u.onmessage = function(k) {
1253
- clearTimeout(d), i(k.data);
1251
+ var u = e.ha(), d = Ke(e, r, u, i);
1252
+ u.onmessage = function(v) {
1253
+ clearTimeout(d), i(v.data);
1254
1254
  }, u.postMessage(["replace", s, r, o]);
1255
1255
  }
1256
1256
  return;
1257
1257
  }
1258
1258
  i(s.replace(r, o));
1259
- }, Ke(e, e.J, "replace", n), e.ba.push("(function() {", "var replace_ = String.prototype.replace;", "String.prototype.replace = function replace(substr, newSubstr) {", "if (typeof newSubstr !== 'function') {", "return replace_.call(this, substr, newSubstr);", "}", "var str = this;", "if (substr instanceof RegExp) {", "var subs = [];", "var m = substr.exec(str);", "while (m) {", "m.push(m.index, str);", "var inject = newSubstr.apply(null, m);", "subs.push([m.index, m[0].length, inject]);", "m = substr.global ? substr.exec(str) : null;", "}", "for (var i = subs.length - 1; i >= 0; i--) {", "str = str.substring(0, subs[i][0]) + subs[i][2] + str.substring(subs[i][0] + subs[i][1]);", "}", "} else {", "var i = str.indexOf(substr);", "if (i !== -1) {", "var inject = newSubstr(str.substr(i, substr.length), i, str);", "str = str.substring(0, i) + inject + str.substring(i + substr.length);", "}", "}", "return str;", "};", "})();", "");
1259
+ }, Ge(e, e.J, "replace", n), e.ba.push("(function() {", "var replace_ = String.prototype.replace;", "String.prototype.replace = function replace(substr, newSubstr) {", "if (typeof newSubstr !== 'function') {", "return replace_.call(this, substr, newSubstr);", "}", "var str = this;", "if (substr instanceof RegExp) {", "var subs = [];", "var m = substr.exec(str);", "while (m) {", "m.push(m.index, str);", "var inject = newSubstr.apply(null, m);", "subs.push([m.index, m[0].length, inject]);", "m = substr.global ? substr.exec(str) : null;", "}", "for (var i = subs.length - 1; i >= 0; i--) {", "str = str.substring(0, subs[i][0]) + subs[i][2] + str.substring(subs[i][0] + subs[i][1]);", "}", "} else {", "var i = str.indexOf(substr);", "if (i !== -1) {", "var inject = newSubstr(str.substr(i, substr.length), i, str);", "str = str.substring(0, i) + inject + str.substring(i + substr.length);", "}", "}", "return str;", "};", "})();", "");
1260
1260
  }
1261
- function jo(e, t) {
1261
+ function No(e, t) {
1262
1262
  e.mb = e.i(function(n) {
1263
1263
  return n = ve.Boolean(n), de(e) ? (this.data = n, this) : n;
1264
- }, !0), e.g(t, "Boolean", e.mb, g);
1264
+ }, !0), e.g(t, "Boolean", e.mb, y);
1265
1265
  }
1266
- function Ro(e, t) {
1266
+ function Bo(e, t) {
1267
1267
  var n = function(r) {
1268
1268
  return r = arguments.length ? ve.Number(r) : 0, de(e) ? (this.data = r, this) : r;
1269
1269
  };
1270
- for (e.aa = e.i(n, !0), e.g(t, "Number", e.aa, g), t = ["MAX_VALUE", "MIN_VALUE", "NaN", "NEGATIVE_INFINITY", "POSITIVE_INFINITY"], n = 0; n < t.length; n++)
1271
- e.g(e.aa, t[n], Number[t[n]], _e);
1270
+ for (e.aa = e.i(n, !0), e.g(t, "Number", e.aa, y), t = ["MAX_VALUE", "MIN_VALUE", "NaN", "NEGATIVE_INFINITY", "POSITIVE_INFINITY"], n = 0; n < t.length; n++)
1271
+ e.g(e.aa, t[n], Number[t[n]], We);
1272
1272
  n = function(r) {
1273
1273
  try {
1274
1274
  return Number(this).toExponential(r);
1275
1275
  } catch (o) {
1276
1276
  S(e, e.D, o.message);
1277
1277
  }
1278
- }, $(e, e.aa, "toExponential", n), n = function(r) {
1278
+ }, W(e, e.aa, "toExponential", n), n = function(r) {
1279
1279
  try {
1280
1280
  return Number(this).toFixed(r);
1281
1281
  } catch (o) {
1282
1282
  S(e, e.D, o.message);
1283
1283
  }
1284
- }, $(e, e.aa, "toFixed", n), n = function(r) {
1284
+ }, W(e, e.aa, "toFixed", n), n = function(r) {
1285
1285
  try {
1286
1286
  return Number(this).toPrecision(r);
1287
1287
  } catch (o) {
1288
1288
  S(e, e.D, o.message);
1289
1289
  }
1290
- }, $(e, e.aa, "toPrecision", n), n = function(r) {
1290
+ }, W(e, e.aa, "toPrecision", n), n = function(r) {
1291
1291
  try {
1292
1292
  return Number(this).toString(r);
1293
1293
  } catch (o) {
1294
1294
  S(e, e.D, o.message);
1295
1295
  }
1296
- }, $(e, e.aa, "toString", n), n = function(r, o) {
1296
+ }, W(e, e.aa, "toString", n), n = function(r, o) {
1297
1297
  r = r ? e.R(r) : void 0, o = o ? e.R(o) : void 0;
1298
1298
  try {
1299
1299
  return Number(this).toLocaleString(r, o);
1300
1300
  } catch (i) {
1301
1301
  S(e, e.D, "toLocaleString: " + i.message);
1302
1302
  }
1303
- }, $(e, e.aa, "toLocaleString", n);
1303
+ }, W(e, e.aa, "toLocaleString", n);
1304
1304
  }
1305
- function Po(e, t) {
1305
+ function Uo(e, t) {
1306
1306
  var n = function(o, i) {
1307
1307
  if (!de(e))
1308
1308
  return ve.Date();
1309
1309
  var s = [null].concat(Array.from(arguments));
1310
1310
  return this.data = new (Function.prototype.bind.apply(ve.Date, s))(), this;
1311
1311
  };
1312
- e.$ = e.i(n, !0), e.nb = e.$.h.prototype, e.g(t, "Date", e.$, g), e.g(e.$, "now", e.i(Date.now, !1), g), e.g(e.$, "parse", e.i(Date.parse, !1), g), e.g(e.$, "UTC", e.i(Date.UTC, !1), g), t = "getDate getDay getFullYear getHours getMilliseconds getMinutes getMonth getSeconds getTime getTimezoneOffset getUTCDate getUTCDay getUTCFullYear getUTCHours getUTCMilliseconds getUTCMinutes getUTCMonth getUTCSeconds getYear setDate setFullYear setHours setMilliseconds setMinutes setMonth setSeconds setTime setUTCDate setUTCFullYear setUTCHours setUTCMilliseconds setUTCMinutes setUTCMonth setUTCSeconds setYear toDateString toISOString toJSON toGMTString toLocaleDateString toLocaleString toLocaleTimeString toTimeString toUTCString".split(" ");
1312
+ e.$ = e.i(n, !0), e.nb = e.$.h.prototype, e.g(t, "Date", e.$, y), e.g(e.$, "now", e.i(Date.now, !1), y), e.g(e.$, "parse", e.i(Date.parse, !1), y), e.g(e.$, "UTC", e.i(Date.UTC, !1), y), t = "getDate getDay getFullYear getHours getMilliseconds getMinutes getMonth getSeconds getTime getTimezoneOffset getUTCDate getUTCDay getUTCFullYear getUTCHours getUTCMilliseconds getUTCMinutes getUTCMonth getUTCSeconds getYear setDate setFullYear setHours setMilliseconds setMinutes setMonth setSeconds setTime setUTCDate setUTCFullYear setUTCHours setUTCMilliseconds setUTCMinutes setUTCMonth setUTCSeconds setYear toDateString toISOString toJSON toGMTString toLocaleDateString toLocaleString toLocaleTimeString toTimeString toUTCString".split(" ");
1313
1313
  for (var r = 0; r < t.length; r++)
1314
1314
  n = function(o) {
1315
1315
  return function(i) {
@@ -1319,14 +1319,14 @@ function Po(e, t) {
1319
1319
  u[d] = e.R(arguments[d]);
1320
1320
  return s[o].apply(s, u);
1321
1321
  };
1322
- }(t[r]), $(e, e.$, t[r], n);
1322
+ }(t[r]), W(e, e.$, t[r], n);
1323
1323
  }
1324
- function No(e, t) {
1324
+ function Mo(e, t) {
1325
1325
  var n = function(r, o) {
1326
1326
  if (de(e))
1327
1327
  var i = this;
1328
1328
  else {
1329
- if (o === void 0 && K(e, r, e.I))
1329
+ if (o === void 0 && H(e, r, e.I))
1330
1330
  return r;
1331
1331
  i = e.s(e.Ma);
1332
1332
  }
@@ -1336,58 +1336,58 @@ function No(e, t) {
1336
1336
  } catch (u) {
1337
1337
  S(e, e.T, u.message);
1338
1338
  }
1339
- return zt(e, i, s), i;
1339
+ return Zt(e, i, s), i;
1340
1340
  };
1341
- e.I = e.i(n, !0), e.Ma = e.I.h.prototype, e.g(t, "RegExp", e.I, g), e.g(e.I.h.prototype, "global", void 0, q), e.g(e.I.h.prototype, "ignoreCase", void 0, q), e.g(e.I.h.prototype, "multiline", void 0, q), e.g(e.I.h.prototype, "source", "(?:)", q), e.ba.push("Object.defineProperty(RegExp.prototype, 'test',", "{configurable: true, writable: true, value:", "function test(str) {", "return !!this.exec(str);", "}", "});"), n = function(r, o) {
1342
- function i(E) {
1343
- if (E) {
1344
- var y = ue(e, E);
1345
- return e.g(y, "index", E.index), e.g(y, "input", E.input), y;
1341
+ e.I = e.i(n, !0), e.Ma = e.I.h.prototype, e.g(t, "RegExp", e.I, y), e.g(e.I.h.prototype, "global", void 0, z), e.g(e.I.h.prototype, "ignoreCase", void 0, z), e.g(e.I.h.prototype, "multiline", void 0, z), e.g(e.I.h.prototype, "source", "(?:)", z), e.ba.push("Object.defineProperty(RegExp.prototype, 'test',", "{configurable: true, writable: true, value:", "function test(str) {", "return !!this.exec(str);", "}", "});"), n = function(r, o) {
1342
+ function i(x) {
1343
+ if (x) {
1344
+ var m = ue(e, x);
1345
+ return e.g(m, "index", x.index), e.g(m, "input", x.input), m;
1346
1346
  }
1347
1347
  return null;
1348
1348
  }
1349
1349
  var s = this.data;
1350
- if (r = String(r), s.lastIndex = Number(e.G(this, "lastIndex")), $e(e, s, o), e.REGEXP_MODE === 2)
1350
+ if (r = String(r), s.lastIndex = Number(e.G(this, "lastIndex")), He(e, s, o), e.REGEXP_MODE === 2)
1351
1351
  if (fe)
1352
- r = We(e, "regexp.exec(string)", {
1352
+ r = $e(e, "regexp.exec(string)", {
1353
1353
  string: r,
1354
1354
  regexp: s
1355
- }, s, o), r !== Oe && (e.g(this, "lastIndex", s.lastIndex), o(i(r)));
1355
+ }, s, o), r !== je && (e.g(this, "lastIndex", s.lastIndex), o(i(r)));
1356
1356
  else {
1357
- var u = e.ha(), d = He(e, s, u, o), k = this;
1358
- u.onmessage = function(E) {
1359
- clearTimeout(d), e.g(k, "lastIndex", E.data[1]), o(i(E.data[0]));
1357
+ var u = e.ha(), d = Ke(e, s, u, o), v = this;
1358
+ u.onmessage = function(x) {
1359
+ clearTimeout(d), e.g(v, "lastIndex", x.data[1]), o(i(x.data[0]));
1360
1360
  }, u.postMessage(["exec", s, s.lastIndex, r]);
1361
1361
  }
1362
1362
  else
1363
1363
  r = s.exec(r), e.g(this, "lastIndex", s.lastIndex), o(i(r));
1364
- }, Ke(e, e.I, "exec", n);
1364
+ }, Ge(e, e.I, "exec", n);
1365
1365
  }
1366
- function Bo(e, t) {
1366
+ function Fo(e, t) {
1367
1367
  function n(r) {
1368
1368
  var o = e.i(function(i) {
1369
1369
  var s = de(e) ? this : e.Aa(o);
1370
- return _t(e, s, i), s;
1370
+ return $t(e, s, i), s;
1371
1371
  }, !0);
1372
- return e.g(o, "prototype", e.Aa(e.D), g), e.g(o.h.prototype, "name", r, g), e.g(t, r, o, g), o;
1372
+ return e.g(o, "prototype", e.Aa(e.D), y), e.g(o.h.prototype, "name", r, y), e.g(t, r, o, y), o;
1373
1373
  }
1374
1374
  e.D = e.i(function(r) {
1375
1375
  var o = de(e) ? this : e.Aa(e.D);
1376
- return _t(e, o, r), o;
1377
- }, !0), e.g(t, "Error", e.D, g), e.g(e.D.h.prototype, "message", "", g), e.g(e.D.h.prototype, "name", "Error", g), n("EvalError"), e.ob = n("RangeError"), e.pb = n("ReferenceError"), e.T = n("SyntaxError"), e.j = n("TypeError"), e.Gb = n("URIError");
1376
+ return $t(e, o, r), o;
1377
+ }, !0), e.g(t, "Error", e.D, y), e.g(e.D.h.prototype, "message", "", y), e.g(e.D.h.prototype, "name", "Error", y), n("EvalError"), e.ob = n("RangeError"), e.pb = n("ReferenceError"), e.T = n("SyntaxError"), e.j = n("TypeError"), e.Gb = n("URIError");
1378
1378
  }
1379
- function Uo(e, t) {
1379
+ function Vo(e, t) {
1380
1380
  var n = e.s(e.M);
1381
- e.g(t, "Math", n, g);
1381
+ e.g(t, "Math", n, y);
1382
1382
  var r = "E LN2 LN10 LOG2E LOG10E PI SQRT1_2 SQRT2".split(" ");
1383
1383
  for (t = 0; t < r.length; t++)
1384
- e.g(n, r[t], Math[r[t]], q);
1384
+ e.g(n, r[t], Math[r[t]], z);
1385
1385
  for (r = "abs acos asin atan atan2 ceil cos exp floor log max min pow random round sin sqrt tan".split(" "), t = 0; t < r.length; t++)
1386
- e.g(n, r[t], e.i(Math[r[t]], !1), g);
1386
+ e.g(n, r[t], e.i(Math[r[t]], !1), y);
1387
1387
  }
1388
- function Fo(e, t) {
1388
+ function Do(e, t) {
1389
1389
  var n = e.s(e.M);
1390
- e.g(t, "JSON", n, g), t = function(r) {
1390
+ e.g(t, "JSON", n, y), t = function(r) {
1391
1391
  try {
1392
1392
  var o = JSON.parse(String(r));
1393
1393
  } catch (i) {
@@ -1395,7 +1395,7 @@ function Fo(e, t) {
1395
1395
  }
1396
1396
  return e.Ia(o);
1397
1397
  }, e.g(n, "parse", e.i(t, !1)), t = function(r, o, i) {
1398
- o && o.H === "Function" ? S(e, e.j, "Function replacer on JSON.stringify not supported") : o && o.H === "Array" ? (o = dr(e, o), o = o.filter(function(u) {
1398
+ o && o.H === "Function" ? S(e, e.j, "Function replacer on JSON.stringify not supported") : o && o.H === "Array" ? (o = gr(e, o), o = o.filter(function(u) {
1399
1399
  return typeof u == "string" || typeof u == "number";
1400
1400
  })) : o = null, typeof i != "string" && typeof i != "number" && (i = void 0), r = e.R(r);
1401
1401
  try {
@@ -1406,7 +1406,7 @@ function Fo(e, t) {
1406
1406
  return s;
1407
1407
  }, e.g(n, "stringify", e.i(t, !1));
1408
1408
  }
1409
- function K(e, t, n) {
1409
+ function H(e, t, n) {
1410
1410
  if (t == null || !n)
1411
1411
  return !1;
1412
1412
  if (n = n.h.prototype, t === n)
@@ -1418,11 +1418,11 @@ function K(e, t, n) {
1418
1418
  }
1419
1419
  return !1;
1420
1420
  }
1421
- function zt(e, t, n) {
1422
- t.data = new RegExp(n.source, n.flags), e.g(t, "lastIndex", n.lastIndex, g), e.g(t, "source", n.source, q), e.g(t, "global", n.global, q), e.g(t, "ignoreCase", n.ignoreCase, q), e.g(t, "multiline", n.multiline, q);
1421
+ function Zt(e, t, n) {
1422
+ t.data = new RegExp(n.source, n.flags), e.g(t, "lastIndex", n.lastIndex, y), e.g(t, "source", n.source, z), e.g(t, "global", n.global, z), e.g(t, "ignoreCase", n.ignoreCase, z), e.g(t, "multiline", n.multiline, z);
1423
1423
  }
1424
- function _t(e, t, n) {
1425
- n && e.g(t, "message", String(n), g), n = [];
1424
+ function $t(e, t, n) {
1425
+ n && e.g(t, "message", String(n), y), n = [];
1426
1426
  for (var r = e.o.length - 1; 0 <= r; r--) {
1427
1427
  var o = e.o[r], i = o.node;
1428
1428
  i.type === "CallExpression" && (o = o.U) && n.length && (n[n.length - 1].Ob = e.G(o, "name")), !i.X || n.length && i.type !== "CallExpression" || n.push({
@@ -1436,16 +1436,16 @@ function _t(e, t, n) {
1436
1436
  `) : i + (" at " + s + `
1437
1437
  `);
1438
1438
  }
1439
- e.g(t, "stack", i.trim(), g);
1439
+ e.g(t, "stack", i.trim(), y);
1440
1440
  }
1441
1441
  B.ha = function() {
1442
1442
  var e = this.ha.Mb;
1443
- return e || (e = new Blob([Co.join(`
1443
+ return e || (e = new Blob([To.join(`
1444
1444
  `)], {
1445
1445
  type: "application/javascript"
1446
1446
  }), this.ha.Mb = e), new Worker(URL.createObjectURL(e));
1447
1447
  };
1448
- function We(e, t, n, r, o) {
1448
+ function $e(e, t, n, r, o) {
1449
1449
  var i = {
1450
1450
  timeout: e.REGEXP_THREAD_TIMEOUT
1451
1451
  };
@@ -1454,9 +1454,9 @@ function We(e, t, n, r, o) {
1454
1454
  } catch {
1455
1455
  o(null), S(e, e.D, "RegExp Timeout: " + r);
1456
1456
  }
1457
- return Oe;
1457
+ return je;
1458
1458
  }
1459
- function $e(e, t, n) {
1459
+ function He(e, t, n) {
1460
1460
  if (e.REGEXP_MODE === 0)
1461
1461
  var r = !1;
1462
1462
  else if (e.REGEXP_MODE === 1)
@@ -1475,7 +1475,7 @@ function $e(e, t, n) {
1475
1475
  r = !1;
1476
1476
  r || (n(null), S(e, e.D, "Regular expressions not supported: " + t));
1477
1477
  }
1478
- function He(e, t, n, r) {
1478
+ function Ke(e, t, n, r) {
1479
1479
  return setTimeout(function() {
1480
1480
  n.terminate(), r(null);
1481
1481
  try {
@@ -1490,9 +1490,9 @@ B.Aa = function(e) {
1490
1490
  B.s = function(e) {
1491
1491
  if (typeof e != "object")
1492
1492
  throw Error("Non object prototype");
1493
- return e = new P(e), K(this, e, this.D) && (e.H = "Error"), e;
1493
+ return e = new P(e), H(this, e, this.D) && (e.H = "Error"), e;
1494
1494
  };
1495
- function Re(e) {
1495
+ function Pe(e) {
1496
1496
  var t = e.s(e.La);
1497
1497
  return e.g(t, "length", 0, {
1498
1498
  configurable: !1,
@@ -1500,20 +1500,20 @@ function Re(e) {
1500
1500
  writable: !0
1501
1501
  }), t.H = "Array", t;
1502
1502
  }
1503
- function qt(e, t, n) {
1503
+ function Qt(e, t, n) {
1504
1504
  var r = e.s(e.Z);
1505
- return n ? (n = e.s(e.M), e.g(r, "prototype", n, g), e.g(n, "constructor", r, g)) : r.Ab = !0, e.g(r, "length", t, q), r.H = "Function", r;
1505
+ return n ? (n = e.s(e.M), e.g(r, "prototype", n, y), e.g(n, "constructor", r, y)) : r.Ab = !0, e.g(r, "length", t, z), r.H = "Function", r;
1506
1506
  }
1507
- function Zt(e, t, n, r) {
1508
- var o = qt(e, t.oa.length, !0);
1509
- return o.Va = n, o.node = t, e.g(o, "name", t.id ? String(t.id.name) : r || "", q), o;
1507
+ function en(e, t, n, r) {
1508
+ var o = Qt(e, t.oa.length, !0);
1509
+ return o.Va = n, o.node = t, e.g(o, "name", t.id ? String(t.id.name) : r || "", z), o;
1510
1510
  }
1511
1511
  B.i = function(e, t) {
1512
- return t = qt(this, e.length, t), t.Ta = e, e.id = this.Ya++, this.g(t, "name", e.name, q), t;
1512
+ return t = Qt(this, e.length, t), t.Ta = e, e.id = this.Ya++, this.g(t, "name", e.name, z), t;
1513
1513
  };
1514
1514
  B.ub = function(e) {
1515
- var t = qt(this, e.length, !0);
1516
- return t.Za = e, e.id = this.Ya++, this.g(t, "name", e.name, q), t;
1515
+ var t = Qt(this, e.length, !0);
1516
+ return t.Za = e, e.id = this.Ya++, this.g(t, "name", e.name, z), t;
1517
1517
  };
1518
1518
  B.Ia = function(e) {
1519
1519
  if (e instanceof P)
@@ -1522,7 +1522,7 @@ B.Ia = function(e) {
1522
1522
  return e;
1523
1523
  if (e instanceof RegExp) {
1524
1524
  var t = this.s(this.Ma);
1525
- return zt(this, t, e), t;
1525
+ return Zt(this, t, e), t;
1526
1526
  }
1527
1527
  if (e instanceof Date)
1528
1528
  return t = this.s(this.nb), t.data = new Date(e.valueOf()), t;
@@ -1536,7 +1536,7 @@ B.Ia = function(e) {
1536
1536
  }, !!t);
1537
1537
  }
1538
1538
  if (Array.isArray(e)) {
1539
- t = Re(this);
1539
+ t = Pe(this);
1540
1540
  for (var r = 0; r < e.length; r++)
1541
1541
  r in e && this.g(t, r, this.Ia(e[r]));
1542
1542
  return t;
@@ -1551,9 +1551,9 @@ B.R = function(e, t) {
1551
1551
  return e;
1552
1552
  if (!(e instanceof P))
1553
1553
  throw Error("Object is not pseudo");
1554
- if (K(this, e, this.I))
1554
+ if (H(this, e, this.I))
1555
1555
  return t = new RegExp(e.data.source, e.data.flags), t.lastIndex = e.data.lastIndex, t;
1556
- if (K(this, e, this.$))
1556
+ if (H(this, e, this.$))
1557
1557
  return new Date(e.data.valueOf());
1558
1558
  t = t || {
1559
1559
  hb: [],
@@ -1562,10 +1562,10 @@ B.R = function(e, t) {
1562
1562
  var n = t.hb.indexOf(e);
1563
1563
  if (n !== -1)
1564
1564
  return t.Sa[n];
1565
- if (t.hb.push(e), K(this, e, this.qa)) {
1565
+ if (t.hb.push(e), H(this, e, this.qa)) {
1566
1566
  n = [], t.Sa.push(n);
1567
1567
  for (var r = this.G(e, "length"), o = 0; o < r; o++)
1568
- ft(this, e, o) && (n[o] = this.R(this.G(e, o), t));
1568
+ dt(this, e, o) && (n[o] = this.R(this.G(e, o), t));
1569
1569
  } else
1570
1570
  for (r in n = {}, t.Sa.push(n), e.h)
1571
1571
  o = this.R(e.h[r], t), Object.defineProperty(n, r, {
@@ -1577,15 +1577,15 @@ B.R = function(e, t) {
1577
1577
  return t.hb.pop(), t.Sa.pop(), n;
1578
1578
  };
1579
1579
  function ue(e, t) {
1580
- for (var n = Re(e), r = Object.getOwnPropertyNames(t), o = 0; o < r.length; o++)
1580
+ for (var n = Pe(e), r = Object.getOwnPropertyNames(t), o = 0; o < r.length; o++)
1581
1581
  e.g(n, r[o], t[r[o]]);
1582
1582
  return n;
1583
1583
  }
1584
- function dr(e, t) {
1584
+ function gr(e, t) {
1585
1585
  var n = [], r;
1586
1586
  for (r in t.h)
1587
1587
  n[r] = e.G(t, r);
1588
- return n.length = Jt(e.G(t, "length")) || 0, n;
1588
+ return n.length = qt(e.G(t, "length")) || 0, n;
1589
1589
  }
1590
1590
  function pe(e, t) {
1591
1591
  switch (typeof t) {
@@ -1604,10 +1604,10 @@ B.G = function(e, t) {
1604
1604
  if (t = String(t), e != null || S(this, this.j, "Cannot read property '" + t + "' of " + e), typeof e == "object" && !(e instanceof P))
1605
1605
  throw TypeError("Expecting native value or pseudo object");
1606
1606
  if (t === "length") {
1607
- if (K(this, e, this.J))
1607
+ if (H(this, e, this.J))
1608
1608
  return String(e).length;
1609
- } else if (64 > t.charCodeAt(0) && K(this, e, this.J)) {
1610
- var n = Xe(t);
1609
+ } else if (64 > t.charCodeAt(0) && H(this, e, this.J)) {
1610
+ var n = Je(t);
1611
1611
  if (!isNaN(n) && n < String(e).length)
1612
1612
  return String(e)[n];
1613
1613
  }
@@ -1616,13 +1616,13 @@ B.G = function(e, t) {
1616
1616
  return (n = e.V[t]) ? (this.P = !0, n) : e.h[t];
1617
1617
  while (e = pe(this, e));
1618
1618
  };
1619
- function ft(e, t, n) {
1619
+ function dt(e, t, n) {
1620
1620
  if (!(t instanceof P))
1621
1621
  throw TypeError("Primitive data type has no properties");
1622
- if (n = String(n), n === "length" && K(e, t, e.J))
1622
+ if (n = String(n), n === "length" && H(e, t, e.J))
1623
1623
  return !0;
1624
- if (K(e, t, e.J)) {
1625
- var r = Xe(n);
1624
+ if (H(e, t, e.J)) {
1625
+ var r = Je(n);
1626
1626
  if (!isNaN(r) && r < String(t).length)
1627
1627
  return !0;
1628
1628
  }
@@ -1638,10 +1638,10 @@ B.g = function(e, t, n, r) {
1638
1638
  if (t = String(t), e != null || S(this, this.j, "Cannot set property '" + t + "' of " + e), typeof e == "object" && !(e instanceof P))
1639
1639
  throw TypeError("Expecting native value or pseudo object");
1640
1640
  r && ("get" in r || "set" in r) && ("value" in r || "writable" in r) && S(this, this.j, "Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");
1641
- var o = !this.o || Qt(this).S;
1641
+ var o = !this.o || tn(this).S;
1642
1642
  if (e instanceof P) {
1643
- if (K(this, e, this.J)) {
1644
- var i = Xe(t);
1643
+ if (H(this, e, this.J)) {
1644
+ var i = Je(t);
1645
1645
  if (t === "length" || !isNaN(i) && i < String(e).length) {
1646
1646
  o && S(this, this.j, "Cannot assign to read only property '" + t + "' of String '" + e.data + "'");
1647
1647
  return;
@@ -1654,13 +1654,13 @@ B.g = function(e, t, n, r) {
1654
1654
  return;
1655
1655
  n = r.value;
1656
1656
  }
1657
- if (n = Jt(n), isNaN(n) && S(this, this.ob, "Invalid array length"), n < i)
1657
+ if (n = qt(n), isNaN(n) && S(this, this.ob, "Invalid array length"), n < i)
1658
1658
  for (s in e.h) {
1659
- var s = Xe(s);
1659
+ var s = Je(s);
1660
1660
  !isNaN(s) && n <= s && delete e.h[s];
1661
1661
  }
1662
1662
  } else
1663
- isNaN(s = Xe(t)) || (e.h.length = Math.max(i, s + 1));
1663
+ isNaN(s = Je(t)) || (e.h.length = Math.max(i, s + 1));
1664
1664
  if (!e.preventExtensions || t in e.h)
1665
1665
  if (r) {
1666
1666
  o = {}, "get" in r && r.get && (e.V[t] = r.get, o.get = this.g.ac), "set" in r && r.set && (e.Y[t] = r.set, o.set = this.g.bc), "configurable" in r && (o.configurable = r.configurable), "enumerable" in r && (o.enumerable = r.enumerable), "writable" in r && (o.writable = r.writable, delete e.V[t], delete e.Y[t]), "value" in r ? (o.value = r.value, delete e.V[t], delete e.Y[t]) : n !== Ye && (o.value = n, delete e.V[t], delete e.Y[t]);
@@ -1700,18 +1700,18 @@ B.g.ac = function() {
1700
1700
  B.g.bc = function() {
1701
1701
  throw Error("Placeholder setter");
1702
1702
  };
1703
- function $(e, t, n, r) {
1704
- e.g(t.h.prototype, n, e.i(r, !1), g);
1703
+ function W(e, t, n, r) {
1704
+ e.g(t.h.prototype, n, e.i(r, !1), y);
1705
1705
  }
1706
- function Ke(e, t, n, r) {
1707
- e.g(t.h.prototype, n, e.ub(r), g);
1706
+ function Ge(e, t, n, r) {
1707
+ e.g(t.h.prototype, n, e.ub(r), y);
1708
1708
  }
1709
- function Qt(e) {
1709
+ function tn(e) {
1710
1710
  if (e = e.o[e.o.length - 1].scope, !e)
1711
1711
  throw Error("No scope found");
1712
1712
  return e;
1713
1713
  }
1714
- function Wt(e, t, n) {
1714
+ function Ht(e, t, n) {
1715
1715
  var r = !1;
1716
1716
  if (n && n.S)
1717
1717
  r = !0;
@@ -1719,25 +1719,25 @@ function Wt(e, t, n) {
1719
1719
  var o = t.body && t.body[0];
1720
1720
  o && o.la && o.la.type === "Literal" && o.la.value === "use strict" && (r = !0);
1721
1721
  }
1722
- return o = e.s(null), r = new gr(n, r, o), n || Eo(e, r.object), Je(e, t, r), r;
1722
+ return o = e.s(null), r = new br(n, r, o), n || Ao(e, r.object), ze(e, t, r), r;
1723
1723
  }
1724
- function en(e, t, n) {
1724
+ function nn(e, t, n) {
1725
1725
  if (!t)
1726
1726
  throw Error("parentScope required");
1727
- return e = n || e.s(null), new gr(t, t.S, e);
1727
+ return e = n || e.s(null), new br(t, t.S, e);
1728
1728
  }
1729
- function tn(e, t) {
1730
- for (var n = Qt(e); n && n !== e.N; ) {
1729
+ function rn(e, t) {
1730
+ for (var n = tn(e); n && n !== e.N; ) {
1731
1731
  if (t in n.object.h)
1732
1732
  return n.object.h[t];
1733
1733
  n = n.Va;
1734
1734
  }
1735
- if (n === e.N && ft(e, n.object, t))
1735
+ if (n === e.N && dt(e, n.object, t))
1736
1736
  return e.G(n.object, t);
1737
1737
  n = e.o[e.o.length - 1].node, n.type === "UnaryExpression" && n.operator === "typeof" || S(e, e.pb, t + " is not defined");
1738
1738
  }
1739
- function hr(e, t, n) {
1740
- for (var r = Qt(e), o = r.S; r && r !== e.N; ) {
1739
+ function yr(e, t, n) {
1740
+ for (var r = tn(e), o = r.S; r && r !== e.N; ) {
1741
1741
  if (t in r.object.h) {
1742
1742
  try {
1743
1743
  r.object.h[t] = n;
@@ -1748,11 +1748,11 @@ function hr(e, t, n) {
1748
1748
  }
1749
1749
  r = r.Va;
1750
1750
  }
1751
- if (r === e.N && (!o || ft(e, r.object, t)))
1751
+ if (r === e.N && (!o || dt(e, r.object, t)))
1752
1752
  return e.g(r.object, t, n);
1753
1753
  S(e, e.pb, t + " is not defined");
1754
1754
  }
1755
- function Je(e, t, n) {
1755
+ function ze(e, t, n) {
1756
1756
  if (t.jb)
1757
1757
  var r = t.jb;
1758
1758
  else {
@@ -1785,12 +1785,12 @@ function Je(e, t, n) {
1785
1785
  if (Array.isArray(u)) {
1786
1786
  for (o = 0; o < u.length; o++)
1787
1787
  if (u[o] && u[o].constructor === i) {
1788
- var d = Je(e, u[o], n);
1788
+ var d = ze(e, u[o], n);
1789
1789
  for (s in d)
1790
1790
  r[s] = d[s];
1791
1791
  }
1792
1792
  } else if (u.constructor === i)
1793
- for (s in d = Je(e, u, n), d)
1793
+ for (s in d = ze(e, u, n), d)
1794
1794
  r[s] = d[s];
1795
1795
  }
1796
1796
  }
@@ -1798,22 +1798,22 @@ function Je(e, t, n) {
1798
1798
  t.jb = r;
1799
1799
  }
1800
1800
  for (s in r)
1801
- r[s] === !0 ? e.g(n.object, s, void 0, Wn) : e.g(n.object, s, Zt(e, r[s], n), Wn);
1801
+ r[s] === !0 ? e.g(n.object, s, void 0, Kn) : e.g(n.object, s, en(e, r[s], n), Kn);
1802
1802
  return r;
1803
1803
  }
1804
1804
  function de(e) {
1805
1805
  return e.o[e.o.length - 1].isConstructor;
1806
1806
  }
1807
- function nn(e, t) {
1808
- return t[0] === Pe ? tn(e, t[1]) : e.G(t[0], t[1]);
1807
+ function on(e, t) {
1808
+ return t[0] === Ne ? rn(e, t[1]) : e.G(t[0], t[1]);
1809
1809
  }
1810
- function rn(e, t, n) {
1811
- return t[0] === Pe ? hr(e, t[1], n) : e.g(t[0], t[1], n);
1810
+ function an(e, t, n) {
1811
+ return t[0] === Ne ? yr(e, t[1], n) : e.g(t[0], t[1], n);
1812
1812
  }
1813
1813
  function S(e, t, n) {
1814
- throw e.N ? (n !== void 0 && t instanceof P && (t = e.Aa(t), _t(e, t, n)), ze(e, 4, t), pr) : n === void 0 ? t : n;
1814
+ throw e.N ? (n !== void 0 && t instanceof P && (t = e.Aa(t), $t(e, t, n)), qe(e, 4, t), mr) : n === void 0 ? t : n;
1815
1815
  }
1816
- function ze(e, t, n, r) {
1816
+ function qe(e, t, n, r) {
1817
1817
  if (t === 0)
1818
1818
  throw TypeError("Should not unwind for NORMAL completions");
1819
1819
  var o = e.o;
@@ -1849,7 +1849,7 @@ function ze(e, t, n, r) {
1849
1849
  } else if (t === 2 && (r ? i.labels && i.labels.indexOf(r) !== -1 : i.W))
1850
1850
  return;
1851
1851
  }
1852
- throw K(e, n, e.D) ? (t = {
1852
+ throw H(e, n, e.D) ? (t = {
1853
1853
  EvalError,
1854
1854
  RangeError,
1855
1855
  ReferenceError,
@@ -1858,38 +1858,38 @@ function ze(e, t, n, r) {
1858
1858
  URIError
1859
1859
  }, r = String(e.G(n, "name")), o = e.G(n, "message").valueOf(), t = (t[r] || Error)(o), t.stack = String(e.G(n, "stack"))) : t = String(n), e.value = t, t;
1860
1860
  }
1861
- function z(e, t) {
1861
+ function Y(e, t) {
1862
1862
  switch (t.type) {
1863
1863
  case "ArrayExpression":
1864
1864
  return "[...]";
1865
1865
  case "BinaryExpression":
1866
1866
  case "LogicalExpression":
1867
- return z(e, t.left) + " " + t.operator + " " + z(e, t.right);
1867
+ return Y(e, t.left) + " " + t.operator + " " + Y(e, t.right);
1868
1868
  case "CallExpression":
1869
- return z(e, t.callee) + "(...)";
1869
+ return Y(e, t.callee) + "(...)";
1870
1870
  case "ConditionalExpression":
1871
- return z(e, t.test) + " ? " + z(e, t.da) + " : " + z(e, t.alternate);
1871
+ return Y(e, t.test) + " ? " + Y(e, t.da) + " : " + Y(e, t.alternate);
1872
1872
  case "Identifier":
1873
1873
  return t.name;
1874
1874
  case "Literal":
1875
1875
  return t.raw;
1876
1876
  case "MemberExpression":
1877
- var n = z(e, t.object);
1878
- return e = z(e, t.Wa), t.bb ? n + "[" + e + "]" : n + "." + e;
1877
+ var n = Y(e, t.object);
1878
+ return e = Y(e, t.Wa), t.bb ? n + "[" + e + "]" : n + "." + e;
1879
1879
  case "NewExpression":
1880
- return "new " + z(e, t.callee) + "(...)";
1880
+ return "new " + Y(e, t.callee) + "(...)";
1881
1881
  case "ObjectExpression":
1882
1882
  return "{...}";
1883
1883
  case "ThisExpression":
1884
1884
  return "this";
1885
1885
  case "UnaryExpression":
1886
- return t.operator + " " + z(e, t.K);
1886
+ return t.operator + " " + Y(e, t.K);
1887
1887
  case "UpdateExpression":
1888
- return n = z(e, t.K), t.prefix ? t.operator + n : n + t.operator;
1888
+ return n = Y(e, t.K), t.prefix ? t.operator + n : n + t.operator;
1889
1889
  }
1890
1890
  return "???";
1891
1891
  }
1892
- function Hn(e, t, n) {
1892
+ function Xn(e, t, n) {
1893
1893
  var r = e.o[e.o.length - 1], o = Array.from(n), i = o.shift();
1894
1894
  n = Math.max(Number(o.shift() || 0), 0);
1895
1895
  var s = e.ya();
@@ -1898,41 +1898,41 @@ function Hn(e, t, n) {
1898
1898
  s.type = "CallExpression", r = r.scope;
1899
1899
  } else {
1900
1900
  try {
1901
- var d = je(String(i), "taskCode" + e.ic++);
1902
- } catch (k) {
1903
- S(e, e.T, "Invalid code: " + k.message);
1901
+ var d = Re(String(i), "taskCode" + e.ic++);
1902
+ } catch (v) {
1903
+ S(e, e.T, "Invalid code: " + v.message);
1904
1904
  }
1905
- s.type = "EvalProgram_", s.body = d.body, r = r.node.arguments[0], ut(s, r ? r.start : void 0, r ? r.end : void 0), r = e.N, o.length = 0;
1905
+ s.type = "EvalProgram_", s.body = d.body, r = r.node.arguments[0], pt(s, r ? r.start : void 0, r ? r.end : void 0), r = e.N, o.length = 0;
1906
1906
  }
1907
- return t = new Mo(u, o, r, s, t ? n : -1), mr(e, t, n), t.Db;
1907
+ return t = new Lo(u, o, r, s, t ? n : -1), vr(e, t, n), t.Db;
1908
1908
  }
1909
- function mr(e, t, n) {
1909
+ function vr(e, t, n) {
1910
1910
  t.time = Date.now() + n, e.ca.push(t), e.ca.sort(function(r, o) {
1911
1911
  return r.time - o.time;
1912
1912
  });
1913
1913
  }
1914
- function Kn(e, t) {
1914
+ function Jn(e, t) {
1915
1915
  for (var n = 0; n < e.ca.length; n++)
1916
1916
  if (e.ca[n].Db == t) {
1917
1917
  e.ca.splice(n, 1);
1918
1918
  break;
1919
1919
  }
1920
1920
  }
1921
- function qe(e, t, n) {
1921
+ function Ze(e, t, n) {
1922
1922
  if (!e.P)
1923
1923
  throw Error("Unexpected call to createGetter");
1924
1924
  e.P = !1, n = Array.isArray(n) ? n[0] : n;
1925
1925
  var r = e.ya();
1926
1926
  return r.type = "CallExpression", e = new b(r, e.o[e.o.length - 1].scope), e.ia = 2, e.B = n, e.U = t, e.Qa = !0, e.F = [], e;
1927
1927
  }
1928
- function on(e, t, n, r) {
1928
+ function sn(e, t, n, r) {
1929
1929
  if (!e.Ka)
1930
1930
  throw Error("Unexpected call to createSetter");
1931
1931
  e.Ka = !1, n = Array.isArray(n) ? n[0] : e.Na;
1932
1932
  var o = e.ya();
1933
1933
  return o.type = "CallExpression", e = new b(o, e.o[e.o.length - 1].scope), e.ia = 2, e.B = n, e.U = t, e.Qa = !0, e.F = [r], e;
1934
1934
  }
1935
- function Dt(e, t) {
1935
+ function Lt(e, t) {
1936
1936
  return t == null ? e.Na : t instanceof P ? t : (e = e.s(pe(e, t)), e.data = t, e);
1937
1937
  }
1938
1938
  B.Xb = function() {
@@ -1947,7 +1947,7 @@ B.ec = function(e) {
1947
1947
  function b(e, t) {
1948
1948
  this.node = e, this.scope = t;
1949
1949
  }
1950
- function gr(e, t, n) {
1950
+ function br(e, t, n) {
1951
1951
  this.Va = e, this.S = t, this.object = n;
1952
1952
  }
1953
1953
  function P(e) {
@@ -1958,12 +1958,12 @@ B.xa = null;
1958
1958
  B.H = "Object";
1959
1959
  B.data = null;
1960
1960
  B.toString = function() {
1961
- if (!Ge)
1961
+ if (!Xe)
1962
1962
  return "[object Interpreter.Object]";
1963
1963
  if (!(this instanceof P))
1964
1964
  return String(this);
1965
1965
  if (this.H === "Array") {
1966
- var e = $n;
1966
+ var e = Gn;
1967
1967
  e.push(this);
1968
1968
  try {
1969
1969
  var t = [], n = this.h.length, r = !1;
@@ -1979,7 +1979,7 @@ B.toString = function() {
1979
1979
  return t.join(",");
1980
1980
  }
1981
1981
  if (this.H === "Error") {
1982
- if (e = $n, e.indexOf(this) !== -1)
1982
+ if (e = Gn, e.indexOf(this) !== -1)
1983
1983
  return "[object Error]";
1984
1984
  n = this;
1985
1985
  do
@@ -2006,16 +2006,16 @@ B.toString = function() {
2006
2006
  return this.data !== null ? String(this.data) : "[object " + this.H + "]";
2007
2007
  };
2008
2008
  B.valueOf = function() {
2009
- return !Ge || this.data === void 0 || this.data === null || this.data instanceof RegExp ? this : this.data instanceof Date ? this.data.valueOf() : this.data;
2009
+ return !Xe || this.data === void 0 || this.data === null || this.data instanceof RegExp ? this : this.data instanceof Date ? this.data.valueOf() : this.data;
2010
2010
  };
2011
- function Mo(e, t, n, r, o) {
2012
- this.zb = e, this.Lb = t, this.scope = n, this.node = r, this.interval = o, this.Db = ++Do, this.time = 0;
2011
+ function Lo(e, t, n, r, o) {
2012
+ this.zb = e, this.Lb = t, this.scope = n, this.node = r, this.interval = o, this.Db = ++_o, this.time = 0;
2013
2013
  }
2014
- var Do = 0;
2014
+ var _o = 0;
2015
2015
  h.prototype.stepArrayExpression = function(e, t, n) {
2016
2016
  n = n.elements;
2017
2017
  var r = t.A || 0;
2018
- for (t.Oa ? (this.g(t.Oa, r, t.value), r++) : (t.Oa = Re(this), t.Oa.h.length = n.length); r < n.length; ) {
2018
+ for (t.Oa ? (this.g(t.Oa, r, t.value), r++) : (t.Oa = Pe(this), t.Oa.h.length = n.length); r < n.length; ) {
2019
2019
  if (n[r])
2020
2020
  return t.A = r, new b(n[r], t.scope);
2021
2021
  r++;
@@ -2026,7 +2026,7 @@ h.prototype.stepAssignmentExpression = function(e, t, n) {
2026
2026
  if (!t.ja)
2027
2027
  return t.ja = !0, t = new b(n.left, t.scope), t.sa = !0, t;
2028
2028
  if (!t.Da)
2029
- return t.Fa || (t.Fa = t.value), t.Ba && (t.ma = t.value), !t.Ba && n.operator !== "=" && (e = nn(this, t.Fa), t.ma = e, this.P) ? (t.Ba = !0, qe(this, e, t.Fa)) : (t.Da = !0, n.operator === "=" && n.left.type === "Identifier" && (t.Pa = n.left.name), new b(n.right, t.scope));
2029
+ return t.Fa || (t.Fa = t.value), t.Ba && (t.ma = t.value), !t.Ba && n.operator !== "=" && (e = on(this, t.Fa), t.ma = e, this.P) ? (t.Ba = !0, Ze(this, e, t.Fa)) : (t.Da = !0, n.operator === "=" && n.left.type === "Identifier" && (t.Pa = n.left.name), new b(n.right, t.scope));
2030
2030
  if (t.ta)
2031
2031
  e.pop(), e[e.length - 1].value = t.ib;
2032
2032
  else {
@@ -2071,8 +2071,8 @@ h.prototype.stepAssignmentExpression = function(e, t, n) {
2071
2071
  default:
2072
2072
  throw SyntaxError("Unknown assignment expression: " + n.operator);
2073
2073
  }
2074
- if (n = rn(this, t.Fa, r))
2075
- return t.ta = !0, t.ib = r, on(this, n, t.Fa, r);
2074
+ if (n = an(this, t.Fa, r))
2075
+ return t.ta = !0, t.ib = r, sn(this, n, t.Fa, r);
2076
2076
  e.pop(), e[e.length - 1].value = r;
2077
2077
  }
2078
2078
  };
@@ -2142,10 +2142,10 @@ h.prototype.stepBinaryExpression = function(e, t, n) {
2142
2142
  n = r >>> t;
2143
2143
  break;
2144
2144
  case "in":
2145
- t instanceof P || S(this, this.j, "'in' expects an object, not '" + t + "'"), n = ft(this, t, r);
2145
+ t instanceof P || S(this, this.j, "'in' expects an object, not '" + t + "'"), n = dt(this, t, r);
2146
2146
  break;
2147
2147
  case "instanceof":
2148
- K(this, t, this.O) || S(this, this.j, "'instanceof' expects an object, not '" + t + "'"), n = r instanceof P ? K(this, r, t) : !1;
2148
+ H(this, t, this.O) || S(this, this.j, "'instanceof' expects an object, not '" + t + "'"), n = r instanceof P ? H(this, r, t) : !1;
2149
2149
  break;
2150
2150
  default:
2151
2151
  throw SyntaxError("Unknown binary operator: " + n.operator);
@@ -2159,7 +2159,7 @@ h.prototype.stepBlockStatement = function(e, t, n) {
2159
2159
  e.pop();
2160
2160
  };
2161
2161
  h.prototype.stepBreakStatement = function(e, t, n) {
2162
- ze(this, 1, void 0, n.label && n.label.name);
2162
+ qe(this, 1, void 0, n.label && n.label.name);
2163
2163
  };
2164
2164
  h.prototype.Hb = 0;
2165
2165
  h.prototype.stepCallExpression = function(e, t, n) {
@@ -2172,8 +2172,8 @@ h.prototype.stepCallExpression = function(e, t, n) {
2172
2172
  t.ia = 2;
2173
2173
  var o = t.value;
2174
2174
  if (Array.isArray(o)) {
2175
- if (t.U = nn(this, o), o[0] === Pe ? t.Pb = o[1] === "eval" : t.B = o[0], o = t.U, this.P)
2176
- return t.ia = 1, qe(this, o, t.value);
2175
+ if (t.U = on(this, o), o[0] === Ne ? t.Pb = o[1] === "eval" : t.B = o[0], o = t.U, this.P)
2176
+ return t.ia = 1, Ze(this, o, t.value);
2177
2177
  } else
2178
2178
  t.U = o;
2179
2179
  t.F = [], t.A = 0;
@@ -2182,8 +2182,8 @@ h.prototype.stepCallExpression = function(e, t, n) {
2182
2182
  if (t.A !== 0 && t.F.push(t.value), n.arguments[t.A])
2183
2183
  return new b(n.arguments[t.A++], t.scope);
2184
2184
  if (n.type === "NewExpression") {
2185
- if (o instanceof P && !o.Ab || S(this, this.j, z(this, n.callee) + " is not a constructor"), o === this.qa)
2186
- t.B = Re(this);
2185
+ if (o instanceof P && !o.Ab || S(this, this.j, Y(this, n.callee) + " is not a constructor"), o === this.qa)
2186
+ t.B = Pe(this);
2187
2187
  else {
2188
2188
  var i = o.h.prototype;
2189
2189
  (typeof i != "object" || i === null) && (i = this.M), t.B = this.s(i);
@@ -2195,33 +2195,33 @@ h.prototype.stepCallExpression = function(e, t, n) {
2195
2195
  if (t.eb)
2196
2196
  e.pop(), e[e.length - 1].value = t.isConstructor && typeof t.value != "object" ? t.B : t.value;
2197
2197
  else {
2198
- if (t.eb = !0, o instanceof P || S(this, this.j, z(this, n.callee) + " is not a function"), e = o.node) {
2199
- for (n = Wt(this, e.body, o.Va), r = Re(this), o = 0; o < t.F.length; o++)
2198
+ if (t.eb = !0, o instanceof P || S(this, this.j, Y(this, n.callee) + " is not a function"), e = o.node) {
2199
+ for (n = Ht(this, e.body, o.Va), r = Pe(this), o = 0; o < t.F.length; o++)
2200
2200
  this.g(r, o, t.F[o]);
2201
2201
  for (this.g(n.object, "arguments", r), o = 0; o < e.oa.length; o++)
2202
2202
  this.g(n.object, e.oa[o].name, t.F.length > o ? t.F[o] : void 0);
2203
- return n.S || (t.B = Dt(this, t.B)), this.g(n.object, "this", t.B, Yt), t.value = void 0, new b(e.body, n);
2203
+ return n.S || (t.B = Lt(this, t.B)), this.g(n.object, "this", t.B, zt), t.value = void 0, new b(e.body, n);
2204
2204
  }
2205
2205
  if (o.eval)
2206
2206
  if (o = t.F[0], typeof o != "string")
2207
2207
  t.value = o;
2208
2208
  else {
2209
2209
  try {
2210
- r = je(String(o), "eval" + this.Hb++);
2210
+ r = Re(String(o), "eval" + this.Hb++);
2211
2211
  } catch (u) {
2212
2212
  S(this, this.T, "Invalid code: " + u.message);
2213
2213
  }
2214
- return o = this.ya(), o.type = "EvalProgram_", o.body = r.body, ut(o, n.start, n.end), n = t.Pb ? t.scope : this.N, n.S ? n = Wt(this, r, n) : Je(this, r, n), this.value = void 0, new b(o, n);
2214
+ return o = this.ya(), o.type = "EvalProgram_", o.body = r.body, pt(o, n.start, n.end), n = t.Pb ? t.scope : this.N, n.S ? n = Ht(this, r, n) : ze(this, r, n), this.value = void 0, new b(o, n);
2215
2215
  }
2216
2216
  else if (o.Ta)
2217
- t.scope.S || (t.B = Dt(this, t.B)), t.value = o.Ta.apply(t.B, t.F);
2217
+ t.scope.S || (t.B = Lt(this, t.B)), t.value = o.Ta.apply(t.B, t.F);
2218
2218
  else if (o.Za) {
2219
2219
  var s = this;
2220
2220
  r = o.Za.length - 1, r = t.F.concat(Array(r)).slice(0, r), r.push(function(u) {
2221
2221
  t.value = u, s.za = !1;
2222
- }), this.za = !0, t.scope.S || (t.B = Dt(this, t.B)), o.Za.apply(t.B, r);
2222
+ }), this.za = !0, t.scope.S || (t.B = Lt(this, t.B)), o.Za.apply(t.B, r);
2223
2223
  } else
2224
- S(this, this.j, z(this, n.callee) + " is not callable");
2224
+ S(this, this.j, Y(this, n.callee) + " is not callable");
2225
2225
  }
2226
2226
  };
2227
2227
  h.prototype.stepConditionalExpression = function(e, t, n) {
@@ -2238,7 +2238,7 @@ h.prototype.stepConditionalExpression = function(e, t, n) {
2238
2238
  e.pop(), n.type === "ConditionalExpression" && (e[e.length - 1].value = t.value);
2239
2239
  };
2240
2240
  h.prototype.stepContinueStatement = function(e, t, n) {
2241
- ze(this, 2, void 0, n.label && n.label.name);
2241
+ qe(this, 2, void 0, n.label && n.label.name);
2242
2242
  };
2243
2243
  h.prototype.stepDebuggerStatement = function(e) {
2244
2244
  e.pop();
@@ -2297,11 +2297,11 @@ h.prototype.stepForInStatement = function(e, t, n) {
2297
2297
  }
2298
2298
  if (!t.wb)
2299
2299
  if (t.wb = !0, e = n.left, e.type === "VariableDeclaration")
2300
- t.pa = [Pe, e.fa[0].id.name];
2300
+ t.pa = [Ne, e.fa[0].id.name];
2301
2301
  else
2302
2302
  return t.pa = null, t = new b(e, t.scope), t.sa = !0, t;
2303
- if (t.pa || (t.pa = t.value), !t.ta && (t.ta = !0, e = t.Ra, r = rn(this, t.pa, e)))
2304
- return on(this, r, t.pa, e);
2303
+ if (t.pa || (t.pa = t.value), !t.ta && (t.ta = !0, e = t.Ra, r = an(this, t.pa, e)))
2304
+ return sn(this, r, t.pa, e);
2305
2305
  if (t.Ra = void 0, t.wb = !1, t.ta = !1, n.body)
2306
2306
  return new b(n.body, t.scope);
2307
2307
  };
@@ -2330,14 +2330,14 @@ h.prototype.stepFunctionDeclaration = function(e) {
2330
2330
  e.pop();
2331
2331
  };
2332
2332
  h.prototype.stepFunctionExpression = function(e, t, n) {
2333
- e.pop(), t = e[e.length - 1], e = t.scope, n.id && (e = en(this, e)), t.value = Zt(this, n, e, t.Pa), n.id && this.g(e.object, n.id.name, t.value, Yt);
2333
+ e.pop(), t = e[e.length - 1], e = t.scope, n.id && (e = nn(this, e)), t.value = en(this, n, e, t.Pa), n.id && this.g(e.object, n.id.name, t.value, zt);
2334
2334
  };
2335
2335
  h.prototype.stepIdentifier = function(e, t, n) {
2336
2336
  if (e.pop(), t.sa)
2337
- e[e.length - 1].value = [Pe, n.name];
2337
+ e[e.length - 1].value = [Ne, n.name];
2338
2338
  else {
2339
- if (t = tn(this, n.name), this.P)
2340
- return qe(this, t, this.Na);
2339
+ if (t = rn(this, n.name), this.P)
2340
+ return Ze(this, t, this.Na);
2341
2341
  e[e.length - 1].value = t;
2342
2342
  }
2343
2343
  };
@@ -2346,7 +2346,7 @@ h.prototype.stepLabeledStatement = function(e, t, n) {
2346
2346
  return e.pop(), e = t.labels || [], e.push(n.label.name), t = new b(n.body, t.scope), t.labels = e, t;
2347
2347
  };
2348
2348
  h.prototype.stepLiteral = function(e, t, n) {
2349
- e.pop(), t = n.value, t instanceof RegExp && (n = this.s(this.Ma), zt(this, n, t), t = n), e[e.length - 1].value = t;
2349
+ e.pop(), t = n.value, t instanceof RegExp && (n = this.s(this.Ma), Zt(this, n, t), t = n), e[e.length - 1].value = t;
2350
2350
  };
2351
2351
  h.prototype.stepLogicalExpression = function(e, t, n) {
2352
2352
  if (n.operator !== "&&" && n.operator !== "||")
@@ -2374,7 +2374,7 @@ h.prototype.stepMemberExpression = function(e, t, n) {
2374
2374
  e[e.length - 1].value = [t.u, n];
2375
2375
  else {
2376
2376
  if (n = this.G(t.u, n), this.P)
2377
- return qe(this, n, t.u);
2377
+ return Ze(this, n, t.u);
2378
2378
  e[e.length - 1].value = n;
2379
2379
  }
2380
2380
  };
@@ -2413,7 +2413,7 @@ h.prototype.stepProgram = function(e, t, n) {
2413
2413
  h.prototype.stepReturnStatement = function(e, t, n) {
2414
2414
  if (n.K && !t.ka)
2415
2415
  return t.ka = !0, new b(n.K, t.scope);
2416
- ze(this, 3, t.value);
2416
+ qe(this, 3, t.value);
2417
2417
  };
2418
2418
  h.prototype.stepSequenceExpression = function(e, t, n) {
2419
2419
  var r = t.A || 0;
@@ -2449,7 +2449,7 @@ h.prototype.stepSwitchStatement = function(e, t, n) {
2449
2449
  }
2450
2450
  };
2451
2451
  h.prototype.stepThisExpression = function(e) {
2452
- e.pop(), e[e.length - 1].value = tn(this, "this");
2452
+ e.pop(), e[e.length - 1].value = rn(this, "this");
2453
2453
  };
2454
2454
  h.prototype.stepThrowStatement = function(e, t, n) {
2455
2455
  if (t.ka)
@@ -2461,10 +2461,10 @@ h.prototype.stepTryStatement = function(e, t, n) {
2461
2461
  if (!t.Rb)
2462
2462
  return t.Rb = !0, new b(n.block, t.scope);
2463
2463
  if (t.ea && t.ea.type === 4 && !t.Tb && n.Ea)
2464
- return t.Tb = !0, e = en(this, t.scope), this.g(e.object, n.Ea.Ua.name, t.ea.value), t.ea = void 0, new b(n.Ea.body, e);
2464
+ return t.Tb = !0, e = nn(this, t.scope), this.g(e.object, n.Ea.Ua.name, t.ea.value), t.ea = void 0, new b(n.Ea.body, e);
2465
2465
  if (!t.Sb && n.fb)
2466
2466
  return t.Sb = !0, new b(n.fb, t.scope);
2467
- e.pop(), t.ea && ze(this, t.ea.type, t.ea.value, t.ea.label);
2467
+ e.pop(), t.ea && qe(this, t.ea.type, t.ea.value, t.ea.label);
2468
2468
  };
2469
2469
  h.prototype.stepUnaryExpression = function(e, t, n) {
2470
2470
  if (!t.ka)
@@ -2487,7 +2487,7 @@ h.prototype.stepUnaryExpression = function(e, t, n) {
2487
2487
  case "delete":
2488
2488
  if (n = !0, Array.isArray(r)) {
2489
2489
  var o = r[0];
2490
- o === Pe && (o = t.scope), r = String(r[1]);
2490
+ o === Ne && (o = t.scope), r = String(r[1]);
2491
2491
  try {
2492
2492
  delete o.h[r];
2493
2493
  } catch {
@@ -2511,9 +2511,9 @@ h.prototype.stepUpdateExpression = function(e, t, n) {
2511
2511
  if (!t.ja)
2512
2512
  return t.ja = !0, e = new b(n.K, t.scope), e.sa = !0, e;
2513
2513
  if (t.Ga || (t.Ga = t.value), t.Ba && (t.ma = t.value), !t.Ba) {
2514
- var r = nn(this, t.Ga);
2514
+ var r = on(this, t.Ga);
2515
2515
  if (t.ma = r, this.P)
2516
- return t.Ba = !0, qe(this, r, t.Ga);
2516
+ return t.Ba = !0, Ze(this, r, t.Ga);
2517
2517
  }
2518
2518
  if (t.ta)
2519
2519
  e.pop(), e[e.length - 1].value = t.ib;
@@ -2524,15 +2524,15 @@ h.prototype.stepUpdateExpression = function(e, t, n) {
2524
2524
  o = r - 1;
2525
2525
  else
2526
2526
  throw SyntaxError("Unknown update expression: " + n.operator);
2527
- if (n = n.prefix ? o : r, r = rn(this, t.Ga, o))
2528
- return t.ta = !0, t.ib = n, on(this, r, t.Ga, o);
2527
+ if (n = n.prefix ? o : r, r = an(this, t.Ga, o))
2528
+ return t.ta = !0, t.ib = n, sn(this, r, t.Ga, o);
2529
2529
  e.pop(), e[e.length - 1].value = n;
2530
2530
  }
2531
2531
  };
2532
2532
  h.prototype.stepVariableDeclaration = function(e, t, n) {
2533
2533
  n = n.fa;
2534
2534
  var r = t.A || 0, o = n[r];
2535
- for (t.Bb && o && (hr(this, o.id.name, t.value), t.Bb = !1, o = n[++r]); o; ) {
2535
+ for (t.Bb && o && (yr(this, o.id.name, t.value), t.Bb = !1, o = n[++r]); o; ) {
2536
2536
  if (o.ua)
2537
2537
  return t.A = r, t.Bb = !0, t.Pa = o.id.name, new b(o.ua, t.scope);
2538
2538
  o = n[++r];
@@ -2540,7 +2540,7 @@ h.prototype.stepVariableDeclaration = function(e, t, n) {
2540
2540
  e.pop();
2541
2541
  };
2542
2542
  h.prototype.stepWithStatement = function(e, t, n) {
2543
- return t.Ca ? (e.pop(), e = en(this, t.scope, t.value), new b(n.body, e)) : (t.Ca = !0, new b(n.object, t.scope));
2543
+ return t.Ca ? (e.pop(), e = nn(this, t.scope, t.value), new b(n.body, e)) : (t.Ca = !0, new b(n.object, t.scope));
2544
2544
  };
2545
2545
  h.prototype.stepWhileStatement = h.prototype.stepDoWhileStatement;
2546
2546
  ve.Interpreter = h;
@@ -2559,7 +2559,7 @@ h.prototype.getGlobalScope = h.prototype.Xb;
2559
2559
  h.prototype.getStateStack = h.prototype.Yb;
2560
2560
  h.prototype.setStateStack = h.prototype.ec;
2561
2561
  h.VALUE_IN_DESCRIPTOR = Ye;
2562
- const Lo = (e) => e.split(`
2562
+ const Wo = (e) => e.split(`
2563
2563
  `).map((t) => {
2564
2564
  const n = t.trim();
2565
2565
  if (t.includes("__awaiter"))
@@ -2572,7 +2572,7 @@ const Lo = (e) => e.split(`
2572
2572
  ${u}
2573
2573
  `;
2574
2574
  }).filter(Boolean).join(`
2575
- `), Gn = (e) => e + "JSON", Vo = ({
2575
+ `), Yn = (e) => e + "JSON", $o = ({
2576
2576
  builder: e,
2577
2577
  context: t,
2578
2578
  event: n,
@@ -2584,92 +2584,123 @@ const Lo = (e) => e.split(`
2584
2584
  const u = {
2585
2585
  ...r,
2586
2586
  ...o
2587
- }, d = cr({
2587
+ }, d = pr({
2588
2588
  builder: e,
2589
2589
  context: t,
2590
2590
  event: n,
2591
2591
  state: u
2592
- }), k = d.map(([v]) => {
2593
- const w = Gn(v);
2594
- return `var ${v} = ${w} === undefined ? undefined : JSON.parse(${w});`;
2592
+ }), v = d.map(([k]) => {
2593
+ const w = Yn(k);
2594
+ return `var ${k} = ${w} === undefined ? undefined : JSON.parse(${w});`;
2595
2595
  }).join(`
2596
- `), E = Lo(s);
2597
- if (E === "") {
2598
- Y.warn("Skipping evaluation of empty code block.");
2596
+ `), x = Wo(s);
2597
+ if (x === "") {
2598
+ X.warn("Skipping evaluation of empty code block.");
2599
2599
  return;
2600
2600
  }
2601
- const y = `
2601
+ const m = `
2602
2602
  function theFunction() {
2603
- ${k}
2603
+ ${v}
2604
2604
 
2605
- ${E}
2605
+ ${x}
2606
2606
  }
2607
2607
  theFunction();
2608
- `, R = (v, w) => {
2609
- const U = fr(u, v, w);
2608
+ `, j = (k, w) => {
2609
+ const U = hr(u, k, w);
2610
2610
  i == null || i(U);
2611
- }, j = function(v, w) {
2611
+ }, R = function(k, w) {
2612
2612
  d.forEach(([U, N]) => {
2613
- const x = JSON.stringify(N);
2614
- v.setProperty(w, Gn(U), x);
2615
- }), v.setProperty(w, "setRootState", v.createNativeFunction(R));
2613
+ const C = JSON.stringify(N);
2614
+ k.setProperty(w, Yn(U), C);
2615
+ }), k.setProperty(w, "setRootState", k.createNativeFunction(j));
2616
2616
  };
2617
2617
  try {
2618
- const v = new h(y, j);
2619
- return v.run(), v.pseudoToNative(v.value);
2620
- } catch (v) {
2621
- Y.warn("Custom code error in edge runtime. NOTE: your code must be ES5 JavaScript.", {
2622
- e: v
2618
+ const k = new h(m, R);
2619
+ return k.run(), k.pseudoToNative(k.value);
2620
+ } catch (k) {
2621
+ X.warn("Custom code error in edge runtime. NOTE: your code must be ES5 JavaScript.", {
2622
+ e: k
2623
2623
  });
2624
2624
  return;
2625
2625
  }
2626
2626
  }, oe = (e) => e != null;
2627
- function _o() {
2627
+ function Ho() {
2628
2628
  var e;
2629
2629
  return typeof process < "u" && oe((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
2630
2630
  }
2631
- const Wo = () => {
2631
+ const Ko = () => {
2632
2632
  var r;
2633
- if (!_o())
2633
+ if (!Ho())
2634
2634
  return !1;
2635
2635
  const e = process.arch === "arm64", t = process.version.startsWith("v20"), n = (r = process.env.NODE_OPTIONS) == null ? void 0 : r.includes("--no-node-snapshot");
2636
- return e && t && !n ? (Y.log("Skipping usage of `isolated-vm` to avoid crashes in Node v20 on an arm64 machine.\n If you would like to use the `isolated-vm` package on this machine, please provide the `NODE_OPTIONS=--no-node-snapshot` config to your Node process.\n See https://github.com/BuilderIO/builder/blob/main/packages/sdks/README.md#node-v20--m1-macs-apple-silicon-support for more information.\n "), !0) : !1;
2637
- }, $o = (e) => X() || Wo() ? xo(e) : Vo(e);
2638
- function an({
2636
+ return e && t && !n ? (X.log("Skipping usage of `isolated-vm` to avoid crashes in Node v20 on an arm64 machine.\n If you would like to use the `isolated-vm` package on this machine, please provide the `NODE_OPTIONS=--no-node-snapshot` config to your Node process.\n See https://github.com/BuilderIO/builder/blob/main/packages/sdks/README.md#node-v20--m1-macs-apple-silicon-support for more information.\n "), !0) : !1;
2637
+ }, Go = (e) => G() || Ko() ? Eo(e) : $o(e), ln = class Oe {
2638
+ static getCacheKey(t) {
2639
+ return JSON.stringify({
2640
+ ...t,
2641
+ // replace the event with a random number to break cache
2642
+ // thats because we can't serialize the event object due to circular refs in DOM node refs.
2643
+ event: t.event ? Math.random() : void 0
2644
+ });
2645
+ }
2646
+ static getCachedValue(t) {
2647
+ return Oe.cache.get(t);
2648
+ }
2649
+ static setCachedValue(t, n) {
2650
+ Oe.cache.size > 20 && Oe.cache.delete(Oe.cache.keys().next().value), Oe.cache.set(t, {
2651
+ value: n
2652
+ });
2653
+ }
2654
+ };
2655
+ ln.cacheLimit = 20;
2656
+ ln.cache = /* @__PURE__ */ new Map();
2657
+ let lt = ln;
2658
+ function cn({
2639
2659
  code: e,
2640
2660
  context: t,
2641
2661
  localState: n,
2642
2662
  rootState: r,
2643
2663
  rootSetState: o,
2644
2664
  event: i,
2645
- isExpression: s = !0
2665
+ isExpression: s = !0,
2666
+ enableCache: u
2646
2667
  }) {
2647
2668
  if (e === "") {
2648
- Y.warn("Skipping evaluation of empty code block.");
2669
+ X.warn("Skipping evaluation of empty code block.");
2649
2670
  return;
2650
2671
  }
2651
- const u = {
2652
- code: wo(e, {
2672
+ const d = {
2673
+ code: Co(e, {
2653
2674
  isExpression: s
2654
2675
  }),
2655
- builder: So(),
2676
+ builder: ko(),
2656
2677
  context: t,
2657
2678
  event: i,
2658
2679
  rootSetState: o,
2659
2680
  rootState: r,
2660
2681
  localState: n
2661
2682
  };
2683
+ if (u) {
2684
+ const v = lt.getCacheKey(d), x = lt.getCachedValue(v);
2685
+ if (x)
2686
+ return x.value;
2687
+ }
2662
2688
  try {
2663
- return $o(u);
2664
- } catch (d) {
2665
- Y.error("Failed code evaluation: " + d.message, {
2689
+ const v = Go(d);
2690
+ if (u) {
2691
+ const x = lt.getCacheKey(d);
2692
+ lt.setCachedValue(x, v);
2693
+ }
2694
+ return v;
2695
+ } catch (v) {
2696
+ X.error("Failed code evaluation: " + v.message, {
2666
2697
  code: e
2667
2698
  });
2668
2699
  return;
2669
2700
  }
2670
2701
  }
2671
- const pt = (e) => JSON.parse(JSON.stringify(e));
2672
- const Ho = ({
2702
+ const ht = (e) => JSON.parse(JSON.stringify(e));
2703
+ const Xo = ({
2673
2704
  block: e,
2674
2705
  context: t,
2675
2706
  localState: n,
@@ -2678,7 +2709,7 @@ const Ho = ({
2678
2709
  }) => {
2679
2710
  if (!e.bindings)
2680
2711
  return e;
2681
- const i = pt(e), s = {
2712
+ const i = ht(e), s = {
2682
2713
  ...i,
2683
2714
  properties: {
2684
2715
  ...i.properties
@@ -2688,18 +2719,19 @@ const Ho = ({
2688
2719
  }
2689
2720
  };
2690
2721
  for (const u in e.bindings) {
2691
- const d = e.bindings[u], k = an({
2722
+ const d = e.bindings[u], v = cn({
2692
2723
  code: d,
2693
2724
  localState: n,
2694
2725
  rootState: r,
2695
2726
  rootSetState: o,
2696
- context: t
2727
+ context: t,
2728
+ enableCache: !0
2697
2729
  });
2698
- fr(s, u, k);
2730
+ hr(s, u, v);
2699
2731
  }
2700
2732
  return s;
2701
2733
  };
2702
- function ct({
2734
+ function ft({
2703
2735
  block: e,
2704
2736
  context: t,
2705
2737
  shouldEvaluateBindings: n,
@@ -2708,7 +2740,7 @@ function ct({
2708
2740
  rootSetState: i
2709
2741
  }) {
2710
2742
  const s = e;
2711
- return n ? Ho({
2743
+ return n ? Xo({
2712
2744
  block: s,
2713
2745
  localState: r,
2714
2746
  rootState: o,
@@ -2716,13 +2748,55 @@ function ct({
2716
2748
  context: t
2717
2749
  }) : s;
2718
2750
  }
2719
- const Ko = ({
2751
+ const Jo = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), Sr = (e) => Object.entries(e).map(([n, r]) => {
2752
+ if (typeof r == "string")
2753
+ return `${Jo(n)}: ${r};`;
2754
+ }).filter(oe), Yo = (e) => Sr(e).join(`
2755
+ `), _t = ({
2756
+ mediaQuery: e,
2757
+ className: t,
2758
+ styles: n
2759
+ }) => {
2760
+ const r = `.${t} {
2761
+ ${Yo(n)}
2762
+ }`;
2763
+ return e ? `${e} {
2764
+ ${r}
2765
+ }` : r;
2766
+ };
2767
+ function zo({
2768
+ style: e
2769
+ }) {
2770
+ return e;
2771
+ }
2772
+ const qo = ({
2773
+ block: e,
2774
+ context: t
2775
+ }) => wr(zo({
2776
+ style: e.style || {},
2777
+ context: t,
2778
+ block: e
2779
+ }));
2780
+ function wr(e) {
2781
+ switch (he) {
2782
+ case "svelte":
2783
+ case "vue":
2784
+ case "solid":
2785
+ return Sr(e).join(" ");
2786
+ case "qwik":
2787
+ case "reactNative":
2788
+ case "react":
2789
+ case "rsc":
2790
+ return e;
2791
+ }
2792
+ }
2793
+ const Zo = ({
2720
2794
  block: e,
2721
2795
  context: t,
2722
2796
  registeredComponents: n
2723
2797
  }) => {
2724
2798
  var i;
2725
- const r = (i = ct({
2799
+ const r = (i = ft({
2726
2800
  block: e,
2727
2801
  localState: t.localState,
2728
2802
  rootState: t.rootState,
@@ -2738,7 +2812,7 @@ const Ko = ({
2738
2812
  console.warn(`
2739
2813
  Could not find a registered component named "${r}".
2740
2814
  If you registered it, is the file that registered it imported by the file that needs to render it?`);
2741
- }, Go = ({
2815
+ }, Qo = ({
2742
2816
  block: e,
2743
2817
  context: t
2744
2818
  }) => {
@@ -2748,30 +2822,31 @@ const Ko = ({
2748
2822
  } = e;
2749
2823
  if (!(n != null && n.collection))
2750
2824
  return;
2751
- const o = an({
2825
+ const o = cn({
2752
2826
  code: n.collection,
2753
2827
  localState: t.localState,
2754
2828
  rootState: t.rootState,
2755
2829
  rootSetState: t.rootSetState,
2756
- context: t.context
2830
+ context: t.context,
2831
+ enableCache: !0
2757
2832
  });
2758
2833
  if (!Array.isArray(o))
2759
2834
  return;
2760
2835
  const i = n.collection.split(".").pop(), s = n.itemName || (i ? i + "Item" : "item");
2761
- return o.map((d, k) => ({
2836
+ return o.map((d, v) => ({
2762
2837
  context: {
2763
2838
  ...t,
2764
2839
  localState: {
2765
2840
  ...t.localState,
2766
- $index: k,
2841
+ $index: v,
2767
2842
  $item: d,
2768
2843
  [s]: d,
2769
- [`$${s}Index`]: k
2844
+ [`$${s}Index`]: v
2770
2845
  }
2771
2846
  },
2772
2847
  block: r
2773
2848
  }));
2774
- }, yr = {
2849
+ }, xr = {
2775
2850
  small: {
2776
2851
  min: 320,
2777
2852
  default: 321,
@@ -2787,11 +2862,11 @@ const Ko = ({
2787
2862
  default: 991,
2788
2863
  max: 1200
2789
2864
  }
2790
- }, Xn = (e, t = yr) => `@media (max-width: ${t[e].max}px)`, vr = ({
2865
+ }, zn = (e, t = xr) => `@media (max-width: ${t[e].max}px)`, kr = ({
2791
2866
  small: e,
2792
2867
  medium: t
2793
2868
  }) => {
2794
- const n = pt(yr);
2869
+ const n = ht(xr);
2795
2870
  if (!e || !t)
2796
2871
  return n;
2797
2872
  const r = Math.floor(e / 2);
@@ -2813,28 +2888,13 @@ const Ko = ({
2813
2888
  min: i,
2814
2889
  default: i + 1
2815
2890
  }, n;
2816
- }, Xo = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), br = (e) => Object.entries(e).map(([n, r]) => {
2817
- if (typeof r == "string")
2818
- return `${Xo(n)}: ${r};`;
2819
- }).filter(oe), Yo = (e) => br(e).join(`
2820
- `), Lt = ({
2821
- mediaQuery: e,
2822
- className: t,
2823
- styles: n
2824
- }) => {
2825
- const r = `.${t} {
2826
- ${Yo(n)}
2827
- }`;
2828
- return e ? `${e} {
2829
- ${r}
2830
- }` : r;
2831
2891
  };
2832
- function dt(e) {
2833
- return /* @__PURE__ */ C("style", { dangerouslySetInnerHTML: { __html: e.styles }, id: e.id });
2892
+ function mt(e) {
2893
+ return /* @__PURE__ */ A("style", { dangerouslySetInnerHTML: { __html: e.styles }, id: e.id });
2834
2894
  }
2835
- function Jo(e) {
2895
+ function ei(e) {
2836
2896
  const t = function() {
2837
- const o = ct({
2897
+ const o = ft({
2838
2898
  block: e.block,
2839
2899
  localState: e.context.localState,
2840
2900
  rootState: e.context.rootState,
@@ -2845,59 +2905,60 @@ function Jo(e) {
2845
2905
  return oe(o.hide) ? !o.hide : oe(o.show) ? o.show : !0;
2846
2906
  }, n = function() {
2847
2907
  var w;
2848
- const o = ct({
2908
+ const o = ft({
2849
2909
  block: e.block,
2850
2910
  localState: e.context.localState,
2851
2911
  rootState: e.context.rootState,
2852
2912
  rootSetState: e.context.rootSetState,
2853
2913
  context: e.context.context,
2854
2914
  shouldEvaluateBindings: !0
2855
- }), i = o.responsiveStyles, s = e.context.content, u = vr(
2915
+ }), i = o.responsiveStyles, s = e.context.content, u = kr(
2856
2916
  ((w = s == null ? void 0 : s.meta) == null ? void 0 : w.breakpoints) || {}
2857
- ), d = i == null ? void 0 : i.large, k = i == null ? void 0 : i.medium, E = i == null ? void 0 : i.small, y = o.id;
2858
- if (!y)
2917
+ ), d = i == null ? void 0 : i.large, v = i == null ? void 0 : i.medium, x = i == null ? void 0 : i.small, m = o.id;
2918
+ if (!m)
2859
2919
  return "";
2860
- const R = d ? Lt({
2861
- className: y,
2920
+ const j = d ? _t({
2921
+ className: m,
2862
2922
  styles: d
2863
- }) : "", j = k ? Lt({
2864
- className: y,
2865
- styles: k,
2866
- mediaQuery: Xn(
2923
+ }) : "", R = v ? _t({
2924
+ className: m,
2925
+ styles: v,
2926
+ mediaQuery: zn(
2867
2927
  "medium",
2868
2928
  u
2869
2929
  )
2870
- }) : "", v = E ? Lt({
2871
- className: y,
2872
- styles: E,
2873
- mediaQuery: Xn(
2930
+ }) : "", k = x ? _t({
2931
+ className: m,
2932
+ styles: x,
2933
+ mediaQuery: zn(
2874
2934
  "small",
2875
2935
  u
2876
2936
  )
2877
2937
  }) : "";
2878
- return [R, j, v].join(" ");
2938
+ return [j, R, k].join(" ");
2879
2939
  };
2880
- return /* @__PURE__ */ C(W, { children: n() && t() ? /* @__PURE__ */ C(W, { children: /* @__PURE__ */ C(dt, { styles: n() }) }) : null });
2940
+ return /* @__PURE__ */ A(Z, { children: n() && t() ? /* @__PURE__ */ A(Z, { children: /* @__PURE__ */ A(mt, { styles: n() }) }) : null });
2881
2941
  }
2882
- function zo(e) {
2942
+ function ti(e) {
2883
2943
  return e.charAt(0).toUpperCase() + e.slice(1);
2884
2944
  }
2885
- const qo = (e) => `on${zo(e)}`, Zo = (e, t) => (n) => an({
2945
+ const ni = (e) => `on${ti(e)}`, ri = (e, t) => (n) => cn({
2886
2946
  code: e,
2887
2947
  context: t.context,
2888
2948
  localState: t.localState,
2889
2949
  rootState: t.rootState,
2890
2950
  rootSetState: t.rootSetState,
2891
2951
  event: n,
2892
- isExpression: !1
2952
+ isExpression: !1,
2953
+ enableCache: !0
2893
2954
  });
2894
- function Wa(e) {
2955
+ function Ka(e) {
2895
2956
  const t = {}, n = e.block.actions ?? {};
2896
2957
  for (const r in n) {
2897
2958
  if (!n.hasOwnProperty(r))
2898
2959
  continue;
2899
2960
  const o = n[r];
2900
- let i = qo(r);
2961
+ let i = ni(r);
2901
2962
  if (e.stripPrefix)
2902
2963
  switch (he) {
2903
2964
  case "vue":
@@ -2907,66 +2968,40 @@ function Wa(e) {
2907
2968
  i = i.replace("on:", "");
2908
2969
  break;
2909
2970
  }
2910
- t[i] = Zo(o, e);
2971
+ t[i] = ri(o, e);
2911
2972
  }
2912
2973
  return t;
2913
2974
  }
2914
- function Qo({
2915
- style: e
2916
- }) {
2917
- return e;
2918
- }
2919
- const ei = ({
2920
- block: e,
2921
- context: t
2922
- }) => Sr(Qo({
2923
- style: e.style || {},
2924
- context: t,
2925
- block: e
2926
- }));
2927
- function Sr(e) {
2928
- switch (he) {
2929
- case "svelte":
2930
- case "vue":
2931
- case "solid":
2932
- return br(e).join(" ");
2933
- case "qwik":
2934
- case "reactNative":
2935
- case "react":
2936
- case "rsc":
2937
- return e;
2938
- }
2939
- }
2940
- function ti({
2975
+ function oi({
2941
2976
  properties: e
2942
2977
  }) {
2943
2978
  return e;
2944
2979
  }
2945
- const ni = (e) => ({
2980
+ const ii = (e) => ({
2946
2981
  href: e.href
2947
2982
  });
2948
- function ri({
2983
+ function ai({
2949
2984
  block: e,
2950
2985
  context: t
2951
2986
  }) {
2952
2987
  var r;
2953
2988
  const n = {
2954
- ...ni(e),
2989
+ ...ii(e),
2955
2990
  ...e.properties,
2956
2991
  "builder-id": e.id,
2957
- style: ei({
2992
+ style: qo({
2958
2993
  block: e,
2959
2994
  context: t
2960
2995
  }),
2961
- [Gt()]: [e.id, "builder-block", e.class, (r = e.properties) == null ? void 0 : r.class].filter(Boolean).join(" ")
2996
+ [Jt()]: [e.id, "builder-block", e.class, (r = e.properties) == null ? void 0 : r.class].filter(Boolean).join(" ")
2962
2997
  };
2963
- return ti({
2998
+ return oi({
2964
2999
  properties: n,
2965
3000
  context: t,
2966
3001
  block: e
2967
3002
  });
2968
3003
  }
2969
- const oi = ({
3004
+ const si = ({
2970
3005
  componentOptions: e,
2971
3006
  builderBlock: t,
2972
3007
  context: n,
@@ -2982,7 +3017,7 @@ const oi = ({
2982
3017
  * component itself directly. Otherwise, they are provided to the wrapper element.
2983
3018
  */
2984
3019
  ...o ? {
2985
- attributes: ri({
3020
+ attributes: ai({
2986
3021
  block: t,
2987
3022
  context: s
2988
3023
  })
@@ -2996,13 +3031,13 @@ const oi = ({
2996
3031
  includeBlockProps: o
2997
3032
  } : u;
2998
3033
  };
2999
- function Yn(e) {
3034
+ function qn(e) {
3000
3035
  var n;
3001
- const t = e.isInteractive ? eo : e.componentRef;
3002
- return /* @__PURE__ */ C(W, { children: e.componentRef ? /* @__PURE__ */ C(W, { children: /* @__PURE__ */ C(
3036
+ const t = e.isInteractive ? ro : e.componentRef;
3037
+ return /* @__PURE__ */ A(Z, { children: e.componentRef ? /* @__PURE__ */ A(Z, { children: /* @__PURE__ */ A(
3003
3038
  t,
3004
3039
  {
3005
- ...oi({
3040
+ ...si({
3006
3041
  componentOptions: e.componentOptions,
3007
3042
  builderBlock: e.builderBlock,
3008
3043
  context: e.context,
@@ -3012,8 +3047,8 @@ function Yn(e) {
3012
3047
  isInteractive: e.isInteractive,
3013
3048
  contextValue: e.context
3014
3049
  }),
3015
- children: (n = e.blockChildren) == null ? void 0 : n.map((r) => /* @__PURE__ */ C(
3016
- ht,
3050
+ children: (n = e.blockChildren) == null ? void 0 : n.map((r) => /* @__PURE__ */ A(
3051
+ gt,
3017
3052
  {
3018
3053
  block: r,
3019
3054
  context: e.context,
@@ -3025,10 +3060,10 @@ function Yn(e) {
3025
3060
  }
3026
3061
  ) }) : null });
3027
3062
  }
3028
- function ii(e) {
3063
+ function li(e) {
3029
3064
  const t = e.repeatContext;
3030
- return /* @__PURE__ */ C(
3031
- ht,
3065
+ return /* @__PURE__ */ A(
3066
+ gt,
3032
3067
  {
3033
3068
  block: e.block,
3034
3069
  context: t,
@@ -3037,22 +3072,22 @@ function ii(e) {
3037
3072
  }
3038
3073
  );
3039
3074
  }
3040
- function ht(e) {
3041
- var k, E, y;
3075
+ function gt(e) {
3076
+ var d, v, x;
3042
3077
  const t = function() {
3043
- return Ko({
3078
+ return Zo({
3044
3079
  block: e.block,
3045
3080
  context: e.context,
3046
3081
  registeredComponents: e.registeredComponents
3047
3082
  });
3048
3083
  }, n = function() {
3049
- return Go({
3084
+ return Qo({
3050
3085
  block: e.block,
3051
3086
  context: e.context
3052
3087
  });
3053
3088
  }, r = function() {
3054
3089
  var j;
3055
- return (j = e.block.repeat) != null && j.collection ? e.block : ct({
3090
+ return (j = e.block.repeat) != null && j.collection ? e.block : ft({
3056
3091
  block: e.block,
3057
3092
  localState: e.context.localState,
3058
3093
  rootState: e.context.rootState,
@@ -3061,44 +3096,44 @@ function ht(e) {
3061
3096
  shouldEvaluateBindings: !0
3062
3097
  });
3063
3098
  }, o = function() {
3064
- var v;
3065
- return e.block.tagName === "a" || ((v = r().properties) == null ? void 0 : v.href) || r().href ? e.linkComponent || "a" : e.block.tagName || "div";
3099
+ var R;
3100
+ return e.block.tagName === "a" || ((R = r().properties) == null ? void 0 : R.href) || r().href ? e.linkComponent || "a" : e.block.tagName || "div";
3066
3101
  }, i = function() {
3067
- var w, U;
3068
- if ((w = e.block.repeat) != null && w.collection)
3069
- return !!((U = n()) != null && U.length);
3102
+ var k, w;
3103
+ if ((k = e.block.repeat) != null && k.collection)
3104
+ return !!((w = n()) != null && w.length);
3070
3105
  const j = "hide" in r() ? r().hide : !1;
3071
3106
  return ("show" in r() ? r().show : !0) && !j;
3072
3107
  }, s = function() {
3073
- var v;
3074
- return !((v = t()) != null && v.component) && !n() ? r().children ?? [] : [];
3108
+ var R;
3109
+ return !((R = t()) != null && R.component) && !n() ? r().children ?? [] : [];
3075
3110
  }, u = function() {
3076
- var j, v, w, U, N, x, Q, H, ee, M;
3111
+ var j, R, k, w, U, N, C, Q, $, ee;
3077
3112
  return {
3078
3113
  blockChildren: r().children ?? [],
3079
3114
  componentRef: (j = t()) == null ? void 0 : j.component,
3080
3115
  componentOptions: {
3081
- ...mo(r()),
3116
+ ...vo(r()),
3082
3117
  builderContext: e.context,
3083
- ...((v = t()) == null ? void 0 : v.name) === "Core:Button" || ((w = t()) == null ? void 0 : w.name) === "Symbol" || ((U = t()) == null ? void 0 : U.name) === "Columns" || ((N = t()) == null ? void 0 : N.name) === "Form:Form" ? {
3118
+ ...((R = t()) == null ? void 0 : R.name) === "Core:Button" || ((k = t()) == null ? void 0 : k.name) === "Symbol" || ((w = t()) == null ? void 0 : w.name) === "Columns" || ((U = t()) == null ? void 0 : U.name) === "Form:Form" ? {
3084
3119
  builderLinkComponent: e.linkComponent
3085
3120
  } : {},
3086
- ...((x = t()) == null ? void 0 : x.name) === "Symbol" || ((Q = t()) == null ? void 0 : Q.name) === "Columns" || ((H = t()) == null ? void 0 : H.name) === "Form:Form" ? {
3121
+ ...((N = t()) == null ? void 0 : N.name) === "Symbol" || ((C = t()) == null ? void 0 : C.name) === "Columns" || ((Q = t()) == null ? void 0 : Q.name) === "Form:Form" ? {
3087
3122
  builderComponents: e.registeredComponents
3088
3123
  } : {}
3089
3124
  },
3090
- context: d,
3125
+ context: e.context,
3091
3126
  linkComponent: e.linkComponent,
3092
3127
  registeredComponents: e.registeredComponents,
3093
3128
  builderBlock: r(),
3094
- includeBlockProps: ((ee = t()) == null ? void 0 : ee.noWrap) === !0,
3095
- isInteractive: !((M = t()) != null && M.isRSC)
3129
+ includeBlockProps: (($ = t()) == null ? void 0 : $.noWrap) === !0,
3130
+ isInteractive: !((ee = t()) != null && ee.isRSC)
3096
3131
  };
3097
- }, d = e.context;
3098
- return /* @__PURE__ */ C(W, { children: i() ? /* @__PURE__ */ xe(W, { children: [
3099
- /* @__PURE__ */ C(Jo, { block: e.block, context: e.context }),
3100
- (k = t()) != null && k.noWrap ? /* @__PURE__ */ C(W, { children: /* @__PURE__ */ C(
3101
- Yn,
3132
+ };
3133
+ return /* @__PURE__ */ A(Z, { children: i() ? /* @__PURE__ */ xe(Z, { children: [
3134
+ /* @__PURE__ */ A(ei, { block: e.block, context: e.context }),
3135
+ (d = t()) != null && d.noWrap ? /* @__PURE__ */ A(Z, { children: /* @__PURE__ */ A(
3136
+ qn,
3102
3137
  {
3103
3138
  componentRef: u().componentRef,
3104
3139
  componentOptions: u().componentOptions,
@@ -3110,25 +3145,25 @@ function ht(e) {
3110
3145
  includeBlockProps: u().includeBlockProps,
3111
3146
  isInteractive: u().isInteractive
3112
3147
  }
3113
- ) }) : /* @__PURE__ */ C(W, { children: n() ? /* @__PURE__ */ C(W, { children: (y = n()) == null ? void 0 : y.map((R, j) => /* @__PURE__ */ C(
3114
- ii,
3148
+ ) }) : /* @__PURE__ */ A(Z, { children: n() ? /* @__PURE__ */ A(Z, { children: (x = n()) == null ? void 0 : x.map((m, j) => /* @__PURE__ */ A(
3149
+ li,
3115
3150
  {
3116
- repeatContext: R.context,
3117
- block: R.block,
3151
+ repeatContext: m.context,
3152
+ block: m.block,
3118
3153
  registeredComponents: e.registeredComponents,
3119
3154
  linkComponent: e.linkComponent
3120
3155
  },
3121
3156
  j
3122
- )) }) : /* @__PURE__ */ C(W, { children: /* @__PURE__ */ xe(
3123
- to,
3157
+ )) }) : /* @__PURE__ */ xe(
3158
+ oo,
3124
3159
  {
3125
3160
  Wrapper: o(),
3126
3161
  block: r(),
3127
3162
  context: e.context,
3128
3163
  linkComponent: e.linkComponent,
3129
3164
  children: [
3130
- /* @__PURE__ */ C(
3131
- Yn,
3165
+ /* @__PURE__ */ A(
3166
+ qn,
3132
3167
  {
3133
3168
  componentRef: u().componentRef,
3134
3169
  componentOptions: u().componentOptions,
@@ -3141,25 +3176,25 @@ function ht(e) {
3141
3176
  isInteractive: u().isInteractive
3142
3177
  }
3143
3178
  ),
3144
- (E = s()) == null ? void 0 : E.map((R) => /* @__PURE__ */ C(
3145
- ht,
3179
+ (v = s()) == null ? void 0 : v.map((m) => /* @__PURE__ */ A(
3180
+ gt,
3146
3181
  {
3147
- block: R,
3148
- context: d,
3182
+ block: m,
3149
3183
  registeredComponents: e.registeredComponents,
3150
- linkComponent: e.linkComponent
3184
+ linkComponent: e.linkComponent,
3185
+ context: e.context
3151
3186
  },
3152
- R.id
3187
+ m.id
3153
3188
  ))
3154
3189
  ]
3155
3190
  }
3156
- ) }) })
3191
+ ) })
3157
3192
  ] }) : null });
3158
3193
  }
3159
- function sn(e) {
3194
+ function un(e) {
3160
3195
  var t, n, r;
3161
- return /* @__PURE__ */ C(
3162
- no,
3196
+ return /* @__PURE__ */ A(
3197
+ io,
3163
3198
  {
3164
3199
  blocks: e.blocks,
3165
3200
  parent: e.parent,
@@ -3167,8 +3202,8 @@ function sn(e) {
3167
3202
  styleProp: e.styleProp,
3168
3203
  BlocksWrapper: (t = e.context) == null ? void 0 : t.BlocksWrapper,
3169
3204
  BlocksWrapperProps: (n = e.context) == null ? void 0 : n.BlocksWrapperProps,
3170
- children: e.blocks ? /* @__PURE__ */ C(W, { children: (r = e.blocks) == null ? void 0 : r.map((o) => /* @__PURE__ */ C(
3171
- ht,
3205
+ children: e.blocks ? /* @__PURE__ */ A(Z, { children: (r = e.blocks) == null ? void 0 : r.map((o) => /* @__PURE__ */ A(
3206
+ gt,
3172
3207
  {
3173
3208
  block: o,
3174
3209
  linkComponent: e.linkComponent,
@@ -3180,8 +3215,8 @@ function sn(e) {
3180
3215
  }
3181
3216
  );
3182
3217
  }
3183
- function ai(e) {
3184
- var j;
3218
+ function ci(e) {
3219
+ var R;
3185
3220
  const t = typeof e.space == "number" ? e.space || 0 : 20, n = e.columns || [], r = e.stackColumnsAt || "tablet", o = function(w) {
3186
3221
  var U;
3187
3222
  return ((U = n[w]) == null ? void 0 : U.width) || 100 / n.length;
@@ -3198,7 +3233,7 @@ function ai(e) {
3198
3233
  desktopStyle: U
3199
3234
  }) {
3200
3235
  return r === "never" ? U : w;
3201
- }, d = e.stackColumnsAt === "never" ? "row" : e.reverseColumnsWhenStacked ? "column-reverse" : "column", k = function() {
3236
+ }, d = e.stackColumnsAt === "never" ? "row" : e.reverseColumnsWhenStacked ? "column-reverse" : "column", v = function() {
3202
3237
  return {
3203
3238
  "--flex-dir": d,
3204
3239
  "--flex-dir-tablet": s({
@@ -3206,8 +3241,8 @@ function ai(e) {
3206
3241
  desktopStyle: "row"
3207
3242
  })
3208
3243
  };
3209
- }, E = function(w) {
3210
- const U = w === 0 ? 0 : t, N = i(w), x = `${U}px`, Q = "100%", H = 0;
3244
+ }, x = function(w) {
3245
+ const U = w === 0 ? 0 : t, N = i(w), C = `${U}px`, Q = "100%", $ = 0;
3211
3246
  return {
3212
3247
  ...{
3213
3248
  display: "flex",
@@ -3215,32 +3250,32 @@ function ai(e) {
3215
3250
  alignItems: "stretch"
3216
3251
  },
3217
3252
  width: N,
3218
- ["marginLeft"]: x,
3253
+ ["marginLeft"]: C,
3219
3254
  "--column-width-mobile": u({
3220
3255
  stackedStyle: Q,
3221
3256
  desktopStyle: N
3222
3257
  }),
3223
3258
  "--column-margin-left-mobile": u({
3224
- stackedStyle: H,
3225
- desktopStyle: x
3259
+ stackedStyle: $,
3260
+ desktopStyle: C
3226
3261
  }),
3227
3262
  "--column-width-tablet": s({
3228
3263
  stackedStyle: Q,
3229
3264
  desktopStyle: N
3230
3265
  }),
3231
3266
  "--column-margin-left-tablet": s({
3232
- stackedStyle: H,
3233
- desktopStyle: x
3267
+ stackedStyle: $,
3268
+ desktopStyle: C
3234
3269
  })
3235
3270
  };
3236
- }, y = function(w) {
3237
- var N, x;
3238
- return vr(
3239
- ((x = (N = e.builderContext.content) == null ? void 0 : N.meta) == null ? void 0 : x.breakpoints) || {}
3271
+ }, m = function(w) {
3272
+ var N, C;
3273
+ return kr(
3274
+ ((C = (N = e.builderContext.content) == null ? void 0 : N.meta) == null ? void 0 : C.breakpoints) || {}
3240
3275
  )[w].max;
3241
- }, R = function() {
3276
+ }, j = function() {
3242
3277
  return `
3243
- @media (max-width: ${y("medium")}px) {
3278
+ @media (max-width: ${m("medium")}px) {
3244
3279
  .${e.builderBlock.id}-breakpoints {
3245
3280
  flex-direction: var(--flex-dir-tablet);
3246
3281
  align-items: stretch;
@@ -3252,7 +3287,7 @@ function ai(e) {
3252
3287
  }
3253
3288
  }
3254
3289
 
3255
- @media (max-width: ${y("small")}px) {
3290
+ @media (max-width: ${m("small")}px) {
3256
3291
  .${e.builderBlock.id}-breakpoints {
3257
3292
  flex-direction: var(--flex-dir);
3258
3293
  align-items: stretch;
@@ -3265,28 +3300,28 @@ function ai(e) {
3265
3300
  },
3266
3301
  `;
3267
3302
  };
3268
- return /* @__PURE__ */ xe(W, { children: [
3303
+ return /* @__PURE__ */ xe(Z, { children: [
3269
3304
  /* @__PURE__ */ xe(
3270
3305
  "div",
3271
3306
  {
3272
- className: `builder-columns ${e.builderBlock.id}-breakpoints div-1f78b21c`,
3273
- style: k(),
3307
+ className: `builder-columns ${e.builderBlock.id}-breakpoints div-7e6263b2`,
3308
+ style: v(),
3274
3309
  children: [
3275
- /* @__PURE__ */ C(W, { children: /* @__PURE__ */ C(dt, { styles: R() }) }),
3276
- (j = e.columns) == null ? void 0 : j.map((v, w) => /* @__PURE__ */ C(
3277
- ro,
3310
+ /* @__PURE__ */ A(mt, { styles: j() }),
3311
+ (R = e.columns) == null ? void 0 : R.map((k, w) => /* @__PURE__ */ A(
3312
+ ao,
3278
3313
  {
3279
- TagName: v.link ? e.builderLinkComponent || "a" : "div",
3314
+ TagName: k.link ? e.builderLinkComponent || "a" : "div",
3280
3315
  actionAttributes: {},
3281
3316
  attributes: {
3282
- ...v.link ? {
3283
- href: v.link
3317
+ ...k.link ? {
3318
+ href: k.link
3284
3319
  } : {},
3285
- [Gt()]: "builder-column",
3286
- style: Sr(E(w))
3320
+ [Jt()]: "builder-column",
3321
+ style: wr(x(w))
3287
3322
  },
3288
- children: /* @__PURE__ */ C(
3289
- sn,
3323
+ children: /* @__PURE__ */ A(
3324
+ un,
3290
3325
  {
3291
3326
  path: `component.options.columns.${w}.blocks`,
3292
3327
  parent: e.builderBlock.id,
@@ -3296,7 +3331,7 @@ function ai(e) {
3296
3331
  context: e.builderContext,
3297
3332
  registeredComponents: e.builderComponents,
3298
3333
  linkComponent: e.builderLinkComponent,
3299
- blocks: v.blocks
3334
+ blocks: k.blocks
3300
3335
  }
3301
3336
  )
3302
3337
  },
@@ -3305,48 +3340,48 @@ function ai(e) {
3305
3340
  ]
3306
3341
  }
3307
3342
  ),
3308
- /* @__PURE__ */ C("style", { children: `.div-1f78b21c {
3343
+ /* @__PURE__ */ A("style", { children: `.div-7e6263b2 {
3309
3344
  display: flex;
3310
3345
  line-height: normal;
3311
3346
  }` })
3312
3347
  ] });
3313
3348
  }
3314
- function Jn(e) {
3349
+ function Zn(e) {
3315
3350
  return e.replace(/http(s)?:/, "");
3316
3351
  }
3317
- function si(e = "", t, n) {
3352
+ function ui(e = "", t, n) {
3318
3353
  const r = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), o = e.indexOf("?") !== -1 ? "&" : "?";
3319
3354
  return e.match(r) ? e.replace(r, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + o + t + "=" + encodeURIComponent(n);
3320
3355
  }
3321
- function li(e, t) {
3356
+ function fi(e, t) {
3322
3357
  if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
3323
3358
  return e;
3324
3359
  if (t === "master")
3325
- return Jn(e);
3360
+ return Zn(e);
3326
3361
  const n = e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);
3327
3362
  if (n) {
3328
3363
  const r = e.split(n[0]), o = n[3], i = t.match("x") ? t : `${t}x`;
3329
- return Jn(`${r[0]}_${i}${o}`);
3364
+ return Zn(`${r[0]}_${i}${o}`);
3330
3365
  }
3331
3366
  return null;
3332
3367
  }
3333
- function $a(e) {
3368
+ function Ga(e) {
3334
3369
  if (!e)
3335
3370
  return e;
3336
3371
  const t = [100, 200, 400, 800, 1200, 1600, 2e3];
3337
3372
  if (e.match(/builder\.io/)) {
3338
3373
  let n = e;
3339
3374
  const r = Number(e.split("?width=")[1]);
3340
- return isNaN(r) || (n = `${n} ${r}w`), t.filter((o) => o !== r).map((o) => `${si(e, "width", o)} ${o}w`).concat([n]).join(", ");
3375
+ return isNaN(r) || (n = `${n} ${r}w`), t.filter((o) => o !== r).map((o) => `${ui(e, "width", o)} ${o}w`).concat([n]).join(", ");
3341
3376
  }
3342
- return e.match(/cdn\.shopify\.com/) ? t.map((n) => [li(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, r]) => `${n} ${r}w`).concat([e]).join(", ") : e;
3377
+ return e.match(/cdn\.shopify\.com/) ? t.map((n) => [fi(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, r]) => `${n} ${r}w`).concat([e]).join(", ") : e;
3343
3378
  }
3344
- const ci = (e) => {
3379
+ const pi = (e) => {
3345
3380
  if (e === "localhost" || e === "127.0.0.1")
3346
3381
  return e;
3347
3382
  const t = e.split(".");
3348
3383
  return t.length > 2 ? t.slice(1).join(".") : e;
3349
- }, wr = ({
3384
+ }, Cr = ({
3350
3385
  name: e,
3351
3386
  canTrack: t
3352
3387
  }) => {
@@ -3354,17 +3389,17 @@ const ci = (e) => {
3354
3389
  try {
3355
3390
  return t ? (n = document.cookie.split("; ").find((r) => r.startsWith(`${e}=`))) == null ? void 0 : n.split("=")[1] : void 0;
3356
3391
  } catch (r) {
3357
- Y.warn("[COOKIE] GET error: ", (r == null ? void 0 : r.message) || r);
3392
+ X.warn("[COOKIE] GET error: ", (r == null ? void 0 : r.message) || r);
3358
3393
  return;
3359
3394
  }
3360
- }, xr = async (e) => wr(e), ui = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(oe).join("; "), fi = [["secure", ""], ["SameSite", "None"]], pi = ({
3395
+ }, Er = async (e) => Cr(e), di = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(oe).join("; "), hi = [["secure", ""], ["SameSite", "None"]], mi = ({
3361
3396
  name: e,
3362
3397
  value: t,
3363
3398
  expires: n
3364
3399
  }) => {
3365
- const o = (X() ? location.protocol === "https:" : !0) ? fi : [[]], i = n ? [["expires", n.toUTCString()]] : [[]], s = [[e, t], ...i, ["path", "/"], ["domain", ci(window.location.hostname)], ...o];
3366
- return ui(s);
3367
- }, kr = async ({
3400
+ const o = (G() ? location.protocol === "https:" : !0) ? hi : [[]], i = n ? [["expires", n.toUTCString()]] : [[]], s = [[e, t], ...i, ["path", "/"], ["domain", pi(window.location.hostname)], ...o];
3401
+ return di(s);
3402
+ }, Ir = async ({
3368
3403
  name: e,
3369
3404
  value: t,
3370
3405
  expires: n,
@@ -3373,33 +3408,33 @@ const ci = (e) => {
3373
3408
  try {
3374
3409
  if (!r)
3375
3410
  return;
3376
- const o = pi({
3411
+ const o = mi({
3377
3412
  name: e,
3378
3413
  value: t,
3379
3414
  expires: n
3380
3415
  });
3381
3416
  document.cookie = o;
3382
3417
  } catch (o) {
3383
- Y.warn("[COOKIE] SET error: ", (o == null ? void 0 : o.message) || o);
3418
+ X.warn("[COOKIE] SET error: ", (o == null ? void 0 : o.message) || o);
3384
3419
  }
3385
- }, di = "builder.tests", ln = (e) => `${di}.${e}`, hi = ({
3420
+ }, gi = "builder.tests", fn = (e) => `${gi}.${e}`, yi = ({
3386
3421
  contentId: e
3387
- }) => xr({
3388
- name: ln(e),
3422
+ }) => Er({
3423
+ name: fn(e),
3389
3424
  canTrack: !0
3390
- }), mi = ({
3425
+ }), vi = ({
3391
3426
  contentId: e
3392
- }) => wr({
3393
- name: ln(e),
3427
+ }) => Cr({
3428
+ name: fn(e),
3394
3429
  canTrack: !0
3395
- }), gi = ({
3430
+ }), bi = ({
3396
3431
  contentId: e,
3397
3432
  value: t
3398
- }) => kr({
3399
- name: ln(e),
3433
+ }) => Ir({
3434
+ name: fn(e),
3400
3435
  value: t,
3401
3436
  canTrack: !0
3402
- }), Cr = (e) => oe(e.id) && oe(e.variations) && Object.keys(e.variations).length > 0, yi = ({
3437
+ }), Tr = (e) => oe(e.id) && oe(e.variations) && Object.keys(e.variations).length > 0, Si = ({
3403
3438
  id: e,
3404
3439
  variations: t
3405
3440
  }) => {
@@ -3412,15 +3447,15 @@ const ci = (e) => {
3412
3447
  return i;
3413
3448
  }
3414
3449
  return e;
3415
- }, Er = (e) => {
3416
- const t = yi(e);
3417
- return gi({
3450
+ }, Ar = (e) => {
3451
+ const t = Si(e);
3452
+ return bi({
3418
3453
  contentId: e.id,
3419
3454
  value: t
3420
3455
  }).catch((n) => {
3421
- Y.error("could not store A/B test variation: ", n);
3456
+ X.error("could not store A/B test variation: ", n);
3422
3457
  }), t;
3423
- }, Ir = ({
3458
+ }, Or = ({
3424
3459
  item: e,
3425
3460
  testGroupId: t
3426
3461
  }) => {
@@ -3434,7 +3469,7 @@ const ci = (e) => {
3434
3469
  testVariationId: n.id,
3435
3470
  testVariationName: n.name || (n.id === e.id ? "Default" : "")
3436
3471
  };
3437
- }, vi = ({
3472
+ }, wi = ({
3438
3473
  item: e,
3439
3474
  canTrack: t
3440
3475
  }) => {
@@ -3442,14 +3477,14 @@ const ci = (e) => {
3442
3477
  return e;
3443
3478
  if (!e)
3444
3479
  return;
3445
- if (!Cr(e))
3480
+ if (!Tr(e))
3446
3481
  return e;
3447
- const n = mi({
3482
+ const n = vi({
3448
3483
  contentId: e.id
3449
- }) || Er({
3484
+ }) || Ar({
3450
3485
  variations: e.variations,
3451
3486
  id: e.id
3452
- }), r = Ir({
3487
+ }), r = Or({
3453
3488
  item: e,
3454
3489
  testGroupId: n
3455
3490
  });
@@ -3457,18 +3492,18 @@ const ci = (e) => {
3457
3492
  ...e,
3458
3493
  ...r
3459
3494
  };
3460
- }, bi = async ({
3495
+ }, xi = async ({
3461
3496
  item: e,
3462
3497
  canTrack: t
3463
3498
  }) => {
3464
- if (!t || !Cr(e))
3499
+ if (!t || !Tr(e))
3465
3500
  return e;
3466
- const r = await hi({
3501
+ const r = await yi({
3467
3502
  contentId: e.id
3468
- }) || Er({
3503
+ }) || Ar({
3469
3504
  variations: e.variations,
3470
3505
  id: e.id
3471
- }), o = Ir({
3506
+ }), o = Or({
3472
3507
  item: e,
3473
3508
  testGroupId: r
3474
3509
  });
@@ -3476,7 +3511,7 @@ const ci = (e) => {
3476
3511
  ...e,
3477
3512
  ...o
3478
3513
  };
3479
- }, $t = (e) => oe(e) ? e : !0, Si = {
3514
+ }, Kt = (e) => oe(e) ? e : !0, ki = {
3480
3515
  name: "Core:Button",
3481
3516
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
3482
3517
  defaultStyles: {
@@ -3509,7 +3544,7 @@ const ci = (e) => {
3509
3544
  }],
3510
3545
  static: !0,
3511
3546
  noWrap: !0
3512
- }, wi = {
3547
+ }, Ci = {
3513
3548
  // TODO: ways to statically preprocess JSON for references, functions, etc
3514
3549
  name: "Columns",
3515
3550
  isRSC: !0,
@@ -3710,13 +3745,13 @@ const ci = (e) => {
3710
3745
  helperText: "When stacking columns for mobile devices, reverse the ordering",
3711
3746
  advanced: !0
3712
3747
  }]
3713
- }, xi = {
3748
+ }, Ei = {
3714
3749
  name: "Fragment",
3715
3750
  static: !0,
3716
3751
  hidden: !0,
3717
3752
  canHaveChildren: !0,
3718
3753
  noWrap: !0
3719
- }, ki = {
3754
+ }, Ii = {
3720
3755
  name: "Image",
3721
3756
  static: !0,
3722
3757
  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",
@@ -3737,15 +3772,15 @@ const ci = (e) => {
3737
3772
  onChange: (e) => {
3738
3773
  e.delete("srcset"), e.delete("noWebp");
3739
3774
  function n(s, u = 6e4) {
3740
- return new Promise((d, k) => {
3741
- const E = document.createElement("img");
3742
- let y = !1;
3743
- E.onload = () => {
3744
- y = !0, d(E);
3745
- }, E.addEventListener("error", (R) => {
3746
- console.warn("Image load failed", R.error), k(R.error);
3747
- }), E.src = s, setTimeout(() => {
3748
- y || k(new Error("Image load timed out"));
3775
+ return new Promise((d, v) => {
3776
+ const x = document.createElement("img");
3777
+ let m = !1;
3778
+ x.onload = () => {
3779
+ m = !0, d(x);
3780
+ }, x.addEventListener("error", (j) => {
3781
+ console.warn("Image load failed", j.error), v(j.error);
3782
+ }), x.src = s, setTimeout(() => {
3783
+ m || v(new Error("Image load timed out"));
3749
3784
  }, u);
3750
3785
  });
3751
3786
  }
@@ -3816,7 +3851,7 @@ const ci = (e) => {
3816
3851
  advanced: !0,
3817
3852
  defaultValue: 0.7041
3818
3853
  }]
3819
- }, Ci = {
3854
+ }, Ti = {
3820
3855
  name: "Core:Section",
3821
3856
  static: !0,
3822
3857
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -3855,7 +3890,7 @@ const ci = (e) => {
3855
3890
  }
3856
3891
  }
3857
3892
  }]
3858
- }, Ei = {
3893
+ }, Ai = {
3859
3894
  name: "Slot",
3860
3895
  isRSC: !0,
3861
3896
  description: "Allow child blocks to be inserted into this content when used as a Symbol",
@@ -3869,9 +3904,9 @@ const ci = (e) => {
3869
3904
  defaultValue: "children"
3870
3905
  }]
3871
3906
  };
3872
- function Ii(e) {
3907
+ function Oi(e) {
3873
3908
  var t, n, r;
3874
- return /* @__PURE__ */ C(
3909
+ return /* @__PURE__ */ A(
3875
3910
  "div",
3876
3911
  {
3877
3912
  style: {
@@ -3880,8 +3915,8 @@ function Ii(e) {
3880
3915
  ...!((t = e.builderContext.context) != null && t.symbolId) && {
3881
3916
  "builder-slot": e.name
3882
3917
  },
3883
- children: /* @__PURE__ */ C(
3884
- sn,
3918
+ children: /* @__PURE__ */ A(
3919
+ un,
3885
3920
  {
3886
3921
  parent: (n = e.builderContext.context) == null ? void 0 : n.symbolId,
3887
3922
  path: `symbol.data.${e.name}`,
@@ -3892,7 +3927,7 @@ function Ii(e) {
3892
3927
  }
3893
3928
  );
3894
3929
  }
3895
- const Ti = {
3930
+ const ji = {
3896
3931
  name: "Symbol",
3897
3932
  noWrap: !0,
3898
3933
  static: !0,
@@ -3925,7 +3960,7 @@ const Ti = {
3925
3960
  hideFromUI: !0,
3926
3961
  type: "boolean"
3927
3962
  }]
3928
- }, Ai = {
3963
+ }, Ri = {
3929
3964
  name: "Text",
3930
3965
  static: !0,
3931
3966
  isRSC: !0,
@@ -3944,9 +3979,9 @@ const Ti = {
3944
3979
  textAlign: "center"
3945
3980
  }
3946
3981
  };
3947
- function Oi(e) {
3982
+ function Pi(e) {
3948
3983
  var t;
3949
- return /* @__PURE__ */ C(
3984
+ return /* @__PURE__ */ A(
3950
3985
  "div",
3951
3986
  {
3952
3987
  className: "builder-text",
@@ -3957,7 +3992,7 @@ function Oi(e) {
3957
3992
  }
3958
3993
  );
3959
3994
  }
3960
- const ji = {
3995
+ const Ni = {
3961
3996
  name: "Custom Code",
3962
3997
  static: !0,
3963
3998
  requiredPermissions: ["editCode"],
@@ -3979,7 +4014,7 @@ const ji = {
3979
4014
  helperText: "Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads",
3980
4015
  advanced: !0
3981
4016
  }]
3982
- }, Ri = {
4017
+ }, Bi = {
3983
4018
  name: "Embed",
3984
4019
  static: !0,
3985
4020
  inputs: [{
@@ -4004,7 +4039,7 @@ const ji = {
4004
4039
  defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
4005
4040
  hideFromUI: !0
4006
4041
  }]
4007
- }, Pi = ["text/javascript", "application/javascript", "application/ecmascript"], Ha = (e) => Pi.includes(e.type), Ni = {
4042
+ }, Ui = ["text/javascript", "application/javascript", "application/ecmascript"], Xa = (e) => Ui.includes(e.type), Mi = {
4008
4043
  // friendlyName?
4009
4044
  name: "Raw:Img",
4010
4045
  hideFromInsertMenu: !0,
@@ -4018,7 +4053,7 @@ const ji = {
4018
4053
  }],
4019
4054
  noWrap: !0,
4020
4055
  static: !0
4021
- }, Bi = {
4056
+ }, Fi = {
4022
4057
  name: "Video",
4023
4058
  canHaveChildren: !0,
4024
4059
  defaultStyles: {
@@ -4099,58 +4134,58 @@ const ji = {
4099
4134
  defaultValue: !0,
4100
4135
  advanced: !0
4101
4136
  }]
4102
- }, Ui = () => [{
4103
- component: oo,
4104
- ...ji
4105
- }, {
4106
- component: io,
4107
- ...Ri
4108
- }, {
4109
- component: ao,
4137
+ }, Vi = () => [{
4138
+ component: so,
4110
4139
  ...Ni
4111
4140
  }, {
4112
- component: so,
4113
- ...Bi
4114
- }], zn = () => [{
4115
4141
  component: lo,
4116
- ...Si
4117
- }, {
4118
- component: ai,
4119
- ...wi
4142
+ ...Bi
4120
4143
  }, {
4121
4144
  component: co,
4122
- ...xi
4145
+ ...Mi
4123
4146
  }, {
4124
4147
  component: uo,
4148
+ ...Fi
4149
+ }], Qn = () => [{
4150
+ component: fo,
4125
4151
  ...ki
4126
4152
  }, {
4127
- component: fo,
4153
+ component: ci,
4128
4154
  ...Ci
4129
4155
  }, {
4130
- component: Ii,
4156
+ component: po,
4131
4157
  ...Ei
4132
4158
  }, {
4133
- component: Ua,
4159
+ component: ho,
4160
+ ...Ii
4161
+ }, {
4162
+ component: mo,
4134
4163
  ...Ti
4135
4164
  }, {
4136
4165
  component: Oi,
4137
4166
  ...Ai
4138
- }, ...Ui()], Ka = (e) => ({
4167
+ }, {
4168
+ component: Va,
4169
+ ...ji
4170
+ }, {
4171
+ component: Pi,
4172
+ ...Ri
4173
+ }, ...Vi()], Ja = (e) => ({
4139
4174
  type: "builder.registerComponent",
4140
- data: Ht(e)
4141
- }), Fi = (e) => {
4175
+ data: Gt(e)
4176
+ }), Di = (e) => {
4142
4177
  const t = e.toString().trim();
4143
4178
  return `return (${!t.startsWith("function") && !t.startsWith("(") ? "function " : ""}${t}).apply(this, arguments)`;
4144
- }, Mi = (e) => typeof e == "function" ? Fi(e) : pt(e), Ht = ({
4179
+ }, Li = (e) => typeof e == "function" ? Di(e) : ht(e), Gt = ({
4145
4180
  inputs: e,
4146
4181
  ...t
4147
4182
  }) => ({
4148
- ...pt(t),
4183
+ ...ht(t),
4149
4184
  inputs: e == null ? void 0 : e.map((n) => Object.entries(n).reduce((r, [o, i]) => ({
4150
4185
  ...r,
4151
- [o]: Mi(i)
4186
+ [o]: Li(i)
4152
4187
  }), {}))
4153
- }), Di = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
4188
+ }), _i = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
4154
4189
  function getAndSetVariantId() {
4155
4190
  function setCookie(name, value, days) {
4156
4191
  let expires = '';
@@ -4206,7 +4241,7 @@ const ji = {
4206
4241
  }).join('');
4207
4242
  styleEl.innerHTML = newStyleStr;
4208
4243
  }
4209
- }`, Li = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
4244
+ }`, Wi = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
4210
4245
  if (!navigator.cookieEnabled) {
4211
4246
  return;
4212
4247
  }
@@ -4240,27 +4275,27 @@ const ji = {
4240
4275
  thisScriptEl?.remove();
4241
4276
  }
4242
4277
  return;
4243
- }`, Tr = "builderIoAbTest", Ar = "builderIoRenderContent", st = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
4278
+ }`, jr = "builderIoAbTest", Rr = "builderIoRenderContent", ct = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
4244
4279
  ...t,
4245
4280
  testVariationId: t.id,
4246
4281
  id: e == null ? void 0 : e.id
4247
- })), Vi = ({
4282
+ })), $i = ({
4248
4283
  canTrack: e,
4249
4284
  content: t
4250
- }) => !(!(st(t).length > 0) || !e || X()), _i = (e) => e === "react" || e === "reactNative", Or = _i(he), Wi = () => `
4251
- window.${Tr} = ${Di}
4252
- window.${Ar} = ${Li}
4253
- `, $i = (e, t) => `
4254
- window.${Tr}(
4255
- "${t}",${JSON.stringify(e)}, ${Or}
4256
- )`, Hi = ({
4285
+ }) => !(!(ct(t).length > 0) || !e || G()), Hi = (e) => e === "react" || e === "reactNative", Pr = Hi(he), Ki = () => `
4286
+ window.${jr} = ${_i}
4287
+ window.${Rr} = ${Wi}
4288
+ `, Gi = (e, t) => `
4289
+ window.${jr}(
4290
+ "${t}",${JSON.stringify(e)}, ${Pr}
4291
+ )`, Xi = ({
4257
4292
  contentId: e,
4258
4293
  variationId: t
4259
- }) => `window.${Ar}(
4260
- "${t}", "${e}", ${Or}
4294
+ }) => `window.${Rr}(
4295
+ "${t}", "${e}", ${Pr}
4261
4296
  )`;
4262
- function Kt(e) {
4263
- return /* @__PURE__ */ C(
4297
+ function Xt(e) {
4298
+ return /* @__PURE__ */ A(
4264
4299
  "script",
4265
4300
  {
4266
4301
  dangerouslySetInnerHTML: { __html: e.scriptStr },
@@ -4268,61 +4303,61 @@ function Kt(e) {
4268
4303
  }
4269
4304
  );
4270
4305
  }
4271
- const Ki = (e) => {
4306
+ const Ji = (e) => {
4272
4307
  const t = e.get("preview"), n = e.get("overrides." + t);
4273
- return n || Y.warn("No previewed ID found in search params."), n;
4308
+ return n || X.warn("No previewed ID found in search params."), n;
4274
4309
  };
4275
- function Gi() {
4276
- globalThis._BUILDER_PREVIEW_LRU_CACHE || (globalThis._BUILDER_PREVIEW_LRU_CACHE = new Qr({
4310
+ function Yi() {
4311
+ globalThis._BUILDER_PREVIEW_LRU_CACHE || (globalThis._BUILDER_PREVIEW_LRU_CACHE = new no({
4277
4312
  max: 500,
4278
4313
  // how long to live in ms
4279
4314
  ttl: 1e3 * 60 * 5
4280
4315
  }));
4281
4316
  }
4282
- function Xi(e) {
4283
- Gi();
4284
- const t = Ki(e);
4317
+ function zi(e) {
4318
+ Yi();
4319
+ const t = Ji(e);
4285
4320
  return typeof t == "string" ? globalThis._BUILDER_PREVIEW_LRU_CACHE.get(t) : void 0;
4286
4321
  }
4287
- function Yi() {
4322
+ function qi() {
4288
4323
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : globalThis;
4289
4324
  }
4290
- function Ji() {
4291
- const e = Yi().fetch;
4325
+ function Zi() {
4326
+ const e = qi().fetch;
4292
4327
  if (typeof e > "u")
4293
4328
  throw console.warn(`Builder SDK could not find a global fetch function. Make sure you have a polyfill for fetch in your project.
4294
4329
  For more information, read https://github.com/BuilderIO/this-package-uses-fetch`), new Error("Builder SDK could not find a global `fetch` function");
4295
4330
  return e;
4296
4331
  }
4297
- const zi = Ji();
4298
- function lt(e, t = null, n = ".") {
4332
+ const Qi = Zi();
4333
+ function ut(e, t = null, n = ".") {
4299
4334
  return Object.keys(e).reduce((r, o) => {
4300
4335
  const i = e[o], s = [t, o].filter(Boolean).join(n);
4301
4336
  return [typeof i == "object", i !== null, !(Array.isArray(i) && i.length === 0)].every(Boolean) ? {
4302
4337
  ...r,
4303
- ...lt(i, s, n)
4338
+ ...ut(i, s, n)
4304
4339
  } : {
4305
4340
  ...r,
4306
4341
  [s]: i
4307
4342
  };
4308
4343
  }, {});
4309
4344
  }
4310
- const qi = "v3", qn = "builder.", Zi = "options.", jr = (e) => {
4345
+ const ea = "v3", er = "builder.", ta = "options.", Nr = (e) => {
4311
4346
  if (!e)
4312
4347
  return {};
4313
- const t = ar(e), n = {};
4348
+ const t = cr(e), n = {};
4314
4349
  return Object.keys(t).forEach((r) => {
4315
- if (r.startsWith(qn)) {
4316
- const o = r.replace(qn, "").replace(Zi, "");
4350
+ if (r.startsWith(er)) {
4351
+ const o = r.replace(er, "").replace(ta, "");
4317
4352
  n[o] = t[r];
4318
4353
  }
4319
4354
  }), n;
4320
- }, Qi = () => {
4321
- if (!X())
4355
+ }, na = () => {
4356
+ if (!G())
4322
4357
  return {};
4323
4358
  const e = new URLSearchParams(window.location.search);
4324
- return jr(e);
4325
- }, Zn = (e) => typeof e == "number" && !isNaN(e) && e >= 0, cn = (e) => {
4359
+ return Nr(e);
4360
+ }, tr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, pn = (e) => {
4326
4361
  const {
4327
4362
  limit: t = 30,
4328
4363
  userAttributes: n,
@@ -4331,13 +4366,13 @@ const qi = "v3", qn = "builder.", Zi = "options.", jr = (e) => {
4331
4366
  apiKey: i,
4332
4367
  enrich: s,
4333
4368
  locale: u,
4334
- apiVersion: d = qi,
4335
- fields: k,
4336
- omit: E,
4337
- offset: y,
4338
- cacheSeconds: R,
4339
- staleCacheSeconds: j,
4340
- sort: v,
4369
+ apiVersion: d = ea,
4370
+ fields: v,
4371
+ omit: x,
4372
+ offset: m,
4373
+ cacheSeconds: j,
4374
+ staleCacheSeconds: R,
4375
+ sort: k,
4341
4376
  includeUnpublished: w
4342
4377
  } = e;
4343
4378
  if (!i)
@@ -4345,163 +4380,163 @@ const qi = "v3", qn = "builder.", Zi = "options.", jr = (e) => {
4345
4380
  if (!["v3"].includes(d))
4346
4381
  throw new Error(`Invalid apiVersion: expected 'v3', received '${d}'`);
4347
4382
  const U = t !== 1, N = new URL(`https://cdn.builder.io/api/${d}/content/${o}`);
4348
- if (N.searchParams.set("apiKey", i), N.searchParams.set("limit", String(t)), N.searchParams.set("noTraverse", String(U)), N.searchParams.set("includeRefs", String(!0)), u && N.searchParams.set("locale", u), s && N.searchParams.set("enrich", String(s)), N.searchParams.set("omit", E || "meta.componentsUsed"), k && N.searchParams.set("fields", k), Number.isFinite(y) && y > -1 && N.searchParams.set("offset", String(Math.floor(y))), typeof w == "boolean" && N.searchParams.set("includeUnpublished", String(w)), R && Zn(R) && N.searchParams.set("cacheSeconds", String(R)), j && Zn(j) && N.searchParams.set("staleCacheSeconds", String(j)), v) {
4349
- const H = lt({
4350
- sort: v
4383
+ if (N.searchParams.set("apiKey", i), N.searchParams.set("limit", String(t)), N.searchParams.set("noTraverse", String(U)), N.searchParams.set("includeRefs", String(!0)), u && N.searchParams.set("locale", u), s && N.searchParams.set("enrich", String(s)), N.searchParams.set("omit", x || "meta.componentsUsed"), v && N.searchParams.set("fields", v), Number.isFinite(m) && m > -1 && N.searchParams.set("offset", String(Math.floor(m))), typeof w == "boolean" && N.searchParams.set("includeUnpublished", String(w)), j && tr(j) && N.searchParams.set("cacheSeconds", String(j)), R && tr(R) && N.searchParams.set("staleCacheSeconds", String(R)), k) {
4384
+ const $ = ut({
4385
+ sort: k
4351
4386
  });
4352
- for (const ee in H)
4353
- N.searchParams.set(ee, JSON.stringify(H[ee]));
4387
+ for (const ee in $)
4388
+ N.searchParams.set(ee, JSON.stringify($[ee]));
4354
4389
  }
4355
- const x = {
4356
- ...Qi(),
4357
- ...ar(e.options || {})
4358
- }, Q = lt(x);
4359
- for (const H in Q)
4360
- N.searchParams.set(H, String(Q[H]));
4390
+ const C = {
4391
+ ...na(),
4392
+ ...cr(e.options || {})
4393
+ }, Q = ut(C);
4394
+ for (const $ in Q)
4395
+ N.searchParams.set($, String(Q[$]));
4361
4396
  if (n && N.searchParams.set("userAttributes", JSON.stringify(n)), r) {
4362
- const H = lt({
4397
+ const $ = ut({
4363
4398
  query: r
4364
4399
  });
4365
- for (const ee in H)
4366
- N.searchParams.set(ee, JSON.stringify(H[ee]));
4400
+ for (const ee in $)
4401
+ N.searchParams.set(ee, JSON.stringify($[ee]));
4367
4402
  }
4368
4403
  return N;
4369
- }, ea = (e) => "results" in e;
4370
- async function Rr(e) {
4371
- const t = await ra({
4404
+ }, ra = (e) => "results" in e;
4405
+ async function Br(e) {
4406
+ const t = await aa({
4372
4407
  ...e,
4373
4408
  limit: 1
4374
4409
  });
4375
4410
  return t && t[0] || null;
4376
4411
  }
4377
- const ta = async (e) => {
4378
- const t = cn(e);
4379
- return await (await zi(t.href)).json();
4380
- }, na = async (e, t, n = cn(e)) => {
4381
- const r = $t(e.canTrack);
4412
+ const oa = async (e) => {
4413
+ const t = pn(e);
4414
+ return await (await Qi(t.href)).json();
4415
+ }, ia = async (e, t, n = pn(e)) => {
4416
+ const r = Kt(e.canTrack);
4382
4417
  if (n.search.includes("preview=")) {
4383
4418
  const i = [];
4384
4419
  for (const s of t.results) {
4385
- const u = Xi(n.searchParams);
4420
+ const u = zi(n.searchParams);
4386
4421
  i.push(u || s);
4387
4422
  }
4388
4423
  t.results = i;
4389
4424
  }
4390
- if (!r || !(X() || he === "reactNative"))
4425
+ if (!r || !(G() || he === "reactNative"))
4391
4426
  return t.results;
4392
4427
  try {
4393
4428
  const i = [];
4394
4429
  for (const s of t.results)
4395
- i.push(await bi({
4430
+ i.push(await xi({
4396
4431
  item: s,
4397
4432
  canTrack: r
4398
4433
  }));
4399
4434
  t.results = i;
4400
4435
  } catch (i) {
4401
- Y.error("Could not process A/B tests. ", i);
4436
+ X.error("Could not process A/B tests. ", i);
4402
4437
  }
4403
4438
  return t.results;
4404
4439
  };
4405
- async function ra(e) {
4440
+ async function aa(e) {
4406
4441
  try {
4407
- const t = cn(e), n = await ta(e);
4408
- return ea(n) ? na(e, n) : (Y.error("Error fetching data. ", {
4442
+ const t = pn(e), n = await oa(e);
4443
+ return ra(n) ? ia(e, n) : (X.error("Error fetching data. ", {
4409
4444
  url: t,
4410
4445
  content: n,
4411
4446
  options: e
4412
4447
  }), null);
4413
4448
  } catch (t) {
4414
- return Y.error("Error fetching data. ", t), null;
4449
+ return X.error("Error fetching data. ", t), null;
4415
4450
  }
4416
4451
  }
4417
- function Ga(e) {
4418
- if (!X())
4452
+ function Ya(e) {
4453
+ if (!G())
4419
4454
  return !1;
4420
- const t = sr(e || window.location.search);
4421
- return Xt(t) ? !1 : t.indexOf("builder.preview=") !== -1;
4455
+ const t = ur(e || window.location.search);
4456
+ return Yt(t) ? !1 : t.indexOf("builder.preview=") !== -1;
4422
4457
  }
4423
- function oa() {
4458
+ function sa() {
4424
4459
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
4425
4460
  const t = Math.random() * 16 | 0;
4426
4461
  return (e == "x" ? t : t & 3 | 8).toString(16);
4427
4462
  });
4428
4463
  }
4429
- function Pr() {
4430
- return oa().replace(/-/g, "");
4464
+ function Ur() {
4465
+ return sa().replace(/-/g, "");
4431
4466
  }
4432
- const Nr = "builderSessionId", ia = async ({
4467
+ const Mr = "builderSessionId", la = async ({
4433
4468
  canTrack: e
4434
4469
  }) => {
4435
4470
  if (!e)
4436
4471
  return;
4437
- const t = await xr({
4438
- name: Nr,
4472
+ const t = await Er({
4473
+ name: Mr,
4439
4474
  canTrack: e
4440
4475
  });
4441
4476
  if (oe(t))
4442
4477
  return t;
4443
4478
  {
4444
- const n = aa();
4445
- return sa({
4479
+ const n = ca();
4480
+ return ua({
4446
4481
  id: n,
4447
4482
  canTrack: e
4448
4483
  }), n;
4449
4484
  }
4450
- }, aa = () => Pr(), sa = ({
4485
+ }, ca = () => Ur(), ua = ({
4451
4486
  id: e,
4452
4487
  canTrack: t
4453
- }) => kr({
4454
- name: Nr,
4488
+ }) => Ir({
4489
+ name: Mr,
4455
4490
  value: e,
4456
4491
  canTrack: t
4457
- }), Br = () => X() && typeof localStorage < "u" ? localStorage : void 0, la = ({
4492
+ }), Fr = () => G() && typeof localStorage < "u" ? localStorage : void 0, fa = ({
4458
4493
  key: e,
4459
4494
  canTrack: t
4460
4495
  }) => {
4461
4496
  var n;
4462
4497
  try {
4463
- return t ? (n = Br()) == null ? void 0 : n.getItem(e) : void 0;
4498
+ return t ? (n = Fr()) == null ? void 0 : n.getItem(e) : void 0;
4464
4499
  } catch (r) {
4465
4500
  console.debug("[LocalStorage] GET error: ", r);
4466
4501
  return;
4467
4502
  }
4468
- }, ca = ({
4503
+ }, pa = ({
4469
4504
  key: e,
4470
4505
  canTrack: t,
4471
4506
  value: n
4472
4507
  }) => {
4473
4508
  var r;
4474
4509
  try {
4475
- t && ((r = Br()) == null || r.setItem(e, n));
4510
+ t && ((r = Fr()) == null || r.setItem(e, n));
4476
4511
  } catch (o) {
4477
4512
  console.debug("[LocalStorage] SET error: ", o);
4478
4513
  }
4479
- }, Ur = "builderVisitorId", ua = ({
4514
+ }, Vr = "builderVisitorId", da = ({
4480
4515
  canTrack: e
4481
4516
  }) => {
4482
4517
  if (!e)
4483
4518
  return;
4484
- const t = la({
4485
- key: Ur,
4519
+ const t = fa({
4520
+ key: Vr,
4486
4521
  canTrack: e
4487
4522
  });
4488
4523
  if (oe(t))
4489
4524
  return t;
4490
4525
  {
4491
- const n = fa();
4492
- return pa({
4526
+ const n = ha();
4527
+ return ma({
4493
4528
  id: n,
4494
4529
  canTrack: e
4495
4530
  }), n;
4496
4531
  }
4497
- }, fa = () => Pr(), pa = ({
4532
+ }, ha = () => Ur(), ma = ({
4498
4533
  id: e,
4499
4534
  canTrack: t
4500
- }) => ca({
4501
- key: Ur,
4535
+ }) => pa({
4536
+ key: Vr,
4502
4537
  value: e,
4503
4538
  canTrack: t
4504
- }), da = async ({
4539
+ }), ga = async ({
4505
4540
  canTrack: e
4506
4541
  }) => {
4507
4542
  if (!e)
@@ -4509,16 +4544,16 @@ const Nr = "builderSessionId", ia = async ({
4509
4544
  visitorId: void 0,
4510
4545
  sessionId: void 0
4511
4546
  };
4512
- const t = await ia({
4547
+ const t = await la({
4513
4548
  canTrack: e
4514
- }), n = ua({
4549
+ }), n = da({
4515
4550
  canTrack: e
4516
4551
  });
4517
4552
  return {
4518
4553
  sessionId: t,
4519
4554
  visitorId: n
4520
4555
  };
4521
- }, ha = async ({
4556
+ }, ya = async ({
4522
4557
  type: e,
4523
4558
  canTrack: t,
4524
4559
  apiKey: n,
@@ -4532,23 +4567,23 @@ const Nr = "builderSessionId", ia = async ({
4532
4567
  url: location.href,
4533
4568
  ...r
4534
4569
  },
4535
- ...await da({
4570
+ ...await ga({
4536
4571
  canTrack: t
4537
4572
  }),
4538
- userAttributes: lr(),
4573
+ userAttributes: fr(),
4539
4574
  ownerId: n
4540
4575
  }
4541
4576
  });
4542
- async function ma(e) {
4577
+ async function va(e) {
4543
4578
  if (!e.apiKey) {
4544
- Y.error("Missing API key for track call. Please provide your API key.");
4579
+ X.error("Missing API key for track call. Please provide your API key.");
4545
4580
  return;
4546
4581
  }
4547
- if (e.canTrack && !Xt() && (X() || he === "reactNative"))
4582
+ if (e.canTrack && !Yt() && (G() || he === "reactNative"))
4548
4583
  return fetch("https://cdn.builder.io/api/v1/track", {
4549
4584
  method: "POST",
4550
4585
  body: JSON.stringify({
4551
- events: [await ha(e)]
4586
+ events: [await ya(e)]
4552
4587
  }),
4553
4588
  headers: {
4554
4589
  "content-type": "application/json"
@@ -4558,14 +4593,14 @@ async function ma(e) {
4558
4593
  console.error("Failed to track: ", t);
4559
4594
  });
4560
4595
  }
4561
- const Xa = (e) => ma({
4596
+ const za = (e) => va({
4562
4597
  ...e,
4563
4598
  canTrack: !0
4564
4599
  });
4565
- function Qn(e) {
4600
+ function nr(e) {
4566
4601
  return Math.round(e * 1e3) / 1e3;
4567
4602
  }
4568
- const ga = (e, t, n = !0) => {
4603
+ const ba = (e, t, n = !0) => {
4569
4604
  if (!(e instanceof HTMLElement))
4570
4605
  return null;
4571
4606
  let r = n ? e : e.parentElement;
@@ -4576,43 +4611,43 @@ const ga = (e, t, n = !0) => {
4576
4611
  return r;
4577
4612
  } while (r = r.parentElement);
4578
4613
  return null;
4579
- }, ya = (e) => ga(e, (t) => {
4614
+ }, Sa = (e) => ba(e, (t) => {
4580
4615
  const n = t.getAttribute("builder-id") || t.id;
4581
4616
  return (n == null ? void 0 : n.indexOf("builder-")) === 0;
4582
- }), er = ({
4617
+ }), rr = ({
4583
4618
  event: e,
4584
4619
  target: t
4585
4620
  }) => {
4586
- const n = t.getBoundingClientRect(), r = e.clientX - n.left, o = e.clientY - n.top, i = Qn(r / n.width), s = Qn(o / n.height);
4621
+ const n = t.getBoundingClientRect(), r = e.clientX - n.left, o = e.clientY - n.top, i = nr(r / n.width), s = nr(o / n.height);
4587
4622
  return {
4588
4623
  x: i,
4589
4624
  y: s
4590
4625
  };
4591
- }, Ya = (e) => {
4592
- const t = e.target, n = t && ya(t), r = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
4626
+ }, qa = (e) => {
4627
+ const t = e.target, n = t && Sa(t), r = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
4593
4628
  return {
4594
4629
  targetBuilderElement: r || void 0,
4595
4630
  metadata: {
4596
- targetOffset: t ? er({
4631
+ targetOffset: t ? rr({
4597
4632
  event: e,
4598
4633
  target: t
4599
4634
  }) : void 0,
4600
- builderTargetOffset: n ? er({
4635
+ builderTargetOffset: n ? rr({
4601
4636
  event: e,
4602
4637
  target: n
4603
4638
  }) : void 0,
4604
4639
  builderElementIndex: n && r ? [].slice.call(document.getElementsByClassName(r)).indexOf(n) : void 0
4605
4640
  }
4606
4641
  };
4607
- }, va = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
4608
- function Fr(e, t) {
4642
+ }, wa = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
4643
+ function Dr(e, t) {
4609
4644
  const n = new URL(t.origin), r = n.hostname;
4610
- return (e || va).findIndex((o) => o.startsWith("*.") ? r.endsWith(o.slice(1)) : o === r) > -1;
4645
+ return (e || wa).findIndex((o) => o.startsWith("*.") ? r.endsWith(o.slice(1)) : o === r) > -1;
4611
4646
  }
4612
- const ba = "0.14.6", tr = {};
4613
- function Sa(e, t) {
4614
- let n = tr[e];
4615
- if (n || (n = tr[e] = []), n.push(t), X()) {
4647
+ const xa = "0.14.7", or = {};
4648
+ function ka(e, t) {
4649
+ let n = or[e];
4650
+ if (n || (n = or[e] = []), n.push(t), G()) {
4616
4651
  const r = {
4617
4652
  type: "builder.register",
4618
4653
  data: {
@@ -4627,8 +4662,8 @@ function Sa(e, t) {
4627
4662
  }
4628
4663
  }
4629
4664
  }
4630
- const Ja = () => {
4631
- Sa("insertMenu", {
4665
+ const Za = () => {
4666
+ ka("insertMenu", {
4632
4667
  name: "_default",
4633
4668
  default: !0,
4634
4669
  items: [{
@@ -4650,14 +4685,14 @@ const Ja = () => {
4650
4685
  }]
4651
4686
  });
4652
4687
  };
4653
- let nr = !1;
4654
- const wa = (e = {}) => {
4688
+ let ir = !1;
4689
+ const Ca = (e = {}) => {
4655
4690
  var t, n;
4656
- nr || (nr = !0, X() && ((t = window.parent) == null || t.postMessage({
4691
+ ir || (ir = !0, G() && ((t = window.parent) == null || t.postMessage({
4657
4692
  type: "builder.sdkInfo",
4658
4693
  data: {
4659
4694
  target: he,
4660
- version: ba,
4695
+ version: xa,
4661
4696
  supportsPatchUpdates: !1,
4662
4697
  // Supports builder-model="..." attribute which is needed to
4663
4698
  // scope our '+ add block' button styling
@@ -4671,7 +4706,7 @@ const wa = (e = {}) => {
4671
4706
  }
4672
4707
  }, "*"), window.addEventListener("message", (r) => {
4673
4708
  var i, s;
4674
- if (!Fr(e.trustedHosts, r))
4709
+ if (!Dr(e.trustedHosts, r))
4675
4710
  return;
4676
4711
  const {
4677
4712
  data: o
@@ -4679,45 +4714,45 @@ const wa = (e = {}) => {
4679
4714
  if (o != null && o.type)
4680
4715
  switch (o.type) {
4681
4716
  case "builder.evaluate": {
4682
- const u = o.data.text, d = o.data.arguments || [], k = o.data.id, E = new Function(u);
4683
- let y, R = null;
4717
+ const u = o.data.text, d = o.data.arguments || [], v = o.data.id, x = new Function(u);
4718
+ let m, j = null;
4684
4719
  try {
4685
- y = E.apply(null, d);
4686
- } catch (j) {
4687
- R = j;
4720
+ m = x.apply(null, d);
4721
+ } catch (R) {
4722
+ j = R;
4688
4723
  }
4689
- R ? (i = window.parent) == null || i.postMessage({
4724
+ j ? (i = window.parent) == null || i.postMessage({
4690
4725
  type: "builder.evaluateError",
4691
4726
  data: {
4692
- id: k,
4693
- error: R.message
4727
+ id: v,
4728
+ error: j.message
4694
4729
  }
4695
- }, "*") : y && typeof y.then == "function" ? y.then((j) => {
4696
- var v;
4697
- (v = window.parent) == null || v.postMessage({
4730
+ }, "*") : m && typeof m.then == "function" ? m.then((R) => {
4731
+ var k;
4732
+ (k = window.parent) == null || k.postMessage({
4698
4733
  type: "builder.evaluateResult",
4699
4734
  data: {
4700
- id: k,
4701
- result: j
4735
+ id: v,
4736
+ result: R
4702
4737
  }
4703
4738
  }, "*");
4704
4739
  }).catch(console.error) : (s = window.parent) == null || s.postMessage({
4705
4740
  type: "builder.evaluateResult",
4706
4741
  data: {
4707
- result: y,
4708
- id: k
4742
+ result: m,
4743
+ id: v
4709
4744
  }
4710
4745
  }, "*");
4711
4746
  break;
4712
4747
  }
4713
4748
  }
4714
4749
  })));
4715
- }, xa = ({
4750
+ }, Ea = ({
4716
4751
  model: e,
4717
4752
  trustedHosts: t,
4718
4753
  callbacks: n
4719
4754
  }) => (r) => {
4720
- if (!Fr(t, r))
4755
+ if (!Dr(t, r))
4721
4756
  return;
4722
4757
  const {
4723
4758
  data: o
@@ -4738,12 +4773,12 @@ const wa = (e = {}) => {
4738
4773
  break;
4739
4774
  }
4740
4775
  }
4741
- }, za = (e, t, n) => {
4742
- if (!X)
4743
- return Y.warn("`subscribeToEditor` only works in the browser. It currently seems to be running on the server."), () => {
4776
+ }, Qa = (e, t, n) => {
4777
+ if (!G)
4778
+ return X.warn("`subscribeToEditor` only works in the browser. It currently seems to be running on the server."), () => {
4744
4779
  };
4745
- wa();
4746
- const r = xa({
4780
+ Ca();
4781
+ const r = Ea({
4747
4782
  callbacks: {
4748
4783
  contentUpdate: t,
4749
4784
  animation: () => {
@@ -4758,7 +4793,7 @@ const wa = (e = {}) => {
4758
4793
  window.removeEventListener("message", r);
4759
4794
  };
4760
4795
  };
4761
- function rr(e, ...t) {
4796
+ function ar(e, ...t) {
4762
4797
  const n = Object(e);
4763
4798
  for (let r = 1; r < arguments.length; r++) {
4764
4799
  const o = arguments[r];
@@ -4768,38 +4803,38 @@ function rr(e, ...t) {
4768
4803
  }
4769
4804
  return n;
4770
4805
  }
4771
- const ka = (e) => e ? e.replace(/([A-Z])/g, (t) => `-${t[0].toLowerCase()}`) : "";
4772
- function Ca(e) {
4806
+ const Ia = (e) => e ? e.replace(/([A-Z])/g, (t) => `-${t[0].toLowerCase()}`) : "";
4807
+ function Ta(e) {
4773
4808
  console.warn(`Cannot animate element: element with ID ${e} not found!`);
4774
4809
  }
4775
- function Ea(e, t) {
4776
- const n = Ia(e), r = getComputedStyle(t), o = e.steps[0].styles, i = e.steps[e.steps.length - 1].styles, s = [o, i];
4810
+ function Aa(e, t) {
4811
+ const n = Oa(e), r = getComputedStyle(t), o = e.steps[0].styles, i = e.steps[e.steps.length - 1].styles, s = [o, i];
4777
4812
  for (const u of s)
4778
4813
  for (const d of n)
4779
4814
  d in u || (u[d] = r[d]);
4780
4815
  }
4781
- function Ia(e) {
4816
+ function Oa(e) {
4782
4817
  const t = [];
4783
4818
  for (const n of e.steps)
4784
4819
  for (const r in n.styles)
4785
4820
  t.indexOf(r) === -1 && t.push(r);
4786
4821
  return t;
4787
4822
  }
4788
- function qa(e) {
4823
+ function es(e) {
4789
4824
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
4790
4825
  if (!t.length) {
4791
- Ca(e.elementId || e.id || "");
4826
+ Ta(e.elementId || e.id || "");
4792
4827
  return;
4793
4828
  }
4794
4829
  Array.from(t).forEach((n) => {
4795
- Ea(e, n), n.style.transition = "none", n.style.transitionDelay = "0", rr(n.style, e.steps[0].styles), setTimeout(() => {
4796
- n.style.transition = `all ${e.duration}s ${ka(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), rr(n.style, e.steps[1].styles), setTimeout(() => {
4830
+ Aa(e, n), n.style.transition = "none", n.style.transitionDelay = "0", ar(n.style, e.steps[0].styles), setTimeout(() => {
4831
+ n.style.transition = `all ${e.duration}s ${Ia(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), ar(n.style, e.steps[1].styles), setTimeout(() => {
4797
4832
  n.style.transition = "", n.style.transitionDelay = "";
4798
4833
  }, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
4799
4834
  });
4800
4835
  });
4801
4836
  }
4802
- const Ta = (e) => {
4837
+ const ja = (e) => {
4803
4838
  var i;
4804
4839
  const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], r = e.fileUrl ?? ((i = e == null ? void 0 : e.files) == null ? void 0 : i.regular);
4805
4840
  let o = "";
@@ -4825,22 +4860,22 @@ font-weight: ${s};
4825
4860
  `.trim());
4826
4861
  }
4827
4862
  return o;
4828
- }, Aa = ({
4863
+ }, Ra = ({
4829
4864
  customFonts: e
4830
4865
  }) => {
4831
4866
  var t;
4832
- return ((t = e == null ? void 0 : e.map((n) => Ta(n))) == null ? void 0 : t.join(" ")) || "";
4833
- }, Oa = ({
4867
+ return ((t = e == null ? void 0 : e.map((n) => ja(n))) == null ? void 0 : t.join(" ")) || "";
4868
+ }, Pa = ({
4834
4869
  cssCode: e,
4835
4870
  contentId: t
4836
4871
  }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "";
4837
- function ja(e) {
4872
+ function Na(e) {
4838
4873
  const t = `
4839
- ${Oa({
4874
+ ${Pa({
4840
4875
  cssCode: e.cssCode,
4841
4876
  contentId: e.contentId
4842
4877
  })}
4843
- ${Aa({
4878
+ ${Ra({
4844
4879
  customFonts: e.customFonts
4845
4880
  })}
4846
4881
 
@@ -4861,9 +4896,9 @@ ${Aa({
4861
4896
  font-family: inherit;
4862
4897
  }
4863
4898
  `.trim();
4864
- return /* @__PURE__ */ C(dt, { styles: t });
4899
+ return /* @__PURE__ */ A(mt, { styles: t });
4865
4900
  }
4866
- const Ra = ({
4901
+ const Ba = ({
4867
4902
  content: e,
4868
4903
  data: t,
4869
4904
  locale: n
@@ -4880,7 +4915,7 @@ const Ra = ({
4880
4915
  locale: n
4881
4916
  } : {}
4882
4917
  };
4883
- }, Pa = ({
4918
+ }, Ua = ({
4884
4919
  content: e,
4885
4920
  data: t
4886
4921
  }) => e ? {
@@ -4891,32 +4926,32 @@ const Ra = ({
4891
4926
  },
4892
4927
  meta: e == null ? void 0 : e.meta
4893
4928
  } : void 0;
4894
- function or(e) {
4895
- var o, i, s, u, d, k, E, y, R;
4896
- const t = Hi({
4929
+ function sr(e) {
4930
+ var o, i, s, u, d, v, x, m, j;
4931
+ const t = Xi({
4897
4932
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
4898
4933
  variationId: (o = e.content) == null ? void 0 : o.testVariationId,
4899
4934
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
4900
4935
  contentId: (i = e.content) == null ? void 0 : i.id
4901
4936
  }), n = [
4902
- ...zn(),
4937
+ ...Qn(),
4903
4938
  ...e.customComponents || []
4904
4939
  ].reduce(
4905
- (j, { component: v, ...w }) => ({
4906
- ...j,
4940
+ (R, { component: k, ...w }) => ({
4941
+ ...R,
4907
4942
  [w.name]: {
4908
- component: v,
4909
- ...Ht(w)
4943
+ component: k,
4944
+ ...Gt(w)
4910
4945
  }
4911
4946
  }),
4912
4947
  {}
4913
4948
  ), r = {
4914
- content: Pa({
4949
+ content: Ua({
4915
4950
  content: e.content,
4916
4951
  data: e.data
4917
4952
  }),
4918
4953
  localState: void 0,
4919
- rootState: Ra({
4954
+ rootState: Ba({
4920
4955
  content: e.content,
4921
4956
  data: e.data,
4922
4957
  locale: e.locale
@@ -4926,12 +4961,12 @@ function or(e) {
4926
4961
  apiKey: e.apiKey,
4927
4962
  apiVersion: e.apiVersion,
4928
4963
  componentInfos: [
4929
- ...zn(),
4964
+ ...Qn(),
4930
4965
  ...e.customComponents || []
4931
4966
  ].reduce(
4932
- (j, { component: v, ...w }) => ({
4933
- ...j,
4934
- [w.name]: Ht(w)
4967
+ (R, { component: k, ...w }) => ({
4968
+ ...R,
4969
+ [w.name]: Gt(w)
4935
4970
  }),
4936
4971
  {}
4937
4972
  ),
@@ -4940,7 +4975,7 @@ function or(e) {
4940
4975
  BlocksWrapperProps: e.blocksWrapperProps || {}
4941
4976
  };
4942
4977
  return /* @__PURE__ */ xe(
4943
- po,
4978
+ go,
4944
4979
  {
4945
4980
  content: e.content,
4946
4981
  data: e.data,
@@ -4957,19 +4992,19 @@ function or(e) {
4957
4992
  linkComponent: e.linkComponent,
4958
4993
  trustedHosts: e.trustedHosts,
4959
4994
  children: [
4960
- e.isSsrAbTest ? /* @__PURE__ */ C(W, { children: /* @__PURE__ */ C(Kt, { scriptStr: t }) }) : null,
4961
- /* @__PURE__ */ C(W, { children: /* @__PURE__ */ C(
4962
- ja,
4995
+ e.isSsrAbTest ? /* @__PURE__ */ A(Xt, { scriptStr: t }) : null,
4996
+ /* @__PURE__ */ A(
4997
+ Na,
4963
4998
  {
4964
4999
  contentId: (s = r.content) == null ? void 0 : s.id,
4965
5000
  cssCode: (d = (u = r.content) == null ? void 0 : u.data) == null ? void 0 : d.cssCode,
4966
- customFonts: (E = (k = r.content) == null ? void 0 : k.data) == null ? void 0 : E.customFonts
5001
+ customFonts: (x = (v = r.content) == null ? void 0 : v.data) == null ? void 0 : x.customFonts
4967
5002
  }
4968
- ) }),
4969
- /* @__PURE__ */ C(
4970
- sn,
5003
+ ),
5004
+ /* @__PURE__ */ A(
5005
+ un,
4971
5006
  {
4972
- blocks: (R = (y = r.content) == null ? void 0 : y.data) == null ? void 0 : R.blocks,
5007
+ blocks: (j = (m = r.content) == null ? void 0 : m.data) == null ? void 0 : j.blocks,
4973
5008
  context: r,
4974
5009
  registeredComponents: n,
4975
5010
  linkComponent: e.linkComponent
@@ -4979,45 +5014,45 @@ function or(e) {
4979
5014
  }
4980
5015
  );
4981
5016
  }
4982
- function Na(e) {
5017
+ function Ma(e) {
4983
5018
  var i, s;
4984
- const t = Vi({
4985
- canTrack: $t(e.canTrack),
5019
+ const t = $i({
5020
+ canTrack: Kt(e.canTrack),
4986
5021
  content: e.content
4987
5022
  }), n = function() {
4988
5023
  var d;
4989
- return $i(
4990
- st(e.content).map((k) => ({
4991
- id: k.testVariationId,
4992
- testRatio: k.testRatio
5024
+ return Gi(
5025
+ ct(e.content).map((v) => ({
5026
+ id: v.testVariationId,
5027
+ testRatio: v.testRatio
4993
5028
  })),
4994
5029
  ((d = e.content) == null ? void 0 : d.id) || ""
4995
5030
  );
4996
5031
  }, r = function() {
4997
- return st(e.content).map((d) => `.variant-${d.testVariationId} { display: none; } `).join("");
5032
+ return ct(e.content).map((d) => `.variant-${d.testVariationId} { display: none; } `).join("");
4998
5033
  }, o = function() {
4999
5034
  var d;
5000
5035
  return t ? {
5001
5036
  ...e.content,
5002
5037
  testVariationId: (d = e.content) == null ? void 0 : d.id
5003
- } : vi({
5038
+ } : wi({
5004
5039
  item: e.content,
5005
- canTrack: $t(e.canTrack)
5040
+ canTrack: Kt(e.canTrack)
5006
5041
  });
5007
5042
  };
5008
- return /* @__PURE__ */ xe(W, { children: [
5009
- !e.__isNestedRender && he !== "reactNative" ? /* @__PURE__ */ C(W, { children: /* @__PURE__ */ C(Kt, { scriptStr: Wi() }) }) : null,
5010
- t ? /* @__PURE__ */ xe(W, { children: [
5011
- /* @__PURE__ */ C(
5012
- dt,
5043
+ return /* @__PURE__ */ xe(Z, { children: [
5044
+ !e.__isNestedRender && he !== "reactNative" ? /* @__PURE__ */ A(Xt, { scriptStr: Ki() }) : null,
5045
+ t ? /* @__PURE__ */ xe(Z, { children: [
5046
+ /* @__PURE__ */ A(
5047
+ mt,
5013
5048
  {
5014
5049
  id: `variants-styles-${(i = e.content) == null ? void 0 : i.id}`,
5015
5050
  styles: r()
5016
5051
  }
5017
5052
  ),
5018
- /* @__PURE__ */ C(Kt, { scriptStr: n() }),
5019
- (s = st(e.content)) == null ? void 0 : s.map((u) => /* @__PURE__ */ C(
5020
- or,
5053
+ /* @__PURE__ */ A(Xt, { scriptStr: n() }),
5054
+ (s = ct(e.content)) == null ? void 0 : s.map((u) => /* @__PURE__ */ A(
5055
+ sr,
5021
5056
  {
5022
5057
  content: u,
5023
5058
  showContent: !1,
@@ -5041,8 +5076,8 @@ function Na(e) {
5041
5076
  u.testVariationId
5042
5077
  ))
5043
5078
  ] }) : null,
5044
- /* @__PURE__ */ C(
5045
- or,
5079
+ /* @__PURE__ */ A(
5080
+ sr,
5046
5081
  {
5047
5082
  content: o(),
5048
5083
  showContent: !0,
@@ -5066,13 +5101,13 @@ function Na(e) {
5066
5101
  )
5067
5102
  ] });
5068
5103
  }
5069
- const Ba = async ({
5104
+ const Fa = async ({
5070
5105
  builderContextValue: e,
5071
5106
  symbol: t
5072
5107
  }) => {
5073
5108
  if (t != null && t.model && // This is a hack, we should not need to check for this, but it is needed for Svelte.
5074
5109
  (e != null && e.apiKey))
5075
- return Rr({
5110
+ return Br({
5076
5111
  model: t.model,
5077
5112
  apiKey: e.apiKey,
5078
5113
  apiVersion: e.apiVersion,
@@ -5082,25 +5117,25 @@ const Ba = async ({
5082
5117
  }
5083
5118
  }
5084
5119
  }).catch((n) => {
5085
- Y.error("Could not fetch symbol content: ", n);
5120
+ X.error("Could not fetch symbol content: ", n);
5086
5121
  });
5087
5122
  };
5088
- async function Ua(e) {
5123
+ async function Va(e) {
5089
5124
  var r, o, i, s, u;
5090
5125
  const t = function() {
5091
- var k, E;
5126
+ var v, x;
5092
5127
  return [
5093
- e.attributes[Gt()],
5128
+ e.attributes[Jt()],
5094
5129
  "builder-symbol",
5095
- (k = e.symbol) != null && k.inline ? "builder-inline-symbol" : void 0,
5096
- (E = e.symbol) != null && E.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
5130
+ (v = e.symbol) != null && v.inline ? "builder-inline-symbol" : void 0,
5131
+ (x = e.symbol) != null && x.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
5097
5132
  ].filter(Boolean).join(" ");
5098
- }, n = ((r = e.symbol) == null ? void 0 : r.content) || await Ba({
5133
+ }, n = ((r = e.symbol) == null ? void 0 : r.content) || await Fa({
5099
5134
  symbol: e.symbol,
5100
5135
  builderContextValue: e.builderContext
5101
5136
  });
5102
- return /* @__PURE__ */ C("div", { ...e.attributes, className: t(), children: /* @__PURE__ */ C(
5103
- Na,
5137
+ return /* @__PURE__ */ A("div", { ...e.attributes, className: t(), children: /* @__PURE__ */ A(
5138
+ Ma,
5104
5139
  {
5105
5140
  __isNestedRender: !0,
5106
5141
  apiVersion: e.builderContext.apiVersion,
@@ -5123,18 +5158,18 @@ async function Ua(e) {
5123
5158
  }
5124
5159
  ) });
5125
5160
  }
5126
- const ir = {};
5127
- function Za(e) {
5128
- if (X()) {
5129
- Object.assign(ir, e);
5161
+ const lr = {};
5162
+ function ts(e) {
5163
+ if (G()) {
5164
+ Object.assign(lr, e);
5130
5165
  const t = {
5131
5166
  type: "builder.settingsChange",
5132
- data: ir
5167
+ data: lr
5133
5168
  };
5134
5169
  parent.postMessage(t, "*");
5135
5170
  }
5136
5171
  }
5137
- const Qa = async (e) => {
5172
+ const ns = async (e) => {
5138
5173
  var r, o, i;
5139
5174
  const t = e.path || ((r = e.url) == null ? void 0 : r.pathname) || ((o = e.userAttributes) == null ? void 0 : o.urlPath), n = {
5140
5175
  ...e,
@@ -5146,49 +5181,49 @@ const Qa = async (e) => {
5146
5181
  urlPath: t
5147
5182
  } : {}
5148
5183
  },
5149
- options: jr(e.searchParams || ((i = e.url) == null ? void 0 : i.searchParams) || e.options)
5184
+ options: Nr(e.searchParams || ((i = e.url) == null ? void 0 : i.searchParams) || e.options)
5150
5185
  };
5151
5186
  return {
5152
5187
  apiKey: n.apiKey,
5153
5188
  model: n.model,
5154
- content: await Rr(n)
5189
+ content: await Br(n)
5155
5190
  };
5156
5191
  };
5157
5192
  export {
5158
- Xa as A,
5159
- sn as B,
5160
- ai as C,
5161
- za as D,
5162
- Qa as E,
5163
- na as F,
5164
- ra as G,
5165
- Ua as S,
5166
- Oi as T,
5167
- ma as _,
5168
- ri as a,
5169
- Wa as b,
5170
- Xt as c,
5171
- $a as d,
5172
- Ha as e,
5173
- X as f,
5174
- Gt as g,
5175
- $t as h,
5176
- _a as i,
5177
- Ga as j,
5178
- xa as k,
5179
- Y as l,
5180
- an as m,
5181
- Ya as n,
5182
- pt as o,
5183
- Ka as p,
5184
- Rr as q,
5185
- Ja as r,
5186
- wa as s,
5187
- qa as t,
5188
- zi as u,
5189
- Gi as v,
5190
- Na as w,
5191
- Sa as x,
5192
- Za as y,
5193
- jr as z
5193
+ za as A,
5194
+ un as B,
5195
+ ci as C,
5196
+ Qa as D,
5197
+ ns as E,
5198
+ ia as F,
5199
+ aa as G,
5200
+ Va as S,
5201
+ Pi as T,
5202
+ va as _,
5203
+ ai as a,
5204
+ Ka as b,
5205
+ Yt as c,
5206
+ Ga as d,
5207
+ Xa as e,
5208
+ G as f,
5209
+ Jt as g,
5210
+ Kt as h,
5211
+ Ha as i,
5212
+ Ya as j,
5213
+ Ea as k,
5214
+ X as l,
5215
+ cn as m,
5216
+ qa as n,
5217
+ ht as o,
5218
+ Ja as p,
5219
+ Br as q,
5220
+ Za as r,
5221
+ Ca as s,
5222
+ es as t,
5223
+ Qi as u,
5224
+ Yi as v,
5225
+ Ma as w,
5226
+ ka as x,
5227
+ ts as y,
5228
+ Nr as z
5194
5229
  };