@builder.io/sdk-react-nextjs 0.12.3 → 0.12.5

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 (64) hide show
  1. package/lib/browser/{USE_CLIENT_BUNDLE-64b6ec10.cjs → USE_CLIENT_BUNDLE-70be4cc5.cjs} +3 -3
  2. package/lib/{node/USE_CLIENT_BUNDLE-98a4fbf4.js → browser/USE_CLIENT_BUNDLE-7492ecd8.js} +188 -187
  3. package/lib/{edge/USE_SERVER_BUNDLE-e79e6b55.cjs → browser/USE_SERVER_BUNDLE-875d4629.cjs} +1 -1
  4. package/lib/{edge/USE_SERVER_BUNDLE-4e9af8f5.js → browser/USE_SERVER_BUNDLE-fe386ed3.js} +1 -1
  5. package/lib/browser/bundle-bd9886c9.cjs +168 -0
  6. package/lib/browser/{bundle-f3e8cd29.js → bundle-f9f52242.js} +594 -526
  7. package/lib/browser/index.cjs +1 -1
  8. package/lib/browser/index.mjs +14 -14
  9. package/lib/{node/USE_CLIENT_BUNDLE-990b655a.cjs → edge/USE_CLIENT_BUNDLE-1148158d.cjs} +3 -3
  10. package/lib/{browser/USE_CLIENT_BUNDLE-e89d3175.js → edge/USE_CLIENT_BUNDLE-cb840c0f.js} +188 -187
  11. package/lib/{node/USE_SERVER_BUNDLE-b231d861.js → edge/USE_SERVER_BUNDLE-36de460d.js} +1 -1
  12. package/lib/{node/USE_SERVER_BUNDLE-c86a1fb8.cjs → edge/USE_SERVER_BUNDLE-50c2f18b.cjs} +1 -1
  13. package/lib/edge/{bundle-d4f509a3.cjs → bundle-71cfdd3e.cjs} +33 -37
  14. package/lib/edge/{bundle-cb191300.js → bundle-765860e3.js} +1051 -983
  15. package/lib/edge/index.cjs +1 -1
  16. package/lib/edge/index.mjs +14 -14
  17. package/lib/{edge/USE_CLIENT_BUNDLE-2aed408a.cjs → node/USE_CLIENT_BUNDLE-2f43c320.cjs} +3 -3
  18. package/lib/{edge/USE_CLIENT_BUNDLE-a3258a60.js → node/USE_CLIENT_BUNDLE-4ba4594d.js} +188 -187
  19. package/lib/{browser/USE_SERVER_BUNDLE-d6bec4ec.js → node/USE_SERVER_BUNDLE-2534ef71.js} +1 -1
  20. package/lib/{browser/USE_SERVER_BUNDLE-f34c0814.cjs → node/USE_SERVER_BUNDLE-473d50ad.cjs} +1 -1
  21. package/lib/node/{bundle-b2d68b60.cjs → bundle-1c54df65.cjs} +7 -11
  22. package/lib/node/{bundle-11daeaca.js → bundle-305bb463.js} +361 -293
  23. package/lib/node/index.cjs +1 -1
  24. package/lib/node/index.mjs +14 -14
  25. package/package.json +1 -1
  26. package/types/cjs/blocks/button/button.types.d.ts +2 -1
  27. package/types/cjs/blocks/columns/columns.types.d.ts +3 -3
  28. package/types/cjs/blocks/symbol/symbol.types.d.ts +2 -2
  29. package/types/cjs/components/block/block.d.ts +1 -0
  30. package/types/cjs/components/block/components/block-wrapper.d.ts +1 -0
  31. package/types/cjs/components/block/components/component-ref/component-ref.helpers.d.ts +8 -1
  32. package/types/cjs/components/block/components/repeated-block.d.ts +3 -5
  33. package/types/cjs/components/blocks/blocks.types.d.ts +1 -0
  34. package/types/cjs/components/content-variants/content-variants.types.d.ts +6 -2
  35. package/types/cjs/constants/sdk-version.d.ts +1 -1
  36. package/types/cjs/functions/evaluate/should-force-browser-runtime-in-node.d.ts +1 -0
  37. package/types/cjs/functions/get-block-properties.d.ts +5 -1
  38. package/types/cjs/functions/get-class-prop-name.d.ts +1 -0
  39. package/types/cjs/functions/get-style.d.ts +12 -0
  40. package/types/cjs/functions/is-node-runtime.d.ts +4 -0
  41. package/types/cjs/functions/transform-block-properties.d.ts +7 -5
  42. package/types/cjs/functions/transform-style-property.d.ts +7 -0
  43. package/types/cjs/types/builder-block.d.ts +1 -0
  44. package/types/cjs/types/builder-props.d.ts +3 -0
  45. package/types/esm/blocks/button/button.types.d.ts +2 -1
  46. package/types/esm/blocks/columns/columns.types.d.ts +3 -3
  47. package/types/esm/blocks/symbol/symbol.types.d.ts +2 -2
  48. package/types/esm/components/block/block.d.ts +1 -0
  49. package/types/esm/components/block/components/block-wrapper.d.ts +1 -0
  50. package/types/esm/components/block/components/component-ref/component-ref.helpers.d.ts +8 -1
  51. package/types/esm/components/block/components/repeated-block.d.ts +3 -5
  52. package/types/esm/components/blocks/blocks.types.d.ts +1 -0
  53. package/types/esm/components/content-variants/content-variants.types.d.ts +6 -2
  54. package/types/esm/constants/sdk-version.d.ts +1 -1
  55. package/types/esm/functions/evaluate/should-force-browser-runtime-in-node.d.ts +1 -0
  56. package/types/esm/functions/get-block-properties.d.ts +5 -1
  57. package/types/esm/functions/get-class-prop-name.d.ts +1 -0
  58. package/types/esm/functions/get-style.d.ts +12 -0
  59. package/types/esm/functions/is-node-runtime.d.ts +4 -0
  60. package/types/esm/functions/transform-block-properties.d.ts +7 -5
  61. package/types/esm/functions/transform-style-property.d.ts +7 -0
  62. package/types/esm/types/builder-block.d.ts +1 -0
  63. package/types/esm/types/builder-props.d.ts +3 -0
  64. package/lib/browser/bundle-50ff23eb.cjs +0 -172
@@ -1,9 +1,22 @@
1
- import { LRUCache as zr } from "lru-cache";
2
- import { jsx as E, Fragment as L, jsxs as Se } from "react/jsx-runtime";
3
- import { createElement as qr } from "react";
4
- import { I as Zr, B as Qr, a as eo, b as to, C as no, E as ro, F as oo, c as io, d as ao, S as so, V as lo, e as co } from "./USE_CLIENT_BUNDLE-a3258a60.js";
1
+ import { LRUCache as Zr } from "lru-cache";
2
+ import { jsx as C, Fragment as L, jsxs as xe } from "react/jsx-runtime";
3
+ import { I as Qr, B as eo, a as to, D as no, b as ro, C as oo, E as io, F as ao, c as so, d as lo, S as co, V as uo, e as fo } from "./USE_CLIENT_BUNDLE-cb840c0f.js";
4
+ import "react";
5
5
  import "next/navigation";
