@builder.io/sdk-vue 2.0.13 → 2.0.14

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 (63) hide show
  1. package/lib/{edge/block-styles-mSowNIFi.js → browser/block-styles-nWGppwAf.js} +14 -12
  2. package/lib/browser/block-styles-rt4v7rBl.cjs +1 -0
  3. package/lib/browser/{block-wrapper-7wDwU1ik.js → block-wrapper-hPYvxseU.js} +3 -3
  4. package/lib/browser/{block-wrapper-ianIz_MG.cjs → block-wrapper-l_mdj42t.cjs} +1 -1
  5. package/lib/browser/{component-ref-yQ6WDHbR.js → component-ref-JlpkOrad.js} +2 -2
  6. package/lib/browser/{component-ref-MlfJPaLv.cjs → component-ref-dPnPtrON.cjs} +1 -1
  7. package/lib/{edge/get-block-properties-Hs6W4UwL.js → browser/get-block-properties-HzVZCpxa.js} +20 -18
  8. package/lib/browser/get-block-properties-sInACBRh.cjs +1 -0
  9. package/lib/browser/index-MDNnQzZB.cjs +166 -0
  10. package/lib/browser/{index-3j8dJ25f.js → index-ZL8QUFiN.js} +546 -552
  11. package/lib/browser/index.cjs +1 -1
  12. package/lib/browser/index.mjs +1 -1
  13. package/lib/browser/init.cjs +8 -0
  14. package/lib/browser/init.mjs +65 -0
  15. package/lib/browser/logger-0-1mARBa.cjs +1 -0
  16. package/lib/browser/logger-Hm2e1Xk_.js +12 -0
  17. package/lib/browser/{repeated-block-_EQDFqYb.js → repeated-block-8EN4xN25.js} +2 -2
  18. package/lib/browser/{repeated-block-BBHHbrlK.cjs → repeated-block-uV-zuqkw.cjs} +1 -1
  19. package/lib/edge/block-styles-Ta3OQAmE.cjs +1 -0
  20. package/lib/{browser/block-styles-03Qg_nl9.js → edge/block-styles-zRPUnWLf.js} +6 -6
  21. package/lib/{node/block-wrapper-8DA9SdPk.cjs → edge/block-wrapper-9IWz2vxg.cjs} +1 -1
  22. package/lib/{node/block-wrapper-wULOB3JK.js → edge/block-wrapper-x7ERONr-.js} +5 -5
  23. package/lib/{node/component-ref-Tn-Aa9EG.js → edge/component-ref-JRfa9Vwo.js} +2 -2
  24. package/lib/{node/component-ref-cw1D-ZyS.cjs → edge/component-ref-eV0RBAzs.cjs} +1 -1
  25. package/lib/edge/get-block-properties-Dy3XF05J.cjs +1 -0
  26. package/lib/{browser/get-block-properties-ROTqTJZ3.js → edge/get-block-properties-PLBPSz3W.js} +13 -13
  27. package/lib/edge/{index-u68L80fc.cjs → index-5-C3UhJz.cjs} +31 -31
  28. package/lib/edge/{index-C-mI6Ai4.js → index-TGe9_80q.js} +837 -843
  29. package/lib/edge/index.cjs +1 -1
  30. package/lib/edge/index.mjs +1 -1
  31. package/lib/edge/init.cjs +8 -0
  32. package/lib/edge/init.mjs +64 -0
  33. package/lib/edge/logger-I8FmJD_1.js +11 -0
  34. package/lib/edge/logger-U9-0vDJK.cjs +1 -0
  35. package/lib/edge/{repeated-block-cXD1rb5T.cjs → repeated-block-FB2jF4o_.cjs} +1 -1
  36. package/lib/edge/{repeated-block-P7xKkVOb.js → repeated-block-_9Gs2AOY.js} +2 -2
  37. package/lib/node/{block-styles-TC7FEjXP.js → block-styles-gLB-jSXN.js} +13 -12
  38. package/lib/node/block-styles-u7KGnyuc.cjs +1 -0
  39. package/lib/{edge/block-wrapper-BxeE3u_2.cjs → node/block-wrapper-cCYzfiv5.cjs} +1 -1
  40. package/lib/{edge/block-wrapper-EnFwFXwA.js → node/block-wrapper-frfIIST_.js} +3 -3
  41. package/lib/{edge/component-ref-t51XeINm.js → node/component-ref-IbarjSnq.js} +2 -2
  42. package/lib/{edge/component-ref-XzuZ1Hfj.cjs → node/component-ref-ZlBAzimq.cjs} +1 -1
  43. package/lib/node/get-block-properties-2Q2lr9bu.cjs +1 -0
  44. package/lib/node/{get-block-properties-lLVZb91I.js → get-block-properties-QIsIgfnu.js} +17 -16
  45. package/lib/node/{index-eZTeDA6U.js → index-BugETl2c.js} +907 -1123
  46. package/lib/node/index-s5vEnK-M.cjs +166 -0
  47. package/lib/node/index.cjs +1 -1
  48. package/lib/node/index.mjs +17 -16
  49. package/lib/node/init.cjs +1 -0
  50. package/lib/node/init.mjs +11 -0
  51. package/lib/node/node-runtime-0rF8vJwU.js +233 -0
  52. package/lib/node/node-runtime-Bqb5TnyM.cjs +48 -0
  53. package/lib/node/{repeated-block-_TZDsWlq.js → repeated-block-Z-_chLeZ.js} +2 -2
  54. package/lib/node/{repeated-block-49B-IJEV.cjs → repeated-block-ZpVu-xdw.cjs} +1 -1
  55. package/package.json +5 -1
  56. package/lib/browser/block-styles-NluRxFx2.cjs +0 -1
  57. package/lib/browser/get-block-properties-Cj0ih41l.cjs +0 -1
  58. package/lib/browser/index-sPD8fzSJ.cjs +0 -166
  59. package/lib/edge/block-styles-TkeDyfA0.cjs +0 -1
  60. package/lib/edge/get-block-properties-MnsKwX8B.cjs +0 -1
  61. package/lib/node/block-styles-aVTlrIHc.cjs +0 -1
  62. package/lib/node/get-block-properties-coIi16X2.cjs +0 -1
  63. package/lib/node/index-ZUbIvJ0s.cjs +0 -213
