@builder.io/sdk-vue 0.7.6 → 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/package.json +8 -7
- package/vue2/lib/{edge/block-1f2d2db7.cjs → browser/block-9d4161fb.cjs} +2 -2
- package/vue2/lib/{node/block-bbaf1d04.js → browser/block-f5679152.js} +10 -9
- package/vue2/lib/browser/{block-styles-fd9354cd.js → block-styles-6ca785bb.js} +8 -7
- package/vue2/lib/browser/block-styles-b76b4562.cjs +1 -0
- package/vue2/lib/{edge/block-wrapper-e5b88192.js → browser/block-wrapper-0d4fe902.js} +8 -7
- package/vue2/lib/browser/block-wrapper-3157e1bc.cjs +1 -0
- package/vue2/lib/browser/blocks-wrapper-02404286.cjs +1 -0
- package/vue2/lib/{edge/blocks-wrapper-6746e3cd.js → browser/blocks-wrapper-dc71efe8.js} +4 -3
- package/vue2/lib/browser/component-ref-c51b0a20.cjs +1 -0
- package/vue2/lib/{edge/component-ref-c33bfd71.js → browser/component-ref-d59047de.js} +9 -8
- package/vue2/lib/browser/constants/sdk-version.d.ts +1 -1
- package/vue2/lib/browser/content-0575efdf.cjs +1 -0
- package/vue2/lib/{edge/content-2ea81381.js → browser/content-84bda2e9.js} +8 -7
- package/vue2/lib/browser/css-9cb1ef7e.cjs +6 -0
- package/vue2/lib/browser/{css-5f8e03e7.js → css-bdeda4e4.js} +4 -3
- package/vue2/lib/{node/enable-editor-359d31d1.js → browser/enable-editor-c377a256.js} +6 -5
- package/vue2/lib/browser/enable-editor-c49316d4.cjs +1 -0
- package/vue2/lib/browser/{evaluate-04a2bd86.js → evaluate-2857c518.js} +4 -3
- package/vue2/lib/browser/evaluate-5a5f1e1a.cjs +1 -0
- package/vue2/lib/{node/get-block-actions-c8c3330b.js → browser/get-block-actions-6774e2de.js} +5 -4
- package/vue2/lib/browser/get-block-actions-797d49a2.cjs +1 -0
- package/vue2/lib/browser/get-block-properties-b25a78e1.cjs +1 -0
- package/vue2/lib/{edge/get-block-properties-721b933d.js → browser/get-block-properties-eb393578.js} +11 -10
- package/vue2/lib/browser/{get-processed-block-1ddb5e78.js → get-processed-block-d2849656.js} +17 -16
- package/vue2/lib/browser/get-processed-block-e9eb76d5.cjs +1 -0
- package/vue2/lib/{node/index-3fcbe332.js → browser/index-1fdc0dd8.js} +48 -47
- package/vue2/lib/{edge/index-1d97f3d7.cjs → browser/index-e56cba6d.cjs} +3 -3
- package/vue2/lib/browser/index.cjs +1 -1
- package/vue2/lib/browser/index.js +24 -23
- package/vue2/lib/{edge/inlined-script-88ef6d76.js → browser/inlined-script-0fd7eea7.js} +7 -6
- package/vue2/lib/browser/inlined-script-166d99c7.cjs +1 -0
- package/vue2/lib/browser/inlined-styles-4c4a89e2.cjs +1 -0
- package/vue2/lib/{node/inlined-styles-41df1b95.js → browser/inlined-styles-73447147.js} +5 -4
- package/vue2/lib/browser/interactive-element-772e6a3d.cjs +1 -0
- package/vue2/lib/{node/interactive-element-bbd449cb.js → browser/interactive-element-f3bc9b6c.js} +8 -7
- package/vue2/lib/{node/repeated-block-82dffab6.js → browser/repeated-block-59ab7fe5.js} +5 -4
- package/vue2/lib/browser/repeated-block-8c6f0ef0.cjs +1 -0
- package/vue2/lib/{node/styles-b9c3f50e.cjs → browser/styles-0fbadb80.cjs} +2 -2
- package/vue2/lib/{edge/styles-fbe2ad34.js → browser/styles-3945b4c7.js} +8 -7
- package/vue2/lib/{browser/block-3acda1db.cjs → edge/block-03548c5c.cjs} +2 -2
- package/vue2/lib/edge/{block-88b23340.js → block-c6f466c0.js} +10 -9
- package/vue2/lib/{node/block-styles-ae29f345.js → edge/block-styles-37805084.js} +8 -7
- package/vue2/lib/edge/block-styles-adc484c6.cjs +1 -0
- package/vue2/lib/{browser/block-wrapper-42a21f3a.js → edge/block-wrapper-1d75af67.js} +8 -7
- package/vue2/lib/edge/block-wrapper-ff8027da.cjs +1 -0
- package/vue2/lib/{node/blocks-wrapper-1e6ad915.js → edge/blocks-wrapper-e329b941.js} +4 -3
- package/vue2/lib/edge/blocks-wrapper-ed7f6801.cjs +1 -0
- package/vue2/lib/{node/component-ref-205a7877.js → edge/component-ref-b3b70fa9.js} +9 -8
- package/vue2/lib/edge/component-ref-fc9c9d6b.cjs +1 -0
- package/vue2/lib/edge/constants/sdk-version.d.ts +1 -1
- package/vue2/lib/{browser/content-fea57461.js → edge/content-90700d7e.js} +8 -7
- package/vue2/lib/edge/content-e5850b95.cjs +1 -0
- package/vue2/lib/edge/css-5dcb14df.cjs +6 -0
- package/vue2/lib/edge/{css-fdcffefa.js → css-99493b5d.js} +4 -3
- package/vue2/lib/edge/enable-editor-31a92cf5.cjs +1 -0
- package/vue2/lib/edge/{enable-editor-f32fd70b.js → enable-editor-81a0ad6d.js} +6 -5
- package/vue2/lib/edge/{evaluate-f1aeac53.js → evaluate-2a5e2028.js} +4 -3
- package/vue2/lib/edge/{evaluate-907e638c.cjs → evaluate-4bd2a851.cjs} +1 -1
- package/vue2/lib/edge/get-block-actions-84b02e58.cjs +1 -0
- package/vue2/lib/edge/{get-block-actions-f7a64955.js → get-block-actions-a4c6a740.js} +5 -4
- package/vue2/lib/{node/get-block-properties-8711f880.js → edge/get-block-properties-450803e5.js} +11 -10
- package/vue2/lib/edge/get-block-properties-a07f7705.cjs +1 -0
- package/vue2/lib/{node/get-processed-block-ee45c650.js → edge/get-processed-block-1d7ecd6a.js} +16 -15
- package/vue2/lib/edge/get-processed-block-8f70184a.cjs +1 -0
- package/vue2/lib/{browser/index-efdcc0ee.js → edge/index-22fb0dfe.js} +48 -47
- package/vue2/lib/{node/index-bf858a42.cjs → edge/index-cf208007.cjs} +3 -3
- package/vue2/lib/edge/index.cjs +1 -1
- package/vue2/lib/edge/index.js +24 -23
- package/vue2/lib/edge/inlined-script-f460fc92.cjs +1 -0
- package/vue2/lib/{node/inlined-script-24a8df2e.js → edge/inlined-script-f5a56ea4.js} +7 -6
- package/vue2/lib/edge/inlined-styles-c9c77496.cjs +1 -0
- package/vue2/lib/edge/{inlined-styles-960710cc.js → inlined-styles-ea805c3d.js} +5 -4
- package/vue2/lib/{browser/interactive-element-eb83a760.js → edge/interactive-element-340237cb.js} +8 -7
- package/vue2/lib/edge/interactive-element-d909635d.cjs +1 -0
- package/vue2/lib/{browser/repeated-block-b9f308bb.js → edge/repeated-block-b32d9254.js} +5 -4
- package/vue2/lib/edge/repeated-block-d2b864a8.cjs +1 -0
- package/vue2/lib/{browser/styles-f398dedc.js → edge/styles-8840ca47.js} +8 -7
- package/vue2/lib/edge/{styles-fccbcaef.cjs → styles-8f4d5e0d.cjs} +2 -2
- package/vue2/lib/{browser/block-a6f87b59.js → node/block-6dc57ba5.js} +10 -9
- package/vue2/lib/node/{block-250cdb0f.cjs → block-f9029bc3.cjs} +2 -2
- package/vue2/lib/{edge/block-styles-3ecae21c.js → node/block-styles-b947dfc5.js} +8 -7
- package/vue2/lib/node/block-styles-c4974a44.cjs +1 -0
- package/vue2/lib/node/{block-wrapper-88b642c5.js → block-wrapper-04b443cd.js} +8 -7
- package/vue2/lib/node/block-wrapper-8ba974d4.cjs +1 -0
- package/vue2/lib/{browser/blocks-wrapper-ca4d46fe.js → node/blocks-wrapper-2ebcec73.js} +4 -3
- package/vue2/lib/node/blocks-wrapper-e32910ce.cjs +1 -0
- package/vue2/lib/{browser/component-ref-1114d239.js → node/component-ref-5f0d480f.js} +9 -8
- package/vue2/lib/node/component-ref-7f93a1f0.cjs +1 -0
- package/vue2/lib/node/constants/sdk-version.d.ts +1 -1
- package/vue2/lib/node/content-a860398a.cjs +1 -0
- package/vue2/lib/node/{content-f12d606a.js → content-b604b895.js} +8 -7
- package/vue2/lib/node/{css-6048b6bd.js → css-97122c97.js} +4 -3
- package/vue2/lib/node/css-fb2674c8.cjs +6 -0
- package/vue2/lib/node/enable-editor-cdf1803d.cjs +1 -0
- package/vue2/lib/{browser/enable-editor-9e5fbca5.js → node/enable-editor-df62e3bf.js} +6 -5
- package/vue2/lib/node/{evaluate-0814c11a.cjs → evaluate-44daeb3b.cjs} +1 -1
- package/vue2/lib/node/{evaluate-834a9ea9.js → evaluate-b86af327.js} +2 -1
- package/vue2/lib/{browser/get-block-actions-6bf6efd8.js → node/get-block-actions-035815cd.js} +5 -4
- package/vue2/lib/node/get-block-actions-0c98c4e4.cjs +1 -0
- package/vue2/lib/{browser/get-block-properties-d1d0bc05.js → node/get-block-properties-b3de78f4.js} +11 -10
- package/vue2/lib/node/get-block-properties-d46ce865.cjs +1 -0
- package/vue2/lib/node/get-processed-block-34d0880b.cjs +1 -0
- package/vue2/lib/{edge/get-processed-block-0ed76999.js → node/get-processed-block-e16b5f0b.js} +16 -15
- package/vue2/lib/{edge/index-5e05bfe5.js → node/index-04eac5bd.js} +48 -47
- package/vue2/lib/{browser/index-3caa5325.cjs → node/index-f82ca488.cjs} +3 -3
- package/vue2/lib/node/index.cjs +1 -1
- package/vue2/lib/node/index.js +24 -23
- package/vue2/lib/node/inlined-script-3d1617fb.cjs +1 -0
- package/vue2/lib/{browser/inlined-script-ec4a5d29.js → node/inlined-script-a6f84120.js} +7 -6
- package/vue2/lib/{browser/inlined-styles-f423abf7.js → node/inlined-styles-4fa88e65.js} +5 -4
- package/vue2/lib/node/inlined-styles-e70e3d2e.cjs +1 -0
- package/vue2/lib/node/interactive-element-f08c324e.cjs +1 -0
- package/vue2/lib/{edge/interactive-element-bb9f8f84.js → node/interactive-element-f46aae31.js} +8 -7
- package/vue2/lib/node/repeated-block-5d832619.cjs +1 -0
- package/vue2/lib/{edge/repeated-block-06156896.js → node/repeated-block-fe5a6df8.js} +5 -4
- package/vue2/lib/node/{styles-dc003dc5.js → styles-5a4adee9.js} +8 -7
- package/vue2/lib/{browser/styles-d078f3c9.cjs → node/styles-85761eb4.cjs} +2 -2
- package/vue2/package.json +5 -0
- package/vue3/lib/{node/block-wrapper.747652cc.js → browser/block-wrapper.352385b7.js} +3 -3
- package/vue3/lib/{node/block-wrapper.56c45140.cjs → browser/block-wrapper.5e6d25d7.cjs} +1 -1
- package/vue3/lib/{node/component-ref.9c294efb.cjs → browser/component-ref.5c2938c9.cjs} +1 -1
- package/vue3/lib/{node/component-ref.4cde5228.js → browser/component-ref.bf30bc42.js} +3 -3
- package/vue3/lib/browser/constants/sdk-version.d.ts +1 -1
- package/vue3/lib/{edge/get-block-actions.b12a50e1.js → browser/get-block-actions.6a86c1e3.js} +6 -5
- package/vue3/lib/browser/get-block-actions.f6ff7325.cjs +1 -0
- package/vue3/lib/browser/{index.263ef516.cjs → index.8871e74f.cjs} +7 -7
- package/vue3/lib/browser/index.cjs +1 -1
- package/vue3/lib/browser/{index.3ca6cceb.js → index.dfff88fe.js} +74 -73
- package/vue3/lib/browser/index.js +27 -26
- package/vue3/lib/{node/repeated-block.d9d63701.js → browser/repeated-block.16b97544.js} +3 -3
- package/vue3/lib/{node/repeated-block.b45912e0.cjs → browser/repeated-block.fecd4553.cjs} +1 -1
- package/vue3/lib/edge/block-wrapper.6a65a5d4.cjs +1 -0
- package/vue3/lib/edge/{block-wrapper.b96fad63.js → block-wrapper.6ce0ef67.js} +6 -5
- package/vue3/lib/edge/{component-ref.fef012d7.js → component-ref.6603a2a5.js} +5 -4
- package/vue3/lib/edge/component-ref.8741a80d.cjs +1 -0
- package/vue3/lib/edge/constants/sdk-version.d.ts +1 -1
- package/vue3/lib/{browser/get-block-actions.b5062464.js → edge/get-block-actions.a147904d.js} +6 -5
- package/vue3/lib/edge/get-block-actions.a9e5c4f5.cjs +1 -0
- package/vue3/lib/edge/{index.caa41e14.cjs → index.01b1f45a.cjs} +8 -8
- package/vue3/lib/edge/{index.8968e581.js → index.7bae31e6.js} +128 -127
- package/vue3/lib/edge/index.cjs +1 -1
- package/vue3/lib/edge/index.js +27 -26
- package/vue3/lib/edge/{repeated-block.827595e1.js → repeated-block.3cdac290.js} +5 -4
- package/vue3/lib/edge/repeated-block.7f5a9758.cjs +1 -0
- package/vue3/lib/{browser/block-wrapper.1377d486.js → node/block-wrapper.6198973e.js} +8 -6
- package/vue3/lib/node/block-wrapper.d4a48d58.cjs +1 -0
- package/vue3/lib/{browser/component-ref.0df2ace0.js → node/component-ref.a11780f4.js} +12 -10
- package/vue3/lib/node/component-ref.d6bc01e4.cjs +1 -0
- package/vue3/lib/node/constants/sdk-version.d.ts +1 -1
- package/vue3/lib/node/{get-block-actions.f57c50da.js → get-block-actions.a19931a2.js} +6 -5
- package/vue3/lib/node/get-block-actions.ecd370ea.cjs +1 -0
- package/vue3/lib/node/{index.6ab6fc2e.cjs → index.4291aa83.cjs} +7 -7
- package/vue3/lib/node/{index.941e6502.js → index.67294824.js} +49 -48
- package/vue3/lib/node/index.cjs +1 -1
- package/vue3/lib/node/index.js +24 -23
- package/vue3/lib/{browser/repeated-block.055d09e9.js → node/repeated-block.6106c352.js} +8 -6
- package/vue3/lib/node/repeated-block.ab684d37.cjs +1 -0
- package/vue3/package.json +5 -0
- package/vue2/css/package.json +0 -4
- package/vue2/lib/browser/block-styles-5c462c72.cjs +0 -1
- package/vue2/lib/browser/block-wrapper-6614e2f6.cjs +0 -1
- package/vue2/lib/browser/blocks-wrapper-7761766b.cjs +0 -1
- package/vue2/lib/browser/component-ref-705f4623.cjs +0 -1
- package/vue2/lib/browser/content-4e18170c.cjs +0 -1
- package/vue2/lib/browser/css-bd209fae.cjs +0 -6
- package/vue2/lib/browser/enable-editor-430efbd4.cjs +0 -1
- package/vue2/lib/browser/evaluate-07174f5f.cjs +0 -1
- package/vue2/lib/browser/get-block-actions-84c842f6.cjs +0 -1
- package/vue2/lib/browser/get-block-properties-e2a40df1.cjs +0 -1
- package/vue2/lib/browser/get-processed-block-e0783c0a.cjs +0 -1
- package/vue2/lib/browser/inlined-script-335771a8.cjs +0 -1
- package/vue2/lib/browser/inlined-styles-3913a8d2.cjs +0 -1
- package/vue2/lib/browser/interactive-element-37bc0f5d.cjs +0 -1
- package/vue2/lib/browser/repeated-block-0d2b2875.cjs +0 -1
- package/vue2/lib/edge/block-styles-aceb9af8.cjs +0 -1
- package/vue2/lib/edge/block-wrapper-138380d7.cjs +0 -1
- package/vue2/lib/edge/blocks-wrapper-faea8d38.cjs +0 -1
- package/vue2/lib/edge/component-ref-7b7d8e68.cjs +0 -1
- package/vue2/lib/edge/content-5c39336c.cjs +0 -1
- package/vue2/lib/edge/css-23e659da.cjs +0 -6
- package/vue2/lib/edge/enable-editor-9d1118ea.cjs +0 -1
- package/vue2/lib/edge/get-block-actions-746c9bd2.cjs +0 -1
- package/vue2/lib/edge/get-block-properties-a5109149.cjs +0 -1
- package/vue2/lib/edge/get-processed-block-c0703239.cjs +0 -1
- package/vue2/lib/edge/inlined-script-9a554125.cjs +0 -1
- package/vue2/lib/edge/inlined-styles-908b0f3d.cjs +0 -1
- package/vue2/lib/edge/interactive-element-ad4ab167.cjs +0 -1
- package/vue2/lib/edge/repeated-block-5ba61f53.cjs +0 -1
- package/vue2/lib/node/block-styles-1e2640a2.cjs +0 -1
- package/vue2/lib/node/block-wrapper-ac53a924.cjs +0 -1
- package/vue2/lib/node/blocks-wrapper-a054ebaf.cjs +0 -1
- package/vue2/lib/node/component-ref-06eef9a6.cjs +0 -1
- package/vue2/lib/node/content-a5a1d56c.cjs +0 -1
- package/vue2/lib/node/css-b2c258a5.cjs +0 -6
- package/vue2/lib/node/enable-editor-fdd7a890.cjs +0 -1
- package/vue2/lib/node/get-block-actions-3773e4fd.cjs +0 -1
- package/vue2/lib/node/get-block-properties-3f9bfbe9.cjs +0 -1
- package/vue2/lib/node/get-processed-block-5728fca2.cjs +0 -1
- package/vue2/lib/node/inlined-script-05a289bc.cjs +0 -1
- package/vue2/lib/node/inlined-styles-7ac1dd90.cjs +0 -1
- package/vue2/lib/node/interactive-element-cae91247.cjs +0 -1
- package/vue2/lib/node/repeated-block-65e12830.cjs +0 -1
- package/vue3/css/package.json +0 -4
- package/vue3/lib/browser/block-wrapper.77966882.cjs +0 -1
- package/vue3/lib/browser/component-ref.cfa2879a.cjs +0 -1
- package/vue3/lib/browser/get-block-actions.53c9e174.cjs +0 -1
- package/vue3/lib/browser/repeated-block.10ac7676.cjs +0 -1
- package/vue3/lib/edge/block-wrapper.a5eacdf4.cjs +0 -1
- package/vue3/lib/edge/component-ref.4865219f.cjs +0 -1
- package/vue3/lib/edge/get-block-actions.e8f7801d.cjs +0 -1
- package/vue3/lib/edge/repeated-block.819e62ef.cjs +0 -1
- package/vue3/lib/node/get-block-actions.2b49b259.cjs +0 -1
package/vue2/lib/browser/{get-processed-block-1ddb5e78.js → get-processed-block-d2849656.js}
RENAMED
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { f
|
|
1
|
+
import "./style.css";
|
|
2
|
+
import { f } from "./index-1fdc0dd8.js";
|
|
3
|
+
import { e as d } from "./evaluate-2857c518.js";
|
|
3
4
|
const g = (n, i, o) => {
|
|
4
5
|
if (Object(n) !== n)
|
|
5
6
|
return n;
|
|
6
|
-
const
|
|
7
|
-
return
|
|
7
|
+
const r = Array.isArray(i) ? i : i.toString().match(/[^.[\]]+/g);
|
|
8
|
+
return r.slice(0, -1).reduce((e, t, s) => Object(e[t]) === e[t] ? e[t] : e[t] = Math.abs(Number(r[s + 1])) >> 0 === +r[s + 1] ? [] : {}, n)[r[r.length - 1]] = o, n;
|
|
8
9
|
};
|
|
9
10
|
const p = ({
|
|
10
11
|
block: n,
|
|
11
12
|
context: i,
|
|
12
13
|
localState: o,
|
|
13
|
-
rootState:
|
|
14
|
-
rootSetState:
|
|
14
|
+
rootState: r,
|
|
15
|
+
rootSetState: e
|
|
15
16
|
}) => {
|
|
16
17
|
if (!n.bindings)
|
|
17
18
|
return n;
|
|
18
|
-
const t =
|
|
19
|
+
const t = f(n), s = {
|
|
19
20
|
...t,
|
|
20
21
|
properties: {
|
|
21
22
|
...t.properties
|
|
@@ -25,34 +26,34 @@ const p = ({
|
|
|
25
26
|
}
|
|
26
27
|
};
|
|
27
28
|
for (const c in n.bindings) {
|
|
28
|
-
const a = n.bindings[c], u =
|
|
29
|
+
const a = n.bindings[c], u = d({
|
|
29
30
|
code: a,
|
|
30
31
|
localState: o,
|
|
31
|
-
rootState:
|
|
32
|
-
rootSetState:
|
|
32
|
+
rootState: r,
|
|
33
|
+
rootSetState: e,
|
|
33
34
|
context: i
|
|
34
35
|
});
|
|
35
36
|
g(s, c, u);
|
|
36
37
|
}
|
|
37
38
|
return s;
|
|
38
39
|
};
|
|
39
|
-
function
|
|
40
|
+
function v({
|
|
40
41
|
block: n,
|
|
41
42
|
context: i,
|
|
42
43
|
shouldEvaluateBindings: o,
|
|
43
|
-
localState:
|
|
44
|
-
rootState:
|
|
44
|
+
localState: r,
|
|
45
|
+
rootState: e,
|
|
45
46
|
rootSetState: t
|
|
46
47
|
}) {
|
|
47
48
|
const s = n;
|
|
48
49
|
return o ? p({
|
|
49
50
|
block: s,
|
|
50
|
-
localState:
|
|
51
|
-
rootState:
|
|
51
|
+
localState: r,
|
|
52
|
+
rootState: e,
|
|
52
53
|
rootSetState: t,
|
|
53
54
|
context: i
|
|
54
55
|
}) : s;
|
|
55
56
|
}
|
|
56
57
|
export {
|
|
57
|
-
|
|
58
|
+
v as g
|
|
58
59
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var m=require("./style.css");const d=require("./index-e56cba6d.cjs"),g=require("./evaluate-5a5f1e1a.cjs"),f=(e,i,o)=>{if(Object(e)!==e)return e;const t=Array.isArray(i)?i:i.toString().match(/[^.[\]]+/g);return t.slice(0,-1).reduce((r,n,s)=>Object(r[n])===r[n]?r[n]:r[n]=Math.abs(Number(t[s+1]))>>0===+t[s+1]?[]:{},e)[t[t.length-1]]=o,e};const l=({block:e,context:i,localState:o,rootState:t,rootSetState:r})=>{if(!e.bindings)return e;const n=d.fastClone(e),s={...n,properties:{...n.properties},actions:{...n.actions}};for(const c in e.bindings){const u=e.bindings[c],a=g.evaluate({code:u,localState:o,rootState:t,rootSetState:r,context:i});f(s,c,a)}return s};function p({block:e,context:i,shouldEvaluateBindings:o,localState:t,rootState:r,rootSetState:n}){const s=e;return o?l({block:s,localState:t,rootState:r,rootSetState:n,context:i}):s}exports.getProcessedBlock=p;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import "./style.css";
|
|
1
2
|
import { defineComponent as u } from "vue";
|
|
2
3
|
function E(e = {}, t, n) {
|
|
3
4
|
const o = {};
|
|
@@ -69,7 +70,7 @@ var ut = function() {
|
|
|
69
70
|
null,
|
|
70
71
|
null
|
|
71
72
|
);
|
|
72
|
-
const
|
|
73
|
+
const dn = mt.exports, A = (e) => JSON.parse(JSON.stringify(e)), M = {
|
|
73
74
|
small: {
|
|
74
75
|
min: 320,
|
|
75
76
|
default: 321,
|
|
@@ -85,7 +86,7 @@ const ln = mt.exports, A = (e) => JSON.parse(JSON.stringify(e)), M = {
|
|
|
85
86
|
default: 991,
|
|
86
87
|
max: 1200
|
|
87
88
|
}
|
|
88
|
-
},
|
|
89
|
+
}, un = (e, t = M) => `@media (max-width: ${t[e].max}px)`, ft = ({
|
|
89
90
|
small: e,
|
|
90
91
|
medium: t
|
|
91
92
|
}) => {
|
|
@@ -116,7 +117,7 @@ const ln = mt.exports, A = (e) => JSON.parse(JSON.stringify(e)), M = {
|
|
|
116
117
|
"Error while attempting to dynamically import component Blocks at ../../components/blocks/blocks.vue",
|
|
117
118
|
e
|
|
118
119
|
), e;
|
|
119
|
-
}), _t = () => import("./inlined-styles-
|
|
120
|
+
}), _t = () => import("./inlined-styles-73447147.js").then((e) => e.default).catch((e) => {
|
|
120
121
|
throw console.error(
|
|
121
122
|
"Error while attempting to dynamically import component InlinedStyles at ../../components/inlined-styles.vue",
|
|
122
123
|
e
|
|
@@ -261,7 +262,7 @@ var gt = function() {
|
|
|
261
262
|
null,
|
|
262
263
|
null
|
|
263
264
|
);
|
|
264
|
-
const
|
|
265
|
+
const pn = vt.exports, St = u({
|
|
265
266
|
name: "builder-fragment-component",
|
|
266
267
|
props: []
|
|
267
268
|
});
|
|
@@ -278,7 +279,7 @@ var kt = function() {
|
|
|
278
279
|
null,
|
|
279
280
|
null
|
|
280
281
|
);
|
|
281
|
-
const
|
|
282
|
+
const mn = xt.exports;
|
|
282
283
|
function U(e) {
|
|
283
284
|
return e.replace(/http(s)?:/, "");
|
|
284
285
|
}
|
|
@@ -389,7 +390,7 @@ var Tt = function() {
|
|
|
389
390
|
null,
|
|
390
391
|
null
|
|
391
392
|
);
|
|
392
|
-
const
|
|
393
|
+
const fn = Et.exports, At = u({
|
|
393
394
|
name: "builder-section-component",
|
|
394
395
|
props: ["attributes", "maxWidth"],
|
|
395
396
|
data() {
|
|
@@ -420,7 +421,7 @@ var Vt = function() {
|
|
|
420
421
|
null,
|
|
421
422
|
null
|
|
422
423
|
);
|
|
423
|
-
const
|
|
424
|
+
const hn = Ot.exports, x = "[Builder.io]: ", _ = {
|
|
424
425
|
log: (...e) => console.log(x, ...e),
|
|
425
426
|
error: (...e) => console.error(x, ...e),
|
|
426
427
|
warn: (...e) => console.warn(x, ...e),
|
|
@@ -528,7 +529,7 @@ var Ut = function() {
|
|
|
528
529
|
null,
|
|
529
530
|
null
|
|
530
531
|
);
|
|
531
|
-
const
|
|
532
|
+
const _n = Ft.exports, Lt = u({
|
|
532
533
|
name: "builder-text",
|
|
533
534
|
props: ["text"]
|
|
534
535
|
});
|
|
@@ -548,7 +549,7 @@ var Wt = function() {
|
|
|
548
549
|
null,
|
|
549
550
|
null
|
|
550
551
|
);
|
|
551
|
-
const
|
|
552
|
+
const bn = Kt.exports, zt = u({
|
|
552
553
|
name: "builder-video",
|
|
553
554
|
props: [
|
|
554
555
|
"autoPlay",
|
|
@@ -642,7 +643,7 @@ var Gt = function() {
|
|
|
642
643
|
null,
|
|
643
644
|
null
|
|
644
645
|
);
|
|
645
|
-
const
|
|
646
|
+
const gn = Qt.exports, Jt = Symbol(), Xt = {
|
|
646
647
|
Builder: {
|
|
647
648
|
content: null,
|
|
648
649
|
context: {},
|
|
@@ -659,17 +660,17 @@ const bn = Qt.exports, Jt = Symbol(), Xt = {
|
|
|
659
660
|
}, Yt = Symbol(), qt = {
|
|
660
661
|
Components: { registeredComponents: {} },
|
|
661
662
|
key: Yt
|
|
662
|
-
}, Zt = () => import("./block-
|
|
663
|
+
}, Zt = () => import("./block-f5679152.js").then((e) => e.default).catch((e) => {
|
|
663
664
|
throw console.error(
|
|
664
665
|
"Error while attempting to dynamically import component Block at ../block/block.vue",
|
|
665
666
|
e
|
|
666
667
|
), e;
|
|
667
|
-
}), te = () => import("./block-styles-
|
|
668
|
+
}), te = () => import("./block-styles-6ca785bb.js").then((e) => e.default).catch((e) => {
|
|
668
669
|
throw console.error(
|
|
669
670
|
"Error while attempting to dynamically import component BlockStyles at ../block/components/block-styles.vue",
|
|
670
671
|
e
|
|
671
672
|
), e;
|
|
672
|
-
}), ee = () => import("./blocks-wrapper-
|
|
673
|
+
}), ee = () => import("./blocks-wrapper-dc71efe8.js").then((e) => e.default).catch((e) => {
|
|
673
674
|
throw console.error(
|
|
674
675
|
"Error while attempting to dynamically import component BlocksWrapper at ./blocks-wrapper.vue",
|
|
675
676
|
e
|
|
@@ -956,22 +957,22 @@ const ae = (e) => {
|
|
|
956
957
|
`, Ce = (e, t) => `
|
|
957
958
|
window.${Y}(
|
|
958
959
|
"${t}",${JSON.stringify(e)}, ${Z}
|
|
959
|
-
)`,
|
|
960
|
+
)`, yn = ({
|
|
960
961
|
contentId: e,
|
|
961
962
|
variationId: t
|
|
962
963
|
}) => `window.${q}(
|
|
963
964
|
"${t}", "${e}", ${Z}
|
|
964
|
-
)`, xe = () => import("./content-
|
|
965
|
+
)`, xe = () => import("./content-84bda2e9.js").then((e) => e.default).catch((e) => {
|
|
965
966
|
throw console.error(
|
|
966
967
|
"Error while attempting to dynamically import component ContentComponent at ../content/content.vue",
|
|
967
968
|
e
|
|
968
969
|
), e;
|
|
969
|
-
}), we = () => import("./inlined-script-
|
|
970
|
+
}), we = () => import("./inlined-script-0fd7eea7.js").then((e) => e.default).catch((e) => {
|
|
970
971
|
throw console.error(
|
|
971
972
|
"Error while attempting to dynamically import component InlinedScript at ../inlined-script.vue",
|
|
972
973
|
e
|
|
973
974
|
), e;
|
|
974
|
-
}), Ie = () => import("./inlined-styles-
|
|
975
|
+
}), Ie = () => import("./inlined-styles-73447147.js").then((e) => e.default).catch((e) => {
|
|
975
976
|
throw console.error(
|
|
976
977
|
"Error while attempting to dynamically import component InlinedStyles at ../inlined-styles.vue",
|
|
977
978
|
e
|
|
@@ -1058,17 +1059,17 @@ var Te = function() {
|
|
|
1058
1059
|
const tt = Ee.exports, Ae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1059
1060
|
__proto__: null,
|
|
1060
1061
|
default: tt
|
|
1061
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1062
|
+
}, Symbol.toStringTag, { value: "Module" })), vn = K, Sn = tt;
|
|
1062
1063
|
function Ve() {
|
|
1063
1064
|
return m() && window.self !== window.top;
|
|
1064
1065
|
}
|
|
1065
1066
|
function et() {
|
|
1066
1067
|
return Ve() && window.location.search.indexOf("builder.frameEditing=") !== -1;
|
|
1067
1068
|
}
|
|
1068
|
-
function
|
|
1069
|
+
function kn() {
|
|
1069
1070
|
return !m() || et() ? !1 : location.search.indexOf("builder.preview=") !== -1;
|
|
1070
1071
|
}
|
|
1071
|
-
const
|
|
1072
|
+
const Cn = [], xn = (e) => ({
|
|
1072
1073
|
type: "builder.registerComponent",
|
|
1073
1074
|
data: Be(e)
|
|
1074
1075
|
}), Pe = (e) => {
|
|
@@ -1084,7 +1085,7 @@ const kn = [], Cn = (e) => ({
|
|
|
1084
1085
|
[r]: Oe(s)
|
|
1085
1086
|
}), {}))
|
|
1086
1087
|
}), D = {};
|
|
1087
|
-
function
|
|
1088
|
+
function wn(e, t) {
|
|
1088
1089
|
let n = D[e];
|
|
1089
1090
|
if (n || (n = D[e] = []), n.push(t), m()) {
|
|
1090
1091
|
const o = {
|
|
@@ -1102,7 +1103,7 @@ function xn(e, t) {
|
|
|
1102
1103
|
}
|
|
1103
1104
|
}
|
|
1104
1105
|
const F = {};
|
|
1105
|
-
function
|
|
1106
|
+
function In(e) {
|
|
1106
1107
|
if (m()) {
|
|
1107
1108
|
Object.assign(F, e);
|
|
1108
1109
|
const t = {
|
|
@@ -1212,7 +1213,7 @@ async function O(e) {
|
|
|
1212
1213
|
});
|
|
1213
1214
|
return t && t.results[0] || null;
|
|
1214
1215
|
}
|
|
1215
|
-
const
|
|
1216
|
+
const $n = O, Ke = async (e) => {
|
|
1216
1217
|
const t = P(e);
|
|
1217
1218
|
return await (await Ue(t.href)).json();
|
|
1218
1219
|
}, ze = async (e, t, n = P(e)) => {
|
|
@@ -1244,7 +1245,7 @@ async function rt(e) {
|
|
|
1244
1245
|
return _.error("Error fetching data. ", t), null;
|
|
1245
1246
|
}
|
|
1246
1247
|
}
|
|
1247
|
-
const
|
|
1248
|
+
const Tn = rt;
|
|
1248
1249
|
function Ge() {
|
|
1249
1250
|
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
|
|
1250
1251
|
const t = Math.random() * 16 | 0;
|
|
@@ -1415,10 +1416,10 @@ async function an(e) {
|
|
|
1415
1416
|
console.error("Failed to track: ", t);
|
|
1416
1417
|
});
|
|
1417
1418
|
}
|
|
1418
|
-
const
|
|
1419
|
+
const Rn = (e) => an({
|
|
1419
1420
|
...e,
|
|
1420
1421
|
canTrack: !0
|
|
1421
|
-
}),
|
|
1422
|
+
}), En = async (e) => {
|
|
1422
1423
|
var o, r, s;
|
|
1423
1424
|
const t = e.path || ((o = e.url) == null ? void 0 : o.pathname) || ((r = e.userAttributes) == null ? void 0 : r.urlPath), n = {
|
|
1424
1425
|
...e,
|
|
@@ -1439,48 +1440,48 @@ const Tn = (e) => an({
|
|
|
1439
1440
|
};
|
|
1440
1441
|
};
|
|
1441
1442
|
export {
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1443
|
+
In as A,
|
|
1444
|
+
dn as B,
|
|
1445
|
+
pn as C,
|
|
1445
1446
|
ze as D,
|
|
1446
1447
|
rt as E,
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1448
|
+
mn as F,
|
|
1449
|
+
Tn as G,
|
|
1450
|
+
$n as H,
|
|
1451
|
+
fn as I,
|
|
1451
1452
|
nt as J,
|
|
1452
|
-
|
|
1453
|
-
|
|
1453
|
+
Rn as K,
|
|
1454
|
+
En as L,
|
|
1454
1455
|
ie as M,
|
|
1455
|
-
|
|
1456
|
-
|
|
1456
|
+
vn as R,
|
|
1457
|
+
hn as S,
|
|
1457
1458
|
y as T,
|
|
1458
|
-
|
|
1459
|
+
gn as V,
|
|
1459
1460
|
an as _,
|
|
1460
|
-
|
|
1461
|
+
un as a,
|
|
1461
1462
|
E as b,
|
|
1462
1463
|
g as c,
|
|
1463
|
-
|
|
1464
|
-
|
|
1464
|
+
_n as d,
|
|
1465
|
+
bn as e,
|
|
1465
1466
|
A as f,
|
|
1466
1467
|
ft as g,
|
|
1467
|
-
|
|
1468
|
+
yn as h,
|
|
1468
1469
|
et as i,
|
|
1469
|
-
|
|
1470
|
+
Cn as j,
|
|
1470
1471
|
qt as k,
|
|
1471
1472
|
Xt as l,
|
|
1472
1473
|
m,
|
|
1473
1474
|
p as n,
|
|
1474
1475
|
R as o,
|
|
1475
1476
|
Ue as p,
|
|
1476
|
-
|
|
1477
|
-
|
|
1477
|
+
xn as q,
|
|
1478
|
+
wn as r,
|
|
1478
1479
|
Be as s,
|
|
1479
1480
|
O as t,
|
|
1480
|
-
|
|
1481
|
+
kn as u,
|
|
1481
1482
|
_ as v,
|
|
1482
1483
|
on as w,
|
|
1483
1484
|
K as x,
|
|
1484
1485
|
tt as y,
|
|
1485
|
-
|
|
1486
|
+
Sn as z
|
|
1486
1487
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const p=require("vue");function $(e={},t,n){const o={};for(const r in e){if(!e[r]||n&&!r.startsWith(t))continue;const i=n?r.replace(t,""):r;o[i]=e[r]}return o}const yt=p.defineComponent({name:"builder-button",props:["attributes","text","link","openLinkInNewTab"],data(){return{filterAttrs:$}},methods:{_classStringToObject(e){const t={};if(typeof e!="string")return t;const n=e.trim().split(/\s+/);for(const o of n)t[o]=!0;return t}}});function u(e,t,n,o,r,i,s,h){var a=typeof e=="function"?e.options:e;t&&(a.render=t,a.staticRenderFns=n,a._compiled=!0),o&&(a.functional=!0),i&&(a._scopeId="data-v-"+i);var c;if(s?(c=function(l){l=l||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!l&&typeof __VUE_SSR_CONTEXT__<"u"&&(l=__VUE_SSR_CONTEXT__),r&&r.call(this,l),l&&l._registeredComponents&&l._registeredComponents.add(s)},a._ssrRegister=c):r&&(c=h?function(){r.call(this,(a.functional?this.parent:this).$root.$options.shadowRoot)}:r),c)if(a.functional){a._injectStyles=c;var v=a.render;a.render=function(k,y){return c.call(y),v(k,y)}}else{var S=a.beforeCreate;a.beforeCreate=S?[].concat(S,c):[c]}return{exports:e,options:a}}var vt=function(){var t=this,n=t._self._c;return t._self._setupProxy,t.link?n("a",t._g(t._b({attrs:{href:t.link,target:t.openLinkInNewTab?"_blank":void 0,role:"button"}},"a",t.filterAttrs(t.attributes,"v-on:",!1),!1),t.filterAttrs(t.attributes,"v-on:",!0)),[t._v(" "+t._s(t.text)+" ")]):n("button",t._g(t._b({class:t._classStringToObject(t.attributes.class+" button-2fnk003dqad"),style:t.attributes.style},"button",t.filterAttrs(t.attributes,"v-on:",!1),!1),t.filterAttrs(t.attributes,"v-on:",!0)),[t._v(" "+t._s(t.text)+" ")])},St=[],kt=u(yt,vt,St,!1,null,"ab46b8bd",null,null);const Ct=kt.exports,R=e=>JSON.parse(JSON.stringify(e)),H={small:{min:320,default:321,max:640},medium:{min:641,default:642,max:991},large:{min:990,default:991,max:1200}},xt=(e,t=H)=>`@media (max-width: ${t[e].max}px)`,Q=({small:e,medium:t})=>{const n=R(H);if(!e||!t)return n;const o=Math.floor(e/2);n.small={max:e,min:o,default:o+1};const r=n.small.max+1;n.medium={max:t,min:r,default:r+1};const i=n.medium.max+1;return n.large={max:2e3,min:i,default:i+1},n},b="vue2",wt=()=>Promise.resolve().then(()=>Y).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component Blocks at ../../components/blocks/blocks.vue",e),e}),It=()=>Promise.resolve().then(()=>require("./inlined-styles-
|
|
1
|
+
"use strict";var Rn=require("./style.css");const p=require("vue");function $(e={},t,n){const o={};for(const r in e){if(!e[r]||n&&!r.startsWith(t))continue;const i=n?r.replace(t,""):r;o[i]=e[r]}return o}const yt=p.defineComponent({name:"builder-button",props:["attributes","text","link","openLinkInNewTab"],data(){return{filterAttrs:$}},methods:{_classStringToObject(e){const t={};if(typeof e!="string")return t;const n=e.trim().split(/\s+/);for(const o of n)t[o]=!0;return t}}});function u(e,t,n,o,r,i,s,h){var a=typeof e=="function"?e.options:e;t&&(a.render=t,a.staticRenderFns=n,a._compiled=!0),o&&(a.functional=!0),i&&(a._scopeId="data-v-"+i);var c;if(s?(c=function(l){l=l||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!l&&typeof __VUE_SSR_CONTEXT__<"u"&&(l=__VUE_SSR_CONTEXT__),r&&r.call(this,l),l&&l._registeredComponents&&l._registeredComponents.add(s)},a._ssrRegister=c):r&&(c=h?function(){r.call(this,(a.functional?this.parent:this).$root.$options.shadowRoot)}:r),c)if(a.functional){a._injectStyles=c;var v=a.render;a.render=function(k,y){return c.call(y),v(k,y)}}else{var S=a.beforeCreate;a.beforeCreate=S?[].concat(S,c):[c]}return{exports:e,options:a}}var vt=function(){var t=this,n=t._self._c;return t._self._setupProxy,t.link?n("a",t._g(t._b({attrs:{href:t.link,target:t.openLinkInNewTab?"_blank":void 0,role:"button"}},"a",t.filterAttrs(t.attributes,"v-on:",!1),!1),t.filterAttrs(t.attributes,"v-on:",!0)),[t._v(" "+t._s(t.text)+" ")]):n("button",t._g(t._b({class:t._classStringToObject(t.attributes.class+" button-2fnk003dqad"),style:t.attributes.style},"button",t.filterAttrs(t.attributes,"v-on:",!1),!1),t.filterAttrs(t.attributes,"v-on:",!0)),[t._v(" "+t._s(t.text)+" ")])},St=[],kt=u(yt,vt,St,!1,null,"ab46b8bd",null,null);const Ct=kt.exports,R=e=>JSON.parse(JSON.stringify(e)),H={small:{min:320,default:321,max:640},medium:{min:641,default:642,max:991},large:{min:990,default:991,max:1200}},xt=(e,t=H)=>`@media (max-width: ${t[e].max}px)`,Q=({small:e,medium:t})=>{const n=R(H);if(!e||!t)return n;const o=Math.floor(e/2);n.small={max:e,min:o,default:o+1};const r=n.small.max+1;n.medium={max:t,min:r,default:r+1};const i=n.medium.max+1;return n.large={max:2e3,min:i,default:i+1},n},b="vue2",wt=()=>Promise.resolve().then(()=>Y).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component Blocks at ../../components/blocks/blocks.vue",e),e}),It=()=>Promise.resolve().then(()=>require("./inlined-styles-4c4a89e2.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component InlinedStyles at ../../components/inlined-styles.vue",e),e}),Tt=p.defineComponent({name:"builder-columns",components:{"inlined-styles":It,blocks:wt},props:["js","space","columns","stackColumnsAt","reverseColumnsWhenStacked","builderContext","builderBlock","builderComponents"],data(){return{gutterSize:typeof this.space=="number"?this.space||0:20,cols:this.columns||[],stackAt:this.stackColumnsAt||"tablet",flexDir:this.stackColumnsAt==="never"?"row":this.reverseColumnsWhenStacked?"column-reverse":"column",TARGET:b}},computed:{columnsCssVars(){return{"--flex-dir":this.flexDir,"--flex-dir-tablet":this.getTabletStyle({stackedStyle:this.flexDir,desktopStyle:"row"})}},columnsStyles(){return`
|
|
2
2
|
@media (max-width: ${this.getWidthForBreakpointSize("medium")}px) {
|
|
3
3
|
.${this.builderBlock.id}-breakpoints {
|
|
4
4
|
flex-direction: var(--flex-dir-tablet);
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
margin-left: var(--column-margin-left-mobile) !important;
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
|
-
`}},methods:{getWidth(e){var t;return((t=this.cols[e])==null?void 0:t.width)||100/this.cols.length},getColumnCssWidth(e){const t=this.gutterSize*(this.cols.length-1)/this.cols.length;return`calc(${this.getWidth(e)}% - ${t}px)`},getTabletStyle({stackedStyle:e,desktopStyle:t}){return this.stackAt==="tablet"?e:t},getMobileStyle({stackedStyle:e,desktopStyle:t}){return this.stackAt==="never"?t:e},columnCssVars(e){const t=e===0?0:this.gutterSize,n=this.getColumnCssWidth(e),o=`${t}px`,r="100%",i=0;return{width:n,["margin-left"]:o,"--column-width-mobile":this.getMobileStyle({stackedStyle:r,desktopStyle:n}),"--column-margin-left-mobile":this.getMobileStyle({stackedStyle:i,desktopStyle:o}),"--column-width-tablet":this.getTabletStyle({stackedStyle:r,desktopStyle:n}),"--column-margin-left-tablet":this.getTabletStyle({stackedStyle:i,desktopStyle:o})}},getWidthForBreakpointSize(e){var n,o;return Q(((o=(n=this.builderContext.content)==null?void 0:n.meta)==null?void 0:o.breakpoints)||{})[e].max},_classStringToObject(e){const t={};if(typeof e!="string")return t;const n=e.trim().split(/\s+/);for(const o of n)t[o]=!0;return t}}});var $t=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("div",t._b({class:t._classStringToObject(`builder-columns ${t.builderBlock.id}-breakpoints div-t9spj7joih`),style:t.columnsCssVars},"div",{},!1),[t.TARGET!=="reactNative"?[n("inlined-styles",{attrs:{styles:t.columnsStyles}})]:t._e(),t._l(t.columns,function(o,r){return n("div",t._b({key:r,staticClass:"builder-column div-t9spj7joih-2",style:t.columnCssVars(r)},"div",{},!1),[n("blocks",{attrs:{path:`component.options.columns.${r}.blocks`,parent:t.builderBlock.id,styleProp:{flexGrow:"1"},context:t.builderContext,registeredComponents:t.builderComponents,blocks:o.blocks}})],1)})],2)},Rt=[],Pt=u(Tt,$t,Rt,!1,null,"bd1575ca",null,null);const Et=Pt.exports,At=p.defineComponent({name:"builder-fragment-component",props:[]});var Vt=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("span",[t._t("default")],2)},Ot=[],Bt=u(At,Vt,Ot,!1,null,null,null,null);const Nt=Bt.exports;function M(e){return e.replace(/http(s)?:/,"")}function jt(e="",t,n){const o=new RegExp("([?&])"+t+"=.*?(&|$)","i"),r=e.indexOf("?")!==-1?"&":"?";return e.match(o)?e.replace(o,"$1"+t+"="+encodeURIComponent(n)+"$2"):e+r+t+"="+encodeURIComponent(n)}function Ut(e,t){if(!e||!(e!=null&&e.match(/cdn\.shopify\.com/))||!t)return e;if(t==="master")return M(e);const n=e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);if(n){const o=e.split(n[0]),r=n[3],i=t.match("x")?t:`${t}x`;return M(`${o[0]}_${i}${r}`)}return null}function A(e){if(!e)return e;const t=[100,200,400,800,1200,1600,2e3];if(e.match(/builder\.io/)){let n=e;const o=Number(e.split("?width=")[1]);return isNaN(o)||(n=`${n} ${o}w`),t.filter(r=>r!==o).map(r=>`${jt(e,"width",r)} ${r}w`).concat([n]).join(", ")}return e.match(/cdn\.shopify\.com/)?t.map(n=>[Ut(e,`${n}x${n}`),n]).filter(([n])=>!!n).map(([n,o])=>`${n} ${o}w`).concat([e]).join(", "):e}const Dt=p.defineComponent({name:"builder-image",props:["image","src","srcset","noWebp","aspectRatio","altText","backgroundPosition","backgroundSize","className","sizes","builderBlock","fitContent"],computed:{srcSetToUse(){var n;const t=this.image||this.src;if(!t||!(t.match(/builder\.io/)||t.match(/cdn\.shopify\.com/)))return this.srcset;if(this.srcset&&((n=this.image)!=null&&n.includes("builder.io/api/v1/image"))){if(!this.srcset.includes(this.image.split("?")[0]))return console.debug("Removed given srcset"),A(t)}else if(this.image&&!this.srcset)return A(t);return A(t)},webpSrcSet(){var e;return(e=this.srcSetToUse)!=null&&e.match(/builder\.io/)&&!this.noWebp?this.srcSetToUse.replace(/\?/g,"?format=webp&"):""},aspectRatioCss(){const e={position:"absolute",height:"100%",width:"100%",left:"0px",top:"0px"};return this.aspectRatio?e:void 0}},methods:{_classStringToObject(e){const t={};if(typeof e!="string")return t;const n=e.trim().split(/\s+/);for(const o of n)t[o]=!0;return t}}});var Ft=function(){var o,r,i,s;var t=this,n=t._self._c;return t._self._setupProxy,n("div",[n("picture",[t.webpSrcSet?[n("source",{attrs:{type:"image/webp",srcset:t.webpSrcSet}})]:t._e(),n("img",{class:t._classStringToObject("builder-image"+(t.className?" "+t.className:"")+" img-1pl23ac79ld"),style:{objectPosition:t.backgroundPosition||"center",objectFit:t.backgroundSize||"cover",...t.aspectRatioCss},attrs:{loading:"lazy",alt:t.altText,role:t.altText?"presentation":void 0,src:t.image,srcset:t.srcSetToUse,sizes:t.sizes}})],2),t.aspectRatio&&!((r=(o=t.builderBlock)==null?void 0:o.children)!=null&&r.length&&t.fitContent)?[n("div",{staticClass:"builder-image-sizer div-1pl23ac79ld",style:{paddingTop:t.aspectRatio*100+"%"}})]:t._e(),(s=(i=t.builderBlock)==null?void 0:i.children)!=null&&s.length&&t.fitContent?[t._t("default")]:t._e(),!t.fitContent&&t.$slots.default?[n("div",{staticClass:"div-1pl23ac79ld-2"},[t._t("default")],2)]:t._e()],2)},Lt=[],Wt=u(Dt,Ft,Lt,!1,null,"aae97bc7",null,null);const Mt=Wt.exports,Kt=p.defineComponent({name:"builder-section-component",props:["attributes","maxWidth"],data(){return{filterAttrs:$}}});var zt=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("section",t._g(t._b({style:{width:"100%",alignSelf:"stretch",flexGrow:1,boxSizing:"border-box",maxWidth:t.maxWidth||1200,display:"flex",flexDirection:"column",alignItems:"stretch",marginLeft:"auto",marginRight:"auto"}},"section",t.filterAttrs(t.attributes,"v-on:",!1),!1),t.filterAttrs(t.attributes,"v-on:",!0)),[t._t("default")],2)},Gt=[],qt=u(Kt,zt,Gt,!1,null,null,null,null);const Ht=qt.exports,x="[Builder.io]: ",f={log:(...e)=>console.log(x,...e),error:(...e)=>console.error(x,...e),warn:(...e)=>console.warn(x,...e),debug:(...e)=>console.debug(x,...e)},Qt=async({builderContextValue:e,symbol:t})=>{if(t!=null&&t.model&&(e!=null&&e.apiKey))return P({model:t.model,apiKey:e.apiKey,apiVersion:e.apiVersion,...(t==null?void 0:t.entry)&&{query:{id:t.entry}}}).catch(n=>{f.error("Could not fetch symbol content: ",n)})},Jt=()=>Promise.resolve().then(()=>Ge).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component ContentVariants at ../../components/content-variants/content-variants.vue",e),e}),Xt=p.defineComponent({name:"builder-symbol",components:{"content-variants":Jt},props:["js","attributes","symbol","dynamic","builderContext","builderComponents"],data(){var e;return{contentToUse:(e=this.symbol)==null?void 0:e.content,filterAttrs:$}},mounted(){this.setContent()},watch:{onUpdateHook0:{handler(){this.setContent()},immediate:!0}},computed:{className(){var e,t;return[...Object.keys(this.attributes.class),"builder-symbol",(e=this.symbol)!=null&&e.inline?"builder-inline-symbol":void 0,(t=this.symbol)!=null&&t.dynamic||this.dynamic?"builder-dynamic-symbol":void 0].filter(Boolean).join(" ")},onUpdateHook0(){return{0:this.symbol}}},methods:{setContent(){this.contentToUse||Qt({symbol:this.symbol,builderContextValue:this.builderContext}).then(e=>{e&&(this.contentToUse=e)})},_classStringToObject(e){const t={};if(typeof e!="string")return t;const n=e.trim().split(/\s+/);for(const o of n)t[o]=!0;return t}}});var Yt=function(){var o,r,i,s;var t=this,n=t._self._c;return t._self._setupProxy,n("div",t._g(t._b({class:t._classStringToObject(t.className)},"div",{...t.filterAttrs(t.attributes,"v-on:",!1)},!1),t.filterAttrs(t.attributes,"v-on:",!0)),[n("content-variants",{attrs:{__isNestedRender:!0,apiVersion:t.builderContext.apiVersion,apiKey:t.builderContext.apiKey,context:t.builderContext.context,customComponents:Object.values(t.builderComponents),data:{...(o=t.symbol)==null?void 0:o.data,...t.builderContext.localState,...(i=(r=t.contentToUse)==null?void 0:r.data)==null?void 0:i.state},model:(s=t.symbol)==null?void 0:s.model,content:t.contentToUse}})],1)},Zt=[],te=u(Xt,Yt,Zt,!1,null,null,null,null);const ee=te.exports,ne=p.defineComponent({name:"builder-text",props:["text"]});var oe=function(){var o;var t=this,n=t._self._c;return t._self._setupProxy,n("div",{staticClass:"builder-text",style:{outline:"none"},domProps:{innerHTML:t._s(((o=t.text)==null?void 0:o.toString())||"")}})},re=[],ie=u(ne,oe,re,!1,null,null,null,null);const se=ie.exports,ae=p.defineComponent({name:"builder-video",props:["autoPlay","muted","controls","loop","playsInline","preload","attributes","fit","position","aspectRatio","video","posterImage","lazyLoad","fitContent","builderBlock"],computed:{videoProps(){return{...this.autoPlay===!0?{autoPlay:!0}:{},...this.muted===!0?{muted:!0}:{},...this.controls===!0?{controls:!0}:{},...this.loop===!0?{loop:!0}:{},...this.playsInline===!0?{playsInline:!0}:{}}},spreadProps(){return{...this.videoProps}}}});var ce=function(){var o,r,i,s,h,a,c;var t=this,n=t._self._c;return t._self._setupProxy,n("div",{style:{position:"relative"}},[n("video",t._b({staticClass:"builder-video",style:{width:"100%",height:"100%",...(o=t.attributes)==null?void 0:o.style,objectFit:t.fit,objectPosition:t.position,zIndex:2,borderRadius:"1px",...t.aspectRatio?{position:"absolute"}:null},attrs:{preload:t.preload||"metadata",src:t.video||"no-src",poster:t.posterImage}},"video",t.spreadProps,!1),[t.lazyLoad?t._e():[n("source",{attrs:{type:"video/mp4",src:t.video}})]],2),t.aspectRatio&&!(t.fitContent&&((i=(r=t.builderBlock)==null?void 0:r.children)!=null&&i.length))?[n("div",{style:{width:"100%",paddingTop:t.aspectRatio*100+"%",pointerEvents:"none",fontSize:"0px"}})]:t._e(),(h=(s=t.builderBlock)==null?void 0:s.children)!=null&&h.length&&t.fitContent?[n("div",{style:{display:"flex",flexDirection:"column",alignItems:"stretch"}},[t._t("default")],2)]:t._e(),(c=(a=t.builderBlock)==null?void 0:a.children)!=null&&c.length&&!t.fitContent?[n("div",{style:{pointerEvents:"none",display:"flex",flexDirection:"column",alignItems:"stretch",position:"absolute",top:"0",left:"0",width:"100%",height:"100%"}},[t._t("default")],2)]:t._e()],2)},le=[],de=u(ae,ce,le,!1,null,null,null,null);const ue=de.exports,me=Symbol(),J={Builder:{content:null,context:{},localState:void 0,rootSetState(){},rootState:{},apiKey:null,apiVersion:void 0,componentInfos:{},inheritedStyles:{}},key:me},pe=Symbol(),X={Components:{registeredComponents:{}},key:pe},fe=()=>Promise.resolve().then(()=>require("./block-1f2d2db7.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component Block at ../block/block.vue",e),e}),he=()=>Promise.resolve().then(()=>require("./block-styles-aceb9af8.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component BlockStyles at ../block/components/block-styles.vue",e),e}),ge=()=>Promise.resolve().then(()=>require("./blocks-wrapper-faea8d38.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component BlocksWrapper at ./blocks-wrapper.vue",e),e}),_e=p.defineComponent({name:"builder-blocks",components:{"blocks-wrapper":ge,block:fe,"block-styles":he},props:["blocks","parent","path","styleProp","context","registeredComponents"],inject:{builderContext:J.key,componentsContext:X.key}});var be=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("blocks-wrapper",{attrs:{blocks:t.blocks,parent:t.parent,path:t.path,styleProp:t.styleProp}},[t.blocks?t._l(t.blocks,function(o,r){return n("block",{key:"render-block-"+o.id,attrs:{block:o,context:t.context||t.builderContext,registeredComponents:t.registeredComponents||t.componentsContext.registeredComponents}})}):t._e(),t.blocks?t._l(t.blocks,function(o,r){return n("block-styles",{key:"block-style-"+o.id,attrs:{block:o,context:t.context||t.builderContext}})}):t._e()],2)},ye=[],ve=u(_e,be,ye,!1,null,null,null,null);const V=ve.exports,Y=Object.freeze(Object.defineProperty({__proto__:null,default:V},Symbol.toStringTag,{value:"Module"})),_=e=>e!=null;function m(){return typeof window<"u"&&typeof document<"u"}const Se=e=>{if(e==="localhost"||e==="127.0.0.1")return e;const t=e.split(".");return t.length>2?t.slice(1).join("."):e},Z=({name:e,canTrack:t})=>{var n;try{return t?(n=document.cookie.split("; ").find(o=>o.startsWith(`${e}=`)))==null?void 0:n.split("=")[1]:void 0}catch(o){f.warn("[COOKIE] GET error: ",(o==null?void 0:o.message)||o);return}},tt=async e=>Z(e),ke=e=>e.map(([t,n])=>n?`${t}=${n}`:t).filter(_).join("; "),Ce=[["secure",""],["SameSite","None"]],xe=({name:e,value:t,expires:n})=>{const r=(m()?location.protocol==="https:":!0)?Ce:[[]],i=n?[["expires",n.toUTCString()]]:[[]],s=[[e,t],...i,["path","/"],["domain",Se(window.location.hostname)],...r];return ke(s)},et=async({name:e,value:t,expires:n,canTrack:o})=>{try{if(!o)return;const r=xe({name:e,value:t,expires:n});document.cookie=r}catch(r){f.warn("[COOKIE] SET error: ",(r==null?void 0:r.message)||r)}},we="builder.tests",O=e=>`${we}.${e}`,Ie=({contentId:e})=>tt({name:O(e),canTrack:!0}),Te=({contentId:e})=>Z({name:O(e),canTrack:!0}),$e=({contentId:e,value:t})=>et({name:O(e),value:t,canTrack:!0}),nt=e=>_(e.id)&&_(e.variations)&&Object.keys(e.variations).length>0,Re=({id:e,variations:t})=>{var r;let n=0;const o=Math.random();for(const i in t){const s=(r=t[i])==null?void 0:r.testRatio;if(n+=s,o<n)return i}return e},ot=e=>{const t=Re(e);return $e({contentId:e.id,value:t}).catch(n=>{f.error("could not store A/B test variation: ",n)}),t},rt=({item:e,testGroupId:t})=>{const n=e.variations[t];return t===e.id||!n?{testVariationId:e.id,testVariationName:"Default"}:{data:n.data,testVariationId:n.id,testVariationName:n.name||(n.id===e.id?"Default":"")}},Pe=({item:e,canTrack:t})=>{if(!t)return e;if(!e)return;if(!nt(e))return e;const n=Te({contentId:e.id})||ot({variations:e.variations,id:e.id}),o=rt({item:e,testGroupId:n});return{...e,...o}},Ee=async({item:e,canTrack:t})=>{if(!t||!nt(e))return e;const o=await Ie({contentId:e.id})||ot({variations:e.variations,id:e.id}),r=rt({item:e,testGroupId:o});return{...e,...r}},T=e=>_(e)?e:!0,Ae=`function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
|
|
25
|
+
`}},methods:{getWidth(e){var t;return((t=this.cols[e])==null?void 0:t.width)||100/this.cols.length},getColumnCssWidth(e){const t=this.gutterSize*(this.cols.length-1)/this.cols.length;return`calc(${this.getWidth(e)}% - ${t}px)`},getTabletStyle({stackedStyle:e,desktopStyle:t}){return this.stackAt==="tablet"?e:t},getMobileStyle({stackedStyle:e,desktopStyle:t}){return this.stackAt==="never"?t:e},columnCssVars(e){const t=e===0?0:this.gutterSize,n=this.getColumnCssWidth(e),o=`${t}px`,r="100%",i=0;return{width:n,["margin-left"]:o,"--column-width-mobile":this.getMobileStyle({stackedStyle:r,desktopStyle:n}),"--column-margin-left-mobile":this.getMobileStyle({stackedStyle:i,desktopStyle:o}),"--column-width-tablet":this.getTabletStyle({stackedStyle:r,desktopStyle:n}),"--column-margin-left-tablet":this.getTabletStyle({stackedStyle:i,desktopStyle:o})}},getWidthForBreakpointSize(e){var n,o;return Q(((o=(n=this.builderContext.content)==null?void 0:n.meta)==null?void 0:o.breakpoints)||{})[e].max},_classStringToObject(e){const t={};if(typeof e!="string")return t;const n=e.trim().split(/\s+/);for(const o of n)t[o]=!0;return t}}});var $t=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("div",t._b({class:t._classStringToObject(`builder-columns ${t.builderBlock.id}-breakpoints div-t9spj7joih`),style:t.columnsCssVars},"div",{},!1),[t.TARGET!=="reactNative"?[n("inlined-styles",{attrs:{styles:t.columnsStyles}})]:t._e(),t._l(t.columns,function(o,r){return n("div",t._b({key:r,staticClass:"builder-column div-t9spj7joih-2",style:t.columnCssVars(r)},"div",{},!1),[n("blocks",{attrs:{path:`component.options.columns.${r}.blocks`,parent:t.builderBlock.id,styleProp:{flexGrow:"1"},context:t.builderContext,registeredComponents:t.builderComponents,blocks:o.blocks}})],1)})],2)},Rt=[],Pt=u(Tt,$t,Rt,!1,null,"bd1575ca",null,null);const Et=Pt.exports,At=p.defineComponent({name:"builder-fragment-component",props:[]});var Vt=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("span",[t._t("default")],2)},Ot=[],Bt=u(At,Vt,Ot,!1,null,null,null,null);const Nt=Bt.exports;function M(e){return e.replace(/http(s)?:/,"")}function jt(e="",t,n){const o=new RegExp("([?&])"+t+"=.*?(&|$)","i"),r=e.indexOf("?")!==-1?"&":"?";return e.match(o)?e.replace(o,"$1"+t+"="+encodeURIComponent(n)+"$2"):e+r+t+"="+encodeURIComponent(n)}function Ut(e,t){if(!e||!(e!=null&&e.match(/cdn\.shopify\.com/))||!t)return e;if(t==="master")return M(e);const n=e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);if(n){const o=e.split(n[0]),r=n[3],i=t.match("x")?t:`${t}x`;return M(`${o[0]}_${i}${r}`)}return null}function A(e){if(!e)return e;const t=[100,200,400,800,1200,1600,2e3];if(e.match(/builder\.io/)){let n=e;const o=Number(e.split("?width=")[1]);return isNaN(o)||(n=`${n} ${o}w`),t.filter(r=>r!==o).map(r=>`${jt(e,"width",r)} ${r}w`).concat([n]).join(", ")}return e.match(/cdn\.shopify\.com/)?t.map(n=>[Ut(e,`${n}x${n}`),n]).filter(([n])=>!!n).map(([n,o])=>`${n} ${o}w`).concat([e]).join(", "):e}const Dt=p.defineComponent({name:"builder-image",props:["image","src","srcset","noWebp","aspectRatio","altText","backgroundPosition","backgroundSize","className","sizes","builderBlock","fitContent"],computed:{srcSetToUse(){var n;const t=this.image||this.src;if(!t||!(t.match(/builder\.io/)||t.match(/cdn\.shopify\.com/)))return this.srcset;if(this.srcset&&((n=this.image)!=null&&n.includes("builder.io/api/v1/image"))){if(!this.srcset.includes(this.image.split("?")[0]))return console.debug("Removed given srcset"),A(t)}else if(this.image&&!this.srcset)return A(t);return A(t)},webpSrcSet(){var e;return(e=this.srcSetToUse)!=null&&e.match(/builder\.io/)&&!this.noWebp?this.srcSetToUse.replace(/\?/g,"?format=webp&"):""},aspectRatioCss(){const e={position:"absolute",height:"100%",width:"100%",left:"0px",top:"0px"};return this.aspectRatio?e:void 0}},methods:{_classStringToObject(e){const t={};if(typeof e!="string")return t;const n=e.trim().split(/\s+/);for(const o of n)t[o]=!0;return t}}});var Ft=function(){var o,r,i,s;var t=this,n=t._self._c;return t._self._setupProxy,n("div",[n("picture",[t.webpSrcSet?[n("source",{attrs:{type:"image/webp",srcset:t.webpSrcSet}})]:t._e(),n("img",{class:t._classStringToObject("builder-image"+(t.className?" "+t.className:"")+" img-1pl23ac79ld"),style:{objectPosition:t.backgroundPosition||"center",objectFit:t.backgroundSize||"cover",...t.aspectRatioCss},attrs:{loading:"lazy",alt:t.altText,role:t.altText?"presentation":void 0,src:t.image,srcset:t.srcSetToUse,sizes:t.sizes}})],2),t.aspectRatio&&!((r=(o=t.builderBlock)==null?void 0:o.children)!=null&&r.length&&t.fitContent)?[n("div",{staticClass:"builder-image-sizer div-1pl23ac79ld",style:{paddingTop:t.aspectRatio*100+"%"}})]:t._e(),(s=(i=t.builderBlock)==null?void 0:i.children)!=null&&s.length&&t.fitContent?[t._t("default")]:t._e(),!t.fitContent&&t.$slots.default?[n("div",{staticClass:"div-1pl23ac79ld-2"},[t._t("default")],2)]:t._e()],2)},Lt=[],Wt=u(Dt,Ft,Lt,!1,null,"aae97bc7",null,null);const Mt=Wt.exports,Kt=p.defineComponent({name:"builder-section-component",props:["attributes","maxWidth"],data(){return{filterAttrs:$}}});var zt=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("section",t._g(t._b({style:{width:"100%",alignSelf:"stretch",flexGrow:1,boxSizing:"border-box",maxWidth:t.maxWidth||1200,display:"flex",flexDirection:"column",alignItems:"stretch",marginLeft:"auto",marginRight:"auto"}},"section",t.filterAttrs(t.attributes,"v-on:",!1),!1),t.filterAttrs(t.attributes,"v-on:",!0)),[t._t("default")],2)},Gt=[],qt=u(Kt,zt,Gt,!1,null,null,null,null);const Ht=qt.exports,x="[Builder.io]: ",f={log:(...e)=>console.log(x,...e),error:(...e)=>console.error(x,...e),warn:(...e)=>console.warn(x,...e),debug:(...e)=>console.debug(x,...e)},Qt=async({builderContextValue:e,symbol:t})=>{if(t!=null&&t.model&&(e!=null&&e.apiKey))return P({model:t.model,apiKey:e.apiKey,apiVersion:e.apiVersion,...(t==null?void 0:t.entry)&&{query:{id:t.entry}}}).catch(n=>{f.error("Could not fetch symbol content: ",n)})},Jt=()=>Promise.resolve().then(()=>Ge).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component ContentVariants at ../../components/content-variants/content-variants.vue",e),e}),Xt=p.defineComponent({name:"builder-symbol",components:{"content-variants":Jt},props:["js","attributes","symbol","dynamic","builderContext","builderComponents"],data(){var e;return{contentToUse:(e=this.symbol)==null?void 0:e.content,filterAttrs:$}},mounted(){this.setContent()},watch:{onUpdateHook0:{handler(){this.setContent()},immediate:!0}},computed:{className(){var e,t;return[...Object.keys(this.attributes.class),"builder-symbol",(e=this.symbol)!=null&&e.inline?"builder-inline-symbol":void 0,(t=this.symbol)!=null&&t.dynamic||this.dynamic?"builder-dynamic-symbol":void 0].filter(Boolean).join(" ")},onUpdateHook0(){return{0:this.symbol}}},methods:{setContent(){this.contentToUse||Qt({symbol:this.symbol,builderContextValue:this.builderContext}).then(e=>{e&&(this.contentToUse=e)})},_classStringToObject(e){const t={};if(typeof e!="string")return t;const n=e.trim().split(/\s+/);for(const o of n)t[o]=!0;return t}}});var Yt=function(){var o,r,i,s;var t=this,n=t._self._c;return t._self._setupProxy,n("div",t._g(t._b({class:t._classStringToObject(t.className)},"div",{...t.filterAttrs(t.attributes,"v-on:",!1)},!1),t.filterAttrs(t.attributes,"v-on:",!0)),[n("content-variants",{attrs:{__isNestedRender:!0,apiVersion:t.builderContext.apiVersion,apiKey:t.builderContext.apiKey,context:t.builderContext.context,customComponents:Object.values(t.builderComponents),data:{...(o=t.symbol)==null?void 0:o.data,...t.builderContext.localState,...(i=(r=t.contentToUse)==null?void 0:r.data)==null?void 0:i.state},model:(s=t.symbol)==null?void 0:s.model,content:t.contentToUse}})],1)},Zt=[],te=u(Xt,Yt,Zt,!1,null,null,null,null);const ee=te.exports,ne=p.defineComponent({name:"builder-text",props:["text"]});var oe=function(){var o;var t=this,n=t._self._c;return t._self._setupProxy,n("div",{staticClass:"builder-text",style:{outline:"none"},domProps:{innerHTML:t._s(((o=t.text)==null?void 0:o.toString())||"")}})},re=[],ie=u(ne,oe,re,!1,null,null,null,null);const se=ie.exports,ae=p.defineComponent({name:"builder-video",props:["autoPlay","muted","controls","loop","playsInline","preload","attributes","fit","position","aspectRatio","video","posterImage","lazyLoad","fitContent","builderBlock"],computed:{videoProps(){return{...this.autoPlay===!0?{autoPlay:!0}:{},...this.muted===!0?{muted:!0}:{},...this.controls===!0?{controls:!0}:{},...this.loop===!0?{loop:!0}:{},...this.playsInline===!0?{playsInline:!0}:{}}},spreadProps(){return{...this.videoProps}}}});var ce=function(){var o,r,i,s,h,a,c;var t=this,n=t._self._c;return t._self._setupProxy,n("div",{style:{position:"relative"}},[n("video",t._b({staticClass:"builder-video",style:{width:"100%",height:"100%",...(o=t.attributes)==null?void 0:o.style,objectFit:t.fit,objectPosition:t.position,zIndex:2,borderRadius:"1px",...t.aspectRatio?{position:"absolute"}:null},attrs:{preload:t.preload||"metadata",src:t.video||"no-src",poster:t.posterImage}},"video",t.spreadProps,!1),[t.lazyLoad?t._e():[n("source",{attrs:{type:"video/mp4",src:t.video}})]],2),t.aspectRatio&&!(t.fitContent&&((i=(r=t.builderBlock)==null?void 0:r.children)!=null&&i.length))?[n("div",{style:{width:"100%",paddingTop:t.aspectRatio*100+"%",pointerEvents:"none",fontSize:"0px"}})]:t._e(),(h=(s=t.builderBlock)==null?void 0:s.children)!=null&&h.length&&t.fitContent?[n("div",{style:{display:"flex",flexDirection:"column",alignItems:"stretch"}},[t._t("default")],2)]:t._e(),(c=(a=t.builderBlock)==null?void 0:a.children)!=null&&c.length&&!t.fitContent?[n("div",{style:{pointerEvents:"none",display:"flex",flexDirection:"column",alignItems:"stretch",position:"absolute",top:"0",left:"0",width:"100%",height:"100%"}},[t._t("default")],2)]:t._e()],2)},le=[],de=u(ae,ce,le,!1,null,null,null,null);const ue=de.exports,me=Symbol(),J={Builder:{content:null,context:{},localState:void 0,rootSetState(){},rootState:{},apiKey:null,apiVersion:void 0,componentInfos:{},inheritedStyles:{}},key:me},pe=Symbol(),X={Components:{registeredComponents:{}},key:pe},fe=()=>Promise.resolve().then(()=>require("./block-9d4161fb.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component Block at ../block/block.vue",e),e}),he=()=>Promise.resolve().then(()=>require("./block-styles-b76b4562.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component BlockStyles at ../block/components/block-styles.vue",e),e}),ge=()=>Promise.resolve().then(()=>require("./blocks-wrapper-02404286.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component BlocksWrapper at ./blocks-wrapper.vue",e),e}),_e=p.defineComponent({name:"builder-blocks",components:{"blocks-wrapper":ge,block:fe,"block-styles":he},props:["blocks","parent","path","styleProp","context","registeredComponents"],inject:{builderContext:J.key,componentsContext:X.key}});var be=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("blocks-wrapper",{attrs:{blocks:t.blocks,parent:t.parent,path:t.path,styleProp:t.styleProp}},[t.blocks?t._l(t.blocks,function(o,r){return n("block",{key:"render-block-"+o.id,attrs:{block:o,context:t.context||t.builderContext,registeredComponents:t.registeredComponents||t.componentsContext.registeredComponents}})}):t._e(),t.blocks?t._l(t.blocks,function(o,r){return n("block-styles",{key:"block-style-"+o.id,attrs:{block:o,context:t.context||t.builderContext}})}):t._e()],2)},ye=[],ve=u(_e,be,ye,!1,null,null,null,null);const V=ve.exports,Y=Object.freeze(Object.defineProperty({__proto__:null,default:V},Symbol.toStringTag,{value:"Module"})),_=e=>e!=null;function m(){return typeof window<"u"&&typeof document<"u"}const Se=e=>{if(e==="localhost"||e==="127.0.0.1")return e;const t=e.split(".");return t.length>2?t.slice(1).join("."):e},Z=({name:e,canTrack:t})=>{var n;try{return t?(n=document.cookie.split("; ").find(o=>o.startsWith(`${e}=`)))==null?void 0:n.split("=")[1]:void 0}catch(o){f.warn("[COOKIE] GET error: ",(o==null?void 0:o.message)||o);return}},tt=async e=>Z(e),ke=e=>e.map(([t,n])=>n?`${t}=${n}`:t).filter(_).join("; "),Ce=[["secure",""],["SameSite","None"]],xe=({name:e,value:t,expires:n})=>{const r=(m()?location.protocol==="https:":!0)?Ce:[[]],i=n?[["expires",n.toUTCString()]]:[[]],s=[[e,t],...i,["path","/"],["domain",Se(window.location.hostname)],...r];return ke(s)},et=async({name:e,value:t,expires:n,canTrack:o})=>{try{if(!o)return;const r=xe({name:e,value:t,expires:n});document.cookie=r}catch(r){f.warn("[COOKIE] SET error: ",(r==null?void 0:r.message)||r)}},we="builder.tests",O=e=>`${we}.${e}`,Ie=({contentId:e})=>tt({name:O(e),canTrack:!0}),Te=({contentId:e})=>Z({name:O(e),canTrack:!0}),$e=({contentId:e,value:t})=>et({name:O(e),value:t,canTrack:!0}),nt=e=>_(e.id)&&_(e.variations)&&Object.keys(e.variations).length>0,Re=({id:e,variations:t})=>{var r;let n=0;const o=Math.random();for(const i in t){const s=(r=t[i])==null?void 0:r.testRatio;if(n+=s,o<n)return i}return e},ot=e=>{const t=Re(e);return $e({contentId:e.id,value:t}).catch(n=>{f.error("could not store A/B test variation: ",n)}),t},rt=({item:e,testGroupId:t})=>{const n=e.variations[t];return t===e.id||!n?{testVariationId:e.id,testVariationName:"Default"}:{data:n.data,testVariationId:n.id,testVariationName:n.name||(n.id===e.id?"Default":"")}},Pe=({item:e,canTrack:t})=>{if(!t)return e;if(!e)return;if(!nt(e))return e;const n=Te({contentId:e.id})||ot({variations:e.variations,id:e.id}),o=rt({item:e,testGroupId:n});return{...e,...o}},Ee=async({item:e,canTrack:t})=>{if(!t||!nt(e))return e;const o=await Ie({contentId:e.id})||ot({variations:e.variations,id:e.id}),r=rt({item:e,testGroupId:o});return{...e,...r}},T=e=>_(e)?e:!0,Ae=`function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
|
|
26
26
|
function getAndSetVariantId() {
|
|
27
27
|
function setCookie(name, value, days) {
|
|
28
28
|
let expires = '';
|
|
@@ -120,5 +120,5 @@
|
|
|
120
120
|
"${t}",${JSON.stringify(e)}, ${at}
|
|
121
121
|
)`,Ue=({contentId:e,variationId:t})=>`window.${st}(
|
|
122
122
|
"${t}", "${e}", ${at}
|
|
123
|
-
)`,De=()=>Promise.resolve().then(()=>require("./content-
|
|
123
|
+
)`,De=()=>Promise.resolve().then(()=>require("./content-0575efdf.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component ContentComponent at ../content/content.vue",e),e}),Fe=()=>Promise.resolve().then(()=>require("./inlined-script-166d99c7.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component InlinedScript at ../inlined-script.vue",e),e}),Le=()=>Promise.resolve().then(()=>require("./inlined-styles-4c4a89e2.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component InlinedStyles at ../inlined-styles.vue",e),e}),We=p.defineComponent({name:"content-variants",components:{"inlined-script":Fe,"inlined-styles":Le,"content-component":De},props:["canTrack","content","__isNestedRender","model","data","context","apiKey","apiVersion","customComponents","locale","includeRefs","enrich"],data(){return{shouldRenderVariants:Oe({canTrack:T(this.canTrack),content:this.content}),TARGET:b,getScriptString:Ne,getVariants:w}},mounted(){this.shouldRenderVariants=!1},computed:{updateCookieAndStylesScriptStr(){var e;return je(w(this.content).map(t=>({id:t.testVariationId,testRatio:t.testRatio})),((e=this.content)==null?void 0:e.id)||"")},hideVariantsStyleString(){return w(this.content).map(e=>`.variant-${e.testVariationId} { display: none; } `).join("")},defaultContent(){var e;return this.shouldRenderVariants?{...this.content,testVariationId:(e=this.content)==null?void 0:e.id}:Pe({item:this.content,canTrack:T(this.canTrack)})}}});var Me=function(){var o;var t=this,n=t._self._c;return t._self._setupProxy,n("div",[!t.__isNestedRender&&t.TARGET!=="reactNative"?[n("inlined-script",{attrs:{scriptStr:t.getScriptString()}})]:t._e(),t.shouldRenderVariants?[n("inlined-styles",{attrs:{id:`variants-styles-${(o=t.content)==null?void 0:o.id}`,styles:t.hideVariantsStyleString}}),n("inlined-script",{attrs:{scriptStr:t.updateCookieAndStylesScriptStr}}),t._l(t.getVariants(t.content),function(r,i){return n("content-component",{key:r.testVariationId,attrs:{content:r,showContent:!1,model:t.model,data:t.data,context:t.context,apiKey:t.apiKey,apiVersion:t.apiVersion,customComponents:t.customComponents,canTrack:t.canTrack,locale:t.locale,includeRefs:t.includeRefs,enrich:t.enrich,isSsrAbTest:t.shouldRenderVariants}})})]:t._e(),n("content-component",t._b({attrs:{content:t.defaultContent,showContent:!0,model:t.model,data:t.data,context:t.context,apiKey:t.apiKey,apiVersion:t.apiVersion,customComponents:t.customComponents,canTrack:t.canTrack,locale:t.locale,includeRefs:t.includeRefs,enrich:t.enrich,isSsrAbTest:t.shouldRenderVariants}},"content-component",{key:t.shouldRenderVariants.toString()},!1))],2)},Ke=[],ze=u(We,Me,Ke,!1,null,null,null,null);const B=ze.exports,Ge=Object.freeze(Object.defineProperty({__proto__:null,default:B},Symbol.toStringTag,{value:"Module"})),qe=V,He=B;function Qe(){return m()&&window.self!==window.top}function N(){return Qe()&&window.location.search.indexOf("builder.frameEditing=")!==-1}function Je(){return!m()||N()?!1:location.search.indexOf("builder.preview=")!==-1}const Xe=[],Ye=e=>({type:"builder.registerComponent",data:ct(e)}),Ze=e=>{const t=e.toString().trim();return`return (${!t.startsWith("function")&&!t.startsWith("(")?"function ":""}${t}).apply(this, arguments)`},tn=e=>typeof e=="function"?Ze(e):R(e),ct=({inputs:e,...t})=>({...R(t),inputs:e==null?void 0:e.map(n=>Object.entries(n).reduce((o,[r,i])=>({...o,[r]:tn(i)}),{}))}),K={};function en(e,t){let n=K[e];if(n||(n=K[e]=[]),n.push(t),m()){const o={type:"builder.register",data:{type:e,info:t}};try{parent.postMessage(o,"*"),parent!==window&&window.postMessage(o,"*")}catch(r){console.debug("Could not postmessage",r)}}}const z={};function nn(e){if(m()){Object.assign(z,e);const t={type:"builder.settingsChange",data:z};parent.postMessage(t,"*")}}function on(){return typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:globalThis}function rn(){const e=on().fetch;if(typeof e>"u")throw console.warn(`Builder SDK could not find a global fetch function. Make sure you have a polyfill for fetch in your project.
|
|
124
124
|
For more information, read https://github.com/BuilderIO/this-package-uses-fetch`),new Error("Builder SDK could not find a global `fetch` function");return e}const lt=rn();function I(e,t=null,n="."){return Object.keys(e).reduce((o,r)=>{const i=e[r],s=[t,r].filter(Boolean).join(n);return[typeof i=="object",i!==null,!(Array.isArray(i)&&i.length===0)].every(Boolean)?{...o,...I(i,s,n)}:{...o,[s]:i}},{})}const sn="v3",G="builder.",an="options.",cn=e=>{const t={};return e.forEach((n,o)=>{t[o]=n}),t},j=e=>{if(!e)return{};const t=dt(e),n={};return Object.keys(t).forEach(o=>{if(o.startsWith(G)){const r=o.replace(G,"").replace(an,"");n[r]=t[o]}}),n},ln=()=>{if(!m())return{};const e=new URLSearchParams(window.location.search);return j(e)},dt=e=>e instanceof URLSearchParams?cn(e):e,q=e=>typeof e=="number"&&!isNaN(e)&&e>=0,U=e=>{let{noTraverse:t=!1}=e;const{limit:n=30,userAttributes:o,query:r,model:i,apiKey:s,includeRefs:h=!0,enrich:a,locale:c,apiVersion:v=sn,fields:S,omit:l,offset:k,cacheSeconds:y,staleCacheSeconds:E,sort:F,includeUnpublished:L}=e;if(!s)throw new Error("Missing API key");if(!["v2","v3"].includes(v))throw new Error(`Invalid apiVersion: expected 'v2' or 'v3', received '${v}'`);(e.limit===void 0||e.limit>1)&&!("noTraverse"in e)&&(t=!0);const d=new URL(`https://cdn.builder.io/api/${v}/content/${i}?apiKey=${s}&limit=${n}&noTraverse=${t}&includeRefs=${h}${c?`&locale=${c}`:""}${a?`&enrich=${a}`:""}`);if(d.searchParams.set("omit",l||"meta.componentsUsed"),S&&d.searchParams.set("fields",S),Number.isFinite(k)&&k>-1&&d.searchParams.set("offset",String(Math.floor(k))),typeof L=="boolean"&&d.searchParams.set("includeUnpublished",String(L)),y&&q(y)&&d.searchParams.set("cacheSeconds",String(y)),E&&q(E)&&d.searchParams.set("staleCacheSeconds",String(E)),F){const g=I({sort:F});for(const C in g)d.searchParams.set(C,JSON.stringify(g[C]))}const bt={...ln(),...dt(e.options||{})},W=I(bt);for(const g in W)d.searchParams.set(g,String(W[g]));if(o&&d.searchParams.set("userAttributes",JSON.stringify(o)),r){const g=I({query:r});for(const C in g)d.searchParams.set(C,JSON.stringify(g[C]))}return d},dn=e=>"results"in e;async function P(e){const t=await D({...e,limit:1});return t&&t.results[0]||null}const un=P,mn=async e=>{const t=U(e);return await(await lt(t.href)).json()},ut=async(e,t,n=U(e))=>{const o=T(e.canTrack);if(n.search.includes("preview="),!o||!(m()||b==="reactNative"))return t;try{const r=[];for(const i of t.results)r.push(await Ee({item:i,canTrack:o}));t.results=r}catch(r){f.error("Could not process A/B tests. ",r)}return t};async function D(e){try{const t=U(e),n=await mn(e);return dn(n)?ut(e,n):(f.error("Error fetching data. ",{url:t,content:n,options:e}),null)}catch(t){return f.error("Error fetching data. ",t),null}}const pn=D;function fn(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){const t=Math.random()*16|0;return(e=="x"?t:t&3|8).toString(16)})}function mt(){return fn().replace(/-/g,"")}const pt="builderSessionId",hn=async({canTrack:e})=>{if(!e)return;const t=await tt({name:pt,canTrack:e});if(_(t))return t;{const n=gn();return _n({id:n,canTrack:e}),n}},gn=()=>mt(),_n=({id:e,canTrack:t})=>et({name:pt,value:e,canTrack:t}),ft=()=>m()&&typeof localStorage<"u"?localStorage:void 0,bn=({key:e,canTrack:t})=>{var n;try{return t?(n=ft())==null?void 0:n.getItem(e):void 0}catch(o){console.debug("[LocalStorage] GET error: ",o);return}},yn=({key:e,canTrack:t,value:n})=>{var o;try{t&&((o=ft())==null||o.setItem(e,n))}catch(r){console.debug("[LocalStorage] SET error: ",r)}},ht="builderVisitorId",vn=({canTrack:e})=>{if(!e)return;const t=bn({key:ht,canTrack:e});if(_(t))return t;{const n=Sn();return kn({id:n,canTrack:e}),n}},Sn=()=>mt(),kn=({id:e,canTrack:t})=>yn({key:ht,value:e,canTrack:t}),Cn=()=>{if(m()){const e=new URL(location.href);return e.pathname===""&&(e.pathname="/"),e}else return console.warn("Cannot get location for tracking in non-browser environment"),null},xn=()=>typeof navigator=="object"&&navigator.userAgent||"",gt=()=>{const e=xn(),t={Android(){return e.match(/Android/i)},BlackBerry(){return e.match(/BlackBerry/i)},iOS(){return e.match(/iPhone|iPod/i)},Opera(){return e.match(/Opera Mini/i)},Windows(){return e.match(/IEMobile/i)||e.match(/WPDesktop/i)},any(){return t.Android()||t.BlackBerry()||t.iOS()||t.Opera()||t.Windows()||b==="reactNative"}},n=e.match(/Tablet|iPad/i),o=Cn();return{urlPath:o==null?void 0:o.pathname,host:(o==null?void 0:o.host)||(o==null?void 0:o.hostname),device:n?"tablet":t.any()?"mobile":"desktop"}},wn=async({canTrack:e})=>{if(!e)return{visitorId:void 0,sessionId:void 0};const t=await hn({canTrack:e}),n=vn({canTrack:e});return{sessionId:t,visitorId:n}},In=async({type:e,canTrack:t,apiKey:n,metadata:o,...r})=>({type:e,data:{...r,metadata:{url:location.href,...o},...await wn({canTrack:t}),userAttributes:gt(),ownerId:n}});async function _t(e){if(!e.apiKey){f.error("Missing API key for track call. Please provide your API key.");return}if(e.canTrack&&!N()&&(m()||b==="reactNative"))return fetch("https://cdn.builder.io/api/v1/track",{method:"POST",body:JSON.stringify({events:[await In(e)]}),headers:{"content-type":"application/json"},mode:"cors"}).catch(t=>{console.error("Failed to track: ",t)})}const Tn=e=>_t({...e,canTrack:!0}),$n=async e=>{var o,r,i;const t=e.path||((o=e.url)==null?void 0:o.pathname)||((r=e.userAttributes)==null?void 0:r.urlPath),n={...e,apiKey:e.apiKey,model:e.model||"page",userAttributes:{...e.userAttributes,...t?{urlPath:t}:{}},options:j(e.searchParams||((i=e.url)==null?void 0:i.searchParams)||e.options)};return{apiKey:n.apiKey,model:n.model,content:await P(n)}};exports.Blocks=V;exports.Button=Ct;exports.Columns=Et;exports.ComponentsContext=X;exports.Content=B;exports.Fragment=Nt;exports.Image=Mt;exports.RenderBlocks=qe;exports.RenderContent=He;exports.Section=Ht;exports.Symbol=ee;exports.TARGET=b;exports.Text=se;exports.Video=ue;exports._processContentResult=ut;exports._track=_t;exports.blocks=Y;exports.builderContext=J;exports.checkIsDefined=_;exports.components=Xe;exports.createRegisterComponentMessage=Ye;exports.fastClone=R;exports.fetch=lt;exports.fetchBuilderProps=$n;exports.fetchEntries=D;exports.fetchOneEntry=P;exports.filterAttrs=$;exports.getAllContent=pn;exports.getBuilderSearchParams=j;exports.getContent=un;exports.getDefaultCanTrack=T;exports.getMaxWidthQueryForSize=xt;exports.getSizesForBreakpoints=Q;exports.getUpdateVariantVisibilityScript=Ue;exports.getUserAttributes=gt;exports.isBrowser=m;exports.isEditing=N;exports.isPreviewing=Je;exports.logger=f;exports.normalizeComponent=u;exports.register=en;exports.serializeComponentInfo=ct;exports.setEditorSettings=nn;exports.track=Tn;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";var t=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-e56cba6d.cjs");require("vue");exports.Blocks=e.Blocks;exports.Button=e.Button;exports.Columns=e.Columns;exports.Content=e.Content;exports.Fragment=e.Fragment;exports.Image=e.Image;exports.RenderBlocks=e.RenderBlocks;exports.RenderContent=e.RenderContent;exports.Section=e.Section;exports.Symbol=e.Symbol;exports.Text=e.Text;exports.Video=e.Video;exports._processContentResult=e._processContentResult;exports.createRegisterComponentMessage=e.createRegisterComponentMessage;exports.fetchBuilderProps=e.fetchBuilderProps;exports.fetchEntries=e.fetchEntries;exports.fetchOneEntry=e.fetchOneEntry;exports.getAllContent=e.getAllContent;exports.getBuilderSearchParams=e.getBuilderSearchParams;exports.getContent=e.getContent;exports.isEditing=e.isEditing;exports.isPreviewing=e.isPreviewing;exports.register=e.register;exports.setEditorSettings=e.setEditorSettings;exports.track=e.track;
|
|
@@ -1,29 +1,30 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "./style.css";
|
|
2
|
+
import { x as n, B as r, C as o, y as i, F as g, I as c, R as l, z as m, S as d, d as C, e as p, V as u, D as B, q as E, L as R, E as S, t as f, G as h, J as k, H as x, i as y, u as P, r as A, A as F, K as I } from "./index-1fdc0dd8.js";
|
|
2
3
|
import "vue";
|
|
3
4
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
n as Blocks,
|
|
6
|
+
r as Button,
|
|
7
|
+
o as Columns,
|
|
8
|
+
i as Content,
|
|
9
|
+
g as Fragment,
|
|
10
|
+
c as Image,
|
|
11
|
+
l as RenderBlocks,
|
|
12
|
+
m as RenderContent,
|
|
12
13
|
d as Section,
|
|
13
|
-
|
|
14
|
-
|
|
14
|
+
C as Symbol,
|
|
15
|
+
p as Text,
|
|
15
16
|
u as Video,
|
|
16
17
|
B as _processContentResult,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
18
|
+
E as createRegisterComponentMessage,
|
|
19
|
+
R as fetchBuilderProps,
|
|
20
|
+
S as fetchEntries,
|
|
21
|
+
f as fetchOneEntry,
|
|
22
|
+
h as getAllContent,
|
|
23
|
+
k as getBuilderSearchParams,
|
|
24
|
+
x as getContent,
|
|
25
|
+
y as isEditing,
|
|
26
|
+
P as isPreviewing,
|
|
27
|
+
A as register,
|
|
28
|
+
F as setEditorSettings,
|
|
29
|
+
I as track
|
|
29
30
|
};
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
+
import "./style.css";
|
|
1
2
|
import { defineComponent as t } from "vue";
|
|
2
|
-
import { n as e } from "./index-
|
|
3
|
-
const
|
|
3
|
+
import { n as e } from "./index-1fdc0dd8.js";
|
|
4
|
+
const o = t({
|
|
4
5
|
name: "inlined-script",
|
|
5
6
|
props: ["scriptStr", "id"]
|
|
6
7
|
});
|
|
7
|
-
var
|
|
8
|
+
var s = function() {
|
|
8
9
|
var n = this, r = n._self._c;
|
|
9
10
|
return n._self._setupProxy, r("script", { tag: "component", attrs: { id: n.id || "" }, domProps: { innerHTML: n._s(n.scriptStr) } });
|
|
10
11
|
}, i = [], p = /* @__PURE__ */ e(
|
|
11
|
-
s,
|
|
12
12
|
o,
|
|
13
|
+
s,
|
|
13
14
|
i,
|
|
14
15
|
!1,
|
|
15
16
|
null,
|
|
@@ -17,7 +18,7 @@ var o = function() {
|
|
|
17
18
|
null,
|
|
18
19
|
null
|
|
19
20
|
);
|
|
20
|
-
const
|
|
21
|
+
const m = p.exports;
|
|
21
22
|
export {
|
|
22
|
-
|
|
23
|
+
m as default
|
|
23
24
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var p=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("vue"),t=require("./index-e56cba6d.cjs"),i=r.defineComponent({name:"inlined-script",props:["scriptStr","id"]});var s=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("script",{tag:"component",attrs:{id:e.id||""},domProps:{innerHTML:e._s(e.scriptStr)}})},o=[],c=t.normalizeComponent(i,s,o,!1,null,null,null,null);const l=c.exports;exports.default=l;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var a=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),s=require("./index-e56cba6d.cjs"),r=t.defineComponent({name:"inlined-styles",props:["styles","id"]});var o=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("style",{tag:"component",attrs:{id:e.id},domProps:{innerHTML:e._s(e.styles)}})},l=[],i=s.normalizeComponent(r,o,l,!1,null,null,null,null);const _=i.exports;exports.default=_;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import "./style.css";
|
|
1
2
|
import { defineComponent as s } from "vue";
|
|
2
|
-
import { n as t } from "./index-
|
|
3
|
+
import { n as t } from "./index-1fdc0dd8.js";
|
|
3
4
|
const r = s({
|
|
4
5
|
name: "inlined-styles",
|
|
5
6
|
props: ["styles", "id"]
|
|
@@ -7,7 +8,7 @@ const r = s({
|
|
|
7
8
|
var o = function() {
|
|
8
9
|
var n = this, e = n._self._c;
|
|
9
10
|
return n._self._setupProxy, e("style", { tag: "component", attrs: { id: n.id }, domProps: { innerHTML: n._s(n.styles) } });
|
|
10
|
-
}, l = [],
|
|
11
|
+
}, l = [], i = /* @__PURE__ */ t(
|
|
11
12
|
r,
|
|
12
13
|
o,
|
|
13
14
|
l,
|
|
@@ -17,7 +18,7 @@ var o = function() {
|
|
|
17
18
|
null,
|
|
18
19
|
null
|
|
19
20
|
);
|
|
20
|
-
const
|
|
21
|
+
const c = i.exports;
|
|
21
22
|
export {
|
|
22
|
-
|
|
23
|
+
c as default
|
|
23
24
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var _=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),r=require("./get-block-actions-797d49a2.cjs"),n=require("./get-block-properties-b25a78e1.cjs"),c=require("./index-e56cba6d.cjs");require("./evaluate-5a5f1e1a.cjs");require("./css-9cb1ef7e.cjs");const l=o.defineComponent({name:"interactive-element",props:["wrapperProps","block","context","Wrapper"],data(){return{getBlockActions:r.getBlockActions,getBlockProperties:n.getBlockProperties}}});var a=function(){var t=this,e=t._self._c;return t._self._setupProxy,e(t.Wrapper,t._b({tag:"component",attrs:{attributes:{...t.getBlockProperties({block:t.block,context:t.context}),...t.getBlockActions({block:t.block,rootState:t.context.rootState,rootSetState:t.context.rootSetState,localState:t.context.localState,context:t.context.context})}}},"component",t.wrapperProps,!1),[t._t("default")],2)},s=[],i=c.normalizeComponent(l,a,s,!1,null,null,null,null);const p=i.exports;exports.default=p;
|