@builder.io/sdk-vue 2.0.13 → 2.0.14
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/{edge/block-styles-mSowNIFi.js → browser/block-styles-nWGppwAf.js} +14 -12
- package/lib/browser/block-styles-rt4v7rBl.cjs +1 -0
- package/lib/browser/{block-wrapper-7wDwU1ik.js → block-wrapper-hPYvxseU.js} +3 -3
- package/lib/browser/{block-wrapper-ianIz_MG.cjs → block-wrapper-l_mdj42t.cjs} +1 -1
- package/lib/browser/{component-ref-yQ6WDHbR.js → component-ref-JlpkOrad.js} +2 -2
- package/lib/browser/{component-ref-MlfJPaLv.cjs → component-ref-dPnPtrON.cjs} +1 -1
- package/lib/{edge/get-block-properties-Hs6W4UwL.js → browser/get-block-properties-HzVZCpxa.js} +20 -18
- package/lib/browser/get-block-properties-sInACBRh.cjs +1 -0
- package/lib/browser/index-MDNnQzZB.cjs +166 -0
- package/lib/browser/{index-3j8dJ25f.js → index-ZL8QUFiN.js} +546 -552
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +1 -1
- package/lib/browser/init.cjs +8 -0
- package/lib/browser/init.mjs +65 -0
- package/lib/browser/logger-0-1mARBa.cjs +1 -0
- package/lib/browser/logger-Hm2e1Xk_.js +12 -0
- package/lib/browser/{repeated-block-_EQDFqYb.js → repeated-block-8EN4xN25.js} +2 -2
- package/lib/browser/{repeated-block-BBHHbrlK.cjs → repeated-block-uV-zuqkw.cjs} +1 -1
- package/lib/edge/block-styles-Ta3OQAmE.cjs +1 -0
- package/lib/{browser/block-styles-03Qg_nl9.js → edge/block-styles-zRPUnWLf.js} +6 -6
- package/lib/{node/block-wrapper-8DA9SdPk.cjs → edge/block-wrapper-9IWz2vxg.cjs} +1 -1
- package/lib/{node/block-wrapper-wULOB3JK.js → edge/block-wrapper-x7ERONr-.js} +5 -5
- package/lib/{node/component-ref-Tn-Aa9EG.js → edge/component-ref-JRfa9Vwo.js} +2 -2
- package/lib/{node/component-ref-cw1D-ZyS.cjs → edge/component-ref-eV0RBAzs.cjs} +1 -1
- package/lib/edge/get-block-properties-Dy3XF05J.cjs +1 -0
- package/lib/{browser/get-block-properties-ROTqTJZ3.js → edge/get-block-properties-PLBPSz3W.js} +13 -13
- package/lib/edge/{index-u68L80fc.cjs → index-5-C3UhJz.cjs} +31 -31
- package/lib/edge/{index-C-mI6Ai4.js → index-TGe9_80q.js} +837 -843
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +1 -1
- package/lib/edge/init.cjs +8 -0
- package/lib/edge/init.mjs +64 -0
- package/lib/edge/logger-I8FmJD_1.js +11 -0
- package/lib/edge/logger-U9-0vDJK.cjs +1 -0
- package/lib/edge/{repeated-block-cXD1rb5T.cjs → repeated-block-FB2jF4o_.cjs} +1 -1
- package/lib/edge/{repeated-block-P7xKkVOb.js → repeated-block-_9Gs2AOY.js} +2 -2
- package/lib/node/{block-styles-TC7FEjXP.js → block-styles-gLB-jSXN.js} +13 -12
- package/lib/node/block-styles-u7KGnyuc.cjs +1 -0
- package/lib/{edge/block-wrapper-BxeE3u_2.cjs → node/block-wrapper-cCYzfiv5.cjs} +1 -1
- package/lib/{edge/block-wrapper-EnFwFXwA.js → node/block-wrapper-frfIIST_.js} +3 -3
- package/lib/{edge/component-ref-t51XeINm.js → node/component-ref-IbarjSnq.js} +2 -2
- package/lib/{edge/component-ref-XzuZ1Hfj.cjs → node/component-ref-ZlBAzimq.cjs} +1 -1
- package/lib/node/get-block-properties-2Q2lr9bu.cjs +1 -0
- package/lib/node/{get-block-properties-lLVZb91I.js → get-block-properties-QIsIgfnu.js} +17 -16
- package/lib/node/{index-eZTeDA6U.js → index-BugETl2c.js} +907 -1123
- package/lib/node/index-s5vEnK-M.cjs +166 -0
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.mjs +17 -16
- package/lib/node/init.cjs +1 -0
- package/lib/node/init.mjs +11 -0
- package/lib/node/node-runtime-0rF8vJwU.js +233 -0
- package/lib/node/node-runtime-Bqb5TnyM.cjs +48 -0
- package/lib/node/{repeated-block-_TZDsWlq.js → repeated-block-Z-_chLeZ.js} +2 -2
- package/lib/node/{repeated-block-49B-IJEV.cjs → repeated-block-ZpVu-xdw.cjs} +1 -1
- package/package.json +5 -1
- package/lib/browser/block-styles-NluRxFx2.cjs +0 -1
- package/lib/browser/get-block-properties-Cj0ih41l.cjs +0 -1
- package/lib/browser/index-sPD8fzSJ.cjs +0 -166
- package/lib/edge/block-styles-TkeDyfA0.cjs +0 -1
- package/lib/edge/get-block-properties-MnsKwX8B.cjs +0 -1
- package/lib/node/block-styles-aVTlrIHc.cjs +0 -1
- package/lib/node/get-block-properties-coIi16X2.cjs +0 -1
- package/lib/node/index-ZUbIvJ0s.cjs +0 -213
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
1
|
+
var ut = Object.defineProperty;
|
|
2
|
+
var pt = (e, t, n) => t in e ? ut(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
|
+
var ne = (e, t, n) => (pt(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
4
4
|
import "./style.css";
|
|
5
|
-
import { defineComponent as f, openBlock as c, createElementBlock as m, Fragment as w, createBlock as g, resolveDynamicComponent as K, mergeProps as C, toHandlers as P, withCtx as N, renderSlot as x, resolveComponent as y, createTextVNode as
|
|
6
|
-
|
|
5
|
+
import { defineComponent as f, openBlock as c, createElementBlock as m, Fragment as w, createBlock as g, resolveDynamicComponent as K, mergeProps as C, toHandlers as P, withCtx as N, renderSlot as x, resolveComponent as y, createTextVNode as mt, toDisplayString as te, defineAsyncComponent as j, createVNode as $, renderList as A, createCommentVNode as S, h as xe, createElementVNode as z, normalizeStyle as D, normalizeClass as J, markRaw as ht } from "vue";
|
|
6
|
+
import { T as E, l as B } from "./logger-Hm2e1Xk_.js";
|
|
7
|
+
const ft = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), bt = (e) => typeof e == "string" && ft.has(e.toLowerCase());
|
|
7
8
|
function V(e = {}, t, n) {
|
|
8
9
|
const o = {};
|
|
9
10
|
for (const r in e) {
|
|
@@ -14,11 +15,11 @@ function V(e = {}, t, n) {
|
|
|
14
15
|
}
|
|
15
16
|
return o;
|
|
16
17
|
}
|
|
17
|
-
const
|
|
18
|
+
const gt = f({
|
|
18
19
|
name: "dynamic-renderer",
|
|
19
20
|
props: ["TagName", "attributes", "actionAttributes"],
|
|
20
21
|
data() {
|
|
21
|
-
return { isEmptyElement:
|
|
22
|
+
return { isEmptyElement: bt };
|
|
22
23
|
}
|
|
23
24
|
}), b = (e, t) => {
|
|
24
25
|
const n = e.__vccOpts || e;
|
|
@@ -26,7 +27,7 @@ const yt = f({
|
|
|
26
27
|
n[o] = r;
|
|
27
28
|
return n;
|
|
28
29
|
};
|
|
29
|
-
function
|
|
30
|
+
function yt(e, t, n, o, r, i) {
|
|
30
31
|
return e.isEmptyElement(e.TagName) ? (c(), g(K(e.TagName), C({ key: 1 }, e.attributes, P(e.actionAttributes)), null, 16)) : (c(), m(w, { key: 0 }, [
|
|
31
32
|
typeof e.TagName == "string" ? (c(), g(K(e.TagName), C({ key: 0 }, e.attributes, P(e.actionAttributes)), {
|
|
32
33
|
default: N(() => [
|
|
@@ -41,10 +42,10 @@ function kt(e, t, n, o, r, i) {
|
|
|
41
42
|
}, 16))
|
|
42
43
|
], 64));
|
|
43
44
|
}
|
|
44
|
-
const
|
|
45
|
+
const pe = /* @__PURE__ */ b(gt, [["render", yt]]), Vi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
45
46
|
__proto__: null,
|
|
46
|
-
default:
|
|
47
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
47
|
+
default: pe
|
|
48
|
+
}, Symbol.toStringTag, { value: "Module" })), _ = () => {
|
|
48
49
|
switch (E) {
|
|
49
50
|
case "react":
|
|
50
51
|
case "reactNative":
|
|
@@ -57,9 +58,9 @@ const me = /* @__PURE__ */ b(yt, [["render", kt]]), Vi = /* @__PURE__ */ Object.
|
|
|
57
58
|
case "angular":
|
|
58
59
|
return "class";
|
|
59
60
|
}
|
|
60
|
-
},
|
|
61
|
+
}, kt = f({
|
|
61
62
|
name: "builder-button",
|
|
62
|
-
components: { DynamicRenderer:
|
|
63
|
+
components: { DynamicRenderer: pe },
|
|
63
64
|
props: [
|
|
64
65
|
"attributes",
|
|
65
66
|
"link",
|
|
@@ -74,7 +75,7 @@ const me = /* @__PURE__ */ b(yt, [["render", kt]]), Vi = /* @__PURE__ */ Object.
|
|
|
74
75
|
attrs() {
|
|
75
76
|
return {
|
|
76
77
|
...V(this.attributes, "v-on:", !1),
|
|
77
|
-
[
|
|
78
|
+
[_()]: `${this.link ? "" : "builder-button"} ${this.attributes[_()] || ""}`,
|
|
78
79
|
...this.link ? {
|
|
79
80
|
href: this.link,
|
|
80
81
|
target: this.openLinkInNewTab ? "_blank" : void 0,
|
|
@@ -86,7 +87,7 @@ const me = /* @__PURE__ */ b(yt, [["render", kt]]), Vi = /* @__PURE__ */ Object.
|
|
|
86
87
|
}
|
|
87
88
|
}
|
|
88
89
|
});
|
|
89
|
-
function
|
|
90
|
+
function vt(e, t, n, o, r, i) {
|
|
90
91
|
const s = y("DynamicRenderer");
|
|
91
92
|
return c(), g(s, {
|
|
92
93
|
attributes: e.attrs(),
|
|
@@ -94,12 +95,12 @@ function St(e, t, n, o, r, i) {
|
|
|
94
95
|
actionAttributes: e.filterAttrs(e.attributes, "v-on:", !0)
|
|
95
96
|
}, {
|
|
96
97
|
default: N(() => [
|
|
97
|
-
|
|
98
|
+
mt(te(e.text), 1)
|
|
98
99
|
]),
|
|
99
100
|
_: 1
|
|
100
101
|
}, 8, ["attributes", "TagName", "actionAttributes"]);
|
|
101
102
|
}
|
|
102
|
-
const
|
|
103
|
+
const St = /* @__PURE__ */ b(kt, [["render", vt]]), Ct = Symbol(), le = {
|
|
103
104
|
Builder: {
|
|
104
105
|
content: null,
|
|
105
106
|
context: {},
|
|
@@ -115,54 +116,48 @@ const Ct = /* @__PURE__ */ b(vt, [["render", St]]), wt = Symbol(), ce = {
|
|
|
115
116
|
BlocksWrapperProps: {},
|
|
116
117
|
nonce: ""
|
|
117
118
|
},
|
|
118
|
-
key:
|
|
119
|
-
},
|
|
119
|
+
key: Ct
|
|
120
|
+
}, wt = Symbol(), Ae = {
|
|
120
121
|
Components: { registeredComponents: {} },
|
|
121
|
-
key:
|
|
122
|
+
key: wt
|
|
122
123
|
};
|
|
123
|
-
function
|
|
124
|
+
function Tt(e) {
|
|
124
125
|
var t;
|
|
125
126
|
return {
|
|
126
127
|
...(t = e.component) == null ? void 0 : t.options,
|
|
127
128
|
...e.options
|
|
128
129
|
};
|
|
129
130
|
}
|
|
130
|
-
function
|
|
131
|
+
function It(e, ...t) {
|
|
131
132
|
const n = Object.assign({}, e);
|
|
132
133
|
for (const o of t)
|
|
133
134
|
delete n[o];
|
|
134
135
|
return n;
|
|
135
136
|
}
|
|
136
|
-
const Z = "[Builder.io]: ", B = {
|
|
137
|
-
log: (...e) => console.log(Z, ...e),
|
|
138
|
-
error: (...e) => console.error(Z, ...e),
|
|
139
|
-
warn: (...e) => console.warn(Z, ...e),
|
|
140
|
-
debug: (...e) => console.debug(Z, ...e)
|
|
141
|
-
};
|
|
142
137
|
function I() {
|
|
143
138
|
return typeof window < "u" && typeof document < "u";
|
|
144
139
|
}
|
|
145
|
-
const
|
|
140
|
+
const $t = (e) => {
|
|
146
141
|
const t = {};
|
|
147
142
|
return e.forEach((n, o) => {
|
|
148
143
|
t[o] = n;
|
|
149
144
|
}), t;
|
|
150
|
-
},
|
|
151
|
-
function
|
|
145
|
+
}, Ve = (e) => e instanceof URLSearchParams ? $t(e) : e, We = (e) => typeof e == "string" ? e : e instanceof URLSearchParams ? e.toString() : new URLSearchParams(e).toString();
|
|
146
|
+
function Rt() {
|
|
152
147
|
return I() && window.self !== window.top;
|
|
153
148
|
}
|
|
154
149
|
function R(e) {
|
|
155
|
-
return
|
|
156
|
-
|
|
150
|
+
return Rt() && // accessing window.location.search is safe here because `isIframe()` is only `true` if we're in a browser.
|
|
151
|
+
We(e || window.location.search).indexOf("builder.frameEditing=") !== -1;
|
|
157
152
|
}
|
|
158
|
-
const
|
|
153
|
+
const Bt = () => {
|
|
159
154
|
if (I()) {
|
|
160
155
|
const e = new URL(location.href);
|
|
161
156
|
return e.pathname === "" && (e.pathname = "/"), e;
|
|
162
157
|
} else
|
|
163
158
|
return console.warn("Cannot get location for tracking in non-browser environment"), null;
|
|
164
|
-
},
|
|
165
|
-
const e =
|
|
159
|
+
}, Et = () => typeof navigator == "object" && navigator.userAgent || "", Ne = () => {
|
|
160
|
+
const e = Et(), t = {
|
|
166
161
|
Android() {
|
|
167
162
|
return e.match(/Android/i);
|
|
168
163
|
},
|
|
@@ -181,13 +176,13 @@ const Et = () => {
|
|
|
181
176
|
any() {
|
|
182
177
|
return t.Android() || t.BlackBerry() || t.iOS() || t.Opera() || t.Windows() || E === "reactNative";
|
|
183
178
|
}
|
|
184
|
-
}, n = e.match(/Tablet|iPad/i), o =
|
|
179
|
+
}, n = e.match(/Tablet|iPad/i), o = Bt();
|
|
185
180
|
return {
|
|
186
181
|
urlPath: o == null ? void 0 : o.pathname,
|
|
187
182
|
host: (o == null ? void 0 : o.host) || (o == null ? void 0 : o.hostname),
|
|
188
183
|
device: n ? "tablet" : t.any() ? "mobile" : "desktop"
|
|
189
184
|
};
|
|
190
|
-
},
|
|
185
|
+
}, Pt = ({
|
|
191
186
|
builder: e,
|
|
192
187
|
context: t,
|
|
193
188
|
event: n,
|
|
@@ -199,14 +194,14 @@ const Et = () => {
|
|
|
199
194
|
builder: e,
|
|
200
195
|
context: t,
|
|
201
196
|
event: n
|
|
202
|
-
}),
|
|
197
|
+
}), xt = () => ({
|
|
203
198
|
isEditing: R(),
|
|
204
199
|
isBrowser: I(),
|
|
205
200
|
isServer: !I(),
|
|
206
|
-
getUserAttributes: () =>
|
|
207
|
-
}),
|
|
201
|
+
getUserAttributes: () => Ne()
|
|
202
|
+
}), At = (e, {
|
|
208
203
|
isExpression: t = !0
|
|
209
|
-
}) => /* we disable this for cases where we definitely don't want a return */ t && !(e.includes(";") || e.includes(" return ") || e.trim().startsWith("return ")) ? `return (${e});` : e,
|
|
204
|
+
}) => /* we disable this for cases where we definitely don't want a return */ t && !(e.includes(";") || e.includes(" return ") || e.trim().startsWith("return ")) ? `return (${e});` : e, Se = ({
|
|
210
205
|
code: e,
|
|
211
206
|
builder: t,
|
|
212
207
|
context: n,
|
|
@@ -215,11 +210,11 @@ const Et = () => {
|
|
|
215
210
|
rootSetState: i,
|
|
216
211
|
rootState: s
|
|
217
212
|
}) => {
|
|
218
|
-
const l =
|
|
213
|
+
const l = Pt({
|
|
219
214
|
builder: t,
|
|
220
215
|
context: n,
|
|
221
216
|
event: o,
|
|
222
|
-
state:
|
|
217
|
+
state: Oe({
|
|
223
218
|
rootState: s,
|
|
224
219
|
localState: r,
|
|
225
220
|
rootSetState: i
|
|
@@ -227,7 +222,7 @@ const Et = () => {
|
|
|
227
222
|
});
|
|
228
223
|
return new Function(...l.map(([a]) => a), e)(...l.map(([, a]) => a));
|
|
229
224
|
};
|
|
230
|
-
function
|
|
225
|
+
function Oe({
|
|
231
226
|
rootState: e,
|
|
232
227
|
localState: t,
|
|
233
228
|
rootSetState: n
|
|
@@ -237,7 +232,7 @@ function Fe({
|
|
|
237
232
|
if (t && r in t)
|
|
238
233
|
return t[r];
|
|
239
234
|
const i = o[r];
|
|
240
|
-
return typeof i == "object" && i !== null ?
|
|
235
|
+
return typeof i == "object" && i !== null ? Oe({
|
|
241
236
|
rootState: i,
|
|
242
237
|
localState: void 0,
|
|
243
238
|
rootSetState: n ? (s) => {
|
|
@@ -253,17 +248,17 @@ function Fe({
|
|
|
253
248
|
});
|
|
254
249
|
}
|
|
255
250
|
const L = (e) => e != null;
|
|
256
|
-
function
|
|
251
|
+
function Vt() {
|
|
257
252
|
var e;
|
|
258
253
|
return typeof process < "u" && L((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
|
|
259
254
|
}
|
|
260
|
-
const
|
|
255
|
+
const Wt = () => {
|
|
261
256
|
var o;
|
|
262
|
-
if (!
|
|
257
|
+
if (!Vt())
|
|
263
258
|
return !1;
|
|
264
259
|
const e = process.arch === "arm64", t = process.version.startsWith("v20"), n = (o = process.env.NODE_OPTIONS) == null ? void 0 : o.includes("--no-node-snapshot");
|
|
265
260
|
return e && t && !n ? (B.log("Skipping usage of `isolated-vm` to avoid crashes in Node v20 on an arm64 machine.\n If you would like to use the `isolated-vm` package on this machine, please provide the `NODE_OPTIONS=--no-node-snapshot` config to your Node process.\n See https://github.com/BuilderIO/builder/blob/main/packages/sdks/README.md#node-v20--m1-macs-apple-silicon-support for more information.\n "), !0) : !1;
|
|
266
|
-
},
|
|
261
|
+
}, Nt = (e) => (I() || Wt(), Se(e)), Ot = !0, W = class W {
|
|
267
262
|
static getCacheKey(t) {
|
|
268
263
|
return JSON.stringify({
|
|
269
264
|
...t,
|
|
@@ -281,7 +276,7 @@ const Nt = () => {
|
|
|
281
276
|
});
|
|
282
277
|
}
|
|
283
278
|
};
|
|
284
|
-
|
|
279
|
+
ne(W, "cacheLimit", 20), ne(W, "cache", /* @__PURE__ */ new Map());
|
|
285
280
|
let U = W;
|
|
286
281
|
function G({
|
|
287
282
|
code: e,
|
|
@@ -296,23 +291,23 @@ function G({
|
|
|
296
291
|
if (e === "")
|
|
297
292
|
return;
|
|
298
293
|
const a = {
|
|
299
|
-
code:
|
|
294
|
+
code: At(e, {
|
|
300
295
|
isExpression: s
|
|
301
296
|
}),
|
|
302
|
-
builder:
|
|
297
|
+
builder: xt(),
|
|
303
298
|
context: t,
|
|
304
299
|
event: i,
|
|
305
300
|
rootSetState: r,
|
|
306
301
|
rootState: o,
|
|
307
302
|
localState: n
|
|
308
303
|
};
|
|
309
|
-
if (l && !
|
|
304
|
+
if (l && !Ot) {
|
|
310
305
|
const u = U.getCacheKey(a), h = U.getCachedValue(u);
|
|
311
306
|
if (h)
|
|
312
307
|
return h.value;
|
|
313
308
|
}
|
|
314
309
|
try {
|
|
315
|
-
const u =
|
|
310
|
+
const u = Nt(a);
|
|
316
311
|
if (l) {
|
|
317
312
|
const h = U.getCacheKey(a);
|
|
318
313
|
U.setCachedValue(h, u);
|
|
@@ -325,27 +320,27 @@ function G({
|
|
|
325
320
|
return;
|
|
326
321
|
}
|
|
327
322
|
}
|
|
328
|
-
const
|
|
323
|
+
const me = (e) => JSON.parse(JSON.stringify(e)), Fe = (e, t, n) => {
|
|
329
324
|
if (Object(e) !== e)
|
|
330
325
|
return e;
|
|
331
326
|
const o = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
|
|
332
327
|
return o.slice(0, -1).reduce((r, i, s) => Object(r[i]) === r[i] ? r[i] : r[i] = Math.abs(Number(o[s + 1])) >> 0 === +o[s + 1] ? [] : {}, e)[o[o.length - 1]] = n, e;
|
|
333
328
|
};
|
|
334
|
-
function
|
|
329
|
+
function ce(e) {
|
|
335
330
|
if (e === null || typeof e != "object")
|
|
336
331
|
return e;
|
|
337
332
|
if (Array.isArray(e))
|
|
338
|
-
return e.map((n) =>
|
|
333
|
+
return e.map((n) => ce(n));
|
|
339
334
|
if (e["@type"] === "@builder.io/sdk:Element")
|
|
340
335
|
return e;
|
|
341
336
|
const t = {};
|
|
342
337
|
for (const n in e)
|
|
343
|
-
n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] =
|
|
338
|
+
n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = ce(e[n]));
|
|
344
339
|
return t;
|
|
345
340
|
}
|
|
346
|
-
const
|
|
347
|
-
if (
|
|
348
|
-
const t =
|
|
341
|
+
const Ft = ["svelte", "vue", "angular", "qwik", "solid"].includes(E), Dt = (e) => {
|
|
342
|
+
if (Ft) {
|
|
343
|
+
const t = me(e);
|
|
349
344
|
return {
|
|
350
345
|
...t,
|
|
351
346
|
properties: {
|
|
@@ -356,7 +351,7 @@ const Dt = ["svelte", "vue", "angular", "qwik", "solid"].includes(E), Lt = (e) =
|
|
|
356
351
|
}
|
|
357
352
|
};
|
|
358
353
|
} else {
|
|
359
|
-
const t =
|
|
354
|
+
const t = ce(It(e, "children", "meta"));
|
|
360
355
|
return {
|
|
361
356
|
...t,
|
|
362
357
|
properties: {
|
|
@@ -369,7 +364,7 @@ const Dt = ["svelte", "vue", "angular", "qwik", "solid"].includes(E), Lt = (e) =
|
|
|
369
364
|
meta: e.meta
|
|
370
365
|
};
|
|
371
366
|
}
|
|
372
|
-
},
|
|
367
|
+
}, Lt = ({
|
|
373
368
|
block: e,
|
|
374
369
|
context: t,
|
|
375
370
|
localState: n,
|
|
@@ -378,7 +373,7 @@ const Dt = ["svelte", "vue", "angular", "qwik", "solid"].includes(E), Lt = (e) =
|
|
|
378
373
|
}) => {
|
|
379
374
|
if (!e.bindings)
|
|
380
375
|
return e;
|
|
381
|
-
const i =
|
|
376
|
+
const i = Dt(e);
|
|
382
377
|
for (const s in e.bindings) {
|
|
383
378
|
const l = e.bindings[s], a = G({
|
|
384
379
|
code: l,
|
|
@@ -388,11 +383,11 @@ const Dt = ["svelte", "vue", "angular", "qwik", "solid"].includes(E), Lt = (e) =
|
|
|
388
383
|
context: t,
|
|
389
384
|
enableCache: !0
|
|
390
385
|
});
|
|
391
|
-
|
|
386
|
+
Fe(i, s, a);
|
|
392
387
|
}
|
|
393
388
|
return i;
|
|
394
389
|
};
|
|
395
|
-
function
|
|
390
|
+
function Ut({
|
|
396
391
|
block: e,
|
|
397
392
|
context: t,
|
|
398
393
|
shouldEvaluateBindings: n,
|
|
@@ -401,7 +396,7 @@ function Mt({
|
|
|
401
396
|
rootSetState: i
|
|
402
397
|
}) {
|
|
403
398
|
const s = e;
|
|
404
|
-
return n ?
|
|
399
|
+
return n ? Lt({
|
|
405
400
|
block: s,
|
|
406
401
|
localState: o,
|
|
407
402
|
rootState: r,
|
|
@@ -409,25 +404,25 @@ function Mt({
|
|
|
409
404
|
context: t
|
|
410
405
|
}) : s;
|
|
411
406
|
}
|
|
412
|
-
function
|
|
407
|
+
function Mt(e) {
|
|
413
408
|
const t = e || (I() ? window.location.search : void 0);
|
|
414
|
-
return t ?
|
|
409
|
+
return t ? We(t).indexOf("builder.preview=") !== -1 : !1;
|
|
415
410
|
}
|
|
416
|
-
const
|
|
411
|
+
const Ht = (e) => ({
|
|
417
412
|
type: "builder.registerComponent",
|
|
418
|
-
data:
|
|
419
|
-
}),
|
|
413
|
+
data: ee(e)
|
|
414
|
+
}), jt = (e) => {
|
|
420
415
|
const t = e.toString().trim();
|
|
421
416
|
return `return (${!t.startsWith("function") && !t.startsWith("(") ? "function " : ""}${t}).apply(this, arguments)`;
|
|
422
417
|
};
|
|
423
|
-
function
|
|
424
|
-
return JSON.parse(JSON.stringify(e, (t, n) => typeof n == "function" ?
|
|
418
|
+
function ee(e) {
|
|
419
|
+
return JSON.parse(JSON.stringify(e, (t, n) => typeof n == "function" ? jt(n) : n));
|
|
425
420
|
}
|
|
426
|
-
const
|
|
427
|
-
function
|
|
428
|
-
e === "plugin" && (t =
|
|
429
|
-
let n =
|
|
430
|
-
if (n || (n =
|
|
421
|
+
const Ce = {};
|
|
422
|
+
function Kt(e, t) {
|
|
423
|
+
e === "plugin" && (t = ee(t));
|
|
424
|
+
let n = Ce[e];
|
|
425
|
+
if (n || (n = Ce[e] = []), n.push(t), I()) {
|
|
431
426
|
const o = {
|
|
432
427
|
type: "builder.register",
|
|
433
428
|
data: {
|
|
@@ -442,38 +437,38 @@ function qt(e, t) {
|
|
|
442
437
|
}
|
|
443
438
|
}
|
|
444
439
|
}
|
|
445
|
-
const
|
|
440
|
+
const we = {};
|
|
446
441
|
function Wi(e) {
|
|
447
442
|
if (I()) {
|
|
448
|
-
Object.assign(
|
|
443
|
+
Object.assign(we, e);
|
|
449
444
|
const t = {
|
|
450
445
|
type: "builder.settingsChange",
|
|
451
|
-
data:
|
|
446
|
+
data: we
|
|
452
447
|
};
|
|
453
448
|
parent.postMessage(t, "*");
|
|
454
449
|
}
|
|
455
450
|
}
|
|
456
|
-
const
|
|
451
|
+
const Te = "builder.", qt = "options.", De = (e) => {
|
|
457
452
|
if (!e)
|
|
458
453
|
return {};
|
|
459
|
-
const t =
|
|
454
|
+
const t = Ve(e), n = {};
|
|
460
455
|
return Object.keys(t).forEach((o) => {
|
|
461
|
-
if (o.startsWith(
|
|
462
|
-
const r = o.replace(
|
|
456
|
+
if (o.startsWith(Te)) {
|
|
457
|
+
const r = o.replace(Te, "").replace(qt, "");
|
|
463
458
|
n[r] = t[o];
|
|
464
459
|
}
|
|
465
460
|
}), n;
|
|
466
|
-
},
|
|
461
|
+
}, zt = () => {
|
|
467
462
|
if (!I())
|
|
468
463
|
return {};
|
|
469
464
|
const e = new URLSearchParams(window.location.search);
|
|
470
|
-
return
|
|
471
|
-
},
|
|
465
|
+
return De(e);
|
|
466
|
+
}, Jt = (e) => {
|
|
472
467
|
if (e === "localhost" || e === "127.0.0.1")
|
|
473
468
|
return e;
|
|
474
469
|
const t = e.split(".");
|
|
475
470
|
return t.length > 2 ? t.slice(1).join(".") : e;
|
|
476
|
-
},
|
|
471
|
+
}, Le = ({
|
|
477
472
|
name: e,
|
|
478
473
|
canTrack: t
|
|
479
474
|
}) => {
|
|
@@ -484,14 +479,14 @@ const Ie = "builder.", zt = "options.", Le = (e) => {
|
|
|
484
479
|
B.warn("[COOKIE] GET error: ", (o == null ? void 0 : o.message) || o);
|
|
485
480
|
return;
|
|
486
481
|
}
|
|
487
|
-
},
|
|
482
|
+
}, Ue = async (e) => Le(e), Gt = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(L).join("; "), Yt = [["secure", ""], ["SameSite", "None"]], Qt = ({
|
|
488
483
|
name: e,
|
|
489
484
|
value: t,
|
|
490
485
|
expires: n
|
|
491
486
|
}) => {
|
|
492
|
-
const r = (I() ? location.protocol === "https:" : !0) ?
|
|
493
|
-
return
|
|
494
|
-
},
|
|
487
|
+
const r = (I() ? location.protocol === "https:" : !0) ? Yt : [[]], i = n ? [["expires", n.toUTCString()]] : [[]], s = [[e, t], ...i, ["path", "/"], ["domain", Jt(window.location.hostname)], ...r];
|
|
488
|
+
return Gt(s);
|
|
489
|
+
}, Me = async ({
|
|
495
490
|
name: e,
|
|
496
491
|
value: t,
|
|
497
492
|
expires: n,
|
|
@@ -500,7 +495,7 @@ const Ie = "builder.", zt = "options.", Le = (e) => {
|
|
|
500
495
|
try {
|
|
501
496
|
if (!o)
|
|
502
497
|
return;
|
|
503
|
-
const r =
|
|
498
|
+
const r = Qt({
|
|
504
499
|
name: e,
|
|
505
500
|
value: t,
|
|
506
501
|
expires: n
|
|
@@ -510,88 +505,88 @@ const Ie = "builder.", zt = "options.", Le = (e) => {
|
|
|
510
505
|
B.warn("[COOKIE] SET error: ", (r == null ? void 0 : r.message) || r);
|
|
511
506
|
}
|
|
512
507
|
};
|
|
513
|
-
function
|
|
508
|
+
function Xt() {
|
|
514
509
|
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
|
|
515
510
|
const t = Math.random() * 16 | 0;
|
|
516
511
|
return (e == "x" ? t : t & 3 | 8).toString(16);
|
|
517
512
|
});
|
|
518
513
|
}
|
|
519
|
-
function
|
|
520
|
-
return
|
|
514
|
+
function He() {
|
|
515
|
+
return Xt().replace(/-/g, "");
|
|
521
516
|
}
|
|
522
|
-
const
|
|
517
|
+
const je = "builderSessionId", Zt = async ({
|
|
523
518
|
canTrack: e
|
|
524
519
|
}) => {
|
|
525
520
|
if (!e)
|
|
526
521
|
return;
|
|
527
|
-
const t = await
|
|
528
|
-
name:
|
|
522
|
+
const t = await Ue({
|
|
523
|
+
name: je,
|
|
529
524
|
canTrack: e
|
|
530
525
|
});
|
|
531
526
|
if (L(t))
|
|
532
527
|
return t;
|
|
533
528
|
{
|
|
534
|
-
const n =
|
|
535
|
-
return
|
|
529
|
+
const n = _t();
|
|
530
|
+
return en({
|
|
536
531
|
id: n,
|
|
537
532
|
canTrack: e
|
|
538
533
|
}), n;
|
|
539
534
|
}
|
|
540
|
-
},
|
|
535
|
+
}, _t = () => He(), en = ({
|
|
541
536
|
id: e,
|
|
542
537
|
canTrack: t
|
|
543
|
-
}) =>
|
|
544
|
-
name:
|
|
538
|
+
}) => Me({
|
|
539
|
+
name: je,
|
|
545
540
|
value: e,
|
|
546
541
|
canTrack: t
|
|
547
|
-
}),
|
|
542
|
+
}), Ke = () => I() && typeof localStorage < "u" ? localStorage : void 0, tn = ({
|
|
548
543
|
key: e,
|
|
549
544
|
canTrack: t
|
|
550
545
|
}) => {
|
|
551
546
|
var n;
|
|
552
547
|
try {
|
|
553
|
-
return t ? (n =
|
|
548
|
+
return t ? (n = Ke()) == null ? void 0 : n.getItem(e) : void 0;
|
|
554
549
|
} catch (o) {
|
|
555
550
|
console.debug("[LocalStorage] GET error: ", o);
|
|
556
551
|
return;
|
|
557
552
|
}
|
|
558
|
-
},
|
|
553
|
+
}, nn = ({
|
|
559
554
|
key: e,
|
|
560
555
|
canTrack: t,
|
|
561
556
|
value: n
|
|
562
557
|
}) => {
|
|
563
558
|
var o;
|
|
564
559
|
try {
|
|
565
|
-
t && ((o =
|
|
560
|
+
t && ((o = Ke()) == null || o.setItem(e, n));
|
|
566
561
|
} catch (r) {
|
|
567
562
|
console.debug("[LocalStorage] SET error: ", r);
|
|
568
563
|
}
|
|
569
|
-
},
|
|
564
|
+
}, qe = "builderVisitorId", on = ({
|
|
570
565
|
canTrack: e
|
|
571
566
|
}) => {
|
|
572
567
|
if (!e)
|
|
573
568
|
return;
|
|
574
|
-
const t =
|
|
575
|
-
key:
|
|
569
|
+
const t = tn({
|
|
570
|
+
key: qe,
|
|
576
571
|
canTrack: e
|
|
577
572
|
});
|
|
578
573
|
if (L(t))
|
|
579
574
|
return t;
|
|
580
575
|
{
|
|
581
|
-
const n =
|
|
582
|
-
return
|
|
576
|
+
const n = rn();
|
|
577
|
+
return sn({
|
|
583
578
|
id: n,
|
|
584
579
|
canTrack: e
|
|
585
580
|
}), n;
|
|
586
581
|
}
|
|
587
|
-
},
|
|
582
|
+
}, rn = () => He(), sn = ({
|
|
588
583
|
id: e,
|
|
589
584
|
canTrack: t
|
|
590
|
-
}) =>
|
|
591
|
-
key:
|
|
585
|
+
}) => nn({
|
|
586
|
+
key: qe,
|
|
592
587
|
value: e,
|
|
593
588
|
canTrack: t
|
|
594
|
-
}),
|
|
589
|
+
}), an = async ({
|
|
595
590
|
canTrack: e
|
|
596
591
|
}) => {
|
|
597
592
|
if (!e)
|
|
@@ -599,16 +594,16 @@ const Ke = "builderSessionId", _t = async ({
|
|
|
599
594
|
visitorId: void 0,
|
|
600
595
|
sessionId: void 0
|
|
601
596
|
};
|
|
602
|
-
const t = await
|
|
597
|
+
const t = await Zt({
|
|
603
598
|
canTrack: e
|
|
604
|
-
}), n =
|
|
599
|
+
}), n = on({
|
|
605
600
|
canTrack: e
|
|
606
601
|
});
|
|
607
602
|
return {
|
|
608
603
|
sessionId: t,
|
|
609
604
|
visitorId: n
|
|
610
605
|
};
|
|
611
|
-
},
|
|
606
|
+
}, ln = async ({
|
|
612
607
|
type: e,
|
|
613
608
|
canTrack: t,
|
|
614
609
|
apiKey: n,
|
|
@@ -622,14 +617,14 @@ const Ke = "builderSessionId", _t = async ({
|
|
|
622
617
|
url: location.href,
|
|
623
618
|
...o
|
|
624
619
|
},
|
|
625
|
-
...await
|
|
620
|
+
...await an({
|
|
626
621
|
canTrack: t
|
|
627
622
|
}),
|
|
628
|
-
userAttributes:
|
|
623
|
+
userAttributes: Ne(),
|
|
629
624
|
ownerId: n
|
|
630
625
|
}
|
|
631
626
|
});
|
|
632
|
-
async function
|
|
627
|
+
async function de(e) {
|
|
633
628
|
if (!e.apiKey) {
|
|
634
629
|
B.error("Missing API key for track call. Please provide your API key.");
|
|
635
630
|
return;
|
|
@@ -638,7 +633,7 @@ async function ue(e) {
|
|
|
638
633
|
return fetch("https://cdn.builder.io/api/v1/track", {
|
|
639
634
|
method: "POST",
|
|
640
635
|
body: JSON.stringify({
|
|
641
|
-
events: [await
|
|
636
|
+
events: [await ln(e)]
|
|
642
637
|
}),
|
|
643
638
|
headers: {
|
|
644
639
|
"content-type": "application/json"
|
|
@@ -648,18 +643,18 @@ async function ue(e) {
|
|
|
648
643
|
console.error("Failed to track: ", t);
|
|
649
644
|
});
|
|
650
645
|
}
|
|
651
|
-
const Ni = (e) =>
|
|
646
|
+
const Ni = (e) => de({
|
|
652
647
|
...e,
|
|
653
648
|
canTrack: !0
|
|
654
|
-
}),
|
|
655
|
-
function
|
|
649
|
+
}), cn = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
|
|
650
|
+
function ze(e, t) {
|
|
656
651
|
if (!t.origin.startsWith("http") && !t.origin.startsWith("https"))
|
|
657
652
|
return !1;
|
|
658
653
|
const n = new URL(t.origin), o = n.hostname;
|
|
659
|
-
return (e ||
|
|
654
|
+
return (e || cn).findIndex((r) => r.startsWith("*.") ? o.endsWith(r.slice(1)) : r === o) > -1;
|
|
660
655
|
}
|
|
661
|
-
const
|
|
662
|
-
|
|
656
|
+
const dn = "2.0.13", un = () => {
|
|
657
|
+
Kt("insertMenu", {
|
|
663
658
|
name: "_default",
|
|
664
659
|
default: !0,
|
|
665
660
|
items: [{
|
|
@@ -681,14 +676,14 @@ const un = "2.0.13", pn = () => {
|
|
|
681
676
|
}]
|
|
682
677
|
});
|
|
683
678
|
};
|
|
684
|
-
let
|
|
685
|
-
const
|
|
679
|
+
let Ie = !1;
|
|
680
|
+
const Je = (e = {}) => {
|
|
686
681
|
var t, n;
|
|
687
|
-
|
|
682
|
+
Ie || (Ie = !0, I() && ((t = window.parent) == null || t.postMessage({
|
|
688
683
|
type: "builder.sdkInfo",
|
|
689
684
|
data: {
|
|
690
685
|
target: E,
|
|
691
|
-
version:
|
|
686
|
+
version: dn,
|
|
692
687
|
supportsPatchUpdates: !1,
|
|
693
688
|
// Supports builder-model="..." attribute which is needed to
|
|
694
689
|
// scope our '+ add block' button styling
|
|
@@ -702,7 +697,7 @@ const Ge = (e = {}) => {
|
|
|
702
697
|
}
|
|
703
698
|
}, "*"), window.addEventListener("message", (o) => {
|
|
704
699
|
var i, s;
|
|
705
|
-
if (!
|
|
700
|
+
if (!ze(e.trustedHosts, o))
|
|
706
701
|
return;
|
|
707
702
|
const {
|
|
708
703
|
data: r
|
|
@@ -743,12 +738,12 @@ const Ge = (e = {}) => {
|
|
|
743
738
|
}
|
|
744
739
|
}
|
|
745
740
|
})));
|
|
746
|
-
},
|
|
741
|
+
}, Ge = ({
|
|
747
742
|
model: e,
|
|
748
743
|
trustedHosts: t,
|
|
749
744
|
callbacks: n
|
|
750
745
|
}) => (o) => {
|
|
751
|
-
if (!
|
|
746
|
+
if (!ze(t, o))
|
|
752
747
|
return;
|
|
753
748
|
const {
|
|
754
749
|
data: r
|
|
@@ -773,8 +768,8 @@ const Ge = (e = {}) => {
|
|
|
773
768
|
if (!I)
|
|
774
769
|
return B.warn("`subscribeToEditor` only works in the browser. It currently seems to be running on the server."), () => {
|
|
775
770
|
};
|
|
776
|
-
|
|
777
|
-
const o =
|
|
771
|
+
Je();
|
|
772
|
+
const o = Ge({
|
|
778
773
|
callbacks: {
|
|
779
774
|
contentUpdate: t,
|
|
780
775
|
animation: () => {
|
|
@@ -788,24 +783,24 @@ const Ge = (e = {}) => {
|
|
|
788
783
|
return window.addEventListener("message", o), () => {
|
|
789
784
|
window.removeEventListener("message", o);
|
|
790
785
|
};
|
|
791
|
-
},
|
|
786
|
+
}, pn = "builder.tests", he = (e) => `${pn}.${e}`, mn = ({
|
|
792
787
|
contentId: e
|
|
793
|
-
}) =>
|
|
794
|
-
name:
|
|
788
|
+
}) => Ue({
|
|
789
|
+
name: he(e),
|
|
795
790
|
canTrack: !0
|
|
796
|
-
}),
|
|
791
|
+
}), hn = ({
|
|
797
792
|
contentId: e
|
|
798
|
-
}) =>
|
|
799
|
-
name:
|
|
793
|
+
}) => Le({
|
|
794
|
+
name: he(e),
|
|
800
795
|
canTrack: !0
|
|
801
|
-
}),
|
|
796
|
+
}), fn = ({
|
|
802
797
|
contentId: e,
|
|
803
798
|
value: t
|
|
804
|
-
}) =>
|
|
805
|
-
name:
|
|
799
|
+
}) => Me({
|
|
800
|
+
name: he(e),
|
|
806
801
|
value: t,
|
|
807
802
|
canTrack: !0
|
|
808
|
-
}),
|
|
803
|
+
}), Ye = (e) => L(e.id) && L(e.variations) && Object.keys(e.variations).length > 0, bn = ({
|
|
809
804
|
id: e,
|
|
810
805
|
variations: t
|
|
811
806
|
}) => {
|
|
@@ -818,15 +813,15 @@ const Ge = (e = {}) => {
|
|
|
818
813
|
return i;
|
|
819
814
|
}
|
|
820
815
|
return e;
|
|
821
|
-
},
|
|
822
|
-
const t =
|
|
823
|
-
return
|
|
816
|
+
}, Qe = (e) => {
|
|
817
|
+
const t = bn(e);
|
|
818
|
+
return fn({
|
|
824
819
|
contentId: e.id,
|
|
825
820
|
value: t
|
|
826
821
|
}).catch((n) => {
|
|
827
822
|
B.error("could not store A/B test variation: ", n);
|
|
828
823
|
}), t;
|
|
829
|
-
},
|
|
824
|
+
}, Xe = ({
|
|
830
825
|
item: e,
|
|
831
826
|
testGroupId: t
|
|
832
827
|
}) => {
|
|
@@ -840,7 +835,7 @@ const Ge = (e = {}) => {
|
|
|
840
835
|
testVariationId: n.id,
|
|
841
836
|
testVariationName: n.name || (n.id === e.id ? "Default" : "")
|
|
842
837
|
};
|
|
843
|
-
},
|
|
838
|
+
}, gn = ({
|
|
844
839
|
item: e,
|
|
845
840
|
canTrack: t
|
|
846
841
|
}) => {
|
|
@@ -848,14 +843,14 @@ const Ge = (e = {}) => {
|
|
|
848
843
|
return e;
|
|
849
844
|
if (!e)
|
|
850
845
|
return;
|
|
851
|
-
if (!
|
|
846
|
+
if (!Ye(e))
|
|
852
847
|
return e;
|
|
853
|
-
const n =
|
|
848
|
+
const n = hn({
|
|
854
849
|
contentId: e.id
|
|
855
|
-
}) ||
|
|
850
|
+
}) || Qe({
|
|
856
851
|
variations: e.variations,
|
|
857
852
|
id: e.id
|
|
858
|
-
}), o =
|
|
853
|
+
}), o = Xe({
|
|
859
854
|
item: e,
|
|
860
855
|
testGroupId: n
|
|
861
856
|
});
|
|
@@ -863,18 +858,18 @@ const Ge = (e = {}) => {
|
|
|
863
858
|
...e,
|
|
864
859
|
...o
|
|
865
860
|
};
|
|
866
|
-
},
|
|
861
|
+
}, yn = async ({
|
|
867
862
|
item: e,
|
|
868
863
|
canTrack: t
|
|
869
864
|
}) => {
|
|
870
|
-
if (!t || !
|
|
865
|
+
if (!t || !Ye(e))
|
|
871
866
|
return e;
|
|
872
|
-
const o = await
|
|
867
|
+
const o = await mn({
|
|
873
868
|
contentId: e.id
|
|
874
|
-
}) ||
|
|
869
|
+
}) || Qe({
|
|
875
870
|
variations: e.variations,
|
|
876
871
|
id: e.id
|
|
877
|
-
}), r =
|
|
872
|
+
}), r = Xe({
|
|
878
873
|
item: e,
|
|
879
874
|
testGroupId: o
|
|
880
875
|
});
|
|
@@ -883,37 +878,37 @@ const Ge = (e = {}) => {
|
|
|
883
878
|
...r
|
|
884
879
|
};
|
|
885
880
|
}, Y = (e) => L(e) ? e : !0;
|
|
886
|
-
function
|
|
881
|
+
function kn() {
|
|
887
882
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : globalThis;
|
|
888
883
|
}
|
|
889
|
-
function
|
|
890
|
-
const e =
|
|
884
|
+
function vn() {
|
|
885
|
+
const e = kn().fetch;
|
|
891
886
|
if (typeof e > "u")
|
|
892
887
|
throw console.warn(`Builder SDK could not find a global fetch function. Make sure you have a polyfill for fetch in your project.
|
|
893
888
|
For more information, read https://github.com/BuilderIO/this-package-uses-fetch`), new Error("Builder SDK could not find a global `fetch` function");
|
|
894
889
|
return e;
|
|
895
890
|
}
|
|
896
|
-
const
|
|
897
|
-
function
|
|
891
|
+
const Ze = vn();
|
|
892
|
+
function ue(e, t = null, n = ".") {
|
|
898
893
|
return Object.keys(e).reduce((o, r) => {
|
|
899
894
|
const i = e[r], s = [t, r].filter(Boolean).join(n);
|
|
900
895
|
return [typeof i == "object", i !== null, !(Array.isArray(i) && i.length === 0)].every(Boolean) ? {
|
|
901
896
|
...o,
|
|
902
|
-
...
|
|
897
|
+
...ue(i, s, n)
|
|
903
898
|
} : {
|
|
904
899
|
...o,
|
|
905
900
|
[s]: i
|
|
906
901
|
};
|
|
907
902
|
}, {});
|
|
908
903
|
}
|
|
909
|
-
function
|
|
904
|
+
function _e(e, t, n = {}) {
|
|
910
905
|
for (const o in e) {
|
|
911
906
|
const r = e[o], i = t ? t + "." + o : o;
|
|
912
|
-
r && typeof r == "object" && !Array.isArray(r) && !Object.keys(r).find((s) => s.startsWith("$")) ?
|
|
907
|
+
r && typeof r == "object" && !Array.isArray(r) && !Object.keys(r).find((s) => s.startsWith("$")) ? _e(r, i, n) : n[i] = r;
|
|
913
908
|
}
|
|
914
909
|
return n;
|
|
915
910
|
}
|
|
916
|
-
const
|
|
911
|
+
const Sn = "v3", $e = (e) => typeof e == "number" && !isNaN(e) && e >= 0, fe = (e) => {
|
|
917
912
|
const {
|
|
918
913
|
limit: t = 30,
|
|
919
914
|
userAttributes: n,
|
|
@@ -922,7 +917,7 @@ const Cn = "v3", Re = (e) => typeof e == "number" && !isNaN(e) && e >= 0, be = (
|
|
|
922
917
|
apiKey: i,
|
|
923
918
|
enrich: s,
|
|
924
919
|
locale: l,
|
|
925
|
-
apiVersion: a =
|
|
920
|
+
apiVersion: a = Sn,
|
|
926
921
|
fields: u,
|
|
927
922
|
omit: h,
|
|
928
923
|
offset: d,
|
|
@@ -936,46 +931,46 @@ const Cn = "v3", Re = (e) => typeof e == "number" && !isNaN(e) && e >= 0, be = (
|
|
|
936
931
|
if (!["v3"].includes(a))
|
|
937
932
|
throw new Error(`Invalid apiVersion: expected 'v3', received '${a}'`);
|
|
938
933
|
const X = t !== 1, T = new URL(`https://cdn.builder.io/api/${a}/content/${r}`);
|
|
939
|
-
if (T.searchParams.set("apiKey", i), T.searchParams.set("limit", String(t)), T.searchParams.set("noTraverse", String(X)), T.searchParams.set("includeRefs", String(!0)), l && T.searchParams.set("locale", l), s && T.searchParams.set("enrich", String(s)), T.searchParams.set("omit", h || "meta.componentsUsed"), u && T.searchParams.set("fields", u), Number.isFinite(d) && d > -1 && T.searchParams.set("offset", String(Math.floor(d))), typeof O == "boolean" && T.searchParams.set("includeUnpublished", String(O)), p &&
|
|
940
|
-
const F =
|
|
934
|
+
if (T.searchParams.set("apiKey", i), T.searchParams.set("limit", String(t)), T.searchParams.set("noTraverse", String(X)), T.searchParams.set("includeRefs", String(!0)), l && T.searchParams.set("locale", l), s && T.searchParams.set("enrich", String(s)), T.searchParams.set("omit", h || "meta.componentsUsed"), u && T.searchParams.set("fields", u), Number.isFinite(d) && d > -1 && T.searchParams.set("offset", String(Math.floor(d))), typeof O == "boolean" && T.searchParams.set("includeUnpublished", String(O)), p && $e(p) && T.searchParams.set("cacheSeconds", String(p)), k && $e(k) && T.searchParams.set("staleCacheSeconds", String(k)), v) {
|
|
935
|
+
const F = ue({
|
|
941
936
|
sort: v
|
|
942
937
|
});
|
|
943
938
|
for (const H in F)
|
|
944
939
|
T.searchParams.set(H, JSON.stringify(F[H]));
|
|
945
940
|
}
|
|
946
|
-
const
|
|
947
|
-
...
|
|
948
|
-
...
|
|
949
|
-
},
|
|
950
|
-
for (const F in
|
|
951
|
-
T.searchParams.set(F, String(
|
|
941
|
+
const dt = {
|
|
942
|
+
...zt(),
|
|
943
|
+
...Ve(e.options || {})
|
|
944
|
+
}, ve = ue(dt);
|
|
945
|
+
for (const F in ve)
|
|
946
|
+
T.searchParams.set(F, String(ve[F]));
|
|
952
947
|
if (n && T.searchParams.set("userAttributes", JSON.stringify(n)), o) {
|
|
953
|
-
const F =
|
|
948
|
+
const F = _e({
|
|
954
949
|
query: o
|
|
955
950
|
});
|
|
956
951
|
for (const H in F)
|
|
957
952
|
T.searchParams.set(H, JSON.stringify(F[H]));
|
|
958
953
|
}
|
|
959
954
|
return T;
|
|
960
|
-
},
|
|
961
|
-
async function
|
|
962
|
-
const t = await
|
|
955
|
+
}, Cn = (e) => "results" in e;
|
|
956
|
+
async function be(e) {
|
|
957
|
+
const t = await In({
|
|
963
958
|
...e,
|
|
964
959
|
limit: 1
|
|
965
960
|
});
|
|
966
961
|
return t && t[0] || null;
|
|
967
962
|
}
|
|
968
|
-
const
|
|
969
|
-
const t =
|
|
970
|
-
return await (await (e.fetch ??
|
|
971
|
-
},
|
|
963
|
+
const wn = async (e) => {
|
|
964
|
+
const t = fe(e);
|
|
965
|
+
return await (await (e.fetch ?? Ze)(t.href, e.fetchOptions)).json();
|
|
966
|
+
}, Tn = async (e, t, n = fe(e)) => {
|
|
972
967
|
const o = Y(e.canTrack);
|
|
973
968
|
if (n.search.includes("preview="), !o || !(I() || E === "reactNative"))
|
|
974
969
|
return t.results;
|
|
975
970
|
try {
|
|
976
971
|
const r = [];
|
|
977
972
|
for (const i of t.results)
|
|
978
|
-
r.push(await
|
|
973
|
+
r.push(await yn({
|
|
979
974
|
item: i,
|
|
980
975
|
canTrack: o
|
|
981
976
|
}));
|
|
@@ -985,10 +980,10 @@ const Tn = async (e) => {
|
|
|
985
980
|
}
|
|
986
981
|
return t.results;
|
|
987
982
|
};
|
|
988
|
-
async function
|
|
983
|
+
async function In(e) {
|
|
989
984
|
try {
|
|
990
|
-
const t =
|
|
991
|
-
return
|
|
985
|
+
const t = fe(e), n = await wn(e);
|
|
986
|
+
return Cn(n) ? Tn(e, n) : (B.error("Error fetching data. ", {
|
|
992
987
|
url: t,
|
|
993
988
|
content: n,
|
|
994
989
|
options: e
|
|
@@ -1009,15 +1004,15 @@ const Fi = async (e) => {
|
|
|
1009
1004
|
urlPath: t
|
|
1010
1005
|
} : {}
|
|
1011
1006
|
},
|
|
1012
|
-
options:
|
|
1007
|
+
options: De(e.searchParams || ((i = e.url) == null ? void 0 : i.searchParams) || e.options)
|
|
1013
1008
|
};
|
|
1014
1009
|
return {
|
|
1015
1010
|
apiKey: n.apiKey,
|
|
1016
1011
|
model: n.model,
|
|
1017
|
-
content: await
|
|
1012
|
+
content: await be(n)
|
|
1018
1013
|
};
|
|
1019
|
-
},
|
|
1020
|
-
function
|
|
1014
|
+
}, ge = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
|
|
1015
|
+
function $n(e, t, n = {}) {
|
|
1021
1016
|
let o, r, i, s = null, l = 0;
|
|
1022
1017
|
const a = function() {
|
|
1023
1018
|
l = n.leading === !1 ? 0 : Date.now(), s = null, i = e.apply(o, r), s || (o = r = null);
|
|
@@ -1039,55 +1034,55 @@ function q(e, ...t) {
|
|
|
1039
1034
|
}
|
|
1040
1035
|
return n;
|
|
1041
1036
|
}
|
|
1042
|
-
function
|
|
1037
|
+
function Rn(e) {
|
|
1043
1038
|
for (const t of e)
|
|
1044
1039
|
switch (t.trigger) {
|
|
1045
1040
|
case "pageLoad":
|
|
1046
|
-
|
|
1041
|
+
nt(t);
|
|
1047
1042
|
break;
|
|
1048
1043
|
case "scrollInView":
|
|
1049
|
-
|
|
1044
|
+
En(t);
|
|
1050
1045
|
break;
|
|
1051
1046
|
}
|
|
1052
1047
|
}
|
|
1053
|
-
function
|
|
1048
|
+
function et(e) {
|
|
1054
1049
|
console.warn(`Cannot animate element: element with ID ${e} not found!`);
|
|
1055
1050
|
}
|
|
1056
|
-
function
|
|
1057
|
-
const n =
|
|
1051
|
+
function tt(e, t) {
|
|
1052
|
+
const n = Bn(e), o = getComputedStyle(t), r = e.steps[0].styles, i = e.steps[e.steps.length - 1].styles, s = [r, i];
|
|
1058
1053
|
for (const l of s)
|
|
1059
1054
|
for (const a of n)
|
|
1060
1055
|
a in l || (l[a] = o[a]);
|
|
1061
1056
|
}
|
|
1062
|
-
function
|
|
1057
|
+
function Bn(e) {
|
|
1063
1058
|
const t = [];
|
|
1064
1059
|
for (const n of e.steps)
|
|
1065
1060
|
for (const o in n.styles)
|
|
1066
1061
|
t.indexOf(o) === -1 && t.push(o);
|
|
1067
1062
|
return t;
|
|
1068
1063
|
}
|
|
1069
|
-
function
|
|
1064
|
+
function nt(e) {
|
|
1070
1065
|
const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
|
|
1071
1066
|
if (!t.length) {
|
|
1072
|
-
|
|
1067
|
+
et(e.elementId || e.id || "");
|
|
1073
1068
|
return;
|
|
1074
1069
|
}
|
|
1075
1070
|
Array.from(t).forEach((n) => {
|
|
1076
|
-
|
|
1077
|
-
n.style.transition = `all ${e.duration}s ${
|
|
1071
|
+
tt(e, n), n.style.transition = "none", n.style.transitionDelay = "0", q(n.style, e.steps[0].styles), setTimeout(() => {
|
|
1072
|
+
n.style.transition = `all ${e.duration}s ${ge(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), q(n.style, e.steps[1].styles), setTimeout(() => {
|
|
1078
1073
|
n.style.transition = "", n.style.transitionDelay = "";
|
|
1079
1074
|
}, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
|
|
1080
1075
|
});
|
|
1081
1076
|
});
|
|
1082
1077
|
}
|
|
1083
|
-
function
|
|
1078
|
+
function En(e) {
|
|
1084
1079
|
const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
|
|
1085
1080
|
if (!t.length) {
|
|
1086
|
-
|
|
1081
|
+
et(e.elementId || e.id || "");
|
|
1087
1082
|
return;
|
|
1088
1083
|
}
|
|
1089
1084
|
Array.from(t).forEach((n) => {
|
|
1090
|
-
|
|
1085
|
+
tt(e, n);
|
|
1091
1086
|
let o = !1, r = !1;
|
|
1092
1087
|
function i() {
|
|
1093
1088
|
!o && l(n) ? (o = !0, r = !0, setTimeout(() => {
|
|
@@ -1096,7 +1091,7 @@ function Pn(e) {
|
|
|
1096
1091
|
}, (e.duration + (e.delay || 0)) * 1e3 + 100);
|
|
1097
1092
|
})) : e.repeat && o && !r && !l(n) && (o = !1, q(n.style, e.steps[0].styles));
|
|
1098
1093
|
}
|
|
1099
|
-
const s =
|
|
1094
|
+
const s = $n(i, 200, {
|
|
1100
1095
|
leading: !1
|
|
1101
1096
|
});
|
|
1102
1097
|
function l(h) {
|
|
@@ -1108,30 +1103,30 @@ function Pn(e) {
|
|
|
1108
1103
|
q(n.style, a);
|
|
1109
1104
|
}
|
|
1110
1105
|
u(), setTimeout(() => {
|
|
1111
|
-
n.style.transition = `all ${e.duration}s ${
|
|
1106
|
+
n.style.transition = `all ${e.duration}s ${ge(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
|
|
1112
1107
|
}), document.addEventListener("scroll", s, {
|
|
1113
1108
|
capture: !0,
|
|
1114
1109
|
passive: !0
|
|
1115
1110
|
}), i();
|
|
1116
1111
|
});
|
|
1117
1112
|
}
|
|
1118
|
-
const
|
|
1113
|
+
const ot = (e) => Object.entries(e).map(([n, o]) => {
|
|
1119
1114
|
if (typeof o == "string")
|
|
1120
|
-
return `${
|
|
1121
|
-
}).filter(L),
|
|
1115
|
+
return `${ge(n)}: ${o};`;
|
|
1116
|
+
}).filter(L), Pn = (e) => ot(e).join(`
|
|
1122
1117
|
`), Di = ({
|
|
1123
1118
|
mediaQuery: e,
|
|
1124
1119
|
className: t,
|
|
1125
1120
|
styles: n
|
|
1126
1121
|
}) => {
|
|
1127
1122
|
const o = `.${t} {
|
|
1128
|
-
${
|
|
1123
|
+
${Pn(n)}
|
|
1129
1124
|
}`;
|
|
1130
1125
|
return e ? `${e} {
|
|
1131
1126
|
${o}
|
|
1132
1127
|
}` : o;
|
|
1133
1128
|
};
|
|
1134
|
-
function
|
|
1129
|
+
function xn({
|
|
1135
1130
|
style: e
|
|
1136
1131
|
}) {
|
|
1137
1132
|
return e;
|
|
@@ -1139,18 +1134,18 @@ function An({
|
|
|
1139
1134
|
const Li = ({
|
|
1140
1135
|
block: e,
|
|
1141
1136
|
context: t
|
|
1142
|
-
}) =>
|
|
1137
|
+
}) => rt(xn({
|
|
1143
1138
|
style: e.style || {},
|
|
1144
1139
|
context: t,
|
|
1145
1140
|
block: e
|
|
1146
1141
|
}));
|
|
1147
|
-
function
|
|
1142
|
+
function rt(e) {
|
|
1148
1143
|
switch (E) {
|
|
1149
1144
|
case "svelte":
|
|
1150
1145
|
case "vue":
|
|
1151
1146
|
case "solid":
|
|
1152
1147
|
case "angular":
|
|
1153
|
-
return
|
|
1148
|
+
return ot(e).join(" ");
|
|
1154
1149
|
case "qwik":
|
|
1155
1150
|
case "reactNative":
|
|
1156
1151
|
case "react":
|
|
@@ -1158,7 +1153,7 @@ function it(e) {
|
|
|
1158
1153
|
return e;
|
|
1159
1154
|
}
|
|
1160
1155
|
}
|
|
1161
|
-
const
|
|
1156
|
+
const An = ({
|
|
1162
1157
|
block: e,
|
|
1163
1158
|
registeredComponents: t
|
|
1164
1159
|
}) => {
|
|
@@ -1172,7 +1167,7 @@ const Vn = ({
|
|
|
1172
1167
|
console.warn(`
|
|
1173
1168
|
Could not find a registered component named "${n}".
|
|
1174
1169
|
If you registered it, is the file that registered it imported by the file that needs to render it?`);
|
|
1175
|
-
},
|
|
1170
|
+
}, Vn = ({
|
|
1176
1171
|
block: e,
|
|
1177
1172
|
context: t
|
|
1178
1173
|
}) => {
|
|
@@ -1206,59 +1201,59 @@ const Vn = ({
|
|
|
1206
1201
|
},
|
|
1207
1202
|
block: o
|
|
1208
1203
|
}));
|
|
1209
|
-
},
|
|
1204
|
+
}, Wn = (e, t) => {
|
|
1210
1205
|
var n;
|
|
1211
1206
|
return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderLinkComponent ? {
|
|
1212
1207
|
builderLinkComponent: t
|
|
1213
1208
|
} : {};
|
|
1214
|
-
},
|
|
1209
|
+
}, Nn = (e, t) => {
|
|
1215
1210
|
var n;
|
|
1216
1211
|
return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderComponents ? {
|
|
1217
1212
|
builderComponents: t
|
|
1218
1213
|
} : {};
|
|
1219
|
-
},
|
|
1214
|
+
}, On = (e, t) => {
|
|
1220
1215
|
var n;
|
|
1221
1216
|
return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderBlock ? {
|
|
1222
1217
|
builderBlock: t
|
|
1223
1218
|
} : {};
|
|
1224
|
-
},
|
|
1219
|
+
}, Fn = (e, t) => {
|
|
1225
1220
|
var n;
|
|
1226
1221
|
return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderContext ? {
|
|
1227
1222
|
builderContext: t
|
|
1228
1223
|
} : {};
|
|
1229
|
-
},
|
|
1224
|
+
}, Dn = () => Promise.resolve().then(() => Zn).then((e) => e.default).catch((e) => {
|
|
1230
1225
|
throw console.error(
|
|
1231
1226
|
"Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
|
|
1232
1227
|
e
|
|
1233
1228
|
), e;
|
|
1234
|
-
}),
|
|
1229
|
+
}), Ln = () => import("./block-styles-nWGppwAf.js").then((e) => e.default).catch((e) => {
|
|
1235
1230
|
throw console.error(
|
|
1236
1231
|
"Error while attempting to dynamically import component BlockStyles at ./components/block-styles.vue",
|
|
1237
1232
|
e
|
|
1238
1233
|
), e;
|
|
1239
|
-
}),
|
|
1234
|
+
}), Un = () => import("./block-wrapper-hPYvxseU.js").then((e) => e.default).catch((e) => {
|
|
1240
1235
|
throw console.error(
|
|
1241
1236
|
"Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
|
|
1242
1237
|
e
|
|
1243
1238
|
), e;
|
|
1244
|
-
}),
|
|
1239
|
+
}), Mn = () => import("./component-ref-JlpkOrad.js").then((e) => e.default).catch((e) => {
|
|
1245
1240
|
throw console.error(
|
|
1246
1241
|
"Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
|
|
1247
1242
|
e
|
|
1248
1243
|
), e;
|
|
1249
|
-
}),
|
|
1244
|
+
}), Hn = () => import("./repeated-block-8EN4xN25.js").then((e) => e.default).catch((e) => {
|
|
1250
1245
|
throw console.error(
|
|
1251
1246
|
"Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
|
|
1252
1247
|
e
|
|
1253
1248
|
), e;
|
|
1254
|
-
}),
|
|
1249
|
+
}), jn = f({
|
|
1255
1250
|
name: "block",
|
|
1256
1251
|
components: {
|
|
1257
|
-
BlockStyles: j(
|
|
1258
|
-
RepeatedBlock: j(
|
|
1259
|
-
ComponentRef: j(
|
|
1260
|
-
BlockWrapper: j(
|
|
1261
|
-
DynamicDiv: j(
|
|
1252
|
+
BlockStyles: j(Ln),
|
|
1253
|
+
RepeatedBlock: j(Hn),
|
|
1254
|
+
ComponentRef: j(Mn),
|
|
1255
|
+
BlockWrapper: j(Un),
|
|
1256
|
+
DynamicDiv: j(Dn)
|
|
1262
1257
|
},
|
|
1263
1258
|
props: ["block", "context", "registeredComponents", "linkComponent"],
|
|
1264
1259
|
data() {
|
|
@@ -1271,7 +1266,7 @@ const Vn = ({
|
|
|
1271
1266
|
},
|
|
1272
1267
|
mounted() {
|
|
1273
1268
|
const e = this.processedBlock.id, t = this.processedBlock.animations;
|
|
1274
|
-
t && e &&
|
|
1269
|
+
t && e && Rn(
|
|
1275
1270
|
t.map((n) => ({
|
|
1276
1271
|
...n,
|
|
1277
1272
|
elementId: e
|
|
@@ -1282,14 +1277,14 @@ const Vn = ({
|
|
|
1282
1277
|
},
|
|
1283
1278
|
computed: {
|
|
1284
1279
|
repeatItem() {
|
|
1285
|
-
return
|
|
1280
|
+
return Vn({
|
|
1286
1281
|
block: this.block,
|
|
1287
1282
|
context: this.context
|
|
1288
1283
|
});
|
|
1289
1284
|
},
|
|
1290
1285
|
processedBlock() {
|
|
1291
1286
|
var t;
|
|
1292
|
-
return (t = this.block.repeat) != null && t.collection ? this.block :
|
|
1287
|
+
return (t = this.block.repeat) != null && t.collection ? this.block : Ut({
|
|
1293
1288
|
block: this.block,
|
|
1294
1289
|
localState: this.context.localState,
|
|
1295
1290
|
rootState: this.context.rootState,
|
|
@@ -1299,7 +1294,7 @@ const Vn = ({
|
|
|
1299
1294
|
});
|
|
1300
1295
|
},
|
|
1301
1296
|
blockComponent() {
|
|
1302
|
-
return
|
|
1297
|
+
return An({
|
|
1303
1298
|
block: this.processedBlock,
|
|
1304
1299
|
registeredComponents: this.registeredComponents
|
|
1305
1300
|
});
|
|
@@ -1325,11 +1320,11 @@ const Vn = ({
|
|
|
1325
1320
|
blockChildren: this.processedBlock.children ?? [],
|
|
1326
1321
|
componentRef: (e = this.blockComponent) == null ? void 0 : e.component,
|
|
1327
1322
|
componentOptions: {
|
|
1328
|
-
...
|
|
1329
|
-
...
|
|
1330
|
-
...
|
|
1331
|
-
...
|
|
1332
|
-
...
|
|
1323
|
+
...Tt(this.processedBlock),
|
|
1324
|
+
...On(this.blockComponent, this.processedBlock),
|
|
1325
|
+
...Fn(this.blockComponent, this.context),
|
|
1326
|
+
...Wn(this.blockComponent, this.linkComponent),
|
|
1327
|
+
...Nn(
|
|
1333
1328
|
this.blockComponent,
|
|
1334
1329
|
this.registeredComponents
|
|
1335
1330
|
)
|
|
@@ -1344,7 +1339,7 @@ const Vn = ({
|
|
|
1344
1339
|
}
|
|
1345
1340
|
}
|
|
1346
1341
|
});
|
|
1347
|
-
function
|
|
1342
|
+
function Kn(e, t, n, o, r, i) {
|
|
1348
1343
|
var d;
|
|
1349
1344
|
const s = y("BlockStyles"), l = y("ComponentRef"), a = y("Block", !0), u = y("BlockWrapper"), h = y("RepeatedBlock");
|
|
1350
1345
|
return e.canShowBlock ? (c(), m(w, { key: 0 }, [
|
|
@@ -1409,10 +1404,10 @@ function qn(e, t, n, o, r, i) {
|
|
|
1409
1404
|
], 64))
|
|
1410
1405
|
], 64)) : S("", !0);
|
|
1411
1406
|
}
|
|
1412
|
-
const
|
|
1407
|
+
const ye = /* @__PURE__ */ b(jn, [["render", Kn]]), Ui = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1413
1408
|
__proto__: null,
|
|
1414
|
-
default:
|
|
1415
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1409
|
+
default: ye
|
|
1410
|
+
}, Symbol.toStringTag, { value: "Module" })), qn = f({
|
|
1416
1411
|
name: "builder-blocks-wrapper",
|
|
1417
1412
|
props: [
|
|
1418
1413
|
"blocks",
|
|
@@ -1459,7 +1454,7 @@ const ke = /* @__PURE__ */ b(Kn, [["render", qn]]), Ui = /* @__PURE__ */ Object.
|
|
|
1459
1454
|
}
|
|
1460
1455
|
}
|
|
1461
1456
|
});
|
|
1462
|
-
function
|
|
1457
|
+
function zn(e, t, n, o, r, i) {
|
|
1463
1458
|
return c(), g(K(e.BlocksWrapper), C({
|
|
1464
1459
|
ref: "blocksWrapperRef",
|
|
1465
1460
|
class: e.className + " component-178o76acnws",
|
|
@@ -1476,9 +1471,9 @@ function Jn(e, t, n, o, r, i) {
|
|
|
1476
1471
|
_: 3
|
|
1477
1472
|
}, 16, ["class", "builder-path", "builder-parent-id", "style", "onClick", "onMouseEnter", "onKeyPress"]);
|
|
1478
1473
|
}
|
|
1479
|
-
const
|
|
1474
|
+
const Jn = /* @__PURE__ */ b(qn, [["render", zn], ["__scopeId", "data-v-824f09a8"]]), Gn = f({
|
|
1480
1475
|
name: "builder-blocks",
|
|
1481
|
-
components: { BlocksWrapper:
|
|
1476
|
+
components: { BlocksWrapper: Jn, Block: ye },
|
|
1482
1477
|
props: [
|
|
1483
1478
|
"blocks",
|
|
1484
1479
|
"parent",
|
|
@@ -1489,11 +1484,11 @@ const Gn = /* @__PURE__ */ b(zn, [["render", Jn], ["__scopeId", "data-v-824f09a8
|
|
|
1489
1484
|
"registeredComponents"
|
|
1490
1485
|
],
|
|
1491
1486
|
inject: {
|
|
1492
|
-
builderContext:
|
|
1493
|
-
componentsContext:
|
|
1487
|
+
builderContext: le.key,
|
|
1488
|
+
componentsContext: Ae.key
|
|
1494
1489
|
}
|
|
1495
1490
|
});
|
|
1496
|
-
function
|
|
1491
|
+
function Yn(e, t, n, o, r, i) {
|
|
1497
1492
|
var a, u;
|
|
1498
1493
|
const s = y("Block"), l = y("BlocksWrapper");
|
|
1499
1494
|
return c(), g(l, {
|
|
@@ -1516,21 +1511,21 @@ function Qn(e, t, n, o, r, i) {
|
|
|
1516
1511
|
_: 1
|
|
1517
1512
|
}, 8, ["blocks", "parent", "path", "styleProp", "BlocksWrapper", "BlocksWrapperProps"]);
|
|
1518
1513
|
}
|
|
1519
|
-
const M = /* @__PURE__ */ b(
|
|
1514
|
+
const M = /* @__PURE__ */ b(Gn, [["render", Yn]]), Qn = f({
|
|
1520
1515
|
name: "dynamic-div",
|
|
1521
1516
|
props: []
|
|
1522
1517
|
});
|
|
1523
|
-
function
|
|
1518
|
+
function Xn(e, t, n, o, r, i) {
|
|
1524
1519
|
return c(), m("div", null, [
|
|
1525
1520
|
x(e.$slots, "default")
|
|
1526
1521
|
]);
|
|
1527
1522
|
}
|
|
1528
|
-
const Q = /* @__PURE__ */ b(
|
|
1523
|
+
const Q = /* @__PURE__ */ b(Qn, [["render", Xn]]), Zn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1529
1524
|
__proto__: null,
|
|
1530
1525
|
default: Q
|
|
1531
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1526
|
+
}, Symbol.toStringTag, { value: "Module" })), ke = f({
|
|
1532
1527
|
render() {
|
|
1533
|
-
return
|
|
1528
|
+
return xe("style", {
|
|
1534
1529
|
innerHTML: this.styles,
|
|
1535
1530
|
"data-id": this.id,
|
|
1536
1531
|
nonce: this.nonce
|
|
@@ -1538,7 +1533,7 @@ const Q = /* @__PURE__ */ b(Xn, [["render", Zn]]), _n = /* @__PURE__ */ Object.f
|
|
|
1538
1533
|
},
|
|
1539
1534
|
name: "inlined-styles",
|
|
1540
1535
|
props: ["styles", "id", "nonce"]
|
|
1541
|
-
}),
|
|
1536
|
+
}), it = {
|
|
1542
1537
|
small: {
|
|
1543
1538
|
min: 320,
|
|
1544
1539
|
default: 321,
|
|
@@ -1554,11 +1549,11 @@ const Q = /* @__PURE__ */ b(Xn, [["render", Zn]]), _n = /* @__PURE__ */ Object.f
|
|
|
1554
1549
|
default: 991,
|
|
1555
1550
|
max: 1200
|
|
1556
1551
|
}
|
|
1557
|
-
}, Mi = (e, t =
|
|
1552
|
+
}, Mi = (e, t = it) => `@media (max-width: ${t[e].max}px)`, _n = ({
|
|
1558
1553
|
small: e,
|
|
1559
1554
|
medium: t
|
|
1560
1555
|
}) => {
|
|
1561
|
-
const n =
|
|
1556
|
+
const n = me(it);
|
|
1562
1557
|
if (!e || !t)
|
|
1563
1558
|
return n;
|
|
1564
1559
|
const o = Math.floor(e / 2);
|
|
@@ -1580,11 +1575,11 @@ const Q = /* @__PURE__ */ b(Xn, [["render", Zn]]), _n = /* @__PURE__ */ Object.f
|
|
|
1580
1575
|
min: i,
|
|
1581
1576
|
default: i + 1
|
|
1582
1577
|
}, n;
|
|
1583
|
-
},
|
|
1578
|
+
}, eo = (e) => `builder-columns ${e}-breakpoints`, to = f({
|
|
1584
1579
|
name: "builder-columns",
|
|
1585
1580
|
components: {
|
|
1586
|
-
InlinedStyles:
|
|
1587
|
-
DynamicRenderer:
|
|
1581
|
+
InlinedStyles: ke,
|
|
1582
|
+
DynamicRenderer: pe,
|
|
1588
1583
|
Blocks: M,
|
|
1589
1584
|
DynamicDiv: Q
|
|
1590
1585
|
},
|
|
@@ -1605,7 +1600,7 @@ const Q = /* @__PURE__ */ b(Xn, [["render", Zn]]), _n = /* @__PURE__ */ Object.f
|
|
|
1605
1600
|
stackAt: this.stackColumnsAt || "tablet",
|
|
1606
1601
|
flexDir: this.stackColumnsAt === "never" ? "row" : this.reverseColumnsWhenStacked ? "column-reverse" : "column",
|
|
1607
1602
|
TARGET: E,
|
|
1608
|
-
getColumnsClass:
|
|
1603
|
+
getColumnsClass: eo
|
|
1609
1604
|
};
|
|
1610
1605
|
},
|
|
1611
1606
|
methods: {
|
|
@@ -1671,7 +1666,7 @@ const Q = /* @__PURE__ */ b(Xn, [["render", Zn]]), _n = /* @__PURE__ */ Object.f
|
|
|
1671
1666
|
},
|
|
1672
1667
|
getWidthForBreakpointSize(e) {
|
|
1673
1668
|
var n, o;
|
|
1674
|
-
return
|
|
1669
|
+
return _n(
|
|
1675
1670
|
((o = (n = this.builderContext.content) == null ? void 0 : n.meta) == null ? void 0 : o.breakpoints) || {}
|
|
1676
1671
|
)[e].max;
|
|
1677
1672
|
},
|
|
@@ -1708,13 +1703,13 @@ const Q = /* @__PURE__ */ b(Xn, [["render", Zn]]), _n = /* @__PURE__ */ Object.f
|
|
|
1708
1703
|
...e.link ? {
|
|
1709
1704
|
href: e.link
|
|
1710
1705
|
} : {},
|
|
1711
|
-
[
|
|
1712
|
-
style:
|
|
1706
|
+
[_()]: "builder-column",
|
|
1707
|
+
style: rt(this.columnCssVars(t))
|
|
1713
1708
|
};
|
|
1714
1709
|
}
|
|
1715
1710
|
}
|
|
1716
1711
|
});
|
|
1717
|
-
function
|
|
1712
|
+
function no(e, t, n, o, r, i) {
|
|
1718
1713
|
var u;
|
|
1719
1714
|
const s = y("InlinedStyles"), l = y("Blocks"), a = y("DynamicRenderer");
|
|
1720
1715
|
return c(), m("div", C({
|
|
@@ -1750,47 +1745,47 @@ function oo(e, t, n, o, r, i) {
|
|
|
1750
1745
|
}, 1032, ["TagName", "attributes"]))), 128))
|
|
1751
1746
|
], 16);
|
|
1752
1747
|
}
|
|
1753
|
-
const
|
|
1748
|
+
const oo = /* @__PURE__ */ b(to, [["render", no], ["__scopeId", "data-v-52366f16"]]), ro = f({
|
|
1754
1749
|
name: "builder-fragment-component",
|
|
1755
1750
|
props: []
|
|
1756
1751
|
});
|
|
1757
|
-
function
|
|
1752
|
+
function io(e, t, n, o, r, i) {
|
|
1758
1753
|
return c(), m("span", null, [
|
|
1759
1754
|
x(e.$slots, "default")
|
|
1760
1755
|
]);
|
|
1761
1756
|
}
|
|
1762
|
-
const
|
|
1763
|
-
function
|
|
1757
|
+
const so = /* @__PURE__ */ b(ro, [["render", io]]);
|
|
1758
|
+
function Re(e) {
|
|
1764
1759
|
return e.replace(/http(s)?:/, "");
|
|
1765
1760
|
}
|
|
1766
|
-
function
|
|
1761
|
+
function ao(e = "", t, n) {
|
|
1767
1762
|
const o = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), r = e.indexOf("?") !== -1 ? "&" : "?";
|
|
1768
1763
|
return e.match(o) ? e.replace(o, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + r + t + "=" + encodeURIComponent(n);
|
|
1769
1764
|
}
|
|
1770
|
-
function
|
|
1765
|
+
function lo(e, t) {
|
|
1771
1766
|
if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
|
|
1772
1767
|
return e;
|
|
1773
1768
|
if (t === "master")
|
|
1774
|
-
return
|
|
1769
|
+
return Re(e);
|
|
1775
1770
|
const n = e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);
|
|
1776
1771
|
if (n) {
|
|
1777
1772
|
const o = e.split(n[0]), r = n[3], i = t.match("x") ? t : `${t}x`;
|
|
1778
|
-
return
|
|
1773
|
+
return Re(`${o[0]}_${i}${r}`);
|
|
1779
1774
|
}
|
|
1780
1775
|
return null;
|
|
1781
1776
|
}
|
|
1782
|
-
function
|
|
1777
|
+
function oe(e) {
|
|
1783
1778
|
if (!e)
|
|
1784
1779
|
return e;
|
|
1785
1780
|
const t = [100, 200, 400, 800, 1200, 1600, 2e3];
|
|
1786
1781
|
if (e.match(/builder\.io/)) {
|
|
1787
1782
|
let n = e;
|
|
1788
1783
|
const o = Number(e.split("?width=")[1]);
|
|
1789
|
-
return isNaN(o) || (n = `${n} ${o}w`), t.filter((r) => r !== o).map((r) => `${
|
|
1784
|
+
return isNaN(o) || (n = `${n} ${o}w`), t.filter((r) => r !== o).map((r) => `${ao(e, "width", r)} ${r}w`).concat([n]).join(", ");
|
|
1790
1785
|
}
|
|
1791
|
-
return e.match(/cdn\.shopify\.com/) ? t.map((n) => [
|
|
1786
|
+
return e.match(/cdn\.shopify\.com/) ? t.map((n) => [lo(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, o]) => `${n} ${o}w`).concat([e]).join(", ") : e;
|
|
1792
1787
|
}
|
|
1793
|
-
const
|
|
1788
|
+
const co = f({
|
|
1794
1789
|
name: "builder-image",
|
|
1795
1790
|
props: [
|
|
1796
1791
|
"image",
|
|
@@ -1820,10 +1815,10 @@ const uo = f({
|
|
|
1820
1815
|
if (!this.noWebp) {
|
|
1821
1816
|
if (this.srcset && ((n = this.image) != null && n.includes("builder.io/api/v1/image"))) {
|
|
1822
1817
|
if (!this.srcset.includes(this.image.split("?")[0]))
|
|
1823
|
-
return console.debug("Removed given srcset"),
|
|
1818
|
+
return console.debug("Removed given srcset"), oe(t);
|
|
1824
1819
|
} else if (this.image && !this.srcset)
|
|
1825
|
-
return
|
|
1826
|
-
return
|
|
1820
|
+
return oe(t);
|
|
1821
|
+
return oe(t);
|
|
1827
1822
|
}
|
|
1828
1823
|
},
|
|
1829
1824
|
webpSrcSet() {
|
|
@@ -1841,11 +1836,11 @@ const uo = f({
|
|
|
1841
1836
|
return this.aspectRatio ? e : void 0;
|
|
1842
1837
|
}
|
|
1843
1838
|
}
|
|
1844
|
-
}),
|
|
1839
|
+
}), uo = ["srcset"], po = ["loading", "fetchpriority", "alt", "role", "src", "srcset", "sizes"], mo = {
|
|
1845
1840
|
key: 2,
|
|
1846
1841
|
class: "div-1pl23ac79ld-2"
|
|
1847
1842
|
};
|
|
1848
|
-
function
|
|
1843
|
+
function ho(e, t, n, o, r, i) {
|
|
1849
1844
|
var s, l, a, u, h, d;
|
|
1850
1845
|
return c(), m(w, null, [
|
|
1851
1846
|
z("picture", null, [
|
|
@@ -1853,7 +1848,7 @@ function fo(e, t, n, o, r, i) {
|
|
|
1853
1848
|
key: 0,
|
|
1854
1849
|
type: "image/webp",
|
|
1855
1850
|
srcset: e.webpSrcSet
|
|
1856
|
-
}, null, 8,
|
|
1851
|
+
}, null, 8, uo)) : S("", !0),
|
|
1857
1852
|
z("img", {
|
|
1858
1853
|
loading: e.highPriority ? "eager" : "lazy",
|
|
1859
1854
|
fetchpriority: e.highPriority ? "high" : "auto",
|
|
@@ -1870,7 +1865,7 @@ function fo(e, t, n, o, r, i) {
|
|
|
1870
1865
|
src: e.image,
|
|
1871
1866
|
srcset: e.srcSetToUse,
|
|
1872
1867
|
sizes: e.sizes
|
|
1873
|
-
}, null, 14,
|
|
1868
|
+
}, null, 14, po)
|
|
1874
1869
|
]),
|
|
1875
1870
|
e.aspectRatio && !((l = (s = e.builderBlock) == null ? void 0 : s.children) != null && l.length && e.fitContent) ? (c(), m("div", {
|
|
1876
1871
|
key: 0,
|
|
@@ -1880,19 +1875,19 @@ function fo(e, t, n, o, r, i) {
|
|
|
1880
1875
|
})
|
|
1881
1876
|
}, null, 4)) : S("", !0),
|
|
1882
1877
|
(u = (a = e.builderBlock) == null ? void 0 : a.children) != null && u.length && e.fitContent ? x(e.$slots, "default", { key: 1 }, void 0, !0) : S("", !0),
|
|
1883
|
-
!e.fitContent && ((d = (h = e.builderBlock) == null ? void 0 : h.children) != null && d.length) ? (c(), m("div",
|
|
1878
|
+
!e.fitContent && ((d = (h = e.builderBlock) == null ? void 0 : h.children) != null && d.length) ? (c(), m("div", mo, [
|
|
1884
1879
|
x(e.$slots, "default", {}, void 0, !0)
|
|
1885
1880
|
])) : S("", !0)
|
|
1886
1881
|
], 64);
|
|
1887
1882
|
}
|
|
1888
|
-
const
|
|
1883
|
+
const fo = /* @__PURE__ */ b(co, [["render", ho], ["__scopeId", "data-v-b1147753"]]), bo = f({
|
|
1889
1884
|
name: "builder-section-component",
|
|
1890
1885
|
props: ["attributes", "maxWidth"],
|
|
1891
1886
|
data() {
|
|
1892
1887
|
return { filterAttrs: V };
|
|
1893
1888
|
}
|
|
1894
1889
|
});
|
|
1895
|
-
function
|
|
1890
|
+
function go(e, t, n, o, r, i) {
|
|
1896
1891
|
return c(), m("section", C({
|
|
1897
1892
|
style: {
|
|
1898
1893
|
width: "100%",
|
|
@@ -1910,7 +1905,7 @@ function yo(e, t, n, o, r, i) {
|
|
|
1910
1905
|
x(e.$slots, "default")
|
|
1911
1906
|
], 16);
|
|
1912
1907
|
}
|
|
1913
|
-
const
|
|
1908
|
+
const yo = /* @__PURE__ */ b(bo, [["render", go]]), re = {
|
|
1914
1909
|
"@type": "@builder.io/sdk:Element",
|
|
1915
1910
|
layerName: "Accordion item title",
|
|
1916
1911
|
responsiveStyles: {
|
|
@@ -1939,7 +1934,7 @@ const ko = /* @__PURE__ */ b(go, [["render", yo]]), ie = {
|
|
|
1939
1934
|
}
|
|
1940
1935
|
}
|
|
1941
1936
|
}]
|
|
1942
|
-
},
|
|
1937
|
+
}, ie = {
|
|
1943
1938
|
"@type": "@builder.io/sdk:Element",
|
|
1944
1939
|
layerName: "Accordion item detail",
|
|
1945
1940
|
responsiveStyles: {
|
|
@@ -1970,7 +1965,7 @@ const ko = /* @__PURE__ */ b(go, [["render", yo]]), ie = {
|
|
|
1970
1965
|
}
|
|
1971
1966
|
}
|
|
1972
1967
|
}]
|
|
1973
|
-
},
|
|
1968
|
+
}, ko = {
|
|
1974
1969
|
name: "Builder:Accordion",
|
|
1975
1970
|
canHaveChildren: !0,
|
|
1976
1971
|
image: "https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Ffab6c1fd3fe542408cbdec078bca7f35",
|
|
@@ -1987,19 +1982,19 @@ const ko = /* @__PURE__ */ b(go, [["render", yo]]), ie = {
|
|
|
1987
1982
|
name: "title",
|
|
1988
1983
|
type: "uiBlocks",
|
|
1989
1984
|
hideFromUI: !0,
|
|
1990
|
-
defaultValue: [
|
|
1985
|
+
defaultValue: [re]
|
|
1991
1986
|
}, {
|
|
1992
1987
|
name: "detail",
|
|
1993
1988
|
type: "uiBlocks",
|
|
1994
1989
|
hideFromUI: !0,
|
|
1995
|
-
defaultValue: [
|
|
1990
|
+
defaultValue: [ie]
|
|
1996
1991
|
}],
|
|
1997
1992
|
defaultValue: [{
|
|
1998
|
-
title: [
|
|
1999
|
-
detail: [
|
|
1993
|
+
title: [re],
|
|
1994
|
+
detail: [ie]
|
|
2000
1995
|
}, {
|
|
2001
|
-
title: [
|
|
2002
|
-
detail: [
|
|
1996
|
+
title: [re],
|
|
1997
|
+
detail: [ie]
|
|
2003
1998
|
}],
|
|
2004
1999
|
showIf: (e) => !e.get("useChildrenForItems")
|
|
2005
2000
|
}, {
|
|
@@ -2034,7 +2029,7 @@ const ko = /* @__PURE__ */ b(go, [["render", yo]]), ie = {
|
|
|
2034
2029
|
builderComponents: !0,
|
|
2035
2030
|
builderLinkComponent: !0
|
|
2036
2031
|
}
|
|
2037
|
-
},
|
|
2032
|
+
}, vo = (e) => e.toString(), So = f({
|
|
2038
2033
|
name: "builder-accordion",
|
|
2039
2034
|
components: { Blocks: M },
|
|
2040
2035
|
props: [
|
|
@@ -2048,7 +2043,7 @@ const ko = /* @__PURE__ */ b(go, [["render", yo]]), ie = {
|
|
|
2048
2043
|
"builderLinkComponent"
|
|
2049
2044
|
],
|
|
2050
2045
|
data() {
|
|
2051
|
-
return { open: [], convertOrderNumberToString:
|
|
2046
|
+
return { open: [], convertOrderNumberToString: vo };
|
|
2052
2047
|
},
|
|
2053
2048
|
computed: {
|
|
2054
2049
|
onlyOneAtATime() {
|
|
@@ -2129,8 +2124,8 @@ const ko = /* @__PURE__ */ b(go, [["render", yo]]), ie = {
|
|
|
2129
2124
|
this.open.includes(e) ? this.open = this.onlyOneAtATime ? [] : this.open.filter((t) => t !== e) : this.open = this.onlyOneAtATime ? [e] : this.open.concat(e);
|
|
2130
2125
|
}
|
|
2131
2126
|
}
|
|
2132
|
-
}),
|
|
2133
|
-
function
|
|
2127
|
+
}), Co = ["data-index", "onClick"];
|
|
2128
|
+
function wo(e, t, n, o, r, i) {
|
|
2134
2129
|
const s = y("Blocks");
|
|
2135
2130
|
return c(), m("div", {
|
|
2136
2131
|
class: "builder-accordion",
|
|
@@ -2155,7 +2150,7 @@ function To(e, t, n, o, r, i) {
|
|
|
2155
2150
|
registeredComponents: e.builderComponents,
|
|
2156
2151
|
linkComponent: e.builderLinkComponent
|
|
2157
2152
|
}, null, 8, ["blocks", "path", "parent", "context", "registeredComponents", "linkComponent"])
|
|
2158
|
-
], 14,
|
|
2153
|
+
], 14, Co),
|
|
2159
2154
|
e.open.includes(a) ? (c(), m("div", {
|
|
2160
2155
|
key: 0,
|
|
2161
2156
|
class: J(e.getAccordionDetailClassName(a)),
|
|
@@ -2173,7 +2168,7 @@ function To(e, t, n, o, r, i) {
|
|
|
2173
2168
|
], 64))), 128))
|
|
2174
2169
|
], 4);
|
|
2175
2170
|
}
|
|
2176
|
-
const
|
|
2171
|
+
const To = /* @__PURE__ */ b(So, [["render", wo]]), Io = {
|
|
2177
2172
|
name: "Core:Button",
|
|
2178
2173
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
|
|
2179
2174
|
defaultStyles: {
|
|
@@ -2209,7 +2204,7 @@ const Io = /* @__PURE__ */ b(Co, [["render", To]]), $o = {
|
|
|
2209
2204
|
shouldReceiveBuilderProps: {
|
|
2210
2205
|
builderLinkComponent: !0
|
|
2211
2206
|
}
|
|
2212
|
-
},
|
|
2207
|
+
}, $o = {
|
|
2213
2208
|
// TODO: ways to statically preprocess JSON for references, functions, etc
|
|
2214
2209
|
name: "Columns",
|
|
2215
2210
|
isRSC: !0,
|
|
@@ -2416,13 +2411,13 @@ const Io = /* @__PURE__ */ b(Co, [["render", To]]), $o = {
|
|
|
2416
2411
|
builderComponents: !0,
|
|
2417
2412
|
builderLinkComponent: !0
|
|
2418
2413
|
}
|
|
2419
|
-
},
|
|
2414
|
+
}, Ro = {
|
|
2420
2415
|
name: "Fragment",
|
|
2421
2416
|
static: !0,
|
|
2422
2417
|
hidden: !0,
|
|
2423
2418
|
canHaveChildren: !0,
|
|
2424
2419
|
noWrap: !0
|
|
2425
|
-
},
|
|
2420
|
+
}, Bo = {
|
|
2426
2421
|
name: "Image",
|
|
2427
2422
|
static: !0,
|
|
2428
2423
|
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",
|
|
@@ -2530,7 +2525,7 @@ const Io = /* @__PURE__ */ b(Co, [["render", To]]), $o = {
|
|
|
2530
2525
|
shouldReceiveBuilderProps: {
|
|
2531
2526
|
builderBlock: !0
|
|
2532
2527
|
}
|
|
2533
|
-
},
|
|
2528
|
+
}, Eo = {
|
|
2534
2529
|
name: "Core:Section",
|
|
2535
2530
|
static: !0,
|
|
2536
2531
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
|
|
@@ -2569,7 +2564,7 @@ const Io = /* @__PURE__ */ b(Co, [["render", To]]), $o = {
|
|
|
2569
2564
|
}
|
|
2570
2565
|
}
|
|
2571
2566
|
}]
|
|
2572
|
-
},
|
|
2567
|
+
}, Po = {
|
|
2573
2568
|
name: "Slot",
|
|
2574
2569
|
isRSC: !0,
|
|
2575
2570
|
description: "Allow child blocks to be inserted into this content when used as a Symbol",
|
|
@@ -2586,12 +2581,12 @@ const Io = /* @__PURE__ */ b(Co, [["render", To]]), $o = {
|
|
|
2586
2581
|
builderContext: !0,
|
|
2587
2582
|
builderComponents: !0
|
|
2588
2583
|
}
|
|
2589
|
-
},
|
|
2584
|
+
}, xo = f({
|
|
2590
2585
|
name: "builder-slot",
|
|
2591
2586
|
components: { Blocks: M },
|
|
2592
2587
|
props: ["builderContext", "name", "builderComponents"]
|
|
2593
2588
|
});
|
|
2594
|
-
function
|
|
2589
|
+
function Ao(e, t, n, o, r, i) {
|
|
2595
2590
|
var l, a, u;
|
|
2596
2591
|
const s = y("Blocks");
|
|
2597
2592
|
return c(), m("div", C(
|
|
@@ -2611,7 +2606,7 @@ function Vo(e, t, n, o, r, i) {
|
|
|
2611
2606
|
}, null, 8, ["parent", "path", "context", "registeredComponents", "blocks"])
|
|
2612
2607
|
], 16);
|
|
2613
2608
|
}
|
|
2614
|
-
const
|
|
2609
|
+
const Vo = /* @__PURE__ */ b(xo, [["render", Ao]]), Wo = {
|
|
2615
2610
|
name: "Symbol",
|
|
2616
2611
|
noWrap: !0,
|
|
2617
2612
|
static: !0,
|
|
@@ -2650,7 +2645,7 @@ const Wo = /* @__PURE__ */ b(Ao, [["render", Vo]]), No = {
|
|
|
2650
2645
|
builderComponents: !0,
|
|
2651
2646
|
builderLinkComponent: !0
|
|
2652
2647
|
}
|
|
2653
|
-
},
|
|
2648
|
+
}, se = {
|
|
2654
2649
|
"@type": "@builder.io/sdk:Element",
|
|
2655
2650
|
responsiveStyles: {
|
|
2656
2651
|
large: {
|
|
@@ -2672,7 +2667,7 @@ const Wo = /* @__PURE__ */ b(Ao, [["render", Vo]]), No = {
|
|
|
2672
2667
|
text: "New tab"
|
|
2673
2668
|
}
|
|
2674
2669
|
}
|
|
2675
|
-
},
|
|
2670
|
+
}, ae = {
|
|
2676
2671
|
"@type": "@builder.io/sdk:Element",
|
|
2677
2672
|
responsiveStyles: {
|
|
2678
2673
|
large: {
|
|
@@ -2688,7 +2683,7 @@ const Wo = /* @__PURE__ */ b(Ao, [["render", Vo]]), No = {
|
|
|
2688
2683
|
text: "New tab content "
|
|
2689
2684
|
}
|
|
2690
2685
|
}
|
|
2691
|
-
},
|
|
2686
|
+
}, No = {
|
|
2692
2687
|
name: "Builder: Tabs",
|
|
2693
2688
|
inputs: [{
|
|
2694
2689
|
name: "tabs",
|
|
@@ -2698,16 +2693,16 @@ const Wo = /* @__PURE__ */ b(Ao, [["render", Vo]]), No = {
|
|
|
2698
2693
|
name: "label",
|
|
2699
2694
|
type: "uiBlocks",
|
|
2700
2695
|
hideFromUI: !0,
|
|
2701
|
-
defaultValue: [
|
|
2696
|
+
defaultValue: [se]
|
|
2702
2697
|
}, {
|
|
2703
2698
|
name: "content",
|
|
2704
2699
|
type: "uiBlocks",
|
|
2705
2700
|
hideFromUI: !0,
|
|
2706
|
-
defaultValue: [
|
|
2701
|
+
defaultValue: [ae]
|
|
2707
2702
|
}],
|
|
2708
2703
|
defaultValue: [{
|
|
2709
2704
|
label: [{
|
|
2710
|
-
...
|
|
2705
|
+
...se,
|
|
2711
2706
|
component: {
|
|
2712
2707
|
name: "Text",
|
|
2713
2708
|
options: {
|
|
@@ -2716,7 +2711,7 @@ const Wo = /* @__PURE__ */ b(Ao, [["render", Vo]]), No = {
|
|
|
2716
2711
|
}
|
|
2717
2712
|
}],
|
|
2718
2713
|
content: [{
|
|
2719
|
-
...
|
|
2714
|
+
...ae,
|
|
2720
2715
|
component: {
|
|
2721
2716
|
name: "Text",
|
|
2722
2717
|
options: {
|
|
@@ -2726,7 +2721,7 @@ const Wo = /* @__PURE__ */ b(Ao, [["render", Vo]]), No = {
|
|
|
2726
2721
|
}]
|
|
2727
2722
|
}, {
|
|
2728
2723
|
label: [{
|
|
2729
|
-
...
|
|
2724
|
+
...se,
|
|
2730
2725
|
component: {
|
|
2731
2726
|
name: "Text",
|
|
2732
2727
|
options: {
|
|
@@ -2735,7 +2730,7 @@ const Wo = /* @__PURE__ */ b(Ao, [["render", Vo]]), No = {
|
|
|
2735
2730
|
}
|
|
2736
2731
|
}],
|
|
2737
2732
|
content: [{
|
|
2738
|
-
...
|
|
2733
|
+
...ae,
|
|
2739
2734
|
component: {
|
|
2740
2735
|
name: "Text",
|
|
2741
2736
|
options: {
|
|
@@ -2791,7 +2786,7 @@ const Wo = /* @__PURE__ */ b(Ao, [["render", Vo]]), No = {
|
|
|
2791
2786
|
builderComponents: !0,
|
|
2792
2787
|
builderLinkComponent: !0
|
|
2793
2788
|
}
|
|
2794
|
-
},
|
|
2789
|
+
}, Oo = f({
|
|
2795
2790
|
name: "builder-tabs",
|
|
2796
2791
|
components: { Blocks: M },
|
|
2797
2792
|
props: [
|
|
@@ -2816,8 +2811,8 @@ const Wo = /* @__PURE__ */ b(Ao, [["render", Vo]]), No = {
|
|
|
2816
2811
|
e === this.activeTab && this.collapsible ? this.activeTab = -1 : this.activeTab = e;
|
|
2817
2812
|
}
|
|
2818
2813
|
}
|
|
2819
|
-
}),
|
|
2820
|
-
function
|
|
2814
|
+
}), Fo = ["onClick"], Do = { key: 0 };
|
|
2815
|
+
function Lo(e, t, n, o, r, i) {
|
|
2821
2816
|
const s = y("Blocks");
|
|
2822
2817
|
return c(), m("div", null, [
|
|
2823
2818
|
z("div", {
|
|
@@ -2845,9 +2840,9 @@ function Uo(e, t, n, o, r, i) {
|
|
|
2845
2840
|
registeredComponents: e.builderComponents,
|
|
2846
2841
|
linkComponent: e.builderLinkComponent
|
|
2847
2842
|
}, null, 8, ["parent", "path", "blocks", "context", "registeredComponents", "linkComponent"])
|
|
2848
|
-
], 14,
|
|
2843
|
+
], 14, Fo))), 128))
|
|
2849
2844
|
], 4),
|
|
2850
|
-
e.activeTabContent(e.activeTab) ? (c(), m("div",
|
|
2845
|
+
e.activeTabContent(e.activeTab) ? (c(), m("div", Do, [
|
|
2851
2846
|
$(s, {
|
|
2852
2847
|
parent: e.builderBlock.id,
|
|
2853
2848
|
path: `component.options.tabs.${e.activeTab}.content`,
|
|
@@ -2859,7 +2854,7 @@ function Uo(e, t, n, o, r, i) {
|
|
|
2859
2854
|
])) : S("", !0)
|
|
2860
2855
|
]);
|
|
2861
2856
|
}
|
|
2862
|
-
const
|
|
2857
|
+
const Uo = /* @__PURE__ */ b(Oo, [["render", Lo]]), Mo = {
|
|
2863
2858
|
shouldReceiveBuilderProps: {
|
|
2864
2859
|
builderBlock: !1,
|
|
2865
2860
|
builderContext: !0
|
|
@@ -2881,7 +2876,7 @@ const Mo = /* @__PURE__ */ b(Fo, [["render", Uo]]), Ho = {
|
|
|
2881
2876
|
height: "auto",
|
|
2882
2877
|
textAlign: "center"
|
|
2883
2878
|
}
|
|
2884
|
-
},
|
|
2879
|
+
}, Ho = f({
|
|
2885
2880
|
name: "builder-text",
|
|
2886
2881
|
props: ["builderContext", "text"],
|
|
2887
2882
|
computed: {
|
|
@@ -2906,17 +2901,17 @@ const Mo = /* @__PURE__ */ b(Fo, [["render", Uo]]), Ho = {
|
|
|
2906
2901
|
);
|
|
2907
2902
|
}
|
|
2908
2903
|
}
|
|
2909
|
-
}),
|
|
2910
|
-
function
|
|
2904
|
+
}), jo = ["innerHTML"];
|
|
2905
|
+
function Ko(e, t, n, o, r, i) {
|
|
2911
2906
|
return c(), m("div", {
|
|
2912
2907
|
class: "builder-text",
|
|
2913
2908
|
innerHTML: e.processedText,
|
|
2914
2909
|
style: {
|
|
2915
2910
|
outline: "none"
|
|
2916
2911
|
}
|
|
2917
|
-
}, null, 8,
|
|
2912
|
+
}, null, 8, jo);
|
|
2918
2913
|
}
|
|
2919
|
-
const
|
|
2914
|
+
const qo = /* @__PURE__ */ b(Ho, [["render", Ko]]), zo = {
|
|
2920
2915
|
name: "Custom Code",
|
|
2921
2916
|
static: !0,
|
|
2922
2917
|
requiredPermissions: ["editCode"],
|
|
@@ -2938,7 +2933,7 @@ const zo = /* @__PURE__ */ b(jo, [["render", qo]]), Jo = {
|
|
|
2938
2933
|
helperText: "Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads",
|
|
2939
2934
|
advanced: !0
|
|
2940
2935
|
}]
|
|
2941
|
-
},
|
|
2936
|
+
}, Jo = f({
|
|
2942
2937
|
name: "builder-custom-code",
|
|
2943
2938
|
props: ["replaceNodes", "code"],
|
|
2944
2939
|
data() {
|
|
@@ -2972,15 +2967,15 @@ const zo = /* @__PURE__ */ b(jo, [["render", qo]]), Jo = {
|
|
|
2972
2967
|
}
|
|
2973
2968
|
}
|
|
2974
2969
|
}
|
|
2975
|
-
}),
|
|
2976
|
-
function
|
|
2970
|
+
}), Go = ["innerHTML"];
|
|
2971
|
+
function Yo(e, t, n, o, r, i) {
|
|
2977
2972
|
return c(), m("div", {
|
|
2978
2973
|
ref: "elementRef",
|
|
2979
2974
|
class: J("builder-custom-code" + (e.replaceNodes ? " replace-nodes" : "")),
|
|
2980
2975
|
innerHTML: e.code
|
|
2981
|
-
}, null, 10,
|
|
2976
|
+
}, null, 10, Go);
|
|
2982
2977
|
}
|
|
2983
|
-
const
|
|
2978
|
+
const Qo = /* @__PURE__ */ b(Jo, [["render", Yo]]), Xo = {
|
|
2984
2979
|
name: "Embed",
|
|
2985
2980
|
static: !0,
|
|
2986
2981
|
inputs: [{
|
|
@@ -2995,7 +2990,7 @@ const Xo = /* @__PURE__ */ b(Go, [["render", Qo]]), Zo = {
|
|
|
2995
2990
|
defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
|
|
2996
2991
|
hideFromUI: !0
|
|
2997
2992
|
}]
|
|
2998
|
-
},
|
|
2993
|
+
}, Zo = ["text/javascript", "application/javascript", "application/ecmascript"], _o = (e) => Zo.includes(e.type), er = f({
|
|
2999
2994
|
name: "builder-embed",
|
|
3000
2995
|
props: ["content"],
|
|
3001
2996
|
data() {
|
|
@@ -3028,7 +3023,7 @@ const Xo = /* @__PURE__ */ b(Go, [["render", Qo]]), Zo = {
|
|
|
3028
3023
|
this.scriptsInserted.push(n.src);
|
|
3029
3024
|
const o = document.createElement("script");
|
|
3030
3025
|
o.async = !0, o.src = n.src, document.head.appendChild(o);
|
|
3031
|
-
} else if (
|
|
3026
|
+
} else if (_o(n) && !this.scriptsRun.includes(n.innerText))
|
|
3032
3027
|
try {
|
|
3033
3028
|
this.scriptsRun.push(n.innerText), new Function(n.innerText)();
|
|
3034
3029
|
} catch (o) {
|
|
@@ -3037,15 +3032,15 @@ const Xo = /* @__PURE__ */ b(Go, [["render", Qo]]), Zo = {
|
|
|
3037
3032
|
}
|
|
3038
3033
|
}
|
|
3039
3034
|
}
|
|
3040
|
-
}),
|
|
3041
|
-
function
|
|
3035
|
+
}), tr = ["innerHTML"];
|
|
3036
|
+
function nr(e, t, n, o, r, i) {
|
|
3042
3037
|
return c(), m("div", {
|
|
3043
3038
|
class: "builder-embed",
|
|
3044
3039
|
ref: "elem",
|
|
3045
3040
|
innerHTML: e.content
|
|
3046
|
-
}, null, 8,
|
|
3041
|
+
}, null, 8, tr);
|
|
3047
3042
|
}
|
|
3048
|
-
const
|
|
3043
|
+
const or = /* @__PURE__ */ b(er, [["render", nr]]), rr = {
|
|
3049
3044
|
name: "Form:Form",
|
|
3050
3045
|
// editableTags: ['builder-form-error']
|
|
3051
3046
|
defaults: {
|
|
@@ -3282,15 +3277,15 @@ const rr = /* @__PURE__ */ b(tr, [["render", or]]), ir = {
|
|
|
3282
3277
|
builderComponents: !0,
|
|
3283
3278
|
builderLinkComponent: !0
|
|
3284
3279
|
}
|
|
3285
|
-
},
|
|
3280
|
+
}, ir = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], sr = () => {
|
|
3286
3281
|
const e = process.env.NODE_ENV || "production";
|
|
3287
|
-
return
|
|
3288
|
-
},
|
|
3282
|
+
return ir.includes(e) ? e : "production";
|
|
3283
|
+
}, ar = (e, t, n) => {
|
|
3289
3284
|
const o = String.prototype.split.call(t, /[,[\].]+?/).filter(Boolean).reduce((r, i) => r != null ? r[i] : r, e);
|
|
3290
3285
|
return o === void 0 || o === e ? n : o;
|
|
3291
|
-
},
|
|
3286
|
+
}, lr = f({
|
|
3292
3287
|
name: "builder-form-component",
|
|
3293
|
-
components: { Block:
|
|
3288
|
+
components: { Block: ye, Blocks: M },
|
|
3294
3289
|
props: [
|
|
3295
3290
|
"builderContext",
|
|
3296
3291
|
"previewState",
|
|
@@ -3379,7 +3374,7 @@ const rr = /* @__PURE__ */ b(tr, [["render", or]]), ir = {
|
|
|
3379
3374
|
else {
|
|
3380
3375
|
const d = {};
|
|
3381
3376
|
Array.from(l).forEach(({ value: p, key: k }) => {
|
|
3382
|
-
|
|
3377
|
+
Fe(d, k, p);
|
|
3383
3378
|
}), i = JSON.stringify(d);
|
|
3384
3379
|
}
|
|
3385
3380
|
a && a !== "multipart/form-data" && (t && ((n = this.action) != null && n.includes("zapier.com")) || (r["content-type"] = a));
|
|
@@ -3391,7 +3386,7 @@ const rr = /* @__PURE__ */ b(tr, [["render", or]]), ir = {
|
|
|
3391
3386
|
if (this.$refs.formRef && (this.$refs.formRef.dispatchEvent(u), u.defaultPrevented))
|
|
3392
3387
|
return;
|
|
3393
3388
|
this.formState = "sending";
|
|
3394
|
-
const h = `${
|
|
3389
|
+
const h = `${sr() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${this.builderContext.apiKey}&to=${btoa(
|
|
3395
3390
|
this.sendSubmissionsToEmail || ""
|
|
3396
3391
|
)}&name=${encodeURIComponent(this.name || "")}`;
|
|
3397
3392
|
fetch(
|
|
@@ -3406,7 +3401,7 @@ const rr = /* @__PURE__ */ b(tr, [["render", or]]), ir = {
|
|
|
3406
3401
|
let p;
|
|
3407
3402
|
const k = d.headers.get("content-type");
|
|
3408
3403
|
if (k && k.indexOf("application/json") !== -1 ? p = await d.json() : p = await d.text(), !d.ok && this.errorMessagePath) {
|
|
3409
|
-
let v =
|
|
3404
|
+
let v = ar(p, this.errorMessagePath);
|
|
3410
3405
|
v && (typeof v != "string" && (v = JSON.stringify(v)), this.formErrorMessage = v, this.mergeNewRootState({
|
|
3411
3406
|
formErrorMessage: v
|
|
3412
3407
|
}));
|
|
@@ -3447,11 +3442,11 @@ const rr = /* @__PURE__ */ b(tr, [["render", or]]), ir = {
|
|
|
3447
3442
|
}
|
|
3448
3443
|
}
|
|
3449
3444
|
}
|
|
3450
|
-
}),
|
|
3445
|
+
}), cr = ["validate", "action", "method", "name"], dr = {
|
|
3451
3446
|
key: 3,
|
|
3452
3447
|
class: "builder-form-error-text pre-3i4ezorcfhi"
|
|
3453
3448
|
};
|
|
3454
|
-
function
|
|
3449
|
+
function ur(e, t, n, o, r, i) {
|
|
3455
3450
|
var a;
|
|
3456
3451
|
const s = y("Block"), l = y("Blocks");
|
|
3457
3452
|
return c(), m("form", C({
|
|
@@ -3481,16 +3476,16 @@ function pr(e, t, n, o, r, i) {
|
|
|
3481
3476
|
blocks: e.sendingMessage,
|
|
3482
3477
|
context: e.builderContext
|
|
3483
3478
|
}, null, 8, ["blocks", "context"])) : S("", !0),
|
|
3484
|
-
e.submissionState() === "error" && e.responseData ? (c(), m("pre",
|
|
3479
|
+
e.submissionState() === "error" && e.responseData ? (c(), m("pre", dr, te(JSON.stringify(e.responseData, null, 2)), 1)) : S("", !0),
|
|
3485
3480
|
e.submissionState() === "success" ? (c(), g(l, {
|
|
3486
3481
|
key: 4,
|
|
3487
3482
|
path: "successMessage",
|
|
3488
3483
|
blocks: e.successMessage,
|
|
3489
3484
|
context: e.builderContext
|
|
3490
3485
|
}, null, 8, ["blocks", "context"])) : S("", !0)
|
|
3491
|
-
], 16,
|
|
3486
|
+
], 16, cr);
|
|
3492
3487
|
}
|
|
3493
|
-
const
|
|
3488
|
+
const pr = /* @__PURE__ */ b(lr, [["render", ur], ["__scopeId", "data-v-489330f7"]]), mr = {
|
|
3494
3489
|
name: "Form:Input",
|
|
3495
3490
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
|
|
3496
3491
|
inputs: [
|
|
@@ -3541,7 +3536,7 @@ const mr = /* @__PURE__ */ b(cr, [["render", pr], ["__scopeId", "data-v-489330f7
|
|
|
3541
3536
|
borderStyle: "solid",
|
|
3542
3537
|
borderColor: "#ccc"
|
|
3543
3538
|
}
|
|
3544
|
-
},
|
|
3539
|
+
}, hr = f({
|
|
3545
3540
|
name: "builder-form-input-component",
|
|
3546
3541
|
props: [
|
|
3547
3542
|
"attributes",
|
|
@@ -3555,8 +3550,8 @@ const mr = /* @__PURE__ */ b(cr, [["render", pr], ["__scopeId", "data-v-489330f7
|
|
|
3555
3550
|
data() {
|
|
3556
3551
|
return { isEditing: R, filterAttrs: V };
|
|
3557
3552
|
}
|
|
3558
|
-
}),
|
|
3559
|
-
function
|
|
3553
|
+
}), fr = ["placeholder", "type", "name", "value", "defaultValue", "required"];
|
|
3554
|
+
function br(e, t, n, o, r, i) {
|
|
3560
3555
|
return c(), m("input", C({
|
|
3561
3556
|
key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
|
|
3562
3557
|
placeholder: e.placeholder,
|
|
@@ -3565,9 +3560,9 @@ function gr(e, t, n, o, r, i) {
|
|
|
3565
3560
|
value: e.value,
|
|
3566
3561
|
defaultValue: e.defaultValue,
|
|
3567
3562
|
required: e.required
|
|
3568
|
-
}, e.filterAttrs(e.attributes, "v-on:", !1), P(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16,
|
|
3563
|
+
}, e.filterAttrs(e.attributes, "v-on:", !1), P(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, fr);
|
|
3569
3564
|
}
|
|
3570
|
-
const
|
|
3565
|
+
const gr = /* @__PURE__ */ b(hr, [["render", br]]), yr = {
|
|
3571
3566
|
name: "Form:Select",
|
|
3572
3567
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
|
|
3573
3568
|
defaultStyles: {
|
|
@@ -3609,14 +3604,14 @@ const yr = /* @__PURE__ */ b(fr, [["render", gr]]), kr = {
|
|
|
3609
3604
|
}],
|
|
3610
3605
|
static: !0,
|
|
3611
3606
|
noWrap: !0
|
|
3612
|
-
},
|
|
3607
|
+
}, kr = f({
|
|
3613
3608
|
name: "builder-select-component",
|
|
3614
3609
|
props: ["attributes", "value", "defaultValue", "name", "required", "options"],
|
|
3615
3610
|
data() {
|
|
3616
3611
|
return { isEditing: R, filterAttrs: V };
|
|
3617
3612
|
}
|
|
3618
|
-
}),
|
|
3619
|
-
function
|
|
3613
|
+
}), vr = ["value", "defaultValue", "name", "required"], Sr = ["value"];
|
|
3614
|
+
function Cr(e, t, n, o, r, i) {
|
|
3620
3615
|
return c(), m("select", C({
|
|
3621
3616
|
value: e.value,
|
|
3622
3617
|
key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
|
|
@@ -3627,10 +3622,10 @@ function wr(e, t, n, o, r, i) {
|
|
|
3627
3622
|
(c(!0), m(w, null, A(e.options, (s, l) => (c(), m("option", {
|
|
3628
3623
|
key: `${s.name}-${l}`,
|
|
3629
3624
|
value: s.value
|
|
3630
|
-
},
|
|
3631
|
-
], 16,
|
|
3625
|
+
}, te(s.name || s.value), 9, Sr))), 128))
|
|
3626
|
+
], 16, vr);
|
|
3632
3627
|
}
|
|
3633
|
-
const
|
|
3628
|
+
const wr = /* @__PURE__ */ b(kr, [["render", Cr]]), Tr = {
|
|
3634
3629
|
name: "Form:SubmitButton",
|
|
3635
3630
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
|
|
3636
3631
|
defaultStyles: {
|
|
@@ -3655,17 +3650,17 @@ const Tr = /* @__PURE__ */ b(vr, [["render", wr]]), Ir = {
|
|
|
3655
3650
|
// that only shows if advanced setting is flipped
|
|
3656
3651
|
// TODO: defaultChildren
|
|
3657
3652
|
// canHaveChildren: true,
|
|
3658
|
-
},
|
|
3653
|
+
}, Ir = f({
|
|
3659
3654
|
name: "builder-submit-button",
|
|
3660
3655
|
props: ["attributes", "text"],
|
|
3661
3656
|
data() {
|
|
3662
3657
|
return { filterAttrs: V };
|
|
3663
3658
|
}
|
|
3664
3659
|
});
|
|
3665
|
-
function
|
|
3666
|
-
return c(), m("button", C({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), P(e.filterAttrs(e.attributes, "v-on:", !0), !0)),
|
|
3660
|
+
function $r(e, t, n, o, r, i) {
|
|
3661
|
+
return c(), m("button", C({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), P(e.filterAttrs(e.attributes, "v-on:", !0), !0)), te(e.text), 17);
|
|
3667
3662
|
}
|
|
3668
|
-
const
|
|
3663
|
+
const Rr = /* @__PURE__ */ b(Ir, [["render", $r]]), Br = {
|
|
3669
3664
|
name: "Form:TextArea",
|
|
3670
3665
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
|
|
3671
3666
|
inputs: [{
|
|
@@ -3701,7 +3696,7 @@ const Br = /* @__PURE__ */ b($r, [["render", Rr]]), Er = {
|
|
|
3701
3696
|
},
|
|
3702
3697
|
static: !0,
|
|
3703
3698
|
noWrap: !0
|
|
3704
|
-
},
|
|
3699
|
+
}, Er = f({
|
|
3705
3700
|
name: "builder-textarea",
|
|
3706
3701
|
props: [
|
|
3707
3702
|
"attributes",
|
|
@@ -3714,17 +3709,17 @@ const Br = /* @__PURE__ */ b($r, [["render", Rr]]), Er = {
|
|
|
3714
3709
|
data() {
|
|
3715
3710
|
return { filterAttrs: V };
|
|
3716
3711
|
}
|
|
3717
|
-
}),
|
|
3718
|
-
function
|
|
3712
|
+
}), Pr = ["placeholder", "name", "value", "defaultValue", "required"];
|
|
3713
|
+
function xr(e, t, n, o, r, i) {
|
|
3719
3714
|
return c(), m("textarea", C({
|
|
3720
3715
|
placeholder: e.placeholder,
|
|
3721
3716
|
name: e.name,
|
|
3722
3717
|
value: e.value,
|
|
3723
3718
|
defaultValue: e.defaultValue,
|
|
3724
3719
|
required: e.required
|
|
3725
|
-
}, e.filterAttrs(e.attributes, "v-on:", !1), P(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16,
|
|
3720
|
+
}, e.filterAttrs(e.attributes, "v-on:", !1), P(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Pr);
|
|
3726
3721
|
}
|
|
3727
|
-
const
|
|
3722
|
+
const Ar = /* @__PURE__ */ b(Er, [["render", xr]]), Vr = {
|
|
3728
3723
|
// friendlyName?
|
|
3729
3724
|
name: "Raw:Img",
|
|
3730
3725
|
hideFromInsertMenu: !0,
|
|
@@ -3738,7 +3733,7 @@ const Vr = /* @__PURE__ */ b(Pr, [["render", Ar]]), Wr = {
|
|
|
3738
3733
|
}],
|
|
3739
3734
|
noWrap: !0,
|
|
3740
3735
|
static: !0
|
|
3741
|
-
},
|
|
3736
|
+
}, Wr = f({
|
|
3742
3737
|
name: "builder-img-component",
|
|
3743
3738
|
props: [
|
|
3744
3739
|
"backgroundSize",
|
|
@@ -3751,8 +3746,8 @@ const Vr = /* @__PURE__ */ b(Pr, [["render", Ar]]), Wr = {
|
|
|
3751
3746
|
data() {
|
|
3752
3747
|
return { isEditing: R, filterAttrs: V };
|
|
3753
3748
|
}
|
|
3754
|
-
}),
|
|
3755
|
-
function
|
|
3749
|
+
}), Nr = ["alt", "src"];
|
|
3750
|
+
function Or(e, t, n, o, r, i) {
|
|
3756
3751
|
return c(), m("img", C({
|
|
3757
3752
|
style: {
|
|
3758
3753
|
objectFit: e.backgroundSize || "cover",
|
|
@@ -3761,9 +3756,9 @@ function Fr(e, t, n, o, r, i) {
|
|
|
3761
3756
|
key: e.isEditing() && e.imgSrc || "default-key",
|
|
3762
3757
|
alt: e.altText,
|
|
3763
3758
|
src: e.imgSrc || e.image
|
|
3764
|
-
}, e.filterAttrs(e.attributes, "v-on:", !1), P(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16,
|
|
3759
|
+
}, e.filterAttrs(e.attributes, "v-on:", !1), P(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Nr);
|
|
3765
3760
|
}
|
|
3766
|
-
const
|
|
3761
|
+
const Fr = /* @__PURE__ */ b(Wr, [["render", Or]]), Dr = {
|
|
3767
3762
|
name: "Video",
|
|
3768
3763
|
canHaveChildren: !0,
|
|
3769
3764
|
defaultStyles: {
|
|
@@ -3847,7 +3842,7 @@ const Dr = /* @__PURE__ */ b(Nr, [["render", Fr]]), Lr = {
|
|
|
3847
3842
|
shouldReceiveBuilderProps: {
|
|
3848
3843
|
builderBlock: !0
|
|
3849
3844
|
}
|
|
3850
|
-
},
|
|
3845
|
+
}, Lr = f({
|
|
3851
3846
|
name: "builder-video",
|
|
3852
3847
|
props: [
|
|
3853
3848
|
"autoPlay",
|
|
@@ -3892,16 +3887,16 @@ const Dr = /* @__PURE__ */ b(Nr, [["render", Fr]]), Lr = {
|
|
|
3892
3887
|
};
|
|
3893
3888
|
}
|
|
3894
3889
|
}
|
|
3895
|
-
}),
|
|
3890
|
+
}), Ur = { style: {
|
|
3896
3891
|
position: "relative"
|
|
3897
|
-
} },
|
|
3892
|
+
} }, Mr = ["preload", "src", "poster"], Hr = ["src"], jr = {
|
|
3898
3893
|
key: 1,
|
|
3899
3894
|
style: {
|
|
3900
3895
|
display: "flex",
|
|
3901
3896
|
flexDirection: "column",
|
|
3902
3897
|
alignItems: "stretch"
|
|
3903
3898
|
}
|
|
3904
|
-
},
|
|
3899
|
+
}, Kr = {
|
|
3905
3900
|
key: 2,
|
|
3906
3901
|
style: {
|
|
3907
3902
|
pointerEvents: "none",
|
|
@@ -3915,9 +3910,9 @@ const Dr = /* @__PURE__ */ b(Nr, [["render", Fr]]), Lr = {
|
|
|
3915
3910
|
height: "100%"
|
|
3916
3911
|
}
|
|
3917
3912
|
};
|
|
3918
|
-
function
|
|
3913
|
+
function qr(e, t, n, o, r, i) {
|
|
3919
3914
|
var s, l, a, u, h, d, p;
|
|
3920
|
-
return c(), m("div",
|
|
3915
|
+
return c(), m("div", Ur, [
|
|
3921
3916
|
z("video", C({
|
|
3922
3917
|
class: "builder-video",
|
|
3923
3918
|
preload: e.preload || "metadata",
|
|
@@ -3942,8 +3937,8 @@ function zr(e, t, n, o, r, i) {
|
|
|
3942
3937
|
key: 0,
|
|
3943
3938
|
type: "video/mp4",
|
|
3944
3939
|
src: e.video
|
|
3945
|
-
}, null, 8,
|
|
3946
|
-
], 16,
|
|
3940
|
+
}, null, 8, Hr))
|
|
3941
|
+
], 16, Mr),
|
|
3947
3942
|
e.aspectRatio && !(e.fitContent && ((a = (l = e.builderBlock) == null ? void 0 : l.children) != null && a.length)) ? (c(), m("div", {
|
|
3948
3943
|
key: 0,
|
|
3949
3944
|
style: D({
|
|
@@ -3953,72 +3948,72 @@ function zr(e, t, n, o, r, i) {
|
|
|
3953
3948
|
fontSize: "0px"
|
|
3954
3949
|
})
|
|
3955
3950
|
}, null, 4)) : S("", !0),
|
|
3956
|
-
(h = (u = e.builderBlock) == null ? void 0 : u.children) != null && h.length && e.fitContent ? (c(), m("div",
|
|
3951
|
+
(h = (u = e.builderBlock) == null ? void 0 : u.children) != null && h.length && e.fitContent ? (c(), m("div", jr, [
|
|
3957
3952
|
x(e.$slots, "default")
|
|
3958
3953
|
])) : S("", !0),
|
|
3959
|
-
(p = (d = e.builderBlock) == null ? void 0 : d.children) != null && p.length && !e.fitContent ? (c(), m("div",
|
|
3954
|
+
(p = (d = e.builderBlock) == null ? void 0 : d.children) != null && p.length && !e.fitContent ? (c(), m("div", Kr, [
|
|
3960
3955
|
x(e.$slots, "default")
|
|
3961
3956
|
])) : S("", !0)
|
|
3962
3957
|
]);
|
|
3963
3958
|
}
|
|
3964
|
-
const
|
|
3965
|
-
component:
|
|
3966
|
-
...
|
|
3959
|
+
const zr = /* @__PURE__ */ b(Lr, [["render", qr]]), Jr = () => [{
|
|
3960
|
+
component: Qo,
|
|
3961
|
+
...zo
|
|
3967
3962
|
}, {
|
|
3968
|
-
component:
|
|
3969
|
-
...
|
|
3963
|
+
component: or,
|
|
3964
|
+
...Xo
|
|
3970
3965
|
}, {
|
|
3971
|
-
component:
|
|
3972
|
-
...
|
|
3966
|
+
component: pr,
|
|
3967
|
+
...rr
|
|
3973
3968
|
}, {
|
|
3974
|
-
component:
|
|
3975
|
-
...
|
|
3969
|
+
component: gr,
|
|
3970
|
+
...mr
|
|
3976
3971
|
}, {
|
|
3977
|
-
component:
|
|
3978
|
-
...
|
|
3972
|
+
component: Rr,
|
|
3973
|
+
...Tr
|
|
3979
3974
|
}, {
|
|
3980
|
-
component:
|
|
3981
|
-
...
|
|
3975
|
+
component: wr,
|
|
3976
|
+
...yr
|
|
3982
3977
|
}, {
|
|
3983
|
-
component:
|
|
3984
|
-
...
|
|
3978
|
+
component: Ar,
|
|
3979
|
+
...Br
|
|
3985
3980
|
}, {
|
|
3986
|
-
component:
|
|
3987
|
-
...
|
|
3981
|
+
component: Fr,
|
|
3982
|
+
...Vr
|
|
3988
3983
|
}, {
|
|
3989
|
-
component:
|
|
3990
|
-
...
|
|
3991
|
-
}],
|
|
3992
|
-
component:
|
|
3984
|
+
component: zr,
|
|
3985
|
+
...Dr
|
|
3986
|
+
}], Be = () => [{
|
|
3987
|
+
component: St,
|
|
3988
|
+
...Io
|
|
3989
|
+
}, {
|
|
3990
|
+
component: oo,
|
|
3993
3991
|
...$o
|
|
3994
3992
|
}, {
|
|
3995
|
-
component:
|
|
3993
|
+
component: so,
|
|
3996
3994
|
...Ro
|
|
3997
3995
|
}, {
|
|
3998
|
-
component:
|
|
3996
|
+
component: fo,
|
|
3999
3997
|
...Bo
|
|
4000
3998
|
}, {
|
|
4001
|
-
component:
|
|
3999
|
+
component: yo,
|
|
4002
4000
|
...Eo
|
|
4003
4001
|
}, {
|
|
4004
|
-
component:
|
|
4002
|
+
component: Vo,
|
|
4005
4003
|
...Po
|
|
4006
4004
|
}, {
|
|
4007
|
-
component:
|
|
4008
|
-
...
|
|
4009
|
-
}, {
|
|
4010
|
-
component: Ei,
|
|
4011
|
-
...No
|
|
4005
|
+
component: Bi,
|
|
4006
|
+
...Wo
|
|
4012
4007
|
}, {
|
|
4013
|
-
component:
|
|
4014
|
-
...
|
|
4008
|
+
component: qo,
|
|
4009
|
+
...Mo
|
|
4015
4010
|
}, {
|
|
4016
|
-
component:
|
|
4017
|
-
...
|
|
4011
|
+
component: Uo,
|
|
4012
|
+
...No
|
|
4018
4013
|
}, {
|
|
4019
|
-
component:
|
|
4020
|
-
...
|
|
4021
|
-
}, ...
|
|
4014
|
+
component: To,
|
|
4015
|
+
...ko
|
|
4016
|
+
}, ...Jr()], Gr = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
|
|
4022
4017
|
function getAndSetVariantId() {
|
|
4023
4018
|
function setCookie(name, value, days) {
|
|
4024
4019
|
let expires = '';
|
|
@@ -4074,7 +4069,7 @@ const Jr = /* @__PURE__ */ b(Ur, [["render", zr]]), Gr = () => [{
|
|
|
4074
4069
|
}).join('');
|
|
4075
4070
|
styleEl.innerHTML = newStyleStr;
|
|
4076
4071
|
}
|
|
4077
|
-
}`,
|
|
4072
|
+
}`, Yr = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
|
|
4078
4073
|
if (!navigator.cookieEnabled) {
|
|
4079
4074
|
return;
|
|
4080
4075
|
}
|
|
@@ -4108,27 +4103,27 @@ const Jr = /* @__PURE__ */ b(Ur, [["render", zr]]), Gr = () => [{
|
|
|
4108
4103
|
thisScriptEl?.remove();
|
|
4109
4104
|
}
|
|
4110
4105
|
return;
|
|
4111
|
-
}`,
|
|
4106
|
+
}`, st = "builderIoAbTest", at = "builderIoRenderContent", Z = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
|
|
4112
4107
|
...t,
|
|
4113
4108
|
testVariationId: t.id,
|
|
4114
4109
|
id: e == null ? void 0 : e.id
|
|
4115
|
-
})),
|
|
4110
|
+
})), Qr = ({
|
|
4116
4111
|
canTrack: e,
|
|
4117
4112
|
content: t
|
|
4118
|
-
}) => !(!(
|
|
4113
|
+
}) => !(!(Z(t).length > 0) || !e), Xr = (e) => e === "react" || e === "reactNative", lt = Xr(E), Zr = () => `
|
|
4114
|
+
window.${st} = ${Gr}
|
|
4119
4115
|
window.${at} = ${Yr}
|
|
4120
|
-
|
|
4121
|
-
|
|
4122
|
-
|
|
4123
|
-
|
|
4124
|
-
)`, ti = ({
|
|
4116
|
+
`, _r = (e, t) => `
|
|
4117
|
+
window.${st}(
|
|
4118
|
+
"${t}",${JSON.stringify(e)}, ${lt}
|
|
4119
|
+
)`, ei = ({
|
|
4125
4120
|
contentId: e,
|
|
4126
4121
|
variationId: t
|
|
4127
|
-
}) => `window.${
|
|
4128
|
-
"${t}", "${e}", ${
|
|
4129
|
-
)`,
|
|
4122
|
+
}) => `window.${at}(
|
|
4123
|
+
"${t}", "${e}", ${lt}
|
|
4124
|
+
)`, ct = f({
|
|
4130
4125
|
render() {
|
|
4131
|
-
return
|
|
4126
|
+
return xe("script", {
|
|
4132
4127
|
innerHTML: this.scriptStr,
|
|
4133
4128
|
"data-id": this.id,
|
|
4134
4129
|
nonce: this.nonce
|
|
@@ -4137,10 +4132,10 @@ const Jr = /* @__PURE__ */ b(Ur, [["render", zr]]), Gr = () => [{
|
|
|
4137
4132
|
name: "inlined-script",
|
|
4138
4133
|
props: ["scriptStr", "id", "nonce"]
|
|
4139
4134
|
});
|
|
4140
|
-
function
|
|
4135
|
+
function Ee(e) {
|
|
4141
4136
|
return Math.round(e * 1e3) / 1e3;
|
|
4142
4137
|
}
|
|
4143
|
-
const
|
|
4138
|
+
const ti = (e, t, n = !0) => {
|
|
4144
4139
|
if (!(e instanceof HTMLElement))
|
|
4145
4140
|
return null;
|
|
4146
4141
|
let o = n ? e : e.parentElement;
|
|
@@ -4151,35 +4146,35 @@ const ni = (e, t, n = !0) => {
|
|
|
4151
4146
|
return o;
|
|
4152
4147
|
} while (o = o.parentElement);
|
|
4153
4148
|
return null;
|
|
4154
|
-
},
|
|
4149
|
+
}, ni = (e) => ti(e, (t) => {
|
|
4155
4150
|
const n = t.getAttribute("builder-id") || t.id;
|
|
4156
4151
|
return (n == null ? void 0 : n.indexOf("builder-")) === 0;
|
|
4157
|
-
}),
|
|
4152
|
+
}), Pe = ({
|
|
4158
4153
|
event: e,
|
|
4159
4154
|
target: t
|
|
4160
4155
|
}) => {
|
|
4161
|
-
const n = t.getBoundingClientRect(), o = e.clientX - n.left, r = e.clientY - n.top, i =
|
|
4156
|
+
const n = t.getBoundingClientRect(), o = e.clientX - n.left, r = e.clientY - n.top, i = Ee(o / n.width), s = Ee(r / n.height);
|
|
4162
4157
|
return {
|
|
4163
4158
|
x: i,
|
|
4164
4159
|
y: s
|
|
4165
4160
|
};
|
|
4166
|
-
},
|
|
4167
|
-
const t = e.target, n = t &&
|
|
4161
|
+
}, oi = (e) => {
|
|
4162
|
+
const t = e.target, n = t && ni(t), o = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
|
|
4168
4163
|
return {
|
|
4169
4164
|
targetBuilderElement: o || void 0,
|
|
4170
4165
|
metadata: {
|
|
4171
|
-
targetOffset: t ?
|
|
4166
|
+
targetOffset: t ? Pe({
|
|
4172
4167
|
event: e,
|
|
4173
4168
|
target: t
|
|
4174
4169
|
}) : void 0,
|
|
4175
|
-
builderTargetOffset: n ?
|
|
4170
|
+
builderTargetOffset: n ? Pe({
|
|
4176
4171
|
event: e,
|
|
4177
4172
|
target: n
|
|
4178
4173
|
}) : void 0,
|
|
4179
4174
|
builderElementIndex: n && o ? [].slice.call(document.getElementsByClassName(o)).indexOf(n) : void 0
|
|
4180
4175
|
}
|
|
4181
4176
|
};
|
|
4182
|
-
},
|
|
4177
|
+
}, ri = (e) => {
|
|
4183
4178
|
var i;
|
|
4184
4179
|
const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], o = e.fileUrl ?? ((i = e == null ? void 0 : e.files) == null ? void 0 : i.regular);
|
|
4185
4180
|
let r = "";
|
|
@@ -4205,15 +4200,15 @@ font-weight: ${s};
|
|
|
4205
4200
|
`.trim());
|
|
4206
4201
|
}
|
|
4207
4202
|
return r;
|
|
4208
|
-
},
|
|
4203
|
+
}, ii = ({
|
|
4209
4204
|
customFonts: e
|
|
4210
4205
|
}) => {
|
|
4211
4206
|
var t;
|
|
4212
|
-
return ((t = e == null ? void 0 : e.map((n) =>
|
|
4213
|
-
},
|
|
4207
|
+
return ((t = e == null ? void 0 : e.map((n) => ri(n))) == null ? void 0 : t.join(" ")) || "";
|
|
4208
|
+
}, si = ({
|
|
4214
4209
|
cssCode: e,
|
|
4215
4210
|
contentId: t
|
|
4216
|
-
}) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "",
|
|
4211
|
+
}) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", ai = `
|
|
4217
4212
|
.builder-button {
|
|
4218
4213
|
all: unset;
|
|
4219
4214
|
}
|
|
@@ -4230,7 +4225,7 @@ font-weight: ${s};
|
|
|
4230
4225
|
text-align: inherit;
|
|
4231
4226
|
font-family: inherit;
|
|
4232
4227
|
}
|
|
4233
|
-
`,
|
|
4228
|
+
`, li = (e) => e ? "" : ai, ci = (e) => `variant-${e}`, di = f({
|
|
4234
4229
|
name: "enable-editor",
|
|
4235
4230
|
components: { DynamicDiv: Q },
|
|
4236
4231
|
props: [
|
|
@@ -4254,14 +4249,14 @@ font-weight: ${s};
|
|
|
4254
4249
|
httpReqsData: {},
|
|
4255
4250
|
httpReqsPending: {},
|
|
4256
4251
|
clicked: !1,
|
|
4257
|
-
builderContext:
|
|
4258
|
-
getWrapperClassName:
|
|
4252
|
+
builderContext: le,
|
|
4253
|
+
getWrapperClassName: ci
|
|
4259
4254
|
};
|
|
4260
4255
|
},
|
|
4261
4256
|
provide() {
|
|
4262
4257
|
const e = this;
|
|
4263
4258
|
return {
|
|
4264
|
-
[
|
|
4259
|
+
[le.key]: e.builderContextSignal
|
|
4265
4260
|
};
|
|
4266
4261
|
},
|
|
4267
4262
|
mounted() {
|
|
@@ -4272,7 +4267,7 @@ font-weight: ${s};
|
|
|
4272
4267
|
new CustomEvent("initeditingbldr")
|
|
4273
4268
|
), this.builderContextSignal.content && Y(this.canTrack)) {
|
|
4274
4269
|
const i = (n = this.builderContextSignal.content) == null ? void 0 : n.testVariationId, s = (o = this.builderContextSignal.content) == null ? void 0 : o.id, l = this.apiKey;
|
|
4275
|
-
|
|
4270
|
+
de({
|
|
4276
4271
|
type: "impression",
|
|
4277
4272
|
canTrack: !0,
|
|
4278
4273
|
contentId: s,
|
|
@@ -4280,7 +4275,7 @@ font-weight: ${s};
|
|
|
4280
4275
|
variationId: i !== s ? i : void 0
|
|
4281
4276
|
});
|
|
4282
4277
|
}
|
|
4283
|
-
|
|
4278
|
+
Mt() && !R() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
|
|
4284
4279
|
new CustomEvent("initpreviewingbldr")
|
|
4285
4280
|
);
|
|
4286
4281
|
}
|
|
@@ -4403,7 +4398,7 @@ font-weight: ${s};
|
|
|
4403
4398
|
this.builderContextSignal.content = t;
|
|
4404
4399
|
},
|
|
4405
4400
|
processMessage(e) {
|
|
4406
|
-
return
|
|
4401
|
+
return Ge({
|
|
4407
4402
|
model: this.model,
|
|
4408
4403
|
trustedHosts: this.trustedHosts,
|
|
4409
4404
|
callbacks: {
|
|
@@ -4417,7 +4412,7 @@ font-weight: ${s};
|
|
|
4417
4412
|
});
|
|
4418
4413
|
},
|
|
4419
4414
|
animation: (t) => {
|
|
4420
|
-
|
|
4415
|
+
nt(t);
|
|
4421
4416
|
},
|
|
4422
4417
|
contentUpdate: (t) => {
|
|
4423
4418
|
this.mergeNewContent(t);
|
|
@@ -4444,13 +4439,13 @@ font-weight: ${s};
|
|
|
4444
4439
|
var t, n;
|
|
4445
4440
|
if (this.builderContextSignal.content) {
|
|
4446
4441
|
const o = (t = this.builderContextSignal.content) == null ? void 0 : t.testVariationId, r = (n = this.builderContextSignal.content) == null ? void 0 : n.id;
|
|
4447
|
-
|
|
4442
|
+
de({
|
|
4448
4443
|
type: "click",
|
|
4449
4444
|
canTrack: Y(this.canTrack),
|
|
4450
4445
|
contentId: r,
|
|
4451
4446
|
apiKey: this.apiKey,
|
|
4452
4447
|
variationId: o !== r ? o : void 0,
|
|
4453
|
-
...
|
|
4448
|
+
...oi(e),
|
|
4454
4449
|
unique: !this.clicked
|
|
4455
4450
|
});
|
|
4456
4451
|
}
|
|
@@ -4476,7 +4471,7 @@ font-weight: ${s};
|
|
|
4476
4471
|
})
|
|
4477
4472
|
)
|
|
4478
4473
|
);
|
|
4479
|
-
|
|
4474
|
+
Ze(i).then((s) => s.json()).then((s) => {
|
|
4480
4475
|
this.mergeNewRootState({
|
|
4481
4476
|
[o]: s
|
|
4482
4477
|
}), this.httpReqsData[o] = !0;
|
|
@@ -4493,7 +4488,7 @@ font-weight: ${s};
|
|
|
4493
4488
|
"builder:component:stateChange",
|
|
4494
4489
|
{
|
|
4495
4490
|
detail: {
|
|
4496
|
-
state:
|
|
4491
|
+
state: me(this.builderContextSignal.rootState),
|
|
4497
4492
|
ref: {
|
|
4498
4493
|
name: this.model
|
|
4499
4494
|
}
|
|
@@ -4503,7 +4498,7 @@ font-weight: ${s};
|
|
|
4503
4498
|
);
|
|
4504
4499
|
},
|
|
4505
4500
|
elementRef_onIniteditingbldr(e) {
|
|
4506
|
-
window.addEventListener("message", this.processMessage),
|
|
4501
|
+
window.addEventListener("message", this.processMessage), un(), Je({
|
|
4507
4502
|
...this.locale ? {
|
|
4508
4503
|
locale: this.locale
|
|
4509
4504
|
} : {},
|
|
@@ -4517,7 +4512,7 @@ font-weight: ${s};
|
|
|
4517
4512
|
this.builderContextSignal.componentInfos
|
|
4518
4513
|
).forEach((t) => {
|
|
4519
4514
|
var o;
|
|
4520
|
-
const n =
|
|
4515
|
+
const n = Ht(t);
|
|
4521
4516
|
(o = window.parent) == null || o.postMessage(n, "*");
|
|
4522
4517
|
}), window.addEventListener(
|
|
4523
4518
|
"builder:component:stateChangeListenerActivated",
|
|
@@ -4528,7 +4523,7 @@ font-weight: ${s};
|
|
|
4528
4523
|
const t = new URL(location.href).searchParams, n = t.get("builder.preview"), o = t.get(
|
|
4529
4524
|
`builder.overrides.${n}`
|
|
4530
4525
|
), r = t.get("apiKey") || t.get("builder.space");
|
|
4531
|
-
n === this.model && r === this.apiKey && (!this.content || o === this.content.id) &&
|
|
4526
|
+
n === this.model && r === this.apiKey && (!this.content || o === this.content.id) && be({
|
|
4532
4527
|
model: this.model,
|
|
4533
4528
|
apiKey: this.apiKey,
|
|
4534
4529
|
apiVersion: this.builderContextSignal.apiVersion
|
|
@@ -4538,7 +4533,7 @@ font-weight: ${s};
|
|
|
4538
4533
|
}
|
|
4539
4534
|
}
|
|
4540
4535
|
});
|
|
4541
|
-
function
|
|
4536
|
+
function ui(e, t, n, o, r, i) {
|
|
4542
4537
|
var s, l, a;
|
|
4543
4538
|
return e.builderContextSignal.content ? (c(), g(K(e.ContentWrapper), C({
|
|
4544
4539
|
key: 0,
|
|
@@ -4556,26 +4551,26 @@ function pi(e, t, n, o, r, i) {
|
|
|
4556
4551
|
_: 3
|
|
4557
4552
|
}, 16, ["onClick", "builder-content-id", "builder-model", "class", "onIniteditingbldr", "onInitpreviewingbldr"])) : S("", !0);
|
|
4558
4553
|
}
|
|
4559
|
-
const
|
|
4554
|
+
const pi = /* @__PURE__ */ b(di, [["render", ui]]), mi = f({
|
|
4560
4555
|
name: "content-styles",
|
|
4561
|
-
components: { InlinedStyles:
|
|
4556
|
+
components: { InlinedStyles: ke },
|
|
4562
4557
|
props: ["cssCode", "contentId", "customFonts", "isNestedRender", "nonce"],
|
|
4563
4558
|
data() {
|
|
4564
4559
|
return {
|
|
4565
4560
|
injectedStyles: `
|
|
4566
|
-
${
|
|
4561
|
+
${si({
|
|
4567
4562
|
cssCode: this.cssCode,
|
|
4568
4563
|
contentId: this.contentId
|
|
4569
4564
|
})}
|
|
4570
|
-
${
|
|
4565
|
+
${ii({
|
|
4571
4566
|
customFonts: this.customFonts
|
|
4572
4567
|
})}
|
|
4573
|
-
${
|
|
4568
|
+
${li(this.isNestedRender)}
|
|
4574
4569
|
`.trim()
|
|
4575
4570
|
};
|
|
4576
4571
|
}
|
|
4577
4572
|
});
|
|
4578
|
-
function
|
|
4573
|
+
function hi(e, t, n, o, r, i) {
|
|
4579
4574
|
const s = y("InlinedStyles");
|
|
4580
4575
|
return c(), g(s, {
|
|
4581
4576
|
id: "builderio-content",
|
|
@@ -4583,7 +4578,7 @@ function fi(e, t, n, o, r, i) {
|
|
|
4583
4578
|
nonce: e.nonce
|
|
4584
4579
|
}, null, 8, ["styles", "nonce"]);
|
|
4585
4580
|
}
|
|
4586
|
-
const
|
|
4581
|
+
const fi = /* @__PURE__ */ b(mi, [["render", hi]]), bi = ({
|
|
4587
4582
|
content: e,
|
|
4588
4583
|
data: t,
|
|
4589
4584
|
locale: n
|
|
@@ -4600,7 +4595,7 @@ const bi = /* @__PURE__ */ b(hi, [["render", fi]]), gi = ({
|
|
|
4600
4595
|
locale: n
|
|
4601
4596
|
} : {}
|
|
4602
4597
|
};
|
|
4603
|
-
},
|
|
4598
|
+
}, gi = ({
|
|
4604
4599
|
content: e,
|
|
4605
4600
|
data: t
|
|
4606
4601
|
}) => e ? {
|
|
@@ -4610,12 +4605,12 @@ const bi = /* @__PURE__ */ b(hi, [["render", fi]]), gi = ({
|
|
|
4610
4605
|
...t
|
|
4611
4606
|
},
|
|
4612
4607
|
meta: e == null ? void 0 : e.meta
|
|
4613
|
-
} : void 0,
|
|
4608
|
+
} : void 0, yi = ht, ki = f({
|
|
4614
4609
|
name: "content-component",
|
|
4615
4610
|
components: {
|
|
4616
|
-
EnableEditor:
|
|
4617
|
-
InlinedScript:
|
|
4618
|
-
ContentStyles:
|
|
4611
|
+
EnableEditor: pi,
|
|
4612
|
+
InlinedScript: ct,
|
|
4613
|
+
ContentStyles: fi,
|
|
4619
4614
|
Blocks: M,
|
|
4620
4615
|
DynamicDiv: Q
|
|
4621
4616
|
},
|
|
@@ -4644,32 +4639,32 @@ const bi = /* @__PURE__ */ b(hi, [["render", fi]]), gi = ({
|
|
|
4644
4639
|
data() {
|
|
4645
4640
|
var e, t, n, o;
|
|
4646
4641
|
return {
|
|
4647
|
-
scriptStr:
|
|
4642
|
+
scriptStr: ei({
|
|
4648
4643
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
|
|
4649
4644
|
variationId: (e = this.content) == null ? void 0 : e.testVariationId,
|
|
4650
4645
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
|
|
4651
4646
|
contentId: (t = this.content) == null ? void 0 : t.id
|
|
4652
4647
|
}),
|
|
4653
4648
|
registeredComponents: [
|
|
4654
|
-
...
|
|
4649
|
+
...Be(),
|
|
4655
4650
|
...((n = this.customComponents) == null ? void 0 : n.filter(({ models: r }) => !(r != null && r.length) || !this.model ? !0 : r.includes(this.model))) || []
|
|
4656
4651
|
].reduce(
|
|
4657
4652
|
(r, { component: i, ...s }) => ({
|
|
4658
4653
|
...r,
|
|
4659
4654
|
[s.name]: {
|
|
4660
|
-
component:
|
|
4661
|
-
...
|
|
4655
|
+
component: yi(i),
|
|
4656
|
+
...ee(s)
|
|
4662
4657
|
}
|
|
4663
4658
|
}),
|
|
4664
4659
|
{}
|
|
4665
4660
|
),
|
|
4666
4661
|
builderContextSignal: {
|
|
4667
|
-
content:
|
|
4662
|
+
content: gi({
|
|
4668
4663
|
content: this.content,
|
|
4669
4664
|
data: this.data
|
|
4670
4665
|
}),
|
|
4671
4666
|
localState: void 0,
|
|
4672
|
-
rootState:
|
|
4667
|
+
rootState: bi({
|
|
4673
4668
|
content: this.content,
|
|
4674
4669
|
data: this.data,
|
|
4675
4670
|
locale: this.locale
|
|
@@ -4680,12 +4675,12 @@ const bi = /* @__PURE__ */ b(hi, [["render", fi]]), gi = ({
|
|
|
4680
4675
|
apiKey: this.apiKey,
|
|
4681
4676
|
apiVersion: this.apiVersion,
|
|
4682
4677
|
componentInfos: [
|
|
4683
|
-
...
|
|
4678
|
+
...Be(),
|
|
4684
4679
|
...((o = this.customComponents) == null ? void 0 : o.filter(({ models: r }) => !(r != null && r.length) || !this.model ? !0 : r.includes(this.model))) || []
|
|
4685
4680
|
].reduce(
|
|
4686
4681
|
(r, { component: i, ...s }) => ({
|
|
4687
4682
|
...r,
|
|
4688
|
-
[s.name]:
|
|
4683
|
+
[s.name]: ee(s)
|
|
4689
4684
|
}),
|
|
4690
4685
|
{}
|
|
4691
4686
|
),
|
|
@@ -4700,7 +4695,7 @@ const bi = /* @__PURE__ */ b(hi, [["render", fi]]), gi = ({
|
|
|
4700
4695
|
provide() {
|
|
4701
4696
|
const e = this;
|
|
4702
4697
|
return {
|
|
4703
|
-
[
|
|
4698
|
+
[Ae.key]: {
|
|
4704
4699
|
registeredComponents: e.registeredComponents
|
|
4705
4700
|
}
|
|
4706
4701
|
};
|
|
@@ -4711,7 +4706,7 @@ const bi = /* @__PURE__ */ b(hi, [["render", fi]]), gi = ({
|
|
|
4711
4706
|
}
|
|
4712
4707
|
}
|
|
4713
4708
|
});
|
|
4714
|
-
function
|
|
4709
|
+
function vi(e, t, n, o, r, i) {
|
|
4715
4710
|
const s = y("InlinedScript"), l = y("ContentStyles"), a = y("Blocks"), u = y("EnableEditor");
|
|
4716
4711
|
return c(), g(u, C({
|
|
4717
4712
|
nonce: e.nonce,
|
|
@@ -4757,12 +4752,12 @@ function Si(e, t, n, o, r, i) {
|
|
|
4757
4752
|
_: 1
|
|
4758
4753
|
}, 16, ["nonce", "content", "data", "model", "context", "apiKey", "canTrack", "locale", "enrich", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps", "trustedHosts"]);
|
|
4759
4754
|
}
|
|
4760
|
-
const
|
|
4755
|
+
const Si = /* @__PURE__ */ b(ki, [["render", vi]]), Ci = f({
|
|
4761
4756
|
name: "content-variants",
|
|
4762
4757
|
components: {
|
|
4763
|
-
InlinedScript:
|
|
4764
|
-
InlinedStyles:
|
|
4765
|
-
ContentComponent:
|
|
4758
|
+
InlinedScript: ct,
|
|
4759
|
+
InlinedStyles: ke,
|
|
4760
|
+
ContentComponent: Si
|
|
4766
4761
|
},
|
|
4767
4762
|
props: [
|
|
4768
4763
|
"canTrack",
|
|
@@ -4786,13 +4781,13 @@ const Ci = /* @__PURE__ */ b(vi, [["render", Si]]), wi = f({
|
|
|
4786
4781
|
],
|
|
4787
4782
|
data() {
|
|
4788
4783
|
return {
|
|
4789
|
-
shouldRenderVariants:
|
|
4784
|
+
shouldRenderVariants: Qr({
|
|
4790
4785
|
canTrack: Y(this.canTrack),
|
|
4791
4786
|
content: this.content
|
|
4792
4787
|
}),
|
|
4793
4788
|
TARGET: E,
|
|
4794
|
-
getInitVariantsFnsScriptString:
|
|
4795
|
-
getVariants:
|
|
4789
|
+
getInitVariantsFnsScriptString: Zr,
|
|
4790
|
+
getVariants: Z
|
|
4796
4791
|
};
|
|
4797
4792
|
},
|
|
4798
4793
|
mounted() {
|
|
@@ -4800,8 +4795,8 @@ const Ci = /* @__PURE__ */ b(vi, [["render", Si]]), wi = f({
|
|
|
4800
4795
|
computed: {
|
|
4801
4796
|
updateCookieAndStylesScriptStr() {
|
|
4802
4797
|
var e;
|
|
4803
|
-
return
|
|
4804
|
-
|
|
4798
|
+
return _r(
|
|
4799
|
+
Z(this.content).map((t) => ({
|
|
4805
4800
|
id: t.testVariationId,
|
|
4806
4801
|
testRatio: t.testRatio
|
|
4807
4802
|
})),
|
|
@@ -4809,21 +4804,21 @@ const Ci = /* @__PURE__ */ b(vi, [["render", Si]]), wi = f({
|
|
|
4809
4804
|
);
|
|
4810
4805
|
},
|
|
4811
4806
|
hideVariantsStyleString() {
|
|
4812
|
-
return
|
|
4807
|
+
return Z(this.content).map((e) => `.variant-${e.testVariationId} { display: none; } `).join("");
|
|
4813
4808
|
},
|
|
4814
4809
|
defaultContent() {
|
|
4815
4810
|
var e;
|
|
4816
4811
|
return this.shouldRenderVariants ? {
|
|
4817
4812
|
...this.content,
|
|
4818
4813
|
testVariationId: (e = this.content) == null ? void 0 : e.id
|
|
4819
|
-
} :
|
|
4814
|
+
} : gn({
|
|
4820
4815
|
item: this.content,
|
|
4821
4816
|
canTrack: Y(this.canTrack)
|
|
4822
4817
|
});
|
|
4823
4818
|
}
|
|
4824
4819
|
}
|
|
4825
4820
|
});
|
|
4826
|
-
function
|
|
4821
|
+
function wi(e, t, n, o, r, i) {
|
|
4827
4822
|
const s = y("InlinedScript"), l = y("InlinedStyles"), a = y("ContentComponent");
|
|
4828
4823
|
return c(), m(w, null, [
|
|
4829
4824
|
!e.isNestedRender && e.TARGET !== "reactNative" ? (c(), g(s, {
|
|
@@ -4893,13 +4888,13 @@ function Ti(e, t, n, o, r, i) {
|
|
|
4893
4888
|
}), null, 16, ["nonce", "isNestedRender", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"])
|
|
4894
4889
|
], 64);
|
|
4895
4890
|
}
|
|
4896
|
-
const
|
|
4891
|
+
const Ti = /* @__PURE__ */ b(Ci, [["render", wi]]), Ii = async ({
|
|
4897
4892
|
builderContextValue: e,
|
|
4898
4893
|
symbol: t
|
|
4899
4894
|
}) => {
|
|
4900
4895
|
if (t != null && t.model && // This is a hack, we should not need to check for this, but it is needed for Svelte.
|
|
4901
4896
|
(e != null && e.apiKey))
|
|
4902
|
-
return
|
|
4897
|
+
return be({
|
|
4903
4898
|
model: t.model,
|
|
4904
4899
|
apiKey: e.apiKey,
|
|
4905
4900
|
apiVersion: e.apiVersion,
|
|
@@ -4911,9 +4906,9 @@ const Ii = /* @__PURE__ */ b(wi, [["render", Ti]]), $i = async ({
|
|
|
4911
4906
|
}).catch((n) => {
|
|
4912
4907
|
B.error("Could not fetch symbol content: ", n);
|
|
4913
4908
|
});
|
|
4914
|
-
},
|
|
4909
|
+
}, $i = f({
|
|
4915
4910
|
name: "builder-symbol",
|
|
4916
|
-
components: { ContentVariants:
|
|
4911
|
+
components: { ContentVariants: Ti, DynamicDiv: Q },
|
|
4917
4912
|
props: [
|
|
4918
4913
|
"symbol",
|
|
4919
4914
|
"attributes",
|
|
@@ -4948,7 +4943,7 @@ const Ii = /* @__PURE__ */ b(wi, [["render", Ti]]), $i = async ({
|
|
|
4948
4943
|
className() {
|
|
4949
4944
|
var e, t;
|
|
4950
4945
|
return [
|
|
4951
|
-
this.attributes[
|
|
4946
|
+
this.attributes[_()],
|
|
4952
4947
|
"builder-symbol",
|
|
4953
4948
|
(e = this.symbol) != null && e.inline ? "builder-inline-symbol" : void 0,
|
|
4954
4949
|
(t = this.symbol) != null && t.dynamic || this.dynamic ? "builder-dynamic-symbol" : void 0
|
|
@@ -4962,7 +4957,7 @@ const Ii = /* @__PURE__ */ b(wi, [["render", Ti]]), $i = async ({
|
|
|
4962
4957
|
},
|
|
4963
4958
|
methods: {
|
|
4964
4959
|
setContent() {
|
|
4965
|
-
this.contentToUse ||
|
|
4960
|
+
this.contentToUse || Ii({
|
|
4966
4961
|
symbol: this.symbol,
|
|
4967
4962
|
builderContextValue: this.builderContext
|
|
4968
4963
|
}).then((e) => {
|
|
@@ -4971,7 +4966,7 @@ const Ii = /* @__PURE__ */ b(wi, [["render", Ti]]), $i = async ({
|
|
|
4971
4966
|
}
|
|
4972
4967
|
}
|
|
4973
4968
|
});
|
|
4974
|
-
function
|
|
4969
|
+
function Ri(e, t, n, o, r, i) {
|
|
4975
4970
|
var l, a, u, h, d;
|
|
4976
4971
|
const s = y("ContentVariants");
|
|
4977
4972
|
return c(), m("div", C({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, P(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
|
|
@@ -4999,44 +4994,43 @@ function Bi(e, t, n, o, r, i) {
|
|
|
4999
4994
|
}, null, 8, ["nonce", "apiVersion", "apiKey", "context", "customComponents", "data", "canTrack", "model", "content", "linkComponent", "blocksWrapper", "contentWrapper"])
|
|
5000
4995
|
], 16);
|
|
5001
4996
|
}
|
|
5002
|
-
const
|
|
4997
|
+
const Bi = /* @__PURE__ */ b($i, [["render", Ri]]);
|
|
5003
4998
|
export {
|
|
5004
|
-
|
|
5005
|
-
|
|
5006
|
-
|
|
5007
|
-
|
|
5008
|
-
|
|
5009
|
-
|
|
5010
|
-
|
|
5011
|
-
|
|
5012
|
-
|
|
5013
|
-
|
|
5014
|
-
|
|
5015
|
-
ve as _,
|
|
4999
|
+
be as A,
|
|
5000
|
+
ye as B,
|
|
5001
|
+
oo as C,
|
|
5002
|
+
Vi as D,
|
|
5003
|
+
Ui as E,
|
|
5004
|
+
so as F,
|
|
5005
|
+
fo as I,
|
|
5006
|
+
yo as S,
|
|
5007
|
+
qo as T,
|
|
5008
|
+
zr as V,
|
|
5009
|
+
ke as _,
|
|
5016
5010
|
Di as a,
|
|
5017
5011
|
Mi as b,
|
|
5018
5012
|
L as c,
|
|
5019
|
-
|
|
5013
|
+
ge as d,
|
|
5020
5014
|
b as e,
|
|
5021
5015
|
G as f,
|
|
5022
|
-
|
|
5016
|
+
_n as g,
|
|
5023
5017
|
Li as h,
|
|
5024
|
-
|
|
5025
|
-
|
|
5026
|
-
|
|
5027
|
-
|
|
5028
|
-
|
|
5029
|
-
|
|
5030
|
-
|
|
5031
|
-
|
|
5018
|
+
_ as i,
|
|
5019
|
+
le as j,
|
|
5020
|
+
St as k,
|
|
5021
|
+
Bi as l,
|
|
5022
|
+
M as m,
|
|
5023
|
+
Ti as n,
|
|
5024
|
+
R as o,
|
|
5025
|
+
Mt as p,
|
|
5032
5026
|
Ht as q,
|
|
5033
|
-
|
|
5034
|
-
|
|
5035
|
-
|
|
5036
|
-
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
|
-
|
|
5027
|
+
Kt as r,
|
|
5028
|
+
Wi as s,
|
|
5029
|
+
De as t,
|
|
5030
|
+
Ni as u,
|
|
5031
|
+
Oi as v,
|
|
5032
|
+
yi as w,
|
|
5033
|
+
Fi as x,
|
|
5034
|
+
Tn as y,
|
|
5041
5035
|
In as z
|
|
5042
5036
|
};
|