@builder.io/sdk-vue 3.0.5 → 3.0.7

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 (102) hide show
  1. package/lib/browser/{awaiter-xWDd6I0t.cjs → awaiter-_VmV8-WL.cjs} +1 -1
  2. package/lib/browser/{awaiter-HIb4sYti.js → awaiter-qTJKqZvs.js} +1 -1
  3. package/lib/browser/block-styles-lDAdx_vR.cjs +1 -0
  4. package/lib/browser/block-styles-lH0YkYH7.js +84 -0
  5. package/lib/browser/{block-wrapper-AGYEnT9b.cjs → block-wrapper-8blpYCju.cjs} +1 -1
  6. package/lib/browser/{block-wrapper-wgruUtvA.js → block-wrapper-bJ0fGq-G.js} +3 -3
  7. package/lib/browser/blocks/personalization-container/component-info.d.ts +2 -0
  8. package/lib/browser/blocks/personalization-container/helpers/inlined-fns.d.ts +8 -0
  9. package/lib/browser/blocks/personalization-container/helpers.d.ts +27 -0
  10. package/lib/browser/blocks/personalization-container/index.d.ts +1 -0
  11. package/lib/browser/blocks/personalization-container/personalization-container.types.d.ts +14 -0
  12. package/lib/browser/blocks/personalization-container/personalization-container.vue.d.ts +33 -0
  13. package/lib/browser/{component-ref-vtmUy--R.js → component-ref-0bMZghu6.js} +3 -3
  14. package/lib/browser/{component-ref-L4m5v5Wy.cjs → component-ref-iWkUvVQ1.cjs} +1 -1
  15. package/lib/browser/components/content-variants/content-variants.vue.d.ts +3 -1
  16. package/lib/browser/constants/device-sizes.d.ts +3 -2
  17. package/lib/browser/constants/sdk-version.d.ts +1 -1
  18. package/lib/browser/{get-block-properties-w5SNmgYD.cjs → get-block-properties--ucCo9kV.cjs} +1 -1
  19. package/lib/browser/{get-block-properties-8WqRWNVK.js → get-block-properties-GmG9ANiw.js} +1 -1
  20. package/lib/browser/helpers/user-attributes.d.ts +17 -0
  21. package/lib/browser/{index-E3hEz780.js → index-2YUdegEe.js} +696 -637
  22. package/lib/browser/index-E49duuRO.cjs +166 -0
  23. package/lib/browser/index-helpers/blocks-exports.d.ts +1 -0
  24. package/lib/browser/index.cjs +1 -1
  25. package/lib/browser/index.mjs +17 -16
  26. package/lib/browser/{repeated-block-vu-vd9Qj.js → repeated-block-8jINQA8S.js} +2 -2
  27. package/lib/browser/{repeated-block-YYmu12kh.cjs → repeated-block-UJDFjjRg.cjs} +1 -1
  28. package/lib/browser/style.css +1 -1
  29. package/lib/browser/types/builder-block.d.ts +0 -1
  30. package/lib/browser/types/builder-content.d.ts +1 -0
  31. package/lib/browser/types/input.d.ts +1 -0
  32. package/lib/edge/{awaiter-ViNwDb7Z.js → awaiter-dkTgJJe3.js} +1 -1
  33. package/lib/edge/{awaiter-CUt_5Lvh.cjs → awaiter-sFS-93DB.cjs} +1 -1
  34. package/lib/edge/block-styles-DTOwjSm1.cjs +1 -0
  35. package/lib/edge/block-styles-wmTk1mW4.js +83 -0
  36. package/lib/edge/{block-wrapper-UDhPsV2i.js → block-wrapper-J-1Axz3t.js} +3 -3
  37. package/lib/edge/{block-wrapper-RT3WZdPP.cjs → block-wrapper-o_f6DJmU.cjs} +1 -1
  38. package/lib/edge/blocks/personalization-container/component-info.d.ts +2 -0
  39. package/lib/edge/blocks/personalization-container/helpers/inlined-fns.d.ts +8 -0
  40. package/lib/edge/blocks/personalization-container/helpers.d.ts +27 -0
  41. package/lib/edge/blocks/personalization-container/index.d.ts +1 -0
  42. package/lib/edge/blocks/personalization-container/personalization-container.types.d.ts +14 -0
  43. package/lib/edge/blocks/personalization-container/personalization-container.vue.d.ts +33 -0
  44. package/lib/edge/{component-ref-8TcFZYaz.js → component-ref-1WyqPeY5.js} +3 -3
  45. package/lib/edge/{component-ref-wjx7VJFz.cjs → component-ref-jkAXgekK.cjs} +1 -1
  46. package/lib/edge/components/content-variants/content-variants.vue.d.ts +3 -1
  47. package/lib/edge/constants/device-sizes.d.ts +3 -2
  48. package/lib/edge/constants/sdk-version.d.ts +1 -1
  49. package/lib/edge/{get-block-properties-N5o1BfSo.js → get-block-properties-SOGDuFLz.js} +1 -1
  50. package/lib/edge/{get-block-properties-VI0RpGQw.cjs → get-block-properties-eToBRju4.cjs} +1 -1
  51. package/lib/edge/helpers/user-attributes.d.ts +17 -0
  52. package/lib/edge/{index-taUiLCrC.js → index-LOoRAk_r.js} +1042 -983
  53. package/lib/edge/index-helpers/blocks-exports.d.ts +1 -0
  54. package/lib/edge/{index-aOfrtP4-.cjs → index-oO_aT5Rz.cjs} +31 -31
  55. package/lib/edge/index.cjs +1 -1
  56. package/lib/edge/index.mjs +18 -17
  57. package/lib/edge/{repeated-block-6gIkzT9B.js → repeated-block-1uIsduO3.js} +2 -2
  58. package/lib/{node/repeated-block-t1xK6Eml.cjs → edge/repeated-block-piEzdkXp.cjs} +1 -1
  59. package/lib/edge/style.css +1 -1
  60. package/lib/edge/types/builder-block.d.ts +0 -1
  61. package/lib/edge/types/builder-content.d.ts +1 -0
  62. package/lib/edge/types/input.d.ts +1 -0
  63. package/lib/node/{awaiter-YFLE2xNK.js → awaiter-UFOtT7L8.js} +1 -1
  64. package/lib/node/{awaiter-iLczFafd.cjs → awaiter-jCPGz_Rp.cjs} +1 -1
  65. package/lib/node/block-styles-Mep1iE0i.js +84 -0
  66. package/lib/node/block-styles-lcdbB-wV.cjs +1 -0
  67. package/lib/node/{block-wrapper-pNzy0_tb.cjs → block-wrapper-uBIml2eB.cjs} +1 -1
  68. package/lib/node/{block-wrapper-T3bTZ7up.js → block-wrapper-x9D9uSna.js} +3 -3
  69. package/lib/node/blocks/personalization-container/component-info.d.ts +2 -0
  70. package/lib/node/blocks/personalization-container/helpers/inlined-fns.d.ts +8 -0
  71. package/lib/node/blocks/personalization-container/helpers.d.ts +27 -0
  72. package/lib/node/blocks/personalization-container/index.d.ts +1 -0
  73. package/lib/node/blocks/personalization-container/personalization-container.types.d.ts +14 -0
  74. package/lib/node/blocks/personalization-container/personalization-container.vue.d.ts +33 -0
  75. package/lib/node/{component-ref-_L8PY6Zh.js → component-ref-9gTDdATc.js} +3 -3
  76. package/lib/node/{component-ref-oTG7sOLn.cjs → component-ref-p3j6uPhu.cjs} +1 -1
  77. package/lib/node/components/content-variants/content-variants.vue.d.ts +3 -1
  78. package/lib/node/constants/device-sizes.d.ts +3 -2
  79. package/lib/node/constants/sdk-version.d.ts +1 -1
  80. package/lib/node/{get-block-properties-P-xnWokf.cjs → get-block-properties-vwOB6lOq.cjs} +1 -1
  81. package/lib/node/{get-block-properties-3rEDCEQD.js → get-block-properties-y5lDJfV_.js} +1 -1
  82. package/lib/node/helpers/user-attributes.d.ts +17 -0
  83. package/lib/node/index-QWfv1anA.cjs +166 -0
  84. package/lib/node/index-helpers/blocks-exports.d.ts +1 -0
  85. package/lib/node/{index-wtum4hyc.js → index-szuN3te-.js} +820 -761
  86. package/lib/node/index.cjs +1 -1
  87. package/lib/node/index.mjs +13 -12
  88. package/lib/node/{repeated-block-jEy76re4.js → repeated-block-JpsRnqSc.js} +2 -2
  89. package/lib/{edge/repeated-block-qe-61pYU.cjs → node/repeated-block-zqReezoZ.cjs} +1 -1
  90. package/lib/node/style.css +1 -1
  91. package/lib/node/types/builder-block.d.ts +0 -1
  92. package/lib/node/types/builder-content.d.ts +1 -0
  93. package/lib/node/types/input.d.ts +1 -0
  94. package/package.json +1 -1
  95. package/lib/browser/block-styles-a3Qov2aa.cjs +0 -1
  96. package/lib/browser/block-styles-lsb_KdIv.js +0 -76
  97. package/lib/browser/index-kRaZYwBL.cjs +0 -166
  98. package/lib/edge/block-styles-EM6CqjQV.cjs +0 -1
  99. package/lib/edge/block-styles-UWqIwj6d.js +0 -75
  100. package/lib/node/block-styles-X0Yal7gl.cjs +0 -1
  101. package/lib/node/block-styles-puDhatJi.js +0 -76
  102. package/lib/node/index-4h5AimzW.cjs +0 -166
