@builder.io/sdk-vue 3.0.7 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/lib/browser/{awaiter-qTJKqZvs.js → awaiter-DlOqOX5z.js} +1 -1
  2. package/lib/browser/{awaiter-_VmV8-WL.cjs → awaiter-vdgasK22.cjs} +1 -1
  3. package/lib/browser/{block-styles-lH0YkYH7.js → block-styles-1zdZBD3_.js} +1 -1
  4. package/lib/browser/{block-styles-lDAdx_vR.cjs → block-styles-C2qOWXLT.cjs} +1 -1
  5. package/lib/browser/{block-wrapper-8blpYCju.cjs → block-wrapper-KwNijOoq.cjs} +1 -1
  6. package/lib/browser/{block-wrapper-bJ0fGq-G.js → block-wrapper-mWQd3eds.js} +3 -3
  7. package/lib/browser/blocks/video/video.vue.d.ts +3 -1
  8. package/lib/browser/{component-ref-iWkUvVQ1.cjs → component-ref-D8G8i0SU.cjs} +1 -1
  9. package/lib/browser/{component-ref-0bMZghu6.js → component-ref-fX9luBp4.js} +3 -3
  10. package/lib/browser/components/content-variants/content-variants.types.d.ts +2 -2
  11. package/lib/browser/constants/sdk-version.d.ts +1 -1
  12. package/lib/browser/{get-block-properties--ucCo9kV.cjs → get-block-properties-GIlOh7KW.cjs} +1 -1
  13. package/lib/browser/{get-block-properties-GmG9ANiw.js → get-block-properties-skcPpF7F.js} +1 -1
  14. package/lib/browser/helpers/subscribe-to-editor.d.ts +13 -13
  15. package/lib/browser/{index-E49duuRO.cjs → index--ZUFWfhP.cjs} +19 -19
  16. package/lib/browser/{index-2YUdegEe.js → index-yHm9GN7F.js} +268 -225
  17. package/lib/browser/index.cjs +1 -1
  18. package/lib/browser/index.mjs +1 -1
  19. package/lib/browser/{repeated-block-UJDFjjRg.cjs → repeated-block-4rLodLPa.cjs} +1 -1
  20. package/lib/browser/{repeated-block-8jINQA8S.js → repeated-block-s8wpauxV.js} +2 -2
  21. package/lib/browser/scripts/init-editing.d.ts +3 -1
  22. package/lib/edge/{awaiter-dkTgJJe3.js → awaiter-2r6u2dJ4.js} +1 -1
  23. package/lib/edge/{awaiter-sFS-93DB.cjs → awaiter-bR9ekICW.cjs} +1 -1
  24. package/lib/edge/{block-styles-DTOwjSm1.cjs → block-styles-d3KRk_ab.cjs} +1 -1
  25. package/lib/edge/{block-styles-wmTk1mW4.js → block-styles-qmawnL2_.js} +1 -1
  26. package/lib/{node/block-wrapper-uBIml2eB.cjs → edge/block-wrapper-dj07vUo2.cjs} +1 -1
  27. package/lib/{node/block-wrapper-x9D9uSna.js → edge/block-wrapper-ga1Q8gAe.js} +3 -3
  28. package/lib/edge/blocks/video/video.vue.d.ts +3 -1
  29. package/lib/edge/{component-ref-jkAXgekK.cjs → component-ref-APzUXbFO.cjs} +1 -1
  30. package/lib/edge/{component-ref-1WyqPeY5.js → component-ref-kF7QYHtR.js} +3 -3
  31. package/lib/edge/components/content-variants/content-variants.types.d.ts +2 -2
  32. package/lib/edge/constants/sdk-version.d.ts +1 -1
  33. package/lib/edge/{get-block-properties-SOGDuFLz.js → get-block-properties-8YAn4NDv.js} +1 -1
  34. package/lib/edge/{get-block-properties-eToBRju4.cjs → get-block-properties-aIlaPST5.cjs} +1 -1
  35. package/lib/edge/helpers/subscribe-to-editor.d.ts +13 -13
  36. package/lib/edge/{index-oO_aT5Rz.cjs → index-GUN3bmOV.cjs} +23 -23
  37. package/lib/edge/{index-LOoRAk_r.js → index-iGa536AK.js} +634 -591
  38. package/lib/edge/index.cjs +1 -1
  39. package/lib/edge/index.mjs +1 -1
  40. package/lib/{node/repeated-block-zqReezoZ.cjs → edge/repeated-block-OzRUfzWW.cjs} +1 -1
  41. package/lib/edge/{repeated-block-1uIsduO3.js → repeated-block-s8LkZB7_.js} +2 -2
  42. package/lib/edge/scripts/init-editing.d.ts +3 -1
  43. package/lib/node/{awaiter-UFOtT7L8.js → awaiter-4f_ytnHK.js} +1 -1
  44. package/lib/node/{awaiter-jCPGz_Rp.cjs → awaiter-OY9itOXx.cjs} +1 -1
  45. package/lib/node/{block-styles-lcdbB-wV.cjs → block-styles-I8VnS9H0.cjs} +1 -1
  46. package/lib/node/{block-styles-Mep1iE0i.js → block-styles-jsefu77A.js} +1 -1
  47. package/lib/{edge/block-wrapper-o_f6DJmU.cjs → node/block-wrapper-YGW0E_7i.cjs} +1 -1
  48. package/lib/{edge/block-wrapper-J-1Axz3t.js → node/block-wrapper-cmV-hW0a.js} +3 -3
  49. package/lib/node/blocks/video/video.vue.d.ts +3 -1
  50. package/lib/node/{component-ref-p3j6uPhu.cjs → component-ref-U44S4K28.cjs} +1 -1
  51. package/lib/node/{component-ref-9gTDdATc.js → component-ref-qbqVS7Se.js} +3 -3
  52. package/lib/node/components/content-variants/content-variants.types.d.ts +2 -2
  53. package/lib/node/constants/sdk-version.d.ts +1 -1
  54. package/lib/node/{get-block-properties-vwOB6lOq.cjs → get-block-properties-WcC5NqID.cjs} +1 -1
  55. package/lib/node/{get-block-properties-y5lDJfV_.js → get-block-properties-g8gAwjx3.js} +1 -1
  56. package/lib/node/helpers/subscribe-to-editor.d.ts +13 -13
  57. package/lib/node/{index-QWfv1anA.cjs → index-4E72ai__.cjs} +18 -18
  58. package/lib/node/{index-szuN3te-.js → index-Izb0_b7V.js} +466 -423
  59. package/lib/node/index.cjs +1 -1
  60. package/lib/node/index.mjs +1 -1
  61. package/lib/node/{repeated-block-JpsRnqSc.js → repeated-block-aLoVuYCX.js} +2 -2
  62. package/lib/{edge/repeated-block-piEzdkXp.cjs → node/repeated-block-xnbh1API.cjs} +1 -1
  63. package/lib/node/scripts/init-editing.d.ts +3 -1
  64. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { defineComponent as j, openBlock as y, createElementBlock as I, Fragment as X, createBlock as D, resolveDynamicComponent as ut, mergeProps as q, toHandlers as de, withCtx as Ie, renderSlot as le, resolveComponent as V, createTextVNode as Lo, toDisplayString as Nt, defineAsyncComponent as rt, createVNode as se, renderList as Ee, createCommentVNode as M, h as Ur, createElementVNode as ft, normalizeStyle as Pe, normalizeClass as ht, markRaw as Ho } from "vue";
1
+ import { defineComponent as j, openBlock as y, createElementBlock as I, Fragment as X, createBlock as V, resolveDynamicComponent as ct, mergeProps as z, toHandlers as de, withCtx as Ie, renderSlot as le, resolveComponent as D, createTextVNode as Mo, toDisplayString as Bt, defineAsyncComponent as ot, createVNode as se, renderList as Ee, createCommentVNode as L, h as Ur, createElementVNode as ze, normalizeStyle as Pe, normalizeClass as ht, markRaw as Ho } from "vue";
2
2
  const Ko = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), zo = (e) => typeof e == "string" && Ko.has(e.toLowerCase());
3
3
  function he(e = {}, t, n) {
4
4
  const r = {};
@@ -16,20 +16,20 @@ const Go = j({
16
16
  data() {
17
17
  return { isEmptyElement: zo };
18
18
  }
19
- }), N = (e, t) => {
19
+ }), B = (e, t) => {
20
20
  const n = e.__vccOpts || e;
21
21
  for (const [r, o] of t)
22
22
  n[r] = o;
23
23
  return n;
24
24
  };
