import{_ as c,s as i,R as a,Y as l}from"./customComponents-8Hj9M-RR.js";const p=t=>`v-on:${t.toLowerCase()}`,f=(t,o)=>e=>l({code:t,context:o.context,localState:o.localState,rootState:o.rootState,rootSetState:o.rootSetState,event:e,isExpression:!1});function S(t){const o={},e=t.block.actions??{};for(const r in e){if(!e.hasOwnProperty(r))continue;const s=e[r];let n=p(r);if(t.stripPrefix)switch(a){case"vue":n=n.replace("v-on:","");break;case"svelte":n=n.replace("on:","");break}o[n]=f(s,t)}return o}function u({properties:t}){return t}const b=t=>({href:t.href});function d({block:t,context:o}){var e;const r={...b(t),...t.properties,"builder-id":t.id,style:i({block:t,context:o}),[c()]:[t.id,"builder-block",t.class,(e=t.properties)==null?void 0:e.class].filter(Boolean).join(" ")};return u({properties:r})}export{d as g,S as m};
//# sourceMappingURL=get-block-properties-GmG9ANiw-CHkCw2Yu.js.map
