@builder.io/sdk-react 0.7.4 → 0.7.5

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.
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import { jsxs as Z, Fragment as P, jsx as p } from "react/jsx-runtime";
2
+ import { jsxs as Z, Fragment as N, jsx as p } from "react/jsx-runtime";
3
3
  import { createContext as cr, useState as $, useContext as Hn, createElement as ur, useRef as Jt, useEffect as ee } from "react";
4
4
  import { i as Ee, j as Ie, k as Wr, l as Fe, m as qt, n as Ht, T as tt, r as Hr, o as dt, p as Kn, a as Kr, c as Gr, b as dr, q as zr, u as Gn, v as zn, w as Xr } from "./server-entry-0aebe4be.mjs";
5
5
  import { _ as Uo, h as Bo, f as _o, g as Do, e as Vo, d as Lo, s as $o, t as Wo } from "./server-entry-0aebe4be.mjs";
6
6
  function Yr(e) {
7
- return /* @__PURE__ */ Z(P, { children: [
8
- e.link ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(
7
+ return /* @__PURE__ */ Z(N, { children: [
8
+ e.link ? /* @__PURE__ */ p(N, { children: /* @__PURE__ */ p(
9
9
  "a",
10
10
  {
11
11
  ...e.attributes,
@@ -14,7 +14,7 @@ function Yr(e) {
14
14
  role: "button",
15
15
  children: e.text
16
16
  }
17
- ) }) : /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(
17
+ ) }) : /* @__PURE__ */ p(N, { children: /* @__PURE__ */ p(
18
18
  "button",
19
19
  {
20
20
  ...e.attributes,
@@ -113,17 +113,17 @@ var B, ti = function(e) {
113
113
  return 65 > o ? o === 36 : 91 > o ? !0 : 97 > o ? o === 95 : 123 > o ? !0 : 170 <= o && Wn.test(String.fromCharCode(o));
114
114
  }
115
115
  function n(o, l) {
116
- for (var c = x, h = 1, A = 0; ; ) {
117
- ct.lastIndex = A;
116
+ for (var c = x, h = 1, R = 0; ; ) {
117
+ ct.lastIndex = R;
118
118
  var Y = ct.exec(c);
119
119
  if (Y && Y.index < o)
120
- ++h, A = Y.index + Y[0].length;
120
+ ++h, R = Y.index + Y[0].length;
121
121
  else
122
122
  break;
123
123
  }
124
124
  throw c = {
125
125
  line: h,
126
- ab: o - A
126
+ ab: o - R
127
127
  }, l += " (" + c.line + ":" + c.ab + ")", l = new SyntaxError(l), l.j = o, l.X = c, l.o = d, l;
128
128
  }
129
129
  function i(o) {
@@ -138,7 +138,7 @@ var B, ti = function(e) {
138
138
  this.line = ke, this.ab = d - de;
139
139
  }
140
140
  function s(o, l) {
141
- Ae = d, O.C && (It = new a()), j = o, f(), le = l, Ve = o.m;
141
+ Ae = d, O.C && (It = new a()), A = o, f(), le = l, Ve = o.m;
142
142
  }
143
143
  function u() {
144
144
  for (var o = d, l = O.va && O.C && new a(), c = x.charCodeAt(d += 2); d < je && c !== 10 && c !== 13 && c !== 8232 && c !== 8233; )
@@ -179,7 +179,7 @@ var B, ti = function(e) {
179
179
  function g(o) {
180
180
  switch (o) {
181
181
  case 46:
182
- o = x.charCodeAt(d + 1), 48 <= o && 57 >= o ? R(!0) : (++d, s(Fn));
182
+ o = x.charCodeAt(d + 1), 48 <= o && 57 >= o ? E(!0) : (++d, s(Fn));
183
183
  return;
184
184
  case 40:
185
185
  return ++d, s(fe);
@@ -215,7 +215,7 @@ var B, ti = function(e) {
215
215
  case 55:
216
216
  case 56:
217
217
  case 57:
218
- return R(!1);
218
+ return E(!1);
219
219
  case 34:
220
220
  case 39:
221
221
  d++;
@@ -243,13 +243,13 @@ var B, ti = function(e) {
243
243
  l += "\r";
244
244
  break;
245
245
  case 120:
246
- l += String.fromCharCode(M(2));
246
+ l += String.fromCharCode(P(2));
247
247
  break;
248
248
  case 117:
249
- l += String.fromCharCode(M(4));
249
+ l += String.fromCharCode(P(4));
250
250
  break;
251
251
  case 85:
252
- l += String.fromCharCode(M(8));
252
+ l += String.fromCharCode(P(8));
253
253
  break;
254
254
  case 116:
255
255
  l += " ";
@@ -345,14 +345,14 @@ var B, ti = function(e) {
345
345
  }
346
346
  o = x.slice(c, d), ++d, (l = H()) && !/^[gmi]*$/.test(l) && n(c, "Invalid regexp flag");
347
347
  try {
348
- var A = new RegExp(o, l);
348
+ var R = new RegExp(o, l);
349
349
  } catch (Y) {
350
350
  throw Y instanceof SyntaxError && n(c, Y.message), Y;
351
351
  }
352
- s(gn, A);
352
+ s(gn, R);
353
353
  }
354
354
  function W(o, l) {
355
- for (var c = d, h = 0, A = l === void 0 ? 1 / 0 : l, Y = 0; Y < A; ++Y) {
355
+ for (var c = d, h = 0, R = l === void 0 ? 1 / 0 : l, Y = 0; Y < R; ++Y) {
356
356
  var ne = x.charCodeAt(d);
357
357
  if (ne = 97 <= ne ? ne - 97 + 10 : 65 <= ne ? ne - 65 + 10 : 48 <= ne && 57 >= ne ? ne - 48 : 1 / 0, ne >= o)
358
358
  break;
@@ -360,13 +360,13 @@ var B, ti = function(e) {
360
360
  }
361
361
  return d === c || l !== void 0 && d - c !== l ? null : h;
362
362
  }
363
- function R(o) {
363
+ function E(o) {
364
364
  var l = d, c = !1, h = x.charCodeAt(d) === 48;
365
365
  o || W(10) !== null || n(l, "Invalid number"), x.charCodeAt(d) === 46 && (++d, W(10), c = !0), o = x.charCodeAt(d), (o === 69 || o === 101) && (o = x.charCodeAt(++d), o !== 43 && o !== 45 || ++d, W(10) === null && n(l, "Invalid number"), c = !0), r(x.charCodeAt(d)) && n(d, "Identifier directly after number"), o = x.slice(l, d);
366
- var A;
367
- c ? A = parseFloat(o) : h && o.length !== 1 ? /[89]/.test(o) || oe ? n(l, "Invalid number") : A = parseInt(o, 8) : A = parseInt(o, 10), s($e, A);
366
+ var R;
367
+ c ? R = parseFloat(o) : h && o.length !== 1 ? /[89]/.test(o) || oe ? n(l, "Invalid number") : R = parseInt(o, 8) : R = parseInt(o, 10), s($e, R);
368
368
  }
369
- function M(o) {
369
+ function P(o) {
370
370
  return o = W(16, o), o === null && n(X, "Bad character escape sequence"), o;
371
371
  }
372
372
  function H() {
@@ -376,9 +376,9 @@ var B, ti = function(e) {
376
376
  if (t(h))
377
377
  Pe && (o += x.charAt(d)), ++d;
378
378
  else if (h === 92) {
379
- Pe || (o = x.slice(c, d)), Pe = !0, x.charCodeAt(++d) !== 117 && n(d, "Expecting Unicode escape sequence \\uXXXX"), ++d, h = M(4);
380
- var A = String.fromCharCode(h);
381
- A || n(d - 1, "Invalid Unicode escape"), (l ? r(h) : t(h)) || n(d - 4, "Invalid Unicode escape"), o += A;
379
+ Pe || (o = x.slice(c, d)), Pe = !0, x.charCodeAt(++d) !== 117 && n(d, "Expecting Unicode escape sequence \\uXXXX"), ++d, h = P(4);
380
+ var R = String.fromCharCode(h);
381
+ R || n(d - 1, "Invalid Unicode escape"), (l ? r(h) : t(h)) || n(d - 4, "Invalid Unicode escape"), o += R;
382
382
  } else
383
383
  break;
384
384
  l = !1;
@@ -413,85 +413,85 @@ var B, ti = function(e) {
413
413
  var l = new ae();
414
414
  return l.start = o.start, O.C && (l.X = new se(), l.X.start = o.X.start), O.Xa && (l.j = [o.j[0], 0]), l;
415
415
  }
416
- function E(o, l) {
416
+ function I(o, l) {
417
417
  return o.type = l, o.end = xe, O.C && (o.X.end = jt), O.Xa && (o.j[1] = xe), o;
418
418
  }
419
419
  function Te(o) {
420
420
  return o.type === "ExpressionStatement" && o.la.type === "Literal" && o.la.value === "use strict";
421
421
  }
422
422
  function D(o) {
423
- return j === o ? (y(), !0) : !1;
423
+ return A === o ? (y(), !0) : !1;
424
424
  }
425
- function T() {
426
- return !O.fc && (j === At || j === Oe || lt.test(x.slice(xe, X)));
425
+ function j() {
426
+ return !O.fc && (A === At || A === Oe || lt.test(x.slice(xe, X)));
427
427
  }
428
- function I() {
429
- D(he) || T() || N();
428
+ function T() {
429
+ D(he) || j() || M();
430
430
  }
431
431
  function C(o) {
432
- j === o ? y() : N();
432
+ A === o ? y() : M();
433
433
  }
434
- function N() {
434
+ function M() {
435
435
  n(X, "Unexpected token");
436
436
  }
437
437
  function V(o) {
438
438
  o.type !== "Identifier" && o.type !== "MemberExpression" && n(o.start, "Assigning to rvalue"), oe && o.type === "Identifier" && st(o.name) && n(o.start, "Assigning to " + o.name + " in strict mode");
439
439
  }
440
440
  function U() {
441
- (j === Bn || j === Ce && le === "/=") && v(!0);
442
- var o = j, l = L();
441
+ (A === Bn || A === Ce && le === "/=") && v(!0);
442
+ var o = A, l = L();
443
443
  switch (o) {
444
444
  case Rt:
445
445
  case yn:
446
446
  y();
447
447
  var c = o === Rt;
448
- D(he) || T() ? l.label = null : j !== Re ? N() : (l.label = ue(), I());
448
+ D(he) || j() ? l.label = null : A !== Re ? M() : (l.label = ue(), T());
449
449
  for (var h = 0; h < z.length; ++h) {
450
- var A = z[h];
451
- if ((l.label === null || A.name === l.label.name) && (A.kind !== null && (c || A.kind === "loop") || l.label && c))
450
+ var R = z[h];
451
+ if ((l.label === null || R.name === l.label.name) && (R.kind !== null && (c || R.kind === "loop") || l.label && c))
452
452
  break;
453
453
  }
454
- return h === z.length && n(l.start, "Unsyntactic " + o.l), E(l, c ? "BreakStatement" : "ContinueStatement");
454
+ return h === z.length && n(l.start, "Unsyntactic " + o.l), I(l, c ? "BreakStatement" : "ContinueStatement");
455
455
  case xn:
456
- return y(), I(), E(l, "DebuggerStatement");
456
+ return y(), T(), I(l, "DebuggerStatement");
457
457
  case Sn:
458
- return y(), z.push(_t), l.body = U(), z.pop(), C(Ft), l.test = ye(), I(), E(l, "DoWhileStatement");
458
+ return y(), z.push(_t), l.body = U(), z.pop(), C(Ft), l.test = ye(), T(), I(l, "DoWhileStatement");
459
459
  case Cn:
460
- return y(), z.push(_t), C(fe), j === he ? yt(l, null) : j === Mt ? (o = L(), y(), pn(o, !0), E(o, "VariableDeclaration"), o.fa.length === 1 && D(at) ? hn(l, o) : yt(l, o)) : (o = Q(!1, !0), D(at) ? (V(o), hn(l, o)) : yt(l, o));
460
+ return y(), z.push(_t), C(fe), A === he ? yt(l, null) : A === Mt ? (o = L(), y(), pn(o, !0), I(o, "VariableDeclaration"), o.fa.length === 1 && D(at) ? hn(l, o) : yt(l, o)) : (o = Q(!1, !0), D(at) ? (V(o), hn(l, o)) : yt(l, o));
461
461
  case Pt:
462
462
  return y(), wt(l, !0);
463
463
  case En:
464
- return y(), l.test = ye(), l.da = U(), l.alternate = D(wn) ? U() : null, E(l, "IfStatement");
464
+ return y(), l.test = ye(), l.da = U(), l.alternate = D(wn) ? U() : null, I(l, "IfStatement");
465
465
  case In:
466
- return Le || O.Ib || n(X, "'return' outside of function"), y(), D(he) || T() ? l.K = null : (l.K = Q(), I()), E(l, "ReturnStatement");
466
+ return Le || O.Ib || n(X, "'return' outside of function"), y(), D(he) || j() ? l.K = null : (l.K = Q(), T()), I(l, "ReturnStatement");
467
467
  case Nt:
468
- for (y(), l.Qb = ye(), l.tb = [], C(We), z.push($r); j !== Oe; )
469
- j === Ot || j === bn ? (o = j === Ot, h && E(h, "SwitchCase"), l.tb.push(h = L()), h.da = [], y(), o ? h.test = Q() : (c && n(Tt, "Multiple default clauses"), c = !0, h.test = null), C(He)) : (h || N(), h.da.push(U()));
470
- return h && E(h, "SwitchCase"), y(), z.pop(), E(l, "SwitchStatement");
468
+ for (y(), l.Qb = ye(), l.tb = [], C(We), z.push($r); A !== Oe; )
469
+ A === Ot || A === bn ? (o = A === Ot, h && I(h, "SwitchCase"), l.tb.push(h = L()), h.da = [], y(), o ? h.test = Q() : (c && n(Tt, "Multiple default clauses"), c = !0, h.test = null), C(He)) : (h || M(), h.da.push(U()));
470
+ return h && I(h, "SwitchCase"), y(), z.pop(), I(l, "SwitchStatement");
471
471
  case Tn:
472
- return y(), lt.test(x.slice(xe, X)) && n(xe, "Illegal newline after throw"), l.K = Q(), I(), E(l, "ThrowStatement");
472
+ return y(), lt.test(x.slice(xe, X)) && n(xe, "Illegal newline after throw"), l.K = Q(), T(), I(l, "ThrowStatement");
473
473
  case jn:
474
- return y(), l.block = we(), l.Ea = null, j === vn && (o = L(), y(), C(fe), o.Ua = ue(), oe && st(o.Ua.name) && n(o.Ua.start, "Binding " + o.Ua.name + " in strict mode"), C(ce), o.body = we(), l.Ea = E(o, "CatchClause")), l.fb = D(kn) ? we() : null, l.Ea || l.fb || n(l.start, "Missing catch or finally clause"), E(l, "TryStatement");
474
+ return y(), l.block = we(), l.Ea = null, A === vn && (o = L(), y(), C(fe), o.Ua = ue(), oe && st(o.Ua.name) && n(o.Ua.start, "Binding " + o.Ua.name + " in strict mode"), C(ce), o.body = we(), l.Ea = I(o, "CatchClause")), l.fb = D(kn) ? we() : null, l.Ea || l.fb || n(l.start, "Missing catch or finally clause"), I(l, "TryStatement");
475
475
  case Mt:
476
- return y(), pn(l), I(), E(l, "VariableDeclaration");
476
+ return y(), pn(l), T(), I(l, "VariableDeclaration");
477
477
  case Ft:
478
- return y(), l.test = ye(), z.push(_t), l.body = U(), z.pop(), E(l, "WhileStatement");
478
+ return y(), l.test = ye(), z.push(_t), l.body = U(), z.pop(), I(l, "WhileStatement");
479
479
  case An:
480
- return oe && n(X, "'with' in strict mode"), y(), l.object = ye(), l.body = U(), E(l, "WithStatement");
480
+ return oe && n(X, "'with' in strict mode"), y(), l.object = ye(), l.body = U(), I(l, "WithStatement");
481
481
  case We:
482
482
  return we();
483
483
  case he:
484
- return y(), E(l, "EmptyStatement");
484
+ return y(), I(l, "EmptyStatement");
485
485
  default:
486
- if (c = le, A = Q(), o === Re && A.type === "Identifier" && D(He)) {
486
+ if (c = le, R = Q(), o === Re && R.type === "Identifier" && D(He)) {
487
487
  for (h = 0; h < z.length; ++h)
488
- z[h].name === c && n(A.start, "Label '" + c + "' is already declared");
488
+ z[h].name === c && n(R.start, "Label '" + c + "' is already declared");
489
489
  return z.push({
490
490
  name: c,
491
- kind: j.W ? "loop" : j === Nt ? "switch" : null
492
- }), l.body = U(), z.pop(), l.label = A, E(l, "LabeledStatement");
491
+ kind: A.W ? "loop" : A === Nt ? "switch" : null
492
+ }), l.body = U(), z.pop(), l.label = R, I(l, "LabeledStatement");
493
493
  }
494
- return l.la = A, I(), E(l, "ExpressionStatement");
494
+ return l.la = R, T(), I(l, "ExpressionStatement");
495
495
  }
496
496
  }
497
497
  function ye() {
@@ -502,34 +502,34 @@ var B, ti = function(e) {
502
502
  function we(o) {
503
503
  var l = L(), c = !0, h = !1;
504
504
  for (l.body = [], C(We); !D(Oe); ) {
505
- var A = U();
506
- if (l.body.push(A), c && o && Te(A)) {
505
+ var R = U();
506
+ if (l.body.push(R), c && o && Te(R)) {
507
507
  var Y = h;
508
508
  K(h = !0);
509
509
  }
510
510
  c = !1;
511
511
  }
512
- return h && !Y && K(!1), E(l, "BlockStatement");
512
+ return h && !Y && K(!1), I(l, "BlockStatement");
513
513
  }
514
514
  function yt(o, l) {
515
- return o.ua = l, C(he), o.test = j === he ? null : Q(), C(he), o.update = j === ce ? null : Q(), C(ce), o.body = U(), z.pop(), E(o, "ForStatement");
515
+ return o.ua = l, C(he), o.test = A === he ? null : Q(), C(he), o.update = A === ce ? null : Q(), C(ce), o.body = U(), z.pop(), I(o, "ForStatement");
516
516
  }
517
517
  function hn(o, l) {
518
- return o.left = l, o.right = Q(), C(ce), o.body = U(), z.pop(), E(o, "ForInStatement");
518
+ return o.left = l, o.right = Q(), C(ce), o.body = U(), z.pop(), I(o, "ForInStatement");
519
519
  }
520
520
  function pn(o, l) {
521
521
  for (o.fa = [], o.kind = "var"; ; ) {
522
522
  var c = L();
523
- if (c.id = ue(), oe && st(c.id.name) && n(c.id.start, "Binding " + c.id.name + " in strict mode"), c.ua = D(_n) ? Q(!0, l) : null, o.fa.push(E(c, "VariableDeclarator")), !D(be))
523
+ if (c.id = ue(), oe && st(c.id.name) && n(c.id.start, "Binding " + c.id.name + " in strict mode"), c.ua = D(_n) ? Q(!0, l) : null, o.fa.push(I(c, "VariableDeclarator")), !D(be))
524
524
  break;
525
525
  }
526
526
  }
527
527
  function Q(o, l) {
528
528
  var c = xt(l);
529
- if (!o && j === be) {
529
+ if (!o && A === be) {
530
530
  for (o = te(c), o.xb = [c]; D(be); )
531
531
  o.xb.push(xt(l));
532
- return E(o, "SequenceExpression");
532
+ return I(o, "SequenceExpression");
533
533
  }
534
534
  return c;
535
535
  }
@@ -537,49 +537,49 @@ var B, ti = function(e) {
537
537
  var l = bt(St(), -1, o);
538
538
  if (D(Un)) {
539
539
  var c = te(l);
540
- c.test = l, c.da = Q(!0), C(He), c.alternate = Q(!0, o), l = E(c, "ConditionalExpression");
540
+ c.test = l, c.da = Q(!0), C(He), c.alternate = Q(!0, o), l = I(c, "ConditionalExpression");
541
541
  }
542
- return j.Cb ? (c = te(l), c.operator = le, c.left = l, y(), c.right = xt(o), V(l), E(c, "AssignmentExpression")) : l;
542
+ return A.Cb ? (c = te(l), c.operator = le, c.left = l, y(), c.right = xt(o), V(l), I(c, "AssignmentExpression")) : l;
543
543
  }
544
544
  function bt(o, l, c) {
545
- var h = j.L;
546
- if (h !== null && (!c || j !== at) && h > l) {
547
- var A = te(o);
548
- return A.left = o, A.operator = le, o = j, y(), A.right = bt(St(), h, c), h = E(A, o === Vn || o === Ln ? "LogicalExpression" : "BinaryExpression"), bt(h, l, c);
545
+ var h = A.L;
546
+ if (h !== null && (!c || A !== at) && h > l) {
547
+ var R = te(o);
548
+ return R.left = o, R.operator = le, o = A, y(), R.right = bt(St(), h, c), h = I(R, o === Vn || o === Ln ? "LogicalExpression" : "BinaryExpression"), bt(h, l, c);
549
549
  }
550
550
  return o;
551
551
  }
552
552
  function St() {
553
- if (j.prefix) {
554
- var o = L(), l = j.$b;
555
- return o.operator = le, Ve = o.prefix = !0, y(), o.K = St(), l ? V(o.K) : oe && o.operator === "delete" && o.K.type === "Identifier" && n(o.start, "Deleting local variable in strict mode"), E(o, l ? "UpdateExpression" : "UnaryExpression");
553
+ if (A.prefix) {
554
+ var o = L(), l = A.$b;
555
+ return o.operator = le, Ve = o.prefix = !0, y(), o.K = St(), l ? V(o.K) : oe && o.operator === "delete" && o.K.type === "Identifier" && n(o.start, "Deleting local variable in strict mode"), I(o, l ? "UpdateExpression" : "UnaryExpression");
556
556
  }
557
- for (l = De(it()); j.cc && !T(); )
558
- o = te(l), o.operator = le, o.prefix = !1, o.K = l, V(l), y(), l = E(o, "UpdateExpression");
557
+ for (l = De(it()); A.cc && !j(); )
558
+ o = te(l), o.operator = le, o.prefix = !1, o.K = l, V(l), y(), l = I(o, "UpdateExpression");
559
559
  return l;
560
560
  }
561
561
  function De(o, l) {
562
562
  if (D(Fn)) {
563
563
  var c = te(o);
564
- return c.object = o, c.Wa = ue(!0), c.bb = !1, De(E(c, "MemberExpression"), l);
564
+ return c.object = o, c.Wa = ue(!0), c.bb = !1, De(I(c, "MemberExpression"), l);
565
565
  }
566
- return D(Ut) ? (c = te(o), c.object = o, c.Wa = Q(), c.bb = !0, C(Bt), De(E(c, "MemberExpression"), l)) : !l && D(fe) ? (c = te(o), c.callee = o, c.arguments = kt(ce, !1), De(E(c, "CallExpression"), l)) : o;
566
+ return D(Ut) ? (c = te(o), c.object = o, c.Wa = Q(), c.bb = !0, C(Bt), De(I(c, "MemberExpression"), l)) : !l && D(fe) ? (c = te(o), c.callee = o, c.arguments = kt(ce, !1), De(I(c, "CallExpression"), l)) : o;
567
567
  }
568
568
  function it() {
569
- switch (j) {
569
+ switch (A) {
570
570
  case On:
571
571
  var o = L();
572
- return y(), E(o, "ThisExpression");
572
+ return y(), I(o, "ThisExpression");
573
573
  case Re:
574
574
  return ue();
575
575
  case $e:
576
576
  case ot:
577
577
  case gn:
578
- return o = L(), o.value = le, o.raw = x.slice(X, Ae), y(), E(o, "Literal");
578
+ return o = L(), o.value = le, o.raw = x.slice(X, Ae), y(), I(o, "Literal");
579
579
  case Pn:
580
580
  case Nn:
581
581
  case Mn:
582
- return o = L(), o.value = j.$a, o.raw = j.l, y(), E(o, "Literal");
582
+ return o = L(), o.value = A.$a, o.raw = A.l, y(), I(o, "Literal");
583
583
  case fe:
584
584
  o = Et;
585
585
  var l = X;
@@ -587,7 +587,7 @@ var B, ti = function(e) {
587
587
  var c = Q();
588
588
  return c.start = l, c.end = Ae, O.C && (c.X.start = o, c.X.end = It), O.Xa && (c.j = [l, Ae]), C(ce), c;
589
589
  case Ut:
590
- return o = L(), y(), o.elements = kt(Bt, !0, !0), E(o, "ArrayExpression");
590
+ return o = L(), y(), o.elements = kt(Bt, !0, !0), I(o, "ArrayExpression");
591
591
  case We:
592
592
  for (o = L(), l = !0, c = !1, o.h = [], y(); !D(Oe); ) {
593
593
  if (l)
@@ -595,33 +595,33 @@ var B, ti = function(e) {
595
595
  else if (C(be), O.sb && D(Oe))
596
596
  break;
597
597
  var h = {
598
- key: j === $e || j === ot ? it() : ue(!0)
599
- }, A = !1;
598
+ key: A === $e || A === ot ? it() : ue(!0)
599
+ }, R = !1;
600
600
  if (D(He)) {
601
601
  h.value = Q(!0);
602
602
  var Y = h.kind = "init";
603
603
  } else
604
- h.key.type !== "Identifier" || h.key.name !== "get" && h.key.name !== "set" ? N() : (A = c = !0, Y = h.kind = h.key.name, h.key = j === $e || j === ot ? it() : ue(!0), j !== fe && N(), h.value = wt(L(), !1));
604
+ h.key.type !== "Identifier" || h.key.name !== "get" && h.key.name !== "set" ? M() : (R = c = !0, Y = h.kind = h.key.name, h.key = A === $e || A === ot ? it() : ue(!0), A !== fe && M(), h.value = wt(L(), !1));
605
605
  if (h.key.type === "Identifier" && (oe || c))
606
606
  for (var ne = 0; ne < o.h.length; ++ne) {
607
607
  var Ne = o.h[ne];
608
608
  if (Ne.key.name === h.key.name) {
609
- var Dt = Y === Ne.kind || A && Ne.kind === "init" || Y === "init" && (Ne.kind === "get" || Ne.kind === "set");
609
+ var Dt = Y === Ne.kind || R && Ne.kind === "init" || Y === "init" && (Ne.kind === "get" || Ne.kind === "set");
610
610
  Dt && !oe && Y === "init" && Ne.kind === "init" && (Dt = !1), Dt && n(h.key.start, "Redefinition of property");
611
611
  }
612
612
  }
613
613
  o.h.push(h);
614
614
  }
615
- return E(o, "ObjectExpression");
615
+ return I(o, "ObjectExpression");
616
616
  case Pt:
617
617
  return o = L(), y(), wt(o, !1);
618
618
  case Rn:
619
- return o = L(), y(), o.callee = De(it(), !0), o.arguments = D(fe) ? kt(ce, !1) : Tr, E(o, "NewExpression");
619
+ return o = L(), y(), o.callee = De(it(), !0), o.arguments = D(fe) ? kt(ce, !1) : Tr, I(o, "NewExpression");
620
620
  }
621
- N();
621
+ M();
622
622
  }
623
623
  function wt(o, l) {
624
- j === Re ? o.id = ue() : l ? N() : o.id = null, o.oa = [];
624
+ A === Re ? o.id = ue() : l ? M() : o.id = null, o.oa = [];
625
625
  var c = !0;
626
626
  for (C(fe); !D(ce); )
627
627
  c ? c = !1 : C(be), o.oa.push(ue());
@@ -630,24 +630,24 @@ var B, ti = function(e) {
630
630
  if (Le = !0, z = [], o.body = we(!0), Le = c, z = h, oe || o.body.body.length && Te(o.body.body[0])) {
631
631
  for (c = o.id ? -1 : 0; c < o.oa.length; ++c)
632
632
  if (h = 0 > c ? o.id : o.oa[c], ($n(h.name) || st(h.name)) && n(h.start, "Defining '" + h.name + "' in strict mode"), 0 <= c)
633
- for (var A = 0; A < c; ++A)
634
- h.name === o.oa[A].name && n(h.start, "Argument name clash in strict mode");
633
+ for (var R = 0; R < c; ++R)
634
+ h.name === o.oa[R].name && n(h.start, "Argument name clash in strict mode");
635
635
  }
636
- return E(o, l ? "FunctionDeclaration" : "FunctionExpression");
636
+ return I(o, l ? "FunctionDeclaration" : "FunctionExpression");
637
637
  }
638
638
  function kt(o, l, c) {
639
- for (var h = [], A = !0; !D(o); ) {
640
- if (A)
641
- A = !1;
639
+ for (var h = [], R = !0; !D(o); ) {
640
+ if (R)
641
+ R = !1;
642
642
  else if (C(be), l && O.sb && D(o))
643
643
  break;
644
- h.push(c && j === be ? null : Q(!0));
644
+ h.push(c && A === be ? null : Q(!0));
645
645
  }
646
646
  return h;
647
647
  }
648
648
  function ue(o) {
649
649
  var l = L();
650
- return o && O.yb === "everywhere" && (o = !1), j === Re ? (!o && (O.yb && _r(le) || oe && $n(le)) && x.slice(X, Ae).indexOf("\\") === -1 && n(X, "The keyword '" + le + "' is reserved"), l.name = le) : o && j.l ? l.name = j.l : N(), Ve = !1, y(), E(l, "Identifier");
650
+ return o && O.yb === "everywhere" && (o = !1), A === Re ? (!o && (O.yb && _r(le) || oe && $n(le)) && x.slice(X, Ae).indexOf("\\") === -1 && n(X, "The keyword '" + le + "' is reserved"), l.name = le) : o && A.l ? l.name = A.l : M(), Ve = !1, y(), I(l, "Identifier");
651
651
  }
652
652
  e.version = "0.5.0";
653
653
  var O, x = "", je, Ct;
@@ -655,9 +655,9 @@ var B, ti = function(e) {
655
655
  x = String(o), je = x.length, O = l || {};
656
656
  for (var c in mn)
657
657
  Object.prototype.hasOwnProperty.call(O, c) || (O[c] = mn[c]);
658
- for (Ct = O.sourceFile, ke = 1, d = de = 0, Ve = !0, f(), c = O.dc, Tt = xe = d, O.C && (jt = new a()), Le = oe = !1, z = [], v(), o = c || L(), l = !0, c || (o.body = []); j !== At; )
658
+ for (Ct = O.sourceFile, ke = 1, d = de = 0, Ve = !0, f(), c = O.dc, Tt = xe = d, O.C && (jt = new a()), Le = oe = !1, z = [], v(), o = c || L(), l = !0, c || (o.body = []); A !== At; )
659
659
  c = U(), o.body.push(c), l && Te(c) && K(!0), l = !1;
660
- return E(o, "Program");
660
+ return I(o, "Program");
661
661
  };
662
662
  var mn = {
663
663
  fc: !1,
@@ -670,7 +670,7 @@ var B, ti = function(e) {
670
670
  dc: null,
671
671
  sourceFile: null,
672
672
  vb: null
673
- }, d = 0, X = 0, Ae = 0, Et, It, j, le, Ve, ke, de, Tt = 0, xe = 0, jt, Le, z, oe, Tr = [], $e = {
673
+ }, d = 0, X = 0, Ae = 0, Et, It, A, le, Ve, ke, de, Tt = 0, xe = 0, jt, Le, z, oe, Tr = [], $e = {
674
674
  type: "num"
675
675
  }, gn = {
676
676
  type: "regexp"
@@ -2543,9 +2543,9 @@ const vi = (e) => e.split(`
2543
2543
  context: t,
2544
2544
  event: r,
2545
2545
  state: u
2546
- }), g = f.map(([R]) => {
2547
- const M = Qn(R);
2548
- return `var ${R} = ${M} === undefined ? undefined : JSON.parse(${M});`;
2546
+ }), g = f.map(([E]) => {
2547
+ const P = Qn(E);
2548
+ return `var ${E} = ${P} === undefined ? undefined : JSON.parse(${P});`;
2549
2549
  }).join(`
2550
2550
  `), v = vi(s);
2551
2551
  if (v === "") {
@@ -2559,21 +2559,21 @@ function theFunction() {
2559
2559
  ${v}
2560
2560
  }
2561
2561
  theFunction();
2562
- `, _ = (R, M) => {
2563
- const H = pr(u, R, M);
2562
+ `, _ = (E, P) => {
2563
+ const H = pr(u, E, P);
2564
2564
  a == null || a(H);
2565
- }, W = function(R, M) {
2565
+ }, W = function(E, P) {
2566
2566
  f.forEach(([H, G]) => {
2567
2567
  const y = JSON.stringify(G);
2568
- R.setProperty(M, Qn(H), y);
2569
- }), R.setProperty(M, "setRootState", R.createNativeFunction(_));
2568
+ E.setProperty(P, Qn(H), y);
2569
+ }), E.setProperty(P, "setRootState", E.createNativeFunction(_));
2570
2570
  };
2571
2571
  try {
2572
- const R = new m(b, W);
2573
- return R.run(), R.pseudoToNative(R.value);
2574
- } catch (R) {
2572
+ const E = new m(b, W);
2573
+ return E.run(), E.pseudoToNative(E.value);
2574
+ } catch (E) {
2575
2575
  Fe.warn("Custom code error in edge runtime. NOTE: your code must be ES5 JavaScript.", {
2576
- e: R
2576
+ e: E
2577
2577
  });
2578
2578
  return;
2579
2579
  }
@@ -2787,7 +2787,7 @@ function dn(e) {
2787
2787
  return Ht(n.hide) ? !n.hide : Ht(n.show) ? n.show : !0;
2788
2788
  }
2789
2789
  function r() {
2790
- var R;
2790
+ var E;
2791
2791
  const n = ft({
2792
2792
  block: e.block,
2793
2793
  localState: e.context.localState,
@@ -2796,7 +2796,7 @@ function dn(e) {
2796
2796
  context: e.context.context,
2797
2797
  shouldEvaluateBindings: !0
2798
2798
  }), i = n.responsiveStyles, a = e.context.content, s = Sr(
2799
- ((R = a == null ? void 0 : a.meta) == null ? void 0 : R.breakpoints) || {}
2799
+ ((E = a == null ? void 0 : a.meta) == null ? void 0 : E.breakpoints) || {}
2800
2800
  ), u = i == null ? void 0 : i.large, f = i == null ? void 0 : i.medium, g = i == null ? void 0 : i.small, v = n.id;
2801
2801
  if (!v)
2802
2802
  return "";
@@ -2820,7 +2820,7 @@ function dn(e) {
2820
2820
  }) : "";
2821
2821
  return [b, _, W].join(" ");
2822
2822
  }
2823
- return /* @__PURE__ */ p(P, { children: r() && t() ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(gt, { styles: r() }) }) : null });
2823
+ return /* @__PURE__ */ p(N, { children: r() && t() ? /* @__PURE__ */ p(N, { children: /* @__PURE__ */ p(gt, { styles: r() }) }) : null });
2824
2824
  }
2825
2825
  function Ii(e) {
2826
2826
  return e.charAt(0).toUpperCase() + e.slice(1);
@@ -2890,9 +2890,9 @@ function Oi(e) {
2890
2890
  }
2891
2891
  }
2892
2892
  function tr(e) {
2893
- return /* @__PURE__ */ Z(P, { children: [
2893
+ return /* @__PURE__ */ Z(N, { children: [
2894
2894
  " ",
2895
- e.hasChildren ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ Z(
2895
+ e.hasChildren ? /* @__PURE__ */ p(N, { children: /* @__PURE__ */ Z(
2896
2896
  e.Wrapper,
2897
2897
  {
2898
2898
  ...ht({
@@ -2913,7 +2913,7 @@ function tr(e) {
2913
2913
  " "
2914
2914
  ]
2915
2915
  }
2916
- ) }) : /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(
2916
+ ) }) : /* @__PURE__ */ p(N, { children: /* @__PURE__ */ p(
2917
2917
  e.Wrapper,
2918
2918
  {
2919
2919
  ...ht({
@@ -2986,7 +2986,7 @@ function nr(e) {
2986
2986
  const [t, r] = $(
2987
2987
  () => e.isInteractive ? Pi : e.componentRef
2988
2988
  );
2989
- return /* @__PURE__ */ p(P, { children: e.componentRef ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ Z(
2989
+ return /* @__PURE__ */ p(N, { children: e.componentRef ? /* @__PURE__ */ p(N, { children: /* @__PURE__ */ Z(
2990
2990
  t,
2991
2991
  {
2992
2992
  ...Ni({
@@ -3047,7 +3047,8 @@ function vt(e) {
3047
3047
  });
3048
3048
  }
3049
3049
  function n() {
3050
- return r() ? e.block : ft({
3050
+ var E;
3051
+ return (E = e.block.repeat) != null && E.collection ? e.block : ft({
3051
3052
  block: e.block,
3052
3053
  localState: e.context.localState,
3053
3054
  rootState: e.context.rootState,
@@ -3060,21 +3061,22 @@ function vt(e) {
3060
3061
  return e.block.tagName || "div";
3061
3062
  }
3062
3063
  function a() {
3063
- return "hide" in n() ? !n().hide : "show" in n() ? n().show : !0;
3064
+ var E, P;
3065
+ return "hide" in n() ? !n().hide : "show" in n() ? n().show : !((E = e.block.repeat) != null && E.collection && !((P = r == null ? void 0 : r()) != null && P.length));
3064
3066
  }
3065
3067
  function s() {
3066
- var M;
3067
- return !((M = t == null ? void 0 : t()) != null && M.component) && !r() ? n().children ?? [] : [];
3068
+ var P;
3069
+ return !((P = t == null ? void 0 : t()) != null && P.component) && !r() ? n().children ?? [] : [];
3068
3070
  }
3069
3071
  function u() {
3070
- var R, M, H, G, y;
3072
+ var E, P, H, G, y;
3071
3073
  return {
3072
3074
  blockChildren: n().children ?? [],
3073
- componentRef: (R = t == null ? void 0 : t()) == null ? void 0 : R.component,
3075
+ componentRef: (E = t == null ? void 0 : t()) == null ? void 0 : E.component,
3074
3076
  componentOptions: {
3075
3077
  ...Jr(n()),
3076
3078
  builderContext: e.context,
3077
- ...((M = t == null ? void 0 : t()) == null ? void 0 : M.name) === "Symbol" || ((H = t == null ? void 0 : t()) == null ? void 0 : H.name) === "Columns" ? {
3079
+ ...((P = t == null ? void 0 : t()) == null ? void 0 : P.name) === "Symbol" || ((H = t == null ? void 0 : t()) == null ? void 0 : H.name) === "Columns" ? {
3078
3080
  builderComponents: e.registeredComponents
3079
3081
  } : {}
3080
3082
  },
@@ -3086,7 +3088,7 @@ function vt(e) {
3086
3088
  };
3087
3089
  }
3088
3090
  const [f, g] = $(() => e.context);
3089
- return /* @__PURE__ */ p(P, { children: a() ? /* @__PURE__ */ p(P, { children: (v = t == null ? void 0 : t()) != null && v.noWrap ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(
3091
+ return /* @__PURE__ */ p(N, { children: a() ? /* @__PURE__ */ p(N, { children: (v = t == null ? void 0 : t()) != null && v.noWrap ? /* @__PURE__ */ p(N, { children: /* @__PURE__ */ p(
3090
3092
  nr,
3091
3093
  {
3092
3094
  componentRef: u().componentRef,
@@ -3098,8 +3100,8 @@ function vt(e) {
3098
3100
  includeBlockProps: u().includeBlockProps,
3099
3101
  isInteractive: u().isInteractive
3100
3102
  }
3101
- ) }) : /* @__PURE__ */ Z(P, { children: [
3102
- Lt(i()) ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(
3103
+ ) }) : /* @__PURE__ */ Z(N, { children: [
3104
+ Lt(i()) ? /* @__PURE__ */ p(N, { children: /* @__PURE__ */ p(
3103
3105
  tr,
3104
3106
  {
3105
3107
  Wrapper: i(),
@@ -3108,16 +3110,16 @@ function vt(e) {
3108
3110
  hasChildren: !1
3109
3111
  }
3110
3112
  ) }) : null,
3111
- !Lt(i()) && r() ? /* @__PURE__ */ p(P, { children: (b = r()) == null ? void 0 : b.map((R, M) => /* @__PURE__ */ p(
3113
+ !Lt(i()) && r() ? /* @__PURE__ */ p(N, { children: (b = r()) == null ? void 0 : b.map((E, P) => /* @__PURE__ */ p(
3112
3114
  Mi,
3113
3115
  {
3114
- repeatContext: R.context,
3115
- block: R.block,
3116
+ repeatContext: E.context,
3117
+ block: E.block,
3116
3118
  registeredComponents: e.registeredComponents
3117
3119
  },
3118
- M
3120
+ P
3119
3121
  )) }) : null,
3120
- !Lt(i()) && !r() ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ Z(
3122
+ !Lt(i()) && !r() ? /* @__PURE__ */ p(N, { children: /* @__PURE__ */ Z(
3121
3123
  tr,
3122
3124
  {
3123
3125
  Wrapper: i(),
@@ -3138,22 +3140,22 @@ function vt(e) {
3138
3140
  isInteractive: u().isInteractive
3139
3141
  }
3140
3142
  ),
3141
- (_ = s()) == null ? void 0 : _.map((R) => /* @__PURE__ */ p(
3143
+ (_ = s()) == null ? void 0 : _.map((E) => /* @__PURE__ */ p(
3142
3144
  vt,
3143
3145
  {
3144
- block: R,
3146
+ block: E,
3145
3147
  context: f,
3146
3148
  registeredComponents: e.registeredComponents
3147
3149
  },
3148
- "block-" + R.id
3150
+ "block-" + E.id
3149
3151
  )),
3150
- (W = s()) == null ? void 0 : W.map((R) => /* @__PURE__ */ p(
3152
+ (W = s()) == null ? void 0 : W.map((E) => /* @__PURE__ */ p(
3151
3153
  dn,
3152
3154
  {
3153
- block: R,
3155
+ block: E,
3154
3156
  context: f
3155
3157
  },
3156
- "block-style-" + R.id
3158
+ "block-style-" + E.id
3157
3159
  ))
3158
3160
  ]
3159
3161
  }
@@ -3191,7 +3193,7 @@ function Fi(e) {
3191
3193
  "*"
3192
3194
  ));
3193
3195
  }
3194
- return /* @__PURE__ */ Z(P, { children: [
3196
+ return /* @__PURE__ */ Z(N, { children: [
3195
3197
  /* @__PURE__ */ p(
3196
3198
  "div",
3197
3199
  {
@@ -3223,7 +3225,7 @@ function fn(e) {
3223
3225
  path: e.path,
3224
3226
  styleProp: e.styleProp,
3225
3227
  children: [
3226
- e.blocks ? /* @__PURE__ */ p(P, { children: (n = e.blocks) == null ? void 0 : n.map((a) => /* @__PURE__ */ p(
3228
+ e.blocks ? /* @__PURE__ */ p(N, { children: (n = e.blocks) == null ? void 0 : n.map((a) => /* @__PURE__ */ p(
3227
3229
  vt,
3228
3230
  {
3229
3231
  block: a,
@@ -3232,7 +3234,7 @@ function fn(e) {
3232
3234
  },
3233
3235
  "render-block-" + a.id
3234
3236
  )) }) : null,
3235
- e.blocks ? /* @__PURE__ */ p(P, { children: (i = e.blocks) == null ? void 0 : i.map((a) => /* @__PURE__ */ p(
3237
+ e.blocks ? /* @__PURE__ */ p(N, { children: (i = e.blocks) == null ? void 0 : i.map((a) => /* @__PURE__ */ p(
3236
3238
  dn,
3237
3239
  {
3238
3240
  block: a,
@@ -3283,7 +3285,7 @@ function Ui(e) {
3283
3285
  })
3284
3286
  };
3285
3287
  }
3286
- function R(y) {
3288
+ function E(y) {
3287
3289
  const K = y === 0 ? 0 : t, ae = f(y), se = `${K}px`, L = "100%", te = 0;
3288
3290
  return {
3289
3291
  width: ae,
@@ -3306,7 +3308,7 @@ function Ui(e) {
3306
3308
  })
3307
3309
  };
3308
3310
  }
3309
- function M(y) {
3311
+ function P(y) {
3310
3312
  var ae, se;
3311
3313
  return Sr(
3312
3314
  ((se = (ae = e.builderContext.content) == null ? void 0 : ae.meta) == null ? void 0 : se.breakpoints) || {}
@@ -3314,7 +3316,7 @@ function Ui(e) {
3314
3316
  }
3315
3317
  function H() {
3316
3318
  return `
3317
- @media (max-width: ${M("medium")}px) {
3319
+ @media (max-width: ${P("medium")}px) {
3318
3320
  .${e.builderBlock.id}-breakpoints {
3319
3321
  flex-direction: var(--flex-dir-tablet);
3320
3322
  align-items: stretch;
@@ -3326,7 +3328,7 @@ function Ui(e) {
3326
3328
  }
3327
3329
  }
3328
3330
 
3329
- @media (max-width: ${M("small")}px) {
3331
+ @media (max-width: ${P("small")}px) {
3330
3332
  .${e.builderBlock.id}-breakpoints {
3331
3333
  flex-direction: var(--flex-dir);
3332
3334
  align-items: stretch;
@@ -3339,19 +3341,19 @@ function Ui(e) {
3339
3341
  },
3340
3342
  `;
3341
3343
  }
3342
- return /* @__PURE__ */ Z(P, { children: [
3344
+ return /* @__PURE__ */ Z(N, { children: [
3343
3345
  /* @__PURE__ */ Z(
3344
3346
  "div",
3345
3347
  {
3346
3348
  className: `builder-columns ${e.builderBlock.id}-breakpoints div-53636e90`,
3347
3349
  style: W(),
3348
3350
  children: [
3349
- /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(gt, { styles: H() }) }),
3351
+ /* @__PURE__ */ p(N, { children: /* @__PURE__ */ p(gt, { styles: H() }) }),
3350
3352
  (G = e.columns) == null ? void 0 : G.map((y, K) => /* @__PURE__ */ ur(
3351
3353
  "div",
3352
3354
  {
3353
3355
  className: "builder-column div-53636e90-2",
3354
- style: R(K),
3356
+ style: E(K),
3355
3357
  key: K
3356
3358
  },
3357
3359
  /* @__PURE__ */ p(
@@ -3444,10 +3446,10 @@ function Vi(e) {
3444
3446
  };
3445
3447
  return e.aspectRatio ? f : void 0;
3446
3448
  }
3447
- return /* @__PURE__ */ Z(P, { children: [
3448
- /* @__PURE__ */ Z(P, { children: [
3449
+ return /* @__PURE__ */ Z(N, { children: [
3450
+ /* @__PURE__ */ Z(N, { children: [
3449
3451
  /* @__PURE__ */ Z("picture", { children: [
3450
- r() ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p("source", { type: "image/webp", srcSet: r() }) }) : null,
3452
+ r() ? /* @__PURE__ */ p(N, { children: /* @__PURE__ */ p("source", { type: "image/webp", srcSet: r() }) }) : null,
3451
3453
  /* @__PURE__ */ p(
3452
3454
  "img",
3453
3455
  {
@@ -3466,7 +3468,7 @@ function Vi(e) {
3466
3468
  }
3467
3469
  )
3468
3470
  ] }),
3469
- e.aspectRatio && !((a = (i = e.builderBlock) == null ? void 0 : i.children) != null && a.length && e.fitContent) ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(
3471
+ e.aspectRatio && !((a = (i = e.builderBlock) == null ? void 0 : i.children) != null && a.length && e.fitContent) ? /* @__PURE__ */ p(N, { children: /* @__PURE__ */ p(
3470
3472
  "div",
3471
3473
  {
3472
3474
  className: "builder-image-sizer div-dbab4030",
@@ -3475,8 +3477,8 @@ function Vi(e) {
3475
3477
  }
3476
3478
  }
3477
3479
  ) }) : null,
3478
- (u = (s = e.builderBlock) == null ? void 0 : s.children) != null && u.length && e.fitContent ? /* @__PURE__ */ p(P, { children: e.children }) : null,
3479
- !e.fitContent && e.children ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p("div", { className: "div-dbab4030-2", children: e.children }) }) : null
3480
+ (u = (s = e.builderBlock) == null ? void 0 : s.children) != null && u.length && e.fitContent ? /* @__PURE__ */ p(N, { children: e.children }) : null,
3481
+ !e.fitContent && e.children ? /* @__PURE__ */ p(N, { children: /* @__PURE__ */ p("div", { className: "div-dbab4030-2", children: e.children }) }) : null
3480
3482
  ] }),
3481
3483
  /* @__PURE__ */ p("style", { children: `.img-dbab4030 {
3482
3484
  opacity: 1;
@@ -4250,7 +4252,7 @@ function oo(e) {
4250
4252
  children: e.lazyLoad ? null : /* @__PURE__ */ p("source", { type: "video/mp4", src: e.video })
4251
4253
  }
4252
4254
  ),
4253
- e.aspectRatio && !(e.fitContent && ((a = (i = e.builderBlock) == null ? void 0 : i.children) != null && a.length)) ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(
4255
+ e.aspectRatio && !(e.fitContent && ((a = (i = e.builderBlock) == null ? void 0 : i.children) != null && a.length)) ? /* @__PURE__ */ p(N, { children: /* @__PURE__ */ p(
4254
4256
  "div",
4255
4257
  {
4256
4258
  style: {
@@ -4261,7 +4263,7 @@ function oo(e) {
4261
4263
  }
4262
4264
  }
4263
4265
  ) }) : null,
4264
- (u = (s = e.builderBlock) == null ? void 0 : s.children) != null && u.length && e.fitContent ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(
4266
+ (u = (s = e.builderBlock) == null ? void 0 : s.children) != null && u.length && e.fitContent ? /* @__PURE__ */ p(N, { children: /* @__PURE__ */ p(
4265
4267
  "div",
4266
4268
  {
4267
4269
  style: {
@@ -4272,7 +4274,7 @@ function oo(e) {
4272
4274
  children: e.children
4273
4275
  }
4274
4276
  ) }) : null,
4275
- (g = (f = e.builderBlock) == null ? void 0 : f.children) != null && g.length && !e.fitContent ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(
4277
+ (g = (f = e.builderBlock) == null ? void 0 : f.children) != null && g.length && !e.fitContent ? /* @__PURE__ */ p(N, { children: /* @__PURE__ */ p(
4276
4278
  "div",
4277
4279
  {
4278
4280
  style: {
@@ -4486,7 +4488,7 @@ const po = (e, t, r = !0) => {
4486
4488
  builderElementIndex: r && n ? [].slice.call(document.getElementsByClassName(n)).indexOf(r) : void 0
4487
4489
  }
4488
4490
  };
4489
- }, vo = "0.7.4", yo = () => {
4491
+ }, vo = "0.7.5", yo = () => {
4490
4492
  Hr("insertMenu", {
4491
4493
  name: "_default",
4492
4494
  default: !0,
@@ -4570,39 +4572,39 @@ const xo = (e = {}) => {
4570
4572
  })));
4571
4573
  };
4572
4574
  function bo(e) {
4573
- var ae, se, L, te, E, Te, D;
4575
+ var ae, se, L, te, I, Te, D;
4574
4576
  const t = Jt(null), [r, n] = $(() => 0);
4575
- function i(T) {
4576
- var C, N, V, U, ye;
4577
- const I = {
4577
+ function i(j) {
4578
+ var C, M, V, U, ye;
4579
+ const T = {
4578
4580
  ...e.builderContextSignal.content,
4579
- ...T,
4581
+ ...j,
4580
4582
  data: {
4581
4583
  ...(C = e.builderContextSignal.content) == null ? void 0 : C.data,
4582
- ...T == null ? void 0 : T.data
4584
+ ...j == null ? void 0 : j.data
4583
4585
  },
4584
4586
  meta: {
4585
- ...(N = e.builderContextSignal.content) == null ? void 0 : N.meta,
4586
- ...T == null ? void 0 : T.meta,
4587
- breakpoints: ((V = T == null ? void 0 : T.meta) == null ? void 0 : V.breakpoints) || ((ye = (U = e.builderContextSignal.content) == null ? void 0 : U.meta) == null ? void 0 : ye.breakpoints)
4587
+ ...(M = e.builderContextSignal.content) == null ? void 0 : M.meta,
4588
+ ...j == null ? void 0 : j.meta,
4589
+ breakpoints: ((V = j == null ? void 0 : j.meta) == null ? void 0 : V.breakpoints) || ((ye = (U = e.builderContextSignal.content) == null ? void 0 : U.meta) == null ? void 0 : ye.breakpoints)
4588
4590
  }
4589
4591
  };
4590
4592
  e.setBuilderContextSignal((we) => ({
4591
4593
  ...we,
4592
- content: I
4594
+ content: T
4593
4595
  }));
4594
4596
  }
4595
4597
  $(() => 0);
4596
4598
  const [a, s] = $(
4597
4599
  () => !1
4598
4600
  );
4599
- function u(T) {
4601
+ function u(j) {
4600
4602
  var C;
4601
- const { data: I } = T;
4602
- if (I)
4603
- switch (I.type) {
4603
+ const { data: T } = j;
4604
+ if (T)
4605
+ switch (T.type) {
4604
4606
  case "builder.configureSdk": {
4605
- const N = I.data, { breakpoints: V, contentId: U } = N;
4607
+ const M = T.data, { breakpoints: V, contentId: U } = M;
4606
4608
  if (!U || U !== ((C = e.builderContextSignal.content) == null ? void 0 : C.id))
4607
4609
  return;
4608
4610
  V && i({
@@ -4613,17 +4615,17 @@ function bo(e) {
4613
4615
  break;
4614
4616
  }
4615
4617
  case "builder.contentUpdate": {
4616
- const N = I.data, V = N.key || N.alias || N.entry || N.modelName, U = N.data;
4618
+ const M = T.data, V = M.key || M.alias || M.entry || M.modelName, U = M.data;
4617
4619
  V === e.model && (i(U), n(r + 1));
4618
4620
  break;
4619
4621
  }
4620
4622
  }
4621
4623
  }
4622
4624
  function f() {
4623
- var I, C;
4624
- const T = (C = (I = e.builderContextSignal.content) == null ? void 0 : I.data) == null ? void 0 : C.jsCode;
4625
- T && et({
4626
- code: T,
4625
+ var T, C;
4626
+ const j = (C = (T = e.builderContextSignal.content) == null ? void 0 : T.data) == null ? void 0 : C.jsCode;
4627
+ j && et({
4628
+ code: j,
4627
4629
  context: e.context || {},
4628
4630
  localState: void 0,
4629
4631
  rootState: e.builderContextSignal.rootState,
@@ -4631,26 +4633,26 @@ function bo(e) {
4631
4633
  });
4632
4634
  }
4633
4635
  const [g, v] = $(() => ({})), [b, _] = $(() => !1);
4634
- function W(T) {
4635
- var I, C;
4636
+ function W(j) {
4637
+ var T, C;
4636
4638
  if (e.builderContextSignal.content) {
4637
- const N = (I = e.builderContextSignal.content) == null ? void 0 : I.testVariationId, V = (C = e.builderContextSignal.content) == null ? void 0 : C.id;
4639
+ const M = (T = e.builderContextSignal.content) == null ? void 0 : T.testVariationId, V = (C = e.builderContextSignal.content) == null ? void 0 : C.id;
4638
4640
  Kn({
4639
4641
  type: "click",
4640
4642
  canTrack: dt(e.canTrack),
4641
4643
  contentId: V,
4642
4644
  apiKey: e.apiKey,
4643
- variationId: N !== V ? N : void 0,
4644
- ...go(T),
4645
+ variationId: M !== V ? M : void 0,
4646
+ ...go(j),
4645
4647
  unique: !b
4646
4648
  });
4647
4649
  }
4648
4650
  b || _(!0);
4649
4651
  }
4650
- function R(T) {
4651
- return T.replace(
4652
+ function E(j) {
4653
+ return j.replace(
4652
4654
  /{{([^}]+)}}/g,
4653
- (I, C) => et({
4655
+ (T, C) => et({
4654
4656
  code: C,
4655
4657
  context: e.context || {},
4656
4658
  localState: void 0,
@@ -4659,27 +4661,27 @@ function bo(e) {
4659
4661
  })
4660
4662
  );
4661
4663
  }
4662
- function M({ url: T, key: I }) {
4663
- zr(T).then((C) => C.json()).then((C) => {
4664
+ function P({ url: j, key: T }) {
4665
+ zr(j).then((C) => C.json()).then((C) => {
4664
4666
  var V, U;
4665
- const N = {
4667
+ const M = {
4666
4668
  ...e.builderContextSignal.rootState,
4667
- [I]: C
4669
+ [T]: C
4668
4670
  };
4669
- (U = (V = e.builderContextSignal).rootSetState) == null || U.call(V, N), g[I] = !0;
4671
+ (U = (V = e.builderContextSignal).rootSetState) == null || U.call(V, M), g[T] = !0;
4670
4672
  }).catch((C) => {
4671
- console.error("error fetching dynamic data", T, C);
4673
+ console.error("error fetching dynamic data", j, C);
4672
4674
  });
4673
4675
  }
4674
4676
  function H() {
4675
- var I, C;
4676
- const T = ((C = (I = e.builderContextSignal.content) == null ? void 0 : I.data) == null ? void 0 : C.httpRequests) ?? {};
4677
- Object.entries(T).forEach(([N, V]) => {
4678
- if (V && (!g[N] || Ee())) {
4679
- const U = R(V);
4680
- M({
4677
+ var T, C;
4678
+ const j = ((C = (T = e.builderContextSignal.content) == null ? void 0 : T.data) == null ? void 0 : C.httpRequests) ?? {};
4679
+ Object.entries(j).forEach(([M, V]) => {
4680
+ if (V && (!g[M] || Ee())) {
4681
+ const U = E(V);
4682
+ P({
4681
4683
  url: U,
4682
- key: N
4684
+ key: M
4683
4685
  });
4684
4686
  }
4685
4687
  });
@@ -4699,7 +4701,7 @@ function bo(e) {
4699
4701
  )
4700
4702
  );
4701
4703
  }
4702
- function y(T) {
4704
+ function y(j) {
4703
4705
  n(r + 1), window.addEventListener("message", u), yo(), xo({
4704
4706
  ...e.locale ? {
4705
4707
  locale: e.locale
@@ -4712,20 +4714,20 @@ function bo(e) {
4712
4714
  } : {}
4713
4715
  }), Object.values(
4714
4716
  e.builderContextSignal.componentInfos
4715
- ).forEach((I) => {
4716
- var N;
4717
- const C = Gr(I);
4718
- (N = window.parent) == null || N.postMessage(C, "*");
4717
+ ).forEach((T) => {
4718
+ var M;
4719
+ const C = Gr(T);
4720
+ (M = window.parent) == null || M.postMessage(C, "*");
4719
4721
  }), window.addEventListener(
4720
4722
  "builder:component:stateChangeListenerActivated",
4721
4723
  G
4722
4724
  );
4723
4725
  }
4724
- function K(T) {
4725
- const I = new URL(location.href).searchParams, C = I.get("builder.preview"), N = I.get(
4726
+ function K(j) {
4727
+ const T = new URL(location.href).searchParams, C = T.get("builder.preview"), M = T.get(
4726
4728
  `builder.preview.${C}`
4727
- ), V = I.get("apiKey") || I.get("builder.space");
4728
- C === e.model && V === e.apiKey && (!e.content || N === e.content.id) && dr({
4729
+ ), V = T.get("apiKey") || T.get("builder.space");
4730
+ C === e.model && V === e.apiKey && (!e.content || M === e.content.id) && dr({
4729
4731
  model: e.model,
4730
4732
  apiKey: e.apiKey,
4731
4733
  apiVersion: e.builderContextSignal.apiVersion
@@ -4734,40 +4736,40 @@ function bo(e) {
4734
4736
  });
4735
4737
  }
4736
4738
  return ee(() => {
4737
- var T;
4738
- return (T = t.current) == null || T.addEventListener(
4739
+ var j;
4740
+ return (j = t.current) == null || j.addEventListener(
4739
4741
  "initeditingbldr",
4740
4742
  y
4741
4743
  ), () => {
4742
- var I;
4743
- return (I = t.current) == null ? void 0 : I.removeEventListener(
4744
+ var T;
4745
+ return (T = t.current) == null ? void 0 : T.removeEventListener(
4744
4746
  "initeditingbldr",
4745
4747
  y
4746
4748
  );
4747
4749
  };
4748
4750
  }, []), ee(() => {
4749
- var T;
4750
- return (T = t.current) == null || T.addEventListener(
4751
+ var j;
4752
+ return (j = t.current) == null || j.addEventListener(
4751
4753
  "initpreviewingbldr",
4752
4754
  K
4753
4755
  ), () => {
4754
- var I;
4755
- return (I = t.current) == null ? void 0 : I.removeEventListener(
4756
+ var T;
4757
+ return (T = t.current) == null ? void 0 : T.removeEventListener(
4756
4758
  "initpreviewingbldr",
4757
4759
  K
4758
4760
  );
4759
4761
  };
4760
4762
  }, []), ee(() => {
4761
- var T, I;
4763
+ var j, T;
4762
4764
  if (Ie()) {
4763
4765
  if (Ee() && t.current && t.current.dispatchEvent(new CustomEvent("initeditingbldr")), e.builderContextSignal.content && dt(e.canTrack)) {
4764
- const N = (T = e.builderContextSignal.content) == null ? void 0 : T.testVariationId, V = (I = e.builderContextSignal.content) == null ? void 0 : I.id, U = e.apiKey;
4766
+ const M = (j = e.builderContextSignal.content) == null ? void 0 : j.testVariationId, V = (T = e.builderContextSignal.content) == null ? void 0 : T.id, U = e.apiKey;
4765
4767
  Kn({
4766
4768
  type: "impression",
4767
4769
  canTrack: !0,
4768
4770
  contentId: V,
4769
4771
  apiKey: U,
4770
- variationId: N !== V ? N : void 0
4772
+ variationId: M !== V ? M : void 0
4771
4773
  });
4772
4774
  }
4773
4775
  Kr() && t.current && t.current.dispatchEvent(new CustomEvent("initpreviewingbldr"));
@@ -4793,13 +4795,13 @@ function bo(e) {
4793
4795
  "builder:component:stateChangeListenerActivated",
4794
4796
  G
4795
4797
  ));
4796
- }, []), /* @__PURE__ */ p(Zt.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ ur(
4798
+ }, []), /* @__PURE__ */ p(Zt.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content ? /* @__PURE__ */ p(N, { children: /* @__PURE__ */ ur(
4797
4799
  "div",
4798
4800
  {
4799
4801
  key: r,
4800
4802
  ref: t,
4801
- onClick: (T) => W(T),
4802
- "builder-content-id": (E = e.builderContextSignal.content) == null ? void 0 : E.id,
4803
+ onClick: (j) => W(j),
4804
+ "builder-content-id": (I = e.builderContextSignal.content) == null ? void 0 : I.id,
4803
4805
  "builder-model": e.model,
4804
4806
  ...e.showContent ? {} : {
4805
4807
  hidden: !0,
@@ -4878,22 +4880,17 @@ const Eo = ({
4878
4880
  locale: r
4879
4881
  }) => {
4880
4882
  var a, s, u;
4881
- const n = {};
4882
- (s = (a = e == null ? void 0 : e.data) == null ? void 0 : a.inputs) == null || s.forEach((f) => {
4883
- var g;
4884
- f.name && f.defaultValue !== void 0 && ((g = e == null ? void 0 : e.data) != null && g.state) && e.data.state[f.name] === void 0 && (n[f.name] = f.defaultValue);
4885
- });
4886
- const i = {
4887
- ...(u = e == null ? void 0 : e.data) == null ? void 0 : u.state,
4883
+ const n = {}, i = ((a = e == null ? void 0 : e.data) == null ? void 0 : a.state) || {};
4884
+ return (u = (s = e == null ? void 0 : e.data) == null ? void 0 : s.inputs) == null || u.forEach((f) => {
4885
+ f.name && f.defaultValue !== void 0 && (n[f.name] = f.defaultValue);
4886
+ }), {
4887
+ ...n,
4888
+ ...i,
4888
4889
  ...t,
4889
4890
  ...r ? {
4890
4891
  locale: r
4891
4892
  } : {}
4892
4893
  };
4893
- return {
4894
- ...n,
4895
- ...i
4896
- };
4897
4894
  }, Io = ({
4898
4895
  content: e,
4899
4896
  data: t
@@ -4906,22 +4903,22 @@ const Eo = ({
4906
4903
  meta: e == null ? void 0 : e.meta
4907
4904
  } : void 0;
4908
4905
  function lr(e) {
4909
- var f, g, v, b, _, W, R;
4906
+ var f, g, v, b, _, W, E;
4910
4907
  const [t, r] = $(
4911
4908
  () => {
4912
- var M, H;
4909
+ var P, H;
4913
4910
  return ho({
4914
4911
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
4915
- variationId: (M = e.content) == null ? void 0 : M.testVariationId,
4912
+ variationId: (P = e.content) == null ? void 0 : P.testVariationId,
4916
4913
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
4917
4914
  contentId: (H = e.content) == null ? void 0 : H.id
4918
4915
  });
4919
4916
  }
4920
4917
  );
4921
- function n(M) {
4918
+ function n(P) {
4922
4919
  u((H) => ({
4923
4920
  ...H,
4924
- rootState: M
4921
+ rootState: P
4925
4922
  }));
4926
4923
  }
4927
4924
  const [i, a] = $(
@@ -4935,8 +4932,8 @@ function lr(e) {
4935
4932
  ...Gn,
4936
4933
  ...e.customComponents || []
4937
4934
  ].reduce(
4938
- (M, { component: H, ...G }) => ({
4939
- ...M,
4935
+ (P, { component: H, ...G }) => ({
4936
+ ...P,
4940
4937
  [G.name]: {
4941
4938
  component: H,
4942
4939
  ...zn(G)
@@ -4969,8 +4966,8 @@ function lr(e) {
4969
4966
  ...Gn,
4970
4967
  ...e.customComponents || []
4971
4968
  ].reduce(
4972
- (M, { component: H, ...G }) => ({
4973
- ...M,
4969
+ (P, { component: H, ...G }) => ({
4970
+ ...P,
4974
4971
  [G.name]: zn(G)
4975
4972
  }),
4976
4973
  {}
@@ -4998,8 +4995,8 @@ function lr(e) {
4998
4995
  builderContextSignal: s,
4999
4996
  setBuilderContextSignal: u,
5000
4997
  children: [
5001
- e.isSsrAbTest ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(Yt, { scriptStr: t }) }) : null,
5002
- /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(
4998
+ e.isSsrAbTest ? /* @__PURE__ */ p(N, { children: /* @__PURE__ */ p(Yt, { scriptStr: t }) }) : null,
4999
+ /* @__PURE__ */ p(N, { children: /* @__PURE__ */ p(
5003
5000
  Co,
5004
5001
  {
5005
5002
  contentId: (f = s.content) == null ? void 0 : f.id,
@@ -5010,7 +5007,7 @@ function lr(e) {
5010
5007
  /* @__PURE__ */ p(
5011
5008
  fn,
5012
5009
  {
5013
- blocks: (R = (W = s.content) == null ? void 0 : W.data) == null ? void 0 : R.blocks,
5010
+ blocks: (E = (W = s.content) == null ? void 0 : W.data) == null ? void 0 : E.blocks,
5014
5011
  context: s,
5015
5012
  registeredComponents: i
5016
5013
  }
@@ -5053,9 +5050,9 @@ function Ir(e) {
5053
5050
  });
5054
5051
  }
5055
5052
  return ee(() => {
5056
- }, []), /* @__PURE__ */ Z(P, { children: [
5057
- !e.__isNestedRender && tt !== "reactNative" ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(Yt, { scriptStr: uo() }) }) : null,
5058
- t ? /* @__PURE__ */ Z(P, { children: [
5053
+ }, []), /* @__PURE__ */ Z(N, { children: [
5054
+ !e.__isNestedRender && tt !== "reactNative" ? /* @__PURE__ */ p(N, { children: /* @__PURE__ */ p(Yt, { scriptStr: uo() }) }) : null,
5055
+ t ? /* @__PURE__ */ Z(N, { children: [
5059
5056
  /* @__PURE__ */ p(
5060
5057
  gt,
5061
5058
  {