1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[40],{6741:function(e,n,t){t.d(n,{M:function(){return r}});function r(e,n,{checkForDefaultPrevented:t=!0}={}){return function(r){if(e?.(r),!1===t||!r.defaultPrevented)return n?.(r)}}},76818:function(e,n,t){t.d(n,{B:function(){return s}});var r=t(2265),o=t(57437),i=t(98575),l=r.forwardRef((e,n)=>{let{children:t,...i}=e,l=r.Children.toArray(t),c=l.find(a);if(c){let e=c.props.children,t=l.map(n=>n!==c?n:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,o.jsx)(u,{...i,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,t):null})}return(0,o.jsx)(u,{...i,ref:n,children:t})});l.displayName="Slot";var u=r.forwardRef((e,n)=>{let{children:t,...o}=e;if(r.isValidElement(t)){let e,l;let u=(e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?t.props.ref:t.props.ref||t.ref;return r.cloneElement(t,{...function(e,n){let t={...n};for(let r in n){let o=e[r],i=n[r];/^on[A-Z]/.test(r)?o&&i?t[r]=(...e)=>{i(...e),o(...e)}:o&&(t[r]=o):"style"===r?t[r]={...o,...i}:"className"===r&&(t[r]=[o,i].filter(Boolean).join(" "))}return{...e,...t}}(o,t.props),ref:n?(0,i.F)(n,u):u})}return r.Children.count(t)>1?r.Children.only(null):null});u.displayName="SlotClone";var c=({children:e})=>(0,o.jsx)(o.Fragment,{children:e});function a(e){return r.isValidElement(e)&&e.type===c}function s(e){let n=e+"CollectionProvider",[t,u]=function(e,n=[]){let t=[],i=()=>{let n=t.map(e=>r.createContext(e));return function(t){let o=t?.[e]||n;return r.useMemo(()=>({[`__scope${e}`]:{...t,[e]:o}}),[t,o])}};return i.scopeName=e,[function(n,i){let l=r.createContext(i),u=t.length;function c(n){let{scope:t,children:i,...c}=n,a=t?.[e][u]||l,s=r.useMemo(()=>c,Object.values(c));return(0,o.jsx)(a.Provider,{value:s,children:i})}return t=[...t,i],c.displayName=n+"Provider",[c,function(t,o){let c=o?.[e][u]||l,a=r.useContext(c);if(a)return a;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 o=t.reduce((n,{useScope:t,scopeName:r})=>{let o=t(e)[`__scope${r}`];return{...n,...o}},{});return r.useMemo(()=>({[`__scope${n.scopeName}`]:o}),[o])}};return t.scopeName=n.scopeName,t}(i,...n)]}(n),[c,a]=t(n,{collectionRef:{current:null},itemMap:new Map}),s=e=>{let{scope:n,children:t}=e,i=r.useRef(null),l=r.useRef(new Map).current;return(0,o.jsx)(c,{scope:n,itemMap:l,collectionRef:i,children:t})};s.displayName=n;let f=e+"CollectionSlot",d=r.forwardRef((e,n)=>{let{scope:t,children:r}=e,u=a(f,t),c=(0,i.e)(n,u.collectionRef);return(0,o.jsx)(l,{ref:c,children:r})});d.displayName=f;let p=e+"CollectionItemSlot",m="data-radix-collection-item",v=r.forwardRef((e,n)=>{let{scope:t,children:u,...c}=e,s=r.useRef(null),f=(0,i.e)(n,s),d=a(p,t);return r.useEffect(()=>(d.itemMap.set(s,{ref:s,...c}),()=>void d.itemMap.delete(s))),(0,o.jsx)(l,{[m]:"",ref:f,children:u})});return v.displayName=p,[{Provider:s,Slot:d,ItemSlot:v},function(n){let t=a(e+"CollectionConsumer",n);return r.useCallback(()=>{let e=t.collectionRef.current;if(!e)return[];let n=Array.from(e.querySelectorAll("[".concat(m,"]")));return Array.from(t.itemMap.values()).sort((e,t)=>n.indexOf(e.ref.current)-n.indexOf(t.ref.current))},[t.collectionRef,t.itemMap])},u]}},98575:function(e,n,t){t.d(n,{F:function(){return o},e:function(){return i}});var r=t(2265);function o(...e){return n=>e.forEach(e=>{"function"==typeof e?e(n):null!=e&&(e.current=n)})}function i(...e){return r.useCallback(o(...e),e)}},73966:function(e,n,t){t.d(n,{b:function(){return i}});var r=t(2265),o=t(57437);function i(e,n=[]){let t=[],i=()=>{let n=t.map(e=>r.createContext(e));return function(t){let o=t?.[e]||n;return r.useMemo(()=>({[`__scope${e}`]:{...t,[e]:o}}),[t,o])}};return i.scopeName=e,[function(n,i){let l=r.createContext(i),u=t.length;t=[...t,i];let c=n=>{let{scope:t,children:i,...c}=n,a=t?.[e]?.[u]||l,s=r.useMemo(()=>c,Object.values(c));return(0,o.jsx)(a.Provider,{value:s,children:i})};return c.displayName=n+"Provider",[c,function(t,o){let c=o?.[e]?.[u]||l,a=r.useContext(c);if(a)return a;
1if(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 o=t.reduce((n,{useScope:t,scopeName:r})=>{let o=t(e)[`__scope${r}`];return{...n,...o}},{});return r.useMemo(()=>({[`__scope${n.scopeName}`]:o}),[o])}};return t.scopeName=n.scopeName,t}(i,...n)]}},71599:function(e,n,t){t.d(n,{z:function(){return l}});var r=t(2265),o=t(98575),i=t(61188),l=e=>{var n,t;let l,c;let{present:a,children:s}=e,f=function(e){var n,t;let[o,l]=r.useState(),c=r.useRef({}),a=r.useRef(e),s=r.useRef("none"),[f,d]=(n=e?"mounted":"unmounted",t={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,n)=>{let r=t[e][n];return null!=r?r:e},n));return r.useEffect(()=>{let e=u(c.current);s.current="mounted"===f?e:"none"},[f]),(0,i.b)(()=>{let n=c.current,t=a.current;if(t!==e){let r=s.current,o=u(n);e?d("MOUNT"):"none"===o||(null==n?void 0:n.display)==="none"?d("UNMOUNT"):t&&r!==o?d("ANIMATION_OUT"):d("UNMOUNT"),a.current=e}},[e,d]),(0,i.b)(()=>{if(o){var e;let n;let t=null!==(e=o.ownerDocument.defaultView)&&void 0!==e?e:window,r=e=>{let r=u(c.current).includes(e.animationName);if(e.target===o&&r&&(d("ANIMATION_END"),!a.current)){let e=o.style.animationFillMode;o.style.animationFillMode="forwards",n=t.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=e)})}},i=e=>{e.target===o&&(s.current=u(c.current))};return o.addEventListener("animationstart",i),o.addEventListener("animationcancel",r),o.addEventListener("animationend",r),()=>{t.clearTimeout(n),o.removeEventListener("animationstart",i),o.removeEventListener("animationcancel",r),o.removeEventListener("animationend",r)}}d("ANIMATION_END")},[o,d]),{isPresent:["mounted","unmountSuspended"].includes(f),ref:r.useCallback(e=>{e&&(c.current=getComputedStyle(e)),l(e)},[])}}(a),d="function"==typeof s?s({present:f.isPresent}):r.Children.only(s),p=(0,o.e)(f.ref,(l=null===(n=Object.getOwnPropertyDescriptor(d.props,"ref"))||void 0===n?void 0:n.get)&&"isReactWarning"in l&&l.isReactWarning?d.ref:(l=null===(t=Object.getOwnPropertyDescriptor(d,"ref"))||void 0===t?void 0:t.get)&&"isReactWarning"in l&&l.isReactWarning?d.props.ref:d.props.ref||d.ref);return"function"==typeof s||f.isPresent?r.cloneElement(d,{ref:p}):null};function u(e){return(null==e?void 0:e.animationName)||"none"}l.displayName="Presence"},82912:function(e,n,t){t.d(n,{WV:function(){return f},jH:function(){return d}});var r=t(2265),o=t(54887),i=t(98575),l=t(57437),u=r.forwardRef((e,n)=>{let{children:t,...o}=e,i=r.Children.toArray(t),u=i.find(s);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,l.jsx)(c,{...o,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,t):null})}return(0,l.jsx)(c,{...o,ref:n,children:t})});u.displayName="Slot";var c=r.forwardRef((e,n)=>{let{children:t,...o}=e;if(r.isValidElement(t)){let e,l;let u=(e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?t.props.ref:t.props.ref||t.ref;return r.cloneElement(t,{...function(e,n){let t={...n};for(let r in n){let o=e[r],i=n[r];/^on[A-Z]/.test(r)?o&&i?t[r]=(...e)=>{i(...e),o(...e)}:o&&(t[r]=o):"style"===r?t[r]={...o,...i}:"className"===r&&(t[r]=[o,i].filter(Boolean).join(" "))}return{...e,...t}}(o,t.props),ref:n?(0,i.F)(n,u):u})}return r.Children.count(t)>1?r.Children.only(null):null});c.displayName="SlotClone";var a=({children:e})=>(0,l.jsx)(l.Fragment,{children:e});function s(e){return r.isValidElement(e)&&e.type===a}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,...o}=e,i=r?u:n;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(i,{...o,ref:t})});return t.displayName=`Primitive.${n}`,{...e,[n]:t}},{});function d(e,n){e&&o.flushSync(()=>
1e.dispatchEvent(n))}},26606:function(e,n,t){t.d(n,{W:function(){return o}});var r=t(2265);function o(e){let n=r.useRef(e);return r.useEffect(()=>{n.current=e}),r.useMemo(()=>(...e)=>n.current?.(...e),[])}},80886:function(e,n,t){t.d(n,{T:function(){return i}});var r=t(2265),o=t(26606);function i({prop:e,defaultProp:n,onChange:t=()=>{}}){let[i,l]=function({defaultProp:e,onChange:n}){let t=r.useState(e),[i]=t,l=r.useRef(i),u=(0,o.W)(n);return r.useEffect(()=>{l.current!==i&&(u(i),l.current=i)},[i,l,u]),t}({defaultProp:n,onChange:t}),u=void 0!==e,c=u?e:i,a=(0,o.W)(t);return[c,r.useCallback(n=>{if(u){let t="function"==typeof n?n(e):n;t!==e&&a(t)}else l(n)},[u,e,l,a])]}},61188:function(e,n,t){t.d(n,{b:function(){return o}});var r=t(2265),o=globalThis?.document?r.useLayoutEffect:()=>{}}}]);
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.