@builder.io/sdk-react-nextjs 0.7.4 → 0.7.6

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 (29) hide show
  1. package/lib/{node/USE_CLIENT_BUNDLE-539be307.cjs → browser/USE_CLIENT_BUNDLE-0a0cc62f.cjs} +1 -1
  2. package/lib/browser/{USE_CLIENT_BUNDLE-6b3887b7.js → USE_CLIENT_BUNDLE-a7787106.js} +2 -2
  3. package/lib/{edge/USE_SERVER_BUNDLE-2c9d1a5d.js → browser/USE_SERVER_BUNDLE-05ea12e2.js} +1 -1
  4. package/lib/{edge/USE_SERVER_BUNDLE-e5ab43ec.cjs → browser/USE_SERVER_BUNDLE-73128060.cjs} +1 -1
  5. package/lib/browser/{bundle-fc3e7377.js → bundle-bf220619.js} +140 -140
  6. package/lib/browser/{bundle-df55c296.cjs → bundle-d14f38c0.cjs} +13 -13
  7. package/lib/browser/index.cjs +1 -1
  8. package/lib/browser/index.mjs +3 -3
  9. package/lib/{browser/USE_CLIENT_BUNDLE-f95a196a.cjs → edge/USE_CLIENT_BUNDLE-2b470811.cjs} +1 -1
  10. package/lib/{node/USE_CLIENT_BUNDLE-a5c6399c.js → edge/USE_CLIENT_BUNDLE-b3aaa944.js} +2 -2
  11. package/lib/{node/USE_SERVER_BUNDLE-7f4ba7e9.cjs → edge/USE_SERVER_BUNDLE-b3b4afa9.cjs} +1 -1
  12. package/lib/{node/USE_SERVER_BUNDLE-21bf3ffc.js → edge/USE_SERVER_BUNDLE-f39207f2.js} +1 -1
  13. package/lib/edge/{bundle-38f08fa1.cjs → bundle-2a7da030.cjs} +14 -14
  14. package/lib/edge/{bundle-bef73246.js → bundle-bca2cd58.js} +262 -262
  15. package/lib/edge/index.cjs +1 -1
  16. package/lib/edge/index.mjs +3 -3
  17. package/lib/{edge/USE_CLIENT_BUNDLE-a32e462e.js → node/USE_CLIENT_BUNDLE-955f9345.js} +2 -2
  18. package/lib/{edge/USE_CLIENT_BUNDLE-44225d7a.cjs → node/USE_CLIENT_BUNDLE-a8082119.cjs} +1 -1
  19. package/lib/{browser/USE_SERVER_BUNDLE-eed7792a.cjs → node/USE_SERVER_BUNDLE-136e4ed6.cjs} +1 -1
  20. package/lib/{browser/USE_SERVER_BUNDLE-b314d0f7.js → node/USE_SERVER_BUNDLE-ac2a6bf7.js} +1 -1
  21. package/lib/node/{bundle-74479d5d.js → bundle-b06f63f6.js} +80 -80
  22. package/lib/node/{bundle-f7863fb3.cjs → bundle-f16e2dbd.cjs} +8 -8
  23. package/lib/node/index.cjs +1 -1
  24. package/lib/node/index.mjs +3 -3
  25. package/package.json +1 -1
  26. package/types/cjs/components/content/content.helpers.d.ts +1 -1
  27. package/types/cjs/constants/sdk-version.d.ts +1 -1
  28. package/types/esm/components/content/content.helpers.d.ts +1 -1
  29. package/types/esm/constants/sdk-version.d.ts +1 -1
@@ -1,7 +1,7 @@
1
1
  import { LRUCache as Qr } from "lru-cache";
2
- import { jsx as C, Fragment as _, jsxs as ue } from "react/jsx-runtime";
2
+ import { jsx as C, Fragment as D, jsxs as ue } from "react/jsx-runtime";
3
3
  import { createElement as ei } from "react";
4
- import { I as ti, B as Wn, a as ni, b as ri, C as ii, E as oi, F as ai, c as si, d as li, S as ci, V as ui, e as fi } from "./USE_CLIENT_BUNDLE-a32e462e.js";
4
+ import { I as ti, B as Wn, a as ni, b as ri, C as ii, E as oi, F as ai, c as si, d as li, S as ci, V as ui, e as fi } from "./USE_CLIENT_BUNDLE-b3aaa944.js";
5
5
  import "next/navigation";
