@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
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import "./style.css";
|
|
1
2
|
import { defineComponent as _, openBlock as C, createElementBlock as x, mergeProps as oe, toHandlers as ot, toDisplayString as rr, defineAsyncComponent as At, resolveComponent as L, Fragment as re, createBlock as G, createCommentVNode as P, renderList as xe, withCtx as pn, createVNode as Ie, h as br, renderSlot as Ee, createElementVNode as nn, normalizeStyle as rn, normalizeClass as kr, markRaw as vo } from "vue";
|
|
2
3
|
function Ft(e = {}, t, n) {
|
|
3
4
|
const r = {};
|
|
@@ -71,10 +72,10 @@ function Fo(e) {
|
|
|
71
72
|
builderBlock: e
|
|
72
73
|
};
|
|
73
74
|
}
|
|
74
|
-
const
|
|
75
|
+
const ae = "vue3", wo = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), ve = (e) => e != null, Bo = (e) => Object.entries(e).map(([n, r]) => {
|
|
75
76
|
if (typeof r == "string")
|
|
76
77
|
return `${wo(n)}: ${r};`;
|
|
77
|
-
}).filter(
|
|
78
|
+
}).filter(ve), Do = (e) => Bo(e).join(`
|
|
78
79
|
`), Qt = ({
|
|
79
80
|
mediaQuery: e,
|
|
80
81
|
className: t,
|
|
@@ -98,8 +99,8 @@ function J() {
|
|
|
98
99
|
function xo() {
|
|
99
100
|
return J() && window.self !== window.top;
|
|
100
101
|
}
|
|
101
|
-
function
|
|
102
|
-
return xo() && window.location.search.indexOf("builder.frameEditing=") !== -1;
|
|
102
|
+
function ge() {
|
|
103
|
+
return xo() && (ae === "reactNative" || window.location.search.indexOf("builder.frameEditing=") !== -1);
|
|
103
104
|
}
|
|
104
105
|
const Io = () => {
|
|
105
106
|
if (J()) {
|
|
@@ -125,7 +126,7 @@ const Io = () => {
|
|
|
125
126
|
return e.match(/IEMobile/i) || e.match(/WPDesktop/i);
|
|
126
127
|
},
|
|
127
128
|
any() {
|
|
128
|
-
return t.Android() || t.BlackBerry() || t.iOS() || t.Opera() || t.Windows() ||
|
|
129
|
+
return t.Android() || t.BlackBerry() || t.iOS() || t.Opera() || t.Windows() || ae === "reactNative";
|
|
129
130
|
}
|
|
130
131
|
}, n = e.match(/Tablet|iPad/i), r = Io();
|
|
131
132
|
return {
|
|
@@ -145,7 +146,7 @@ const Io = () => {
|
|
|
145
146
|
context: t,
|
|
146
147
|
event: n
|
|
147
148
|
}), Ro = () => ({
|
|
148
|
-
isEditing:
|
|
149
|
+
isEditing: ge(),
|
|
149
150
|
isBrowser: J(),
|
|
150
151
|
isServer: !J(),
|
|
151
152
|
getUserAttributes: () => Sr()
|
|
@@ -216,7 +217,7 @@ var I, Po = function(e) {
|
|
|
216
217
|
};
|
|
217
218
|
}
|
|
218
219
|
function i() {
|
|
219
|
-
this.line = Be, this.ab = c -
|
|
220
|
+
this.line = Be, this.ab = c - pe;
|
|
220
221
|
}
|
|
221
222
|
function u(s, a) {
|
|
222
223
|
Re = c, B.C && (Ut = new i()), S = s, h(), ne = a, Ge = s.m;
|
|
@@ -232,9 +233,9 @@ var I, Po = function(e) {
|
|
|
232
233
|
if (s === 32)
|
|
233
234
|
++c;
|
|
234
235
|
else if (s === 13)
|
|
235
|
-
++c, s = g.charCodeAt(c), s === 10 && ++c, B.C && (++Be,
|
|
236
|
+
++c, s = g.charCodeAt(c), s === 10 && ++c, B.C && (++Be, pe = c);
|
|
236
237
|
else if (s === 10 || s === 8232 || s === 8233)
|
|
237
|
-
++c, B.C && (++Be,
|
|
238
|
+
++c, B.C && (++Be, pe = c);
|
|
238
239
|
else if (8 < s && 14 > s)
|
|
239
240
|
++c;
|
|
240
241
|
else if (s === 47)
|
|
@@ -243,7 +244,7 @@ var I, Po = function(e) {
|
|
|
243
244
|
var a = B.va && B.C && new i(), l = c, d = g.indexOf("*/", c += 2);
|
|
244
245
|
if (d === -1 && r(c - 2, "Unterminated comment"), c = d + 2, B.C)
|
|
245
246
|
for (vt.lastIndex = l; (s = vt.exec(g)) && s.index < c; )
|
|
246
|
-
++Be,
|
|
247
|
+
++Be, pe = s.index + s[0].length;
|
|
247
248
|
B.va && B.va(!0, g.slice(l + 2, d), l, c, a, B.C && new i());
|
|
248
249
|
} else if (s === 47)
|
|
249
250
|
p();
|
|
@@ -263,11 +264,11 @@ var I, Po = function(e) {
|
|
|
263
264
|
s = g.charCodeAt(c + 1), 48 <= s && 57 >= s ? R(!0) : (++c, u(Xn));
|
|
264
265
|
return;
|
|
265
266
|
case 40:
|
|
266
|
-
return ++c, u(
|
|
267
|
+
return ++c, u(de);
|
|
267
268
|
case 41:
|
|
268
269
|
return ++c, u(ue);
|
|
269
270
|
case 59:
|
|
270
|
-
return ++c, u(
|
|
271
|
+
return ++c, u(he);
|
|
271
272
|
case 44:
|
|
272
273
|
return ++c, u(ke);
|
|
273
274
|
case 91:
|
|
@@ -350,7 +351,7 @@ var I, Po = function(e) {
|
|
|
350
351
|
case 13:
|
|
351
352
|
g.charCodeAt(c) === 10 && ++c;
|
|
352
353
|
case 10:
|
|
353
|
-
B.C && (
|
|
354
|
+
B.C && (pe = c, ++Be);
|
|
354
355
|
break;
|
|
355
356
|
default:
|
|
356
357
|
a += String.fromCharCode(l);
|
|
@@ -475,9 +476,9 @@ var I, Po = function(e) {
|
|
|
475
476
|
}
|
|
476
477
|
function Ve(s) {
|
|
477
478
|
if (Q = s, c = W, B.C)
|
|
478
|
-
for (; c <
|
|
479
|
-
|
|
480
|
-
`,
|
|
479
|
+
for (; c < pe; )
|
|
480
|
+
pe = g.lastIndexOf(`
|
|
481
|
+
`, pe - 2) + 1, --Be;
|
|
481
482
|
h(), v();
|
|
482
483
|
}
|
|
483
484
|
function Le() {
|
|
@@ -507,12 +508,12 @@ var I, Po = function(e) {
|
|
|
507
508
|
return !B.fc && (S === Lt || S === Oe || yt.test(g.slice(be, W)));
|
|
508
509
|
}
|
|
509
510
|
function we() {
|
|
510
|
-
O(
|
|
511
|
+
O(he) || pt() || le();
|
|
511
512
|
}
|
|
512
513
|
function M(s) {
|
|
513
|
-
S === s ? E() :
|
|
514
|
+
S === s ? E() : le();
|
|
514
515
|
}
|
|
515
|
-
function
|
|
516
|
+
function le() {
|
|
516
517
|
r(W, "Unexpected token");
|
|
517
518
|
}
|
|
518
519
|
function dt(s) {
|
|
@@ -526,7 +527,7 @@ var I, Po = function(e) {
|
|
|
526
527
|
case Tn:
|
|
527
528
|
E();
|
|
528
529
|
var l = s === Wt;
|
|
529
|
-
O(
|
|
530
|
+
O(he) || pt() ? a.label = null : S !== je ? le() : (a.label = ce(), we());
|
|
530
531
|
for (var d = 0; d < V.length; ++d) {
|
|
531
532
|
var F = V[d];
|
|
532
533
|
if ((a.label === null || F.name === a.label.name) && (F.kind !== null && (l || F.kind === "loop") || a.label && l))
|
|
@@ -538,21 +539,21 @@ var I, Po = function(e) {
|
|
|
538
539
|
case On:
|
|
539
540
|
return E(), V.push(qt), a.body = se(), V.pop(), M(Xt), a.test = We(), we(), w(a, "DoWhileStatement");
|
|
540
541
|
case _n:
|
|
541
|
-
return E(), V.push(qt), M(
|
|
542
|
+
return E(), V.push(qt), M(de), S === he ? Tt(a, null) : S === zt ? (s = j(), E(), Bn(s, !0), w(s, "VariableDeclaration"), s.fa.length === 1 && O(mt) ? wn(a, s) : Tt(a, s)) : (s = X(!1, !0), O(mt) ? (dt(s), wn(a, s)) : Tt(a, s));
|
|
542
543
|
case Kt:
|
|
543
544
|
return E(), $t(a, !0);
|
|
544
545
|
case Nn:
|
|
545
546
|
return E(), a.test = We(), a.da = se(), a.alternate = O($n) ? se() : null, w(a, "IfStatement");
|
|
546
547
|
case Un:
|
|
547
|
-
return ze || B.Ib || r(W, "'return' outside of function"), E(), O(
|
|
548
|
+
return ze || B.Ib || r(W, "'return' outside of function"), E(), O(he) || pt() ? a.K = null : (a.K = X(), we()), w(a, "ReturnStatement");
|
|
548
549
|
case Gt:
|
|
549
550
|
for (E(), a.Qb = We(), a.tb = [], M(Je), V.push(yo); S !== Oe; )
|
|
550
|
-
S === Ht || S === jn ? (s = S === Ht, d && w(d, "SwitchCase"), a.tb.push(d = j()), d.da = [], E(), s ? d.test = X() : (l && r(Mt, "Multiple default clauses"), l = !0, d.test = null), M(Ye)) : (d ||
|
|
551
|
+
S === Ht || S === jn ? (s = S === Ht, d && w(d, "SwitchCase"), a.tb.push(d = j()), d.da = [], E(), s ? d.test = X() : (l && r(Mt, "Multiple default clauses"), l = !0, d.test = null), M(Ye)) : (d || le(), d.da.push(se()));
|
|
551
552
|
return d && w(d, "SwitchCase"), E(), V.pop(), w(a, "SwitchStatement");
|
|
552
553
|
case Mn:
|
|
553
554
|
return E(), yt.test(g.slice(be, W)) && r(be, "Illegal newline after throw"), a.K = X(), we(), w(a, "ThrowStatement");
|
|
554
555
|
case Vn:
|
|
555
|
-
return E(), a.block = He(), a.Ea = null, S === In && (s = j(), E(), M(
|
|
556
|
+
return E(), a.block = He(), a.Ea = null, S === In && (s = j(), E(), M(de), s.Ua = ce(), Q && gt(s.Ua.name) && r(s.Ua.start, "Binding " + s.Ua.name + " in strict mode"), M(ue), s.body = He(), a.Ea = w(s, "CatchClause")), a.fb = O(Pn) ? He() : null, a.Ea || a.fb || r(a.start, "Missing catch or finally clause"), w(a, "TryStatement");
|
|
556
557
|
case zt:
|
|
557
558
|
return E(), Bn(a), we(), w(a, "VariableDeclaration");
|
|
558
559
|
case Xt:
|
|
@@ -561,7 +562,7 @@ var I, Po = function(e) {
|
|
|
561
562
|
return Q && r(W, "'with' in strict mode"), E(), a.object = We(), a.body = se(), w(a, "WithStatement");
|
|
562
563
|
case Je:
|
|
563
564
|
return He();
|
|
564
|
-
case
|
|
565
|
+
case he:
|
|
565
566
|
return E(), w(a, "EmptyStatement");
|
|
566
567
|
default:
|
|
567
568
|
if (l = ne, F = X(), s === je && F.type === "Identifier" && O(Ye)) {
|
|
@@ -576,7 +577,7 @@ var I, Po = function(e) {
|
|
|
576
577
|
}
|
|
577
578
|
}
|
|
578
579
|
function We() {
|
|
579
|
-
M(
|
|
580
|
+
M(de);
|
|
580
581
|
var s = X();
|
|
581
582
|
return M(ue), s;
|
|
582
583
|
}
|
|
@@ -593,7 +594,7 @@ var I, Po = function(e) {
|
|
|
593
594
|
return d && !H && Ve(!1), w(a, "BlockStatement");
|
|
594
595
|
}
|
|
595
596
|
function Tt(s, a) {
|
|
596
|
-
return s.ua = a, M(
|
|
597
|
+
return s.ua = a, M(he), s.test = S === he ? null : X(), M(he), s.update = S === ue ? null : X(), M(ue), s.body = se(), V.pop(), w(s, "ForStatement");
|
|
597
598
|
}
|
|
598
599
|
function wn(s, a) {
|
|
599
600
|
return s.left = a, s.right = X(), M(ue), s.body = se(), V.pop(), w(s, "ForInStatement");
|
|
@@ -601,7 +602,7 @@ var I, Po = function(e) {
|
|
|
601
602
|
function Bn(s, a) {
|
|
602
603
|
for (s.fa = [], s.kind = "var"; ; ) {
|
|
603
604
|
var l = j();
|
|
604
|
-
if (l.id =
|
|
605
|
+
if (l.id = ce(), Q && gt(l.id.name) && r(l.id.start, "Binding " + l.id.name + " in strict mode"), l.ua = O(qn) ? X(!0, a) : null, s.fa.push(w(l, "VariableDeclarator")), !O(ke))
|
|
605
606
|
break;
|
|
606
607
|
}
|
|
607
608
|
}
|
|
@@ -642,9 +643,9 @@ var I, Po = function(e) {
|
|
|
642
643
|
function Ke(s, a) {
|
|
643
644
|
if (O(Xn)) {
|
|
644
645
|
var l = Ce(s);
|
|
645
|
-
return l.object = s, l.Wa =
|
|
646
|
+
return l.object = s, l.Wa = ce(!0), l.bb = !1, Ke(w(l, "MemberExpression"), a);
|
|
646
647
|
}
|
|
647
|
-
return O(Jt) ? (l = Ce(s), l.object = s, l.Wa = X(), l.bb = !0, M(Yt), Ke(w(l, "MemberExpression"), a)) : !a && O(
|
|
648
|
+
return O(Jt) ? (l = Ce(s), l.object = s, l.Wa = X(), l.bb = !0, M(Yt), Ke(w(l, "MemberExpression"), a)) : !a && O(de) ? (l = Ce(s), l.callee = s, l.arguments = Pt(ue, !1), Ke(w(l, "CallExpression"), a)) : s;
|
|
648
649
|
}
|
|
649
650
|
function ht() {
|
|
650
651
|
switch (S) {
|
|
@@ -652,7 +653,7 @@ var I, Po = function(e) {
|
|
|
652
653
|
var s = j();
|
|
653
654
|
return E(), w(s, "ThisExpression");
|
|
654
655
|
case je:
|
|
655
|
-
return
|
|
656
|
+
return ce();
|
|
656
657
|
case Xe:
|
|
657
658
|
case ft:
|
|
658
659
|
case xn:
|
|
@@ -661,7 +662,7 @@ var I, Po = function(e) {
|
|
|
661
662
|
case Gn:
|
|
662
663
|
case zn:
|
|
663
664
|
return s = j(), s.value = S.$a, s.raw = S.l, E(), w(s, "Literal");
|
|
664
|
-
case
|
|
665
|
+
case de:
|
|
665
666
|
s = Nt;
|
|
666
667
|
var a = W;
|
|
667
668
|
E();
|
|
@@ -676,13 +677,13 @@ var I, Po = function(e) {
|
|
|
676
677
|
else if (M(ke), B.sb && O(Oe))
|
|
677
678
|
break;
|
|
678
679
|
var d = {
|
|
679
|
-
key: S === Xe || S === ft ? ht() :
|
|
680
|
+
key: S === Xe || S === ft ? ht() : ce(!0)
|
|
680
681
|
}, F = !1;
|
|
681
682
|
if (O(Ye)) {
|
|
682
683
|
d.value = X(!0);
|
|
683
684
|
var H = d.kind = "init";
|
|
684
685
|
} else
|
|
685
|
-
d.key.type !== "Identifier" || d.key.name !== "get" && d.key.name !== "set" ?
|
|
686
|
+
d.key.type !== "Identifier" || d.key.name !== "get" && d.key.name !== "set" ? le() : (F = l = !0, H = d.kind = d.key.name, d.key = S === Xe || S === ft ? ht() : ce(!0), S !== de && le(), d.value = $t(j(), !1));
|
|
686
687
|
if (d.key.type === "Identifier" && (Q || l))
|
|
687
688
|
for (var Y = 0; Y < s.h.length; ++Y) {
|
|
688
689
|
var Pe = s.h[Y];
|
|
@@ -697,15 +698,15 @@ var I, Po = function(e) {
|
|
|
697
698
|
case Kt:
|
|
698
699
|
return s = j(), E(), $t(s, !1);
|
|
699
700
|
case Wn:
|
|
700
|
-
return s = j(), E(), s.callee = Ke(ht(), !0), s.arguments = O(
|
|
701
|
+
return s = j(), E(), s.callee = Ke(ht(), !0), s.arguments = O(de) ? Pt(ue, !1) : to, w(s, "NewExpression");
|
|
701
702
|
}
|
|
702
|
-
|
|
703
|
+
le();
|
|
703
704
|
}
|
|
704
705
|
function $t(s, a) {
|
|
705
|
-
S === je ? s.id =
|
|
706
|
+
S === je ? s.id = ce() : a ? le() : s.id = null, s.oa = [];
|
|
706
707
|
var l = !0;
|
|
707
|
-
for (M(
|
|
708
|
-
l ? l = !1 : M(ke), s.oa.push(
|
|
708
|
+
for (M(de); !O(ue); )
|
|
709
|
+
l ? l = !1 : M(ke), s.oa.push(ce());
|
|
709
710
|
l = ze;
|
|
710
711
|
var d = V;
|
|
711
712
|
if (ze = !0, V = [], s.body = He(!0), ze = l, V = d, Q || s.body.body.length && It(s.body.body[0])) {
|
|
@@ -726,9 +727,9 @@ var I, Po = function(e) {
|
|
|
726
727
|
}
|
|
727
728
|
return d;
|
|
728
729
|
}
|
|
729
|
-
function
|
|
730
|
+
function ce(s) {
|
|
730
731
|
var a = j();
|
|
731
|
-
return s && B.yb === "everywhere" && (s = !1), S === je ? (!s && (B.yb && ho(ne) || Q && tr(ne)) && g.slice(W, Re).indexOf("\\") === -1 && r(W, "The keyword '" + ne + "' is reserved"), a.name = ne) : s && S.l ? a.name = S.l :
|
|
732
|
+
return s && B.yb === "everywhere" && (s = !1), S === je ? (!s && (B.yb && ho(ne) || Q && tr(ne)) && g.slice(W, Re).indexOf("\\") === -1 && r(W, "The keyword '" + ne + "' is reserved"), a.name = ne) : s && S.l ? a.name = S.l : le(), Ge = !1, E(), w(a, "Identifier");
|
|
732
733
|
}
|
|
733
734
|
e.version = "0.5.0";
|
|
734
735
|
var B, g = "", Te, _t;
|
|
@@ -736,7 +737,7 @@ var I, Po = function(e) {
|
|
|
736
737
|
g = String(s), Te = g.length, B = a || {};
|
|
737
738
|
for (var l in Dn)
|
|
738
739
|
Object.prototype.hasOwnProperty.call(B, l) || (B[l] = Dn[l]);
|
|
739
|
-
for (_t = B.sourceFile, Be = 1, c =
|
|
740
|
+
for (_t = B.sourceFile, Be = 1, c = pe = 0, Ge = !0, h(), l = B.dc, Mt = be = c, B.C && (Vt = new i()), ze = Q = !1, V = [], v(), s = l || j(), a = !0, l || (s.body = []); S !== Lt; )
|
|
740
741
|
l = se(), s.body.push(l), a && It(l) && Ve(!0), a = !1;
|
|
741
742
|
return w(s, "Program");
|
|
742
743
|
};
|
|
@@ -751,7 +752,7 @@ var I, Po = function(e) {
|
|
|
751
752
|
dc: null,
|
|
752
753
|
sourceFile: null,
|
|
753
754
|
vb: null
|
|
754
|
-
}, c = 0, W = 0, Re = 0, Nt, Ut, S, ne, Ge, Be,
|
|
755
|
+
}, c = 0, W = 0, Re = 0, Nt, Ut, S, ne, Ge, Be, pe, Mt = 0, be = 0, Vt, ze, V, Q, to = [], Xe = {
|
|
755
756
|
type: "num"
|
|
756
757
|
}, xn = {
|
|
757
758
|
type: "regexp"
|
|
@@ -880,7 +881,7 @@ var I, Po = function(e) {
|
|
|
880
881
|
m: !0
|
|
881
882
|
}, Oe = {
|
|
882
883
|
type: "}"
|
|
883
|
-
},
|
|
884
|
+
}, de = {
|
|
884
885
|
type: "(",
|
|
885
886
|
m: !0
|
|
886
887
|
}, ue = {
|
|
@@ -888,7 +889,7 @@ var I, Po = function(e) {
|
|
|
888
889
|
}, ke = {
|
|
889
890
|
type: ",",
|
|
890
891
|
m: !0
|
|
891
|
-
},
|
|
892
|
+
}, he = {
|
|
892
893
|
type: ";",
|
|
893
894
|
m: !0
|
|
894
895
|
}, Ye = {
|
|
@@ -1002,7 +1003,7 @@ var or = {
|
|
|
1002
1003
|
VALUE_IN_DESCRIPTOR: !0
|
|
1003
1004
|
}, _e = {
|
|
1004
1005
|
REGEXP_TIMEOUT: !0
|
|
1005
|
-
}, sr = [],
|
|
1006
|
+
}, sr = [], me = null, nt = null, Se = typeof globalThis > "u" ? void 0 : globalThis, _o = ["onmessage = function(e) {", "var result;", "var data = e.data;", "switch (data[0]) {", "case 'split':", "result = data[1].split(data[2], data[3]);", "break;", "case 'match':", "result = data[1].match(data[2]);", "break;", "case 'search':", "result = data[1].search(data[2]);", "break;", "case 'replace':", "result = data[1].replace(data[2], data[3]);", "break;", "case 'exec':", "var regexp = data[1];", "regexp.lastIndex = data[2];", "result = [regexp.exec(data[3]), data[1].lastIndex];", "break;", "default:", "throw Error('Unknown RegExp operation: ' + data[0]);", "}", "postMessage(result);", "close();", "};"];
|
|
1006
1007
|
function hn(e) {
|
|
1007
1008
|
var t = e >>> 0;
|
|
1008
1009
|
return t === Number(e) ? t : NaN;
|
|
@@ -1151,17 +1152,17 @@ function Mo(e, t) {
|
|
|
1151
1152
|
}
|
|
1152
1153
|
var r = function(o) {
|
|
1153
1154
|
if (o == null)
|
|
1154
|
-
return
|
|
1155
|
+
return Ae(e) ? this : e.s(e.M);
|
|
1155
1156
|
if (!(o instanceof D)) {
|
|
1156
|
-
var i = e.s(
|
|
1157
|
+
var i = e.s(ye(e, o));
|
|
1157
1158
|
return i.data = o, i;
|
|
1158
1159
|
}
|
|
1159
1160
|
return o;
|
|
1160
1161
|
};
|
|
1161
1162
|
e.v = e.i(r, !0), e.g(e.v, "prototype", e.M, y), e.g(e.M, "constructor", e.v, y), e.g(t, "Object", e.v, y), r = function(o) {
|
|
1162
|
-
return n(o),
|
|
1163
|
+
return n(o), fe(e, Object.getOwnPropertyNames(o instanceof D ? o.h : o));
|
|
1163
1164
|
}, e.g(e.v, "getOwnPropertyNames", e.i(r, !1), y), r = function(o) {
|
|
1164
|
-
return n(o), o instanceof D && (o = o.h),
|
|
1165
|
+
return n(o), o instanceof D && (o = o.h), fe(e, Object.keys(o));
|
|
1165
1166
|
}, e.g(e.v, "keys", e.i(r, !1), y), r = function(o) {
|
|
1166
1167
|
return o === null ? e.s(null) : (o instanceof D || b(e, e.j, "Object prototype may only be an Object or null, not " + o), e.s(o));
|
|
1167
1168
|
}, e.g(e.v, "create", e.i(r, !1), y), e.ba.push("(function() {", "var create_ = Object.create;", "Object.create = function create(proto, props) {", "var obj = create_(proto);", "props && Object.defineProperties(obj, props);", "return obj;", "};", "})();", ""), r = function(o, i, u) {
|
|
@@ -1172,7 +1173,7 @@ function Mo(e, t) {
|
|
|
1172
1173
|
return o = o.Y[i], i = e.s(e.M), p || o ? (e.g(i, "get", p), e.g(i, "set", o)) : (e.g(i, "value", u.value), e.g(i, "writable", u.writable)), e.g(i, "configurable", u.configurable), e.g(i, "enumerable", u.enumerable), i;
|
|
1173
1174
|
}
|
|
1174
1175
|
}, e.g(e.v, "getOwnPropertyDescriptor", e.i(r, !1), y), r = function(o) {
|
|
1175
|
-
return n(o),
|
|
1176
|
+
return n(o), ye(e, o);
|
|
1176
1177
|
}, e.g(e.v, "getPrototypeOf", e.i(r, !1), y), r = function(o) {
|
|
1177
1178
|
return !!o && !o.preventExtensions;
|
|
1178
1179
|
}, e.g(e.v, "isExtensible", e.i(r, !1), y), r = function(o) {
|
|
@@ -1183,7 +1184,7 @@ function Mo(e, t) {
|
|
|
1183
1184
|
return n(this), this instanceof D ? Object.prototype.propertyIsEnumerable.call(this.h, o) : this.propertyIsEnumerable(o);
|
|
1184
1185
|
}, K(e, e.v, "propertyIsEnumerable", r), r = function(o) {
|
|
1185
1186
|
for (; ; ) {
|
|
1186
|
-
if (o =
|
|
1187
|
+
if (o = ye(e, o), !o)
|
|
1187
1188
|
return !1;
|
|
1188
1189
|
if (o === this)
|
|
1189
1190
|
return !0;
|
|
@@ -1192,7 +1193,7 @@ function Mo(e, t) {
|
|
|
1192
1193
|
}
|
|
1193
1194
|
function Vo(e, t) {
|
|
1194
1195
|
var n = function(r) {
|
|
1195
|
-
var o =
|
|
1196
|
+
var o = Ae(e) ? this : Ue(e), i = arguments[0];
|
|
1196
1197
|
if (arguments.length === 1 && typeof i == "number")
|
|
1197
1198
|
isNaN(hn(i)) && b(e, e.ob, "Invalid array length: " + i), o.h.length = i;
|
|
1198
1199
|
else {
|
|
@@ -1212,7 +1213,7 @@ function Vo(e, t) {
|
|
|
1212
1213
|
}
|
|
1213
1214
|
function Lo(e, t) {
|
|
1214
1215
|
var n = function(r) {
|
|
1215
|
-
return r = arguments.length ? Se.String(r) : "",
|
|
1216
|
+
return r = arguments.length ? Se.String(r) : "", Ae(e) ? (this.data = r, this) : r;
|
|
1216
1217
|
};
|
|
1217
1218
|
for (e.J = e.i(n, !0), e.g(t, "String", e.J, y), e.g(e.J, "fromCharCode", e.i(String.fromCharCode, !1), y), t = "charAt charCodeAt concat indexOf lastIndexOf slice substr substring toLocaleLowerCase toLocaleUpperCase toLowerCase toUpperCase trim".split(" "), n = 0; n < t.length; n++)
|
|
1218
1219
|
K(e, e.J, t[n], String.prototype[t[n]]);
|
|
@@ -1226,41 +1227,41 @@ function Lo(e, t) {
|
|
|
1226
1227
|
}, K(e, e.J, "localeCompare", n), n = function(r, o, i) {
|
|
1227
1228
|
var u = String(this);
|
|
1228
1229
|
if (o = o ? Number(o) : void 0, z(e, r, e.I) && (r = r.data, Qe(e, r, i), e.REGEXP_MODE === 2)) {
|
|
1229
|
-
if (
|
|
1230
|
+
if (me)
|
|
1230
1231
|
r = Ze(e, "string.split(separator, limit)", {
|
|
1231
1232
|
string: u,
|
|
1232
1233
|
separator: r,
|
|
1233
1234
|
limit: o
|
|
1234
|
-
}, r, i), r !== _e && i(
|
|
1235
|
+
}, r, i), r !== _e && i(fe(e, r));
|
|
1235
1236
|
else {
|
|
1236
1237
|
var p = e.ha(), h = et(e, r, p, i);
|
|
1237
1238
|
p.onmessage = function(m) {
|
|
1238
|
-
clearTimeout(h), i(
|
|
1239
|
+
clearTimeout(h), i(fe(e, m.data));
|
|
1239
1240
|
}, p.postMessage(["split", u, r, o]);
|
|
1240
1241
|
}
|
|
1241
1242
|
return;
|
|
1242
1243
|
}
|
|
1243
|
-
r = u.split(r, o), i(
|
|
1244
|
+
r = u.split(r, o), i(fe(e, r));
|
|
1244
1245
|
}, tt(e, e.J, "split", n), n = function(r, o) {
|
|
1245
1246
|
var i = String(this);
|
|
1246
1247
|
if (r = z(e, r, e.I) ? r.data : new RegExp(r), Qe(e, r, o), e.REGEXP_MODE === 2)
|
|
1247
|
-
if (
|
|
1248
|
+
if (me)
|
|
1248
1249
|
r = Ze(e, "string.match(regexp)", {
|
|
1249
1250
|
string: i,
|
|
1250
1251
|
regexp: r
|
|
1251
|
-
}, r, o), r !== _e && o(r &&
|
|
1252
|
+
}, r, o), r !== _e && o(r && fe(e, r));
|
|
1252
1253
|
else {
|
|
1253
1254
|
var u = e.ha(), p = et(e, r, u, o);
|
|
1254
1255
|
u.onmessage = function(h) {
|
|
1255
|
-
clearTimeout(p), o(h.data &&
|
|
1256
|
+
clearTimeout(p), o(h.data && fe(e, h.data));
|
|
1256
1257
|
}, u.postMessage(["match", i, r]);
|
|
1257
1258
|
}
|
|
1258
1259
|
else
|
|
1259
|
-
r = i.match(r), o(r &&
|
|
1260
|
+
r = i.match(r), o(r && fe(e, r));
|
|
1260
1261
|
}, tt(e, e.J, "match", n), n = function(r, o) {
|
|
1261
1262
|
var i = String(this);
|
|
1262
1263
|
if (z(e, r, e.I) ? r = r.data : r = new RegExp(r), Qe(e, r, o), e.REGEXP_MODE === 2)
|
|
1263
|
-
if (
|
|
1264
|
+
if (me)
|
|
1264
1265
|
r = Ze(e, "string.search(regexp)", {
|
|
1265
1266
|
string: i,
|
|
1266
1267
|
regexp: r
|
|
@@ -1276,7 +1277,7 @@ function Lo(e, t) {
|
|
|
1276
1277
|
}, tt(e, e.J, "search", n), n = function(r, o, i) {
|
|
1277
1278
|
var u = String(this);
|
|
1278
1279
|
if (o = String(o), z(e, r, e.I) && (r = r.data, Qe(e, r, i), e.REGEXP_MODE === 2)) {
|
|
1279
|
-
if (
|
|
1280
|
+
if (me)
|
|
1280
1281
|
r = Ze(e, "string.replace(substr, newSubstr)", {
|
|
1281
1282
|
string: u,
|
|
1282
1283
|
substr: r,
|
|
@@ -1295,12 +1296,12 @@ function Lo(e, t) {
|
|
|
1295
1296
|
}
|
|
1296
1297
|
function Wo(e, t) {
|
|
1297
1298
|
e.mb = e.i(function(n) {
|
|
1298
|
-
return n = Se.Boolean(n),
|
|
1299
|
+
return n = Se.Boolean(n), Ae(e) ? (this.data = n, this) : n;
|
|
1299
1300
|
}, !0), e.g(t, "Boolean", e.mb, y);
|
|
1300
1301
|
}
|
|
1301
1302
|
function Ho(e, t) {
|
|
1302
1303
|
var n = function(r) {
|
|
1303
|
-
return r = arguments.length ? Se.Number(r) : 0,
|
|
1304
|
+
return r = arguments.length ? Se.Number(r) : 0, Ae(e) ? (this.data = r, this) : r;
|
|
1304
1305
|
};
|
|
1305
1306
|
for (e.aa = e.i(n, !0), e.g(t, "Number", e.aa, y), t = ["MAX_VALUE", "MIN_VALUE", "NaN", "NEGATIVE_INFINITY", "POSITIVE_INFINITY"], n = 0; n < t.length; n++)
|
|
1306
1307
|
e.g(e.aa, t[n], Number[t[n]], qe);
|
|
@@ -1339,7 +1340,7 @@ function Ho(e, t) {
|
|
|
1339
1340
|
}
|
|
1340
1341
|
function Ko(e, t) {
|
|
1341
1342
|
var n = function(o, i) {
|
|
1342
|
-
if (!
|
|
1343
|
+
if (!Ae(e))
|
|
1343
1344
|
return Se.Date();
|
|
1344
1345
|
var u = [null].concat(Array.from(arguments));
|
|
1345
1346
|
return this.data = new (Function.prototype.bind.apply(Se.Date, u))(), this;
|
|
@@ -1358,7 +1359,7 @@ function Ko(e, t) {
|
|
|
1358
1359
|
}
|
|
1359
1360
|
function Go(e, t) {
|
|
1360
1361
|
var n = function(r, o) {
|
|
1361
|
-
if (
|
|
1362
|
+
if (Ae(e))
|
|
1362
1363
|
var i = this;
|
|
1363
1364
|
else {
|
|
1364
1365
|
if (o === void 0 && z(e, r, e.I))
|
|
@@ -1376,14 +1377,14 @@ function Go(e, t) {
|
|
|
1376
1377
|
e.I = e.i(n, !0), e.Ma = e.I.h.prototype, e.g(t, "RegExp", e.I, y), e.g(e.I.h.prototype, "global", void 0, Z), e.g(e.I.h.prototype, "ignoreCase", void 0, Z), e.g(e.I.h.prototype, "multiline", void 0, Z), e.g(e.I.h.prototype, "source", "(?:)", Z), e.ba.push("Object.defineProperty(RegExp.prototype, 'test',", "{configurable: true, writable: true, value:", "function test(str) {", "return !!this.exec(str);", "}", "});"), n = function(r, o) {
|
|
1377
1378
|
function i(v) {
|
|
1378
1379
|
if (v) {
|
|
1379
|
-
var k =
|
|
1380
|
+
var k = fe(e, v);
|
|
1380
1381
|
return e.g(k, "index", v.index), e.g(k, "input", v.input), k;
|
|
1381
1382
|
}
|
|
1382
1383
|
return null;
|
|
1383
1384
|
}
|
|
1384
1385
|
var u = this.data;
|
|
1385
1386
|
if (r = String(r), u.lastIndex = Number(e.G(this, "lastIndex")), Qe(e, u, o), e.REGEXP_MODE === 2)
|
|
1386
|
-
if (
|
|
1387
|
+
if (me)
|
|
1387
1388
|
r = Ze(e, "regexp.exec(string)", {
|
|
1388
1389
|
string: r,
|
|
1389
1390
|
regexp: u
|
|
@@ -1401,13 +1402,13 @@ function Go(e, t) {
|
|
|
1401
1402
|
function zo(e, t) {
|
|
1402
1403
|
function n(r) {
|
|
1403
1404
|
var o = e.i(function(i) {
|
|
1404
|
-
var u =
|
|
1405
|
+
var u = Ae(e) ? this : e.Aa(o);
|
|
1405
1406
|
return un(e, u, i), u;
|
|
1406
1407
|
}, !0);
|
|
1407
1408
|
return e.g(o, "prototype", e.Aa(e.D), y), e.g(o.h.prototype, "name", r, y), e.g(t, r, o, y), o;
|
|
1408
1409
|
}
|
|
1409
1410
|
e.D = e.i(function(r) {
|
|
1410
|
-
var o =
|
|
1411
|
+
var o = Ae(e) ? this : e.Aa(e.D);
|
|
1411
1412
|
return un(e, o, r), o;
|
|
1412
1413
|
}, !0), e.g(t, "Error", e.D, y), e.g(e.D.h.prototype, "message", "", y), e.g(e.D.h.prototype, "name", "Error", y), n("EvalError"), e.ob = n("RangeError"), e.pb = n("ReferenceError"), e.T = n("SyntaxError"), e.j = n("TypeError"), e.Gb = n("URIError");
|
|
1413
1414
|
}
|
|
@@ -1446,7 +1447,7 @@ function z(e, t, n) {
|
|
|
1446
1447
|
return !1;
|
|
1447
1448
|
if (n = n.h.prototype, t === n)
|
|
1448
1449
|
return !0;
|
|
1449
|
-
for (t =
|
|
1450
|
+
for (t = ye(e, t); t; ) {
|
|
1450
1451
|
if (t === n)
|
|
1451
1452
|
return !0;
|
|
1452
1453
|
t = t.xa;
|
|
@@ -1485,7 +1486,7 @@ function Ze(e, t, n, r, o) {
|
|
|
1485
1486
|
timeout: e.REGEXP_THREAD_TIMEOUT
|
|
1486
1487
|
};
|
|
1487
1488
|
try {
|
|
1488
|
-
return
|
|
1489
|
+
return me.runInNewContext(t, n, i);
|
|
1489
1490
|
} catch {
|
|
1490
1491
|
o(null), b(e, e.D, "RegExp Timeout: " + r);
|
|
1491
1492
|
}
|
|
@@ -1496,16 +1497,16 @@ function Qe(e, t, n) {
|
|
|
1496
1497
|
var r = !1;
|
|
1497
1498
|
else if (e.REGEXP_MODE === 1)
|
|
1498
1499
|
r = !0;
|
|
1499
|
-
else if (
|
|
1500
|
+
else if (me)
|
|
1500
1501
|
r = !0;
|
|
1501
1502
|
else if (typeof Worker == "function" && typeof URL == "function")
|
|
1502
1503
|
r = !0;
|
|
1503
1504
|
else if (typeof require == "function") {
|
|
1504
1505
|
try {
|
|
1505
|
-
|
|
1506
|
+
me = require("vm");
|
|
1506
1507
|
} catch {
|
|
1507
1508
|
}
|
|
1508
|
-
r = !!
|
|
1509
|
+
r = !!me;
|
|
1509
1510
|
} else
|
|
1510
1511
|
r = !1;
|
|
1511
1512
|
r || (n(null), b(e, e.D, "Regular expressions not supported: " + t));
|
|
@@ -1611,7 +1612,7 @@ I.R = function(e, t) {
|
|
|
1611
1612
|
});
|
|
1612
1613
|
return t.hb.pop(), t.Sa.pop(), n;
|
|
1613
1614
|
};
|
|
1614
|
-
function
|
|
1615
|
+
function fe(e, t) {
|
|
1615
1616
|
for (var n = Ue(e), r = Object.getOwnPropertyNames(t), o = 0; o < r.length; o++)
|
|
1616
1617
|
e.g(n, r[o], t[r[o]]);
|
|
1617
1618
|
return n;
|
|
@@ -1622,7 +1623,7 @@ function Dr(e, t) {
|
|
|
1622
1623
|
n[r] = e.G(t, r);
|
|
1623
1624
|
return n.length = hn(e.G(t, "length")) || 0, n;
|
|
1624
1625
|
}
|
|
1625
|
-
function
|
|
1626
|
+
function ye(e, t) {
|
|
1626
1627
|
switch (typeof t) {
|
|
1627
1628
|
case "number":
|
|
1628
1629
|
return e.aa.h.prototype;
|
|
@@ -1649,7 +1650,7 @@ I.G = function(e, t) {
|
|
|
1649
1650
|
do
|
|
1650
1651
|
if (e.h && t in e.h)
|
|
1651
1652
|
return (n = e.V[t]) ? (this.P = !0, n) : e.h[t];
|
|
1652
|
-
while (e =
|
|
1653
|
+
while (e = ye(this, e));
|
|
1653
1654
|
};
|
|
1654
1655
|
function Bt(e, t, n) {
|
|
1655
1656
|
if (!(t instanceof D))
|
|
@@ -1664,7 +1665,7 @@ function Bt(e, t, n) {
|
|
|
1664
1665
|
do
|
|
1665
1666
|
if (t.h && n in t.h)
|
|
1666
1667
|
return !0;
|
|
1667
|
-
while (t =
|
|
1668
|
+
while (t = ye(e, t));
|
|
1668
1669
|
return !1;
|
|
1669
1670
|
}
|
|
1670
1671
|
I.g = function(e, t, n, r) {
|
|
@@ -1709,7 +1710,7 @@ I.g = function(e, t, n, r) {
|
|
|
1709
1710
|
if (n === it)
|
|
1710
1711
|
throw ReferenceError("Value not specified");
|
|
1711
1712
|
for (r = e; !(t in r.h); )
|
|
1712
|
-
if (r =
|
|
1713
|
+
if (r = ye(this, r), !r) {
|
|
1713
1714
|
r = e;
|
|
1714
1715
|
break;
|
|
1715
1716
|
}
|
|
@@ -1836,7 +1837,7 @@ function st(e, t, n) {
|
|
|
1836
1837
|
r[u] === !0 ? e.g(n.object, u, void 0, ir) : e.g(n.object, u, gn(e, r[u], n), ir);
|
|
1837
1838
|
return r;
|
|
1838
1839
|
}
|
|
1839
|
-
function
|
|
1840
|
+
function Ae(e) {
|
|
1840
1841
|
return e.o[e.o.length - 1].isConstructor;
|
|
1841
1842
|
}
|
|
1842
1843
|
function Cn(e, t) {
|
|
@@ -1968,7 +1969,7 @@ function kn(e, t, n, r) {
|
|
|
1968
1969
|
return o.type = "CallExpression", e = new A(o, e.o[e.o.length - 1].scope), e.ia = 2, e.B = n, e.U = t, e.Qa = !0, e.F = [r], e;
|
|
1969
1970
|
}
|
|
1970
1971
|
function en(e, t) {
|
|
1971
|
-
return t == null ? e.Na : t instanceof D ? t : (e = e.s(
|
|
1972
|
+
return t == null ? e.Na : t instanceof D ? t : (e = e.s(ye(e, t)), e.data = t, e);
|
|
1972
1973
|
}
|
|
1973
1974
|
I.Xb = function() {
|
|
1974
1975
|
return this.N;
|
|
@@ -2325,7 +2326,7 @@ f.prototype.stepForInStatement = function(e, t, n) {
|
|
|
2325
2326
|
break e;
|
|
2326
2327
|
}
|
|
2327
2328
|
}
|
|
2328
|
-
if (t.u =
|
|
2329
|
+
if (t.u = ye(this, t.u), t.wa = null, t.u === null) {
|
|
2329
2330
|
e.pop();
|
|
2330
2331
|
return;
|
|
2331
2332
|
}
|
|
@@ -2800,17 +2801,17 @@ const ni = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
|
|
|
2800
2801
|
"Error while attempting to dynamically import component BlockStyles at ./components/block-styles.vue",
|
|
2801
2802
|
e
|
|
2802
2803
|
), e;
|
|
2803
|
-
}), ui = () => import("./block-wrapper.
|
|
2804
|
+
}), ui = () => import("./block-wrapper.6ce0ef67.js").then((e) => e.default).catch((e) => {
|
|
2804
2805
|
throw console.error(
|
|
2805
2806
|
"Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
|
|
2806
2807
|
e
|
|
2807
2808
|
), e;
|
|
2808
|
-
}), ai = () => import("./component-ref.
|
|
2809
|
+
}), ai = () => import("./component-ref.6603a2a5.js").then((e) => e.default).catch((e) => {
|
|
2809
2810
|
throw console.error(
|
|
2810
2811
|
"Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
|
|
2811
2812
|
e
|
|
2812
2813
|
), e;
|
|
2813
|
-
}), li = () => import("./repeated-block.
|
|
2814
|
+
}), li = () => import("./repeated-block.3cdac290.js").then((e) => e.default).catch((e) => {
|
|
2814
2815
|
throw console.error(
|
|
2815
2816
|
"Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
|
|
2816
2817
|
e
|
|
@@ -2950,7 +2951,7 @@ function pi(e, t, n, r, o, i) {
|
|
|
2950
2951
|
], 64))
|
|
2951
2952
|
], 64)) : P("v-if", !0);
|
|
2952
2953
|
}
|
|
2953
|
-
const Rr = /* @__PURE__ */ N(ci, [["render", pi], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/block/block.vue"]]),
|
|
2954
|
+
const Rr = /* @__PURE__ */ N(ci, [["render", pi], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/components/block/block.vue"]]), Lu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2954
2955
|
__proto__: null,
|
|
2955
2956
|
default: Rr
|
|
2956
2957
|
}, Symbol.toStringTag, { value: "Module" })), jr = {
|
|
@@ -3005,7 +3006,7 @@ const Rr = /* @__PURE__ */ N(ci, [["render", pi], ["__file", "/home/runner/work/
|
|
|
3005
3006
|
components: { InlinedStyles: Dt },
|
|
3006
3007
|
props: ["block", "context"],
|
|
3007
3008
|
data() {
|
|
3008
|
-
return { TARGET:
|
|
3009
|
+
return { TARGET: ae };
|
|
3009
3010
|
},
|
|
3010
3011
|
computed: {
|
|
3011
3012
|
canShowBlock() {
|
|
@@ -3017,7 +3018,7 @@ const Rr = /* @__PURE__ */ N(ci, [["render", pi], ["__file", "/home/runner/work/
|
|
|
3017
3018
|
context: this.context.context,
|
|
3018
3019
|
shouldEvaluateBindings: !0
|
|
3019
3020
|
});
|
|
3020
|
-
return
|
|
3021
|
+
return ve(e.hide) ? !e.hide : ve(e.show) ? e.show : !0;
|
|
3021
3022
|
},
|
|
3022
3023
|
css() {
|
|
3023
3024
|
var k;
|
|
@@ -3077,7 +3078,7 @@ const $r = /* @__PURE__ */ N(hi, [["render", fi], ["__file", "/home/runner/work/
|
|
|
3077
3078
|
methods: {
|
|
3078
3079
|
onClick() {
|
|
3079
3080
|
var e, t;
|
|
3080
|
-
|
|
3081
|
+
ge() && !((e = this.blocks) != null && e.length) && ((t = window.parent) == null || t.postMessage(
|
|
3081
3082
|
{
|
|
3082
3083
|
type: "builder.clickEmptyBlocks",
|
|
3083
3084
|
data: {
|
|
@@ -3090,7 +3091,7 @@ const $r = /* @__PURE__ */ N(hi, [["render", fi], ["__file", "/home/runner/work/
|
|
|
3090
3091
|
},
|
|
3091
3092
|
onMouseEnter() {
|
|
3092
3093
|
var e, t;
|
|
3093
|
-
|
|
3094
|
+
ge() && !((e = this.blocks) != null && e.length) && ((t = window.parent) == null || t.postMessage(
|
|
3094
3095
|
{
|
|
3095
3096
|
type: "builder.hoverEmptyBlocks",
|
|
3096
3097
|
data: {
|
|
@@ -3189,7 +3190,7 @@ const En = /* @__PURE__ */ N(Ci, [["render", bi], ["__file", "/home/runner/work/
|
|
|
3189
3190
|
cols: this.columns || [],
|
|
3190
3191
|
stackAt: this.stackColumnsAt || "tablet",
|
|
3191
3192
|
flexDir: this.stackColumnsAt === "never" ? "row" : this.reverseColumnsWhenStacked ? "column-reverse" : "column",
|
|
3192
|
-
TARGET:
|
|
3193
|
+
TARGET: ae
|
|
3193
3194
|
};
|
|
3194
3195
|
},
|
|
3195
3196
|
computed: {
|
|
@@ -3503,7 +3504,7 @@ const Ni = /* @__PURE__ */ N(Pi, [["render", _i], ["__file", "/home/runner/work/
|
|
|
3503
3504
|
ee.warn("[COOKIE] GET error: ", (r == null ? void 0 : r.message) || r);
|
|
3504
3505
|
return;
|
|
3505
3506
|
}
|
|
3506
|
-
}, _r = async (e) => Pr(e), Mi = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(
|
|
3507
|
+
}, _r = async (e) => Pr(e), Mi = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(ve).join("; "), Vi = [["secure", ""], ["SameSite", "None"]], Li = ({
|
|
3507
3508
|
name: e,
|
|
3508
3509
|
value: t,
|
|
3509
3510
|
expires: n
|
|
@@ -3545,7 +3546,7 @@ const Ni = /* @__PURE__ */ N(Pi, [["render", _i], ["__file", "/home/runner/work/
|
|
|
3545
3546
|
name: Sn(e),
|
|
3546
3547
|
value: t,
|
|
3547
3548
|
canTrack: !0
|
|
3548
|
-
}), Ur = (e) =>
|
|
3549
|
+
}), Ur = (e) => ve(e.id) && ve(e.variations) && Object.keys(e.variations).length > 0, zi = ({
|
|
3549
3550
|
id: e,
|
|
3550
3551
|
variations: t
|
|
3551
3552
|
}) => {
|
|
@@ -3621,7 +3622,7 @@ const Ni = /* @__PURE__ */ N(Pi, [["render", _i], ["__file", "/home/runner/work/
|
|
|
3621
3622
|
...e,
|
|
3622
3623
|
...o
|
|
3623
3624
|
};
|
|
3624
|
-
}, ut = (e) =>
|
|
3625
|
+
}, ut = (e) => ve(e) ? e : !0, Yi = {
|
|
3625
3626
|
name: "Core:Button",
|
|
3626
3627
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
|
|
3627
3628
|
defaultStyles: {
|
|
@@ -4137,7 +4138,7 @@ const ls = /* @__PURE__ */ N(ss, [["render", as], ["__file", "/home/runner/work/
|
|
|
4137
4138
|
"attributes"
|
|
4138
4139
|
],
|
|
4139
4140
|
data() {
|
|
4140
|
-
return { isEditing:
|
|
4141
|
+
return { isEditing: ge, filterAttrs: Ft };
|
|
4141
4142
|
}
|
|
4142
4143
|
}), fs = ["alt", "src"];
|
|
4143
4144
|
function ms(e, t, n, r, o, i) {
|
|
@@ -4593,7 +4594,7 @@ const Rs = /* @__PURE__ */ N(Fs, [["render", Ts], ["__file", "/home/runner/work/
|
|
|
4593
4594
|
})), Ns = ({
|
|
4594
4595
|
canTrack: e,
|
|
4595
4596
|
content: t
|
|
4596
|
-
}) => !(!(bt(t).length > 0) || !e), Us = (e) => e === "react" || e === "reactNative", Hr = Us(
|
|
4597
|
+
}) => !(!(bt(t).length > 0) || !e), Us = (e) => e === "react" || e === "reactNative", Hr = Us(ae), Ms = () => `
|
|
4597
4598
|
window.${Lr} = ${Ps}
|
|
4598
4599
|
window.${Wr} = ${_s}
|
|
4599
4600
|
`, Vs = (e, t) => `
|
|
@@ -4711,12 +4712,12 @@ async function xt(e) {
|
|
|
4711
4712
|
});
|
|
4712
4713
|
return t && t.results[0] || null;
|
|
4713
4714
|
}
|
|
4714
|
-
const
|
|
4715
|
+
const Wu = xt, qs = async (e) => {
|
|
4715
4716
|
const t = Fn(e);
|
|
4716
4717
|
return await (await Gr(t.href)).json();
|
|
4717
4718
|
}, Zs = async (e, t, n = Fn(e)) => {
|
|
4718
4719
|
const r = ut(e.canTrack);
|
|
4719
|
-
if (n.search.includes("preview="), !r || !(J() ||
|
|
4720
|
+
if (n.search.includes("preview="), !r || !(J() || ae === "reactNative"))
|
|
4720
4721
|
return t;
|
|
4721
4722
|
try {
|
|
4722
4723
|
const o = [];
|
|
@@ -4743,9 +4744,9 @@ async function Jr(e) {
|
|
|
4743
4744
|
return ee.error("Error fetching data. ", t), null;
|
|
4744
4745
|
}
|
|
4745
4746
|
}
|
|
4746
|
-
const
|
|
4747
|
+
const Hu = Jr;
|
|
4747
4748
|
function Qs() {
|
|
4748
|
-
return !J() ||
|
|
4749
|
+
return !J() || ge() ? !1 : Boolean(location.search.indexOf("builder.preview=") !== -1);
|
|
4749
4750
|
}
|
|
4750
4751
|
function eu() {
|
|
4751
4752
|
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
|
|
@@ -4765,7 +4766,7 @@ const qr = "builderSessionId", tu = async ({
|
|
|
4765
4766
|
name: qr,
|
|
4766
4767
|
canTrack: e
|
|
4767
4768
|
});
|
|
4768
|
-
if (
|
|
4769
|
+
if (ve(t))
|
|
4769
4770
|
return t;
|
|
4770
4771
|
{
|
|
4771
4772
|
const n = nu();
|
|
@@ -4812,7 +4813,7 @@ const qr = "builderSessionId", tu = async ({
|
|
|
4812
4813
|
key: Qr,
|
|
4813
4814
|
canTrack: e
|
|
4814
4815
|
});
|
|
4815
|
-
if (
|
|
4816
|
+
if (ve(t))
|
|
4816
4817
|
return t;
|
|
4817
4818
|
{
|
|
4818
4819
|
const n = uu();
|
|
@@ -4871,7 +4872,7 @@ async function cn(e) {
|
|
|
4871
4872
|
ee.error("Missing API key for track call. Please provide your API key.");
|
|
4872
4873
|
return;
|
|
4873
4874
|
}
|
|
4874
|
-
if (!!e.canTrack && !
|
|
4875
|
+
if (!!e.canTrack && !ge() && !!(J() || ae === "reactNative"))
|
|
4875
4876
|
return fetch("https://cdn.builder.io/api/v1/track", {
|
|
4876
4877
|
method: "POST",
|
|
4877
4878
|
body: JSON.stringify({
|
|
@@ -4885,7 +4886,7 @@ async function cn(e) {
|
|
|
4885
4886
|
console.error("Failed to track: ", t);
|
|
4886
4887
|
});
|
|
4887
4888
|
}
|
|
4888
|
-
const
|
|
4889
|
+
const Ku = (e) => cn({
|
|
4889
4890
|
...e,
|
|
4890
4891
|
canTrack: !0
|
|
4891
4892
|
});
|
|
@@ -4931,7 +4932,7 @@ const pu = (e, t, n = !0) => {
|
|
|
4931
4932
|
builderElementIndex: n && r ? [].slice.call(document.getElementsByClassName(r)).indexOf(n) : void 0
|
|
4932
4933
|
}
|
|
4933
4934
|
};
|
|
4934
|
-
}, fu = "0.
|
|
4935
|
+
}, fu = "0.8.0", vr = {};
|
|
4935
4936
|
function mu(e, t) {
|
|
4936
4937
|
let n = vr[e];
|
|
4937
4938
|
if (n || (n = vr[e] = []), n.push(t), J()) {
|
|
@@ -4978,7 +4979,7 @@ const yu = (e = {}) => {
|
|
|
4978
4979
|
Ar || (Ar = !0, J() && ((t = window.parent) == null || t.postMessage({
|
|
4979
4980
|
type: "builder.sdkInfo",
|
|
4980
4981
|
data: {
|
|
4981
|
-
target:
|
|
4982
|
+
target: ae,
|
|
4982
4983
|
version: fu,
|
|
4983
4984
|
supportsPatchUpdates: !1,
|
|
4984
4985
|
supportsAddBlockScoping: !0,
|
|
@@ -5063,7 +5064,7 @@ const yu = (e = {}) => {
|
|
|
5063
5064
|
(() => {
|
|
5064
5065
|
var n, r;
|
|
5065
5066
|
if (J()) {
|
|
5066
|
-
if (
|
|
5067
|
+
if (ge() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
|
|
5067
5068
|
new CustomEvent("initeditingbldr")
|
|
5068
5069
|
), this.builderContextSignal.content && ut(this.canTrack)) {
|
|
5069
5070
|
const i = (n = this.builderContextSignal.content) == null ? void 0 : n.testVariationId, u = (r = this.builderContextSignal.content) == null ? void 0 : r.id, p = this.apiKey;
|
|
@@ -5245,7 +5246,7 @@ const yu = (e = {}) => {
|
|
|
5245
5246
|
var t, n, r;
|
|
5246
5247
|
const e = (r = (n = (t = this.builderContextSignal.content) == null ? void 0 : t.data) == null ? void 0 : n.httpRequests) != null ? r : {};
|
|
5247
5248
|
Object.entries(e).forEach(([o, i]) => {
|
|
5248
|
-
if (i && (!this.httpReqsData[o] ||
|
|
5249
|
+
if (i && (!this.httpReqsData[o] || ge())) {
|
|
5249
5250
|
const u = this.evalExpression(i);
|
|
5250
5251
|
this.handleRequest({
|
|
5251
5252
|
url: u,
|
|
@@ -5255,7 +5256,7 @@ const yu = (e = {}) => {
|
|
|
5255
5256
|
});
|
|
5256
5257
|
},
|
|
5257
5258
|
emitStateUpdate() {
|
|
5258
|
-
|
|
5259
|
+
ge() && window.dispatchEvent(
|
|
5259
5260
|
new CustomEvent(
|
|
5260
5261
|
"builder:component:stateChange",
|
|
5261
5262
|
{
|
|
@@ -5504,7 +5505,7 @@ const Bu = /* @__PURE__ */ N(Fu, [["render", wu], ["__file", "/home/runner/work/
|
|
|
5504
5505
|
),
|
|
5505
5506
|
inheritedStyles: {}
|
|
5506
5507
|
},
|
|
5507
|
-
TARGET:
|
|
5508
|
+
TARGET: ae
|
|
5508
5509
|
};
|
|
5509
5510
|
},
|
|
5510
5511
|
provide() {
|
|
@@ -5585,7 +5586,7 @@ const ju = /* @__PURE__ */ N(Tu, [["render", Ru], ["__file", "/home/runner/work/
|
|
|
5585
5586
|
canTrack: ut(this.canTrack),
|
|
5586
5587
|
content: this.content
|
|
5587
5588
|
}),
|
|
5588
|
-
TARGET:
|
|
5589
|
+
TARGET: ae,
|
|
5589
5590
|
getScriptString: Ms,
|
|
5590
5591
|
getVariants: bt
|
|
5591
5592
|
};
|
|
@@ -5770,8 +5771,8 @@ function Nu(e, t, n, r, o, i) {
|
|
|
5770
5771
|
}, null, 8, ["apiVersion", "apiKey", "context", "customComponents", "data", "model", "content"])
|
|
5771
5772
|
], 16);
|
|
5772
5773
|
}
|
|
5773
|
-
const Uu = /* @__PURE__ */ N(_u, [["render", Nu], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/symbol/symbol.vue"]]),
|
|
5774
|
-
function
|
|
5774
|
+
const Uu = /* @__PURE__ */ N(_u, [["render", Nu], ["__file", "/home/runner/work/builder/builder/packages/sdks/output/vue/vue3/src/blocks/symbol/symbol.vue"]]), Gu = En, zu = eo, Cr = {};
|
|
5775
|
+
function Xu(e) {
|
|
5775
5776
|
if (J()) {
|
|
5776
5777
|
Object.assign(Cr, e);
|
|
5777
5778
|
const t = {
|
|
@@ -5781,7 +5782,7 @@ function zu(e) {
|
|
|
5781
5782
|
parent.postMessage(t, "*");
|
|
5782
5783
|
}
|
|
5783
5784
|
}
|
|
5784
|
-
const
|
|
5785
|
+
const Ju = async (e) => {
|
|
5785
5786
|
var r, o, i;
|
|
5786
5787
|
const t = e.path || ((r = e.url) == null ? void 0 : r.pathname) || ((o = e.userAttributes) == null ? void 0 : o.urlPath), n = {
|
|
5787
5788
|
...e,
|
|
@@ -5806,9 +5807,9 @@ export {
|
|
|
5806
5807
|
eo as C,
|
|
5807
5808
|
Bi as F,
|
|
5808
5809
|
$i as I,
|
|
5809
|
-
|
|
5810
|
+
Gu as R,
|
|
5810
5811
|
Ni as S,
|
|
5811
|
-
|
|
5812
|
+
ae as T,
|
|
5812
5813
|
Rs as V,
|
|
5813
5814
|
N as _,
|
|
5814
5815
|
$r as a,
|
|
@@ -5816,24 +5817,24 @@ export {
|
|
|
5816
5817
|
Bo as c,
|
|
5817
5818
|
En as d,
|
|
5818
5819
|
Et as e,
|
|
5819
|
-
|
|
5820
|
+
zu as f,
|
|
5820
5821
|
ko as g,
|
|
5821
5822
|
Si as h,
|
|
5822
5823
|
Uu as i,
|
|
5823
5824
|
Es as j,
|
|
5824
|
-
|
|
5825
|
+
ge as k,
|
|
5825
5826
|
Qs as l,
|
|
5826
5827
|
js as m,
|
|
5827
5828
|
Zs as n,
|
|
5828
5829
|
Jr as o,
|
|
5829
5830
|
xt as p,
|
|
5830
|
-
|
|
5831
|
+
Hu as q,
|
|
5831
5832
|
mu as r,
|
|
5832
|
-
|
|
5833
|
-
|
|
5833
|
+
Xu as s,
|
|
5834
|
+
Wu as t,
|
|
5834
5835
|
zr as u,
|
|
5835
|
-
|
|
5836
|
+
Ku as v,
|
|
5836
5837
|
Iu as w,
|
|
5837
|
-
|
|
5838
|
-
|
|
5838
|
+
Ju as x,
|
|
5839
|
+
Lu as y
|
|
5839
5840
|
};
|