@builder.io/sdk-vue 5.2.3 → 5.2.4

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 (65) hide show
  1. package/lib/browser/{awaiter-0ES-HtKy.cjs → awaiter-4bKOAzti.cjs} +1 -1
  2. package/lib/browser/{awaiter-TGpflqNO.js → awaiter-q_DSjMVD.js} +1 -1
  3. package/lib/browser/{block-wrapper-6JBj9wlj.cjs → block-wrapper-Q-de2c75.cjs} +1 -1
  4. package/lib/browser/{block-wrapper-M2woB-L4.js → block-wrapper-YNVEwJsu.js} +3 -3
  5. package/lib/browser/{component-ref-TmVziQMC.cjs → component-ref-YeF1fWsm.cjs} +1 -1
  6. package/lib/browser/{component-ref-7xUvXH6j.js → component-ref-watkJI0h.js} +4 -4
  7. package/lib/browser/constants/sdk-version.d.ts +1 -1
  8. package/lib/browser/{get-block-properties-IPH_xTi-.js → get-block-properties-DvyFZA6k.js} +1 -1
  9. package/lib/browser/{get-block-properties-2RZMZvVf.cjs → get-block-properties-Q4RE1NYS.cjs} +1 -1
  10. package/lib/browser/{index-bHeXSwpO.js → index-DfB3iR8x.js} +208 -200
  11. package/lib/browser/{index-yGDaT-4c.cjs → index-U5K993_E.cjs} +32 -24
  12. package/lib/browser/index.cjs +1 -1
  13. package/lib/browser/index.mjs +1 -1
  14. package/lib/browser/{live-edit-ncQFzx-S.js → live-edit-9dPB7jWd.js} +1 -1
  15. package/lib/browser/{live-edit-zea3UB3U.cjs → live-edit-naKnBygx.cjs} +1 -1
  16. package/lib/browser/{repeated-block-Mk8O3Rpy.js → repeated-block-B84MBN4t.js} +2 -2
  17. package/lib/browser/{repeated-block-6Car73NY.cjs → repeated-block-BQB7dngl.cjs} +1 -1
  18. package/lib/browser/{style-wrapper-r-s-if-A.js → style-wrapper-1pU2q-Nj.js} +1 -1
  19. package/lib/browser/{style-wrapper-5rtVLsI3.cjs → style-wrapper-dtKxKeZ0.cjs} +1 -1
  20. package/lib/browser/style.css +1 -1
  21. package/lib/edge/{awaiter-S6rT9Vve.cjs → awaiter-HFBt_OAF.cjs} +1 -1
  22. package/lib/edge/{awaiter-rfhkeWZf.js → awaiter-n-gIbP8r.js} +1 -1
  23. package/lib/{node/block-wrapper-1Y-CVNTM.cjs → edge/block-wrapper-Bu7g5EV_.cjs} +1 -1
  24. package/lib/edge/{block-wrapper-C8-WoYjv.js → block-wrapper-fPMgU7lR.js} +3 -3
  25. package/lib/edge/{component-ref-Gc_mK-yZ.cjs → component-ref-4wKEKXCt.cjs} +1 -1
  26. package/lib/edge/{component-ref-u0-6ifHM.js → component-ref-JHSTjcJx.js} +4 -4
  27. package/lib/edge/constants/sdk-version.d.ts +1 -1
  28. package/lib/edge/{get-block-properties-YVTdp4N_.cjs → get-block-properties--14I0FqA.cjs} +1 -1
  29. package/lib/edge/{get-block-properties-HX4IkuJ7.js → get-block-properties-5Wxv-oHg.js} +1 -1
  30. package/lib/edge/{index-Ep-06GOr.cjs → index-78yK7PsD.cjs} +33 -25
  31. package/lib/edge/{index-z9siWBN1.js → index-_fUTINXy.js} +366 -358
  32. package/lib/edge/index.cjs +1 -1
  33. package/lib/edge/index.mjs +1 -1
  34. package/lib/{node/live-edit-k8OIvz20.js → edge/live-edit-9xqNMwhC.js} +1 -1
  35. package/lib/{node/live-edit-YzqrW2ZO.cjs → edge/live-edit-nbVPESOp.cjs} +1 -1
  36. package/lib/edge/{repeated-block-e-bO_PW3.js → repeated-block-F75iqpVr.js} +2 -2
  37. package/lib/edge/{repeated-block-QAF0iXDX.cjs → repeated-block-nCuqUDP7.cjs} +1 -1
  38. package/lib/edge/{style-wrapper-IpBgNlUT.cjs → style-wrapper-rVAWy7o_.cjs} +1 -1
  39. package/lib/edge/{style-wrapper-UVIpB1x8.js → style-wrapper-w933365M.js} +1 -1
  40. package/lib/edge/style.css +1 -1
  41. package/lib/node/{awaiter-o04icQ1E.cjs → awaiter-MgDlcUHI.cjs} +1 -1
  42. package/lib/node/{awaiter-iuox8UDW.js → awaiter-aepEb5fm.js} +1 -1
  43. package/lib/{edge/block-wrapper-SyvaobbZ.cjs → node/block-wrapper-3kiJne4m.cjs} +1 -1
  44. package/lib/node/{block-wrapper-Lg6Dv_gm.js → block-wrapper-sEviqhU3.js} +3 -3
  45. package/lib/node/{component-ref-k5AyvYBo.cjs → component-ref-6kTApMRL.cjs} +1 -1
  46. package/lib/node/{component-ref-MVFxzC_h.js → component-ref-TyXWBWEx.js} +5 -5
  47. package/lib/node/constants/sdk-version.d.ts +1 -1
  48. package/lib/node/{get-block-properties-Kb0sj2FV.cjs → get-block-properties-3uCiF9Qm.cjs} +1 -1
  49. package/lib/node/{get-block-properties-Rq2VRXzM.js → get-block-properties-NjyNQiag.js} +2 -2
  50. package/lib/node/{index-yxMSSBrC.cjs → index-9WZ86cun.cjs} +27 -19
  51. package/lib/node/{index-9hkAOr_P.js → index-YYQAkk5S.js} +208 -200
  52. package/lib/node/index.cjs +1 -1
  53. package/lib/node/index.mjs +2 -2
  54. package/lib/node/init.cjs +1 -1
  55. package/lib/node/init.mjs +1 -1
  56. package/lib/{edge/live-edit-nkpalAUa.cjs → node/live-edit-267vHpIq.cjs} +1 -1
  57. package/lib/{edge/live-edit-XsT9ZiMs.js → node/live-edit-U9pCBdly.js} +1 -1
  58. package/lib/node/{repeated-block-0laikCiE.cjs → repeated-block-BfYZqoE0.cjs} +1 -1
  59. package/lib/node/{repeated-block-km0tNI0j.js → repeated-block-f2s-IUoM.js} +2 -2
  60. package/lib/node/{should-force-browser-runtime-in-node-o843UKK7.js → should-force-browser-runtime-in-node-HsyT-bd2.js} +1 -1
  61. package/lib/node/{should-force-browser-runtime-in-node-HK08_EA6.cjs → should-force-browser-runtime-in-node-yK_d4v-W.cjs} +1 -1
  62. package/lib/node/{style-wrapper-tc5B1slA.js → style-wrapper-MJzB79lB.js} +2 -2
  63. package/lib/node/{style-wrapper-O4HZcJNK.cjs → style-wrapper-vHL9MNhi.cjs} +1 -1
  64. package/lib/node/style.css +1 -1
  65. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- import { defineComponent as y, openBlock as d, createElementBlock as h, Fragment as w, createBlock as S, resolveDynamicComponent as Y, mergeProps as I, toHandlers as O, withCtx as x, renderSlot as V, resolveComponent as k, createTextVNode as St, toDisplayString as le, defineAsyncComponent as Q, createVNode as $, renderList as F, createCommentVNode as C, h as Me, createElementVNode as z, normalizeStyle as M, normalizeClass as Z, markRaw as kt } from "vue";
2
- import { T as R, g as Ct, f as Tt, i as E, s as wt, r as It, p as $t, a as Rt, l as L, b as qe, c as ye, d as Et, n as je, S as Pt, e as ve, h as re, j as At, k as ze, m as Bt, o as A, q as Ke, _ as Ae } from "./should-force-browser-runtime-in-node-o843UKK7.js";
1
+ import { defineComponent as y, openBlock as d, createElementBlock as h, Fragment as w, createBlock as S, resolveDynamicComponent as Y, mergeProps as I, toHandlers as O, withCtx as x, renderSlot as V, resolveComponent as k, createTextVNode as St, toDisplayString as le, defineAsyncComponent as Q, createVNode as $, renderList as F, createCommentVNode as C, h as ze, createElementVNode as z, normalizeStyle as M, normalizeClass as Z, markRaw as kt } from "vue";
2
+ import { T as R, g as Ct, f as Tt, i as E, s as wt, r as It, p as $t, a as Rt, l as L, b as Ke, c as Se, d as Et, n as Ge, S as Pt, e as ke, h as re, j as At, k as Je, m as Bt, o as A, q as Qe, _ as Ne } from "./should-force-browser-runtime-in-node-HsyT-bd2.js";
3
3
  const Vt = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), Nt = (e) => typeof e == "string" && Vt.has(e.toLowerCase());
4
4
  function N(e = {}, t, n) {
5
5
  const o = {};
@@ -38,10 +38,10 @@ function Dt(e, t, n, o, r, i) {
38
38
  }, 16))
39
39
  ], 64));
40
40
  }
41
- const Se = /* @__PURE__ */ v(Wt, [["render", Dt]]), Ji = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
41
+ const Ce = /* @__PURE__ */ v(Wt, [["render", Dt]]), Ji = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
42
42
  __proto__: null,
