@builder.io/sdk-vue 1.0.19 → 1.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/browser/{block-styles-qEzB1AE4.js → block-styles-2lYNYVH3.js} +1 -1
- package/lib/browser/{block-styles-h0NwSSoD.cjs → block-styles-y6pFfJz3.cjs} +1 -1
- package/lib/browser/{block-wrapper-74EOWuCY.js → block-wrapper-a1zxMruE.js} +3 -3
- package/lib/browser/{block-wrapper-cY3VTwbu.cjs → block-wrapper-mlbE709c.cjs} +1 -1
- package/lib/browser/blocks/button/button.types.d.ts +1 -1
- package/lib/browser/blocks/button/button.vue.d.ts +1 -1
- package/lib/browser/blocks/button/component-info.d.ts +1 -1
- package/lib/browser/blocks/columns/columns.types.d.ts +2 -2
- package/lib/browser/blocks/columns/columns.vue.d.ts +3 -3
- package/lib/browser/blocks/columns/component-info.d.ts +1 -1
- package/lib/browser/blocks/custom-code/component-info.d.ts +1 -1
- package/lib/browser/blocks/embed/component-info.d.ts +1 -1
- package/lib/browser/blocks/form/form/component-info.d.ts +1 -1
- package/lib/browser/blocks/form/form/form.vue.d.ts +4 -7
- package/lib/browser/blocks/form/input/component-info.d.ts +1 -1
- package/lib/browser/blocks/form/input/input.vue.d.ts +2 -2
- package/lib/browser/blocks/form/select/component-info.d.ts +1 -1
- package/lib/browser/blocks/form/select/select.vue.d.ts +2 -2
- package/lib/browser/blocks/form/submit-button/component-info.d.ts +1 -1
- package/lib/browser/blocks/form/submit-button/submit-button.vue.d.ts +1 -1
- package/lib/browser/blocks/fragment/component-info.d.ts +1 -1
- package/lib/browser/blocks/image/component-info.d.ts +1 -1
- package/lib/browser/blocks/image/image.types.d.ts +1 -1
- package/lib/browser/blocks/img/component-info.d.ts +1 -1
- package/lib/browser/blocks/img/img.vue.d.ts +2 -2
- package/lib/browser/blocks/raw-text/component-info.d.ts +1 -1
- package/lib/browser/blocks/section/component-info.d.ts +1 -1
- package/lib/browser/blocks/section/section.vue.d.ts +1 -1
- package/lib/browser/blocks/slot/component-info.d.ts +1 -1
- package/lib/browser/blocks/slot/slot.vue.d.ts +1 -4
- package/lib/browser/blocks/symbol/component-info.d.ts +1 -1
- package/lib/browser/blocks/symbol/symbol.helpers.d.ts +2 -2
- package/lib/browser/blocks/symbol/symbol.types.d.ts +2 -2
- package/lib/browser/blocks/symbol/symbol.vue.d.ts +1 -1
- package/lib/browser/blocks/text/component-info.d.ts +1 -1
- package/lib/browser/blocks/textarea/component-info.d.ts +1 -1
- package/lib/browser/blocks/video/component-info.d.ts +1 -1
- package/lib/browser/blocks/video/video.types.d.ts +1 -1
- package/lib/browser/{component-ref-LM6x3Bcl.js → component-ref-5K3RMLKh.js} +2 -2
- package/lib/browser/{component-ref-Q1s_RePh.cjs → component-ref-mNbBuzhy.cjs} +1 -1
- package/lib/browser/components/block/animator.d.ts +1 -1
- package/lib/browser/components/block/block.helpers.d.ts +4 -4
- package/lib/browser/components/block/block.vue.d.ts +4 -4
- package/lib/browser/components/block/components/block-styles.vue.d.ts +3 -3
- package/lib/browser/components/block/components/block-wrapper.vue.d.ts +2 -2
- package/lib/browser/components/block/components/component-ref/component-ref.helpers.d.ts +3 -3
- package/lib/browser/components/block/components/component-ref/component-ref.vue.d.ts +4 -4
- package/lib/browser/components/block/components/interactive-element.vue.d.ts +5 -5
- package/lib/browser/components/block/types.d.ts +2 -2
- package/lib/browser/components/blocks/blocks-wrapper.vue.d.ts +4 -4
- package/lib/browser/components/blocks/blocks.types.d.ts +1 -1
- package/lib/browser/components/content/components/enable-editor.vue.d.ts +11 -11
- package/lib/browser/components/content/content.helpers.d.ts +3 -3
- package/lib/browser/components/content/content.types.d.ts +2 -2
- package/lib/browser/components/content/content.vue.d.ts +14 -14
- package/lib/browser/components/content/contentProps.types.d.ts +1 -1
- package/lib/browser/components/content-variants/content-variants.types.d.ts +4 -4
- package/lib/browser/components/content-variants/content-variants.vue.d.ts +14 -14
- package/lib/browser/components/content-variants/helpers.d.ts +5 -5
- package/lib/browser/components/dynamic-renderer/dynamic-renderer.vue.d.ts +3 -3
- package/lib/browser/constants/builder-registered-components.d.ts +1 -1
- package/lib/browser/constants/extra-components.d.ts +1 -1
- package/lib/browser/constants/sdk-version.d.ts +1 -1
- package/lib/browser/constants/target.d.ts +1 -1
- package/lib/browser/context/index.d.ts +1 -1
- package/lib/browser/context/types.d.ts +4 -4
- package/lib/browser/functions/evaluate/browser-runtime/browser.d.ts +2 -2
- package/lib/browser/functions/evaluate/browser-runtime/index.d.ts +1 -1
- package/lib/browser/functions/evaluate/choose-eval.d.ts +1 -1
- package/lib/browser/functions/evaluate/edge-runtime/edge-runtime.d.ts +1 -1
- package/lib/browser/functions/evaluate/edge-runtime/index.d.ts +1 -1
- package/lib/browser/functions/evaluate/evaluate.d.ts +1 -1
- package/lib/browser/functions/evaluate/helpers.d.ts +3 -3
- package/lib/browser/functions/evaluate/index.d.ts +1 -1
- package/lib/browser/functions/evaluate/node-runtime/index.d.ts +1 -1
- package/lib/browser/functions/evaluate/node-runtime/init.d.ts +10 -0
- package/lib/browser/functions/evaluate/node-runtime/node-runtime.d.ts +7 -1
- package/lib/browser/functions/evaluate/placeholder-runtime.d.ts +1 -1
- package/lib/browser/functions/fetch-builder-props.d.ts +3 -3
- package/lib/browser/functions/get-block-actions-handler.d.ts +2 -2
- package/lib/browser/functions/get-block-actions.d.ts +2 -2
- package/lib/browser/functions/get-block-component-options.d.ts +1 -1
- package/lib/browser/functions/get-block-properties.d.ts +2 -2
- package/lib/browser/functions/get-builder-search-params/index.d.ts +1 -1
- package/lib/browser/functions/get-content/generate-content-url.d.ts +1 -1
- package/lib/browser/functions/get-content/index.d.ts +2 -2
- package/lib/browser/functions/get-content/types.d.ts +139 -0
- package/lib/browser/functions/get-processed-block.d.ts +2 -2
- package/lib/browser/functions/get-style.d.ts +2 -2
- package/lib/browser/functions/is-editing.d.ts +1 -1
- package/lib/browser/functions/is-previewing.d.ts +1 -1
- package/lib/browser/functions/register-component.d.ts +1 -1
- package/lib/browser/functions/register.d.ts +2 -2
- package/lib/browser/functions/track/index.d.ts +2 -2
- package/lib/browser/functions/transform-block-properties.d.ts +2 -2
- package/lib/browser/functions/transform-block.d.ts +1 -1
- package/lib/browser/functions/transform-style-property.d.ts +2 -2
- package/lib/browser/{get-block-properties-JqO02Pvj.js → get-block-properties-4MopDiTP.js} +1 -1
- package/lib/browser/{get-block-properties-3XNUCHH5.cjs → get-block-properties-PuGrG7pm.cjs} +1 -1
- package/lib/browser/helpers/ab-tests.d.ts +3 -3
- package/lib/browser/helpers/cookie.d.ts +1 -1
- package/lib/browser/helpers/localStorage.d.ts +2 -2
- package/lib/browser/helpers/logger.d.ts +1 -0
- package/lib/browser/helpers/preview-lru-cache/get.d.ts +1 -1
- package/lib/browser/helpers/preview-lru-cache/set.d.ts +1 -1
- package/lib/browser/helpers/sessionId.d.ts +1 -1
- package/lib/browser/helpers/subscribe-to-editor.d.ts +3 -3
- package/lib/browser/helpers/visitorId.d.ts +1 -1
- package/lib/browser/{index-boTk8cd2.cjs → index-OSGu6alT.cjs} +5 -5
- package/lib/browser/index-helpers/blocks-exports.d.ts +11 -11
- package/lib/browser/{index-cWs7iJKE.js → index-mwZzSIN7.js} +51 -52
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.d.cts +3 -3
- package/lib/browser/index.d.mts +3 -3
- package/lib/browser/index.js +1 -1
- package/lib/browser/{repeated-block-w8LmwHBS.cjs → repeated-block-VP4euR8a.cjs} +1 -1
- package/lib/browser/{repeated-block-2XTmcIT3.js → repeated-block-hUFMTXXS.js} +2 -2
- package/lib/browser/server-index.d.ts +27 -27
- package/lib/browser/style.css +1 -1
- package/lib/browser/types/builder-content.d.ts +3 -3
- package/lib/browser/types/builder-props.d.ts +2 -2
- package/lib/browser/types/components.d.ts +2 -2
- package/lib/edge/{block-styles-DY4QgHPp.cjs → block-styles-_eYB_Fxz.cjs} +1 -1
- package/lib/{node/block-styles-0bjSdiE1.js → edge/block-styles-nhMA9R4s.js} +1 -1
- package/lib/{node/block-wrapper-l6jhviaq.cjs → edge/block-wrapper-4RaFHsBw.cjs} +1 -1
- package/lib/edge/{block-wrapper-MB2DAb22.js → block-wrapper-xgShkhuq.js} +3 -3
- package/lib/edge/blocks/button/button.types.d.ts +1 -1
- package/lib/edge/blocks/button/button.vue.d.ts +1 -1
- package/lib/edge/blocks/button/component-info.d.ts +1 -1
- package/lib/edge/blocks/columns/columns.types.d.ts +2 -2
- package/lib/edge/blocks/columns/columns.vue.d.ts +3 -3
- package/lib/edge/blocks/columns/component-info.d.ts +1 -1
- package/lib/edge/blocks/custom-code/component-info.d.ts +1 -1
- package/lib/edge/blocks/embed/component-info.d.ts +1 -1
- package/lib/edge/blocks/form/form/component-info.d.ts +1 -1
- package/lib/edge/blocks/form/form/form.vue.d.ts +4 -7
- package/lib/edge/blocks/form/input/component-info.d.ts +1 -1
- package/lib/edge/blocks/form/input/input.vue.d.ts +2 -2
- package/lib/edge/blocks/form/select/component-info.d.ts +1 -1
- package/lib/edge/blocks/form/select/select.vue.d.ts +2 -2
- package/lib/edge/blocks/form/submit-button/component-info.d.ts +1 -1
- package/lib/edge/blocks/form/submit-button/submit-button.vue.d.ts +1 -1
- package/lib/edge/blocks/fragment/component-info.d.ts +1 -1
- package/lib/edge/blocks/image/component-info.d.ts +1 -1
- package/lib/edge/blocks/image/image.types.d.ts +1 -1
- package/lib/edge/blocks/img/component-info.d.ts +1 -1
- package/lib/edge/blocks/img/img.vue.d.ts +2 -2
- package/lib/edge/blocks/raw-text/component-info.d.ts +1 -1
- package/lib/edge/blocks/section/component-info.d.ts +1 -1
- package/lib/edge/blocks/section/section.vue.d.ts +1 -1
- package/lib/edge/blocks/slot/component-info.d.ts +1 -1
- package/lib/edge/blocks/slot/slot.vue.d.ts +1 -4
- package/lib/edge/blocks/symbol/component-info.d.ts +1 -1
- package/lib/edge/blocks/symbol/symbol.helpers.d.ts +2 -2
- package/lib/edge/blocks/symbol/symbol.types.d.ts +2 -2
- package/lib/edge/blocks/symbol/symbol.vue.d.ts +1 -1
- package/lib/edge/blocks/text/component-info.d.ts +1 -1
- package/lib/edge/blocks/textarea/component-info.d.ts +1 -1
- package/lib/edge/blocks/video/component-info.d.ts +1 -1
- package/lib/edge/blocks/video/video.types.d.ts +1 -1
- package/lib/{node/component-ref-_PZ_f7VE.cjs → edge/component-ref-KD6yANwg.cjs} +1 -1
- package/lib/{node/component-ref-hMFqpMd5.js → edge/component-ref-kGbDg8GR.js} +2 -2
- package/lib/edge/components/block/animator.d.ts +1 -1
- package/lib/edge/components/block/block.helpers.d.ts +4 -4
- package/lib/edge/components/block/block.vue.d.ts +4 -4
- package/lib/edge/components/block/components/block-styles.vue.d.ts +3 -3
- package/lib/edge/components/block/components/block-wrapper.vue.d.ts +2 -2
- package/lib/edge/components/block/components/component-ref/component-ref.helpers.d.ts +3 -3
- package/lib/edge/components/block/components/component-ref/component-ref.vue.d.ts +4 -4
- package/lib/edge/components/block/components/interactive-element.vue.d.ts +5 -5
- package/lib/edge/components/block/types.d.ts +2 -2
- package/lib/edge/components/blocks/blocks-wrapper.vue.d.ts +4 -4
- package/lib/edge/components/blocks/blocks.types.d.ts +1 -1
- package/lib/edge/components/content/components/enable-editor.vue.d.ts +11 -11
- package/lib/edge/components/content/content.helpers.d.ts +3 -3
- package/lib/edge/components/content/content.types.d.ts +2 -2
- package/lib/edge/components/content/content.vue.d.ts +14 -14
- package/lib/edge/components/content/contentProps.types.d.ts +1 -1
- package/lib/edge/components/content-variants/content-variants.types.d.ts +4 -4
- package/lib/edge/components/content-variants/content-variants.vue.d.ts +14 -14
- package/lib/edge/components/content-variants/helpers.d.ts +5 -5
- package/lib/edge/components/dynamic-renderer/dynamic-renderer.vue.d.ts +3 -3
- package/lib/edge/constants/builder-registered-components.d.ts +1 -1
- package/lib/edge/constants/extra-components.d.ts +1 -1
- package/lib/edge/constants/sdk-version.d.ts +1 -1
- package/lib/edge/constants/target.d.ts +1 -1
- package/lib/edge/context/index.d.ts +1 -1
- package/lib/edge/context/types.d.ts +4 -4
- package/lib/edge/functions/evaluate/browser-runtime/browser.d.ts +2 -2
- package/lib/edge/functions/evaluate/browser-runtime/index.d.ts +1 -1
- package/lib/edge/functions/evaluate/choose-eval.d.ts +1 -1
- package/lib/edge/functions/evaluate/edge-runtime/edge-runtime.d.ts +1 -1
- package/lib/edge/functions/evaluate/edge-runtime/index.d.ts +1 -1
- package/lib/edge/functions/evaluate/evaluate.d.ts +1 -1
- package/lib/edge/functions/evaluate/helpers.d.ts +3 -3
- package/lib/edge/functions/evaluate/index.d.ts +1 -1
- package/lib/edge/functions/evaluate/node-runtime/index.d.ts +1 -1
- package/lib/edge/functions/evaluate/node-runtime/init.d.ts +10 -0
- package/lib/edge/functions/evaluate/node-runtime/node-runtime.d.ts +7 -1
- package/lib/edge/functions/evaluate/placeholder-runtime.d.ts +1 -1
- package/lib/edge/functions/fetch-builder-props.d.ts +3 -3
- package/lib/edge/functions/get-block-actions-handler.d.ts +2 -2
- package/lib/edge/functions/get-block-actions.d.ts +2 -2
- package/lib/edge/functions/get-block-component-options.d.ts +1 -1
- package/lib/edge/functions/get-block-properties.d.ts +2 -2
- package/lib/edge/functions/get-builder-search-params/index.d.ts +1 -1
- package/lib/edge/functions/get-content/generate-content-url.d.ts +1 -1
- package/lib/edge/functions/get-content/index.d.ts +2 -2
- package/lib/edge/functions/get-content/types.d.ts +139 -0
- package/lib/edge/functions/get-processed-block.d.ts +2 -2
- package/lib/edge/functions/get-style.d.ts +2 -2
- package/lib/edge/functions/is-editing.d.ts +1 -1
- package/lib/edge/functions/is-previewing.d.ts +1 -1
- package/lib/edge/functions/register-component.d.ts +1 -1
- package/lib/edge/functions/register.d.ts +2 -2
- package/lib/edge/functions/track/index.d.ts +2 -2
- package/lib/edge/functions/transform-block-properties.d.ts +2 -2
- package/lib/edge/functions/transform-block.d.ts +1 -1
- package/lib/edge/functions/transform-style-property.d.ts +2 -2
- package/lib/edge/{get-block-properties-Db253d7J.cjs → get-block-properties-v6bf_R5d.cjs} +1 -1
- package/lib/{node/get-block-properties-ALDt-aYB.js → edge/get-block-properties-yFfbPH85.js} +1 -1
- package/lib/edge/helpers/ab-tests.d.ts +3 -3
- package/lib/edge/helpers/cookie.d.ts +1 -1
- package/lib/edge/helpers/localStorage.d.ts +2 -2
- package/lib/edge/helpers/logger.d.ts +1 -0
- package/lib/edge/helpers/preview-lru-cache/get.d.ts +1 -1
- package/lib/edge/helpers/preview-lru-cache/set.d.ts +1 -1
- package/lib/edge/helpers/sessionId.d.ts +1 -1
- package/lib/edge/helpers/subscribe-to-editor.d.ts +3 -3
- package/lib/edge/helpers/visitorId.d.ts +1 -1
- package/lib/edge/{index-EgsFYAAH.js → index-Ua4OW_gh.js} +129 -130
- package/lib/edge/index-helpers/blocks-exports.d.ts +11 -11
- package/lib/edge/{index-6jtmxcZK.cjs → index-xnWjf2tW.cjs} +5 -5
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.d.cts +3 -3
- package/lib/edge/index.d.mts +3 -3
- package/lib/edge/index.js +1 -1
- package/lib/edge/{repeated-block-v0Tdo6MH.cjs → repeated-block-qRyqdxjD.cjs} +1 -1
- package/lib/edge/{repeated-block-IASkNW44.js → repeated-block-uiPuS74Z.js} +2 -2
- package/lib/edge/server-index.d.ts +27 -27
- package/lib/edge/style.css +1 -1
- package/lib/edge/types/builder-content.d.ts +3 -3
- package/lib/edge/types/builder-props.d.ts +2 -2
- package/lib/edge/types/components.d.ts +2 -2
- package/lib/node/{block-styles-hsIt6cz9.cjs → block-styles-h0iWFk09.cjs} +1 -1
- package/lib/{edge/block-styles-V1jE4Apg.js → node/block-styles-rz8jpORX.js} +1 -1
- package/lib/node/{block-wrapper-4eUteNjO.js → block-wrapper--vej-Ae6.js} +3 -3
- package/lib/{edge/block-wrapper-id_fLCFD.cjs → node/block-wrapper-bGeMckW5.cjs} +1 -1
- package/lib/node/blocks/button/button.types.d.ts +1 -1
- package/lib/node/blocks/button/button.vue.d.ts +1 -1
- package/lib/node/blocks/button/component-info.d.ts +1 -1
- package/lib/node/blocks/columns/columns.types.d.ts +2 -2
- package/lib/node/blocks/columns/columns.vue.d.ts +3 -3
- package/lib/node/blocks/columns/component-info.d.ts +1 -1
- package/lib/node/blocks/custom-code/component-info.d.ts +1 -1
- package/lib/node/blocks/embed/component-info.d.ts +1 -1
- package/lib/node/blocks/form/form/component-info.d.ts +1 -1
- package/lib/node/blocks/form/form/form.vue.d.ts +4 -7
- package/lib/node/blocks/form/input/component-info.d.ts +1 -1
- package/lib/node/blocks/form/input/input.vue.d.ts +2 -2
- package/lib/node/blocks/form/select/component-info.d.ts +1 -1
- package/lib/node/blocks/form/select/select.vue.d.ts +2 -2
- package/lib/node/blocks/form/submit-button/component-info.d.ts +1 -1
- package/lib/node/blocks/form/submit-button/submit-button.vue.d.ts +1 -1
- package/lib/node/blocks/fragment/component-info.d.ts +1 -1
- package/lib/node/blocks/image/component-info.d.ts +1 -1
- package/lib/node/blocks/image/image.types.d.ts +1 -1
- package/lib/node/blocks/img/component-info.d.ts +1 -1
- package/lib/node/blocks/img/img.vue.d.ts +2 -2
- package/lib/node/blocks/raw-text/component-info.d.ts +1 -1
- package/lib/node/blocks/section/component-info.d.ts +1 -1
- package/lib/node/blocks/section/section.vue.d.ts +1 -1
- package/lib/node/blocks/slot/component-info.d.ts +1 -1
- package/lib/node/blocks/slot/slot.vue.d.ts +1 -4
- package/lib/node/blocks/symbol/component-info.d.ts +1 -1
- package/lib/node/blocks/symbol/symbol.helpers.d.ts +2 -2
- package/lib/node/blocks/symbol/symbol.types.d.ts +2 -2
- package/lib/node/blocks/symbol/symbol.vue.d.ts +1 -1
- package/lib/node/blocks/text/component-info.d.ts +1 -1
- package/lib/node/blocks/textarea/component-info.d.ts +1 -1
- package/lib/node/blocks/video/component-info.d.ts +1 -1
- package/lib/node/blocks/video/video.types.d.ts +1 -1
- package/lib/{edge/component-ref-EF1jkhwy.js → node/component-ref-PGVczQrW.js} +2 -2
- package/lib/{edge/component-ref-pUSq0c0J.cjs → node/component-ref-YhLendyR.cjs} +1 -1
- package/lib/node/components/block/animator.d.ts +1 -1
- package/lib/node/components/block/block.helpers.d.ts +4 -4
- package/lib/node/components/block/block.vue.d.ts +4 -4
- package/lib/node/components/block/components/block-styles.vue.d.ts +3 -3
- package/lib/node/components/block/components/block-wrapper.vue.d.ts +2 -2
- package/lib/node/components/block/components/component-ref/component-ref.helpers.d.ts +3 -3
- package/lib/node/components/block/components/component-ref/component-ref.vue.d.ts +4 -4
- package/lib/node/components/block/components/interactive-element.vue.d.ts +5 -5
- package/lib/node/components/block/types.d.ts +2 -2
- package/lib/node/components/blocks/blocks-wrapper.vue.d.ts +4 -4
- package/lib/node/components/blocks/blocks.types.d.ts +1 -1
- package/lib/node/components/content/components/enable-editor.vue.d.ts +11 -11
- package/lib/node/components/content/content.helpers.d.ts +3 -3
- package/lib/node/components/content/content.types.d.ts +2 -2
- package/lib/node/components/content/content.vue.d.ts +14 -14
- package/lib/node/components/content/contentProps.types.d.ts +1 -1
- package/lib/node/components/content-variants/content-variants.types.d.ts +4 -4
- package/lib/node/components/content-variants/content-variants.vue.d.ts +14 -14
- package/lib/node/components/content-variants/helpers.d.ts +5 -5
- package/lib/node/components/dynamic-renderer/dynamic-renderer.vue.d.ts +3 -3
- package/lib/node/constants/builder-registered-components.d.ts +1 -1
- package/lib/node/constants/extra-components.d.ts +1 -1
- package/lib/node/constants/sdk-version.d.ts +1 -1
- package/lib/node/constants/target.d.ts +1 -1
- package/lib/node/context/index.d.ts +1 -1
- package/lib/node/context/types.d.ts +4 -4
- package/lib/node/functions/evaluate/browser-runtime/browser.d.ts +2 -2
- package/lib/node/functions/evaluate/browser-runtime/index.d.ts +1 -1
- package/lib/node/functions/evaluate/choose-eval.d.ts +1 -1
- package/lib/node/functions/evaluate/edge-runtime/edge-runtime.d.ts +1 -1
- package/lib/node/functions/evaluate/edge-runtime/index.d.ts +1 -1
- package/lib/node/functions/evaluate/evaluate.d.ts +1 -1
- package/lib/node/functions/evaluate/helpers.d.ts +3 -3
- package/lib/node/functions/evaluate/index.d.ts +1 -1
- package/lib/node/functions/evaluate/node-runtime/index.d.ts +1 -1
- package/lib/node/functions/evaluate/node-runtime/init.d.ts +10 -0
- package/lib/node/functions/evaluate/node-runtime/node-runtime.d.ts +7 -1
- package/lib/node/functions/evaluate/placeholder-runtime.d.ts +1 -1
- package/lib/node/functions/fetch-builder-props.d.ts +3 -3
- package/lib/node/functions/get-block-actions-handler.d.ts +2 -2
- package/lib/node/functions/get-block-actions.d.ts +2 -2
- package/lib/node/functions/get-block-component-options.d.ts +1 -1
- package/lib/node/functions/get-block-properties.d.ts +2 -2
- package/lib/node/functions/get-builder-search-params/index.d.ts +1 -1
- package/lib/node/functions/get-content/generate-content-url.d.ts +1 -1
- package/lib/node/functions/get-content/index.d.ts +2 -2
- package/lib/node/functions/get-content/types.d.ts +139 -0
- package/lib/node/functions/get-processed-block.d.ts +2 -2
- package/lib/node/functions/get-style.d.ts +2 -2
- package/lib/node/functions/is-editing.d.ts +1 -1
- package/lib/node/functions/is-previewing.d.ts +1 -1
- package/lib/node/functions/register-component.d.ts +1 -1
- package/lib/node/functions/register.d.ts +2 -2
- package/lib/node/functions/track/index.d.ts +2 -2
- package/lib/node/functions/transform-block-properties.d.ts +2 -2
- package/lib/node/functions/transform-block.d.ts +1 -1
- package/lib/node/functions/transform-style-property.d.ts +2 -2
- package/lib/node/{get-block-properties-IfIhpTyk.cjs → get-block-properties-GTVEiEYp.cjs} +1 -1
- package/lib/{edge/get-block-properties-faT56OMN.js → node/get-block-properties-kAmm-X1q.js} +1 -1
- package/lib/node/helpers/ab-tests.d.ts +3 -3
- package/lib/node/helpers/cookie.d.ts +1 -1
- package/lib/node/helpers/localStorage.d.ts +2 -2
- package/lib/node/helpers/logger.d.ts +1 -0
- package/lib/node/helpers/preview-lru-cache/get.d.ts +1 -1
- package/lib/node/helpers/preview-lru-cache/set.d.ts +1 -1
- package/lib/node/helpers/sessionId.d.ts +1 -1
- package/lib/node/helpers/subscribe-to-editor.d.ts +3 -3
- package/lib/node/helpers/visitorId.d.ts +1 -1
- package/lib/node/{index-u36w67Cr.cjs → index-XIqTnRyC.cjs} +13 -6
- package/lib/node/index-helpers/blocks-exports.d.ts +11 -11
- package/lib/node/{index-3WfVCyJd.js → index-mnDtU0q8.js} +41 -24
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.d.cts +3 -3
- package/lib/node/index.d.mts +3 -3
- package/lib/node/index.js +1 -1
- package/lib/node/{repeated-block-dIHQGH39.cjs → repeated-block-SWSMCPvd.cjs} +1 -1
- package/lib/node/{repeated-block-qd2uOmxH.js → repeated-block-tjhtQDPA.js} +2 -2
- package/lib/node/server-index.d.ts +27 -27
- package/lib/node/style.css +1 -1
- package/lib/node/types/builder-content.d.ts +3 -3
- package/lib/node/types/builder-props.d.ts +2 -2
- package/lib/node/types/components.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var Ao = Object.defineProperty;
|
|
2
2
|
var $o = (e, t, n) => t in e ? Ao(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var rn = (e, t, n) => ($o(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
4
|
-
import { defineComponent as N, openBlock as v, createElementBlock as $, Fragment as re, createBlock as B, resolveDynamicComponent as lt, mergeProps as J, toHandlers as ce, withCtx as we, renderSlot as pe, resolveComponent as U, createTextVNode as Po, toDisplayString as $t, defineAsyncComponent as It, createVNode as Se, renderList as Ve, createCommentVNode as D, h as Ar, createElementVNode as an, normalizeStyle as ln, normalizeClass as $r, markRaw as
|
|
5
|
-
const
|
|
4
|
+
import { defineComponent as N, openBlock as v, createElementBlock as $, Fragment as re, createBlock as B, resolveDynamicComponent as lt, mergeProps as J, toHandlers as ce, withCtx as we, renderSlot as pe, resolveComponent as U, createTextVNode as Po, toDisplayString as $t, defineAsyncComponent as It, createVNode as Se, renderList as Ve, createCommentVNode as D, h as Ar, createElementVNode as an, normalizeStyle as ln, normalizeClass as $r, markRaw as Oo } from "vue";
|
|
5
|
+
const jo = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), No = (e) => typeof e == "string" && jo.has(e.toLowerCase());
|
|
6
6
|
function Pe(e = {}, t, n) {
|
|
7
7
|
const r = {};
|
|
8
8
|
for (const o in e) {
|
|
@@ -15,7 +15,7 @@ function Pe(e = {}, t, n) {
|
|
|
15
15
|
}
|
|
16
16
|
const Bo = N({
|
|
17
17
|
name: "dynamic-renderer",
|
|
18
|
-
props: ["
|
|
18
|
+
props: ["TagName", "attributes", "actionAttributes"],
|
|
19
19
|
data() {
|
|
20
20
|
return { isEmptyElement: No };
|
|
21
21
|
}
|
|
@@ -137,12 +137,12 @@ const Ho = (e) => {
|
|
|
137
137
|
return e.forEach((n, r) => {
|
|
138
138
|
t[r] = n;
|
|
139
139
|
}), t;
|
|
140
|
-
},
|
|
140
|
+
}, Or = (e) => e instanceof URLSearchParams ? Ho(e) : e, jr = (e) => typeof e == "string" ? e : e instanceof URLSearchParams ? e.toString() : new URLSearchParams(e).toString();
|
|
141
141
|
function Ko() {
|
|
142
142
|
return X() && window.self !== window.top;
|
|
143
143
|
}
|
|
144
144
|
function ie(e) {
|
|
145
|
-
return Ko() &&
|
|
145
|
+
return Ko() && jr(e || window.location.search).indexOf("builder.frameEditing=") !== -1;
|
|
146
146
|
}
|
|
147
147
|
const _o = () => {
|
|
148
148
|
if (X()) {
|
|
@@ -247,7 +247,7 @@ const yn = (e, t, n) => {
|
|
|
247
247
|
const r = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
|
|
248
248
|
return r.slice(0, -1).reduce((o, i, a) => Object(o[i]) === o[i] ? o[i] : o[i] = Math.abs(Number(r[a + 1])) >> 0 === +r[a + 1] ? [] : {}, e)[r[r.length - 1]] = n, e;
|
|
249
249
|
};
|
|
250
|
-
var
|
|
250
|
+
var j, Xo = function(e) {
|
|
251
251
|
function t(s) {
|
|
252
252
|
return 48 > s ? s === 36 : 58 > s ? !0 : 65 > s ? !1 : 91 > s ? !0 : 97 > s ? s === 95 : 123 > s ? !0 : 170 <= s && xo.test(String.fromCharCode(s));
|
|
253
253
|
}
|
|
@@ -277,7 +277,7 @@ var O, Xo = function(e) {
|
|
|
277
277
|
};
|
|
278
278
|
}
|
|
279
279
|
function i() {
|
|
280
|
-
this.line =
|
|
280
|
+
this.line = je, this.ab = p - me;
|
|
281
281
|
}
|
|
282
282
|
function a(s, l) {
|
|
283
283
|
Fe = p, R.C && (Ht = new i()), I = s, d(), oe = l, Ze = s.m;
|
|
@@ -293,9 +293,9 @@ var O, Xo = function(e) {
|
|
|
293
293
|
if (s === 32)
|
|
294
294
|
++p;
|
|
295
295
|
else if (s === 13)
|
|
296
|
-
++p, s = b.charCodeAt(p), s === 10 && ++p, R.C && (++
|
|
296
|
+
++p, s = b.charCodeAt(p), s === 10 && ++p, R.C && (++je, me = p);
|
|
297
297
|
else if (s === 10 || s === 8232 || s === 8233)
|
|
298
|
-
++p, R.C && (++
|
|
298
|
+
++p, R.C && (++je, me = p);
|
|
299
299
|
else if (8 < s && 14 > s)
|
|
300
300
|
++p;
|
|
301
301
|
else if (s === 47)
|
|
@@ -304,7 +304,7 @@ var O, Xo = function(e) {
|
|
|
304
304
|
var l = R.va && R.C && new i(), c = p, h = b.indexOf("*/", p += 2);
|
|
305
305
|
if (h === -1 && r(p - 2, "Unterminated comment"), p = h + 2, R.C)
|
|
306
306
|
for (Et.lastIndex = c; (s = Et.exec(b)) && s.index < p; )
|
|
307
|
-
++
|
|
307
|
+
++je, me = s.index + s[0].length;
|
|
308
308
|
R.va && R.va(!0, b.slice(c + 2, h), c, p, l, R.C && new i());
|
|
309
309
|
} else if (s === 47)
|
|
310
310
|
u();
|
|
@@ -345,7 +345,7 @@ var O, Xo = function(e) {
|
|
|
345
345
|
return ++p, a(sr);
|
|
346
346
|
case 48:
|
|
347
347
|
if (s = b.charCodeAt(p + 1), s === 120 || s === 88) {
|
|
348
|
-
p += 2, s =
|
|
348
|
+
p += 2, s = O(16), s === null && r(K + 2, "Expected hexadecimal number"), n(b.charCodeAt(p)) && r(p, "Identifier directly after number"), a(et, s);
|
|
349
349
|
return;
|
|
350
350
|
}
|
|
351
351
|
case 49:
|
|
@@ -411,7 +411,7 @@ var O, Xo = function(e) {
|
|
|
411
411
|
case 13:
|
|
412
412
|
b.charCodeAt(p) === 10 && ++p;
|
|
413
413
|
case 10:
|
|
414
|
-
R.C && (me = p, ++
|
|
414
|
+
R.C && (me = p, ++je);
|
|
415
415
|
break;
|
|
416
416
|
default:
|
|
417
417
|
l += String.fromCharCode(c);
|
|
@@ -493,7 +493,7 @@ var O, Xo = function(e) {
|
|
|
493
493
|
}
|
|
494
494
|
a(Wn, T);
|
|
495
495
|
}
|
|
496
|
-
function
|
|
496
|
+
function O(s, l) {
|
|
497
497
|
for (var c = p, h = 0, T = l === void 0 ? 1 / 0 : l, _ = 0; _ < T; ++_) {
|
|
498
498
|
var Q = b.charCodeAt(p);
|
|
499
499
|
if (Q = 97 <= Q ? Q - 97 + 10 : 65 <= Q ? Q - 65 + 10 : 48 <= Q && 57 >= Q ? Q - 48 : 1 / 0, Q >= s)
|
|
@@ -504,12 +504,12 @@ var O, Xo = function(e) {
|
|
|
504
504
|
}
|
|
505
505
|
function E(s) {
|
|
506
506
|
var l = p, c = !1, h = b.charCodeAt(p) === 48;
|
|
507
|
-
s ||
|
|
507
|
+
s || O(10) !== null || r(l, "Invalid number"), b.charCodeAt(p) === 46 && (++p, O(10), c = !0), s = b.charCodeAt(p), (s === 69 || s === 101) && (s = b.charCodeAt(++p), s !== 43 && s !== 45 || ++p, O(10) === null && r(l, "Invalid number"), c = !0), n(b.charCodeAt(p)) && r(p, "Identifier directly after number"), s = b.slice(l, p);
|
|
508
508
|
var T;
|
|
509
509
|
c ? T = parseFloat(s) : h && s.length !== 1 ? /[89]/.test(s) || ne ? r(l, "Invalid number") : T = parseInt(s, 8) : T = parseInt(s, 10), a(et, T);
|
|
510
510
|
}
|
|
511
511
|
function F(s) {
|
|
512
|
-
return s =
|
|
512
|
+
return s = O(16, s), s === null && r(K, "Bad character escape sequence"), s;
|
|
513
513
|
}
|
|
514
514
|
function se() {
|
|
515
515
|
Le = !1;
|
|
@@ -538,7 +538,7 @@ var O, Xo = function(e) {
|
|
|
538
538
|
if (ne = s, p = K, R.C)
|
|
539
539
|
for (; p < me; )
|
|
540
540
|
me = b.lastIndexOf(`
|
|
541
|
-
`, me - 2) + 1, --
|
|
541
|
+
`, me - 2) + 1, --je;
|
|
542
542
|
d(), y();
|
|
543
543
|
}
|
|
544
544
|
function ae() {
|
|
@@ -567,7 +567,7 @@ var O, Xo = function(e) {
|
|
|
567
567
|
function yt() {
|
|
568
568
|
return !R.fc && (I === zt || I === De || wt.test(b.slice(xe, K)));
|
|
569
569
|
}
|
|
570
|
-
function
|
|
570
|
+
function Oe() {
|
|
571
571
|
M(ye) || yt() || he();
|
|
572
572
|
}
|
|
573
573
|
function L(s) {
|
|
@@ -587,7 +587,7 @@ var O, Xo = function(e) {
|
|
|
587
587
|
case Ln:
|
|
588
588
|
A();
|
|
589
589
|
var c = s === Gt;
|
|
590
|
-
M(ye) || yt() ? l.label = null : I !== We ? he() : (l.label = fe(),
|
|
590
|
+
M(ye) || yt() ? l.label = null : I !== We ? he() : (l.label = fe(), Oe());
|
|
591
591
|
for (var h = 0; h < H.length; ++h) {
|
|
592
592
|
var T = H[h];
|
|
593
593
|
if ((l.label === null || T.name === l.label.name) && (T.kind !== null && (c || T.kind === "loop") || l.label && c))
|
|
@@ -595,9 +595,9 @@ var O, Xo = function(e) {
|
|
|
595
595
|
}
|
|
596
596
|
return h === H.length && r(l.start, "Unsyntactic " + s.l), x(l, c ? "BreakStatement" : "ContinueStatement");
|
|
597
597
|
case Hn:
|
|
598
|
-
return A(),
|
|
598
|
+
return A(), Oe(), x(l, "DebuggerStatement");
|
|
599
599
|
case _n:
|
|
600
|
-
return A(), H.push(tn), l.body = le(), H.pop(), L(Zt), l.test = Je(),
|
|
600
|
+
return A(), H.push(tn), l.body = le(), H.pop(), L(Zt), l.test = Je(), Oe(), x(l, "DoWhileStatement");
|
|
601
601
|
case qn:
|
|
602
602
|
return A(), H.push(tn), L(ge), I === ye ? Bt(l, null) : I === Yt ? (s = G(), A(), Un(s, !0), x(s, "VariableDeclaration"), s.fa.length === 1 && M(St) ? Mn(l, s) : Bt(l, s)) : (s = Y(!1, !0), M(St) ? (vt(s), Mn(l, s)) : Bt(l, s));
|
|
603
603
|
case Jt:
|
|
@@ -605,17 +605,17 @@ var O, Xo = function(e) {
|
|
|
605
605
|
case Jn:
|
|
606
606
|
return A(), l.test = Je(), l.da = le(), l.alternate = M(zn) ? le() : null, x(l, "IfStatement");
|
|
607
607
|
case Xn:
|
|
608
|
-
return Qe || R.Ib || r(K, "'return' outside of function"), A(), M(ye) || yt() ? l.K = null : (l.K = Y(),
|
|
608
|
+
return Qe || R.Ib || r(K, "'return' outside of function"), A(), M(ye) || yt() ? l.K = null : (l.K = Y(), Oe()), x(l, "ReturnStatement");
|
|
609
609
|
case Xt:
|
|
610
610
|
for (A(), l.Qb = Je(), l.tb = [], L(tt), H.push(Ro); I !== De; )
|
|
611
611
|
I === qt || I === Kn ? (s = I === qt, h && x(h, "SwitchCase"), l.tb.push(h = G()), h.da = [], A(), s ? h.test = Y() : (c && r(Kt, "Multiple default clauses"), c = !0, h.test = null), L(nt)) : (h || he(), h.da.push(le()));
|
|
612
612
|
return h && x(h, "SwitchCase"), A(), H.pop(), x(l, "SwitchStatement");
|
|
613
613
|
case Yn:
|
|
614
|
-
return A(), wt.test(b.slice(xe, K)) && r(xe, "Illegal newline after throw"), l.K = Y(),
|
|
614
|
+
return A(), wt.test(b.slice(xe, K)) && r(xe, "Illegal newline after throw"), l.K = Y(), Oe(), x(l, "ThrowStatement");
|
|
615
615
|
case Zn:
|
|
616
616
|
return A(), l.block = Xe(), l.Ea = null, I === Dn && (s = G(), A(), L(ge), s.Ua = fe(), ne && Ct(s.Ua.name) && r(s.Ua.start, "Binding " + s.Ua.name + " in strict mode"), L(ue), s.body = Xe(), l.Ea = x(s, "CatchClause")), l.fb = M(Gn) ? Xe() : null, l.Ea || l.fb || r(l.start, "Missing catch or finally clause"), x(l, "TryStatement");
|
|
617
617
|
case Yt:
|
|
618
|
-
return A(), Un(l),
|
|
618
|
+
return A(), Un(l), Oe(), x(l, "VariableDeclaration");
|
|
619
619
|
case Zt:
|
|
620
620
|
return A(), l.test = Je(), H.push(tn), l.body = le(), H.pop(), x(l, "WhileStatement");
|
|
621
621
|
case Qn:
|
|
@@ -633,7 +633,7 @@ var O, Xo = function(e) {
|
|
|
633
633
|
kind: I.W ? "loop" : I === Xt ? "switch" : null
|
|
634
634
|
}), l.body = le(), H.pop(), l.label = T, x(l, "LabeledStatement");
|
|
635
635
|
}
|
|
636
|
-
return l.la = T,
|
|
636
|
+
return l.la = T, Oe(), x(l, "ExpressionStatement");
|
|
637
637
|
}
|
|
638
638
|
}
|
|
639
639
|
function Je() {
|
|
@@ -797,7 +797,7 @@ var O, Xo = function(e) {
|
|
|
797
797
|
b = String(s), Ue = b.length, R = l || {};
|
|
798
798
|
for (var c in Fn)
|
|
799
799
|
Object.prototype.hasOwnProperty.call(R, c) || (R[c] = Fn[c]);
|
|
800
|
-
for (Dt = R.sourceFile,
|
|
800
|
+
for (Dt = R.sourceFile, je = 1, p = me = 0, Ze = !0, d(), c = R.dc, Kt = xe = p, R.C && (_t = new i()), Qe = ne = !1, H = [], y(), s = c || G(), l = !0, c || (s.body = []); I !== zt; )
|
|
801
801
|
c = le(), s.body.push(c), l && Nt(c) && Me(!0), l = !1;
|
|
802
802
|
return x(s, "Program");
|
|
803
803
|
};
|
|
@@ -812,7 +812,7 @@ var O, Xo = function(e) {
|
|
|
812
812
|
dc: null,
|
|
813
813
|
sourceFile: null,
|
|
814
814
|
vb: null
|
|
815
|
-
}, p = 0, K = 0, Fe = 0, Lt, Ht, I, oe, Ze,
|
|
815
|
+
}, p = 0, K = 0, Fe = 0, Lt, Ht, I, oe, Ze, je, me, Kt = 0, xe = 0, _t, Qe, H, ne, ho = [], et = {
|
|
816
816
|
type: "num"
|
|
817
817
|
}, Wn = {
|
|
818
818
|
type: "regexp"
|
|
@@ -1083,18 +1083,18 @@ function Pt(e, t, n) {
|
|
|
1083
1083
|
g.prototype.REGEXP_MODE = 2;
|
|
1084
1084
|
g.prototype.REGEXP_THREAD_TIMEOUT = 1e3;
|
|
1085
1085
|
g.prototype.POLYFILL_TIMEOUT = 1e3;
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1086
|
+
j = g.prototype;
|
|
1087
|
+
j.P = !1;
|
|
1088
|
+
j.Ka = !1;
|
|
1089
|
+
j.Kb = 0;
|
|
1090
|
+
j.ic = 0;
|
|
1091
1091
|
function ze(e, t) {
|
|
1092
1092
|
var n = {}, r;
|
|
1093
1093
|
for (r in fr)
|
|
1094
1094
|
n[r] = fr[r];
|
|
1095
1095
|
return n.sourceFile = t, Ae.j.parse(e, n);
|
|
1096
1096
|
}
|
|
1097
|
-
|
|
1097
|
+
j.Jb = function(e) {
|
|
1098
1098
|
var t = this.o[0];
|
|
1099
1099
|
if (!t || t.node.type !== "Program")
|
|
1100
1100
|
throw Error("Expecting original AST to start with a Program node");
|
|
@@ -1102,7 +1102,7 @@ O.Jb = function(e) {
|
|
|
1102
1102
|
throw Error("Expecting new AST to start with a Program node");
|
|
1103
1103
|
dt(this, e, t.scope), Array.prototype.push.apply(t.node.body, e.body), t.node.body.jb = null, t.done = !1;
|
|
1104
1104
|
};
|
|
1105
|
-
|
|
1105
|
+
j.lb = function() {
|
|
1106
1106
|
var e = this.o, t;
|
|
1107
1107
|
do {
|
|
1108
1108
|
var n = e[e.length - 1];
|
|
@@ -1140,7 +1140,7 @@ O.lb = function() {
|
|
|
1140
1140
|
} while (!r.end && t > Date.now());
|
|
1141
1141
|
return !0;
|
|
1142
1142
|
};
|
|
1143
|
-
|
|
1143
|
+
j.Eb = function() {
|
|
1144
1144
|
for (; !this.za && this.lb(); )
|
|
1145
1145
|
;
|
|
1146
1146
|
return this.za;
|
|
@@ -1171,7 +1171,7 @@ function Zo(e, t) {
|
|
|
1171
1171
|
vr(e, i);
|
|
1172
1172
|
}, e.g(t, "clearInterval", e.i(n, !1), k), e.OBJECT = e.v, e.OBJECT_PROTO = e.M, e.FUNCTION = e.O, e.FUNCTION_PROTO = e.Z, e.ARRAY = e.qa, e.ARRAY_PROTO = e.La, e.REGEXP = e.I, e.REGEXP_PROTO = e.Ma, e.DATE = e.$, e.DATE_PROTO = e.nb, e.qb && e.qb(e, t);
|
|
1173
1173
|
}
|
|
1174
|
-
|
|
1174
|
+
j.Wb = 0;
|
|
1175
1175
|
function Qo(e, t) {
|
|
1176
1176
|
var n = /^[A-Za-z_$][\w$]*$/, r = function(o) {
|
|
1177
1177
|
var i = arguments.length ? String(arguments[arguments.length - 1]) : "", a = Array.prototype.slice.call(arguments, 0, -1).join(",").trim();
|
|
@@ -1534,7 +1534,7 @@ function pn(e, t, n) {
|
|
|
1534
1534
|
}
|
|
1535
1535
|
e.g(t, "stack", i.trim(), k);
|
|
1536
1536
|
}
|
|
1537
|
-
|
|
1537
|
+
j.ha = function() {
|
|
1538
1538
|
var e = this.ha.Mb;
|
|
1539
1539
|
return e || (e = new Blob([Yo.join(`
|
|
1540
1540
|
`)], {
|
|
@@ -1580,10 +1580,10 @@ function st(e, t, n, r) {
|
|
|
1580
1580
|
}
|
|
1581
1581
|
}, e.REGEXP_THREAD_TIMEOUT);
|
|
1582
1582
|
}
|
|
1583
|
-
|
|
1583
|
+
j.Aa = function(e) {
|
|
1584
1584
|
return this.s(e && e.h.prototype);
|
|
1585
1585
|
};
|
|
1586
|
-
|
|
1586
|
+
j.s = function(e) {
|
|
1587
1587
|
if (typeof e != "object")
|
|
1588
1588
|
throw Error("Non object prototype");
|
|
1589
1589
|
return e = new P(e), q(this, e, this.D) && (e.H = "Error"), e;
|
|
@@ -1604,14 +1604,14 @@ function Cn(e, t, n, r) {
|
|
|
1604
1604
|
var o = Sn(e, t.oa.length, !0);
|
|
1605
1605
|
return o.Va = n, o.node = t, e.g(o, "name", t.id ? String(t.id.name) : r || "", te), o;
|
|
1606
1606
|
}
|
|
1607
|
-
|
|
1607
|
+
j.i = function(e, t) {
|
|
1608
1608
|
return t = Sn(this, e.length, t), t.Ta = e, e.id = this.Ya++, this.g(t, "name", e.name, te), t;
|
|
1609
1609
|
};
|
|
1610
|
-
|
|
1610
|
+
j.ub = function(e) {
|
|
1611
1611
|
var t = Sn(this, e.length, !0);
|
|
1612
1612
|
return t.Za = e, e.id = this.Ya++, this.g(t, "name", e.name, te), t;
|
|
1613
1613
|
};
|
|
1614
|
-
|
|
1614
|
+
j.Ia = function(e) {
|
|
1615
1615
|
if (e instanceof P)
|
|
1616
1616
|
throw Error("Object is already pseudo");
|
|
1617
1617
|
if (e == null || e === !0 || e === !1 || typeof e == "string" || typeof e == "number")
|
|
@@ -1642,7 +1642,7 @@ O.Ia = function(e) {
|
|
|
1642
1642
|
this.g(t, r, this.Ia(e[r]));
|
|
1643
1643
|
return t;
|
|
1644
1644
|
};
|
|
1645
|
-
|
|
1645
|
+
j.R = function(e, t) {
|
|
1646
1646
|
if (typeof e != "object" && typeof e != "function" || e === null)
|
|
1647
1647
|
return e;
|
|
1648
1648
|
if (!(e instanceof P))
|
|
@@ -1661,7 +1661,7 @@ O.R = function(e, t) {
|
|
|
1661
1661
|
if (t.hb.push(e), q(this, e, this.qa)) {
|
|
1662
1662
|
n = [], t.Sa.push(n);
|
|
1663
1663
|
for (var r = this.G(e, "length"), o = 0; o < r; o++)
|
|
1664
|
-
|
|
1664
|
+
Ot(this, e, o) && (n[o] = this.R(this.G(e, o), t));
|
|
1665
1665
|
} else
|
|
1666
1666
|
for (r in n = {}, t.Sa.push(n), e.h)
|
|
1667
1667
|
o = this.R(e.h[r], t), Object.defineProperty(n, r, {
|
|
@@ -1694,7 +1694,7 @@ function Ce(e, t) {
|
|
|
1694
1694
|
}
|
|
1695
1695
|
return t ? t.xa : null;
|
|
1696
1696
|
}
|
|
1697
|
-
|
|
1697
|
+
j.G = function(e, t) {
|
|
1698
1698
|
if (this.P)
|
|
1699
1699
|
throw Error("Getter not supported in that context");
|
|
1700
1700
|
if (t = String(t), e != null || w(this, this.j, "Cannot read property '" + t + "' of " + e), typeof e == "object" && !(e instanceof P))
|
|
@@ -1712,7 +1712,7 @@ O.G = function(e, t) {
|
|
|
1712
1712
|
return (n = e.V[t]) ? (this.P = !0, n) : e.h[t];
|
|
1713
1713
|
while (e = Ce(this, e));
|
|
1714
1714
|
};
|
|
1715
|
-
function
|
|
1715
|
+
function Ot(e, t, n) {
|
|
1716
1716
|
if (!(t instanceof P))
|
|
1717
1717
|
throw TypeError("Primitive data type has no properties");
|
|
1718
1718
|
if (n = String(n), n === "length" && q(e, t, e.J))
|
|
@@ -1728,7 +1728,7 @@ function jt(e, t, n) {
|
|
|
1728
1728
|
while (t = Ce(e, t));
|
|
1729
1729
|
return !1;
|
|
1730
1730
|
}
|
|
1731
|
-
|
|
1731
|
+
j.g = function(e, t, n, r) {
|
|
1732
1732
|
if (this.Ka)
|
|
1733
1733
|
throw Error("Setter not supported in that context");
|
|
1734
1734
|
if (t = String(t), e != null || w(this, this.j, "Cannot set property '" + t + "' of " + e), typeof e == "object" && !(e instanceof P))
|
|
@@ -1790,10 +1790,10 @@ O.g = function(e, t, n, r) {
|
|
|
1790
1790
|
} else
|
|
1791
1791
|
o && w(this, this.j, "Can't create property '" + t + "' on '" + e + "'");
|
|
1792
1792
|
};
|
|
1793
|
-
|
|
1793
|
+
j.g.ac = function() {
|
|
1794
1794
|
throw Error("Placeholder getter");
|
|
1795
1795
|
};
|
|
1796
|
-
|
|
1796
|
+
j.g.bc = function() {
|
|
1797
1797
|
throw Error("Placeholder setter");
|
|
1798
1798
|
};
|
|
1799
1799
|
function z(e, t, n, r) {
|
|
@@ -1828,7 +1828,7 @@ function In(e, t) {
|
|
|
1828
1828
|
return n.object.h[t];
|
|
1829
1829
|
n = n.Va;
|
|
1830
1830
|
}
|
|
1831
|
-
if (n === e.N &&
|
|
1831
|
+
if (n === e.N && Ot(e, n.object, t))
|
|
1832
1832
|
return e.G(n.object, t);
|
|
1833
1833
|
n = e.o[e.o.length - 1].node, n.type === "UnaryExpression" && n.operator === "typeof" || w(e, e.pb, t + " is not defined");
|
|
1834
1834
|
}
|
|
@@ -1844,7 +1844,7 @@ function Fr(e, t, n) {
|
|
|
1844
1844
|
}
|
|
1845
1845
|
r = r.Va;
|
|
1846
1846
|
}
|
|
1847
|
-
if (r === e.N && (!o ||
|
|
1847
|
+
if (r === e.N && (!o || Ot(e, r.object, t)))
|
|
1848
1848
|
return e.g(r.object, t, n);
|
|
1849
1849
|
w(e, e.pb, t + " is not defined");
|
|
1850
1850
|
}
|
|
@@ -2031,13 +2031,13 @@ function Rn(e, t, n, r) {
|
|
|
2031
2031
|
function on(e, t) {
|
|
2032
2032
|
return t == null ? e.Na : t instanceof P ? t : (e = e.s(Ce(e, t)), e.data = t, e);
|
|
2033
2033
|
}
|
|
2034
|
-
|
|
2034
|
+
j.Xb = function() {
|
|
2035
2035
|
return this.N;
|
|
2036
2036
|
};
|
|
2037
|
-
|
|
2037
|
+
j.Yb = function() {
|
|
2038
2038
|
return this.o;
|
|
2039
2039
|
};
|
|
2040
|
-
|
|
2040
|
+
j.ec = function(e) {
|
|
2041
2041
|
this.o = e;
|
|
2042
2042
|
};
|
|
2043
2043
|
function S(e, t) {
|
|
@@ -2049,11 +2049,11 @@ function Dr(e, t, n) {
|
|
|
2049
2049
|
function P(e) {
|
|
2050
2050
|
this.V = /* @__PURE__ */ Object.create(null), this.Y = /* @__PURE__ */ Object.create(null), this.h = /* @__PURE__ */ Object.create(null), this.xa = e;
|
|
2051
2051
|
}
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2052
|
+
j = P.prototype;
|
|
2053
|
+
j.xa = null;
|
|
2054
|
+
j.H = "Object";
|
|
2055
|
+
j.data = null;
|
|
2056
|
+
j.toString = function() {
|
|
2057
2057
|
if (!ut)
|
|
2058
2058
|
return "[object Interpreter.Object]";
|
|
2059
2059
|
if (!(this instanceof P))
|
|
@@ -2101,7 +2101,7 @@ O.toString = function() {
|
|
|
2101
2101
|
}
|
|
2102
2102
|
return this.data !== null ? String(this.data) : "[object " + this.H + "]";
|
|
2103
2103
|
};
|
|
2104
|
-
|
|
2104
|
+
j.valueOf = function() {
|
|
2105
2105
|
return !ut || this.data === void 0 || this.data === null || this.data instanceof RegExp ? this : this.data instanceof Date ? this.data.valueOf() : this.data;
|
|
2106
2106
|
};
|
|
2107
2107
|
function ci(e, t, n, r, o) {
|
|
@@ -2238,7 +2238,7 @@ g.prototype.stepBinaryExpression = function(e, t, n) {
|
|
|
2238
2238
|
n = r >>> t;
|
|
2239
2239
|
break;
|
|
2240
2240
|
case "in":
|
|
2241
|
-
t instanceof P || w(this, this.j, "'in' expects an object, not '" + t + "'"), n =
|
|
2241
|
+
t instanceof P || w(this, this.j, "'in' expects an object, not '" + t + "'"), n = Ot(this, t, r);
|
|
2242
2242
|
break;
|
|
2243
2243
|
case "instanceof":
|
|
2244
2244
|
q(this, t, this.O) || w(this, this.j, "'instanceof' expects an object, not '" + t + "'"), n = r instanceof P ? q(this, r, t) : !1;
|
|
@@ -2704,14 +2704,14 @@ theFunction();
|
|
|
2704
2704
|
`, C = (E, F) => {
|
|
2705
2705
|
const se = yn(u, E, F);
|
|
2706
2706
|
i == null || i(se);
|
|
2707
|
-
},
|
|
2707
|
+
}, O = function(E, F) {
|
|
2708
2708
|
d.forEach(([se, W]) => {
|
|
2709
2709
|
const A = JSON.stringify(W);
|
|
2710
2710
|
E.setProperty(F, br(se), A);
|
|
2711
2711
|
}), E.setProperty(F, "setRootState", E.createNativeFunction(C));
|
|
2712
2712
|
};
|
|
2713
2713
|
try {
|
|
2714
|
-
const E = new g(f,
|
|
2714
|
+
const E = new g(f, O);
|
|
2715
2715
|
return E.run(), E.pseudoToNative(E.value);
|
|
2716
2716
|
} catch (E) {
|
|
2717
2717
|
Z.warn("Custom code error in edge runtime. NOTE: your code must be ES5 JavaScript.", {
|
|
@@ -3063,27 +3063,27 @@ const Ti = ({
|
|
|
3063
3063
|
},
|
|
3064
3064
|
block: r
|
|
3065
3065
|
}));
|
|
3066
|
-
}, Ri = () => import("./block-styles-
|
|
3066
|
+
}, Ri = () => import("./block-styles-nhMA9R4s.js").then((e) => e.default).catch((e) => {
|
|
3067
3067
|
throw console.error(
|
|
3068
3068
|
"Error while attempting to dynamically import component BlockStyles at ./components/block-styles.vue",
|
|
3069
3069
|
e
|
|
3070
3070
|
), e;
|
|
3071
|
-
}), Ai = () => import("./block-wrapper-
|
|
3071
|
+
}), Ai = () => import("./block-wrapper-xgShkhuq.js").then((e) => e.default).catch((e) => {
|
|
3072
3072
|
throw console.error(
|
|
3073
3073
|
"Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
|
|
3074
3074
|
e
|
|
3075
3075
|
), e;
|
|
3076
|
-
}), $i = () => import("./component-ref-
|
|
3076
|
+
}), $i = () => import("./component-ref-kGbDg8GR.js").then((e) => e.default).catch((e) => {
|
|
3077
3077
|
throw console.error(
|
|
3078
3078
|
"Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
|
|
3079
3079
|
e
|
|
3080
3080
|
), e;
|
|
3081
|
-
}), Pi = () => import("./repeated-block-
|
|
3081
|
+
}), Pi = () => import("./repeated-block-uiPuS74Z.js").then((e) => e.default).catch((e) => {
|
|
3082
3082
|
throw console.error(
|
|
3083
3083
|
"Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
|
|
3084
3084
|
e
|
|
3085
3085
|
), e;
|
|
3086
|
-
}),
|
|
3086
|
+
}), Oi = N({
|
|
3087
3087
|
name: "block",
|
|
3088
3088
|
components: {
|
|
3089
3089
|
BlockStyles: It(Ri),
|
|
@@ -3166,7 +3166,7 @@ const Ti = ({
|
|
|
3166
3166
|
}
|
|
3167
3167
|
}
|
|
3168
3168
|
});
|
|
3169
|
-
function
|
|
3169
|
+
function ji(e, t, n, r, o, i) {
|
|
3170
3170
|
var f;
|
|
3171
3171
|
const a = U("block-styles"), u = U("component-ref"), d = U("block", !0), m = U("block-wrapper"), y = U("repeated-block");
|
|
3172
3172
|
return e.canShowBlock ? (v(), $(re, { key: 0 }, [
|
|
@@ -3186,8 +3186,8 @@ function Oi(e, t, n, r, o, i) {
|
|
|
3186
3186
|
includeBlockProps: e.componentRefProps.includeBlockProps,
|
|
3187
3187
|
isInteractive: e.componentRefProps.isInteractive
|
|
3188
3188
|
}, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "linkComponent", "builderBlock", "includeBlockProps", "isInteractive"])) : (v(), $(re, { key: 0 }, [
|
|
3189
|
-
e.repeatItem ? (v(!0), $(re, { key: 1 }, Ve(e.repeatItem, (C,
|
|
3190
|
-
key:
|
|
3189
|
+
e.repeatItem ? (v(!0), $(re, { key: 1 }, Ve(e.repeatItem, (C, O) => (v(), B(y, {
|
|
3190
|
+
key: O,
|
|
3191
3191
|
repeatContext: C.context,
|
|
3192
3192
|
block: C.block,
|
|
3193
3193
|
registeredComponents: e.registeredComponents,
|
|
@@ -3211,7 +3211,7 @@ function Oi(e, t, n, r, o, i) {
|
|
|
3211
3211
|
includeBlockProps: e.componentRefProps.includeBlockProps,
|
|
3212
3212
|
isInteractive: e.componentRefProps.isInteractive
|
|
3213
3213
|
}, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "linkComponent", "builderBlock", "includeBlockProps", "isInteractive"]),
|
|
3214
|
-
(v(!0), $(re, null, Ve(e.childrenWithoutParentComponent, (C,
|
|
3214
|
+
(v(!0), $(re, null, Ve(e.childrenWithoutParentComponent, (C, O) => (v(), B(d, {
|
|
3215
3215
|
key: C.id,
|
|
3216
3216
|
block: C,
|
|
3217
3217
|
registeredComponents: e.registeredComponents,
|
|
@@ -3224,18 +3224,18 @@ function Oi(e, t, n, r, o, i) {
|
|
|
3224
3224
|
], 64))
|
|
3225
3225
|
], 64)) : D("", !0);
|
|
3226
3226
|
}
|
|
3227
|
-
const
|
|
3227
|
+
const On = /* @__PURE__ */ V(Oi, [["render", ji]]), Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3228
3228
|
__proto__: null,
|
|
3229
|
-
default:
|
|
3229
|
+
default: On
|
|
3230
3230
|
}, Symbol.toStringTag, { value: "Module" })), Ni = N({
|
|
3231
3231
|
name: "builder-blocks-wrapper",
|
|
3232
3232
|
props: [
|
|
3233
|
-
"BlocksWrapper",
|
|
3234
3233
|
"blocks",
|
|
3235
3234
|
"parent",
|
|
3236
3235
|
"path",
|
|
3237
3236
|
"styleProp",
|
|
3238
|
-
"BlocksWrapperProps"
|
|
3237
|
+
"BlocksWrapperProps",
|
|
3238
|
+
"BlocksWrapper"
|
|
3239
3239
|
],
|
|
3240
3240
|
computed: {
|
|
3241
3241
|
className() {
|
|
@@ -3288,9 +3288,9 @@ function Bi(e, t, n, r, o, i) {
|
|
|
3288
3288
|
_: 3
|
|
3289
3289
|
}, 16, ["class", "builder-path", "builder-parent-id", "style", "onClick", "onMouseEnter", "onKeyPress"]);
|
|
3290
3290
|
}
|
|
3291
|
-
const Vi = /* @__PURE__ */ V(Ni, [["render", Bi], ["__scopeId", "data-v-
|
|
3291
|
+
const Vi = /* @__PURE__ */ V(Ni, [["render", Bi], ["__scopeId", "data-v-9724ab41"]]), Mi = N({
|
|
3292
3292
|
name: "builder-blocks",
|
|
3293
|
-
components: { BlocksWrapper: Vi, Block:
|
|
3293
|
+
components: { BlocksWrapper: Vi, Block: On },
|
|
3294
3294
|
props: [
|
|
3295
3295
|
"blocks",
|
|
3296
3296
|
"parent",
|
|
@@ -3328,7 +3328,7 @@ function Ui(e, t, n, r, o, i) {
|
|
|
3328
3328
|
_: 1
|
|
3329
3329
|
}, 8, ["blocks", "parent", "path", "styleProp", "BlocksWrapper", "BlocksWrapperProps"]);
|
|
3330
3330
|
}
|
|
3331
|
-
const
|
|
3331
|
+
const jt = /* @__PURE__ */ V(Mi, [["render", Ui]]), jn = N({
|
|
3332
3332
|
render() {
|
|
3333
3333
|
return Ar("style", {
|
|
3334
3334
|
innerHTML: this.styles,
|
|
@@ -3382,9 +3382,9 @@ const Ot = /* @__PURE__ */ V(Mi, [["render", Ui]]), On = N({
|
|
|
3382
3382
|
}, Wi = N({
|
|
3383
3383
|
name: "builder-columns",
|
|
3384
3384
|
components: {
|
|
3385
|
-
InlinedStyles:
|
|
3385
|
+
InlinedStyles: jn,
|
|
3386
3386
|
DynamicRenderer: mn,
|
|
3387
|
-
Blocks:
|
|
3387
|
+
Blocks: jt
|
|
3388
3388
|
},
|
|
3389
3389
|
props: [
|
|
3390
3390
|
"space",
|
|
@@ -3542,7 +3542,7 @@ function Di(e, t, n, r, o, i) {
|
|
|
3542
3542
|
}, 1032, ["TagName", "attributes"]))), 128))
|
|
3543
3543
|
], 16);
|
|
3544
3544
|
}
|
|
3545
|
-
const Li = /* @__PURE__ */ V(Wi, [["render", Di], ["__scopeId", "data-v-
|
|
3545
|
+
const Li = /* @__PURE__ */ V(Wi, [["render", Di], ["__scopeId", "data-v-6caab097"]]), Hi = N({
|
|
3546
3546
|
name: "builder-fragment-component",
|
|
3547
3547
|
props: []
|
|
3548
3548
|
});
|
|
@@ -3671,7 +3671,7 @@ function Zi(e, t, n, r, o, i) {
|
|
|
3671
3671
|
])) : D("", !0)
|
|
3672
3672
|
], 64);
|
|
3673
3673
|
}
|
|
3674
|
-
const Qi = /* @__PURE__ */ V(qi, [["render", Zi], ["__scopeId", "data-v-
|
|
3674
|
+
const Qi = /* @__PURE__ */ V(qi, [["render", Zi], ["__scopeId", "data-v-dde76a35"]]), es = N({
|
|
3675
3675
|
name: "builder-section-component",
|
|
3676
3676
|
props: ["attributes", "maxWidth"],
|
|
3677
3677
|
data() {
|
|
@@ -4225,8 +4225,8 @@ const ns = /* @__PURE__ */ V(es, [["render", ts]]), rs = (e) => {
|
|
|
4225
4225
|
}]
|
|
4226
4226
|
}, ks = N({
|
|
4227
4227
|
name: "builder-slot",
|
|
4228
|
-
components: { Blocks:
|
|
4229
|
-
props: ["
|
|
4228
|
+
components: { Blocks: jt },
|
|
4229
|
+
props: ["builderContext", "name"]
|
|
4230
4230
|
});
|
|
4231
4231
|
function Ss(e, t, n, r, o, i) {
|
|
4232
4232
|
var u, d, m;
|
|
@@ -4369,14 +4369,14 @@ const Rs = /* @__PURE__ */ V(Is, [["render", xs]]), As = {
|
|
|
4369
4369
|
}
|
|
4370
4370
|
}
|
|
4371
4371
|
}), Ps = ["innerHTML"];
|
|
4372
|
-
function
|
|
4372
|
+
function Os(e, t, n, r, o, i) {
|
|
4373
4373
|
return v(), $("div", {
|
|
4374
4374
|
ref: "elementRef",
|
|
4375
4375
|
class: $r("builder-custom-code" + (e.replaceNodes ? " replace-nodes" : "")),
|
|
4376
4376
|
innerHTML: e.code
|
|
4377
4377
|
}, null, 10, Ps);
|
|
4378
4378
|
}
|
|
4379
|
-
const
|
|
4379
|
+
const js = /* @__PURE__ */ V($s, [["render", Os]]), Ns = {
|
|
4380
4380
|
name: "Embed",
|
|
4381
4381
|
static: !0,
|
|
4382
4382
|
inputs: [{
|
|
@@ -4690,9 +4690,8 @@ const Ws = /* @__PURE__ */ V(Ms, [["render", Fs]]), Ds = {
|
|
|
4690
4690
|
return r === void 0 || r === e ? n : r;
|
|
4691
4691
|
}, _s = N({
|
|
4692
4692
|
name: "builder-form-component",
|
|
4693
|
-
components: { Block:
|
|
4693
|
+
components: { Block: On, Blocks: jt },
|
|
4694
4694
|
props: [
|
|
4695
|
-
"js",
|
|
4696
4695
|
"builderContext",
|
|
4697
4696
|
"previewState",
|
|
4698
4697
|
"sendWithJs",
|
|
@@ -4752,12 +4751,12 @@ const Ws = /* @__PURE__ */ V(Ms, [["render", Fs]]), Ds = {
|
|
|
4752
4751
|
e.currentTarget.querySelectorAll("input,select,textarea")
|
|
4753
4752
|
).filter((f) => !!f.name).map((f) => {
|
|
4754
4753
|
let C;
|
|
4755
|
-
const
|
|
4754
|
+
const O = f.name;
|
|
4756
4755
|
if (f instanceof HTMLInputElement)
|
|
4757
4756
|
if (f.type === "radio") {
|
|
4758
4757
|
if (f.checked)
|
|
4759
4758
|
return C = f.name, {
|
|
4760
|
-
key:
|
|
4759
|
+
key: O,
|
|
4761
4760
|
value: C
|
|
4762
4761
|
};
|
|
4763
4762
|
} else if (f.type === "checkbox")
|
|
@@ -4770,7 +4769,7 @@ const Ws = /* @__PURE__ */ V(Ms, [["render", Fs]]), Ds = {
|
|
|
4770
4769
|
else
|
|
4771
4770
|
C = f.value;
|
|
4772
4771
|
return {
|
|
4773
|
-
key:
|
|
4772
|
+
key: O,
|
|
4774
4773
|
value: C
|
|
4775
4774
|
};
|
|
4776
4775
|
});
|
|
@@ -4781,8 +4780,8 @@ const Ws = /* @__PURE__ */ V(Ms, [["render", Fs]]), Ds = {
|
|
|
4781
4780
|
i = a;
|
|
4782
4781
|
else {
|
|
4783
4782
|
const f = {};
|
|
4784
|
-
Array.from(u).forEach(({ value: C, key:
|
|
4785
|
-
yn(f,
|
|
4783
|
+
Array.from(u).forEach(({ value: C, key: O }) => {
|
|
4784
|
+
yn(f, O, C);
|
|
4786
4785
|
}), i = JSON.stringify(f);
|
|
4787
4786
|
}
|
|
4788
4787
|
d && d !== "multipart/form-data" && (t && ((n = this.action) != null && n.includes("zapier.com")) || (o["content-type"] = d));
|
|
@@ -4807,8 +4806,8 @@ const Ws = /* @__PURE__ */ V(Ms, [["render", Fs]]), Ds = {
|
|
|
4807
4806
|
).then(
|
|
4808
4807
|
async (f) => {
|
|
4809
4808
|
let C;
|
|
4810
|
-
const
|
|
4811
|
-
if (
|
|
4809
|
+
const O = f.headers.get("content-type");
|
|
4810
|
+
if (O && O.indexOf("application/json") !== -1 ? C = await f.json() : C = await f.text(), !f.ok && this.errorMessagePath) {
|
|
4812
4811
|
let E = Ks(C, this.errorMessagePath);
|
|
4813
4812
|
E && (typeof E != "string" && (E = JSON.stringify(E)), this.formErrorMessage = E, this.mergeNewRootState({
|
|
4814
4813
|
formErrorMessage: E
|
|
@@ -4893,7 +4892,7 @@ function qs(e, t, n, r, o, i) {
|
|
|
4893
4892
|
}, null, 8, ["blocks", "context"])) : D("", !0)
|
|
4894
4893
|
], 16, zs);
|
|
4895
4894
|
}
|
|
4896
|
-
const Js = /* @__PURE__ */ V(_s, [["render", qs], ["__scopeId", "data-v-
|
|
4895
|
+
const Js = /* @__PURE__ */ V(_s, [["render", qs], ["__scopeId", "data-v-83a4b1d9"]]), Xs = {
|
|
4897
4896
|
name: "Form:Input",
|
|
4898
4897
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
|
|
4899
4898
|
inputs: [
|
|
@@ -5027,7 +5026,7 @@ function ia(e, t, n, r, o, i) {
|
|
|
5027
5026
|
name: e.name
|
|
5028
5027
|
}, e.filterAttrs(e.attributes, "v-on:", !1), ce(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
|
|
5029
5028
|
(v(!0), $(re, null, Ve(e.options, (a, u) => (v(), $("option", {
|
|
5030
|
-
key: u
|
|
5029
|
+
key: `${a.name}-${u}`,
|
|
5031
5030
|
value: a.value
|
|
5032
5031
|
}, $t(a.name || a.value), 9, oa))), 128))
|
|
5033
5032
|
], 16, ra);
|
|
@@ -5302,7 +5301,7 @@ function wa(e, t, n, r, o, i) {
|
|
|
5302
5301
|
]);
|
|
5303
5302
|
}
|
|
5304
5303
|
const Ea = /* @__PURE__ */ V(ya, [["render", wa]]), Ia = () => [{
|
|
5305
|
-
component:
|
|
5304
|
+
component: js,
|
|
5306
5305
|
...As
|
|
5307
5306
|
}, {
|
|
5308
5307
|
component: Ws,
|
|
@@ -5344,7 +5343,7 @@ const Ea = /* @__PURE__ */ V(ya, [["render", wa]]), Ia = () => [{
|
|
|
5344
5343
|
component: Cs,
|
|
5345
5344
|
...bs
|
|
5346
5345
|
}, {
|
|
5347
|
-
component:
|
|
5346
|
+
component: jl,
|
|
5348
5347
|
...ws
|
|
5349
5348
|
}, {
|
|
5350
5349
|
component: Rs,
|
|
@@ -5461,7 +5460,7 @@ const Ea = /* @__PURE__ */ V(ya, [["render", wa]]), Ia = () => [{
|
|
|
5461
5460
|
})), Pa = ({
|
|
5462
5461
|
canTrack: e,
|
|
5463
5462
|
content: t
|
|
5464
|
-
}) => !(!(xt(t).length > 0) || !e),
|
|
5463
|
+
}) => !(!(xt(t).length > 0) || !e), Oa = (e) => e === "react" || e === "reactNative", to = Oa(de), ja = () => `
|
|
5465
5464
|
window.${Qr} = ${Aa}
|
|
5466
5465
|
window.${eo} = ${$a}
|
|
5467
5466
|
`, Na = (e, t) => `
|
|
@@ -5508,7 +5507,7 @@ function Rt(e, t = null, n = ".") {
|
|
|
5508
5507
|
const Ua = "v3", Cr = "builder.", Fa = "options.", oo = (e) => {
|
|
5509
5508
|
if (!e)
|
|
5510
5509
|
return {};
|
|
5511
|
-
const t =
|
|
5510
|
+
const t = Or(e), n = {};
|
|
5512
5511
|
return Object.keys(t).forEach((r) => {
|
|
5513
5512
|
if (r.startsWith(Cr)) {
|
|
5514
5513
|
const o = r.replace(Cr, "").replace(Fa, "");
|
|
@@ -5534,7 +5533,7 @@ const Ua = "v3", Cr = "builder.", Fa = "options.", oo = (e) => {
|
|
|
5534
5533
|
omit: y,
|
|
5535
5534
|
offset: f,
|
|
5536
5535
|
cacheSeconds: C,
|
|
5537
|
-
staleCacheSeconds:
|
|
5536
|
+
staleCacheSeconds: O,
|
|
5538
5537
|
sort: E,
|
|
5539
5538
|
includeUnpublished: F
|
|
5540
5539
|
} = e;
|
|
@@ -5543,7 +5542,7 @@ const Ua = "v3", Cr = "builder.", Fa = "options.", oo = (e) => {
|
|
|
5543
5542
|
if (!["v3"].includes(d))
|
|
5544
5543
|
throw new Error(`Invalid apiVersion: expected 'v3', received '${d}'`);
|
|
5545
5544
|
const se = t !== 1, W = new URL(`https://cdn.builder.io/api/${d}/content/${o}`);
|
|
5546
|
-
if (W.searchParams.set("apiKey", i), W.searchParams.set("limit", String(t)), W.searchParams.set("noTraverse", String(se)), W.searchParams.set("includeRefs", String(!0)), u && W.searchParams.set("locale", u), a && W.searchParams.set("enrich", String(a)), W.searchParams.set("omit", y || "meta.componentsUsed"), m && W.searchParams.set("fields", m), Number.isFinite(f) && f > -1 && W.searchParams.set("offset", String(Math.floor(f))), typeof F == "boolean" && W.searchParams.set("includeUnpublished", String(F)), C && wr(C) && W.searchParams.set("cacheSeconds", String(C)),
|
|
5545
|
+
if (W.searchParams.set("apiKey", i), W.searchParams.set("limit", String(t)), W.searchParams.set("noTraverse", String(se)), W.searchParams.set("includeRefs", String(!0)), u && W.searchParams.set("locale", u), a && W.searchParams.set("enrich", String(a)), W.searchParams.set("omit", y || "meta.componentsUsed"), m && W.searchParams.set("fields", m), Number.isFinite(f) && f > -1 && W.searchParams.set("offset", String(Math.floor(f))), typeof F == "boolean" && W.searchParams.set("includeUnpublished", String(F)), C && wr(C) && W.searchParams.set("cacheSeconds", String(C)), O && wr(O) && W.searchParams.set("staleCacheSeconds", String(O)), E) {
|
|
5547
5546
|
const ae = Rt({
|
|
5548
5547
|
sort: E
|
|
5549
5548
|
});
|
|
@@ -5552,7 +5551,7 @@ const Ua = "v3", Cr = "builder.", Fa = "options.", oo = (e) => {
|
|
|
5552
5551
|
}
|
|
5553
5552
|
const A = {
|
|
5554
5553
|
...Wa(),
|
|
5555
|
-
...
|
|
5554
|
+
...Or(e.options || {})
|
|
5556
5555
|
}, Me = Rt(A);
|
|
5557
5556
|
for (const ae in Me)
|
|
5558
5557
|
W.searchParams.set(ae, String(Me[ae]));
|
|
@@ -5607,7 +5606,7 @@ async function Ka(e) {
|
|
|
5607
5606
|
function _a(e) {
|
|
5608
5607
|
if (!X())
|
|
5609
5608
|
return !1;
|
|
5610
|
-
const t =
|
|
5609
|
+
const t = jr(e || window.location.search);
|
|
5611
5610
|
return ie(t) ? !1 : t.indexOf("builder.preview=") !== -1;
|
|
5612
5611
|
}
|
|
5613
5612
|
function za() {
|
|
@@ -5799,7 +5798,7 @@ function uo(e, t) {
|
|
|
5799
5798
|
const n = new URL(t.origin), r = n.hostname;
|
|
5800
5799
|
return (e || sl).findIndex((o) => o.startsWith("*.") ? r.endsWith(o.slice(1)) : o === r) > -1;
|
|
5801
5800
|
}
|
|
5802
|
-
const al = "1.0.
|
|
5801
|
+
const al = "1.0.21", Tr = {};
|
|
5803
5802
|
function ll(e, t) {
|
|
5804
5803
|
let n = Tr[e];
|
|
5805
5804
|
if (n || (n = Tr[e] = []), n.push(t), X()) {
|
|
@@ -5873,8 +5872,8 @@ const co = (e = {}) => {
|
|
|
5873
5872
|
let f, C = null;
|
|
5874
5873
|
try {
|
|
5875
5874
|
f = y.apply(null, d);
|
|
5876
|
-
} catch (
|
|
5877
|
-
C =
|
|
5875
|
+
} catch (O) {
|
|
5876
|
+
C = O;
|
|
5878
5877
|
}
|
|
5879
5878
|
C ? (i = window.parent) == null || i.postMessage({
|
|
5880
5879
|
type: "builder.evaluateError",
|
|
@@ -5882,13 +5881,13 @@ const co = (e = {}) => {
|
|
|
5882
5881
|
id: m,
|
|
5883
5882
|
error: C.message
|
|
5884
5883
|
}
|
|
5885
|
-
}, "*") : f && typeof f.then == "function" ? f.then((
|
|
5884
|
+
}, "*") : f && typeof f.then == "function" ? f.then((O) => {
|
|
5886
5885
|
var E;
|
|
5887
5886
|
(E = window.parent) == null || E.postMessage({
|
|
5888
5887
|
type: "builder.evaluateResult",
|
|
5889
5888
|
data: {
|
|
5890
5889
|
id: m,
|
|
5891
|
-
result:
|
|
5890
|
+
result: O
|
|
5892
5891
|
}
|
|
5893
5892
|
}, "*");
|
|
5894
5893
|
}).catch(console.error) : (a = window.parent) == null || a.postMessage({
|
|
@@ -5951,18 +5950,18 @@ const co = (e = {}) => {
|
|
|
5951
5950
|
name: "enable-editor",
|
|
5952
5951
|
props: [
|
|
5953
5952
|
"builderContextSignal",
|
|
5954
|
-
"contentWrapper",
|
|
5955
|
-
"model",
|
|
5956
|
-
"trustedHosts",
|
|
5957
|
-
"context",
|
|
5958
5953
|
"canTrack",
|
|
5959
5954
|
"apiKey",
|
|
5960
5955
|
"locale",
|
|
5961
5956
|
"enrich",
|
|
5957
|
+
"trustedHosts",
|
|
5958
|
+
"model",
|
|
5962
5959
|
"content",
|
|
5960
|
+
"data",
|
|
5961
|
+
"contentWrapper",
|
|
5962
|
+
"context",
|
|
5963
5963
|
"showContent",
|
|
5964
|
-
"contentWrapperProps"
|
|
5965
|
-
"data"
|
|
5964
|
+
"contentWrapperProps"
|
|
5966
5965
|
],
|
|
5967
5966
|
data() {
|
|
5968
5967
|
return {
|
|
@@ -6324,7 +6323,7 @@ font-weight: ${a};
|
|
|
6324
6323
|
}
|
|
6325
6324
|
`, yl = (e) => e ? "" : gl, vl = N({
|
|
6326
6325
|
name: "content-styles",
|
|
6327
|
-
components: { InlinedStyles:
|
|
6326
|
+
components: { InlinedStyles: jn },
|
|
6328
6327
|
props: ["cssCode", "contentId", "customFonts", "isNestedRender"],
|
|
6329
6328
|
data() {
|
|
6330
6329
|
return {
|
|
@@ -6375,13 +6374,13 @@ const kl = /* @__PURE__ */ V(vl, [["render", bl]]), Sl = ({
|
|
|
6375
6374
|
...t
|
|
6376
6375
|
},
|
|
6377
6376
|
meta: e == null ? void 0 : e.meta
|
|
6378
|
-
} : void 0, wl =
|
|
6377
|
+
} : void 0, wl = Oo, El = N({
|
|
6379
6378
|
name: "content-component",
|
|
6380
6379
|
components: {
|
|
6381
6380
|
EnableEditor: dl,
|
|
6382
6381
|
InlinedScript: no,
|
|
6383
6382
|
ContentStyles: kl,
|
|
6384
|
-
Blocks:
|
|
6383
|
+
Blocks: jt
|
|
6385
6384
|
},
|
|
6386
6385
|
props: [
|
|
6387
6386
|
"content",
|
|
@@ -6491,7 +6490,7 @@ function Il(e, t, n, r, o, i) {
|
|
|
6491
6490
|
trustedHosts: e.trustedHosts
|
|
6492
6491
|
}, {}), {
|
|
6493
6492
|
default: we(() => {
|
|
6494
|
-
var y, f, C,
|
|
6493
|
+
var y, f, C, O, E, F, se;
|
|
6495
6494
|
return [
|
|
6496
6495
|
e.isSsrAbTest ? (v(), B(a, {
|
|
6497
6496
|
key: 0,
|
|
@@ -6503,7 +6502,7 @@ function Il(e, t, n, r, o, i) {
|
|
|
6503
6502
|
isNestedRender: e.isNestedRender,
|
|
6504
6503
|
contentId: (y = e.builderContextSignal.content) == null ? void 0 : y.id,
|
|
6505
6504
|
cssCode: (C = (f = e.builderContextSignal.content) == null ? void 0 : f.data) == null ? void 0 : C.cssCode,
|
|
6506
|
-
customFonts: (E = (
|
|
6505
|
+
customFonts: (E = (O = e.builderContextSignal.content) == null ? void 0 : O.data) == null ? void 0 : E.customFonts
|
|
6507
6506
|
}, null, 8, ["isNestedRender", "contentId", "cssCode", "customFonts"])) : D("", !0),
|
|
6508
6507
|
Se(d, {
|
|
6509
6508
|
blocks: (se = (F = e.builderContextSignal.content) == null ? void 0 : F.data) == null ? void 0 : se.blocks,
|
|
@@ -6520,7 +6519,7 @@ const Tl = /* @__PURE__ */ V(El, [["render", Il]]), xl = N({
|
|
|
6520
6519
|
name: "content-variants",
|
|
6521
6520
|
components: {
|
|
6522
6521
|
InlinedScript: no,
|
|
6523
|
-
InlinedStyles:
|
|
6522
|
+
InlinedStyles: jn,
|
|
6524
6523
|
ContentComponent: Tl
|
|
6525
6524
|
},
|
|
6526
6525
|
props: [
|
|
@@ -6549,7 +6548,7 @@ const Tl = /* @__PURE__ */ V(El, [["render", Il]]), xl = N({
|
|
|
6549
6548
|
content: this.content
|
|
6550
6549
|
}),
|
|
6551
6550
|
TARGET: de,
|
|
6552
|
-
getInitVariantsFnsScriptString:
|
|
6551
|
+
getInitVariantsFnsScriptString: ja,
|
|
6553
6552
|
getVariants: xt
|
|
6554
6553
|
};
|
|
6555
6554
|
},
|
|
@@ -6668,8 +6667,8 @@ const Al = /* @__PURE__ */ V(xl, [["render", Rl]]), $l = async ({
|
|
|
6668
6667
|
name: "builder-symbol",
|
|
6669
6668
|
components: { ContentVariants: Al },
|
|
6670
6669
|
props: [
|
|
6671
|
-
"attributes",
|
|
6672
6670
|
"symbol",
|
|
6671
|
+
"attributes",
|
|
6673
6672
|
"dynamic",
|
|
6674
6673
|
"builderContext",
|
|
6675
6674
|
"builderBlock",
|
|
@@ -6718,7 +6717,7 @@ const Al = /* @__PURE__ */ V(xl, [["render", Rl]]), $l = async ({
|
|
|
6718
6717
|
}
|
|
6719
6718
|
}
|
|
6720
6719
|
});
|
|
6721
|
-
function
|
|
6720
|
+
function Ol(e, t, n, r, o, i) {
|
|
6722
6721
|
var u, d, m, y, f;
|
|
6723
6722
|
const a = U("content-variants");
|
|
6724
6723
|
return v(), $("div", J({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, ce(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
|
|
@@ -6744,7 +6743,7 @@ function jl(e, t, n, r, o, i) {
|
|
|
6744
6743
|
}, null, 8, ["apiVersion", "apiKey", "context", "customComponents", "data", "model", "content", "linkComponent"])
|
|
6745
6744
|
], 16);
|
|
6746
6745
|
}
|
|
6747
|
-
const
|
|
6746
|
+
const jl = /* @__PURE__ */ V(Pl, [["render", Ol]]), Rr = {};
|
|
6748
6747
|
function Hl(e) {
|
|
6749
6748
|
if (X()) {
|
|
6750
6749
|
Object.assign(Rr, e);
|
|
@@ -6777,7 +6776,7 @@ const Kl = async (e) => {
|
|
|
6777
6776
|
};
|
|
6778
6777
|
export {
|
|
6779
6778
|
Ka as A,
|
|
6780
|
-
|
|
6779
|
+
On as B,
|
|
6781
6780
|
Li as C,
|
|
6782
6781
|
Vn as D,
|
|
6783
6782
|
Vl as E,
|
|
@@ -6787,7 +6786,7 @@ export {
|
|
|
6787
6786
|
ns as S,
|
|
6788
6787
|
de as T,
|
|
6789
6788
|
Ea as V,
|
|
6790
|
-
|
|
6789
|
+
jn as _,
|
|
6791
6790
|
Fi as a,
|
|
6792
6791
|
Ml as b,
|
|
6793
6792
|
$e as c,
|
|
@@ -6799,9 +6798,9 @@ export {
|
|
|
6799
6798
|
gn as i,
|
|
6800
6799
|
un as j,
|
|
6801
6800
|
Fo as k,
|
|
6802
|
-
|
|
6801
|
+
jl as l,
|
|
6803
6802
|
Rs as m,
|
|
6804
|
-
|
|
6803
|
+
jt as n,
|
|
6805
6804
|
Al as o,
|
|
6806
6805
|
ie as p,
|
|
6807
6806
|
_a as q,
|