1import{d as u,o as a,a as d,z as l,b,m as s,k as r,ab as m,a1 as f,p as h,j as k,ac as x,V as g}from"./DvgxvNL0.js";const y=["disabled","aria-label","aria-checked"],V=u({__name:"Checkbox",props:{label:{default:""},labelClass:{default:""},disabled:{type:Boolean,default:!1},description:{default:""},modelValue:{type:Boolean,default:!1},clickEvent:{type:Function,default:()=>{}},indeterminate:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(e,{emit:n}){const i=n,o=e;function c(t){o.disabled||i("update:modelValue",!o.modelValue,t)}return(t,v)=>(a(),d("button",{type:"button",class:l(["group bg-transparent border-none p-0 m-0 flex items-center text-left gap-3 checkbox-outer outline-offset-4 text-contrast",e.disabled?"cursor-not-allowed opacity-50":"cursor-pointer hover:brightness-[--hover-brightness] focus-visible:brightness-[--hover-brightness]"]),disabled:e.disabled,"aria-label":e.description||e.label||void 0,"aria-checked":e.indeterminate?"mixed":e.modelValue,role:"checkbox",onClick:c},[b("span",{class:l(["w-5 h-5 aspect-square rounded-md flex shrink-0 items-center justify-center border-[1px] border-solid",{"bg-brand border-button-border text-brand-inverted":e.modelValue,"bg-surface-2 border-surface-5 text-primary":!e.modelValue,"checkbox-shadow group-active:scale-95":!e.disabled}])},[e.indeterminate?(a(),s(r(m),{key:0,"aria-hidden":"true","stroke-width":"3"})):e.modelValue?(a(),s(r(f),{key:1,"aria-hidden":"true","stroke-width":"3"})):h("",!0)],2),e.label?(a(),d("span",{key:0,class:l(e.labelClass),"aria-hidden":"true"},k(e.label),3)):x(t.$slots,"default",{key:1},void 0,!0)],10,y))}}),B=g(V,[["__scopeId","data-v-3e9423e8"]]);export{B as C};
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.