@builder.io/sdk-react 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.
- package/lib/browser/index.cjs +11 -11
- package/lib/browser/index.mjs +147 -147
- package/lib/edge/index.cjs +12 -12
- package/lib/edge/index.mjs +303 -303
- package/lib/node/index.cjs +9 -9
- package/lib/node/index.mjs +139 -139
- package/package.json +1 -1
- package/types/components/content/content.helpers.d.ts +1 -1
- package/types/constants/sdk-version.d.ts +1 -1
package/lib/edge/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs as Z, Fragment as P, jsx as p } from "react/jsx-runtime";
|
|
3
|
-
import { createContext as cr, useState as
|
|
3
|
+
import { createContext as cr, useState as H, 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) {
|
|
@@ -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,
|
|
117
|
-
ct.lastIndex =
|
|
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,
|
|
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 -
|
|
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()),
|
|
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 ?
|
|
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);
|
|
@@ -203,7 +203,7 @@ var B, ti = function(e) {
|
|
|
203
203
|
return ++d, s(Un);
|
|
204
204
|
case 48:
|
|
205
205
|
if (o = x.charCodeAt(d + 1), o === 120 || o === 88) {
|
|
206
|
-
d += 2, o =
|
|
206
|
+
d += 2, o = K(16), o === null && n(X + 2, "Expected hexadecimal number"), r(x.charCodeAt(d)) && n(d, "Identifier directly after number"), s($e, o);
|
|
207
207
|
return;
|
|
208
208
|
}
|
|
209
209
|
case 49:
|
|
@@ -215,7 +215,7 @@ var B, ti = function(e) {
|
|
|
215
215
|
case 55:
|
|
216
216
|
case 56:
|
|
217
217
|
case 57:
|
|
218
|
-
return
|
|
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(
|
|
246
|
+
l += String.fromCharCode(N(2));
|
|
247
247
|
break;
|
|
248
248
|
case 117:
|
|
249
|
-
l += String.fromCharCode(
|
|
249
|
+
l += String.fromCharCode(N(4));
|
|
250
250
|
break;
|
|
251
251
|
case 85:
|
|
252
|
-
l += String.fromCharCode(
|
|
252
|
+
l += String.fromCharCode(N(8));
|
|
253
253
|
break;
|
|
254
254
|
case 116:
|
|
255
255
|
l += " ";
|
|
@@ -315,10 +315,10 @@ var B, ti = function(e) {
|
|
|
315
315
|
if (d >= je)
|
|
316
316
|
return s(At);
|
|
317
317
|
if (o = x.charCodeAt(d), r(o) || o === 92)
|
|
318
|
-
return
|
|
318
|
+
return $();
|
|
319
319
|
if (g(o) === !1) {
|
|
320
320
|
if (o = String.fromCharCode(o), o === "\\" || Wn.test(o))
|
|
321
|
-
return
|
|
321
|
+
return $();
|
|
322
322
|
n(d, "Unexpected character '" + o + "'");
|
|
323
323
|
}
|
|
324
324
|
}
|
|
@@ -343,16 +343,16 @@ var B, ti = function(e) {
|
|
|
343
343
|
}
|
|
344
344
|
++d;
|
|
345
345
|
}
|
|
346
|
-
o = x.slice(c, d), ++d, (l =
|
|
346
|
+
o = x.slice(c, d), ++d, (l = L()) && !/^[gmi]*$/.test(l) && n(c, "Invalid regexp flag");
|
|
347
347
|
try {
|
|
348
|
-
var
|
|
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,
|
|
352
|
+
s(gn, R);
|
|
353
353
|
}
|
|
354
|
-
function
|
|
355
|
-
for (var c = d, h = 0,
|
|
354
|
+
function K(o, l) {
|
|
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,39 +360,39 @@ var B, ti = function(e) {
|
|
|
360
360
|
}
|
|
361
361
|
return d === c || l !== void 0 && d - c !== l ? null : h;
|
|
362
362
|
}
|
|
363
|
-
function
|
|
363
|
+
function E(o) {
|
|
364
364
|
var l = d, c = !1, h = x.charCodeAt(d) === 48;
|
|
365
|
-
o ||
|
|
366
|
-
var
|
|
367
|
-
c ?
|
|
365
|
+
o || K(10) !== null || n(l, "Invalid number"), x.charCodeAt(d) === 46 && (++d, K(10), c = !0), o = x.charCodeAt(d), (o === 69 || o === 101) && (o = x.charCodeAt(++d), o !== 43 && o !== 45 || ++d, K(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 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
|
|
370
|
-
return o =
|
|
369
|
+
function N(o) {
|
|
370
|
+
return o = K(16, o), o === null && n(X, "Bad character escape sequence"), o;
|
|
371
371
|
}
|
|
372
|
-
function
|
|
372
|
+
function L() {
|
|
373
373
|
Pe = !1;
|
|
374
374
|
for (var o, l = !0, c = d; ; ) {
|
|
375
375
|
var h = x.charCodeAt(d);
|
|
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 =
|
|
380
|
-
var
|
|
381
|
-
|
|
379
|
+
Pe || (o = x.slice(c, d)), Pe = !0, x.charCodeAt(++d) !== 117 && n(d, "Expecting Unicode escape sequence \\uXXXX"), ++d, h = N(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;
|
|
385
385
|
}
|
|
386
386
|
return Pe ? o : x.slice(c, d);
|
|
387
387
|
}
|
|
388
|
-
function
|
|
389
|
-
var o =
|
|
388
|
+
function $() {
|
|
389
|
+
var o = L(), l = Re;
|
|
390
390
|
!Pe && Dr(o) && (l = jr[o]), s(l, o);
|
|
391
391
|
}
|
|
392
392
|
function y() {
|
|
393
393
|
Tt = X, xe = Ae, jt = It, v();
|
|
394
394
|
}
|
|
395
|
-
function
|
|
395
|
+
function G(o) {
|
|
396
396
|
if (oe = o, d = X, O.C)
|
|
397
397
|
for (; d < de; )
|
|
398
398
|
de = x.lastIndexOf(`
|
|
@@ -405,7 +405,7 @@ var B, ti = function(e) {
|
|
|
405
405
|
function se() {
|
|
406
406
|
this.start = Et, this.end = null, Ct && (this.source = Ct);
|
|
407
407
|
}
|
|
408
|
-
function
|
|
408
|
+
function W() {
|
|
409
409
|
var o = new ae();
|
|
410
410
|
return O.C && (o.X = new se()), O.vb && (o.sourceFile = O.vb), O.Xa && (o.j = [X, 0]), o;
|
|
411
411
|
}
|
|
@@ -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
|
|
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
|
|
423
|
+
return A === o ? (y(), !0) : !1;
|
|
424
424
|
}
|
|
425
|
-
function
|
|
426
|
-
return !O.fc && (
|
|
425
|
+
function j() {
|
|
426
|
+
return !O.fc && (A === At || A === Oe || lt.test(x.slice(xe, X)));
|
|
427
427
|
}
|
|
428
|
-
function
|
|
429
|
-
D(he) ||
|
|
428
|
+
function T() {
|
|
429
|
+
D(he) || j() || M();
|
|
430
430
|
}
|
|
431
431
|
function C(o) {
|
|
432
|
-
|
|
432
|
+
A === o ? y() : M();
|
|
433
433
|
}
|
|
434
|
-
function
|
|
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
|
-
(
|
|
442
|
-
var o =
|
|
441
|
+
(A === Bn || A === Ce && le === "/=") && v(!0);
|
|
442
|
+
var o = A, l = W();
|
|
443
443
|
switch (o) {
|
|
444
444
|
case Rt:
|
|
445
445
|
case yn:
|
|
446
446
|
y();
|
|
447
447
|
var c = o === Rt;
|
|
448
|
-
D(he) ||
|
|
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
|
|
451
|
-
if ((l.label === null ||
|
|
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),
|
|
454
|
+
return h === z.length && n(l.start, "Unsyntactic " + o.l), I(l, c ? "BreakStatement" : "ContinueStatement");
|
|
455
455
|
case xn:
|
|
456
|
-
return y(),
|
|
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(),
|
|
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),
|
|
460
|
+
return y(), z.push(_t), C(fe), A === he ? yt(l, null) : A === Mt ? (o = W(), 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,
|
|
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) ||
|
|
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);
|
|
469
|
-
|
|
470
|
-
return h &&
|
|
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 = W()), 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(),
|
|
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,
|
|
474
|
+
return y(), l.block = we(), l.Ea = null, A === vn && (o = W(), 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),
|
|
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(),
|
|
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(),
|
|
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(),
|
|
484
|
+
return y(), I(l, "EmptyStatement");
|
|
485
485
|
default:
|
|
486
|
-
if (c = le,
|
|
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(
|
|
488
|
+
z[h].name === c && n(R.start, "Label '" + c + "' is already declared");
|
|
489
489
|
return z.push({
|
|
490
490
|
name: c,
|
|
491
|
-
kind:
|
|
492
|
-
}), l.body = U(), z.pop(), l.label =
|
|
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 =
|
|
494
|
+
return l.la = R, T(), I(l, "ExpressionStatement");
|
|
495
495
|
}
|
|
496
496
|
}
|
|
497
497
|
function ye() {
|
|
@@ -500,36 +500,36 @@ var B, ti = function(e) {
|
|
|
500
500
|
return C(ce), o;
|
|
501
501
|
}
|
|
502
502
|
function we(o) {
|
|
503
|
-
var l =
|
|
503
|
+
var l = W(), c = !0, h = !1;
|
|
504
504
|
for (l.body = [], C(We); !D(Oe); ) {
|
|
505
|
-
var
|
|
506
|
-
if (l.body.push(
|
|
505
|
+
var R = U();
|
|
506
|
+
if (l.body.push(R), c && o && Te(R)) {
|
|
507
507
|
var Y = h;
|
|
508
|
-
|
|
508
|
+
G(h = !0);
|
|
509
509
|
}
|
|
510
510
|
c = !1;
|
|
511
511
|
}
|
|
512
|
-
return h && !Y &&
|
|
512
|
+
return h && !Y && G(!1), I(l, "BlockStatement");
|
|
513
513
|
}
|
|
514
514
|
function yt(o, l) {
|
|
515
|
-
return o.ua = l, C(he), o.test =
|
|
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(),
|
|
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
|
-
var c =
|
|
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(
|
|
522
|
+
var c = W();
|
|
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 &&
|
|
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
|
|
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 =
|
|
540
|
+
c.test = l, c.da = Q(!0), C(He), c.alternate = Q(!0, o), l = I(c, "ConditionalExpression");
|
|
541
541
|
}
|
|
542
|
-
return
|
|
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 =
|
|
546
|
-
if (h !== null && (!c ||
|
|
547
|
-
var
|
|
548
|
-
return
|
|
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 (
|
|
554
|
-
var o =
|
|
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"),
|
|
553
|
+
if (A.prefix) {
|
|
554
|
+
var o = W(), 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());
|
|
558
|
-
o = te(l), o.operator = le, o.prefix = !1, o.K = l, V(l), y(), l =
|
|
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(
|
|
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(
|
|
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 (
|
|
569
|
+
switch (A) {
|
|
570
570
|
case On:
|
|
571
|
-
var o =
|
|
572
|
-
return y(),
|
|
571
|
+
var o = W();
|
|
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 =
|
|
578
|
+
return o = W(), 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 =
|
|
582
|
+
return o = W(), 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,41 +587,41 @@ 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 =
|
|
590
|
+
return o = W(), y(), o.elements = kt(Bt, !0, !0), I(o, "ArrayExpression");
|
|
591
591
|
case We:
|
|
592
|
-
for (o =
|
|
592
|
+
for (o = W(), l = !0, c = !1, o.h = [], y(); !D(Oe); ) {
|
|
593
593
|
if (l)
|
|
594
594
|
l = !1;
|
|
595
595
|
else if (C(be), O.sb && D(Oe))
|
|
596
596
|
break;
|
|
597
597
|
var h = {
|
|
598
|
-
key:
|
|
599
|
-
},
|
|
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" ?
|
|
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(W(), !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 ||
|
|
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
|
|
615
|
+
return I(o, "ObjectExpression");
|
|
616
616
|
case Pt:
|
|
617
|
-
return o =
|
|
617
|
+
return o = W(), y(), wt(o, !1);
|
|
618
618
|
case Rn:
|
|
619
|
-
return o =
|
|
619
|
+
return o = W(), y(), o.callee = De(it(), !0), o.arguments = D(fe) ? kt(ce, !1) : Tr, I(o, "NewExpression");
|
|
620
620
|
}
|
|
621
|
-
|
|
621
|
+
M();
|
|
622
622
|
}
|
|
623
623
|
function wt(o, l) {
|
|
624
|
-
|
|
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
|
|
634
|
-
h.name === o.oa[
|
|
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
|
|
636
|
+
return I(o, l ? "FunctionDeclaration" : "FunctionExpression");
|
|
637
637
|
}
|
|
638
638
|
function kt(o, l, c) {
|
|
639
|
-
for (var h = [],
|
|
640
|
-
if (
|
|
641
|
-
|
|
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 &&
|
|
644
|
+
h.push(c && A === be ? null : Q(!0));
|
|
645
645
|
}
|
|
646
646
|
return h;
|
|
647
647
|
}
|
|
648
648
|
function ue(o) {
|
|
649
|
-
var l =
|
|
650
|
-
return o && O.yb === "everywhere" && (o = !1),
|
|
649
|
+
var l = W();
|
|
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 ||
|
|
659
|
-
c = U(), o.body.push(c), l && Te(c) &&
|
|
660
|
-
return
|
|
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 || W(), l = !0, c || (o.body = []); A !== At; )
|
|
659
|
+
c = U(), o.body.push(c), l && Te(c) && G(!0), l = !1;
|
|
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,
|
|
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(([
|
|
2547
|
-
const
|
|
2548
|
-
return `var ${
|
|
2546
|
+
}), g = f.map(([E]) => {
|
|
2547
|
+
const N = Qn(E);
|
|
2548
|
+
return `var ${E} = ${N} === undefined ? undefined : JSON.parse(${N});`;
|
|
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
|
-
`, _ = (
|
|
2563
|
-
const
|
|
2564
|
-
a == null || a(
|
|
2565
|
-
},
|
|
2566
|
-
f.forEach(([
|
|
2567
|
-
const y = JSON.stringify(
|
|
2568
|
-
|
|
2569
|
-
}),
|
|
2562
|
+
`, _ = (E, N) => {
|
|
2563
|
+
const L = pr(u, E, N);
|
|
2564
|
+
a == null || a(L);
|
|
2565
|
+
}, K = function(E, N) {
|
|
2566
|
+
f.forEach(([L, $]) => {
|
|
2567
|
+
const y = JSON.stringify($);
|
|
2568
|
+
E.setProperty(N, Qn(L), y);
|
|
2569
|
+
}), E.setProperty(N, "setRootState", E.createNativeFunction(_));
|
|
2570
2570
|
};
|
|
2571
2571
|
try {
|
|
2572
|
-
const
|
|
2573
|
-
return
|
|
2574
|
-
} catch (
|
|
2572
|
+
const E = new m(b, K);
|
|
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:
|
|
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
|
|
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
|
-
((
|
|
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 "";
|
|
@@ -2810,7 +2810,7 @@ function dn(e) {
|
|
|
2810
2810
|
"medium",
|
|
2811
2811
|
s
|
|
2812
2812
|
)
|
|
2813
|
-
}) : "",
|
|
2813
|
+
}) : "", K = g ? $t({
|
|
2814
2814
|
className: v,
|
|
2815
2815
|
styles: g,
|
|
2816
2816
|
mediaQuery: er(
|
|
@@ -2818,7 +2818,7 @@ function dn(e) {
|
|
|
2818
2818
|
s
|
|
2819
2819
|
)
|
|
2820
2820
|
}) : "";
|
|
2821
|
-
return [b, _,
|
|
2821
|
+
return [b, _, K].join(" ");
|
|
2822
2822
|
}
|
|
2823
2823
|
return /* @__PURE__ */ p(P, { children: r() && t() ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(gt, { styles: r() }) }) : null });
|
|
2824
2824
|
}
|
|
@@ -2983,7 +2983,7 @@ const Ni = ({
|
|
|
2983
2983
|
};
|
|
2984
2984
|
function nr(e) {
|
|
2985
2985
|
var n, i;
|
|
2986
|
-
const [t, r] =
|
|
2986
|
+
const [t, r] = H(
|
|
2987
2987
|
() => e.isInteractive ? Pi : e.componentRef
|
|
2988
2988
|
);
|
|
2989
2989
|
return /* @__PURE__ */ p(P, { children: e.componentRef ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ Z(
|
|
@@ -3021,7 +3021,7 @@ function nr(e) {
|
|
|
3021
3021
|
) }) : null });
|
|
3022
3022
|
}
|
|
3023
3023
|
function Mi(e) {
|
|
3024
|
-
const [t, r] =
|
|
3024
|
+
const [t, r] = H(() => e.repeatContext);
|
|
3025
3025
|
return /* @__PURE__ */ p(Zt.Provider, { value: t, children: /* @__PURE__ */ p(
|
|
3026
3026
|
vt,
|
|
3027
3027
|
{
|
|
@@ -3032,7 +3032,7 @@ function Mi(e) {
|
|
|
3032
3032
|
) });
|
|
3033
3033
|
}
|
|
3034
3034
|
function vt(e) {
|
|
3035
|
-
var v, b, _,
|
|
3035
|
+
var v, b, _, K;
|
|
3036
3036
|
function t() {
|
|
3037
3037
|
return wi({
|
|
3038
3038
|
block: e.block,
|
|
@@ -3047,7 +3047,8 @@ function vt(e) {
|
|
|
3047
3047
|
});
|
|
3048
3048
|
}
|
|
3049
3049
|
function n() {
|
|
3050
|
-
|
|
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,32 +3061,36 @@ function vt(e) {
|
|
|
3060
3061
|
return e.block.tagName || "div";
|
|
3061
3062
|
}
|
|
3062
3063
|
function a() {
|
|
3063
|
-
|
|
3064
|
+
var L, $;
|
|
3065
|
+
if ((L = e.block.repeat) != null && L.collection)
|
|
3066
|
+
return !!(($ = r == null ? void 0 : r()) != null && $.length);
|
|
3067
|
+
const E = "hide" in n() ? n().hide : !1;
|
|
3068
|
+
return ("show" in n() ? n().show : !0) && !E;
|
|
3064
3069
|
}
|
|
3065
3070
|
function s() {
|
|
3066
|
-
var
|
|
3067
|
-
return !((
|
|
3071
|
+
var N;
|
|
3072
|
+
return !((N = t == null ? void 0 : t()) != null && N.component) && !r() ? n().children ?? [] : [];
|
|
3068
3073
|
}
|
|
3069
3074
|
function u() {
|
|
3070
|
-
var
|
|
3075
|
+
var E, N, L, $, y;
|
|
3071
3076
|
return {
|
|
3072
3077
|
blockChildren: n().children ?? [],
|
|
3073
|
-
componentRef: (
|
|
3078
|
+
componentRef: (E = t == null ? void 0 : t()) == null ? void 0 : E.component,
|
|
3074
3079
|
componentOptions: {
|
|
3075
3080
|
...Jr(n()),
|
|
3076
3081
|
builderContext: e.context,
|
|
3077
|
-
...((
|
|
3082
|
+
...((N = t == null ? void 0 : t()) == null ? void 0 : N.name) === "Symbol" || ((L = t == null ? void 0 : t()) == null ? void 0 : L.name) === "Columns" ? {
|
|
3078
3083
|
builderComponents: e.registeredComponents
|
|
3079
3084
|
} : {}
|
|
3080
3085
|
},
|
|
3081
3086
|
context: f,
|
|
3082
3087
|
registeredComponents: e.registeredComponents,
|
|
3083
3088
|
builderBlock: n(),
|
|
3084
|
-
includeBlockProps: ((
|
|
3089
|
+
includeBlockProps: (($ = t == null ? void 0 : t()) == null ? void 0 : $.noWrap) === !0,
|
|
3085
3090
|
isInteractive: !((y = t == null ? void 0 : t()) != null && y.isRSC)
|
|
3086
3091
|
};
|
|
3087
3092
|
}
|
|
3088
|
-
const [f, g] =
|
|
3093
|
+
const [f, g] = H(() => e.context);
|
|
3089
3094
|
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(
|
|
3090
3095
|
nr,
|
|
3091
3096
|
{
|
|
@@ -3108,14 +3113,14 @@ function vt(e) {
|
|
|
3108
3113
|
hasChildren: !1
|
|
3109
3114
|
}
|
|
3110
3115
|
) }) : null,
|
|
3111
|
-
!Lt(i()) && r() ? /* @__PURE__ */ p(P, { children: (b = r()) == null ? void 0 : b.map((
|
|
3116
|
+
!Lt(i()) && r() ? /* @__PURE__ */ p(P, { children: (b = r()) == null ? void 0 : b.map((E, N) => /* @__PURE__ */ p(
|
|
3112
3117
|
Mi,
|
|
3113
3118
|
{
|
|
3114
|
-
repeatContext:
|
|
3115
|
-
block:
|
|
3119
|
+
repeatContext: E.context,
|
|
3120
|
+
block: E.block,
|
|
3116
3121
|
registeredComponents: e.registeredComponents
|
|
3117
3122
|
},
|
|
3118
|
-
|
|
3123
|
+
N
|
|
3119
3124
|
)) }) : null,
|
|
3120
3125
|
!Lt(i()) && !r() ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ Z(
|
|
3121
3126
|
tr,
|
|
@@ -3138,22 +3143,22 @@ function vt(e) {
|
|
|
3138
3143
|
isInteractive: u().isInteractive
|
|
3139
3144
|
}
|
|
3140
3145
|
),
|
|
3141
|
-
(_ = s()) == null ? void 0 : _.map((
|
|
3146
|
+
(_ = s()) == null ? void 0 : _.map((E) => /* @__PURE__ */ p(
|
|
3142
3147
|
vt,
|
|
3143
3148
|
{
|
|
3144
|
-
block:
|
|
3149
|
+
block: E,
|
|
3145
3150
|
context: f,
|
|
3146
3151
|
registeredComponents: e.registeredComponents
|
|
3147
3152
|
},
|
|
3148
|
-
"block-" +
|
|
3153
|
+
"block-" + E.id
|
|
3149
3154
|
)),
|
|
3150
|
-
(
|
|
3155
|
+
(K = s()) == null ? void 0 : K.map((E) => /* @__PURE__ */ p(
|
|
3151
3156
|
dn,
|
|
3152
3157
|
{
|
|
3153
|
-
block:
|
|
3158
|
+
block: E,
|
|
3154
3159
|
context: f
|
|
3155
3160
|
},
|
|
3156
|
-
"block-style-" +
|
|
3161
|
+
"block-style-" + E.id
|
|
3157
3162
|
))
|
|
3158
3163
|
]
|
|
3159
3164
|
}
|
|
@@ -3245,36 +3250,36 @@ function fn(e) {
|
|
|
3245
3250
|
);
|
|
3246
3251
|
}
|
|
3247
3252
|
function Ui(e) {
|
|
3248
|
-
var
|
|
3249
|
-
const [t, r] =
|
|
3253
|
+
var $;
|
|
3254
|
+
const [t, r] = H(
|
|
3250
3255
|
() => typeof e.space == "number" ? e.space || 0 : 20
|
|
3251
|
-
), [n, i] =
|
|
3256
|
+
), [n, i] = H(() => e.columns || []), [a, s] = H(
|
|
3252
3257
|
() => e.stackColumnsAt || "tablet"
|
|
3253
3258
|
);
|
|
3254
3259
|
function u(y) {
|
|
3255
|
-
var
|
|
3256
|
-
return ((
|
|
3260
|
+
var G;
|
|
3261
|
+
return ((G = n[y]) == null ? void 0 : G.width) || 100 / n.length;
|
|
3257
3262
|
}
|
|
3258
3263
|
function f(y) {
|
|
3259
|
-
const
|
|
3260
|
-
return `calc(${u(y)}% - ${
|
|
3264
|
+
const G = t * (n.length - 1) / n.length;
|
|
3265
|
+
return `calc(${u(y)}% - ${G}px)`;
|
|
3261
3266
|
}
|
|
3262
3267
|
function g({
|
|
3263
3268
|
stackedStyle: y,
|
|
3264
|
-
desktopStyle:
|
|
3269
|
+
desktopStyle: G
|
|
3265
3270
|
}) {
|
|
3266
|
-
return a === "tablet" ? y :
|
|
3271
|
+
return a === "tablet" ? y : G;
|
|
3267
3272
|
}
|
|
3268
3273
|
function v({
|
|
3269
3274
|
stackedStyle: y,
|
|
3270
|
-
desktopStyle:
|
|
3275
|
+
desktopStyle: G
|
|
3271
3276
|
}) {
|
|
3272
|
-
return a === "never" ?
|
|
3277
|
+
return a === "never" ? G : y;
|
|
3273
3278
|
}
|
|
3274
|
-
const [b, _] =
|
|
3279
|
+
const [b, _] = H(
|
|
3275
3280
|
() => e.stackColumnsAt === "never" ? "row" : e.reverseColumnsWhenStacked ? "column-reverse" : "column"
|
|
3276
3281
|
);
|
|
3277
|
-
function
|
|
3282
|
+
function K() {
|
|
3278
3283
|
return {
|
|
3279
3284
|
"--flex-dir": b,
|
|
3280
3285
|
"--flex-dir-tablet": g({
|
|
@@ -3283,13 +3288,13 @@ function Ui(e) {
|
|
|
3283
3288
|
})
|
|
3284
3289
|
};
|
|
3285
3290
|
}
|
|
3286
|
-
function
|
|
3287
|
-
const
|
|
3291
|
+
function E(y) {
|
|
3292
|
+
const G = y === 0 ? 0 : t, ae = f(y), se = `${G}px`, W = "100%", te = 0;
|
|
3288
3293
|
return {
|
|
3289
3294
|
width: ae,
|
|
3290
3295
|
["marginLeft"]: se,
|
|
3291
3296
|
"--column-width-mobile": v({
|
|
3292
|
-
stackedStyle:
|
|
3297
|
+
stackedStyle: W,
|
|
3293
3298
|
desktopStyle: ae
|
|
3294
3299
|
}),
|
|
3295
3300
|
"--column-margin-left-mobile": v({
|
|
@@ -3297,7 +3302,7 @@ function Ui(e) {
|
|
|
3297
3302
|
desktopStyle: se
|
|
3298
3303
|
}),
|
|
3299
3304
|
"--column-width-tablet": g({
|
|
3300
|
-
stackedStyle:
|
|
3305
|
+
stackedStyle: W,
|
|
3301
3306
|
desktopStyle: ae
|
|
3302
3307
|
}),
|
|
3303
3308
|
"--column-margin-left-tablet": g({
|
|
@@ -3306,15 +3311,15 @@ function Ui(e) {
|
|
|
3306
3311
|
})
|
|
3307
3312
|
};
|
|
3308
3313
|
}
|
|
3309
|
-
function
|
|
3314
|
+
function N(y) {
|
|
3310
3315
|
var ae, se;
|
|
3311
3316
|
return Sr(
|
|
3312
3317
|
((se = (ae = e.builderContext.content) == null ? void 0 : ae.meta) == null ? void 0 : se.breakpoints) || {}
|
|
3313
3318
|
)[y].max;
|
|
3314
3319
|
}
|
|
3315
|
-
function
|
|
3320
|
+
function L() {
|
|
3316
3321
|
return `
|
|
3317
|
-
@media (max-width: ${
|
|
3322
|
+
@media (max-width: ${N("medium")}px) {
|
|
3318
3323
|
.${e.builderBlock.id}-breakpoints {
|
|
3319
3324
|
flex-direction: var(--flex-dir-tablet);
|
|
3320
3325
|
align-items: stretch;
|
|
@@ -3326,7 +3331,7 @@ function Ui(e) {
|
|
|
3326
3331
|
}
|
|
3327
3332
|
}
|
|
3328
3333
|
|
|
3329
|
-
@media (max-width: ${
|
|
3334
|
+
@media (max-width: ${N("small")}px) {
|
|
3330
3335
|
.${e.builderBlock.id}-breakpoints {
|
|
3331
3336
|
flex-direction: var(--flex-dir);
|
|
3332
3337
|
align-items: stretch;
|
|
@@ -3344,20 +3349,20 @@ function Ui(e) {
|
|
|
3344
3349
|
"div",
|
|
3345
3350
|
{
|
|
3346
3351
|
className: `builder-columns ${e.builderBlock.id}-breakpoints div-53636e90`,
|
|
3347
|
-
style:
|
|
3352
|
+
style: K(),
|
|
3348
3353
|
children: [
|
|
3349
|
-
/* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(gt, { styles:
|
|
3350
|
-
(
|
|
3354
|
+
/* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(gt, { styles: L() }) }),
|
|
3355
|
+
($ = e.columns) == null ? void 0 : $.map((y, G) => /* @__PURE__ */ ur(
|
|
3351
3356
|
"div",
|
|
3352
3357
|
{
|
|
3353
3358
|
className: "builder-column div-53636e90-2",
|
|
3354
|
-
style:
|
|
3355
|
-
key:
|
|
3359
|
+
style: E(G),
|
|
3360
|
+
key: G
|
|
3356
3361
|
},
|
|
3357
3362
|
/* @__PURE__ */ p(
|
|
3358
3363
|
fn,
|
|
3359
3364
|
{
|
|
3360
|
-
path: `component.options.columns.${
|
|
3365
|
+
path: `component.options.columns.${G}.blocks`,
|
|
3361
3366
|
parent: e.builderBlock.id,
|
|
3362
3367
|
styleProp: {
|
|
3363
3368
|
flexGrow: "1"
|
|
@@ -3776,7 +3781,7 @@ const $i = {
|
|
|
3776
3781
|
}]
|
|
3777
3782
|
};
|
|
3778
3783
|
function Ki(e) {
|
|
3779
|
-
const t = Jt(null), [r, n] =
|
|
3784
|
+
const t = Jt(null), [r, n] = H(() => []), [i, a] = H(() => []);
|
|
3780
3785
|
return ee(() => {
|
|
3781
3786
|
var u;
|
|
3782
3787
|
if (!((u = t.current) != null && u.getElementsByTagName) || typeof window > "u")
|
|
@@ -3840,7 +3845,7 @@ const Gi = {
|
|
|
3840
3845
|
}]
|
|
3841
3846
|
}, zi = ["text/javascript", "application/javascript", "application/ecmascript"], Xi = (e) => zi.includes(e.type);
|
|
3842
3847
|
function Yi(e) {
|
|
3843
|
-
const t = Jt(null), [r, n] =
|
|
3848
|
+
const t = Jt(null), [r, n] = H(() => []), [i, a] = H(() => []), [s, u] = H(() => !1);
|
|
3844
3849
|
function f() {
|
|
3845
3850
|
if (!t.current || !t.current.getElementsByTagName)
|
|
3846
3851
|
return;
|
|
@@ -4486,7 +4491,7 @@ const po = (e, t, r = !0) => {
|
|
|
4486
4491
|
builderElementIndex: r && n ? [].slice.call(document.getElementsByClassName(n)).indexOf(r) : void 0
|
|
4487
4492
|
}
|
|
4488
4493
|
};
|
|
4489
|
-
}, vo = "0.7.
|
|
4494
|
+
}, vo = "0.7.6", yo = () => {
|
|
4490
4495
|
Hr("insertMenu", {
|
|
4491
4496
|
name: "_default",
|
|
4492
4497
|
default: !0,
|
|
@@ -4549,8 +4554,8 @@ const xo = (e = {}) => {
|
|
|
4549
4554
|
error: b.message
|
|
4550
4555
|
}
|
|
4551
4556
|
}, "*") : v && typeof v.then == "function" ? v.then((_) => {
|
|
4552
|
-
var
|
|
4553
|
-
(
|
|
4557
|
+
var K;
|
|
4558
|
+
(K = window.parent) == null || K.postMessage({
|
|
4554
4559
|
type: "builder.evaluateResult",
|
|
4555
4560
|
data: {
|
|
4556
4561
|
id: f,
|
|
@@ -4570,39 +4575,39 @@ const xo = (e = {}) => {
|
|
|
4570
4575
|
})));
|
|
4571
4576
|
};
|
|
4572
4577
|
function bo(e) {
|
|
4573
|
-
var ae, se,
|
|
4574
|
-
const t = Jt(null), [r, n] =
|
|
4575
|
-
function i(
|
|
4576
|
-
var C,
|
|
4577
|
-
const
|
|
4578
|
+
var ae, se, W, te, I, Te, D;
|
|
4579
|
+
const t = Jt(null), [r, n] = H(() => 0);
|
|
4580
|
+
function i(j) {
|
|
4581
|
+
var C, M, V, U, ye;
|
|
4582
|
+
const T = {
|
|
4578
4583
|
...e.builderContextSignal.content,
|
|
4579
|
-
...
|
|
4584
|
+
...j,
|
|
4580
4585
|
data: {
|
|
4581
4586
|
...(C = e.builderContextSignal.content) == null ? void 0 : C.data,
|
|
4582
|
-
...
|
|
4587
|
+
...j == null ? void 0 : j.data
|
|
4583
4588
|
},
|
|
4584
4589
|
meta: {
|
|
4585
|
-
...(
|
|
4586
|
-
...
|
|
4587
|
-
breakpoints: ((V =
|
|
4590
|
+
...(M = e.builderContextSignal.content) == null ? void 0 : M.meta,
|
|
4591
|
+
...j == null ? void 0 : j.meta,
|
|
4592
|
+
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
4593
|
}
|
|
4589
4594
|
};
|
|
4590
4595
|
e.setBuilderContextSignal((we) => ({
|
|
4591
4596
|
...we,
|
|
4592
|
-
content:
|
|
4597
|
+
content: T
|
|
4593
4598
|
}));
|
|
4594
4599
|
}
|
|
4595
|
-
|
|
4596
|
-
const [a, s] =
|
|
4600
|
+
H(() => 0);
|
|
4601
|
+
const [a, s] = H(
|
|
4597
4602
|
() => !1
|
|
4598
4603
|
);
|
|
4599
|
-
function u(
|
|
4604
|
+
function u(j) {
|
|
4600
4605
|
var C;
|
|
4601
|
-
const { data:
|
|
4602
|
-
if (
|
|
4603
|
-
switch (
|
|
4606
|
+
const { data: T } = j;
|
|
4607
|
+
if (T)
|
|
4608
|
+
switch (T.type) {
|
|
4604
4609
|
case "builder.configureSdk": {
|
|
4605
|
-
const
|
|
4610
|
+
const M = T.data, { breakpoints: V, contentId: U } = M;
|
|
4606
4611
|
if (!U || U !== ((C = e.builderContextSignal.content) == null ? void 0 : C.id))
|
|
4607
4612
|
return;
|
|
4608
4613
|
V && i({
|
|
@@ -4613,44 +4618,44 @@ function bo(e) {
|
|
|
4613
4618
|
break;
|
|
4614
4619
|
}
|
|
4615
4620
|
case "builder.contentUpdate": {
|
|
4616
|
-
const
|
|
4621
|
+
const M = T.data, V = M.key || M.alias || M.entry || M.modelName, U = M.data;
|
|
4617
4622
|
V === e.model && (i(U), n(r + 1));
|
|
4618
4623
|
break;
|
|
4619
4624
|
}
|
|
4620
4625
|
}
|
|
4621
4626
|
}
|
|
4622
4627
|
function f() {
|
|
4623
|
-
var
|
|
4624
|
-
const
|
|
4625
|
-
|
|
4626
|
-
code:
|
|
4628
|
+
var T, C;
|
|
4629
|
+
const j = (C = (T = e.builderContextSignal.content) == null ? void 0 : T.data) == null ? void 0 : C.jsCode;
|
|
4630
|
+
j && et({
|
|
4631
|
+
code: j,
|
|
4627
4632
|
context: e.context || {},
|
|
4628
4633
|
localState: void 0,
|
|
4629
4634
|
rootState: e.builderContextSignal.rootState,
|
|
4630
4635
|
rootSetState: e.builderContextSignal.rootSetState
|
|
4631
4636
|
});
|
|
4632
4637
|
}
|
|
4633
|
-
const [g, v] =
|
|
4634
|
-
function
|
|
4635
|
-
var
|
|
4638
|
+
const [g, v] = H(() => ({})), [b, _] = H(() => !1);
|
|
4639
|
+
function K(j) {
|
|
4640
|
+
var T, C;
|
|
4636
4641
|
if (e.builderContextSignal.content) {
|
|
4637
|
-
const
|
|
4642
|
+
const M = (T = e.builderContextSignal.content) == null ? void 0 : T.testVariationId, V = (C = e.builderContextSignal.content) == null ? void 0 : C.id;
|
|
4638
4643
|
Kn({
|
|
4639
4644
|
type: "click",
|
|
4640
4645
|
canTrack: dt(e.canTrack),
|
|
4641
4646
|
contentId: V,
|
|
4642
4647
|
apiKey: e.apiKey,
|
|
4643
|
-
variationId:
|
|
4644
|
-
...go(
|
|
4648
|
+
variationId: M !== V ? M : void 0,
|
|
4649
|
+
...go(j),
|
|
4645
4650
|
unique: !b
|
|
4646
4651
|
});
|
|
4647
4652
|
}
|
|
4648
4653
|
b || _(!0);
|
|
4649
4654
|
}
|
|
4650
|
-
function
|
|
4651
|
-
return
|
|
4655
|
+
function E(j) {
|
|
4656
|
+
return j.replace(
|
|
4652
4657
|
/{{([^}]+)}}/g,
|
|
4653
|
-
(
|
|
4658
|
+
(T, C) => et({
|
|
4654
4659
|
code: C,
|
|
4655
4660
|
context: e.context || {},
|
|
4656
4661
|
localState: void 0,
|
|
@@ -4659,32 +4664,32 @@ function bo(e) {
|
|
|
4659
4664
|
})
|
|
4660
4665
|
);
|
|
4661
4666
|
}
|
|
4662
|
-
function
|
|
4663
|
-
zr(
|
|
4667
|
+
function N({ url: j, key: T }) {
|
|
4668
|
+
zr(j).then((C) => C.json()).then((C) => {
|
|
4664
4669
|
var V, U;
|
|
4665
|
-
const
|
|
4670
|
+
const M = {
|
|
4666
4671
|
...e.builderContextSignal.rootState,
|
|
4667
|
-
[
|
|
4672
|
+
[T]: C
|
|
4668
4673
|
};
|
|
4669
|
-
(U = (V = e.builderContextSignal).rootSetState) == null || U.call(V,
|
|
4674
|
+
(U = (V = e.builderContextSignal).rootSetState) == null || U.call(V, M), g[T] = !0;
|
|
4670
4675
|
}).catch((C) => {
|
|
4671
|
-
console.error("error fetching dynamic data",
|
|
4676
|
+
console.error("error fetching dynamic data", j, C);
|
|
4672
4677
|
});
|
|
4673
4678
|
}
|
|
4674
|
-
function
|
|
4675
|
-
var
|
|
4676
|
-
const
|
|
4677
|
-
Object.entries(
|
|
4678
|
-
if (V && (!g[
|
|
4679
|
-
const U =
|
|
4680
|
-
|
|
4679
|
+
function L() {
|
|
4680
|
+
var T, C;
|
|
4681
|
+
const j = ((C = (T = e.builderContextSignal.content) == null ? void 0 : T.data) == null ? void 0 : C.httpRequests) ?? {};
|
|
4682
|
+
Object.entries(j).forEach(([M, V]) => {
|
|
4683
|
+
if (V && (!g[M] || Ee())) {
|
|
4684
|
+
const U = E(V);
|
|
4685
|
+
N({
|
|
4681
4686
|
url: U,
|
|
4682
|
-
key:
|
|
4687
|
+
key: M
|
|
4683
4688
|
});
|
|
4684
4689
|
}
|
|
4685
4690
|
});
|
|
4686
4691
|
}
|
|
4687
|
-
function
|
|
4692
|
+
function $() {
|
|
4688
4693
|
Ee() && window.dispatchEvent(
|
|
4689
4694
|
new CustomEvent(
|
|
4690
4695
|
"builder:component:stateChange",
|
|
@@ -4699,7 +4704,7 @@ function bo(e) {
|
|
|
4699
4704
|
)
|
|
4700
4705
|
);
|
|
4701
4706
|
}
|
|
4702
|
-
function y(
|
|
4707
|
+
function y(j) {
|
|
4703
4708
|
n(r + 1), window.addEventListener("message", u), yo(), xo({
|
|
4704
4709
|
...e.locale ? {
|
|
4705
4710
|
locale: e.locale
|
|
@@ -4712,20 +4717,20 @@ function bo(e) {
|
|
|
4712
4717
|
} : {}
|
|
4713
4718
|
}), Object.values(
|
|
4714
4719
|
e.builderContextSignal.componentInfos
|
|
4715
|
-
).forEach((
|
|
4716
|
-
var
|
|
4717
|
-
const C = Gr(
|
|
4718
|
-
(
|
|
4720
|
+
).forEach((T) => {
|
|
4721
|
+
var M;
|
|
4722
|
+
const C = Gr(T);
|
|
4723
|
+
(M = window.parent) == null || M.postMessage(C, "*");
|
|
4719
4724
|
}), window.addEventListener(
|
|
4720
4725
|
"builder:component:stateChangeListenerActivated",
|
|
4721
|
-
|
|
4726
|
+
$
|
|
4722
4727
|
);
|
|
4723
4728
|
}
|
|
4724
|
-
function
|
|
4725
|
-
const
|
|
4729
|
+
function G(j) {
|
|
4730
|
+
const T = new URL(location.href).searchParams, C = T.get("builder.preview"), M = T.get(
|
|
4726
4731
|
`builder.preview.${C}`
|
|
4727
|
-
), V =
|
|
4728
|
-
C === e.model && V === e.apiKey && (!e.content ||
|
|
4732
|
+
), V = T.get("apiKey") || T.get("builder.space");
|
|
4733
|
+
C === e.model && V === e.apiKey && (!e.content || M === e.content.id) && dr({
|
|
4729
4734
|
model: e.model,
|
|
4730
4735
|
apiKey: e.apiKey,
|
|
4731
4736
|
apiVersion: e.builderContextSignal.apiVersion
|
|
@@ -4734,40 +4739,40 @@ function bo(e) {
|
|
|
4734
4739
|
});
|
|
4735
4740
|
}
|
|
4736
4741
|
return ee(() => {
|
|
4737
|
-
var
|
|
4738
|
-
return (
|
|
4742
|
+
var j;
|
|
4743
|
+
return (j = t.current) == null || j.addEventListener(
|
|
4739
4744
|
"initeditingbldr",
|
|
4740
4745
|
y
|
|
4741
4746
|
), () => {
|
|
4742
|
-
var
|
|
4743
|
-
return (
|
|
4747
|
+
var T;
|
|
4748
|
+
return (T = t.current) == null ? void 0 : T.removeEventListener(
|
|
4744
4749
|
"initeditingbldr",
|
|
4745
4750
|
y
|
|
4746
4751
|
);
|
|
4747
4752
|
};
|
|
4748
4753
|
}, []), ee(() => {
|
|
4749
|
-
var
|
|
4750
|
-
return (
|
|
4754
|
+
var j;
|
|
4755
|
+
return (j = t.current) == null || j.addEventListener(
|
|
4751
4756
|
"initpreviewingbldr",
|
|
4752
|
-
|
|
4757
|
+
G
|
|
4753
4758
|
), () => {
|
|
4754
|
-
var
|
|
4755
|
-
return (
|
|
4759
|
+
var T;
|
|
4760
|
+
return (T = t.current) == null ? void 0 : T.removeEventListener(
|
|
4756
4761
|
"initpreviewingbldr",
|
|
4757
|
-
|
|
4762
|
+
G
|
|
4758
4763
|
);
|
|
4759
4764
|
};
|
|
4760
4765
|
}, []), ee(() => {
|
|
4761
|
-
var
|
|
4766
|
+
var j, T;
|
|
4762
4767
|
if (Ie()) {
|
|
4763
4768
|
if (Ee() && t.current && t.current.dispatchEvent(new CustomEvent("initeditingbldr")), e.builderContextSignal.content && dt(e.canTrack)) {
|
|
4764
|
-
const
|
|
4769
|
+
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
4770
|
Kn({
|
|
4766
4771
|
type: "impression",
|
|
4767
4772
|
canTrack: !0,
|
|
4768
4773
|
contentId: V,
|
|
4769
4774
|
apiKey: U,
|
|
4770
|
-
variationId:
|
|
4775
|
+
variationId: M !== V ? M : void 0
|
|
4771
4776
|
});
|
|
4772
4777
|
}
|
|
4773
4778
|
Kr() && t.current && t.current.dispatchEvent(new CustomEvent("initpreviewingbldr"));
|
|
@@ -4775,7 +4780,7 @@ function bo(e) {
|
|
|
4775
4780
|
}, []), ee(() => {
|
|
4776
4781
|
e.apiKey || Fe.error(
|
|
4777
4782
|
"No API key provided to `RenderContent` component. This can cause issues. Please provide an API key using the `apiKey` prop."
|
|
4778
|
-
), f(),
|
|
4783
|
+
), f(), L(), $();
|
|
4779
4784
|
}, []), ee(() => {
|
|
4780
4785
|
e.content && i(e.content);
|
|
4781
4786
|
}, [e.content]), ee(() => {
|
|
@@ -4785,21 +4790,21 @@ function bo(e) {
|
|
|
4785
4790
|
(se = (ae = e.builderContextSignal.content) == null ? void 0 : ae.data) == null ? void 0 : se.jsCode,
|
|
4786
4791
|
e.builderContextSignal.rootState
|
|
4787
4792
|
]), ee(() => {
|
|
4788
|
-
|
|
4789
|
-
}, [(te = (
|
|
4790
|
-
|
|
4793
|
+
L();
|
|
4794
|
+
}, [(te = (W = e.builderContextSignal.content) == null ? void 0 : W.data) == null ? void 0 : te.httpRequests]), ee(() => {
|
|
4795
|
+
$();
|
|
4791
4796
|
}, [e.builderContextSignal.rootState]), ee(() => () => {
|
|
4792
4797
|
Ie() && (window.removeEventListener("message", u), window.removeEventListener(
|
|
4793
4798
|
"builder:component:stateChangeListenerActivated",
|
|
4794
|
-
|
|
4799
|
+
$
|
|
4795
4800
|
));
|
|
4796
4801
|
}, []), /* @__PURE__ */ p(Zt.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ ur(
|
|
4797
4802
|
"div",
|
|
4798
4803
|
{
|
|
4799
4804
|
key: r,
|
|
4800
4805
|
ref: t,
|
|
4801
|
-
onClick: (
|
|
4802
|
-
"builder-content-id": (
|
|
4806
|
+
onClick: (j) => K(j),
|
|
4807
|
+
"builder-content-id": (I = e.builderContextSignal.content) == null ? void 0 : I.id,
|
|
4803
4808
|
"builder-model": e.model,
|
|
4804
4809
|
...e.showContent ? {} : {
|
|
4805
4810
|
hidden: !0,
|
|
@@ -4846,7 +4851,7 @@ font-weight: ${s};
|
|
|
4846
4851
|
contentId: t
|
|
4847
4852
|
}) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "";
|
|
4848
4853
|
function Co(e) {
|
|
4849
|
-
const [t, r] =
|
|
4854
|
+
const [t, r] = H(
|
|
4850
4855
|
() => `
|
|
4851
4856
|
${ko({
|
|
4852
4857
|
cssCode: e.cssCode,
|
|
@@ -4878,22 +4883,17 @@ const Eo = ({
|
|
|
4878
4883
|
locale: r
|
|
4879
4884
|
}) => {
|
|
4880
4885
|
var a, s, u;
|
|
4881
|
-
const n = {};
|
|
4882
|
-
(
|
|
4883
|
-
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
...(u = e == null ? void 0 : e.data) == null ? void 0 : u.state,
|
|
4886
|
+
const n = {}, i = ((a = e == null ? void 0 : e.data) == null ? void 0 : a.state) || {};
|
|
4887
|
+
return (u = (s = e == null ? void 0 : e.data) == null ? void 0 : s.inputs) == null || u.forEach((f) => {
|
|
4888
|
+
f.name && f.defaultValue !== void 0 && (n[f.name] = f.defaultValue);
|
|
4889
|
+
}), {
|
|
4890
|
+
...n,
|
|
4891
|
+
...i,
|
|
4888
4892
|
...t,
|
|
4889
4893
|
...r ? {
|
|
4890
4894
|
locale: r
|
|
4891
4895
|
} : {}
|
|
4892
4896
|
};
|
|
4893
|
-
return {
|
|
4894
|
-
...n,
|
|
4895
|
-
...i
|
|
4896
|
-
};
|
|
4897
4897
|
}, Io = ({
|
|
4898
4898
|
content: e,
|
|
4899
4899
|
data: t
|
|
@@ -4906,25 +4906,25 @@ const Eo = ({
|
|
|
4906
4906
|
meta: e == null ? void 0 : e.meta
|
|
4907
4907
|
} : void 0;
|
|
4908
4908
|
function lr(e) {
|
|
4909
|
-
var f, g, v, b, _,
|
|
4910
|
-
const [t, r] =
|
|
4909
|
+
var f, g, v, b, _, K, E;
|
|
4910
|
+
const [t, r] = H(
|
|
4911
4911
|
() => {
|
|
4912
|
-
var
|
|
4912
|
+
var N, L;
|
|
4913
4913
|
return ho({
|
|
4914
4914
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
|
|
4915
|
-
variationId: (
|
|
4915
|
+
variationId: (N = e.content) == null ? void 0 : N.testVariationId,
|
|
4916
4916
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
|
|
4917
|
-
contentId: (
|
|
4917
|
+
contentId: (L = e.content) == null ? void 0 : L.id
|
|
4918
4918
|
});
|
|
4919
4919
|
}
|
|
4920
4920
|
);
|
|
4921
|
-
function n(
|
|
4922
|
-
u((
|
|
4923
|
-
...
|
|
4924
|
-
rootState:
|
|
4921
|
+
function n(N) {
|
|
4922
|
+
u((L) => ({
|
|
4923
|
+
...L,
|
|
4924
|
+
rootState: N
|
|
4925
4925
|
}));
|
|
4926
4926
|
}
|
|
4927
|
-
const [i, a] =
|
|
4927
|
+
const [i, a] = H(
|
|
4928
4928
|
() => [
|
|
4929
4929
|
...ir(),
|
|
4930
4930
|
// While this `components` object is deprecated, we must maintain support for it.
|
|
@@ -4935,16 +4935,16 @@ function lr(e) {
|
|
|
4935
4935
|
...Gn,
|
|
4936
4936
|
...e.customComponents || []
|
|
4937
4937
|
].reduce(
|
|
4938
|
-
(
|
|
4939
|
-
...
|
|
4940
|
-
[
|
|
4941
|
-
component:
|
|
4942
|
-
...zn(
|
|
4938
|
+
(N, { component: L, ...$ }) => ({
|
|
4939
|
+
...N,
|
|
4940
|
+
[$.name]: {
|
|
4941
|
+
component: L,
|
|
4942
|
+
...zn($)
|
|
4943
4943
|
}
|
|
4944
4944
|
}),
|
|
4945
4945
|
{}
|
|
4946
4946
|
)
|
|
4947
|
-
), [s, u] =
|
|
4947
|
+
), [s, u] = H(() => ({
|
|
4948
4948
|
content: Io({
|
|
4949
4949
|
content: e.content,
|
|
4950
4950
|
data: e.data
|
|
@@ -4969,9 +4969,9 @@ function lr(e) {
|
|
|
4969
4969
|
...Gn,
|
|
4970
4970
|
...e.customComponents || []
|
|
4971
4971
|
].reduce(
|
|
4972
|
-
(
|
|
4973
|
-
...
|
|
4974
|
-
[
|
|
4972
|
+
(N, { component: L, ...$ }) => ({
|
|
4973
|
+
...N,
|
|
4974
|
+
[$.name]: zn($)
|
|
4975
4975
|
}),
|
|
4976
4976
|
{}
|
|
4977
4977
|
),
|
|
@@ -5010,7 +5010,7 @@ function lr(e) {
|
|
|
5010
5010
|
/* @__PURE__ */ p(
|
|
5011
5011
|
fn,
|
|
5012
5012
|
{
|
|
5013
|
-
blocks: (
|
|
5013
|
+
blocks: (E = (K = s.content) == null ? void 0 : K.data) == null ? void 0 : E.blocks,
|
|
5014
5014
|
context: s,
|
|
5015
5015
|
registeredComponents: i
|
|
5016
5016
|
}
|
|
@@ -5023,7 +5023,7 @@ function lr(e) {
|
|
|
5023
5023
|
}
|
|
5024
5024
|
function Ir(e) {
|
|
5025
5025
|
var s, u;
|
|
5026
|
-
const [t, r] =
|
|
5026
|
+
const [t, r] = H(
|
|
5027
5027
|
() => lo({
|
|
5028
5028
|
canTrack: dt(e.canTrack),
|
|
5029
5029
|
content: e.content
|
|
@@ -5134,7 +5134,7 @@ function jo(e) {
|
|
|
5134
5134
|
(g = e.symbol) != null && g.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
|
|
5135
5135
|
].filter(Boolean).join(" ");
|
|
5136
5136
|
}
|
|
5137
|
-
const [r, n] =
|
|
5137
|
+
const [r, n] = H(() => {
|
|
5138
5138
|
var f;
|
|
5139
5139
|
return (f = e.symbol) == null ? void 0 : f.content;
|
|
5140
5140
|
});
|