1/*! @license Third-party license notices: /THIRD_PARTY_NOTICES.txt */ 2import{r as e}from"./MKS-4bfa.js";import{Qn as t}from"./DGdVYqCg.js";import{E as n,L as r,P as i,R as a,Y as o,an as s,g as c,lt as l,pt as u,yn as d}from"./CovcTdXs.js";var f=e({default:()=>g});o(),s(),c();var p={class:`button-item`},m=[`href`,`target`],h=[`disabled`],g={__name:`ButtonItem`,props:{primary:{type:Boolean,default:!1},secondary:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},onDark:{type:Boolean,default:!1},small:{type:Boolean,default:!1},desktopLarge:{type:Boolean,default:!1},lowercase:{type:Boolean,default:!1},light:{type:Boolean,default:!1},fullWidth:{type:Boolean,default:!1},href:{type:String,default:``},target:{type:String,default:`_self`}},emits:[`handleClick`],setup(e,{emit:o}){let s=e,c=o,f=i(()=>t(s,`disabled`,!1)),g=i(()=>t(s,`primary`,!1)),_=i(()=>t(s,`secondary`,!1)),v=i(()=>t(s,`onDark`,!1)),y=i(()=>t(s,`small`,!1)),b=i(()=>t(s,`desktopLarge`,!1)),x=i(()=>t(s,`light`,!1)),S=i(()=>t(s,`fullWidth`,!1)),C=i(()=>t(s,`href`,``)),w=i(()=>t(s,`target`,`_self`)),T=i(()=>[{"!bg-old_velux-grey-300 text-old_velux-grey-700 hover:bg-old_velux-grey-300 border-old_velux-grey-300 cursor-default":f.value&&!v.value,"bg-old_velux-red-900 text-old_velux-white hover:bg-old_velux-red-800":g.value&&!v.value,"bg-old_velux-white text-old_velux-black hover:bg-old_velux-grey-200":g.value&&v.value,"border border-old_velux-black hover:bg-old_velux-black/10":_.value&&!v.value,"border border-old_velux-white text-old_velux-white hover:bg-old_velux-white/10":_.value&&v.value,"text-old_velux-white":v.value&&!g.value&&!_.value,"px-4 old_sm:text-14":y.value&&(g.value||_.value),"min-h-12":!y.value,"px-6":!y.value&&(g.value||_),"min-h-8 text-14":y.value,"old_sm:min-h-12":b.value,"text-14":!y.value,"font-400":!x.value,"w-full justify-center":S.value,"text-left":!S.value},`tracking-1 leading-115 font-w-60 flex place-items-center pt-px gap-x-2`]),E=()=>c(`handleClick`);return(e,t)=>(l(),a(`div`,p,[C.value?(l(),a(`a`,{key:0,class:d(T.value),href:C.value,target:w.value,onClick:E},[u(e.$slots,`default`)],10,m)):r(``,!0),C.value?r(``,!0):(l(),a(`button`,{key:1,type:`button`,disabled:f.value,class:d(T.value),onClick:n(E,[`prevent`])},[u(e.$slots,`default`)],10,h))]))}};export{g as n,f as t};
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.