25
25
  function qo(e, t, n, r, o, i) {
26
- return e.isEmptyElement(e.TagName) ? (y(), D(ut(e.TagName), q({ key: 1 }, e.attributes, de(e.actionAttributes)), null, 16)) : (y(), I(X, { key: 0 }, [
27
- typeof e.TagName == "string" ? (y(), D(ut(e.TagName), q({ key: 0 }, e.attributes, de(e.actionAttributes)), {
26
+ return e.isEmptyElement(e.TagName) ? (y(), V(ct(e.TagName), z({ key: 1 }, e.attributes, de(e.actionAttributes)), null, 16)) : (y(), I(X, { key: 0 }, [
27
+ typeof e.TagName == "string" ? (y(), V(ct(e.TagName), z({ key: 0 }, e.attributes, de(e.actionAttributes)), {
28
28
  default: Ie(() => [
29
29
  le(e.$slots, "default")
30
30
  ]),
31
31
  _: 3
32
- }, 16)) : (y(), D(ut(e.TagName), q({ key: 1 }, e.attributes, de(e.actionAttributes)), {
32
+ }, 16)) : (y(), V(ct(e.TagName), z({ key: 1 }, e.attributes, de(e.actionAttributes)), {
33
33
  default: Ie(() => [
34
34
  le(e.$slots, "default")
35
35
  ]),
@@ -37,7 +37,7 @@ function qo(e, t, n, r, o, i) {
37
37
  }, 16))
38
38
  ], 64));
39
39
  }
40
- const kn = /* @__PURE__ */ N(Go, [["render", qo]]), ju = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
40
+ const kn = /* @__PURE__ */ B(Go, [["render", qo]]), Ou = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
41
41
  __proto__: null,
42
42
  default: kn
43
43
  }, Symbol.toStringTag, { value: "Module" })), re = "vue", Ot = () => {
@@ -83,19 +83,19 @@ const kn = /* @__PURE__ */ N(Go, [["render", qo]]), ju = /* @__PURE__ */ Object.
83
83
  }
84
84
  });
85
85
  function Jo(e, t, n, r, o, i) {
86
- const s = V("DynamicRenderer");
87
- return y(), D(s, {
86
+ const s = D("DynamicRenderer");
87
+ return y(), V(s, {
88
88
  attributes: e.attrs(),
89
89
  TagName: e.link ? e.builderLinkComponent || "a" : "button",
90
90
  actionAttributes: e.filterAttrs(e.attributes, "v-on:", !0)
91
91
  }, {
92
92
  default: Ie(() => [
93
- Lo(Nt(e.text), 1)
93
+ Mo(Bt(e.text), 1)
94
94
  ]),
95
95
  _: 1
96
96
  }, 8, ["attributes", "TagName", "actionAttributes"]);
97
97
  }
98
- const Xo = /* @__PURE__ */ N(_o, [["render", Jo]]), Yo = Symbol(), fn = {
98
+ const Xo = /* @__PURE__ */ B(_o, [["render", Jo]]), Yo = Symbol(), fn = {
99
99
  Builder: {
100
100
  content: null,
101
101
  context: {},
@@ -113,7 +113,7 @@ const Xo = /* @__PURE__ */ N(_o, [["render", Jo]]), Yo = Symbol(), fn = {
113
113
  model: ""
114
114
  },
115
115
  key: Yo
116
- }, Zo = Symbol(), Dr = {
116
+ }, Zo = Symbol(), Vr = {
117
117
  Components: { registeredComponents: {} },
118
118
  key: Zo
119
119
  }, $t = "[Builder.io]: ", ue = {
@@ -121,11 +121,11 @@ const Xo = /* @__PURE__ */ N(_o, [["render", Jo]]), Yo = Symbol(), fn = {
121
121
  error: (...e) => console.error($t, ...e),
122
122
  warn: (...e) => console.warn($t, ...e),
123
123
  debug: (...e) => console.debug($t, ...e)
124
- }, Vr = (e, t, n) => {
124
+ }, Dr = (e, t, n) => {
125
125
  const r = String.prototype.split.call(t, /[,[\].]+?/).filter(Boolean).reduce((o, i) => o != null ? o[i] : o, e);
126
126
  return r === void 0 || r === e ? n : r;
127
127
  };
128
- function z() {
128
+ function G() {
129
129
  return typeof window < "u" && typeof document < "u";
130
130
  }
131
131
  const Qo = (e) => {
@@ -135,19 +135,19 @@ const Qo = (e) => {
135
135
  }), t;
136
136
  }, Fr = (e) => e instanceof URLSearchParams ? Qo(e) : e, Wr = (e) => typeof e == "string" ? e : e instanceof URLSearchParams ? e.toString() : new URLSearchParams(e).toString();
137
137
  function ei() {
138
- return z() && window.self !== window.top;
138
+ return G() && window.self !== window.top;
139
139
  }
140
140
  function ie(e) {
141
141
  return ei() && // accessing window.location.search is safe here because `isIframe()` is only `true` if we're in a browser.
142
142
  Wr(e || window.location.search).indexOf("builder.frameEditing=") !== -1;
143
143
  }
144
144
  const ti = () => {
145
- if (z()) {
145
+ if (G()) {
146
146
  const e = new URL(location.href);
147
147
  return e.pathname === "" && (e.pathname = "/"), e;
148
148
  } else
149
149
  return console.warn("Cannot get location for tracking in non-browser environment"), null;
150
- }, ni = () => typeof navigator == "object" && navigator.userAgent || "", Mr = () => {
150
+ }, ni = () => typeof navigator == "object" && navigator.userAgent || "", Lr = () => {
151
151
  const e = ni(), t = {
152
152
  Android() {
153
153
  return e.match(/Android/i);
@@ -173,7 +173,7 @@ const ti = () => {
173
173
  host: (r == null ? void 0 : r.host) || (r == null ? void 0 : r.hostname),
174
174
  device: n ? "tablet" : t.any() ? "mobile" : "desktop"
175
175
  };
176
- }, Lr = ({
176
+ }, Mr = ({
177
177
  builder: e,
178
178
  context: t,
179
179
  event: n,
@@ -187,9 +187,9 @@ const ti = () => {
187
187
  event: n
188
188
  }), ri = () => ({
189
189
  isEditing: ie(),
190
- isBrowser: z(),
191
- isServer: !z(),
192
- getUserAttributes: () => Mr()
190
+ isBrowser: G(),
191
+ isServer: !G(),
192
+ getUserAttributes: () => Lr()
193
193
  }), oi = (e, {
194
194
  isExpression: t = !0
195
195
  }) => /* 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;
@@ -227,7 +227,7 @@ const ii = ({
227
227
  rootSetState: i,
228
228
  rootState: s
229
229
  }) => {
230
- const u = Lr({
230
+ const u = Mr({
231
231
  builder: t,
232
232
  context: n,
233
233
  event: r,
@@ -239,7 +239,7 @@ const ii = ({
239
239
  });
240
240
  return new Function(...u.map(([p]) => p), e)(...u.map(([, p]) => p));
241
241
  };
242
- var B, si = function(e) {
242
+ var N, si = function(e) {
243
243
  function t(a) {
244
244
  return 48 > a ? a === 36 : 58 > a ? !0 : 65 > a ? !1 : 91 > a ? !0 : 97 > a ? a === 95 : 123 > a ? !0 : 170 <= a && Wo.test(String.fromCharCode(a));
245
245
  }
@@ -247,17 +247,17 @@ var B, si = function(e) {
247
247
  return 65 > a ? a === 36 : 91 > a ? !0 : 97 > a ? a === 95 : 123 > a ? !0 : 170 <= a && br.test(String.fromCharCode(a));
248
248
  }
249
249
  function r(a, l) {
250
- for (var c = k, f = 1, A = 0; ; ) {
251
- Rt.lastIndex = A;
252
- var _ = Rt.exec(c);
250
+ for (var c = k, f = 1, R = 0; ; ) {
251
+ At.lastIndex = R;
252
+ var _ = At.exec(c);
253
253
  if (_ && _.index < a)
254
- ++f, A = _.index + _[0].length;
254
+ ++f, R = _.index + _[0].length;
255
255
  else
256
256
  break;
257
257
  }
258
258
  throw c = {
259
259
  line: f,
260
- ab: a - A
260
+ ab: a - R
261
261
  }, l += " (" + c.line + ":" + c.ab + ")", l = new SyntaxError(l), l.j = a, l.X = c, l.o = d, l;
262
262
  }
263
263
  function o(a) {
@@ -269,35 +269,35 @@ var B, si = function(e) {
269
269
  };
270
270
  }
271
271
  function i() {
272
- this.line = Ne, this.ab = d - be;
272
+ this.line = Be, this.ab = d - be;
273
273
  }
274
274
  function s(a, l) {
275
- Fe = d, R.C && (Gt = new i()), x = a, p(), ae = l, Ze = a.m;
275
+ Fe = d, A.C && (Gt = new i()), x = a, p(), ae = l, Qe = a.m;
276
276
  }
277
277
  function u() {
278
- for (var a = d, l = R.va && R.C && new i(), c = k.charCodeAt(d += 2); d < Ve && c !== 10 && c !== 13 && c !== 8232 && c !== 8233; )
278
+ for (var a = d, l = A.va && A.C && new i(), c = k.charCodeAt(d += 2); d < De && c !== 10 && c !== 13 && c !== 8232 && c !== 8233; )
279
279
  ++d, c = k.charCodeAt(d);
280
- R.va && R.va(!1, k.slice(a + 2, d), a, d, l, R.C && new i());
280
+ A.va && A.va(!1, k.slice(a + 2, d), a, d, l, A.C && new i());
281
281
  }
282
282
  function p() {
283
- for (; d < Ve; ) {
283
+ for (; d < De; ) {
284
284
  var a = k.charCodeAt(d);
285
285
  if (a === 32)
286
286
  ++d;
287
287
  else if (a === 13)
288
- ++d, a = k.charCodeAt(d), a === 10 && ++d, R.C && (++Ne, be = d);
288
+ ++d, a = k.charCodeAt(d), a === 10 && ++d, A.C && (++Be, be = d);
289
289
  else if (a === 10 || a === 8232 || a === 8233)
290
- ++d, R.C && (++Ne, be = d);
290
+ ++d, A.C && (++Be, be = d);
291
291
  else if (8 < a && 14 > a)
292
292
  ++d;
293
293
  else if (a === 47)
294
294
  if (a = k.charCodeAt(d + 1), a === 42) {
295
295
  a = void 0;
296
- var l = R.va && R.C && new i(), c = d, f = k.indexOf("*/", d += 2);
297
- if (f === -1 && r(d - 2, "Unterminated comment"), d = f + 2, R.C)
298
- for (Rt.lastIndex = c; (a = Rt.exec(k)) && a.index < d; )
299
- ++Ne, be = a.index + a[0].length;
300
- R.va && R.va(!0, k.slice(c + 2, f), c, d, l, R.C && new i());
296
+ var l = A.va && A.C && new i(), c = d, f = k.indexOf("*/", d += 2);
297
+ if (f === -1 && r(d - 2, "Unterminated comment"), d = f + 2, A.C)
298
+ for (At.lastIndex = c; (a = At.exec(k)) && a.index < d; )
299
+ ++Be, be = a.index + a[0].length;
300
+ A.va && A.va(!0, k.slice(c + 2, f), c, d, l, A.C && new i());
301
301
  } else if (a === 47)
302
302
  u();
303
303
  else
@@ -328,16 +328,16 @@ var B, si = function(e) {
328
328
  case 93:
329
329
  return ++d, s(rn);
330
330
  case 123:
331
- return ++d, s(tt);
331
+ return ++d, s(nt);
332
332
  case 125:
333
- return ++d, s(Me);
333
+ return ++d, s(Le);
334
334
  case 58:
335
- return ++d, s(nt);
335
+ return ++d, s(rt);
336
336
  case 63:
337
337
  return ++d, s(dr);
338
338
  case 48:
339
339
  if (a = k.charCodeAt(d + 1), a === 120 || a === 88) {
340
- d += 2, a = T(16), a === null && r(G + 2, "Expected hexadecimal number"), n(k.charCodeAt(d)) && r(d, "Identifier directly after number"), s(et, a);
340
+ d += 2, a = T(16), a === null && r(q + 2, "Expected hexadecimal number"), n(k.charCodeAt(d)) && r(d, "Identifier directly after number"), s(tt, a);
341
341
  return;
342
342
  }
343
343
  case 49:
@@ -354,7 +354,7 @@ var B, si = function(e) {
354
354
  case 39:
355
355
  d++;
356
356
  for (var l = ""; ; ) {
357
- d >= Ve && r(G, "Unterminated string constant");
357
+ d >= De && r(q, "Unterminated string constant");
358
358
  var c = k.charCodeAt(d);
359
359
  if (c === a) {
360
360
  ++d, s(Tt, l);
@@ -403,17 +403,17 @@ var B, si = function(e) {
403
403
  case 13:
404
404
  k.charCodeAt(d) === 10 && ++d;
405
405
  case 10:
406
- R.C && (be = d, ++Ne);
406
+ A.C && (be = d, ++Be);
407
407
  break;
408
408
  default:
409
409
  l += String.fromCharCode(c);
410
410
  }
411
411
  } else
412
- c !== 13 && c !== 10 && c !== 8232 && c !== 8233 || r(G, "Unterminated string constant"), l += String.fromCharCode(c), ++d;
412
+ c !== 13 && c !== 10 && c !== 8232 && c !== 8233 || r(q, "Unterminated string constant"), l += String.fromCharCode(c), ++d;
413
413
  }
414
414
  return;
415
415
  case 47:
416
- a = k.charCodeAt(d + 1), Ze ? (++d, g()) : a === 61 ? v(Ue, 2) : v(fr, 1);
416
+ a = k.charCodeAt(d + 1), Qe ? (++d, g()) : a === 61 ? v(Ue, 2) : v(fr, 1);
417
417
  return;
418
418
  case 37:
419
419
  case 42:
@@ -421,18 +421,18 @@ var B, si = function(e) {
421
421
  return;
422
422
  case 124:
423
423
  case 38:
424
- l = k.charCodeAt(d + 1), l === a ? v(a === 124 ? gr : yr, 2) : l === 61 ? v(Ue, 2) : v(a === 124 ? Ro : Po, 1);
424
+ l = k.charCodeAt(d + 1), l === a ? v(a === 124 ? gr : yr, 2) : l === 61 ? v(Ue, 2) : v(a === 124 ? Ao : Po, 1);
425
425
  return;
426
426
  case 94:
427
427
  k.charCodeAt(d + 1) === 61 ? v(Ue, 2) : v($o, 1);
428
428
  return;
429
429
  case 43:
430
430
  case 45:
431
- l = k.charCodeAt(d + 1), l === a ? l === 45 && k.charCodeAt(d + 2) === 62 && At.test(k.slice(Re, d)) ? (d += 3, u(), p(), b()) : v(Ao, 2) : l === 61 ? v(Ue, 2) : v(No, 1);
431
+ l = k.charCodeAt(d + 1), l === a ? l === 45 && k.charCodeAt(d + 2) === 62 && Rt.test(k.slice(Ae, d)) ? (d += 3, u(), p(), b()) : v(Ro, 2) : l === 61 ? v(Ue, 2) : v(Bo, 1);
432
432
  return;
433
433
  case 60:
434
434
  case 62:
435
- l = k.charCodeAt(d + 1), c = 1, l === a ? (c = a === 62 && k.charCodeAt(d + 2) === 62 ? 3 : 2, k.charCodeAt(d + c) === 61 ? v(Ue, c + 1) : v(Bo, c)) : l === 33 && a === 60 && k.charCodeAt(d + 2) === 45 && k.charCodeAt(d + 3) === 45 ? (d += 4, u(), p(), b()) : (l === 61 && (c = k.charCodeAt(d + 2) === 61 ? 3 : 2), v(jo, c));
435
+ l = k.charCodeAt(d + 1), c = 1, l === a ? (c = a === 62 && k.charCodeAt(d + 2) === 62 ? 3 : 2, k.charCodeAt(d + c) === 61 ? v(Ue, c + 1) : v(No, c)) : l === 33 && a === 60 && k.charCodeAt(d + 2) === 45 && k.charCodeAt(d + 3) === 45 ? (d += 4, u(), p(), b()) : (l === 61 && (c = k.charCodeAt(d + 2) === 61 ? 3 : 2), v(jo, c));
436
436
  return;
437
437
  case 61:
438
438
  case 33:
@@ -444,15 +444,15 @@ var B, si = function(e) {
444
444
  return !1;
445
445
  }
446
446
  function b(a) {
447
- if (a ? d = G + 1 : G = d, R.C && (zt = new i()), a)
447
+ if (a ? d = q + 1 : q = d, A.C && (zt = new i()), a)
448
448
  return g();
449
- if (d >= Ve)
449
+ if (d >= De)
450
450
  return s(Jt);
451
451
  if (a = k.charCodeAt(d), n(a) || a === 92)
452
- return Ae();
452
+ return Re();
453
453
  if (m(a) === !1) {
454
454
  if (a = String.fromCharCode(a), a === "\\" || br.test(a))
455
- return Ae();
455
+ return Re();
456
456
  r(d, "Unexpected character '" + a + "'");
457
457
  }
458
458
  }
@@ -462,9 +462,9 @@ var B, si = function(e) {
462
462
  }
463
463
  function g() {
464
464
  for (var a, l, c = d; ; ) {
465
- d >= Ve && r(c, "Unterminated regexp");
465
+ d >= De && r(c, "Unterminated regexp");
466
466
  var f = k.charAt(d);
467
- if (At.test(f) && r(c, "Unterminated regexp"), a)
467
+ if (Rt.test(f) && r(c, "Unterminated regexp"), a)
468
468
  a = !1;
469
469
  else {
470
470
  if (f === "[")
@@ -479,14 +479,14 @@ var B, si = function(e) {
479
479
  }
480
480
  a = k.slice(c, d), ++d, (l = Z()) && !/^[gmi]*$/.test(l) && r(c, "Invalid regexp flag");
481
481
  try {
482
- var A = new RegExp(a, l);
482
+ var R = new RegExp(a, l);
483
483
  } catch (_) {
484
484
  throw _ instanceof SyntaxError && r(c, _.message), _;
485
485
  }
486
- s(Gn, A);
486
+ s(Gn, R);
487
487
  }
488
488
  function T(a, l) {
489
- for (var c = d, f = 0, A = l === void 0 ? 1 / 0 : l, _ = 0; _ < A; ++_) {
489
+ for (var c = d, f = 0, R = l === void 0 ? 1 / 0 : l, _ = 0; _ < R; ++_) {
490
490
  var ee = k.charCodeAt(d);
491
491
  if (ee = 97 <= ee ? ee - 97 + 10 : 65 <= ee ? ee - 65 + 10 : 48 <= ee && 57 >= ee ? ee - 48 : 1 / 0, ee >= a)
492
492
  break;
@@ -497,58 +497,58 @@ var B, si = function(e) {
497
497
  function U(a) {
498
498
  var l = d, c = !1, f = k.charCodeAt(d) === 48;
499
499
  a || T(10) !== null || r(l, "Invalid number"), k.charCodeAt(d) === 46 && (++d, T(10), c = !0), a = k.charCodeAt(d), (a === 69 || a === 101) && (a = k.charCodeAt(++d), a !== 43 && a !== 45 || ++d, T(10) === null && r(l, "Invalid number"), c = !0), n(k.charCodeAt(d)) && r(d, "Identifier directly after number"), a = k.slice(l, d);
500
- var A;
501
- c ? A = parseFloat(a) : f && a.length !== 1 ? /[89]/.test(a) || oe ? r(l, "Invalid number") : A = parseInt(a, 8) : A = parseInt(a, 10), s(et, A);
500
+ var R;
501
+ c ? R = parseFloat(a) : f && a.length !== 1 ? /[89]/.test(a) || oe ? r(l, "Invalid number") : R = parseInt(a, 8) : R = parseInt(a, 10), s(tt, R);
502
502
  }
503
503
  function O(a) {
504
- return a = T(16, a), a === null && r(G, "Bad character escape sequence"), a;
504
+ return a = T(16, a), a === null && r(q, "Bad character escape sequence"), a;
505
505
  }
506
506
  function Z() {
507
- Le = !1;
507
+ Me = !1;
508
508
  for (var a, l = !0, c = d; ; ) {
509
509
  var f = k.charCodeAt(d);
510
510
  if (t(f))
511
- Le && (a += k.charAt(d)), ++d;
511
+ Me && (a += k.charAt(d)), ++d;
512
512
  else if (f === 92) {
513
- Le || (a = k.slice(c, d)), Le = !0, k.charCodeAt(++d) !== 117 && r(d, "Expecting Unicode escape sequence \\uXXXX"), ++d, f = O(4);
514
- var A = String.fromCharCode(f);
515
- A || r(d - 1, "Invalid Unicode escape"), (l ? n(f) : t(f)) || r(d - 4, "Invalid Unicode escape"), a += A;
513
+ Me || (a = k.slice(c, d)), Me = !0, k.charCodeAt(++d) !== 117 && r(d, "Expecting Unicode escape sequence \\uXXXX"), ++d, f = O(4);
514
+ var R = String.fromCharCode(f);
515
+ R || r(d - 1, "Invalid Unicode escape"), (l ? n(f) : t(f)) || r(d - 4, "Invalid Unicode escape"), a += R;
516
516
  } else
517
517
  break;
518
518
  l = !1;
519
519
  }
520
- return Le ? a : k.slice(c, d);
520
+ return Me ? a : k.slice(c, d);
521
521
  }
522
- function Ae() {
522
+ function Re() {
523
523
  var a = Z(), l = We;
524
- !Le && Vo(a) && (l = xo[a]), s(l, a);
524
+ !Me && Do(a) && (l = xo[a]), s(l, a);
525
525
  }
526
526
  function $() {
527
- qt = G, Re = Fe, _t = Gt, b();
527
+ qt = q, Ae = Fe, _t = Gt, b();
528
528
  }
529
529
  function F(a) {
530
- if (oe = a, d = G, R.C)
530
+ if (oe = a, d = q, A.C)
531
531
  for (; d < be; )
532
532
  be = k.lastIndexOf(`
533
- `, be - 2) + 1, --Ne;
533
+ `, be - 2) + 1, --Be;
534
534
  p(), b();
535
535
  }
536
- function De() {
537
- this.type = null, this.start = G, this.end = null;
536
+ function Ve() {
537
+ this.type = null, this.start = q, this.end = null;
538
538
  }
539
539
  function me() {
540
540
  this.start = zt, this.end = null, Kt && (this.source = Kt);
541
541
  }
542
- function L() {
543
- var a = new De();
544
- return R.C && (a.X = new me()), R.vb && (a.sourceFile = R.vb), R.Xa && (a.j = [G, 0]), a;
542
+ function M() {
543
+ var a = new Ve();
544
+ return A.C && (a.X = new me()), A.vb && (a.sourceFile = A.vb), A.Xa && (a.j = [q, 0]), a;
545
545
  }
546
546
  function ce(a) {
547
- var l = new De();
548
- return l.start = a.start, R.C && (l.X = new me(), l.X.start = a.X.start), R.Xa && (l.j = [a.j[0], 0]), l;
547
+ var l = new Ve();
548
+ return l.start = a.start, A.C && (l.X = new me(), l.X.start = a.X.start), A.Xa && (l.j = [a.j[0], 0]), l;
549
549
  }
550
550
  function E(a, l) {
551
- return a.type = l, a.end = Re, R.C && (a.X.end = _t), R.Xa && (a.j[1] = Re), a;
551
+ return a.type = l, a.end = Ae, A.C && (a.X.end = _t), A.Xa && (a.j[1] = Ae), a;
552
552
  }
553
553
  function ge(a) {
554
554
  return a.type === "ExpressionStatement" && a.la.type === "Literal" && a.la.value === "use strict";
@@ -557,87 +557,87 @@ var B, si = function(e) {
557
557
  return x === a ? ($(), !0) : !1;
558
558
  }
559
559
  function Ct() {
560
- return !R.fc && (x === Jt || x === Me || At.test(k.slice(Re, G)));
560
+ return !A.fc && (x === Jt || x === Le || Rt.test(k.slice(Ae, q)));
561
561
  }
562
- function Be() {
562
+ function Ne() {
563
563
  W(Se) || Ct() || ye();
564
564
  }
565
565
  function H(a) {
566
566
  x === a ? $() : ye();
567
567
  }
568
568
  function ye() {
569
- r(G, "Unexpected token");
569
+ r(q, "Unexpected token");
570
570
  }
571
571
  function wt(a) {
572
572
  a.type !== "Identifier" && a.type !== "MemberExpression" && r(a.start, "Assigning to rvalue"), oe && a.type === "Identifier" && xt(a.name) && r(a.start, "Assigning to " + a.name + " in strict mode");
573
573
  }
574
574
  function pe() {
575
575
  (x === fr || x === Ue && ae === "/=") && b(!0);
576
- var a = x, l = L();
576
+ var a = x, l = M();
577
577
  switch (a) {
578
578
  case Xt:
579
579
  case _n:
580
580
  $();
581
581
  var c = a === Xt;
582
- W(Se) || Ct() ? l.label = null : x !== We ? ye() : (l.label = ve(), Be());
582
+ W(Se) || Ct() ? l.label = null : x !== We ? ye() : (l.label = ve(), Ne());
583
583
  for (var f = 0; f < K.length; ++f) {
584
- var A = K[f];
585
- if ((l.label === null || A.name === l.label.name) && (A.kind !== null && (c || A.kind === "loop") || l.label && c))
584
+ var R = K[f];
585
+ if ((l.label === null || R.name === l.label.name) && (R.kind !== null && (c || R.kind === "loop") || l.label && c))
586
586
  break;
587
587
  }
588
588
  return f === K.length && r(l.start, "Unsyntactic " + a.l), E(l, c ? "BreakStatement" : "ContinueStatement");
589
589
  case Jn:
590
- return $(), Be(), E(l, "DebuggerStatement");
590
+ return $(), Ne(), E(l, "DebuggerStatement");
591
591
  case Yn:
592
- return $(), K.push(on), l.body = pe(), K.pop(), H(tn), l.test = Je(), Be(), E(l, "DoWhileStatement");
592
+ return $(), K.push(on), l.body = pe(), K.pop(), H(tn), l.test = Xe(), Ne(), E(l, "DoWhileStatement");
593
593
  case er:
594
- return $(), K.push(on), H(ke), x === Se ? Vt(l, null) : x === en ? (a = L(), $(), Kn(a, !0), E(a, "VariableDeclaration"), a.fa.length === 1 && W(It) ? Hn(l, a) : Vt(l, a)) : (a = Q(!1, !0), W(It) ? (wt(a), Hn(l, a)) : Vt(l, a));
594
+ return $(), K.push(on), H(ke), x === Se ? Dt(l, null) : x === en ? (a = M(), $(), Kn(a, !0), E(a, "VariableDeclaration"), a.fa.length === 1 && W(It) ? Hn(l, a) : Dt(l, a)) : (a = Q(!1, !0), W(It) ? (wt(a), Hn(l, a)) : Dt(l, a));
595
595
  case Zt:
596
- return $(), Lt(l, !0);
596
+ return $(), Mt(l, !0);
597
597
  case tr:
598
- return $(), l.test = Je(), l.da = pe(), l.alternate = W(Zn) ? pe() : null, E(l, "IfStatement");
598
+ return $(), l.test = Xe(), l.da = pe(), l.alternate = W(Zn) ? pe() : null, E(l, "IfStatement");
599
599
  case nr:
600
- return Qe || R.Ib || r(G, "'return' outside of function"), $(), W(Se) || Ct() ? l.K = null : (l.K = Q(), Be()), E(l, "ReturnStatement");
600
+ return et || A.Ib || r(q, "'return' outside of function"), $(), W(Se) || Ct() ? l.K = null : (l.K = Q(), Ne()), E(l, "ReturnStatement");
601
601
  case Qt:
602
- for ($(), l.Qb = Je(), l.tb = [], H(tt), K.push(Mo); x !== Me; )
603
- x === Yt || x === Xn ? (a = x === Yt, f && E(f, "SwitchCase"), l.tb.push(f = L()), f.da = [], $(), a ? f.test = Q() : (c && r(qt, "Multiple default clauses"), c = !0, f.test = null), H(nt)) : (f || ye(), f.da.push(pe()));
602
+ for ($(), l.Qb = Xe(), l.tb = [], H(nt), K.push(Lo); x !== Le; )
603
+ x === Yt || x === Xn ? (a = x === Yt, f && E(f, "SwitchCase"), l.tb.push(f = M()), f.da = [], $(), a ? f.test = Q() : (c && r(qt, "Multiple default clauses"), c = !0, f.test = null), H(rt)) : (f || ye(), f.da.push(pe()));
604
604
  return f && E(f, "SwitchCase"), $(), K.pop(), E(l, "SwitchStatement");
605
605
  case rr:
606
- return $(), At.test(k.slice(Re, G)) && r(Re, "Illegal newline after throw"), l.K = Q(), Be(), E(l, "ThrowStatement");
606
+ return $(), Rt.test(k.slice(Ae, q)) && r(Ae, "Illegal newline after throw"), l.K = Q(), Ne(), E(l, "ThrowStatement");
607
607
  case or:
608
- return $(), l.block = Xe(), l.Ea = null, x === qn && (a = L(), $(), H(ke), a.Ua = ve(), oe && xt(a.Ua.name) && r(a.Ua.start, "Binding " + a.Ua.name + " in strict mode"), H(fe), a.body = Xe(), l.Ea = E(a, "CatchClause")), l.fb = W(Qn) ? Xe() : null, l.Ea || l.fb || r(l.start, "Missing catch or finally clause"), E(l, "TryStatement");
608
+ return $(), l.block = Ye(), l.Ea = null, x === qn && (a = M(), $(), H(ke), a.Ua = ve(), oe && xt(a.Ua.name) && r(a.Ua.start, "Binding " + a.Ua.name + " in strict mode"), H(fe), a.body = Ye(), l.Ea = E(a, "CatchClause")), l.fb = W(Qn) ? Ye() : null, l.Ea || l.fb || r(l.start, "Missing catch or finally clause"), E(l, "TryStatement");
609
609
  case en:
610
- return $(), Kn(l), Be(), E(l, "VariableDeclaration");
610
+ return $(), Kn(l), Ne(), E(l, "VariableDeclaration");
611
611
  case tn:
612
- return $(), l.test = Je(), K.push(on), l.body = pe(), K.pop(), E(l, "WhileStatement");
612
+ return $(), l.test = Xe(), K.push(on), l.body = pe(), K.pop(), E(l, "WhileStatement");
613
613
  case ir:
614
- return oe && r(G, "'with' in strict mode"), $(), l.object = Je(), l.body = pe(), E(l, "WithStatement");
615
- case tt:
616
- return Xe();
614
+ return oe && r(q, "'with' in strict mode"), $(), l.object = Xe(), l.body = pe(), E(l, "WithStatement");
615
+ case nt:
616
+ return Ye();
617
617
  case Se:
618
618
  return $(), E(l, "EmptyStatement");
619
619
  default:
620
- if (c = ae, A = Q(), a === We && A.type === "Identifier" && W(nt)) {
620
+ if (c = ae, R = Q(), a === We && R.type === "Identifier" && W(rt)) {
621
621
  for (f = 0; f < K.length; ++f)
622
- K[f].name === c && r(A.start, "Label '" + c + "' is already declared");
622
+ K[f].name === c && r(R.start, "Label '" + c + "' is already declared");
623
623
  return K.push({
624
624
  name: c,
625
625
  kind: x.W ? "loop" : x === Qt ? "switch" : null
626
- }), l.body = pe(), K.pop(), l.label = A, E(l, "LabeledStatement");
626
+ }), l.body = pe(), K.pop(), l.label = R, E(l, "LabeledStatement");
627
627
  }
628
- return l.la = A, Be(), E(l, "ExpressionStatement");
628
+ return l.la = R, Ne(), E(l, "ExpressionStatement");
629
629
  }
630
630
  }
631
- function Je() {
631
+ function Xe() {
632
632
  H(ke);
633
633
  var a = Q();
634
634
  return H(fe), a;
635
635
  }
636
- function Xe(a) {
637
- var l = L(), c = !0, f = !1;
638
- for (l.body = [], H(tt); !W(Me); ) {
639
- var A = pe();
640
- if (l.body.push(A), c && a && ge(A)) {
636
+ function Ye(a) {
637
+ var l = M(), c = !0, f = !1;
638
+ for (l.body = [], H(nt); !W(Le); ) {
639
+ var R = pe();
640
+ if (l.body.push(R), c && a && ge(R)) {
641
641
  var _ = f;
642
642
  F(f = !0);
643
643
  }
@@ -645,7 +645,7 @@ var B, si = function(e) {
645
645
  }
646
646
  return f && !_ && F(!1), E(l, "BlockStatement");
647
647
  }
648
- function Vt(a, l) {
648
+ function Dt(a, l) {
649
649
  return a.ua = l, H(Se), a.test = x === Se ? null : Q(), H(Se), a.update = x === fe ? null : Q(), H(fe), a.body = pe(), K.pop(), E(a, "ForStatement");
650
650
  }
651
651
  function Hn(a, l) {
@@ -653,7 +653,7 @@ var B, si = function(e) {
653
653
  }
654
654
  function Kn(a, l) {
655
655
  for (a.fa = [], a.kind = "var"; ; ) {
656
- var c = L();
656
+ var c = M();
657
657
  if (c.id = ve(), oe && xt(c.id.name) && r(c.id.start, "Binding " + c.id.name + " in strict mode"), c.ua = W(hr) ? Q(!0, l) : null, a.fa.push(E(c, "VariableDeclarator")), !W($e))
658
658
  break;
659
659
  }
@@ -668,79 +668,79 @@ var B, si = function(e) {
668
668
  return c;
669
669
  }
670
670
  function Ft(a) {
671
- var l = Wt(Mt(), -1, a);
671
+ var l = Wt(Lt(), -1, a);
672
672
  if (W(dr)) {
673
673
  var c = ce(l);
674
- c.test = l, c.da = Q(!0), H(nt), c.alternate = Q(!0, a), l = E(c, "ConditionalExpression");
674
+ c.test = l, c.da = Q(!0), H(rt), c.alternate = Q(!0, a), l = E(c, "ConditionalExpression");
675
675
  }
676
676
  return x.Cb ? (c = ce(l), c.operator = ae, c.left = l, $(), c.right = Ft(a), wt(l), E(c, "AssignmentExpression")) : l;
677
677
  }
678
678
  function Wt(a, l, c) {
679
679
  var f = x.L;
680
680
  if (f !== null && (!c || x !== It) && f > l) {
681
- var A = ce(a);
682
- return A.left = a, A.operator = ae, a = x, $(), A.right = Wt(Mt(), f, c), f = E(A, a === gr || a === yr ? "LogicalExpression" : "BinaryExpression"), Wt(f, l, c);
681
+ var R = ce(a);
682
+ return R.left = a, R.operator = ae, a = x, $(), R.right = Wt(Lt(), f, c), f = E(R, a === gr || a === yr ? "LogicalExpression" : "BinaryExpression"), Wt(f, l, c);
683
683
  }
684
684
  return a;
685
685
  }
686
- function Mt() {
686
+ function Lt() {
687
687
  if (x.prefix) {
688
- var a = L(), l = x.$b;
689
- return a.operator = ae, Ze = a.prefix = !0, $(), a.K = Mt(), l ? wt(a.K) : oe && a.operator === "delete" && a.K.type === "Identifier" && r(a.start, "Deleting local variable in strict mode"), E(a, l ? "UpdateExpression" : "UnaryExpression");
688
+ var a = M(), l = x.$b;
689
+ return a.operator = ae, Qe = a.prefix = !0, $(), a.K = Lt(), l ? wt(a.K) : oe && a.operator === "delete" && a.K.type === "Identifier" && r(a.start, "Deleting local variable in strict mode"), E(a, l ? "UpdateExpression" : "UnaryExpression");
690
690
  }
691
- for (l = Ye(Et()); x.cc && !Ct(); )
691
+ for (l = Ze(Et()); x.cc && !Ct(); )
692
692
  a = ce(l), a.operator = ae, a.prefix = !1, a.K = l, wt(l), $(), l = E(a, "UpdateExpression");
693
693
  return l;
694
694
  }
695
- function Ye(a, l) {
695
+ function Ze(a, l) {
696
696
  if (W(pr)) {
697
697
  var c = ce(a);
698
- return c.object = a, c.Wa = ve(!0), c.bb = !1, Ye(E(c, "MemberExpression"), l);
698
+ return c.object = a, c.Wa = ve(!0), c.bb = !1, Ze(E(c, "MemberExpression"), l);
699
699
  }
700
- return W(nn) ? (c = ce(a), c.object = a, c.Wa = Q(), c.bb = !0, H(rn), Ye(E(c, "MemberExpression"), l)) : !l && W(ke) ? (c = ce(a), c.callee = a, c.arguments = Ht(fe, !1), Ye(E(c, "CallExpression"), l)) : a;
700
+ return W(nn) ? (c = ce(a), c.object = a, c.Wa = Q(), c.bb = !0, H(rn), Ze(E(c, "MemberExpression"), l)) : !l && W(ke) ? (c = ce(a), c.callee = a, c.arguments = Ht(fe, !1), Ze(E(c, "CallExpression"), l)) : a;
701
701
  }
702
702
  function Et() {
703
703
  switch (x) {
704
704
  case ar:
705
- var a = L();
705
+ var a = M();
706
706
  return $(), E(a, "ThisExpression");
707
707
  case We:
708
708
  return ve();
709
- case et:
709
+ case tt:
710
710
  case Tt:
711
711
  case Gn:
712
- return a = L(), a.value = ae, a.raw = k.slice(G, Fe), $(), E(a, "Literal");
712
+ return a = M(), a.value = ae, a.raw = k.slice(q, Fe), $(), E(a, "Literal");
713
713
  case lr:
714
714
  case ur:
715
715
  case cr:
716
- return a = L(), a.value = x.$a, a.raw = x.l, $(), E(a, "Literal");
716
+ return a = M(), a.value = x.$a, a.raw = x.l, $(), E(a, "Literal");
717
717
  case ke:
718
718
  a = zt;
719
- var l = G;
719
+ var l = q;
720
720
  $();
721
721
  var c = Q();
722
- return c.start = l, c.end = Fe, R.C && (c.X.start = a, c.X.end = Gt), R.Xa && (c.j = [l, Fe]), H(fe), c;
722
+ return c.start = l, c.end = Fe, A.C && (c.X.start = a, c.X.end = Gt), A.Xa && (c.j = [l, Fe]), H(fe), c;
723
723
  case nn:
724
- return a = L(), $(), a.elements = Ht(rn, !0, !0), E(a, "ArrayExpression");
725
- case tt:
726
- for (a = L(), l = !0, c = !1, a.h = [], $(); !W(Me); ) {
724
+ return a = M(), $(), a.elements = Ht(rn, !0, !0), E(a, "ArrayExpression");
725
+ case nt:
726
+ for (a = M(), l = !0, c = !1, a.h = [], $(); !W(Le); ) {
727
727
  if (l)
728
728
  l = !1;
729
- else if (H($e), R.sb && W(Me))
729
+ else if (H($e), A.sb && W(Le))
730
730
  break;
731
731
  var f = {
732
- key: x === et || x === Tt ? Et() : ve(!0)
733
- }, A = !1;
734
- if (W(nt)) {
732
+ key: x === tt || x === Tt ? Et() : ve(!0)
733
+ }, R = !1;
734
+ if (W(rt)) {
735
735
  f.value = Q(!0);
736
736
  var _ = f.kind = "init";
737
737
  } else
738
- f.key.type !== "Identifier" || f.key.name !== "get" && f.key.name !== "set" ? ye() : (A = c = !0, _ = f.kind = f.key.name, f.key = x === et || x === Tt ? Et() : ve(!0), x !== ke && ye(), f.value = Lt(L(), !1));
738
+ f.key.type !== "Identifier" || f.key.name !== "get" && f.key.name !== "set" ? ye() : (R = c = !0, _ = f.kind = f.key.name, f.key = x === tt || x === Tt ? Et() : ve(!0), x !== ke && ye(), f.value = Mt(M(), !1));
739
739
  if (f.key.type === "Identifier" && (oe || c))
740
740
  for (var ee = 0; ee < a.h.length; ++ee) {
741
741
  var He = a.h[ee];
742
742
  if (He.key.name === f.key.name) {
743
- var sn = _ === He.kind || A && He.kind === "init" || _ === "init" && (He.kind === "get" || He.kind === "set");
743
+ var sn = _ === He.kind || R && He.kind === "init" || _ === "init" && (He.kind === "get" || He.kind === "set");
744
744
  sn && !oe && _ === "init" && He.kind === "init" && (sn = !1), sn && r(f.key.start, "Redefinition of property");
745
745
  }
746
746
  }
@@ -748,48 +748,48 @@ var B, si = function(e) {
748
748
  }
749
749
  return E(a, "ObjectExpression");
750
750
  case Zt:
751
- return a = L(), $(), Lt(a, !1);
751
+ return a = M(), $(), Mt(a, !1);
752
752
  case sr:
753
- return a = L(), $(), a.callee = Ye(Et(), !0), a.arguments = W(ke) ? Ht(fe, !1) : Io, E(a, "NewExpression");
753
+ return a = M(), $(), a.callee = Ze(Et(), !0), a.arguments = W(ke) ? Ht(fe, !1) : Io, E(a, "NewExpression");
754
754
  }
755
755
  ye();
756
756
  }
757
- function Lt(a, l) {
757
+ function Mt(a, l) {
758
758
  x === We ? a.id = ve() : l ? ye() : a.id = null, a.oa = [];
759
759
  var c = !0;
760
760
  for (H(ke); !W(fe); )
761
761
  c ? c = !1 : H($e), a.oa.push(ve());
762
- c = Qe;
762
+ c = et;
763
763
  var f = K;
764
- if (Qe = !0, K = [], a.body = Xe(!0), Qe = c, K = f, oe || a.body.body.length && ge(a.body.body[0])) {
764
+ if (et = !0, K = [], a.body = Ye(!0), et = c, K = f, oe || a.body.body.length && ge(a.body.body[0])) {
765
765
  for (c = a.id ? -1 : 0; c < a.oa.length; ++c)
766
766
  if (f = 0 > c ? a.id : a.oa[c], (vr(f.name) || xt(f.name)) && r(f.start, "Defining '" + f.name + "' in strict mode"), 0 <= c)
767
- for (var A = 0; A < c; ++A)
768
- f.name === a.oa[A].name && r(f.start, "Argument name clash in strict mode");
767
+ for (var R = 0; R < c; ++R)
768
+ f.name === a.oa[R].name && r(f.start, "Argument name clash in strict mode");
769
769
  }
770
770
  return E(a, l ? "FunctionDeclaration" : "FunctionExpression");
771
771
  }
772
772
  function Ht(a, l, c) {
773
- for (var f = [], A = !0; !W(a); ) {
774
- if (A)
775
- A = !1;
776
- else if (H($e), l && R.sb && W(a))
773
+ for (var f = [], R = !0; !W(a); ) {
774
+ if (R)
775
+ R = !1;
776
+ else if (H($e), l && A.sb && W(a))
777
777
  break;
778
778
  f.push(c && x === $e ? null : Q(!0));
779
779
  }
780
780
  return f;
781
781
  }
782
782
  function ve(a) {
783
- var l = L();
784
- return a && R.yb === "everywhere" && (a = !1), x === We ? (!a && (R.yb && Do(ae) || oe && vr(ae)) && k.slice(G, Fe).indexOf("\\") === -1 && r(G, "The keyword '" + ae + "' is reserved"), l.name = ae) : a && x.l ? l.name = x.l : ye(), Ze = !1, $(), E(l, "Identifier");
783
+ var l = M();
784
+ return a && A.yb === "everywhere" && (a = !1), x === We ? (!a && (A.yb && Vo(ae) || oe && vr(ae)) && k.slice(q, Fe).indexOf("\\") === -1 && r(q, "The keyword '" + ae + "' is reserved"), l.name = ae) : a && x.l ? l.name = x.l : ye(), Qe = !1, $(), E(l, "Identifier");
785
785
  }
786
786
  e.version = "0.5.0";
787
- var R, k = "", Ve, Kt;
787
+ var A, k = "", De, Kt;
788
788
  e.parse = function(a, l) {
789
- k = String(a), Ve = k.length, R = l || {};
789
+ k = String(a), De = k.length, A = l || {};
790
790
  for (var c in zn)
791
- Object.prototype.hasOwnProperty.call(R, c) || (R[c] = zn[c]);
792
- for (Kt = R.sourceFile, Ne = 1, d = be = 0, Ze = !0, p(), c = R.dc, qt = Re = d, R.C && (_t = new i()), Qe = oe = !1, K = [], b(), a = c || L(), l = !0, c || (a.body = []); x !== Jt; )
791
+ Object.prototype.hasOwnProperty.call(A, c) || (A[c] = zn[c]);
792
+ for (Kt = A.sourceFile, Be = 1, d = be = 0, Qe = !0, p(), c = A.dc, qt = Ae = d, A.C && (_t = new i()), et = oe = !1, K = [], b(), a = c || M(), l = !0, c || (a.body = []); x !== Jt; )
793
793
  c = pe(), a.body.push(c), l && ge(c) && F(!0), l = !1;
794
794
  return E(a, "Program");
795
795
  };
@@ -804,7 +804,7 @@ var B, si = function(e) {
804
804
  dc: null,
805
805
  sourceFile: null,
806
806
  vb: null
807
- }, d = 0, G = 0, Fe = 0, zt, Gt, x, ae, Ze, Ne, be, qt = 0, Re = 0, _t, Qe, K, oe, Io = [], et = {
807
+ }, d = 0, q = 0, Fe = 0, zt, Gt, x, ae, Qe, Be, be, qt = 0, Ae = 0, _t, et, K, oe, Io = [], tt = {
808
808
  type: "num"
809
809
  }, Gn = {
810
810
  type: "regexp"
@@ -928,10 +928,10 @@ var B, si = function(e) {
928
928
  m: !0
929
929
  }, rn = {
930
930
  type: "]"
931
- }, tt = {
931
+ }, nt = {
932
932
  type: "{",
933
933
  m: !0
934
- }, Me = {
934
+ }, Le = {
935
935
  type: "}"
936
936
  }, ke = {
937
937
  type: "(",
@@ -944,7 +944,7 @@ var B, si = function(e) {
944
944
  }, Se = {
945
945
  type: ";",
946
946
  m: !0
947
- }, nt = {
947
+ }, rt = {
948
948
  type: ":",
949
949
  m: !0
950
950
  }, pr = {
@@ -961,7 +961,7 @@ var B, si = function(e) {
961
961
  }, Ue = {
962
962
  Cb: !0,
963
963
  m: !0
964
- }, Ao = {
964
+ }, Ro = {
965
965
  cc: !0,
966
966
  prefix: !0,
967
967
  $b: !0
@@ -974,7 +974,7 @@ var B, si = function(e) {
974
974
  }, yr = {
975
975
  L: 2,
976
976
  m: !0
977
- }, Ro = {
977
+ }, Ao = {
978
978
  L: 3,
979
979
  m: !0
980
980
  }, $o = {
@@ -989,25 +989,25 @@ var B, si = function(e) {
989
989
  }, jo = {
990
990
  L: 7,
991
991
  m: !0
992
- }, Bo = {
992
+ }, No = {
993
993
  L: 8,
994
994
  m: !0
995
- }, No = {
995
+ }, Bo = {
996
996
  L: 9,
997
997
  prefix: !0,
998
998
  m: !0
999
999
  }, Uo = {
1000
1000
  L: 10,
1001
1001
  m: !0
1002
- }, Do = o("class enum extends super const export import"), vr = o("implements interface let package private protected public static yield"), xt = o("eval arguments"), Vo = 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"), Fo = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, br = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"), Wo = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‌‍‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"), At = /[\n\r\u2028\u2029]/, Rt = /\r\n|[\n\r\u2028\u2029]/g, Le, on = {
1002
+ }, Vo = o("class enum extends super const export import"), vr = o("implements interface let package private protected public static yield"), xt = o("eval arguments"), Do = 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"), Fo = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, br = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"), Wo = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‌‍‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"), Rt = /[\n\r\u2028\u2029]/, At = /\r\n|[\n\r\u2028\u2029]/g, Me, on = {
1003
1003
  kind: "loop"
1004
- }, Mo = {
1004
+ }, Lo = {
1005
1005
  kind: "switch"
1006
1006
  };
1007
1007
  }, hn = hn = typeof globalThis > "u" ? void 0 : globalThis;
1008
1008
  si(hn.j || (hn.j = {}));
1009
1009
  function h(e, t) {
1010
- typeof e == "string" && (e = ze(e, "code"));
1010
+ typeof e == "string" && (e = Ge(e, "code"));
1011
1011
  var n = e.constructor;
1012
1012
  this.ya = function() {
1013
1013
  return new n({
@@ -1021,7 +1021,7 @@ function h(e, t) {
1021
1021
  var i, s;
1022
1022
  for (s in this)
1023
1023
  typeof this[s] == "function" && (i = s.match(e)) && (this.rb[i[1]] = this[s].bind(this));
1024
- this.N = gn(this, this.ra, null), this.Na = this.N.object, this.ra = ze(this.ba.join(`
1024
+ this.N = gn(this, this.ra, null), this.Na = this.N.object, this.ra = Ge(this.ba.join(`
1025
1025
  `), "polyfills"), this.ba = void 0, Ut(this.ra), i = new C(this.ra, this.N), i.done = !1, this.o = [i], this.Eb(), this.value = void 0, this.ra = r, i = new C(this.ra, this.N), i.done = !1, this.o.length = 0, this.o[0] = i;
1026
1026
  }
1027
1027
  var kr = {
@@ -1039,7 +1039,7 @@ var kr = {
1039
1039
  configurable: !0,
1040
1040
  enumerable: !1,
1041
1041
  writable: !1
1042
- }, ot = {
1042
+ }, it = {
1043
1043
  configurable: !1,
1044
1044
  enumerable: !1,
1045
1045
  writable: !1
@@ -1049,18 +1049,18 @@ var kr = {
1049
1049
  writable: !0
1050
1050
  }, Hr = {
1051
1051
  STEP_ERROR: !0
1052
- }, qe = {
1052
+ }, _e = {
1053
1053
  SCOPE_REFERENCE: !0
1054
1054
  }, mt = {
1055
1055
  VALUE_IN_DESCRIPTOR: !0
1056
1056
  }, Ke = {
1057
1057
  REGEXP_TIMEOUT: !0
1058
- }, Cr = [], we = null, ct = null, Oe = typeof globalThis > "u" ? void 0 : globalThis, ai = ["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();", "};"];
1058
+ }, Cr = [], we = null, pt = null, Oe = typeof globalThis > "u" ? void 0 : globalThis, ai = ["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();", "};"];
1059
1059
  function wn(e) {
1060
1060
  var t = e >>> 0;
1061
1061
  return t === Number(e) ? t : NaN;
1062
1062
  }
1063
- function pt(e) {
1063
+ function dt(e) {
1064
1064
  var t = e >>> 0;
1065
1065
  return String(t) === String(e) && t !== 4294967295 ? t : NaN;
1066
1066
  }
@@ -1075,26 +1075,26 @@ function Ut(e, t, n) {
1075
1075
  h.prototype.REGEXP_MODE = 2;
1076
1076
  h.prototype.REGEXP_THREAD_TIMEOUT = 1e3;
1077
1077
  h.prototype.POLYFILL_TIMEOUT = 1e3;
1078
- B = h.prototype;
1079
- B.P = !1;
1080
- B.Ka = !1;
1081
- B.Kb = 0;
1082
- B.ic = 0;
1083
- function ze(e, t) {
1078
+ N = h.prototype;
1079
+ N.P = !1;
1080
+ N.Ka = !1;
1081
+ N.Kb = 0;
1082
+ N.ic = 0;
1083
+ function Ge(e, t) {
1084
1084
  var n = {}, r;
1085
1085
  for (r in kr)
1086
1086
  n[r] = kr[r];
1087
1087
  return n.sourceFile = t, Oe.j.parse(e, n);
1088
1088
  }
1089
- B.Jb = function(e) {
1089
+ N.Jb = function(e) {
1090
1090
  var t = this.o[0];
1091
1091
  if (!t || t.node.type !== "Program")
1092
1092
  throw Error("Expecting original AST to start with a Program node");
1093
- if (typeof e == "string" && (e = ze(e, "appendCode" + this.Kb++)), !e || e.type !== "Program")
1093
+ if (typeof e == "string" && (e = Ge(e, "appendCode" + this.Kb++)), !e || e.type !== "Program")
1094
1094
  throw Error("Expecting new AST to start with a Program node");
1095
1095
  gt(this, e, t.scope), Array.prototype.push.apply(t.node.body, e.body), t.node.body.jb = null, t.done = !1;
1096
1096
  };
1097
- B.lb = function() {
1097
+ N.lb = function() {
1098
1098
  var e = this.o, t;
1099
1099
  do {
1100
1100
  var n = e[e.length - 1];
@@ -1114,15 +1114,15 @@ B.lb = function() {
1114
1114
  break;
1115
1115
  }
1116
1116
  r = n.node;
1117
- var o = ct;
1118
- ct = this;
1117
+ var o = pt;
1118
+ pt = this;
1119
1119
  try {
1120
1120
  var i = this.rb[r.type](e, n, r);
1121
1121
  } catch (s) {
1122
1122
  if (s !== Hr)
1123
1123
  throw this.value !== s && (this.value = void 0), s;
1124
1124
  } finally {
1125
- ct = o;
1125
+ pt = o;
1126
1126
  }
1127
1127
  if (i && e.push(i), this.P)
1128
1128
  throw this.value = void 0, Error("Getter not supported in this context");
@@ -1132,13 +1132,13 @@ B.lb = function() {
1132
1132
  } while (!r.end && t > Date.now());
1133
1133
  return !0;
1134
1134
  };
1135
- B.Eb = function() {
1135
+ N.Eb = function() {
1136
1136
  for (; !this.za && this.lb(); )
1137
1137
  ;
1138
1138
  return this.za;
1139
1139
  };
1140
1140
  function li(e, t) {
1141
- e.g(t, "NaN", NaN, ot), e.g(t, "Infinity", 1 / 0, ot), e.g(t, "undefined", void 0, ot), e.g(t, "window", t, Cn), e.g(t, "this", t, ot), e.g(t, "self", t), e.M = new P(null), e.Z = new P(e.M), ui(e, t), ci(e, t), t.xa = e.M, e.g(t, "constructor", e.v, S), pi(e, t), di(e, t), fi(e, t), hi(e, t), mi(e, t), gi(e, t), yi(e, t), vi(e, t), bi(e, t);
1141
+ e.g(t, "NaN", NaN, it), e.g(t, "Infinity", 1 / 0, it), e.g(t, "undefined", void 0, it), e.g(t, "window", t, Cn), e.g(t, "this", t, it), e.g(t, "self", t), e.M = new P(null), e.Z = new P(e.M), ui(e, t), ci(e, t), t.xa = e.M, e.g(t, "constructor", e.v, S), pi(e, t), di(e, t), fi(e, t), hi(e, t), mi(e, t), gi(e, t), yi(e, t), vi(e, t), bi(e, t);
1142
1142
  var n = e.i(function() {
1143
1143
  throw EvalError("Can't happen");
1144
1144
  }, !1);
@@ -1163,7 +1163,7 @@ function li(e, t) {
1163
1163
  Er(e, i);
1164
1164
  }, e.g(t, "clearInterval", e.i(n, !1), S), 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);
1165
1165
  }
1166
- B.Wb = 0;
1166
+ N.Wb = 0;
1167
1167
  function ui(e, t) {
1168
1168
  var n = /^[A-Za-z_$][\w$]*$/, r = function(o) {
1169
1169
  var i = arguments.length ? String(arguments[arguments.length - 1]) : "", s = Array.prototype.slice.call(arguments, 0, -1).join(",").trim();
@@ -1176,7 +1176,7 @@ function ui(e, t) {
1176
1176
  s = s.join(", ");
1177
1177
  }
1178
1178
  try {
1179
- var m = ze("(function(" + s + ") {" + i + "})", "function" + e.Wb++);
1179
+ var m = Ge("(function(" + s + ") {" + i + "})", "function" + e.Wb++);
1180
1180
  } catch (b) {
1181
1181
  w(e, e.T, "Invalid code: " + b.message);
1182
1182
  }
@@ -1245,7 +1245,7 @@ function ci(e, t) {
1245
1245
  }
1246
1246
  function pi(e, t) {
1247
1247
  var n = function(r) {
1248
- var o = xe(e) ? this : Ge(e), i = arguments[0];
1248
+ var o = xe(e) ? this : qe(e), i = arguments[0];
1249
1249
  if (arguments.length === 1 && typeof i == "number")
1250
1250
  isNaN(wn(i)) && w(e, e.ob, "Invalid array length: " + i), o.h.length = i;
1251
1251
  else {
@@ -1278,15 +1278,15 @@ function di(e, t) {
1278
1278
  }
1279
1279
  }, J(e, e.J, "localeCompare", n), n = function(r, o, i) {
1280
1280
  var s = String(this);
1281
- if (o = o ? Number(o) : void 0, Y(e, r, e.I) && (r = r.data, st(e, r, i), e.REGEXP_MODE === 2)) {
1281
+ if (o = o ? Number(o) : void 0, Y(e, r, e.I) && (r = r.data, at(e, r, i), e.REGEXP_MODE === 2)) {
1282
1282
  if (we)
1283
- r = it(e, "string.split(separator, limit)", {
1283
+ r = st(e, "string.split(separator, limit)", {
1284
1284
  string: s,
1285
1285
  separator: r,
1286
1286
  limit: o
1287
1287
  }, r, i), r !== Ke && i(Ce(e, r));
1288
1288
  else {
1289
- var u = e.ha(), p = at(e, r, u, i);
1289
+ var u = e.ha(), p = lt(e, r, u, i);
1290
1290
  u.onmessage = function(m) {
1291
1291
  clearTimeout(p), i(Ce(e, m.data));
1292
1292
  }, u.postMessage(["split", s, r, o]);
@@ -1294,49 +1294,49 @@ function di(e, t) {
1294
1294
  return;
1295
1295
  }
1296
1296
  r = s.split(r, o), i(Ce(e, r));
1297
- }, lt(e, e.J, "split", n), n = function(r, o) {
1297
+ }, ut(e, e.J, "split", n), n = function(r, o) {
1298
1298
  var i = String(this);
1299
- if (r = Y(e, r, e.I) ? r.data : new RegExp(r), st(e, r, o), e.REGEXP_MODE === 2)
1299
+ if (r = Y(e, r, e.I) ? r.data : new RegExp(r), at(e, r, o), e.REGEXP_MODE === 2)
1300
1300
  if (we)
1301
- r = it(e, "string.match(regexp)", {
1301
+ r = st(e, "string.match(regexp)", {
1302
1302
  string: i,
1303
1303
  regexp: r
1304
1304
  }, r, o), r !== Ke && o(r && Ce(e, r));
1305
1305
  else {
1306
- var s = e.ha(), u = at(e, r, s, o);
1306
+ var s = e.ha(), u = lt(e, r, s, o);
1307
1307
  s.onmessage = function(p) {
1308
1308
  clearTimeout(u), o(p.data && Ce(e, p.data));
1309
1309
  }, s.postMessage(["match", i, r]);
1310
1310
  }
1311
1311
  else
1312
1312
  r = i.match(r), o(r && Ce(e, r));
1313
- }, lt(e, e.J, "match", n), n = function(r, o) {
1313
+ }, ut(e, e.J, "match", n), n = function(r, o) {
1314
1314
  var i = String(this);
1315
- if (Y(e, r, e.I) ? r = r.data : r = new RegExp(r), st(e, r, o), e.REGEXP_MODE === 2)
1315
+ if (Y(e, r, e.I) ? r = r.data : r = new RegExp(r), at(e, r, o), e.REGEXP_MODE === 2)
1316
1316
  if (we)
1317
- r = it(e, "string.search(regexp)", {
1317
+ r = st(e, "string.search(regexp)", {
1318
1318
  string: i,
1319
1319
  regexp: r
1320
1320
  }, r, o), r !== Ke && o(r);
1321
1321
  else {
1322
- var s = e.ha(), u = at(e, r, s, o);
1322
+ var s = e.ha(), u = lt(e, r, s, o);
1323
1323
  s.onmessage = function(p) {
1324
1324
  clearTimeout(u), o(p.data);
1325
1325
  }, s.postMessage(["search", i, r]);
1326
1326
  }
1327
1327
  else
1328
1328
  o(i.search(r));
1329
- }, lt(e, e.J, "search", n), n = function(r, o, i) {
1329
+ }, ut(e, e.J, "search", n), n = function(r, o, i) {
1330
1330
  var s = String(this);
1331
- if (o = String(o), Y(e, r, e.I) && (r = r.data, st(e, r, i), e.REGEXP_MODE === 2)) {
1331
+ if (o = String(o), Y(e, r, e.I) && (r = r.data, at(e, r, i), e.REGEXP_MODE === 2)) {
1332
1332
  if (we)
1333
- r = it(e, "string.replace(substr, newSubstr)", {
1333
+ r = st(e, "string.replace(substr, newSubstr)", {
1334
1334
  string: s,
1335
1335
  substr: r,
1336
1336
  newSubstr: o
1337
1337
  }, r, i), r !== Ke && i(r);
1338
1338
  else {
1339
- var u = e.ha(), p = at(e, r, u, i);
1339
+ var u = e.ha(), p = lt(e, r, u, i);
1340
1340
  u.onmessage = function(m) {
1341
1341
  clearTimeout(p), i(m.data);
1342
1342
  }, u.postMessage(["replace", s, r, o]);
@@ -1344,7 +1344,7 @@ function di(e, t) {
1344
1344
  return;
1345
1345
  }
1346
1346
  i(s.replace(r, o));
1347
- }, lt(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;", "};", "})();", "");
1347
+ }, ut(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;", "};", "})();", "");
1348
1348
  }
1349
1349
  function fi(e, t) {
1350
1350
  e.mb = e.i(function(n) {
@@ -1356,7 +1356,7 @@ function hi(e, t) {
1356
1356
  return r = arguments.length ? Oe.Number(r) : 0, xe(e) ? (this.data = r, this) : r;
1357
1357
  };
1358
1358
  for (e.aa = e.i(n, !0), e.g(t, "Number", e.aa, S), t = ["MAX_VALUE", "MIN_VALUE", "NaN", "NEGATIVE_INFINITY", "POSITIVE_INFINITY"], n = 0; n < t.length; n++)
1359
- e.g(e.aa, t[n], Number[t[n]], ot);
1359
+ e.g(e.aa, t[n], Number[t[n]], it);
1360
1360
  n = function(r) {
1361
1361
  try {
1362
1362
  return Number(this).toExponential(r);
@@ -1435,21 +1435,21 @@ function gi(e, t) {
1435
1435
  return null;
1436
1436
  }
1437
1437
  var s = this.data;
1438
- if (r = String(r), s.lastIndex = Number(e.G(this, "lastIndex")), st(e, s, o), e.REGEXP_MODE === 2)
1438
+ if (r = String(r), s.lastIndex = Number(e.G(this, "lastIndex")), at(e, s, o), e.REGEXP_MODE === 2)
1439
1439
  if (we)
1440
- r = it(e, "regexp.exec(string)", {
1440
+ r = st(e, "regexp.exec(string)", {
1441
1441
  string: r,
1442
1442
  regexp: s
1443
1443
  }, s, o), r !== Ke && (e.g(this, "lastIndex", s.lastIndex), o(i(r)));
1444
1444
  else {
1445
- var u = e.ha(), p = at(e, s, u, o), m = this;
1445
+ var u = e.ha(), p = lt(e, s, u, o), m = this;
1446
1446
  u.onmessage = function(b) {
1447
1447
  clearTimeout(p), e.g(m, "lastIndex", b.data[1]), o(i(b.data[0]));
1448
1448
  }, u.postMessage(["exec", s, s.lastIndex, r]);
1449
1449
  }
1450
1450
  else
1451
1451
  r = s.exec(r), e.g(this, "lastIndex", s.lastIndex), o(i(r));
1452
- }, lt(e, e.I, "exec", n);
1452
+ }, ut(e, e.I, "exec", n);
1453
1453
  }
1454
1454
  function yi(e, t) {
1455
1455
  function n(r) {
@@ -1526,14 +1526,14 @@ function mn(e, t, n) {
1526
1526
  }
1527
1527
  e.g(t, "stack", i.trim(), S);
1528
1528
  }
1529
- B.ha = function() {
1529
+ N.ha = function() {
1530
1530
  var e = this.ha.Mb;
1531
1531
  return e || (e = new Blob([ai.join(`
1532
1532
  `)], {
1533
1533
  type: "application/javascript"
1534
1534
  }), this.ha.Mb = e), new Worker(URL.createObjectURL(e));
1535
1535
  };
1536
- function it(e, t, n, r, o) {
1536
+ function st(e, t, n, r, o) {
1537
1537
  var i = {
1538
1538
  timeout: e.REGEXP_THREAD_TIMEOUT
1539
1539
  };
@@ -1544,7 +1544,7 @@ function it(e, t, n, r, o) {
1544
1544
  }
1545
1545
  return Ke;
1546
1546
  }
1547
- function st(e, t, n) {
1547
+ function at(e, t, n) {
1548
1548
  if (e.REGEXP_MODE === 0)
1549
1549
  var r = !1;
1550
1550
  else if (e.REGEXP_MODE === 1)
@@ -1563,7 +1563,7 @@ function st(e, t, n) {
1563
1563
  r = !1;
1564
1564
  r || (n(null), w(e, e.D, "Regular expressions not supported: " + t));
1565
1565
  }
1566
- function at(e, t, n, r) {
1566
+ function lt(e, t, n, r) {
1567
1567
  return setTimeout(function() {
1568
1568
  n.terminate(), r(null);
1569
1569
  try {
@@ -1572,15 +1572,15 @@ function at(e, t, n, r) {
1572
1572
  }
1573
1573
  }, e.REGEXP_THREAD_TIMEOUT);
1574
1574
  }
1575
- B.Aa = function(e) {
1575
+ N.Aa = function(e) {
1576
1576
  return this.s(e && e.h.prototype);
1577
1577
  };
1578
- B.s = function(e) {
1578
+ N.s = function(e) {
1579
1579
  if (typeof e != "object")
1580
1580
  throw Error("Non object prototype");
1581
1581
  return e = new P(e), Y(this, e, this.D) && (e.H = "Error"), e;
1582
1582
  };
1583
- function Ge(e) {
1583
+ function qe(e) {
1584
1584
  var t = e.s(e.La);
1585
1585
  return e.g(t, "length", 0, {
1586
1586
  configurable: !1,
@@ -1596,14 +1596,14 @@ function In(e, t, n, r) {
1596
1596
  var o = Tn(e, t.oa.length, !0);
1597
1597
  return o.Va = n, o.node = t, e.g(o, "name", t.id ? String(t.id.name) : r || "", ne), o;
1598
1598
  }
1599
- B.i = function(e, t) {
1599
+ N.i = function(e, t) {
1600
1600
  return t = Tn(this, e.length, t), t.Ta = e, e.id = this.Ya++, this.g(t, "name", e.name, ne), t;
1601
1601
  };
1602
- B.ub = function(e) {
1602
+ N.ub = function(e) {
1603
1603
  var t = Tn(this, e.length, !0);
1604
1604
  return t.Za = e, e.id = this.Ya++, this.g(t, "name", e.name, ne), t;
1605
1605
  };
1606
- B.Ia = function(e) {
1606
+ N.Ia = function(e) {
1607
1607
  if (e instanceof P)
1608
1608
  throw Error("Object is already pseudo");
1609
1609
  if (e == null || e === !0 || e === !1 || typeof e == "string" || typeof e == "number")
@@ -1624,7 +1624,7 @@ B.Ia = function(e) {
1624
1624
  }, !!t);
1625
1625
  }
1626
1626
  if (Array.isArray(e)) {
1627
- t = Ge(this);
1627
+ t = qe(this);
1628
1628
  for (var r = 0; r < e.length; r++)
1629
1629
  r in e && this.g(t, r, this.Ia(e[r]));
1630
1630
  return t;
@@ -1634,7 +1634,7 @@ B.Ia = function(e) {
1634
1634
  this.g(t, r, this.Ia(e[r]));
1635
1635
  return t;
1636
1636
  };
1637
- B.R = function(e, t) {
1637
+ N.R = function(e, t) {
1638
1638
  if (typeof e != "object" && typeof e != "function" || e === null)
1639
1639
  return e;
1640
1640
  if (!(e instanceof P))
@@ -1653,7 +1653,7 @@ B.R = function(e, t) {
1653
1653
  if (t.hb.push(e), Y(this, e, this.qa)) {
1654
1654
  n = [], t.Sa.push(n);
1655
1655
  for (var r = this.G(e, "length"), o = 0; o < r; o++)
1656
- Dt(this, e, o) && (n[o] = this.R(this.G(e, o), t));
1656
+ Vt(this, e, o) && (n[o] = this.R(this.G(e, o), t));
1657
1657
  } else
1658
1658
  for (r in n = {}, t.Sa.push(n), e.h)
1659
1659
  o = this.R(e.h[r], t), Object.defineProperty(n, r, {
@@ -1665,7 +1665,7 @@ B.R = function(e, t) {
1665
1665
  return t.hb.pop(), t.Sa.pop(), n;
1666
1666
  };
1667
1667
  function Ce(e, t) {
1668
- for (var n = Ge(e), r = Object.getOwnPropertyNames(t), o = 0; o < r.length; o++)
1668
+ for (var n = qe(e), r = Object.getOwnPropertyNames(t), o = 0; o < r.length; o++)
1669
1669
  e.g(n, r[o], t[r[o]]);
1670
1670
  return n;
1671
1671
  }
@@ -1686,7 +1686,7 @@ function Te(e, t) {
1686
1686
  }
1687
1687
  return t ? t.xa : null;
1688
1688
  }
1689
- B.G = function(e, t) {
1689
+ N.G = function(e, t) {
1690
1690
  if (this.P)
1691
1691
  throw Error("Getter not supported in that context");
1692
1692
  if (t = String(t), e != null || w(this, this.j, "Cannot read property '" + t + "' of " + e), typeof e == "object" && !(e instanceof P))
@@ -1695,7 +1695,7 @@ B.G = function(e, t) {
1695
1695
  if (Y(this, e, this.J))
1696
1696
  return String(e).length;
1697
1697
  } else if (64 > t.charCodeAt(0) && Y(this, e, this.J)) {
1698
- var n = pt(t);
1698
+ var n = dt(t);
1699
1699
  if (!isNaN(n) && n < String(e).length)
1700
1700
  return String(e)[n];
1701
1701
  }
@@ -1704,13 +1704,13 @@ B.G = function(e, t) {
1704
1704
  return (n = e.V[t]) ? (this.P = !0, n) : e.h[t];
1705
1705
  while (e = Te(this, e));
1706
1706
  };
1707
- function Dt(e, t, n) {
1707
+ function Vt(e, t, n) {
1708
1708
  if (!(t instanceof P))
1709
1709
  throw TypeError("Primitive data type has no properties");
1710
1710
  if (n = String(n), n === "length" && Y(e, t, e.J))
1711
1711
  return !0;
1712
1712
  if (Y(e, t, e.J)) {
1713
- var r = pt(n);
1713
+ var r = dt(n);
1714
1714
  if (!isNaN(r) && r < String(t).length)
1715
1715
  return !0;
1716
1716
  }
@@ -1720,7 +1720,7 @@ function Dt(e, t, n) {
1720
1720
  while (t = Te(e, t));
1721
1721
  return !1;
1722
1722
  }
1723
- B.g = function(e, t, n, r) {
1723
+ N.g = function(e, t, n, r) {
1724
1724
  if (this.Ka)
1725
1725
  throw Error("Setter not supported in that context");
1726
1726
  if (t = String(t), e != null || w(this, this.j, "Cannot set property '" + t + "' of " + e), typeof e == "object" && !(e instanceof P))
@@ -1729,7 +1729,7 @@ B.g = function(e, t, n, r) {
1729
1729
  var o = !this.o || xn(this).S;
1730
1730
  if (e instanceof P) {
1731
1731
  if (Y(this, e, this.J)) {
1732
- var i = pt(t);
1732
+ var i = dt(t);
1733
1733
  if (t === "length" || !isNaN(i) && i < String(e).length) {
1734
1734
  o && w(this, this.j, "Cannot assign to read only property '" + t + "' of String '" + e.data + "'");
1735
1735
  return;
@@ -1744,11 +1744,11 @@ B.g = function(e, t, n, r) {
1744
1744
  }
1745
1745
  if (n = wn(n), isNaN(n) && w(this, this.ob, "Invalid array length"), n < i)
1746
1746
  for (s in e.h) {
1747
- var s = pt(s);
1747
+ var s = dt(s);
1748
1748
  !isNaN(s) && n <= s && delete e.h[s];
1749
1749
  }
1750
1750
  } else
1751
- isNaN(s = pt(t)) || (e.h.length = Math.max(i, s + 1));
1751
+ isNaN(s = dt(t)) || (e.h.length = Math.max(i, s + 1));
1752
1752
  if (!e.preventExtensions || t in e.h)
1753
1753
  if (r) {
1754
1754
  o = {}, "get" in r && r.get && (e.V[t] = r.get, o.get = this.g.ac), "set" in r && r.set && (e.Y[t] = r.set, o.set = this.g.bc), "configurable" in r && (o.configurable = r.configurable), "enumerable" in r && (o.enumerable = r.enumerable), "writable" in r && (o.writable = r.writable, delete e.V[t], delete e.Y[t]), "value" in r ? (o.value = r.value, delete e.V[t], delete e.Y[t]) : n !== mt && (o.value = n, delete e.V[t], delete e.Y[t]);
@@ -1782,16 +1782,16 @@ B.g = function(e, t, n, r) {
1782
1782
  } else
1783
1783
  o && w(this, this.j, "Can't create property '" + t + "' on '" + e + "'");
1784
1784
  };
1785
- B.g.ac = function() {
1785
+ N.g.ac = function() {
1786
1786
  throw Error("Placeholder getter");
1787
1787
  };
1788
- B.g.bc = function() {
1788
+ N.g.bc = function() {
1789
1789
  throw Error("Placeholder setter");
1790
1790
  };
1791
1791
  function J(e, t, n, r) {
1792
1792
  e.g(t.h.prototype, n, e.i(r, !1), S);
1793
1793
  }
1794
- function lt(e, t, n, r) {
1794
+ function ut(e, t, n, r) {
1795
1795
  e.g(t.h.prototype, n, e.ub(r), S);
1796
1796
  }
1797
1797
  function xn(e) {
@@ -1809,18 +1809,18 @@ function gn(e, t, n) {
1809
1809
  }
1810
1810
  return o = e.s(null), r = new qr(n, r, o), n || li(e, r.object), gt(e, t, r), r;
1811
1811
  }
1812
- function An(e, t, n) {
1812
+ function Rn(e, t, n) {
1813
1813
  if (!t)
1814
1814
  throw Error("parentScope required");
1815
1815
  return e = n || e.s(null), new qr(t, t.S, e);
1816
1816
  }
1817
- function Rn(e, t) {
1817
+ function An(e, t) {
1818
1818
  for (var n = xn(e); n && n !== e.N; ) {
1819
1819
  if (t in n.object.h)
1820
1820
  return n.object.h[t];
1821
1821
  n = n.Va;
1822
1822
  }
1823
- if (n === e.N && Dt(e, n.object, t))
1823
+ if (n === e.N && Vt(e, n.object, t))
1824
1824
  return e.G(n.object, t);
1825
1825
  n = e.o[e.o.length - 1].node, n.type === "UnaryExpression" && n.operator === "typeof" || w(e, e.pb, t + " is not defined");
1826
1826
  }
@@ -1836,7 +1836,7 @@ function zr(e, t, n) {
1836
1836
  }
1837
1837
  r = r.Va;
1838
1838
  }
1839
- if (r === e.N && (!o || Dt(e, r.object, t)))
1839
+ if (r === e.N && (!o || Vt(e, r.object, t)))
1840
1840
  return e.g(r.object, t, n);
1841
1841
  w(e, e.pb, t + " is not defined");
1842
1842
  }
@@ -1893,10 +1893,10 @@ function xe(e) {
1893
1893
  return e.o[e.o.length - 1].isConstructor;
1894
1894
  }
1895
1895
  function $n(e, t) {
1896
- return t[0] === qe ? Rn(e, t[1]) : e.G(t[0], t[1]);
1896
+ return t[0] === _e ? An(e, t[1]) : e.G(t[0], t[1]);
1897
1897
  }
1898
1898
  function Pn(e, t, n) {
1899
- return t[0] === qe ? zr(e, t[1], n) : e.g(t[0], t[1], n);
1899
+ return t[0] === _e ? zr(e, t[1], n) : e.g(t[0], t[1], n);
1900
1900
  }
1901
1901
  function w(e, t, n) {
1902
1902
  throw e.N ? (n !== void 0 && t instanceof P && (t = e.Aa(t), mn(e, t, n)), vt(e, 4, t), Hr) : n === void 0 ? t : n;
@@ -1986,7 +1986,7 @@ function wr(e, t, n) {
1986
1986
  s.type = "CallExpression", r = r.scope;
1987
1987
  } else {
1988
1988
  try {
1989
- var p = ze(String(i), "taskCode" + e.ic++);
1989
+ var p = Ge(String(i), "taskCode" + e.ic++);
1990
1990
  } catch (m) {
1991
1991
  w(e, e.T, "Invalid code: " + m.message);
1992
1992
  }
@@ -2023,13 +2023,13 @@ function On(e, t, n, r) {
2023
2023
  function an(e, t) {
2024
2024
  return t == null ? e.Na : t instanceof P ? t : (e = e.s(Te(e, t)), e.data = t, e);
2025
2025
  }
2026
- B.Xb = function() {
2026
+ N.Xb = function() {
2027
2027
  return this.N;
2028
2028
  };
2029
- B.Yb = function() {
2029
+ N.Yb = function() {
2030
2030
  return this.o;
2031
2031
  };
2032
- B.ec = function(e) {
2032
+ N.ec = function(e) {
2033
2033
  this.o = e;
2034
2034
  };
2035
2035
  function C(e, t) {
@@ -2041,12 +2041,12 @@ function qr(e, t, n) {
2041
2041
  function P(e) {
2042
2042
  this.V = /* @__PURE__ */ Object.create(null), this.Y = /* @__PURE__ */ Object.create(null), this.h = /* @__PURE__ */ Object.create(null), this.xa = e;
2043
2043
  }
2044
- B = P.prototype;
2045
- B.xa = null;
2046
- B.H = "Object";
2047
- B.data = null;
2048
- B.toString = function() {
2049
- if (!ct)
2044
+ N = P.prototype;
2045
+ N.xa = null;
2046
+ N.H = "Object";
2047
+ N.data = null;
2048
+ N.toString = function() {
2049
+ if (!pt)
2050
2050
  return "[object Interpreter.Object]";
2051
2051
  if (!(this instanceof P))
2052
2052
  return String(this);
@@ -2093,8 +2093,8 @@ B.toString = function() {
2093
2093
  }
2094
2094
  return this.data !== null ? String(this.data) : "[object " + this.H + "]";
2095
2095
  };
2096
- B.valueOf = function() {
2097
- return !ct || this.data === void 0 || this.data === null || this.data instanceof RegExp ? this : this.data instanceof Date ? this.data.valueOf() : this.data;
2096
+ N.valueOf = function() {
2097
+ return !pt || this.data === void 0 || this.data === null || this.data instanceof RegExp ? this : this.data instanceof Date ? this.data.valueOf() : this.data;
2098
2098
  };
2099
2099
  function ki(e, t, n, r, o) {
2100
2100
  this.zb = e, this.Lb = t, this.scope = n, this.node = r, this.interval = o, this.Db = ++Si, this.time = 0;
@@ -2103,7 +2103,7 @@ var Si = 0;
2103
2103
  h.prototype.stepArrayExpression = function(e, t, n) {
2104
2104
  n = n.elements;
2105
2105
  var r = t.A || 0;
2106
- for (t.Oa ? (this.g(t.Oa, r, t.value), r++) : (t.Oa = Ge(this), t.Oa.h.length = n.length); r < n.length; ) {
2106
+ for (t.Oa ? (this.g(t.Oa, r, t.value), r++) : (t.Oa = qe(this), t.Oa.h.length = n.length); r < n.length; ) {
2107
2107
  if (n[r])
2108
2108
  return t.A = r, new C(n[r], t.scope);
2109
2109
  r++;
@@ -2230,7 +2230,7 @@ h.prototype.stepBinaryExpression = function(e, t, n) {
2230
2230
  n = r >>> t;
2231
2231
  break;
2232
2232
  case "in":
2233
- t instanceof P || w(this, this.j, "'in' expects an object, not '" + t + "'"), n = Dt(this, t, r);
2233
+ t instanceof P || w(this, this.j, "'in' expects an object, not '" + t + "'"), n = Vt(this, t, r);
2234
2234
  break;
2235
2235
  case "instanceof":
2236
2236
  Y(this, t, this.O) || w(this, this.j, "'instanceof' expects an object, not '" + t + "'"), n = r instanceof P ? Y(this, r, t) : !1;
@@ -2260,7 +2260,7 @@ h.prototype.stepCallExpression = function(e, t, n) {
2260
2260
  t.ia = 2;
2261
2261
  var o = t.value;
2262
2262
  if (Array.isArray(o)) {
2263
- if (t.U = $n(this, o), o[0] === qe ? t.Pb = o[1] === "eval" : t.B = o[0], o = t.U, this.P)
2263
+ if (t.U = $n(this, o), o[0] === _e ? t.Pb = o[1] === "eval" : t.B = o[0], o = t.U, this.P)
2264
2264
  return t.ia = 1, bt(this, o, t.value);
2265
2265
  } else
2266
2266
  t.U = o;
@@ -2271,7 +2271,7 @@ h.prototype.stepCallExpression = function(e, t, n) {
2271
2271
  return new C(n.arguments[t.A++], t.scope);
2272
2272
  if (n.type === "NewExpression") {
2273
2273
  if (o instanceof P && !o.Ab || w(this, this.j, te(this, n.callee) + " is not a constructor"), o === this.qa)
2274
- t.B = Ge(this);
2274
+ t.B = qe(this);
2275
2275
  else {
2276
2276
  var i = o.h.prototype;
2277
2277
  (typeof i != "object" || i === null) && (i = this.M), t.B = this.s(i);
@@ -2284,7 +2284,7 @@ h.prototype.stepCallExpression = function(e, t, n) {
2284
2284
  e.pop(), e[e.length - 1].value = t.isConstructor && typeof t.value != "object" ? t.B : t.value;
2285
2285
  else {
2286
2286
  if (t.eb = !0, o instanceof P || w(this, this.j, te(this, n.callee) + " is not a function"), e = o.node) {
2287
- for (n = gn(this, e.body, o.Va), r = Ge(this), o = 0; o < t.F.length; o++)
2287
+ for (n = gn(this, e.body, o.Va), r = qe(this), o = 0; o < t.F.length; o++)
2288
2288
  this.g(r, o, t.F[o]);
2289
2289
  for (this.g(n.object, "arguments", r), o = 0; o < e.oa.length; o++)
2290
2290
  this.g(n.object, e.oa[o].name, t.F.length > o ? t.F[o] : void 0);
@@ -2295,7 +2295,7 @@ h.prototype.stepCallExpression = function(e, t, n) {
2295
2295
  t.value = o;
2296
2296
  else {
2297
2297
  try {
2298
- r = ze(String(o), "eval" + this.Hb++);
2298
+ r = Ge(String(o), "eval" + this.Hb++);
2299
2299
  } catch (u) {
2300
2300
  w(this, this.T, "Invalid code: " + u.message);
2301
2301
  }
@@ -2385,7 +2385,7 @@ h.prototype.stepForInStatement = function(e, t, n) {
2385
2385
  }
2386
2386
  if (!t.wb)
2387
2387
  if (t.wb = !0, e = n.left, e.type === "VariableDeclaration")
2388
- t.pa = [qe, e.fa[0].id.name];
2388
+ t.pa = [_e, e.fa[0].id.name];
2389
2389
  else
2390
2390
  return t.pa = null, t = new C(e, t.scope), t.sa = !0, t;
2391
2391
  if (t.pa || (t.pa = t.value), !t.ta && (t.ta = !0, e = t.Ra, r = Pn(this, t.pa, e)))
@@ -2418,13 +2418,13 @@ h.prototype.stepFunctionDeclaration = function(e) {
2418
2418
  e.pop();
2419
2419
  };
2420
2420
  h.prototype.stepFunctionExpression = function(e, t, n) {
2421
- e.pop(), t = e[e.length - 1], e = t.scope, n.id && (e = An(this, e)), t.value = In(this, n, e, t.Pa), n.id && this.g(e.object, n.id.name, t.value, Cn);
2421
+ e.pop(), t = e[e.length - 1], e = t.scope, n.id && (e = Rn(this, e)), t.value = In(this, n, e, t.Pa), n.id && this.g(e.object, n.id.name, t.value, Cn);
2422
2422
  };
2423
2423
  h.prototype.stepIdentifier = function(e, t, n) {
2424
2424
  if (e.pop(), t.sa)
2425
- e[e.length - 1].value = [qe, n.name];
2425
+ e[e.length - 1].value = [_e, n.name];
2426
2426
  else {
2427
- if (t = Rn(this, n.name), this.P)
2427
+ if (t = An(this, n.name), this.P)
2428
2428
  return bt(this, t, this.Na);
2429
2429
  e[e.length - 1].value = t;
2430
2430
  }
@@ -2537,7 +2537,7 @@ h.prototype.stepSwitchStatement = function(e, t, n) {
2537
2537
  }
2538
2538
  };
2539
2539
  h.prototype.stepThisExpression = function(e) {
2540
- e.pop(), e[e.length - 1].value = Rn(this, "this");
2540
+ e.pop(), e[e.length - 1].value = An(this, "this");
2541
2541
  };
2542
2542
  h.prototype.stepThrowStatement = function(e, t, n) {
2543
2543
  if (t.ka)
@@ -2549,7 +2549,7 @@ h.prototype.stepTryStatement = function(e, t, n) {
2549
2549
  if (!t.Rb)
2550
2550
  return t.Rb = !0, new C(n.block, t.scope);
2551
2551
  if (t.ea && t.ea.type === 4 && !t.Tb && n.Ea)
2552
- return t.Tb = !0, e = An(this, t.scope), this.g(e.object, n.Ea.Ua.name, t.ea.value), t.ea = void 0, new C(n.Ea.body, e);
2552
+ return t.Tb = !0, e = Rn(this, t.scope), this.g(e.object, n.Ea.Ua.name, t.ea.value), t.ea = void 0, new C(n.Ea.body, e);
2553
2553
  if (!t.Sb && n.fb)
2554
2554
  return t.Sb = !0, new C(n.fb, t.scope);
2555
2555
  e.pop(), t.ea && vt(this, t.ea.type, t.ea.value, t.ea.label);
@@ -2575,7 +2575,7 @@ h.prototype.stepUnaryExpression = function(e, t, n) {
2575
2575
  case "delete":
2576
2576
  if (n = !0, Array.isArray(r)) {
2577
2577
  var o = r[0];
2578
- o === qe && (o = t.scope), r = String(r[1]);
2578
+ o === _e && (o = t.scope), r = String(r[1]);
2579
2579
  try {
2580
2580
  delete o.h[r];
2581
2581
  } catch {
@@ -2628,7 +2628,7 @@ h.prototype.stepVariableDeclaration = function(e, t, n) {
2628
2628
  e.pop();
2629
2629
  };
2630
2630
  h.prototype.stepWithStatement = function(e, t, n) {
2631
- return t.Ca ? (e.pop(), e = An(this, t.scope, t.value), new C(n.body, e)) : (t.Ca = !0, new C(n.object, t.scope));
2631
+ return t.Ca ? (e.pop(), e = Rn(this, t.scope, t.value), new C(n.body, e)) : (t.Ca = !0, new C(n.object, t.scope));
2632
2632
  };
2633
2633
  h.prototype.stepWhileStatement = h.prototype.stepDoWhileStatement;
2634
2634
  Oe.Interpreter = h;
@@ -2689,7 +2689,7 @@ function main()`).replace(/\?\./g, "."), Tr = (e) => e + "JSON", Ei = ({
2689
2689
  rootState: r,
2690
2690
  localState: o,
2691
2691
  rootSetState: i
2692
- }), p = Lr({
2692
+ }), p = Mr({
2693
2693
  builder: e,
2694
2694
  context: t,
2695
2695
  event: n,
@@ -2709,12 +2709,12 @@ function theFunction() {
2709
2709
  }
2710
2710
  theFunction();
2711
2711
  `, g = function(O, Z) {
2712
- p.forEach(([Ae, $]) => {
2713
- if (Ae === "state")
2714
- O.setProperty(Z, Ae, O.createConnectedObject($), O.READONLY_DESCRIPTOR);
2712
+ p.forEach(([Re, $]) => {
2713
+ if (Re === "state")
2714
+ O.setProperty(Z, Re, O.createConnectedObject($), O.READONLY_DESCRIPTOR);
2715
2715
  else {
2716
2716
  const F = JSON.stringify($);
2717
- O.setProperty(Z, Tr(Ae), F);
2717
+ O.setProperty(Z, Tr(Re), F);
2718
2718
  }
2719
2719
  });
2720
2720
  }, T = new h(v, g);
@@ -2732,11 +2732,11 @@ const Ii = ({
2732
2732
  return !1;
2733
2733
  const t = process.arch === "arm64", n = process.version.startsWith("v20"), r = (o = process.env.NODE_OPTIONS) == null ? void 0 : o.includes("--no-node-snapshot");
2734
2734
  return t && n && !r ? (e && ue.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;
2735
- }, xi = (e) => z() || Ii({
2735
+ }, xi = (e) => G() || Ii({
2736
2736
  shouldLogWarning: !0
2737
- }) ? ii(e) : Ei(e), Ai = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, Ri = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, $i = (e) => {
2737
+ }) ? ii(e) : Ei(e), Ri = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, Ai = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, $i = (e) => {
2738
2738
  var t, n, r, o, i, s;
2739
- return ((r = (n = (t = Ai.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : r.slice(1)) || ((s = (i = (o = Ri.exec(e.trim())) == null ? void 0 : o.groups) == null ? void 0 : i.getPath) == null ? void 0 : s.slice(1));
2739
+ return ((r = (n = (t = Ri.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : r.slice(1)) || ((s = (i = (o = Ai.exec(e.trim())) == null ? void 0 : o.groups) == null ? void 0 : i.getPath) == null ? void 0 : s.slice(1));
2740
2740
  };
2741
2741
  function kt({
2742
2742
  code: e,
@@ -2751,7 +2751,7 @@ function kt({
2751
2751
  return;
2752
2752
  const u = $i(e.trim());
2753
2753
  if (u)
2754
- return Vr({
2754
+ return Dr({
2755
2755
  ...r,
2756
2756
  ...n
2757
2757
  }, u);
@@ -2823,7 +2823,7 @@ function jt(e, t, n = null, r = null, o = /* @__PURE__ */ new WeakSet()) {
2823
2823
  function _r(e) {
2824
2824
  return e && typeof e == "object" && e["@type"] === "@builder.io/core:LocalizedValue";
2825
2825
  }
2826
- function Bi(e) {
2826
+ function Ni(e) {
2827
2827
  if (!e || !Object.getOwnPropertyNames(e).length)
2828
2828
  return !1;
2829
2829
  let t = !1;
@@ -2834,14 +2834,14 @@ function Bi(e) {
2834
2834
  }
2835
2835
  }), t;
2836
2836
  }
2837
- function Ni(e, t) {
2837
+ function Bi(e, t) {
2838
2838
  return !e || !Object.getOwnPropertyNames(e).length ? {} : (jt(e, (n, r) => {
2839
2839
  _r(n) && r(n[t] ?? void 0);
2840
2840
  }), e);
2841
2841
  }
2842
2842
  function Ui(e, t) {
2843
2843
  var n, r;
2844
- return (n = e.component) != null && n.options && Bi((r = e.component) == null ? void 0 : r.options) && (t || console.warn("[Builder.io] In order to use localized fields in Builder, you must pass a locale prop to the BuilderComponent or to options object while fetching the content to resolve localized fields. Learn more: https://www.builder.io/c/docs/localization-inline#targeting-and-inline-localization"), e.component.options = Ni(e.component.options, t ?? "Default")), e;
2844
+ return (n = e.component) != null && n.options && Ni((r = e.component) == null ? void 0 : r.options) && (t || console.warn("[Builder.io] In order to use localized fields in Builder, you must pass a locale prop to the BuilderComponent or to options object while fetching the content to resolve localized fields. Learn more: https://www.builder.io/c/docs/localization-inline#targeting-and-inline-localization"), e.component.options = Bi(e.component.options, t ?? "Default")), e;
2845
2845
  }
2846
2846
  const jn = (e) => JSON.parse(JSON.stringify(e)), Jr = (e, t, n) => {
2847
2847
  if (Object(e) !== e)
@@ -2861,8 +2861,8 @@ function yn(e) {
2861
2861
  n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = yn(e[n]));
2862
2862
  return t;
2863
2863
  }
2864
- const Di = ["svelte", "vue", "angular", "qwik", "solid"].includes(re), Vi = (e) => {
2865
- if (Di) {
2864
+ const Vi = ["svelte", "vue", "angular", "qwik", "solid"].includes(re), Di = (e) => {
2865
+ if (Vi) {
2866
2866
  const t = jn(e);
2867
2867
  return {
2868
2868
  ...t,
@@ -2896,7 +2896,7 @@ const Di = ["svelte", "vue", "angular", "qwik", "solid"].includes(re), Vi = (e)
2896
2896
  }) => {
2897
2897
  if (!e.bindings)
2898
2898
  return e;
2899
- const i = Vi(e);
2899
+ const i = Di(e);
2900
2900
  for (const s in e.bindings) {
2901
2901
  const u = e.bindings[s], p = kt({
2902
2902
  code: u,
@@ -2926,24 +2926,24 @@ function Wi({
2926
2926
  });
2927
2927
  }
2928
2928
  function Xr(e) {
2929
- const t = e || (z() ? window.location.search : void 0);
2929
+ const t = e || (G() ? window.location.search : void 0);
2930
2930
  return t ? Wr(t).indexOf("builder.preview=") !== -1 : !1;
2931
2931
  }
2932
- const Mi = (e) => ({
2932
+ const Li = (e) => ({
2933
2933
  type: "builder.registerComponent",
2934
- data: Bt(e)
2935
- }), Li = (e) => {
2934
+ data: Nt(e)
2935
+ }), Mi = (e) => {
2936
2936
  const t = e.toString().trim(), n = /^[a-zA-Z0-9_]+\s*=>/i.test(t);
2937
2937
  return `return (${!t.startsWith("function") && !t.startsWith("async") && !t.startsWith("(") && !n ? "function " : ""}${t}).apply(this, arguments)`;
2938
2938
  };
2939
- function Bt(e) {
2940
- return JSON.parse(JSON.stringify(e, (t, n) => typeof n == "function" ? Li(n) : n));
2939
+ function Nt(e) {
2940
+ return JSON.parse(JSON.stringify(e, (t, n) => typeof n == "function" ? Mi(n) : n));
2941
2941
  }
2942
2942
  const Ir = {};
2943
2943
  function Hi(e, t) {
2944
- e === "plugin" && (t = Bt(t));
2944
+ e === "plugin" && (t = Nt(t));
2945
2945
  let n = Ir[e];
2946
- if (n || (n = Ir[e] = []), n.push(t), z()) {
2946
+ if (n || (n = Ir[e] = []), n.push(t), G()) {
2947
2947
  const r = {
2948
2948
  type: "builder.register",
2949
2949
  data: {
@@ -2959,8 +2959,8 @@ function Hi(e, t) {
2959
2959
  }
2960
2960
  }
2961
2961
  const xr = {};
2962
- function Bu(e) {
2963
- if (z()) {
2962
+ function ju(e) {
2963
+ if (G()) {
2964
2964
  Object.assign(xr, e);
2965
2965
  const t = {
2966
2966
  type: "builder.settingsChange",
@@ -2969,22 +2969,22 @@ function Bu(e) {
2969
2969
  parent.postMessage(t, "*");
2970
2970
  }
2971
2971
  }
2972
- const Ar = "builder.", Ki = "options.", Yr = (e) => {
2972
+ const Rr = "builder.", Ki = "options.", Yr = (e) => {
2973
2973
  if (!e)
2974
2974
  return {};
2975
2975
  const t = Fr(e), n = {};
2976
2976
  return Object.keys(t).forEach((r) => {
2977
- if (r.startsWith(Ar)) {
2978
- const o = r.replace(Ar, "").replace(Ki, "");
2977
+ if (r.startsWith(Rr)) {
2978
+ const o = r.replace(Rr, "").replace(Ki, "");
2979
2979
  n[o] = t[r];
2980
2980
  }
2981
2981
  }), n;
2982
2982
  }, zi = () => {
2983
- if (!z())
2983
+ if (!G())
2984
2984
  return {};
2985
2985
  const e = new URLSearchParams(window.location.search);
2986
2986
  return Yr(e);
2987
- }, Zr = "3.0.7", Qr = () => ({
2987
+ }, Zr = "4.0.0", Qr = () => ({
2988
2988
  "X-Builder-SDK": re,
2989
2989
  "X-Builder-SDK-GEN": "2",
2990
2990
  "X-Builder-SDK-Version": Zr
@@ -2993,7 +2993,7 @@ const Ar = "builder.", Ki = "options.", Yr = (e) => {
2993
2993
  return e;
2994
2994
  const t = e.split(".");
2995
2995
  return t.length > 2 ? t.slice(1).join(".") : e;
2996
- }, Bn = ({
2996
+ }, Nn = ({
2997
2997
  name: e,
2998
2998
  canTrack: t
2999
2999
  }) => {
@@ -3004,14 +3004,14 @@ const Ar = "builder.", Ki = "options.", Yr = (e) => {
3004
3004
  ue.warn("[COOKIE] GET error: ", (r == null ? void 0 : r.message) || r);
3005
3005
  return;
3006
3006
  }
3007
- }, eo = async (e) => Bn(e), qi = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(je).join("; "), _i = [["secure", ""], ["SameSite", "None"]], Ji = ({
3007
+ }, eo = async (e) => Nn(e), qi = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(je).join("; "), _i = [["secure", ""], ["SameSite", "None"]], Ji = ({
3008
3008
  name: e,
3009
3009
  value: t,
3010
3010
  expires: n
3011
3011
  }) => {
3012
- const o = (z() ? location.protocol === "https:" : !0) ? _i : [[]], i = n ? [["expires", n.toUTCString()]] : [[]], s = [[e, t], ...i, ["path", "/"], ["domain", Gi(window.location.hostname)], ...o];
3012
+ const o = (G() ? location.protocol === "https:" : !0) ? _i : [[]], i = n ? [["expires", n.toUTCString()]] : [[]], s = [[e, t], ...i, ["path", "/"], ["domain", Gi(window.location.hostname)], ...o];
3013
3013
  return qi(s);
3014
- }, Nn = async ({
3014
+ }, Bn = async ({
3015
3015
  name: e,
3016
3016
  value: t,
3017
3017
  expires: n,
@@ -3060,11 +3060,11 @@ const no = "builderSessionId", Yi = async ({
3060
3060
  }, Zi = () => to(), Qi = ({
3061
3061
  id: e,
3062
3062
  canTrack: t
3063
- }) => Nn({
3063
+ }) => Bn({
3064
3064
  name: no,
3065
3065
  value: e,
3066
3066
  canTrack: t
3067
- }), ro = () => z() && typeof localStorage < "u" ? localStorage : void 0, es = ({
3067
+ }), ro = () => G() && typeof localStorage < "u" ? localStorage : void 0, es = ({
3068
3068
  key: e,
3069
3069
  canTrack: t
3070
3070
  }) => {
@@ -3150,7 +3150,7 @@ const is = async ({
3150
3150
  ...await is({
3151
3151
  canTrack: t
3152
3152
  }),
3153
- userAttributes: Mr(),
3153
+ userAttributes: Lr(),
3154
3154
  ownerId: n
3155
3155
  }
3156
3156
  });
@@ -3162,7 +3162,7 @@ async function vn({
3162
3162
  ue.error("Missing API key for track call. Please provide your API key.");
3163
3163
  return;
3164
3164
  }
3165
- if (!t.canTrack || ie() || !(z() || re === "reactNative"))
3165
+ if (!t.canTrack || ie() || !(G() || re === "reactNative"))
3166
3166
  return;
3167
3167
  const r = `${e || "https://cdn.builder.io"}/api/v1/track`;
3168
3168
  return Un(r), fetch(r, {
@@ -3212,10 +3212,10 @@ const ls = () => {
3212
3212
  }]
3213
3213
  });
3214
3214
  };
3215
- let Rr = !1;
3216
- const so = (e = {}) => {
3215
+ let Ar = !1;
3216
+ const so = (e) => {
3217
3217
  var t, n;
3218
- Rr || (Rr = !0, z() && ((t = window.parent) == null || t.postMessage({
3218
+ Ar || (Ar = !0, G() && ((t = window.parent) == null || t.postMessage({
3219
3219
  type: "builder.sdkInfo",
3220
3220
  data: {
3221
3221
  target: re,
@@ -3225,6 +3225,8 @@ const so = (e = {}) => {
3225
3225
  // scope our '+ add block' button styling
3226
3226
  supportsAddBlockScoping: !0,
3227
3227
  supportsCustomBreakpoints: !0,
3228
+ modelName: e.modelName,
3229
+ apiKey: e.apiKey,
3228
3230
  supportsXSmallBreakpoint: !0,
3229
3231
  blockLevelPersonalization: !0
3230
3232
  }
@@ -3302,40 +3304,48 @@ const so = (e = {}) => {
3302
3304
  break;
3303
3305
  }
3304
3306
  }
3305
- }, Uu = (e, t, n) => {
3306
- if (!z)
3307
+ }, Bu = ({
3308
+ model: e,
3309
+ apiKey: t,
3310
+ callback: n,
3311
+ trustedHosts: r
3312
+ }) => {
3313
+ if (!G)
3307
3314
  return ue.warn("`subscribeToEditor` only works in the browser. It currently seems to be running on the server."), () => {
3308
3315
  };
3309
- so();
3310
- const r = ao({
3316
+ so({
3317
+ modelName: e,
3318
+ apiKey: t
3319
+ });
3320
+ const o = ao({
3311
3321
  callbacks: {
3312
- contentUpdate: t,
3322
+ contentUpdate: n,
3313
3323
  animation: () => {
3314
3324
  },
3315
3325
  configureSdk: () => {
3316
3326
  }
3317
3327
  },
3318
3328
  model: e,
3319
- trustedHosts: n == null ? void 0 : n.trustedHosts
3329
+ trustedHosts: r
3320
3330
  });
3321
- return window.addEventListener("message", r), () => {
3322
- window.removeEventListener("message", r);
3331
+ return window.addEventListener("message", o), () => {
3332
+ window.removeEventListener("message", o);
3323
3333
  };
3324
- }, us = "builder.tests", Dn = (e) => `${us}.${e}`, cs = ({
3334
+ }, us = "builder.tests", Vn = (e) => `${us}.${e}`, cs = ({
3325
3335
  contentId: e
3326
3336
  }) => eo({
3327
- name: Dn(e),
3337
+ name: Vn(e),
3328
3338
  canTrack: !0
3329
3339
  }), ps = ({
3330
3340
  contentId: e
3331
- }) => Bn({
3332
- name: Dn(e),
3341
+ }) => Nn({
3342
+ name: Vn(e),
3333
3343
  canTrack: !0
3334
3344
  }), ds = ({
3335
3345
  contentId: e,
3336
3346
  value: t
3337
- }) => Nn({
3338
- name: Dn(e),
3347
+ }) => Bn({
3348
+ name: Vn(e),
3339
3349
  value: t,
3340
3350
  canTrack: !0
3341
3351
  }), lo = (e) => je(e.id) && je(e.variations) && Object.keys(e.variations).length > 0, fs = ({
@@ -3421,20 +3431,20 @@ function gs() {
3421
3431
  const t = /* @__PURE__ */ new Set();
3422
3432
  return {
3423
3433
  setUserAttributes(n) {
3424
- if (!z())
3434
+ if (!G())
3425
3435
  return;
3426
3436
  const r = {
3427
3437
  ...this.getUserAttributes(),
3428
3438
  ...n
3429
3439
  };
3430
- Nn({
3440
+ Bn({
3431
3441
  name: $r,
3432
3442
  value: JSON.stringify(r),
3433
3443
  canTrack: e
3434
3444
  }), t.forEach((o) => o(r));
3435
3445
  },
3436
3446
  getUserAttributes() {
3437
- return z() ? JSON.parse(Bn({
3447
+ return G() ? JSON.parse(Nn({
3438
3448
  name: $r,
3439
3449
  canTrack: e
3440
3450
  }) || "{}") : {};
@@ -3449,7 +3459,7 @@ function gs() {
3449
3459
  }
3450
3460
  };
3451
3461
  }
3452
- const po = gs(), Du = (e) => {
3462
+ const po = gs(), Uu = (e) => {
3453
3463
  po.setUserAttributes(e);
3454
3464
  }, yt = (e) => {
3455
3465
  const t = je(e) ? e : !0;
@@ -3497,7 +3507,7 @@ function ks(e) {
3497
3507
  }
3498
3508
  return t;
3499
3509
  }
3500
- const Ss = "v3", Pr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Vn = (e) => {
3510
+ const Ss = "v3", Pr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Dn = (e) => {
3501
3511
  const {
3502
3512
  limit: t = 30,
3503
3513
  userAttributes: n,
@@ -3520,12 +3530,12 @@ const Ss = "v3", Pr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Vn = (
3520
3530
  throw new Error("Missing API key");
3521
3531
  if (!["v3"].includes(p))
3522
3532
  throw new Error(`Invalid apiVersion: expected 'v3', received '${p}'`);
3523
- const Ae = t !== 1, $ = Z || "https://cdn.builder.io", F = new URL(`${$}/api/${p}/content/${o}`);
3524
- F.searchParams.set("apiKey", i), F.searchParams.set("limit", String(t)), F.searchParams.set("noTraverse", String(Ae)), F.searchParams.set("includeRefs", String(!0));
3525
- const De = u || (n == null ? void 0 : n.locale);
3533
+ const Re = t !== 1, $ = Z || "https://cdn.builder.io", F = new URL(`${$}/api/${p}/content/${o}`);
3534
+ F.searchParams.set("apiKey", i), F.searchParams.set("limit", String(t)), F.searchParams.set("noTraverse", String(Re)), F.searchParams.set("includeRefs", String(!0));
3535
+ const Ve = u || (n == null ? void 0 : n.locale);
3526
3536
  let me = n || {};
3527
- if (De && (F.searchParams.set("locale", De), me = {
3528
- locale: De,
3537
+ if (Ve && (F.searchParams.set("locale", Ve), me = {
3538
+ locale: Ve,
3529
3539
  ...me
3530
3540
  }), s && F.searchParams.set("enrich", String(s)), F.searchParams.set("omit", b || "meta.componentsUsed"), m && F.searchParams.set("fields", m), Number.isFinite(v) && v > -1 && F.searchParams.set("offset", String(Math.floor(v))), typeof O == "boolean" && F.searchParams.set("includeUnpublished", String(O)), g && Pr(g) && F.searchParams.set("cacheSeconds", String(g)), T && Pr(T) && F.searchParams.set("staleCacheSeconds", String(T)), U) {
3531
3541
  const E = bn({
@@ -3534,15 +3544,15 @@ const Ss = "v3", Pr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Vn = (
3534
3544
  for (const ge in E)
3535
3545
  F.searchParams.set(ge, JSON.stringify(E[ge]));
3536
3546
  }
3537
- const L = {
3547
+ const M = {
3538
3548
  ...zi(),
3539
3549
  ...Fr(e.options || {})
3540
3550
  };
3541
3551
  me = {
3542
3552
  ...me,
3543
- ...ws(L)
3553
+ ...ws(M)
3544
3554
  };
3545
- const ce = bn(L);
3555
+ const ce = bn(M);
3546
3556
  for (const E in ce)
3547
3557
  F.searchParams.set(E, String(ce[E]));
3548
3558
  if (Object.keys(me).length > 0 && F.searchParams.set("userAttributes", JSON.stringify(me)), r) {
@@ -3559,7 +3569,7 @@ const Ss = "v3", Pr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Vn = (
3559
3569
  n.startsWith("userAttributes.") && (t[n] = e[n], delete e[n]);
3560
3570
  return t;
3561
3571
  }, ws = (e) => {
3562
- if (z() && e.preview === "BUILDER_STUDIO") {
3572
+ if (G() && e.preview === "BUILDER_STUDIO") {
3563
3573
  e["userAttributes.urlPath"] = window.location.pathname, e["userAttributes.host"] = window.location.host;
3564
3574
  const t = Cs(e), {
3565
3575
  userAttributes: n
@@ -3577,7 +3587,7 @@ async function Fn(e) {
3577
3587
  }
3578
3588
  const Ts = async (e) => {
3579
3589
  var s;
3580
- const t = Vn(e), n = e.fetch ?? bs, r = {
3590
+ const t = Dn(e), n = e.fetch ?? bs, r = {
3581
3591
  ...e.fetchOptions,
3582
3592
  headers: {
3583
3593
  ...(s = e.fetchOptions) == null ? void 0 : s.headers,
@@ -3585,9 +3595,9 @@ const Ts = async (e) => {
3585
3595
  }
3586
3596
  };
3587
3597
  return await (await n(t.href, r)).json();
3588
- }, Is = async (e, t, n = Vn(e)) => {
3598
+ }, Is = async (e, t, n = Dn(e)) => {
3589
3599
  const r = yt(e.canTrack);
3590
- if (n.search.includes("preview="), !r || !(z() || re === "reactNative"))
3600
+ if (n.search.includes("preview="), !r || !(G() || re === "reactNative"))
3591
3601
  return t.results;
3592
3602
  try {
3593
3603
  const o = [];
@@ -3603,7 +3613,7 @@ const Ts = async (e) => {
3603
3613
  return t.results;
3604
3614
  };
3605
3615
  async function xs(e) {
3606
- const t = Vn(e), n = await Ts(e);
3616
+ const t = Dn(e), n = await Ts(e);
3607
3617
  if (!Es(n))
3608
3618
  throw ue.error("Error fetching data. ", {
3609
3619
  url: t,
@@ -3632,7 +3642,7 @@ const Vu = async (e) => {
3632
3642
  content: await Fn(n)
3633
3643
  };
3634
3644
  }, Wn = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
3635
- function As(e, t, n = {}) {
3645
+ function Rs(e, t, n = {}) {
3636
3646
  let r, o, i, s = null, u = 0;
3637
3647
  const p = function() {
3638
3648
  u = n.leading === !1 ? 0 : Date.now(), s = null, i = e.apply(r, o), s || (r = o = null);
@@ -3644,7 +3654,7 @@ function As(e, t, n = {}) {
3644
3654
  return r = this, o = arguments, b <= 0 || b > t ? (s && (clearTimeout(s), s = null), u = m, i = e.apply(r, o), s || (r = o = null)) : !s && n.trailing !== !1 && (s = setTimeout(p, b)), i;
3645
3655
  };
3646
3656
  }
3647
- function dt(e, ...t) {
3657
+ function ft(e, ...t) {
3648
3658
  const n = Object(e);
3649
3659
  for (let r = 1; r < arguments.length; r++) {
3650
3660
  const o = arguments[r];
@@ -3654,7 +3664,7 @@ function dt(e, ...t) {
3654
3664
  }
3655
3665
  return n;
3656
3666
  }
3657
- function Rs(e) {
3667
+ function As(e) {
3658
3668
  for (const t of e)
3659
3669
  switch (t.trigger) {
3660
3670
  case "pageLoad":
@@ -3688,8 +3698,8 @@ function go(e) {
3688
3698
  return;
3689
3699
  }
3690
3700
  Array.from(t).forEach((n) => {
3691
- mo(e, n), n.style.transition = "none", n.style.transitionDelay = "0", dt(n.style, e.steps[0].styles), setTimeout(() => {
3692
- n.style.transition = `all ${e.duration}s ${Wn(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), dt(n.style, e.steps[1].styles), setTimeout(() => {
3701
+ mo(e, n), n.style.transition = "none", n.style.transitionDelay = "0", ft(n.style, e.steps[0].styles), setTimeout(() => {
3702
+ n.style.transition = `all ${e.duration}s ${Wn(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), ft(n.style, e.steps[1].styles), setTimeout(() => {
3693
3703
  n.style.transition = "", n.style.transitionDelay = "";
3694
3704
  }, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
3695
3705
  });
@@ -3706,12 +3716,12 @@ function Ps(e) {
3706
3716
  let r = !1, o = !1;
3707
3717
  function i() {
3708
3718
  !r && u(n) ? (r = !0, o = !0, setTimeout(() => {
3709
- dt(n.style, e.steps[1].styles), e.repeat || document.removeEventListener("scroll", s), setTimeout(() => {
3719
+ ft(n.style, e.steps[1].styles), e.repeat || document.removeEventListener("scroll", s), setTimeout(() => {
3710
3720
  o = !1, e.repeat || (n.style.transition = "", n.style.transitionDelay = "");
3711
3721
  }, (e.duration + (e.delay || 0)) * 1e3 + 100);
3712
- })) : e.repeat && r && !o && !u(n) && (r = !1, dt(n.style, e.steps[0].styles));
3722
+ })) : e.repeat && r && !o && !u(n) && (r = !1, ft(n.style, e.steps[0].styles));
3713
3723
  }
3714
- const s = As(i, 200, {
3724
+ const s = Rs(i, 200, {
3715
3725
  leading: !1
3716
3726
  });
3717
3727
  function u(b) {
@@ -3720,7 +3730,7 @@ function Ps(e) {
3720
3730
  }
3721
3731
  const p = e.steps[0].styles;
3722
3732
  function m() {
3723
- dt(n.style, p);
3733
+ ft(n.style, p);
3724
3734
  }
3725
3735
  m(), setTimeout(() => {
3726
3736
  n.style.transition = `all ${e.duration}s ${Wn(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
@@ -3734,7 +3744,7 @@ const yo = (e) => Object.entries(e).map(([n, r]) => {
3734
3744
  if (typeof r == "string")
3735
3745
  return `${Wn(n)}: ${r};`;
3736
3746
  }).filter(je), Os = (e) => yo(e).join(`
3737
- `), Fu = ({
3747
+ `), Du = ({
3738
3748
  mediaQuery: e,
3739
3749
  className: t,
3740
3750
  styles: n
@@ -3751,7 +3761,7 @@ function js({
3751
3761
  }) {
3752
3762
  return e;
3753
3763
  }
3754
- const Wu = ({
3764
+ const Fu = ({
3755
3765
  block: e,
3756
3766
  context: t
3757
3767
  }) => vo(js({
@@ -3773,7 +3783,7 @@ function vo(e) {
3773
3783
  return e;
3774
3784
  }
3775
3785
  }
3776
- const bo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includes(t) : !1 : !0, Bs = ({
3786
+ const bo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includes(t) : !1 : !0, Ns = ({
3777
3787
  block: e,
3778
3788
  registeredComponents: t,
3779
3789
  model: n
@@ -3790,7 +3800,7 @@ const bo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
3790
3800
  return;
3791
3801
  } else
3792
3802
  return o;
3793
- }, Ns = ({
3803
+ }, Bs = ({
3794
3804
  block: e,
3795
3805
  context: t
3796
3806
  }) => {
@@ -3828,12 +3838,12 @@ const bo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
3828
3838
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderLinkComponent ? {
3829
3839
  builderLinkComponent: t
3830
3840
  } : {};
3831
- }, Ds = (e, t, n) => {
3841
+ }, Vs = (e, t, n) => {
3832
3842
  var r;
3833
3843
  return (r = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && r.builderComponents ? {
3834
3844
  builderComponents: Object.fromEntries(Object.entries(t).filter(([i, s]) => !bo(s, n)))
3835
3845
  } : {};
3836
- }, Vs = (e, t) => {
3846
+ }, Ds = (e, t) => {
3837
3847
  var n;
3838
3848
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderBlock ? {
3839
3849
  builderBlock: t
@@ -3848,22 +3858,22 @@ const bo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
3848
3858
  "Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
3849
3859
  e
3850
3860
  ), e;
3851
- }), Ms = () => import("./block-styles-wmTk1mW4.js").then((e) => e.default).catch((e) => {
3861
+ }), Ls = () => import("./block-styles-qmawnL2_.js").then((e) => e.default).catch((e) => {
3852
3862
  throw console.error(
3853
3863
  "Error while attempting to dynamically import component BlockStyles at ./components/block-styles.vue",
3854
3864
  e
3855
3865
  ), e;
3856
- }), Ls = () => import("./block-wrapper-J-1Axz3t.js").then((e) => e.default).catch((e) => {
3866
+ }), Ms = () => import("./block-wrapper-ga1Q8gAe.js").then((e) => e.default).catch((e) => {
3857
3867
  throw console.error(
3858
3868
  "Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
3859
3869
  e
3860
3870
  ), e;
3861
- }), Hs = () => import("./component-ref-1WyqPeY5.js").then((e) => e.default).catch((e) => {
3871
+ }), Hs = () => import("./component-ref-kF7QYHtR.js").then((e) => e.default).catch((e) => {
3862
3872
  throw console.error(
3863
3873
  "Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
3864
3874
  e
3865
3875
  ), e;
3866
- }), Ks = () => import("./repeated-block-1uIsduO3.js").then((e) => e.default).catch((e) => {
3876
+ }), Ks = () => import("./repeated-block-s8LkZB7_.js").then((e) => e.default).catch((e) => {
3867
3877
  throw console.error(
3868
3878
  "Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
3869
3879
  e
@@ -3871,11 +3881,11 @@ const bo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
3871
3881
  }), zs = j({
3872
3882
  name: "block",
3873
3883
  components: {
3874
- BlockStyles: rt(Ms),
3875
- RepeatedBlock: rt(Ks),
3876
- ComponentRef: rt(Hs),
3877
- BlockWrapper: rt(Ls),
3878
- DynamicDiv: rt(Ws)
3884
+ BlockStyles: ot(Ls),
3885
+ RepeatedBlock: ot(Ks),
3886
+ ComponentRef: ot(Hs),
3887
+ BlockWrapper: ot(Ms),
3888
+ DynamicDiv: ot(Ws)
3879
3889
  },
3880
3890
  props: ["block", "context", "registeredComponents", "linkComponent"],
3881
3891
  data() {
@@ -3888,7 +3898,7 @@ const bo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
3888
3898
  },
3889
3899
  mounted() {
3890
3900
  const e = this.processedBlock.id, t = this.processedBlock.animations;
3891
- t && e && Rs(
3901
+ t && e && As(
3892
3902
  t.map((n) => ({
3893
3903
  ...n,
3894
3904
  elementId: e
@@ -3899,7 +3909,7 @@ const bo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
3899
3909
  },
3900
3910
  computed: {
3901
3911
  repeatItem() {
3902
- return Ns({
3912
+ return Bs({
3903
3913
  block: this.block,
3904
3914
  context: this.context
3905
3915
  });
@@ -3915,7 +3925,7 @@ const bo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
3915
3925
  });
3916
3926
  },
3917
3927
  blockComponent() {
3918
- return Bs({
3928
+ return Ns({
3919
3929
  block: this.processedBlock,
3920
3930
  registeredComponents: this.registeredComponents,
3921
3931
  model: this.context.model
@@ -3943,10 +3953,10 @@ const bo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
3943
3953
  componentRef: (e = this.blockComponent) == null ? void 0 : e.component,
3944
3954
  componentOptions: {
3945
3955
  ...Pi(this.processedBlock, this.context),
3946
- ...Vs(this.blockComponent, this.processedBlock),
3956
+ ...Ds(this.blockComponent, this.processedBlock),
3947
3957
  ...Fs(this.blockComponent, this.context),
3948
3958
  ...Us(this.blockComponent, this.linkComponent),
3949
- ...Ds(
3959
+ ...Vs(
3950
3960
  this.blockComponent,
3951
3961
  this.registeredComponents,
3952
3962
  this.context.model
@@ -3964,20 +3974,20 @@ const bo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
3964
3974
  });
3965
3975
  function Gs(e, t, n, r, o, i) {
3966
3976
  var v;
3967
- const s = V("BlockStyles"), u = V("ComponentRef"), p = V("Block", !0), m = V("BlockWrapper"), b = V("RepeatedBlock");
3977
+ const s = D("BlockStyles"), u = D("ComponentRef"), p = D("Block", !0), m = D("BlockWrapper"), b = D("RepeatedBlock");
3968
3978
  return e.canShowBlock ? (y(), I(X, { key: 0 }, [
3969
3979
  se(s, {
3970
3980
  block: e.processedBlock,
3971
3981
  context: e.context
3972
3982
  }, null, 8, ["block", "context"]),
3973
3983
  (v = e.blockComponent) != null && v.noWrap ? (y(), I(X, { key: 1 }, [
3974
- e.repeatItem ? (y(!0), I(X, { key: 1 }, Ee(e.repeatItem, (g, T) => (y(), D(b, {
3984
+ e.repeatItem ? (y(!0), I(X, { key: 1 }, Ee(e.repeatItem, (g, T) => (y(), V(b, {
3975
3985
  key: T,
3976
3986
  repeatContext: g.context,
3977
3987
  block: g.block,
3978
3988
  registeredComponents: e.registeredComponents,
3979
3989
  linkComponent: e.linkComponent
3980
- }, null, 8, ["repeatContext", "block", "registeredComponents", "linkComponent"]))), 128)) : (y(), D(u, {
3990
+ }, null, 8, ["repeatContext", "block", "registeredComponents", "linkComponent"]))), 128)) : (y(), V(u, {
3981
3991
  key: 0,
3982
3992
  componentRef: e.componentRefProps.componentRef,
3983
3993
  componentOptions: e.componentRefProps.componentOptions,
@@ -3990,13 +4000,13 @@ function Gs(e, t, n, r, o, i) {
3990
4000
  isInteractive: e.componentRefProps.isInteractive
3991
4001
  }, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "linkComponent", "builderBlock", "includeBlockProps", "isInteractive"]))
3992
4002
  ], 64)) : (y(), I(X, { key: 0 }, [
3993
- e.repeatItem ? (y(!0), I(X, { key: 1 }, Ee(e.repeatItem, (g, T) => (y(), D(b, {
4003
+ e.repeatItem ? (y(!0), I(X, { key: 1 }, Ee(e.repeatItem, (g, T) => (y(), V(b, {
3994
4004
  key: T,
3995
4005
  repeatContext: g.context,
3996
4006
  block: g.block,
3997
4007
  registeredComponents: e.registeredComponents,
3998
4008
  linkComponent: e.linkComponent
3999
- }, null, 8, ["repeatContext", "block", "registeredComponents", "linkComponent"]))), 128)) : (y(), D(m, {
4009
+ }, null, 8, ["repeatContext", "block", "registeredComponents", "linkComponent"]))), 128)) : (y(), V(m, {
4000
4010
  key: 0,
4001
4011
  Wrapper: e.Tag,
4002
4012
  block: e.processedBlock,
@@ -4014,7 +4024,7 @@ function Gs(e, t, n, r, o, i) {
4014
4024
  includeBlockProps: e.componentRefProps.includeBlockProps,
4015
4025
  isInteractive: e.componentRefProps.isInteractive
4016
4026
  }, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "linkComponent", "builderBlock", "includeBlockProps", "isInteractive"]),
4017
- (y(!0), I(X, null, Ee(e.childrenWithoutParentComponent, (g, T) => (y(), D(p, {
4027
+ (y(!0), I(X, null, Ee(e.childrenWithoutParentComponent, (g, T) => (y(), V(p, {
4018
4028
  key: g.id,
4019
4029
  block: g,
4020
4030
  registeredComponents: e.registeredComponents,
@@ -4025,9 +4035,9 @@ function Gs(e, t, n, r, o, i) {
4025
4035
  _: 1
4026
4036
  }, 8, ["Wrapper", "block", "context"]))
4027
4037
  ], 64))
4028
- ], 64)) : M("", !0);
4038
+ ], 64)) : L("", !0);
4029
4039
  }
4030
- const ko = /* @__PURE__ */ N(zs, [["render", Gs]]), Mu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4040
+ const ko = /* @__PURE__ */ B(zs, [["render", Gs]]), Wu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4031
4041
  __proto__: null,
4032
4042
  default: ko
4033
4043
  }, Symbol.toStringTag, { value: "Module" })), qs = j({
@@ -4089,7 +4099,7 @@ const ko = /* @__PURE__ */ N(zs, [["render", Gs]]), Mu = /* @__PURE__ */ Object.
4089
4099
  }
4090
4100
  });
4091
4101
  function _s(e, t, n, r, o, i) {
4092
- return y(), D(ut(e.BlocksWrapper), q({
4102
+ return y(), V(ct(e.BlocksWrapper), z({
4093
4103
  ref: "blocksWrapperRef",
4094
4104
  class: e.className + " component-tqyw9m0iue",
4095
4105
  "builder-path": e.dataPath,
@@ -4105,7 +4115,7 @@ function _s(e, t, n, r, o, i) {
4105
4115
  _: 3
4106
4116
  }, 16, ["class", "builder-path", "builder-parent-id", "style", "onClick", "onMouseEnter", "onKeyPress"]);
4107
4117
  }
4108
- const Js = /* @__PURE__ */ N(qs, [["render", _s], ["__scopeId", "data-v-4755f88c"]]), Xs = j({
4118
+ const Js = /* @__PURE__ */ B(qs, [["render", _s], ["__scopeId", "data-v-4755f88c"]]), Xs = j({
4109
4119
  name: "builder-blocks",
4110
4120
  components: { BlocksWrapper: Js, Block: ko },
4111
4121
  props: [
@@ -4120,13 +4130,13 @@ const Js = /* @__PURE__ */ N(qs, [["render", _s], ["__scopeId", "data-v-4755f88c
4120
4130
  ],
4121
4131
  inject: {
4122
4132
  builderContext: fn.key,
4123
- componentsContext: Dr.key
4133
+ componentsContext: Vr.key
4124
4134
  }
4125
4135
  });
4126
4136
  function Ys(e, t, n, r, o, i) {
4127
4137
  var p, m, b, v;
4128
- const s = V("Block"), u = V("BlocksWrapper");
4129
- return y(), D(u, {
4138
+ const s = D("Block"), u = D("BlocksWrapper");
4139
+ return y(), V(u, {
4130
4140
  blocks: e.blocks,
4131
4141
  parent: e.parent,
4132
4142
  path: e.path,
@@ -4138,19 +4148,19 @@ function Ys(e, t, n, r, o, i) {
4138
4148
  default: Ie(() => [
4139
4149
  e.blocks ? (y(!0), I(X, { key: 0 }, Ee(e.blocks, (g, T) => {
4140
4150
  var U;
4141
- return y(), D(s, {
4151
+ return y(), V(s, {
4142
4152
  key: g.id,
4143
4153
  block: g,
4144
4154
  linkComponent: e.linkComponent,
4145
4155
  context: e.context || e.builderContext,
4146
4156
  registeredComponents: e.registeredComponents || ((U = e.componentsContext) == null ? void 0 : U.registeredComponents)
4147
4157
  }, null, 8, ["block", "linkComponent", "context", "registeredComponents"]);
4148
- }), 128)) : M("", !0)
4158
+ }), 128)) : L("", !0)
4149
4159
  ]),
4150
4160
  _: 1
4151
4161
  }, 8, ["blocks", "parent", "path", "styleProp", "classNameProp", "BlocksWrapper", "BlocksWrapperProps"]);
4152
4162
  }
4153
- const _e = /* @__PURE__ */ N(Xs, [["render", Ys]]), Zs = j({
4163
+ const Je = /* @__PURE__ */ B(Xs, [["render", Ys]]), Zs = j({
4154
4164
  name: "dynamic-div",
4155
4165
  props: []
4156
4166
  });
@@ -4159,10 +4169,10 @@ function Qs(e, t, n, r, o, i) {
4159
4169
  le(e.$slots, "default")
4160
4170
  ]);
4161
4171
  }
4162
- const St = /* @__PURE__ */ N(Zs, [["render", Qs]]), ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4172
+ const St = /* @__PURE__ */ B(Zs, [["render", Qs]]), ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4163
4173
  __proto__: null,
4164
4174
  default: St
4165
- }, Symbol.toStringTag, { value: "Module" })), Mn = j({
4175
+ }, Symbol.toStringTag, { value: "Module" })), Ln = j({
4166
4176
  render() {
4167
4177
  return Ur("style", {
4168
4178
  innerHTML: this.styles,
@@ -4234,9 +4244,9 @@ const St = /* @__PURE__ */ N(Zs, [["render", Qs]]), ea = /* @__PURE__ */ Object.
4234
4244
  }, na = (e) => `builder-columns ${e}-breakpoints`, ra = j({
4235
4245
  name: "builder-columns",
4236
4246
  components: {
4237
- InlinedStyles: Mn,
4247
+ InlinedStyles: Ln,
4238
4248
  DynamicRenderer: kn,
4239
- Blocks: _e,
4249
+ Blocks: Je,
4240
4250
  DynamicDiv: St
4241
4251
  },
4242
4252
  props: [
@@ -4374,18 +4384,18 @@ const St = /* @__PURE__ */ N(Zs, [["render", Qs]]), ea = /* @__PURE__ */ Object.
4374
4384
  });
4375
4385
  function oa(e, t, n, r, o, i) {
4376
4386
  var m;
4377
- const s = V("InlinedStyles"), u = V("Blocks"), p = V("DynamicRenderer");
4378
- return y(), I("div", q({
4387
+ const s = D("InlinedStyles"), u = D("Blocks"), p = D("DynamicRenderer");
4388
+ return y(), I("div", z({
4379
4389
  class: e.getColumnsClass((m = e.builderBlock) == null ? void 0 : m.id) + " div-4wbls88y960",
4380
4390
  style: e.columnsCssVars()
4381
4391
  }, {}), [
4382
- e.TARGET !== "reactNative" ? (y(), D(s, {
4392
+ e.TARGET !== "reactNative" ? (y(), V(s, {
4383
4393
  key: 0,
4384
4394
  id: "builderio-columns",
4385
4395
  styles: e.columnsStyles(),
4386
4396
  nonce: e.builderContext.nonce
4387
- }, null, 8, ["styles", "nonce"])) : M("", !0),
4388
- (y(!0), I(X, null, Ee(e.columns, (b, v) => (y(), D(p, {
4397
+ }, null, 8, ["styles", "nonce"])) : L("", !0),
4398
+ (y(!0), I(X, null, Ee(e.columns, (b, v) => (y(), V(p, {
4389
4399
  key: v,
4390
4400
  TagName: e.getTagName(b),
4391
4401
  actionAttributes: {},
@@ -4408,7 +4418,7 @@ function oa(e, t, n, r, o, i) {
4408
4418
  }, 1032, ["TagName", "attributes"]))), 128))
4409
4419
  ], 16);
4410
4420
  }
4411
- const ia = /* @__PURE__ */ N(ra, [["render", oa], ["__scopeId", "data-v-bdc9da04"]]), sa = j({
4421
+ const ia = /* @__PURE__ */ B(ra, [["render", oa], ["__scopeId", "data-v-bdc9da04"]]), sa = j({
4412
4422
  name: "builder-fragment-component",
4413
4423
  props: []
4414
4424
  });
@@ -4417,7 +4427,7 @@ function aa(e, t, n, r, o, i) {
4417
4427
  le(e.$slots, "default")
4418
4428
  ]);
4419
4429
  }
4420
- const la = /* @__PURE__ */ N(sa, [["render", aa]]);
4430
+ const la = /* @__PURE__ */ B(sa, [["render", aa]]);
4421
4431
  function Or(e) {
4422
4432
  return e.replace(/http(s)?:/, "");
4423
4433
  }
@@ -4504,13 +4514,13 @@ const pa = j({
4504
4514
  function ma(e, t, n, r, o, i) {
4505
4515
  var s, u, p, m, b, v;
4506
4516
  return y(), I(X, null, [
4507
- ft("picture", null, [
4517
+ ze("picture", null, [
4508
4518
  e.webpSrcSet ? (y(), I("source", {
4509
4519
  key: 0,
4510
4520
  type: "image/webp",
4511
4521
  srcset: e.webpSrcSet
4512
- }, null, 8, da)) : M("", !0),
4513
- ft("img", {
4522
+ }, null, 8, da)) : L("", !0),
4523
+ ze("img", {
4514
4524
  loading: e.highPriority ? "eager" : "lazy",
4515
4525
  fetchpriority: e.highPriority ? "high" : "auto",
4516
4526
  alt: e.altText,
@@ -4534,14 +4544,14 @@ function ma(e, t, n, r, o, i) {
4534
4544
  style: Pe({
4535
4545
  paddingTop: e.aspectRatio * 100 + "%"
4536
4546
  })
4537
- }, null, 4)) : M("", !0),
4538
- (m = (p = e.builderBlock) == null ? void 0 : p.children) != null && m.length && e.fitContent ? le(e.$slots, "default", { key: 1 }, void 0, !0) : M("", !0),
4547
+ }, null, 4)) : L("", !0),
4548
+ (m = (p = e.builderBlock) == null ? void 0 : p.children) != null && m.length && e.fitContent ? le(e.$slots, "default", { key: 1 }, void 0, !0) : L("", !0),
4539
4549
  !e.fitContent && ((v = (b = e.builderBlock) == null ? void 0 : b.children) != null && v.length) ? (y(), I("div", ha, [
4540
4550
  le(e.$slots, "default", {}, void 0, !0)
4541
- ])) : M("", !0)
4551
+ ])) : L("", !0)
4542
4552
  ], 64);
4543
4553
  }
4544
- const ga = /* @__PURE__ */ N(pa, [["render", ma], ["__scopeId", "data-v-33d4f353"]]), ya = j({
4554
+ const ga = /* @__PURE__ */ B(pa, [["render", ma], ["__scopeId", "data-v-33d4f353"]]), ya = j({
4545
4555
  name: "builder-section-component",
4546
4556
  props: ["attributes", "maxWidth"],
4547
4557
  data() {
@@ -4549,7 +4559,7 @@ const ga = /* @__PURE__ */ N(pa, [["render", ma], ["__scopeId", "data-v-33d4f353
4549
4559
  }
4550
4560
  });
4551
4561
  function va(e, t, n, r, o, i) {
4552
- return y(), I("section", q({
4562
+ return y(), I("section", z({
4553
4563
  style: {
4554
4564
  width: "100%",
4555
4565
  alignSelf: "stretch",
@@ -4566,7 +4576,7 @@ function va(e, t, n, r, o, i) {
4566
4576
  le(e.$slots, "default")
4567
4577
  ], 16);
4568
4578
  }
4569
- const ba = /* @__PURE__ */ N(ya, [["render", va]]), un = {
4579
+ const ba = /* @__PURE__ */ B(ya, [["render", va]]), un = {
4570
4580
  "@type": "@builder.io/sdk:Element",
4571
4581
  layerName: "Accordion item title",
4572
4582
  responsiveStyles: {
@@ -4692,7 +4702,7 @@ const ba = /* @__PURE__ */ N(ya, [["render", va]]), un = {
4692
4702
  }
4693
4703
  }, Sa = (e) => e.toString(), Ca = j({
4694
4704
  name: "builder-accordion",
4695
- components: { Blocks: _e },
4705
+ components: { Blocks: Je },
4696
4706
  props: [
4697
4707
  "grid",
4698
4708
  "oneAtATime",
@@ -4787,13 +4797,13 @@ const ba = /* @__PURE__ */ N(ya, [["render", va]]), un = {
4787
4797
  }
4788
4798
  }), wa = ["data-index", "onClick"];
4789
4799
  function Ea(e, t, n, r, o, i) {
4790
- const s = V("Blocks");
4800
+ const s = D("Blocks");
4791
4801
  return y(), I("div", {
4792
4802
  class: "builder-accordion",
4793
4803
  style: Pe(e.accordionStyles)
4794
4804
  }, [
4795
4805
  (y(!0), I(X, null, Ee(e.items, (u, p) => (y(), I(X, { key: p }, [
4796
- ft("div", {
4806
+ ze("div", {
4797
4807
  class: ht(e.getAccordionTitleClassName(p)),
4798
4808
  style: Pe({
4799
4809
  ...e.accordionTitleStyles,
@@ -4827,11 +4837,11 @@ function Ea(e, t, n, r, o, i) {
4827
4837
  registeredComponents: e.builderComponents,
4828
4838
  linkComponent: e.builderLinkComponent
4829
4839
  }, null, 8, ["blocks", "path", "parent", "context", "registeredComponents", "linkComponent"])
4830
- ], 6)) : M("", !0)
4840
+ ], 6)) : L("", !0)
4831
4841
  ], 64))), 128))
4832
4842
  ], 4);
4833
4843
  }
4834
- const Ta = /* @__PURE__ */ N(Ca, [["render", Ea]]), Ia = {
4844
+ const Ta = /* @__PURE__ */ B(Ca, [["render", Ea]]), Ia = {
4835
4845
  name: "Core:Button",
4836
4846
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
4837
4847
  defaultStyles: {
@@ -5074,13 +5084,13 @@ const Ta = /* @__PURE__ */ N(Ca, [["render", Ea]]), Ia = {
5074
5084
  builderComponents: !0,
5075
5085
  builderLinkComponent: !0
5076
5086
  }
5077
- }, Aa = {
5087
+ }, Ra = {
5078
5088
  name: "Fragment",
5079
5089
  static: !0,
5080
5090
  hidden: !0,
5081
5091
  canHaveChildren: !0,
5082
5092
  noWrap: !0
5083
- }, Ln = ["jpeg", "jpg", "png", "svg", "webp", "gif", "jfif", "pjpeg", "pjp", "apng", "avif", "tif", "tiff", "heif", "bmp", "eps", "raw", "cr2", "nef", "orf", "sr2", "psd", "heic", "dib", "ai"], Ra = ["mp4", "webm", "mkv", "flv", "vob", "ogv", "ogg", "drc", "gif", "gifv", "mng", "avi", "mov", "qt", "mts", "m2ts", "ts", "wmv", "yuv", "rm", "rmvb", "viv", "asf", "amv", "m4p", "mpeg", "mpe", "m2v", "m4v", "svi", "3gp", "3g2", "mxf", "roq", "nsv", "f4v", "f4p", "f4a", "f4b"], $a = {
5093
+ }, Mn = ["jpeg", "jpg", "png", "svg", "webp", "gif", "jfif", "pjpeg", "pjp", "apng", "avif", "tif", "tiff", "heif", "bmp", "eps", "raw", "cr2", "nef", "orf", "sr2", "psd", "heic", "dib", "ai"], Aa = ["mp4", "webm", "mkv", "flv", "vob", "ogv", "ogg", "drc", "gif", "gifv", "mng", "avi", "mov", "qt", "mts", "m2ts", "ts", "wmv", "yuv", "rm", "rmvb", "viv", "asf", "amv", "m4p", "mpeg", "mpe", "m2v", "m4v", "svi", "3gp", "3g2", "mxf", "roq", "nsv", "f4v", "f4p", "f4a", "f4b"], $a = {
5084
5094
  name: "Image",
5085
5095
  static: !0,
5086
5096
  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",
@@ -5095,7 +5105,7 @@ const Ta = /* @__PURE__ */ N(Ca, [["render", Ea]]), Ia = {
5095
5105
  name: "image",
5096
5106
  type: "file",
5097
5107
  bubble: !0,
5098
- allowedFileTypes: Ln,
5108
+ allowedFileTypes: Mn,
5099
5109
  required: !0,
5100
5110
  defaultValue: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",
5101
5111
  onChange: (e) => {
@@ -5256,13 +5266,13 @@ const Ta = /* @__PURE__ */ N(Ca, [["render", Ea]]), Ia = {
5256
5266
  }
5257
5267
  }, ja = j({
5258
5268
  name: "builder-slot",
5259
- components: { Blocks: _e },
5269
+ components: { Blocks: Je },
5260
5270
  props: ["builderContext", "name", "builderComponents"]
5261
5271
  });
5262
- function Ba(e, t, n, r, o, i) {
5272
+ function Na(e, t, n, r, o, i) {
5263
5273
  var u, p, m;
5264
- const s = V("Blocks");
5265
- return y(), I("div", q(
5274
+ const s = D("Blocks");
5275
+ return y(), I("div", z(
5266
5276
  { style: {
5267
5277
  pointerEvents: "auto"
5268
5278
  } },
@@ -5279,7 +5289,7 @@ function Ba(e, t, n, r, o, i) {
5279
5289
  }, null, 8, ["parent", "path", "context", "registeredComponents", "blocks"])
5280
5290
  ], 16);
5281
5291
  }
5282
- const Na = /* @__PURE__ */ N(ja, [["render", Ba]]), Ua = {
5292
+ const Ba = /* @__PURE__ */ B(ja, [["render", Na]]), Ua = {
5283
5293
  name: "Symbol",
5284
5294
  noWrap: !0,
5285
5295
  static: !0,
@@ -5356,7 +5366,7 @@ const Na = /* @__PURE__ */ N(ja, [["render", Ba]]), Ua = {
5356
5366
  text: "New tab content "
5357
5367
  }
5358
5368
  }
5359
- }, Da = {
5369
+ }, Va = {
5360
5370
  name: "Builder: Tabs",
5361
5371
  inputs: [{
5362
5372
  name: "tabs",
@@ -5459,9 +5469,9 @@ const Na = /* @__PURE__ */ N(ja, [["render", Ba]]), Ua = {
5459
5469
  builderComponents: !0,
5460
5470
  builderLinkComponent: !0
5461
5471
  }
5462
- }, Va = j({
5472
+ }, Da = j({
5463
5473
  name: "builder-tabs",
5464
- components: { Blocks: _e },
5474
+ components: { Blocks: Je },
5465
5475
  props: [
5466
5476
  "defaultActiveTab",
5467
5477
  "tabs",
@@ -5485,10 +5495,10 @@ const Na = /* @__PURE__ */ N(ja, [["render", Ba]]), Ua = {
5485
5495
  }
5486
5496
  }
5487
5497
  }), Fa = ["onClick"], Wa = { key: 0 };
5488
- function Ma(e, t, n, r, o, i) {
5489
- const s = V("Blocks");
5498
+ function La(e, t, n, r, o, i) {
5499
+ const s = D("Blocks");
5490
5500
  return y(), I("div", null, [
5491
- ft("div", {
5501
+ ze("div", {
5492
5502
  class: "builder-tabs-wrap",
5493
5503
  style: Pe({
5494
5504
  display: "flex",
@@ -5524,10 +5534,10 @@ function Ma(e, t, n, r, o, i) {
5524
5534
  registeredComponents: e.builderComponents,
5525
5535
  linkComponent: e.builderLinkComponent
5526
5536
  }, null, 8, ["parent", "path", "blocks", "context", "registeredComponents", "linkComponent"])
5527
- ])) : M("", !0)
5537
+ ])) : L("", !0)
5528
5538
  ]);
5529
5539
  }
5530
- const La = /* @__PURE__ */ N(Va, [["render", Ma]]), Ha = {
5540
+ const Ma = /* @__PURE__ */ B(Da, [["render", La]]), Ha = {
5531
5541
  shouldReceiveBuilderProps: {
5532
5542
  builderBlock: !1,
5533
5543
  builderContext: !0
@@ -5563,7 +5573,7 @@ function Ga(e, t, n, r, o, i) {
5563
5573
  }
5564
5574
  }, null, 8, za);
5565
5575
  }
5566
- const qa = /* @__PURE__ */ N(Ka, [["render", Ga]]), _a = {
5576
+ const qa = /* @__PURE__ */ B(Ka, [["render", Ga]]), _a = {
5567
5577
  name: "Custom Code",
5568
5578
  static: !0,
5569
5579
  requiredPermissions: ["editCode"],
@@ -5627,7 +5637,7 @@ function Ya(e, t, n, r, o, i) {
5627
5637
  innerHTML: e.code
5628
5638
  }, null, 10, Xa);
5629
5639
  }
5630
- const Za = /* @__PURE__ */ N(Ja, [["render", Ya]]), Qa = {
5640
+ const Za = /* @__PURE__ */ B(Ja, [["render", Ya]]), Qa = {
5631
5641
  name: "Embed",
5632
5642
  static: !0,
5633
5643
  inputs: [{
@@ -5692,7 +5702,7 @@ function ol(e, t, n, r, o, i) {
5692
5702
  innerHTML: e.content
5693
5703
  }, null, 8, rl);
5694
5704
  }
5695
- const il = /* @__PURE__ */ N(nl, [["render", ol]]), sl = {
5705
+ const il = /* @__PURE__ */ B(nl, [["render", ol]]), sl = {
5696
5706
  name: "Form:Form",
5697
5707
  // editableTags: ['builder-form-error']
5698
5708
  defaults: {
@@ -5934,7 +5944,7 @@ const il = /* @__PURE__ */ N(nl, [["render", ol]]), sl = {
5934
5944
  return al.includes(e) ? e : "production";
5935
5945
  }, ul = j({
5936
5946
  name: "builder-form-component",
5937
- components: { Blocks: _e },
5947
+ components: { Blocks: Je },
5938
5948
  props: [
5939
5949
  "builderContext",
5940
5950
  "previewState",
@@ -6044,7 +6054,7 @@ const il = /* @__PURE__ */ N(nl, [["render", ol]]), sl = {
6044
6054
  let T;
6045
6055
  const U = g.headers.get("content-type");
6046
6056
  if (U && U.indexOf("application/json") !== -1 ? T = await g.json() : T = await g.text(), !g.ok && this.errorMessagePath) {
6047
- let O = Vr(T, this.errorMessagePath);
6057
+ let O = Dr(T, this.errorMessagePath);
6048
6058
  O && (typeof O != "string" && (O = JSON.stringify(O)), this.formErrorMessage = O, this.mergeNewRootState({
6049
6059
  formErrorMessage: O
6050
6060
  }));
@@ -6090,8 +6100,8 @@ const il = /* @__PURE__ */ N(nl, [["render", ol]]), sl = {
6090
6100
  class: "builder-form-error-text pre-1hjwvu3r5mj"
6091
6101
  };
6092
6102
  function dl(e, t, n, r, o, i) {
6093
- const s = V("Blocks");
6094
- return y(), I("form", q({
6103
+ const s = D("Blocks");
6104
+ return y(), I("form", z({
6095
6105
  validate: e.validate,
6096
6106
  ref: "formRef",
6097
6107
  action: !e.sendWithJs && e.action,
@@ -6100,28 +6110,28 @@ function dl(e, t, n, r, o, i) {
6100
6110
  onSubmit: t[0] || (t[0] = async (u) => e.onSubmit(u))
6101
6111
  }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, de(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
6102
6112
  le(e.$slots, "default", {}, void 0, !0),
6103
- e.submissionState() === "error" ? (y(), D(s, {
6113
+ e.submissionState() === "error" ? (y(), V(s, {
6104
6114
  key: 0,
6105
6115
  path: "errorMessage",
6106
6116
  blocks: e.errorMessage,
6107
6117
  context: e.builderContext
6108
- }, null, 8, ["blocks", "context"])) : M("", !0),
6109
- e.submissionState() === "sending" ? (y(), D(s, {
6118
+ }, null, 8, ["blocks", "context"])) : L("", !0),
6119
+ e.submissionState() === "sending" ? (y(), V(s, {
6110
6120
  key: 1,
6111
6121
  path: "sendingMessage",
6112
6122
  blocks: e.sendingMessage,
6113
6123
  context: e.builderContext
6114
- }, null, 8, ["blocks", "context"])) : M("", !0),
6115
- e.submissionState() === "error" && e.responseData ? (y(), I("pre", pl, Nt(JSON.stringify(e.responseData, null, 2)), 1)) : M("", !0),
6116
- e.submissionState() === "success" ? (y(), D(s, {
6124
+ }, null, 8, ["blocks", "context"])) : L("", !0),
6125
+ e.submissionState() === "error" && e.responseData ? (y(), I("pre", pl, Bt(JSON.stringify(e.responseData, null, 2)), 1)) : L("", !0),
6126
+ e.submissionState() === "success" ? (y(), V(s, {
6117
6127
  key: 3,
6118
6128
  path: "successMessage",
6119
6129
  blocks: e.successMessage,
6120
6130
  context: e.builderContext
6121
- }, null, 8, ["blocks", "context"])) : M("", !0)
6131
+ }, null, 8, ["blocks", "context"])) : L("", !0)
6122
6132
  ], 16, cl);
6123
6133
  }
6124
- const fl = /* @__PURE__ */ N(ul, [["render", dl], ["__scopeId", "data-v-4ef43cdd"]]), hl = {
6134
+ const fl = /* @__PURE__ */ B(ul, [["render", dl], ["__scopeId", "data-v-4ef43cdd"]]), hl = {
6125
6135
  name: "Form:Input",
6126
6136
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
6127
6137
  inputs: [
@@ -6188,7 +6198,7 @@ const fl = /* @__PURE__ */ N(ul, [["render", dl], ["__scopeId", "data-v-4ef43cdd
6188
6198
  }
6189
6199
  }), gl = ["placeholder", "type", "name", "value", "defaultValue", "required"];
6190
6200
  function yl(e, t, n, r, o, i) {
6191
- return y(), I("input", q({
6201
+ return y(), I("input", z({
6192
6202
  key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
6193
6203
  placeholder: e.placeholder,
6194
6204
  type: e.type,
@@ -6198,7 +6208,7 @@ function yl(e, t, n, r, o, i) {
6198
6208
  required: e.required
6199
6209
  }, e.filterAttrs(e.attributes, "v-on:", !1), de(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, gl);
6200
6210
  }
6201
- const vl = /* @__PURE__ */ N(ml, [["render", yl]]), bl = {
6211
+ const vl = /* @__PURE__ */ B(ml, [["render", yl]]), bl = {
6202
6212
  name: "Form:Select",
6203
6213
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
6204
6214
  defaultStyles: {
@@ -6248,7 +6258,7 @@ const vl = /* @__PURE__ */ N(ml, [["render", yl]]), bl = {
6248
6258
  }
6249
6259
  }), Sl = ["value", "defaultValue", "name", "required"], Cl = ["value"];
6250
6260
  function wl(e, t, n, r, o, i) {
6251
- return y(), I("select", q({
6261
+ return y(), I("select", z({
6252
6262
  value: e.value,
6253
6263
  key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
6254
6264
  defaultValue: e.defaultValue,
@@ -6258,10 +6268,10 @@ function wl(e, t, n, r, o, i) {
6258
6268
  (y(!0), I(X, null, Ee(e.options, (s, u) => (y(), I("option", {
6259
6269
  key: `${s.name}-${u}`,
6260
6270
  value: s.value
6261
- }, Nt(s.name || s.value), 9, Cl))), 128))
6271
+ }, Bt(s.name || s.value), 9, Cl))), 128))
6262
6272
  ], 16, Sl);
6263
6273
  }
6264
- const El = /* @__PURE__ */ N(kl, [["render", wl]]), Tl = {
6274
+ const El = /* @__PURE__ */ B(kl, [["render", wl]]), Tl = {
6265
6275
  name: "Form:SubmitButton",
6266
6276
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
6267
6277
  defaultStyles: {
@@ -6294,9 +6304,9 @@ const El = /* @__PURE__ */ N(kl, [["render", wl]]), Tl = {
6294
6304
  }
6295
6305
  });
6296
6306
  function xl(e, t, n, r, o, i) {
6297
- return y(), I("button", q({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), de(e.filterAttrs(e.attributes, "v-on:", !0), !0)), Nt(e.text), 17);
6307
+ return y(), I("button", z({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), de(e.filterAttrs(e.attributes, "v-on:", !0), !0)), Bt(e.text), 17);
6298
6308
  }
6299
- const Al = /* @__PURE__ */ N(Il, [["render", xl]]), Rl = {
6309
+ const Rl = /* @__PURE__ */ B(Il, [["render", xl]]), Al = {
6300
6310
  name: "Form:TextArea",
6301
6311
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
6302
6312
  inputs: [{
@@ -6347,7 +6357,7 @@ const Al = /* @__PURE__ */ N(Il, [["render", xl]]), Rl = {
6347
6357
  }
6348
6358
  }), Pl = ["placeholder", "name", "value", "defaultValue", "required"];
6349
6359
  function Ol(e, t, n, r, o, i) {
6350
- return y(), I("textarea", q({
6360
+ return y(), I("textarea", z({
6351
6361
  placeholder: e.placeholder,
6352
6362
  name: e.name,
6353
6363
  value: e.value,
@@ -6355,7 +6365,7 @@ function Ol(e, t, n, r, o, i) {
6355
6365
  required: e.required
6356
6366
  }, e.filterAttrs(e.attributes, "v-on:", !1), de(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Pl);
6357
6367
  }
6358
- const jl = /* @__PURE__ */ N($l, [["render", Ol]]), Bl = {
6368
+ const jl = /* @__PURE__ */ B($l, [["render", Ol]]), Nl = {
6359
6369
  // friendlyName?
6360
6370
  name: "Raw:Img",
6361
6371
  hideFromInsertMenu: !0,
@@ -6364,12 +6374,12 @@ const jl = /* @__PURE__ */ N($l, [["render", Ol]]), Bl = {
6364
6374
  name: "image",
6365
6375
  bubble: !0,
6366
6376
  type: "file",
6367
- allowedFileTypes: Ln,
6377
+ allowedFileTypes: Mn,
6368
6378
  required: !0
6369
6379
  }],
6370
6380
  noWrap: !0,
6371
6381
  static: !0
6372
- }, Nl = j({
6382
+ }, Bl = j({
6373
6383
  name: "builder-img-component",
6374
6384
  props: [
6375
6385
  "backgroundSize",
@@ -6383,8 +6393,8 @@ const jl = /* @__PURE__ */ N($l, [["render", Ol]]), Bl = {
6383
6393
  return { isEditing: ie, filterAttrs: he };
6384
6394
  }
6385
6395
  }), Ul = ["alt", "src"];
6386
- function Dl(e, t, n, r, o, i) {
6387
- return y(), I("img", q({
6396
+ function Vl(e, t, n, r, o, i) {
6397
+ return y(), I("img", z({
6388
6398
  style: {
6389
6399
  objectFit: e.backgroundSize || "cover",
6390
6400
  objectPosition: e.backgroundPosition || "center"
@@ -6394,7 +6404,7 @@ function Dl(e, t, n, r, o, i) {
6394
6404
  src: e.imgSrc || e.image
6395
6405
  }, e.filterAttrs(e.attributes, "v-on:", !1), de(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Ul);
6396
6406
  }
6397
- const Vl = /* @__PURE__ */ N(Nl, [["render", Dl]]), Fl = {
6407
+ const Dl = /* @__PURE__ */ B(Bl, [["render", Vl]]), Fl = {
6398
6408
  name: "Video",
6399
6409
  canHaveChildren: !0,
6400
6410
  defaultStyles: {
@@ -6405,14 +6415,14 @@ const Vl = /* @__PURE__ */ N(Nl, [["render", Dl]]), Fl = {
6405
6415
  inputs: [{
6406
6416
  name: "video",
6407
6417
  type: "file",
6408
- allowedFileTypes: Ra,
6418
+ allowedFileTypes: Aa,
6409
6419
  bubble: !0,
6410
6420
  defaultValue: "https://cdn.builder.io/o/assets%2FYJIGb4i01jvw0SRdL5Bt%2Fd27731a526464deba0016216f5f9e570%2Fcompressed?apiKey=YJIGb4i01jvw0SRdL5Bt&token=d27731a526464deba0016216f5f9e570&alt=media&optimized=true",
6411
6421
  required: !0
6412
6422
  }, {
6413
6423
  name: "posterImage",
6414
6424
  type: "file",
6415
- allowedFileTypes: Ln,
6425
+ allowedFileTypes: Mn,
6416
6426
  helperText: "Image to show before the video plays"
6417
6427
  }, {
6418
6428
  name: "autoPlay",
@@ -6481,6 +6491,7 @@ const Vl = /* @__PURE__ */ N(Nl, [["render", Dl]]), Fl = {
6481
6491
  }, Wl = j({
6482
6492
  name: "builder-video",
6483
6493
  props: [
6494
+ "lazyLoad",
6484
6495
  "autoPlay",
6485
6496
  "muted",
6486
6497
  "controls",
@@ -6491,12 +6502,39 @@ const Vl = /* @__PURE__ */ N(Nl, [["render", Dl]]), Fl = {
6491
6502
  "fit",
6492
6503
  "position",
6493
6504
  "aspectRatio",
6494
- "video",
6495
6505
  "posterImage",
6496
- "lazyLoad",
6506
+ "video",
6497
6507
  "fitContent",
6498
6508
  "builderBlock"
6499
6509
  ],
6510
+ data() {
6511
+ return { lazyVideoObserver: void 0 };
6512
+ },
6513
+ mounted() {
6514
+ if (this.lazyLoad) {
6515
+ const e = new IntersectionObserver(function(t) {
6516
+ t.forEach(function(n) {
6517
+ if (!n.isIntersecting)
6518
+ return;
6519
+ const r = n.target;
6520
+ try {
6521
+ Array.from(r.children).filter(
6522
+ (o) => o instanceof HTMLElement && o.tagName === "SOURCE"
6523
+ ).forEach((o) => {
6524
+ const i = o.dataset.src;
6525
+ i && (o.src = i);
6526
+ }), r.load(), e.unobserve(r);
6527
+ } catch (o) {
6528
+ console.error("Error loading lazy video:", o);
6529
+ }
6530
+ });
6531
+ });
6532
+ this.$refs.videoRef && e.observe(this.$refs.videoRef), this.lazyVideoObserver = e;
6533
+ }
6534
+ },
6535
+ unmounted() {
6536
+ this.lazyVideoObserver && this.lazyVideoObserver.disconnect();
6537
+ },
6500
6538
  computed: {
6501
6539
  videoProps() {
6502
6540
  return {
@@ -6523,16 +6561,16 @@ const Vl = /* @__PURE__ */ N(Nl, [["render", Dl]]), Fl = {
6523
6561
  };
6524
6562
  }
6525
6563
  }
6526
- }), Ml = { style: {
6564
+ }), Ll = { style: {
6527
6565
  position: "relative"
6528
- } }, Ll = ["preload", "src", "poster"], Hl = ["src"], Kl = {
6566
+ } }, Ml = ["preload", "poster"], Hl = {
6529
6567
  key: 1,
6530
6568
  style: {
6531
6569
  display: "flex",
6532
6570
  flexDirection: "column",
6533
6571
  alignItems: "stretch"
6534
6572
  }
6535
- }, zl = {
6573
+ }, Kl = {
6536
6574
  key: 2,
6537
6575
  style: {
6538
6576
  pointerEvents: "none",
@@ -6546,12 +6584,13 @@ const Vl = /* @__PURE__ */ N(Nl, [["render", Dl]]), Fl = {
6546
6584
  height: "100%"
6547
6585
  }
6548
6586
  };
6549
- function Gl(e, t, n, r, o, i) {
6587
+ function zl(e, t, n, r, o, i) {
6550
6588
  var s, u, p, m, b, v, g;
6551
- return y(), I("div", Ml, [
6552
- ft("video", q({
6589
+ return y(), I("div", Ll, [
6590
+ ze("video", z({
6553
6591
  class: "builder-video",
6554
- preload: e.preload || "metadata",
6592
+ ref: "videoRef",
6593
+ preload: e.lazyLoad ? "none" : e.preload || "metadata",
6555
6594
  style: {
6556
6595
  width: "100%",
6557
6596
  height: "100%",
@@ -6565,15 +6604,17 @@ function Gl(e, t, n, r, o, i) {
6565
6604
  position: "absolute"
6566
6605
  } : null
6567
6606
  },
6568
- src: e.video || "no-src",
6569
6607
  poster: e.posterImage
6570
6608
  }, e.spreadProps), [
6571
- e.lazyLoad ? M("", !0) : (y(), I("source", {
6572
- key: 0,
6573
- type: "video/mp4",
6574
- src: e.video
6575
- }, null, 8, Hl))
6576
- ], 16, Ll),
6609
+ ze("source", z(
6610
+ { type: "video/mp4" },
6611
+ e.lazyLoad ? {
6612
+ "data-src": e.video
6613
+ } : {
6614
+ src: e.video
6615
+ }
6616
+ ), null, 16)
6617
+ ], 16, Ml),
6577
6618
  e.aspectRatio && !(e.fitContent && ((p = (u = e.builderBlock) == null ? void 0 : u.children) != null && p.length)) ? (y(), I("div", {
6578
6619
  key: 0,
6579
6620
  style: Pe({
@@ -6582,16 +6623,16 @@ function Gl(e, t, n, r, o, i) {
6582
6623
  pointerEvents: "none",
6583
6624
  fontSize: "0px"
6584
6625
  })
6585
- }, null, 4)) : M("", !0),
6586
- (b = (m = e.builderBlock) == null ? void 0 : m.children) != null && b.length && e.fitContent ? (y(), I("div", Kl, [
6626
+ }, null, 4)) : L("", !0),
6627
+ (b = (m = e.builderBlock) == null ? void 0 : m.children) != null && b.length && e.fitContent ? (y(), I("div", Hl, [
6587
6628
  le(e.$slots, "default")
6588
- ])) : M("", !0),
6589
- (g = (v = e.builderBlock) == null ? void 0 : v.children) != null && g.length && !e.fitContent ? (y(), I("div", zl, [
6629
+ ])) : L("", !0),
6630
+ (g = (v = e.builderBlock) == null ? void 0 : v.children) != null && g.length && !e.fitContent ? (y(), I("div", Kl, [
6590
6631
  le(e.$slots, "default")
6591
- ])) : M("", !0)
6632
+ ])) : L("", !0)
6592
6633
  ]);
6593
6634
  }
6594
- const ql = /* @__PURE__ */ N(Wl, [["render", Gl]]), _l = () => [{
6635
+ const Gl = /* @__PURE__ */ B(Wl, [["render", zl]]), ql = () => [{
6595
6636
  component: Za,
6596
6637
  ..._a
6597
6638
  }, {
@@ -6604,19 +6645,19 @@ const ql = /* @__PURE__ */ N(Wl, [["render", Gl]]), _l = () => [{
6604
6645
  component: vl,
6605
6646
  ...hl
6606
6647
  }, {
6607
- component: Al,
6648
+ component: Rl,
6608
6649
  ...Tl
6609
6650
  }, {
6610
6651
  component: El,
6611
6652
  ...bl
6612
6653
  }, {
6613
6654
  component: jl,
6614
- ...Rl
6655
+ ...Al
6615
6656
  }, {
6616
- component: Vl,
6617
- ...Bl
6657
+ component: Dl,
6658
+ ...Nl
6618
6659
  }, {
6619
- component: ql,
6660
+ component: Gl,
6620
6661
  ...Fl
6621
6662
  }], jr = () => [{
6622
6663
  component: Xo,
@@ -6626,7 +6667,7 @@ const ql = /* @__PURE__ */ N(Wl, [["render", Gl]]), _l = () => [{
6626
6667
  ...xa
6627
6668
  }, {
6628
6669
  component: la,
6629
- ...Aa
6670
+ ...Ra
6630
6671
  }, {
6631
6672
  component: ga,
6632
6673
  ...$a
@@ -6634,21 +6675,21 @@ const ql = /* @__PURE__ */ N(Wl, [["render", Gl]]), _l = () => [{
6634
6675
  component: ba,
6635
6676
  ...Pa
6636
6677
  }, {
6637
- component: Na,
6678
+ component: Ba,
6638
6679
  ...Oa
6639
6680
  }, {
6640
- component: Pu,
6681
+ component: $u,
6641
6682
  ...Ua
6642
6683
  }, {
6643
6684
  component: qa,
6644
6685
  ...Ha
6645
6686
  }, {
6646
- component: La,
6647
- ...Da
6687
+ component: Ma,
6688
+ ...Va
6648
6689
  }, {
6649
6690
  component: Ta,
6650
6691
  ...ka
6651
- }, ..._l()], Jl = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
6692
+ }, ...ql()], _l = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
6652
6693
  function getAndSetVariantId() {
6653
6694
  function setCookie(name, value, days) {
6654
6695
  let expires = '';
@@ -6704,7 +6745,7 @@ const ql = /* @__PURE__ */ N(Wl, [["render", Gl]]), _l = () => [{
6704
6745
  }).join('');
6705
6746
  styleEl.innerHTML = newStyleStr;
6706
6747
  }
6707
- }`, Xl = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
6748
+ }`, Jl = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
6708
6749
  if (!navigator.cookieEnabled) {
6709
6750
  return;
6710
6751
  }
@@ -6742,25 +6783,25 @@ const ql = /* @__PURE__ */ N(Wl, [["render", Gl]]), _l = () => [{
6742
6783
  ...t,
6743
6784
  testVariationId: t.id,
6744
6785
  id: e == null ? void 0 : e.id
6745
- })), Yl = ({
6786
+ })), Xl = ({
6746
6787
  canTrack: e,
6747
6788
  content: t
6748
- }) => !(!(Pt(t).length > 0) || !e), Zl = (e) => e === "react" || e === "reactNative", To = Zl(re), Ql = () => `
6749
- window.${wo} = ${Jl}
6750
- window.${Eo} = ${Xl}
6751
- `, eu = (e, t) => `
6789
+ }) => !(!(Pt(t).length > 0) || !e), Yl = (e) => e === "react" || e === "reactNative", To = Yl(re), Zl = () => `
6790
+ window.${wo} = ${_l}
6791
+ window.${Eo} = ${Jl}
6792
+ `, Ql = (e, t) => `
6752
6793
  window.${wo}(
6753
6794
  "${t}",${JSON.stringify(e)}, ${To}
6754
- )`, tu = ({
6795
+ )`, eu = ({
6755
6796
  contentId: e,
6756
6797
  variationId: t
6757
6798
  }) => `window.${Eo}(
6758
6799
  "${t}", "${e}", ${To}
6759
6800
  )`;
6760
- function Br(e) {
6801
+ function Nr(e) {
6761
6802
  return Math.round(e * 1e3) / 1e3;
6762
6803
  }
6763
- const nu = (e, t, n = !0) => {
6804
+ const tu = (e, t, n = !0) => {
6764
6805
  if (!(e instanceof HTMLElement))
6765
6806
  return null;
6766
6807
  let r = n ? e : e.parentElement;
@@ -6771,35 +6812,35 @@ const nu = (e, t, n = !0) => {
6771
6812
  return r;
6772
6813
  } while (r = r.parentElement);
6773
6814
  return null;
6774
- }, ru = (e) => nu(e, (t) => {
6815
+ }, nu = (e) => tu(e, (t) => {
6775
6816
  const n = t.getAttribute("builder-id") || t.id;
6776
6817
  return (n == null ? void 0 : n.indexOf("builder-")) === 0;
6777
- }), Nr = ({
6818
+ }), Br = ({
6778
6819
  event: e,
6779
6820
  target: t
6780
6821
  }) => {
6781
- const n = t.getBoundingClientRect(), r = e.clientX - n.left, o = e.clientY - n.top, i = Br(r / n.width), s = Br(o / n.height);
6822
+ const n = t.getBoundingClientRect(), r = e.clientX - n.left, o = e.clientY - n.top, i = Nr(r / n.width), s = Nr(o / n.height);
6782
6823
  return {
6783
6824
  x: i,
6784
6825
  y: s
6785
6826
  };
6786
- }, ou = (e) => {
6787
- const t = e.target, n = t && ru(t), r = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
6827
+ }, ru = (e) => {
6828
+ const t = e.target, n = t && nu(t), r = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
6788
6829
  return {
6789
6830
  targetBuilderElement: r || void 0,
6790
6831
  metadata: {
6791
- targetOffset: t ? Nr({
6832
+ targetOffset: t ? Br({
6792
6833
  event: e,
6793
6834
  target: t
6794
6835
  }) : void 0,
6795
- builderTargetOffset: n ? Nr({
6836
+ builderTargetOffset: n ? Br({
6796
6837
  event: e,
6797
6838
  target: n
6798
6839
  }) : void 0,
6799
6840
  builderElementIndex: n && r ? [].slice.call(document.getElementsByClassName(r)).indexOf(n) : void 0
6800
6841
  }
6801
6842
  };
6802
- }, iu = ["svelte", "qwik", "vue"], su = () => iu.includes(re) && (ie() || Xr()), au = (e) => {
6843
+ }, ou = ["svelte", "qwik", "vue"], iu = () => ou.includes(re) && (ie() || Xr()), su = (e) => {
6803
6844
  var i;
6804
6845
  const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], r = e.fileUrl ?? ((i = e == null ? void 0 : e.files) == null ? void 0 : i.regular);
6805
6846
  let o = "";
@@ -6825,15 +6866,15 @@ font-weight: ${s};
6825
6866
  `.trim());
6826
6867
  }
6827
6868
  return o;
6828
- }, lu = ({
6869
+ }, au = ({
6829
6870
  customFonts: e
6830
6871
  }) => {
6831
6872
  var t;
6832
- return ((t = e == null ? void 0 : e.map((n) => au(n))) == null ? void 0 : t.join(" ")) || "";
6833
- }, uu = ({
6873
+ return ((t = e == null ? void 0 : e.map((n) => su(n))) == null ? void 0 : t.join(" ")) || "";
6874
+ }, lu = ({
6834
6875
  cssCode: e,
6835
6876
  contentId: t
6836
- }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", cu = `
6877
+ }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", uu = `
6837
6878
  .builder-button {
6838
6879
  all: unset;
6839
6880
  }
@@ -6850,7 +6891,7 @@ font-weight: ${s};
6850
6891
  text-align: inherit;
6851
6892
  font-family: inherit;
6852
6893
  }
6853
- `, pu = (e) => e ? "" : cu, du = (e) => `variant-${e}`, fu = j({
6894
+ `, cu = (e) => e ? "" : uu, pu = (e) => `variant-${e}`, du = j({
6854
6895
  name: "enable-editor",
6855
6896
  components: { DynamicDiv: St },
6856
6897
  props: [
@@ -6877,8 +6918,8 @@ font-weight: ${s};
6877
6918
  httpReqsPending: {},
6878
6919
  clicked: !1,
6879
6920
  builderContext: fn,
6880
- needsElementRefDivForEditing: su,
6881
- getWrapperClassName: du
6921
+ needsElementRefDivForEditing: iu,
6922
+ getWrapperClassName: pu
6882
6923
  };
6883
6924
  },
6884
6925
  provide() {
@@ -6892,7 +6933,7 @@ font-weight: ${s};
6892
6933
  },
6893
6934
  mounted() {
6894
6935
  var e, t;
6895
- if (z()) {
6936
+ if (G()) {
6896
6937
  if (ie() && !this.isNestedRender && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
6897
6938
  new CustomEvent("initeditingbldr")
6898
6939
  ), this.builderContextSignal.content && yt(this.canTrack)) {
@@ -6940,7 +6981,7 @@ font-weight: ${s};
6940
6981
  }
6941
6982
  },
6942
6983
  unmounted() {
6943
- z() && (window.removeEventListener("message", this.processMessage), window.removeEventListener(
6984
+ G() && (window.removeEventListener("message", this.processMessage), window.removeEventListener(
6944
6985
  "builder:component:stateChangeListenerActivated",
6945
6986
  this.emitStateUpdate
6946
6987
  ));
@@ -7033,7 +7074,7 @@ font-weight: ${s};
7033
7074
  contentId: o,
7034
7075
  apiKey: this.apiKey,
7035
7076
  variationId: r !== o ? r : void 0,
7036
- ...ou(e),
7077
+ ...ru(e),
7037
7078
  unique: !this.clicked
7038
7079
  });
7039
7080
  }
@@ -7094,13 +7135,15 @@ font-weight: ${s};
7094
7135
  } : {},
7095
7136
  ...this.trustedHosts ? {
7096
7137
  trustedHosts: this.trustedHosts
7097
- } : {}
7138
+ } : {},
7139
+ modelName: this.model ?? "",
7140
+ apiKey: this.apiKey
7098
7141
  }), Object.values(
7099
7142
  this.builderContextSignal.componentInfos
7100
7143
  ).forEach((t) => {
7101
7144
  var n, r;
7102
- if (!this.model || !((n = t.models) != null && n.length) || t.models.includes(this.model)) {
7103
- const o = Mi(t);
7145
+ if (!((n = t.models) != null && n.length) || t.models.includes(this.model)) {
7146
+ const o = Li(t);
7104
7147
  (r = window.parent) == null || r.postMessage(o, "*");
7105
7148
  }
7106
7149
  }), window.addEventListener(
@@ -7114,7 +7157,7 @@ font-weight: ${s};
7114
7157
  `builder.overrides.${n}`
7115
7158
  ), o = t.get("apiKey") || t.get("builder.space");
7116
7159
  (n === "BUILDER_STUDIO" || n === this.model && o === this.apiKey && (!this.content || r === this.content.id)) && Fn({
7117
- model: this.model || "",
7160
+ model: this.model,
7118
7161
  apiKey: this.apiKey,
7119
7162
  apiVersion: this.builderContextSignal.apiVersion,
7120
7163
  ...n === "BUILDER_STUDIO" && ((i = this.context) != null && i.symbolId) ? {
@@ -7128,9 +7171,9 @@ font-weight: ${s};
7128
7171
  }
7129
7172
  }
7130
7173
  });
7131
- function hu(e, t, n, r, o, i) {
7174
+ function fu(e, t, n, r, o, i) {
7132
7175
  var s, u, p;
7133
- return e.builderContextSignal.content || e.needsElementRefDivForEditing() ? (y(), D(ut(e.ContentWrapper), q({
7176
+ return e.builderContextSignal.content || e.needsElementRefDivForEditing() ? (y(), V(ct(e.ContentWrapper), z({
7134
7177
  key: 0,
7135
7178
  ref: "elementRef",
7136
7179
  onClick: (m) => e.onClick(m),
@@ -7147,36 +7190,36 @@ function hu(e, t, n, r, o, i) {
7147
7190
  le(e.$slots, "default")
7148
7191
  ]),
7149
7192
  _: 3
7150
- }, 16, ["onClick", "builder-content-id", "builder-model", "className", "style", "onIniteditingbldr", "onInitpreviewingbldr"])) : M("", !0);
7193
+ }, 16, ["onClick", "builder-content-id", "builder-model", "className", "style", "onIniteditingbldr", "onInitpreviewingbldr"])) : L("", !0);
7151
7194
  }
7152
- const mu = /* @__PURE__ */ N(fu, [["render", hu]]), gu = j({
7195
+ const hu = /* @__PURE__ */ B(du, [["render", fu]]), mu = j({
7153
7196
  name: "content-styles",
7154
- components: { InlinedStyles: Mn },
7197
+ components: { InlinedStyles: Ln },
7155
7198
  props: ["cssCode", "contentId", "customFonts", "isNestedRender", "nonce"],
7156
7199
  data() {
7157
7200
  return {
7158
7201
  injectedStyles: `
7159
- ${uu({
7202
+ ${lu({
7160
7203
  cssCode: this.cssCode,
7161
7204
  contentId: this.contentId
7162
7205
  })}
7163
- ${lu({
7206
+ ${au({
7164
7207
  customFonts: this.customFonts
7165
7208
  })}
7166
- ${pu(this.isNestedRender)}
7209
+ ${cu(this.isNestedRender)}
7167
7210
  `.trim()
7168
7211
  };
7169
7212
  }
7170
7213
  });
7171
- function yu(e, t, n, r, o, i) {
7172
- const s = V("InlinedStyles");
7173
- return y(), D(s, {
7214
+ function gu(e, t, n, r, o, i) {
7215
+ const s = D("InlinedStyles");
7216
+ return y(), V(s, {
7174
7217
  id: "builderio-content",
7175
7218
  styles: e.injectedStyles,
7176
7219
  nonce: e.nonce
7177
7220
  }, null, 8, ["styles", "nonce"]);
7178
7221
  }
7179
- const vu = /* @__PURE__ */ N(gu, [["render", yu]]), bu = ({
7222
+ const yu = /* @__PURE__ */ B(mu, [["render", gu]]), vu = ({
7180
7223
  content: e,
7181
7224
  data: t,
7182
7225
  locale: n
@@ -7193,7 +7236,7 @@ const vu = /* @__PURE__ */ N(gu, [["render", yu]]), bu = ({
7193
7236
  locale: n
7194
7237
  } : {}
7195
7238
  };
7196
- }, ku = ({
7239
+ }, bu = ({
7197
7240
  content: e,
7198
7241
  data: t
7199
7242
  }) => e ? {
@@ -7203,13 +7246,13 @@ const vu = /* @__PURE__ */ N(gu, [["render", yu]]), bu = ({
7203
7246
  ...t
7204
7247
  },
7205
7248
  meta: e == null ? void 0 : e.meta
7206
- } : void 0, Su = Ho, Cu = j({
7249
+ } : void 0, ku = Ho, Su = j({
7207
7250
  name: "content-component",
7208
7251
  components: {
7209
- EnableEditor: mu,
7252
+ EnableEditor: hu,
7210
7253
  InlinedScript: Co,
7211
- ContentStyles: vu,
7212
- Blocks: _e,
7254
+ ContentStyles: yu,
7255
+ Blocks: Je,
7213
7256
  DynamicDiv: St
7214
7257
  },
7215
7258
  props: [
@@ -7238,7 +7281,7 @@ const vu = /* @__PURE__ */ N(gu, [["render", yu]]), bu = ({
7238
7281
  data() {
7239
7282
  var e, t;
7240
7283
  return {
7241
- scriptStr: tu({
7284
+ scriptStr: eu({
7242
7285
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
7243
7286
  variationId: (e = this.content) == null ? void 0 : e.testVariationId,
7244
7287
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
@@ -7251,19 +7294,19 @@ const vu = /* @__PURE__ */ N(gu, [["render", yu]]), bu = ({
7251
7294
  (n, { component: r, ...o }) => ({
7252
7295
  ...n,
7253
7296
  [o.name]: {
7254
- component: Su(r),
7255
- ...Bt(o)
7297
+ component: ku(r),
7298
+ ...Nt(o)
7256
7299
  }
7257
7300
  }),
7258
7301
  {}
7259
7302
  ),
7260
7303
  builderContextSignal: {
7261
- content: ku({
7304
+ content: bu({
7262
7305
  content: this.content,
7263
7306
  data: this.data
7264
7307
  }),
7265
7308
  localState: void 0,
7266
- rootState: bu({
7309
+ rootState: vu({
7267
7310
  content: this.content,
7268
7311
  data: this.data,
7269
7312
  locale: this.locale
@@ -7279,7 +7322,7 @@ const vu = /* @__PURE__ */ N(gu, [["render", yu]]), bu = ({
7279
7322
  ].reduce(
7280
7323
  (n, { component: r, ...o }) => ({
7281
7324
  ...n,
7282
- [o.name]: Bt(o)
7325
+ [o.name]: Nt(o)
7283
7326
  }),
7284
7327
  {}
7285
7328
  ),
@@ -7287,7 +7330,7 @@ const vu = /* @__PURE__ */ N(gu, [["render", yu]]), bu = ({
7287
7330
  BlocksWrapper: this.blocksWrapper || "div",
7288
7331
  BlocksWrapperProps: this.blocksWrapperProps || {},
7289
7332
  nonce: this.nonce || "",
7290
- model: this.model || ""
7333
+ model: this.model
7291
7334
  },
7292
7335
  TARGET: re
7293
7336
  };
@@ -7295,7 +7338,7 @@ const vu = /* @__PURE__ */ N(gu, [["render", yu]]), bu = ({
7295
7338
  provide() {
7296
7339
  const e = this;
7297
7340
  return {
7298
- [Dr.key]: {
7341
+ [Vr.key]: {
7299
7342
  registeredComponents: e.registeredComponents
7300
7343
  }
7301
7344
  };
@@ -7323,9 +7366,9 @@ const vu = /* @__PURE__ */ N(gu, [["render", yu]]), bu = ({
7323
7366
  }
7324
7367
  }
7325
7368
  });
7326
- function wu(e, t, n, r, o, i) {
7327
- const s = V("InlinedScript"), u = V("ContentStyles"), p = V("Blocks"), m = V("EnableEditor");
7328
- return y(), D(m, q({
7369
+ function Cu(e, t, n, r, o, i) {
7370
+ const s = D("InlinedScript"), u = D("ContentStyles"), p = D("Blocks"), m = D("EnableEditor");
7371
+ return y(), V(m, z({
7329
7372
  apiHost: e.apiHost,
7330
7373
  nonce: e.nonce,
7331
7374
  content: e.content,
@@ -7346,20 +7389,20 @@ function wu(e, t, n, r, o, i) {
7346
7389
  default: Ie(() => {
7347
7390
  var b, v, g, T, U, O, Z;
7348
7391
  return [
7349
- e.isSsrAbTest ? (y(), D(s, {
7392
+ e.isSsrAbTest ? (y(), V(s, {
7350
7393
  key: 0,
7351
7394
  id: "builderio-variant-visibility",
7352
7395
  scriptStr: e.scriptStr,
7353
7396
  nonce: e.nonce || ""
7354
- }, null, 8, ["scriptStr", "nonce"])) : M("", !0),
7355
- e.TARGET !== "reactNative" ? (y(), D(u, {
7397
+ }, null, 8, ["scriptStr", "nonce"])) : L("", !0),
7398
+ e.TARGET !== "reactNative" ? (y(), V(u, {
7356
7399
  key: 1,
7357
7400
  nonce: e.nonce || "",
7358
7401
  isNestedRender: e.isNestedRender,
7359
7402
  contentId: (b = e.builderContextSignal.content) == null ? void 0 : b.id,
7360
7403
  cssCode: (g = (v = e.builderContextSignal.content) == null ? void 0 : v.data) == null ? void 0 : g.cssCode,
7361
7404
  customFonts: (U = (T = e.builderContextSignal.content) == null ? void 0 : T.data) == null ? void 0 : U.customFonts
7362
- }, null, 8, ["nonce", "isNestedRender", "contentId", "cssCode", "customFonts"])) : M("", !0),
7405
+ }, null, 8, ["nonce", "isNestedRender", "contentId", "cssCode", "customFonts"])) : L("", !0),
7363
7406
  se(p, {
7364
7407
  blocks: (Z = (O = e.builderContextSignal.content) == null ? void 0 : O.data) == null ? void 0 : Z.blocks,
7365
7408
  context: e.builderContextSignal,
@@ -7371,12 +7414,12 @@ function wu(e, t, n, r, o, i) {
7371
7414
  _: 1
7372
7415
  }, 16, ["apiHost", "nonce", "content", "data", "model", "context", "apiKey", "canTrack", "locale", "enrich", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps", "trustedHosts", "isNestedRender"]);
7373
7416
  }
7374
- const Eu = /* @__PURE__ */ N(Cu, [["render", wu]]), Tu = j({
7417
+ const wu = /* @__PURE__ */ B(Su, [["render", Cu]]), Eu = j({
7375
7418
  name: "content-variants",
7376
7419
  components: {
7377
7420
  InlinedScript: Co,
7378
- InlinedStyles: Mn,
7379
- ContentComponent: Eu
7421
+ InlinedStyles: Ln,
7422
+ ContentComponent: wu
7380
7423
  },
7381
7424
  props: [
7382
7425
  "canTrack",
@@ -7401,12 +7444,12 @@ const Eu = /* @__PURE__ */ N(Cu, [["render", wu]]), Tu = j({
7401
7444
  ],
7402
7445
  data() {
7403
7446
  return {
7404
- shouldRenderVariants: Yl({
7447
+ shouldRenderVariants: Xl({
7405
7448
  canTrack: yt(this.canTrack),
7406
7449
  content: this.content
7407
7450
  }),
7408
7451
  TARGET: re,
7409
- getInitVariantsFnsScriptString: Ql,
7452
+ getInitVariantsFnsScriptString: Zl,
7410
7453
  getVariants: Pt
7411
7454
  };
7412
7455
  },
@@ -7415,7 +7458,7 @@ const Eu = /* @__PURE__ */ N(Cu, [["render", wu]]), Tu = j({
7415
7458
  computed: {
7416
7459
  updateCookieAndStylesScriptStr() {
7417
7460
  var e;
7418
- return eu(
7461
+ return Ql(
7419
7462
  Pt(this.content).map((t) => ({
7420
7463
  id: t.testVariationId,
7421
7464
  testRatio: t.testRatio
@@ -7438,15 +7481,15 @@ const Eu = /* @__PURE__ */ N(Cu, [["render", wu]]), Tu = j({
7438
7481
  }
7439
7482
  }
7440
7483
  });
7441
- function Iu(e, t, n, r, o, i) {
7442
- const s = V("InlinedScript"), u = V("InlinedStyles"), p = V("ContentComponent");
7484
+ function Tu(e, t, n, r, o, i) {
7485
+ const s = D("InlinedScript"), u = D("InlinedStyles"), p = D("ContentComponent");
7443
7486
  return y(), I(X, null, [
7444
- !e.isNestedRender && e.TARGET !== "reactNative" ? (y(), D(s, {
7487
+ !e.isNestedRender && e.TARGET !== "reactNative" ? (y(), V(s, {
7445
7488
  key: 0,
7446
7489
  id: "builderio-init-variants-fns",
7447
7490
  scriptStr: e.getInitVariantsFnsScriptString(),
7448
7491
  nonce: e.nonce || ""
7449
- }, null, 8, ["scriptStr", "nonce"])) : M("", !0),
7492
+ }, null, 8, ["scriptStr", "nonce"])) : L("", !0),
7450
7493
  e.shouldRenderVariants ? (y(), I(X, { key: 1 }, [
7451
7494
  se(u, {
7452
7495
  id: "builderio-variants",
@@ -7458,7 +7501,7 @@ function Iu(e, t, n, r, o, i) {
7458
7501
  scriptStr: e.updateCookieAndStylesScriptStr,
7459
7502
  nonce: e.nonce || ""
7460
7503
  }, null, 8, ["scriptStr", "nonce"]),
7461
- (y(!0), I(X, null, Ee(e.getVariants(e.content), (m, b) => (y(), D(p, q({
7504
+ (y(!0), I(X, null, Ee(e.getVariants(e.content), (m, b) => (y(), V(p, z({
7462
7505
  key: m.testVariationId,
7463
7506
  apiHost: e.apiHost,
7464
7507
  isNestedRender: e.isNestedRender,
@@ -7482,8 +7525,8 @@ function Iu(e, t, n, r, o, i) {
7482
7525
  contentWrapperProps: e.contentWrapperProps,
7483
7526
  trustedHosts: e.trustedHosts
7484
7527
  }, {}), null, 16, ["apiHost", "isNestedRender", "nonce", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"]))), 128))
7485
- ], 64)) : M("", !0),
7486
- se(p, q({
7528
+ ], 64)) : L("", !0),
7529
+ se(p, z({
7487
7530
  apiHost: e.apiHost,
7488
7531
  nonce: e.nonce,
7489
7532
  isNestedRender: e.isNestedRender,
@@ -7510,7 +7553,7 @@ function Iu(e, t, n, r, o, i) {
7510
7553
  }), null, 16, ["apiHost", "nonce", "isNestedRender", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"])
7511
7554
  ], 64);
7512
7555
  }
7513
- const xu = /* @__PURE__ */ N(Tu, [["render", Iu]]), Au = async ({
7556
+ const Iu = /* @__PURE__ */ B(Eu, [["render", Tu]]), xu = async ({
7514
7557
  builderContextValue: e,
7515
7558
  symbol: t
7516
7559
  }) => {
@@ -7530,7 +7573,7 @@ const xu = /* @__PURE__ */ N(Tu, [["render", Iu]]), Au = async ({
7530
7573
  });
7531
7574
  }, Ru = j({
7532
7575
  name: "builder-symbol",
7533
- components: { ContentVariants: xu, DynamicDiv: St },
7576
+ components: { ContentVariants: Iu, DynamicDiv: St },
7534
7577
  props: [
7535
7578
  "symbol",
7536
7579
  "attributes",
@@ -7579,7 +7622,7 @@ const xu = /* @__PURE__ */ N(Tu, [["render", Iu]]), Au = async ({
7579
7622
  },
7580
7623
  methods: {
7581
7624
  setContent() {
7582
- this.contentToUse || Au({
7625
+ this.contentToUse || xu({
7583
7626
  symbol: this.symbol,
7584
7627
  builderContextValue: this.builderContext
7585
7628
  }).then((e) => {
@@ -7588,10 +7631,10 @@ const xu = /* @__PURE__ */ N(Tu, [["render", Iu]]), Au = async ({
7588
7631
  }
7589
7632
  }
7590
7633
  });
7591
- function $u(e, t, n, r, o, i) {
7634
+ function Au(e, t, n, r, o, i) {
7592
7635
  var u, p, m, b, v;
7593
- const s = V("ContentVariants");
7594
- return y(), I("div", q({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, de(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
7636
+ const s = D("ContentVariants");
7637
+ return y(), I("div", z({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, de(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
7595
7638
  se(s, {
7596
7639
  nonce: e.builderContext.nonce,
7597
7640
  isNestedRender: !0,
@@ -7608,7 +7651,7 @@ function $u(e, t, n, r, o, i) {
7608
7651
  ...(b = (m = e.contentToUse) == null ? void 0 : m.data) == null ? void 0 : b.state
7609
7652
  },
7610
7653
  canTrack: e.builderContext.canTrack,
7611
- model: (v = e.symbol) == null ? void 0 : v.model,
7654
+ model: ((v = e.symbol) == null ? void 0 : v.model) ?? "",
7612
7655
  content: e.contentToUse,
7613
7656
  linkComponent: e.builderLinkComponent,
7614
7657
  blocksWrapper: e.blocksWrapper,
@@ -7616,7 +7659,7 @@ function $u(e, t, n, r, o, i) {
7616
7659
  }, null, 8, ["nonce", "apiVersion", "apiKey", "context", "customComponents", "data", "canTrack", "model", "content", "linkComponent", "blocksWrapper", "contentWrapper"])
7617
7660
  ], 16);
7618
7661
  }
7619
- const Pu = /* @__PURE__ */ N(Ru, [["render", $u]]);
7662
+ const $u = /* @__PURE__ */ B(Ru, [["render", Au]]);
7620
7663
  export {
7621
7664
  Is as A,
7622
7665
  ko as B,
@@ -7624,37 +7667,37 @@ export {
7624
7667
  xs as D,
7625
7668
  Fn as E,
7626
7669
  la as F,
7627
- ju as G,
7628
- Mu as H,
7670
+ Ou as G,
7671
+ Wu as H,
7629
7672
  ga as I,
7630
7673
  ba as S,
7631
7674
  re as T,
7632
- ql as V,
7633
- Mn as _,
7634
- Fu as a,
7675
+ Gl as V,
7676
+ Ln as _,
7677
+ Du as a,
7635
7678
  Lu as b,
7636
7679
  je as c,
7637
7680
  Wn as d,
7638
- N as e,
7681
+ B as e,
7639
7682
  kt as f,
7640
7683
  ta as g,
7641
- Wu as h,
7684
+ Fu as h,
7642
7685
  Ot as i,
7643
7686
  fn as j,
7644
7687
  Xo as k,
7645
- Pu as l,
7688
+ $u as l,
7646
7689
  qa as m,
7647
- _e as n,
7648
- xu as o,
7690
+ Je as n,
7691
+ Iu as o,
7649
7692
  ie as p,
7650
7693
  Xr as q,
7651
- Mi as r,
7652
- Du as s,
7694
+ Li as r,
7695
+ Uu as s,
7653
7696
  Hi as t,
7654
- Bu as u,
7697
+ ju as u,
7655
7698
  Yr as v,
7656
- Su as w,
7699
+ ku as w,
7657
7700
  Nu as x,
7658
- Uu as y,
7701
+ Bu as y,
7659
7702
  Vu as z
7660
7703
  };