@@ -1,5 +1,5 @@
1
- import { defineComponent as j, openBlock as y, createElementBlock as I, Fragment as X, createBlock as V, resolveDynamicComponent as ut, mergeProps as z, toHandlers as de, withCtx as Ie, renderSlot as le, resolveComponent as U, createTextVNode as Wo, toDisplayString as Nt, defineAsyncComponent as rt, createVNode as se, renderList as Ee, createCommentVNode as L, h as jr, createElementVNode as ft, normalizeStyle as Pe, normalizeClass as ht, markRaw as Lo } from "vue";
2
- const Mo = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), Ho = (e) => typeof e == "string" && Mo.has(e.toLowerCase());
1
+ import { defineComponent as j, openBlock as y, createElementBlock as I, Fragment as X, createBlock as D, resolveDynamicComponent as ut, mergeProps as q, toHandlers as de, withCtx as Ie, renderSlot as le, resolveComponent as V, createTextVNode as Lo, toDisplayString as Nt, defineAsyncComponent as rt, createVNode as se, renderList as Ee, createCommentVNode as M, h as Ur, createElementVNode as ft, normalizeStyle as Pe, normalizeClass as ht, markRaw as Ho } from "vue";
2
+ const Ko = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), zo = (e) => typeof e == "string" && Ko.has(e.toLowerCase());
3
3
  function he(e = {}, t, n) {
4
4
  const r = {};
5
5
  for (const o in e) {
@@ -10,11 +10,11 @@ function he(e = {}, t, n) {
10
10
  }
11
11
  return r;
12
12
  }
13
- const Ko = j({
13
+ const Go = j({
14
14
  name: "dynamic-renderer",
15
15
  props: ["TagName", "attributes", "actionAttributes"],
16
16
  data() {
17
- return { isEmptyElement: Ho };
17
+ return { isEmptyElement: zo };
18
18
  }
19
19
  }), N = (e, t) => {
20
20
  const n = e.__vccOpts || e;
@@ -22,14 +22,14 @@ const Ko = j({
22
22
  n[r] = o;
23
23
  return n;
24
24
  };
25
- function Go(e, t, n, r, o, i) {
26
- return e.isEmptyElement(e.TagName) ? (y(), V(ut(e.TagName), z({ key: 1 }, e.attributes, de(e.actionAttributes)), null, 16)) : (y(), I(X, { key: 0 }, [
27
- typeof e.TagName == "string" ? (y(), V(ut(e.TagName), z({ key: 0 }, e.attributes, de(e.actionAttributes)), {
25
+ function qo(e, t, n, r, o, i) {
26
+ return e.isEmptyElement(e.TagName) ? (y(), D(ut(e.TagName), q({ key: 1 }, e.attributes, de(e.actionAttributes)), null, 16)) : (y(), I(X, { key: 0 }, [
27
+ typeof e.TagName == "string" ? (y(), D(ut(e.TagName), q({ key: 0 }, e.attributes, de(e.actionAttributes)), {
28
28
  default: Ie(() => [
29
29
  le(e.$slots, "default")
30
30
  ]),
31
31
  _: 3
32
- }, 16)) : (y(), V(ut(e.TagName), z({ key: 1 }, e.attributes, de(e.actionAttributes)), {
32
+ }, 16)) : (y(), D(ut(e.TagName), q({ key: 1 }, e.attributes, de(e.actionAttributes)), {
33
33
  default: Ie(() => [
34
34
  le(e.$slots, "default")
35
35
  ]),
@@ -37,7 +37,7 @@ function Go(e, t, n, r, o, i) {
37
37
  }, 16))
38
38
  ], 64));
39
39
  }
40
- const kn = /* @__PURE__ */ N(Ko, [["render", Go]]), $u = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
40
+ const kn = /* @__PURE__ */ N(Go, [["render", qo]]), ju = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
41
41
  __proto__: null,
42
42
  default: kn
43
43
  }, Symbol.toStringTag, { value: "Module" })), re = "vue", Ot = () => {
@@ -53,7 +53,7 @@ const kn = /* @__PURE__ */ N(Ko, [["render", Go]]), $u = /* @__PURE__ */ Object.
53
53
  case "angular":
54
54
  return "class";
55
55
  }
56
- }, zo = j({
56
+ }, _o = j({
57
57
  name: "builder-button",
58
58
  components: { DynamicRenderer: kn },
59
59
  props: [
@@ -82,20 +82,20 @@ const kn = /* @__PURE__ */ N(Ko, [["render", Go]]), $u = /* @__PURE__ */ Object.
82
82
  }
83
83
  }
84
84
  });
85
- function qo(e, t, n, r, o, i) {
86
- const s = U("DynamicRenderer");
87
- return y(), V(s, {
85
+ function Jo(e, t, n, r, o, i) {
86
+ const s = V("DynamicRenderer");
87
+ return y(), D(s, {
88
88
  attributes: e.attrs(),
89
89
  TagName: e.link ? e.builderLinkComponent || "a" : "button",
90
90
  actionAttributes: e.filterAttrs(e.attributes, "v-on:", !0)
91
91
  }, {
92
92
  default: Ie(() => [
93
- Wo(Nt(e.text), 1)
93
+ Lo(Nt(e.text), 1)
94
94
  ]),
95
95
  _: 1
96
96
  }, 8, ["attributes", "TagName", "actionAttributes"]);
97
97
  }
98
- const _o = /* @__PURE__ */ N(zo, [["render", qo]]), Jo = Symbol(), fn = {
98
+ const Xo = /* @__PURE__ */ N(_o, [["render", Jo]]), Yo = Symbol(), fn = {
99
99
  Builder: {
100
100
  content: null,
101
101
  context: {},
@@ -112,43 +112,43 @@ const _o = /* @__PURE__ */ N(zo, [["render", qo]]), Jo = Symbol(), fn = {
112
112
  nonce: "",
113
113
  model: ""
114
114
  },
115
- key: Jo
116
- }, Xo = Symbol(), Br = {
115
+ key: Yo
116
+ }, Zo = Symbol(), Dr = {
117
117
  Components: { registeredComponents: {} },
118
- key: Xo
118
+ key: Zo
119
119
  }, $t = "[Builder.io]: ", ue = {
120
120
  log: (...e) => console.log($t, ...e),
121
121
  error: (...e) => console.error($t, ...e),
122
122
  warn: (...e) => console.warn($t, ...e),
123
123
  debug: (...e) => console.debug($t, ...e)
124
- }, Nr = (e, t, n) => {
124
+ }, Vr = (e, t, n) => {
125
125
  const r = String.prototype.split.call(t, /[,[\].]+?/).filter(Boolean).reduce((o, i) => o != null ? o[i] : o, e);
126
126
  return r === void 0 || r === e ? n : r;
127
127
  };
128
- function J() {
128
+ function z() {
129
129
  return typeof window < "u" && typeof document < "u";
130
130
  }
131
- const Yo = (e) => {
131
+ const Qo = (e) => {
132
132
  const t = {};
133
133
  return e.forEach((n, r) => {
134
134
  t[r] = n;
135
135
  }), t;
136
- }, Dr = (e) => e instanceof URLSearchParams ? Yo(e) : e, Vr = (e) => typeof e == "string" ? e : e instanceof URLSearchParams ? e.toString() : new URLSearchParams(e).toString();
137
- function Zo() {
138
- return J() && window.self !== window.top;
136
+ }, Fr = (e) => e instanceof URLSearchParams ? Qo(e) : e, Wr = (e) => typeof e == "string" ? e : e instanceof URLSearchParams ? e.toString() : new URLSearchParams(e).toString();
137
+ function ei() {
138
+ return z() && window.self !== window.top;
139
139
  }
140
140
  function ie(e) {
141
- return Zo() && // accessing window.location.search is safe here because `isIframe()` is only `true` if we're in a browser.
142
- Vr(e || window.location.search).indexOf("builder.frameEditing=") !== -1;
141
+ return ei() && // accessing window.location.search is safe here because `isIframe()` is only `true` if we're in a browser.
142
+ Wr(e || window.location.search).indexOf("builder.frameEditing=") !== -1;
143
143
  }
144
- const Qo = () => {
145
- if (J()) {
144
+ const ti = () => {
145
+ if (z()) {
146
146
  const e = new URL(location.href);
147
147
  return e.pathname === "" && (e.pathname = "/"), e;
148
148
  } else
149
149
  return console.warn("Cannot get location for tracking in non-browser environment"), null;
150
- }, ei = () => typeof navigator == "object" && navigator.userAgent || "", Ur = () => {
151
- const e = ei(), t = {
150
+ }, ni = () => typeof navigator == "object" && navigator.userAgent || "", Mr = () => {
151
+ const e = ni(), t = {
152
152
  Android() {
153
153
  return e.match(/Android/i);
154
154
  },
@@ -167,13 +167,13 @@ const Qo = () => {
167
167
  any() {
168
168
  return t.Android() || t.BlackBerry() || t.iOS() || t.Opera() || t.Windows() || re === "reactNative";
169
169
  }
170
- }, n = e.match(/Tablet|iPad/i), r = Qo();
170
+ }, n = e.match(/Tablet|iPad/i), r = ti();
171
171
  return {
172
172
  urlPath: r == null ? void 0 : r.pathname,
173
173
  host: (r == null ? void 0 : r.host) || (r == null ? void 0 : r.hostname),
174
174
  device: n ? "tablet" : t.any() ? "mobile" : "desktop"
175
175
  };
176
- }, Fr = ({
176
+ }, Lr = ({
177
177
  builder: e,
178
178
  context: t,
179
179
  event: n,
@@ -185,12 +185,12 @@ const Qo = () => {
185
185
  builder: e,
186
186
  context: t,
187
187
  event: n
188
- }), ti = () => ({
188
+ }), ri = () => ({
189
189
  isEditing: ie(),
190
- isBrowser: J(),
191
- isServer: !J(),
192
- getUserAttributes: () => Ur()
193
- }), ni = (e, {
190
+ isBrowser: z(),
191
+ isServer: !z(),
192
+ getUserAttributes: () => Mr()
193
+ }), oi = (e, {
194
194
  isExpression: t = !0
195
195
  }) => /* we disable this for cases where we definitely don't want a return */ t && !(e.includes(";") || e.includes(" return ") || e.trim().startsWith("return ")) ? `return (${e});` : e;
196
196
  function Sn({
@@ -218,7 +218,7 @@ function Sn({
218
218
  }
219
219
  });
220
220
  }
221
- const ri = ({
221
+ const ii = ({
222
222
  code: e,
223
223
  builder: t,
224
224
  context: n,
@@ -227,7 +227,7 @@ const ri = ({
227
227
  rootSetState: i,
228
228
  rootState: s
229
229
  }) => {
230
- const u = Fr({
230
+ const u = Lr({
231
231
  builder: t,
232
232
  context: n,
233
233
  event: r,
@@ -239,25 +239,25 @@ const ri = ({
239
239
  });
240
240
  return new Function(...u.map(([p]) => p), e)(...u.map(([, p]) => p));
241
241
  };
242
- var B, oi = function(e) {
242
+ var B, si = function(e) {
243
243
  function t(a) {
244
- return 48 > a ? a === 36 : 58 > a ? !0 : 65 > a ? !1 : 91 > a ? !0 : 97 > a ? a === 95 : 123 > a ? !0 : 170 <= a && Uo.test(String.fromCharCode(a));
244
+ return 48 > a ? a === 36 : 58 > a ? !0 : 65 > a ? !1 : 91 > a ? !0 : 97 > a ? a === 95 : 123 > a ? !0 : 170 <= a && Wo.test(String.fromCharCode(a));
245
245
  }
246
246
  function n(a) {
247
- return 65 > a ? a === 36 : 91 > a ? !0 : 97 > a ? a === 95 : 123 > a ? !0 : 170 <= a && yr.test(String.fromCharCode(a));
247
+ return 65 > a ? a === 36 : 91 > a ? !0 : 97 > a ? a === 95 : 123 > a ? !0 : 170 <= a && br.test(String.fromCharCode(a));
248
248
  }
249
249
  function r(a, l) {
250
- for (var c = k, f = 1, R = 0; ; ) {
251
- At.lastIndex = R;
252
- var q = At.exec(c);
253
- if (q && q.index < a)
254
- ++f, R = q.index + q[0].length;
250
+ for (var c = k, f = 1, A = 0; ; ) {
251
+ Rt.lastIndex = A;
252
+ var _ = Rt.exec(c);
253
+ if (_ && _.index < a)
254
+ ++f, A = _.index + _[0].length;
255
255
  else
256
256
  break;
257
257
  }
258
258
  throw c = {
259
259
  line: f,
260
- ab: a - R
260
+ ab: a - A
261
261
  }, l += " (" + c.line + ":" + c.ab + ")", l = new SyntaxError(l), l.j = a, l.X = c, l.o = d, l;
262
262
  }
263
263
  function o(a) {
@@ -272,39 +272,39 @@ var B, oi = function(e) {
272
272
  this.line = Ne, this.ab = d - be;
273
273
  }
274
274
  function s(a, l) {
275
- Fe = d, A.C && (zt = new i()), x = a, p(), ae = l, Ze = a.m;
275
+ Fe = d, R.C && (Gt = new i()), x = a, p(), ae = l, Ze = a.m;
276
276
  }
277
277
  function u() {
278
- for (var a = d, l = A.va && A.C && new i(), c = k.charCodeAt(d += 2); d < Ue && c !== 10 && c !== 13 && c !== 8232 && c !== 8233; )
278
+ for (var a = d, l = R.va && R.C && new i(), c = k.charCodeAt(d += 2); d < Ve && c !== 10 && c !== 13 && c !== 8232 && c !== 8233; )
279
279
  ++d, c = k.charCodeAt(d);
280
- A.va && A.va(!1, k.slice(a + 2, d), a, d, l, A.C && new i());
280
+ R.va && R.va(!1, k.slice(a + 2, d), a, d, l, R.C && new i());
281
281
  }
282
282
  function p() {
283
- for (; d < Ue; ) {
283
+ for (; d < Ve; ) {
284
284
  var a = k.charCodeAt(d);
285
285
  if (a === 32)
286
286
  ++d;
287
287
  else if (a === 13)
288
- ++d, a = k.charCodeAt(d), a === 10 && ++d, A.C && (++Ne, be = d);
288
+ ++d, a = k.charCodeAt(d), a === 10 && ++d, R.C && (++Ne, be = d);
289
289
  else if (a === 10 || a === 8232 || a === 8233)
290
- ++d, A.C && (++Ne, be = d);
290
+ ++d, R.C && (++Ne, be = d);
291
291
  else if (8 < a && 14 > a)
292
292
  ++d;
293
293
  else if (a === 47)
294
294
  if (a = k.charCodeAt(d + 1), a === 42) {
295
295
  a = void 0;
296
- var l = A.va && A.C && new i(), c = d, f = k.indexOf("*/", d += 2);
297
- if (f === -1 && r(d - 2, "Unterminated comment"), d = f + 2, A.C)
298
- for (At.lastIndex = c; (a = At.exec(k)) && a.index < d; )
296
+ var l = R.va && R.C && new i(), c = d, f = k.indexOf("*/", d += 2);
297
+ if (f === -1 && r(d - 2, "Unterminated comment"), d = f + 2, R.C)
298
+ for (Rt.lastIndex = c; (a = Rt.exec(k)) && a.index < d; )
299
299
  ++Ne, be = a.index + a[0].length;
300
- A.va && A.va(!0, k.slice(c + 2, f), c, d, l, A.C && new i());
300
+ R.va && R.va(!0, k.slice(c + 2, f), c, d, l, R.C && new i());
301
301
  } else if (a === 47)
302
302
  u();
303
303
  else
304
304
  break;
305
305
  else if (a === 160)
306
306
  ++d;
307
- else if (5760 <= a && Vo.test(String.fromCharCode(a)))
307
+ else if (5760 <= a && Fo.test(String.fromCharCode(a)))
308
308
  ++d;
309
309
  else
310
310
  break;
@@ -313,7 +313,7 @@ var B, oi = function(e) {
313
313
  function m(a) {
314
314
  switch (a) {
315
315
  case 46:
316
- a = k.charCodeAt(d + 1), 48 <= a && 57 >= a ? D(!0) : (++d, s(ur));
316
+ a = k.charCodeAt(d + 1), 48 <= a && 57 >= a ? U(!0) : (++d, s(pr));
317
317
  return;
318
318
  case 40:
319
319
  return ++d, s(ke);
@@ -330,11 +330,11 @@ var B, oi = function(e) {
330
330
  case 123:
331
331
  return ++d, s(tt);
332
332
  case 125:
333
- return ++d, s(Le);
333
+ return ++d, s(Me);
334
334
  case 58:
335
335
  return ++d, s(nt);
336
336
  case 63:
337
- return ++d, s(cr);
337
+ return ++d, s(dr);
338
338
  case 48:
339
339
  if (a = k.charCodeAt(d + 1), a === 120 || a === 88) {
340
340
  d += 2, a = T(16), a === null && r(G + 2, "Expected hexadecimal number"), n(k.charCodeAt(d)) && r(d, "Identifier directly after number"), s(et, a);
@@ -349,12 +349,12 @@ var B, oi = function(e) {
349
349
  case 55:
350
350
  case 56:
351
351
  case 57:
352
- return D(!1);
352
+ return U(!1);
353
353
  case 34:
354
354
  case 39:
355
355
  d++;
356
356
  for (var l = ""; ; ) {
357
- d >= Ue && r(G, "Unterminated string constant");
357
+ d >= Ve && r(G, "Unterminated string constant");
358
358
  var c = k.charCodeAt(d);
359
359
  if (c === a) {
360
360
  ++d, s(Tt, l);
@@ -403,7 +403,7 @@ var B, oi = function(e) {
403
403
  case 13:
404
404
  k.charCodeAt(d) === 10 && ++d;
405
405
  case 10:
406
- A.C && (be = d, ++Ne);
406
+ R.C && (be = d, ++Ne);
407
407
  break;
408
408
  default:
409
409
  l += String.fromCharCode(c);
@@ -413,46 +413,46 @@ var B, oi = function(e) {
413
413
  }
414
414
  return;
415
415
  case 47:
416
- a = k.charCodeAt(d + 1), Ze ? (++d, g()) : a === 61 ? v(De, 2) : v(pr, 1);
416
+ a = k.charCodeAt(d + 1), Ze ? (++d, g()) : a === 61 ? v(Ue, 2) : v(fr, 1);
417
417
  return;
418
418
  case 37:
419
419
  case 42:
420
- k.charCodeAt(d + 1) === 61 ? v(De, 2) : v(Bo, 1);
420
+ k.charCodeAt(d + 1) === 61 ? v(Ue, 2) : v(Uo, 1);
421
421
  return;
422
422
  case 124:
423
423
  case 38:
424
- l = k.charCodeAt(d + 1), l === a ? v(a === 124 ? hr : mr, 2) : l === 61 ? v(De, 2) : v(a === 124 ? xo : Ao, 1);
424
+ l = k.charCodeAt(d + 1), l === a ? v(a === 124 ? gr : yr, 2) : l === 61 ? v(Ue, 2) : v(a === 124 ? Ro : Po, 1);
425
425
  return;
426
426
  case 94:
427
- k.charCodeAt(d + 1) === 61 ? v(De, 2) : v(Ro, 1);
427
+ k.charCodeAt(d + 1) === 61 ? v(Ue, 2) : v($o, 1);
428
428
  return;
429
429
  case 43:
430
430
  case 45:
431
- l = k.charCodeAt(d + 1), l === a ? l === 45 && k.charCodeAt(d + 2) === 62 && Rt.test(k.slice(Ae, d)) ? (d += 3, u(), p(), b()) : v(Io, 2) : l === 61 ? v(De, 2) : v(jo, 1);
431
+ l = k.charCodeAt(d + 1), l === a ? l === 45 && k.charCodeAt(d + 2) === 62 && At.test(k.slice(Re, d)) ? (d += 3, u(), p(), b()) : v(Ao, 2) : l === 61 ? v(Ue, 2) : v(No, 1);
432
432
  return;
433
433
  case 60:
434
434
  case 62:
435
- l = k.charCodeAt(d + 1), c = 1, l === a ? (c = a === 62 && k.charCodeAt(d + 2) === 62 ? 3 : 2, k.charCodeAt(d + c) === 61 ? v(De, c + 1) : v(Oo, c)) : l === 33 && a === 60 && k.charCodeAt(d + 2) === 45 && k.charCodeAt(d + 3) === 45 ? (d += 4, u(), p(), b()) : (l === 61 && (c = k.charCodeAt(d + 2) === 61 ? 3 : 2), v(Po, c));
435
+ l = k.charCodeAt(d + 1), c = 1, l === a ? (c = a === 62 && k.charCodeAt(d + 2) === 62 ? 3 : 2, k.charCodeAt(d + c) === 61 ? v(Ue, c + 1) : v(Bo, c)) : l === 33 && a === 60 && k.charCodeAt(d + 2) === 45 && k.charCodeAt(d + 3) === 45 ? (d += 4, u(), p(), b()) : (l === 61 && (c = k.charCodeAt(d + 2) === 61 ? 3 : 2), v(jo, c));
436
436
  return;
437
437
  case 61:
438
438
  case 33:
439
- k.charCodeAt(d + 1) === 61 ? v($o, k.charCodeAt(d + 2) === 61 ? 3 : 2) : v(a === 61 ? dr : fr, 1);
439
+ k.charCodeAt(d + 1) === 61 ? v(Oo, k.charCodeAt(d + 2) === 61 ? 3 : 2) : v(a === 61 ? hr : mr, 1);
440
440
  return;
441
441
  case 126:
442
- return v(fr, 1);
442
+ return v(mr, 1);
443
443
  }
444
444
  return !1;
445
445
  }
446
446
  function b(a) {
447
- if (a ? d = G + 1 : G = d, A.C && (Gt = new i()), a)
447
+ if (a ? d = G + 1 : G = d, R.C && (zt = new i()), a)
448
448
  return g();
449
- if (d >= Ue)
449
+ if (d >= Ve)
450
450
  return s(Jt);
451
451
  if (a = k.charCodeAt(d), n(a) || a === 92)
452
- return Re();
452
+ return Ae();
453
453
  if (m(a) === !1) {
454
- if (a = String.fromCharCode(a), a === "\\" || yr.test(a))
455
- return Re();
454
+ if (a = String.fromCharCode(a), a === "\\" || br.test(a))
455
+ return Ae();
456
456
  r(d, "Unexpected character '" + a + "'");
457
457
  }
458
458
  }
@@ -462,9 +462,9 @@ var B, oi = function(e) {
462
462
  }
463
463
  function g() {
464
464
  for (var a, l, c = d; ; ) {
465
- d >= Ue && r(c, "Unterminated regexp");
465
+ d >= Ve && r(c, "Unterminated regexp");
466
466
  var f = k.charAt(d);
467
- if (Rt.test(f) && r(c, "Unterminated regexp"), a)
467
+ if (At.test(f) && r(c, "Unterminated regexp"), a)
468
468
  a = !1;
469
469
  else {
470
470
  if (f === "[")
@@ -479,14 +479,14 @@ var B, oi = function(e) {
479
479
  }
480
480
  a = k.slice(c, d), ++d, (l = Z()) && !/^[gmi]*$/.test(l) && r(c, "Invalid regexp flag");
481
481
  try {
482
- var R = new RegExp(a, l);
483
- } catch (q) {
484
- throw q instanceof SyntaxError && r(c, q.message), q;
482
+ var A = new RegExp(a, l);
483
+ } catch (_) {
484
+ throw _ instanceof SyntaxError && r(c, _.message), _;
485
485
  }
486
- s(Kn, R);
486
+ s(Gn, A);
487
487
  }
488
488
  function T(a, l) {
489
- for (var c = d, f = 0, R = l === void 0 ? 1 / 0 : l, q = 0; q < R; ++q) {
489
+ for (var c = d, f = 0, A = l === void 0 ? 1 / 0 : l, _ = 0; _ < A; ++_) {
490
490
  var ee = k.charCodeAt(d);
491
491
  if (ee = 97 <= ee ? ee - 97 + 10 : 65 <= ee ? ee - 65 + 10 : 48 <= ee && 57 >= ee ? ee - 48 : 1 / 0, ee >= a)
492
492
  break;
@@ -494,61 +494,61 @@ var B, oi = function(e) {
494
494
  }
495
495
  return d === c || l !== void 0 && d - c !== l ? null : f;
496
496
  }
497
- function D(a) {
497
+ function U(a) {
498
498
  var l = d, c = !1, f = k.charCodeAt(d) === 48;
499
499
  a || T(10) !== null || r(l, "Invalid number"), k.charCodeAt(d) === 46 && (++d, T(10), c = !0), a = k.charCodeAt(d), (a === 69 || a === 101) && (a = k.charCodeAt(++d), a !== 43 && a !== 45 || ++d, T(10) === null && r(l, "Invalid number"), c = !0), n(k.charCodeAt(d)) && r(d, "Identifier directly after number"), a = k.slice(l, d);
500
- var R;
501
- c ? R = parseFloat(a) : f && a.length !== 1 ? /[89]/.test(a) || oe ? r(l, "Invalid number") : R = parseInt(a, 8) : R = parseInt(a, 10), s(et, R);
500
+ var A;
501
+ c ? A = parseFloat(a) : f && a.length !== 1 ? /[89]/.test(a) || oe ? r(l, "Invalid number") : A = parseInt(a, 8) : A = parseInt(a, 10), s(et, A);
502
502
  }
503
503
  function O(a) {
504
504
  return a = T(16, a), a === null && r(G, "Bad character escape sequence"), a;
505
505
  }
506
506
  function Z() {
507
- Me = !1;
507
+ Le = !1;
508
508
  for (var a, l = !0, c = d; ; ) {
509
509
  var f = k.charCodeAt(d);
510
510
  if (t(f))
511
- Me && (a += k.charAt(d)), ++d;
511
+ Le && (a += k.charAt(d)), ++d;
512
512
  else if (f === 92) {
513
- Me || (a = k.slice(c, d)), Me = !0, k.charCodeAt(++d) !== 117 && r(d, "Expecting Unicode escape sequence \\uXXXX"), ++d, f = O(4);
514
- var R = String.fromCharCode(f);
515
- R || r(d - 1, "Invalid Unicode escape"), (l ? n(f) : t(f)) || r(d - 4, "Invalid Unicode escape"), a += R;
513
+ Le || (a = k.slice(c, d)), Le = !0, k.charCodeAt(++d) !== 117 && r(d, "Expecting Unicode escape sequence \\uXXXX"), ++d, f = O(4);
514
+ var A = String.fromCharCode(f);
515
+ A || r(d - 1, "Invalid Unicode escape"), (l ? n(f) : t(f)) || r(d - 4, "Invalid Unicode escape"), a += A;
516
516
  } else
517
517
  break;
518
518
  l = !1;
519
519
  }
520
- return Me ? a : k.slice(c, d);
520
+ return Le ? a : k.slice(c, d);
521
521
  }
522
- function Re() {
522
+ function Ae() {
523
523
  var a = Z(), l = We;
524
- !Me && Do(a) && (l = To[a]), s(l, a);
524
+ !Le && Vo(a) && (l = xo[a]), s(l, a);
525
525
  }
526
526
  function $() {
527
- qt = G, Ae = Fe, _t = zt, b();
527
+ qt = G, Re = Fe, _t = Gt, b();
528
528
  }
529
529
  function F(a) {
530
- if (oe = a, d = G, A.C)
530
+ if (oe = a, d = G, R.C)
531
531
  for (; d < be; )
532
532
  be = k.lastIndexOf(`
533
533
  `, be - 2) + 1, --Ne;
534
534
  p(), b();
535
535
  }
536
- function Ve() {
536
+ function De() {
537
537
  this.type = null, this.start = G, this.end = null;
538
538
  }
539
539
  function me() {
540
- this.start = Gt, this.end = null, Kt && (this.source = Kt);
540
+ this.start = zt, this.end = null, Kt && (this.source = Kt);
541
541
  }
542
- function M() {
543
- var a = new Ve();
544
- return A.C && (a.X = new me()), A.vb && (a.sourceFile = A.vb), A.Xa && (a.j = [G, 0]), a;
542
+ function L() {
543
+ var a = new De();
544
+ return R.C && (a.X = new me()), R.vb && (a.sourceFile = R.vb), R.Xa && (a.j = [G, 0]), a;
545
545
  }
546
546
  function ce(a) {
547
- var l = new Ve();
548
- return l.start = a.start, A.C && (l.X = new me(), l.X.start = a.X.start), A.Xa && (l.j = [a.j[0], 0]), l;
547
+ var l = new De();
548
+ return l.start = a.start, R.C && (l.X = new me(), l.X.start = a.X.start), R.Xa && (l.j = [a.j[0], 0]), l;
549
549
  }
550
550
  function E(a, l) {
551
- return a.type = l, a.end = Ae, A.C && (a.X.end = _t), A.Xa && (a.j[1] = Ae), a;
551
+ return a.type = l, a.end = Re, R.C && (a.X.end = _t), R.Xa && (a.j[1] = Re), a;
552
552
  }
553
553
  function ge(a) {
554
554
  return a.type === "ExpressionStatement" && a.la.type === "Literal" && a.la.value === "use strict";
@@ -557,7 +557,7 @@ var B, oi = function(e) {
557
557
  return x === a ? ($(), !0) : !1;
558
558
  }
559
559
  function Ct() {
560
- return !A.fc && (x === Jt || x === Le || Rt.test(k.slice(Ae, G)));
560
+ return !R.fc && (x === Jt || x === Me || At.test(k.slice(Re, G)));
561
561
  }
562
562
  function Be() {
563
563
  W(Se) || Ct() || ye();
@@ -572,60 +572,60 @@ var B, oi = function(e) {
572
572
  a.type !== "Identifier" && a.type !== "MemberExpression" && r(a.start, "Assigning to rvalue"), oe && a.type === "Identifier" && xt(a.name) && r(a.start, "Assigning to " + a.name + " in strict mode");
573
573
  }
574
574
  function pe() {
575
- (x === pr || x === De && ae === "/=") && b(!0);
576
- var a = x, l = M();
575
+ (x === fr || x === Ue && ae === "/=") && b(!0);
576
+ var a = x, l = L();
577
577
  switch (a) {
578
578
  case Xt:
579
- case zn:
579
+ case _n:
580
580
  $();
581
581
  var c = a === Xt;
582
582
  W(Se) || Ct() ? l.label = null : x !== We ? ye() : (l.label = ve(), Be());
583
583
  for (var f = 0; f < K.length; ++f) {
584
- var R = K[f];
585
- if ((l.label === null || R.name === l.label.name) && (R.kind !== null && (c || R.kind === "loop") || l.label && c))
584
+ var A = K[f];
585
+ if ((l.label === null || A.name === l.label.name) && (A.kind !== null && (c || A.kind === "loop") || l.label && c))
586
586
  break;
587
587
  }
588
588
  return f === K.length && r(l.start, "Unsyntactic " + a.l), E(l, c ? "BreakStatement" : "ContinueStatement");
589
- case qn:
590
- return $(), Be(), E(l, "DebuggerStatement");
591
589
  case Jn:
590
+ return $(), Be(), E(l, "DebuggerStatement");
591
+ case Yn:
592
592
  return $(), K.push(on), l.body = pe(), K.pop(), H(tn), l.test = Je(), Be(), E(l, "DoWhileStatement");
593
- case Zn:
594
- return $(), K.push(on), H(ke), x === Se ? Ut(l, null) : x === en ? (a = M(), $(), Mn(a, !0), E(a, "VariableDeclaration"), a.fa.length === 1 && W(It) ? Ln(l, a) : Ut(l, a)) : (a = Q(!1, !0), W(It) ? (wt(a), Ln(l, a)) : Ut(l, a));
595
- case Zt:
596
- return $(), Mt(l, !0);
597
- case Qn:
598
- return $(), l.test = Je(), l.da = pe(), l.alternate = W(Xn) ? pe() : null, E(l, "IfStatement");
599
593
  case er:
600
- return Qe || A.Ib || r(G, "'return' outside of function"), $(), W(Se) || Ct() ? l.K = null : (l.K = Q(), Be()), E(l, "ReturnStatement");
601
- case Qt:
602
- for ($(), l.Qb = Je(), l.tb = [], H(tt), K.push(Fo); x !== Le; )
603
- x === Yt || x === _n ? (a = x === Yt, f && E(f, "SwitchCase"), l.tb.push(f = M()), f.da = [], $(), a ? f.test = Q() : (c && r(qt, "Multiple default clauses"), c = !0, f.test = null), H(nt)) : (f || ye(), f.da.push(pe()));
604
- return f && E(f, "SwitchCase"), $(), K.pop(), E(l, "SwitchStatement");
594
+ return $(), K.push(on), H(ke), x === Se ? Vt(l, null) : x === en ? (a = L(), $(), Kn(a, !0), E(a, "VariableDeclaration"), a.fa.length === 1 && W(It) ? Hn(l, a) : Vt(l, a)) : (a = Q(!1, !0), W(It) ? (wt(a), Hn(l, a)) : Vt(l, a));
595
+ case Zt:
596
+ return $(), Lt(l, !0);
605
597
  case tr:
606
- return $(), Rt.test(k.slice(Ae, G)) && r(Ae, "Illegal newline after throw"), l.K = Q(), Be(), E(l, "ThrowStatement");
598
+ return $(), l.test = Je(), l.da = pe(), l.alternate = W(Zn) ? pe() : null, E(l, "IfStatement");
607
599
  case nr:
608
- return $(), l.block = Xe(), l.Ea = null, x === Gn && (a = M(), $(), H(ke), a.Ua = ve(), oe && xt(a.Ua.name) && r(a.Ua.start, "Binding " + a.Ua.name + " in strict mode"), H(fe), a.body = Xe(), l.Ea = E(a, "CatchClause")), l.fb = W(Yn) ? Xe() : null, l.Ea || l.fb || r(l.start, "Missing catch or finally clause"), E(l, "TryStatement");
600
+ return Qe || R.Ib || r(G, "'return' outside of function"), $(), W(Se) || Ct() ? l.K = null : (l.K = Q(), Be()), E(l, "ReturnStatement");
601
+ case Qt:
602
+ for ($(), l.Qb = Je(), l.tb = [], H(tt), K.push(Mo); x !== Me; )
603
+ x === Yt || x === Xn ? (a = x === Yt, f && E(f, "SwitchCase"), l.tb.push(f = L()), f.da = [], $(), a ? f.test = Q() : (c && r(qt, "Multiple default clauses"), c = !0, f.test = null), H(nt)) : (f || ye(), f.da.push(pe()));
604
+ return f && E(f, "SwitchCase"), $(), K.pop(), E(l, "SwitchStatement");
605
+ case rr:
606
+ return $(), At.test(k.slice(Re, G)) && r(Re, "Illegal newline after throw"), l.K = Q(), Be(), E(l, "ThrowStatement");
607
+ case or:
608
+ return $(), l.block = Xe(), l.Ea = null, x === qn && (a = L(), $(), H(ke), a.Ua = ve(), oe && xt(a.Ua.name) && r(a.Ua.start, "Binding " + a.Ua.name + " in strict mode"), H(fe), a.body = Xe(), l.Ea = E(a, "CatchClause")), l.fb = W(Qn) ? Xe() : null, l.Ea || l.fb || r(l.start, "Missing catch or finally clause"), E(l, "TryStatement");
609
609
  case en:
610
- return $(), Mn(l), Be(), E(l, "VariableDeclaration");
610
+ return $(), Kn(l), Be(), E(l, "VariableDeclaration");
611
611
  case tn:
612
612
  return $(), l.test = Je(), K.push(on), l.body = pe(), K.pop(), E(l, "WhileStatement");
613
- case rr:
613
+ case ir:
614
614
  return oe && r(G, "'with' in strict mode"), $(), l.object = Je(), l.body = pe(), E(l, "WithStatement");
615
615
  case tt:
616
616
  return Xe();
617
617
  case Se:
618
618
  return $(), E(l, "EmptyStatement");
619
619
  default:
620
- if (c = ae, R = Q(), a === We && R.type === "Identifier" && W(nt)) {
620
+ if (c = ae, A = Q(), a === We && A.type === "Identifier" && W(nt)) {
621
621
  for (f = 0; f < K.length; ++f)
622
- K[f].name === c && r(R.start, "Label '" + c + "' is already declared");
622
+ K[f].name === c && r(A.start, "Label '" + c + "' is already declared");
623
623
  return K.push({
624
624
  name: c,
625
625
  kind: x.W ? "loop" : x === Qt ? "switch" : null
626
- }), l.body = pe(), K.pop(), l.label = R, E(l, "LabeledStatement");
626
+ }), l.body = pe(), K.pop(), l.label = A, E(l, "LabeledStatement");
627
627
  }
628
- return l.la = R, Be(), E(l, "ExpressionStatement");
628
+ return l.la = A, Be(), E(l, "ExpressionStatement");
629
629
  }
630
630
  }
631
631
  function Je() {
@@ -634,27 +634,27 @@ var B, oi = function(e) {
634
634
  return H(fe), a;
635
635
  }
636
636
  function Xe(a) {
637
- var l = M(), c = !0, f = !1;
638
- for (l.body = [], H(tt); !W(Le); ) {
639
- var R = pe();
640
- if (l.body.push(R), c && a && ge(R)) {
641
- var q = f;
637
+ var l = L(), c = !0, f = !1;
638
+ for (l.body = [], H(tt); !W(Me); ) {
639
+ var A = pe();
640
+ if (l.body.push(A), c && a && ge(A)) {
641
+ var _ = f;
642
642
  F(f = !0);
643
643
  }
644
644
  c = !1;
645
645
  }
646
- return f && !q && F(!1), E(l, "BlockStatement");
646
+ return f && !_ && F(!1), E(l, "BlockStatement");
647
647
  }
648
- function Ut(a, l) {
648
+ function Vt(a, l) {
649
649
  return a.ua = l, H(Se), a.test = x === Se ? null : Q(), H(Se), a.update = x === fe ? null : Q(), H(fe), a.body = pe(), K.pop(), E(a, "ForStatement");
650
650
  }
651
- function Ln(a, l) {
651
+ function Hn(a, l) {
652
652
  return a.left = l, a.right = Q(), H(fe), a.body = pe(), K.pop(), E(a, "ForInStatement");
653
653
  }
654
- function Mn(a, l) {
654
+ function Kn(a, l) {
655
655
  for (a.fa = [], a.kind = "var"; ; ) {
656
- var c = M();
657
- if (c.id = ve(), oe && xt(c.id.name) && r(c.id.start, "Binding " + c.id.name + " in strict mode"), c.ua = W(dr) ? Q(!0, l) : null, a.fa.push(E(c, "VariableDeclarator")), !W($e))
656
+ var c = L();
657
+ if (c.id = ve(), oe && xt(c.id.name) && r(c.id.start, "Binding " + c.id.name + " in strict mode"), c.ua = W(hr) ? Q(!0, l) : null, a.fa.push(E(c, "VariableDeclarator")), !W($e))
658
658
  break;
659
659
  }
660
660
  }
@@ -668,8 +668,8 @@ var B, oi = function(e) {
668
668
  return c;
669
669
  }
670
670
  function Ft(a) {
671
- var l = Wt(Lt(), -1, a);
672
- if (W(cr)) {
671
+ var l = Wt(Mt(), -1, a);
672
+ if (W(dr)) {
673
673
  var c = ce(l);
674
674
  c.test = l, c.da = Q(!0), H(nt), c.alternate = Q(!0, a), l = E(c, "ConditionalExpression");
675
675
  }
@@ -678,22 +678,22 @@ var B, oi = function(e) {
678
678
  function Wt(a, l, c) {
679
679
  var f = x.L;
680
680
  if (f !== null && (!c || x !== It) && f > l) {
681
- var R = ce(a);
682
- return R.left = a, R.operator = ae, a = x, $(), R.right = Wt(Lt(), f, c), f = E(R, a === hr || a === mr ? "LogicalExpression" : "BinaryExpression"), Wt(f, l, c);
681
+ var A = ce(a);
682
+ return A.left = a, A.operator = ae, a = x, $(), A.right = Wt(Mt(), f, c), f = E(A, a === gr || a === yr ? "LogicalExpression" : "BinaryExpression"), Wt(f, l, c);
683
683
  }
684
684
  return a;
685
685
  }
686
- function Lt() {
686
+ function Mt() {
687
687
  if (x.prefix) {
688
- var a = M(), l = x.$b;
689
- return a.operator = ae, Ze = a.prefix = !0, $(), a.K = Lt(), l ? wt(a.K) : oe && a.operator === "delete" && a.K.type === "Identifier" && r(a.start, "Deleting local variable in strict mode"), E(a, l ? "UpdateExpression" : "UnaryExpression");
688
+ var a = L(), l = x.$b;
689
+ return a.operator = ae, Ze = a.prefix = !0, $(), a.K = Mt(), l ? wt(a.K) : oe && a.operator === "delete" && a.K.type === "Identifier" && r(a.start, "Deleting local variable in strict mode"), E(a, l ? "UpdateExpression" : "UnaryExpression");
690
690
  }
691
691
  for (l = Ye(Et()); x.cc && !Ct(); )
692
692
  a = ce(l), a.operator = ae, a.prefix = !1, a.K = l, wt(l), $(), l = E(a, "UpdateExpression");
693
693
  return l;
694
694
  }
695
695
  function Ye(a, l) {
696
- if (W(ur)) {
696
+ if (W(pr)) {
697
697
  var c = ce(a);
698
698
  return c.object = a, c.Wa = ve(!0), c.bb = !1, Ye(E(c, "MemberExpression"), l);
699
699
  }
@@ -701,60 +701,60 @@ var B, oi = function(e) {
701
701
  }
702
702
  function Et() {
703
703
  switch (x) {
704
- case ir:
705
- var a = M();
704
+ case ar:
705
+ var a = L();
706
706
  return $(), E(a, "ThisExpression");
707
707
  case We:
708
708
  return ve();
709
709
  case et:
710
710
  case Tt:
711
- case Kn:
712
- return a = M(), a.value = ae, a.raw = k.slice(G, Fe), $(), E(a, "Literal");
713
- case sr:
714
- case ar:
711
+ case Gn:
712
+ return a = L(), a.value = ae, a.raw = k.slice(G, Fe), $(), E(a, "Literal");
715
713
  case lr:
716
- return a = M(), a.value = x.$a, a.raw = x.l, $(), E(a, "Literal");
714
+ case ur:
715
+ case cr:
716
+ return a = L(), a.value = x.$a, a.raw = x.l, $(), E(a, "Literal");
717
717
  case ke:
718
- a = Gt;
718
+ a = zt;
719
719
  var l = G;
720
720
  $();
721
721
  var c = Q();
722
- return c.start = l, c.end = Fe, A.C && (c.X.start = a, c.X.end = zt), A.Xa && (c.j = [l, Fe]), H(fe), c;
722
+ return c.start = l, c.end = Fe, R.C && (c.X.start = a, c.X.end = Gt), R.Xa && (c.j = [l, Fe]), H(fe), c;
723
723
  case nn:
724
- return a = M(), $(), a.elements = Ht(rn, !0, !0), E(a, "ArrayExpression");
724
+ return a = L(), $(), a.elements = Ht(rn, !0, !0), E(a, "ArrayExpression");
725
725
  case tt:
726
- for (a = M(), l = !0, c = !1, a.h = [], $(); !W(Le); ) {
726
+ for (a = L(), l = !0, c = !1, a.h = [], $(); !W(Me); ) {
727
727
  if (l)
728
728
  l = !1;
729
- else if (H($e), A.sb && W(Le))
729
+ else if (H($e), R.sb && W(Me))
730
730
  break;
731
731
  var f = {
732
732
  key: x === et || x === Tt ? Et() : ve(!0)
733
- }, R = !1;
733
+ }, A = !1;
734
734
  if (W(nt)) {
735
735
  f.value = Q(!0);
736
- var q = f.kind = "init";
736
+ var _ = f.kind = "init";
737
737
  } else
738
- f.key.type !== "Identifier" || f.key.name !== "get" && f.key.name !== "set" ? ye() : (R = c = !0, q = f.kind = f.key.name, f.key = x === et || x === Tt ? Et() : ve(!0), x !== ke && ye(), f.value = Mt(M(), !1));
738
+ f.key.type !== "Identifier" || f.key.name !== "get" && f.key.name !== "set" ? ye() : (A = c = !0, _ = f.kind = f.key.name, f.key = x === et || x === Tt ? Et() : ve(!0), x !== ke && ye(), f.value = Lt(L(), !1));
739
739
  if (f.key.type === "Identifier" && (oe || c))
740
740
  for (var ee = 0; ee < a.h.length; ++ee) {
741
741
  var He = a.h[ee];
742
742
  if (He.key.name === f.key.name) {
743
- var sn = q === He.kind || R && He.kind === "init" || q === "init" && (He.kind === "get" || He.kind === "set");
744
- sn && !oe && q === "init" && He.kind === "init" && (sn = !1), sn && r(f.key.start, "Redefinition of property");
743
+ var sn = _ === He.kind || A && He.kind === "init" || _ === "init" && (He.kind === "get" || He.kind === "set");
744
+ sn && !oe && _ === "init" && He.kind === "init" && (sn = !1), sn && r(f.key.start, "Redefinition of property");
745
745
  }
746
746
  }
747
747
  a.h.push(f);
748
748
  }
749
749
  return E(a, "ObjectExpression");
750
750
  case Zt:
751
- return a = M(), $(), Mt(a, !1);
752
- case or:
753
- return a = M(), $(), a.callee = Ye(Et(), !0), a.arguments = W(ke) ? Ht(fe, !1) : Eo, E(a, "NewExpression");
751
+ return a = L(), $(), Lt(a, !1);
752
+ case sr:
753
+ return a = L(), $(), a.callee = Ye(Et(), !0), a.arguments = W(ke) ? Ht(fe, !1) : Io, E(a, "NewExpression");
754
754
  }
755
755
  ye();
756
756
  }
757
- function Mt(a, l) {
757
+ function Lt(a, l) {
758
758
  x === We ? a.id = ve() : l ? ye() : a.id = null, a.oa = [];
759
759
  var c = !0;
760
760
  for (H(ke); !W(fe); )
@@ -763,37 +763,37 @@ var B, oi = function(e) {
763
763
  var f = K;
764
764
  if (Qe = !0, K = [], a.body = Xe(!0), Qe = c, K = f, oe || a.body.body.length && ge(a.body.body[0])) {
765
765
  for (c = a.id ? -1 : 0; c < a.oa.length; ++c)
766
- if (f = 0 > c ? a.id : a.oa[c], (gr(f.name) || xt(f.name)) && r(f.start, "Defining '" + f.name + "' in strict mode"), 0 <= c)
767
- for (var R = 0; R < c; ++R)
768
- f.name === a.oa[R].name && r(f.start, "Argument name clash in strict mode");
766
+ if (f = 0 > c ? a.id : a.oa[c], (vr(f.name) || xt(f.name)) && r(f.start, "Defining '" + f.name + "' in strict mode"), 0 <= c)
767
+ for (var A = 0; A < c; ++A)
768
+ f.name === a.oa[A].name && r(f.start, "Argument name clash in strict mode");
769
769
  }
770
770
  return E(a, l ? "FunctionDeclaration" : "FunctionExpression");
771
771
  }
772
772
  function Ht(a, l, c) {
773
- for (var f = [], R = !0; !W(a); ) {
774
- if (R)
775
- R = !1;
776
- else if (H($e), l && A.sb && W(a))
773
+ for (var f = [], A = !0; !W(a); ) {
774
+ if (A)
775
+ A = !1;
776
+ else if (H($e), l && R.sb && W(a))
777
777
  break;
778
778
  f.push(c && x === $e ? null : Q(!0));
779
779
  }
780
780
  return f;
781
781
  }
782
782
  function ve(a) {
783
- var l = M();
784
- return a && A.yb === "everywhere" && (a = !1), x === We ? (!a && (A.yb && No(ae) || oe && gr(ae)) && k.slice(G, Fe).indexOf("\\") === -1 && r(G, "The keyword '" + ae + "' is reserved"), l.name = ae) : a && x.l ? l.name = x.l : ye(), Ze = !1, $(), E(l, "Identifier");
783
+ var l = L();
784
+ return a && R.yb === "everywhere" && (a = !1), x === We ? (!a && (R.yb && Do(ae) || oe && vr(ae)) && k.slice(G, Fe).indexOf("\\") === -1 && r(G, "The keyword '" + ae + "' is reserved"), l.name = ae) : a && x.l ? l.name = x.l : ye(), Ze = !1, $(), E(l, "Identifier");
785
785
  }
786
786
  e.version = "0.5.0";
787
- var A, k = "", Ue, Kt;
787
+ var R, k = "", Ve, Kt;
788
788
  e.parse = function(a, l) {
789
- k = String(a), Ue = k.length, A = l || {};
790
- for (var c in Hn)
791
- Object.prototype.hasOwnProperty.call(A, c) || (A[c] = Hn[c]);
792
- for (Kt = A.sourceFile, Ne = 1, d = be = 0, Ze = !0, p(), c = A.dc, qt = Ae = d, A.C && (_t = new i()), Qe = oe = !1, K = [], b(), a = c || M(), l = !0, c || (a.body = []); x !== Jt; )
789
+ k = String(a), Ve = k.length, R = l || {};
790
+ for (var c in zn)
791
+ Object.prototype.hasOwnProperty.call(R, c) || (R[c] = zn[c]);
792
+ for (Kt = R.sourceFile, Ne = 1, d = be = 0, Ze = !0, p(), c = R.dc, qt = Re = d, R.C && (_t = new i()), Qe = oe = !1, K = [], b(), a = c || L(), l = !0, c || (a.body = []); x !== Jt; )
793
793
  c = pe(), a.body.push(c), l && ge(c) && F(!0), l = !1;
794
794
  return E(a, "Program");
795
795
  };
796
- var Hn = {
796
+ var zn = {
797
797
  fc: !1,
798
798
  sb: !0,
799
799
  yb: !1,
@@ -804,9 +804,9 @@ var B, oi = function(e) {
804
804
  dc: null,
805
805
  sourceFile: null,
806
806
  vb: null
807
- }, d = 0, G = 0, Fe = 0, Gt, zt, x, ae, Ze, Ne, be, qt = 0, Ae = 0, _t, Qe, K, oe, Eo = [], et = {
807
+ }, d = 0, G = 0, Fe = 0, zt, Gt, x, ae, Ze, Ne, be, qt = 0, Re = 0, _t, Qe, K, oe, Io = [], et = {
808
808
  type: "num"
809
- }, Kn = {
809
+ }, Gn = {
810
810
  type: "regexp"
811
811
  }, Tt = {
812
812
  type: "string"
@@ -819,95 +819,95 @@ var B, oi = function(e) {
819
819
  }, Yt = {
820
820
  l: "case",
821
821
  m: !0
822
- }, Gn = {
822
+ }, qn = {
823
823
  l: "catch"
824
- }, zn = {
824
+ }, _n = {
825
825
  l: "continue"
826
- }, qn = {
826
+ }, Jn = {
827
827
  l: "debugger"
828
- }, _n = {
828
+ }, Xn = {
829
829
  l: "default"
830
- }, Jn = {
830
+ }, Yn = {
831
831
  l: "do",
832
832
  W: !0
833
- }, Xn = {
833
+ }, Zn = {
834
834
  l: "else",
835
835
  m: !0
836
- }, Yn = {
836
+ }, Qn = {
837
837
  l: "finally"
838
- }, Zn = {
838
+ }, er = {
839
839
  l: "for",
840
840
  W: !0
841
841
  }, Zt = {
842
842
  l: "function"
843
- }, Qn = {
843
+ }, tr = {
844
844
  l: "if"
845
- }, er = {
845
+ }, nr = {
846
846
  l: "return",
847
847
  m: !0
848
848
  }, Qt = {
849
849
  l: "switch"
850
- }, tr = {
850
+ }, rr = {
851
851
  l: "throw",
852
852
  m: !0
853
- }, nr = {
853
+ }, or = {
854
854
  l: "try"
855
855
  }, en = {
856
856
  l: "var"
857
857
  }, tn = {
858
858
  l: "while",
859
859
  W: !0
860
- }, rr = {
860
+ }, ir = {
861
861
  l: "with"
862
- }, or = {
862
+ }, sr = {
863
863
  l: "new",
864
864
  m: !0
865
- }, ir = {
865
+ }, ar = {
866
866
  l: "this"
867
- }, sr = {
867
+ }, lr = {
868
868
  l: "null",
869
869
  $a: null
870
- }, ar = {
870
+ }, ur = {
871
871
  l: "true",
872
872
  $a: !0
873
- }, lr = {
873
+ }, cr = {
874
874
  l: "false",
875
875
  $a: !1
876
876
  }, It = {
877
877
  l: "in",
878
878
  L: 7,
879
879
  m: !0
880
- }, To = {
880
+ }, xo = {
881
881
  break: Xt,
882
882
  case: Yt,
883
- catch: Gn,
884
- continue: zn,
885
- debugger: qn,
886
- default: _n,
887
- do: Jn,
888
- else: Xn,
889
- finally: Yn,
890
- for: Zn,
883
+ catch: qn,
884
+ continue: _n,
885
+ debugger: Jn,
886
+ default: Xn,
887
+ do: Yn,
888
+ else: Zn,
889
+ finally: Qn,
890
+ for: er,
891
891
  function: Zt,
892
- if: Qn,
893
- return: er,
892
+ if: tr,
893
+ return: nr,
894
894
  switch: Qt,
895
- throw: tr,
896
- try: nr,
895
+ throw: rr,
896
+ try: or,
897
897
  var: en,
898
898
  while: tn,
899
- with: rr,
900
- null: sr,
901
- true: ar,
902
- false: lr,
903
- new: or,
899
+ with: ir,
900
+ null: lr,
901
+ true: ur,
902
+ false: cr,
903
+ new: sr,
904
904
  in: It,
905
905
  instanceof: {
906
906
  l: "instanceof",
907
907
  L: 7,
908
908
  m: !0
909
909
  },
910
- this: ir,
910
+ this: ar,
911
911
  typeof: {
912
912
  l: "typeof",
913
913
  prefix: !0,
@@ -931,7 +931,7 @@ var B, oi = function(e) {
931
931
  }, tt = {
932
932
  type: "{",
933
933
  m: !0
934
- }, Le = {
934
+ }, Me = {
935
935
  type: "}"
936
936
  }, ke = {
937
937
  type: "(",
@@ -947,67 +947,67 @@ var B, oi = function(e) {
947
947
  }, nt = {
948
948
  type: ":",
949
949
  m: !0
950
- }, ur = {
950
+ }, pr = {
951
951
  type: "."
952
- }, cr = {
952
+ }, dr = {
953
953
  type: "?",
954
954
  m: !0
955
- }, pr = {
955
+ }, fr = {
956
956
  L: 10,
957
957
  m: !0
958
- }, dr = {
958
+ }, hr = {
959
959
  Cb: !0,
960
960
  m: !0
961
- }, De = {
961
+ }, Ue = {
962
962
  Cb: !0,
963
963
  m: !0
964
- }, Io = {
964
+ }, Ao = {
965
965
  cc: !0,
966
966
  prefix: !0,
967
967
  $b: !0
968
- }, fr = {
968
+ }, mr = {
969
969
  prefix: !0,
970
970
  m: !0
971
- }, hr = {
971
+ }, gr = {
972
972
  L: 1,
973
973
  m: !0
974
- }, mr = {
974
+ }, yr = {
975
975
  L: 2,
976
976
  m: !0
977
- }, xo = {
977
+ }, Ro = {
978
978
  L: 3,
979
979
  m: !0
980
- }, Ro = {
980
+ }, $o = {
981
981
  L: 4,
982
982
  m: !0
983
- }, Ao = {
983
+ }, Po = {
984
984
  L: 5,
985
985
  m: !0
986
- }, $o = {
986
+ }, Oo = {
987
987
  L: 6,
988
988
  m: !0
989
- }, Po = {
989
+ }, jo = {
990
990
  L: 7,
991
991
  m: !0
992
- }, Oo = {
992
+ }, Bo = {
993
993
  L: 8,
994
994
  m: !0
995
- }, jo = {
995
+ }, No = {
996
996
  L: 9,
997
997
  prefix: !0,
998
998
  m: !0
999
- }, Bo = {
999
+ }, Uo = {
1000
1000
  L: 10,
1001
1001
  m: !0
1002
- }, No = o("class enum extends super const export import"), gr = o("implements interface let package private protected public static yield"), xt = o("eval arguments"), Do = o("break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this"), Vo = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, yr = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"), Uo = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‌‍‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"), Rt = /[\n\r\u2028\u2029]/, At = /\r\n|[\n\r\u2028\u2029]/g, Me, on = {
1002
+ }, Do = o("class enum extends super const export import"), vr = o("implements interface let package private protected public static yield"), xt = o("eval arguments"), Vo = o("break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this"), Fo = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, br = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"), Wo = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‌‍‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"), At = /[\n\r\u2028\u2029]/, Rt = /\r\n|[\n\r\u2028\u2029]/g, Le, on = {
1003
1003
  kind: "loop"
1004
- }, Fo = {
1004
+ }, Mo = {
1005
1005
  kind: "switch"
1006
1006
  };
1007
1007
  }, hn = hn = typeof globalThis > "u" ? void 0 : globalThis;
1008
- oi(hn.j || (hn.j = {}));
1008
+ si(hn.j || (hn.j = {}));
1009
1009
  function h(e, t) {
1010
- typeof e == "string" && (e = Ge(e, "code"));
1010
+ typeof e == "string" && (e = ze(e, "code"));
1011
1011
  var n = e.constructor;
1012
1012
  this.ya = function() {
1013
1013
  return new n({
@@ -1021,10 +1021,10 @@ function h(e, t) {
1021
1021
  var i, s;
1022
1022
  for (s in this)
1023
1023
  typeof this[s] == "function" && (i = s.match(e)) && (this.rb[i[1]] = this[s].bind(this));
1024
- this.N = gn(this, this.ra, null), this.Na = this.N.object, this.ra = Ge(this.ba.join(`
1025
- `), "polyfills"), this.ba = void 0, Dt(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;
1024
+ this.N = gn(this, this.ra, null), this.Na = this.N.object, this.ra = ze(this.ba.join(`
1025
+ `), "polyfills"), this.ba = void 0, Ut(this.ra), i = new C(this.ra, this.N), i.done = !1, this.o = [i], this.Eb(), this.value = void 0, this.ra = r, i = new C(this.ra, this.N), i.done = !1, this.o.length = 0, this.o[0] = i;
1026
1026
  }
1027
- var vr = {
1027
+ var kr = {
1028
1028
  C: !0,
1029
1029
  kc: 5
1030
1030
  }, Cn = {
@@ -1043,11 +1043,11 @@ var vr = {
1043
1043
  configurable: !1,
1044
1044
  enumerable: !1,
1045
1045
  writable: !1
1046
- }, br = {
1046
+ }, Sr = {
1047
1047
  configurable: !1,
1048
1048
  enumerable: !0,
1049
1049
  writable: !0
1050
- }, Wr = {
1050
+ }, Hr = {
1051
1051
  STEP_ERROR: !0
1052
1052
  }, qe = {
1053
1053
  SCOPE_REFERENCE: !0
@@ -1055,7 +1055,7 @@ var vr = {
1055
1055
  VALUE_IN_DESCRIPTOR: !0
1056
1056
  }, Ke = {
1057
1057
  REGEXP_TIMEOUT: !0
1058
- }, kr = [], we = null, ct = null, Oe = typeof globalThis > "u" ? void 0 : globalThis, ii = ["onmessage = function(e) {", "var result;", "var data = e.data;", "switch (data[0]) {", "case 'split':", "result = data[1].split(data[2], data[3]);", "break;", "case 'match':", "result = data[1].match(data[2]);", "break;", "case 'search':", "result = data[1].search(data[2]);", "break;", "case 'replace':", "result = data[1].replace(data[2], data[3]);", "break;", "case 'exec':", "var regexp = data[1];", "regexp.lastIndex = data[2];", "result = [regexp.exec(data[3]), data[1].lastIndex];", "break;", "default:", "throw Error('Unknown RegExp operation: ' + data[0]);", "}", "postMessage(result);", "close();", "};"];
1058
+ }, Cr = [], we = null, ct = null, Oe = typeof globalThis > "u" ? void 0 : globalThis, ai = ["onmessage = function(e) {", "var result;", "var data = e.data;", "switch (data[0]) {", "case 'split':", "result = data[1].split(data[2], data[3]);", "break;", "case 'match':", "result = data[1].match(data[2]);", "break;", "case 'search':", "result = data[1].search(data[2]);", "break;", "case 'replace':", "result = data[1].replace(data[2], data[3]);", "break;", "case 'exec':", "var regexp = data[1];", "regexp.lastIndex = data[2];", "result = [regexp.exec(data[3]), data[1].lastIndex];", "break;", "default:", "throw Error('Unknown RegExp operation: ' + data[0]);", "}", "postMessage(result);", "close();", "};"];
1059
1059
  function wn(e) {
1060
1060
  var t = e >>> 0;
1061
1061
  return t === Number(e) ? t : NaN;
@@ -1064,12 +1064,12 @@ function pt(e) {
1064
1064
  var t = e >>> 0;
1065
1065
  return String(t) === String(e) && t !== 4294967295 ? t : NaN;
1066
1066
  }
1067
- function Dt(e, t, n) {
1067
+ function Ut(e, t, n) {
1068
1068
  t ? e.start = t : delete e.start, n ? e.end = n : delete e.end;
1069
1069
  for (var r in e)
1070
1070
  if (r !== "loc" && e.hasOwnProperty(r)) {
1071
1071
  var o = e[r];
1072
- o && typeof o == "object" && Dt(o, t, n);
1072
+ o && typeof o == "object" && Ut(o, t, n);
1073
1073
  }
1074
1074
  }
1075
1075
  h.prototype.REGEXP_MODE = 2;
@@ -1080,17 +1080,17 @@ B.P = !1;
1080
1080
  B.Ka = !1;
1081
1081
  B.Kb = 0;
1082
1082
  B.ic = 0;
1083
- function Ge(e, t) {
1083
+ function ze(e, t) {
1084
1084
  var n = {}, r;
1085
- for (r in vr)
1086
- n[r] = vr[r];
1085
+ for (r in kr)
1086
+ n[r] = kr[r];
1087
1087
  return n.sourceFile = t, Oe.j.parse(e, n);
1088
1088
  }
1089
1089
  B.Jb = function(e) {
1090
1090
  var t = this.o[0];
1091
1091
  if (!t || t.node.type !== "Program")
1092
1092
  throw Error("Expecting original AST to start with a Program node");
1093
- if (typeof e == "string" && (e = Ge(e, "appendCode" + this.Kb++)), !e || e.type !== "Program")
1093
+ if (typeof e == "string" && (e = ze(e, "appendCode" + this.Kb++)), !e || e.type !== "Program")
1094
1094
  throw Error("Expecting new AST to start with a Program node");
1095
1095
  gt(this, e, t.scope), Array.prototype.push.apply(t.node.body, e.body), t.node.body.jb = null, t.done = !1;
1096
1096
  };
@@ -1106,7 +1106,7 @@ B.lb = function() {
1106
1106
  if (n = this.ca[0], !n || n.time > Date.now())
1107
1107
  n = null;
1108
1108
  else {
1109
- this.ca.shift(), 0 <= n.interval && Hr(this, n, n.interval);
1109
+ this.ca.shift(), 0 <= n.interval && Gr(this, n, n.interval);
1110
1110
  var r = new C(n.node, n.scope);
1111
1111
  n.zb && (r.ia = 2, r.B = this.Na, r.U = n.zb, r.Qa = !0, r.F = n.Lb), n = r;
1112
1112
  }
@@ -1119,7 +1119,7 @@ B.lb = function() {
1119
1119
  try {
1120
1120
  var i = this.rb[r.type](e, n, r);
1121
1121
  } catch (s) {
1122
- if (s !== Wr)
1122
+ if (s !== Hr)
1123
1123
  throw this.value !== s && (this.value = void 0), s;
1124
1124
  } finally {
1125
1125
  ct = o;
@@ -1137,8 +1137,8 @@ B.Eb = function() {
1137
1137
  ;
1138
1138
  return this.za;
1139
1139
  };
1140
- function si(e, t) {
1141
- e.g(t, "NaN", NaN, ot), e.g(t, "Infinity", 1 / 0, ot), e.g(t, "undefined", void 0, ot), e.g(t, "window", t, Cn), e.g(t, "this", t, ot), e.g(t, "self", t), e.M = new P(null), e.Z = new P(e.M), ai(e, t), li(e, t), t.xa = e.M, e.g(t, "constructor", e.v, S), ui(e, t), ci(e, t), pi(e, t), di(e, t), fi(e, t), hi(e, t), mi(e, t), gi(e, t), yi(e, t);
1140
+ function li(e, t) {
1141
+ e.g(t, "NaN", NaN, ot), e.g(t, "Infinity", 1 / 0, ot), e.g(t, "undefined", void 0, ot), e.g(t, "window", t, Cn), e.g(t, "this", t, ot), e.g(t, "self", t), e.M = new P(null), e.Z = new P(e.M), ui(e, t), ci(e, t), t.xa = e.M, e.g(t, "constructor", e.v, S), pi(e, t), di(e, t), fi(e, t), hi(e, t), mi(e, t), gi(e, t), yi(e, t), vi(e, t), bi(e, t);
1142
1142
  var n = e.i(function() {
1143
1143
  throw EvalError("Can't happen");
1144
1144
  }, !1);
@@ -1154,17 +1154,17 @@ function si(e, t) {
1154
1154
  };
1155
1155
  }(r[o][0]), e.g(t, r[o][1], e.i(n, !1), S);
1156
1156
  n = function(i) {
1157
- return Sr(e, !1, arguments);
1157
+ return wr(e, !1, arguments);
1158
1158
  }, e.g(t, "setTimeout", e.i(n, !1), S), n = function(i) {
1159
- return Sr(e, !0, arguments);
1159
+ return wr(e, !0, arguments);
1160
1160
  }, e.g(t, "setInterval", e.i(n, !1), S), n = function(i) {
1161
- Cr(e, i);
1161
+ Er(e, i);
1162
1162
  }, e.g(t, "clearTimeout", e.i(n, !1), S), n = function(i) {
1163
- Cr(e, i);
1163
+ Er(e, i);
1164
1164
  }, e.g(t, "clearInterval", e.i(n, !1), S), e.OBJECT = e.v, e.OBJECT_PROTO = e.M, e.FUNCTION = e.O, e.FUNCTION_PROTO = e.Z, e.ARRAY = e.qa, e.ARRAY_PROTO = e.La, e.REGEXP = e.I, e.REGEXP_PROTO = e.Ma, e.DATE = e.$, e.DATE_PROTO = e.nb, e.qb && e.qb(e, t);
1165
1165
  }
1166
1166
  B.Wb = 0;
1167
- function ai(e, t) {
1167
+ function ui(e, t) {
1168
1168
  var n = /^[A-Za-z_$][\w$]*$/, r = function(o) {
1169
1169
  var i = arguments.length ? String(arguments[arguments.length - 1]) : "", s = Array.prototype.slice.call(arguments, 0, -1).join(",").trim();
1170
1170
  if (s) {
@@ -1176,7 +1176,7 @@ function ai(e, t) {
1176
1176
  s = s.join(", ");
1177
1177
  }
1178
1178
  try {
1179
- var m = Ge("(function(" + s + ") {" + i + "})", "function" + e.Wb++);
1179
+ var m = ze("(function(" + s + ") {" + i + "})", "function" + e.Wb++);
1180
1180
  } catch (b) {
1181
1181
  w(e, e.T, "Invalid code: " + b.message);
1182
1182
  }
@@ -1185,20 +1185,20 @@ function ai(e, t) {
1185
1185
  e.O = e.i(r, !0), e.g(t, "Function", e.O, S), e.g(e.O, "prototype", e.Z, S), e.g(e.Z, "constructor", e.O, S), e.Z.Ta = function() {
1186
1186
  }, 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) {
1187
1187
  var s = e.o[e.o.length - 1];
1188
- s.U = this, s.B = o, s.F = [], i != null && (i instanceof P ? s.F = Lr(e, i) : w(e, e.j, "CreateListFromArrayLike called on non-object")), s.eb = !1;
1189
- }, _(e, e.O, "apply", r), r = function(o) {
1188
+ s.U = this, s.B = o, s.F = [], i != null && (i instanceof P ? s.F = Kr(e, i) : w(e, e.j, "CreateListFromArrayLike called on non-object")), s.eb = !1;
1189
+ }, J(e, e.O, "apply", r), r = function(o) {
1190
1190
  var i = e.o[e.o.length - 1];
1191
1191
  i.U = this, i.B = o, i.F = [];
1192
1192
  for (var s = 1; s < arguments.length; s++)
1193
1193
  i.F.push(arguments[s]);
1194
1194
  i.eb = !1;
1195
- }, _(e, e.O, "call", r), e.ba.push("Object.defineProperty(Function.prototype, 'bind',", "{configurable: true, writable: true, value:", "function bind(oThis) {", "if (typeof this !== 'function') {", "throw TypeError('What is trying to be bound is not callable');", "}", "var aArgs = Array.prototype.slice.call(arguments, 1),", "fToBind = this,", "fNOP = function() {},", "fBound = function() {", "return fToBind.apply(this instanceof fNOP", "? this", ": oThis,", "aArgs.concat(Array.prototype.slice.call(arguments)));", "};", "if (this.prototype) {", "fNOP.prototype = this.prototype;", "}", "fBound.prototype = new fNOP();", "return fBound;", "}", "});", ""), r = function() {
1195
+ }, J(e, e.O, "call", r), e.ba.push("Object.defineProperty(Function.prototype, 'bind',", "{configurable: true, writable: true, value:", "function bind(oThis) {", "if (typeof this !== 'function') {", "throw TypeError('What is trying to be bound is not callable');", "}", "var aArgs = Array.prototype.slice.call(arguments, 1),", "fToBind = this,", "fNOP = function() {},", "fBound = function() {", "return fToBind.apply(this instanceof fNOP", "? this", ": oThis,", "aArgs.concat(Array.prototype.slice.call(arguments)));", "};", "if (this.prototype) {", "fNOP.prototype = this.prototype;", "}", "fBound.prototype = new fNOP();", "return fBound;", "}", "});", ""), r = function() {
1196
1196
  return String(this);
1197
- }, _(e, e.O, "toString", r), e.g(e.O, "toString", e.i(r, !1), S), r = function() {
1197
+ }, J(e, e.O, "toString", r), e.g(e.O, "toString", e.i(r, !1), S), r = function() {
1198
1198
  return this.valueOf();
1199
- }, _(e, e.O, "valueOf", r), e.g(e.O, "valueOf", e.i(r, !1), S);
1199
+ }, J(e, e.O, "valueOf", r), e.g(e.O, "valueOf", e.i(r, !1), S);
1200
1200
  }
1201
- function li(e, t) {
1201
+ function ci(e, t) {
1202
1202
  function n(o) {
1203
1203
  o != null || w(e, e.j, "Cannot convert '" + o + "' to object");
1204
1204
  }
@@ -1230,22 +1230,22 @@ function li(e, t) {
1230
1230
  return !!o && !o.preventExtensions;
1231
1231
  }, e.g(e.v, "isExtensible", e.i(r, !1), S), r = function(o) {
1232
1232
  return o instanceof P && (o.preventExtensions = !0), o;
1233
- }, e.g(e.v, "preventExtensions", e.i(r, !1), S), _(e, e.v, "toString", P.prototype.toString), _(e, e.v, "toLocaleString", P.prototype.toString), _(e, e.v, "valueOf", P.prototype.valueOf), r = function(o) {
1233
+ }, e.g(e.v, "preventExtensions", e.i(r, !1), S), J(e, e.v, "toString", P.prototype.toString), J(e, e.v, "toLocaleString", P.prototype.toString), J(e, e.v, "valueOf", P.prototype.valueOf), r = function(o) {
1234
1234
  return n(this), this instanceof P ? String(o) in this.h : this.hasOwnProperty(o);
1235
- }, _(e, e.v, "hasOwnProperty", r), r = function(o) {
1235
+ }, J(e, e.v, "hasOwnProperty", r), r = function(o) {
1236
1236
  return n(this), this instanceof P ? Object.prototype.propertyIsEnumerable.call(this.h, o) : this.propertyIsEnumerable(o);
1237
- }, _(e, e.v, "propertyIsEnumerable", r), r = function(o) {
1237
+ }, J(e, e.v, "propertyIsEnumerable", r), r = function(o) {
1238
1238
  for (; ; ) {
1239
1239
  if (o = Te(e, o), !o)
1240
1240
  return !1;
1241
1241
  if (o === this)
1242
1242
  return !0;
1243
1243
  }
1244
- }, _(e, e.v, "isPrototypeOf", r);
1244
+ }, J(e, e.v, "isPrototypeOf", r);
1245
1245
  }
1246
- function ui(e, t) {
1246
+ function pi(e, t) {
1247
1247
  var n = function(r) {
1248
- var o = xe(e) ? this : ze(e), i = arguments[0];
1248
+ var o = xe(e) ? this : Ge(e), i = arguments[0];
1249
1249
  if (arguments.length === 1 && typeof i == "number")
1250
1250
  isNaN(wn(i)) && w(e, e.ob, "Invalid array length: " + i), o.h.length = i;
1251
1251
  else {
@@ -1263,12 +1263,12 @@ function ui(e, t) {
1263
1263
  writable: !0
1264
1264
  }), 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(',');", "}", ");", "})();", "");
1265
1265
  }
1266
- function ci(e, t) {
1266
+ function di(e, t) {
1267
1267
  var n = function(r) {
1268
1268
  return r = arguments.length ? Oe.String(r) : "", xe(e) ? (this.data = r, this) : r;
1269
1269
  };
1270
1270
  for (e.J = e.i(n, !0), e.g(t, "String", e.J, S), e.g(e.J, "fromCharCode", e.i(String.fromCharCode, !1), S), t = "charAt charCodeAt concat indexOf lastIndexOf slice substr substring toLocaleLowerCase toLocaleUpperCase toLowerCase toUpperCase trim".split(" "), n = 0; n < t.length; n++)
1271
- _(e, e.J, t[n], String.prototype[t[n]]);
1271
+ J(e, e.J, t[n], String.prototype[t[n]]);
1272
1272
  n = function(r, o, i) {
1273
1273
  o = e.R(o), i = e.R(i);
1274
1274
  try {
@@ -1276,7 +1276,7 @@ function ci(e, t) {
1276
1276
  } catch (s) {
1277
1277
  w(e, e.D, "localeCompare: " + s.message);
1278
1278
  }
1279
- }, _(e, e.J, "localeCompare", n), n = function(r, o, i) {
1279
+ }, J(e, e.J, "localeCompare", n), n = function(r, o, i) {
1280
1280
  var s = String(this);
1281
1281
  if (o = o ? Number(o) : void 0, Y(e, r, e.I) && (r = r.data, st(e, r, i), e.REGEXP_MODE === 2)) {
1282
1282
  if (we)
@@ -1346,12 +1346,12 @@ function ci(e, t) {
1346
1346
  i(s.replace(r, o));
1347
1347
  }, lt(e, e.J, "replace", n), e.ba.push("(function() {", "var replace_ = String.prototype.replace;", "String.prototype.replace = function replace(substr, newSubstr) {", "if (typeof newSubstr !== 'function') {", "return replace_.call(this, substr, newSubstr);", "}", "var str = this;", "if (substr instanceof RegExp) {", "var subs = [];", "var m = substr.exec(str);", "while (m) {", "m.push(m.index, str);", "var inject = newSubstr.apply(null, m);", "subs.push([m.index, m[0].length, inject]);", "m = substr.global ? substr.exec(str) : null;", "}", "for (var i = subs.length - 1; i >= 0; i--) {", "str = str.substring(0, subs[i][0]) + subs[i][2] + str.substring(subs[i][0] + subs[i][1]);", "}", "} else {", "var i = str.indexOf(substr);", "if (i !== -1) {", "var inject = newSubstr(str.substr(i, substr.length), i, str);", "str = str.substring(0, i) + inject + str.substring(i + substr.length);", "}", "}", "return str;", "};", "})();", "");
1348
1348
  }
1349
- function pi(e, t) {
1349
+ function fi(e, t) {
1350
1350
  e.mb = e.i(function(n) {
1351
1351
  return n = Oe.Boolean(n), xe(e) ? (this.data = n, this) : n;
1352
1352
  }, !0), e.g(t, "Boolean", e.mb, S);
1353
1353
  }
1354
- function di(e, t) {
1354
+ function hi(e, t) {
1355
1355
  var n = function(r) {
1356
1356
  return r = arguments.length ? Oe.Number(r) : 0, xe(e) ? (this.data = r, this) : r;
1357
1357
  };
@@ -1363,34 +1363,34 @@ function di(e, t) {
1363
1363
  } catch (o) {
1364
1364
  w(e, e.D, o.message);
1365
1365
  }
1366
- }, _(e, e.aa, "toExponential", n), n = function(r) {
1366
+ }, J(e, e.aa, "toExponential", n), n = function(r) {
1367
1367
  try {
1368
1368
  return Number(this).toFixed(r);
1369
1369
  } catch (o) {
1370
1370
  w(e, e.D, o.message);
1371
1371
  }
1372
- }, _(e, e.aa, "toFixed", n), n = function(r) {
1372
+ }, J(e, e.aa, "toFixed", n), n = function(r) {
1373
1373
  try {
1374
1374
  return Number(this).toPrecision(r);
1375
1375
  } catch (o) {
1376
1376
  w(e, e.D, o.message);
1377
1377
  }
1378
- }, _(e, e.aa, "toPrecision", n), n = function(r) {
1378
+ }, J(e, e.aa, "toPrecision", n), n = function(r) {
1379
1379
  try {
1380
1380
  return Number(this).toString(r);
1381
1381
  } catch (o) {
1382
1382
  w(e, e.D, o.message);
1383
1383
  }
1384
- }, _(e, e.aa, "toString", n), n = function(r, o) {
1384
+ }, J(e, e.aa, "toString", n), n = function(r, o) {
1385
1385
  r = r ? e.R(r) : void 0, o = o ? e.R(o) : void 0;
1386
1386
  try {
1387
1387
  return Number(this).toLocaleString(r, o);
1388
1388
  } catch (i) {
1389
1389
  w(e, e.D, "toLocaleString: " + i.message);
1390
1390
  }
1391
- }, _(e, e.aa, "toLocaleString", n);
1391
+ }, J(e, e.aa, "toLocaleString", n);
1392
1392
  }
1393
- function fi(e, t) {
1393
+ function mi(e, t) {
1394
1394
  var n = function(o, i) {
1395
1395
  if (!xe(e))
1396
1396
  return Oe.Date();
@@ -1407,9 +1407,9 @@ function fi(e, t) {
1407
1407
  u[p] = e.R(arguments[p]);
1408
1408
  return s[o].apply(s, u);
1409
1409
  };
1410
- }(t[r]), _(e, e.$, t[r], n);
1410
+ }(t[r]), J(e, e.$, t[r], n);
1411
1411
  }
1412
- function hi(e, t) {
1412
+ function gi(e, t) {
1413
1413
  var n = function(r, o) {
1414
1414
  if (xe(e))
1415
1415
  var i = this;
@@ -1451,7 +1451,7 @@ function hi(e, t) {
1451
1451
  r = s.exec(r), e.g(this, "lastIndex", s.lastIndex), o(i(r));
1452
1452
  }, lt(e, e.I, "exec", n);
1453
1453
  }
1454
- function mi(e, t) {
1454
+ function yi(e, t) {
1455
1455
  function n(r) {
1456
1456
  var o = e.i(function(i) {
1457
1457
  var s = xe(e) ? this : e.Aa(o);
@@ -1464,7 +1464,7 @@ function mi(e, t) {
1464
1464
  return mn(e, o, r), o;
1465
1465
  }, !0), e.g(t, "Error", e.D, S), e.g(e.D.h.prototype, "message", "", S), e.g(e.D.h.prototype, "name", "Error", S), n("EvalError"), e.ob = n("RangeError"), e.pb = n("ReferenceError"), e.T = n("SyntaxError"), e.j = n("TypeError"), e.Gb = n("URIError");
1466
1466
  }
1467
- function gi(e, t) {
1467
+ function vi(e, t) {
1468
1468
  var n = e.s(e.M);
1469
1469
  e.g(t, "Math", n, S);
1470
1470
  var r = "E LN2 LN10 LOG2E LOG10E PI SQRT1_2 SQRT2".split(" ");
@@ -1473,7 +1473,7 @@ function gi(e, t) {
1473
1473
  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++)
1474
1474
  e.g(n, r[t], e.i(Math[r[t]], !1), S);
1475
1475
  }
1476
- function yi(e, t) {
1476
+ function bi(e, t) {
1477
1477
  var n = e.s(e.M);
1478
1478
  e.g(t, "JSON", n, S), t = function(r) {
1479
1479
  try {
@@ -1483,7 +1483,7 @@ function yi(e, t) {
1483
1483
  }
1484
1484
  return e.Ia(o);
1485
1485
  }, e.g(n, "parse", e.i(t, !1)), t = function(r, o, i) {
1486
- 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) {
1486
+ o && o.H === "Function" ? w(e, e.j, "Function replacer on JSON.stringify not supported") : o && o.H === "Array" ? (o = Kr(e, o), o = o.filter(function(u) {
1487
1487
  return typeof u == "string" || typeof u == "number";
1488
1488
  })) : o = null, typeof i != "string" && typeof i != "number" && (i = void 0), r = e.R(r);
1489
1489
  try {
@@ -1528,7 +1528,7 @@ function mn(e, t, n) {
1528
1528
  }
1529
1529
  B.ha = function() {
1530
1530
  var e = this.ha.Mb;
1531
- return e || (e = new Blob([ii.join(`
1531
+ return e || (e = new Blob([ai.join(`
1532
1532
  `)], {
1533
1533
  type: "application/javascript"
1534
1534
  }), this.ha.Mb = e), new Worker(URL.createObjectURL(e));
@@ -1580,7 +1580,7 @@ B.s = function(e) {
1580
1580
  throw Error("Non object prototype");
1581
1581
  return e = new P(e), Y(this, e, this.D) && (e.H = "Error"), e;
1582
1582
  };
1583
- function ze(e) {
1583
+ function Ge(e) {
1584
1584
  var t = e.s(e.La);
1585
1585
  return e.g(t, "length", 0, {
1586
1586
  configurable: !1,
@@ -1624,7 +1624,7 @@ B.Ia = function(e) {
1624
1624
  }, !!t);
1625
1625
  }
1626
1626
  if (Array.isArray(e)) {
1627
- t = ze(this);
1627
+ t = Ge(this);
1628
1628
  for (var r = 0; r < e.length; r++)
1629
1629
  r in e && this.g(t, r, this.Ia(e[r]));
1630
1630
  return t;
@@ -1653,7 +1653,7 @@ B.R = function(e, t) {
1653
1653
  if (t.hb.push(e), Y(this, e, this.qa)) {
1654
1654
  n = [], t.Sa.push(n);
1655
1655
  for (var r = this.G(e, "length"), o = 0; o < r; o++)
1656
- Vt(this, e, o) && (n[o] = this.R(this.G(e, o), t));
1656
+ Dt(this, e, o) && (n[o] = this.R(this.G(e, o), t));
1657
1657
  } else
1658
1658
  for (r in n = {}, t.Sa.push(n), e.h)
1659
1659
  o = this.R(e.h[r], t), Object.defineProperty(n, r, {
@@ -1665,11 +1665,11 @@ B.R = function(e, t) {
1665
1665
  return t.hb.pop(), t.Sa.pop(), n;
1666
1666
  };
1667
1667
  function Ce(e, t) {
1668
- for (var n = ze(e), r = Object.getOwnPropertyNames(t), o = 0; o < r.length; o++)
1668
+ for (var n = Ge(e), r = Object.getOwnPropertyNames(t), o = 0; o < r.length; o++)
1669
1669
  e.g(n, r[o], t[r[o]]);
1670
1670
  return n;
1671
1671
  }
1672
- function Lr(e, t) {
1672
+ function Kr(e, t) {
1673
1673
  var n = [], r;
1674
1674
  for (r in t.h)
1675
1675
  n[r] = e.G(t, r);
@@ -1704,7 +1704,7 @@ B.G = function(e, t) {
1704
1704
  return (n = e.V[t]) ? (this.P = !0, n) : e.h[t];
1705
1705
  while (e = Te(this, e));
1706
1706
  };
1707
- function Vt(e, t, n) {
1707
+ function Dt(e, t, n) {
1708
1708
  if (!(t instanceof P))
1709
1709
  throw TypeError("Primitive data type has no properties");
1710
1710
  if (n = String(n), n === "length" && Y(e, t, e.J))
@@ -1788,7 +1788,7 @@ B.g.ac = function() {
1788
1788
  B.g.bc = function() {
1789
1789
  throw Error("Placeholder setter");
1790
1790
  };
1791
- function _(e, t, n, r) {
1791
+ function J(e, t, n, r) {
1792
1792
  e.g(t.h.prototype, n, e.i(r, !1), S);
1793
1793
  }
1794
1794
  function lt(e, t, n, r) {
@@ -1807,24 +1807,24 @@ function gn(e, t, n) {
1807
1807
  var o = t.body && t.body[0];
1808
1808
  o && o.la && o.la.type === "Literal" && o.la.value === "use strict" && (r = !0);
1809
1809
  }
1810
- return o = e.s(null), r = new Kr(n, r, o), n || si(e, r.object), gt(e, t, r), r;
1810
+ return o = e.s(null), r = new qr(n, r, o), n || li(e, r.object), gt(e, t, r), r;
1811
1811
  }
1812
- function Rn(e, t, n) {
1812
+ function An(e, t, n) {
1813
1813
  if (!t)
1814
1814
  throw Error("parentScope required");
1815
- return e = n || e.s(null), new Kr(t, t.S, e);
1815
+ return e = n || e.s(null), new qr(t, t.S, e);
1816
1816
  }
1817
- function An(e, t) {
1817
+ function Rn(e, t) {
1818
1818
  for (var n = xn(e); n && n !== e.N; ) {
1819
1819
  if (t in n.object.h)
1820
1820
  return n.object.h[t];
1821
1821
  n = n.Va;
1822
1822
  }
1823
- if (n === e.N && Vt(e, n.object, t))
1823
+ if (n === e.N && Dt(e, n.object, t))
1824
1824
  return e.G(n.object, t);
1825
1825
  n = e.o[e.o.length - 1].node, n.type === "UnaryExpression" && n.operator === "typeof" || w(e, e.pb, t + " is not defined");
1826
1826
  }
1827
- function Mr(e, t, n) {
1827
+ function zr(e, t, n) {
1828
1828
  for (var r = xn(e), o = r.S; r && r !== e.N; ) {
1829
1829
  if (t in r.object.h) {
1830
1830
  try {
@@ -1836,7 +1836,7 @@ function Mr(e, t, n) {
1836
1836
  }
1837
1837
  r = r.Va;
1838
1838
  }
1839
- if (r === e.N && (!o || Vt(e, r.object, t)))
1839
+ if (r === e.N && (!o || Dt(e, r.object, t)))
1840
1840
  return e.g(r.object, t, n);
1841
1841
  w(e, e.pb, t + " is not defined");
1842
1842
  }
@@ -1886,20 +1886,20 @@ function gt(e, t, n) {
1886
1886
  t.jb = r;
1887
1887
  }
1888
1888
  for (s in r)
1889
- r[s] === !0 ? e.g(n.object, s, void 0, br) : e.g(n.object, s, In(e, r[s], n), br);
1889
+ r[s] === !0 ? e.g(n.object, s, void 0, Sr) : e.g(n.object, s, In(e, r[s], n), Sr);
1890
1890
  return r;
1891
1891
  }
1892
1892
  function xe(e) {
1893
1893
  return e.o[e.o.length - 1].isConstructor;
1894
1894
  }
1895
1895
  function $n(e, t) {
1896
- return t[0] === qe ? An(e, t[1]) : e.G(t[0], t[1]);
1896
+ return t[0] === qe ? Rn(e, t[1]) : e.G(t[0], t[1]);
1897
1897
  }
1898
1898
  function Pn(e, t, n) {
1899
- return t[0] === qe ? Mr(e, t[1], n) : e.g(t[0], t[1], n);
1899
+ return t[0] === qe ? zr(e, t[1], n) : e.g(t[0], t[1], n);
1900
1900
  }
1901
1901
  function w(e, t, n) {
1902
- throw e.N ? (n !== void 0 && t instanceof P && (t = e.Aa(t), mn(e, t, n)), vt(e, 4, t), Wr) : n === void 0 ? t : n;
1902
+ throw e.N ? (n !== void 0 && t instanceof P && (t = e.Aa(t), mn(e, t, n)), vt(e, 4, t), Hr) : n === void 0 ? t : n;
1903
1903
  }
1904
1904
  function vt(e, t, n, r) {
1905
1905
  if (t === 0)
@@ -1977,7 +1977,7 @@ function te(e, t) {
1977
1977
  }
1978
1978
  return "???";
1979
1979
  }
1980
- function Sr(e, t, n) {
1980
+ function wr(e, t, n) {
1981
1981
  var r = e.o[e.o.length - 1], o = Array.from(n), i = o.shift();
1982
1982
  n = Math.max(Number(o.shift() || 0), 0);
1983
1983
  var s = e.ya();
@@ -1986,20 +1986,20 @@ function Sr(e, t, n) {
1986
1986
  s.type = "CallExpression", r = r.scope;
1987
1987
  } else {
1988
1988
  try {
1989
- var p = Ge(String(i), "taskCode" + e.ic++);
1989
+ var p = ze(String(i), "taskCode" + e.ic++);
1990
1990
  } catch (m) {
1991
1991
  w(e, e.T, "Invalid code: " + m.message);
1992
1992
  }
1993
- s.type = "EvalProgram_", s.body = p.body, r = r.node.arguments[0], Dt(s, r ? r.start : void 0, r ? r.end : void 0), r = e.N, o.length = 0;
1993
+ s.type = "EvalProgram_", s.body = p.body, r = r.node.arguments[0], Ut(s, r ? r.start : void 0, r ? r.end : void 0), r = e.N, o.length = 0;
1994
1994
  }
1995
- return t = new vi(u, o, r, s, t ? n : -1), Hr(e, t, n), t.Db;
1995
+ return t = new ki(u, o, r, s, t ? n : -1), Gr(e, t, n), t.Db;
1996
1996
  }
1997
- function Hr(e, t, n) {
1997
+ function Gr(e, t, n) {
1998
1998
  t.time = Date.now() + n, e.ca.push(t), e.ca.sort(function(r, o) {
1999
1999
  return r.time - o.time;
2000
2000
  });
2001
2001
  }
2002
- function Cr(e, t) {
2002
+ function Er(e, t) {
2003
2003
  for (var n = 0; n < e.ca.length; n++)
2004
2004
  if (e.ca[n].Db == t) {
2005
2005
  e.ca.splice(n, 1);
@@ -2035,7 +2035,7 @@ B.ec = function(e) {
2035
2035
  function C(e, t) {
2036
2036
  this.node = e, this.scope = t;
2037
2037
  }
2038
- function Kr(e, t, n) {
2038
+ function qr(e, t, n) {
2039
2039
  this.Va = e, this.S = t, this.object = n;
2040
2040
  }
2041
2041
  function P(e) {
@@ -2051,7 +2051,7 @@ B.toString = function() {
2051
2051
  if (!(this instanceof P))
2052
2052
  return String(this);
2053
2053
  if (this.H === "Array") {
2054
- var e = kr;
2054
+ var e = Cr;
2055
2055
  e.push(this);
2056
2056
  try {
2057
2057
  var t = [], n = this.h.length, r = !1;
@@ -2067,7 +2067,7 @@ B.toString = function() {
2067
2067
  return t.join(",");
2068
2068
  }
2069
2069
  if (this.H === "Error") {
2070
- if (e = kr, e.indexOf(this) !== -1)
2070
+ if (e = Cr, e.indexOf(this) !== -1)
2071
2071
  return "[object Error]";
2072
2072
  n = this;
2073
2073
  do
@@ -2096,14 +2096,14 @@ B.toString = function() {
2096
2096
  B.valueOf = function() {
2097
2097
  return !ct || this.data === void 0 || this.data === null || this.data instanceof RegExp ? this : this.data instanceof Date ? this.data.valueOf() : this.data;
2098
2098
  };
2099
- function vi(e, t, n, r, o) {
2100
- this.zb = e, this.Lb = t, this.scope = n, this.node = r, this.interval = o, this.Db = ++bi, this.time = 0;
2099
+ function ki(e, t, n, r, o) {
2100
+ this.zb = e, this.Lb = t, this.scope = n, this.node = r, this.interval = o, this.Db = ++Si, this.time = 0;
2101
2101
  }
2102
- var bi = 0;
2102
+ var Si = 0;
2103
2103
  h.prototype.stepArrayExpression = function(e, t, n) {
2104
2104
  n = n.elements;
2105
2105
  var r = t.A || 0;
2106
- for (t.Oa ? (this.g(t.Oa, r, t.value), r++) : (t.Oa = ze(this), t.Oa.h.length = n.length); r < n.length; ) {
2106
+ for (t.Oa ? (this.g(t.Oa, r, t.value), r++) : (t.Oa = Ge(this), t.Oa.h.length = n.length); r < n.length; ) {
2107
2107
  if (n[r])
2108
2108
  return t.A = r, new C(n[r], t.scope);
2109
2109
  r++;
@@ -2230,7 +2230,7 @@ h.prototype.stepBinaryExpression = function(e, t, n) {
2230
2230
  n = r >>> t;
2231
2231
  break;
2232
2232
  case "in":
2233
- t instanceof P || w(this, this.j, "'in' expects an object, not '" + t + "'"), n = Vt(this, t, r);
2233
+ t instanceof P || w(this, this.j, "'in' expects an object, not '" + t + "'"), n = Dt(this, t, r);
2234
2234
  break;
2235
2235
  case "instanceof":
2236
2236
  Y(this, t, this.O) || w(this, this.j, "'instanceof' expects an object, not '" + t + "'"), n = r instanceof P ? Y(this, r, t) : !1;
@@ -2271,7 +2271,7 @@ h.prototype.stepCallExpression = function(e, t, n) {
2271
2271
  return new C(n.arguments[t.A++], t.scope);
2272
2272
  if (n.type === "NewExpression") {
2273
2273
  if (o instanceof P && !o.Ab || w(this, this.j, te(this, n.callee) + " is not a constructor"), o === this.qa)
2274
- t.B = ze(this);
2274
+ t.B = Ge(this);
2275
2275
  else {
2276
2276
  var i = o.h.prototype;
2277
2277
  (typeof i != "object" || i === null) && (i = this.M), t.B = this.s(i);
@@ -2284,7 +2284,7 @@ h.prototype.stepCallExpression = function(e, t, n) {
2284
2284
  e.pop(), e[e.length - 1].value = t.isConstructor && typeof t.value != "object" ? t.B : t.value;
2285
2285
  else {
2286
2286
  if (t.eb = !0, o instanceof P || w(this, this.j, te(this, n.callee) + " is not a function"), e = o.node) {
2287
- for (n = gn(this, e.body, o.Va), r = ze(this), o = 0; o < t.F.length; o++)
2287
+ for (n = gn(this, e.body, o.Va), r = Ge(this), o = 0; o < t.F.length; o++)
2288
2288
  this.g(r, o, t.F[o]);
2289
2289
  for (this.g(n.object, "arguments", r), o = 0; o < e.oa.length; o++)
2290
2290
  this.g(n.object, e.oa[o].name, t.F.length > o ? t.F[o] : void 0);
@@ -2295,11 +2295,11 @@ h.prototype.stepCallExpression = function(e, t, n) {
2295
2295
  t.value = o;
2296
2296
  else {
2297
2297
  try {
2298
- r = Ge(String(o), "eval" + this.Hb++);
2298
+ r = ze(String(o), "eval" + this.Hb++);
2299
2299
  } catch (u) {
2300
2300
  w(this, this.T, "Invalid code: " + u.message);
2301
2301
  }
2302
- return o = this.ya(), o.type = "EvalProgram_", o.body = r.body, Dt(o, n.start, n.end), n = t.Pb ? t.scope : this.N, n.S ? n = gn(this, r, n) : gt(this, r, n), this.value = void 0, new C(o, n);
2302
+ return o = this.ya(), o.type = "EvalProgram_", o.body = r.body, Ut(o, n.start, n.end), n = t.Pb ? t.scope : this.N, n.S ? n = gn(this, r, n) : gt(this, r, n), this.value = void 0, new C(o, n);
2303
2303
  }
2304
2304
  else if (o.Ta)
2305
2305
  t.scope.S || (t.B = an(this, t.B)), t.value = o.Ta.apply(t.B, t.F);
@@ -2418,13 +2418,13 @@ h.prototype.stepFunctionDeclaration = function(e) {
2418
2418
  e.pop();
2419
2419
  };
2420
2420
  h.prototype.stepFunctionExpression = function(e, t, n) {
2421
- e.pop(), t = e[e.length - 1], e = t.scope, n.id && (e = Rn(this, e)), t.value = In(this, n, e, t.Pa), n.id && this.g(e.object, n.id.name, t.value, Cn);
2421
+ e.pop(), t = e[e.length - 1], e = t.scope, n.id && (e = An(this, e)), t.value = In(this, n, e, t.Pa), n.id && this.g(e.object, n.id.name, t.value, Cn);
2422
2422
  };
2423
2423
  h.prototype.stepIdentifier = function(e, t, n) {
2424
2424
  if (e.pop(), t.sa)
2425
2425
  e[e.length - 1].value = [qe, n.name];
2426
2426
  else {
2427
- if (t = An(this, n.name), this.P)
2427
+ if (t = Rn(this, n.name), this.P)
2428
2428
  return bt(this, t, this.Na);
2429
2429
  e[e.length - 1].value = t;
2430
2430
  }
@@ -2537,7 +2537,7 @@ h.prototype.stepSwitchStatement = function(e, t, n) {
2537
2537
  }
2538
2538
  };
2539
2539
  h.prototype.stepThisExpression = function(e) {
2540
- e.pop(), e[e.length - 1].value = An(this, "this");
2540
+ e.pop(), e[e.length - 1].value = Rn(this, "this");
2541
2541
  };
2542
2542
  h.prototype.stepThrowStatement = function(e, t, n) {
2543
2543
  if (t.ka)
@@ -2549,7 +2549,7 @@ h.prototype.stepTryStatement = function(e, t, n) {
2549
2549
  if (!t.Rb)
2550
2550
  return t.Rb = !0, new C(n.block, t.scope);
2551
2551
  if (t.ea && t.ea.type === 4 && !t.Tb && n.Ea)
2552
- return t.Tb = !0, e = Rn(this, t.scope), this.g(e.object, n.Ea.Ua.name, t.ea.value), t.ea = void 0, new C(n.Ea.body, e);
2552
+ return t.Tb = !0, e = An(this, t.scope), this.g(e.object, n.Ea.Ua.name, t.ea.value), t.ea = void 0, new C(n.Ea.body, e);
2553
2553
  if (!t.Sb && n.fb)
2554
2554
  return t.Sb = !0, new C(n.fb, t.scope);
2555
2555
  e.pop(), t.ea && vt(this, t.ea.type, t.ea.value, t.ea.label);
@@ -2620,7 +2620,7 @@ h.prototype.stepUpdateExpression = function(e, t, n) {
2620
2620
  h.prototype.stepVariableDeclaration = function(e, t, n) {
2621
2621
  n = n.fa;
2622
2622
  var r = t.A || 0, o = n[r];
2623
- for (t.Bb && o && (Mr(this, o.id.name, t.value), t.Bb = !1, o = n[++r]); o; ) {
2623
+ for (t.Bb && o && (zr(this, o.id.name, t.value), t.Bb = !1, o = n[++r]); o; ) {
2624
2624
  if (o.ua)
2625
2625
  return t.A = r, t.Bb = !0, t.Pa = o.id.name, new C(o.ua, t.scope);
2626
2626
  o = n[++r];
@@ -2628,7 +2628,7 @@ h.prototype.stepVariableDeclaration = function(e, t, n) {
2628
2628
  e.pop();
2629
2629
  };
2630
2630
  h.prototype.stepWithStatement = function(e, t, n) {
2631
- return t.Ca ? (e.pop(), e = Rn(this, t.scope, t.value), new C(n.body, e)) : (t.Ca = !0, new C(n.object, t.scope));
2631
+ return t.Ca ? (e.pop(), e = An(this, t.scope, t.value), new C(n.body, e)) : (t.Ca = !0, new C(n.object, t.scope));
2632
2632
  };
2633
2633
  h.prototype.stepWhileStatement = h.prototype.stepDoWhileStatement;
2634
2634
  Oe.Interpreter = h;
@@ -2647,7 +2647,7 @@ h.prototype.getGlobalScope = h.prototype.Xb;
2647
2647
  h.prototype.getStateStack = h.prototype.Yb;
2648
2648
  h.prototype.setStateStack = h.prototype.ec;
2649
2649
  h.VALUE_IN_DESCRIPTOR = mt;
2650
- function ki() {
2650
+ function Ci() {
2651
2651
  const e = h.prototype.getProperty, t = h.prototype.setProperty;
2652
2652
  function n(s, u) {
2653
2653
  if (s == null || !s._connected)
@@ -2672,11 +2672,11 @@ function ki() {
2672
2672
  return u._connected = s, u;
2673
2673
  };
2674
2674
  }
2675
- ki();
2676
- const Si = (e) => e.replace(/^.*?function main\(\)/, `
2675
+ Ci();
2676
+ const wi = (e) => e.replace(/^.*?function main\(\)/, `
2677
2677
  var __awaiter = function (e, t, n, r) {return r()},
2678
2678
  __generator = function (e, t) { return t() };
2679
- function main()`).replace(/\?\./g, "."), wr = (e) => e + "JSON", Ci = ({
2679
+ function main()`).replace(/\?\./g, "."), Tr = (e) => e + "JSON", Ei = ({
2680
2680
  builder: e,
2681
2681
  context: t,
2682
2682
  event: n,
@@ -2689,16 +2689,16 @@ function main()`).replace(/\?\./g, "."), wr = (e) => e + "JSON", Ci = ({
2689
2689
  rootState: r,
2690
2690
  localState: o,
2691
2691
  rootSetState: i
2692
- }), p = Fr({
2692
+ }), p = Lr({
2693
2693
  builder: e,
2694
2694
  context: t,
2695
2695
  event: n,
2696
2696
  state: u
2697
2697
  }), m = p.map(([O]) => {
2698
- const Z = wr(O);
2698
+ const Z = Tr(O);
2699
2699
  return O === "state" ? "" : `var ${O} = ${Z} === undefined ? undefined : JSON.parse(${Z});`;
2700
2700
  }).join(`
2701
- `), b = Si(s);
2701
+ `), b = wi(s);
2702
2702
  if (b === "")
2703
2703
  return;
2704
2704
  const v = `
@@ -2709,34 +2709,34 @@ function theFunction() {
2709
2709
  }
2710
2710
  theFunction();
2711
2711
  `, g = function(O, Z) {
2712
- p.forEach(([Re, $]) => {
2713
- if (Re === "state")
2714
- O.setProperty(Z, Re, O.createConnectedObject($), O.READONLY_DESCRIPTOR);
2712
+ p.forEach(([Ae, $]) => {
2713
+ if (Ae === "state")
2714
+ O.setProperty(Z, Ae, O.createConnectedObject($), O.READONLY_DESCRIPTOR);
2715
2715
  else {
2716
2716
  const F = JSON.stringify($);
2717
- O.setProperty(Z, wr(Re), F);
2717
+ O.setProperty(Z, Tr(Ae), F);
2718
2718
  }
2719
2719
  });
2720
2720
  }, T = new h(v, g);
2721
2721
  return T.run(), T.pseudoToNative(T.value);
2722
2722
  }, je = (e) => e != null;
2723
- function wi() {
2723
+ function Ti() {
2724
2724
  var e;
2725
2725
  return typeof process < "u" && je((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
2726
2726
  }
2727
- const Ei = ({
2727
+ const Ii = ({
2728
2728
  shouldLogWarning: e
2729
2729
  }) => {
2730
2730
  var o;
2731
- if (!wi())
2731
+ if (!Ti())
2732
2732
  return !1;
2733
2733
  const t = process.arch === "arm64", n = process.version.startsWith("v20"), r = (o = process.env.NODE_OPTIONS) == null ? void 0 : o.includes("--no-node-snapshot");
2734
2734
  return t && n && !r ? (e && ue.log("Skipping usage of `isolated-vm` to avoid crashes in Node v20 on an arm64 machine.\n If you would like to use the `isolated-vm` package on this machine, please provide the `NODE_OPTIONS=--no-node-snapshot` config to your Node process.\n See https://github.com/BuilderIO/builder/blob/main/packages/sdks/README.md#node-v20--m1-macs-apple-silicon-support for more information.\n "), !0) : !1;
2735
- }, Ti = (e) => J() || Ei({
2735
+ }, xi = (e) => z() || Ii({
2736
2736
  shouldLogWarning: !0
2737
- }) ? ri(e) : Ci(e), Ii = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, xi = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, Ri = (e) => {
2737
+ }) ? ii(e) : Ei(e), Ai = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, Ri = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, $i = (e) => {
2738
2738
  var t, n, r, o, i, s;
2739
- return ((r = (n = (t = Ii.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : r.slice(1)) || ((s = (i = (o = xi.exec(e.trim())) == null ? void 0 : o.groups) == null ? void 0 : i.getPath) == null ? void 0 : s.slice(1));
2739
+ return ((r = (n = (t = Ai.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : r.slice(1)) || ((s = (i = (o = Ri.exec(e.trim())) == null ? void 0 : o.groups) == null ? void 0 : i.getPath) == null ? void 0 : s.slice(1));
2740
2740
  };
2741
2741
  function kt({
2742
2742
  code: e,
@@ -2749,17 +2749,17 @@ function kt({
2749
2749
  }) {
2750
2750
  if (e.trim() === "")
2751
2751
  return;
2752
- const u = Ri(e.trim());
2752
+ const u = $i(e.trim());
2753
2753
  if (u)
2754
- return Nr({
2754
+ return Vr({
2755
2755
  ...r,
2756
2756
  ...n
2757
2757
  }, u);
2758
2758
  const p = {
2759
- code: ni(e, {
2759
+ code: oi(e, {
2760
2760
  isExpression: s
2761
2761
  }),
2762
- builder: ti(),
2762
+ builder: ri(),
2763
2763
  context: t,
2764
2764
  event: i,
2765
2765
  rootSetState: o,
@@ -2767,7 +2767,7 @@ function kt({
2767
2767
  localState: n
2768
2768
  };
2769
2769
  try {
2770
- return Ti(p);
2770
+ return xi(p);
2771
2771
  } catch (m) {
2772
2772
  ue.error("Failed code evaluation: " + m.message, {
2773
2773
  code: e
@@ -2775,15 +2775,15 @@ function kt({
2775
2775
  return;
2776
2776
  }
2777
2777
  }
2778
- function Ai(e, t) {
2778
+ function Pi(e, t) {
2779
2779
  var n;
2780
2780
  return {
2781
2781
  ...(n = e.component) == null ? void 0 : n.options,
2782
2782
  ...e.options,
2783
- ...$i(e, t)
2783
+ ...Oi(e, t)
2784
2784
  };
2785
2785
  }
2786
- const $i = (e, t) => {
2786
+ const Oi = (e, t) => {
2787
2787
  var n, r;
2788
2788
  if (((n = e.component) == null ? void 0 : n.name) === "Text" && ((r = e.component.options) != null && r.text) && typeof e.component.options.text == "string")
2789
2789
  return {
@@ -2797,7 +2797,7 @@ const $i = (e, t) => {
2797
2797
  }))
2798
2798
  };
2799
2799
  };
2800
- function Pi(e, ...t) {
2800
+ function ji(e, ...t) {
2801
2801
  const n = Object.assign({}, e);
2802
2802
  for (const r of t)
2803
2803
  delete n[r];
@@ -2820,30 +2820,30 @@ function jt(e, t, n = null, r = null, o = /* @__PURE__ */ new WeakSet()) {
2820
2820
  }), jt(s, t, e, i, o);
2821
2821
  }));
2822
2822
  }
2823
- function Gr(e) {
2823
+ function _r(e) {
2824
2824
  return e && typeof e == "object" && e["@type"] === "@builder.io/core:LocalizedValue";
2825
2825
  }
2826
- function Oi(e) {
2826
+ function Bi(e) {
2827
2827
  if (!e || !Object.getOwnPropertyNames(e).length)
2828
2828
  return !1;
2829
2829
  let t = !1;
2830
2830
  return jt(e, (n) => {
2831
- if (Gr(n)) {
2831
+ if (_r(n)) {
2832
2832
  t = !0;
2833
2833
  return;
2834
2834
  }
2835
2835
  }), t;
2836
2836
  }
2837
- function ji(e, t) {
2837
+ function Ni(e, t) {
2838
2838
  return !e || !Object.getOwnPropertyNames(e).length ? {} : (jt(e, (n, r) => {
2839
- Gr(n) && r(n[t] ?? void 0);
2839
+ _r(n) && r(n[t] ?? void 0);
2840
2840
  }), e);
2841
2841
  }
2842
- function Bi(e, t) {
2842
+ function Ui(e, t) {
2843
2843
  var n, r;
2844
- return (n = e.component) != null && n.options && Oi((r = e.component) == null ? void 0 : r.options) && (t || console.warn("[Builder.io] In order to use localized fields in Builder, you must pass a locale prop to the BuilderComponent or to options object while fetching the content to resolve localized fields. Learn more: https://www.builder.io/c/docs/localization-inline#targeting-and-inline-localization"), e.component.options = ji(e.component.options, t ?? "Default")), e;
2844
+ return (n = e.component) != null && n.options && Bi((r = e.component) == null ? void 0 : r.options) && (t || console.warn("[Builder.io] In order to use localized fields in Builder, you must pass a locale prop to the BuilderComponent or to options object while fetching the content to resolve localized fields. Learn more: https://www.builder.io/c/docs/localization-inline#targeting-and-inline-localization"), e.component.options = Ni(e.component.options, t ?? "Default")), e;
2845
2845
  }
2846
- const jn = (e) => JSON.parse(JSON.stringify(e)), zr = (e, t, n) => {
2846
+ const jn = (e) => JSON.parse(JSON.stringify(e)), Jr = (e, t, n) => {
2847
2847
  if (Object(e) !== e)
2848
2848
  return e;
2849
2849
  const r = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
@@ -2861,8 +2861,8 @@ function yn(e) {
2861
2861
  n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = yn(e[n]));
2862
2862
  return t;
2863
2863
  }
2864
- const Ni = ["svelte", "vue", "angular", "qwik", "solid"].includes(re), Di = (e) => {
2865
- if (Ni) {
2864
+ const Di = ["svelte", "vue", "angular", "qwik", "solid"].includes(re), Vi = (e) => {
2865
+ if (Di) {
2866
2866
  const t = jn(e);
2867
2867
  return {
2868
2868
  ...t,
@@ -2874,7 +2874,7 @@ const Ni = ["svelte", "vue", "angular", "qwik", "solid"].includes(re), Di = (e)
2874
2874
  }
2875
2875
  };
2876
2876
  } else {
2877
- const t = yn(Pi(e, "children", "meta"));
2877
+ const t = yn(ji(e, "children", "meta"));
2878
2878
  return {
2879
2879
  ...t,
2880
2880
  properties: {
@@ -2887,7 +2887,7 @@ const Ni = ["svelte", "vue", "angular", "qwik", "solid"].includes(re), Di = (e)
2887
2887
  meta: e.meta
2888
2888
  };
2889
2889
  }
2890
- }, Vi = ({
2890
+ }, Fi = ({
2891
2891
  block: e,
2892
2892
  context: t,
2893
2893
  localState: n,
@@ -2896,7 +2896,7 @@ const Ni = ["svelte", "vue", "angular", "qwik", "solid"].includes(re), Di = (e)
2896
2896
  }) => {
2897
2897
  if (!e.bindings)
2898
2898
  return e;
2899
- const i = Di(e);
2899
+ const i = Vi(e);
2900
2900
  for (const s in e.bindings) {
2901
2901
  const u = e.bindings[s], p = kt({
2902
2902
  code: u,
@@ -2905,19 +2905,19 @@ const Ni = ["svelte", "vue", "angular", "qwik", "solid"].includes(re), Di = (e)
2905
2905
  rootSetState: o,
2906
2906
  context: t
2907
2907
  });
2908
- zr(i, s, p);
2908
+ Jr(i, s, p);
2909
2909
  }
2910
2910
  return i;
2911
2911
  };
2912
- function Ui({
2912
+ function Wi({
2913
2913
  block: e,
2914
2914
  context: t,
2915
2915
  localState: n,
2916
2916
  rootState: r,
2917
2917
  rootSetState: o
2918
2918
  }) {
2919
- let i = Bi(e, r.locale);
2920
- return i = i, Vi({
2919
+ let i = Ui(e, r.locale);
2920
+ return i = i, Fi({
2921
2921
  block: i,
2922
2922
  localState: n,
2923
2923
  rootState: r,
@@ -2925,25 +2925,25 @@ function Ui({
2925
2925
  context: t
2926
2926
  });
2927
2927
  }
2928
- function qr(e) {
2929
- const t = e || (J() ? window.location.search : void 0);
2930
- return t ? Vr(t).indexOf("builder.preview=") !== -1 : !1;
2928
+ function Xr(e) {
2929
+ const t = e || (z() ? window.location.search : void 0);
2930
+ return t ? Wr(t).indexOf("builder.preview=") !== -1 : !1;
2931
2931
  }
2932
- const Fi = (e) => ({
2932
+ const Mi = (e) => ({
2933
2933
  type: "builder.registerComponent",
2934
2934
  data: Bt(e)
2935
- }), Wi = (e) => {
2935
+ }), Li = (e) => {
2936
2936
  const t = e.toString().trim(), n = /^[a-zA-Z0-9_]+\s*=>/i.test(t);
2937
2937
  return `return (${!t.startsWith("function") && !t.startsWith("async") && !t.startsWith("(") && !n ? "function " : ""}${t}).apply(this, arguments)`;
2938
2938
  };
2939
2939
  function Bt(e) {
2940
- return JSON.parse(JSON.stringify(e, (t, n) => typeof n == "function" ? Wi(n) : n));
2940
+ return JSON.parse(JSON.stringify(e, (t, n) => typeof n == "function" ? Li(n) : n));
2941
2941
  }
2942
- const Er = {};
2943
- function Li(e, t) {
2942
+ const Ir = {};
2943
+ function Hi(e, t) {
2944
2944
  e === "plugin" && (t = Bt(t));
2945
- let n = Er[e];
2946
- if (n || (n = Er[e] = []), n.push(t), J()) {
2945
+ let n = Ir[e];
2946
+ if (n || (n = Ir[e] = []), n.push(t), z()) {
2947
2947
  const r = {
2948
2948
  type: "builder.register",
2949
2949
  data: {
@@ -2958,42 +2958,42 @@ function Li(e, t) {
2958
2958
  }
2959
2959
  }
2960
2960
  }
2961
- const Tr = {};
2962
- function Pu(e) {
2963
- if (J()) {
2964
- Object.assign(Tr, e);
2961
+ const xr = {};
2962
+ function Bu(e) {
2963
+ if (z()) {
2964
+ Object.assign(xr, e);
2965
2965
  const t = {
2966
2966
  type: "builder.settingsChange",
2967
- data: Tr
2967
+ data: xr
2968
2968
  };
2969
2969
  parent.postMessage(t, "*");
2970
2970
  }
2971
2971
  }
2972
- const Ir = "builder.", Mi = "options.", _r = (e) => {
2972
+ const Ar = "builder.", Ki = "options.", Yr = (e) => {
2973
2973
  if (!e)
2974
2974
  return {};
2975
- const t = Dr(e), n = {};
2975
+ const t = Fr(e), n = {};
2976
2976
  return Object.keys(t).forEach((r) => {
2977
- if (r.startsWith(Ir)) {
2978
- const o = r.replace(Ir, "").replace(Mi, "");
2977
+ if (r.startsWith(Ar)) {
2978
+ const o = r.replace(Ar, "").replace(Ki, "");
2979
2979
  n[o] = t[r];
2980
2980
  }
2981
2981
  }), n;
2982
- }, Hi = () => {
2983
- if (!J())
2982
+ }, zi = () => {
2983
+ if (!z())
2984
2984
  return {};
2985
2985
  const e = new URLSearchParams(window.location.search);
2986
- return _r(e);
2987
- }, Jr = "3.0.5", Xr = () => ({
2986
+ return Yr(e);
2987
+ }, Zr = "3.0.7", Qr = () => ({
2988
2988
  "X-Builder-SDK": re,
2989
2989
  "X-Builder-SDK-GEN": "2",
2990
- "X-Builder-SDK-Version": Jr
2991
- }), Ki = (e) => {
2990
+ "X-Builder-SDK-Version": Zr
2991
+ }), Gi = (e) => {
2992
2992
  if (e === "localhost" || e === "127.0.0.1")
2993
2993
  return e;
2994
2994
  const t = e.split(".");
2995
2995
  return t.length > 2 ? t.slice(1).join(".") : e;
2996
- }, Yr = ({
2996
+ }, Bn = ({
2997
2997
  name: e,
2998
2998
  canTrack: t
2999
2999
  }) => {
@@ -3004,14 +3004,14 @@ const Ir = "builder.", Mi = "options.", _r = (e) => {
3004
3004
  ue.warn("[COOKIE] GET error: ", (r == null ? void 0 : r.message) || r);
3005
3005
  return;
3006
3006
  }
3007
- }, Zr = async (e) => Yr(e), Gi = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(je).join("; "), zi = [["secure", ""], ["SameSite", "None"]], qi = ({
3007
+ }, eo = async (e) => Bn(e), qi = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(je).join("; "), _i = [["secure", ""], ["SameSite", "None"]], Ji = ({
3008
3008
  name: e,
3009
3009
  value: t,
3010
3010
  expires: n
3011
3011
  }) => {
3012
- const o = (J() ? location.protocol === "https:" : !0) ? zi : [[]], i = n ? [["expires", n.toUTCString()]] : [[]], s = [[e, t], ...i, ["path", "/"], ["domain", Ki(window.location.hostname)], ...o];
3013
- return Gi(s);
3014
- }, Qr = async ({
3012
+ const o = (z() ? location.protocol === "https:" : !0) ? _i : [[]], i = n ? [["expires", n.toUTCString()]] : [[]], s = [[e, t], ...i, ["path", "/"], ["domain", Gi(window.location.hostname)], ...o];
3013
+ return qi(s);
3014
+ }, Nn = async ({
3015
3015
  name: e,
3016
3016
  value: t,
3017
3017
  expires: n,
@@ -3020,7 +3020,7 @@ const Ir = "builder.", Mi = "options.", _r = (e) => {
3020
3020
  try {
3021
3021
  if (!r)
3022
3022
  return;
3023
- const o = qi({
3023
+ const o = Ji({
3024
3024
  name: e,
3025
3025
  value: t,
3026
3026
  expires: n
@@ -3030,93 +3030,93 @@ const Ir = "builder.", Mi = "options.", _r = (e) => {
3030
3030
  ue.warn("[COOKIE] SET error: ", (o == null ? void 0 : o.message) || o);
3031
3031
  }
3032
3032
  };
3033
- function _i() {
3033
+ function Xi() {
3034
3034
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
3035
3035
  const t = Math.random() * 16 | 0;
3036
3036
  return (e == "x" ? t : t & 3 | 8).toString(16);
3037
3037
  });
3038
3038
  }
3039
- function eo() {
3040
- return _i().replace(/-/g, "");
3039
+ function to() {
3040
+ return Xi().replace(/-/g, "");
3041
3041
  }
3042
- const to = "builderSessionId", Ji = async ({
3042
+ const no = "builderSessionId", Yi = async ({
3043
3043
  canTrack: e
3044
3044
  }) => {
3045
3045
  if (!e)
3046
3046
  return;
3047
- const t = await Zr({
3048
- name: to,
3047
+ const t = await eo({
3048
+ name: no,
3049
3049
  canTrack: e
3050
3050
  });
3051
3051
  if (je(t))
3052
3052
  return t;
3053
3053
  {
3054
- const n = Xi();
3055
- return Yi({
3054
+ const n = Zi();
3055
+ return Qi({
3056
3056
  id: n,
3057
3057
  canTrack: e
3058
3058
  }), n;
3059
3059
  }
3060
- }, Xi = () => eo(), Yi = ({
3060
+ }, Zi = () => to(), Qi = ({
3061
3061
  id: e,
3062
3062
  canTrack: t
3063
- }) => Qr({
3064
- name: to,
3063
+ }) => Nn({
3064
+ name: no,
3065
3065
  value: e,
3066
3066
  canTrack: t
3067
- }), no = () => J() && typeof localStorage < "u" ? localStorage : void 0, Zi = ({
3067
+ }), ro = () => z() && typeof localStorage < "u" ? localStorage : void 0, es = ({
3068
3068
  key: e,
3069
3069
  canTrack: t
3070
3070
  }) => {
3071
3071
  var n;
3072
3072
  try {
3073
- return t ? (n = no()) == null ? void 0 : n.getItem(e) : void 0;
3073
+ return t ? (n = ro()) == null ? void 0 : n.getItem(e) : void 0;
3074
3074
  } catch (r) {
3075
3075
  console.debug("[LocalStorage] GET error: ", r);
3076
3076
  return;
3077
3077
  }
3078
- }, Qi = ({
3078
+ }, ts = ({
3079
3079
  key: e,
3080
3080
  canTrack: t,
3081
3081
  value: n
3082
3082
  }) => {
3083
3083
  var r;
3084
3084
  try {
3085
- t && ((r = no()) == null || r.setItem(e, n));
3085
+ t && ((r = ro()) == null || r.setItem(e, n));
3086
3086
  } catch (o) {
3087
3087
  console.debug("[LocalStorage] SET error: ", o);
3088
3088
  }
3089
- }, ro = "builderVisitorId", es = ({
3089
+ }, oo = "builderVisitorId", ns = ({
3090
3090
  canTrack: e
3091
3091
  }) => {
3092
3092
  if (!e)
3093
3093
  return;
3094
- const t = Zi({
3095
- key: ro,
3094
+ const t = es({
3095
+ key: oo,
3096
3096
  canTrack: e
3097
3097
  });
3098
3098
  if (je(t))
3099
3099
  return t;
3100
3100
  {
3101
- const n = ts();
3102
- return ns({
3101
+ const n = rs();
3102
+ return os({
3103
3103
  id: n,
3104
3104
  canTrack: e
3105
3105
  }), n;
3106
3106
  }
3107
- }, ts = () => eo(), ns = ({
3107
+ }, rs = () => to(), os = ({
3108
3108
  id: e,
3109
3109
  canTrack: t
3110
- }) => Qi({
3111
- key: ro,
3110
+ }) => ts({
3111
+ key: oo,
3112
3112
  value: e,
3113
3113
  canTrack: t
3114
3114
  });
3115
- function Bn(e) {
3115
+ function Un(e) {
3116
3116
  var t;
3117
3117
  typeof process < "u" && ((t = process.env) != null && t.DEBUG) && String(process.env.DEBUG) == "true" && ue.log(e);
3118
3118
  }
3119
- const rs = async ({
3119
+ const is = async ({
3120
3120
  canTrack: e
3121
3121
  }) => {
3122
3122
  if (!e)
@@ -3124,16 +3124,16 @@ const rs = async ({
3124
3124
  visitorId: void 0,
3125
3125
  sessionId: void 0
3126
3126
  };
3127
- const t = await Ji({
3127
+ const t = await Yi({
3128
3128
  canTrack: e
3129
- }), n = es({
3129
+ }), n = ns({
3130
3130
  canTrack: e
3131
3131
  });
3132
3132
  return {
3133
3133
  sessionId: t,
3134
3134
  visitorId: n
3135
3135
  };
3136
- }, os = async ({
3136
+ }, ss = async ({
3137
3137
  type: e,
3138
3138
  canTrack: t,
3139
3139
  apiKey: n,
@@ -3147,10 +3147,10 @@ const rs = async ({
3147
3147
  url: location.href,
3148
3148
  ...r
3149
3149
  },
3150
- ...await rs({
3150
+ ...await is({
3151
3151
  canTrack: t
3152
3152
  }),
3153
- userAttributes: Ur(),
3153
+ userAttributes: Mr(),
3154
3154
  ownerId: n
3155
3155
  }
3156
3156
  });
@@ -3162,35 +3162,35 @@ async function vn({
3162
3162
  ue.error("Missing API key for track call. Please provide your API key.");
3163
3163
  return;
3164
3164
  }
3165
- if (!t.canTrack || ie() || !(J() || re === "reactNative"))
3165
+ if (!t.canTrack || ie() || !(z() || re === "reactNative"))
3166
3166
  return;
3167
3167
  const r = `${e || "https://cdn.builder.io"}/api/v1/track`;
3168
- return Bn(r), fetch(r, {
3168
+ return Un(r), fetch(r, {
3169
3169
  method: "POST",
3170
3170
  body: JSON.stringify({
3171
- events: [await os(t)]
3171
+ events: [await ss(t)]
3172
3172
  }),
3173
3173
  headers: {
3174
3174
  "content-type": "application/json",
3175
- ...Xr()
3175
+ ...Qr()
3176
3176
  },
3177
3177
  mode: "cors"
3178
3178
  }).catch((o) => {
3179
3179
  console.error("Failed to track: ", o);
3180
3180
  });
3181
3181
  }
3182
- const Ou = (e) => vn({
3182
+ const Nu = (e) => vn({
3183
3183
  ...e,
3184
3184
  canTrack: !0
3185
- }), is = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
3186
- function oo(e, t) {
3185
+ }), as = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
3186
+ function io(e, t) {
3187
3187
  if (!t.origin.startsWith("http") && !t.origin.startsWith("https"))
3188
3188
  return !1;
3189
3189
  const n = new URL(t.origin), r = n.hostname;
3190
- return (e || is).findIndex((o) => o.startsWith("*.") ? r.endsWith(o.slice(1)) : o === r) > -1;
3190
+ return (e || as).findIndex((o) => o.startsWith("*.") ? r.endsWith(o.slice(1)) : o === r) > -1;
3191
3191
  }
3192
- const ss = () => {
3193
- Li("insertMenu", {
3192
+ const ls = () => {
3193
+ Hi("insertMenu", {
3194
3194
  name: "_default",
3195
3195
  default: !0,
3196
3196
  items: [{
@@ -3212,19 +3212,21 @@ const ss = () => {
3212
3212
  }]
3213
3213
  });
3214
3214
  };
3215
- let xr = !1;
3216
- const io = (e = {}) => {
3215
+ let Rr = !1;
3216
+ const so = (e = {}) => {
3217
3217
  var t, n;
3218
- xr || (xr = !0, J() && ((t = window.parent) == null || t.postMessage({
3218
+ Rr || (Rr = !0, z() && ((t = window.parent) == null || t.postMessage({
3219
3219
  type: "builder.sdkInfo",
3220
3220
  data: {
3221
3221
  target: re,
3222
- version: Jr,
3222
+ version: Zr,
3223
3223
  supportsPatchUpdates: !1,
3224
3224
  // Supports builder-model="..." attribute which is needed to
3225
3225
  // scope our '+ add block' button styling
3226
3226
  supportsAddBlockScoping: !0,
3227
- supportsCustomBreakpoints: !0
3227
+ supportsCustomBreakpoints: !0,
3228
+ supportsXSmallBreakpoint: !0,
3229
+ blockLevelPersonalization: !0
3228
3230
  }
3229
3231
  }, "*"), (n = window.parent) == null || n.postMessage({
3230
3232
  type: "builder.updateContent",
@@ -3233,7 +3235,7 @@ const io = (e = {}) => {
3233
3235
  }
3234
3236
  }, "*"), window.addEventListener("message", (r) => {
3235
3237
  var i, s;
3236
- if (!oo(e.trustedHosts, r))
3238
+ if (!io(e.trustedHosts, r))
3237
3239
  return;
3238
3240
  const {
3239
3241
  data: o
@@ -3255,8 +3257,8 @@ const io = (e = {}) => {
3255
3257
  error: g.message
3256
3258
  }
3257
3259
  }, "*") : v && typeof v.then == "function" ? v.then((T) => {
3258
- var D;
3259
- (D = window.parent) == null || D.postMessage({
3260
+ var U;
3261
+ (U = window.parent) == null || U.postMessage({
3260
3262
  type: "builder.evaluateResult",
3261
3263
  data: {
3262
3264
  id: m,
@@ -3274,12 +3276,12 @@ const io = (e = {}) => {
3274
3276
  }
3275
3277
  }
3276
3278
  })));
3277
- }, so = ({
3279
+ }, ao = ({
3278
3280
  model: e,
3279
3281
  trustedHosts: t,
3280
3282
  callbacks: n
3281
3283
  }) => (r) => {
3282
- if (!oo(t, r))
3284
+ if (!io(t, r))
3283
3285
  return;
3284
3286
  const {
3285
3287
  data: o
@@ -3300,12 +3302,12 @@ const io = (e = {}) => {
3300
3302
  break;
3301
3303
  }
3302
3304
  }
3303
- }, ju = (e, t, n) => {
3304
- if (!J)
3305
+ }, Uu = (e, t, n) => {
3306
+ if (!z)
3305
3307
  return ue.warn("`subscribeToEditor` only works in the browser. It currently seems to be running on the server."), () => {
3306
3308
  };
3307
- io();
3308
- const r = so({
3309
+ so();
3310
+ const r = ao({
3309
3311
  callbacks: {
3310
3312
  contentUpdate: t,
3311
3313
  animation: () => {
@@ -3319,24 +3321,24 @@ const io = (e = {}) => {
3319
3321
  return window.addEventListener("message", r), () => {
3320
3322
  window.removeEventListener("message", r);
3321
3323
  };
3322
- }, as = "builder.tests", Nn = (e) => `${as}.${e}`, ls = ({
3324
+ }, us = "builder.tests", Dn = (e) => `${us}.${e}`, cs = ({
3323
3325
  contentId: e
3324
- }) => Zr({
3325
- name: Nn(e),
3326
+ }) => eo({
3327
+ name: Dn(e),
3326
3328
  canTrack: !0
3327
- }), us = ({
3329
+ }), ps = ({
3328
3330
  contentId: e
3329
- }) => Yr({
3330
- name: Nn(e),
3331
+ }) => Bn({
3332
+ name: Dn(e),
3331
3333
  canTrack: !0
3332
- }), cs = ({
3334
+ }), ds = ({
3333
3335
  contentId: e,
3334
3336
  value: t
3335
- }) => Qr({
3336
- name: Nn(e),
3337
+ }) => Nn({
3338
+ name: Dn(e),
3337
3339
  value: t,
3338
3340
  canTrack: !0
3339
- }), ao = (e) => je(e.id) && je(e.variations) && Object.keys(e.variations).length > 0, ps = ({
3341
+ }), lo = (e) => je(e.id) && je(e.variations) && Object.keys(e.variations).length > 0, fs = ({
3340
3342
  id: e,
3341
3343
  variations: t
3342
3344
  }) => {
@@ -3349,15 +3351,15 @@ const io = (e = {}) => {
3349
3351
  return i;
3350
3352
  }
3351
3353
  return e;
3352
- }, lo = (e) => {
3353
- const t = ps(e);
3354
- return cs({
3354
+ }, uo = (e) => {
3355
+ const t = fs(e);
3356
+ return ds({
3355
3357
  contentId: e.id,
3356
3358
  value: t
3357
3359
  }).catch((n) => {
3358
3360
  ue.error("could not store A/B test variation: ", n);
3359
3361
  }), t;
3360
- }, uo = ({
3362
+ }, co = ({
3361
3363
  item: e,
3362
3364
  testGroupId: t
3363
3365
  }) => {
@@ -3371,7 +3373,7 @@ const io = (e = {}) => {
3371
3373
  testVariationId: n.id,
3372
3374
  testVariationName: n.name || (n.id === e.id ? "Default" : "")
3373
3375
  };
3374
- }, ds = ({
3376
+ }, hs = ({
3375
3377
  item: e,
3376
3378
  canTrack: t
3377
3379
  }) => {
@@ -3379,14 +3381,14 @@ const io = (e = {}) => {
3379
3381
  return e;
3380
3382
  if (!e)
3381
3383
  return;
3382
- if (!ao(e))
3384
+ if (!lo(e))
3383
3385
  return e;
3384
- const n = us({
3386
+ const n = ps({
3385
3387
  contentId: e.id
3386
- }) || lo({
3388
+ }) || uo({
3387
3389
  variations: e.variations,
3388
3390
  id: e.id
3389
- }), r = uo({
3391
+ }), r = co({
3390
3392
  item: e,
3391
3393
  testGroupId: n
3392
3394
  });
@@ -3394,18 +3396,18 @@ const io = (e = {}) => {
3394
3396
  ...e,
3395
3397
  ...r
3396
3398
  };
3397
- }, fs = async ({
3399
+ }, ms = async ({
3398
3400
  item: e,
3399
3401
  canTrack: t
3400
3402
  }) => {
3401
- if (!t || !ao(e))
3403
+ if (!t || !lo(e))
3402
3404
  return e;
3403
- const r = await ls({
3405
+ const r = await cs({
3404
3406
  contentId: e.id
3405
- }) || lo({
3407
+ }) || uo({
3406
3408
  variations: e.variations,
3407
3409
  id: e.id
3408
- }), o = uo({
3410
+ }), o = co({
3409
3411
  item: e,
3410
3412
  testGroupId: r
3411
3413
  });
@@ -3413,18 +3415,57 @@ const io = (e = {}) => {
3413
3415
  ...e,
3414
3416
  ...o
3415
3417
  };
3416
- }, yt = (e) => je(e) ? e : !0;
3417
- function hs() {
3418
+ }, $r = "builder.userAttributes";
3419
+ function gs() {
3420
+ let e = !0;
3421
+ const t = /* @__PURE__ */ new Set();
3422
+ return {
3423
+ setUserAttributes(n) {
3424
+ if (!z())
3425
+ return;
3426
+ const r = {
3427
+ ...this.getUserAttributes(),
3428
+ ...n
3429
+ };
3430
+ Nn({
3431
+ name: $r,
3432
+ value: JSON.stringify(r),
3433
+ canTrack: e
3434
+ }), t.forEach((o) => o(r));
3435
+ },
3436
+ getUserAttributes() {
3437
+ return z() ? JSON.parse(Bn({
3438
+ name: $r,
3439
+ canTrack: e
3440
+ }) || "{}") : {};
3441
+ },
3442
+ subscribeOnUserAttributesChange(n) {
3443
+ return t.add(n), () => {
3444
+ t.delete(n);
3445
+ };
3446
+ },
3447
+ setCanTrack(n) {
3448
+ e = n;
3449
+ }
3450
+ };
3451
+ }
3452
+ const po = gs(), Du = (e) => {
3453
+ po.setUserAttributes(e);
3454
+ }, yt = (e) => {
3455
+ const t = je(e) ? e : !0;
3456
+ return po.setCanTrack(t), t;
3457
+ };
3458
+ function ys() {
3418
3459
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : globalThis;
3419
3460
  }
3420
- function ms() {
3421
- const e = hs().fetch;
3461
+ function vs() {
3462
+ const e = ys().fetch;
3422
3463
  if (typeof e > "u")
3423
3464
  throw console.warn(`Builder SDK could not find a global fetch function. Make sure you have a polyfill for fetch in your project.
3424
3465
  For more information, read https://github.com/BuilderIO/this-package-uses-fetch`), new Error("Builder SDK could not find a global `fetch` function");
3425
3466
  return e;
3426
3467
  }
3427
- const gs = ms();
3468
+ const bs = vs();
3428
3469
  function bn(e, t = null, n = ".") {
3429
3470
  return Object.keys(e).reduce((r, o) => {
3430
3471
  const i = e[o], s = [t, o].filter(Boolean).join(n);
@@ -3437,14 +3478,14 @@ function bn(e, t = null, n = ".") {
3437
3478
  };
3438
3479
  }, {});
3439
3480
  }
3440
- function co(e, t, n = {}) {
3481
+ function fo(e, t, n = {}) {
3441
3482
  for (const r in e) {
3442
3483
  const o = e[r], i = t ? t + "." + r : r;
3443
- o && typeof o == "object" && !Array.isArray(o) && !Object.keys(o).find((s) => s.startsWith("$")) ? co(o, i, n) : n[i] = o;
3484
+ o && typeof o == "object" && !Array.isArray(o) && !Object.keys(o).find((s) => s.startsWith("$")) ? fo(o, i, n) : n[i] = o;
3444
3485
  }
3445
3486
  return n;
3446
3487
  }
3447
- function ys(e) {
3488
+ function ks(e) {
3448
3489
  const t = {};
3449
3490
  for (const n in e) {
3450
3491
  const r = n.split(".");
@@ -3456,7 +3497,7 @@ function ys(e) {
3456
3497
  }
3457
3498
  return t;
3458
3499
  }
3459
- const vs = "v3", Rr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Dn = (e) => {
3500
+ const Ss = "v3", Pr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Vn = (e) => {
3460
3501
  const {
3461
3502
  limit: t = 30,
3462
3503
  userAttributes: n,
@@ -3465,13 +3506,13 @@ const vs = "v3", Rr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Dn = (
3465
3506
  apiKey: i,
3466
3507
  enrich: s,
3467
3508
  locale: u,
3468
- apiVersion: p = vs,
3509
+ apiVersion: p = Ss,
3469
3510
  fields: m,
3470
3511
  omit: b,
3471
3512
  offset: v,
3472
3513
  cacheSeconds: g,
3473
3514
  staleCacheSeconds: T,
3474
- sort: D,
3515
+ sort: U,
3475
3516
  includeUnpublished: O,
3476
3517
  apiHost: Z
3477
3518
  } = e;
@@ -3479,79 +3520,79 @@ const vs = "v3", Rr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Dn = (
3479
3520
  throw new Error("Missing API key");
3480
3521
  if (!["v3"].includes(p))
3481
3522
  throw new Error(`Invalid apiVersion: expected 'v3', received '${p}'`);
3482
- const Re = t !== 1, $ = Z || "https://cdn.builder.io", F = new URL(`${$}/api/${p}/content/${o}`);
3483
- F.searchParams.set("apiKey", i), F.searchParams.set("limit", String(t)), F.searchParams.set("noTraverse", String(Re)), F.searchParams.set("includeRefs", String(!0));
3484
- const Ve = u || (n == null ? void 0 : n.locale);
3523
+ const Ae = t !== 1, $ = Z || "https://cdn.builder.io", F = new URL(`${$}/api/${p}/content/${o}`);
3524
+ F.searchParams.set("apiKey", i), F.searchParams.set("limit", String(t)), F.searchParams.set("noTraverse", String(Ae)), F.searchParams.set("includeRefs", String(!0));
3525
+ const De = u || (n == null ? void 0 : n.locale);
3485
3526
  let me = n || {};
3486
- if (Ve && (F.searchParams.set("locale", Ve), me = {
3487
- locale: Ve,
3527
+ if (De && (F.searchParams.set("locale", De), me = {
3528
+ locale: De,
3488
3529
  ...me
3489
- }), s && F.searchParams.set("enrich", String(s)), F.searchParams.set("omit", b || "meta.componentsUsed"), m && F.searchParams.set("fields", m), Number.isFinite(v) && v > -1 && F.searchParams.set("offset", String(Math.floor(v))), typeof O == "boolean" && F.searchParams.set("includeUnpublished", String(O)), g && Rr(g) && F.searchParams.set("cacheSeconds", String(g)), T && Rr(T) && F.searchParams.set("staleCacheSeconds", String(T)), D) {
3530
+ }), s && F.searchParams.set("enrich", String(s)), F.searchParams.set("omit", b || "meta.componentsUsed"), m && F.searchParams.set("fields", m), Number.isFinite(v) && v > -1 && F.searchParams.set("offset", String(Math.floor(v))), typeof O == "boolean" && F.searchParams.set("includeUnpublished", String(O)), g && Pr(g) && F.searchParams.set("cacheSeconds", String(g)), T && Pr(T) && F.searchParams.set("staleCacheSeconds", String(T)), U) {
3490
3531
  const E = bn({
3491
- sort: D
3532
+ sort: U
3492
3533
  });
3493
3534
  for (const ge in E)
3494
3535
  F.searchParams.set(ge, JSON.stringify(E[ge]));
3495
3536
  }
3496
- const M = {
3497
- ...Hi(),
3498
- ...Dr(e.options || {})
3537
+ const L = {
3538
+ ...zi(),
3539
+ ...Fr(e.options || {})
3499
3540
  };
3500
3541
  me = {
3501
3542
  ...me,
3502
- ...ks(M)
3543
+ ...ws(L)
3503
3544
  };
3504
- const ce = bn(M);
3545
+ const ce = bn(L);
3505
3546
  for (const E in ce)
3506
3547
  F.searchParams.set(E, String(ce[E]));
3507
3548
  if (Object.keys(me).length > 0 && F.searchParams.set("userAttributes", JSON.stringify(me)), r) {
3508
- const E = co({
3549
+ const E = fo({
3509
3550
  query: r
3510
3551
  });
3511
3552
  for (const ge in E)
3512
3553
  F.searchParams.set(ge, JSON.stringify(E[ge]));
3513
3554
  }
3514
3555
  return F;
3515
- }, bs = (e) => {
3556
+ }, Cs = (e) => {
3516
3557
  const t = {};
3517
3558
  for (const n in e)
3518
3559
  n.startsWith("userAttributes.") && (t[n] = e[n], delete e[n]);
3519
3560
  return t;
3520
- }, ks = (e) => {
3521
- if (J() && e.preview === "BUILDER_STUDIO") {
3561
+ }, ws = (e) => {
3562
+ if (z() && e.preview === "BUILDER_STUDIO") {
3522
3563
  e["userAttributes.urlPath"] = window.location.pathname, e["userAttributes.host"] = window.location.host;
3523
- const t = bs(e), {
3564
+ const t = Cs(e), {
3524
3565
  userAttributes: n
3525
- } = ys(t);
3566
+ } = ks(t);
3526
3567
  return n;
3527
3568
  }
3528
3569
  return {};
3529
- }, Ss = (e) => "results" in e;
3530
- async function Vn(e) {
3531
- const t = await Es({
3570
+ }, Es = (e) => "results" in e;
3571
+ async function Fn(e) {
3572
+ const t = await xs({
3532
3573
  ...e,
3533
3574
  limit: 1
3534
3575
  });
3535
3576
  return t && t[0] || null;
3536
3577
  }
3537
- const Cs = async (e) => {
3578
+ const Ts = async (e) => {
3538
3579
  var s;
3539
- const t = Dn(e), n = e.fetch ?? gs, r = {
3580
+ const t = Vn(e), n = e.fetch ?? bs, r = {
3540
3581
  ...e.fetchOptions,
3541
3582
  headers: {
3542
3583
  ...(s = e.fetchOptions) == null ? void 0 : s.headers,
3543
- ...Xr()
3584
+ ...Qr()
3544
3585
  }
3545
3586
  };
3546
3587
  return await (await n(t.href, r)).json();
3547
- }, ws = async (e, t, n = Dn(e)) => {
3588
+ }, Is = async (e, t, n = Vn(e)) => {
3548
3589
  const r = yt(e.canTrack);
3549
- if (n.search.includes("preview="), !r || !(J() || re === "reactNative"))
3590
+ if (n.search.includes("preview="), !r || !(z() || re === "reactNative"))
3550
3591
  return t.results;
3551
3592
  try {
3552
3593
  const o = [];
3553
3594
  for (const i of t.results)
3554
- o.push(await fs({
3595
+ o.push(await ms({
3555
3596
  item: i,
3556
3597
  canTrack: r
3557
3598
  }));
@@ -3561,17 +3602,17 @@ const Cs = async (e) => {
3561
3602
  }
3562
3603
  return t.results;
3563
3604
  };
3564
- async function Es(e) {
3565
- const t = Dn(e), n = await Cs(e);
3566
- if (!Ss(n))
3605
+ async function xs(e) {
3606
+ const t = Vn(e), n = await Ts(e);
3607
+ if (!Es(n))
3567
3608
  throw ue.error("Error fetching data. ", {
3568
3609
  url: t,
3569
3610
  content: n,
3570
3611
  options: e
3571
3612
  }), n;
3572
- return ws(e, n);
3613
+ return Is(e, n);
3573
3614
  }
3574
- const Bu = async (e) => {
3615
+ const Vu = async (e) => {
3575
3616
  var r, o, i;
3576
3617
  const t = e.path || ((r = e.url) == null ? void 0 : r.pathname) || ((o = e.userAttributes) == null ? void 0 : o.urlPath), n = {
3577
3618
  ...e,
@@ -3583,15 +3624,15 @@ const Bu = async (e) => {
3583
3624
  urlPath: t
3584
3625
  } : {}
3585
3626
  },
3586
- options: _r(e.searchParams || ((i = e.url) == null ? void 0 : i.searchParams) || e.options)
3627
+ options: Yr(e.searchParams || ((i = e.url) == null ? void 0 : i.searchParams) || e.options)
3587
3628
  };
3588
3629
  return {
3589
3630
  apiKey: n.apiKey,
3590
3631
  model: n.model,
3591
- content: await Vn(n)
3632
+ content: await Fn(n)
3592
3633
  };
3593
- }, Un = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
3594
- function Ts(e, t, n = {}) {
3634
+ }, Wn = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
3635
+ function As(e, t, n = {}) {
3595
3636
  let r, o, i, s = null, u = 0;
3596
3637
  const p = function() {
3597
3638
  u = n.leading === !1 ? 0 : Date.now(), s = null, i = e.apply(r, o), s || (r = o = null);
@@ -3613,55 +3654,55 @@ function dt(e, ...t) {
3613
3654
  }
3614
3655
  return n;
3615
3656
  }
3616
- function Is(e) {
3657
+ function Rs(e) {
3617
3658
  for (const t of e)
3618
3659
  switch (t.trigger) {
3619
3660
  case "pageLoad":
3620
- ho(t);
3661
+ go(t);
3621
3662
  break;
3622
3663
  case "scrollInView":
3623
- Rs(t);
3664
+ Ps(t);
3624
3665
  break;
3625
3666
  }
3626
3667
  }
3627
- function po(e) {
3668
+ function ho(e) {
3628
3669
  console.warn(`Cannot animate element: element with ID ${e} not found!`);
3629
3670
  }
3630
- function fo(e, t) {
3631
- const n = xs(e), r = getComputedStyle(t), o = e.steps[0].styles, i = e.steps[e.steps.length - 1].styles, s = [o, i];
3671
+ function mo(e, t) {
3672
+ const n = $s(e), r = getComputedStyle(t), o = e.steps[0].styles, i = e.steps[e.steps.length - 1].styles, s = [o, i];
3632
3673
  for (const u of s)
3633
3674
  for (const p of n)
3634
3675
  p in u || (u[p] = r[p]);
3635
3676
  }
3636
- function xs(e) {
3677
+ function $s(e) {
3637
3678
  const t = [];
3638
3679
  for (const n of e.steps)
3639
3680
  for (const r in n.styles)
3640
3681
  t.indexOf(r) === -1 && t.push(r);
3641
3682
  return t;
3642
3683
  }
3643
- function ho(e) {
3684
+ function go(e) {
3644
3685
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
3645
3686
  if (!t.length) {
3646
- po(e.elementId || e.id || "");
3687
+ ho(e.elementId || e.id || "");
3647
3688
  return;
3648
3689
  }
3649
3690
  Array.from(t).forEach((n) => {
3650
- fo(e, n), n.style.transition = "none", n.style.transitionDelay = "0", dt(n.style, e.steps[0].styles), setTimeout(() => {
3651
- n.style.transition = `all ${e.duration}s ${Un(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), dt(n.style, e.steps[1].styles), setTimeout(() => {
3691
+ mo(e, n), n.style.transition = "none", n.style.transitionDelay = "0", dt(n.style, e.steps[0].styles), setTimeout(() => {
3692
+ n.style.transition = `all ${e.duration}s ${Wn(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), dt(n.style, e.steps[1].styles), setTimeout(() => {
3652
3693
  n.style.transition = "", n.style.transitionDelay = "";
3653
3694
  }, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
3654
3695
  });
3655
3696
  });
3656
3697
  }
3657
- function Rs(e) {
3698
+ function Ps(e) {
3658
3699
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
3659
3700
  if (!t.length) {
3660
- po(e.elementId || e.id || "");
3701
+ ho(e.elementId || e.id || "");
3661
3702
  return;
3662
3703
  }
3663
3704
  Array.from(t).forEach((n) => {
3664
- fo(e, n);
3705
+ mo(e, n);
3665
3706
  let r = !1, o = !1;
3666
3707
  function i() {
3667
3708
  !r && u(n) ? (r = !0, o = !0, setTimeout(() => {
@@ -3670,61 +3711,61 @@ function Rs(e) {
3670
3711
  }, (e.duration + (e.delay || 0)) * 1e3 + 100);
3671
3712
  })) : e.repeat && r && !o && !u(n) && (r = !1, dt(n.style, e.steps[0].styles));
3672
3713
  }
3673
- const s = Ts(i, 200, {
3714
+ const s = As(i, 200, {
3674
3715
  leading: !1
3675
3716
  });
3676
3717
  function u(b) {
3677
- const v = b.getBoundingClientRect(), g = window.innerHeight, D = (e.thresholdPercent || 0) / 100 * g;
3678
- return v.bottom > D && v.top < g - D;
3718
+ const v = b.getBoundingClientRect(), g = window.innerHeight, U = (e.thresholdPercent || 0) / 100 * g;
3719
+ return v.bottom > U && v.top < g - U;
3679
3720
  }
3680
3721
  const p = e.steps[0].styles;
3681
3722
  function m() {
3682
3723
  dt(n.style, p);
3683
3724
  }
3684
3725
  m(), setTimeout(() => {
3685
- n.style.transition = `all ${e.duration}s ${Un(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
3726
+ n.style.transition = `all ${e.duration}s ${Wn(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
3686
3727
  }), document.addEventListener("scroll", s, {
3687
3728
  capture: !0,
3688
3729
  passive: !0
3689
3730
  }), i();
3690
3731
  });
3691
3732
  }
3692
- const mo = (e) => Object.entries(e).map(([n, r]) => {
3733
+ const yo = (e) => Object.entries(e).map(([n, r]) => {
3693
3734
  if (typeof r == "string")
3694
- return `${Un(n)}: ${r};`;
3695
- }).filter(je), As = (e) => mo(e).join(`
3696
- `), Nu = ({
3735
+ return `${Wn(n)}: ${r};`;
3736
+ }).filter(je), Os = (e) => yo(e).join(`
3737
+ `), Fu = ({
3697
3738
  mediaQuery: e,
3698
3739
  className: t,
3699
3740
  styles: n
3700
3741
  }) => {
3701
3742
  const r = `.${t} {
3702
- ${As(n)}
3743
+ ${Os(n)}
3703
3744
  }`;
3704
3745
  return e ? `${e} {
3705
3746
  ${r}
3706
3747
  }` : r;
3707
3748
  };
3708
- function $s({
3749
+ function js({
3709
3750
  style: e
3710
3751
  }) {
3711
3752
  return e;
3712
3753
  }
3713
- const Du = ({
3754
+ const Wu = ({
3714
3755
  block: e,
3715
3756
  context: t
3716
- }) => go($s({
3757
+ }) => vo(js({
3717
3758
  style: e.style || {},
3718
3759
  context: t,
3719
3760
  block: e
3720
3761
  }));
3721
- function go(e) {
3762
+ function vo(e) {
3722
3763
  switch (re) {
3723
3764
  case "svelte":
3724
3765
  case "vue":
3725
3766
  case "solid":
3726
3767
  case "angular":
3727
- return mo(e).join(" ");
3768
+ return yo(e).join(" ");
3728
3769
  case "qwik":
3729
3770
  case "reactNative":
3730
3771
  case "react":
@@ -3732,7 +3773,7 @@ function go(e) {
3732
3773
  return e;
3733
3774
  }
3734
3775
  }
3735
- const yo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includes(t) : !1 : !0, Ps = ({
3776
+ const bo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includes(t) : !1 : !0, Bs = ({
3736
3777
  block: e,
3737
3778
  registeredComponents: t,
3738
3779
  model: n
@@ -3742,14 +3783,14 @@ const yo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
3742
3783
  if (!r)
3743
3784
  return null;
3744
3785
  const o = t[r];
3745
- if (!o || yo(o, n)) {
3786
+ if (!o || bo(o, n)) {
3746
3787
  console.warn(`
3747
3788
  Could not find a registered component named "${r}".
3748
3789
  If you registered it, is the file that registered it imported by the file that needs to render it?`);
3749
3790
  return;
3750
3791
  } else
3751
3792
  return o;
3752
- }, Os = ({
3793
+ }, Ns = ({
3753
3794
  block: e,
3754
3795
  context: t
3755
3796
  }) => {
@@ -3782,59 +3823,59 @@ const yo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
3782
3823
  },
3783
3824
  block: r
3784
3825
  }));
3785
- }, js = (e, t) => {
3826
+ }, Us = (e, t) => {
3786
3827
  var n;
3787
3828
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderLinkComponent ? {
3788
3829
  builderLinkComponent: t
3789
3830
  } : {};
3790
- }, Bs = (e, t, n) => {
3831
+ }, Ds = (e, t, n) => {
3791
3832
  var r;
3792
3833
  return (r = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && r.builderComponents ? {
3793
- builderComponents: Object.fromEntries(Object.entries(t).filter(([i, s]) => !yo(s, n)))
3834
+ builderComponents: Object.fromEntries(Object.entries(t).filter(([i, s]) => !bo(s, n)))
3794
3835
  } : {};
3795
- }, Ns = (e, t) => {
3836
+ }, Vs = (e, t) => {
3796
3837
  var n;
3797
3838
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderBlock ? {
3798
3839
  builderBlock: t
3799
3840
  } : {};
3800
- }, Ds = (e, t) => {
3841
+ }, Fs = (e, t) => {
3801
3842
  var n;
3802
3843
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderContext ? {
3803
3844
  builderContext: t
3804
3845
  } : {};
3805
- }, Vs = () => Promise.resolve().then(() => Ys).then((e) => e.default).catch((e) => {
3846
+ }, Ws = () => Promise.resolve().then(() => ea).then((e) => e.default).catch((e) => {
3806
3847
  throw console.error(
3807
3848
  "Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
3808
3849
  e
3809
3850
  ), e;
3810
- }), Us = () => import("./block-styles-UWqIwj6d.js").then((e) => e.default).catch((e) => {
3851
+ }), Ms = () => import("./block-styles-wmTk1mW4.js").then((e) => e.default).catch((e) => {
3811
3852
  throw console.error(
3812
3853
  "Error while attempting to dynamically import component BlockStyles at ./components/block-styles.vue",
3813
3854
  e
3814
3855
  ), e;
3815
- }), Fs = () => import("./block-wrapper-UDhPsV2i.js").then((e) => e.default).catch((e) => {
3856
+ }), Ls = () => import("./block-wrapper-J-1Axz3t.js").then((e) => e.default).catch((e) => {
3816
3857
  throw console.error(
3817
3858
  "Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
3818
3859
  e
3819
3860
  ), e;
3820
- }), Ws = () => import("./component-ref-8TcFZYaz.js").then((e) => e.default).catch((e) => {
3861
+ }), Hs = () => import("./component-ref-1WyqPeY5.js").then((e) => e.default).catch((e) => {
3821
3862
  throw console.error(
3822
3863
  "Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
3823
3864
  e
3824
3865
  ), e;
3825
- }), Ls = () => import("./repeated-block-6gIkzT9B.js").then((e) => e.default).catch((e) => {
3866
+ }), Ks = () => import("./repeated-block-1uIsduO3.js").then((e) => e.default).catch((e) => {
3826
3867
  throw console.error(
3827
3868
  "Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
3828
3869
  e
3829
3870
  ), e;
3830
- }), Ms = j({
3871
+ }), zs = j({
3831
3872
  name: "block",
3832
3873
  components: {
3833
- BlockStyles: rt(Us),
3834
- RepeatedBlock: rt(Ls),
3835
- ComponentRef: rt(Ws),
3836
- BlockWrapper: rt(Fs),
3837
- DynamicDiv: rt(Vs)
3874
+ BlockStyles: rt(Ms),
3875
+ RepeatedBlock: rt(Ks),
3876
+ ComponentRef: rt(Hs),
3877
+ BlockWrapper: rt(Ls),
3878
+ DynamicDiv: rt(Ws)
3838
3879
  },
3839
3880
  props: ["block", "context", "registeredComponents", "linkComponent"],
3840
3881
  data() {
@@ -3847,7 +3888,7 @@ const yo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
3847
3888
  },
3848
3889
  mounted() {
3849
3890
  const e = this.processedBlock.id, t = this.processedBlock.animations;
3850
- t && e && Is(
3891
+ t && e && Rs(
3851
3892
  t.map((n) => ({
3852
3893
  ...n,
3853
3894
  elementId: e
@@ -3858,14 +3899,14 @@ const yo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
3858
3899
  },
3859
3900
  computed: {
3860
3901
  repeatItem() {
3861
- return Os({
3902
+ return Ns({
3862
3903
  block: this.block,
3863
3904
  context: this.context
3864
3905
  });
3865
3906
  },
3866
3907
  processedBlock() {
3867
3908
  var t;
3868
- return (t = this.block.repeat) != null && t.collection ? this.block : Ui({
3909
+ return (t = this.block.repeat) != null && t.collection ? this.block : Wi({
3869
3910
  block: this.block,
3870
3911
  localState: this.context.localState,
3871
3912
  rootState: this.context.rootState,
@@ -3874,7 +3915,7 @@ const yo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
3874
3915
  });
3875
3916
  },
3876
3917
  blockComponent() {
3877
- return Ps({
3918
+ return Bs({
3878
3919
  block: this.processedBlock,
3879
3920
  registeredComponents: this.registeredComponents,
3880
3921
  model: this.context.model
@@ -3901,11 +3942,11 @@ const yo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
3901
3942
  blockChildren: this.processedBlock.children ?? [],
3902
3943
  componentRef: (e = this.blockComponent) == null ? void 0 : e.component,
3903
3944
  componentOptions: {
3904
- ...Ai(this.processedBlock, this.context),
3905
- ...Ns(this.blockComponent, this.processedBlock),
3906
- ...Ds(this.blockComponent, this.context),
3907
- ...js(this.blockComponent, this.linkComponent),
3908
- ...Bs(
3945
+ ...Pi(this.processedBlock, this.context),
3946
+ ...Vs(this.blockComponent, this.processedBlock),
3947
+ ...Fs(this.blockComponent, this.context),
3948
+ ...Us(this.blockComponent, this.linkComponent),
3949
+ ...Ds(
3909
3950
  this.blockComponent,
3910
3951
  this.registeredComponents,
3911
3952
  this.context.model
@@ -3921,22 +3962,22 @@ const yo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
3921
3962
  }
3922
3963
  }
3923
3964
  });
3924
- function Hs(e, t, n, r, o, i) {
3965
+ function Gs(e, t, n, r, o, i) {
3925
3966
  var v;
3926
- const s = U("BlockStyles"), u = U("ComponentRef"), p = U("Block", !0), m = U("BlockWrapper"), b = U("RepeatedBlock");
3967
+ const s = V("BlockStyles"), u = V("ComponentRef"), p = V("Block", !0), m = V("BlockWrapper"), b = V("RepeatedBlock");
3927
3968
  return e.canShowBlock ? (y(), I(X, { key: 0 }, [
3928
3969
  se(s, {
3929
3970
  block: e.processedBlock,
3930
3971
  context: e.context
3931
3972
  }, null, 8, ["block", "context"]),
3932
3973
  (v = e.blockComponent) != null && v.noWrap ? (y(), I(X, { key: 1 }, [
3933
- e.repeatItem ? (y(!0), I(X, { key: 1 }, Ee(e.repeatItem, (g, T) => (y(), V(b, {
3974
+ e.repeatItem ? (y(!0), I(X, { key: 1 }, Ee(e.repeatItem, (g, T) => (y(), D(b, {
3934
3975
  key: T,
3935
3976
  repeatContext: g.context,
3936
3977
  block: g.block,
3937
3978
  registeredComponents: e.registeredComponents,
3938
3979
  linkComponent: e.linkComponent
3939
- }, null, 8, ["repeatContext", "block", "registeredComponents", "linkComponent"]))), 128)) : (y(), V(u, {
3980
+ }, null, 8, ["repeatContext", "block", "registeredComponents", "linkComponent"]))), 128)) : (y(), D(u, {
3940
3981
  key: 0,
3941
3982
  componentRef: e.componentRefProps.componentRef,
3942
3983
  componentOptions: e.componentRefProps.componentOptions,
@@ -3949,13 +3990,13 @@ function Hs(e, t, n, r, o, i) {
3949
3990
  isInteractive: e.componentRefProps.isInteractive
3950
3991
  }, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "linkComponent", "builderBlock", "includeBlockProps", "isInteractive"]))
3951
3992
  ], 64)) : (y(), I(X, { key: 0 }, [
3952
- e.repeatItem ? (y(!0), I(X, { key: 1 }, Ee(e.repeatItem, (g, T) => (y(), V(b, {
3993
+ e.repeatItem ? (y(!0), I(X, { key: 1 }, Ee(e.repeatItem, (g, T) => (y(), D(b, {
3953
3994
  key: T,
3954
3995
  repeatContext: g.context,
3955
3996
  block: g.block,
3956
3997
  registeredComponents: e.registeredComponents,
3957
3998
  linkComponent: e.linkComponent
3958
- }, null, 8, ["repeatContext", "block", "registeredComponents", "linkComponent"]))), 128)) : (y(), V(m, {
3999
+ }, null, 8, ["repeatContext", "block", "registeredComponents", "linkComponent"]))), 128)) : (y(), D(m, {
3959
4000
  key: 0,
3960
4001
  Wrapper: e.Tag,
3961
4002
  block: e.processedBlock,
@@ -3973,7 +4014,7 @@ function Hs(e, t, n, r, o, i) {
3973
4014
  includeBlockProps: e.componentRefProps.includeBlockProps,
3974
4015
  isInteractive: e.componentRefProps.isInteractive
3975
4016
  }, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "linkComponent", "builderBlock", "includeBlockProps", "isInteractive"]),
3976
- (y(!0), I(X, null, Ee(e.childrenWithoutParentComponent, (g, T) => (y(), V(p, {
4017
+ (y(!0), I(X, null, Ee(e.childrenWithoutParentComponent, (g, T) => (y(), D(p, {
3977
4018
  key: g.id,
3978
4019
  block: g,
3979
4020
  registeredComponents: e.registeredComponents,
@@ -3984,12 +4025,12 @@ function Hs(e, t, n, r, o, i) {
3984
4025
  _: 1
3985
4026
  }, 8, ["Wrapper", "block", "context"]))
3986
4027
  ], 64))
3987
- ], 64)) : L("", !0);
4028
+ ], 64)) : M("", !0);
3988
4029
  }
3989
- const vo = /* @__PURE__ */ N(Ms, [["render", Hs]]), Vu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4030
+ const ko = /* @__PURE__ */ N(zs, [["render", Gs]]), Mu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3990
4031
  __proto__: null,
3991
- default: vo
3992
- }, Symbol.toStringTag, { value: "Module" })), Ks = j({
4032
+ default: ko
4033
+ }, Symbol.toStringTag, { value: "Module" })), qs = j({
3993
4034
  name: "builder-blocks-wrapper",
3994
4035
  props: [
3995
4036
  "blocks",
@@ -4014,8 +4055,8 @@ const vo = /* @__PURE__ */ N(Ms, [["render", Hs]]), Vu = /* @__PURE__ */ Object.
4014
4055
  dataPath() {
4015
4056
  if (!this.path)
4016
4057
  return;
4017
- const e = "component.options.";
4018
- return this.path.startsWith(e) ? this.path : `${e}${this.path || ""}`;
4058
+ const e = "this.", t = "component.options.";
4059
+ return this.path.startsWith(e) ? this.path.replace(e, "") : this.path.startsWith(t) ? this.path : `${t}${this.path || ""}`;
4019
4060
  }
4020
4061
  },
4021
4062
  methods: {
@@ -4047,10 +4088,10 @@ const vo = /* @__PURE__ */ N(Ms, [["render", Hs]]), Vu = /* @__PURE__ */ Object.
4047
4088
  }
4048
4089
  }
4049
4090
  });
4050
- function Gs(e, t, n, r, o, i) {
4051
- return y(), V(ut(e.BlocksWrapper), z({
4091
+ function _s(e, t, n, r, o, i) {
4092
+ return y(), D(ut(e.BlocksWrapper), q({
4052
4093
  ref: "blocksWrapperRef",
4053
- class: e.className + " component-1k2igrjdg3x",
4094
+ class: e.className + " component-tqyw9m0iue",
4054
4095
  "builder-path": e.dataPath,
4055
4096
  "builder-parent-id": e.parent,
4056
4097
  style: e.styleProp,
@@ -4064,9 +4105,9 @@ function Gs(e, t, n, r, o, i) {
4064
4105
  _: 3
4065
4106
  }, 16, ["class", "builder-path", "builder-parent-id", "style", "onClick", "onMouseEnter", "onKeyPress"]);
4066
4107
  }
4067
- const zs = /* @__PURE__ */ N(Ks, [["render", Gs], ["__scopeId", "data-v-ba2bc5c0"]]), qs = j({
4108
+ const Js = /* @__PURE__ */ N(qs, [["render", _s], ["__scopeId", "data-v-4755f88c"]]), Xs = j({
4068
4109
  name: "builder-blocks",
4069
- components: { BlocksWrapper: zs, Block: vo },
4110
+ components: { BlocksWrapper: Js, Block: ko },
4070
4111
  props: [
4071
4112
  "blocks",
4072
4113
  "parent",
@@ -4079,13 +4120,13 @@ const zs = /* @__PURE__ */ N(Ks, [["render", Gs], ["__scopeId", "data-v-ba2bc5c0
4079
4120
  ],
4080
4121
  inject: {
4081
4122
  builderContext: fn.key,
4082
- componentsContext: Br.key
4123
+ componentsContext: Dr.key
4083
4124
  }
4084
4125
  });
4085
- function _s(e, t, n, r, o, i) {
4126
+ function Ys(e, t, n, r, o, i) {
4086
4127
  var p, m, b, v;
4087
- const s = U("Block"), u = U("BlocksWrapper");
4088
- return y(), V(u, {
4128
+ const s = V("Block"), u = V("BlocksWrapper");
4129
+ return y(), D(u, {
4089
4130
  blocks: e.blocks,
4090
4131
  parent: e.parent,
4091
4132
  path: e.path,
@@ -4096,34 +4137,34 @@ function _s(e, t, n, r, o, i) {
4096
4137
  }, {
4097
4138
  default: Ie(() => [
4098
4139
  e.blocks ? (y(!0), I(X, { key: 0 }, Ee(e.blocks, (g, T) => {
4099
- var D;
4100
- return y(), V(s, {
4140
+ var U;
4141
+ return y(), D(s, {
4101
4142
  key: g.id,
4102
4143
  block: g,
4103
4144
  linkComponent: e.linkComponent,
4104
4145
  context: e.context || e.builderContext,
4105
- registeredComponents: e.registeredComponents || ((D = e.componentsContext) == null ? void 0 : D.registeredComponents)
4146
+ registeredComponents: e.registeredComponents || ((U = e.componentsContext) == null ? void 0 : U.registeredComponents)
4106
4147
  }, null, 8, ["block", "linkComponent", "context", "registeredComponents"]);
4107
- }), 128)) : L("", !0)
4148
+ }), 128)) : M("", !0)
4108
4149
  ]),
4109
4150
  _: 1
4110
4151
  }, 8, ["blocks", "parent", "path", "styleProp", "classNameProp", "BlocksWrapper", "BlocksWrapperProps"]);
4111
4152
  }
4112
- const _e = /* @__PURE__ */ N(qs, [["render", _s]]), Js = j({
4153
+ const _e = /* @__PURE__ */ N(Xs, [["render", Ys]]), Zs = j({
4113
4154
  name: "dynamic-div",
4114
4155
  props: []
4115
4156
  });
4116
- function Xs(e, t, n, r, o, i) {
4157
+ function Qs(e, t, n, r, o, i) {
4117
4158
  return y(), I("div", null, [
4118
4159
  le(e.$slots, "default")
4119
4160
  ]);
4120
4161
  }
4121
- const St = /* @__PURE__ */ N(Js, [["render", Xs]]), Ys = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4162
+ const St = /* @__PURE__ */ N(Zs, [["render", Qs]]), ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4122
4163
  __proto__: null,
4123
4164
  default: St
4124
- }, Symbol.toStringTag, { value: "Module" })), Fn = j({
4165
+ }, Symbol.toStringTag, { value: "Module" })), Mn = j({
4125
4166
  render() {
4126
- return jr("style", {
4167
+ return Ur("style", {
4127
4168
  innerHTML: this.styles,
4128
4169
  "data-id": this.id,
4129
4170
  nonce: this.nonce
@@ -4131,9 +4172,14 @@ const St = /* @__PURE__ */ N(Js, [["render", Xs]]), Ys = /* @__PURE__ */ Object.
4131
4172
  },
4132
4173
  name: "inlined-styles",
4133
4174
  props: ["styles", "id", "nonce"]
4134
- }), bo = {
4175
+ }), So = {
4176
+ xsmall: {
4177
+ min: 0,
4178
+ default: 160,
4179
+ max: 320
4180
+ },
4135
4181
  small: {
4136
- min: 320,
4182
+ min: 321,
4137
4183
  default: 321,
4138
4184
  max: 640
4139
4185
  },
@@ -4147,36 +4193,48 @@ const St = /* @__PURE__ */ N(Js, [["render", Xs]]), Ys = /* @__PURE__ */ Object.
4147
4193
  default: 991,
4148
4194
  max: 1200
4149
4195
  }
4150
- }, Uu = (e, t = bo) => `@media (max-width: ${t[e].max}px)`, Zs = ({
4151
- small: e,
4152
- medium: t
4153
- }) => {
4154
- const n = jn(bo);
4155
- if (!e || !t)
4156
- return n;
4157
- const r = Math.floor(e / 2);
4158
- n.small = {
4159
- max: e,
4160
- min: r,
4161
- default: r + 1
4196
+ }, Lu = (e, t = So) => `@media (max-width: ${t[e].max}px)`, ta = (e) => {
4197
+ const t = jn(So);
4198
+ if (!e)
4199
+ return t;
4200
+ const {
4201
+ xsmall: n,
4202
+ small: r,
4203
+ medium: o
4204
+ } = e;
4205
+ if (n) {
4206
+ const p = Math.floor(n / 2);
4207
+ t.xsmall = {
4208
+ max: n,
4209
+ min: p,
4210
+ default: p + 1
4211
+ };
4212
+ }
4213
+ if (!r || !o)
4214
+ return t;
4215
+ const i = n ? t.xsmall.max + 1 : Math.floor(r / 2);
4216
+ t.small = {
4217
+ max: r,
4218
+ min: i,
4219
+ default: i + 1
4162
4220
  };
4163
- const o = n.small.max + 1;
4164
- n.medium = {
4165
- max: t,
4166
- min: o,
4167
- default: o + 1
4221
+ const s = t.small.max + 1;
4222
+ t.medium = {
4223
+ max: o,
4224
+ min: s,
4225
+ default: s + 1
4168
4226
  };
4169
- const i = n.medium.max + 1;
4170
- return n.large = {
4227
+ const u = t.medium.max + 1;
4228
+ return t.large = {
4171
4229
  max: 2e3,
4172
4230
  // TODO: decide upper limit
4173
- min: i,
4174
- default: i + 1
4175
- }, n;
4176
- }, Qs = (e) => `builder-columns ${e}-breakpoints`, ea = j({
4231
+ min: u,
4232
+ default: u + 1
4233
+ }, t;
4234
+ }, na = (e) => `builder-columns ${e}-breakpoints`, ra = j({
4177
4235
  name: "builder-columns",
4178
4236
  components: {
4179
- InlinedStyles: Fn,
4237
+ InlinedStyles: Mn,
4180
4238
  DynamicRenderer: kn,
4181
4239
  Blocks: _e,
4182
4240
  DynamicDiv: St
@@ -4192,7 +4250,7 @@ const St = /* @__PURE__ */ N(Js, [["render", Xs]]), Ys = /* @__PURE__ */ Object.
4192
4250
  "builderComponents"
4193
4251
  ],
4194
4252
  data() {
4195
- return { TARGET: re, getColumnsClass: Qs };
4253
+ return { TARGET: re, getColumnsClass: na };
4196
4254
  },
4197
4255
  computed: {
4198
4256
  gutterSize() {
@@ -4271,7 +4329,7 @@ const St = /* @__PURE__ */ N(Js, [["render", Xs]]), Ys = /* @__PURE__ */ Object.
4271
4329
  },
4272
4330
  getWidthForBreakpointSize(e) {
4273
4331
  var n, r;
4274
- return Zs(
4332
+ return ta(
4275
4333
  ((r = (n = this.builderContext.content) == null ? void 0 : n.meta) == null ? void 0 : r.breakpoints) || {}
4276
4334
  )[e].max;
4277
4335
  },
@@ -4309,25 +4367,25 @@ const St = /* @__PURE__ */ N(Js, [["render", Xs]]), Ys = /* @__PURE__ */ Object.
4309
4367
  href: e.link
4310
4368
  } : {},
4311
4369
  [Ot()]: "builder-column",
4312
- style: go(this.columnCssVars(t))
4370
+ style: vo(this.columnCssVars(t))
4313
4371
  };
4314
4372
  }
4315
4373
  }
4316
4374
  });
4317
- function ta(e, t, n, r, o, i) {
4375
+ function oa(e, t, n, r, o, i) {
4318
4376
  var m;
4319
- const s = U("InlinedStyles"), u = U("Blocks"), p = U("DynamicRenderer");
4320
- return y(), I("div", z({
4377
+ const s = V("InlinedStyles"), u = V("Blocks"), p = V("DynamicRenderer");
4378
+ return y(), I("div", q({
4321
4379
  class: e.getColumnsClass((m = e.builderBlock) == null ? void 0 : m.id) + " div-4wbls88y960",
4322
4380
  style: e.columnsCssVars()
4323
4381
  }, {}), [
4324
- e.TARGET !== "reactNative" ? (y(), V(s, {
4382
+ e.TARGET !== "reactNative" ? (y(), D(s, {
4325
4383
  key: 0,
4326
4384
  id: "builderio-columns",
4327
4385
  styles: e.columnsStyles(),
4328
4386
  nonce: e.builderContext.nonce
4329
- }, null, 8, ["styles", "nonce"])) : L("", !0),
4330
- (y(!0), I(X, null, Ee(e.columns, (b, v) => (y(), V(p, {
4387
+ }, null, 8, ["styles", "nonce"])) : M("", !0),
4388
+ (y(!0), I(X, null, Ee(e.columns, (b, v) => (y(), D(p, {
4331
4389
  key: v,
4332
4390
  TagName: e.getTagName(b),
4333
4391
  actionAttributes: {},
@@ -4350,32 +4408,32 @@ function ta(e, t, n, r, o, i) {
4350
4408
  }, 1032, ["TagName", "attributes"]))), 128))
4351
4409
  ], 16);
4352
4410
  }
4353
- const na = /* @__PURE__ */ N(ea, [["render", ta], ["__scopeId", "data-v-bdc9da04"]]), ra = j({
4411
+ const ia = /* @__PURE__ */ N(ra, [["render", oa], ["__scopeId", "data-v-bdc9da04"]]), sa = j({
4354
4412
  name: "builder-fragment-component",
4355
4413
  props: []
4356
4414
  });
4357
- function oa(e, t, n, r, o, i) {
4415
+ function aa(e, t, n, r, o, i) {
4358
4416
  return y(), I("span", null, [
4359
4417
  le(e.$slots, "default")
4360
4418
  ]);
4361
4419
  }
4362
- const ia = /* @__PURE__ */ N(ra, [["render", oa]]);
4363
- function Ar(e) {
4420
+ const la = /* @__PURE__ */ N(sa, [["render", aa]]);
4421
+ function Or(e) {
4364
4422
  return e.replace(/http(s)?:/, "");
4365
4423
  }
4366
- function sa(e = "", t, n) {
4424
+ function ua(e = "", t, n) {
4367
4425
  const r = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), o = e.indexOf("?") !== -1 ? "&" : "?";
4368
4426
  return e.match(r) ? e.replace(r, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + o + t + "=" + encodeURIComponent(n);
4369
4427
  }
4370
- function aa(e, t) {
4428
+ function ca(e, t) {
4371
4429
  if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
4372
4430
  return e;
4373
4431
  if (t === "master")
4374
- return Ar(e);
4432
+ return Or(e);
4375
4433
  const n = e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);
4376
4434
  if (n) {
4377
4435
  const r = e.split(n[0]), o = n[3], i = t.match("x") ? t : `${t}x`;
4378
- return Ar(`${r[0]}_${i}${o}`);
4436
+ return Or(`${r[0]}_${i}${o}`);
4379
4437
  }
4380
4438
  return null;
4381
4439
  }
@@ -4386,11 +4444,11 @@ function ln(e) {
4386
4444
  if (e.match(/builder\.io/)) {
4387
4445
  let n = e;
4388
4446
  const r = Number(e.split("?width=")[1]);
4389
- return isNaN(r) || (n = `${n} ${r}w`), t.filter((o) => o !== r).map((o) => `${sa(e, "width", o)} ${o}w`).concat([n]).join(", ");
4447
+ return isNaN(r) || (n = `${n} ${r}w`), t.filter((o) => o !== r).map((o) => `${ua(e, "width", o)} ${o}w`).concat([n]).join(", ");
4390
4448
  }
4391
- return e.match(/cdn\.shopify\.com/) ? t.map((n) => [aa(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, r]) => `${n} ${r}w`).concat([e]).join(", ") : e;
4449
+ return e.match(/cdn\.shopify\.com/) ? t.map((n) => [ca(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, r]) => `${n} ${r}w`).concat([e]).join(", ") : e;
4392
4450
  }
4393
- const la = j({
4451
+ const pa = j({
4394
4452
  name: "builder-image",
4395
4453
  props: [
4396
4454
  "image",
@@ -4439,11 +4497,11 @@ const la = j({
4439
4497
  return this.aspectRatio ? e : void 0;
4440
4498
  }
4441
4499
  }
4442
- }), ua = ["srcset"], ca = ["loading", "fetchpriority", "alt", "role", "src", "srcset", "sizes"], pa = {
4500
+ }), da = ["srcset"], fa = ["loading", "fetchpriority", "alt", "role", "src", "srcset", "sizes"], ha = {
4443
4501
  key: 2,
4444
4502
  class: "div-29wpyomtntv-2"
4445
4503
  };
4446
- function da(e, t, n, r, o, i) {
4504
+ function ma(e, t, n, r, o, i) {
4447
4505
  var s, u, p, m, b, v;
4448
4506
  return y(), I(X, null, [
4449
4507
  ft("picture", null, [
@@ -4451,7 +4509,7 @@ function da(e, t, n, r, o, i) {
4451
4509
  key: 0,
4452
4510
  type: "image/webp",
4453
4511
  srcset: e.webpSrcSet
4454
- }, null, 8, ua)) : L("", !0),
4512
+ }, null, 8, da)) : M("", !0),
4455
4513
  ft("img", {
4456
4514
  loading: e.highPriority ? "eager" : "lazy",
4457
4515
  fetchpriority: e.highPriority ? "high" : "auto",
@@ -4468,7 +4526,7 @@ function da(e, t, n, r, o, i) {
4468
4526
  src: e.image,
4469
4527
  srcset: e.srcSetToUse,
4470
4528
  sizes: e.sizes
4471
- }, null, 14, ca)
4529
+ }, null, 14, fa)
4472
4530
  ]),
4473
4531
  e.aspectRatio && !((u = (s = e.builderBlock) == null ? void 0 : s.children) != null && u.length && e.fitContent) ? (y(), I("div", {
4474
4532
  key: 0,
@@ -4476,22 +4534,22 @@ function da(e, t, n, r, o, i) {
4476
4534
  style: Pe({
4477
4535
  paddingTop: e.aspectRatio * 100 + "%"
4478
4536
  })
4479
- }, null, 4)) : L("", !0),
4480
- (m = (p = e.builderBlock) == null ? void 0 : p.children) != null && m.length && e.fitContent ? le(e.$slots, "default", { key: 1 }, void 0, !0) : L("", !0),
4481
- !e.fitContent && ((v = (b = e.builderBlock) == null ? void 0 : b.children) != null && v.length) ? (y(), I("div", pa, [
4537
+ }, null, 4)) : M("", !0),
4538
+ (m = (p = e.builderBlock) == null ? void 0 : p.children) != null && m.length && e.fitContent ? le(e.$slots, "default", { key: 1 }, void 0, !0) : M("", !0),
4539
+ !e.fitContent && ((v = (b = e.builderBlock) == null ? void 0 : b.children) != null && v.length) ? (y(), I("div", ha, [
4482
4540
  le(e.$slots, "default", {}, void 0, !0)
4483
- ])) : L("", !0)
4541
+ ])) : M("", !0)
4484
4542
  ], 64);
4485
4543
  }
4486
- const fa = /* @__PURE__ */ N(la, [["render", da], ["__scopeId", "data-v-33d4f353"]]), ha = j({
4544
+ const ga = /* @__PURE__ */ N(pa, [["render", ma], ["__scopeId", "data-v-33d4f353"]]), ya = j({
4487
4545
  name: "builder-section-component",
4488
4546
  props: ["attributes", "maxWidth"],
4489
4547
  data() {
4490
4548
  return { filterAttrs: he };
4491
4549
  }
4492
4550
  });
4493
- function ma(e, t, n, r, o, i) {
4494
- return y(), I("section", z({
4551
+ function va(e, t, n, r, o, i) {
4552
+ return y(), I("section", q({
4495
4553
  style: {
4496
4554
  width: "100%",
4497
4555
  alignSelf: "stretch",
@@ -4508,7 +4566,7 @@ function ma(e, t, n, r, o, i) {
4508
4566
  le(e.$slots, "default")
4509
4567
  ], 16);
4510
4568
  }
4511
- const ga = /* @__PURE__ */ N(ha, [["render", ma]]), un = {
4569
+ const ba = /* @__PURE__ */ N(ya, [["render", va]]), un = {
4512
4570
  "@type": "@builder.io/sdk:Element",
4513
4571
  layerName: "Accordion item title",
4514
4572
  responsiveStyles: {
@@ -4568,7 +4626,7 @@ const ga = /* @__PURE__ */ N(ha, [["render", ma]]), un = {
4568
4626
  }
4569
4627
  }
4570
4628
  }]
4571
- }, ya = {
4629
+ }, ka = {
4572
4630
  name: "Builder:Accordion",
4573
4631
  canHaveChildren: !0,
4574
4632
  image: "https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Ffab6c1fd3fe542408cbdec078bca7f35",
@@ -4632,7 +4690,7 @@ const ga = /* @__PURE__ */ N(ha, [["render", ma]]), un = {
4632
4690
  builderComponents: !0,
4633
4691
  builderLinkComponent: !0
4634
4692
  }
4635
- }, va = (e) => e.toString(), ba = j({
4693
+ }, Sa = (e) => e.toString(), Ca = j({
4636
4694
  name: "builder-accordion",
4637
4695
  components: { Blocks: _e },
4638
4696
  props: [
@@ -4646,7 +4704,7 @@ const ga = /* @__PURE__ */ N(ha, [["render", ma]]), un = {
4646
4704
  "builderLinkComponent"
4647
4705
  ],
4648
4706
  data() {
4649
- return { open: [], convertOrderNumberToString: va };
4707
+ return { open: [], convertOrderNumberToString: Sa };
4650
4708
  },
4651
4709
  computed: {
4652
4710
  onlyOneAtATime() {
@@ -4727,9 +4785,9 @@ const ga = /* @__PURE__ */ N(ha, [["render", ma]]), un = {
4727
4785
  this.open.includes(e) ? this.open = this.onlyOneAtATime ? [] : this.open.filter((t) => t !== e) : this.open = this.onlyOneAtATime ? [e] : this.open.concat(e);
4728
4786
  }
4729
4787
  }
4730
- }), ka = ["data-index", "onClick"];
4731
- function Sa(e, t, n, r, o, i) {
4732
- const s = U("Blocks");
4788
+ }), wa = ["data-index", "onClick"];
4789
+ function Ea(e, t, n, r, o, i) {
4790
+ const s = V("Blocks");
4733
4791
  return y(), I("div", {
4734
4792
  class: "builder-accordion",
4735
4793
  style: Pe(e.accordionStyles)
@@ -4755,7 +4813,7 @@ function Sa(e, t, n, r, o, i) {
4755
4813
  registeredComponents: e.builderComponents,
4756
4814
  linkComponent: e.builderLinkComponent
4757
4815
  }, null, 8, ["blocks", "path", "parent", "context", "registeredComponents", "linkComponent"])
4758
- ], 14, ka),
4816
+ ], 14, wa),
4759
4817
  e.open.includes(p) ? (y(), I("div", {
4760
4818
  key: 0,
4761
4819
  class: ht(e.getAccordionDetailClassName(p)),
@@ -4769,11 +4827,11 @@ function Sa(e, t, n, r, o, i) {
4769
4827
  registeredComponents: e.builderComponents,
4770
4828
  linkComponent: e.builderLinkComponent
4771
4829
  }, null, 8, ["blocks", "path", "parent", "context", "registeredComponents", "linkComponent"])
4772
- ], 6)) : L("", !0)
4830
+ ], 6)) : M("", !0)
4773
4831
  ], 64))), 128))
4774
4832
  ], 4);
4775
4833
  }
4776
- const Ca = /* @__PURE__ */ N(ba, [["render", Sa]]), wa = {
4834
+ const Ta = /* @__PURE__ */ N(Ca, [["render", Ea]]), Ia = {
4777
4835
  name: "Core:Button",
4778
4836
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
4779
4837
  defaultStyles: {
@@ -4809,7 +4867,7 @@ const Ca = /* @__PURE__ */ N(ba, [["render", Sa]]), wa = {
4809
4867
  shouldReceiveBuilderProps: {
4810
4868
  builderLinkComponent: !0
4811
4869
  }
4812
- }, Ea = {
4870
+ }, xa = {
4813
4871
  // TODO: ways to statically preprocess JSON for references, functions, etc
4814
4872
  name: "Columns",
4815
4873
  isRSC: !0,
@@ -5016,13 +5074,13 @@ const Ca = /* @__PURE__ */ N(ba, [["render", Sa]]), wa = {
5016
5074
  builderComponents: !0,
5017
5075
  builderLinkComponent: !0
5018
5076
  }
5019
- }, Ta = {
5077
+ }, Aa = {
5020
5078
  name: "Fragment",
5021
5079
  static: !0,
5022
5080
  hidden: !0,
5023
5081
  canHaveChildren: !0,
5024
5082
  noWrap: !0
5025
- }, Wn = ["jpeg", "jpg", "png", "svg", "webp", "gif", "jfif", "pjpeg", "pjp", "apng", "avif", "tif", "tiff", "heif", "bmp", "eps", "raw", "cr2", "nef", "orf", "sr2", "psd", "heic", "dib", "ai"], Ia = ["mp4", "webm", "mkv", "flv", "vob", "ogv", "ogg", "drc", "gif", "gifv", "mng", "avi", "mov", "qt", "mts", "m2ts", "ts", "wmv", "yuv", "rm", "rmvb", "viv", "asf", "amv", "m4p", "mpeg", "mpe", "m2v", "m4v", "svi", "3gp", "3g2", "mxf", "roq", "nsv", "f4v", "f4p", "f4a", "f4b"], xa = {
5083
+ }, Ln = ["jpeg", "jpg", "png", "svg", "webp", "gif", "jfif", "pjpeg", "pjp", "apng", "avif", "tif", "tiff", "heif", "bmp", "eps", "raw", "cr2", "nef", "orf", "sr2", "psd", "heic", "dib", "ai"], Ra = ["mp4", "webm", "mkv", "flv", "vob", "ogv", "ogg", "drc", "gif", "gifv", "mng", "avi", "mov", "qt", "mts", "m2ts", "ts", "wmv", "yuv", "rm", "rmvb", "viv", "asf", "amv", "m4p", "mpeg", "mpe", "m2v", "m4v", "svi", "3gp", "3g2", "mxf", "roq", "nsv", "f4v", "f4p", "f4a", "f4b"], $a = {
5026
5084
  name: "Image",
5027
5085
  static: !0,
5028
5086
  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",
@@ -5037,7 +5095,7 @@ const Ca = /* @__PURE__ */ N(ba, [["render", Sa]]), wa = {
5037
5095
  name: "image",
5038
5096
  type: "file",
5039
5097
  bubble: !0,
5040
- allowedFileTypes: Wn,
5098
+ allowedFileTypes: Ln,
5041
5099
  required: !0,
5042
5100
  defaultValue: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",
5043
5101
  onChange: (e) => {
@@ -5130,7 +5188,17 @@ const Ca = /* @__PURE__ */ N(ba, [["render", Sa]]), wa = {
5130
5188
  shouldReceiveBuilderProps: {
5131
5189
  builderBlock: !0
5132
5190
  }
5133
- }, Ra = {
5191
+ }, Co = j({
5192
+ render() {
5193
+ return Ur("script", {
5194
+ innerHTML: this.scriptStr,
5195
+ "data-id": this.id,
5196
+ nonce: this.nonce
5197
+ });
5198
+ },
5199
+ name: "inlined-script",
5200
+ props: ["scriptStr", "id", "nonce"]
5201
+ }), Pa = {
5134
5202
  name: "Core:Section",
5135
5203
  static: !0,
5136
5204
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -5169,7 +5237,7 @@ const Ca = /* @__PURE__ */ N(ba, [["render", Sa]]), wa = {
5169
5237
  }
5170
5238
  }
5171
5239
  }]
5172
- }, Aa = {
5240
+ }, Oa = {
5173
5241
  name: "Slot",
5174
5242
  isRSC: !0,
5175
5243
  description: "Allow child blocks to be inserted into this content when used as a Symbol",
@@ -5186,15 +5254,15 @@ const Ca = /* @__PURE__ */ N(ba, [["render", Sa]]), wa = {
5186
5254
  builderContext: !0,
5187
5255
  builderComponents: !0
5188
5256
  }
5189
- }, $a = j({
5257
+ }, ja = j({
5190
5258
  name: "builder-slot",
5191
5259
  components: { Blocks: _e },
5192
5260
  props: ["builderContext", "name", "builderComponents"]
5193
5261
  });
5194
- function Pa(e, t, n, r, o, i) {
5262
+ function Ba(e, t, n, r, o, i) {
5195
5263
  var u, p, m;
5196
- const s = U("Blocks");
5197
- return y(), I("div", z(
5264
+ const s = V("Blocks");
5265
+ return y(), I("div", q(
5198
5266
  { style: {
5199
5267
  pointerEvents: "auto"
5200
5268
  } },
@@ -5211,7 +5279,7 @@ function Pa(e, t, n, r, o, i) {
5211
5279
  }, null, 8, ["parent", "path", "context", "registeredComponents", "blocks"])
5212
5280
  ], 16);
5213
5281
  }
5214
- const Oa = /* @__PURE__ */ N($a, [["render", Pa]]), ja = {
5282
+ const Na = /* @__PURE__ */ N(ja, [["render", Ba]]), Ua = {
5215
5283
  name: "Symbol",
5216
5284
  noWrap: !0,
5217
5285
  static: !0,
@@ -5288,7 +5356,7 @@ const Oa = /* @__PURE__ */ N($a, [["render", Pa]]), ja = {
5288
5356
  text: "New tab content "
5289
5357
  }
5290
5358
  }
5291
- }, Ba = {
5359
+ }, Da = {
5292
5360
  name: "Builder: Tabs",
5293
5361
  inputs: [{
5294
5362
  name: "tabs",
@@ -5391,7 +5459,7 @@ const Oa = /* @__PURE__ */ N($a, [["render", Pa]]), ja = {
5391
5459
  builderComponents: !0,
5392
5460
  builderLinkComponent: !0
5393
5461
  }
5394
- }, Na = j({
5462
+ }, Va = j({
5395
5463
  name: "builder-tabs",
5396
5464
  components: { Blocks: _e },
5397
5465
  props: [
@@ -5416,9 +5484,9 @@ const Oa = /* @__PURE__ */ N($a, [["render", Pa]]), ja = {
5416
5484
  e === this.activeTab && this.collapsible ? this.activeTab = -1 : this.activeTab = e;
5417
5485
  }
5418
5486
  }
5419
- }), Da = ["onClick"], Va = { key: 0 };
5420
- function Ua(e, t, n, r, o, i) {
5421
- const s = U("Blocks");
5487
+ }), Fa = ["onClick"], Wa = { key: 0 };
5488
+ function Ma(e, t, n, r, o, i) {
5489
+ const s = V("Blocks");
5422
5490
  return y(), I("div", null, [
5423
5491
  ft("div", {
5424
5492
  class: "builder-tabs-wrap",
@@ -5445,9 +5513,9 @@ function Ua(e, t, n, r, o, i) {
5445
5513
  registeredComponents: e.builderComponents,
5446
5514
  linkComponent: e.builderLinkComponent
5447
5515
  }, null, 8, ["parent", "path", "blocks", "context", "registeredComponents", "linkComponent"])
5448
- ], 14, Da))), 128))
5516
+ ], 14, Fa))), 128))
5449
5517
  ], 4),
5450
- e.activeTabContent(e.activeTab) ? (y(), I("div", Va, [
5518
+ e.activeTabContent(e.activeTab) ? (y(), I("div", Wa, [
5451
5519
  se(s, {
5452
5520
  parent: e.builderBlock.id,
5453
5521
  path: `tabs.${e.activeTab}.content`,
@@ -5456,10 +5524,10 @@ function Ua(e, t, n, r, o, i) {
5456
5524
  registeredComponents: e.builderComponents,
5457
5525
  linkComponent: e.builderLinkComponent
5458
5526
  }, null, 8, ["parent", "path", "blocks", "context", "registeredComponents", "linkComponent"])
5459
- ])) : L("", !0)
5527
+ ])) : M("", !0)
5460
5528
  ]);
5461
5529
  }
5462
- const Fa = /* @__PURE__ */ N(Na, [["render", Ua]]), Wa = {
5530
+ const La = /* @__PURE__ */ N(Va, [["render", Ma]]), Ha = {
5463
5531
  shouldReceiveBuilderProps: {
5464
5532
  builderBlock: !1,
5465
5533
  builderContext: !0
@@ -5481,11 +5549,11 @@ const Fa = /* @__PURE__ */ N(Na, [["render", Ua]]), Wa = {
5481
5549
  height: "auto",
5482
5550
  textAlign: "center"
5483
5551
  }
5484
- }, La = j({
5552
+ }, Ka = j({
5485
5553
  name: "builder-text",
5486
5554
  props: ["text"]
5487
- }), Ma = ["innerHTML"];
5488
- function Ha(e, t, n, r, o, i) {
5555
+ }), za = ["innerHTML"];
5556
+ function Ga(e, t, n, r, o, i) {
5489
5557
  var s;
5490
5558
  return y(), I("div", {
5491
5559
  class: "builder-text",
@@ -5493,9 +5561,9 @@ function Ha(e, t, n, r, o, i) {
5493
5561
  style: {
5494
5562
  outline: "none"
5495
5563
  }
5496
- }, null, 8, Ma);
5564
+ }, null, 8, za);
5497
5565
  }
5498
- const Ka = /* @__PURE__ */ N(La, [["render", Ha]]), Ga = {
5566
+ const qa = /* @__PURE__ */ N(Ka, [["render", Ga]]), _a = {
5499
5567
  name: "Custom Code",
5500
5568
  static: !0,
5501
5569
  requiredPermissions: ["editCode"],
@@ -5517,7 +5585,7 @@ const Ka = /* @__PURE__ */ N(La, [["render", Ha]]), Ga = {
5517
5585
  helperText: "Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads",
5518
5586
  advanced: !0
5519
5587
  }]
5520
- }, za = j({
5588
+ }, Ja = j({
5521
5589
  name: "builder-custom-code",
5522
5590
  props: ["replaceNodes", "code"],
5523
5591
  data() {
@@ -5551,15 +5619,15 @@ const Ka = /* @__PURE__ */ N(La, [["render", Ha]]), Ga = {
5551
5619
  }
5552
5620
  }
5553
5621
  }
5554
- }), qa = ["innerHTML"];
5555
- function _a(e, t, n, r, o, i) {
5622
+ }), Xa = ["innerHTML"];
5623
+ function Ya(e, t, n, r, o, i) {
5556
5624
  return y(), I("div", {
5557
5625
  ref: "elementRef",
5558
5626
  class: ht("builder-custom-code" + (e.replaceNodes ? " replace-nodes" : "")),
5559
5627
  innerHTML: e.code
5560
- }, null, 10, qa);
5628
+ }, null, 10, Xa);
5561
5629
  }
5562
- const Ja = /* @__PURE__ */ N(za, [["render", _a]]), Xa = {
5630
+ const Za = /* @__PURE__ */ N(Ja, [["render", Ya]]), Qa = {
5563
5631
  name: "Embed",
5564
5632
  static: !0,
5565
5633
  inputs: [{
@@ -5574,7 +5642,7 @@ const Ja = /* @__PURE__ */ N(za, [["render", _a]]), Xa = {
5574
5642
  defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
5575
5643
  hideFromUI: !0
5576
5644
  }]
5577
- }, Ya = ["text/javascript", "application/javascript", "application/ecmascript"], Za = (e) => Ya.includes(e.type), Qa = j({
5645
+ }, el = ["text/javascript", "application/javascript", "application/ecmascript"], tl = (e) => el.includes(e.type), nl = j({
5578
5646
  name: "builder-embed",
5579
5647
  props: ["content"],
5580
5648
  data() {
@@ -5607,7 +5675,7 @@ const Ja = /* @__PURE__ */ N(za, [["render", _a]]), Xa = {
5607
5675
  this.scriptsInserted.push(n.src);
5608
5676
  const r = document.createElement("script");
5609
5677
  r.async = !0, r.src = n.src, document.head.appendChild(r);
5610
- } else if (Za(n) && !this.scriptsRun.includes(n.innerText))
5678
+ } else if (tl(n) && !this.scriptsRun.includes(n.innerText))
5611
5679
  try {
5612
5680
  this.scriptsRun.push(n.innerText), new Function(n.innerText)();
5613
5681
  } catch (r) {
@@ -5616,15 +5684,15 @@ const Ja = /* @__PURE__ */ N(za, [["render", _a]]), Xa = {
5616
5684
  }
5617
5685
  }
5618
5686
  }
5619
- }), el = ["innerHTML"];
5620
- function tl(e, t, n, r, o, i) {
5687
+ }), rl = ["innerHTML"];
5688
+ function ol(e, t, n, r, o, i) {
5621
5689
  return y(), I("div", {
5622
5690
  class: "builder-embed",
5623
5691
  ref: "elem",
5624
5692
  innerHTML: e.content
5625
- }, null, 8, el);
5693
+ }, null, 8, rl);
5626
5694
  }
5627
- const nl = /* @__PURE__ */ N(Qa, [["render", tl]]), rl = {
5695
+ const il = /* @__PURE__ */ N(nl, [["render", ol]]), sl = {
5628
5696
  name: "Form:Form",
5629
5697
  // editableTags: ['builder-form-error']
5630
5698
  defaults: {
@@ -5861,10 +5929,10 @@ const nl = /* @__PURE__ */ N(Qa, [["render", tl]]), rl = {
5861
5929
  builderComponents: !0,
5862
5930
  builderLinkComponent: !0
5863
5931
  }
5864
- }, ol = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], il = () => {
5932
+ }, al = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], ll = () => {
5865
5933
  const e = process.env.NODE_ENV || "production";
5866
- return ol.includes(e) ? e : "production";
5867
- }, sl = j({
5934
+ return al.includes(e) ? e : "production";
5935
+ }, ul = j({
5868
5936
  name: "builder-form-component",
5869
5937
  components: { Blocks: _e },
5870
5938
  props: [
@@ -5922,12 +5990,12 @@ const nl = /* @__PURE__ */ N(Qa, [["render", tl]]), rl = {
5922
5990
  let i;
5923
5991
  const s = new FormData(r), u = Array.from(r.querySelectorAll("input,select,textarea")).filter((g) => !!g.name).map((g) => {
5924
5992
  let T;
5925
- const D = g.name;
5993
+ const U = g.name;
5926
5994
  if (g instanceof HTMLInputElement)
5927
5995
  if (g.type === "radio") {
5928
5996
  if (g.checked)
5929
5997
  return T = g.name, {
5930
- key: D,
5998
+ key: U,
5931
5999
  value: T
5932
6000
  };
5933
6001
  } else if (g.type === "checkbox")
@@ -5940,7 +6008,7 @@ const nl = /* @__PURE__ */ N(Qa, [["render", tl]]), rl = {
5940
6008
  else
5941
6009
  T = g.value;
5942
6010
  return {
5943
- key: D,
6011
+ key: U,
5944
6012
  value: T
5945
6013
  };
5946
6014
  });
@@ -5951,8 +6019,8 @@ const nl = /* @__PURE__ */ N(Qa, [["render", tl]]), rl = {
5951
6019
  i = s;
5952
6020
  else {
5953
6021
  const g = {};
5954
- Array.from(u).forEach(({ value: T, key: D }) => {
5955
- zr(g, D, T);
6022
+ Array.from(u).forEach(({ value: T, key: U }) => {
6023
+ Jr(g, U, T);
5956
6024
  }), i = JSON.stringify(g);
5957
6025
  }
5958
6026
  p && p !== "multipart/form-data" && (t && ((n = this.action) != null && n.includes("zapier.com")) || (o["content-type"] = p));
@@ -5964,19 +6032,19 @@ const nl = /* @__PURE__ */ N(Qa, [["render", tl]]), rl = {
5964
6032
  if (this.$refs.formRef && (this.$refs.formRef.dispatchEvent(m), m.defaultPrevented))
5965
6033
  return;
5966
6034
  this.formState = "sending";
5967
- const b = `${il() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${this.builderContext.apiKey}&to=${btoa(
6035
+ const b = `${ll() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${this.builderContext.apiKey}&to=${btoa(
5968
6036
  this.sendSubmissionsToEmail || ""
5969
6037
  )}&name=${encodeURIComponent(this.name || "")}`, v = this.sendSubmissionsTo === "email" ? b : this.action;
5970
- Bn(v), fetch(v, {
6038
+ Un(v), fetch(v, {
5971
6039
  body: i,
5972
6040
  headers: o,
5973
6041
  method: this.method || "post"
5974
6042
  }).then(
5975
6043
  async (g) => {
5976
6044
  let T;
5977
- const D = g.headers.get("content-type");
5978
- if (D && D.indexOf("application/json") !== -1 ? T = await g.json() : T = await g.text(), !g.ok && this.errorMessagePath) {
5979
- let O = Nr(T, this.errorMessagePath);
6045
+ const U = g.headers.get("content-type");
6046
+ if (U && U.indexOf("application/json") !== -1 ? T = await g.json() : T = await g.text(), !g.ok && this.errorMessagePath) {
6047
+ let O = Vr(T, this.errorMessagePath);
5980
6048
  O && (typeof O != "string" && (O = JSON.stringify(O)), this.formErrorMessage = O, this.mergeNewRootState({
5981
6049
  formErrorMessage: O
5982
6050
  }));
@@ -6017,13 +6085,13 @@ const nl = /* @__PURE__ */ N(Qa, [["render", tl]]), rl = {
6017
6085
  }
6018
6086
  }
6019
6087
  }
6020
- }), al = ["validate", "action", "method", "name"], ll = {
6088
+ }), cl = ["validate", "action", "method", "name"], pl = {
6021
6089
  key: 2,
6022
- class: "builder-form-error-text pre-3q96myty4lk"
6090
+ class: "builder-form-error-text pre-1hjwvu3r5mj"
6023
6091
  };
6024
- function ul(e, t, n, r, o, i) {
6025
- const s = U("Blocks");
6026
- return y(), I("form", z({
6092
+ function dl(e, t, n, r, o, i) {
6093
+ const s = V("Blocks");
6094
+ return y(), I("form", q({
6027
6095
  validate: e.validate,
6028
6096
  ref: "formRef",
6029
6097
  action: !e.sendWithJs && e.action,
@@ -6032,28 +6100,28 @@ function ul(e, t, n, r, o, i) {
6032
6100
  onSubmit: t[0] || (t[0] = async (u) => e.onSubmit(u))
6033
6101
  }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, de(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
6034
6102
  le(e.$slots, "default", {}, void 0, !0),
6035
- e.submissionState() === "error" ? (y(), V(s, {
6103
+ e.submissionState() === "error" ? (y(), D(s, {
6036
6104
  key: 0,
6037
6105
  path: "errorMessage",
6038
6106
  blocks: e.errorMessage,
6039
6107
  context: e.builderContext
6040
- }, null, 8, ["blocks", "context"])) : L("", !0),
6041
- e.submissionState() === "sending" ? (y(), V(s, {
6108
+ }, null, 8, ["blocks", "context"])) : M("", !0),
6109
+ e.submissionState() === "sending" ? (y(), D(s, {
6042
6110
  key: 1,
6043
6111
  path: "sendingMessage",
6044
6112
  blocks: e.sendingMessage,
6045
6113
  context: e.builderContext
6046
- }, null, 8, ["blocks", "context"])) : L("", !0),
6047
- e.submissionState() === "error" && e.responseData ? (y(), I("pre", ll, Nt(JSON.stringify(e.responseData, null, 2)), 1)) : L("", !0),
6048
- e.submissionState() === "success" ? (y(), V(s, {
6114
+ }, null, 8, ["blocks", "context"])) : M("", !0),
6115
+ e.submissionState() === "error" && e.responseData ? (y(), I("pre", pl, Nt(JSON.stringify(e.responseData, null, 2)), 1)) : M("", !0),
6116
+ e.submissionState() === "success" ? (y(), D(s, {
6049
6117
  key: 3,
6050
6118
  path: "successMessage",
6051
6119
  blocks: e.successMessage,
6052
6120
  context: e.builderContext
6053
- }, null, 8, ["blocks", "context"])) : L("", !0)
6054
- ], 16, al);
6121
+ }, null, 8, ["blocks", "context"])) : M("", !0)
6122
+ ], 16, cl);
6055
6123
  }
6056
- const cl = /* @__PURE__ */ N(sl, [["render", ul], ["__scopeId", "data-v-77d3dc14"]]), pl = {
6124
+ const fl = /* @__PURE__ */ N(ul, [["render", dl], ["__scopeId", "data-v-4ef43cdd"]]), hl = {
6057
6125
  name: "Form:Input",
6058
6126
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
6059
6127
  inputs: [
@@ -6104,7 +6172,7 @@ const cl = /* @__PURE__ */ N(sl, [["render", ul], ["__scopeId", "data-v-77d3dc14
6104
6172
  borderStyle: "solid",
6105
6173
  borderColor: "#ccc"
6106
6174
  }
6107
- }, dl = j({
6175
+ }, ml = j({
6108
6176
  name: "builder-form-input-component",
6109
6177
  props: [
6110
6178
  "attributes",
@@ -6118,9 +6186,9 @@ const cl = /* @__PURE__ */ N(sl, [["render", ul], ["__scopeId", "data-v-77d3dc14
6118
6186
  data() {
6119
6187
  return { isEditing: ie, filterAttrs: he };
6120
6188
  }
6121
- }), fl = ["placeholder", "type", "name", "value", "defaultValue", "required"];
6122
- function hl(e, t, n, r, o, i) {
6123
- return y(), I("input", z({
6189
+ }), gl = ["placeholder", "type", "name", "value", "defaultValue", "required"];
6190
+ function yl(e, t, n, r, o, i) {
6191
+ return y(), I("input", q({
6124
6192
  key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
6125
6193
  placeholder: e.placeholder,
6126
6194
  type: e.type,
@@ -6128,9 +6196,9 @@ function hl(e, t, n, r, o, i) {
6128
6196
  value: e.value,
6129
6197
  defaultValue: e.defaultValue,
6130
6198
  required: e.required
6131
- }, e.filterAttrs(e.attributes, "v-on:", !1), de(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, fl);
6199
+ }, e.filterAttrs(e.attributes, "v-on:", !1), de(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, gl);
6132
6200
  }
6133
- const ml = /* @__PURE__ */ N(dl, [["render", hl]]), gl = {
6201
+ const vl = /* @__PURE__ */ N(ml, [["render", yl]]), bl = {
6134
6202
  name: "Form:Select",
6135
6203
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
6136
6204
  defaultStyles: {
@@ -6172,15 +6240,15 @@ const ml = /* @__PURE__ */ N(dl, [["render", hl]]), gl = {
6172
6240
  }],
6173
6241
  static: !0,
6174
6242
  noWrap: !0
6175
- }, yl = j({
6243
+ }, kl = j({
6176
6244
  name: "builder-select-component",
6177
6245
  props: ["attributes", "value", "defaultValue", "name", "required", "options"],
6178
6246
  data() {
6179
6247
  return { isEditing: ie, filterAttrs: he };
6180
6248
  }
6181
- }), vl = ["value", "defaultValue", "name", "required"], bl = ["value"];
6182
- function kl(e, t, n, r, o, i) {
6183
- return y(), I("select", z({
6249
+ }), Sl = ["value", "defaultValue", "name", "required"], Cl = ["value"];
6250
+ function wl(e, t, n, r, o, i) {
6251
+ return y(), I("select", q({
6184
6252
  value: e.value,
6185
6253
  key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
6186
6254
  defaultValue: e.defaultValue,
@@ -6190,10 +6258,10 @@ function kl(e, t, n, r, o, i) {
6190
6258
  (y(!0), I(X, null, Ee(e.options, (s, u) => (y(), I("option", {
6191
6259
  key: `${s.name}-${u}`,
6192
6260
  value: s.value
6193
- }, Nt(s.name || s.value), 9, bl))), 128))
6194
- ], 16, vl);
6261
+ }, Nt(s.name || s.value), 9, Cl))), 128))
6262
+ ], 16, Sl);
6195
6263
  }
6196
- const Sl = /* @__PURE__ */ N(yl, [["render", kl]]), Cl = {
6264
+ const El = /* @__PURE__ */ N(kl, [["render", wl]]), Tl = {
6197
6265
  name: "Form:SubmitButton",
6198
6266
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
6199
6267
  defaultStyles: {
@@ -6218,17 +6286,17 @@ const Sl = /* @__PURE__ */ N(yl, [["render", kl]]), Cl = {
6218
6286
  // that only shows if advanced setting is flipped
6219
6287
  // TODO: defaultChildren
6220
6288
  // canHaveChildren: true,
6221
- }, wl = j({
6289
+ }, Il = j({
6222
6290
  name: "builder-submit-button",
6223
6291
  props: ["attributes", "text"],
6224
6292
  data() {
6225
6293
  return { filterAttrs: he };
6226
6294
  }
6227
6295
  });
6228
- function El(e, t, n, r, o, i) {
6229
- return y(), I("button", z({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), de(e.filterAttrs(e.attributes, "v-on:", !0), !0)), Nt(e.text), 17);
6296
+ function xl(e, t, n, r, o, i) {
6297
+ return y(), I("button", q({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), de(e.filterAttrs(e.attributes, "v-on:", !0), !0)), Nt(e.text), 17);
6230
6298
  }
6231
- const Tl = /* @__PURE__ */ N(wl, [["render", El]]), Il = {
6299
+ const Al = /* @__PURE__ */ N(Il, [["render", xl]]), Rl = {
6232
6300
  name: "Form:TextArea",
6233
6301
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
6234
6302
  inputs: [{
@@ -6264,7 +6332,7 @@ const Tl = /* @__PURE__ */ N(wl, [["render", El]]), Il = {
6264
6332
  },
6265
6333
  static: !0,
6266
6334
  noWrap: !0
6267
- }, xl = j({
6335
+ }, $l = j({
6268
6336
  name: "builder-textarea",
6269
6337
  props: [
6270
6338
  "attributes",
@@ -6277,17 +6345,17 @@ const Tl = /* @__PURE__ */ N(wl, [["render", El]]), Il = {
6277
6345
  data() {
6278
6346
  return { filterAttrs: he };
6279
6347
  }
6280
- }), Rl = ["placeholder", "name", "value", "defaultValue", "required"];
6281
- function Al(e, t, n, r, o, i) {
6282
- return y(), I("textarea", z({
6348
+ }), Pl = ["placeholder", "name", "value", "defaultValue", "required"];
6349
+ function Ol(e, t, n, r, o, i) {
6350
+ return y(), I("textarea", q({
6283
6351
  placeholder: e.placeholder,
6284
6352
  name: e.name,
6285
6353
  value: e.value,
6286
6354
  defaultValue: e.defaultValue,
6287
6355
  required: e.required
6288
- }, e.filterAttrs(e.attributes, "v-on:", !1), de(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Rl);
6356
+ }, e.filterAttrs(e.attributes, "v-on:", !1), de(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Pl);
6289
6357
  }
6290
- const $l = /* @__PURE__ */ N(xl, [["render", Al]]), Pl = {
6358
+ const jl = /* @__PURE__ */ N($l, [["render", Ol]]), Bl = {
6291
6359
  // friendlyName?
6292
6360
  name: "Raw:Img",
6293
6361
  hideFromInsertMenu: !0,
@@ -6296,12 +6364,12 @@ const $l = /* @__PURE__ */ N(xl, [["render", Al]]), Pl = {
6296
6364
  name: "image",
6297
6365
  bubble: !0,
6298
6366
  type: "file",
6299
- allowedFileTypes: Wn,
6367
+ allowedFileTypes: Ln,
6300
6368
  required: !0
6301
6369
  }],
6302
6370
  noWrap: !0,
6303
6371
  static: !0
6304
- }, Ol = j({
6372
+ }, Nl = j({
6305
6373
  name: "builder-img-component",
6306
6374
  props: [
6307
6375
  "backgroundSize",
@@ -6314,9 +6382,9 @@ const $l = /* @__PURE__ */ N(xl, [["render", Al]]), Pl = {
6314
6382
  data() {
6315
6383
  return { isEditing: ie, filterAttrs: he };
6316
6384
  }
6317
- }), jl = ["alt", "src"];
6318
- function Bl(e, t, n, r, o, i) {
6319
- return y(), I("img", z({
6385
+ }), Ul = ["alt", "src"];
6386
+ function Dl(e, t, n, r, o, i) {
6387
+ return y(), I("img", q({
6320
6388
  style: {
6321
6389
  objectFit: e.backgroundSize || "cover",
6322
6390
  objectPosition: e.backgroundPosition || "center"
@@ -6324,9 +6392,9 @@ function Bl(e, t, n, r, o, i) {
6324
6392
  key: e.isEditing() && e.imgSrc || "default-key",
6325
6393
  alt: e.altText,
6326
6394
  src: e.imgSrc || e.image
6327
- }, e.filterAttrs(e.attributes, "v-on:", !1), de(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, jl);
6395
+ }, e.filterAttrs(e.attributes, "v-on:", !1), de(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Ul);
6328
6396
  }
6329
- const Nl = /* @__PURE__ */ N(Ol, [["render", Bl]]), Dl = {
6397
+ const Vl = /* @__PURE__ */ N(Nl, [["render", Dl]]), Fl = {
6330
6398
  name: "Video",
6331
6399
  canHaveChildren: !0,
6332
6400
  defaultStyles: {
@@ -6337,14 +6405,14 @@ const Nl = /* @__PURE__ */ N(Ol, [["render", Bl]]), Dl = {
6337
6405
  inputs: [{
6338
6406
  name: "video",
6339
6407
  type: "file",
6340
- allowedFileTypes: Ia,
6408
+ allowedFileTypes: Ra,
6341
6409
  bubble: !0,
6342
6410
  defaultValue: "https://cdn.builder.io/o/assets%2FYJIGb4i01jvw0SRdL5Bt%2Fd27731a526464deba0016216f5f9e570%2Fcompressed?apiKey=YJIGb4i01jvw0SRdL5Bt&token=d27731a526464deba0016216f5f9e570&alt=media&optimized=true",
6343
6411
  required: !0
6344
6412
  }, {
6345
6413
  name: "posterImage",
6346
6414
  type: "file",
6347
- allowedFileTypes: Wn,
6415
+ allowedFileTypes: Ln,
6348
6416
  helperText: "Image to show before the video plays"
6349
6417
  }, {
6350
6418
  name: "autoPlay",
@@ -6410,7 +6478,7 @@ const Nl = /* @__PURE__ */ N(Ol, [["render", Bl]]), Dl = {
6410
6478
  shouldReceiveBuilderProps: {
6411
6479
  builderBlock: !0
6412
6480
  }
6413
- }, Vl = j({
6481
+ }, Wl = j({
6414
6482
  name: "builder-video",
6415
6483
  props: [
6416
6484
  "autoPlay",
@@ -6455,16 +6523,16 @@ const Nl = /* @__PURE__ */ N(Ol, [["render", Bl]]), Dl = {
6455
6523
  };
6456
6524
  }
6457
6525
  }
6458
- }), Ul = { style: {
6526
+ }), Ml = { style: {
6459
6527
  position: "relative"
6460
- } }, Fl = ["preload", "src", "poster"], Wl = ["src"], Ll = {
6528
+ } }, Ll = ["preload", "src", "poster"], Hl = ["src"], Kl = {
6461
6529
  key: 1,
6462
6530
  style: {
6463
6531
  display: "flex",
6464
6532
  flexDirection: "column",
6465
6533
  alignItems: "stretch"
6466
6534
  }
6467
- }, Ml = {
6535
+ }, zl = {
6468
6536
  key: 2,
6469
6537
  style: {
6470
6538
  pointerEvents: "none",
@@ -6478,10 +6546,10 @@ const Nl = /* @__PURE__ */ N(Ol, [["render", Bl]]), Dl = {
6478
6546
  height: "100%"
6479
6547
  }
6480
6548
  };
6481
- function Hl(e, t, n, r, o, i) {
6549
+ function Gl(e, t, n, r, o, i) {
6482
6550
  var s, u, p, m, b, v, g;
6483
- return y(), I("div", Ul, [
6484
- ft("video", z({
6551
+ return y(), I("div", Ml, [
6552
+ ft("video", q({
6485
6553
  class: "builder-video",
6486
6554
  preload: e.preload || "metadata",
6487
6555
  style: {
@@ -6500,12 +6568,12 @@ function Hl(e, t, n, r, o, i) {
6500
6568
  src: e.video || "no-src",
6501
6569
  poster: e.posterImage
6502
6570
  }, e.spreadProps), [
6503
- e.lazyLoad ? L("", !0) : (y(), I("source", {
6571
+ e.lazyLoad ? M("", !0) : (y(), I("source", {
6504
6572
  key: 0,
6505
6573
  type: "video/mp4",
6506
6574
  src: e.video
6507
- }, null, 8, Wl))
6508
- ], 16, Fl),
6575
+ }, null, 8, Hl))
6576
+ ], 16, Ll),
6509
6577
  e.aspectRatio && !(e.fitContent && ((p = (u = e.builderBlock) == null ? void 0 : u.children) != null && p.length)) ? (y(), I("div", {
6510
6578
  key: 0,
6511
6579
  style: Pe({
@@ -6514,73 +6582,73 @@ function Hl(e, t, n, r, o, i) {
6514
6582
  pointerEvents: "none",
6515
6583
  fontSize: "0px"
6516
6584
  })
6517
- }, null, 4)) : L("", !0),
6518
- (b = (m = e.builderBlock) == null ? void 0 : m.children) != null && b.length && e.fitContent ? (y(), I("div", Ll, [
6585
+ }, null, 4)) : M("", !0),
6586
+ (b = (m = e.builderBlock) == null ? void 0 : m.children) != null && b.length && e.fitContent ? (y(), I("div", Kl, [
6519
6587
  le(e.$slots, "default")
6520
- ])) : L("", !0),
6521
- (g = (v = e.builderBlock) == null ? void 0 : v.children) != null && g.length && !e.fitContent ? (y(), I("div", Ml, [
6588
+ ])) : M("", !0),
6589
+ (g = (v = e.builderBlock) == null ? void 0 : v.children) != null && g.length && !e.fitContent ? (y(), I("div", zl, [
6522
6590
  le(e.$slots, "default")
6523
- ])) : L("", !0)
6591
+ ])) : M("", !0)
6524
6592
  ]);
6525
6593
  }
6526
- const Kl = /* @__PURE__ */ N(Vl, [["render", Hl]]), Gl = () => [{
6527
- component: Ja,
6528
- ...Ga
6529
- }, {
6530
- component: nl,
6531
- ...Xa
6594
+ const ql = /* @__PURE__ */ N(Wl, [["render", Gl]]), _l = () => [{
6595
+ component: Za,
6596
+ ..._a
6532
6597
  }, {
6533
- component: cl,
6534
- ...rl
6598
+ component: il,
6599
+ ...Qa
6535
6600
  }, {
6536
- component: ml,
6537
- ...pl
6601
+ component: fl,
6602
+ ...sl
6538
6603
  }, {
6539
- component: Tl,
6540
- ...Cl
6604
+ component: vl,
6605
+ ...hl
6541
6606
  }, {
6542
- component: Sl,
6543
- ...gl
6607
+ component: Al,
6608
+ ...Tl
6544
6609
  }, {
6545
- component: $l,
6546
- ...Il
6610
+ component: El,
6611
+ ...bl
6547
6612
  }, {
6548
- component: Nl,
6549
- ...Pl
6613
+ component: jl,
6614
+ ...Rl
6550
6615
  }, {
6551
- component: Kl,
6552
- ...Dl
6553
- }], $r = () => [{
6554
- component: _o,
6555
- ...wa
6616
+ component: Vl,
6617
+ ...Bl
6556
6618
  }, {
6557
- component: na,
6558
- ...Ea
6619
+ component: ql,
6620
+ ...Fl
6621
+ }], jr = () => [{
6622
+ component: Xo,
6623
+ ...Ia
6559
6624
  }, {
6560
6625
  component: ia,
6561
- ...Ta
6562
- }, {
6563
- component: fa,
6564
6626
  ...xa
6627
+ }, {
6628
+ component: la,
6629
+ ...Aa
6565
6630
  }, {
6566
6631
  component: ga,
6567
- ...Ra
6632
+ ...$a
6568
6633
  }, {
6569
- component: Oa,
6570
- ...Aa
6634
+ component: ba,
6635
+ ...Pa
6636
+ }, {
6637
+ component: Na,
6638
+ ...Oa
6571
6639
  }, {
6572
- component: Ru,
6573
- ...ja
6640
+ component: Pu,
6641
+ ...Ua
6574
6642
  }, {
6575
- component: Ka,
6576
- ...Wa
6643
+ component: qa,
6644
+ ...Ha
6577
6645
  }, {
6578
- component: Fa,
6579
- ...Ba
6646
+ component: La,
6647
+ ...Da
6580
6648
  }, {
6581
- component: Ca,
6582
- ...ya
6583
- }, ...Gl()], zl = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
6649
+ component: Ta,
6650
+ ...ka
6651
+ }, ..._l()], Jl = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
6584
6652
  function getAndSetVariantId() {
6585
6653
  function setCookie(name, value, days) {
6586
6654
  let expires = '';
@@ -6636,7 +6704,7 @@ const Kl = /* @__PURE__ */ N(Vl, [["render", Hl]]), Gl = () => [{
6636
6704
  }).join('');
6637
6705
  styleEl.innerHTML = newStyleStr;
6638
6706
  }
6639
- }`, ql = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
6707
+ }`, Xl = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
6640
6708
  if (!navigator.cookieEnabled) {
6641
6709
  return;
6642
6710
  }
@@ -6670,39 +6738,29 @@ const Kl = /* @__PURE__ */ N(Vl, [["render", Hl]]), Gl = () => [{
6670
6738
  thisScriptEl?.remove();
6671
6739
  }
6672
6740
  return;
6673
- }`, ko = "builderIoAbTest", So = "builderIoRenderContent", Pt = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
6741
+ }`, wo = "builderIoAbTest", Eo = "builderIoRenderContent", Pt = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
6674
6742
  ...t,
6675
6743
  testVariationId: t.id,
6676
6744
  id: e == null ? void 0 : e.id
6677
- })), _l = ({
6745
+ })), Yl = ({
6678
6746
  canTrack: e,
6679
6747
  content: t
6680
- }) => !(!(Pt(t).length > 0) || !e), Jl = (e) => e === "react" || e === "reactNative", Co = Jl(re), Xl = () => `
6681
- window.${ko} = ${zl}
6682
- window.${So} = ${ql}
6683
- `, Yl = (e, t) => `
6684
- window.${ko}(
6685
- "${t}",${JSON.stringify(e)}, ${Co}
6686
- )`, Zl = ({
6748
+ }) => !(!(Pt(t).length > 0) || !e), Zl = (e) => e === "react" || e === "reactNative", To = Zl(re), Ql = () => `
6749
+ window.${wo} = ${Jl}
6750
+ window.${Eo} = ${Xl}
6751
+ `, eu = (e, t) => `
6752
+ window.${wo}(
6753
+ "${t}",${JSON.stringify(e)}, ${To}
6754
+ )`, tu = ({
6687
6755
  contentId: e,
6688
6756
  variationId: t
6689
- }) => `window.${So}(
6690
- "${t}", "${e}", ${Co}
6691
- )`, wo = j({
6692
- render() {
6693
- return jr("script", {
6694
- innerHTML: this.scriptStr,
6695
- "data-id": this.id,
6696
- nonce: this.nonce
6697
- });
6698
- },
6699
- name: "inlined-script",
6700
- props: ["scriptStr", "id", "nonce"]
6701
- });
6702
- function Pr(e) {
6757
+ }) => `window.${Eo}(
6758
+ "${t}", "${e}", ${To}
6759
+ )`;
6760
+ function Br(e) {
6703
6761
  return Math.round(e * 1e3) / 1e3;
6704
6762
  }
6705
- const Ql = (e, t, n = !0) => {
6763
+ const nu = (e, t, n = !0) => {
6706
6764
  if (!(e instanceof HTMLElement))
6707
6765
  return null;
6708
6766
  let r = n ? e : e.parentElement;
@@ -6713,35 +6771,35 @@ const Ql = (e, t, n = !0) => {
6713
6771
  return r;
6714
6772
  } while (r = r.parentElement);
6715
6773
  return null;
6716
- }, eu = (e) => Ql(e, (t) => {
6774
+ }, ru = (e) => nu(e, (t) => {
6717
6775
  const n = t.getAttribute("builder-id") || t.id;
6718
6776
  return (n == null ? void 0 : n.indexOf("builder-")) === 0;
6719
- }), Or = ({
6777
+ }), Nr = ({
6720
6778
  event: e,
6721
6779
  target: t
6722
6780
  }) => {
6723
- const n = t.getBoundingClientRect(), r = e.clientX - n.left, o = e.clientY - n.top, i = Pr(r / n.width), s = Pr(o / n.height);
6781
+ const n = t.getBoundingClientRect(), r = e.clientX - n.left, o = e.clientY - n.top, i = Br(r / n.width), s = Br(o / n.height);
6724
6782
  return {
6725
6783
  x: i,
6726
6784
  y: s
6727
6785
  };
6728
- }, tu = (e) => {
6729
- const t = e.target, n = t && eu(t), r = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
6786
+ }, ou = (e) => {
6787
+ const t = e.target, n = t && ru(t), r = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
6730
6788
  return {
6731
6789
  targetBuilderElement: r || void 0,
6732
6790
  metadata: {
6733
- targetOffset: t ? Or({
6791
+ targetOffset: t ? Nr({
6734
6792
  event: e,
6735
6793
  target: t
6736
6794
  }) : void 0,
6737
- builderTargetOffset: n ? Or({
6795
+ builderTargetOffset: n ? Nr({
6738
6796
  event: e,
6739
6797
  target: n
6740
6798
  }) : void 0,
6741
6799
  builderElementIndex: n && r ? [].slice.call(document.getElementsByClassName(r)).indexOf(n) : void 0
6742
6800
  }
6743
6801
  };
6744
- }, nu = ["svelte", "qwik", "vue"], ru = () => nu.includes(re) && (ie() || qr()), ou = (e) => {
6802
+ }, iu = ["svelte", "qwik", "vue"], su = () => iu.includes(re) && (ie() || Xr()), au = (e) => {
6745
6803
  var i;
6746
6804
  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);
6747
6805
  let o = "";
@@ -6767,15 +6825,15 @@ font-weight: ${s};
6767
6825
  `.trim());
6768
6826
  }
6769
6827
  return o;
6770
- }, iu = ({
6828
+ }, lu = ({
6771
6829
  customFonts: e
6772
6830
  }) => {
6773
6831
  var t;
6774
- return ((t = e == null ? void 0 : e.map((n) => ou(n))) == null ? void 0 : t.join(" ")) || "";
6775
- }, su = ({
6832
+ return ((t = e == null ? void 0 : e.map((n) => au(n))) == null ? void 0 : t.join(" ")) || "";
6833
+ }, uu = ({
6776
6834
  cssCode: e,
6777
6835
  contentId: t
6778
- }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", au = `
6836
+ }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", cu = `
6779
6837
  .builder-button {
6780
6838
  all: unset;
6781
6839
  }
@@ -6792,7 +6850,7 @@ font-weight: ${s};
6792
6850
  text-align: inherit;
6793
6851
  font-family: inherit;
6794
6852
  }
6795
- `, lu = (e) => e ? "" : au, uu = (e) => `variant-${e}`, cu = j({
6853
+ `, pu = (e) => e ? "" : cu, du = (e) => `variant-${e}`, fu = j({
6796
6854
  name: "enable-editor",
6797
6855
  components: { DynamicDiv: St },
6798
6856
  props: [
@@ -6819,8 +6877,8 @@ font-weight: ${s};
6819
6877
  httpReqsPending: {},
6820
6878
  clicked: !1,
6821
6879
  builderContext: fn,
6822
- needsElementRefDivForEditing: ru,
6823
- getWrapperClassName: uu
6880
+ needsElementRefDivForEditing: su,
6881
+ getWrapperClassName: du
6824
6882
  };
6825
6883
  },
6826
6884
  provide() {
@@ -6834,7 +6892,7 @@ font-weight: ${s};
6834
6892
  },
6835
6893
  mounted() {
6836
6894
  var e, t;
6837
- if (J()) {
6895
+ if (z()) {
6838
6896
  if (ie() && !this.isNestedRender && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
6839
6897
  new CustomEvent("initeditingbldr")
6840
6898
  ), this.builderContextSignal.content && yt(this.canTrack)) {
@@ -6848,7 +6906,7 @@ font-weight: ${s};
6848
6906
  variationId: r !== o ? r : void 0
6849
6907
  });
6850
6908
  }
6851
- qr() && !ie() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
6909
+ Xr() && !ie() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
6852
6910
  new CustomEvent("initpreviewingbldr")
6853
6911
  );
6854
6912
  }
@@ -6882,7 +6940,7 @@ font-weight: ${s};
6882
6940
  }
6883
6941
  },
6884
6942
  unmounted() {
6885
- J() && (window.removeEventListener("message", this.processMessage), window.removeEventListener(
6943
+ z() && (window.removeEventListener("message", this.processMessage), window.removeEventListener(
6886
6944
  "builder:component:stateChangeListenerActivated",
6887
6945
  this.emitStateUpdate
6888
6946
  ));
@@ -6942,7 +7000,7 @@ font-weight: ${s};
6942
7000
  this.builderContextSignal.content = t;
6943
7001
  },
6944
7002
  processMessage(e) {
6945
- return so({
7003
+ return ao({
6946
7004
  model: this.model,
6947
7005
  trustedHosts: this.trustedHosts,
6948
7006
  callbacks: {
@@ -6956,7 +7014,7 @@ font-weight: ${s};
6956
7014
  });
6957
7015
  },
6958
7016
  animation: (t) => {
6959
- ho(t);
7017
+ go(t);
6960
7018
  },
6961
7019
  contentUpdate: (t) => {
6962
7020
  this.mergeNewContent(t);
@@ -6975,7 +7033,7 @@ font-weight: ${s};
6975
7033
  contentId: o,
6976
7034
  apiKey: this.apiKey,
6977
7035
  variationId: r !== o ? r : void 0,
6978
- ...tu(e),
7036
+ ...ou(e),
6979
7037
  unique: !this.clicked
6980
7038
  });
6981
7039
  }
@@ -7000,7 +7058,7 @@ font-weight: ${s};
7000
7058
  })
7001
7059
  )
7002
7060
  );
7003
- Bn(i), fetch(i).then((s) => s.json()).then((s) => {
7061
+ Un(i), fetch(i).then((s) => s.json()).then((s) => {
7004
7062
  this.mergeNewRootState({
7005
7063
  [r]: s
7006
7064
  }), this.httpReqsData[r] = !0;
@@ -7027,7 +7085,7 @@ font-weight: ${s};
7027
7085
  );
7028
7086
  },
7029
7087
  elementRef_onIniteditingbldr(e) {
7030
- window.addEventListener("message", this.processMessage), ss(), io({
7088
+ window.addEventListener("message", this.processMessage), ls(), so({
7031
7089
  ...this.locale ? {
7032
7090
  locale: this.locale
7033
7091
  } : {},
@@ -7042,7 +7100,7 @@ font-weight: ${s};
7042
7100
  ).forEach((t) => {
7043
7101
  var n, r;
7044
7102
  if (!this.model || !((n = t.models) != null && n.length) || t.models.includes(this.model)) {
7045
- const o = Fi(t);
7103
+ const o = Mi(t);
7046
7104
  (r = window.parent) == null || r.postMessage(o, "*");
7047
7105
  }
7048
7106
  }), window.addEventListener(
@@ -7055,7 +7113,7 @@ font-weight: ${s};
7055
7113
  const t = new URL(location.href).searchParams, n = t.get("builder.preview"), r = t.get(
7056
7114
  `builder.overrides.${n}`
7057
7115
  ), o = t.get("apiKey") || t.get("builder.space");
7058
- (n === "BUILDER_STUDIO" || n === this.model && o === this.apiKey && (!this.content || r === this.content.id)) && Vn({
7116
+ (n === "BUILDER_STUDIO" || n === this.model && o === this.apiKey && (!this.content || r === this.content.id)) && Fn({
7059
7117
  model: this.model || "",
7060
7118
  apiKey: this.apiKey,
7061
7119
  apiVersion: this.builderContextSignal.apiVersion,
@@ -7070,9 +7128,9 @@ font-weight: ${s};
7070
7128
  }
7071
7129
  }
7072
7130
  });
7073
- function pu(e, t, n, r, o, i) {
7131
+ function hu(e, t, n, r, o, i) {
7074
7132
  var s, u, p;
7075
- return e.builderContextSignal.content || e.needsElementRefDivForEditing() ? (y(), V(ut(e.ContentWrapper), z({
7133
+ return e.builderContextSignal.content || e.needsElementRefDivForEditing() ? (y(), D(ut(e.ContentWrapper), q({
7076
7134
  key: 0,
7077
7135
  ref: "elementRef",
7078
7136
  onClick: (m) => e.onClick(m),
@@ -7089,36 +7147,36 @@ function pu(e, t, n, r, o, i) {
7089
7147
  le(e.$slots, "default")
7090
7148
  ]),
7091
7149
  _: 3
7092
- }, 16, ["onClick", "builder-content-id", "builder-model", "className", "style", "onIniteditingbldr", "onInitpreviewingbldr"])) : L("", !0);
7150
+ }, 16, ["onClick", "builder-content-id", "builder-model", "className", "style", "onIniteditingbldr", "onInitpreviewingbldr"])) : M("", !0);
7093
7151
  }
7094
- const du = /* @__PURE__ */ N(cu, [["render", pu]]), fu = j({
7152
+ const mu = /* @__PURE__ */ N(fu, [["render", hu]]), gu = j({
7095
7153
  name: "content-styles",
7096
- components: { InlinedStyles: Fn },
7154
+ components: { InlinedStyles: Mn },
7097
7155
  props: ["cssCode", "contentId", "customFonts", "isNestedRender", "nonce"],
7098
7156
  data() {
7099
7157
  return {
7100
7158
  injectedStyles: `
7101
- ${su({
7159
+ ${uu({
7102
7160
  cssCode: this.cssCode,
7103
7161
  contentId: this.contentId
7104
7162
  })}
7105
- ${iu({
7163
+ ${lu({
7106
7164
  customFonts: this.customFonts
7107
7165
  })}
7108
- ${lu(this.isNestedRender)}
7166
+ ${pu(this.isNestedRender)}
7109
7167
  `.trim()
7110
7168
  };
7111
7169
  }
7112
7170
  });
7113
- function hu(e, t, n, r, o, i) {
7114
- const s = U("InlinedStyles");
7115
- return y(), V(s, {
7171
+ function yu(e, t, n, r, o, i) {
7172
+ const s = V("InlinedStyles");
7173
+ return y(), D(s, {
7116
7174
  id: "builderio-content",
7117
7175
  styles: e.injectedStyles,
7118
7176
  nonce: e.nonce
7119
7177
  }, null, 8, ["styles", "nonce"]);
7120
7178
  }
7121
- const mu = /* @__PURE__ */ N(fu, [["render", hu]]), gu = ({
7179
+ const vu = /* @__PURE__ */ N(gu, [["render", yu]]), bu = ({
7122
7180
  content: e,
7123
7181
  data: t,
7124
7182
  locale: n
@@ -7135,7 +7193,7 @@ const mu = /* @__PURE__ */ N(fu, [["render", hu]]), gu = ({
7135
7193
  locale: n
7136
7194
  } : {}
7137
7195
  };
7138
- }, yu = ({
7196
+ }, ku = ({
7139
7197
  content: e,
7140
7198
  data: t
7141
7199
  }) => e ? {
@@ -7145,12 +7203,12 @@ const mu = /* @__PURE__ */ N(fu, [["render", hu]]), gu = ({
7145
7203
  ...t
7146
7204
  },
7147
7205
  meta: e == null ? void 0 : e.meta
7148
- } : void 0, vu = Lo, bu = j({
7206
+ } : void 0, Su = Ho, Cu = j({
7149
7207
  name: "content-component",
7150
7208
  components: {
7151
- EnableEditor: du,
7152
- InlinedScript: wo,
7153
- ContentStyles: mu,
7209
+ EnableEditor: mu,
7210
+ InlinedScript: Co,
7211
+ ContentStyles: vu,
7154
7212
  Blocks: _e,
7155
7213
  DynamicDiv: St
7156
7214
  },
@@ -7180,32 +7238,32 @@ const mu = /* @__PURE__ */ N(fu, [["render", hu]]), gu = ({
7180
7238
  data() {
7181
7239
  var e, t;
7182
7240
  return {
7183
- scriptStr: Zl({
7241
+ scriptStr: tu({
7184
7242
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
7185
7243
  variationId: (e = this.content) == null ? void 0 : e.testVariationId,
7186
7244
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
7187
7245
  contentId: (t = this.content) == null ? void 0 : t.id
7188
7246
  }),
7189
7247
  registeredComponents: [
7190
- ...$r(),
7248
+ ...jr(),
7191
7249
  ...this.customComponents || []
7192
7250
  ].reduce(
7193
7251
  (n, { component: r, ...o }) => ({
7194
7252
  ...n,
7195
7253
  [o.name]: {
7196
- component: vu(r),
7254
+ component: Su(r),
7197
7255
  ...Bt(o)
7198
7256
  }
7199
7257
  }),
7200
7258
  {}
7201
7259
  ),
7202
7260
  builderContextSignal: {
7203
- content: yu({
7261
+ content: ku({
7204
7262
  content: this.content,
7205
7263
  data: this.data
7206
7264
  }),
7207
7265
  localState: void 0,
7208
- rootState: gu({
7266
+ rootState: bu({
7209
7267
  content: this.content,
7210
7268
  data: this.data,
7211
7269
  locale: this.locale
@@ -7216,7 +7274,7 @@ const mu = /* @__PURE__ */ N(fu, [["render", hu]]), gu = ({
7216
7274
  apiKey: this.apiKey,
7217
7275
  apiVersion: this.apiVersion,
7218
7276
  componentInfos: [
7219
- ...$r(),
7277
+ ...jr(),
7220
7278
  ...this.customComponents || []
7221
7279
  ].reduce(
7222
7280
  (n, { component: r, ...o }) => ({
@@ -7237,7 +7295,7 @@ const mu = /* @__PURE__ */ N(fu, [["render", hu]]), gu = ({
7237
7295
  provide() {
7238
7296
  const e = this;
7239
7297
  return {
7240
- [Br.key]: {
7298
+ [Dr.key]: {
7241
7299
  registeredComponents: e.registeredComponents
7242
7300
  }
7243
7301
  };
@@ -7265,9 +7323,9 @@ const mu = /* @__PURE__ */ N(fu, [["render", hu]]), gu = ({
7265
7323
  }
7266
7324
  }
7267
7325
  });
7268
- function ku(e, t, n, r, o, i) {
7269
- const s = U("InlinedScript"), u = U("ContentStyles"), p = U("Blocks"), m = U("EnableEditor");
7270
- return y(), V(m, z({
7326
+ function wu(e, t, n, r, o, i) {
7327
+ const s = V("InlinedScript"), u = V("ContentStyles"), p = V("Blocks"), m = V("EnableEditor");
7328
+ return y(), D(m, q({
7271
7329
  apiHost: e.apiHost,
7272
7330
  nonce: e.nonce,
7273
7331
  content: e.content,
@@ -7286,22 +7344,22 @@ function ku(e, t, n, r, o, i) {
7286
7344
  isNestedRender: e.isNestedRender
7287
7345
  }, {}), {
7288
7346
  default: Ie(() => {
7289
- var b, v, g, T, D, O, Z;
7347
+ var b, v, g, T, U, O, Z;
7290
7348
  return [
7291
- e.isSsrAbTest ? (y(), V(s, {
7349
+ e.isSsrAbTest ? (y(), D(s, {
7292
7350
  key: 0,
7293
7351
  id: "builderio-variant-visibility",
7294
7352
  scriptStr: e.scriptStr,
7295
7353
  nonce: e.nonce || ""
7296
- }, null, 8, ["scriptStr", "nonce"])) : L("", !0),
7297
- e.TARGET !== "reactNative" ? (y(), V(u, {
7354
+ }, null, 8, ["scriptStr", "nonce"])) : M("", !0),
7355
+ e.TARGET !== "reactNative" ? (y(), D(u, {
7298
7356
  key: 1,
7299
7357
  nonce: e.nonce || "",
7300
7358
  isNestedRender: e.isNestedRender,
7301
7359
  contentId: (b = e.builderContextSignal.content) == null ? void 0 : b.id,
7302
7360
  cssCode: (g = (v = e.builderContextSignal.content) == null ? void 0 : v.data) == null ? void 0 : g.cssCode,
7303
- customFonts: (D = (T = e.builderContextSignal.content) == null ? void 0 : T.data) == null ? void 0 : D.customFonts
7304
- }, null, 8, ["nonce", "isNestedRender", "contentId", "cssCode", "customFonts"])) : L("", !0),
7361
+ customFonts: (U = (T = e.builderContextSignal.content) == null ? void 0 : T.data) == null ? void 0 : U.customFonts
7362
+ }, null, 8, ["nonce", "isNestedRender", "contentId", "cssCode", "customFonts"])) : M("", !0),
7305
7363
  se(p, {
7306
7364
  blocks: (Z = (O = e.builderContextSignal.content) == null ? void 0 : O.data) == null ? void 0 : Z.blocks,
7307
7365
  context: e.builderContextSignal,
@@ -7313,12 +7371,12 @@ function ku(e, t, n, r, o, i) {
7313
7371
  _: 1
7314
7372
  }, 16, ["apiHost", "nonce", "content", "data", "model", "context", "apiKey", "canTrack", "locale", "enrich", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps", "trustedHosts", "isNestedRender"]);
7315
7373
  }
7316
- const Su = /* @__PURE__ */ N(bu, [["render", ku]]), Cu = j({
7374
+ const Eu = /* @__PURE__ */ N(Cu, [["render", wu]]), Tu = j({
7317
7375
  name: "content-variants",
7318
7376
  components: {
7319
- InlinedScript: wo,
7320
- InlinedStyles: Fn,
7321
- ContentComponent: Su
7377
+ InlinedScript: Co,
7378
+ InlinedStyles: Mn,
7379
+ ContentComponent: Eu
7322
7380
  },
7323
7381
  props: [
7324
7382
  "canTrack",
@@ -7343,12 +7401,12 @@ const Su = /* @__PURE__ */ N(bu, [["render", ku]]), Cu = j({
7343
7401
  ],
7344
7402
  data() {
7345
7403
  return {
7346
- shouldRenderVariants: _l({
7404
+ shouldRenderVariants: Yl({
7347
7405
  canTrack: yt(this.canTrack),
7348
7406
  content: this.content
7349
7407
  }),
7350
7408
  TARGET: re,
7351
- getInitVariantsFnsScriptString: Xl,
7409
+ getInitVariantsFnsScriptString: Ql,
7352
7410
  getVariants: Pt
7353
7411
  };
7354
7412
  },
@@ -7357,7 +7415,7 @@ const Su = /* @__PURE__ */ N(bu, [["render", ku]]), Cu = j({
7357
7415
  computed: {
7358
7416
  updateCookieAndStylesScriptStr() {
7359
7417
  var e;
7360
- return Yl(
7418
+ return eu(
7361
7419
  Pt(this.content).map((t) => ({
7362
7420
  id: t.testVariationId,
7363
7421
  testRatio: t.testRatio
@@ -7373,22 +7431,22 @@ const Su = /* @__PURE__ */ N(bu, [["render", ku]]), Cu = j({
7373
7431
  return this.shouldRenderVariants ? {
7374
7432
  ...this.content,
7375
7433
  testVariationId: (e = this.content) == null ? void 0 : e.id
7376
- } : ds({
7434
+ } : hs({
7377
7435
  item: this.content,
7378
7436
  canTrack: yt(this.canTrack)
7379
7437
  });
7380
7438
  }
7381
7439
  }
7382
7440
  });
7383
- function wu(e, t, n, r, o, i) {
7384
- const s = U("InlinedScript"), u = U("InlinedStyles"), p = U("ContentComponent");
7441
+ function Iu(e, t, n, r, o, i) {
7442
+ const s = V("InlinedScript"), u = V("InlinedStyles"), p = V("ContentComponent");
7385
7443
  return y(), I(X, null, [
7386
- !e.isNestedRender && e.TARGET !== "reactNative" ? (y(), V(s, {
7444
+ !e.isNestedRender && e.TARGET !== "reactNative" ? (y(), D(s, {
7387
7445
  key: 0,
7388
7446
  id: "builderio-init-variants-fns",
7389
7447
  scriptStr: e.getInitVariantsFnsScriptString(),
7390
7448
  nonce: e.nonce || ""
7391
- }, null, 8, ["scriptStr", "nonce"])) : L("", !0),
7449
+ }, null, 8, ["scriptStr", "nonce"])) : M("", !0),
7392
7450
  e.shouldRenderVariants ? (y(), I(X, { key: 1 }, [
7393
7451
  se(u, {
7394
7452
  id: "builderio-variants",
@@ -7400,7 +7458,7 @@ function wu(e, t, n, r, o, i) {
7400
7458
  scriptStr: e.updateCookieAndStylesScriptStr,
7401
7459
  nonce: e.nonce || ""
7402
7460
  }, null, 8, ["scriptStr", "nonce"]),
7403
- (y(!0), I(X, null, Ee(e.getVariants(e.content), (m, b) => (y(), V(p, z({
7461
+ (y(!0), I(X, null, Ee(e.getVariants(e.content), (m, b) => (y(), D(p, q({
7404
7462
  key: m.testVariationId,
7405
7463
  apiHost: e.apiHost,
7406
7464
  isNestedRender: e.isNestedRender,
@@ -7424,8 +7482,8 @@ function wu(e, t, n, r, o, i) {
7424
7482
  contentWrapperProps: e.contentWrapperProps,
7425
7483
  trustedHosts: e.trustedHosts
7426
7484
  }, {}), null, 16, ["apiHost", "isNestedRender", "nonce", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"]))), 128))
7427
- ], 64)) : L("", !0),
7428
- se(p, z({
7485
+ ], 64)) : M("", !0),
7486
+ se(p, q({
7429
7487
  apiHost: e.apiHost,
7430
7488
  nonce: e.nonce,
7431
7489
  isNestedRender: e.isNestedRender,
@@ -7452,13 +7510,13 @@ function wu(e, t, n, r, o, i) {
7452
7510
  }), null, 16, ["apiHost", "nonce", "isNestedRender", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"])
7453
7511
  ], 64);
7454
7512
  }
7455
- const Eu = /* @__PURE__ */ N(Cu, [["render", wu]]), Tu = async ({
7513
+ const xu = /* @__PURE__ */ N(Tu, [["render", Iu]]), Au = async ({
7456
7514
  builderContextValue: e,
7457
7515
  symbol: t
7458
7516
  }) => {
7459
7517
  if (t != null && t.model && // This is a hack, we should not need to check for this, but it is needed for Svelte.
7460
7518
  (e != null && e.apiKey))
7461
- return Vn({
7519
+ return Fn({
7462
7520
  model: t.model,
7463
7521
  apiKey: e.apiKey,
7464
7522
  apiVersion: e.apiVersion,
@@ -7470,9 +7528,9 @@ const Eu = /* @__PURE__ */ N(Cu, [["render", wu]]), Tu = async ({
7470
7528
  }).catch((n) => {
7471
7529
  ue.error("Could not fetch symbol content: ", n);
7472
7530
  });
7473
- }, Iu = j({
7531
+ }, Ru = j({
7474
7532
  name: "builder-symbol",
7475
- components: { ContentVariants: Eu, DynamicDiv: St },
7533
+ components: { ContentVariants: xu, DynamicDiv: St },
7476
7534
  props: [
7477
7535
  "symbol",
7478
7536
  "attributes",
@@ -7521,7 +7579,7 @@ const Eu = /* @__PURE__ */ N(Cu, [["render", wu]]), Tu = async ({
7521
7579
  },
7522
7580
  methods: {
7523
7581
  setContent() {
7524
- this.contentToUse || Tu({
7582
+ this.contentToUse || Au({
7525
7583
  symbol: this.symbol,
7526
7584
  builderContextValue: this.builderContext
7527
7585
  }).then((e) => {
@@ -7530,10 +7588,10 @@ const Eu = /* @__PURE__ */ N(Cu, [["render", wu]]), Tu = async ({
7530
7588
  }
7531
7589
  }
7532
7590
  });
7533
- function xu(e, t, n, r, o, i) {
7591
+ function $u(e, t, n, r, o, i) {
7534
7592
  var u, p, m, b, v;
7535
- const s = U("ContentVariants");
7536
- return y(), I("div", z({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, de(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
7593
+ const s = V("ContentVariants");
7594
+ return y(), I("div", q({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, de(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
7537
7595
  se(s, {
7538
7596
  nonce: e.builderContext.nonce,
7539
7597
  isNestedRender: !0,
@@ -7558,44 +7616,45 @@ function xu(e, t, n, r, o, i) {
7558
7616
  }, null, 8, ["nonce", "apiVersion", "apiKey", "context", "customComponents", "data", "canTrack", "model", "content", "linkComponent", "blocksWrapper", "contentWrapper"])
7559
7617
  ], 16);
7560
7618
  }
7561
- const Ru = /* @__PURE__ */ N(Iu, [["render", xu]]);
7619
+ const Pu = /* @__PURE__ */ N(Ru, [["render", $u]]);
7562
7620
  export {
7563
- Es as A,
7564
- vo as B,
7565
- na as C,
7566
- Vn as D,
7567
- $u as E,
7568
- ia as F,
7569
- Vu as G,
7570
- fa as I,
7571
- ga as S,
7621
+ Is as A,
7622
+ ko as B,
7623
+ ia as C,
7624
+ xs as D,
7625
+ Fn as E,
7626
+ la as F,
7627
+ ju as G,
7628
+ Mu as H,
7629
+ ga as I,
7630
+ ba as S,
7572
7631
  re as T,
7573
- Kl as V,
7574
- Fn as _,
7575
- Nu as a,
7576
- Uu as b,
7632
+ ql as V,
7633
+ Mn as _,
7634
+ Fu as a,
7635
+ Lu as b,
7577
7636
  je as c,
7578
- Un as d,
7637
+ Wn as d,
7579
7638
  N as e,
7580
7639
  kt as f,
7581
- Zs as g,
7582
- Du as h,
7640
+ ta as g,
7641
+ Wu as h,
7583
7642
  Ot as i,
7584
7643
  fn as j,
7585
- _o as k,
7586
- Ru as l,
7587
- Ka as m,
7644
+ Xo as k,
7645
+ Pu as l,
7646
+ qa as m,
7588
7647
  _e as n,
7589
- Eu as o,
7648
+ xu as o,
7590
7649
  ie as p,
7591
- qr as q,
7592
- Fi as r,
7593
- Li as s,
7594
- Pu as t,
7595
- _r as u,
7596
- Ou as v,
7597
- vu as w,
7598
- ju as x,
7599
- Bu as y,
7600
- ws as z
7650
+ Xr as q,
7651
+ Mi as r,
7652
+ Du as s,
7653
+ Hi as t,
7654
+ Bu as u,
7655
+ Yr as v,
7656
+ Su as w,
7657
+ Nu as x,
7658
+ Uu as y,
7659
+ Vu as z
7601
7660
  };