6
6
  function pi(e) {
7
7
  var t;
@@ -126,9 +126,9 @@ var P, wi = function(e) {
126
126
  function r(o, l) {
127
127
  for (var c = g, p = 1, T = 0; ; ) {
128
128
  ot.lastIndex = T;
129
- var L = ot.exec(c);
130
- if (L && L.index < o)
131
- ++p, T = L.index + L[0].length;
129
+ var $ = ot.exec(c);
130
+ if ($ && $.index < o)
131
+ ++p, T = $.index + $[0].length;
132
132
  else
133
133
  break;
134
134
  }
@@ -187,10 +187,10 @@ var P, wi = function(e) {
187
187
  break;
188
188
  }
189
189
  }
190
- function S(o) {
190
+ function E(o) {
191
191
  switch (o) {
192
192
  case 46:
193
- o = g.charCodeAt(f + 1), 48 <= o && 57 >= o ? E(!0) : (++f, s(Mn));
193
+ o = g.charCodeAt(f + 1), 48 <= o && 57 >= o ? S(!0) : (++f, s(Mn));
194
194
  return;
195
195
  case 40:
196
196
  return ++f, s(oe);
@@ -214,7 +214,7 @@ var P, wi = function(e) {
214
214
  return ++f, s(Un);
215
215
  case 48:
216
216
  if (o = g.charCodeAt(f + 1), o === 120 || o === 88) {
217
- f += 2, o = O(16), o === null && r(D + 2, "Expected hexadecimal number"), n(g.charCodeAt(f)) && r(f, "Identifier directly after number"), s(Ve, o);
217
+ f += 2, o = O(16), o === null && r(L + 2, "Expected hexadecimal number"), n(g.charCodeAt(f)) && r(f, "Identifier directly after number"), s(Ve, o);
218
218
  return;
219
219
  }
220
220
  case 49:
@@ -226,12 +226,12 @@ var P, wi = function(e) {
226
226
  case 55:
227
227
  case 56:
228
228
  case 57:
229
- return E(!1);
229
+ return S(!1);
230
230
  case 34:
231
231
  case 39:
232
232
  f++;
233
233
  for (var l = ""; ; ) {
234
- f >= ke && r(D, "Unterminated string constant");
234
+ f >= ke && r(L, "Unterminated string constant");
235
235
  var c = g.charCodeAt(f);
236
236
  if (c === o) {
237
237
  ++f, s(tt, l);
@@ -254,13 +254,13 @@ var P, wi = function(e) {
254
254
  l += "\r";
255
255
  break;
256
256
  case 120:
257
- l += String.fromCharCode(w(2));
257
+ l += String.fromCharCode(x(2));
258
258
  break;
259
259
  case 117:
260
- l += String.fromCharCode(w(4));
260
+ l += String.fromCharCode(x(4));
261
261
  break;
262
262
  case 85:
263
- l += String.fromCharCode(w(8));
263
+ l += String.fromCharCode(x(8));
264
264
  break;
265
265
  case 116:
266
266
  l += " ";
@@ -286,7 +286,7 @@ var P, wi = function(e) {
286
286
  l += String.fromCharCode(c);
287
287
  }
288
288
  } else
289
- c !== 13 && c !== 10 && c !== 8232 && c !== 8233 || r(D, "Unterminated string constant"), l += String.fromCharCode(c), ++f;
289
+ c !== 13 && c !== 10 && c !== 8232 && c !== 8233 || r(L, "Unterminated string constant"), l += String.fromCharCode(c), ++f;
290
290
  }
291
291
  return;
292
292
  case 47:
@@ -321,15 +321,15 @@ var P, wi = function(e) {
321
321
  return !1;
322
322
  }
323
323
  function k(o) {
324
- if (o ? f = D + 1 : D = f, j.C && (kt = new a()), o)
324
+ if (o ? f = L + 1 : L = f, j.C && (kt = new a()), o)
325
325
  return M();
326
326
  if (f >= ke)
327
327
  return s(Tt);
328
328
  if (o = g.charCodeAt(f), n(o) || o === 92)
329
- return W();
330
- if (S(o) === !1) {
329
+ return F();
330
+ if (E(o) === !1) {
331
331
  if (o = String.fromCharCode(o), o === "\\" || $n.test(o))
332
- return W();
332
+ return F();
333
333
  r(f, "Unexpected character '" + o + "'");
334
334
  }
335
335
  }
@@ -357,13 +357,13 @@ var P, wi = function(e) {
357
357
  o = g.slice(c, f), ++f, (l = N()) && !/^[gmi]*$/.test(l) && r(c, "Invalid regexp flag");
358
358
  try {
359
359
  var T = new RegExp(o, l);
360
- } catch (L) {
361
- throw L instanceof SyntaxError && r(c, L.message), L;
360
+ } catch ($) {
361
+ throw $ instanceof SyntaxError && r(c, $.message), $;
362
362
  }
363
363
  s(mn, T);
364
364
  }
365
365
  function O(o, l) {
366
- for (var c = f, p = 0, T = l === void 0 ? 1 / 0 : l, L = 0; L < T; ++L) {
366
+ for (var c = f, p = 0, T = l === void 0 ? 1 / 0 : l, $ = 0; $ < T; ++$) {
367
367
  var X = g.charCodeAt(f);
368
368
  if (X = 97 <= X ? X - 97 + 10 : 65 <= X ? X - 65 + 10 : 48 <= X && 57 >= X ? X - 48 : 1 / 0, X >= o)
369
369
  break;
@@ -371,14 +371,14 @@ var P, wi = function(e) {
371
371
  }
372
372
  return f === c || l !== void 0 && f - c !== l ? null : p;
373
373
  }
374
- function E(o) {
374
+ function S(o) {
375
375
  var l = f, c = !1, p = g.charCodeAt(f) === 48;
376
376
  o || O(10) !== null || r(l, "Invalid number"), g.charCodeAt(f) === 46 && (++f, O(10), c = !0), o = g.charCodeAt(f), (o === 69 || o === 101) && (o = g.charCodeAt(++f), o !== 43 && o !== 45 || ++f, O(10) === null && r(l, "Invalid number"), c = !0), n(g.charCodeAt(f)) && r(f, "Identifier directly after number"), o = g.slice(l, f);
377
377
  var T;
378
378
  c ? T = parseFloat(o) : p && o.length !== 1 ? /[89]/.test(o) || z ? r(l, "Invalid number") : T = parseInt(o, 8) : T = parseInt(o, 10), s(Ve, T);
379
379
  }
380
- function w(o) {
381
- return o = O(16, o), o === null && r(D, "Bad character escape sequence"), o;
380
+ function x(o) {
381
+ return o = O(16, o), o === null && r(L, "Bad character escape sequence"), o;
382
382
  }
383
383
  function N() {
384
384
  Te = !1;
@@ -387,7 +387,7 @@ var P, wi = function(e) {
387
387
  if (t(p))
388
388
  Te && (o += g.charAt(f)), ++f;
389
389
  else if (p === 92) {
390
- Te || (o = g.slice(c, f)), Te = !0, g.charCodeAt(++f) !== 117 && r(f, "Expecting Unicode escape sequence \\uXXXX"), ++f, p = w(4);
390
+ Te || (o = g.slice(c, f)), Te = !0, g.charCodeAt(++f) !== 117 && r(f, "Expecting Unicode escape sequence \\uXXXX"), ++f, p = x(4);
391
391
  var T = String.fromCharCode(p);
392
392
  T || r(f - 1, "Invalid Unicode escape"), (l ? n(p) : t(p)) || r(f - 4, "Invalid Unicode escape"), o += T;
393
393
  } else
@@ -396,29 +396,29 @@ var P, wi = function(e) {
396
396
  }
397
397
  return Te ? o : g.slice(c, f);
398
398
  }
399
- function W() {
399
+ function F() {
400
400
  var o = N(), l = Ee;
401
401
  !Te && Jr(o) && (l = Vr[o]), s(l, o);
402
402
  }
403
403
  function m() {
404
- Et = D, ge = Ce, It = Ct, k();
404
+ Et = L, ge = Ce, It = Ct, k();
405
405
  }
406
406
  function de(o) {
407
- if (z = o, f = D, j.C)
407
+ if (z = o, f = L, j.C)
408
408
  for (; f < ie; )
409
409
  ie = g.lastIndexOf(`
410
410
  `, ie - 2) + 1, --be;
411
411
  d(), k();
412
412
  }
413
413
  function he() {
414
- this.type = null, this.start = D, this.end = null;
414
+ this.type = null, this.start = L, this.end = null;
415
415
  }
416
416
  function Z() {
417
417
  this.start = kt, this.end = null, St && (this.source = St);
418
418
  }
419
419
  function U() {
420
420
  var o = new he();
421
- return j.C && (o.X = new Z()), j.vb && (o.sourceFile = j.vb), j.Xa && (o.j = [D, 0]), o;
421
+ return j.C && (o.X = new Z()), j.vb && (o.sourceFile = j.vb), j.Xa && (o.j = [L, 0]), o;
422
422
  }
423
423
  function me(o) {
424
424
  var l = new he();
@@ -434,16 +434,16 @@ var P, wi = function(e) {
434
434
  return I === o ? (m(), !0) : !1;
435
435
  }
436
436
  function Ze() {
437
- return !j.fc && (I === Tt || I === Ie || it.test(g.slice(ge, D)));
437
+ return !j.fc && (I === Tt || I === Ie || it.test(g.slice(ge, L)));
438
438
  }
439
439
  function we() {
440
440
  B(ae) || Ze() || ne();
441
441
  }
442
- function F(o) {
442
+ function V(o) {
443
443
  I === o ? m() : ne();
444
444
  }
445
445
  function ne() {
446
- r(D, "Unexpected token");
446
+ r(L, "Unexpected token");
447
447
  }
448
448
  function Qe(o) {
449
449
  o.type !== "Identifier" && o.type !== "MemberExpression" && r(o.start, "Assigning to rvalue"), z && o.type === "Identifier" && rt(o.name) && r(o.start, "Assigning to " + o.name + " in strict mode");
@@ -457,76 +457,76 @@ var P, wi = function(e) {
457
457
  m();
458
458
  var c = o === At;
459
459
  B(ae) || Ze() ? l.label = null : I !== Ee ? ne() : (l.label = re(), we());
460
- for (var p = 0; p < V.length; ++p) {
461
- var T = V[p];
460
+ for (var p = 0; p < _.length; ++p) {
461
+ var T = _[p];
462
462
  if ((l.label === null || T.name === l.label.name) && (T.kind !== null && (c || T.kind === "loop") || l.label && c))
463
463
  break;
464
464
  }
465
- return p === V.length && r(l.start, "Unsyntactic " + o.l), A(l, c ? "BreakStatement" : "ContinueStatement");
465
+ return p === _.length && r(l.start, "Unsyntactic " + o.l), A(l, c ? "BreakStatement" : "ContinueStatement");
466
466
  case vn:
467
467
  return m(), we(), A(l, "DebuggerStatement");
468
468
  case wn:
469
- return m(), V.push(Bt), l.body = ee(), V.pop(), F(Nt), l.test = Ne(), we(), A(l, "DoWhileStatement");
469
+ return m(), _.push(Bt), l.body = ee(), _.pop(), V(Nt), l.test = Ne(), we(), A(l, "DoWhileStatement");
470
470
  case kn:
471
- return m(), V.push(Bt), F(oe), I === ae ? gt(l, null) : I === Pt ? (o = U(), m(), dn(o, !0), A(o, "VariableDeclaration"), o.fa.length === 1 && B(nt) ? pn(l, o) : gt(l, o)) : (o = K(!1, !0), B(nt) ? (Qe(o), pn(l, o)) : gt(l, o));
471
+ return m(), _.push(Bt), V(oe), I === ae ? gt(l, null) : I === Pt ? (o = U(), m(), dn(o, !0), A(o, "VariableDeclaration"), o.fa.length === 1 && B(nt) ? pn(l, o) : gt(l, o)) : (o = K(!1, !0), B(nt) ? (Qe(o), pn(l, o)) : gt(l, o));
472
472
  case jt:
473
473
  return m(), wt(l, !0);
474
474
  case Cn:
475
475
  return m(), l.test = Ne(), l.da = ee(), l.alternate = B(bn) ? ee() : null, A(l, "IfStatement");
476
476
  case En:
477
- return Fe || j.Ib || r(D, "'return' outside of function"), m(), B(ae) || Ze() ? l.K = null : (l.K = K(), we()), A(l, "ReturnStatement");
477
+ return Fe || j.Ib || r(L, "'return' outside of function"), m(), B(ae) || Ze() ? l.K = null : (l.K = K(), we()), A(l, "ReturnStatement");
478
478
  case Rt:
479
- for (m(), l.Qb = Ne(), l.tb = [], F(_e), V.push(Zr); I !== Ie; )
480
- I === Ot || I === xn ? (o = I === Ot, p && A(p, "SwitchCase"), l.tb.push(p = U()), p.da = [], m(), o ? p.test = K() : (c && r(Et, "Multiple default clauses"), c = !0, p.test = null), F(De)) : (p || ne(), p.da.push(ee()));
481
- return p && A(p, "SwitchCase"), m(), V.pop(), A(l, "SwitchStatement");
479
+ for (m(), l.Qb = Ne(), l.tb = [], V(_e), _.push(Zr); I !== Ie; )
480
+ I === Ot || I === xn ? (o = I === Ot, p && A(p, "SwitchCase"), l.tb.push(p = U()), p.da = [], m(), o ? p.test = K() : (c && r(Et, "Multiple default clauses"), c = !0, p.test = null), V(De)) : (p || ne(), p.da.push(ee()));
481
+ return p && A(p, "SwitchCase"), m(), _.pop(), A(l, "SwitchStatement");
482
482
  case In:
483
- return m(), it.test(g.slice(ge, D)) && r(ge, "Illegal newline after throw"), l.K = K(), we(), A(l, "ThrowStatement");
483
+ return m(), it.test(g.slice(ge, L)) && r(ge, "Illegal newline after throw"), l.K = K(), we(), A(l, "ThrowStatement");
484
484
  case Tn:
485
- return m(), l.block = Me(), l.Ea = null, I === gn && (o = U(), m(), F(oe), o.Ua = re(), z && rt(o.Ua.name) && r(o.Ua.start, "Binding " + o.Ua.name + " in strict mode"), F(te), o.body = Me(), l.Ea = A(o, "CatchClause")), l.fb = B(Sn) ? Me() : null, l.Ea || l.fb || r(l.start, "Missing catch or finally clause"), A(l, "TryStatement");
485
+ return m(), l.block = Me(), l.Ea = null, I === gn && (o = U(), m(), V(oe), o.Ua = re(), z && rt(o.Ua.name) && r(o.Ua.start, "Binding " + o.Ua.name + " in strict mode"), V(te), o.body = Me(), l.Ea = A(o, "CatchClause")), l.fb = B(Sn) ? Me() : null, l.Ea || l.fb || r(l.start, "Missing catch or finally clause"), A(l, "TryStatement");
486
486
  case Pt:
487
487
  return m(), dn(l), we(), A(l, "VariableDeclaration");
488
488
  case Nt:
489
- return m(), l.test = Ne(), V.push(Bt), l.body = ee(), V.pop(), A(l, "WhileStatement");
489
+ return m(), l.test = Ne(), _.push(Bt), l.body = ee(), _.pop(), A(l, "WhileStatement");
490
490
  case An:
491
- return z && r(D, "'with' in strict mode"), m(), l.object = Ne(), l.body = ee(), A(l, "WithStatement");
491
+ return z && r(L, "'with' in strict mode"), m(), l.object = Ne(), l.body = ee(), A(l, "WithStatement");
492
492
  case _e:
493
493
  return Me();
494
494
  case ae:
495
495
  return m(), A(l, "EmptyStatement");
496
496
  default:
497
497
  if (c = Q, T = K(), o === Ee && T.type === "Identifier" && B(De)) {
498
- for (p = 0; p < V.length; ++p)
499
- V[p].name === c && r(T.start, "Label '" + c + "' is already declared");
500
- return V.push({
498
+ for (p = 0; p < _.length; ++p)
499
+ _[p].name === c && r(T.start, "Label '" + c + "' is already declared");
500
+ return _.push({
501
501
  name: c,
502
502
  kind: I.W ? "loop" : I === Rt ? "switch" : null
503
- }), l.body = ee(), V.pop(), l.label = T, A(l, "LabeledStatement");
503
+ }), l.body = ee(), _.pop(), l.label = T, A(l, "LabeledStatement");
504
504
  }
505
505
  return l.la = T, we(), A(l, "ExpressionStatement");
506
506
  }
507
507
  }
508
508
  function Ne() {
509
- F(oe);
509
+ V(oe);
510
510
  var o = K();
511
- return F(te), o;
511
+ return V(te), o;
512
512
  }
513
513
  function Me(o) {
514
514
  var l = U(), c = !0, p = !1;
515
- for (l.body = [], F(_e); !B(Ie); ) {
515
+ for (l.body = [], V(_e); !B(Ie); ) {
516
516
  var T = ee();
517
517
  if (l.body.push(T), c && o && mt(T)) {
518
- var L = p;
518
+ var $ = p;
519
519
  de(p = !0);
520
520
  }
521
521
  c = !1;
522
522
  }
523
- return p && !L && de(!1), A(l, "BlockStatement");
523
+ return p && !$ && de(!1), A(l, "BlockStatement");
524
524
  }
525
525
  function gt(o, l) {
526
- return o.ua = l, F(ae), o.test = I === ae ? null : K(), F(ae), o.update = I === te ? null : K(), F(te), o.body = ee(), V.pop(), A(o, "ForStatement");
526
+ return o.ua = l, V(ae), o.test = I === ae ? null : K(), V(ae), o.update = I === te ? null : K(), V(te), o.body = ee(), _.pop(), A(o, "ForStatement");
527
527
  }
528
528
  function pn(o, l) {
529
- return o.left = l, o.right = K(), F(te), o.body = ee(), V.pop(), A(o, "ForInStatement");
529
+ return o.left = l, o.right = K(), V(te), o.body = ee(), _.pop(), A(o, "ForInStatement");
530
530
  }
531
531
  function dn(o, l) {
532
532
  for (o.fa = [], o.kind = "var"; ; ) {
@@ -548,7 +548,7 @@ var P, wi = function(e) {
548
548
  var l = vt(xt(), -1, o);
549
549
  if (B(Un)) {
550
550
  var c = me(l);
551
- c.test = l, c.da = K(!0), F(De), c.alternate = K(!0, o), l = A(c, "ConditionalExpression");
551
+ c.test = l, c.da = K(!0), V(De), c.alternate = K(!0, o), l = A(c, "ConditionalExpression");
552
552
  }
553
553
  return I.Cb ? (c = me(l), c.operator = Q, c.left = l, m(), c.right = yt(o), Qe(l), A(c, "AssignmentExpression")) : l;
554
554
  }
@@ -574,7 +574,7 @@ var P, wi = function(e) {
574
574
  var c = me(o);
575
575
  return c.object = o, c.Wa = re(!0), c.bb = !1, Ue(A(c, "MemberExpression"), l);
576
576
  }
577
- return B(Mt) ? (c = me(o), c.object = o, c.Wa = K(), c.bb = !0, F(Ut), Ue(A(c, "MemberExpression"), l)) : !l && B(oe) ? (c = me(o), c.callee = o, c.arguments = bt(te, !1), Ue(A(c, "CallExpression"), l)) : o;
577
+ return B(Mt) ? (c = me(o), c.object = o, c.Wa = K(), c.bb = !0, V(Ut), Ue(A(c, "MemberExpression"), l)) : !l && B(oe) ? (c = me(o), c.callee = o, c.arguments = bt(te, !1), Ue(A(c, "CallExpression"), l)) : o;
578
578
  }
579
579
  function et() {
580
580
  switch (I) {
@@ -586,39 +586,39 @@ var P, wi = function(e) {
586
586
  case Ve:
587
587
  case tt:
588
588
  case mn:
589
- return o = U(), o.value = Q, o.raw = g.slice(D, Ce), m(), A(o, "Literal");
589
+ return o = U(), o.value = Q, o.raw = g.slice(L, Ce), m(), A(o, "Literal");
590
590
  case Rn:
591
591
  case Pn:
592
592
  case Nn:
593
593
  return o = U(), o.value = I.$a, o.raw = I.l, m(), A(o, "Literal");
594
594
  case oe:
595
595
  o = kt;
596
- var l = D;
596
+ var l = L;
597
597
  m();
598
598
  var c = K();
599
- return c.start = l, c.end = Ce, j.C && (c.X.start = o, c.X.end = Ct), j.Xa && (c.j = [l, Ce]), F(te), c;
599
+ return c.start = l, c.end = Ce, j.C && (c.X.start = o, c.X.end = Ct), j.Xa && (c.j = [l, Ce]), V(te), c;
600
600
  case Mt:
601
601
  return o = U(), m(), o.elements = bt(Ut, !0, !0), A(o, "ArrayExpression");
602
602
  case _e:
603
603
  for (o = U(), l = !0, c = !1, o.h = [], m(); !B(Ie); ) {
604
604
  if (l)
605
605
  l = !1;
606
- else if (F(ye), j.sb && B(Ie))
606
+ else if (V(ye), j.sb && B(Ie))
607
607
  break;
608
608
  var p = {
609
609
  key: I === Ve || I === tt ? et() : re(!0)
610
610
  }, T = !1;
611
611
  if (B(De)) {
612
612
  p.value = K(!0);
613
- var L = p.kind = "init";
613
+ var $ = p.kind = "init";
614
614
  } else
615
- p.key.type !== "Identifier" || p.key.name !== "get" && p.key.name !== "set" ? ne() : (T = c = !0, L = p.kind = p.key.name, p.key = I === Ve || I === tt ? et() : re(!0), I !== oe && ne(), p.value = wt(U(), !1));
615
+ p.key.type !== "Identifier" || p.key.name !== "get" && p.key.name !== "set" ? ne() : (T = c = !0, $ = p.kind = p.key.name, p.key = I === Ve || I === tt ? et() : re(!0), I !== oe && ne(), p.value = wt(U(), !1));
616
616
  if (p.key.type === "Identifier" && (z || c))
617
617
  for (var X = 0; X < o.h.length; ++X) {
618
618
  var Ae = o.h[X];
619
619
  if (Ae.key.name === p.key.name) {
620
- var Ft = L === Ae.kind || T && Ae.kind === "init" || L === "init" && (Ae.kind === "get" || Ae.kind === "set");
621
- Ft && !z && L === "init" && Ae.kind === "init" && (Ft = !1), Ft && r(p.key.start, "Redefinition of property");
620
+ var Ft = $ === Ae.kind || T && Ae.kind === "init" || $ === "init" && (Ae.kind === "get" || Ae.kind === "set");
621
+ Ft && !z && $ === "init" && Ae.kind === "init" && (Ft = !1), Ft && r(p.key.start, "Redefinition of property");
622
622
  }
623
623
  }
624
624
  o.h.push(p);
@@ -634,11 +634,11 @@ var P, wi = function(e) {
634
634
  function wt(o, l) {
635
635
  I === Ee ? o.id = re() : l ? ne() : o.id = null, o.oa = [];
636
636
  var c = !0;
637
- for (F(oe); !B(te); )
638
- c ? c = !1 : F(ye), o.oa.push(re());
637
+ for (V(oe); !B(te); )
638
+ c ? c = !1 : V(ye), o.oa.push(re());
639
639
  c = Fe;
640
- var p = V;
641
- if (Fe = !0, V = [], o.body = Me(!0), Fe = c, V = p, z || o.body.body.length && mt(o.body.body[0])) {
640
+ var p = _;
641
+ if (Fe = !0, _ = [], o.body = Me(!0), Fe = c, _ = p, z || o.body.body.length && mt(o.body.body[0])) {
642
642
  for (c = o.id ? -1 : 0; c < o.oa.length; ++c)
643
643
  if (p = 0 > c ? o.id : o.oa[c], (Ln(p.name) || rt(p.name)) && r(p.start, "Defining '" + p.name + "' in strict mode"), 0 <= c)
644
644
  for (var T = 0; T < c; ++T)
@@ -650,7 +650,7 @@ var P, wi = function(e) {
650
650
  for (var p = [], T = !0; !B(o); ) {
651
651
  if (T)
652
652
  T = !1;
653
- else if (F(ye), l && j.sb && B(o))
653
+ else if (V(ye), l && j.sb && B(o))
654
654
  break;
655
655
  p.push(c && I === ye ? null : K(!0));
656
656
  }
@@ -658,7 +658,7 @@ var P, wi = function(e) {
658
658
  }
659
659
  function re(o) {
660
660
  var l = U();
661
- return o && j.yb === "everywhere" && (o = !1), I === Ee ? (!o && (j.yb && Yr(Q) || z && Ln(Q)) && g.slice(D, Ce).indexOf("\\") === -1 && r(D, "The keyword '" + Q + "' is reserved"), l.name = Q) : o && I.l ? l.name = I.l : ne(), Be = !1, m(), A(l, "Identifier");
661
+ return o && j.yb === "everywhere" && (o = !1), I === Ee ? (!o && (j.yb && Yr(Q) || z && Ln(Q)) && g.slice(L, Ce).indexOf("\\") === -1 && r(L, "The keyword '" + Q + "' is reserved"), l.name = Q) : o && I.l ? l.name = I.l : ne(), Be = !1, m(), A(l, "Identifier");
662
662
  }
663
663
  e.version = "0.5.0";
664
664
  var j, g = "", ke, St;
@@ -666,7 +666,7 @@ var P, wi = function(e) {
666
666
  g = String(o), ke = g.length, j = l || {};
667
667
  for (var c in hn)
668
668
  Object.prototype.hasOwnProperty.call(j, c) || (j[c] = hn[c]);
669
- for (St = j.sourceFile, be = 1, f = ie = 0, Be = !0, d(), c = j.dc, Et = ge = f, j.C && (It = new a()), Fe = z = !1, V = [], k(), o = c || U(), l = !0, c || (o.body = []); I !== Tt; )
669
+ for (St = j.sourceFile, be = 1, f = ie = 0, Be = !0, d(), c = j.dc, Et = ge = f, j.C && (It = new a()), Fe = z = !1, _ = [], k(), o = c || U(), l = !0, c || (o.body = []); I !== Tt; )
670
670
  c = ee(), o.body.push(c), l && mt(c) && de(!0), l = !1;
671
671
  return A(o, "Program");
672
672
  };
@@ -681,7 +681,7 @@ var P, wi = function(e) {
681
681
  dc: null,
682
682
  sourceFile: null,
683
683
  vb: null
684
- }, f = 0, D = 0, Ce = 0, kt, Ct, I, Q, Be, be, ie, Et = 0, ge = 0, It, Fe, V, z, Fr = [], Ve = {
684
+ }, f = 0, L = 0, Ce = 0, kt, Ct, I, Q, Be, be, ie, Et = 0, ge = 0, It, Fe, _, z, Fr = [], Ve = {
685
685
  type: "num"
686
686
  }, mn = {
687
687
  type: "regexp"
@@ -1026,7 +1026,7 @@ function Si(e, t) {
1026
1026
  try {
1027
1027
  return a(s);
1028
1028
  } catch (u) {
1029
- x(e, e.Gb, u.message);
1029
+ w(e, e.Gb, u.message);
1030
1030
  }
1031
1031
  };
1032
1032
  }(r[i][0]), e.g(t, r[i][1], e.i(n, !1), y);
@@ -1048,36 +1048,36 @@ function ki(e, t) {
1048
1048
  s = s.split(/\s*,\s*/);
1049
1049
  for (var u = 0; u < s.length; u++) {
1050
1050
  var d = s[u];
1051
- n.test(d) || x(e, e.T, "Invalid function argument: " + d);
1051
+ n.test(d) || w(e, e.T, "Invalid function argument: " + d);
1052
1052
  }
1053
1053
  s = s.join(", ");
1054
1054
  }
1055
1055
  try {
1056
- var S = je("(function(" + s + ") {" + a + "})", "function" + e.Wb++);
1056
+ var E = je("(function(" + s + ") {" + a + "})", "function" + e.Wb++);
1057
1057
  } catch (k) {
1058
- x(e, e.T, "Invalid code: " + k.message);
1058
+ w(e, e.T, "Invalid code: " + k.message);
1059
1059
  }
1060
- return S.body.length !== 1 && x(e, e.T, "Invalid code in function body"), Zt(e, S.body[0].la, e.N, "anonymous");
1060
+ return E.body.length !== 1 && w(e, e.T, "Invalid code in function body"), Zt(e, E.body[0].la, e.N, "anonymous");
1061
1061
  };
1062
1062
  e.O = e.i(r, !0), e.g(t, "Function", e.O, y), e.g(e.O, "prototype", e.Z, y), e.g(e.Z, "constructor", e.O, y), e.Z.Ta = function() {
1063
1063
  }, e.Z.Ta.id = e.Ya++, e.Z.Ab = !0, e.g(e.Z, "length", 0, J), e.Z.H = "Function", r = function(i, a) {
1064
1064
  var s = e.o[e.o.length - 1];
1065
- s.U = this, s.B = i, s.F = [], a != null && (a instanceof R ? s.F = dr(e, a) : x(e, e.j, "CreateListFromArrayLike called on non-object")), s.eb = !1;
1066
- }, $(e, e.O, "apply", r), r = function(i) {
1065
+ s.U = this, s.B = i, s.F = [], a != null && (a instanceof R ? s.F = dr(e, a) : w(e, e.j, "CreateListFromArrayLike called on non-object")), s.eb = !1;
1066
+ }, W(e, e.O, "apply", r), r = function(i) {
1067
1067
  var a = e.o[e.o.length - 1];
1068
1068
  a.U = this, a.B = i, a.F = [];
1069
1069
  for (var s = 1; s < arguments.length; s++)
1070
1070
  a.F.push(arguments[s]);
1071
1071
  a.eb = !1;
1072
- }, $(e, e.O, "call", r), e.ba.push("Object.defineProperty(Function.prototype, 'bind',", "{configurable: true, writable: true, value:", "function bind(oThis) {", "if (typeof this !== 'function') {", "throw TypeError('What is trying to be bound is not callable');", "}", "var aArgs = Array.prototype.slice.call(arguments, 1),", "fToBind = this,", "fNOP = function() {},", "fBound = function() {", "return fToBind.apply(this instanceof fNOP", "? this", ": oThis,", "aArgs.concat(Array.prototype.slice.call(arguments)));", "};", "if (this.prototype) {", "fNOP.prototype = this.prototype;", "}", "fBound.prototype = new fNOP();", "return fBound;", "}", "});", ""), r = function() {
1072
+ }, W(e, e.O, "call", r), e.ba.push("Object.defineProperty(Function.prototype, 'bind',", "{configurable: true, writable: true, value:", "function bind(oThis) {", "if (typeof this !== 'function') {", "throw TypeError('What is trying to be bound is not callable');", "}", "var aArgs = Array.prototype.slice.call(arguments, 1),", "fToBind = this,", "fNOP = function() {},", "fBound = function() {", "return fToBind.apply(this instanceof fNOP", "? this", ": oThis,", "aArgs.concat(Array.prototype.slice.call(arguments)));", "};", "if (this.prototype) {", "fNOP.prototype = this.prototype;", "}", "fBound.prototype = new fNOP();", "return fBound;", "}", "});", ""), r = function() {
1073
1073
  return String(this);
1074
- }, $(e, e.O, "toString", r), e.g(e.O, "toString", e.i(r, !1), y), r = function() {
1074
+ }, W(e, e.O, "toString", r), e.g(e.O, "toString", e.i(r, !1), y), r = function() {
1075
1075
  return this.valueOf();
1076
- }, $(e, e.O, "valueOf", r), e.g(e.O, "valueOf", e.i(r, !1), y);
1076
+ }, W(e, e.O, "valueOf", r), e.g(e.O, "valueOf", e.i(r, !1), y);
1077
1077
  }
1078
1078
  function Ci(e, t) {
1079
1079
  function n(i) {
1080
- i != null || x(e, e.j, "Cannot convert '" + i + "' to object");
1080
+ i != null || w(e, e.j, "Cannot convert '" + i + "' to object");
1081
1081
  }
1082
1082
  var r = function(i) {
1083
1083
  if (i == null)
@@ -1093,11 +1093,11 @@ function Ci(e, t) {
1093
1093
  }, e.g(e.v, "getOwnPropertyNames", e.i(r, !1), y), r = function(i) {
1094
1094
  return n(i), i instanceof R && (i = i.h), se(e, Object.keys(i));
1095
1095
  }, e.g(e.v, "keys", e.i(r, !1), y), r = function(i) {
1096
- return i === null ? e.s(null) : (i instanceof R || x(e, e.j, "Object prototype may only be an Object or null, not " + i), e.s(i));
1096
+ return i === null ? e.s(null) : (i instanceof R || w(e, e.j, "Object prototype may only be an Object or null, not " + i), e.s(i));
1097
1097
  }, e.g(e.v, "create", e.i(r, !1), y), e.ba.push("(function() {", "var create_ = Object.create;", "Object.create = function create(proto, props) {", "var obj = create_(proto);", "props && Object.defineProperties(obj, props);", "return obj;", "};", "})();", ""), r = function(i, a, s) {
1098
- return a = String(a), i instanceof R || x(e, e.j, "Object.defineProperty called on non-object: " + i), s instanceof R || x(e, e.j, "Property description must be an object"), !i.preventExtensions || a in i.h || x(e, e.j, "Can't define property '" + a + "', object is not extensible"), e.g(i, a, Ye, s.h), i;
1098
+ return a = String(a), i instanceof R || w(e, e.j, "Object.defineProperty called on non-object: " + i), s instanceof R || w(e, e.j, "Property description must be an object"), !i.preventExtensions || a in i.h || w(e, e.j, "Can't define property '" + a + "', object is not extensible"), e.g(i, a, Ye, s.h), i;
1099
1099
  }, e.g(e.v, "defineProperty", e.i(r, !1), y), e.ba.push("(function() {", "var defineProperty_ = Object.defineProperty;", "Object.defineProperty = function defineProperty(obj, prop, d1) {", "var d2 = {};", "if ('configurable' in d1) d2.configurable = d1.configurable;", "if ('enumerable' in d1) d2.enumerable = d1.enumerable;", "if ('writable' in d1) d2.writable = d1.writable;", "if ('value' in d1) d2.value = d1.value;", "if ('get' in d1) d2.get = d1.get;", "if ('set' in d1) d2.set = d1.set;", "return defineProperty_(obj, prop, d2);", "};", "})();", "Object.defineProperty(Object, 'defineProperties',", "{configurable: true, writable: true, value:", "function defineProperties(obj, props) {", "var keys = Object.keys(props);", "for (var i = 0; i < keys.length; i++) {", "Object.defineProperty(obj, keys[i], props[keys[i]]);", "}", "return obj;", "}", "});", ""), r = function(i, a) {
1100
- if (i instanceof R || x(e, e.j, "Object.getOwnPropertyDescriptor called on non-object: " + i), a = String(a), a in i.h) {
1100
+ if (i instanceof R || w(e, e.j, "Object.getOwnPropertyDescriptor called on non-object: " + i), a = String(a), a in i.h) {
1101
1101
  var s = Object.getOwnPropertyDescriptor(i.h, a), u = i.V[a];
1102
1102
  return i = i.Y[a], a = e.s(e.M), u || i ? (e.g(a, "get", u), e.g(a, "set", i)) : (e.g(a, "value", s.value), e.g(a, "writable", s.writable)), e.g(a, "configurable", s.configurable), e.g(a, "enumerable", s.enumerable), a;
1103
1103
  }
@@ -1107,24 +1107,24 @@ function Ci(e, t) {
1107
1107
  return !!i && !i.preventExtensions;
1108
1108
  }, e.g(e.v, "isExtensible", e.i(r, !1), y), r = function(i) {
1109
1109
  return i instanceof R && (i.preventExtensions = !0), i;
1110
- }, e.g(e.v, "preventExtensions", e.i(r, !1), y), $(e, e.v, "toString", R.prototype.toString), $(e, e.v, "toLocaleString", R.prototype.toString), $(e, e.v, "valueOf", R.prototype.valueOf), r = function(i) {
1110
+ }, e.g(e.v, "preventExtensions", e.i(r, !1), y), W(e, e.v, "toString", R.prototype.toString), W(e, e.v, "toLocaleString", R.prototype.toString), W(e, e.v, "valueOf", R.prototype.valueOf), r = function(i) {
1111
1111
  return n(this), this instanceof R ? String(i) in this.h : this.hasOwnProperty(i);
1112
- }, $(e, e.v, "hasOwnProperty", r), r = function(i) {
1112
+ }, W(e, e.v, "hasOwnProperty", r), r = function(i) {
1113
1113
  return n(this), this instanceof R ? Object.prototype.propertyIsEnumerable.call(this.h, i) : this.propertyIsEnumerable(i);
1114
- }, $(e, e.v, "propertyIsEnumerable", r), r = function(i) {
1114
+ }, W(e, e.v, "propertyIsEnumerable", r), r = function(i) {
1115
1115
  for (; ; ) {
1116
1116
  if (i = ce(e, i), !i)
1117
1117
  return !1;
1118
1118
  if (i === this)
1119
1119
  return !0;
1120
1120
  }
1121
- }, $(e, e.v, "isPrototypeOf", r);
1121
+ }, W(e, e.v, "isPrototypeOf", r);
1122
1122
  }
1123
1123
  function Ei(e, t) {
1124
1124
  var n = function(r) {
1125
1125
  var i = fe(e) ? this : Re(e), a = arguments[0];
1126
1126
  if (arguments.length === 1 && typeof a == "number")
1127
- isNaN(Jt(a)) && x(e, e.ob, "Invalid array length: " + a), i.h.length = a;
1127
+ isNaN(Jt(a)) && w(e, e.ob, "Invalid array length: " + a), i.h.length = a;
1128
1128
  else {
1129
1129
  for (a = 0; a < arguments.length; a++)
1130
1130
  i.h[a] = arguments[a];
@@ -1145,15 +1145,15 @@ function Ii(e, t) {
1145
1145
  return r = arguments.length ? ve.String(r) : "", fe(e) ? (this.data = r, this) : r;
1146
1146
  };
1147
1147
  for (e.J = e.i(n, !0), e.g(t, "String", e.J, y), e.g(e.J, "fromCharCode", e.i(String.fromCharCode, !1), y), t = "charAt charCodeAt concat indexOf lastIndexOf slice substr substring toLocaleLowerCase toLocaleUpperCase toLowerCase toUpperCase trim".split(" "), n = 0; n < t.length; n++)
1148
- $(e, e.J, t[n], String.prototype[t[n]]);
1148
+ W(e, e.J, t[n], String.prototype[t[n]]);
1149
1149
  n = function(r, i, a) {
1150
1150
  i = e.R(i), a = e.R(a);
1151
1151
  try {
1152
1152
  return String(this).localeCompare(r, i, a);
1153
1153
  } catch (s) {
1154
- x(e, e.D, "localeCompare: " + s.message);
1154
+ w(e, e.D, "localeCompare: " + s.message);
1155
1155
  }
1156
- }, $(e, e.J, "localeCompare", n), n = function(r, i, a) {
1156
+ }, W(e, e.J, "localeCompare", n), n = function(r, i, a) {
1157
1157
  var s = String(this);
1158
1158
  if (i = i ? Number(i) : void 0, H(e, r, e.I) && (r = r.data, We(e, r, a), e.REGEXP_MODE === 2)) {
1159
1159
  if (le)
@@ -1164,8 +1164,8 @@ function Ii(e, t) {
1164
1164
  }, r, a), r !== Oe && a(se(e, r));
1165
1165
  else {
1166
1166
  var u = e.ha(), d = He(e, r, u, a);
1167
- u.onmessage = function(S) {
1168
- clearTimeout(d), a(se(e, S.data));
1167
+ u.onmessage = function(E) {
1168
+ clearTimeout(d), a(se(e, E.data));
1169
1169
  }, u.postMessage(["split", s, r, i]);
1170
1170
  }
1171
1171
  return;
@@ -1214,8 +1214,8 @@ function Ii(e, t) {
1214
1214
  }, r, a), r !== Oe && a(r);
1215
1215
  else {
1216
1216
  var u = e.ha(), d = He(e, r, u, a);
1217
- u.onmessage = function(S) {
1218
- clearTimeout(d), a(S.data);
1217
+ u.onmessage = function(E) {
1218
+ clearTimeout(d), a(E.data);
1219
1219
  }, u.postMessage(["replace", s, r, i]);
1220
1220
  }
1221
1221
  return;
@@ -1238,34 +1238,34 @@ function Ai(e, t) {
1238
1238
  try {
1239
1239
  return Number(this).toExponential(r);
1240
1240
  } catch (i) {
1241
- x(e, e.D, i.message);
1241
+ w(e, e.D, i.message);
1242
1242
  }
1243
- }, $(e, e.aa, "toExponential", n), n = function(r) {
1243
+ }, W(e, e.aa, "toExponential", n), n = function(r) {
1244
1244
  try {
1245
1245
  return Number(this).toFixed(r);
1246
1246
  } catch (i) {
1247
- x(e, e.D, i.message);
1247
+ w(e, e.D, i.message);
1248
1248
  }
1249
- }, $(e, e.aa, "toFixed", n), n = function(r) {
1249
+ }, W(e, e.aa, "toFixed", n), n = function(r) {
1250
1250
  try {
1251
1251
  return Number(this).toPrecision(r);
1252
1252
  } catch (i) {
1253
- x(e, e.D, i.message);
1253
+ w(e, e.D, i.message);
1254
1254
  }
1255
- }, $(e, e.aa, "toPrecision", n), n = function(r) {
1255
+ }, W(e, e.aa, "toPrecision", n), n = function(r) {
1256
1256
  try {
1257
1257
  return Number(this).toString(r);
1258
1258
  } catch (i) {
1259
- x(e, e.D, i.message);
1259
+ w(e, e.D, i.message);
1260
1260
  }
1261
- }, $(e, e.aa, "toString", n), n = function(r, i) {
1261
+ }, W(e, e.aa, "toString", n), n = function(r, i) {
1262
1262
  r = r ? e.R(r) : void 0, i = i ? e.R(i) : void 0;
1263
1263
  try {
1264
1264
  return Number(this).toLocaleString(r, i);
1265
1265
  } catch (a) {
1266
- x(e, e.D, "toLocaleString: " + a.message);
1266
+ w(e, e.D, "toLocaleString: " + a.message);
1267
1267
  }
1268
- }, $(e, e.aa, "toLocaleString", n);
1268
+ }, W(e, e.aa, "toLocaleString", n);
1269
1269
  }
1270
1270
  function Oi(e, t) {
1271
1271
  var n = function(i, a) {
@@ -1279,12 +1279,12 @@ function Oi(e, t) {
1279
1279
  n = function(i) {
1280
1280
  return function(a) {
1281
1281
  var s = this.data;
1282
- s instanceof Date || x(e, e.j, i + " not called on a Date");
1282
+ s instanceof Date || w(e, e.j, i + " not called on a Date");
1283
1283
  for (var u = [], d = 0; d < arguments.length; d++)
1284
1284
  u[d] = e.R(arguments[d]);
1285
1285
  return s[i].apply(s, u);
1286
1286
  };
1287
- }(t[r]), $(e, e.$, t[r], n);
1287
+ }(t[r]), W(e, e.$, t[r], n);
1288
1288
  }
1289
1289
  function ji(e, t) {
1290
1290
  var n = function(r, i) {
@@ -1295,11 +1295,11 @@ function ji(e, t) {
1295
1295
  return r;
1296
1296
  a = e.s(e.Ma);
1297
1297
  }
1298
- r = r === void 0 ? "" : String(r), i = i ? String(i) : "", /^[gmi]*$/.test(i) || x(e, e.T, "Invalid regexp flag: " + i);
1298
+ r = r === void 0 ? "" : String(r), i = i ? String(i) : "", /^[gmi]*$/.test(i) || w(e, e.T, "Invalid regexp flag: " + i);
1299
1299
  try {
1300
1300
  var s = new ve.RegExp(r, i);
1301
1301
  } catch (u) {
1302
- x(e, e.T, u.message);
1302
+ w(e, e.T, u.message);
1303
1303
  }
1304
1304
  return zt(e, a, s), a;
1305
1305
  };
@@ -1319,9 +1319,9 @@ function ji(e, t) {
1319
1319
  regexp: s
1320
1320
  }, s, i), r !== Oe && (e.g(this, "lastIndex", s.lastIndex), i(a(r)));
1321
1321
  else {
1322
- var u = e.ha(), d = He(e, s, u, i), S = this;
1322
+ var u = e.ha(), d = He(e, s, u, i), E = this;
1323
1323
  u.onmessage = function(k) {
1324
- clearTimeout(d), e.g(S, "lastIndex", k.data[1]), i(a(k.data[0]));
1324
+ clearTimeout(d), e.g(E, "lastIndex", k.data[1]), i(a(k.data[0]));
1325
1325
  }, u.postMessage(["exec", s, s.lastIndex, r]);
1326
1326
  }
1327
1327
  else
@@ -1356,17 +1356,17 @@ function Ni(e, t) {
1356
1356
  try {
1357
1357
  var i = JSON.parse(String(r));
1358
1358
  } catch (a) {
1359
- x(e, e.T, a.message);
1359
+ w(e, e.T, a.message);
1360
1360
  }
1361
1361
  return e.Ia(i);
1362
1362
  }, e.g(n, "parse", e.i(t, !1)), t = function(r, i, a) {
1363
- i && i.H === "Function" ? x(e, e.j, "Function replacer on JSON.stringify not supported") : i && i.H === "Array" ? (i = dr(e, i), i = i.filter(function(u) {
1363
+ i && i.H === "Function" ? w(e, e.j, "Function replacer on JSON.stringify not supported") : i && i.H === "Array" ? (i = dr(e, i), i = i.filter(function(u) {
1364
1364
  return typeof u == "string" || typeof u == "number";
1365
1365
  })) : i = null, typeof a != "string" && typeof a != "number" && (a = void 0), r = e.R(r);
1366
1366
  try {
1367
1367
  var s = JSON.stringify(r, i, a);
1368
1368
  } catch (u) {
1369
- x(e, e.j, u.message);
1369
+ w(e, e.j, u.message);
1370
1370
  }
1371
1371
  return s;
1372
1372
  }, e.g(n, "stringify", e.i(t, !1));
@@ -1417,7 +1417,7 @@ function $e(e, t, n, r, i) {
1417
1417
  try {
1418
1418
  return le.runInNewContext(t, n, a);
1419
1419
  } catch {
1420
- i(null), x(e, e.D, "RegExp Timeout: " + r);
1420
+ i(null), w(e, e.D, "RegExp Timeout: " + r);
1421
1421
  }
1422
1422
  return Oe;
1423
1423
  }
@@ -1438,13 +1438,13 @@ function We(e, t, n) {
1438
1438
  r = !!le;
1439
1439
  } else
1440
1440
  r = !1;
1441
- r || (n(null), x(e, e.D, "Regular expressions not supported: " + t));
1441
+ r || (n(null), w(e, e.D, "Regular expressions not supported: " + t));
1442
1442
  }
1443
1443
  function He(e, t, n, r) {
1444
1444
  return setTimeout(function() {
1445
1445
  n.terminate(), r(null);
1446
1446
  try {
1447
- x(e, e.D, "RegExp Timeout: " + t);
1447
+ w(e, e.D, "RegExp Timeout: " + t);
1448
1448
  } catch {
1449
1449
  }
1450
1450
  }, e.REGEXP_THREAD_TIMEOUT);
@@ -1566,7 +1566,7 @@ function ce(e, t) {
1566
1566
  P.G = function(e, t) {
1567
1567
  if (this.P)
1568
1568
  throw Error("Getter not supported in that context");
1569
- if (t = String(t), e != null || x(this, this.j, "Cannot read property '" + t + "' of " + e), typeof e == "object" && !(e instanceof R))
1569
+ if (t = String(t), e != null || w(this, this.j, "Cannot read property '" + t + "' of " + e), typeof e == "object" && !(e instanceof R))
1570
1570
  throw TypeError("Expecting native value or pseudo object");
1571
1571
  if (t === "length") {
1572
1572
  if (H(this, e, this.J))
@@ -1600,15 +1600,15 @@ function ft(e, t, n) {
1600
1600
  P.g = function(e, t, n, r) {
1601
1601
  if (this.Ka)
1602
1602
  throw Error("Setter not supported in that context");
1603
- if (t = String(t), e != null || x(this, this.j, "Cannot set property '" + t + "' of " + e), typeof e == "object" && !(e instanceof R))
1603
+ if (t = String(t), e != null || w(this, this.j, "Cannot set property '" + t + "' of " + e), typeof e == "object" && !(e instanceof R))
1604
1604
  throw TypeError("Expecting native value or pseudo object");
1605
- r && ("get" in r || "set" in r) && ("value" in r || "writable" in r) && x(this, this.j, "Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");
1605
+ r && ("get" in r || "set" in r) && ("value" in r || "writable" in r) && w(this, this.j, "Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");
1606
1606
  var i = !this.o || Qt(this).S;
1607
1607
  if (e instanceof R) {
1608
1608
  if (H(this, e, this.J)) {
1609
1609
  var a = Xe(t);
1610
1610
  if (t === "length" || !isNaN(a) && a < String(e).length) {
1611
- i && x(this, this.j, "Cannot assign to read only property '" + t + "' of String '" + e.data + "'");
1611
+ i && w(this, this.j, "Cannot assign to read only property '" + t + "' of String '" + e.data + "'");
1612
1612
  return;
1613
1613
  }
1614
1614
  }
@@ -1619,7 +1619,7 @@ P.g = function(e, t, n, r) {
1619
1619
  return;
1620
1620
  n = r.value;
1621
1621
  }
1622
- if (n = Jt(n), isNaN(n) && x(this, this.ob, "Invalid array length"), n < a)
1622
+ if (n = Jt(n), isNaN(n) && w(this, this.ob, "Invalid array length"), n < a)
1623
1623
  for (s in e.h) {
1624
1624
  var s = Xe(s);
1625
1625
  !isNaN(s) && n <= s && delete e.h[s];
@@ -1632,7 +1632,7 @@ P.g = function(e, t, n, r) {
1632
1632
  try {
1633
1633
  Object.defineProperty(e.h, t, i);
1634
1634
  } catch {
1635
- x(this, this.j, "Cannot redefine property: " + t);
1635
+ w(this, this.j, "Cannot redefine property: " + t);
1636
1636
  }
1637
1637
  "get" in r && !r.get && delete e.V[t], "set" in r && !r.set && delete e.Y[t];
1638
1638
  } else {
@@ -1646,18 +1646,18 @@ P.g = function(e, t, n, r) {
1646
1646
  if (r.Y && r.Y[t])
1647
1647
  return this.Ka = !0, r.Y[t];
1648
1648
  if (r.V && r.V[t])
1649
- i && x(this, this.j, "Cannot set property '" + t + "' of object '" + e + "' which only has a getter");
1649
+ i && w(this, this.j, "Cannot set property '" + t + "' of object '" + e + "' which only has a getter");
1650
1650
  else
1651
1651
  try {
1652
1652
  e.h[t] = n;
1653
1653
  } catch {
1654
- i && x(this, this.j, "Cannot assign to read only property '" + t + "' of object '" + e + "'");
1654
+ i && w(this, this.j, "Cannot assign to read only property '" + t + "' of object '" + e + "'");
1655
1655
  }
1656
1656
  }
1657
1657
  else
1658
- i && x(this, this.j, "Can't add property '" + t + "', object is not extensible");
1658
+ i && w(this, this.j, "Can't add property '" + t + "', object is not extensible");
1659
1659
  } else
1660
- i && x(this, this.j, "Can't create property '" + t + "' on '" + e + "'");
1660
+ i && w(this, this.j, "Can't create property '" + t + "' on '" + e + "'");
1661
1661
  };
1662
1662
  P.g.ac = function() {
1663
1663
  throw Error("Placeholder getter");
@@ -1665,7 +1665,7 @@ P.g.ac = function() {
1665
1665
  P.g.bc = function() {
1666
1666
  throw Error("Placeholder setter");
1667
1667
  };
1668
- function $(e, t, n, r) {
1668
+ function W(e, t, n, r) {
1669
1669
  e.g(t.h.prototype, n, e.i(r, !1), y);
1670
1670
  }
1671
1671
  function Ke(e, t, n, r) {
@@ -1699,7 +1699,7 @@ function tn(e, t) {
1699
1699
  }
1700
1700
  if (n === e.N && ft(e, n.object, t))
1701
1701
  return e.G(n.object, t);
1702
- n = e.o[e.o.length - 1].node, n.type === "UnaryExpression" && n.operator === "typeof" || x(e, e.pb, t + " is not defined");
1702
+ n = e.o[e.o.length - 1].node, n.type === "UnaryExpression" && n.operator === "typeof" || w(e, e.pb, t + " is not defined");
1703
1703
  }
1704
1704
  function hr(e, t, n) {
1705
1705
  for (var r = Qt(e), i = r.S; r && r !== e.N; ) {
@@ -1707,7 +1707,7 @@ function hr(e, t, n) {
1707
1707
  try {
1708
1708
  r.object.h[t] = n;
1709
1709
  } catch {
1710
- i && x(e, e.j, "Cannot assign to read only variable '" + t + "'");
1710
+ i && w(e, e.j, "Cannot assign to read only variable '" + t + "'");
1711
1711
  }
1712
1712
  return;
1713
1713
  }
@@ -1715,7 +1715,7 @@ function hr(e, t, n) {
1715
1715
  }
1716
1716
  if (r === e.N && (!i || ft(e, r.object, t)))
1717
1717
  return e.g(r.object, t, n);
1718
- x(e, e.pb, t + " is not defined");
1718
+ w(e, e.pb, t + " is not defined");
1719
1719
  }
1720
1720
  function Je(e, t, n) {
1721
1721
  if (t.jb)
@@ -1775,7 +1775,7 @@ function nn(e, t) {
1775
1775
  function rn(e, t, n) {
1776
1776
  return t[0] === Pe ? hr(e, t[1], n) : e.g(t[0], t[1], n);
1777
1777
  }
1778
- function x(e, t, n) {
1778
+ function w(e, t, n) {
1779
1779
  throw e.N ? (n !== void 0 && t instanceof R && (t = e.Aa(t), $t(e, t, n)), ze(e, 4, t), pr) : n === void 0 ? t : n;
1780
1780
  }
1781
1781
  function ze(e, t, n, r) {
@@ -1864,8 +1864,8 @@ function Xn(e, t, n) {
1864
1864
  } else {
1865
1865
  try {
1866
1866
  var d = je(String(a), "taskCode" + e.ic++);
1867
- } catch (S) {
1868
- x(e, e.T, "Invalid code: " + S.message);
1867
+ } catch (E) {
1868
+ w(e, e.T, "Invalid code: " + E.message);
1869
1869
  }
1870
1870
  s.type = "EvalProgram_", s.body = d.body, r = r.node.arguments[0], ut(s, r ? r.start : void 0, r ? r.end : void 0), r = e.N, i.length = 0;
1871
1871
  }
@@ -2107,10 +2107,10 @@ h.prototype.stepBinaryExpression = function(e, t, n) {
2107
2107
  n = r >>> t;
2108
2108
  break;
2109
2109
  case "in":
2110
- t instanceof R || x(this, this.j, "'in' expects an object, not '" + t + "'"), n = ft(this, t, r);
2110
+ t instanceof R || w(this, this.j, "'in' expects an object, not '" + t + "'"), n = ft(this, t, r);
2111
2111
  break;
2112
2112
  case "instanceof":
2113
- H(this, t, this.O) || x(this, this.j, "'instanceof' expects an object, not '" + t + "'"), n = r instanceof R ? H(this, r, t) : !1;
2113
+ H(this, t, this.O) || w(this, this.j, "'instanceof' expects an object, not '" + t + "'"), n = r instanceof R ? H(this, r, t) : !1;
2114
2114
  break;
2115
2115
  default:
2116
2116
  throw SyntaxError("Unknown binary operator: " + n.operator);
@@ -2147,7 +2147,7 @@ h.prototype.stepCallExpression = function(e, t, n) {
2147
2147
  if (t.A !== 0 && t.F.push(t.value), n.arguments[t.A])
2148
2148
  return new v(n.arguments[t.A++], t.scope);
2149
2149
  if (n.type === "NewExpression") {
2150
- if (i instanceof R && !i.Ab || x(this, this.j, Y(this, n.callee) + " is not a constructor"), i === this.qa)
2150
+ if (i instanceof R && !i.Ab || w(this, this.j, Y(this, n.callee) + " is not a constructor"), i === this.qa)
2151
2151
  t.B = Re(this);
2152
2152
  else {
2153
2153
  var a = i.h.prototype;
@@ -2160,7 +2160,7 @@ h.prototype.stepCallExpression = function(e, t, n) {
2160
2160
  if (t.eb)
2161
2161
  e.pop(), e[e.length - 1].value = t.isConstructor && typeof t.value != "object" ? t.B : t.value;
2162
2162
  else {
2163
- if (t.eb = !0, i instanceof R || x(this, this.j, Y(this, n.callee) + " is not a function"), e = i.node) {
2163
+ if (t.eb = !0, i instanceof R || w(this, this.j, Y(this, n.callee) + " is not a function"), e = i.node) {
2164
2164
  for (n = Wt(this, e.body, i.Va), r = Re(this), i = 0; i < t.F.length; i++)
2165
2165
  this.g(r, i, t.F[i]);
2166
2166
  for (this.g(n.object, "arguments", r), i = 0; i < e.oa.length; i++)
@@ -2174,7 +2174,7 @@ h.prototype.stepCallExpression = function(e, t, n) {
2174
2174
  try {
2175
2175
  r = je(String(i), "eval" + this.Hb++);
2176
2176
  } catch (u) {
2177
- x(this, this.T, "Invalid code: " + u.message);
2177
+ w(this, this.T, "Invalid code: " + u.message);
2178
2178
  }
2179
2179
  return i = this.ya(), i.type = "EvalProgram_", i.body = r.body, ut(i, n.start, n.end), n = t.Pb ? t.scope : this.N, n.S ? n = Wt(this, r, n) : Je(this, r, n), this.value = void 0, new v(i, n);
2180
2180
  }
@@ -2186,7 +2186,7 @@ h.prototype.stepCallExpression = function(e, t, n) {
2186
2186
  t.value = u, s.za = !1;
2187
2187
  }), this.za = !0, t.scope.S || (t.B = Vt(this, t.B)), i.Za.apply(t.B, r);
2188
2188
  } else
2189
- x(this, this.j, Y(this, n.callee) + " is not callable");
2189
+ w(this, this.j, Y(this, n.callee) + " is not callable");
2190
2190
  }
2191
2191
  };
2192
2192
  h.prototype.stepConditionalExpression = function(e, t, n) {
@@ -2232,7 +2232,7 @@ h.prototype.stepExpressionStatement = function(e, t, n) {
2232
2232
  };
2233
2233
  h.prototype.stepForInStatement = function(e, t, n) {
2234
2234
  if (!t.Ub && (t.Ub = !0, n.left.fa && n.left.fa[0].ua))
2235
- return t.scope.S && x(this, this.T, "for-in loop variable declaration may not have an initializer"), new v(n.left, t.scope);
2235
+ return t.scope.S && w(this, this.T, "for-in loop variable declaration may not have an initializer"), new v(n.left, t.scope);
2236
2236
  if (!t.Ca)
2237
2237
  return t.Ca = !0, t.pa || (t.pa = t.value), new v(n.right, t.scope);
2238
2238
  if (t.W || (t.W = !0, t.u = t.value, t.kb = /* @__PURE__ */ Object.create(null)), t.Ra === void 0)
@@ -2418,7 +2418,7 @@ h.prototype.stepThisExpression = function(e) {
2418
2418
  };
2419
2419
  h.prototype.stepThrowStatement = function(e, t, n) {
2420
2420
  if (t.ka)
2421
- x(this, t.value);
2421
+ w(this, t.value);
2422
2422
  else
2423
2423
  return t.ka = !0, new v(n.K, t.scope);
2424
2424
  };
@@ -2456,7 +2456,7 @@ h.prototype.stepUnaryExpression = function(e, t, n) {
2456
2456
  try {
2457
2457
  delete i.h[r];
2458
2458
  } catch {
2459
- t.scope.S ? x(this, this.j, "Cannot delete property '" + r + "' of '" + i + "'") : n = !1;
2459
+ t.scope.S ? w(this, this.j, "Cannot delete property '" + r + "' of '" + i + "'") : n = !1;
2460
2460
  }
2461
2461
  }
2462
2462
  r = n;
@@ -2554,9 +2554,9 @@ const Bi = (e) => e.split(`
2554
2554
  context: t,
2555
2555
  event: n,
2556
2556
  state: u
2557
- }), S = d.map(([E]) => {
2558
- const w = Jn(E);
2559
- return `var ${E} = ${w} === undefined ? undefined : JSON.parse(${w});`;
2557
+ }), E = d.map(([S]) => {
2558
+ const x = Jn(S);
2559
+ return `var ${S} = ${x} === undefined ? undefined : JSON.parse(${x});`;
2560
2560
  }).join(`
2561
2561
  `), k = Bi(s);
2562
2562
  if (k === "") {
@@ -2565,26 +2565,26 @@ const Bi = (e) => e.split(`
2565
2565
  }
2566
2566
  const b = `
2567
2567
  function theFunction() {
2568
- ${S}
2568
+ ${E}
2569
2569
 
2570
2570
  ${k}
2571
2571
  }
2572
2572
  theFunction();
2573
- `, M = (E, w) => {
2574
- const N = fr(u, E, w);
2573
+ `, M = (S, x) => {
2574
+ const N = fr(u, S, x);
2575
2575
  a == null || a(N);
2576
- }, O = function(E, w) {
2577
- d.forEach(([N, W]) => {
2578
- const m = JSON.stringify(W);
2579
- E.setProperty(w, Jn(N), m);
2580
- }), E.setProperty(w, "setRootState", E.createNativeFunction(M));
2576
+ }, O = function(S, x) {
2577
+ d.forEach(([N, F]) => {
2578
+ const m = JSON.stringify(F);
2579
+ S.setProperty(x, Jn(N), m);
2580
+ }), S.setProperty(x, "setRootState", S.createNativeFunction(M));
2581
2581
  };
2582
2582
  try {
2583
- const E = new h(b, O);
2584
- return E.run(), E.pseudoToNative(E.value);
2585
- } catch (E) {
2583
+ const S = new h(b, O);
2584
+ return S.run(), S.pseudoToNative(S.value);
2585
+ } catch (S) {
2586
2586
  q.warn("Custom code error in edge runtime. NOTE: your code must be ES5 JavaScript.", {
2587
- e: E
2587
+ e: S
2588
2588
  });
2589
2589
  return;
2590
2590
  }
@@ -2642,14 +2642,14 @@ const _i = ({
2642
2642
  }
2643
2643
  };
2644
2644
  for (const u in e.bindings) {
2645
- const d = e.bindings[u], S = an({
2645
+ const d = e.bindings[u], E = an({
2646
2646
  code: d,
2647
2647
  localState: n,
2648
2648
  rootState: r,
2649
2649
  rootSetState: i,
2650
2650
  context: t
2651
2651
  });
2652
- fr(s, u, S);
2652
+ fr(s, u, E);
2653
2653
  }
2654
2654
  return s;
2655
2655
  };
@@ -2712,15 +2712,15 @@ const Di = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
2712
2712
  if (!Array.isArray(i))
2713
2713
  return;
2714
2714
  const a = n.collection.split(".").pop(), s = n.itemName || (a ? a + "Item" : "item");
2715
- return i.map((d, S) => ({
2715
+ return i.map((d, E) => ({
2716
2716
  context: {
2717
2717
  ...t,
2718
2718
  localState: {
2719
2719
  ...t.localState,
2720
- $index: S,
2720
+ $index: E,
2721
2721
  $item: d,
2722
2722
  [s]: d,
2723
- [`$${s}Index`]: S
2723
+ [`$${s}Index`]: E
2724
2724
  }
2725
2725
  },
2726
2726
  block: r
@@ -2798,7 +2798,7 @@ function sn(e) {
2798
2798
  });
2799
2799
  return pe(i.hide) ? !i.hide : pe(i.show) ? i.show : !0;
2800
2800
  }, n = function() {
2801
- var w;
2801
+ var x;
2802
2802
  const i = ct({
2803
2803
  block: e.block,
2804
2804
  localState: e.context.localState,
@@ -2807,21 +2807,21 @@ function sn(e) {
2807
2807
  context: e.context.context,
2808
2808
  shouldEvaluateBindings: !0
2809
2809
  }), a = i.responsiveStyles, s = e.context.content, u = vr(
2810
- ((w = s == null ? void 0 : s.meta) == null ? void 0 : w.breakpoints) || {}
2811
- ), d = a == null ? void 0 : a.large, S = a == null ? void 0 : a.medium, k = a == null ? void 0 : a.small, b = i.id;
2810
+ ((x = s == null ? void 0 : s.meta) == null ? void 0 : x.breakpoints) || {}
2811
+ ), d = a == null ? void 0 : a.large, E = a == null ? void 0 : a.medium, k = a == null ? void 0 : a.small, b = i.id;
2812
2812
  if (!b)
2813
2813
  return "";
2814
2814
  const M = d ? Dt({
2815
2815
  className: b,
2816
2816
  styles: d
2817
- }) : "", O = S ? Dt({
2817
+ }) : "", O = E ? Dt({
2818
2818
  className: b,
2819
- styles: S,
2819
+ styles: E,
2820
2820
  mediaQuery: zn(
2821
2821
  "medium",
2822
2822
  u
2823
2823
  )
2824
- }) : "", E = k ? Dt({
2824
+ }) : "", S = k ? Dt({
2825
2825
  className: b,
2826
2826
  styles: k,
2827
2827
  mediaQuery: zn(
@@ -2829,9 +2829,9 @@ function sn(e) {
2829
2829
  u
2830
2830
  )
2831
2831
  }) : "";
2832
- return [M, O, E].join(" ");
2832
+ return [M, O, S].join(" ");
2833
2833
  };
2834
- return /* @__PURE__ */ C(_, { children: n() && t() ? /* @__PURE__ */ C(_, { children: /* @__PURE__ */ C(dt, { styles: n() }) }) : null });
2834
+ return /* @__PURE__ */ C(D, { children: n() && t() ? /* @__PURE__ */ C(D, { children: /* @__PURE__ */ C(dt, { styles: n() }) }) : null });
2835
2835
  }
2836
2836
  function Ki(e) {
2837
2837
  return e.charAt(0).toUpperCase() + e.slice(1);
@@ -2929,7 +2929,7 @@ const Zi = ({
2929
2929
  function qn(e) {
2930
2930
  var n, r;
2931
2931
  const t = e.isInteractive ? ti : e.componentRef;
2932
- return /* @__PURE__ */ C(_, { children: e.componentRef ? /* @__PURE__ */ C(_, { children: /* @__PURE__ */ ue(
2932
+ return /* @__PURE__ */ C(D, { children: e.componentRef ? /* @__PURE__ */ C(D, { children: /* @__PURE__ */ ue(
2933
2933
  t,
2934
2934
  {
2935
2935
  ...Zi({
@@ -2975,7 +2975,7 @@ function Qi(e) {
2975
2975
  );
2976
2976
  }
2977
2977
  function ht(e) {
2978
- var S, k, b, M;
2978
+ var E, k, b, M;
2979
2979
  const t = function() {
2980
2980
  return Li({
2981
2981
  block: e.block,
@@ -2988,7 +2988,8 @@ function ht(e) {
2988
2988
  context: e.context
2989
2989
  });
2990
2990
  }, r = function() {
2991
- return n() ? e.block : ct({
2991
+ var S;
2992
+ return (S = e.block.repeat) != null && S.collection ? e.block : ct({
2992
2993
  block: e.block,
2993
2994
  localState: e.context.localState,
2994
2995
  rootState: e.context.rootState,
@@ -2999,30 +3000,34 @@ function ht(e) {
2999
3000
  }, i = function() {
3000
3001
  return e.block.tagName || "div";
3001
3002
  }, a = function() {
3002
- return "hide" in r() ? !r().hide : "show" in r() ? r().show : !0;
3003
+ var N, F;
3004
+ if ((N = e.block.repeat) != null && N.collection)
3005
+ return !!((F = n()) != null && F.length);
3006
+ const S = "hide" in r() ? r().hide : !1;
3007
+ return ("show" in r() ? r().show : !0) && !S;
3003
3008
  }, s = function() {
3004
- var w;
3005
- return !((w = t()) != null && w.component) && !n() ? r().children ?? [] : [];
3009
+ var x;
3010
+ return !((x = t()) != null && x.component) && !n() ? r().children ?? [] : [];
3006
3011
  }, u = function() {
3007
- var E, w, N, W, m;
3012
+ var S, x, N, F, m;
3008
3013
  return {
3009
3014
  blockChildren: r().children ?? [],
3010
- componentRef: (E = t()) == null ? void 0 : E.component,
3015
+ componentRef: (S = t()) == null ? void 0 : S.component,
3011
3016
  componentOptions: {
3012
3017
  ...pi(r()),
3013
3018
  builderContext: e.context,
3014
- ...((w = t()) == null ? void 0 : w.name) === "Symbol" || ((N = t()) == null ? void 0 : N.name) === "Columns" ? {
3019
+ ...((x = t()) == null ? void 0 : x.name) === "Symbol" || ((N = t()) == null ? void 0 : N.name) === "Columns" ? {
3015
3020
  builderComponents: e.registeredComponents
3016
3021
  } : {}
3017
3022
  },
3018
3023
  context: d,
3019
3024
  registeredComponents: e.registeredComponents,
3020
3025
  builderBlock: r(),
3021
- includeBlockProps: ((W = t()) == null ? void 0 : W.noWrap) === !0,
3026
+ includeBlockProps: ((F = t()) == null ? void 0 : F.noWrap) === !0,
3022
3027
  isInteractive: !((m = t()) != null && m.isRSC)
3023
3028
  };
3024
3029
  }, d = e.context;
3025
- return /* @__PURE__ */ C(_, { children: a() ? /* @__PURE__ */ C(_, { children: (S = t()) != null && S.noWrap ? /* @__PURE__ */ C(_, { children: /* @__PURE__ */ C(
3030
+ return /* @__PURE__ */ C(D, { children: a() ? /* @__PURE__ */ C(D, { children: (E = t()) != null && E.noWrap ? /* @__PURE__ */ C(D, { children: /* @__PURE__ */ C(
3026
3031
  qn,
3027
3032
  {
3028
3033
  componentRef: u().componentRef,
@@ -3034,8 +3039,8 @@ function ht(e) {
3034
3039
  includeBlockProps: u().includeBlockProps,
3035
3040
  isInteractive: u().isInteractive
3036
3041
  }
3037
- ) }) : /* @__PURE__ */ ue(_, { children: [
3038
- _t(i()) ? /* @__PURE__ */ C(_, { children: /* @__PURE__ */ C(
3042
+ ) }) : /* @__PURE__ */ ue(D, { children: [
3043
+ _t(i()) ? /* @__PURE__ */ C(D, { children: /* @__PURE__ */ C(
3039
3044
  Wn,
3040
3045
  {
3041
3046
  Wrapper: i(),
@@ -3044,16 +3049,16 @@ function ht(e) {
3044
3049
  hasChildren: !1
3045
3050
  }
3046
3051
  ) }) : null,
3047
- !_t(i()) && n() ? /* @__PURE__ */ C(_, { children: (k = n()) == null ? void 0 : k.map((O, E) => /* @__PURE__ */ C(
3052
+ !_t(i()) && n() ? /* @__PURE__ */ C(D, { children: (k = n()) == null ? void 0 : k.map((O, S) => /* @__PURE__ */ C(
3048
3053
  Qi,
3049
3054
  {
3050
3055
  repeatContext: O.context,
3051
3056
  block: O.block,
3052
3057
  registeredComponents: e.registeredComponents
3053
3058
  },
3054
- E
3059
+ S
3055
3060
  )) }) : null,
3056
- !_t(i()) && !n() ? /* @__PURE__ */ C(_, { children: /* @__PURE__ */ ue(
3061
+ !_t(i()) && !n() ? /* @__PURE__ */ C(D, { children: /* @__PURE__ */ ue(
3057
3062
  Wn,
3058
3063
  {
3059
3064
  Wrapper: i(),
@@ -3106,7 +3111,7 @@ function ln(e) {
3106
3111
  path: e.path,
3107
3112
  styleProp: e.styleProp,
3108
3113
  children: [
3109
- e.blocks ? /* @__PURE__ */ C(_, { children: (t = e.blocks) == null ? void 0 : t.map((r) => /* @__PURE__ */ C(
3114
+ e.blocks ? /* @__PURE__ */ C(D, { children: (t = e.blocks) == null ? void 0 : t.map((r) => /* @__PURE__ */ C(
3110
3115
  ht,
3111
3116
  {
3112
3117
  block: r,
@@ -3115,7 +3120,7 @@ function ln(e) {
3115
3120
  },
3116
3121
  "render-block-" + r.id
3117
3122
  )) }) : null,
3118
- e.blocks ? /* @__PURE__ */ C(_, { children: (n = e.blocks) == null ? void 0 : n.map((r) => /* @__PURE__ */ C(
3123
+ e.blocks ? /* @__PURE__ */ C(D, { children: (n = e.blocks) == null ? void 0 : n.map((r) => /* @__PURE__ */ C(
3119
3124
  sn,
3120
3125
  {
3121
3126
  block: r,
@@ -3129,23 +3134,23 @@ function ln(e) {
3129
3134
  }
3130
3135
  function eo(e) {
3131
3136
  var O;
3132
- const t = typeof e.space == "number" ? e.space || 0 : 20, n = e.columns || [], r = e.stackColumnsAt || "tablet", i = function(w) {
3137
+ const t = typeof e.space == "number" ? e.space || 0 : 20, n = e.columns || [], r = e.stackColumnsAt || "tablet", i = function(x) {
3133
3138
  var N;
3134
- return ((N = n[w]) == null ? void 0 : N.width) || 100 / n.length;
3135
- }, a = function(w) {
3139
+ return ((N = n[x]) == null ? void 0 : N.width) || 100 / n.length;
3140
+ }, a = function(x) {
3136
3141
  const N = t * (n.length - 1) / n.length;
3137
- return `calc(${i(w)}% - ${N}px)`;
3142
+ return `calc(${i(x)}% - ${N}px)`;
3138
3143
  }, s = function({
3139
- stackedStyle: w,
3144
+ stackedStyle: x,
3140
3145
  desktopStyle: N
3141
3146
  }) {
3142
- return r === "tablet" ? w : N;
3147
+ return r === "tablet" ? x : N;
3143
3148
  }, u = function({
3144
- stackedStyle: w,
3149
+ stackedStyle: x,
3145
3150
  desktopStyle: N
3146
3151
  }) {
3147
- return r === "never" ? N : w;
3148
- }, d = e.stackColumnsAt === "never" ? "row" : e.reverseColumnsWhenStacked ? "column-reverse" : "column", S = function() {
3152
+ return r === "never" ? N : x;
3153
+ }, d = e.stackColumnsAt === "never" ? "row" : e.reverseColumnsWhenStacked ? "column-reverse" : "column", E = function() {
3149
3154
  return {
3150
3155
  "--flex-dir": d,
3151
3156
  "--flex-dir-tablet": s({
@@ -3153,14 +3158,14 @@ function eo(e) {
3153
3158
  desktopStyle: "row"
3154
3159
  })
3155
3160
  };
3156
- }, k = function(w) {
3157
- const N = w === 0 ? 0 : t, W = a(w), m = `${N}px`, de = "100%", he = 0;
3161
+ }, k = function(x) {
3162
+ const N = x === 0 ? 0 : t, F = a(x), m = `${N}px`, de = "100%", he = 0;
3158
3163
  return {
3159
- width: W,
3164
+ width: F,
3160
3165
  ["marginLeft"]: m,
3161
3166
  "--column-width-mobile": u({
3162
3167
  stackedStyle: de,
3163
- desktopStyle: W
3168
+ desktopStyle: F
3164
3169
  }),
3165
3170
  "--column-margin-left-mobile": u({
3166
3171
  stackedStyle: he,
@@ -3168,18 +3173,18 @@ function eo(e) {
3168
3173
  }),
3169
3174
  "--column-width-tablet": s({
3170
3175
  stackedStyle: de,
3171
- desktopStyle: W
3176
+ desktopStyle: F
3172
3177
  }),
3173
3178
  "--column-margin-left-tablet": s({
3174
3179
  stackedStyle: he,
3175
3180
  desktopStyle: m
3176
3181
  })
3177
3182
  };
3178
- }, b = function(w) {
3179
- var W, m;
3183
+ }, b = function(x) {
3184
+ var F, m;
3180
3185
  return vr(
3181
- ((m = (W = e.builderContext.content) == null ? void 0 : W.meta) == null ? void 0 : m.breakpoints) || {}
3182
- )[w].max;
3186
+ ((m = (F = e.builderContext.content) == null ? void 0 : F.meta) == null ? void 0 : m.breakpoints) || {}
3187
+ )[x].max;
3183
3188
  }, M = function() {
3184
3189
  return `
3185
3190
  @media (max-width: ${b("medium")}px) {
@@ -3207,32 +3212,32 @@ function eo(e) {
3207
3212
  },
3208
3213
  `;
3209
3214
  };
3210
- return /* @__PURE__ */ ue(_, { children: [
3215
+ return /* @__PURE__ */ ue(D, { children: [
3211
3216
  /* @__PURE__ */ ue(
3212
3217
  "div",
3213
3218
  {
3214
3219
  className: `builder-columns ${e.builderBlock.id}-breakpoints div-0d69fe26`,
3215
- style: S(),
3220
+ style: E(),
3216
3221
  children: [
3217
- /* @__PURE__ */ C(_, { children: /* @__PURE__ */ C(dt, { styles: M() }) }),
3218
- (O = e.columns) == null ? void 0 : O.map((E, w) => /* @__PURE__ */ ei(
3222
+ /* @__PURE__ */ C(D, { children: /* @__PURE__ */ C(dt, { styles: M() }) }),
3223
+ (O = e.columns) == null ? void 0 : O.map((S, x) => /* @__PURE__ */ ei(
3219
3224
  "div",
3220
3225
  {
3221
3226
  className: "builder-column div-0d69fe26-2",
3222
- style: k(w),
3223
- key: w
3227
+ style: k(x),
3228
+ key: x
3224
3229
  },
3225
3230
  /* @__PURE__ */ C(
3226
3231
  ln,
3227
3232
  {
3228
- path: `component.options.columns.${w}.blocks`,
3233
+ path: `component.options.columns.${x}.blocks`,
3229
3234
  parent: e.builderBlock.id,
3230
3235
  styleProp: {
3231
3236
  flexGrow: "1"
3232
3237
  },
3233
3238
  context: e.builderContext,
3234
3239
  registeredComponents: e.builderComponents,
3235
- blocks: E.blocks
3240
+ blocks: S.blocks
3236
3241
  }
3237
3242
  )
3238
3243
  ))
@@ -3722,15 +3727,15 @@ const ro = (e) => {
3722
3727
  onChange: (e) => {
3723
3728
  e.delete("srcset"), e.delete("noWebp");
3724
3729
  function n(s, u = 6e4) {
3725
- return new Promise((d, S) => {
3730
+ return new Promise((d, E) => {
3726
3731
  const k = document.createElement("img");
3727
3732
  let b = !1;
3728
3733
  k.onload = () => {
3729
3734
  b = !0, d(k);
3730
3735
  }, k.addEventListener("error", (M) => {
3731
- console.warn("Image load failed", M.error), S(M.error);
3736
+ console.warn("Image load failed", M.error), E(M.error);
3732
3737
  }), k.src = s, setTimeout(() => {
3733
- b || S(new Error("Image load timed out"));
3738
+ b || E(new Error("Image load timed out"));
3734
3739
  }, u);
3735
3740
  });
3736
3741
  }
@@ -4237,23 +4242,23 @@ const Wo = "v3", tr = "builder.", Ho = "options.", Ko = (e) => {
4237
4242
  apiKey: s,
4238
4243
  includeRefs: u = !0,
4239
4244
  enrich: d,
4240
- locale: S,
4245
+ locale: E,
4241
4246
  apiVersion: k = Wo,
4242
4247
  fields: b,
4243
4248
  omit: M,
4244
4249
  offset: O,
4245
- cacheSeconds: E,
4246
- staleCacheSeconds: w,
4250
+ cacheSeconds: S,
4251
+ staleCacheSeconds: x,
4247
4252
  sort: N,
4248
- includeUnpublished: W
4253
+ includeUnpublished: F
4249
4254
  } = e;
4250
4255
  if (!s)
4251
4256
  throw new Error("Missing API key");
4252
4257
  if (!["v2", "v3"].includes(k))
4253
4258
  throw new Error(`Invalid apiVersion: expected 'v2' or 'v3', received '${k}'`);
4254
4259
  (e.limit === void 0 || e.limit > 1) && !("noTraverse" in e) && (t = !0);
4255
- const m = new URL(`https://cdn.builder.io/api/${k}/content/${a}?apiKey=${s}&limit=${n}&noTraverse=${t}&includeRefs=${u}${S ? `&locale=${S}` : ""}${d ? `&enrich=${d}` : ""}`);
4256
- if (m.searchParams.set("omit", M || "meta.componentsUsed"), b && m.searchParams.set("fields", b), Number.isFinite(O) && O > -1 && m.searchParams.set("offset", String(Math.floor(O))), typeof W == "boolean" && m.searchParams.set("includeUnpublished", String(W)), E && nr(E) && m.searchParams.set("cacheSeconds", String(E)), w && nr(w) && m.searchParams.set("staleCacheSeconds", String(w)), N) {
4260
+ const m = new URL(`https://cdn.builder.io/api/${k}/content/${a}?apiKey=${s}&limit=${n}&noTraverse=${t}&includeRefs=${u}${E ? `&locale=${E}` : ""}${d ? `&enrich=${d}` : ""}`);
4261
+ if (m.searchParams.set("omit", M || "meta.componentsUsed"), b && m.searchParams.set("fields", b), Number.isFinite(O) && O > -1 && m.searchParams.set("offset", String(Math.floor(O))), typeof F == "boolean" && m.searchParams.set("includeUnpublished", String(F)), S && nr(S) && m.searchParams.set("cacheSeconds", String(S)), x && nr(x) && m.searchParams.set("staleCacheSeconds", String(x)), N) {
4257
4262
  const Z = lt({
4258
4263
  sort: N
4259
4264
  });
@@ -4510,7 +4515,7 @@ const la = (e, t, n = !0) => {
4510
4515
  builderElementIndex: n && r ? [].slice.call(document.getElementsByClassName(r)).indexOf(n) : void 0
4511
4516
  }
4512
4517
  };
4513
- }, ua = "0.7.4", or = {};
4518
+ }, ua = "0.7.6", or = {};
4514
4519
  function fa(e, t) {
4515
4520
  let n = or[e];
4516
4521
  if (n || (n = or[e] = []), n.push(t), G()) {
@@ -4577,10 +4582,10 @@ const Ua = (e = {}) => {
4577
4582
  if (r != null && r.type)
4578
4583
  switch (r.type) {
4579
4584
  case "builder.evaluate": {
4580
- const s = r.data.text, u = r.data.arguments || [], d = r.data.id, S = new Function(s);
4585
+ const s = r.data.text, u = r.data.arguments || [], d = r.data.id, E = new Function(s);
4581
4586
  let k, b = null;
4582
4587
  try {
4583
- k = S.apply(null, u);
4588
+ k = E.apply(null, u);
4584
4589
  } catch (M) {
4585
4590
  b = M;
4586
4591
  }
@@ -4676,22 +4681,17 @@ const ga = ({
4676
4681
  locale: n
4677
4682
  }) => {
4678
4683
  var a, s, u;
4679
- const r = {};
4680
- (s = (a = e == null ? void 0 : e.data) == null ? void 0 : a.inputs) == null || s.forEach((d) => {
4681
- var S;
4682
- d.name && d.defaultValue !== void 0 && ((S = e == null ? void 0 : e.data) != null && S.state) && e.data.state[d.name] === void 0 && (r[d.name] = d.defaultValue);
4683
- });
4684
- const i = {
4685
- ...(u = e == null ? void 0 : e.data) == null ? void 0 : u.state,
4684
+ const r = {}, i = ((a = e == null ? void 0 : e.data) == null ? void 0 : a.state) || {};
4685
+ return (u = (s = e == null ? void 0 : e.data) == null ? void 0 : s.inputs) == null || u.forEach((d) => {
4686
+ d.name && d.defaultValue !== void 0 && (r[d.name] = d.defaultValue);
4687
+ }), {
4688
+ ...r,
4689
+ ...i,
4686
4690
  ...t,
4687
4691
  ...n ? {
4688
4692
  locale: n
4689
4693
  } : {}
4690
4694
  };
4691
- return {
4692
- ...r,
4693
- ...i
4694
- };
4695
4695
  }, ya = ({
4696
4696
  content: e,
4697
4697
  data: t
@@ -4704,7 +4704,7 @@ const ga = ({
4704
4704
  meta: e == null ? void 0 : e.meta
4705
4705
  } : void 0;
4706
4706
  function sr(e) {
4707
- var i, a, s, u, d, S, k, b, M;
4707
+ var i, a, s, u, d, E, k, b, M;
4708
4708
  const t = Bo({
4709
4709
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
4710
4710
  variationId: (i = e.content) == null ? void 0 : i.testVariationId,
@@ -4720,11 +4720,11 @@ function sr(e) {
4720
4720
  ...er,
4721
4721
  ...e.customComponents || []
4722
4722
  ].reduce(
4723
- (O, { component: E, ...w }) => ({
4723
+ (O, { component: S, ...x }) => ({
4724
4724
  ...O,
4725
- [w.name]: {
4726
- component: E,
4727
- ...Kt(w)
4725
+ [x.name]: {
4726
+ component: S,
4727
+ ...Kt(x)
4728
4728
  }
4729
4729
  }),
4730
4730
  {}
@@ -4753,9 +4753,9 @@ function sr(e) {
4753
4753
  ...er,
4754
4754
  ...e.customComponents || []
4755
4755
  ].reduce(
4756
- (O, { component: E, ...w }) => ({
4756
+ (O, { component: S, ...x }) => ({
4757
4757
  ...O,
4758
- [w.name]: Kt(w)
4758
+ [x.name]: Kt(x)
4759
4759
  }),
4760
4760
  {}
4761
4761
  ),
@@ -4775,13 +4775,13 @@ function sr(e) {
4775
4775
  showContent: e.showContent,
4776
4776
  builderContextSignal: r,
4777
4777
  children: [
4778
- e.isSsrAbTest ? /* @__PURE__ */ C(_, { children: /* @__PURE__ */ C(Gt, { scriptStr: t }) }) : null,
4779
- /* @__PURE__ */ C(_, { children: /* @__PURE__ */ C(
4778
+ e.isSsrAbTest ? /* @__PURE__ */ C(D, { children: /* @__PURE__ */ C(Gt, { scriptStr: t }) }) : null,
4779
+ /* @__PURE__ */ C(D, { children: /* @__PURE__ */ C(
4780
4780
  ma,
4781
4781
  {
4782
4782
  contentId: (s = r.content) == null ? void 0 : s.id,
4783
4783
  cssCode: (d = (u = r.content) == null ? void 0 : u.data) == null ? void 0 : d.cssCode,
4784
- customFonts: (k = (S = r.content) == null ? void 0 : S.data) == null ? void 0 : k.customFonts
4784
+ customFonts: (k = (E = r.content) == null ? void 0 : E.data) == null ? void 0 : k.customFonts
4785
4785
  }
4786
4786
  ) }),
4787
4787
  /* @__PURE__ */ C(
@@ -4804,9 +4804,9 @@ function Br(e) {
4804
4804
  }), n = function() {
4805
4805
  var d;
4806
4806
  return Uo(
4807
- st(e.content).map((S) => ({
4808
- id: S.testVariationId,
4809
- testRatio: S.testRatio
4807
+ st(e.content).map((E) => ({
4808
+ id: E.testVariationId,
4809
+ testRatio: E.testRatio
4810
4810
  })),
4811
4811
  ((d = e.content) == null ? void 0 : d.id) || ""
4812
4812
  );
@@ -4822,9 +4822,9 @@ function Br(e) {
4822
4822
  canTrack: Ht(e.canTrack)
4823
4823
  });
4824
4824
  };
4825
- return /* @__PURE__ */ ue(_, { children: [
4826
- !e.__isNestedRender && xe !== "reactNative" ? /* @__PURE__ */ C(_, { children: /* @__PURE__ */ C(Gt, { scriptStr: Mo() }) }) : null,
4827
- t ? /* @__PURE__ */ ue(_, { children: [
4825
+ return /* @__PURE__ */ ue(D, { children: [
4826
+ !e.__isNestedRender && xe !== "reactNative" ? /* @__PURE__ */ C(D, { children: /* @__PURE__ */ C(Gt, { scriptStr: Mo() }) }) : null,
4827
+ t ? /* @__PURE__ */ ue(D, { children: [
4828
4828
  /* @__PURE__ */ C(
4829
4829
  dt,
4830
4830
  {
@@ -4895,12 +4895,12 @@ const va = async ({
4895
4895
  async function xa(e) {
4896
4896
  var r, i, a, s;
4897
4897
  const t = function() {
4898
- var d, S;
4898
+ var d, E;
4899
4899
  return [
4900
4900
  e.attributes.className,
4901
4901
  "builder-symbol",
4902
4902
  (d = e.symbol) != null && d.inline ? "builder-inline-symbol" : void 0,
4903
- (S = e.symbol) != null && S.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
4903
+ (E = e.symbol) != null && E.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
4904
4904
  ].filter(Boolean).join(" ");
4905
4905
  }, n = ((r = e.symbol) == null ? void 0 : r.content) || await va({
4906
4906
  symbol: e.symbol,