6
- function uo(e) {
6
+ const po = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), Na = (e) => typeof e == "string" && po.has(e.toLowerCase()), he = "rsc", Xt = () => {
7
+ switch (he) {
8
+ case "react":
9
+ case "reactNative":
10
+ case "rsc":
11
+ return "className";
12
+ case "svelte":
13
+ case "vue":
14
+ case "solid":
15
+ case "qwik":
16
+ return "class";
17
+ }
18
+ };
19
+ function ho(e) {
7
20
  var t;
8
21
  return {
9
22
  ...(t = e.component) == null ? void 0 : t.options,
@@ -14,7 +27,7 @@ function uo(e) {
14
27
  builderBlock: e
15
28
  };
16
29
  }
17
- const at = "[Builder.io]: ", q = {
30
+ const at = "[Builder.io]: ", z = {
18
31
  log: (...e) => console.log(at, ...e),
19
32
  error: (...e) => console.error(at, ...e),
20
33
  warn: (...e) => console.warn(at, ...e),
@@ -23,21 +36,20 @@ const at = "[Builder.io]: ", q = {
23
36
  function G() {
24
37
  return typeof window < "u" && typeof document < "u";
25
38
  }
26
- const ve = "rsc";
27
- function fo() {
39
+ function mo() {
28
40
  return G() && window.self !== window.top;
29
41
  }
30
- function Xt() {
31
- return fo() && window.location.search.indexOf("builder.frameEditing=") !== -1;
42
+ function Yt() {
43
+ return mo() && window.location.search.indexOf("builder.frameEditing=") !== -1;
32
44
  }
33
- const po = () => {
45
+ const go = () => {
34
46
  if (G()) {
35
47
  const e = new URL(location.href);
36
48
  return e.pathname === "" && (e.pathname = "/"), e;
37
49
  } else
38
50
  return console.warn("Cannot get location for tracking in non-browser environment"), null;
39
- }, ho = () => typeof navigator == "object" && navigator.userAgent || "", ar = () => {
40
- const e = ho(), t = {
51
+ }, yo = () => typeof navigator == "object" && navigator.userAgent || "", sr = () => {
52
+ const e = yo(), t = {
41
53
  Android() {
42
54
  return e.match(/Android/i);
43
55
  },
@@ -54,15 +66,15 @@ const po = () => {
54
66
  return e.match(/IEMobile/i) || e.match(/WPDesktop/i);
55
67
  },
56
68
  any() {
57
- return t.Android() || t.BlackBerry() || t.iOS() || t.Opera() || t.Windows() || ve === "reactNative";
69
+ return t.Android() || t.BlackBerry() || t.iOS() || t.Opera() || t.Windows() || he === "reactNative";
58
70
  }
59
- }, n = e.match(/Tablet|iPad/i), r = po();
71
+ }, n = e.match(/Tablet|iPad/i), r = go();
60
72
  return {
61
73
  urlPath: r == null ? void 0 : r.pathname,
62
74
  host: (r == null ? void 0 : r.host) || (r == null ? void 0 : r.hostname),
63
75
  device: n ? "tablet" : t.any() ? "mobile" : "desktop"
64
76
  };
65
- }, sr = ({
77
+ }, lr = ({
66
78
  builder: e,
67
79
  context: t,
68
80
  event: n,
@@ -74,14 +86,14 @@ const po = () => {
74
86
  builder: e,
75
87
  context: t,
76
88
  event: n
77
- }), mo = () => ({
78
- isEditing: Xt(),
89
+ }), vo = () => ({
90
+ isEditing: Yt(),
79
91
  isBrowser: G(),
80
92
  isServer: !G(),
81
- getUserAttributes: () => ar()
82
- }), go = (e, {
93
+ getUserAttributes: () => sr()
94
+ }), bo = (e, {
83
95
  isExpression: t = !0
84
- }) => /* we disable this for cases where we definitely don't want a return */ t && !(e.includes(";") || e.includes(" return ") || e.trim().startsWith("return ")) ? `return (${e});` : e, yo = ({
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 = ({
85
97
  code: e,
86
98
  builder: t,
87
99
  context: n,
@@ -90,15 +102,15 @@ const po = () => {
90
102
  rootSetState: a,
91
103
  rootState: s
92
104
  }) => {
93
- const u = sr({
105
+ const u = lr({
94
106
  builder: t,
95
107
  context: n,
96
108
  event: r,
97
- state: vo(s, o, a)
109
+ state: wo(s, o, a)
98
110
  });
99
111
  return new Function(...u.map(([d]) => d), e)(...u.map(([, d]) => d));
100
112
  };
101
- function vo(e, t, n) {
113
+ function wo(e, t, n) {
102
114
  if (e === t)
103
115
  throw new Error("rootState === localState");
104
116
  return new Proxy(e, {
@@ -110,25 +122,25 @@ function vo(e, t, n) {
110
122
  }
111
123
  });
112
124
  }
113
- const lr = (e, t, n) => {
125
+ const cr = (e, t, n) => {
114
126
  if (Object(e) !== e)
115
127
  return e;
116
128
  const r = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
117
129
  return r.slice(0, -1).reduce((o, a, s) => Object(o[a]) === o[a] ? o[a] : o[a] = Math.abs(Number(r[s + 1])) >> 0 === +r[s + 1] ? [] : {}, e)[r[r.length - 1]] = n, e;
118
130
  };
119
- var N, bo = function(e) {
131
+ var N, xo = function(e) {
120
132
  function t(i) {
121
- return 48 > i ? i === 36 : 58 > i ? !0 : 65 > i ? !1 : 91 > i ? !0 : 97 > i ? i === 95 : 123 > i ? !0 : 170 <= i && Yr.test(String.fromCharCode(i));
133
+ return 48 > i ? i === 36 : 58 > i ? !0 : 65 > i ? !1 : 91 > i ? !0 : 97 > i ? i === 95 : 123 > i ? !0 : 170 <= i && zr.test(String.fromCharCode(i));
122
134
  }
123
135
  function n(i) {
124
- return 65 > i ? i === 36 : 91 > i ? !0 : 97 > i ? i === 95 : 123 > i ? !0 : 170 <= i && Dn.test(String.fromCharCode(i));
136
+ return 65 > i ? i === 36 : 91 > i ? !0 : 97 > i ? i === 95 : 123 > i ? !0 : 170 <= i && Ln.test(String.fromCharCode(i));
125
137
  }
126
138
  function r(i, l) {
127
- for (var c = m, p = 1, T = 0; ; ) {
139
+ for (var c = g, p = 1, T = 0; ; ) {
128
140
  it.lastIndex = T;
129
- var D = it.exec(c);
130
- if (D && D.index < i)
131
- ++p, T = D.index + D[0].length;
141
+ var _ = it.exec(c);
142
+ if (_ && _.index < i)
143
+ ++p, T = _.index + _[0].length;
132
144
  else
133
145
  break;
134
146
  }
@@ -146,75 +158,75 @@ var N, bo = function(e) {
146
158
  };
147
159
  }
148
160
  function a() {
149
- this.line = we, this.ab = f - oe;
161
+ this.line = Se, this.ab = f - se;
150
162
  }
151
163
  function s(i, l) {
152
164
  Ce = f, O.C && (Et = new a()), I = i, d(), Q = l, Ue = i.m;
153
165
  }
154
166
  function u() {
155
- for (var i = f, l = O.va && O.C && new a(), c = m.charCodeAt(f += 2); f < ke && c !== 10 && c !== 13 && c !== 8232 && c !== 8233; )
156
- ++f, c = m.charCodeAt(f);
157
- O.va && O.va(!1, m.slice(i + 2, f), i, f, l, O.C && new a());
167
+ for (var i = f, l = O.va && O.C && new a(), c = g.charCodeAt(f += 2); f < ke && c !== 10 && c !== 13 && c !== 8232 && c !== 8233; )
168
+ ++f, c = g.charCodeAt(f);
169
+ O.va && O.va(!1, g.slice(i + 2, f), i, f, l, O.C && new a());
158
170
  }
159
171
  function d() {
160
172
  for (; f < ke; ) {
161
- var i = m.charCodeAt(f);
173
+ var i = g.charCodeAt(f);
162
174
  if (i === 32)
163
175
  ++f;
164
176
  else if (i === 13)
165
- ++f, i = m.charCodeAt(f), i === 10 && ++f, O.C && (++we, oe = f);
177
+ ++f, i = g.charCodeAt(f), i === 10 && ++f, O.C && (++Se, se = f);
166
178
  else if (i === 10 || i === 8232 || i === 8233)
167
- ++f, O.C && (++we, oe = f);
179
+ ++f, O.C && (++Se, se = f);
168
180
  else if (8 < i && 14 > i)
169
181
  ++f;
170
182
  else if (i === 47)
171
- if (i = m.charCodeAt(f + 1), i === 42) {
183
+ if (i = g.charCodeAt(f + 1), i === 42) {
172
184
  i = void 0;
173
- var l = O.va && O.C && new a(), c = f, p = m.indexOf("*/", f += 2);
185
+ var l = O.va && O.C && new a(), c = f, p = g.indexOf("*/", f += 2);
174
186
  if (p === -1 && r(f - 2, "Unterminated comment"), f = p + 2, O.C)
175
- for (it.lastIndex = c; (i = it.exec(m)) && i.index < f; )
176
- ++we, oe = i.index + i[0].length;
177
- O.va && O.va(!0, m.slice(c + 2, p), c, f, l, O.C && new a());
187
+ for (it.lastIndex = c; (i = it.exec(g)) && i.index < f; )
188
+ ++Se, se = i.index + i[0].length;
189
+ O.va && O.va(!0, g.slice(c + 2, p), c, f, l, O.C && new a());
178
190
  } else if (i === 47)
179
191
  u();
180
192
  else
181
193
  break;
182
194
  else if (i === 160)
183
195
  ++f;
184
- else if (5760 <= i && Xr.test(String.fromCharCode(i)))
196
+ else if (5760 <= i && Jr.test(String.fromCharCode(i)))
185
197
  ++f;
186
198
  else
187
199
  break;
188
200
  }
189
201
  }
190
- function S(i) {
202
+ function k(i) {
191
203
  switch (i) {
192
204
  case 46:
193
- i = m.charCodeAt(f + 1), 48 <= i && 57 >= i ? k(!0) : (++f, s(Pn));
205
+ i = g.charCodeAt(f + 1), 48 <= i && 57 >= i ? v(!0) : (++f, s(Nn));
194
206
  return;
195
207
  case 40:
196
- return ++f, s(ie);
208
+ return ++f, s(le);
197
209
  case 41:
198
- return ++f, s(te);
210
+ return ++f, s(re);
199
211
  case 59:
200
- return ++f, s(ae);
212
+ return ++f, s(ce);
201
213
  case 44:
202
- return ++f, s(ge);
214
+ return ++f, s(ye);
203
215
  case 91:
204
216
  return ++f, s(Mt);
205
217
  case 93:
206
218
  return ++f, s(Ut);
207
219
  case 123:
208
- return ++f, s(_e);
220
+ return ++f, s(De);
209
221
  case 125:
210
222
  return ++f, s(Ie);
211
223
  case 58:
212
- return ++f, s(De);
224
+ return ++f, s(_e);
213
225
  case 63:
214
- return ++f, s(Nn);
226
+ return ++f, s(Bn);
215
227
  case 48:
216
- if (i = m.charCodeAt(f + 1), i === 120 || i === 88) {
217
- f += 2, i = j(16), i === null && r(_ + 2, "Expected hexadecimal number"), n(m.charCodeAt(f)) && r(f, "Identifier directly after number"), s(Ve, i);
228
+ if (i = g.charCodeAt(f + 1), i === 120 || i === 88) {
229
+ f += 2, i = j(16), i === null && r(D + 2, "Expected hexadecimal number"), n(g.charCodeAt(f)) && r(f, "Identifier directly after number"), s(Ve, i);
218
230
  return;
219
231
  }
220
232
  case 49:
@@ -226,24 +238,24 @@ var N, bo = function(e) {
226
238
  case 55:
227
239
  case 56:
228
240
  case 57:
229
- return k(!1);
241
+ return v(!1);
230
242
  case 34:
231
243
  case 39:
232
244
  f++;
233
245
  for (var l = ""; ; ) {
234
- f >= ke && r(_, "Unterminated string constant");
235
- var c = m.charCodeAt(f);
246
+ f >= ke && r(D, "Unterminated string constant");
247
+ var c = g.charCodeAt(f);
236
248
  if (c === i) {
237
249
  ++f, s(tt, l);
238
250
  break;
239
251
  }
240
252
  if (c === 92) {
241
- c = m.charCodeAt(++f);
242
- var p = /^[0-7]+/.exec(m.slice(f, f + 3));
253
+ c = g.charCodeAt(++f);
254
+ var p = /^[0-7]+/.exec(g.slice(f, f + 3));
243
255
  for (p && (p = p[0]); p && 255 < parseInt(p, 8); )
244
256
  p = p.slice(0, -1);
245
257
  if (p === "0" && (p = null), ++f, p)
246
- z && r(f - 2, "Octal literal in strict mode"), l += String.fromCharCode(parseInt(p, 8)), f += p.length - 1;
258
+ q && r(f - 2, "Octal literal in strict mode"), l += String.fromCharCode(parseInt(p, 8)), f += p.length - 1;
247
259
  else
248
260
  switch (c) {
249
261
  case 110:
@@ -278,69 +290,69 @@ var N, bo = function(e) {
278
290
  l += "\0";
279
291
  break;
280
292
  case 13:
281
- m.charCodeAt(f) === 10 && ++f;
293
+ g.charCodeAt(f) === 10 && ++f;
282
294
  case 10:
283
- O.C && (oe = f, ++we);
295
+ O.C && (se = f, ++Se);
284
296
  break;
285
297
  default:
286
298
  l += String.fromCharCode(c);
287
299
  }
288
300
  } else
289
- c !== 13 && c !== 10 && c !== 8232 && c !== 8233 || r(_, "Unterminated string constant"), l += String.fromCharCode(c), ++f;
301
+ c !== 13 && c !== 10 && c !== 8232 && c !== 8233 || r(D, "Unterminated string constant"), l += String.fromCharCode(c), ++f;
290
302
  }
291
303
  return;
292
304
  case 47:
293
- i = m.charCodeAt(f + 1), Ue ? (++f, P()) : i === 61 ? b(xe, 2) : b(Bn, 1);
305
+ i = g.charCodeAt(f + 1), Ue ? (++f, P()) : i === 61 ? S(we, 2) : S(Mn, 1);
294
306
  return;
295
307
  case 37:
296
308
  case 42:
297
- m.charCodeAt(f + 1) === 61 ? b(xe, 2) : b(Hr, 1);
309
+ g.charCodeAt(f + 1) === 61 ? S(we, 2) : S(Gr, 1);
298
310
  return;
299
311
  case 124:
300
312
  case 38:
301
- l = m.charCodeAt(f + 1), l === i ? b(i === 124 ? Fn : Vn, 2) : l === 61 ? b(xe, 2) : b(i === 124 ? Fr : _r, 1);
313
+ l = g.charCodeAt(f + 1), l === i ? S(i === 124 ? Vn : Dn, 2) : l === 61 ? S(we, 2) : S(i === 124 ? Dr : Lr, 1);
302
314
  return;
303
315
  case 94:
304
- m.charCodeAt(f + 1) === 61 ? b(xe, 2) : b(Vr, 1);
316
+ g.charCodeAt(f + 1) === 61 ? S(we, 2) : S(_r, 1);
305
317
  return;
306
318
  case 43:
307
319
  case 45:
308
- l = m.charCodeAt(f + 1), l === i ? l === 45 && m.charCodeAt(f + 2) === 62 && ot.test(m.slice(me, f)) ? (f += 3, u(), d(), C()) : b(Ur, 2) : l === 61 ? b(xe, 2) : b($r, 1);
320
+ l = g.charCodeAt(f + 1), l === i ? l === 45 && g.charCodeAt(f + 2) === 62 && ot.test(g.slice(ge, f)) ? (f += 3, u(), d(), E()) : S(Vr, 2) : l === 61 ? S(we, 2) : S(Kr, 1);
309
321
  return;
310
322
  case 60:
311
323
  case 62:
312
- l = m.charCodeAt(f + 1), c = 1, l === i ? (c = i === 62 && m.charCodeAt(f + 2) === 62 ? 3 : 2, m.charCodeAt(f + c) === 61 ? b(xe, c + 1) : b(Wr, c)) : l === 33 && i === 60 && m.charCodeAt(f + 2) === 45 && m.charCodeAt(f + 3) === 45 ? (f += 4, u(), d(), C()) : (l === 61 && (c = m.charCodeAt(f + 2) === 61 ? 3 : 2), b(Lr, c));
324
+ l = g.charCodeAt(f + 1), c = 1, l === i ? (c = i === 62 && g.charCodeAt(f + 2) === 62 ? 3 : 2, g.charCodeAt(f + c) === 61 ? S(we, c + 1) : S(Hr, c)) : l === 33 && i === 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($r, c));
313
325
  return;
314
326
  case 61:
315
327
  case 33:
316
- m.charCodeAt(f + 1) === 61 ? b(Dr, m.charCodeAt(f + 2) === 61 ? 3 : 2) : b(i === 61 ? Mn : Un, 1);
328
+ g.charCodeAt(f + 1) === 61 ? S(Wr, g.charCodeAt(f + 2) === 61 ? 3 : 2) : S(i === 61 ? Un : Fn, 1);
317
329
  return;
318
330
  case 126:
319
- return b(Un, 1);
331
+ return S(Fn, 1);
320
332
  }
321
333
  return !1;
322
334
  }
323
- function C(i) {
324
- if (i ? f = _ + 1 : _ = f, O.C && (Ct = new a()), i)
335
+ function E(i) {
336
+ if (i ? f = D + 1 : D = f, O.C && (Ct = new a()), i)
325
337
  return P();
326
338
  if (f >= ke)
327
339
  return s(At);
328
- if (i = m.charCodeAt(f), n(i) || i === 92)
340
+ if (i = g.charCodeAt(f), n(i) || i === 92)
329
341
  return $();
330
- if (S(i) === !1) {
331
- if (i = String.fromCharCode(i), i === "\\" || Dn.test(i))
342
+ if (k(i) === !1) {
343
+ if (i = String.fromCharCode(i), i === "\\" || Ln.test(i))
332
344
  return $();
333
345
  r(f, "Unexpected character '" + i + "'");
334
346
  }
335
347
  }
336
- function b(i, l) {
337
- var c = m.slice(f, f + l);
348
+ function S(i, l) {
349
+ var c = g.slice(f, f + l);
338
350
  f += l, s(i, c);
339
351
  }
340
352
  function P() {
341
353
  for (var i, l, c = f; ; ) {
342
354
  f >= ke && r(c, "Unterminated regexp");
343
- var p = m.charAt(f);
355
+ var p = g.charAt(f);
344
356
  if (ot.test(p) && r(c, "Unterminated regexp"), i)
345
357
  i = !1;
346
358
  else {
@@ -354,291 +366,291 @@ var N, bo = function(e) {
354
366
  }
355
367
  ++f;
356
368
  }
357
- i = m.slice(c, f), ++f, (l = B()) && !/^[gmi]*$/.test(l) && r(c, "Invalid regexp flag");
369
+ i = g.slice(c, f), ++f, (l = B()) && !/^[gmi]*$/.test(l) && r(c, "Invalid regexp flag");
358
370
  try {
359
371
  var T = new RegExp(i, l);
360
- } catch (D) {
361
- throw D instanceof SyntaxError && r(c, D.message), D;
372
+ } catch (_) {
373
+ throw _ instanceof SyntaxError && r(c, _.message), _;
362
374
  }
363
- s(dn, T);
375
+ s(hn, T);
364
376
  }
365
377
  function j(i, l) {
366
- for (var c = f, p = 0, T = l === void 0 ? 1 / 0 : l, D = 0; D < T; ++D) {
367
- var X = m.charCodeAt(f);
378
+ for (var c = f, p = 0, T = l === void 0 ? 1 / 0 : l, _ = 0; _ < T; ++_) {
379
+ var X = g.charCodeAt(f);
368
380
  if (X = 97 <= X ? X - 97 + 10 : 65 <= X ? X - 65 + 10 : 48 <= X && 57 >= X ? X - 48 : 1 / 0, X >= i)
369
381
  break;
370
382
  ++f, p = p * i + X;
371
383
  }
372
384
  return f === c || l !== void 0 && f - c !== l ? null : p;
373
385
  }
374
- function k(i) {
375
- var l = f, c = !1, p = m.charCodeAt(f) === 48;
376
- i || j(10) !== null || r(l, "Invalid number"), m.charCodeAt(f) === 46 && (++f, j(10), c = !0), i = m.charCodeAt(f), (i === 69 || i === 101) && (i = m.charCodeAt(++f), i !== 43 && i !== 45 || ++f, j(10) === null && r(l, "Invalid number"), c = !0), n(m.charCodeAt(f)) && r(f, "Identifier directly after number"), i = m.slice(l, f);
386
+ function v(i) {
387
+ var l = f, c = !1, p = g.charCodeAt(f) === 48;
388
+ i || j(10) !== null || r(l, "Invalid number"), g.charCodeAt(f) === 46 && (++f, j(10), c = !0), i = g.charCodeAt(f), (i === 69 || i === 101) && (i = g.charCodeAt(++f), i !== 43 && i !== 45 || ++f, j(10) === null && r(l, "Invalid number"), c = !0), n(g.charCodeAt(f)) && r(f, "Identifier directly after number"), i = g.slice(l, f);
377
389
  var T;
378
- c ? T = parseFloat(i) : p && i.length !== 1 ? /[89]/.test(i) || z ? r(l, "Invalid number") : T = parseInt(i, 8) : T = parseInt(i, 10), s(Ve, T);
390
+ c ? T = parseFloat(i) : p && i.length !== 1 ? /[89]/.test(i) || q ? r(l, "Invalid number") : T = parseInt(i, 8) : T = parseInt(i, 10), s(Ve, T);
379
391
  }
380
392
  function x(i) {
381
- return i = j(16, i), i === null && r(_, "Bad character escape sequence"), i;
393
+ return i = j(16, i), i === null && r(D, "Bad character escape sequence"), i;
382
394
  }
383
395
  function B() {
384
396
  Te = !1;
385
397
  for (var i, l = !0, c = f; ; ) {
386
- var p = m.charCodeAt(f);
398
+ var p = g.charCodeAt(f);
387
399
  if (t(p))
388
- Te && (i += m.charAt(f)), ++f;
400
+ Te && (i += g.charAt(f)), ++f;
389
401
  else if (p === 92) {
390
- Te || (i = m.slice(c, f)), Te = !0, m.charCodeAt(++f) !== 117 && r(f, "Expecting Unicode escape sequence \\uXXXX"), ++f, p = x(4);
402
+ Te || (i = g.slice(c, f)), Te = !0, g.charCodeAt(++f) !== 117 && r(f, "Expecting Unicode escape sequence \\uXXXX"), ++f, p = x(4);
391
403
  var T = String.fromCharCode(p);
392
404
  T || r(f - 1, "Invalid Unicode escape"), (l ? n(p) : t(p)) || r(f - 4, "Invalid Unicode escape"), i += T;
393
405
  } else
394
406
  break;
395
407
  l = !1;
396
408
  }
397
- return Te ? i : m.slice(c, f);
409
+ return Te ? i : g.slice(c, f);
398
410
  }
399
411
  function $() {
400
412
  var i = B(), l = Ee;
401
- !Te && Gr(i) && (l = Mr[i]), s(l, i);
413
+ !Te && Yr(i) && (l = Fr[i]), s(l, i);
402
414
  }
403
- function g() {
404
- It = _, me = Ce, Tt = Et, C();
415
+ function m() {
416
+ It = D, ge = Ce, Tt = Et, E();
405
417
  }
406
- function pe(i) {
407
- if (z = i, f = _, O.C)
408
- for (; f < oe; )
409
- oe = m.lastIndexOf(`
410
- `, oe - 2) + 1, --we;
411
- d(), C();
418
+ function ee(i) {
419
+ if (q = i, f = D, O.C)
420
+ for (; f < se; )
421
+ se = g.lastIndexOf(`
422
+ `, se - 2) + 1, --Se;
423
+ d(), E();
412
424
  }
413
- function de() {
414
- this.type = null, this.start = _, this.end = null;
425
+ function te() {
426
+ this.type = null, this.start = D, this.end = null;
415
427
  }
416
428
  function Z() {
417
429
  this.start = Ct, this.end = null, kt && (this.source = kt);
418
430
  }
419
431
  function M() {
420
- var i = new de();
421
- return O.C && (i.X = new Z()), O.vb && (i.sourceFile = O.vb), O.Xa && (i.j = [_, 0]), i;
432
+ var i = new te();
433
+ return O.C && (i.X = new Z()), O.vb && (i.sourceFile = O.vb), O.Xa && (i.j = [D, 0]), i;
422
434
  }
423
- function he(i) {
424
- var l = new de();
435
+ function me(i) {
436
+ var l = new te();
425
437
  return l.start = i.start, O.C && (l.X = new Z(), l.X.start = i.X.start), O.Xa && (l.j = [i.j[0], 0]), l;
426
438
  }
427
439
  function A(i, l) {
428
- return i.type = l, i.end = me, O.C && (i.X.end = Tt), O.Xa && (i.j[1] = me), i;
440
+ return i.type = l, i.end = ge, O.C && (i.X.end = Tt), O.Xa && (i.j[1] = ge), i;
429
441
  }
430
442
  function gt(i) {
431
443
  return i.type === "ExpressionStatement" && i.la.type === "Literal" && i.la.value === "use strict";
432
444
  }
433
445
  function U(i) {
434
- return I === i ? (g(), !0) : !1;
446
+ return I === i ? (m(), !0) : !1;
435
447
  }
436
448
  function Ze() {
437
- return !O.fc && (I === At || I === Ie || ot.test(m.slice(me, _)));
449
+ return !O.fc && (I === At || I === Ie || ot.test(g.slice(ge, D)));
438
450
  }
439
451
  function be() {
440
- U(ae) || Ze() || ne();
452
+ U(ce) || Ze() || ie();
441
453
  }
442
454
  function F(i) {
443
- I === i ? g() : ne();
455
+ I === i ? m() : ie();
444
456
  }
445
- function ne() {
446
- r(_, "Unexpected token");
457
+ function ie() {
458
+ r(D, "Unexpected token");
447
459
  }
448
460
  function Qe(i) {
449
- i.type !== "Identifier" && i.type !== "MemberExpression" && r(i.start, "Assigning to rvalue"), z && i.type === "Identifier" && rt(i.name) && r(i.start, "Assigning to " + i.name + " in strict mode");
461
+ i.type !== "Identifier" && i.type !== "MemberExpression" && r(i.start, "Assigning to rvalue"), q && i.type === "Identifier" && rt(i.name) && r(i.start, "Assigning to " + i.name + " in strict mode");
450
462
  }
451
- function ee() {
452
- (I === Bn || I === xe && Q === "/=") && C(!0);
463
+ function ne() {
464
+ (I === Mn || I === we && Q === "/=") && E(!0);
453
465
  var i = I, l = M();
454
466
  switch (i) {
455
467
  case Ot:
456
- case mn:
457
- g();
468
+ case gn:
469
+ m();
458
470
  var c = i === Ot;
459
- U(ae) || Ze() ? l.label = null : I !== Ee ? ne() : (l.label = re(), be());
471
+ U(ce) || Ze() ? l.label = null : I !== Ee ? ie() : (l.label = ae(), be());
460
472
  for (var p = 0; p < V.length; ++p) {
461
473
  var T = V[p];
462
474
  if ((l.label === null || T.name === l.label.name) && (T.kind !== null && (c || T.kind === "loop") || l.label && c))
463
475
  break;
464
476
  }
465
477
  return p === V.length && r(l.start, "Unsyntactic " + i.l), A(l, c ? "BreakStatement" : "ContinueStatement");
466
- case gn:
467
- return g(), be(), A(l, "DebuggerStatement");
468
- case vn:
469
- return g(), V.push(Ft), l.body = ee(), V.pop(), F(Bt), l.test = Ne(), be(), A(l, "DoWhileStatement");
478
+ case yn:
479
+ return m(), be(), A(l, "DebuggerStatement");
480
+ case bn:
481
+ return m(), V.push(Ft), l.body = ne(), V.pop(), F(Bt), l.test = Ne(), be(), A(l, "DoWhileStatement");
470
482
  case xn:
471
- return g(), V.push(Ft), F(ie), I === ae ? yt(l, null) : I === Nt ? (i = M(), g(), fn(i, !0), A(i, "VariableDeclaration"), i.fa.length === 1 && U(nt) ? un(l, i) : yt(l, i)) : (i = K(!1, !0), U(nt) ? (Qe(i), un(l, i)) : yt(l, i));
483
+ return m(), V.push(Ft), F(le), I === ce ? yt(l, null) : I === Nt ? (i = M(), m(), pn(i, !0), A(i, "VariableDeclaration"), i.fa.length === 1 && U(nt) ? fn(l, i) : yt(l, i)) : (i = K(!1, !0), U(nt) ? (Qe(i), fn(l, i)) : yt(l, i));
472
484
  case Rt:
473
- return g(), xt(l, !0);
474
- case Sn:
475
- return g(), l.test = Ne(), l.da = ee(), l.alternate = U(bn) ? ee() : null, A(l, "IfStatement");
485
+ return m(), wt(l, !0);
476
486
  case kn:
477
- return Fe || O.Ib || r(_, "'return' outside of function"), g(), U(ae) || Ze() ? l.K = null : (l.K = K(), be()), A(l, "ReturnStatement");
478
- case Pt:
479
- for (g(), l.Qb = Ne(), l.tb = [], F(_e), V.push(Jr); I !== Ie; )
480
- I === jt || I === yn ? (i = I === jt, p && A(p, "SwitchCase"), l.tb.push(p = M()), p.da = [], g(), i ? p.test = K() : (c && r(It, "Multiple default clauses"), c = !0, p.test = null), F(De)) : (p || ne(), p.da.push(ee()));
481
- return p && A(p, "SwitchCase"), g(), V.pop(), A(l, "SwitchStatement");
487
+ return m(), l.test = Ne(), l.da = ne(), l.alternate = U(Sn) ? ne() : null, A(l, "IfStatement");
482
488
  case Cn:
483
- return g(), ot.test(m.slice(me, _)) && r(me, "Illegal newline after throw"), l.K = K(), be(), A(l, "ThrowStatement");
489
+ return Fe || O.Ib || r(D, "'return' outside of function"), m(), U(ce) || Ze() ? l.K = null : (l.K = K(), be()), A(l, "ReturnStatement");
490
+ case Pt:
491
+ for (m(), l.Qb = Ne(), l.tb = [], F(De), V.push(qr); I !== Ie; )
492
+ I === jt || I === vn ? (i = I === jt, p && A(p, "SwitchCase"), l.tb.push(p = M()), p.da = [], m(), i ? p.test = K() : (c && r(It, "Multiple default clauses"), c = !0, p.test = null), F(_e)) : (p || ie(), p.da.push(ne()));
493
+ return p && A(p, "SwitchCase"), m(), V.pop(), A(l, "SwitchStatement");
484
494
  case En:
485
- return g(), l.block = Be(), l.Ea = null, I === hn && (i = M(), g(), F(ie), i.Ua = re(), z && rt(i.Ua.name) && r(i.Ua.start, "Binding " + i.Ua.name + " in strict mode"), F(te), i.body = Be(), l.Ea = A(i, "CatchClause")), l.fb = U(wn) ? Be() : null, l.Ea || l.fb || r(l.start, "Missing catch or finally clause"), A(l, "TryStatement");
495
+ return m(), ot.test(g.slice(ge, D)) && r(ge, "Illegal newline after throw"), l.K = K(), be(), A(l, "ThrowStatement");
496
+ case In:
497
+ return m(), l.block = Be(), l.Ea = null, I === mn && (i = M(), m(), F(le), i.Ua = ae(), q && rt(i.Ua.name) && r(i.Ua.start, "Binding " + i.Ua.name + " in strict mode"), F(re), i.body = Be(), l.Ea = A(i, "CatchClause")), l.fb = U(wn) ? Be() : null, l.Ea || l.fb || r(l.start, "Missing catch or finally clause"), A(l, "TryStatement");
486
498
  case Nt:
487
- return g(), fn(l), be(), A(l, "VariableDeclaration");
499
+ return m(), pn(l), be(), A(l, "VariableDeclaration");
488
500
  case Bt:
489
- return g(), l.test = Ne(), V.push(Ft), l.body = ee(), V.pop(), A(l, "WhileStatement");
490
- case In:
491
- return z && r(_, "'with' in strict mode"), g(), l.object = Ne(), l.body = ee(), A(l, "WithStatement");
492
- case _e:
501
+ return m(), l.test = Ne(), V.push(Ft), l.body = ne(), V.pop(), A(l, "WhileStatement");
502
+ case Tn:
503
+ return q && r(D, "'with' in strict mode"), m(), l.object = Ne(), l.body = ne(), A(l, "WithStatement");
504
+ case De:
493
505
  return Be();
494
- case ae:
495
- return g(), A(l, "EmptyStatement");
506
+ case ce:
507
+ return m(), A(l, "EmptyStatement");
496
508
  default:
497
- if (c = Q, T = K(), i === Ee && T.type === "Identifier" && U(De)) {
509
+ if (c = Q, T = K(), i === Ee && T.type === "Identifier" && U(_e)) {
498
510
  for (p = 0; p < V.length; ++p)
499
511
  V[p].name === c && r(T.start, "Label '" + c + "' is already declared");
500
512
  return V.push({
501
513
  name: c,
502
514
  kind: I.W ? "loop" : I === Pt ? "switch" : null
503
- }), l.body = ee(), V.pop(), l.label = T, A(l, "LabeledStatement");
515
+ }), l.body = ne(), V.pop(), l.label = T, A(l, "LabeledStatement");
504
516
  }
505
517
  return l.la = T, be(), A(l, "ExpressionStatement");
506
518
  }
507
519
  }
508
520
  function Ne() {
509
- F(ie);
521
+ F(le);
510
522
  var i = K();
511
- return F(te), i;
523
+ return F(re), i;
512
524
  }
513
525
  function Be(i) {
514
526
  var l = M(), c = !0, p = !1;
515
- for (l.body = [], F(_e); !U(Ie); ) {
516
- var T = ee();
527
+ for (l.body = [], F(De); !U(Ie); ) {
528
+ var T = ne();
517
529
  if (l.body.push(T), c && i && gt(T)) {
518
- var D = p;
519
- pe(p = !0);
530
+ var _ = p;
531
+ ee(p = !0);
520
532
  }
521
533
  c = !1;
522
534
  }
523
- return p && !D && pe(!1), A(l, "BlockStatement");
535
+ return p && !_ && ee(!1), A(l, "BlockStatement");
524
536
  }
525
537
  function yt(i, l) {
526
- return i.ua = l, F(ae), i.test = I === ae ? null : K(), F(ae), i.update = I === te ? null : K(), F(te), i.body = ee(), V.pop(), A(i, "ForStatement");
527
- }
528
- function un(i, l) {
529
- return i.left = l, i.right = K(), F(te), i.body = ee(), V.pop(), A(i, "ForInStatement");
538
+ return i.ua = l, F(ce), i.test = I === ce ? null : K(), F(ce), i.update = I === re ? null : K(), F(re), i.body = ne(), V.pop(), A(i, "ForStatement");
530
539
  }
531
540
  function fn(i, l) {
541
+ return i.left = l, i.right = K(), F(re), i.body = ne(), V.pop(), A(i, "ForInStatement");
542
+ }
543
+ function pn(i, l) {
532
544
  for (i.fa = [], i.kind = "var"; ; ) {
533
545
  var c = M();
534
- if (c.id = re(), z && rt(c.id.name) && r(c.id.start, "Binding " + c.id.name + " in strict mode"), c.ua = U(Mn) ? K(!0, l) : null, i.fa.push(A(c, "VariableDeclarator")), !U(ge))
546
+ if (c.id = ae(), q && rt(c.id.name) && r(c.id.start, "Binding " + c.id.name + " in strict mode"), c.ua = U(Un) ? K(!0, l) : null, i.fa.push(A(c, "VariableDeclarator")), !U(ye))
535
547
  break;
536
548
  }
537
549
  }
538
550
  function K(i, l) {
539
551
  var c = vt(l);
540
- if (!i && I === ge) {
541
- for (i = he(c), i.xb = [c]; U(ge); )
552
+ if (!i && I === ye) {
553
+ for (i = me(c), i.xb = [c]; U(ye); )
542
554
  i.xb.push(vt(l));
543
555
  return A(i, "SequenceExpression");
544
556
  }
545
557
  return c;
546
558
  }
547
559
  function vt(i) {
548
- var l = bt(wt(), -1, i);
549
- if (U(Nn)) {
550
- var c = he(l);
551
- c.test = l, c.da = K(!0), F(De), c.alternate = K(!0, i), l = A(c, "ConditionalExpression");
560
+ var l = bt(St(), -1, i);
561
+ if (U(Bn)) {
562
+ var c = me(l);
563
+ c.test = l, c.da = K(!0), F(_e), c.alternate = K(!0, i), l = A(c, "ConditionalExpression");
552
564
  }
553
- return I.Cb ? (c = he(l), c.operator = Q, c.left = l, g(), c.right = vt(i), Qe(l), A(c, "AssignmentExpression")) : l;
565
+ return I.Cb ? (c = me(l), c.operator = Q, c.left = l, m(), c.right = vt(i), Qe(l), A(c, "AssignmentExpression")) : l;
554
566
  }
555
567
  function bt(i, l, c) {
556
568
  var p = I.L;
557
569
  if (p !== null && (!c || I !== nt) && p > l) {
558
- var T = he(i);
559
- return T.left = i, T.operator = Q, i = I, g(), T.right = bt(wt(), p, c), p = A(T, i === Fn || i === Vn ? "LogicalExpression" : "BinaryExpression"), bt(p, l, c);
570
+ var T = me(i);
571
+ return T.left = i, T.operator = Q, i = I, m(), T.right = bt(St(), p, c), p = A(T, i === Vn || i === Dn ? "LogicalExpression" : "BinaryExpression"), bt(p, l, c);
560
572
  }
561
573
  return i;
562
574
  }
563
- function wt() {
575
+ function St() {
564
576
  if (I.prefix) {
565
577
  var i = M(), l = I.$b;
566
- return i.operator = Q, Ue = i.prefix = !0, g(), i.K = wt(), l ? Qe(i.K) : z && i.operator === "delete" && i.K.type === "Identifier" && r(i.start, "Deleting local variable in strict mode"), A(i, l ? "UpdateExpression" : "UnaryExpression");
578
+ return i.operator = Q, Ue = i.prefix = !0, m(), i.K = St(), l ? Qe(i.K) : q && i.operator === "delete" && i.K.type === "Identifier" && r(i.start, "Deleting local variable in strict mode"), A(i, l ? "UpdateExpression" : "UnaryExpression");
567
579
  }
568
580
  for (l = Me(et()); I.cc && !Ze(); )
569
- i = he(l), i.operator = Q, i.prefix = !1, i.K = l, Qe(l), g(), l = A(i, "UpdateExpression");
581
+ i = me(l), i.operator = Q, i.prefix = !1, i.K = l, Qe(l), m(), l = A(i, "UpdateExpression");
570
582
  return l;
571
583
  }
572
584
  function Me(i, l) {
573
- if (U(Pn)) {
574
- var c = he(i);
575
- return c.object = i, c.Wa = re(!0), c.bb = !1, Me(A(c, "MemberExpression"), l);
585
+ if (U(Nn)) {
586
+ var c = me(i);
587
+ return c.object = i, c.Wa = ae(!0), c.bb = !1, Me(A(c, "MemberExpression"), l);
576
588
  }
577
- return U(Mt) ? (c = he(i), c.object = i, c.Wa = K(), c.bb = !0, F(Ut), Me(A(c, "MemberExpression"), l)) : !l && U(ie) ? (c = he(i), c.callee = i, c.arguments = St(te, !1), Me(A(c, "CallExpression"), l)) : i;
589
+ return U(Mt) ? (c = me(i), c.object = i, c.Wa = K(), c.bb = !0, F(Ut), Me(A(c, "MemberExpression"), l)) : !l && U(le) ? (c = me(i), c.callee = i, c.arguments = xt(re, !1), Me(A(c, "CallExpression"), l)) : i;
578
590
  }
579
591
  function et() {
580
592
  switch (I) {
581
- case An:
593
+ case On:
582
594
  var i = M();
583
- return g(), A(i, "ThisExpression");
595
+ return m(), A(i, "ThisExpression");
584
596
  case Ee:
585
- return re();
597
+ return ae();
586
598
  case Ve:
587
599
  case tt:
588
- case dn:
589
- return i = M(), i.value = Q, i.raw = m.slice(_, Ce), g(), A(i, "Literal");
590
- case On:
600
+ case hn:
601
+ return i = M(), i.value = Q, i.raw = g.slice(D, Ce), m(), A(i, "Literal");
591
602
  case jn:
592
603
  case Rn:
593
- return i = M(), i.value = I.$a, i.raw = I.l, g(), A(i, "Literal");
594
- case ie:
604
+ case Pn:
605
+ return i = M(), i.value = I.$a, i.raw = I.l, m(), A(i, "Literal");
606
+ case le:
595
607
  i = Ct;
596
- var l = _;
597
- g();
608
+ var l = D;
609
+ m();
598
610
  var c = K();
599
- return c.start = l, c.end = Ce, O.C && (c.X.start = i, c.X.end = Et), O.Xa && (c.j = [l, Ce]), F(te), c;
611
+ return c.start = l, c.end = Ce, O.C && (c.X.start = i, c.X.end = Et), O.Xa && (c.j = [l, Ce]), F(re), c;
600
612
  case Mt:
601
- return i = M(), g(), i.elements = St(Ut, !0, !0), A(i, "ArrayExpression");
602
- case _e:
603
- for (i = M(), l = !0, c = !1, i.h = [], g(); !U(Ie); ) {
613
+ return i = M(), m(), i.elements = xt(Ut, !0, !0), A(i, "ArrayExpression");
614
+ case De:
615
+ for (i = M(), l = !0, c = !1, i.h = [], m(); !U(Ie); ) {
604
616
  if (l)
605
617
  l = !1;
606
- else if (F(ge), O.sb && U(Ie))
618
+ else if (F(ye), O.sb && U(Ie))
607
619
  break;
608
620
  var p = {
609
- key: I === Ve || I === tt ? et() : re(!0)
621
+ key: I === Ve || I === tt ? et() : ae(!0)
610
622
  }, T = !1;
611
- if (U(De)) {
623
+ if (U(_e)) {
612
624
  p.value = K(!0);
613
- var D = p.kind = "init";
625
+ var _ = p.kind = "init";
614
626
  } else
615
- p.key.type !== "Identifier" || p.key.name !== "get" && p.key.name !== "set" ? ne() : (T = c = !0, D = p.kind = p.key.name, p.key = I === Ve || I === tt ? et() : re(!0), I !== ie && ne(), p.value = xt(M(), !1));
616
- if (p.key.type === "Identifier" && (z || c))
627
+ p.key.type !== "Identifier" || p.key.name !== "get" && p.key.name !== "set" ? ie() : (T = c = !0, _ = p.kind = p.key.name, p.key = I === Ve || I === tt ? et() : ae(!0), I !== le && ie(), p.value = wt(M(), !1));
628
+ if (p.key.type === "Identifier" && (q || c))
617
629
  for (var X = 0; X < i.h.length; ++X) {
618
630
  var Ae = i.h[X];
619
631
  if (Ae.key.name === p.key.name) {
620
- var Vt = D === Ae.kind || T && Ae.kind === "init" || D === "init" && (Ae.kind === "get" || Ae.kind === "set");
621
- Vt && !z && D === "init" && Ae.kind === "init" && (Vt = !1), Vt && r(p.key.start, "Redefinition of property");
632
+ var Vt = _ === Ae.kind || T && Ae.kind === "init" || _ === "init" && (Ae.kind === "get" || Ae.kind === "set");
633
+ Vt && !q && _ === "init" && Ae.kind === "init" && (Vt = !1), Vt && r(p.key.start, "Redefinition of property");
622
634
  }
623
635
  }
624
636
  i.h.push(p);
625
637
  }
626
638
  return A(i, "ObjectExpression");
627
639
  case Rt:
628
- return i = M(), g(), xt(i, !1);
629
- case Tn:
630
- return i = M(), g(), i.callee = Me(et(), !0), i.arguments = U(ie) ? St(te, !1) : Br, A(i, "NewExpression");
640
+ return i = M(), m(), wt(i, !1);
641
+ case An:
642
+ return i = M(), m(), i.callee = Me(et(), !0), i.arguments = U(le) ? xt(re, !1) : Ur, A(i, "NewExpression");
631
643
  }
632
- ne();
644
+ ie();
633
645
  }
634
- function xt(i, l) {
635
- I === Ee ? i.id = re() : l ? ne() : i.id = null, i.oa = [];
646
+ function wt(i, l) {
647
+ I === Ee ? i.id = ae() : l ? ie() : i.id = null, i.oa = [];
636
648
  var c = !0;
637
- for (F(ie); !U(te); )
638
- c ? c = !1 : F(ge), i.oa.push(re());
649
+ for (F(le); !U(re); )
650
+ c ? c = !1 : F(ye), i.oa.push(ae());
639
651
  c = Fe;
640
652
  var p = V;
641
- if (Fe = !0, V = [], i.body = Be(!0), Fe = c, V = p, z || i.body.body.length && gt(i.body.body[0])) {
653
+ if (Fe = !0, V = [], i.body = Be(!0), Fe = c, V = p, q || i.body.body.length && gt(i.body.body[0])) {
642
654
  for (c = i.id ? -1 : 0; c < i.oa.length; ++c)
643
655
  if (p = 0 > c ? i.id : i.oa[c], (_n(p.name) || rt(p.name)) && r(p.start, "Defining '" + p.name + "' in strict mode"), 0 <= c)
644
656
  for (var T = 0; T < c; ++T)
@@ -646,31 +658,31 @@ var N, bo = function(e) {
646
658
  }
647
659
  return A(i, l ? "FunctionDeclaration" : "FunctionExpression");
648
660
  }
649
- function St(i, l, c) {
661
+ function xt(i, l, c) {
650
662
  for (var p = [], T = !0; !U(i); ) {
651
663
  if (T)
652
664
  T = !1;
653
- else if (F(ge), l && O.sb && U(i))
665
+ else if (F(ye), l && O.sb && U(i))
654
666
  break;
655
- p.push(c && I === ge ? null : K(!0));
667
+ p.push(c && I === ye ? null : K(!0));
656
668
  }
657
669
  return p;
658
670
  }
659
- function re(i) {
671
+ function ae(i) {
660
672
  var l = M();
661
- return i && O.yb === "everywhere" && (i = !1), I === Ee ? (!i && (O.yb && Kr(Q) || z && _n(Q)) && m.slice(_, Ce).indexOf("\\") === -1 && r(_, "The keyword '" + Q + "' is reserved"), l.name = Q) : i && I.l ? l.name = I.l : ne(), Ue = !1, g(), A(l, "Identifier");
673
+ return i && O.yb === "everywhere" && (i = !1), I === Ee ? (!i && (O.yb && Xr(Q) || q && _n(Q)) && g.slice(D, Ce).indexOf("\\") === -1 && r(D, "The keyword '" + Q + "' is reserved"), l.name = Q) : i && I.l ? l.name = I.l : ie(), Ue = !1, m(), A(l, "Identifier");
662
674
  }
663
675
  e.version = "0.5.0";
664
- var O, m = "", ke, kt;
676
+ var O, g = "", ke, kt;
665
677
  e.parse = function(i, l) {
666
- m = String(i), ke = m.length, O = l || {};
667
- for (var c in pn)
668
- Object.prototype.hasOwnProperty.call(O, c) || (O[c] = pn[c]);
669
- for (kt = O.sourceFile, we = 1, f = oe = 0, Ue = !0, d(), c = O.dc, It = me = f, O.C && (Tt = new a()), Fe = z = !1, V = [], C(), i = c || M(), l = !0, c || (i.body = []); I !== At; )
670
- c = ee(), i.body.push(c), l && gt(c) && pe(!0), l = !1;
678
+ g = String(i), ke = g.length, O = l || {};
679
+ for (var c in dn)
680
+ Object.prototype.hasOwnProperty.call(O, c) || (O[c] = dn[c]);
681
+ for (kt = O.sourceFile, Se = 1, f = se = 0, Ue = !0, d(), c = O.dc, It = ge = f, O.C && (Tt = new a()), Fe = q = !1, V = [], E(), i = c || M(), l = !0, c || (i.body = []); I !== At; )
682
+ c = ne(), i.body.push(c), l && gt(c) && ee(!0), l = !1;
671
683
  return A(i, "Program");
672
684
  };
673
- var pn = {
685
+ var dn = {
674
686
  fc: !1,
675
687
  sb: !0,
676
688
  yb: !1,
@@ -681,9 +693,9 @@ var N, bo = function(e) {
681
693
  dc: null,
682
694
  sourceFile: null,
683
695
  vb: null
684
- }, f = 0, _ = 0, Ce = 0, Ct, Et, I, Q, Ue, we, oe, It = 0, me = 0, Tt, Fe, V, z, Br = [], Ve = {
696
+ }, f = 0, D = 0, Ce = 0, Ct, Et, I, Q, Ue, Se, se, It = 0, ge = 0, Tt, Fe, V, q, Ur = [], Ve = {
685
697
  type: "num"
686
- }, dn = {
698
+ }, hn = {
687
699
  type: "regexp"
688
700
  }, tt = {
689
701
  type: "string"
@@ -696,18 +708,18 @@ var N, bo = function(e) {
696
708
  }, jt = {
697
709
  l: "case",
698
710
  m: !0
699
- }, hn = {
700
- l: "catch"
701
711
  }, mn = {
702
- l: "continue"
712
+ l: "catch"
703
713
  }, gn = {
704
- l: "debugger"
714
+ l: "continue"
705
715
  }, yn = {
706
- l: "default"
716
+ l: "debugger"
707
717
  }, vn = {
718
+ l: "default"
719
+ }, bn = {
708
720
  l: "do",
709
721
  W: !0
710
- }, bn = {
722
+ }, Sn = {
711
723
  l: "else",
712
724
  m: !0
713
725
  }, wn = {
@@ -717,74 +729,74 @@ var N, bo = function(e) {
717
729
  W: !0
718
730
  }, Rt = {
719
731
  l: "function"
720
- }, Sn = {
721
- l: "if"
722
732
  }, kn = {
733
+ l: "if"
734
+ }, Cn = {
723
735
  l: "return",
724
736
  m: !0
725
737
  }, Pt = {
726
738
  l: "switch"
727
- }, Cn = {
739
+ }, En = {
728
740
  l: "throw",
729
741
  m: !0
730
- }, En = {
742
+ }, In = {
731
743
  l: "try"
732
744
  }, Nt = {
733
745
  l: "var"
734
746
  }, Bt = {
735
747
  l: "while",
736
748
  W: !0
737
- }, In = {
738
- l: "with"
739
749
  }, Tn = {
750
+ l: "with"
751
+ }, An = {
740
752
  l: "new",
741
753
  m: !0
742
- }, An = {
743
- l: "this"
744
754
  }, On = {
755
+ l: "this"
756
+ }, jn = {
745
757
  l: "null",
746
758
  $a: null
747
- }, jn = {
759
+ }, Rn = {
748
760
  l: "true",
749
761
  $a: !0
750
- }, Rn = {
762
+ }, Pn = {
751
763
  l: "false",
752
764
  $a: !1
753
765
  }, nt = {
754
766
  l: "in",
755
767
  L: 7,
756
768
  m: !0
757
- }, Mr = {
769
+ }, Fr = {
758
770
  break: Ot,
759
771
  case: jt,
760
- catch: hn,
761
- continue: mn,
762
- debugger: gn,
763
- default: yn,
764
- do: vn,
765
- else: bn,
772
+ catch: mn,
773
+ continue: gn,
774
+ debugger: yn,
775
+ default: vn,
776
+ do: bn,
777
+ else: Sn,
766
778
  finally: wn,
767
779
  for: xn,
768
780
  function: Rt,
769
- if: Sn,
770
- return: kn,
781
+ if: kn,
782
+ return: Cn,
771
783
  switch: Pt,
772
- throw: Cn,
773
- try: En,
784
+ throw: En,
785
+ try: In,
774
786
  var: Nt,
775
787
  while: Bt,
776
- with: In,
777
- null: On,
778
- true: jn,
779
- false: Rn,
780
- new: Tn,
788
+ with: Tn,
789
+ null: jn,
790
+ true: Rn,
791
+ false: Pn,
792
+ new: An,
781
793
  in: nt,
782
794
  instanceof: {
783
795
  l: "instanceof",
784
796
  L: 7,
785
797
  m: !0
786
798
  },
787
- this: An,
799
+ this: On,
788
800
  typeof: {
789
801
  l: "typeof",
790
802
  prefix: !0,
@@ -805,84 +817,84 @@ var N, bo = function(e) {
805
817
  m: !0
806
818
  }, Ut = {
807
819
  type: "]"
808
- }, _e = {
820
+ }, De = {
809
821
  type: "{",
810
822
  m: !0
811
823
  }, Ie = {
812
824
  type: "}"
813
- }, ie = {
825
+ }, le = {
814
826
  type: "(",
815
827
  m: !0
816
- }, te = {
828
+ }, re = {
817
829
  type: ")"
818
- }, ge = {
830
+ }, ye = {
819
831
  type: ",",
820
832
  m: !0
821
- }, ae = {
833
+ }, ce = {
822
834
  type: ";",
823
835
  m: !0
824
- }, De = {
836
+ }, _e = {
825
837
  type: ":",
826
838
  m: !0
827
- }, Pn = {
828
- type: "."
829
839
  }, Nn = {
840
+ type: "."
841
+ }, Bn = {
830
842
  type: "?",
831
843
  m: !0
832
- }, Bn = {
844
+ }, Mn = {
833
845
  L: 10,
834
846
  m: !0
835
- }, Mn = {
847
+ }, Un = {
836
848
  Cb: !0,
837
849
  m: !0
838
- }, xe = {
850
+ }, we = {
839
851
  Cb: !0,
840
852
  m: !0
841
- }, Ur = {
853
+ }, Vr = {
842
854
  cc: !0,
843
855
  prefix: !0,
844
856
  $b: !0
845
- }, Un = {
857
+ }, Fn = {
846
858
  prefix: !0,
847
859
  m: !0
848
- }, Fn = {
860
+ }, Vn = {
849
861
  L: 1,
850
862
  m: !0
851
- }, Vn = {
863
+ }, Dn = {
852
864
  L: 2,
853
865
  m: !0
854
- }, Fr = {
866
+ }, Dr = {
855
867
  L: 3,
856
868
  m: !0
857
- }, Vr = {
869
+ }, _r = {
858
870
  L: 4,
859
871
  m: !0
860
- }, _r = {
872
+ }, Lr = {
861
873
  L: 5,
862
874
  m: !0
863
- }, Dr = {
875
+ }, Wr = {
864
876
  L: 6,
865
877
  m: !0
866
- }, Lr = {
878
+ }, $r = {
867
879
  L: 7,
868
880
  m: !0
869
- }, Wr = {
881
+ }, Hr = {
870
882
  L: 8,
871
883
  m: !0
872
- }, $r = {
884
+ }, Kr = {
873
885
  L: 9,
874
886
  prefix: !0,
875
887
  m: !0
876
- }, Hr = {
888
+ }, Gr = {
877
889
  L: 10,
878
890
  m: !0
879
- }, Kr = o("class enum extends super const export import"), _n = o("implements interface let package private protected public static yield"), rt = o("eval arguments"), Gr = o("break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this"), Xr = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Dn = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"), Yr = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‌‍‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"), ot = /[\n\r\u2028\u2029]/, it = /\r\n|[\n\r\u2028\u2029]/g, Te, Ft = {
891
+ }, Xr = o("class enum extends super const export import"), _n = 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 = {
880
892
  kind: "loop"
881
- }, Jr = {
893
+ }, qr = {
882
894
  kind: "switch"
883
895
  };
884
896
  }, Lt = Lt = typeof globalThis > "u" ? void 0 : globalThis;
885
- bo(Lt.j || (Lt.j = {}));
897
+ xo(Lt.j || (Lt.j = {}));
886
898
  function h(e, t) {
887
899
  typeof e == "string" && (e = je(e, "code"));
888
900
  var n = e.constructor;
@@ -899,12 +911,12 @@ function h(e, t) {
899
911
  for (s in this)
900
912
  typeof this[s] == "function" && (a = s.match(e)) && (this.rb[a[1]] = this[s].bind(this));
901
913
  this.N = $t(this, this.ra, null), this.Na = this.N.object, this.ra = je(this.ba.join(`
902
- `), "polyfills"), this.ba = void 0, ut(this.ra), a = new v(this.ra, this.N), a.done = !1, this.o = [a], this.Eb(), this.value = void 0, this.ra = r, a = new v(this.ra, this.N), a.done = !1, this.o.length = 0, this.o[0] = a;
914
+ `), "polyfills"), this.ba = void 0, ut(this.ra), a = new b(this.ra, this.N), a.done = !1, this.o = [a], this.Eb(), this.value = void 0, this.ra = r, a = new b(this.ra, this.N), a.done = !1, this.o.length = 0, this.o[0] = a;
903
915
  }
904
- var Ln = {
916
+ var Wn = {
905
917
  C: !0,
906
918
  kc: 5
907
- }, Yt = {
919
+ }, Jt = {
908
920
  configurable: !0,
909
921
  enumerable: !0,
910
922
  writable: !1
@@ -920,11 +932,11 @@ var Ln = {
920
932
  configurable: !1,
921
933
  enumerable: !1,
922
934
  writable: !1
923
- }, Wn = {
935
+ }, $n = {
924
936
  configurable: !1,
925
937
  enumerable: !0,
926
938
  writable: !0
927
- }, cr = {
939
+ }, ur = {
928
940
  STEP_ERROR: !0
929
941
  }, Pe = {
930
942
  SCOPE_REFERENCE: !0
@@ -932,8 +944,8 @@ var Ln = {
932
944
  VALUE_IN_DESCRIPTOR: !0
933
945
  }, Oe = {
934
946
  REGEXP_TIMEOUT: !0
935
- }, $n = [], le = null, Ge = null, ye = typeof globalThis > "u" ? void 0 : globalThis, wo = ["onmessage = function(e) {", "var result;", "var data = e.data;", "switch (data[0]) {", "case 'split':", "result = data[1].split(data[2], data[3]);", "break;", "case 'match':", "result = data[1].match(data[2]);", "break;", "case 'search':", "result = data[1].search(data[2]);", "break;", "case 'replace':", "result = data[1].replace(data[2], data[3]);", "break;", "case 'exec':", "var regexp = data[1];", "regexp.lastIndex = data[2];", "result = [regexp.exec(data[3]), data[1].lastIndex];", "break;", "default:", "throw Error('Unknown RegExp operation: ' + data[0]);", "}", "postMessage(result);", "close();", "};"];
936
- function Jt(e) {
947
+ }, Hn = [], fe = null, Ge = null, ve = typeof globalThis > "u" ? void 0 : globalThis, ko = ["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();", "};"];
948
+ function zt(e) {
937
949
  var t = e >>> 0;
938
950
  return t === Number(e) ? t : NaN;
939
951
  }
@@ -959,9 +971,9 @@ N.Kb = 0;
959
971
  N.ic = 0;
960
972
  function je(e, t) {
961
973
  var n = {}, r;
962
- for (r in Ln)
963
- n[r] = Ln[r];
964
- return n.sourceFile = t, ye.j.parse(e, n);
974
+ for (r in Wn)
975
+ n[r] = Wn[r];
976
+ return n.sourceFile = t, ve.j.parse(e, n);
965
977
  }
966
978
  N.Jb = function(e) {
967
979
  var t = this.o[0];
@@ -983,8 +995,8 @@ N.lb = function() {
983
995
  if (n = this.ca[0], !n || n.time > Date.now())
984
996
  n = null;
985
997
  else {
986
- this.ca.shift(), 0 <= n.interval && pr(this, n, n.interval);
987
- var r = new v(n.node, n.scope);
998
+ this.ca.shift(), 0 <= n.interval && dr(this, n, n.interval);
999
+ var r = new b(n.node, n.scope);
988
1000
  n.zb && (r.ia = 2, r.B = this.Na, r.U = n.zb, r.Qa = !0, r.F = n.Lb), n = r;
989
1001
  }
990
1002
  if (!n)
@@ -996,7 +1008,7 @@ N.lb = function() {
996
1008
  try {
997
1009
  var a = this.rb[r.type](e, n, r);
998
1010
  } catch (s) {
999
- if (s !== cr)
1011
+ if (s !== ur)
1000
1012
  throw this.value !== s && (this.value = void 0), s;
1001
1013
  } finally {
1002
1014
  Ge = o;
@@ -1014,8 +1026,8 @@ N.Eb = function() {
1014
1026
  ;
1015
1027
  return this.za;
1016
1028
  };
1017
- function xo(e, t) {
1018
- e.g(t, "NaN", NaN, Le), e.g(t, "Infinity", 1 / 0, Le), e.g(t, "undefined", void 0, Le), e.g(t, "window", t, Yt), e.g(t, "this", t, Le), e.g(t, "self", t), e.M = new R(null), e.Z = new R(e.M), So(e, t), ko(e, t), t.xa = e.M, e.g(t, "constructor", e.v, y), Co(e, t), Eo(e, t), Io(e, t), To(e, t), Ao(e, t), Oo(e, t), jo(e, t), Ro(e, t), Po(e, t);
1029
+ function Co(e, t) {
1030
+ e.g(t, "NaN", NaN, Le), e.g(t, "Infinity", 1 / 0, Le), e.g(t, "undefined", void 0, Le), e.g(t, "window", t, Jt), e.g(t, "this", t, Le), e.g(t, "self", t), e.M = new R(null), e.Z = new R(e.M), Eo(e, t), Io(e, t), t.xa = e.M, e.g(t, "constructor", e.v, y), To(e, t), Ao(e, t), Oo(e, t), jo(e, t), Ro(e, t), Po(e, t), No(e, t), Bo(e, t), Mo(e, t);
1019
1031
  var n = e.i(function() {
1020
1032
  throw EvalError("Can't happen");
1021
1033
  }, !1);
@@ -1031,17 +1043,17 @@ function xo(e, t) {
1031
1043
  };
1032
1044
  }(r[o][0]), e.g(t, r[o][1], e.i(n, !1), y);
1033
1045
  n = function(a) {
1034
- return Hn(e, !1, arguments);
1046
+ return Kn(e, !1, arguments);
1035
1047
  }, e.g(t, "setTimeout", e.i(n, !1), y), n = function(a) {
1036
- return Hn(e, !0, arguments);
1048
+ return Kn(e, !0, arguments);
1037
1049
  }, e.g(t, "setInterval", e.i(n, !1), y), n = function(a) {
1038
- Kn(e, a);
1050
+ Gn(e, a);
1039
1051
  }, e.g(t, "clearTimeout", e.i(n, !1), y), n = function(a) {
1040
- Kn(e, a);
1052
+ Gn(e, a);
1041
1053
  }, e.g(t, "clearInterval", e.i(n, !1), y), e.OBJECT = e.v, e.OBJECT_PROTO = e.M, e.FUNCTION = e.O, e.FUNCTION_PROTO = e.Z, e.ARRAY = e.qa, e.ARRAY_PROTO = e.La, e.REGEXP = e.I, e.REGEXP_PROTO = e.Ma, e.DATE = e.$, e.DATE_PROTO = e.nb, e.qb && e.qb(e, t);
1042
1054
  }
1043
1055
  N.Wb = 0;
1044
- function So(e, t) {
1056
+ function Eo(e, t) {
1045
1057
  var n = /^[A-Za-z_$][\w$]*$/, r = function(o) {
1046
1058
  var a = arguments.length ? String(arguments[arguments.length - 1]) : "", s = Array.prototype.slice.call(arguments, 0, -1).join(",").trim();
1047
1059
  if (s) {
@@ -1053,16 +1065,16 @@ function So(e, t) {
1053
1065
  s = s.join(", ");
1054
1066
  }
1055
1067
  try {
1056
- var S = je("(function(" + s + ") {" + a + "})", "function" + e.Wb++);
1057
- } catch (C) {
1058
- w(e, e.T, "Invalid code: " + C.message);
1068
+ var k = je("(function(" + s + ") {" + a + "})", "function" + e.Wb++);
1069
+ } catch (E) {
1070
+ w(e, e.T, "Invalid code: " + E.message);
1059
1071
  }
1060
- return S.body.length !== 1 && w(e, e.T, "Invalid code in function body"), Zt(e, S.body[0].la, e.N, "anonymous");
1072
+ return k.body.length !== 1 && w(e, e.T, "Invalid code in function body"), Qt(e, k.body[0].la, e.N, "anonymous");
1061
1073
  };
1062
1074
  e.O = e.i(r, !0), e.g(t, "Function", e.O, y), e.g(e.O, "prototype", e.Z, y), e.g(e.Z, "constructor", e.O, y), e.Z.Ta = function() {
1063
1075
  }, e.Z.Ta.id = e.Ya++, e.Z.Ab = !0, e.g(e.Z, "length", 0, J), e.Z.H = "Function", r = function(o, a) {
1064
1076
  var s = e.o[e.o.length - 1];
1065
- s.U = this, s.B = o, s.F = [], a != null && (a instanceof R ? s.F = ur(e, a) : w(e, e.j, "CreateListFromArrayLike called on non-object")), s.eb = !1;
1077
+ s.U = this, s.B = o, s.F = [], a != null && (a instanceof R ? s.F = fr(e, a) : w(e, e.j, "CreateListFromArrayLike called on non-object")), s.eb = !1;
1066
1078
  }, W(e, e.O, "apply", r), r = function(o) {
1067
1079
  var a = e.o[e.o.length - 1];
1068
1080
  a.U = this, a.B = o, a.F = [];
@@ -1075,23 +1087,23 @@ function So(e, t) {
1075
1087
  return this.valueOf();
1076
1088
  }, W(e, e.O, "valueOf", r), e.g(e.O, "valueOf", e.i(r, !1), y);
1077
1089
  }
1078
- function ko(e, t) {
1090
+ function Io(e, t) {
1079
1091
  function n(o) {
1080
1092
  o != null || w(e, e.j, "Cannot convert '" + o + "' to object");
1081
1093
  }
1082
1094
  var r = function(o) {
1083
1095
  if (o == null)
1084
- return ue(e) ? this : e.s(e.M);
1096
+ return de(e) ? this : e.s(e.M);
1085
1097
  if (!(o instanceof R)) {
1086
- var a = e.s(ce(e, o));
1098
+ var a = e.s(pe(e, o));
1087
1099
  return a.data = o, a;
1088
1100
  }
1089
1101
  return o;
1090
1102
  };
1091
1103
  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) {
1092
- return n(o), se(e, Object.getOwnPropertyNames(o instanceof R ? o.h : o));
1104
+ return n(o), ue(e, Object.getOwnPropertyNames(o instanceof R ? o.h : o));
1093
1105
  }, e.g(e.v, "getOwnPropertyNames", e.i(r, !1), y), r = function(o) {
1094
- return n(o), o instanceof R && (o = o.h), se(e, Object.keys(o));
1106
+ return n(o), o instanceof R && (o = o.h), ue(e, Object.keys(o));
1095
1107
  }, e.g(e.v, "keys", e.i(r, !1), y), r = function(o) {
1096
1108
  return o === null ? e.s(null) : (o instanceof R || w(e, e.j, "Object prototype may only be an Object or null, not " + o), e.s(o));
1097
1109
  }, e.g(e.v, "create", e.i(r, !1), y), e.ba.push("(function() {", "var create_ = Object.create;", "Object.create = function create(proto, props) {", "var obj = create_(proto);", "props && Object.defineProperties(obj, props);", "return obj;", "};", "})();", ""), r = function(o, a, s) {
@@ -1102,7 +1114,7 @@ function ko(e, t) {
1102
1114
  return o = o.Y[a], a = e.s(e.M), u || o ? (e.g(a, "get", u), e.g(a, "set", o)) : (e.g(a, "value", s.value), e.g(a, "writable", s.writable)), e.g(a, "configurable", s.configurable), e.g(a, "enumerable", s.enumerable), a;
1103
1115
  }
1104
1116
  }, e.g(e.v, "getOwnPropertyDescriptor", e.i(r, !1), y), r = function(o) {
1105
- return n(o), ce(e, o);
1117
+ return n(o), pe(e, o);
1106
1118
  }, e.g(e.v, "getPrototypeOf", e.i(r, !1), y), r = function(o) {
1107
1119
  return !!o && !o.preventExtensions;
1108
1120
  }, e.g(e.v, "isExtensible", e.i(r, !1), y), r = function(o) {
@@ -1113,18 +1125,18 @@ function ko(e, t) {
1113
1125
  return n(this), this instanceof R ? Object.prototype.propertyIsEnumerable.call(this.h, o) : this.propertyIsEnumerable(o);
1114
1126
  }, W(e, e.v, "propertyIsEnumerable", r), r = function(o) {
1115
1127
  for (; ; ) {
1116
- if (o = ce(e, o), !o)
1128
+ if (o = pe(e, o), !o)
1117
1129
  return !1;
1118
1130
  if (o === this)
1119
1131
  return !0;
1120
1132
  }
1121
1133
  }, W(e, e.v, "isPrototypeOf", r);
1122
1134
  }
1123
- function Co(e, t) {
1135
+ function To(e, t) {
1124
1136
  var n = function(r) {
1125
- var o = ue(e) ? this : Re(e), a = arguments[0];
1137
+ var o = de(e) ? this : Re(e), a = arguments[0];
1126
1138
  if (arguments.length === 1 && typeof a == "number")
1127
- isNaN(Jt(a)) && w(e, e.ob, "Invalid array length: " + a), o.h.length = a;
1139
+ isNaN(zt(a)) && w(e, e.ob, "Invalid array length: " + a), o.h.length = a;
1128
1140
  else {
1129
1141
  for (a = 0; a < arguments.length; a++)
1130
1142
  o.h[a] = arguments[a];
@@ -1140,9 +1152,9 @@ function Co(e, t) {
1140
1152
  writable: !0
1141
1153
  }), e.La.H = "Array", e.ba.push("(function() {", "function createArrayMethod_(f) {", "Object.defineProperty(Array.prototype, f.name,", "{configurable: true, writable: true, value: f});", "}", "createArrayMethod_(", "function pop() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 0) {", "o.length = 0;", "return undefined;", "}", "len--;", "var x = o[len];", "delete o[len];", "o.length = len;", "return x;", "}", ");", "createArrayMethod_(", "function push(var_args) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "for (var i = 0; i < arguments.length; i++) {", "o[len] = arguments[i];", "len++;", "}", "o.length = len;", "return len;", "}", ");", "createArrayMethod_(", "function shift() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 0) {", "o.length = 0;", "return undefined;", "}", "var value = o[0];", "for (var i = 0; i < len - 1; i++) {", "if ((i + 1) in o) {", "o[i] = o[i + 1];", "} else {", "delete o[i];", "}", "}", "delete o[i];", "o.length = len - 1;", "return value;", "}", ");", "createArrayMethod_(", "function unshift(var_args) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 0) {", "len = 0;", "}", "for (var i = len - 1; i >= 0; i--) {", "if (i in o) {", "o[i + arguments.length] = o[i];", "} else {", "delete o[i + arguments.length];", "}", "}", "for (var i = 0; i < arguments.length; i++) {", "o[i] = arguments[i];", "}", "return (o.length = len + arguments.length);", "}", ");", "createArrayMethod_(", "function reverse() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 2) {", "return o;", "}", "for (var i = 0; i < len / 2 - 0.5; i++) {", "var x = o[i];", "var hasX = i in o;", "if ((len - i - 1) in o) {", "o[i] = o[len - i - 1];", "} else {", "delete o[i];", "}", "if (hasX) {", "o[len - i - 1] = x;", "} else {", "delete o[len - i - 1];", "}", "}", "return o;", "}", ");", "createArrayMethod_(", "function indexOf(searchElement, fromIndex) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var n = fromIndex | 0;", "if (!len || n >= len) {", "return -1;", "}", "var i = Math.max(n >= 0 ? n : len - Math.abs(n), 0);", "while (i < len) {", "if (i in o && o[i] === searchElement) {", "return i;", "}", "i++;", "}", "return -1;", "}", ");", "createArrayMethod_(", "function lastIndexOf(searchElement, fromIndex) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len) {", "return -1;", "}", "var n = len - 1;", "if (arguments.length > 1) {", "n = fromIndex | 0;", "if (n) {", "n = (n > 0 || -1) * Math.floor(Math.abs(n));", "}", "}", "var i = n >= 0 ? Math.min(n, len - 1) : len - Math.abs(n);", "while (i >= 0) {", "if (i in o && o[i] === searchElement) {", "return i;", "}", "i--;", "}", "return -1;", "}", ");", "createArrayMethod_(", "function slice(start, end) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "start |= 0;", "start = (start >= 0) ? start : Math.max(0, len + start);", "if (typeof end !== 'undefined') {", "if (end !== Infinity) {", "end |= 0;", "}", "if (end < 0) {", "end = len + end;", "} else {", "end = Math.min(end, len);", "}", "} else {", "end = len;", "}", "var size = end - start;", "var cloned = new Array(size);", "for (var i = 0; i < size; i++) {", "if ((start + i) in o) {", "cloned[i] = o[start + i];", "}", "}", "return cloned;", "}", ");", "createArrayMethod_(", "function splice(start, deleteCount, var_args) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "start |= 0;", "if (start < 0) {", "start = Math.max(len + start, 0);", "} else {", "start = Math.min(start, len);", "}", "if (arguments.length < 1) {", "deleteCount = len - start;", "} else {", "deleteCount |= 0;", "deleteCount = Math.max(0, Math.min(deleteCount, len - start));", "}", "var removed = [];", "for (var i = start; i < start + deleteCount; i++) {", "if (i in o) {", "removed.push(o[i]);", "} else {", "removed.length++;", "}", "if ((i + deleteCount) in o) {", "o[i] = o[i + deleteCount];", "} else {", "delete o[i];", "}", "}", "for (var i = start + deleteCount; i < len - deleteCount; i++) {", "if ((i + deleteCount) in o) {", "o[i] = o[i + deleteCount];", "} else {", "delete o[i];", "}", "}", "for (var i = len - deleteCount; i < len; i++) {", "delete o[i];", "}", "len -= deleteCount;", "var arl = arguments.length - 2;", "for (var i = len - 1; i >= start; i--) {", "if (i in o) {", "o[i + arl] = o[i];", "} else {", "delete o[i + arl];", "}", "}", "len += arl;", "for (var i = 2; i < arguments.length; i++) {", "o[start + i - 2] = arguments[i];", "}", "o.length = len;", "return removed;", "}", ");", "createArrayMethod_(", "function concat(var_args) {", "if (!this) throw TypeError();", "var o = Object(this);", "var cloned = [];", "for (var i = -1; i < arguments.length; i++) {", "var value = (i === -1) ? o : arguments[i];", "if (Array.isArray(value)) {", "for (var j = 0, l = value.length; j < l; j++) {", "if (j in value) {", "cloned.push(value[j]);", "} else {", "cloned.length++;", "}", "}", "} else {", "cloned.push(value);", "}", "}", "return cloned;", "}", ");", "createArrayMethod_(", "function join(opt_separator) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var sep = typeof opt_separator === 'undefined' ?", "',' : ('' + opt_separator);", "var str = '';", "for (var i = 0; i < len; i++) {", "if (i && sep) str += sep;", "str += (o[i] === null || o[i] === undefined) ? '' : o[i];", "}", "return str;", "}", ");", "createArrayMethod_(", "function every(callbackfn, thisArg) {", "if (!this || typeof callbackfn !== 'function') throw TypeError();", "var t, k = 0;", "var o = Object(this), len = o.length >>> 0;", "if (arguments.length > 1) t = thisArg;", "while (k < len) {", "if (k in o && !callbackfn.call(t, o[k], k, o)) return false;", "k++;", "}", "return true;", "}", ");", "createArrayMethod_(", "function filter(fun, var_args) {", "if (this === void 0 || this === null || typeof fun !== 'function') throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var res = [];", "var thisArg = arguments.length >= 2 ? arguments[1] : void 0;", "for (var i = 0; i < len; i++) {", "if (i in o) {", "var val = o[i];", "if (fun.call(thisArg, val, i, o)) res.push(val);", "}", "}", "return res;", "}", ");", "createArrayMethod_(", "function forEach(callback, thisArg) {", "if (!this || typeof callback !== 'function') throw TypeError();", "var t, k = 0;", "var o = Object(this), len = o.length >>> 0;", "if (arguments.length > 1) t = thisArg;", "while (k < len) {", "if (k in o) callback.call(t, o[k], k, o);", "k++;", "}", "}", ");", "createArrayMethod_(", "function map(callback, thisArg) {", "if (!this || typeof callback !== 'function') throw TypeError();", "var t, k = 0;", "var o = Object(this), len = o.length >>> 0;", "if (arguments.length > 1) t = thisArg;", "var a = new Array(len);", "while (k < len) {", "if (k in o) a[k] = callback.call(t, o[k], k, o);", "k++;", "}", "return a;", "}", ");", "createArrayMethod_(", "function reduce(callback /*, initialValue*/) {", "if (!this || typeof callback !== 'function') throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var k = 0, value;", "if (arguments.length === 2) {", "value = arguments[1];", "} else {", "while (k < len && !(k in o)) k++;", "if (k >= len) {", "throw TypeError('Reduce of empty array with no initial value');", "}", "value = o[k++];", "}", "for (; k < len; k++) {", "if (k in o) value = callback(value, o[k], k, o);", "}", "return value;", "}", ");", "createArrayMethod_(", "function reduceRight(callback /*, initialValue*/) {", "if (null === this || 'undefined' === typeof this || 'function' !== typeof callback) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var k = len - 1, value;", "if (arguments.length >= 2) {", "value = arguments[1];", "} else {", "while (k >= 0 && !(k in o)) k--;", "if (k < 0) {", "throw TypeError('Reduce of empty array with no initial value');", "}", "value = o[k--];", "}", "for (; k >= 0; k--) {", "if (k in o) value = callback(value, o[k], k, o);", "}", "return value;", "}", ");", "createArrayMethod_(", "function some(fun/*, thisArg*/) {", "if (!this || typeof fun !== 'function') throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var thisArg = arguments.length >= 2 ? arguments[1] : void 0;", "for (var i = 0; i < len; i++) {", "if (i in o && fun.call(thisArg, o[i], i, o)) return true;", "}", "return false;", "}", ");", "createArrayMethod_(", "function sort(opt_comp) {", "if (!this) throw TypeError();", "if (typeof opt_comp !== 'function') {", "opt_comp = undefined;", "}", "for (var i = 0; i < this.length; i++) {", "var changes = 0;", "for (var j = 0; j < this.length - i - 1; j++) {", "if (opt_comp ? (opt_comp(this[j], this[j + 1]) > 0) :", "(String(this[j]) > String(this[j + 1]))) {", "var swap = this[j];", "var hasSwap = j in this;", "if ((j + 1) in this) {", "this[j] = this[j + 1];", "} else {", "delete this[j];", "}", "if (hasSwap) {", "this[j + 1] = swap;", "} else {", "delete this[j + 1];", "}", "changes++;", "}", "}", "if (!changes) break;", "}", "return this;", "}", ");", "createArrayMethod_(", "function toLocaleString() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var out = [];", "for (var i = 0; i < len; i++) {", "out[i] = (o[i] === null || o[i] === undefined) ? '' : o[i].toLocaleString();", "}", "return out.join(',');", "}", ");", "})();", "");
1142
1154
  }
1143
- function Eo(e, t) {
1155
+ function Ao(e, t) {
1144
1156
  var n = function(r) {
1145
- return r = arguments.length ? ye.String(r) : "", ue(e) ? (this.data = r, this) : r;
1157
+ return r = arguments.length ? ve.String(r) : "", de(e) ? (this.data = r, this) : r;
1146
1158
  };
1147
1159
  for (e.J = e.i(n, !0), e.g(t, "String", e.J, y), e.g(e.J, "fromCharCode", e.i(String.fromCharCode, !1), y), t = "charAt charCodeAt concat indexOf lastIndexOf slice substr substring toLocaleLowerCase toLocaleUpperCase toLowerCase toUpperCase trim".split(" "), n = 0; n < t.length; n++)
1148
1160
  W(e, e.J, t[n], String.prototype[t[n]]);
@@ -1156,41 +1168,41 @@ function Eo(e, t) {
1156
1168
  }, W(e, e.J, "localeCompare", n), n = function(r, o, a) {
1157
1169
  var s = String(this);
1158
1170
  if (o = o ? Number(o) : void 0, H(e, r, e.I) && (r = r.data, $e(e, r, a), e.REGEXP_MODE === 2)) {
1159
- if (le)
1171
+ if (fe)
1160
1172
  r = We(e, "string.split(separator, limit)", {
1161
1173
  string: s,
1162
1174
  separator: r,
1163
1175
  limit: o
1164
- }, r, a), r !== Oe && a(se(e, r));
1176
+ }, r, a), r !== Oe && a(ue(e, r));
1165
1177
  else {
1166
1178
  var u = e.ha(), d = He(e, r, u, a);
1167
- u.onmessage = function(S) {
1168
- clearTimeout(d), a(se(e, S.data));
1179
+ u.onmessage = function(k) {
1180
+ clearTimeout(d), a(ue(e, k.data));
1169
1181
  }, u.postMessage(["split", s, r, o]);
1170
1182
  }
1171
1183
  return;
1172
1184
  }
1173
- r = s.split(r, o), a(se(e, r));
1185
+ r = s.split(r, o), a(ue(e, r));
1174
1186
  }, Ke(e, e.J, "split", n), n = function(r, o) {
1175
1187
  var a = String(this);
1176
1188
  if (r = H(e, r, e.I) ? r.data : new RegExp(r), $e(e, r, o), e.REGEXP_MODE === 2)
1177
- if (le)
1189
+ if (fe)
1178
1190
  r = We(e, "string.match(regexp)", {
1179
1191
  string: a,
1180
1192
  regexp: r
1181
- }, r, o), r !== Oe && o(r && se(e, r));
1193
+ }, r, o), r !== Oe && o(r && ue(e, r));
1182
1194
  else {
1183
1195
  var s = e.ha(), u = He(e, r, s, o);
1184
1196
  s.onmessage = function(d) {
1185
- clearTimeout(u), o(d.data && se(e, d.data));
1197
+ clearTimeout(u), o(d.data && ue(e, d.data));
1186
1198
  }, s.postMessage(["match", a, r]);
1187
1199
  }
1188
1200
  else
1189
- r = a.match(r), o(r && se(e, r));
1201
+ r = a.match(r), o(r && ue(e, r));
1190
1202
  }, Ke(e, e.J, "match", n), n = function(r, o) {
1191
1203
  var a = String(this);
1192
1204
  if (H(e, r, e.I) ? r = r.data : r = new RegExp(r), $e(e, r, o), e.REGEXP_MODE === 2)
1193
- if (le)
1205
+ if (fe)
1194
1206
  r = We(e, "string.search(regexp)", {
1195
1207
  string: a,
1196
1208
  regexp: r
@@ -1206,7 +1218,7 @@ function Eo(e, t) {
1206
1218
  }, Ke(e, e.J, "search", n), n = function(r, o, a) {
1207
1219
  var s = String(this);
1208
1220
  if (o = String(o), H(e, r, e.I) && (r = r.data, $e(e, r, a), e.REGEXP_MODE === 2)) {
1209
- if (le)
1221
+ if (fe)
1210
1222
  r = We(e, "string.replace(substr, newSubstr)", {
1211
1223
  string: s,
1212
1224
  substr: r,
@@ -1214,8 +1226,8 @@ function Eo(e, t) {
1214
1226
  }, r, a), r !== Oe && a(r);
1215
1227
  else {
1216
1228
  var u = e.ha(), d = He(e, r, u, a);
1217
- u.onmessage = function(S) {
1218
- clearTimeout(d), a(S.data);
1229
+ u.onmessage = function(k) {
1230
+ clearTimeout(d), a(k.data);
1219
1231
  }, u.postMessage(["replace", s, r, o]);
1220
1232
  }
1221
1233
  return;
@@ -1223,14 +1235,14 @@ function Eo(e, t) {
1223
1235
  a(s.replace(r, o));
1224
1236
  }, Ke(e, e.J, "replace", n), e.ba.push("(function() {", "var replace_ = String.prototype.replace;", "String.prototype.replace = function replace(substr, newSubstr) {", "if (typeof newSubstr !== 'function') {", "return replace_.call(this, substr, newSubstr);", "}", "var str = this;", "if (substr instanceof RegExp) {", "var subs = [];", "var m = substr.exec(str);", "while (m) {", "m.push(m.index, str);", "var inject = newSubstr.apply(null, m);", "subs.push([m.index, m[0].length, inject]);", "m = substr.global ? substr.exec(str) : null;", "}", "for (var i = subs.length - 1; i >= 0; i--) {", "str = str.substring(0, subs[i][0]) + subs[i][2] + str.substring(subs[i][0] + subs[i][1]);", "}", "} else {", "var i = str.indexOf(substr);", "if (i !== -1) {", "var inject = newSubstr(str.substr(i, substr.length), i, str);", "str = str.substring(0, i) + inject + str.substring(i + substr.length);", "}", "}", "return str;", "};", "})();", "");
1225
1237
  }
1226
- function Io(e, t) {
1238
+ function Oo(e, t) {
1227
1239
  e.mb = e.i(function(n) {
1228
- return n = ye.Boolean(n), ue(e) ? (this.data = n, this) : n;
1240
+ return n = ve.Boolean(n), de(e) ? (this.data = n, this) : n;
1229
1241
  }, !0), e.g(t, "Boolean", e.mb, y);
1230
1242
  }
1231
- function To(e, t) {
1243
+ function jo(e, t) {
1232
1244
  var n = function(r) {
1233
- return r = arguments.length ? ye.Number(r) : 0, ue(e) ? (this.data = r, this) : r;
1245
+ return r = arguments.length ? ve.Number(r) : 0, de(e) ? (this.data = r, this) : r;
1234
1246
  };
1235
1247
  for (e.aa = e.i(n, !0), e.g(t, "Number", e.aa, y), t = ["MAX_VALUE", "MIN_VALUE", "NaN", "NEGATIVE_INFINITY", "POSITIVE_INFINITY"], n = 0; n < t.length; n++)
1236
1248
  e.g(e.aa, t[n], Number[t[n]], Le);
@@ -1267,12 +1279,12 @@ function To(e, t) {
1267
1279
  }
1268
1280
  }, W(e, e.aa, "toLocaleString", n);
1269
1281
  }
1270
- function Ao(e, t) {
1282
+ function Ro(e, t) {
1271
1283
  var n = function(o, a) {
1272
- if (!ue(e))
1273
- return ye.Date();
1284
+ if (!de(e))
1285
+ return ve.Date();
1274
1286
  var s = [null].concat(Array.from(arguments));
1275
- return this.data = new (Function.prototype.bind.apply(ye.Date, s))(), this;
1287
+ return this.data = new (Function.prototype.bind.apply(ve.Date, s))(), this;
1276
1288
  };
1277
1289
  e.$ = e.i(n, !0), e.nb = e.$.h.prototype, e.g(t, "Date", e.$, y), e.g(e.$, "now", e.i(Date.now, !1), y), e.g(e.$, "parse", e.i(Date.parse, !1), y), e.g(e.$, "UTC", e.i(Date.UTC, !1), y), t = "getDate getDay getFullYear getHours getMilliseconds getMinutes getMonth getSeconds getTime getTimezoneOffset getUTCDate getUTCDay getUTCFullYear getUTCHours getUTCMilliseconds getUTCMinutes getUTCMonth getUTCSeconds getYear setDate setFullYear setHours setMilliseconds setMinutes setMonth setSeconds setTime setUTCDate setUTCFullYear setUTCHours setUTCMilliseconds setUTCMinutes setUTCMonth setUTCSeconds setYear toDateString toISOString toJSON toGMTString toLocaleDateString toLocaleString toLocaleTimeString toTimeString toUTCString".split(" ");
1278
1290
  for (var r = 0; r < t.length; r++)
@@ -1286,9 +1298,9 @@ function Ao(e, t) {
1286
1298
  };
1287
1299
  }(t[r]), W(e, e.$, t[r], n);
1288
1300
  }
1289
- function Oo(e, t) {
1301
+ function Po(e, t) {
1290
1302
  var n = function(r, o) {
1291
- if (ue(e))
1303
+ if (de(e))
1292
1304
  var a = this;
1293
1305
  else {
1294
1306
  if (o === void 0 && H(e, r, e.I))
@@ -1297,51 +1309,51 @@ function Oo(e, t) {
1297
1309
  }
1298
1310
  r = r === void 0 ? "" : String(r), o = o ? String(o) : "", /^[gmi]*$/.test(o) || w(e, e.T, "Invalid regexp flag: " + o);
1299
1311
  try {
1300
- var s = new ye.RegExp(r, o);
1312
+ var s = new ve.RegExp(r, o);
1301
1313
  } catch (u) {
1302
1314
  w(e, e.T, u.message);
1303
1315
  }
1304
- return zt(e, a, s), a;
1316
+ return qt(e, a, s), a;
1305
1317
  };
1306
1318
  e.I = e.i(n, !0), e.Ma = e.I.h.prototype, e.g(t, "RegExp", e.I, y), e.g(e.I.h.prototype, "global", void 0, J), e.g(e.I.h.prototype, "ignoreCase", void 0, J), e.g(e.I.h.prototype, "multiline", void 0, J), e.g(e.I.h.prototype, "source", "(?:)", J), e.ba.push("Object.defineProperty(RegExp.prototype, 'test',", "{configurable: true, writable: true, value:", "function test(str) {", "return !!this.exec(str);", "}", "});"), n = function(r, o) {
1307
- function a(C) {
1308
- if (C) {
1309
- var b = se(e, C);
1310
- return e.g(b, "index", C.index), e.g(b, "input", C.input), b;
1319
+ function a(E) {
1320
+ if (E) {
1321
+ var S = ue(e, E);
1322
+ return e.g(S, "index", E.index), e.g(S, "input", E.input), S;
1311
1323
  }
1312
1324
  return null;
1313
1325
  }
1314
1326
  var s = this.data;
1315
1327
  if (r = String(r), s.lastIndex = Number(e.G(this, "lastIndex")), $e(e, s, o), e.REGEXP_MODE === 2)
1316
- if (le)
1328
+ if (fe)
1317
1329
  r = We(e, "regexp.exec(string)", {
1318
1330
  string: r,
1319
1331
  regexp: s
1320
1332
  }, s, o), r !== Oe && (e.g(this, "lastIndex", s.lastIndex), o(a(r)));
1321
1333
  else {
1322
- var u = e.ha(), d = He(e, s, u, o), S = this;
1323
- u.onmessage = function(C) {
1324
- clearTimeout(d), e.g(S, "lastIndex", C.data[1]), o(a(C.data[0]));
1334
+ var u = e.ha(), d = He(e, s, u, o), k = this;
1335
+ u.onmessage = function(E) {
1336
+ clearTimeout(d), e.g(k, "lastIndex", E.data[1]), o(a(E.data[0]));
1325
1337
  }, u.postMessage(["exec", s, s.lastIndex, r]);
1326
1338
  }
1327
1339
  else
1328
1340
  r = s.exec(r), e.g(this, "lastIndex", s.lastIndex), o(a(r));
1329
1341
  }, Ke(e, e.I, "exec", n);
1330
1342
  }
1331
- function jo(e, t) {
1343
+ function No(e, t) {
1332
1344
  function n(r) {
1333
1345
  var o = e.i(function(a) {
1334
- var s = ue(e) ? this : e.Aa(o);
1346
+ var s = de(e) ? this : e.Aa(o);
1335
1347
  return Wt(e, s, a), s;
1336
1348
  }, !0);
1337
1349
  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;
1338
1350
  }
1339
1351
  e.D = e.i(function(r) {
1340
- var o = ue(e) ? this : e.Aa(e.D);
1352
+ var o = de(e) ? this : e.Aa(e.D);
1341
1353
  return Wt(e, o, r), o;
1342
1354
  }, !0), e.g(t, "Error", e.D, y), e.g(e.D.h.prototype, "message", "", y), e.g(e.D.h.prototype, "name", "Error", y), n("EvalError"), e.ob = n("RangeError"), e.pb = n("ReferenceError"), e.T = n("SyntaxError"), e.j = n("TypeError"), e.Gb = n("URIError");
1343
1355
  }
1344
- function Ro(e, t) {
1356
+ function Bo(e, t) {
1345
1357
  var n = e.s(e.M);
1346
1358
  e.g(t, "Math", n, y);
1347
1359
  var r = "E LN2 LN10 LOG2E LOG10E PI SQRT1_2 SQRT2".split(" ");
@@ -1350,7 +1362,7 @@ function Ro(e, t) {
1350
1362
  for (r = "abs acos asin atan atan2 ceil cos exp floor log max min pow random round sin sqrt tan".split(" "), t = 0; t < r.length; t++)
1351
1363
  e.g(n, r[t], e.i(Math[r[t]], !1), y);
1352
1364
  }
1353
- function Po(e, t) {
1365
+ function Mo(e, t) {
1354
1366
  var n = e.s(e.M);
1355
1367
  e.g(t, "JSON", n, y), t = function(r) {
1356
1368
  try {
@@ -1360,7 +1372,7 @@ function Po(e, t) {
1360
1372
  }
1361
1373
  return e.Ia(o);
1362
1374
  }, e.g(n, "parse", e.i(t, !1)), t = function(r, o, a) {
1363
- o && o.H === "Function" ? w(e, e.j, "Function replacer on JSON.stringify not supported") : o && o.H === "Array" ? (o = ur(e, o), o = o.filter(function(u) {
1375
+ o && o.H === "Function" ? w(e, e.j, "Function replacer on JSON.stringify not supported") : o && o.H === "Array" ? (o = fr(e, o), o = o.filter(function(u) {
1364
1376
  return typeof u == "string" || typeof u == "number";
1365
1377
  })) : o = null, typeof a != "string" && typeof a != "number" && (a = void 0), r = e.R(r);
1366
1378
  try {
@@ -1376,14 +1388,14 @@ function H(e, t, n) {
1376
1388
  return !1;
1377
1389
  if (n = n.h.prototype, t === n)
1378
1390
  return !0;
1379
- for (t = ce(e, t); t; ) {
1391
+ for (t = pe(e, t); t; ) {
1380
1392
  if (t === n)
1381
1393
  return !0;
1382
1394
  t = t.xa;
1383
1395
  }
1384
1396
  return !1;
1385
1397
  }
1386
- function zt(e, t, n) {
1398
+ function qt(e, t, n) {
1387
1399
  t.data = new RegExp(n.source, n.flags), e.g(t, "lastIndex", n.lastIndex, y), e.g(t, "source", n.source, J), e.g(t, "global", n.global, J), e.g(t, "ignoreCase", n.ignoreCase, J), e.g(t, "multiline", n.multiline, J);
1388
1400
  }
1389
1401
  function Wt(e, t, n) {
@@ -1405,7 +1417,7 @@ function Wt(e, t, n) {
1405
1417
  }
1406
1418
  N.ha = function() {
1407
1419
  var e = this.ha.Mb;
1408
- return e || (e = new Blob([wo.join(`
1420
+ return e || (e = new Blob([ko.join(`
1409
1421
  `)], {
1410
1422
  type: "application/javascript"
1411
1423
  }), this.ha.Mb = e), new Worker(URL.createObjectURL(e));
@@ -1415,7 +1427,7 @@ function We(e, t, n, r, o) {
1415
1427
  timeout: e.REGEXP_THREAD_TIMEOUT
1416
1428
  };
1417
1429
  try {
1418
- return le.runInNewContext(t, n, a);
1430
+ return fe.runInNewContext(t, n, a);
1419
1431
  } catch {
1420
1432
  o(null), w(e, e.D, "RegExp Timeout: " + r);
1421
1433
  }
@@ -1426,16 +1438,16 @@ function $e(e, t, n) {
1426
1438
  var r = !1;
1427
1439
  else if (e.REGEXP_MODE === 1)
1428
1440
  r = !0;
1429
- else if (le)
1441
+ else if (fe)
1430
1442
  r = !0;
1431
1443
  else if (typeof Worker == "function" && typeof URL == "function")
1432
1444
  r = !0;
1433
1445
  else if (typeof require == "function") {
1434
1446
  try {
1435
- le = require("vm");
1447
+ fe = require("vm");
1436
1448
  } catch {
1437
1449
  }
1438
- r = !!le;
1450
+ r = !!fe;
1439
1451
  } else
1440
1452
  r = !1;
1441
1453
  r || (n(null), w(e, e.D, "Regular expressions not supported: " + t));
@@ -1465,19 +1477,19 @@ function Re(e) {
1465
1477
  writable: !0
1466
1478
  }), t.H = "Array", t;
1467
1479
  }
1468
- function qt(e, t, n) {
1480
+ function Zt(e, t, n) {
1469
1481
  var r = e.s(e.Z);
1470
1482
  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, J), r.H = "Function", r;
1471
1483
  }
1472
- function Zt(e, t, n, r) {
1473
- var o = qt(e, t.oa.length, !0);
1484
+ function Qt(e, t, n, r) {
1485
+ var o = Zt(e, t.oa.length, !0);
1474
1486
  return o.Va = n, o.node = t, e.g(o, "name", t.id ? String(t.id.name) : r || "", J), o;
1475
1487
  }
1476
1488
  N.i = function(e, t) {
1477
- return t = qt(this, e.length, t), t.Ta = e, e.id = this.Ya++, this.g(t, "name", e.name, J), t;
1489
+ return t = Zt(this, e.length, t), t.Ta = e, e.id = this.Ya++, this.g(t, "name", e.name, J), t;
1478
1490
  };
1479
1491
  N.ub = function(e) {
1480
- var t = qt(this, e.length, !0);
1492
+ var t = Zt(this, e.length, !0);
1481
1493
  return t.Za = e, e.id = this.Ya++, this.g(t, "name", e.name, J), t;
1482
1494
  };
1483
1495
  N.Ia = function(e) {
@@ -1487,7 +1499,7 @@ N.Ia = function(e) {
1487
1499
  return e;
1488
1500
  if (e instanceof RegExp) {
1489
1501
  var t = this.s(this.Ma);
1490
- return zt(this, t, e), t;
1502
+ return qt(this, t, e), t;
1491
1503
  }
1492
1504
  if (e instanceof Date)
1493
1505
  return t = this.s(this.nb), t.data = new Date(e.valueOf()), t;
@@ -1541,18 +1553,18 @@ N.R = function(e, t) {
1541
1553
  });
1542
1554
  return t.hb.pop(), t.Sa.pop(), n;
1543
1555
  };
1544
- function se(e, t) {
1556
+ function ue(e, t) {
1545
1557
  for (var n = Re(e), r = Object.getOwnPropertyNames(t), o = 0; o < r.length; o++)
1546
1558
  e.g(n, r[o], t[r[o]]);
1547
1559
  return n;
1548
1560
  }
1549
- function ur(e, t) {
1561
+ function fr(e, t) {
1550
1562
  var n = [], r;
1551
1563
  for (r in t.h)
1552
1564
  n[r] = e.G(t, r);
1553
- return n.length = Jt(e.G(t, "length")) || 0, n;
1565
+ return n.length = zt(e.G(t, "length")) || 0, n;
1554
1566
  }
1555
- function ce(e, t) {
1567
+ function pe(e, t) {
1556
1568
  switch (typeof t) {
1557
1569
  case "number":
1558
1570
  return e.aa.h.prototype;
@@ -1579,7 +1591,7 @@ N.G = function(e, t) {
1579
1591
  do
1580
1592
  if (e.h && t in e.h)
1581
1593
  return (n = e.V[t]) ? (this.P = !0, n) : e.h[t];
1582
- while (e = ce(this, e));
1594
+ while (e = pe(this, e));
1583
1595
  };
1584
1596
  function ft(e, t, n) {
1585
1597
  if (!(t instanceof R))
@@ -1594,7 +1606,7 @@ function ft(e, t, n) {
1594
1606
  do
1595
1607
  if (t.h && n in t.h)
1596
1608
  return !0;
1597
- while (t = ce(e, t));
1609
+ while (t = pe(e, t));
1598
1610
  return !1;
1599
1611
  }
1600
1612
  N.g = function(e, t, n, r) {
@@ -1603,7 +1615,7 @@ N.g = function(e, t, n, r) {
1603
1615
  if (t = String(t), e != null || w(this, this.j, "Cannot set property '" + t + "' of " + e), typeof e == "object" && !(e instanceof R))
1604
1616
  throw TypeError("Expecting native value or pseudo object");
1605
1617
  r && ("get" in r || "set" in r) && ("value" in r || "writable" in r) && w(this, this.j, "Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");
1606
- var o = !this.o || Qt(this).S;
1618
+ var o = !this.o || en(this).S;
1607
1619
  if (e instanceof R) {
1608
1620
  if (H(this, e, this.J)) {
1609
1621
  var a = Xe(t);
@@ -1619,7 +1631,7 @@ N.g = function(e, t, n, r) {
1619
1631
  return;
1620
1632
  n = r.value;
1621
1633
  }
1622
- if (n = Jt(n), isNaN(n) && w(this, this.ob, "Invalid array length"), n < a)
1634
+ if (n = zt(n), isNaN(n) && w(this, this.ob, "Invalid array length"), n < a)
1623
1635
  for (s in e.h) {
1624
1636
  var s = Xe(s);
1625
1637
  !isNaN(s) && n <= s && delete e.h[s];
@@ -1639,7 +1651,7 @@ N.g = function(e, t, n, r) {
1639
1651
  if (n === Ye)
1640
1652
  throw ReferenceError("Value not specified");
1641
1653
  for (r = e; !(t in r.h); )
1642
- if (r = ce(this, r), !r) {
1654
+ if (r = pe(this, r), !r) {
1643
1655
  r = e;
1644
1656
  break;
1645
1657
  }
@@ -1671,7 +1683,7 @@ function W(e, t, n, r) {
1671
1683
  function Ke(e, t, n, r) {
1672
1684
  e.g(t.h.prototype, n, e.ub(r), y);
1673
1685
  }
1674
- function Qt(e) {
1686
+ function en(e) {
1675
1687
  if (e = e.o[e.o.length - 1].scope, !e)
1676
1688
  throw Error("No scope found");
1677
1689
  return e;
@@ -1684,15 +1696,15 @@ function $t(e, t, n) {
1684
1696
  var o = t.body && t.body[0];
1685
1697
  o && o.la && o.la.type === "Literal" && o.la.value === "use strict" && (r = !0);
1686
1698
  }
1687
- return o = e.s(null), r = new dr(n, r, o), n || xo(e, r.object), Je(e, t, r), r;
1699
+ return o = e.s(null), r = new hr(n, r, o), n || Co(e, r.object), Je(e, t, r), r;
1688
1700
  }
1689
- function en(e, t, n) {
1701
+ function tn(e, t, n) {
1690
1702
  if (!t)
1691
1703
  throw Error("parentScope required");
1692
- return e = n || e.s(null), new dr(t, t.S, e);
1704
+ return e = n || e.s(null), new hr(t, t.S, e);
1693
1705
  }
1694
- function tn(e, t) {
1695
- for (var n = Qt(e); n && n !== e.N; ) {
1706
+ function nn(e, t) {
1707
+ for (var n = en(e); n && n !== e.N; ) {
1696
1708
  if (t in n.object.h)
1697
1709
  return n.object.h[t];
1698
1710
  n = n.Va;
@@ -1701,8 +1713,8 @@ function tn(e, t) {
1701
1713
  return e.G(n.object, t);
1702
1714
  n = e.o[e.o.length - 1].node, n.type === "UnaryExpression" && n.operator === "typeof" || w(e, e.pb, t + " is not defined");
1703
1715
  }
1704
- function fr(e, t, n) {
1705
- for (var r = Qt(e), o = r.S; r && r !== e.N; ) {
1716
+ function pr(e, t, n) {
1717
+ for (var r = en(e), o = r.S; r && r !== e.N; ) {
1706
1718
  if (t in r.object.h) {
1707
1719
  try {
1708
1720
  r.object.h[t] = n;
@@ -1763,20 +1775,20 @@ function Je(e, t, n) {
1763
1775
  t.jb = r;
1764
1776
  }
1765
1777
  for (s in r)
1766
- r[s] === !0 ? e.g(n.object, s, void 0, Wn) : e.g(n.object, s, Zt(e, r[s], n), Wn);
1778
+ r[s] === !0 ? e.g(n.object, s, void 0, $n) : e.g(n.object, s, Qt(e, r[s], n), $n);
1767
1779
  return r;
1768
1780
  }
1769
- function ue(e) {
1781
+ function de(e) {
1770
1782
  return e.o[e.o.length - 1].isConstructor;
1771
1783
  }
1772
- function nn(e, t) {
1773
- return t[0] === Pe ? tn(e, t[1]) : e.G(t[0], t[1]);
1784
+ function rn(e, t) {
1785
+ return t[0] === Pe ? nn(e, t[1]) : e.G(t[0], t[1]);
1774
1786
  }
1775
- function rn(e, t, n) {
1776
- return t[0] === Pe ? fr(e, t[1], n) : e.g(t[0], t[1], n);
1787
+ function on(e, t, n) {
1788
+ return t[0] === Pe ? pr(e, t[1], n) : e.g(t[0], t[1], n);
1777
1789
  }
1778
1790
  function w(e, t, n) {
1779
- throw e.N ? (n !== void 0 && t instanceof R && (t = e.Aa(t), Wt(e, t, n)), ze(e, 4, t), cr) : n === void 0 ? t : n;
1791
+ throw e.N ? (n !== void 0 && t instanceof R && (t = e.Aa(t), Wt(e, t, n)), ze(e, 4, t), ur) : n === void 0 ? t : n;
1780
1792
  }
1781
1793
  function ze(e, t, n, r) {
1782
1794
  if (t === 0)
@@ -1854,7 +1866,7 @@ function Y(e, t) {
1854
1866
  }
1855
1867
  return "???";
1856
1868
  }
1857
- function Hn(e, t, n) {
1869
+ function Kn(e, t, n) {
1858
1870
  var r = e.o[e.o.length - 1], o = Array.from(n), a = o.shift();
1859
1871
  n = Math.max(Number(o.shift() || 0), 0);
1860
1872
  var s = e.ya();
@@ -1864,19 +1876,19 @@ function Hn(e, t, n) {
1864
1876
  } else {
1865
1877
  try {
1866
1878
  var d = je(String(a), "taskCode" + e.ic++);
1867
- } catch (S) {
1868
- w(e, e.T, "Invalid code: " + S.message);
1879
+ } catch (k) {
1880
+ w(e, e.T, "Invalid code: " + k.message);
1869
1881
  }
1870
1882
  s.type = "EvalProgram_", s.body = d.body, r = r.node.arguments[0], ut(s, r ? r.start : void 0, r ? r.end : void 0), r = e.N, o.length = 0;
1871
1883
  }
1872
- return t = new No(u, o, r, s, t ? n : -1), pr(e, t, n), t.Db;
1884
+ return t = new Uo(u, o, r, s, t ? n : -1), dr(e, t, n), t.Db;
1873
1885
  }
1874
- function pr(e, t, n) {
1886
+ function dr(e, t, n) {
1875
1887
  t.time = Date.now() + n, e.ca.push(t), e.ca.sort(function(r, o) {
1876
1888
  return r.time - o.time;
1877
1889
  });
1878
1890
  }
1879
- function Kn(e, t) {
1891
+ function Gn(e, t) {
1880
1892
  for (var n = 0; n < e.ca.length; n++)
1881
1893
  if (e.ca[n].Db == t) {
1882
1894
  e.ca.splice(n, 1);
@@ -1888,17 +1900,17 @@ function qe(e, t, n) {
1888
1900
  throw Error("Unexpected call to createGetter");
1889
1901
  e.P = !1, n = Array.isArray(n) ? n[0] : n;
1890
1902
  var r = e.ya();
1891
- return r.type = "CallExpression", e = new v(r, e.o[e.o.length - 1].scope), e.ia = 2, e.B = n, e.U = t, e.Qa = !0, e.F = [], e;
1903
+ 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;
1892
1904
  }
1893
- function on(e, t, n, r) {
1905
+ function an(e, t, n, r) {
1894
1906
  if (!e.Ka)
1895
1907
  throw Error("Unexpected call to createSetter");
1896
1908
  e.Ka = !1, n = Array.isArray(n) ? n[0] : e.Na;
1897
1909
  var o = e.ya();
1898
- return o.type = "CallExpression", e = new v(o, e.o[e.o.length - 1].scope), e.ia = 2, e.B = n, e.U = t, e.Qa = !0, e.F = [r], e;
1910
+ 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;
1899
1911
  }
1900
- function _t(e, t) {
1901
- return t == null ? e.Na : t instanceof R ? t : (e = e.s(ce(e, t)), e.data = t, e);
1912
+ function Dt(e, t) {
1913
+ return t == null ? e.Na : t instanceof R ? t : (e = e.s(pe(e, t)), e.data = t, e);
1902
1914
  }
1903
1915
  N.Xb = function() {
1904
1916
  return this.N;
@@ -1909,10 +1921,10 @@ N.Yb = function() {
1909
1921
  N.ec = function(e) {
1910
1922
  this.o = e;
1911
1923
  };
1912
- function v(e, t) {
1924
+ function b(e, t) {
1913
1925
  this.node = e, this.scope = t;
1914
1926
  }
1915
- function dr(e, t, n) {
1927
+ function hr(e, t, n) {
1916
1928
  this.Va = e, this.S = t, this.object = n;
1917
1929
  }
1918
1930
  function R(e) {
@@ -1928,7 +1940,7 @@ N.toString = function() {
1928
1940
  if (!(this instanceof R))
1929
1941
  return String(this);
1930
1942
  if (this.H === "Array") {
1931
- var e = $n;
1943
+ var e = Hn;
1932
1944
  e.push(this);
1933
1945
  try {
1934
1946
  var t = [], n = this.h.length, r = !1;
@@ -1944,7 +1956,7 @@ N.toString = function() {
1944
1956
  return t.join(",");
1945
1957
  }
1946
1958
  if (this.H === "Error") {
1947
- if (e = $n, e.indexOf(this) !== -1)
1959
+ if (e = Hn, e.indexOf(this) !== -1)
1948
1960
  return "[object Error]";
1949
1961
  n = this;
1950
1962
  do
@@ -1973,25 +1985,25 @@ N.toString = function() {
1973
1985
  N.valueOf = function() {
1974
1986
  return !Ge || this.data === void 0 || this.data === null || this.data instanceof RegExp ? this : this.data instanceof Date ? this.data.valueOf() : this.data;
1975
1987
  };
1976
- function No(e, t, n, r, o) {
1977
- this.zb = e, this.Lb = t, this.scope = n, this.node = r, this.interval = o, this.Db = ++Bo, this.time = 0;
1988
+ function Uo(e, t, n, r, o) {
1989
+ this.zb = e, this.Lb = t, this.scope = n, this.node = r, this.interval = o, this.Db = ++Fo, this.time = 0;
1978
1990
  }
1979
- var Bo = 0;
1991
+ var Fo = 0;
1980
1992
  h.prototype.stepArrayExpression = function(e, t, n) {
1981
1993
  n = n.elements;
1982
1994
  var r = t.A || 0;
1983
1995
  for (t.Oa ? (this.g(t.Oa, r, t.value), r++) : (t.Oa = Re(this), t.Oa.h.length = n.length); r < n.length; ) {
1984
1996
  if (n[r])
1985
- return t.A = r, new v(n[r], t.scope);
1997
+ return t.A = r, new b(n[r], t.scope);
1986
1998
  r++;
1987
1999
  }
1988
2000
  e.pop(), e[e.length - 1].value = t.Oa;
1989
2001
  };
1990
2002
  h.prototype.stepAssignmentExpression = function(e, t, n) {
1991
2003
  if (!t.ja)
1992
- return t.ja = !0, t = new v(n.left, t.scope), t.sa = !0, t;
2004
+ return t.ja = !0, t = new b(n.left, t.scope), t.sa = !0, t;
1993
2005
  if (!t.Da)
1994
- 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 v(n.right, t.scope));
2006
+ 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));
1995
2007
  if (t.ta)
1996
2008
  e.pop(), e[e.length - 1].value = t.ib;
1997
2009
  else {
@@ -2036,16 +2048,16 @@ h.prototype.stepAssignmentExpression = function(e, t, n) {
2036
2048
  default:
2037
2049
  throw SyntaxError("Unknown assignment expression: " + n.operator);
2038
2050
  }
2039
- if (n = rn(this, t.Fa, r))
2040
- return t.ta = !0, t.ib = r, on(this, n, t.Fa, r);
2051
+ if (n = on(this, t.Fa, r))
2052
+ return t.ta = !0, t.ib = r, an(this, n, t.Fa, r);
2041
2053
  e.pop(), e[e.length - 1].value = r;
2042
2054
  }
2043
2055
  };
2044
2056
  h.prototype.stepBinaryExpression = function(e, t, n) {
2045
2057
  if (!t.ja)
2046
- return t.ja = !0, new v(n.left, t.scope);
2058
+ return t.ja = !0, new b(n.left, t.scope);
2047
2059
  if (!t.Da)
2048
- return t.Da = !0, t.ma = t.value, new v(n.right, t.scope);
2060
+ return t.Da = !0, t.ma = t.value, new b(n.right, t.scope);
2049
2061
  e.pop();
2050
2062
  var r = t.ma;
2051
2063
  switch (t = t.value, n.operator) {
@@ -2120,7 +2132,7 @@ h.prototype.stepBinaryExpression = function(e, t, n) {
2120
2132
  h.prototype.stepBlockStatement = function(e, t, n) {
2121
2133
  var r = t.A || 0;
2122
2134
  if (n = n.body[r])
2123
- return t.A = r + 1, new v(n, t.scope);
2135
+ return t.A = r + 1, new b(n, t.scope);
2124
2136
  e.pop();
2125
2137
  };
2126
2138
  h.prototype.stepBreakStatement = function(e, t, n) {
@@ -2130,14 +2142,14 @@ h.prototype.Hb = 0;
2130
2142
  h.prototype.stepCallExpression = function(e, t, n) {
2131
2143
  if (!t.ia) {
2132
2144
  t.ia = 1;
2133
- var r = new v(n.callee, t.scope);
2145
+ var r = new b(n.callee, t.scope);
2134
2146
  return r.sa = !0, r;
2135
2147
  }
2136
2148
  if (t.ia === 1) {
2137
2149
  t.ia = 2;
2138
2150
  var o = t.value;
2139
2151
  if (Array.isArray(o)) {
2140
- if (t.U = nn(this, o), o[0] === Pe ? t.Pb = o[1] === "eval" : t.B = o[0], o = t.U, this.P)
2152
+ if (t.U = rn(this, o), o[0] === Pe ? t.Pb = o[1] === "eval" : t.B = o[0], o = t.U, this.P)
2141
2153
  return t.ia = 1, qe(this, o, t.value);
2142
2154
  } else
2143
2155
  t.U = o;
@@ -2145,7 +2157,7 @@ h.prototype.stepCallExpression = function(e, t, n) {
2145
2157
  }
2146
2158
  if (o = t.U, !t.Qa) {
2147
2159
  if (t.A !== 0 && t.F.push(t.value), n.arguments[t.A])
2148
- return new v(n.arguments[t.A++], t.scope);
2160
+ return new b(n.arguments[t.A++], t.scope);
2149
2161
  if (n.type === "NewExpression") {
2150
2162
  if (o instanceof R && !o.Ab || w(this, this.j, Y(this, n.callee) + " is not a constructor"), o === this.qa)
2151
2163
  t.B = Re(this);
@@ -2165,7 +2177,7 @@ h.prototype.stepCallExpression = function(e, t, n) {
2165
2177
  this.g(r, o, t.F[o]);
2166
2178
  for (this.g(n.object, "arguments", r), o = 0; o < e.oa.length; o++)
2167
2179
  this.g(n.object, e.oa[o].name, t.F.length > o ? t.F[o] : void 0);
2168
- return n.S || (t.B = _t(this, t.B)), this.g(n.object, "this", t.B, Yt), t.value = void 0, new v(e.body, n);
2180
+ return n.S || (t.B = Dt(this, t.B)), this.g(n.object, "this", t.B, Jt), t.value = void 0, new b(e.body, n);
2169
2181
  }
2170
2182
  if (o.eval)
2171
2183
  if (o = t.F[0], typeof o != "string")
@@ -2176,15 +2188,15 @@ h.prototype.stepCallExpression = function(e, t, n) {
2176
2188
  } catch (u) {
2177
2189
  w(this, this.T, "Invalid code: " + u.message);
2178
2190
  }
2179
- return o = this.ya(), o.type = "EvalProgram_", o.body = r.body, ut(o, n.start, n.end), n = t.Pb ? t.scope : this.N, n.S ? n = $t(this, r, n) : Je(this, r, n), this.value = void 0, new v(o, n);
2191
+ return o = this.ya(), o.type = "EvalProgram_", o.body = r.body, ut(o, n.start, n.end), n = t.Pb ? t.scope : this.N, n.S ? n = $t(this, r, n) : Je(this, r, n), this.value = void 0, new b(o, n);
2180
2192
  }
2181
2193
  else if (o.Ta)
2182
- t.scope.S || (t.B = _t(this, t.B)), t.value = o.Ta.apply(t.B, t.F);
2194
+ t.scope.S || (t.B = Dt(this, t.B)), t.value = o.Ta.apply(t.B, t.F);
2183
2195
  else if (o.Za) {
2184
2196
  var s = this;
2185
2197
  r = o.Za.length - 1, r = t.F.concat(Array(r)).slice(0, r), r.push(function(u) {
2186
2198
  t.value = u, s.za = !1;
2187
- }), this.za = !0, t.scope.S || (t.B = _t(this, t.B)), o.Za.apply(t.B, r);
2199
+ }), this.za = !0, t.scope.S || (t.B = Dt(this, t.B)), o.Za.apply(t.B, r);
2188
2200
  } else
2189
2201
  w(this, this.j, Y(this, n.callee) + " is not callable");
2190
2202
  }
@@ -2192,12 +2204,12 @@ h.prototype.stepCallExpression = function(e, t, n) {
2192
2204
  h.prototype.stepConditionalExpression = function(e, t, n) {
2193
2205
  var r = t.na || 0;
2194
2206
  if (r === 0)
2195
- return t.na = 1, new v(n.test, t.scope);
2207
+ return t.na = 1, new b(n.test, t.scope);
2196
2208
  if (r === 1) {
2197
2209
  if (t.na = 2, (r = !!t.value) && n.da)
2198
- return new v(n.da, t.scope);
2210
+ return new b(n.da, t.scope);
2199
2211
  if (!r && n.alternate)
2200
- return new v(n.alternate, t.scope);
2212
+ return new b(n.alternate, t.scope);
2201
2213
  this.value = void 0;
2202
2214
  }
2203
2215
  e.pop(), n.type === "ConditionalExpression" && (e[e.length - 1].value = t.value);
@@ -2210,11 +2222,11 @@ h.prototype.stepDebuggerStatement = function(e) {
2210
2222
  };
2211
2223
  h.prototype.stepDoWhileStatement = function(e, t, n) {
2212
2224
  if (n.type === "DoWhileStatement" && t.ga === void 0 && (t.value = !0, t.ga = !0), !t.ga)
2213
- return t.ga = !0, new v(n.test, t.scope);
2225
+ return t.ga = !0, new b(n.test, t.scope);
2214
2226
  if (!t.value)
2215
2227
  e.pop();
2216
2228
  else if (n.body)
2217
- return t.ga = !1, t.W = !0, new v(n.body, t.scope);
2229
+ return t.ga = !1, t.W = !0, new b(n.body, t.scope);
2218
2230
  };
2219
2231
  h.prototype.stepEmptyStatement = function(e) {
2220
2232
  e.pop();
@@ -2222,19 +2234,19 @@ h.prototype.stepEmptyStatement = function(e) {
2222
2234
  h.prototype.stepEvalProgram_ = function(e, t, n) {
2223
2235
  var r = t.A || 0;
2224
2236
  if (n = n.body[r])
2225
- return t.A = r + 1, new v(n, t.scope);
2237
+ return t.A = r + 1, new b(n, t.scope);
2226
2238
  e.pop(), e[e.length - 1].value = this.value;
2227
2239
  };
2228
2240
  h.prototype.stepExpressionStatement = function(e, t, n) {
2229
2241
  if (!t.ka)
2230
- return this.value = void 0, t.ka = !0, new v(n.la, t.scope);
2242
+ return this.value = void 0, t.ka = !0, new b(n.la, t.scope);
2231
2243
  e.pop(), this.value = t.value;
2232
2244
  };
2233
2245
  h.prototype.stepForInStatement = function(e, t, n) {
2234
2246
  if (!t.Ub && (t.Ub = !0, n.left.fa && n.left.fa[0].ua))
2235
- return t.scope.S && w(this, this.T, "for-in loop variable declaration may not have an initializer"), new v(n.left, t.scope);
2247
+ return t.scope.S && w(this, this.T, "for-in loop variable declaration may not have an initializer"), new b(n.left, t.scope);
2236
2248
  if (!t.Ca)
2237
- return t.Ca = !0, t.pa || (t.pa = t.value), new v(n.right, t.scope);
2249
+ return t.Ca = !0, t.pa || (t.pa = t.value), new b(n.right, t.scope);
2238
2250
  if (t.W || (t.W = !0, t.u = t.value, t.kb = /* @__PURE__ */ Object.create(null)), t.Ra === void 0)
2239
2251
  e:
2240
2252
  for (; ; ) {
@@ -2255,7 +2267,7 @@ h.prototype.stepForInStatement = function(e, t, n) {
2255
2267
  break e;
2256
2268
  }
2257
2269
  }
2258
- if (t.u = ce(this, t.u), t.wa = null, t.u === null) {
2270
+ if (t.u = pe(this, t.u), t.wa = null, t.u === null) {
2259
2271
  e.pop();
2260
2272
  return;
2261
2273
  }
@@ -2264,75 +2276,75 @@ h.prototype.stepForInStatement = function(e, t, n) {
2264
2276
  if (t.wb = !0, e = n.left, e.type === "VariableDeclaration")
2265
2277
  t.pa = [Pe, e.fa[0].id.name];
2266
2278
  else
2267
- return t.pa = null, t = new v(e, t.scope), t.sa = !0, t;
2268
- if (t.pa || (t.pa = t.value), !t.ta && (t.ta = !0, e = t.Ra, r = rn(this, t.pa, e)))
2269
- return on(this, r, t.pa, e);
2279
+ return t.pa = null, t = new b(e, t.scope), t.sa = !0, t;
2280
+ if (t.pa || (t.pa = t.value), !t.ta && (t.ta = !0, e = t.Ra, r = on(this, t.pa, e)))
2281
+ return an(this, r, t.pa, e);
2270
2282
  if (t.Ra = void 0, t.wb = !1, t.ta = !1, n.body)
2271
- return new v(n.body, t.scope);
2283
+ return new b(n.body, t.scope);
2272
2284
  };
2273
2285
  h.prototype.stepForStatement = function(e, t, n) {
2274
2286
  switch (t.na) {
2275
2287
  default:
2276
2288
  if (t.na = 1, n.ua)
2277
- return new v(n.ua, t.scope);
2289
+ return new b(n.ua, t.scope);
2278
2290
  break;
2279
2291
  case 1:
2280
2292
  if (t.na = 2, n.test)
2281
- return new v(n.test, t.scope);
2293
+ return new b(n.test, t.scope);
2282
2294
  break;
2283
2295
  case 2:
2284
2296
  if (t.na = 3, n.test && !t.value)
2285
2297
  e.pop();
2286
2298
  else
2287
- return t.W = !0, new v(n.body, t.scope);
2299
+ return t.W = !0, new b(n.body, t.scope);
2288
2300
  break;
2289
2301
  case 3:
2290
2302
  if (t.na = 1, n.update)
2291
- return new v(n.update, t.scope);
2303
+ return new b(n.update, t.scope);
2292
2304
  }
2293
2305
  };
2294
2306
  h.prototype.stepFunctionDeclaration = function(e) {
2295
2307
  e.pop();
2296
2308
  };
2297
2309
  h.prototype.stepFunctionExpression = function(e, t, n) {
2298
- 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);
2310
+ 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, Jt);
2299
2311
  };
2300
2312
  h.prototype.stepIdentifier = function(e, t, n) {
2301
2313
  if (e.pop(), t.sa)
2302
2314
  e[e.length - 1].value = [Pe, n.name];
2303
2315
  else {
2304
- if (t = tn(this, n.name), this.P)
2316
+ if (t = nn(this, n.name), this.P)
2305
2317
  return qe(this, t, this.Na);
2306
2318
  e[e.length - 1].value = t;
2307
2319
  }
2308
2320
  };
2309
2321
  h.prototype.stepIfStatement = h.prototype.stepConditionalExpression;
2310
2322
  h.prototype.stepLabeledStatement = function(e, t, n) {
2311
- return e.pop(), e = t.labels || [], e.push(n.label.name), t = new v(n.body, t.scope), t.labels = e, t;
2323
+ return e.pop(), e = t.labels || [], e.push(n.label.name), t = new b(n.body, t.scope), t.labels = e, t;
2312
2324
  };
2313
2325
  h.prototype.stepLiteral = function(e, t, n) {
2314
- 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;
2326
+ 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;
2315
2327
  };
2316
2328
  h.prototype.stepLogicalExpression = function(e, t, n) {
2317
2329
  if (n.operator !== "&&" && n.operator !== "||")
2318
2330
  throw SyntaxError("Unknown logical operator: " + n.operator);
2319
2331
  if (!t.ja)
2320
- return t.ja = !0, new v(n.left, t.scope);
2332
+ return t.ja = !0, new b(n.left, t.scope);
2321
2333
  if (t.Da)
2322
2334
  e.pop(), e[e.length - 1].value = t.value;
2323
2335
  else if (n.operator === "&&" && !t.value || n.operator === "||" && t.value)
2324
2336
  e.pop(), e[e.length - 1].value = t.value;
2325
2337
  else
2326
- return t.Da = !0, new v(n.right, t.scope);
2338
+ return t.Da = !0, new b(n.right, t.scope);
2327
2339
  };
2328
2340
  h.prototype.stepMemberExpression = function(e, t, n) {
2329
2341
  if (!t.Ca)
2330
- return t.Ca = !0, new v(n.object, t.scope);
2342
+ return t.Ca = !0, new b(n.object, t.scope);
2331
2343
  if (n.bb)
2332
2344
  if (t.Vb)
2333
2345
  n = t.value;
2334
2346
  else
2335
- return t.u = t.value, t.Vb = !0, new v(n.Wa, t.scope);
2347
+ return t.u = t.value, t.Vb = !0, new b(n.Wa, t.scope);
2336
2348
  else
2337
2349
  t.u = t.value, n = n.Wa.name;
2338
2350
  if (e.pop(), t.sa)
@@ -2359,7 +2371,7 @@ h.prototype.stepObjectExpression = function(e, t, n) {
2359
2371
  a = s.value;
2360
2372
  else
2361
2373
  throw SyntaxError("Unknown object structure: " + s.type);
2362
- return t.Pa = a, new v(o.value, t.scope);
2374
+ return t.Pa = a, new b(o.value, t.scope);
2363
2375
  }
2364
2376
  for (s in t.Ja)
2365
2377
  n = t.Ja[s], "get" in n || "set" in n ? this.g(t.u, s, Ye, {
@@ -2372,35 +2384,35 @@ h.prototype.stepObjectExpression = function(e, t, n) {
2372
2384
  };
2373
2385
  h.prototype.stepProgram = function(e, t, n) {
2374
2386
  if (e = n.body.shift())
2375
- return t.done = !1, new v(e, t.scope);
2387
+ return t.done = !1, new b(e, t.scope);
2376
2388
  t.done = !0;
2377
2389
  };
2378
2390
  h.prototype.stepReturnStatement = function(e, t, n) {
2379
2391
  if (n.K && !t.ka)
2380
- return t.ka = !0, new v(n.K, t.scope);
2392
+ return t.ka = !0, new b(n.K, t.scope);
2381
2393
  ze(this, 3, t.value);
2382
2394
  };
2383
2395
  h.prototype.stepSequenceExpression = function(e, t, n) {
2384
2396
  var r = t.A || 0;
2385
2397
  if (n = n.xb[r])
2386
- return t.A = r + 1, new v(n, t.scope);
2398
+ return t.A = r + 1, new b(n, t.scope);
2387
2399
  e.pop(), e[e.length - 1].value = t.value;
2388
2400
  };
2389
2401
  h.prototype.stepSwitchStatement = function(e, t, n) {
2390
2402
  if (!t.ga)
2391
- return t.ga = 1, new v(n.Qb, t.scope);
2403
+ return t.ga = 1, new b(n.Qb, t.scope);
2392
2404
  for (t.ga === 1 && (t.ga = 2, t.hc = t.value, t.cb = -1); ; ) {
2393
2405
  var r = t.gb || 0, o = n.tb[r];
2394
2406
  if (t.Ha || !o || o.test)
2395
2407
  if (o || t.Ha || t.cb === -1)
2396
2408
  if (o) {
2397
2409
  if (!t.Ha && !t.Fb && o.test)
2398
- return t.Fb = !0, new v(o.test, t.scope);
2410
+ return t.Fb = !0, new b(o.test, t.scope);
2399
2411
  if (t.Ha || t.value === t.hc) {
2400
2412
  t.Ha = !0;
2401
2413
  var a = t.A || 0;
2402
2414
  if (o.da[a])
2403
- return t.Zb = !0, t.A = a + 1, new v(o.da[a], t.scope);
2415
+ return t.Zb = !0, t.A = a + 1, new b(o.da[a], t.scope);
2404
2416
  }
2405
2417
  t.Fb = !1, t.A = 0, t.gb = r + 1;
2406
2418
  } else {
@@ -2414,26 +2426,26 @@ h.prototype.stepSwitchStatement = function(e, t, n) {
2414
2426
  }
2415
2427
  };
2416
2428
  h.prototype.stepThisExpression = function(e) {
2417
- e.pop(), e[e.length - 1].value = tn(this, "this");
2429
+ e.pop(), e[e.length - 1].value = nn(this, "this");
2418
2430
  };
2419
2431
  h.prototype.stepThrowStatement = function(e, t, n) {
2420
2432
  if (t.ka)
2421
2433
  w(this, t.value);
2422
2434
  else
2423
- return t.ka = !0, new v(n.K, t.scope);
2435
+ return t.ka = !0, new b(n.K, t.scope);
2424
2436
  };
2425
2437
  h.prototype.stepTryStatement = function(e, t, n) {
2426
2438
  if (!t.Rb)
2427
- return t.Rb = !0, new v(n.block, t.scope);
2439
+ return t.Rb = !0, new b(n.block, t.scope);
2428
2440
  if (t.ea && t.ea.type === 4 && !t.Tb && n.Ea)
2429
- 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 v(n.Ea.body, e);
2441
+ 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);
2430
2442
  if (!t.Sb && n.fb)
2431
- return t.Sb = !0, new v(n.fb, t.scope);
2443
+ return t.Sb = !0, new b(n.fb, t.scope);
2432
2444
  e.pop(), t.ea && ze(this, t.ea.type, t.ea.value, t.ea.label);
2433
2445
  };
2434
2446
  h.prototype.stepUnaryExpression = function(e, t, n) {
2435
2447
  if (!t.ka)
2436
- return t.ka = !0, e = new v(n.K, t.scope), e.sa = n.operator === "delete", e;
2448
+ return t.ka = !0, e = new b(n.K, t.scope), e.sa = n.operator === "delete", e;
2437
2449
  e.pop();
2438
2450
  var r = t.value;
2439
2451
  switch (n.operator) {
@@ -2474,9 +2486,9 @@ h.prototype.stepUnaryExpression = function(e, t, n) {
2474
2486
  };
2475
2487
  h.prototype.stepUpdateExpression = function(e, t, n) {
2476
2488
  if (!t.ja)
2477
- return t.ja = !0, e = new v(n.K, t.scope), e.sa = !0, e;
2489
+ return t.ja = !0, e = new b(n.K, t.scope), e.sa = !0, e;
2478
2490
  if (t.Ga || (t.Ga = t.value), t.Ba && (t.ma = t.value), !t.Ba) {
2479
- var r = nn(this, t.Ga);
2491
+ var r = rn(this, t.Ga);
2480
2492
  if (t.ma = r, this.P)
2481
2493
  return t.Ba = !0, qe(this, r, t.Ga);
2482
2494
  }
@@ -2489,26 +2501,26 @@ h.prototype.stepUpdateExpression = function(e, t, n) {
2489
2501
  o = r - 1;
2490
2502
  else
2491
2503
  throw SyntaxError("Unknown update expression: " + n.operator);
2492
- if (n = n.prefix ? o : r, r = rn(this, t.Ga, o))
2493
- return t.ta = !0, t.ib = n, on(this, r, t.Ga, o);
2504
+ if (n = n.prefix ? o : r, r = on(this, t.Ga, o))
2505
+ return t.ta = !0, t.ib = n, an(this, r, t.Ga, o);
2494
2506
  e.pop(), e[e.length - 1].value = n;
2495
2507
  }
2496
2508
  };
2497
2509
  h.prototype.stepVariableDeclaration = function(e, t, n) {
2498
2510
  n = n.fa;
2499
2511
  var r = t.A || 0, o = n[r];
2500
- for (t.Bb && o && (fr(this, o.id.name, t.value), t.Bb = !1, o = n[++r]); o; ) {
2512
+ for (t.Bb && o && (pr(this, o.id.name, t.value), t.Bb = !1, o = n[++r]); o; ) {
2501
2513
  if (o.ua)
2502
- return t.A = r, t.Bb = !0, t.Pa = o.id.name, new v(o.ua, t.scope);
2514
+ return t.A = r, t.Bb = !0, t.Pa = o.id.name, new b(o.ua, t.scope);
2503
2515
  o = n[++r];
2504
2516
  }
2505
2517
  e.pop();
2506
2518
  };
2507
2519
  h.prototype.stepWithStatement = function(e, t, n) {
2508
- return t.Ca ? (e.pop(), e = en(this, t.scope, t.value), new v(n.body, e)) : (t.Ca = !0, new v(n.object, t.scope));
2520
+ 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));
2509
2521
  };
2510
2522
  h.prototype.stepWhileStatement = h.prototype.stepDoWhileStatement;
2511
- ye.Interpreter = h;
2523
+ ve.Interpreter = h;
2512
2524
  h.prototype.step = h.prototype.lb;
2513
2525
  h.prototype.run = h.prototype.Eb;
2514
2526
  h.prototype.appendCode = h.prototype.Jb;
@@ -2524,7 +2536,7 @@ h.prototype.getGlobalScope = h.prototype.Xb;
2524
2536
  h.prototype.getStateStack = h.prototype.Yb;
2525
2537
  h.prototype.setStateStack = h.prototype.ec;
2526
2538
  h.VALUE_IN_DESCRIPTOR = Ye;
2527
- const Mo = (e) => e.split(`
2539
+ const Vo = (e) => e.split(`
2528
2540
  `).map((t) => {
2529
2541
  const n = t.trim();
2530
2542
  if (t.includes("__awaiter"))
@@ -2537,7 +2549,7 @@ const Mo = (e) => e.split(`
2537
2549
  ${u}
2538
2550
  `;
2539
2551
  }).filter(Boolean).join(`
2540
- `), Gn = (e) => e + "JSON", Uo = ({
2552
+ `), Xn = (e) => e + "JSON", Do = ({
2541
2553
  builder: e,
2542
2554
  context: t,
2543
2555
  event: n,
@@ -2549,47 +2561,58 @@ const Mo = (e) => e.split(`
2549
2561
  const u = {
2550
2562
  ...r,
2551
2563
  ...o
2552
- }, d = sr({
2564
+ }, d = lr({
2553
2565
  builder: e,
2554
2566
  context: t,
2555
2567
  event: n,
2556
2568
  state: u
2557
- }), S = d.map(([k]) => {
2558
- const x = Gn(k);
2559
- return `var ${k} = ${x} === undefined ? undefined : JSON.parse(${x});`;
2569
+ }), k = d.map(([v]) => {
2570
+ const x = Xn(v);
2571
+ return `var ${v} = ${x} === undefined ? undefined : JSON.parse(${x});`;
2560
2572
  }).join(`
2561
- `), C = Mo(s);
2562
- if (C === "") {
2563
- q.warn("Skipping evaluation of empty code block.");
2573
+ `), E = Vo(s);
2574
+ if (E === "") {
2575
+ z.warn("Skipping evaluation of empty code block.");
2564
2576
  return;
2565
2577
  }
2566
- const b = `
2578
+ const S = `
2567
2579
  function theFunction() {
2568
- ${S}
2580
+ ${k}
2569
2581
 
2570
- ${C}
2582
+ ${E}
2571
2583
  }
2572
2584
  theFunction();
2573
- `, P = (k, x) => {
2574
- const B = lr(u, k, x);
2585
+ `, P = (v, x) => {
2586
+ const B = cr(u, v, x);
2575
2587
  a == null || a(B);
2576
- }, j = function(k, x) {
2588
+ }, j = function(v, x) {
2577
2589
  d.forEach(([B, $]) => {
2578
- const g = JSON.stringify($);
2579
- k.setProperty(x, Gn(B), g);
2580
- }), k.setProperty(x, "setRootState", k.createNativeFunction(P));
2590
+ const m = JSON.stringify($);
2591
+ v.setProperty(x, Xn(B), m);
2592
+ }), v.setProperty(x, "setRootState", v.createNativeFunction(P));
2581
2593
  };
2582
2594
  try {
2583
- const k = new h(b, j);
2584
- return k.run(), k.pseudoToNative(k.value);
2585
- } catch (k) {
2586
- q.warn("Custom code error in edge runtime. NOTE: your code must be ES5 JavaScript.", {
2587
- e: k
2595
+ const v = new h(S, j);
2596
+ return v.run(), v.pseudoToNative(v.value);
2597
+ } catch (v) {
2598
+ z.warn("Custom code error in edge runtime. NOTE: your code must be ES5 JavaScript.", {
2599
+ e: v
2588
2600
  });
2589
2601
  return;
2590
2602
  }
2591
- }, Fo = (e) => G() ? yo(e) : Uo(e);
2592
- function an({
2603
+ }, oe = (e) => e != null;
2604
+ function _o() {
2605
+ var e;
2606
+ return typeof process < "u" && oe((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
2607
+ }
2608
+ const Lo = () => {
2609
+ var r;
2610
+ if (!_o())
2611
+ return !1;
2612
+ const e = process.arch === "arm64", t = process.version.startsWith("v20"), n = (r = process.env.NODE_OPTIONS) == null ? void 0 : r.includes("--no-node-snapshot");
2613
+ return e && t && !n ? (z.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;
2614
+ }, Wo = (e) => G() || Lo() ? So(e) : Do(e);
2615
+ function sn({
2593
2616
  code: e,
2594
2617
  context: t,
2595
2618
  localState: n,
@@ -2599,14 +2622,14 @@ function an({
2599
2622
  isExpression: s = !0
2600
2623
  }) {
2601
2624
  if (e === "") {
2602
- q.warn("Skipping evaluation of empty code block.");
2625
+ z.warn("Skipping evaluation of empty code block.");
2603
2626
  return;
2604
2627
  }
2605
2628
  const u = {
2606
- code: go(e, {
2629
+ code: bo(e, {
2607
2630
  isExpression: s
2608
2631
  }),
2609
- builder: mo(),
2632
+ builder: vo(),
2610
2633
  context: t,
2611
2634
  event: a,
2612
2635
  rootSetState: o,
@@ -2614,16 +2637,16 @@ function an({
2614
2637
  localState: n
2615
2638
  };
2616
2639
  try {
2617
- return Fo(u);
2640
+ return Wo(u);
2618
2641
  } catch (d) {
2619
- q.error("Failed code evaluation: " + d.message, {
2642
+ z.error("Failed code evaluation: " + d.message, {
2620
2643
  code: e
2621
2644
  });
2622
2645
  return;
2623
2646
  }
2624
2647
  }
2625
2648
  const pt = (e) => JSON.parse(JSON.stringify(e));
2626
- const Vo = ({
2649
+ const $o = ({
2627
2650
  block: e,
2628
2651
  context: t,
2629
2652
  localState: n,
@@ -2642,14 +2665,14 @@ const Vo = ({
2642
2665
  }
2643
2666
  };
2644
2667
  for (const u in e.bindings) {
2645
- const d = e.bindings[u], S = an({
2668
+ const d = e.bindings[u], k = sn({
2646
2669
  code: d,
2647
2670
  localState: n,
2648
2671
  rootState: r,
2649
2672
  rootSetState: o,
2650
2673
  context: t
2651
2674
  });
2652
- lr(s, u, S);
2675
+ cr(s, u, k);
2653
2676
  }
2654
2677
  return s;
2655
2678
  };
@@ -2662,7 +2685,7 @@ function ct({
2662
2685
  rootSetState: a
2663
2686
  }) {
2664
2687
  const s = e;
2665
- return n ? Vo({
2688
+ return n ? $o({
2666
2689
  block: s,
2667
2690
  localState: r,
2668
2691
  rootState: o,
@@ -2670,7 +2693,7 @@ function ct({
2670
2693
  context: t
2671
2694
  }) : s;
2672
2695
  }
2673
- const _o = ({
2696
+ const Ho = ({
2674
2697
  block: e,
2675
2698
  context: t,
2676
2699
  registeredComponents: n
@@ -2692,7 +2715,7 @@ const _o = ({
2692
2715
  console.warn(`
2693
2716
  Could not find a registered component named "${r}".
2694
2717
  If you registered it, is the file that registered it imported by the file that needs to render it?`);
2695
- }, Do = ({
2718
+ }, Ko = ({
2696
2719
  block: e,
2697
2720
  context: t
2698
2721
  }) => {
@@ -2702,7 +2725,7 @@ const _o = ({
2702
2725
  } = e;
2703
2726
  if (!(n != null && n.collection))
2704
2727
  return;
2705
- const o = an({
2728
+ const o = sn({
2706
2729
  code: n.collection,
2707
2730
  localState: t.localState,
2708
2731
  rootState: t.rootState,
@@ -2712,20 +2735,20 @@ const _o = ({
2712
2735
  if (!Array.isArray(o))
2713
2736
  return;
2714
2737
  const a = n.collection.split(".").pop(), s = n.itemName || (a ? a + "Item" : "item");
2715
- return o.map((d, S) => ({
2738
+ return o.map((d, k) => ({
2716
2739
  context: {
2717
2740
  ...t,
2718
2741
  localState: {
2719
2742
  ...t.localState,
2720
- $index: S,
2743
+ $index: k,
2721
2744
  $item: d,
2722
2745
  [s]: d,
2723
- [`$${s}Index`]: S
2746
+ [`$${s}Index`]: k
2724
2747
  }
2725
2748
  },
2726
2749
  block: r
2727
2750
  }));
2728
- }, hr = {
2751
+ }, mr = {
2729
2752
  small: {
2730
2753
  min: 320,
2731
2754
  default: 321,
@@ -2741,11 +2764,11 @@ const _o = ({
2741
2764
  default: 991,
2742
2765
  max: 1200
2743
2766
  }
2744
- }, Xn = (e, t = hr) => `@media (max-width: ${t[e].max}px)`, mr = ({
2767
+ }, Yn = (e, t = mr) => `@media (max-width: ${t[e].max}px)`, gr = ({
2745
2768
  small: e,
2746
2769
  medium: t
2747
2770
  }) => {
2748
- const n = pt(hr);
2771
+ const n = pt(mr);
2749
2772
  if (!e || !t)
2750
2773
  return n;
2751
2774
  const r = Math.floor(e / 2);
@@ -2767,26 +2790,26 @@ const _o = ({
2767
2790
  min: a,
2768
2791
  default: a + 1
2769
2792
  }, n;
2770
- }, Lo = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), fe = (e) => e != null, gr = (e) => Object.entries(e).map(([n, r]) => {
2793
+ }, Go = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), yr = (e) => Object.entries(e).map(([n, r]) => {
2771
2794
  if (typeof r == "string")
2772
- return `${Lo(n)}: ${r};`;
2773
- }).filter(fe), Wo = (e) => gr(e).join(`
2774
- `), Dt = ({
2795
+ return `${Go(n)}: ${r};`;
2796
+ }).filter(oe), Xo = (e) => yr(e).join(`
2797
+ `), _t = ({
2775
2798
  mediaQuery: e,
2776
2799
  className: t,
2777
2800
  styles: n
2778
2801
  }) => {
2779
2802
  const r = `.${t} {
2780
- ${Wo(n)}
2803
+ ${Xo(n)}
2781
2804
  }`;
2782
2805
  return e ? `${e} {
2783
2806
  ${r}
2784
2807
  }` : r;
2785
2808
  };
2786
2809
  function dt(e) {
2787
- return /* @__PURE__ */ E("style", { dangerouslySetInnerHTML: { __html: e.styles }, id: e.id });
2810
+ return /* @__PURE__ */ C("style", { dangerouslySetInnerHTML: { __html: e.styles }, id: e.id });
2788
2811
  }
2789
- function $o(e) {
2812
+ function Yo(e) {
2790
2813
  const t = function() {
2791
2814
  const o = ct({
2792
2815
  block: e.block,
@@ -2796,7 +2819,7 @@ function $o(e) {
2796
2819
  context: e.context.context,
2797
2820
  shouldEvaluateBindings: !0
2798
2821
  });
2799
- return fe(o.hide) ? !o.hide : fe(o.show) ? o.show : !0;
2822
+ return oe(o.hide) ? !o.hide : oe(o.show) ? o.show : !0;
2800
2823
  }, n = function() {
2801
2824
  var x;
2802
2825
  const o = ct({
@@ -2806,37 +2829,37 @@ function $o(e) {
2806
2829
  rootSetState: e.context.rootSetState,
2807
2830
  context: e.context.context,
2808
2831
  shouldEvaluateBindings: !0
2809
- }), a = o.responsiveStyles, s = e.context.content, u = mr(
2832
+ }), a = o.responsiveStyles, s = e.context.content, u = gr(
2810
2833
  ((x = s == null ? void 0 : s.meta) == null ? void 0 : x.breakpoints) || {}
2811
- ), d = a == null ? void 0 : a.large, S = a == null ? void 0 : a.medium, C = a == null ? void 0 : a.small, b = o.id;
2812
- if (!b)
2834
+ ), d = a == null ? void 0 : a.large, k = a == null ? void 0 : a.medium, E = a == null ? void 0 : a.small, S = o.id;
2835
+ if (!S)
2813
2836
  return "";
2814
- const P = d ? Dt({
2815
- className: b,
2837
+ const P = d ? _t({
2838
+ className: S,
2816
2839
  styles: d
2817
- }) : "", j = S ? Dt({
2818
- className: b,
2819
- styles: S,
2820
- mediaQuery: Xn(
2840
+ }) : "", j = k ? _t({
2841
+ className: S,
2842
+ styles: k,
2843
+ mediaQuery: Yn(
2821
2844
  "medium",
2822
2845
  u
2823
2846
  )
2824
- }) : "", k = C ? Dt({
2825
- className: b,
2826
- styles: C,
2827
- mediaQuery: Xn(
2847
+ }) : "", v = E ? _t({
2848
+ className: S,
2849
+ styles: E,
2850
+ mediaQuery: Yn(
2828
2851
  "small",
2829
2852
  u
2830
2853
  )
2831
2854
  }) : "";
2832
- return [P, j, k].join(" ");
2855
+ return [P, j, v].join(" ");
2833
2856
  };
2834
- return /* @__PURE__ */ E(L, { children: n() && t() ? /* @__PURE__ */ E(L, { children: /* @__PURE__ */ E(dt, { styles: n() }) }) : null });
2857
+ return /* @__PURE__ */ C(L, { children: n() && t() ? /* @__PURE__ */ C(L, { children: /* @__PURE__ */ C(dt, { styles: n() }) }) : null });
2835
2858
  }
2836
- function Ho(e) {
2859
+ function Jo(e) {
2837
2860
  return e.charAt(0).toUpperCase() + e.slice(1);
2838
2861
  }
2839
- const Ko = (e) => `on${Ho(e)}`, Go = (e, t) => (n) => an({
2862
+ const zo = (e) => `on${Jo(e)}`, qo = (e, t) => (n) => sn({
2840
2863
  code: e,
2841
2864
  context: t.context,
2842
2865
  localState: t.localState,
@@ -2845,15 +2868,15 @@ const Ko = (e) => `on${Ho(e)}`, Go = (e, t) => (n) => an({
2845
2868
  event: n,
2846
2869
  isExpression: !1
2847
2870
  });
2848
- function Aa(e) {
2871
+ function Ba(e) {
2849
2872
  const t = {}, n = e.block.actions ?? {};
2850
2873
  for (const r in n) {
2851
2874
  if (!n.hasOwnProperty(r))
2852
2875
  continue;
2853
2876
  const o = n[r];
2854
- let a = Ko(r);
2877
+ let a = zo(r);
2855
2878
  if (e.stripPrefix)
2856
- switch (ve) {
2879
+ switch (he) {
2857
2880
  case "vue":
2858
2881
  a = a.replace("v-on:", "");
2859
2882
  break;
@@ -2861,50 +2884,66 @@ function Aa(e) {
2861
2884
  a = a.replace("on:", "");
2862
2885
  break;
2863
2886
  }
2864
- t[a] = Go(o, e);
2887
+ t[a] = qo(o, e);
2865
2888
  }
2866
2889
  return t;
2867
2890
  }
2868
- function Xo({
2891
+ function Zo({
2892
+ style: e
2893
+ }) {
2894
+ return e;
2895
+ }
2896
+ const Qo = ({
2897
+ block: e,
2898
+ context: t
2899
+ }) => vr(Zo({
2900
+ style: e.style || {},
2901
+ context: t,
2902
+ block: e
2903
+ }));
2904
+ function vr(e) {
2905
+ switch (he) {
2906
+ case "svelte":
2907
+ case "vue":
2908
+ case "solid":
2909
+ return yr(e).join(" ");
2910
+ case "qwik":
2911
+ case "reactNative":
2912
+ case "react":
2913
+ case "rsc":
2914
+ return e;
2915
+ }
2916
+ }
2917
+ function ei({
2869
2918
  properties: e
2870
2919
  }) {
2871
- return e.className = e.class, delete e.class, e;
2920
+ return e;
2872
2921
  }
2873
- const Yo = (e) => ({
2922
+ const ti = (e) => ({
2874
2923
  href: e.href
2875
2924
  });
2876
- function Jo({
2925
+ function ni({
2877
2926
  block: e,
2878
2927
  context: t
2879
2928
  }) {
2880
2929
  var r;
2881
2930
  const n = {
2882
- ...Yo(e),
2931
+ ...ti(e),
2883
2932
  ...e.properties,
2884
2933
  "builder-id": e.id,
2885
- style: e.style ? zo(e.style) : void 0,
2886
- class: [e.id, "builder-block", e.class, (r = e.properties) == null ? void 0 : r.class].filter(Boolean).join(" ")
2934
+ style: Qo({
2935
+ block: e,
2936
+ context: t
2937
+ }),
2938
+ [Xt()]: [e.id, "builder-block", e.class, (r = e.properties) == null ? void 0 : r.class].filter(Boolean).join(" ")
2887
2939
  };
2888
- return Xo({
2940
+ return ei({
2889
2941
  properties: n,
2890
2942
  context: t,
2891
2943
  block: e
2892
2944
  });
2893
2945
  }
2894
- function zo(e) {
2895
- switch (ve) {
2896
- case "svelte":
2897
- case "vue":
2898
- case "solid":
2899
- return gr(e).join(" ");
2900
- case "qwik":
2901
- case "reactNative":
2902
- case "react":
2903
- case "rsc":
2904
- return e;
2905
- }
2906
- }
2907
- const qo = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), Oa = (e) => typeof e == "string" && qo.has(e.toLowerCase()), Zo = ({
2946
+ const ri = ({
2908
2947
  componentOptions: e,
2909
2948
  builderBlock: t,
2910
2949
  context: n,
@@ -2920,7 +2959,7 @@ const qo = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr",
2920
2959
  * component itself directly. Otherwise, they are provided to the wrapper element.
2921
2960
  */
2922
2961
  ...o ? {
2923
- attributes: Jo({
2962
+ attributes: ni({
2924
2963
  block: t,
2925
2964
  context: s
2926
2965
  })
@@ -2934,54 +2973,57 @@ const qo = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr",
2934
2973
  includeBlockProps: o
2935
2974
  } : u;
2936
2975
  };
2937
- function Yn(e) {
2976
+ function Jn(e) {
2938
2977
  var n;
2939
- const t = e.isInteractive ? Zr : e.componentRef;
2940
- return /* @__PURE__ */ E(L, { children: e.componentRef ? /* @__PURE__ */ E(L, { children: /* @__PURE__ */ E(
2978
+ const t = e.isInteractive ? Qr : e.componentRef;
2979
+ return /* @__PURE__ */ C(L, { children: e.componentRef ? /* @__PURE__ */ C(L, { children: /* @__PURE__ */ C(
2941
2980
  t,
2942
2981
  {
2943
- ...Zo({
2982
+ ...ri({
2944
2983
  componentOptions: e.componentOptions,
2945
2984
  builderBlock: e.builderBlock,
2946
2985
  context: e.context,
2947
2986
  componentRef: e.componentRef,
2987
+ linkComponent: e.linkComponent,
2948
2988
  includeBlockProps: e.includeBlockProps,
2949
2989
  isInteractive: e.isInteractive,
2950
2990
  contextValue: e.context
2951
2991
  }),
2952
- children: (n = e.blockChildren) == null ? void 0 : n.map((r) => /* @__PURE__ */ E(
2992
+ children: (n = e.blockChildren) == null ? void 0 : n.map((r) => /* @__PURE__ */ C(
2953
2993
  ht,
2954
2994
  {
2955
2995
  block: r,
2956
2996
  context: e.context,
2957
- registeredComponents: e.registeredComponents
2997
+ registeredComponents: e.registeredComponents,
2998
+ linkComponent: e.linkComponent
2958
2999
  },
2959
3000
  r.id
2960
3001
  ))
2961
3002
  }
2962
3003
  ) }) : null });
2963
3004
  }
2964
- function Qo(e) {
3005
+ function oi(e) {
2965
3006
  const t = e.repeatContext;
2966
- return /* @__PURE__ */ E(
3007
+ return /* @__PURE__ */ C(
2967
3008
  ht,
2968
3009
  {
2969
3010
  block: e.block,
2970
3011
  context: t,
2971
- registeredComponents: e.registeredComponents
3012
+ registeredComponents: e.registeredComponents,
3013
+ linkComponent: e.linkComponent
2972
3014
  }
2973
3015
  );
2974
3016
  }
2975
3017
  function ht(e) {
2976
- var S, C, b;
3018
+ var k, E, S;
2977
3019
  const t = function() {
2978
- return _o({
3020
+ return Ho({
2979
3021
  block: e.block,
2980
3022
  context: e.context,
2981
3023
  registeredComponents: e.registeredComponents
2982
3024
  });
2983
3025
  }, n = function() {
2984
- return Do({
3026
+ return Ko({
2985
3027
  block: e.block,
2986
3028
  context: e.context
2987
3029
  });
@@ -2996,7 +3038,8 @@ function ht(e) {
2996
3038
  shouldEvaluateBindings: !0
2997
3039
  });
2998
3040
  }, o = function() {
2999
- return e.block.tagName || "div";
3041
+ var v;
3042
+ return e.block.tagName === "a" || ((v = r().properties) == null ? void 0 : v.href) || r().href ? e.linkComponent || "a" : e.block.tagName || "div";
3000
3043
  }, a = function() {
3001
3044
  var x, B;
3002
3045
  if ((x = e.block.repeat) != null && x.collection)
@@ -3004,75 +3047,84 @@ function ht(e) {
3004
3047
  const j = "hide" in r() ? r().hide : !1;
3005
3048
  return ("show" in r() ? r().show : !0) && !j;
3006
3049
  }, s = function() {
3007
- var k;
3008
- return !((k = t()) != null && k.component) && !n() ? r().children ?? [] : [];
3050
+ var v;
3051
+ return !((v = t()) != null && v.component) && !n() ? r().children ?? [] : [];
3009
3052
  }, u = function() {
3010
- var j, k, x, B, $;
3053
+ var j, v, x, B, $, m, ee, te;
3011
3054
  return {
3012
3055
  blockChildren: r().children ?? [],
3013
3056
  componentRef: (j = t()) == null ? void 0 : j.component,
3014
3057
  componentOptions: {
3015
- ...uo(r()),
3058
+ ...ho(r()),
3016
3059
  builderContext: e.context,
3017
- ...((k = t()) == null ? void 0 : k.name) === "Symbol" || ((x = t()) == null ? void 0 : x.name) === "Columns" ? {
3060
+ ...((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" ? {
3061
+ builderLinkComponent: e.linkComponent
3062
+ } : {},
3063
+ ...(($ = t()) == null ? void 0 : $.name) === "Symbol" || ((m = t()) == null ? void 0 : m.name) === "Columns" ? {
3018
3064
  builderComponents: e.registeredComponents
3019
3065
  } : {}
3020
3066
  },
3021
3067
  context: d,
3068
+ linkComponent: e.linkComponent,
3022
3069
  registeredComponents: e.registeredComponents,
3023
3070
  builderBlock: r(),
3024
- includeBlockProps: ((B = t()) == null ? void 0 : B.noWrap) === !0,
3025
- isInteractive: !(($ = t()) != null && $.isRSC)
3071
+ includeBlockProps: ((ee = t()) == null ? void 0 : ee.noWrap) === !0,
3072
+ isInteractive: !((te = t()) != null && te.isRSC)
3026
3073
  };
3027
3074
  }, d = e.context;
3028
- return /* @__PURE__ */ E(L, { children: a() ? /* @__PURE__ */ Se(L, { children: [
3029
- /* @__PURE__ */ E($o, { block: e.block, context: e.context }),
3030
- (S = t()) != null && S.noWrap ? /* @__PURE__ */ E(L, { children: /* @__PURE__ */ E(
3031
- Yn,
3075
+ return /* @__PURE__ */ C(L, { children: a() ? /* @__PURE__ */ xe(L, { children: [
3076
+ /* @__PURE__ */ C(Yo, { block: e.block, context: e.context }),
3077
+ (k = t()) != null && k.noWrap ? /* @__PURE__ */ C(L, { children: /* @__PURE__ */ C(
3078
+ Jn,
3032
3079
  {
3033
3080
  componentRef: u().componentRef,
3034
3081
  componentOptions: u().componentOptions,
3035
3082
  blockChildren: u().blockChildren,
3036
3083
  context: u().context,
3037
3084
  registeredComponents: u().registeredComponents,
3085
+ linkComponent: u().linkComponent,
3038
3086
  builderBlock: u().builderBlock,
3039
3087
  includeBlockProps: u().includeBlockProps,
3040
3088
  isInteractive: u().isInteractive
3041
3089
  }
3042
- ) }) : /* @__PURE__ */ E(L, { children: n() ? /* @__PURE__ */ E(L, { children: (b = n()) == null ? void 0 : b.map((P, j) => /* @__PURE__ */ E(
3043
- Qo,
3090
+ ) }) : /* @__PURE__ */ C(L, { children: n() ? /* @__PURE__ */ C(L, { children: (S = n()) == null ? void 0 : S.map((P, j) => /* @__PURE__ */ C(
3091
+ oi,
3044
3092
  {
3045
3093
  repeatContext: P.context,
3046
3094
  block: P.block,
3047
- registeredComponents: e.registeredComponents
3095
+ registeredComponents: e.registeredComponents,
3096
+ linkComponent: e.linkComponent
3048
3097
  },
3049
3098
  j
3050
- )) }) : /* @__PURE__ */ E(L, { children: /* @__PURE__ */ Se(
3051
- Qr,
3099
+ )) }) : /* @__PURE__ */ C(L, { children: /* @__PURE__ */ xe(
3100
+ eo,
3052
3101
  {
3053
3102
  Wrapper: o(),
3054
3103
  block: r(),
3055
3104
  context: e.context,
3105
+ linkComponent: e.linkComponent,
3056
3106
  children: [
3057
- /* @__PURE__ */ E(
3058
- Yn,
3107
+ /* @__PURE__ */ C(
3108
+ Jn,
3059
3109
  {
3060
3110
  componentRef: u().componentRef,
3061
3111
  componentOptions: u().componentOptions,
3062
3112
  blockChildren: u().blockChildren,
3063
3113
  context: u().context,
3064
3114
  registeredComponents: u().registeredComponents,
3115
+ linkComponent: u().linkComponent,
3065
3116
  builderBlock: u().builderBlock,
3066
3117
  includeBlockProps: u().includeBlockProps,
3067
3118
  isInteractive: u().isInteractive
3068
3119
  }
3069
3120
  ),
3070
- (C = s()) == null ? void 0 : C.map((P) => /* @__PURE__ */ E(
3121
+ (E = s()) == null ? void 0 : E.map((P) => /* @__PURE__ */ C(
3071
3122
  ht,
3072
3123
  {
3073
3124
  block: P,
3074
3125
  context: d,
3075
- registeredComponents: e.registeredComponents
3126
+ registeredComponents: e.registeredComponents,
3127
+ linkComponent: e.linkComponent
3076
3128
  },
3077
3129
  P.id
3078
3130
  ))
@@ -3083,8 +3135,8 @@ function ht(e) {
3083
3135
  }
3084
3136
  function mt(e) {
3085
3137
  var t, n, r;
3086
- return /* @__PURE__ */ E(
3087
- eo,
3138
+ return /* @__PURE__ */ C(
3139
+ to,
3088
3140
  {
3089
3141
  blocks: e.blocks,
3090
3142
  parent: e.parent,
@@ -3092,10 +3144,11 @@ function mt(e) {
3092
3144
  styleProp: e.styleProp,
3093
3145
  BlocksWrapper: (t = e.context) == null ? void 0 : t.BlocksWrapper,
3094
3146
  BlocksWrapperProps: (n = e.context) == null ? void 0 : n.BlocksWrapperProps,
3095
- children: e.blocks ? /* @__PURE__ */ E(L, { children: (r = e.blocks) == null ? void 0 : r.map((o) => /* @__PURE__ */ E(
3147
+ children: e.blocks ? /* @__PURE__ */ C(L, { children: (r = e.blocks) == null ? void 0 : r.map((o) => /* @__PURE__ */ C(
3096
3148
  ht,
3097
3149
  {
3098
3150
  block: o,
3151
+ linkComponent: e.linkComponent,
3099
3152
  context: e.context,
3100
3153
  registeredComponents: e.registeredComponents
3101
3154
  },
@@ -3104,7 +3157,7 @@ function mt(e) {
3104
3157
  }
3105
3158
  );
3106
3159
  }
3107
- function ei(e) {
3160
+ function ii(e) {
3108
3161
  var j;
3109
3162
  const t = typeof e.space == "number" ? e.space || 0 : 20, n = e.columns || [], r = e.stackColumnsAt || "tablet", o = function(x) {
3110
3163
  var B;
@@ -3122,7 +3175,7 @@ function ei(e) {
3122
3175
  desktopStyle: B
3123
3176
  }) {
3124
3177
  return r === "never" ? B : x;
3125
- }, d = e.stackColumnsAt === "never" ? "row" : e.reverseColumnsWhenStacked ? "column-reverse" : "column", S = function() {
3178
+ }, d = e.stackColumnsAt === "never" ? "row" : e.reverseColumnsWhenStacked ? "column-reverse" : "column", k = function() {
3126
3179
  return {
3127
3180
  "--flex-dir": d,
3128
3181
  "--flex-dir-tablet": s({
@@ -3130,36 +3183,41 @@ function ei(e) {
3130
3183
  desktopStyle: "row"
3131
3184
  })
3132
3185
  };
3133
- }, C = function(x) {
3134
- const B = x === 0 ? 0 : t, $ = a(x), g = `${B}px`, pe = "100%", de = 0;
3186
+ }, E = function(x) {
3187
+ const B = x === 0 ? 0 : t, $ = a(x), m = `${B}px`, ee = "100%", te = 0;
3135
3188
  return {
3189
+ ...{
3190
+ display: "flex",
3191
+ flexDirection: "column",
3192
+ alignItems: "stretch"
3193
+ },
3136
3194
  width: $,
3137
- ["marginLeft"]: g,
3195
+ ["marginLeft"]: m,
3138
3196
  "--column-width-mobile": u({
3139
- stackedStyle: pe,
3197
+ stackedStyle: ee,
3140
3198
  desktopStyle: $
3141
3199
  }),
3142
3200
  "--column-margin-left-mobile": u({
3143
- stackedStyle: de,
3144
- desktopStyle: g
3201
+ stackedStyle: te,
3202
+ desktopStyle: m
3145
3203
  }),
3146
3204
  "--column-width-tablet": s({
3147
- stackedStyle: pe,
3205
+ stackedStyle: ee,
3148
3206
  desktopStyle: $
3149
3207
  }),
3150
3208
  "--column-margin-left-tablet": s({
3151
- stackedStyle: de,
3152
- desktopStyle: g
3209
+ stackedStyle: te,
3210
+ desktopStyle: m
3153
3211
  })
3154
3212
  };
3155
- }, b = function(x) {
3156
- var $, g;
3157
- return mr(
3158
- ((g = ($ = e.builderContext.content) == null ? void 0 : $.meta) == null ? void 0 : g.breakpoints) || {}
3213
+ }, S = function(x) {
3214
+ var $, m;
3215
+ return gr(
3216
+ ((m = ($ = e.builderContext.content) == null ? void 0 : $.meta) == null ? void 0 : m.breakpoints) || {}
3159
3217
  )[x].max;
3160
3218
  }, P = function() {
3161
3219
  return `
3162
- @media (max-width: ${b("medium")}px) {
3220
+ @media (max-width: ${S("medium")}px) {
3163
3221
  .${e.builderBlock.id}-breakpoints {
3164
3222
  flex-direction: var(--flex-dir-tablet);
3165
3223
  align-items: stretch;
@@ -3171,7 +3229,7 @@ function ei(e) {
3171
3229
  }
3172
3230
  }
3173
3231
 
3174
- @media (max-width: ${b("small")}px) {
3232
+ @media (max-width: ${S("small")}px) {
3175
3233
  .${e.builderBlock.id}-breakpoints {
3176
3234
  flex-direction: var(--flex-dir);
3177
3235
  align-items: stretch;
@@ -3184,84 +3242,88 @@ function ei(e) {
3184
3242
  },
3185
3243
  `;
3186
3244
  };
3187
- return /* @__PURE__ */ Se(L, { children: [
3188
- /* @__PURE__ */ Se(
3245
+ return /* @__PURE__ */ xe(L, { children: [
3246
+ /* @__PURE__ */ xe(
3189
3247
  "div",
3190
3248
  {
3191
- className: `builder-columns ${e.builderBlock.id}-breakpoints div-39daef82`,
3192
- style: S(),
3249
+ className: `builder-columns ${e.builderBlock.id}-breakpoints div-3d816b82`,
3250
+ style: k(),
3193
3251
  children: [
3194
- /* @__PURE__ */ E(L, { children: /* @__PURE__ */ E(dt, { styles: P() }) }),
3195
- (j = e.columns) == null ? void 0 : j.map((k, x) => /* @__PURE__ */ qr(
3196
- "div",
3252
+ /* @__PURE__ */ C(L, { children: /* @__PURE__ */ C(dt, { styles: P() }) }),
3253
+ (j = e.columns) == null ? void 0 : j.map((v, x) => /* @__PURE__ */ C(
3254
+ no,
3197
3255
  {
3198
- className: "builder-column div-39daef82-2",
3199
- style: C(x),
3200
- key: x
3256
+ TagName: v.link ? e.builderLinkComponent || "a" : "div",
3257
+ actionAttributes: {},
3258
+ attributes: {
3259
+ ...v.link ? {
3260
+ href: v.link
3261
+ } : {},
3262
+ [Xt()]: "builder-column",
3263
+ style: vr(E(x))
3264
+ },
3265
+ children: /* @__PURE__ */ C(
3266
+ mt,
3267
+ {
3268
+ path: `component.options.columns.${x}.blocks`,
3269
+ parent: e.builderBlock.id,
3270
+ styleProp: {
3271
+ flexGrow: "1"
3272
+ },
3273
+ context: e.builderContext,
3274
+ registeredComponents: e.builderComponents,
3275
+ linkComponent: e.builderLinkComponent,
3276
+ blocks: v.blocks
3277
+ }
3278
+ )
3201
3279
  },
3202
- /* @__PURE__ */ E(
3203
- mt,
3204
- {
3205
- path: `component.options.columns.${x}.blocks`,
3206
- parent: e.builderBlock.id,
3207
- styleProp: {
3208
- flexGrow: "1"
3209
- },
3210
- context: e.builderContext,
3211
- registeredComponents: e.builderComponents,
3212
- blocks: k.blocks
3213
- }
3214
- )
3280
+ x
3215
3281
  ))
3216
3282
  ]
3217
3283
  }
3218
3284
  ),
3219
- /* @__PURE__ */ E("style", { children: `.div-39daef82 {
3285
+ /* @__PURE__ */ C("style", { children: `.div-3d816b82 {
3220
3286
  display: flex;
3221
3287
  line-height: normal;
3222
- }.div-39daef82-2 {
3223
- display: flex;
3224
- flex-direction: column;
3225
- align-items: stretch;
3226
3288
  }` })
3227
3289
  ] });
3228
3290
  }
3229
- function Jn(e) {
3291
+ function zn(e) {
3230
3292
  return e.replace(/http(s)?:/, "");
3231
3293
  }
3232
- function ti(e = "", t, n) {
3294
+ function ai(e = "", t, n) {
3233
3295
  const r = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), o = e.indexOf("?") !== -1 ? "&" : "?";
3234
3296
  return e.match(r) ? e.replace(r, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + o + t + "=" + encodeURIComponent(n);
3235
3297
  }
3236
- function ni(e, t) {
3298
+ function si(e, t) {
3237
3299
  if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
3238
3300
  return e;
3239
3301
  if (t === "master")
3240
- return Jn(e);
3302
+ return zn(e);
3241
3303
  const n = e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);
3242
3304
  if (n) {
3243
3305
  const r = e.split(n[0]), o = n[3], a = t.match("x") ? t : `${t}x`;
3244
- return Jn(`${r[0]}_${a}${o}`);
3306
+ return zn(`${r[0]}_${a}${o}`);
3245
3307
  }
3246
3308
  return null;
3247
3309
  }
3248
- function ja(e) {
3310
+ function Ma(e) {
3249
3311
  if (!e)
3250
3312
  return e;
3251
3313
  const t = [100, 200, 400, 800, 1200, 1600, 2e3];
3252
3314
  if (e.match(/builder\.io/)) {
3253
3315
  let n = e;
3254
3316
  const r = Number(e.split("?width=")[1]);
3255
- return isNaN(r) || (n = `${n} ${r}w`), t.filter((o) => o !== r).map((o) => `${ti(e, "width", o)} ${o}w`).concat([n]).join(", ");
3317
+ return isNaN(r) || (n = `${n} ${r}w`), t.filter((o) => o !== r).map((o) => `${ai(e, "width", o)} ${o}w`).concat([n]).join(", ");
3256
3318
  }
3257
- return e.match(/cdn\.shopify\.com/) ? t.map((n) => [ni(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, r]) => `${n} ${r}w`).concat([e]).join(", ") : e;
3319
+ return e.match(/cdn\.shopify\.com/) ? t.map((n) => [si(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, r]) => `${n} ${r}w`).concat([e]).join(", ") : e;
3258
3320
  }
3259
- const ri = (e) => {
3321
+ const li = (e) => {
3260
3322
  if (e === "localhost" || e === "127.0.0.1")
3261
3323
  return e;
3262
3324
  const t = e.split(".");
3263
3325
  return t.length > 2 ? t.slice(1).join(".") : e;
3264
- }, yr = ({
3326
+ }, br = ({
3265
3327
  name: e,
3266
3328
  canTrack: t
3267
3329
  }) => {
@@ -3269,17 +3331,17 @@ const ri = (e) => {
3269
3331
  try {
3270
3332
  return t ? (n = document.cookie.split("; ").find((r) => r.startsWith(`${e}=`))) == null ? void 0 : n.split("=")[1] : void 0;
3271
3333
  } catch (r) {
3272
- q.warn("[COOKIE] GET error: ", (r == null ? void 0 : r.message) || r);
3334
+ z.warn("[COOKIE] GET error: ", (r == null ? void 0 : r.message) || r);
3273
3335
  return;
3274
3336
  }
3275
- }, vr = async (e) => yr(e), oi = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(fe).join("; "), ii = [["secure", ""], ["SameSite", "None"]], ai = ({
3337
+ }, Sr = async (e) => br(e), ci = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(oe).join("; "), ui = [["secure", ""], ["SameSite", "None"]], fi = ({
3276
3338
  name: e,
3277
3339
  value: t,
3278
3340
  expires: n
3279
3341
  }) => {
3280
- const o = (G() ? location.protocol === "https:" : !0) ? ii : [[]], a = n ? [["expires", n.toUTCString()]] : [[]], s = [[e, t], ...a, ["path", "/"], ["domain", ri(window.location.hostname)], ...o];
3281
- return oi(s);
3282
- }, br = async ({
3342
+ const o = (G() ? location.protocol === "https:" : !0) ? ui : [[]], a = n ? [["expires", n.toUTCString()]] : [[]], s = [[e, t], ...a, ["path", "/"], ["domain", li(window.location.hostname)], ...o];
3343
+ return ci(s);
3344
+ }, wr = async ({
3283
3345
  name: e,
3284
3346
  value: t,
3285
3347
  expires: n,
@@ -3288,33 +3350,33 @@ const ri = (e) => {
3288
3350
  try {
3289
3351
  if (!r)
3290
3352
  return;
3291
- const o = ai({
3353
+ const o = fi({
3292
3354
  name: e,
3293
3355
  value: t,
3294
3356
  expires: n
3295
3357
  });
3296
3358
  document.cookie = o;
3297
3359
  } catch (o) {
3298
- q.warn("[COOKIE] SET error: ", (o == null ? void 0 : o.message) || o);
3360
+ z.warn("[COOKIE] SET error: ", (o == null ? void 0 : o.message) || o);
3299
3361
  }
3300
- }, si = "builder.tests", sn = (e) => `${si}.${e}`, li = ({
3362
+ }, pi = "builder.tests", ln = (e) => `${pi}.${e}`, di = ({
3301
3363
  contentId: e
3302
- }) => vr({
3303
- name: sn(e),
3364
+ }) => Sr({
3365
+ name: ln(e),
3304
3366
  canTrack: !0
3305
- }), ci = ({
3367
+ }), hi = ({
3306
3368
  contentId: e
3307
- }) => yr({
3308
- name: sn(e),
3369
+ }) => br({
3370
+ name: ln(e),
3309
3371
  canTrack: !0
3310
- }), ui = ({
3372
+ }), mi = ({
3311
3373
  contentId: e,
3312
3374
  value: t
3313
- }) => br({
3314
- name: sn(e),
3375
+ }) => wr({
3376
+ name: ln(e),
3315
3377
  value: t,
3316
3378
  canTrack: !0
3317
- }), wr = (e) => fe(e.id) && fe(e.variations) && Object.keys(e.variations).length > 0, fi = ({
3379
+ }), xr = (e) => oe(e.id) && oe(e.variations) && Object.keys(e.variations).length > 0, gi = ({
3318
3380
  id: e,
3319
3381
  variations: t
3320
3382
  }) => {
@@ -3327,15 +3389,15 @@ const ri = (e) => {
3327
3389
  return a;
3328
3390
  }
3329
3391
  return e;
3330
- }, xr = (e) => {
3331
- const t = fi(e);
3332
- return ui({
3392
+ }, kr = (e) => {
3393
+ const t = gi(e);
3394
+ return mi({
3333
3395
  contentId: e.id,
3334
3396
  value: t
3335
3397
  }).catch((n) => {
3336
- q.error("could not store A/B test variation: ", n);
3398
+ z.error("could not store A/B test variation: ", n);
3337
3399
  }), t;
3338
- }, Sr = ({
3400
+ }, Cr = ({
3339
3401
  item: e,
3340
3402
  testGroupId: t
3341
3403
  }) => {
@@ -3349,7 +3411,7 @@ const ri = (e) => {
3349
3411
  testVariationId: n.id,
3350
3412
  testVariationName: n.name || (n.id === e.id ? "Default" : "")
3351
3413
  };
3352
- }, pi = ({
3414
+ }, yi = ({
3353
3415
  item: e,
3354
3416
  canTrack: t
3355
3417
  }) => {
@@ -3357,14 +3419,14 @@ const ri = (e) => {
3357
3419
  return e;
3358
3420
  if (!e)
3359
3421
  return;
3360
- if (!wr(e))
3422
+ if (!xr(e))
3361
3423
  return e;
3362
- const n = ci({
3424
+ const n = hi({
3363
3425
  contentId: e.id
3364
- }) || xr({
3426
+ }) || kr({
3365
3427
  variations: e.variations,
3366
3428
  id: e.id
3367
- }), r = Sr({
3429
+ }), r = Cr({
3368
3430
  item: e,
3369
3431
  testGroupId: n
3370
3432
  });
@@ -3372,18 +3434,18 @@ const ri = (e) => {
3372
3434
  ...e,
3373
3435
  ...r
3374
3436
  };
3375
- }, di = async ({
3437
+ }, vi = async ({
3376
3438
  item: e,
3377
3439
  canTrack: t
3378
3440
  }) => {
3379
- if (!t || !wr(e))
3441
+ if (!t || !xr(e))
3380
3442
  return e;
3381
- const r = await li({
3443
+ const r = await di({
3382
3444
  contentId: e.id
3383
- }) || xr({
3445
+ }) || kr({
3384
3446
  variations: e.variations,
3385
3447
  id: e.id
3386
- }), o = Sr({
3448
+ }), o = Cr({
3387
3449
  item: e,
3388
3450
  testGroupId: r
3389
3451
  });
@@ -3391,7 +3453,7 @@ const ri = (e) => {
3391
3453
  ...e,
3392
3454
  ...o
3393
3455
  };
3394
- }, Ht = (e) => fe(e) ? e : !0, hi = {
3456
+ }, Ht = (e) => oe(e) ? e : !0, bi = {
3395
3457
  name: "Core:Button",
3396
3458
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
3397
3459
  defaultStyles: {
@@ -3424,7 +3486,7 @@ const ri = (e) => {
3424
3486
  }],
3425
3487
  static: !0,
3426
3488
  noWrap: !0
3427
- }, mi = {
3489
+ }, Si = {
3428
3490
  // TODO: ways to statically preprocess JSON for references, functions, etc
3429
3491
  name: "Columns",
3430
3492
  isRSC: !0,
@@ -3625,7 +3687,7 @@ const ri = (e) => {
3625
3687
  helperText: "When stacking columns for mobile devices, reverse the ordering",
3626
3688
  advanced: !0
3627
3689
  }]
3628
- }, gi = {
3690
+ }, wi = {
3629
3691
  name: "Custom Code",
3630
3692
  static: !0,
3631
3693
  requiredPermissions: ["editCode"],
@@ -3647,7 +3709,7 @@ const ri = (e) => {
3647
3709
  helperText: "Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads",
3648
3710
  advanced: !0
3649
3711
  }]
3650
- }, yi = {
3712
+ }, xi = {
3651
3713
  name: "Embed",
3652
3714
  static: !0,
3653
3715
  inputs: [{
@@ -3672,13 +3734,13 @@ const ri = (e) => {
3672
3734
  defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
3673
3735
  hideFromUI: !0
3674
3736
  }]
3675
- }, vi = ["text/javascript", "application/javascript", "application/ecmascript"], Ra = (e) => vi.includes(e.type), bi = {
3737
+ }, ki = ["text/javascript", "application/javascript", "application/ecmascript"], Ua = (e) => ki.includes(e.type), Ci = {
3676
3738
  name: "Fragment",
3677
3739
  static: !0,
3678
3740
  hidden: !0,
3679
3741
  canHaveChildren: !0,
3680
3742
  noWrap: !0
3681
- }, wi = {
3743
+ }, Ei = {
3682
3744
  name: "Image",
3683
3745
  static: !0,
3684
3746
  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",
@@ -3699,15 +3761,15 @@ const ri = (e) => {
3699
3761
  onChange: (e) => {
3700
3762
  e.delete("srcset"), e.delete("noWebp");
3701
3763
  function n(s, u = 6e4) {
3702
- return new Promise((d, S) => {
3703
- const C = document.createElement("img");
3704
- let b = !1;
3705
- C.onload = () => {
3706
- b = !0, d(C);
3707
- }, C.addEventListener("error", (P) => {
3708
- console.warn("Image load failed", P.error), S(P.error);
3709
- }), C.src = s, setTimeout(() => {
3710
- b || S(new Error("Image load timed out"));
3764
+ return new Promise((d, k) => {
3765
+ const E = document.createElement("img");
3766
+ let S = !1;
3767
+ E.onload = () => {
3768
+ S = !0, d(E);
3769
+ }, E.addEventListener("error", (P) => {
3770
+ console.warn("Image load failed", P.error), k(P.error);
3771
+ }), E.src = s, setTimeout(() => {
3772
+ S || k(new Error("Image load timed out"));
3711
3773
  }, u);
3712
3774
  });
3713
3775
  }
@@ -3778,7 +3840,7 @@ const ri = (e) => {
3778
3840
  advanced: !0,
3779
3841
  defaultValue: 0.7041
3780
3842
  }]
3781
- }, xi = {
3843
+ }, Ii = {
3782
3844
  // friendlyName?
3783
3845
  name: "Raw:Img",
3784
3846
  hideFromInsertMenu: !0,
@@ -3792,7 +3854,7 @@ const ri = (e) => {
3792
3854
  }],
3793
3855
  noWrap: !0,
3794
3856
  static: !0
3795
- }, Si = {
3857
+ }, Ti = {
3796
3858
  name: "Core:Section",
3797
3859
  static: !0,
3798
3860
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -3831,7 +3893,7 @@ const ri = (e) => {
3831
3893
  }
3832
3894
  }
3833
3895
  }]
3834
- }, ki = {
3896
+ }, Ai = {
3835
3897
  name: "Slot",
3836
3898
  isRSC: !0,
3837
3899
  description: "Allow child blocks to be inserted into this content when used as a Symbol",
@@ -3845,9 +3907,9 @@ const ri = (e) => {
3845
3907
  defaultValue: "children"
3846
3908
  }]
3847
3909
  };
3848
- function Ci(e) {
3910
+ function Oi(e) {
3849
3911
  var t, n, r;
3850
- return /* @__PURE__ */ E(
3912
+ return /* @__PURE__ */ C(
3851
3913
  "div",
3852
3914
  {
3853
3915
  style: {
@@ -3856,7 +3918,7 @@ function Ci(e) {
3856
3918
  ...!((t = e.builderContext.context) != null && t.symbolId) && {
3857
3919
  "builder-slot": e.name
3858
3920
  },
3859
- children: /* @__PURE__ */ E(
3921
+ children: /* @__PURE__ */ C(
3860
3922
  mt,
3861
3923
  {
3862
3924
  parent: (n = e.builderContext.context) == null ? void 0 : n.symbolId,
@@ -3868,7 +3930,7 @@ function Ci(e) {
3868
3930
  }
3869
3931
  );
3870
3932
  }
3871
- const Ei = {
3933
+ const ji = {
3872
3934
  name: "Symbol",
3873
3935
  noWrap: !0,
3874
3936
  static: !0,
@@ -3901,7 +3963,7 @@ const Ei = {
3901
3963
  hideFromUI: !0,
3902
3964
  type: "boolean"
3903
3965
  }]
3904
- }, Ii = {
3966
+ }, Ri = {
3905
3967
  name: "Text",
3906
3968
  static: !0,
3907
3969
  isRSC: !0,
@@ -3920,9 +3982,9 @@ const Ei = {
3920
3982
  textAlign: "center"
3921
3983
  }
3922
3984
  };
3923
- function Ti(e) {
3985
+ function Pi(e) {
3924
3986
  var t;
3925
- return /* @__PURE__ */ E(
3987
+ return /* @__PURE__ */ C(
3926
3988
  "div",
3927
3989
  {
3928
3990
  className: "builder-text",
@@ -3933,7 +3995,7 @@ function Ti(e) {
3933
3995
  }
3934
3996
  );
3935
3997
  }
3936
- const Ai = {
3998
+ const Ni = {
3937
3999
  name: "Video",
3938
4000
  canHaveChildren: !0,
3939
4001
  defaultStyles: {
@@ -4014,58 +4076,58 @@ const Ai = {
4014
4076
  defaultValue: !0,
4015
4077
  advanced: !0
4016
4078
  }]
4017
- }, zn = () => [{
4018
- component: to,
4019
- ...hi
4020
- }, {
4021
- component: ei,
4022
- ...mi
4023
- }, {
4024
- component: no,
4025
- ...gi
4026
- }, {
4079
+ }, qn = () => [{
4027
4080
  component: ro,
4028
- ...yi
4081
+ ...bi
4082
+ }, {
4083
+ component: ii,
4084
+ ...Si
4029
4085
  }, {
4030
4086
  component: oo,
4031
- ...bi
4087
+ ...wi
4032
4088
  }, {
4033
4089
  component: io,
4034
- ...wi
4090
+ ...xi
4035
4091
  }, {
4036
4092
  component: ao,
4037
- ...xi
4093
+ ...Ci
4038
4094
  }, {
4039
4095
  component: so,
4040
- ...Si
4041
- }, {
4042
- component: Sa,
4043
4096
  ...Ei
4044
4097
  }, {
4045
- component: Ti,
4098
+ component: lo,
4046
4099
  ...Ii
4047
4100
  }, {
4048
- component: lo,
4049
- ...Ai
4101
+ component: co,
4102
+ ...Ti
4050
4103
  }, {
4051
- component: Ci,
4052
- ...ki
4053
- }], qn = [], Pa = (e) => ({
4104
+ component: Ta,
4105
+ ...ji
4106
+ }, {
4107
+ component: Pi,
4108
+ ...Ri
4109
+ }, {
4110
+ component: uo,
4111
+ ...Ni
4112
+ }, {
4113
+ component: Oi,
4114
+ ...Ai
4115
+ }], Zn = [], Fa = (e) => ({
4054
4116
  type: "builder.registerComponent",
4055
4117
  data: Kt(e)
4056
- }), Oi = (e) => {
4118
+ }), Bi = (e) => {
4057
4119
  const t = e.toString().trim();
4058
4120
  return `return (${!t.startsWith("function") && !t.startsWith("(") ? "function " : ""}${t}).apply(this, arguments)`;
4059
- }, ji = (e) => typeof e == "function" ? Oi(e) : pt(e), Kt = ({
4121
+ }, Mi = (e) => typeof e == "function" ? Bi(e) : pt(e), Kt = ({
4060
4122
  inputs: e,
4061
4123
  ...t
4062
4124
  }) => ({
4063
4125
  ...pt(t),
4064
4126
  inputs: e == null ? void 0 : e.map((n) => Object.entries(n).reduce((r, [o, a]) => ({
4065
4127
  ...r,
4066
- [o]: ji(a)
4128
+ [o]: Mi(a)
4067
4129
  }), {}))
4068
- }), Ri = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
4130
+ }), Ui = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
4069
4131
  function getAndSetVariantId() {
4070
4132
  function setCookie(name, value, days) {
4071
4133
  let expires = '';
@@ -4121,7 +4183,7 @@ const Ai = {
4121
4183
  }).join('');
4122
4184
  styleEl.innerHTML = newStyleStr;
4123
4185
  }
4124
- }`, Pi = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
4186
+ }`, Fi = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
4125
4187
  if (!navigator.cookieEnabled) {
4126
4188
  return;
4127
4189
  }
@@ -4155,27 +4217,27 @@ const Ai = {
4155
4217
  thisScriptEl?.remove();
4156
4218
  }
4157
4219
  return;
4158
- }`, kr = "builderIoAbTest", Cr = "builderIoRenderContent", st = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
4220
+ }`, Er = "builderIoAbTest", Ir = "builderIoRenderContent", st = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
4159
4221
  ...t,
4160
4222
  testVariationId: t.id,
4161
4223
  id: e == null ? void 0 : e.id
4162
- })), Ni = ({
4224
+ })), Vi = ({
4163
4225
  canTrack: e,
4164
4226
  content: t
4165
- }) => !(!(st(t).length > 0) || !e || G()), Bi = (e) => e === "react" || e === "reactNative", Er = Bi(ve), Mi = () => `
4166
- window.${kr} = ${Ri}
4167
- window.${Cr} = ${Pi}
4168
- `, Ui = (e, t) => `
4169
- window.${kr}(
4170
- "${t}",${JSON.stringify(e)}, ${Er}
4171
- )`, Fi = ({
4227
+ }) => !(!(st(t).length > 0) || !e || G()), Di = (e) => e === "react" || e === "reactNative", Tr = Di(he), _i = () => `
4228
+ window.${Er} = ${Ui}
4229
+ window.${Ir} = ${Fi}
4230
+ `, Li = (e, t) => `
4231
+ window.${Er}(
4232
+ "${t}",${JSON.stringify(e)}, ${Tr}
4233
+ )`, Wi = ({
4172
4234
  contentId: e,
4173
4235
  variationId: t
4174
- }) => `window.${Cr}(
4175
- "${t}", "${e}", ${Er}
4236
+ }) => `window.${Ir}(
4237
+ "${t}", "${e}", ${Tr}
4176
4238
  )`;
4177
4239
  function Gt(e) {
4178
- return /* @__PURE__ */ E(
4240
+ return /* @__PURE__ */ C(
4179
4241
  "script",
4180
4242
  {
4181
4243
  dangerouslySetInnerHTML: { __html: e.scriptStr },
@@ -4183,33 +4245,33 @@ function Gt(e) {
4183
4245
  }
4184
4246
  );
4185
4247
  }
4186
- const Vi = (e) => {
4248
+ const $i = (e) => {
4187
4249
  const t = e.get("preview"), n = e.get("overrides." + t);
4188
- return n || q.warn("No previewed ID found in search params."), n;
4250
+ return n || z.warn("No previewed ID found in search params."), n;
4189
4251
  };
4190
- function _i() {
4191
- globalThis._BUILDER_PREVIEW_LRU_CACHE || (globalThis._BUILDER_PREVIEW_LRU_CACHE = new zr({
4252
+ function Hi() {
4253
+ globalThis._BUILDER_PREVIEW_LRU_CACHE || (globalThis._BUILDER_PREVIEW_LRU_CACHE = new Zr({
4192
4254
  max: 500,
4193
4255
  // how long to live in ms
4194
4256
  ttl: 1e3 * 60 * 5
4195
4257
  }));
4196
4258
  }
4197
- function Di(e) {
4198
- _i();
4199
- const t = Vi(e);
4259
+ function Ki(e) {
4260
+ Hi();
4261
+ const t = $i(e);
4200
4262
  return typeof t == "string" ? globalThis._BUILDER_PREVIEW_LRU_CACHE.get(t) : void 0;
4201
4263
  }
4202
- function Li() {
4264
+ function Gi() {
4203
4265
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : globalThis;
4204
4266
  }
4205
- function Wi() {
4206
- const e = Li().fetch;
4267
+ function Xi() {
4268
+ const e = Gi().fetch;
4207
4269
  if (typeof e > "u")
4208
4270
  throw console.warn(`Builder SDK could not find a global fetch function. Make sure you have a polyfill for fetch in your project.
4209
4271
  For more information, read https://github.com/BuilderIO/this-package-uses-fetch`), new Error("Builder SDK could not find a global `fetch` function");
4210
4272
  return e;
4211
4273
  }
4212
- const $i = Wi();
4274
+ const Yi = Xi();
4213
4275
  function lt(e, t = null, n = ".") {
4214
4276
  return Object.keys(e).reduce((r, o) => {
4215
4277
  const a = e[o], s = [t, o].filter(Boolean).join(n);
@@ -4222,27 +4284,27 @@ function lt(e, t = null, n = ".") {
4222
4284
  };
4223
4285
  }, {});
4224
4286
  }
4225
- const Hi = "v3", Zn = "builder.", Ki = "options.", Gi = (e) => {
4287
+ const Ji = "v3", Qn = "builder.", zi = "options.", qi = (e) => {
4226
4288
  const t = {};
4227
4289
  return e.forEach((n, r) => {
4228
4290
  t[r] = n;
4229
4291
  }), t;
4230
- }, Ir = (e) => {
4292
+ }, Ar = (e) => {
4231
4293
  if (!e)
4232
4294
  return {};
4233
- const t = Tr(e), n = {};
4295
+ const t = Or(e), n = {};
4234
4296
  return Object.keys(t).forEach((r) => {
4235
- if (r.startsWith(Zn)) {
4236
- const o = r.replace(Zn, "").replace(Ki, "");
4297
+ if (r.startsWith(Qn)) {
4298
+ const o = r.replace(Qn, "").replace(zi, "");
4237
4299
  n[o] = t[r];
4238
4300
  }
4239
4301
  }), n;
4240
- }, Xi = () => {
4302
+ }, Zi = () => {
4241
4303
  if (!G())
4242
4304
  return {};
4243
4305
  const e = new URLSearchParams(window.location.search);
4244
- return Ir(e);
4245
- }, Tr = (e) => e instanceof URLSearchParams ? Gi(e) : e, Qn = (e) => typeof e == "number" && !isNaN(e) && e >= 0, ln = (e) => {
4306
+ return Ar(e);
4307
+ }, Or = (e) => e instanceof URLSearchParams ? qi(e) : e, er = (e) => typeof e == "number" && !isNaN(e) && e >= 0, cn = (e) => {
4246
4308
  let {
4247
4309
  noTraverse: t = !1
4248
4310
  } = e;
@@ -4254,181 +4316,181 @@ const Hi = "v3", Zn = "builder.", Ki = "options.", Gi = (e) => {
4254
4316
  apiKey: s,
4255
4317
  includeRefs: u = !0,
4256
4318
  enrich: d,
4257
- locale: S,
4258
- apiVersion: C = Hi,
4259
- fields: b,
4319
+ locale: k,
4320
+ apiVersion: E = Ji,
4321
+ fields: S,
4260
4322
  omit: P,
4261
4323
  offset: j,
4262
- cacheSeconds: k,
4324
+ cacheSeconds: v,
4263
4325
  staleCacheSeconds: x,
4264
4326
  sort: B,
4265
4327
  includeUnpublished: $
4266
4328
  } = e;
4267
4329
  if (!s)
4268
4330
  throw new Error("Missing API key");
4269
- if (!["v2", "v3"].includes(C))
4270
- throw new Error(`Invalid apiVersion: expected 'v2' or 'v3', received '${C}'`);
4331
+ if (!["v2", "v3"].includes(E))
4332
+ throw new Error(`Invalid apiVersion: expected 'v2' or 'v3', received '${E}'`);
4271
4333
  (e.limit === void 0 || e.limit > 1) && !("noTraverse" in e) && (t = !0);
4272
- const g = new URL(`https://cdn.builder.io/api/${C}/content/${a}?apiKey=${s}&limit=${n}&noTraverse=${t}&includeRefs=${u}${S ? `&locale=${S}` : ""}${d ? `&enrich=${d}` : ""}`);
4273
- if (g.searchParams.set("omit", P || "meta.componentsUsed"), b && g.searchParams.set("fields", b), Number.isFinite(j) && j > -1 && g.searchParams.set("offset", String(Math.floor(j))), typeof $ == "boolean" && g.searchParams.set("includeUnpublished", String($)), k && Qn(k) && g.searchParams.set("cacheSeconds", String(k)), x && Qn(x) && g.searchParams.set("staleCacheSeconds", String(x)), B) {
4334
+ const m = new URL(`https://cdn.builder.io/api/${E}/content/${a}?apiKey=${s}&limit=${n}&noTraverse=${t}&includeRefs=${u}${k ? `&locale=${k}` : ""}${d ? `&enrich=${d}` : ""}`);
4335
+ 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) {
4274
4336
  const Z = lt({
4275
4337
  sort: B
4276
4338
  });
4277
4339
  for (const M in Z)
4278
- g.searchParams.set(M, JSON.stringify(Z[M]));
4340
+ m.searchParams.set(M, JSON.stringify(Z[M]));
4279
4341
  }
4280
- const pe = {
4281
- ...Xi(),
4282
- ...Tr(e.options || {})
4283
- }, de = lt(pe);
4284
- for (const Z in de)
4285
- g.searchParams.set(Z, String(de[Z]));
4286
- if (r && g.searchParams.set("userAttributes", JSON.stringify(r)), o) {
4342
+ const ee = {
4343
+ ...Zi(),
4344
+ ...Or(e.options || {})
4345
+ }, te = lt(ee);
4346
+ for (const Z in te)
4347
+ m.searchParams.set(Z, String(te[Z]));
4348
+ if (r && m.searchParams.set("userAttributes", JSON.stringify(r)), o) {
4287
4349
  const Z = lt({
4288
4350
  query: o
4289
4351
  });
4290
4352
  for (const M in Z)
4291
- g.searchParams.set(M, JSON.stringify(Z[M]));
4353
+ m.searchParams.set(M, JSON.stringify(Z[M]));
4292
4354
  }
4293
- return g;
4294
- }, Yi = (e) => "results" in e;
4295
- async function cn(e) {
4296
- const t = await Ar({
4355
+ return m;
4356
+ }, Qi = (e) => "results" in e;
4357
+ async function un(e) {
4358
+ const t = await jr({
4297
4359
  ...e,
4298
4360
  limit: 1
4299
4361
  });
4300
4362
  return t && t[0] || null;
4301
4363
  }
4302
- const Na = cn, Ji = async (e) => {
4303
- const t = ln(e);
4304
- return await (await $i(t.href)).json();
4305
- }, zi = async (e, t, n = ln(e)) => {
4364
+ const Va = un, ea = async (e) => {
4365
+ const t = cn(e);
4366
+ return await (await Yi(t.href)).json();
4367
+ }, ta = async (e, t, n = cn(e)) => {
4306
4368
  const r = Ht(e.canTrack);
4307
4369
  if (n.search.includes("preview=")) {
4308
4370
  const a = [];
4309
4371
  for (const s of t.results) {
4310
- const u = Di(n.searchParams);
4372
+ const u = Ki(n.searchParams);
4311
4373
  a.push(u || s);
4312
4374
  }
4313
4375
  t.results = a;
4314
4376
  }
4315
- if (!r || !(G() || ve === "reactNative"))
4377
+ if (!r || !(G() || he === "reactNative"))
4316
4378
  return t.results;
4317
4379
  try {
4318
4380
  const a = [];
4319
4381
  for (const s of t.results)
4320
- a.push(await di({
4382
+ a.push(await vi({
4321
4383
  item: s,
4322
4384
  canTrack: r
4323
4385
  }));
4324
4386
  t.results = a;
4325
4387
  } catch (a) {
4326
- q.error("Could not process A/B tests. ", a);
4388
+ z.error("Could not process A/B tests. ", a);
4327
4389
  }
4328
4390
  return t.results;
4329
4391
  };
4330
- async function Ar(e) {
4392
+ async function jr(e) {
4331
4393
  try {
4332
- const t = ln(e), n = await Ji(e);
4333
- return Yi(n) ? zi(e, n) : (q.error("Error fetching data. ", {
4394
+ const t = cn(e), n = await ea(e);
4395
+ return Qi(n) ? ta(e, n) : (z.error("Error fetching data. ", {
4334
4396
  url: t,
4335
4397
  content: n,
4336
4398
  options: e
4337
4399
  }), null);
4338
4400
  } catch (t) {
4339
- return q.error("Error fetching data. ", t), null;
4401
+ return z.error("Error fetching data. ", t), null;
4340
4402
  }
4341
4403
  }
4342
- const Ba = Ar, qi = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
4343
- function Zi(e, t) {
4404
+ const Da = jr, na = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
4405
+ function ra(e, t) {
4344
4406
  const n = new URL(t.origin), r = n.hostname;
4345
- return (e || qi).findIndex((o) => o.startsWith("*.") ? r.endsWith(o.slice(1)) : o === r) > -1;
4407
+ return (e || na).findIndex((o) => o.startsWith("*.") ? r.endsWith(o.slice(1)) : o === r) > -1;
4346
4408
  }
4347
- function Ma() {
4348
- return !G() || Xt() ? !1 : location.search.indexOf("builder.preview=") !== -1;
4409
+ function _a() {
4410
+ return !G() || Yt() ? !1 : location.search.indexOf("builder.preview=") !== -1;
4349
4411
  }
4350
- function Qi() {
4412
+ function oa() {
4351
4413
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
4352
4414
  const t = Math.random() * 16 | 0;
4353
4415
  return (e == "x" ? t : t & 3 | 8).toString(16);
4354
4416
  });
4355
4417
  }
4356
- function Or() {
4357
- return Qi().replace(/-/g, "");
4418
+ function Rr() {
4419
+ return oa().replace(/-/g, "");
4358
4420
  }
4359
- const jr = "builderSessionId", ea = async ({
4421
+ const Pr = "builderSessionId", ia = async ({
4360
4422
  canTrack: e
4361
4423
  }) => {
4362
4424
  if (!e)
4363
4425
  return;
4364
- const t = await vr({
4365
- name: jr,
4426
+ const t = await Sr({
4427
+ name: Pr,
4366
4428
  canTrack: e
4367
4429
  });
4368
- if (fe(t))
4430
+ if (oe(t))
4369
4431
  return t;
4370
4432
  {
4371
- const n = ta();
4372
- return na({
4433
+ const n = aa();
4434
+ return sa({
4373
4435
  id: n,
4374
4436
  canTrack: e
4375
4437
  }), n;
4376
4438
  }
4377
- }, ta = () => Or(), na = ({
4439
+ }, aa = () => Rr(), sa = ({
4378
4440
  id: e,
4379
4441
  canTrack: t
4380
- }) => br({
4381
- name: jr,
4442
+ }) => wr({
4443
+ name: Pr,
4382
4444
  value: e,
4383
4445
  canTrack: t
4384
- }), Rr = () => G() && typeof localStorage < "u" ? localStorage : void 0, ra = ({
4446
+ }), Nr = () => G() && typeof localStorage < "u" ? localStorage : void 0, la = ({
4385
4447
  key: e,
4386
4448
  canTrack: t
4387
4449
  }) => {
4388
4450
  var n;
4389
4451
  try {
4390
- return t ? (n = Rr()) == null ? void 0 : n.getItem(e) : void 0;
4452
+ return t ? (n = Nr()) == null ? void 0 : n.getItem(e) : void 0;
4391
4453
  } catch (r) {
4392
4454
  console.debug("[LocalStorage] GET error: ", r);
4393
4455
  return;
4394
4456
  }
4395
- }, oa = ({
4457
+ }, ca = ({
4396
4458
  key: e,
4397
4459
  canTrack: t,
4398
4460
  value: n
4399
4461
  }) => {
4400
4462
  var r;
4401
4463
  try {
4402
- t && ((r = Rr()) == null || r.setItem(e, n));
4464
+ t && ((r = Nr()) == null || r.setItem(e, n));
4403
4465
  } catch (o) {
4404
4466
  console.debug("[LocalStorage] SET error: ", o);
4405
4467
  }
4406
- }, Pr = "builderVisitorId", ia = ({
4468
+ }, Br = "builderVisitorId", ua = ({
4407
4469
  canTrack: e
4408
4470
  }) => {
4409
4471
  if (!e)
4410
4472
  return;
4411
- const t = ra({
4412
- key: Pr,
4473
+ const t = la({
4474
+ key: Br,
4413
4475
  canTrack: e
4414
4476
  });
4415
- if (fe(t))
4477
+ if (oe(t))
4416
4478
  return t;
4417
4479
  {
4418
- const n = aa();
4419
- return sa({
4480
+ const n = fa();
4481
+ return pa({
4420
4482
  id: n,
4421
4483
  canTrack: e
4422
4484
  }), n;
4423
4485
  }
4424
- }, aa = () => Or(), sa = ({
4486
+ }, fa = () => Rr(), pa = ({
4425
4487
  id: e,
4426
4488
  canTrack: t
4427
- }) => oa({
4428
- key: Pr,
4489
+ }) => ca({
4490
+ key: Br,
4429
4491
  value: e,
4430
4492
  canTrack: t
4431
- }), la = async ({
4493
+ }), da = async ({
4432
4494
  canTrack: e
4433
4495
  }) => {
4434
4496
  if (!e)
@@ -4436,16 +4498,16 @@ const jr = "builderSessionId", ea = async ({
4436
4498
  visitorId: void 0,
4437
4499
  sessionId: void 0
4438
4500
  };
4439
- const t = await ea({
4501
+ const t = await ia({
4440
4502
  canTrack: e
4441
- }), n = ia({
4503
+ }), n = ua({
4442
4504
  canTrack: e
4443
4505
  });
4444
4506
  return {
4445
4507
  sessionId: t,
4446
4508
  visitorId: n
4447
4509
  };
4448
- }, ca = async ({
4510
+ }, ha = async ({
4449
4511
  type: e,
4450
4512
  canTrack: t,
4451
4513
  apiKey: n,
@@ -4459,23 +4521,23 @@ const jr = "builderSessionId", ea = async ({
4459
4521
  url: location.href,
4460
4522
  ...r
4461
4523
  },
4462
- ...await la({
4524
+ ...await da({
4463
4525
  canTrack: t
4464
4526
  }),
4465
- userAttributes: ar(),
4527
+ userAttributes: sr(),
4466
4528
  ownerId: n
4467
4529
  }
4468
4530
  });
4469
- async function ua(e) {
4531
+ async function ma(e) {
4470
4532
  if (!e.apiKey) {
4471
- q.error("Missing API key for track call. Please provide your API key.");
4533
+ z.error("Missing API key for track call. Please provide your API key.");
4472
4534
  return;
4473
4535
  }
4474
- if (e.canTrack && !Xt() && (G() || ve === "reactNative"))
4536
+ if (e.canTrack && !Yt() && (G() || he === "reactNative"))
4475
4537
  return fetch("https://cdn.builder.io/api/v1/track", {
4476
4538
  method: "POST",
4477
4539
  body: JSON.stringify({
4478
- events: [await ca(e)]
4540
+ events: [await ha(e)]
4479
4541
  }),
4480
4542
  headers: {
4481
4543
  "content-type": "application/json"
@@ -4485,14 +4547,14 @@ async function ua(e) {
4485
4547
  console.error("Failed to track: ", t);
4486
4548
  });
4487
4549
  }
4488
- const Ua = (e) => ua({
4550
+ const La = (e) => ma({
4489
4551
  ...e,
4490
4552
  canTrack: !0
4491
4553
  });
4492
- function er(e) {
4554
+ function tr(e) {
4493
4555
  return Math.round(e * 1e3) / 1e3;
4494
4556
  }
4495
- const fa = (e, t, n = !0) => {
4557
+ const ga = (e, t, n = !0) => {
4496
4558
  if (!(e instanceof HTMLElement))
4497
4559
  return null;
4498
4560
  let r = n ? e : e.parentElement;
@@ -4503,38 +4565,38 @@ const fa = (e, t, n = !0) => {
4503
4565
  return r;
4504
4566
  } while (r = r.parentElement);
4505
4567
  return null;
4506
- }, pa = (e) => fa(e, (t) => {
4568
+ }, ya = (e) => ga(e, (t) => {
4507
4569
  const n = t.getAttribute("builder-id") || t.id;
4508
4570
  return (n == null ? void 0 : n.indexOf("builder-")) === 0;
4509
- }), tr = ({
4571
+ }), nr = ({
4510
4572
  event: e,
4511
4573
  target: t
4512
4574
  }) => {
4513
- const n = t.getBoundingClientRect(), r = e.clientX - n.left, o = e.clientY - n.top, a = er(r / n.width), s = er(o / n.height);
4575
+ const n = t.getBoundingClientRect(), r = e.clientX - n.left, o = e.clientY - n.top, a = tr(r / n.width), s = tr(o / n.height);
4514
4576
  return {
4515
4577
  x: a,
4516
4578
  y: s
4517
4579
  };
4518
- }, Fa = (e) => {
4519
- const t = e.target, n = t && pa(t), r = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
4580
+ }, Wa = (e) => {
4581
+ const t = e.target, n = t && ya(t), r = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
4520
4582
  return {
4521
4583
  targetBuilderElement: r || void 0,
4522
4584
  metadata: {
4523
- targetOffset: t ? tr({
4585
+ targetOffset: t ? nr({
4524
4586
  event: e,
4525
4587
  target: t
4526
4588
  }) : void 0,
4527
- builderTargetOffset: n ? tr({
4589
+ builderTargetOffset: n ? nr({
4528
4590
  event: e,
4529
4591
  target: n
4530
4592
  }) : void 0,
4531
4593
  builderElementIndex: n && r ? [].slice.call(document.getElementsByClassName(r)).indexOf(n) : void 0
4532
4594
  }
4533
4595
  };
4534
- }, da = "0.12.3", nr = {};
4535
- function ha(e, t) {
4536
- let n = nr[e];
4537
- if (n || (n = nr[e] = []), n.push(t), G()) {
4596
+ }, va = "0.12.5", rr = {};
4597
+ function ba(e, t) {
4598
+ let n = rr[e];
4599
+ if (n || (n = rr[e] = []), n.push(t), G()) {
4538
4600
  const r = {
4539
4601
  type: "builder.register",
4540
4602
  data: {
@@ -4549,8 +4611,8 @@ function ha(e, t) {
4549
4611
  }
4550
4612
  }
4551
4613
  }
4552
- const Va = () => {
4553
- ha("insertMenu", {
4614
+ const $a = () => {
4615
+ ba("insertMenu", {
4554
4616
  name: "_default",
4555
4617
  default: !0,
4556
4618
  items: [{
@@ -4572,14 +4634,14 @@ const Va = () => {
4572
4634
  }]
4573
4635
  });
4574
4636
  };
4575
- let rr = !1;
4576
- const _a = (e = {}) => {
4637
+ let or = !1;
4638
+ const Ha = (e = {}) => {
4577
4639
  var t, n;
4578
- rr || (rr = !0, G() && ((t = window.parent) == null || t.postMessage({
4640
+ or || (or = !0, G() && ((t = window.parent) == null || t.postMessage({
4579
4641
  type: "builder.sdkInfo",
4580
4642
  data: {
4581
- target: ve,
4582
- version: da,
4643
+ target: he,
4644
+ version: va,
4583
4645
  supportsPatchUpdates: !1,
4584
4646
  // Supports builder-model="..." attribute which is needed to
4585
4647
  // scope our '+ add block' button styling
@@ -4593,7 +4655,7 @@ const _a = (e = {}) => {
4593
4655
  }
4594
4656
  }, "*"), window.addEventListener("message", (r) => {
4595
4657
  var a, s;
4596
- if (!Zi(e.trustedHosts, r))
4658
+ if (!ra(e.trustedHosts, r))
4597
4659
  return;
4598
4660
  const {
4599
4661
  data: o
@@ -4601,40 +4663,40 @@ const _a = (e = {}) => {
4601
4663
  if (o != null && o.type)
4602
4664
  switch (o.type) {
4603
4665
  case "builder.evaluate": {
4604
- const u = o.data.text, d = o.data.arguments || [], S = o.data.id, C = new Function(u);
4605
- let b, P = null;
4666
+ const u = o.data.text, d = o.data.arguments || [], k = o.data.id, E = new Function(u);
4667
+ let S, P = null;
4606
4668
  try {
4607
- b = C.apply(null, d);
4669
+ S = E.apply(null, d);
4608
4670
  } catch (j) {
4609
4671
  P = j;
4610
4672
  }
4611
4673
  P ? (a = window.parent) == null || a.postMessage({
4612
4674
  type: "builder.evaluateError",
4613
4675
  data: {
4614
- id: S,
4676
+ id: k,
4615
4677
  error: P.message
4616
4678
  }
4617
- }, "*") : b && typeof b.then == "function" ? b.then((j) => {
4618
- var k;
4619
- (k = window.parent) == null || k.postMessage({
4679
+ }, "*") : S && typeof S.then == "function" ? S.then((j) => {
4680
+ var v;
4681
+ (v = window.parent) == null || v.postMessage({
4620
4682
  type: "builder.evaluateResult",
4621
4683
  data: {
4622
- id: S,
4684
+ id: k,
4623
4685
  result: j
4624
4686
  }
4625
4687
  }, "*");
4626
4688
  }).catch(console.error) : (s = window.parent) == null || s.postMessage({
4627
4689
  type: "builder.evaluateResult",
4628
4690
  data: {
4629
- result: b,
4630
- id: S
4691
+ result: S,
4692
+ id: k
4631
4693
  }
4632
4694
  }, "*");
4633
4695
  break;
4634
4696
  }
4635
4697
  }
4636
4698
  })));
4637
- }, ma = (e) => {
4699
+ }, Sa = (e) => {
4638
4700
  var a;
4639
4701
  const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], r = e.fileUrl ?? ((a = e == null ? void 0 : e.files) == null ? void 0 : a.regular);
4640
4702
  let o = "";
@@ -4660,22 +4722,22 @@ font-weight: ${s};
4660
4722
  `.trim());
4661
4723
  }
4662
4724
  return o;
4663
- }, ga = ({
4725
+ }, wa = ({
4664
4726
  customFonts: e
4665
4727
  }) => {
4666
4728
  var t;
4667
- return ((t = e == null ? void 0 : e.map((n) => ma(n))) == null ? void 0 : t.join(" ")) || "";
4668
- }, ya = ({
4729
+ return ((t = e == null ? void 0 : e.map((n) => Sa(n))) == null ? void 0 : t.join(" ")) || "";
4730
+ }, xa = ({
4669
4731
  cssCode: e,
4670
4732
  contentId: t
4671
4733
  }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "";
4672
- function va(e) {
4734
+ function ka(e) {
4673
4735
  const t = `
4674
- ${ya({
4736
+ ${xa({
4675
4737
  cssCode: e.cssCode,
4676
4738
  contentId: e.contentId
4677
4739
  })}
4678
- ${ga({
4740
+ ${wa({
4679
4741
  customFonts: e.customFonts
4680
4742
  })}
4681
4743
 
@@ -4696,9 +4758,9 @@ ${ga({
4696
4758
  font-family: inherit;
4697
4759
  }
4698
4760
  `.trim();
4699
- return /* @__PURE__ */ E(dt, { styles: t });
4761
+ return /* @__PURE__ */ C(dt, { styles: t });
4700
4762
  }
4701
- const ba = ({
4763
+ const Ca = ({
4702
4764
  content: e,
4703
4765
  data: t,
4704
4766
  locale: n
@@ -4715,7 +4777,7 @@ const ba = ({
4715
4777
  locale: n
4716
4778
  } : {}
4717
4779
  };
4718
- }, wa = ({
4780
+ }, Ea = ({
4719
4781
  content: e,
4720
4782
  data: t
4721
4783
  }) => e ? {
@@ -4726,38 +4788,38 @@ const ba = ({
4726
4788
  },
4727
4789
  meta: e == null ? void 0 : e.meta
4728
4790
  } : void 0;
4729
- function or(e) {
4730
- var o, a, s, u, d, S, C, b, P;
4731
- const t = Fi({
4791
+ function ir(e) {
4792
+ var o, a, s, u, d, k, E, S, P;
4793
+ const t = Wi({
4732
4794
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
4733
4795
  variationId: (o = e.content) == null ? void 0 : o.testVariationId,
4734
4796
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
4735
4797
  contentId: (a = e.content) == null ? void 0 : a.id
4736
4798
  }), n = [
4737
- ...zn(),
4799
+ ...qn(),
4738
4800
  // While this `components` object is deprecated, we must maintain support for it.
4739
4801
  // Since users are able to override our default components, we need to make sure that we do not break such
4740
4802
  // existing usage.
4741
4803
  // This is why we spread `components` after the default Builder.io components, but before the `props.customComponents`,
4742
4804
  // which is the new standard way of providing custom components, and must therefore take precedence.
4743
- ...qn,
4805
+ ...Zn,
4744
4806
  ...e.customComponents || []
4745
4807
  ].reduce(
4746
- (j, { component: k, ...x }) => ({
4808
+ (j, { component: v, ...x }) => ({
4747
4809
  ...j,
4748
4810
  [x.name]: {
4749
- component: k,
4811
+ component: v,
4750
4812
  ...Kt(x)
4751
4813
  }
4752
4814
  }),
4753
4815
  {}
4754
4816
  ), r = {
4755
- content: wa({
4817
+ content: Ea({
4756
4818
  content: e.content,
4757
4819
  data: e.data
4758
4820
  }),
4759
4821
  localState: void 0,
4760
- rootState: ba({
4822
+ rootState: Ca({
4761
4823
  content: e.content,
4762
4824
  data: e.data,
4763
4825
  locale: e.locale
@@ -4767,16 +4829,16 @@ function or(e) {
4767
4829
  apiKey: e.apiKey,
4768
4830
  apiVersion: e.apiVersion,
4769
4831
  componentInfos: [
4770
- ...zn(),
4832
+ ...qn(),
4771
4833
  // While this `components` object is deprecated, we must maintain support for it.
4772
4834
  // Since users are able to override our default components, we need to make sure that we do not break such
4773
4835
  // existing usage.
4774
4836
  // This is why we spread `components` after the default Builder.io components, but before the `props.customComponents`,
4775
4837
  // which is the new standard way of providing custom components, and must therefore take precedence.
4776
- ...qn,
4838
+ ...Zn,
4777
4839
  ...e.customComponents || []
4778
4840
  ].reduce(
4779
- (j, { component: k, ...x }) => ({
4841
+ (j, { component: v, ...x }) => ({
4780
4842
  ...j,
4781
4843
  [x.name]: Kt(x)
4782
4844
  }),
@@ -4786,8 +4848,8 @@ function or(e) {
4786
4848
  BlocksWrapper: e.blocksWrapper || "div",
4787
4849
  BlocksWrapperProps: e.blocksWrapperProps || {}
4788
4850
  };
4789
- return /* @__PURE__ */ Se(
4790
- co,
4851
+ return /* @__PURE__ */ xe(
4852
+ fo,
4791
4853
  {
4792
4854
  content: e.content,
4793
4855
  data: e.data,
@@ -4802,40 +4864,42 @@ function or(e) {
4802
4864
  builderContextSignal: r,
4803
4865
  contentWrapper: e.contentWrapper,
4804
4866
  contentWrapperProps: e.contentWrapperProps,
4867
+ linkComponent: e.linkComponent,
4805
4868
  trustedHosts: e.trustedHosts,
4806
4869
  children: [
4807
- e.isSsrAbTest ? /* @__PURE__ */ E(L, { children: /* @__PURE__ */ E(Gt, { scriptStr: t }) }) : null,
4808
- /* @__PURE__ */ E(L, { children: /* @__PURE__ */ E(
4809
- va,
4870
+ e.isSsrAbTest ? /* @__PURE__ */ C(L, { children: /* @__PURE__ */ C(Gt, { scriptStr: t }) }) : null,
4871
+ /* @__PURE__ */ C(L, { children: /* @__PURE__ */ C(
4872
+ ka,
4810
4873
  {
4811
4874
  contentId: (s = r.content) == null ? void 0 : s.id,
4812
4875
  cssCode: (d = (u = r.content) == null ? void 0 : u.data) == null ? void 0 : d.cssCode,
4813
- customFonts: (C = (S = r.content) == null ? void 0 : S.data) == null ? void 0 : C.customFonts
4876
+ customFonts: (E = (k = r.content) == null ? void 0 : k.data) == null ? void 0 : E.customFonts
4814
4877
  }
4815
4878
  ) }),
4816
- /* @__PURE__ */ E(
4879
+ /* @__PURE__ */ C(
4817
4880
  mt,
4818
4881
  {
4819
- blocks: (P = (b = r.content) == null ? void 0 : b.data) == null ? void 0 : P.blocks,
4882
+ blocks: (P = (S = r.content) == null ? void 0 : S.data) == null ? void 0 : P.blocks,
4820
4883
  context: r,
4821
- registeredComponents: n
4884
+ registeredComponents: n,
4885
+ linkComponent: e.linkComponent
4822
4886
  }
4823
4887
  )
4824
4888
  ]
4825
4889
  }
4826
4890
  );
4827
4891
  }
4828
- function Nr(e) {
4892
+ function Mr(e) {
4829
4893
  var a, s;
4830
- const t = Ni({
4894
+ const t = Vi({
4831
4895
  canTrack: Ht(e.canTrack),
4832
4896
  content: e.content
4833
4897
  }), n = function() {
4834
4898
  var d;
4835
- return Ui(
4836
- st(e.content).map((S) => ({
4837
- id: S.testVariationId,
4838
- testRatio: S.testRatio
4899
+ return Li(
4900
+ st(e.content).map((k) => ({
4901
+ id: k.testVariationId,
4902
+ testRatio: k.testRatio
4839
4903
  })),
4840
4904
  ((d = e.content) == null ? void 0 : d.id) || ""
4841
4905
  );
@@ -4846,24 +4910,24 @@ function Nr(e) {
4846
4910
  return t ? {
4847
4911
  ...e.content,
4848
4912
  testVariationId: (d = e.content) == null ? void 0 : d.id
4849
- } : pi({
4913
+ } : yi({
4850
4914
  item: e.content,
4851
4915
  canTrack: Ht(e.canTrack)
4852
4916
  });
4853
4917
  };
4854
- return /* @__PURE__ */ Se(L, { children: [
4855
- !e.__isNestedRender && ve !== "reactNative" ? /* @__PURE__ */ E(L, { children: /* @__PURE__ */ E(Gt, { scriptStr: Mi() }) }) : null,
4856
- t ? /* @__PURE__ */ Se(L, { children: [
4857
- /* @__PURE__ */ E(
4918
+ return /* @__PURE__ */ xe(L, { children: [
4919
+ !e.__isNestedRender && he !== "reactNative" ? /* @__PURE__ */ C(L, { children: /* @__PURE__ */ C(Gt, { scriptStr: _i() }) }) : null,
4920
+ t ? /* @__PURE__ */ xe(L, { children: [
4921
+ /* @__PURE__ */ C(
4858
4922
  dt,
4859
4923
  {
4860
4924
  id: `variants-styles-${(a = e.content) == null ? void 0 : a.id}`,
4861
4925
  styles: r()
4862
4926
  }
4863
4927
  ),
4864
- /* @__PURE__ */ E(Gt, { scriptStr: n() }),
4865
- (s = st(e.content)) == null ? void 0 : s.map((u) => /* @__PURE__ */ E(
4866
- or,
4928
+ /* @__PURE__ */ C(Gt, { scriptStr: n() }),
4929
+ (s = st(e.content)) == null ? void 0 : s.map((u) => /* @__PURE__ */ C(
4930
+ ir,
4867
4931
  {
4868
4932
  content: u,
4869
4933
  showContent: !1,
@@ -4873,6 +4937,7 @@ function Nr(e) {
4873
4937
  apiKey: e.apiKey,
4874
4938
  apiVersion: e.apiVersion,
4875
4939
  customComponents: e.customComponents,
4940
+ linkComponent: e.linkComponent,
4876
4941
  canTrack: e.canTrack,
4877
4942
  locale: e.locale,
4878
4943
  includeRefs: e.includeRefs,
@@ -4887,8 +4952,8 @@ function Nr(e) {
4887
4952
  u.testVariationId
4888
4953
  ))
4889
4954
  ] }) : null,
4890
- /* @__PURE__ */ E(
4891
- or,
4955
+ /* @__PURE__ */ C(
4956
+ ir,
4892
4957
  {
4893
4958
  content: o(),
4894
4959
  showContent: !0,
@@ -4898,6 +4963,7 @@ function Nr(e) {
4898
4963
  apiKey: e.apiKey,
4899
4964
  apiVersion: e.apiVersion,
4900
4965
  customComponents: e.customComponents,
4966
+ linkComponent: e.linkComponent,
4901
4967
  canTrack: e.canTrack,
4902
4968
  locale: e.locale,
4903
4969
  includeRefs: e.includeRefs,
@@ -4912,13 +4978,13 @@ function Nr(e) {
4912
4978
  )
4913
4979
  ] });
4914
4980
  }
4915
- const xa = async ({
4981
+ const Ia = async ({
4916
4982
  builderContextValue: e,
4917
4983
  symbol: t
4918
4984
  }) => {
4919
4985
  if (t != null && t.model && // This is a hack, we should not need to check for this, but it is needed for Svelte.
4920
4986
  (e != null && e.apiKey))
4921
- return cn({
4987
+ return un({
4922
4988
  model: t.model,
4923
4989
  apiKey: e.apiKey,
4924
4990
  apiVersion: e.apiVersion,
@@ -4928,25 +4994,25 @@ const xa = async ({
4928
4994
  }
4929
4995
  }
4930
4996
  }).catch((n) => {
4931
- q.error("Could not fetch symbol content: ", n);
4997
+ z.error("Could not fetch symbol content: ", n);
4932
4998
  });
4933
4999
  };
4934
- async function Sa(e) {
5000
+ async function Ta(e) {
4935
5001
  var r, o, a, s, u;
4936
5002
  const t = function() {
4937
- var S, C;
5003
+ var k, E;
4938
5004
  return [
4939
- e.attributes.className,
5005
+ e.attributes[Xt()],
4940
5006
  "builder-symbol",
4941
- (S = e.symbol) != null && S.inline ? "builder-inline-symbol" : void 0,
4942
- (C = e.symbol) != null && C.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
5007
+ (k = e.symbol) != null && k.inline ? "builder-inline-symbol" : void 0,
5008
+ (E = e.symbol) != null && E.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
4943
5009
  ].filter(Boolean).join(" ");
4944
- }, n = ((r = e.symbol) == null ? void 0 : r.content) || await xa({
5010
+ }, n = ((r = e.symbol) == null ? void 0 : r.content) || await Ia({
4945
5011
  symbol: e.symbol,
4946
5012
  builderContextValue: e.builderContext
4947
5013
  });
4948
- return /* @__PURE__ */ E("div", { ...e.attributes, className: t(), children: /* @__PURE__ */ E(
4949
- Nr,
5014
+ return /* @__PURE__ */ C("div", { ...e.attributes, className: t(), children: /* @__PURE__ */ C(
5015
+ Mr,
4950
5016
  {
4951
5017
  __isNestedRender: !0,
4952
5018
  apiVersion: e.builderContext.apiVersion,
@@ -4962,22 +5028,23 @@ async function Sa(e) {
4962
5028
  ...(s = n == null ? void 0 : n.data) == null ? void 0 : s.state
4963
5029
  },
4964
5030
  model: (u = e.symbol) == null ? void 0 : u.model,
4965
- content: n
5031
+ content: n,
5032
+ linkComponent: e.builderLinkComponent
4966
5033
  }
4967
5034
  ) });
4968
5035
  }
4969
- const Da = mt, La = Nr, ir = {};
4970
- function Wa(e) {
5036
+ const Ka = mt, Ga = Mr, ar = {};
5037
+ function Xa(e) {
4971
5038
  if (G()) {
4972
- Object.assign(ir, e);
5039
+ Object.assign(ar, e);
4973
5040
  const t = {
4974
5041
  type: "builder.settingsChange",
4975
- data: ir
5042
+ data: ar
4976
5043
  };
4977
5044
  parent.postMessage(t, "*");
4978
5045
  }
4979
5046
  }
4980
- const $a = async (e) => {
5047
+ const Ya = async (e) => {
4981
5048
  var r, o, a;
4982
5049
  const t = e.path || ((r = e.url) == null ? void 0 : r.pathname) || ((o = e.userAttributes) == null ? void 0 : o.urlPath), n = {
4983
5050
  ...e,
@@ -4989,50 +5056,51 @@ const $a = async (e) => {
4989
5056
  urlPath: t
4990
5057
  } : {}
4991
5058
  },
4992
- options: Ir(e.searchParams || ((a = e.url) == null ? void 0 : a.searchParams) || e.options)
5059
+ options: Ar(e.searchParams || ((a = e.url) == null ? void 0 : a.searchParams) || e.options)
4993
5060
  };
4994
5061
  return {
4995
5062
  apiKey: n.apiKey,
4996
5063
  model: n.model,
4997
- content: await cn(n)
5064
+ content: await un(n)
4998
5065
  };
4999
5066
  };
5000
5067
  export {
5001
- Ba as A,
5068
+ jr as A,
5002
5069
  mt as B,
5003
- Nr as C,
5004
- Na as D,
5005
- Ir as E,
5006
- Ua as F,
5007
- $a as G,
5008
- Da as R,
5009
- Sa as S,
5010
- Ti as T,
5011
- ua as _,
5012
- Aa as a,
5013
- Xt as b,
5014
- ja as c,
5015
- Ra as d,
5016
- G as e,
5017
- Ht as f,
5018
- Jo as g,
5019
- Ma as h,
5020
- Oa as i,
5021
- Zi as j,
5022
- an as k,
5023
- q as l,
5024
- Fa as m,
5025
- pt as n,
5026
- Pa as o,
5027
- cn as p,
5028
- $i as q,
5029
- Va as r,
5030
- _a as s,
5031
- _i as t,
5032
- La as u,
5033
- ei as v,
5034
- ha as w,
5035
- Wa as x,
5036
- zi as y,
5037
- Ar as z
5070
+ Mr as C,
5071
+ Da as D,
5072
+ Va as E,
5073
+ Ar as F,
5074
+ La as G,
5075
+ Ya as H,
5076
+ Ka as R,
5077
+ Ta as S,
5078
+ Pi as T,
5079
+ ma as _,
5080
+ ni as a,
5081
+ Ba as b,
5082
+ Yt as c,
5083
+ Ma as d,
5084
+ Ua as e,
5085
+ G as f,
5086
+ Xt as g,
5087
+ Ht as h,
5088
+ Na as i,
5089
+ _a as j,
5090
+ ra as k,
5091
+ z as l,
5092
+ sn as m,
5093
+ Wa as n,
5094
+ pt as o,
5095
+ Fa as p,
5096
+ un as q,
5097
+ $a as r,
5098
+ Ha as s,
5099
+ Yi as t,
5100
+ Hi as u,
5101
+ Ga as v,
5102
+ ii as w,
5103
+ ba as x,
5104
+ Xa as y,
5105
+ ta as z
5038
5106
  };