1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,96661,e=>{"use strict";e.s(["mergeClasses",0,(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim()])},71987,88973,e=>{"use strict";e.s(["default",0,{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}],71987),e.s(["hasA11yProp",0,e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1}],88973)},5014,e=>{"use strict";var t=e.i(71645),r=e.i(71987),n=e.i(88973),i=e.i(96661);let o=(0,t.createContext)({}),s=(0,t.forwardRef)(({color:e,size:s,strokeWidth:l,absoluteStrokeWidth:a,className:u="",children:c,iconNode:d,...f},p)=>{let{size:h=24,strokeWidth:m=2,absoluteStrokeWidth:y=!1,color:v="currentColor",className:g=""}=(0,t.useContext)(o)??{},C=a??y?24*Number(l??m)/Number(s??h):l??m;return(0,t.createElement)("svg",{ref:p,...r.default,width:s??h??r.default.width,height:s??h??r.default.height,stroke:e??v,strokeWidth:C,className:(0,i.mergeClasses)("lucide",g,u),...!c&&!(0,n.hasA11yProp)(f)&&{"aria-hidden":"true"},...f},[...d.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(c)?c:[c]])});e.s(["default",0,s],5014)},56420,e=>{"use strict";var t=e.i(71645),r=e.i(96661);let n=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var i=e.i(5014);e.s(["default",0,(e,o)=>{let s=(0,t.forwardRef)(({className:s,...l},a)=>(0,t.createElement)(i.default,{ref:a,iconNode:o,className:(0,r.mergeClasses)(`lucide-${n(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,s),...l}));return s.displayName=n(e),s}],56420)},30030,e=>{"use strict";var t=e.i(71645),r=e.i(18050);e.s(["createContext",0,function(e,n){let i=t.createContext(n);i.displayName=e+"Context";let o=e=>{let{children:n,...o}=e,s=t.useMemo(()=>o,Object.values(o));return(0,r.jsx)(i.Provider,{value:s,children:n})};return o.displayName=e+"Provider",[o,function(r){let o=t.useContext(i);if(o)return o;if(void 0!==n)return n;throw Error(`\`${r}\` must be used within \`${e}\``)}]},"createContextScope",0,function(e,n=[]){let i=[],o=()=>{let r=i.map(e=>t.createContext(e));return function(n){let i=n?.[e]||r;return t.useMemo(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return o.scopeName=e,[function(n,o){let s=t.createContext(o);s.displayName=n+"Context";let l=i.length;i=[...i,o];let a=n=>{let{scope:i,children:o,...a}=n,u=i?.[e]?.[l]||s,c=t.useMemo(()=>a,Object.values(a));return(0,r.jsx)(u.Provider,{value:c,children:o})};return a.displayName=n+"Provider",[a,function(r,i){let a=i?.[e]?.[l]||s,u=t.useContext(a);if(u)return u;if(void 0!==o)return o;throw Error(`\`${r}\` must be used within \`${n}\``)}]},function(...e){let r=e[0];if(1===e.length)return r;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=n.reduce((t,{useScope:r,scopeName:n})=>{let i=r(e)[`__scope${n}`];return{...t,...i}},{});return t.useMemo(()=>({[`__scope${r.scopeName}`]:i}),[i])}};return n.scopeName=r.scopeName,n}(o,...n)]}])},20783,e=>{"use strict";var t=e.i(71645);function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function n(...e){return t=>{let n=!1,i=e.map(e=>{let i=r(e,t);return n||"function"!=typeof i||(n=!0),i});if(n)return()=>{for(let t=0;t<i.length;t++){let n=i[t];"function"==typeof n?n():r(e[t],null)}}}}e.s(["composeRefs",0,n,"useComposedRefs",0,function(...e){return t.useCallback(n(...e),e)}])},91918,e=>{"use strict";var t=e.i(71645),r=e.i(20783),n=Symbol.for("radix.slottable"),i=Symbol.for("react.lazy");function o(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===i&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var s=t[" use ".trim().toString()];e.s(["createSlot",0,function(e){let i=t.forwardRef((i,l)=>{var a;let u,c,{children:d,...f}=i,p=null,h=!1,m=[];o(d)&&"function"==typeof s&&(d=s(d._payload)),t.Children.forEach(d,e=>{var r;if(r=e,t.isValidElement(r)&&"function"==typeof r.type&&"__radixId"in r.type&&r.type.__radixId===n){h=!0;let r="child"in e.props?e.props.child:e.props.children;o(r)&&"function"==typeof s&&(r=s(r._payload)),p=((e,r)=>{if("child"in e.props){let r=e.props.child;return t.isValidElement(r)?t.cloneElement(r,void 0,e.props.children(r.props.children)):null}return t.isValidElement(r)?r:null})(e,r),m.push(p?.props?.children)}else m.push(e)}),p?p=t.cloneElement(p,void 0,m):!h&&1===t.Children.count(d)&&t.isValidElement(d)&&(p=d);let y=p?(a=p,(c=(u=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in u&&u.isReactWarning)?a.ref:(c=(u=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in u&&u.isReactWarning)?a.props.ref:a.props.ref||a.ref):void 0,v=(0,r.useComposedRefs)(l,y);if(!p){if(d||0===d){let t,r;throw Error(h?(t=e,`${t} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`):(r=e,`${r} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`))}return d}let g=function(e,t){let r={...t};for(let n in t){let i=e[n],o=t[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...e)=>
1{let t=o(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...o}:"className"===n&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...e,...r}}(f,p.props??{});return p.type!==t.Fragment&&(g.ref=l?v:y),t.cloneElement(p,g)});return i.displayName=`${e}.Slot`,i}])},81140,e=>{"use strict";"u">typeof window&&window.document&&window.document.createElement,e.s(["composeEventHandlers",0,function(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}])},34620,e=>{"use strict";var t=e.i(71645),r=globalThis?.document?t.useLayoutEffect:()=>{};e.s(["useLayoutEffect",0,r])},69340,e=>{"use strict";var t=e.i(71645),r=e.i(34620);t[" useEffectEvent ".trim().toString()],t[" useInsertionEffect ".trim().toString()];var n=t[" useInsertionEffect ".trim().toString()]||r.useLayoutEffect;Symbol("RADIX:SYNC_STATE"),e.s(["useControllableState",0,function({prop:e,defaultProp:r,onChange:i=()=>{},caller:o}){let[s,l,a]=function({defaultProp:e,onChange:r}){let[i,o]=t.useState(e),s=t.useRef(i),l=t.useRef(r);return n(()=>{l.current=r},[r]),t.useEffect(()=>{s.current!==i&&(l.current?.(i),s.current=i)},[i,s]),[i,o,l]}({defaultProp:r,onChange:i}),u=void 0!==e,c=u?e:s;{let r=t.useRef(void 0!==e);t.useEffect(()=>{let e=r.current;if(e!==u){let t=u?"controlled":"uncontrolled";console.warn(`${o} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}r.current=u},[u,o])}return[c,t.useCallback(t=>{if(u){let r="function"==typeof t?t(e):t;r!==e&&a.current?.(r)}else l(t)},[u,e,l,a])]}],69340)},48425,e=>{"use strict";var t=e.i(71645),r=e.i(74080),n=e.i(91918),i=e.i(18050),o=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{let o=(0,n.createSlot)(`Primitive.${r}`),s=t.forwardRef((e,t)=>{let{asChild:n,...s}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(n?o:r,{...s,ref:t})});return s.displayName=`Primitive.${r}`,{...e,[r]:s}},{});e.s(["Primitive",0,o,"dispatchDiscreteCustomEvent",0,function(e,t){e&&r.flushSync(()=>e.dispatchEvent(t))}])},96626,e=>{"use strict";var t=e.i(71645),r=e.i(34620),n=e=>{var n;let s,l,{present:a,children:u}=e,c=function(e){var n,i;let[s,l]=t.useState(),a=t.useRef(null),u=t.useRef(e),c=t.useRef("none"),[d,f]=(n=e?"mounted":"unmounted",i={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,t)=>i[e][t]??e,n));return t.useEffect(()=>{let e=o(a.current);c.current="mounted"===d?e:"none"},[d]),(0,r.useLayoutEffect)(()=>{let t=a.current,r=u.current;if(r!==e){let n=c.current,i=o(t);e?f("MOUNT"):"none"===i||t?.display==="none"?f("UNMOUNT"):r&&n!==i?f("ANIMATION_OUT"):f("UNMOUNT"),u.current=e}},[e,f]),(0,r.useLayoutEffect)(()=>{if(s){let e,t=s.ownerDocument.defaultView??window,r=r=>{let n=o(a.current).includes(CSS.escape(r.animationName));if(r.target===s&&n&&(f("ANIMATION_END"),!u.current)){let r=s.style.animationFillMode;s.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===s.style.animationFillMode&&(s.style.animationFillMode=r)})}},n=e=>{e.target===s&&(c.current=o(a.current))};return s.addEventListener("animationstart",n),s.addEventListener("animationcancel",r),s.addEventListener("animationend",r),()=>{t.clearTimeout(e),s.removeEventListener("animationstart",n),s.removeEventListener("animationcancel",r),s.removeEventListener("animationend",r)}}f("ANIMATION_END")},[s,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:t.useCallback(e=>{a.current=e?getComputedStyle(e):null,l(e)},[])}}(a),d="function"==typeof u?u({present:c.isPresent}):t.Children.only(u),f=function(...e){let r=t.useRef(e);return r.current=e,t.useCallback(e=>{let t=r.current,n=!1,o=t.map(t=>{let r=i(t,e);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let e=0;e<o.length;e++){let r=o[e];"function"==typeof r?r():i(t[e],null)}}},[])}(c.ref,(n=d,(l=(s=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in s&&s.isReactWarning)?n.ref:(l=(s=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in s&&s.isReactWarning)?n.props.ref:n.props.ref||n.ref));return"function"==typeof u||c.isPresent?t.cloneElement(d,{ref:f}):null};function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function o(e){return e?.animationName||"none"}n.displayName="Presence",e.s(["Presence",0,n])},10772,e=>{"use strict";var t=e.i(71645),r=e.i(34620),n=t[" useId ".trim().toString()]||(()=>void 0),i=0;e.s(["useId",0,function(e){let[o,s]=t.useState(n());return(0,r.useLayoutEffect)(()=>{e||s(e=>e??String(i++))},[e]),e||(o?`radix-${o}`:"")}])},75830,86318,e=>{"use strict";var t=e.i(71645),r=e.i(30030),n=e.i(20783),i=e.i(91918),o=e.i(18050),s=new WeakMap;function l(e,t){var r,n;let i,o,s;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let l=(r=e,n=t,i=r.length,(s=(o=a(n))>=0?o:i+o)<0||s>=i?-1:s);return -1===l?void 0:e[l]}function a(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],s.set(this,!0)}set(e,t){return s.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 n,i=this.has(t),o=this.#e.length,s=a(e),l=s>=0?s:o+s,u=l<0||l>=o?-1:l;if(u===this.size||i&&u===this.size-1||-1===u)return this.set(t,r),this;let c=this.size+ +!i;s<0&&l++;let d=[...this.#e],f=!1;for(let e=l;e<c;e++)if(l===e){let o=d[e];d[e]===t&&(o=d[e+1]),i&&this.delete(t),n=this.get(o),this.set(t,r)}else{f||d[e-1]!==t||(f=!0);let r=d[f?e:e-1],i=n;n=this.get(r),this.delete(r),this.set(r,i)}return this}with(t,r,n){let i=new e(this);return i.insert(t,r,n),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n,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 n=this.#e.indexOf(e);return -1===n?this:this.insert(n+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 n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return n;r++}}findIndex(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return r;r++}return -1}filter(t,r){let n=[],i=0;for(let e of this)Reflect.apply(t,r,[e,i,this])&&n.push(e),i++;return new e(n)}map(t,r){let n=[],i=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,i,this])]),i++;return new e(n)}reduce(...e){let[t,r]=e,n=0,i=r??this.at(0);for(let r of this)i=0===n&&1===e.length?r:Reflect.apply(t,this,[i,r,n,this]),n++;return i}reduceRight(...e){let[t,r]=e,n=r??this.at(-1);for(let r=this.size-1;r>=0;r--){let i=this.at(r);
1n=r===this.size-1&&1===e.length?i:Reflect.apply(t,this,[n,i,r,this])}return n}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),n=this.get(r);t.set(r,n)}return t}toSpliced(...t){let r=[...this.entries()];return r.splice(...t),new e(r)}slice(t,r){let n=new e,i=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(i=r-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),r=this.get(t);n.set(t,r)}return n}every(e,t){let r=0;for(let n of this){if(!Reflect.apply(e,t,[n,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return!0;r++}return!1}}),e.s(["createCollection",0,function(e){let s=e+"CollectionProvider",[l,a]=(0,r.createContextScope)(s),[u,c]=l(s,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:r,children:n}=e,i=t.useRef(null),s=t.useRef(new Map).current;return(0,o.jsx)(u,{scope:r,itemMap:s,collectionRef:i,children:n})};d.displayName=s;let f=e+"CollectionSlot",p=(0,i.createSlot)(f),h=t.forwardRef((e,t)=>{let{scope:r,children:i}=e,s=c(f,r),l=(0,n.useComposedRefs)(t,s.collectionRef);return(0,o.jsx)(p,{ref:l,children:i})});h.displayName=f;let m=e+"CollectionItemSlot",y="data-radix-collection-item",v=(0,i.createSlot)(m),g=t.forwardRef((e,r)=>{let{scope:i,children:s,...l}=e,a=t.useRef(null),u=(0,n.useComposedRefs)(r,a),d=c(m,i);return t.useEffect(()=>(d.itemMap.set(a,{ref:a,...l}),()=>void d.itemMap.delete(a))),(0,o.jsx)(v,{...{[y]:""},ref:u,children:s})});return g.displayName=m,[{Provider:d,Slot:h,ItemSlot:g},function(r){let n=c(e+"CollectionConsumer",r);return t.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${y}]`));return Array.from(n.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[n.collectionRef,n.itemMap])},a]}],75830);var u=t.createContext(void 0);e.s(["useDirection",0,function(e){let r=t.useContext(u);return e||r||"ltr"}],86318)},87607,e=>{"use strict";var t=e.i(71645),r=e.i(81140),n=e.i(30030),i=e.i(69340),o=e.i(34620),s=e.i(20783),l=e.i(48425),a=e.i(96626),u=e.i(10772),c=e.i(18050),d="Collapsible",[f,p]=(0,n.createContextScope)(d),[h,m]=f(d),y=t.forwardRef((e,r)=>{let{__scopeCollapsible:n,open:o,defaultOpen:s,disabled:a,onOpenChange:f,...p}=e,[m,y]=(0,i.useControllableState)({prop:o,defaultProp:s??!1,onChange:f,caller:d});return(0,c.jsx)(h,{scope:n,disabled:a,contentId:(0,u.useId)(),open:m,onOpenToggle:t.useCallback(()=>y(e=>!e),[y]),children:(0,c.jsx)(l.Primitive.div,{"data-state":b(m),"data-disabled":a?"":void 0,...p,ref:r})})});y.displayName=d;var v="CollapsibleTrigger",g=t.forwardRef((e,t)=>{let{__scopeCollapsible:n,...i}=e,o=m(v,n);return(0,c.jsx)(l.Primitive.button,{type:"button","aria-controls":o.open?o.contentId:void 0,"aria-expanded":o.open||!1,"data-state":b(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...i,ref:t,onClick:(0,r.composeEventHandlers)(e.onClick,o.onOpenToggle)})});g.displayName=v;var C="CollapsibleContent",w=t.forwardRef((e,t)=>{let{forceMount:r,...n}=e,i=m(C,e.__scopeCollapsible);return(0,c.jsx)(a.Presence,{present:r||i.open,children:({present:e})=>(0,c.jsx)(x,{...n,ref:t,present:e})})});w.displayName=C;var x=t.forwardRef((e,r)=>{let{__scopeCollapsible:n,present:i,children:a,...u}=e,d=m(C,n),[f,p]=t.useState(i),h=t.useRef(null),y=(0,s.useComposedRefs)(r,h),v=t.useRef(0),g=v.current,w=t.useRef(0),x=w.current,R=d.open||f,N=t.useRef(R),A=t.useRef(void 0);return t.useEffect(()=>{let e=requestAnimationFrame(()=>N.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,o.useLayoutEffect)(()=>{let e=h.current;if(e){A.current=A.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();v.current=t.height,w.current=t.width,N.current||(e.style.transitionDuration=A.current.transitionDuration,e.style.animationName=A.current.animationName),p(i)}},[d.open,i]),(0,c.jsx)(l.Primitive.div,{"data-state":b(d.open),"data-disabled":d.disabled?"":void 0,id:d.contentId,hidden:!R,...u,ref:y,style:{"--radix-collapsible-content-height":g?`${g}px`:void 0,"--radix-collapsible-content-width":x?`${x}px`:void 0,...e.style},children:R&&a})});function b(e){return e?"open":"closed"}e.s(["CollapsibleContent",0,w,"CollapsibleTrigger",0,g,"Content",0,w,"Root",0,y,"Trigger",0,g,"createCollapsibleScope",0,p])},67660,e=>{"use strict";var t=e.i(71645),r=e.i(30030),n=e.i(75830),i=e.i(20783),o=e.i(81140),s=e.i(69340),l=e.i(48425),a=e.i(87607),u=e.i(10772),c=e.i(86318),d=e.i(18050),f="Accordion",p=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[h,m,y]=(0,n.createCollection)(f),[v,g]=(0,r.createContextScope)(f,[y,a.createCollapsibleScope]),C=(0,a.createCollapsibleScope)(),w=t.forwardRef((e,t)=>
1{let{type:r,...n}=e;return(0,d.jsx)(h.Provider,{scope:e.__scopeAccordion,children:"multiple"===r?(0,d.jsx)(k,{...n,ref:t}):(0,d.jsx)(A,{...n,ref:t})})});w.displayName=f;var[x,b]=v(f),[R,N]=v(f,{collapsible:!1}),A=t.forwardRef((e,r)=>{let{value:n,defaultValue:i,onValueChange:o=()=>{},collapsible:l=!1,...a}=e,[u,c]=(0,s.useControllableState)({prop:n,defaultProp:i??"",onChange:o,caller:f});return(0,d.jsx)(x,{scope:e.__scopeAccordion,value:t.useMemo(()=>u?[u]:[],[u]),onItemOpen:c,onItemClose:t.useCallback(()=>l&&c(""),[l,c]),children:(0,d.jsx)(R,{scope:e.__scopeAccordion,collapsible:l,children:(0,d.jsx)(O,{...a,ref:r})})})}),k=t.forwardRef((e,r)=>{let{value:n,defaultValue:i,onValueChange:o=()=>{},...l}=e,[a,u]=(0,s.useControllableState)({prop:n,defaultProp:i??[],onChange:o,caller:f}),c=t.useCallback(e=>u((t=[])=>[...t,e]),[u]),p=t.useCallback(e=>u((t=[])=>t.filter(t=>t!==e)),[u]);return(0,d.jsx)(x,{scope:e.__scopeAccordion,value:a,onItemOpen:c,onItemClose:p,children:(0,d.jsx)(R,{scope:e.__scopeAccordion,collapsible:!0,children:(0,d.jsx)(O,{...l,ref:r})})})}),[S,E]=v(f),O=t.forwardRef((e,r)=>{let{__scopeAccordion:n,disabled:s,dir:a,orientation:u="vertical",...f}=e,y=t.useRef(null),v=(0,i.useComposedRefs)(y,r),g=m(n),C="ltr"===(0,c.useDirection)(a),w=(0,o.composeEventHandlers)(e.onKeyDown,e=>{if(!p.includes(e.key))return;let t=e.target,r=g().filter(e=>!e.ref.current?.disabled),n=r.findIndex(e=>e.ref.current===t),i=r.length;if(-1===n)return;e.preventDefault();let o=n,s=i-1,l=()=>{(o=n+1)>s&&(o=0)},a=()=>{(o=n-1)<0&&(o=s)};switch(e.key){case"Home":o=0;break;case"End":o=s;break;case"ArrowRight":"horizontal"===u&&(C?l():a());break;case"ArrowDown":"vertical"===u&&l();break;case"ArrowLeft":"horizontal"===u&&(C?a():l());break;case"ArrowUp":"vertical"===u&&a()}let c=o%i;r[c].ref.current?.focus()});return(0,d.jsx)(S,{scope:n,disabled:s,direction:a,orientation:u,children:(0,d.jsx)(h.Slot,{scope:n,children:(0,d.jsx)(l.Primitive.div,{...f,"data-orientation":u,ref:v,onKeyDown:s?void 0:w})})})}),j="AccordionItem",[I,P]=v(j),_=t.forwardRef((e,t)=>{let{__scopeAccordion:r,value:n,...i}=e,o=E(j,r),s=b(j,r),l=C(r),c=(0,u.useId)(),f=n&&s.value.includes(n)||!1,p=o.disabled||e.disabled;return(0,d.jsx)(I,{scope:r,open:f,disabled:p,triggerId:c,children:(0,d.jsx)(a.Root,{"data-orientation":o.orientation,"data-state":U(f),...l,...i,ref:t,disabled:p,open:f,onOpenChange:e=>{e?s.onItemOpen(n):s.onItemClose(n)}})})});_.displayName=j;var M="AccordionHeader",T=t.forwardRef((e,t)=>{let{__scopeAccordion:r,...n}=e,i=E(f,r),o=P(M,r);return(0,d.jsx)(l.Primitive.h3,{"data-orientation":i.orientation,"data-state":U(o.open),"data-disabled":o.disabled?"":void 0,...n,ref:t})});T.displayName=M;var $="AccordionTrigger",D=t.forwardRef((e,t)=>{let{__scopeAccordion:r,...n}=e,i=E(f,r),o=P($,r),s=N($,r),l=C(r);return(0,d.jsx)(h.ItemSlot,{scope:r,children:(0,d.jsx)(a.Trigger,{"aria-disabled":o.open&&!s.collapsible||void 0,"data-orientation":i.orientation,id:o.triggerId,...l,...n,ref:t})})});D.displayName=$;var L="AccordionContent",z=t.forwardRef((e,t)=>{let{__scopeAccordion:r,...n}=e,i=E(f,r),o=P(L,r),s=C(r);return(0,d.jsx)(a.Content,{role:"region","aria-labelledby":o.triggerId,"data-orientation":i.orientation,...s,...n,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function U(e){return e?"open":"closed"}z.displayName=L,e.s(["Content",0,z,"Header",0,T,"Item",0,_,"Root",0,w,"Trigger",0,D])},77071,e=>{"use strict";let t=(0,e.i(56420).default)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);e.s(["Plus",0,t],77071)}]);
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.