const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/awaiter-qTJKqZvs-BmPF3jZE.js","assets/customComponents-8Hj9M-RR.js","assets/index-CRze-aDK.js","assets/vendor-BGtMsOoo.js","assets/index-BBAJCwRL.css","assets/customComponents-CWjMZ39X.css"])))=>i.map(i=>d[i]);
import{d as h}from"./index-CRze-aDK.js";import{a as u,f as P,D as B}from"./customComponents-8Hj9M-RR.js";import{g as k,m as v}from"./get-block-properties-GmG9ANiw-CHkCw2Yu.js";import{C as b,N as f,K as c,a3 as w,E as e,O as i,D as g,F as W,J as _,aO as S,L as x,M as C,aD as m,ag as y}from"./vendor-BGtMsOoo.js";const I=()=>h(()=>import("./awaiter-qTJKqZvs-BmPF3jZE.js"),__vite__mapDeps([0,1,2,3,4,5])).then(t=>t.default).catch(t=>{throw console.error("Error while attempting to dynamically import component Awaiter at ../../awaiter.vue",t),t}),O=b({name:"interactive-element",components:{Awaiter:y(I)},props:["includeBlockProps","block","context","Wrapper","wrapperProps"],computed:{attributes(){return this.includeBlockProps?{...k({block:this.block,context:this.context}),...v({block:this.block,rootState:this.context.rootState,rootSetState:this.context.rootSetState,localState:this.context.localState,context:this.context.context})}:{}}}});function R(t,n,p,s,r,l){const o=f("Awaiter");return t.Wrapper.load?(e(),c(o,{key:0,load:t.Wrapper.load,fallback:t.Wrapper.fallback,props:t.wrapperProps,attributes:t.attributes},{default:i(()=>[m(t.$slots,"default")]),_:3},8,["load","fallback","props","attributes"])):(e(),c(C(t.Wrapper),x({key:1,attributes:t.attributes},t.wrapperProps),{default:i(()=>[m(t.$slots,"default")]),_:3},16,["attributes"]))}const d=u(O,[["render",R]]),E=({componentOptions:t,builderBlock:n,context:p,componentRef:s,includeBlockProps:r,isInteractive:l,contextValue:o})=>{const a={...t,...r?{attributes:k({block:n,context:o})}:{}};return l?{Wrapper:s,block:n,context:p,wrapperProps:t,includeBlockProps:r}:a},D=b({name:"component-ref",components:{Block:P,InteractiveElement:d},props:["isInteractive","componentRef","componentOptions","builderBlock","context","linkComponent","includeBlockProps","blockChildren","registeredComponents"],data(){return{Wrapper:this.isInteractive?B(d):this.componentRef,getWrapperProps:E}}});function A(t,n,p,s,r,l){const o=f("Block");return t.componentRef?(e(),c(C(t.Wrapper),S(x({key:0},t.getWrapperProps({componentOptions:t.componentOptions,builderBlock:t.builderBlock,context:t.context,componentRef:t.componentRef,linkComponent:t.linkComponent,includeBlockProps:t.includeBlockProps,isInteractive:t.isInteractive,contextValue:t.context}))),{default:i(()=>[(e(!0),g(W,null,_(t.blockChildren,(a,V)=>(e(),c(o,{key:a.id,block:a,context:t.context,registeredComponents:t.registeredComponents,linkComponent:t.linkComponent},null,8,["block","context","registeredComponents","linkComponent"]))),128))]),_:1},16)):w("",!0)}const $=u(D,[["render",A]]);export{$ as default};
//# sourceMappingURL=component-ref-0bMZghu6-BFcwHHN6.js.map
