1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[206],{23403:(e,r,t)=>{t.d(r,{YF:()=>l,Cy:()=>o});var n=t(87282);let a=(0,n.createContext)({}),o=()=>(0,n.useContext)(a),i=(e,r)=>{let{payload:{breakpoints:t,animationRef:n}}=r;n.current=null;let{eventsFired:a}=e,{documentElement:{style:o,clientWidth:i,clientHeight:l}}=document,{innerWidth:s,innerHeight:d}=window,c=`${i/100}px`,u=`${l/100}px`,p=t?Object.keys(t).reduce((e,r)=>Object.assign(Object.assign({},e),{[r]:window.matchMedia(t[r]).matches}),{}):{};return o.setProperty("--vw",c),o.setProperty("--vh",u),{width:s,height:d,"--vw":c,"--vh":u,breakpoints:p,eventsFired:a+1}},l=e=>{let{breakpoints:r,children:t}=e,o=(0,n.useRef)(null),[l,s]=(0,n.useReducer)(i,{width:void 0,height:void 0,"--vw":"","--vh":"",breakpoints:{},eventsFired:0}),d=(0,n.useCallback)(()=>{o.current&&cancelAnimationFrame(o.current),o.current=requestAnimationFrame(()=>s({type:"UPDATE",payload:{breakpoints:r,animationRef:o}}))},[r]),c=(0,n.useCallback)(()=>{setTimeout(()=>{d()},500)},[d]);return(0,n.useEffect)(()=>(window.addEventListener("resize",d),window.addEventListener("orientationchange",c),()=>{window.removeEventListener("resize",d),window.removeEventListener("orientationchange",c)}),[d,c]),(0,n.useEffect)(()=>{0===l.eventsFired&&s({type:"UPDATE",payload:{breakpoints:r,animationRef:o}})},[r,l]),n.createElement(a.Provider,{value:Object.assign({},l)},t&&t)}},87960:(e,r,t)=>{t.d(r,{Content:()=>ea,Item:()=>et,Root:()=>er,Trigger:()=>en});var n=t(87282),a=t(38016),o=t(10160),i=t(96438),l=t(12507),s=t(2337),d=t(60009),c=t(27677),u=t(72845),p=t(68213),f=t(51898),h="Collapsible",[v,m]=(0,a.A)(h),[w,b]=v(h),x=n.forwardRef((e,r)=>{let{__scopeCollapsible:t,open:a,defaultOpen:o,disabled:i,onOpenChange:l,...c}=e,[u,v]=(0,s.i)({prop:a,defaultProp:o??!1,onChange:l,caller:h});return(0,f.jsx)(w,{scope:t,disabled:i,contentId:(0,p.B)(),open:u,onOpenToggle:n.useCallback(()=>v(e=>!e),[v]),children:(0,f.jsx)(d.sG.div,{"data-state":R(u),"data-disabled":i?"":void 0,...c,ref:r})})});x.displayName=h;var g="CollapsibleTrigger",y=n.forwardRef((e,r)=>{let{__scopeCollapsible:t,...n}=e,a=b(g,t);return(0,f.jsx)(d.sG.button,{type:"button","aria-controls":a.contentId,"aria-expanded":a.open||!1,"data-state":R(a.open),"data-disabled":a.disabled?"":void 0,disabled:a.disabled,...n,ref:r,onClick:(0,l.mK)(e.onClick,a.onOpenToggle)})});y.displayName=g;var j="CollapsibleContent",C=n.forwardRef((e,r)=>{let{forceMount:t,...n}=e,a=b(j,e.__scopeCollapsible);return(0,f.jsx)(u.C,{present:t||a.open,children:({present:e})=>(0,f.jsx)(A,{...n,ref:r,present:e})})});C.displayName=j;var A=n.forwardRef((e,r)=>{let{__scopeCollapsible:t,present:a,children:o,...l}=e,s=b(j,t),[u,p]=n.useState(a),h=n.useRef(null),v=(0,i.s)(r,h),m=n.useRef(0),w=m.current,x=n.useRef(0),g=x.current,y=s.open||u,C=n.useRef(y),A=n.useRef(void 0);return n.useEffect(()=>{let e=requestAnimationFrame(()=>C.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,c.N)(()=>{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 r=e.getBoundingClientRect();m.current=r.height,x.current=r.width,C.current||(e.style.transitionDuration=A.current.transitionDuration,e.style.animationName=A.current.animationName),p(a)}},[s.open,a]),(0,f.jsx)(d.sG.div,{"data-state":R(s.open),"data-disabled":s.disabled?"":void 0,id:s.contentId,hidden:!y,...l,ref:v,style:{"--radix-collapsible-content-height":w?`${w}px`:void 0,"--radix-collapsible-content-width":g?`${g}px`:void 0,...e.style},children:y&&o})});function R(e){return e?"open":"closed"}var k=t(45005),N="Accordion",_=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[E,I,D]=(0,o.N)(N),[O,F]=(0,a.A)(N,[D,m]),P=m(),T=n.forwardRef((e,r)=>{let{type:t,...n}=e;return(0,f.jsx)(E.Provider,{scope:e.__scopeAccordion,children:"multiple"===t?(0,f.jsx)(U,{...n,ref:r}):(0,f.jsx)(K,{...n,ref:r})})});T.displayName=N;var[L,G]=O(N),[H,z]=O(N,{collapsible:!1}),K=n.forwardRef((e,r)=>{let{value:t,defaultValue:a,onValueChange:o=()=>{},collapsible:i=!1,...l}=e,[d,c]=(0,s.i)({prop:t,defaultProp:a??"",onChange:o,caller:N});return(0,f.jsx)(L,{scope:e.__scopeAccordion,value:n.useMemo(()=>d?[d]:[],[d]),onItemOpen:c,onItemClose:n.useCallback(()=>i&&c(""),[i,c]),children:(0,f.jsx)(H,{scope:e.__scopeAccordion,collapsible:i,children:(0,f.jsx)(S,{...l,ref:r})})})}),U=n.forwardRef((e,r)=>{let{value:t,defaultValue:a,onValueChange:o=()=>{},...i}=e,[l,d]=(0,s.i)({prop:t,defaultProp:a??[],onChange:o,caller:N}),c=n.useCallback(e=>d((r=[])=>[...r,e]),[d]),u=n.useCallback(e=>d((r=[])=>r.filter(r=>r!==e)),[d]);return(0,f.jsx)(L,{scope:e.__scopeAccordion,value:l,onItemOpen:c,onItemClose:u,children:(0,f.jsx)(H,{scope:e.__scopeAccordion,collapsible:!0,children:(0,f.jsx)(S,{...i,ref:r})})})}),[$,B]=O(N),S=n.forwardRef((e,r)=>{let{__scopeAccordion:t,disabled:a,dir:o,orientation:s="vertical",...c}=e,u=n.useRef(null),p=(0,i.s)(u,r),h=I(t),v="ltr"===(0,k.jH)(o),m=(0,l.mK)(e.onKeyDown,e=>
1{if(!_.includes(e.key))return;let r=e.target,t=h().filter(e=>!e.ref.current?.disabled),n=t.findIndex(e=>e.ref.current===r),a=t.length;if(-1===n)return;e.preventDefault();let o=n,i=a-1,l=()=>{(o=n+1)>i&&(o=0)},d=()=>{(o=n-1)<0&&(o=i)};switch(e.key){case"Home":o=0;break;case"End":o=i;break;case"ArrowRight":"horizontal"===s&&(v?l():d());break;case"ArrowDown":"vertical"===s&&l();break;case"ArrowLeft":"horizontal"===s&&(v?d():l());break;case"ArrowUp":"vertical"===s&&d()}let c=o%a;t[c].ref.current?.focus()});return(0,f.jsx)($,{scope:t,disabled:a,direction:o,orientation:s,children:(0,f.jsx)(E.Slot,{scope:t,children:(0,f.jsx)(d.sG.div,{...c,"data-orientation":s,ref:p,onKeyDown:a?void 0:m})})})}),q="AccordionItem",[M,W]=O(q),Y=n.forwardRef((e,r)=>{let{__scopeAccordion:t,value:n,...a}=e,o=B(q,t),i=G(q,t),l=P(t),s=(0,p.B)(),d=n&&i.value.includes(n)||!1,c=o.disabled||e.disabled;return(0,f.jsx)(M,{scope:t,open:d,disabled:c,triggerId:s,children:(0,f.jsx)(x,{"data-orientation":o.orientation,"data-state":ee(d),...l,...a,ref:r,disabled:c,open:d,onOpenChange:e=>{e?i.onItemOpen(n):i.onItemClose(n)}})})});Y.displayName=q;var J="AccordionHeader";n.forwardRef((e,r)=>{let{__scopeAccordion:t,...n}=e,a=B(N,t),o=W(J,t);return(0,f.jsx)(d.sG.h3,{"data-orientation":a.orientation,"data-state":ee(o.open),"data-disabled":o.disabled?"":void 0,...n,ref:r})}).displayName=J;var Q="AccordionTrigger",V=n.forwardRef((e,r)=>{let{__scopeAccordion:t,...n}=e,a=B(N,t),o=W(Q,t),i=z(Q,t),l=P(t);return(0,f.jsx)(E.ItemSlot,{scope:t,children:(0,f.jsx)(y,{"aria-disabled":o.open&&!i.collapsible||void 0,"data-orientation":a.orientation,id:o.triggerId,...l,...n,ref:r})})});V.displayName=Q;var X="AccordionContent",Z=n.forwardRef((e,r)=>{let{__scopeAccordion:t,...n}=e,a=B(N,t),o=W(X,t),i=P(t);return(0,f.jsx)(C,{role:"region","aria-labelledby":o.triggerId,"data-orientation":a.orientation,...i,...n,ref:r,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function ee(e){return e?"open":"closed"}Z.displayName=X;var er=T,et=Y,en=V,ea=Z}}]);
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.