1import{N as v,ay as g,W as r,ah as p,a7 as x,ab as y,a8 as s,ak as i,af as e,av as C,a9 as w,au as k,aq as B}from"./Cc1FFHbL.js";import{u as S}from"./C1WT1-gB.js";import{d as _}from"./XnNGS9zF.js";const L=v({__name:"ButtonHeart",props:{label:{type:String,required:!0},tag:{type:String,default:"div"},to:{type:String,default:void 0}},setup(o){const t=o,u=g(),{invert:a}=S(),d=r(()=>a("border-t-stroke-neutral-secondary","border-t-stroke-neutral-secondary-invert")),b=r(()=>a("border-r-stroke-neutral-secondary","border-r-stroke-neutral-secondary-invert")),l=r(()=>a("border-b-stroke-neutral-secondary","border-b-stroke-neutral-secondary-invert")),f=r(()=>a("border-l-stroke-neutral-secondary","border-l-stroke-neutral-secondary-invert")),m=r(()=>{switch(t.tag.toLowerCase()){case"nuxtlink":return _({});default:return t.tag}}),h=r(()=>({...u,to:t==null?void 0:t.to,class:void 0,...t.tag.toLowerCase()==="nuxtlink"?{activeClass:" ",exactActiveClass:" "}:{}}));return(n,c)=>(x(),p(B(e(m)),k(e(h),{"aria-label":o.label,class:["h-button-height relative flex w-full border-r-[calc(0px+var(--heart-button-border-width))] border-t-[calc(0px+var(--heart-button-border-width))]",[e(d),e(b)]]}),{default:y(()=>[s("div",{class:i(["flex aspect-square h-full items-center justify-center border-b bg-[var(--heart-background)]",e(l)])},c[0]||(c[0]=[s("svg",{class:"h-full w-full",viewBox:"0 0 60 60",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img","aria-hidden":"true",focusable:"false"},[s("path",{d:"M41.7885 10.1812C33.1564 8.85041 30.0827 15.2837 29.9973 15.3778C29.9119 15.2852 26.8367 8.85188 18.2062 10.1812C2.41642 12.6148 7.31639 51.0044 29.9973 51C52.6517 50.9971 57.6077 12.6192 41.7885 10.1812Z",fill:"var(--heart-color)"})],-1)]),2),s("div",{class:i(("cn"in n?n.cn:e(C))("bg-theme-heart-button-bg border-theme-heart-button-bg text-theme-heart-button-text flex h-full w-full items-center justify-center text-nowrap border border-l-[calc(0px+var(--heart-button-border-width))] text-center",e(l),e(f)))},w(o.label),3)]),_:1},16,["aria-label","class"]))}}),A=Object.assign(L,{__name:"ElementsButtonHeart"});export{A 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.