@builder.io/sdk-react-nextjs 0.13.4 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/lib/browser/{USE_CLIENT_BUNDLE-288752d8.js → USE_CLIENT_BUNDLE-3ca5290b.js} +2 -5
  2. package/lib/{node/USE_CLIENT_BUNDLE-5990191b.cjs → browser/USE_CLIENT_BUNDLE-ae2cf58a.cjs} +2 -2
  3. package/lib/{edge/USE_SERVER_BUNDLE-70e7e90b.cjs → browser/USE_SERVER_BUNDLE-44bff58a.cjs} +1 -1
  4. package/lib/{edge/USE_SERVER_BUNDLE-6e48e5ed.js → browser/USE_SERVER_BUNDLE-87bb4fc8.js} +1 -1
  5. package/lib/browser/bundle-0f8e9b11.cjs +168 -0
  6. package/lib/browser/{bundle-10ada443.js → bundle-4016f64d.js} +476 -501
  7. package/lib/browser/index.cjs +1 -1
  8. package/lib/browser/index.mjs +26 -30
  9. package/lib/{browser/USE_CLIENT_BUNDLE-94cce7fa.cjs → edge/USE_CLIENT_BUNDLE-e243b06f.cjs} +2 -2
  10. package/lib/{node/USE_CLIENT_BUNDLE-d7ccf4f8.js → edge/USE_CLIENT_BUNDLE-eea569d0.js} +2 -5
  11. package/lib/{node/USE_SERVER_BUNDLE-b7c27ec7.cjs → edge/USE_SERVER_BUNDLE-0b2f4389.cjs} +1 -1
  12. package/lib/{node/USE_SERVER_BUNDLE-7a98295a.js → edge/USE_SERVER_BUNDLE-4db772c9.js} +1 -1
  13. package/lib/edge/{bundle-66600134.js → bundle-30e52741.js} +1065 -1090
  14. package/lib/edge/bundle-972c668c.cjs +188 -0
  15. package/lib/edge/index.cjs +1 -1
  16. package/lib/edge/index.mjs +26 -30
  17. package/lib/{edge/USE_CLIENT_BUNDLE-4859795b.cjs → node/USE_CLIENT_BUNDLE-293178d5.cjs} +2 -2
  18. package/lib/{edge/USE_CLIENT_BUNDLE-6fd05768.js → node/USE_CLIENT_BUNDLE-3a1f710c.js} +2 -5
  19. package/lib/{browser/USE_SERVER_BUNDLE-02c2385b.js → node/USE_SERVER_BUNDLE-86b87f1d.js} +1 -1
  20. package/lib/{browser/USE_SERVER_BUNDLE-20569132.cjs → node/USE_SERVER_BUNDLE-e487f694.cjs} +1 -1
  21. package/lib/node/{bundle-2d5f1c0c.js → bundle-3d5a7e60.js} +106 -131
  22. package/lib/node/{bundle-9b818d40.cjs → bundle-b908270e.cjs} +10 -10
  23. package/lib/node/index.cjs +1 -1
  24. package/lib/node/index.mjs +26 -30
  25. package/package.json +1 -1
  26. package/types/cjs/components/content-variants/content-variants.types.d.ts +0 -2
  27. package/types/cjs/constants/sdk-version.d.ts +1 -1
  28. package/types/cjs/functions/get-content/index.d.ts +0 -10
  29. package/types/cjs/functions/get-content/types.d.ts +0 -11
  30. package/types/cjs/functions/register-component.d.ts +0 -9
  31. package/types/cjs/index-helpers/blocks-exports.d.ts +0 -8
  32. package/types/cjs/server-index.d.ts +1 -1
  33. package/types/esm/components/content-variants/content-variants.types.d.ts +0 -2
  34. package/types/esm/constants/sdk-version.d.ts +1 -1
  35. package/types/esm/functions/get-content/index.d.ts +0 -10
  36. package/types/esm/functions/get-content/types.d.ts +0 -11
  37. package/types/esm/functions/register-component.d.ts +0 -9
  38. package/types/esm/index-helpers/blocks-exports.d.ts +0 -8
  39. package/types/esm/server-index.d.ts +1 -1
  40. package/lib/browser/bundle-44e64ae0.cjs +0 -168
  41. package/lib/edge/bundle-aa7b9a16.cjs +0 -188
@@ -1,9 +1,9 @@
1
- import { LRUCache as to } from "lru-cache";
2
- import { jsx as C, Fragment as _, jsxs as xe } from "react/jsx-runtime";
3
- import { I as no, B as ro, a as oo, D as io, C as ao, E as so, b as lo, V as co, c as uo, F as fo, d as po, S as ho, e as mo } from "./USE_CLIENT_BUNDLE-6fd05768.js";
1
+ import { jsx as C, Fragment as W, jsxs as xe } from "react/jsx-runtime";
4
2
  import "react";
3
+ import { I as Zr, B as Qr, a as eo, D as to, C as no, E as ro, b as oo, V as io, c as ao, F as so, d as lo, S as co, e as uo } from "./USE_CLIENT_BUNDLE-eea569d0.js";
4
+ import { LRUCache as fo } from "lru-cache";
5
5
  import "next/navigation";
6
- const go = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), _a = (e) => typeof e == "string" && go.has(e.toLowerCase()), he = "rsc", Xt = () => {
6
+ const po = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), La = (e) => typeof e == "string" && po.has(e.toLowerCase()), he = "rsc", Gt = () => {
7
7
  switch (he) {
8
8
  case "react":
9
9
  case "reactNative":
@@ -16,7 +16,7 @@ const go = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr",
16
16
  return "class";
17
17
  }
18
18
  };
