@builder.io/sdk-vue 0.5.8 → 0.5.9

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.
Files changed (86) hide show
  1. package/package.json +1 -1
  2. package/packages/_vue2/dist/{block-styles.53de235b.js → block-styles.2f2d681c.js} +5 -5
  3. package/packages/_vue2/dist/{block-styles.62ab6928.cjs → block-styles.e0c362f1.cjs} +1 -1
  4. package/packages/_vue2/dist/{block-wrapper.ffff3ae1.cjs → block-wrapper.60491ece.cjs} +1 -1
  5. package/packages/_vue2/dist/{block-wrapper.42f7cc18.js → block-wrapper.675417b1.js} +5 -5
  6. package/packages/_vue2/dist/{block.e75fc1fd.cjs → block.2b1ac86c.cjs} +2 -2
  7. package/packages/_vue2/dist/{block.32028ed9.js → block.b10ffc8d.js} +7 -7
  8. package/packages/_vue2/dist/{blocks-wrapper.545648f8.js → blocks-wrapper.1f4e53ec.js} +1 -1
  9. package/packages/_vue2/dist/{blocks-wrapper.f2ac2ced.cjs → blocks-wrapper.87c356a1.cjs} +1 -1
  10. package/packages/_vue2/dist/{component-ref.93c96dcf.js → component-ref.d1a3e1db.js} +16 -16
  11. package/packages/_vue2/dist/component-ref.e0e18275.cjs +1 -0
  12. package/packages/_vue2/dist/{content.f9bd5fcb.js → content.4dd9bed9.js} +5 -5
  13. package/packages/_vue2/dist/{content.f8c10901.cjs → content.e0c272e6.cjs} +1 -1
  14. package/packages/_vue2/dist/{css.3ca25316.js → css.3b52add0.js} +1 -1
  15. package/packages/_vue2/dist/{css.0a7231c0.cjs → css.5b6afc6e.cjs} +1 -1
  16. package/packages/_vue2/dist/{enable-editor.02af1249.cjs → enable-editor.29678a79.cjs} +1 -1
  17. package/packages/_vue2/dist/{enable-editor.94619084.js → enable-editor.c8c377d7.js} +3 -3
  18. package/packages/_vue2/dist/evaluate.585803ce.cjs +1 -0
  19. package/packages/_vue2/dist/evaluate.b622b309.js +97 -0
  20. package/packages/_vue2/dist/{get-block-actions.fcd3a65b.js → get-block-actions.17f0418a.js} +2 -2
  21. package/packages/_vue2/dist/{get-block-actions.f638af63.cjs → get-block-actions.cc26a1a3.cjs} +1 -1
  22. package/packages/_vue2/dist/{get-block-properties.1c8b2787.js → get-block-properties.3a4c9314.js} +2 -2
  23. package/packages/_vue2/dist/{get-block-properties.f62d4730.cjs → get-block-properties.fbe48fae.cjs} +1 -1
  24. package/packages/_vue2/dist/{get-processed-block.e1ff6ece.cjs → get-processed-block.5937bfa6.cjs} +1 -1
  25. package/packages/_vue2/dist/{get-processed-block.39e600d4.js → get-processed-block.92e6395c.js} +2 -2
  26. package/packages/_vue2/dist/{index.df94ab6d.cjs → index.04a22940.cjs} +7 -7
  27. package/packages/_vue2/dist/{index.68a558a0.js → index.835b8ee0.js} +52 -51
  28. package/packages/_vue2/dist/{inlined-script.4c3c12d0.cjs → inlined-script.0c7f9ce3.cjs} +1 -1
  29. package/packages/_vue2/dist/{inlined-script.502cfeff.js → inlined-script.3ec95873.js} +1 -1
  30. package/packages/_vue2/dist/{inlined-styles.f6b48786.cjs → inlined-styles.89ce41e1.cjs} +1 -1
  31. package/packages/_vue2/dist/{inlined-styles.1f1d5537.js → inlined-styles.ccff7c47.js} +1 -1
  32. package/packages/_vue2/dist/{interactive-element.a31f191b.js → interactive-element.fa779554.js} +5 -5
  33. package/packages/_vue2/dist/{interactive-element.edc14cd8.cjs → interactive-element.fdd261bc.cjs} +1 -1
  34. package/packages/_vue2/dist/{non-node-runtime.fc00e390.cjs → non-node-runtime.ddfeed94.cjs} +9 -9
  35. package/packages/{_vue3/dist/non-node-runtime.814a2495.js → _vue2/dist/non-node-runtime.eb7f6595.js} +66 -65
  36. package/packages/_vue2/dist/{repeated-block.d58b000e.js → repeated-block.3c989659.js} +2 -2
  37. package/packages/_vue2/dist/{repeated-block.9268c636.cjs → repeated-block.48fbaaab.cjs} +1 -1
  38. package/packages/_vue2/dist/sdk.cjs +1 -1
  39. package/packages/_vue2/dist/sdk.js +4 -4
  40. package/packages/_vue2/dist/src/components/content/content.types.d.ts +2 -2
  41. package/packages/_vue2/dist/src/components/content-variants/content-variants.types.d.ts +1 -1
  42. package/packages/_vue2/dist/src/constants/sdk-version.d.ts +1 -1
  43. package/packages/_vue2/dist/src/functions/evaluate/browser-runtime/browser.d.ts +4 -0
  44. package/packages/_vue2/dist/src/functions/evaluate/evaluate.d.ts +4 -8
  45. package/packages/_vue2/dist/src/functions/evaluate/helpers.d.ts +18 -0
  46. package/packages/_vue2/dist/src/functions/evaluate/index.d.ts +1 -1
  47. package/packages/_vue2/dist/src/functions/evaluate/non-node-runtime/non-node-runtime.d.ts +2 -2
  48. package/packages/_vue2/dist/src/functions/fetch-builder-props.d.ts +2 -2
  49. package/packages/_vue2/dist/src/index.d.ts +5 -14
  50. package/packages/_vue2/dist/src/server-index.d.ts +15 -0
  51. package/packages/_vue2/dist/{styles.4301545b.js → styles.22b87564.js} +2 -2
  52. package/packages/_vue2/dist/{styles.46962285.cjs → styles.a3209286.cjs} +3 -3
  53. package/packages/_vue3/dist/{block-wrapper.bf1030b0.cjs → block-wrapper.4abbfa5d.cjs} +1 -1
  54. package/packages/_vue3/dist/{block-wrapper.c8ec3e80.js → block-wrapper.e6a959ca.js} +2 -2
  55. package/packages/_vue3/dist/component-ref.16c18e90.cjs +1 -0
  56. package/packages/_vue3/dist/{component-ref.5b93cf21.js → component-ref.b3232d22.js} +19 -19
  57. package/packages/_vue3/dist/{get-block-actions.6af8791d.js → get-block-actions.48118020.js} +1 -1
  58. package/packages/_vue3/dist/{get-block-actions.60bff98a.cjs → get-block-actions.83a66ea4.cjs} +1 -1
  59. package/packages/_vue3/dist/{index.953837d2.js → index.ee80c2d7.js} +368 -349
  60. package/packages/_vue3/dist/index.f36face2.cjs +69 -0
  61. package/packages/{_vue2/dist/non-node-runtime.ded1660b.js → _vue3/dist/non-node-runtime.15581a63.js} +62 -64
  62. package/packages/_vue3/dist/{non-node-runtime.5930ba44.cjs → non-node-runtime.fb2b33d0.cjs} +8 -8
  63. package/packages/_vue3/dist/{repeated-block.0a776412.cjs → repeated-block.33f567b4.cjs} +1 -1
  64. package/packages/_vue3/dist/{repeated-block.f409b451.js → repeated-block.53ae8c41.js} +2 -2
  65. package/packages/_vue3/dist/sdk.cjs +1 -1
  66. package/packages/_vue3/dist/sdk.js +2 -2
  67. package/packages/_vue3/dist/src/components/content/content.types.d.ts +2 -2
  68. package/packages/_vue3/dist/src/components/content-variants/content-variants.types.d.ts +1 -1
  69. package/packages/_vue3/dist/src/constants/sdk-version.d.ts +1 -1
  70. package/packages/_vue3/dist/src/functions/evaluate/browser-runtime/browser.d.ts +4 -0
  71. package/packages/_vue3/dist/src/functions/evaluate/evaluate.d.ts +4 -8
  72. package/packages/_vue3/dist/src/functions/evaluate/helpers.d.ts +18 -0
  73. package/packages/_vue3/dist/src/functions/evaluate/index.d.ts +1 -1
  74. package/packages/_vue3/dist/src/functions/evaluate/non-node-runtime/non-node-runtime.d.ts +2 -2
  75. package/packages/_vue3/dist/src/functions/fetch-builder-props.d.ts +2 -2
  76. package/packages/_vue3/dist/src/index.d.ts +5 -14
  77. package/packages/_vue3/dist/src/server-index.d.ts +15 -0
  78. package/packages/_vue2/dist/component-ref.db6118ae.cjs +0 -1
  79. package/packages/_vue2/dist/evaluate.05948f83.js +0 -79
  80. package/packages/_vue2/dist/evaluate.0c3fa60b.cjs +0 -4
  81. package/packages/_vue2/dist/src/functions/evaluate/types.d.ts +0 -11
  82. package/packages/_vue3/dist/component-ref.cd85a4b1.cjs +0 -1
  83. package/packages/_vue3/dist/index.39827af2.cjs +0 -72
  84. package/packages/_vue3/dist/src/functions/evaluate/types.d.ts +0 -11
  85. /package/packages/_vue2/dist/src/functions/evaluate/{acorn-interpreter.d.ts → non-node-runtime/acorn-interpreter.d.ts} +0 -0
  86. /package/packages/_vue3/dist/src/functions/evaluate/{acorn-interpreter.d.ts → non-node-runtime/acorn-interpreter.d.ts} +0 -0
@@ -1,5 +1,5 @@
1
- import { e as p } from "./evaluate.05948f83.js";
2
- import { f as u } from "./index.68a558a0.js";
1
+ import { e as p } from "./evaluate.b622b309.js";
2
+ import { f as u } from "./index.835b8ee0.js";
3
3
  import { s as d } from "./set.b219ab0e.js";
