@builder.io/sdk-vue 0.0.6 → 0.0.8-0
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/README.md +4 -0
- package/package.json +1 -4
- package/packages/_vue2/dist/block-styles.b44c8edf.js +64 -0
- package/packages/_vue2/dist/block-styles.c4b6f857.cjs +1 -0
- package/packages/{_vue3/dist/get-processed-block.a58dcd2a.cjs → _vue2/dist/get-processed-block.3e6b44b2.cjs} +1 -1
- package/packages/{_vue3/dist/get-processed-block.7e239fa3.js → _vue2/dist/get-processed-block.fe285d4b.js} +1 -1
- package/packages/_vue2/dist/{index.53f5b352.js → index.64b2a483.js} +545 -376
- package/packages/_vue2/dist/index.75b1a869.cjs +30 -0
- package/packages/_vue2/dist/{render-block.678a49f8.js → render-block.19d46f0b.js} +55 -37
- package/packages/_vue2/dist/render-block.1b482626.cjs +3 -0
- package/packages/_vue2/dist/{render-component-with-context.861efce7.cjs → render-component-with-context.3f048773.cjs} +1 -1
- package/packages/_vue2/dist/{render-component-with-context.8748d30c.js → render-component-with-context.444169de.js} +2 -2
- package/packages/_vue2/dist/{render-component.58bf4a92.js → render-component.27b72ee3.js} +3 -3
- package/packages/_vue2/dist/{render-component.bad35496.cjs → render-component.437a5e14.cjs} +1 -1
- package/packages/_vue2/dist/{render-inlined-styles.46673ba6.js → render-inlined-styles.b7fdfbd1.js} +1 -1
- package/packages/_vue2/dist/{render-inlined-styles.8e95d025.cjs → render-inlined-styles.cd5552ef.cjs} +1 -1
- package/packages/_vue2/dist/{render-repeated-block.84bef64c.js → render-repeated-block.04220ba2.js} +2 -2
- package/packages/_vue2/dist/{render-repeated-block.e52f9726.cjs → render-repeated-block.1af001af.cjs} +1 -1
- package/packages/_vue2/dist/{render-styles.6854b22c.cjs → render-styles.7351e596.cjs} +1 -1
- package/packages/_vue2/dist/{render-styles.230dc75f.js → render-styles.9f1c2b6a.js} +2 -2
- package/packages/_vue2/dist/sdk.cjs +1 -1
- package/packages/_vue2/dist/sdk.js +16 -17
- package/packages/_vue2/dist/src/blocks/columns/columns.vue.d.ts +43 -0
- package/packages/_vue2/dist/src/blocks/symbol/symbol.vue.d.ts +2 -1
- package/packages/_vue2/dist/src/components/render-block/render-component.vue.d.ts +2 -0
- package/packages/_vue2/dist/src/components/render-content/render-content.vue.d.ts +1 -0
- package/packages/_vue2/dist/src/functions/get-block-properties.d.ts +1 -4
- package/packages/_vue2/dist/src/functions/get-content/generate-content-url.d.ts +2 -0
- package/packages/_vue2/dist/src/functions/get-content/index.d.ts +1 -2
- package/packages/_vue2/dist/src/functions/get-fetch.d.ts +1 -1
- package/packages/_vue2/dist/src/functions/get-react-native-block-styles.d.ts +2 -1
- package/packages/_vue2/dist/src/functions/transform-block-properties.d.ts +2 -0
- package/packages/_vue2/dist/src/helpers/css.d.ts +2 -0
- package/packages/_vue2/dist/src/types/builder-block.d.ts +1 -0
- package/packages/_vue2/dist/src/types/builder-content.d.ts +6 -4
- package/packages/_vue2/dist/style.css +1 -1
- package/packages/_vue3/dist/block-styles.8b54c0ff.js +61 -0
- package/packages/_vue3/dist/block-styles.deb87646.cjs +1 -0
- package/packages/{_vue2/dist/get-processed-block.6408e235.js → _vue3/dist/get-processed-block.6b21ab85.js} +1 -1
- package/packages/{_vue2/dist/get-processed-block.4223e014.cjs → _vue3/dist/get-processed-block.bebeb09d.cjs} +1 -1
- package/packages/_vue3/dist/index.445b7e7d.cjs +30 -0
- package/packages/_vue3/dist/{index.0555f850.js → index.c2f0c6b9.js} +621 -446
- package/packages/_vue3/dist/{render-block.ff327bfe.js → render-block.ac15669c.js} +70 -52
- package/packages/_vue3/dist/render-block.e4759f55.cjs +3 -0
- package/packages/_vue3/dist/{render-component-with-context.fa9ac131.cjs → render-component-with-context.3071ccc4.cjs} +1 -1
- package/packages/_vue3/dist/{render-component-with-context.e2af488c.js → render-component-with-context.78824d9e.js} +2 -2
- package/packages/_vue3/dist/{render-component.afe8b68d.cjs → render-component.0e528148.cjs} +1 -1
- package/packages/_vue3/dist/{render-component.91b2554d.js → render-component.447b727f.js} +3 -3
- package/packages/_vue3/dist/{render-inlined-styles.dc872311.cjs → render-inlined-styles.1be8577d.cjs} +1 -1
- package/packages/_vue3/dist/{render-inlined-styles.5f9ef611.js → render-inlined-styles.575fa695.js} +1 -1
- package/packages/_vue3/dist/{render-repeated-block.f087a519.cjs → render-repeated-block.0600c495.cjs} +1 -1
- package/packages/_vue3/dist/{render-repeated-block.34c4784f.js → render-repeated-block.e1569caf.js} +2 -2
- package/packages/_vue3/dist/{render-styles.52fba546.cjs → render-styles.a2119a06.cjs} +1 -1
- package/packages/_vue3/dist/{render-styles.ce553bd8.js → render-styles.f5323f3c.js} +2 -2
- package/packages/_vue3/dist/sdk.cjs +1 -1
- package/packages/_vue3/dist/sdk.js +15 -16
- package/packages/_vue3/dist/src/blocks/columns/columns.vue.d.ts +43 -0
- package/packages/_vue3/dist/src/blocks/symbol/symbol.vue.d.ts +2 -1
- package/packages/_vue3/dist/src/components/render-block/render-component.vue.d.ts +2 -0
- package/packages/_vue3/dist/src/components/render-content/render-content.vue.d.ts +1 -0
- package/packages/_vue3/dist/src/functions/get-block-properties.d.ts +1 -4
- package/packages/_vue3/dist/src/functions/get-content/generate-content-url.d.ts +2 -0
- package/packages/_vue3/dist/src/functions/get-content/index.d.ts +1 -2
- package/packages/_vue3/dist/src/functions/get-fetch.d.ts +1 -1
- package/packages/_vue3/dist/src/functions/get-react-native-block-styles.d.ts +2 -1
- package/packages/_vue3/dist/src/functions/transform-block-properties.d.ts +2 -0
- package/packages/_vue3/dist/src/helpers/css.d.ts +2 -0
- package/packages/_vue3/dist/src/types/builder-block.d.ts +1 -0
- package/packages/_vue3/dist/src/types/builder-content.d.ts +6 -4
- package/packages/_vue3/dist/style.css +1 -1
- package/packages/_vue2/dist/block-styles.446ece03.js +0 -117
- package/packages/_vue2/dist/block-styles.5646ff86.cjs +0 -6
- package/packages/_vue2/dist/index.a1d3ffcd.cjs +0 -4
- package/packages/_vue2/dist/render-block.5d72c0ee.cjs +0 -3
- package/packages/_vue2/dist/src/functions/get-global-this.d.ts +0 -1
- package/packages/_vue3/dist/block-styles.bfb6bf01.js +0 -114
- package/packages/_vue3/dist/block-styles.c34bd502.cjs +0 -6
- package/packages/_vue3/dist/index.2e65c08f.cjs +0 -4
- package/packages/_vue3/dist/render-block.c7f89c03.cjs +0 -3
- package/packages/_vue3/dist/src/functions/get-global-this.d.ts +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
const
|
|
1
|
+
const v = "vue2";
|
|
2
2
|
function p() {
|
|
3
3
|
return typeof window < "u" && typeof document < "u";
|
|
4
4
|
}
|
|
5
|
-
const
|
|
6
|
-
function
|
|
7
|
-
let n =
|
|
8
|
-
if (n || (n =
|
|
5
|
+
const I = {};
|
|
6
|
+
function H(t, e) {
|
|
7
|
+
let n = I[t];
|
|
8
|
+
if (n || (n = I[t] = []), n.push(e), p()) {
|
|
9
9
|
const o = {
|
|
10
10
|
type: "builder.register",
|
|
11
11
|
data: {
|
|
@@ -21,7 +21,7 @@ function K(t, e) {
|
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
const q = () => {
|
|
24
|
-
|
|
24
|
+
H("insertMenu", {
|
|
25
25
|
name: "_default",
|
|
26
26
|
default: !0,
|
|
27
27
|
items: [
|
|
@@ -36,14 +36,14 @@ const q = () => {
|
|
|
36
36
|
]
|
|
37
37
|
});
|
|
38
38
|
};
|
|
39
|
-
let
|
|
40
|
-
const
|
|
39
|
+
let R = !1;
|
|
40
|
+
const G = (t = {}) => {
|
|
41
41
|
var e, n;
|
|
42
|
-
|
|
42
|
+
R || (R = !0, p() && ((e = window.parent) == null || e.postMessage(
|
|
43
43
|
{
|
|
44
44
|
type: "builder.sdkInfo",
|
|
45
45
|
data: {
|
|
46
|
-
target:
|
|
46
|
+
target: v,
|
|
47
47
|
supportsPatchUpdates: !1,
|
|
48
48
|
supportsAddBlockScoping: !0,
|
|
49
49
|
supportsCustomBreakpoints: !0
|
|
@@ -63,12 +63,12 @@ const z = (t = {}) => {
|
|
|
63
63
|
if (!!(o != null && o.type))
|
|
64
64
|
switch (o.type) {
|
|
65
65
|
case "builder.evaluate": {
|
|
66
|
-
const i = o.data.text,
|
|
67
|
-
let
|
|
66
|
+
const i = o.data.text, l = o.data.arguments || [], a = o.data.id, u = new Function(i);
|
|
67
|
+
let d, h = null;
|
|
68
68
|
try {
|
|
69
|
-
|
|
70
|
-
} catch (
|
|
71
|
-
h =
|
|
69
|
+
d = u.apply(null, l);
|
|
70
|
+
} catch (c) {
|
|
71
|
+
h = c;
|
|
72
72
|
}
|
|
73
73
|
h ? (s = window.parent) == null || s.postMessage(
|
|
74
74
|
{
|
|
@@ -76,19 +76,19 @@ const z = (t = {}) => {
|
|
|
76
76
|
data: { id: a, error: h.message }
|
|
77
77
|
},
|
|
78
78
|
"*"
|
|
79
|
-
) :
|
|
79
|
+
) : d && typeof d.then == "function" ? d.then((c) => {
|
|
80
80
|
var g;
|
|
81
81
|
(g = window.parent) == null || g.postMessage(
|
|
82
82
|
{
|
|
83
83
|
type: "builder.evaluateResult",
|
|
84
|
-
data: { id: a, result:
|
|
84
|
+
data: { id: a, result: c }
|
|
85
85
|
},
|
|
86
86
|
"*"
|
|
87
87
|
);
|
|
88
88
|
}).catch(console.error) : (r = window.parent) == null || r.postMessage(
|
|
89
89
|
{
|
|
90
90
|
type: "builder.evaluateResult",
|
|
91
|
-
data: { result:
|
|
91
|
+
data: { result: d, id: a }
|
|
92
92
|
},
|
|
93
93
|
"*"
|
|
94
94
|
);
|
|
@@ -96,21 +96,84 @@ const z = (t = {}) => {
|
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
})));
|
|
99
|
-
},
|
|
99
|
+
}, S = (t) => JSON.parse(JSON.stringify(t)), O = {
|
|
100
|
+
small: {
|
|
101
|
+
min: 320,
|
|
102
|
+
default: 321,
|
|
103
|
+
max: 640
|
|
104
|
+
},
|
|
105
|
+
medium: {
|
|
106
|
+
min: 641,
|
|
107
|
+
default: 642,
|
|
108
|
+
max: 991
|
|
109
|
+
},
|
|
110
|
+
large: {
|
|
111
|
+
min: 990,
|
|
112
|
+
default: 991,
|
|
113
|
+
max: 1200
|
|
114
|
+
}
|
|
115
|
+
}, fn = (t, e = O) => `@media (max-width: ${e[t].max}px)`, J = ({ small: t, medium: e }) => {
|
|
116
|
+
const n = S(O);
|
|
117
|
+
if (!t || !e)
|
|
118
|
+
return n;
|
|
119
|
+
const o = Math.floor(t / 2);
|
|
120
|
+
n.small = {
|
|
121
|
+
max: t,
|
|
122
|
+
min: o,
|
|
123
|
+
default: o + 1
|
|
124
|
+
};
|
|
125
|
+
const s = n.small.max + 1;
|
|
126
|
+
n.medium = {
|
|
127
|
+
max: e,
|
|
128
|
+
min: s,
|
|
129
|
+
default: s + 1
|
|
130
|
+
};
|
|
131
|
+
const r = n.medium.max + 1;
|
|
132
|
+
return n.large = {
|
|
133
|
+
max: 2e3,
|
|
134
|
+
min: r,
|
|
135
|
+
default: r + 1
|
|
136
|
+
}, n;
|
|
137
|
+
}, X = (t) => t.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), y = (t) => t != null, Y = (t) => Object.entries(t).map(([n, o]) => {
|
|
138
|
+
if (typeof o == "string")
|
|
139
|
+
return `${X(n)}: ${o};`;
|
|
140
|
+
}).filter(y), b = (t) => Y(t).join(`
|
|
141
|
+
`), gn = ({
|
|
142
|
+
mediaQuery: t,
|
|
143
|
+
className: e,
|
|
144
|
+
styles: n
|
|
145
|
+
}) => {
|
|
146
|
+
const o = `.${e} {
|
|
147
|
+
${b(n)}
|
|
148
|
+
}`;
|
|
149
|
+
return t ? `${t} {
|
|
150
|
+
${o}
|
|
151
|
+
}` : o;
|
|
152
|
+
}, Q = () => Promise.resolve().then(() => D).then((t) => t.default).catch((t) => {
|
|
100
153
|
throw console.error(
|
|
101
154
|
"Error while attempting to dynamically import component RenderBlocks at ../../components/render-blocks.vue",
|
|
102
155
|
t
|
|
103
156
|
), t;
|
|
104
|
-
}),
|
|
157
|
+
}), Z = () => import("./render-inlined-styles.b7fdfbd1.js").then((t) => t.default).catch((t) => {
|
|
158
|
+
throw console.error(
|
|
159
|
+
"Error while attempting to dynamically import component RenderInlinedStyles at ../../components/render-inlined-styles.vue",
|
|
160
|
+
t
|
|
161
|
+
), t;
|
|
162
|
+
}), ee = {
|
|
105
163
|
name: "builder-columns",
|
|
106
|
-
components: {
|
|
164
|
+
components: {
|
|
165
|
+
RenderInlinedStyles: Z,
|
|
166
|
+
RenderBlocks: Q
|
|
167
|
+
},
|
|
107
168
|
props: [
|
|
108
169
|
"space",
|
|
109
170
|
"columns",
|
|
110
171
|
"stackColumnsAt",
|
|
111
172
|
"reverseColumnsWhenStacked",
|
|
173
|
+
"customBreakpoints",
|
|
112
174
|
"builderBlock"
|
|
113
175
|
],
|
|
176
|
+
data: () => ({ TARGET: v }),
|
|
114
177
|
computed: {
|
|
115
178
|
columnsCssVars() {
|
|
116
179
|
const t = this.stackColumnsAt === "never" ? "inherit" : this.reverseColumnsWhenStacked ? "column-reverse" : "column";
|
|
@@ -127,6 +190,59 @@ const z = (t = {}) => {
|
|
|
127
190
|
"--column-width-tablet": this.maybeApplyForTablet(t),
|
|
128
191
|
"--column-margin-left-tablet": this.maybeApplyForTablet(e)
|
|
129
192
|
};
|
|
193
|
+
},
|
|
194
|
+
columnStyleObjects() {
|
|
195
|
+
return {
|
|
196
|
+
columns: {
|
|
197
|
+
small: {
|
|
198
|
+
flexDirection: "var(--flex-dir)",
|
|
199
|
+
alignItems: "stretch"
|
|
200
|
+
},
|
|
201
|
+
medium: {
|
|
202
|
+
flexDirection: "var(--flex-dir-tablet)",
|
|
203
|
+
alignItems: "stretch"
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
column: {
|
|
207
|
+
small: {
|
|
208
|
+
width: "var(--column-width) !important",
|
|
209
|
+
marginLeft: "var(--column-margin-left) !important"
|
|
210
|
+
},
|
|
211
|
+
medium: {
|
|
212
|
+
width: "var(--column-width-tablet) !important",
|
|
213
|
+
marginLeft: "var(--column-margin-left-tablet) !important"
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
};
|
|
217
|
+
},
|
|
218
|
+
columnsStyles() {
|
|
219
|
+
return `
|
|
220
|
+
@media (max-width: ${this.getWidthForBreakpointSize("medium")}px) {
|
|
221
|
+
.${this.builderBlock.id}-breakpoints {
|
|
222
|
+
${b(this.columnStyleObjects.columns.medium)}
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.${this.builderBlock.id}-breakpoints > .builder-column {
|
|
226
|
+
${b(this.columnStyleObjects.column.medium)}
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
@media (max-width: ${this.getWidthForBreakpointSize("small")}px) {
|
|
231
|
+
.${this.builderBlock.id}-breakpoints {
|
|
232
|
+
${b(this.columnStyleObjects.columns.small)}
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.${this.builderBlock.id}-breakpoints > .builder-column {
|
|
236
|
+
${b(this.columnStyleObjects.column.small)}
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
`;
|
|
240
|
+
},
|
|
241
|
+
reactNativeColumnsStyles() {
|
|
242
|
+
return this.columnStyleObjects.columns.small;
|
|
243
|
+
},
|
|
244
|
+
reactNativeColumnStyles() {
|
|
245
|
+
return this.columnStyleObjects.column.small;
|
|
130
246
|
}
|
|
131
247
|
},
|
|
132
248
|
methods: {
|
|
@@ -147,91 +263,111 @@ const z = (t = {}) => {
|
|
|
147
263
|
},
|
|
148
264
|
maybeApplyForTablet(t) {
|
|
149
265
|
return (this.stackColumnsAt || "tablet") === "tablet" ? t : "inherit";
|
|
266
|
+
},
|
|
267
|
+
getWidthForBreakpointSize(t) {
|
|
268
|
+
return J(
|
|
269
|
+
this.customBreakpoints || {}
|
|
270
|
+
)[t].max;
|
|
271
|
+
},
|
|
272
|
+
_classStringToObject(t) {
|
|
273
|
+
const e = {};
|
|
274
|
+
if (typeof t != "string")
|
|
275
|
+
return e;
|
|
276
|
+
const n = t.trim().split(/\s+/);
|
|
277
|
+
for (const o of n)
|
|
278
|
+
e[o] = !0;
|
|
279
|
+
return e;
|
|
150
280
|
}
|
|
151
281
|
}
|
|
152
282
|
};
|
|
153
|
-
function m(t, e, n, o, s, r, i,
|
|
283
|
+
function m(t, e, n, o, s, r, i, l) {
|
|
154
284
|
var a = typeof t == "function" ? t.options : t;
|
|
155
285
|
e && (a.render = e, a.staticRenderFns = n, a._compiled = !0), o && (a.functional = !0), r && (a._scopeId = "data-v-" + r);
|
|
156
|
-
var
|
|
157
|
-
if (i ? (
|
|
158
|
-
|
|
159
|
-
}, a._ssrRegister =
|
|
286
|
+
var u;
|
|
287
|
+
if (i ? (u = function(c) {
|
|
288
|
+
c = c || this.$vnode && this.$vnode.ssrContext || this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext, !c && typeof __VUE_SSR_CONTEXT__ < "u" && (c = __VUE_SSR_CONTEXT__), s && s.call(this, c), c && c._registeredComponents && c._registeredComponents.add(i);
|
|
289
|
+
}, a._ssrRegister = u) : s && (u = l ? function() {
|
|
160
290
|
s.call(
|
|
161
291
|
this,
|
|
162
292
|
(a.functional ? this.parent : this).$root.$options.shadowRoot
|
|
163
293
|
);
|
|
164
|
-
} : s),
|
|
294
|
+
} : s), u)
|
|
165
295
|
if (a.functional) {
|
|
166
|
-
a._injectStyles =
|
|
167
|
-
var
|
|
296
|
+
a._injectStyles = u;
|
|
297
|
+
var d = a.render;
|
|
168
298
|
a.render = function(g, w) {
|
|
169
|
-
return
|
|
299
|
+
return u.call(w), d(g, w);
|
|
170
300
|
};
|
|
171
301
|
} else {
|
|
172
302
|
var h = a.beforeCreate;
|
|
173
|
-
a.beforeCreate = h ? [].concat(h,
|
|
303
|
+
a.beforeCreate = h ? [].concat(h, u) : [u];
|
|
174
304
|
}
|
|
175
305
|
return {
|
|
176
306
|
exports: t,
|
|
177
307
|
options: a
|
|
178
308
|
};
|
|
179
309
|
}
|
|
180
|
-
var
|
|
310
|
+
var te = function() {
|
|
181
311
|
var e = this, n = e._self._c;
|
|
182
|
-
return n("div", {
|
|
183
|
-
|
|
312
|
+
return n("div", { class: e._classStringToObject(
|
|
313
|
+
`builder-columns ${e.builderBlock.id}-breakpoints div-t9spj7joih`
|
|
314
|
+
), style: {
|
|
315
|
+
...e.TARGET === "reactNative" ? e.reactNativeColumnsStyles : {},
|
|
316
|
+
...e.columnsCssVars
|
|
317
|
+
} }, [e.TARGET !== "reactNative" ? [n("render-inlined-styles", { attrs: { styles: e.columnsStyles } })] : e._e(), e._l(e.columns, function(o, s) {
|
|
318
|
+
return n("div", { key: s, staticClass: "builder-column div-t9spj7joih-2", style: {
|
|
184
319
|
width: e.getColumnCssWidth(s),
|
|
185
320
|
marginLeft: `${s === 0 ? 0 : e.getGutterSize()}px`,
|
|
321
|
+
...e.TARGET === "reactNative" ? e.reactNativeColumnStyles : {},
|
|
186
322
|
...e.columnCssVars
|
|
187
323
|
} }, [n("render-blocks", { attrs: { blocks: o.blocks, path: `component.options.columns.${s}.blocks`, parent: e.builderBlock.id, styleProp: {
|
|
188
324
|
flexGrow: "1"
|
|
189
325
|
} } })], 1);
|
|
190
|
-
}),
|
|
191
|
-
},
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
326
|
+
})], 2);
|
|
327
|
+
}, ne = [], oe = /* @__PURE__ */ m(
|
|
328
|
+
ee,
|
|
329
|
+
te,
|
|
330
|
+
ne,
|
|
195
331
|
!1,
|
|
196
332
|
null,
|
|
197
|
-
"
|
|
333
|
+
"6e9fb51e",
|
|
198
334
|
null,
|
|
199
335
|
null
|
|
200
336
|
);
|
|
201
|
-
const
|
|
202
|
-
function
|
|
337
|
+
const se = oe.exports;
|
|
338
|
+
function T(t) {
|
|
203
339
|
return t.replace(/http(s)?:/, "");
|
|
204
340
|
}
|
|
205
|
-
function
|
|
341
|
+
function re(t = "", e, n) {
|
|
206
342
|
const o = new RegExp("([?&])" + e + "=.*?(&|$)", "i"), s = t.indexOf("?") !== -1 ? "&" : "?";
|
|
207
343
|
return t.match(o) ? t.replace(o, "$1" + e + "=" + encodeURIComponent(n) + "$2") : t + s + e + "=" + encodeURIComponent(n);
|
|
208
344
|
}
|
|
209
|
-
function
|
|
345
|
+
function ie(t, e) {
|
|
210
346
|
if (!t || !(t != null && t.match(/cdn\.shopify\.com/)) || !e)
|
|
211
347
|
return t;
|
|
212
348
|
if (e === "master")
|
|
213
|
-
return
|
|
349
|
+
return T(t);
|
|
214
350
|
const n = t.match(
|
|
215
351
|
/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i
|
|
216
352
|
);
|
|
217
353
|
if (n) {
|
|
218
354
|
const o = t.split(n[0]), s = n[3], r = e.match("x") ? e : `${e}x`;
|
|
219
|
-
return
|
|
355
|
+
return T(`${o[0]}_${r}${s}`);
|
|
220
356
|
}
|
|
221
357
|
return null;
|
|
222
358
|
}
|
|
223
|
-
function
|
|
359
|
+
function x(t) {
|
|
224
360
|
if (!t)
|
|
225
361
|
return t;
|
|
226
362
|
const e = [100, 200, 400, 800, 1200, 1600, 2e3];
|
|
227
363
|
if (t.match(/builder\.io/)) {
|
|
228
364
|
let n = t;
|
|
229
365
|
const o = Number(t.split("?width=")[1]);
|
|
230
|
-
return isNaN(o) || (n = `${n} ${o}w`), e.filter((s) => s !== o).map((s) => `${
|
|
366
|
+
return isNaN(o) || (n = `${n} ${o}w`), e.filter((s) => s !== o).map((s) => `${re(t, "width", s)} ${s}w`).concat([n]).join(", ");
|
|
231
367
|
}
|
|
232
|
-
return t.match(/cdn\.shopify\.com/) ? e.map((n) => [
|
|
368
|
+
return t.match(/cdn\.shopify\.com/) ? e.map((n) => [ie(t, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, o]) => `${n} ${o}w`).concat([t]).join(", ") : t;
|
|
233
369
|
}
|
|
234
|
-
const
|
|
370
|
+
const ae = {
|
|
235
371
|
name: "builder-image",
|
|
236
372
|
props: [
|
|
237
373
|
"image",
|
|
@@ -255,10 +391,10 @@ const te = {
|
|
|
255
391
|
return this.srcset;
|
|
256
392
|
if (this.srcset && ((n = this.image) == null ? void 0 : n.includes("builder.io/api/v1/image"))) {
|
|
257
393
|
if (!this.srcset.includes(this.image.split("?")[0]))
|
|
258
|
-
return console.debug("Removed given srcset"),
|
|
394
|
+
return console.debug("Removed given srcset"), x(e);
|
|
259
395
|
} else if (this.image && !this.srcset)
|
|
260
|
-
return
|
|
261
|
-
return
|
|
396
|
+
return x(e);
|
|
397
|
+
return x(e);
|
|
262
398
|
},
|
|
263
399
|
webpSrcSet() {
|
|
264
400
|
var t;
|
|
@@ -287,46 +423,46 @@ const te = {
|
|
|
287
423
|
}
|
|
288
424
|
}
|
|
289
425
|
};
|
|
290
|
-
var
|
|
426
|
+
var le = function() {
|
|
291
427
|
var o, s, r, i;
|
|
292
428
|
var e = this, n = e._self._c;
|
|
293
429
|
return n("div", [n("picture", [e.webpSrcSet ? [n("source", { attrs: { type: "image/webp", srcset: e.webpSrcSet } })] : e._e(), n("img", { class: e._classStringToObject(
|
|
294
|
-
"builder-image" + (e.className ? " " + e.className : "") + " img-
|
|
430
|
+
"builder-image" + (e.className ? " " + e.className : "") + " img-1pl23ac79ld"
|
|
295
431
|
), style: {
|
|
296
432
|
objectPosition: e.backgroundPosition || "center",
|
|
297
433
|
objectFit: e.backgroundSize || "cover",
|
|
298
434
|
...e.aspectRatioCss
|
|
299
|
-
}, attrs: { loading: "lazy", alt: e.altText, role: e.altText ? "presentation" : void 0, src: e.image, srcset: e.srcSetToUse, sizes: e.sizes } }), n("source", { attrs: { srcset: e.srcSetToUse } })], 2), e.aspectRatio && !(((s = (o = e.builderBlock) == null ? void 0 : o.children) == null ? void 0 : s.length) && e.fitContent) ? [n("div", { staticClass: "builder-image-sizer div-
|
|
435
|
+
}, attrs: { loading: "lazy", alt: e.altText, role: e.altText ? "presentation" : void 0, src: e.image, srcset: e.srcSetToUse, sizes: e.sizes } }), n("source", { attrs: { srcset: e.srcSetToUse } })], 2), e.aspectRatio && !(((s = (o = e.builderBlock) == null ? void 0 : o.children) == null ? void 0 : s.length) && e.fitContent) ? [n("div", { staticClass: "builder-image-sizer div-1pl23ac79ld", style: {
|
|
300
436
|
paddingTop: e.aspectRatio * 100 + "%"
|
|
301
|
-
} })] : e._e(), ((i = (r = e.builderBlock) == null ? void 0 : r.children) == null ? void 0 : i.length) && e.fitContent ? [e._t("default")] : e._e(), !e.fitContent && e.children ? [n("div", { staticClass: "div-
|
|
302
|
-
},
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
437
|
+
} })] : e._e(), ((i = (r = e.builderBlock) == null ? void 0 : r.children) == null ? void 0 : i.length) && e.fitContent ? [e._t("default")] : e._e(), !e.fitContent && e.children ? [n("div", { staticClass: "div-1pl23ac79ld-2" }, [e._t("default")], 2)] : e._e()], 2);
|
|
438
|
+
}, ce = [], ue = /* @__PURE__ */ m(
|
|
439
|
+
ae,
|
|
440
|
+
le,
|
|
441
|
+
ce,
|
|
306
442
|
!1,
|
|
307
443
|
null,
|
|
308
|
-
"
|
|
444
|
+
"a47edb6a",
|
|
309
445
|
null,
|
|
310
446
|
null
|
|
311
447
|
);
|
|
312
|
-
const
|
|
448
|
+
const de = ue.exports, pe = {
|
|
313
449
|
name: "builder-text",
|
|
314
450
|
props: ["text"]
|
|
315
451
|
};
|
|
316
|
-
var
|
|
452
|
+
var me = function() {
|
|
317
453
|
var e = this, n = e._self._c;
|
|
318
454
|
return n("span", { staticClass: "builder-text", domProps: { innerHTML: e._s(e.text) } });
|
|
319
|
-
},
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
455
|
+
}, he = [], fe = /* @__PURE__ */ m(
|
|
456
|
+
pe,
|
|
457
|
+
me,
|
|
458
|
+
he,
|
|
323
459
|
!1,
|
|
324
460
|
null,
|
|
325
461
|
null,
|
|
326
462
|
null,
|
|
327
463
|
null
|
|
328
464
|
);
|
|
329
|
-
const
|
|
465
|
+
const ge = fe.exports, be = {
|
|
330
466
|
name: "builder-video",
|
|
331
467
|
props: [
|
|
332
468
|
"autoPlay",
|
|
@@ -368,7 +504,7 @@ const de = le.exports, ue = {
|
|
|
368
504
|
}
|
|
369
505
|
}
|
|
370
506
|
};
|
|
371
|
-
var
|
|
507
|
+
var ye = function() {
|
|
372
508
|
var o;
|
|
373
509
|
var e = this, n = e._self._c;
|
|
374
510
|
return n("video", e._b({ style: {
|
|
@@ -379,63 +515,33 @@ var pe = function() {
|
|
|
379
515
|
objectPosition: e.position,
|
|
380
516
|
borderRadius: 1
|
|
381
517
|
}, attrs: { src: e.video || "no-src", poster: e.posterImage } }, "video", e.spreadProps, !1));
|
|
382
|
-
},
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
518
|
+
}, ve = [], _e = /* @__PURE__ */ m(
|
|
519
|
+
be,
|
|
520
|
+
ye,
|
|
521
|
+
ve,
|
|
386
522
|
!1,
|
|
387
523
|
null,
|
|
388
524
|
null,
|
|
389
525
|
null,
|
|
390
526
|
null
|
|
391
527
|
);
|
|
392
|
-
const
|
|
393
|
-
function
|
|
394
|
-
return
|
|
395
|
-
const r = t[s], i = [e, s].filter(Boolean).join(n);
|
|
396
|
-
return [
|
|
397
|
-
typeof r == "object",
|
|
398
|
-
r !== null,
|
|
399
|
-
!(Array.isArray(r) && r.length === 0)
|
|
400
|
-
].every(Boolean) ? { ...o, ..._(r, i, n) } : { ...o, [i]: r };
|
|
401
|
-
}, {});
|
|
402
|
-
}
|
|
403
|
-
const R = "builder.", ge = "options.", be = (t) => {
|
|
404
|
-
const e = {};
|
|
405
|
-
return t.forEach((n, o) => {
|
|
406
|
-
e[o] = n;
|
|
407
|
-
}), e;
|
|
408
|
-
}, ve = (t) => {
|
|
409
|
-
if (!t)
|
|
410
|
-
return {};
|
|
411
|
-
const e = F(t), n = {};
|
|
412
|
-
return Object.keys(e).forEach((o) => {
|
|
413
|
-
if (o.startsWith(R)) {
|
|
414
|
-
const s = o.replace(R, "").replace(ge, "");
|
|
415
|
-
n[s] = e[o];
|
|
416
|
-
}
|
|
417
|
-
}), n;
|
|
418
|
-
}, ye = () => {
|
|
419
|
-
if (!p())
|
|
420
|
-
return {};
|
|
421
|
-
const t = new URLSearchParams(window.location.search);
|
|
422
|
-
return ve(t);
|
|
423
|
-
}, F = (t) => t instanceof URLSearchParams ? be(t) : t;
|
|
424
|
-
function _e() {
|
|
425
|
-
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : null;
|
|
528
|
+
const xe = _e.exports;
|
|
529
|
+
function Ce() {
|
|
530
|
+
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : globalThis;
|
|
426
531
|
}
|
|
427
|
-
|
|
428
|
-
const t =
|
|
429
|
-
if (typeof t > "u"
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
532
|
+
function ke() {
|
|
533
|
+
const t = Ce().fetch;
|
|
534
|
+
if (typeof t > "u")
|
|
535
|
+
throw console.warn(
|
|
536
|
+
`Builder SDK could not find a global fetch function. Make sure you have a polyfill for fetch in your project.
|
|
537
|
+
For more information, read https://github.com/BuilderIO/this-package-uses-fetch`
|
|
538
|
+
), new Error("Builder SDK could not find a global `fetch` function");
|
|
539
|
+
return t;
|
|
434
540
|
}
|
|
435
|
-
const
|
|
541
|
+
const A = ke(), Se = (t) => {
|
|
436
542
|
const e = t.split(".");
|
|
437
543
|
return e.length > 2 ? e.slice(1).join(".") : t;
|
|
438
|
-
},
|
|
544
|
+
}, B = async ({
|
|
439
545
|
name: t,
|
|
440
546
|
canTrack: e
|
|
441
547
|
}) => {
|
|
@@ -445,22 +551,22 @@ const xe = (t) => {
|
|
|
445
551
|
} catch (o) {
|
|
446
552
|
console.debug("[COOKIE] GET error: ", o);
|
|
447
553
|
}
|
|
448
|
-
},
|
|
554
|
+
}, we = (t) => t.map(([e, n]) => n ? `${e}=${n}` : e).join("; "), Ie = [
|
|
449
555
|
["secure", ""],
|
|
450
556
|
["SameSite", "None"]
|
|
451
|
-
],
|
|
557
|
+
], Re = ({
|
|
452
558
|
name: t,
|
|
453
559
|
value: e,
|
|
454
560
|
expires: n
|
|
455
561
|
}) => {
|
|
456
|
-
const s = (p() ? location.protocol === "https:" : !0) ?
|
|
562
|
+
const s = (p() ? location.protocol === "https:" : !0) ? Ie : [[]], r = n ? [["expires", n.toUTCString()]] : [[]], i = [
|
|
457
563
|
[t, e],
|
|
458
564
|
...r,
|
|
459
565
|
["path", "/"],
|
|
460
|
-
["domain",
|
|
566
|
+
["domain", Se(window.location.hostname)],
|
|
461
567
|
...s
|
|
462
568
|
];
|
|
463
|
-
return
|
|
569
|
+
return we(i);
|
|
464
570
|
}, P = async ({
|
|
465
571
|
name: t,
|
|
466
572
|
value: e,
|
|
@@ -470,19 +576,19 @@ const xe = (t) => {
|
|
|
470
576
|
try {
|
|
471
577
|
if (!o)
|
|
472
578
|
return;
|
|
473
|
-
const s =
|
|
579
|
+
const s = Re({ name: t, value: e, expires: n });
|
|
474
580
|
document.cookie = s;
|
|
475
581
|
} catch (s) {
|
|
476
582
|
console.warn("[COOKIE] SET error: ", s);
|
|
477
583
|
}
|
|
478
|
-
},
|
|
584
|
+
}, Te = "builderio.variations", U = (t) => `${Te}.${t}`, $e = ({
|
|
479
585
|
contentId: t,
|
|
480
586
|
canTrack: e
|
|
481
|
-
}) =>
|
|
587
|
+
}) => B({ name: U(t), canTrack: e }), Ee = ({
|
|
482
588
|
contentId: t,
|
|
483
589
|
canTrack: e,
|
|
484
590
|
value: n
|
|
485
|
-
}) => P({ name:
|
|
591
|
+
}) => P({ name: U(t), value: n, canTrack: e }), Fe = (t) => y(t.id) && y(t.variations) && Object.keys(t.variations).length > 0, je = ({
|
|
486
592
|
id: t,
|
|
487
593
|
variations: e
|
|
488
594
|
}) => {
|
|
@@ -493,7 +599,7 @@ const xe = (t) => {
|
|
|
493
599
|
if (n += (s = e[r]) == null ? void 0 : s.testRatio, o < n)
|
|
494
600
|
return r;
|
|
495
601
|
return t;
|
|
496
|
-
},
|
|
602
|
+
}, $ = ({
|
|
497
603
|
item: t,
|
|
498
604
|
testGroupId: e
|
|
499
605
|
}) => {
|
|
@@ -506,42 +612,69 @@ const xe = (t) => {
|
|
|
506
612
|
testVariationId: n.id,
|
|
507
613
|
testVariationName: n.name || (n.id === t.id ? "Default" : "")
|
|
508
614
|
};
|
|
509
|
-
},
|
|
615
|
+
}, Oe = async ({
|
|
510
616
|
item: t,
|
|
511
617
|
canTrack: e
|
|
512
618
|
}) => {
|
|
513
|
-
const n = await
|
|
619
|
+
const n = await $e({
|
|
514
620
|
canTrack: e,
|
|
515
621
|
contentId: t.id
|
|
516
|
-
}), o = n ?
|
|
622
|
+
}), o = n ? $({ item: t, testGroupId: n }) : void 0;
|
|
517
623
|
if (o)
|
|
518
624
|
return o;
|
|
519
625
|
{
|
|
520
|
-
const s =
|
|
626
|
+
const s = je({
|
|
521
627
|
variations: t.variations,
|
|
522
628
|
id: t.id
|
|
523
629
|
});
|
|
524
|
-
return
|
|
630
|
+
return Ee({
|
|
525
631
|
contentId: t.id,
|
|
526
632
|
value: s,
|
|
527
633
|
canTrack: e
|
|
528
634
|
}).catch((r) => {
|
|
529
635
|
console.error("could not store A/B test variation: ", r);
|
|
530
|
-
}),
|
|
636
|
+
}), $({ item: t, testGroupId: s });
|
|
531
637
|
}
|
|
532
|
-
},
|
|
638
|
+
}, Ae = async ({
|
|
533
639
|
item: t,
|
|
534
640
|
canTrack: e
|
|
535
641
|
}) => {
|
|
536
|
-
if (!
|
|
642
|
+
if (!Fe(t))
|
|
537
643
|
return;
|
|
538
|
-
const n = await
|
|
644
|
+
const n = await Oe({ item: t, canTrack: e });
|
|
539
645
|
Object.assign(t, n);
|
|
540
646
|
};
|
|
541
|
-
|
|
542
|
-
return (
|
|
647
|
+
function C(t, e = null, n = ".") {
|
|
648
|
+
return Object.keys(t).reduce((o, s) => {
|
|
649
|
+
const r = t[s], i = [e, s].filter(Boolean).join(n);
|
|
650
|
+
return [
|
|
651
|
+
typeof r == "object",
|
|
652
|
+
r !== null,
|
|
653
|
+
!(Array.isArray(r) && r.length === 0)
|
|
654
|
+
].every(Boolean) ? { ...o, ...C(r, i, n) } : { ...o, [i]: r };
|
|
655
|
+
}, {});
|
|
543
656
|
}
|
|
544
|
-
const
|
|
657
|
+
const E = "builder.", Be = "options.", Pe = (t) => {
|
|
658
|
+
const e = {};
|
|
659
|
+
return t.forEach((n, o) => {
|
|
660
|
+
e[o] = n;
|
|
661
|
+
}), e;
|
|
662
|
+
}, Ue = (t) => {
|
|
663
|
+
if (!t)
|
|
664
|
+
return {};
|
|
665
|
+
const e = V(t), n = {};
|
|
666
|
+
return Object.keys(e).forEach((o) => {
|
|
667
|
+
if (o.startsWith(E)) {
|
|
668
|
+
const s = o.replace(E, "").replace(Be, "");
|
|
669
|
+
n[s] = e[o];
|
|
670
|
+
}
|
|
671
|
+
}), n;
|
|
672
|
+
}, Ve = () => {
|
|
673
|
+
if (!p())
|
|
674
|
+
return {};
|
|
675
|
+
const t = new URLSearchParams(window.location.search);
|
|
676
|
+
return Ue(t);
|
|
677
|
+
}, V = (t) => t instanceof URLSearchParams ? Pe(t) : t, We = (t) => {
|
|
545
678
|
const {
|
|
546
679
|
limit: e = 30,
|
|
547
680
|
userAttributes: n,
|
|
@@ -549,52 +682,53 @@ const je = (t) => {
|
|
|
549
682
|
noTraverse: s = !1,
|
|
550
683
|
model: r,
|
|
551
684
|
apiKey: i,
|
|
552
|
-
includeRefs:
|
|
685
|
+
includeRefs: l = !0,
|
|
553
686
|
locale: a
|
|
554
687
|
} = t;
|
|
555
688
|
if (!i)
|
|
556
689
|
throw new Error("Missing API key");
|
|
557
|
-
const
|
|
558
|
-
`https://cdn.builder.io/api/v2/content/${r}?apiKey=${i}&limit=${e}&noTraverse=${s}&includeRefs=${
|
|
559
|
-
),
|
|
560
|
-
...
|
|
561
|
-
...
|
|
562
|
-
}, h =
|
|
563
|
-
for (const
|
|
564
|
-
|
|
565
|
-
if (n &&
|
|
566
|
-
const
|
|
567
|
-
for (const g in
|
|
568
|
-
|
|
690
|
+
const u = new URL(
|
|
691
|
+
`https://cdn.builder.io/api/v2/content/${r}?apiKey=${i}&limit=${e}&noTraverse=${s}&includeRefs=${l}${a ? `&locale=${a}` : ""}`
|
|
692
|
+
), d = {
|
|
693
|
+
...Ve(),
|
|
694
|
+
...V(t.options || {})
|
|
695
|
+
}, h = C(d);
|
|
696
|
+
for (const c in h)
|
|
697
|
+
u.searchParams.set(c, String(h[c]));
|
|
698
|
+
if (n && u.searchParams.set("userAttributes", JSON.stringify(n)), o) {
|
|
699
|
+
const c = C({ query: o });
|
|
700
|
+
for (const g in c)
|
|
701
|
+
u.searchParams.set(g, JSON.stringify(c[g]));
|
|
569
702
|
}
|
|
570
|
-
return
|
|
703
|
+
return u;
|
|
571
704
|
};
|
|
572
|
-
async function
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
705
|
+
async function W(t) {
|
|
706
|
+
return (await Ne({ ...t, limit: 1 })).results[0] || null;
|
|
707
|
+
}
|
|
708
|
+
async function Ne(t) {
|
|
709
|
+
const e = We(t), o = await (await A(e.href)).json(), s = t.canTrack !== !1;
|
|
576
710
|
if (s && Array.isArray(o.results))
|
|
577
711
|
for (const r of o.results)
|
|
578
|
-
await
|
|
712
|
+
await Ae({ item: r, canTrack: s });
|
|
579
713
|
return o;
|
|
580
714
|
}
|
|
581
|
-
const
|
|
715
|
+
const Le = () => Promise.resolve().then(() => an).then((t) => t.default).catch((t) => {
|
|
582
716
|
throw console.error(
|
|
583
717
|
"Error while attempting to dynamically import component RenderContent at ../../components/render-content/render-content.vue",
|
|
584
718
|
t
|
|
585
719
|
), t;
|
|
586
|
-
}),
|
|
720
|
+
}), Me = {
|
|
587
721
|
name: "builder-symbol",
|
|
588
|
-
components: { RenderContent:
|
|
589
|
-
props: ["symbol", "
|
|
590
|
-
data: () => ({
|
|
722
|
+
components: { RenderContent: Le },
|
|
723
|
+
props: ["attributes", "symbol", "dynamic"],
|
|
724
|
+
data: () => ({ fetchedContent: null }),
|
|
591
725
|
inject: {
|
|
592
726
|
builderContext: "BuilderContext"
|
|
593
727
|
},
|
|
594
728
|
watch: {
|
|
595
729
|
onUpdateHook0() {
|
|
596
730
|
const t = this.symbol;
|
|
597
|
-
t && !t.content && !this.fetchedContent && t.model &&
|
|
731
|
+
t && !t.content && !this.fetchedContent && t.model && W({
|
|
598
732
|
model: t.model,
|
|
599
733
|
apiKey: this.builderContext.apiKey,
|
|
600
734
|
query: {
|
|
@@ -606,6 +740,15 @@ const Pe = () => Promise.resolve().then(() => Zt).then((t) => t.default).catch((
|
|
|
606
740
|
}
|
|
607
741
|
},
|
|
608
742
|
computed: {
|
|
743
|
+
className() {
|
|
744
|
+
var t, e;
|
|
745
|
+
return [
|
|
746
|
+
...Object.keys(this.attributes.class),
|
|
747
|
+
"builder-symbol",
|
|
748
|
+
(t = this.symbol) != null && t.inline ? "builder-inline-symbol" : void 0,
|
|
749
|
+
((e = this.symbol) == null ? void 0 : e.dynamic) || this.dynamic ? "builder-dynamic-symbol" : void 0
|
|
750
|
+
].filter(Boolean).join(" ");
|
|
751
|
+
},
|
|
609
752
|
contentToUse() {
|
|
610
753
|
var t;
|
|
611
754
|
return ((t = this.symbol) == null ? void 0 : t.content) || this.fetchedContent;
|
|
@@ -629,8 +772,8 @@ const Pe = () => Promise.resolve().then(() => Zt).then((t) => t.default).catch((
|
|
|
629
772
|
}
|
|
630
773
|
}
|
|
631
774
|
};
|
|
632
|
-
var
|
|
633
|
-
var o, s, r, i,
|
|
775
|
+
var ze = function() {
|
|
776
|
+
var o, s, r, i, l;
|
|
634
777
|
var e = this, n = e._self._c;
|
|
635
778
|
return n("div", e._b({ class: e._classStringToObject(e.className), attrs: { dataSet: {
|
|
636
779
|
class: e.className
|
|
@@ -638,71 +781,80 @@ var Oe = function() {
|
|
|
638
781
|
...(o = e.symbol) == null ? void 0 : o.data,
|
|
639
782
|
...e.builderContext.state,
|
|
640
783
|
...(i = (r = (s = e.symbol) == null ? void 0 : s.content) == null ? void 0 : r.data) == null ? void 0 : i.state
|
|
641
|
-
}, model: (
|
|
642
|
-
},
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
784
|
+
}, model: (l = e.symbol) == null ? void 0 : l.model, content: e.contentToUse } })], 1);
|
|
785
|
+
}, Ke = [], De = /* @__PURE__ */ m(
|
|
786
|
+
Me,
|
|
787
|
+
ze,
|
|
788
|
+
Ke,
|
|
646
789
|
!1,
|
|
647
790
|
null,
|
|
648
791
|
null,
|
|
649
792
|
null,
|
|
650
793
|
null
|
|
651
794
|
);
|
|
652
|
-
const
|
|
795
|
+
const He = De.exports, qe = {
|
|
653
796
|
name: "builder-button",
|
|
654
797
|
props: ["attributes", "text", "link", "openLinkInNewTab"]
|
|
655
798
|
};
|
|
656
|
-
var
|
|
799
|
+
var Ge = function() {
|
|
657
800
|
var e = this, n = e._self._c;
|
|
658
|
-
return e.link ? n("a", e._b({ attrs: { role: "button", href: e.link, target: e.openLinkInNewTab ? "_blank" : void 0 } }, "a", e.attributes, !1), [e._v(" " + e._s(e.text) + " ")]) : n("button", e._b({ staticClass: "button-
|
|
659
|
-
},
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
801
|
+
return e.link ? n("a", e._b({ attrs: { role: "button", href: e.link, target: e.openLinkInNewTab ? "_blank" : void 0 } }, "a", e.attributes, !1), [e._v(" " + e._s(e.text) + " ")]) : n("button", e._b({ staticClass: "button-2fnk003dqad" }, "button", e.attributes, !1), [e._v(" " + e._s(e.text) + " ")]);
|
|
802
|
+
}, Je = [], Xe = /* @__PURE__ */ m(
|
|
803
|
+
qe,
|
|
804
|
+
Ge,
|
|
805
|
+
Je,
|
|
663
806
|
!1,
|
|
664
807
|
null,
|
|
665
|
-
"
|
|
808
|
+
"b5c6b7e4",
|
|
666
809
|
null,
|
|
667
810
|
null
|
|
668
811
|
);
|
|
669
|
-
const
|
|
812
|
+
const Ye = Xe.exports, Qe = {
|
|
670
813
|
name: "builder-section-component",
|
|
671
814
|
props: ["attributes", "maxWidth"]
|
|
672
815
|
};
|
|
673
|
-
var
|
|
816
|
+
var Ze = function() {
|
|
674
817
|
var e = this, n = e._self._c;
|
|
675
|
-
return n("section", e._b({ style:
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
818
|
+
return n("section", e._b({ style: {
|
|
819
|
+
width: "100%",
|
|
820
|
+
alignSelf: "stretch",
|
|
821
|
+
flexGrow: "1",
|
|
822
|
+
boxSizing: "border-box",
|
|
823
|
+
maxWidth: `${e.maxWidth && typeof e.maxWidth == "number" ? e.maxWidth : 1200}px`,
|
|
824
|
+
display: "flex",
|
|
825
|
+
flexDirection: "column",
|
|
826
|
+
alignItems: "stretch",
|
|
827
|
+
marginLeft: "auto",
|
|
828
|
+
marginRight: "auto"
|
|
829
|
+
} }, "section", e.attributes, !1), [e._t("default")], 2);
|
|
830
|
+
}, et = [], tt = /* @__PURE__ */ m(
|
|
831
|
+
Qe,
|
|
832
|
+
Ze,
|
|
833
|
+
et,
|
|
682
834
|
!1,
|
|
683
835
|
null,
|
|
684
836
|
null,
|
|
685
837
|
null,
|
|
686
838
|
null
|
|
687
839
|
);
|
|
688
|
-
const
|
|
840
|
+
const nt = tt.exports, ot = {
|
|
689
841
|
name: "builder-fragment-component",
|
|
690
842
|
props: []
|
|
691
843
|
};
|
|
692
|
-
var
|
|
844
|
+
var st = function() {
|
|
693
845
|
var e = this, n = e._self._c;
|
|
694
846
|
return n("span", [e._t("default")], 2);
|
|
695
|
-
},
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
847
|
+
}, rt = [], it = /* @__PURE__ */ m(
|
|
848
|
+
ot,
|
|
849
|
+
st,
|
|
850
|
+
rt,
|
|
699
851
|
!1,
|
|
700
852
|
null,
|
|
701
853
|
null,
|
|
702
854
|
null,
|
|
703
855
|
null
|
|
704
856
|
);
|
|
705
|
-
const
|
|
857
|
+
const at = it.exports, lt = {
|
|
706
858
|
name: "Core:Button",
|
|
707
859
|
builtIn: !0,
|
|
708
860
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
|
|
@@ -739,10 +891,10 @@ const et = Ze.exports, tt = {
|
|
|
739
891
|
],
|
|
740
892
|
static: !0,
|
|
741
893
|
noWrap: !0
|
|
742
|
-
},
|
|
894
|
+
}, _ = (t) => {
|
|
743
895
|
const e = t.toString().trim();
|
|
744
896
|
return `return (${!e.startsWith("function") && !e.startsWith("(") ? "function " : ""}${e}).apply(this, arguments)`;
|
|
745
|
-
},
|
|
897
|
+
}, ct = {
|
|
746
898
|
name: "Columns",
|
|
747
899
|
builtIn: !0,
|
|
748
900
|
inputs: [
|
|
@@ -930,7 +1082,7 @@ const et = Ze.exports, tt = {
|
|
|
930
1082
|
]
|
|
931
1083
|
}
|
|
932
1084
|
],
|
|
933
|
-
onChange:
|
|
1085
|
+
onChange: _((t) => {
|
|
934
1086
|
function e() {
|
|
935
1087
|
n.forEach((o) => {
|
|
936
1088
|
o.delete("width");
|
|
@@ -941,7 +1093,7 @@ const et = Ze.exports, tt = {
|
|
|
941
1093
|
(s) => s.get("width")
|
|
942
1094
|
) && (!!n.find(
|
|
943
1095
|
(r) => !r.get("width")
|
|
944
|
-
) || n.reduce((
|
|
1096
|
+
) || n.reduce((l, a) => l + a.get("width"), 0) !== 100) && e();
|
|
945
1097
|
})
|
|
946
1098
|
},
|
|
947
1099
|
{
|
|
@@ -967,14 +1119,14 @@ const et = Ze.exports, tt = {
|
|
|
967
1119
|
advanced: !0
|
|
968
1120
|
}
|
|
969
1121
|
]
|
|
970
|
-
},
|
|
1122
|
+
}, ut = {
|
|
971
1123
|
name: "Fragment",
|
|
972
1124
|
static: !0,
|
|
973
1125
|
hidden: !0,
|
|
974
1126
|
builtIn: !0,
|
|
975
1127
|
canHaveChildren: !0,
|
|
976
1128
|
noWrap: !0
|
|
977
|
-
},
|
|
1129
|
+
}, dt = {
|
|
978
1130
|
name: "Image",
|
|
979
1131
|
static: !0,
|
|
980
1132
|
builtIn: !0,
|
|
@@ -994,19 +1146,19 @@ const et = Ze.exports, tt = {
|
|
|
994
1146
|
allowedFileTypes: ["jpeg", "jpg", "png", "svg"],
|
|
995
1147
|
required: !0,
|
|
996
1148
|
defaultValue: "https://cdn.builder.io/api/v1/image/assets%2Fpwgjf0RoYWbdnJSbpBAjXNRMe9F2%2Ffb27a7c790324294af8be1c35fe30f4d",
|
|
997
|
-
onChange:
|
|
1149
|
+
onChange: _((t) => {
|
|
998
1150
|
t.delete("srcset"), t.delete("noWebp");
|
|
999
|
-
function n(i,
|
|
1000
|
-
return new Promise((a,
|
|
1001
|
-
const
|
|
1151
|
+
function n(i, l = 6e4) {
|
|
1152
|
+
return new Promise((a, u) => {
|
|
1153
|
+
const d = document.createElement("img");
|
|
1002
1154
|
let h = !1;
|
|
1003
|
-
|
|
1004
|
-
h = !0, a(
|
|
1005
|
-
},
|
|
1006
|
-
console.warn("Image load failed",
|
|
1007
|
-
}),
|
|
1008
|
-
h ||
|
|
1009
|
-
},
|
|
1155
|
+
d.onload = () => {
|
|
1156
|
+
h = !0, a(d);
|
|
1157
|
+
}, d.addEventListener("error", (c) => {
|
|
1158
|
+
console.warn("Image load failed", c.error), u(c.error);
|
|
1159
|
+
}), d.src = i, setTimeout(() => {
|
|
1160
|
+
h || u(new Error("Image load timed out"));
|
|
1161
|
+
}, l);
|
|
1010
1162
|
});
|
|
1011
1163
|
}
|
|
1012
1164
|
function o(i) {
|
|
@@ -1017,8 +1169,8 @@ const et = Ze.exports, tt = {
|
|
|
1017
1169
|
i.type.includes("svg") && t.set("noWebp", !0);
|
|
1018
1170
|
}), s && (!r || r === 0.7041))
|
|
1019
1171
|
return n(s).then((i) => {
|
|
1020
|
-
const
|
|
1021
|
-
t.get("image") === s && (!
|
|
1172
|
+
const l = t.get("aspectRatio");
|
|
1173
|
+
t.get("image") === s && (!l || l === 0.7041) && i.width && i.height && (t.set("aspectRatio", o(i.height / i.width)), t.set("height", i.height), t.set("width", i.width));
|
|
1022
1174
|
});
|
|
1023
1175
|
})
|
|
1024
1176
|
},
|
|
@@ -1100,7 +1252,7 @@ const et = Ze.exports, tt = {
|
|
|
1100
1252
|
defaultValue: 0.7041
|
|
1101
1253
|
}
|
|
1102
1254
|
]
|
|
1103
|
-
},
|
|
1255
|
+
}, pt = {
|
|
1104
1256
|
name: "Core:Section",
|
|
1105
1257
|
static: !0,
|
|
1106
1258
|
builtIn: !0,
|
|
@@ -1145,7 +1297,7 @@ const et = Ze.exports, tt = {
|
|
|
1145
1297
|
}
|
|
1146
1298
|
}
|
|
1147
1299
|
]
|
|
1148
|
-
},
|
|
1300
|
+
}, mt = {
|
|
1149
1301
|
name: "Symbol",
|
|
1150
1302
|
noWrap: !0,
|
|
1151
1303
|
static: !0,
|
|
@@ -1184,7 +1336,7 @@ const et = Ze.exports, tt = {
|
|
|
1184
1336
|
type: "boolean"
|
|
1185
1337
|
}
|
|
1186
1338
|
]
|
|
1187
|
-
},
|
|
1339
|
+
}, ht = {
|
|
1188
1340
|
name: "Text",
|
|
1189
1341
|
static: !0,
|
|
1190
1342
|
builtIn: !0,
|
|
@@ -1204,7 +1356,7 @@ const et = Ze.exports, tt = {
|
|
|
1204
1356
|
height: "auto",
|
|
1205
1357
|
textAlign: "center"
|
|
1206
1358
|
}
|
|
1207
|
-
},
|
|
1359
|
+
}, ft = {
|
|
1208
1360
|
name: "Video",
|
|
1209
1361
|
canHaveChildren: !0,
|
|
1210
1362
|
builtIn: !0,
|
|
@@ -1306,7 +1458,7 @@ const et = Ze.exports, tt = {
|
|
|
1306
1458
|
advanced: !0
|
|
1307
1459
|
}
|
|
1308
1460
|
]
|
|
1309
|
-
},
|
|
1461
|
+
}, gt = {
|
|
1310
1462
|
name: "Embed",
|
|
1311
1463
|
static: !0,
|
|
1312
1464
|
builtIn: !0,
|
|
@@ -1317,7 +1469,7 @@ const et = Ze.exports, tt = {
|
|
|
1317
1469
|
required: !0,
|
|
1318
1470
|
defaultValue: "",
|
|
1319
1471
|
helperText: "e.g. enter a youtube url, google map, etc",
|
|
1320
|
-
onChange:
|
|
1472
|
+
onChange: _((t) => {
|
|
1321
1473
|
const e = t.get("url");
|
|
1322
1474
|
if (e)
|
|
1323
1475
|
return t.set("content", "Loading..."), fetch(
|
|
@@ -1340,11 +1492,11 @@ const et = Ze.exports, tt = {
|
|
|
1340
1492
|
hideFromUI: !0
|
|
1341
1493
|
}
|
|
1342
1494
|
]
|
|
1343
|
-
},
|
|
1495
|
+
}, bt = [
|
|
1344
1496
|
"text/javascript",
|
|
1345
1497
|
"application/javascript",
|
|
1346
1498
|
"application/ecmascript"
|
|
1347
|
-
],
|
|
1499
|
+
], yt = (t) => bt.includes(t.type), vt = {
|
|
1348
1500
|
name: "builder-embed",
|
|
1349
1501
|
props: ["content"],
|
|
1350
1502
|
data: () => ({ scriptsInserted: [], scriptsRun: [], ranInitFn: !1 }),
|
|
@@ -1372,7 +1524,7 @@ const et = Ze.exports, tt = {
|
|
|
1372
1524
|
this.scriptsInserted.push(n.src);
|
|
1373
1525
|
const o = document.createElement("script");
|
|
1374
1526
|
o.async = !0, o.src = n.src, document.head.appendChild(o);
|
|
1375
|
-
} else if (
|
|
1527
|
+
} else if (yt(n) && !this.scriptsRun.includes(n.innerText))
|
|
1376
1528
|
try {
|
|
1377
1529
|
this.scriptsRun.push(n.innerText), new Function(n.innerText)();
|
|
1378
1530
|
} catch (o) {
|
|
@@ -1382,27 +1534,27 @@ const et = Ze.exports, tt = {
|
|
|
1382
1534
|
}
|
|
1383
1535
|
}
|
|
1384
1536
|
};
|
|
1385
|
-
var
|
|
1537
|
+
var _t = function() {
|
|
1386
1538
|
var e = this, n = e._self._c;
|
|
1387
1539
|
return n("div", { ref: "elem", staticClass: "builder-embed", domProps: { innerHTML: e._s(e.content) } });
|
|
1388
|
-
},
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1540
|
+
}, xt = [], Ct = /* @__PURE__ */ m(
|
|
1541
|
+
vt,
|
|
1542
|
+
_t,
|
|
1543
|
+
xt,
|
|
1392
1544
|
!1,
|
|
1393
1545
|
null,
|
|
1394
1546
|
null,
|
|
1395
1547
|
null,
|
|
1396
1548
|
null
|
|
1397
1549
|
);
|
|
1398
|
-
const
|
|
1399
|
-
function
|
|
1550
|
+
const kt = Ct.exports;
|
|
1551
|
+
function St() {
|
|
1400
1552
|
return p() && window.self !== window.top;
|
|
1401
1553
|
}
|
|
1402
1554
|
function f() {
|
|
1403
|
-
return
|
|
1555
|
+
return St() && window.location.search.indexOf("builder.frameEditing=") !== -1;
|
|
1404
1556
|
}
|
|
1405
|
-
const
|
|
1557
|
+
const wt = {
|
|
1406
1558
|
name: "builder-img-component",
|
|
1407
1559
|
props: [
|
|
1408
1560
|
"backgroundSize",
|
|
@@ -1414,23 +1566,23 @@ const vt = {
|
|
|
1414
1566
|
],
|
|
1415
1567
|
data: () => ({ isEditing: f })
|
|
1416
1568
|
};
|
|
1417
|
-
var
|
|
1569
|
+
var It = function() {
|
|
1418
1570
|
var e = this, n = e._self._c;
|
|
1419
1571
|
return n("img", e._b({ key: e.isEditing() && e.imgSrc || "default-key", style: {
|
|
1420
1572
|
objectFit: e.backgroundSize || "cover",
|
|
1421
1573
|
objectPosition: e.backgroundPosition || "center"
|
|
1422
1574
|
}, attrs: { alt: e.altText, src: e.imgSrc || e.image } }, "img", e.attributes, !1));
|
|
1423
|
-
},
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1575
|
+
}, Rt = [], Tt = /* @__PURE__ */ m(
|
|
1576
|
+
wt,
|
|
1577
|
+
It,
|
|
1578
|
+
Rt,
|
|
1427
1579
|
!1,
|
|
1428
1580
|
null,
|
|
1429
1581
|
null,
|
|
1430
1582
|
null,
|
|
1431
1583
|
null
|
|
1432
1584
|
);
|
|
1433
|
-
const
|
|
1585
|
+
const $t = Tt.exports, Et = {
|
|
1434
1586
|
name: "Raw:Img",
|
|
1435
1587
|
hideFromInsertMenu: !0,
|
|
1436
1588
|
builtIn: !0,
|
|
@@ -1446,7 +1598,7 @@ const Ct = xt.exports, wt = {
|
|
|
1446
1598
|
],
|
|
1447
1599
|
noWrap: !0,
|
|
1448
1600
|
static: !0
|
|
1449
|
-
},
|
|
1601
|
+
}, Ft = {
|
|
1450
1602
|
name: "builder-custom-code",
|
|
1451
1603
|
props: ["replaceNodes", "code"],
|
|
1452
1604
|
data: () => ({ scriptsInserted: [], scriptsRun: [] }),
|
|
@@ -1492,22 +1644,22 @@ const Ct = xt.exports, wt = {
|
|
|
1492
1644
|
}
|
|
1493
1645
|
}
|
|
1494
1646
|
};
|
|
1495
|
-
var
|
|
1647
|
+
var jt = function() {
|
|
1496
1648
|
var e = this, n = e._self._c;
|
|
1497
1649
|
return n("div", { ref: "elem", class: e._classStringToObject(
|
|
1498
1650
|
"builder-custom-code" + (e.replaceNodes ? " replace-nodes" : "")
|
|
1499
1651
|
), domProps: { innerHTML: e._s(e.code) } });
|
|
1500
|
-
},
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1652
|
+
}, Ot = [], At = /* @__PURE__ */ m(
|
|
1653
|
+
Ft,
|
|
1654
|
+
jt,
|
|
1655
|
+
Ot,
|
|
1504
1656
|
!1,
|
|
1505
1657
|
null,
|
|
1506
1658
|
null,
|
|
1507
1659
|
null,
|
|
1508
1660
|
null
|
|
1509
1661
|
);
|
|
1510
|
-
const
|
|
1662
|
+
const Bt = At.exports, Pt = {
|
|
1511
1663
|
name: "Custom Code",
|
|
1512
1664
|
static: !0,
|
|
1513
1665
|
builtIn: !0,
|
|
@@ -1534,20 +1686,20 @@ const Tt = Rt.exports, $t = {
|
|
|
1534
1686
|
advanced: !0
|
|
1535
1687
|
}
|
|
1536
1688
|
]
|
|
1537
|
-
},
|
|
1538
|
-
{ component:
|
|
1539
|
-
{ component:
|
|
1540
|
-
{ component:
|
|
1541
|
-
{ component:
|
|
1542
|
-
{ component:
|
|
1543
|
-
{ component:
|
|
1544
|
-
{ component:
|
|
1545
|
-
{ component:
|
|
1546
|
-
{ component:
|
|
1547
|
-
{ component:
|
|
1548
|
-
{ component:
|
|
1689
|
+
}, Ut = () => [
|
|
1690
|
+
{ component: se, ...ct },
|
|
1691
|
+
{ component: de, ...dt },
|
|
1692
|
+
{ component: $t, ...Et },
|
|
1693
|
+
{ component: ge, ...ht },
|
|
1694
|
+
{ component: xe, ...ft },
|
|
1695
|
+
{ component: He, ...mt },
|
|
1696
|
+
{ component: Ye, ...lt },
|
|
1697
|
+
{ component: nt, ...pt },
|
|
1698
|
+
{ component: at, ...ut },
|
|
1699
|
+
{ component: kt, ...gt },
|
|
1700
|
+
{ component: Bt, ...Pt }
|
|
1549
1701
|
];
|
|
1550
|
-
function
|
|
1702
|
+
function F({
|
|
1551
1703
|
code: t,
|
|
1552
1704
|
context: e,
|
|
1553
1705
|
state: n,
|
|
@@ -1562,7 +1714,7 @@ function $({
|
|
|
1562
1714
|
isEditing: f(),
|
|
1563
1715
|
isBrowser: p(),
|
|
1564
1716
|
isServer: !p()
|
|
1565
|
-
},
|
|
1717
|
+
}, l = s && !(t.includes(";") || t.includes(" return ") || t.trim().startsWith("return ")) ? `return (${t});` : t;
|
|
1566
1718
|
try {
|
|
1567
1719
|
return new Function(
|
|
1568
1720
|
"builder",
|
|
@@ -1570,127 +1722,127 @@ function $({
|
|
|
1570
1722
|
"state",
|
|
1571
1723
|
"context",
|
|
1572
1724
|
"event",
|
|
1573
|
-
|
|
1725
|
+
l
|
|
1574
1726
|
)(r, r, n, e, o);
|
|
1575
1727
|
} catch (a) {
|
|
1576
1728
|
console.warn(
|
|
1577
1729
|
`Builder custom code error:
|
|
1578
1730
|
While Evaluating:
|
|
1579
1731
|
`,
|
|
1580
|
-
|
|
1732
|
+
l,
|
|
1581
1733
|
`
|
|
1582
1734
|
`,
|
|
1583
1735
|
a
|
|
1584
1736
|
);
|
|
1585
1737
|
}
|
|
1586
1738
|
}
|
|
1587
|
-
function
|
|
1739
|
+
function Vt() {
|
|
1588
1740
|
return !p() || f() ? !1 : Boolean(location.search.indexOf("builder.preview=") !== -1);
|
|
1589
1741
|
}
|
|
1590
|
-
const
|
|
1591
|
-
function
|
|
1592
|
-
return
|
|
1742
|
+
const N = [];
|
|
1743
|
+
function bn(t, e) {
|
|
1744
|
+
return N.push({ component: t, ...e }), console.warn(
|
|
1593
1745
|
"registerComponent is deprecated. Use the `customComponents` prop in RenderContent instead to provide your custom components to the builder SDK."
|
|
1594
1746
|
), t;
|
|
1595
1747
|
}
|
|
1596
|
-
const
|
|
1748
|
+
const Wt = ({
|
|
1597
1749
|
component: t,
|
|
1598
1750
|
...e
|
|
1599
1751
|
}) => ({
|
|
1600
1752
|
type: "builder.registerComponent",
|
|
1601
|
-
data:
|
|
1602
|
-
}),
|
|
1753
|
+
data: Lt(e)
|
|
1754
|
+
}), Nt = (t) => typeof t == "function" ? _(t) : S(t), Lt = ({
|
|
1603
1755
|
inputs: t,
|
|
1604
1756
|
...e
|
|
1605
1757
|
}) => ({
|
|
1606
|
-
...
|
|
1758
|
+
...S(e),
|
|
1607
1759
|
inputs: t == null ? void 0 : t.map(
|
|
1608
1760
|
(n) => Object.entries(n).reduce(
|
|
1609
1761
|
(o, [s, r]) => ({
|
|
1610
1762
|
...o,
|
|
1611
|
-
[s]:
|
|
1763
|
+
[s]: Nt(r)
|
|
1612
1764
|
}),
|
|
1613
1765
|
{}
|
|
1614
1766
|
)
|
|
1615
1767
|
)
|
|
1616
1768
|
});
|
|
1617
|
-
function
|
|
1769
|
+
function Mt() {
|
|
1618
1770
|
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(t) {
|
|
1619
1771
|
const e = Math.random() * 16 | 0;
|
|
1620
1772
|
return (t == "x" ? e : e & 3 | 8).toString(16);
|
|
1621
1773
|
});
|
|
1622
1774
|
}
|
|
1623
|
-
function
|
|
1624
|
-
return
|
|
1775
|
+
function L() {
|
|
1776
|
+
return Mt().replace(/-/g, "");
|
|
1625
1777
|
}
|
|
1626
|
-
const
|
|
1778
|
+
const M = "builderSessionId", zt = async ({ canTrack: t }) => {
|
|
1627
1779
|
if (!t)
|
|
1628
1780
|
return;
|
|
1629
|
-
const e = await
|
|
1630
|
-
name:
|
|
1781
|
+
const e = await B({
|
|
1782
|
+
name: M,
|
|
1631
1783
|
canTrack: t
|
|
1632
1784
|
});
|
|
1633
|
-
if (
|
|
1785
|
+
if (y(e))
|
|
1634
1786
|
return e;
|
|
1635
1787
|
{
|
|
1636
|
-
const n =
|
|
1637
|
-
|
|
1788
|
+
const n = Kt();
|
|
1789
|
+
Dt({ id: n, canTrack: t });
|
|
1638
1790
|
}
|
|
1639
|
-
},
|
|
1791
|
+
}, Kt = () => L(), Dt = ({
|
|
1640
1792
|
id: t,
|
|
1641
1793
|
canTrack: e
|
|
1642
|
-
}) => P({ name:
|
|
1794
|
+
}) => P({ name: M, value: t, canTrack: e }), z = () => p() && typeof localStorage < "u" ? localStorage : void 0, Ht = ({
|
|
1643
1795
|
key: t,
|
|
1644
1796
|
canTrack: e
|
|
1645
1797
|
}) => {
|
|
1646
1798
|
var n;
|
|
1647
1799
|
try {
|
|
1648
|
-
return e ? (n =
|
|
1800
|
+
return e ? (n = z()) == null ? void 0 : n.getItem(t) : void 0;
|
|
1649
1801
|
} catch (o) {
|
|
1650
1802
|
console.debug("[LocalStorage] GET error: ", o);
|
|
1651
1803
|
}
|
|
1652
|
-
},
|
|
1804
|
+
}, qt = ({
|
|
1653
1805
|
key: t,
|
|
1654
1806
|
canTrack: e,
|
|
1655
1807
|
value: n
|
|
1656
1808
|
}) => {
|
|
1657
1809
|
var o;
|
|
1658
1810
|
try {
|
|
1659
|
-
e && ((o =
|
|
1811
|
+
e && ((o = z()) == null || o.setItem(t, n));
|
|
1660
1812
|
} catch (s) {
|
|
1661
1813
|
console.debug("[LocalStorage] SET error: ", s);
|
|
1662
1814
|
}
|
|
1663
|
-
},
|
|
1815
|
+
}, K = "builderVisitorId", Gt = ({ canTrack: t }) => {
|
|
1664
1816
|
if (!t)
|
|
1665
1817
|
return;
|
|
1666
|
-
const e =
|
|
1667
|
-
key:
|
|
1818
|
+
const e = Ht({
|
|
1819
|
+
key: K,
|
|
1668
1820
|
canTrack: t
|
|
1669
1821
|
});
|
|
1670
|
-
if (
|
|
1822
|
+
if (y(e))
|
|
1671
1823
|
return e;
|
|
1672
1824
|
{
|
|
1673
|
-
const n =
|
|
1674
|
-
|
|
1825
|
+
const n = Jt();
|
|
1826
|
+
Xt({ id: n, canTrack: t });
|
|
1675
1827
|
}
|
|
1676
|
-
},
|
|
1828
|
+
}, Jt = () => L(), Xt = ({
|
|
1677
1829
|
id: t,
|
|
1678
1830
|
canTrack: e
|
|
1679
|
-
}) =>
|
|
1680
|
-
key:
|
|
1831
|
+
}) => qt({
|
|
1832
|
+
key: K,
|
|
1681
1833
|
value: t,
|
|
1682
1834
|
canTrack: e
|
|
1683
|
-
}),
|
|
1835
|
+
}), Yt = async ({
|
|
1684
1836
|
canTrack: t
|
|
1685
1837
|
}) => {
|
|
1686
1838
|
if (!t)
|
|
1687
1839
|
return { visitorId: void 0, sessionId: void 0 };
|
|
1688
|
-
const e = await
|
|
1840
|
+
const e = await zt({ canTrack: t }), n = Gt({ canTrack: t });
|
|
1689
1841
|
return {
|
|
1690
1842
|
sessionId: e,
|
|
1691
1843
|
visitorId: n
|
|
1692
1844
|
};
|
|
1693
|
-
},
|
|
1845
|
+
}, Qt = async ({
|
|
1694
1846
|
type: t,
|
|
1695
1847
|
canTrack: e,
|
|
1696
1848
|
apiKey: n,
|
|
@@ -1701,22 +1853,22 @@ const L = "builderSessionId", Ot = async ({ canTrack: t }) => {
|
|
|
1701
1853
|
data: {
|
|
1702
1854
|
...s,
|
|
1703
1855
|
metadata: JSON.stringify(o),
|
|
1704
|
-
...await
|
|
1856
|
+
...await Yt({ canTrack: e }),
|
|
1705
1857
|
ownerId: n
|
|
1706
1858
|
}
|
|
1707
1859
|
});
|
|
1708
|
-
async function
|
|
1860
|
+
async function k(t) {
|
|
1709
1861
|
if (!t.apiKey) {
|
|
1710
1862
|
console.error(
|
|
1711
1863
|
"[Builder.io]: Missing API key for track call. Please provide your API key."
|
|
1712
1864
|
);
|
|
1713
1865
|
return;
|
|
1714
1866
|
}
|
|
1715
|
-
if (!!t.canTrack && !f() && !!(p() ||
|
|
1867
|
+
if (!!t.canTrack && !f() && !!(p() || v === "reactNative"))
|
|
1716
1868
|
return fetch("https://builder.io/api/v1/track", {
|
|
1717
1869
|
method: "POST",
|
|
1718
1870
|
body: JSON.stringify({
|
|
1719
|
-
events: [await
|
|
1871
|
+
events: [await Qt(t)]
|
|
1720
1872
|
}),
|
|
1721
1873
|
headers: {
|
|
1722
1874
|
"content-type": "application/json"
|
|
@@ -1726,21 +1878,21 @@ async function x(t) {
|
|
|
1726
1878
|
console.error("Failed to track: ", e);
|
|
1727
1879
|
});
|
|
1728
1880
|
}
|
|
1729
|
-
const
|
|
1881
|
+
const yn = (t) => k({ ...t, canTrack: !0 }), Zt = () => Promise.resolve().then(() => D).then((t) => t.default).catch((t) => {
|
|
1730
1882
|
throw console.error(
|
|
1731
1883
|
"Error while attempting to dynamically import component RenderBlocks at ../render-blocks.vue",
|
|
1732
1884
|
t
|
|
1733
1885
|
), t;
|
|
1734
|
-
}),
|
|
1886
|
+
}), en = () => import("./render-styles.9f1c2b6a.js").then((t) => t.default).catch((t) => {
|
|
1735
1887
|
throw console.error(
|
|
1736
1888
|
"Error while attempting to dynamically import component RenderContentStyles at ./components/render-styles.vue",
|
|
1737
1889
|
t
|
|
1738
1890
|
), t;
|
|
1739
|
-
}),
|
|
1891
|
+
}), tn = {
|
|
1740
1892
|
name: "render-content",
|
|
1741
1893
|
components: {
|
|
1742
|
-
RenderContentStyles:
|
|
1743
|
-
RenderBlocks:
|
|
1894
|
+
RenderContentStyles: en,
|
|
1895
|
+
RenderBlocks: Zt
|
|
1744
1896
|
},
|
|
1745
1897
|
props: [
|
|
1746
1898
|
"content",
|
|
@@ -1757,6 +1909,7 @@ const ln = (t) => x({ ...t, canTrack: !0 }), zt = () => Promise.resolve().then((
|
|
|
1757
1909
|
forceReRenderCount: 0,
|
|
1758
1910
|
overrideContent: null,
|
|
1759
1911
|
update: 0,
|
|
1912
|
+
useBreakpoints: null,
|
|
1760
1913
|
overrideState: {}
|
|
1761
1914
|
}),
|
|
1762
1915
|
provide() {
|
|
@@ -1786,7 +1939,7 @@ const ln = (t) => x({ ...t, canTrack: !0 }), zt = () => Promise.resolve().then((
|
|
|
1786
1939
|
if (this.apiKey || console.error(
|
|
1787
1940
|
"[Builder.io]: No API key provided to `RenderContent` component. This can cause issues. Please provide an API key using the `apiKey` prop."
|
|
1788
1941
|
), p()) {
|
|
1789
|
-
if (f() && (this.forceReRenderCount = this.forceReRenderCount + 1, q(),
|
|
1942
|
+
if (f() && (this.forceReRenderCount = this.forceReRenderCount + 1, q(), G({
|
|
1790
1943
|
...this.locale ? {
|
|
1791
1944
|
locale: this.locale
|
|
1792
1945
|
} : {},
|
|
@@ -1796,7 +1949,7 @@ const ln = (t) => x({ ...t, canTrack: !0 }), zt = () => Promise.resolve().then((
|
|
|
1796
1949
|
}), Object.values(this.allRegisteredComponents).forEach(
|
|
1797
1950
|
(n) => {
|
|
1798
1951
|
var s;
|
|
1799
|
-
const o =
|
|
1952
|
+
const o = Wt(n);
|
|
1800
1953
|
(s = window.parent) == null || s.postMessage(o, "*");
|
|
1801
1954
|
}
|
|
1802
1955
|
), window.addEventListener("message", this.processMessage), window.addEventListener(
|
|
@@ -1804,7 +1957,7 @@ const ln = (t) => x({ ...t, canTrack: !0 }), zt = () => Promise.resolve().then((
|
|
|
1804
1957
|
this.emitStateUpdate
|
|
1805
1958
|
)), this.useContent) {
|
|
1806
1959
|
const n = (t = this.useContent) == null ? void 0 : t.testVariationId, o = (e = this.useContent) == null ? void 0 : e.id;
|
|
1807
|
-
|
|
1960
|
+
k({
|
|
1808
1961
|
type: "impression",
|
|
1809
1962
|
canTrack: this.canTrackToUse,
|
|
1810
1963
|
contentId: o,
|
|
@@ -1812,11 +1965,11 @@ const ln = (t) => x({ ...t, canTrack: !0 }), zt = () => Promise.resolve().then((
|
|
|
1812
1965
|
variationId: n !== o ? n : void 0
|
|
1813
1966
|
});
|
|
1814
1967
|
}
|
|
1815
|
-
if (
|
|
1968
|
+
if (Vt()) {
|
|
1816
1969
|
const n = new URL(location.href).searchParams;
|
|
1817
1970
|
if (this.model && n.get("builder.preview") === this.model) {
|
|
1818
1971
|
const o = n.get("apiKey") || n.get("builder.space");
|
|
1819
|
-
o &&
|
|
1972
|
+
o && W({
|
|
1820
1973
|
model: this.model,
|
|
1821
1974
|
apiKey: o
|
|
1822
1975
|
}).then((s) => {
|
|
@@ -1846,7 +1999,7 @@ const ln = (t) => x({ ...t, canTrack: !0 }), zt = () => Promise.resolve().then((
|
|
|
1846
1999
|
},
|
|
1847
2000
|
computed: {
|
|
1848
2001
|
useContent() {
|
|
1849
|
-
var e, n;
|
|
2002
|
+
var e, n, o, s, r, i, l, a;
|
|
1850
2003
|
return !this.content && !this.overrideContent ? void 0 : {
|
|
1851
2004
|
...this.content,
|
|
1852
2005
|
...this.overrideContent,
|
|
@@ -1854,6 +2007,11 @@ const ln = (t) => x({ ...t, canTrack: !0 }), zt = () => Promise.resolve().then((
|
|
|
1854
2007
|
...(e = this.content) == null ? void 0 : e.data,
|
|
1855
2008
|
...this.data,
|
|
1856
2009
|
...(n = this.overrideContent) == null ? void 0 : n.data
|
|
2010
|
+
},
|
|
2011
|
+
meta: {
|
|
2012
|
+
...(o = this.content) == null ? void 0 : o.meta,
|
|
2013
|
+
...(s = this.overrideContent) == null ? void 0 : s.meta,
|
|
2014
|
+
breakpoints: this.useBreakpoints || ((i = (r = this.overrideContent) == null ? void 0 : r.meta) == null ? void 0 : i.breakpoints) || ((a = (l = this.content) == null ? void 0 : l.meta) == null ? void 0 : a.breakpoints)
|
|
1857
2015
|
}
|
|
1858
2016
|
};
|
|
1859
2017
|
},
|
|
@@ -1876,8 +2034,8 @@ const ln = (t) => x({ ...t, canTrack: !0 }), zt = () => Promise.resolve().then((
|
|
|
1876
2034
|
},
|
|
1877
2035
|
allRegisteredComponents() {
|
|
1878
2036
|
return [
|
|
1879
|
-
...
|
|
1880
|
-
...
|
|
2037
|
+
...Ut(),
|
|
2038
|
+
...N,
|
|
1881
2039
|
...this.customComponents || []
|
|
1882
2040
|
].reduce(
|
|
1883
2041
|
(n, o) => ({
|
|
@@ -1893,7 +2051,7 @@ const ln = (t) => x({ ...t, canTrack: !0 }), zt = () => Promise.resolve().then((
|
|
|
1893
2051
|
shouldRenderContentStyles() {
|
|
1894
2052
|
var t, e, n, o, s;
|
|
1895
2053
|
return Boolean(
|
|
1896
|
-
(((e = (t = this.useContent) == null ? void 0 : t.data) == null ? void 0 : e.cssCode) || ((s = (o = (n = this.useContent) == null ? void 0 : n.data) == null ? void 0 : o.customFonts) == null ? void 0 : s.length)) &&
|
|
2054
|
+
(((e = (t = this.useContent) == null ? void 0 : t.data) == null ? void 0 : e.cssCode) || ((s = (o = (n = this.useContent) == null ? void 0 : n.data) == null ? void 0 : o.customFonts) == null ? void 0 : s.length)) && v !== "reactNative"
|
|
1897
2055
|
);
|
|
1898
2056
|
},
|
|
1899
2057
|
onUpdateHook0() {
|
|
@@ -1917,12 +2075,20 @@ const ln = (t) => x({ ...t, canTrack: !0 }), zt = () => Promise.resolve().then((
|
|
|
1917
2075
|
},
|
|
1918
2076
|
methods: {
|
|
1919
2077
|
processMessage(t) {
|
|
2078
|
+
var n;
|
|
1920
2079
|
const { data: e } = t;
|
|
1921
2080
|
if (e)
|
|
1922
2081
|
switch (e.type) {
|
|
2082
|
+
case "builder.configureSdk": {
|
|
2083
|
+
const o = e.data, { breakpoints: s, contentId: r } = o;
|
|
2084
|
+
if (!r || r !== ((n = this.useContent) == null ? void 0 : n.id))
|
|
2085
|
+
return;
|
|
2086
|
+
this.useBreakpoints = s, this.forceReRenderCount = this.forceReRenderCount + 1;
|
|
2087
|
+
break;
|
|
2088
|
+
}
|
|
1923
2089
|
case "builder.contentUpdate": {
|
|
1924
|
-
const
|
|
1925
|
-
|
|
2090
|
+
const o = e.data, s = o.key || o.alias || o.entry || o.modelName, r = o.data;
|
|
2091
|
+
s === this.model && (this.overrideContent = r, this.forceReRenderCount = this.forceReRenderCount + 1);
|
|
1926
2092
|
break;
|
|
1927
2093
|
}
|
|
1928
2094
|
}
|
|
@@ -1930,7 +2096,7 @@ const ln = (t) => x({ ...t, canTrack: !0 }), zt = () => Promise.resolve().then((
|
|
|
1930
2096
|
evaluateJsCode() {
|
|
1931
2097
|
var e, n;
|
|
1932
2098
|
const t = (n = (e = this.useContent) == null ? void 0 : e.data) == null ? void 0 : n.jsCode;
|
|
1933
|
-
t &&
|
|
2099
|
+
t && F({
|
|
1934
2100
|
code: t,
|
|
1935
2101
|
context: this.contextContext,
|
|
1936
2102
|
state: this.contentState
|
|
@@ -1940,7 +2106,7 @@ const ln = (t) => x({ ...t, canTrack: !0 }), zt = () => Promise.resolve().then((
|
|
|
1940
2106
|
var e, n;
|
|
1941
2107
|
if (this.useContent) {
|
|
1942
2108
|
const o = (e = this.useContent) == null ? void 0 : e.testVariationId, s = (n = this.useContent) == null ? void 0 : n.id;
|
|
1943
|
-
|
|
2109
|
+
k({
|
|
1944
2110
|
type: "click",
|
|
1945
2111
|
canTrack: this.canTrackToUse,
|
|
1946
2112
|
contentId: s,
|
|
@@ -1952,7 +2118,7 @@ const ln = (t) => x({ ...t, canTrack: !0 }), zt = () => Promise.resolve().then((
|
|
|
1952
2118
|
evalExpression(t) {
|
|
1953
2119
|
return t.replace(
|
|
1954
2120
|
/{{([^}]+)}}/g,
|
|
1955
|
-
(e, n) =>
|
|
2121
|
+
(e, n) => F({
|
|
1956
2122
|
code: n,
|
|
1957
2123
|
context: this.contextContext,
|
|
1958
2124
|
state: this.contentState
|
|
@@ -1960,7 +2126,7 @@ const ln = (t) => x({ ...t, canTrack: !0 }), zt = () => Promise.resolve().then((
|
|
|
1960
2126
|
);
|
|
1961
2127
|
},
|
|
1962
2128
|
handleRequest({ url: t, key: e }) {
|
|
1963
|
-
|
|
2129
|
+
A(t).then((n) => n.json()).then((n) => {
|
|
1964
2130
|
const o = {
|
|
1965
2131
|
...this.overrideState,
|
|
1966
2132
|
[e]: n
|
|
@@ -1997,38 +2163,38 @@ const ln = (t) => x({ ...t, canTrack: !0 }), zt = () => Promise.resolve().then((
|
|
|
1997
2163
|
}
|
|
1998
2164
|
}
|
|
1999
2165
|
};
|
|
2000
|
-
var
|
|
2001
|
-
var o, s, r, i,
|
|
2166
|
+
var nn = function() {
|
|
2167
|
+
var o, s, r, i, l, a, u;
|
|
2002
2168
|
var e = this, n = e._self._c;
|
|
2003
|
-
return e.useContent ? n("div", { ref: "elementRef", attrs: { "builder-content-id": (o = e.useContent) == null ? void 0 : o.id, "builder-model": e.model }, on: { click: function(
|
|
2004
|
-
return e.onClick(
|
|
2005
|
-
} } }, [e.shouldRenderContentStyles ? [n("render-content-styles", { attrs: { cssCode: (r = (s = e.useContent) == null ? void 0 : s.data) == null ? void 0 : r.cssCode, customFonts: (
|
|
2006
|
-
},
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2169
|
+
return e.useContent ? n("div", { ref: "elementRef", attrs: { "builder-content-id": (o = e.useContent) == null ? void 0 : o.id, "builder-model": e.model }, on: { click: function(d) {
|
|
2170
|
+
return e.onClick(d);
|
|
2171
|
+
} } }, [e.shouldRenderContentStyles ? [n("render-content-styles", { attrs: { cssCode: (r = (s = e.useContent) == null ? void 0 : s.data) == null ? void 0 : r.cssCode, customFonts: (l = (i = e.useContent) == null ? void 0 : i.data) == null ? void 0 : l.customFonts } })] : e._e(), n("render-blocks", { key: e.forceReRenderCount, attrs: { blocks: (u = (a = e.useContent) == null ? void 0 : a.data) == null ? void 0 : u.blocks } })], 2) : e._e();
|
|
2172
|
+
}, on = [], sn = /* @__PURE__ */ m(
|
|
2173
|
+
tn,
|
|
2174
|
+
nn,
|
|
2175
|
+
on,
|
|
2010
2176
|
!1,
|
|
2011
2177
|
null,
|
|
2012
2178
|
null,
|
|
2013
2179
|
null,
|
|
2014
2180
|
null
|
|
2015
2181
|
);
|
|
2016
|
-
const
|
|
2182
|
+
const rn = sn.exports, an = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2017
2183
|
__proto__: null,
|
|
2018
|
-
default:
|
|
2019
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2184
|
+
default: rn
|
|
2185
|
+
}, Symbol.toStringTag, { value: "Module" })), ln = () => import("./block-styles.b44c8edf.js").then((t) => t.default).catch((t) => {
|
|
2020
2186
|
throw console.error(
|
|
2021
2187
|
"Error while attempting to dynamically import component BlockStyles at ./render-block/block-styles.vue",
|
|
2022
2188
|
t
|
|
2023
2189
|
), t;
|
|
2024
|
-
}),
|
|
2190
|
+
}), cn = () => import("./render-block.19d46f0b.js").then((t) => t.default).catch((t) => {
|
|
2025
2191
|
throw console.error(
|
|
2026
2192
|
"Error while attempting to dynamically import component RenderBlock at ./render-block/render-block.vue",
|
|
2027
2193
|
t
|
|
2028
2194
|
), t;
|
|
2029
|
-
}),
|
|
2195
|
+
}), un = {
|
|
2030
2196
|
name: "render-blocks",
|
|
2031
|
-
components: { RenderBlock:
|
|
2197
|
+
components: { RenderBlock: cn, BlockStyles: ln },
|
|
2032
2198
|
props: ["blocks", "parent", "path", "styleProp"],
|
|
2033
2199
|
inject: {
|
|
2034
2200
|
builderContext: "BuilderContext"
|
|
@@ -2077,9 +2243,9 @@ const Qt = Yt.exports, Zt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object
|
|
|
2077
2243
|
}
|
|
2078
2244
|
}
|
|
2079
2245
|
};
|
|
2080
|
-
var
|
|
2246
|
+
var dn = function() {
|
|
2081
2247
|
var e = this, n = e._self._c;
|
|
2082
|
-
return n("div", { class: e._classStringToObject(e.className + " div-
|
|
2248
|
+
return n("div", { class: e._classStringToObject(e.className + " div-21azgz5avex"), style: e.styleProp, attrs: { "builder-path": e.path, "builder-parent-id": e.parent, dataSet: {
|
|
2083
2249
|
class: e.className
|
|
2084
2250
|
} }, on: { click: function(o) {
|
|
2085
2251
|
return e.onClick();
|
|
@@ -2090,58 +2256,61 @@ var on = function() {
|
|
|
2090
2256
|
}) : e._e(), e.blocks ? e._l(e.blocks, function(o, s) {
|
|
2091
2257
|
return n("block-styles", { key: "block-style-" + o.id, attrs: { block: o, context: e.builderContext } });
|
|
2092
2258
|
}) : e._e()], 2);
|
|
2093
|
-
},
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2259
|
+
}, pn = [], mn = /* @__PURE__ */ m(
|
|
2260
|
+
un,
|
|
2261
|
+
dn,
|
|
2262
|
+
pn,
|
|
2097
2263
|
!1,
|
|
2098
2264
|
null,
|
|
2099
|
-
"
|
|
2265
|
+
"0a33c796",
|
|
2100
2266
|
null,
|
|
2101
2267
|
null
|
|
2102
2268
|
);
|
|
2103
|
-
const
|
|
2269
|
+
const hn = mn.exports, D = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2104
2270
|
__proto__: null,
|
|
2105
|
-
default:
|
|
2106
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2107
|
-
function
|
|
2271
|
+
default: hn
|
|
2272
|
+
}, Symbol.toStringTag, { value: "Module" })), j = {};
|
|
2273
|
+
function vn(t) {
|
|
2108
2274
|
if (p()) {
|
|
2109
|
-
Object.assign(
|
|
2275
|
+
Object.assign(j, t);
|
|
2110
2276
|
const e = {
|
|
2111
2277
|
type: "builder.settingsChange",
|
|
2112
|
-
data:
|
|
2278
|
+
data: j
|
|
2113
2279
|
};
|
|
2114
2280
|
parent.postMessage(e, "*");
|
|
2115
2281
|
}
|
|
2116
2282
|
}
|
|
2117
2283
|
export {
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2284
|
+
Ye as B,
|
|
2285
|
+
se as C,
|
|
2286
|
+
at as F,
|
|
2287
|
+
de as I,
|
|
2288
|
+
He as S,
|
|
2289
|
+
v as T,
|
|
2290
|
+
xe as V,
|
|
2291
|
+
fn as a,
|
|
2292
|
+
Y as b,
|
|
2293
|
+
gn as c,
|
|
2294
|
+
ge as d,
|
|
2295
|
+
F as e,
|
|
2296
|
+
S as f,
|
|
2297
|
+
J as g,
|
|
2298
|
+
nt as h,
|
|
2299
|
+
hn as i,
|
|
2300
|
+
f as j,
|
|
2301
|
+
Vt as k,
|
|
2302
|
+
N as l,
|
|
2303
|
+
bn as m,
|
|
2138
2304
|
m as n,
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2305
|
+
Wt as o,
|
|
2306
|
+
H as p,
|
|
2307
|
+
W as q,
|
|
2308
|
+
rn as r,
|
|
2309
|
+
vn as s,
|
|
2310
|
+
yn as t,
|
|
2311
|
+
Ne as u,
|
|
2312
|
+
Pe as v,
|
|
2313
|
+
Ue as w,
|
|
2314
|
+
Ve as x,
|
|
2315
|
+
V as y
|
|
2147
2316
|
};
|