@@ -1,8 +1,9 @@
1
- var No = Object.defineProperty;
2
- var Vo = (e, t, n) => t in e ? No(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var ln = (e, t, n) => (Vo(e, typeof t != "symbol" ? t + "" : t, n), n);
4
- import { defineComponent as j, openBlock as y, createElementBlock as T, Fragment as z, createBlock as D, resolveDynamicComponent as ct, mergeProps as K, toHandlers as pe, withCtx as Ee, renderSlot as de, resolveComponent as U, createTextVNode as Do, toDisplayString as Nt, defineAsyncComponent as ot, createVNode as ie, renderList as fe, createCommentVNode as M, h as Br, createElementVNode as ft, normalizeStyle as Oe, normalizeClass as mt, markRaw as Uo } from "vue";
5
- const Fo = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), Mo = (e) => typeof e == "string" && Fo.has(e.toLowerCase());
1
+ var Bo = Object.defineProperty;
2
+ var No = (e, t, n) => t in e ? Bo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
+ var an = (e, t, n) => (No(e, typeof t != "symbol" ? t + "" : t, n), n);
4
+ import { defineComponent as j, openBlock as y, createElementBlock as T, Fragment as z, createBlock as D, resolveDynamicComponent as ct, mergeProps as K, toHandlers as pe, withCtx as Ee, renderSlot as de, resolveComponent as U, createTextVNode as Vo, toDisplayString as Bt, defineAsyncComponent as ot, createVNode as ie, renderList as fe, createCommentVNode as M, h as jr, createElementVNode as ft, normalizeStyle as Oe, normalizeClass as mt, markRaw as Do } from "vue";
5
+ import { T as ue, l as se } from "./logger-I8FmJD_1.js";
6
+ const Uo = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), Fo = (e) => typeof e == "string" && Uo.has(e.toLowerCase());
6
7
  function me(e = {}, t, n) {
7
8
  const r = {};
8
9
  for (const o in e) {
@@ -13,11 +14,11 @@ function me(e = {}, t, n) {
13
14
  }
14
15
  return r;
15
16
  }
16
- const Wo = j({
17
+ const Mo = j({
17
18
  name: "dynamic-renderer",
18
19
  props: ["TagName", "attributes", "actionAttributes"],
19
20
  data() {
20
- return { isEmptyElement: Mo };
21
+ return { isEmptyElement: Fo };
21
22
  }
22
23
  }), V = (e, t) => {
23
24
  const n = e.__vccOpts || e;
@@ -25,7 +26,7 @@ const Wo = j({
25
26
  n[r] = o;
26
27
  return n;
27
28
  };
28
- function Lo(e, t, n, r, o, i) {
29
+ function Wo(e, t, n, r, o, i) {
29
30
  return e.isEmptyElement(e.TagName) ? (y(), D(ct(e.TagName), K({ key: 1 }, e.attributes, pe(e.actionAttributes)), null, 16)) : (y(), T(z, { key: 0 }, [
30
31
  typeof e.TagName == "string" ? (y(), D(ct(e.TagName), K({ key: 0 }, e.attributes, pe(e.actionAttributes)), {
31
32
  default: Ee(() => [
@@ -40,10 +41,10 @@ function Lo(e, t, n, r, o, i) {
40
41
  }, 16))
41
42
  ], 64));
42
43
  }
43
- const Cn = /* @__PURE__ */ V(Wo, [["render", Lo]]), yu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
44
+ const Sn = /* @__PURE__ */ V(Mo, [["render", Wo]]), yu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
44
45
  __proto__: null,
45
- default: Cn
46
- }, Symbol.toStringTag, { value: "Module" })), ue = "vue", jt = () => {
46
+ default: Sn
47
+ }, Symbol.toStringTag, { value: "Module" })), Ot = () => {
47
48
  switch (ue) {
48
49
  case "react":
49
50
  case "reactNative":
@@ -56,9 +57,9 @@ const Cn = /* @__PURE__ */ V(Wo, [["render", Lo]]), yu = /* @__PURE__ */ Object.
56
57
  case "angular":
57
58
  return "class";
58
59
  }
59
- }, Ho = j({
60
+ }, Lo = j({
60
61
  name: "builder-button",
61
- components: { DynamicRenderer: Cn },
62
+ components: { DynamicRenderer: Sn },
62
63
  props: [
63
64
  "attributes",
64
65
  "link",
@@ -73,7 +74,7 @@ const Cn = /* @__PURE__ */ V(Wo, [["render", Lo]]), yu = /* @__PURE__ */ Object.
73
74
  attrs() {
74
75
  return {
75
76
  ...me(this.attributes, "v-on:", !1),
76
- [jt()]: `${this.link ? "" : "builder-button"} ${this.attributes[jt()] || ""}`,
77
+ [Ot()]: `${this.link ? "" : "builder-button"} ${this.attributes[Ot()] || ""}`,
77
78
  ...this.link ? {
78
79
  href: this.link,
79
80
  target: this.openLinkInNewTab ? "_blank" : void 0,
@@ -85,7 +86,7 @@ const Cn = /* @__PURE__ */ V(Wo, [["render", Lo]]), yu = /* @__PURE__ */ Object.
85
86
  }
86
87
  }
87
88
  });
88
- function Ko(e, t, n, r, o, i) {
89
+ function Ho(e, t, n, r, o, i) {
89
90
  const a = U("DynamicRenderer");
90
91
  return y(), D(a, {
91
92
  attributes: e.attrs(),
@@ -93,12 +94,12 @@ function Ko(e, t, n, r, o, i) {
93
94
  actionAttributes: e.filterAttrs(e.attributes, "v-on:", !0)
94
95
  }, {
95
96
  default: Ee(() => [
96
- Do(Nt(e.text), 1)
97
+ Vo(Bt(e.text), 1)
97
98
  ]),
98
99
  _: 1
99
100
  }, 8, ["attributes", "TagName", "actionAttributes"]);
100
101
  }
101
- const qo = /* @__PURE__ */ V(Ho, [["render", Ko]]), zo = Symbol(), mn = {
102
+ const Ko = /* @__PURE__ */ V(Lo, [["render", Ho]]), qo = Symbol(), fn = {
102
103
  Builder: {
103
104
  content: null,
104
105
  context: {},
@@ -114,54 +115,48 @@ const qo = /* @__PURE__ */ V(Ho, [["render", Ko]]), zo = Symbol(), mn = {
114
115
  BlocksWrapperProps: {},
115
116
  nonce: ""
116
117
  },
117
- key: zo
118
- }, Go = Symbol(), Nr = {
118
+ key: qo
119
+ }, zo = Symbol(), Br = {
119
120
  Components: { registeredComponents: {} },
120
- key: Go
121
+ key: zo
121
122
  };
122
- function Jo(e) {
123
+ function Go(e) {
123
124
  var t;
124
125
  return {
125
126
  ...(t = e.component) == null ? void 0 : t.options,
126
127
  ...e.options
127
128
  };
128
129
  }
129
- function Xo(e, ...t) {
130
+ function Jo(e, ...t) {
130
131
  const n = Object.assign({}, e);
131
132
  for (const r of t)
132
133
  delete n[r];
133
134
  return n;
134
135
  }
135
- const Pt = "[Builder.io]: ", se = {
136
- log: (...e) => console.log(Pt, ...e),
137
- error: (...e) => console.error(Pt, ...e),
138
- warn: (...e) => console.warn(Pt, ...e),
139
- debug: (...e) => console.debug(Pt, ...e)
140
- };
141
- function _() {
136
+ function Y() {
142
137
  return typeof window < "u" && typeof document < "u";
143
138
  }
144
- const _o = (e) => {
139
+ const Xo = (e) => {
145
140
  const t = {};
146
141
  return e.forEach((n, r) => {
147
142
  t[r] = n;
148
143
  }), t;
149
- }, Vr = (e) => e instanceof URLSearchParams ? _o(e) : e, Dr = (e) => typeof e == "string" ? e : e instanceof URLSearchParams ? e.toString() : new URLSearchParams(e).toString();
144
+ }, Nr = (e) => e instanceof URLSearchParams ? Xo(e) : e, Vr = (e) => typeof e == "string" ? e : e instanceof URLSearchParams ? e.toString() : new URLSearchParams(e).toString();
150
145
  function Yo() {
151
- return _() && window.self !== window.top;
146
+ return Y() && window.self !== window.top;
152
147
  }
153
148
  function le(e) {
154
149
  return Yo() && // accessing window.location.search is safe here because `isIframe()` is only `true` if we're in a browser.
155
- Dr(e || window.location.search).indexOf("builder.frameEditing=") !== -1;
150
+ Vr(e || window.location.search).indexOf("builder.frameEditing=") !== -1;
156
151
  }
157
- const Zo = () => {
158
- if (_()) {
152
+ const _o = () => {
153
+ if (Y()) {
159
154
  const e = new URL(location.href);
160
155
  return e.pathname === "" && (e.pathname = "/"), e;
161
156
  } else
162
157
  return console.warn("Cannot get location for tracking in non-browser environment"), null;
163
- }, Qo = () => typeof navigator == "object" && navigator.userAgent || "", Ur = () => {
164
- const e = Qo(), t = {
158
+ }, Zo = () => typeof navigator == "object" && navigator.userAgent || "", Dr = () => {
159
+ const e = Zo(), t = {
165
160
  Android() {
166
161
  return e.match(/Android/i);
167
162
  },
@@ -180,13 +175,13 @@ const Zo = () => {
180
175
  any() {
181
176
  return t.Android() || t.BlackBerry() || t.iOS() || t.Opera() || t.Windows() || ue === "reactNative";
182
177
  }
183
- }, n = e.match(/Tablet|iPad/i), r = Zo();
178
+ }, n = e.match(/Tablet|iPad/i), r = _o();
184
179
  return {
185
180
  urlPath: r == null ? void 0 : r.pathname,
186
181
  host: (r == null ? void 0 : r.host) || (r == null ? void 0 : r.hostname),
187
182
  device: n ? "tablet" : t.any() ? "mobile" : "desktop"
188
183
  };
189
- }, Fr = ({
184
+ }, Ur = ({
190
185
  builder: e,
191
186
  context: t,
192
187
  event: n,
@@ -198,14 +193,14 @@ const Zo = () => {
198
193
  builder: e,
199
194
  context: t,
200
195
  event: n
201
- }), ei = () => ({
196
+ }), Qo = () => ({
202
197
  isEditing: le(),
203
- isBrowser: _(),
204
- isServer: !_(),
205
- getUserAttributes: () => Ur()
206
- }), ti = (e, {
198
+ isBrowser: Y(),
199
+ isServer: !Y(),
200
+ getUserAttributes: () => Dr()
201
+ }), ei = (e, {
207
202
  isExpression: t = !0
208
- }) => /* 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, ni = ({
203
+ }) => /* 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, ti = ({
209
204
  code: e,
210
205
  builder: t,
211
206
  context: n,
@@ -214,11 +209,11 @@ const Zo = () => {
214
209
  rootSetState: i,
215
210
  rootState: a
216
211
  }) => {
217
- const u = Fr({
212
+ const u = Ur({
218
213
  builder: t,
219
214
  context: n,
220
215
  event: r,
221
- state: Mr({
216
+ state: Fr({
222
217
  rootState: a,
223
218
  localState: o,
224
219
  rootSetState: i
@@ -226,7 +221,7 @@ const Zo = () => {
226
221
  });
227
222
  return new Function(...u.map(([p]) => p), e)(...u.map(([, p]) => p));
228
223
  };
229
- function Mr({
224
+ function Fr({
230
225
  rootState: e,
231
226
  localState: t,
232
227
  rootSetState: n
@@ -236,7 +231,7 @@ function Mr({
236
231
  if (t && o in t)
237
232
  return t[o];
238
233
  const i = r[o];
239
- return typeof i == "object" && i !== null ? Mr({
234
+ return typeof i == "object" && i !== null ? Fr({
240
235
  rootState: i,
241
236
  localState: void 0,
242
237
  rootSetState: n ? (a) => {
@@ -251,18 +246,18 @@ function Mr({
251
246
  }
252
247
  });
253
248
  }
254
- const wn = (e, t, n) => {
249
+ const Cn = (e, t, n) => {
255
250
  if (Object(e) !== e)
256
251
  return e;
257
252
  const r = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
258
253
  return r.slice(0, -1).reduce((o, i, a) => Object(o[i]) === o[i] ? o[i] : o[i] = Math.abs(Number(r[a + 1])) >> 0 === +r[a + 1] ? [] : {}, e)[r[r.length - 1]] = n, e;
259
254
  };
260
- var B, ri = function(e) {
255
+ var B, ni = function(e) {
261
256
  function t(s) {
262
- return 48 > s ? s === 36 : 58 > s ? !0 : 65 > s ? !1 : 91 > s ? !0 : 97 > s ? s === 95 : 123 > s ? !0 : 170 <= s && jo.test(String.fromCharCode(s));
257
+ return 48 > s ? s === 36 : 58 > s ? !0 : 65 > s ? !1 : 91 > s ? !0 : 97 > s ? s === 95 : 123 > s ? !0 : 170 <= s && Oo.test(String.fromCharCode(s));
263
258
  }
264
259
  function n(s) {
265
- return 65 > s ? s === 36 : 91 > s ? !0 : 97 > s ? s === 95 : 123 > s ? !0 : 170 <= s && vr.test(String.fromCharCode(s));
260
+ return 65 > s ? s === 36 : 91 > s ? !0 : 97 > s ? s === 95 : 123 > s ? !0 : 170 <= s && yr.test(String.fromCharCode(s));
266
261
  }
267
262
  function r(s, l) {
268
263
  for (var c = b, f = 1, I = 0; ; ) {
@@ -290,7 +285,7 @@ var B, ri = function(e) {
290
285
  this.line = Ve, this.ab = d - ve;
291
286
  }
292
287
  function a(s, l) {
293
- Fe = d, A.C && (Gt = new i()), E = s, p(), ae = l, Qe = s.m;
288
+ Fe = d, A.C && (zt = new i()), E = s, p(), ae = l, Qe = s.m;
294
289
  }
295
290
  function u() {
296
291
  for (var s = d, l = A.va && A.C && new i(), c = b.charCodeAt(d += 2); d < Ue && c !== 10 && c !== 13 && c !== 8232 && c !== 8233; )
@@ -322,7 +317,7 @@ var B, ri = function(e) {
322
317
  break;
323
318
  else if (s === 160)
324
319
  ++d;
325
- else if (5760 <= s && Oo.test(String.fromCharCode(s)))
320
+ else if (5760 <= s && Po.test(String.fromCharCode(s)))
326
321
  ++d;
327
322
  else
328
323
  break;
@@ -331,7 +326,7 @@ var B, ri = function(e) {
331
326
  function m(s) {
332
327
  switch (s) {
333
328
  case 46:
334
- s = b.charCodeAt(d + 1), 48 <= s && 57 >= s ? O(!0) : (++d, a(cr));
329
+ s = b.charCodeAt(d + 1), 48 <= s && 57 >= s ? O(!0) : (++d, a(ur));
335
330
  return;
336
331
  case 40:
337
332
  return ++d, a(be);
@@ -342,9 +337,9 @@ var B, ri = function(e) {
342
337
  case 44:
343
338
  return ++d, a(Pe);
344
339
  case 91:
345
- return ++d, a(rn);
340
+ return ++d, a(nn);
346
341
  case 93:
347
- return ++d, a(on);
342
+ return ++d, a(rn);
348
343
  case 123:
349
344
  return ++d, a(nt);
350
345
  case 125:
@@ -352,7 +347,7 @@ var B, ri = function(e) {
352
347
  case 58:
353
348
  return ++d, a(rt);
354
349
  case 63:
355
- return ++d, a(pr);
350
+ return ++d, a(cr);
356
351
  case 48:
357
352
  if (s = b.charCodeAt(d + 1), s === 120 || s === 88) {
358
353
  d += 2, s = P(16), s === null && r(H + 2, "Expected hexadecimal number"), n(b.charCodeAt(d)) && r(d, "Identifier directly after number"), a(tt, s);
@@ -431,45 +426,45 @@ var B, ri = function(e) {
431
426
  }
432
427
  return;
433
428
  case 47:
434
- s = b.charCodeAt(d + 1), Qe ? (++d, S()) : s === 61 ? h(De, 2) : h(dr, 1);
429
+ s = b.charCodeAt(d + 1), Qe ? (++d, S()) : s === 61 ? h(De, 2) : h(pr, 1);
435
430
  return;
436
431
  case 37:
437
432
  case 42:
438
- b.charCodeAt(d + 1) === 61 ? h(De, 2) : h(Ao, 1);
433
+ b.charCodeAt(d + 1) === 61 ? h(De, 2) : h(Ro, 1);
439
434
  return;
440
435
  case 124:
441
436
  case 38:
442
- l = b.charCodeAt(d + 1), l === s ? h(s === 124 ? mr : gr, 2) : l === 61 ? h(De, 2) : h(s === 124 ? Co : To, 1);
437
+ l = b.charCodeAt(d + 1), l === s ? h(s === 124 ? fr : mr, 2) : l === 61 ? h(De, 2) : h(s === 124 ? So : wo, 1);
443
438
  return;
444
439
  case 94:
445
- b.charCodeAt(d + 1) === 61 ? h(De, 2) : h(wo, 1);
440
+ b.charCodeAt(d + 1) === 61 ? h(De, 2) : h(Co, 1);
446
441
  return;
447
442
  case 43:
448
443
  case 45:
449
- l = b.charCodeAt(d + 1), l === s ? l === 45 && b.charCodeAt(d + 2) === 62 && At.test(b.slice($e, d)) ? (d += 3, u(), p(), v()) : h(So, 2) : l === 61 ? h(De, 2) : h(Ro, 1);
444
+ l = b.charCodeAt(d + 1), l === s ? l === 45 && b.charCodeAt(d + 2) === 62 && At.test(b.slice($e, d)) ? (d += 3, u(), p(), v()) : h(ko, 2) : l === 61 ? h(De, 2) : h(xo, 1);
450
445
  return;
451
446
  case 60:
452
447
  case 62:
453
- l = b.charCodeAt(d + 1), c = 1, l === s ? (c = s === 62 && b.charCodeAt(d + 2) === 62 ? 3 : 2, b.charCodeAt(d + c) === 61 ? h(De, c + 1) : h(xo, c)) : l === 33 && s === 60 && b.charCodeAt(d + 2) === 45 && b.charCodeAt(d + 3) === 45 ? (d += 4, u(), p(), v()) : (l === 61 && (c = b.charCodeAt(d + 2) === 61 ? 3 : 2), h(Io, c));
448
+ l = b.charCodeAt(d + 1), c = 1, l === s ? (c = s === 62 && b.charCodeAt(d + 2) === 62 ? 3 : 2, b.charCodeAt(d + c) === 61 ? h(De, c + 1) : h(Io, c)) : l === 33 && s === 60 && b.charCodeAt(d + 2) === 45 && b.charCodeAt(d + 3) === 45 ? (d += 4, u(), p(), v()) : (l === 61 && (c = b.charCodeAt(d + 2) === 61 ? 3 : 2), h(Eo, c));
454
449
  return;
455
450
  case 61:
456
451
  case 33:
457
- b.charCodeAt(d + 1) === 61 ? h(Eo, b.charCodeAt(d + 2) === 61 ? 3 : 2) : h(s === 61 ? hr : fr, 1);
452
+ b.charCodeAt(d + 1) === 61 ? h(To, b.charCodeAt(d + 2) === 61 ? 3 : 2) : h(s === 61 ? dr : hr, 1);
458
453
  return;
459
454
  case 126:
460
- return h(fr, 1);
455
+ return h(hr, 1);
461
456
  }
462
457
  return !1;
463
458
  }
464
459
  function v(s) {
465
- if (s ? d = H + 1 : H = d, A.C && (zt = new i()), s)
460
+ if (s ? d = H + 1 : H = d, A.C && (qt = new i()), s)
466
461
  return S();
467
462
  if (d >= Ue)
468
- return a(_t);
463
+ return a(Xt);
469
464
  if (s = b.charCodeAt(d), n(s) || s === 92)
470
465
  return N();
471
466
  if (m(s) === !1) {
472
- if (s = String.fromCharCode(s), s === "\\" || vr.test(s))
467
+ if (s = String.fromCharCode(s), s === "\\" || yr.test(s))
473
468
  return N();
474
469
  r(d, "Unexpected character '" + s + "'");
475
470
  }
@@ -495,13 +490,13 @@ var B, ri = function(e) {
495
490
  }
496
491
  ++d;
497
492
  }
498
- s = b.slice(c, d), ++d, (l = Y()) && !/^[gmi]*$/.test(l) && r(c, "Invalid regexp flag");
493
+ s = b.slice(c, d), ++d, (l = _()) && !/^[gmi]*$/.test(l) && r(c, "Invalid regexp flag");
499
494
  try {
500
495
  var I = new RegExp(s, l);
501
496
  } catch (q) {
502
497
  throw q instanceof SyntaxError && r(c, q.message), q;
503
498
  }
504
- a(qn, I);
499
+ a(Kn, I);
505
500
  }
506
501
  function P(s, l) {
507
502
  for (var c = d, f = 0, I = l === void 0 ? 1 / 0 : l, q = 0; q < I; ++q) {
@@ -521,7 +516,7 @@ var B, ri = function(e) {
521
516
  function Q(s) {
522
517
  return s = P(16, s), s === null && r(H, "Bad character escape sequence"), s;
523
518
  }
524
- function Y() {
519
+ function _() {
525
520
  Le = !1;
526
521
  for (var s, l = !0, c = d; ; ) {
527
522
  var f = b.charCodeAt(d);
@@ -538,11 +533,11 @@ var B, ri = function(e) {
538
533
  return Le ? s : b.slice(c, d);
539
534
  }
540
535
  function N() {
541
- var s = Y(), l = Me;
542
- !Le && Po(s) && (l = ko[s]), a(l, s);
536
+ var s = _(), l = Me;
537
+ !Le && $o(s) && (l = bo[s]), a(l, s);
543
538
  }
544
539
  function R() {
545
- Jt = H, $e = Fe, Xt = Gt, v();
540
+ Gt = H, $e = Fe, Jt = zt, v();
546
541
  }
547
542
  function xe(s) {
548
543
  if (oe = s, d = H, A.C)
@@ -555,7 +550,7 @@ var B, ri = function(e) {
555
550
  this.type = null, this.start = H, this.end = null;
556
551
  }
557
552
  function Re() {
558
- this.start = zt, this.end = null, qt && (this.source = qt);
553
+ this.start = qt, this.end = null, Kt && (this.source = Kt);
559
554
  }
560
555
  function J() {
561
556
  var s = new re();
@@ -566,16 +561,16 @@ var B, ri = function(e) {
566
561
  return l.start = s.start, A.C && (l.X = new Re(), l.X.start = s.X.start), A.Xa && (l.j = [s.j[0], 0]), l;
567
562
  }
568
563
  function x(s, l) {
569
- return s.type = l, s.end = $e, A.C && (s.X.end = Xt), A.Xa && (s.j[1] = $e), s;
564
+ return s.type = l, s.end = $e, A.C && (s.X.end = Jt), A.Xa && (s.j[1] = $e), s;
570
565
  }
571
- function Ut(s) {
566
+ function Dt(s) {
572
567
  return s.type === "ExpressionStatement" && s.la.type === "Literal" && s.la.value === "use strict";
573
568
  }
574
569
  function F(s) {
575
570
  return E === s ? (R(), !0) : !1;
576
571
  }
577
572
  function wt() {
578
- return !A.fc && (E === _t || E === We || At.test(b.slice($e, H)));
573
+ return !A.fc && (E === Xt || E === We || At.test(b.slice($e, H)));
579
574
  }
580
575
  function Ne() {
581
576
  F(ke) || wt() || ge();
@@ -590,11 +585,11 @@ var B, ri = function(e) {
590
585
  s.type !== "Identifier" && s.type !== "MemberExpression" && r(s.start, "Assigning to rvalue"), oe && s.type === "Identifier" && Rt(s.name) && r(s.start, "Assigning to " + s.name + " in strict mode");
591
586
  }
592
587
  function ce() {
593
- (E === dr || E === De && ae === "/=") && v(!0);
588
+ (E === pr || E === De && ae === "/=") && v(!0);
594
589
  var s = E, l = J();
595
590
  switch (s) {
596
591
  case Yt:
597
- case Gn:
592
+ case zn:
598
593
  R();
599
594
  var c = s === Yt;
600
595
  F(ke) || wt() ? l.label = null : E !== Me ? ge() : (l.label = ye(), Ne());
@@ -604,34 +599,34 @@ var B, ri = function(e) {
604
599
  break;
605
600
  }
606
601
  return f === L.length && r(l.start, "Unsyntactic " + s.l), x(l, c ? "BreakStatement" : "ContinueStatement");
607
- case Jn:
602
+ case Gn:
608
603
  return R(), Ne(), x(l, "DebuggerStatement");
609
- case _n:
610
- return R(), L.push(sn), l.body = ce(), L.pop(), W(nn), l.test = _e(), Ne(), x(l, "DoWhileStatement");
604
+ case Xn:
605
+ return R(), L.push(on), l.body = ce(), L.pop(), W(tn), l.test = Ye(), Ne(), x(l, "DoWhileStatement");
606
+ case Zn:
607
+ return R(), L.push(on), W(be), E === ke ? Ut(l, null) : E === en ? (s = J(), R(), Ln(s, !0), x(s, "VariableDeclaration"), s.fa.length === 1 && F(xt) ? Wn(l, s) : Ut(l, s)) : (s = Z(!1, !0), F(xt) ? (Tt(s), Wn(l, s)) : Ut(l, s));
608
+ case Zt:
609
+ return R(), Lt(l, !0);
611
610
  case Qn:
612
- return R(), L.push(sn), W(be), E === ke ? Ft(l, null) : E === tn ? (s = J(), R(), Hn(s, !0), x(s, "VariableDeclaration"), s.fa.length === 1 && F(xt) ? Ln(l, s) : Ft(l, s)) : (s = Z(!1, !0), F(xt) ? (Tt(s), Ln(l, s)) : Ft(l, s));
613
- case Qt:
614
- return R(), Ht(l, !0);
611
+ return R(), l.test = Ye(), l.da = ce(), l.alternate = F(Yn) ? ce() : null, x(l, "IfStatement");
615
612
  case er:
616
- return R(), l.test = _e(), l.da = ce(), l.alternate = F(Yn) ? ce() : null, x(l, "IfStatement");
617
- case tr:
618
613
  return et || A.Ib || r(H, "'return' outside of function"), R(), F(ke) || wt() ? l.K = null : (l.K = Z(), Ne()), x(l, "ReturnStatement");
619
- case en:
620
- for (R(), l.Qb = _e(), l.tb = [], W(nt), L.push(Bo); E !== We; )
621
- E === Zt || E === Xn ? (s = E === Zt, f && x(f, "SwitchCase"), l.tb.push(f = J()), f.da = [], R(), s ? f.test = Z() : (c && r(Jt, "Multiple default clauses"), c = !0, f.test = null), W(rt)) : (f || ge(), f.da.push(ce()));
614
+ case Qt:
615
+ for (R(), l.Qb = Ye(), l.tb = [], W(nt), L.push(jo); E !== We; )
616
+ E === _t || E === Jn ? (s = E === _t, f && x(f, "SwitchCase"), l.tb.push(f = J()), f.da = [], R(), s ? f.test = Z() : (c && r(Gt, "Multiple default clauses"), c = !0, f.test = null), W(rt)) : (f || ge(), f.da.push(ce()));
622
617
  return f && x(f, "SwitchCase"), R(), L.pop(), x(l, "SwitchStatement");
623
- case nr:
618
+ case tr:
624
619
  return R(), At.test(b.slice($e, H)) && r($e, "Illegal newline after throw"), l.K = Z(), Ne(), x(l, "ThrowStatement");
625
- case rr:
626
- return R(), l.block = Ye(), l.Ea = null, E === zn && (s = J(), R(), W(be), s.Ua = ye(), oe && Rt(s.Ua.name) && r(s.Ua.start, "Binding " + s.Ua.name + " in strict mode"), W(he), s.body = Ye(), l.Ea = x(s, "CatchClause")), l.fb = F(Zn) ? Ye() : null, l.Ea || l.fb || r(l.start, "Missing catch or finally clause"), x(l, "TryStatement");
620
+ case nr:
621
+ return R(), l.block = _e(), l.Ea = null, E === qn && (s = J(), R(), W(be), s.Ua = ye(), oe && Rt(s.Ua.name) && r(s.Ua.start, "Binding " + s.Ua.name + " in strict mode"), W(he), s.body = _e(), l.Ea = x(s, "CatchClause")), l.fb = F(_n) ? _e() : null, l.Ea || l.fb || r(l.start, "Missing catch or finally clause"), x(l, "TryStatement");
622
+ case en:
623
+ return R(), Ln(l), Ne(), x(l, "VariableDeclaration");
627
624
  case tn:
628
- return R(), Hn(l), Ne(), x(l, "VariableDeclaration");
629
- case nn:
630
- return R(), l.test = _e(), L.push(sn), l.body = ce(), L.pop(), x(l, "WhileStatement");
631
- case or:
632
- return oe && r(H, "'with' in strict mode"), R(), l.object = _e(), l.body = ce(), x(l, "WithStatement");
625
+ return R(), l.test = Ye(), L.push(on), l.body = ce(), L.pop(), x(l, "WhileStatement");
626
+ case rr:
627
+ return oe && r(H, "'with' in strict mode"), R(), l.object = Ye(), l.body = ce(), x(l, "WithStatement");
633
628
  case nt:
634
- return Ye();
629
+ return _e();
635
630
  case ke:
636
631
  return R(), x(l, "EmptyStatement");
637
632
  default:
@@ -640,22 +635,22 @@ var B, ri = function(e) {
640
635
  L[f].name === c && r(I.start, "Label '" + c + "' is already declared");
641
636
  return L.push({
642
637
  name: c,
643
- kind: E.W ? "loop" : E === en ? "switch" : null
638
+ kind: E.W ? "loop" : E === Qt ? "switch" : null
644
639
  }), l.body = ce(), L.pop(), l.label = I, x(l, "LabeledStatement");
645
640
  }
646
641
  return l.la = I, Ne(), x(l, "ExpressionStatement");
647
642
  }
648
643
  }
649
- function _e() {
644
+ function Ye() {
650
645
  W(be);
651
646
  var s = Z();
652
647
  return W(he), s;
653
648
  }
654
- function Ye(s) {
649
+ function _e(s) {
655
650
  var l = J(), c = !0, f = !1;
656
651
  for (l.body = [], W(nt); !F(We); ) {
657
652
  var I = ce();
658
- if (l.body.push(I), c && s && Ut(I)) {
653
+ if (l.body.push(I), c && s && Dt(I)) {
659
654
  var q = f;
660
655
  xe(f = !0);
661
656
  }
@@ -663,83 +658,83 @@ var B, ri = function(e) {
663
658
  }
664
659
  return f && !q && xe(!1), x(l, "BlockStatement");
665
660
  }
666
- function Ft(s, l) {
661
+ function Ut(s, l) {
667
662
  return s.ua = l, W(ke), s.test = E === ke ? null : Z(), W(ke), s.update = E === he ? null : Z(), W(he), s.body = ce(), L.pop(), x(s, "ForStatement");
668
663
  }
669
- function Ln(s, l) {
664
+ function Wn(s, l) {
670
665
  return s.left = l, s.right = Z(), W(he), s.body = ce(), L.pop(), x(s, "ForInStatement");
671
666
  }
672
- function Hn(s, l) {
667
+ function Ln(s, l) {
673
668
  for (s.fa = [], s.kind = "var"; ; ) {
674
669
  var c = J();
675
- if (c.id = ye(), oe && Rt(c.id.name) && r(c.id.start, "Binding " + c.id.name + " in strict mode"), c.ua = F(hr) ? Z(!0, l) : null, s.fa.push(x(c, "VariableDeclarator")), !F(Pe))
670
+ if (c.id = ye(), oe && Rt(c.id.name) && r(c.id.start, "Binding " + c.id.name + " in strict mode"), c.ua = F(dr) ? Z(!0, l) : null, s.fa.push(x(c, "VariableDeclarator")), !F(Pe))
676
671
  break;
677
672
  }
678
673
  }
679
674
  function Z(s, l) {
680
- var c = Mt(l);
675
+ var c = Ft(l);
681
676
  if (!s && E === Pe) {
682
677
  for (s = Ae(c), s.xb = [c]; F(Pe); )
683
- s.xb.push(Mt(l));
678
+ s.xb.push(Ft(l));
684
679
  return x(s, "SequenceExpression");
685
680
  }
686
681
  return c;
687
682
  }
688
- function Mt(s) {
689
- var l = Wt(Lt(), -1, s);
690
- if (F(pr)) {
683
+ function Ft(s) {
684
+ var l = Mt(Wt(), -1, s);
685
+ if (F(cr)) {
691
686
  var c = Ae(l);
692
687
  c.test = l, c.da = Z(!0), W(rt), c.alternate = Z(!0, s), l = x(c, "ConditionalExpression");
693
688
  }
694
- return E.Cb ? (c = Ae(l), c.operator = ae, c.left = l, R(), c.right = Mt(s), Tt(l), x(c, "AssignmentExpression")) : l;
689
+ return E.Cb ? (c = Ae(l), c.operator = ae, c.left = l, R(), c.right = Ft(s), Tt(l), x(c, "AssignmentExpression")) : l;
695
690
  }
696
- function Wt(s, l, c) {
691
+ function Mt(s, l, c) {
697
692
  var f = E.L;
698
693
  if (f !== null && (!c || E !== xt) && f > l) {
699
694
  var I = Ae(s);
700
- return I.left = s, I.operator = ae, s = E, R(), I.right = Wt(Lt(), f, c), f = x(I, s === mr || s === gr ? "LogicalExpression" : "BinaryExpression"), Wt(f, l, c);
695
+ return I.left = s, I.operator = ae, s = E, R(), I.right = Mt(Wt(), f, c), f = x(I, s === fr || s === mr ? "LogicalExpression" : "BinaryExpression"), Mt(f, l, c);
701
696
  }
702
697
  return s;
703
698
  }
704
- function Lt() {
699
+ function Wt() {
705
700
  if (E.prefix) {
706
701
  var s = J(), l = E.$b;
707
- return s.operator = ae, Qe = s.prefix = !0, R(), s.K = Lt(), l ? Tt(s.K) : oe && s.operator === "delete" && s.K.type === "Identifier" && r(s.start, "Deleting local variable in strict mode"), x(s, l ? "UpdateExpression" : "UnaryExpression");
702
+ return s.operator = ae, Qe = s.prefix = !0, R(), s.K = Wt(), l ? Tt(s.K) : oe && s.operator === "delete" && s.K.type === "Identifier" && r(s.start, "Deleting local variable in strict mode"), x(s, l ? "UpdateExpression" : "UnaryExpression");
708
703
  }
709
704
  for (l = Ze(Et()); E.cc && !wt(); )
710
705
  s = Ae(l), s.operator = ae, s.prefix = !1, s.K = l, Tt(l), R(), l = x(s, "UpdateExpression");
711
706
  return l;
712
707
  }
713
708
  function Ze(s, l) {
714
- if (F(cr)) {
709
+ if (F(ur)) {
715
710
  var c = Ae(s);
716
711
  return c.object = s, c.Wa = ye(!0), c.bb = !1, Ze(x(c, "MemberExpression"), l);
717
712
  }
718
- return F(rn) ? (c = Ae(s), c.object = s, c.Wa = Z(), c.bb = !0, W(on), Ze(x(c, "MemberExpression"), l)) : !l && F(be) ? (c = Ae(s), c.callee = s, c.arguments = Kt(he, !1), Ze(x(c, "CallExpression"), l)) : s;
713
+ return F(nn) ? (c = Ae(s), c.object = s, c.Wa = Z(), c.bb = !0, W(rn), Ze(x(c, "MemberExpression"), l)) : !l && F(be) ? (c = Ae(s), c.callee = s, c.arguments = Ht(he, !1), Ze(x(c, "CallExpression"), l)) : s;
719
714
  }
720
715
  function Et() {
721
716
  switch (E) {
722
- case sr:
717
+ case ir:
723
718
  var s = J();
724
719
  return R(), x(s, "ThisExpression");
725
720
  case Me:
726
721
  return ye();
727
722
  case tt:
728
723
  case It:
729
- case qn:
724
+ case Kn:
730
725
  return s = J(), s.value = ae, s.raw = b.slice(H, Fe), R(), x(s, "Literal");
726
+ case sr:
731
727
  case ar:
732
728
  case lr:
733
- case ur:
734
729
  return s = J(), s.value = E.$a, s.raw = E.l, R(), x(s, "Literal");
735
730
  case be:
736
- s = zt;
731
+ s = qt;
737
732
  var l = H;
738
733
  R();
739
734
  var c = Z();
740
- return c.start = l, c.end = Fe, A.C && (c.X.start = s, c.X.end = Gt), A.Xa && (c.j = [l, Fe]), W(he), c;
741
- case rn:
742
- return s = J(), R(), s.elements = Kt(on, !0, !0), x(s, "ArrayExpression");
735
+ return c.start = l, c.end = Fe, A.C && (c.X.start = s, c.X.end = zt), A.Xa && (c.j = [l, Fe]), W(he), c;
736
+ case nn:
737
+ return s = J(), R(), s.elements = Ht(rn, !0, !0), x(s, "ArrayExpression");
743
738
  case nt:
744
739
  for (s = J(), l = !0, c = !1, s.h = [], R(); !F(We); ) {
745
740
  if (l)
@@ -753,41 +748,41 @@ var B, ri = function(e) {
753
748
  f.value = Z(!0);
754
749
  var q = f.kind = "init";
755
750
  } else
756
- f.key.type !== "Identifier" || f.key.name !== "get" && f.key.name !== "set" ? ge() : (I = c = !0, q = f.kind = f.key.name, f.key = E === tt || E === It ? Et() : ye(!0), E !== be && ge(), f.value = Ht(J(), !1));
751
+ f.key.type !== "Identifier" || f.key.name !== "get" && f.key.name !== "set" ? ge() : (I = c = !0, q = f.kind = f.key.name, f.key = E === tt || E === It ? Et() : ye(!0), E !== be && ge(), f.value = Lt(J(), !1));
757
752
  if (f.key.type === "Identifier" && (oe || c))
758
753
  for (var ee = 0; ee < s.h.length; ++ee) {
759
754
  var He = s.h[ee];
760
755
  if (He.key.name === f.key.name) {
761
- var an = q === He.kind || I && He.kind === "init" || q === "init" && (He.kind === "get" || He.kind === "set");
762
- an && !oe && q === "init" && He.kind === "init" && (an = !1), an && r(f.key.start, "Redefinition of property");
756
+ var sn = q === He.kind || I && He.kind === "init" || q === "init" && (He.kind === "get" || He.kind === "set");
757
+ sn && !oe && q === "init" && He.kind === "init" && (sn = !1), sn && r(f.key.start, "Redefinition of property");
763
758
  }
764
759
  }
765
760
  s.h.push(f);
766
761
  }
767
762
  return x(s, "ObjectExpression");
768
- case Qt:
769
- return s = J(), R(), Ht(s, !1);
770
- case ir:
771
- return s = J(), R(), s.callee = Ze(Et(), !0), s.arguments = F(be) ? Kt(he, !1) : bo, x(s, "NewExpression");
763
+ case Zt:
764
+ return s = J(), R(), Lt(s, !1);
765
+ case or:
766
+ return s = J(), R(), s.callee = Ze(Et(), !0), s.arguments = F(be) ? Ht(he, !1) : vo, x(s, "NewExpression");
772
767
  }
773
768
  ge();
774
769
  }
775
- function Ht(s, l) {
770
+ function Lt(s, l) {
776
771
  E === Me ? s.id = ye() : l ? ge() : s.id = null, s.oa = [];
777
772
  var c = !0;
778
773
  for (W(be); !F(he); )
779
774
  c ? c = !1 : W(Pe), s.oa.push(ye());
780
775
  c = et;
781
776
  var f = L;
782
- if (et = !0, L = [], s.body = Ye(!0), et = c, L = f, oe || s.body.body.length && Ut(s.body.body[0])) {
777
+ if (et = !0, L = [], s.body = _e(!0), et = c, L = f, oe || s.body.body.length && Dt(s.body.body[0])) {
783
778
  for (c = s.id ? -1 : 0; c < s.oa.length; ++c)
784
- if (f = 0 > c ? s.id : s.oa[c], (yr(f.name) || Rt(f.name)) && r(f.start, "Defining '" + f.name + "' in strict mode"), 0 <= c)
779
+ if (f = 0 > c ? s.id : s.oa[c], (gr(f.name) || Rt(f.name)) && r(f.start, "Defining '" + f.name + "' in strict mode"), 0 <= c)
785
780
  for (var I = 0; I < c; ++I)
786
781
  f.name === s.oa[I].name && r(f.start, "Argument name clash in strict mode");
787
782
  }
788
783
  return x(s, l ? "FunctionDeclaration" : "FunctionExpression");
789
784
  }
790
- function Kt(s, l, c) {
785
+ function Ht(s, l, c) {
791
786
  for (var f = [], I = !0; !F(s); ) {
792
787
  if (I)
793
788
  I = !1;
@@ -799,19 +794,19 @@ var B, ri = function(e) {
799
794
  }
800
795
  function ye(s) {
801
796
  var l = J();
802
- return s && A.yb === "everywhere" && (s = !1), E === Me ? (!s && (A.yb && $o(ae) || oe && yr(ae)) && b.slice(H, Fe).indexOf("\\") === -1 && r(H, "The keyword '" + ae + "' is reserved"), l.name = ae) : s && E.l ? l.name = E.l : ge(), Qe = !1, R(), x(l, "Identifier");
797
+ return s && A.yb === "everywhere" && (s = !1), E === Me ? (!s && (A.yb && Ao(ae) || oe && gr(ae)) && b.slice(H, Fe).indexOf("\\") === -1 && r(H, "The keyword '" + ae + "' is reserved"), l.name = ae) : s && E.l ? l.name = E.l : ge(), Qe = !1, R(), x(l, "Identifier");
803
798
  }
804
799
  e.version = "0.5.0";
805
- var A, b = "", Ue, qt;
800
+ var A, b = "", Ue, Kt;
806
801
  e.parse = function(s, l) {
807
802
  b = String(s), Ue = b.length, A = l || {};
808
- for (var c in Kn)
809
- Object.prototype.hasOwnProperty.call(A, c) || (A[c] = Kn[c]);
810
- for (qt = A.sourceFile, Ve = 1, d = ve = 0, Qe = !0, p(), c = A.dc, Jt = $e = d, A.C && (Xt = new i()), et = oe = !1, L = [], v(), s = c || J(), l = !0, c || (s.body = []); E !== _t; )
811
- c = ce(), s.body.push(c), l && Ut(c) && xe(!0), l = !1;
803
+ for (var c in Hn)
804
+ Object.prototype.hasOwnProperty.call(A, c) || (A[c] = Hn[c]);
805
+ for (Kt = A.sourceFile, Ve = 1, d = ve = 0, Qe = !0, p(), c = A.dc, Gt = $e = d, A.C && (Jt = new i()), et = oe = !1, L = [], v(), s = c || J(), l = !0, c || (s.body = []); E !== Xt; )
806
+ c = ce(), s.body.push(c), l && Dt(c) && xe(!0), l = !1;
812
807
  return x(s, "Program");
813
808
  };
814
- var Kn = {
809
+ var Hn = {
815
810
  fc: !1,
816
811
  sb: !0,
817
812
  yb: !1,
@@ -822,110 +817,110 @@ var B, ri = function(e) {
822
817
  dc: null,
823
818
  sourceFile: null,
824
819
  vb: null
825
- }, d = 0, H = 0, Fe = 0, zt, Gt, E, ae, Qe, Ve, ve, Jt = 0, $e = 0, Xt, et, L, oe, bo = [], tt = {
820
+ }, d = 0, H = 0, Fe = 0, qt, zt, E, ae, Qe, Ve, ve, Gt = 0, $e = 0, Jt, et, L, oe, vo = [], tt = {
826
821
  type: "num"
827
- }, qn = {
822
+ }, Kn = {
828
823
  type: "regexp"
829
824
  }, It = {
830
825
  type: "string"
831
826
  }, Me = {
832
827
  type: "name"
833
- }, _t = {
828
+ }, Xt = {
834
829
  type: "eof"
835
830
  }, Yt = {
836
831
  l: "break"
837
- }, Zt = {
832
+ }, _t = {
838
833
  l: "case",
839
834
  m: !0
840
- }, zn = {
835
+ }, qn = {
841
836
  l: "catch"
842
- }, Gn = {
837
+ }, zn = {
843
838
  l: "continue"
844
- }, Jn = {
839
+ }, Gn = {
845
840
  l: "debugger"
846
- }, Xn = {
841
+ }, Jn = {
847
842
  l: "default"
848
- }, _n = {
843
+ }, Xn = {
849
844
  l: "do",
850
845
  W: !0
851
846
  }, Yn = {
852
847
  l: "else",
853
848
  m: !0
854
- }, Zn = {
849
+ }, _n = {
855
850
  l: "finally"
856
- }, Qn = {
851
+ }, Zn = {
857
852
  l: "for",
858
853
  W: !0
859
- }, Qt = {
854
+ }, Zt = {
860
855
  l: "function"
861
- }, er = {
856
+ }, Qn = {
862
857
  l: "if"
863
- }, tr = {
858
+ }, er = {
864
859
  l: "return",
865
860
  m: !0
866
- }, en = {
861
+ }, Qt = {
867
862
  l: "switch"
868
- }, nr = {
863
+ }, tr = {
869
864
  l: "throw",
870
865
  m: !0
871
- }, rr = {
866
+ }, nr = {
872
867
  l: "try"
873
- }, tn = {
868
+ }, en = {
874
869
  l: "var"
875
- }, nn = {
870
+ }, tn = {
876
871
  l: "while",
877
872
  W: !0
878
- }, or = {
873
+ }, rr = {
879
874
  l: "with"
880
- }, ir = {
875
+ }, or = {
881
876
  l: "new",
882
877
  m: !0
883
- }, sr = {
878
+ }, ir = {
884
879
  l: "this"
885
- }, ar = {
880
+ }, sr = {
886
881
  l: "null",
887
882
  $a: null
888
- }, lr = {
883
+ }, ar = {
889
884
  l: "true",
890
885
  $a: !0
891
- }, ur = {
886
+ }, lr = {
892
887
  l: "false",
893
888
  $a: !1
894
889
  }, xt = {
895
890
  l: "in",
896
891
  L: 7,
897
892
  m: !0
898
- }, ko = {
893
+ }, bo = {
899
894
  break: Yt,
900
- case: Zt,
901
- catch: zn,
902
- continue: Gn,
903
- debugger: Jn,
904
- default: Xn,
905
- do: _n,
895
+ case: _t,
896
+ catch: qn,
897
+ continue: zn,
898
+ debugger: Gn,
899
+ default: Jn,
900
+ do: Xn,
906
901
  else: Yn,
907
- finally: Zn,
908
- for: Qn,
909
- function: Qt,
910
- if: er,
911
- return: tr,
912
- switch: en,
913
- throw: nr,
914
- try: rr,
915
- var: tn,
916
- while: nn,
917
- with: or,
918
- null: ar,
919
- true: lr,
920
- false: ur,
921
- new: ir,
902
+ finally: _n,
903
+ for: Zn,
904
+ function: Zt,
905
+ if: Qn,
906
+ return: er,
907
+ switch: Qt,
908
+ throw: tr,
909
+ try: nr,
910
+ var: en,
911
+ while: tn,
912
+ with: rr,
913
+ null: sr,
914
+ true: ar,
915
+ false: lr,
916
+ new: or,
922
917
  in: xt,
923
918
  instanceof: {
924
919
  l: "instanceof",
925
920
  L: 7,
926
921
  m: !0
927
922
  },
928
- this: sr,
923
+ this: ir,
929
924
  typeof: {
930
925
  l: "typeof",
931
926
  prefix: !0,
@@ -941,10 +936,10 @@ var B, ri = function(e) {
941
936
  prefix: !0,
942
937
  m: !0
943
938
  }
944
- }, rn = {
939
+ }, nn = {
945
940
  type: "[",
946
941
  m: !0
947
- }, on = {
942
+ }, rn = {
948
943
  type: "]"
949
944
  }, nt = {
950
945
  type: "{",
@@ -965,65 +960,65 @@ var B, ri = function(e) {
965
960
  }, rt = {
966
961
  type: ":",
967
962
  m: !0
968
- }, cr = {
963
+ }, ur = {
969
964
  type: "."
970
- }, pr = {
965
+ }, cr = {
971
966
  type: "?",
972
967
  m: !0
973
- }, dr = {
968
+ }, pr = {
974
969
  L: 10,
975
970
  m: !0
976
- }, hr = {
971
+ }, dr = {
977
972
  Cb: !0,
978
973
  m: !0
979
974
  }, De = {
980
975
  Cb: !0,
981
976
  m: !0
982
- }, So = {
977
+ }, ko = {
983
978
  cc: !0,
984
979
  prefix: !0,
985
980
  $b: !0
986
- }, fr = {
981
+ }, hr = {
987
982
  prefix: !0,
988
983
  m: !0
989
- }, mr = {
984
+ }, fr = {
990
985
  L: 1,
991
986
  m: !0
992
- }, gr = {
987
+ }, mr = {
993
988
  L: 2,
994
989
  m: !0
995
- }, Co = {
990
+ }, So = {
996
991
  L: 3,
997
992
  m: !0
998
- }, wo = {
993
+ }, Co = {
999
994
  L: 4,
1000
995
  m: !0
1001
- }, To = {
996
+ }, wo = {
1002
997
  L: 5,
1003
998
  m: !0
1004
- }, Eo = {
999
+ }, To = {
1005
1000
  L: 6,
1006
1001
  m: !0
1007
- }, Io = {
1002
+ }, Eo = {
1008
1003
  L: 7,
1009
1004
  m: !0
1010
- }, xo = {
1005
+ }, Io = {
1011
1006
  L: 8,
1012
1007
  m: !0
1013
- }, Ro = {
1008
+ }, xo = {
1014
1009
  L: 9,
1015
1010
  prefix: !0,
1016
1011
  m: !0
1017
- }, Ao = {
1012
+ }, Ro = {
1018
1013
  L: 10,
1019
1014
  m: !0
1020
- }, $o = o("class enum extends super const export import"), yr = o("implements interface let package private protected public static yield"), Rt = o("eval arguments"), Po = 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"), Oo = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, vr = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"), jo = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‌‍‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"), At = /[\n\r\u2028\u2029]/, $t = /\r\n|[\n\r\u2028\u2029]/g, Le, sn = {
1015
+ }, Ao = o("class enum extends super const export import"), gr = o("implements interface let package private protected public static yield"), Rt = o("eval arguments"), $o = 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"), Po = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, yr = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"), Oo = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‌‍‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"), At = /[\n\r\u2028\u2029]/, $t = /\r\n|[\n\r\u2028\u2029]/g, Le, on = {
1021
1016
  kind: "loop"
1022
- }, Bo = {
1017
+ }, jo = {
1023
1018
  kind: "switch"
1024
1019
  };
1025
- }, gn = gn = typeof globalThis > "u" ? void 0 : globalThis;
1026
- ri(gn.j || (gn.j = {}));
1020
+ }, mn = mn = typeof globalThis > "u" ? void 0 : globalThis;
1021
+ ni(mn.j || (mn.j = {}));
1027
1022
  function g(e, t) {
1028
1023
  typeof e == "string" && (e = ze(e, "code"));
1029
1024
  var n = e.constructor;
@@ -1039,13 +1034,13 @@ function g(e, t) {
1039
1034
  var i, a;
1040
1035
  for (a in this)
1041
1036
  typeof this[a] == "function" && (i = a.match(e)) && (this.rb[i[1]] = this[a].bind(this));
1042
- this.N = vn(this, this.ra, null), this.Na = this.N.object, this.ra = ze(this.ba.join(`
1043
- `), "polyfills"), this.ba = void 0, Vt(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;
1037
+ this.N = yn(this, this.ra, null), this.Na = this.N.object, this.ra = ze(this.ba.join(`
1038
+ `), "polyfills"), this.ba = void 0, Nt(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;
1044
1039
  }
1045
- var br = {
1040
+ var vr = {
1046
1041
  C: !0,
1047
1042
  kc: 5
1048
- }, Tn = {
1043
+ }, wn = {
1049
1044
  configurable: !0,
1050
1045
  enumerable: !0,
1051
1046
  writable: !1
@@ -1061,11 +1056,11 @@ var br = {
1061
1056
  configurable: !1,
1062
1057
  enumerable: !1,
1063
1058
  writable: !1
1064
- }, kr = {
1059
+ }, br = {
1065
1060
  configurable: !1,
1066
1061
  enumerable: !0,
1067
1062
  writable: !0
1068
- }, Wr = {
1063
+ }, Mr = {
1069
1064
  STEP_ERROR: !0
1070
1065
  }, Je = {
1071
1066
  SCOPE_REFERENCE: !0
@@ -1073,8 +1068,8 @@ var br = {
1073
1068
  VALUE_IN_DESCRIPTOR: !0
1074
1069
  }, Ke = {
1075
1070
  REGEXP_TIMEOUT: !0
1076
- }, Sr = [], we = null, pt = null, je = typeof globalThis > "u" ? void 0 : globalThis, oi = ["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();", "};"];
1077
- function En(e) {
1071
+ }, kr = [], we = null, pt = null, je = typeof globalThis > "u" ? void 0 : globalThis, ri = ["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();", "};"];
1072
+ function Tn(e) {
1078
1073
  var t = e >>> 0;
1079
1074
  return t === Number(e) ? t : NaN;
1080
1075
  }
@@ -1082,12 +1077,12 @@ function dt(e) {
1082
1077
  var t = e >>> 0;
1083
1078
  return String(t) === String(e) && t !== 4294967295 ? t : NaN;
1084
1079
  }
1085
- function Vt(e, t, n) {
1080
+ function Nt(e, t, n) {
1086
1081
  t ? e.start = t : delete e.start, n ? e.end = n : delete e.end;
1087
1082
  for (var r in e)
1088
1083
  if (r !== "loc" && e.hasOwnProperty(r)) {
1089
1084
  var o = e[r];
1090
- o && typeof o == "object" && Vt(o, t, n);
1085
+ o && typeof o == "object" && Nt(o, t, n);
1091
1086
  }
1092
1087
  }
1093
1088
  g.prototype.REGEXP_MODE = 2;
@@ -1100,8 +1095,8 @@ B.Kb = 0;
1100
1095
  B.ic = 0;
1101
1096
  function ze(e, t) {
1102
1097
  var n = {}, r;
1103
- for (r in br)
1104
- n[r] = br[r];
1098
+ for (r in vr)
1099
+ n[r] = vr[r];
1105
1100
  return n.sourceFile = t, je.j.parse(e, n);
1106
1101
  }
1107
1102
  B.Jb = function(e) {
@@ -1124,7 +1119,7 @@ B.lb = function() {
1124
1119
  if (n = this.ca[0], !n || n.time > Date.now())
1125
1120
  n = null;
1126
1121
  else {
1127
- this.ca.shift(), 0 <= n.interval && Kr(this, n, n.interval);
1122
+ this.ca.shift(), 0 <= n.interval && Hr(this, n, n.interval);
1128
1123
  var r = new C(n.node, n.scope);
1129
1124
  n.zb && (r.ia = 2, r.B = this.Na, r.U = n.zb, r.Qa = !0, r.F = n.Lb), n = r;
1130
1125
  }
@@ -1137,7 +1132,7 @@ B.lb = function() {
1137
1132
  try {
1138
1133
  var i = this.rb[r.type](e, n, r);
1139
1134
  } catch (a) {
1140
- if (a !== Wr)
1135
+ if (a !== Mr)
1141
1136
  throw this.value !== a && (this.value = void 0), a;
1142
1137
  } finally {
1143
1138
  pt = o;
@@ -1155,8 +1150,8 @@ B.Eb = function() {
1155
1150
  ;
1156
1151
  return this.za;
1157
1152
  };
1158
- function ii(e, t) {
1159
- 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, Tn), e.g(t, "this", t, it), e.g(t, "self", t), e.M = new $(null), e.Z = new $(e.M), si(e, t), ai(e, t), t.xa = e.M, e.g(t, "constructor", e.v, k), li(e, t), ui(e, t), ci(e, t), pi(e, t), di(e, t), hi(e, t), fi(e, t), mi(e, t), gi(e, t);
1153
+ function oi(e, t) {
1154
+ 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, wn), e.g(t, "this", t, it), e.g(t, "self", t), e.M = new $(null), e.Z = new $(e.M), ii(e, t), si(e, t), t.xa = e.M, e.g(t, "constructor", e.v, k), ai(e, t), li(e, t), ui(e, t), ci(e, t), pi(e, t), di(e, t), hi(e, t), fi(e, t), mi(e, t);
1160
1155
  var n = e.i(function() {
1161
1156
  throw EvalError("Can't happen");
1162
1157
  }, !1);
@@ -1172,17 +1167,17 @@ function ii(e, t) {
1172
1167
  };
1173
1168
  }(r[o][0]), e.g(t, r[o][1], e.i(n, !1), k);
1174
1169
  n = function(i) {
1175
- return Cr(e, !1, arguments);
1170
+ return Sr(e, !1, arguments);
1176
1171
  }, e.g(t, "setTimeout", e.i(n, !1), k), n = function(i) {
1177
- return Cr(e, !0, arguments);
1172
+ return Sr(e, !0, arguments);
1178
1173
  }, e.g(t, "setInterval", e.i(n, !1), k), n = function(i) {
1179
- wr(e, i);
1174
+ Cr(e, i);
1180
1175
  }, e.g(t, "clearTimeout", e.i(n, !1), k), n = function(i) {
1181
- wr(e, i);
1176
+ Cr(e, i);
1182
1177
  }, e.g(t, "clearInterval", e.i(n, !1), k), 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);
1183
1178
  }
1184
1179
  B.Wb = 0;
1185
- function si(e, t) {
1180
+ function ii(e, t) {
1186
1181
  var n = /^[A-Za-z_$][\w$]*$/, r = function(o) {
1187
1182
  var i = arguments.length ? String(arguments[arguments.length - 1]) : "", a = Array.prototype.slice.call(arguments, 0, -1).join(",").trim();
1188
1183
  if (a) {
@@ -1198,12 +1193,12 @@ function si(e, t) {
1198
1193
  } catch (v) {
1199
1194
  w(e, e.T, "Invalid code: " + v.message);
1200
1195
  }
1201
- return m.body.length !== 1 && w(e, e.T, "Invalid code in function body"), Rn(e, m.body[0].la, e.N, "anonymous");
1196
+ return m.body.length !== 1 && w(e, e.T, "Invalid code in function body"), xn(e, m.body[0].la, e.N, "anonymous");
1202
1197
  };
1203
1198
  e.O = e.i(r, !0), e.g(t, "Function", e.O, k), e.g(e.O, "prototype", e.Z, k), e.g(e.Z, "constructor", e.O, k), e.Z.Ta = function() {
1204
1199
  }, e.Z.Ta.id = e.Ya++, e.Z.Ab = !0, e.g(e.Z, "length", 0, ne), e.Z.H = "Function", r = function(o, i) {
1205
1200
  var a = e.o[e.o.length - 1];
1206
- a.U = this, a.B = o, a.F = [], i != null && (i instanceof $ ? a.F = Lr(e, i) : w(e, e.j, "CreateListFromArrayLike called on non-object")), a.eb = !1;
1201
+ a.U = this, a.B = o, a.F = [], i != null && (i instanceof $ ? a.F = Wr(e, i) : w(e, e.j, "CreateListFromArrayLike called on non-object")), a.eb = !1;
1207
1202
  }, G(e, e.O, "apply", r), r = function(o) {
1208
1203
  var i = e.o[e.o.length - 1];
1209
1204
  i.U = this, i.B = o, i.F = [];
@@ -1216,7 +1211,7 @@ function si(e, t) {
1216
1211
  return this.valueOf();
1217
1212
  }, G(e, e.O, "valueOf", r), e.g(e.O, "valueOf", e.i(r, !1), k);
1218
1213
  }
1219
- function ai(e, t) {
1214
+ function si(e, t) {
1220
1215
  function n(o) {
1221
1216
  o != null || w(e, e.j, "Cannot convert '" + o + "' to object");
1222
1217
  }
@@ -1261,11 +1256,11 @@ function ai(e, t) {
1261
1256
  }
1262
1257
  }, G(e, e.v, "isPrototypeOf", r);
1263
1258
  }
1264
- function li(e, t) {
1259
+ function ai(e, t) {
1265
1260
  var n = function(r) {
1266
1261
  var o = Ie(e) ? this : Ge(e), i = arguments[0];
1267
1262
  if (arguments.length === 1 && typeof i == "number")
1268
- isNaN(En(i)) && w(e, e.ob, "Invalid array length: " + i), o.h.length = i;
1263
+ isNaN(Tn(i)) && w(e, e.ob, "Invalid array length: " + i), o.h.length = i;
1269
1264
  else {
1270
1265
  for (i = 0; i < arguments.length; i++)
1271
1266
  o.h[i] = arguments[i];
@@ -1281,7 +1276,7 @@ function li(e, t) {
1281
1276
  writable: !0
1282
1277
  }), e.La.H = "Array", e.ba.push("(function() {", "function createArrayMethod_(f) {", "Object.defineProperty(Array.prototype, f.name,", "{configurable: true, writable: true, value: f});", "}", "createArrayMethod_(", "function pop() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 0) {", "o.length = 0;", "return undefined;", "}", "len--;", "var x = o[len];", "delete o[len];", "o.length = len;", "return x;", "}", ");", "createArrayMethod_(", "function push(var_args) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "for (var i = 0; i < arguments.length; i++) {", "o[len] = arguments[i];", "len++;", "}", "o.length = len;", "return len;", "}", ");", "createArrayMethod_(", "function shift() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 0) {", "o.length = 0;", "return undefined;", "}", "var value = o[0];", "for (var i = 0; i < len - 1; i++) {", "if ((i + 1) in o) {", "o[i] = o[i + 1];", "} else {", "delete o[i];", "}", "}", "delete o[i];", "o.length = len - 1;", "return value;", "}", ");", "createArrayMethod_(", "function unshift(var_args) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 0) {", "len = 0;", "}", "for (var i = len - 1; i >= 0; i--) {", "if (i in o) {", "o[i + arguments.length] = o[i];", "} else {", "delete o[i + arguments.length];", "}", "}", "for (var i = 0; i < arguments.length; i++) {", "o[i] = arguments[i];", "}", "return (o.length = len + arguments.length);", "}", ");", "createArrayMethod_(", "function reverse() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 2) {", "return o;", "}", "for (var i = 0; i < len / 2 - 0.5; i++) {", "var x = o[i];", "var hasX = i in o;", "if ((len - i - 1) in o) {", "o[i] = o[len - i - 1];", "} else {", "delete o[i];", "}", "if (hasX) {", "o[len - i - 1] = x;", "} else {", "delete o[len - i - 1];", "}", "}", "return o;", "}", ");", "createArrayMethod_(", "function indexOf(searchElement, fromIndex) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var n = fromIndex | 0;", "if (!len || n >= len) {", "return -1;", "}", "var i = Math.max(n >= 0 ? n : len - Math.abs(n), 0);", "while (i < len) {", "if (i in o && o[i] === searchElement) {", "return i;", "}", "i++;", "}", "return -1;", "}", ");", "createArrayMethod_(", "function lastIndexOf(searchElement, fromIndex) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len) {", "return -1;", "}", "var n = len - 1;", "if (arguments.length > 1) {", "n = fromIndex | 0;", "if (n) {", "n = (n > 0 || -1) * Math.floor(Math.abs(n));", "}", "}", "var i = n >= 0 ? Math.min(n, len - 1) : len - Math.abs(n);", "while (i >= 0) {", "if (i in o && o[i] === searchElement) {", "return i;", "}", "i--;", "}", "return -1;", "}", ");", "createArrayMethod_(", "function slice(start, end) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "start |= 0;", "start = (start >= 0) ? start : Math.max(0, len + start);", "if (typeof end !== 'undefined') {", "if (end !== Infinity) {", "end |= 0;", "}", "if (end < 0) {", "end = len + end;", "} else {", "end = Math.min(end, len);", "}", "} else {", "end = len;", "}", "var size = end - start;", "var cloned = new Array(size);", "for (var i = 0; i < size; i++) {", "if ((start + i) in o) {", "cloned[i] = o[start + i];", "}", "}", "return cloned;", "}", ");", "createArrayMethod_(", "function splice(start, deleteCount, var_args) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "start |= 0;", "if (start < 0) {", "start = Math.max(len + start, 0);", "} else {", "start = Math.min(start, len);", "}", "if (arguments.length < 1) {", "deleteCount = len - start;", "} else {", "deleteCount |= 0;", "deleteCount = Math.max(0, Math.min(deleteCount, len - start));", "}", "var removed = [];", "for (var i = start; i < start + deleteCount; i++) {", "if (i in o) {", "removed.push(o[i]);", "} else {", "removed.length++;", "}", "if ((i + deleteCount) in o) {", "o[i] = o[i + deleteCount];", "} else {", "delete o[i];", "}", "}", "for (var i = start + deleteCount; i < len - deleteCount; i++) {", "if ((i + deleteCount) in o) {", "o[i] = o[i + deleteCount];", "} else {", "delete o[i];", "}", "}", "for (var i = len - deleteCount; i < len; i++) {", "delete o[i];", "}", "len -= deleteCount;", "var arl = arguments.length - 2;", "for (var i = len - 1; i >= start; i--) {", "if (i in o) {", "o[i + arl] = o[i];", "} else {", "delete o[i + arl];", "}", "}", "len += arl;", "for (var i = 2; i < arguments.length; i++) {", "o[start + i - 2] = arguments[i];", "}", "o.length = len;", "return removed;", "}", ");", "createArrayMethod_(", "function concat(var_args) {", "if (!this) throw TypeError();", "var o = Object(this);", "var cloned = [];", "for (var i = -1; i < arguments.length; i++) {", "var value = (i === -1) ? o : arguments[i];", "if (Array.isArray(value)) {", "for (var j = 0, l = value.length; j < l; j++) {", "if (j in value) {", "cloned.push(value[j]);", "} else {", "cloned.length++;", "}", "}", "} else {", "cloned.push(value);", "}", "}", "return cloned;", "}", ");", "createArrayMethod_(", "function join(opt_separator) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var sep = typeof opt_separator === 'undefined' ?", "',' : ('' + opt_separator);", "var str = '';", "for (var i = 0; i < len; i++) {", "if (i && sep) str += sep;", "str += (o[i] === null || o[i] === undefined) ? '' : o[i];", "}", "return str;", "}", ");", "createArrayMethod_(", "function every(callbackfn, thisArg) {", "if (!this || typeof callbackfn !== 'function') throw TypeError();", "var t, k = 0;", "var o = Object(this), len = o.length >>> 0;", "if (arguments.length > 1) t = thisArg;", "while (k < len) {", "if (k in o && !callbackfn.call(t, o[k], k, o)) return false;", "k++;", "}", "return true;", "}", ");", "createArrayMethod_(", "function filter(fun, var_args) {", "if (this === void 0 || this === null || typeof fun !== 'function') throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var res = [];", "var thisArg = arguments.length >= 2 ? arguments[1] : void 0;", "for (var i = 0; i < len; i++) {", "if (i in o) {", "var val = o[i];", "if (fun.call(thisArg, val, i, o)) res.push(val);", "}", "}", "return res;", "}", ");", "createArrayMethod_(", "function forEach(callback, thisArg) {", "if (!this || typeof callback !== 'function') throw TypeError();", "var t, k = 0;", "var o = Object(this), len = o.length >>> 0;", "if (arguments.length > 1) t = thisArg;", "while (k < len) {", "if (k in o) callback.call(t, o[k], k, o);", "k++;", "}", "}", ");", "createArrayMethod_(", "function map(callback, thisArg) {", "if (!this || typeof callback !== 'function') throw TypeError();", "var t, k = 0;", "var o = Object(this), len = o.length >>> 0;", "if (arguments.length > 1) t = thisArg;", "var a = new Array(len);", "while (k < len) {", "if (k in o) a[k] = callback.call(t, o[k], k, o);", "k++;", "}", "return a;", "}", ");", "createArrayMethod_(", "function reduce(callback /*, initialValue*/) {", "if (!this || typeof callback !== 'function') throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var k = 0, value;", "if (arguments.length === 2) {", "value = arguments[1];", "} else {", "while (k < len && !(k in o)) k++;", "if (k >= len) {", "throw TypeError('Reduce of empty array with no initial value');", "}", "value = o[k++];", "}", "for (; k < len; k++) {", "if (k in o) value = callback(value, o[k], k, o);", "}", "return value;", "}", ");", "createArrayMethod_(", "function reduceRight(callback /*, initialValue*/) {", "if (null === this || 'undefined' === typeof this || 'function' !== typeof callback) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var k = len - 1, value;", "if (arguments.length >= 2) {", "value = arguments[1];", "} else {", "while (k >= 0 && !(k in o)) k--;", "if (k < 0) {", "throw TypeError('Reduce of empty array with no initial value');", "}", "value = o[k--];", "}", "for (; k >= 0; k--) {", "if (k in o) value = callback(value, o[k], k, o);", "}", "return value;", "}", ");", "createArrayMethod_(", "function some(fun/*, thisArg*/) {", "if (!this || typeof fun !== 'function') throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var thisArg = arguments.length >= 2 ? arguments[1] : void 0;", "for (var i = 0; i < len; i++) {", "if (i in o && fun.call(thisArg, o[i], i, o)) return true;", "}", "return false;", "}", ");", "createArrayMethod_(", "function sort(opt_comp) {", "if (!this) throw TypeError();", "if (typeof opt_comp !== 'function') {", "opt_comp = undefined;", "}", "for (var i = 0; i < this.length; i++) {", "var changes = 0;", "for (var j = 0; j < this.length - i - 1; j++) {", "if (opt_comp ? (opt_comp(this[j], this[j + 1]) > 0) :", "(String(this[j]) > String(this[j + 1]))) {", "var swap = this[j];", "var hasSwap = j in this;", "if ((j + 1) in this) {", "this[j] = this[j + 1];", "} else {", "delete this[j];", "}", "if (hasSwap) {", "this[j + 1] = swap;", "} else {", "delete this[j + 1];", "}", "changes++;", "}", "}", "if (!changes) break;", "}", "return this;", "}", ");", "createArrayMethod_(", "function toLocaleString() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var out = [];", "for (var i = 0; i < len; i++) {", "out[i] = (o[i] === null || o[i] === undefined) ? '' : o[i].toLocaleString();", "}", "return out.join(',');", "}", ");", "})();", "");
1283
1278
  }
1284
- function ui(e, t) {
1279
+ function li(e, t) {
1285
1280
  var n = function(r) {
1286
1281
  return r = arguments.length ? je.String(r) : "", Ie(e) ? (this.data = r, this) : r;
1287
1282
  };
@@ -1364,12 +1359,12 @@ function ui(e, t) {
1364
1359
  i(a.replace(r, o));
1365
1360
  }, 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;", "};", "})();", "");
1366
1361
  }
1367
- function ci(e, t) {
1362
+ function ui(e, t) {
1368
1363
  e.mb = e.i(function(n) {
1369
1364
  return n = je.Boolean(n), Ie(e) ? (this.data = n, this) : n;
1370
1365
  }, !0), e.g(t, "Boolean", e.mb, k);
1371
1366
  }
1372
- function pi(e, t) {
1367
+ function ci(e, t) {
1373
1368
  var n = function(r) {
1374
1369
  return r = arguments.length ? je.Number(r) : 0, Ie(e) ? (this.data = r, this) : r;
1375
1370
  };
@@ -1408,7 +1403,7 @@ function pi(e, t) {
1408
1403
  }
1409
1404
  }, G(e, e.aa, "toLocaleString", n);
1410
1405
  }
1411
- function di(e, t) {
1406
+ function pi(e, t) {
1412
1407
  var n = function(o, i) {
1413
1408
  if (!Ie(e))
1414
1409
  return je.Date();
@@ -1427,7 +1422,7 @@ function di(e, t) {
1427
1422
  };
1428
1423
  }(t[r]), G(e, e.$, t[r], n);
1429
1424
  }
1430
- function hi(e, t) {
1425
+ function di(e, t) {
1431
1426
  var n = function(r, o) {
1432
1427
  if (Ie(e))
1433
1428
  var i = this;
@@ -1442,7 +1437,7 @@ function hi(e, t) {
1442
1437
  } catch (u) {
1443
1438
  w(e, e.T, u.message);
1444
1439
  }
1445
- return In(e, i, a), i;
1440
+ return En(e, i, a), i;
1446
1441
  };
1447
1442
  e.I = e.i(n, !0), e.Ma = e.I.h.prototype, e.g(t, "RegExp", e.I, k), e.g(e.I.h.prototype, "global", void 0, ne), e.g(e.I.h.prototype, "ignoreCase", void 0, ne), e.g(e.I.h.prototype, "multiline", void 0, ne), e.g(e.I.h.prototype, "source", "(?:)", ne), e.ba.push("Object.defineProperty(RegExp.prototype, 'test',", "{configurable: true, writable: true, value:", "function test(str) {", "return !!this.exec(str);", "}", "});"), n = function(r, o) {
1448
1443
  function i(v) {
@@ -1469,20 +1464,20 @@ function hi(e, t) {
1469
1464
  r = a.exec(r), e.g(this, "lastIndex", a.lastIndex), o(i(r));
1470
1465
  }, ut(e, e.I, "exec", n);
1471
1466
  }
1472
- function fi(e, t) {
1467
+ function hi(e, t) {
1473
1468
  function n(r) {
1474
1469
  var o = e.i(function(i) {
1475
1470
  var a = Ie(e) ? this : e.Aa(o);
1476
- return yn(e, a, i), a;
1471
+ return gn(e, a, i), a;
1477
1472
  }, !0);
1478
1473
  return e.g(o, "prototype", e.Aa(e.D), k), e.g(o.h.prototype, "name", r, k), e.g(t, r, o, k), o;
1479
1474
  }
1480
1475
  e.D = e.i(function(r) {
1481
1476
  var o = Ie(e) ? this : e.Aa(e.D);
1482
- return yn(e, o, r), o;
1477
+ return gn(e, o, r), o;
1483
1478
  }, !0), e.g(t, "Error", e.D, k), e.g(e.D.h.prototype, "message", "", k), e.g(e.D.h.prototype, "name", "Error", k), n("EvalError"), e.ob = n("RangeError"), e.pb = n("ReferenceError"), e.T = n("SyntaxError"), e.j = n("TypeError"), e.Gb = n("URIError");
1484
1479
  }
1485
- function mi(e, t) {
1480
+ function fi(e, t) {
1486
1481
  var n = e.s(e.M);
1487
1482
  e.g(t, "Math", n, k);
1488
1483
  var r = "E LN2 LN10 LOG2E LOG10E PI SQRT1_2 SQRT2".split(" ");
@@ -1491,7 +1486,7 @@ function mi(e, t) {
1491
1486
  for (r = "abs acos asin atan atan2 ceil cos exp floor log max min pow random round sin sqrt tan".split(" "), t = 0; t < r.length; t++)
1492
1487
  e.g(n, r[t], e.i(Math[r[t]], !1), k);
1493
1488
  }
1494
- function gi(e, t) {
1489
+ function mi(e, t) {
1495
1490
  var n = e.s(e.M);
1496
1491
  e.g(t, "JSON", n, k), t = function(r) {
1497
1492
  try {
@@ -1501,7 +1496,7 @@ function gi(e, t) {
1501
1496
  }
1502
1497
  return e.Ia(o);
1503
1498
  }, e.g(n, "parse", e.i(t, !1)), t = function(r, o, i) {
1504
- o && o.H === "Function" ? w(e, e.j, "Function replacer on JSON.stringify not supported") : o && o.H === "Array" ? (o = Lr(e, o), o = o.filter(function(u) {
1499
+ o && o.H === "Function" ? w(e, e.j, "Function replacer on JSON.stringify not supported") : o && o.H === "Array" ? (o = Wr(e, o), o = o.filter(function(u) {
1505
1500
  return typeof u == "string" || typeof u == "number";
1506
1501
  })) : o = null, typeof i != "string" && typeof i != "number" && (i = void 0), r = e.R(r);
1507
1502
  try {
@@ -1524,10 +1519,10 @@ function X(e, t, n) {
1524
1519
  }
1525
1520
  return !1;
1526
1521
  }
1527
- function In(e, t, n) {
1522
+ function En(e, t, n) {
1528
1523
  t.data = new RegExp(n.source, n.flags), e.g(t, "lastIndex", n.lastIndex, k), e.g(t, "source", n.source, ne), e.g(t, "global", n.global, ne), e.g(t, "ignoreCase", n.ignoreCase, ne), e.g(t, "multiline", n.multiline, ne);
1529
1524
  }
1530
- function yn(e, t, n) {
1525
+ function gn(e, t, n) {
1531
1526
  n && e.g(t, "message", String(n), k), n = [];
1532
1527
  for (var r = e.o.length - 1; 0 <= r; r--) {
1533
1528
  var o = e.o[r], i = o.node;
@@ -1546,7 +1541,7 @@ function yn(e, t, n) {
1546
1541
  }
1547
1542
  B.ha = function() {
1548
1543
  var e = this.ha.Mb;
1549
- return e || (e = new Blob([oi.join(`
1544
+ return e || (e = new Blob([ri.join(`
1550
1545
  `)], {
1551
1546
  type: "application/javascript"
1552
1547
  }), this.ha.Mb = e), new Worker(URL.createObjectURL(e));
@@ -1606,19 +1601,19 @@ function Ge(e) {
1606
1601
  writable: !0
1607
1602
  }), t.H = "Array", t;
1608
1603
  }
1609
- function xn(e, t, n) {
1604
+ function In(e, t, n) {
1610
1605
  var r = e.s(e.Z);
1611
1606
  return n ? (n = e.s(e.M), e.g(r, "prototype", n, k), e.g(n, "constructor", r, k)) : r.Ab = !0, e.g(r, "length", t, ne), r.H = "Function", r;
1612
1607
  }
1613
- function Rn(e, t, n, r) {
1614
- var o = xn(e, t.oa.length, !0);
1608
+ function xn(e, t, n, r) {
1609
+ var o = In(e, t.oa.length, !0);
1615
1610
  return o.Va = n, o.node = t, e.g(o, "name", t.id ? String(t.id.name) : r || "", ne), o;
1616
1611
  }
1617
1612
  B.i = function(e, t) {
1618
- return t = xn(this, e.length, t), t.Ta = e, e.id = this.Ya++, this.g(t, "name", e.name, ne), t;
1613
+ return t = In(this, e.length, t), t.Ta = e, e.id = this.Ya++, this.g(t, "name", e.name, ne), t;
1619
1614
  };
1620
1615
  B.ub = function(e) {
1621
- var t = xn(this, e.length, !0);
1616
+ var t = In(this, e.length, !0);
1622
1617
  return t.Za = e, e.id = this.Ya++, this.g(t, "name", e.name, ne), t;
1623
1618
  };
1624
1619
  B.Ia = function(e) {
@@ -1628,7 +1623,7 @@ B.Ia = function(e) {
1628
1623
  return e;
1629
1624
  if (e instanceof RegExp) {
1630
1625
  var t = this.s(this.Ma);
1631
- return In(this, t, e), t;
1626
+ return En(this, t, e), t;
1632
1627
  }
1633
1628
  if (e instanceof Date)
1634
1629
  return t = this.s(this.nb), t.data = new Date(e.valueOf()), t;
@@ -1671,7 +1666,7 @@ B.R = function(e, t) {
1671
1666
  if (t.hb.push(e), X(this, e, this.qa)) {
1672
1667
  n = [], t.Sa.push(n);
1673
1668
  for (var r = this.G(e, "length"), o = 0; o < r; o++)
1674
- Dt(this, e, o) && (n[o] = this.R(this.G(e, o), t));
1669
+ Vt(this, e, o) && (n[o] = this.R(this.G(e, o), t));
1675
1670
  } else
1676
1671
  for (r in n = {}, t.Sa.push(n), e.h)
1677
1672
  o = this.R(e.h[r], t), Object.defineProperty(n, r, {
@@ -1687,11 +1682,11 @@ function Ce(e, t) {
1687
1682
  e.g(n, r[o], t[r[o]]);
1688
1683
  return n;
1689
1684
  }
1690
- function Lr(e, t) {
1685
+ function Wr(e, t) {
1691
1686
  var n = [], r;
1692
1687
  for (r in t.h)
1693
1688
  n[r] = e.G(t, r);
1694
- return n.length = En(e.G(t, "length")) || 0, n;
1689
+ return n.length = Tn(e.G(t, "length")) || 0, n;
1695
1690
  }
1696
1691
  function Te(e, t) {
1697
1692
  switch (typeof t) {
@@ -1722,7 +1717,7 @@ B.G = function(e, t) {
1722
1717
  return (n = e.V[t]) ? (this.P = !0, n) : e.h[t];
1723
1718
  while (e = Te(this, e));
1724
1719
  };
1725
- function Dt(e, t, n) {
1720
+ function Vt(e, t, n) {
1726
1721
  if (!(t instanceof $))
1727
1722
  throw TypeError("Primitive data type has no properties");
1728
1723
  if (n = String(n), n === "length" && X(e, t, e.J))
@@ -1744,7 +1739,7 @@ B.g = function(e, t, n, r) {
1744
1739
  if (t = String(t), e != null || w(this, this.j, "Cannot set property '" + t + "' of " + e), typeof e == "object" && !(e instanceof $))
1745
1740
  throw TypeError("Expecting native value or pseudo object");
1746
1741
  r && ("get" in r || "set" in r) && ("value" in r || "writable" in r) && w(this, this.j, "Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");
1747
- var o = !this.o || An(this).S;
1742
+ var o = !this.o || Rn(this).S;
1748
1743
  if (e instanceof $) {
1749
1744
  if (X(this, e, this.J)) {
1750
1745
  var i = dt(t);
@@ -1760,7 +1755,7 @@ B.g = function(e, t, n, r) {
1760
1755
  return;
1761
1756
  n = r.value;
1762
1757
  }
1763
- if (n = En(n), isNaN(n) && w(this, this.ob, "Invalid array length"), n < i)
1758
+ if (n = Tn(n), isNaN(n) && w(this, this.ob, "Invalid array length"), n < i)
1764
1759
  for (a in e.h) {
1765
1760
  var a = dt(a);
1766
1761
  !isNaN(a) && n <= a && delete e.h[a];
@@ -1812,12 +1807,12 @@ function G(e, t, n, r) {
1812
1807
  function ut(e, t, n, r) {
1813
1808
  e.g(t.h.prototype, n, e.ub(r), k);
1814
1809
  }
1815
- function An(e) {
1810
+ function Rn(e) {
1816
1811
  if (e = e.o[e.o.length - 1].scope, !e)
1817
1812
  throw Error("No scope found");
1818
1813
  return e;
1819
1814
  }
1820
- function vn(e, t, n) {
1815
+ function yn(e, t, n) {
1821
1816
  var r = !1;
1822
1817
  if (n && n.S)
1823
1818
  r = !0;
@@ -1825,25 +1820,25 @@ function vn(e, t, n) {
1825
1820
  var o = t.body && t.body[0];
1826
1821
  o && o.la && o.la.type === "Literal" && o.la.value === "use strict" && (r = !0);
1827
1822
  }
1828
- return o = e.s(null), r = new qr(n, r, o), n || ii(e, r.object), yt(e, t, r), r;
1823
+ return o = e.s(null), r = new Kr(n, r, o), n || oi(e, r.object), yt(e, t, r), r;
1829
1824
  }
1830
- function $n(e, t, n) {
1825
+ function An(e, t, n) {
1831
1826
  if (!t)
1832
1827
  throw Error("parentScope required");
1833
- return e = n || e.s(null), new qr(t, t.S, e);
1828
+ return e = n || e.s(null), new Kr(t, t.S, e);
1834
1829
  }
1835
- function Pn(e, t) {
1836
- for (var n = An(e); n && n !== e.N; ) {
1830
+ function $n(e, t) {
1831
+ for (var n = Rn(e); n && n !== e.N; ) {
1837
1832
  if (t in n.object.h)
1838
1833
  return n.object.h[t];
1839
1834
  n = n.Va;
1840
1835
  }
1841
- if (n === e.N && Dt(e, n.object, t))
1836
+ if (n === e.N && Vt(e, n.object, t))
1842
1837
  return e.G(n.object, t);
1843
1838
  n = e.o[e.o.length - 1].node, n.type === "UnaryExpression" && n.operator === "typeof" || w(e, e.pb, t + " is not defined");
1844
1839
  }
1845
- function Hr(e, t, n) {
1846
- for (var r = An(e), o = r.S; r && r !== e.N; ) {
1840
+ function Lr(e, t, n) {
1841
+ for (var r = Rn(e), o = r.S; r && r !== e.N; ) {
1847
1842
  if (t in r.object.h) {
1848
1843
  try {
1849
1844
  r.object.h[t] = n;
@@ -1854,7 +1849,7 @@ function Hr(e, t, n) {
1854
1849
  }
1855
1850
  r = r.Va;
1856
1851
  }
1857
- if (r === e.N && (!o || Dt(e, r.object, t)))
1852
+ if (r === e.N && (!o || Vt(e, r.object, t)))
1858
1853
  return e.g(r.object, t, n);
1859
1854
  w(e, e.pb, t + " is not defined");
1860
1855
  }
@@ -1904,20 +1899,20 @@ function yt(e, t, n) {
1904
1899
  t.jb = r;
1905
1900
  }
1906
1901
  for (a in r)
1907
- r[a] === !0 ? e.g(n.object, a, void 0, kr) : e.g(n.object, a, Rn(e, r[a], n), kr);
1902
+ r[a] === !0 ? e.g(n.object, a, void 0, br) : e.g(n.object, a, xn(e, r[a], n), br);
1908
1903
  return r;
1909
1904
  }
1910
1905
  function Ie(e) {
1911
1906
  return e.o[e.o.length - 1].isConstructor;
1912
1907
  }
1913
- function On(e, t) {
1914
- return t[0] === Je ? Pn(e, t[1]) : e.G(t[0], t[1]);
1908
+ function Pn(e, t) {
1909
+ return t[0] === Je ? $n(e, t[1]) : e.G(t[0], t[1]);
1915
1910
  }
1916
- function jn(e, t, n) {
1917
- return t[0] === Je ? Hr(e, t[1], n) : e.g(t[0], t[1], n);
1911
+ function On(e, t, n) {
1912
+ return t[0] === Je ? Lr(e, t[1], n) : e.g(t[0], t[1], n);
1918
1913
  }
1919
1914
  function w(e, t, n) {
1920
- throw e.N ? (n !== void 0 && t instanceof $ && (t = e.Aa(t), yn(e, t, n)), kt(e, 4, t), Wr) : n === void 0 ? t : n;
1915
+ throw e.N ? (n !== void 0 && t instanceof $ && (t = e.Aa(t), gn(e, t, n)), kt(e, 4, t), Mr) : n === void 0 ? t : n;
1921
1916
  }
1922
1917
  function kt(e, t, n, r) {
1923
1918
  if (t === 0)
@@ -1995,7 +1990,7 @@ function te(e, t) {
1995
1990
  }
1996
1991
  return "???";
1997
1992
  }
1998
- function Cr(e, t, n) {
1993
+ function Sr(e, t, n) {
1999
1994
  var r = e.o[e.o.length - 1], o = Array.from(n), i = o.shift();
2000
1995
  n = Math.max(Number(o.shift() || 0), 0);
2001
1996
  var a = e.ya();
@@ -2008,16 +2003,16 @@ function Cr(e, t, n) {
2008
2003
  } catch (m) {
2009
2004
  w(e, e.T, "Invalid code: " + m.message);
2010
2005
  }
2011
- a.type = "EvalProgram_", a.body = p.body, r = r.node.arguments[0], Vt(a, r ? r.start : void 0, r ? r.end : void 0), r = e.N, o.length = 0;
2006
+ a.type = "EvalProgram_", a.body = p.body, r = r.node.arguments[0], Nt(a, r ? r.start : void 0, r ? r.end : void 0), r = e.N, o.length = 0;
2012
2007
  }
2013
- return t = new yi(u, o, r, a, t ? n : -1), Kr(e, t, n), t.Db;
2008
+ return t = new gi(u, o, r, a, t ? n : -1), Hr(e, t, n), t.Db;
2014
2009
  }
2015
- function Kr(e, t, n) {
2010
+ function Hr(e, t, n) {
2016
2011
  t.time = Date.now() + n, e.ca.push(t), e.ca.sort(function(r, o) {
2017
2012
  return r.time - o.time;
2018
2013
  });
2019
2014
  }
2020
- function wr(e, t) {
2015
+ function Cr(e, t) {
2021
2016
  for (var n = 0; n < e.ca.length; n++)
2022
2017
  if (e.ca[n].Db == t) {
2023
2018
  e.ca.splice(n, 1);
@@ -2031,14 +2026,14 @@ function St(e, t, n) {
2031
2026
  var r = e.ya();
2032
2027
  return r.type = "CallExpression", e = new C(r, e.o[e.o.length - 1].scope), e.ia = 2, e.B = n, e.U = t, e.Qa = !0, e.F = [], e;
2033
2028
  }
2034
- function Bn(e, t, n, r) {
2029
+ function jn(e, t, n, r) {
2035
2030
  if (!e.Ka)
2036
2031
  throw Error("Unexpected call to createSetter");
2037
2032
  e.Ka = !1, n = Array.isArray(n) ? n[0] : e.Na;
2038
2033
  var o = e.ya();
2039
2034
  return o.type = "CallExpression", e = new C(o, e.o[e.o.length - 1].scope), e.ia = 2, e.B = n, e.U = t, e.Qa = !0, e.F = [r], e;
2040
2035
  }
2041
- function un(e, t) {
2036
+ function ln(e, t) {
2042
2037
  return t == null ? e.Na : t instanceof $ ? t : (e = e.s(Te(e, t)), e.data = t, e);
2043
2038
  }
2044
2039
  B.Xb = function() {
@@ -2053,7 +2048,7 @@ B.ec = function(e) {
2053
2048
  function C(e, t) {
2054
2049
  this.node = e, this.scope = t;
2055
2050
  }
2056
- function qr(e, t, n) {
2051
+ function Kr(e, t, n) {
2057
2052
  this.Va = e, this.S = t, this.object = n;
2058
2053
  }
2059
2054
  function $(e) {
@@ -2069,7 +2064,7 @@ B.toString = function() {
2069
2064
  if (!(this instanceof $))
2070
2065
  return String(this);
2071
2066
  if (this.H === "Array") {
2072
- var e = Sr;
2067
+ var e = kr;
2073
2068
  e.push(this);
2074
2069
  try {
2075
2070
  var t = [], n = this.h.length, r = !1;
@@ -2085,7 +2080,7 @@ B.toString = function() {
2085
2080
  return t.join(",");
2086
2081
  }
2087
2082
  if (this.H === "Error") {
2088
- if (e = Sr, e.indexOf(this) !== -1)
2083
+ if (e = kr, e.indexOf(this) !== -1)
2089
2084
  return "[object Error]";
2090
2085
  n = this;
2091
2086
  do
@@ -2114,10 +2109,10 @@ B.toString = function() {
2114
2109
  B.valueOf = function() {
2115
2110
  return !pt || this.data === void 0 || this.data === null || this.data instanceof RegExp ? this : this.data instanceof Date ? this.data.valueOf() : this.data;
2116
2111
  };
2117
- function yi(e, t, n, r, o) {
2118
- this.zb = e, this.Lb = t, this.scope = n, this.node = r, this.interval = o, this.Db = ++vi, this.time = 0;
2112
+ function gi(e, t, n, r, o) {
2113
+ this.zb = e, this.Lb = t, this.scope = n, this.node = r, this.interval = o, this.Db = ++yi, this.time = 0;
2119
2114
  }
2120
- var vi = 0;
2115
+ var yi = 0;
2121
2116
  g.prototype.stepArrayExpression = function(e, t, n) {
2122
2117
  n = n.elements;
2123
2118
  var r = t.A || 0;
@@ -2132,7 +2127,7 @@ g.prototype.stepAssignmentExpression = function(e, t, n) {
2132
2127
  if (!t.ja)
2133
2128
  return t.ja = !0, t = new C(n.left, t.scope), t.sa = !0, t;
2134
2129
  if (!t.Da)
2135
- return t.Fa || (t.Fa = t.value), t.Ba && (t.ma = t.value), !t.Ba && n.operator !== "=" && (e = On(this, t.Fa), t.ma = e, this.P) ? (t.Ba = !0, St(this, e, t.Fa)) : (t.Da = !0, n.operator === "=" && n.left.type === "Identifier" && (t.Pa = n.left.name), new C(n.right, t.scope));
2130
+ return t.Fa || (t.Fa = t.value), t.Ba && (t.ma = t.value), !t.Ba && n.operator !== "=" && (e = Pn(this, t.Fa), t.ma = e, this.P) ? (t.Ba = !0, St(this, e, t.Fa)) : (t.Da = !0, n.operator === "=" && n.left.type === "Identifier" && (t.Pa = n.left.name), new C(n.right, t.scope));
2136
2131
  if (t.ta)
2137
2132
  e.pop(), e[e.length - 1].value = t.ib;
2138
2133
  else {
@@ -2177,8 +2172,8 @@ g.prototype.stepAssignmentExpression = function(e, t, n) {
2177
2172
  default:
2178
2173
  throw SyntaxError("Unknown assignment expression: " + n.operator);
2179
2174
  }
2180
- if (n = jn(this, t.Fa, r))
2181
- return t.ta = !0, t.ib = r, Bn(this, n, t.Fa, r);
2175
+ if (n = On(this, t.Fa, r))
2176
+ return t.ta = !0, t.ib = r, jn(this, n, t.Fa, r);
2182
2177
  e.pop(), e[e.length - 1].value = r;
2183
2178
  }
2184
2179
  };
@@ -2248,7 +2243,7 @@ g.prototype.stepBinaryExpression = function(e, t, n) {
2248
2243
  n = r >>> t;
2249
2244
  break;
2250
2245
  case "in":
2251
- t instanceof $ || w(this, this.j, "'in' expects an object, not '" + t + "'"), n = Dt(this, t, r);
2246
+ t instanceof $ || w(this, this.j, "'in' expects an object, not '" + t + "'"), n = Vt(this, t, r);
2252
2247
  break;
2253
2248
  case "instanceof":
2254
2249
  X(this, t, this.O) || w(this, this.j, "'instanceof' expects an object, not '" + t + "'"), n = r instanceof $ ? X(this, r, t) : !1;
@@ -2278,7 +2273,7 @@ g.prototype.stepCallExpression = function(e, t, n) {
2278
2273
  t.ia = 2;
2279
2274
  var o = t.value;
2280
2275
  if (Array.isArray(o)) {
2281
- if (t.U = On(this, o), o[0] === Je ? t.Pb = o[1] === "eval" : t.B = o[0], o = t.U, this.P)
2276
+ if (t.U = Pn(this, o), o[0] === Je ? t.Pb = o[1] === "eval" : t.B = o[0], o = t.U, this.P)
2282
2277
  return t.ia = 1, St(this, o, t.value);
2283
2278
  } else
2284
2279
  t.U = o;
@@ -2302,11 +2297,11 @@ g.prototype.stepCallExpression = function(e, t, n) {
2302
2297
  e.pop(), e[e.length - 1].value = t.isConstructor && typeof t.value != "object" ? t.B : t.value;
2303
2298
  else {
2304
2299
  if (t.eb = !0, o instanceof $ || w(this, this.j, te(this, n.callee) + " is not a function"), e = o.node) {
2305
- for (n = vn(this, e.body, o.Va), r = Ge(this), o = 0; o < t.F.length; o++)
2300
+ for (n = yn(this, e.body, o.Va), r = Ge(this), o = 0; o < t.F.length; o++)
2306
2301
  this.g(r, o, t.F[o]);
2307
2302
  for (this.g(n.object, "arguments", r), o = 0; o < e.oa.length; o++)
2308
2303
  this.g(n.object, e.oa[o].name, t.F.length > o ? t.F[o] : void 0);
2309
- return n.S || (t.B = un(this, t.B)), this.g(n.object, "this", t.B, Tn), t.value = void 0, new C(e.body, n);
2304
+ return n.S || (t.B = ln(this, t.B)), this.g(n.object, "this", t.B, wn), t.value = void 0, new C(e.body, n);
2310
2305
  }
2311
2306
  if (o.eval)
2312
2307
  if (o = t.F[0], typeof o != "string")
@@ -2317,15 +2312,15 @@ g.prototype.stepCallExpression = function(e, t, n) {
2317
2312
  } catch (u) {
2318
2313
  w(this, this.T, "Invalid code: " + u.message);
2319
2314
  }
2320
- return o = this.ya(), o.type = "EvalProgram_", o.body = r.body, Vt(o, n.start, n.end), n = t.Pb ? t.scope : this.N, n.S ? n = vn(this, r, n) : yt(this, r, n), this.value = void 0, new C(o, n);
2315
+ return o = this.ya(), o.type = "EvalProgram_", o.body = r.body, Nt(o, n.start, n.end), n = t.Pb ? t.scope : this.N, n.S ? n = yn(this, r, n) : yt(this, r, n), this.value = void 0, new C(o, n);
2321
2316
  }
2322
2317
  else if (o.Ta)
2323
- t.scope.S || (t.B = un(this, t.B)), t.value = o.Ta.apply(t.B, t.F);
2318
+ t.scope.S || (t.B = ln(this, t.B)), t.value = o.Ta.apply(t.B, t.F);
2324
2319
  else if (o.Za) {
2325
2320
  var a = this;
2326
2321
  r = o.Za.length - 1, r = t.F.concat(Array(r)).slice(0, r), r.push(function(u) {
2327
2322
  t.value = u, a.za = !1;
2328
- }), this.za = !0, t.scope.S || (t.B = un(this, t.B)), o.Za.apply(t.B, r);
2323
+ }), this.za = !0, t.scope.S || (t.B = ln(this, t.B)), o.Za.apply(t.B, r);
2329
2324
  } else
2330
2325
  w(this, this.j, te(this, n.callee) + " is not callable");
2331
2326
  }
@@ -2406,8 +2401,8 @@ g.prototype.stepForInStatement = function(e, t, n) {
2406
2401
  t.pa = [Je, e.fa[0].id.name];
2407
2402
  else
2408
2403
  return t.pa = null, t = new C(e, t.scope), t.sa = !0, t;
2409
- if (t.pa || (t.pa = t.value), !t.ta && (t.ta = !0, e = t.Ra, r = jn(this, t.pa, e)))
2410
- return Bn(this, r, t.pa, e);
2404
+ if (t.pa || (t.pa = t.value), !t.ta && (t.ta = !0, e = t.Ra, r = On(this, t.pa, e)))
2405
+ return jn(this, r, t.pa, e);
2411
2406
  if (t.Ra = void 0, t.wb = !1, t.ta = !1, n.body)
2412
2407
  return new C(n.body, t.scope);
2413
2408
  };
@@ -2436,13 +2431,13 @@ g.prototype.stepFunctionDeclaration = function(e) {
2436
2431
  e.pop();
2437
2432
  };
2438
2433
  g.prototype.stepFunctionExpression = function(e, t, n) {
2439
- e.pop(), t = e[e.length - 1], e = t.scope, n.id && (e = $n(this, e)), t.value = Rn(this, n, e, t.Pa), n.id && this.g(e.object, n.id.name, t.value, Tn);
2434
+ e.pop(), t = e[e.length - 1], e = t.scope, n.id && (e = An(this, e)), t.value = xn(this, n, e, t.Pa), n.id && this.g(e.object, n.id.name, t.value, wn);
2440
2435
  };
2441
2436
  g.prototype.stepIdentifier = function(e, t, n) {
2442
2437
  if (e.pop(), t.sa)
2443
2438
  e[e.length - 1].value = [Je, n.name];
2444
2439
  else {
2445
- if (t = Pn(this, n.name), this.P)
2440
+ if (t = $n(this, n.name), this.P)
2446
2441
  return St(this, t, this.Na);
2447
2442
  e[e.length - 1].value = t;
2448
2443
  }
@@ -2452,7 +2447,7 @@ g.prototype.stepLabeledStatement = function(e, t, n) {
2452
2447
  return e.pop(), e = t.labels || [], e.push(n.label.name), t = new C(n.body, t.scope), t.labels = e, t;
2453
2448
  };
2454
2449
  g.prototype.stepLiteral = function(e, t, n) {
2455
- e.pop(), t = n.value, t instanceof RegExp && (n = this.s(this.Ma), In(this, n, t), t = n), e[e.length - 1].value = t;
2450
+ e.pop(), t = n.value, t instanceof RegExp && (n = this.s(this.Ma), En(this, n, t), t = n), e[e.length - 1].value = t;
2456
2451
  };
2457
2452
  g.prototype.stepLogicalExpression = function(e, t, n) {
2458
2453
  if (n.operator !== "&&" && n.operator !== "||")
@@ -2555,7 +2550,7 @@ g.prototype.stepSwitchStatement = function(e, t, n) {
2555
2550
  }
2556
2551
  };
2557
2552
  g.prototype.stepThisExpression = function(e) {
2558
- e.pop(), e[e.length - 1].value = Pn(this, "this");
2553
+ e.pop(), e[e.length - 1].value = $n(this, "this");
2559
2554
  };
2560
2555
  g.prototype.stepThrowStatement = function(e, t, n) {
2561
2556
  if (t.ka)
@@ -2567,7 +2562,7 @@ g.prototype.stepTryStatement = function(e, t, n) {
2567
2562
  if (!t.Rb)
2568
2563
  return t.Rb = !0, new C(n.block, t.scope);
2569
2564
  if (t.ea && t.ea.type === 4 && !t.Tb && n.Ea)
2570
- return t.Tb = !0, e = $n(this, t.scope), this.g(e.object, n.Ea.Ua.name, t.ea.value), t.ea = void 0, new C(n.Ea.body, e);
2565
+ 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);
2571
2566
  if (!t.Sb && n.fb)
2572
2567
  return t.Sb = !0, new C(n.fb, t.scope);
2573
2568
  e.pop(), t.ea && kt(this, t.ea.type, t.ea.value, t.ea.label);
@@ -2617,7 +2612,7 @@ g.prototype.stepUpdateExpression = function(e, t, n) {
2617
2612
  if (!t.ja)
2618
2613
  return t.ja = !0, e = new C(n.K, t.scope), e.sa = !0, e;
2619
2614
  if (t.Ga || (t.Ga = t.value), t.Ba && (t.ma = t.value), !t.Ba) {
2620
- var r = On(this, t.Ga);
2615
+ var r = Pn(this, t.Ga);
2621
2616
  if (t.ma = r, this.P)
2622
2617
  return t.Ba = !0, St(this, r, t.Ga);
2623
2618
  }
@@ -2630,15 +2625,15 @@ g.prototype.stepUpdateExpression = function(e, t, n) {
2630
2625
  o = r - 1;
2631
2626
  else
2632
2627
  throw SyntaxError("Unknown update expression: " + n.operator);
2633
- if (n = n.prefix ? o : r, r = jn(this, t.Ga, o))
2634
- return t.ta = !0, t.ib = n, Bn(this, r, t.Ga, o);
2628
+ if (n = n.prefix ? o : r, r = On(this, t.Ga, o))
2629
+ return t.ta = !0, t.ib = n, jn(this, r, t.Ga, o);
2635
2630
  e.pop(), e[e.length - 1].value = n;
2636
2631
  }
2637
2632
  };
2638
2633
  g.prototype.stepVariableDeclaration = function(e, t, n) {
2639
2634
  n = n.fa;
2640
2635
  var r = t.A || 0, o = n[r];
2641
- for (t.Bb && o && (Hr(this, o.id.name, t.value), t.Bb = !1, o = n[++r]); o; ) {
2636
+ for (t.Bb && o && (Lr(this, o.id.name, t.value), t.Bb = !1, o = n[++r]); o; ) {
2642
2637
  if (o.ua)
2643
2638
  return t.A = r, t.Bb = !0, t.Pa = o.id.name, new C(o.ua, t.scope);
2644
2639
  o = n[++r];
@@ -2646,7 +2641,7 @@ g.prototype.stepVariableDeclaration = function(e, t, n) {
2646
2641
  e.pop();
2647
2642
  };
2648
2643
  g.prototype.stepWithStatement = function(e, t, n) {
2649
- return t.Ca ? (e.pop(), e = $n(this, t.scope, t.value), new C(n.body, e)) : (t.Ca = !0, new C(n.object, t.scope));
2644
+ 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));
2650
2645
  };
2651
2646
  g.prototype.stepWhileStatement = g.prototype.stepDoWhileStatement;
2652
2647
  je.Interpreter = g;
@@ -2665,7 +2660,7 @@ g.prototype.getGlobalScope = g.prototype.Xb;
2665
2660
  g.prototype.getStateStack = g.prototype.Yb;
2666
2661
  g.prototype.setStateStack = g.prototype.ec;
2667
2662
  g.VALUE_IN_DESCRIPTOR = gt;
2668
- const bi = (e) => e.split(`
2663
+ const vi = (e) => e.split(`
2669
2664
  `).map((t) => {
2670
2665
  const n = t.trim();
2671
2666
  if (t.includes("__awaiter"))
@@ -2678,7 +2673,7 @@ const bi = (e) => e.split(`
2678
2673
  ${u}
2679
2674
  `;
2680
2675
  }).filter(Boolean).join(`
2681
- `), Tr = (e) => e + "JSON", ki = ({
2676
+ `), wr = (e) => e + "JSON", bi = ({
2682
2677
  builder: e,
2683
2678
  context: t,
2684
2679
  event: n,
@@ -2690,16 +2685,16 @@ const bi = (e) => e.split(`
2690
2685
  const u = {
2691
2686
  ...r,
2692
2687
  ...o
2693
- }, p = Fr({
2688
+ }, p = Ur({
2694
2689
  builder: e,
2695
2690
  context: t,
2696
2691
  event: n,
2697
2692
  state: u
2698
- }), m = p.map(([Y]) => {
2699
- const N = Tr(Y);
2700
- return `var ${Y} = ${N} === undefined ? undefined : JSON.parse(${N});`;
2693
+ }), m = p.map(([_]) => {
2694
+ const N = wr(_);
2695
+ return `var ${_} = ${N} === undefined ? undefined : JSON.parse(${N});`;
2701
2696
  }).join(`
2702
- `), v = bi(a);
2697
+ `), v = vi(a);
2703
2698
  if (v === "") {
2704
2699
  se.warn("Skipping evaluation of empty code block.");
2705
2700
  return;
@@ -2711,28 +2706,28 @@ function theFunction() {
2711
2706
  ${v}
2712
2707
  }
2713
2708
  theFunction();
2714
- `, S = (Y, N) => {
2715
- const R = wn(u, Y, N);
2709
+ `, S = (_, N) => {
2710
+ const R = Cn(u, _, N);
2716
2711
  i == null || i(R);
2717
- }, P = function(Y, N) {
2712
+ }, P = function(_, N) {
2718
2713
  p.forEach(([R, xe]) => {
2719
2714
  const re = JSON.stringify(xe);
2720
- Y.setProperty(N, Tr(R), re);
2721
- }), Y.setProperty(N, "setRootState", Y.createNativeFunction(S));
2715
+ _.setProperty(N, wr(R), re);
2716
+ }), _.setProperty(N, "setRootState", _.createNativeFunction(S));
2722
2717
  }, O = new g(h, P);
2723
2718
  return O.run(), O.pseudoToNative(O.value);
2724
2719
  }, Be = (e) => e != null;
2725
- function Si() {
2720
+ function ki() {
2726
2721
  var e;
2727
2722
  return typeof process < "u" && Be((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
2728
2723
  }
2729
- const Ci = () => {
2724
+ const Si = () => {
2730
2725
  var r;
2731
- if (!Si())
2726
+ if (!ki())
2732
2727
  return !1;
2733
2728
  const e = process.arch === "arm64", t = process.version.startsWith("v20"), n = (r = process.env.NODE_OPTIONS) == null ? void 0 : r.includes("--no-node-snapshot");
2734
2729
  return e && t && !n ? (se.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
- }, wi = (e) => _() || Ci() ? ni(e) : ki(e), Ti = !0, Se = class Se {
2730
+ }, Ci = (e) => Y() || Si() ? ti(e) : bi(e), wi = !0, Se = class Se {
2736
2731
  static getCacheKey(t) {
2737
2732
  return JSON.stringify({
2738
2733
  ...t,
@@ -2750,7 +2745,7 @@ const Ci = () => {
2750
2745
  });
2751
2746
  }
2752
2747
  };
2753
- ln(Se, "cacheLimit", 20), ln(Se, "cache", /* @__PURE__ */ new Map());
2748
+ an(Se, "cacheLimit", 20), an(Se, "cache", /* @__PURE__ */ new Map());
2754
2749
  let qe = Se;
2755
2750
  function vt({
2756
2751
  code: e,
@@ -2765,23 +2760,23 @@ function vt({
2765
2760
  if (e === "")
2766
2761
  return;
2767
2762
  const p = {
2768
- code: ti(e, {
2763
+ code: ei(e, {
2769
2764
  isExpression: a
2770
2765
  }),
2771
- builder: ei(),
2766
+ builder: Qo(),
2772
2767
  context: t,
2773
2768
  event: i,
2774
2769
  rootSetState: o,
2775
2770
  rootState: r,
2776
2771
  localState: n
2777
2772
  };
2778
- if (u && !Ti) {
2773
+ if (u && !wi) {
2779
2774
  const m = qe.getCacheKey(p), v = qe.getCachedValue(m);
2780
2775
  if (v)
2781
2776
  return v.value;
2782
2777
  }
2783
2778
  try {
2784
- const m = wi(p);
2779
+ const m = Ci(p);
2785
2780
  if (u) {
2786
2781
  const v = qe.getCacheKey(p);
2787
2782
  qe.setCachedValue(v, m);
@@ -2794,22 +2789,22 @@ function vt({
2794
2789
  return;
2795
2790
  }
2796
2791
  }
2797
- const Nn = (e) => JSON.parse(JSON.stringify(e));
2798
- function bn(e) {
2792
+ const Bn = (e) => JSON.parse(JSON.stringify(e));
2793
+ function vn(e) {
2799
2794
  if (e === null || typeof e != "object")
2800
2795
  return e;
2801
2796
  if (Array.isArray(e))
2802
- return e.map((n) => bn(n));
2797
+ return e.map((n) => vn(n));
2803
2798
  if (e["@type"] === "@builder.io/sdk:Element")
2804
2799
  return e;
2805
2800
  const t = {};
2806
2801
  for (const n in e)
2807
- n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = bn(e[n]));
2802
+ n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = vn(e[n]));
2808
2803
  return t;
2809
2804
  }
2810
- const Ei = ["svelte", "vue", "angular", "qwik", "solid"].includes(ue), Ii = (e) => {
2811
- if (Ei) {
2812
- const t = Nn(e);
2805
+ const Ti = ["svelte", "vue", "angular", "qwik", "solid"].includes(ue), Ei = (e) => {
2806
+ if (Ti) {
2807
+ const t = Bn(e);
2813
2808
  return {
2814
2809
  ...t,
2815
2810
  properties: {
@@ -2820,7 +2815,7 @@ const Ei = ["svelte", "vue", "angular", "qwik", "solid"].includes(ue), Ii = (e)
2820
2815
  }
2821
2816
  };
2822
2817
  } else {
2823
- const t = bn(Xo(e, "children", "meta"));
2818
+ const t = vn(Jo(e, "children", "meta"));
2824
2819
  return {
2825
2820
  ...t,
2826
2821
  properties: {
@@ -2833,7 +2828,7 @@ const Ei = ["svelte", "vue", "angular", "qwik", "solid"].includes(ue), Ii = (e)
2833
2828
  meta: e.meta
2834
2829
  };
2835
2830
  }
2836
- }, xi = ({
2831
+ }, Ii = ({
2837
2832
  block: e,
2838
2833
  context: t,
2839
2834
  localState: n,
@@ -2842,7 +2837,7 @@ const Ei = ["svelte", "vue", "angular", "qwik", "solid"].includes(ue), Ii = (e)
2842
2837
  }) => {
2843
2838
  if (!e.bindings)
2844
2839
  return e;
2845
- const i = Ii(e);
2840
+ const i = Ei(e);
2846
2841
  for (const a in e.bindings) {
2847
2842
  const u = e.bindings[a], p = vt({
2848
2843
  code: u,
@@ -2852,11 +2847,11 @@ const Ei = ["svelte", "vue", "angular", "qwik", "solid"].includes(ue), Ii = (e)
2852
2847
  context: t,
2853
2848
  enableCache: !0
2854
2849
  });
2855
- wn(i, a, p);
2850
+ Cn(i, a, p);
2856
2851
  }
2857
2852
  return i;
2858
2853
  };
2859
- function Ri({
2854
+ function xi({
2860
2855
  block: e,
2861
2856
  context: t,
2862
2857
  shouldEvaluateBindings: n,
@@ -2865,7 +2860,7 @@ function Ri({
2865
2860
  rootSetState: i
2866
2861
  }) {
2867
2862
  const a = e;
2868
- return n ? xi({
2863
+ return n ? Ii({
2869
2864
  block: a,
2870
2865
  localState: r,
2871
2866
  rootState: o,
@@ -2873,25 +2868,25 @@ function Ri({
2873
2868
  context: t
2874
2869
  }) : a;
2875
2870
  }
2876
- function Ai(e) {
2877
- const t = e || (_() ? window.location.search : void 0);
2878
- return t ? Dr(t).indexOf("builder.preview=") !== -1 : !1;
2871
+ function Ri(e) {
2872
+ const t = e || (Y() ? window.location.search : void 0);
2873
+ return t ? Vr(t).indexOf("builder.preview=") !== -1 : !1;
2879
2874
  }
2880
- const $i = (e) => ({
2875
+ const Ai = (e) => ({
2881
2876
  type: "builder.registerComponent",
2882
- data: Bt(e)
2883
- }), Pi = (e) => {
2877
+ data: jt(e)
2878
+ }), $i = (e) => {
2884
2879
  const t = e.toString().trim();
2885
2880
  return `return (${!t.startsWith("function") && !t.startsWith("(") ? "function " : ""}${t}).apply(this, arguments)`;
2886
2881
  };
2887
- function Bt(e) {
2888
- return JSON.parse(JSON.stringify(e, (t, n) => typeof n == "function" ? Pi(n) : n));
2889
- }
2890
- const Er = {};
2891
- function Oi(e, t) {
2892
- e === "plugin" && (t = Bt(t));
2893
- let n = Er[e];
2894
- if (n || (n = Er[e] = []), n.push(t), _()) {
2882
+ function jt(e) {
2883
+ return JSON.parse(JSON.stringify(e, (t, n) => typeof n == "function" ? $i(n) : n));
2884
+ }
2885
+ const Tr = {};
2886
+ function Pi(e, t) {
2887
+ e === "plugin" && (t = jt(t));
2888
+ let n = Tr[e];
2889
+ if (n || (n = Tr[e] = []), n.push(t), Y()) {
2895
2890
  const r = {
2896
2891
  type: "builder.register",
2897
2892
  data: {
@@ -2906,38 +2901,38 @@ function Oi(e, t) {
2906
2901
  }
2907
2902
  }
2908
2903
  }
2909
- const Ir = {};
2904
+ const Er = {};
2910
2905
  function vu(e) {
2911
- if (_()) {
2912
- Object.assign(Ir, e);
2906
+ if (Y()) {
2907
+ Object.assign(Er, e);
2913
2908
  const t = {
2914
2909
  type: "builder.settingsChange",
2915
- data: Ir
2910
+ data: Er
2916
2911
  };
2917
2912
  parent.postMessage(t, "*");
2918
2913
  }
2919
2914
  }
2920
- const xr = "builder.", ji = "options.", zr = (e) => {
2915
+ const Ir = "builder.", Oi = "options.", qr = (e) => {
2921
2916
  if (!e)
2922
2917
  return {};
2923
- const t = Vr(e), n = {};
2918
+ const t = Nr(e), n = {};
2924
2919
  return Object.keys(t).forEach((r) => {
2925
- if (r.startsWith(xr)) {
2926
- const o = r.replace(xr, "").replace(ji, "");
2920
+ if (r.startsWith(Ir)) {
2921
+ const o = r.replace(Ir, "").replace(Oi, "");
2927
2922
  n[o] = t[r];
2928
2923
  }
2929
2924
  }), n;
2930
- }, Bi = () => {
2931
- if (!_())
2925
+ }, ji = () => {
2926
+ if (!Y())
2932
2927
  return {};
2933
2928
  const e = new URLSearchParams(window.location.search);
2934
- return zr(e);
2935
- }, Ni = (e) => {
2929
+ return qr(e);
2930
+ }, Bi = (e) => {
2936
2931
  if (e === "localhost" || e === "127.0.0.1")
2937
2932
  return e;
2938
2933
  const t = e.split(".");
2939
2934
  return t.length > 2 ? t.slice(1).join(".") : e;
2940
- }, Gr = ({
2935
+ }, zr = ({
2941
2936
  name: e,
2942
2937
  canTrack: t
2943
2938
  }) => {
@@ -2948,14 +2943,14 @@ const xr = "builder.", ji = "options.", zr = (e) => {
2948
2943
  se.warn("[COOKIE] GET error: ", (r == null ? void 0 : r.message) || r);
2949
2944
  return;
2950
2945
  }
2951
- }, Jr = async (e) => Gr(e), Vi = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(Be).join("; "), Di = [["secure", ""], ["SameSite", "None"]], Ui = ({
2946
+ }, Gr = async (e) => zr(e), Ni = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(Be).join("; "), Vi = [["secure", ""], ["SameSite", "None"]], Di = ({
2952
2947
  name: e,
2953
2948
  value: t,
2954
2949
  expires: n
2955
2950
  }) => {
2956
- const o = (_() ? location.protocol === "https:" : !0) ? Di : [[]], i = n ? [["expires", n.toUTCString()]] : [[]], a = [[e, t], ...i, ["path", "/"], ["domain", Ni(window.location.hostname)], ...o];
2957
- return Vi(a);
2958
- }, Xr = async ({
2951
+ const o = (Y() ? location.protocol === "https:" : !0) ? Vi : [[]], i = n ? [["expires", n.toUTCString()]] : [[]], a = [[e, t], ...i, ["path", "/"], ["domain", Bi(window.location.hostname)], ...o];
2952
+ return Ni(a);
2953
+ }, Jr = async ({
2959
2954
  name: e,
2960
2955
  value: t,
2961
2956
  expires: n,
@@ -2964,7 +2959,7 @@ const xr = "builder.", ji = "options.", zr = (e) => {
2964
2959
  try {
2965
2960
  if (!r)
2966
2961
  return;
2967
- const o = Ui({
2962
+ const o = Di({
2968
2963
  name: e,
2969
2964
  value: t,
2970
2965
  expires: n
@@ -2974,88 +2969,88 @@ const xr = "builder.", ji = "options.", zr = (e) => {
2974
2969
  se.warn("[COOKIE] SET error: ", (o == null ? void 0 : o.message) || o);
2975
2970
  }
2976
2971
  };
2977
- function Fi() {
2972
+ function Ui() {
2978
2973
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
2979
2974
  const t = Math.random() * 16 | 0;
2980
2975
  return (e == "x" ? t : t & 3 | 8).toString(16);
2981
2976
  });
2982
2977
  }
2983
- function _r() {
2984
- return Fi().replace(/-/g, "");
2978
+ function Xr() {
2979
+ return Ui().replace(/-/g, "");
2985
2980
  }
2986
- const Yr = "builderSessionId", Mi = async ({
2981
+ const Yr = "builderSessionId", Fi = async ({
2987
2982
  canTrack: e
2988
2983
  }) => {
2989
2984
  if (!e)
2990
2985
  return;
2991
- const t = await Jr({
2986
+ const t = await Gr({
2992
2987
  name: Yr,
2993
2988
  canTrack: e
2994
2989
  });
2995
2990
  if (Be(t))
2996
2991
  return t;
2997
2992
  {
2998
- const n = Wi();
2999
- return Li({
2993
+ const n = Mi();
2994
+ return Wi({
3000
2995
  id: n,
3001
2996
  canTrack: e
3002
2997
  }), n;
3003
2998
  }
3004
- }, Wi = () => _r(), Li = ({
2999
+ }, Mi = () => Xr(), Wi = ({
3005
3000
  id: e,
3006
3001
  canTrack: t
3007
- }) => Xr({
3002
+ }) => Jr({
3008
3003
  name: Yr,
3009
3004
  value: e,
3010
3005
  canTrack: t
3011
- }), Zr = () => _() && typeof localStorage < "u" ? localStorage : void 0, Hi = ({
3006
+ }), _r = () => Y() && typeof localStorage < "u" ? localStorage : void 0, Li = ({
3012
3007
  key: e,
3013
3008
  canTrack: t
3014
3009
  }) => {
3015
3010
  var n;
3016
3011
  try {
3017
- return t ? (n = Zr()) == null ? void 0 : n.getItem(e) : void 0;
3012
+ return t ? (n = _r()) == null ? void 0 : n.getItem(e) : void 0;
3018
3013
  } catch (r) {
3019
3014
  console.debug("[LocalStorage] GET error: ", r);
3020
3015
  return;
3021
3016
  }
3022
- }, Ki = ({
3017
+ }, Hi = ({
3023
3018
  key: e,
3024
3019
  canTrack: t,
3025
3020
  value: n
3026
3021
  }) => {
3027
3022
  var r;
3028
3023
  try {
3029
- t && ((r = Zr()) == null || r.setItem(e, n));
3024
+ t && ((r = _r()) == null || r.setItem(e, n));
3030
3025
  } catch (o) {
3031
3026
  console.debug("[LocalStorage] SET error: ", o);
3032
3027
  }
3033
- }, Qr = "builderVisitorId", qi = ({
3028
+ }, Zr = "builderVisitorId", Ki = ({
3034
3029
  canTrack: e
3035
3030
  }) => {
3036
3031
  if (!e)
3037
3032
  return;
3038
- const t = Hi({
3039
- key: Qr,
3033
+ const t = Li({
3034
+ key: Zr,
3040
3035
  canTrack: e
3041
3036
  });
3042
3037
  if (Be(t))
3043
3038
  return t;
3044
3039
  {
3045
- const n = zi();
3046
- return Gi({
3040
+ const n = qi();
3041
+ return zi({
3047
3042
  id: n,
3048
3043
  canTrack: e
3049
3044
  }), n;
3050
3045
  }
3051
- }, zi = () => _r(), Gi = ({
3046
+ }, qi = () => Xr(), zi = ({
3052
3047
  id: e,
3053
3048
  canTrack: t
3054
- }) => Ki({
3055
- key: Qr,
3049
+ }) => Hi({
3050
+ key: Zr,
3056
3051
  value: e,
3057
3052
  canTrack: t
3058
- }), Ji = async ({
3053
+ }), Gi = async ({
3059
3054
  canTrack: e
3060
3055
  }) => {
3061
3056
  if (!e)
@@ -3063,16 +3058,16 @@ const Yr = "builderSessionId", Mi = async ({
3063
3058
  visitorId: void 0,
3064
3059
  sessionId: void 0
3065
3060
  };
3066
- const t = await Mi({
3061
+ const t = await Fi({
3067
3062
  canTrack: e
3068
- }), n = qi({
3063
+ }), n = Ki({
3069
3064
  canTrack: e
3070
3065
  });
3071
3066
  return {
3072
3067
  sessionId: t,
3073
3068
  visitorId: n
3074
3069
  };
3075
- }, Xi = async ({
3070
+ }, Ji = async ({
3076
3071
  type: e,
3077
3072
  canTrack: t,
3078
3073
  apiKey: n,
@@ -3086,23 +3081,23 @@ const Yr = "builderSessionId", Mi = async ({
3086
3081
  url: location.href,
3087
3082
  ...r
3088
3083
  },
3089
- ...await Ji({
3084
+ ...await Gi({
3090
3085
  canTrack: t
3091
3086
  }),
3092
- userAttributes: Ur(),
3087
+ userAttributes: Dr(),
3093
3088
  ownerId: n
3094
3089
  }
3095
3090
  });
3096
- async function kn(e) {
3091
+ async function bn(e) {
3097
3092
  if (!e.apiKey) {
3098
3093
  se.error("Missing API key for track call. Please provide your API key.");
3099
3094
  return;
3100
3095
  }
3101
- if (e.canTrack && !le() && (_() || ue === "reactNative"))
3096
+ if (e.canTrack && !le() && (Y() || ue === "reactNative"))
3102
3097
  return fetch("https://cdn.builder.io/api/v1/track", {
3103
3098
  method: "POST",
3104
3099
  body: JSON.stringify({
3105
- events: [await Xi(e)]
3100
+ events: [await Ji(e)]
3106
3101
  }),
3107
3102
  headers: {
3108
3103
  "content-type": "application/json"
@@ -3112,18 +3107,18 @@ async function kn(e) {
3112
3107
  console.error("Failed to track: ", t);
3113
3108
  });
3114
3109
  }
3115
- const bu = (e) => kn({
3110
+ const bu = (e) => bn({
3116
3111
  ...e,
3117
3112
  canTrack: !0
3118
- }), _i = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
3119
- function eo(e, t) {
3113
+ }), Xi = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
3114
+ function Qr(e, t) {
3120
3115
  if (!t.origin.startsWith("http") && !t.origin.startsWith("https"))
3121
3116
  return !1;
3122
3117
  const n = new URL(t.origin), r = n.hostname;
3123
- return (e || _i).findIndex((o) => o.startsWith("*.") ? r.endsWith(o.slice(1)) : o === r) > -1;
3118
+ return (e || Xi).findIndex((o) => o.startsWith("*.") ? r.endsWith(o.slice(1)) : o === r) > -1;
3124
3119
  }
3125
- const Yi = "2.0.13", Zi = () => {
3126
- Oi("insertMenu", {
3120
+ const Yi = "2.0.13", _i = () => {
3121
+ Pi("insertMenu", {
3127
3122
  name: "_default",
3128
3123
  default: !0,
3129
3124
  items: [{
@@ -3145,10 +3140,10 @@ const Yi = "2.0.13", Zi = () => {
3145
3140
  }]
3146
3141
  });
3147
3142
  };
3148
- let Rr = !1;
3149
- const to = (e = {}) => {
3143
+ let xr = !1;
3144
+ const eo = (e = {}) => {
3150
3145
  var t, n;
3151
- Rr || (Rr = !0, _() && ((t = window.parent) == null || t.postMessage({
3146
+ xr || (xr = !0, Y() && ((t = window.parent) == null || t.postMessage({
3152
3147
  type: "builder.sdkInfo",
3153
3148
  data: {
3154
3149
  target: ue,
@@ -3166,7 +3161,7 @@ const to = (e = {}) => {
3166
3161
  }
3167
3162
  }, "*"), window.addEventListener("message", (r) => {
3168
3163
  var i, a;
3169
- if (!eo(e.trustedHosts, r))
3164
+ if (!Qr(e.trustedHosts, r))
3170
3165
  return;
3171
3166
  const {
3172
3167
  data: o
@@ -3207,12 +3202,12 @@ const to = (e = {}) => {
3207
3202
  }
3208
3203
  }
3209
3204
  })));
3210
- }, no = ({
3205
+ }, to = ({
3211
3206
  model: e,
3212
3207
  trustedHosts: t,
3213
3208
  callbacks: n
3214
3209
  }) => (r) => {
3215
- if (!eo(t, r))
3210
+ if (!Qr(t, r))
3216
3211
  return;
3217
3212
  const {
3218
3213
  data: o
@@ -3234,11 +3229,11 @@ const to = (e = {}) => {
3234
3229
  }
3235
3230
  }
3236
3231
  }, ku = (e, t, n) => {
3237
- if (!_)
3232
+ if (!Y)
3238
3233
  return se.warn("`subscribeToEditor` only works in the browser. It currently seems to be running on the server."), () => {
3239
3234
  };
3240
- to();
3241
- const r = no({
3235
+ eo();
3236
+ const r = to({
3242
3237
  callbacks: {
3243
3238
  contentUpdate: t,
3244
3239
  animation: () => {
@@ -3252,24 +3247,24 @@ const to = (e = {}) => {
3252
3247
  return window.addEventListener("message", r), () => {
3253
3248
  window.removeEventListener("message", r);
3254
3249
  };
3255
- }, Qi = "builder.tests", Vn = (e) => `${Qi}.${e}`, es = ({
3250
+ }, Zi = "builder.tests", Nn = (e) => `${Zi}.${e}`, Qi = ({
3256
3251
  contentId: e
3257
- }) => Jr({
3258
- name: Vn(e),
3252
+ }) => Gr({
3253
+ name: Nn(e),
3259
3254
  canTrack: !0
3260
- }), ts = ({
3255
+ }), es = ({
3261
3256
  contentId: e
3262
- }) => Gr({
3263
- name: Vn(e),
3257
+ }) => zr({
3258
+ name: Nn(e),
3264
3259
  canTrack: !0
3265
- }), ns = ({
3260
+ }), ts = ({
3266
3261
  contentId: e,
3267
3262
  value: t
3268
- }) => Xr({
3269
- name: Vn(e),
3263
+ }) => Jr({
3264
+ name: Nn(e),
3270
3265
  value: t,
3271
3266
  canTrack: !0
3272
- }), ro = (e) => Be(e.id) && Be(e.variations) && Object.keys(e.variations).length > 0, rs = ({
3267
+ }), no = (e) => Be(e.id) && Be(e.variations) && Object.keys(e.variations).length > 0, ns = ({
3273
3268
  id: e,
3274
3269
  variations: t
3275
3270
  }) => {
@@ -3282,15 +3277,15 @@ const to = (e = {}) => {
3282
3277
  return i;
3283
3278
  }
3284
3279
  return e;
3285
- }, oo = (e) => {
3286
- const t = rs(e);
3287
- return ns({
3280
+ }, ro = (e) => {
3281
+ const t = ns(e);
3282
+ return ts({
3288
3283
  contentId: e.id,
3289
3284
  value: t
3290
3285
  }).catch((n) => {
3291
3286
  se.error("could not store A/B test variation: ", n);
3292
3287
  }), t;
3293
- }, io = ({
3288
+ }, oo = ({
3294
3289
  item: e,
3295
3290
  testGroupId: t
3296
3291
  }) => {
@@ -3304,7 +3299,7 @@ const to = (e = {}) => {
3304
3299
  testVariationId: n.id,
3305
3300
  testVariationName: n.name || (n.id === e.id ? "Default" : "")
3306
3301
  };
3307
- }, os = ({
3302
+ }, rs = ({
3308
3303
  item: e,
3309
3304
  canTrack: t
3310
3305
  }) => {
@@ -3312,14 +3307,14 @@ const to = (e = {}) => {
3312
3307
  return e;
3313
3308
  if (!e)
3314
3309
  return;
3315
- if (!ro(e))
3310
+ if (!no(e))
3316
3311
  return e;
3317
- const n = ts({
3312
+ const n = es({
3318
3313
  contentId: e.id
3319
- }) || oo({
3314
+ }) || ro({
3320
3315
  variations: e.variations,
3321
3316
  id: e.id
3322
- }), r = io({
3317
+ }), r = oo({
3323
3318
  item: e,
3324
3319
  testGroupId: n
3325
3320
  });
@@ -3327,18 +3322,18 @@ const to = (e = {}) => {
3327
3322
  ...e,
3328
3323
  ...r
3329
3324
  };
3330
- }, is = async ({
3325
+ }, os = async ({
3331
3326
  item: e,
3332
3327
  canTrack: t
3333
3328
  }) => {
3334
- if (!t || !ro(e))
3329
+ if (!t || !no(e))
3335
3330
  return e;
3336
- const r = await es({
3331
+ const r = await Qi({
3337
3332
  contentId: e.id
3338
- }) || oo({
3333
+ }) || ro({
3339
3334
  variations: e.variations,
3340
3335
  id: e.id
3341
- }), o = io({
3336
+ }), o = oo({
3342
3337
  item: e,
3343
3338
  testGroupId: r
3344
3339
  });
@@ -3347,37 +3342,37 @@ const to = (e = {}) => {
3347
3342
  ...o
3348
3343
  };
3349
3344
  }, bt = (e) => Be(e) ? e : !0;
3350
- function ss() {
3345
+ function is() {
3351
3346
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : globalThis;
3352
3347
  }
3353
- function as() {
3354
- const e = ss().fetch;
3348
+ function ss() {
3349
+ const e = is().fetch;
3355
3350
  if (typeof e > "u")
3356
3351
  throw console.warn(`Builder SDK could not find a global fetch function. Make sure you have a polyfill for fetch in your project.
3357
3352
  For more information, read https://github.com/BuilderIO/this-package-uses-fetch`), new Error("Builder SDK could not find a global `fetch` function");
3358
3353
  return e;
3359
3354
  }
3360
- const so = as();
3361
- function Sn(e, t = null, n = ".") {
3355
+ const io = ss();
3356
+ function kn(e, t = null, n = ".") {
3362
3357
  return Object.keys(e).reduce((r, o) => {
3363
3358
  const i = e[o], a = [t, o].filter(Boolean).join(n);
3364
3359
  return [typeof i == "object", i !== null, !(Array.isArray(i) && i.length === 0)].every(Boolean) ? {
3365
3360
  ...r,
3366
- ...Sn(i, a, n)
3361
+ ...kn(i, a, n)
3367
3362
  } : {
3368
3363
  ...r,
3369
3364
  [a]: i
3370
3365
  };
3371
3366
  }, {});
3372
3367
  }
3373
- function ao(e, t, n = {}) {
3368
+ function so(e, t, n = {}) {
3374
3369
  for (const r in e) {
3375
3370
  const o = e[r], i = t ? t + "." + r : r;
3376
- o && typeof o == "object" && !Array.isArray(o) && !Object.keys(o).find((a) => a.startsWith("$")) ? ao(o, i, n) : n[i] = o;
3371
+ o && typeof o == "object" && !Array.isArray(o) && !Object.keys(o).find((a) => a.startsWith("$")) ? so(o, i, n) : n[i] = o;
3377
3372
  }
3378
3373
  return n;
3379
3374
  }
3380
- const ls = "v3", Ar = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Dn = (e) => {
3375
+ const as = "v3", Rr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Vn = (e) => {
3381
3376
  const {
3382
3377
  limit: t = 30,
3383
3378
  userAttributes: n,
@@ -3386,7 +3381,7 @@ const ls = "v3", Ar = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Dn = (
3386
3381
  apiKey: i,
3387
3382
  enrich: a,
3388
3383
  locale: u,
3389
- apiVersion: p = ls,
3384
+ apiVersion: p = as,
3390
3385
  fields: m,
3391
3386
  omit: v,
3392
3387
  offset: h,
@@ -3399,47 +3394,47 @@ const ls = "v3", Ar = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Dn = (
3399
3394
  throw new Error("Missing API key");
3400
3395
  if (!["v3"].includes(p))
3401
3396
  throw new Error(`Invalid apiVersion: expected 'v3', received '${p}'`);
3402
- const Y = t !== 1, N = new URL(`https://cdn.builder.io/api/${p}/content/${o}`);
3403
- if (N.searchParams.set("apiKey", i), N.searchParams.set("limit", String(t)), N.searchParams.set("noTraverse", String(Y)), N.searchParams.set("includeRefs", String(!0)), u && N.searchParams.set("locale", u), a && N.searchParams.set("enrich", String(a)), N.searchParams.set("omit", v || "meta.componentsUsed"), m && N.searchParams.set("fields", m), Number.isFinite(h) && h > -1 && N.searchParams.set("offset", String(Math.floor(h))), typeof Q == "boolean" && N.searchParams.set("includeUnpublished", String(Q)), S && Ar(S) && N.searchParams.set("cacheSeconds", String(S)), P && Ar(P) && N.searchParams.set("staleCacheSeconds", String(P)), O) {
3404
- const re = Sn({
3397
+ const _ = t !== 1, N = new URL(`https://cdn.builder.io/api/${p}/content/${o}`);
3398
+ if (N.searchParams.set("apiKey", i), N.searchParams.set("limit", String(t)), N.searchParams.set("noTraverse", String(_)), N.searchParams.set("includeRefs", String(!0)), u && N.searchParams.set("locale", u), a && N.searchParams.set("enrich", String(a)), N.searchParams.set("omit", v || "meta.componentsUsed"), m && N.searchParams.set("fields", m), Number.isFinite(h) && h > -1 && N.searchParams.set("offset", String(Math.floor(h))), typeof Q == "boolean" && N.searchParams.set("includeUnpublished", String(Q)), S && Rr(S) && N.searchParams.set("cacheSeconds", String(S)), P && Rr(P) && N.searchParams.set("staleCacheSeconds", String(P)), O) {
3399
+ const re = kn({
3405
3400
  sort: O
3406
3401
  });
3407
3402
  for (const Re in re)
3408
3403
  N.searchParams.set(Re, JSON.stringify(re[Re]));
3409
3404
  }
3410
3405
  const R = {
3411
- ...Bi(),
3412
- ...Vr(e.options || {})
3413
- }, xe = Sn(R);
3406
+ ...ji(),
3407
+ ...Nr(e.options || {})
3408
+ }, xe = kn(R);
3414
3409
  for (const re in xe)
3415
3410
  N.searchParams.set(re, String(xe[re]));
3416
3411
  if (n && N.searchParams.set("userAttributes", JSON.stringify(n)), r) {
3417
- const re = ao({
3412
+ const re = so({
3418
3413
  query: r
3419
3414
  });
3420
3415
  for (const Re in re)
3421
3416
  N.searchParams.set(Re, JSON.stringify(re[Re]));
3422
3417
  }
3423
3418
  return N;
3424
- }, us = (e) => "results" in e;
3425
- async function Un(e) {
3426
- const t = await ds({
3419
+ }, ls = (e) => "results" in e;
3420
+ async function Dn(e) {
3421
+ const t = await ps({
3427
3422
  ...e,
3428
3423
  limit: 1
3429
3424
  });
3430
3425
  return t && t[0] || null;
3431
3426
  }
3432
- const cs = async (e) => {
3433
- const t = Dn(e);
3434
- return await (await (e.fetch ?? so)(t.href, e.fetchOptions)).json();
3435
- }, ps = async (e, t, n = Dn(e)) => {
3427
+ const us = async (e) => {
3428
+ const t = Vn(e);
3429
+ return await (await (e.fetch ?? io)(t.href, e.fetchOptions)).json();
3430
+ }, cs = async (e, t, n = Vn(e)) => {
3436
3431
  const r = bt(e.canTrack);
3437
- if (n.search.includes("preview="), !r || !(_() || ue === "reactNative"))
3432
+ if (n.search.includes("preview="), !r || !(Y() || ue === "reactNative"))
3438
3433
  return t.results;
3439
3434
  try {
3440
3435
  const o = [];
3441
3436
  for (const i of t.results)
3442
- o.push(await is({
3437
+ o.push(await os({
3443
3438
  item: i,
3444
3439
  canTrack: r
3445
3440
  }));
@@ -3449,10 +3444,10 @@ const cs = async (e) => {
3449
3444
  }
3450
3445
  return t.results;
3451
3446
  };
3452
- async function ds(e) {
3447
+ async function ps(e) {
3453
3448
  try {
3454
- const t = Dn(e), n = await cs(e);
3455
- return us(n) ? ps(e, n) : (se.error("Error fetching data. ", {
3449
+ const t = Vn(e), n = await us(e);
3450
+ return ls(n) ? cs(e, n) : (se.error("Error fetching data. ", {
3456
3451
  url: t,
3457
3452
  content: n,
3458
3453
  options: e
@@ -3473,15 +3468,15 @@ const Su = async (e) => {
3473
3468
  urlPath: t
3474
3469
  } : {}
3475
3470
  },
3476
- options: zr(e.searchParams || ((i = e.url) == null ? void 0 : i.searchParams) || e.options)
3471
+ options: qr(e.searchParams || ((i = e.url) == null ? void 0 : i.searchParams) || e.options)
3477
3472
  };
3478
3473
  return {
3479
3474
  apiKey: n.apiKey,
3480
3475
  model: n.model,
3481
- content: await Un(n)
3476
+ content: await Dn(n)
3482
3477
  };
3483
- }, Fn = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
3484
- function hs(e, t, n = {}) {
3478
+ }, Un = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
3479
+ function ds(e, t, n = {}) {
3485
3480
  let r, o, i, a = null, u = 0;
3486
3481
  const p = function() {
3487
3482
  u = n.leading === !1 ? 0 : Date.now(), a = null, i = e.apply(r, o), a || (r = o = null);
@@ -3503,55 +3498,55 @@ function ht(e, ...t) {
3503
3498
  }
3504
3499
  return n;
3505
3500
  }
3506
- function fs(e) {
3501
+ function hs(e) {
3507
3502
  for (const t of e)
3508
3503
  switch (t.trigger) {
3509
3504
  case "pageLoad":
3510
- co(t);
3505
+ uo(t);
3511
3506
  break;
3512
3507
  case "scrollInView":
3513
- gs(t);
3508
+ ms(t);
3514
3509
  break;
3515
3510
  }
3516
3511
  }
3517
- function lo(e) {
3512
+ function ao(e) {
3518
3513
  console.warn(`Cannot animate element: element with ID ${e} not found!`);
3519
3514
  }
3520
- function uo(e, t) {
3521
- const n = ms(e), r = getComputedStyle(t), o = e.steps[0].styles, i = e.steps[e.steps.length - 1].styles, a = [o, i];
3515
+ function lo(e, t) {
3516
+ const n = fs(e), r = getComputedStyle(t), o = e.steps[0].styles, i = e.steps[e.steps.length - 1].styles, a = [o, i];
3522
3517
  for (const u of a)
3523
3518
  for (const p of n)
3524
3519
  p in u || (u[p] = r[p]);
3525
3520
  }
3526
- function ms(e) {
3521
+ function fs(e) {
3527
3522
  const t = [];
3528
3523
  for (const n of e.steps)
3529
3524
  for (const r in n.styles)
3530
3525
  t.indexOf(r) === -1 && t.push(r);
3531
3526
  return t;
3532
3527
  }
3533
- function co(e) {
3528
+ function uo(e) {
3534
3529
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
3535
3530
  if (!t.length) {
3536
- lo(e.elementId || e.id || "");
3531
+ ao(e.elementId || e.id || "");
3537
3532
  return;
3538
3533
  }
3539
3534
  Array.from(t).forEach((n) => {
3540
- uo(e, n), n.style.transition = "none", n.style.transitionDelay = "0", ht(n.style, e.steps[0].styles), setTimeout(() => {
3541
- n.style.transition = `all ${e.duration}s ${Fn(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), ht(n.style, e.steps[1].styles), setTimeout(() => {
3535
+ lo(e, n), n.style.transition = "none", n.style.transitionDelay = "0", ht(n.style, e.steps[0].styles), setTimeout(() => {
3536
+ n.style.transition = `all ${e.duration}s ${Un(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), ht(n.style, e.steps[1].styles), setTimeout(() => {
3542
3537
  n.style.transition = "", n.style.transitionDelay = "";
3543
3538
  }, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
3544
3539
  });
3545
3540
  });
3546
3541
  }
3547
- function gs(e) {
3542
+ function ms(e) {
3548
3543
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
3549
3544
  if (!t.length) {
3550
- lo(e.elementId || e.id || "");
3545
+ ao(e.elementId || e.id || "");
3551
3546
  return;
3552
3547
  }
3553
3548
  Array.from(t).forEach((n) => {
3554
- uo(e, n);
3549
+ lo(e, n);
3555
3550
  let r = !1, o = !1;
3556
3551
  function i() {
3557
3552
  !r && u(n) ? (r = !0, o = !0, setTimeout(() => {
@@ -3560,7 +3555,7 @@ function gs(e) {
3560
3555
  }, (e.duration + (e.delay || 0)) * 1e3 + 100);
3561
3556
  })) : e.repeat && r && !o && !u(n) && (r = !1, ht(n.style, e.steps[0].styles));
3562
3557
  }
3563
- const a = hs(i, 200, {
3558
+ const a = ds(i, 200, {
3564
3559
  leading: !1
3565
3560
  });
3566
3561
  function u(v) {
@@ -3572,30 +3567,30 @@ function gs(e) {
3572
3567
  ht(n.style, p);
3573
3568
  }
3574
3569
  m(), setTimeout(() => {
3575
- n.style.transition = `all ${e.duration}s ${Fn(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
3570
+ n.style.transition = `all ${e.duration}s ${Un(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
3576
3571
  }), document.addEventListener("scroll", a, {
3577
3572
  capture: !0,
3578
3573
  passive: !0
3579
3574
  }), i();
3580
3575
  });
3581
3576
  }
3582
- const po = (e) => Object.entries(e).map(([n, r]) => {
3577
+ const co = (e) => Object.entries(e).map(([n, r]) => {
3583
3578
  if (typeof r == "string")
3584
- return `${Fn(n)}: ${r};`;
3585
- }).filter(Be), ys = (e) => po(e).join(`
3579
+ return `${Un(n)}: ${r};`;
3580
+ }).filter(Be), gs = (e) => co(e).join(`
3586
3581
  `), Cu = ({
3587
3582
  mediaQuery: e,
3588
3583
  className: t,
3589
3584
  styles: n
3590
3585
  }) => {
3591
3586
  const r = `.${t} {
3592
- ${ys(n)}
3587
+ ${gs(n)}
3593
3588
  }`;
3594
3589
  return e ? `${e} {
3595
3590
  ${r}
3596
3591
  }` : r;
3597
3592
  };
3598
- function vs({
3593
+ function ys({
3599
3594
  style: e
3600
3595
  }) {
3601
3596
  return e;
@@ -3603,18 +3598,18 @@ function vs({
3603
3598
  const wu = ({
3604
3599
  block: e,
3605
3600
  context: t
3606
- }) => ho(vs({
3601
+ }) => po(ys({
3607
3602
  style: e.style || {},
3608
3603
  context: t,
3609
3604
  block: e
3610
3605
  }));
3611
- function ho(e) {
3606
+ function po(e) {
3612
3607
  switch (ue) {
3613
3608
  case "svelte":
3614
3609
  case "vue":
3615
3610
  case "solid":
3616
3611
  case "angular":
3617
- return po(e).join(" ");
3612
+ return co(e).join(" ");
3618
3613
  case "qwik":
3619
3614
  case "reactNative":
3620
3615
  case "react":
@@ -3622,7 +3617,7 @@ function ho(e) {
3622
3617
  return e;
3623
3618
  }
3624
3619
  }
3625
- const bs = ({
3620
+ const vs = ({
3626
3621
  block: e,
3627
3622
  registeredComponents: t
3628
3623
  }) => {
@@ -3636,7 +3631,7 @@ const bs = ({
3636
3631
  console.warn(`
3637
3632
  Could not find a registered component named "${n}".
3638
3633
  If you registered it, is the file that registered it imported by the file that needs to render it?`);
3639
- }, ks = ({
3634
+ }, bs = ({
3640
3635
  block: e,
3641
3636
  context: t
3642
3637
  }) => {
@@ -3670,59 +3665,59 @@ const bs = ({
3670
3665
  },
3671
3666
  block: r
3672
3667
  }));
3673
- }, Ss = (e, t) => {
3668
+ }, ks = (e, t) => {
3674
3669
  var n;
3675
3670
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderLinkComponent ? {
3676
3671
  builderLinkComponent: t
3677
3672
  } : {};
3678
- }, Cs = (e, t) => {
3673
+ }, Ss = (e, t) => {
3679
3674
  var n;
3680
3675
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderComponents ? {
3681
3676
  builderComponents: t
3682
3677
  } : {};
3683
- }, ws = (e, t) => {
3678
+ }, Cs = (e, t) => {
3684
3679
  var n;
3685
3680
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderBlock ? {
3686
3681
  builderBlock: t
3687
3682
  } : {};
3688
- }, Ts = (e, t) => {
3683
+ }, ws = (e, t) => {
3689
3684
  var n;
3690
3685
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderContext ? {
3691
3686
  builderContext: t
3692
3687
  } : {};
3693
- }, Es = () => Promise.resolve().then(() => Fs).then((e) => e.default).catch((e) => {
3688
+ }, Ts = () => Promise.resolve().then(() => Us).then((e) => e.default).catch((e) => {
3694
3689
  throw console.error(
3695
3690
  "Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
3696
3691
  e
3697
3692
  ), e;
3698
- }), Is = () => import("./block-styles-mSowNIFi.js").then((e) => e.default).catch((e) => {
3693
+ }), Es = () => import("./block-styles-zRPUnWLf.js").then((e) => e.default).catch((e) => {
3699
3694
  throw console.error(
3700
3695
  "Error while attempting to dynamically import component BlockStyles at ./components/block-styles.vue",
3701
3696
  e
3702
3697
  ), e;
3703
- }), xs = () => import("./block-wrapper-EnFwFXwA.js").then((e) => e.default).catch((e) => {
3698
+ }), Is = () => import("./block-wrapper-x7ERONr-.js").then((e) => e.default).catch((e) => {
3704
3699
  throw console.error(
3705
3700
  "Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
3706
3701
  e
3707
3702
  ), e;
3708
- }), Rs = () => import("./component-ref-t51XeINm.js").then((e) => e.default).catch((e) => {
3703
+ }), xs = () => import("./component-ref-JRfa9Vwo.js").then((e) => e.default).catch((e) => {
3709
3704
  throw console.error(
3710
3705
  "Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
3711
3706
  e
3712
3707
  ), e;
3713
- }), As = () => import("./repeated-block-P7xKkVOb.js").then((e) => e.default).catch((e) => {
3708
+ }), Rs = () => import("./repeated-block-_9Gs2AOY.js").then((e) => e.default).catch((e) => {
3714
3709
  throw console.error(
3715
3710
  "Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
3716
3711
  e
3717
3712
  ), e;
3718
- }), $s = j({
3713
+ }), As = j({
3719
3714
  name: "block",
3720
3715
  components: {
3721
- BlockStyles: ot(Is),
3722
- RepeatedBlock: ot(As),
3723
- ComponentRef: ot(Rs),
3724
- BlockWrapper: ot(xs),
3725
- DynamicDiv: ot(Es)
3716
+ BlockStyles: ot(Es),
3717
+ RepeatedBlock: ot(Rs),
3718
+ ComponentRef: ot(xs),
3719
+ BlockWrapper: ot(Is),
3720
+ DynamicDiv: ot(Ts)
3726
3721
  },
3727
3722
  props: ["block", "context", "registeredComponents", "linkComponent"],
3728
3723
  data() {
@@ -3735,7 +3730,7 @@ const bs = ({
3735
3730
  },
3736
3731
  mounted() {
3737
3732
  const e = this.processedBlock.id, t = this.processedBlock.animations;
3738
- t && e && fs(
3733
+ t && e && hs(
3739
3734
  t.map((n) => ({
3740
3735
  ...n,
3741
3736
  elementId: e
@@ -3746,14 +3741,14 @@ const bs = ({
3746
3741
  },
3747
3742
  computed: {
3748
3743
  repeatItem() {
3749
- return ks({
3744
+ return bs({
3750
3745
  block: this.block,
3751
3746
  context: this.context
3752
3747
  });
3753
3748
  },
3754
3749
  processedBlock() {
3755
3750
  var t;
3756
- return (t = this.block.repeat) != null && t.collection ? this.block : Ri({
3751
+ return (t = this.block.repeat) != null && t.collection ? this.block : xi({
3757
3752
  block: this.block,
3758
3753
  localState: this.context.localState,
3759
3754
  rootState: this.context.rootState,
@@ -3763,7 +3758,7 @@ const bs = ({
3763
3758
  });
3764
3759
  },
3765
3760
  blockComponent() {
3766
- return bs({
3761
+ return vs({
3767
3762
  block: this.processedBlock,
3768
3763
  registeredComponents: this.registeredComponents
3769
3764
  });
@@ -3789,11 +3784,11 @@ const bs = ({
3789
3784
  blockChildren: this.processedBlock.children ?? [],
3790
3785
  componentRef: (e = this.blockComponent) == null ? void 0 : e.component,
3791
3786
  componentOptions: {
3792
- ...Jo(this.processedBlock),
3793
- ...ws(this.blockComponent, this.processedBlock),
3794
- ...Ts(this.blockComponent, this.context),
3795
- ...Ss(this.blockComponent, this.linkComponent),
3796
- ...Cs(
3787
+ ...Go(this.processedBlock),
3788
+ ...Cs(this.blockComponent, this.processedBlock),
3789
+ ...ws(this.blockComponent, this.context),
3790
+ ...ks(this.blockComponent, this.linkComponent),
3791
+ ...Ss(
3797
3792
  this.blockComponent,
3798
3793
  this.registeredComponents
3799
3794
  )
@@ -3808,7 +3803,7 @@ const bs = ({
3808
3803
  }
3809
3804
  }
3810
3805
  });
3811
- function Ps(e, t, n, r, o, i) {
3806
+ function $s(e, t, n, r, o, i) {
3812
3807
  var h;
3813
3808
  const a = U("BlockStyles"), u = U("ComponentRef"), p = U("Block", !0), m = U("BlockWrapper"), v = U("RepeatedBlock");
3814
3809
  return e.canShowBlock ? (y(), T(z, { key: 0 }, [
@@ -3873,10 +3868,10 @@ function Ps(e, t, n, r, o, i) {
3873
3868
  ], 64))
3874
3869
  ], 64)) : M("", !0);
3875
3870
  }
3876
- const Mn = /* @__PURE__ */ V($s, [["render", Ps]]), Tu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3871
+ const Fn = /* @__PURE__ */ V(As, [["render", $s]]), Tu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3877
3872
  __proto__: null,
3878
- default: Mn
3879
- }, Symbol.toStringTag, { value: "Module" })), Os = j({
3873
+ default: Fn
3874
+ }, Symbol.toStringTag, { value: "Module" })), Ps = j({
3880
3875
  name: "builder-blocks-wrapper",
3881
3876
  props: [
3882
3877
  "blocks",
@@ -3923,7 +3918,7 @@ const Mn = /* @__PURE__ */ V($s, [["render", Ps]]), Tu = /* @__PURE__ */ Object.
3923
3918
  }
3924
3919
  }
3925
3920
  });
3926
- function js(e, t, n, r, o, i) {
3921
+ function Os(e, t, n, r, o, i) {
3927
3922
  return y(), D(ct(e.BlocksWrapper), K({
3928
3923
  ref: "blocksWrapperRef",
3929
3924
  class: e.className + " component-178o76acnws",
@@ -3940,9 +3935,9 @@ function js(e, t, n, r, o, i) {
3940
3935
  _: 3
3941
3936
  }, 16, ["class", "builder-path", "builder-parent-id", "style", "onClick", "onMouseEnter", "onKeyPress"]);
3942
3937
  }
3943
- const Bs = /* @__PURE__ */ V(Os, [["render", js], ["__scopeId", "data-v-824f09a8"]]), Ns = j({
3938
+ const js = /* @__PURE__ */ V(Ps, [["render", Os], ["__scopeId", "data-v-824f09a8"]]), Bs = j({
3944
3939
  name: "builder-blocks",
3945
- components: { BlocksWrapper: Bs, Block: Mn },
3940
+ components: { BlocksWrapper: js, Block: Fn },
3946
3941
  props: [
3947
3942
  "blocks",
3948
3943
  "parent",
@@ -3953,11 +3948,11 @@ const Bs = /* @__PURE__ */ V(Os, [["render", js], ["__scopeId", "data-v-824f09a8
3953
3948
  "registeredComponents"
3954
3949
  ],
3955
3950
  inject: {
3956
- builderContext: mn.key,
3957
- componentsContext: Nr.key
3951
+ builderContext: fn.key,
3952
+ componentsContext: Br.key
3958
3953
  }
3959
3954
  });
3960
- function Vs(e, t, n, r, o, i) {
3955
+ function Ns(e, t, n, r, o, i) {
3961
3956
  var p, m;
3962
3957
  const a = U("Block"), u = U("BlocksWrapper");
3963
3958
  return y(), D(u, {
@@ -3980,21 +3975,21 @@ function Vs(e, t, n, r, o, i) {
3980
3975
  _: 1
3981
3976
  }, 8, ["blocks", "parent", "path", "styleProp", "BlocksWrapper", "BlocksWrapperProps"]);
3982
3977
  }
3983
- const Xe = /* @__PURE__ */ V(Ns, [["render", Vs]]), Ds = j({
3978
+ const Xe = /* @__PURE__ */ V(Bs, [["render", Ns]]), Vs = j({
3984
3979
  name: "dynamic-div",
3985
3980
  props: []
3986
3981
  });
3987
- function Us(e, t, n, r, o, i) {
3982
+ function Ds(e, t, n, r, o, i) {
3988
3983
  return y(), T("div", null, [
3989
3984
  de(e.$slots, "default")
3990
3985
  ]);
3991
3986
  }
3992
- const Ct = /* @__PURE__ */ V(Ds, [["render", Us]]), Fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3987
+ const Ct = /* @__PURE__ */ V(Vs, [["render", Ds]]), Us = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3993
3988
  __proto__: null,
3994
3989
  default: Ct
3995
- }, Symbol.toStringTag, { value: "Module" })), Wn = j({
3990
+ }, Symbol.toStringTag, { value: "Module" })), Mn = j({
3996
3991
  render() {
3997
- return Br("style", {
3992
+ return jr("style", {
3998
3993
  innerHTML: this.styles,
3999
3994
  "data-id": this.id,
4000
3995
  nonce: this.nonce
@@ -4002,7 +3997,7 @@ const Ct = /* @__PURE__ */ V(Ds, [["render", Us]]), Fs = /* @__PURE__ */ Object.
4002
3997
  },
4003
3998
  name: "inlined-styles",
4004
3999
  props: ["styles", "id", "nonce"]
4005
- }), fo = {
4000
+ }), ho = {
4006
4001
  small: {
4007
4002
  min: 320,
4008
4003
  default: 321,
@@ -4018,11 +4013,11 @@ const Ct = /* @__PURE__ */ V(Ds, [["render", Us]]), Fs = /* @__PURE__ */ Object.
4018
4013
  default: 991,
4019
4014
  max: 1200
4020
4015
  }
4021
- }, Eu = (e, t = fo) => `@media (max-width: ${t[e].max}px)`, Ms = ({
4016
+ }, Eu = (e, t = ho) => `@media (max-width: ${t[e].max}px)`, Fs = ({
4022
4017
  small: e,
4023
4018
  medium: t
4024
4019
  }) => {
4025
- const n = Nn(fo);
4020
+ const n = Bn(ho);
4026
4021
  if (!e || !t)
4027
4022
  return n;
4028
4023
  const r = Math.floor(e / 2);
@@ -4044,11 +4039,11 @@ const Ct = /* @__PURE__ */ V(Ds, [["render", Us]]), Fs = /* @__PURE__ */ Object.
4044
4039
  min: i,
4045
4040
  default: i + 1
4046
4041
  }, n;
4047
- }, Ws = (e) => `builder-columns ${e}-breakpoints`, Ls = j({
4042
+ }, Ms = (e) => `builder-columns ${e}-breakpoints`, Ws = j({
4048
4043
  name: "builder-columns",
4049
4044
  components: {
4050
- InlinedStyles: Wn,
4051
- DynamicRenderer: Cn,
4045
+ InlinedStyles: Mn,
4046
+ DynamicRenderer: Sn,
4052
4047
  Blocks: Xe,
4053
4048
  DynamicDiv: Ct
4054
4049
  },
@@ -4069,7 +4064,7 @@ const Ct = /* @__PURE__ */ V(Ds, [["render", Us]]), Fs = /* @__PURE__ */ Object.
4069
4064
  stackAt: this.stackColumnsAt || "tablet",
4070
4065
  flexDir: this.stackColumnsAt === "never" ? "row" : this.reverseColumnsWhenStacked ? "column-reverse" : "column",
4071
4066
  TARGET: ue,
4072
- getColumnsClass: Ws
4067
+ getColumnsClass: Ms
4073
4068
  };
4074
4069
  },
4075
4070
  methods: {
@@ -4135,7 +4130,7 @@ const Ct = /* @__PURE__ */ V(Ds, [["render", Us]]), Fs = /* @__PURE__ */ Object.
4135
4130
  },
4136
4131
  getWidthForBreakpointSize(e) {
4137
4132
  var n, r;
4138
- return Ms(
4133
+ return Fs(
4139
4134
  ((r = (n = this.builderContext.content) == null ? void 0 : n.meta) == null ? void 0 : r.breakpoints) || {}
4140
4135
  )[e].max;
4141
4136
  },
@@ -4172,13 +4167,13 @@ const Ct = /* @__PURE__ */ V(Ds, [["render", Us]]), Fs = /* @__PURE__ */ Object.
4172
4167
  ...e.link ? {
4173
4168
  href: e.link
4174
4169
  } : {},
4175
- [jt()]: "builder-column",
4176
- style: ho(this.columnCssVars(t))
4170
+ [Ot()]: "builder-column",
4171
+ style: po(this.columnCssVars(t))
4177
4172
  };
4178
4173
  }
4179
4174
  }
4180
4175
  });
4181
- function Hs(e, t, n, r, o, i) {
4176
+ function Ls(e, t, n, r, o, i) {
4182
4177
  var m;
4183
4178
  const a = U("InlinedStyles"), u = U("Blocks"), p = U("DynamicRenderer");
4184
4179
  return y(), T("div", K({
@@ -4214,47 +4209,47 @@ function Hs(e, t, n, r, o, i) {
4214
4209
  }, 1032, ["TagName", "attributes"]))), 128))
4215
4210
  ], 16);
4216
4211
  }
4217
- const Ks = /* @__PURE__ */ V(Ls, [["render", Hs], ["__scopeId", "data-v-52366f16"]]), qs = j({
4212
+ const Hs = /* @__PURE__ */ V(Ws, [["render", Ls], ["__scopeId", "data-v-52366f16"]]), Ks = j({
4218
4213
  name: "builder-fragment-component",
4219
4214
  props: []
4220
4215
  });
4221
- function zs(e, t, n, r, o, i) {
4216
+ function qs(e, t, n, r, o, i) {
4222
4217
  return y(), T("span", null, [
4223
4218
  de(e.$slots, "default")
4224
4219
  ]);
4225
4220
  }
4226
- const Gs = /* @__PURE__ */ V(qs, [["render", zs]]);
4227
- function $r(e) {
4221
+ const zs = /* @__PURE__ */ V(Ks, [["render", qs]]);
4222
+ function Ar(e) {
4228
4223
  return e.replace(/http(s)?:/, "");
4229
4224
  }
4230
- function Js(e = "", t, n) {
4225
+ function Gs(e = "", t, n) {
4231
4226
  const r = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), o = e.indexOf("?") !== -1 ? "&" : "?";
4232
4227
  return e.match(r) ? e.replace(r, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + o + t + "=" + encodeURIComponent(n);
4233
4228
  }
4234
- function Xs(e, t) {
4229
+ function Js(e, t) {
4235
4230
  if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
4236
4231
  return e;
4237
4232
  if (t === "master")
4238
- return $r(e);
4233
+ return Ar(e);
4239
4234
  const n = e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);
4240
4235
  if (n) {
4241
4236
  const r = e.split(n[0]), o = n[3], i = t.match("x") ? t : `${t}x`;
4242
- return $r(`${r[0]}_${i}${o}`);
4237
+ return Ar(`${r[0]}_${i}${o}`);
4243
4238
  }
4244
4239
  return null;
4245
4240
  }
4246
- function cn(e) {
4241
+ function un(e) {
4247
4242
  if (!e)
4248
4243
  return e;
4249
4244
  const t = [100, 200, 400, 800, 1200, 1600, 2e3];
4250
4245
  if (e.match(/builder\.io/)) {
4251
4246
  let n = e;
4252
4247
  const r = Number(e.split("?width=")[1]);
4253
- return isNaN(r) || (n = `${n} ${r}w`), t.filter((o) => o !== r).map((o) => `${Js(e, "width", o)} ${o}w`).concat([n]).join(", ");
4248
+ return isNaN(r) || (n = `${n} ${r}w`), t.filter((o) => o !== r).map((o) => `${Gs(e, "width", o)} ${o}w`).concat([n]).join(", ");
4254
4249
  }
4255
- return e.match(/cdn\.shopify\.com/) ? t.map((n) => [Xs(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, r]) => `${n} ${r}w`).concat([e]).join(", ") : e;
4250
+ return e.match(/cdn\.shopify\.com/) ? t.map((n) => [Js(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, r]) => `${n} ${r}w`).concat([e]).join(", ") : e;
4256
4251
  }
4257
- const _s = j({
4252
+ const Xs = j({
4258
4253
  name: "builder-image",
4259
4254
  props: [
4260
4255
  "image",
@@ -4284,10 +4279,10 @@ const _s = j({
4284
4279
  if (!this.noWebp) {
4285
4280
  if (this.srcset && ((n = this.image) != null && n.includes("builder.io/api/v1/image"))) {
4286
4281
  if (!this.srcset.includes(this.image.split("?")[0]))
4287
- return console.debug("Removed given srcset"), cn(t);
4282
+ return console.debug("Removed given srcset"), un(t);
4288
4283
  } else if (this.image && !this.srcset)
4289
- return cn(t);
4290
- return cn(t);
4284
+ return un(t);
4285
+ return un(t);
4291
4286
  }
4292
4287
  },
4293
4288
  webpSrcSet() {
@@ -4305,11 +4300,11 @@ const _s = j({
4305
4300
  return this.aspectRatio ? e : void 0;
4306
4301
  }
4307
4302
  }
4308
- }), Ys = ["srcset"], Zs = ["loading", "fetchpriority", "alt", "role", "src", "srcset", "sizes"], Qs = {
4303
+ }), Ys = ["srcset"], _s = ["loading", "fetchpriority", "alt", "role", "src", "srcset", "sizes"], Zs = {
4309
4304
  key: 2,
4310
4305
  class: "div-1pl23ac79ld-2"
4311
4306
  };
4312
- function ea(e, t, n, r, o, i) {
4307
+ function Qs(e, t, n, r, o, i) {
4313
4308
  var a, u, p, m, v, h;
4314
4309
  return y(), T(z, null, [
4315
4310
  ft("picture", null, [
@@ -4334,7 +4329,7 @@ function ea(e, t, n, r, o, i) {
4334
4329
  src: e.image,
4335
4330
  srcset: e.srcSetToUse,
4336
4331
  sizes: e.sizes
4337
- }, null, 14, Zs)
4332
+ }, null, 14, _s)
4338
4333
  ]),
4339
4334
  e.aspectRatio && !((u = (a = e.builderBlock) == null ? void 0 : a.children) != null && u.length && e.fitContent) ? (y(), T("div", {
4340
4335
  key: 0,
@@ -4344,19 +4339,19 @@ function ea(e, t, n, r, o, i) {
4344
4339
  })
4345
4340
  }, null, 4)) : M("", !0),
4346
4341
  (m = (p = e.builderBlock) == null ? void 0 : p.children) != null && m.length && e.fitContent ? de(e.$slots, "default", { key: 1 }, void 0, !0) : M("", !0),
4347
- !e.fitContent && ((h = (v = e.builderBlock) == null ? void 0 : v.children) != null && h.length) ? (y(), T("div", Qs, [
4342
+ !e.fitContent && ((h = (v = e.builderBlock) == null ? void 0 : v.children) != null && h.length) ? (y(), T("div", Zs, [
4348
4343
  de(e.$slots, "default", {}, void 0, !0)
4349
4344
  ])) : M("", !0)
4350
4345
  ], 64);
4351
4346
  }
4352
- const ta = /* @__PURE__ */ V(_s, [["render", ea], ["__scopeId", "data-v-b1147753"]]), na = j({
4347
+ const ea = /* @__PURE__ */ V(Xs, [["render", Qs], ["__scopeId", "data-v-b1147753"]]), ta = j({
4353
4348
  name: "builder-section-component",
4354
4349
  props: ["attributes", "maxWidth"],
4355
4350
  data() {
4356
4351
  return { filterAttrs: me };
4357
4352
  }
4358
4353
  });
4359
- function ra(e, t, n, r, o, i) {
4354
+ function na(e, t, n, r, o, i) {
4360
4355
  return y(), T("section", K({
4361
4356
  style: {
4362
4357
  width: "100%",
@@ -4374,7 +4369,7 @@ function ra(e, t, n, r, o, i) {
4374
4369
  de(e.$slots, "default")
4375
4370
  ], 16);
4376
4371
  }
4377
- const oa = /* @__PURE__ */ V(na, [["render", ra]]), pn = {
4372
+ const ra = /* @__PURE__ */ V(ta, [["render", na]]), cn = {
4378
4373
  "@type": "@builder.io/sdk:Element",
4379
4374
  layerName: "Accordion item title",
4380
4375
  responsiveStyles: {
@@ -4403,7 +4398,7 @@ const oa = /* @__PURE__ */ V(na, [["render", ra]]), pn = {
4403
4398
  }
4404
4399
  }
4405
4400
  }]
4406
- }, dn = {
4401
+ }, pn = {
4407
4402
  "@type": "@builder.io/sdk:Element",
4408
4403
  layerName: "Accordion item detail",
4409
4404
  responsiveStyles: {
@@ -4434,7 +4429,7 @@ const oa = /* @__PURE__ */ V(na, [["render", ra]]), pn = {
4434
4429
  }
4435
4430
  }
4436
4431
  }]
4437
- }, ia = {
4432
+ }, oa = {
4438
4433
  name: "Builder:Accordion",
4439
4434
  canHaveChildren: !0,
4440
4435
  image: "https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Ffab6c1fd3fe542408cbdec078bca7f35",
@@ -4451,19 +4446,19 @@ const oa = /* @__PURE__ */ V(na, [["render", ra]]), pn = {
4451
4446
  name: "title",
4452
4447
  type: "uiBlocks",
4453
4448
  hideFromUI: !0,
4454
- defaultValue: [pn]
4449
+ defaultValue: [cn]
4455
4450
  }, {
4456
4451
  name: "detail",
4457
4452
  type: "uiBlocks",
4458
4453
  hideFromUI: !0,
4459
- defaultValue: [dn]
4454
+ defaultValue: [pn]
4460
4455
  }],
4461
4456
  defaultValue: [{
4462
- title: [pn],
4463
- detail: [dn]
4457
+ title: [cn],
4458
+ detail: [pn]
4464
4459
  }, {
4465
- title: [pn],
4466
- detail: [dn]
4460
+ title: [cn],
4461
+ detail: [pn]
4467
4462
  }],
4468
4463
  showIf: (e) => !e.get("useChildrenForItems")
4469
4464
  }, {
@@ -4498,7 +4493,7 @@ const oa = /* @__PURE__ */ V(na, [["render", ra]]), pn = {
4498
4493
  builderComponents: !0,
4499
4494
  builderLinkComponent: !0
4500
4495
  }
4501
- }, sa = (e) => e.toString(), aa = j({
4496
+ }, ia = (e) => e.toString(), sa = j({
4502
4497
  name: "builder-accordion",
4503
4498
  components: { Blocks: Xe },
4504
4499
  props: [
@@ -4512,7 +4507,7 @@ const oa = /* @__PURE__ */ V(na, [["render", ra]]), pn = {
4512
4507
  "builderLinkComponent"
4513
4508
  ],
4514
4509
  data() {
4515
- return { open: [], convertOrderNumberToString: sa };
4510
+ return { open: [], convertOrderNumberToString: ia };
4516
4511
  },
4517
4512
  computed: {
4518
4513
  onlyOneAtATime() {
@@ -4593,8 +4588,8 @@ const oa = /* @__PURE__ */ V(na, [["render", ra]]), pn = {
4593
4588
  this.open.includes(e) ? this.open = this.onlyOneAtATime ? [] : this.open.filter((t) => t !== e) : this.open = this.onlyOneAtATime ? [e] : this.open.concat(e);
4594
4589
  }
4595
4590
  }
4596
- }), la = ["data-index", "onClick"];
4597
- function ua(e, t, n, r, o, i) {
4591
+ }), aa = ["data-index", "onClick"];
4592
+ function la(e, t, n, r, o, i) {
4598
4593
  const a = U("Blocks");
4599
4594
  return y(), T("div", {
4600
4595
  class: "builder-accordion",
@@ -4619,7 +4614,7 @@ function ua(e, t, n, r, o, i) {
4619
4614
  registeredComponents: e.builderComponents,
4620
4615
  linkComponent: e.builderLinkComponent
4621
4616
  }, null, 8, ["blocks", "path", "parent", "context", "registeredComponents", "linkComponent"])
4622
- ], 14, la),
4617
+ ], 14, aa),
4623
4618
  e.open.includes(p) ? (y(), T("div", {
4624
4619
  key: 0,
4625
4620
  class: mt(e.getAccordionDetailClassName(p)),
@@ -4637,7 +4632,7 @@ function ua(e, t, n, r, o, i) {
4637
4632
  ], 64))), 128))
4638
4633
  ], 4);
4639
4634
  }
4640
- const ca = /* @__PURE__ */ V(aa, [["render", ua]]), pa = {
4635
+ const ua = /* @__PURE__ */ V(sa, [["render", la]]), ca = {
4641
4636
  name: "Core:Button",
4642
4637
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
4643
4638
  defaultStyles: {
@@ -4673,7 +4668,7 @@ const ca = /* @__PURE__ */ V(aa, [["render", ua]]), pa = {
4673
4668
  shouldReceiveBuilderProps: {
4674
4669
  builderLinkComponent: !0
4675
4670
  }
4676
- }, da = {
4671
+ }, pa = {
4677
4672
  // TODO: ways to statically preprocess JSON for references, functions, etc
4678
4673
  name: "Columns",
4679
4674
  isRSC: !0,
@@ -4880,13 +4875,13 @@ const ca = /* @__PURE__ */ V(aa, [["render", ua]]), pa = {
4880
4875
  builderComponents: !0,
4881
4876
  builderLinkComponent: !0
4882
4877
  }
4883
- }, ha = {
4878
+ }, da = {
4884
4879
  name: "Fragment",
4885
4880
  static: !0,
4886
4881
  hidden: !0,
4887
4882
  canHaveChildren: !0,
4888
4883
  noWrap: !0
4889
- }, fa = {
4884
+ }, ha = {
4890
4885
  name: "Image",
4891
4886
  static: !0,
4892
4887
  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",
@@ -4994,7 +4989,7 @@ const ca = /* @__PURE__ */ V(aa, [["render", ua]]), pa = {
4994
4989
  shouldReceiveBuilderProps: {
4995
4990
  builderBlock: !0
4996
4991
  }
4997
- }, ma = {
4992
+ }, fa = {
4998
4993
  name: "Core:Section",
4999
4994
  static: !0,
5000
4995
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -5033,7 +5028,7 @@ const ca = /* @__PURE__ */ V(aa, [["render", ua]]), pa = {
5033
5028
  }
5034
5029
  }
5035
5030
  }]
5036
- }, ga = {
5031
+ }, ma = {
5037
5032
  name: "Slot",
5038
5033
  isRSC: !0,
5039
5034
  description: "Allow child blocks to be inserted into this content when used as a Symbol",
@@ -5050,12 +5045,12 @@ const ca = /* @__PURE__ */ V(aa, [["render", ua]]), pa = {
5050
5045
  builderContext: !0,
5051
5046
  builderComponents: !0
5052
5047
  }
5053
- }, ya = j({
5048
+ }, ga = j({
5054
5049
  name: "builder-slot",
5055
5050
  components: { Blocks: Xe },
5056
5051
  props: ["builderContext", "name", "builderComponents"]
5057
5052
  });
5058
- function va(e, t, n, r, o, i) {
5053
+ function ya(e, t, n, r, o, i) {
5059
5054
  var u, p, m;
5060
5055
  const a = U("Blocks");
5061
5056
  return y(), T("div", K(
@@ -5075,7 +5070,7 @@ function va(e, t, n, r, o, i) {
5075
5070
  }, null, 8, ["parent", "path", "context", "registeredComponents", "blocks"])
5076
5071
  ], 16);
5077
5072
  }
5078
- const ba = /* @__PURE__ */ V(ya, [["render", va]]), ka = {
5073
+ const va = /* @__PURE__ */ V(ga, [["render", ya]]), ba = {
5079
5074
  name: "Symbol",
5080
5075
  noWrap: !0,
5081
5076
  static: !0,
@@ -5114,7 +5109,7 @@ const ba = /* @__PURE__ */ V(ya, [["render", va]]), ka = {
5114
5109
  builderComponents: !0,
5115
5110
  builderLinkComponent: !0
5116
5111
  }
5117
- }, hn = {
5112
+ }, dn = {
5118
5113
  "@type": "@builder.io/sdk:Element",
5119
5114
  responsiveStyles: {
5120
5115
  large: {
@@ -5136,7 +5131,7 @@ const ba = /* @__PURE__ */ V(ya, [["render", va]]), ka = {
5136
5131
  text: "New tab"
5137
5132
  }
5138
5133
  }
5139
- }, fn = {
5134
+ }, hn = {
5140
5135
  "@type": "@builder.io/sdk:Element",
5141
5136
  responsiveStyles: {
5142
5137
  large: {
@@ -5152,7 +5147,7 @@ const ba = /* @__PURE__ */ V(ya, [["render", va]]), ka = {
5152
5147
  text: "New tab content "
5153
5148
  }
5154
5149
  }
5155
- }, Sa = {
5150
+ }, ka = {
5156
5151
  name: "Builder: Tabs",
5157
5152
  inputs: [{
5158
5153
  name: "tabs",
@@ -5162,16 +5157,16 @@ const ba = /* @__PURE__ */ V(ya, [["render", va]]), ka = {
5162
5157
  name: "label",
5163
5158
  type: "uiBlocks",
5164
5159
  hideFromUI: !0,
5165
- defaultValue: [hn]
5160
+ defaultValue: [dn]
5166
5161
  }, {
5167
5162
  name: "content",
5168
5163
  type: "uiBlocks",
5169
5164
  hideFromUI: !0,
5170
- defaultValue: [fn]
5165
+ defaultValue: [hn]
5171
5166
  }],
5172
5167
  defaultValue: [{
5173
5168
  label: [{
5174
- ...hn,
5169
+ ...dn,
5175
5170
  component: {
5176
5171
  name: "Text",
5177
5172
  options: {
@@ -5180,7 +5175,7 @@ const ba = /* @__PURE__ */ V(ya, [["render", va]]), ka = {
5180
5175
  }
5181
5176
  }],
5182
5177
  content: [{
5183
- ...fn,
5178
+ ...hn,
5184
5179
  component: {
5185
5180
  name: "Text",
5186
5181
  options: {
@@ -5190,7 +5185,7 @@ const ba = /* @__PURE__ */ V(ya, [["render", va]]), ka = {
5190
5185
  }]
5191
5186
  }, {
5192
5187
  label: [{
5193
- ...hn,
5188
+ ...dn,
5194
5189
  component: {
5195
5190
  name: "Text",
5196
5191
  options: {
@@ -5199,7 +5194,7 @@ const ba = /* @__PURE__ */ V(ya, [["render", va]]), ka = {
5199
5194
  }
5200
5195
  }],
5201
5196
  content: [{
5202
- ...fn,
5197
+ ...hn,
5203
5198
  component: {
5204
5199
  name: "Text",
5205
5200
  options: {
@@ -5255,7 +5250,7 @@ const ba = /* @__PURE__ */ V(ya, [["render", va]]), ka = {
5255
5250
  builderComponents: !0,
5256
5251
  builderLinkComponent: !0
5257
5252
  }
5258
- }, Ca = j({
5253
+ }, Sa = j({
5259
5254
  name: "builder-tabs",
5260
5255
  components: { Blocks: Xe },
5261
5256
  props: [
@@ -5280,8 +5275,8 @@ const ba = /* @__PURE__ */ V(ya, [["render", va]]), ka = {
5280
5275
  e === this.activeTab && this.collapsible ? this.activeTab = -1 : this.activeTab = e;
5281
5276
  }
5282
5277
  }
5283
- }), wa = ["onClick"], Ta = { key: 0 };
5284
- function Ea(e, t, n, r, o, i) {
5278
+ }), Ca = ["onClick"], wa = { key: 0 };
5279
+ function Ta(e, t, n, r, o, i) {
5285
5280
  const a = U("Blocks");
5286
5281
  return y(), T("div", null, [
5287
5282
  ft("div", {
@@ -5309,9 +5304,9 @@ function Ea(e, t, n, r, o, i) {
5309
5304
  registeredComponents: e.builderComponents,
5310
5305
  linkComponent: e.builderLinkComponent
5311
5306
  }, null, 8, ["parent", "path", "blocks", "context", "registeredComponents", "linkComponent"])
5312
- ], 14, wa))), 128))
5307
+ ], 14, Ca))), 128))
5313
5308
  ], 4),
5314
- e.activeTabContent(e.activeTab) ? (y(), T("div", Ta, [
5309
+ e.activeTabContent(e.activeTab) ? (y(), T("div", wa, [
5315
5310
  ie(a, {
5316
5311
  parent: e.builderBlock.id,
5317
5312
  path: `component.options.tabs.${e.activeTab}.content`,
@@ -5323,7 +5318,7 @@ function Ea(e, t, n, r, o, i) {
5323
5318
  ])) : M("", !0)
5324
5319
  ]);
5325
5320
  }
5326
- const Ia = /* @__PURE__ */ V(Ca, [["render", Ea]]), xa = {
5321
+ const Ea = /* @__PURE__ */ V(Sa, [["render", Ta]]), Ia = {
5327
5322
  shouldReceiveBuilderProps: {
5328
5323
  builderBlock: !1,
5329
5324
  builderContext: !0
@@ -5345,7 +5340,7 @@ const Ia = /* @__PURE__ */ V(Ca, [["render", Ea]]), xa = {
5345
5340
  height: "auto",
5346
5341
  textAlign: "center"
5347
5342
  }
5348
- }, Ra = j({
5343
+ }, xa = j({
5349
5344
  name: "builder-text",
5350
5345
  props: ["builderContext", "text"],
5351
5346
  computed: {
@@ -5370,17 +5365,17 @@ const Ia = /* @__PURE__ */ V(Ca, [["render", Ea]]), xa = {
5370
5365
  );
5371
5366
  }
5372
5367
  }
5373
- }), Aa = ["innerHTML"];
5374
- function $a(e, t, n, r, o, i) {
5368
+ }), Ra = ["innerHTML"];
5369
+ function Aa(e, t, n, r, o, i) {
5375
5370
  return y(), T("div", {
5376
5371
  class: "builder-text",
5377
5372
  innerHTML: e.processedText,
5378
5373
  style: {
5379
5374
  outline: "none"
5380
5375
  }
5381
- }, null, 8, Aa);
5376
+ }, null, 8, Ra);
5382
5377
  }
5383
- const Pa = /* @__PURE__ */ V(Ra, [["render", $a]]), Oa = {
5378
+ const $a = /* @__PURE__ */ V(xa, [["render", Aa]]), Pa = {
5384
5379
  name: "Custom Code",
5385
5380
  static: !0,
5386
5381
  requiredPermissions: ["editCode"],
@@ -5402,7 +5397,7 @@ const Pa = /* @__PURE__ */ V(Ra, [["render", $a]]), Oa = {
5402
5397
  helperText: "Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads",
5403
5398
  advanced: !0
5404
5399
  }]
5405
- }, ja = j({
5400
+ }, Oa = j({
5406
5401
  name: "builder-custom-code",
5407
5402
  props: ["replaceNodes", "code"],
5408
5403
  data() {
@@ -5436,15 +5431,15 @@ const Pa = /* @__PURE__ */ V(Ra, [["render", $a]]), Oa = {
5436
5431
  }
5437
5432
  }
5438
5433
  }
5439
- }), Ba = ["innerHTML"];
5440
- function Na(e, t, n, r, o, i) {
5434
+ }), ja = ["innerHTML"];
5435
+ function Ba(e, t, n, r, o, i) {
5441
5436
  return y(), T("div", {
5442
5437
  ref: "elementRef",
5443
5438
  class: mt("builder-custom-code" + (e.replaceNodes ? " replace-nodes" : "")),
5444
5439
  innerHTML: e.code
5445
- }, null, 10, Ba);
5440
+ }, null, 10, ja);
5446
5441
  }
5447
- const Va = /* @__PURE__ */ V(ja, [["render", Na]]), Da = {
5442
+ const Na = /* @__PURE__ */ V(Oa, [["render", Ba]]), Va = {
5448
5443
  name: "Embed",
5449
5444
  static: !0,
5450
5445
  inputs: [{
@@ -5459,7 +5454,7 @@ const Va = /* @__PURE__ */ V(ja, [["render", Na]]), Da = {
5459
5454
  defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
5460
5455
  hideFromUI: !0
5461
5456
  }]
5462
- }, Ua = ["text/javascript", "application/javascript", "application/ecmascript"], Fa = (e) => Ua.includes(e.type), Ma = j({
5457
+ }, Da = ["text/javascript", "application/javascript", "application/ecmascript"], Ua = (e) => Da.includes(e.type), Fa = j({
5463
5458
  name: "builder-embed",
5464
5459
  props: ["content"],
5465
5460
  data() {
@@ -5492,7 +5487,7 @@ const Va = /* @__PURE__ */ V(ja, [["render", Na]]), Da = {
5492
5487
  this.scriptsInserted.push(n.src);
5493
5488
  const r = document.createElement("script");
5494
5489
  r.async = !0, r.src = n.src, document.head.appendChild(r);
5495
- } else if (Fa(n) && !this.scriptsRun.includes(n.innerText))
5490
+ } else if (Ua(n) && !this.scriptsRun.includes(n.innerText))
5496
5491
  try {
5497
5492
  this.scriptsRun.push(n.innerText), new Function(n.innerText)();
5498
5493
  } catch (r) {
@@ -5501,15 +5496,15 @@ const Va = /* @__PURE__ */ V(ja, [["render", Na]]), Da = {
5501
5496
  }
5502
5497
  }
5503
5498
  }
5504
- }), Wa = ["innerHTML"];
5505
- function La(e, t, n, r, o, i) {
5499
+ }), Ma = ["innerHTML"];
5500
+ function Wa(e, t, n, r, o, i) {
5506
5501
  return y(), T("div", {
5507
5502
  class: "builder-embed",
5508
5503
  ref: "elem",
5509
5504
  innerHTML: e.content
5510
- }, null, 8, Wa);
5505
+ }, null, 8, Ma);
5511
5506
  }
5512
- const Ha = /* @__PURE__ */ V(Ma, [["render", La]]), Ka = {
5507
+ const La = /* @__PURE__ */ V(Fa, [["render", Wa]]), Ha = {
5513
5508
  name: "Form:Form",
5514
5509
  // editableTags: ['builder-form-error']
5515
5510
  defaults: {
@@ -5746,15 +5741,15 @@ const Ha = /* @__PURE__ */ V(Ma, [["render", La]]), Ka = {
5746
5741
  builderComponents: !0,
5747
5742
  builderLinkComponent: !0
5748
5743
  }
5749
- }, qa = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], za = () => {
5744
+ }, Ka = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], qa = () => {
5750
5745
  const e = process.env.NODE_ENV || "production";
5751
- return qa.includes(e) ? e : "production";
5752
- }, Ga = (e, t, n) => {
5746
+ return Ka.includes(e) ? e : "production";
5747
+ }, za = (e, t, n) => {
5753
5748
  const r = String.prototype.split.call(t, /[,[\].]+?/).filter(Boolean).reduce((o, i) => o != null ? o[i] : o, e);
5754
5749
  return r === void 0 || r === e ? n : r;
5755
- }, Ja = j({
5750
+ }, Ga = j({
5756
5751
  name: "builder-form-component",
5757
- components: { Block: Mn, Blocks: Xe },
5752
+ components: { Block: Fn, Blocks: Xe },
5758
5753
  props: [
5759
5754
  "builderContext",
5760
5755
  "previewState",
@@ -5843,7 +5838,7 @@ const Ha = /* @__PURE__ */ V(Ma, [["render", La]]), Ka = {
5843
5838
  else {
5844
5839
  const h = {};
5845
5840
  Array.from(u).forEach(({ value: S, key: P }) => {
5846
- wn(h, P, S);
5841
+ Cn(h, P, S);
5847
5842
  }), i = JSON.stringify(h);
5848
5843
  }
5849
5844
  p && p !== "multipart/form-data" && (t && ((n = this.action) != null && n.includes("zapier.com")) || (o["content-type"] = p));
@@ -5855,7 +5850,7 @@ const Ha = /* @__PURE__ */ V(Ma, [["render", La]]), Ka = {
5855
5850
  if (this.$refs.formRef && (this.$refs.formRef.dispatchEvent(m), m.defaultPrevented))
5856
5851
  return;
5857
5852
  this.formState = "sending";
5858
- const v = `${za() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${this.builderContext.apiKey}&to=${btoa(
5853
+ const v = `${qa() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${this.builderContext.apiKey}&to=${btoa(
5859
5854
  this.sendSubmissionsToEmail || ""
5860
5855
  )}&name=${encodeURIComponent(this.name || "")}`;
5861
5856
  fetch(
@@ -5870,7 +5865,7 @@ const Ha = /* @__PURE__ */ V(Ma, [["render", La]]), Ka = {
5870
5865
  let S;
5871
5866
  const P = h.headers.get("content-type");
5872
5867
  if (P && P.indexOf("application/json") !== -1 ? S = await h.json() : S = await h.text(), !h.ok && this.errorMessagePath) {
5873
- let O = Ga(S, this.errorMessagePath);
5868
+ let O = za(S, this.errorMessagePath);
5874
5869
  O && (typeof O != "string" && (O = JSON.stringify(O)), this.formErrorMessage = O, this.mergeNewRootState({
5875
5870
  formErrorMessage: O
5876
5871
  }));
@@ -5911,7 +5906,7 @@ const Ha = /* @__PURE__ */ V(Ma, [["render", La]]), Ka = {
5911
5906
  }
5912
5907
  }
5913
5908
  }
5914
- }), Xa = ["validate", "action", "method", "name"], _a = {
5909
+ }), Ja = ["validate", "action", "method", "name"], Xa = {
5915
5910
  key: 3,
5916
5911
  class: "builder-form-error-text pre-3i4ezorcfhi"
5917
5912
  };
@@ -5945,16 +5940,16 @@ function Ya(e, t, n, r, o, i) {
5945
5940
  blocks: e.sendingMessage,
5946
5941
  context: e.builderContext
5947
5942
  }, null, 8, ["blocks", "context"])) : M("", !0),
5948
- e.submissionState() === "error" && e.responseData ? (y(), T("pre", _a, Nt(JSON.stringify(e.responseData, null, 2)), 1)) : M("", !0),
5943
+ e.submissionState() === "error" && e.responseData ? (y(), T("pre", Xa, Bt(JSON.stringify(e.responseData, null, 2)), 1)) : M("", !0),
5949
5944
  e.submissionState() === "success" ? (y(), D(u, {
5950
5945
  key: 4,
5951
5946
  path: "successMessage",
5952
5947
  blocks: e.successMessage,
5953
5948
  context: e.builderContext
5954
5949
  }, null, 8, ["blocks", "context"])) : M("", !0)
5955
- ], 16, Xa);
5950
+ ], 16, Ja);
5956
5951
  }
5957
- const Za = /* @__PURE__ */ V(Ja, [["render", Ya], ["__scopeId", "data-v-489330f7"]]), Qa = {
5952
+ const _a = /* @__PURE__ */ V(Ga, [["render", Ya], ["__scopeId", "data-v-489330f7"]]), Za = {
5958
5953
  name: "Form:Input",
5959
5954
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
5960
5955
  inputs: [
@@ -6005,7 +6000,7 @@ const Za = /* @__PURE__ */ V(Ja, [["render", Ya], ["__scopeId", "data-v-489330f7
6005
6000
  borderStyle: "solid",
6006
6001
  borderColor: "#ccc"
6007
6002
  }
6008
- }, el = j({
6003
+ }, Qa = j({
6009
6004
  name: "builder-form-input-component",
6010
6005
  props: [
6011
6006
  "attributes",
@@ -6019,8 +6014,8 @@ const Za = /* @__PURE__ */ V(Ja, [["render", Ya], ["__scopeId", "data-v-489330f7
6019
6014
  data() {
6020
6015
  return { isEditing: le, filterAttrs: me };
6021
6016
  }
6022
- }), tl = ["placeholder", "type", "name", "value", "defaultValue", "required"];
6023
- function nl(e, t, n, r, o, i) {
6017
+ }), el = ["placeholder", "type", "name", "value", "defaultValue", "required"];
6018
+ function tl(e, t, n, r, o, i) {
6024
6019
  return y(), T("input", K({
6025
6020
  key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
6026
6021
  placeholder: e.placeholder,
@@ -6029,9 +6024,9 @@ function nl(e, t, n, r, o, i) {
6029
6024
  value: e.value,
6030
6025
  defaultValue: e.defaultValue,
6031
6026
  required: e.required
6032
- }, e.filterAttrs(e.attributes, "v-on:", !1), pe(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, tl);
6027
+ }, e.filterAttrs(e.attributes, "v-on:", !1), pe(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, el);
6033
6028
  }
6034
- const rl = /* @__PURE__ */ V(el, [["render", nl]]), ol = {
6029
+ const nl = /* @__PURE__ */ V(Qa, [["render", tl]]), rl = {
6035
6030
  name: "Form:Select",
6036
6031
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
6037
6032
  defaultStyles: {
@@ -6073,14 +6068,14 @@ const rl = /* @__PURE__ */ V(el, [["render", nl]]), ol = {
6073
6068
  }],
6074
6069
  static: !0,
6075
6070
  noWrap: !0
6076
- }, il = j({
6071
+ }, ol = j({
6077
6072
  name: "builder-select-component",
6078
6073
  props: ["attributes", "value", "defaultValue", "name", "required", "options"],
6079
6074
  data() {
6080
6075
  return { isEditing: le, filterAttrs: me };
6081
6076
  }
6082
- }), sl = ["value", "defaultValue", "name", "required"], al = ["value"];
6083
- function ll(e, t, n, r, o, i) {
6077
+ }), il = ["value", "defaultValue", "name", "required"], sl = ["value"];
6078
+ function al(e, t, n, r, o, i) {
6084
6079
  return y(), T("select", K({
6085
6080
  value: e.value,
6086
6081
  key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
@@ -6091,10 +6086,10 @@ function ll(e, t, n, r, o, i) {
6091
6086
  (y(!0), T(z, null, fe(e.options, (a, u) => (y(), T("option", {
6092
6087
  key: `${a.name}-${u}`,
6093
6088
  value: a.value
6094
- }, Nt(a.name || a.value), 9, al))), 128))
6095
- ], 16, sl);
6089
+ }, Bt(a.name || a.value), 9, sl))), 128))
6090
+ ], 16, il);
6096
6091
  }
6097
- const ul = /* @__PURE__ */ V(il, [["render", ll]]), cl = {
6092
+ const ll = /* @__PURE__ */ V(ol, [["render", al]]), ul = {
6098
6093
  name: "Form:SubmitButton",
6099
6094
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
6100
6095
  defaultStyles: {
@@ -6119,17 +6114,17 @@ const ul = /* @__PURE__ */ V(il, [["render", ll]]), cl = {
6119
6114
  // that only shows if advanced setting is flipped
6120
6115
  // TODO: defaultChildren
6121
6116
  // canHaveChildren: true,
6122
- }, pl = j({
6117
+ }, cl = j({
6123
6118
  name: "builder-submit-button",
6124
6119
  props: ["attributes", "text"],
6125
6120
  data() {
6126
6121
  return { filterAttrs: me };
6127
6122
  }
6128
6123
  });
6129
- function dl(e, t, n, r, o, i) {
6130
- return y(), T("button", K({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), pe(e.filterAttrs(e.attributes, "v-on:", !0), !0)), Nt(e.text), 17);
6124
+ function pl(e, t, n, r, o, i) {
6125
+ return y(), T("button", K({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), pe(e.filterAttrs(e.attributes, "v-on:", !0), !0)), Bt(e.text), 17);
6131
6126
  }
6132
- const hl = /* @__PURE__ */ V(pl, [["render", dl]]), fl = {
6127
+ const dl = /* @__PURE__ */ V(cl, [["render", pl]]), hl = {
6133
6128
  name: "Form:TextArea",
6134
6129
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
6135
6130
  inputs: [{
@@ -6165,7 +6160,7 @@ const hl = /* @__PURE__ */ V(pl, [["render", dl]]), fl = {
6165
6160
  },
6166
6161
  static: !0,
6167
6162
  noWrap: !0
6168
- }, ml = j({
6163
+ }, fl = j({
6169
6164
  name: "builder-textarea",
6170
6165
  props: [
6171
6166
  "attributes",
@@ -6178,17 +6173,17 @@ const hl = /* @__PURE__ */ V(pl, [["render", dl]]), fl = {
6178
6173
  data() {
6179
6174
  return { filterAttrs: me };
6180
6175
  }
6181
- }), gl = ["placeholder", "name", "value", "defaultValue", "required"];
6182
- function yl(e, t, n, r, o, i) {
6176
+ }), ml = ["placeholder", "name", "value", "defaultValue", "required"];
6177
+ function gl(e, t, n, r, o, i) {
6183
6178
  return y(), T("textarea", K({
6184
6179
  placeholder: e.placeholder,
6185
6180
  name: e.name,
6186
6181
  value: e.value,
6187
6182
  defaultValue: e.defaultValue,
6188
6183
  required: e.required
6189
- }, e.filterAttrs(e.attributes, "v-on:", !1), pe(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, gl);
6184
+ }, e.filterAttrs(e.attributes, "v-on:", !1), pe(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, ml);
6190
6185
  }
6191
- const vl = /* @__PURE__ */ V(ml, [["render", yl]]), bl = {
6186
+ const yl = /* @__PURE__ */ V(fl, [["render", gl]]), vl = {
6192
6187
  // friendlyName?
6193
6188
  name: "Raw:Img",
6194
6189
  hideFromInsertMenu: !0,
@@ -6202,7 +6197,7 @@ const vl = /* @__PURE__ */ V(ml, [["render", yl]]), bl = {
6202
6197
  }],
6203
6198
  noWrap: !0,
6204
6199
  static: !0
6205
- }, kl = j({
6200
+ }, bl = j({
6206
6201
  name: "builder-img-component",
6207
6202
  props: [
6208
6203
  "backgroundSize",
@@ -6215,8 +6210,8 @@ const vl = /* @__PURE__ */ V(ml, [["render", yl]]), bl = {
6215
6210
  data() {
6216
6211
  return { isEditing: le, filterAttrs: me };
6217
6212
  }
6218
- }), Sl = ["alt", "src"];
6219
- function Cl(e, t, n, r, o, i) {
6213
+ }), kl = ["alt", "src"];
6214
+ function Sl(e, t, n, r, o, i) {
6220
6215
  return y(), T("img", K({
6221
6216
  style: {
6222
6217
  objectFit: e.backgroundSize || "cover",
@@ -6225,9 +6220,9 @@ function Cl(e, t, n, r, o, i) {
6225
6220
  key: e.isEditing() && e.imgSrc || "default-key",
6226
6221
  alt: e.altText,
6227
6222
  src: e.imgSrc || e.image
6228
- }, e.filterAttrs(e.attributes, "v-on:", !1), pe(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Sl);
6223
+ }, e.filterAttrs(e.attributes, "v-on:", !1), pe(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, kl);
6229
6224
  }
6230
- const wl = /* @__PURE__ */ V(kl, [["render", Cl]]), Tl = {
6225
+ const Cl = /* @__PURE__ */ V(bl, [["render", Sl]]), wl = {
6231
6226
  name: "Video",
6232
6227
  canHaveChildren: !0,
6233
6228
  defaultStyles: {
@@ -6311,7 +6306,7 @@ const wl = /* @__PURE__ */ V(kl, [["render", Cl]]), Tl = {
6311
6306
  shouldReceiveBuilderProps: {
6312
6307
  builderBlock: !0
6313
6308
  }
6314
- }, El = j({
6309
+ }, Tl = j({
6315
6310
  name: "builder-video",
6316
6311
  props: [
6317
6312
  "autoPlay",
@@ -6356,16 +6351,16 @@ const wl = /* @__PURE__ */ V(kl, [["render", Cl]]), Tl = {
6356
6351
  };
6357
6352
  }
6358
6353
  }
6359
- }), Il = { style: {
6354
+ }), El = { style: {
6360
6355
  position: "relative"
6361
- } }, xl = ["preload", "src", "poster"], Rl = ["src"], Al = {
6356
+ } }, Il = ["preload", "src", "poster"], xl = ["src"], Rl = {
6362
6357
  key: 1,
6363
6358
  style: {
6364
6359
  display: "flex",
6365
6360
  flexDirection: "column",
6366
6361
  alignItems: "stretch"
6367
6362
  }
6368
- }, $l = {
6363
+ }, Al = {
6369
6364
  key: 2,
6370
6365
  style: {
6371
6366
  pointerEvents: "none",
@@ -6379,9 +6374,9 @@ const wl = /* @__PURE__ */ V(kl, [["render", Cl]]), Tl = {
6379
6374
  height: "100%"
6380
6375
  }
6381
6376
  };
6382
- function Pl(e, t, n, r, o, i) {
6377
+ function $l(e, t, n, r, o, i) {
6383
6378
  var a, u, p, m, v, h, S;
6384
- return y(), T("div", Il, [
6379
+ return y(), T("div", El, [
6385
6380
  ft("video", K({
6386
6381
  class: "builder-video",
6387
6382
  preload: e.preload || "metadata",
@@ -6406,8 +6401,8 @@ function Pl(e, t, n, r, o, i) {
6406
6401
  key: 0,
6407
6402
  type: "video/mp4",
6408
6403
  src: e.video
6409
- }, null, 8, Rl))
6410
- ], 16, xl),
6404
+ }, null, 8, xl))
6405
+ ], 16, Il),
6411
6406
  e.aspectRatio && !(e.fitContent && ((p = (u = e.builderBlock) == null ? void 0 : u.children) != null && p.length)) ? (y(), T("div", {
6412
6407
  key: 0,
6413
6408
  style: Oe({
@@ -6417,72 +6412,72 @@ function Pl(e, t, n, r, o, i) {
6417
6412
  fontSize: "0px"
6418
6413
  })
6419
6414
  }, null, 4)) : M("", !0),
6420
- (v = (m = e.builderBlock) == null ? void 0 : m.children) != null && v.length && e.fitContent ? (y(), T("div", Al, [
6415
+ (v = (m = e.builderBlock) == null ? void 0 : m.children) != null && v.length && e.fitContent ? (y(), T("div", Rl, [
6421
6416
  de(e.$slots, "default")
6422
6417
  ])) : M("", !0),
6423
- (S = (h = e.builderBlock) == null ? void 0 : h.children) != null && S.length && !e.fitContent ? (y(), T("div", $l, [
6418
+ (S = (h = e.builderBlock) == null ? void 0 : h.children) != null && S.length && !e.fitContent ? (y(), T("div", Al, [
6424
6419
  de(e.$slots, "default")
6425
6420
  ])) : M("", !0)
6426
6421
  ]);
6427
6422
  }
6428
- const Ol = /* @__PURE__ */ V(El, [["render", Pl]]), jl = () => [{
6429
- component: Va,
6430
- ...Oa
6423
+ const Pl = /* @__PURE__ */ V(Tl, [["render", $l]]), Ol = () => [{
6424
+ component: Na,
6425
+ ...Pa
6426
+ }, {
6427
+ component: La,
6428
+ ...Va
6431
6429
  }, {
6432
- component: Ha,
6433
- ...Da
6430
+ component: _a,
6431
+ ...Ha
6434
6432
  }, {
6435
- component: Za,
6436
- ...Ka
6433
+ component: nl,
6434
+ ...Za
6437
6435
  }, {
6438
- component: rl,
6439
- ...Qa
6436
+ component: dl,
6437
+ ...ul
6440
6438
  }, {
6441
- component: hl,
6442
- ...cl
6439
+ component: ll,
6440
+ ...rl
6443
6441
  }, {
6444
- component: ul,
6445
- ...ol
6442
+ component: yl,
6443
+ ...hl
6446
6444
  }, {
6447
- component: vl,
6448
- ...fl
6445
+ component: Cl,
6446
+ ...vl
6449
6447
  }, {
6450
- component: wl,
6451
- ...bl
6448
+ component: Pl,
6449
+ ...wl
6450
+ }], $r = () => [{
6451
+ component: Ko,
6452
+ ...ca
6452
6453
  }, {
6453
- component: Ol,
6454
- ...Tl
6455
- }], Pr = () => [{
6456
- component: qo,
6454
+ component: Hs,
6457
6455
  ...pa
6458
6456
  }, {
6459
- component: Ks,
6457
+ component: zs,
6460
6458
  ...da
6461
6459
  }, {
6462
- component: Gs,
6460
+ component: ea,
6463
6461
  ...ha
6464
6462
  }, {
6465
- component: ta,
6463
+ component: ra,
6466
6464
  ...fa
6467
6465
  }, {
6468
- component: oa,
6466
+ component: va,
6469
6467
  ...ma
6470
6468
  }, {
6471
- component: ba,
6472
- ...ga
6469
+ component: hu,
6470
+ ...ba
6473
6471
  }, {
6474
- component: fu,
6475
- ...ka
6476
- }, {
6477
- component: Pa,
6478
- ...xa
6472
+ component: $a,
6473
+ ...Ia
6479
6474
  }, {
6480
- component: Ia,
6481
- ...Sa
6475
+ component: Ea,
6476
+ ...ka
6482
6477
  }, {
6483
- component: ca,
6484
- ...ia
6485
- }, ...jl()], Bl = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
6478
+ component: ua,
6479
+ ...oa
6480
+ }, ...Ol()], jl = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
6486
6481
  function getAndSetVariantId() {
6487
6482
  function setCookie(name, value, days) {
6488
6483
  let expires = '';
@@ -6538,7 +6533,7 @@ const Ol = /* @__PURE__ */ V(El, [["render", Pl]]), jl = () => [{
6538
6533
  }).join('');
6539
6534
  styleEl.innerHTML = newStyleStr;
6540
6535
  }
6541
- }`, Nl = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
6536
+ }`, Bl = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
6542
6537
  if (!navigator.cookieEnabled) {
6543
6538
  return;
6544
6539
  }
@@ -6572,27 +6567,27 @@ const Ol = /* @__PURE__ */ V(El, [["render", Pl]]), jl = () => [{
6572
6567
  thisScriptEl?.remove();
6573
6568
  }
6574
6569
  return;
6575
- }`, mo = "builderIoAbTest", go = "builderIoRenderContent", Ot = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
6570
+ }`, fo = "builderIoAbTest", mo = "builderIoRenderContent", Pt = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
6576
6571
  ...t,
6577
6572
  testVariationId: t.id,
6578
6573
  id: e == null ? void 0 : e.id
6579
- })), Vl = ({
6574
+ })), Nl = ({
6580
6575
  canTrack: e,
6581
6576
  content: t
6582
- }) => !(!(Ot(t).length > 0) || !e), Dl = (e) => e === "react" || e === "reactNative", yo = Dl(ue), Ul = () => `
6577
+ }) => !(!(Pt(t).length > 0) || !e), Vl = (e) => e === "react" || e === "reactNative", go = Vl(ue), Dl = () => `
6578
+ window.${fo} = ${jl}
6583
6579
  window.${mo} = ${Bl}
6584
- window.${go} = ${Nl}
6585
- `, Fl = (e, t) => `
6586
- window.${mo}(
6587
- "${t}",${JSON.stringify(e)}, ${yo}
6588
- )`, Ml = ({
6580
+ `, Ul = (e, t) => `
6581
+ window.${fo}(
6582
+ "${t}",${JSON.stringify(e)}, ${go}
6583
+ )`, Fl = ({
6589
6584
  contentId: e,
6590
6585
  variationId: t
6591
- }) => `window.${go}(
6592
- "${t}", "${e}", ${yo}
6593
- )`, vo = j({
6586
+ }) => `window.${mo}(
6587
+ "${t}", "${e}", ${go}
6588
+ )`, yo = j({
6594
6589
  render() {
6595
- return Br("script", {
6590
+ return jr("script", {
6596
6591
  innerHTML: this.scriptStr,
6597
6592
  "data-id": this.id,
6598
6593
  nonce: this.nonce
@@ -6601,10 +6596,10 @@ const Ol = /* @__PURE__ */ V(El, [["render", Pl]]), jl = () => [{
6601
6596
  name: "inlined-script",
6602
6597
  props: ["scriptStr", "id", "nonce"]
6603
6598
  });
6604
- function Or(e) {
6599
+ function Pr(e) {
6605
6600
  return Math.round(e * 1e3) / 1e3;
6606
6601
  }
6607
- const Wl = (e, t, n = !0) => {
6602
+ const Ml = (e, t, n = !0) => {
6608
6603
  if (!(e instanceof HTMLElement))
6609
6604
  return null;
6610
6605
  let r = n ? e : e.parentElement;
@@ -6615,35 +6610,35 @@ const Wl = (e, t, n = !0) => {
6615
6610
  return r;
6616
6611
  } while (r = r.parentElement);
6617
6612
  return null;
6618
- }, Ll = (e) => Wl(e, (t) => {
6613
+ }, Wl = (e) => Ml(e, (t) => {
6619
6614
  const n = t.getAttribute("builder-id") || t.id;
6620
6615
  return (n == null ? void 0 : n.indexOf("builder-")) === 0;
6621
- }), jr = ({
6616
+ }), Or = ({
6622
6617
  event: e,
6623
6618
  target: t
6624
6619
  }) => {
6625
- const n = t.getBoundingClientRect(), r = e.clientX - n.left, o = e.clientY - n.top, i = Or(r / n.width), a = Or(o / n.height);
6620
+ const n = t.getBoundingClientRect(), r = e.clientX - n.left, o = e.clientY - n.top, i = Pr(r / n.width), a = Pr(o / n.height);
6626
6621
  return {
6627
6622
  x: i,
6628
6623
  y: a
6629
6624
  };
6630
- }, Hl = (e) => {
6631
- const t = e.target, n = t && Ll(t), r = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
6625
+ }, Ll = (e) => {
6626
+ const t = e.target, n = t && Wl(t), r = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
6632
6627
  return {
6633
6628
  targetBuilderElement: r || void 0,
6634
6629
  metadata: {
6635
- targetOffset: t ? jr({
6630
+ targetOffset: t ? Or({
6636
6631
  event: e,
6637
6632
  target: t
6638
6633
  }) : void 0,
6639
- builderTargetOffset: n ? jr({
6634
+ builderTargetOffset: n ? Or({
6640
6635
  event: e,
6641
6636
  target: n
6642
6637
  }) : void 0,
6643
6638
  builderElementIndex: n && r ? [].slice.call(document.getElementsByClassName(r)).indexOf(n) : void 0
6644
6639
  }
6645
6640
  };
6646
- }, Kl = (e) => {
6641
+ }, Hl = (e) => {
6647
6642
  var i;
6648
6643
  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);
6649
6644
  let o = "";
@@ -6669,15 +6664,15 @@ font-weight: ${a};
6669
6664
  `.trim());
6670
6665
  }
6671
6666
  return o;
6672
- }, ql = ({
6667
+ }, Kl = ({
6673
6668
  customFonts: e
6674
6669
  }) => {
6675
6670
  var t;
6676
- return ((t = e == null ? void 0 : e.map((n) => Kl(n))) == null ? void 0 : t.join(" ")) || "";
6677
- }, zl = ({
6671
+ return ((t = e == null ? void 0 : e.map((n) => Hl(n))) == null ? void 0 : t.join(" ")) || "";
6672
+ }, ql = ({
6678
6673
  cssCode: e,
6679
6674
  contentId: t
6680
- }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Gl = `
6675
+ }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", zl = `
6681
6676
  .builder-button {
6682
6677
  all: unset;
6683
6678
  }
@@ -6694,7 +6689,7 @@ font-weight: ${a};
6694
6689
  text-align: inherit;
6695
6690
  font-family: inherit;
6696
6691
  }
6697
- `, Jl = (e) => e ? "" : Gl, Xl = (e) => `variant-${e}`, _l = j({
6692
+ `, Gl = (e) => e ? "" : zl, Jl = (e) => `variant-${e}`, Xl = j({
6698
6693
  name: "enable-editor",
6699
6694
  components: { DynamicDiv: Ct },
6700
6695
  props: [
@@ -6718,25 +6713,25 @@ font-weight: ${a};
6718
6713
  httpReqsData: {},
6719
6714
  httpReqsPending: {},
6720
6715
  clicked: !1,
6721
- builderContext: mn,
6722
- getWrapperClassName: Xl
6716
+ builderContext: fn,
6717
+ getWrapperClassName: Jl
6723
6718
  };
6724
6719
  },
6725
6720
  provide() {
6726
6721
  const e = this;
6727
6722
  return {
6728
- [mn.key]: e.builderContextSignal
6723
+ [fn.key]: e.builderContextSignal
6729
6724
  };
6730
6725
  },
6731
6726
  mounted() {
6732
6727
  (() => {
6733
6728
  var n, r;
6734
- if (_()) {
6729
+ if (Y()) {
6735
6730
  if (le() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
6736
6731
  new CustomEvent("initeditingbldr")
6737
6732
  ), this.builderContextSignal.content && bt(this.canTrack)) {
6738
6733
  const i = (n = this.builderContextSignal.content) == null ? void 0 : n.testVariationId, a = (r = this.builderContextSignal.content) == null ? void 0 : r.id, u = this.apiKey;
6739
- kn({
6734
+ bn({
6740
6735
  type: "impression",
6741
6736
  canTrack: !0,
6742
6737
  contentId: a,
@@ -6744,7 +6739,7 @@ font-weight: ${a};
6744
6739
  variationId: i !== a ? i : void 0
6745
6740
  });
6746
6741
  }
6747
- Ai() && !le() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
6742
+ Ri() && !le() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
6748
6743
  new CustomEvent("initpreviewingbldr")
6749
6744
  );
6750
6745
  }
@@ -6795,7 +6790,7 @@ font-weight: ${a};
6795
6790
  }
6796
6791
  },
6797
6792
  unmounted() {
6798
- _() && (window.removeEventListener("message", this.processMessage), window.removeEventListener(
6793
+ Y() && (window.removeEventListener("message", this.processMessage), window.removeEventListener(
6799
6794
  "builder:component:stateChangeListenerActivated",
6800
6795
  this.emitStateUpdate
6801
6796
  ));
@@ -6867,7 +6862,7 @@ font-weight: ${a};
6867
6862
  this.builderContextSignal.content = t;
6868
6863
  },
6869
6864
  processMessage(e) {
6870
- return no({
6865
+ return to({
6871
6866
  model: this.model,
6872
6867
  trustedHosts: this.trustedHosts,
6873
6868
  callbacks: {
@@ -6881,7 +6876,7 @@ font-weight: ${a};
6881
6876
  });
6882
6877
  },
6883
6878
  animation: (t) => {
6884
- co(t);
6879
+ uo(t);
6885
6880
  },
6886
6881
  contentUpdate: (t) => {
6887
6882
  this.mergeNewContent(t);
@@ -6908,13 +6903,13 @@ font-weight: ${a};
6908
6903
  var t, n;
6909
6904
  if (this.builderContextSignal.content) {
6910
6905
  const r = (t = this.builderContextSignal.content) == null ? void 0 : t.testVariationId, o = (n = this.builderContextSignal.content) == null ? void 0 : n.id;
6911
- kn({
6906
+ bn({
6912
6907
  type: "click",
6913
6908
  canTrack: bt(this.canTrack),
6914
6909
  contentId: o,
6915
6910
  apiKey: this.apiKey,
6916
6911
  variationId: r !== o ? r : void 0,
6917
- ...Hl(e),
6912
+ ...Ll(e),
6918
6913
  unique: !this.clicked
6919
6914
  });
6920
6915
  }
@@ -6940,7 +6935,7 @@ font-weight: ${a};
6940
6935
  })
6941
6936
  )
6942
6937
  );
6943
- so(i).then((a) => a.json()).then((a) => {
6938
+ io(i).then((a) => a.json()).then((a) => {
6944
6939
  this.mergeNewRootState({
6945
6940
  [r]: a
6946
6941
  }), this.httpReqsData[r] = !0;
@@ -6957,7 +6952,7 @@ font-weight: ${a};
6957
6952
  "builder:component:stateChange",
6958
6953
  {
6959
6954
  detail: {
6960
- state: Nn(this.builderContextSignal.rootState),
6955
+ state: Bn(this.builderContextSignal.rootState),
6961
6956
  ref: {
6962
6957
  name: this.model
6963
6958
  }
@@ -6967,7 +6962,7 @@ font-weight: ${a};
6967
6962
  );
6968
6963
  },
6969
6964
  elementRef_onIniteditingbldr(e) {
6970
- window.addEventListener("message", this.processMessage), Zi(), to({
6965
+ window.addEventListener("message", this.processMessage), _i(), eo({
6971
6966
  ...this.locale ? {
6972
6967
  locale: this.locale
6973
6968
  } : {},
@@ -6981,7 +6976,7 @@ font-weight: ${a};
6981
6976
  this.builderContextSignal.componentInfos
6982
6977
  ).forEach((t) => {
6983
6978
  var r;
6984
- const n = $i(t);
6979
+ const n = Ai(t);
6985
6980
  (r = window.parent) == null || r.postMessage(n, "*");
6986
6981
  }), window.addEventListener(
6987
6982
  "builder:component:stateChangeListenerActivated",
@@ -6992,7 +6987,7 @@ font-weight: ${a};
6992
6987
  const t = new URL(location.href).searchParams, n = t.get("builder.preview"), r = t.get(
6993
6988
  `builder.overrides.${n}`
6994
6989
  ), o = t.get("apiKey") || t.get("builder.space");
6995
- n === this.model && o === this.apiKey && (!this.content || r === this.content.id) && Un({
6990
+ n === this.model && o === this.apiKey && (!this.content || r === this.content.id) && Dn({
6996
6991
  model: this.model,
6997
6992
  apiKey: this.apiKey,
6998
6993
  apiVersion: this.builderContextSignal.apiVersion
@@ -7020,26 +7015,26 @@ function Yl(e, t, n, r, o, i) {
7020
7015
  _: 3
7021
7016
  }, 16, ["onClick", "builder-content-id", "builder-model", "class", "onIniteditingbldr", "onInitpreviewingbldr"])) : M("", !0);
7022
7017
  }
7023
- const Zl = /* @__PURE__ */ V(_l, [["render", Yl]]), Ql = j({
7018
+ const _l = /* @__PURE__ */ V(Xl, [["render", Yl]]), Zl = j({
7024
7019
  name: "content-styles",
7025
- components: { InlinedStyles: Wn },
7020
+ components: { InlinedStyles: Mn },
7026
7021
  props: ["cssCode", "contentId", "customFonts", "isNestedRender", "nonce"],
7027
7022
  data() {
7028
7023
  return {
7029
7024
  injectedStyles: `
7030
- ${zl({
7025
+ ${ql({
7031
7026
  cssCode: this.cssCode,
7032
7027
  contentId: this.contentId
7033
7028
  })}
7034
- ${ql({
7029
+ ${Kl({
7035
7030
  customFonts: this.customFonts
7036
7031
  })}
7037
- ${Jl(this.isNestedRender)}
7032
+ ${Gl(this.isNestedRender)}
7038
7033
  `.trim()
7039
7034
  };
7040
7035
  }
7041
7036
  });
7042
- function eu(e, t, n, r, o, i) {
7037
+ function Ql(e, t, n, r, o, i) {
7043
7038
  const a = U("InlinedStyles");
7044
7039
  return y(), D(a, {
7045
7040
  id: "builderio-content",
@@ -7047,7 +7042,7 @@ function eu(e, t, n, r, o, i) {
7047
7042
  nonce: e.nonce
7048
7043
  }, null, 8, ["styles", "nonce"]);
7049
7044
  }
7050
- const tu = /* @__PURE__ */ V(Ql, [["render", eu]]), nu = ({
7045
+ const eu = /* @__PURE__ */ V(Zl, [["render", Ql]]), tu = ({
7051
7046
  content: e,
7052
7047
  data: t,
7053
7048
  locale: n
@@ -7064,7 +7059,7 @@ const tu = /* @__PURE__ */ V(Ql, [["render", eu]]), nu = ({
7064
7059
  locale: n
7065
7060
  } : {}
7066
7061
  };
7067
- }, ru = ({
7062
+ }, nu = ({
7068
7063
  content: e,
7069
7064
  data: t
7070
7065
  }) => e ? {
@@ -7074,12 +7069,12 @@ const tu = /* @__PURE__ */ V(Ql, [["render", eu]]), nu = ({
7074
7069
  ...t
7075
7070
  },
7076
7071
  meta: e == null ? void 0 : e.meta
7077
- } : void 0, ou = Uo, iu = j({
7072
+ } : void 0, ru = Do, ou = j({
7078
7073
  name: "content-component",
7079
7074
  components: {
7080
- EnableEditor: Zl,
7081
- InlinedScript: vo,
7082
- ContentStyles: tu,
7075
+ EnableEditor: _l,
7076
+ InlinedScript: yo,
7077
+ ContentStyles: eu,
7083
7078
  Blocks: Xe,
7084
7079
  DynamicDiv: Ct
7085
7080
  },
@@ -7108,32 +7103,32 @@ const tu = /* @__PURE__ */ V(Ql, [["render", eu]]), nu = ({
7108
7103
  data() {
7109
7104
  var e, t, n, r;
7110
7105
  return {
7111
- scriptStr: Ml({
7106
+ scriptStr: Fl({
7112
7107
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
7113
7108
  variationId: (e = this.content) == null ? void 0 : e.testVariationId,
7114
7109
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
7115
7110
  contentId: (t = this.content) == null ? void 0 : t.id
7116
7111
  }),
7117
7112
  registeredComponents: [
7118
- ...Pr(),
7113
+ ...$r(),
7119
7114
  ...((n = this.customComponents) == null ? void 0 : n.filter(({ models: o }) => !(o != null && o.length) || !this.model ? !0 : o.includes(this.model))) || []
7120
7115
  ].reduce(
7121
7116
  (o, { component: i, ...a }) => ({
7122
7117
  ...o,
7123
7118
  [a.name]: {
7124
- component: ou(i),
7125
- ...Bt(a)
7119
+ component: ru(i),
7120
+ ...jt(a)
7126
7121
  }
7127
7122
  }),
7128
7123
  {}
7129
7124
  ),
7130
7125
  builderContextSignal: {
7131
- content: ru({
7126
+ content: nu({
7132
7127
  content: this.content,
7133
7128
  data: this.data
7134
7129
  }),
7135
7130
  localState: void 0,
7136
- rootState: nu({
7131
+ rootState: tu({
7137
7132
  content: this.content,
7138
7133
  data: this.data,
7139
7134
  locale: this.locale
@@ -7144,12 +7139,12 @@ const tu = /* @__PURE__ */ V(Ql, [["render", eu]]), nu = ({
7144
7139
  apiKey: this.apiKey,
7145
7140
  apiVersion: this.apiVersion,
7146
7141
  componentInfos: [
7147
- ...Pr(),
7142
+ ...$r(),
7148
7143
  ...((r = this.customComponents) == null ? void 0 : r.filter(({ models: o }) => !(o != null && o.length) || !this.model ? !0 : o.includes(this.model))) || []
7149
7144
  ].reduce(
7150
7145
  (o, { component: i, ...a }) => ({
7151
7146
  ...o,
7152
- [a.name]: Bt(a)
7147
+ [a.name]: jt(a)
7153
7148
  }),
7154
7149
  {}
7155
7150
  ),
@@ -7164,7 +7159,7 @@ const tu = /* @__PURE__ */ V(Ql, [["render", eu]]), nu = ({
7164
7159
  provide() {
7165
7160
  const e = this;
7166
7161
  return {
7167
- [Nr.key]: {
7162
+ [Br.key]: {
7168
7163
  registeredComponents: e.registeredComponents
7169
7164
  }
7170
7165
  };
@@ -7175,7 +7170,7 @@ const tu = /* @__PURE__ */ V(Ql, [["render", eu]]), nu = ({
7175
7170
  }
7176
7171
  }
7177
7172
  });
7178
- function su(e, t, n, r, o, i) {
7173
+ function iu(e, t, n, r, o, i) {
7179
7174
  const a = U("InlinedScript"), u = U("ContentStyles"), p = U("Blocks"), m = U("EnableEditor");
7180
7175
  return y(), D(m, K({
7181
7176
  nonce: e.nonce,
@@ -7194,7 +7189,7 @@ function su(e, t, n, r, o, i) {
7194
7189
  trustedHosts: e.trustedHosts
7195
7190
  }, {}), {
7196
7191
  default: Ee(() => {
7197
- var v, h, S, P, O, Q, Y;
7192
+ var v, h, S, P, O, Q, _;
7198
7193
  return [
7199
7194
  e.isSsrAbTest ? (y(), D(a, {
7200
7195
  key: 0,
@@ -7211,7 +7206,7 @@ function su(e, t, n, r, o, i) {
7211
7206
  customFonts: (O = (P = e.builderContextSignal.content) == null ? void 0 : P.data) == null ? void 0 : O.customFonts
7212
7207
  }, null, 8, ["nonce", "isNestedRender", "contentId", "cssCode", "customFonts"])) : M("", !0),
7213
7208
  ie(p, {
7214
- blocks: (Y = (Q = e.builderContextSignal.content) == null ? void 0 : Q.data) == null ? void 0 : Y.blocks,
7209
+ blocks: (_ = (Q = e.builderContextSignal.content) == null ? void 0 : Q.data) == null ? void 0 : _.blocks,
7215
7210
  context: e.builderContextSignal,
7216
7211
  registeredComponents: e.registeredComponents,
7217
7212
  linkComponent: e.linkComponent
@@ -7221,12 +7216,12 @@ function su(e, t, n, r, o, i) {
7221
7216
  _: 1
7222
7217
  }, 16, ["nonce", "content", "data", "model", "context", "apiKey", "canTrack", "locale", "enrich", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps", "trustedHosts"]);
7223
7218
  }
7224
- const au = /* @__PURE__ */ V(iu, [["render", su]]), lu = j({
7219
+ const su = /* @__PURE__ */ V(ou, [["render", iu]]), au = j({
7225
7220
  name: "content-variants",
7226
7221
  components: {
7227
- InlinedScript: vo,
7228
- InlinedStyles: Wn,
7229
- ContentComponent: au
7222
+ InlinedScript: yo,
7223
+ InlinedStyles: Mn,
7224
+ ContentComponent: su
7230
7225
  },
7231
7226
  props: [
7232
7227
  "canTrack",
@@ -7250,13 +7245,13 @@ const au = /* @__PURE__ */ V(iu, [["render", su]]), lu = j({
7250
7245
  ],
7251
7246
  data() {
7252
7247
  return {
7253
- shouldRenderVariants: Vl({
7248
+ shouldRenderVariants: Nl({
7254
7249
  canTrack: bt(this.canTrack),
7255
7250
  content: this.content
7256
7251
  }),
7257
7252
  TARGET: ue,
7258
- getInitVariantsFnsScriptString: Ul,
7259
- getVariants: Ot
7253
+ getInitVariantsFnsScriptString: Dl,
7254
+ getVariants: Pt
7260
7255
  };
7261
7256
  },
7262
7257
  mounted() {
@@ -7264,8 +7259,8 @@ const au = /* @__PURE__ */ V(iu, [["render", su]]), lu = j({
7264
7259
  computed: {
7265
7260
  updateCookieAndStylesScriptStr() {
7266
7261
  var e;
7267
- return Fl(
7268
- Ot(this.content).map((t) => ({
7262
+ return Ul(
7263
+ Pt(this.content).map((t) => ({
7269
7264
  id: t.testVariationId,
7270
7265
  testRatio: t.testRatio
7271
7266
  })),
@@ -7273,21 +7268,21 @@ const au = /* @__PURE__ */ V(iu, [["render", su]]), lu = j({
7273
7268
  );
7274
7269
  },
7275
7270
  hideVariantsStyleString() {
7276
- return Ot(this.content).map((e) => `.variant-${e.testVariationId} { display: none; } `).join("");
7271
+ return Pt(this.content).map((e) => `.variant-${e.testVariationId} { display: none; } `).join("");
7277
7272
  },
7278
7273
  defaultContent() {
7279
7274
  var e;
7280
7275
  return this.shouldRenderVariants ? {
7281
7276
  ...this.content,
7282
7277
  testVariationId: (e = this.content) == null ? void 0 : e.id
7283
- } : os({
7278
+ } : rs({
7284
7279
  item: this.content,
7285
7280
  canTrack: bt(this.canTrack)
7286
7281
  });
7287
7282
  }
7288
7283
  }
7289
7284
  });
7290
- function uu(e, t, n, r, o, i) {
7285
+ function lu(e, t, n, r, o, i) {
7291
7286
  const a = U("InlinedScript"), u = U("InlinedStyles"), p = U("ContentComponent");
7292
7287
  return y(), T(z, null, [
7293
7288
  !e.isNestedRender && e.TARGET !== "reactNative" ? (y(), D(a, {
@@ -7357,13 +7352,13 @@ function uu(e, t, n, r, o, i) {
7357
7352
  }), null, 16, ["nonce", "isNestedRender", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"])
7358
7353
  ], 64);
7359
7354
  }
7360
- const cu = /* @__PURE__ */ V(lu, [["render", uu]]), pu = async ({
7355
+ const uu = /* @__PURE__ */ V(au, [["render", lu]]), cu = async ({
7361
7356
  builderContextValue: e,
7362
7357
  symbol: t
7363
7358
  }) => {
7364
7359
  if (t != null && t.model && // This is a hack, we should not need to check for this, but it is needed for Svelte.
7365
7360
  (e != null && e.apiKey))
7366
- return Un({
7361
+ return Dn({
7367
7362
  model: t.model,
7368
7363
  apiKey: e.apiKey,
7369
7364
  apiVersion: e.apiVersion,
@@ -7375,9 +7370,9 @@ const cu = /* @__PURE__ */ V(lu, [["render", uu]]), pu = async ({
7375
7370
  }).catch((n) => {
7376
7371
  se.error("Could not fetch symbol content: ", n);
7377
7372
  });
7378
- }, du = j({
7373
+ }, pu = j({
7379
7374
  name: "builder-symbol",
7380
- components: { ContentVariants: cu, DynamicDiv: Ct },
7375
+ components: { ContentVariants: uu, DynamicDiv: Ct },
7381
7376
  props: [
7382
7377
  "symbol",
7383
7378
  "attributes",
@@ -7412,7 +7407,7 @@ const cu = /* @__PURE__ */ V(lu, [["render", uu]]), pu = async ({
7412
7407
  className() {
7413
7408
  var e, t;
7414
7409
  return [
7415
- this.attributes[jt()],
7410
+ this.attributes[Ot()],
7416
7411
  "builder-symbol",
7417
7412
  (e = this.symbol) != null && e.inline ? "builder-inline-symbol" : void 0,
7418
7413
  (t = this.symbol) != null && t.dynamic || this.dynamic ? "builder-dynamic-symbol" : void 0
@@ -7426,7 +7421,7 @@ const cu = /* @__PURE__ */ V(lu, [["render", uu]]), pu = async ({
7426
7421
  },
7427
7422
  methods: {
7428
7423
  setContent() {
7429
- this.contentToUse || pu({
7424
+ this.contentToUse || cu({
7430
7425
  symbol: this.symbol,
7431
7426
  builderContextValue: this.builderContext
7432
7427
  }).then((e) => {
@@ -7435,7 +7430,7 @@ const cu = /* @__PURE__ */ V(lu, [["render", uu]]), pu = async ({
7435
7430
  }
7436
7431
  }
7437
7432
  });
7438
- function hu(e, t, n, r, o, i) {
7433
+ function du(e, t, n, r, o, i) {
7439
7434
  var u, p, m, v, h;
7440
7435
  const a = U("ContentVariants");
7441
7436
  return y(), T("div", K({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, pe(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
@@ -7463,44 +7458,43 @@ function hu(e, t, n, r, o, i) {
7463
7458
  }, null, 8, ["nonce", "apiVersion", "apiKey", "context", "customComponents", "data", "canTrack", "model", "content", "linkComponent", "blocksWrapper", "contentWrapper"])
7464
7459
  ], 16);
7465
7460
  }
7466
- const fu = /* @__PURE__ */ V(du, [["render", hu]]);
7461
+ const hu = /* @__PURE__ */ V(pu, [["render", du]]);
7467
7462
  export {
7468
- ds as A,
7469
- Mn as B,
7470
- Ks as C,
7471
- Un as D,
7472
- yu as E,
7473
- Gs as F,
7474
- Tu as G,
7475
- ta as I,
7476
- oa as S,
7477
- ue as T,
7478
- Ol as V,
7479
- Wn as _,
7463
+ Dn as A,
7464
+ Fn as B,
7465
+ Hs as C,
7466
+ yu as D,
7467
+ Tu as E,
7468
+ zs as F,
7469
+ ea as I,
7470
+ ra as S,
7471
+ $a as T,
7472
+ Pl as V,
7473
+ Mn as _,
7480
7474
  Cu as a,
7481
7475
  Eu as b,
7482
7476
  Be as c,
7483
- Fn as d,
7477
+ Un as d,
7484
7478
  V as e,
7485
7479
  vt as f,
7486
- Ms as g,
7480
+ Fs as g,
7487
7481
  wu as h,
7488
- jt as i,
7489
- mn as j,
7490
- qo as k,
7491
- fu as l,
7492
- Pa as m,
7493
- Xe as n,
7494
- cu as o,
7495
- le as p,
7482
+ Ot as i,
7483
+ fn as j,
7484
+ Ko as k,
7485
+ hu as l,
7486
+ Xe as m,
7487
+ uu as n,
7488
+ le as o,
7489
+ Ri as p,
7496
7490
  Ai as q,
7497
- $i as r,
7498
- Oi as s,
7499
- vu as t,
7500
- zr as u,
7501
- bu as v,
7502
- ou as w,
7503
- ku as x,
7504
- Su as y,
7491
+ Pi as r,
7492
+ vu as s,
7493
+ qr as t,
7494
+ bu as u,
7495
+ ku as v,
7496
+ ru as w,
7497
+ Su as x,
7498
+ cs as y,
7505
7499
  ps as z
7506
7500
  };