@builder.io/sdk-react-nextjs 0.15.0 → 0.15.2
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/blocks-exports.cjs +10 -10
- package/lib/browser/blocks-exports.mjs +94 -107
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +1 -1
- package/lib/browser/init.cjs +1 -1
- package/lib/browser/init.mjs +1 -1
- package/lib/browser/{server-entry-98a38828.js → server-entry-7f981733.js} +1 -1
- package/lib/browser/{server-entry-5ba46495.cjs → server-entry-f64a4c2d.cjs} +1 -1
- package/lib/browser/server-entry.cjs +1 -1
- package/lib/browser/server-entry.mjs +1 -1
- package/lib/edge/blocks-exports.cjs +25 -25
- package/lib/edge/blocks-exports.mjs +243 -256
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +1 -1
- package/lib/edge/init.cjs +1 -1
- package/lib/edge/init.mjs +1 -1
- package/lib/edge/{server-entry-98a38828.js → server-entry-7f981733.js} +1 -1
- package/lib/edge/{server-entry-5ba46495.cjs → server-entry-f64a4c2d.cjs} +1 -1
- package/lib/edge/server-entry.cjs +1 -1
- package/lib/edge/server-entry.mjs +1 -1
- package/lib/node/blocks-exports.cjs +13 -13
- package/lib/node/blocks-exports.mjs +41 -54
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.mjs +2 -2
- package/lib/node/init.cjs +1 -1
- package/lib/node/init.mjs +2 -2
- package/lib/node/{node-runtime-f2f9d7b3.js → node-runtime-3f0a39c5.js} +1 -1
- package/lib/node/{node-runtime-5abae854.cjs → node-runtime-6f522a33.cjs} +1 -1
- package/lib/node/{server-entry-9e9936de.js → server-entry-46bde4f0.js} +1 -1
- package/lib/node/{server-entry-8f87e771.cjs → server-entry-68c26de0.cjs} +1 -1
- package/lib/node/server-entry.cjs +1 -1
- package/lib/node/server-entry.mjs +1 -1
- package/package.json +1 -1
- package/types/cjs/constants/sdk-version.d.ts +1 -1
- package/types/cjs/types/components.d.ts +10 -0
- package/types/esm/constants/sdk-version.d.ts +1 -1
- package/types/esm/types/components.d.ts +10 -0
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
var _r = Object.defineProperty;
|
|
3
3
|
var $r = (e, t, n) => t in e ? _r(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
4
4
|
var Gt = (e, t, n) => ($r(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
5
|
-
import { jsx as
|
|
6
|
-
import { TARGET as it, isEditing as Ce, isBrowser as Fe, getUserAttributes as Hr, logger as ot, checkIsDefined as
|
|
7
|
-
import { useRef as en, useState as
|
|
5
|
+
import { jsx as v, Fragment as K, jsxs as se } from "react/jsx-runtime";
|
|
6
|
+
import { TARGET as it, isEditing as Ce, isBrowser as Fe, getUserAttributes as Hr, logger as ot, checkIsDefined as vt, fastClone as Qt, init as Kr, getDefaultCanTrack as yt, _track as zn, isPreviewing as Gr, createEditorListener as zr, fetch as Yr, registerInsertMenu as Xr, setupBrowserForEditing as Jr, createRegisterComponentMessage as qr, fetchOneEntry as cr, serializeComponentInfo as Yn, handleABTestingSync as Zr } from "./server-entry-7f981733.js";
|
|
7
|
+
import { useRef as en, useState as ve, useEffect as ie, createContext as Qr } from "react";
|
|
8
8
|
import { useRouter as ei } from "next/navigation";
|
|
9
9
|
import "lru-cache";
|
|
10
10
|
const ti = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), ni = (e) => typeof e == "string" && ti.has(e.toLowerCase());
|
|
11
11
|
function tn(e) {
|
|
12
|
-
return /* @__PURE__ */
|
|
12
|
+
return /* @__PURE__ */ v(K, { children: ni(e.TagName) ? /* @__PURE__ */ v(K, { children: /* @__PURE__ */ v(e.TagName, { ...e.attributes, ...e.actionAttributes }) }) : /* @__PURE__ */ v(K, { children: typeof e.TagName == "string" ? /* @__PURE__ */ v(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) : /* @__PURE__ */ v(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) }) });
|
|
13
13
|
}
|
|
14
14
|
const et = () => {
|
|
15
15
|
switch (it) {
|
|
@@ -39,7 +39,7 @@ function ri(e) {
|
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
|
-
return /* @__PURE__ */
|
|
42
|
+
return /* @__PURE__ */ v(
|
|
43
43
|
tn,
|
|
44
44
|
{
|
|
45
45
|
attributes: t(),
|
|
@@ -127,7 +127,7 @@ const fr = (e, t, n) => {
|
|
|
127
127
|
const r = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
|
|
128
128
|
return r.slice(0, -1).reduce((i, a, s) => Object(i[a]) === i[a] ? i[a] : i[a] = Math.abs(Number(r[s + 1])) >> 0 === +r[s + 1] ? [] : {}, e)[r[r.length - 1]] = n, e;
|
|
129
129
|
};
|
|
130
|
-
var
|
|
130
|
+
var L, li = function(e) {
|
|
131
131
|
function t(o) {
|
|
132
132
|
return 48 > o ? o === 36 : 58 > o ? !0 : 65 > o ? !1 : 91 > o ? !0 : 97 > o ? o === 95 : 123 > o ? !0 : 170 <= o && Wr.test(String.fromCharCode(o));
|
|
133
133
|
}
|
|
@@ -265,13 +265,13 @@ var M, li = function(e) {
|
|
|
265
265
|
l += "\r";
|
|
266
266
|
break;
|
|
267
267
|
case 120:
|
|
268
|
-
l += String.fromCharCode(
|
|
268
|
+
l += String.fromCharCode(M(2));
|
|
269
269
|
break;
|
|
270
270
|
case 117:
|
|
271
|
-
l += String.fromCharCode(
|
|
271
|
+
l += String.fromCharCode(M(4));
|
|
272
272
|
break;
|
|
273
273
|
case 85:
|
|
274
|
-
l += String.fromCharCode(
|
|
274
|
+
l += String.fromCharCode(M(8));
|
|
275
275
|
break;
|
|
276
276
|
case 116:
|
|
277
277
|
l += " ";
|
|
@@ -305,7 +305,7 @@ var M, li = function(e) {
|
|
|
305
305
|
return;
|
|
306
306
|
case 37:
|
|
307
307
|
case 42:
|
|
308
|
-
S.charCodeAt(d + 1) === 61 ? m(Ae, 2) : m(
|
|
308
|
+
S.charCodeAt(d + 1) === 61 ? m(Ae, 2) : m(Lr, 1);
|
|
309
309
|
return;
|
|
310
310
|
case 124:
|
|
311
311
|
case 38:
|
|
@@ -316,7 +316,7 @@ var M, li = function(e) {
|
|
|
316
316
|
return;
|
|
317
317
|
case 43:
|
|
318
318
|
case 45:
|
|
319
|
-
l = S.charCodeAt(d + 1), l === o ? l === 45 && S.charCodeAt(d + 2) === 62 && ht.test(S.slice(Se, d)) ? (d += 3, c(), f(), b()) : m(Ar, 2) : l === 61 ? m(Ae, 2) : m(
|
|
319
|
+
l = S.charCodeAt(d + 1), l === o ? l === 45 && S.charCodeAt(d + 2) === 62 && ht.test(S.slice(Se, d)) ? (d += 3, c(), f(), b()) : m(Ar, 2) : l === 61 ? m(Ae, 2) : m(Mr, 1);
|
|
320
320
|
return;
|
|
321
321
|
case 60:
|
|
322
322
|
case 62:
|
|
@@ -335,7 +335,7 @@ var M, li = function(e) {
|
|
|
335
335
|
if (o ? d = G + 1 : G = d, R.C && (Ot = new a()), o)
|
|
336
336
|
return j();
|
|
337
337
|
if (d >= je)
|
|
338
|
-
return s(
|
|
338
|
+
return s(Mt);
|
|
339
339
|
if (o = S.charCodeAt(d), n(o) || o === 92)
|
|
340
340
|
return N();
|
|
341
341
|
if (g(o) === !1) {
|
|
@@ -388,7 +388,7 @@ var M, li = function(e) {
|
|
|
388
388
|
var A;
|
|
389
389
|
u ? A = parseFloat(o) : h && o.length !== 1 ? /[89]/.test(o) || re ? r(l, "Invalid number") : A = parseInt(o, 8) : A = parseInt(o, 10), s(He, A);
|
|
390
390
|
}
|
|
391
|
-
function
|
|
391
|
+
function M(o) {
|
|
392
392
|
return o = F(16, o), o === null && r(G, "Bad character escape sequence"), o;
|
|
393
393
|
}
|
|
394
394
|
function $() {
|
|
@@ -398,7 +398,7 @@ var M, li = function(e) {
|
|
|
398
398
|
if (t(h))
|
|
399
399
|
Ne && (o += S.charAt(d)), ++d;
|
|
400
400
|
else if (h === 92) {
|
|
401
|
-
Ne || (o = S.slice(u, d)), Ne = !0, S.charCodeAt(++d) !== 117 && r(d, "Expecting Unicode escape sequence \\uXXXX"), ++d, h =
|
|
401
|
+
Ne || (o = S.slice(u, d)), Ne = !0, S.charCodeAt(++d) !== 117 && r(d, "Expecting Unicode escape sequence \\uXXXX"), ++d, h = M(4);
|
|
402
402
|
var A = String.fromCharCode(h);
|
|
403
403
|
A || r(d - 1, "Invalid Unicode escape"), (l ? n(h) : t(h)) || r(d - 4, "Invalid Unicode escape"), o += A;
|
|
404
404
|
} else
|
|
@@ -411,7 +411,7 @@ var M, li = function(e) {
|
|
|
411
411
|
var o = $(), l = Oe;
|
|
412
412
|
!Ne && Dr(o) && (l = Tr[o]), s(l, o);
|
|
413
413
|
}
|
|
414
|
-
function
|
|
414
|
+
function y() {
|
|
415
415
|
Nt = G, Se = Re, Bt = Pt, b();
|
|
416
416
|
}
|
|
417
417
|
function W(o) {
|
|
@@ -442,16 +442,16 @@ var M, li = function(e) {
|
|
|
442
442
|
return o.type === "ExpressionStatement" && o.la.type === "Literal" && o.la.value === "use strict";
|
|
443
443
|
}
|
|
444
444
|
function U(o) {
|
|
445
|
-
return T === o ? (
|
|
445
|
+
return T === o ? (y(), !0) : !1;
|
|
446
446
|
}
|
|
447
447
|
function Ie() {
|
|
448
|
-
return !R.fc && (T ===
|
|
448
|
+
return !R.fc && (T === Mt || T === Pe || ht.test(S.slice(Se, G)));
|
|
449
449
|
}
|
|
450
450
|
function I() {
|
|
451
451
|
U(pe) || Ie() || P();
|
|
452
452
|
}
|
|
453
453
|
function x(o) {
|
|
454
|
-
T === o ?
|
|
454
|
+
T === o ? y() : P();
|
|
455
455
|
}
|
|
456
456
|
function P() {
|
|
457
457
|
r(G, "Unexpected token");
|
|
@@ -463,10 +463,10 @@ var M, li = function(e) {
|
|
|
463
463
|
(T === Wn || T === Ae && ae === "/=") && b(!0);
|
|
464
464
|
var o = T, l = _();
|
|
465
465
|
switch (o) {
|
|
466
|
-
case
|
|
466
|
+
case Lt:
|
|
467
467
|
case Sn:
|
|
468
|
-
|
|
469
|
-
var u = o ===
|
|
468
|
+
y();
|
|
469
|
+
var u = o === Lt;
|
|
470
470
|
U(pe) || Ie() ? l.label = null : T !== Oe ? P() : (l.label = de(), I());
|
|
471
471
|
for (var h = 0; h < H.length; ++h) {
|
|
472
472
|
var A = H[h];
|
|
@@ -475,35 +475,35 @@ var M, li = function(e) {
|
|
|
475
475
|
}
|
|
476
476
|
return h === H.length && r(l.start, "Unsyntactic " + o.l), E(l, u ? "BreakStatement" : "ContinueStatement");
|
|
477
477
|
case kn:
|
|
478
|
-
return
|
|
478
|
+
return y(), I(), E(l, "DebuggerStatement");
|
|
479
479
|
case wn:
|
|
480
|
-
return
|
|
480
|
+
return y(), H.push(Ht), l.body = B(), H.pop(), x(Vt), l.test = J(), I(), E(l, "DoWhileStatement");
|
|
481
481
|
case Tn:
|
|
482
|
-
return
|
|
482
|
+
return y(), H.push(Ht), x(he), T === pe ? ce(l, null) : T === Wt ? (o = _(), y(), vn(o, !0), E(o, "VariableDeclaration"), o.fa.length === 1 && U(dt) ? lt(l, o) : ce(l, o)) : (o = Z(!1, !0), U(dt) ? (D(o), lt(l, o)) : ce(l, o));
|
|
483
483
|
case Dt:
|
|
484
|
-
return
|
|
484
|
+
return y(), At(l, !0);
|
|
485
485
|
case An:
|
|
486
|
-
return
|
|
486
|
+
return y(), l.test = J(), l.da = B(), l.alternate = U(En) ? B() : null, E(l, "IfStatement");
|
|
487
487
|
case jn:
|
|
488
|
-
return $e || R.Ib || r(G, "'return' outside of function"),
|
|
488
|
+
return $e || R.Ib || r(G, "'return' outside of function"), y(), U(pe) || Ie() ? l.K = null : (l.K = Z(), I()), E(l, "ReturnStatement");
|
|
489
489
|
case Ut:
|
|
490
|
-
for (
|
|
491
|
-
T === Ft || T === Cn ? (o = T === Ft, h && E(h, "SwitchCase"), l.tb.push(h = _()), h.da = [],
|
|
492
|
-
return h && E(h, "SwitchCase"),
|
|
490
|
+
for (y(), l.Qb = J(), l.tb = [], x(Ke), H.push(Vr); T !== Pe; )
|
|
491
|
+
T === Ft || T === Cn ? (o = T === Ft, h && E(h, "SwitchCase"), l.tb.push(h = _()), h.da = [], y(), o ? h.test = Z() : (u && r(Nt, "Multiple default clauses"), u = !0, h.test = null), x(Ge)) : (h || P(), h.da.push(B()));
|
|
492
|
+
return h && E(h, "SwitchCase"), y(), H.pop(), E(l, "SwitchStatement");
|
|
493
493
|
case Rn:
|
|
494
|
-
return
|
|
494
|
+
return y(), ht.test(S.slice(Se, G)) && r(Se, "Illegal newline after throw"), l.K = Z(), I(), E(l, "ThrowStatement");
|
|
495
495
|
case On:
|
|
496
|
-
return
|
|
496
|
+
return y(), l.block = le(), l.Ea = null, T === xn && (o = _(), y(), x(he), o.Ua = de(), re && ft(o.Ua.name) && r(o.Ua.start, "Binding " + o.Ua.name + " in strict mode"), x(ue), o.body = le(), l.Ea = E(o, "CatchClause")), l.fb = U(In) ? le() : null, l.Ea || l.fb || r(l.start, "Missing catch or finally clause"), E(l, "TryStatement");
|
|
497
497
|
case Wt:
|
|
498
|
-
return
|
|
498
|
+
return y(), vn(l), I(), E(l, "VariableDeclaration");
|
|
499
499
|
case Vt:
|
|
500
|
-
return
|
|
500
|
+
return y(), l.test = J(), H.push(Ht), l.body = B(), H.pop(), E(l, "WhileStatement");
|
|
501
501
|
case Pn:
|
|
502
|
-
return re && r(G, "'with' in strict mode"),
|
|
502
|
+
return re && r(G, "'with' in strict mode"), y(), l.object = J(), l.body = B(), E(l, "WithStatement");
|
|
503
503
|
case Ke:
|
|
504
504
|
return le();
|
|
505
505
|
case pe:
|
|
506
|
-
return
|
|
506
|
+
return y(), E(l, "EmptyStatement");
|
|
507
507
|
default:
|
|
508
508
|
if (u = ae, A = Z(), o === Oe && A.type === "Identifier" && U(Ge)) {
|
|
509
509
|
for (h = 0; h < H.length; ++h)
|
|
@@ -539,7 +539,7 @@ var M, li = function(e) {
|
|
|
539
539
|
function lt(o, l) {
|
|
540
540
|
return o.left = l, o.right = Z(), x(ue), o.body = B(), H.pop(), E(o, "ForInStatement");
|
|
541
541
|
}
|
|
542
|
-
function
|
|
542
|
+
function vn(o, l) {
|
|
543
543
|
for (o.fa = [], o.kind = "var"; ; ) {
|
|
544
544
|
var u = _();
|
|
545
545
|
if (u.id = de(), re && ft(u.id.name) && r(u.id.start, "Binding " + u.id.name + " in strict mode"), u.ua = U(Vn) ? Z(!0, l) : null, o.fa.push(E(u, "VariableDeclarator")), !U(ke))
|
|
@@ -561,23 +561,23 @@ var M, li = function(e) {
|
|
|
561
561
|
var u = Q(l);
|
|
562
562
|
u.test = l, u.da = Z(!0), x(Ge), u.alternate = Z(!0, o), l = E(u, "ConditionalExpression");
|
|
563
563
|
}
|
|
564
|
-
return T.Cb ? (u = Q(l), u.operator = ae, u.left = l,
|
|
564
|
+
return T.Cb ? (u = Q(l), u.operator = ae, u.left = l, y(), u.right = Et(o), D(l), E(u, "AssignmentExpression")) : l;
|
|
565
565
|
}
|
|
566
566
|
function It(o, l, u) {
|
|
567
567
|
var h = T.L;
|
|
568
568
|
if (h !== null && (!u || T !== dt) && h > l) {
|
|
569
569
|
var A = Q(o);
|
|
570
|
-
return A.left = o, A.operator = ae, o = T,
|
|
570
|
+
return A.left = o, A.operator = ae, o = T, y(), A.right = It(Tt(), h, u), h = E(A, o === $n || o === Hn ? "LogicalExpression" : "BinaryExpression"), It(h, l, u);
|
|
571
571
|
}
|
|
572
572
|
return o;
|
|
573
573
|
}
|
|
574
574
|
function Tt() {
|
|
575
575
|
if (T.prefix) {
|
|
576
576
|
var o = _(), l = T.$b;
|
|
577
|
-
return o.operator = ae, _e = o.prefix = !0,
|
|
577
|
+
return o.operator = ae, _e = o.prefix = !0, y(), o.K = Tt(), l ? D(o.K) : re && o.operator === "delete" && o.K.type === "Identifier" && r(o.start, "Deleting local variable in strict mode"), E(o, l ? "UpdateExpression" : "UnaryExpression");
|
|
578
578
|
}
|
|
579
579
|
for (l = Ve(ct()); T.cc && !Ie(); )
|
|
580
|
-
o = Q(l), o.operator = ae, o.prefix = !1, o.K = l, D(l),
|
|
580
|
+
o = Q(l), o.operator = ae, o.prefix = !1, o.K = l, D(l), y(), l = E(o, "UpdateExpression");
|
|
581
581
|
return l;
|
|
582
582
|
}
|
|
583
583
|
function Ve(o, l) {
|
|
@@ -591,27 +591,27 @@ var M, li = function(e) {
|
|
|
591
591
|
switch (T) {
|
|
592
592
|
case Bn:
|
|
593
593
|
var o = _();
|
|
594
|
-
return
|
|
594
|
+
return y(), E(o, "ThisExpression");
|
|
595
595
|
case Oe:
|
|
596
596
|
return de();
|
|
597
597
|
case He:
|
|
598
598
|
case ut:
|
|
599
599
|
case bn:
|
|
600
|
-
return o = _(), o.value = ae, o.raw = S.slice(G, Re),
|
|
601
|
-
case Ln:
|
|
600
|
+
return o = _(), o.value = ae, o.raw = S.slice(G, Re), y(), E(o, "Literal");
|
|
602
601
|
case Mn:
|
|
602
|
+
case Ln:
|
|
603
603
|
case Fn:
|
|
604
|
-
return o = _(), o.value = T.$a, o.raw = T.l,
|
|
604
|
+
return o = _(), o.value = T.$a, o.raw = T.l, y(), E(o, "Literal");
|
|
605
605
|
case he:
|
|
606
606
|
o = Ot;
|
|
607
607
|
var l = G;
|
|
608
|
-
|
|
608
|
+
y();
|
|
609
609
|
var u = Z();
|
|
610
610
|
return u.start = l, u.end = Re, R.C && (u.X.start = o, u.X.end = Pt), R.Xa && (u.j = [l, Re]), x(ue), u;
|
|
611
611
|
case _t:
|
|
612
|
-
return o = _(),
|
|
612
|
+
return o = _(), y(), o.elements = jt($t, !0, !0), E(o, "ArrayExpression");
|
|
613
613
|
case Ke:
|
|
614
|
-
for (o = _(), l = !0, u = !1, o.h = [],
|
|
614
|
+
for (o = _(), l = !0, u = !1, o.h = [], y(); !U(Pe); ) {
|
|
615
615
|
if (l)
|
|
616
616
|
l = !1;
|
|
617
617
|
else if (x(ke), R.sb && U(Pe))
|
|
@@ -636,9 +636,9 @@ var M, li = function(e) {
|
|
|
636
636
|
}
|
|
637
637
|
return E(o, "ObjectExpression");
|
|
638
638
|
case Dt:
|
|
639
|
-
return o = _(),
|
|
639
|
+
return o = _(), y(), At(o, !1);
|
|
640
640
|
case Nn:
|
|
641
|
-
return o = _(),
|
|
641
|
+
return o = _(), y(), o.callee = Ve(ct(), !0), o.arguments = U(he) ? jt(ue, !1) : Ir, E(o, "NewExpression");
|
|
642
642
|
}
|
|
643
643
|
P();
|
|
644
644
|
}
|
|
@@ -669,19 +669,19 @@ var M, li = function(e) {
|
|
|
669
669
|
}
|
|
670
670
|
function de(o) {
|
|
671
671
|
var l = _();
|
|
672
|
-
return o && R.yb === "everywhere" && (o = !1), T === Oe ? (!o && (R.yb && Fr(ae) || re && Kn(ae)) && S.slice(G, Re).indexOf("\\") === -1 && r(G, "The keyword '" + ae + "' is reserved"), l.name = ae) : o && T.l ? l.name = T.l : P(), _e = !1,
|
|
672
|
+
return o && R.yb === "everywhere" && (o = !1), T === Oe ? (!o && (R.yb && Fr(ae) || re && Kn(ae)) && S.slice(G, Re).indexOf("\\") === -1 && r(G, "The keyword '" + ae + "' is reserved"), l.name = ae) : o && T.l ? l.name = T.l : P(), _e = !1, y(), E(l, "Identifier");
|
|
673
673
|
}
|
|
674
674
|
e.version = "0.5.0";
|
|
675
675
|
var R, S = "", je, Rt;
|
|
676
676
|
e.parse = function(o, l) {
|
|
677
677
|
S = String(o), je = S.length, R = l || {};
|
|
678
|
-
for (var u in
|
|
679
|
-
Object.prototype.hasOwnProperty.call(R, u) || (R[u] =
|
|
680
|
-
for (Rt = R.sourceFile, Te = 1, d = fe = 0, _e = !0, f(), u = R.dc, Nt = Se = d, R.C && (Bt = new a()), $e = re = !1, H = [], b(), o = u || _(), l = !0, u || (o.body = []); T !==
|
|
678
|
+
for (var u in yn)
|
|
679
|
+
Object.prototype.hasOwnProperty.call(R, u) || (R[u] = yn[u]);
|
|
680
|
+
for (Rt = R.sourceFile, Te = 1, d = fe = 0, _e = !0, f(), u = R.dc, Nt = Se = d, R.C && (Bt = new a()), $e = re = !1, H = [], b(), o = u || _(), l = !0, u || (o.body = []); T !== Mt; )
|
|
681
681
|
u = B(), o.body.push(u), l && Ee(u) && W(!0), l = !1;
|
|
682
682
|
return E(o, "Program");
|
|
683
683
|
};
|
|
684
|
-
var
|
|
684
|
+
var yn = {
|
|
685
685
|
fc: !1,
|
|
686
686
|
sb: !0,
|
|
687
687
|
yb: !1,
|
|
@@ -700,9 +700,9 @@ var M, li = function(e) {
|
|
|
700
700
|
type: "string"
|
|
701
701
|
}, Oe = {
|
|
702
702
|
type: "name"
|
|
703
|
-
}, Lt = {
|
|
704
|
-
type: "eof"
|
|
705
703
|
}, Mt = {
|
|
704
|
+
type: "eof"
|
|
705
|
+
}, Lt = {
|
|
706
706
|
l: "break"
|
|
707
707
|
}, Ft = {
|
|
708
708
|
l: "case",
|
|
@@ -752,10 +752,10 @@ var M, li = function(e) {
|
|
|
752
752
|
m: !0
|
|
753
753
|
}, Bn = {
|
|
754
754
|
l: "this"
|
|
755
|
-
},
|
|
755
|
+
}, Mn = {
|
|
756
756
|
l: "null",
|
|
757
757
|
$a: null
|
|
758
|
-
},
|
|
758
|
+
}, Ln = {
|
|
759
759
|
l: "true",
|
|
760
760
|
$a: !0
|
|
761
761
|
}, Fn = {
|
|
@@ -766,7 +766,7 @@ var M, li = function(e) {
|
|
|
766
766
|
L: 7,
|
|
767
767
|
m: !0
|
|
768
768
|
}, Tr = {
|
|
769
|
-
break:
|
|
769
|
+
break: Lt,
|
|
770
770
|
case: Ft,
|
|
771
771
|
catch: xn,
|
|
772
772
|
continue: Sn,
|
|
@@ -785,8 +785,8 @@ var M, li = function(e) {
|
|
|
785
785
|
var: Wt,
|
|
786
786
|
while: Vt,
|
|
787
787
|
with: Pn,
|
|
788
|
-
null:
|
|
789
|
-
true:
|
|
788
|
+
null: Mn,
|
|
789
|
+
true: Ln,
|
|
790
790
|
false: Fn,
|
|
791
791
|
new: Nn,
|
|
792
792
|
in: dt,
|
|
@@ -880,11 +880,11 @@ var M, li = function(e) {
|
|
|
880
880
|
}, Br = {
|
|
881
881
|
L: 8,
|
|
882
882
|
m: !0
|
|
883
|
-
},
|
|
883
|
+
}, Mr = {
|
|
884
884
|
L: 9,
|
|
885
885
|
prefix: !0,
|
|
886
886
|
m: !0
|
|
887
|
-
},
|
|
887
|
+
}, Lr = {
|
|
888
888
|
L: 10,
|
|
889
889
|
m: !0
|
|
890
890
|
}, Fr = i("class enum extends super const export import"), Kn = i("implements interface let package private protected public static yield"), ft = i("eval arguments"), Dr = i("break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this"), Ur = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Gn = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"), Wr = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"), ht = /[\n\r\u2028\u2029]/, pt = /\r\n|[\n\r\u2028\u2029]/g, Ne, Ht = {
|
|
@@ -941,9 +941,9 @@ var Xn = {
|
|
|
941
941
|
SCOPE_REFERENCE: !0
|
|
942
942
|
}, tt = {
|
|
943
943
|
VALUE_IN_DESCRIPTOR: !0
|
|
944
|
-
},
|
|
944
|
+
}, Me = {
|
|
945
945
|
REGEXP_TIMEOUT: !0
|
|
946
|
-
}, qn = [],
|
|
946
|
+
}, qn = [], ye = null, Ze = null, we = typeof globalThis == "undefined" ? void 0 : globalThis, ci = ["onmessage = function(e) {", "var result;", "var data = e.data;", "switch (data[0]) {", "case 'split':", "result = data[1].split(data[2], data[3]);", "break;", "case 'match':", "result = data[1].match(data[2]);", "break;", "case 'search':", "result = data[1].search(data[2]);", "break;", "case 'replace':", "result = data[1].replace(data[2], data[3]);", "break;", "case 'exec':", "var regexp = data[1];", "regexp.lastIndex = data[2];", "result = [regexp.exec(data[3]), data[1].lastIndex];", "break;", "default:", "throw Error('Unknown RegExp operation: ' + data[0]);", "}", "postMessage(result);", "close();", "};"];
|
|
947
947
|
function rn(e) {
|
|
948
948
|
var t = e >>> 0;
|
|
949
949
|
return t === Number(e) ? t : NaN;
|
|
@@ -963,18 +963,18 @@ function xt(e, t, n) {
|
|
|
963
963
|
p.prototype.REGEXP_MODE = 2;
|
|
964
964
|
p.prototype.REGEXP_THREAD_TIMEOUT = 1e3;
|
|
965
965
|
p.prototype.POLYFILL_TIMEOUT = 1e3;
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
966
|
+
L = p.prototype;
|
|
967
|
+
L.P = !1;
|
|
968
|
+
L.Ka = !1;
|
|
969
|
+
L.Kb = 0;
|
|
970
|
+
L.ic = 0;
|
|
971
971
|
function De(e, t) {
|
|
972
972
|
var n = {}, r;
|
|
973
973
|
for (r in Xn)
|
|
974
974
|
n[r] = Xn[r];
|
|
975
975
|
return n.sourceFile = t, we.j.parse(e, n);
|
|
976
976
|
}
|
|
977
|
-
|
|
977
|
+
L.Jb = function(e) {
|
|
978
978
|
var t = this.o[0];
|
|
979
979
|
if (!t || t.node.type !== "Program")
|
|
980
980
|
throw Error("Expecting original AST to start with a Program node");
|
|
@@ -982,7 +982,7 @@ M.Jb = function(e) {
|
|
|
982
982
|
throw Error("Expecting new AST to start with a Program node");
|
|
983
983
|
nt(this, e, t.scope), Array.prototype.push.apply(t.node.body, e.body), t.node.body.jb = null, t.done = !1;
|
|
984
984
|
};
|
|
985
|
-
|
|
985
|
+
L.lb = function() {
|
|
986
986
|
var e = this.o, t;
|
|
987
987
|
do {
|
|
988
988
|
var n = e[e.length - 1];
|
|
@@ -1020,13 +1020,13 @@ M.lb = function() {
|
|
|
1020
1020
|
} while (!r.end && t > Date.now());
|
|
1021
1021
|
return !0;
|
|
1022
1022
|
};
|
|
1023
|
-
|
|
1023
|
+
L.Eb = function() {
|
|
1024
1024
|
for (; !this.za && this.lb(); )
|
|
1025
1025
|
;
|
|
1026
1026
|
return this.za;
|
|
1027
1027
|
};
|
|
1028
1028
|
function ui(e, t) {
|
|
1029
|
-
e.g(t, "NaN", NaN, ze), e.g(t, "Infinity", 1 / 0, ze), e.g(t, "undefined", void 0, ze), e.g(t, "window", t, nn), e.g(t, "this", t, ze), e.g(t, "self", t), e.M = new O(null), e.Z = new O(e.M), di(e, t), fi(e, t), t.xa = e.M, e.g(t, "constructor", e.v, k), hi(e, t), pi(e, t), mi(e, t), gi(e, t),
|
|
1029
|
+
e.g(t, "NaN", NaN, ze), e.g(t, "Infinity", 1 / 0, ze), e.g(t, "undefined", void 0, ze), e.g(t, "window", t, nn), e.g(t, "this", t, ze), e.g(t, "self", t), e.M = new O(null), e.Z = new O(e.M), di(e, t), fi(e, t), t.xa = e.M, e.g(t, "constructor", e.v, k), hi(e, t), pi(e, t), mi(e, t), gi(e, t), vi(e, t), yi(e, t), bi(e, t), xi(e, t), Si(e, t);
|
|
1030
1030
|
var n = e.i(function() {
|
|
1031
1031
|
throw EvalError("Can't happen");
|
|
1032
1032
|
}, !1);
|
|
@@ -1051,7 +1051,7 @@ function ui(e, t) {
|
|
|
1051
1051
|
Qn(e, a);
|
|
1052
1052
|
}, e.g(t, "clearInterval", e.i(n, !1), k), e.OBJECT = e.v, e.OBJECT_PROTO = e.M, e.FUNCTION = e.O, e.FUNCTION_PROTO = e.Z, e.ARRAY = e.qa, e.ARRAY_PROTO = e.La, e.REGEXP = e.I, e.REGEXP_PROTO = e.Ma, e.DATE = e.$, e.DATE_PROTO = e.nb, e.qb && e.qb(e, t);
|
|
1053
1053
|
}
|
|
1054
|
-
|
|
1054
|
+
L.Wb = 0;
|
|
1055
1055
|
function di(e, t) {
|
|
1056
1056
|
var n = /^[A-Za-z_$][\w$]*$/, r = function(i) {
|
|
1057
1057
|
var a = arguments.length ? String(arguments[arguments.length - 1]) : "", s = Array.prototype.slice.call(arguments, 0, -1).join(",").trim();
|
|
@@ -1167,12 +1167,12 @@ function pi(e, t) {
|
|
|
1167
1167
|
}, Y(e, e.J, "localeCompare", n), n = function(r, i, a) {
|
|
1168
1168
|
var s = String(this);
|
|
1169
1169
|
if (i = i ? Number(i) : void 0, q(e, r, e.I) && (r = r.data, Xe(e, r, a), e.REGEXP_MODE === 2)) {
|
|
1170
|
-
if (
|
|
1170
|
+
if (ye)
|
|
1171
1171
|
r = Ye(e, "string.split(separator, limit)", {
|
|
1172
1172
|
string: s,
|
|
1173
1173
|
separator: r,
|
|
1174
1174
|
limit: i
|
|
1175
|
-
}, r, a), r !==
|
|
1175
|
+
}, r, a), r !== Me && a(ge(e, r));
|
|
1176
1176
|
else {
|
|
1177
1177
|
var c = e.ha(), f = Je(e, r, c, a);
|
|
1178
1178
|
c.onmessage = function(g) {
|
|
@@ -1185,11 +1185,11 @@ function pi(e, t) {
|
|
|
1185
1185
|
}, qe(e, e.J, "split", n), n = function(r, i) {
|
|
1186
1186
|
var a = String(this);
|
|
1187
1187
|
if (r = q(e, r, e.I) ? r.data : new RegExp(r), Xe(e, r, i), e.REGEXP_MODE === 2)
|
|
1188
|
-
if (
|
|
1188
|
+
if (ye)
|
|
1189
1189
|
r = Ye(e, "string.match(regexp)", {
|
|
1190
1190
|
string: a,
|
|
1191
1191
|
regexp: r
|
|
1192
|
-
}, r, i), r !==
|
|
1192
|
+
}, r, i), r !== Me && i(r && ge(e, r));
|
|
1193
1193
|
else {
|
|
1194
1194
|
var s = e.ha(), c = Je(e, r, s, i);
|
|
1195
1195
|
s.onmessage = function(f) {
|
|
@@ -1201,11 +1201,11 @@ function pi(e, t) {
|
|
|
1201
1201
|
}, qe(e, e.J, "match", n), n = function(r, i) {
|
|
1202
1202
|
var a = String(this);
|
|
1203
1203
|
if (q(e, r, e.I) ? r = r.data : r = new RegExp(r), Xe(e, r, i), e.REGEXP_MODE === 2)
|
|
1204
|
-
if (
|
|
1204
|
+
if (ye)
|
|
1205
1205
|
r = Ye(e, "string.search(regexp)", {
|
|
1206
1206
|
string: a,
|
|
1207
1207
|
regexp: r
|
|
1208
|
-
}, r, i), r !==
|
|
1208
|
+
}, r, i), r !== Me && i(r);
|
|
1209
1209
|
else {
|
|
1210
1210
|
var s = e.ha(), c = Je(e, r, s, i);
|
|
1211
1211
|
s.onmessage = function(f) {
|
|
@@ -1217,12 +1217,12 @@ function pi(e, t) {
|
|
|
1217
1217
|
}, qe(e, e.J, "search", n), n = function(r, i, a) {
|
|
1218
1218
|
var s = String(this);
|
|
1219
1219
|
if (i = String(i), q(e, r, e.I) && (r = r.data, Xe(e, r, a), e.REGEXP_MODE === 2)) {
|
|
1220
|
-
if (
|
|
1220
|
+
if (ye)
|
|
1221
1221
|
r = Ye(e, "string.replace(substr, newSubstr)", {
|
|
1222
1222
|
string: s,
|
|
1223
1223
|
substr: r,
|
|
1224
1224
|
newSubstr: i
|
|
1225
|
-
}, r, a), r !==
|
|
1225
|
+
}, r, a), r !== Me && a(r);
|
|
1226
1226
|
else {
|
|
1227
1227
|
var c = e.ha(), f = Je(e, r, c, a);
|
|
1228
1228
|
c.onmessage = function(g) {
|
|
@@ -1278,7 +1278,7 @@ function gi(e, t) {
|
|
|
1278
1278
|
}
|
|
1279
1279
|
}, Y(e, e.aa, "toLocaleString", n);
|
|
1280
1280
|
}
|
|
1281
|
-
function
|
|
1281
|
+
function vi(e, t) {
|
|
1282
1282
|
var n = function(i, a) {
|
|
1283
1283
|
if (!xe(e))
|
|
1284
1284
|
return we.Date();
|
|
@@ -1297,7 +1297,7 @@ function yi(e, t) {
|
|
|
1297
1297
|
};
|
|
1298
1298
|
}(t[r]), Y(e, e.$, t[r], n);
|
|
1299
1299
|
}
|
|
1300
|
-
function
|
|
1300
|
+
function yi(e, t) {
|
|
1301
1301
|
var n = function(r, i) {
|
|
1302
1302
|
if (xe(e))
|
|
1303
1303
|
var a = this;
|
|
@@ -1324,11 +1324,11 @@ function vi(e, t) {
|
|
|
1324
1324
|
}
|
|
1325
1325
|
var s = this.data;
|
|
1326
1326
|
if (r = String(r), s.lastIndex = Number(e.G(this, "lastIndex")), Xe(e, s, i), e.REGEXP_MODE === 2)
|
|
1327
|
-
if (
|
|
1327
|
+
if (ye)
|
|
1328
1328
|
r = Ye(e, "regexp.exec(string)", {
|
|
1329
1329
|
string: r,
|
|
1330
1330
|
regexp: s
|
|
1331
|
-
}, s, i), r !==
|
|
1331
|
+
}, s, i), r !== Me && (e.g(this, "lastIndex", s.lastIndex), i(a(r)));
|
|
1332
1332
|
else {
|
|
1333
1333
|
var c = e.ha(), f = Je(e, s, c, i), g = this;
|
|
1334
1334
|
c.onmessage = function(b) {
|
|
@@ -1414,7 +1414,7 @@ function Jt(e, t, n) {
|
|
|
1414
1414
|
}
|
|
1415
1415
|
e.g(t, "stack", a.trim(), k);
|
|
1416
1416
|
}
|
|
1417
|
-
|
|
1417
|
+
L.ha = function() {
|
|
1418
1418
|
var e = this.ha.Mb;
|
|
1419
1419
|
return e || (e = new Blob([ci.join(`
|
|
1420
1420
|
`)], {
|
|
@@ -1426,27 +1426,27 @@ function Ye(e, t, n, r, i) {
|
|
|
1426
1426
|
timeout: e.REGEXP_THREAD_TIMEOUT
|
|
1427
1427
|
};
|
|
1428
1428
|
try {
|
|
1429
|
-
return
|
|
1429
|
+
return ye.runInNewContext(t, n, a);
|
|
1430
1430
|
} catch {
|
|
1431
1431
|
i(null), w(e, e.D, "RegExp Timeout: " + r);
|
|
1432
1432
|
}
|
|
1433
|
-
return
|
|
1433
|
+
return Me;
|
|
1434
1434
|
}
|
|
1435
1435
|
function Xe(e, t, n) {
|
|
1436
1436
|
if (e.REGEXP_MODE === 0)
|
|
1437
1437
|
var r = !1;
|
|
1438
1438
|
else if (e.REGEXP_MODE === 1)
|
|
1439
1439
|
r = !0;
|
|
1440
|
-
else if (
|
|
1440
|
+
else if (ye)
|
|
1441
1441
|
r = !0;
|
|
1442
1442
|
else if (typeof Worker == "function" && typeof URL == "function")
|
|
1443
1443
|
r = !0;
|
|
1444
1444
|
else if (typeof require == "function") {
|
|
1445
1445
|
try {
|
|
1446
|
-
|
|
1446
|
+
ye = require("vm");
|
|
1447
1447
|
} catch {
|
|
1448
1448
|
}
|
|
1449
|
-
r = !!
|
|
1449
|
+
r = !!ye;
|
|
1450
1450
|
} else
|
|
1451
1451
|
r = !1;
|
|
1452
1452
|
r || (n(null), w(e, e.D, "Regular expressions not supported: " + t));
|
|
@@ -1460,10 +1460,10 @@ function Je(e, t, n, r) {
|
|
|
1460
1460
|
}
|
|
1461
1461
|
}, e.REGEXP_THREAD_TIMEOUT);
|
|
1462
1462
|
}
|
|
1463
|
-
|
|
1463
|
+
L.Aa = function(e) {
|
|
1464
1464
|
return this.s(e && e.h.prototype);
|
|
1465
1465
|
};
|
|
1466
|
-
|
|
1466
|
+
L.s = function(e) {
|
|
1467
1467
|
if (typeof e != "object")
|
|
1468
1468
|
throw Error("Non object prototype");
|
|
1469
1469
|
return e = new O(e), q(this, e, this.D) && (e.H = "Error"), e;
|
|
@@ -1484,14 +1484,14 @@ function sn(e, t, n, r) {
|
|
|
1484
1484
|
var i = an(e, t.oa.length, !0);
|
|
1485
1485
|
return i.Va = n, i.node = t, e.g(i, "name", t.id ? String(t.id.name) : r || "", ne), i;
|
|
1486
1486
|
}
|
|
1487
|
-
|
|
1487
|
+
L.i = function(e, t) {
|
|
1488
1488
|
return t = an(this, e.length, t), t.Ta = e, e.id = this.Ya++, this.g(t, "name", e.name, ne), t;
|
|
1489
1489
|
};
|
|
1490
|
-
|
|
1490
|
+
L.ub = function(e) {
|
|
1491
1491
|
var t = an(this, e.length, !0);
|
|
1492
1492
|
return t.Za = e, e.id = this.Ya++, this.g(t, "name", e.name, ne), t;
|
|
1493
1493
|
};
|
|
1494
|
-
|
|
1494
|
+
L.Ia = function(e) {
|
|
1495
1495
|
if (e instanceof O)
|
|
1496
1496
|
throw Error("Object is already pseudo");
|
|
1497
1497
|
if (e == null || e === !0 || e === !1 || typeof e == "string" || typeof e == "number")
|
|
@@ -1522,7 +1522,7 @@ M.Ia = function(e) {
|
|
|
1522
1522
|
this.g(t, r, this.Ia(e[r]));
|
|
1523
1523
|
return t;
|
|
1524
1524
|
};
|
|
1525
|
-
|
|
1525
|
+
L.R = function(e, t) {
|
|
1526
1526
|
if (typeof e != "object" && typeof e != "function" || e === null)
|
|
1527
1527
|
return e;
|
|
1528
1528
|
if (!(e instanceof O))
|
|
@@ -1574,7 +1574,7 @@ function be(e, t) {
|
|
|
1574
1574
|
}
|
|
1575
1575
|
return t ? t.xa : null;
|
|
1576
1576
|
}
|
|
1577
|
-
|
|
1577
|
+
L.G = function(e, t) {
|
|
1578
1578
|
if (this.P)
|
|
1579
1579
|
throw Error("Getter not supported in that context");
|
|
1580
1580
|
if (t = String(t), e != null || w(this, this.j, "Cannot read property '" + t + "' of " + e), typeof e == "object" && !(e instanceof O))
|
|
@@ -1608,7 +1608,7 @@ function St(e, t, n) {
|
|
|
1608
1608
|
while (t = be(e, t));
|
|
1609
1609
|
return !1;
|
|
1610
1610
|
}
|
|
1611
|
-
|
|
1611
|
+
L.g = function(e, t, n, r) {
|
|
1612
1612
|
if (this.Ka)
|
|
1613
1613
|
throw Error("Setter not supported in that context");
|
|
1614
1614
|
if (t = String(t), e != null || w(this, this.j, "Cannot set property '" + t + "' of " + e), typeof e == "object" && !(e instanceof O))
|
|
@@ -1670,10 +1670,10 @@ M.g = function(e, t, n, r) {
|
|
|
1670
1670
|
} else
|
|
1671
1671
|
i && w(this, this.j, "Can't create property '" + t + "' on '" + e + "'");
|
|
1672
1672
|
};
|
|
1673
|
-
|
|
1673
|
+
L.g.ac = function() {
|
|
1674
1674
|
throw Error("Placeholder getter");
|
|
1675
1675
|
};
|
|
1676
|
-
|
|
1676
|
+
L.g.bc = function() {
|
|
1677
1677
|
throw Error("Placeholder setter");
|
|
1678
1678
|
};
|
|
1679
1679
|
function Y(e, t, n, r) {
|
|
@@ -1695,12 +1695,12 @@ function qt(e, t, n) {
|
|
|
1695
1695
|
var i = t.body && t.body[0];
|
|
1696
1696
|
i && i.la && i.la.type === "Literal" && i.la.value === "use strict" && (r = !0);
|
|
1697
1697
|
}
|
|
1698
|
-
return i = e.s(null), r = new
|
|
1698
|
+
return i = e.s(null), r = new vr(n, r, i), n || ui(e, r.object), nt(e, t, r), r;
|
|
1699
1699
|
}
|
|
1700
1700
|
function cn(e, t, n) {
|
|
1701
1701
|
if (!t)
|
|
1702
1702
|
throw Error("parentScope required");
|
|
1703
|
-
return e = n || e.s(null), new
|
|
1703
|
+
return e = n || e.s(null), new vr(t, t.S, e);
|
|
1704
1704
|
}
|
|
1705
1705
|
function un(e, t) {
|
|
1706
1706
|
for (var n = ln(e); n && n !== e.N; ) {
|
|
@@ -1911,29 +1911,29 @@ function hn(e, t, n, r) {
|
|
|
1911
1911
|
function zt(e, t) {
|
|
1912
1912
|
return t == null ? e.Na : t instanceof O ? t : (e = e.s(be(e, t)), e.data = t, e);
|
|
1913
1913
|
}
|
|
1914
|
-
|
|
1914
|
+
L.Xb = function() {
|
|
1915
1915
|
return this.N;
|
|
1916
1916
|
};
|
|
1917
|
-
|
|
1917
|
+
L.Yb = function() {
|
|
1918
1918
|
return this.o;
|
|
1919
1919
|
};
|
|
1920
|
-
|
|
1920
|
+
L.ec = function(e) {
|
|
1921
1921
|
this.o = e;
|
|
1922
1922
|
};
|
|
1923
1923
|
function C(e, t) {
|
|
1924
1924
|
this.node = e, this.scope = t;
|
|
1925
1925
|
}
|
|
1926
|
-
function
|
|
1926
|
+
function vr(e, t, n) {
|
|
1927
1927
|
this.Va = e, this.S = t, this.object = n;
|
|
1928
1928
|
}
|
|
1929
1929
|
function O(e) {
|
|
1930
1930
|
this.V = /* @__PURE__ */ Object.create(null), this.Y = /* @__PURE__ */ Object.create(null), this.h = /* @__PURE__ */ Object.create(null), this.xa = e;
|
|
1931
1931
|
}
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1932
|
+
L = O.prototype;
|
|
1933
|
+
L.xa = null;
|
|
1934
|
+
L.H = "Object";
|
|
1935
|
+
L.data = null;
|
|
1936
|
+
L.toString = function() {
|
|
1937
1937
|
if (!Ze)
|
|
1938
1938
|
return "[object Interpreter.Object]";
|
|
1939
1939
|
if (!(this instanceof O))
|
|
@@ -1981,7 +1981,7 @@ M.toString = function() {
|
|
|
1981
1981
|
}
|
|
1982
1982
|
return this.data !== null ? String(this.data) : "[object " + this.H + "]";
|
|
1983
1983
|
};
|
|
1984
|
-
|
|
1984
|
+
L.valueOf = function() {
|
|
1985
1985
|
return !Ze || this.data === void 0 || this.data === null || this.data instanceof RegExp ? this : this.data instanceof Date ? this.data.valueOf() : this.data;
|
|
1986
1986
|
};
|
|
1987
1987
|
function ki(e, t, n, r, i) {
|
|
@@ -2582,19 +2582,19 @@ function theFunction() {
|
|
|
2582
2582
|
}
|
|
2583
2583
|
theFunction();
|
|
2584
2584
|
`, j = ($, N) => {
|
|
2585
|
-
const
|
|
2586
|
-
a == null || a(
|
|
2585
|
+
const y = fr(c, $, N);
|
|
2586
|
+
a == null || a(y);
|
|
2587
2587
|
}, F = function($, N) {
|
|
2588
|
-
f.forEach(([
|
|
2588
|
+
f.forEach(([y, W]) => {
|
|
2589
2589
|
const X = JSON.stringify(W);
|
|
2590
|
-
$.setProperty(N, er(
|
|
2590
|
+
$.setProperty(N, er(y), X);
|
|
2591
2591
|
}), $.setProperty(N, "setRootState", $.createNativeFunction(j));
|
|
2592
2592
|
}, V = new p(m, F);
|
|
2593
2593
|
return V.run(), V.pseudoToNative(V.value);
|
|
2594
2594
|
};
|
|
2595
2595
|
function Ii() {
|
|
2596
2596
|
var e;
|
|
2597
|
-
return typeof process != "undefined" &&
|
|
2597
|
+
return typeof process != "undefined" && vt((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
|
|
2598
2598
|
}
|
|
2599
2599
|
const Ti = () => {
|
|
2600
2600
|
var r;
|
|
@@ -2621,7 +2621,7 @@ const Ti = () => {
|
|
|
2621
2621
|
}
|
|
2622
2622
|
};
|
|
2623
2623
|
Gt(me, "cacheLimit", 20), Gt(me, "cache", /* @__PURE__ */ new Map());
|
|
2624
|
-
let
|
|
2624
|
+
let Le = me;
|
|
2625
2625
|
function rt({
|
|
2626
2626
|
code: e,
|
|
2627
2627
|
context: t,
|
|
@@ -2646,15 +2646,15 @@ function rt({
|
|
|
2646
2646
|
localState: n
|
|
2647
2647
|
};
|
|
2648
2648
|
if (c) {
|
|
2649
|
-
const g =
|
|
2649
|
+
const g = Le.getCacheKey(f), b = Le.getCachedValue(g);
|
|
2650
2650
|
if (b)
|
|
2651
2651
|
return b.value;
|
|
2652
2652
|
}
|
|
2653
2653
|
try {
|
|
2654
2654
|
const g = Ai(f);
|
|
2655
2655
|
if (c) {
|
|
2656
|
-
const b =
|
|
2657
|
-
|
|
2656
|
+
const b = Le.getCacheKey(f);
|
|
2657
|
+
Le.setCachedValue(b, g);
|
|
2658
2658
|
}
|
|
2659
2659
|
return g;
|
|
2660
2660
|
} catch (g) {
|
|
@@ -2712,10 +2712,10 @@ function bt({
|
|
|
2712
2712
|
context: t
|
|
2713
2713
|
}) : s;
|
|
2714
2714
|
}
|
|
2715
|
-
const pn = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "",
|
|
2715
|
+
const pn = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "", yr = (e) => Object.entries(e).map(([n, r]) => {
|
|
2716
2716
|
if (typeof r == "string")
|
|
2717
2717
|
return `${pn(n)}: ${r};`;
|
|
2718
|
-
}).filter(
|
|
2718
|
+
}).filter(vt), Ri = (e) => yr(e).join(`
|
|
2719
2719
|
`), mt = ({
|
|
2720
2720
|
mediaQuery: e,
|
|
2721
2721
|
className: t,
|
|
@@ -2747,7 +2747,7 @@ function br(e) {
|
|
|
2747
2747
|
case "vue":
|
|
2748
2748
|
case "solid":
|
|
2749
2749
|
case "angular":
|
|
2750
|
-
return
|
|
2750
|
+
return yr(e).join(" ");
|
|
2751
2751
|
case "qwik":
|
|
2752
2752
|
case "reactNative":
|
|
2753
2753
|
case "react":
|
|
@@ -2819,9 +2819,9 @@ const Ni = ({
|
|
|
2819
2819
|
builderComponents: !1,
|
|
2820
2820
|
builderLinkComponent: !1,
|
|
2821
2821
|
...e
|
|
2822
|
-
}),
|
|
2822
|
+
}), Mi = (e, t) => e ? kt(e.shouldReceiveBuilderProps).builderLinkComponent ? {
|
|
2823
2823
|
builderLinkComponent: t
|
|
2824
|
-
} : {} : {},
|
|
2824
|
+
} : {} : {}, Li = (e, t) => e ? kt(e.shouldReceiveBuilderProps).builderComponents ? {
|
|
2825
2825
|
builderComponents: t
|
|
2826
2826
|
} : {} : {}, Fi = (e, t) => e ? kt(e.shouldReceiveBuilderProps).builderBlock ? {
|
|
2827
2827
|
builderBlock: t
|
|
@@ -2871,7 +2871,7 @@ const Ni = ({
|
|
|
2871
2871
|
}, n;
|
|
2872
2872
|
};
|
|
2873
2873
|
function Ct(e) {
|
|
2874
|
-
return /* @__PURE__ */
|
|
2874
|
+
return /* @__PURE__ */ v(
|
|
2875
2875
|
"style",
|
|
2876
2876
|
{
|
|
2877
2877
|
dangerouslySetInnerHTML: { __html: e.styles },
|
|
@@ -2889,9 +2889,9 @@ function Ui(e) {
|
|
|
2889
2889
|
context: e.context.context,
|
|
2890
2890
|
shouldEvaluateBindings: !0
|
|
2891
2891
|
});
|
|
2892
|
-
return
|
|
2892
|
+
return vt(i.hide) ? !i.hide : vt(i.show) ? i.show : !0;
|
|
2893
2893
|
}, n = function() {
|
|
2894
|
-
var N,
|
|
2894
|
+
var N, y, W;
|
|
2895
2895
|
const i = bt({
|
|
2896
2896
|
block: e.block,
|
|
2897
2897
|
localState: e.context.localState,
|
|
@@ -2921,18 +2921,18 @@ function Ui(e) {
|
|
|
2921
2921
|
"small",
|
|
2922
2922
|
c
|
|
2923
2923
|
)
|
|
2924
|
-
}) : "",
|
|
2924
|
+
}) : "", M = i.animations && i.animations.find((X) => X.trigger === "hover");
|
|
2925
2925
|
let $ = "";
|
|
2926
|
-
if (
|
|
2927
|
-
const X = ((W = (
|
|
2926
|
+
if (M) {
|
|
2927
|
+
const X = ((W = (y = M.steps) == null ? void 0 : y[1]) == null ? void 0 : W.styles) || {};
|
|
2928
2928
|
$ = mt({
|
|
2929
2929
|
className: `${m}:hover`,
|
|
2930
2930
|
styles: {
|
|
2931
2931
|
...X,
|
|
2932
|
-
transition: `all ${
|
|
2933
|
-
|
|
2932
|
+
transition: `all ${M.duration}s ${pn(
|
|
2933
|
+
M.easing
|
|
2934
2934
|
)}`,
|
|
2935
|
-
transitionDelay:
|
|
2935
|
+
transitionDelay: M.delay ? `${M.delay}s` : "0s"
|
|
2936
2936
|
}
|
|
2937
2937
|
}) || "";
|
|
2938
2938
|
}
|
|
@@ -2943,7 +2943,7 @@ function Ui(e) {
|
|
|
2943
2943
|
$
|
|
2944
2944
|
].join(" ");
|
|
2945
2945
|
};
|
|
2946
|
-
return /* @__PURE__ */
|
|
2946
|
+
return /* @__PURE__ */ v(K, { children: n() && t() ? /* @__PURE__ */ v(K, { children: /* @__PURE__ */ v(Ct, { id: "builderio-block", styles: n() }) }) : null });
|
|
2947
2947
|
}
|
|
2948
2948
|
function Wi(e) {
|
|
2949
2949
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
@@ -3009,7 +3009,7 @@ function mn({
|
|
|
3009
3009
|
});
|
|
3010
3010
|
}
|
|
3011
3011
|
function Ki(e) {
|
|
3012
|
-
return /* @__PURE__ */
|
|
3012
|
+
return /* @__PURE__ */ v(
|
|
3013
3013
|
tn,
|
|
3014
3014
|
{
|
|
3015
3015
|
TagName: e.Wrapper,
|
|
@@ -3045,7 +3045,7 @@ function Gi(e) {
|
|
|
3045
3045
|
})
|
|
3046
3046
|
} : {};
|
|
3047
3047
|
}
|
|
3048
|
-
return /* @__PURE__ */
|
|
3048
|
+
return /* @__PURE__ */ v(e.Wrapper, { ...e.wrapperProps, attributes: t(), children: e.children });
|
|
3049
3049
|
}
|
|
3050
3050
|
const zi = ({
|
|
3051
3051
|
componentOptions: e,
|
|
@@ -3080,7 +3080,7 @@ const zi = ({
|
|
|
3080
3080
|
function nr(e) {
|
|
3081
3081
|
var n;
|
|
3082
3082
|
const t = e.isInteractive ? Gi : e.componentRef;
|
|
3083
|
-
return /* @__PURE__ */
|
|
3083
|
+
return /* @__PURE__ */ v(K, { children: e.componentRef ? /* @__PURE__ */ v(K, { children: /* @__PURE__ */ v(
|
|
3084
3084
|
t,
|
|
3085
3085
|
{
|
|
3086
3086
|
...zi({
|
|
@@ -3093,7 +3093,7 @@ function nr(e) {
|
|
|
3093
3093
|
isInteractive: e.isInteractive,
|
|
3094
3094
|
contextValue: e.context
|
|
3095
3095
|
}),
|
|
3096
|
-
children: (n = e.blockChildren) == null ? void 0 : n.map((r) => /* @__PURE__ */
|
|
3096
|
+
children: (n = e.blockChildren) == null ? void 0 : n.map((r) => /* @__PURE__ */ v(
|
|
3097
3097
|
wt,
|
|
3098
3098
|
{
|
|
3099
3099
|
block: r,
|
|
@@ -3108,7 +3108,7 @@ function nr(e) {
|
|
|
3108
3108
|
}
|
|
3109
3109
|
function Yi(e) {
|
|
3110
3110
|
const t = e.repeatContext;
|
|
3111
|
-
return /* @__PURE__ */
|
|
3111
|
+
return /* @__PURE__ */ v(
|
|
3112
3112
|
wt,
|
|
3113
3113
|
{
|
|
3114
3114
|
block: e.block,
|
|
@@ -3145,16 +3145,16 @@ function wt(e) {
|
|
|
3145
3145
|
var F;
|
|
3146
3146
|
return e.block.tagName === "a" || ((F = r().properties) == null ? void 0 : F.href) || r().href ? e.linkComponent || "a" : e.block.tagName || "div";
|
|
3147
3147
|
}, a = function() {
|
|
3148
|
-
var V,
|
|
3148
|
+
var V, M;
|
|
3149
3149
|
if ((V = e.block.repeat) != null && V.collection)
|
|
3150
|
-
return !!((
|
|
3150
|
+
return !!((M = n()) != null && M.length);
|
|
3151
3151
|
const j = "hide" in r() ? r().hide : !1;
|
|
3152
3152
|
return ("show" in r() ? r().show : !0) && !j;
|
|
3153
3153
|
}, s = function() {
|
|
3154
3154
|
var F, V;
|
|
3155
3155
|
return !((F = t()) != null && F.component) && !n() ? (V = r().children) != null ? V : [] : [];
|
|
3156
3156
|
}, c = function() {
|
|
3157
|
-
var j, F, V,
|
|
3157
|
+
var j, F, V, M;
|
|
3158
3158
|
return {
|
|
3159
3159
|
blockChildren: (j = r().children) != null ? j : [],
|
|
3160
3160
|
componentRef: (F = t()) == null ? void 0 : F.component,
|
|
@@ -3162,8 +3162,8 @@ function wt(e) {
|
|
|
3162
3162
|
...ii(r()),
|
|
3163
3163
|
...Fi(t(), r()),
|
|
3164
3164
|
...Di(t(), e.context),
|
|
3165
|
-
...
|
|
3166
|
-
...
|
|
3165
|
+
...Mi(t(), e.linkComponent),
|
|
3166
|
+
...Li(
|
|
3167
3167
|
t(),
|
|
3168
3168
|
e.registeredComponents
|
|
3169
3169
|
)
|
|
@@ -3173,12 +3173,12 @@ function wt(e) {
|
|
|
3173
3173
|
registeredComponents: e.registeredComponents,
|
|
3174
3174
|
builderBlock: r(),
|
|
3175
3175
|
includeBlockProps: ((V = t()) == null ? void 0 : V.noWrap) === !0,
|
|
3176
|
-
isInteractive: !((
|
|
3176
|
+
isInteractive: !((M = t()) != null && M.isRSC)
|
|
3177
3177
|
};
|
|
3178
3178
|
};
|
|
3179
|
-
return /* @__PURE__ */
|
|
3180
|
-
/* @__PURE__ */
|
|
3181
|
-
(f = t()) != null && f.noWrap ? /* @__PURE__ */
|
|
3179
|
+
return /* @__PURE__ */ v(K, { children: a() ? /* @__PURE__ */ se(K, { children: [
|
|
3180
|
+
/* @__PURE__ */ v(Ui, { block: e.block, context: e.context }),
|
|
3181
|
+
(f = t()) != null && f.noWrap ? /* @__PURE__ */ v(K, { children: /* @__PURE__ */ v(
|
|
3182
3182
|
nr,
|
|
3183
3183
|
{
|
|
3184
3184
|
componentRef: c().componentRef,
|
|
@@ -3191,7 +3191,7 @@ function wt(e) {
|
|
|
3191
3191
|
includeBlockProps: c().includeBlockProps,
|
|
3192
3192
|
isInteractive: c().isInteractive
|
|
3193
3193
|
}
|
|
3194
|
-
) }) : /* @__PURE__ */
|
|
3194
|
+
) }) : /* @__PURE__ */ v(K, { children: n() ? /* @__PURE__ */ v(K, { children: (b = n()) == null ? void 0 : b.map((m, j) => /* @__PURE__ */ v(
|
|
3195
3195
|
Yi,
|
|
3196
3196
|
{
|
|
3197
3197
|
repeatContext: m.context,
|
|
@@ -3207,7 +3207,7 @@ function wt(e) {
|
|
|
3207
3207
|
block: r(),
|
|
3208
3208
|
context: e.context,
|
|
3209
3209
|
children: [
|
|
3210
|
-
/* @__PURE__ */
|
|
3210
|
+
/* @__PURE__ */ v(
|
|
3211
3211
|
nr,
|
|
3212
3212
|
{
|
|
3213
3213
|
componentRef: c().componentRef,
|
|
@@ -3221,7 +3221,7 @@ function wt(e) {
|
|
|
3221
3221
|
isInteractive: c().isInteractive
|
|
3222
3222
|
}
|
|
3223
3223
|
),
|
|
3224
|
-
(g = s()) == null ? void 0 : g.map((m) => /* @__PURE__ */
|
|
3224
|
+
(g = s()) == null ? void 0 : g.map((m) => /* @__PURE__ */ v(
|
|
3225
3225
|
wt,
|
|
3226
3226
|
{
|
|
3227
3227
|
block: m,
|
|
@@ -3268,7 +3268,7 @@ function Xi(e) {
|
|
|
3268
3268
|
));
|
|
3269
3269
|
}
|
|
3270
3270
|
return /* @__PURE__ */ se(K, { children: [
|
|
3271
|
-
/* @__PURE__ */
|
|
3271
|
+
/* @__PURE__ */ v(
|
|
3272
3272
|
e.BlocksWrapper,
|
|
3273
3273
|
{
|
|
3274
3274
|
className: t() + " props-blocks-wrapper-7cd1560e",
|
|
@@ -3282,7 +3282,7 @@ function Xi(e) {
|
|
|
3282
3282
|
children: e.children
|
|
3283
3283
|
}
|
|
3284
3284
|
),
|
|
3285
|
-
/* @__PURE__ */
|
|
3285
|
+
/* @__PURE__ */ v("style", { children: `.props-blocks-wrapper-7cd1560e {
|
|
3286
3286
|
display: flex;
|
|
3287
3287
|
flex-direction: column;
|
|
3288
3288
|
align-items: stretch;
|
|
@@ -3291,7 +3291,7 @@ function Xi(e) {
|
|
|
3291
3291
|
}
|
|
3292
3292
|
function gn(e) {
|
|
3293
3293
|
var t, n, r;
|
|
3294
|
-
return /* @__PURE__ */
|
|
3294
|
+
return /* @__PURE__ */ v(
|
|
3295
3295
|
Xi,
|
|
3296
3296
|
{
|
|
3297
3297
|
blocks: e.blocks,
|
|
@@ -3300,7 +3300,7 @@ function gn(e) {
|
|
|
3300
3300
|
styleProp: e.styleProp,
|
|
3301
3301
|
BlocksWrapper: (t = e.context) == null ? void 0 : t.BlocksWrapper,
|
|
3302
3302
|
BlocksWrapperProps: (n = e.context) == null ? void 0 : n.BlocksWrapperProps,
|
|
3303
|
-
children: e.blocks ? /* @__PURE__ */
|
|
3303
|
+
children: e.blocks ? /* @__PURE__ */ v(K, { children: (r = e.blocks) == null ? void 0 : r.map((i) => /* @__PURE__ */ v(
|
|
3304
3304
|
wt,
|
|
3305
3305
|
{
|
|
3306
3306
|
block: i,
|
|
@@ -3315,25 +3315,25 @@ function gn(e) {
|
|
|
3315
3315
|
}
|
|
3316
3316
|
const Ji = (e) => `builder-columns ${e}-breakpoints`;
|
|
3317
3317
|
function qi(e) {
|
|
3318
|
-
var
|
|
3319
|
-
const t = typeof e.space == "number" ? e.space || 0 : 20, n = e.columns || [], r = e.stackColumnsAt || "tablet", i = function(
|
|
3320
|
-
return
|
|
3321
|
-
}, a = function(
|
|
3318
|
+
var M, $;
|
|
3319
|
+
const t = typeof e.space == "number" ? e.space || 0 : 20, n = e.columns || [], r = e.stackColumnsAt || "tablet", i = function(y) {
|
|
3320
|
+
return y.link ? e.builderLinkComponent || "a" : "div";
|
|
3321
|
+
}, a = function(y) {
|
|
3322
3322
|
var W;
|
|
3323
|
-
return ((W = n[
|
|
3324
|
-
}, s = function(
|
|
3323
|
+
return ((W = n[y]) == null ? void 0 : W.width) || 100 / n.length;
|
|
3324
|
+
}, s = function(y) {
|
|
3325
3325
|
const W = t * (n.length - 1) / n.length;
|
|
3326
|
-
return `calc(${a(
|
|
3326
|
+
return `calc(${a(y)}% - ${W}px)`;
|
|
3327
3327
|
}, c = function({
|
|
3328
|
-
stackedStyle:
|
|
3328
|
+
stackedStyle: y,
|
|
3329
3329
|
desktopStyle: W
|
|
3330
3330
|
}) {
|
|
3331
|
-
return r === "tablet" ?
|
|
3331
|
+
return r === "tablet" ? y : W;
|
|
3332
3332
|
}, f = function({
|
|
3333
|
-
stackedStyle:
|
|
3333
|
+
stackedStyle: y,
|
|
3334
3334
|
desktopStyle: W
|
|
3335
3335
|
}) {
|
|
3336
|
-
return r === "never" ? W :
|
|
3336
|
+
return r === "never" ? W : y;
|
|
3337
3337
|
}, g = e.stackColumnsAt === "never" ? "row" : e.reverseColumnsWhenStacked ? "column-reverse" : "column", b = function() {
|
|
3338
3338
|
return {
|
|
3339
3339
|
"--flex-dir": g,
|
|
@@ -3342,8 +3342,8 @@ function qi(e) {
|
|
|
3342
3342
|
desktopStyle: "row"
|
|
3343
3343
|
})
|
|
3344
3344
|
};
|
|
3345
|
-
}, m = function(
|
|
3346
|
-
const W =
|
|
3345
|
+
}, m = function(y) {
|
|
3346
|
+
const W = y === 0 ? 0 : t, X = s(y), oe = `${W}px`, _ = "100%", Q = 0;
|
|
3347
3347
|
return {
|
|
3348
3348
|
...{
|
|
3349
3349
|
display: "flex",
|
|
@@ -3369,11 +3369,11 @@ function qi(e) {
|
|
|
3369
3369
|
desktopStyle: oe
|
|
3370
3370
|
})
|
|
3371
3371
|
};
|
|
3372
|
-
}, j = function(
|
|
3372
|
+
}, j = function(y) {
|
|
3373
3373
|
var X, oe;
|
|
3374
3374
|
return Sr(
|
|
3375
3375
|
((oe = (X = e.builderContext.content) == null ? void 0 : X.meta) == null ? void 0 : oe.breakpoints) || {}
|
|
3376
|
-
)[
|
|
3376
|
+
)[y].max;
|
|
3377
3377
|
}, F = function() {
|
|
3378
3378
|
return `
|
|
3379
3379
|
@media (max-width: ${j("medium")}px) {
|
|
@@ -3400,10 +3400,10 @@ function qi(e) {
|
|
|
3400
3400
|
}
|
|
3401
3401
|
},
|
|
3402
3402
|
`;
|
|
3403
|
-
}, V = function(
|
|
3403
|
+
}, V = function(y, W) {
|
|
3404
3404
|
return {
|
|
3405
|
-
...
|
|
3406
|
-
href:
|
|
3405
|
+
...y.link ? {
|
|
3406
|
+
href: y.link
|
|
3407
3407
|
} : {},
|
|
3408
3408
|
[et()]: "builder-column",
|
|
3409
3409
|
style: br(m(W))
|
|
@@ -3413,20 +3413,20 @@ function qi(e) {
|
|
|
3413
3413
|
/* @__PURE__ */ se(
|
|
3414
3414
|
"div",
|
|
3415
3415
|
{
|
|
3416
|
-
className: Ji((
|
|
3416
|
+
className: Ji((M = e.builderBlock) == null ? void 0 : M.id) + " div-eeca3604",
|
|
3417
3417
|
style: b(),
|
|
3418
3418
|
children: [
|
|
3419
|
-
/* @__PURE__ */
|
|
3420
|
-
($ = e.columns) == null ? void 0 : $.map((N,
|
|
3419
|
+
/* @__PURE__ */ v(Ct, { id: "builderio-columns", styles: F() }),
|
|
3420
|
+
($ = e.columns) == null ? void 0 : $.map((N, y) => /* @__PURE__ */ v(
|
|
3421
3421
|
tn,
|
|
3422
3422
|
{
|
|
3423
3423
|
TagName: i(N),
|
|
3424
3424
|
actionAttributes: {},
|
|
3425
|
-
attributes: V(N,
|
|
3426
|
-
children: /* @__PURE__ */
|
|
3425
|
+
attributes: V(N, y),
|
|
3426
|
+
children: /* @__PURE__ */ v(
|
|
3427
3427
|
gn,
|
|
3428
3428
|
{
|
|
3429
|
-
path: `component.options.columns.${
|
|
3429
|
+
path: `component.options.columns.${y}.blocks`,
|
|
3430
3430
|
parent: e.builderBlock.id,
|
|
3431
3431
|
styleProp: {
|
|
3432
3432
|
flexGrow: "1"
|
|
@@ -3438,19 +3438,19 @@ function qi(e) {
|
|
|
3438
3438
|
}
|
|
3439
3439
|
)
|
|
3440
3440
|
},
|
|
3441
|
-
|
|
3441
|
+
y
|
|
3442
3442
|
))
|
|
3443
3443
|
]
|
|
3444
3444
|
}
|
|
3445
3445
|
),
|
|
3446
|
-
/* @__PURE__ */
|
|
3446
|
+
/* @__PURE__ */ v("style", { children: `.div-eeca3604 {
|
|
3447
3447
|
display: flex;
|
|
3448
3448
|
line-height: normal;
|
|
3449
3449
|
}` })
|
|
3450
3450
|
] });
|
|
3451
3451
|
}
|
|
3452
3452
|
function Zi(e) {
|
|
3453
|
-
return /* @__PURE__ */
|
|
3453
|
+
return /* @__PURE__ */ v("span", { children: e.children });
|
|
3454
3454
|
}
|
|
3455
3455
|
function rr(e) {
|
|
3456
3456
|
return e.replace(/http(s)?:/, "");
|
|
@@ -3515,8 +3515,8 @@ function to(e) {
|
|
|
3515
3515
|
return /* @__PURE__ */ se(K, { children: [
|
|
3516
3516
|
/* @__PURE__ */ se(K, { children: [
|
|
3517
3517
|
/* @__PURE__ */ se("picture", { children: [
|
|
3518
|
-
n() ? /* @__PURE__ */
|
|
3519
|
-
/* @__PURE__ */
|
|
3518
|
+
n() ? /* @__PURE__ */ v("source", { type: "image/webp", srcSet: n() }) : null,
|
|
3519
|
+
/* @__PURE__ */ v(
|
|
3520
3520
|
"img",
|
|
3521
3521
|
{
|
|
3522
3522
|
loading: e.highPriority ? "eager" : "lazy",
|
|
@@ -3535,7 +3535,7 @@ function to(e) {
|
|
|
3535
3535
|
}
|
|
3536
3536
|
)
|
|
3537
3537
|
] }),
|
|
3538
|
-
e.aspectRatio && !((a = (i = e.builderBlock) == null ? void 0 : i.children) != null && a.length && e.fitContent) ? /* @__PURE__ */
|
|
3538
|
+
e.aspectRatio && !((a = (i = e.builderBlock) == null ? void 0 : i.children) != null && a.length && e.fitContent) ? /* @__PURE__ */ v(
|
|
3539
3539
|
"div",
|
|
3540
3540
|
{
|
|
3541
3541
|
className: "builder-image-sizer div-ac3dff4a",
|
|
@@ -3544,10 +3544,10 @@ function to(e) {
|
|
|
3544
3544
|
}
|
|
3545
3545
|
}
|
|
3546
3546
|
) : null,
|
|
3547
|
-
(c = (s = e.builderBlock) == null ? void 0 : s.children) != null && c.length && e.fitContent ? /* @__PURE__ */
|
|
3548
|
-
!e.fitContent && ((g = (f = e.builderBlock) == null ? void 0 : f.children) != null && g.length) ? /* @__PURE__ */
|
|
3547
|
+
(c = (s = e.builderBlock) == null ? void 0 : s.children) != null && c.length && e.fitContent ? /* @__PURE__ */ v(K, { children: e.children }) : null,
|
|
3548
|
+
!e.fitContent && ((g = (f = e.builderBlock) == null ? void 0 : f.children) != null && g.length) ? /* @__PURE__ */ v("div", { className: "div-ac3dff4a-2", children: e.children }) : null
|
|
3549
3549
|
] }),
|
|
3550
|
-
/* @__PURE__ */
|
|
3550
|
+
/* @__PURE__ */ v("style", { children: `.img-ac3dff4a {
|
|
3551
3551
|
opacity: 1;
|
|
3552
3552
|
transition: opacity 0.2s ease-in-out;
|
|
3553
3553
|
}.div-ac3dff4a {
|
|
@@ -3567,7 +3567,7 @@ function to(e) {
|
|
|
3567
3567
|
] });
|
|
3568
3568
|
}
|
|
3569
3569
|
function no(e) {
|
|
3570
|
-
return /* @__PURE__ */
|
|
3570
|
+
return /* @__PURE__ */ v(
|
|
3571
3571
|
"section",
|
|
3572
3572
|
{
|
|
3573
3573
|
...e.attributes,
|
|
@@ -4023,7 +4023,7 @@ const ro = {
|
|
|
4023
4023
|
};
|
|
4024
4024
|
function co(e) {
|
|
4025
4025
|
var t, n, r;
|
|
4026
|
-
return /* @__PURE__ */
|
|
4026
|
+
return /* @__PURE__ */ v(
|
|
4027
4027
|
"div",
|
|
4028
4028
|
{
|
|
4029
4029
|
style: {
|
|
@@ -4032,7 +4032,7 @@ function co(e) {
|
|
|
4032
4032
|
...!((t = e.builderContext.context) != null && t.symbolId) && {
|
|
4033
4033
|
"builder-slot": e.name
|
|
4034
4034
|
},
|
|
4035
|
-
children: /* @__PURE__ */
|
|
4035
|
+
children: /* @__PURE__ */ v(
|
|
4036
4036
|
gn,
|
|
4037
4037
|
{
|
|
4038
4038
|
parent: (n = e.builderContext.context) == null ? void 0 : n.symbolId,
|
|
@@ -4110,7 +4110,7 @@ const uo = {
|
|
|
4110
4110
|
};
|
|
4111
4111
|
function ho(e) {
|
|
4112
4112
|
var t;
|
|
4113
|
-
return /* @__PURE__ */
|
|
4113
|
+
return /* @__PURE__ */ v(
|
|
4114
4114
|
"div",
|
|
4115
4115
|
{
|
|
4116
4116
|
className: "builder-text",
|
|
@@ -4151,7 +4151,7 @@ const po = {
|
|
|
4151
4151
|
}]
|
|
4152
4152
|
};
|
|
4153
4153
|
function mo(e) {
|
|
4154
|
-
const t = en(null), [n, r] =
|
|
4154
|
+
const t = en(null), [n, r] = ve(() => []), [i, a] = ve(() => []);
|
|
4155
4155
|
return ie(() => {
|
|
4156
4156
|
var c;
|
|
4157
4157
|
if (!((c = t.current) != null && c.getElementsByTagName) || typeof window == "undefined")
|
|
@@ -4179,7 +4179,7 @@ function mo(e) {
|
|
|
4179
4179
|
}
|
|
4180
4180
|
}
|
|
4181
4181
|
}
|
|
4182
|
-
}, []), /* @__PURE__ */
|
|
4182
|
+
}, []), /* @__PURE__ */ v(
|
|
4183
4183
|
"div",
|
|
4184
4184
|
{
|
|
4185
4185
|
ref: t,
|
|
@@ -4202,29 +4202,16 @@ const go = {
|
|
|
4202
4202
|
type: "url",
|
|
4203
4203
|
required: !0,
|
|
4204
4204
|
defaultValue: "",
|
|
4205
|
-
helperText: "e.g. enter a youtube url, google map, etc"
|
|
4206
|
-
onChange: (e) => {
|
|
4207
|
-
const t = e.get("url");
|
|
4208
|
-
if (t) {
|
|
4209
|
-
e.set("content", "Loading...");
|
|
4210
|
-
const n = _iframelyApiKey;
|
|
4211
|
-
return fetch(`https://iframe.ly/api/iframely?url=${t}&api_key=${n}`).then((r) => r.json()).then((r) => {
|
|
4212
|
-
e.get("url") === t && (r.html ? e.set("content", r.html) : e.set("content", "Invalid url, please try another"));
|
|
4213
|
-
}).catch((r) => {
|
|
4214
|
-
e.set("content", "There was an error embedding this URL, please try again or another URL");
|
|
4215
|
-
});
|
|
4216
|
-
} else
|
|
4217
|
-
e.delete("content");
|
|
4218
|
-
}
|
|
4205
|
+
helperText: "e.g. enter a youtube url, google map, etc"
|
|
4219
4206
|
}, {
|
|
4220
4207
|
name: "content",
|
|
4221
4208
|
type: "html",
|
|
4222
4209
|
defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
|
|
4223
4210
|
hideFromUI: !0
|
|
4224
4211
|
}]
|
|
4225
|
-
},
|
|
4212
|
+
}, vo = ["text/javascript", "application/javascript", "application/ecmascript"], yo = (e) => vo.includes(e.type);
|
|
4226
4213
|
function bo(e) {
|
|
4227
|
-
const t = en(null), [n, r] =
|
|
4214
|
+
const t = en(null), [n, r] = ve(() => []), [i, a] = ve(() => []), [s, c] = ve(() => !1);
|
|
4228
4215
|
function f() {
|
|
4229
4216
|
if (!t.current || !t.current.getElementsByTagName)
|
|
4230
4217
|
return;
|
|
@@ -4235,7 +4222,7 @@ function bo(e) {
|
|
|
4235
4222
|
n.push(m.src);
|
|
4236
4223
|
const j = document.createElement("script");
|
|
4237
4224
|
j.async = !0, j.src = m.src, document.head.appendChild(j);
|
|
4238
|
-
} else if (
|
|
4225
|
+
} else if (yo(m) && !i.includes(m.innerText))
|
|
4239
4226
|
try {
|
|
4240
4227
|
i.push(m.innerText), new Function(m.innerText)();
|
|
4241
4228
|
} catch (j) {
|
|
@@ -4245,7 +4232,7 @@ function bo(e) {
|
|
|
4245
4232
|
}
|
|
4246
4233
|
return ie(() => {
|
|
4247
4234
|
t.current && !s && (c(!0), f());
|
|
4248
|
-
}, [t.current, s]), /* @__PURE__ */
|
|
4235
|
+
}, [t.current, s]), /* @__PURE__ */ v(
|
|
4249
4236
|
"div",
|
|
4250
4237
|
{
|
|
4251
4238
|
className: "builder-embed",
|
|
@@ -4276,7 +4263,7 @@ const xo = {
|
|
|
4276
4263
|
static: !0
|
|
4277
4264
|
};
|
|
4278
4265
|
function So(e) {
|
|
4279
|
-
return /* @__PURE__ */
|
|
4266
|
+
return /* @__PURE__ */ v(
|
|
4280
4267
|
"img",
|
|
4281
4268
|
{
|
|
4282
4269
|
style: {
|
|
@@ -4411,7 +4398,7 @@ function Co(e) {
|
|
|
4411
4398
|
position: "relative"
|
|
4412
4399
|
},
|
|
4413
4400
|
children: [
|
|
4414
|
-
/* @__PURE__ */
|
|
4401
|
+
/* @__PURE__ */ v(
|
|
4415
4402
|
"video",
|
|
4416
4403
|
{
|
|
4417
4404
|
className: "builder-video",
|
|
@@ -4433,10 +4420,10 @@ function Co(e) {
|
|
|
4433
4420
|
},
|
|
4434
4421
|
src: e.video || "no-src",
|
|
4435
4422
|
poster: e.posterImage,
|
|
4436
|
-
children: e.lazyLoad ? null : /* @__PURE__ */
|
|
4423
|
+
children: e.lazyLoad ? null : /* @__PURE__ */ v("source", { type: "video/mp4", src: e.video })
|
|
4437
4424
|
}
|
|
4438
4425
|
),
|
|
4439
|
-
e.aspectRatio && !(e.fitContent && ((a = (i = e.builderBlock) == null ? void 0 : i.children) != null && a.length)) ? /* @__PURE__ */
|
|
4426
|
+
e.aspectRatio && !(e.fitContent && ((a = (i = e.builderBlock) == null ? void 0 : i.children) != null && a.length)) ? /* @__PURE__ */ v(
|
|
4440
4427
|
"div",
|
|
4441
4428
|
{
|
|
4442
4429
|
style: {
|
|
@@ -4447,7 +4434,7 @@ function Co(e) {
|
|
|
4447
4434
|
}
|
|
4448
4435
|
}
|
|
4449
4436
|
) : null,
|
|
4450
|
-
(c = (s = e.builderBlock) == null ? void 0 : s.children) != null && c.length && e.fitContent ? /* @__PURE__ */
|
|
4437
|
+
(c = (s = e.builderBlock) == null ? void 0 : s.children) != null && c.length && e.fitContent ? /* @__PURE__ */ v(
|
|
4451
4438
|
"div",
|
|
4452
4439
|
{
|
|
4453
4440
|
style: {
|
|
@@ -4458,7 +4445,7 @@ function Co(e) {
|
|
|
4458
4445
|
children: e.children
|
|
4459
4446
|
}
|
|
4460
4447
|
) : null,
|
|
4461
|
-
(g = (f = e.builderBlock) == null ? void 0 : f.children) != null && g.length && !e.fitContent ? /* @__PURE__ */
|
|
4448
|
+
(g = (f = e.builderBlock) == null ? void 0 : f.children) != null && g.length && !e.fitContent ? /* @__PURE__ */ v(
|
|
4462
4449
|
"div",
|
|
4463
4450
|
{
|
|
4464
4451
|
style: {
|
|
@@ -4625,7 +4612,7 @@ const wo = () => [{
|
|
|
4625
4612
|
"${t}", "${e}", ${Er}
|
|
4626
4613
|
)`;
|
|
4627
4614
|
function Zt(e) {
|
|
4628
|
-
return /* @__PURE__ */
|
|
4615
|
+
return /* @__PURE__ */ v(
|
|
4629
4616
|
"script",
|
|
4630
4617
|
{
|
|
4631
4618
|
dangerouslySetInnerHTML: { __html: e.scriptStr },
|
|
@@ -4673,7 +4660,7 @@ const No = (e, t, n = !0) => {
|
|
|
4673
4660
|
x: a,
|
|
4674
4661
|
y: s
|
|
4675
4662
|
};
|
|
4676
|
-
},
|
|
4663
|
+
}, Mo = (e) => {
|
|
4677
4664
|
const t = e.target, n = t && Bo(t), r = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
|
|
4678
4665
|
return {
|
|
4679
4666
|
targetBuilderElement: r || void 0,
|
|
@@ -4690,7 +4677,7 @@ const No = (e, t, n = !0) => {
|
|
|
4690
4677
|
}
|
|
4691
4678
|
};
|
|
4692
4679
|
};
|
|
4693
|
-
async function
|
|
4680
|
+
async function Lo({
|
|
4694
4681
|
key: e,
|
|
4695
4682
|
value: t
|
|
4696
4683
|
}) {
|
|
@@ -4814,7 +4801,7 @@ function zo(e) {
|
|
|
4814
4801
|
breakpoints: ((B = I == null ? void 0 : I.meta) == null ? void 0 : B.breakpoints) || ((le = (J = e.builderContextSignal.content) == null ? void 0 : J.meta) == null ? void 0 : le.breakpoints)
|
|
4815
4802
|
}
|
|
4816
4803
|
};
|
|
4817
|
-
|
|
4804
|
+
Lo({
|
|
4818
4805
|
value: x,
|
|
4819
4806
|
key: x.id
|
|
4820
4807
|
}).then(() => {
|
|
@@ -4827,7 +4814,7 @@ function zo(e) {
|
|
|
4827
4814
|
"aria-hidden": !0
|
|
4828
4815
|
};
|
|
4829
4816
|
}
|
|
4830
|
-
const [a, s] =
|
|
4817
|
+
const [a, s] = ve(
|
|
4831
4818
|
() => e.contentWrapper || "div"
|
|
4832
4819
|
);
|
|
4833
4820
|
function c(I) {
|
|
@@ -4868,18 +4855,18 @@ function zo(e) {
|
|
|
4868
4855
|
enableCache: !1
|
|
4869
4856
|
});
|
|
4870
4857
|
}
|
|
4871
|
-
const [g, b] =
|
|
4872
|
-
function
|
|
4858
|
+
const [g, b] = ve(() => ({})), [m, j] = ve(() => ({})), [F, V] = ve(() => !1);
|
|
4859
|
+
function M(I) {
|
|
4873
4860
|
var x, P;
|
|
4874
4861
|
if (e.builderContextSignal.content) {
|
|
4875
4862
|
const D = (x = e.builderContextSignal.content) == null ? void 0 : x.testVariationId, B = (P = e.builderContextSignal.content) == null ? void 0 : P.id;
|
|
4876
4863
|
zn({
|
|
4877
4864
|
type: "click",
|
|
4878
|
-
canTrack:
|
|
4865
|
+
canTrack: yt(e.canTrack),
|
|
4879
4866
|
contentId: B,
|
|
4880
4867
|
apiKey: e.apiKey,
|
|
4881
4868
|
variationId: D !== B ? D : void 0,
|
|
4882
|
-
...
|
|
4869
|
+
...Mo(I),
|
|
4883
4870
|
unique: !F
|
|
4884
4871
|
});
|
|
4885
4872
|
}
|
|
@@ -4931,7 +4918,7 @@ function zo(e) {
|
|
|
4931
4918
|
)
|
|
4932
4919
|
);
|
|
4933
4920
|
}
|
|
4934
|
-
function
|
|
4921
|
+
function y(I) {
|
|
4935
4922
|
window.addEventListener("message", c), Xr(), Jr({
|
|
4936
4923
|
...e.locale ? {
|
|
4937
4924
|
locale: e.locale
|
|
@@ -4970,12 +4957,12 @@ function zo(e) {
|
|
|
4970
4957
|
var I;
|
|
4971
4958
|
return (I = t.current) == null || I.addEventListener(
|
|
4972
4959
|
"initeditingbldr",
|
|
4973
|
-
|
|
4960
|
+
y
|
|
4974
4961
|
), () => {
|
|
4975
4962
|
var x;
|
|
4976
4963
|
return (x = t.current) == null ? void 0 : x.removeEventListener(
|
|
4977
4964
|
"initeditingbldr",
|
|
4978
|
-
|
|
4965
|
+
y
|
|
4979
4966
|
);
|
|
4980
4967
|
};
|
|
4981
4968
|
}, []), ie(() => {
|
|
@@ -4993,7 +4980,7 @@ function zo(e) {
|
|
|
4993
4980
|
}, []), ie(() => {
|
|
4994
4981
|
var I, x;
|
|
4995
4982
|
if (Fe()) {
|
|
4996
|
-
if (Ce() && t.current && t.current.dispatchEvent(new CustomEvent("initeditingbldr")), e.builderContextSignal.content &&
|
|
4983
|
+
if (Ce() && t.current && t.current.dispatchEvent(new CustomEvent("initeditingbldr")), e.builderContextSignal.content && yt(e.canTrack)) {
|
|
4997
4984
|
const D = (I = e.builderContextSignal.content) == null ? void 0 : I.testVariationId, B = (x = e.builderContextSignal.content) == null ? void 0 : x.id, J = e.apiKey;
|
|
4998
4985
|
zn({
|
|
4999
4986
|
type: "impression",
|
|
@@ -5027,11 +5014,11 @@ function zo(e) {
|
|
|
5027
5014
|
"builder:component:stateChangeListenerActivated",
|
|
5028
5015
|
N
|
|
5029
5016
|
));
|
|
5030
|
-
}, []), /* @__PURE__ */
|
|
5017
|
+
}, []), /* @__PURE__ */ v(Po.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content ? /* @__PURE__ */ v(
|
|
5031
5018
|
a,
|
|
5032
5019
|
{
|
|
5033
5020
|
ref: t,
|
|
5034
|
-
onClick: (I) =>
|
|
5021
|
+
onClick: (I) => M(I),
|
|
5035
5022
|
"builder-content-id": (Ee = e.builderContextSignal.content) == null ? void 0 : Ee.id,
|
|
5036
5023
|
"builder-model": e.model,
|
|
5037
5024
|
...i(),
|
|
@@ -5054,7 +5041,7 @@ ${_o({
|
|
|
5054
5041
|
})}
|
|
5055
5042
|
${Ko(e.isNestedRender)}
|
|
5056
5043
|
`.trim();
|
|
5057
|
-
return /* @__PURE__ */
|
|
5044
|
+
return /* @__PURE__ */ v(Ct, { id: "builderio-content", styles: t });
|
|
5058
5045
|
}
|
|
5059
5046
|
const Xo = ({
|
|
5060
5047
|
content: e,
|
|
@@ -5095,11 +5082,11 @@ function lr(e) {
|
|
|
5095
5082
|
...ir(),
|
|
5096
5083
|
...e.customComponents || []
|
|
5097
5084
|
].reduce(
|
|
5098
|
-
(F, { component: V, ...
|
|
5085
|
+
(F, { component: V, ...M }) => ({
|
|
5099
5086
|
...F,
|
|
5100
|
-
[
|
|
5087
|
+
[M.name]: {
|
|
5101
5088
|
component: V,
|
|
5102
|
-
...Yn(
|
|
5089
|
+
...Yn(M)
|
|
5103
5090
|
}
|
|
5104
5091
|
}),
|
|
5105
5092
|
{}
|
|
@@ -5123,9 +5110,9 @@ function lr(e) {
|
|
|
5123
5110
|
...ir(),
|
|
5124
5111
|
...e.customComponents || []
|
|
5125
5112
|
].reduce(
|
|
5126
|
-
(F, { component: V, ...
|
|
5113
|
+
(F, { component: V, ...M }) => ({
|
|
5127
5114
|
...F,
|
|
5128
|
-
[
|
|
5115
|
+
[M.name]: Yn(M)
|
|
5129
5116
|
}),
|
|
5130
5117
|
{}
|
|
5131
5118
|
),
|
|
@@ -5150,14 +5137,14 @@ function lr(e) {
|
|
|
5150
5137
|
contentWrapperProps: e.contentWrapperProps,
|
|
5151
5138
|
trustedHosts: e.trustedHosts,
|
|
5152
5139
|
children: [
|
|
5153
|
-
e.isSsrAbTest ? /* @__PURE__ */
|
|
5140
|
+
e.isSsrAbTest ? /* @__PURE__ */ v(
|
|
5154
5141
|
Zt,
|
|
5155
5142
|
{
|
|
5156
5143
|
id: "builderio-variant-visibility",
|
|
5157
5144
|
scriptStr: t
|
|
5158
5145
|
}
|
|
5159
5146
|
) : null,
|
|
5160
|
-
/* @__PURE__ */
|
|
5147
|
+
/* @__PURE__ */ v(
|
|
5161
5148
|
Yo,
|
|
5162
5149
|
{
|
|
5163
5150
|
isNestedRender: e.isNestedRender,
|
|
@@ -5166,7 +5153,7 @@ function lr(e) {
|
|
|
5166
5153
|
customFonts: (b = (g = r.content) == null ? void 0 : g.data) == null ? void 0 : b.customFonts
|
|
5167
5154
|
}
|
|
5168
5155
|
),
|
|
5169
|
-
/* @__PURE__ */
|
|
5156
|
+
/* @__PURE__ */ v(
|
|
5170
5157
|
gn,
|
|
5171
5158
|
{
|
|
5172
5159
|
blocks: (j = (m = r.content) == null ? void 0 : m.data) == null ? void 0 : j.blocks,
|
|
@@ -5182,7 +5169,7 @@ function lr(e) {
|
|
|
5182
5169
|
function qo(e) {
|
|
5183
5170
|
var a;
|
|
5184
5171
|
const t = To({
|
|
5185
|
-
canTrack:
|
|
5172
|
+
canTrack: yt(e.canTrack),
|
|
5186
5173
|
content: e.content
|
|
5187
5174
|
}), n = function() {
|
|
5188
5175
|
var c;
|
|
@@ -5202,11 +5189,11 @@ function qo(e) {
|
|
|
5202
5189
|
testVariationId: (c = e.content) == null ? void 0 : c.id
|
|
5203
5190
|
} : Zr({
|
|
5204
5191
|
item: e.content,
|
|
5205
|
-
canTrack:
|
|
5192
|
+
canTrack: yt(e.canTrack)
|
|
5206
5193
|
});
|
|
5207
5194
|
};
|
|
5208
5195
|
return /* @__PURE__ */ se(K, { children: [
|
|
5209
|
-
!e.isNestedRender && it !== "reactNative" ? /* @__PURE__ */
|
|
5196
|
+
!e.isNestedRender && it !== "reactNative" ? /* @__PURE__ */ v(
|
|
5210
5197
|
Zt,
|
|
5211
5198
|
{
|
|
5212
5199
|
id: "builderio-init-variants-fns",
|
|
@@ -5214,21 +5201,21 @@ function qo(e) {
|
|
|
5214
5201
|
}
|
|
5215
5202
|
) : null,
|
|
5216
5203
|
t ? /* @__PURE__ */ se(K, { children: [
|
|
5217
|
-
/* @__PURE__ */
|
|
5204
|
+
/* @__PURE__ */ v(
|
|
5218
5205
|
Ct,
|
|
5219
5206
|
{
|
|
5220
5207
|
id: "builderio-variants",
|
|
5221
5208
|
styles: r()
|
|
5222
5209
|
}
|
|
5223
5210
|
),
|
|
5224
|
-
/* @__PURE__ */
|
|
5211
|
+
/* @__PURE__ */ v(
|
|
5225
5212
|
Zt,
|
|
5226
5213
|
{
|
|
5227
5214
|
id: "builderio-variants-visibility",
|
|
5228
5215
|
scriptStr: n()
|
|
5229
5216
|
}
|
|
5230
5217
|
),
|
|
5231
|
-
(a = gt(e.content)) == null ? void 0 : a.map((s) => /* @__PURE__ */
|
|
5218
|
+
(a = gt(e.content)) == null ? void 0 : a.map((s) => /* @__PURE__ */ v(
|
|
5232
5219
|
lr,
|
|
5233
5220
|
{
|
|
5234
5221
|
isNestedRender: e.isNestedRender,
|
|
@@ -5254,7 +5241,7 @@ function qo(e) {
|
|
|
5254
5241
|
s.testVariationId
|
|
5255
5242
|
))
|
|
5256
5243
|
] }) : null,
|
|
5257
|
-
/* @__PURE__ */
|
|
5244
|
+
/* @__PURE__ */ v(
|
|
5258
5245
|
lr,
|
|
5259
5246
|
{
|
|
5260
5247
|
isNestedRender: e.isNestedRender,
|
|
@@ -5317,7 +5304,7 @@ async function Qo(e) {
|
|
|
5317
5304
|
symbol: e.symbol,
|
|
5318
5305
|
builderContextValue: e.builderContext
|
|
5319
5306
|
});
|
|
5320
|
-
return /* @__PURE__ */
|
|
5307
|
+
return /* @__PURE__ */ v("div", { ...e.attributes, className: r(), children: /* @__PURE__ */ v(
|
|
5321
5308
|
qo,
|
|
5322
5309
|
{
|
|
5323
5310
|
isNestedRender: !0,
|