1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,523446,e=>{"use strict";var t=e.i(901858),r=e.i(962518);e.s(["default",0,({message:e})=>(0,t.jsxs)("div",{className:"w-full flex flex-col justify-center items-center gap-y-2.5",children:[(0,t.jsx)(r.default,{src:"/images/shared/data-not-found.png",alt:"data not found",width:85,height:85,loading:"eager"}),(0,t.jsx)("span",{className:"text-xs text-muted-foreground font-normal",children:e})]})])},288744,176438,e=>{"use strict";var t,r=e.i(901858),i=e.i(208838),s=e.i(715311),n=e.i(291967),a=e.i(144977),o=e.i(156207),l=e.i(556872),c=e.i(740226),d=e.i(534643),u=e.i(770460),f=e.i(853233),p=e.i(337755),h=e.i(653747),v="Radio",[m,x]=(0,o.createContextScope)(v),[b,g]=m(v),y=s.forwardRef((e,t)=>{let{__scopeRadio:i,name:o,checked:c=!1,required:d,disabled:u,value:f="on",onCheck:p,form:h,...v}=e,[m,x]=s.useState(null),g=(0,a.useComposedRefs)(t,e=>x(e)),y=s.useRef(!1),k=!m||h||!!m.closest("form");return(0,r.jsxs)(b,{scope:i,checked:c,disabled:u,children:[(0,r.jsx)(l.Primitive.button,{type:"button",role:"radio","aria-checked":c,"data-state":j(c),"data-disabled":u?"":void 0,disabled:u,value:f,...v,ref:g,onClick:(0,n.composeEventHandlers)(e.onClick,e=>{c||p?.(),k&&(y.current=e.isPropagationStopped(),y.current||e.stopPropagation())})}),k&&(0,r.jsx)(R,{control:m,bubbles:!y.current,name:o,value:f,checked:c,required:d,disabled:u,form:h,style:{transform:"translateX(-100%)"}})]})});y.displayName=v;var k="RadioIndicator",w=s.forwardRef((e,t)=>{let{__scopeRadio:i,forceMount:s,...n}=e,a=g(k,i);return(0,r.jsx)(h.Presence,{present:s||a.checked,children:(0,r.jsx)(l.Primitive.span,{"data-state":j(a.checked),"data-disabled":a.disabled?"":void 0,...n,ref:t})})});w.displayName=k;var R=s.forwardRef(({__scopeRadio:e,control:t,checked:i,bubbles:n=!0,...o},c)=>{let d=s.useRef(null),u=(0,a.useComposedRefs)(d,c),h=(0,p.usePrevious)(i),v=(0,f.useSize)(t);return s.useEffect(()=>{let e=d.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(h!==i&&t){let r=new Event("click",{bubbles:n});t.call(e,i),e.dispatchEvent(r)}},[h,i,n]),(0,r.jsx)(l.Primitive.input,{type:"radio","aria-hidden":!0,defaultChecked:i,...o,tabIndex:-1,ref:u,style:{...o.style,...v,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function j(e){return e?"checked":"unchecked"}R.displayName="RadioBubbleInput";var C=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],E="RadioGroup",[S,A]=(0,o.createContextScope)(E,[c.createRovingFocusGroupScope,x]),N=(0,c.createRovingFocusGroupScope)(),I=x(),[P,z]=S(E),D=s.forwardRef((e,t)=>{let{__scopeRadioGroup:i,name:s,defaultValue:n,value:a,required:o=!1,disabled:f=!1,orientation:p,dir:h,loop:v=!0,onValueChange:m,...x}=e,b=N(i),g=(0,u.useDirection)(h),[y,k]=(0,d.useControllableState)({prop:a,defaultProp:n??null,onChange:m,caller:E});return(0,r.jsx)(P,{scope:i,name:s,required:o,disabled:f,value:y,onValueChange:k,children:(0,r.jsx)(c.Root,{asChild:!0,...b,orientation:p,dir:g,loop:v,children:(0,r.jsx)(l.Primitive.div,{role:"radiogroup","aria-required":o,"aria-orientation":p,"data-disabled":f?"":void 0,dir:g,...x,ref:t})})})});D.displayName=E;var F="RadioGroupItem",_=s.forwardRef((e,t)=>{let{__scopeRadioGroup:i,disabled:o,...l}=e,d=z(F,i),u=d.disabled||o,f=N(i),p=I(i),h=s.useRef(null),v=(0,a.useComposedRefs)(t,h),m=d.value===l.value,x=s.useRef(!1);return s.useEffect(()=>{let e=e=>{C.includes(e.key)&&(x.current=!0)},t=()=>x.current=!1;return document.addEventListener("keydown",e),document.addEventListener("keyup",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("keyup",t)}},[]),(0,r.jsx)(c.Item,{asChild:!0,...f,focusable:!u,active:m,children:(0,r.jsx)(y,{disabled:u,required:d.required,checked:m,...p,...l,name:d.name,ref:v,onCheck:()=>d.onValueChange(l.value),onKeyDown:(0,n.composeEventHandlers)(e=>{"Enter"===e.key&&e.preventDefault()}),onFocus:(0,n.composeEventHandlers)(l.onFocus,()=>{x.current&&h.current?.click()})})})});_.displayName=F;var L=s.forwardRef((e,t)=>
1{let{__scopeRadioGroup:i,...s}=e,n=I(i);return(0,r.jsx)(w,{...n,...s,ref:t})});L.displayName="RadioGroupIndicator";let T=(0,e.i(591762).default)("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);function O({className:e,...t}){return(0,r.jsx)(D,{"data-slot":"radio-group",className:(0,i.cn)("grid gap-3",e),...t})}function G({className:e,...t}){return(0,r.jsx)(_,{"data-slot":"radio-group-item",className:(0,i.cn)("border-input text-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 aspect-square size-4 shrink-0 rounded-full border shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",e),...t,children:(0,r.jsx)(L,{"data-slot":"radio-group-indicator",className:"relative flex items-center justify-center",children:(0,r.jsx)(T,{className:"fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2"})})})}e.s(["RadioGroup",()=>O,"RadioGroupItem",()=>G],176438);let{TemplateRadioGroupItem:M}=(t={item:{base:"rounded-full border border-input-border",size:"w-[var(--radio-group-size)] h-[var(--radio-group-size)] [&_svg]:w-[var(--radio-group-svg-size)] [&_svg]:h-[var(--radio-group-svg-size)]",indicator:"[&_svg]:rounded-full [&_svg]:border [&_svg]:border-[var(--background-600)] [&_svg]:fill-white",state:{unchecked:"bg-input",checked:"data-[state=checked]:bg-(image:--main-gradient) data-[state=checked]:bg-primary data-[state=checked]:border-none"}}},{TemplateRadioGroupItem:({className:e,...s})=>(0,r.jsx)(G,{className:(0,i.cn)(t.item.base,t.item.size,t.item.indicator,t.item.state.checked,t.item.state.unchecked,e),...s})});e.s(["LXRadioGroupItem",0,M],288744)},322740,e=>{"use strict";var t=e.i(901858),r=e.i(208838),i=e.i(24279),s=e.i(288744),n=e.i(614868);e.s(["default",0,({id:e,value:a,label:o,className:l,containerClassName:c,...d})=>(0,t.jsxs)(i.default,{className:(0,r.cn)("h-[52px] p-0 relative bg-container-lv2",c),children:[(0,t.jsx)(n.Label,{htmlFor:e,className:(0,r.cn)("px-4 w-full h-full flex justify-between items-center text-muted-foreground [&:has([data-state=checked])]:text-accent cursor-pointer capitalize",l),children:o}),(0,t.jsx)(s.LXRadioGroupItem,{id:e,value:a,className:"absolute right-4 top-0 bottom-0 my-auto",...d})]})])},740226,e=>{"use strict";var t=e.i(715311),r=e.i(291967),i=e.i(357784),s=e.i(144977),n=e.i(156207),a=e.i(461194),o=e.i(556872),l=e.i(252960),c=e.i(534643),d=e.i(770460),u=e.i(901858),f="rovingFocusGroup.onEntryFocus",p={bubbles:!1,cancelable:!0},h="RovingFocusGroup",[v,m,x]=(0,i.createCollection)(h),[b,g]=(0,n.createContextScope)(h,[x]),[y,k]=b(h),w=t.forwardRef((e,t)=>(0,u.jsx)(v.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,u.jsx)(v.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,u.jsx)(R,{...e,ref:t})})}));w.displayName=h;var R=t.forwardRef((e,i)=>{let{__scopeRovingFocusGroup:n,orientation:a,loop:v=!1,dir:x,currentTabStopId:b,defaultCurrentTabStopId:g,onCurrentTabStopIdChange:k,onEntryFocus:w,preventScrollOnEntryFocus:R=!1,...j}=e,C=t.useRef(null),E=(0,s.useComposedRefs)(i,C),A=(0,d.useDirection)(x),[N,I]=(0,c.useControllableState)({prop:b,defaultProp:g??null,onChange:k,caller:h}),[P,z]=t.useState(!1),D=(0,l.useCallbackRef)(w),F=m(n),_=t.useRef(!1),[L,T]=t.useState(0);return t.useEffect(()=>{let e=C.current;if(e)return e.addEventListener(f,D),()=>e.removeEventListener(f,D)},[D]),(0,u.jsx)(y,{scope:n,orientation:a,dir:A,loop:v,currentTabStopId:N,onItemFocus:t.useCallback(e=>I(e),[I]),onItemShiftTab:t.useCallback(()=>z(!0),[]),onFocusableItemAdd:t.useCallback(()=>T(e=>e+1),[]),onFocusableItemRemove:t.useCallback(()=>T(e=>e-1),[]),children:(0,u.jsx)(o.Primitive.div,{tabIndex:P||0===L?-1:0,"data-orientation":a,...j,ref:E,style:{outline:"none",...e.style},onMouseDown:(0,r.composeEventHandlers)(e.onMouseDown,()=>{_.current=!0}),onFocus:(0,r.composeEventHandlers)(e.onFocus,e=>{let t=!_.current;if(e.target===e.currentTarget&&t&&!P){let t=new CustomEvent(f,p);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=F().filter(e=>
1e.focusable);S([e.find(e=>e.active),e.find(e=>e.id===N),...e].filter(Boolean).map(e=>e.ref.current),R)}}_.current=!1}),onBlur:(0,r.composeEventHandlers)(e.onBlur,()=>z(!1))})})}),j="RovingFocusGroupItem",C=t.forwardRef((e,i)=>{let{__scopeRovingFocusGroup:s,focusable:n=!0,active:l=!1,tabStopId:c,children:d,...f}=e,p=(0,a.useId)(),h=c||p,x=k(j,s),b=x.currentTabStopId===h,g=m(s),{onFocusableItemAdd:y,onFocusableItemRemove:w,currentTabStopId:R}=x;return t.useEffect(()=>{if(n)return y(),()=>w()},[n,y,w]),(0,u.jsx)(v.ItemSlot,{scope:s,id:h,focusable:n,active:l,children:(0,u.jsx)(o.Primitive.span,{tabIndex:b?0:-1,"data-orientation":x.orientation,...f,ref:i,onMouseDown:(0,r.composeEventHandlers)(e.onMouseDown,e=>{n?x.onItemFocus(h):e.preventDefault()}),onFocus:(0,r.composeEventHandlers)(e.onFocus,()=>x.onItemFocus(h)),onKeyDown:(0,r.composeEventHandlers)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void x.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,r){var i;let s=(i=e.key,"rtl"!==r?i:"ArrowLeft"===i?"ArrowRight":"ArrowRight"===i?"ArrowLeft":i);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(s))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(s)))return E[s]}(e,x.orientation,x.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let s=g().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)s.reverse();else if("prev"===t||"next"===t){var r,i;"prev"===t&&s.reverse();let n=s.indexOf(e.currentTarget);s=x.loop?(r=s,i=n+1,r.map((e,t)=>r[(i+t)%r.length])):s.slice(n+1)}setTimeout(()=>S(s))}}),children:"function"==typeof d?d({isCurrentTabStop:b,hasTabStop:null!=R}):d})})});C.displayName=j;var E={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function S(e,t=!1){let r=document.activeElement;for(let i of e)if(i===r||(i.focus({preventScroll:t}),document.activeElement!==r))return}e.s(["Item",()=>C,"Root",()=>w,"createRovingFocusGroupScope",()=>g])},357784,770460,e=>{"use strict";var t=e.i(715311),r=e.i(156207),i=e.i(144977),s=e.i(93074),n=e.i(901858);function a(e){let a=e+"CollectionProvider",[o,l]=(0,r.createContextScope)(a),[c,d]=o(a,{collectionRef:{current:null},itemMap:new Map}),u=e=>{let{scope:r,children:i}=e,s=t.default.useRef(null),a=t.default.useRef(new Map).current;return(0,n.jsx)(c,{scope:r,itemMap:a,collectionRef:s,children:i})};u.displayName=a;let f=e+"CollectionSlot",p=(0,s.createSlot)(f),h=t.default.forwardRef((e,t)=>{let{scope:r,children:s}=e,a=d(f,r),o=(0,i.useComposedRefs)(t,a.collectionRef);return(0,n.jsx)(p,{ref:o,children:s})});h.displayName=f;let v=e+"CollectionItemSlot",m="data-radix-collection-item",x=(0,s.createSlot)(v),b=t.default.forwardRef((e,r)=>{let{scope:s,children:a,...o}=e,l=t.default.useRef(null),c=(0,i.useComposedRefs)(r,l),u=d(v,s);return t.default.useEffect(()=>(u.itemMap.set(l,{ref:l,...o}),()=>void u.itemMap.delete(l))),(0,n.jsx)(x,{...{[m]:""},ref:c,children:a})});return b.displayName=v,[{Provider:u,Slot:h,ItemSlot:b},function(r){let i=d(e+"CollectionConsumer",r);return t.default.useCallback(()=>{let e=i.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${m}]`));return Array.from(i.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[i.collectionRef,i.itemMap])},l]}var o=new WeakMap;function l(e,t){var r,i;let s,n,a;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let o=(r=e,i=t,s=r.length,(a=(n=c(i))>=0?n:s+n)<0||a>=s?-1:a);return -1===o?void 0:e[o]}function c(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],o.set(this,!0)}set(e,t){return o.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,r){let i,s=this.has(t),n=this.#e.length,a=c(e),o=a>=0?a:n+a,l=o<0||o>=n?-1:o;if(l===this.size||s&&l===this.size-1||-1===l)return this.set(t,r),this;let d=this.size+ +!s;a<0&&o++;let u=[...this.#e],f=!1;for(let e=o;e<d;e++)if(o===e){let n=u[e];u[e]===t&&(n=u[e+1]),s&&this.delete(t),i=this.get(n),this.set(t,r)}else{f||u[e-1]!==t||(f=!0);let r=u[f?e:e-1],s=i;i=this.get(r),this.delete(r),this.set(r,s)}return this}with(t,r,i){let s=new e(this);return s.insert(t,r,i),s}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let i=this.#e.indexOf(e);return -1===i?this:this.insert(i,t,r)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let i=this.#e.indexOf(e);return -1===i?this:this.insert(i+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=l(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=l(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return l(this.#e,e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let i=r+t;return i<0&&(i=0),i>=this.size&&(i=this.size-1),this.at(i)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let i=r+t;return i<0&&(i=0),i>=this.size&&(i=this.size-1),this.keyAt(i)}find(e,t){let r=0;for(let i of this){if(Reflect.apply(e,t,[i,r,this]))return i;r++}}findIndex(e,t){let r=0;for(let i of this){if(Reflect.apply(e,t,[i,r,this]))return r;r++}return -1}filter(t,r){let i=[],s=0;for(let e of this)Reflect.apply(t,r,[e,s,this])&&i.push(e),s++;return new e(i)}map(t,r){let i=[],s=0;for(let e of this)i.push([e[0],Reflect.apply(t,r,[e,s,this])]),s++;return new e(i)}reduce(...e){let[t,r]=e,i=0,s=r??this.at(0);for(let r of this)s=0===i&&1===e.length?r:Reflect.apply(t,this,[s,r,i,this]),i++;return s}reduceRight(...e){let[t,r]=e,i=r??this.at(-1);for(let r=this.size-1;r>=0;r--){let s=this.at(r);i=r===this.size-1&&1===e.length?s:Reflect.apply(t,this,[i,s,r,this])}return i}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),i=this.get(r);t.set(r,i)}return t}toSpliced(...t){let r=[...this.entries()];return r.splice(...t),new e(r)}slice(t,r){let i=new e,s=this.size-1;if(void 0===t)return i;t<0&&(t+=this.size),void 0!==r&&r>0&&(s=r-1);for(let e=t;e<=s;e++){let t=this.keyAt(e),r=this.get(t);i.set(t,r)}return i}every(e,t){let r=0;for(let i of this){if(!Reflect.apply(e,t,[i,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let i of this){if(Reflect.apply(e,t,[i,r,this]))return!0;r++}return!1}}),e.s(["createCollection",()=>a],357784);var d=t.createContext(void 0);function u(e){let r=t.useContext(d);return e||r||"ltr"}e.s(["useDirection",()=>u],770460)},337755,e=>{"use strict";var t=e.i(715311);function r(e){let r=t.useRef({value:e,previous:e});return t.useMemo(()=>(r.current.value!==e&&(r.current.previous=r.current.value,r.current.value=e),r.current.previous),[e])}e.s(["usePrevious",()=>r])},24279,e=>{"use strict";var t=e.i(901858),r=e.i(208838);function i({className:e,...i}){return(0,t.jsx)("div",{"data-slot":"card",className:(0,r.cn)("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",e),...i})}let s=(0,e.i(294237).cva)("bg-[var(--background-500)] backdrop-blur-[10px] text-muted-foreground",{variants:{variant:{default:"border border-[rgba(var(--hex-border), 0.05)] p-4 rounded-md","black-gradient":"bg-linear-[51.85deg,#42474D_-6.67%,#2C3137_48.53%,#151419_94.75%] shadow-[0_-3px_5px_rgba(0,0,0,0.26)] shadow-[0_3px_6px_rgba(0,0,0,0.26)] p-[14px] border-none"}},defaultVariants:{variant:"default"}});e.s(["default",0,({className:e,variant:n,...a})=>(0,t.jsx)(i,{className:(0,r.cn)(s({variant:n,className:e})),...a}
1)],24279)},516503,e=>{"use strict";var t=e.i(901858),r=e.i(715311),i=e.i(208838),s=e.i(840307),n=e.i(322740),a=e.i(963779),o=e.i(926149),l=e.i(176438);e.s(["default",0,({heading:e,data:c,onValueChange:d,checkedValue:u,footer:f,radioGroupName:p,closeOnSelect:h=!0,scrollContainerRef:v,optionsContainerRef:m,className:x,contentClassName:b})=>{let g=h?o.DrawerClose:r.Fragment;return(0,t.jsxs)(a.LXDrawerContent,{className:b,children:[(0,t.jsxs)(a.LXDrawerHeader,{children:[(0,t.jsx)(a.LXDrawerTitle,{className:"text-sm",children:e}),(0,t.jsx)(a.LXDrawerClose,{children:(0,t.jsx)(s.default,{width:20,height:20})}),(0,t.jsx)(o.DrawerDescription,{})]}),(0,t.jsx)(l.RadioGroup,{ref:v,className:(0,i.cn)("flex flex-col h-auto gap-0 overflow-y-scroll scrollbar-hide px-content pb-content pt-3",x),onValueChange:d,name:p,children:(0,t.jsx)("div",{ref:m,className:"flex flex-col *:shrink-0 gap-y-2 ",children:c.map(({options:e,label:i,id:s})=>(0,t.jsxs)(r.Fragment,{children:[i,e.map(({id:e,label:i,value:s,labelClassName:a,containerClassName:o})=>(0,r.createElement)(g,{...h?{asChild:!0}:{},key:e},(0,t.jsx)(n.default,{id:e,label:i,value:s,checked:s===u,className:a,containerClassName:o})))]},s))})}),f&&f]})}])},905991,e=>{"use strict";var t=e.i(901858),r=e.i(715311),i=e.i(144977),s=e.i(156207),n=e.i(291967),a=e.i(534643),o=e.i(337755),l=e.i(853233),c=e.i(653747),d=e.i(556872),u="Checkbox",[f,p]=(0,s.createContextScope)(u),[h,v]=f(u);function m(e){let{__scopeCheckbox:i,checked:s,children:n,defaultChecked:o,disabled:l,form:c,name:d,onCheckedChange:f,required:p,value:v="on",internal_do_not_use_render:m}=e,[x,b]=(0,a.useControllableState)({prop:s,defaultProp:o??!1,onChange:f,caller:u}),[g,y]=r.useState(null),[k,w]=r.useState(null),R=r.useRef(!1),C=!g||!!c||!!g.closest("form"),E={checked:x,disabled:l,setChecked:b,control:g,setControl:y,name:d,form:c,value:v,hasConsumerStoppedPropagationRef:R,required:p,defaultChecked:!j(o)&&o,isFormControl:C,bubbleInput:k,setBubbleInput:w};return(0,t.jsx)(h,{scope:i,...E,children:"function"==typeof m?m(E):n})}var x="CheckboxTrigger",b=r.forwardRef(({__scopeCheckbox:e,onKeyDown:s,onClick:a,...o},l)=>{let{control:c,value:u,disabled:f,checked:p,required:h,setControl:m,setChecked:b,hasConsumerStoppedPropagationRef:g,isFormControl:y,bubbleInput:k}=v(x,e),w=(0,i.useComposedRefs)(l,m),R=r.useRef(p);return r.useEffect(()=>{let e=c?.form;if(e){let t=()=>b(R.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[c,b]),(0,t.jsx)(d.Primitive.button,{type:"button",role:"checkbox","aria-checked":j(p)?"mixed":p,"aria-required":h,"data-state":C(p),"data-disabled":f?"":void 0,disabled:f,value:u,...o,ref:w,onKeyDown:(0,n.composeEventHandlers)(s,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:(0,n.composeEventHandlers)(a,e=>{b(e=>!!j(e)||!e),k&&y&&(g.current=e.isPropagationStopped(),g.current||e.stopPropagation())})})});b.displayName=x;var g=r.forwardRef((e,r)=>{let{__scopeCheckbox:i,name:s,checked:n,defaultChecked:a,required:o,disabled:l,value:c,onCheckedChange:d,form:u,...f}=e;return(0,t.jsx)(m,{__scopeCheckbox:i,checked:n,defaultChecked:a,disabled:l,required:o,onCheckedChange:d,name:s,form:u,value:c,internal_do_not_use_render:({isFormControl:e})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(b,{...f,ref:r,__scopeCheckbox:i}),e&&(0,t.jsx)(R,{__scopeCheckbox:i})]})})});g.displayName=u;var y="CheckboxIndicator",k=r.forwardRef((e,r)=>{let{__scopeCheckbox:i,forceMount:s,...n}=e,a=v(y,i);return(0,t.jsx)(c.Presence,{present:s||j(a.checked)||!0===a.checked,children:(0,t.jsx)(d.Primitive.span,{"data-state":C(a.checked),"data-disabled":a.disabled?"":void 0,...n,ref:r,style:{pointerEvents:"none",...e.style}})})});k.displayName=y;var w="CheckboxBubbleInput",R=r.forwardRef(({__scopeCheckbox:e,...s},n)=>{let{control:a,hasConsumerStoppedPropagationRef:c,checked:u,defaultChecked:f,required:p,disabled:h,name:m,value:x,form:b,bubbleInput:g,setBubbleInput:y}=v(w,e),k=(0,i.useComposedRefs)(n,y),R=(0,o.usePrevious)(u),C=(0,l.useSize)(a);r.useEffect(()=>{if(!g)return;let e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set,t=!c.current;if(R!==u&&e){let r=new Event("click",{bubbles:t});
1g.indeterminate=j(u),e.call(g,!j(u)&&u),g.dispatchEvent(r)}},[g,R,u,c]);let E=r.useRef(!j(u)&&u);return(0,t.jsx)(d.Primitive.input,{type:"checkbox","aria-hidden":!0,defaultChecked:f??E.current,required:p,disabled:h,name:m,value:x,form:b,...s,tabIndex:-1,ref:k,style:{...s.style,...C,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});function j(e){return"indeterminate"===e}function C(e){return j(e)?"indeterminate":e?"checked":"unchecked"}R.displayName=w;var E=e.i(208838),S=e.i(636929);function A({className:e,...r}){return(0,t.jsx)(g,{"data-slot":"checkbox",className:(0,E.cn)("peer border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50","border-input-border w-(--checkbox-size) h-(--checkbox-size) bg-input data-[state=checked]:bg-(image:--main-gradient) data-[state=checked]:border-none data-[state=checked]:text-foreground [&_svg]:w-(--checkbox-svg-size) [&_svg]:h-(--checkbox-svg-size)",e),...r,children:(0,t.jsx)(k,{"data-slot":"checkbox-indicator",className:"flex items-center justify-center text-current transition-none",children:(0,t.jsx)(S.default,{})})})}e.s(["LXCheckbox",()=>A],905991)}]);
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.