@builder.io/sdk-vue 5.2.5 → 5.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/browser/{awaiter-RQWxLPh7.cjs → awaiter-0mKQSRRk.cjs} +1 -1
- package/lib/browser/{awaiter-BKtN2AMs.js → awaiter-aT9nEkF0.js} +1 -1
- package/lib/browser/{block-wrapper-nMKh8p11.cjs → block-wrapper-ebPi5330.cjs} +1 -1
- package/lib/browser/{block-wrapper-tny9tjLX.js → block-wrapper-hsmUEUmJ.js} +3 -3
- package/lib/browser/blocks/image/image.vue.d.ts +4 -3
- package/lib/browser/blocks/personalization-container/helpers.d.ts +2 -0
- package/lib/browser/{component-ref-d2TAsp69.js → component-ref-2JLic_6J.js} +4 -4
- package/lib/browser/{component-ref-Mw4IXQsf.cjs → component-ref-5lsY_P2L.cjs} +1 -1
- package/lib/browser/components/content/components/enable-editor.vue.d.ts +1 -0
- package/lib/browser/components/content-variants/content-variants.vue.d.ts +1 -0
- package/lib/browser/constants/sdk-version.d.ts +1 -1
- package/lib/browser/{get-block-properties-yuV5qbSy.cjs → get-block-properties-DMrMpyLe.cjs} +1 -1
- package/lib/browser/{get-block-properties-DXgJ283y.js → get-block-properties-uAJb6ltf.js} +1 -1
- package/lib/browser/index-HltbyCkc.cjs +350 -0
- package/lib/browser/{index-NzYhd2fP.js → index-ODe_HCA4.js} +693 -675
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +1 -1
- package/lib/browser/{live-edit-MYo3p6a8.js → live-edit-6Fy-p514.js} +1 -1
- package/lib/browser/{live-edit-2xpHwDC6.cjs → live-edit-jPgkphth.cjs} +1 -1
- package/lib/browser/{repeated-block-Ga5ASejd.js → repeated-block-GCDk4uyK.js} +2 -2
- package/lib/browser/{repeated-block-2EBzVyUu.cjs → repeated-block-dwcsu5Tf.cjs} +1 -1
- package/lib/browser/{style-wrapper-L7DnOyfm.cjs → style-wrapper-uJyikbLw.cjs} +1 -1
- package/lib/browser/{style-wrapper-dI5wRv59.js → style-wrapper-uzjZV5OS.js} +1 -1
- package/lib/browser/style.css +1 -1
- package/lib/edge/{awaiter-6AjvWUxL.cjs → awaiter-eu9BKtnq.cjs} +1 -1
- package/lib/edge/{awaiter-4nEUChYV.js → awaiter-n2CWjZB1.js} +1 -1
- package/lib/{node/block-wrapper-CVcdunhe.cjs → edge/block-wrapper--rtRhHUc.cjs} +1 -1
- package/lib/edge/{block-wrapper-46vOpFGy.js → block-wrapper-9nBz9JZR.js} +3 -3
- package/lib/edge/blocks/image/image.vue.d.ts +4 -3
- package/lib/edge/blocks/personalization-container/helpers.d.ts +2 -0
- package/lib/edge/{component-ref-yTXpKy_r.js → component-ref-S9vJwuiq.js} +4 -4
- package/lib/edge/{component-ref-DUyRq-EJ.cjs → component-ref-jnjNzDWr.cjs} +1 -1
- package/lib/edge/components/content/components/enable-editor.vue.d.ts +1 -0
- package/lib/edge/components/content-variants/content-variants.vue.d.ts +1 -0
- package/lib/edge/constants/sdk-version.d.ts +1 -1
- package/lib/edge/{get-block-properties-W3W_9H-Z.js → get-block-properties--bKisxsm.js} +1 -1
- package/lib/edge/{get-block-properties-jJLbFHeq.cjs → get-block-properties-TpA1c-Zj.cjs} +1 -1
- package/lib/edge/{index-jpFEl6o1.cjs → index-_nY8Y9dm.cjs} +49 -41
- package/lib/edge/{index-DHXkBA25.js → index-bxo4ghDB.js} +799 -781
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +1 -1
- package/lib/{node/live-edit-NBkhYc-u.js → edge/live-edit-7g02-2DF.js} +1 -1
- package/lib/{node/live-edit-iOkS0wUg.cjs → edge/live-edit-e8Z6uQ-j.cjs} +1 -1
- package/lib/edge/{repeated-block-dGVzaSM5.cjs → repeated-block-OUui2NbB.cjs} +1 -1
- package/lib/edge/{repeated-block-eANZkOUH.js → repeated-block-R_IWEkxl.js} +2 -2
- package/lib/edge/{style-wrapper-CvNVb0wT.cjs → style-wrapper-F_5qcoF-.cjs} +1 -1
- package/lib/edge/{style-wrapper-GqtgkGuc.js → style-wrapper-sQRz1Tz9.js} +1 -1
- package/lib/edge/style.css +1 -1
- package/lib/node/{awaiter-6JHJCJgG.js → awaiter-JSpfFLrt.js} +1 -1
- package/lib/node/{awaiter-_rQTvMWR.cjs → awaiter-N70CU_8O.cjs} +1 -1
- package/lib/node/{block-wrapper-3P0_XOfk.js → block-wrapper-8WuMQvKC.js} +3 -3
- package/lib/{edge/block-wrapper-97OfjwlX.cjs → node/block-wrapper-pbauouda.cjs} +1 -1
- package/lib/node/blocks/image/image.vue.d.ts +4 -3
- package/lib/node/blocks/personalization-container/helpers.d.ts +2 -0
- package/lib/node/{component-ref-tWjNsmU5.cjs → component-ref-0QnbZN8R.cjs} +1 -1
- package/lib/node/{component-ref-RHwChjOp.js → component-ref-Why7x4bF.js} +5 -5
- package/lib/node/components/content/components/enable-editor.vue.d.ts +1 -0
- package/lib/node/components/content-variants/content-variants.vue.d.ts +1 -0
- package/lib/node/constants/sdk-version.d.ts +1 -1
- package/lib/node/{get-block-properties-jknWz7As.cjs → get-block-properties-49Z6hgAn.cjs} +1 -1
- package/lib/node/{get-block-properties-9gqKfU1J.js → get-block-properties-yMS_NiSc.js} +2 -2
- package/lib/node/index-2G2Z-ncC.cjs +350 -0
- package/lib/node/{index-CwfwLkvc.js → index-4BcEpdYg.js} +578 -560
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.mjs +2 -2
- package/lib/node/init.cjs +1 -1
- package/lib/node/init.mjs +1 -1
- package/lib/{edge/live-edit-WpboQZDv.cjs → node/live-edit-0eQ2U7us.cjs} +1 -1
- package/lib/{edge/live-edit-nhAMI-64.js → node/live-edit-959vfTqG.js} +1 -1
- package/lib/node/{repeated-block-BqCLqE8_.cjs → repeated-block-NkQjCyoE.cjs} +1 -1
- package/lib/node/{repeated-block-aHj4jtJt.js → repeated-block-uTpfjUj-.js} +2 -2
- package/lib/node/{should-force-browser-runtime-in-node-j9YDACzy.cjs → should-force-browser-runtime-in-node-hS7qkwoE.cjs} +1 -1
- package/lib/node/{should-force-browser-runtime-in-node-2bRYXF-W.js → should-force-browser-runtime-in-node-k20eAE3E.js} +1 -1
- package/lib/node/{style-wrapper-kcTKCb_j.js → style-wrapper-HY1zLGB7.js} +2 -2
- package/lib/node/{style-wrapper-WxU8Uo4d.cjs → style-wrapper-dYrN4_G9.cjs} +1 -1
- package/lib/node/style.css +1 -1
- package/package.json +1 -1
- package/lib/browser/index-yyjVNpWr.cjs +0 -342
- package/lib/node/index-eeU-4w7r.cjs +0 -342
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as B, openBlock as v, createElementBlock as w, Fragment as z, createBlock as U, resolveDynamicComponent as dt, mergeProps as q, toHandlers as ye, withCtx as me, renderSlot as pe, resolveComponent as W, createTextVNode as
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as B, openBlock as v, createElementBlock as w, Fragment as z, createBlock as U, resolveDynamicComponent as dt, mergeProps as q, toHandlers as ye, withCtx as me, renderSlot as pe, resolveComponent as W, createTextVNode as Qo, toDisplayString as Wt, defineAsyncComponent as st, createVNode as ee, renderList as ve, createCommentVNode as F, h as Jr, createElementVNode as Ge, normalizeStyle as Pe, normalizeClass as gt, markRaw as Zo } from "vue";
|
|
2
|
+
const ei = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), ti = (e) => typeof e == "string" && ei.has(e.toLowerCase());
|
|
3
3
|
function de(e = {}, t, n) {
|
|
4
4
|
const r = {};
|
|
5
5
|
for (const o in e) {
|
|
@@ -10,11 +10,11 @@ function de(e = {}, t, n) {
|
|
|
10
10
|
}
|
|
11
11
|
return r;
|
|
12
12
|
}
|
|
13
|
-
const
|
|
13
|
+
const ni = B({
|
|
14
14
|
name: "dynamic-renderer",
|
|
15
15
|
props: ["TagName", "attributes", "actionAttributes"],
|
|
16
16
|
data() {
|
|
17
|
-
return { isEmptyElement:
|
|
17
|
+
return { isEmptyElement: ti };
|
|
18
18
|
}
|
|
19
19
|
}), j = (e, t) => {
|
|
20
20
|
const n = e.__vccOpts || e;
|
|
@@ -22,7 +22,7 @@ const ei = B({
|
|
|
22
22
|
n[r] = o;
|
|
23
23
|
return n;
|
|
24
24
|
};
|
|
25
|
-
function
|
|
25
|
+
function ri(e, t, n, r, o, i) {
|
|
26
26
|
return e.isEmptyElement(e.TagName) ? (v(), U(dt(e.TagName), q({ key: 1 }, e.attributes, ye(e.actionAttributes)), null, 16)) : (v(), w(z, { key: 0 }, [
|
|
27
27
|
typeof e.TagName == "string" ? (v(), U(dt(e.TagName), q({ key: 0 }, e.attributes, ye(e.actionAttributes)), {
|
|
28
28
|
default: me(() => [
|
|
@@ -37,9 +37,9 @@ function ti(e, t, n, r, o, i) {
|
|
|
37
37
|
}, 16))
|
|
38
38
|
], 64));
|
|
39
39
|
}
|
|
40
|
-
const
|
|
40
|
+
const xn = /* @__PURE__ */ j(ni, [["render", ri]]), nc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
41
41
|
__proto__: null,
|
|
42
|
-
default:
|
|
42
|
+
default: xn
|
|
43
43
|
}, Symbol.toStringTag, { value: "Module" })), G = "vue", Oe = () => {
|
|
44
44
|
switch (G) {
|
|
45
45
|
case "react":
|
|
@@ -53,9 +53,9 @@ const Rn = /* @__PURE__ */ j(ei, [["render", ti]]), Zu = /* @__PURE__ */ Object.
|
|
|
53
53
|
case "angular":
|
|
54
54
|
return "class";
|
|
55
55
|
}
|
|
56
|
-
},
|
|
56
|
+
}, oi = B({
|
|
57
57
|
name: "builder-button",
|
|
58
|
-
components: { DynamicRenderer:
|
|
58
|
+
components: { DynamicRenderer: xn },
|
|
59
59
|
props: [
|
|
60
60
|
"attributes",
|
|
61
61
|
"link",
|
|
@@ -82,7 +82,7 @@ const Rn = /* @__PURE__ */ j(ei, [["render", ti]]), Zu = /* @__PURE__ */ Object.
|
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
});
|
|
85
|
-
function
|
|
85
|
+
function ii(e, t, n, r, o, i) {
|
|
86
86
|
const s = W("DynamicRenderer");
|
|
87
87
|
return v(), U(s, {
|
|
88
88
|
attributes: e.attrs(),
|
|
@@ -90,12 +90,12 @@ function ri(e, t, n, r, o, i) {
|
|
|
90
90
|
actionAttributes: e.filterAttrs(e.attributes, "v-on:", !0)
|
|
91
91
|
}, {
|
|
92
92
|
default: me(() => [
|
|
93
|
-
|
|
93
|
+
Qo(Wt(e.text), 1)
|
|
94
94
|
]),
|
|
95
95
|
_: 1
|
|
96
96
|
}, 8, ["attributes", "TagName", "actionAttributes"]);
|
|
97
97
|
}
|
|
98
|
-
const
|
|
98
|
+
const si = /* @__PURE__ */ j(oi, [["render", ii]]), ai = Symbol(), vn = {
|
|
99
99
|
Builder: {
|
|
100
100
|
content: null,
|
|
101
101
|
context: {},
|
|
@@ -112,43 +112,43 @@ const oi = /* @__PURE__ */ j(ni, [["render", ri]]), ii = Symbol(), vn = {
|
|
|
112
112
|
nonce: "",
|
|
113
113
|
model: ""
|
|
114
114
|
},
|
|
115
|
-
key:
|
|
116
|
-
},
|
|
115
|
+
key: ai
|
|
116
|
+
}, li = Symbol(), Xr = {
|
|
117
117
|
Components: { registeredComponents: {} },
|
|
118
|
-
key:
|
|
118
|
+
key: li
|
|
119
119
|
}, Pt = "[Builder.io]: ", ue = {
|
|
120
120
|
log: (...e) => console.log(Pt, ...e),
|
|
121
121
|
error: (...e) => console.error(Pt, ...e),
|
|
122
122
|
warn: (...e) => console.warn(Pt, ...e),
|
|
123
123
|
debug: (...e) => console.debug(Pt, ...e)
|
|
124
|
-
},
|
|
124
|
+
}, Yr = (e, t, n) => {
|
|
125
125
|
const r = String.prototype.split.call(t, /[,[\].]+?/).filter(Boolean).reduce((o, i) => o != null ? o[i] : o, e);
|
|
126
126
|
return r === void 0 || r === e ? n : r;
|
|
127
127
|
};
|
|
128
128
|
function M() {
|
|
129
129
|
return typeof window < "u" && typeof document < "u";
|
|
130
130
|
}
|
|
131
|
-
const
|
|
131
|
+
const ui = (e) => {
|
|
132
132
|
const t = {};
|
|
133
133
|
return e.forEach((n, r) => {
|
|
134
134
|
t[r] = n;
|
|
135
135
|
}), t;
|
|
136
|
-
},
|
|
137
|
-
function
|
|
136
|
+
}, Qr = (e) => e instanceof URLSearchParams ? ui(e) : e, Zr = (e) => typeof e == "string" ? e : e instanceof URLSearchParams ? e.toString() : new URLSearchParams(e).toString();
|
|
137
|
+
function ci() {
|
|
138
138
|
return M() && window.self !== window.top;
|
|
139
139
|
}
|
|
140
140
|
function oe(e) {
|
|
141
|
-
return
|
|
142
|
-
|
|
141
|
+
return ci() && // accessing window.location.search is safe here because `isIframe()` is only `true` if we're in a browser.
|
|
142
|
+
Zr(e || window.location.search).indexOf("builder.frameEditing=") !== -1;
|
|
143
143
|
}
|
|
144
|
-
const
|
|
144
|
+
const pi = () => {
|
|
145
145
|
if (M()) {
|
|
146
146
|
const e = new URL(location.href);
|
|
147
147
|
return e.pathname === "" && (e.pathname = "/"), e;
|
|
148
148
|
} else
|
|
149
149
|
return console.warn("Cannot get location for tracking in non-browser environment"), null;
|
|
150
|
-
},
|
|
151
|
-
const e =
|
|
150
|
+
}, di = () => typeof navigator == "object" && navigator.userAgent || "", eo = () => {
|
|
151
|
+
const e = di(), t = {
|
|
152
152
|
Android() {
|
|
153
153
|
return e.match(/Android/i);
|
|
154
154
|
},
|
|
@@ -167,17 +167,17 @@ const ui = () => {
|
|
|
167
167
|
any() {
|
|
168
168
|
return t.Android() || t.BlackBerry() || t.iOS() || t.Opera() || t.Windows() || G === "reactNative";
|
|
169
169
|
}
|
|
170
|
-
}, n = e.match(/Tablet|iPad/i), r =
|
|
170
|
+
}, n = e.match(/Tablet|iPad/i), r = pi();
|
|
171
171
|
return {
|
|
172
172
|
urlPath: r == null ? void 0 : r.pathname,
|
|
173
173
|
host: (r == null ? void 0 : r.host) || (r == null ? void 0 : r.hostname),
|
|
174
174
|
device: n ? "tablet" : t.any() ? "mobile" : "desktop"
|
|
175
175
|
};
|
|
176
|
-
},
|
|
176
|
+
}, to = "5.2.7", no = () => ({
|
|
177
177
|
"X-Builder-SDK": G,
|
|
178
178
|
"X-Builder-SDK-GEN": "2",
|
|
179
|
-
"X-Builder-SDK-Version":
|
|
180
|
-
}), Ne = (e) => e != null,
|
|
179
|
+
"X-Builder-SDK-Version": to
|
|
180
|
+
}), Ne = (e) => e != null, fi = (e) => {
|
|
181
181
|
if (e === "localhost" || e === "127.0.0.1")
|
|
182
182
|
return e;
|
|
183
183
|
const t = e.split(".");
|
|
@@ -193,14 +193,14 @@ const ui = () => {
|
|
|
193
193
|
ue.warn("[COOKIE] GET error: ", (r == null ? void 0 : r.message) || r);
|
|
194
194
|
return;
|
|
195
195
|
}
|
|
196
|
-
},
|
|
196
|
+
}, ro = async (e) => Lt(e), hi = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(Ne).join("; "), mi = [["secure", ""], ["SameSite", "None"]], gi = ({
|
|
197
197
|
name: e,
|
|
198
198
|
value: t,
|
|
199
199
|
expires: n
|
|
200
200
|
}) => {
|
|
201
|
-
const o = (M() ? location.protocol === "https:" : !0) ?
|
|
202
|
-
return
|
|
203
|
-
},
|
|
201
|
+
const o = (M() ? location.protocol === "https:" : !0) ? mi : [[]], i = n ? [["expires", n.toUTCString()]] : [[]], s = [[e, t], ...i, ["path", "/"], ["domain", fi(window.location.hostname)], ...o];
|
|
202
|
+
return hi(s);
|
|
203
|
+
}, Pn = async ({
|
|
204
204
|
name: e,
|
|
205
205
|
value: t,
|
|
206
206
|
expires: n,
|
|
@@ -209,7 +209,7 @@ const ui = () => {
|
|
|
209
209
|
try {
|
|
210
210
|
if (!r)
|
|
211
211
|
return;
|
|
212
|
-
const o =
|
|
212
|
+
const o = gi({
|
|
213
213
|
name: e,
|
|
214
214
|
value: t,
|
|
215
215
|
expires: n
|
|
@@ -219,93 +219,93 @@ const ui = () => {
|
|
|
219
219
|
ue.warn("[COOKIE] SET error: ", (o == null ? void 0 : o.message) || o);
|
|
220
220
|
}
|
|
221
221
|
};
|
|
222
|
-
function
|
|
222
|
+
function yi() {
|
|
223
223
|
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
|
|
224
224
|
const t = Math.random() * 16 | 0;
|
|
225
225
|
return (e == "x" ? t : t & 3 | 8).toString(16);
|
|
226
226
|
});
|
|
227
227
|
}
|
|
228
|
-
function
|
|
229
|
-
return
|
|
228
|
+
function oo() {
|
|
229
|
+
return yi().replace(/-/g, "");
|
|
230
230
|
}
|
|
231
|
-
const
|
|
231
|
+
const io = "builderSessionId", vi = async ({
|
|
232
232
|
canTrack: e
|
|
233
233
|
}) => {
|
|
234
234
|
if (!e)
|
|
235
235
|
return;
|
|
236
|
-
const t = await
|
|
237
|
-
name:
|
|
236
|
+
const t = await ro({
|
|
237
|
+
name: io,
|
|
238
238
|
canTrack: e
|
|
239
239
|
});
|
|
240
240
|
if (Ne(t))
|
|
241
241
|
return t;
|
|
242
242
|
{
|
|
243
|
-
const n =
|
|
244
|
-
return
|
|
243
|
+
const n = bi();
|
|
244
|
+
return Si({
|
|
245
245
|
id: n,
|
|
246
246
|
canTrack: e
|
|
247
247
|
}), n;
|
|
248
248
|
}
|
|
249
|
-
},
|
|
249
|
+
}, bi = () => oo(), Si = ({
|
|
250
250
|
id: e,
|
|
251
251
|
canTrack: t
|
|
252
|
-
}) =>
|
|
253
|
-
name:
|
|
252
|
+
}) => Pn({
|
|
253
|
+
name: io,
|
|
254
254
|
value: e,
|
|
255
255
|
canTrack: t
|
|
256
|
-
}),
|
|
256
|
+
}), so = () => M() && typeof localStorage < "u" ? localStorage : void 0, ki = ({
|
|
257
257
|
key: e,
|
|
258
258
|
canTrack: t
|
|
259
259
|
}) => {
|
|
260
260
|
var n;
|
|
261
261
|
try {
|
|
262
|
-
return t ? (n =
|
|
262
|
+
return t ? (n = so()) == null ? void 0 : n.getItem(e) : void 0;
|
|
263
263
|
} catch (r) {
|
|
264
264
|
console.debug("[LocalStorage] GET error: ", r);
|
|
265
265
|
return;
|
|
266
266
|
}
|
|
267
|
-
},
|
|
267
|
+
}, Ci = ({
|
|
268
268
|
key: e,
|
|
269
269
|
canTrack: t,
|
|
270
270
|
value: n
|
|
271
271
|
}) => {
|
|
272
272
|
var r;
|
|
273
273
|
try {
|
|
274
|
-
t && ((r =
|
|
274
|
+
t && ((r = so()) == null || r.setItem(e, n));
|
|
275
275
|
} catch (o) {
|
|
276
276
|
console.debug("[LocalStorage] SET error: ", o);
|
|
277
277
|
}
|
|
278
|
-
},
|
|
278
|
+
}, ao = "builderVisitorId", wi = ({
|
|
279
279
|
canTrack: e
|
|
280
280
|
}) => {
|
|
281
281
|
if (!e)
|
|
282
282
|
return;
|
|
283
|
-
const t =
|
|
284
|
-
key:
|
|
283
|
+
const t = ki({
|
|
284
|
+
key: ao,
|
|
285
285
|
canTrack: e
|
|
286
286
|
});
|
|
287
287
|
if (Ne(t))
|
|
288
288
|
return t;
|
|
289
289
|
{
|
|
290
|
-
const n =
|
|
291
|
-
return
|
|
290
|
+
const n = Ti();
|
|
291
|
+
return Ei({
|
|
292
292
|
id: n,
|
|
293
293
|
canTrack: e
|
|
294
294
|
}), n;
|
|
295
295
|
}
|
|
296
|
-
},
|
|
296
|
+
}, Ti = () => oo(), Ei = ({
|
|
297
297
|
id: e,
|
|
298
298
|
canTrack: t
|
|
299
|
-
}) =>
|
|
300
|
-
key:
|
|
299
|
+
}) => Ci({
|
|
300
|
+
key: ao,
|
|
301
301
|
value: e,
|
|
302
302
|
canTrack: t
|
|
303
303
|
});
|
|
304
|
-
function
|
|
304
|
+
function On(e) {
|
|
305
305
|
var t;
|
|
306
306
|
typeof process < "u" && ((t = process.env) != null && t.DEBUG) && String(process.env.DEBUG) == "true" && ue.log(e);
|
|
307
307
|
}
|
|
308
|
-
const
|
|
308
|
+
const Ii = async ({
|
|
309
309
|
canTrack: e
|
|
310
310
|
}) => {
|
|
311
311
|
if (!e)
|
|
@@ -313,16 +313,16 @@ const Ti = async ({
|
|
|
313
313
|
visitorId: void 0,
|
|
314
314
|
sessionId: void 0
|
|
315
315
|
};
|
|
316
|
-
const t = await
|
|
316
|
+
const t = await vi({
|
|
317
317
|
canTrack: e
|
|
318
|
-
}), n =
|
|
318
|
+
}), n = wi({
|
|
319
319
|
canTrack: e
|
|
320
320
|
});
|
|
321
321
|
return {
|
|
322
322
|
sessionId: t,
|
|
323
323
|
visitorId: n
|
|
324
324
|
};
|
|
325
|
-
},
|
|
325
|
+
}, Ri = async ({
|
|
326
326
|
type: e,
|
|
327
327
|
canTrack: t,
|
|
328
328
|
apiKey: n,
|
|
@@ -336,10 +336,10 @@ const Ti = async ({
|
|
|
336
336
|
url: location.href,
|
|
337
337
|
...r
|
|
338
338
|
},
|
|
339
|
-
...await
|
|
339
|
+
...await Ii({
|
|
340
340
|
canTrack: t
|
|
341
341
|
}),
|
|
342
|
-
userAttributes:
|
|
342
|
+
userAttributes: eo(),
|
|
343
343
|
ownerId: n
|
|
344
344
|
}
|
|
345
345
|
});
|
|
@@ -354,24 +354,24 @@ async function jt({
|
|
|
354
354
|
if (!t.canTrack || oe() || !(M() || G === "reactNative"))
|
|
355
355
|
return;
|
|
356
356
|
const r = `${e || "https://cdn.builder.io"}/api/v1/track`;
|
|
357
|
-
return
|
|
357
|
+
return On(r), fetch(r, {
|
|
358
358
|
method: "POST",
|
|
359
359
|
body: JSON.stringify({
|
|
360
|
-
events: [await
|
|
360
|
+
events: [await Ri(t)]
|
|
361
361
|
}),
|
|
362
362
|
headers: {
|
|
363
363
|
"content-type": "application/json",
|
|
364
|
-
...
|
|
364
|
+
...no()
|
|
365
365
|
},
|
|
366
366
|
mode: "cors"
|
|
367
367
|
}).catch((o) => {
|
|
368
368
|
console.error("Failed to track: ", o);
|
|
369
369
|
});
|
|
370
370
|
}
|
|
371
|
-
const
|
|
371
|
+
const rc = (e) => jt({
|
|
372
372
|
...e,
|
|
373
373
|
canTrack: !0
|
|
374
|
-
}),
|
|
374
|
+
}), lo = ({
|
|
375
375
|
builder: e,
|
|
376
376
|
context: t,
|
|
377
377
|
event: n,
|
|
@@ -383,11 +383,11 @@ const ec = (e) => jt({
|
|
|
383
383
|
builder: e,
|
|
384
384
|
context: t,
|
|
385
385
|
event: n
|
|
386
|
-
}),
|
|
386
|
+
}), Ai = (e) => ({
|
|
387
387
|
isEditing: oe(),
|
|
388
388
|
isBrowser: M(),
|
|
389
389
|
isServer: !M(),
|
|
390
|
-
getUserAttributes: () =>
|
|
390
|
+
getUserAttributes: () => eo(),
|
|
391
391
|
trackConversion: (t, n) => {
|
|
392
392
|
!(e != null && e.apiKey) || (e == null ? void 0 : e.canTrack) === !1 || jt({
|
|
393
393
|
type: "conversion",
|
|
@@ -403,10 +403,10 @@ const ec = (e) => jt({
|
|
|
403
403
|
}
|
|
404
404
|
});
|
|
405
405
|
}
|
|
406
|
-
}),
|
|
406
|
+
}), $i = (e, {
|
|
407
407
|
isExpression: t = !0
|
|
408
408
|
}) => /* 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;
|
|
409
|
-
function
|
|
409
|
+
function Nn({
|
|
410
410
|
rootState: e,
|
|
411
411
|
localState: t,
|
|
412
412
|
rootSetState: n
|
|
@@ -416,7 +416,7 @@ function xn({
|
|
|
416
416
|
if (t && o in t)
|
|
417
417
|
return t[o];
|
|
418
418
|
const i = r[o];
|
|
419
|
-
return typeof i == "object" && i !== null ?
|
|
419
|
+
return typeof i == "object" && i !== null ? Nn({
|
|
420
420
|
rootState: i,
|
|
421
421
|
localState: void 0,
|
|
422
422
|
rootSetState: n ? (s) => {
|
|
@@ -431,7 +431,7 @@ function xn({
|
|
|
431
431
|
}
|
|
432
432
|
});
|
|
433
433
|
}
|
|
434
|
-
const
|
|
434
|
+
const xi = ({
|
|
435
435
|
code: e,
|
|
436
436
|
builder: t,
|
|
437
437
|
context: n,
|
|
@@ -440,11 +440,11 @@ const Ai = ({
|
|
|
440
440
|
rootSetState: i,
|
|
441
441
|
rootState: s
|
|
442
442
|
}) => {
|
|
443
|
-
const u =
|
|
443
|
+
const u = lo({
|
|
444
444
|
builder: t,
|
|
445
445
|
context: n,
|
|
446
446
|
event: r,
|
|
447
|
-
state:
|
|
447
|
+
state: Nn({
|
|
448
448
|
rootState: s,
|
|
449
449
|
localState: o,
|
|
450
450
|
rootSetState: i
|
|
@@ -452,12 +452,12 @@ const Ai = ({
|
|
|
452
452
|
});
|
|
453
453
|
return new Function(...u.map(([c]) => c), e)(...u.map(([, c]) => c));
|
|
454
454
|
};
|
|
455
|
-
var V,
|
|
455
|
+
var V, Pi = function(e) {
|
|
456
456
|
function t(a) {
|
|
457
|
-
return 48 > a ? a === 36 : 58 > a ? !0 : 65 > a ? !1 : 91 > a ? !0 : 97 > a ? a === 95 : 123 > a ? !0 : 170 <= a &&
|
|
457
|
+
return 48 > a ? a === 36 : 58 > a ? !0 : 65 > a ? !1 : 91 > a ? !0 : 97 > a ? a === 95 : 123 > a ? !0 : 170 <= a && Xo.test(String.fromCharCode(a));
|
|
458
458
|
}
|
|
459
459
|
function n(a) {
|
|
460
|
-
return 65 > a ? a === 36 : 91 > a ? !0 : 97 > a ? a === 95 : 123 > a ? !0 : 170 <= a &&
|
|
460
|
+
return 65 > a ? a === 36 : 91 > a ? !0 : 97 > a ? a === 95 : 123 > a ? !0 : 170 <= a && xr.test(String.fromCharCode(a));
|
|
461
461
|
}
|
|
462
462
|
function r(a, l) {
|
|
463
463
|
for (var p = k, f = 1, P = 0; ; ) {
|
|
@@ -517,7 +517,7 @@ var V, $i = function(e) {
|
|
|
517
517
|
break;
|
|
518
518
|
else if (a === 160)
|
|
519
519
|
++d;
|
|
520
|
-
else if (5760 <= a &&
|
|
520
|
+
else if (5760 <= a && Jo.test(String.fromCharCode(a)))
|
|
521
521
|
++d;
|
|
522
522
|
else
|
|
523
523
|
break;
|
|
@@ -526,7 +526,7 @@ var V, $i = function(e) {
|
|
|
526
526
|
function m(a) {
|
|
527
527
|
switch (a) {
|
|
528
528
|
case 46:
|
|
529
|
-
a = k.charCodeAt(d + 1), 48 <= a && 57 >= a ? A(!0) : (++d, s(
|
|
529
|
+
a = k.charCodeAt(d + 1), 48 <= a && 57 >= a ? A(!0) : (++d, s(Cr));
|
|
530
530
|
return;
|
|
531
531
|
case 40:
|
|
532
532
|
return ++d, s(Ce);
|
|
@@ -547,7 +547,7 @@ var V, $i = function(e) {
|
|
|
547
547
|
case 58:
|
|
548
548
|
return ++d, s(it);
|
|
549
549
|
case 63:
|
|
550
|
-
return ++d, s(
|
|
550
|
+
return ++d, s(wr);
|
|
551
551
|
case 48:
|
|
552
552
|
if (a = k.charCodeAt(d + 1), a === 120 || a === 88) {
|
|
553
553
|
d += 2, a = S(16), a === null && r(Y + 2, "Expected hexadecimal number"), n(k.charCodeAt(d)) && r(d, "Identifier directly after number"), s(rt, a);
|
|
@@ -626,33 +626,33 @@ var V, $i = function(e) {
|
|
|
626
626
|
}
|
|
627
627
|
return;
|
|
628
628
|
case 47:
|
|
629
|
-
a = k.charCodeAt(d + 1), tt ? (++d, h()) : a === 61 ? b(De, 2) : b(
|
|
629
|
+
a = k.charCodeAt(d + 1), tt ? (++d, h()) : a === 61 ? b(De, 2) : b(Tr, 1);
|
|
630
630
|
return;
|
|
631
631
|
case 37:
|
|
632
632
|
case 42:
|
|
633
|
-
k.charCodeAt(d + 1) === 61 ? b(De, 2) : b(
|
|
633
|
+
k.charCodeAt(d + 1) === 61 ? b(De, 2) : b(qo, 1);
|
|
634
634
|
return;
|
|
635
635
|
case 124:
|
|
636
636
|
case 38:
|
|
637
|
-
l = k.charCodeAt(d + 1), l === a ? b(a === 124 ?
|
|
637
|
+
l = k.charCodeAt(d + 1), l === a ? b(a === 124 ? Rr : Ar, 2) : l === 61 ? b(De, 2) : b(a === 124 ? Wo : Fo, 1);
|
|
638
638
|
return;
|
|
639
639
|
case 94:
|
|
640
|
-
k.charCodeAt(d + 1) === 61 ? b(De, 2) : b(
|
|
640
|
+
k.charCodeAt(d + 1) === 61 ? b(De, 2) : b(Lo, 1);
|
|
641
641
|
return;
|
|
642
642
|
case 43:
|
|
643
643
|
case 45:
|
|
644
|
-
l = k.charCodeAt(d + 1), l === a ? l === 45 && k.charCodeAt(d + 2) === 62 && $t.test(k.slice($e, d)) ? (d += 3, u(), c(), y()) : b(
|
|
644
|
+
l = k.charCodeAt(d + 1), l === a ? l === 45 && k.charCodeAt(d + 2) === 62 && $t.test(k.slice($e, d)) ? (d += 3, u(), c(), y()) : b(Uo, 2) : l === 61 ? b(De, 2) : b(zo, 1);
|
|
645
645
|
return;
|
|
646
646
|
case 60:
|
|
647
647
|
case 62:
|
|
648
|
-
l = k.charCodeAt(d + 1), p = 1, l === a ? (p = a === 62 && k.charCodeAt(d + 2) === 62 ? 3 : 2, k.charCodeAt(d + p) === 61 ? b(De, p + 1) : b(
|
|
648
|
+
l = k.charCodeAt(d + 1), p = 1, l === a ? (p = a === 62 && k.charCodeAt(d + 2) === 62 ? 3 : 2, k.charCodeAt(d + p) === 61 ? b(De, p + 1) : b(Ko, p)) : l === 33 && a === 60 && k.charCodeAt(d + 2) === 45 && k.charCodeAt(d + 3) === 45 ? (d += 4, u(), c(), y()) : (l === 61 && (p = k.charCodeAt(d + 2) === 61 ? 3 : 2), b(Ho, p));
|
|
649
649
|
return;
|
|
650
650
|
case 61:
|
|
651
651
|
case 33:
|
|
652
|
-
k.charCodeAt(d + 1) === 61 ? b(
|
|
652
|
+
k.charCodeAt(d + 1) === 61 ? b(Mo, k.charCodeAt(d + 2) === 61 ? 3 : 2) : b(a === 61 ? Er : Ir, 1);
|
|
653
653
|
return;
|
|
654
654
|
case 126:
|
|
655
|
-
return b(
|
|
655
|
+
return b(Ir, 1);
|
|
656
656
|
}
|
|
657
657
|
return !1;
|
|
658
658
|
}
|
|
@@ -664,7 +664,7 @@ var V, $i = function(e) {
|
|
|
664
664
|
if (a = k.charCodeAt(d), n(a) || a === 92)
|
|
665
665
|
return te();
|
|
666
666
|
if (m(a) === !1) {
|
|
667
|
-
if (a = String.fromCharCode(a), a === "\\" ||
|
|
667
|
+
if (a = String.fromCharCode(a), a === "\\" || xr.test(a))
|
|
668
668
|
return te();
|
|
669
669
|
r(d, "Unexpected character '" + a + "'");
|
|
670
670
|
}
|
|
@@ -696,7 +696,7 @@ var V, $i = function(e) {
|
|
|
696
696
|
} catch (Q) {
|
|
697
697
|
throw Q instanceof SyntaxError && r(p, Q.message), Q;
|
|
698
698
|
}
|
|
699
|
-
s(
|
|
699
|
+
s(rr, P);
|
|
700
700
|
}
|
|
701
701
|
function S(a, l) {
|
|
702
702
|
for (var p = d, f = 0, P = l === void 0 ? 1 / 0 : l, Q = 0; Q < P; ++Q) {
|
|
@@ -734,7 +734,7 @@ var V, $i = function(e) {
|
|
|
734
734
|
}
|
|
735
735
|
function te() {
|
|
736
736
|
var a = H(), l = Me;
|
|
737
|
-
!Ke &&
|
|
737
|
+
!Ke && _o(a) && (l = Do[a]), s(l, a);
|
|
738
738
|
}
|
|
739
739
|
function E() {
|
|
740
740
|
Zt = Y, $e = Fe, en = Qt, y();
|
|
@@ -785,11 +785,11 @@ var V, $i = function(e) {
|
|
|
785
785
|
a.type !== "Identifier" && a.type !== "MemberExpression" && r(a.start, "Assigning to rvalue"), ce && a.type === "Identifier" && At(a.name) && r(a.start, "Assigning to " + a.name + " in strict mode");
|
|
786
786
|
}
|
|
787
787
|
function he() {
|
|
788
|
-
(x ===
|
|
788
|
+
(x === Tr || x === De && fe === "/=") && y(!0);
|
|
789
789
|
var a = x, l = K();
|
|
790
790
|
switch (a) {
|
|
791
791
|
case nn:
|
|
792
|
-
case
|
|
792
|
+
case ir:
|
|
793
793
|
E();
|
|
794
794
|
var p = a === nn;
|
|
795
795
|
L(we) || wt() ? l.label = null : x !== Me ? be() : (l.label = Se(), je());
|
|
@@ -799,31 +799,31 @@ var V, $i = function(e) {
|
|
|
799
799
|
break;
|
|
800
800
|
}
|
|
801
801
|
return f === X.length && r(l.start, "Unsyntactic " + a.l), R(l, p ? "BreakStatement" : "ContinueStatement");
|
|
802
|
-
case
|
|
802
|
+
case sr:
|
|
803
803
|
return E(), je(), R(l, "DebuggerStatement");
|
|
804
|
-
case ir:
|
|
805
|
-
return E(), X.push(pn), l.body = he(), X.pop(), J(ln), l.test = Qe(), je(), R(l, "DoWhileStatement");
|
|
806
804
|
case lr:
|
|
807
|
-
return E(), X.push(pn),
|
|
805
|
+
return E(), X.push(pn), l.body = he(), X.pop(), J(ln), l.test = Qe(), je(), R(l, "DoWhileStatement");
|
|
806
|
+
case pr:
|
|
807
|
+
return E(), X.push(pn), J(Ce), x === we ? Kt(l, null) : x === an ? (a = K(), E(), tr(a, !0), R(a, "VariableDeclaration"), a.fa.length === 1 && L(Rt) ? er(l, a) : Kt(l, a)) : (a = re(!1, !0), L(Rt) ? (Tt(a), er(l, a)) : Kt(l, a));
|
|
808
808
|
case on:
|
|
809
809
|
return E(), _t(l, !0);
|
|
810
|
-
case
|
|
811
|
-
return E(), l.test = Qe(), l.da = he(), l.alternate = L(
|
|
812
|
-
case
|
|
810
|
+
case dr:
|
|
811
|
+
return E(), l.test = Qe(), l.da = he(), l.alternate = L(ur) ? he() : null, R(l, "IfStatement");
|
|
812
|
+
case fr:
|
|
813
813
|
return nt || O.Ib || r(Y, "'return' outside of function"), E(), L(we) || wt() ? l.K = null : (l.K = re(), je()), R(l, "ReturnStatement");
|
|
814
814
|
case sn:
|
|
815
|
-
for (E(), l.Qb = Qe(), l.tb = [], J(ot), X.push(
|
|
816
|
-
x === rn || x ===
|
|
815
|
+
for (E(), l.Qb = Qe(), l.tb = [], J(ot), X.push(Yo); x !== He; )
|
|
816
|
+
x === rn || x === ar ? (a = x === rn, f && R(f, "SwitchCase"), l.tb.push(f = K()), f.da = [], E(), a ? f.test = re() : (p && r(Zt, "Multiple default clauses"), p = !0, f.test = null), J(it)) : (f || be(), f.da.push(he()));
|
|
817
817
|
return f && R(f, "SwitchCase"), E(), X.pop(), R(l, "SwitchStatement");
|
|
818
|
-
case
|
|
818
|
+
case hr:
|
|
819
819
|
return E(), $t.test(k.slice($e, Y)) && r($e, "Illegal newline after throw"), l.K = re(), je(), R(l, "ThrowStatement");
|
|
820
|
-
case
|
|
821
|
-
return E(), l.block = Ze(), l.Ea = null, x ===
|
|
820
|
+
case mr:
|
|
821
|
+
return E(), l.block = Ze(), l.Ea = null, x === or && (a = K(), E(), J(Ce), a.Ua = Se(), ce && At(a.Ua.name) && r(a.Ua.start, "Binding " + a.Ua.name + " in strict mode"), J(ge), a.body = Ze(), l.Ea = R(a, "CatchClause")), l.fb = L(cr) ? Ze() : null, l.Ea || l.fb || r(l.start, "Missing catch or finally clause"), R(l, "TryStatement");
|
|
822
822
|
case an:
|
|
823
|
-
return E(),
|
|
823
|
+
return E(), tr(l), je(), R(l, "VariableDeclaration");
|
|
824
824
|
case ln:
|
|
825
825
|
return E(), l.test = Qe(), X.push(pn), l.body = he(), X.pop(), R(l, "WhileStatement");
|
|
826
|
-
case
|
|
826
|
+
case gr:
|
|
827
827
|
return ce && r(Y, "'with' in strict mode"), E(), l.object = Qe(), l.body = he(), R(l, "WithStatement");
|
|
828
828
|
case ot:
|
|
829
829
|
return Ze();
|
|
@@ -861,13 +861,13 @@ var V, $i = function(e) {
|
|
|
861
861
|
function Kt(a, l) {
|
|
862
862
|
return a.ua = l, J(we), a.test = x === we ? null : re(), J(we), a.update = x === ge ? null : re(), J(ge), a.body = he(), X.pop(), R(a, "ForStatement");
|
|
863
863
|
}
|
|
864
|
-
function
|
|
864
|
+
function er(a, l) {
|
|
865
865
|
return a.left = l, a.right = re(), J(ge), a.body = he(), X.pop(), R(a, "ForInStatement");
|
|
866
866
|
}
|
|
867
|
-
function
|
|
867
|
+
function tr(a, l) {
|
|
868
868
|
for (a.fa = [], a.kind = "var"; ; ) {
|
|
869
869
|
var p = K();
|
|
870
|
-
if (p.id = Se(), ce && At(p.id.name) && r(p.id.start, "Binding " + p.id.name + " in strict mode"), p.ua = L(
|
|
870
|
+
if (p.id = Se(), ce && At(p.id.name) && r(p.id.start, "Binding " + p.id.name + " in strict mode"), p.ua = L(Er) ? re(!0, l) : null, a.fa.push(R(p, "VariableDeclarator")), !L(xe))
|
|
871
871
|
break;
|
|
872
872
|
}
|
|
873
873
|
}
|
|
@@ -882,7 +882,7 @@ var V, $i = function(e) {
|
|
|
882
882
|
}
|
|
883
883
|
function zt(a) {
|
|
884
884
|
var l = qt(Gt(), -1, a);
|
|
885
|
-
if (L(
|
|
885
|
+
if (L(wr)) {
|
|
886
886
|
var p = _(l);
|
|
887
887
|
p.test = l, p.da = re(!0), J(it), p.alternate = re(!0, a), l = R(p, "ConditionalExpression");
|
|
888
888
|
}
|
|
@@ -892,7 +892,7 @@ var V, $i = function(e) {
|
|
|
892
892
|
var f = x.L;
|
|
893
893
|
if (f !== null && (!p || x !== Rt) && f > l) {
|
|
894
894
|
var P = _(a);
|
|
895
|
-
return P.left = a, P.operator = fe, a = x, E(), P.right = qt(Gt(), f, p), f = R(P, a ===
|
|
895
|
+
return P.left = a, P.operator = fe, a = x, E(), P.right = qt(Gt(), f, p), f = R(P, a === Rr || a === Ar ? "LogicalExpression" : "BinaryExpression"), qt(f, l, p);
|
|
896
896
|
}
|
|
897
897
|
return a;
|
|
898
898
|
}
|
|
@@ -906,7 +906,7 @@ var V, $i = function(e) {
|
|
|
906
906
|
return l;
|
|
907
907
|
}
|
|
908
908
|
function et(a, l) {
|
|
909
|
-
if (L(
|
|
909
|
+
if (L(Cr)) {
|
|
910
910
|
var p = _(a);
|
|
911
911
|
return p.object = a, p.Wa = Se(!0), p.bb = !1, et(R(p, "MemberExpression"), l);
|
|
912
912
|
}
|
|
@@ -914,18 +914,18 @@ var V, $i = function(e) {
|
|
|
914
914
|
}
|
|
915
915
|
function Et() {
|
|
916
916
|
switch (x) {
|
|
917
|
-
case
|
|
917
|
+
case vr:
|
|
918
918
|
var a = K();
|
|
919
919
|
return E(), R(a, "ThisExpression");
|
|
920
920
|
case Me:
|
|
921
921
|
return Se();
|
|
922
922
|
case rt:
|
|
923
923
|
case It:
|
|
924
|
-
case
|
|
924
|
+
case rr:
|
|
925
925
|
return a = K(), a.value = fe, a.raw = k.slice(Y, Fe), E(), R(a, "Literal");
|
|
926
|
-
case
|
|
927
|
-
case
|
|
928
|
-
case
|
|
926
|
+
case br:
|
|
927
|
+
case Sr:
|
|
928
|
+
case kr:
|
|
929
929
|
return a = K(), a.value = x.$a, a.raw = x.l, E(), R(a, "Literal");
|
|
930
930
|
case Ce:
|
|
931
931
|
a = Yt;
|
|
@@ -962,8 +962,8 @@ var V, $i = function(e) {
|
|
|
962
962
|
return R(a, "ObjectExpression");
|
|
963
963
|
case on:
|
|
964
964
|
return a = K(), E(), _t(a, !1);
|
|
965
|
-
case
|
|
966
|
-
return a = K(), E(), a.callee = et(Et(), !0), a.arguments = L(Ce) ? Jt(ge, !1) :
|
|
965
|
+
case yr:
|
|
966
|
+
return a = K(), E(), a.callee = et(Et(), !0), a.arguments = L(Ce) ? Jt(ge, !1) : Vo, R(a, "NewExpression");
|
|
967
967
|
}
|
|
968
968
|
be();
|
|
969
969
|
}
|
|
@@ -976,7 +976,7 @@ var V, $i = function(e) {
|
|
|
976
976
|
var f = X;
|
|
977
977
|
if (nt = !0, X = [], a.body = Ze(!0), nt = p, X = f, ce || a.body.body.length && We(a.body.body[0])) {
|
|
978
978
|
for (p = a.id ? -1 : 0; p < a.oa.length; ++p)
|
|
979
|
-
if (f = 0 > p ? a.id : a.oa[p], (
|
|
979
|
+
if (f = 0 > p ? a.id : a.oa[p], ($r(f.name) || At(f.name)) && r(f.start, "Defining '" + f.name + "' in strict mode"), 0 <= p)
|
|
980
980
|
for (var P = 0; P < p; ++P)
|
|
981
981
|
f.name === a.oa[P].name && r(f.start, "Argument name clash in strict mode");
|
|
982
982
|
}
|
|
@@ -994,19 +994,19 @@ var V, $i = function(e) {
|
|
|
994
994
|
}
|
|
995
995
|
function Se(a) {
|
|
996
996
|
var l = K();
|
|
997
|
-
return a && O.yb === "everywhere" && (a = !1), x === Me ? (!a && (O.yb &&
|
|
997
|
+
return a && O.yb === "everywhere" && (a = !1), x === Me ? (!a && (O.yb && Go(fe) || ce && $r(fe)) && k.slice(Y, Fe).indexOf("\\") === -1 && r(Y, "The keyword '" + fe + "' is reserved"), l.name = fe) : a && x.l ? l.name = x.l : be(), tt = !1, E(), R(l, "Identifier");
|
|
998
998
|
}
|
|
999
999
|
e.version = "0.5.0";
|
|
1000
1000
|
var O, k = "", Le, Xt;
|
|
1001
1001
|
e.parse = function(a, l) {
|
|
1002
1002
|
k = String(a), Le = k.length, O = l || {};
|
|
1003
|
-
for (var p in
|
|
1004
|
-
Object.prototype.hasOwnProperty.call(O, p) || (O[p] =
|
|
1003
|
+
for (var p in nr)
|
|
1004
|
+
Object.prototype.hasOwnProperty.call(O, p) || (O[p] = nr[p]);
|
|
1005
1005
|
for (Xt = O.sourceFile, Ve = 1, d = ke = 0, tt = !0, c(), p = O.dc, Zt = $e = d, O.C && (en = new i()), nt = ce = !1, X = [], y(), a = p || K(), l = !0, p || (a.body = []); x !== tn; )
|
|
1006
1006
|
p = he(), a.body.push(p), l && We(p) && D(!0), l = !1;
|
|
1007
1007
|
return R(a, "Program");
|
|
1008
1008
|
};
|
|
1009
|
-
var
|
|
1009
|
+
var nr = {
|
|
1010
1010
|
fc: !1,
|
|
1011
1011
|
sb: !0,
|
|
1012
1012
|
yb: !1,
|
|
@@ -1017,9 +1017,9 @@ var V, $i = function(e) {
|
|
|
1017
1017
|
dc: null,
|
|
1018
1018
|
sourceFile: null,
|
|
1019
1019
|
vb: null
|
|
1020
|
-
}, d = 0, Y = 0, Fe = 0, Yt, Qt, x, fe, tt, Ve, ke, Zt = 0, $e = 0, en, nt, X, ce,
|
|
1020
|
+
}, d = 0, Y = 0, Fe = 0, Yt, Qt, x, fe, tt, Ve, ke, Zt = 0, $e = 0, en, nt, X, ce, Vo = [], rt = {
|
|
1021
1021
|
type: "num"
|
|
1022
|
-
},
|
|
1022
|
+
}, rr = {
|
|
1023
1023
|
type: "regexp"
|
|
1024
1024
|
}, It = {
|
|
1025
1025
|
type: "string"
|
|
@@ -1032,95 +1032,95 @@ var V, $i = function(e) {
|
|
|
1032
1032
|
}, rn = {
|
|
1033
1033
|
l: "case",
|
|
1034
1034
|
m: !0
|
|
1035
|
-
},
|
|
1035
|
+
}, or = {
|
|
1036
1036
|
l: "catch"
|
|
1037
|
-
},
|
|
1037
|
+
}, ir = {
|
|
1038
1038
|
l: "continue"
|
|
1039
|
-
},
|
|
1039
|
+
}, sr = {
|
|
1040
1040
|
l: "debugger"
|
|
1041
|
-
},
|
|
1041
|
+
}, ar = {
|
|
1042
1042
|
l: "default"
|
|
1043
|
-
},
|
|
1043
|
+
}, lr = {
|
|
1044
1044
|
l: "do",
|
|
1045
1045
|
W: !0
|
|
1046
|
-
},
|
|
1046
|
+
}, ur = {
|
|
1047
1047
|
l: "else",
|
|
1048
1048
|
m: !0
|
|
1049
|
-
},
|
|
1049
|
+
}, cr = {
|
|
1050
1050
|
l: "finally"
|
|
1051
|
-
},
|
|
1051
|
+
}, pr = {
|
|
1052
1052
|
l: "for",
|
|
1053
1053
|
W: !0
|
|
1054
1054
|
}, on = {
|
|
1055
1055
|
l: "function"
|
|
1056
|
-
},
|
|
1056
|
+
}, dr = {
|
|
1057
1057
|
l: "if"
|
|
1058
|
-
},
|
|
1058
|
+
}, fr = {
|
|
1059
1059
|
l: "return",
|
|
1060
1060
|
m: !0
|
|
1061
1061
|
}, sn = {
|
|
1062
1062
|
l: "switch"
|
|
1063
|
-
},
|
|
1063
|
+
}, hr = {
|
|
1064
1064
|
l: "throw",
|
|
1065
1065
|
m: !0
|
|
1066
|
-
},
|
|
1066
|
+
}, mr = {
|
|
1067
1067
|
l: "try"
|
|
1068
1068
|
}, an = {
|
|
1069
1069
|
l: "var"
|
|
1070
1070
|
}, ln = {
|
|
1071
1071
|
l: "while",
|
|
1072
1072
|
W: !0
|
|
1073
|
-
},
|
|
1073
|
+
}, gr = {
|
|
1074
1074
|
l: "with"
|
|
1075
|
-
},
|
|
1075
|
+
}, yr = {
|
|
1076
1076
|
l: "new",
|
|
1077
1077
|
m: !0
|
|
1078
|
-
},
|
|
1078
|
+
}, vr = {
|
|
1079
1079
|
l: "this"
|
|
1080
|
-
},
|
|
1080
|
+
}, br = {
|
|
1081
1081
|
l: "null",
|
|
1082
1082
|
$a: null
|
|
1083
|
-
},
|
|
1083
|
+
}, Sr = {
|
|
1084
1084
|
l: "true",
|
|
1085
1085
|
$a: !0
|
|
1086
|
-
},
|
|
1086
|
+
}, kr = {
|
|
1087
1087
|
l: "false",
|
|
1088
1088
|
$a: !1
|
|
1089
1089
|
}, Rt = {
|
|
1090
1090
|
l: "in",
|
|
1091
1091
|
L: 7,
|
|
1092
1092
|
m: !0
|
|
1093
|
-
},
|
|
1093
|
+
}, Do = {
|
|
1094
1094
|
break: nn,
|
|
1095
1095
|
case: rn,
|
|
1096
|
-
catch:
|
|
1097
|
-
continue:
|
|
1098
|
-
debugger:
|
|
1099
|
-
default:
|
|
1100
|
-
do:
|
|
1101
|
-
else:
|
|
1102
|
-
finally:
|
|
1103
|
-
for:
|
|
1096
|
+
catch: or,
|
|
1097
|
+
continue: ir,
|
|
1098
|
+
debugger: sr,
|
|
1099
|
+
default: ar,
|
|
1100
|
+
do: lr,
|
|
1101
|
+
else: ur,
|
|
1102
|
+
finally: cr,
|
|
1103
|
+
for: pr,
|
|
1104
1104
|
function: on,
|
|
1105
|
-
if:
|
|
1106
|
-
return:
|
|
1105
|
+
if: dr,
|
|
1106
|
+
return: fr,
|
|
1107
1107
|
switch: sn,
|
|
1108
|
-
throw:
|
|
1109
|
-
try:
|
|
1108
|
+
throw: hr,
|
|
1109
|
+
try: mr,
|
|
1110
1110
|
var: an,
|
|
1111
1111
|
while: ln,
|
|
1112
|
-
with:
|
|
1113
|
-
null:
|
|
1114
|
-
true:
|
|
1115
|
-
false:
|
|
1116
|
-
new:
|
|
1112
|
+
with: gr,
|
|
1113
|
+
null: br,
|
|
1114
|
+
true: Sr,
|
|
1115
|
+
false: kr,
|
|
1116
|
+
new: yr,
|
|
1117
1117
|
in: Rt,
|
|
1118
1118
|
instanceof: {
|
|
1119
1119
|
l: "instanceof",
|
|
1120
1120
|
L: 7,
|
|
1121
1121
|
m: !0
|
|
1122
1122
|
},
|
|
1123
|
-
this:
|
|
1123
|
+
this: vr,
|
|
1124
1124
|
typeof: {
|
|
1125
1125
|
l: "typeof",
|
|
1126
1126
|
prefix: !0,
|
|
@@ -1160,65 +1160,65 @@ var V, $i = function(e) {
|
|
|
1160
1160
|
}, it = {
|
|
1161
1161
|
type: ":",
|
|
1162
1162
|
m: !0
|
|
1163
|
-
},
|
|
1163
|
+
}, Cr = {
|
|
1164
1164
|
type: "."
|
|
1165
|
-
},
|
|
1165
|
+
}, wr = {
|
|
1166
1166
|
type: "?",
|
|
1167
1167
|
m: !0
|
|
1168
|
-
},
|
|
1168
|
+
}, Tr = {
|
|
1169
1169
|
L: 10,
|
|
1170
1170
|
m: !0
|
|
1171
|
-
},
|
|
1171
|
+
}, Er = {
|
|
1172
1172
|
Cb: !0,
|
|
1173
1173
|
m: !0
|
|
1174
1174
|
}, De = {
|
|
1175
1175
|
Cb: !0,
|
|
1176
1176
|
m: !0
|
|
1177
|
-
},
|
|
1177
|
+
}, Uo = {
|
|
1178
1178
|
cc: !0,
|
|
1179
1179
|
prefix: !0,
|
|
1180
1180
|
$b: !0
|
|
1181
|
-
},
|
|
1181
|
+
}, Ir = {
|
|
1182
1182
|
prefix: !0,
|
|
1183
1183
|
m: !0
|
|
1184
|
-
},
|
|
1184
|
+
}, Rr = {
|
|
1185
1185
|
L: 1,
|
|
1186
1186
|
m: !0
|
|
1187
|
-
},
|
|
1187
|
+
}, Ar = {
|
|
1188
1188
|
L: 2,
|
|
1189
1189
|
m: !0
|
|
1190
|
-
},
|
|
1190
|
+
}, Wo = {
|
|
1191
1191
|
L: 3,
|
|
1192
1192
|
m: !0
|
|
1193
|
-
},
|
|
1193
|
+
}, Lo = {
|
|
1194
1194
|
L: 4,
|
|
1195
1195
|
m: !0
|
|
1196
|
-
},
|
|
1196
|
+
}, Fo = {
|
|
1197
1197
|
L: 5,
|
|
1198
1198
|
m: !0
|
|
1199
|
-
},
|
|
1199
|
+
}, Mo = {
|
|
1200
1200
|
L: 6,
|
|
1201
1201
|
m: !0
|
|
1202
|
-
},
|
|
1202
|
+
}, Ho = {
|
|
1203
1203
|
L: 7,
|
|
1204
1204
|
m: !0
|
|
1205
|
-
},
|
|
1205
|
+
}, Ko = {
|
|
1206
1206
|
L: 8,
|
|
1207
1207
|
m: !0
|
|
1208
|
-
},
|
|
1208
|
+
}, zo = {
|
|
1209
1209
|
L: 9,
|
|
1210
1210
|
prefix: !0,
|
|
1211
1211
|
m: !0
|
|
1212
|
-
},
|
|
1212
|
+
}, qo = {
|
|
1213
1213
|
L: 10,
|
|
1214
1214
|
m: !0
|
|
1215
|
-
},
|
|
1215
|
+
}, Go = o("class enum extends super const export import"), $r = o("implements interface let package private protected public static yield"), At = o("eval arguments"), _o = o("break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this"), Jo = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, xr = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"), Xo = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"), $t = /[\n\r\u2028\u2029]/, xt = /\r\n|[\n\r\u2028\u2029]/g, Ke, pn = {
|
|
1216
1216
|
kind: "loop"
|
|
1217
|
-
},
|
|
1217
|
+
}, Yo = {
|
|
1218
1218
|
kind: "switch"
|
|
1219
1219
|
};
|
|
1220
1220
|
}, bn = bn = typeof globalThis > "u" ? void 0 : globalThis;
|
|
1221
|
-
|
|
1221
|
+
Pi(bn.j || (bn.j = {}));
|
|
1222
1222
|
function g(e, t) {
|
|
1223
1223
|
typeof e == "string" && (e = _e(e, "code"));
|
|
1224
1224
|
var n = e.constructor;
|
|
@@ -1237,10 +1237,10 @@ function g(e, t) {
|
|
|
1237
1237
|
this.N = kn(this, this.ra, null), this.Na = this.N.object, this.ra = _e(this.ba.join(`
|
|
1238
1238
|
`), "polyfills"), this.ba = void 0, Ft(this.ra), i = new T(this.ra, this.N), i.done = !1, this.o = [i], this.Eb(), this.value = void 0, this.ra = r, i = new T(this.ra, this.N), i.done = !1, this.o.length = 0, this.o[0] = i;
|
|
1239
1239
|
}
|
|
1240
|
-
var
|
|
1240
|
+
var Pr = {
|
|
1241
1241
|
C: !0,
|
|
1242
1242
|
kc: 5
|
|
1243
|
-
},
|
|
1243
|
+
}, Bn = {
|
|
1244
1244
|
configurable: !0,
|
|
1245
1245
|
enumerable: !0,
|
|
1246
1246
|
writable: !1
|
|
@@ -1256,11 +1256,11 @@ var Ar = {
|
|
|
1256
1256
|
configurable: !1,
|
|
1257
1257
|
enumerable: !1,
|
|
1258
1258
|
writable: !1
|
|
1259
|
-
},
|
|
1259
|
+
}, Or = {
|
|
1260
1260
|
configurable: !1,
|
|
1261
1261
|
enumerable: !0,
|
|
1262
1262
|
writable: !0
|
|
1263
|
-
},
|
|
1263
|
+
}, uo = {
|
|
1264
1264
|
STEP_ERROR: !0
|
|
1265
1265
|
}, Ye = {
|
|
1266
1266
|
SCOPE_REFERENCE: !0
|
|
@@ -1268,8 +1268,8 @@ var Ar = {
|
|
|
1268
1268
|
VALUE_IN_DESCRIPTOR: !0
|
|
1269
1269
|
}, qe = {
|
|
1270
1270
|
REGEXP_TIMEOUT: !0
|
|
1271
|
-
},
|
|
1272
|
-
function
|
|
1271
|
+
}, Nr = [], Ee = null, ft = null, Be = typeof globalThis > "u" ? void 0 : globalThis, Oi = ["onmessage = function(e) {", "var result;", "var data = e.data;", "switch (data[0]) {", "case 'split':", "result = data[1].split(data[2], data[3]);", "break;", "case 'match':", "result = data[1].match(data[2]);", "break;", "case 'search':", "result = data[1].search(data[2]);", "break;", "case 'replace':", "result = data[1].replace(data[2], data[3]);", "break;", "case 'exec':", "var regexp = data[1];", "regexp.lastIndex = data[2];", "result = [regexp.exec(data[3]), data[1].lastIndex];", "break;", "default:", "throw Error('Unknown RegExp operation: ' + data[0]);", "}", "postMessage(result);", "close();", "};"];
|
|
1272
|
+
function jn(e) {
|
|
1273
1273
|
var t = e >>> 0;
|
|
1274
1274
|
return t === Number(e) ? t : NaN;
|
|
1275
1275
|
}
|
|
@@ -1295,8 +1295,8 @@ V.Kb = 0;
|
|
|
1295
1295
|
V.ic = 0;
|
|
1296
1296
|
function _e(e, t) {
|
|
1297
1297
|
var n = {}, r;
|
|
1298
|
-
for (r in
|
|
1299
|
-
n[r] =
|
|
1298
|
+
for (r in Pr)
|
|
1299
|
+
n[r] = Pr[r];
|
|
1300
1300
|
return n.sourceFile = t, Be.j.parse(e, n);
|
|
1301
1301
|
}
|
|
1302
1302
|
V.Jb = function(e) {
|
|
@@ -1319,7 +1319,7 @@ V.lb = function() {
|
|
|
1319
1319
|
if (n = this.ca[0], !n || n.time > Date.now())
|
|
1320
1320
|
n = null;
|
|
1321
1321
|
else {
|
|
1322
|
-
this.ca.shift(), 0 <= n.interval &&
|
|
1322
|
+
this.ca.shift(), 0 <= n.interval && fo(this, n, n.interval);
|
|
1323
1323
|
var r = new T(n.node, n.scope);
|
|
1324
1324
|
n.zb && (r.ia = 2, r.B = this.Na, r.U = n.zb, r.Qa = !0, r.F = n.Lb), n = r;
|
|
1325
1325
|
}
|
|
@@ -1332,7 +1332,7 @@ V.lb = function() {
|
|
|
1332
1332
|
try {
|
|
1333
1333
|
var i = this.rb[r.type](e, n, r);
|
|
1334
1334
|
} catch (s) {
|
|
1335
|
-
if (s !==
|
|
1335
|
+
if (s !== uo)
|
|
1336
1336
|
throw this.value !== s && (this.value = void 0), s;
|
|
1337
1337
|
} finally {
|
|
1338
1338
|
ft = o;
|
|
@@ -1350,8 +1350,8 @@ V.Eb = function() {
|
|
|
1350
1350
|
;
|
|
1351
1351
|
return this.za;
|
|
1352
1352
|
};
|
|
1353
|
-
function
|
|
1354
|
-
e.g(t, "NaN", NaN, at), e.g(t, "Infinity", 1 / 0, at), e.g(t, "undefined", void 0, at), e.g(t, "window", t,
|
|
1353
|
+
function Ni(e, t) {
|
|
1354
|
+
e.g(t, "NaN", NaN, at), e.g(t, "Infinity", 1 / 0, at), e.g(t, "undefined", void 0, at), e.g(t, "window", t, Bn), e.g(t, "this", t, at), e.g(t, "self", t), e.M = new N(null), e.Z = new N(e.M), Bi(e, t), ji(e, t), t.xa = e.M, e.g(t, "constructor", e.v, C), Vi(e, t), Di(e, t), Ui(e, t), Wi(e, t), Li(e, t), Fi(e, t), Mi(e, t), Hi(e, t), Ki(e, t);
|
|
1355
1355
|
var n = e.i(function() {
|
|
1356
1356
|
throw EvalError("Can't happen");
|
|
1357
1357
|
}, !1);
|
|
@@ -1367,17 +1367,17 @@ function Pi(e, t) {
|
|
|
1367
1367
|
};
|
|
1368
1368
|
}(r[o][0]), e.g(t, r[o][1], e.i(n, !1), C);
|
|
1369
1369
|
n = function(i) {
|
|
1370
|
-
return
|
|
1370
|
+
return Br(e, !1, arguments);
|
|
1371
1371
|
}, e.g(t, "setTimeout", e.i(n, !1), C), n = function(i) {
|
|
1372
|
-
return
|
|
1372
|
+
return Br(e, !0, arguments);
|
|
1373
1373
|
}, e.g(t, "setInterval", e.i(n, !1), C), n = function(i) {
|
|
1374
|
-
|
|
1374
|
+
jr(e, i);
|
|
1375
1375
|
}, e.g(t, "clearTimeout", e.i(n, !1), C), n = function(i) {
|
|
1376
|
-
|
|
1376
|
+
jr(e, i);
|
|
1377
1377
|
}, e.g(t, "clearInterval", e.i(n, !1), C), e.OBJECT = e.v, e.OBJECT_PROTO = e.M, e.FUNCTION = e.O, e.FUNCTION_PROTO = e.Z, e.ARRAY = e.qa, e.ARRAY_PROTO = e.La, e.REGEXP = e.I, e.REGEXP_PROTO = e.Ma, e.DATE = e.$, e.DATE_PROTO = e.nb, e.qb && e.qb(e, t);
|
|
1378
1378
|
}
|
|
1379
1379
|
V.Wb = 0;
|
|
1380
|
-
function
|
|
1380
|
+
function Bi(e, t) {
|
|
1381
1381
|
var n = /^[A-Za-z_$][\w$]*$/, r = function(o) {
|
|
1382
1382
|
var i = arguments.length ? String(arguments[arguments.length - 1]) : "", s = Array.prototype.slice.call(arguments, 0, -1).join(",").trim();
|
|
1383
1383
|
if (s) {
|
|
@@ -1393,12 +1393,12 @@ function Oi(e, t) {
|
|
|
1393
1393
|
} catch (y) {
|
|
1394
1394
|
I(e, e.T, "Invalid code: " + y.message);
|
|
1395
1395
|
}
|
|
1396
|
-
return m.body.length !== 1 && I(e, e.T, "Invalid code in function body"),
|
|
1396
|
+
return m.body.length !== 1 && I(e, e.T, "Invalid code in function body"), Un(e, m.body[0].la, e.N, "anonymous");
|
|
1397
1397
|
};
|
|
1398
1398
|
e.O = e.i(r, !0), e.g(t, "Function", e.O, C), e.g(e.O, "prototype", e.Z, C), e.g(e.Z, "constructor", e.O, C), e.Z.Ta = function() {
|
|
1399
1399
|
}, e.Z.Ta.id = e.Ya++, e.Z.Ab = !0, e.g(e.Z, "length", 0, le), e.Z.H = "Function", r = function(o, i) {
|
|
1400
1400
|
var s = e.o[e.o.length - 1];
|
|
1401
|
-
s.U = this, s.B = o, s.F = [], i != null && (i instanceof N ? s.F =
|
|
1401
|
+
s.U = this, s.B = o, s.F = [], i != null && (i instanceof N ? s.F = co(e, i) : I(e, e.j, "CreateListFromArrayLike called on non-object")), s.eb = !1;
|
|
1402
1402
|
}, Z(e, e.O, "apply", r), r = function(o) {
|
|
1403
1403
|
var i = e.o[e.o.length - 1];
|
|
1404
1404
|
i.U = this, i.B = o, i.F = [];
|
|
@@ -1411,7 +1411,7 @@ function Oi(e, t) {
|
|
|
1411
1411
|
return this.valueOf();
|
|
1412
1412
|
}, Z(e, e.O, "valueOf", r), e.g(e.O, "valueOf", e.i(r, !1), C);
|
|
1413
1413
|
}
|
|
1414
|
-
function
|
|
1414
|
+
function ji(e, t) {
|
|
1415
1415
|
function n(o) {
|
|
1416
1416
|
o != null || I(e, e.j, "Cannot convert '" + o + "' to object");
|
|
1417
1417
|
}
|
|
@@ -1456,11 +1456,11 @@ function Ni(e, t) {
|
|
|
1456
1456
|
}
|
|
1457
1457
|
}, Z(e, e.v, "isPrototypeOf", r);
|
|
1458
1458
|
}
|
|
1459
|
-
function
|
|
1459
|
+
function Vi(e, t) {
|
|
1460
1460
|
var n = function(r) {
|
|
1461
1461
|
var o = Re(e) ? this : Je(e), i = arguments[0];
|
|
1462
1462
|
if (arguments.length === 1 && typeof i == "number")
|
|
1463
|
-
isNaN(
|
|
1463
|
+
isNaN(jn(i)) && I(e, e.ob, "Invalid array length: " + i), o.h.length = i;
|
|
1464
1464
|
else {
|
|
1465
1465
|
for (i = 0; i < arguments.length; i++)
|
|
1466
1466
|
o.h[i] = arguments[i];
|
|
@@ -1476,7 +1476,7 @@ function Bi(e, t) {
|
|
|
1476
1476
|
writable: !0
|
|
1477
1477
|
}), e.La.H = "Array", e.ba.push("(function() {", "function createArrayMethod_(f) {", "Object.defineProperty(Array.prototype, f.name,", "{configurable: true, writable: true, value: f});", "}", "createArrayMethod_(", "function pop() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 0) {", "o.length = 0;", "return undefined;", "}", "len--;", "var x = o[len];", "delete o[len];", "o.length = len;", "return x;", "}", ");", "createArrayMethod_(", "function push(var_args) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "for (var i = 0; i < arguments.length; i++) {", "o[len] = arguments[i];", "len++;", "}", "o.length = len;", "return len;", "}", ");", "createArrayMethod_(", "function shift() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 0) {", "o.length = 0;", "return undefined;", "}", "var value = o[0];", "for (var i = 0; i < len - 1; i++) {", "if ((i + 1) in o) {", "o[i] = o[i + 1];", "} else {", "delete o[i];", "}", "}", "delete o[i];", "o.length = len - 1;", "return value;", "}", ");", "createArrayMethod_(", "function unshift(var_args) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 0) {", "len = 0;", "}", "for (var i = len - 1; i >= 0; i--) {", "if (i in o) {", "o[i + arguments.length] = o[i];", "} else {", "delete o[i + arguments.length];", "}", "}", "for (var i = 0; i < arguments.length; i++) {", "o[i] = arguments[i];", "}", "return (o.length = len + arguments.length);", "}", ");", "createArrayMethod_(", "function reverse() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 2) {", "return o;", "}", "for (var i = 0; i < len / 2 - 0.5; i++) {", "var x = o[i];", "var hasX = i in o;", "if ((len - i - 1) in o) {", "o[i] = o[len - i - 1];", "} else {", "delete o[i];", "}", "if (hasX) {", "o[len - i - 1] = x;", "} else {", "delete o[len - i - 1];", "}", "}", "return o;", "}", ");", "createArrayMethod_(", "function indexOf(searchElement, fromIndex) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var n = fromIndex | 0;", "if (!len || n >= len) {", "return -1;", "}", "var i = Math.max(n >= 0 ? n : len - Math.abs(n), 0);", "while (i < len) {", "if (i in o && o[i] === searchElement) {", "return i;", "}", "i++;", "}", "return -1;", "}", ");", "createArrayMethod_(", "function lastIndexOf(searchElement, fromIndex) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len) {", "return -1;", "}", "var n = len - 1;", "if (arguments.length > 1) {", "n = fromIndex | 0;", "if (n) {", "n = (n > 0 || -1) * Math.floor(Math.abs(n));", "}", "}", "var i = n >= 0 ? Math.min(n, len - 1) : len - Math.abs(n);", "while (i >= 0) {", "if (i in o && o[i] === searchElement) {", "return i;", "}", "i--;", "}", "return -1;", "}", ");", "createArrayMethod_(", "function slice(start, end) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "start |= 0;", "start = (start >= 0) ? start : Math.max(0, len + start);", "if (typeof end !== 'undefined') {", "if (end !== Infinity) {", "end |= 0;", "}", "if (end < 0) {", "end = len + end;", "} else {", "end = Math.min(end, len);", "}", "} else {", "end = len;", "}", "var size = end - start;", "var cloned = new Array(size);", "for (var i = 0; i < size; i++) {", "if ((start + i) in o) {", "cloned[i] = o[start + i];", "}", "}", "return cloned;", "}", ");", "createArrayMethod_(", "function splice(start, deleteCount, var_args) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "start |= 0;", "if (start < 0) {", "start = Math.max(len + start, 0);", "} else {", "start = Math.min(start, len);", "}", "if (arguments.length < 1) {", "deleteCount = len - start;", "} else {", "deleteCount |= 0;", "deleteCount = Math.max(0, Math.min(deleteCount, len - start));", "}", "var removed = [];", "for (var i = start; i < start + deleteCount; i++) {", "if (i in o) {", "removed.push(o[i]);", "} else {", "removed.length++;", "}", "if ((i + deleteCount) in o) {", "o[i] = o[i + deleteCount];", "} else {", "delete o[i];", "}", "}", "for (var i = start + deleteCount; i < len - deleteCount; i++) {", "if ((i + deleteCount) in o) {", "o[i] = o[i + deleteCount];", "} else {", "delete o[i];", "}", "}", "for (var i = len - deleteCount; i < len; i++) {", "delete o[i];", "}", "len -= deleteCount;", "var arl = arguments.length - 2;", "for (var i = len - 1; i >= start; i--) {", "if (i in o) {", "o[i + arl] = o[i];", "} else {", "delete o[i + arl];", "}", "}", "len += arl;", "for (var i = 2; i < arguments.length; i++) {", "o[start + i - 2] = arguments[i];", "}", "o.length = len;", "return removed;", "}", ");", "createArrayMethod_(", "function concat(var_args) {", "if (!this) throw TypeError();", "var o = Object(this);", "var cloned = [];", "for (var i = -1; i < arguments.length; i++) {", "var value = (i === -1) ? o : arguments[i];", "if (Array.isArray(value)) {", "for (var j = 0, l = value.length; j < l; j++) {", "if (j in value) {", "cloned.push(value[j]);", "} else {", "cloned.length++;", "}", "}", "} else {", "cloned.push(value);", "}", "}", "return cloned;", "}", ");", "createArrayMethod_(", "function join(opt_separator) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var sep = typeof opt_separator === 'undefined' ?", "',' : ('' + opt_separator);", "var str = '';", "for (var i = 0; i < len; i++) {", "if (i && sep) str += sep;", "str += (o[i] === null || o[i] === undefined) ? '' : o[i];", "}", "return str;", "}", ");", "createArrayMethod_(", "function every(callbackfn, thisArg) {", "if (!this || typeof callbackfn !== 'function') throw TypeError();", "var t, k = 0;", "var o = Object(this), len = o.length >>> 0;", "if (arguments.length > 1) t = thisArg;", "while (k < len) {", "if (k in o && !callbackfn.call(t, o[k], k, o)) return false;", "k++;", "}", "return true;", "}", ");", "createArrayMethod_(", "function filter(fun, var_args) {", "if (this === void 0 || this === null || typeof fun !== 'function') throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var res = [];", "var thisArg = arguments.length >= 2 ? arguments[1] : void 0;", "for (var i = 0; i < len; i++) {", "if (i in o) {", "var val = o[i];", "if (fun.call(thisArg, val, i, o)) res.push(val);", "}", "}", "return res;", "}", ");", "createArrayMethod_(", "function forEach(callback, thisArg) {", "if (!this || typeof callback !== 'function') throw TypeError();", "var t, k = 0;", "var o = Object(this), len = o.length >>> 0;", "if (arguments.length > 1) t = thisArg;", "while (k < len) {", "if (k in o) callback.call(t, o[k], k, o);", "k++;", "}", "}", ");", "createArrayMethod_(", "function map(callback, thisArg) {", "if (!this || typeof callback !== 'function') throw TypeError();", "var t, k = 0;", "var o = Object(this), len = o.length >>> 0;", "if (arguments.length > 1) t = thisArg;", "var a = new Array(len);", "while (k < len) {", "if (k in o) a[k] = callback.call(t, o[k], k, o);", "k++;", "}", "return a;", "}", ");", "createArrayMethod_(", "function reduce(callback /*, initialValue*/) {", "if (!this || typeof callback !== 'function') throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var k = 0, value;", "if (arguments.length === 2) {", "value = arguments[1];", "} else {", "while (k < len && !(k in o)) k++;", "if (k >= len) {", "throw TypeError('Reduce of empty array with no initial value');", "}", "value = o[k++];", "}", "for (; k < len; k++) {", "if (k in o) value = callback(value, o[k], k, o);", "}", "return value;", "}", ");", "createArrayMethod_(", "function reduceRight(callback /*, initialValue*/) {", "if (null === this || 'undefined' === typeof this || 'function' !== typeof callback) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var k = len - 1, value;", "if (arguments.length >= 2) {", "value = arguments[1];", "} else {", "while (k >= 0 && !(k in o)) k--;", "if (k < 0) {", "throw TypeError('Reduce of empty array with no initial value');", "}", "value = o[k--];", "}", "for (; k >= 0; k--) {", "if (k in o) value = callback(value, o[k], k, o);", "}", "return value;", "}", ");", "createArrayMethod_(", "function some(fun/*, thisArg*/) {", "if (!this || typeof fun !== 'function') throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var thisArg = arguments.length >= 2 ? arguments[1] : void 0;", "for (var i = 0; i < len; i++) {", "if (i in o && fun.call(thisArg, o[i], i, o)) return true;", "}", "return false;", "}", ");", "createArrayMethod_(", "function sort(opt_comp) {", "if (!this) throw TypeError();", "if (typeof opt_comp !== 'function') {", "opt_comp = undefined;", "}", "for (var i = 0; i < this.length; i++) {", "var changes = 0;", "for (var j = 0; j < this.length - i - 1; j++) {", "if (opt_comp ? (opt_comp(this[j], this[j + 1]) > 0) :", "(String(this[j]) > String(this[j + 1]))) {", "var swap = this[j];", "var hasSwap = j in this;", "if ((j + 1) in this) {", "this[j] = this[j + 1];", "} else {", "delete this[j];", "}", "if (hasSwap) {", "this[j + 1] = swap;", "} else {", "delete this[j + 1];", "}", "changes++;", "}", "}", "if (!changes) break;", "}", "return this;", "}", ");", "createArrayMethod_(", "function toLocaleString() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var out = [];", "for (var i = 0; i < len; i++) {", "out[i] = (o[i] === null || o[i] === undefined) ? '' : o[i].toLocaleString();", "}", "return out.join(',');", "}", ");", "})();", "");
|
|
1478
1478
|
}
|
|
1479
|
-
function
|
|
1479
|
+
function Di(e, t) {
|
|
1480
1480
|
var n = function(r) {
|
|
1481
1481
|
return r = arguments.length ? Be.String(r) : "", Re(e) ? (this.data = r, this) : r;
|
|
1482
1482
|
};
|
|
@@ -1559,12 +1559,12 @@ function ji(e, t) {
|
|
|
1559
1559
|
i(s.replace(r, o));
|
|
1560
1560
|
}, pt(e, e.J, "replace", n), e.ba.push("(function() {", "var replace_ = String.prototype.replace;", "String.prototype.replace = function replace(substr, newSubstr) {", "if (typeof newSubstr !== 'function') {", "return replace_.call(this, substr, newSubstr);", "}", "var str = this;", "if (substr instanceof RegExp) {", "var subs = [];", "var m = substr.exec(str);", "while (m) {", "m.push(m.index, str);", "var inject = newSubstr.apply(null, m);", "subs.push([m.index, m[0].length, inject]);", "m = substr.global ? substr.exec(str) : null;", "}", "for (var i = subs.length - 1; i >= 0; i--) {", "str = str.substring(0, subs[i][0]) + subs[i][2] + str.substring(subs[i][0] + subs[i][1]);", "}", "} else {", "var i = str.indexOf(substr);", "if (i !== -1) {", "var inject = newSubstr(str.substr(i, substr.length), i, str);", "str = str.substring(0, i) + inject + str.substring(i + substr.length);", "}", "}", "return str;", "};", "})();", "");
|
|
1561
1561
|
}
|
|
1562
|
-
function
|
|
1562
|
+
function Ui(e, t) {
|
|
1563
1563
|
e.mb = e.i(function(n) {
|
|
1564
1564
|
return n = Be.Boolean(n), Re(e) ? (this.data = n, this) : n;
|
|
1565
1565
|
}, !0), e.g(t, "Boolean", e.mb, C);
|
|
1566
1566
|
}
|
|
1567
|
-
function
|
|
1567
|
+
function Wi(e, t) {
|
|
1568
1568
|
var n = function(r) {
|
|
1569
1569
|
return r = arguments.length ? Be.Number(r) : 0, Re(e) ? (this.data = r, this) : r;
|
|
1570
1570
|
};
|
|
@@ -1603,7 +1603,7 @@ function Di(e, t) {
|
|
|
1603
1603
|
}
|
|
1604
1604
|
}, Z(e, e.aa, "toLocaleString", n);
|
|
1605
1605
|
}
|
|
1606
|
-
function
|
|
1606
|
+
function Li(e, t) {
|
|
1607
1607
|
var n = function(o, i) {
|
|
1608
1608
|
if (!Re(e))
|
|
1609
1609
|
return Be.Date();
|
|
@@ -1622,7 +1622,7 @@ function Ui(e, t) {
|
|
|
1622
1622
|
};
|
|
1623
1623
|
}(t[r]), Z(e, e.$, t[r], n);
|
|
1624
1624
|
}
|
|
1625
|
-
function
|
|
1625
|
+
function Fi(e, t) {
|
|
1626
1626
|
var n = function(r, o) {
|
|
1627
1627
|
if (Re(e))
|
|
1628
1628
|
var i = this;
|
|
@@ -1637,7 +1637,7 @@ function Wi(e, t) {
|
|
|
1637
1637
|
} catch (u) {
|
|
1638
1638
|
I(e, e.T, u.message);
|
|
1639
1639
|
}
|
|
1640
|
-
return
|
|
1640
|
+
return Vn(e, i, s), i;
|
|
1641
1641
|
};
|
|
1642
1642
|
e.I = e.i(n, !0), e.Ma = e.I.h.prototype, e.g(t, "RegExp", e.I, C), e.g(e.I.h.prototype, "global", void 0, le), e.g(e.I.h.prototype, "ignoreCase", void 0, le), e.g(e.I.h.prototype, "multiline", void 0, le), e.g(e.I.h.prototype, "source", "(?:)", le), e.ba.push("Object.defineProperty(RegExp.prototype, 'test',", "{configurable: true, writable: true, value:", "function test(str) {", "return !!this.exec(str);", "}", "});"), n = function(r, o) {
|
|
1643
1643
|
function i(y) {
|
|
@@ -1664,7 +1664,7 @@ function Wi(e, t) {
|
|
|
1664
1664
|
r = s.exec(r), e.g(this, "lastIndex", s.lastIndex), o(i(r));
|
|
1665
1665
|
}, pt(e, e.I, "exec", n);
|
|
1666
1666
|
}
|
|
1667
|
-
function
|
|
1667
|
+
function Mi(e, t) {
|
|
1668
1668
|
function n(r) {
|
|
1669
1669
|
var o = e.i(function(i) {
|
|
1670
1670
|
var s = Re(e) ? this : e.Aa(o);
|
|
@@ -1677,7 +1677,7 @@ function Li(e, t) {
|
|
|
1677
1677
|
return Sn(e, o, r), o;
|
|
1678
1678
|
}, !0), e.g(t, "Error", e.D, C), e.g(e.D.h.prototype, "message", "", C), e.g(e.D.h.prototype, "name", "Error", C), n("EvalError"), e.ob = n("RangeError"), e.pb = n("ReferenceError"), e.T = n("SyntaxError"), e.j = n("TypeError"), e.Gb = n("URIError");
|
|
1679
1679
|
}
|
|
1680
|
-
function
|
|
1680
|
+
function Hi(e, t) {
|
|
1681
1681
|
var n = e.s(e.M);
|
|
1682
1682
|
e.g(t, "Math", n, C);
|
|
1683
1683
|
var r = "E LN2 LN10 LOG2E LOG10E PI SQRT1_2 SQRT2".split(" ");
|
|
@@ -1686,7 +1686,7 @@ function Fi(e, t) {
|
|
|
1686
1686
|
for (r = "abs acos asin atan atan2 ceil cos exp floor log max min pow random round sin sqrt tan".split(" "), t = 0; t < r.length; t++)
|
|
1687
1687
|
e.g(n, r[t], e.i(Math[r[t]], !1), C);
|
|
1688
1688
|
}
|
|
1689
|
-
function
|
|
1689
|
+
function Ki(e, t) {
|
|
1690
1690
|
var n = e.s(e.M);
|
|
1691
1691
|
e.g(t, "JSON", n, C), t = function(r) {
|
|
1692
1692
|
try {
|
|
@@ -1696,7 +1696,7 @@ function Mi(e, t) {
|
|
|
1696
1696
|
}
|
|
1697
1697
|
return e.Ia(o);
|
|
1698
1698
|
}, e.g(n, "parse", e.i(t, !1)), t = function(r, o, i) {
|
|
1699
|
-
o && o.H === "Function" ? I(e, e.j, "Function replacer on JSON.stringify not supported") : o && o.H === "Array" ? (o =
|
|
1699
|
+
o && o.H === "Function" ? I(e, e.j, "Function replacer on JSON.stringify not supported") : o && o.H === "Array" ? (o = co(e, o), o = o.filter(function(u) {
|
|
1700
1700
|
return typeof u == "string" || typeof u == "number";
|
|
1701
1701
|
})) : o = null, typeof i != "string" && typeof i != "number" && (i = void 0), r = e.R(r);
|
|
1702
1702
|
try {
|
|
@@ -1719,7 +1719,7 @@ function ne(e, t, n) {
|
|
|
1719
1719
|
}
|
|
1720
1720
|
return !1;
|
|
1721
1721
|
}
|
|
1722
|
-
function
|
|
1722
|
+
function Vn(e, t, n) {
|
|
1723
1723
|
t.data = new RegExp(n.source, n.flags), e.g(t, "lastIndex", n.lastIndex, C), e.g(t, "source", n.source, le), e.g(t, "global", n.global, le), e.g(t, "ignoreCase", n.ignoreCase, le), e.g(t, "multiline", n.multiline, le);
|
|
1724
1724
|
}
|
|
1725
1725
|
function Sn(e, t, n) {
|
|
@@ -1741,7 +1741,7 @@ function Sn(e, t, n) {
|
|
|
1741
1741
|
}
|
|
1742
1742
|
V.ha = function() {
|
|
1743
1743
|
var e = this.ha.Mb;
|
|
1744
|
-
return e || (e = new Blob([
|
|
1744
|
+
return e || (e = new Blob([Oi.join(`
|
|
1745
1745
|
`)], {
|
|
1746
1746
|
type: "application/javascript"
|
|
1747
1747
|
}), this.ha.Mb = e), new Worker(URL.createObjectURL(e));
|
|
@@ -1801,19 +1801,19 @@ function Je(e) {
|
|
|
1801
1801
|
writable: !0
|
|
1802
1802
|
}), t.H = "Array", t;
|
|
1803
1803
|
}
|
|
1804
|
-
function
|
|
1804
|
+
function Dn(e, t, n) {
|
|
1805
1805
|
var r = e.s(e.Z);
|
|
1806
1806
|
return n ? (n = e.s(e.M), e.g(r, "prototype", n, C), e.g(n, "constructor", r, C)) : r.Ab = !0, e.g(r, "length", t, le), r.H = "Function", r;
|
|
1807
1807
|
}
|
|
1808
|
-
function
|
|
1809
|
-
var o =
|
|
1808
|
+
function Un(e, t, n, r) {
|
|
1809
|
+
var o = Dn(e, t.oa.length, !0);
|
|
1810
1810
|
return o.Va = n, o.node = t, e.g(o, "name", t.id ? String(t.id.name) : r || "", le), o;
|
|
1811
1811
|
}
|
|
1812
1812
|
V.i = function(e, t) {
|
|
1813
|
-
return t =
|
|
1813
|
+
return t = Dn(this, e.length, t), t.Ta = e, e.id = this.Ya++, this.g(t, "name", e.name, le), t;
|
|
1814
1814
|
};
|
|
1815
1815
|
V.ub = function(e) {
|
|
1816
|
-
var t =
|
|
1816
|
+
var t = Dn(this, e.length, !0);
|
|
1817
1817
|
return t.Za = e, e.id = this.Ya++, this.g(t, "name", e.name, le), t;
|
|
1818
1818
|
};
|
|
1819
1819
|
V.Ia = function(e) {
|
|
@@ -1823,7 +1823,7 @@ V.Ia = function(e) {
|
|
|
1823
1823
|
return e;
|
|
1824
1824
|
if (e instanceof RegExp) {
|
|
1825
1825
|
var t = this.s(this.Ma);
|
|
1826
|
-
return
|
|
1826
|
+
return Vn(this, t, e), t;
|
|
1827
1827
|
}
|
|
1828
1828
|
if (e instanceof Date)
|
|
1829
1829
|
return t = this.s(this.nb), t.data = new Date(e.valueOf()), t;
|
|
@@ -1882,11 +1882,11 @@ function Te(e, t) {
|
|
|
1882
1882
|
e.g(n, r[o], t[r[o]]);
|
|
1883
1883
|
return n;
|
|
1884
1884
|
}
|
|
1885
|
-
function
|
|
1885
|
+
function co(e, t) {
|
|
1886
1886
|
var n = [], r;
|
|
1887
1887
|
for (r in t.h)
|
|
1888
1888
|
n[r] = e.G(t, r);
|
|
1889
|
-
return n.length =
|
|
1889
|
+
return n.length = jn(e.G(t, "length")) || 0, n;
|
|
1890
1890
|
}
|
|
1891
1891
|
function Ie(e, t) {
|
|
1892
1892
|
switch (typeof t) {
|
|
@@ -1939,7 +1939,7 @@ V.g = function(e, t, n, r) {
|
|
|
1939
1939
|
if (t = String(t), e != null || I(this, this.j, "Cannot set property '" + t + "' of " + e), typeof e == "object" && !(e instanceof N))
|
|
1940
1940
|
throw TypeError("Expecting native value or pseudo object");
|
|
1941
1941
|
r && ("get" in r || "set" in r) && ("value" in r || "writable" in r) && I(this, this.j, "Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");
|
|
1942
|
-
var o = !this.o ||
|
|
1942
|
+
var o = !this.o || Wn(this).S;
|
|
1943
1943
|
if (e instanceof N) {
|
|
1944
1944
|
if (ne(this, e, this.J)) {
|
|
1945
1945
|
var i = ht(t);
|
|
@@ -1955,7 +1955,7 @@ V.g = function(e, t, n, r) {
|
|
|
1955
1955
|
return;
|
|
1956
1956
|
n = r.value;
|
|
1957
1957
|
}
|
|
1958
|
-
if (n =
|
|
1958
|
+
if (n = jn(n), isNaN(n) && I(this, this.ob, "Invalid array length"), n < i)
|
|
1959
1959
|
for (s in e.h) {
|
|
1960
1960
|
var s = ht(s);
|
|
1961
1961
|
!isNaN(s) && n <= s && delete e.h[s];
|
|
@@ -2007,7 +2007,7 @@ function Z(e, t, n, r) {
|
|
|
2007
2007
|
function pt(e, t, n, r) {
|
|
2008
2008
|
e.g(t.h.prototype, n, e.ub(r), C);
|
|
2009
2009
|
}
|
|
2010
|
-
function
|
|
2010
|
+
function Wn(e) {
|
|
2011
2011
|
if (e = e.o[e.o.length - 1].scope, !e)
|
|
2012
2012
|
throw Error("No scope found");
|
|
2013
2013
|
return e;
|
|
@@ -2020,15 +2020,15 @@ function kn(e, t, n) {
|
|
|
2020
2020
|
var o = t.body && t.body[0];
|
|
2021
2021
|
o && o.la && o.la.type === "Literal" && o.la.value === "use strict" && (r = !0);
|
|
2022
2022
|
}
|
|
2023
|
-
return o = e.s(null), r = new
|
|
2023
|
+
return o = e.s(null), r = new ho(n, r, o), n || Ni(e, r.object), vt(e, t, r), r;
|
|
2024
2024
|
}
|
|
2025
|
-
function
|
|
2025
|
+
function Ln(e, t, n) {
|
|
2026
2026
|
if (!t)
|
|
2027
2027
|
throw Error("parentScope required");
|
|
2028
|
-
return e = n || e.s(null), new
|
|
2028
|
+
return e = n || e.s(null), new ho(t, t.S, e);
|
|
2029
2029
|
}
|
|
2030
|
-
function
|
|
2031
|
-
for (var n =
|
|
2030
|
+
function Fn(e, t) {
|
|
2031
|
+
for (var n = Wn(e); n && n !== e.N; ) {
|
|
2032
2032
|
if (t in n.object.h)
|
|
2033
2033
|
return n.object.h[t];
|
|
2034
2034
|
n = n.Va;
|
|
@@ -2037,8 +2037,8 @@ function Un(e, t) {
|
|
|
2037
2037
|
return e.G(n.object, t);
|
|
2038
2038
|
n = e.o[e.o.length - 1].node, n.type === "UnaryExpression" && n.operator === "typeof" || I(e, e.pb, t + " is not defined");
|
|
2039
2039
|
}
|
|
2040
|
-
function
|
|
2041
|
-
for (var r =
|
|
2040
|
+
function po(e, t, n) {
|
|
2041
|
+
for (var r = Wn(e), o = r.S; r && r !== e.N; ) {
|
|
2042
2042
|
if (t in r.object.h) {
|
|
2043
2043
|
try {
|
|
2044
2044
|
r.object.h[t] = n;
|
|
@@ -2099,20 +2099,20 @@ function vt(e, t, n) {
|
|
|
2099
2099
|
t.jb = r;
|
|
2100
2100
|
}
|
|
2101
2101
|
for (s in r)
|
|
2102
|
-
r[s] === !0 ? e.g(n.object, s, void 0,
|
|
2102
|
+
r[s] === !0 ? e.g(n.object, s, void 0, Or) : e.g(n.object, s, Un(e, r[s], n), Or);
|
|
2103
2103
|
return r;
|
|
2104
2104
|
}
|
|
2105
2105
|
function Re(e) {
|
|
2106
2106
|
return e.o[e.o.length - 1].isConstructor;
|
|
2107
2107
|
}
|
|
2108
|
-
function
|
|
2109
|
-
return t[0] === Ye ?
|
|
2108
|
+
function Mn(e, t) {
|
|
2109
|
+
return t[0] === Ye ? Fn(e, t[1]) : e.G(t[0], t[1]);
|
|
2110
2110
|
}
|
|
2111
|
-
function
|
|
2112
|
-
return t[0] === Ye ?
|
|
2111
|
+
function Hn(e, t, n) {
|
|
2112
|
+
return t[0] === Ye ? po(e, t[1], n) : e.g(t[0], t[1], n);
|
|
2113
2113
|
}
|
|
2114
2114
|
function I(e, t, n) {
|
|
2115
|
-
throw e.N ? (n !== void 0 && t instanceof N && (t = e.Aa(t), Sn(e, t, n)), bt(e, 4, t),
|
|
2115
|
+
throw e.N ? (n !== void 0 && t instanceof N && (t = e.Aa(t), Sn(e, t, n)), bt(e, 4, t), uo) : n === void 0 ? t : n;
|
|
2116
2116
|
}
|
|
2117
2117
|
function bt(e, t, n, r) {
|
|
2118
2118
|
if (t === 0)
|
|
@@ -2190,7 +2190,7 @@ function ae(e, t) {
|
|
|
2190
2190
|
}
|
|
2191
2191
|
return "???";
|
|
2192
2192
|
}
|
|
2193
|
-
function
|
|
2193
|
+
function Br(e, t, n) {
|
|
2194
2194
|
var r = e.o[e.o.length - 1], o = Array.from(n), i = o.shift();
|
|
2195
2195
|
n = Math.max(Number(o.shift() || 0), 0);
|
|
2196
2196
|
var s = e.ya();
|
|
@@ -2205,14 +2205,14 @@ function Pr(e, t, n) {
|
|
|
2205
2205
|
}
|
|
2206
2206
|
s.type = "EvalProgram_", s.body = c.body, r = r.node.arguments[0], Ft(s, r ? r.start : void 0, r ? r.end : void 0), r = e.N, o.length = 0;
|
|
2207
2207
|
}
|
|
2208
|
-
return t = new
|
|
2208
|
+
return t = new zi(u, o, r, s, t ? n : -1), fo(e, t, n), t.Db;
|
|
2209
2209
|
}
|
|
2210
|
-
function
|
|
2210
|
+
function fo(e, t, n) {
|
|
2211
2211
|
t.time = Date.now() + n, e.ca.push(t), e.ca.sort(function(r, o) {
|
|
2212
2212
|
return r.time - o.time;
|
|
2213
2213
|
});
|
|
2214
2214
|
}
|
|
2215
|
-
function
|
|
2215
|
+
function jr(e, t) {
|
|
2216
2216
|
for (var n = 0; n < e.ca.length; n++)
|
|
2217
2217
|
if (e.ca[n].Db == t) {
|
|
2218
2218
|
e.ca.splice(n, 1);
|
|
@@ -2226,7 +2226,7 @@ function St(e, t, n) {
|
|
|
2226
2226
|
var r = e.ya();
|
|
2227
2227
|
return r.type = "CallExpression", e = new T(r, e.o[e.o.length - 1].scope), e.ia = 2, e.B = n, e.U = t, e.Qa = !0, e.F = [], e;
|
|
2228
2228
|
}
|
|
2229
|
-
function
|
|
2229
|
+
function Kn(e, t, n, r) {
|
|
2230
2230
|
if (!e.Ka)
|
|
2231
2231
|
throw Error("Unexpected call to createSetter");
|
|
2232
2232
|
e.Ka = !1, n = Array.isArray(n) ? n[0] : e.Na;
|
|
@@ -2248,7 +2248,7 @@ V.ec = function(e) {
|
|
|
2248
2248
|
function T(e, t) {
|
|
2249
2249
|
this.node = e, this.scope = t;
|
|
2250
2250
|
}
|
|
2251
|
-
function
|
|
2251
|
+
function ho(e, t, n) {
|
|
2252
2252
|
this.Va = e, this.S = t, this.object = n;
|
|
2253
2253
|
}
|
|
2254
2254
|
function N(e) {
|
|
@@ -2264,7 +2264,7 @@ V.toString = function() {
|
|
|
2264
2264
|
if (!(this instanceof N))
|
|
2265
2265
|
return String(this);
|
|
2266
2266
|
if (this.H === "Array") {
|
|
2267
|
-
var e =
|
|
2267
|
+
var e = Nr;
|
|
2268
2268
|
e.push(this);
|
|
2269
2269
|
try {
|
|
2270
2270
|
var t = [], n = this.h.length, r = !1;
|
|
@@ -2280,7 +2280,7 @@ V.toString = function() {
|
|
|
2280
2280
|
return t.join(",");
|
|
2281
2281
|
}
|
|
2282
2282
|
if (this.H === "Error") {
|
|
2283
|
-
if (e =
|
|
2283
|
+
if (e = Nr, e.indexOf(this) !== -1)
|
|
2284
2284
|
return "[object Error]";
|
|
2285
2285
|
n = this;
|
|
2286
2286
|
do
|
|
@@ -2309,10 +2309,10 @@ V.toString = function() {
|
|
|
2309
2309
|
V.valueOf = function() {
|
|
2310
2310
|
return !ft || this.data === void 0 || this.data === null || this.data instanceof RegExp ? this : this.data instanceof Date ? this.data.valueOf() : this.data;
|
|
2311
2311
|
};
|
|
2312
|
-
function
|
|
2313
|
-
this.zb = e, this.Lb = t, this.scope = n, this.node = r, this.interval = o, this.Db = ++
|
|
2312
|
+
function zi(e, t, n, r, o) {
|
|
2313
|
+
this.zb = e, this.Lb = t, this.scope = n, this.node = r, this.interval = o, this.Db = ++qi, this.time = 0;
|
|
2314
2314
|
}
|
|
2315
|
-
var
|
|
2315
|
+
var qi = 0;
|
|
2316
2316
|
g.prototype.stepArrayExpression = function(e, t, n) {
|
|
2317
2317
|
n = n.elements;
|
|
2318
2318
|
var r = t.A || 0;
|
|
@@ -2327,7 +2327,7 @@ g.prototype.stepAssignmentExpression = function(e, t, n) {
|
|
|
2327
2327
|
if (!t.ja)
|
|
2328
2328
|
return t.ja = !0, t = new T(n.left, t.scope), t.sa = !0, t;
|
|
2329
2329
|
if (!t.Da)
|
|
2330
|
-
return t.Fa || (t.Fa = t.value), t.Ba && (t.ma = t.value), !t.Ba && n.operator !== "=" && (e =
|
|
2330
|
+
return t.Fa || (t.Fa = t.value), t.Ba && (t.ma = t.value), !t.Ba && n.operator !== "=" && (e = Mn(this, t.Fa), t.ma = e, this.P) ? (t.Ba = !0, St(this, e, t.Fa)) : (t.Da = !0, n.operator === "=" && n.left.type === "Identifier" && (t.Pa = n.left.name), new T(n.right, t.scope));
|
|
2331
2331
|
if (t.ta)
|
|
2332
2332
|
e.pop(), e[e.length - 1].value = t.ib;
|
|
2333
2333
|
else {
|
|
@@ -2372,8 +2372,8 @@ g.prototype.stepAssignmentExpression = function(e, t, n) {
|
|
|
2372
2372
|
default:
|
|
2373
2373
|
throw SyntaxError("Unknown assignment expression: " + n.operator);
|
|
2374
2374
|
}
|
|
2375
|
-
if (n =
|
|
2376
|
-
return t.ta = !0, t.ib = r,
|
|
2375
|
+
if (n = Hn(this, t.Fa, r))
|
|
2376
|
+
return t.ta = !0, t.ib = r, Kn(this, n, t.Fa, r);
|
|
2377
2377
|
e.pop(), e[e.length - 1].value = r;
|
|
2378
2378
|
}
|
|
2379
2379
|
};
|
|
@@ -2473,7 +2473,7 @@ g.prototype.stepCallExpression = function(e, t, n) {
|
|
|
2473
2473
|
t.ia = 2;
|
|
2474
2474
|
var o = t.value;
|
|
2475
2475
|
if (Array.isArray(o)) {
|
|
2476
|
-
if (t.U =
|
|
2476
|
+
if (t.U = Mn(this, o), o[0] === Ye ? t.Pb = o[1] === "eval" : t.B = o[0], o = t.U, this.P)
|
|
2477
2477
|
return t.ia = 1, St(this, o, t.value);
|
|
2478
2478
|
} else
|
|
2479
2479
|
t.U = o;
|
|
@@ -2501,7 +2501,7 @@ g.prototype.stepCallExpression = function(e, t, n) {
|
|
|
2501
2501
|
this.g(r, o, t.F[o]);
|
|
2502
2502
|
for (this.g(n.object, "arguments", r), o = 0; o < e.oa.length; o++)
|
|
2503
2503
|
this.g(n.object, e.oa[o].name, t.F.length > o ? t.F[o] : void 0);
|
|
2504
|
-
return n.S || (t.B = fn(this, t.B)), this.g(n.object, "this", t.B,
|
|
2504
|
+
return n.S || (t.B = fn(this, t.B)), this.g(n.object, "this", t.B, Bn), t.value = void 0, new T(e.body, n);
|
|
2505
2505
|
}
|
|
2506
2506
|
if (o.eval)
|
|
2507
2507
|
if (o = t.F[0], typeof o != "string")
|
|
@@ -2601,8 +2601,8 @@ g.prototype.stepForInStatement = function(e, t, n) {
|
|
|
2601
2601
|
t.pa = [Ye, e.fa[0].id.name];
|
|
2602
2602
|
else
|
|
2603
2603
|
return t.pa = null, t = new T(e, t.scope), t.sa = !0, t;
|
|
2604
|
-
if (t.pa || (t.pa = t.value), !t.ta && (t.ta = !0, e = t.Ra, r =
|
|
2605
|
-
return
|
|
2604
|
+
if (t.pa || (t.pa = t.value), !t.ta && (t.ta = !0, e = t.Ra, r = Hn(this, t.pa, e)))
|
|
2605
|
+
return Kn(this, r, t.pa, e);
|
|
2606
2606
|
if (t.Ra = void 0, t.wb = !1, t.ta = !1, n.body)
|
|
2607
2607
|
return new T(n.body, t.scope);
|
|
2608
2608
|
};
|
|
@@ -2631,13 +2631,13 @@ g.prototype.stepFunctionDeclaration = function(e) {
|
|
|
2631
2631
|
e.pop();
|
|
2632
2632
|
};
|
|
2633
2633
|
g.prototype.stepFunctionExpression = function(e, t, n) {
|
|
2634
|
-
e.pop(), t = e[e.length - 1], e = t.scope, n.id && (e =
|
|
2634
|
+
e.pop(), t = e[e.length - 1], e = t.scope, n.id && (e = Ln(this, e)), t.value = Un(this, n, e, t.Pa), n.id && this.g(e.object, n.id.name, t.value, Bn);
|
|
2635
2635
|
};
|
|
2636
2636
|
g.prototype.stepIdentifier = function(e, t, n) {
|
|
2637
2637
|
if (e.pop(), t.sa)
|
|
2638
2638
|
e[e.length - 1].value = [Ye, n.name];
|
|
2639
2639
|
else {
|
|
2640
|
-
if (t =
|
|
2640
|
+
if (t = Fn(this, n.name), this.P)
|
|
2641
2641
|
return St(this, t, this.Na);
|
|
2642
2642
|
e[e.length - 1].value = t;
|
|
2643
2643
|
}
|
|
@@ -2647,7 +2647,7 @@ g.prototype.stepLabeledStatement = function(e, t, n) {
|
|
|
2647
2647
|
return e.pop(), e = t.labels || [], e.push(n.label.name), t = new T(n.body, t.scope), t.labels = e, t;
|
|
2648
2648
|
};
|
|
2649
2649
|
g.prototype.stepLiteral = function(e, t, n) {
|
|
2650
|
-
e.pop(), t = n.value, t instanceof RegExp && (n = this.s(this.Ma),
|
|
2650
|
+
e.pop(), t = n.value, t instanceof RegExp && (n = this.s(this.Ma), Vn(this, n, t), t = n), e[e.length - 1].value = t;
|
|
2651
2651
|
};
|
|
2652
2652
|
g.prototype.stepLogicalExpression = function(e, t, n) {
|
|
2653
2653
|
if (n.operator !== "&&" && n.operator !== "||")
|
|
@@ -2750,7 +2750,7 @@ g.prototype.stepSwitchStatement = function(e, t, n) {
|
|
|
2750
2750
|
}
|
|
2751
2751
|
};
|
|
2752
2752
|
g.prototype.stepThisExpression = function(e) {
|
|
2753
|
-
e.pop(), e[e.length - 1].value =
|
|
2753
|
+
e.pop(), e[e.length - 1].value = Fn(this, "this");
|
|
2754
2754
|
};
|
|
2755
2755
|
g.prototype.stepThrowStatement = function(e, t, n) {
|
|
2756
2756
|
if (t.ka)
|
|
@@ -2762,7 +2762,7 @@ g.prototype.stepTryStatement = function(e, t, n) {
|
|
|
2762
2762
|
if (!t.Rb)
|
|
2763
2763
|
return t.Rb = !0, new T(n.block, t.scope);
|
|
2764
2764
|
if (t.ea && t.ea.type === 4 && !t.Tb && n.Ea)
|
|
2765
|
-
return t.Tb = !0, e =
|
|
2765
|
+
return t.Tb = !0, e = Ln(this, t.scope), this.g(e.object, n.Ea.Ua.name, t.ea.value), t.ea = void 0, new T(n.Ea.body, e);
|
|
2766
2766
|
if (!t.Sb && n.fb)
|
|
2767
2767
|
return t.Sb = !0, new T(n.fb, t.scope);
|
|
2768
2768
|
e.pop(), t.ea && bt(this, t.ea.type, t.ea.value, t.ea.label);
|
|
@@ -2812,7 +2812,7 @@ g.prototype.stepUpdateExpression = function(e, t, n) {
|
|
|
2812
2812
|
if (!t.ja)
|
|
2813
2813
|
return t.ja = !0, e = new T(n.K, t.scope), e.sa = !0, e;
|
|
2814
2814
|
if (t.Ga || (t.Ga = t.value), t.Ba && (t.ma = t.value), !t.Ba) {
|
|
2815
|
-
var r =
|
|
2815
|
+
var r = Mn(this, t.Ga);
|
|
2816
2816
|
if (t.ma = r, this.P)
|
|
2817
2817
|
return t.Ba = !0, St(this, r, t.Ga);
|
|
2818
2818
|
}
|
|
@@ -2825,15 +2825,15 @@ g.prototype.stepUpdateExpression = function(e, t, n) {
|
|
|
2825
2825
|
o = r - 1;
|
|
2826
2826
|
else
|
|
2827
2827
|
throw SyntaxError("Unknown update expression: " + n.operator);
|
|
2828
|
-
if (n = n.prefix ? o : r, r =
|
|
2829
|
-
return t.ta = !0, t.ib = n,
|
|
2828
|
+
if (n = n.prefix ? o : r, r = Hn(this, t.Ga, o))
|
|
2829
|
+
return t.ta = !0, t.ib = n, Kn(this, r, t.Ga, o);
|
|
2830
2830
|
e.pop(), e[e.length - 1].value = n;
|
|
2831
2831
|
}
|
|
2832
2832
|
};
|
|
2833
2833
|
g.prototype.stepVariableDeclaration = function(e, t, n) {
|
|
2834
2834
|
n = n.fa;
|
|
2835
2835
|
var r = t.A || 0, o = n[r];
|
|
2836
|
-
for (t.Bb && o && (
|
|
2836
|
+
for (t.Bb && o && (po(this, o.id.name, t.value), t.Bb = !1, o = n[++r]); o; ) {
|
|
2837
2837
|
if (o.ua)
|
|
2838
2838
|
return t.A = r, t.Bb = !0, t.Pa = o.id.name, new T(o.ua, t.scope);
|
|
2839
2839
|
o = n[++r];
|
|
@@ -2841,7 +2841,7 @@ g.prototype.stepVariableDeclaration = function(e, t, n) {
|
|
|
2841
2841
|
e.pop();
|
|
2842
2842
|
};
|
|
2843
2843
|
g.prototype.stepWithStatement = function(e, t, n) {
|
|
2844
|
-
return t.Ca ? (e.pop(), e =
|
|
2844
|
+
return t.Ca ? (e.pop(), e = Ln(this, t.scope, t.value), new T(n.body, e)) : (t.Ca = !0, new T(n.object, t.scope));
|
|
2845
2845
|
};
|
|
2846
2846
|
g.prototype.stepWhileStatement = g.prototype.stepDoWhileStatement;
|
|
2847
2847
|
Be.Interpreter = g;
|
|
@@ -2860,7 +2860,7 @@ g.prototype.getGlobalScope = g.prototype.Xb;
|
|
|
2860
2860
|
g.prototype.getStateStack = g.prototype.Yb;
|
|
2861
2861
|
g.prototype.setStateStack = g.prototype.ec;
|
|
2862
2862
|
g.VALUE_IN_DESCRIPTOR = yt;
|
|
2863
|
-
function
|
|
2863
|
+
function Gi() {
|
|
2864
2864
|
const e = g.prototype.getProperty, t = g.prototype.setProperty;
|
|
2865
2865
|
function n(s, u) {
|
|
2866
2866
|
if (s == null || !s._connected)
|
|
@@ -2885,11 +2885,11 @@ function zi() {
|
|
|
2885
2885
|
return u._connected = s, u;
|
|
2886
2886
|
};
|
|
2887
2887
|
}
|
|
2888
|
-
|
|
2889
|
-
const
|
|
2888
|
+
Gi();
|
|
2889
|
+
const _i = (e) => e.replace(/^.*?function main\(\)/, `
|
|
2890
2890
|
var __awaiter = function (e, t, n, r) {return r()},
|
|
2891
2891
|
__generator = function (e, t) { return t() };
|
|
2892
|
-
function main()`).replace(/\?\./g, "."),
|
|
2892
|
+
function main()`).replace(/\?\./g, "."), Vr = (e) => e + "JSON", Ji = ({
|
|
2893
2893
|
builder: e,
|
|
2894
2894
|
context: t,
|
|
2895
2895
|
event: n,
|
|
@@ -2898,20 +2898,20 @@ function main()`).replace(/\?\./g, "."), Nr = (e) => e + "JSON", Gi = ({
|
|
|
2898
2898
|
rootSetState: i,
|
|
2899
2899
|
code: s
|
|
2900
2900
|
}) => {
|
|
2901
|
-
const u =
|
|
2901
|
+
const u = Nn({
|
|
2902
2902
|
rootState: r,
|
|
2903
2903
|
localState: o,
|
|
2904
2904
|
rootSetState: i
|
|
2905
|
-
}), c =
|
|
2905
|
+
}), c = lo({
|
|
2906
2906
|
builder: e,
|
|
2907
2907
|
context: t,
|
|
2908
2908
|
event: n,
|
|
2909
2909
|
state: u
|
|
2910
2910
|
}), m = c.map(([$]) => {
|
|
2911
|
-
const H =
|
|
2911
|
+
const H = Vr($);
|
|
2912
2912
|
return $ === "state" ? "" : `var ${$} = ${H} === undefined ? undefined : JSON.parse(${H});`;
|
|
2913
2913
|
}).join(`
|
|
2914
|
-
`), y =
|
|
2914
|
+
`), y = _i(s);
|
|
2915
2915
|
if (y === "")
|
|
2916
2916
|
return;
|
|
2917
2917
|
const b = `
|
|
@@ -2927,29 +2927,29 @@ theFunction();
|
|
|
2927
2927
|
$.setProperty(H, te, $.createConnectedObject(E), $.READONLY_DESCRIPTOR);
|
|
2928
2928
|
else {
|
|
2929
2929
|
const D = JSON.stringify(E);
|
|
2930
|
-
$.setProperty(H,
|
|
2930
|
+
$.setProperty(H, Vr(te), D);
|
|
2931
2931
|
}
|
|
2932
2932
|
});
|
|
2933
2933
|
}, S = new g(b, h);
|
|
2934
2934
|
return S.run(), S.pseudoToNative(S.value);
|
|
2935
2935
|
};
|
|
2936
|
-
function
|
|
2936
|
+
function Xi() {
|
|
2937
2937
|
var e;
|
|
2938
2938
|
return typeof process < "u" && Ne((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
|
|
2939
2939
|
}
|
|
2940
|
-
const
|
|
2940
|
+
const Yi = ({
|
|
2941
2941
|
shouldLogWarning: e
|
|
2942
2942
|
}) => {
|
|
2943
2943
|
var o;
|
|
2944
|
-
if (!
|
|
2944
|
+
if (!Xi())
|
|
2945
2945
|
return !1;
|
|
2946
2946
|
const t = process.arch === "arm64", n = process.version.startsWith("v20"), r = (o = process.env.NODE_OPTIONS) == null ? void 0 : o.includes("--no-node-snapshot");
|
|
2947
2947
|
return t && n && !r ? (e && ue.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;
|
|
2948
|
-
},
|
|
2948
|
+
}, Qi = (e) => M() || Yi({
|
|
2949
2949
|
shouldLogWarning: !0
|
|
2950
|
-
}) ?
|
|
2950
|
+
}) ? xi(e) : Ji(e), Zi = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, es = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, ts = (e) => {
|
|
2951
2951
|
var t, n, r, o, i, s;
|
|
2952
|
-
return ((r = (n = (t =
|
|
2952
|
+
return ((r = (n = (t = Zi.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : r.slice(1)) || ((s = (i = (o = es.exec(e.trim())) == null ? void 0 : o.groups) == null ? void 0 : i.getPath) == null ? void 0 : s.slice(1));
|
|
2953
2953
|
};
|
|
2954
2954
|
function kt({
|
|
2955
2955
|
code: e,
|
|
@@ -2963,17 +2963,17 @@ function kt({
|
|
|
2963
2963
|
}) {
|
|
2964
2964
|
if (e.trim() === "")
|
|
2965
2965
|
return;
|
|
2966
|
-
const c =
|
|
2966
|
+
const c = ts(e.trim());
|
|
2967
2967
|
if (c)
|
|
2968
|
-
return
|
|
2968
|
+
return Yr({
|
|
2969
2969
|
...r,
|
|
2970
2970
|
...n
|
|
2971
2971
|
}, c);
|
|
2972
2972
|
const m = {
|
|
2973
|
-
code:
|
|
2973
|
+
code: $i(e, {
|
|
2974
2974
|
isExpression: s
|
|
2975
2975
|
}),
|
|
2976
|
-
builder:
|
|
2976
|
+
builder: Ai(u),
|
|
2977
2977
|
context: t,
|
|
2978
2978
|
event: i,
|
|
2979
2979
|
rootSetState: o,
|
|
@@ -2981,7 +2981,7 @@ function kt({
|
|
|
2981
2981
|
localState: n
|
|
2982
2982
|
};
|
|
2983
2983
|
try {
|
|
2984
|
-
return
|
|
2984
|
+
return Qi(m);
|
|
2985
2985
|
} catch (y) {
|
|
2986
2986
|
ue.error("Failed code evaluation: " + y.message, {
|
|
2987
2987
|
code: e
|
|
@@ -2989,15 +2989,15 @@ function kt({
|
|
|
2989
2989
|
return;
|
|
2990
2990
|
}
|
|
2991
2991
|
}
|
|
2992
|
-
function
|
|
2992
|
+
function ns(e, t) {
|
|
2993
2993
|
var n;
|
|
2994
2994
|
return {
|
|
2995
2995
|
...(n = e.component) == null ? void 0 : n.options,
|
|
2996
2996
|
...e.options,
|
|
2997
|
-
...
|
|
2997
|
+
...rs(e, t)
|
|
2998
2998
|
};
|
|
2999
2999
|
}
|
|
3000
|
-
const
|
|
3000
|
+
const rs = (e, t) => {
|
|
3001
3001
|
var n, r;
|
|
3002
3002
|
if (((n = e.component) == null ? void 0 : n.name) === "Text" && ((r = e.component.options) != null && r.text) && typeof e.component.options.text == "string")
|
|
3003
3003
|
return {
|
|
@@ -3011,7 +3011,7 @@ const ts = (e, t) => {
|
|
|
3011
3011
|
}))
|
|
3012
3012
|
};
|
|
3013
3013
|
};
|
|
3014
|
-
function
|
|
3014
|
+
function os(e, ...t) {
|
|
3015
3015
|
const n = Object.assign({}, e);
|
|
3016
3016
|
for (const r of t)
|
|
3017
3017
|
delete n[r];
|
|
@@ -3034,30 +3034,30 @@ function Vt(e, t, n = null, r = null, o = /* @__PURE__ */ new WeakSet()) {
|
|
|
3034
3034
|
}), Vt(s, t, e, i, o);
|
|
3035
3035
|
}));
|
|
3036
3036
|
}
|
|
3037
|
-
function
|
|
3037
|
+
function mo(e) {
|
|
3038
3038
|
return e && typeof e == "object" && e["@type"] === "@builder.io/core:LocalizedValue";
|
|
3039
3039
|
}
|
|
3040
|
-
function
|
|
3040
|
+
function is(e) {
|
|
3041
3041
|
if (!e || !Object.getOwnPropertyNames(e).length)
|
|
3042
3042
|
return !1;
|
|
3043
3043
|
let t = !1;
|
|
3044
3044
|
return Vt(e, (n) => {
|
|
3045
|
-
if (
|
|
3045
|
+
if (mo(n)) {
|
|
3046
3046
|
t = !0;
|
|
3047
3047
|
return;
|
|
3048
3048
|
}
|
|
3049
3049
|
}), t;
|
|
3050
3050
|
}
|
|
3051
|
-
function
|
|
3051
|
+
function ss(e, t) {
|
|
3052
3052
|
return !e || !Object.getOwnPropertyNames(e).length ? {} : (Vt(e, (n, r) => {
|
|
3053
|
-
|
|
3053
|
+
mo(n) && r(n[t] ?? void 0);
|
|
3054
3054
|
}), e);
|
|
3055
3055
|
}
|
|
3056
|
-
function
|
|
3056
|
+
function as(e, t) {
|
|
3057
3057
|
var n, r;
|
|
3058
|
-
return (n = e.component) != null && n.options &&
|
|
3058
|
+
return (n = e.component) != null && n.options && is((r = e.component) == null ? void 0 : r.options) && (t || console.warn("[Builder.io] In order to use localized fields in Builder, you must pass a locale prop to the BuilderComponent or to options object while fetching the content to resolve localized fields. Learn more: https://www.builder.io/c/docs/localization-inline#targeting-and-inline-localization"), e.component.options = ss(e.component.options, t ?? "Default")), e;
|
|
3059
3059
|
}
|
|
3060
|
-
const
|
|
3060
|
+
const zn = (e) => JSON.parse(JSON.stringify(e)), go = (e, t, n) => {
|
|
3061
3061
|
if (Object(e) !== e)
|
|
3062
3062
|
return e;
|
|
3063
3063
|
const r = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
|
|
@@ -3075,9 +3075,9 @@ function Cn(e) {
|
|
|
3075
3075
|
n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = Cn(e[n]));
|
|
3076
3076
|
return t;
|
|
3077
3077
|
}
|
|
3078
|
-
const
|
|
3079
|
-
if (
|
|
3080
|
-
const t =
|
|
3078
|
+
const ls = ["svelte", "vue", "angular", "qwik", "solid"].includes(G), us = (e) => {
|
|
3079
|
+
if (ls) {
|
|
3080
|
+
const t = zn(e);
|
|
3081
3081
|
return {
|
|
3082
3082
|
...t,
|
|
3083
3083
|
properties: {
|
|
@@ -3088,7 +3088,7 @@ const ss = ["svelte", "vue", "angular", "qwik", "solid"].includes(G), as = (e) =
|
|
|
3088
3088
|
}
|
|
3089
3089
|
};
|
|
3090
3090
|
} else {
|
|
3091
|
-
const t = Cn(
|
|
3091
|
+
const t = Cn(os(e, "children", "meta"));
|
|
3092
3092
|
return {
|
|
3093
3093
|
...t,
|
|
3094
3094
|
properties: {
|
|
@@ -3101,7 +3101,7 @@ const ss = ["svelte", "vue", "angular", "qwik", "solid"].includes(G), as = (e) =
|
|
|
3101
3101
|
meta: e.meta
|
|
3102
3102
|
};
|
|
3103
3103
|
}
|
|
3104
|
-
},
|
|
3104
|
+
}, cs = ({
|
|
3105
3105
|
block: e,
|
|
3106
3106
|
context: t,
|
|
3107
3107
|
localState: n,
|
|
@@ -3110,7 +3110,7 @@ const ss = ["svelte", "vue", "angular", "qwik", "solid"].includes(G), as = (e) =
|
|
|
3110
3110
|
}) => {
|
|
3111
3111
|
if (!e.bindings)
|
|
3112
3112
|
return e;
|
|
3113
|
-
const i =
|
|
3113
|
+
const i = us(e);
|
|
3114
3114
|
for (const s in e.bindings) {
|
|
3115
3115
|
const u = e.bindings[s], c = kt({
|
|
3116
3116
|
code: u,
|
|
@@ -3119,11 +3119,11 @@ const ss = ["svelte", "vue", "angular", "qwik", "solid"].includes(G), as = (e) =
|
|
|
3119
3119
|
rootSetState: o,
|
|
3120
3120
|
context: t
|
|
3121
3121
|
});
|
|
3122
|
-
|
|
3122
|
+
go(i, s, c);
|
|
3123
3123
|
}
|
|
3124
3124
|
return i;
|
|
3125
3125
|
};
|
|
3126
|
-
function
|
|
3126
|
+
function ps({
|
|
3127
3127
|
block: e,
|
|
3128
3128
|
context: t,
|
|
3129
3129
|
localState: n,
|
|
@@ -3131,33 +3131,33 @@ function us({
|
|
|
3131
3131
|
rootSetState: o
|
|
3132
3132
|
}) {
|
|
3133
3133
|
let i = e;
|
|
3134
|
-
return i =
|
|
3134
|
+
return i = cs({
|
|
3135
3135
|
block: i,
|
|
3136
3136
|
localState: n,
|
|
3137
3137
|
rootState: r,
|
|
3138
3138
|
rootSetState: o,
|
|
3139
3139
|
context: t
|
|
3140
|
-
}), i =
|
|
3140
|
+
}), i = as(i, r.locale), i;
|
|
3141
3141
|
}
|
|
3142
|
-
function
|
|
3142
|
+
function qn(e) {
|
|
3143
3143
|
const t = e || (M() ? window.location.search : void 0);
|
|
3144
|
-
return t ?
|
|
3144
|
+
return t ? Zr(t).indexOf("builder.preview=") !== -1 : !1;
|
|
3145
3145
|
}
|
|
3146
|
-
const
|
|
3146
|
+
const ds = (e) => ({
|
|
3147
3147
|
type: "builder.registerComponent",
|
|
3148
3148
|
data: Dt(e)
|
|
3149
|
-
}),
|
|
3149
|
+
}), fs = (e) => {
|
|
3150
3150
|
const t = e.toString().trim(), n = /^[a-zA-Z0-9_]+\s*=>/i.test(t);
|
|
3151
3151
|
return `return (${!t.startsWith("function") && !t.startsWith("async") && !t.startsWith("(") && !n ? "function " : ""}${t}).apply(this, arguments)`;
|
|
3152
3152
|
};
|
|
3153
3153
|
function Dt(e) {
|
|
3154
|
-
return JSON.parse(JSON.stringify(e, (t, n) => typeof n == "function" ?
|
|
3154
|
+
return JSON.parse(JSON.stringify(e, (t, n) => typeof n == "function" ? fs(n) : n));
|
|
3155
3155
|
}
|
|
3156
|
-
const
|
|
3157
|
-
function
|
|
3156
|
+
const Dr = {};
|
|
3157
|
+
function oc(e, t) {
|
|
3158
3158
|
e === "plugin" && (t = Dt(t));
|
|
3159
|
-
let n =
|
|
3160
|
-
if (n || (n =
|
|
3159
|
+
let n = Dr[e];
|
|
3160
|
+
if (n || (n = Dr[e] = []), n.push(t), M()) {
|
|
3161
3161
|
const r = {
|
|
3162
3162
|
type: "builder.register",
|
|
3163
3163
|
data: {
|
|
@@ -3172,7 +3172,7 @@ function tc(e, t) {
|
|
|
3172
3172
|
}
|
|
3173
3173
|
}
|
|
3174
3174
|
}
|
|
3175
|
-
function
|
|
3175
|
+
function ic(e) {
|
|
3176
3176
|
var t;
|
|
3177
3177
|
if (M()) {
|
|
3178
3178
|
const n = JSON.parse(JSON.stringify(e));
|
|
@@ -3182,50 +3182,50 @@ function nc(e) {
|
|
|
3182
3182
|
}, "*");
|
|
3183
3183
|
}
|
|
3184
3184
|
}
|
|
3185
|
-
const
|
|
3186
|
-
function
|
|
3185
|
+
const Ur = {};
|
|
3186
|
+
function sc(e) {
|
|
3187
3187
|
if (M()) {
|
|
3188
|
-
Object.assign(
|
|
3188
|
+
Object.assign(Ur, e);
|
|
3189
3189
|
const t = {
|
|
3190
3190
|
type: "builder.settingsChange",
|
|
3191
|
-
data:
|
|
3191
|
+
data: Ur
|
|
3192
3192
|
};
|
|
3193
3193
|
parent.postMessage(t, "*");
|
|
3194
3194
|
}
|
|
3195
3195
|
}
|
|
3196
|
-
const
|
|
3196
|
+
const Wr = "builder.", hs = "options.", yo = (e) => {
|
|
3197
3197
|
if (!e)
|
|
3198
3198
|
return {};
|
|
3199
|
-
const t =
|
|
3199
|
+
const t = Qr(e), n = {};
|
|
3200
3200
|
return Object.keys(t).forEach((r) => {
|
|
3201
|
-
if (r.startsWith(
|
|
3202
|
-
const o = r.replace(
|
|
3201
|
+
if (r.startsWith(Wr)) {
|
|
3202
|
+
const o = r.replace(Wr, "").replace(hs, "");
|
|
3203
3203
|
n[o] = t[r];
|
|
3204
3204
|
}
|
|
3205
3205
|
}), n;
|
|
3206
|
-
},
|
|
3206
|
+
}, ms = () => {
|
|
3207
3207
|
if (!M())
|
|
3208
3208
|
return {};
|
|
3209
3209
|
const e = new URLSearchParams(window.location.search);
|
|
3210
|
-
return
|
|
3211
|
-
},
|
|
3212
|
-
function
|
|
3210
|
+
return yo(e);
|
|
3211
|
+
}, gs = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
|
|
3212
|
+
function vo(e, t) {
|
|
3213
3213
|
let n;
|
|
3214
3214
|
try {
|
|
3215
3215
|
n = new URL(t.origin);
|
|
3216
3216
|
} catch {
|
|
3217
3217
|
return !1;
|
|
3218
3218
|
}
|
|
3219
|
-
return n.protocol !== "http:" && n.protocol !== "https:" ? !1 : (e ||
|
|
3219
|
+
return n.protocol !== "http:" && n.protocol !== "https:" ? !1 : (e || gs).findIndex((r) => r.startsWith("*.") ? n.hostname.endsWith(r.slice(1)) : r === n.hostname) > -1;
|
|
3220
3220
|
}
|
|
3221
|
-
let
|
|
3222
|
-
const
|
|
3221
|
+
let Lr = !1;
|
|
3222
|
+
const bo = (e) => {
|
|
3223
3223
|
var t, n;
|
|
3224
|
-
|
|
3224
|
+
Lr || (Lr = !0, M() && ((t = window.parent) == null || t.postMessage({
|
|
3225
3225
|
type: "builder.sdkInfo",
|
|
3226
3226
|
data: {
|
|
3227
3227
|
target: G,
|
|
3228
|
-
version:
|
|
3228
|
+
version: to,
|
|
3229
3229
|
supportsPatchUpdates: !1,
|
|
3230
3230
|
// Supports builder-model="..." attribute which is needed to
|
|
3231
3231
|
// scope our '+ add block' button styling
|
|
@@ -3243,7 +3243,7 @@ const mo = (e) => {
|
|
|
3243
3243
|
}
|
|
3244
3244
|
}, "*"), window.addEventListener("message", (r) => {
|
|
3245
3245
|
var i, s;
|
|
3246
|
-
if (!
|
|
3246
|
+
if (!vo(e.trustedHosts, r))
|
|
3247
3247
|
return;
|
|
3248
3248
|
const {
|
|
3249
3249
|
data: o
|
|
@@ -3284,12 +3284,12 @@ const mo = (e) => {
|
|
|
3284
3284
|
}
|
|
3285
3285
|
}
|
|
3286
3286
|
})));
|
|
3287
|
-
},
|
|
3287
|
+
}, So = ({
|
|
3288
3288
|
model: e,
|
|
3289
3289
|
trustedHosts: t,
|
|
3290
3290
|
callbacks: n
|
|
3291
3291
|
}) => (r) => {
|
|
3292
|
-
if (!
|
|
3292
|
+
if (!vo(t, r))
|
|
3293
3293
|
return;
|
|
3294
3294
|
const {
|
|
3295
3295
|
data: o
|
|
@@ -3315,7 +3315,7 @@ const mo = (e) => {
|
|
|
3315
3315
|
break;
|
|
3316
3316
|
}
|
|
3317
3317
|
}
|
|
3318
|
-
},
|
|
3318
|
+
}, ac = ({
|
|
3319
3319
|
model: e,
|
|
3320
3320
|
apiKey: t,
|
|
3321
3321
|
callback: n,
|
|
@@ -3324,11 +3324,11 @@ const mo = (e) => {
|
|
|
3324
3324
|
if (!M)
|
|
3325
3325
|
return ue.warn("`subscribeToEditor` only works in the browser. It currently seems to be running on the server."), () => {
|
|
3326
3326
|
};
|
|
3327
|
-
|
|
3327
|
+
bo({
|
|
3328
3328
|
modelName: e,
|
|
3329
3329
|
apiKey: t
|
|
3330
3330
|
});
|
|
3331
|
-
const o =
|
|
3331
|
+
const o = So({
|
|
3332
3332
|
callbacks: {
|
|
3333
3333
|
contentUpdate: n,
|
|
3334
3334
|
animation: () => {
|
|
@@ -3344,24 +3344,24 @@ const mo = (e) => {
|
|
|
3344
3344
|
return window.addEventListener("message", o), () => {
|
|
3345
3345
|
window.removeEventListener("message", o);
|
|
3346
3346
|
};
|
|
3347
|
-
},
|
|
3347
|
+
}, ys = "builder.tests", Gn = (e) => `${ys}.${e}`, vs = ({
|
|
3348
3348
|
contentId: e
|
|
3349
|
-
}) =>
|
|
3350
|
-
name:
|
|
3349
|
+
}) => ro({
|
|
3350
|
+
name: Gn(e),
|
|
3351
3351
|
canTrack: !0
|
|
3352
|
-
}),
|
|
3352
|
+
}), bs = ({
|
|
3353
3353
|
contentId: e
|
|
3354
3354
|
}) => Lt({
|
|
3355
|
-
name:
|
|
3355
|
+
name: Gn(e),
|
|
3356
3356
|
canTrack: !0
|
|
3357
|
-
}),
|
|
3357
|
+
}), Ss = ({
|
|
3358
3358
|
contentId: e,
|
|
3359
3359
|
value: t
|
|
3360
|
-
}) =>
|
|
3361
|
-
name:
|
|
3360
|
+
}) => Pn({
|
|
3361
|
+
name: Gn(e),
|
|
3362
3362
|
value: t,
|
|
3363
3363
|
canTrack: !0
|
|
3364
|
-
}),
|
|
3364
|
+
}), ko = (e) => Ne(e.id) && Ne(e.variations) && Object.keys(e.variations).length > 0, ks = ({
|
|
3365
3365
|
id: e,
|
|
3366
3366
|
variations: t
|
|
3367
3367
|
}) => {
|
|
@@ -3374,15 +3374,15 @@ const mo = (e) => {
|
|
|
3374
3374
|
return i;
|
|
3375
3375
|
}
|
|
3376
3376
|
return e;
|
|
3377
|
-
},
|
|
3378
|
-
const t =
|
|
3379
|
-
return
|
|
3377
|
+
}, Co = (e) => {
|
|
3378
|
+
const t = ks(e);
|
|
3379
|
+
return Ss({
|
|
3380
3380
|
contentId: e.id,
|
|
3381
3381
|
value: t
|
|
3382
3382
|
}).catch((n) => {
|
|
3383
3383
|
ue.error("could not store A/B test variation: ", n);
|
|
3384
3384
|
}), t;
|
|
3385
|
-
},
|
|
3385
|
+
}, wo = ({
|
|
3386
3386
|
item: e,
|
|
3387
3387
|
testGroupId: t
|
|
3388
3388
|
}) => {
|
|
@@ -3396,7 +3396,7 @@ const mo = (e) => {
|
|
|
3396
3396
|
testVariationId: n.id,
|
|
3397
3397
|
testVariationName: n.name || (n.id === e.id ? "Default" : "")
|
|
3398
3398
|
};
|
|
3399
|
-
},
|
|
3399
|
+
}, Cs = ({
|
|
3400
3400
|
item: e,
|
|
3401
3401
|
canTrack: t
|
|
3402
3402
|
}) => {
|
|
@@ -3404,14 +3404,14 @@ const mo = (e) => {
|
|
|
3404
3404
|
return e;
|
|
3405
3405
|
if (!e)
|
|
3406
3406
|
return;
|
|
3407
|
-
if (!
|
|
3407
|
+
if (!ko(e))
|
|
3408
3408
|
return e;
|
|
3409
|
-
const n =
|
|
3409
|
+
const n = bs({
|
|
3410
3410
|
contentId: e.id
|
|
3411
|
-
}) ||
|
|
3411
|
+
}) || Co({
|
|
3412
3412
|
variations: e.variations,
|
|
3413
3413
|
id: e.id
|
|
3414
|
-
}), r =
|
|
3414
|
+
}), r = wo({
|
|
3415
3415
|
item: e,
|
|
3416
3416
|
testGroupId: n
|
|
3417
3417
|
});
|
|
@@ -3419,18 +3419,18 @@ const mo = (e) => {
|
|
|
3419
3419
|
...e,
|
|
3420
3420
|
...r
|
|
3421
3421
|
};
|
|
3422
|
-
},
|
|
3422
|
+
}, ws = async ({
|
|
3423
3423
|
item: e,
|
|
3424
3424
|
canTrack: t
|
|
3425
3425
|
}) => {
|
|
3426
|
-
if (!t || !
|
|
3426
|
+
if (!t || !ko(e))
|
|
3427
3427
|
return e;
|
|
3428
|
-
const r = await
|
|
3428
|
+
const r = await vs({
|
|
3429
3429
|
contentId: e.id
|
|
3430
|
-
}) ||
|
|
3430
|
+
}) || Co({
|
|
3431
3431
|
variations: e.variations,
|
|
3432
3432
|
id: e.id
|
|
3433
|
-
}), o =
|
|
3433
|
+
}), o = wo({
|
|
3434
3434
|
item: e,
|
|
3435
3435
|
testGroupId: r
|
|
3436
3436
|
});
|
|
@@ -3439,8 +3439,8 @@ const mo = (e) => {
|
|
|
3439
3439
|
...o
|
|
3440
3440
|
};
|
|
3441
3441
|
};
|
|
3442
|
-
const
|
|
3443
|
-
function
|
|
3442
|
+
const Fr = "builder.userAttributes";
|
|
3443
|
+
function Mr() {
|
|
3444
3444
|
let e = !0;
|
|
3445
3445
|
const t = /* @__PURE__ */ new Set();
|
|
3446
3446
|
return {
|
|
@@ -3451,15 +3451,15 @@ function Wr() {
|
|
|
3451
3451
|
...this.getUserAttributes(),
|
|
3452
3452
|
...n
|
|
3453
3453
|
};
|
|
3454
|
-
|
|
3455
|
-
name:
|
|
3454
|
+
Pn({
|
|
3455
|
+
name: Fr,
|
|
3456
3456
|
value: JSON.stringify(r),
|
|
3457
3457
|
canTrack: e
|
|
3458
3458
|
}), t.forEach((o) => o(r));
|
|
3459
3459
|
},
|
|
3460
3460
|
getUserAttributes() {
|
|
3461
3461
|
return M() ? JSON.parse(Lt({
|
|
3462
|
-
name:
|
|
3462
|
+
name: Fr,
|
|
3463
3463
|
canTrack: e
|
|
3464
3464
|
}) || "{}") : {};
|
|
3465
3465
|
},
|
|
@@ -3476,24 +3476,24 @@ function Wr() {
|
|
|
3476
3476
|
};
|
|
3477
3477
|
}
|
|
3478
3478
|
let wn;
|
|
3479
|
-
M() && G === "qwik" ? (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ || (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ =
|
|
3480
|
-
const Ut = wn,
|
|
3479
|
+
M() && G === "qwik" ? (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ || (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ = Mr()), wn = window.__BUILDER_USER_ATTRIBUTES_SERVICE__) : wn = Mr();
|
|
3480
|
+
const Ut = wn, lc = (e) => {
|
|
3481
3481
|
Ut.setUserAttributes(e);
|
|
3482
3482
|
}, Xe = (e) => {
|
|
3483
3483
|
const t = Ne(e) ? e : !0;
|
|
3484
3484
|
return Ut.setCanTrack(t), t;
|
|
3485
3485
|
};
|
|
3486
|
-
function
|
|
3486
|
+
function Ts() {
|
|
3487
3487
|
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : globalThis;
|
|
3488
3488
|
}
|
|
3489
|
-
function
|
|
3490
|
-
const e =
|
|
3489
|
+
function Es() {
|
|
3490
|
+
const e = Ts().fetch;
|
|
3491
3491
|
if (typeof e > "u")
|
|
3492
3492
|
throw console.warn(`Builder SDK could not find a global fetch function. Make sure you have a polyfill for fetch in your project.
|
|
3493
3493
|
For more information, read https://github.com/BuilderIO/this-package-uses-fetch`), new Error("Builder SDK could not find a global `fetch` function");
|
|
3494
3494
|
return e;
|
|
3495
3495
|
}
|
|
3496
|
-
const
|
|
3496
|
+
const Is = Es();
|
|
3497
3497
|
function Tn(e, t = null, n = ".") {
|
|
3498
3498
|
return Object.keys(e).reduce((r, o) => {
|
|
3499
3499
|
const i = e[o], s = [t, o].filter(Boolean).join(n);
|
|
@@ -3506,14 +3506,14 @@ function Tn(e, t = null, n = ".") {
|
|
|
3506
3506
|
};
|
|
3507
3507
|
}, {});
|
|
3508
3508
|
}
|
|
3509
|
-
function
|
|
3509
|
+
function To(e, t, n = {}) {
|
|
3510
3510
|
for (const r in e) {
|
|
3511
3511
|
const o = e[r], i = t ? t + "." + r : r;
|
|
3512
|
-
o && typeof o == "object" && !Array.isArray(o) && !Object.keys(o).find((s) => s.startsWith("$")) ?
|
|
3512
|
+
o && typeof o == "object" && !Array.isArray(o) && !Object.keys(o).find((s) => s.startsWith("$")) ? To(o, i, n) : n[i] = o;
|
|
3513
3513
|
}
|
|
3514
3514
|
return n;
|
|
3515
3515
|
}
|
|
3516
|
-
function
|
|
3516
|
+
function Rs(e) {
|
|
3517
3517
|
const t = {};
|
|
3518
3518
|
for (const n in e) {
|
|
3519
3519
|
const r = n.split(".");
|
|
@@ -3525,7 +3525,7 @@ function Es(e) {
|
|
|
3525
3525
|
}
|
|
3526
3526
|
return t;
|
|
3527
3527
|
}
|
|
3528
|
-
const
|
|
3528
|
+
const As = "v3", Hr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, _n = (e) => {
|
|
3529
3529
|
const {
|
|
3530
3530
|
limit: t = 30,
|
|
3531
3531
|
userAttributes: n,
|
|
@@ -3534,7 +3534,7 @@ const Is = "v3", Lr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, zn = (
|
|
|
3534
3534
|
apiKey: i,
|
|
3535
3535
|
enrich: s,
|
|
3536
3536
|
locale: u,
|
|
3537
|
-
apiVersion: c =
|
|
3537
|
+
apiVersion: c = As,
|
|
3538
3538
|
fields: m,
|
|
3539
3539
|
omit: y,
|
|
3540
3540
|
offset: b,
|
|
@@ -3551,7 +3551,7 @@ const Is = "v3", Lr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, zn = (
|
|
|
3551
3551
|
const te = t !== 1, E = H || "https://cdn.builder.io", D = new URL(`${E}/api/${c}/content/${o}`);
|
|
3552
3552
|
D.searchParams.set("apiKey", i), D.searchParams.set("limit", String(t)), D.searchParams.set("noTraverse", String(te)), D.searchParams.set("includeRefs", String(!0)), u && D.searchParams.set("locale", u);
|
|
3553
3553
|
let ie = n || {};
|
|
3554
|
-
if (s && D.searchParams.set("enrich", String(s)), D.searchParams.set("omit", y ?? "meta.componentsUsed"), m && D.searchParams.set("fields", m), Number.isFinite(b) && b > -1 && D.searchParams.set("offset", String(Math.floor(b))), typeof $ == "boolean" && D.searchParams.set("includeUnpublished", String($)), h &&
|
|
3554
|
+
if (s && D.searchParams.set("enrich", String(s)), D.searchParams.set("omit", y ?? "meta.componentsUsed"), m && D.searchParams.set("fields", m), Number.isFinite(b) && b > -1 && D.searchParams.set("offset", String(Math.floor(b))), typeof $ == "boolean" && D.searchParams.set("includeUnpublished", String($)), h && Hr(h) && D.searchParams.set("cacheSeconds", String(h)), S && Hr(S) && D.searchParams.set("staleCacheSeconds", String(S)), A) {
|
|
3555
3555
|
const _ = Tn({
|
|
3556
3556
|
sort: A
|
|
3557
3557
|
});
|
|
@@ -3559,70 +3559,70 @@ const Is = "v3", Lr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, zn = (
|
|
|
3559
3559
|
D.searchParams.set(R, JSON.stringify(_[R]));
|
|
3560
3560
|
}
|
|
3561
3561
|
const Ae = {
|
|
3562
|
-
...
|
|
3563
|
-
...
|
|
3562
|
+
...ms(),
|
|
3563
|
+
...Qr(e.options || {})
|
|
3564
3564
|
};
|
|
3565
3565
|
ie = {
|
|
3566
3566
|
...ie,
|
|
3567
|
-
...
|
|
3567
|
+
...xs(Ae)
|
|
3568
3568
|
};
|
|
3569
3569
|
const K = Tn(Ae);
|
|
3570
3570
|
for (const _ in K)
|
|
3571
3571
|
D.searchParams.set(_, String(K[_]));
|
|
3572
3572
|
if (Object.keys(ie).length > 0 && D.searchParams.set("userAttributes", JSON.stringify(ie)), r) {
|
|
3573
|
-
const _ =
|
|
3573
|
+
const _ = To({
|
|
3574
3574
|
query: r
|
|
3575
3575
|
});
|
|
3576
3576
|
for (const R in _)
|
|
3577
3577
|
D.searchParams.set(R, JSON.stringify(_[R]));
|
|
3578
3578
|
}
|
|
3579
3579
|
return D;
|
|
3580
|
-
},
|
|
3580
|
+
}, $s = (e) => {
|
|
3581
3581
|
const t = {};
|
|
3582
3582
|
for (const n in e)
|
|
3583
3583
|
n.startsWith("userAttributes.") && (t[n] = e[n], delete e[n]);
|
|
3584
3584
|
return t;
|
|
3585
|
-
},
|
|
3585
|
+
}, xs = (e) => {
|
|
3586
3586
|
if (M() && e.preview === "BUILDER_STUDIO") {
|
|
3587
3587
|
e["userAttributes.urlPath"] = window.location.pathname, e["userAttributes.host"] = window.location.host;
|
|
3588
|
-
const t =
|
|
3588
|
+
const t = $s(e), {
|
|
3589
3589
|
userAttributes: n
|
|
3590
|
-
} =
|
|
3590
|
+
} = Rs(t);
|
|
3591
3591
|
return n;
|
|
3592
3592
|
}
|
|
3593
3593
|
return {};
|
|
3594
|
-
},
|
|
3595
|
-
async function
|
|
3594
|
+
}, Ps = (e) => "results" in e;
|
|
3595
|
+
async function Jn(e) {
|
|
3596
3596
|
var r;
|
|
3597
3597
|
const t = e.locale || ((r = e.userAttributes) == null ? void 0 : r.locale);
|
|
3598
3598
|
t && (e.locale = t, e.userAttributes = {
|
|
3599
3599
|
locale: t,
|
|
3600
3600
|
...e.userAttributes
|
|
3601
3601
|
});
|
|
3602
|
-
const n = await
|
|
3602
|
+
const n = await Bs({
|
|
3603
3603
|
...e,
|
|
3604
3604
|
limit: 1
|
|
3605
3605
|
});
|
|
3606
3606
|
return n && n[0] || null;
|
|
3607
3607
|
}
|
|
3608
|
-
const
|
|
3608
|
+
const Os = async (e) => {
|
|
3609
3609
|
var s;
|
|
3610
|
-
const t =
|
|
3610
|
+
const t = _n(e), n = e.fetch ?? Is, r = {
|
|
3611
3611
|
...e.fetchOptions,
|
|
3612
3612
|
headers: {
|
|
3613
3613
|
...(s = e.fetchOptions) == null ? void 0 : s.headers,
|
|
3614
|
-
...
|
|
3614
|
+
...no()
|
|
3615
3615
|
}
|
|
3616
3616
|
};
|
|
3617
3617
|
return await (await n(t.href, r)).json();
|
|
3618
|
-
},
|
|
3618
|
+
}, Ns = async (e, t, n = _n(e)) => {
|
|
3619
3619
|
const r = Xe(e.canTrack);
|
|
3620
3620
|
if (n.search.includes("preview="), !r || !(M() || G === "reactNative"))
|
|
3621
3621
|
return t.results;
|
|
3622
3622
|
try {
|
|
3623
3623
|
const o = [];
|
|
3624
3624
|
for (const i of t.results)
|
|
3625
|
-
o.push(await
|
|
3625
|
+
o.push(await ws({
|
|
3626
3626
|
item: i,
|
|
3627
3627
|
canTrack: r
|
|
3628
3628
|
}));
|
|
@@ -3632,17 +3632,17 @@ const xs = async (e) => {
|
|
|
3632
3632
|
}
|
|
3633
3633
|
return t.results;
|
|
3634
3634
|
};
|
|
3635
|
-
async function
|
|
3636
|
-
const t =
|
|
3637
|
-
if (
|
|
3635
|
+
async function Bs(e) {
|
|
3636
|
+
const t = _n(e), n = await Os(e);
|
|
3637
|
+
if (!Ps(n))
|
|
3638
3638
|
throw ue.error("Error fetching data. ", {
|
|
3639
3639
|
url: t,
|
|
3640
3640
|
content: n,
|
|
3641
3641
|
options: e
|
|
3642
3642
|
}), n;
|
|
3643
|
-
return
|
|
3643
|
+
return Ns(e, n);
|
|
3644
3644
|
}
|
|
3645
|
-
const
|
|
3645
|
+
const uc = async (e) => {
|
|
3646
3646
|
var r, o, i;
|
|
3647
3647
|
const t = e.path || ((r = e.url) == null ? void 0 : r.pathname) || ((o = e.userAttributes) == null ? void 0 : o.urlPath), n = {
|
|
3648
3648
|
...e,
|
|
@@ -3654,15 +3654,15 @@ const sc = async (e) => {
|
|
|
3654
3654
|
urlPath: t
|
|
3655
3655
|
} : {}
|
|
3656
3656
|
},
|
|
3657
|
-
options:
|
|
3657
|
+
options: yo(e.searchParams || ((i = e.url) == null ? void 0 : i.searchParams) || e.options)
|
|
3658
3658
|
};
|
|
3659
3659
|
return {
|
|
3660
3660
|
apiKey: n.apiKey,
|
|
3661
3661
|
model: n.model,
|
|
3662
|
-
content: await
|
|
3662
|
+
content: await Jn(n)
|
|
3663
3663
|
};
|
|
3664
|
-
},
|
|
3665
|
-
function
|
|
3664
|
+
}, Xn = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
|
|
3665
|
+
function js(e, t, n = {}) {
|
|
3666
3666
|
let r, o, i, s = null, u = 0;
|
|
3667
3667
|
const c = function() {
|
|
3668
3668
|
u = n.leading === !1 ? 0 : Date.now(), s = null, i = e.apply(r, o), s || (r = o = null);
|
|
@@ -3684,55 +3684,55 @@ function mt(e, ...t) {
|
|
|
3684
3684
|
}
|
|
3685
3685
|
return n;
|
|
3686
3686
|
}
|
|
3687
|
-
function
|
|
3687
|
+
function Vs(e) {
|
|
3688
3688
|
for (const t of e)
|
|
3689
3689
|
switch (t.trigger) {
|
|
3690
3690
|
case "pageLoad":
|
|
3691
|
-
|
|
3691
|
+
Ro(t);
|
|
3692
3692
|
break;
|
|
3693
3693
|
case "scrollInView":
|
|
3694
|
-
|
|
3694
|
+
Us(t);
|
|
3695
3695
|
break;
|
|
3696
3696
|
}
|
|
3697
3697
|
}
|
|
3698
|
-
function
|
|
3698
|
+
function Eo(e) {
|
|
3699
3699
|
console.warn(`Cannot animate element: element with ID ${e} not found!`);
|
|
3700
3700
|
}
|
|
3701
|
-
function
|
|
3702
|
-
const n =
|
|
3701
|
+
function Io(e, t) {
|
|
3702
|
+
const n = Ds(e), r = getComputedStyle(t), o = e.steps[0].styles, i = e.steps[e.steps.length - 1].styles, s = [o, i];
|
|
3703
3703
|
for (const u of s)
|
|
3704
3704
|
for (const c of n)
|
|
3705
3705
|
c in u || (u[c] = r[c]);
|
|
3706
3706
|
}
|
|
3707
|
-
function
|
|
3707
|
+
function Ds(e) {
|
|
3708
3708
|
const t = [];
|
|
3709
3709
|
for (const n of e.steps)
|
|
3710
3710
|
for (const r in n.styles)
|
|
3711
3711
|
t.indexOf(r) === -1 && t.push(r);
|
|
3712
3712
|
return t;
|
|
3713
3713
|
}
|
|
3714
|
-
function
|
|
3714
|
+
function Ro(e) {
|
|
3715
3715
|
const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
|
|
3716
3716
|
if (!t.length) {
|
|
3717
|
-
|
|
3717
|
+
Eo(e.elementId || e.id || "");
|
|
3718
3718
|
return;
|
|
3719
3719
|
}
|
|
3720
3720
|
Array.from(t).forEach((n) => {
|
|
3721
|
-
|
|
3722
|
-
n.style.transition = `all ${e.duration}s ${
|
|
3721
|
+
Io(e, n), n.style.transition = "none", n.style.transitionDelay = "0", mt(n.style, e.steps[0].styles), setTimeout(() => {
|
|
3722
|
+
n.style.transition = `all ${e.duration}s ${Xn(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), mt(n.style, e.steps[1].styles), setTimeout(() => {
|
|
3723
3723
|
n.style.transition = "", n.style.transitionDelay = "";
|
|
3724
3724
|
}, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
|
|
3725
3725
|
});
|
|
3726
3726
|
});
|
|
3727
3727
|
}
|
|
3728
|
-
function
|
|
3728
|
+
function Us(e) {
|
|
3729
3729
|
const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
|
|
3730
3730
|
if (!t.length) {
|
|
3731
|
-
|
|
3731
|
+
Eo(e.elementId || e.id || "");
|
|
3732
3732
|
return;
|
|
3733
3733
|
}
|
|
3734
3734
|
Array.from(t).forEach((n) => {
|
|
3735
|
-
|
|
3735
|
+
Io(e, n);
|
|
3736
3736
|
let r = !1, o = !1;
|
|
3737
3737
|
function i() {
|
|
3738
3738
|
!r && u(n) ? (r = !0, o = !0, setTimeout(() => {
|
|
@@ -3741,7 +3741,7 @@ function Vs(e) {
|
|
|
3741
3741
|
}, (e.duration + (e.delay || 0)) * 1e3 + 100);
|
|
3742
3742
|
})) : e.repeat && r && !o && !u(n) && (r = !1, mt(n.style, e.steps[0].styles));
|
|
3743
3743
|
}
|
|
3744
|
-
const s =
|
|
3744
|
+
const s = js(i, 200, {
|
|
3745
3745
|
leading: !1
|
|
3746
3746
|
});
|
|
3747
3747
|
function u(y) {
|
|
@@ -3753,49 +3753,49 @@ function Vs(e) {
|
|
|
3753
3753
|
mt(n.style, c);
|
|
3754
3754
|
}
|
|
3755
3755
|
m(), setTimeout(() => {
|
|
3756
|
-
n.style.transition = `all ${e.duration}s ${
|
|
3756
|
+
n.style.transition = `all ${e.duration}s ${Xn(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
|
|
3757
3757
|
}), document.addEventListener("scroll", s, {
|
|
3758
3758
|
capture: !0,
|
|
3759
3759
|
passive: !0
|
|
3760
3760
|
}), i();
|
|
3761
3761
|
});
|
|
3762
3762
|
}
|
|
3763
|
-
const
|
|
3763
|
+
const Ao = (e) => Object.entries(e).map(([n, r]) => {
|
|
3764
3764
|
if (typeof r == "string")
|
|
3765
|
-
return `${
|
|
3766
|
-
}).filter(Ne),
|
|
3767
|
-
`),
|
|
3765
|
+
return `${Xn(n)}: ${r};`;
|
|
3766
|
+
}).filter(Ne), Ws = (e) => Ao(e).join(`
|
|
3767
|
+
`), cc = ({
|
|
3768
3768
|
mediaQuery: e,
|
|
3769
3769
|
className: t,
|
|
3770
3770
|
styles: n
|
|
3771
3771
|
}) => {
|
|
3772
3772
|
const r = `.${t} {
|
|
3773
|
-
${
|
|
3773
|
+
${Ws(n)}
|
|
3774
3774
|
}`;
|
|
3775
3775
|
return e ? `${e} {
|
|
3776
3776
|
${r}
|
|
3777
3777
|
}` : r;
|
|
3778
3778
|
};
|
|
3779
|
-
function
|
|
3779
|
+
function Ls({
|
|
3780
3780
|
style: e
|
|
3781
3781
|
}) {
|
|
3782
3782
|
return e;
|
|
3783
3783
|
}
|
|
3784
|
-
const
|
|
3784
|
+
const pc = ({
|
|
3785
3785
|
block: e,
|
|
3786
3786
|
context: t
|
|
3787
|
-
}) =>
|
|
3787
|
+
}) => $o(Ls({
|
|
3788
3788
|
style: e.style || {},
|
|
3789
3789
|
context: t,
|
|
3790
3790
|
block: e
|
|
3791
3791
|
}));
|
|
3792
|
-
function
|
|
3792
|
+
function $o(e) {
|
|
3793
3793
|
switch (G) {
|
|
3794
3794
|
case "svelte":
|
|
3795
3795
|
case "vue":
|
|
3796
3796
|
case "solid":
|
|
3797
3797
|
case "angular":
|
|
3798
|
-
return
|
|
3798
|
+
return Ao(e).join(" ");
|
|
3799
3799
|
case "qwik":
|
|
3800
3800
|
case "reactNative":
|
|
3801
3801
|
case "react":
|
|
@@ -3803,7 +3803,7 @@ function Eo(e) {
|
|
|
3803
3803
|
return e;
|
|
3804
3804
|
}
|
|
3805
3805
|
}
|
|
3806
|
-
const
|
|
3806
|
+
const xo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includes(t) : !1 : !0, Fs = ({
|
|
3807
3807
|
block: e,
|
|
3808
3808
|
registeredComponents: t,
|
|
3809
3809
|
model: n
|
|
@@ -3813,14 +3813,14 @@ const Io = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
3813
3813
|
if (!r)
|
|
3814
3814
|
return null;
|
|
3815
3815
|
const o = t[r];
|
|
3816
|
-
if (!o ||
|
|
3816
|
+
if (!o || xo(o, n)) {
|
|
3817
3817
|
console.warn(`
|
|
3818
3818
|
Could not find a registered component named "${r}".
|
|
3819
3819
|
If you registered it, is the file that registered it imported by the file that needs to render it?`);
|
|
3820
3820
|
return;
|
|
3821
3821
|
} else
|
|
3822
3822
|
return o;
|
|
3823
|
-
},
|
|
3823
|
+
}, Ms = ({
|
|
3824
3824
|
block: e,
|
|
3825
3825
|
context: t
|
|
3826
3826
|
}) => {
|
|
@@ -3853,59 +3853,59 @@ const Io = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
3853
3853
|
},
|
|
3854
3854
|
block: r
|
|
3855
3855
|
}));
|
|
3856
|
-
},
|
|
3856
|
+
}, Hs = (e, t) => {
|
|
3857
3857
|
var n;
|
|
3858
3858
|
return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderLinkComponent ? {
|
|
3859
3859
|
builderLinkComponent: t
|
|
3860
3860
|
} : {};
|
|
3861
|
-
},
|
|
3861
|
+
}, Ks = (e, t, n) => {
|
|
3862
3862
|
var r;
|
|
3863
3863
|
return (r = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && r.builderComponents ? {
|
|
3864
|
-
builderComponents: Object.fromEntries(Object.entries(t).filter(([i, s]) => !
|
|
3864
|
+
builderComponents: Object.fromEntries(Object.entries(t).filter(([i, s]) => !xo(s, n)))
|
|
3865
3865
|
} : {};
|
|
3866
|
-
},
|
|
3866
|
+
}, zs = (e, t) => {
|
|
3867
3867
|
var n;
|
|
3868
3868
|
return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderBlock ? {
|
|
3869
3869
|
builderBlock: t
|
|
3870
3870
|
} : {};
|
|
3871
|
-
},
|
|
3871
|
+
}, qs = (e, t) => {
|
|
3872
3872
|
var n;
|
|
3873
3873
|
return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderContext ? {
|
|
3874
3874
|
builderContext: t
|
|
3875
3875
|
} : {};
|
|
3876
|
-
},
|
|
3876
|
+
}, Gs = (e) => e.toString(), _s = () => Promise.resolve().then(() => la).then((e) => e.default).catch((e) => {
|
|
3877
3877
|
throw console.error(
|
|
3878
3878
|
"Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
|
|
3879
3879
|
e
|
|
3880
3880
|
), e;
|
|
3881
|
-
}),
|
|
3881
|
+
}), Js = () => import("./block-wrapper-9nBz9JZR.js").then((e) => e.default).catch((e) => {
|
|
3882
3882
|
throw console.error(
|
|
3883
3883
|
"Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
|
|
3884
3884
|
e
|
|
3885
3885
|
), e;
|
|
3886
|
-
}),
|
|
3886
|
+
}), Xs = () => import("./component-ref-S9vJwuiq.js").then((e) => e.default).catch((e) => {
|
|
3887
3887
|
throw console.error(
|
|
3888
3888
|
"Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
|
|
3889
3889
|
e
|
|
3890
3890
|
), e;
|
|
3891
|
-
}),
|
|
3891
|
+
}), Ys = () => import("./repeated-block-R_IWEkxl.js").then((e) => e.default).catch((e) => {
|
|
3892
3892
|
throw console.error(
|
|
3893
3893
|
"Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
|
|
3894
3894
|
e
|
|
3895
3895
|
), e;
|
|
3896
|
-
}),
|
|
3896
|
+
}), Qs = () => import("./style-wrapper-sQRz1Tz9.js").then((e) => e.default).catch((e) => {
|
|
3897
3897
|
throw console.error(
|
|
3898
3898
|
"Error while attempting to dynamically import component StyleWrapper at ./components/style-wrapper.vue",
|
|
3899
3899
|
e
|
|
3900
3900
|
), e;
|
|
3901
|
-
}),
|
|
3901
|
+
}), Zs = B({
|
|
3902
3902
|
name: "block",
|
|
3903
3903
|
components: {
|
|
3904
|
-
StyleWrapper: st(
|
|
3905
|
-
RepeatedBlock: st(
|
|
3906
|
-
ComponentRef: st(
|
|
3907
|
-
BlockWrapper: st(
|
|
3908
|
-
DynamicDiv: st(
|
|
3904
|
+
StyleWrapper: st(Qs),
|
|
3905
|
+
RepeatedBlock: st(Ys),
|
|
3906
|
+
ComponentRef: st(Xs),
|
|
3907
|
+
BlockWrapper: st(Js),
|
|
3908
|
+
DynamicDiv: st(_s)
|
|
3909
3909
|
},
|
|
3910
3910
|
props: ["block", "context", "registeredComponents", "linkComponent"],
|
|
3911
3911
|
data() {
|
|
@@ -3914,12 +3914,12 @@ const Io = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
3914
3914
|
value: null,
|
|
3915
3915
|
update: !1
|
|
3916
3916
|
},
|
|
3917
|
-
generateKey:
|
|
3917
|
+
generateKey: Gs
|
|
3918
3918
|
};
|
|
3919
3919
|
},
|
|
3920
3920
|
mounted() {
|
|
3921
3921
|
const e = this.processedBlock.id, t = this.processedBlock.animations;
|
|
3922
|
-
t && e &&
|
|
3922
|
+
t && e && Vs(
|
|
3923
3923
|
t.map((n) => ({
|
|
3924
3924
|
...n,
|
|
3925
3925
|
elementId: e
|
|
@@ -3930,14 +3930,14 @@ const Io = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
3930
3930
|
},
|
|
3931
3931
|
computed: {
|
|
3932
3932
|
repeatItem() {
|
|
3933
|
-
return
|
|
3933
|
+
return Ms({
|
|
3934
3934
|
block: this.block,
|
|
3935
3935
|
context: this.context
|
|
3936
3936
|
});
|
|
3937
3937
|
},
|
|
3938
3938
|
processedBlock() {
|
|
3939
3939
|
var t;
|
|
3940
|
-
return (t = this.block.repeat) != null && t.collection ? this.block :
|
|
3940
|
+
return (t = this.block.repeat) != null && t.collection ? this.block : ps({
|
|
3941
3941
|
block: this.block,
|
|
3942
3942
|
localState: this.context.localState,
|
|
3943
3943
|
rootState: this.context.rootState,
|
|
@@ -3946,7 +3946,7 @@ const Io = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
3946
3946
|
});
|
|
3947
3947
|
},
|
|
3948
3948
|
blockComponent() {
|
|
3949
|
-
return
|
|
3949
|
+
return Fs({
|
|
3950
3950
|
block: this.processedBlock,
|
|
3951
3951
|
registeredComponents: this.registeredComponents,
|
|
3952
3952
|
model: this.context.model
|
|
@@ -3973,11 +3973,11 @@ const Io = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
3973
3973
|
blockChildren: this.processedBlock.children ?? [],
|
|
3974
3974
|
componentRef: (e = this.blockComponent) == null ? void 0 : e.component,
|
|
3975
3975
|
componentOptions: {
|
|
3976
|
-
...
|
|
3977
|
-
...
|
|
3978
|
-
...
|
|
3979
|
-
...
|
|
3980
|
-
...
|
|
3976
|
+
...ns(this.processedBlock, this.context),
|
|
3977
|
+
...zs(this.blockComponent, this.processedBlock),
|
|
3978
|
+
...qs(this.blockComponent, this.context),
|
|
3979
|
+
...Hs(this.blockComponent, this.linkComponent),
|
|
3980
|
+
...Ks(
|
|
3981
3981
|
this.blockComponent,
|
|
3982
3982
|
this.registeredComponents,
|
|
3983
3983
|
this.context.model
|
|
@@ -3993,7 +3993,7 @@ const Io = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
|
|
|
3993
3993
|
}
|
|
3994
3994
|
}
|
|
3995
3995
|
});
|
|
3996
|
-
function
|
|
3996
|
+
function ea(e, t, n, r, o, i) {
|
|
3997
3997
|
var b;
|
|
3998
3998
|
const s = W("StyleWrapper"), u = W("ComponentRef"), c = W("Block", !0), m = W("BlockWrapper"), y = W("RepeatedBlock");
|
|
3999
3999
|
return e.canShowBlock ? (v(), w(z, { key: 0 }, [
|
|
@@ -4059,10 +4059,10 @@ function Qs(e, t, n, r, o, i) {
|
|
|
4059
4059
|
], 64))
|
|
4060
4060
|
], 64)) : F("", !0);
|
|
4061
4061
|
}
|
|
4062
|
-
const
|
|
4062
|
+
const Po = /* @__PURE__ */ j(Zs, [["render", ea]]), dc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4063
4063
|
__proto__: null,
|
|
4064
|
-
default:
|
|
4065
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
4064
|
+
default: Po
|
|
4065
|
+
}, Symbol.toStringTag, { value: "Module" })), ta = B({
|
|
4066
4066
|
name: "builder-blocks-wrapper",
|
|
4067
4067
|
props: [
|
|
4068
4068
|
"blocks",
|
|
@@ -4132,7 +4132,7 @@ const Ro = /* @__PURE__ */ j(Ys, [["render", Qs]]), uc = /* @__PURE__ */ Object.
|
|
|
4132
4132
|
}
|
|
4133
4133
|
}
|
|
4134
4134
|
});
|
|
4135
|
-
function
|
|
4135
|
+
function na(e, t, n, r, o, i) {
|
|
4136
4136
|
return v(), U(dt(e.BlocksWrapper), q({
|
|
4137
4137
|
ref: "blocksWrapperRef",
|
|
4138
4138
|
class: e.className + " component-5vz8uirn7sc",
|
|
@@ -4149,9 +4149,9 @@ function ea(e, t, n, r, o, i) {
|
|
|
4149
4149
|
_: 3
|
|
4150
4150
|
}, 16, ["class", "builder-path", "builder-parent-id", "style", "onClick", "onMouseEnter", "onKeyPress"]);
|
|
4151
4151
|
}
|
|
4152
|
-
const
|
|
4152
|
+
const ra = /* @__PURE__ */ j(ta, [["render", na], ["__scopeId", "data-v-82fc93d6"]]), oa = B({
|
|
4153
4153
|
name: "builder-blocks",
|
|
4154
|
-
components: { BlocksWrapper:
|
|
4154
|
+
components: { BlocksWrapper: ra, Block: Po },
|
|
4155
4155
|
props: [
|
|
4156
4156
|
"blocks",
|
|
4157
4157
|
"parent",
|
|
@@ -4165,10 +4165,10 @@ const ta = /* @__PURE__ */ j(Zs, [["render", ea], ["__scopeId", "data-v-82fc93d6
|
|
|
4165
4165
|
],
|
|
4166
4166
|
inject: {
|
|
4167
4167
|
builderContext: vn.key,
|
|
4168
|
-
componentsContext:
|
|
4168
|
+
componentsContext: Xr.key
|
|
4169
4169
|
}
|
|
4170
4170
|
});
|
|
4171
|
-
function
|
|
4171
|
+
function ia(e, t, n, r, o, i) {
|
|
4172
4172
|
var c, m, y, b;
|
|
4173
4173
|
const s = W("Block"), u = W("BlocksWrapper");
|
|
4174
4174
|
return v(), U(u, {
|
|
@@ -4196,21 +4196,21 @@ function ra(e, t, n, r, o, i) {
|
|
|
4196
4196
|
_: 3
|
|
4197
4197
|
}, 8, ["blocks", "parent", "path", "styleProp", "BlocksWrapperProps", "classNameProp", "BlocksWrapper"]);
|
|
4198
4198
|
}
|
|
4199
|
-
const Ue = /* @__PURE__ */ j(
|
|
4199
|
+
const Ue = /* @__PURE__ */ j(oa, [["render", ia]]), sa = B({
|
|
4200
4200
|
name: "dynamic-div",
|
|
4201
4201
|
props: []
|
|
4202
4202
|
});
|
|
4203
|
-
function
|
|
4203
|
+
function aa(e, t, n, r, o, i) {
|
|
4204
4204
|
return v(), w("div", null, [
|
|
4205
4205
|
pe(e.$slots, "default")
|
|
4206
4206
|
]);
|
|
4207
4207
|
}
|
|
4208
|
-
const Ct = /* @__PURE__ */ j(
|
|
4208
|
+
const Ct = /* @__PURE__ */ j(sa, [["render", aa]]), la = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4209
4209
|
__proto__: null,
|
|
4210
4210
|
default: Ct
|
|
4211
4211
|
}, Symbol.toStringTag, { value: "Module" })), Ht = B({
|
|
4212
4212
|
render() {
|
|
4213
|
-
return
|
|
4213
|
+
return Jr("style", {
|
|
4214
4214
|
innerHTML: this.styles,
|
|
4215
4215
|
"data-id": this.id,
|
|
4216
4216
|
nonce: this.nonce
|
|
@@ -4218,7 +4218,7 @@ const Ct = /* @__PURE__ */ j(oa, [["render", ia]]), sa = /* @__PURE__ */ Object.
|
|
|
4218
4218
|
},
|
|
4219
4219
|
name: "inlined-styles",
|
|
4220
4220
|
props: ["styles", "id", "nonce"]
|
|
4221
|
-
}),
|
|
4221
|
+
}), Oo = {
|
|
4222
4222
|
xsmall: {
|
|
4223
4223
|
min: 0,
|
|
4224
4224
|
default: 160,
|
|
@@ -4239,8 +4239,8 @@ const Ct = /* @__PURE__ */ j(oa, [["render", ia]]), sa = /* @__PURE__ */ Object.
|
|
|
4239
4239
|
default: 991,
|
|
4240
4240
|
max: 1200
|
|
4241
4241
|
}
|
|
4242
|
-
},
|
|
4243
|
-
const t =
|
|
4242
|
+
}, fc = (e, t = Oo) => `@media (max-width: ${t[e].max}px)`, ua = (e) => {
|
|
4243
|
+
const t = zn(Oo);
|
|
4244
4244
|
if (!e)
|
|
4245
4245
|
return t;
|
|
4246
4246
|
const {
|
|
@@ -4277,11 +4277,11 @@ const Ct = /* @__PURE__ */ j(oa, [["render", ia]]), sa = /* @__PURE__ */ Object.
|
|
|
4277
4277
|
min: u,
|
|
4278
4278
|
default: u + 1
|
|
4279
4279
|
}, t;
|
|
4280
|
-
},
|
|
4280
|
+
}, ca = (e) => `builder-columns ${e}-breakpoints`, pa = B({
|
|
4281
4281
|
name: "builder-columns",
|
|
4282
4282
|
components: {
|
|
4283
4283
|
InlinedStyles: Ht,
|
|
4284
|
-
DynamicRenderer:
|
|
4284
|
+
DynamicRenderer: xn,
|
|
4285
4285
|
Blocks: Ue,
|
|
4286
4286
|
DynamicDiv: Ct
|
|
4287
4287
|
},
|
|
@@ -4296,7 +4296,7 @@ const Ct = /* @__PURE__ */ j(oa, [["render", ia]]), sa = /* @__PURE__ */ Object.
|
|
|
4296
4296
|
"builderComponents"
|
|
4297
4297
|
],
|
|
4298
4298
|
data() {
|
|
4299
|
-
return { TARGET: G, getColumnsClass:
|
|
4299
|
+
return { TARGET: G, getColumnsClass: ca };
|
|
4300
4300
|
},
|
|
4301
4301
|
computed: {
|
|
4302
4302
|
gutterSize() {
|
|
@@ -4375,7 +4375,7 @@ const Ct = /* @__PURE__ */ j(oa, [["render", ia]]), sa = /* @__PURE__ */ Object.
|
|
|
4375
4375
|
},
|
|
4376
4376
|
getWidthForBreakpointSize(e) {
|
|
4377
4377
|
var n, r;
|
|
4378
|
-
return
|
|
4378
|
+
return ua(
|
|
4379
4379
|
((r = (n = this.builderContext.content) == null ? void 0 : n.meta) == null ? void 0 : r.breakpoints) || {}
|
|
4380
4380
|
)[e].max;
|
|
4381
4381
|
},
|
|
@@ -4413,12 +4413,12 @@ const Ct = /* @__PURE__ */ j(oa, [["render", ia]]), sa = /* @__PURE__ */ Object.
|
|
|
4413
4413
|
href: e.link
|
|
4414
4414
|
} : {},
|
|
4415
4415
|
[Oe()]: "builder-column",
|
|
4416
|
-
style:
|
|
4416
|
+
style: $o(this.columnCssVars(t))
|
|
4417
4417
|
};
|
|
4418
4418
|
}
|
|
4419
4419
|
}
|
|
4420
4420
|
});
|
|
4421
|
-
function
|
|
4421
|
+
function da(e, t, n, r, o, i) {
|
|
4422
4422
|
var m;
|
|
4423
4423
|
const s = W("InlinedStyles"), u = W("Blocks"), c = W("DynamicRenderer");
|
|
4424
4424
|
return v(), w("div", q({
|
|
@@ -4454,32 +4454,32 @@ function ca(e, t, n, r, o, i) {
|
|
|
4454
4454
|
}, 1032, ["TagName", "attributes"]))), 128))
|
|
4455
4455
|
], 16);
|
|
4456
4456
|
}
|
|
4457
|
-
const
|
|
4457
|
+
const fa = /* @__PURE__ */ j(pa, [["render", da], ["__scopeId", "data-v-ab15749a"]]), ha = B({
|
|
4458
4458
|
name: "builder-fragment-component",
|
|
4459
4459
|
props: []
|
|
4460
4460
|
});
|
|
4461
|
-
function
|
|
4461
|
+
function ma(e, t, n, r, o, i) {
|
|
4462
4462
|
return v(), w("span", null, [
|
|
4463
4463
|
pe(e.$slots, "default")
|
|
4464
4464
|
]);
|
|
4465
4465
|
}
|
|
4466
|
-
const
|
|
4467
|
-
function
|
|
4466
|
+
const ga = /* @__PURE__ */ j(ha, [["render", ma]]);
|
|
4467
|
+
function Kr(e) {
|
|
4468
4468
|
return e.replace(/http(s)?:/, "");
|
|
4469
4469
|
}
|
|
4470
|
-
function
|
|
4470
|
+
function ya(e = "", t, n) {
|
|
4471
4471
|
const r = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), o = e.indexOf("?") !== -1 ? "&" : "?";
|
|
4472
4472
|
return e.match(r) ? e.replace(r, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + o + t + "=" + encodeURIComponent(n);
|
|
4473
4473
|
}
|
|
4474
|
-
function
|
|
4474
|
+
function va(e, t) {
|
|
4475
4475
|
if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
|
|
4476
4476
|
return e;
|
|
4477
4477
|
if (t === "master")
|
|
4478
|
-
return
|
|
4478
|
+
return Kr(e);
|
|
4479
4479
|
const n = e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);
|
|
4480
4480
|
if (n) {
|
|
4481
4481
|
const r = e.split(n[0]), o = n[3], i = t.match("x") ? t : `${t}x`;
|
|
4482
|
-
return
|
|
4482
|
+
return Kr(`${r[0]}_${i}${o}`);
|
|
4483
4483
|
}
|
|
4484
4484
|
return null;
|
|
4485
4485
|
}
|
|
@@ -4490,11 +4490,11 @@ function Ot(e) {
|
|
|
4490
4490
|
if (e.match(/builder\.io/)) {
|
|
4491
4491
|
let n = e;
|
|
4492
4492
|
const r = Number(e.split("?width=")[1]);
|
|
4493
|
-
return isNaN(r) || (n = `${n} ${r}w`), t.filter((o) => o !== r).map((o) => `${
|
|
4493
|
+
return isNaN(r) || (n = `${n} ${r}w`), t.filter((o) => o !== r).map((o) => `${ya(e, "width", o)} ${o}w`).concat([n]).join(", ");
|
|
4494
4494
|
}
|
|
4495
|
-
return e.match(/cdn\.shopify\.com/) ? t.map((n) => [
|
|
4495
|
+
return e.match(/cdn\.shopify\.com/) ? t.map((n) => [va(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, r]) => `${n} ${r}w`).concat([e]).join(", ") : e;
|
|
4496
4496
|
}
|
|
4497
|
-
const
|
|
4497
|
+
const ba = B({
|
|
4498
4498
|
name: "builder-image",
|
|
4499
4499
|
props: [
|
|
4500
4500
|
"lazy",
|
|
@@ -4502,14 +4502,14 @@ const ya = B({
|
|
|
4502
4502
|
"src",
|
|
4503
4503
|
"srcset",
|
|
4504
4504
|
"noWebp",
|
|
4505
|
-
"
|
|
4505
|
+
"sizes",
|
|
4506
4506
|
"highPriority",
|
|
4507
|
+
"aspectRatio",
|
|
4507
4508
|
"altText",
|
|
4508
4509
|
"title",
|
|
4509
4510
|
"backgroundPosition",
|
|
4510
4511
|
"backgroundSize",
|
|
4511
4512
|
"className",
|
|
4512
|
-
"sizes",
|
|
4513
4513
|
"builderBlock",
|
|
4514
4514
|
"fitContent"
|
|
4515
4515
|
],
|
|
@@ -4534,6 +4534,9 @@ const ya = B({
|
|
|
4534
4534
|
var e;
|
|
4535
4535
|
return (e = this.srcSetToUse) != null && e.match(/builder\.io/) && !this.noWebp ? this.srcSetToUse.replace(/\?/g, "?format=webp&") : "";
|
|
4536
4536
|
},
|
|
4537
|
+
sizesToUse() {
|
|
4538
|
+
return this.sizes || (this.highPriority ? void 0 : "auto");
|
|
4539
|
+
},
|
|
4537
4540
|
aspectRatioCss() {
|
|
4538
4541
|
const e = {
|
|
4539
4542
|
position: "absolute",
|
|
@@ -4545,19 +4548,20 @@ const ya = B({
|
|
|
4545
4548
|
return this.aspectRatio ? e : void 0;
|
|
4546
4549
|
}
|
|
4547
4550
|
}
|
|
4548
|
-
}),
|
|
4551
|
+
}), Sa = ["srcset", "sizes"], ka = ["loading", "fetchpriority", "alt", "title", "role", "src", "srcset", "sizes"], Ca = {
|
|
4549
4552
|
key: 2,
|
|
4550
4553
|
class: "div-t43jfuqn6g-2"
|
|
4551
4554
|
};
|
|
4552
|
-
function
|
|
4555
|
+
function wa(e, t, n, r, o, i) {
|
|
4553
4556
|
var s, u, c, m, y, b;
|
|
4554
4557
|
return v(), w(z, null, [
|
|
4555
4558
|
Ge("picture", null, [
|
|
4556
4559
|
e.webpSrcSet ? (v(), w("source", {
|
|
4557
4560
|
key: 0,
|
|
4558
4561
|
type: "image/webp",
|
|
4559
|
-
srcset: e.webpSrcSet
|
|
4560
|
-
|
|
4562
|
+
srcset: e.webpSrcSet,
|
|
4563
|
+
sizes: e.sizesToUse
|
|
4564
|
+
}, null, 8, Sa)) : F("", !0),
|
|
4561
4565
|
Ge("img", {
|
|
4562
4566
|
loading: e.highPriority ? "eager" : "lazy",
|
|
4563
4567
|
fetchpriority: e.highPriority ? "high" : "auto",
|
|
@@ -4574,8 +4578,8 @@ function ka(e, t, n, r, o, i) {
|
|
|
4574
4578
|
),
|
|
4575
4579
|
src: e.image,
|
|
4576
4580
|
srcset: e.srcSetToUse,
|
|
4577
|
-
sizes: e.
|
|
4578
|
-
}, null, 14,
|
|
4581
|
+
sizes: e.sizesToUse
|
|
4582
|
+
}, null, 14, ka)
|
|
4579
4583
|
]),
|
|
4580
4584
|
e.aspectRatio && !((u = (s = e.builderBlock) == null ? void 0 : s.children) != null && u.length && e.fitContent) ? (v(), w("div", {
|
|
4581
4585
|
key: 0,
|
|
@@ -4585,19 +4589,19 @@ function ka(e, t, n, r, o, i) {
|
|
|
4585
4589
|
})
|
|
4586
4590
|
}, null, 4)) : F("", !0),
|
|
4587
4591
|
(m = (c = e.builderBlock) == null ? void 0 : c.children) != null && m.length && e.fitContent ? pe(e.$slots, "default", { key: 1 }, void 0, !0) : F("", !0),
|
|
4588
|
-
!e.fitContent && ((b = (y = e.builderBlock) == null ? void 0 : y.children) != null && b.length) ? (v(), w("div",
|
|
4592
|
+
!e.fitContent && ((b = (y = e.builderBlock) == null ? void 0 : y.children) != null && b.length) ? (v(), w("div", Ca, [
|
|
4589
4593
|
pe(e.$slots, "default", {}, void 0, !0)
|
|
4590
4594
|
])) : F("", !0)
|
|
4591
4595
|
], 64);
|
|
4592
4596
|
}
|
|
4593
|
-
const
|
|
4597
|
+
const Ta = /* @__PURE__ */ j(ba, [["render", wa], ["__scopeId", "data-v-17b592cd"]]), Ea = B({
|
|
4594
4598
|
name: "builder-section-component",
|
|
4595
4599
|
props: ["attributes", "maxWidth"],
|
|
4596
4600
|
data() {
|
|
4597
4601
|
return { filterAttrs: de };
|
|
4598
4602
|
}
|
|
4599
4603
|
});
|
|
4600
|
-
function
|
|
4604
|
+
function Ia(e, t, n, r, o, i) {
|
|
4601
4605
|
return v(), w("section", q({
|
|
4602
4606
|
style: {
|
|
4603
4607
|
width: "100%",
|
|
@@ -4615,8 +4619,8 @@ function Ta(e, t, n, r, o, i) {
|
|
|
4615
4619
|
pe(e.$slots, "default")
|
|
4616
4620
|
], 16);
|
|
4617
4621
|
}
|
|
4618
|
-
const
|
|
4619
|
-
function
|
|
4622
|
+
const Ra = /* @__PURE__ */ j(Ea, [["render", Ia]]);
|
|
4623
|
+
function Aa(e, t, n, r) {
|
|
4620
4624
|
function o(m) {
|
|
4621
4625
|
return typeof m == "string";
|
|
4622
4626
|
}
|
|
@@ -4673,7 +4677,7 @@ function Ia(e, t, n, r) {
|
|
|
4673
4677
|
}, c = e.date && new Date(e.date) || /* @__PURE__ */ new Date();
|
|
4674
4678
|
return u.startDate && new Date(u.startDate) > c || u.endDate && new Date(u.endDate) < c ? !1 : !u.query || !u.query.length ? !0 : u.query.every((m) => s(e, m));
|
|
4675
4679
|
}
|
|
4676
|
-
const
|
|
4680
|
+
const $a = `function getPersonalizedVariant(variants, blockId, isHydrationTarget, locale) {
|
|
4677
4681
|
if (!navigator.cookieEnabled) {
|
|
4678
4682
|
return;
|
|
4679
4683
|
}
|
|
@@ -4718,7 +4722,7 @@ const Ra = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
|
|
|
4718
4722
|
thisScript.remove();
|
|
4719
4723
|
}
|
|
4720
4724
|
}
|
|
4721
|
-
}`,
|
|
4725
|
+
}`, xa = `function filterWithCustomTargeting(userAttributes, query, startDate, endDate) {
|
|
4722
4726
|
function isString(val) {
|
|
4723
4727
|
return typeof val === 'string';
|
|
4724
4728
|
}
|
|
@@ -4796,7 +4800,7 @@ const Ra = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
|
|
|
4796
4800
|
return item.query.every(filter => {
|
|
4797
4801
|
return objectMatchesQuery(userAttributes, filter);
|
|
4798
4802
|
});
|
|
4799
|
-
}`,
|
|
4803
|
+
}`, Pa = `function updateVisibilityStylesScript(variants, blockId, isHydrationTarget, locale) {
|
|
4800
4804
|
function getCookie(name) {
|
|
4801
4805
|
const nameEQ = name + '=';
|
|
4802
4806
|
const ca = document.cookie.split(';');
|
|
@@ -4834,11 +4838,11 @@ const Ra = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
|
|
|
4834
4838
|
visibilityStylesEl.innerHTML = newStyleStr;
|
|
4835
4839
|
}
|
|
4836
4840
|
}
|
|
4837
|
-
}`, Nt = "default",
|
|
4838
|
-
function
|
|
4839
|
-
return !(e && e.length > 0) || !t ? !1 :
|
|
4841
|
+
}`, Nt = "default", zr = "filterWithCustomTargeting", En = "builderIoPersonalization", In = "updateVisibilityStylesScript", Oa = "PersonalizationContainer", No = ["react", "vue", "svelte", "qwik"], Bo = ["vue", "svelte", "qwik"];
|
|
4842
|
+
function Na(e, t) {
|
|
4843
|
+
return !(e && e.length > 0) || !t ? !1 : Bo.includes(G) ? !0 : !M();
|
|
4840
4844
|
}
|
|
4841
|
-
function
|
|
4845
|
+
function Ba({
|
|
4842
4846
|
variants: e,
|
|
4843
4847
|
previewingIndex: t,
|
|
4844
4848
|
isHydrated: n,
|
|
@@ -4876,11 +4880,22 @@ function Oa({
|
|
|
4876
4880
|
}
|
|
4877
4881
|
return i;
|
|
4878
4882
|
}
|
|
4879
|
-
const
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
|
|
4883
|
+
const Rn = (e) => {
|
|
4884
|
+
var t;
|
|
4885
|
+
return Array.isArray(e) ? e.some(Rn) : !e || typeof e != "object" ? !1 : ((t = e.component) == null ? void 0 : t.name) === Oa ? !0 : Object.values(e).some(Rn);
|
|
4886
|
+
}, ja = (e) => Rn(e), Va = () => `
|
|
4887
|
+
(function() {
|
|
4888
|
+
if (!window.${zr}) {
|
|
4889
|
+
window.${zr} = ${xa};
|
|
4890
|
+
}
|
|
4891
|
+
if (!window.${En}) {
|
|
4892
|
+
window.${En} = ${$a};
|
|
4893
|
+
}
|
|
4894
|
+
if (!window.${In}) {
|
|
4895
|
+
window.${In} = ${Pa};
|
|
4896
|
+
}
|
|
4897
|
+
})();
|
|
4898
|
+
`, jo = G === "react", Da = (e, t, n) => `window.${En}(${JSON.stringify(e)}, "${t}", ${jo}${n ? `, "${n}"` : ""})`, Ua = (e, t, n) => `window.${In}(${JSON.stringify(e)}, "${t}", ${jo}${n ? `, "${n}"` : ""})`, hn = {
|
|
4884
4899
|
"@type": "@builder.io/sdk:Element",
|
|
4885
4900
|
layerName: "Accordion item title",
|
|
4886
4901
|
responsiveStyles: {
|
|
@@ -4940,7 +4955,7 @@ const Na = () => `
|
|
|
4940
4955
|
}
|
|
4941
4956
|
}
|
|
4942
4957
|
}]
|
|
4943
|
-
},
|
|
4958
|
+
}, Wa = {
|
|
4944
4959
|
name: "Builder:Accordion",
|
|
4945
4960
|
canHaveChildren: !0,
|
|
4946
4961
|
image: "https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Ffab6c1fd3fe542408cbdec078bca7f35",
|
|
@@ -5004,7 +5019,7 @@ const Na = () => `
|
|
|
5004
5019
|
builderComponents: !0,
|
|
5005
5020
|
builderLinkComponent: !0
|
|
5006
5021
|
}
|
|
5007
|
-
},
|
|
5022
|
+
}, La = (e) => e.toString(), Fa = B({
|
|
5008
5023
|
name: "builder-accordion",
|
|
5009
5024
|
components: { Blocks: Ue },
|
|
5010
5025
|
props: [
|
|
@@ -5018,7 +5033,7 @@ const Na = () => `
|
|
|
5018
5033
|
"builderLinkComponent"
|
|
5019
5034
|
],
|
|
5020
5035
|
data() {
|
|
5021
|
-
return { open: [], convertOrderNumberToString:
|
|
5036
|
+
return { open: [], convertOrderNumberToString: La };
|
|
5022
5037
|
},
|
|
5023
5038
|
computed: {
|
|
5024
5039
|
onlyOneAtATime() {
|
|
@@ -5099,8 +5114,8 @@ const Na = () => `
|
|
|
5099
5114
|
this.open.includes(e) ? this.open = this.onlyOneAtATime ? [] : this.open.filter((t) => t !== e) : this.open = this.onlyOneAtATime ? [e] : this.open.concat(e);
|
|
5100
5115
|
}
|
|
5101
5116
|
}
|
|
5102
|
-
}),
|
|
5103
|
-
function
|
|
5117
|
+
}), Ma = ["data-index", "onClick"];
|
|
5118
|
+
function Ha(e, t, n, r, o, i) {
|
|
5104
5119
|
const s = W("Blocks");
|
|
5105
5120
|
return v(), w("div", {
|
|
5106
5121
|
class: "builder-accordion",
|
|
@@ -5127,7 +5142,7 @@ function La(e, t, n, r, o, i) {
|
|
|
5127
5142
|
registeredComponents: e.builderComponents,
|
|
5128
5143
|
linkComponent: e.builderLinkComponent
|
|
5129
5144
|
}, null, 8, ["blocks", "path", "parent", "context", "registeredComponents", "linkComponent"])
|
|
5130
|
-
], 14,
|
|
5145
|
+
], 14, Ma),
|
|
5131
5146
|
e.open.includes(c) ? (v(), w("div", {
|
|
5132
5147
|
key: 0,
|
|
5133
5148
|
class: gt(e.getAccordionDetailClassName(c)),
|
|
@@ -5145,7 +5160,7 @@ function La(e, t, n, r, o, i) {
|
|
|
5145
5160
|
], 64))), 128))
|
|
5146
5161
|
], 4);
|
|
5147
5162
|
}
|
|
5148
|
-
const
|
|
5163
|
+
const Ka = /* @__PURE__ */ j(Fa, [["render", Ha]]), za = {
|
|
5149
5164
|
name: "Core:Button",
|
|
5150
5165
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
|
|
5151
5166
|
defaultStyles: {
|
|
@@ -5181,7 +5196,7 @@ const Fa = /* @__PURE__ */ j(Ua, [["render", La]]), Ma = {
|
|
|
5181
5196
|
shouldReceiveBuilderProps: {
|
|
5182
5197
|
builderLinkComponent: !0
|
|
5183
5198
|
}
|
|
5184
|
-
},
|
|
5199
|
+
}, qa = {
|
|
5185
5200
|
// TODO: ways to statically preprocess JSON for references, functions, etc
|
|
5186
5201
|
name: "Columns",
|
|
5187
5202
|
isRSC: !0,
|
|
@@ -5388,13 +5403,13 @@ const Fa = /* @__PURE__ */ j(Ua, [["render", La]]), Ma = {
|
|
|
5388
5403
|
builderComponents: !0,
|
|
5389
5404
|
builderLinkComponent: !0
|
|
5390
5405
|
}
|
|
5391
|
-
},
|
|
5406
|
+
}, Ga = {
|
|
5392
5407
|
name: "Fragment",
|
|
5393
5408
|
static: !0,
|
|
5394
5409
|
hidden: !0,
|
|
5395
5410
|
canHaveChildren: !0,
|
|
5396
5411
|
noWrap: !0
|
|
5397
|
-
},
|
|
5412
|
+
}, Yn = ["jpeg", "jpg", "png", "svg", "webp", "gif", "jfif", "pjpeg", "pjp", "apng", "avif", "tif", "tiff", "heif", "bmp", "eps", "raw", "cr2", "nef", "orf", "sr2", "psd", "heic", "dib", "ai"], _a = ["mp4", "webm", "mkv", "flv", "vob", "ogv", "ogg", "drc", "gif", "gifv", "mng", "avi", "mov", "qt", "mts", "m2ts", "ts", "wmv", "yuv", "rm", "rmvb", "viv", "asf", "amv", "m4p", "mpeg", "mpe", "m2v", "m4v", "svi", "3gp", "3g2", "mxf", "roq", "nsv", "f4v", "f4p", "f4a", "f4b"], Ja = {
|
|
5398
5413
|
name: "Image",
|
|
5399
5414
|
static: !0,
|
|
5400
5415
|
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",
|
|
@@ -5409,7 +5424,7 @@ const Fa = /* @__PURE__ */ j(Ua, [["render", La]]), Ma = {
|
|
|
5409
5424
|
name: "image",
|
|
5410
5425
|
type: "file",
|
|
5411
5426
|
bubble: !0,
|
|
5412
|
-
allowedFileTypes:
|
|
5427
|
+
allowedFileTypes: Yn,
|
|
5413
5428
|
required: !0,
|
|
5414
5429
|
defaultValue: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",
|
|
5415
5430
|
onChange: (e) => {
|
|
@@ -5476,7 +5491,8 @@ const Fa = /* @__PURE__ */ j(Ua, [["render", La]]), Ma = {
|
|
|
5476
5491
|
}, {
|
|
5477
5492
|
name: "sizes",
|
|
5478
5493
|
type: "string",
|
|
5479
|
-
|
|
5494
|
+
advanced: !0,
|
|
5495
|
+
helperText: 'The sizes attribute for responsive images, e.g. "(max-width: 600px) 100vw, 50vw"'
|
|
5480
5496
|
}, {
|
|
5481
5497
|
name: "srcset",
|
|
5482
5498
|
type: "string",
|
|
@@ -5506,7 +5522,7 @@ const Fa = /* @__PURE__ */ j(Ua, [["render", La]]), Ma = {
|
|
|
5506
5522
|
shouldReceiveBuilderProps: {
|
|
5507
5523
|
builderBlock: !0
|
|
5508
5524
|
}
|
|
5509
|
-
},
|
|
5525
|
+
}, Xa = {
|
|
5510
5526
|
name: "PersonalizationContainer",
|
|
5511
5527
|
shouldReceiveBuilderProps: {
|
|
5512
5528
|
builderBlock: !0,
|
|
@@ -5542,9 +5558,9 @@ const Fa = /* @__PURE__ */ j(Ua, [["render", La]]), Ma = {
|
|
|
5542
5558
|
defaultValue: []
|
|
5543
5559
|
}]
|
|
5544
5560
|
}]
|
|
5545
|
-
},
|
|
5561
|
+
}, Qn = B({
|
|
5546
5562
|
render() {
|
|
5547
|
-
return
|
|
5563
|
+
return Jr("script", {
|
|
5548
5564
|
innerHTML: this.scriptStr,
|
|
5549
5565
|
"data-id": this.id,
|
|
5550
5566
|
nonce: this.nonce
|
|
@@ -5552,12 +5568,12 @@ const Fa = /* @__PURE__ */ j(Ua, [["render", La]]), Ma = {
|
|
|
5552
5568
|
},
|
|
5553
5569
|
name: "inlined-script",
|
|
5554
5570
|
props: ["scriptStr", "id", "nonce"]
|
|
5555
|
-
}),
|
|
5571
|
+
}), Ya = B({
|
|
5556
5572
|
name: "builder-personalization-container",
|
|
5557
5573
|
components: {
|
|
5558
5574
|
Blocks: Ue,
|
|
5559
5575
|
InlinedStyles: Ht,
|
|
5560
|
-
InlinedScript:
|
|
5576
|
+
InlinedScript: Qn
|
|
5561
5577
|
},
|
|
5562
5578
|
props: [
|
|
5563
5579
|
"builderContext",
|
|
@@ -5571,25 +5587,25 @@ const Fa = /* @__PURE__ */ j(Ua, [["render", La]]), Ma = {
|
|
|
5571
5587
|
var e, t, n, r, o, i, s;
|
|
5572
5588
|
return {
|
|
5573
5589
|
userAttributes: Ut.getUserAttributes(),
|
|
5574
|
-
scriptStr:
|
|
5590
|
+
scriptStr: Da(
|
|
5575
5591
|
this.variants,
|
|
5576
5592
|
((e = this.builderBlock) == null ? void 0 : e.id) || "none",
|
|
5577
5593
|
(n = (t = this.builderContext) == null ? void 0 : t.rootState) == null ? void 0 : n.locale
|
|
5578
5594
|
),
|
|
5579
|
-
updateVisibilityStylesScript:
|
|
5595
|
+
updateVisibilityStylesScript: Ua(
|
|
5580
5596
|
this.variants,
|
|
5581
5597
|
((r = this.builderBlock) == null ? void 0 : r.id) || "none",
|
|
5582
5598
|
(i = (o = this.builderContext) == null ? void 0 : o.rootState) == null ? void 0 : i.locale
|
|
5583
5599
|
),
|
|
5584
5600
|
unsubscribers: [],
|
|
5585
|
-
shouldRenderVariants:
|
|
5601
|
+
shouldRenderVariants: Na(
|
|
5586
5602
|
this.variants,
|
|
5587
5603
|
Xe((s = this.builderContext) == null ? void 0 : s.canTrack)
|
|
5588
5604
|
),
|
|
5589
5605
|
shouldResetVariants: !1,
|
|
5590
5606
|
TARGET: G,
|
|
5591
5607
|
DEFAULT_INDEX: Nt,
|
|
5592
|
-
SDKS_REQUIRING_RESET_APPROACH:
|
|
5608
|
+
SDKS_REQUIRING_RESET_APPROACH: Bo
|
|
5593
5609
|
};
|
|
5594
5610
|
},
|
|
5595
5611
|
mounted() {
|
|
@@ -5603,7 +5619,7 @@ const Fa = /* @__PURE__ */ j(Ua, [["render", La]]), Ma = {
|
|
|
5603
5619
|
fireImmediately: G === "qwik"
|
|
5604
5620
|
}
|
|
5605
5621
|
);
|
|
5606
|
-
if (!(oe() ||
|
|
5622
|
+
if (!(oe() || qn())) {
|
|
5607
5623
|
const n = this.filteredVariants[0];
|
|
5608
5624
|
this.$refs.rootRef && (this.$refs.rootRef.dispatchEvent(
|
|
5609
5625
|
new CustomEvent("builder.variantLoaded", {
|
|
@@ -5644,7 +5660,7 @@ const Fa = /* @__PURE__ */ j(Ua, [["render", La]]), Ma = {
|
|
|
5644
5660
|
filteredVariants() {
|
|
5645
5661
|
return (this.variants || []).filter((e) => {
|
|
5646
5662
|
var t, n, r, o;
|
|
5647
|
-
return
|
|
5663
|
+
return Aa(
|
|
5648
5664
|
{
|
|
5649
5665
|
...(n = (t = this.builderContext) == null ? void 0 : t.rootState) != null && n.locale ? {
|
|
5650
5666
|
locale: (o = (r = this.builderContext) == null ? void 0 : r.rootState) == null ? void 0 : o.locale
|
|
@@ -5659,7 +5675,7 @@ const Fa = /* @__PURE__ */ j(Ua, [["render", La]]), Ma = {
|
|
|
5659
5675
|
},
|
|
5660
5676
|
blocksToRender() {
|
|
5661
5677
|
var e;
|
|
5662
|
-
return
|
|
5678
|
+
return Ba({
|
|
5663
5679
|
variants: this.variants,
|
|
5664
5680
|
fallbackBlocks: (e = this.builderBlock) == null ? void 0 : e.children,
|
|
5665
5681
|
isHydrated: this.shouldResetVariants,
|
|
@@ -5677,7 +5693,7 @@ const Fa = /* @__PURE__ */ j(Ua, [["render", La]]), Ma = {
|
|
|
5677
5693
|
}
|
|
5678
5694
|
}
|
|
5679
5695
|
});
|
|
5680
|
-
function
|
|
5696
|
+
function Qa(e, t, n, r, o, i) {
|
|
5681
5697
|
var m, y, b, h, S, A, $, H, te, E;
|
|
5682
5698
|
const s = W("Blocks"), u = W("InlinedStyles"), c = W("InlinedScript");
|
|
5683
5699
|
return v(), w("div", q({ ref: "rootRef" }, e.attrs), [
|
|
@@ -5762,7 +5778,7 @@ function Ja(e, t, n, r, o, i) {
|
|
|
5762
5778
|
], 64)) : F("", !0)
|
|
5763
5779
|
], 16);
|
|
5764
5780
|
}
|
|
5765
|
-
const
|
|
5781
|
+
const Za = /* @__PURE__ */ j(Ya, [["render", Qa]]), el = {
|
|
5766
5782
|
name: "Core:Section",
|
|
5767
5783
|
static: !0,
|
|
5768
5784
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
|
|
@@ -5801,7 +5817,7 @@ const Xa = /* @__PURE__ */ j(_a, [["render", Ja]]), Ya = {
|
|
|
5801
5817
|
}
|
|
5802
5818
|
}
|
|
5803
5819
|
}]
|
|
5804
|
-
},
|
|
5820
|
+
}, tl = {
|
|
5805
5821
|
name: "Slot",
|
|
5806
5822
|
isRSC: !0,
|
|
5807
5823
|
description: "Allow child blocks to be inserted into this content when used as a Symbol",
|
|
@@ -5818,12 +5834,12 @@ const Xa = /* @__PURE__ */ j(_a, [["render", Ja]]), Ya = {
|
|
|
5818
5834
|
builderContext: !0,
|
|
5819
5835
|
builderComponents: !0
|
|
5820
5836
|
}
|
|
5821
|
-
},
|
|
5837
|
+
}, nl = B({
|
|
5822
5838
|
name: "builder-slot",
|
|
5823
5839
|
components: { Blocks: Ue },
|
|
5824
5840
|
props: ["builderContext", "name", "builderComponents"]
|
|
5825
5841
|
});
|
|
5826
|
-
function
|
|
5842
|
+
function rl(e, t, n, r, o, i) {
|
|
5827
5843
|
var u, c, m;
|
|
5828
5844
|
const s = W("Blocks");
|
|
5829
5845
|
return v(), w("div", q(
|
|
@@ -5843,7 +5859,7 @@ function el(e, t, n, r, o, i) {
|
|
|
5843
5859
|
}, null, 8, ["parent", "path", "context", "registeredComponents", "blocks"])
|
|
5844
5860
|
], 16);
|
|
5845
5861
|
}
|
|
5846
|
-
const
|
|
5862
|
+
const ol = /* @__PURE__ */ j(nl, [["render", rl]]), il = {
|
|
5847
5863
|
name: "Symbol",
|
|
5848
5864
|
noWrap: !0,
|
|
5849
5865
|
static: !0,
|
|
@@ -5920,7 +5936,7 @@ const tl = /* @__PURE__ */ j(Za, [["render", el]]), nl = {
|
|
|
5920
5936
|
text: "New tab content "
|
|
5921
5937
|
}
|
|
5922
5938
|
}
|
|
5923
|
-
},
|
|
5939
|
+
}, sl = {
|
|
5924
5940
|
name: "Builder: Tabs",
|
|
5925
5941
|
inputs: [{
|
|
5926
5942
|
name: "tabs",
|
|
@@ -6023,7 +6039,7 @@ const tl = /* @__PURE__ */ j(Za, [["render", el]]), nl = {
|
|
|
6023
6039
|
builderComponents: !0,
|
|
6024
6040
|
builderLinkComponent: !0
|
|
6025
6041
|
}
|
|
6026
|
-
},
|
|
6042
|
+
}, al = B({
|
|
6027
6043
|
name: "builder-tabs",
|
|
6028
6044
|
components: { Blocks: Ue },
|
|
6029
6045
|
props: [
|
|
@@ -6051,8 +6067,8 @@ const tl = /* @__PURE__ */ j(Za, [["render", el]]), nl = {
|
|
|
6051
6067
|
e === this.activeTab && this.collapsible ? this.activeTab = -1 : this.activeTab = e;
|
|
6052
6068
|
}
|
|
6053
6069
|
}
|
|
6054
|
-
}),
|
|
6055
|
-
function
|
|
6070
|
+
}), ll = ["onClick"], ul = { key: 0 };
|
|
6071
|
+
function cl(e, t, n, r, o, i) {
|
|
6056
6072
|
const s = W("Blocks");
|
|
6057
6073
|
return v(), w("div", null, [
|
|
6058
6074
|
Ge("div", {
|
|
@@ -6078,9 +6094,9 @@ function al(e, t, n, r, o, i) {
|
|
|
6078
6094
|
registeredComponents: e.builderComponents,
|
|
6079
6095
|
linkComponent: e.builderLinkComponent
|
|
6080
6096
|
}, null, 8, ["parent", "path", "blocks", "context", "registeredComponents", "linkComponent"])
|
|
6081
|
-
], 14,
|
|
6097
|
+
], 14, ll))), 128))
|
|
6082
6098
|
], 4),
|
|
6083
|
-
e.activeTabContent(e.activeTab) ? (v(), w("div",
|
|
6099
|
+
e.activeTabContent(e.activeTab) ? (v(), w("div", ul, [
|
|
6084
6100
|
ee(s, {
|
|
6085
6101
|
parent: e.builderBlock.id,
|
|
6086
6102
|
path: `tabs.${e.activeTab}.content`,
|
|
@@ -6092,7 +6108,7 @@ function al(e, t, n, r, o, i) {
|
|
|
6092
6108
|
])) : F("", !0)
|
|
6093
6109
|
]);
|
|
6094
6110
|
}
|
|
6095
|
-
const
|
|
6111
|
+
const pl = /* @__PURE__ */ j(al, [["render", cl]]), dl = {
|
|
6096
6112
|
shouldReceiveBuilderProps: {},
|
|
6097
6113
|
name: "Text",
|
|
6098
6114
|
static: !0,
|
|
@@ -6110,11 +6126,11 @@ const ll = /* @__PURE__ */ j(ol, [["render", al]]), ul = {
|
|
|
6110
6126
|
height: "auto",
|
|
6111
6127
|
textAlign: "center"
|
|
6112
6128
|
}
|
|
6113
|
-
},
|
|
6129
|
+
}, fl = B({
|
|
6114
6130
|
name: "builder-text",
|
|
6115
6131
|
props: ["text"]
|
|
6116
|
-
}),
|
|
6117
|
-
function
|
|
6132
|
+
}), hl = ["innerHTML"];
|
|
6133
|
+
function ml(e, t, n, r, o, i) {
|
|
6118
6134
|
var s;
|
|
6119
6135
|
return v(), w("div", {
|
|
6120
6136
|
class: "builder-text",
|
|
@@ -6122,9 +6138,9 @@ function dl(e, t, n, r, o, i) {
|
|
|
6122
6138
|
style: {
|
|
6123
6139
|
outline: "none"
|
|
6124
6140
|
}
|
|
6125
|
-
}, null, 8,
|
|
6141
|
+
}, null, 8, hl);
|
|
6126
6142
|
}
|
|
6127
|
-
const
|
|
6143
|
+
const gl = /* @__PURE__ */ j(fl, [["render", ml]]), yl = {
|
|
6128
6144
|
name: "Custom Code",
|
|
6129
6145
|
static: !0,
|
|
6130
6146
|
requiredPermissions: ["editCode"],
|
|
@@ -6146,7 +6162,7 @@ const fl = /* @__PURE__ */ j(cl, [["render", dl]]), hl = {
|
|
|
6146
6162
|
helperText: "Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads",
|
|
6147
6163
|
advanced: !0
|
|
6148
6164
|
}]
|
|
6149
|
-
},
|
|
6165
|
+
}, vl = B({
|
|
6150
6166
|
name: "builder-custom-code",
|
|
6151
6167
|
props: ["code", "replaceNodes"],
|
|
6152
6168
|
data() {
|
|
@@ -6205,15 +6221,15 @@ const fl = /* @__PURE__ */ j(cl, [["render", dl]]), hl = {
|
|
|
6205
6221
|
}
|
|
6206
6222
|
}
|
|
6207
6223
|
}
|
|
6208
|
-
}),
|
|
6209
|
-
function
|
|
6224
|
+
}), bl = ["innerHTML"];
|
|
6225
|
+
function Sl(e, t, n, r, o, i) {
|
|
6210
6226
|
return v(), w("div", {
|
|
6211
6227
|
ref: "elementRef",
|
|
6212
6228
|
class: gt("builder-custom-code" + (e.replaceNodes ? " replace-nodes" : "")),
|
|
6213
6229
|
innerHTML: e.code
|
|
6214
|
-
}, null, 10,
|
|
6230
|
+
}, null, 10, bl);
|
|
6215
6231
|
}
|
|
6216
|
-
const
|
|
6232
|
+
const kl = /* @__PURE__ */ j(vl, [["render", Sl]]), Cl = {
|
|
6217
6233
|
name: "Embed",
|
|
6218
6234
|
static: !0,
|
|
6219
6235
|
inputs: [{
|
|
@@ -6228,7 +6244,7 @@ const vl = /* @__PURE__ */ j(ml, [["render", yl]]), bl = {
|
|
|
6228
6244
|
defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
|
|
6229
6245
|
hideFromUI: !0
|
|
6230
6246
|
}]
|
|
6231
|
-
},
|
|
6247
|
+
}, wl = ["text/javascript", "application/javascript", "application/ecmascript"], Tl = (e) => wl.includes(e.type), El = B({
|
|
6232
6248
|
name: "builder-embed",
|
|
6233
6249
|
props: ["content"],
|
|
6234
6250
|
data() {
|
|
@@ -6261,7 +6277,7 @@ const vl = /* @__PURE__ */ j(ml, [["render", yl]]), bl = {
|
|
|
6261
6277
|
this.scriptsInserted.push(n.src);
|
|
6262
6278
|
const r = document.createElement("script");
|
|
6263
6279
|
r.async = !0, r.src = n.src, document.head.appendChild(r);
|
|
6264
|
-
} else if (
|
|
6280
|
+
} else if (Tl(n) && !this.scriptsRun.includes(n.innerText))
|
|
6265
6281
|
try {
|
|
6266
6282
|
this.scriptsRun.push(n.innerText), new Function(n.innerText)();
|
|
6267
6283
|
} catch (r) {
|
|
@@ -6270,15 +6286,15 @@ const vl = /* @__PURE__ */ j(ml, [["render", yl]]), bl = {
|
|
|
6270
6286
|
}
|
|
6271
6287
|
}
|
|
6272
6288
|
}
|
|
6273
|
-
}),
|
|
6274
|
-
function
|
|
6289
|
+
}), Il = ["innerHTML"];
|
|
6290
|
+
function Rl(e, t, n, r, o, i) {
|
|
6275
6291
|
return v(), w("div", {
|
|
6276
6292
|
class: "builder-embed",
|
|
6277
6293
|
ref: "elem",
|
|
6278
6294
|
innerHTML: e.content
|
|
6279
|
-
}, null, 8,
|
|
6295
|
+
}, null, 8, Il);
|
|
6280
6296
|
}
|
|
6281
|
-
const
|
|
6297
|
+
const Al = /* @__PURE__ */ j(El, [["render", Rl]]), $l = {
|
|
6282
6298
|
name: "Form:Form",
|
|
6283
6299
|
// editableTags: ['builder-form-error']
|
|
6284
6300
|
defaults: {
|
|
@@ -6515,10 +6531,10 @@ const El = /* @__PURE__ */ j(Cl, [["render", Tl]]), Il = {
|
|
|
6515
6531
|
builderComponents: !0,
|
|
6516
6532
|
builderLinkComponent: !0
|
|
6517
6533
|
}
|
|
6518
|
-
},
|
|
6534
|
+
}, xl = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], Pl = () => {
|
|
6519
6535
|
const e = process.env.NODE_ENV || "production";
|
|
6520
|
-
return
|
|
6521
|
-
},
|
|
6536
|
+
return xl.includes(e) ? e : "production";
|
|
6537
|
+
}, Ol = B({
|
|
6522
6538
|
name: "builder-form-component",
|
|
6523
6539
|
components: { Blocks: Ue },
|
|
6524
6540
|
props: [
|
|
@@ -6611,7 +6627,7 @@ const El = /* @__PURE__ */ j(Cl, [["render", Tl]]), Il = {
|
|
|
6611
6627
|
else {
|
|
6612
6628
|
const h = {};
|
|
6613
6629
|
Array.from(u).forEach(({ value: S, key: A }) => {
|
|
6614
|
-
|
|
6630
|
+
go(h, A, S);
|
|
6615
6631
|
}), i = JSON.stringify(h);
|
|
6616
6632
|
}
|
|
6617
6633
|
c && c !== "multipart/form-data" && (t && ((n = this.action) != null && n.includes("zapier.com")) || (o["content-type"] = c));
|
|
@@ -6629,10 +6645,10 @@ const El = /* @__PURE__ */ j(Cl, [["render", Tl]]), Il = {
|
|
|
6629
6645
|
});
|
|
6630
6646
|
return;
|
|
6631
6647
|
}
|
|
6632
|
-
const y = `${
|
|
6648
|
+
const y = `${Pl() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${this.builderContext.apiKey}&to=${btoa(
|
|
6633
6649
|
this.sendSubmissionsToEmail || ""
|
|
6634
6650
|
)}&name=${encodeURIComponent(this.name || "")}`, b = this.sendSubmissionsTo === "email" ? y : this.action;
|
|
6635
|
-
|
|
6651
|
+
On(b), fetch(b, {
|
|
6636
6652
|
body: i,
|
|
6637
6653
|
headers: o,
|
|
6638
6654
|
method: this.method || "post"
|
|
@@ -6653,7 +6669,7 @@ const El = /* @__PURE__ */ j(Cl, [["render", Tl]]), Il = {
|
|
|
6653
6669
|
), te.defaultPrevented))
|
|
6654
6670
|
return;
|
|
6655
6671
|
this.responseData = S, this.formState = "error";
|
|
6656
|
-
let E = this.errorMessagePath ?
|
|
6672
|
+
let E = this.errorMessagePath ? Yr(S, this.errorMessagePath) : S.message || S.error || S;
|
|
6657
6673
|
typeof E != "string" && (E = JSON.stringify(E)), this.formErrorMessage = E, this.mergeNewRootState({
|
|
6658
6674
|
formErrorMessage: E
|
|
6659
6675
|
});
|
|
@@ -6695,11 +6711,11 @@ const El = /* @__PURE__ */ j(Cl, [["render", Tl]]), Il = {
|
|
|
6695
6711
|
}
|
|
6696
6712
|
}
|
|
6697
6713
|
}
|
|
6698
|
-
}),
|
|
6714
|
+
}), Nl = ["validate", "action", "method", "name"], Bl = {
|
|
6699
6715
|
key: 2,
|
|
6700
6716
|
class: "builder-form-error-text pre-2oa2wtipkzk"
|
|
6701
6717
|
};
|
|
6702
|
-
function
|
|
6718
|
+
function jl(e, t, n, r, o, i) {
|
|
6703
6719
|
const s = W("Blocks");
|
|
6704
6720
|
return v(), w("form", q({
|
|
6705
6721
|
validate: e.validate,
|
|
@@ -6722,16 +6738,16 @@ function Ol(e, t, n, r, o, i) {
|
|
|
6722
6738
|
blocks: e.sendingMessage,
|
|
6723
6739
|
context: e.builderContext
|
|
6724
6740
|
}, null, 8, ["blocks", "context"])) : F("", !0),
|
|
6725
|
-
e.submissionState() === "error" && e.responseData ? (v(), w("pre",
|
|
6741
|
+
e.submissionState() === "error" && e.responseData ? (v(), w("pre", Bl, Wt(e.errorResponse(e.responseData)), 1)) : F("", !0),
|
|
6726
6742
|
e.submissionState() === "success" ? (v(), U(s, {
|
|
6727
6743
|
key: 3,
|
|
6728
6744
|
path: "successMessage",
|
|
6729
6745
|
blocks: e.successMessage,
|
|
6730
6746
|
context: e.builderContext
|
|
6731
6747
|
}, null, 8, ["blocks", "context"])) : F("", !0)
|
|
6732
|
-
], 16,
|
|
6748
|
+
], 16, Nl);
|
|
6733
6749
|
}
|
|
6734
|
-
const
|
|
6750
|
+
const Vl = /* @__PURE__ */ j(Ol, [["render", jl], ["__scopeId", "data-v-77c7888c"]]), Dl = {
|
|
6735
6751
|
name: "Form:Input",
|
|
6736
6752
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
|
|
6737
6753
|
inputs: [
|
|
@@ -6782,7 +6798,7 @@ const Nl = /* @__PURE__ */ j($l, [["render", Ol], ["__scopeId", "data-v-77c7888c
|
|
|
6782
6798
|
borderStyle: "solid",
|
|
6783
6799
|
borderColor: "#ccc"
|
|
6784
6800
|
}
|
|
6785
|
-
},
|
|
6801
|
+
}, Ul = B({
|
|
6786
6802
|
name: "builder-form-input-component",
|
|
6787
6803
|
props: [
|
|
6788
6804
|
"attributes",
|
|
@@ -6796,8 +6812,8 @@ const Nl = /* @__PURE__ */ j($l, [["render", Ol], ["__scopeId", "data-v-77c7888c
|
|
|
6796
6812
|
data() {
|
|
6797
6813
|
return { isEditing: oe, filterAttrs: de };
|
|
6798
6814
|
}
|
|
6799
|
-
}),
|
|
6800
|
-
function
|
|
6815
|
+
}), Wl = ["placeholder", "type", "name", "value", "defaultValue", "required"];
|
|
6816
|
+
function Ll(e, t, n, r, o, i) {
|
|
6801
6817
|
return v(), w("input", q({
|
|
6802
6818
|
key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
|
|
6803
6819
|
placeholder: e.placeholder,
|
|
@@ -6806,9 +6822,9 @@ function Dl(e, t, n, r, o, i) {
|
|
|
6806
6822
|
value: e.value,
|
|
6807
6823
|
defaultValue: e.defaultValue,
|
|
6808
6824
|
required: e.required
|
|
6809
|
-
}, e.filterAttrs(e.attributes, "v-on:", !1), ye(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16,
|
|
6825
|
+
}, e.filterAttrs(e.attributes, "v-on:", !1), ye(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Wl);
|
|
6810
6826
|
}
|
|
6811
|
-
const
|
|
6827
|
+
const Fl = /* @__PURE__ */ j(Ul, [["render", Ll]]), Ml = {
|
|
6812
6828
|
name: "Form:Select",
|
|
6813
6829
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
|
|
6814
6830
|
defaultStyles: {
|
|
@@ -6850,14 +6866,14 @@ const Ul = /* @__PURE__ */ j(jl, [["render", Dl]]), Wl = {
|
|
|
6850
6866
|
}],
|
|
6851
6867
|
static: !0,
|
|
6852
6868
|
noWrap: !0
|
|
6853
|
-
},
|
|
6869
|
+
}, Hl = B({
|
|
6854
6870
|
name: "builder-select-component",
|
|
6855
6871
|
props: ["attributes", "value", "defaultValue", "name", "required", "options"],
|
|
6856
6872
|
data() {
|
|
6857
6873
|
return { isEditing: oe, filterAttrs: de };
|
|
6858
6874
|
}
|
|
6859
|
-
}),
|
|
6860
|
-
function
|
|
6875
|
+
}), Kl = ["value", "defaultValue", "name", "required"], zl = ["value"];
|
|
6876
|
+
function ql(e, t, n, r, o, i) {
|
|
6861
6877
|
return v(), w("select", q({
|
|
6862
6878
|
value: e.value,
|
|
6863
6879
|
key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
|
|
@@ -6868,10 +6884,10 @@ function Hl(e, t, n, r, o, i) {
|
|
|
6868
6884
|
(v(!0), w(z, null, ve(e.options, (s, u) => (v(), w("option", {
|
|
6869
6885
|
key: `${s.name}-${u}`,
|
|
6870
6886
|
value: s.value
|
|
6871
|
-
}, Wt(s.name || s.value), 9,
|
|
6872
|
-
], 16,
|
|
6887
|
+
}, Wt(s.name || s.value), 9, zl))), 128))
|
|
6888
|
+
], 16, Kl);
|
|
6873
6889
|
}
|
|
6874
|
-
const
|
|
6890
|
+
const Gl = /* @__PURE__ */ j(Hl, [["render", ql]]), _l = {
|
|
6875
6891
|
name: "Form:SubmitButton",
|
|
6876
6892
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
|
|
6877
6893
|
defaultStyles: {
|
|
@@ -6896,17 +6912,17 @@ const Kl = /* @__PURE__ */ j(Ll, [["render", Hl]]), zl = {
|
|
|
6896
6912
|
// that only shows if advanced setting is flipped
|
|
6897
6913
|
// TODO: defaultChildren
|
|
6898
6914
|
// canHaveChildren: true,
|
|
6899
|
-
},
|
|
6915
|
+
}, Jl = B({
|
|
6900
6916
|
name: "builder-submit-button",
|
|
6901
6917
|
props: ["attributes", "text"],
|
|
6902
6918
|
data() {
|
|
6903
6919
|
return { filterAttrs: de };
|
|
6904
6920
|
}
|
|
6905
6921
|
});
|
|
6906
|
-
function
|
|
6922
|
+
function Xl(e, t, n, r, o, i) {
|
|
6907
6923
|
return v(), w("button", q({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), ye(e.filterAttrs(e.attributes, "v-on:", !0), !0)), Wt(e.text), 17);
|
|
6908
6924
|
}
|
|
6909
|
-
const
|
|
6925
|
+
const Yl = /* @__PURE__ */ j(Jl, [["render", Xl]]), Ql = {
|
|
6910
6926
|
name: "Form:TextArea",
|
|
6911
6927
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
|
|
6912
6928
|
inputs: [{
|
|
@@ -6942,7 +6958,7 @@ const _l = /* @__PURE__ */ j(ql, [["render", Gl]]), Jl = {
|
|
|
6942
6958
|
},
|
|
6943
6959
|
static: !0,
|
|
6944
6960
|
noWrap: !0
|
|
6945
|
-
},
|
|
6961
|
+
}, Zl = B({
|
|
6946
6962
|
name: "builder-textarea",
|
|
6947
6963
|
props: [
|
|
6948
6964
|
"attributes",
|
|
@@ -6955,17 +6971,17 @@ const _l = /* @__PURE__ */ j(ql, [["render", Gl]]), Jl = {
|
|
|
6955
6971
|
data() {
|
|
6956
6972
|
return { filterAttrs: de };
|
|
6957
6973
|
}
|
|
6958
|
-
}),
|
|
6959
|
-
function
|
|
6974
|
+
}), eu = ["placeholder", "name", "value", "defaultValue", "required"];
|
|
6975
|
+
function tu(e, t, n, r, o, i) {
|
|
6960
6976
|
return v(), w("textarea", q({
|
|
6961
6977
|
placeholder: e.placeholder,
|
|
6962
6978
|
name: e.name,
|
|
6963
6979
|
value: e.value,
|
|
6964
6980
|
defaultValue: e.defaultValue,
|
|
6965
6981
|
required: e.required
|
|
6966
|
-
}, e.filterAttrs(e.attributes, "v-on:", !1), ye(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16,
|
|
6982
|
+
}, e.filterAttrs(e.attributes, "v-on:", !1), ye(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, eu);
|
|
6967
6983
|
}
|
|
6968
|
-
const
|
|
6984
|
+
const nu = /* @__PURE__ */ j(Zl, [["render", tu]]), ru = {
|
|
6969
6985
|
name: "Raw:Img",
|
|
6970
6986
|
hideFromInsertMenu: !0,
|
|
6971
6987
|
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",
|
|
@@ -6973,7 +6989,7 @@ const Zl = /* @__PURE__ */ j(Xl, [["render", Ql]]), eu = {
|
|
|
6973
6989
|
name: "image",
|
|
6974
6990
|
bubble: !0,
|
|
6975
6991
|
type: "file",
|
|
6976
|
-
allowedFileTypes:
|
|
6992
|
+
allowedFileTypes: Yn,
|
|
6977
6993
|
required: !0
|
|
6978
6994
|
}, {
|
|
6979
6995
|
name: "backgroundSize",
|
|
@@ -7009,7 +7025,7 @@ const Zl = /* @__PURE__ */ j(Xl, [["render", Ql]]), eu = {
|
|
|
7009
7025
|
defaultValue: 0.7041
|
|
7010
7026
|
}],
|
|
7011
7027
|
noWrap: !0
|
|
7012
|
-
},
|
|
7028
|
+
}, ou = B({
|
|
7013
7029
|
name: "builder-img-component",
|
|
7014
7030
|
props: [
|
|
7015
7031
|
"imgSrc",
|
|
@@ -7039,8 +7055,8 @@ const Zl = /* @__PURE__ */ j(Xl, [["render", Ql]]), eu = {
|
|
|
7039
7055
|
return delete e.style, e;
|
|
7040
7056
|
}
|
|
7041
7057
|
}
|
|
7042
|
-
}),
|
|
7043
|
-
function
|
|
7058
|
+
}), iu = ["alt", "title", "src"];
|
|
7059
|
+
function su(e, t, n, r, o, i) {
|
|
7044
7060
|
var s;
|
|
7045
7061
|
return v(), w("img", q({
|
|
7046
7062
|
loading: "lazy",
|
|
@@ -7054,9 +7070,9 @@ function ru(e, t, n, r, o, i) {
|
|
|
7054
7070
|
aspectRatio: e.aspectRatio || void 0,
|
|
7055
7071
|
...((s = e.attributes) == null ? void 0 : s.style) || {}
|
|
7056
7072
|
}
|
|
7057
|
-
}, e.imgAttrs), null, 16,
|
|
7073
|
+
}, e.imgAttrs), null, 16, iu);
|
|
7058
7074
|
}
|
|
7059
|
-
const
|
|
7075
|
+
const au = /* @__PURE__ */ j(ou, [["render", su]]), lu = {
|
|
7060
7076
|
name: "Video",
|
|
7061
7077
|
canHaveChildren: !0,
|
|
7062
7078
|
defaultStyles: {
|
|
@@ -7067,14 +7083,14 @@ const ou = /* @__PURE__ */ j(tu, [["render", ru]]), iu = {
|
|
|
7067
7083
|
inputs: [{
|
|
7068
7084
|
name: "video",
|
|
7069
7085
|
type: "file",
|
|
7070
|
-
allowedFileTypes:
|
|
7086
|
+
allowedFileTypes: _a,
|
|
7071
7087
|
bubble: !0,
|
|
7072
7088
|
defaultValue: "https://cdn.builder.io/o/assets%2FYJIGb4i01jvw0SRdL5Bt%2Fd27731a526464deba0016216f5f9e570%2Fcompressed?apiKey=YJIGb4i01jvw0SRdL5Bt&token=d27731a526464deba0016216f5f9e570&alt=media&optimized=true",
|
|
7073
7089
|
required: !0
|
|
7074
7090
|
}, {
|
|
7075
7091
|
name: "posterImage",
|
|
7076
7092
|
type: "file",
|
|
7077
|
-
allowedFileTypes:
|
|
7093
|
+
allowedFileTypes: Yn,
|
|
7078
7094
|
helperText: "Image to show before the video plays"
|
|
7079
7095
|
}, {
|
|
7080
7096
|
name: "autoPlay",
|
|
@@ -7140,7 +7156,7 @@ const ou = /* @__PURE__ */ j(tu, [["render", ru]]), iu = {
|
|
|
7140
7156
|
shouldReceiveBuilderProps: {
|
|
7141
7157
|
builderBlock: !0
|
|
7142
7158
|
}
|
|
7143
|
-
},
|
|
7159
|
+
}, uu = B({
|
|
7144
7160
|
name: "builder-video",
|
|
7145
7161
|
props: [
|
|
7146
7162
|
"lazyLoad",
|
|
@@ -7213,16 +7229,16 @@ const ou = /* @__PURE__ */ j(tu, [["render", ru]]), iu = {
|
|
|
7213
7229
|
};
|
|
7214
7230
|
}
|
|
7215
7231
|
}
|
|
7216
|
-
}),
|
|
7232
|
+
}), cu = { style: {
|
|
7217
7233
|
position: "relative"
|
|
7218
|
-
} },
|
|
7234
|
+
} }, pu = ["preload", "poster"], du = {
|
|
7219
7235
|
key: 1,
|
|
7220
7236
|
style: {
|
|
7221
7237
|
display: "flex",
|
|
7222
7238
|
flexDirection: "column",
|
|
7223
7239
|
alignItems: "stretch"
|
|
7224
7240
|
}
|
|
7225
|
-
},
|
|
7241
|
+
}, fu = {
|
|
7226
7242
|
key: 2,
|
|
7227
7243
|
style: {
|
|
7228
7244
|
pointerEvents: "none",
|
|
@@ -7236,9 +7252,9 @@ const ou = /* @__PURE__ */ j(tu, [["render", ru]]), iu = {
|
|
|
7236
7252
|
height: "100%"
|
|
7237
7253
|
}
|
|
7238
7254
|
};
|
|
7239
|
-
function
|
|
7255
|
+
function hu(e, t, n, r, o, i) {
|
|
7240
7256
|
var s, u, c, m, y, b, h;
|
|
7241
|
-
return v(), w("div",
|
|
7257
|
+
return v(), w("div", cu, [
|
|
7242
7258
|
Ge("video", q({
|
|
7243
7259
|
class: "builder-video",
|
|
7244
7260
|
ref: "videoRef",
|
|
@@ -7266,7 +7282,7 @@ function pu(e, t, n, r, o, i) {
|
|
|
7266
7282
|
src: e.video
|
|
7267
7283
|
}
|
|
7268
7284
|
), null, 16)
|
|
7269
|
-
], 16,
|
|
7285
|
+
], 16, pu),
|
|
7270
7286
|
e.aspectRatio && !(e.fitContent && ((c = (u = e.builderBlock) == null ? void 0 : u.children) != null && c.length)) ? (v(), w("div", {
|
|
7271
7287
|
key: 0,
|
|
7272
7288
|
style: Pe({
|
|
@@ -7276,75 +7292,75 @@ function pu(e, t, n, r, o, i) {
|
|
|
7276
7292
|
fontSize: "0px"
|
|
7277
7293
|
})
|
|
7278
7294
|
}, null, 4)) : F("", !0),
|
|
7279
|
-
(y = (m = e.builderBlock) == null ? void 0 : m.children) != null && y.length && e.fitContent ? (v(), w("div",
|
|
7295
|
+
(y = (m = e.builderBlock) == null ? void 0 : m.children) != null && y.length && e.fitContent ? (v(), w("div", du, [
|
|
7280
7296
|
pe(e.$slots, "default")
|
|
7281
7297
|
])) : F("", !0),
|
|
7282
|
-
(h = (b = e.builderBlock) == null ? void 0 : b.children) != null && h.length && !e.fitContent ? (v(), w("div",
|
|
7298
|
+
(h = (b = e.builderBlock) == null ? void 0 : b.children) != null && h.length && !e.fitContent ? (v(), w("div", fu, [
|
|
7283
7299
|
pe(e.$slots, "default")
|
|
7284
7300
|
])) : F("", !0)
|
|
7285
7301
|
]);
|
|
7286
7302
|
}
|
|
7287
|
-
const
|
|
7288
|
-
component:
|
|
7289
|
-
...
|
|
7303
|
+
const mu = /* @__PURE__ */ j(uu, [["render", hu]]), gu = () => [{
|
|
7304
|
+
component: kl,
|
|
7305
|
+
...yl
|
|
7290
7306
|
}, {
|
|
7291
|
-
component:
|
|
7292
|
-
...
|
|
7307
|
+
component: Al,
|
|
7308
|
+
...Cl
|
|
7293
7309
|
}, {
|
|
7294
|
-
component:
|
|
7295
|
-
|
|
7310
|
+
component: Vl,
|
|
7311
|
+
...$l
|
|
7296
7312
|
}, {
|
|
7297
|
-
component:
|
|
7298
|
-
...
|
|
7313
|
+
component: Fl,
|
|
7314
|
+
...Dl
|
|
7299
7315
|
}, {
|
|
7300
|
-
component:
|
|
7301
|
-
...
|
|
7316
|
+
component: Yl,
|
|
7317
|
+
..._l
|
|
7302
7318
|
}, {
|
|
7303
|
-
component:
|
|
7304
|
-
...
|
|
7319
|
+
component: Gl,
|
|
7320
|
+
...Ml
|
|
7305
7321
|
}, {
|
|
7306
|
-
component:
|
|
7307
|
-
...
|
|
7322
|
+
component: nu,
|
|
7323
|
+
...Ql
|
|
7308
7324
|
}, {
|
|
7309
|
-
component:
|
|
7310
|
-
...
|
|
7325
|
+
component: au,
|
|
7326
|
+
...ru
|
|
7311
7327
|
}, {
|
|
7312
|
-
component:
|
|
7313
|
-
...
|
|
7314
|
-
}],
|
|
7315
|
-
component:
|
|
7316
|
-
...
|
|
7328
|
+
component: mu,
|
|
7329
|
+
...lu
|
|
7330
|
+
}], qr = () => [{
|
|
7331
|
+
component: si,
|
|
7332
|
+
...za
|
|
7317
7333
|
}, {
|
|
7318
|
-
component:
|
|
7319
|
-
...
|
|
7334
|
+
component: fa,
|
|
7335
|
+
...qa
|
|
7320
7336
|
}, {
|
|
7321
|
-
component:
|
|
7322
|
-
...
|
|
7337
|
+
component: ga,
|
|
7338
|
+
...Ga
|
|
7323
7339
|
}, {
|
|
7324
|
-
component:
|
|
7325
|
-
...
|
|
7340
|
+
component: Ta,
|
|
7341
|
+
...Ja
|
|
7326
7342
|
}, {
|
|
7327
|
-
component:
|
|
7328
|
-
...
|
|
7343
|
+
component: Ra,
|
|
7344
|
+
...el
|
|
7329
7345
|
}, {
|
|
7330
|
-
component:
|
|
7331
|
-
...
|
|
7346
|
+
component: ol,
|
|
7347
|
+
...tl
|
|
7332
7348
|
}, {
|
|
7333
|
-
component:
|
|
7334
|
-
...
|
|
7349
|
+
component: ec,
|
|
7350
|
+
...il
|
|
7335
7351
|
}, {
|
|
7336
|
-
component:
|
|
7337
|
-
...
|
|
7338
|
-
}, ...
|
|
7339
|
-
component:
|
|
7340
|
-
...
|
|
7352
|
+
component: gl,
|
|
7353
|
+
...dl
|
|
7354
|
+
}, ...No.includes(G) ? [{
|
|
7355
|
+
component: Za,
|
|
7356
|
+
...Xa
|
|
7341
7357
|
}] : [], {
|
|
7342
|
-
component:
|
|
7343
|
-
...
|
|
7358
|
+
component: pl,
|
|
7359
|
+
...sl
|
|
7344
7360
|
}, {
|
|
7345
|
-
component:
|
|
7346
|
-
...
|
|
7347
|
-
}, ...
|
|
7361
|
+
component: Ka,
|
|
7362
|
+
...Wa
|
|
7363
|
+
}, ...gu()], yu = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget, isAngularSDK) {
|
|
7348
7364
|
function getAndSetVariantId() {
|
|
7349
7365
|
function setCookie(name, value, days) {
|
|
7350
7366
|
let expires = '';
|
|
@@ -7403,7 +7419,7 @@ const du = /* @__PURE__ */ j(su, [["render", pu]]), fu = () => [{
|
|
|
7403
7419
|
}).join('');
|
|
7404
7420
|
styleEl.innerHTML = newStyleStr;
|
|
7405
7421
|
}
|
|
7406
|
-
}`,
|
|
7422
|
+
}`, vu = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
|
|
7407
7423
|
if (!navigator.cookieEnabled) {
|
|
7408
7424
|
return;
|
|
7409
7425
|
}
|
|
@@ -7437,37 +7453,37 @@ const du = /* @__PURE__ */ j(su, [["render", pu]]), fu = () => [{
|
|
|
7437
7453
|
thisScriptEl?.remove();
|
|
7438
7454
|
}
|
|
7439
7455
|
return;
|
|
7440
|
-
}`,
|
|
7456
|
+
}`, An = "builderIoAbTest", $n = "builderIoRenderContent", Bt = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
|
|
7441
7457
|
...t,
|
|
7442
7458
|
testVariationId: t.id,
|
|
7443
7459
|
id: e == null ? void 0 : e.id
|
|
7444
|
-
})),
|
|
7460
|
+
})), bu = ({
|
|
7445
7461
|
canTrack: e,
|
|
7446
7462
|
content: t
|
|
7447
|
-
}) => !(!(Bt(t).length > 0) || !e),
|
|
7463
|
+
}) => !(!(Bt(t).length > 0) || !e), Su = (e) => e === "react" || e === "reactNative", ku = G === "angular", Zn = Su(G), Cu = () => `
|
|
7448
7464
|
(function() {
|
|
7449
|
-
if (!window.${
|
|
7450
|
-
window.${
|
|
7465
|
+
if (!window.${An}) {
|
|
7466
|
+
window.${An} = ${yu};
|
|
7451
7467
|
}
|
|
7452
|
-
if (!window.${
|
|
7453
|
-
window.${
|
|
7454
|
-
}${
|
|
7468
|
+
if (!window.${$n}) {
|
|
7469
|
+
window.${$n} = ${vu};
|
|
7470
|
+
}${Zn ? `
|
|
7455
7471
|
var thisScriptEl = document.currentScript;
|
|
7456
7472
|
if (thisScriptEl) { thisScriptEl.remove(); }` : ""}
|
|
7457
7473
|
})();
|
|
7458
|
-
`,
|
|
7459
|
-
window.${
|
|
7460
|
-
"${t}",${JSON.stringify(e)}, ${
|
|
7461
|
-
)`,
|
|
7474
|
+
`, wu = (e, t) => `
|
|
7475
|
+
window.${An}(
|
|
7476
|
+
"${t}",${JSON.stringify(e)}, ${Zn}, ${ku}
|
|
7477
|
+
)`, Tu = ({
|
|
7462
7478
|
contentId: e,
|
|
7463
7479
|
variationId: t
|
|
7464
|
-
}) => `window.${
|
|
7465
|
-
"${t}", "${e}", ${
|
|
7480
|
+
}) => `window.${$n}(
|
|
7481
|
+
"${t}", "${e}", ${Zn}
|
|
7466
7482
|
)`;
|
|
7467
|
-
function
|
|
7483
|
+
function Gr(e) {
|
|
7468
7484
|
return Math.round(e * 1e3) / 1e3;
|
|
7469
7485
|
}
|
|
7470
|
-
const
|
|
7486
|
+
const Eu = (e, t, n = !0) => {
|
|
7471
7487
|
if (!(e instanceof HTMLElement))
|
|
7472
7488
|
return null;
|
|
7473
7489
|
let r = n ? e : e.parentElement;
|
|
@@ -7478,35 +7494,35 @@ const Cu = (e, t, n = !0) => {
|
|
|
7478
7494
|
return r;
|
|
7479
7495
|
} while (r = r.parentElement);
|
|
7480
7496
|
return null;
|
|
7481
|
-
},
|
|
7497
|
+
}, Iu = (e) => Eu(e, (t) => {
|
|
7482
7498
|
const n = t.getAttribute("builder-id") || t.id;
|
|
7483
7499
|
return (n == null ? void 0 : n.indexOf("builder-")) === 0;
|
|
7484
|
-
}),
|
|
7500
|
+
}), _r = ({
|
|
7485
7501
|
event: e,
|
|
7486
7502
|
target: t
|
|
7487
7503
|
}) => {
|
|
7488
|
-
const n = t.getBoundingClientRect(), r = e.clientX - n.left, o = e.clientY - n.top, i =
|
|
7504
|
+
const n = t.getBoundingClientRect(), r = e.clientX - n.left, o = e.clientY - n.top, i = Gr(r / n.width), s = Gr(o / n.height);
|
|
7489
7505
|
return {
|
|
7490
7506
|
x: i,
|
|
7491
7507
|
y: s
|
|
7492
7508
|
};
|
|
7493
|
-
},
|
|
7494
|
-
const t = e.target, n = t &&
|
|
7509
|
+
}, Ru = (e) => {
|
|
7510
|
+
const t = e.target, n = t && Iu(t), r = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
|
|
7495
7511
|
return {
|
|
7496
7512
|
targetBuilderElement: r || void 0,
|
|
7497
7513
|
metadata: {
|
|
7498
|
-
targetOffset: t ?
|
|
7514
|
+
targetOffset: t ? _r({
|
|
7499
7515
|
event: e,
|
|
7500
7516
|
target: t
|
|
7501
7517
|
}) : void 0,
|
|
7502
|
-
builderTargetOffset: n ?
|
|
7518
|
+
builderTargetOffset: n ? _r({
|
|
7503
7519
|
event: e,
|
|
7504
7520
|
target: n
|
|
7505
7521
|
}) : void 0,
|
|
7506
7522
|
builderElementIndex: n && r ? [].slice.call(document.getElementsByClassName(r)).indexOf(n) : void 0
|
|
7507
7523
|
}
|
|
7508
7524
|
};
|
|
7509
|
-
},
|
|
7525
|
+
}, Au = ["svelte", "qwik", "vue"], $u = () => Au.includes(G) && (oe() || qn()), xu = (e) => {
|
|
7510
7526
|
var i;
|
|
7511
7527
|
const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], r = e.fileUrl ?? ((i = e == null ? void 0 : e.files) == null ? void 0 : i.regular);
|
|
7512
7528
|
let o = "";
|
|
@@ -7532,15 +7548,15 @@ font-weight: ${s};
|
|
|
7532
7548
|
`.trim());
|
|
7533
7549
|
}
|
|
7534
7550
|
return o;
|
|
7535
|
-
},
|
|
7551
|
+
}, Pu = ({
|
|
7536
7552
|
customFonts: e
|
|
7537
7553
|
}) => {
|
|
7538
7554
|
var t;
|
|
7539
|
-
return ((t = e == null ? void 0 : e.map((n) =>
|
|
7540
|
-
},
|
|
7555
|
+
return ((t = e == null ? void 0 : e.map((n) => xu(n))) == null ? void 0 : t.join(" ")) || "";
|
|
7556
|
+
}, Ou = ({
|
|
7541
7557
|
cssCode: e,
|
|
7542
7558
|
contentId: t
|
|
7543
|
-
}) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "",
|
|
7559
|
+
}) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Nu = `
|
|
7544
7560
|
.builder-button {
|
|
7545
7561
|
all: unset;
|
|
7546
7562
|
}
|
|
@@ -7557,7 +7573,7 @@ font-weight: ${s};
|
|
|
7557
7573
|
text-align: inherit;
|
|
7558
7574
|
font-family: inherit;
|
|
7559
7575
|
}
|
|
7560
|
-
`,
|
|
7576
|
+
`, Bu = (e) => e ? "" : Nu, ju = (e) => `variant-${e}`, Vu = B({
|
|
7561
7577
|
name: "enable-editor",
|
|
7562
7578
|
components: { DynamicDiv: Ct },
|
|
7563
7579
|
props: [
|
|
@@ -7583,13 +7599,14 @@ font-weight: ${s};
|
|
|
7583
7599
|
contextValue: this.builderContextSignal,
|
|
7584
7600
|
prevData: null,
|
|
7585
7601
|
prevLocale: "",
|
|
7602
|
+
prevContent: null,
|
|
7586
7603
|
ContentWrapper: this.contentWrapper || "div",
|
|
7587
7604
|
httpReqsData: {},
|
|
7588
7605
|
httpReqsPending: {},
|
|
7589
7606
|
clicked: !1,
|
|
7590
7607
|
builderContext: vn,
|
|
7591
|
-
needsElementRefDivForEditing:
|
|
7592
|
-
getWrapperClassName:
|
|
7608
|
+
needsElementRefDivForEditing: $u,
|
|
7609
|
+
getWrapperClassName: ju
|
|
7593
7610
|
};
|
|
7594
7611
|
},
|
|
7595
7612
|
provide() {
|
|
@@ -7622,7 +7639,7 @@ font-weight: ${s};
|
|
|
7622
7639
|
variationId: o !== s ? o : void 0
|
|
7623
7640
|
});
|
|
7624
7641
|
}
|
|
7625
|
-
|
|
7642
|
+
qn() && !oe() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
|
|
7626
7643
|
new CustomEvent("initpreviewingbldr")
|
|
7627
7644
|
);
|
|
7628
7645
|
}
|
|
@@ -7724,7 +7741,7 @@ font-weight: ${s};
|
|
|
7724
7741
|
this.builderContextSignal.content = n;
|
|
7725
7742
|
},
|
|
7726
7743
|
processMessage(e) {
|
|
7727
|
-
return
|
|
7744
|
+
return So({
|
|
7728
7745
|
model: this.model,
|
|
7729
7746
|
trustedHosts: this.trustedHosts,
|
|
7730
7747
|
callbacks: {
|
|
@@ -7738,7 +7755,7 @@ font-weight: ${s};
|
|
|
7738
7755
|
});
|
|
7739
7756
|
},
|
|
7740
7757
|
animation: (t) => {
|
|
7741
|
-
|
|
7758
|
+
Ro(t);
|
|
7742
7759
|
},
|
|
7743
7760
|
contentUpdate: (t, n) => {
|
|
7744
7761
|
this.mergeNewContent(t, n);
|
|
@@ -7760,7 +7777,7 @@ font-weight: ${s};
|
|
|
7760
7777
|
contentId: o,
|
|
7761
7778
|
apiKey: this.apiKey,
|
|
7762
7779
|
variationId: r !== o ? r : void 0,
|
|
7763
|
-
...
|
|
7780
|
+
...Ru(e),
|
|
7764
7781
|
unique: !this.clicked
|
|
7765
7782
|
});
|
|
7766
7783
|
}
|
|
@@ -7798,7 +7815,7 @@ font-weight: ${s};
|
|
|
7798
7815
|
url: u,
|
|
7799
7816
|
method: "GET"
|
|
7800
7817
|
};
|
|
7801
|
-
|
|
7818
|
+
On(JSON.stringify(c));
|
|
7802
7819
|
const m = {
|
|
7803
7820
|
method: c.method,
|
|
7804
7821
|
headers: c.headers,
|
|
@@ -7826,7 +7843,7 @@ font-weight: ${s};
|
|
|
7826
7843
|
"builder:component:stateChange",
|
|
7827
7844
|
{
|
|
7828
7845
|
detail: {
|
|
7829
|
-
state:
|
|
7846
|
+
state: zn(this.builderContextSignal.rootState),
|
|
7830
7847
|
ref: {
|
|
7831
7848
|
name: this.model
|
|
7832
7849
|
}
|
|
@@ -7836,7 +7853,7 @@ font-weight: ${s};
|
|
|
7836
7853
|
);
|
|
7837
7854
|
},
|
|
7838
7855
|
elementRef_onIniteditingbldr(e) {
|
|
7839
|
-
window.addEventListener("message", this.processMessage),
|
|
7856
|
+
window.addEventListener("message", this.processMessage), bo({
|
|
7840
7857
|
...this.locale ? {
|
|
7841
7858
|
locale: this.locale
|
|
7842
7859
|
} : {},
|
|
@@ -7853,7 +7870,7 @@ font-weight: ${s};
|
|
|
7853
7870
|
).forEach((t) => {
|
|
7854
7871
|
var n, r;
|
|
7855
7872
|
if (!((n = t.models) != null && n.length) || t.models.includes(this.model)) {
|
|
7856
|
-
const o =
|
|
7873
|
+
const o = ds(t);
|
|
7857
7874
|
(r = window.parent) == null || r.postMessage(o, "*");
|
|
7858
7875
|
}
|
|
7859
7876
|
}), window.addEventListener(
|
|
@@ -7866,7 +7883,7 @@ font-weight: ${s};
|
|
|
7866
7883
|
const t = new URL(location.href).searchParams, n = t.get("builder.preview"), r = t.get(
|
|
7867
7884
|
`builder.overrides.${n}`
|
|
7868
7885
|
), o = t.get("apiKey") || t.get("builder.space");
|
|
7869
|
-
(n === "BUILDER_STUDIO" || n === this.model && o === this.apiKey && (!this.content || r === this.content.id)) &&
|
|
7886
|
+
(n === "BUILDER_STUDIO" || n === this.model && o === this.apiKey && (!this.content || r === this.content.id)) && Jn({
|
|
7870
7887
|
model: this.model,
|
|
7871
7888
|
apiKey: this.apiKey,
|
|
7872
7889
|
apiVersion: this.builderContextSignal.apiVersion,
|
|
@@ -7881,7 +7898,7 @@ font-weight: ${s};
|
|
|
7881
7898
|
}
|
|
7882
7899
|
}
|
|
7883
7900
|
});
|
|
7884
|
-
function
|
|
7901
|
+
function Du(e, t, n, r, o, i) {
|
|
7885
7902
|
var s, u, c;
|
|
7886
7903
|
return e.builderContextSignal.content || e.needsElementRefDivForEditing() ? (v(), U(dt(e.ContentWrapper), q({
|
|
7887
7904
|
key: 0,
|
|
@@ -7902,26 +7919,26 @@ function Bu(e, t, n, r, o, i) {
|
|
|
7902
7919
|
_: 3
|
|
7903
7920
|
}, 16, ["onClick", "builder-content-id", "builder-model", "className", "style", "onIniteditingbldr", "onInitpreviewingbldr"])) : F("", !0);
|
|
7904
7921
|
}
|
|
7905
|
-
const
|
|
7922
|
+
const Uu = /* @__PURE__ */ j(Vu, [["render", Du]]), Wu = B({
|
|
7906
7923
|
name: "content-styles",
|
|
7907
7924
|
components: { InlinedStyles: Ht },
|
|
7908
7925
|
props: ["cssCode", "contentId", "customFonts", "isNestedRender", "nonce"],
|
|
7909
7926
|
data() {
|
|
7910
7927
|
return {
|
|
7911
7928
|
injectedStyles: `
|
|
7912
|
-
${
|
|
7929
|
+
${Ou({
|
|
7913
7930
|
cssCode: this.cssCode,
|
|
7914
7931
|
contentId: this.contentId
|
|
7915
7932
|
})}
|
|
7916
|
-
${
|
|
7933
|
+
${Pu({
|
|
7917
7934
|
customFonts: this.customFonts
|
|
7918
7935
|
})}
|
|
7919
|
-
${
|
|
7936
|
+
${Bu(this.isNestedRender)}
|
|
7920
7937
|
`.trim()
|
|
7921
7938
|
};
|
|
7922
7939
|
}
|
|
7923
7940
|
});
|
|
7924
|
-
function
|
|
7941
|
+
function Lu(e, t, n, r, o, i) {
|
|
7925
7942
|
const s = W("InlinedStyles");
|
|
7926
7943
|
return v(), U(s, {
|
|
7927
7944
|
id: "builderio-content",
|
|
@@ -7929,7 +7946,7 @@ function Du(e, t, n, r, o, i) {
|
|
|
7929
7946
|
nonce: e.nonce
|
|
7930
7947
|
}, null, 8, ["styles", "nonce"]);
|
|
7931
7948
|
}
|
|
7932
|
-
const
|
|
7949
|
+
const Fu = /* @__PURE__ */ j(Wu, [["render", Lu]]), Mu = ({
|
|
7933
7950
|
content: e,
|
|
7934
7951
|
data: t,
|
|
7935
7952
|
locale: n
|
|
@@ -7946,7 +7963,7 @@ const Uu = /* @__PURE__ */ j(Vu, [["render", Du]]), Wu = ({
|
|
|
7946
7963
|
locale: n
|
|
7947
7964
|
} : {}
|
|
7948
7965
|
};
|
|
7949
|
-
},
|
|
7966
|
+
}, Hu = ({
|
|
7950
7967
|
content: e,
|
|
7951
7968
|
data: t
|
|
7952
7969
|
}) => e ? {
|
|
@@ -7956,12 +7973,12 @@ const Uu = /* @__PURE__ */ j(Vu, [["render", Du]]), Wu = ({
|
|
|
7956
7973
|
...t
|
|
7957
7974
|
},
|
|
7958
7975
|
meta: e == null ? void 0 : e.meta
|
|
7959
|
-
} : void 0,
|
|
7976
|
+
} : void 0, Ku = Zo, zu = B({
|
|
7960
7977
|
name: "content-component",
|
|
7961
7978
|
components: {
|
|
7962
|
-
EnableEditor:
|
|
7963
|
-
InlinedScript:
|
|
7964
|
-
ContentStyles:
|
|
7979
|
+
EnableEditor: Uu,
|
|
7980
|
+
InlinedScript: Qn,
|
|
7981
|
+
ContentStyles: Fu,
|
|
7965
7982
|
Blocks: Ue,
|
|
7966
7983
|
DynamicDiv: Ct
|
|
7967
7984
|
},
|
|
@@ -7991,32 +8008,32 @@ const Uu = /* @__PURE__ */ j(Vu, [["render", Du]]), Wu = ({
|
|
|
7991
8008
|
data() {
|
|
7992
8009
|
var e, t;
|
|
7993
8010
|
return {
|
|
7994
|
-
scriptStr:
|
|
8011
|
+
scriptStr: Tu({
|
|
7995
8012
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
|
|
7996
8013
|
variationId: (e = this.content) == null ? void 0 : e.testVariationId,
|
|
7997
8014
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
|
|
7998
8015
|
contentId: (t = this.content) == null ? void 0 : t.id
|
|
7999
8016
|
}),
|
|
8000
8017
|
registeredComponents: [
|
|
8001
|
-
...
|
|
8018
|
+
...qr(),
|
|
8002
8019
|
...this.customComponents || []
|
|
8003
8020
|
].reduce(
|
|
8004
8021
|
(n, { component: r, ...o }) => ({
|
|
8005
8022
|
...n,
|
|
8006
8023
|
[o.name]: {
|
|
8007
|
-
component:
|
|
8024
|
+
component: Ku(r),
|
|
8008
8025
|
...Dt(o)
|
|
8009
8026
|
}
|
|
8010
8027
|
}),
|
|
8011
8028
|
{}
|
|
8012
8029
|
),
|
|
8013
8030
|
builderContextSignal: {
|
|
8014
|
-
content:
|
|
8031
|
+
content: Hu({
|
|
8015
8032
|
content: this.content,
|
|
8016
8033
|
data: this.data
|
|
8017
8034
|
}),
|
|
8018
8035
|
localState: void 0,
|
|
8019
|
-
rootState:
|
|
8036
|
+
rootState: Mu({
|
|
8020
8037
|
content: this.content,
|
|
8021
8038
|
data: this.data,
|
|
8022
8039
|
locale: this.locale
|
|
@@ -8027,7 +8044,7 @@ const Uu = /* @__PURE__ */ j(Vu, [["render", Du]]), Wu = ({
|
|
|
8027
8044
|
apiKey: this.apiKey,
|
|
8028
8045
|
apiVersion: this.apiVersion,
|
|
8029
8046
|
componentInfos: [
|
|
8030
|
-
...
|
|
8047
|
+
...qr(),
|
|
8031
8048
|
...this.customComponents || []
|
|
8032
8049
|
].reduce(
|
|
8033
8050
|
(n, { component: r, ...o }) => ({
|
|
@@ -8048,7 +8065,7 @@ const Uu = /* @__PURE__ */ j(Vu, [["render", Du]]), Wu = ({
|
|
|
8048
8065
|
provide() {
|
|
8049
8066
|
const e = this;
|
|
8050
8067
|
return {
|
|
8051
|
-
[
|
|
8068
|
+
[Xr.key]: {
|
|
8052
8069
|
registeredComponents: e.registeredComponents
|
|
8053
8070
|
}
|
|
8054
8071
|
};
|
|
@@ -8092,7 +8109,7 @@ const Uu = /* @__PURE__ */ j(Vu, [["render", Du]]), Wu = ({
|
|
|
8092
8109
|
}
|
|
8093
8110
|
}
|
|
8094
8111
|
});
|
|
8095
|
-
function
|
|
8112
|
+
function qu(e, t, n, r, o, i) {
|
|
8096
8113
|
const s = W("InlinedScript"), u = W("ContentStyles"), c = W("Blocks"), m = W("EnableEditor");
|
|
8097
8114
|
return v(), U(m, q({
|
|
8098
8115
|
apiHost: e.apiHost,
|
|
@@ -8140,19 +8157,19 @@ function Hu(e, t, n, r, o, i) {
|
|
|
8140
8157
|
_: 1
|
|
8141
8158
|
}, 16, ["apiHost", "nonce", "content", "data", "model", "context", "apiKey", "canTrack", "locale", "enrich", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps", "trustedHosts", "isNestedRender"]);
|
|
8142
8159
|
}
|
|
8143
|
-
const
|
|
8160
|
+
const Gu = /* @__PURE__ */ j(zu, [["render", qu]]), _u = B({
|
|
8144
8161
|
name: "content-variants",
|
|
8145
8162
|
components: {
|
|
8146
|
-
InlinedScript:
|
|
8163
|
+
InlinedScript: Qn,
|
|
8147
8164
|
InlinedStyles: Ht,
|
|
8148
|
-
ContentComponent:
|
|
8165
|
+
ContentComponent: Gu
|
|
8149
8166
|
},
|
|
8150
8167
|
props: [
|
|
8151
8168
|
"canTrack",
|
|
8152
8169
|
"content",
|
|
8153
|
-
"isNestedRender",
|
|
8154
8170
|
"nonce",
|
|
8155
8171
|
"apiHost",
|
|
8172
|
+
"isNestedRender",
|
|
8156
8173
|
"model",
|
|
8157
8174
|
"data",
|
|
8158
8175
|
"context",
|
|
@@ -8170,14 +8187,15 @@ const Ku = /* @__PURE__ */ j(Mu, [["render", Hu]]), zu = B({
|
|
|
8170
8187
|
],
|
|
8171
8188
|
data() {
|
|
8172
8189
|
return {
|
|
8173
|
-
shouldRenderVariants:
|
|
8190
|
+
shouldRenderVariants: bu({
|
|
8174
8191
|
canTrack: Xe(this.canTrack),
|
|
8175
8192
|
content: this.content
|
|
8176
8193
|
}),
|
|
8177
|
-
|
|
8178
|
-
|
|
8194
|
+
shouldEmitPersonalizationFns: ja(this.content),
|
|
8195
|
+
SDKS_SUPPORTING_PERSONALIZATION: No,
|
|
8196
|
+
getInitPersonalizationVariantsFnsScriptString: Va,
|
|
8179
8197
|
TARGET: G,
|
|
8180
|
-
getInitVariantsFnsScriptString:
|
|
8198
|
+
getInitVariantsFnsScriptString: Cu,
|
|
8181
8199
|
getVariants: Bt
|
|
8182
8200
|
};
|
|
8183
8201
|
},
|
|
@@ -8186,7 +8204,7 @@ const Ku = /* @__PURE__ */ j(Mu, [["render", Hu]]), zu = B({
|
|
|
8186
8204
|
computed: {
|
|
8187
8205
|
updateCookieAndStylesScriptStr() {
|
|
8188
8206
|
var e;
|
|
8189
|
-
return
|
|
8207
|
+
return wu(
|
|
8190
8208
|
Bt(this.content).map((t) => ({
|
|
8191
8209
|
id: t.testVariationId,
|
|
8192
8210
|
testRatio: t.testRatio
|
|
@@ -8202,17 +8220,17 @@ const Ku = /* @__PURE__ */ j(Mu, [["render", Hu]]), zu = B({
|
|
|
8202
8220
|
return this.shouldRenderVariants ? {
|
|
8203
8221
|
...this.content,
|
|
8204
8222
|
testVariationId: (e = this.content) == null ? void 0 : e.id
|
|
8205
|
-
} :
|
|
8223
|
+
} : Cs({
|
|
8206
8224
|
item: this.content,
|
|
8207
8225
|
canTrack: Xe(this.canTrack)
|
|
8208
8226
|
});
|
|
8209
8227
|
}
|
|
8210
8228
|
}
|
|
8211
8229
|
});
|
|
8212
|
-
function
|
|
8230
|
+
function Ju(e, t, n, r, o, i) {
|
|
8213
8231
|
const s = W("InlinedScript"), u = W("InlinedStyles"), c = W("ContentComponent");
|
|
8214
8232
|
return v(), w(z, null, [
|
|
8215
|
-
|
|
8233
|
+
e.shouldEmitPersonalizationFns ? (v(), w(z, { key: 0 }, [
|
|
8216
8234
|
e.SDKS_SUPPORTING_PERSONALIZATION.includes(e.TARGET) ? (v(), U(s, {
|
|
8217
8235
|
key: 0,
|
|
8218
8236
|
id: "builderio-init-personalization-variants-fns",
|
|
@@ -8288,13 +8306,13 @@ function qu(e, t, n, r, o, i) {
|
|
|
8288
8306
|
}), null, 16, ["apiHost", "nonce", "isNestedRender", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"])
|
|
8289
8307
|
], 64);
|
|
8290
8308
|
}
|
|
8291
|
-
const
|
|
8309
|
+
const Xu = /* @__PURE__ */ j(_u, [["render", Ju]]), Yu = async ({
|
|
8292
8310
|
builderContextValue: e,
|
|
8293
8311
|
symbol: t
|
|
8294
8312
|
}) => {
|
|
8295
8313
|
if (t != null && t.model && // This is a hack, we should not need to check for this, but it is needed for Svelte.
|
|
8296
8314
|
(e != null && e.apiKey))
|
|
8297
|
-
return
|
|
8315
|
+
return Jn({
|
|
8298
8316
|
model: t.model,
|
|
8299
8317
|
apiKey: t.global && t.ownerId ? t.ownerId : e.apiKey,
|
|
8300
8318
|
apiVersion: e.apiVersion,
|
|
@@ -8306,9 +8324,9 @@ const Gu = /* @__PURE__ */ j(zu, [["render", qu]]), _u = async ({
|
|
|
8306
8324
|
}).catch((n) => {
|
|
8307
8325
|
ue.error("Could not fetch symbol content: ", n);
|
|
8308
8326
|
});
|
|
8309
|
-
},
|
|
8327
|
+
}, Qu = B({
|
|
8310
8328
|
name: "builder-symbol",
|
|
8311
|
-
components: { ContentVariants:
|
|
8329
|
+
components: { ContentVariants: Xu, DynamicDiv: Ct },
|
|
8312
8330
|
props: [
|
|
8313
8331
|
"symbol",
|
|
8314
8332
|
"builderComponents",
|
|
@@ -8365,7 +8383,7 @@ const Gu = /* @__PURE__ */ j(zu, [["render", qu]]), _u = async ({
|
|
|
8365
8383
|
methods: {
|
|
8366
8384
|
setContent() {
|
|
8367
8385
|
var e;
|
|
8368
|
-
this.contentToUse && this.symbolEntry === ((e = this.symbol) == null ? void 0 : e.entry) ||
|
|
8386
|
+
this.contentToUse && this.symbolEntry === ((e = this.symbol) == null ? void 0 : e.entry) || Yu({
|
|
8369
8387
|
symbol: this.symbol,
|
|
8370
8388
|
builderContextValue: this.builderContext
|
|
8371
8389
|
}).then((t) => {
|
|
@@ -8375,7 +8393,7 @@ const Gu = /* @__PURE__ */ j(zu, [["render", qu]]), _u = async ({
|
|
|
8375
8393
|
}
|
|
8376
8394
|
}
|
|
8377
8395
|
});
|
|
8378
|
-
function
|
|
8396
|
+
function Zu(e, t, n, r, o, i) {
|
|
8379
8397
|
var u, c, m, y, b, h, S;
|
|
8380
8398
|
const s = W("ContentVariants");
|
|
8381
8399
|
return v(), w("div", q({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, ye(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
|
|
@@ -8403,47 +8421,47 @@ function Xu(e, t, n, r, o, i) {
|
|
|
8403
8421
|
}, null, 8, ["nonce", "apiVersion", "apiKey", "context", "customComponents", "data", "canTrack", "model", "content", "linkComponent", "blocksWrapper", "contentWrapper"])
|
|
8404
8422
|
], 16);
|
|
8405
8423
|
}
|
|
8406
|
-
const
|
|
8424
|
+
const ec = /* @__PURE__ */ j(Qu, [["render", Zu]]);
|
|
8407
8425
|
export {
|
|
8408
|
-
|
|
8409
|
-
|
|
8410
|
-
|
|
8411
|
-
|
|
8412
|
-
|
|
8413
|
-
|
|
8414
|
-
|
|
8415
|
-
|
|
8416
|
-
|
|
8417
|
-
|
|
8418
|
-
|
|
8419
|
-
|
|
8426
|
+
ac as A,
|
|
8427
|
+
Po as B,
|
|
8428
|
+
fa as C,
|
|
8429
|
+
uc as D,
|
|
8430
|
+
Ns as E,
|
|
8431
|
+
ga as F,
|
|
8432
|
+
Bs as G,
|
|
8433
|
+
Jn as H,
|
|
8434
|
+
Ta as I,
|
|
8435
|
+
nc as J,
|
|
8436
|
+
dc as K,
|
|
8437
|
+
Ra as S,
|
|
8420
8438
|
G as T,
|
|
8421
|
-
|
|
8439
|
+
mu as V,
|
|
8422
8440
|
j as _,
|
|
8423
8441
|
Oe as a,
|
|
8424
8442
|
vn as b,
|
|
8425
8443
|
Ht as c,
|
|
8426
8444
|
Ne as d,
|
|
8427
8445
|
kt as e,
|
|
8428
|
-
|
|
8429
|
-
|
|
8430
|
-
|
|
8446
|
+
ua as f,
|
|
8447
|
+
pc as g,
|
|
8448
|
+
cc as h,
|
|
8431
8449
|
oe as i,
|
|
8432
|
-
|
|
8433
|
-
|
|
8434
|
-
|
|
8435
|
-
|
|
8436
|
-
|
|
8437
|
-
|
|
8450
|
+
fc as j,
|
|
8451
|
+
Xn as k,
|
|
8452
|
+
ps as l,
|
|
8453
|
+
si as m,
|
|
8454
|
+
ec as n,
|
|
8455
|
+
gl as o,
|
|
8438
8456
|
Ue as p,
|
|
8439
|
-
|
|
8440
|
-
|
|
8441
|
-
|
|
8442
|
-
|
|
8443
|
-
|
|
8444
|
-
|
|
8445
|
-
|
|
8446
|
-
|
|
8447
|
-
|
|
8448
|
-
|
|
8457
|
+
Xu as q,
|
|
8458
|
+
qn as r,
|
|
8459
|
+
lc as s,
|
|
8460
|
+
ds as t,
|
|
8461
|
+
oc as u,
|
|
8462
|
+
ic as v,
|
|
8463
|
+
Ku as w,
|
|
8464
|
+
sc as x,
|
|
8465
|
+
yo as y,
|
|
8466
|
+
rc as z
|
|
8449
8467
|
};
|