1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[665],{12803:(e,n,t)=>{t.d(n,{Ke:()=>x,R6:()=>w,UC:()=>I,bL:()=>R,l9:()=>j,z3:()=>v});var r=t(7620),o=t(37188),a=t(55556),i=t(3198),l=t(58009),s=t(33670),d=t(78858),c=t(98386),u=t(30586),f=t(54568),p="Collapsible",[m,v]=(0,a.A)(p),[b,N]=m(p),h=r.forwardRef((e,n)=>{let{__scopeCollapsible:t,open:o,defaultOpen:a,disabled:l,onOpenChange:s,...c}=e,[m,v]=(0,i.i)({prop:o,defaultProp:a??!1,onChange:s,caller:p});return(0,f.jsx)(b,{scope:t,disabled:l,contentId:(0,u.B)(),open:m,onOpenToggle:r.useCallback(()=>v(e=>!e),[v]),children:(0,f.jsx)(d.sG.div,{"data-state":C(m),"data-disabled":l?"":void 0,...c,ref:n})})});h.displayName=p;var g="CollapsibleTrigger",w=r.forwardRef((e,n)=>{let{__scopeCollapsible:t,...r}=e,a=N(g,t);return(0,f.jsx)(d.sG.button,{type:"button","aria-controls":a.open?a.contentId:void 0,"aria-expanded":a.open||!1,"data-state":C(a.open),"data-disabled":a.disabled?"":void 0,disabled:a.disabled,...r,ref:n,onClick:(0,o.mK)(e.onClick,a.onOpenToggle)})});w.displayName=g;var y="CollapsibleContent",x=r.forwardRef((e,n)=>{let{forceMount:t,...r}=e,o=N(y,e.__scopeCollapsible);return(0,f.jsx)(c.C,{present:t||o.open,children:({present:e})=>(0,f.jsx)(A,{...r,ref:n,present:e})})});x.displayName=y;var A=r.forwardRef((e,n)=>{let{__scopeCollapsible:t,present:o,children:a,...i}=e,c=N(y,t),[u,p]=r.useState(o),m=r.useRef(null),v=(0,s.s)(n,m),b=r.useRef(0),h=b.current,g=r.useRef(0),w=g.current,x=c.open||u,A=r.useRef(x),R=r.useRef(void 0);return r.useEffect(()=>{let e=requestAnimationFrame(()=>A.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,l.N)(()=>{let e=m.current;if(e){R.current=R.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let n=e.getBoundingClientRect();b.current=n.height,g.current=n.width,A.current||(e.style.transitionDuration=R.current.transitionDuration,e.style.animationName=R.current.animationName),p(o)}},[c.open,o]),(0,f.jsx)(d.sG.div,{"data-state":C(c.open),"data-disabled":c.disabled?"":void 0,id:c.contentId,hidden:!x,...i,ref:v,style:{"--radix-collapsible-content-height":h?`${h}px`:void 0,"--radix-collapsible-content-width":w?`${w}px`:void 0,...e.style},children:x&&a})});function C(e){return e?"open":"closed"}var R=h,j=w,I=x},80665:(e,n,t)=>{t.d(n,{UC:()=>$,Y9:()=>B,bL:()=>H,l9:()=>q,q7:()=>W});var r=t(7620),o=t(55556),a=t(45343),i=t(33670),l=t(37188),s=t(3198),d=t(78858),c=t(12803),u=t(30586),f=t(22130),p=t(54568),m="Accordion",v=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[b,N,h]=(0,a.N)(m),[g,w]=(0,o.A)(m,[h,c.z3]),y=(0,c.z3)(),x=r.forwardRef((e,n)=>{let{type:t,...r}=e;return(0,p.jsx)(b.Provider,{scope:e.__scopeAccordion,children:"multiple"===t?(0,p.jsx)(O,{...r,ref:n}):(0,p.jsx)(I,{...r,ref:n})})});x.displayName=m;var[A,C]=g(m),[R,j]=g(m,{collapsible:!1}),I=r.forwardRef((e,n)=>{let{value:t,defaultValue:o,onValueChange:a=()=>{},collapsible:i=!1,...l}=e,[d,c]=(0,s.i)({prop:t,defaultProp:o??"",onChange:a,caller:m});return(0,p.jsx)(A,{scope:e.__scopeAccordion,value:r.useMemo(()=>d?[d]:[],[d]),onItemOpen:c,onItemClose:r.useCallback(()=>i&&c(""),[i,c]),children:(0,p.jsx)(R,{scope:e.__scopeAccordion,collapsible:i,children:(0,p.jsx)(T,{...l,ref:n})})})}),O=r.forwardRef((e,n)=>{let{value:t,defaultValue:o,onValueChange:a=()=>{},...i}=e,[l,d]=(0,s.i)({prop:t,defaultProp:o??[],onChange:a,caller:m}),c=r.useCallback(e=>d((n=[])=>[...n,e]),[d]),u=r.useCallback(e=>d((n=[])=>n.filter(n=>n!==e)),[d]);return(0,p.jsx)(A,{scope:e.__scopeAccordion,value:l,onItemOpen:c,onItemClose:u,children:(0,p.jsx)(R,{scope:e.__scopeAccordion,collapsible:!0,children:(0,p.jsx)(T,{...i,ref:n})})})}),[_,k]=g(m),T=r.forwardRef((e,n)=>{let{__scopeAccordion:t,disabled:o,dir:a,orientation:s="vertical",...c}=e,u=r.useRef(null),m=(0,i.s)(u,n),h=N(t),g="ltr"===(0,f.jH)(a),w=(0,l.mK)(e.onKeyDown,e=>{if(!v.includes(e.key))return;let n=e.target,t=h().filter(e=>!e.ref.current?.disabled),r=t.findIndex(e=>e.ref.current===n),o=t.length;if(-1===r)return;e.preventDefault();let a=r,i=o-1,l=()=>{(a=r+1)>i&&(a=0)},d=()=>{(a=r-1)<0&&(a=i)};switch(e.key){case"Home":a=0;break;case"End":a=i;break;case"ArrowRight":"horizontal"===s&&(g?l():d());break;case"ArrowDown":"vertical"===s&&l();break;case"ArrowLeft":"horizontal"===s&&(g?d():l());break;case"ArrowUp":"vertical"===s&&d()}let c=a%o;t[c].ref.current?.focus()});return(0,p.jsx)(_,{scope:t,disabled:o,direction:a,orientation:s,children:(0,p.jsx)(b.Slot,{scope:t,children:(0,p.jsx)(d.sG.div,{...c,"data-orientation":s,ref:m,onKeyDown:o?void 0:w})})})}
1),D="AccordionItem",[E,M]=g(D),U=r.forwardRef((e,n)=>{let{__scopeAccordion:t,value:r,...o}=e,a=k(D,t),i=C(D,t),l=y(t),s=(0,u.B)(),d=r&&i.value.includes(r)||!1,f=a.disabled||e.disabled;return(0,p.jsx)(E,{scope:t,open:d,disabled:f,triggerId:s,children:(0,p.jsx)(c.bL,{"data-orientation":a.orientation,"data-state":K(d),...l,...o,ref:n,disabled:f,open:d,onOpenChange:e=>{e?i.onItemOpen(r):i.onItemClose(r)}})})});U.displayName=D;var L="AccordionHeader",P=r.forwardRef((e,n)=>{let{__scopeAccordion:t,...r}=e,o=k(m,t),a=M(L,t);return(0,p.jsx)(d.sG.h3,{"data-orientation":o.orientation,"data-state":K(a.open),"data-disabled":a.disabled?"":void 0,...r,ref:n})});P.displayName=L;var S="AccordionTrigger",F=r.forwardRef((e,n)=>{let{__scopeAccordion:t,...r}=e,o=k(m,t),a=M(S,t),i=j(S,t),l=y(t);return(0,p.jsx)(b.ItemSlot,{scope:t,children:(0,p.jsx)(c.l9,{"aria-disabled":a.open&&!i.collapsible||void 0,"data-orientation":o.orientation,id:a.triggerId,...l,...r,ref:n})})});F.displayName=S;var z="AccordionContent",G=r.forwardRef((e,n)=>{let{__scopeAccordion:t,...r}=e,o=k(m,t),a=M(z,t),i=y(t);return(0,p.jsx)(c.UC,{role:"region","aria-labelledby":a.triggerId,"data-orientation":o.orientation,...i,...r,ref:n,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function K(e){return e?"open":"closed"}G.displayName=z;var H=x,W=U,B=P,q=F,$=G},98386:(e,n,t)=>{t.d(n,{C:()=>a});var r=t(7620),o=t(58009),a=e=>{var n;let t,a,{present:s,children:d}=e,c=function(e){var n,t;let[a,i]=r.useState(),s=r.useRef(null),d=r.useRef(e),c=r.useRef("none"),[u,f]=(n=e?"mounted":"unmounted",t={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,n)=>t[e][n]??e,n));return r.useEffect(()=>{let e=l(s.current);c.current="mounted"===u?e:"none"},[u]),(0,o.N)(()=>{let n=s.current,t=d.current;if(t!==e){let r=c.current,o=l(n);e?f("MOUNT"):"none"===o||n?.display==="none"?f("UNMOUNT"):t&&r!==o?f("ANIMATION_OUT"):f("UNMOUNT"),d.current=e}},[e,f]),(0,o.N)(()=>{if(a){let e,n=a.ownerDocument.defaultView??window,t=t=>{let r=l(s.current).includes(CSS.escape(t.animationName));if(t.target===a&&r&&(f("ANIMATION_END"),!d.current)){let t=a.style.animationFillMode;a.style.animationFillMode="forwards",e=n.setTimeout(()=>{"forwards"===a.style.animationFillMode&&(a.style.animationFillMode=t)})}},r=e=>{e.target===a&&(c.current=l(s.current))};return a.addEventListener("animationstart",r),a.addEventListener("animationcancel",t),a.addEventListener("animationend",t),()=>{n.clearTimeout(e),a.removeEventListener("animationstart",r),a.removeEventListener("animationcancel",t),a.removeEventListener("animationend",t)}}f("ANIMATION_END")},[a,f]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:r.useCallback(e=>{s.current=e?getComputedStyle(e):null,i(e)},[])}}(s),u="function"==typeof d?d({present:c.isPresent}):r.Children.only(d),f=function(...e){let n=r.useRef(e);return n.current=e,r.useCallback(e=>{let t=n.current,r=!1,o=t.map(n=>{let t=i(n,e);return r||"function"!=typeof t||(r=!0),t});if(r)return()=>{for(let e=0;e<o.length;e++){let n=o[e];"function"==typeof n?n():i(t[e],null)}}},[])}(c.ref,(n=u,(a=(t=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?n.ref:(a=(t=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?n.props.ref:n.props.ref||n.ref));return"function"==typeof d||c.isPresent?r.cloneElement(u,{ref:f}):null};function i(e,n){if("function"==typeof e)return e(n);null!=e&&(e.current=n)}function l(e){return e?.animationName||"none"}a.displayName="Presence"}}]); 2//# sourceMappingURL=665-7bf87d2f082d2d5e.js.map
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.