1import{r as U,aD as S,an as T,_ as $}from"./bS0gHfOR.js";import{u as p}from"./GkII7gtz.js";import{v as F,ab as K,am as L,y as r,z as N,a7 as V,B as a,I as i,G as o,ag as u,ad as v,H as m,F as d,D as j,J as x}from"./qHTv0qqf.js";import"./ga_jkbhe.js";import"./C3SNbM6u.js";import"./LZ7KV062.js";import"./CD0phfkn.js";import"./C5Y01Dj9.js";const z=F({__name:"BaseButton",props:{blok:{}},async setup(t){let n,f;const{storyblokOverride:k}=U(),B=t.blok.textOverride||"",s=k.value?.[B]||t.blok.text,h=t.blok.hrefOverride||"",_=k.value?.[h]||t.blok.href,{to:b,target:g}=([n,f]=K(()=>p({...t.blok,href:_})),n=await n,f(),n),{isConfiguratorUrl:C,buildUrl:D}=S(),y=x(()=>C(b.value)),O=x(()=>{const e=b.value;return!e||typeof e!="string"?e:y.value?D(e):e});return(e,G)=>{const l=$,w=T,c=L("editable");return t.blok?(r(),N(V,{key:0},[a(y)?(r(),i(w,{key:0},{fallback:o(()=>[u((r(),i(l,v({variant:t.blok?.variant},e.$attrs),{default:o(()=>[m(d(a(s)),1)]),_:1},16,["variant"])),[[c,t.blok]])]),default:o(()=>[u((r(),i(l,v({variant:t.blok?.variant,to:a(O),target:a(g)},e.$attrs),{default:o(()=>[m(d(a(s)),1)]),_:1},16,["variant","to","target"])),[[c,t.blok]])]),_:1})):u((r(),i(l,v({key:1,variant:t.blok?.variant,to:a(O),target:a(g)},e.$attrs),{default:o(()=>[m(d(a(s)),1)]),_:1},16,["variant","to","target"])),[[c,t.blok]])],64)):j("",!0)}}}),W=Object.assign(z,{__name:"SBBaseButton"});export{W as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.