43
- default: Se
44
- }, Symbol.toStringTag, { value: "Module" })), q = () => {
43
+ default: Ce
44
+ }, Symbol.toStringTag, { value: "Module" })), j = () => {
45
45
  switch (R) {
46
46
  case "react":
47
47
  case "reactNative":
@@ -56,7 +56,7 @@ const Se = /* @__PURE__ */ v(Wt, [["render", Dt]]), Ji = /* @__PURE__ */ Object.
56
56
  }
57
57
  }, xt = y({
58
58
  name: "builder-button",
59
- components: { DynamicRenderer: Se },
59
+ components: { DynamicRenderer: Ce },
60
60
  props: [
61
61
  "attributes",
62
62
  "link",
@@ -71,7 +71,7 @@ const Se = /* @__PURE__ */ v(Wt, [["render", Dt]]), Ji = /* @__PURE__ */ Object.
71
71
  attrs() {
72
72
  return {
73
73
  ...N(this.attributes, "v-on:", !1),
74
- [q()]: `${this.link ? "" : "builder-button"} ${this.attributes[q()] || ""}`,
74
+ [j()]: `${this.link ? "" : "builder-button"} ${this.attributes[j()] || ""}`,
75
75
  ...this.link ? {
76
76
  href: this.link,
77
77
  target: this.openLinkInNewTab ? "_blank" : void 0,
@@ -114,10 +114,10 @@ const Ot = /* @__PURE__ */ v(xt, [["render", Ut]]), Ft = Symbol(), he = {
114
114
  model: ""
115
115
  },
116
116
  key: Ft
117
- }, Lt = Symbol(), Ge = {
117
+ }, Lt = Symbol(), Ye = {
118
118
  Components: { registeredComponents: {} },
119
119
  key: Lt
120
- }, Je = (e, t, n) => {
120
+ }, Xe = (e, t, n) => {
121
121
  const o = String.prototype.split.call(t, /[,[\].]+?/).filter(Boolean).reduce((r, i) => r != null ? r[i] : r, e);
122
122
  return o === void 0 || o === e ? n : o;
123
123
  }, Ht = ({
@@ -142,9 +142,9 @@ const Ot = /* @__PURE__ */ v(xt, [["render", Ut]]), Ft = Symbol(), he = {
142
142
  return new Function(...l.map(([a]) => a), e)(...l.map(([, a]) => a));
143
143
  }, Mt = (e) => E() || wt({
144
144
  shouldLogWarning: !0
145
- }) ? Ht(e) : It(e), qt = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, jt = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, zt = (e) => {
145
+ }) ? Ht(e) : It(e), jt = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, qt = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, zt = (e) => {
146
146
  var t, n, o, r, i, s;
147
- return ((o = (n = (t = qt.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : o.slice(1)) || ((s = (i = (r = jt.exec(e.trim())) == null ? void 0 : r.groups) == null ? void 0 : i.getPath) == null ? void 0 : s.slice(1));
147
+ return ((o = (n = (t = jt.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : o.slice(1)) || ((s = (i = (r = qt.exec(e.trim())) == null ? void 0 : r.groups) == null ? void 0 : i.getPath) == null ? void 0 : s.slice(1));
148
148
  };
149
149
  function _({
150
150
  code: e,
@@ -160,7 +160,7 @@ function _({
160
160
  return;
161
161
  const a = zt(e.trim());
162
162
  if (a)
163
- return Je({
163
+ return Xe({
164
164
  ...o,
165
165
  ...n
166
166
  }, a);
@@ -229,7 +229,7 @@ function ie(e, t, n = null, o = null, r = /* @__PURE__ */ new WeakSet()) {
229
229
  }), ie(s, t, e, i, r);
230
230
  }));
231
231
  }
232
- function Qe(e) {
232
+ function Ze(e) {
233
233
  return e && typeof e == "object" && e["@type"] === "@builder.io/core:LocalizedValue";
234
234
  }
235
235
  function Qt(e) {
@@ -237,7 +237,7 @@ function Qt(e) {
237
237
  return !1;
238
238
  let t = !1;
239
239
  return ie(e, (n) => {
240
- if (Qe(n)) {
240
+ if (Ze(n)) {
241
241
  t = !0;
242
242
  return;
243
243
  }
@@ -245,7 +245,7 @@ function Qt(e) {
245
245
  }
246
246
  function Yt(e, t) {
247
247
  return !e || !Object.getOwnPropertyNames(e).length ? {} : (ie(e, (n, o) => {
248
- Qe(n) && o(n[t] ?? void 0);
248
+ Ze(n) && o(n[t] ?? void 0);
249
249
  }), e);
250
250
  }
251
251
  function Xt(e, t) {
@@ -266,7 +266,7 @@ function fe(e) {
266
266
  }
267
267
  const Zt = ["svelte", "vue", "angular", "qwik", "solid"].includes(R), _t = (e) => {
268
268
  if (Zt) {
269
- const t = ye(e);
269
+ const t = Se(e);
270
270
  return {
271
271
  ...t,
272
272
  properties: {
@@ -308,7 +308,7 @@ const Zt = ["svelte", "vue", "angular", "qwik", "solid"].includes(R), _t = (e) =
308
308
  rootSetState: r,
309
309
  context: t
310
310
  });
311
- qe(i, s, a);
311
+ Ke(i, s, a);
312
312
  }
313
313
  return i;
314
314
  };
@@ -328,7 +328,7 @@ function tn({
328
328
  context: t
329
329
  }), i = Xt(i, o.locale), i;
330
330
  }
331
- function ke(e) {
331
+ function Te(e) {
332
332
  const t = e || (E() ? window.location.search : void 0);
333
333
  return t ? Et(t).indexOf("builder.preview=") !== -1 : !1;
334
334
  }
@@ -342,11 +342,11 @@ const nn = (e) => ({
342
342
  function se(e) {
343
343
  return JSON.parse(JSON.stringify(e, (t, n) => typeof n == "function" ? on(n) : n));
344
344
  }
345
- const Be = {};
345
+ const We = {};
346
346
  function Qi(e, t) {
347
347
  e === "plugin" && (t = se(t));
348
- let n = Be[e];
349
- if (n || (n = Be[e] = []), n.push(t), E()) {
348
+ let n = We[e];
349
+ if (n || (n = We[e] = []), n.push(t), E()) {
350
350
  const o = {
351
351
  type: "builder.register",
352
352
  data: {
@@ -371,24 +371,24 @@ function Yi(e) {
371
371
  }, "*");
372
372
  }
373
373
  }
374
- const Ve = {};
374
+ const De = {};
375
375
  function Xi(e) {
376
376
  if (E()) {
377
- Object.assign(Ve, e);
377
+ Object.assign(De, e);
378
378
  const t = {
379
379
  type: "builder.settingsChange",
380
- data: Ve
380
+ data: De
381
381
  };
382
382
  parent.postMessage(t, "*");
383
383
  }
384
384
  }
385
- const Ne = "builder.", rn = "options.", Ye = (e) => {
385
+ const xe = "builder.", rn = "options.", _e = (e) => {
386
386
  if (!e)
387
387
  return {};
388
- const t = je(e), n = {};
388
+ const t = Ge(e), n = {};
389
389
  return Object.keys(t).forEach((o) => {
390
- if (o.startsWith(Ne)) {
391
- const r = o.replace(Ne, "").replace(rn, "");
390
+ if (o.startsWith(xe)) {
391
+ const r = o.replace(xe, "").replace(rn, "");
392
392
  n[r] = t[o];
393
393
  }
394
394
  }), n;
@@ -396,18 +396,18 @@ const Ne = "builder.", rn = "options.", Ye = (e) => {
396
396
  if (!E())
397
397
  return {};
398
398
  const e = new URLSearchParams(window.location.search);
399
- return Ye(e);
399
+ return _e(e);
400
400
  }, an = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
401
- function Xe(e, t) {
401
+ function et(e, t) {
402
402
  if (!t.origin.startsWith("http") && !t.origin.startsWith("https"))
403
403
  return !1;
404
404
  const n = new URL(t.origin), o = n.hostname;
405
405
  return (e || an).findIndex((r) => r.startsWith("*.") ? o.endsWith(r.slice(1)) : r === o) > -1;
406
406
  }
407
- let We = !1;
408
- const Ze = (e) => {
407
+ let Ue = !1;
408
+ const tt = (e) => {
409
409
  var t, n;
410
- We || (We = !0, E() && ((t = window.parent) == null || t.postMessage({
410
+ Ue || (Ue = !0, E() && ((t = window.parent) == null || t.postMessage({
411
411
  type: "builder.sdkInfo",
412
412
  data: {
413
413
  target: R,
@@ -429,7 +429,7 @@ const Ze = (e) => {
429
429
  }
430
430
  }, "*"), window.addEventListener("message", (o) => {
431
431
  var i, s;
432
- if (!Xe(e.trustedHosts, o))
432
+ if (!et(e.trustedHosts, o))
433
433
  return;
434
434
  const {
435
435
  data: r
@@ -470,12 +470,12 @@ const Ze = (e) => {
470
470
  }
471
471
  }
472
472
  })));
473
- }, _e = ({
473
+ }, nt = ({
474
474
  model: e,
475
475
  trustedHosts: t,
476
476
  callbacks: n
477
477
  }) => (o) => {
478
- if (!Xe(t, o))
478
+ if (!et(t, o))
479
479
  return;
480
480
  const {
481
481
  data: r
@@ -510,11 +510,11 @@ const Ze = (e) => {
510
510
  if (!E)
511
511
  return L.warn("`subscribeToEditor` only works in the browser. It currently seems to be running on the server."), () => {
512
512
  };
513
- Ze({
513
+ tt({
514
514
  modelName: e,
515
515
  apiKey: t
516
516
  });
517
- const r = _e({
517
+ const r = nt({
518
518
  callbacks: {
519
519
  contentUpdate: n,
520
520
  animation: () => {
@@ -530,24 +530,24 @@ const Ze = (e) => {
530
530
  return window.addEventListener("message", r), () => {
531
531
  window.removeEventListener("message", r);
532
532
  };
533
- }, ln = "builder.tests", Ce = (e) => `${ln}.${e}`, cn = ({
533
+ }, ln = "builder.tests", we = (e) => `${ln}.${e}`, cn = ({
534
534
  contentId: e
535
535
  }) => At({
536
- name: Ce(e),
536
+ name: we(e),
537
537
  canTrack: !0
538
538
  }), dn = ({
539
539
  contentId: e
540
- }) => ve({
541
- name: Ce(e),
540
+ }) => ke({
541
+ name: we(e),
542
542
  canTrack: !0
543
543
  }), un = ({
544
544
  contentId: e,
545
545
  value: t
546
- }) => ze({
547
- name: Ce(e),
546
+ }) => Je({
547
+ name: we(e),
548
548
  value: t,
549
549
  canTrack: !0
550
- }), et = (e) => re(e.id) && re(e.variations) && Object.keys(e.variations).length > 0, pn = ({
550
+ }), ot = (e) => re(e.id) && re(e.variations) && Object.keys(e.variations).length > 0, pn = ({
551
551
  id: e,
552
552
  variations: t
553
553
  }) => {
@@ -560,7 +560,7 @@ const Ze = (e) => {
560
560
  return i;
561
561
  }
562
562
  return e;
563
- }, tt = (e) => {
563
+ }, rt = (e) => {
564
564
  const t = pn(e);
565
565
  return un({
566
566
  contentId: e.id,
@@ -568,7 +568,7 @@ const Ze = (e) => {
568
568
  }).catch((n) => {
569
569
  L.error("could not store A/B test variation: ", n);
570
570
  }), t;
571
- }, nt = ({
571
+ }, it = ({
572
572
  item: e,
573
573
  testGroupId: t
574
574
  }) => {
@@ -590,14 +590,14 @@ const Ze = (e) => {
590
590
  return e;
591
591
  if (!e)
592
592
  return;
593
- if (!et(e))
593
+ if (!ot(e))
594
594
  return e;
595
595
  const n = dn({
596
596
  contentId: e.id
597
- }) || tt({
597
+ }) || rt({
598
598
  variations: e.variations,
599
599
  id: e.id
600
- }), o = nt({
600
+ }), o = it({
601
601
  item: e,
602
602
  testGroupId: n
603
603
  });
@@ -609,14 +609,14 @@ const Ze = (e) => {
609
609
  item: e,
610
610
  canTrack: t
611
611
  }) => {
612
- if (!t || !et(e))
612
+ if (!t || !ot(e))
613
613
  return e;
614
614
  const o = await cn({
615
615
  contentId: e.id
616
- }) || tt({
616
+ }) || rt({
617
617
  variations: e.variations,
618
618
  id: e.id
619
- }), r = nt({
619
+ }), r = it({
620
620
  item: e,
621
621
  testGroupId: o
622
622
  });
@@ -625,8 +625,8 @@ const Ze = (e) => {
625
625
  ...r
626
626
  };
627
627
  };
628
- const De = "builder.userAttributes";
629
- function xe() {
628
+ const Oe = "builder.userAttributes";
629
+ function Fe() {
630
630
  let e = !0;
631
631
  const t = /* @__PURE__ */ new Set();
632
632
  return {
@@ -637,15 +637,15 @@ function xe() {
637
637
  ...this.getUserAttributes(),
638
638
  ...n
639
639
  };
640
- ze({
641
- name: De,
640
+ Je({
641
+ name: Oe,
642
642
  value: JSON.stringify(o),
643
643
  canTrack: e
644
644
  }), t.forEach((r) => r(o));
645
645
  },
646
646
  getUserAttributes() {
647
- return E() ? JSON.parse(ve({
648
- name: De,
647
+ return E() ? JSON.parse(ke({
648
+ name: Oe,
649
649
  canTrack: e
650
650
  }) || "{}") : {};
651
651
  },
@@ -662,7 +662,7 @@ function xe() {
662
662
  };
663
663
  }
664
664
  let be;
665
- E() && R === "qwik" ? (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ || (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ = xe()), be = window.__BUILDER_USER_ATTRIBUTES_SERVICE__) : be = xe();
665
+ E() && R === "qwik" ? (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ || (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ = Fe()), be = window.__BUILDER_USER_ATTRIBUTES_SERVICE__) : be = Fe();
666
666
  const ae = be, _i = (e) => {
667
667
  ae.setUserAttributes(e);
668
668
  }, K = (e) => {
@@ -692,10 +692,10 @@ function ge(e, t = null, n = ".") {
692
692
  };
693
693
  }, {});
694
694
  }
695
- function ot(e, t, n = {}) {
695
+ function st(e, t, n = {}) {
696
696
  for (const o in e) {
697
697
  const r = e[o], i = t ? t + "." + o : o;
698
- r && typeof r == "object" && !Array.isArray(r) && !Object.keys(r).find((s) => s.startsWith("$")) ? ot(r, i, n) : n[i] = r;
698
+ r && typeof r == "object" && !Array.isArray(r) && !Object.keys(r).find((s) => s.startsWith("$")) ? st(r, i, n) : n[i] = r;
699
699
  }
700
700
  return n;
701
701
  }
@@ -711,7 +711,7 @@ function yn(e) {
711
711
  }
712
712
  return t;
713
713
  }
714
- const vn = "v3", Ue = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Te = (e) => {
714
+ const vn = "v3", Le = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Ie = (e) => {
715
715
  const {
716
716
  limit: t = 30,
717
717
  userAttributes: n,
@@ -737,7 +737,7 @@ const vn = "v3", Ue = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Te = (
737
737
  const U = t !== 1, B = P || "https://cdn.builder.io", T = new URL(`${B}/api/${a}/content/${r}`);
738
738
  T.searchParams.set("apiKey", i), T.searchParams.set("limit", String(t)), T.searchParams.set("noTraverse", String(U)), T.searchParams.set("includeRefs", String(!0)), l && T.searchParams.set("locale", l);
739
739
  let W = n || {};
740
- if (s && T.searchParams.set("enrich", String(s)), T.searchParams.set("omit", p ?? "meta.componentsUsed"), u && T.searchParams.set("fields", u), Number.isFinite(f) && f > -1 && T.searchParams.set("offset", String(Math.floor(f))), typeof g == "boolean" && T.searchParams.set("includeUnpublished", String(g)), c && Ue(c) && T.searchParams.set("cacheSeconds", String(c)), m && Ue(m) && T.searchParams.set("staleCacheSeconds", String(m)), b) {
740
+ if (s && T.searchParams.set("enrich", String(s)), T.searchParams.set("omit", p ?? "meta.componentsUsed"), u && T.searchParams.set("fields", u), Number.isFinite(f) && f > -1 && T.searchParams.set("offset", String(Math.floor(f))), typeof g == "boolean" && T.searchParams.set("includeUnpublished", String(g)), c && Le(c) && T.searchParams.set("cacheSeconds", String(c)), m && Le(m) && T.searchParams.set("staleCacheSeconds", String(m)), b) {
741
741
  const D = ge({
742
742
  sort: b
743
743
  });
@@ -746,7 +746,7 @@ const vn = "v3", Ue = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Te = (
746
746
  }
747
747
  const G = {
748
748
  ...sn(),
749
- ...je(e.options || {})
749
+ ...Ge(e.options || {})
750
750
  };
751
751
  W = {
752
752
  ...W,
@@ -756,7 +756,7 @@ const vn = "v3", Ue = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Te = (
756
756
  for (const D in J)
757
757
  T.searchParams.set(D, String(J[D]));
758
758
  if (Object.keys(W).length > 0 && T.searchParams.set("userAttributes", JSON.stringify(W)), o) {
759
- const D = ot({
759
+ const D = st({
760
760
  query: o
761
761
  });
762
762
  for (const H in D)
@@ -778,7 +778,7 @@ const vn = "v3", Ue = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Te = (
778
778
  }
779
779
  return {};
780
780
  }, Cn = (e) => "results" in e;
781
- async function we(e) {
781
+ async function $e(e) {
782
782
  var o;
783
783
  const t = e.locale || ((o = e.userAttributes) == null ? void 0 : o.locale);
784
784
  t && (e.locale = t, e.userAttributes = {
@@ -793,7 +793,7 @@ async function we(e) {
793
793
  }
794
794
  const Tn = async (e) => {
795
795
  var s;
796
- const t = Te(e), n = e.fetch ?? gn, o = {
796
+ const t = Ie(e), n = e.fetch ?? gn, o = {
797
797
  ...e.fetchOptions,
798
798
  headers: {
799
799
  ...(s = e.fetchOptions) == null ? void 0 : s.headers,
@@ -801,7 +801,7 @@ const Tn = async (e) => {
801
801
  }
802
802
  };
803
803
  return await (await n(t.href, o)).json();
804
- }, wn = async (e, t, n = Te(e)) => {
804
+ }, wn = async (e, t, n = Ie(e)) => {
805
805
  const o = K(e.canTrack);
806
806
  if (n.search.includes("preview="), !o || !(E() || R === "reactNative"))
807
807
  return t.results;
@@ -819,7 +819,7 @@ const Tn = async (e) => {
819
819
  return t.results;
820
820
  };
821
821
  async function In(e) {
822
- const t = Te(e), n = await Tn(e);
822
+ const t = Ie(e), n = await Tn(e);
823
823
  if (!Cn(n))
824
824
  throw L.error("Error fetching data. ", {
825
825
  url: t,
@@ -840,14 +840,14 @@ const es = async (e) => {
840
840
  urlPath: t
841
841
  } : {}
842
842
  },
843
- options: Ye(e.searchParams || ((i = e.url) == null ? void 0 : i.searchParams) || e.options)
843
+ options: _e(e.searchParams || ((i = e.url) == null ? void 0 : i.searchParams) || e.options)
844
844
  };
845
845
  return {
846
846
  apiKey: n.apiKey,
847
847
  model: n.model,
848
- content: await we(n)
848
+ content: await $e(n)
849
849
  };
850
- }, Ie = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
850
+ }, Re = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
851
851
  function $n(e, t, n = {}) {
852
852
  let o, r, i, s = null, l = 0;
853
853
  const a = function() {
@@ -874,17 +874,17 @@ function Rn(e) {
874
874
  for (const t of e)
875
875
  switch (t.trigger) {
876
876
  case "pageLoad":
877
- st(t);
877
+ ct(t);
878
878
  break;
879
879
  case "scrollInView":
880
880
  Pn(t);
881
881
  break;
882
882
  }
883
883
  }
884
- function rt(e) {
884
+ function at(e) {
885
885
  console.warn(`Cannot animate element: element with ID ${e} not found!`);
886
886
  }
887
- function it(e, t) {
887
+ function lt(e, t) {
888
888
  const n = En(e), o = getComputedStyle(t), r = e.steps[0].styles, i = e.steps[e.steps.length - 1].styles, s = [r, i];
889
889
  for (const l of s)
890
890
  for (const a of n)
@@ -897,15 +897,15 @@ function En(e) {
897
897
  t.indexOf(o) === -1 && t.push(o);
898
898
  return t;
899
899
  }
900
- function st(e) {
900
+ function ct(e) {
901
901
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
902
902
  if (!t.length) {
903
- rt(e.elementId || e.id || "");
903
+ at(e.elementId || e.id || "");
904
904
  return;
905
905
  }
906
906
  Array.from(t).forEach((n) => {
907
- it(e, n), n.style.transition = "none", n.style.transitionDelay = "0", X(n.style, e.steps[0].styles), setTimeout(() => {
908
- n.style.transition = `all ${e.duration}s ${Ie(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), X(n.style, e.steps[1].styles), setTimeout(() => {
907
+ lt(e, n), n.style.transition = "none", n.style.transitionDelay = "0", X(n.style, e.steps[0].styles), setTimeout(() => {
908
+ n.style.transition = `all ${e.duration}s ${Re(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), X(n.style, e.steps[1].styles), setTimeout(() => {
909
909
  n.style.transition = "", n.style.transitionDelay = "";
910
910
  }, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
911
911
  });
@@ -914,11 +914,11 @@ function st(e) {
914
914
  function Pn(e) {
915
915
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
916
916
  if (!t.length) {
917
- rt(e.elementId || e.id || "");
917
+ at(e.elementId || e.id || "");
918
918
  return;
919
919
  }
920
920
  Array.from(t).forEach((n) => {
921
- it(e, n);
921
+ lt(e, n);
922
922
  let o = !1, r = !1;
923
923
  function i() {
924
924
  !o && l(n) ? (o = !0, r = !0, setTimeout(() => {
@@ -939,17 +939,17 @@ function Pn(e) {
939
939
  X(n.style, a);
940
940
  }
941
941
  u(), setTimeout(() => {
942
- n.style.transition = `all ${e.duration}s ${Ie(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
942
+ n.style.transition = `all ${e.duration}s ${Re(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
943
943
  }), document.addEventListener("scroll", s, {
944
944
  capture: !0,
945
945
  passive: !0
946
946
  }), i();
947
947
  });
948
948
  }
949
- const at = (e) => Object.entries(e).map(([n, o]) => {
949
+ const dt = (e) => Object.entries(e).map(([n, o]) => {
950
950
  if (typeof o == "string")
951
- return `${Ie(n)}: ${o};`;
952
- }).filter(re), An = (e) => at(e).join(`
951
+ return `${Re(n)}: ${o};`;
952
+ }).filter(re), An = (e) => dt(e).join(`
953
953
  `), ts = ({
954
954
  mediaQuery: e,
955
955
  className: t,
@@ -970,18 +970,18 @@ function Bn({
970
970
  const ns = ({
971
971
  block: e,
972
972
  context: t
973
- }) => lt(Bn({
973
+ }) => ut(Bn({
974
974
  style: e.style || {},
975
975
  context: t,
976
976
  block: e
977
977
  }));
978
- function lt(e) {
978
+ function ut(e) {
979
979
  switch (R) {
980
980
  case "svelte":
981
981
  case "vue":
982
982
  case "solid":
983
983
  case "angular":
984
- return at(e).join(" ");
984
+ return dt(e).join(" ");
985
985
  case "qwik":
986
986
  case "reactNative":
987
987
  case "react":
@@ -989,7 +989,7 @@ function lt(e) {
989
989
  return e;
990
990
  }
991
991
  }
992
- const ct = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includes(t) : !1 : !0, Vn = ({
992
+ const pt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includes(t) : !1 : !0, Vn = ({
993
993
  block: e,
994
994
  registeredComponents: t,
995
995
  model: n
@@ -999,7 +999,7 @@ const ct = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
999
999
  if (!o)
1000
1000
  return null;
1001
1001
  const r = t[o];
1002
- if (!r || ct(r, n)) {
1002
+ if (!r || pt(r, n)) {
1003
1003
  console.warn(`
1004
1004
  Could not find a registered component named "${o}".
1005
1005
  If you registered it, is the file that registered it imported by the file that needs to render it?`);
@@ -1047,7 +1047,7 @@ const ct = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1047
1047
  }, Dn = (e, t, n) => {
1048
1048
  var o;
1049
1049
  return (o = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && o.builderComponents ? {
1050
- builderComponents: Object.fromEntries(Object.entries(t).filter(([i, s]) => !ct(s, n)))
1050
+ builderComponents: Object.fromEntries(Object.entries(t).filter(([i, s]) => !pt(s, n)))
1051
1051
  } : {};
1052
1052
  }, xn = (e, t) => {
1053
1053
  var n;
@@ -1064,30 +1064,30 @@ const ct = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1064
1064
  "Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
1065
1065
  e
1066
1066
  ), e;
1067
- }), Ln = () => import("./block-wrapper-Lg6Dv_gm.js").then((e) => e.default).catch((e) => {
1067
+ }), Ln = () => import("./block-wrapper-sEviqhU3.js").then((e) => e.default).catch((e) => {
1068
1068
  throw console.error(
1069
1069
  "Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
1070
1070
  e
1071
1071
  ), e;
1072
- }), Hn = () => import("./component-ref-MVFxzC_h.js").then((e) => e.default).catch((e) => {
1072
+ }), Hn = () => import("./component-ref-TyXWBWEx.js").then((e) => e.default).catch((e) => {
1073
1073
  throw console.error(
1074
1074
  "Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
1075
1075
  e
1076
1076
  ), e;
1077
- }), Mn = () => import("./repeated-block-km0tNI0j.js").then((e) => e.default).catch((e) => {
1077
+ }), Mn = () => import("./repeated-block-f2s-IUoM.js").then((e) => e.default).catch((e) => {
1078
1078
  throw console.error(
1079
1079
  "Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
1080
1080
  e
1081
1081
  ), e;
1082
- }), qn = () => import("./style-wrapper-tc5B1slA.js").then((e) => e.default).catch((e) => {
1082
+ }), jn = () => import("./style-wrapper-MJzB79lB.js").then((e) => e.default).catch((e) => {
1083
1083
  throw console.error(
1084
1084
  "Error while attempting to dynamically import component StyleWrapper at ./components/style-wrapper.vue",
1085
1085
  e
1086
1086
  ), e;
1087
- }), jn = y({
1087
+ }), qn = y({
1088
1088
  name: "block",
1089
1089
  components: {
1090
- StyleWrapper: Q(qn),
1090
+ StyleWrapper: Q(jn),
1091
1091
  RepeatedBlock: Q(Mn),
1092
1092
  ComponentRef: Q(Hn),
1093
1093
  BlockWrapper: Q(Ln),
@@ -1245,9 +1245,9 @@ function zn(e, t, n, o, r, i) {
1245
1245
  ], 64))
1246
1246
  ], 64)) : C("", !0);
1247
1247
  }
1248
- const dt = /* @__PURE__ */ v(jn, [["render", zn]]), os = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1248
+ const mt = /* @__PURE__ */ v(qn, [["render", zn]]), os = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1249
1249
  __proto__: null,
1250
- default: dt
1250
+ default: mt
1251
1251
  }, Symbol.toStringTag, { value: "Module" })), Kn = y({
1252
1252
  name: "builder-blocks-wrapper",
1253
1253
  props: [
@@ -1337,7 +1337,7 @@ function Gn(e, t, n, o, r, i) {
1337
1337
  }
1338
1338
  const Jn = /* @__PURE__ */ v(Kn, [["render", Gn], ["__scopeId", "data-v-82fc93d6"]]), Qn = y({
1339
1339
  name: "builder-blocks",
1340
- components: { BlocksWrapper: Jn, Block: dt },
1340
+ components: { BlocksWrapper: Jn, Block: mt },
1341
1341
  props: [
1342
1342
  "blocks",
1343
1343
  "parent",
@@ -1351,7 +1351,7 @@ const Jn = /* @__PURE__ */ v(Kn, [["render", Gn], ["__scopeId", "data-v-82fc93d6
1351
1351
  ],
1352
1352
  inject: {
1353
1353
  builderContext: he.key,
1354
- componentsContext: Ge.key
1354
+ componentsContext: Ye.key
1355
1355
  }
1356
1356
  });
1357
1357
  function Yn(e, t, n, o, r, i) {
@@ -1382,7 +1382,7 @@ function Yn(e, t, n, o, r, i) {
1382
1382
  _: 3
1383
1383
  }, 8, ["blocks", "parent", "path", "styleProp", "BlocksWrapperProps", "classNameProp", "BlocksWrapper"]);
1384
1384
  }
1385
- const j = /* @__PURE__ */ v(Qn, [["render", Yn]]), Xn = y({
1385
+ const q = /* @__PURE__ */ v(Qn, [["render", Yn]]), Xn = y({
1386
1386
  name: "dynamic-div",
1387
1387
  props: []
1388
1388
  });
@@ -1396,7 +1396,7 @@ const ee = /* @__PURE__ */ v(Xn, [["render", Zn]]), _n = /* @__PURE__ */ Object.
1396
1396
  default: ee
1397
1397
  }, Symbol.toStringTag, { value: "Module" })), ce = y({
1398
1398
  render() {
1399
- return Me("style", {
1399
+ return ze("style", {
1400
1400
  innerHTML: this.styles,
1401
1401
  "data-id": this.id,
1402
1402
  nonce: this.nonce
@@ -1404,7 +1404,7 @@ const ee = /* @__PURE__ */ v(Xn, [["render", Zn]]), _n = /* @__PURE__ */ Object.
1404
1404
  },
1405
1405
  name: "inlined-styles",
1406
1406
  props: ["styles", "id", "nonce"]
1407
- }), ut = {
1407
+ }), ht = {
1408
1408
  xsmall: {
1409
1409
  min: 0,
1410
1410
  default: 160,
@@ -1425,8 +1425,8 @@ const ee = /* @__PURE__ */ v(Xn, [["render", Zn]]), _n = /* @__PURE__ */ Object.
1425
1425
  default: 991,
1426
1426
  max: 1200
1427
1427
  }
1428
- }, rs = (e, t = ut) => `@media (max-width: ${t[e].max}px)`, eo = (e) => {
1429
- const t = ye(ut);
1428
+ }, rs = (e, t = ht) => `@media (max-width: ${t[e].max}px)`, eo = (e) => {
1429
+ const t = Se(ht);
1430
1430
  if (!e)
1431
1431
  return t;
1432
1432
  const {
@@ -1467,8 +1467,8 @@ const ee = /* @__PURE__ */ v(Xn, [["render", Zn]]), _n = /* @__PURE__ */ Object.
1467
1467
  name: "builder-columns",
1468
1468
  components: {
1469
1469
  InlinedStyles: ce,
1470
- DynamicRenderer: Se,
1471
- Blocks: j,
1470
+ DynamicRenderer: Ce,
1471
+ Blocks: q,
1472
1472
  DynamicDiv: ee
1473
1473
  },
1474
1474
  props: [
@@ -1598,8 +1598,8 @@ const ee = /* @__PURE__ */ v(Xn, [["render", Zn]]), _n = /* @__PURE__ */ Object.
1598
1598
  ...e.link ? {
1599
1599
  href: e.link
1600
1600
  } : {},
1601
- [q()]: "builder-column",
1602
- style: lt(this.columnCssVars(t))
1601
+ [j()]: "builder-column",
1602
+ style: ut(this.columnCssVars(t))
1603
1603
  };
1604
1604
  }
1605
1605
  }
@@ -1650,7 +1650,7 @@ function so(e, t, n, o, r, i) {
1650
1650
  ]);
1651
1651
  }
1652
1652
  const ao = /* @__PURE__ */ v(io, [["render", so]]);
1653
- function Oe(e) {
1653
+ function He(e) {
1654
1654
  return e.replace(/http(s)?:/, "");
1655
1655
  }
1656
1656
  function lo(e = "", t, n) {
@@ -1661,11 +1661,11 @@ function co(e, t) {
1661
1661
  if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
1662
1662
  return e;
1663
1663
  if (t === "master")
1664
- return Oe(e);
1664
+ return He(e);
1665
1665
  const n = e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);
1666
1666
  if (n) {
1667
1667
  const o = e.split(n[0]), r = n[3], i = t.match("x") ? t : `${t}x`;
1668
- return Oe(`${o[0]}_${i}${r}`);
1668
+ return He(`${o[0]}_${i}${r}`);
1669
1669
  }
1670
1670
  return null;
1671
1671
  }
@@ -2020,9 +2020,9 @@ const ko = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
2020
2020
  visibilityStylesEl.innerHTML = newStyleStr;
2021
2021
  }
2022
2022
  }
2023
- }`, ne = "default", wo = "filterWithCustomTargeting", pt = "builderIoPersonalization", mt = "updateVisibilityStylesScript", ht = ["react", "vue", "svelte", "qwik"], ft = ["vue", "svelte", "qwik"];
2023
+ }`, ne = "default", wo = "filterWithCustomTargeting", ft = "builderIoPersonalization", bt = "updateVisibilityStylesScript", gt = ["react", "vue", "svelte", "qwik"], yt = ["vue", "svelte", "qwik"];
2024
2024
  function Io(e, t) {
2025
- return !(e && e.length > 0) || !t ? !1 : ft.includes(R) ? !0 : !E();
2025
+ return !(e && e.length > 0) || !t ? !1 : yt.includes(R) ? !0 : !E();
2026
2026
  }
2027
2027
  function $o({
2028
2028
  variants: e,
@@ -2064,9 +2064,9 @@ function $o({
2064
2064
  }
2065
2065
  const Ro = () => `
2066
2066
  window.${wo} = ${Co}
2067
- window.${pt} = ${ko}
2068
- window.${mt} = ${To}
2069
- `, bt = R === "react", Eo = (e, t, n) => `window.${pt}(${JSON.stringify(e)}, "${t}", ${bt}${n ? `, "${n}"` : ""})`, Po = (e, t, n) => `window.${mt}(${JSON.stringify(e)}, "${t}", ${bt}${n ? `, "${n}"` : ""})`, de = {
2067
+ window.${ft} = ${ko}
2068
+ window.${bt} = ${To}
2069
+ `, vt = R === "react", Eo = (e, t, n) => `window.${ft}(${JSON.stringify(e)}, "${t}", ${vt}${n ? `, "${n}"` : ""})`, Po = (e, t, n) => `window.${bt}(${JSON.stringify(e)}, "${t}", ${vt}${n ? `, "${n}"` : ""})`, de = {
2070
2070
  "@type": "@builder.io/sdk:Element",
2071
2071
  layerName: "Accordion item title",
2072
2072
  responsiveStyles: {
@@ -2192,7 +2192,7 @@ const Ro = () => `
2192
2192
  }
2193
2193
  }, Bo = (e) => e.toString(), Vo = y({
2194
2194
  name: "builder-accordion",
2195
- components: { Blocks: j },
2195
+ components: { Blocks: q },
2196
2196
  props: [
2197
2197
  "grid",
2198
2198
  "oneAtATime",
@@ -2580,7 +2580,7 @@ const Do = /* @__PURE__ */ v(Vo, [["render", Wo]]), xo = {
2580
2580
  hidden: !0,
2581
2581
  canHaveChildren: !0,
2582
2582
  noWrap: !0
2583
- }, $e = ["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"], Fo = ["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"], Lo = {
2583
+ }, Ee = ["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"], Fo = ["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"], Lo = {
2584
2584
  name: "Image",
2585
2585
  static: !0,
2586
2586
  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",
@@ -2595,7 +2595,7 @@ const Do = /* @__PURE__ */ v(Vo, [["render", Wo]]), xo = {
2595
2595
  name: "image",
2596
2596
  type: "file",
2597
2597
  bubble: !0,
2598
- allowedFileTypes: $e,
2598
+ allowedFileTypes: Ee,
2599
2599
  required: !0,
2600
2600
  defaultValue: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",
2601
2601
  onChange: (e) => {
@@ -2728,9 +2728,9 @@ const Do = /* @__PURE__ */ v(Vo, [["render", Wo]]), xo = {
2728
2728
  defaultValue: []
2729
2729
  }]
2730
2730
  }]
2731
- }, Re = y({
2731
+ }, Pe = y({
2732
2732
  render() {
2733
- return Me("script", {
2733
+ return ze("script", {
2734
2734
  innerHTML: this.scriptStr,
2735
2735
  "data-id": this.id,
2736
2736
  nonce: this.nonce
@@ -2741,9 +2741,9 @@ const Do = /* @__PURE__ */ v(Vo, [["render", Wo]]), xo = {
2741
2741
  }), Mo = y({
2742
2742
  name: "builder-personalization-container",
2743
2743
  components: {
2744
- Blocks: j,
2744
+ Blocks: q,
2745
2745
  InlinedStyles: ce,
2746
- InlinedScript: Re
2746
+ InlinedScript: Pe
2747
2747
  },
2748
2748
  props: [
2749
2749
  "builderContext",
@@ -2775,7 +2775,7 @@ const Do = /* @__PURE__ */ v(Vo, [["render", Wo]]), xo = {
2775
2775
  shouldResetVariants: !1,
2776
2776
  TARGET: R,
2777
2777
  DEFAULT_INDEX: ne,
2778
- SDKS_REQUIRING_RESET_APPROACH: ft
2778
+ SDKS_REQUIRING_RESET_APPROACH: yt
2779
2779
  };
2780
2780
  },
2781
2781
  mounted() {
@@ -2789,7 +2789,7 @@ const Do = /* @__PURE__ */ v(Vo, [["render", Wo]]), xo = {
2789
2789
  fireImmediately: R === "qwik"
2790
2790
  }
2791
2791
  );
2792
- if (!(A() || ke())) {
2792
+ if (!(A() || Te())) {
2793
2793
  const n = this.filteredVariants[0];
2794
2794
  this.$refs.rootRef && (this.$refs.rootRef.dispatchEvent(
2795
2795
  new CustomEvent("builder.variantLoaded", {
@@ -2824,7 +2824,7 @@ const Do = /* @__PURE__ */ v(Vo, [["render", Wo]]), xo = {
2824
2824
  return {
2825
2825
  ...N(this.attributes, "v-on:", !1),
2826
2826
  ...N(this.attributes, "v-on:", !0),
2827
- [q()]: `builder-personalization-container ${this.attributes[q()] || ""}`
2827
+ [j()]: `builder-personalization-container ${this.attributes[j()] || ""}`
2828
2828
  };
2829
2829
  },
2830
2830
  filteredVariants() {
@@ -2863,7 +2863,7 @@ const Do = /* @__PURE__ */ v(Vo, [["render", Wo]]), xo = {
2863
2863
  }
2864
2864
  }
2865
2865
  });
2866
- function qo(e, t, n, o, r, i) {
2866
+ function jo(e, t, n, o, r, i) {
2867
2867
  var u, p, f, c, m, b, g, P, U, B;
2868
2868
  const s = k("Blocks"), l = k("InlinedStyles"), a = k("InlinedScript");
2869
2869
  return d(), h("div", I({ ref: "rootRef" }, e.attrs), [
@@ -2908,12 +2908,12 @@ function qo(e, t, n, o, r, i) {
2908
2908
  registeredComponents: e.builderComponents
2909
2909
  }, {
2910
2910
  default: x(() => {
2911
- var Ee, Pe;
2911
+ var Be, Ve;
2912
2912
  return [
2913
2913
  $(a, {
2914
- nonce: ((Ee = e.builderContext) == null ? void 0 : Ee.nonce) || "",
2914
+ nonce: ((Be = e.builderContext) == null ? void 0 : Be.nonce) || "",
2915
2915
  scriptStr: e.scriptStr,
2916
- id: `variants-script-${(Pe = e.builderBlock) == null ? void 0 : Pe.id}-${W}`
2916
+ id: `variants-script-${(Ve = e.builderBlock) == null ? void 0 : Ve.id}-${W}`
2917
2917
  }, null, 8, ["nonce", "scriptStr", "id"])
2918
2918
  ];
2919
2919
  }),
@@ -2948,7 +2948,7 @@ function qo(e, t, n, o, r, i) {
2948
2948
  ], 64)) : C("", !0)
2949
2949
  ], 16);
2950
2950
  }
2951
- const jo = /* @__PURE__ */ v(Mo, [["render", qo]]), zo = {
2951
+ const qo = /* @__PURE__ */ v(Mo, [["render", jo]]), zo = {
2952
2952
  name: "Core:Section",
2953
2953
  static: !0,
2954
2954
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -3006,7 +3006,7 @@ const jo = /* @__PURE__ */ v(Mo, [["render", qo]]), zo = {
3006
3006
  }
3007
3007
  }, Go = y({
3008
3008
  name: "builder-slot",
3009
- components: { Blocks: j },
3009
+ components: { Blocks: q },
3010
3010
  props: ["builderContext", "name", "builderComponents"]
3011
3011
  });
3012
3012
  function Jo(e, t, n, o, r, i) {
@@ -3211,7 +3211,7 @@ const Qo = /* @__PURE__ */ v(Go, [["render", Jo]]), Yo = {
3211
3211
  }
3212
3212
  }, Zo = y({
3213
3213
  name: "builder-tabs",
3214
- components: { Blocks: j },
3214
+ components: { Blocks: q },
3215
3215
  props: [
3216
3216
  "defaultActiveTab",
3217
3217
  "tabs",
@@ -3706,7 +3706,7 @@ const vr = /* @__PURE__ */ v(br, [["render", yr]]), Sr = {
3706
3706
  return kr.includes(e) ? e : "production";
3707
3707
  }, Tr = y({
3708
3708
  name: "builder-form-component",
3709
- components: { Blocks: j },
3709
+ components: { Blocks: q },
3710
3710
  props: [
3711
3711
  "builderContext",
3712
3712
  "previewState",
@@ -3797,7 +3797,7 @@ const vr = /* @__PURE__ */ v(br, [["render", yr]]), Sr = {
3797
3797
  else {
3798
3798
  const c = {};
3799
3799
  Array.from(l).forEach(({ value: m, key: b }) => {
3800
- qe(c, b, m);
3800
+ Ke(c, b, m);
3801
3801
  }), i = JSON.stringify(c);
3802
3802
  }
3803
3803
  a && a !== "multipart/form-data" && (t && ((n = this.action) != null && n.includes("zapier.com")) || (r["content-type"] = a));
@@ -3818,7 +3818,7 @@ const vr = /* @__PURE__ */ v(br, [["render", yr]]), Sr = {
3818
3818
  const p = `${Cr() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${this.builderContext.apiKey}&to=${btoa(
3819
3819
  this.sendSubmissionsToEmail || ""
3820
3820
  )}&name=${encodeURIComponent(this.name || "")}`, f = this.sendSubmissionsTo === "email" ? p : this.action;
3821
- Ke(f), fetch(f, {
3821
+ Qe(f), fetch(f, {
3822
3822
  body: i,
3823
3823
  headers: r,
3824
3824
  method: this.method || "post"
@@ -3839,7 +3839,7 @@ const vr = /* @__PURE__ */ v(br, [["render", yr]]), Sr = {
3839
3839
  ), U.defaultPrevented))
3840
3840
  return;
3841
3841
  this.responseData = m, this.formState = "error";
3842
- let B = this.errorMessagePath ? Je(m, this.errorMessagePath) : m.message || m.error || m;
3842
+ let B = this.errorMessagePath ? Xe(m, this.errorMessagePath) : m.message || m.error || m;
3843
3843
  typeof B != "string" && (B = JSON.stringify(B)), this.formErrorMessage = B, this.mergeNewRootState({
3844
3844
  formErrorMessage: B
3845
3845
  });
@@ -3883,7 +3883,7 @@ const vr = /* @__PURE__ */ v(br, [["render", yr]]), Sr = {
3883
3883
  }
3884
3884
  }), wr = ["validate", "action", "method", "name"], Ir = {
3885
3885
  key: 2,
3886
- class: "builder-form-error-text pre-2oa2wtipkzk"
3886
+ class: "builder-form-error-text pre-1hjwvu3r5mj"
3887
3887
  };
3888
3888
  function $r(e, t, n, o, r, i) {
3889
3889
  const s = k("Blocks");
@@ -3917,7 +3917,7 @@ function $r(e, t, n, o, r, i) {
3917
3917
  }, null, 8, ["blocks", "context"])) : C("", !0)
3918
3918
  ], 16, wr);
3919
3919
  }
3920
- const Rr = /* @__PURE__ */ v(Tr, [["render", $r], ["__scopeId", "data-v-77c7888c"]]), Er = {
3920
+ const Rr = /* @__PURE__ */ v(Tr, [["render", $r], ["__scopeId", "data-v-3c8c685f"]]), Er = {
3921
3921
  name: "Form:Input",
3922
3922
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
3923
3923
  inputs: [
@@ -4092,7 +4092,7 @@ const Or = /* @__PURE__ */ v(Wr, [["render", Ur]]), Fr = {
4092
4092
  function Hr(e, t, n, o, r, i) {
4093
4093
  return d(), h("button", I({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), O(e.filterAttrs(e.attributes, "v-on:", !0), !0)), le(e.text), 17);
4094
4094
  }
4095
- const Mr = /* @__PURE__ */ v(Lr, [["render", Hr]]), qr = {
4095
+ const Mr = /* @__PURE__ */ v(Lr, [["render", Hr]]), jr = {
4096
4096
  name: "Form:TextArea",
4097
4097
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
4098
4098
  inputs: [{
@@ -4128,7 +4128,7 @@ const Mr = /* @__PURE__ */ v(Lr, [["render", Hr]]), qr = {
4128
4128
  },
4129
4129
  static: !0,
4130
4130
  noWrap: !0
4131
- }, jr = y({
4131
+ }, qr = y({
4132
4132
  name: "builder-textarea",
4133
4133
  props: [
4134
4134
  "attributes",
@@ -4151,7 +4151,7 @@ function Kr(e, t, n, o, r, i) {
4151
4151
  required: e.required
4152
4152
  }, e.filterAttrs(e.attributes, "v-on:", !1), O(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, zr);
4153
4153
  }
4154
- const Gr = /* @__PURE__ */ v(jr, [["render", Kr]]), Jr = {
4154
+ const Gr = /* @__PURE__ */ v(qr, [["render", Kr]]), Jr = {
4155
4155
  name: "Raw:Img",
4156
4156
  hideFromInsertMenu: !0,
4157
4157
  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",
@@ -4159,7 +4159,7 @@ const Gr = /* @__PURE__ */ v(jr, [["render", Kr]]), Jr = {
4159
4159
  name: "image",
4160
4160
  bubble: !0,
4161
4161
  type: "file",
4162
- allowedFileTypes: $e,
4162
+ allowedFileTypes: Ee,
4163
4163
  required: !0
4164
4164
  }, {
4165
4165
  name: "backgroundSize",
@@ -4220,7 +4220,7 @@ const Gr = /* @__PURE__ */ v(jr, [["render", Kr]]), Jr = {
4220
4220
  const e = {
4221
4221
  ...N(this.attributes, "v-on:", !1),
4222
4222
  ...N(this.attributes, "v-on:", !0),
4223
- [q()]: `builder-raw-img ${this.attributes[q()] || ""}`
4223
+ [j()]: `builder-raw-img ${this.attributes[j()] || ""}`
4224
4224
  };
4225
4225
  return delete e.style, e;
4226
4226
  }
@@ -4260,7 +4260,7 @@ const Zr = /* @__PURE__ */ v(Qr, [["render", Xr]]), _r = {
4260
4260
  }, {
4261
4261
  name: "posterImage",
4262
4262
  type: "file",
4263
- allowedFileTypes: $e,
4263
+ allowedFileTypes: Ee,
4264
4264
  helperText: "Image to show before the video plays"
4265
4265
  }, {
4266
4266
  name: "autoPlay",
@@ -4490,14 +4490,14 @@ const si = /* @__PURE__ */ v(ei, [["render", ii]]), ai = () => [{
4490
4490
  ...Nr
4491
4491
  }, {
4492
4492
  component: Gr,
4493
- ...qr
4493
+ ...jr
4494
4494
  }, {
4495
4495
  component: Zr,
4496
4496
  ...Jr
4497
4497
  }, {
4498
4498
  component: si,
4499
4499
  ..._r
4500
- }], Fe = () => [{
4500
+ }], Me = () => [{
4501
4501
  component: Ot,
4502
4502
  ...xo
4503
4503
  }, {
@@ -4521,8 +4521,8 @@ const si = /* @__PURE__ */ v(ei, [["render", ii]]), ai = () => [{
4521
4521
  }, {
4522
4522
  component: ar,
4523
4523
  ...or
4524
- }, ...ht.includes(R) ? [{
4525
- component: jo,
4524
+ }, ...gt.includes(R) ? [{
4525
+ component: qo,
4526
4526
  ...Ho
4527
4527
  }] : [], {
4528
4528
  component: nr,
@@ -4623,26 +4623,34 @@ const si = /* @__PURE__ */ v(ei, [["render", ii]]), ai = () => [{
4623
4623
  thisScriptEl?.remove();
4624
4624
  }
4625
4625
  return;
4626
- }`, gt = "builderIoAbTest", yt = "builderIoRenderContent", oe = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
4626
+ }`, ye = "builderIoAbTest", ve = "builderIoRenderContent", oe = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
4627
4627
  ...t,
4628
4628
  testVariationId: t.id,
4629
4629
  id: e == null ? void 0 : e.id
4630
4630
  })), di = ({
4631
4631
  canTrack: e,
4632
4632
  content: t
4633
- }) => !(!(oe(t).length > 0) || !e), ui = (e) => e === "react" || e === "reactNative", pi = R === "angular", vt = ui(R), mi = () => `
4634
- window.${gt} = ${li}
4635
- window.${yt} = ${ci}
4633
+ }) => !(!(oe(t).length > 0) || !e), ui = (e) => e === "react" || e === "reactNative", pi = R === "angular", Ae = ui(R), mi = () => `
4634
+ (function() {
4635
+ if (!window.${ye}) {
4636
+ window.${ye} = ${li};
4637
+ }
4638
+ if (!window.${ve}) {
4639
+ window.${ve} = ${ci};
4640
+ }${Ae ? `
4641
+ var thisScriptEl = document.currentScript;
4642
+ if (thisScriptEl) { thisScriptEl.remove(); }` : ""}
4643
+ })();
4636
4644
  `, hi = (e, t) => `
4637
- window.${gt}(
4638
- "${t}",${JSON.stringify(e)}, ${vt}, ${pi}
4645
+ window.${ye}(
4646
+ "${t}",${JSON.stringify(e)}, ${Ae}, ${pi}
4639
4647
  )`, fi = ({
4640
4648
  contentId: e,
4641
4649
  variationId: t
4642
- }) => `window.${yt}(
4643
- "${t}", "${e}", ${vt}
4650
+ }) => `window.${ve}(
4651
+ "${t}", "${e}", ${Ae}
4644
4652
  )`;
4645
- function Le(e) {
4653
+ function je(e) {
4646
4654
  return Math.round(e * 1e3) / 1e3;
4647
4655
  }
4648
4656
  const bi = (e, t, n = !0) => {
@@ -4659,11 +4667,11 @@ const bi = (e, t, n = !0) => {
4659
4667
  }, gi = (e) => bi(e, (t) => {
4660
4668
  const n = t.getAttribute("builder-id") || t.id;
4661
4669
  return (n == null ? void 0 : n.indexOf("builder-")) === 0;
4662
- }), He = ({
4670
+ }), qe = ({
4663
4671
  event: e,
4664
4672
  target: t
4665
4673
  }) => {
4666
- const n = t.getBoundingClientRect(), o = e.clientX - n.left, r = e.clientY - n.top, i = Le(o / n.width), s = Le(r / n.height);
4674
+ const n = t.getBoundingClientRect(), o = e.clientX - n.left, r = e.clientY - n.top, i = je(o / n.width), s = je(r / n.height);
4667
4675
  return {
4668
4676
  x: i,
4669
4677
  y: s
@@ -4673,18 +4681,18 @@ const bi = (e, t, n = !0) => {
4673
4681
  return {
4674
4682
  targetBuilderElement: o || void 0,
4675
4683
  metadata: {
4676
- targetOffset: t ? He({
4684
+ targetOffset: t ? qe({
4677
4685
  event: e,
4678
4686
  target: t
4679
4687
  }) : void 0,
4680
- builderTargetOffset: n ? He({
4688
+ builderTargetOffset: n ? qe({
4681
4689
  event: e,
4682
4690
  target: n
4683
4691
  }) : void 0,
4684
4692
  builderElementIndex: n && o ? [].slice.call(document.getElementsByClassName(o)).indexOf(n) : void 0
4685
4693
  }
4686
4694
  };
4687
- }, vi = ["svelte", "qwik", "vue"], Si = () => vi.includes(R) && (A() || ke()), ki = (e) => {
4695
+ }, vi = ["svelte", "qwik", "vue"], Si = () => vi.includes(R) && (A() || Te()), ki = (e) => {
4688
4696
  var i;
4689
4697
  const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], o = e.fileUrl ?? ((i = e == null ? void 0 : e.files) == null ? void 0 : i.regular);
4690
4698
  let r = "";
@@ -4785,13 +4793,13 @@ font-weight: ${s};
4785
4793
  A() && !this.isNestedRender && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
4786
4794
  new CustomEvent("initeditingbldr")
4787
4795
  );
4788
- const o = this.builderContextSignal.content && K(this.canTrack), r = ve({
4796
+ const o = this.builderContextSignal.content && K(this.canTrack), r = ke({
4789
4797
  name: `builder.tests.${(e = this.builderContextSignal.content) == null ? void 0 : e.id}`,
4790
4798
  canTrack: !0
4791
4799
  }), i = (t = this.builderContextSignal.content) == null ? void 0 : t.testVariationId;
4792
4800
  if (o && i === r) {
4793
4801
  const s = (n = this.builderContextSignal.content) == null ? void 0 : n.id, l = this.apiKey;
4794
- Ae({
4802
+ Ne({
4795
4803
  apiHost: this.apiHost,
4796
4804
  type: "impression",
4797
4805
  canTrack: !0,
@@ -4800,7 +4808,7 @@ font-weight: ${s};
4800
4808
  variationId: r !== s ? r : void 0
4801
4809
  });
4802
4810
  }
4803
- ke() && !A() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
4811
+ Te() && !A() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
4804
4812
  new CustomEvent("initpreviewingbldr")
4805
4813
  );
4806
4814
  }
@@ -4902,7 +4910,7 @@ font-weight: ${s};
4902
4910
  this.builderContextSignal.content = n;
4903
4911
  },
4904
4912
  processMessage(e) {
4905
- return _e({
4913
+ return nt({
4906
4914
  model: this.model,
4907
4915
  trustedHosts: this.trustedHosts,
4908
4916
  callbacks: {
@@ -4916,7 +4924,7 @@ font-weight: ${s};
4916
4924
  });
4917
4925
  },
4918
4926
  animation: (t) => {
4919
- st(t);
4927
+ ct(t);
4920
4928
  },
4921
4929
  contentUpdate: (t, n) => {
4922
4930
  this.mergeNewContent(t, n);
@@ -4931,7 +4939,7 @@ font-weight: ${s};
4931
4939
  var t, n;
4932
4940
  if (this.builderContextSignal.content) {
4933
4941
  const o = (t = this.builderContextSignal.content) == null ? void 0 : t.testVariationId, r = (n = this.builderContextSignal.content) == null ? void 0 : n.id;
4934
- Ae({
4942
+ Ne({
4935
4943
  apiHost: this.apiHost,
4936
4944
  type: "click",
4937
4945
  canTrack: K(this.canTrack),
@@ -4976,7 +4984,7 @@ font-weight: ${s};
4976
4984
  url: l,
4977
4985
  method: "GET"
4978
4986
  };
4979
- Ke(JSON.stringify(a));
4987
+ Qe(JSON.stringify(a));
4980
4988
  const u = {
4981
4989
  method: a.method,
4982
4990
  headers: a.headers,
@@ -5004,7 +5012,7 @@ font-weight: ${s};
5004
5012
  "builder:component:stateChange",
5005
5013
  {
5006
5014
  detail: {
5007
- state: ye(this.builderContextSignal.rootState),
5015
+ state: Se(this.builderContextSignal.rootState),
5008
5016
  ref: {
5009
5017
  name: this.model
5010
5018
  }
@@ -5014,7 +5022,7 @@ font-weight: ${s};
5014
5022
  );
5015
5023
  },
5016
5024
  elementRef_onIniteditingbldr(e) {
5017
- window.addEventListener("message", this.processMessage), Ze({
5025
+ window.addEventListener("message", this.processMessage), tt({
5018
5026
  ...this.locale ? {
5019
5027
  locale: this.locale
5020
5028
  } : {},
@@ -5044,7 +5052,7 @@ font-weight: ${s};
5044
5052
  const t = new URL(location.href).searchParams, n = t.get("builder.preview"), o = t.get(
5045
5053
  `builder.overrides.${n}`
5046
5054
  ), r = t.get("apiKey") || t.get("builder.space");
5047
- (n === "BUILDER_STUDIO" || n === this.model && r === this.apiKey && (!this.content || o === this.content.id)) && we({
5055
+ (n === "BUILDER_STUDIO" || n === this.model && r === this.apiKey && (!this.content || o === this.content.id)) && $e({
5048
5056
  model: this.model,
5049
5057
  apiKey: this.apiKey,
5050
5058
  apiVersion: this.builderContextSignal.apiVersion,
@@ -5138,9 +5146,9 @@ const Vi = /* @__PURE__ */ v(Ai, [["render", Bi]]), Ni = ({
5138
5146
  name: "content-component",
5139
5147
  components: {
5140
5148
  EnableEditor: Pi,
5141
- InlinedScript: Re,
5149
+ InlinedScript: Pe,
5142
5150
  ContentStyles: Vi,
5143
- Blocks: j,
5151
+ Blocks: q,
5144
5152
  DynamicDiv: ee
5145
5153
  },
5146
5154
  props: [
@@ -5176,7 +5184,7 @@ const Vi = /* @__PURE__ */ v(Ai, [["render", Bi]]), Ni = ({
5176
5184
  contentId: (t = this.content) == null ? void 0 : t.id
5177
5185
  }),
5178
5186
  registeredComponents: [
5179
- ...Fe(),
5187
+ ...Me(),
5180
5188
  ...this.customComponents || []
5181
5189
  ].reduce(
5182
5190
  (n, { component: o, ...r }) => ({
@@ -5205,7 +5213,7 @@ const Vi = /* @__PURE__ */ v(Ai, [["render", Bi]]), Ni = ({
5205
5213
  apiKey: this.apiKey,
5206
5214
  apiVersion: this.apiVersion,
5207
5215
  componentInfos: [
5208
- ...Fe(),
5216
+ ...Me(),
5209
5217
  ...this.customComponents || []
5210
5218
  ].reduce(
5211
5219
  (n, { component: o, ...r }) => ({
@@ -5226,7 +5234,7 @@ const Vi = /* @__PURE__ */ v(Ai, [["render", Bi]]), Ni = ({
5226
5234
  provide() {
5227
5235
  const e = this;
5228
5236
  return {
5229
- [Ge.key]: {
5237
+ [Ye.key]: {
5230
5238
  registeredComponents: e.registeredComponents
5231
5239
  }
5232
5240
  };
@@ -5321,7 +5329,7 @@ function Ui(e, t, n, o, r, i) {
5321
5329
  const Oi = /* @__PURE__ */ v(xi, [["render", Ui]]), Fi = y({
5322
5330
  name: "content-variants",
5323
5331
  components: {
5324
- InlinedScript: Re,
5332
+ InlinedScript: Pe,
5325
5333
  InlinedStyles: ce,
5326
5334
  ContentComponent: Oi
5327
5335
  },
@@ -5352,7 +5360,7 @@ const Oi = /* @__PURE__ */ v(xi, [["render", Ui]]), Fi = y({
5352
5360
  canTrack: K(this.canTrack),
5353
5361
  content: this.content
5354
5362
  }),
5355
- SDKS_SUPPORTING_PERSONALIZATION: ht,
5363
+ SDKS_SUPPORTING_PERSONALIZATION: gt,
5356
5364
  getInitPersonalizationVariantsFnsScriptString: Ro,
5357
5365
  TARGET: R,
5358
5366
  getInitVariantsFnsScriptString: mi,
@@ -5391,11 +5399,6 @@ function Li(e, t, n, o, r, i) {
5391
5399
  const s = k("InlinedScript"), l = k("InlinedStyles"), a = k("ContentComponent");
5392
5400
  return d(), h(w, null, [
5393
5401
  !e.isNestedRender && e.TARGET !== "reactNative" ? (d(), h(w, { key: 0 }, [
5394
- $(s, {
5395
- id: "builderio-init-variants-fns",
5396
- scriptStr: e.getInitVariantsFnsScriptString(),
5397
- nonce: e.nonce || ""
5398
- }, null, 8, ["scriptStr", "nonce"]),
5399
5402
  e.SDKS_SUPPORTING_PERSONALIZATION.includes(e.TARGET) ? (d(), S(s, {
5400
5403
  key: 0,
5401
5404
  id: "builderio-init-personalization-variants-fns",
@@ -5404,6 +5407,11 @@ function Li(e, t, n, o, r, i) {
5404
5407
  }, null, 8, ["nonce", "scriptStr"])) : C("", !0)
5405
5408
  ], 64)) : C("", !0),
5406
5409
  e.shouldRenderVariants ? (d(), h(w, { key: 1 }, [
5410
+ $(s, {
5411
+ id: "builderio-init-variants-fns",
5412
+ scriptStr: e.getInitVariantsFnsScriptString(),
5413
+ nonce: e.nonce || ""
5414
+ }, null, 8, ["scriptStr", "nonce"]),
5407
5415
  $(l, {
5408
5416
  id: "builderio-variants",
5409
5417
  styles: e.hideVariantsStyleString,
@@ -5472,7 +5480,7 @@ const Hi = /* @__PURE__ */ v(Fi, [["render", Li]]), Mi = async ({
5472
5480
  }) => {
5473
5481
  if (t != null && t.model && // This is a hack, we should not need to check for this, but it is needed for Svelte.
5474
5482
  (e != null && e.apiKey))
5475
- return we({
5483
+ return $e({
5476
5484
  model: t.model,
5477
5485
  apiKey: t.global && t.ownerId ? t.ownerId : e.apiKey,
5478
5486
  apiVersion: e.apiVersion,
@@ -5484,7 +5492,7 @@ const Hi = /* @__PURE__ */ v(Fi, [["render", Li]]), Mi = async ({
5484
5492
  }).catch((n) => {
5485
5493
  L.error("Could not fetch symbol content: ", n);
5486
5494
  });
5487
- }, qi = y({
5495
+ }, ji = y({
5488
5496
  name: "builder-symbol",
5489
5497
  components: { ContentVariants: Hi, DynamicDiv: ee },
5490
5498
  props: [
@@ -5528,7 +5536,7 @@ const Hi = /* @__PURE__ */ v(Fi, [["render", Li]]), Mi = async ({
5528
5536
  className() {
5529
5537
  var e, t;
5530
5538
  return [
5531
- this.attributes[q()],
5539
+ this.attributes[j()],
5532
5540
  "builder-symbol",
5533
5541
  (e = this.symbol) != null && e.inline ? "builder-inline-symbol" : void 0,
5534
5542
  (t = this.symbol) != null && t.dynamic || this.dynamic ? "builder-dynamic-symbol" : void 0
@@ -5553,7 +5561,7 @@ const Hi = /* @__PURE__ */ v(Fi, [["render", Li]]), Mi = async ({
5553
5561
  }
5554
5562
  }
5555
5563
  });
5556
- function ji(e, t, n, o, r, i) {
5564
+ function qi(e, t, n, o, r, i) {
5557
5565
  var l, a, u, p, f, c, m;
5558
5566
  const s = k("ContentVariants");
5559
5567
  return d(), h("div", I({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, O(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
@@ -5581,10 +5589,10 @@ function ji(e, t, n, o, r, i) {
5581
5589
  }, null, 8, ["nonce", "apiVersion", "apiKey", "context", "customComponents", "data", "canTrack", "model", "content", "linkComponent", "blocksWrapper", "contentWrapper"])
5582
5590
  ], 16);
5583
5591
  }
5584
- const zi = /* @__PURE__ */ v(qi, [["render", ji]]);
5592
+ const zi = /* @__PURE__ */ v(ji, [["render", qi]]);
5585
5593
  export {
5586
- we as A,
5587
- dt as B,
5594
+ $e as A,
5595
+ mt as B,
5588
5596
  ro as C,
5589
5597
  Ji as D,
5590
5598
  os as E,
@@ -5594,7 +5602,7 @@ export {
5594
5602
  ar as T,
5595
5603
  si as V,
5596
5604
  v as _,
5597
- q as a,
5605
+ j as a,
5598
5606
  he as b,
5599
5607
  ce as c,
5600
5608
  eo as d,
@@ -5602,19 +5610,19 @@ export {
5602
5610
  ts as f,
5603
5611
  ns as g,
5604
5612
  rs as h,
5605
- Ie as i,
5613
+ Re as i,
5606
5614
  tn as j,
5607
5615
  Ot as k,
5608
5616
  zi as l,
5609
- j as m,
5617
+ q as m,
5610
5618
  Hi as n,
5611
- ke as o,
5619
+ Te as o,
5612
5620
  nn as p,
5613
5621
  Yi as q,
5614
5622
  Qi as r,
5615
5623
  _i as s,
5616
5624
  Xi as t,
5617
- Ye as u,
5625
+ _e as u,
5618
5626
  Zi as v,
5619
5627
  Di as w,
5620
5628
  es as x,