@builder.io/sdk-vue 2.0.14-6 → 2.0.15

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