1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4163],{10714:(e,n,t)=>{t.d(n,{s:()=>i,t:()=>l});var r=t(14232);function l(...e){return n=>e.forEach(e=>{"function"==typeof e?e(n):null!=e&&(e.current=n)})}function i(...e){return r.useCallback(l(...e),e)}},33134:(e,n,t)=>{t.d(n,{N:()=>f});var r=t(14232),l=t(91844),i=t(10714),o=t(37876),u=r.forwardRef((e,n)=>{let{children:t,...l}=e,i=r.Children.toArray(t),u=i.find(c);if(u){let e=u.props.children,t=i.map(n=>n!==u?n:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,o.jsx)(a,{...l,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,t):null})}return(0,o.jsx)(a,{...l,ref:n,children:t})});u.displayName="Slot";var a=r.forwardRef((e,n)=>{let{children:t,...l}=e;if(r.isValidElement(t)){let e=function(e){let n=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,t=n&&"isReactWarning"in n&&n.isReactWarning;return t?e.ref:(t=(n=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in n&&n.isReactWarning)?e.props.ref:e.props.ref||e.ref}(t);return r.cloneElement(t,{...function(e,n){let t={...n};for(let r in n){let l=e[r],i=n[r];/^on[A-Z]/.test(r)?l&&i?t[r]=(...e)=>{i(...e),l(...e)}:l&&(t[r]=l):"style"===r?t[r]={...l,...i}:"className"===r&&(t[r]=[l,i].filter(Boolean).join(" "))}return{...e,...t}}(l,t.props),ref:n?(0,i.t)(n,e):e})}return r.Children.count(t)>1?r.Children.only(null):null});a.displayName="SlotClone";var s=({children:e})=>(0,o.jsx)(o.Fragment,{children:e});function c(e){return r.isValidElement(e)&&e.type===s}function f(e){let n=e+"CollectionProvider",[t,a]=(0,l.A)(n),[s,c]=t(n,{collectionRef:{current:null},itemMap:new Map}),f=e=>{let{scope:n,children:t}=e,l=r.useRef(null),i=r.useRef(new Map).current;return(0,o.jsx)(s,{scope:n,itemMap:i,collectionRef:l,children:t})};f.displayName=n;let d=e+"CollectionSlot",p=r.forwardRef((e,n)=>{let{scope:t,children:r}=e,l=c(d,t),a=(0,i.s)(n,l.collectionRef);return(0,o.jsx)(u,{ref:a,children:r})});p.displayName=d;let m=e+"CollectionItemSlot",N="data-radix-collection-item",y=r.forwardRef((e,n)=>{let{scope:t,children:l,...a}=e,s=r.useRef(null),f=(0,i.s)(n,s),d=c(m,t);return r.useEffect(()=>(d.itemMap.set(s,{ref:s,...a}),()=>void d.itemMap.delete(s))),(0,o.jsx)(u,{...{[N]:""},ref:f,children:l})});return y.displayName=m,[{Provider:f,Slot:p,ItemSlot:y},function(n){let t=c(e+"CollectionConsumer",n);return r.useCallback(()=>{let e=t.collectionRef.current;if(!e)return[];let n=Array.from(e.querySelectorAll(`[${N}]`));return Array.from(t.itemMap.values()).sort((e,t)=>n.indexOf(e.ref.current)-n.indexOf(t.ref.current))},[t.collectionRef,t.itemMap])},a]}},33716:(e,n,t)=>{t.d(n,{m:()=>r});function r(e,n,{checkForDefaultPrevented:t=!0}={}){return function(r){if(e?.(r),!1===t||!r.defaultPrevented)return n?.(r)}}},38982:(e,n,t)=>{t.d(n,{i:()=>i});var r=t(14232);function l(e){let n=r.useRef(e);return r.useEffect(()=>{n.current=e}),r.useMemo(()=>(...e)=>n.current?.(...e),[])}function i({prop:e,defaultProp:n,onChange:t=()=>{}}){let[i,o]=function({defaultProp:e,onChange:n}){let t=r.useState(e),[i]=t,o=r.useRef(i),u=l(n);return r.useEffect(()=>{o.current!==i&&(u(i),o.current=i)},[i,o,u]),t}({defaultProp:n,onChange:t}),u=void 0!==e,a=u?e:i,s=l(t);return[a,r.useCallback(n=>{if(u){let t="function"==typeof n?n(e):n;t!==e&&s(t)}else o(n)},[u,e,o,s])]}},57797:(e,n,t)=>{t.d(n,{sG:()=>f,hO:()=>d});var r=t(14232),l=t(98477),i=t(10714),o=t(37876),u=r.forwardRef((e,n)=>{let{children:t,...l}=e,i=r.Children.toArray(t),u=i.find(c);if(u){let e=u.props.children,t=i.map(n=>n!==u?n:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,o.jsx)(a,{...l,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,t):null})}return(0,o.jsx)(a,{...l,ref:n,children:t})});u.displayName="Slot";var a=r.forwardRef((e,n)=>{let{children:t,...l}=e;if(r.isValidElement(t)){let e=function(e){let n=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,t=n&&"isReactWarning"in n&&n.isReactWarning;return t?e.ref:(t=(n=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in n&&n.isReactWarning)?e.props.ref:e.props.ref||e.ref}(t);return r.cloneElement(t,{...function(e,n){let t={...n};for(let r in n){let l=e[r],i=n[r];/^on[A-Z]/.test(r)?l&&i?t[r]=(...e)=>{i(...e),l(...e)}:l&&(t[r]=l):"style"===r?t[r]={...l,...i}
1:"className"===r&&(t[r]=[l,i].filter(Boolean).join(" "))}return{...e,...t}}(l,t.props),ref:n?(0,i.t)(n,e):e})}return r.Children.count(t)>1?r.Children.only(null):null});a.displayName="SlotClone";var s=({children:e})=>(0,o.jsx)(o.Fragment,{children:e});function c(e){return r.isValidElement(e)&&e.type===s}var f=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,n)=>{let t=r.forwardRef((e,t)=>{let{asChild:r,...l}=e,i=r?u:n;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(i,{...l,ref:t})});return t.displayName=`Primitive.${n}`,{...e,[n]:t}},{});function d(e,n){e&&l.flushSync(()=>e.dispatchEvent(n))}},81285:(e,n,t)=>{t.d(n,{N:()=>l});var r=t(14232),l=globalThis?.document?r.useLayoutEffect:()=>{}},91844:(e,n,t)=>{t.d(n,{A:()=>i});var r=t(14232),l=t(37876);function i(e,n=[]){let t=[],o=()=>{let n=t.map(e=>r.createContext(e));return function(t){let l=t?.[e]||n;return r.useMemo(()=>({[`__scope${e}`]:{...t,[e]:l}}),[t,l])}};return o.scopeName=e,[function(n,i){let o=r.createContext(i),u=t.length;function a(n){let{scope:t,children:i,...a}=n,s=t?.[e][u]||o,c=r.useMemo(()=>a,Object.values(a));return(0,l.jsx)(s.Provider,{value:c,children:i})}return t=[...t,i],a.displayName=n+"Provider",[a,function(t,l){let a=l?.[e][u]||o,s=r.useContext(a);if(s)return s;if(void 0!==i)return i;throw Error(`\`${t}\` must be used within \`${n}\``)}]},function(...e){let n=e[0];if(1===e.length)return n;let t=()=>{let t=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let l=t.reduce((n,{useScope:t,scopeName:r})=>{let l=t(e)[`__scope${r}`];return{...n,...l}},{});return r.useMemo(()=>({[`__scope${n.scopeName}`]:l}),[l])}};return t.scopeName=n.scopeName,t}(o,...n)]}},96822:(e,n,t)=>{t.d(n,{C:()=>u});var r=t(14232),l=t(98477),i=t(10714),o=t(81285),u=e=>{let{present:n,children:t}=e,u=function(e){var n,t;let[i,u]=r.useState(),s=r.useRef({}),c=r.useRef(e),f=r.useRef("none"),[d,p]=(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=a(s.current);f.current="mounted"===d?e:"none"},[d]),(0,o.N)(()=>{let n=s.current,t=c.current;if(t!==e){let r=f.current,l=a(n);e?p("MOUNT"):"none"===l||n?.display==="none"?p("UNMOUNT"):t&&r!==l?p("ANIMATION_OUT"):p("UNMOUNT"),c.current=e}},[e,p]),(0,o.N)(()=>{if(i){let e=e=>{let n=a(s.current).includes(e.animationName);e.target===i&&n&&l.flushSync(()=>p("ANIMATION_END"))},n=e=>{e.target===i&&(f.current=a(s.current))};return i.addEventListener("animationstart",n),i.addEventListener("animationcancel",e),i.addEventListener("animationend",e),()=>{i.removeEventListener("animationstart",n),i.removeEventListener("animationcancel",e),i.removeEventListener("animationend",e)}}p("ANIMATION_END")},[i,p]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:r.useCallback(e=>{e&&(s.current=getComputedStyle(e)),u(e)},[])}}(n),s="function"==typeof t?t({present:u.isPresent}):r.Children.only(t),c=(0,i.s)(u.ref,function(e){let n=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,t=n&&"isReactWarning"in n&&n.isReactWarning;return t?e.ref:(t=(n=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in n&&n.isReactWarning)?e.props.ref:e.props.ref||e.ref}(s));return"function"==typeof t||u.isPresent?r.cloneElement(s,{ref:c}):null};function a(e){return e?.animationName||"none"}u.displayName="Presence"}}]);
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.