19
- function yo(e) {
19
+ function ho(e) {
20
20
  var t;
21
21
  return {
22
22
  ...(t = e.component) == null ? void 0 : t.options,
@@ -27,29 +27,29 @@ function yo(e) {
27
27
  builderBlock: e
28
28
  };
29
29
  }
30
- const at = "[Builder.io]: ", J = {
30
+ const at = "[Builder.io]: ", Y = {
31
31
  log: (...e) => console.log(at, ...e),
32
32
  error: (...e) => console.error(at, ...e),
33
33
  warn: (...e) => console.warn(at, ...e),
34
34
  debug: (...e) => console.debug(at, ...e)
35
35
  };
36
- function G() {
36
+ function X() {
37
37
  return typeof window < "u" && typeof document < "u";
38
38
  }
39
- function vo() {
40
- return G() && window.self !== window.top;
39
+ function mo() {
40
+ return X() && window.self !== window.top;
41
41
  }
42
- function Jt() {
43
- return vo() && window.location.search.indexOf("builder.frameEditing=") !== -1;
42
+ function Xt() {
43
+ return mo() && window.location.search.indexOf("builder.frameEditing=") !== -1;
44
44
  }
45
- const bo = () => {
46
- if (G()) {
45
+ const go = () => {
46
+ if (X()) {
47
47
  const e = new URL(location.href);
48
48
  return e.pathname === "" && (e.pathname = "/"), e;
49
49
  } else
50
50
  return console.warn("Cannot get location for tracking in non-browser environment"), null;
51
- }, So = () => typeof navigator == "object" && navigator.userAgent || "", lr = () => {
52
- const e = So(), t = {
51
+ }, yo = () => typeof navigator == "object" && navigator.userAgent || "", ar = () => {
52
+ const e = yo(), t = {
53
53
  Android() {
54
54
  return e.match(/Android/i);
55
55
  },
@@ -68,13 +68,13 @@ const bo = () => {
68
68
  any() {
69
69
  return t.Android() || t.BlackBerry() || t.iOS() || t.Opera() || t.Windows() || he === "reactNative";
70
70
  }
71
- }, n = e.match(/Tablet|iPad/i), r = bo();
71
+ }, n = e.match(/Tablet|iPad/i), r = go();
72
72
  return {
73
73
  urlPath: r == null ? void 0 : r.pathname,
74
74
  host: (r == null ? void 0 : r.host) || (r == null ? void 0 : r.hostname),
75
75
  device: n ? "tablet" : t.any() ? "mobile" : "desktop"
76
76
  };
77
- }, cr = ({
77
+ }, sr = ({
78
78
  builder: e,
79
79
  context: t,
80
80
  event: n,
@@ -86,14 +86,14 @@ const bo = () => {
86
86
  builder: e,
87
87
  context: t,
88
88
  event: n
89
- }), wo = () => ({
90
- isEditing: Jt(),
91
- isBrowser: G(),
92
- isServer: !G(),
93
- getUserAttributes: () => lr()
94
- }), xo = (e, {
89
+ }), vo = () => ({
90
+ isEditing: Xt(),
91
+ isBrowser: X(),
92
+ isServer: !X(),
93
+ getUserAttributes: () => ar()
94
+ }), bo = (e, {
95
95
  isExpression: t = !0
96
- }) => /* 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, ko = ({
96
+ }) => /* 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, So = ({
97
97
  code: e,
98
98
  builder: t,
99
99
  context: n,
@@ -102,11 +102,11 @@ const bo = () => {
102
102
  rootSetState: i,
103
103
  rootState: s
104
104
  }) => {
105
- const u = cr({
105
+ const u = sr({
106
106
  builder: t,
107
107
  context: n,
108
108
  event: r,
109
- state: ur({
109
+ state: lr({
110
110
  rootState: s,
111
111
  localState: o,
112
112
  rootSetState: i
@@ -114,7 +114,7 @@ const bo = () => {
114
114
  });
115
115
  return new Function(...u.map(([d]) => d), e)(...u.map(([, d]) => d));
116
116
  };
117
- function ur({
117
+ function lr({
118
118
  rootState: e,
119
119
  localState: t,
120
120
  rootSetState: n
@@ -124,7 +124,7 @@ function ur({
124
124
  if (t && o in t)
125
125
  return t[o];
126
126
  const i = r[o];
127
- return typeof i == "object" ? ur({
127
+ return typeof i == "object" ? lr({
128
128
  rootState: i,
129
129
  localState: void 0,
130
130
  rootSetState: n ? (s) => {
@@ -139,25 +139,25 @@ function ur({
139
139
  }
140
140
  });
141
141
  }
142
- const fr = (e, t, n) => {
142
+ const cr = (e, t, n) => {
143
143
  if (Object(e) !== e)
144
144
  return e;
145
145
  const r = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
146
146
  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;
147
147
  };
148
- var N, Co = function(e) {
148
+ var B, wo = function(e) {
149
149
  function t(a) {
150
- 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));
150
+ return 48 > a ? a === 36 : 58 > a ? !0 : 65 > a ? !1 : 91 > a ? !0 : 97 > a ? a === 95 : 123 > a ? !0 : 170 <= a && zr.test(String.fromCharCode(a));
151
151
  }
152
152
  function n(a) {
153
- return 65 > a ? a === 36 : 91 > a ? !0 : 97 > a ? a === 95 : 123 > a ? !0 : 170 <= a && _n.test(String.fromCharCode(a));
153
+ return 65 > a ? a === 36 : 91 > a ? !0 : 97 > a ? a === 95 : 123 > a ? !0 : 170 <= a && Ln.test(String.fromCharCode(a));
154
154
  }
155
155
  function r(a, l) {
156
- for (var c = g, p = 1, T = 0; ; ) {
156
+ for (var c = m, p = 1, T = 0; ; ) {
157
157
  it.lastIndex = T;
158
- var L = it.exec(c);
159
- if (L && L.index < a)
160
- ++p, T = L.index + L[0].length;
158
+ var _ = it.exec(c);
159
+ if (_ && _.index < a)
160
+ ++p, T = _.index + _[0].length;
161
161
  else
162
162
  break;
163
163
  }
@@ -178,39 +178,39 @@ var N, Co = function(e) {
178
178
  this.line = Se, this.ab = f - se;
179
179
  }
180
180
  function s(a, l) {
181
- Ce = f, O.C && (Et = new i()), I = a, d(), Q = l, Fe = a.m;
181
+ Ce = f, O.C && (Ct = new i()), I = a, d(), te = l, Fe = a.m;
182
182
  }
183
183
  function u() {
184
- 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; )
185
- ++f, c = g.charCodeAt(f);
186
- O.va && O.va(!1, g.slice(a + 2, f), a, f, l, O.C && new i());
184
+ 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; )
185
+ ++f, c = m.charCodeAt(f);
186
+ O.va && O.va(!1, m.slice(a + 2, f), a, f, l, O.C && new i());
187
187
  }
188
188
  function d() {
189
189
  for (; f < ke; ) {
190
- var a = g.charCodeAt(f);
190
+ var a = m.charCodeAt(f);
191
191
  if (a === 32)
192
192
  ++f;
193
193
  else if (a === 13)
194
- ++f, a = g.charCodeAt(f), a === 10 && ++f, O.C && (++Se, se = f);
194
+ ++f, a = m.charCodeAt(f), a === 10 && ++f, O.C && (++Se, se = f);
195
195
  else if (a === 10 || a === 8232 || a === 8233)
196
196
  ++f, O.C && (++Se, se = f);
197
197
  else if (8 < a && 14 > a)
198
198
  ++f;
199
199
  else if (a === 47)
200
- if (a = g.charCodeAt(f + 1), a === 42) {
200
+ if (a = m.charCodeAt(f + 1), a === 42) {
201
201
  a = void 0;
202
- var l = O.va && O.C && new i(), c = f, p = g.indexOf("*/", f += 2);
202
+ var l = O.va && O.C && new i(), c = f, p = m.indexOf("*/", f += 2);
203
203
  if (p === -1 && r(f - 2, "Unterminated comment"), f = p + 2, O.C)
204
- for (it.lastIndex = c; (a = it.exec(g)) && a.index < f; )
204
+ for (it.lastIndex = c; (a = it.exec(m)) && a.index < f; )
205
205
  ++Se, se = a.index + a[0].length;
206
- O.va && O.va(!0, g.slice(c + 2, p), c, f, l, O.C && new i());
206
+ O.va && O.va(!0, m.slice(c + 2, p), c, f, l, O.C && new i());
207
207
  } else if (a === 47)
208
208
  u();
209
209
  else
210
210
  break;
211
211
  else if (a === 160)
212
212
  ++f;
213
- else if (5760 <= a && Zr.test(String.fromCharCode(a)))
213
+ else if (5760 <= a && Jr.test(String.fromCharCode(a)))
214
214
  ++f;
215
215
  else
216
216
  break;
@@ -219,7 +219,7 @@ var N, Co = function(e) {
219
219
  function k(a) {
220
220
  switch (a) {
221
221
  case 46:
222
- a = g.charCodeAt(f + 1), 48 <= a && 57 >= a ? v(!0) : (++f, s(Nn));
222
+ a = m.charCodeAt(f + 1), 48 <= a && 57 >= a ? v(!0) : (++f, s(Pn));
223
223
  return;
224
224
  case 40:
225
225
  return ++f, s(le);
@@ -230,9 +230,9 @@ var N, Co = function(e) {
230
230
  case 44:
231
231
  return ++f, s(ye);
232
232
  case 91:
233
- return ++f, s(Ut);
233
+ return ++f, s(Bt);
234
234
  case 93:
235
- return ++f, s(Ft);
235
+ return ++f, s(Ut);
236
236
  case 123:
237
237
  return ++f, s(Ve);
238
238
  case 125:
@@ -240,10 +240,10 @@ var N, Co = function(e) {
240
240
  case 58:
241
241
  return ++f, s(Le);
242
242
  case 63:
243
- return ++f, s(Bn);
243
+ return ++f, s(Nn);
244
244
  case 48:
245
- if (a = g.charCodeAt(f + 1), a === 120 || a === 88) {
246
- f += 2, a = j(16), a === null && r(V + 2, "Expected hexadecimal number"), n(g.charCodeAt(f)) && r(f, "Identifier directly after number"), s(De, a);
245
+ if (a = m.charCodeAt(f + 1), a === 120 || a === 88) {
246
+ f += 2, a = j(16), a === null && r(L + 2, "Expected hexadecimal number"), n(m.charCodeAt(f)) && r(f, "Identifier directly after number"), s(De, a);
247
247
  return;
248
248
  }
249
249
  case 49:
@@ -260,15 +260,15 @@ var N, Co = function(e) {
260
260
  case 39:
261
261
  f++;
262
262
  for (var l = ""; ; ) {
263
- f >= ke && r(V, "Unterminated string constant");
264
- var c = g.charCodeAt(f);
263
+ f >= ke && r(L, "Unterminated string constant");
264
+ var c = m.charCodeAt(f);
265
265
  if (c === a) {
266
266
  ++f, s(tt, l);
267
267
  break;
268
268
  }
269
269
  if (c === 92) {
270
- c = g.charCodeAt(++f);
271
- var p = /^[0-7]+/.exec(g.slice(f, f + 3));
270
+ c = m.charCodeAt(++f);
271
+ var p = /^[0-7]+/.exec(m.slice(f, f + 3));
272
272
  for (p && (p = p[0]); p && 255 < parseInt(p, 8); )
273
273
  p = p.slice(0, -1);
274
274
  if (p === "0" && (p = null), ++f, p)
@@ -283,13 +283,13 @@ var N, Co = function(e) {
283
283
  l += "\r";
284
284
  break;
285
285
  case 120:
286
- l += String.fromCharCode(x(2));
286
+ l += String.fromCharCode(w(2));
287
287
  break;
288
288
  case 117:
289
- l += String.fromCharCode(x(4));
289
+ l += String.fromCharCode(w(4));
290
290
  break;
291
291
  case 85:
292
- l += String.fromCharCode(x(8));
292
+ l += String.fromCharCode(w(8));
293
293
  break;
294
294
  case 116:
295
295
  l += " ";
@@ -307,7 +307,7 @@ var N, Co = function(e) {
307
307
  l += "\0";
308
308
  break;
309
309
  case 13:
310
- g.charCodeAt(f) === 10 && ++f;
310
+ m.charCodeAt(f) === 10 && ++f;
311
311
  case 10:
312
312
  O.C && (se = f, ++Se);
313
313
  break;
@@ -315,61 +315,61 @@ var N, Co = function(e) {
315
315
  l += String.fromCharCode(c);
316
316
  }
317
317
  } else
318
- c !== 13 && c !== 10 && c !== 8232 && c !== 8233 || r(V, "Unterminated string constant"), l += String.fromCharCode(c), ++f;
318
+ c !== 13 && c !== 10 && c !== 8232 && c !== 8233 || r(L, "Unterminated string constant"), l += String.fromCharCode(c), ++f;
319
319
  }
320
320
  return;
321
321
  case 47:
322
- a = g.charCodeAt(f + 1), Fe ? (++f, P()) : a === 61 ? S(we, 2) : S(Un, 1);
322
+ a = m.charCodeAt(f + 1), Fe ? (++f, R()) : a === 61 ? y(we, 2) : y(Bn, 1);
323
323
  return;
324
324
  case 37:
325
325
  case 42:
326
- g.charCodeAt(f + 1) === 61 ? S(we, 2) : S(Yr, 1);
326
+ m.charCodeAt(f + 1) === 61 ? y(we, 2) : y(Gr, 1);
327
327
  return;
328
328
  case 124:
329
329
  case 38:
330
- l = g.charCodeAt(f + 1), l === a ? S(a === 124 ? Dn : Vn, 2) : l === 61 ? S(we, 2) : S(a === 124 ? Wr : Hr, 1);
330
+ l = m.charCodeAt(f + 1), l === a ? y(a === 124 ? Mn : Dn, 2) : l === 61 ? y(we, 2) : y(a === 124 ? Vr : _r, 1);
331
331
  return;
332
332
  case 94:
333
- g.charCodeAt(f + 1) === 61 ? S(we, 2) : S($r, 1);
333
+ m.charCodeAt(f + 1) === 61 ? y(we, 2) : y(Lr, 1);
334
334
  return;
335
335
  case 43:
336
336
  case 45:
337
- l = g.charCodeAt(f + 1), l === a ? l === 45 && g.charCodeAt(f + 2) === 62 && ot.test(g.slice(ge, f)) ? (f += 3, u(), d(), E()) : S(_r, 2) : l === 61 ? S(we, 2) : S(Jr, 1);
337
+ 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(Dr, 2) : l === 61 ? y(we, 2) : y(Kr, 1);
338
338
  return;
339
339
  case 60:
340
340
  case 62:
341
- l = g.charCodeAt(f + 1), c = 1, l === a ? (c = a === 62 && g.charCodeAt(f + 2) === 62 ? 3 : 2, g.charCodeAt(f + c) === 61 ? S(we, c + 1) : S(Xr, c)) : l === 33 && a === 60 && g.charCodeAt(f + 2) === 45 && g.charCodeAt(f + 3) === 45 ? (f += 4, u(), d(), E()) : (l === 61 && (c = g.charCodeAt(f + 2) === 61 ? 3 : 2), S(Gr, c));
341
+ 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(Hr, 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($r, c));
342
342
  return;
343
343
  case 61:
344
344
  case 33:
345
- g.charCodeAt(f + 1) === 61 ? S(Kr, g.charCodeAt(f + 2) === 61 ? 3 : 2) : S(a === 61 ? Fn : Mn, 1);
345
+ m.charCodeAt(f + 1) === 61 ? y(Wr, m.charCodeAt(f + 2) === 61 ? 3 : 2) : y(a === 61 ? Un : Fn, 1);
346
346
  return;
347
347
  case 126:
348
- return S(Mn, 1);
348
+ return y(Fn, 1);
349
349
  }
350
350
  return !1;
351
351
  }
352
352
  function E(a) {
353
- if (a ? f = V + 1 : V = f, O.C && (Ct = new i()), a)
354
- return P();
353
+ if (a ? f = L + 1 : L = f, O.C && (kt = new i()), a)
354
+ return R();
355
355
  if (f >= ke)
356
- return s(At);
357
- if (a = g.charCodeAt(f), n(a) || a === 92)
358
- return $();
356
+ return s(Tt);
357
+ if (a = m.charCodeAt(f), n(a) || a === 92)
358
+ return N();
359
359
  if (k(a) === !1) {
360
- if (a = String.fromCharCode(a), a === "\\" || _n.test(a))
361
- return $();
360
+ if (a = String.fromCharCode(a), a === "\\" || Ln.test(a))
361
+ return N();
362
362
  r(f, "Unexpected character '" + a + "'");
363
363
  }
364
364
  }
365
- function S(a, l) {
366
- var c = g.slice(f, f + l);
365
+ function y(a, l) {
366
+ var c = m.slice(f, f + l);
367
367
  f += l, s(a, c);
368
368
  }
369
- function P() {
369
+ function R() {
370
370
  for (var a, l, c = f; ; ) {
371
371
  f >= ke && r(c, "Unterminated regexp");
372
- var p = g.charAt(f);
372
+ var p = m.charAt(f);
373
373
  if (ot.test(p) && r(c, "Unterminated regexp"), a)
374
374
  a = !1;
375
375
  else {
@@ -383,323 +383,323 @@ var N, Co = function(e) {
383
383
  }
384
384
  ++f;
385
385
  }
386
- a = g.slice(c, f), ++f, (l = B()) && !/^[gmi]*$/.test(l) && r(c, "Invalid regexp flag");
386
+ a = m.slice(c, f), ++f, (l = U()) && !/^[gmi]*$/.test(l) && r(c, "Invalid regexp flag");
387
387
  try {
388
388
  var T = new RegExp(a, l);
389
- } catch (L) {
390
- throw L instanceof SyntaxError && r(c, L.message), L;
389
+ } catch (_) {
390
+ throw _ instanceof SyntaxError && r(c, _.message), _;
391
391
  }
392
- s(hn, T);
392
+ s(dn, T);
393
393
  }
394
394
  function j(a, l) {
395
- for (var c = f, p = 0, T = l === void 0 ? 1 / 0 : l, L = 0; L < T; ++L) {
396
- var Y = g.charCodeAt(f);
397
- if (Y = 97 <= Y ? Y - 97 + 10 : 65 <= Y ? Y - 65 + 10 : 48 <= Y && 57 >= Y ? Y - 48 : 1 / 0, Y >= a)
395
+ for (var c = f, p = 0, T = l === void 0 ? 1 / 0 : l, _ = 0; _ < T; ++_) {
396
+ var J = m.charCodeAt(f);
397
+ if (J = 97 <= J ? J - 97 + 10 : 65 <= J ? J - 65 + 10 : 48 <= J && 57 >= J ? J - 48 : 1 / 0, J >= a)
398
398
  break;
399
- ++f, p = p * a + Y;
399
+ ++f, p = p * a + J;
400
400
  }
401
401
  return f === c || l !== void 0 && f - c !== l ? null : p;
402
402
  }
403
403
  function v(a) {
404
- var l = f, c = !1, p = g.charCodeAt(f) === 48;
405
- a || j(10) !== null || r(l, "Invalid number"), g.charCodeAt(f) === 46 && (++f, j(10), c = !0), a = g.charCodeAt(f), (a === 69 || a === 101) && (a = g.charCodeAt(++f), a !== 43 && a !== 45 || ++f, j(10) === null && r(l, "Invalid number"), c = !0), n(g.charCodeAt(f)) && r(f, "Identifier directly after number"), a = g.slice(l, f);
404
+ var l = f, c = !1, p = m.charCodeAt(f) === 48;
405
+ 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);
406
406
  var T;
407
407
  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);
408
408
  }
409
- function x(a) {
410
- return a = j(16, a), a === null && r(V, "Bad character escape sequence"), a;
409
+ function w(a) {
410
+ return a = j(16, a), a === null && r(L, "Bad character escape sequence"), a;
411
411
  }
412
- function B() {
412
+ function U() {
413
413
  Te = !1;
414
414
  for (var a, l = !0, c = f; ; ) {
415
- var p = g.charCodeAt(f);
415
+ var p = m.charCodeAt(f);
416
416
  if (t(p))
417
- Te && (a += g.charAt(f)), ++f;
417
+ Te && (a += m.charAt(f)), ++f;
418
418
  else if (p === 92) {
419
- Te || (a = g.slice(c, f)), Te = !0, g.charCodeAt(++f) !== 117 && r(f, "Expecting Unicode escape sequence \\uXXXX"), ++f, p = x(4);
419
+ Te || (a = m.slice(c, f)), Te = !0, m.charCodeAt(++f) !== 117 && r(f, "Expecting Unicode escape sequence \\uXXXX"), ++f, p = w(4);
420
420
  var T = String.fromCharCode(p);
421
421
  T || r(f - 1, "Invalid Unicode escape"), (l ? n(p) : t(p)) || r(f - 4, "Invalid Unicode escape"), a += T;
422
422
  } else
423
423
  break;
424
424
  l = !1;
425
425
  }
426
- return Te ? a : g.slice(c, f);
426
+ return Te ? a : m.slice(c, f);
427
427
  }
428
- function $() {
429
- var a = B(), l = Ee;
430
- !Te && qr(a) && (l = Lr[a]), s(l, a);
428
+ function N() {
429
+ var a = U(), l = Ee;
430
+ !Te && Yr(a) && (l = Mr[a]), s(l, a);
431
431
  }
432
- function m() {
433
- It = V, ge = Ce, Tt = Et, E();
432
+ function x() {
433
+ Et = L, ge = Ce, It = Ct, E();
434
434
  }
435
- function ee(a) {
436
- if (Z = a, f = V, O.C)
435
+ function Q(a) {
436
+ if (Z = a, f = L, O.C)
437
437
  for (; f < se; )
438
- se = g.lastIndexOf(`
438
+ se = m.lastIndexOf(`
439
439
  `, se - 2) + 1, --Se;
440
440
  d(), E();
441
441
  }
442
- function te() {
443
- this.type = null, this.start = V, this.end = null;
442
+ function H() {
443
+ this.type = null, this.start = L, this.end = null;
444
444
  }
445
- function X() {
446
- this.start = Ct, this.end = null, kt && (this.source = kt);
445
+ function ee() {
446
+ this.start = kt, this.end = null, xt && (this.source = xt);
447
447
  }
448
- function U() {
449
- var a = new te();
450
- return O.C && (a.X = new X()), O.vb && (a.sourceFile = O.vb), O.Xa && (a.j = [V, 0]), a;
448
+ function M() {
449
+ var a = new H();
450
+ return O.C && (a.X = new ee()), O.vb && (a.sourceFile = O.vb), O.Xa && (a.j = [L, 0]), a;
451
451
  }
452
452
  function me(a) {
453
- var l = new te();
454
- return l.start = a.start, O.C && (l.X = new X(), l.X.start = a.X.start), O.Xa && (l.j = [a.j[0], 0]), l;
453
+ var l = new H();
454
+ 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;
455
455
  }
456
456
  function A(a, l) {
457
- return a.type = l, a.end = ge, O.C && (a.X.end = Tt), O.Xa && (a.j[1] = ge), a;
457
+ return a.type = l, a.end = ge, O.C && (a.X.end = It), O.Xa && (a.j[1] = ge), a;
458
458
  }
459
- function gt(a) {
459
+ function mt(a) {
460
460
  return a.type === "ExpressionStatement" && a.la.type === "Literal" && a.la.value === "use strict";
461
461
  }
462
462
  function F(a) {
463
- return I === a ? (m(), !0) : !1;
463
+ return I === a ? (x(), !0) : !1;
464
464
  }
465
465
  function Ze() {
466
- return !O.fc && (I === At || I === Ie || ot.test(g.slice(ge, V)));
466
+ return !O.fc && (I === Tt || I === Ie || ot.test(m.slice(ge, L)));
467
467
  }
468
468
  function be() {
469
469
  F(ce) || Ze() || ie();
470
470
  }
471
- function M(a) {
472
- I === a ? m() : ie();
471
+ function D(a) {
472
+ I === a ? x() : ie();
473
473
  }
474
474
  function ie() {
475
- r(V, "Unexpected token");
475
+ r(L, "Unexpected token");
476
476
  }
477
477
  function Qe(a) {
478
478
  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");
479
479
  }
480
480
  function ne() {
481
- (I === Un || I === we && Q === "/=") && E(!0);
482
- var a = I, l = U();
481
+ (I === Bn || I === we && te === "/=") && E(!0);
482
+ var a = I, l = M();
483
483
  switch (a) {
484
- case Ot:
485
- case gn:
486
- m();
487
- var c = a === Ot;
484
+ case At:
485
+ case mn:
486
+ x();
487
+ var c = a === At;
488
488
  F(ce) || Ze() ? l.label = null : I !== Ee ? ie() : (l.label = ae(), be());
489
- for (var p = 0; p < D.length; ++p) {
490
- var T = D[p];
489
+ for (var p = 0; p < V.length; ++p) {
490
+ var T = V[p];
491
491
  if ((l.label === null || T.name === l.label.name) && (T.kind !== null && (c || T.kind === "loop") || l.label && c))
492
492
  break;
493
493
  }
494
- return p === D.length && r(l.start, "Unsyntactic " + a.l), A(l, c ? "BreakStatement" : "ContinueStatement");
495
- case yn:
496
- return m(), be(), A(l, "DebuggerStatement");
497
- case bn:
498
- return m(), D.push(Mt), l.body = ne(), D.pop(), M(Bt), l.test = Ne(), be(), A(l, "DoWhileStatement");
494
+ return p === V.length && r(l.start, "Unsyntactic " + a.l), A(l, c ? "BreakStatement" : "ContinueStatement");
495
+ case gn:
496
+ return x(), be(), A(l, "DebuggerStatement");
497
+ case vn:
498
+ return x(), V.push(Ft), l.body = ne(), V.pop(), D(Nt), l.test = Ne(), be(), A(l, "DoWhileStatement");
499
+ case wn:
500
+ return x(), V.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));
501
+ case jt:
502
+ return x(), St(l, !0);
499
503
  case xn:
500
- return m(), D.push(Mt), M(le), I === ce ? yt(l, null) : I === Nt ? (a = U(), m(), pn(a, !0), A(a, "VariableDeclaration"), a.fa.length === 1 && F(nt) ? fn(l, a) : yt(l, a)) : (a = K(!1, !0), F(nt) ? (Qe(a), fn(l, a)) : yt(l, a));
501
- case Rt:
502
- return m(), wt(l, !0);
504
+ return x(), l.test = Ne(), l.da = ne(), l.alternate = F(bn) ? ne() : null, A(l, "IfStatement");
503
505
  case kn:
504
- return m(), l.test = Ne(), l.da = ne(), l.alternate = F(Sn) ? ne() : null, A(l, "IfStatement");
506
+ return Me || O.Ib || r(L, "'return' outside of function"), x(), F(ce) || Ze() ? l.K = null : (l.K = G(), be()), A(l, "ReturnStatement");
507
+ case Rt:
508
+ for (x(), l.Qb = Ne(), l.tb = [], D(Ve), V.push(qr); I !== Ie; )
509
+ 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(Le)) : (p || ie(), p.da.push(ne()));
510
+ return p && A(p, "SwitchCase"), x(), V.pop(), A(l, "SwitchStatement");
505
511
  case Cn:
506
- return Me || O.Ib || r(V, "'return' outside of function"), m(), F(ce) || Ze() ? l.K = null : (l.K = K(), be()), A(l, "ReturnStatement");
507
- case Pt:
508
- for (m(), l.Qb = Ne(), l.tb = [], M(Ve), D.push(eo); I !== Ie; )
509
- I === jt || I === vn ? (a = I === jt, p && A(p, "SwitchCase"), l.tb.push(p = U()), p.da = [], m(), a ? p.test = K() : (c && r(It, "Multiple default clauses"), c = !0, p.test = null), M(Le)) : (p || ie(), p.da.push(ne()));
510
- return p && A(p, "SwitchCase"), m(), D.pop(), A(l, "SwitchStatement");
512
+ return x(), ot.test(m.slice(ge, L)) && r(ge, "Illegal newline after throw"), l.K = G(), be(), A(l, "ThrowStatement");
511
513
  case En:
512
- return m(), ot.test(g.slice(ge, V)) && r(ge, "Illegal newline after throw"), l.K = K(), be(), A(l, "ThrowStatement");
513
- case In:
514
- return m(), l.block = Be(), l.Ea = null, I === mn && (a = U(), m(), M(le), a.Ua = ae(), Z && rt(a.Ua.name) && r(a.Ua.start, "Binding " + a.Ua.name + " in strict mode"), M(re), a.body = Be(), l.Ea = A(a, "CatchClause")), l.fb = F(wn) ? Be() : null, l.Ea || l.fb || r(l.start, "Missing catch or finally clause"), A(l, "TryStatement");
514
+ 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");
515
+ case Pt:
516
+ return x(), fn(l), be(), A(l, "VariableDeclaration");
515
517
  case Nt:
516
- return m(), pn(l), be(), A(l, "VariableDeclaration");
517
- case Bt:
518
- return m(), l.test = Ne(), D.push(Mt), l.body = ne(), D.pop(), A(l, "WhileStatement");
519
- case Tn:
520
- return Z && r(V, "'with' in strict mode"), m(), l.object = Ne(), l.body = ne(), A(l, "WithStatement");
518
+ return x(), l.test = Ne(), V.push(Ft), l.body = ne(), V.pop(), A(l, "WhileStatement");
519
+ case In:
520
+ return Z && r(L, "'with' in strict mode"), x(), l.object = Ne(), l.body = ne(), A(l, "WithStatement");
521
521
  case Ve:
522
522
  return Be();
523
523
  case ce:
524
- return m(), A(l, "EmptyStatement");
524
+ return x(), A(l, "EmptyStatement");
525
525
  default:
526
- if (c = Q, T = K(), a === Ee && T.type === "Identifier" && F(Le)) {
527
- for (p = 0; p < D.length; ++p)
528
- D[p].name === c && r(T.start, "Label '" + c + "' is already declared");
529
- return D.push({
526
+ if (c = te, T = G(), a === Ee && T.type === "Identifier" && F(Le)) {
527
+ for (p = 0; p < V.length; ++p)
528
+ V[p].name === c && r(T.start, "Label '" + c + "' is already declared");
529
+ return V.push({
530
530
  name: c,
531
- kind: I.W ? "loop" : I === Pt ? "switch" : null
532
- }), l.body = ne(), D.pop(), l.label = T, A(l, "LabeledStatement");
531
+ kind: I.W ? "loop" : I === Rt ? "switch" : null
532
+ }), l.body = ne(), V.pop(), l.label = T, A(l, "LabeledStatement");
533
533
  }
534
534
  return l.la = T, be(), A(l, "ExpressionStatement");
535
535
  }
536
536
  }
537
537
  function Ne() {
538
- M(le);
539
- var a = K();
540
- return M(re), a;
538
+ D(le);
539
+ var a = G();
540
+ return D(re), a;
541
541
  }
542
542
  function Be(a) {
543
- var l = U(), c = !0, p = !1;
544
- for (l.body = [], M(Ve); !F(Ie); ) {
543
+ var l = M(), c = !0, p = !1;
544
+ for (l.body = [], D(Ve); !F(Ie); ) {
545
545
  var T = ne();
546
- if (l.body.push(T), c && a && gt(T)) {
547
- var L = p;
548
- ee(p = !0);
546
+ if (l.body.push(T), c && a && mt(T)) {
547
+ var _ = p;
548
+ Q(p = !0);
549
549
  }
550
550
  c = !1;
551
551
  }
552
- return p && !L && ee(!1), A(l, "BlockStatement");
552
+ return p && !_ && Q(!1), A(l, "BlockStatement");
553
553
  }
554
- function yt(a, l) {
555
- return a.ua = l, M(ce), a.test = I === ce ? null : K(), M(ce), a.update = I === re ? null : K(), M(re), a.body = ne(), D.pop(), A(a, "ForStatement");
554
+ function gt(a, l) {
555
+ 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(), V.pop(), A(a, "ForStatement");
556
556
  }
557
- function fn(a, l) {
558
- return a.left = l, a.right = K(), M(re), a.body = ne(), D.pop(), A(a, "ForInStatement");
557
+ function un(a, l) {
558
+ return a.left = l, a.right = G(), D(re), a.body = ne(), V.pop(), A(a, "ForInStatement");
559
559
  }
560
- function pn(a, l) {
560
+ function fn(a, l) {
561
561
  for (a.fa = [], a.kind = "var"; ; ) {
562
- var c = U();
563
- if (c.id = ae(), Z && rt(c.id.name) && r(c.id.start, "Binding " + c.id.name + " in strict mode"), c.ua = F(Fn) ? K(!0, l) : null, a.fa.push(A(c, "VariableDeclarator")), !F(ye))
562
+ var c = M();
563
+ 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))
564
564
  break;
565
565
  }
566
566
  }
567
- function K(a, l) {
568
- var c = vt(l);
567
+ function G(a, l) {
568
+ var c = yt(l);
569
569
  if (!a && I === ye) {
570
570
  for (a = me(c), a.xb = [c]; F(ye); )
571
- a.xb.push(vt(l));
571
+ a.xb.push(yt(l));
572
572
  return A(a, "SequenceExpression");
573
573
  }
574
574
  return c;
575
575
  }
576
- function vt(a) {
577
- var l = bt(St(), -1, a);
578
- if (F(Bn)) {
576
+ function yt(a) {
577
+ var l = vt(bt(), -1, a);
578
+ if (F(Nn)) {
579
579
  var c = me(l);
580
- c.test = l, c.da = K(!0), M(Le), c.alternate = K(!0, a), l = A(c, "ConditionalExpression");
580
+ c.test = l, c.da = G(!0), D(Le), c.alternate = G(!0, a), l = A(c, "ConditionalExpression");
581
581
  }
582
- return I.Cb ? (c = me(l), c.operator = Q, c.left = l, m(), c.right = vt(a), Qe(l), A(c, "AssignmentExpression")) : l;
582
+ return I.Cb ? (c = me(l), c.operator = te, c.left = l, x(), c.right = yt(a), Qe(l), A(c, "AssignmentExpression")) : l;
583
583
  }
584
- function bt(a, l, c) {
584
+ function vt(a, l, c) {
585
585
  var p = I.L;
586
586
  if (p !== null && (!c || I !== nt) && p > l) {
587
587
  var T = me(a);
588
- return T.left = a, T.operator = Q, a = I, m(), T.right = bt(St(), p, c), p = A(T, a === Dn || a === Vn ? "LogicalExpression" : "BinaryExpression"), bt(p, l, c);
588
+ 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);
589
589
  }
590
590
  return a;
591
591
  }
592
- function St() {
592
+ function bt() {
593
593
  if (I.prefix) {
594
- var a = U(), l = I.$b;
595
- return a.operator = Q, Fe = a.prefix = !0, m(), a.K = St(), 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");
594
+ var a = M(), l = I.$b;
595
+ 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");
596
596
  }
597
597
  for (l = Ue(et()); I.cc && !Ze(); )
598
- a = me(l), a.operator = Q, a.prefix = !1, a.K = l, Qe(l), m(), l = A(a, "UpdateExpression");
598
+ a = me(l), a.operator = te, a.prefix = !1, a.K = l, Qe(l), x(), l = A(a, "UpdateExpression");
599
599
  return l;
600
600
  }
601
601
  function Ue(a, l) {
602
- if (F(Nn)) {
602
+ if (F(Pn)) {
603
603
  var c = me(a);
604
604
  return c.object = a, c.Wa = ae(!0), c.bb = !1, Ue(A(c, "MemberExpression"), l);
605
605
  }
606
- return F(Ut) ? (c = me(a), c.object = a, c.Wa = K(), c.bb = !0, M(Ft), Ue(A(c, "MemberExpression"), l)) : !l && F(le) ? (c = me(a), c.callee = a, c.arguments = xt(re, !1), Ue(A(c, "CallExpression"), l)) : a;
606
+ 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;
607
607
  }
608
608
  function et() {
609
609
  switch (I) {
610
- case On:
611
- var a = U();
612
- return m(), A(a, "ThisExpression");
610
+ case An:
611
+ var a = M();
612
+ return x(), A(a, "ThisExpression");
613
613
  case Ee:
614
614
  return ae();
615
615
  case De:
616
616
  case tt:
617
- case hn:
618
- return a = U(), a.value = Q, a.raw = g.slice(V, Ce), m(), A(a, "Literal");
617
+ case dn:
618
+ return a = M(), a.value = te, a.raw = m.slice(L, Ce), x(), A(a, "Literal");
619
+ case On:
619
620
  case jn:
620
621
  case Rn:
621
- case Pn:
622
- return a = U(), a.value = I.$a, a.raw = I.l, m(), A(a, "Literal");
622
+ return a = M(), a.value = I.$a, a.raw = I.l, x(), A(a, "Literal");
623
623
  case le:
624
- a = Ct;
625
- var l = V;
626
- m();
627
- var c = K();
628
- return c.start = l, c.end = Ce, O.C && (c.X.start = a, c.X.end = Et), O.Xa && (c.j = [l, Ce]), M(re), c;
629
- case Ut:
630
- return a = U(), m(), a.elements = xt(Ft, !0, !0), A(a, "ArrayExpression");
624
+ a = kt;
625
+ var l = L;
626
+ x();
627
+ var c = G();
628
+ 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;
629
+ case Bt:
630
+ return a = M(), x(), a.elements = wt(Ut, !0, !0), A(a, "ArrayExpression");
631
631
  case Ve:
632
- for (a = U(), l = !0, c = !1, a.h = [], m(); !F(Ie); ) {
632
+ for (a = M(), l = !0, c = !1, a.h = [], x(); !F(Ie); ) {
633
633
  if (l)
634
634
  l = !1;
635
- else if (M(ye), O.sb && F(Ie))
635
+ else if (D(ye), O.sb && F(Ie))
636
636
  break;
637
637
  var p = {
638
638
  key: I === De || I === tt ? et() : ae(!0)
639
639
  }, T = !1;
640
640
  if (F(Le)) {
641
- p.value = K(!0);
642
- var L = p.kind = "init";
641
+ p.value = G(!0);
642
+ var _ = p.kind = "init";
643
643
  } else
644
- p.key.type !== "Identifier" || p.key.name !== "get" && p.key.name !== "set" ? ie() : (T = c = !0, L = p.kind = p.key.name, p.key = I === De || I === tt ? et() : ae(!0), I !== le && ie(), p.value = wt(U(), !1));
644
+ 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));
645
645
  if (p.key.type === "Identifier" && (Z || c))
646
- for (var Y = 0; Y < a.h.length; ++Y) {
647
- var Ae = a.h[Y];
646
+ for (var J = 0; J < a.h.length; ++J) {
647
+ var Ae = a.h[J];
648
648
  if (Ae.key.name === p.key.name) {
649
- var Dt = L === Ae.kind || T && Ae.kind === "init" || L === "init" && (Ae.kind === "get" || Ae.kind === "set");
650
- Dt && !Z && L === "init" && Ae.kind === "init" && (Dt = !1), Dt && r(p.key.start, "Redefinition of property");
649
+ var Mt = _ === Ae.kind || T && Ae.kind === "init" || _ === "init" && (Ae.kind === "get" || Ae.kind === "set");
650
+ Mt && !Z && _ === "init" && Ae.kind === "init" && (Mt = !1), Mt && r(p.key.start, "Redefinition of property");
651
651
  }
652
652
  }
653
653
  a.h.push(p);
654
654
  }
655
655
  return A(a, "ObjectExpression");
656
- case Rt:
657
- return a = U(), m(), wt(a, !1);
658
- case An:
659
- return a = U(), m(), a.callee = Ue(et(), !0), a.arguments = F(le) ? xt(re, !1) : Vr, A(a, "NewExpression");
656
+ case jt:
657
+ return a = M(), x(), St(a, !1);
658
+ case Tn:
659
+ return a = M(), x(), a.callee = Ue(et(), !0), a.arguments = F(le) ? wt(re, !1) : Fr, A(a, "NewExpression");
660
660
  }
661
661
  ie();
662
662
  }
663
- function wt(a, l) {
663
+ function St(a, l) {
664
664
  I === Ee ? a.id = ae() : l ? ie() : a.id = null, a.oa = [];
665
665
  var c = !0;
666
- for (M(le); !F(re); )
667
- c ? c = !1 : M(ye), a.oa.push(ae());
666
+ for (D(le); !F(re); )
667
+ c ? c = !1 : D(ye), a.oa.push(ae());
668
668
  c = Me;
669
- var p = D;
670
- if (Me = !0, D = [], a.body = Be(!0), Me = c, D = p, Z || a.body.body.length && gt(a.body.body[0])) {
669
+ var p = V;
670
+ if (Me = !0, V = [], a.body = Be(!0), Me = c, V = p, Z || a.body.body.length && mt(a.body.body[0])) {
671
671
  for (c = a.id ? -1 : 0; c < a.oa.length; ++c)
672
- 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)
672
+ if (p = 0 > c ? a.id : a.oa[c], (Vn(p.name) || rt(p.name)) && r(p.start, "Defining '" + p.name + "' in strict mode"), 0 <= c)
673
673
  for (var T = 0; T < c; ++T)
674
674
  p.name === a.oa[T].name && r(p.start, "Argument name clash in strict mode");
675
675
  }
676
676
  return A(a, l ? "FunctionDeclaration" : "FunctionExpression");
677
677
  }
678
- function xt(a, l, c) {
678
+ function wt(a, l, c) {
679
679
  for (var p = [], T = !0; !F(a); ) {
680
680
  if (T)
681
681
  T = !1;
682
- else if (M(ye), l && O.sb && F(a))
682
+ else if (D(ye), l && O.sb && F(a))
683
683
  break;
684
- p.push(c && I === ye ? null : K(!0));
684
+ p.push(c && I === ye ? null : G(!0));
685
685
  }
686
686
  return p;
687
687
  }
688
688
  function ae(a) {
689
- var l = U();
690
- return a && O.yb === "everywhere" && (a = !1), I === Ee ? (!a && (O.yb && zr(Q) || Z && Ln(Q)) && g.slice(V, Ce).indexOf("\\") === -1 && r(V, "The keyword '" + Q + "' is reserved"), l.name = Q) : a && I.l ? l.name = I.l : ie(), Fe = !1, m(), A(l, "Identifier");
689
+ var l = M();
690
+ return a && O.yb === "everywhere" && (a = !1), I === Ee ? (!a && (O.yb && Xr(te) || Z && Vn(te)) && m.slice(L, Ce).indexOf("\\") === -1 && r(L, "The keyword '" + te + "' is reserved"), l.name = te) : a && I.l ? l.name = I.l : ie(), Fe = !1, x(), A(l, "Identifier");
691
691
  }
692
692
  e.version = "0.5.0";
693
- var O, g = "", ke, kt;
693
+ var O, m = "", ke, xt;
694
694
  e.parse = function(a, l) {
695
- g = String(a), ke = g.length, O = l || {};
696
- for (var c in dn)
697
- Object.prototype.hasOwnProperty.call(O, c) || (O[c] = dn[c]);
698
- for (kt = O.sourceFile, Se = 1, f = se = 0, Fe = !0, d(), c = O.dc, It = ge = f, O.C && (Tt = new i()), Me = Z = !1, D = [], E(), a = c || U(), l = !0, c || (a.body = []); I !== At; )
699
- c = ne(), a.body.push(c), l && gt(c) && ee(!0), l = !1;
695
+ m = String(a), ke = m.length, O = l || {};
696
+ for (var c in pn)
697
+ Object.prototype.hasOwnProperty.call(O, c) || (O[c] = pn[c]);
698
+ 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, V = [], E(), a = c || M(), l = !0, c || (a.body = []); I !== Tt; )
699
+ c = ne(), a.body.push(c), l && mt(c) && Q(!0), l = !1;
700
700
  return A(a, "Program");
701
701
  };
702
- var dn = {
702
+ var pn = {
703
703
  fc: !1,
704
704
  sb: !0,
705
705
  yb: !1,
@@ -710,110 +710,110 @@ var N, Co = function(e) {
710
710
  dc: null,
711
711
  sourceFile: null,
712
712
  vb: null
713
- }, f = 0, V = 0, Ce = 0, Ct, Et, I, Q, Fe, Se, se, It = 0, ge = 0, Tt, Me, D, Z, Vr = [], De = {
713
+ }, f = 0, L = 0, Ce = 0, kt, Ct, I, te, Fe, Se, se, Et = 0, ge = 0, It, Me, V, Z, Fr = [], De = {
714
714
  type: "num"
715
- }, hn = {
715
+ }, dn = {
716
716
  type: "regexp"
717
717
  }, tt = {
718
718
  type: "string"
719
719
  }, Ee = {
720
720
  type: "name"
721
- }, At = {
721
+ }, Tt = {
722
722
  type: "eof"
723
- }, Ot = {
723
+ }, At = {
724
724
  l: "break"
725
- }, jt = {
725
+ }, Ot = {
726
726
  l: "case",
727
727
  m: !0
728
- }, mn = {
728
+ }, hn = {
729
729
  l: "catch"
730
- }, gn = {
730
+ }, mn = {
731
731
  l: "continue"
732
- }, yn = {
732
+ }, gn = {
733
733
  l: "debugger"
734
- }, vn = {
734
+ }, yn = {
735
735
  l: "default"
736
- }, bn = {
736
+ }, vn = {
737
737
  l: "do",
738
738
  W: !0
739
- }, Sn = {
739
+ }, bn = {
740
740
  l: "else",
741
741
  m: !0
742
- }, wn = {
742
+ }, Sn = {
743
743
  l: "finally"
744
- }, xn = {
744
+ }, wn = {
745
745
  l: "for",
746
746
  W: !0
747
- }, Rt = {
747
+ }, jt = {
748
748
  l: "function"
749
- }, kn = {
749
+ }, xn = {
750
750
  l: "if"
751
- }, Cn = {
751
+ }, kn = {
752
752
  l: "return",
753
753
  m: !0
754
- }, Pt = {
754
+ }, Rt = {
755
755
  l: "switch"
756
- }, En = {
756
+ }, Cn = {
757
757
  l: "throw",
758
758
  m: !0
759
- }, In = {
759
+ }, En = {
760
760
  l: "try"
761
- }, Nt = {
761
+ }, Pt = {
762
762
  l: "var"
763
- }, Bt = {
763
+ }, Nt = {
764
764
  l: "while",
765
765
  W: !0
766
- }, Tn = {
766
+ }, In = {
767
767
  l: "with"
768
- }, An = {
768
+ }, Tn = {
769
769
  l: "new",
770
770
  m: !0
771
- }, On = {
771
+ }, An = {
772
772
  l: "this"
773
- }, jn = {
773
+ }, On = {
774
774
  l: "null",
775
775
  $a: null
776
- }, Rn = {
776
+ }, jn = {
777
777
  l: "true",
778
778
  $a: !0
779
- }, Pn = {
779
+ }, Rn = {
780
780
  l: "false",
781
781
  $a: !1
782
782
  }, nt = {
783
783
  l: "in",
784
784
  L: 7,
785
785
  m: !0
786
- }, Lr = {
787
- break: Ot,
788
- case: jt,
789
- catch: mn,
790
- continue: gn,
791
- debugger: yn,
792
- default: vn,
793
- do: bn,
794
- else: Sn,
795
- finally: wn,
796
- for: xn,
797
- function: Rt,
798
- if: kn,
799
- return: Cn,
800
- switch: Pt,
801
- throw: En,
802
- try: In,
803
- var: Nt,
804
- while: Bt,
805
- with: Tn,
806
- null: jn,
807
- true: Rn,
808
- false: Pn,
809
- new: An,
786
+ }, Mr = {
787
+ break: At,
788
+ case: Ot,
789
+ catch: hn,
790
+ continue: mn,
791
+ debugger: gn,
792
+ default: yn,
793
+ do: vn,
794
+ else: bn,
795
+ finally: Sn,
796
+ for: wn,
797
+ function: jt,
798
+ if: xn,
799
+ return: kn,
800
+ switch: Rt,
801
+ throw: Cn,
802
+ try: En,
803
+ var: Pt,
804
+ while: Nt,
805
+ with: In,
806
+ null: On,
807
+ true: jn,
808
+ false: Rn,
809
+ new: Tn,
810
810
  in: nt,
811
811
  instanceof: {
812
812
  l: "instanceof",
813
813
  L: 7,
814
814
  m: !0
815
815
  },
816
- this: On,
816
+ this: An,
817
817
  typeof: {
818
818
  l: "typeof",
819
819
  prefix: !0,
@@ -829,10 +829,10 @@ var N, Co = function(e) {
829
829
  prefix: !0,
830
830
  m: !0
831
831
  }
832
- }, Ut = {
832
+ }, Bt = {
833
833
  type: "[",
834
834
  m: !0
835
- }, Ft = {
835
+ }, Ut = {
836
836
  type: "]"
837
837
  }, Ve = {
838
838
  type: "{",
@@ -853,65 +853,65 @@ var N, Co = function(e) {
853
853
  }, Le = {
854
854
  type: ":",
855
855
  m: !0
856
- }, Nn = {
856
+ }, Pn = {
857
857
  type: "."
858
- }, Bn = {
858
+ }, Nn = {
859
859
  type: "?",
860
860
  m: !0
861
- }, Un = {
861
+ }, Bn = {
862
862
  L: 10,
863
863
  m: !0
864
- }, Fn = {
864
+ }, Un = {
865
865
  Cb: !0,
866
866
  m: !0
867
867
  }, we = {
868
868
  Cb: !0,
869
869
  m: !0
870
- }, _r = {
870
+ }, Dr = {
871
871
  cc: !0,
872
872
  prefix: !0,
873
873
  $b: !0
874
- }, Mn = {
874
+ }, Fn = {
875
875
  prefix: !0,
876
876
  m: !0
877
- }, Dn = {
877
+ }, Mn = {
878
878
  L: 1,
879
879
  m: !0
880
- }, Vn = {
880
+ }, Dn = {
881
881
  L: 2,
882
882
  m: !0
883
- }, Wr = {
883
+ }, Vr = {
884
884
  L: 3,
885
885
  m: !0
886
- }, $r = {
886
+ }, Lr = {
887
887
  L: 4,
888
888
  m: !0
889
- }, Hr = {
889
+ }, _r = {
890
890
  L: 5,
891
891
  m: !0
892
- }, Kr = {
892
+ }, Wr = {
893
893
  L: 6,
894
894
  m: !0
895
- }, Gr = {
895
+ }, $r = {
896
896
  L: 7,
897
897
  m: !0
898
- }, Xr = {
898
+ }, Hr = {
899
899
  L: 8,
900
900
  m: !0
901
- }, Jr = {
901
+ }, Kr = {
902
902
  L: 9,
903
903
  prefix: !0,
904
904
  m: !0
905
- }, Yr = {
905
+ }, Gr = {
906
906
  L: 10,
907
907
  m: !0
908
- }, zr = o("class enum extends super const export import"), Ln = o("implements interface let package private protected public static yield"), rt = o("eval arguments"), qr = 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]/, _n = 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, Mt = {
908
+ }, Xr = o("class enum extends super const export import"), Vn = o("implements interface let package private protected public static yield"), rt = o("eval arguments"), Yr = 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"), Jr = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Ln = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"), zr = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‌‍‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"), ot = /[\n\r\u2028\u2029]/, it = /\r\n|[\n\r\u2028\u2029]/g, Te, Ft = {
909
909
  kind: "loop"
910
- }, eo = {
910
+ }, qr = {
911
911
  kind: "switch"
912
912
  };
913
- }, _t = _t = typeof globalThis > "u" ? void 0 : globalThis;
914
- Co(_t.j || (_t.j = {}));
913
+ }, Lt = Lt = typeof globalThis > "u" ? void 0 : globalThis;
914
+ wo(Lt.j || (Lt.j = {}));
915
915
  function h(e, t) {
916
916
  typeof e == "string" && (e = je(e, "code"));
917
917
  var n = e.constructor;
@@ -927,17 +927,17 @@ function h(e, t) {
927
927
  var i, s;
928
928
  for (s in this)
929
929
  typeof this[s] == "function" && (i = s.match(e)) && (this.rb[i[1]] = this[s].bind(this));
930
- this.N = $t(this, this.ra, null), this.Na = this.N.object, this.ra = je(this.ba.join(`
930
+ this.N = Wt(this, this.ra, null), this.Na = this.N.object, this.ra = je(this.ba.join(`
931
931
  `), "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;
932
932
  }
933
- var Wn = {
933
+ var _n = {
934
934
  C: !0,
935
935
  kc: 5
936
936
  }, Yt = {
937
937
  configurable: !0,
938
938
  enumerable: !0,
939
939
  writable: !1
940
- }, y = {
940
+ }, g = {
941
941
  configurable: !0,
942
942
  enumerable: !1,
943
943
  writable: !0
@@ -949,20 +949,20 @@ var Wn = {
949
949
  configurable: !1,
950
950
  enumerable: !1,
951
951
  writable: !1
952
- }, $n = {
952
+ }, Wn = {
953
953
  configurable: !1,
954
954
  enumerable: !0,
955
955
  writable: !0
956
- }, pr = {
956
+ }, ur = {
957
957
  STEP_ERROR: !0
958
958
  }, Pe = {
959
959
  SCOPE_REFERENCE: !0
960
- }, Je = {
960
+ }, Ye = {
961
961
  VALUE_IN_DESCRIPTOR: !0
962
962
  }, Oe = {
963
963
  REGEXP_TIMEOUT: !0
964
- }, Hn = [], fe = null, Ge = null, ve = typeof globalThis > "u" ? void 0 : globalThis, Eo = ["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();", "};"];
965
- function zt(e) {
964
+ }, $n = [], fe = null, Ge = null, ve = typeof globalThis > "u" ? void 0 : globalThis, xo = ["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();", "};"];
965
+ function Jt(e) {
966
966
  var t = e >>> 0;
967
967
  return t === Number(e) ? t : NaN;
968
968
  }
@@ -981,26 +981,26 @@ function ut(e, t, n) {
981
981
  h.prototype.REGEXP_MODE = 2;
982
982
  h.prototype.REGEXP_THREAD_TIMEOUT = 1e3;
983
983
  h.prototype.POLYFILL_TIMEOUT = 1e3;
984
- N = h.prototype;
985
- N.P = !1;
986
- N.Ka = !1;
987
- N.Kb = 0;
988
- N.ic = 0;
984
+ B = h.prototype;
985
+ B.P = !1;
986
+ B.Ka = !1;
987
+ B.Kb = 0;
988
+ B.ic = 0;
989
989
  function je(e, t) {
990
990
  var n = {}, r;
991
- for (r in Wn)
992
- n[r] = Wn[r];
991
+ for (r in _n)
992
+ n[r] = _n[r];
993
993
  return n.sourceFile = t, ve.j.parse(e, n);
994
994
  }
995
- N.Jb = function(e) {
995
+ B.Jb = function(e) {
996
996
  var t = this.o[0];
997
997
  if (!t || t.node.type !== "Program")
998
998
  throw Error("Expecting original AST to start with a Program node");
999
999
  if (typeof e == "string" && (e = je(e, "appendCode" + this.Kb++)), !e || e.type !== "Program")
1000
1000
  throw Error("Expecting new AST to start with a Program node");
1001
- Ye(this, e, t.scope), Array.prototype.push.apply(t.node.body, e.body), t.node.body.jb = null, t.done = !1;
1001
+ Je(this, e, t.scope), Array.prototype.push.apply(t.node.body, e.body), t.node.body.jb = null, t.done = !1;
1002
1002
  };
1003
- N.lb = function() {
1003
+ B.lb = function() {
1004
1004
  var e = this.o, t;
1005
1005
  do {
1006
1006
  var n = e[e.length - 1];
@@ -1012,7 +1012,7 @@ N.lb = function() {
1012
1012
  if (n = this.ca[0], !n || n.time > Date.now())
1013
1013
  n = null;
1014
1014
  else {
1015
- this.ca.shift(), 0 <= n.interval && mr(this, n, n.interval);
1015
+ this.ca.shift(), 0 <= n.interval && dr(this, n, n.interval);
1016
1016
  var r = new b(n.node, n.scope);
1017
1017
  n.zb && (r.ia = 2, r.B = this.Na, r.U = n.zb, r.Qa = !0, r.F = n.Lb), n = r;
1018
1018
  }
@@ -1025,7 +1025,7 @@ N.lb = function() {
1025
1025
  try {
1026
1026
  var i = this.rb[r.type](e, n, r);
1027
1027
  } catch (s) {
1028
- if (s !== pr)
1028
+ if (s !== ur)
1029
1029
  throw this.value !== s && (this.value = void 0), s;
1030
1030
  } finally {
1031
1031
  Ge = o;
@@ -1038,122 +1038,122 @@ N.lb = function() {
1038
1038
  } while (!r.end && t > Date.now());
1039
1039
  return !0;
1040
1040
  };
1041
- N.Eb = function() {
1041
+ B.Eb = function() {
1042
1042
  for (; !this.za && this.lb(); )
1043
1043
  ;
1044
1044
  return this.za;
1045
1045
  };
1046
- function Io(e, t) {
1047
- 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 R(null), e.Z = new R(e.M), To(e, t), Ao(e, t), t.xa = e.M, e.g(t, "constructor", e.v, y), Oo(e, t), jo(e, t), Ro(e, t), Po(e, t), No(e, t), Bo(e, t), Uo(e, t), Fo(e, t), Mo(e, t);
1046
+ function ko(e, t) {
1047
+ 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), Co(e, t), Eo(e, t), t.xa = e.M, e.g(t, "constructor", e.v, g), Io(e, t), To(e, t), Ao(e, t), Oo(e, t), jo(e, t), Ro(e, t), Po(e, t), No(e, t), Bo(e, t);
1048
1048
  var n = e.i(function() {
1049
1049
  throw EvalError("Can't happen");
1050
1050
  }, !1);
1051
- 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);
1051
+ 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);
1052
1052
  for (var r = [[escape, "escape"], [unescape, "unescape"], [decodeURI, "decodeURI"], [decodeURIComponent, "decodeURIComponent"], [encodeURI, "encodeURI"], [encodeURIComponent, "encodeURIComponent"]], o = 0; o < r.length; o++)
1053
1053
  n = function(i) {
1054
1054
  return function(s) {
1055
1055
  try {
1056
1056
  return i(s);
1057
1057
  } catch (u) {
1058
- w(e, e.Gb, u.message);
1058
+ S(e, e.Gb, u.message);
1059
1059
  }
1060
1060
  };
1061
- }(r[o][0]), e.g(t, r[o][1], e.i(n, !1), y);
1061
+ }(r[o][0]), e.g(t, r[o][1], e.i(n, !1), g);
1062
1062
  n = function(i) {
1063
- return Kn(e, !1, arguments);
1064
- }, e.g(t, "setTimeout", e.i(n, !1), y), n = function(i) {
1065
- return Kn(e, !0, arguments);
1066
- }, e.g(t, "setInterval", e.i(n, !1), y), n = function(i) {
1067
- Gn(e, i);
1068
- }, e.g(t, "clearTimeout", e.i(n, !1), y), n = function(i) {
1069
- Gn(e, i);
1070
- }, 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);
1063
+ return Hn(e, !1, arguments);
1064
+ }, e.g(t, "setTimeout", e.i(n, !1), g), n = function(i) {
1065
+ return Hn(e, !0, arguments);
1066
+ }, e.g(t, "setInterval", e.i(n, !1), g), n = function(i) {
1067
+ Kn(e, i);
1068
+ }, e.g(t, "clearTimeout", e.i(n, !1), g), n = function(i) {
1069
+ Kn(e, i);
1070
+ }, 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);
1071
1071
  }
1072
- N.Wb = 0;
1073
- function To(e, t) {
1072
+ B.Wb = 0;
1073
+ function Co(e, t) {
1074
1074
  var n = /^[A-Za-z_$][\w$]*$/, r = function(o) {
1075
1075
  var i = arguments.length ? String(arguments[arguments.length - 1]) : "", s = Array.prototype.slice.call(arguments, 0, -1).join(",").trim();
1076
1076
  if (s) {
1077
1077
  s = s.split(/\s*,\s*/);
1078
1078
  for (var u = 0; u < s.length; u++) {
1079
1079
  var d = s[u];
1080
- n.test(d) || w(e, e.T, "Invalid function argument: " + d);
1080
+ n.test(d) || S(e, e.T, "Invalid function argument: " + d);
1081
1081
  }
1082
1082
  s = s.join(", ");
1083
1083
  }
1084
1084
  try {
1085
1085
  var k = je("(function(" + s + ") {" + i + "})", "function" + e.Wb++);
1086
1086
  } catch (E) {
1087
- w(e, e.T, "Invalid code: " + E.message);
1087
+ S(e, e.T, "Invalid code: " + E.message);
1088
1088
  }
1089
- return k.body.length !== 1 && w(e, e.T, "Invalid code in function body"), Qt(e, k.body[0].la, e.N, "anonymous");
1089
+ return k.body.length !== 1 && S(e, e.T, "Invalid code in function body"), Zt(e, k.body[0].la, e.N, "anonymous");
1090
1090
  };
1091
- 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() {
1091
+ 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() {
1092
1092
  }, 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) {
1093
1093
  var s = e.o[e.o.length - 1];
1094
- s.U = this, s.B = o, s.F = [], i != null && (i instanceof R ? s.F = dr(e, i) : w(e, e.j, "CreateListFromArrayLike called on non-object")), s.eb = !1;
1095
- }, W(e, e.O, "apply", r), r = function(o) {
1094
+ s.U = this, s.B = o, s.F = [], i != null && (i instanceof P ? s.F = fr(e, i) : S(e, e.j, "CreateListFromArrayLike called on non-object")), s.eb = !1;
1095
+ }, $(e, e.O, "apply", r), r = function(o) {
1096
1096
  var i = e.o[e.o.length - 1];
1097
1097
  i.U = this, i.B = o, i.F = [];
1098
1098
  for (var s = 1; s < arguments.length; s++)
1099
1099
  i.F.push(arguments[s]);
1100
1100
  i.eb = !1;
1101
- }, 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() {
1101
+ }, $(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() {
1102
1102
  return String(this);
1103
- }, W(e, e.O, "toString", r), e.g(e.O, "toString", e.i(r, !1), y), r = function() {
1103
+ }, $(e, e.O, "toString", r), e.g(e.O, "toString", e.i(r, !1), g), r = function() {
1104
1104
  return this.valueOf();
1105
- }, W(e, e.O, "valueOf", r), e.g(e.O, "valueOf", e.i(r, !1), y);
1105
+ }, $(e, e.O, "valueOf", r), e.g(e.O, "valueOf", e.i(r, !1), g);
1106
1106
  }
1107
- function Ao(e, t) {
1107
+ function Eo(e, t) {
1108
1108
  function n(o) {
1109
- o != null || w(e, e.j, "Cannot convert '" + o + "' to object");
1109
+ o != null || S(e, e.j, "Cannot convert '" + o + "' to object");
1110
1110
  }
1111
1111
  var r = function(o) {
1112
1112
  if (o == null)
1113
1113
  return de(e) ? this : e.s(e.M);
1114
- if (!(o instanceof R)) {
1114
+ if (!(o instanceof P)) {
1115
1115
  var i = e.s(pe(e, o));
1116
1116
  return i.data = o, i;
1117
1117
  }
1118
1118
  return o;
1119
1119
  };
1120
- 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) {
1121
- return n(o), ue(e, Object.getOwnPropertyNames(o instanceof R ? o.h : o));
1122
- }, e.g(e.v, "getOwnPropertyNames", e.i(r, !1), y), r = function(o) {
1123
- return n(o), o instanceof R && (o = o.h), ue(e, Object.keys(o));
1124
- }, e.g(e.v, "keys", e.i(r, !1), y), r = function(o) {
1125
- return o === null ? e.s(null) : (o instanceof R || w(e, e.j, "Object prototype may only be an Object or null, not " + o), e.s(o));
1126
- }, 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) {
1127
- return i = String(i), o instanceof R || w(e, e.j, "Object.defineProperty called on non-object: " + o), s instanceof R || w(e, e.j, "Property description must be an object"), !o.preventExtensions || i in o.h || w(e, e.j, "Can't define property '" + i + "', object is not extensible"), e.g(o, i, Je, s.h), o;
1128
- }, 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) {
1129
- if (o instanceof R || w(e, e.j, "Object.getOwnPropertyDescriptor called on non-object: " + o), i = String(i), i in o.h) {
1120
+ 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) {
1121
+ return n(o), ue(e, Object.getOwnPropertyNames(o instanceof P ? o.h : o));
1122
+ }, e.g(e.v, "getOwnPropertyNames", e.i(r, !1), g), r = function(o) {
1123
+ return n(o), o instanceof P && (o = o.h), ue(e, Object.keys(o));
1124
+ }, e.g(e.v, "keys", e.i(r, !1), g), r = function(o) {
1125
+ 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));
1126
+ }, 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) {
1127
+ 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;
1128
+ }, 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) {
1129
+ if (o instanceof P || S(e, e.j, "Object.getOwnPropertyDescriptor called on non-object: " + o), i = String(i), i in o.h) {
1130
1130
  var s = Object.getOwnPropertyDescriptor(o.h, i), u = o.V[i];
1131
1131
  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;
1132
1132
  }
1133
- }, e.g(e.v, "getOwnPropertyDescriptor", e.i(r, !1), y), r = function(o) {
1133
+ }, e.g(e.v, "getOwnPropertyDescriptor", e.i(r, !1), g), r = function(o) {
1134
1134
  return n(o), pe(e, o);
1135
- }, e.g(e.v, "getPrototypeOf", e.i(r, !1), y), r = function(o) {
1135
+ }, e.g(e.v, "getPrototypeOf", e.i(r, !1), g), r = function(o) {
1136
1136
  return !!o && !o.preventExtensions;
1137
- }, e.g(e.v, "isExtensible", e.i(r, !1), y), r = function(o) {
1138
- return o instanceof R && (o.preventExtensions = !0), o;
1139
- }, e.g(e.v, "preventExtensions", e.i(r, !1), y), W(e, e.v, "toString", R.prototype.toString), W(e, e.v, "toLocaleString", R.prototype.toString), W(e, e.v, "valueOf", R.prototype.valueOf), r = function(o) {
1140
- return n(this), this instanceof R ? String(o) in this.h : this.hasOwnProperty(o);
1141
- }, W(e, e.v, "hasOwnProperty", r), r = function(o) {
1142
- return n(this), this instanceof R ? Object.prototype.propertyIsEnumerable.call(this.h, o) : this.propertyIsEnumerable(o);
1143
- }, W(e, e.v, "propertyIsEnumerable", r), r = function(o) {
1137
+ }, e.g(e.v, "isExtensible", e.i(r, !1), g), r = function(o) {
1138
+ return o instanceof P && (o.preventExtensions = !0), o;
1139
+ }, 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) {
1140
+ return n(this), this instanceof P ? String(o) in this.h : this.hasOwnProperty(o);
1141
+ }, $(e, e.v, "hasOwnProperty", r), r = function(o) {
1142
+ return n(this), this instanceof P ? Object.prototype.propertyIsEnumerable.call(this.h, o) : this.propertyIsEnumerable(o);
1143
+ }, $(e, e.v, "propertyIsEnumerable", r), r = function(o) {
1144
1144
  for (; ; ) {
1145
1145
  if (o = pe(e, o), !o)
1146
1146
  return !1;
1147
1147
  if (o === this)
1148
1148
  return !0;
1149
1149
  }
1150
- }, W(e, e.v, "isPrototypeOf", r);
1150
+ }, $(e, e.v, "isPrototypeOf", r);
1151
1151
  }
1152
- function Oo(e, t) {
1152
+ function Io(e, t) {
1153
1153
  var n = function(r) {
1154
1154
  var o = de(e) ? this : Re(e), i = arguments[0];
1155
1155
  if (arguments.length === 1 && typeof i == "number")
1156
- isNaN(zt(i)) && w(e, e.ob, "Invalid array length: " + i), o.h.length = i;
1156
+ isNaN(Jt(i)) && S(e, e.ob, "Invalid array length: " + i), o.h.length = i;
1157
1157
  else {
1158
1158
  for (i = 0; i < arguments.length; i++)
1159
1159
  o.h[i] = arguments[i];
@@ -1161,30 +1161,30 @@ function Oo(e, t) {
1161
1161
  }
1162
1162
  return o;
1163
1163
  };
1164
- e.qa = e.i(n, !0), e.La = e.qa.h.prototype, e.g(t, "Array", e.qa, y), n = function(r) {
1164
+ e.qa = e.i(n, !0), e.La = e.qa.h.prototype, e.g(t, "Array", e.qa, g), n = function(r) {
1165
1165
  return r && r.H === "Array";
1166
- }, e.g(e.qa, "isArray", e.i(n, !1), y), e.g(e.La, "length", 0, {
1166
+ }, e.g(e.qa, "isArray", e.i(n, !1), g), e.g(e.La, "length", 0, {
1167
1167
  configurable: !1,
1168
1168
  enumerable: !1,
1169
1169
  writable: !0
1170
1170
  }), 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(',');", "}", ");", "})();", "");
1171
1171
  }
1172
- function jo(e, t) {
1172
+ function To(e, t) {
1173
1173
  var n = function(r) {
1174
1174
  return r = arguments.length ? ve.String(r) : "", de(e) ? (this.data = r, this) : r;
1175
1175
  };
1176
- 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++)
1177
- W(e, e.J, t[n], String.prototype[t[n]]);
1176
+ 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++)
1177
+ $(e, e.J, t[n], String.prototype[t[n]]);
1178
1178
  n = function(r, o, i) {
1179
1179
  o = e.R(o), i = e.R(i);
1180
1180
  try {
1181
1181
  return String(this).localeCompare(r, o, i);
1182
1182
  } catch (s) {
1183
- w(e, e.D, "localeCompare: " + s.message);
1183
+ S(e, e.D, "localeCompare: " + s.message);
1184
1184
  }
1185
- }, W(e, e.J, "localeCompare", n), n = function(r, o, i) {
1185
+ }, $(e, e.J, "localeCompare", n), n = function(r, o, i) {
1186
1186
  var s = String(this);
1187
- if (o = o ? Number(o) : void 0, H(e, r, e.I) && (r = r.data, $e(e, r, i), e.REGEXP_MODE === 2)) {
1187
+ if (o = o ? Number(o) : void 0, K(e, r, e.I) && (r = r.data, $e(e, r, i), e.REGEXP_MODE === 2)) {
1188
1188
  if (fe)
1189
1189
  r = We(e, "string.split(separator, limit)", {
1190
1190
  string: s,
@@ -1202,7 +1202,7 @@ function jo(e, t) {
1202
1202
  r = s.split(r, o), i(ue(e, r));
1203
1203
  }, Ke(e, e.J, "split", n), n = function(r, o) {
1204
1204
  var i = String(this);
1205
- if (r = H(e, r, e.I) ? r.data : new RegExp(r), $e(e, r, o), e.REGEXP_MODE === 2)
1205
+ if (r = K(e, r, e.I) ? r.data : new RegExp(r), $e(e, r, o), e.REGEXP_MODE === 2)
1206
1206
  if (fe)
1207
1207
  r = We(e, "string.match(regexp)", {
1208
1208
  string: i,
@@ -1218,7 +1218,7 @@ function jo(e, t) {
1218
1218
  r = i.match(r), o(r && ue(e, r));
1219
1219
  }, Ke(e, e.J, "match", n), n = function(r, o) {
1220
1220
  var i = String(this);
1221
- if (H(e, r, e.I) ? r = r.data : r = new RegExp(r), $e(e, r, o), e.REGEXP_MODE === 2)
1221
+ if (K(e, r, e.I) ? r = r.data : r = new RegExp(r), $e(e, r, o), e.REGEXP_MODE === 2)
1222
1222
  if (fe)
1223
1223
  r = We(e, "string.search(regexp)", {
1224
1224
  string: i,
@@ -1234,7 +1234,7 @@ function jo(e, t) {
1234
1234
  o(i.search(r));
1235
1235
  }, Ke(e, e.J, "search", n), n = function(r, o, i) {
1236
1236
  var s = String(this);
1237
- if (o = String(o), H(e, r, e.I) && (r = r.data, $e(e, r, i), e.REGEXP_MODE === 2)) {
1237
+ if (o = String(o), K(e, r, e.I) && (r = r.data, $e(e, r, i), e.REGEXP_MODE === 2)) {
1238
1238
  if (fe)
1239
1239
  r = We(e, "string.replace(substr, newSubstr)", {
1240
1240
  string: s,
@@ -1252,91 +1252,91 @@ function jo(e, t) {
1252
1252
  i(s.replace(r, o));
1253
1253
  }, 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;", "};", "})();", "");
1254
1254
  }
1255
- function Ro(e, t) {
1255
+ function Ao(e, t) {
1256
1256
  e.mb = e.i(function(n) {
1257
1257
  return n = ve.Boolean(n), de(e) ? (this.data = n, this) : n;
1258
- }, !0), e.g(t, "Boolean", e.mb, y);
1258
+ }, !0), e.g(t, "Boolean", e.mb, g);
1259
1259
  }
1260
- function Po(e, t) {
1260
+ function Oo(e, t) {
1261
1261
  var n = function(r) {
1262
1262
  return r = arguments.length ? ve.Number(r) : 0, de(e) ? (this.data = r, this) : r;
1263
1263
  };
1264
- 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++)
1264
+ 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++)
1265
1265
  e.g(e.aa, t[n], Number[t[n]], _e);
1266
1266
  n = function(r) {
1267
1267
  try {
1268
1268
  return Number(this).toExponential(r);
1269
1269
  } catch (o) {
1270
- w(e, e.D, o.message);
1270
+ S(e, e.D, o.message);
1271
1271
  }
1272
- }, W(e, e.aa, "toExponential", n), n = function(r) {
1272
+ }, $(e, e.aa, "toExponential", n), n = function(r) {
1273
1273
  try {
1274
1274
  return Number(this).toFixed(r);
1275
1275
  } catch (o) {
1276
- w(e, e.D, o.message);
1276
+ S(e, e.D, o.message);
1277
1277
  }
1278
- }, W(e, e.aa, "toFixed", n), n = function(r) {
1278
+ }, $(e, e.aa, "toFixed", n), n = function(r) {
1279
1279
  try {
1280
1280
  return Number(this).toPrecision(r);
1281
1281
  } catch (o) {
1282
- w(e, e.D, o.message);
1282
+ S(e, e.D, o.message);
1283
1283
  }
1284
- }, W(e, e.aa, "toPrecision", n), n = function(r) {
1284
+ }, $(e, e.aa, "toPrecision", n), n = function(r) {
1285
1285
  try {
1286
1286
  return Number(this).toString(r);
1287
1287
  } catch (o) {
1288
- w(e, e.D, o.message);
1288
+ S(e, e.D, o.message);
1289
1289
  }
1290
- }, W(e, e.aa, "toString", n), n = function(r, o) {
1290
+ }, $(e, e.aa, "toString", n), n = function(r, o) {
1291
1291
  r = r ? e.R(r) : void 0, o = o ? e.R(o) : void 0;
1292
1292
  try {
1293
1293
  return Number(this).toLocaleString(r, o);
1294
1294
  } catch (i) {
1295
- w(e, e.D, "toLocaleString: " + i.message);
1295
+ S(e, e.D, "toLocaleString: " + i.message);
1296
1296
  }
1297
- }, W(e, e.aa, "toLocaleString", n);
1297
+ }, $(e, e.aa, "toLocaleString", n);
1298
1298
  }
1299
- function No(e, t) {
1299
+ function jo(e, t) {
1300
1300
  var n = function(o, i) {
1301
1301
  if (!de(e))
1302
1302
  return ve.Date();
1303
1303
  var s = [null].concat(Array.from(arguments));
1304
1304
  return this.data = new (Function.prototype.bind.apply(ve.Date, s))(), this;
1305
1305
  };
1306
- 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(" ");
1306
+ 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(" ");
1307
1307
  for (var r = 0; r < t.length; r++)
1308
1308
  n = function(o) {
1309
1309
  return function(i) {
1310
1310
  var s = this.data;
1311
- s instanceof Date || w(e, e.j, o + " not called on a Date");
1311
+ s instanceof Date || S(e, e.j, o + " not called on a Date");
1312
1312
  for (var u = [], d = 0; d < arguments.length; d++)
1313
1313
  u[d] = e.R(arguments[d]);
1314
1314
  return s[o].apply(s, u);
1315
1315
  };
1316
- }(t[r]), W(e, e.$, t[r], n);
1316
+ }(t[r]), $(e, e.$, t[r], n);
1317
1317
  }
1318
- function Bo(e, t) {
1318
+ function Ro(e, t) {
1319
1319
  var n = function(r, o) {
1320
1320
  if (de(e))
1321
1321
  var i = this;
1322
1322
  else {
1323
- if (o === void 0 && H(e, r, e.I))
1323
+ if (o === void 0 && K(e, r, e.I))
1324
1324
  return r;
1325
1325
  i = e.s(e.Ma);
1326
1326
  }
1327
- r = r === void 0 ? "" : String(r), o = o ? String(o) : "", /^[gmi]*$/.test(o) || w(e, e.T, "Invalid regexp flag: " + o);
1327
+ r = r === void 0 ? "" : String(r), o = o ? String(o) : "", /^[gmi]*$/.test(o) || S(e, e.T, "Invalid regexp flag: " + o);
1328
1328
  try {
1329
1329
  var s = new ve.RegExp(r, o);
1330
1330
  } catch (u) {
1331
- w(e, e.T, u.message);
1331
+ S(e, e.T, u.message);
1332
1332
  }
1333
- return qt(e, i, s), i;
1333
+ return zt(e, i, s), i;
1334
1334
  };
1335
- e.I = e.i(n, !0), e.Ma = e.I.h.prototype, e.g(t, "RegExp", e.I, y), e.g(e.I.h.prototype, "global", void 0, q), e.g(e.I.h.prototype, "ignoreCase", void 0, q), e.g(e.I.h.prototype, "multiline", void 0, q), e.g(e.I.h.prototype, "source", "(?:)", q), e.ba.push("Object.defineProperty(RegExp.prototype, 'test',", "{configurable: true, writable: true, value:", "function test(str) {", "return !!this.exec(str);", "}", "});"), n = function(r, o) {
1335
+ 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) {
1336
1336
  function i(E) {
1337
1337
  if (E) {
1338
- var S = ue(e, E);
1339
- return e.g(S, "index", E.index), e.g(S, "input", E.input), S;
1338
+ var y = ue(e, E);
1339
+ return e.g(y, "index", E.index), e.g(y, "input", E.input), y;
1340
1340
  }
1341
1341
  return null;
1342
1342
  }
@@ -1357,50 +1357,50 @@ function Bo(e, t) {
1357
1357
  r = s.exec(r), e.g(this, "lastIndex", s.lastIndex), o(i(r));
1358
1358
  }, Ke(e, e.I, "exec", n);
1359
1359
  }
1360
- function Uo(e, t) {
1360
+ function Po(e, t) {
1361
1361
  function n(r) {
1362
1362
  var o = e.i(function(i) {
1363
1363
  var s = de(e) ? this : e.Aa(o);
1364
- return Wt(e, s, i), s;
1364
+ return _t(e, s, i), s;
1365
1365
  }, !0);
1366
- 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;
1366
+ 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;
1367
1367
  }
1368
1368
  e.D = e.i(function(r) {
1369
1369
  var o = de(e) ? this : e.Aa(e.D);
1370
- return Wt(e, o, r), o;
1371
- }, !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");
1370
+ return _t(e, o, r), o;
1371
+ }, !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");
1372
1372
  }
1373
- function Fo(e, t) {
1373
+ function No(e, t) {
1374
1374
  var n = e.s(e.M);
1375
- e.g(t, "Math", n, y);
1375
+ e.g(t, "Math", n, g);
1376
1376
  var r = "E LN2 LN10 LOG2E LOG10E PI SQRT1_2 SQRT2".split(" ");
1377
1377
  for (t = 0; t < r.length; t++)
1378
1378
  e.g(n, r[t], Math[r[t]], q);
1379
1379
  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++)
1380
- e.g(n, r[t], e.i(Math[r[t]], !1), y);
1380
+ e.g(n, r[t], e.i(Math[r[t]], !1), g);
1381
1381
  }
1382
- function Mo(e, t) {
1382
+ function Bo(e, t) {
1383
1383
  var n = e.s(e.M);
1384
- e.g(t, "JSON", n, y), t = function(r) {
1384
+ e.g(t, "JSON", n, g), t = function(r) {
1385
1385
  try {
1386
1386
  var o = JSON.parse(String(r));
1387
1387
  } catch (i) {
1388
- w(e, e.T, i.message);
1388
+ S(e, e.T, i.message);
1389
1389
  }
1390
1390
  return e.Ia(o);
1391
1391
  }, e.g(n, "parse", e.i(t, !1)), t = function(r, o, i) {
1392
- o && o.H === "Function" ? w(e, e.j, "Function replacer on JSON.stringify not supported") : o && o.H === "Array" ? (o = dr(e, o), o = o.filter(function(u) {
1392
+ o && o.H === "Function" ? S(e, e.j, "Function replacer on JSON.stringify not supported") : o && o.H === "Array" ? (o = fr(e, o), o = o.filter(function(u) {
1393
1393
  return typeof u == "string" || typeof u == "number";
1394
1394
  })) : o = null, typeof i != "string" && typeof i != "number" && (i = void 0), r = e.R(r);
1395
1395
  try {
1396
1396
  var s = JSON.stringify(r, o, i);
1397
1397
  } catch (u) {
1398
- w(e, e.j, u.message);
1398
+ S(e, e.j, u.message);
1399
1399
  }
1400
1400
  return s;
1401
1401
  }, e.g(n, "stringify", e.i(t, !1));
1402
1402
  }
1403
- function H(e, t, n) {
1403
+ function K(e, t, n) {
1404
1404
  if (t == null || !n)
1405
1405
  return !1;
1406
1406
  if (n = n.h.prototype, t === n)
@@ -1412,11 +1412,11 @@ function H(e, t, n) {
1412
1412
  }
1413
1413
  return !1;
1414
1414
  }
1415
- function qt(e, t, n) {
1416
- t.data = new RegExp(n.source, n.flags), e.g(t, "lastIndex", n.lastIndex, y), e.g(t, "source", n.source, q), e.g(t, "global", n.global, q), e.g(t, "ignoreCase", n.ignoreCase, q), e.g(t, "multiline", n.multiline, q);
1415
+ function zt(e, t, n) {
1416
+ 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);
1417
1417
  }
1418
- function Wt(e, t, n) {
1419
- n && e.g(t, "message", String(n), y), n = [];
1418
+ function _t(e, t, n) {
1419
+ n && e.g(t, "message", String(n), g), n = [];
1420
1420
  for (var r = e.o.length - 1; 0 <= r; r--) {
1421
1421
  var o = e.o[r], i = o.node;
1422
1422
  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({
@@ -1430,11 +1430,11 @@ function Wt(e, t, n) {
1430
1430
  `) : i + (" at " + s + `
1431
1431
  `);
1432
1432
  }
1433
- e.g(t, "stack", i.trim(), y);
1433
+ e.g(t, "stack", i.trim(), g);
1434
1434
  }
1435
- N.ha = function() {
1435
+ B.ha = function() {
1436
1436
  var e = this.ha.Mb;
1437
- return e || (e = new Blob([Eo.join(`
1437
+ return e || (e = new Blob([xo.join(`
1438
1438
  `)], {
1439
1439
  type: "application/javascript"
1440
1440
  }), this.ha.Mb = e), new Worker(URL.createObjectURL(e));
@@ -1446,7 +1446,7 @@ function We(e, t, n, r, o) {
1446
1446
  try {
1447
1447
  return fe.runInNewContext(t, n, i);
1448
1448
  } catch {
1449
- o(null), w(e, e.D, "RegExp Timeout: " + r);
1449
+ o(null), S(e, e.D, "RegExp Timeout: " + r);
1450
1450
  }
1451
1451
  return Oe;
1452
1452
  }
@@ -1467,24 +1467,24 @@ function $e(e, t, n) {
1467
1467
  r = !!fe;
1468
1468
  } else
1469
1469
  r = !1;
1470
- r || (n(null), w(e, e.D, "Regular expressions not supported: " + t));
1470
+ r || (n(null), S(e, e.D, "Regular expressions not supported: " + t));
1471
1471
  }
1472
1472
  function He(e, t, n, r) {
1473
1473
  return setTimeout(function() {
1474
1474
  n.terminate(), r(null);
1475
1475
  try {
1476
- w(e, e.D, "RegExp Timeout: " + t);
1476
+ S(e, e.D, "RegExp Timeout: " + t);
1477
1477
  } catch {
1478
1478
  }
1479
1479
  }, e.REGEXP_THREAD_TIMEOUT);
1480
1480
  }
1481
- N.Aa = function(e) {
1481
+ B.Aa = function(e) {
1482
1482
  return this.s(e && e.h.prototype);
1483
1483
  };
1484
- N.s = function(e) {
1484
+ B.s = function(e) {
1485
1485
  if (typeof e != "object")
1486
1486
  throw Error("Non object prototype");
1487
- return e = new R(e), H(this, e, this.D) && (e.H = "Error"), e;
1487
+ return e = new P(e), K(this, e, this.D) && (e.H = "Error"), e;
1488
1488
  };
1489
1489
  function Re(e) {
1490
1490
  var t = e.s(e.La);
@@ -1494,29 +1494,29 @@ function Re(e) {
1494
1494
  writable: !0
1495
1495
  }), t.H = "Array", t;
1496
1496
  }
1497
- function Zt(e, t, n) {
1497
+ function qt(e, t, n) {
1498
1498
  var r = e.s(e.Z);
1499
- return n ? (n = e.s(e.M), e.g(r, "prototype", n, y), e.g(n, "constructor", r, y)) : r.Ab = !0, e.g(r, "length", t, q), r.H = "Function", r;
1499
+ 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;
1500
1500
  }
1501
- function Qt(e, t, n, r) {
1502
- var o = Zt(e, t.oa.length, !0);
1501
+ function Zt(e, t, n, r) {
1502
+ var o = qt(e, t.oa.length, !0);
1503
1503
  return o.Va = n, o.node = t, e.g(o, "name", t.id ? String(t.id.name) : r || "", q), o;
1504
1504
  }
1505
- N.i = function(e, t) {
1506
- return t = Zt(this, e.length, t), t.Ta = e, e.id = this.Ya++, this.g(t, "name", e.name, q), t;
1505
+ B.i = function(e, t) {
1506
+ return t = qt(this, e.length, t), t.Ta = e, e.id = this.Ya++, this.g(t, "name", e.name, q), t;
1507
1507
  };
1508
- N.ub = function(e) {
1509
- var t = Zt(this, e.length, !0);
1508
+ B.ub = function(e) {
1509
+ var t = qt(this, e.length, !0);
1510
1510
  return t.Za = e, e.id = this.Ya++, this.g(t, "name", e.name, q), t;
1511
1511
  };
1512
- N.Ia = function(e) {
1513
- if (e instanceof R)
1512
+ B.Ia = function(e) {
1513
+ if (e instanceof P)
1514
1514
  throw Error("Object is already pseudo");
1515
1515
  if (e == null || e === !0 || e === !1 || typeof e == "string" || typeof e == "number")
1516
1516
  return e;
1517
1517
  if (e instanceof RegExp) {
1518
1518
  var t = this.s(this.Ma);
1519
- return qt(this, t, e), t;
1519
+ return zt(this, t, e), t;
1520
1520
  }
1521
1521
  if (e instanceof Date)
1522
1522
  return t = this.s(this.nb), t.data = new Date(e.valueOf()), t;
@@ -1540,14 +1540,14 @@ N.Ia = function(e) {
1540
1540
  this.g(t, r, this.Ia(e[r]));
1541
1541
  return t;
1542
1542
  };
1543
- N.R = function(e, t) {
1543
+ B.R = function(e, t) {
1544
1544
  if (typeof e != "object" && typeof e != "function" || e === null)
1545
1545
  return e;
1546
- if (!(e instanceof R))
1546
+ if (!(e instanceof P))
1547
1547
  throw Error("Object is not pseudo");
1548
- if (H(this, e, this.I))
1548
+ if (K(this, e, this.I))
1549
1549
  return t = new RegExp(e.data.source, e.data.flags), t.lastIndex = e.data.lastIndex, t;
1550
- if (H(this, e, this.$))
1550
+ if (K(this, e, this.$))
1551
1551
  return new Date(e.data.valueOf());
1552
1552
  t = t || {
1553
1553
  hb: [],
@@ -1556,7 +1556,7 @@ N.R = function(e, t) {
1556
1556
  var n = t.hb.indexOf(e);
1557
1557
  if (n !== -1)
1558
1558
  return t.Sa[n];
1559
- if (t.hb.push(e), H(this, e, this.qa)) {
1559
+ if (t.hb.push(e), K(this, e, this.qa)) {
1560
1560
  n = [], t.Sa.push(n);
1561
1561
  for (var r = this.G(e, "length"), o = 0; o < r; o++)
1562
1562
  ft(this, e, o) && (n[o] = this.R(this.G(e, o), t));
@@ -1575,11 +1575,11 @@ function ue(e, t) {
1575
1575
  e.g(n, r[o], t[r[o]]);
1576
1576
  return n;
1577
1577
  }
1578
- function dr(e, t) {
1578
+ function fr(e, t) {
1579
1579
  var n = [], r;
1580
1580
  for (r in t.h)
1581
1581
  n[r] = e.G(t, r);
1582
- return n.length = zt(e.G(t, "length")) || 0, n;
1582
+ return n.length = Jt(e.G(t, "length")) || 0, n;
1583
1583
  }
1584
1584
  function pe(e, t) {
1585
1585
  switch (typeof t) {
@@ -1592,15 +1592,15 @@ function pe(e, t) {
1592
1592
  }
1593
1593
  return t ? t.xa : null;
1594
1594
  }
1595
- N.G = function(e, t) {
1595
+ B.G = function(e, t) {
1596
1596
  if (this.P)
1597
1597
  throw Error("Getter not supported in that context");
1598
- if (t = String(t), e != null || w(this, this.j, "Cannot read property '" + t + "' of " + e), typeof e == "object" && !(e instanceof R))
1598
+ if (t = String(t), e != null || S(this, this.j, "Cannot read property '" + t + "' of " + e), typeof e == "object" && !(e instanceof P))
1599
1599
  throw TypeError("Expecting native value or pseudo object");
1600
1600
  if (t === "length") {
1601
- if (H(this, e, this.J))
1601
+ if (K(this, e, this.J))
1602
1602
  return String(e).length;
1603
- } else if (64 > t.charCodeAt(0) && H(this, e, this.J)) {
1603
+ } else if (64 > t.charCodeAt(0) && K(this, e, this.J)) {
1604
1604
  var n = Xe(t);
1605
1605
  if (!isNaN(n) && n < String(e).length)
1606
1606
  return String(e)[n];
@@ -1611,11 +1611,11 @@ N.G = function(e, t) {
1611
1611
  while (e = pe(this, e));
1612
1612
  };
1613
1613
  function ft(e, t, n) {
1614
- if (!(t instanceof R))
1614
+ if (!(t instanceof P))
1615
1615
  throw TypeError("Primitive data type has no properties");
1616
- if (n = String(n), n === "length" && H(e, t, e.J))
1616
+ if (n = String(n), n === "length" && K(e, t, e.J))
1617
1617
  return !0;
1618
- if (H(e, t, e.J)) {
1618
+ if (K(e, t, e.J)) {
1619
1619
  var r = Xe(n);
1620
1620
  if (!isNaN(r) && r < String(t).length)
1621
1621
  return !0;
@@ -1626,18 +1626,18 @@ function ft(e, t, n) {
1626
1626
  while (t = pe(e, t));
1627
1627
  return !1;
1628
1628
  }
1629
- N.g = function(e, t, n, r) {
1629
+ B.g = function(e, t, n, r) {
1630
1630
  if (this.Ka)
1631
1631
  throw Error("Setter not supported in that context");
1632
- if (t = String(t), e != null || w(this, this.j, "Cannot set property '" + t + "' of " + e), typeof e == "object" && !(e instanceof R))
1632
+ if (t = String(t), e != null || S(this, this.j, "Cannot set property '" + t + "' of " + e), typeof e == "object" && !(e instanceof P))
1633
1633
  throw TypeError("Expecting native value or pseudo object");
1634
- r && ("get" in r || "set" in r) && ("value" in r || "writable" in r) && w(this, this.j, "Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");
1635
- var o = !this.o || en(this).S;
1636
- if (e instanceof R) {
1637
- if (H(this, e, this.J)) {
1634
+ 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");
1635
+ var o = !this.o || Qt(this).S;
1636
+ if (e instanceof P) {
1637
+ if (K(this, e, this.J)) {
1638
1638
  var i = Xe(t);
1639
1639
  if (t === "length" || !isNaN(i) && i < String(e).length) {
1640
- o && w(this, this.j, "Cannot assign to read only property '" + t + "' of String '" + e.data + "'");
1640
+ o && S(this, this.j, "Cannot assign to read only property '" + t + "' of String '" + e.data + "'");
1641
1641
  return;
1642
1642
  }
1643
1643
  }
@@ -1648,7 +1648,7 @@ N.g = function(e, t, n, r) {
1648
1648
  return;
1649
1649
  n = r.value;
1650
1650
  }
1651
- if (n = zt(n), isNaN(n) && w(this, this.ob, "Invalid array length"), n < i)
1651
+ if (n = Jt(n), isNaN(n) && S(this, this.ob, "Invalid array length"), n < i)
1652
1652
  for (s in e.h) {
1653
1653
  var s = Xe(s);
1654
1654
  !isNaN(s) && n <= s && delete e.h[s];
@@ -1657,15 +1657,15 @@ N.g = function(e, t, n, r) {
1657
1657
  isNaN(s = Xe(t)) || (e.h.length = Math.max(i, s + 1));
1658
1658
  if (!e.preventExtensions || t in e.h)
1659
1659
  if (r) {
1660
- 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 !== Je && (o.value = n, delete e.V[t], delete e.Y[t]);
1660
+ 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]);
1661
1661
  try {
1662
1662
  Object.defineProperty(e.h, t, o);
1663
1663
  } catch {
1664
- w(this, this.j, "Cannot redefine property: " + t);
1664
+ S(this, this.j, "Cannot redefine property: " + t);
1665
1665
  }
1666
1666
  "get" in r && !r.get && delete e.V[t], "set" in r && !r.set && delete e.Y[t];
1667
1667
  } else {
1668
- if (n === Je)
1668
+ if (n === Ye)
1669
1669
  throw ReferenceError("Value not specified");
1670
1670
  for (r = e; !(t in r.h); )
1671
1671
  if (r = pe(this, r), !r) {
@@ -1675,37 +1675,37 @@ N.g = function(e, t, n, r) {
1675
1675
  if (r.Y && r.Y[t])
1676
1676
  return this.Ka = !0, r.Y[t];
1677
1677
  if (r.V && r.V[t])
1678
- o && w(this, this.j, "Cannot set property '" + t + "' of object '" + e + "' which only has a getter");
1678
+ o && S(this, this.j, "Cannot set property '" + t + "' of object '" + e + "' which only has a getter");
1679
1679
  else
1680
1680
  try {
1681
1681
  e.h[t] = n;
1682
1682
  } catch {
1683
- o && w(this, this.j, "Cannot assign to read only property '" + t + "' of object '" + e + "'");
1683
+ o && S(this, this.j, "Cannot assign to read only property '" + t + "' of object '" + e + "'");
1684
1684
  }
1685
1685
  }
1686
1686
  else
1687
- o && w(this, this.j, "Can't add property '" + t + "', object is not extensible");
1687
+ o && S(this, this.j, "Can't add property '" + t + "', object is not extensible");
1688
1688
  } else
1689
- o && w(this, this.j, "Can't create property '" + t + "' on '" + e + "'");
1689
+ o && S(this, this.j, "Can't create property '" + t + "' on '" + e + "'");
1690
1690
  };
1691
- N.g.ac = function() {
1691
+ B.g.ac = function() {
1692
1692
  throw Error("Placeholder getter");
1693
1693
  };
1694
- N.g.bc = function() {
1694
+ B.g.bc = function() {
1695
1695
  throw Error("Placeholder setter");
1696
1696
  };
1697
- function W(e, t, n, r) {
1698
- e.g(t.h.prototype, n, e.i(r, !1), y);
1697
+ function $(e, t, n, r) {
1698
+ e.g(t.h.prototype, n, e.i(r, !1), g);
1699
1699
  }
1700
1700
  function Ke(e, t, n, r) {
1701
- e.g(t.h.prototype, n, e.ub(r), y);
1701
+ e.g(t.h.prototype, n, e.ub(r), g);
1702
1702
  }
1703
- function en(e) {
1703
+ function Qt(e) {
1704
1704
  if (e = e.o[e.o.length - 1].scope, !e)
1705
1705
  throw Error("No scope found");
1706
1706
  return e;
1707
1707
  }
1708
- function $t(e, t, n) {
1708
+ function Wt(e, t, n) {
1709
1709
  var r = !1;
1710
1710
  if (n && n.S)
1711
1711
  r = !0;
@@ -1713,30 +1713,30 @@ function $t(e, t, n) {
1713
1713
  var o = t.body && t.body[0];
1714
1714
  o && o.la && o.la.type === "Literal" && o.la.value === "use strict" && (r = !0);
1715
1715
  }
1716
- return o = e.s(null), r = new gr(n, r, o), n || Io(e, r.object), Ye(e, t, r), r;
1716
+ return o = e.s(null), r = new hr(n, r, o), n || ko(e, r.object), Je(e, t, r), r;
1717
1717
  }
1718
- function tn(e, t, n) {
1718
+ function en(e, t, n) {
1719
1719
  if (!t)
1720
1720
  throw Error("parentScope required");
1721
- return e = n || e.s(null), new gr(t, t.S, e);
1721
+ return e = n || e.s(null), new hr(t, t.S, e);
1722
1722
  }
1723
- function nn(e, t) {
1724
- for (var n = en(e); n && n !== e.N; ) {
1723
+ function tn(e, t) {
1724
+ for (var n = Qt(e); n && n !== e.N; ) {
1725
1725
  if (t in n.object.h)
1726
1726
  return n.object.h[t];
1727
1727
  n = n.Va;
1728
1728
  }
1729
1729
  if (n === e.N && ft(e, n.object, t))
1730
1730
  return e.G(n.object, t);
1731
- n = e.o[e.o.length - 1].node, n.type === "UnaryExpression" && n.operator === "typeof" || w(e, e.pb, t + " is not defined");
1731
+ n = e.o[e.o.length - 1].node, n.type === "UnaryExpression" && n.operator === "typeof" || S(e, e.pb, t + " is not defined");
1732
1732
  }
1733
- function hr(e, t, n) {
1734
- for (var r = en(e), o = r.S; r && r !== e.N; ) {
1733
+ function pr(e, t, n) {
1734
+ for (var r = Qt(e), o = r.S; r && r !== e.N; ) {
1735
1735
  if (t in r.object.h) {
1736
1736
  try {
1737
1737
  r.object.h[t] = n;
1738
1738
  } catch {
1739
- o && w(e, e.j, "Cannot assign to read only variable '" + t + "'");
1739
+ o && S(e, e.j, "Cannot assign to read only variable '" + t + "'");
1740
1740
  }
1741
1741
  return;
1742
1742
  }
@@ -1744,9 +1744,9 @@ function hr(e, t, n) {
1744
1744
  }
1745
1745
  if (r === e.N && (!o || ft(e, r.object, t)))
1746
1746
  return e.g(r.object, t, n);
1747
- w(e, e.pb, t + " is not defined");
1747
+ S(e, e.pb, t + " is not defined");
1748
1748
  }
1749
- function Ye(e, t, n) {
1749
+ function Je(e, t, n) {
1750
1750
  if (t.jb)
1751
1751
  var r = t.jb;
1752
1752
  else {
@@ -1779,12 +1779,12 @@ function Ye(e, t, n) {
1779
1779
  if (Array.isArray(u)) {
1780
1780
  for (o = 0; o < u.length; o++)
1781
1781
  if (u[o] && u[o].constructor === i) {
1782
- var d = Ye(e, u[o], n);
1782
+ var d = Je(e, u[o], n);
1783
1783
  for (s in d)
1784
1784
  r[s] = d[s];
1785
1785
  }
1786
1786
  } else if (u.constructor === i)
1787
- for (s in d = Ye(e, u, n), d)
1787
+ for (s in d = Je(e, u, n), d)
1788
1788
  r[s] = d[s];
1789
1789
  }
1790
1790
  }
@@ -1792,20 +1792,20 @@ function Ye(e, t, n) {
1792
1792
  t.jb = r;
1793
1793
  }
1794
1794
  for (s in r)
1795
- r[s] === !0 ? e.g(n.object, s, void 0, $n) : e.g(n.object, s, Qt(e, r[s], n), $n);
1795
+ r[s] === !0 ? e.g(n.object, s, void 0, Wn) : e.g(n.object, s, Zt(e, r[s], n), Wn);
1796
1796
  return r;
1797
1797
  }
1798
1798
  function de(e) {
1799
1799
  return e.o[e.o.length - 1].isConstructor;
1800
1800
  }
1801
- function rn(e, t) {
1802
- return t[0] === Pe ? nn(e, t[1]) : e.G(t[0], t[1]);
1801
+ function nn(e, t) {
1802
+ return t[0] === Pe ? tn(e, t[1]) : e.G(t[0], t[1]);
1803
1803
  }
1804
- function on(e, t, n) {
1805
- return t[0] === Pe ? hr(e, t[1], n) : e.g(t[0], t[1], n);
1804
+ function rn(e, t, n) {
1805
+ return t[0] === Pe ? pr(e, t[1], n) : e.g(t[0], t[1], n);
1806
1806
  }
1807
- function w(e, t, n) {
1808
- throw e.N ? (n !== void 0 && t instanceof R && (t = e.Aa(t), Wt(e, t, n)), ze(e, 4, t), pr) : n === void 0 ? t : n;
1807
+ function S(e, t, n) {
1808
+ throw e.N ? (n !== void 0 && t instanceof P && (t = e.Aa(t), _t(e, t, n)), ze(e, 4, t), ur) : n === void 0 ? t : n;
1809
1809
  }
1810
1810
  function ze(e, t, n, r) {
1811
1811
  if (t === 0)
@@ -1843,7 +1843,7 @@ function ze(e, t, n, r) {
1843
1843
  } else if (t === 2 && (r ? i.labels && i.labels.indexOf(r) !== -1 : i.W))
1844
1844
  return;
1845
1845
  }
1846
- throw H(e, n, e.D) ? (t = {
1846
+ throw K(e, n, e.D) ? (t = {
1847
1847
  EvalError,
1848
1848
  RangeError,
1849
1849
  ReferenceError,
@@ -1883,29 +1883,29 @@ function z(e, t) {
1883
1883
  }
1884
1884
  return "???";
1885
1885
  }
1886
- function Kn(e, t, n) {
1886
+ function Hn(e, t, n) {
1887
1887
  var r = e.o[e.o.length - 1], o = Array.from(n), i = o.shift();
1888
1888
  n = Math.max(Number(o.shift() || 0), 0);
1889
1889
  var s = e.ya();
1890
- if (i instanceof R && i.H === "Function") {
1890
+ if (i instanceof P && i.H === "Function") {
1891
1891
  var u = i;
1892
1892
  s.type = "CallExpression", r = r.scope;
1893
1893
  } else {
1894
1894
  try {
1895
1895
  var d = je(String(i), "taskCode" + e.ic++);
1896
1896
  } catch (k) {
1897
- w(e, e.T, "Invalid code: " + k.message);
1897
+ S(e, e.T, "Invalid code: " + k.message);
1898
1898
  }
1899
1899
  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;
1900
1900
  }
1901
- return t = new Do(u, o, r, s, t ? n : -1), mr(e, t, n), t.Db;
1901
+ return t = new Uo(u, o, r, s, t ? n : -1), dr(e, t, n), t.Db;
1902
1902
  }
1903
- function mr(e, t, n) {
1903
+ function dr(e, t, n) {
1904
1904
  t.time = Date.now() + n, e.ca.push(t), e.ca.sort(function(r, o) {
1905
1905
  return r.time - o.time;
1906
1906
  });
1907
1907
  }
1908
- function Gn(e, t) {
1908
+ function Kn(e, t) {
1909
1909
  for (var n = 0; n < e.ca.length; n++)
1910
1910
  if (e.ca[n].Db == t) {
1911
1911
  e.ca.splice(n, 1);
@@ -1919,52 +1919,52 @@ function qe(e, t, n) {
1919
1919
  var r = e.ya();
1920
1920
  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;
1921
1921
  }
1922
- function an(e, t, n, r) {
1922
+ function on(e, t, n, r) {
1923
1923
  if (!e.Ka)
1924
1924
  throw Error("Unexpected call to createSetter");
1925
1925
  e.Ka = !1, n = Array.isArray(n) ? n[0] : e.Na;
1926
1926
  var o = e.ya();
1927
1927
  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;
1928
1928
  }
1929
- function Vt(e, t) {
1930
- return t == null ? e.Na : t instanceof R ? t : (e = e.s(pe(e, t)), e.data = t, e);
1929
+ function Dt(e, t) {
1930
+ return t == null ? e.Na : t instanceof P ? t : (e = e.s(pe(e, t)), e.data = t, e);
1931
1931
  }
1932
- N.Xb = function() {
1932
+ B.Xb = function() {
1933
1933
  return this.N;
1934
1934
  };
1935
- N.Yb = function() {
1935
+ B.Yb = function() {
1936
1936
  return this.o;
1937
1937
  };
1938
- N.ec = function(e) {
1938
+ B.ec = function(e) {
1939
1939
  this.o = e;
1940
1940
  };
1941
1941
  function b(e, t) {
1942
1942
  this.node = e, this.scope = t;
1943
1943
  }
1944
- function gr(e, t, n) {
1944
+ function hr(e, t, n) {
1945
1945
  this.Va = e, this.S = t, this.object = n;
1946
1946
  }
1947
- function R(e) {
1947
+ function P(e) {
1948
1948
  this.V = /* @__PURE__ */ Object.create(null), this.Y = /* @__PURE__ */ Object.create(null), this.h = /* @__PURE__ */ Object.create(null), this.xa = e;
1949
1949
  }
1950
- N = R.prototype;
1951
- N.xa = null;
1952
- N.H = "Object";
1953
- N.data = null;
1954
- N.toString = function() {
1950
+ B = P.prototype;
1951
+ B.xa = null;
1952
+ B.H = "Object";
1953
+ B.data = null;
1954
+ B.toString = function() {
1955
1955
  if (!Ge)
1956
1956
  return "[object Interpreter.Object]";
1957
- if (!(this instanceof R))
1957
+ if (!(this instanceof P))
1958
1958
  return String(this);
1959
1959
  if (this.H === "Array") {
1960
- var e = Hn;
1960
+ var e = $n;
1961
1961
  e.push(this);
1962
1962
  try {
1963
1963
  var t = [], n = this.h.length, r = !1;
1964
1964
  1024 < n && (n = 1e3, r = !0);
1965
1965
  for (var o = 0; o < n; o++) {
1966
1966
  var i = this.h[o];
1967
- t[o] = i instanceof R && e.indexOf(i) !== -1 ? "..." : i;
1967
+ t[o] = i instanceof P && e.indexOf(i) !== -1 ? "..." : i;
1968
1968
  }
1969
1969
  r && t.push("...");
1970
1970
  } finally {
@@ -1973,7 +1973,7 @@ N.toString = function() {
1973
1973
  return t.join(",");
1974
1974
  }
1975
1975
  if (this.H === "Error") {
1976
- if (e = Hn, e.indexOf(this) !== -1)
1976
+ if (e = $n, e.indexOf(this) !== -1)
1977
1977
  return "[object Error]";
1978
1978
  n = this;
1979
1979
  do
@@ -1999,13 +1999,13 @@ N.toString = function() {
1999
1999
  }
2000
2000
  return this.data !== null ? String(this.data) : "[object " + this.H + "]";
2001
2001
  };
2002
- N.valueOf = function() {
2002
+ B.valueOf = function() {
2003
2003
  return !Ge || this.data === void 0 || this.data === null || this.data instanceof RegExp ? this : this.data instanceof Date ? this.data.valueOf() : this.data;
2004
2004
  };
2005
- function Do(e, t, n, r, o) {
2006
- this.zb = e, this.Lb = t, this.scope = n, this.node = r, this.interval = o, this.Db = ++Vo, this.time = 0;
2005
+ function Uo(e, t, n, r, o) {
2006
+ this.zb = e, this.Lb = t, this.scope = n, this.node = r, this.interval = o, this.Db = ++Fo, this.time = 0;
2007
2007
  }
2008
- var Vo = 0;
2008
+ var Fo = 0;
2009
2009
  h.prototype.stepArrayExpression = function(e, t, n) {
2010
2010
  n = n.elements;
2011
2011
  var r = t.A || 0;
@@ -2020,7 +2020,7 @@ h.prototype.stepAssignmentExpression = function(e, t, n) {
2020
2020
  if (!t.ja)
2021
2021
  return t.ja = !0, t = new b(n.left, t.scope), t.sa = !0, t;
2022
2022
  if (!t.Da)
2023
- return t.Fa || (t.Fa = t.value), t.Ba && (t.ma = t.value), !t.Ba && n.operator !== "=" && (e = rn(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));
2023
+ 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));
2024
2024
  if (t.ta)
2025
2025
  e.pop(), e[e.length - 1].value = t.ib;
2026
2026
  else {
@@ -2065,8 +2065,8 @@ h.prototype.stepAssignmentExpression = function(e, t, n) {
2065
2065
  default:
2066
2066
  throw SyntaxError("Unknown assignment expression: " + n.operator);
2067
2067
  }
2068
- if (n = on(this, t.Fa, r))
2069
- return t.ta = !0, t.ib = r, an(this, n, t.Fa, r);
2068
+ if (n = rn(this, t.Fa, r))
2069
+ return t.ta = !0, t.ib = r, on(this, n, t.Fa, r);
2070
2070
  e.pop(), e[e.length - 1].value = r;
2071
2071
  }
2072
2072
  };
@@ -2136,10 +2136,10 @@ h.prototype.stepBinaryExpression = function(e, t, n) {
2136
2136
  n = r >>> t;
2137
2137
  break;
2138
2138
  case "in":
2139
- t instanceof R || w(this, this.j, "'in' expects an object, not '" + t + "'"), n = ft(this, t, r);
2139
+ t instanceof P || S(this, this.j, "'in' expects an object, not '" + t + "'"), n = ft(this, t, r);
2140
2140
  break;
2141
2141
  case "instanceof":
2142
- H(this, t, this.O) || w(this, this.j, "'instanceof' expects an object, not '" + t + "'"), n = r instanceof R ? H(this, r, t) : !1;
2142
+ K(this, t, this.O) || S(this, this.j, "'instanceof' expects an object, not '" + t + "'"), n = r instanceof P ? K(this, r, t) : !1;
2143
2143
  break;
2144
2144
  default:
2145
2145
  throw SyntaxError("Unknown binary operator: " + n.operator);
@@ -2166,7 +2166,7 @@ h.prototype.stepCallExpression = function(e, t, n) {
2166
2166
  t.ia = 2;
2167
2167
  var o = t.value;
2168
2168
  if (Array.isArray(o)) {
2169
- if (t.U = rn(this, o), o[0] === Pe ? t.Pb = o[1] === "eval" : t.B = o[0], o = t.U, this.P)
2169
+ if (t.U = nn(this, o), o[0] === Pe ? t.Pb = o[1] === "eval" : t.B = o[0], o = t.U, this.P)
2170
2170
  return t.ia = 1, qe(this, o, t.value);
2171
2171
  } else
2172
2172
  t.U = o;
@@ -2176,7 +2176,7 @@ h.prototype.stepCallExpression = function(e, t, n) {
2176
2176
  if (t.A !== 0 && t.F.push(t.value), n.arguments[t.A])
2177
2177
  return new b(n.arguments[t.A++], t.scope);
2178
2178
  if (n.type === "NewExpression") {
2179
- if (o instanceof R && !o.Ab || w(this, this.j, z(this, n.callee) + " is not a constructor"), o === this.qa)
2179
+ if (o instanceof P && !o.Ab || S(this, this.j, z(this, n.callee) + " is not a constructor"), o === this.qa)
2180
2180
  t.B = Re(this);
2181
2181
  else {
2182
2182
  var i = o.h.prototype;
@@ -2189,12 +2189,12 @@ h.prototype.stepCallExpression = function(e, t, n) {
2189
2189
  if (t.eb)
2190
2190
  e.pop(), e[e.length - 1].value = t.isConstructor && typeof t.value != "object" ? t.B : t.value;
2191
2191
  else {
2192
- if (t.eb = !0, o instanceof R || w(this, this.j, z(this, n.callee) + " is not a function"), e = o.node) {
2193
- for (n = $t(this, e.body, o.Va), r = Re(this), o = 0; o < t.F.length; o++)
2192
+ if (t.eb = !0, o instanceof P || S(this, this.j, z(this, n.callee) + " is not a function"), e = o.node) {
2193
+ for (n = Wt(this, e.body, o.Va), r = Re(this), o = 0; o < t.F.length; o++)
2194
2194
  this.g(r, o, t.F[o]);
2195
2195
  for (this.g(n.object, "arguments", r), o = 0; o < e.oa.length; o++)
2196
2196
  this.g(n.object, e.oa[o].name, t.F.length > o ? t.F[o] : void 0);
2197
- return n.S || (t.B = Vt(this, t.B)), this.g(n.object, "this", t.B, Yt), t.value = void 0, new b(e.body, n);
2197
+ 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);
2198
2198
  }
2199
2199
  if (o.eval)
2200
2200
  if (o = t.F[0], typeof o != "string")
@@ -2203,19 +2203,19 @@ h.prototype.stepCallExpression = function(e, t, n) {
2203
2203
  try {
2204
2204
  r = je(String(o), "eval" + this.Hb++);
2205
2205
  } catch (u) {
2206
- w(this, this.T, "Invalid code: " + u.message);
2206
+ S(this, this.T, "Invalid code: " + u.message);
2207
2207
  }
2208
- return o = this.ya(), o.type = "EvalProgram_", o.body = r.body, ut(o, n.start, n.end), n = t.Pb ? t.scope : this.N, n.S ? n = $t(this, r, n) : Ye(this, r, n), this.value = void 0, new b(o, n);
2208
+ 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);
2209
2209
  }
2210
2210
  else if (o.Ta)
2211
- t.scope.S || (t.B = Vt(this, t.B)), t.value = o.Ta.apply(t.B, t.F);
2211
+ t.scope.S || (t.B = Dt(this, t.B)), t.value = o.Ta.apply(t.B, t.F);
2212
2212
  else if (o.Za) {
2213
2213
  var s = this;
2214
2214
  r = o.Za.length - 1, r = t.F.concat(Array(r)).slice(0, r), r.push(function(u) {
2215
2215
  t.value = u, s.za = !1;
2216
- }), this.za = !0, t.scope.S || (t.B = Vt(this, t.B)), o.Za.apply(t.B, r);
2216
+ }), this.za = !0, t.scope.S || (t.B = Dt(this, t.B)), o.Za.apply(t.B, r);
2217
2217
  } else
2218
- w(this, this.j, z(this, n.callee) + " is not callable");
2218
+ S(this, this.j, z(this, n.callee) + " is not callable");
2219
2219
  }
2220
2220
  };
2221
2221
  h.prototype.stepConditionalExpression = function(e, t, n) {
@@ -2261,13 +2261,13 @@ h.prototype.stepExpressionStatement = function(e, t, n) {
2261
2261
  };
2262
2262
  h.prototype.stepForInStatement = function(e, t, n) {
2263
2263
  if (!t.Ub && (t.Ub = !0, n.left.fa && n.left.fa[0].ua))
2264
- return t.scope.S && w(this, this.T, "for-in loop variable declaration may not have an initializer"), new b(n.left, t.scope);
2264
+ return t.scope.S && S(this, this.T, "for-in loop variable declaration may not have an initializer"), new b(n.left, t.scope);
2265
2265
  if (!t.Ca)
2266
2266
  return t.Ca = !0, t.pa || (t.pa = t.value), new b(n.right, t.scope);
2267
2267
  if (t.W || (t.W = !0, t.u = t.value, t.kb = /* @__PURE__ */ Object.create(null)), t.Ra === void 0)
2268
2268
  e:
2269
2269
  for (; ; ) {
2270
- if (t.u instanceof R)
2270
+ if (t.u instanceof P)
2271
2271
  for (t.wa || (t.wa = Object.getOwnPropertyNames(t.u.h)); ; ) {
2272
2272
  var r = t.wa.shift();
2273
2273
  if (r === void 0)
@@ -2294,8 +2294,8 @@ h.prototype.stepForInStatement = function(e, t, n) {
2294
2294
  t.pa = [Pe, e.fa[0].id.name];
2295
2295
  else
2296
2296
  return t.pa = null, t = new b(e, t.scope), t.sa = !0, t;
2297
- if (t.pa || (t.pa = t.value), !t.ta && (t.ta = !0, e = t.Ra, r = on(this, t.pa, e)))
2298
- return an(this, r, t.pa, e);
2297
+ if (t.pa || (t.pa = t.value), !t.ta && (t.ta = !0, e = t.Ra, r = rn(this, t.pa, e)))
2298
+ return on(this, r, t.pa, e);
2299
2299
  if (t.Ra = void 0, t.wb = !1, t.ta = !1, n.body)
2300
2300
  return new b(n.body, t.scope);
2301
2301
  };
@@ -2324,13 +2324,13 @@ h.prototype.stepFunctionDeclaration = function(e) {
2324
2324
  e.pop();
2325
2325
  };
2326
2326
  h.prototype.stepFunctionExpression = function(e, t, n) {
2327
- e.pop(), t = e[e.length - 1], e = t.scope, n.id && (e = tn(this, e)), t.value = Qt(this, n, e, t.Pa), n.id && this.g(e.object, n.id.name, t.value, Yt);
2327
+ 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);
2328
2328
  };
2329
2329
  h.prototype.stepIdentifier = function(e, t, n) {
2330
2330
  if (e.pop(), t.sa)
2331
2331
  e[e.length - 1].value = [Pe, n.name];
2332
2332
  else {
2333
- if (t = nn(this, n.name), this.P)
2333
+ if (t = tn(this, n.name), this.P)
2334
2334
  return qe(this, t, this.Na);
2335
2335
  e[e.length - 1].value = t;
2336
2336
  }
@@ -2340,7 +2340,7 @@ h.prototype.stepLabeledStatement = function(e, t, n) {
2340
2340
  return e.pop(), e = t.labels || [], e.push(n.label.name), t = new b(n.body, t.scope), t.labels = e, t;
2341
2341
  };
2342
2342
  h.prototype.stepLiteral = function(e, t, n) {
2343
- e.pop(), t = n.value, t instanceof RegExp && (n = this.s(this.Ma), qt(this, n, t), t = n), e[e.length - 1].value = t;
2343
+ 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;
2344
2344
  };
2345
2345
  h.prototype.stepLogicalExpression = function(e, t, n) {
2346
2346
  if (n.operator !== "&&" && n.operator !== "||")
@@ -2391,7 +2391,7 @@ h.prototype.stepObjectExpression = function(e, t, n) {
2391
2391
  return t.Pa = i, new b(o.value, t.scope);
2392
2392
  }
2393
2393
  for (s in t.Ja)
2394
- n = t.Ja[s], "get" in n || "set" in n ? this.g(t.u, s, Je, {
2394
+ n = t.Ja[s], "get" in n || "set" in n ? this.g(t.u, s, Ye, {
2395
2395
  configurable: !0,
2396
2396
  enumerable: !0,
2397
2397
  get: n.get,
@@ -2443,11 +2443,11 @@ h.prototype.stepSwitchStatement = function(e, t, n) {
2443
2443
  }
2444
2444
  };
2445
2445
  h.prototype.stepThisExpression = function(e) {
2446
- e.pop(), e[e.length - 1].value = nn(this, "this");
2446
+ e.pop(), e[e.length - 1].value = tn(this, "this");
2447
2447
  };
2448
2448
  h.prototype.stepThrowStatement = function(e, t, n) {
2449
2449
  if (t.ka)
2450
- w(this, t.value);
2450
+ S(this, t.value);
2451
2451
  else
2452
2452
  return t.ka = !0, new b(n.K, t.scope);
2453
2453
  };
@@ -2455,7 +2455,7 @@ h.prototype.stepTryStatement = function(e, t, n) {
2455
2455
  if (!t.Rb)
2456
2456
  return t.Rb = !0, new b(n.block, t.scope);
2457
2457
  if (t.ea && t.ea.type === 4 && !t.Tb && n.Ea)
2458
- return t.Tb = !0, e = tn(this, t.scope), this.g(e.object, n.Ea.Ua.name, t.ea.value), t.ea = void 0, new b(n.Ea.body, e);
2458
+ 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);
2459
2459
  if (!t.Sb && n.fb)
2460
2460
  return t.Sb = !0, new b(n.fb, t.scope);
2461
2461
  e.pop(), t.ea && ze(this, t.ea.type, t.ea.value, t.ea.label);
@@ -2485,7 +2485,7 @@ h.prototype.stepUnaryExpression = function(e, t, n) {
2485
2485
  try {
2486
2486
  delete o.h[r];
2487
2487
  } catch {
2488
- t.scope.S ? w(this, this.j, "Cannot delete property '" + r + "' of '" + o + "'") : n = !1;
2488
+ t.scope.S ? S(this, this.j, "Cannot delete property '" + r + "' of '" + o + "'") : n = !1;
2489
2489
  }
2490
2490
  }
2491
2491
  r = n;
@@ -2505,7 +2505,7 @@ h.prototype.stepUpdateExpression = function(e, t, n) {
2505
2505
  if (!t.ja)
2506
2506
  return t.ja = !0, e = new b(n.K, t.scope), e.sa = !0, e;
2507
2507
  if (t.Ga || (t.Ga = t.value), t.Ba && (t.ma = t.value), !t.Ba) {
2508
- var r = rn(this, t.Ga);
2508
+ var r = nn(this, t.Ga);
2509
2509
  if (t.ma = r, this.P)
2510
2510
  return t.Ba = !0, qe(this, r, t.Ga);
2511
2511
  }
@@ -2518,15 +2518,15 @@ h.prototype.stepUpdateExpression = function(e, t, n) {
2518
2518
  o = r - 1;
2519
2519
  else
2520
2520
  throw SyntaxError("Unknown update expression: " + n.operator);
2521
- if (n = n.prefix ? o : r, r = on(this, t.Ga, o))
2522
- return t.ta = !0, t.ib = n, an(this, r, t.Ga, o);
2521
+ if (n = n.prefix ? o : r, r = rn(this, t.Ga, o))
2522
+ return t.ta = !0, t.ib = n, on(this, r, t.Ga, o);
2523
2523
  e.pop(), e[e.length - 1].value = n;
2524
2524
  }
2525
2525
  };
2526
2526
  h.prototype.stepVariableDeclaration = function(e, t, n) {
2527
2527
  n = n.fa;
2528
2528
  var r = t.A || 0, o = n[r];
2529
- for (t.Bb && o && (hr(this, o.id.name, t.value), t.Bb = !1, o = n[++r]); o; ) {
2529
+ for (t.Bb && o && (pr(this, o.id.name, t.value), t.Bb = !1, o = n[++r]); o; ) {
2530
2530
  if (o.ua)
2531
2531
  return t.A = r, t.Bb = !0, t.Pa = o.id.name, new b(o.ua, t.scope);
2532
2532
  o = n[++r];
@@ -2534,7 +2534,7 @@ h.prototype.stepVariableDeclaration = function(e, t, n) {
2534
2534
  e.pop();
2535
2535
  };
2536
2536
  h.prototype.stepWithStatement = function(e, t, n) {
2537
- return t.Ca ? (e.pop(), e = tn(this, t.scope, t.value), new b(n.body, e)) : (t.Ca = !0, new b(n.object, t.scope));
2537
+ 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));
2538
2538
  };
2539
2539
  h.prototype.stepWhileStatement = h.prototype.stepDoWhileStatement;
2540
2540
  ve.Interpreter = h;
@@ -2552,8 +2552,8 @@ h.prototype.pseudoToNative = h.prototype.R;
2552
2552
  h.prototype.getGlobalScope = h.prototype.Xb;
2553
2553
  h.prototype.getStateStack = h.prototype.Yb;
2554
2554
  h.prototype.setStateStack = h.prototype.ec;
2555
- h.VALUE_IN_DESCRIPTOR = Je;
2556
- const Lo = (e) => e.split(`
2555
+ h.VALUE_IN_DESCRIPTOR = Ye;
2556
+ const Mo = (e) => e.split(`
2557
2557
  `).map((t) => {
2558
2558
  const n = t.trim();
2559
2559
  if (t.includes("__awaiter"))
@@ -2566,7 +2566,7 @@ const Lo = (e) => e.split(`
2566
2566
  ${u}
2567
2567
  `;
2568
2568
  }).filter(Boolean).join(`
2569
- `), Xn = (e) => e + "JSON", _o = ({
2569
+ `), Gn = (e) => e + "JSON", Do = ({
2570
2570
  builder: e,
2571
2571
  context: t,
2572
2572
  event: n,
@@ -2578,58 +2578,58 @@ const Lo = (e) => e.split(`
2578
2578
  const u = {
2579
2579
  ...r,
2580
2580
  ...o
2581
- }, d = cr({
2581
+ }, d = sr({
2582
2582
  builder: e,
2583
2583
  context: t,
2584
2584
  event: n,
2585
2585
  state: u
2586
2586
  }), k = d.map(([v]) => {
2587
- const x = Xn(v);
2588
- return `var ${v} = ${x} === undefined ? undefined : JSON.parse(${x});`;
2587
+ const w = Gn(v);
2588
+ return `var ${v} = ${w} === undefined ? undefined : JSON.parse(${w});`;
2589
2589
  }).join(`
2590
- `), E = Lo(s);
2590
+ `), E = Mo(s);
2591
2591
  if (E === "") {
2592
- J.warn("Skipping evaluation of empty code block.");
2592
+ Y.warn("Skipping evaluation of empty code block.");
2593
2593
  return;
2594
2594
  }
2595
- const S = `
2595
+ const y = `
2596
2596
  function theFunction() {
2597
2597
  ${k}
2598
2598
 
2599
2599
  ${E}
2600
2600
  }
2601
2601
  theFunction();
2602
- `, P = (v, x) => {
2603
- const B = fr(u, v, x);
2604
- i == null || i(B);
2605
- }, j = function(v, x) {
2606
- d.forEach(([B, $]) => {
2607
- const m = JSON.stringify($);
2608
- v.setProperty(x, Xn(B), m);
2609
- }), v.setProperty(x, "setRootState", v.createNativeFunction(P));
2602
+ `, R = (v, w) => {
2603
+ const U = cr(u, v, w);
2604
+ i == null || i(U);
2605
+ }, j = function(v, w) {
2606
+ d.forEach(([U, N]) => {
2607
+ const x = JSON.stringify(N);
2608
+ v.setProperty(w, Gn(U), x);
2609
+ }), v.setProperty(w, "setRootState", v.createNativeFunction(R));
2610
2610
  };
2611
2611
  try {
2612
- const v = new h(S, j);
2612
+ const v = new h(y, j);
2613
2613
  return v.run(), v.pseudoToNative(v.value);
2614
2614
  } catch (v) {
2615
- J.warn("Custom code error in edge runtime. NOTE: your code must be ES5 JavaScript.", {
2615
+ Y.warn("Custom code error in edge runtime. NOTE: your code must be ES5 JavaScript.", {
2616
2616
  e: v
2617
2617
  });
2618
2618
  return;
2619
2619
  }
2620
2620
  }, oe = (e) => e != null;
2621
- function Wo() {
2621
+ function Vo() {
2622
2622
  var e;
2623
2623
  return typeof process < "u" && oe((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
2624
2624
  }
2625
- const $o = () => {
2625
+ const Lo = () => {
2626
2626
  var r;
2627
- if (!Wo())
2627
+ if (!Vo())
2628
2628
  return !1;
2629
2629
  const e = process.arch === "arm64", t = process.version.startsWith("v20"), n = (r = process.env.NODE_OPTIONS) == null ? void 0 : r.includes("--no-node-snapshot");
2630
- return e && t && !n ? (J.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;
2631
- }, Ho = (e) => G() || $o() ? ko(e) : _o(e);
2632
- function sn({
2630
+ 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;
2631
+ }, _o = (e) => X() || Lo() ? So(e) : Do(e);
2632
+ function an({
2633
2633
  code: e,
2634
2634
  context: t,
2635
2635
  localState: n,
@@ -2639,14 +2639,14 @@ function sn({
2639
2639
  isExpression: s = !0
2640
2640
  }) {
2641
2641
  if (e === "") {
2642
- J.warn("Skipping evaluation of empty code block.");
2642
+ Y.warn("Skipping evaluation of empty code block.");
2643
2643
  return;
2644
2644
  }
2645
2645
  const u = {
2646
- code: xo(e, {
2646
+ code: bo(e, {
2647
2647
  isExpression: s
2648
2648
  }),
2649
- builder: wo(),
2649
+ builder: vo(),
2650
2650
  context: t,
2651
2651
  event: i,
2652
2652
  rootSetState: o,
@@ -2654,16 +2654,16 @@ function sn({
2654
2654
  localState: n
2655
2655
  };
2656
2656
  try {
2657
- return Ho(u);
2657
+ return _o(u);
2658
2658
  } catch (d) {
2659
- J.error("Failed code evaluation: " + d.message, {
2659
+ Y.error("Failed code evaluation: " + d.message, {
2660
2660
  code: e
2661
2661
  });
2662
2662
  return;
2663
2663
  }
2664
2664
  }
2665
2665
  const pt = (e) => JSON.parse(JSON.stringify(e));
2666
- const Ko = ({
2666
+ const Wo = ({
2667
2667
  block: e,
2668
2668
  context: t,
2669
2669
  localState: n,
@@ -2682,14 +2682,14 @@ const Ko = ({
2682
2682
  }
2683
2683
  };
2684
2684
  for (const u in e.bindings) {
2685
- const d = e.bindings[u], k = sn({
2685
+ const d = e.bindings[u], k = an({
2686
2686
  code: d,
2687
2687
  localState: n,
2688
2688
  rootState: r,
2689
2689
  rootSetState: o,
2690
2690
  context: t
2691
2691
  });
2692
- fr(s, u, k);
2692
+ cr(s, u, k);
2693
2693
  }
2694
2694
  return s;
2695
2695
  };
@@ -2702,7 +2702,7 @@ function ct({
2702
2702
  rootSetState: i
2703
2703
  }) {
2704
2704
  const s = e;
2705
- return n ? Ko({
2705
+ return n ? Wo({
2706
2706
  block: s,
2707
2707
  localState: r,
2708
2708
  rootState: o,
@@ -2710,7 +2710,7 @@ function ct({
2710
2710
  context: t
2711
2711
  }) : s;
2712
2712
  }
2713
- const Go = ({
2713
+ const $o = ({
2714
2714
  block: e,
2715
2715
  context: t,
2716
2716
  registeredComponents: n
@@ -2732,7 +2732,7 @@ const Go = ({
2732
2732
  console.warn(`
2733
2733
  Could not find a registered component named "${r}".
2734
2734
  If you registered it, is the file that registered it imported by the file that needs to render it?`);
2735
- }, Xo = ({
2735
+ }, Ho = ({
2736
2736
  block: e,
2737
2737
  context: t
2738
2738
  }) => {
@@ -2742,7 +2742,7 @@ const Go = ({
2742
2742
  } = e;
2743
2743
  if (!(n != null && n.collection))
2744
2744
  return;
2745
- const o = sn({
2745
+ const o = an({
2746
2746
  code: n.collection,
2747
2747
  localState: t.localState,
2748
2748
  rootState: t.rootState,
@@ -2765,7 +2765,7 @@ const Go = ({
2765
2765
  },
2766
2766
  block: r
2767
2767
  }));
2768
- }, yr = {
2768
+ }, mr = {
2769
2769
  small: {
2770
2770
  min: 320,
2771
2771
  default: 321,
@@ -2781,11 +2781,11 @@ const Go = ({
2781
2781
  default: 991,
2782
2782
  max: 1200
2783
2783
  }
2784
- }, Jn = (e, t = yr) => `@media (max-width: ${t[e].max}px)`, vr = ({
2784
+ }, Xn = (e, t = mr) => `@media (max-width: ${t[e].max}px)`, gr = ({
2785
2785
  small: e,
2786
2786
  medium: t
2787
2787
  }) => {
2788
- const n = pt(yr);
2788
+ const n = pt(mr);
2789
2789
  if (!e || !t)
2790
2790
  return n;
2791
2791
  const r = Math.floor(e / 2);
@@ -2807,17 +2807,17 @@ const Go = ({
2807
2807
  min: i,
2808
2808
  default: i + 1
2809
2809
  }, n;
2810
- }, Jo = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), br = (e) => Object.entries(e).map(([n, r]) => {
2810
+ }, Ko = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), yr = (e) => Object.entries(e).map(([n, r]) => {
2811
2811
  if (typeof r == "string")
2812
- return `${Jo(n)}: ${r};`;
2813
- }).filter(oe), Yo = (e) => br(e).join(`
2814
- `), Lt = ({
2812
+ return `${Ko(n)}: ${r};`;
2813
+ }).filter(oe), Go = (e) => yr(e).join(`
2814
+ `), Vt = ({
2815
2815
  mediaQuery: e,
2816
2816
  className: t,
2817
2817
  styles: n
2818
2818
  }) => {
2819
2819
  const r = `.${t} {
2820
- ${Yo(n)}
2820
+ ${Go(n)}
2821
2821
  }`;
2822
2822
  return e ? `${e} {
2823
2823
  ${r}
@@ -2826,7 +2826,7 @@ const Go = ({
2826
2826
  function dt(e) {
2827
2827
  return /* @__PURE__ */ C("style", { dangerouslySetInnerHTML: { __html: e.styles }, id: e.id });
2828
2828
  }
2829
- function zo(e) {
2829
+ function Xo(e) {
2830
2830
  const t = function() {
2831
2831
  const o = ct({
2832
2832
  block: e.block,
@@ -2838,7 +2838,7 @@ function zo(e) {
2838
2838
  });
2839
2839
  return oe(o.hide) ? !o.hide : oe(o.show) ? o.show : !0;
2840
2840
  }, n = function() {
2841
- var x;
2841
+ var w;
2842
2842
  const o = ct({
2843
2843
  block: e.block,
2844
2844
  localState: e.context.localState,
@@ -2846,37 +2846,37 @@ function zo(e) {
2846
2846
  rootSetState: e.context.rootSetState,
2847
2847
  context: e.context.context,
2848
2848
  shouldEvaluateBindings: !0
2849
- }), i = o.responsiveStyles, s = e.context.content, u = vr(
2850
- ((x = s == null ? void 0 : s.meta) == null ? void 0 : x.breakpoints) || {}
2851
- ), d = i == null ? void 0 : i.large, k = i == null ? void 0 : i.medium, E = i == null ? void 0 : i.small, S = o.id;
2852
- if (!S)
2849
+ }), i = o.responsiveStyles, s = e.context.content, u = gr(
2850
+ ((w = s == null ? void 0 : s.meta) == null ? void 0 : w.breakpoints) || {}
2851
+ ), d = i == null ? void 0 : i.large, k = i == null ? void 0 : i.medium, E = i == null ? void 0 : i.small, y = o.id;
2852
+ if (!y)
2853
2853
  return "";
2854
- const P = d ? Lt({
2855
- className: S,
2854
+ const R = d ? Vt({
2855
+ className: y,
2856
2856
  styles: d
2857
- }) : "", j = k ? Lt({
2858
- className: S,
2857
+ }) : "", j = k ? Vt({
2858
+ className: y,
2859
2859
  styles: k,
2860
- mediaQuery: Jn(
2860
+ mediaQuery: Xn(
2861
2861
  "medium",
2862
2862
  u
2863
2863
  )
2864
- }) : "", v = E ? Lt({
2865
- className: S,
2864
+ }) : "", v = E ? Vt({
2865
+ className: y,
2866
2866
  styles: E,
2867
- mediaQuery: Jn(
2867
+ mediaQuery: Xn(
2868
2868
  "small",
2869
2869
  u
2870
2870
  )
2871
2871
  }) : "";
2872
- return [P, j, v].join(" ");
2872
+ return [R, j, v].join(" ");
2873
2873
  };
2874
- return /* @__PURE__ */ C(_, { children: n() && t() ? /* @__PURE__ */ C(_, { children: /* @__PURE__ */ C(dt, { styles: n() }) }) : null });
2874
+ return /* @__PURE__ */ C(W, { children: n() && t() ? /* @__PURE__ */ C(W, { children: /* @__PURE__ */ C(dt, { styles: n() }) }) : null });
2875
2875
  }
2876
- function qo(e) {
2876
+ function Yo(e) {
2877
2877
  return e.charAt(0).toUpperCase() + e.slice(1);
2878
2878
  }
2879
- const Zo = (e) => `on${qo(e)}`, Qo = (e, t) => (n) => sn({
2879
+ const Jo = (e) => `on${Yo(e)}`, zo = (e, t) => (n) => an({
2880
2880
  code: e,
2881
2881
  context: t.context,
2882
2882
  localState: t.localState,
@@ -2885,13 +2885,13 @@ const Zo = (e) => `on${qo(e)}`, Qo = (e, t) => (n) => sn({
2885
2885
  event: n,
2886
2886
  isExpression: !1
2887
2887
  });
2888
- function Wa(e) {
2888
+ function _a(e) {
2889
2889
  const t = {}, n = e.block.actions ?? {};
2890
2890
  for (const r in n) {
2891
2891
  if (!n.hasOwnProperty(r))
2892
2892
  continue;
2893
2893
  const o = n[r];
2894
- let i = Zo(r);
2894
+ let i = Jo(r);
2895
2895
  if (e.stripPrefix)
2896
2896
  switch (he) {
2897
2897
  case "vue":
@@ -2901,29 +2901,29 @@ function Wa(e) {
2901
2901
  i = i.replace("on:", "");
2902
2902
  break;
2903
2903
  }
2904
- t[i] = Qo(o, e);
2904
+ t[i] = zo(o, e);
2905
2905
  }
2906
2906
  return t;
2907
2907
  }
2908
- function ei({
2908
+ function qo({
2909
2909
  style: e
2910
2910
  }) {
2911
2911
  return e;
2912
2912
  }
2913
- const ti = ({
2913
+ const Zo = ({
2914
2914
  block: e,
2915
2915
  context: t
2916
- }) => Sr(ei({
2916
+ }) => vr(qo({
2917
2917
  style: e.style || {},
2918
2918
  context: t,
2919
2919
  block: e
2920
2920
  }));
2921
- function Sr(e) {
2921
+ function vr(e) {
2922
2922
  switch (he) {
2923
2923
  case "svelte":
2924
2924
  case "vue":
2925
2925
  case "solid":
2926
- return br(e).join(" ");
2926
+ return yr(e).join(" ");
2927
2927
  case "qwik":
2928
2928
  case "reactNative":
2929
2929
  case "react":
@@ -2931,36 +2931,36 @@ function Sr(e) {
2931
2931
  return e;
2932
2932
  }
2933
2933
  }
2934
- function ni({
2934
+ function Qo({
2935
2935
  properties: e
2936
2936
  }) {
2937
2937
  return e;
2938
2938
  }
2939
- const ri = (e) => ({
2939
+ const ei = (e) => ({
2940
2940
  href: e.href
2941
2941
  });
2942
- function oi({
2942
+ function ti({
2943
2943
  block: e,
2944
2944
  context: t
2945
2945
  }) {
2946
2946
  var r;
2947
2947
  const n = {
2948
- ...ri(e),
2948
+ ...ei(e),
2949
2949
  ...e.properties,
2950
2950
  "builder-id": e.id,
2951
- style: ti({
2951
+ style: Zo({
2952
2952
  block: e,
2953
2953
  context: t
2954
2954
  }),
2955
- [Xt()]: [e.id, "builder-block", e.class, (r = e.properties) == null ? void 0 : r.class].filter(Boolean).join(" ")
2955
+ [Gt()]: [e.id, "builder-block", e.class, (r = e.properties) == null ? void 0 : r.class].filter(Boolean).join(" ")
2956
2956
  };
2957
- return ni({
2957
+ return Qo({
2958
2958
  properties: n,
2959
2959
  context: t,
2960
2960
  block: e
2961
2961
  });
2962
2962
  }
2963
- const ii = ({
2963
+ const ni = ({
2964
2964
  componentOptions: e,
2965
2965
  builderBlock: t,
2966
2966
  context: n,
@@ -2976,7 +2976,7 @@ const ii = ({
2976
2976
  * component itself directly. Otherwise, they are provided to the wrapper element.
2977
2977
  */
2978
2978
  ...o ? {
2979
- attributes: oi({
2979
+ attributes: ti({
2980
2980
  block: t,
2981
2981
  context: s
2982
2982
  })
@@ -2992,11 +2992,11 @@ const ii = ({
2992
2992
  };
2993
2993
  function Yn(e) {
2994
2994
  var n;
2995
- const t = e.isInteractive ? no : e.componentRef;
2996
- return /* @__PURE__ */ C(_, { children: e.componentRef ? /* @__PURE__ */ C(_, { children: /* @__PURE__ */ C(
2995
+ const t = e.isInteractive ? Zr : e.componentRef;
2996
+ return /* @__PURE__ */ C(W, { children: e.componentRef ? /* @__PURE__ */ C(W, { children: /* @__PURE__ */ C(
2997
2997
  t,
2998
2998
  {
2999
- ...ii({
2999
+ ...ni({
3000
3000
  componentOptions: e.componentOptions,
3001
3001
  builderBlock: e.builderBlock,
3002
3002
  context: e.context,
@@ -3019,7 +3019,7 @@ function Yn(e) {
3019
3019
  }
3020
3020
  ) }) : null });
3021
3021
  }
3022
- function ai(e) {
3022
+ function ri(e) {
3023
3023
  const t = e.repeatContext;
3024
3024
  return /* @__PURE__ */ C(
3025
3025
  ht,
@@ -3032,15 +3032,15 @@ function ai(e) {
3032
3032
  );
3033
3033
  }
3034
3034
  function ht(e) {
3035
- var k, E, S;
3035
+ var k, E, y;
3036
3036
  const t = function() {
3037
- return Go({
3037
+ return $o({
3038
3038
  block: e.block,
3039
3039
  context: e.context,
3040
3040
  registeredComponents: e.registeredComponents
3041
3041
  });
3042
3042
  }, n = function() {
3043
- return Xo({
3043
+ return Ho({
3044
3044
  block: e.block,
3045
3045
  context: e.context
3046
3046
  });
@@ -3058,26 +3058,26 @@ function ht(e) {
3058
3058
  var v;
3059
3059
  return e.block.tagName === "a" || ((v = r().properties) == null ? void 0 : v.href) || r().href ? e.linkComponent || "a" : e.block.tagName || "div";
3060
3060
  }, i = function() {
3061
- var x, B;
3062
- if ((x = e.block.repeat) != null && x.collection)
3063
- return !!((B = n()) != null && B.length);
3061
+ var w, U;
3062
+ if ((w = e.block.repeat) != null && w.collection)
3063
+ return !!((U = n()) != null && U.length);
3064
3064
  const j = "hide" in r() ? r().hide : !1;
3065
3065
  return ("show" in r() ? r().show : !0) && !j;
3066
3066
  }, s = function() {
3067
3067
  var v;
3068
3068
  return !((v = t()) != null && v.component) && !n() ? r().children ?? [] : [];
3069
3069
  }, u = function() {
3070
- var j, v, x, B, $, m, ee, te, X, U;
3070
+ var j, v, w, U, N, x, Q, H, ee, M;
3071
3071
  return {
3072
3072
  blockChildren: r().children ?? [],
3073
3073
  componentRef: (j = t()) == null ? void 0 : j.component,
3074
3074
  componentOptions: {
3075
- ...yo(r()),
3075
+ ...ho(r()),
3076
3076
  builderContext: e.context,
3077
- ...((v = t()) == null ? void 0 : v.name) === "Core:Button" || ((x = t()) == null ? void 0 : x.name) === "Symbol" || ((B = t()) == null ? void 0 : B.name) === "Columns" || (($ = t()) == null ? void 0 : $.name) === "Form:Form" ? {
3077
+ ...((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" ? {
3078
3078
  builderLinkComponent: e.linkComponent
3079
3079
  } : {},
3080
- ...((m = t()) == null ? void 0 : m.name) === "Symbol" || ((ee = t()) == null ? void 0 : ee.name) === "Columns" || ((te = t()) == null ? void 0 : te.name) === "Form:Form" ? {
3080
+ ...((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" ? {
3081
3081
  builderComponents: e.registeredComponents
3082
3082
  } : {}
3083
3083
  },
@@ -3085,13 +3085,13 @@ function ht(e) {
3085
3085
  linkComponent: e.linkComponent,
3086
3086
  registeredComponents: e.registeredComponents,
3087
3087
  builderBlock: r(),
3088
- includeBlockProps: ((X = t()) == null ? void 0 : X.noWrap) === !0,
3089
- isInteractive: !((U = t()) != null && U.isRSC)
3088
+ includeBlockProps: ((ee = t()) == null ? void 0 : ee.noWrap) === !0,
3089
+ isInteractive: !((M = t()) != null && M.isRSC)
3090
3090
  };
3091
3091
  }, d = e.context;
3092
- return /* @__PURE__ */ C(_, { children: i() ? /* @__PURE__ */ xe(_, { children: [
3093
- /* @__PURE__ */ C(zo, { block: e.block, context: e.context }),
3094
- (k = t()) != null && k.noWrap ? /* @__PURE__ */ C(_, { children: /* @__PURE__ */ C(
3092
+ return /* @__PURE__ */ C(W, { children: i() ? /* @__PURE__ */ xe(W, { children: [
3093
+ /* @__PURE__ */ C(Xo, { block: e.block, context: e.context }),
3094
+ (k = t()) != null && k.noWrap ? /* @__PURE__ */ C(W, { children: /* @__PURE__ */ C(
3095
3095
  Yn,
3096
3096
  {
3097
3097
  componentRef: u().componentRef,
@@ -3104,17 +3104,17 @@ function ht(e) {
3104
3104
  includeBlockProps: u().includeBlockProps,
3105
3105
  isInteractive: u().isInteractive
3106
3106
  }
3107
- ) }) : /* @__PURE__ */ C(_, { children: n() ? /* @__PURE__ */ C(_, { children: (S = n()) == null ? void 0 : S.map((P, j) => /* @__PURE__ */ C(
3108
- ai,
3107
+ ) }) : /* @__PURE__ */ C(W, { children: n() ? /* @__PURE__ */ C(W, { children: (y = n()) == null ? void 0 : y.map((R, j) => /* @__PURE__ */ C(
3108
+ ri,
3109
3109
  {
3110
- repeatContext: P.context,
3111
- block: P.block,
3110
+ repeatContext: R.context,
3111
+ block: R.block,
3112
3112
  registeredComponents: e.registeredComponents,
3113
3113
  linkComponent: e.linkComponent
3114
3114
  },
3115
3115
  j
3116
- )) }) : /* @__PURE__ */ C(_, { children: /* @__PURE__ */ xe(
3117
- ro,
3116
+ )) }) : /* @__PURE__ */ C(W, { children: /* @__PURE__ */ xe(
3117
+ Qr,
3118
3118
  {
3119
3119
  Wrapper: o(),
3120
3120
  block: r(),
@@ -3135,25 +3135,25 @@ function ht(e) {
3135
3135
  isInteractive: u().isInteractive
3136
3136
  }
3137
3137
  ),
3138
- (E = s()) == null ? void 0 : E.map((P) => /* @__PURE__ */ C(
3138
+ (E = s()) == null ? void 0 : E.map((R) => /* @__PURE__ */ C(
3139
3139
  ht,
3140
3140
  {
3141
- block: P,
3141
+ block: R,
3142
3142
  context: d,
3143
3143
  registeredComponents: e.registeredComponents,
3144
3144
  linkComponent: e.linkComponent
3145
3145
  },
3146
- P.id
3146
+ R.id
3147
3147
  ))
3148
3148
  ]
3149
3149
  }
3150
3150
  ) }) })
3151
3151
  ] }) : null });
3152
3152
  }
3153
- function mt(e) {
3153
+ function sn(e) {
3154
3154
  var t, n, r;
3155
3155
  return /* @__PURE__ */ C(
3156
- oo,
3156
+ eo,
3157
3157
  {
3158
3158
  blocks: e.blocks,
3159
3159
  parent: e.parent,
@@ -3161,7 +3161,7 @@ function mt(e) {
3161
3161
  styleProp: e.styleProp,
3162
3162
  BlocksWrapper: (t = e.context) == null ? void 0 : t.BlocksWrapper,
3163
3163
  BlocksWrapperProps: (n = e.context) == null ? void 0 : n.BlocksWrapperProps,
3164
- children: e.blocks ? /* @__PURE__ */ C(_, { children: (r = e.blocks) == null ? void 0 : r.map((o) => /* @__PURE__ */ C(
3164
+ children: e.blocks ? /* @__PURE__ */ C(W, { children: (r = e.blocks) == null ? void 0 : r.map((o) => /* @__PURE__ */ C(
3165
3165
  ht,
3166
3166
  {
3167
3167
  block: o,
@@ -3174,24 +3174,24 @@ function mt(e) {
3174
3174
  }
3175
3175
  );
3176
3176
  }
3177
- function si(e) {
3177
+ function oi(e) {
3178
3178
  var j;
3179
- const t = typeof e.space == "number" ? e.space || 0 : 20, n = e.columns || [], r = e.stackColumnsAt || "tablet", o = function(x) {
3180
- var B;
3181
- return ((B = n[x]) == null ? void 0 : B.width) || 100 / n.length;
3182
- }, i = function(x) {
3183
- const B = t * (n.length - 1) / n.length;
3184
- return `calc(${o(x)}% - ${B}px)`;
3179
+ const t = typeof e.space == "number" ? e.space || 0 : 20, n = e.columns || [], r = e.stackColumnsAt || "tablet", o = function(w) {
3180
+ var U;
3181
+ return ((U = n[w]) == null ? void 0 : U.width) || 100 / n.length;
3182
+ }, i = function(w) {
3183
+ const U = t * (n.length - 1) / n.length;
3184
+ return `calc(${o(w)}% - ${U}px)`;
3185
3185
  }, s = function({
3186
- stackedStyle: x,
3187
- desktopStyle: B
3186
+ stackedStyle: w,
3187
+ desktopStyle: U
3188
3188
  }) {
3189
- return r === "tablet" ? x : B;
3189
+ return r === "tablet" ? w : U;
3190
3190
  }, u = function({
3191
- stackedStyle: x,
3192
- desktopStyle: B
3191
+ stackedStyle: w,
3192
+ desktopStyle: U
3193
3193
  }) {
3194
- return r === "never" ? B : x;
3194
+ return r === "never" ? U : w;
3195
3195
  }, d = e.stackColumnsAt === "never" ? "row" : e.reverseColumnsWhenStacked ? "column-reverse" : "column", k = function() {
3196
3196
  return {
3197
3197
  "--flex-dir": d,
@@ -3200,41 +3200,41 @@ function si(e) {
3200
3200
  desktopStyle: "row"
3201
3201
  })
3202
3202
  };
3203
- }, E = function(x) {
3204
- const B = x === 0 ? 0 : t, $ = i(x), m = `${B}px`, ee = "100%", te = 0;
3203
+ }, E = function(w) {
3204
+ const U = w === 0 ? 0 : t, N = i(w), x = `${U}px`, Q = "100%", H = 0;
3205
3205
  return {
3206
3206
  ...{
3207
3207
  display: "flex",
3208
3208
  flexDirection: "column",
3209
3209
  alignItems: "stretch"
3210
3210
  },
3211
- width: $,
3212
- ["marginLeft"]: m,
3211
+ width: N,
3212
+ ["marginLeft"]: x,
3213
3213
  "--column-width-mobile": u({
3214
- stackedStyle: ee,
3215
- desktopStyle: $
3214
+ stackedStyle: Q,
3215
+ desktopStyle: N
3216
3216
  }),
3217
3217
  "--column-margin-left-mobile": u({
3218
- stackedStyle: te,
3219
- desktopStyle: m
3218
+ stackedStyle: H,
3219
+ desktopStyle: x
3220
3220
  }),
3221
3221
  "--column-width-tablet": s({
3222
- stackedStyle: ee,
3223
- desktopStyle: $
3222
+ stackedStyle: Q,
3223
+ desktopStyle: N
3224
3224
  }),
3225
3225
  "--column-margin-left-tablet": s({
3226
- stackedStyle: te,
3227
- desktopStyle: m
3226
+ stackedStyle: H,
3227
+ desktopStyle: x
3228
3228
  })
3229
3229
  };
3230
- }, S = function(x) {
3231
- var $, m;
3232
- return vr(
3233
- ((m = ($ = e.builderContext.content) == null ? void 0 : $.meta) == null ? void 0 : m.breakpoints) || {}
3234
- )[x].max;
3235
- }, P = function() {
3230
+ }, y = function(w) {
3231
+ var N, x;
3232
+ return gr(
3233
+ ((x = (N = e.builderContext.content) == null ? void 0 : N.meta) == null ? void 0 : x.breakpoints) || {}
3234
+ )[w].max;
3235
+ }, R = function() {
3236
3236
  return `
3237
- @media (max-width: ${S("medium")}px) {
3237
+ @media (max-width: ${y("medium")}px) {
3238
3238
  .${e.builderBlock.id}-breakpoints {
3239
3239
  flex-direction: var(--flex-dir-tablet);
3240
3240
  align-items: stretch;
@@ -3246,7 +3246,7 @@ function si(e) {
3246
3246
  }
3247
3247
  }
3248
3248
 
3249
- @media (max-width: ${S("small")}px) {
3249
+ @media (max-width: ${y("small")}px) {
3250
3250
  .${e.builderBlock.id}-breakpoints {
3251
3251
  flex-direction: var(--flex-dir);
3252
3252
  align-items: stretch;
@@ -3259,16 +3259,16 @@ function si(e) {
3259
3259
  },
3260
3260
  `;
3261
3261
  };
3262
- return /* @__PURE__ */ xe(_, { children: [
3262
+ return /* @__PURE__ */ xe(W, { children: [
3263
3263
  /* @__PURE__ */ xe(
3264
3264
  "div",
3265
3265
  {
3266
3266
  className: `builder-columns ${e.builderBlock.id}-breakpoints div-65bb9135`,
3267
3267
  style: k(),
3268
3268
  children: [
3269
- /* @__PURE__ */ C(_, { children: /* @__PURE__ */ C(dt, { styles: P() }) }),
3270
- (j = e.columns) == null ? void 0 : j.map((v, x) => /* @__PURE__ */ C(
3271
- io,
3269
+ /* @__PURE__ */ C(W, { children: /* @__PURE__ */ C(dt, { styles: R() }) }),
3270
+ (j = e.columns) == null ? void 0 : j.map((v, w) => /* @__PURE__ */ C(
3271
+ to,
3272
3272
  {
3273
3273
  TagName: v.link ? e.builderLinkComponent || "a" : "div",
3274
3274
  actionAttributes: {},
@@ -3276,13 +3276,13 @@ function si(e) {
3276
3276
  ...v.link ? {
3277
3277
  href: v.link
3278
3278
  } : {},
3279
- [Xt()]: "builder-column",
3280
- style: Sr(E(x))
3279
+ [Gt()]: "builder-column",
3280
+ style: vr(E(w))
3281
3281
  },
3282
3282
  children: /* @__PURE__ */ C(
3283
- mt,
3283
+ sn,
3284
3284
  {
3285
- path: `component.options.columns.${x}.blocks`,
3285
+ path: `component.options.columns.${w}.blocks`,
3286
3286
  parent: e.builderBlock.id,
3287
3287
  styleProp: {
3288
3288
  flexGrow: "1"
@@ -3294,7 +3294,7 @@ function si(e) {
3294
3294
  }
3295
3295
  )
3296
3296
  },
3297
- x
3297
+ w
3298
3298
  ))
3299
3299
  ]
3300
3300
  }
@@ -3305,42 +3305,42 @@ function si(e) {
3305
3305
  }` })
3306
3306
  ] });
3307
3307
  }
3308
- function zn(e) {
3308
+ function Jn(e) {
3309
3309
  return e.replace(/http(s)?:/, "");
3310
3310
  }
3311
- function li(e = "", t, n) {
3311
+ function ii(e = "", t, n) {
3312
3312
  const r = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), o = e.indexOf("?") !== -1 ? "&" : "?";
3313
3313
  return e.match(r) ? e.replace(r, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + o + t + "=" + encodeURIComponent(n);
3314
3314
  }
3315
- function ci(e, t) {
3315
+ function ai(e, t) {
3316
3316
  if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
3317
3317
  return e;
3318
3318
  if (t === "master")
3319
- return zn(e);
3319
+ return Jn(e);
3320
3320
  const n = e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);
3321
3321
  if (n) {
3322
3322
  const r = e.split(n[0]), o = n[3], i = t.match("x") ? t : `${t}x`;
3323
- return zn(`${r[0]}_${i}${o}`);
3323
+ return Jn(`${r[0]}_${i}${o}`);
3324
3324
  }
3325
3325
  return null;
3326
3326
  }
3327
- function $a(e) {
3327
+ function Wa(e) {
3328
3328
  if (!e)
3329
3329
  return e;
3330
3330
  const t = [100, 200, 400, 800, 1200, 1600, 2e3];
3331
3331
  if (e.match(/builder\.io/)) {
3332
3332
  let n = e;
3333
3333
  const r = Number(e.split("?width=")[1]);
3334
- return isNaN(r) || (n = `${n} ${r}w`), t.filter((o) => o !== r).map((o) => `${li(e, "width", o)} ${o}w`).concat([n]).join(", ");
3334
+ return isNaN(r) || (n = `${n} ${r}w`), t.filter((o) => o !== r).map((o) => `${ii(e, "width", o)} ${o}w`).concat([n]).join(", ");
3335
3335
  }
3336
- return e.match(/cdn\.shopify\.com/) ? t.map((n) => [ci(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, r]) => `${n} ${r}w`).concat([e]).join(", ") : e;
3336
+ return e.match(/cdn\.shopify\.com/) ? t.map((n) => [ai(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, r]) => `${n} ${r}w`).concat([e]).join(", ") : e;
3337
3337
  }
3338
- const ui = (e) => {
3338
+ const si = (e) => {
3339
3339
  if (e === "localhost" || e === "127.0.0.1")
3340
3340
  return e;
3341
3341
  const t = e.split(".");
3342
3342
  return t.length > 2 ? t.slice(1).join(".") : e;
3343
- }, wr = ({
3343
+ }, br = ({
3344
3344
  name: e,
3345
3345
  canTrack: t
3346
3346
  }) => {
@@ -3348,17 +3348,17 @@ const ui = (e) => {
3348
3348
  try {
3349
3349
  return t ? (n = document.cookie.split("; ").find((r) => r.startsWith(`${e}=`))) == null ? void 0 : n.split("=")[1] : void 0;
3350
3350
  } catch (r) {
3351
- J.warn("[COOKIE] GET error: ", (r == null ? void 0 : r.message) || r);
3351
+ Y.warn("[COOKIE] GET error: ", (r == null ? void 0 : r.message) || r);
3352
3352
  return;
3353
3353
  }
3354
- }, xr = async (e) => wr(e), fi = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(oe).join("; "), pi = [["secure", ""], ["SameSite", "None"]], di = ({
3354
+ }, Sr = async (e) => br(e), li = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(oe).join("; "), ci = [["secure", ""], ["SameSite", "None"]], ui = ({
3355
3355
  name: e,
3356
3356
  value: t,
3357
3357
  expires: n
3358
3358
  }) => {
3359
- const o = (G() ? location.protocol === "https:" : !0) ? pi : [[]], i = n ? [["expires", n.toUTCString()]] : [[]], s = [[e, t], ...i, ["path", "/"], ["domain", ui(window.location.hostname)], ...o];
3360
- return fi(s);
3361
- }, kr = async ({
3359
+ const o = (X() ? location.protocol === "https:" : !0) ? ci : [[]], i = n ? [["expires", n.toUTCString()]] : [[]], s = [[e, t], ...i, ["path", "/"], ["domain", si(window.location.hostname)], ...o];
3360
+ return li(s);
3361
+ }, wr = async ({
3362
3362
  name: e,
3363
3363
  value: t,
3364
3364
  expires: n,
@@ -3367,33 +3367,33 @@ const ui = (e) => {
3367
3367
  try {
3368
3368
  if (!r)
3369
3369
  return;
3370
- const o = di({
3370
+ const o = ui({
3371
3371
  name: e,
3372
3372
  value: t,
3373
3373
  expires: n
3374
3374
  });
3375
3375
  document.cookie = o;
3376
3376
  } catch (o) {
3377
- J.warn("[COOKIE] SET error: ", (o == null ? void 0 : o.message) || o);
3377
+ Y.warn("[COOKIE] SET error: ", (o == null ? void 0 : o.message) || o);
3378
3378
  }
3379
- }, hi = "builder.tests", ln = (e) => `${hi}.${e}`, mi = ({
3379
+ }, fi = "builder.tests", ln = (e) => `${fi}.${e}`, pi = ({
3380
3380
  contentId: e
3381
- }) => xr({
3381
+ }) => Sr({
3382
3382
  name: ln(e),
3383
3383
  canTrack: !0
3384
- }), gi = ({
3384
+ }), di = ({
3385
3385
  contentId: e
3386
- }) => wr({
3386
+ }) => br({
3387
3387
  name: ln(e),
3388
3388
  canTrack: !0
3389
- }), yi = ({
3389
+ }), hi = ({
3390
3390
  contentId: e,
3391
3391
  value: t
3392
- }) => kr({
3392
+ }) => wr({
3393
3393
  name: ln(e),
3394
3394
  value: t,
3395
3395
  canTrack: !0
3396
- }), Cr = (e) => oe(e.id) && oe(e.variations) && Object.keys(e.variations).length > 0, vi = ({
3396
+ }), xr = (e) => oe(e.id) && oe(e.variations) && Object.keys(e.variations).length > 0, mi = ({
3397
3397
  id: e,
3398
3398
  variations: t
3399
3399
  }) => {
@@ -3406,15 +3406,15 @@ const ui = (e) => {
3406
3406
  return i;
3407
3407
  }
3408
3408
  return e;
3409
- }, Er = (e) => {
3410
- const t = vi(e);
3411
- return yi({
3409
+ }, kr = (e) => {
3410
+ const t = mi(e);
3411
+ return hi({
3412
3412
  contentId: e.id,
3413
3413
  value: t
3414
3414
  }).catch((n) => {
3415
- J.error("could not store A/B test variation: ", n);
3415
+ Y.error("could not store A/B test variation: ", n);
3416
3416
  }), t;
3417
- }, Ir = ({
3417
+ }, Cr = ({
3418
3418
  item: e,
3419
3419
  testGroupId: t
3420
3420
  }) => {
@@ -3428,7 +3428,7 @@ const ui = (e) => {
3428
3428
  testVariationId: n.id,
3429
3429
  testVariationName: n.name || (n.id === e.id ? "Default" : "")
3430
3430
  };
3431
- }, bi = ({
3431
+ }, gi = ({
3432
3432
  item: e,
3433
3433
  canTrack: t
3434
3434
  }) => {
@@ -3436,14 +3436,14 @@ const ui = (e) => {
3436
3436
  return e;
3437
3437
  if (!e)
3438
3438
  return;
3439
- if (!Cr(e))
3439
+ if (!xr(e))
3440
3440
  return e;
3441
- const n = gi({
3441
+ const n = di({
3442
3442
  contentId: e.id
3443
- }) || Er({
3443
+ }) || kr({
3444
3444
  variations: e.variations,
3445
3445
  id: e.id
3446
- }), r = Ir({
3446
+ }), r = Cr({
3447
3447
  item: e,
3448
3448
  testGroupId: n
3449
3449
  });
@@ -3451,18 +3451,18 @@ const ui = (e) => {
3451
3451
  ...e,
3452
3452
  ...r
3453
3453
  };
3454
- }, Si = async ({
3454
+ }, yi = async ({
3455
3455
  item: e,
3456
3456
  canTrack: t
3457
3457
  }) => {
3458
- if (!t || !Cr(e))
3458
+ if (!t || !xr(e))
3459
3459
  return e;
3460
- const r = await mi({
3460
+ const r = await pi({
3461
3461
  contentId: e.id
3462
- }) || Er({
3462
+ }) || kr({
3463
3463
  variations: e.variations,
3464
3464
  id: e.id
3465
- }), o = Ir({
3465
+ }), o = Cr({
3466
3466
  item: e,
3467
3467
  testGroupId: r
3468
3468
  });
@@ -3470,7 +3470,7 @@ const ui = (e) => {
3470
3470
  ...e,
3471
3471
  ...o
3472
3472
  };
3473
- }, Ht = (e) => oe(e) ? e : !0, wi = {
3473
+ }, $t = (e) => oe(e) ? e : !0, vi = {
3474
3474
  name: "Core:Button",
3475
3475
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
3476
3476
  defaultStyles: {
@@ -3503,7 +3503,7 @@ const ui = (e) => {
3503
3503
  }],
3504
3504
  static: !0,
3505
3505
  noWrap: !0
3506
- }, xi = {
3506
+ }, bi = {
3507
3507
  // TODO: ways to statically preprocess JSON for references, functions, etc
3508
3508
  name: "Columns",
3509
3509
  isRSC: !0,
@@ -3704,13 +3704,13 @@ const ui = (e) => {
3704
3704
  helperText: "When stacking columns for mobile devices, reverse the ordering",
3705
3705
  advanced: !0
3706
3706
  }]
3707
- }, ki = {
3707
+ }, Si = {
3708
3708
  name: "Fragment",
3709
3709
  static: !0,
3710
3710
  hidden: !0,
3711
3711
  canHaveChildren: !0,
3712
3712
  noWrap: !0
3713
- }, Ci = {
3713
+ }, wi = {
3714
3714
  name: "Image",
3715
3715
  static: !0,
3716
3716
  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",
@@ -3733,13 +3733,13 @@ const ui = (e) => {
3733
3733
  function n(s, u = 6e4) {
3734
3734
  return new Promise((d, k) => {
3735
3735
  const E = document.createElement("img");
3736
- let S = !1;
3736
+ let y = !1;
3737
3737
  E.onload = () => {
3738
- S = !0, d(E);
3739
- }, E.addEventListener("error", (P) => {
3740
- console.warn("Image load failed", P.error), k(P.error);
3738
+ y = !0, d(E);
3739
+ }, E.addEventListener("error", (R) => {
3740
+ console.warn("Image load failed", R.error), k(R.error);
3741
3741
  }), E.src = s, setTimeout(() => {
3742
- S || k(new Error("Image load timed out"));
3742
+ y || k(new Error("Image load timed out"));
3743
3743
  }, u);
3744
3744
  });
3745
3745
  }
@@ -3810,7 +3810,7 @@ const ui = (e) => {
3810
3810
  advanced: !0,
3811
3811
  defaultValue: 0.7041
3812
3812
  }]
3813
- }, Ei = {
3813
+ }, xi = {
3814
3814
  name: "Core:Section",
3815
3815
  static: !0,
3816
3816
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -3849,7 +3849,7 @@ const ui = (e) => {
3849
3849
  }
3850
3850
  }
3851
3851
  }]
3852
- }, Ii = {
3852
+ }, ki = {
3853
3853
  name: "Slot",
3854
3854
  isRSC: !0,
3855
3855
  description: "Allow child blocks to be inserted into this content when used as a Symbol",
@@ -3863,7 +3863,7 @@ const ui = (e) => {
3863
3863
  defaultValue: "children"
3864
3864
  }]
3865
3865
  };
3866
- function Ti(e) {
3866
+ function Ci(e) {
3867
3867
  var t, n, r;
3868
3868
  return /* @__PURE__ */ C(
3869
3869
  "div",
@@ -3875,7 +3875,7 @@ function Ti(e) {
3875
3875
  "builder-slot": e.name
3876
3876
  },
3877
3877
  children: /* @__PURE__ */ C(
3878
- mt,
3878
+ sn,
3879
3879
  {
3880
3880
  parent: (n = e.builderContext.context) == null ? void 0 : n.symbolId,
3881
3881
  path: `symbol.data.${e.name}`,
@@ -3886,7 +3886,7 @@ function Ti(e) {
3886
3886
  }
3887
3887
  );
3888
3888
  }
3889
- const Ai = {
3889
+ const Ei = {
3890
3890
  name: "Symbol",
3891
3891
  noWrap: !0,
3892
3892
  static: !0,
@@ -3919,7 +3919,7 @@ const Ai = {
3919
3919
  hideFromUI: !0,
3920
3920
  type: "boolean"
3921
3921
  }]
3922
- }, Oi = {
3922
+ }, Ii = {
3923
3923
  name: "Text",
3924
3924
  static: !0,
3925
3925
  isRSC: !0,
@@ -3938,7 +3938,7 @@ const Ai = {
3938
3938
  textAlign: "center"
3939
3939
  }
3940
3940
  };
3941
- function ji(e) {
3941
+ function Ti(e) {
3942
3942
  var t;
3943
3943
  return /* @__PURE__ */ C(
3944
3944
  "div",
@@ -3951,7 +3951,7 @@ function ji(e) {
3951
3951
  }
3952
3952
  );
3953
3953
  }
3954
- const Ri = {
3954
+ const Ai = {
3955
3955
  name: "Custom Code",
3956
3956
  static: !0,
3957
3957
  requiredPermissions: ["editCode"],
@@ -3973,7 +3973,7 @@ const Ri = {
3973
3973
  helperText: "Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads",
3974
3974
  advanced: !0
3975
3975
  }]
3976
- }, Pi = {
3976
+ }, Oi = {
3977
3977
  name: "Embed",
3978
3978
  static: !0,
3979
3979
  inputs: [{
@@ -3998,7 +3998,7 @@ const Ri = {
3998
3998
  defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
3999
3999
  hideFromUI: !0
4000
4000
  }]
4001
- }, Ni = ["text/javascript", "application/javascript", "application/ecmascript"], Ha = (e) => Ni.includes(e.type), Bi = {
4001
+ }, ji = ["text/javascript", "application/javascript", "application/ecmascript"], $a = (e) => ji.includes(e.type), Ri = {
4002
4002
  // friendlyName?
4003
4003
  name: "Raw:Img",
4004
4004
  hideFromInsertMenu: !0,
@@ -4012,7 +4012,7 @@ const Ri = {
4012
4012
  }],
4013
4013
  noWrap: !0,
4014
4014
  static: !0
4015
- }, Ui = {
4015
+ }, Pi = {
4016
4016
  name: "Video",
4017
4017
  canHaveChildren: !0,
4018
4018
  defaultStyles: {
@@ -4093,58 +4093,58 @@ const Ri = {
4093
4093
  defaultValue: !0,
4094
4094
  advanced: !0
4095
4095
  }]
4096
- }, Fi = () => [{
4097
- component: ao,
4096
+ }, Ni = () => [{
4097
+ component: no,
4098
+ ...Ai
4099
+ }, {
4100
+ component: ro,
4101
+ ...Oi
4102
+ }, {
4103
+ component: oo,
4098
4104
  ...Ri
4099
4105
  }, {
4100
- component: so,
4106
+ component: io,
4101
4107
  ...Pi
4108
+ }], zn = () => [{
4109
+ component: ao,
4110
+ ...vi
4102
4111
  }, {
4103
- component: lo,
4104
- ...Bi
4112
+ component: oi,
4113
+ ...bi
4105
4114
  }, {
4106
- component: co,
4107
- ...Ui
4108
- }], qn = () => [{
4109
- component: uo,
4115
+ component: so,
4116
+ ...Si
4117
+ }, {
4118
+ component: lo,
4110
4119
  ...wi
4111
4120
  }, {
4112
- component: si,
4121
+ component: co,
4113
4122
  ...xi
4114
4123
  }, {
4115
- component: fo,
4124
+ component: Ci,
4116
4125
  ...ki
4117
4126
  }, {
4118
- component: po,
4119
- ...Ci
4120
- }, {
4121
- component: ho,
4127
+ component: Ba,
4122
4128
  ...Ei
4123
4129
  }, {
4124
4130
  component: Ti,
4125
4131
  ...Ii
4126
- }, {
4127
- component: Ua,
4128
- ...Ai
4129
- }, {
4130
- component: ji,
4131
- ...Oi
4132
- }, ...Fi()], Zn = [], Ka = (e) => ({
4132
+ }, ...Ni()], Ha = (e) => ({
4133
4133
  type: "builder.registerComponent",
4134
- data: Kt(e)
4135
- }), Mi = (e) => {
4134
+ data: Ht(e)
4135
+ }), Bi = (e) => {
4136
4136
  const t = e.toString().trim();
4137
4137
  return `return (${!t.startsWith("function") && !t.startsWith("(") ? "function " : ""}${t}).apply(this, arguments)`;
4138
- }, Di = (e) => typeof e == "function" ? Mi(e) : pt(e), Kt = ({
4138
+ }, Ui = (e) => typeof e == "function" ? Bi(e) : pt(e), Ht = ({
4139
4139
  inputs: e,
4140
4140
  ...t
4141
4141
  }) => ({
4142
4142
  ...pt(t),
4143
4143
  inputs: e == null ? void 0 : e.map((n) => Object.entries(n).reduce((r, [o, i]) => ({
4144
4144
  ...r,
4145
- [o]: Di(i)
4145
+ [o]: Ui(i)
4146
4146
  }), {}))
4147
- }), Vi = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
4147
+ }), Fi = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
4148
4148
  function getAndSetVariantId() {
4149
4149
  function setCookie(name, value, days) {
4150
4150
  let expires = '';
@@ -4200,7 +4200,7 @@ const Ri = {
4200
4200
  }).join('');
4201
4201
  styleEl.innerHTML = newStyleStr;
4202
4202
  }
4203
- }`, Li = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
4203
+ }`, Mi = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
4204
4204
  if (!navigator.cookieEnabled) {
4205
4205
  return;
4206
4206
  }
@@ -4234,26 +4234,26 @@ const Ri = {
4234
4234
  thisScriptEl?.remove();
4235
4235
  }
4236
4236
  return;
4237
- }`, Tr = "builderIoAbTest", Ar = "builderIoRenderContent", st = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
4237
+ }`, Er = "builderIoAbTest", Ir = "builderIoRenderContent", st = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
4238
4238
  ...t,
4239
4239
  testVariationId: t.id,
4240
4240
  id: e == null ? void 0 : e.id
4241
- })), _i = ({
4241
+ })), Di = ({
4242
4242
  canTrack: e,
4243
4243
  content: t
4244
- }) => !(!(st(t).length > 0) || !e || G()), Wi = (e) => e === "react" || e === "reactNative", Or = Wi(he), $i = () => `
4245
- window.${Tr} = ${Vi}
4246
- window.${Ar} = ${Li}
4247
- `, Hi = (e, t) => `
4248
- window.${Tr}(
4249
- "${t}",${JSON.stringify(e)}, ${Or}
4250
- )`, Ki = ({
4244
+ }) => !(!(st(t).length > 0) || !e || X()), Vi = (e) => e === "react" || e === "reactNative", Tr = Vi(he), Li = () => `
4245
+ window.${Er} = ${Fi}
4246
+ window.${Ir} = ${Mi}
4247
+ `, _i = (e, t) => `
4248
+ window.${Er}(
4249
+ "${t}",${JSON.stringify(e)}, ${Tr}
4250
+ )`, Wi = ({
4251
4251
  contentId: e,
4252
4252
  variationId: t
4253
- }) => `window.${Ar}(
4254
- "${t}", "${e}", ${Or}
4253
+ }) => `window.${Ir}(
4254
+ "${t}", "${e}", ${Tr}
4255
4255
  )`;
4256
- function Gt(e) {
4256
+ function Kt(e) {
4257
4257
  return /* @__PURE__ */ C(
4258
4258
  "script",
4259
4259
  {
@@ -4262,33 +4262,33 @@ function Gt(e) {
4262
4262
  }
4263
4263
  );
4264
4264
  }
4265
- const Gi = (e) => {
4265
+ const $i = (e) => {
4266
4266
  const t = e.get("preview"), n = e.get("overrides." + t);
4267
- return n || J.warn("No previewed ID found in search params."), n;
4267
+ return n || Y.warn("No previewed ID found in search params."), n;
4268
4268
  };
4269
- function Xi() {
4270
- globalThis._BUILDER_PREVIEW_LRU_CACHE || (globalThis._BUILDER_PREVIEW_LRU_CACHE = new to({
4269
+ function Hi() {
4270
+ globalThis._BUILDER_PREVIEW_LRU_CACHE || (globalThis._BUILDER_PREVIEW_LRU_CACHE = new fo({
4271
4271
  max: 500,
4272
4272
  // how long to live in ms
4273
4273
  ttl: 1e3 * 60 * 5
4274
4274
  }));
4275
4275
  }
4276
- function Ji(e) {
4277
- Xi();
4278
- const t = Gi(e);
4276
+ function Ki(e) {
4277
+ Hi();
4278
+ const t = $i(e);
4279
4279
  return typeof t == "string" ? globalThis._BUILDER_PREVIEW_LRU_CACHE.get(t) : void 0;
4280
4280
  }
4281
- function Yi() {
4281
+ function Gi() {
4282
4282
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : globalThis;
4283
4283
  }
4284
- function zi() {
4285
- const e = Yi().fetch;
4284
+ function Xi() {
4285
+ const e = Gi().fetch;
4286
4286
  if (typeof e > "u")
4287
4287
  throw console.warn(`Builder SDK could not find a global fetch function. Make sure you have a polyfill for fetch in your project.
4288
4288
  For more information, read https://github.com/BuilderIO/this-package-uses-fetch`), new Error("Builder SDK could not find a global `fetch` function");
4289
4289
  return e;
4290
4290
  }
4291
- const qi = zi();
4291
+ const Yi = Xi();
4292
4292
  function lt(e, t = null, n = ".") {
4293
4293
  return Object.keys(e).reduce((r, o) => {
4294
4294
  const i = e[o], s = [t, o].filter(Boolean).join(n);
@@ -4301,209 +4301,203 @@ function lt(e, t = null, n = ".") {
4301
4301
  };
4302
4302
  }, {});
4303
4303
  }
4304
- const Zi = "v3", Qn = "builder.", Qi = "options.", ea = (e) => {
4304
+ const Ji = "v3", qn = "builder.", zi = "options.", qi = (e) => {
4305
4305
  const t = {};
4306
4306
  return e.forEach((n, r) => {
4307
4307
  t[r] = n;
4308
4308
  }), t;
4309
- }, jr = (e) => {
4309
+ }, Ar = (e) => {
4310
4310
  if (!e)
4311
4311
  return {};
4312
- const t = Rr(e), n = {};
4312
+ const t = Or(e), n = {};
4313
4313
  return Object.keys(t).forEach((r) => {
4314
- if (r.startsWith(Qn)) {
4315
- const o = r.replace(Qn, "").replace(Qi, "");
4314
+ if (r.startsWith(qn)) {
4315
+ const o = r.replace(qn, "").replace(zi, "");
4316
4316
  n[o] = t[r];
4317
4317
  }
4318
4318
  }), n;
4319
- }, ta = () => {
4320
- if (!G())
4319
+ }, Zi = () => {
4320
+ if (!X())
4321
4321
  return {};
4322
4322
  const e = new URLSearchParams(window.location.search);
4323
- return jr(e);
4324
- }, Rr = (e) => e instanceof URLSearchParams ? ea(e) : e, er = (e) => typeof e == "number" && !isNaN(e) && e >= 0, cn = (e) => {
4325
- let {
4326
- noTraverse: t = !1
4327
- } = e;
4323
+ return Ar(e);
4324
+ }, Or = (e) => e instanceof URLSearchParams ? qi(e) : e, Zn = (e) => typeof e == "number" && !isNaN(e) && e >= 0, cn = (e) => {
4328
4325
  const {
4329
- limit: n = 30,
4330
- userAttributes: r,
4331
- query: o,
4332
- model: i,
4333
- apiKey: s,
4334
- includeRefs: u = !0,
4335
- enrich: d,
4336
- locale: k,
4337
- apiVersion: E = Zi,
4338
- fields: S,
4339
- omit: P,
4340
- offset: j,
4341
- cacheSeconds: v,
4342
- staleCacheSeconds: x,
4343
- sort: B,
4344
- includeUnpublished: $
4326
+ limit: t = 30,
4327
+ userAttributes: n,
4328
+ query: r,
4329
+ model: o,
4330
+ apiKey: i,
4331
+ enrich: s,
4332
+ locale: u,
4333
+ apiVersion: d = Ji,
4334
+ fields: k,
4335
+ omit: E,
4336
+ offset: y,
4337
+ cacheSeconds: R,
4338
+ staleCacheSeconds: j,
4339
+ sort: v,
4340
+ includeUnpublished: w
4345
4341
  } = e;
4346
- if (!s)
4342
+ if (!i)
4347
4343
  throw new Error("Missing API key");
4348
- if (!["v3"].includes(E))
4349
- throw new Error(`Invalid apiVersion: expected 'v3', received '${E}'`);
4350
- (e.limit === void 0 || e.limit > 1) && !("noTraverse" in e) && (t = !0);
4351
- const m = new URL(`https://cdn.builder.io/api/${E}/content/${i}?apiKey=${s}&limit=${n}&noTraverse=${t}&includeRefs=${u}${k ? `&locale=${k}` : ""}${d ? `&enrich=${d}` : ""}`);
4352
- if (m.searchParams.set("omit", P || "meta.componentsUsed"), S && m.searchParams.set("fields", S), Number.isFinite(j) && j > -1 && m.searchParams.set("offset", String(Math.floor(j))), typeof $ == "boolean" && m.searchParams.set("includeUnpublished", String($)), v && er(v) && m.searchParams.set("cacheSeconds", String(v)), x && er(x) && m.searchParams.set("staleCacheSeconds", String(x)), B) {
4353
- const X = lt({
4354
- sort: B
4344
+ if (!["v3"].includes(d))
4345
+ throw new Error(`Invalid apiVersion: expected 'v3', received '${d}'`);
4346
+ const U = t !== 1, N = new URL(`https://cdn.builder.io/api/${d}/content/${o}`);
4347
+ 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) {
4348
+ const H = lt({
4349
+ sort: v
4355
4350
  });
4356
- for (const U in X)
4357
- m.searchParams.set(U, JSON.stringify(X[U]));
4351
+ for (const ee in H)
4352
+ N.searchParams.set(ee, JSON.stringify(H[ee]));
4358
4353
  }
4359
- const ee = {
4360
- ...ta(),
4361
- ...Rr(e.options || {})
4362
- }, te = lt(ee);
4363
- for (const X in te)
4364
- m.searchParams.set(X, String(te[X]));
4365
- if (r && m.searchParams.set("userAttributes", JSON.stringify(r)), o) {
4366
- const X = lt({
4367
- query: o
4354
+ const x = {
4355
+ ...Zi(),
4356
+ ...Or(e.options || {})
4357
+ }, Q = lt(x);
4358
+ for (const H in Q)
4359
+ N.searchParams.set(H, String(Q[H]));
4360
+ if (n && N.searchParams.set("userAttributes", JSON.stringify(n)), r) {
4361
+ const H = lt({
4362
+ query: r
4368
4363
  });
4369
- for (const U in X)
4370
- m.searchParams.set(U, JSON.stringify(X[U]));
4364
+ for (const ee in H)
4365
+ N.searchParams.set(ee, JSON.stringify(H[ee]));
4371
4366
  }
4372
- return m;
4373
- }, na = (e) => "results" in e;
4374
- async function un(e) {
4375
- const t = await Pr({
4367
+ return N;
4368
+ }, Qi = (e) => "results" in e;
4369
+ async function jr(e) {
4370
+ const t = await na({
4376
4371
  ...e,
4377
4372
  limit: 1
4378
4373
  });
4379
4374
  return t && t[0] || null;
4380
4375
  }
4381
- const Ga = un, ra = async (e) => {
4376
+ const ea = async (e) => {
4382
4377
  const t = cn(e);
4383
- return await (await qi(t.href)).json();
4384
- }, oa = async (e, t, n = cn(e)) => {
4385
- const r = Ht(e.canTrack);
4378
+ return await (await Yi(t.href)).json();
4379
+ }, ta = async (e, t, n = cn(e)) => {
4380
+ const r = $t(e.canTrack);
4386
4381
  if (n.search.includes("preview=")) {
4387
4382
  const i = [];
4388
4383
  for (const s of t.results) {
4389
- const u = Ji(n.searchParams);
4384
+ const u = Ki(n.searchParams);
4390
4385
  i.push(u || s);
4391
4386
  }
4392
4387
  t.results = i;
4393
4388
  }
4394
- if (!r || !(G() || he === "reactNative"))
4389
+ if (!r || !(X() || he === "reactNative"))
4395
4390
  return t.results;
4396
4391
  try {
4397
4392
  const i = [];
4398
4393
  for (const s of t.results)
4399
- i.push(await Si({
4394
+ i.push(await yi({
4400
4395
  item: s,
4401
4396
  canTrack: r
4402
4397
  }));
4403
4398
  t.results = i;
4404
4399
  } catch (i) {
4405
- J.error("Could not process A/B tests. ", i);
4400
+ Y.error("Could not process A/B tests. ", i);
4406
4401
  }
4407
4402
  return t.results;
4408
4403
  };
4409
- async function Pr(e) {
4404
+ async function na(e) {
4410
4405
  try {
4411
- const t = cn(e), n = await ra(e);
4412
- return na(n) ? oa(e, n) : (J.error("Error fetching data. ", {
4406
+ const t = cn(e), n = await ea(e);
4407
+ return Qi(n) ? ta(e, n) : (Y.error("Error fetching data. ", {
4413
4408
  url: t,
4414
4409
  content: n,
4415
4410
  options: e
4416
4411
  }), null);
4417
4412
  } catch (t) {
4418
- return J.error("Error fetching data. ", t), null;
4413
+ return Y.error("Error fetching data. ", t), null;
4419
4414
  }
4420
4415
  }
4421
- const Xa = Pr;
4422
- function Ja() {
4423
- return !G() || Jt() ? !1 : location.search.indexOf("builder.preview=") !== -1;
4416
+ function Ka() {
4417
+ return !X() || Xt() ? !1 : location.search.indexOf("builder.preview=") !== -1;
4424
4418
  }
4425
- function ia() {
4419
+ function ra() {
4426
4420
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
4427
4421
  const t = Math.random() * 16 | 0;
4428
4422
  return (e == "x" ? t : t & 3 | 8).toString(16);
4429
4423
  });
4430
4424
  }
4431
- function Nr() {
4432
- return ia().replace(/-/g, "");
4425
+ function Rr() {
4426
+ return ra().replace(/-/g, "");
4433
4427
  }
4434
- const Br = "builderSessionId", aa = async ({
4428
+ const Pr = "builderSessionId", oa = async ({
4435
4429
  canTrack: e
4436
4430
  }) => {
4437
4431
  if (!e)
4438
4432
  return;
4439
- const t = await xr({
4440
- name: Br,
4433
+ const t = await Sr({
4434
+ name: Pr,
4441
4435
  canTrack: e
4442
4436
  });
4443
4437
  if (oe(t))
4444
4438
  return t;
4445
4439
  {
4446
- const n = sa();
4447
- return la({
4440
+ const n = ia();
4441
+ return aa({
4448
4442
  id: n,
4449
4443
  canTrack: e
4450
4444
  }), n;
4451
4445
  }
4452
- }, sa = () => Nr(), la = ({
4446
+ }, ia = () => Rr(), aa = ({
4453
4447
  id: e,
4454
4448
  canTrack: t
4455
- }) => kr({
4456
- name: Br,
4449
+ }) => wr({
4450
+ name: Pr,
4457
4451
  value: e,
4458
4452
  canTrack: t
4459
- }), Ur = () => G() && typeof localStorage < "u" ? localStorage : void 0, ca = ({
4453
+ }), Nr = () => X() && typeof localStorage < "u" ? localStorage : void 0, sa = ({
4460
4454
  key: e,
4461
4455
  canTrack: t
4462
4456
  }) => {
4463
4457
  var n;
4464
4458
  try {
4465
- return t ? (n = Ur()) == null ? void 0 : n.getItem(e) : void 0;
4459
+ return t ? (n = Nr()) == null ? void 0 : n.getItem(e) : void 0;
4466
4460
  } catch (r) {
4467
4461
  console.debug("[LocalStorage] GET error: ", r);
4468
4462
  return;
4469
4463
  }
4470
- }, ua = ({
4464
+ }, la = ({
4471
4465
  key: e,
4472
4466
  canTrack: t,
4473
4467
  value: n
4474
4468
  }) => {
4475
4469
  var r;
4476
4470
  try {
4477
- t && ((r = Ur()) == null || r.setItem(e, n));
4471
+ t && ((r = Nr()) == null || r.setItem(e, n));
4478
4472
  } catch (o) {
4479
4473
  console.debug("[LocalStorage] SET error: ", o);
4480
4474
  }
4481
- }, Fr = "builderVisitorId", fa = ({
4475
+ }, Br = "builderVisitorId", ca = ({
4482
4476
  canTrack: e
4483
4477
  }) => {
4484
4478
  if (!e)
4485
4479
  return;
4486
- const t = ca({
4487
- key: Fr,
4480
+ const t = sa({
4481
+ key: Br,
4488
4482
  canTrack: e
4489
4483
  });
4490
4484
  if (oe(t))
4491
4485
  return t;
4492
4486
  {
4493
- const n = pa();
4494
- return da({
4487
+ const n = ua();
4488
+ return fa({
4495
4489
  id: n,
4496
4490
  canTrack: e
4497
4491
  }), n;
4498
4492
  }
4499
- }, pa = () => Nr(), da = ({
4493
+ }, ua = () => Rr(), fa = ({
4500
4494
  id: e,
4501
4495
  canTrack: t
4502
- }) => ua({
4503
- key: Fr,
4496
+ }) => la({
4497
+ key: Br,
4504
4498
  value: e,
4505
4499
  canTrack: t
4506
- }), ha = async ({
4500
+ }), pa = async ({
4507
4501
  canTrack: e
4508
4502
  }) => {
4509
4503
  if (!e)
@@ -4511,16 +4505,16 @@ const Br = "builderSessionId", aa = async ({
4511
4505
  visitorId: void 0,
4512
4506
  sessionId: void 0
4513
4507
  };
4514
- const t = await aa({
4508
+ const t = await oa({
4515
4509
  canTrack: e
4516
- }), n = fa({
4510
+ }), n = ca({
4517
4511
  canTrack: e
4518
4512
  });
4519
4513
  return {
4520
4514
  sessionId: t,
4521
4515
  visitorId: n
4522
4516
  };
4523
- }, ma = async ({
4517
+ }, da = async ({
4524
4518
  type: e,
4525
4519
  canTrack: t,
4526
4520
  apiKey: n,
@@ -4534,23 +4528,23 @@ const Br = "builderSessionId", aa = async ({
4534
4528
  url: location.href,
4535
4529
  ...r
4536
4530
  },
4537
- ...await ha({
4531
+ ...await pa({
4538
4532
  canTrack: t
4539
4533
  }),
4540
- userAttributes: lr(),
4534
+ userAttributes: ar(),
4541
4535
  ownerId: n
4542
4536
  }
4543
4537
  });
4544
- async function ga(e) {
4538
+ async function ha(e) {
4545
4539
  if (!e.apiKey) {
4546
- J.error("Missing API key for track call. Please provide your API key.");
4540
+ Y.error("Missing API key for track call. Please provide your API key.");
4547
4541
  return;
4548
4542
  }
4549
- if (e.canTrack && !Jt() && (G() || he === "reactNative"))
4543
+ if (e.canTrack && !Xt() && (X() || he === "reactNative"))
4550
4544
  return fetch("https://cdn.builder.io/api/v1/track", {
4551
4545
  method: "POST",
4552
4546
  body: JSON.stringify({
4553
- events: [await ma(e)]
4547
+ events: [await da(e)]
4554
4548
  }),
4555
4549
  headers: {
4556
4550
  "content-type": "application/json"
@@ -4560,14 +4554,14 @@ async function ga(e) {
4560
4554
  console.error("Failed to track: ", t);
4561
4555
  });
4562
4556
  }
4563
- const Ya = (e) => ga({
4557
+ const Ga = (e) => ha({
4564
4558
  ...e,
4565
4559
  canTrack: !0
4566
4560
  });
4567
- function tr(e) {
4561
+ function Qn(e) {
4568
4562
  return Math.round(e * 1e3) / 1e3;
4569
4563
  }
4570
- const ya = (e, t, n = !0) => {
4564
+ const ma = (e, t, n = !0) => {
4571
4565
  if (!(e instanceof HTMLElement))
4572
4566
  return null;
4573
4567
  let r = n ? e : e.parentElement;
@@ -4578,43 +4572,43 @@ const ya = (e, t, n = !0) => {
4578
4572
  return r;
4579
4573
  } while (r = r.parentElement);
4580
4574
  return null;
4581
- }, va = (e) => ya(e, (t) => {
4575
+ }, ga = (e) => ma(e, (t) => {
4582
4576
  const n = t.getAttribute("builder-id") || t.id;
4583
4577
  return (n == null ? void 0 : n.indexOf("builder-")) === 0;
4584
- }), nr = ({
4578
+ }), er = ({
4585
4579
  event: e,
4586
4580
  target: t
4587
4581
  }) => {
4588
- const n = t.getBoundingClientRect(), r = e.clientX - n.left, o = e.clientY - n.top, i = tr(r / n.width), s = tr(o / n.height);
4582
+ const n = t.getBoundingClientRect(), r = e.clientX - n.left, o = e.clientY - n.top, i = Qn(r / n.width), s = Qn(o / n.height);
4589
4583
  return {
4590
4584
  x: i,
4591
4585
  y: s
4592
4586
  };
4593
- }, za = (e) => {
4594
- const t = e.target, n = t && va(t), r = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
4587
+ }, Xa = (e) => {
4588
+ const t = e.target, n = t && ga(t), r = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
4595
4589
  return {
4596
4590
  targetBuilderElement: r || void 0,
4597
4591
  metadata: {
4598
- targetOffset: t ? nr({
4592
+ targetOffset: t ? er({
4599
4593
  event: e,
4600
4594
  target: t
4601
4595
  }) : void 0,
4602
- builderTargetOffset: n ? nr({
4596
+ builderTargetOffset: n ? er({
4603
4597
  event: e,
4604
4598
  target: n
4605
4599
  }) : void 0,
4606
4600
  builderElementIndex: n && r ? [].slice.call(document.getElementsByClassName(r)).indexOf(n) : void 0
4607
4601
  }
4608
4602
  };
4609
- }, ba = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
4610
- function Mr(e, t) {
4603
+ }, ya = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
4604
+ function Ur(e, t) {
4611
4605
  const n = new URL(t.origin), r = n.hostname;
4612
- return (e || ba).findIndex((o) => o.startsWith("*.") ? r.endsWith(o.slice(1)) : o === r) > -1;
4606
+ return (e || ya).findIndex((o) => o.startsWith("*.") ? r.endsWith(o.slice(1)) : o === r) > -1;
4613
4607
  }
4614
- const Sa = "0.13.4", rr = {};
4615
- function wa(e, t) {
4616
- let n = rr[e];
4617
- if (n || (n = rr[e] = []), n.push(t), G()) {
4608
+ const va = "0.14.0", tr = {};
4609
+ function ba(e, t) {
4610
+ let n = tr[e];
4611
+ if (n || (n = tr[e] = []), n.push(t), X()) {
4618
4612
  const r = {
4619
4613
  type: "builder.register",
4620
4614
  data: {
@@ -4629,8 +4623,8 @@ function wa(e, t) {
4629
4623
  }
4630
4624
  }
4631
4625
  }
4632
- const qa = () => {
4633
- wa("insertMenu", {
4626
+ const Ya = () => {
4627
+ ba("insertMenu", {
4634
4628
  name: "_default",
4635
4629
  default: !0,
4636
4630
  items: [{
@@ -4652,14 +4646,14 @@ const qa = () => {
4652
4646
  }]
4653
4647
  });
4654
4648
  };
4655
- let or = !1;
4656
- const xa = (e = {}) => {
4649
+ let nr = !1;
4650
+ const Sa = (e = {}) => {
4657
4651
  var t, n;
4658
- or || (or = !0, G() && ((t = window.parent) == null || t.postMessage({
4652
+ nr || (nr = !0, X() && ((t = window.parent) == null || t.postMessage({
4659
4653
  type: "builder.sdkInfo",
4660
4654
  data: {
4661
4655
  target: he,
4662
- version: Sa,
4656
+ version: va,
4663
4657
  supportsPatchUpdates: !1,
4664
4658
  // Supports builder-model="..." attribute which is needed to
4665
4659
  // scope our '+ add block' button styling
@@ -4673,7 +4667,7 @@ const xa = (e = {}) => {
4673
4667
  }
4674
4668
  }, "*"), window.addEventListener("message", (r) => {
4675
4669
  var i, s;
4676
- if (!Mr(e.trustedHosts, r))
4670
+ if (!Ur(e.trustedHosts, r))
4677
4671
  return;
4678
4672
  const {
4679
4673
  data: o
@@ -4682,19 +4676,19 @@ const xa = (e = {}) => {
4682
4676
  switch (o.type) {
4683
4677
  case "builder.evaluate": {
4684
4678
  const u = o.data.text, d = o.data.arguments || [], k = o.data.id, E = new Function(u);
4685
- let S, P = null;
4679
+ let y, R = null;
4686
4680
  try {
4687
- S = E.apply(null, d);
4681
+ y = E.apply(null, d);
4688
4682
  } catch (j) {
4689
- P = j;
4683
+ R = j;
4690
4684
  }
4691
- P ? (i = window.parent) == null || i.postMessage({
4685
+ R ? (i = window.parent) == null || i.postMessage({
4692
4686
  type: "builder.evaluateError",
4693
4687
  data: {
4694
4688
  id: k,
4695
- error: P.message
4689
+ error: R.message
4696
4690
  }
4697
- }, "*") : S && typeof S.then == "function" ? S.then((j) => {
4691
+ }, "*") : y && typeof y.then == "function" ? y.then((j) => {
4698
4692
  var v;
4699
4693
  (v = window.parent) == null || v.postMessage({
4700
4694
  type: "builder.evaluateResult",
@@ -4706,7 +4700,7 @@ const xa = (e = {}) => {
4706
4700
  }).catch(console.error) : (s = window.parent) == null || s.postMessage({
4707
4701
  type: "builder.evaluateResult",
4708
4702
  data: {
4709
- result: S,
4703
+ result: y,
4710
4704
  id: k
4711
4705
  }
4712
4706
  }, "*");
@@ -4714,12 +4708,12 @@ const xa = (e = {}) => {
4714
4708
  }
4715
4709
  }
4716
4710
  })));
4717
- }, ka = ({
4711
+ }, wa = ({
4718
4712
  model: e,
4719
4713
  trustedHosts: t,
4720
4714
  callbacks: n
4721
4715
  }) => (r) => {
4722
- if (!Mr(t, r))
4716
+ if (!Ur(t, r))
4723
4717
  return;
4724
4718
  const {
4725
4719
  data: o
@@ -4740,12 +4734,12 @@ const xa = (e = {}) => {
4740
4734
  break;
4741
4735
  }
4742
4736
  }
4743
- }, Za = (e, t, n) => {
4744
- if (!G)
4745
- return J.warn("`subscribeToEditor` only works in the browser. It currently seems to be running on the server."), () => {
4737
+ }, Ja = (e, t, n) => {
4738
+ if (!X)
4739
+ return Y.warn("`subscribeToEditor` only works in the browser. It currently seems to be running on the server."), () => {
4746
4740
  };
4747
- xa();
4748
- const r = ka({
4741
+ Sa();
4742
+ const r = wa({
4749
4743
  callbacks: {
4750
4744
  contentUpdate: t,
4751
4745
  animation: () => {
@@ -4760,7 +4754,7 @@ const xa = (e = {}) => {
4760
4754
  window.removeEventListener("message", r);
4761
4755
  };
4762
4756
  };
4763
- function ir(e, ...t) {
4757
+ function rr(e, ...t) {
4764
4758
  const n = Object(e);
4765
4759
  for (let r = 1; r < arguments.length; r++) {
4766
4760
  const o = arguments[r];
@@ -4770,38 +4764,38 @@ function ir(e, ...t) {
4770
4764
  }
4771
4765
  return n;
4772
4766
  }
4773
- const Ca = (e) => e ? e.replace(/([A-Z])/g, (t) => `-${t[0].toLowerCase()}`) : "";
4774
- function Ea(e) {
4767
+ const xa = (e) => e ? e.replace(/([A-Z])/g, (t) => `-${t[0].toLowerCase()}`) : "";
4768
+ function ka(e) {
4775
4769
  console.warn(`Cannot animate element: element with ID ${e} not found!`);
4776
4770
  }
4777
- function Ia(e, t) {
4778
- const n = Ta(e), r = getComputedStyle(t), o = e.steps[0].styles, i = e.steps[e.steps.length - 1].styles, s = [o, i];
4771
+ function Ca(e, t) {
4772
+ const n = Ea(e), r = getComputedStyle(t), o = e.steps[0].styles, i = e.steps[e.steps.length - 1].styles, s = [o, i];
4779
4773
  for (const u of s)
4780
4774
  for (const d of n)
4781
4775
  d in u || (u[d] = r[d]);
4782
4776
  }
4783
- function Ta(e) {
4777
+ function Ea(e) {
4784
4778
  const t = [];
4785
4779
  for (const n of e.steps)
4786
4780
  for (const r in n.styles)
4787
4781
  t.indexOf(r) === -1 && t.push(r);
4788
4782
  return t;
4789
4783
  }
4790
- function Qa(e) {
4784
+ function za(e) {
4791
4785
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
4792
4786
  if (!t.length) {
4793
- Ea(e.elementId || e.id || "");
4787
+ ka(e.elementId || e.id || "");
4794
4788
  return;
4795
4789
  }
4796
4790
  Array.from(t).forEach((n) => {
4797
- Ia(e, n), n.style.transition = "none", n.style.transitionDelay = "0", ir(n.style, e.steps[0].styles), setTimeout(() => {
4798
- n.style.transition = `all ${e.duration}s ${Ca(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), ir(n.style, e.steps[1].styles), setTimeout(() => {
4791
+ Ca(e, n), n.style.transition = "none", n.style.transitionDelay = "0", rr(n.style, e.steps[0].styles), setTimeout(() => {
4792
+ n.style.transition = `all ${e.duration}s ${xa(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), rr(n.style, e.steps[1].styles), setTimeout(() => {
4799
4793
  n.style.transition = "", n.style.transitionDelay = "";
4800
4794
  }, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
4801
4795
  });
4802
4796
  });
4803
4797
  }
4804
- const Aa = (e) => {
4798
+ const Ia = (e) => {
4805
4799
  var i;
4806
4800
  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);
4807
4801
  let o = "";
@@ -4827,22 +4821,22 @@ font-weight: ${s};
4827
4821
  `.trim());
4828
4822
  }
4829
4823
  return o;
4830
- }, Oa = ({
4824
+ }, Ta = ({
4831
4825
  customFonts: e
4832
4826
  }) => {
4833
4827
  var t;
4834
- return ((t = e == null ? void 0 : e.map((n) => Aa(n))) == null ? void 0 : t.join(" ")) || "";
4835
- }, ja = ({
4828
+ return ((t = e == null ? void 0 : e.map((n) => Ia(n))) == null ? void 0 : t.join(" ")) || "";
4829
+ }, Aa = ({
4836
4830
  cssCode: e,
4837
4831
  contentId: t
4838
4832
  }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "";
4839
- function Ra(e) {
4833
+ function Oa(e) {
4840
4834
  const t = `
4841
- ${ja({
4835
+ ${Aa({
4842
4836
  cssCode: e.cssCode,
4843
4837
  contentId: e.contentId
4844
4838
  })}
4845
- ${Oa({
4839
+ ${Ta({
4846
4840
  customFonts: e.customFonts
4847
4841
  })}
4848
4842
 
@@ -4865,7 +4859,7 @@ ${Oa({
4865
4859
  `.trim();
4866
4860
  return /* @__PURE__ */ C(dt, { styles: t });
4867
4861
  }
4868
- const Pa = ({
4862
+ const ja = ({
4869
4863
  content: e,
4870
4864
  data: t,
4871
4865
  locale: n
@@ -4882,7 +4876,7 @@ const Pa = ({
4882
4876
  locale: n
4883
4877
  } : {}
4884
4878
  };
4885
- }, Na = ({
4879
+ }, Ra = ({
4886
4880
  content: e,
4887
4881
  data: t
4888
4882
  }) => e ? {
@@ -4893,38 +4887,32 @@ const Pa = ({
4893
4887
  },
4894
4888
  meta: e == null ? void 0 : e.meta
4895
4889
  } : void 0;
4896
- function ar(e) {
4897
- var o, i, s, u, d, k, E, S, P;
4898
- const t = Ki({
4890
+ function or(e) {
4891
+ var o, i, s, u, d, k, E, y, R;
4892
+ const t = Wi({
4899
4893
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
4900
4894
  variationId: (o = e.content) == null ? void 0 : o.testVariationId,
4901
4895
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
4902
4896
  contentId: (i = e.content) == null ? void 0 : i.id
4903
4897
  }), n = [
4904
- ...qn(),
4905
- // While this `components` object is deprecated, we must maintain support for it.
4906
- // Since users are able to override our default components, we need to make sure that we do not break such
4907
- // existing usage.
4908
- // This is why we spread `components` after the default Builder.io components, but before the `props.customComponents`,
4909
- // which is the new standard way of providing custom components, and must therefore take precedence.
4910
- ...Zn,
4898
+ ...zn(),
4911
4899
  ...e.customComponents || []
4912
4900
  ].reduce(
4913
- (j, { component: v, ...x }) => ({
4901
+ (j, { component: v, ...w }) => ({
4914
4902
  ...j,
4915
- [x.name]: {
4903
+ [w.name]: {
4916
4904
  component: v,
4917
- ...Kt(x)
4905
+ ...Ht(w)
4918
4906
  }
4919
4907
  }),
4920
4908
  {}
4921
4909
  ), r = {
4922
- content: Na({
4910
+ content: Ra({
4923
4911
  content: e.content,
4924
4912
  data: e.data
4925
4913
  }),
4926
4914
  localState: void 0,
4927
- rootState: Pa({
4915
+ rootState: ja({
4928
4916
  content: e.content,
4929
4917
  data: e.data,
4930
4918
  locale: e.locale
@@ -4934,18 +4922,12 @@ function ar(e) {
4934
4922
  apiKey: e.apiKey,
4935
4923
  apiVersion: e.apiVersion,
4936
4924
  componentInfos: [
4937
- ...qn(),
4938
- // While this `components` object is deprecated, we must maintain support for it.
4939
- // Since users are able to override our default components, we need to make sure that we do not break such
4940
- // existing usage.
4941
- // This is why we spread `components` after the default Builder.io components, but before the `props.customComponents`,
4942
- // which is the new standard way of providing custom components, and must therefore take precedence.
4943
- ...Zn,
4925
+ ...zn(),
4944
4926
  ...e.customComponents || []
4945
4927
  ].reduce(
4946
- (j, { component: v, ...x }) => ({
4928
+ (j, { component: v, ...w }) => ({
4947
4929
  ...j,
4948
- [x.name]: Kt(x)
4930
+ [w.name]: Ht(w)
4949
4931
  }),
4950
4932
  {}
4951
4933
  ),
@@ -4954,7 +4936,7 @@ function ar(e) {
4954
4936
  BlocksWrapperProps: e.blocksWrapperProps || {}
4955
4937
  };
4956
4938
  return /* @__PURE__ */ xe(
4957
- mo,
4939
+ uo,
4958
4940
  {
4959
4941
  content: e.content,
4960
4942
  data: e.data,
@@ -4963,7 +4945,6 @@ function ar(e) {
4963
4945
  apiKey: e.apiKey,
4964
4946
  canTrack: e.canTrack,
4965
4947
  locale: e.locale,
4966
- includeRefs: e.includeRefs,
4967
4948
  enrich: e.enrich,
4968
4949
  showContent: e.showContent,
4969
4950
  builderContextSignal: r,
@@ -4972,9 +4953,9 @@ function ar(e) {
4972
4953
  linkComponent: e.linkComponent,
4973
4954
  trustedHosts: e.trustedHosts,
4974
4955
  children: [
4975
- e.isSsrAbTest ? /* @__PURE__ */ C(_, { children: /* @__PURE__ */ C(Gt, { scriptStr: t }) }) : null,
4976
- /* @__PURE__ */ C(_, { children: /* @__PURE__ */ C(
4977
- Ra,
4956
+ e.isSsrAbTest ? /* @__PURE__ */ C(W, { children: /* @__PURE__ */ C(Kt, { scriptStr: t }) }) : null,
4957
+ /* @__PURE__ */ C(W, { children: /* @__PURE__ */ C(
4958
+ Oa,
4978
4959
  {
4979
4960
  contentId: (s = r.content) == null ? void 0 : s.id,
4980
4961
  cssCode: (d = (u = r.content) == null ? void 0 : u.data) == null ? void 0 : d.cssCode,
@@ -4982,9 +4963,9 @@ function ar(e) {
4982
4963
  }
4983
4964
  ) }),
4984
4965
  /* @__PURE__ */ C(
4985
- mt,
4966
+ sn,
4986
4967
  {
4987
- blocks: (P = (S = r.content) == null ? void 0 : S.data) == null ? void 0 : P.blocks,
4968
+ blocks: (R = (y = r.content) == null ? void 0 : y.data) == null ? void 0 : R.blocks,
4988
4969
  context: r,
4989
4970
  registeredComponents: n,
4990
4971
  linkComponent: e.linkComponent
@@ -4994,14 +4975,14 @@ function ar(e) {
4994
4975
  }
4995
4976
  );
4996
4977
  }
4997
- function Dr(e) {
4978
+ function Pa(e) {
4998
4979
  var i, s;
4999
- const t = _i({
5000
- canTrack: Ht(e.canTrack),
4980
+ const t = Di({
4981
+ canTrack: $t(e.canTrack),
5001
4982
  content: e.content
5002
4983
  }), n = function() {
5003
4984
  var d;
5004
- return Hi(
4985
+ return _i(
5005
4986
  st(e.content).map((k) => ({
5006
4987
  id: k.testVariationId,
5007
4988
  testRatio: k.testRatio
@@ -5015,14 +4996,14 @@ function Dr(e) {
5015
4996
  return t ? {
5016
4997
  ...e.content,
5017
4998
  testVariationId: (d = e.content) == null ? void 0 : d.id
5018
- } : bi({
4999
+ } : gi({
5019
5000
  item: e.content,
5020
- canTrack: Ht(e.canTrack)
5001
+ canTrack: $t(e.canTrack)
5021
5002
  });
5022
5003
  };
5023
- return /* @__PURE__ */ xe(_, { children: [
5024
- !e.__isNestedRender && he !== "reactNative" ? /* @__PURE__ */ C(_, { children: /* @__PURE__ */ C(Gt, { scriptStr: $i() }) }) : null,
5025
- t ? /* @__PURE__ */ xe(_, { children: [
5004
+ return /* @__PURE__ */ xe(W, { children: [
5005
+ !e.__isNestedRender && he !== "reactNative" ? /* @__PURE__ */ C(W, { children: /* @__PURE__ */ C(Kt, { scriptStr: Li() }) }) : null,
5006
+ t ? /* @__PURE__ */ xe(W, { children: [
5026
5007
  /* @__PURE__ */ C(
5027
5008
  dt,
5028
5009
  {
@@ -5030,9 +5011,9 @@ function Dr(e) {
5030
5011
  styles: r()
5031
5012
  }
5032
5013
  ),
5033
- /* @__PURE__ */ C(Gt, { scriptStr: n() }),
5014
+ /* @__PURE__ */ C(Kt, { scriptStr: n() }),
5034
5015
  (s = st(e.content)) == null ? void 0 : s.map((u) => /* @__PURE__ */ C(
5035
- ar,
5016
+ or,
5036
5017
  {
5037
5018
  content: u,
5038
5019
  showContent: !1,
@@ -5045,7 +5026,6 @@ function Dr(e) {
5045
5026
  linkComponent: e.linkComponent,
5046
5027
  canTrack: e.canTrack,
5047
5028
  locale: e.locale,
5048
- includeRefs: e.includeRefs,
5049
5029
  enrich: e.enrich,
5050
5030
  isSsrAbTest: t,
5051
5031
  blocksWrapper: e.blocksWrapper,
@@ -5058,7 +5038,7 @@ function Dr(e) {
5058
5038
  ))
5059
5039
  ] }) : null,
5060
5040
  /* @__PURE__ */ C(
5061
- ar,
5041
+ or,
5062
5042
  {
5063
5043
  content: o(),
5064
5044
  showContent: !0,
@@ -5071,7 +5051,6 @@ function Dr(e) {
5071
5051
  linkComponent: e.linkComponent,
5072
5052
  canTrack: e.canTrack,
5073
5053
  locale: e.locale,
5074
- includeRefs: e.includeRefs,
5075
5054
  enrich: e.enrich,
5076
5055
  isSsrAbTest: t,
5077
5056
  blocksWrapper: e.blocksWrapper,
@@ -5083,13 +5062,13 @@ function Dr(e) {
5083
5062
  )
5084
5063
  ] });
5085
5064
  }
5086
- const Ba = async ({
5065
+ const Na = async ({
5087
5066
  builderContextValue: e,
5088
5067
  symbol: t
5089
5068
  }) => {
5090
5069
  if (t != null && t.model && // This is a hack, we should not need to check for this, but it is needed for Svelte.
5091
5070
  (e != null && e.apiKey))
5092
- return un({
5071
+ return jr({
5093
5072
  model: t.model,
5094
5073
  apiKey: e.apiKey,
5095
5074
  apiVersion: e.apiVersion,
@@ -5099,25 +5078,25 @@ const Ba = async ({
5099
5078
  }
5100
5079
  }
5101
5080
  }).catch((n) => {
5102
- J.error("Could not fetch symbol content: ", n);
5081
+ Y.error("Could not fetch symbol content: ", n);
5103
5082
  });
5104
5083
  };
5105
- async function Ua(e) {
5084
+ async function Ba(e) {
5106
5085
  var r, o, i, s, u;
5107
5086
  const t = function() {
5108
5087
  var k, E;
5109
5088
  return [
5110
- e.attributes[Xt()],
5089
+ e.attributes[Gt()],
5111
5090
  "builder-symbol",
5112
5091
  (k = e.symbol) != null && k.inline ? "builder-inline-symbol" : void 0,
5113
5092
  (E = e.symbol) != null && E.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
5114
5093
  ].filter(Boolean).join(" ");
5115
- }, n = ((r = e.symbol) == null ? void 0 : r.content) || await Ba({
5094
+ }, n = ((r = e.symbol) == null ? void 0 : r.content) || await Na({
5116
5095
  symbol: e.symbol,
5117
5096
  builderContextValue: e.builderContext
5118
5097
  });
5119
5098
  return /* @__PURE__ */ C("div", { ...e.attributes, className: t(), children: /* @__PURE__ */ C(
5120
- Dr,
5099
+ Pa,
5121
5100
  {
5122
5101
  __isNestedRender: !0,
5123
5102
  apiVersion: e.builderContext.apiVersion,
@@ -5138,18 +5117,18 @@ async function Ua(e) {
5138
5117
  }
5139
5118
  ) });
5140
5119
  }
5141
- const es = mt, ts = Dr, sr = {};
5142
- function ns(e) {
5143
- if (G()) {
5144
- Object.assign(sr, e);
5120
+ const ir = {};
5121
+ function qa(e) {
5122
+ if (X()) {
5123
+ Object.assign(ir, e);
5145
5124
  const t = {
5146
5125
  type: "builder.settingsChange",
5147
- data: sr
5126
+ data: ir
5148
5127
  };
5149
5128
  parent.postMessage(t, "*");
5150
5129
  }
5151
5130
  }
5152
- const rs = async (e) => {
5131
+ const Za = async (e) => {
5153
5132
  var r, o, i;
5154
5133
  const t = e.path || ((r = e.url) == null ? void 0 : r.pathname) || ((o = e.userAttributes) == null ? void 0 : o.urlPath), n = {
5155
5134
  ...e,
@@ -5161,53 +5140,49 @@ const rs = async (e) => {
5161
5140
  urlPath: t
5162
5141
  } : {}
5163
5142
  },
5164
- options: jr(e.searchParams || ((i = e.url) == null ? void 0 : i.searchParams) || e.options)
5143
+ options: Ar(e.searchParams || ((i = e.url) == null ? void 0 : i.searchParams) || e.options)
5165
5144
  };
5166
5145
  return {
5167
5146
  apiKey: n.apiKey,
5168
5147
  model: n.model,
5169
- content: await un(n)
5148
+ content: await jr(n)
5170
5149
  };
5171
5150
  };
5172
5151
  export {
5173
- jr as A,
5174
- mt as B,
5175
- Dr as C,
5176
- Ya as D,
5152
+ Ga as A,
5153
+ sn as B,
5154
+ Pa as C,
5155
+ Ja as D,
5177
5156
  Za as E,
5178
- rs as F,
5179
- oa as G,
5180
- Pr as H,
5181
- Xa as I,
5182
- Ga as J,
5183
- es as R,
5184
- Ua as S,
5185
- ji as T,
5186
- ga as _,
5187
- oi as a,
5188
- Wa as b,
5189
- Jt as c,
5190
- $a as d,
5191
- Ha as e,
5192
- G as f,
5193
- Xt as g,
5194
- Ht as h,
5195
- _a as i,
5196
- Ja as j,
5197
- ka as k,
5198
- J as l,
5199
- sn as m,
5200
- za as n,
5157
+ ta as F,
5158
+ na as G,
5159
+ Ba as S,
5160
+ Ti as T,
5161
+ ha as _,
5162
+ ti as a,
5163
+ _a as b,
5164
+ Xt as c,
5165
+ Wa as d,
5166
+ $a as e,
5167
+ X as f,
5168
+ Gt as g,
5169
+ $t as h,
5170
+ La as i,
5171
+ Ka as j,
5172
+ wa as k,
5173
+ Y as l,
5174
+ an as m,
5175
+ Xa as n,
5201
5176
  pt as o,
5202
- Ka as p,
5203
- un as q,
5204
- qa as r,
5205
- xa as s,
5206
- Qa as t,
5207
- qi as u,
5208
- Xi as v,
5209
- ts as w,
5210
- si as x,
5211
- wa as y,
5212
- ns as z
5177
+ Ha as p,
5178
+ jr as q,
5179
+ Ya as r,
5180
+ Sa as s,
5181
+ za as t,
5182
+ Yi as u,
5183
+ Hi as v,
5184
+ oi as w,
5185
+ ba as x,
5186
+ qa as y,
5187
+ Ar as z
5213
5188
  };