1import{e as _,aZ as h,c as m,a as y,Z as g,j as e,b as f,J as u,i as w,v as k,o as d,l as s}from"./DeOndcxo.js";const B={key:0,class:"relative inline-block",style:{"padding-right":"4px","padding-bottom":"4px"}},C=_({inheritAttrs:!1,__name:"MNButton",props:{color:{},variant:{},shadowDepth:{}},setup(x){const n=h(),r=s(()=>n.disabled!=null&&n.disabled!==!1),a=x,o=s(()=>{const t=a.color==="yellow"?"bg-monsternett-yellow":"bg-monsternett-mint";return r.value?t+" !opacity-25":t}),l=s(()=>a.variant==="bestill"?"polygon(0% 27.27%, 0% 14.98%, 0% 3.33%, 98% 3%, 97.5% 18.33%, 97% 38.33%, 96.5% 66.67%, 96.5% 92%, 0% 91.67%, 0% 68.36%, 0% 51.82%)":"none"),i=s(()=>a.shadowDepth==="deep"?"shadow-[12px_12px_0px_#1a1a1a]":"shadow-[6px_6px_0px_#1a1a1a]"),v=s(()=>{let t="border-2 cursor-pointer border-gray-800 font-medium font-button tracking-wide transition-all duration-100 rounded-none text-gray-900 justify-center";return a.variant==="bestill"?t+" border-l-0 border-t-0 hover:translate-x-[4px] hover:translate-y-[4px] active:translate-x-[4px] active:translate-y-[4px] py-5 px-10 uppercase font-normal":(a.variant==="twotone"&&(t+=" inset-shadow"),r.value?t+" "+i.value+" cursor-not-allowed":t+" "+i.value+" hover:translate-x-[3px] hover:translate-y-[3px] hover:shadow-[1px_1px_0px_#1a1a1a] active:translate-x-[3px] active:translate-y-[3px] active:shadow-none")}),c=s(()=>{const t=n.ui||{};return{...t,base:`${v.value} ${t.base||""}`}}),b=s(()=>{if(a.variant==="twotone")return{backgroundImage:"linear-gradient(to bottom, transparent 0 90%, rgba(0, 0, 0, 0.12) 90% 100%)"}});return(t,$)=>{const p=k;return a.variant==="bestill"?(d(),m("span",B,[y("span",{class:"absolute inset-0 translate-x-[4px] translate-y-[4px] bg-[#1a1a1a]",style:g({clipPath:e(l)})},null,4),f(p,u(t.$attrs,{ui:e(c),class:e(o),style:{clipPath:e(l),position:"relative"},variant:"solid"}
1),null,16,["ui","class","style"])])):(d(),w(p,u({key:1},t.$attrs,{ui:e(c),class:e(o),style:e(b),variant:"solid"}),null,16,["ui","class","style"]))}}}),N=Object.assign(C,{__name:"MNButton"});export{N as _};
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.