4
4
  const m = ({
5
5
  block: n,
@@ -1,4 +1,4 @@
1
- "use strict";const y=require("vue");function T(e={},t,n){const o={};for(const r in e){if(!e[r]||n&&!r.startsWith(t))continue;const s=n?r.replace(t,""):r;o[s]=e[r]}return o}const ft=y.defineComponent({name:"builder-button",props:["attributes","text","link","openLinkInNewTab"],data(){return{filterAttrs:T}},methods:{_classStringToObject(e){const t={};if(typeof e!="string")return t;const n=e.trim().split(/\s+/);for(const o of n)t[o]=!0;return t}}});function b(e,t,n,o,r,s,i,u){var a=typeof e=="function"?e.options:e;t&&(a.render=t,a.staticRenderFns=n,a._compiled=!0),o&&(a.functional=!0),s&&(a._scopeId="data-v-"+s);var d;if(i?(d=function(c){c=c||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!c&&typeof __VUE_SSR_CONTEXT__<"u"&&(c=__VUE_SSR_CONTEXT__),r&&r.call(this,c),c&&c._registeredComponents&&c._registeredComponents.add(i)},a._ssrRegister=d):r&&(d=u?function(){r.call(this,(a.functional?this.parent:this).$root.$options.shadowRoot)}:r),d)if(a.functional){a._injectStyles=d;var f=a.render;a.render=function(m,l){return d.call(l),f(m,l)}}else{var p=a.beforeCreate;a.beforeCreate=p?[].concat(p,d):[d]}return{exports:e,options:a}}var pt=function(){var t=this,n=t._self._c;return t._self._setupProxy,t.link?n("a",t._g(t._b({attrs:{role:"button",href:t.link,target:t.openLinkInNewTab?"_blank":void 0}},"a",t.filterAttrs(t.attributes,"v-on:",!1),!1),t.filterAttrs(t.attributes,"v-on:",!0)),[t._v(" "+t._s(t.text)+" ")]):n("button",t._g(t._b({class:t._classStringToObject(t.attributes.class+" button-2fnk003dqad"),style:t.attributes.style},"button",t.filterAttrs(t.attributes,"v-on:",!1),!1),t.filterAttrs(t.attributes,"v-on:",!0)),[t._v(" "+t._s(t.text)+" ")])},ht=[],gt=b(ft,pt,ht,!1,null,"d03c6eb1",null,null);const bt=gt.exports,R=e=>JSON.parse(JSON.stringify(e)),z={small:{min:320,default:321,max:640},medium:{min:641,default:642,max:991},large:{min:990,default:991,max:1200}},_t=(e,t=z)=>`@media (max-width: ${t[e].max}px)`,G=({small:e,medium:t})=>{const n=R(z);if(!e||!t)return n;const o=Math.floor(e/2);n.small={max:e,min:o,default:o+1};const r=n.small.max+1;n.medium={max:t,min:r,default:r+1};const s=n.medium.max+1;return n.large={max:2e3,min:s,default:s+1},n},C="vue2",yt=()=>Promise.resolve().then(()=>H).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component Blocks at ../../components/blocks/blocks.vue",e),e}),vt=()=>Promise.resolve().then(()=>require("./inlined-styles.f6b48786.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component InlinedStyles at ../../components/inlined-styles.vue",e),e}),St=y.defineComponent({name:"builder-columns",components:{"inlined-styles":vt,blocks:yt},props:["js","space","columns","stackColumnsAt","reverseColumnsWhenStacked","builderContext","builderBlock","builderComponents"],data(){return{gutterSize:typeof this.space=="number"?this.space||0:20,cols:this.columns||[],stackAt:this.stackColumnsAt||"tablet",flexDir:this.stackColumnsAt==="never"?"row":this.reverseColumnsWhenStacked?"column-reverse":"column",TARGET:C}},computed:{columnsCssVars(){return{"--flex-dir":this.flexDir,"--flex-dir-tablet":this.getTabletStyle({stackedStyle:this.flexDir,desktopStyle:"row"})}},columnsStyles(){return`
1
+ "use strict";const y=require("vue");function T(e={},t,n){const o={};for(const r in e){if(!e[r]||n&&!r.startsWith(t))continue;const s=n?r.replace(t,""):r;o[s]=e[r]}return o}const pt=y.defineComponent({name:"builder-button",props:["attributes","text","link","openLinkInNewTab"],data(){return{filterAttrs:T}},methods:{_classStringToObject(e){const t={};if(typeof e!="string")return t;const n=e.trim().split(/\s+/);for(const o of n)t[o]=!0;return t}}});function _(e,t,n,o,r,s,i,u){var a=typeof e=="function"?e.options:e;t&&(a.render=t,a.staticRenderFns=n,a._compiled=!0),o&&(a.functional=!0),s&&(a._scopeId="data-v-"+s);var d;if(i?(d=function(c){c=c||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!c&&typeof __VUE_SSR_CONTEXT__<"u"&&(c=__VUE_SSR_CONTEXT__),r&&r.call(this,c),c&&c._registeredComponents&&c._registeredComponents.add(i)},a._ssrRegister=d):r&&(d=u?function(){r.call(this,(a.functional?this.parent:this).$root.$options.shadowRoot)}:r),d)if(a.functional){a._injectStyles=d;var f=a.render;a.render=function(m,l){return d.call(l),f(m,l)}}else{var p=a.beforeCreate;a.beforeCreate=p?[].concat(p,d):[d]}return{exports:e,options:a}}var ht=function(){var t=this,n=t._self._c;return t._self._setupProxy,t.link?n("a",t._g(t._b({attrs:{role:"button",href:t.link,target:t.openLinkInNewTab?"_blank":void 0}},"a",t.filterAttrs(t.attributes,"v-on:",!1),!1),t.filterAttrs(t.attributes,"v-on:",!0)),[t._v(" "+t._s(t.text)+" ")]):n("button",t._g(t._b({class:t._classStringToObject(t.attributes.class+" button-2fnk003dqad"),style:t.attributes.style},"button",t.filterAttrs(t.attributes,"v-on:",!1),!1),t.filterAttrs(t.attributes,"v-on:",!0)),[t._v(" "+t._s(t.text)+" ")])},gt=[],_t=_(pt,ht,gt,!1,null,"d03c6eb1",null,null);const bt=_t.exports,R=e=>JSON.parse(JSON.stringify(e)),z={small:{min:320,default:321,max:640},medium:{min:641,default:642,max:991},large:{min:990,default:991,max:1200}},yt=(e,t=z)=>`@media (max-width: ${t[e].max}px)`,G=({small:e,medium:t})=>{const n=R(z);if(!e||!t)return n;const o=Math.floor(e/2);n.small={max:e,min:o,default:o+1};const r=n.small.max+1;n.medium={max:t,min:r,default:r+1};const s=n.medium.max+1;return n.large={max:2e3,min:s,default:s+1},n},C="vue2",vt=()=>Promise.resolve().then(()=>H).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component Blocks at ../../components/blocks/blocks.vue",e),e}),St=()=>Promise.resolve().then(()=>require("./inlined-styles.89ce41e1.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component InlinedStyles at ../../components/inlined-styles.vue",e),e}),kt=y.defineComponent({name:"builder-columns",components:{"inlined-styles":St,blocks:vt},props:["js","space","columns","stackColumnsAt","reverseColumnsWhenStacked","builderContext","builderBlock","builderComponents"],data(){return{gutterSize:typeof this.space=="number"?this.space||0:20,cols:this.columns||[],stackAt:this.stackColumnsAt||"tablet",flexDir:this.stackColumnsAt==="never"?"row":this.reverseColumnsWhenStacked?"column-reverse":"column",TARGET:C}},computed:{columnsCssVars(){return{"--flex-dir":this.flexDir,"--flex-dir-tablet":this.getTabletStyle({stackedStyle:this.flexDir,desktopStyle:"row"})}},columnsStyles(){return`
2
2
  @media (max-width: ${this.getWidthForBreakpointSize("medium")}px) {
3
3
  .${this.builderBlock.id}-breakpoints {
4
4
  flex-direction: var(--flex-dir-tablet);
@@ -22,11 +22,11 @@
22
22
  margin-left: var(--column-margin-left-mobile) !important;
23
23
  }
24
24
  },
25
- `}},methods:{getWidth(e){var t;return((t=this.cols[e])==null?void 0:t.width)||100/this.cols.length},getColumnCssWidth(e){const t=this.gutterSize*(this.cols.length-1)/this.cols.length;return`calc(${this.getWidth(e)}% - ${t}px)`},getTabletStyle({stackedStyle:e,desktopStyle:t}){return this.stackAt==="tablet"?e:t},getMobileStyle({stackedStyle:e,desktopStyle:t}){return this.stackAt==="never"?t:e},columnCssVars(e){const t=e===0?0:this.gutterSize,n=this.getColumnCssWidth(e),o=`${t}px`,r="100%",s=0;return{width:n,["margin-left"]:o,"--column-width-mobile":this.getMobileStyle({stackedStyle:r,desktopStyle:n}),"--column-margin-left-mobile":this.getMobileStyle({stackedStyle:s,desktopStyle:o}),"--column-width-tablet":this.getTabletStyle({stackedStyle:r,desktopStyle:n}),"--column-margin-left-tablet":this.getTabletStyle({stackedStyle:s,desktopStyle:o})}},getWidthForBreakpointSize(e){var n,o;return G(((o=(n=this.builderContext.content)==null?void 0:n.meta)==null?void 0:o.breakpoints)||{})[e].max},_classStringToObject(e){const t={};if(typeof e!="string")return t;const n=e.trim().split(/\s+/);for(const o of n)t[o]=!0;return t}}});var kt=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("div",t._b({class:t._classStringToObject(`builder-columns ${t.builderBlock.id}-breakpoints div-t9spj7joih`),style:t.columnsCssVars},"div",{},!1),[t.TARGET!=="reactNative"?[n("inlined-styles",{attrs:{styles:t.columnsStyles}})]:t._e(),t._l(t.columns,function(o,r){return n("div",t._b({key:r,staticClass:"builder-column div-t9spj7joih-2",style:t.columnCssVars(r)},"div",{},!1),[n("blocks",{attrs:{blocks:o.blocks,path:`component.options.columns.${r}.blocks`,parent:t.builderBlock.id,styleProp:{flexGrow:"1"},context:t.builderContext,registeredComponents:t.builderComponents}})],1)})],2)},Ct=[],xt=b(St,kt,Ct,!1,null,"b1c2e5e0",null,null);const wt=xt.exports,$t=y.defineComponent({name:"builder-fragment-component",props:[]});var Tt=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("span",[t._t("default")],2)},Rt=[],It=b($t,Tt,Rt,!1,null,null,null,null);const Pt=It.exports;function M(e){return e.replace(/http(s)?:/,"")}function At(e="",t,n){const o=new RegExp("([?&])"+t+"=.*?(&|$)","i"),r=e.indexOf("?")!==-1?"&":"?";return e.match(o)?e.replace(o,"$1"+t+"="+encodeURIComponent(n)+"$2"):e+r+t+"="+encodeURIComponent(n)}function Et(e,t){if(!e||!(e!=null&&e.match(/cdn\.shopify\.com/))||!t)return e;if(t==="master")return M(e);const n=e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);if(n){const o=e.split(n[0]),r=n[3],s=t.match("x")?t:`${t}x`;return M(`${o[0]}_${s}${r}`)}return null}function P(e){if(!e)return e;const t=[100,200,400,800,1200,1600,2e3];if(e.match(/builder\.io/)){let n=e;const o=Number(e.split("?width=")[1]);return isNaN(o)||(n=`${n} ${o}w`),t.filter(r=>r!==o).map(r=>`${At(e,"width",r)} ${r}w`).concat([n]).join(", ")}return e.match(/cdn\.shopify\.com/)?t.map(n=>[Et(e,`${n}x${n}`),n]).filter(([n])=>!!n).map(([n,o])=>`${n} ${o}w`).concat([e]).join(", "):e}const Ot=y.defineComponent({name:"builder-image",props:["image","src","srcset","noWebp","aspectRatio","altText","backgroundPosition","backgroundSize","className","sizes","builderBlock","fitContent"],computed:{srcSetToUse(){var n;const t=this.image||this.src;if(!t||!(t.match(/builder\.io/)||t.match(/cdn\.shopify\.com/)))return this.srcset;if(this.srcset&&((n=this.image)==null?void 0:n.includes("builder.io/api/v1/image"))){if(!this.srcset.includes(this.image.split("?")[0]))return console.debug("Removed given srcset"),P(t)}else if(this.image&&!this.srcset)return P(t);return P(t)},webpSrcSet(){var e;return((e=this.srcSetToUse)==null?void 0:e.match(/builder\.io/))&&!this.noWebp?this.srcSetToUse.replace(/\?/g,"?format=webp&"):""},aspectRatioCss(){const e={position:"absolute",height:"100%",width:"100%",left:"0px",top:"0px"};return this.aspectRatio?e:void 0}},methods:{_classStringToObject(e){const t={};if(typeof e!="string")return t;const n=e.trim().split(/\s+/);for(const o of n)t[o]=!0;return t}}});var Vt=function(){var o,r,s,i;var t=this,n=t._self._c;return t._self._setupProxy,n("div",[n("picture",[t.webpSrcSet?[n("source",{attrs:{type:"image/webp",srcset:t.webpSrcSet}})]:t._e(),n("img",{class:t._classStringToObject("builder-image"+(t.className?" "+t.className:"")+" img-1pl23ac79ld"),style:{objectPosition:t.backgroundPosition||"center",objectFit:t.backgroundSize||"cover",...t.aspectRatioCss},attrs:{loading:"lazy",alt:t.altText,role:t.altText?"presentation":void 0,src:t.image,srcset:t.srcSetToUse,sizes:t.sizes}})],2),t.aspectRatio&&!(((r=(o=t.builderBlock)==null?void 0:o.children)==null?void 0:r.length)&&t.fitContent)?[n("div",{staticClass:"builder-image-sizer div-1pl23ac79ld",style:{paddingTop:t.aspectRatio*100+"%"}})]:t._e(),((i=(s=t.builderBlock)==null?void 0:s.children)==null?void 0:i.length)&&t.fitContent?[t._t("default")]:t._e(),!t.fitContent&&t.$slots.default?[n("div",{staticClass:"div-1pl23ac79ld-2"},[t._t("default")],2)]:t._e()],2)},Bt=[],jt=b(Ot,Vt,Bt,!1,null,"29cdebee",null,null);const Nt=jt.exports,Ft=y.defineComponent({name:"builder-section-component",props:["attributes","maxWidth"],data(){return{filterAttrs:T}}});var Ut=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("section",t._g(t._b({style:{width:"100%",alignSelf:"stretch",flexGrow:1,boxSizing:"border-box",maxWidth:t.maxWidth||1200,display:"flex",flexDirection:"column",alignItems:"stretch",marginLeft:"auto",marginRight:"auto"}},"section",t.filterAttrs(t.attributes,"v-on:",!1),!1),t.filterAttrs(t.attributes,"v-on:",!0)),[t._t("default")],2)},Mt=[],Wt=b(Ft,Ut,Mt,!1,null,null,null,null);const Lt=Wt.exports,w="[Builder.io]: ",v={log:(...e)=>console.log(w,...e),error:(...e)=>console.error(w,...e),warn:(...e)=>console.warn(w,...e),debug:(...e)=>console.debug(w,...e)},Kt=async({builderContextValue:e,symbol:t})=>{if((t==null?void 0:t.model)&&(e==null?void 0:e.apiKey))return I({model:t.model,apiKey:e.apiKey,apiVersion:e.apiVersion,...(t==null?void 0:t.entry)&&{query:{id:t.entry}}}).catch(n=>{v.error("Could not fetch symbol content: ",n)})},zt=()=>Promise.resolve().then(()=>Me).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component ContentVariants at ../../components/content-variants/content-variants.vue",e),e}),Gt=y.defineComponent({name:"builder-symbol",components:{"content-variants":zt},props:["js","attributes","symbol","dynamic","builderContext","builderComponents"],data(){var e;return{contentToUse:(e=this.symbol)==null?void 0:e.content,filterAttrs:T}},mounted(){this.setContent()},watch:{onUpdateHook0:{handler(){this.setContent()},immediate:!0}},computed:{className(){var e,t;return[...Object.keys(this.attributes.class),"builder-symbol",(e=this.symbol)!=null&&e.inline?"builder-inline-symbol":void 0,((t=this.symbol)==null?void 0:t.dynamic)||this.dynamic?"builder-dynamic-symbol":void 0].filter(Boolean).join(" ")},onUpdateHook0(){return{0:this.symbol}}},methods:{setContent(){this.contentToUse||Kt({symbol:this.symbol,builderContextValue:this.builderContext}).then(e=>{e&&(this.contentToUse=e)})},_classStringToObject(e){const t={};if(typeof e!="string")return t;const n=e.trim().split(/\s+/);for(const o of n)t[o]=!0;return t}}});var qt=function(){var o,r,s,i;var t=this,n=t._self._c;return t._self._setupProxy,n("div",t._g(t._b({class:t._classStringToObject(t.className)},"div",{...t.filterAttrs(t.attributes,"v-on:",!1)},!1),t.filterAttrs(t.attributes,"v-on:",!0)),[n("content-variants",{attrs:{__isNestedRender:!0,apiVersion:t.builderContext.apiVersion,apiKey:t.builderContext.apiKey,context:t.builderContext.context,customComponents:Object.values(t.builderComponents),data:{...(o=t.symbol)==null?void 0:o.data,...t.builderContext.localState,...(s=(r=t.contentToUse)==null?void 0:r.data)==null?void 0:s.state},model:(i=t.symbol)==null?void 0:i.model,content:t.contentToUse}})],1)},Dt=[],Ht=b(Gt,qt,Dt,!1,null,null,null,null);const Jt=Ht.exports,Qt=y.defineComponent({name:"builder-text",props:["text"]});var Xt=function(){var o;var t=this,n=t._self._c;return t._self._setupProxy,n("span",t._b({staticClass:"builder-text",style:{outline:"none"},domProps:{innerHTML:t._s(((o=t.text)==null?void 0:o.toString())||"")}},"span",{},!1))},Yt=[],Zt=b(Qt,Xt,Yt,!1,null,null,null,null);const te=Zt.exports,ee=y.defineComponent({name:"builder-video",props:["autoPlay","muted","controls","loop","playsInline","attributes","preload","fit","position","video","posterImage"],computed:{videoProps(){return{...this.autoPlay===!0?{autoPlay:!0}:{},...this.muted===!0?{muted:!0}:{},...this.controls===!0?{controls:!0}:{},...this.loop===!0?{loop:!0}:{},...this.playsInline===!0?{playsInline:!0}:{}}},spreadProps(){return{...this.attributes,...this.videoProps}}}});var ne=function(){var o;var t=this,n=t._self._c;return t._self._setupProxy,n("video",t._b({style:{width:"100%",height:"100%",...(o=t.attributes)==null?void 0:o.style,objectFit:t.fit,objectPosition:t.position,borderRadius:1},attrs:{preload:t.preload||"metadata",src:t.video||"no-src",poster:t.posterImage}},"video",t.spreadProps,!1))},oe=[],re=b(ee,ne,oe,!1,null,null,null,null);const se=re.exports,ie=Symbol(),q={Builder:{content:null,context:{},localState:void 0,rootSetState(){},rootState:{},apiKey:null,apiVersion:void 0,componentInfos:{},inheritedStyles:{}},key:ie},ae=Symbol(),D={Components:{registeredComponents:{}},key:ae},ce=()=>Promise.resolve().then(()=>require("./block-styles.62ab6928.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component BlockStyles at ../block/components/block-styles.vue",e),e}),le=()=>Promise.resolve().then(()=>require("./block.e75fc1fd.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component Block at ../block/block.vue",e),e}),ue=()=>Promise.resolve().then(()=>require("./blocks-wrapper.f2ac2ced.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component BlocksWrapper at ./blocks-wrapper.vue",e),e}),de=y.defineComponent({name:"builder-blocks",components:{"blocks-wrapper":ue,block:le,"block-styles":ce},props:["blocks","parent","path","styleProp","context","registeredComponents"],inject:{builderContext:q.key,componentsContext:D.key}});var me=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("blocks-wrapper",{attrs:{blocks:t.blocks,parent:t.parent,path:t.path,styleProp:t.styleProp}},[t.blocks?t._l(t.blocks,function(o,r){return n("block",{key:"render-block-"+o.id,attrs:{block:o,context:t.context||t.builderContext,registeredComponents:t.registeredComponents||t.componentsContext.registeredComponents}})}):t._e(),t.blocks?t._l(t.blocks,function(o,r){return n("block-styles",{key:"block-style-"+o.id,attrs:{block:o,context:t.context||t.builderContext}})}):t._e()],2)},fe=[],pe=b(de,me,fe,!1,null,null,null,null);const O=pe.exports,H=Object.freeze(Object.defineProperty({__proto__:null,default:O},Symbol.toStringTag,{value:"Module"}));function _(){return typeof window<"u"&&typeof document<"u"}const $=e=>Object.values((e==null?void 0:e.variations)||{}).map(t=>({...t,testVariationId:t.id,id:e==null?void 0:e.id})),he=({canTrack:e,content:t})=>!(!($(t).length>0)||!e);function ge(e,t,n){var i;function o(){function u(l,h,S){let x="";if(S){const g=new Date;g.setTime(g.getTime()+S*24*60*60*1e3),x="; expires="+g.toUTCString()}document.cookie=l+"="+(h||"")+x+"; path=/; Secure; SameSite=None"}function a(l){const h=l+"=",S=document.cookie.split(";");for(let x=0;x<S.length;x++){let g=S[x];for(;g.charAt(0)===" ";)g=g.substring(1,g.length);if(g.indexOf(h)===0)return g.substring(h.length,g.length)}return null}const d=`builder.tests.${e}`,f=a(d),p=t.map(l=>l.id).concat(e);if(f&&p.includes(f))return f;let c=0;const m=Math.random();for(let l=0;l<t.length;l++){const h=t[l],S=h.testRatio;if(c+=S,m<c)return u(d,h.id),h.id}return u(d,e),e}const r=o(),s=(i=document.currentScript)==null?void 0:i.previousElementSibling;if(n){s.remove();const u=document.currentScript;u==null||u.remove()}else{const u=t.concat({id:e}).filter(a=>a.id!==r).map(a=>`.variant-${a.id} { display: none; }
26
- `).join("");s.innerHTML=u}}function be(e,t,n){var a;if(!navigator.cookieEnabled)return;function o(d){const f=d+"=",p=document.cookie.split(";");for(let c=0;c<p.length;c++){let m=p[c];for(;m.charAt(0)===" ";)m=m.substring(1,m.length);if(m.indexOf(f)===0)return m.substring(f.length,m.length)}return null}const r=`builder.tests.${t}`,s=o(r),i=(a=document.currentScript)==null?void 0:a.parentElement,u=e===t;if(s===e){if(u)return;i==null||i.removeAttribute("hidden"),i==null||i.removeAttribute("aria-hidden")}else{u&&(n?i==null||i.remove():(i==null||i.setAttribute("hidden","true"),i==null||i.setAttribute("aria-hidden","true")));return}}const _e=e=>e==="react"||e==="reactNative",J=_e(C),Q="builderIoAbTest",X="builderIoRenderContent",ye=()=>{const e=ge.toString().replace(/\s+/g," "),t=be.toString().replace(/\s+/g," ");return`
25
+ `}},methods:{getWidth(e){var t;return((t=this.cols[e])==null?void 0:t.width)||100/this.cols.length},getColumnCssWidth(e){const t=this.gutterSize*(this.cols.length-1)/this.cols.length;return`calc(${this.getWidth(e)}% - ${t}px)`},getTabletStyle({stackedStyle:e,desktopStyle:t}){return this.stackAt==="tablet"?e:t},getMobileStyle({stackedStyle:e,desktopStyle:t}){return this.stackAt==="never"?t:e},columnCssVars(e){const t=e===0?0:this.gutterSize,n=this.getColumnCssWidth(e),o=`${t}px`,r="100%",s=0;return{width:n,["margin-left"]:o,"--column-width-mobile":this.getMobileStyle({stackedStyle:r,desktopStyle:n}),"--column-margin-left-mobile":this.getMobileStyle({stackedStyle:s,desktopStyle:o}),"--column-width-tablet":this.getTabletStyle({stackedStyle:r,desktopStyle:n}),"--column-margin-left-tablet":this.getTabletStyle({stackedStyle:s,desktopStyle:o})}},getWidthForBreakpointSize(e){var n,o;return G(((o=(n=this.builderContext.content)==null?void 0:n.meta)==null?void 0:o.breakpoints)||{})[e].max},_classStringToObject(e){const t={};if(typeof e!="string")return t;const n=e.trim().split(/\s+/);for(const o of n)t[o]=!0;return t}}});var Ct=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("div",t._b({class:t._classStringToObject(`builder-columns ${t.builderBlock.id}-breakpoints div-t9spj7joih`),style:t.columnsCssVars},"div",{},!1),[t.TARGET!=="reactNative"?[n("inlined-styles",{attrs:{styles:t.columnsStyles}})]:t._e(),t._l(t.columns,function(o,r){return n("div",t._b({key:r,staticClass:"builder-column div-t9spj7joih-2",style:t.columnCssVars(r)},"div",{},!1),[n("blocks",{attrs:{blocks:o.blocks,path:`component.options.columns.${r}.blocks`,parent:t.builderBlock.id,styleProp:{flexGrow:"1"},context:t.builderContext,registeredComponents:t.builderComponents}})],1)})],2)},xt=[],wt=_(kt,Ct,xt,!1,null,"b1c2e5e0",null,null);const $t=wt.exports,Tt=y.defineComponent({name:"builder-fragment-component",props:[]});var Rt=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("span",[t._t("default")],2)},It=[],Pt=_(Tt,Rt,It,!1,null,null,null,null);const At=Pt.exports;function M(e){return e.replace(/http(s)?:/,"")}function Et(e="",t,n){const o=new RegExp("([?&])"+t+"=.*?(&|$)","i"),r=e.indexOf("?")!==-1?"&":"?";return e.match(o)?e.replace(o,"$1"+t+"="+encodeURIComponent(n)+"$2"):e+r+t+"="+encodeURIComponent(n)}function Ot(e,t){if(!e||!(e!=null&&e.match(/cdn\.shopify\.com/))||!t)return e;if(t==="master")return M(e);const n=e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);if(n){const o=e.split(n[0]),r=n[3],s=t.match("x")?t:`${t}x`;return M(`${o[0]}_${s}${r}`)}return null}function P(e){if(!e)return e;const t=[100,200,400,800,1200,1600,2e3];if(e.match(/builder\.io/)){let n=e;const o=Number(e.split("?width=")[1]);return isNaN(o)||(n=`${n} ${o}w`),t.filter(r=>r!==o).map(r=>`${Et(e,"width",r)} ${r}w`).concat([n]).join(", ")}return e.match(/cdn\.shopify\.com/)?t.map(n=>[Ot(e,`${n}x${n}`),n]).filter(([n])=>!!n).map(([n,o])=>`${n} ${o}w`).concat([e]).join(", "):e}const Vt=y.defineComponent({name:"builder-image",props:["image","src","srcset","noWebp","aspectRatio","altText","backgroundPosition","backgroundSize","className","sizes","builderBlock","fitContent"],computed:{srcSetToUse(){var n;const t=this.image||this.src;if(!t||!(t.match(/builder\.io/)||t.match(/cdn\.shopify\.com/)))return this.srcset;if(this.srcset&&((n=this.image)==null?void 0:n.includes("builder.io/api/v1/image"))){if(!this.srcset.includes(this.image.split("?")[0]))return console.debug("Removed given srcset"),P(t)}else if(this.image&&!this.srcset)return P(t);return P(t)},webpSrcSet(){var e;return((e=this.srcSetToUse)==null?void 0:e.match(/builder\.io/))&&!this.noWebp?this.srcSetToUse.replace(/\?/g,"?format=webp&"):""},aspectRatioCss(){const e={position:"absolute",height:"100%",width:"100%",left:"0px",top:"0px"};return this.aspectRatio?e:void 0}},methods:{_classStringToObject(e){const t={};if(typeof e!="string")return t;const n=e.trim().split(/\s+/);for(const o of n)t[o]=!0;return t}}});var Bt=function(){var o,r,s,i;var t=this,n=t._self._c;return t._self._setupProxy,n("div",[n("picture",[t.webpSrcSet?[n("source",{attrs:{type:"image/webp",srcset:t.webpSrcSet}})]:t._e(),n("img",{class:t._classStringToObject("builder-image"+(t.className?" "+t.className:"")+" img-1pl23ac79ld"),style:{objectPosition:t.backgroundPosition||"center",objectFit:t.backgroundSize||"cover",...t.aspectRatioCss},attrs:{loading:"lazy",alt:t.altText,role:t.altText?"presentation":void 0,src:t.image,srcset:t.srcSetToUse,sizes:t.sizes}})],2),t.aspectRatio&&!(((r=(o=t.builderBlock)==null?void 0:o.children)==null?void 0:r.length)&&t.fitContent)?[n("div",{staticClass:"builder-image-sizer div-1pl23ac79ld",style:{paddingTop:t.aspectRatio*100+"%"}})]:t._e(),((i=(s=t.builderBlock)==null?void 0:s.children)==null?void 0:i.length)&&t.fitContent?[t._t("default")]:t._e(),!t.fitContent&&t.$slots.default?[n("div",{staticClass:"div-1pl23ac79ld-2"},[t._t("default")],2)]:t._e()],2)},jt=[],Nt=_(Vt,Bt,jt,!1,null,"29cdebee",null,null);const Ft=Nt.exports,Ut=y.defineComponent({name:"builder-section-component",props:["attributes","maxWidth"],data(){return{filterAttrs:T}}});var Mt=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("section",t._g(t._b({style:{width:"100%",alignSelf:"stretch",flexGrow:1,boxSizing:"border-box",maxWidth:t.maxWidth||1200,display:"flex",flexDirection:"column",alignItems:"stretch",marginLeft:"auto",marginRight:"auto"}},"section",t.filterAttrs(t.attributes,"v-on:",!1),!1),t.filterAttrs(t.attributes,"v-on:",!0)),[t._t("default")],2)},Wt=[],Lt=_(Ut,Mt,Wt,!1,null,null,null,null);const Kt=Lt.exports,w="[Builder.io]: ",v={log:(...e)=>console.log(w,...e),error:(...e)=>console.error(w,...e),warn:(...e)=>console.warn(w,...e),debug:(...e)=>console.debug(w,...e)},zt=async({builderContextValue:e,symbol:t})=>{if((t==null?void 0:t.model)&&(e==null?void 0:e.apiKey))return I({model:t.model,apiKey:e.apiKey,apiVersion:e.apiVersion,...(t==null?void 0:t.entry)&&{query:{id:t.entry}}}).catch(n=>{v.error("Could not fetch symbol content: ",n)})},Gt=()=>Promise.resolve().then(()=>We).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component ContentVariants at ../../components/content-variants/content-variants.vue",e),e}),qt=y.defineComponent({name:"builder-symbol",components:{"content-variants":Gt},props:["js","attributes","symbol","dynamic","builderContext","builderComponents"],data(){var e;return{contentToUse:(e=this.symbol)==null?void 0:e.content,filterAttrs:T}},mounted(){this.setContent()},watch:{onUpdateHook0:{handler(){this.setContent()},immediate:!0}},computed:{className(){var e,t;return[...Object.keys(this.attributes.class),"builder-symbol",(e=this.symbol)!=null&&e.inline?"builder-inline-symbol":void 0,((t=this.symbol)==null?void 0:t.dynamic)||this.dynamic?"builder-dynamic-symbol":void 0].filter(Boolean).join(" ")},onUpdateHook0(){return{0:this.symbol}}},methods:{setContent(){this.contentToUse||zt({symbol:this.symbol,builderContextValue:this.builderContext}).then(e=>{e&&(this.contentToUse=e)})},_classStringToObject(e){const t={};if(typeof e!="string")return t;const n=e.trim().split(/\s+/);for(const o of n)t[o]=!0;return t}}});var Dt=function(){var o,r,s,i;var t=this,n=t._self._c;return t._self._setupProxy,n("div",t._g(t._b({class:t._classStringToObject(t.className)},"div",{...t.filterAttrs(t.attributes,"v-on:",!1)},!1),t.filterAttrs(t.attributes,"v-on:",!0)),[n("content-variants",{attrs:{__isNestedRender:!0,apiVersion:t.builderContext.apiVersion,apiKey:t.builderContext.apiKey,context:t.builderContext.context,customComponents:Object.values(t.builderComponents),data:{...(o=t.symbol)==null?void 0:o.data,...t.builderContext.localState,...(s=(r=t.contentToUse)==null?void 0:r.data)==null?void 0:s.state},model:(i=t.symbol)==null?void 0:i.model,content:t.contentToUse}})],1)},Ht=[],Jt=_(qt,Dt,Ht,!1,null,null,null,null);const Qt=Jt.exports,Xt=y.defineComponent({name:"builder-text",props:["text"]});var Yt=function(){var o;var t=this,n=t._self._c;return t._self._setupProxy,n("span",t._b({staticClass:"builder-text",style:{outline:"none"},domProps:{innerHTML:t._s(((o=t.text)==null?void 0:o.toString())||"")}},"span",{},!1))},Zt=[],te=_(Xt,Yt,Zt,!1,null,null,null,null);const ee=te.exports,ne=y.defineComponent({name:"builder-video",props:["autoPlay","muted","controls","loop","playsInline","attributes","preload","fit","position","video","posterImage"],computed:{videoProps(){return{...this.autoPlay===!0?{autoPlay:!0}:{},...this.muted===!0?{muted:!0}:{},...this.controls===!0?{controls:!0}:{},...this.loop===!0?{loop:!0}:{},...this.playsInline===!0?{playsInline:!0}:{}}},spreadProps(){return{...this.attributes,...this.videoProps}}}});var oe=function(){var o;var t=this,n=t._self._c;return t._self._setupProxy,n("video",t._b({style:{width:"100%",height:"100%",...(o=t.attributes)==null?void 0:o.style,objectFit:t.fit,objectPosition:t.position,borderRadius:1},attrs:{preload:t.preload||"metadata",src:t.video||"no-src",poster:t.posterImage}},"video",t.spreadProps,!1))},re=[],se=_(ne,oe,re,!1,null,null,null,null);const ie=se.exports,ae=Symbol(),q={Builder:{content:null,context:{},localState:void 0,rootSetState(){},rootState:{},apiKey:null,apiVersion:void 0,componentInfos:{},inheritedStyles:{}},key:ae},ce=Symbol(),D={Components:{registeredComponents:{}},key:ce},le=()=>Promise.resolve().then(()=>require("./block-styles.e0c362f1.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component BlockStyles at ../block/components/block-styles.vue",e),e}),ue=()=>Promise.resolve().then(()=>require("./block.2b1ac86c.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component Block at ../block/block.vue",e),e}),de=()=>Promise.resolve().then(()=>require("./blocks-wrapper.87c356a1.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component BlocksWrapper at ./blocks-wrapper.vue",e),e}),me=y.defineComponent({name:"builder-blocks",components:{"blocks-wrapper":de,block:ue,"block-styles":le},props:["blocks","parent","path","styleProp","context","registeredComponents"],inject:{builderContext:q.key,componentsContext:D.key}});var fe=function(){var t=this,n=t._self._c;return t._self._setupProxy,n("blocks-wrapper",{attrs:{blocks:t.blocks,parent:t.parent,path:t.path,styleProp:t.styleProp}},[t.blocks?t._l(t.blocks,function(o,r){return n("block",{key:"render-block-"+o.id,attrs:{block:o,context:t.context||t.builderContext,registeredComponents:t.registeredComponents||t.componentsContext.registeredComponents}})}):t._e(),t.blocks?t._l(t.blocks,function(o,r){return n("block-styles",{key:"block-style-"+o.id,attrs:{block:o,context:t.context||t.builderContext}})}):t._e()],2)},pe=[],he=_(me,fe,pe,!1,null,null,null,null);const O=he.exports,H=Object.freeze(Object.defineProperty({__proto__:null,default:O},Symbol.toStringTag,{value:"Module"}));function b(){return typeof window<"u"&&typeof document<"u"}const $=e=>Object.values((e==null?void 0:e.variations)||{}).map(t=>({...t,testVariationId:t.id,id:e==null?void 0:e.id})),ge=({canTrack:e,content:t})=>!(!($(t).length>0)||!e);function _e(e,t,n){var i;function o(){function u(l,h,S){let x="";if(S){const g=new Date;g.setTime(g.getTime()+S*24*60*60*1e3),x="; expires="+g.toUTCString()}document.cookie=l+"="+(h||"")+x+"; path=/; Secure; SameSite=None"}function a(l){const h=l+"=",S=document.cookie.split(";");for(let x=0;x<S.length;x++){let g=S[x];for(;g.charAt(0)===" ";)g=g.substring(1,g.length);if(g.indexOf(h)===0)return g.substring(h.length,g.length)}return null}const d=`builder.tests.${e}`,f=a(d),p=t.map(l=>l.id).concat(e);if(f&&p.includes(f))return f;let c=0;const m=Math.random();for(let l=0;l<t.length;l++){const h=t[l],S=h.testRatio;if(c+=S,m<c)return u(d,h.id),h.id}return u(d,e),e}const r=o(),s=(i=document.currentScript)==null?void 0:i.previousElementSibling;if(n){s.remove();const u=document.currentScript;u==null||u.remove()}else{const u=t.concat({id:e}).filter(a=>a.id!==r).map(a=>`.variant-${a.id} { display: none; }
26
+ `).join("");s.innerHTML=u}}function be(e,t,n){var a;if(!navigator.cookieEnabled)return;function o(d){const f=d+"=",p=document.cookie.split(";");for(let c=0;c<p.length;c++){let m=p[c];for(;m.charAt(0)===" ";)m=m.substring(1,m.length);if(m.indexOf(f)===0)return m.substring(f.length,m.length)}return null}const r=`builder.tests.${t}`,s=o(r),i=(a=document.currentScript)==null?void 0:a.parentElement,u=e===t;if(s===e){if(u)return;i==null||i.removeAttribute("hidden"),i==null||i.removeAttribute("aria-hidden")}else{u&&(n?i==null||i.remove():(i==null||i.setAttribute("hidden","true"),i==null||i.setAttribute("aria-hidden","true")));return}}const ye=e=>e==="react"||e==="reactNative",J=ye(C),Q="builderIoAbTest",X="builderIoRenderContent",ve=()=>{const e=_e.toString().replace(/\s+/g," "),t=be.toString().replace(/\s+/g," ");return`
27
27
  window.${Q} = ${e}
28
28
  window.${X} = ${t}
29
- `},ve=(e,t)=>`
30
- window.${Q}("${t}",${JSON.stringify(e)}, ${J})`,Se=({contentId:e,variationId:t})=>`
31
- window.${X}("${t}", "${e}", ${J})`,k=e=>e!=null,A=e=>k(e)?e:!0,ke=e=>{if(e==="localhost"||e==="127.0.0.1")return e;const t=e.split(".");return t.length>2?t.slice(1).join("."):e},Y=({name:e,canTrack:t})=>{var n;try{return t?(n=document.cookie.split("; ").find(o=>o.startsWith(`${e}=`)))==null?void 0:n.split("=")[1]:void 0}catch(o){v.warn("[COOKIE] GET error: ",(o==null?void 0:o.message)||o);return}},Z=async e=>Y(e),Ce=e=>e.map(([t,n])=>n?`${t}=${n}`:t).filter(k).join("; "),xe=[["secure",""],["SameSite","None"]],we=({name:e,value:t,expires:n})=>{const r=(_()?location.protocol==="https:":!0)?xe:[[]],s=n?[["expires",n.toUTCString()]]:[[]],i=[[e,t],...s,["path","/"],["domain",ke(window.location.hostname)],...r];return Ce(i)},tt=async({name:e,value:t,expires:n,canTrack:o})=>{try{if(!o)return;const r=we({name:e,value:t,expires:n});document.cookie=r}catch(r){v.warn("[COOKIE] SET error: ",(r==null?void 0:r.message)||r)}},$e="builder.tests",V=e=>`${$e}.${e}`,Te=({contentId:e})=>Z({name:V(e),canTrack:!0}),Re=({contentId:e})=>Y({name:V(e),canTrack:!0}),Ie=({contentId:e,value:t})=>tt({name:V(e),value:t,canTrack:!0}),et=e=>k(e.id)&&k(e.variations)&&Object.keys(e.variations).length>0,Pe=({id:e,variations:t})=>{var r;let n=0;const o=Math.random();for(const s in t){const i=(r=t[s])==null?void 0:r.testRatio;if(n+=i,o<n)return s}return e},nt=e=>{const t=Pe(e);return Ie({contentId:e.id,value:t}).catch(n=>{v.error("could not store A/B test variation: ",n)}),t},ot=({item:e,testGroupId:t})=>{const n=e.variations[t];return t===e.id||!n?{testVariationId:e.id,testVariationName:"Default"}:{data:n.data,testVariationId:n.id,testVariationName:n.name||(n.id===e.id?"Default":"")}},Ae=({item:e,canTrack:t})=>{if(!t)return e;if(!e)return;if(!et(e))return e;const n=Re({contentId:e.id})||nt({variations:e.variations,id:e.id}),o=ot({item:e,testGroupId:n});return{...e,...o}},Ee=async({item:e,canTrack:t})=>{if(!t||!et(e))return e;const o=await Te({contentId:e.id})||nt({variations:e.variations,id:e.id}),r=ot({item:e,testGroupId:o});return{...e,...r}},Oe=()=>Promise.resolve().then(()=>require("./content.f8c10901.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component ContentComponent at ../content/content.vue",e),e}),Ve=()=>Promise.resolve().then(()=>require("./inlined-styles.f6b48786.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component InlinedStyles at ../inlined-styles.vue",e),e}),Be=()=>Promise.resolve().then(()=>require("./inlined-script.4c3c12d0.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component InlinedScript at ../inlined-script.vue",e),e}),je=y.defineComponent({name:"content-variants",components:{"inlined-script":Be,"inlined-styles":Ve,"content-component":Oe},props:["canTrack","content","__isNestedRender","model","data","context","apiKey","apiVersion","customComponents","locale","includeRefs","enrich"],data(){return{shouldRenderVariants:he({canTrack:A(this.canTrack),content:this.content}),getScriptString:ye,getVariants:$,TARGET:C}},mounted(){this.shouldRenderVariants=!1},computed:{variantScriptStr(){var e;return ve($(this.content).map(t=>({id:t.testVariationId,testRatio:t.testRatio})),((e=this.content)==null?void 0:e.id)||"")},hideVariantsStyleString(){return $(this.content).map(e=>`.variant-${e.testVariationId} { display: none; } `).join("")},defaultContent(){var e;return this.shouldRenderVariants?{...this.content,testVariationId:(e=this.content)==null?void 0:e.id}:Ae({item:this.content,canTrack:A(this.canTrack)})}}});var Ne=function(){var o,r;var t=this,n=t._self._c;return t._self._setupProxy,n("div",[!t.__isNestedRender&&t.TARGET!=="reactNative"?[n("inlined-script",{attrs:{scriptStr:t.getScriptString()}})]:t._e(),t.shouldRenderVariants?[n("inlined-styles",{attrs:{id:`variants-styles-${(o=t.content)==null?void 0:o.id}`,styles:t.hideVariantsStyleString}}),n("inlined-script",{attrs:{scriptStr:t.variantScriptStr}}),t._l(t.getVariants(t.content),function(s,i){return n("content-component",{key:s.testVariationId,attrs:{content:s,showContent:!1,classNameProp:void 0,model:t.model,data:t.data,context:t.context,apiKey:t.apiKey,apiVersion:t.apiVersion,customComponents:t.customComponents,canTrack:t.canTrack,locale:t.locale,includeRefs:t.includeRefs,enrich:t.enrich,isSsrAbTest:t.shouldRenderVariants}})})]:t._e(),n("content-component",t._b({attrs:{content:t.defaultContent,classNameProp:`variant-${(r=t.content)==null?void 0:r.id}`,showContent:!0,model:t.model,data:t.data,context:t.context,apiKey:t.apiKey,apiVersion:t.apiVersion,customComponents:t.customComponents,canTrack:t.canTrack,locale:t.locale,includeRefs:t.includeRefs,enrich:t.enrich,isSsrAbTest:t.shouldRenderVariants}},"content-component",{key:t.shouldRenderVariants.toString()},!1))],2)},Fe=[],Ue=b(je,Ne,Fe,!1,null,null,null,null);const B=Ue.exports,Me=Object.freeze(Object.defineProperty({__proto__:null,default:B},Symbol.toStringTag,{value:"Module"})),We=O,Le=B;function Ke(){return _()&&window.self!==window.top}function j(){return Ke()&&window.location.search.indexOf("builder.frameEditing=")!==-1}function ze(){return!_()||j()?!1:Boolean(location.search.indexOf("builder.preview=")!==-1)}const Ge=[],qe=e=>({type:"builder.registerComponent",data:rt(e)}),De=e=>{const t=e.toString().trim();return`return (${!t.startsWith("function")&&!t.startsWith("(")?"function ":""}${t}).apply(this, arguments)`},He=e=>typeof e=="function"?De(e):R(e),rt=({inputs:e,...t})=>({...R(t),inputs:e==null?void 0:e.map(n=>Object.entries(n).reduce((o,[r,s])=>({...o,[r]:He(s)}),{}))}),W={};function Je(e,t){let n=W[e];if(n||(n=W[e]=[]),n.push(t),_()){const o={type:"builder.register",data:{type:e,info:t}};try{parent.postMessage(o,"*"),parent!==window&&window.postMessage(o,"*")}catch(r){console.debug("Could not postmessage",r)}}}const L={};function Qe(e){if(_()){Object.assign(L,e);const t={type:"builder.settingsChange",data:L};parent.postMessage(t,"*")}}function Xe(){return typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:globalThis}function Ye(){const e=Xe().fetch;if(typeof e>"u")throw console.warn(`Builder SDK could not find a global fetch function. Make sure you have a polyfill for fetch in your project.
32
- For more information, read https://github.com/BuilderIO/this-package-uses-fetch`),new Error("Builder SDK could not find a global `fetch` function");return e}const st=Ye();function E(e,t=null,n="."){return Object.keys(e).reduce((o,r)=>{const s=e[r],i=[t,r].filter(Boolean).join(n);return[typeof s=="object",s!==null,!(Array.isArray(s)&&s.length===0)].every(Boolean)?{...o,...E(s,i,n)}:{...o,[i]:s}},{})}const K="builder.",Ze="options.",tn=e=>{const t={};return e.forEach((n,o)=>{t[o]=n}),t},N=e=>{if(!e)return{};const t=it(e),n={};return Object.keys(t).forEach(o=>{if(o.startsWith(K)){const r=o.replace(K,"").replace(Ze,"");n[r]=t[o]}}),n},en=()=>{if(!_())return{};const e=new URLSearchParams(window.location.search);return N(e)},it=e=>e instanceof URLSearchParams?tn(e):e,nn="v3",F=e=>{const{limit:t=30,userAttributes:n,query:o,noTraverse:r=!1,model:s,apiKey:i,includeRefs:u=!0,enrich:a,locale:d,apiVersion:f=nn}=e;if(!i)throw new Error("Missing API key");if(!["v2","v3"].includes(f))throw new Error(`Invalid apiVersion: expected 'v2' or 'v3', received '${f}'`);const p=new URL(`https://cdn.builder.io/api/${f}/content/${s}?apiKey=${i}&limit=${t}&noTraverse=${r}&includeRefs=${u}${d?`&locale=${d}`:""}${a?`&enrich=${a}`:""}`),c={...en(),...it(e.options||{})},m=E(c);for(const l in m)p.searchParams.set(l,String(m[l]));if(n&&p.searchParams.set("userAttributes",JSON.stringify(n)),o){const l=E({query:o});for(const h in l)p.searchParams.set(h,JSON.stringify(l[h]))}return p},on=e=>"results"in e;async function I(e){const t=await U({...e,limit:1});return t&&t.results[0]||null}const rn=I,sn=async e=>{const t=F(e);return await(await st(t.href)).json()},at=async(e,t,n=F(e))=>{const o=A(e.canTrack);if(n.search.includes("preview="),!o||!(_()||C==="reactNative"))return t;try{const r=[];for(const s of t.results)r.push(await Ee({item:s,canTrack:o}));t.results=r}catch(r){v.error("Could not process A/B tests. ",r)}return t};async function U(e){try{const t=F(e),n=await sn(e);return on(n)?at(e,n):(v.error("Error fetching data. ",{url:t,content:n,options:e}),null)}catch(t){return v.error("Error fetching data. ",t),null}}const an=U;function cn(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){const t=Math.random()*16|0;return(e=="x"?t:t&3|8).toString(16)})}function ct(){return cn().replace(/-/g,"")}const lt="builderSessionId",ln=async({canTrack:e})=>{if(!e)return;const t=await Z({name:lt,canTrack:e});if(k(t))return t;{const n=un();return dn({id:n,canTrack:e}),n}},un=()=>ct(),dn=({id:e,canTrack:t})=>tt({name:lt,value:e,canTrack:t}),ut=()=>_()&&typeof localStorage<"u"?localStorage:void 0,mn=({key:e,canTrack:t})=>{var n;try{return t?(n=ut())==null?void 0:n.getItem(e):void 0}catch(o){console.debug("[LocalStorage] GET error: ",o);return}},fn=({key:e,canTrack:t,value:n})=>{var o;try{t&&((o=ut())==null||o.setItem(e,n))}catch(r){console.debug("[LocalStorage] SET error: ",r)}},dt="builderVisitorId",pn=({canTrack:e})=>{if(!e)return;const t=mn({key:dt,canTrack:e});if(k(t))return t;{const n=hn();return gn({id:n,canTrack:e}),n}},hn=()=>ct(),gn=({id:e,canTrack:t})=>fn({key:dt,value:e,canTrack:t}),bn=()=>{if(_()){const e=new URL(location.href);return e.pathname===""&&(e.pathname="/"),e}else return console.warn("Cannot get location for tracking in non-browser environment"),null},_n=()=>typeof navigator=="object"&&navigator.userAgent||"",yn=()=>{const e=_n(),t={Android(){return e.match(/Android/i)},BlackBerry(){return e.match(/BlackBerry/i)},iOS(){return e.match(/iPhone|iPod/i)},Opera(){return e.match(/Opera Mini/i)},Windows(){return e.match(/IEMobile/i)||e.match(/WPDesktop/i)},any(){return t.Android()||t.BlackBerry()||t.iOS()||t.Opera()||t.Windows()||C==="reactNative"}},n=e.match(/Tablet|iPad/i),o=bn();return{urlPath:o==null?void 0:o.pathname,host:(o==null?void 0:o.host)||(o==null?void 0:o.hostname),device:n?"tablet":t.any()?"mobile":"desktop"}},vn=async({canTrack:e})=>{if(!e)return{visitorId:void 0,sessionId:void 0};const t=await ln({canTrack:e}),n=pn({canTrack:e});return{sessionId:t,visitorId:n}},Sn=async({type:e,canTrack:t,apiKey:n,metadata:o,...r})=>({type:e,data:{...r,metadata:{url:location.href,...o},...await vn({canTrack:t}),userAttributes:yn(),ownerId:n}});async function mt(e){if(!e.apiKey){v.error("Missing API key for track call. Please provide your API key.");return}if(!!e.canTrack&&!j()&&!!(_()||C==="reactNative"))return fetch("https://cdn.builder.io/api/v1/track",{method:"POST",body:JSON.stringify({events:[await Sn(e)]}),headers:{"content-type":"application/json"},mode:"cors"}).catch(t=>{console.error("Failed to track: ",t)})}const kn=e=>mt({...e,canTrack:!0}),Cn=async e=>{var o,r,s;const t=e.path||((o=e.url)==null?void 0:o.pathname)||((r=e.userAttributes)==null?void 0:r.urlPath),n={...e,apiKey:e.apiKey,model:e.model||"page",userAttributes:{...e.userAttributes,...t?{urlPath:t}:{}},options:N(e.searchParams||((s=e.url)==null?void 0:s.searchParams)||e.options)};return{apiKey:n.apiKey,model:n.model,content:await I(n)}};exports.Blocks=O;exports.Button=bt;exports.Columns=wt;exports.ComponentsContext=D;exports.Content=B;exports.Fragment=Pt;exports.Image=Nt;exports.RenderBlocks=We;exports.RenderContent=Le;exports.Section=Lt;exports.Symbol=Jt;exports.TARGET=C;exports.Text=te;exports.Video=se;exports._processContentResult=at;exports._track=mt;exports.blocks=H;exports.builderContext=q;exports.checkIsDefined=k;exports.components=Ge;exports.createRegisterComponentMessage=qe;exports.fastClone=R;exports.fetch=st;exports.fetchBuilderProps=Cn;exports.fetchEntries=U;exports.fetchOneEntry=I;exports.filterAttrs=T;exports.getAllContent=an;exports.getBuilderSearchParams=N;exports.getContent=rn;exports.getMaxWidthQueryForSize=_t;exports.getRenderContentScriptString=Se;exports.getSizesForBreakpoints=G;exports.isBrowser=_;exports.isEditing=j;exports.isPreviewing=ze;exports.logger=v;exports.normalizeComponent=b;exports.register=Je;exports.serializeComponentInfo=rt;exports.setEditorSettings=Qe;exports.track=kn;
29
+ `},Se=(e,t)=>`
30
+ window.${Q}("${t}",${JSON.stringify(e)}, ${J})`,ke=({contentId:e,variationId:t})=>`
31
+ window.${X}("${t}", "${e}", ${J})`,k=e=>e!=null,A=e=>k(e)?e:!0,Ce=e=>{if(e==="localhost"||e==="127.0.0.1")return e;const t=e.split(".");return t.length>2?t.slice(1).join("."):e},Y=({name:e,canTrack:t})=>{var n;try{return t?(n=document.cookie.split("; ").find(o=>o.startsWith(`${e}=`)))==null?void 0:n.split("=")[1]:void 0}catch(o){v.warn("[COOKIE] GET error: ",(o==null?void 0:o.message)||o);return}},Z=async e=>Y(e),xe=e=>e.map(([t,n])=>n?`${t}=${n}`:t).filter(k).join("; "),we=[["secure",""],["SameSite","None"]],$e=({name:e,value:t,expires:n})=>{const r=(b()?location.protocol==="https:":!0)?we:[[]],s=n?[["expires",n.toUTCString()]]:[[]],i=[[e,t],...s,["path","/"],["domain",Ce(window.location.hostname)],...r];return xe(i)},tt=async({name:e,value:t,expires:n,canTrack:o})=>{try{if(!o)return;const r=$e({name:e,value:t,expires:n});document.cookie=r}catch(r){v.warn("[COOKIE] SET error: ",(r==null?void 0:r.message)||r)}},Te="builder.tests",V=e=>`${Te}.${e}`,Re=({contentId:e})=>Z({name:V(e),canTrack:!0}),Ie=({contentId:e})=>Y({name:V(e),canTrack:!0}),Pe=({contentId:e,value:t})=>tt({name:V(e),value:t,canTrack:!0}),et=e=>k(e.id)&&k(e.variations)&&Object.keys(e.variations).length>0,Ae=({id:e,variations:t})=>{var r;let n=0;const o=Math.random();for(const s in t){const i=(r=t[s])==null?void 0:r.testRatio;if(n+=i,o<n)return s}return e},nt=e=>{const t=Ae(e);return Pe({contentId:e.id,value:t}).catch(n=>{v.error("could not store A/B test variation: ",n)}),t},ot=({item:e,testGroupId:t})=>{const n=e.variations[t];return t===e.id||!n?{testVariationId:e.id,testVariationName:"Default"}:{data:n.data,testVariationId:n.id,testVariationName:n.name||(n.id===e.id?"Default":"")}},Ee=({item:e,canTrack:t})=>{if(!t)return e;if(!e)return;if(!et(e))return e;const n=Ie({contentId:e.id})||nt({variations:e.variations,id:e.id}),o=ot({item:e,testGroupId:n});return{...e,...o}},Oe=async({item:e,canTrack:t})=>{if(!t||!et(e))return e;const o=await Re({contentId:e.id})||nt({variations:e.variations,id:e.id}),r=ot({item:e,testGroupId:o});return{...e,...r}},Ve=()=>Promise.resolve().then(()=>require("./content.e0c272e6.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component ContentComponent at ../content/content.vue",e),e}),Be=()=>Promise.resolve().then(()=>require("./inlined-styles.89ce41e1.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component InlinedStyles at ../inlined-styles.vue",e),e}),je=()=>Promise.resolve().then(()=>require("./inlined-script.0c7f9ce3.cjs")).then(e=>e.default).catch(e=>{throw console.error("Error while attempting to dynamically import component InlinedScript at ../inlined-script.vue",e),e}),Ne=y.defineComponent({name:"content-variants",components:{"inlined-script":je,"inlined-styles":Be,"content-component":Ve},props:["canTrack","content","__isNestedRender","model","data","context","apiKey","apiVersion","customComponents","locale","includeRefs","enrich"],data(){return{shouldRenderVariants:ge({canTrack:A(this.canTrack),content:this.content}),getScriptString:ve,getVariants:$,TARGET:C}},mounted(){this.shouldRenderVariants=!1},computed:{variantScriptStr(){var e;return Se($(this.content).map(t=>({id:t.testVariationId,testRatio:t.testRatio})),((e=this.content)==null?void 0:e.id)||"")},hideVariantsStyleString(){return $(this.content).map(e=>`.variant-${e.testVariationId} { display: none; } `).join("")},defaultContent(){var e;return this.shouldRenderVariants?{...this.content,testVariationId:(e=this.content)==null?void 0:e.id}:Ee({item:this.content,canTrack:A(this.canTrack)})}}});var Fe=function(){var o,r;var t=this,n=t._self._c;return t._self._setupProxy,n("div",[!t.__isNestedRender&&t.TARGET!=="reactNative"?[n("inlined-script",{attrs:{scriptStr:t.getScriptString()}})]:t._e(),t.shouldRenderVariants?[n("inlined-styles",{attrs:{id:`variants-styles-${(o=t.content)==null?void 0:o.id}`,styles:t.hideVariantsStyleString}}),n("inlined-script",{attrs:{scriptStr:t.variantScriptStr}}),t._l(t.getVariants(t.content),function(s,i){return n("content-component",{key:s.testVariationId,attrs:{content:s,showContent:!1,classNameProp:void 0,model:t.model,data:t.data,context:t.context,apiKey:t.apiKey,apiVersion:t.apiVersion,customComponents:t.customComponents,canTrack:t.canTrack,locale:t.locale,includeRefs:t.includeRefs,enrich:t.enrich,isSsrAbTest:t.shouldRenderVariants}})})]:t._e(),n("content-component",t._b({attrs:{content:t.defaultContent,classNameProp:`variant-${(r=t.content)==null?void 0:r.id}`,showContent:!0,model:t.model,data:t.data,context:t.context,apiKey:t.apiKey,apiVersion:t.apiVersion,customComponents:t.customComponents,canTrack:t.canTrack,locale:t.locale,includeRefs:t.includeRefs,enrich:t.enrich,isSsrAbTest:t.shouldRenderVariants}},"content-component",{key:t.shouldRenderVariants.toString()},!1))],2)},Ue=[],Me=_(Ne,Fe,Ue,!1,null,null,null,null);const B=Me.exports,We=Object.freeze(Object.defineProperty({__proto__:null,default:B},Symbol.toStringTag,{value:"Module"})),Le=O,Ke=B;function ze(){return b()&&window.self!==window.top}function j(){return ze()&&window.location.search.indexOf("builder.frameEditing=")!==-1}function Ge(){return!b()||j()?!1:Boolean(location.search.indexOf("builder.preview=")!==-1)}const qe=[],De=e=>({type:"builder.registerComponent",data:rt(e)}),He=e=>{const t=e.toString().trim();return`return (${!t.startsWith("function")&&!t.startsWith("(")?"function ":""}${t}).apply(this, arguments)`},Je=e=>typeof e=="function"?He(e):R(e),rt=({inputs:e,...t})=>({...R(t),inputs:e==null?void 0:e.map(n=>Object.entries(n).reduce((o,[r,s])=>({...o,[r]:Je(s)}),{}))}),W={};function Qe(e,t){let n=W[e];if(n||(n=W[e]=[]),n.push(t),b()){const o={type:"builder.register",data:{type:e,info:t}};try{parent.postMessage(o,"*"),parent!==window&&window.postMessage(o,"*")}catch(r){console.debug("Could not postmessage",r)}}}const L={};function Xe(e){if(b()){Object.assign(L,e);const t={type:"builder.settingsChange",data:L};parent.postMessage(t,"*")}}function Ye(){return typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:globalThis}function Ze(){const e=Ye().fetch;if(typeof e>"u")throw console.warn(`Builder SDK could not find a global fetch function. Make sure you have a polyfill for fetch in your project.
32
+ For more information, read https://github.com/BuilderIO/this-package-uses-fetch`),new Error("Builder SDK could not find a global `fetch` function");return e}const st=Ze();function E(e,t=null,n="."){return Object.keys(e).reduce((o,r)=>{const s=e[r],i=[t,r].filter(Boolean).join(n);return[typeof s=="object",s!==null,!(Array.isArray(s)&&s.length===0)].every(Boolean)?{...o,...E(s,i,n)}:{...o,[i]:s}},{})}const K="builder.",tn="options.",en=e=>{const t={};return e.forEach((n,o)=>{t[o]=n}),t},N=e=>{if(!e)return{};const t=it(e),n={};return Object.keys(t).forEach(o=>{if(o.startsWith(K)){const r=o.replace(K,"").replace(tn,"");n[r]=t[o]}}),n},nn=()=>{if(!b())return{};const e=new URLSearchParams(window.location.search);return N(e)},it=e=>e instanceof URLSearchParams?en(e):e,on="v3",F=e=>{const{limit:t=30,userAttributes:n,query:o,noTraverse:r=!1,model:s,apiKey:i,includeRefs:u=!0,enrich:a,locale:d,apiVersion:f=on}=e;if(!i)throw new Error("Missing API key");if(!["v2","v3"].includes(f))throw new Error(`Invalid apiVersion: expected 'v2' or 'v3', received '${f}'`);const p=new URL(`https://cdn.builder.io/api/${f}/content/${s}?apiKey=${i}&limit=${t}&noTraverse=${r}&includeRefs=${u}${d?`&locale=${d}`:""}${a?`&enrich=${a}`:""}`),c={...nn(),...it(e.options||{})},m=E(c);for(const l in m)p.searchParams.set(l,String(m[l]));if(n&&p.searchParams.set("userAttributes",JSON.stringify(n)),o){const l=E({query:o});for(const h in l)p.searchParams.set(h,JSON.stringify(l[h]))}return p},rn=e=>"results"in e;async function I(e){const t=await U({...e,limit:1});return t&&t.results[0]||null}const sn=I,an=async e=>{const t=F(e);return await(await st(t.href)).json()},at=async(e,t,n=F(e))=>{const o=A(e.canTrack);if(n.search.includes("preview="),!o||!(b()||C==="reactNative"))return t;try{const r=[];for(const s of t.results)r.push(await Oe({item:s,canTrack:o}));t.results=r}catch(r){v.error("Could not process A/B tests. ",r)}return t};async function U(e){try{const t=F(e),n=await an(e);return rn(n)?at(e,n):(v.error("Error fetching data. ",{url:t,content:n,options:e}),null)}catch(t){return v.error("Error fetching data. ",t),null}}const cn=U;function ln(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){const t=Math.random()*16|0;return(e=="x"?t:t&3|8).toString(16)})}function ct(){return ln().replace(/-/g,"")}const lt="builderSessionId",un=async({canTrack:e})=>{if(!e)return;const t=await Z({name:lt,canTrack:e});if(k(t))return t;{const n=dn();return mn({id:n,canTrack:e}),n}},dn=()=>ct(),mn=({id:e,canTrack:t})=>tt({name:lt,value:e,canTrack:t}),ut=()=>b()&&typeof localStorage<"u"?localStorage:void 0,fn=({key:e,canTrack:t})=>{var n;try{return t?(n=ut())==null?void 0:n.getItem(e):void 0}catch(o){console.debug("[LocalStorage] GET error: ",o);return}},pn=({key:e,canTrack:t,value:n})=>{var o;try{t&&((o=ut())==null||o.setItem(e,n))}catch(r){console.debug("[LocalStorage] SET error: ",r)}},dt="builderVisitorId",hn=({canTrack:e})=>{if(!e)return;const t=fn({key:dt,canTrack:e});if(k(t))return t;{const n=gn();return _n({id:n,canTrack:e}),n}},gn=()=>ct(),_n=({id:e,canTrack:t})=>pn({key:dt,value:e,canTrack:t}),bn=()=>{if(b()){const e=new URL(location.href);return e.pathname===""&&(e.pathname="/"),e}else return console.warn("Cannot get location for tracking in non-browser environment"),null},yn=()=>typeof navigator=="object"&&navigator.userAgent||"",mt=()=>{const e=yn(),t={Android(){return e.match(/Android/i)},BlackBerry(){return e.match(/BlackBerry/i)},iOS(){return e.match(/iPhone|iPod/i)},Opera(){return e.match(/Opera Mini/i)},Windows(){return e.match(/IEMobile/i)||e.match(/WPDesktop/i)},any(){return t.Android()||t.BlackBerry()||t.iOS()||t.Opera()||t.Windows()||C==="reactNative"}},n=e.match(/Tablet|iPad/i),o=bn();return{urlPath:o==null?void 0:o.pathname,host:(o==null?void 0:o.host)||(o==null?void 0:o.hostname),device:n?"tablet":t.any()?"mobile":"desktop"}},vn=async({canTrack:e})=>{if(!e)return{visitorId:void 0,sessionId:void 0};const t=await un({canTrack:e}),n=hn({canTrack:e});return{sessionId:t,visitorId:n}},Sn=async({type:e,canTrack:t,apiKey:n,metadata:o,...r})=>({type:e,data:{...r,metadata:{url:location.href,...o},...await vn({canTrack:t}),userAttributes:mt(),ownerId:n}});async function ft(e){if(!e.apiKey){v.error("Missing API key for track call. Please provide your API key.");return}if(!!e.canTrack&&!j()&&!!(b()||C==="reactNative"))return fetch("https://cdn.builder.io/api/v1/track",{method:"POST",body:JSON.stringify({events:[await Sn(e)]}),headers:{"content-type":"application/json"},mode:"cors"}).catch(t=>{console.error("Failed to track: ",t)})}const kn=e=>ft({...e,canTrack:!0}),Cn=async e=>{var o,r,s;const t=e.path||((o=e.url)==null?void 0:o.pathname)||((r=e.userAttributes)==null?void 0:r.urlPath),n={...e,apiKey:e.apiKey,model:e.model||"page",userAttributes:{...e.userAttributes,...t?{urlPath:t}:{}},options:N(e.searchParams||((s=e.url)==null?void 0:s.searchParams)||e.options)};return{apiKey:n.apiKey,model:n.model,content:await I(n)}};exports.Blocks=O;exports.Button=bt;exports.Columns=$t;exports.ComponentsContext=D;exports.Content=B;exports.Fragment=At;exports.Image=Ft;exports.RenderBlocks=Le;exports.RenderContent=Ke;exports.Section=Kt;exports.Symbol=Qt;exports.TARGET=C;exports.Text=ee;exports.Video=ie;exports._processContentResult=at;exports._track=ft;exports.blocks=H;exports.builderContext=q;exports.checkIsDefined=k;exports.components=qe;exports.createRegisterComponentMessage=De;exports.fastClone=R;exports.fetch=st;exports.fetchBuilderProps=Cn;exports.fetchEntries=U;exports.fetchOneEntry=I;exports.filterAttrs=T;exports.getAllContent=cn;exports.getBuilderSearchParams=N;exports.getContent=sn;exports.getMaxWidthQueryForSize=yt;exports.getRenderContentScriptString=ke;exports.getSizesForBreakpoints=G;exports.getUserAttributes=mt;exports.isBrowser=b;exports.isEditing=j;exports.isPreviewing=Ge;exports.logger=v;exports.normalizeComponent=_;exports.register=Qe;exports.serializeComponentInfo=rt;exports.setEditorSettings=Xe;exports.track=kn;
@@ -113,7 +113,7 @@ const on = ct.exports, P = (e) => JSON.parse(JSON.stringify(e)), U = {
113
113
  "Error while attempting to dynamically import component Blocks at ../../components/blocks/blocks.vue",
114
114
  e
115
115
  ), e;
116
- }), dt = () => import("./inlined-styles.1f1d5537.js").then((e) => e.default).catch((e) => {
116
+ }), dt = () => import("./inlined-styles.ccff7c47.js").then((e) => e.default).catch((e) => {
117
117
  throw console.error(
118
118
  "Error while attempting to dynamically import component InlinedStyles at ../../components/inlined-styles.vue",
119
119
  e
@@ -542,7 +542,7 @@ var Nt = function() {
542
542
  null,
543
543
  null
544
544
  );
545
- const dn = Ut.exports, Mt = b({
545
+ const dn = Ut.exports, Lt = b({
546
546
  name: "builder-video",
547
547
  props: [
548
548
  "autoPlay",
@@ -585,7 +585,7 @@ const dn = Ut.exports, Mt = b({
585
585
  }
586
586
  }
587
587
  });
588
- var Wt = function() {
588
+ var Mt = function() {
589
589
  var o;
590
590
  var t = this, n = t._self._c;
591
591
  return t._self._setupProxy, n("video", t._b({ style: {
@@ -596,17 +596,17 @@ var Wt = function() {
596
596
  objectPosition: t.position,
597
597
  borderRadius: 1
598
598
  }, attrs: { preload: t.preload || "metadata", src: t.video || "no-src", poster: t.posterImage } }, "video", t.spreadProps, !1));
599
- }, Kt = [], Lt = /* @__PURE__ */ g(
599
+ }, Wt = [], Kt = /* @__PURE__ */ g(
600
+ Lt,
600
601
  Mt,
601
602
  Wt,
602
- Kt,
603
603
  !1,
604
604
  null,
605
605
  null,
606
606
  null,
607
607
  null
608
608
  );
609
- const mn = Lt.exports, zt = Symbol(), Gt = {
609
+ const mn = Kt.exports, zt = Symbol(), Gt = {
610
610
  Builder: {
611
611
  content: null,
612
612
  context: {},
@@ -623,17 +623,17 @@ const mn = Lt.exports, zt = Symbol(), Gt = {
623
623
  }, Dt = Symbol(), Ht = {
624
624
  Components: { registeredComponents: {} },
625
625
  key: Dt
626
- }, Jt = () => import("./block-styles.53de235b.js").then((e) => e.default).catch((e) => {
626
+ }, Jt = () => import("./block-styles.2f2d681c.js").then((e) => e.default).catch((e) => {
627
627
  throw console.error(
628
628
  "Error while attempting to dynamically import component BlockStyles at ../block/components/block-styles.vue",
629
629
  e
630
630
  ), e;
631
- }), Xt = () => import("./block.32028ed9.js").then((e) => e.default).catch((e) => {
631
+ }), Xt = () => import("./block.b10ffc8d.js").then((e) => e.default).catch((e) => {
632
632
  throw console.error(
633
633
  "Error while attempting to dynamically import component Block at ../block/block.vue",
634
634
  e
635
635
  ), e;
636
- }), qt = () => import("./blocks-wrapper.545648f8.js").then((e) => e.default).catch((e) => {
636
+ }), qt = () => import("./blocks-wrapper.1f4e53ec.js").then((e) => e.default).catch((e) => {
637
637
  throw console.error(
638
638
  "Error while attempting to dynamically import component BlocksWrapper at ./blocks-wrapper.vue",
639
639
  e
@@ -675,9 +675,9 @@ var Yt = function() {
675
675
  null,
676
676
  null
677
677
  );
678
- const M = te.exports, ee = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
678
+ const L = te.exports, ee = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
679
679
  __proto__: null,
680
- default: M
680
+ default: L
681
681
  }, Symbol.toStringTag, { value: "Module" }));
682
682
  function y() {
683
683
  return typeof window < "u" && typeof document < "u";
@@ -762,18 +762,18 @@ function re(e, t, n) {
762
762
  return;
763
763
  }
764
764
  }
765
- const se = (e) => e === "react" || e === "reactNative", W = se(w), K = "builderIoAbTest", L = "builderIoRenderContent", ie = () => {
765
+ const se = (e) => e === "react" || e === "reactNative", M = se(w), W = "builderIoAbTest", K = "builderIoRenderContent", ie = () => {
766
766
  const e = oe.toString().replace(/\s+/g, " "), t = re.toString().replace(/\s+/g, " ");
767
767
  return `
768
- window.${K} = ${e}
769
- window.${L} = ${t}
768
+ window.${W} = ${e}
769
+ window.${K} = ${t}
770
770
  `;
771
771
  }, ae = (e, t) => `
772
- window.${K}("${t}",${JSON.stringify(e)}, ${W})`, pn = ({
772
+ window.${W}("${t}",${JSON.stringify(e)}, ${M})`, pn = ({
773
773
  contentId: e,
774
774
  variationId: t
775
775
  }) => `
776
- window.${L}("${t}", "${e}", ${W})`, x = (e) => e != null, I = (e) => x(e) ? e : !0, ce = (e) => {
776
+ window.${K}("${t}", "${e}", ${M})`, x = (e) => e != null, I = (e) => x(e) ? e : !0, ce = (e) => {
777
777
  if (e === "localhost" || e === "127.0.0.1")
778
778
  return e;
779
779
  const t = e.split(".");
@@ -907,17 +907,17 @@ const se = (e) => e === "react" || e === "reactNative", W = se(w), K = "builderI
907
907
  ...e,
908
908
  ...r
909
909
  };
910
- }, ye = () => import("./content.f9bd5fcb.js").then((e) => e.default).catch((e) => {
910
+ }, ye = () => import("./content.4dd9bed9.js").then((e) => e.default).catch((e) => {
911
911
  throw console.error(
912
912
  "Error while attempting to dynamically import component ContentComponent at ../content/content.vue",
913
913
  e
914
914
  ), e;
915
- }), ve = () => import("./inlined-styles.1f1d5537.js").then((e) => e.default).catch((e) => {
915
+ }), ve = () => import("./inlined-styles.ccff7c47.js").then((e) => e.default).catch((e) => {
916
916
  throw console.error(
917
917
  "Error while attempting to dynamically import component InlinedStyles at ../inlined-styles.vue",
918
918
  e
919
919
  ), e;
920
- }), Se = () => import("./inlined-script.502cfeff.js").then((e) => e.default).catch((e) => {
920
+ }), Se = () => import("./inlined-script.3ec95873.js").then((e) => e.default).catch((e) => {
921
921
  throw console.error(
922
922
  "Error while attempting to dynamically import component InlinedScript at ../inlined-script.vue",
923
923
  e
@@ -1004,7 +1004,7 @@ var xe = function() {
1004
1004
  const q = Ce.exports, $e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1005
1005
  __proto__: null,
1006
1006
  default: q
1007
- }, Symbol.toStringTag, { value: "Module" })), fn = M, hn = q;
1007
+ }, Symbol.toStringTag, { value: "Module" })), fn = L, hn = q;
1008
1008
  function Te() {
1009
1009
  return y() && window.self !== window.top;
1010
1010
  }
@@ -1143,7 +1143,7 @@ async function E(e) {
1143
1143
  const Sn = E, Ue = async (e) => {
1144
1144
  const t = O(e);
1145
1145
  return await (await Oe(t.href)).json();
1146
- }, Me = async (e, t, n = O(e)) => {
1146
+ }, Le = async (e, t, n = O(e)) => {
1147
1147
  const o = I(e.canTrack);
1148
1148
  if (n.search.includes("preview="), !o || !(y() || w === "reactNative"))
1149
1149
  return t;
@@ -1163,7 +1163,7 @@ const Sn = E, Ue = async (e) => {
1163
1163
  async function tt(e) {
1164
1164
  try {
1165
1165
  const t = O(e), n = await Ue(e);
1166
- return Fe(n) ? Me(e, n) : (v.error("Error fetching data. ", {
1166
+ return Fe(n) ? Le(e, n) : (v.error("Error fetching data. ", {
1167
1167
  url: t,
1168
1168
  content: n,
1169
1169
  options: e
@@ -1173,16 +1173,16 @@ async function tt(e) {
1173
1173
  }
1174
1174
  }
1175
1175
  const kn = tt;
1176
- function We() {
1176
+ function Me() {
1177
1177
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
1178
1178
  const t = Math.random() * 16 | 0;
1179
1179
  return (e == "x" ? t : t & 3 | 8).toString(16);
1180
1180
  });
1181
1181
  }
1182
1182
  function et() {
1183
- return We().replace(/-/g, "");
1183
+ return Me().replace(/-/g, "");
1184
1184
  }
1185
- const nt = "builderSessionId", Ke = async ({
1185
+ const nt = "builderSessionId", We = async ({
1186
1186
  canTrack: e
1187
1187
  }) => {
1188
1188
  if (!e)
@@ -1194,13 +1194,13 @@ const nt = "builderSessionId", Ke = async ({
1194
1194
  if (x(t))
1195
1195
  return t;
1196
1196
  {
1197
- const n = Le();
1197
+ const n = Ke();
1198
1198
  return ze({
1199
1199
  id: n,
1200
1200
  canTrack: e
1201
1201
  }), n;
1202
1202
  }
1203
- }, Le = () => et(), ze = ({
1203
+ }, Ke = () => et(), ze = ({
1204
1204
  id: e,
1205
1205
  canTrack: t
1206
1206
  }) => D({
@@ -1294,7 +1294,7 @@ const nt = "builderSessionId", Ke = async ({
1294
1294
  visitorId: void 0,
1295
1295
  sessionId: void 0
1296
1296
  };
1297
- const t = await Ke({
1297
+ const t = await We({
1298
1298
  canTrack: e
1299
1299
  }), n = He({
1300
1300
  canTrack: e
@@ -1367,17 +1367,18 @@ const xn = (e) => en({
1367
1367
  };
1368
1368
  };
1369
1369
  export {
1370
- Y as A,
1370
+ tt as A,
1371
1371
  on as B,
1372
1372
  sn as C,
1373
- xn as D,
1374
- wn as E,
1373
+ kn as D,
1374
+ Sn as E,
1375
1375
  an as F,
1376
- M as G,
1377
- q as H,
1376
+ Le as G,
1377
+ Y as H,
1378
1378
  cn as I,
1379
- hn as J,
1380
- ee as K,
1379
+ xn as J,
1380
+ wn as K,
1381
+ ee as L,
1381
1382
  fn as R,
1382
1383
  ln as S,
1383
1384
  w as T,
@@ -1386,27 +1387,27 @@ export {
1386
1387
  rn as a,
1387
1388
  Q as b,
1388
1389
  x as c,
1389
- A as d,
1390
- un as e,
1390
+ Ye as d,
1391
+ A as e,
1391
1392
  P as f,
1392
1393
  lt as g,
1393
- dn as h,
1394
+ un as h,
1394
1395
  y as i,
1395
- pn as j,
1396
- bn as k,
1396
+ dn as j,
1397
+ pn as k,
1397
1398
  v as l,
1398
- Ht as m,
1399
+ bn as m,
1399
1400
  g as n,
1400
- Gt as o,
1401
- gn as p,
1402
- _n as q,
1401
+ Ht as o,
1402
+ Gt as p,
1403
+ gn as q,
1403
1404
  yn as r,
1404
1405
  Ae as s,
1405
- E as t,
1406
- Oe as u,
1407
- vn as v,
1408
- tt as w,
1409
- kn as x,
1410
- Sn as y,
1411
- Me as z
1406
+ _n as t,
1407
+ E as u,
1408
+ Oe as v,
1409
+ L as w,
1410
+ q as x,
1411
+ hn as y,
1412
+ vn as z
1412
1413
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("vue"),t=require("./index.df94ab6d.cjs"),i=r.defineComponent({name:"inlined-script",props:["scriptStr","id"]});var s=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("script",{tag:"component",attrs:{id:e.id},domProps:{innerHTML:e._s(e.scriptStr)}})},o=[],c=t.normalizeComponent(i,s,o,!1,null,null,null,null);const l=c.exports;exports.default=l;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("vue"),t=require("./index.04a22940.cjs"),i=r.defineComponent({name:"inlined-script",props:["scriptStr","id"]});var s=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("script",{tag:"component",attrs:{id:e.id},domProps:{innerHTML:e._s(e.scriptStr)}})},o=[],c=t.normalizeComponent(i,s,o,!1,null,null,null,null);const l=c.exports;exports.default=l;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as t } from "vue";
2
- import { n as e } from "./index.68a558a0.js";
2
+ import { n as e } from "./index.835b8ee0.js";
3
3
  const s = t({
4
4
  name: "inlined-script",
5
5
  props: ["scriptStr", "id"]
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("vue"),t=require("./index.df94ab6d.cjs"),r=s.defineComponent({name:"inlined-styles",props:["styles","id"]});var l=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("style",{tag:"component",attrs:{id:e.id},domProps:{innerHTML:e._s(e.styles)}})},o=[],i=t.normalizeComponent(r,l,o,!1,null,null,null,null);const d=i.exports;exports.default=d;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("vue"),t=require("./index.04a22940.cjs"),r=s.defineComponent({name:"inlined-styles",props:["styles","id"]});var l=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("style",{tag:"component",attrs:{id:e.id},domProps:{innerHTML:e._s(e.styles)}})},o=[],i=t.normalizeComponent(r,l,o,!1,null,null,null,null);const _=i.exports;exports.default=_;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as s } from "vue";
2
- import { n as t } from "./index.68a558a0.js";
2
+ import { n as t } from "./index.835b8ee0.js";
3
3
  const r = s({
4
4
  name: "inlined-styles",
5
5
  props: ["styles", "id"]
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as o } from "vue";
2
- import { g as r } from "./get-block-actions.fcd3a65b.js";
3
- import { g as n } from "./get-block-properties.1c8b2787.js";
4
- import { n as c } from "./index.68a558a0.js";
5
- import "./evaluate.05948f83.js";
6
- import "./css.3ca25316.js";
2
+ import { g as r } from "./get-block-actions.17f0418a.js";
3
+ import { g as n } from "./get-block-properties.3a4c9314.js";
4
+ import { n as c } from "./index.835b8ee0.js";
5
+ import "./evaluate.b622b309.js";
6
+ import "./css.3b52add0.js";
7
7
  const a = o({
8
8
  name: "interactive-element",
9
9
  props: ["wrapperProps", "block", "context", "Wrapper"],
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),r=require("./get-block-actions.f638af63.cjs"),c=require("./get-block-properties.f62d4730.cjs"),n=require("./index.df94ab6d.cjs");require("./evaluate.0c3fa60b.cjs");require("./css.0a7231c0.cjs");const s=o.defineComponent({name:"interactive-element",props:["wrapperProps","block","context","Wrapper"],data(){return{getBlockActions:r.getBlockActions,getBlockProperties:c.getBlockProperties}}});var a=function(){var e=this,t=e._self._c;return e._self._setupProxy,t(e.Wrapper,e._b({tag:"component",attrs:{attributes:{...e.getBlockProperties({block:e.block,context:e.context}),...e.getBlockActions({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context})}}},"component",e.wrapperProps,!1),[e._t("default")],2)},l=[],i=n.normalizeComponent(s,a,l,!1,null,null,null,null);const p=i.exports;exports.default=p;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),c=require("./get-block-actions.cc26a1a3.cjs"),r=require("./get-block-properties.fbe48fae.cjs"),n=require("./index.04a22940.cjs");require("./evaluate.585803ce.cjs");require("./css.5b6afc6e.cjs");const s=o.defineComponent({name:"interactive-element",props:["wrapperProps","block","context","Wrapper"],data(){return{getBlockActions:c.getBlockActions,getBlockProperties:r.getBlockProperties}}});var a=function(){var e=this,t=e._self._c;return e._self._setupProxy,t(e.Wrapper,e._b({tag:"component",attrs:{attributes:{...e.getBlockProperties({block:e.block,context:e.context}),...e.getBlockActions({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context})}}},"component",e.wrapperProps,!1),[e._t("default")],2)},l=[],i=n.normalizeComponent(s,a,l,!1,null,null,null,null);const p=i.exports;exports.default=p;