@builder.io/sdk-react 4.0.6 → 4.0.8
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 +33 -33
- package/lib/browser/blocks-exports.mjs +884 -873
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +1 -1
- package/lib/browser/{server-entry-5449a575.cjs → server-entry-8ea5d047.cjs} +1 -1
- package/lib/browser/{server-entry-79285592.js → server-entry-d0b98fb0.js} +1 -1
- package/lib/browser/server-entry.cjs +1 -1
- package/lib/browser/server-entry.mjs +1 -1
- package/lib/edge/{accordion-87ad8263.js → accordion-8ef468e5.js} +1 -1
- package/lib/edge/{accordion-f7e030d5.cjs → accordion-94839d7d.cjs} +1 -1
- package/lib/edge/{blocks-a066bb29.js → blocks-548ec8c2.js} +425 -417
- package/lib/edge/{blocks-31199191.cjs → blocks-7e8837dc.cjs} +13 -13
- package/lib/edge/blocks-exports.cjs +1 -1
- package/lib/edge/blocks-exports.mjs +2 -2
- package/lib/edge/{button-1d265b68.js → button-09f38c2e.js} +2 -2
- package/lib/edge/{button-45c9b994.cjs → button-66c37b9c.cjs} +1 -1
- package/lib/edge/{columns-6f323a60.js → columns-42cbe467.js} +3 -3
- package/lib/edge/{columns-2282e71d.cjs → columns-67ded4b4.cjs} +1 -1
- package/lib/edge/{content-variants-ddc4462d.js → content-variants-5a4eecaf.js} +13 -16
- package/lib/edge/{content-variants-ea56e041.cjs → content-variants-cf107f82.cjs} +1 -1
- package/lib/edge/{custom-code-27f3a9d0.js → custom-code-cf216b27.js} +1 -1
- package/lib/edge/{custom-code-046c9e54.cjs → custom-code-ea534e98.cjs} +1 -1
- package/lib/edge/{embed-962809ed.js → embed-12b85639.js} +1 -1
- package/lib/edge/{embed-a90e1ebf.cjs → embed-7ca4af6e.cjs} +1 -1
- package/lib/edge/{form-2112cb80.cjs → form-85ea06df.cjs} +1 -1
- package/lib/edge/{form-4fc6f70a.js → form-f1188ad2.js} +3 -3
- package/lib/edge/{get-class-prop-name-77a0b81b.cjs → get-class-prop-name-316a93c9.cjs} +1 -1
- package/lib/edge/{get-class-prop-name-03e66a61.js → get-class-prop-name-90df5962.js} +1 -1
- package/lib/edge/{image-1729f079.js → image-acc1c00c.js} +29 -27
- package/lib/edge/image-e38bd9e0.cjs +17 -0
- package/lib/edge/{img-5850d9d8.cjs → img-81a7f4d7.cjs} +1 -1
- package/lib/edge/{img-95c678b5.js → img-ee2838af.js} +1 -1
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +1 -1
- package/lib/edge/{input-3937aa23.cjs → input-231ec63f.cjs} +1 -1
- package/lib/edge/{input-7d147e6f.js → input-b8907c7d.js} +1 -1
- package/lib/edge/{personalization-container-d687ea13.js → personalization-container-896a298a.js} +4 -4
- package/lib/edge/{personalization-container-aff166ba.cjs → personalization-container-95cba946.cjs} +1 -1
- package/lib/edge/{select-5bdfe568.cjs → select-b1650a75.cjs} +1 -1
- package/lib/edge/{select-bfca657e.js → select-ffee7a69.js} +1 -1
- package/lib/edge/{server-entry-e8854034.cjs → server-entry-1b560ddb.cjs} +1 -1
- package/lib/edge/{server-entry-1d157602.js → server-entry-e9974799.js} +1 -1
- package/lib/edge/server-entry.cjs +1 -1
- package/lib/edge/server-entry.mjs +1 -1
- package/lib/edge/{slot-a4c97369.cjs → slot-ddddba8d.cjs} +1 -1
- package/lib/edge/{slot-acb2aa8e.js → slot-fe93ec42.js} +3 -3
- package/lib/edge/symbol-c266ba83.js +90 -0
- package/lib/edge/symbol-d9175a66.cjs +1 -0
- package/lib/edge/{tabs-9cbb5615.js → tabs-3481a6f6.js} +3 -3
- package/lib/edge/{tabs-900d88a9.cjs → tabs-f76f757a.cjs} +1 -1
- package/lib/node/blocks-exports.cjs +33 -33
- package/lib/node/blocks-exports.mjs +708 -697
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.mjs +3 -3
- package/lib/node/init.cjs +1 -1
- package/lib/node/init.mjs +3 -3
- package/lib/node/{server-entry-0dcb0303.cjs → server-entry-03fc1c6d.cjs} +1 -1
- package/lib/node/{server-entry-ee54171f.js → server-entry-2b91f2d9.js} +1 -1
- package/lib/node/server-entry.cjs +1 -1
- package/lib/node/server-entry.mjs +1 -1
- package/lib/node/{setIvm-d479356f.cjs → setIvm-26e766c5.cjs} +1 -1
- package/lib/node/{setIvm-b773f3ba.js → setIvm-419a94e0.js} +1 -1
- package/lib/node/setIvm.cjs +1 -1
- package/lib/node/setIvm.mjs +2 -2
- package/lib/node/{should-force-browser-runtime-in-node-bdb5bf58.js → should-force-browser-runtime-in-node-67506521.js} +1 -1
- package/lib/node/{should-force-browser-runtime-in-node-364ee049.cjs → should-force-browser-runtime-in-node-fe3d9cb0.cjs} +1 -1
- package/package.json +1 -1
- package/types/components/block/block.helpers.d.ts +1 -0
- package/types/constants/sdk-version.d.ts +1 -1
- package/lib/edge/image-a6fbd15b.cjs +0 -17
- package/lib/edge/symbol-33b65252.cjs +0 -1
- package/lib/edge/symbol-cc7e6b66.js +0 -85
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { TARGET as O, isBrowser as U, logger as z, checkIsDefined as se, isPreviewing as X, isEditing as N, userAttributesService as be, getDefaultCanTrack as M, logFetch as Ve, registerInsertMenu as
|
|
3
|
-
import { setClientUserAttributes as
|
|
4
|
-
import { jsx as s, Fragment as
|
|
5
|
-
import * as
|
|
6
|
-
import { createContext as
|
|
7
|
-
import { getFunctionArguments as
|
|
8
|
-
import { shouldForceBrowserRuntimeInNode as
|
|
9
|
-
const
|
|
2
|
+
import { TARGET as O, isBrowser as U, logger as z, checkIsDefined as se, isPreviewing as X, isEditing as N, userAttributesService as be, getDefaultCanTrack as M, logFetch as Ve, registerInsertMenu as Qe, setupBrowserForEditing as Ye, createRegisterComponentMessage as Xe, getCookieSync as Ze, _track as pe, fetchOneEntry as Be, createEditorListener as et, serializeIncludingFunctions as ye, handleABTestingSync as tt } from "./server-entry-2b91f2d9.js";
|
|
3
|
+
import { setClientUserAttributes as Pi } from "./server-entry-2b91f2d9.js";
|
|
4
|
+
import { jsx as s, Fragment as P, jsxs as B } from "react/jsx-runtime";
|
|
5
|
+
import * as nt from "react";
|
|
6
|
+
import { createContext as Ae, useEffect as R, useState as I, useRef as L, useContext as ve, createElement as Ne } from "react";
|
|
7
|
+
import { getFunctionArguments as it, flattenState as at, runInNode as ot, parseCode as rt, getBuilderGlobals as lt, set as We, fastClone as ue } from "./setIvm-419a94e0.js";
|
|
8
|
+
import { shouldForceBrowserRuntimeInNode as st } from "./should-force-browser-runtime-in-node-67506521.js";
|
|
9
|
+
const ct = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), ut = (e) => typeof e == "string" && ct.has(e.toLowerCase());
|
|
10
10
|
function de(e) {
|
|
11
|
-
return /* @__PURE__ */ s(
|
|
11
|
+
return /* @__PURE__ */ s(P, { children: ut(e.TagName) ? /* @__PURE__ */ s(P, { children: /* @__PURE__ */ s(e.TagName, { ...e.attributes, ...e.actionAttributes }) }) : /* @__PURE__ */ s(P, { children: typeof e.TagName == "string" ? /* @__PURE__ */ s(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) : /* @__PURE__ */ s(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) }) });
|
|
12
12
|
}
|
|
13
13
|
const j = () => {
|
|
14
14
|
switch (O) {
|
|
@@ -24,7 +24,7 @@ const j = () => {
|
|
|
24
24
|
return "class";
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
|
-
function
|
|
27
|
+
function dt(e) {
|
|
28
28
|
function t() {
|
|
29
29
|
return {
|
|
30
30
|
...e.attributes,
|
|
@@ -48,7 +48,7 @@ function ut(e) {
|
|
|
48
48
|
}
|
|
49
49
|
);
|
|
50
50
|
}
|
|
51
|
-
const me =
|
|
51
|
+
const me = Ae({
|
|
52
52
|
content: null,
|
|
53
53
|
context: {},
|
|
54
54
|
localState: void 0,
|
|
@@ -63,10 +63,10 @@ const me = Be({
|
|
|
63
63
|
BlocksWrapperProps: {},
|
|
64
64
|
nonce: "",
|
|
65
65
|
model: ""
|
|
66
|
-
}),
|
|
66
|
+
}), De = Ae({ registeredComponents: {} }), $e = (e, t, n) => {
|
|
67
67
|
const i = String.prototype.split.call(t, /[,[\].]+?/).filter(Boolean).reduce((a, r) => a != null ? a[r] : a, e);
|
|
68
68
|
return i === void 0 || i === e ? n : i;
|
|
69
|
-
},
|
|
69
|
+
}, mt = ({
|
|
70
70
|
code: e,
|
|
71
71
|
builder: t,
|
|
72
72
|
context: n,
|
|
@@ -75,22 +75,22 @@ const me = Be({
|
|
|
75
75
|
rootSetState: r,
|
|
76
76
|
rootState: o
|
|
77
77
|
}) => {
|
|
78
|
-
const l =
|
|
78
|
+
const l = it({
|
|
79
79
|
builder: t,
|
|
80
80
|
context: n,
|
|
81
81
|
event: i,
|
|
82
|
-
state:
|
|
82
|
+
state: at({
|
|
83
83
|
rootState: o,
|
|
84
84
|
localState: a,
|
|
85
85
|
rootSetState: r
|
|
86
86
|
})
|
|
87
87
|
});
|
|
88
88
|
return new Function(...l.map(([d]) => d), e)(...l.map(([, d]) => d));
|
|
89
|
-
},
|
|
89
|
+
}, ft = (e) => U() || st({
|
|
90
90
|
shouldLogWarning: !0
|
|
91
|
-
}) ?
|
|
91
|
+
}) ? mt(e) : ot(e), ht = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, gt = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, bt = (e) => {
|
|
92
92
|
var t, n, i, a, r, o;
|
|
93
|
-
return ((i = (n = (t =
|
|
93
|
+
return ((i = (n = (t = ht.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : i.slice(1)) || ((o = (r = (a = gt.exec(e.trim())) == null ? void 0 : a.groups) == null ? void 0 : r.getPath) == null ? void 0 : o.slice(1));
|
|
94
94
|
};
|
|
95
95
|
function _({
|
|
96
96
|
code: e,
|
|
@@ -103,17 +103,17 @@ function _({
|
|
|
103
103
|
}) {
|
|
104
104
|
if (e.trim() === "")
|
|
105
105
|
return;
|
|
106
|
-
const l =
|
|
106
|
+
const l = bt(e.trim());
|
|
107
107
|
if (l)
|
|
108
|
-
return
|
|
108
|
+
return $e({
|
|
109
109
|
...i,
|
|
110
110
|
...n
|
|
111
111
|
}, l);
|
|
112
112
|
const d = {
|
|
113
|
-
code:
|
|
113
|
+
code: rt(e, {
|
|
114
114
|
isExpression: o
|
|
115
115
|
}),
|
|
116
|
-
builder:
|
|
116
|
+
builder: lt(),
|
|
117
117
|
context: t,
|
|
118
118
|
event: r,
|
|
119
119
|
rootSetState: a,
|
|
@@ -121,23 +121,23 @@ function _({
|
|
|
121
121
|
localState: n
|
|
122
122
|
};
|
|
123
123
|
try {
|
|
124
|
-
return
|
|
125
|
-
} catch (
|
|
126
|
-
z.error("Failed code evaluation: " +
|
|
124
|
+
return ft(d);
|
|
125
|
+
} catch (c) {
|
|
126
|
+
z.error("Failed code evaluation: " + c.message, {
|
|
127
127
|
code: e
|
|
128
128
|
});
|
|
129
129
|
return;
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
|
-
function
|
|
132
|
+
function pt(e, t) {
|
|
133
133
|
var n;
|
|
134
134
|
return {
|
|
135
135
|
...(n = e.component) == null ? void 0 : n.options,
|
|
136
136
|
...e.options,
|
|
137
|
-
...
|
|
137
|
+
...yt(e, t)
|
|
138
138
|
};
|
|
139
139
|
}
|
|
140
|
-
const
|
|
140
|
+
const yt = (e, t) => {
|
|
141
141
|
var n, i;
|
|
142
142
|
if (((n = e.component) == null ? void 0 : n.name) === "Text" && ((i = e.component.options) != null && i.text) && typeof e.component.options.text == "string")
|
|
143
143
|
return {
|
|
@@ -151,7 +151,7 @@ const pt = (e, t) => {
|
|
|
151
151
|
}))
|
|
152
152
|
};
|
|
153
153
|
};
|
|
154
|
-
function
|
|
154
|
+
function vt(e, ...t) {
|
|
155
155
|
const n = Object.assign({}, e);
|
|
156
156
|
for (const i of t)
|
|
157
157
|
delete n[i];
|
|
@@ -174,29 +174,29 @@ function Q(e, t, n = null, i = null, a = /* @__PURE__ */ new WeakSet()) {
|
|
|
174
174
|
}), Q(o, t, e, r, a);
|
|
175
175
|
}));
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function Fe(e) {
|
|
178
178
|
return e && typeof e == "object" && e["@type"] === "@builder.io/core:LocalizedValue";
|
|
179
179
|
}
|
|
180
|
-
function
|
|
180
|
+
function xt(e) {
|
|
181
181
|
if (!e || !Object.getOwnPropertyNames(e).length)
|
|
182
182
|
return !1;
|
|
183
183
|
let t = !1;
|
|
184
184
|
return Q(e, (n) => {
|
|
185
|
-
if (
|
|
185
|
+
if (Fe(n)) {
|
|
186
186
|
t = !0;
|
|
187
187
|
return;
|
|
188
188
|
}
|
|
189
189
|
}), t;
|
|
190
190
|
}
|
|
191
|
-
function
|
|
191
|
+
function St(e, t) {
|
|
192
192
|
return !e || !Object.getOwnPropertyNames(e).length ? {} : (Q(e, (n, i) => {
|
|
193
193
|
var a;
|
|
194
|
-
|
|
194
|
+
Fe(n) && i((a = n[t]) != null ? a : void 0);
|
|
195
195
|
}), e);
|
|
196
196
|
}
|
|
197
|
-
function
|
|
197
|
+
function kt(e, t) {
|
|
198
198
|
var n, i;
|
|
199
|
-
return (n = e.component) != null && n.options &&
|
|
199
|
+
return (n = e.component) != null && n.options && xt((i = e.component) == null ? void 0 : i.options) && (t || console.warn("[Builder.io] In order to use localized fields in Builder, you must pass a locale prop to the BuilderComponent or to options object while fetching the content to resolve localized fields. Learn more: https://www.builder.io/c/docs/localization-inline#targeting-and-inline-localization"), e.component.options = St(e.component.options, t != null ? t : "Default")), e;
|
|
200
200
|
}
|
|
201
201
|
function ce(e) {
|
|
202
202
|
if (e === null || typeof e != "object")
|
|
@@ -210,8 +210,8 @@ function ce(e) {
|
|
|
210
210
|
n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = ce(e[n]));
|
|
211
211
|
return t;
|
|
212
212
|
}
|
|
213
|
-
const
|
|
214
|
-
if (
|
|
213
|
+
const Ct = ["svelte", "vue", "angular", "qwik", "solid"].includes(O), Tt = (e) => {
|
|
214
|
+
if (Ct) {
|
|
215
215
|
const t = ue(e);
|
|
216
216
|
return {
|
|
217
217
|
...t,
|
|
@@ -223,7 +223,7 @@ const kt = ["svelte", "vue", "angular", "qwik", "solid"].includes(O), Ct = (e) =
|
|
|
223
223
|
}
|
|
224
224
|
};
|
|
225
225
|
} else {
|
|
226
|
-
const t = ce(
|
|
226
|
+
const t = ce(vt(e, "children", "meta"));
|
|
227
227
|
return {
|
|
228
228
|
...t,
|
|
229
229
|
properties: {
|
|
@@ -236,7 +236,7 @@ const kt = ["svelte", "vue", "angular", "qwik", "solid"].includes(O), Ct = (e) =
|
|
|
236
236
|
meta: e.meta
|
|
237
237
|
};
|
|
238
238
|
}
|
|
239
|
-
},
|
|
239
|
+
}, wt = ({
|
|
240
240
|
block: e,
|
|
241
241
|
context: t,
|
|
242
242
|
localState: n,
|
|
@@ -245,7 +245,7 @@ const kt = ["svelte", "vue", "angular", "qwik", "solid"].includes(O), Ct = (e) =
|
|
|
245
245
|
}) => {
|
|
246
246
|
if (!e.bindings)
|
|
247
247
|
return e;
|
|
248
|
-
const r =
|
|
248
|
+
const r = Tt(e);
|
|
249
249
|
for (const o in e.bindings) {
|
|
250
250
|
const l = e.bindings[o], d = _({
|
|
251
251
|
code: l,
|
|
@@ -254,19 +254,19 @@ const kt = ["svelte", "vue", "angular", "qwik", "solid"].includes(O), Ct = (e) =
|
|
|
254
254
|
rootSetState: a,
|
|
255
255
|
context: t
|
|
256
256
|
});
|
|
257
|
-
|
|
257
|
+
We(r, o, d);
|
|
258
258
|
}
|
|
259
259
|
return r;
|
|
260
260
|
};
|
|
261
|
-
function
|
|
261
|
+
function It({
|
|
262
262
|
block: e,
|
|
263
263
|
context: t,
|
|
264
264
|
localState: n,
|
|
265
265
|
rootState: i,
|
|
266
266
|
rootSetState: a
|
|
267
267
|
}) {
|
|
268
|
-
let r =
|
|
269
|
-
return r = r,
|
|
268
|
+
let r = kt(e, i.locale);
|
|
269
|
+
return r = r, wt({
|
|
270
270
|
block: r,
|
|
271
271
|
localState: n,
|
|
272
272
|
rootState: i,
|
|
@@ -275,16 +275,16 @@ function wt({
|
|
|
275
275
|
});
|
|
276
276
|
}
|
|
277
277
|
const Z = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
|
|
278
|
-
function
|
|
278
|
+
function Et(e, t, n = {}) {
|
|
279
279
|
let i, a, r, o = null, l = 0;
|
|
280
280
|
const d = function() {
|
|
281
281
|
l = n.leading === !1 ? 0 : Date.now(), o = null, r = e.apply(i, a), o || (i = a = null);
|
|
282
282
|
};
|
|
283
283
|
return function() {
|
|
284
|
-
const
|
|
285
|
-
!l && n.leading === !1 && (l =
|
|
286
|
-
const h = t - (
|
|
287
|
-
return i = this, a = arguments, h <= 0 || h > t ? (o && (clearTimeout(o), o = null), l =
|
|
284
|
+
const c = Date.now();
|
|
285
|
+
!l && n.leading === !1 && (l = c);
|
|
286
|
+
const h = t - (c - l);
|
|
287
|
+
return i = this, a = arguments, h <= 0 || h > t ? (o && (clearTimeout(o), o = null), l = c, r = e.apply(i, a), o || (i = a = null)) : !o && n.trailing !== !1 && (o = setTimeout(d, h)), r;
|
|
288
288
|
};
|
|
289
289
|
}
|
|
290
290
|
function H(e, ...t) {
|
|
@@ -297,41 +297,41 @@ function H(e, ...t) {
|
|
|
297
297
|
}
|
|
298
298
|
return n;
|
|
299
299
|
}
|
|
300
|
-
function
|
|
300
|
+
function Rt(e) {
|
|
301
301
|
for (const t of e)
|
|
302
302
|
switch (t.trigger) {
|
|
303
303
|
case "pageLoad":
|
|
304
|
-
|
|
304
|
+
Ue(t);
|
|
305
305
|
break;
|
|
306
306
|
case "scrollInView":
|
|
307
307
|
Vt(t);
|
|
308
308
|
break;
|
|
309
309
|
}
|
|
310
310
|
}
|
|
311
|
-
function
|
|
311
|
+
function Le(e) {
|
|
312
312
|
console.warn(`Cannot animate element: element with ID ${e} not found!`);
|
|
313
313
|
}
|
|
314
|
-
function
|
|
315
|
-
const n =
|
|
314
|
+
function Oe(e, t) {
|
|
315
|
+
const n = Pt(e), i = getComputedStyle(t), a = e.steps[0].styles, r = e.steps[e.steps.length - 1].styles, o = [a, r];
|
|
316
316
|
for (const l of o)
|
|
317
317
|
for (const d of n)
|
|
318
318
|
d in l || (l[d] = i[d]);
|
|
319
319
|
}
|
|
320
|
-
function
|
|
320
|
+
function Pt(e) {
|
|
321
321
|
const t = [];
|
|
322
322
|
for (const n of e.steps)
|
|
323
323
|
for (const i in n.styles)
|
|
324
324
|
t.indexOf(i) === -1 && t.push(i);
|
|
325
325
|
return t;
|
|
326
326
|
}
|
|
327
|
-
function
|
|
327
|
+
function Ue(e) {
|
|
328
328
|
const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
|
|
329
329
|
if (!t.length) {
|
|
330
|
-
|
|
330
|
+
Le(e.elementId || e.id || "");
|
|
331
331
|
return;
|
|
332
332
|
}
|
|
333
333
|
Array.from(t).forEach((n) => {
|
|
334
|
-
|
|
334
|
+
Oe(e, n), n.style.transition = "none", n.style.transitionDelay = "0", H(n.style, e.steps[0].styles), setTimeout(() => {
|
|
335
335
|
n.style.transition = `all ${e.duration}s ${Z(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), H(n.style, e.steps[1].styles), setTimeout(() => {
|
|
336
336
|
n.style.transition = "", n.style.transitionDelay = "";
|
|
337
337
|
}, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
|
|
@@ -341,11 +341,11 @@ function Oe(e) {
|
|
|
341
341
|
function Vt(e) {
|
|
342
342
|
const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
|
|
343
343
|
if (!t.length) {
|
|
344
|
-
|
|
344
|
+
Le(e.elementId || e.id || "");
|
|
345
345
|
return;
|
|
346
346
|
}
|
|
347
347
|
Array.from(t).forEach((n) => {
|
|
348
|
-
|
|
348
|
+
Oe(e, n);
|
|
349
349
|
let i = !1, a = !1;
|
|
350
350
|
function r() {
|
|
351
351
|
!i && l(n) ? (i = !0, a = !0, setTimeout(() => {
|
|
@@ -354,18 +354,18 @@ function Vt(e) {
|
|
|
354
354
|
}, (e.duration + (e.delay || 0)) * 1e3 + 100);
|
|
355
355
|
})) : e.repeat && i && !a && !l(n) && (i = !1, H(n.style, e.steps[0].styles));
|
|
356
356
|
}
|
|
357
|
-
const o =
|
|
357
|
+
const o = Et(r, 200, {
|
|
358
358
|
leading: !1
|
|
359
359
|
});
|
|
360
360
|
function l(h) {
|
|
361
|
-
const
|
|
362
|
-
return
|
|
361
|
+
const b = h.getBoundingClientRect(), m = window.innerHeight, u = (e.thresholdPercent || 0) / 100 * m;
|
|
362
|
+
return b.bottom > u && b.top < m - u;
|
|
363
363
|
}
|
|
364
364
|
const d = e.steps[0].styles;
|
|
365
|
-
function
|
|
365
|
+
function c() {
|
|
366
366
|
H(n.style, d);
|
|
367
367
|
}
|
|
368
|
-
|
|
368
|
+
c(), setTimeout(() => {
|
|
369
369
|
n.style.transition = `all ${e.duration}s ${Z(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
|
|
370
370
|
}), document.addEventListener("scroll", o, {
|
|
371
371
|
capture: !0,
|
|
@@ -373,42 +373,42 @@ function Vt(e) {
|
|
|
373
373
|
}), r();
|
|
374
374
|
});
|
|
375
375
|
}
|
|
376
|
-
const
|
|
376
|
+
const _e = (e) => Object.entries(e).map(([n, i]) => {
|
|
377
377
|
if (typeof i == "string")
|
|
378
378
|
return `${Z(n)}: ${i};`;
|
|
379
|
-
}).filter(se),
|
|
379
|
+
}).filter(se), Bt = (e) => _e(e).join(`
|
|
380
380
|
`), q = ({
|
|
381
381
|
mediaQuery: e,
|
|
382
382
|
className: t,
|
|
383
383
|
styles: n
|
|
384
384
|
}) => {
|
|
385
385
|
const i = `.${t} {
|
|
386
|
-
${
|
|
386
|
+
${Bt(n)}
|
|
387
387
|
}`;
|
|
388
388
|
return e ? `${e} {
|
|
389
389
|
${i}
|
|
390
390
|
}` : i;
|
|
391
391
|
};
|
|
392
|
-
function
|
|
392
|
+
function At({
|
|
393
393
|
style: e
|
|
394
394
|
}) {
|
|
395
395
|
return e;
|
|
396
396
|
}
|
|
397
|
-
const
|
|
397
|
+
const Nt = ({
|
|
398
398
|
block: e,
|
|
399
399
|
context: t
|
|
400
|
-
}) =>
|
|
400
|
+
}) => qe(At({
|
|
401
401
|
style: e.style || {},
|
|
402
402
|
context: t,
|
|
403
403
|
block: e
|
|
404
404
|
}));
|
|
405
|
-
function
|
|
405
|
+
function qe(e) {
|
|
406
406
|
switch (O) {
|
|
407
407
|
case "svelte":
|
|
408
408
|
case "vue":
|
|
409
409
|
case "solid":
|
|
410
410
|
case "angular":
|
|
411
|
-
return
|
|
411
|
+
return _e(e).join(" ");
|
|
412
412
|
case "qwik":
|
|
413
413
|
case "reactNative":
|
|
414
414
|
case "react":
|
|
@@ -416,7 +416,7 @@ function _e(e) {
|
|
|
416
416
|
return e;
|
|
417
417
|
}
|
|
418
418
|
}
|
|
419
|
-
const
|
|
419
|
+
const He = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includes(t) : !1 : !0, Wt = ({
|
|
420
420
|
block: e,
|
|
421
421
|
registeredComponents: t,
|
|
422
422
|
model: n
|
|
@@ -426,14 +426,14 @@ const qe = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
426
426
|
if (!i)
|
|
427
427
|
return null;
|
|
428
428
|
const a = t[i];
|
|
429
|
-
if (!a ||
|
|
429
|
+
if (!a || He(a, n)) {
|
|
430
430
|
console.warn(`
|
|
431
431
|
Could not find a registered component named "${i}".
|
|
432
432
|
If you registered it, is the file that registered it imported by the file that needs to render it?`);
|
|
433
433
|
return;
|
|
434
434
|
} else
|
|
435
435
|
return a;
|
|
436
|
-
},
|
|
436
|
+
}, Dt = ({
|
|
437
437
|
block: e,
|
|
438
438
|
context: t
|
|
439
439
|
}) => {
|
|
@@ -453,40 +453,40 @@ const qe = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
453
453
|
if (!Array.isArray(a))
|
|
454
454
|
return;
|
|
455
455
|
const r = n.collection.split(".").pop(), o = n.itemName || (r ? r + "Item" : "item");
|
|
456
|
-
return a.map((d,
|
|
456
|
+
return a.map((d, c) => ({
|
|
457
457
|
context: {
|
|
458
458
|
...t,
|
|
459
459
|
localState: {
|
|
460
460
|
...t.localState,
|
|
461
|
-
$index:
|
|
461
|
+
$index: c,
|
|
462
462
|
$item: d,
|
|
463
463
|
[o]: d,
|
|
464
|
-
[`$${o}Index`]:
|
|
464
|
+
[`$${o}Index`]: c
|
|
465
465
|
}
|
|
466
466
|
},
|
|
467
467
|
block: i
|
|
468
468
|
}));
|
|
469
|
-
},
|
|
469
|
+
}, $t = (e, t) => {
|
|
470
470
|
var n;
|
|
471
471
|
return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderLinkComponent ? {
|
|
472
472
|
builderLinkComponent: t
|
|
473
473
|
} : {};
|
|
474
|
-
},
|
|
474
|
+
}, Ft = (e, t, n) => {
|
|
475
475
|
var i;
|
|
476
476
|
return (i = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && i.builderComponents ? {
|
|
477
|
-
builderComponents: Object.fromEntries(Object.entries(t).filter(([r, o]) => !
|
|
477
|
+
builderComponents: Object.fromEntries(Object.entries(t).filter(([r, o]) => !He(o, n)))
|
|
478
478
|
} : {};
|
|
479
|
-
},
|
|
479
|
+
}, Lt = (e, t) => {
|
|
480
480
|
var n;
|
|
481
481
|
return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderBlock ? {
|
|
482
482
|
builderBlock: t
|
|
483
483
|
} : {};
|
|
484
|
-
},
|
|
484
|
+
}, Ot = (e, t) => {
|
|
485
485
|
var n;
|
|
486
486
|
return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderContext ? {
|
|
487
487
|
builderContext: t
|
|
488
488
|
} : {};
|
|
489
|
-
},
|
|
489
|
+
}, xe = (e) => e.toString(), Me = {
|
|
490
490
|
xsmall: {
|
|
491
491
|
min: 0,
|
|
492
492
|
default: 160,
|
|
@@ -507,8 +507,8 @@ const qe = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
507
507
|
default: 991,
|
|
508
508
|
max: 1200
|
|
509
509
|
}
|
|
510
|
-
}, ne = (e, t =
|
|
511
|
-
const t = ue(
|
|
510
|
+
}, ne = (e, t = Me) => `@media (max-width: ${t[e].max}px)`, je = (e) => {
|
|
511
|
+
const t = ue(Me);
|
|
512
512
|
if (!e)
|
|
513
513
|
return t;
|
|
514
514
|
const {
|
|
@@ -556,38 +556,38 @@ function K(e) {
|
|
|
556
556
|
}
|
|
557
557
|
);
|
|
558
558
|
}
|
|
559
|
-
function
|
|
559
|
+
function Ut(e) {
|
|
560
560
|
function t() {
|
|
561
561
|
const i = e.block;
|
|
562
562
|
return se(i.hide) ? !i.hide : se(i.show) ? i.show : !0;
|
|
563
563
|
}
|
|
564
564
|
function n() {
|
|
565
|
-
var C, V, w,
|
|
566
|
-
const i = e.block, a = i.responsiveStyles, r = e.context.content, o =
|
|
565
|
+
var C, V, w, S, f;
|
|
566
|
+
const i = e.block, a = i.responsiveStyles, r = e.context.content, o = je(
|
|
567
567
|
((C = r == null ? void 0 : r.meta) == null ? void 0 : C.breakpoints) || {}
|
|
568
|
-
), l = !!((w = (V = r == null ? void 0 : r.meta) == null ? void 0 : V.breakpoints) != null && w.xsmall), d = a == null ? void 0 : a.large,
|
|
569
|
-
if (!
|
|
568
|
+
), l = !!((w = (V = r == null ? void 0 : r.meta) == null ? void 0 : V.breakpoints) != null && w.xsmall), d = a == null ? void 0 : a.large, c = a == null ? void 0 : a.medium, h = a == null ? void 0 : a.small, b = a == null ? void 0 : a.xsmall, m = i.id;
|
|
569
|
+
if (!m)
|
|
570
570
|
return "";
|
|
571
|
-
const
|
|
572
|
-
className:
|
|
571
|
+
const x = d ? q({
|
|
572
|
+
className: m,
|
|
573
573
|
styles: d
|
|
574
|
-
}) : "",
|
|
575
|
-
className:
|
|
576
|
-
styles:
|
|
574
|
+
}) : "", u = c ? q({
|
|
575
|
+
className: m,
|
|
576
|
+
styles: c,
|
|
577
577
|
mediaQuery: ne(
|
|
578
578
|
"medium",
|
|
579
579
|
o
|
|
580
580
|
)
|
|
581
|
-
}) : "",
|
|
582
|
-
className:
|
|
581
|
+
}) : "", g = h ? q({
|
|
582
|
+
className: m,
|
|
583
583
|
styles: h,
|
|
584
584
|
mediaQuery: ne(
|
|
585
585
|
"small",
|
|
586
586
|
o
|
|
587
587
|
)
|
|
588
|
-
}) : "",
|
|
589
|
-
className:
|
|
590
|
-
styles:
|
|
588
|
+
}) : "", v = b && l ? q({
|
|
589
|
+
className: m,
|
|
590
|
+
styles: b,
|
|
591
591
|
mediaQuery: ne(
|
|
592
592
|
"xsmall",
|
|
593
593
|
o
|
|
@@ -595,9 +595,9 @@ function Ot(e) {
|
|
|
595
595
|
}) : "", p = i.animations && i.animations.find((y) => y.trigger === "hover");
|
|
596
596
|
let k = "";
|
|
597
597
|
if (p) {
|
|
598
|
-
const y = ((
|
|
598
|
+
const y = ((f = (S = p.steps) == null ? void 0 : S[1]) == null ? void 0 : f.styles) || {};
|
|
599
599
|
k = q({
|
|
600
|
-
className: `${
|
|
600
|
+
className: `${m}:hover`,
|
|
601
601
|
styles: {
|
|
602
602
|
...y,
|
|
603
603
|
transition: `all ${p.duration}s ${Z(
|
|
@@ -608,14 +608,14 @@ function Ot(e) {
|
|
|
608
608
|
}) || "";
|
|
609
609
|
}
|
|
610
610
|
return [
|
|
611
|
+
x,
|
|
612
|
+
u,
|
|
613
|
+
g,
|
|
611
614
|
v,
|
|
612
|
-
f,
|
|
613
|
-
b,
|
|
614
|
-
S,
|
|
615
615
|
k
|
|
616
616
|
].join(" ");
|
|
617
617
|
}
|
|
618
|
-
return /* @__PURE__ */ s(
|
|
618
|
+
return /* @__PURE__ */ s(P, { children: n() && t() ? /* @__PURE__ */ s(P, { children: /* @__PURE__ */ s(
|
|
619
619
|
K,
|
|
620
620
|
{
|
|
621
621
|
id: "builderio-block",
|
|
@@ -624,10 +624,10 @@ function Ot(e) {
|
|
|
624
624
|
}
|
|
625
625
|
) }) : null });
|
|
626
626
|
}
|
|
627
|
-
function
|
|
627
|
+
function _t(e) {
|
|
628
628
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
629
629
|
}
|
|
630
|
-
const
|
|
630
|
+
const qt = (e) => `on${_t(e)}`, Ht = (e, t) => (n) => _({
|
|
631
631
|
code: e,
|
|
632
632
|
context: t.context,
|
|
633
633
|
localState: t.localState,
|
|
@@ -636,14 +636,14 @@ const _t = (e) => `on${Ut(e)}`, qt = (e, t) => (n) => _({
|
|
|
636
636
|
event: n,
|
|
637
637
|
isExpression: !1
|
|
638
638
|
});
|
|
639
|
-
function
|
|
639
|
+
function ze(e) {
|
|
640
640
|
var i;
|
|
641
641
|
const t = {}, n = (i = e.block.actions) != null ? i : {};
|
|
642
642
|
for (const a in n) {
|
|
643
643
|
if (!n.hasOwnProperty(a))
|
|
644
644
|
continue;
|
|
645
645
|
const r = n[a];
|
|
646
|
-
let o =
|
|
646
|
+
let o = qt(a);
|
|
647
647
|
if (e.stripPrefix)
|
|
648
648
|
switch (O) {
|
|
649
649
|
case "vue":
|
|
@@ -653,16 +653,16 @@ function je(e) {
|
|
|
653
653
|
o = o.replace("on:", "");
|
|
654
654
|
break;
|
|
655
655
|
}
|
|
656
|
-
t[o] =
|
|
656
|
+
t[o] = Ht(r, e);
|
|
657
657
|
}
|
|
658
658
|
return t;
|
|
659
659
|
}
|
|
660
|
-
function
|
|
660
|
+
function Mt({
|
|
661
661
|
properties: e
|
|
662
662
|
}) {
|
|
663
663
|
return e;
|
|
664
664
|
}
|
|
665
|
-
const
|
|
665
|
+
const jt = (e) => ({
|
|
666
666
|
href: e.href
|
|
667
667
|
});
|
|
668
668
|
function fe({
|
|
@@ -671,22 +671,22 @@ function fe({
|
|
|
671
671
|
}) {
|
|
672
672
|
var i;
|
|
673
673
|
const n = {
|
|
674
|
-
...
|
|
674
|
+
...jt(e),
|
|
675
675
|
...e.properties,
|
|
676
676
|
"builder-id": e.id,
|
|
677
|
-
style:
|
|
677
|
+
style: Nt({
|
|
678
678
|
block: e,
|
|
679
679
|
context: t
|
|
680
680
|
}),
|
|
681
681
|
[j()]: [e.id, "builder-block", e.class, (i = e.properties) == null ? void 0 : i.class].filter(Boolean).join(" ")
|
|
682
682
|
};
|
|
683
|
-
return
|
|
683
|
+
return Mt({
|
|
684
684
|
properties: n,
|
|
685
685
|
context: t,
|
|
686
686
|
block: e
|
|
687
687
|
});
|
|
688
688
|
}
|
|
689
|
-
function
|
|
689
|
+
function zt(e) {
|
|
690
690
|
return /* @__PURE__ */ s(
|
|
691
691
|
de,
|
|
692
692
|
{
|
|
@@ -695,7 +695,7 @@ function jt(e) {
|
|
|
695
695
|
block: e.block,
|
|
696
696
|
context: e.context
|
|
697
697
|
}),
|
|
698
|
-
actionAttributes:
|
|
698
|
+
actionAttributes: ze({
|
|
699
699
|
block: e.block,
|
|
700
700
|
rootState: e.context.rootState,
|
|
701
701
|
rootSetState: e.context.rootSetState,
|
|
@@ -707,18 +707,20 @@ function jt(e) {
|
|
|
707
707
|
}
|
|
708
708
|
);
|
|
709
709
|
}
|
|
710
|
-
function zt(e) {
|
|
711
|
-
return P(() => {
|
|
712
|
-
}, []), /* @__PURE__ */ s(R, { children: e.children });
|
|
713
|
-
}
|
|
714
710
|
function Kt(e) {
|
|
711
|
+
return R(() => {
|
|
712
|
+
}, []), /* @__PURE__ */ s(P, { children: e.children });
|
|
713
|
+
}
|
|
714
|
+
function Jt(e) {
|
|
715
|
+
var i, a;
|
|
716
|
+
I(() => 0);
|
|
715
717
|
function t() {
|
|
716
718
|
return e.includeBlockProps ? {
|
|
717
719
|
...fe({
|
|
718
720
|
block: e.block,
|
|
719
721
|
context: e.context
|
|
720
722
|
}),
|
|
721
|
-
...
|
|
723
|
+
...ze({
|
|
722
724
|
block: e.block,
|
|
723
725
|
rootState: e.context.rootState,
|
|
724
726
|
rootSetState: e.context.rootSetState,
|
|
@@ -727,8 +729,12 @@ function Kt(e) {
|
|
|
727
729
|
})
|
|
728
730
|
} : {};
|
|
729
731
|
}
|
|
730
|
-
|
|
731
|
-
|
|
732
|
+
function n() {
|
|
733
|
+
return e.wrapperProps;
|
|
734
|
+
}
|
|
735
|
+
return R(() => {
|
|
736
|
+
}, [e.wrapperProps, (a = (i = e.block) == null ? void 0 : i.component) == null ? void 0 : a.options]), /* @__PURE__ */ s(P, { children: e.Wrapper.load ? /* @__PURE__ */ s(P, { children: /* @__PURE__ */ s(
|
|
737
|
+
Kt,
|
|
732
738
|
{
|
|
733
739
|
load: e.Wrapper.load,
|
|
734
740
|
fallback: e.Wrapper.fallback,
|
|
@@ -736,9 +742,9 @@ function Kt(e) {
|
|
|
736
742
|
attributes: t(),
|
|
737
743
|
children: e.children
|
|
738
744
|
}
|
|
739
|
-
) }) : /* @__PURE__ */ s(e.Wrapper, { ...
|
|
745
|
+
) }) : /* @__PURE__ */ s(e.Wrapper, { ...n(), attributes: t(), children: e.children }) });
|
|
740
746
|
}
|
|
741
|
-
const
|
|
747
|
+
const Gt = ({
|
|
742
748
|
componentOptions: e,
|
|
743
749
|
builderBlock: t,
|
|
744
750
|
context: n,
|
|
@@ -768,17 +774,17 @@ const Jt = ({
|
|
|
768
774
|
includeBlockProps: a
|
|
769
775
|
} : l;
|
|
770
776
|
};
|
|
771
|
-
function
|
|
777
|
+
function Se(e) {
|
|
772
778
|
var i;
|
|
773
779
|
I(() => !1);
|
|
774
780
|
const [t, n] = I(
|
|
775
|
-
() => e.isInteractive ?
|
|
781
|
+
() => e.isInteractive ? Jt : e.componentRef
|
|
776
782
|
);
|
|
777
|
-
return
|
|
778
|
-
}, [e.componentOptions, e.blockChildren]), /* @__PURE__ */ s(
|
|
783
|
+
return R(() => {
|
|
784
|
+
}, [e.componentOptions, e.blockChildren]), /* @__PURE__ */ s(P, { children: e.componentRef ? /* @__PURE__ */ s(P, { children: /* @__PURE__ */ s(
|
|
779
785
|
t,
|
|
780
786
|
{
|
|
781
|
-
...
|
|
787
|
+
...Gt({
|
|
782
788
|
componentOptions: e.componentOptions,
|
|
783
789
|
builderBlock: e.builderBlock,
|
|
784
790
|
context: e.context,
|
|
@@ -801,9 +807,11 @@ function xe(e) {
|
|
|
801
807
|
}
|
|
802
808
|
) }) : null });
|
|
803
809
|
}
|
|
804
|
-
function
|
|
810
|
+
function ke(e) {
|
|
805
811
|
const [t, n] = I(() => e.repeatContext);
|
|
806
|
-
return
|
|
812
|
+
return R(() => {
|
|
813
|
+
n(e.repeatContext);
|
|
814
|
+
}, [e.repeatContext]), /* @__PURE__ */ s(me.Provider, { value: t, children: /* @__PURE__ */ s(
|
|
807
815
|
ee,
|
|
808
816
|
{
|
|
809
817
|
block: e.block,
|
|
@@ -814,9 +822,9 @@ function Se(e) {
|
|
|
814
822
|
) });
|
|
815
823
|
}
|
|
816
824
|
function ee(e) {
|
|
817
|
-
var h,
|
|
825
|
+
var h, b, m, x;
|
|
818
826
|
function t() {
|
|
819
|
-
return
|
|
827
|
+
return Dt({
|
|
820
828
|
block: e.block,
|
|
821
829
|
context: e.context
|
|
822
830
|
});
|
|
@@ -826,51 +834,51 @@ function ee(e) {
|
|
|
826
834
|
update: !1
|
|
827
835
|
}));
|
|
828
836
|
function a() {
|
|
829
|
-
var
|
|
837
|
+
var g;
|
|
830
838
|
if (n.value && !n.update && !X())
|
|
831
839
|
return n.value;
|
|
832
|
-
const
|
|
840
|
+
const u = (g = e.block.repeat) != null && g.collection ? e.block : It({
|
|
833
841
|
block: e.block,
|
|
834
842
|
localState: e.context.localState,
|
|
835
843
|
rootState: e.context.rootState,
|
|
836
844
|
rootSetState: e.context.rootSetState,
|
|
837
845
|
context: e.context.context
|
|
838
846
|
});
|
|
839
|
-
return n.value =
|
|
847
|
+
return n.value = u, n.update = !1, u;
|
|
840
848
|
}
|
|
841
849
|
function r() {
|
|
842
|
-
return
|
|
850
|
+
return Wt({
|
|
843
851
|
block: a(),
|
|
844
852
|
registeredComponents: e.registeredComponents,
|
|
845
853
|
model: e.context.model
|
|
846
854
|
});
|
|
847
855
|
}
|
|
848
856
|
function o() {
|
|
849
|
-
var
|
|
850
|
-
return e.block.tagName === "a" || ((
|
|
857
|
+
var g;
|
|
858
|
+
return e.block.tagName === "a" || ((g = a().properties) == null ? void 0 : g.href) || a().href ? e.linkComponent || "a" : e.block.tagName || "div";
|
|
851
859
|
}
|
|
852
860
|
function l() {
|
|
853
|
-
var
|
|
854
|
-
if ((
|
|
861
|
+
var v, p;
|
|
862
|
+
if ((v = e.block.repeat) != null && v.collection)
|
|
855
863
|
return !!((p = t == null ? void 0 : t()) != null && p.length);
|
|
856
|
-
const
|
|
857
|
-
return ("show" in a() ? a().show : !0) && !
|
|
864
|
+
const u = "hide" in a() ? a().hide : !1;
|
|
865
|
+
return ("show" in a() ? a().show : !0) && !u;
|
|
858
866
|
}
|
|
859
867
|
function d() {
|
|
860
|
-
var
|
|
861
|
-
return !((
|
|
868
|
+
var g, v;
|
|
869
|
+
return !((g = r == null ? void 0 : r()) != null && g.component) && !t() ? (v = a().children) != null ? v : [] : [];
|
|
862
870
|
}
|
|
863
|
-
function
|
|
864
|
-
var
|
|
871
|
+
function c() {
|
|
872
|
+
var u, g, v, p;
|
|
865
873
|
return {
|
|
866
|
-
blockChildren: (
|
|
867
|
-
componentRef: (
|
|
874
|
+
blockChildren: (u = a().children) != null ? u : [],
|
|
875
|
+
componentRef: (g = r == null ? void 0 : r()) == null ? void 0 : g.component,
|
|
868
876
|
componentOptions: {
|
|
869
|
-
...
|
|
870
|
-
...
|
|
871
|
-
...
|
|
872
|
-
|
|
873
|
-
|
|
877
|
+
...pt(a(), e.context),
|
|
878
|
+
...Lt(r(), a()),
|
|
879
|
+
...Ot(r(), e.context),
|
|
880
|
+
...$t(r(), e.linkComponent),
|
|
881
|
+
...Ft(
|
|
874
882
|
r(),
|
|
875
883
|
e.registeredComponents,
|
|
876
884
|
e.context.model
|
|
@@ -880,90 +888,90 @@ function ee(e) {
|
|
|
880
888
|
linkComponent: e.linkComponent,
|
|
881
889
|
registeredComponents: e.registeredComponents,
|
|
882
890
|
builderBlock: a(),
|
|
883
|
-
includeBlockProps: ((
|
|
891
|
+
includeBlockProps: ((v = r == null ? void 0 : r()) == null ? void 0 : v.noWrap) === !0,
|
|
884
892
|
isInteractive: !((p = r == null ? void 0 : r()) != null && p.isRSC && O === "rsc")
|
|
885
893
|
};
|
|
886
894
|
}
|
|
887
|
-
return
|
|
888
|
-
const
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
...
|
|
892
|
-
elementId:
|
|
895
|
+
return R(() => {
|
|
896
|
+
const u = a().id, g = a().animations;
|
|
897
|
+
g && u && Rt(
|
|
898
|
+
g.map((v) => ({
|
|
899
|
+
...v,
|
|
900
|
+
elementId: u
|
|
893
901
|
}))
|
|
894
902
|
);
|
|
895
|
-
}, []),
|
|
903
|
+
}, []), R(() => {
|
|
896
904
|
n.update = !0;
|
|
897
|
-
}), /* @__PURE__ */ s(
|
|
898
|
-
/* @__PURE__ */ s(
|
|
899
|
-
(h = r == null ? void 0 : r()) != null && h.noWrap ? t() ? /* @__PURE__ */ s(
|
|
900
|
-
|
|
905
|
+
}), /* @__PURE__ */ s(P, { children: l() ? /* @__PURE__ */ B(P, { children: [
|
|
906
|
+
/* @__PURE__ */ s(Ut, { block: a(), context: e.context }),
|
|
907
|
+
(h = r == null ? void 0 : r()) != null && h.noWrap ? t() ? /* @__PURE__ */ s(P, { children: (x = t()) == null ? void 0 : x.map((u, g) => /* @__PURE__ */ s(
|
|
908
|
+
ke,
|
|
901
909
|
{
|
|
902
|
-
repeatContext:
|
|
903
|
-
block:
|
|
910
|
+
repeatContext: u.context,
|
|
911
|
+
block: u.block,
|
|
904
912
|
registeredComponents: e.registeredComponents,
|
|
905
913
|
linkComponent: e.linkComponent
|
|
906
914
|
},
|
|
907
|
-
|
|
915
|
+
xe(g)
|
|
908
916
|
)) }) : /* @__PURE__ */ s(
|
|
909
|
-
|
|
917
|
+
Se,
|
|
910
918
|
{
|
|
911
|
-
componentRef:
|
|
912
|
-
componentOptions:
|
|
913
|
-
blockChildren:
|
|
914
|
-
context:
|
|
915
|
-
registeredComponents:
|
|
916
|
-
linkComponent:
|
|
917
|
-
builderBlock:
|
|
918
|
-
includeBlockProps:
|
|
919
|
-
isInteractive:
|
|
919
|
+
componentRef: c().componentRef,
|
|
920
|
+
componentOptions: c().componentOptions,
|
|
921
|
+
blockChildren: c().blockChildren,
|
|
922
|
+
context: c().context,
|
|
923
|
+
registeredComponents: c().registeredComponents,
|
|
924
|
+
linkComponent: c().linkComponent,
|
|
925
|
+
builderBlock: c().builderBlock,
|
|
926
|
+
includeBlockProps: c().includeBlockProps,
|
|
927
|
+
isInteractive: c().isInteractive
|
|
920
928
|
}
|
|
921
|
-
) : /* @__PURE__ */ s(
|
|
922
|
-
|
|
929
|
+
) : /* @__PURE__ */ s(P, { children: t() ? /* @__PURE__ */ s(P, { children: (m = t()) == null ? void 0 : m.map((u, g) => /* @__PURE__ */ s(
|
|
930
|
+
ke,
|
|
923
931
|
{
|
|
924
|
-
repeatContext:
|
|
925
|
-
block:
|
|
932
|
+
repeatContext: u.context,
|
|
933
|
+
block: u.block,
|
|
926
934
|
registeredComponents: e.registeredComponents,
|
|
927
935
|
linkComponent: e.linkComponent
|
|
928
936
|
},
|
|
929
|
-
|
|
937
|
+
xe(g)
|
|
930
938
|
)) }) : /* @__PURE__ */ B(
|
|
931
|
-
|
|
939
|
+
zt,
|
|
932
940
|
{
|
|
933
941
|
Wrapper: o(),
|
|
934
942
|
block: a(),
|
|
935
943
|
context: e.context,
|
|
936
944
|
children: [
|
|
937
945
|
/* @__PURE__ */ s(
|
|
938
|
-
|
|
946
|
+
Se,
|
|
939
947
|
{
|
|
940
|
-
componentRef:
|
|
941
|
-
componentOptions:
|
|
942
|
-
blockChildren:
|
|
943
|
-
context:
|
|
944
|
-
registeredComponents:
|
|
945
|
-
linkComponent:
|
|
946
|
-
builderBlock:
|
|
947
|
-
includeBlockProps:
|
|
948
|
-
isInteractive:
|
|
948
|
+
componentRef: c().componentRef,
|
|
949
|
+
componentOptions: c().componentOptions,
|
|
950
|
+
blockChildren: c().blockChildren,
|
|
951
|
+
context: c().context,
|
|
952
|
+
registeredComponents: c().registeredComponents,
|
|
953
|
+
linkComponent: c().linkComponent,
|
|
954
|
+
builderBlock: c().builderBlock,
|
|
955
|
+
includeBlockProps: c().includeBlockProps,
|
|
956
|
+
isInteractive: c().isInteractive
|
|
949
957
|
}
|
|
950
958
|
),
|
|
951
|
-
(
|
|
959
|
+
(b = d()) == null ? void 0 : b.map((u) => /* @__PURE__ */ s(
|
|
952
960
|
ee,
|
|
953
961
|
{
|
|
954
|
-
block:
|
|
962
|
+
block: u,
|
|
955
963
|
registeredComponents: e.registeredComponents,
|
|
956
964
|
linkComponent: e.linkComponent,
|
|
957
965
|
context: e.context
|
|
958
966
|
},
|
|
959
|
-
|
|
967
|
+
u.id
|
|
960
968
|
))
|
|
961
969
|
]
|
|
962
970
|
}
|
|
963
971
|
) })
|
|
964
972
|
] }) : null });
|
|
965
973
|
}
|
|
966
|
-
function
|
|
974
|
+
function Qt(e) {
|
|
967
975
|
const t = L(null);
|
|
968
976
|
I(() => !1);
|
|
969
977
|
function n() {
|
|
@@ -1006,9 +1014,9 @@ function Gt(e) {
|
|
|
1006
1014
|
"*"
|
|
1007
1015
|
));
|
|
1008
1016
|
}
|
|
1009
|
-
return
|
|
1010
|
-
}, []),
|
|
1011
|
-
}, [e.blocks]), /* @__PURE__ */ B(
|
|
1017
|
+
return R(() => {
|
|
1018
|
+
}, []), R(() => {
|
|
1019
|
+
}, [e.blocks]), /* @__PURE__ */ B(P, { children: [
|
|
1012
1020
|
/* @__PURE__ */ s(
|
|
1013
1021
|
e.BlocksWrapper,
|
|
1014
1022
|
{
|
|
@@ -1033,9 +1041,9 @@ function Gt(e) {
|
|
|
1033
1041
|
}
|
|
1034
1042
|
function $(e) {
|
|
1035
1043
|
var i, a, r;
|
|
1036
|
-
const t = ve(me), n = ve(
|
|
1044
|
+
const t = ve(me), n = ve(De);
|
|
1037
1045
|
return /* @__PURE__ */ s(
|
|
1038
|
-
|
|
1046
|
+
Qt,
|
|
1039
1047
|
{
|
|
1040
1048
|
blocks: e.blocks,
|
|
1041
1049
|
parent: e.parent,
|
|
@@ -1044,7 +1052,7 @@ function $(e) {
|
|
|
1044
1052
|
classNameProp: e.className,
|
|
1045
1053
|
BlocksWrapper: ((i = e.context) == null ? void 0 : i.BlocksWrapper) || (t == null ? void 0 : t.BlocksWrapper),
|
|
1046
1054
|
BlocksWrapperProps: ((a = e.context) == null ? void 0 : a.BlocksWrapperProps) || (t == null ? void 0 : t.BlocksWrapperProps),
|
|
1047
|
-
children: e.blocks ? /* @__PURE__ */ s(
|
|
1055
|
+
children: e.blocks ? /* @__PURE__ */ s(P, { children: (r = e.blocks) == null ? void 0 : r.map((o) => /* @__PURE__ */ s(
|
|
1048
1056
|
ee,
|
|
1049
1057
|
{
|
|
1050
1058
|
block: o,
|
|
@@ -1057,9 +1065,9 @@ function $(e) {
|
|
|
1057
1065
|
}
|
|
1058
1066
|
);
|
|
1059
1067
|
}
|
|
1060
|
-
const
|
|
1061
|
-
function
|
|
1062
|
-
var
|
|
1068
|
+
const Yt = (e) => `builder-columns ${e}-breakpoints`;
|
|
1069
|
+
function Xt(e) {
|
|
1070
|
+
var g, v;
|
|
1063
1071
|
function t() {
|
|
1064
1072
|
return typeof e.space == "number" ? e.space || 0 : 20;
|
|
1065
1073
|
}
|
|
@@ -1092,20 +1100,20 @@ function Yt(e) {
|
|
|
1092
1100
|
}) {
|
|
1093
1101
|
return i() === "never" ? k : p;
|
|
1094
1102
|
}
|
|
1095
|
-
function
|
|
1103
|
+
function c() {
|
|
1096
1104
|
return e.stackColumnsAt === "never" ? "row" : e.reverseColumnsWhenStacked ? "column-reverse" : "column";
|
|
1097
1105
|
}
|
|
1098
1106
|
function h() {
|
|
1099
1107
|
return {
|
|
1100
|
-
"--flex-dir":
|
|
1108
|
+
"--flex-dir": c(),
|
|
1101
1109
|
"--flex-dir-tablet": l({
|
|
1102
|
-
stackedStyle:
|
|
1110
|
+
stackedStyle: c(),
|
|
1103
1111
|
desktopStyle: "row"
|
|
1104
1112
|
})
|
|
1105
1113
|
};
|
|
1106
1114
|
}
|
|
1107
|
-
function
|
|
1108
|
-
const k = p === 0 ? 0 : t(), C = o(p), V = `${k}px`, w = "100%",
|
|
1115
|
+
function b(p) {
|
|
1116
|
+
const k = p === 0 ? 0 : t(), C = o(p), V = `${k}px`, w = "100%", S = 0;
|
|
1109
1117
|
return {
|
|
1110
1118
|
...{
|
|
1111
1119
|
display: "flex",
|
|
@@ -1119,7 +1127,7 @@ function Yt(e) {
|
|
|
1119
1127
|
desktopStyle: C
|
|
1120
1128
|
}),
|
|
1121
1129
|
"--column-margin-left-mobile": d({
|
|
1122
|
-
stackedStyle:
|
|
1130
|
+
stackedStyle: S,
|
|
1123
1131
|
desktopStyle: V
|
|
1124
1132
|
}),
|
|
1125
1133
|
"--column-width-tablet": l({
|
|
@@ -1127,21 +1135,21 @@ function Yt(e) {
|
|
|
1127
1135
|
desktopStyle: C
|
|
1128
1136
|
}),
|
|
1129
1137
|
"--column-margin-left-tablet": l({
|
|
1130
|
-
stackedStyle:
|
|
1138
|
+
stackedStyle: S,
|
|
1131
1139
|
desktopStyle: V
|
|
1132
1140
|
})
|
|
1133
1141
|
};
|
|
1134
1142
|
}
|
|
1135
|
-
function
|
|
1143
|
+
function m(p) {
|
|
1136
1144
|
var C, V;
|
|
1137
|
-
return
|
|
1145
|
+
return je(
|
|
1138
1146
|
((V = (C = e.builderContext.content) == null ? void 0 : C.meta) == null ? void 0 : V.breakpoints) || {}
|
|
1139
1147
|
)[p].max;
|
|
1140
1148
|
}
|
|
1141
|
-
function
|
|
1149
|
+
function x() {
|
|
1142
1150
|
const p = `.${e.builderBlock.id}-breakpoints > .builder-column`;
|
|
1143
1151
|
return `
|
|
1144
|
-
@media (max-width: ${
|
|
1152
|
+
@media (max-width: ${m("medium")}px) {
|
|
1145
1153
|
.${e.builderBlock.id}-breakpoints {
|
|
1146
1154
|
flex-direction: var(--flex-dir-tablet);
|
|
1147
1155
|
align-items: stretch;
|
|
@@ -1153,7 +1161,7 @@ function Yt(e) {
|
|
|
1153
1161
|
}
|
|
1154
1162
|
}
|
|
1155
1163
|
|
|
1156
|
-
@media (max-width: ${
|
|
1164
|
+
@media (max-width: ${m("small")}px) {
|
|
1157
1165
|
.${e.builderBlock.id}-breakpoints {
|
|
1158
1166
|
flex-direction: var(--flex-dir);
|
|
1159
1167
|
align-items: stretch;
|
|
@@ -1166,36 +1174,36 @@ function Yt(e) {
|
|
|
1166
1174
|
},
|
|
1167
1175
|
`;
|
|
1168
1176
|
}
|
|
1169
|
-
function
|
|
1177
|
+
function u(p, k) {
|
|
1170
1178
|
return {
|
|
1171
1179
|
...p.link ? {
|
|
1172
1180
|
href: p.link
|
|
1173
1181
|
} : {},
|
|
1174
1182
|
[j()]: "builder-column",
|
|
1175
|
-
style:
|
|
1183
|
+
style: qe(b(k))
|
|
1176
1184
|
};
|
|
1177
1185
|
}
|
|
1178
|
-
return /* @__PURE__ */ B(
|
|
1186
|
+
return /* @__PURE__ */ B(P, { children: [
|
|
1179
1187
|
/* @__PURE__ */ B(
|
|
1180
1188
|
"div",
|
|
1181
1189
|
{
|
|
1182
|
-
className:
|
|
1190
|
+
className: Yt((g = e.builderBlock) == null ? void 0 : g.id) + " div-0369db37",
|
|
1183
1191
|
style: h(),
|
|
1184
1192
|
children: [
|
|
1185
1193
|
/* @__PURE__ */ s(
|
|
1186
1194
|
K,
|
|
1187
1195
|
{
|
|
1188
1196
|
id: "builderio-columns",
|
|
1189
|
-
styles:
|
|
1197
|
+
styles: x(),
|
|
1190
1198
|
nonce: e.builderContext.nonce
|
|
1191
1199
|
}
|
|
1192
1200
|
),
|
|
1193
|
-
(
|
|
1201
|
+
(v = e.columns) == null ? void 0 : v.map((p, k) => /* @__PURE__ */ s(
|
|
1194
1202
|
de,
|
|
1195
1203
|
{
|
|
1196
1204
|
TagName: a(p),
|
|
1197
1205
|
actionAttributes: {},
|
|
1198
|
-
attributes:
|
|
1206
|
+
attributes: u(p, k),
|
|
1199
1207
|
children: /* @__PURE__ */ s(
|
|
1200
1208
|
$,
|
|
1201
1209
|
{
|
|
@@ -1223,25 +1231,25 @@ function Yt(e) {
|
|
|
1223
1231
|
}` })
|
|
1224
1232
|
] });
|
|
1225
1233
|
}
|
|
1226
|
-
function
|
|
1234
|
+
function Zt(e) {
|
|
1227
1235
|
return /* @__PURE__ */ s("span", { children: e.children });
|
|
1228
1236
|
}
|
|
1229
|
-
function
|
|
1237
|
+
function Ce(e) {
|
|
1230
1238
|
return e.replace(/http(s)?:/, "");
|
|
1231
1239
|
}
|
|
1232
|
-
function
|
|
1240
|
+
function en(e = "", t, n) {
|
|
1233
1241
|
const i = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), a = e.indexOf("?") !== -1 ? "&" : "?";
|
|
1234
1242
|
return e.match(i) ? e.replace(i, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + a + t + "=" + encodeURIComponent(n);
|
|
1235
1243
|
}
|
|
1236
|
-
function
|
|
1244
|
+
function tn(e, t) {
|
|
1237
1245
|
if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
|
|
1238
1246
|
return e;
|
|
1239
1247
|
if (t === "master")
|
|
1240
|
-
return
|
|
1248
|
+
return Ce(e);
|
|
1241
1249
|
const n = e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);
|
|
1242
1250
|
if (n) {
|
|
1243
1251
|
const i = e.split(n[0]), a = n[3], r = t.match("x") ? t : `${t}x`;
|
|
1244
|
-
return
|
|
1252
|
+
return Ce(`${i[0]}_${r}${a}`);
|
|
1245
1253
|
}
|
|
1246
1254
|
return null;
|
|
1247
1255
|
}
|
|
@@ -1252,26 +1260,26 @@ function ie(e) {
|
|
|
1252
1260
|
if (e.match(/builder\.io/)) {
|
|
1253
1261
|
let n = e;
|
|
1254
1262
|
const i = Number(e.split("?width=")[1]);
|
|
1255
|
-
return isNaN(i) || (n = `${n} ${i}w`), t.filter((a) => a !== i).map((a) => `${
|
|
1263
|
+
return isNaN(i) || (n = `${n} ${i}w`), t.filter((a) => a !== i).map((a) => `${en(e, "width", a)} ${a}w`).concat([n]).join(", ");
|
|
1256
1264
|
}
|
|
1257
|
-
return e.match(/cdn\.shopify\.com/) ? t.map((n) => [
|
|
1265
|
+
return e.match(/cdn\.shopify\.com/) ? t.map((n) => [tn(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, i]) => `${n} ${i}w`).concat([e]).join(", ") : e;
|
|
1258
1266
|
}
|
|
1259
|
-
function
|
|
1260
|
-
var a, r, o, l, d,
|
|
1267
|
+
function nn(e) {
|
|
1268
|
+
var a, r, o, l, d, c;
|
|
1261
1269
|
function t() {
|
|
1262
|
-
var
|
|
1263
|
-
const
|
|
1264
|
-
if (!
|
|
1270
|
+
var m;
|
|
1271
|
+
const b = e.image || e.src;
|
|
1272
|
+
if (!b || // We can auto add srcset for cdn.builder.io and shopify
|
|
1265
1273
|
// images, otherwise you can supply this prop manually
|
|
1266
|
-
!(typeof
|
|
1274
|
+
!(typeof b == "string" && (b.match(/builder\.io/) || b.match(/cdn\.shopify\.com/))))
|
|
1267
1275
|
return e.srcset;
|
|
1268
1276
|
if (!e.noWebp) {
|
|
1269
|
-
if (e.srcset && ((
|
|
1277
|
+
if (e.srcset && ((m = e.image) != null && m.includes("builder.io/api/v1/image"))) {
|
|
1270
1278
|
if (!e.srcset.includes(e.image.split("?")[0]))
|
|
1271
|
-
return console.debug("Removed given srcset"), ie(
|
|
1279
|
+
return console.debug("Removed given srcset"), ie(b);
|
|
1272
1280
|
} else if (e.image && !e.srcset)
|
|
1273
|
-
return ie(
|
|
1274
|
-
return ie(
|
|
1281
|
+
return ie(b);
|
|
1282
|
+
return ie(b);
|
|
1275
1283
|
}
|
|
1276
1284
|
}
|
|
1277
1285
|
function n() {
|
|
@@ -1288,8 +1296,9 @@ function tn(e) {
|
|
|
1288
1296
|
};
|
|
1289
1297
|
return e.aspectRatio ? h : void 0;
|
|
1290
1298
|
}
|
|
1291
|
-
return
|
|
1292
|
-
|
|
1299
|
+
return R(() => {
|
|
1300
|
+
}, []), /* @__PURE__ */ B(P, { children: [
|
|
1301
|
+
/* @__PURE__ */ B(P, { children: [
|
|
1293
1302
|
/* @__PURE__ */ B("picture", { children: [
|
|
1294
1303
|
n() ? /* @__PURE__ */ s("source", { type: "image/webp", srcSet: n() }) : null,
|
|
1295
1304
|
/* @__PURE__ */ s(
|
|
@@ -1305,7 +1314,7 @@ function tn(e) {
|
|
|
1305
1314
|
objectFit: e.backgroundSize || "cover",
|
|
1306
1315
|
...i()
|
|
1307
1316
|
},
|
|
1308
|
-
className: "builder-image" + (e.className ? " " + e.className : "") + " img-
|
|
1317
|
+
className: "builder-image" + (e.className ? " " + e.className : "") + " img-3cc22d08",
|
|
1309
1318
|
src: e.image,
|
|
1310
1319
|
srcSet: t(),
|
|
1311
1320
|
sizes: e.sizes
|
|
@@ -1315,23 +1324,23 @@ function tn(e) {
|
|
|
1315
1324
|
e.aspectRatio && !((r = (a = e.builderBlock) == null ? void 0 : a.children) != null && r.length && e.fitContent) ? /* @__PURE__ */ s(
|
|
1316
1325
|
"div",
|
|
1317
1326
|
{
|
|
1318
|
-
className: "builder-image-sizer div-
|
|
1327
|
+
className: "builder-image-sizer div-3cc22d08",
|
|
1319
1328
|
style: {
|
|
1320
1329
|
paddingTop: e.aspectRatio * 100 + "%"
|
|
1321
1330
|
}
|
|
1322
1331
|
}
|
|
1323
1332
|
) : null,
|
|
1324
|
-
(l = (o = e.builderBlock) == null ? void 0 : o.children) != null && l.length && e.fitContent ? /* @__PURE__ */ s(
|
|
1325
|
-
!e.fitContent && ((
|
|
1333
|
+
(l = (o = e.builderBlock) == null ? void 0 : o.children) != null && l.length && e.fitContent ? /* @__PURE__ */ s(P, { children: e.children }) : null,
|
|
1334
|
+
!e.fitContent && ((c = (d = e.builderBlock) == null ? void 0 : d.children) != null && c.length) ? /* @__PURE__ */ s("div", { className: "div-3cc22d08-2", children: e.children }) : null
|
|
1326
1335
|
] }),
|
|
1327
|
-
/* @__PURE__ */ s("style", { children: `.img-
|
|
1336
|
+
/* @__PURE__ */ s("style", { children: `.img-3cc22d08 {
|
|
1328
1337
|
opacity: 1;
|
|
1329
1338
|
transition: opacity 0.2s ease-in-out;
|
|
1330
|
-
}.div-
|
|
1339
|
+
}.div-3cc22d08 {
|
|
1331
1340
|
width: 100%;
|
|
1332
1341
|
pointer-events: none;
|
|
1333
1342
|
font-size: 0;
|
|
1334
|
-
}.div-
|
|
1343
|
+
}.div-3cc22d08-2 {
|
|
1335
1344
|
display: flex;
|
|
1336
1345
|
flex-direction: column;
|
|
1337
1346
|
align-items: stretch;
|
|
@@ -1343,7 +1352,7 @@ function tn(e) {
|
|
|
1343
1352
|
}` })
|
|
1344
1353
|
] });
|
|
1345
1354
|
}
|
|
1346
|
-
function
|
|
1355
|
+
function an(e) {
|
|
1347
1356
|
return /* @__PURE__ */ s(
|
|
1348
1357
|
"section",
|
|
1349
1358
|
{
|
|
@@ -1424,7 +1433,7 @@ const ae = {
|
|
|
1424
1433
|
}
|
|
1425
1434
|
}
|
|
1426
1435
|
}]
|
|
1427
|
-
},
|
|
1436
|
+
}, on = {
|
|
1428
1437
|
name: "Builder:Accordion",
|
|
1429
1438
|
canHaveChildren: !0,
|
|
1430
1439
|
image: "https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Ffab6c1fd3fe542408cbdec078bca7f35",
|
|
@@ -1488,9 +1497,9 @@ const ae = {
|
|
|
1488
1497
|
builderComponents: !0,
|
|
1489
1498
|
builderLinkComponent: !0
|
|
1490
1499
|
}
|
|
1491
|
-
},
|
|
1492
|
-
function
|
|
1493
|
-
var
|
|
1500
|
+
}, Te = (e) => e.toString();
|
|
1501
|
+
function rn(e) {
|
|
1502
|
+
var b;
|
|
1494
1503
|
const [t, n] = I(() => []);
|
|
1495
1504
|
function i() {
|
|
1496
1505
|
return !!(e.grid || e.oneAtATime);
|
|
@@ -1508,7 +1517,7 @@ function on(e) {
|
|
|
1508
1517
|
};
|
|
1509
1518
|
}
|
|
1510
1519
|
function r() {
|
|
1511
|
-
const
|
|
1520
|
+
const x = {
|
|
1512
1521
|
...{
|
|
1513
1522
|
display: "flex",
|
|
1514
1523
|
flexDirection: "column"
|
|
@@ -1517,75 +1526,75 @@ function on(e) {
|
|
|
1517
1526
|
cursor: "pointer"
|
|
1518
1527
|
};
|
|
1519
1528
|
return Object.fromEntries(
|
|
1520
|
-
Object.entries(
|
|
1529
|
+
Object.entries(x).filter(([u, g]) => g !== void 0)
|
|
1521
1530
|
);
|
|
1522
1531
|
}
|
|
1523
|
-
function o(
|
|
1524
|
-
return `builder-accordion-title builder-accordion-title-${t.includes(
|
|
1532
|
+
function o(m) {
|
|
1533
|
+
return `builder-accordion-title builder-accordion-title-${t.includes(m) ? "open" : "closed"}`;
|
|
1525
1534
|
}
|
|
1526
|
-
function l(
|
|
1527
|
-
return `builder-accordion-detail builder-accordion-detail-${t.includes(
|
|
1535
|
+
function l(m) {
|
|
1536
|
+
return `builder-accordion-detail builder-accordion-detail-${t.includes(m) ? "open" : "closed"}`;
|
|
1528
1537
|
}
|
|
1529
1538
|
function d() {
|
|
1530
|
-
let
|
|
1539
|
+
let m = null;
|
|
1531
1540
|
if (e.grid && t.length && document) {
|
|
1532
|
-
const
|
|
1533
|
-
let
|
|
1534
|
-
`.builder-accordion-title[data-index="${
|
|
1541
|
+
const u = t[0];
|
|
1542
|
+
let v = document.querySelector(
|
|
1543
|
+
`.builder-accordion-title[data-index="${u}"]`
|
|
1535
1544
|
);
|
|
1536
|
-
if (
|
|
1537
|
-
let p =
|
|
1538
|
-
for (;
|
|
1539
|
-
if (
|
|
1540
|
-
if (
|
|
1545
|
+
if (m = u, v) {
|
|
1546
|
+
let p = v.getBoundingClientRect();
|
|
1547
|
+
for (; v = v && v.nextElementSibling; )
|
|
1548
|
+
if (v) {
|
|
1549
|
+
if (v.classList.contains("builder-accordion-detail"))
|
|
1541
1550
|
continue;
|
|
1542
|
-
const k =
|
|
1551
|
+
const k = v.getBoundingClientRect();
|
|
1543
1552
|
if (k.left > p.left) {
|
|
1544
1553
|
const C = parseInt(
|
|
1545
|
-
|
|
1554
|
+
v.getAttribute("data-index") || "",
|
|
1546
1555
|
10
|
|
1547
1556
|
);
|
|
1548
|
-
isNaN(C) || (p = k,
|
|
1557
|
+
isNaN(C) || (p = k, m = C);
|
|
1549
1558
|
} else
|
|
1550
1559
|
break;
|
|
1551
1560
|
}
|
|
1552
1561
|
}
|
|
1553
1562
|
}
|
|
1554
|
-
return typeof
|
|
1563
|
+
return typeof m == "number" && (m = m + 1), m;
|
|
1555
1564
|
}
|
|
1556
|
-
function
|
|
1557
|
-
const
|
|
1565
|
+
function c() {
|
|
1566
|
+
const m = {
|
|
1558
1567
|
order: typeof d() == "number" ? d() : void 0,
|
|
1559
1568
|
...e.grid && {
|
|
1560
1569
|
width: "100%"
|
|
1561
1570
|
}
|
|
1562
1571
|
};
|
|
1563
1572
|
return Object.fromEntries(
|
|
1564
|
-
Object.entries(
|
|
1573
|
+
Object.entries(m).filter(([x, u]) => u !== void 0)
|
|
1565
1574
|
);
|
|
1566
1575
|
}
|
|
1567
|
-
function h(
|
|
1568
|
-
t.includes(
|
|
1576
|
+
function h(m) {
|
|
1577
|
+
t.includes(m) ? n(i() ? [] : t.filter((x) => x !== m)) : n(i() ? [m] : t.concat(m));
|
|
1569
1578
|
}
|
|
1570
|
-
return /* @__PURE__ */ s("div", { className: "builder-accordion", style: a(), children: (
|
|
1579
|
+
return /* @__PURE__ */ s("div", { className: "builder-accordion", style: a(), children: (b = e.items) == null ? void 0 : b.map((m, x) => /* @__PURE__ */ B(nt.Fragment, { children: [
|
|
1571
1580
|
/* @__PURE__ */ s(
|
|
1572
1581
|
"div",
|
|
1573
1582
|
{
|
|
1574
|
-
className: o(
|
|
1583
|
+
className: o(x),
|
|
1575
1584
|
style: {
|
|
1576
1585
|
...r(),
|
|
1577
1586
|
...e.grid && {
|
|
1578
1587
|
width: e.gridRowWidth,
|
|
1579
|
-
order: d() !== null ?
|
|
1588
|
+
order: d() !== null ? Te(x) : Te(x + 1)
|
|
1580
1589
|
}
|
|
1581
1590
|
},
|
|
1582
|
-
"data-index":
|
|
1583
|
-
onClick: (
|
|
1591
|
+
"data-index": x,
|
|
1592
|
+
onClick: (u) => h(x),
|
|
1584
1593
|
children: /* @__PURE__ */ s(
|
|
1585
1594
|
$,
|
|
1586
1595
|
{
|
|
1587
|
-
blocks:
|
|
1588
|
-
path: `items.${
|
|
1596
|
+
blocks: m.title,
|
|
1597
|
+
path: `items.${x}.title`,
|
|
1589
1598
|
parent: e.builderBlock.id,
|
|
1590
1599
|
context: e.builderContext,
|
|
1591
1600
|
registeredComponents: e.builderComponents,
|
|
@@ -1594,16 +1603,16 @@ function on(e) {
|
|
|
1594
1603
|
)
|
|
1595
1604
|
}
|
|
1596
1605
|
),
|
|
1597
|
-
t.includes(
|
|
1606
|
+
t.includes(x) ? /* @__PURE__ */ s(
|
|
1598
1607
|
"div",
|
|
1599
1608
|
{
|
|
1600
|
-
className: l(
|
|
1601
|
-
style:
|
|
1609
|
+
className: l(x),
|
|
1610
|
+
style: c(),
|
|
1602
1611
|
children: /* @__PURE__ */ s(
|
|
1603
1612
|
$,
|
|
1604
1613
|
{
|
|
1605
|
-
blocks:
|
|
1606
|
-
path: `items.${
|
|
1614
|
+
blocks: m.detail,
|
|
1615
|
+
path: `items.${x}.detail`,
|
|
1607
1616
|
parent: e.builderBlock.id,
|
|
1608
1617
|
context: e.builderContext,
|
|
1609
1618
|
registeredComponents: e.builderComponents,
|
|
@@ -1612,9 +1621,9 @@ function on(e) {
|
|
|
1612
1621
|
)
|
|
1613
1622
|
}
|
|
1614
1623
|
) : null
|
|
1615
|
-
] },
|
|
1624
|
+
] }, x)) });
|
|
1616
1625
|
}
|
|
1617
|
-
const
|
|
1626
|
+
const ln = {
|
|
1618
1627
|
name: "Core:Button",
|
|
1619
1628
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
|
|
1620
1629
|
defaultStyles: {
|
|
@@ -1650,7 +1659,7 @@ const rn = {
|
|
|
1650
1659
|
shouldReceiveBuilderProps: {
|
|
1651
1660
|
builderLinkComponent: !0
|
|
1652
1661
|
}
|
|
1653
|
-
},
|
|
1662
|
+
}, sn = {
|
|
1654
1663
|
// TODO: ways to statically preprocess JSON for references, functions, etc
|
|
1655
1664
|
name: "Columns",
|
|
1656
1665
|
isRSC: !0,
|
|
@@ -1857,13 +1866,13 @@ const rn = {
|
|
|
1857
1866
|
builderComponents: !0,
|
|
1858
1867
|
builderLinkComponent: !0
|
|
1859
1868
|
}
|
|
1860
|
-
},
|
|
1869
|
+
}, cn = {
|
|
1861
1870
|
name: "Fragment",
|
|
1862
1871
|
static: !0,
|
|
1863
1872
|
hidden: !0,
|
|
1864
1873
|
canHaveChildren: !0,
|
|
1865
1874
|
noWrap: !0
|
|
1866
|
-
}, he = ["jpeg", "jpg", "png", "svg", "webp", "gif", "jfif", "pjpeg", "pjp", "apng", "avif", "tif", "tiff", "heif", "bmp", "eps", "raw", "cr2", "nef", "orf", "sr2", "psd", "heic", "dib", "ai"],
|
|
1875
|
+
}, he = ["jpeg", "jpg", "png", "svg", "webp", "gif", "jfif", "pjpeg", "pjp", "apng", "avif", "tif", "tiff", "heif", "bmp", "eps", "raw", "cr2", "nef", "orf", "sr2", "psd", "heic", "dib", "ai"], un = ["mp4", "webm", "mkv", "flv", "vob", "ogv", "ogg", "drc", "gif", "gifv", "mng", "avi", "mov", "qt", "mts", "m2ts", "ts", "wmv", "yuv", "rm", "rmvb", "viv", "asf", "amv", "m4p", "mpeg", "mpe", "m2v", "m4v", "svi", "3gp", "3g2", "mxf", "roq", "nsv", "f4v", "f4p", "f4a", "f4b"], dn = {
|
|
1867
1876
|
name: "Image",
|
|
1868
1877
|
static: !0,
|
|
1869
1878
|
image: "https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",
|
|
@@ -1884,15 +1893,15 @@ const rn = {
|
|
|
1884
1893
|
onChange: (e) => {
|
|
1885
1894
|
e.delete("srcset"), e.delete("noWebp");
|
|
1886
1895
|
function n(o, l = 6e4) {
|
|
1887
|
-
return new Promise((d,
|
|
1896
|
+
return new Promise((d, c) => {
|
|
1888
1897
|
const h = document.createElement("img");
|
|
1889
|
-
let
|
|
1898
|
+
let b = !1;
|
|
1890
1899
|
h.onload = () => {
|
|
1891
|
-
|
|
1892
|
-
}, h.addEventListener("error", (
|
|
1893
|
-
console.warn("Image load failed",
|
|
1900
|
+
b = !0, d(h);
|
|
1901
|
+
}, h.addEventListener("error", (m) => {
|
|
1902
|
+
console.warn("Image load failed", m.error), c(m.error);
|
|
1894
1903
|
}), h.src = o, setTimeout(() => {
|
|
1895
|
-
|
|
1904
|
+
b || c(new Error("Image load timed out"));
|
|
1896
1905
|
}, l);
|
|
1897
1906
|
});
|
|
1898
1907
|
}
|
|
@@ -1975,7 +1984,7 @@ const rn = {
|
|
|
1975
1984
|
shouldReceiveBuilderProps: {
|
|
1976
1985
|
builderBlock: !0
|
|
1977
1986
|
}
|
|
1978
|
-
},
|
|
1987
|
+
}, mn = {
|
|
1979
1988
|
name: "PersonalizationContainer",
|
|
1980
1989
|
shouldReceiveBuilderProps: {
|
|
1981
1990
|
builderBlock: !0,
|
|
@@ -2021,51 +2030,51 @@ function Y(e) {
|
|
|
2021
2030
|
}
|
|
2022
2031
|
);
|
|
2023
2032
|
}
|
|
2024
|
-
function
|
|
2025
|
-
function a(
|
|
2026
|
-
return typeof
|
|
2033
|
+
function fn(e, t, n, i) {
|
|
2034
|
+
function a(c) {
|
|
2035
|
+
return typeof c == "string";
|
|
2027
2036
|
}
|
|
2028
|
-
function r(
|
|
2029
|
-
return typeof
|
|
2037
|
+
function r(c) {
|
|
2038
|
+
return typeof c == "number";
|
|
2030
2039
|
}
|
|
2031
|
-
function o(
|
|
2040
|
+
function o(c, h) {
|
|
2032
2041
|
return (() => {
|
|
2033
|
-
const
|
|
2034
|
-
let
|
|
2035
|
-
if (h && h.property === "urlPath" && h.value && typeof h.value == "string" && h.value !== "/" && h.value.endsWith("/") && (
|
|
2042
|
+
const m = h.property, x = h.operator;
|
|
2043
|
+
let u = h.value;
|
|
2044
|
+
if (h && h.property === "urlPath" && h.value && typeof h.value == "string" && h.value !== "/" && h.value.endsWith("/") && (u = h.value.slice(0, -1)), !(m && x))
|
|
2036
2045
|
return !0;
|
|
2037
|
-
if (Array.isArray(
|
|
2038
|
-
return
|
|
2039
|
-
property:
|
|
2040
|
-
operator:
|
|
2041
|
-
value:
|
|
2042
|
-
})) : !!
|
|
2043
|
-
property:
|
|
2044
|
-
operator:
|
|
2045
|
-
value:
|
|
2046
|
+
if (Array.isArray(u))
|
|
2047
|
+
return x === "isNot" ? u.every((v) => o(c, {
|
|
2048
|
+
property: m,
|
|
2049
|
+
operator: x,
|
|
2050
|
+
value: v
|
|
2051
|
+
})) : !!u.find((v) => o(c, {
|
|
2052
|
+
property: m,
|
|
2053
|
+
operator: x,
|
|
2054
|
+
value: v
|
|
2046
2055
|
}));
|
|
2047
|
-
const
|
|
2048
|
-
if (Array.isArray(
|
|
2049
|
-
return
|
|
2050
|
-
switch (
|
|
2056
|
+
const g = c[m];
|
|
2057
|
+
if (Array.isArray(g))
|
|
2058
|
+
return g.includes(u);
|
|
2059
|
+
switch (x) {
|
|
2051
2060
|
case "is":
|
|
2052
|
-
return
|
|
2061
|
+
return g === u;
|
|
2053
2062
|
case "isNot":
|
|
2054
|
-
return
|
|
2063
|
+
return g !== u;
|
|
2055
2064
|
case "contains":
|
|
2056
|
-
return (a(
|
|
2065
|
+
return (a(g) || Array.isArray(g)) && g.includes(String(u));
|
|
2057
2066
|
case "startsWith":
|
|
2058
|
-
return a(
|
|
2067
|
+
return a(g) && g.startsWith(String(u));
|
|
2059
2068
|
case "endsWith":
|
|
2060
|
-
return a(
|
|
2069
|
+
return a(g) && g.endsWith(String(u));
|
|
2061
2070
|
case "greaterThan":
|
|
2062
|
-
return r(
|
|
2071
|
+
return r(g) && r(u) && g > u;
|
|
2063
2072
|
case "lessThan":
|
|
2064
|
-
return r(
|
|
2073
|
+
return r(g) && r(u) && g < u;
|
|
2065
2074
|
case "greaterThanOrEqualTo":
|
|
2066
|
-
return r(
|
|
2075
|
+
return r(g) && r(u) && g >= u;
|
|
2067
2076
|
case "lessThanOrEqualTo":
|
|
2068
|
-
return r(
|
|
2077
|
+
return r(g) && r(u) && g <= u;
|
|
2069
2078
|
default:
|
|
2070
2079
|
return !1;
|
|
2071
2080
|
}
|
|
@@ -2076,9 +2085,9 @@ function mn(e, t, n, i) {
|
|
|
2076
2085
|
startDate: n,
|
|
2077
2086
|
endDate: i
|
|
2078
2087
|
}, d = e.date && new Date(e.date) || /* @__PURE__ */ new Date();
|
|
2079
|
-
return l.startDate && new Date(l.startDate) > d || l.endDate && new Date(l.endDate) < d ? !1 : !l.query || !l.query.length ? !0 : l.query.every((
|
|
2088
|
+
return l.startDate && new Date(l.startDate) > d || l.endDate && new Date(l.endDate) < d ? !1 : !l.query || !l.query.length ? !0 : l.query.every((c) => o(e, c));
|
|
2080
2089
|
}
|
|
2081
|
-
const
|
|
2090
|
+
const hn = `function getPersonalizedVariant(variants, blockId, locale) {
|
|
2082
2091
|
if (!navigator.cookieEnabled) {
|
|
2083
2092
|
return;
|
|
2084
2093
|
}
|
|
@@ -2131,7 +2140,7 @@ const fn = `function getPersonalizedVariant(variants, blockId, locale) {
|
|
|
2131
2140
|
} else if (variants && variants.length > 0) {
|
|
2132
2141
|
removeVariants();
|
|
2133
2142
|
}
|
|
2134
|
-
}`,
|
|
2143
|
+
}`, gn = `function filterWithCustomTargeting(userAttributes, query, startDate, endDate) {
|
|
2135
2144
|
function isString(val) {
|
|
2136
2145
|
return typeof val === 'string';
|
|
2137
2146
|
}
|
|
@@ -2210,10 +2219,10 @@ const fn = `function getPersonalizedVariant(variants, blockId, locale) {
|
|
|
2210
2219
|
return objectMatchesQuery(userAttributes, filter);
|
|
2211
2220
|
});
|
|
2212
2221
|
}`;
|
|
2213
|
-
function
|
|
2222
|
+
function bn(e, t) {
|
|
2214
2223
|
return !(!(e && e.length > 0) || !t || U());
|
|
2215
2224
|
}
|
|
2216
|
-
function
|
|
2225
|
+
function pn({
|
|
2217
2226
|
variants: e,
|
|
2218
2227
|
previewingIndex: t,
|
|
2219
2228
|
isHydrated: n,
|
|
@@ -2240,84 +2249,84 @@ function bn({
|
|
|
2240
2249
|
}
|
|
2241
2250
|
return r;
|
|
2242
2251
|
}
|
|
2243
|
-
const
|
|
2252
|
+
const yn = (e, t, n) => `
|
|
2244
2253
|
(function() {
|
|
2254
|
+
${gn}
|
|
2245
2255
|
${hn}
|
|
2246
|
-
${fn}
|
|
2247
2256
|
getPersonalizedVariant(${JSON.stringify(e)}, "${t}"${n ? `, "${n}"` : ""})
|
|
2248
2257
|
})();
|
|
2249
2258
|
`;
|
|
2250
|
-
function
|
|
2251
|
-
var
|
|
2259
|
+
function vn(e) {
|
|
2260
|
+
var g, v, p, k, C, V, w;
|
|
2252
2261
|
const t = L(null), [n, i] = I(
|
|
2253
2262
|
() => be.getUserAttributes()
|
|
2254
2263
|
), [a, r] = I(
|
|
2255
2264
|
() => {
|
|
2256
|
-
var
|
|
2257
|
-
return
|
|
2265
|
+
var S, f, y;
|
|
2266
|
+
return yn(
|
|
2258
2267
|
e.variants,
|
|
2259
|
-
((
|
|
2260
|
-
(y = (
|
|
2268
|
+
((S = e.builderBlock) == null ? void 0 : S.id) || "none",
|
|
2269
|
+
(y = (f = e.builderContext) == null ? void 0 : f.rootState) == null ? void 0 : y.locale
|
|
2261
2270
|
);
|
|
2262
2271
|
}
|
|
2263
|
-
), [o, l] = I(() => []), [d,
|
|
2272
|
+
), [o, l] = I(() => []), [d, c] = I(
|
|
2264
2273
|
() => {
|
|
2265
|
-
var
|
|
2266
|
-
return
|
|
2274
|
+
var S;
|
|
2275
|
+
return bn(
|
|
2267
2276
|
e.variants,
|
|
2268
|
-
M((
|
|
2277
|
+
M((S = e.builderContext) == null ? void 0 : S.canTrack)
|
|
2269
2278
|
);
|
|
2270
2279
|
}
|
|
2271
|
-
), [h,
|
|
2272
|
-
function
|
|
2273
|
-
return (e.variants || []).filter((
|
|
2274
|
-
var
|
|
2275
|
-
return
|
|
2280
|
+
), [h, b] = I(() => !1);
|
|
2281
|
+
function m() {
|
|
2282
|
+
return (e.variants || []).filter((S) => {
|
|
2283
|
+
var f, y, T, E;
|
|
2284
|
+
return fn(
|
|
2276
2285
|
{
|
|
2277
|
-
...(y = (
|
|
2286
|
+
...(y = (f = e.builderContext) == null ? void 0 : f.rootState) != null && y.locale ? {
|
|
2278
2287
|
locale: (E = (T = e.builderContext) == null ? void 0 : T.rootState) == null ? void 0 : E.locale
|
|
2279
2288
|
} : {},
|
|
2280
2289
|
...n
|
|
2281
2290
|
},
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2291
|
+
S.query,
|
|
2292
|
+
S.startDate,
|
|
2293
|
+
S.endDate
|
|
2285
2294
|
);
|
|
2286
2295
|
});
|
|
2287
2296
|
}
|
|
2288
|
-
function
|
|
2289
|
-
var
|
|
2290
|
-
return
|
|
2297
|
+
function x() {
|
|
2298
|
+
var S;
|
|
2299
|
+
return pn({
|
|
2291
2300
|
variants: e.variants,
|
|
2292
|
-
fallbackBlocks: (
|
|
2301
|
+
fallbackBlocks: (S = e.builderBlock) == null ? void 0 : S.children,
|
|
2293
2302
|
isHydrated: h,
|
|
2294
|
-
filteredVariants:
|
|
2303
|
+
filteredVariants: m(),
|
|
2295
2304
|
previewingIndex: e.previewingIndex
|
|
2296
2305
|
});
|
|
2297
2306
|
}
|
|
2298
|
-
function
|
|
2307
|
+
function u() {
|
|
2299
2308
|
return (e.variants || []).map(
|
|
2300
|
-
(
|
|
2309
|
+
(S, f) => {
|
|
2301
2310
|
var y;
|
|
2302
|
-
return `[data-variant-id="${(y = e.builderBlock) == null ? void 0 : y.id}-${
|
|
2311
|
+
return `[data-variant-id="${(y = e.builderBlock) == null ? void 0 : y.id}-${f}"] { display: none; } `;
|
|
2303
2312
|
}
|
|
2304
2313
|
).join("");
|
|
2305
2314
|
}
|
|
2306
|
-
return
|
|
2307
|
-
var
|
|
2308
|
-
|
|
2309
|
-
const
|
|
2315
|
+
return R(() => {
|
|
2316
|
+
var f;
|
|
2317
|
+
b(!0);
|
|
2318
|
+
const S = be.subscribeOnUserAttributesChange(
|
|
2310
2319
|
(y) => {
|
|
2311
2320
|
i(y);
|
|
2312
2321
|
}
|
|
2313
2322
|
);
|
|
2314
2323
|
if (!(N() || X())) {
|
|
2315
|
-
const y =
|
|
2324
|
+
const y = m()[0];
|
|
2316
2325
|
t.current && (t.current.dispatchEvent(
|
|
2317
2326
|
new CustomEvent("builder.variantLoaded", {
|
|
2318
2327
|
detail: {
|
|
2319
2328
|
variant: y || "default",
|
|
2320
|
-
content: (
|
|
2329
|
+
content: (f = e.builderContext) == null ? void 0 : f.content
|
|
2321
2330
|
},
|
|
2322
2331
|
bubbles: !0
|
|
2323
2332
|
})
|
|
@@ -2336,40 +2345,40 @@ function yn(e) {
|
|
|
2336
2345
|
});
|
|
2337
2346
|
}).observe(t.current));
|
|
2338
2347
|
}
|
|
2339
|
-
o.push(
|
|
2340
|
-
}, []),
|
|
2341
|
-
o.forEach((
|
|
2348
|
+
o.push(S);
|
|
2349
|
+
}, []), R(() => () => {
|
|
2350
|
+
o.forEach((S) => S());
|
|
2342
2351
|
}, []), /* @__PURE__ */ B(
|
|
2343
2352
|
"div",
|
|
2344
2353
|
{
|
|
2345
2354
|
ref: t,
|
|
2346
2355
|
...e.attributes,
|
|
2347
|
-
className: `builder-personalization-container ${((
|
|
2356
|
+
className: `builder-personalization-container ${((g = e.attributes) == null ? void 0 : g.className) || ""}`,
|
|
2348
2357
|
children: [
|
|
2349
|
-
d ? /* @__PURE__ */ B(
|
|
2350
|
-
(
|
|
2358
|
+
d ? /* @__PURE__ */ B(P, { children: [
|
|
2359
|
+
(v = e.variants) == null ? void 0 : v.map((S, f) => {
|
|
2351
2360
|
var y, T;
|
|
2352
2361
|
return /* @__PURE__ */ s(
|
|
2353
2362
|
"template",
|
|
2354
2363
|
{
|
|
2355
|
-
"data-variant-id": `${(y = e.builderBlock) == null ? void 0 : y.id}-${
|
|
2364
|
+
"data-variant-id": `${(y = e.builderBlock) == null ? void 0 : y.id}-${f}`,
|
|
2356
2365
|
children: /* @__PURE__ */ s(
|
|
2357
2366
|
$,
|
|
2358
2367
|
{
|
|
2359
|
-
blocks:
|
|
2368
|
+
blocks: S.blocks,
|
|
2360
2369
|
parent: (T = e.builderBlock) == null ? void 0 : T.id,
|
|
2361
|
-
path: `component.options.variants.${
|
|
2370
|
+
path: `component.options.variants.${f}.blocks`
|
|
2362
2371
|
}
|
|
2363
2372
|
)
|
|
2364
2373
|
},
|
|
2365
|
-
|
|
2374
|
+
f
|
|
2366
2375
|
);
|
|
2367
2376
|
}),
|
|
2368
2377
|
/* @__PURE__ */ s(
|
|
2369
2378
|
K,
|
|
2370
2379
|
{
|
|
2371
2380
|
nonce: ((p = e.builderContext) == null ? void 0 : p.nonce) || "",
|
|
2372
|
-
styles:
|
|
2381
|
+
styles: u(),
|
|
2373
2382
|
id: `variants-styles-${(k = e.builderBlock) == null ? void 0 : k.id}`
|
|
2374
2383
|
}
|
|
2375
2384
|
),
|
|
@@ -2385,16 +2394,16 @@ function yn(e) {
|
|
|
2385
2394
|
/* @__PURE__ */ s(
|
|
2386
2395
|
$,
|
|
2387
2396
|
{
|
|
2388
|
-
blocks:
|
|
2397
|
+
blocks: x().blocks,
|
|
2389
2398
|
parent: (w = e.builderBlock) == null ? void 0 : w.id,
|
|
2390
|
-
path:
|
|
2399
|
+
path: x().path
|
|
2391
2400
|
}
|
|
2392
2401
|
)
|
|
2393
2402
|
]
|
|
2394
2403
|
}
|
|
2395
2404
|
);
|
|
2396
2405
|
}
|
|
2397
|
-
const
|
|
2406
|
+
const xn = {
|
|
2398
2407
|
name: "Core:Section",
|
|
2399
2408
|
static: !0,
|
|
2400
2409
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
|
|
@@ -2433,7 +2442,7 @@ const vn = {
|
|
|
2433
2442
|
}
|
|
2434
2443
|
}
|
|
2435
2444
|
}]
|
|
2436
|
-
},
|
|
2445
|
+
}, Sn = {
|
|
2437
2446
|
name: "Slot",
|
|
2438
2447
|
isRSC: !0,
|
|
2439
2448
|
description: "Allow child blocks to be inserted into this content when used as a Symbol",
|
|
@@ -2451,7 +2460,7 @@ const vn = {
|
|
|
2451
2460
|
builderComponents: !0
|
|
2452
2461
|
}
|
|
2453
2462
|
};
|
|
2454
|
-
function
|
|
2463
|
+
function kn(e) {
|
|
2455
2464
|
var t, n, i;
|
|
2456
2465
|
return /* @__PURE__ */ s(
|
|
2457
2466
|
"div",
|
|
@@ -2475,7 +2484,7 @@ function Sn(e) {
|
|
|
2475
2484
|
}
|
|
2476
2485
|
);
|
|
2477
2486
|
}
|
|
2478
|
-
const
|
|
2487
|
+
const Cn = {
|
|
2479
2488
|
name: "Symbol",
|
|
2480
2489
|
noWrap: !0,
|
|
2481
2490
|
static: !0,
|
|
@@ -2552,7 +2561,7 @@ const kn = {
|
|
|
2552
2561
|
text: "New tab content "
|
|
2553
2562
|
}
|
|
2554
2563
|
}
|
|
2555
|
-
},
|
|
2564
|
+
}, Tn = {
|
|
2556
2565
|
name: "Builder: Tabs",
|
|
2557
2566
|
inputs: [{
|
|
2558
2567
|
name: "tabs",
|
|
@@ -2656,7 +2665,7 @@ const kn = {
|
|
|
2656
2665
|
builderLinkComponent: !0
|
|
2657
2666
|
}
|
|
2658
2667
|
};
|
|
2659
|
-
function
|
|
2668
|
+
function wn(e) {
|
|
2660
2669
|
var r;
|
|
2661
2670
|
const [t, n] = I(
|
|
2662
2671
|
() => e.defaultActiveTab ? e.defaultActiveTab - 1 : 0
|
|
@@ -2715,11 +2724,8 @@ function Tn(e) {
|
|
|
2715
2724
|
) }) : null
|
|
2716
2725
|
] });
|
|
2717
2726
|
}
|
|
2718
|
-
const
|
|
2719
|
-
shouldReceiveBuilderProps: {
|
|
2720
|
-
builderBlock: !1,
|
|
2721
|
-
builderContext: !0
|
|
2722
|
-
},
|
|
2727
|
+
const In = {
|
|
2728
|
+
shouldReceiveBuilderProps: {},
|
|
2723
2729
|
name: "Text",
|
|
2724
2730
|
static: !0,
|
|
2725
2731
|
isRSC: !0,
|
|
@@ -2738,7 +2744,7 @@ const wn = {
|
|
|
2738
2744
|
textAlign: "center"
|
|
2739
2745
|
}
|
|
2740
2746
|
};
|
|
2741
|
-
function
|
|
2747
|
+
function En(e) {
|
|
2742
2748
|
var t;
|
|
2743
2749
|
return /* @__PURE__ */ s(
|
|
2744
2750
|
"div",
|
|
@@ -2751,7 +2757,7 @@ function In(e) {
|
|
|
2751
2757
|
}
|
|
2752
2758
|
);
|
|
2753
2759
|
}
|
|
2754
|
-
const
|
|
2760
|
+
const Rn = {
|
|
2755
2761
|
name: "Custom Code",
|
|
2756
2762
|
static: !0,
|
|
2757
2763
|
requiredPermissions: ["editCode"],
|
|
@@ -2774,21 +2780,21 @@ const En = {
|
|
|
2774
2780
|
advanced: !0
|
|
2775
2781
|
}]
|
|
2776
2782
|
};
|
|
2777
|
-
function
|
|
2783
|
+
function Pn(e) {
|
|
2778
2784
|
const t = L(null), [n, i] = I(() => []), [a, r] = I(() => []);
|
|
2779
2785
|
function o() {
|
|
2780
2786
|
var d;
|
|
2781
2787
|
if (!t.current || !((d = t.current) != null && d.getElementsByTagName) || typeof window == "undefined")
|
|
2782
2788
|
return;
|
|
2783
2789
|
const l = t.current.getElementsByTagName("script");
|
|
2784
|
-
for (let
|
|
2785
|
-
const h = l[
|
|
2790
|
+
for (let c = 0; c < l.length; c++) {
|
|
2791
|
+
const h = l[c];
|
|
2786
2792
|
if (h.src) {
|
|
2787
2793
|
if (n.includes(h.src))
|
|
2788
2794
|
continue;
|
|
2789
2795
|
n.push(h.src);
|
|
2790
|
-
const
|
|
2791
|
-
|
|
2796
|
+
const b = document.createElement("script");
|
|
2797
|
+
b.async = !0, b.src = h.src, document.head.appendChild(b);
|
|
2792
2798
|
} else if (!h.type || [
|
|
2793
2799
|
"text/javascript",
|
|
2794
2800
|
"application/javascript",
|
|
@@ -2798,18 +2804,18 @@ function Rn(e) {
|
|
|
2798
2804
|
continue;
|
|
2799
2805
|
try {
|
|
2800
2806
|
a.push(h.innerText), new Function(h.innerText)();
|
|
2801
|
-
} catch (
|
|
2807
|
+
} catch (b) {
|
|
2802
2808
|
z.warn(
|
|
2803
2809
|
"[BUILDER.IO] `CustomCode`: Error running script:",
|
|
2804
|
-
|
|
2810
|
+
b
|
|
2805
2811
|
);
|
|
2806
2812
|
}
|
|
2807
2813
|
}
|
|
2808
2814
|
}
|
|
2809
2815
|
}
|
|
2810
|
-
return
|
|
2816
|
+
return R(() => {
|
|
2811
2817
|
o();
|
|
2812
|
-
}, []),
|
|
2818
|
+
}, []), R(() => {
|
|
2813
2819
|
N() && o();
|
|
2814
2820
|
}, [e.code]), /* @__PURE__ */ s(
|
|
2815
2821
|
"div",
|
|
@@ -2835,28 +2841,28 @@ const Vn = {
|
|
|
2835
2841
|
defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
|
|
2836
2842
|
hideFromUI: !0
|
|
2837
2843
|
}]
|
|
2838
|
-
},
|
|
2839
|
-
function
|
|
2844
|
+
}, Bn = ["text/javascript", "application/javascript", "application/ecmascript"], An = (e) => Bn.includes(e.type);
|
|
2845
|
+
function Nn(e) {
|
|
2840
2846
|
const t = L(null), [n, i] = I(() => []), [a, r] = I(() => []), [o, l] = I(() => !1);
|
|
2841
2847
|
function d() {
|
|
2842
2848
|
if (!t.current || !t.current.getElementsByTagName)
|
|
2843
2849
|
return;
|
|
2844
|
-
const
|
|
2845
|
-
for (let h = 0; h <
|
|
2846
|
-
const
|
|
2847
|
-
if (
|
|
2848
|
-
n.push(
|
|
2849
|
-
const
|
|
2850
|
-
|
|
2851
|
-
} else if (
|
|
2850
|
+
const c = t.current.getElementsByTagName("script");
|
|
2851
|
+
for (let h = 0; h < c.length; h++) {
|
|
2852
|
+
const b = c[h];
|
|
2853
|
+
if (b.src && !n.includes(b.src)) {
|
|
2854
|
+
n.push(b.src);
|
|
2855
|
+
const m = document.createElement("script");
|
|
2856
|
+
m.async = !0, m.src = b.src, document.head.appendChild(m);
|
|
2857
|
+
} else if (An(b) && !a.includes(b.innerText))
|
|
2852
2858
|
try {
|
|
2853
|
-
a.push(
|
|
2854
|
-
} catch (
|
|
2855
|
-
z.warn("[BUILDER.IO] `Embed`: Error running script:",
|
|
2859
|
+
a.push(b.innerText), new Function(b.innerText)();
|
|
2860
|
+
} catch (m) {
|
|
2861
|
+
z.warn("[BUILDER.IO] `Embed`: Error running script:", m);
|
|
2856
2862
|
}
|
|
2857
2863
|
}
|
|
2858
2864
|
}
|
|
2859
|
-
return
|
|
2865
|
+
return R(() => {
|
|
2860
2866
|
t.current && !o && (l(!0), d());
|
|
2861
2867
|
}, [t.current, o]), /* @__PURE__ */ s(
|
|
2862
2868
|
"div",
|
|
@@ -2867,7 +2873,7 @@ function An(e) {
|
|
|
2867
2873
|
}
|
|
2868
2874
|
);
|
|
2869
2875
|
}
|
|
2870
|
-
const
|
|
2876
|
+
const Wn = {
|
|
2871
2877
|
name: "Form:Form",
|
|
2872
2878
|
// editableTags: ['builder-form-error']
|
|
2873
2879
|
defaults: {
|
|
@@ -3104,90 +3110,90 @@ const Nn = {
|
|
|
3104
3110
|
builderComponents: !0,
|
|
3105
3111
|
builderLinkComponent: !0
|
|
3106
3112
|
}
|
|
3107
|
-
},
|
|
3113
|
+
}, Dn = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], $n = () => {
|
|
3108
3114
|
const e = process.env.NODE_ENV || "production";
|
|
3109
|
-
return
|
|
3115
|
+
return Dn.includes(e) ? e : "production";
|
|
3110
3116
|
};
|
|
3111
|
-
function
|
|
3117
|
+
function Fn(e) {
|
|
3112
3118
|
const t = L(null), [n, i] = I(() => "unsubmitted"), [a, r] = I(() => null), [o, l] = I(() => "");
|
|
3113
|
-
function d(
|
|
3114
|
-
var
|
|
3115
|
-
const
|
|
3119
|
+
function d(b) {
|
|
3120
|
+
var x, u;
|
|
3121
|
+
const m = {
|
|
3116
3122
|
...e.builderContext.rootState,
|
|
3117
|
-
...
|
|
3123
|
+
...b
|
|
3118
3124
|
};
|
|
3119
|
-
e.builderContext.rootSetState ? (
|
|
3125
|
+
e.builderContext.rootSetState ? (u = (x = e.builderContext).rootSetState) == null || u.call(x, m) : e.builderContext.rootState = m;
|
|
3120
3126
|
}
|
|
3121
|
-
function
|
|
3127
|
+
function c() {
|
|
3122
3128
|
return N() && e.previewState || n;
|
|
3123
3129
|
}
|
|
3124
|
-
function h(
|
|
3125
|
-
var
|
|
3126
|
-
const
|
|
3130
|
+
function h(b) {
|
|
3131
|
+
var x;
|
|
3132
|
+
const m = e.sendWithJs || e.sendSubmissionsTo === "email";
|
|
3127
3133
|
if (e.sendSubmissionsTo === "zapier")
|
|
3128
|
-
|
|
3129
|
-
else if (
|
|
3134
|
+
b.preventDefault();
|
|
3135
|
+
else if (m) {
|
|
3130
3136
|
if (!(e.action || e.sendSubmissionsTo === "email")) {
|
|
3131
|
-
|
|
3137
|
+
b.preventDefault();
|
|
3132
3138
|
return;
|
|
3133
3139
|
}
|
|
3134
|
-
|
|
3135
|
-
const
|
|
3136
|
-
let
|
|
3137
|
-
const p = new FormData(
|
|
3140
|
+
b.preventDefault();
|
|
3141
|
+
const u = b.currentTarget || b.target, g = e.customHeaders || {};
|
|
3142
|
+
let v;
|
|
3143
|
+
const p = new FormData(u), k = Array.from(u.querySelectorAll("input,select,textarea")).filter((f) => !!f.name).map((f) => {
|
|
3138
3144
|
let y;
|
|
3139
|
-
const T =
|
|
3140
|
-
if (
|
|
3141
|
-
if (
|
|
3142
|
-
if (
|
|
3143
|
-
return y =
|
|
3145
|
+
const T = f.name;
|
|
3146
|
+
if (f instanceof HTMLInputElement)
|
|
3147
|
+
if (f.type === "radio") {
|
|
3148
|
+
if (f.checked)
|
|
3149
|
+
return y = f.name, {
|
|
3144
3150
|
key: T,
|
|
3145
3151
|
value: y
|
|
3146
3152
|
};
|
|
3147
|
-
} else if (
|
|
3148
|
-
y =
|
|
3149
|
-
else if (
|
|
3150
|
-
const E =
|
|
3153
|
+
} else if (f.type === "checkbox")
|
|
3154
|
+
y = f.checked;
|
|
3155
|
+
else if (f.type === "number" || f.type === "range") {
|
|
3156
|
+
const E = f.valueAsNumber;
|
|
3151
3157
|
isNaN(E) || (y = E);
|
|
3152
3158
|
} else
|
|
3153
|
-
|
|
3159
|
+
f.type === "file" ? y = f.files : y = f.value;
|
|
3154
3160
|
else
|
|
3155
|
-
y =
|
|
3161
|
+
y = f.value;
|
|
3156
3162
|
return {
|
|
3157
3163
|
key: T,
|
|
3158
3164
|
value: y
|
|
3159
3165
|
};
|
|
3160
3166
|
});
|
|
3161
3167
|
let C = e.contentType;
|
|
3162
|
-
if (e.sendSubmissionsTo === "email" && (C = "multipart/form-data"), Array.from(k).forEach(({ value:
|
|
3163
|
-
(
|
|
3168
|
+
if (e.sendSubmissionsTo === "email" && (C = "multipart/form-data"), Array.from(k).forEach(({ value: f }) => {
|
|
3169
|
+
(f instanceof File || Array.isArray(f) && f[0] instanceof File || f instanceof FileList) && (C = "multipart/form-data");
|
|
3164
3170
|
}), C !== "application/json")
|
|
3165
|
-
|
|
3171
|
+
v = p;
|
|
3166
3172
|
else {
|
|
3167
|
-
const
|
|
3173
|
+
const f = {};
|
|
3168
3174
|
Array.from(k).forEach(({ value: y, key: T }) => {
|
|
3169
|
-
|
|
3170
|
-
}),
|
|
3175
|
+
We(f, T, y);
|
|
3176
|
+
}), v = JSON.stringify(f);
|
|
3171
3177
|
}
|
|
3172
|
-
C && C !== "multipart/form-data" && (
|
|
3173
|
-
const V = new CustomEvent("presubmit", { detail: { body:
|
|
3178
|
+
C && C !== "multipart/form-data" && (m && ((x = e.action) != null && x.includes("zapier.com")) || (g["content-type"] = C));
|
|
3179
|
+
const V = new CustomEvent("presubmit", { detail: { body: v } });
|
|
3174
3180
|
if (t.current && (t.current.dispatchEvent(V), V.defaultPrevented))
|
|
3175
3181
|
return;
|
|
3176
3182
|
i("sending");
|
|
3177
|
-
const w = `${
|
|
3183
|
+
const w = `${$n() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${e.builderContext.apiKey}&to=${btoa(
|
|
3178
3184
|
e.sendSubmissionsToEmail || ""
|
|
3179
|
-
)}&name=${encodeURIComponent(e.name || "")}`,
|
|
3180
|
-
Ve(
|
|
3181
|
-
async (
|
|
3185
|
+
)}&name=${encodeURIComponent(e.name || "")}`, S = e.sendSubmissionsTo === "email" ? w : e.action;
|
|
3186
|
+
Ve(S), fetch(S, { body: v, headers: g, method: e.method || "post" }).then(
|
|
3187
|
+
async (f) => {
|
|
3182
3188
|
let y;
|
|
3183
|
-
const T =
|
|
3184
|
-
if (T && T.indexOf("application/json") !== -1 ? y = await
|
|
3185
|
-
let E =
|
|
3189
|
+
const T = f.headers.get("content-type");
|
|
3190
|
+
if (T && T.indexOf("application/json") !== -1 ? y = await f.json() : y = await f.text(), !f.ok && e.errorMessagePath) {
|
|
3191
|
+
let E = $e(y, e.errorMessagePath);
|
|
3186
3192
|
E && (typeof E != "string" && (E = JSON.stringify(E)), l(E), d({ formErrorMessage: E }));
|
|
3187
3193
|
}
|
|
3188
|
-
if (r(y), i(
|
|
3194
|
+
if (r(y), i(f.ok ? "success" : "error"), f.ok) {
|
|
3189
3195
|
const E = new CustomEvent("submit:success", {
|
|
3190
|
-
detail: { res:
|
|
3196
|
+
detail: { res: f, body: y }
|
|
3191
3197
|
});
|
|
3192
3198
|
if (t.current) {
|
|
3193
3199
|
if (t.current.dispatchEvent(E), E.defaultPrevented)
|
|
@@ -3204,16 +3210,16 @@ function $n(e) {
|
|
|
3204
3210
|
location.href = e.successUrl;
|
|
3205
3211
|
}
|
|
3206
3212
|
},
|
|
3207
|
-
(
|
|
3213
|
+
(f) => {
|
|
3208
3214
|
const y = new CustomEvent("submit:error", {
|
|
3209
|
-
detail: { error:
|
|
3215
|
+
detail: { error: f }
|
|
3210
3216
|
});
|
|
3211
|
-
t.current && (t.current.dispatchEvent(y), y.defaultPrevented) || (r(
|
|
3217
|
+
t.current && (t.current.dispatchEvent(y), y.defaultPrevented) || (r(f), i("error"));
|
|
3212
3218
|
}
|
|
3213
3219
|
);
|
|
3214
3220
|
}
|
|
3215
3221
|
}
|
|
3216
|
-
return /* @__PURE__ */ B(
|
|
3222
|
+
return /* @__PURE__ */ B(P, { children: [
|
|
3217
3223
|
" ",
|
|
3218
3224
|
/* @__PURE__ */ B(
|
|
3219
3225
|
"form",
|
|
@@ -3223,11 +3229,11 @@ function $n(e) {
|
|
|
3223
3229
|
action: !e.sendWithJs && e.action,
|
|
3224
3230
|
method: e.method,
|
|
3225
3231
|
name: e.name,
|
|
3226
|
-
onSubmit: (
|
|
3232
|
+
onSubmit: (b) => h(b),
|
|
3227
3233
|
...e.attributes,
|
|
3228
3234
|
children: [
|
|
3229
3235
|
e.children,
|
|
3230
|
-
|
|
3236
|
+
c() === "error" ? /* @__PURE__ */ s(
|
|
3231
3237
|
$,
|
|
3232
3238
|
{
|
|
3233
3239
|
path: "errorMessage",
|
|
@@ -3235,7 +3241,7 @@ function $n(e) {
|
|
|
3235
3241
|
context: e.builderContext
|
|
3236
3242
|
}
|
|
3237
3243
|
) : null,
|
|
3238
|
-
|
|
3244
|
+
c() === "sending" ? /* @__PURE__ */ s(
|
|
3239
3245
|
$,
|
|
3240
3246
|
{
|
|
3241
3247
|
path: "sendingMessage",
|
|
@@ -3243,8 +3249,8 @@ function $n(e) {
|
|
|
3243
3249
|
context: e.builderContext
|
|
3244
3250
|
}
|
|
3245
3251
|
) : null,
|
|
3246
|
-
|
|
3247
|
-
|
|
3252
|
+
c() === "error" && a ? /* @__PURE__ */ s("pre", { className: "builder-form-error-text pre-7acc3b46", children: JSON.stringify(a, null, 2) }) : null,
|
|
3253
|
+
c() === "success" ? /* @__PURE__ */ s(
|
|
3248
3254
|
$,
|
|
3249
3255
|
{
|
|
3250
3256
|
path: "successMessage",
|
|
@@ -3260,7 +3266,7 @@ function $n(e) {
|
|
|
3260
3266
|
" "
|
|
3261
3267
|
] });
|
|
3262
3268
|
}
|
|
3263
|
-
const
|
|
3269
|
+
const Ln = {
|
|
3264
3270
|
name: "Form:Input",
|
|
3265
3271
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
|
|
3266
3272
|
inputs: [
|
|
@@ -3312,8 +3318,8 @@ const Fn = {
|
|
|
3312
3318
|
borderColor: "#ccc"
|
|
3313
3319
|
}
|
|
3314
3320
|
};
|
|
3315
|
-
function
|
|
3316
|
-
return /* @__PURE__ */
|
|
3321
|
+
function On(e) {
|
|
3322
|
+
return /* @__PURE__ */ Ne(
|
|
3317
3323
|
"input",
|
|
3318
3324
|
{
|
|
3319
3325
|
...e.attributes,
|
|
@@ -3327,7 +3333,7 @@ function Ln(e) {
|
|
|
3327
3333
|
}
|
|
3328
3334
|
);
|
|
3329
3335
|
}
|
|
3330
|
-
const
|
|
3336
|
+
const Un = {
|
|
3331
3337
|
name: "Form:Select",
|
|
3332
3338
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
|
|
3333
3339
|
defaultStyles: {
|
|
@@ -3370,9 +3376,9 @@ const On = {
|
|
|
3370
3376
|
static: !0,
|
|
3371
3377
|
noWrap: !0
|
|
3372
3378
|
};
|
|
3373
|
-
function
|
|
3379
|
+
function _n(e) {
|
|
3374
3380
|
var t;
|
|
3375
|
-
return /* @__PURE__ */
|
|
3381
|
+
return /* @__PURE__ */ Ne(
|
|
3376
3382
|
"select",
|
|
3377
3383
|
{
|
|
3378
3384
|
...e.attributes,
|
|
@@ -3385,7 +3391,7 @@ function Un(e) {
|
|
|
3385
3391
|
(t = e.options) == null ? void 0 : t.map((n, i) => /* @__PURE__ */ s("option", { value: n.value, children: n.name || n.value }, `${n.name}-${i}`))
|
|
3386
3392
|
);
|
|
3387
3393
|
}
|
|
3388
|
-
const
|
|
3394
|
+
const qn = {
|
|
3389
3395
|
name: "Form:SubmitButton",
|
|
3390
3396
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
|
|
3391
3397
|
defaultStyles: {
|
|
@@ -3411,10 +3417,10 @@ const _n = {
|
|
|
3411
3417
|
// TODO: defaultChildren
|
|
3412
3418
|
// canHaveChildren: true,
|
|
3413
3419
|
};
|
|
3414
|
-
function
|
|
3420
|
+
function Hn(e) {
|
|
3415
3421
|
return /* @__PURE__ */ s("button", { type: "submit", ...e.attributes, children: e.text });
|
|
3416
3422
|
}
|
|
3417
|
-
const
|
|
3423
|
+
const Mn = {
|
|
3418
3424
|
name: "Form:TextArea",
|
|
3419
3425
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
|
|
3420
3426
|
inputs: [{
|
|
@@ -3451,7 +3457,7 @@ const Hn = {
|
|
|
3451
3457
|
static: !0,
|
|
3452
3458
|
noWrap: !0
|
|
3453
3459
|
};
|
|
3454
|
-
function
|
|
3460
|
+
function jn(e) {
|
|
3455
3461
|
return /* @__PURE__ */ s(
|
|
3456
3462
|
"textarea",
|
|
3457
3463
|
{
|
|
@@ -3464,7 +3470,7 @@ function Mn(e) {
|
|
|
3464
3470
|
}
|
|
3465
3471
|
);
|
|
3466
3472
|
}
|
|
3467
|
-
const
|
|
3473
|
+
const zn = {
|
|
3468
3474
|
// friendlyName?
|
|
3469
3475
|
name: "Raw:Img",
|
|
3470
3476
|
hideFromInsertMenu: !0,
|
|
@@ -3479,7 +3485,7 @@ const jn = {
|
|
|
3479
3485
|
noWrap: !0,
|
|
3480
3486
|
static: !0
|
|
3481
3487
|
};
|
|
3482
|
-
function
|
|
3488
|
+
function Kn(e) {
|
|
3483
3489
|
return /* @__PURE__ */ s(
|
|
3484
3490
|
"img",
|
|
3485
3491
|
{
|
|
@@ -3494,7 +3500,7 @@ function zn(e) {
|
|
|
3494
3500
|
N() && e.imgSrc || "default-key"
|
|
3495
3501
|
);
|
|
3496
3502
|
}
|
|
3497
|
-
const
|
|
3503
|
+
const Jn = {
|
|
3498
3504
|
name: "Video",
|
|
3499
3505
|
canHaveChildren: !0,
|
|
3500
3506
|
defaultStyles: {
|
|
@@ -3505,7 +3511,7 @@ const Kn = {
|
|
|
3505
3511
|
inputs: [{
|
|
3506
3512
|
name: "video",
|
|
3507
3513
|
type: "file",
|
|
3508
|
-
allowedFileTypes:
|
|
3514
|
+
allowedFileTypes: un,
|
|
3509
3515
|
bubble: !0,
|
|
3510
3516
|
defaultValue: "https://cdn.builder.io/o/assets%2FYJIGb4i01jvw0SRdL5Bt%2Fd27731a526464deba0016216f5f9e570%2Fcompressed?apiKey=YJIGb4i01jvw0SRdL5Bt&token=d27731a526464deba0016216f5f9e570&alt=media&optimized=true",
|
|
3511
3517
|
required: !0
|
|
@@ -3579,8 +3585,8 @@ const Kn = {
|
|
|
3579
3585
|
builderBlock: !0
|
|
3580
3586
|
}
|
|
3581
3587
|
};
|
|
3582
|
-
function
|
|
3583
|
-
var o, l, d,
|
|
3588
|
+
function Gn(e) {
|
|
3589
|
+
var o, l, d, c, h, b, m;
|
|
3584
3590
|
const t = L(null);
|
|
3585
3591
|
function n() {
|
|
3586
3592
|
return {
|
|
@@ -3608,28 +3614,28 @@ function Jn(e) {
|
|
|
3608
3614
|
}
|
|
3609
3615
|
const [a, r] = I(() => {
|
|
3610
3616
|
});
|
|
3611
|
-
return
|
|
3617
|
+
return R(() => {
|
|
3612
3618
|
if (e.lazyLoad) {
|
|
3613
|
-
const
|
|
3614
|
-
|
|
3615
|
-
if (!
|
|
3619
|
+
const x = new IntersectionObserver(function(u) {
|
|
3620
|
+
u.forEach(function(g) {
|
|
3621
|
+
if (!g.isIntersecting)
|
|
3616
3622
|
return;
|
|
3617
|
-
const
|
|
3623
|
+
const v = g.target;
|
|
3618
3624
|
try {
|
|
3619
|
-
Array.from(
|
|
3625
|
+
Array.from(v.children).filter(
|
|
3620
3626
|
(p) => p instanceof HTMLElement && p.tagName === "SOURCE"
|
|
3621
3627
|
).forEach((p) => {
|
|
3622
3628
|
const k = p.dataset.src;
|
|
3623
3629
|
k && (p.src = k);
|
|
3624
|
-
}),
|
|
3630
|
+
}), v.load(), x.unobserve(v);
|
|
3625
3631
|
} catch (p) {
|
|
3626
3632
|
console.error("Error loading lazy video:", p);
|
|
3627
3633
|
}
|
|
3628
3634
|
});
|
|
3629
3635
|
});
|
|
3630
|
-
t.current &&
|
|
3636
|
+
t.current && x.observe(t.current), r(x);
|
|
3631
3637
|
}
|
|
3632
|
-
}, []),
|
|
3638
|
+
}, []), R(() => () => {
|
|
3633
3639
|
a && a.disconnect();
|
|
3634
3640
|
}, []), /* @__PURE__ */ B(
|
|
3635
3641
|
"div",
|
|
@@ -3683,7 +3689,7 @@ function Jn(e) {
|
|
|
3683
3689
|
}
|
|
3684
3690
|
}
|
|
3685
3691
|
) : null,
|
|
3686
|
-
(h = (
|
|
3692
|
+
(h = (c = e.builderBlock) == null ? void 0 : c.children) != null && h.length && e.fitContent ? /* @__PURE__ */ s(
|
|
3687
3693
|
"div",
|
|
3688
3694
|
{
|
|
3689
3695
|
style: {
|
|
@@ -3694,7 +3700,7 @@ function Jn(e) {
|
|
|
3694
3700
|
children: e.children
|
|
3695
3701
|
}
|
|
3696
3702
|
) : null,
|
|
3697
|
-
(
|
|
3703
|
+
(m = (b = e.builderBlock) == null ? void 0 : b.children) != null && m.length && !e.fitContent ? /* @__PURE__ */ s(
|
|
3698
3704
|
"div",
|
|
3699
3705
|
{
|
|
3700
3706
|
style: {
|
|
@@ -3715,67 +3721,67 @@ function Jn(e) {
|
|
|
3715
3721
|
}
|
|
3716
3722
|
);
|
|
3717
3723
|
}
|
|
3718
|
-
const
|
|
3719
|
-
component:
|
|
3720
|
-
...
|
|
3724
|
+
const Qn = () => [{
|
|
3725
|
+
component: Pn,
|
|
3726
|
+
...Rn
|
|
3721
3727
|
}, {
|
|
3722
|
-
component:
|
|
3728
|
+
component: Nn,
|
|
3723
3729
|
...Vn
|
|
3724
3730
|
}, {
|
|
3725
|
-
component:
|
|
3726
|
-
...
|
|
3727
|
-
}, {
|
|
3728
|
-
component: Ln,
|
|
3729
|
-
...Fn
|
|
3731
|
+
component: Fn,
|
|
3732
|
+
...Wn
|
|
3730
3733
|
}, {
|
|
3731
|
-
component:
|
|
3732
|
-
...
|
|
3734
|
+
component: On,
|
|
3735
|
+
...Ln
|
|
3733
3736
|
}, {
|
|
3734
|
-
component:
|
|
3735
|
-
...
|
|
3737
|
+
component: Hn,
|
|
3738
|
+
...qn
|
|
3736
3739
|
}, {
|
|
3737
|
-
component:
|
|
3738
|
-
...
|
|
3740
|
+
component: _n,
|
|
3741
|
+
...Un
|
|
3739
3742
|
}, {
|
|
3740
|
-
component:
|
|
3741
|
-
...
|
|
3743
|
+
component: jn,
|
|
3744
|
+
...Mn
|
|
3742
3745
|
}, {
|
|
3743
|
-
component:
|
|
3744
|
-
...
|
|
3745
|
-
}], Te = () => [{
|
|
3746
|
-
component: ut,
|
|
3747
|
-
...rn
|
|
3746
|
+
component: Kn,
|
|
3747
|
+
...zn
|
|
3748
3748
|
}, {
|
|
3749
|
-
component:
|
|
3749
|
+
component: Gn,
|
|
3750
|
+
...Jn
|
|
3751
|
+
}], we = () => [{
|
|
3752
|
+
component: dt,
|
|
3750
3753
|
...ln
|
|
3751
3754
|
}, {
|
|
3752
3755
|
component: Xt,
|
|
3753
3756
|
...sn
|
|
3754
3757
|
}, {
|
|
3755
|
-
component:
|
|
3756
|
-
...
|
|
3758
|
+
component: Zt,
|
|
3759
|
+
...cn
|
|
3757
3760
|
}, {
|
|
3758
3761
|
component: nn,
|
|
3759
|
-
...
|
|
3762
|
+
...dn
|
|
3760
3763
|
}, {
|
|
3761
|
-
component:
|
|
3764
|
+
component: an,
|
|
3762
3765
|
...xn
|
|
3763
3766
|
}, {
|
|
3764
|
-
component:
|
|
3765
|
-
...
|
|
3767
|
+
component: kn,
|
|
3768
|
+
...Sn
|
|
3766
3769
|
}, {
|
|
3767
|
-
component:
|
|
3768
|
-
...
|
|
3770
|
+
component: Si,
|
|
3771
|
+
...Cn
|
|
3769
3772
|
}, {
|
|
3770
|
-
component:
|
|
3771
|
-
...
|
|
3773
|
+
component: En,
|
|
3774
|
+
...In
|
|
3772
3775
|
}, {
|
|
3773
|
-
component:
|
|
3774
|
-
...
|
|
3776
|
+
component: vn,
|
|
3777
|
+
...mn
|
|
3778
|
+
}, {
|
|
3779
|
+
component: wn,
|
|
3780
|
+
...Tn
|
|
3775
3781
|
}, {
|
|
3776
|
-
component:
|
|
3777
|
-
...
|
|
3778
|
-
}, ...
|
|
3782
|
+
component: rn,
|
|
3783
|
+
...on
|
|
3784
|
+
}, ...Qn()], Yn = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget, isAngularSDK) {
|
|
3779
3785
|
function getAndSetVariantId() {
|
|
3780
3786
|
function setCookie(name, value, days) {
|
|
3781
3787
|
let expires = '';
|
|
@@ -3834,7 +3840,7 @@ const Gn = () => [{
|
|
|
3834
3840
|
}).join('');
|
|
3835
3841
|
styleEl.innerHTML = newStyleStr;
|
|
3836
3842
|
}
|
|
3837
|
-
}`,
|
|
3843
|
+
}`, Xn = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
|
|
3838
3844
|
if (!navigator.cookieEnabled) {
|
|
3839
3845
|
return;
|
|
3840
3846
|
}
|
|
@@ -3868,29 +3874,29 @@ const Gn = () => [{
|
|
|
3868
3874
|
thisScriptEl?.remove();
|
|
3869
3875
|
}
|
|
3870
3876
|
return;
|
|
3871
|
-
}`,
|
|
3877
|
+
}`, Ke = "builderIoAbTest", Je = "builderIoRenderContent", G = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
|
|
3872
3878
|
...t,
|
|
3873
3879
|
testVariationId: t.id,
|
|
3874
3880
|
id: e == null ? void 0 : e.id
|
|
3875
|
-
})),
|
|
3881
|
+
})), Zn = ({
|
|
3876
3882
|
canTrack: e,
|
|
3877
3883
|
content: t
|
|
3878
|
-
}) => !(!(G(t).length > 0) || !e || U()),
|
|
3879
|
-
window.${ze} = ${Qn}
|
|
3884
|
+
}) => !(!(G(t).length > 0) || !e || U()), ei = (e) => e === "react" || e === "reactNative", ti = O === "angular", Ge = ei(O), ni = () => `
|
|
3880
3885
|
window.${Ke} = ${Yn}
|
|
3881
|
-
|
|
3882
|
-
|
|
3883
|
-
|
|
3884
|
-
|
|
3886
|
+
window.${Je} = ${Xn}
|
|
3887
|
+
`, ii = (e, t) => `
|
|
3888
|
+
window.${Ke}(
|
|
3889
|
+
"${t}",${JSON.stringify(e)}, ${Ge}, ${ti}
|
|
3890
|
+
)`, ai = ({
|
|
3885
3891
|
contentId: e,
|
|
3886
3892
|
variationId: t
|
|
3887
|
-
}) => `window.${
|
|
3888
|
-
"${t}", "${e}", ${
|
|
3893
|
+
}) => `window.${Je}(
|
|
3894
|
+
"${t}", "${e}", ${Ge}
|
|
3889
3895
|
)`;
|
|
3890
|
-
function
|
|
3896
|
+
function Ie(e) {
|
|
3891
3897
|
return Math.round(e * 1e3) / 1e3;
|
|
3892
3898
|
}
|
|
3893
|
-
const
|
|
3899
|
+
const oi = (e, t, n = !0) => {
|
|
3894
3900
|
if (!(e instanceof HTMLElement))
|
|
3895
3901
|
return null;
|
|
3896
3902
|
let i = n ? e : e.parentElement;
|
|
@@ -3901,35 +3907,35 @@ const ai = (e, t, n = !0) => {
|
|
|
3901
3907
|
return i;
|
|
3902
3908
|
} while (i = i.parentElement);
|
|
3903
3909
|
return null;
|
|
3904
|
-
},
|
|
3910
|
+
}, ri = (e) => oi(e, (t) => {
|
|
3905
3911
|
const n = t.getAttribute("builder-id") || t.id;
|
|
3906
3912
|
return (n == null ? void 0 : n.indexOf("builder-")) === 0;
|
|
3907
|
-
}),
|
|
3913
|
+
}), Ee = ({
|
|
3908
3914
|
event: e,
|
|
3909
3915
|
target: t
|
|
3910
3916
|
}) => {
|
|
3911
|
-
const n = t.getBoundingClientRect(), i = e.clientX - n.left, a = e.clientY - n.top, r =
|
|
3917
|
+
const n = t.getBoundingClientRect(), i = e.clientX - n.left, a = e.clientY - n.top, r = Ie(i / n.width), o = Ie(a / n.height);
|
|
3912
3918
|
return {
|
|
3913
3919
|
x: r,
|
|
3914
3920
|
y: o
|
|
3915
3921
|
};
|
|
3916
|
-
},
|
|
3917
|
-
const t = e.target, n = t &&
|
|
3922
|
+
}, li = (e) => {
|
|
3923
|
+
const t = e.target, n = t && ri(t), i = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
|
|
3918
3924
|
return {
|
|
3919
3925
|
targetBuilderElement: i || void 0,
|
|
3920
3926
|
metadata: {
|
|
3921
|
-
targetOffset: t ?
|
|
3927
|
+
targetOffset: t ? Ee({
|
|
3922
3928
|
event: e,
|
|
3923
3929
|
target: t
|
|
3924
3930
|
}) : void 0,
|
|
3925
|
-
builderTargetOffset: n ?
|
|
3931
|
+
builderTargetOffset: n ? Ee({
|
|
3926
3932
|
event: e,
|
|
3927
3933
|
target: n
|
|
3928
3934
|
}) : void 0,
|
|
3929
3935
|
builderElementIndex: n && i ? [].slice.call(document.getElementsByClassName(i)).indexOf(n) : void 0
|
|
3930
3936
|
}
|
|
3931
3937
|
};
|
|
3932
|
-
},
|
|
3938
|
+
}, si = ["svelte", "qwik", "vue"], Re = () => si.includes(O) && (N() || X()), ci = (e) => {
|
|
3933
3939
|
var r, o;
|
|
3934
3940
|
const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], i = (o = e.fileUrl) != null ? o : (r = e == null ? void 0 : e.files) == null ? void 0 : r.regular;
|
|
3935
3941
|
let a = "";
|
|
@@ -3944,26 +3950,26 @@ font-weight: 400;
|
|
|
3944
3950
|
for (const l in e.files) {
|
|
3945
3951
|
if (!(String(Number(l)) === l))
|
|
3946
3952
|
continue;
|
|
3947
|
-
const
|
|
3948
|
-
|
|
3953
|
+
const c = e.files[l];
|
|
3954
|
+
c && c !== i && (a += `
|
|
3949
3955
|
@font-face {
|
|
3950
3956
|
font-family: "${t}";
|
|
3951
|
-
src: url('${
|
|
3957
|
+
src: url('${c}') format('woff2');
|
|
3952
3958
|
font-display: fallback;
|
|
3953
3959
|
font-weight: ${l};
|
|
3954
3960
|
}
|
|
3955
3961
|
`.trim());
|
|
3956
3962
|
}
|
|
3957
3963
|
return a;
|
|
3958
|
-
},
|
|
3964
|
+
}, ui = ({
|
|
3959
3965
|
customFonts: e
|
|
3960
3966
|
}) => {
|
|
3961
3967
|
var t;
|
|
3962
|
-
return ((t = e == null ? void 0 : e.map((n) =>
|
|
3963
|
-
},
|
|
3968
|
+
return ((t = e == null ? void 0 : e.map((n) => ci(n))) == null ? void 0 : t.join(" ")) || "";
|
|
3969
|
+
}, di = ({
|
|
3964
3970
|
cssCode: e,
|
|
3965
3971
|
contentId: t
|
|
3966
|
-
}) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "",
|
|
3972
|
+
}) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", mi = `
|
|
3967
3973
|
.builder-button {
|
|
3968
3974
|
all: unset;
|
|
3969
3975
|
}
|
|
@@ -3980,29 +3986,29 @@ font-weight: ${l};
|
|
|
3980
3986
|
text-align: inherit;
|
|
3981
3987
|
font-family: inherit;
|
|
3982
3988
|
}
|
|
3983
|
-
`,
|
|
3984
|
-
function
|
|
3989
|
+
`, fi = (e) => e ? "" : mi, hi = (e) => `variant-${e}`;
|
|
3990
|
+
function gi(e) {
|
|
3985
3991
|
var k, C, V;
|
|
3986
3992
|
const t = L(null);
|
|
3987
3993
|
I(() => !1);
|
|
3988
3994
|
function n(w) {
|
|
3989
|
-
var
|
|
3990
|
-
const
|
|
3995
|
+
var f, y;
|
|
3996
|
+
const S = {
|
|
3991
3997
|
...e.builderContextSignal.rootState,
|
|
3992
3998
|
...w
|
|
3993
3999
|
};
|
|
3994
|
-
e.builderContextSignal.rootSetState ? (y = (
|
|
4000
|
+
e.builderContextSignal.rootSetState ? (y = (f = e.builderContextSignal).rootSetState) == null || y.call(f, S) : e.setBuilderContextSignal((T) => ({
|
|
3995
4001
|
...T,
|
|
3996
|
-
rootState:
|
|
4002
|
+
rootState: S
|
|
3997
4003
|
}));
|
|
3998
4004
|
}
|
|
3999
4005
|
function i(w) {
|
|
4000
|
-
var
|
|
4001
|
-
const
|
|
4006
|
+
var f, y, T, E, A;
|
|
4007
|
+
const S = {
|
|
4002
4008
|
...e.builderContextSignal.content,
|
|
4003
4009
|
...w,
|
|
4004
4010
|
data: {
|
|
4005
|
-
...(
|
|
4011
|
+
...(f = e.builderContextSignal.content) == null ? void 0 : f.data,
|
|
4006
4012
|
...w == null ? void 0 : w.data
|
|
4007
4013
|
},
|
|
4008
4014
|
meta: {
|
|
@@ -4013,7 +4019,7 @@ function hi(e) {
|
|
|
4013
4019
|
};
|
|
4014
4020
|
e.setBuilderContextSignal((W) => ({
|
|
4015
4021
|
...W,
|
|
4016
|
-
content:
|
|
4022
|
+
content: S
|
|
4017
4023
|
}));
|
|
4018
4024
|
}
|
|
4019
4025
|
function a() {
|
|
@@ -4026,36 +4032,36 @@ function hi(e) {
|
|
|
4026
4032
|
() => e.contentWrapper || "div"
|
|
4027
4033
|
);
|
|
4028
4034
|
function l(w) {
|
|
4029
|
-
return
|
|
4035
|
+
return et({
|
|
4030
4036
|
model: e.model,
|
|
4031
4037
|
trustedHosts: e.trustedHosts,
|
|
4032
4038
|
callbacks: {
|
|
4033
|
-
configureSdk: (
|
|
4039
|
+
configureSdk: (S) => {
|
|
4034
4040
|
var T;
|
|
4035
|
-
const { breakpoints:
|
|
4036
|
-
!y || y !== ((T = e.builderContextSignal.content) == null ? void 0 : T.id) ||
|
|
4041
|
+
const { breakpoints: f, contentId: y } = S;
|
|
4042
|
+
!y || y !== ((T = e.builderContextSignal.content) == null ? void 0 : T.id) || f && i({
|
|
4037
4043
|
meta: {
|
|
4038
|
-
breakpoints:
|
|
4044
|
+
breakpoints: f
|
|
4039
4045
|
}
|
|
4040
4046
|
});
|
|
4041
4047
|
},
|
|
4042
|
-
animation: (
|
|
4043
|
-
|
|
4048
|
+
animation: (S) => {
|
|
4049
|
+
Ue(S);
|
|
4044
4050
|
},
|
|
4045
|
-
contentUpdate: (
|
|
4046
|
-
i(
|
|
4051
|
+
contentUpdate: (S) => {
|
|
4052
|
+
i(S);
|
|
4047
4053
|
},
|
|
4048
|
-
stateUpdate: (
|
|
4049
|
-
n(
|
|
4054
|
+
stateUpdate: (S) => {
|
|
4055
|
+
n(S);
|
|
4050
4056
|
}
|
|
4051
4057
|
}
|
|
4052
4058
|
})(w);
|
|
4053
4059
|
}
|
|
4054
|
-
const [d,
|
|
4055
|
-
function
|
|
4056
|
-
var
|
|
4060
|
+
const [d, c] = I(() => ({})), [h, b] = I(() => ({})), [m, x] = I(() => !1);
|
|
4061
|
+
function u(w) {
|
|
4062
|
+
var S, f;
|
|
4057
4063
|
if (e.builderContextSignal.content) {
|
|
4058
|
-
const y = (
|
|
4064
|
+
const y = (S = e.builderContextSignal.content) == null ? void 0 : S.testVariationId, T = (f = e.builderContextSignal.content) == null ? void 0 : f.id;
|
|
4059
4065
|
pe({
|
|
4060
4066
|
apiHost: e.apiHost,
|
|
4061
4067
|
type: "click",
|
|
@@ -4063,15 +4069,15 @@ function hi(e) {
|
|
|
4063
4069
|
contentId: T,
|
|
4064
4070
|
apiKey: e.apiKey,
|
|
4065
4071
|
variationId: y !== T ? y : void 0,
|
|
4066
|
-
...
|
|
4067
|
-
unique: !
|
|
4072
|
+
...li(w),
|
|
4073
|
+
unique: !m
|
|
4068
4074
|
});
|
|
4069
4075
|
}
|
|
4070
|
-
|
|
4076
|
+
m || x(!0);
|
|
4071
4077
|
}
|
|
4072
|
-
function
|
|
4073
|
-
var
|
|
4074
|
-
const w = (y = (
|
|
4078
|
+
function g() {
|
|
4079
|
+
var S, f, y;
|
|
4080
|
+
const w = (y = (f = (S = e.builderContextSignal.content) == null ? void 0 : S.data) == null ? void 0 : f.httpRequests) != null ? y : {};
|
|
4075
4081
|
Object.entries(w).forEach(([T, E]) => {
|
|
4076
4082
|
if (!E || h[T] || d[T] && !N())
|
|
4077
4083
|
return;
|
|
@@ -4099,7 +4105,7 @@ function hi(e) {
|
|
|
4099
4105
|
});
|
|
4100
4106
|
});
|
|
4101
4107
|
}
|
|
4102
|
-
function
|
|
4108
|
+
function v() {
|
|
4103
4109
|
N() && window.dispatchEvent(
|
|
4104
4110
|
new CustomEvent(
|
|
4105
4111
|
"builder:component:stateChange",
|
|
@@ -4115,10 +4121,10 @@ function hi(e) {
|
|
|
4115
4121
|
);
|
|
4116
4122
|
}
|
|
4117
4123
|
const p = L(!1);
|
|
4118
|
-
return p.current || (
|
|
4119
|
-
var w,
|
|
4124
|
+
return p.current || (g(), v(), p.current = !0), R(() => {
|
|
4125
|
+
var w, S, f, y, T;
|
|
4120
4126
|
if (U()) {
|
|
4121
|
-
N() && !e.isNestedRender && (window.addEventListener("message", l),
|
|
4127
|
+
N() && !e.isNestedRender && (window.addEventListener("message", l), Qe(), Ye({
|
|
4122
4128
|
...e.locale ? {
|
|
4123
4129
|
locale: e.locale
|
|
4124
4130
|
} : {},
|
|
@@ -4135,17 +4141,17 @@ function hi(e) {
|
|
|
4135
4141
|
).forEach((D) => {
|
|
4136
4142
|
var F, J;
|
|
4137
4143
|
if (!((F = D.models) != null && F.length) || D.models.includes(e.model)) {
|
|
4138
|
-
const te =
|
|
4144
|
+
const te = Xe(D);
|
|
4139
4145
|
(J = window.parent) == null || J.postMessage(te, "*");
|
|
4140
4146
|
}
|
|
4141
4147
|
}), window.addEventListener(
|
|
4142
4148
|
"builder:component:stateChangeListenerActivated",
|
|
4143
|
-
|
|
4149
|
+
v
|
|
4144
4150
|
));
|
|
4145
|
-
const E = e.builderContextSignal.content && M(e.canTrack), A =
|
|
4146
|
-
name: `builder.tests.${(
|
|
4151
|
+
const E = e.builderContextSignal.content && M(e.canTrack), A = Ze({
|
|
4152
|
+
name: `builder.tests.${(S = e.builderContextSignal.content) == null ? void 0 : S.id}`,
|
|
4147
4153
|
canTrack: !0
|
|
4148
|
-
}), W = (
|
|
4154
|
+
}), W = (f = e.builderContextSignal.content) == null ? void 0 : f.testVariationId;
|
|
4149
4155
|
if (E && W === A) {
|
|
4150
4156
|
const D = (y = e.builderContextSignal.content) == null ? void 0 : y.id, F = e.apiKey;
|
|
4151
4157
|
pe({
|
|
@@ -4161,7 +4167,7 @@ function hi(e) {
|
|
|
4161
4167
|
const D = new URL(location.href).searchParams, F = D.get("builder.preview"), J = D.get(
|
|
4162
4168
|
`builder.overrides.${F}`
|
|
4163
4169
|
), te = D.get("apiKey") || D.get("builder.space");
|
|
4164
|
-
(F === "BUILDER_STUDIO" || F === e.model && te === e.apiKey && (!e.content || J === e.content.id)) &&
|
|
4170
|
+
(F === "BUILDER_STUDIO" || F === e.model && te === e.apiKey && (!e.content || J === e.content.id)) && Be({
|
|
4165
4171
|
model: e.model,
|
|
4166
4172
|
apiKey: e.apiKey,
|
|
4167
4173
|
apiVersion: e.builderContextSignal.apiVersion,
|
|
@@ -4175,33 +4181,33 @@ function hi(e) {
|
|
|
4175
4181
|
});
|
|
4176
4182
|
}
|
|
4177
4183
|
}
|
|
4178
|
-
}, []),
|
|
4184
|
+
}, []), R(() => {
|
|
4179
4185
|
e.content && i(e.content);
|
|
4180
|
-
}, [e.content]),
|
|
4181
|
-
|
|
4182
|
-
}, [e.builderContextSignal.rootState]),
|
|
4186
|
+
}, [e.content]), R(() => {
|
|
4187
|
+
v();
|
|
4188
|
+
}, [e.builderContextSignal.rootState]), R(() => {
|
|
4183
4189
|
e.data && n(e.data);
|
|
4184
|
-
}, [e.data]),
|
|
4190
|
+
}, [e.data]), R(() => {
|
|
4185
4191
|
e.locale && n({
|
|
4186
4192
|
locale: e.locale
|
|
4187
4193
|
});
|
|
4188
|
-
}, [e.locale]),
|
|
4194
|
+
}, [e.locale]), R(() => () => {
|
|
4189
4195
|
U() && (window.removeEventListener("message", l), window.removeEventListener(
|
|
4190
4196
|
"builder:component:stateChangeListenerActivated",
|
|
4191
|
-
|
|
4197
|
+
v
|
|
4192
4198
|
));
|
|
4193
|
-
}, []), /* @__PURE__ */ s(me.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content ||
|
|
4199
|
+
}, []), /* @__PURE__ */ s(me.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content || Re() ? /* @__PURE__ */ s(
|
|
4194
4200
|
r,
|
|
4195
4201
|
{
|
|
4196
4202
|
ref: t,
|
|
4197
|
-
onClick: (w) =>
|
|
4203
|
+
onClick: (w) => u(w),
|
|
4198
4204
|
"builder-content-id": (k = e.builderContextSignal.content) == null ? void 0 : k.id,
|
|
4199
4205
|
"builder-model": e.model,
|
|
4200
|
-
className:
|
|
4206
|
+
className: hi(
|
|
4201
4207
|
((C = e.content) == null ? void 0 : C.testVariationId) || ((V = e.content) == null ? void 0 : V.id)
|
|
4202
4208
|
),
|
|
4203
4209
|
style: {
|
|
4204
|
-
display: !e.builderContextSignal.content &&
|
|
4210
|
+
display: !e.builderContextSignal.content && Re() ? "none" : void 0
|
|
4205
4211
|
},
|
|
4206
4212
|
...a(),
|
|
4207
4213
|
...e.contentWrapperProps,
|
|
@@ -4209,17 +4215,17 @@ function hi(e) {
|
|
|
4209
4215
|
}
|
|
4210
4216
|
) : null });
|
|
4211
4217
|
}
|
|
4212
|
-
function
|
|
4218
|
+
function bi(e) {
|
|
4213
4219
|
const [t, n] = I(
|
|
4214
4220
|
() => `
|
|
4215
|
-
${
|
|
4221
|
+
${di({
|
|
4216
4222
|
cssCode: e.cssCode,
|
|
4217
4223
|
contentId: e.contentId
|
|
4218
4224
|
})}
|
|
4219
|
-
${
|
|
4225
|
+
${ui({
|
|
4220
4226
|
customFonts: e.customFonts
|
|
4221
4227
|
})}
|
|
4222
|
-
${
|
|
4228
|
+
${fi(e.isNestedRender)}
|
|
4223
4229
|
`.trim()
|
|
4224
4230
|
);
|
|
4225
4231
|
return /* @__PURE__ */ s(
|
|
@@ -4231,7 +4237,7 @@ ${mi(e.isNestedRender)}
|
|
|
4231
4237
|
}
|
|
4232
4238
|
);
|
|
4233
4239
|
}
|
|
4234
|
-
const
|
|
4240
|
+
const pi = ({
|
|
4235
4241
|
content: e,
|
|
4236
4242
|
data: t,
|
|
4237
4243
|
locale: n
|
|
@@ -4248,7 +4254,7 @@ const bi = ({
|
|
|
4248
4254
|
locale: n
|
|
4249
4255
|
} : {}
|
|
4250
4256
|
};
|
|
4251
|
-
},
|
|
4257
|
+
}, yi = ({
|
|
4252
4258
|
content: e,
|
|
4253
4259
|
data: t
|
|
4254
4260
|
}) => e ? {
|
|
@@ -4259,12 +4265,12 @@ const bi = ({
|
|
|
4259
4265
|
},
|
|
4260
4266
|
meta: e == null ? void 0 : e.meta
|
|
4261
4267
|
} : void 0;
|
|
4262
|
-
function
|
|
4263
|
-
var
|
|
4268
|
+
function Pe(e) {
|
|
4269
|
+
var c, h, b, m, x, u, g, v, p;
|
|
4264
4270
|
const [t, n] = I(
|
|
4265
4271
|
() => {
|
|
4266
4272
|
var k, C;
|
|
4267
|
-
return
|
|
4273
|
+
return ai({
|
|
4268
4274
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
|
|
4269
4275
|
variationId: (k = e.content) == null ? void 0 : k.testVariationId,
|
|
4270
4276
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
|
|
@@ -4280,7 +4286,7 @@ function Re(e) {
|
|
|
4280
4286
|
}
|
|
4281
4287
|
const [a, r] = I(
|
|
4282
4288
|
() => [
|
|
4283
|
-
...
|
|
4289
|
+
...we(),
|
|
4284
4290
|
...e.customComponents || []
|
|
4285
4291
|
].reduce(
|
|
4286
4292
|
(k, { component: C, ...V }) => ({
|
|
@@ -4293,12 +4299,12 @@ function Re(e) {
|
|
|
4293
4299
|
{}
|
|
4294
4300
|
)
|
|
4295
4301
|
), [o, l] = I(() => ({
|
|
4296
|
-
content:
|
|
4302
|
+
content: yi({
|
|
4297
4303
|
content: e.content,
|
|
4298
4304
|
data: e.data
|
|
4299
4305
|
}),
|
|
4300
4306
|
localState: void 0,
|
|
4301
|
-
rootState:
|
|
4307
|
+
rootState: pi({
|
|
4302
4308
|
content: e.content,
|
|
4303
4309
|
data: e.data,
|
|
4304
4310
|
locale: e.locale
|
|
@@ -4309,7 +4315,7 @@ function Re(e) {
|
|
|
4309
4315
|
apiKey: e.apiKey,
|
|
4310
4316
|
apiVersion: e.apiVersion,
|
|
4311
4317
|
componentInfos: [
|
|
4312
|
-
...
|
|
4318
|
+
...we(),
|
|
4313
4319
|
...e.customComponents || []
|
|
4314
4320
|
].reduce(
|
|
4315
4321
|
(k, { component: C, ...V }) => ({
|
|
@@ -4328,7 +4334,7 @@ function Re(e) {
|
|
|
4328
4334
|
e.apiKey || z.error(
|
|
4329
4335
|
"No API key provided to `Content` component. This can cause issues. Please provide an API key using the `apiKey` prop."
|
|
4330
4336
|
);
|
|
4331
|
-
const k = (h = (
|
|
4337
|
+
const k = (h = (c = o.content) == null ? void 0 : c.data) == null ? void 0 : h.jsCode;
|
|
4332
4338
|
k && _({
|
|
4333
4339
|
code: k,
|
|
4334
4340
|
context: e.context || {},
|
|
@@ -4341,13 +4347,13 @@ function Re(e) {
|
|
|
4341
4347
|
}), d.current = !0;
|
|
4342
4348
|
}
|
|
4343
4349
|
return /* @__PURE__ */ s(
|
|
4344
|
-
|
|
4350
|
+
De.Provider,
|
|
4345
4351
|
{
|
|
4346
4352
|
value: {
|
|
4347
4353
|
registeredComponents: a
|
|
4348
4354
|
},
|
|
4349
4355
|
children: /* @__PURE__ */ B(
|
|
4350
|
-
|
|
4356
|
+
gi,
|
|
4351
4357
|
{
|
|
4352
4358
|
apiHost: e.apiHost,
|
|
4353
4359
|
nonce: e.nonce,
|
|
@@ -4376,19 +4382,19 @@ function Re(e) {
|
|
|
4376
4382
|
}
|
|
4377
4383
|
) : null,
|
|
4378
4384
|
/* @__PURE__ */ s(
|
|
4379
|
-
|
|
4385
|
+
bi,
|
|
4380
4386
|
{
|
|
4381
4387
|
nonce: e.nonce || "",
|
|
4382
4388
|
isNestedRender: e.isNestedRender,
|
|
4383
|
-
contentId: (
|
|
4384
|
-
cssCode: (
|
|
4385
|
-
customFonts: (
|
|
4389
|
+
contentId: (b = o.content) == null ? void 0 : b.id,
|
|
4390
|
+
cssCode: (x = (m = o.content) == null ? void 0 : m.data) == null ? void 0 : x.cssCode,
|
|
4391
|
+
customFonts: (g = (u = o.content) == null ? void 0 : u.data) == null ? void 0 : g.customFonts
|
|
4386
4392
|
}
|
|
4387
4393
|
),
|
|
4388
4394
|
/* @__PURE__ */ s(
|
|
4389
4395
|
$,
|
|
4390
4396
|
{
|
|
4391
|
-
blocks: (p = (
|
|
4397
|
+
blocks: (p = (v = o.content) == null ? void 0 : v.data) == null ? void 0 : p.blocks,
|
|
4392
4398
|
context: o,
|
|
4393
4399
|
registeredComponents: a,
|
|
4394
4400
|
linkComponent: e.linkComponent
|
|
@@ -4400,17 +4406,17 @@ function Re(e) {
|
|
|
4400
4406
|
}
|
|
4401
4407
|
);
|
|
4402
4408
|
}
|
|
4403
|
-
function
|
|
4409
|
+
function vi(e) {
|
|
4404
4410
|
var o;
|
|
4405
4411
|
const [t, n] = I(
|
|
4406
|
-
() =>
|
|
4412
|
+
() => Zn({
|
|
4407
4413
|
canTrack: M(e.canTrack),
|
|
4408
4414
|
content: e.content
|
|
4409
4415
|
})
|
|
4410
4416
|
);
|
|
4411
4417
|
function i() {
|
|
4412
4418
|
var l;
|
|
4413
|
-
return
|
|
4419
|
+
return ii(
|
|
4414
4420
|
G(e.content).map((d) => ({
|
|
4415
4421
|
id: d.testVariationId,
|
|
4416
4422
|
testRatio: d.testRatio
|
|
@@ -4426,22 +4432,22 @@ function yi(e) {
|
|
|
4426
4432
|
return t ? {
|
|
4427
4433
|
...e.content,
|
|
4428
4434
|
testVariationId: (l = e.content) == null ? void 0 : l.id
|
|
4429
|
-
} :
|
|
4435
|
+
} : tt({
|
|
4430
4436
|
item: e.content,
|
|
4431
4437
|
canTrack: M(e.canTrack)
|
|
4432
4438
|
});
|
|
4433
4439
|
}
|
|
4434
|
-
return
|
|
4435
|
-
}, []), /* @__PURE__ */ B(
|
|
4440
|
+
return R(() => {
|
|
4441
|
+
}, []), /* @__PURE__ */ B(P, { children: [
|
|
4436
4442
|
!e.isNestedRender && O !== "reactNative" ? /* @__PURE__ */ s(
|
|
4437
4443
|
Y,
|
|
4438
4444
|
{
|
|
4439
4445
|
id: "builderio-init-variants-fns",
|
|
4440
|
-
scriptStr:
|
|
4446
|
+
scriptStr: ni(),
|
|
4441
4447
|
nonce: e.nonce || ""
|
|
4442
4448
|
}
|
|
4443
4449
|
) : null,
|
|
4444
|
-
t ? /* @__PURE__ */ B(
|
|
4450
|
+
t ? /* @__PURE__ */ B(P, { children: [
|
|
4445
4451
|
/* @__PURE__ */ s(
|
|
4446
4452
|
K,
|
|
4447
4453
|
{
|
|
@@ -4459,7 +4465,7 @@ function yi(e) {
|
|
|
4459
4465
|
}
|
|
4460
4466
|
),
|
|
4461
4467
|
(o = G(e.content)) == null ? void 0 : o.map((l) => /* @__PURE__ */ s(
|
|
4462
|
-
|
|
4468
|
+
Pe,
|
|
4463
4469
|
{
|
|
4464
4470
|
apiHost: e.apiHost,
|
|
4465
4471
|
isNestedRender: e.isNestedRender,
|
|
@@ -4487,7 +4493,7 @@ function yi(e) {
|
|
|
4487
4493
|
))
|
|
4488
4494
|
] }) : null,
|
|
4489
4495
|
/* @__PURE__ */ s(
|
|
4490
|
-
|
|
4496
|
+
Pe,
|
|
4491
4497
|
{
|
|
4492
4498
|
apiHost: e.apiHost,
|
|
4493
4499
|
nonce: e.nonce,
|
|
@@ -4514,13 +4520,13 @@ function yi(e) {
|
|
|
4514
4520
|
)
|
|
4515
4521
|
] });
|
|
4516
4522
|
}
|
|
4517
|
-
const
|
|
4523
|
+
const xi = async ({
|
|
4518
4524
|
builderContextValue: e,
|
|
4519
4525
|
symbol: t
|
|
4520
4526
|
}) => {
|
|
4521
4527
|
if (t != null && t.model && // This is a hack, we should not need to check for this, but it is needed for Svelte.
|
|
4522
4528
|
(e != null && e.apiKey))
|
|
4523
|
-
return
|
|
4529
|
+
return Be({
|
|
4524
4530
|
model: t.model,
|
|
4525
4531
|
apiKey: e.apiKey,
|
|
4526
4532
|
apiVersion: e.apiVersion,
|
|
@@ -4533,8 +4539,8 @@ const vi = async ({
|
|
|
4533
4539
|
z.error("Could not fetch symbol content: ", n);
|
|
4534
4540
|
});
|
|
4535
4541
|
};
|
|
4536
|
-
function
|
|
4537
|
-
var
|
|
4542
|
+
function Si(e) {
|
|
4543
|
+
var c, h, b, m, x;
|
|
4538
4544
|
function t() {
|
|
4539
4545
|
return "div";
|
|
4540
4546
|
}
|
|
@@ -4542,31 +4548,36 @@ function xi(e) {
|
|
|
4542
4548
|
return "div";
|
|
4543
4549
|
}
|
|
4544
4550
|
function i() {
|
|
4545
|
-
var
|
|
4551
|
+
var u, g;
|
|
4546
4552
|
return [
|
|
4547
4553
|
e.attributes[j()],
|
|
4548
4554
|
"builder-symbol",
|
|
4549
|
-
(
|
|
4550
|
-
(
|
|
4555
|
+
(u = e.symbol) != null && u.inline ? "builder-inline-symbol" : void 0,
|
|
4556
|
+
(g = e.symbol) != null && g.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
|
|
4551
4557
|
].filter(Boolean).join(" ");
|
|
4552
4558
|
}
|
|
4553
4559
|
const [a, r] = I(() => {
|
|
4554
|
-
var
|
|
4555
|
-
return (
|
|
4560
|
+
var u;
|
|
4561
|
+
return (u = e.symbol) == null ? void 0 : u.content;
|
|
4562
|
+
}), [o, l] = I(() => {
|
|
4563
|
+
var u;
|
|
4564
|
+
return (u = e.symbol) == null ? void 0 : u.entry;
|
|
4556
4565
|
});
|
|
4557
|
-
function
|
|
4558
|
-
|
|
4566
|
+
function d() {
|
|
4567
|
+
var u;
|
|
4568
|
+
a && o === ((u = e.symbol) == null ? void 0 : u.entry) || xi({
|
|
4559
4569
|
symbol: e.symbol,
|
|
4560
4570
|
builderContextValue: e.builderContext
|
|
4561
|
-
}).then((
|
|
4562
|
-
|
|
4571
|
+
}).then((g) => {
|
|
4572
|
+
var v;
|
|
4573
|
+
g && (r(g), l((v = e.symbol) == null ? void 0 : v.entry));
|
|
4563
4574
|
});
|
|
4564
4575
|
}
|
|
4565
|
-
return
|
|
4566
|
-
}, []),
|
|
4567
|
-
|
|
4576
|
+
return R(() => {
|
|
4577
|
+
}, []), R(() => {
|
|
4578
|
+
d();
|
|
4568
4579
|
}, [e.symbol]), /* @__PURE__ */ s("div", { ...e.attributes, className: i(), children: /* @__PURE__ */ s(
|
|
4569
|
-
|
|
4580
|
+
vi,
|
|
4570
4581
|
{
|
|
4571
4582
|
nonce: e.builderContext.nonce,
|
|
4572
4583
|
isNestedRender: !0,
|
|
@@ -4574,16 +4585,16 @@ function xi(e) {
|
|
|
4574
4585
|
apiKey: e.builderContext.apiKey,
|
|
4575
4586
|
context: {
|
|
4576
4587
|
...e.builderContext.context,
|
|
4577
|
-
symbolId: (
|
|
4588
|
+
symbolId: (c = e.builderBlock) == null ? void 0 : c.id
|
|
4578
4589
|
},
|
|
4579
4590
|
customComponents: Object.values(e.builderComponents),
|
|
4580
4591
|
data: {
|
|
4581
|
-
...(
|
|
4592
|
+
...(h = e.symbol) == null ? void 0 : h.data,
|
|
4582
4593
|
...e.builderContext.localState,
|
|
4583
|
-
...(
|
|
4594
|
+
...(b = a == null ? void 0 : a.data) == null ? void 0 : b.state
|
|
4584
4595
|
},
|
|
4585
4596
|
canTrack: e.builderContext.canTrack,
|
|
4586
|
-
model: (
|
|
4597
|
+
model: (x = (m = e.symbol) == null ? void 0 : m.model) != null ? x : "",
|
|
4587
4598
|
content: a,
|
|
4588
4599
|
linkComponent: e.builderLinkComponent,
|
|
4589
4600
|
blocksWrapper: t(),
|
|
@@ -4594,14 +4605,14 @@ function xi(e) {
|
|
|
4594
4605
|
export {
|
|
4595
4606
|
$ as Blocks,
|
|
4596
4607
|
me as BuilderContext,
|
|
4597
|
-
|
|
4598
|
-
|
|
4599
|
-
|
|
4600
|
-
|
|
4601
|
-
|
|
4602
|
-
|
|
4603
|
-
|
|
4604
|
-
|
|
4605
|
-
|
|
4606
|
-
|
|
4608
|
+
dt as Button,
|
|
4609
|
+
Xt as Columns,
|
|
4610
|
+
vi as Content,
|
|
4611
|
+
Zt as Fragment,
|
|
4612
|
+
nn as Image,
|
|
4613
|
+
an as Section,
|
|
4614
|
+
Si as Symbol,
|
|
4615
|
+
En as Text,
|
|
4616
|
+
Gn as Video,
|
|
4617
|
+
Pi as setClientUserAttributes
|
|
4607
4618
|
};
|