1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2009],{2009:(e,t,n)=>{n.d(t,{UC:()=>em,Y9:()=>ef,q7:()=>ed,bL:()=>ec,l9:()=>ep});var r=n(2115),o=n.t(r,2),i=n(6081),a=n(6101),l=n(5155),s=r.forwardRef((e,t)=>{let{children:n,...o}=e,i=r.Children.toArray(n),a=i.find(d);if(a){let e=a.props.children,n=i.map(t=>t!==a?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,l.jsx)(u,{...o,ref:t,children:r.isValidElement(e)?r.cloneElement(e,void 0,n):null})}return(0,l.jsx)(u,{...o,ref:t,children:n})});s.displayName="Slot";var u=r.forwardRef((e,t)=>{let{children:n,...o}=e;if(r.isValidElement(n)){let e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(n=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}(n),i=function(e,t){let n={...t};for(let r in t){let o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{i(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(o,n.props);return n.type!==r.Fragment&&(i.ref=t?(0,a.t)(t,e):e),r.cloneElement(n,i)}return r.Children.count(n)>1?r.Children.only(null):null});u.displayName="SlotClone";var c=({children:e})=>(0,l.jsx)(l.Fragment,{children:e});function d(e){return r.isValidElement(e)&&e.type===c}function f(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}var p=n(9033);function m({prop:e,defaultProp:t,onChange:n=()=>{}}){let[o,i]=function({defaultProp:e,onChange:t}){let n=r.useState(e),[o]=n,i=r.useRef(o),a=(0,p.c)(t);return r.useEffect(()=>{i.current!==o&&(a(o),i.current=o)},[o,i,a]),n}({defaultProp:t,onChange:n}),a=void 0!==e,l=a?e:o,s=(0,p.c)(n);return[l,r.useCallback(t=>{if(a){let n="function"==typeof t?t(e):t;n!==e&&s(n)}else i(t)},[a,e,i,s])]}var v=n(3540),N=n(2712),g=e=>{let{present:t,children:n}=e,o=function(e){var t,n;let[o,i]=r.useState(),a=r.useRef({}),l=r.useRef(e),s=r.useRef("none"),[u,c]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,t)=>{let r=n[e][t];return null!=r?r:e},t));return r.useEffect(()=>{let e=h(a.current);s.current="mounted"===u?e:"none"},[u]),(0,N.N)(()=>{let t=a.current,n=l.current;if(n!==e){let r=s.current,o=h(t);e?c("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?c("UNMOUNT"):n&&r!==o?c("ANIMATION_OUT"):c("UNMOUNT"),l.current=e}},[e,c]),(0,N.N)(()=>{if(o){var e;let t,n=null!=(e=o.ownerDocument.defaultView)?e:window,r=e=>{let r=h(a.current).includes(e.animationName);if(e.target===o&&r&&(c("ANIMATION_END"),!l.current)){let e=o.style.animationFillMode;o.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=e)})}},i=e=>{e.target===o&&(s.current=h(a.current))};return o.addEventListener("animationstart",i),o.addEventListener("animationcancel",r),o.addEventListener("animationend",r),()=>{n.clearTimeout(t),o.removeEventListener("animationstart",i),o.removeEventListener("animationcancel",r),o.removeEventListener("animationend",r)}}c("ANIMATION_END")},[o,c]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:r.useCallback(e=>{e&&(a.current=getComputedStyle(e)),i(e)},[])}}(t),i="function"==typeof n?n({present:o.isPresent}):r.Children.only(n),l=(0,a.s)(o.ref,function(e){var t,n;let r=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?e.ref:(o=(r=null==(n=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:n.get)&&"isReactWarning"in r&&r.isReactWarning)?e.props.ref:e.props.ref||e.ref}(i));return"function"==typeof n||o.isPresent?r.cloneElement(i,{ref:l}):null};function h(e){return(null==e?void 0:e.animationName)||"none"}g.displayName="Presence";var y=o["useId".toString()]||(()=>void 0),b=0;function x(e){let[t,n]=r.useState(y());return(0,N.N)(()=>{e||n(e=>e??String(b++))},[e]),e||(t?`radix-${t}`:"")}var w="Collapsible",[R,C]=(0,i.A)(w),[A,j]=R(w),O=r.forwardRef((e,t)=>
1{let{__scopeCollapsible:n,open:o,defaultOpen:i,disabled:a,onOpenChange:s,...u}=e,[c=!1,d]=m({prop:o,defaultProp:i,onChange:s});return(0,l.jsx)(A,{scope:n,disabled:a,contentId:x(),open:c,onOpenToggle:r.useCallback(()=>d(e=>!e),[d]),children:(0,l.jsx)(v.sG.div,{"data-state":S(c),"data-disabled":a?"":void 0,...u,ref:t})})});O.displayName=w;var E="CollapsibleTrigger",I=r.forwardRef((e,t)=>{let{__scopeCollapsible:n,...r}=e,o=j(E,n);return(0,l.jsx)(v.sG.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":S(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...r,ref:t,onClick:f(e.onClick,o.onOpenToggle)})});I.displayName=E;var _="CollapsibleContent",M=r.forwardRef((e,t)=>{let{forceMount:n,...r}=e,o=j(_,e.__scopeCollapsible);return(0,l.jsx)(g,{present:n||o.open,children:e=>{let{present:n}=e;return(0,l.jsx)(k,{...r,ref:t,present:n})}})});M.displayName=_;var k=r.forwardRef((e,t)=>{let{__scopeCollapsible:n,present:o,children:i,...s}=e,u=j(_,n),[c,d]=r.useState(o),f=r.useRef(null),p=(0,a.s)(t,f),m=r.useRef(0),g=m.current,h=r.useRef(0),y=h.current,b=u.open||c,x=r.useRef(b),w=r.useRef(void 0);return r.useEffect(()=>{let e=requestAnimationFrame(()=>x.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,N.N)(()=>{let e=f.current;if(e){w.current=w.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();m.current=t.height,h.current=t.width,x.current||(e.style.transitionDuration=w.current.transitionDuration,e.style.animationName=w.current.animationName),d(o)}},[u.open,o]),(0,l.jsx)(v.sG.div,{"data-state":S(u.open),"data-disabled":u.disabled?"":void 0,id:u.contentId,hidden:!b,...s,ref:p,style:{"--radix-collapsible-content-height":g?"".concat(g,"px"):void 0,"--radix-collapsible-content-width":y?"".concat(y,"px"):void 0,...e.style},children:b&&i})});function S(e){return e?"open":"closed"}var T=r.createContext(void 0),D="Accordion",P=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[U,L,F]=function(e){let t=e+"CollectionProvider",[n,o]=(0,i.A)(t),[u,c]=n(t,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:t,children:n}=e,o=r.useRef(null),i=r.useRef(new Map).current;return(0,l.jsx)(u,{scope:t,itemMap:i,collectionRef:o,children:n})};d.displayName=t;let f=e+"CollectionSlot",p=r.forwardRef((e,t)=>{let{scope:n,children:r}=e,o=c(f,n),i=(0,a.s)(t,o.collectionRef);return(0,l.jsx)(s,{ref:i,children:r})});p.displayName=f;let m=e+"CollectionItemSlot",v="data-radix-collection-item",N=r.forwardRef((e,t)=>{let{scope:n,children:o,...i}=e,u=r.useRef(null),d=(0,a.s)(t,u),f=c(m,n);return r.useEffect(()=>(f.itemMap.set(u,{ref:u,...i}),()=>void f.itemMap.delete(u))),(0,l.jsx)(s,{...{[v]:""},ref:d,children:o})});return N.displayName=m,[{Provider:d,Slot:p,ItemSlot:N},function(t){let n=c(e+"CollectionConsumer",t);return r.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(v,"]")));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},o]}(D),[W,$]=(0,i.A)(D,[F,C]),G=C(),V=r.forwardRef((e,t)=>{let{type:n,...r}=e;return(0,l.jsx)(U.Provider,{scope:e.__scopeAccordion,children:"multiple"===n?(0,l.jsx)(Y,{...r,ref:t}):(0,l.jsx)(K,{...r,ref:t})})});V.displayName=D;var[q,H]=W(D),[z,B]=W(D,{collapsible:!1}),K=r.forwardRef((e,t)=>{let{value:n,defaultValue:o,onValueChange:i=()=>{},collapsible:a=!1,...s}=e,[u,c]=m({prop:n,defaultProp:o,onChange:i});return(0,l.jsx)(q,{scope:e.__scopeAccordion,value:u?[u]:[],onItemOpen:c,onItemClose:r.useCallback(()=>a&&c(""),[a,c]),children:(0,l.jsx)(z,{scope:e.__scopeAccordion,collapsible:a,children:(0,l.jsx)(Q,{...s,ref:t})})})}),Y=r.forwardRef((e,t)=>{let{value:n,defaultValue:o,onValueChange:i=()=>{},...a}=e,[s=[],u]=m({prop:n,defaultProp:o,onChange:i}),c=r.useCallback(e=>u(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[...t,e]}),[u]),d=r.useCallback(e=>u(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.filter(t=>t!==e)}),[u]);return(0,l.jsx)(q,{scope:e.__scopeAccordion,value:s,onItemOpen:c,onItemClose:d,children:(0,l.jsx)(z,{scope:e.__scopeAccordion,collapsible:!0,children:(0,l.jsx)(Q,{...a,ref:t})})})}),[Z,J]=W(D),Q=r.forwardRef((e,t)=>
1{let{__scopeAccordion:n,disabled:o,dir:i,orientation:s="vertical",...u}=e,c=r.useRef(null),d=(0,a.s)(c,t),p=L(n),m="ltr"===function(e){let t=r.useContext(T);return e||t||"ltr"}(i),N=f(e.onKeyDown,e=>{var t;if(!P.includes(e.key))return;let n=e.target,r=p().filter(e=>{var t;return!(null==(t=e.ref.current)?void 0:t.disabled)}),o=r.findIndex(e=>e.ref.current===n),i=r.length;if(-1===o)return;e.preventDefault();let a=o,l=i-1,u=()=>{(a=o+1)>l&&(a=0)},c=()=>{(a=o-1)<0&&(a=l)};switch(e.key){case"Home":a=0;break;case"End":a=l;break;case"ArrowRight":"horizontal"===s&&(m?u():c());break;case"ArrowDown":"vertical"===s&&u();break;case"ArrowLeft":"horizontal"===s&&(m?c():u());break;case"ArrowUp":"vertical"===s&&c()}null==(t=r[a%i].ref.current)||t.focus()});return(0,l.jsx)(Z,{scope:n,disabled:o,direction:i,orientation:s,children:(0,l.jsx)(U.Slot,{scope:n,children:(0,l.jsx)(v.sG.div,{...u,"data-orientation":s,ref:d,onKeyDown:o?void 0:N})})})}),X="AccordionItem",[ee,et]=W(X),en=r.forwardRef((e,t)=>{let{__scopeAccordion:n,value:r,...o}=e,i=J(X,n),a=H(X,n),s=G(n),u=x(),c=r&&a.value.includes(r)||!1,d=i.disabled||e.disabled;return(0,l.jsx)(ee,{scope:n,open:c,disabled:d,triggerId:u,children:(0,l.jsx)(O,{"data-orientation":i.orientation,"data-state":eu(c),...s,...o,ref:t,disabled:d,open:c,onOpenChange:e=>{e?a.onItemOpen(r):a.onItemClose(r)}})})});en.displayName=X;var er="AccordionHeader",eo=r.forwardRef((e,t)=>{let{__scopeAccordion:n,...r}=e,o=J(D,n),i=et(er,n);return(0,l.jsx)(v.sG.h3,{"data-orientation":o.orientation,"data-state":eu(i.open),"data-disabled":i.disabled?"":void 0,...r,ref:t})});eo.displayName=er;var ei="AccordionTrigger",ea=r.forwardRef((e,t)=>{let{__scopeAccordion:n,...r}=e,o=J(D,n),i=et(ei,n),a=B(ei,n),s=G(n);return(0,l.jsx)(U.ItemSlot,{scope:n,children:(0,l.jsx)(I,{"aria-disabled":i.open&&!a.collapsible||void 0,"data-orientation":o.orientation,id:i.triggerId,...s,...r,ref:t})})});ea.displayName=ei;var el="AccordionContent",es=r.forwardRef((e,t)=>{let{__scopeAccordion:n,...r}=e,o=J(D,n),i=et(el,n),a=G(n);return(0,l.jsx)(M,{role:"region","aria-labelledby":i.triggerId,"data-orientation":o.orientation,...a,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function eu(e){return e?"open":"closed"}es.displayName=el;var ec=V,ed=en,ef=eo,ep=ea,em=es},2712:(e,t,n)=>{n.d(t,{N:()=>o});var r=n(2115),o=globalThis?.document?r.useLayoutEffect:()=>{}},6081:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(2115),o=n(5155);function i(e,t=[]){let n=[],a=()=>{let t=n.map(e=>r.createContext(e));return function(n){let o=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:o}}),[n,o])}};return a.scopeName=e,[function(t,i){let a=r.createContext(i),l=n.length;n=[...n,i];let s=t=>{let{scope:n,children:i,...s}=t,u=n?.[e]?.[l]||a,c=r.useMemo(()=>s,Object.values(s));return(0,o.jsx)(u.Provider,{value:c,children:i})};return s.displayName=t+"Provider",[s,function(n,o){let s=o?.[e]?.[l]||a,u=r.useContext(s);if(u)return u;if(void 0!==i)return i;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=n.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}(a,...t)]}},9033:(e,t,n)=>{n.d(t,{c:()=>o});var r=n(2115);function o(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}}}]);
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.