1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6343],{664:(e,t,r)=>{r.d(t,{i:()=>i});var n,o=r(24948),l=r(14738),u=(n||(n=r.t(o,2)))[" useInsertionEffect ".trim().toString()]||l.N;function i({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){let[l,c,f]=function({defaultProp:e,onChange:t}){let[r,n]=o.useState(e),l=o.useRef(r),i=o.useRef(t);return u(()=>{i.current=t},[t]),o.useEffect(()=>{l.current!==r&&(i.current?.(r),l.current=r)},[r,l]),[r,n,i]}({defaultProp:t,onChange:r}),a=void 0!==e,s=a?e:l;{let t=o.useRef(void 0!==e);o.useEffect(()=>{let e=t.current;if(e!==a){let t=a?"controlled":"uncontrolled";console.warn(`${n} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=a},[a,n])}return[s,o.useCallback(t=>{if(a){let r="function"==typeof t?t(e):t;r!==e&&f.current?.(r)}else c(t)},[a,e,c,f])]}Symbol("RADIX:SYNC_STATE")},3654:(e,t,r)=>{r.d(t,{N:()=>c});var n=r(24948),o=r(78423),l=r(4503),u=r(43587),i=r(98552);function c(e){let t=e+"CollectionProvider",[r,c]=(0,o.A)(t),[f,a]=r(t,{collectionRef:{current:null},itemMap:new Map}),s=e=>{let{scope:t,children:r}=e,o=n.useRef(null),l=n.useRef(new Map).current;return(0,i.jsx)(f,{scope:t,itemMap:l,collectionRef:o,children:r})};s.displayName=t;let d=e+"CollectionSlot",p=(0,u.TL)(d),m=n.forwardRef((e,t)=>{let{scope:r,children:n}=e,o=a(d,r),u=(0,l.s)(t,o.collectionRef);return(0,i.jsx)(p,{ref:u,children:n})});m.displayName=d;let v=e+"CollectionItemSlot",y="data-radix-collection-item",h=(0,u.TL)(v),w=n.forwardRef((e,t)=>{let{scope:r,children:o,...u}=e,c=n.useRef(null),f=(0,l.s)(t,c),s=a(v,r);return n.useEffect(()=>(s.itemMap.set(c,{ref:c,...u}),()=>void s.itemMap.delete(c))),(0,i.jsx)(h,{...{[y]:""},ref:f,children:o})});return w.displayName=v,[{Provider:s,Slot:m,ItemSlot:w},function(t){let r=a(e+"CollectionConsumer",t);return n.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${y}]`));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},c]}},4503:(e,t,r)=>{r.d(t,{s:()=>u,t:()=>l});var n=r(24948);function o(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function l(...e){return t=>{let r=!1,n=e.map(e=>{let n=o(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():o(e[t],null)}}}}function u(...e){return n.useCallback(l(...e),e)}},14738:(e,t,r)=>{r.d(t,{N:()=>o});var n=r(24948),o=globalThis?.document?n.useLayoutEffect:()=>{}},15616:(e,t,r)=>{r.d(t,{B:()=>c});var n,o=r(24948),l=r(14738),u=(n||(n=r.t(o,2)))[" useId ".trim().toString()]||(()=>void 0),i=0;function c(e){let[t,r]=o.useState(u());return(0,l.N)(()=>{e||r(e=>e??String(i++))},[e]),e||(t?`radix-${t}`:"")}},20078:(e,t,r)=>{r.d(t,{jH:()=>l});var n=r(24948);r(98552);var o=n.createContext(void 0);function l(e){let t=n.useContext(o);return e||t||"ltr"}},43587:(e,t,r)=>{r.d(t,{Dc:()=>c,TL:()=>u});var n=r(24948),o=r(4503),l=r(98552);function u(e){var t;let r,u=(t=e,(r=n.forwardRef((e,t)=>{let{children:r,...l}=e;if(n.isValidElement(r)){var u;let e,i,c=(u=r,(i=(e=Object.getOwnPropertyDescriptor(u.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?u.ref:(i=(e=Object.getOwnPropertyDescriptor(u,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?u.props.ref:u.props.ref||u.ref),f=function(e,t){let r={...t};for(let n in t){let o=e[n],l=t[n];/^on[A-Z]/.test(n)?o&&l?r[n]=(...e)=>{let t=l(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...l}:"className"===n&&(r[n]=[o,l].filter(Boolean).join(" "))}return{...e,...r}}(l,r.props);return r.type!==n.Fragment&&(f.ref=t?(0,o.t)(t,c):c),n.cloneElement(r,f)}return n.Children.count(r)>1?n.Children.only(null):null})).displayName=`${t}.SlotClone`,r),i=n.forwardRef((e,t)=>{let{children:r,...o}=e,i=n.Children.toArray(r),c=i.find(f);if(c){let e=c.props.children,r=i.map(t=>t!==c?t:n.Children.count(e)>
11?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,l.jsx)(u,{...o,ref:t,children:n.isValidElement(e)?n.cloneElement(e,void 0,r):null})}return(0,l.jsx)(u,{...o,ref:t,children:r})});return i.displayName=`${e}.Slot`,i}var i=Symbol("radix.slottable");function c(e){let t=({children:e})=>(0,l.jsx)(l.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=i,t}function f(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===i}},63269:(e,t,r)=>{function n(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}r.d(t,{mK:()=>n}),"u">typeof window&&window.document&&window.document.createElement},76568:(e,t,r)=>{r.d(t,{c:()=>o});var n=r(24948);function o(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}},78423:(e,t,r)=>{r.d(t,{A:()=>u,q:()=>l});var n=r(24948),o=r(98552);function l(e,t){let r=n.createContext(t),l=e=>{let{children:t,...l}=e,u=n.useMemo(()=>l,Object.values(l));return(0,o.jsx)(r.Provider,{value:u,children:t})};return l.displayName=e+"Provider",[l,function(o){let l=n.useContext(r);if(l)return l;if(void 0!==t)return t;throw Error(`\`${o}\` must be used within \`${e}\``)}]}function u(e,t=[]){let r=[],l=()=>{let t=r.map(e=>n.createContext(e));return function(r){let o=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])}};return l.scopeName=e,[function(t,l){let u=n.createContext(l),i=r.length;r=[...r,l];let c=t=>{let{scope:r,children:l,...c}=t,f=r?.[e]?.[i]||u,a=n.useMemo(()=>c,Object.values(c));return(0,o.jsx)(f.Provider,{value:a,children:l})};return c.displayName=t+"Provider",[c,function(r,o){let c=o?.[e]?.[i]||u,f=n.useContext(c);if(f)return f;if(void 0!==l)return l;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=r.reduce((t,{useScope:r,scopeName:n})=>{let o=r(e)[`__scope${n}`];return{...t,...o}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return r.scopeName=t.scopeName,r}(l,...t)]}},98096:(e,t,r)=>{r.d(t,{hO:()=>c,sG:()=>i});var n=r(24948),o=r(82901),l=r(43587),u=r(98552),i=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=(0,l.TL)(`Primitive.${t}`),o=n.forwardRef((e,n)=>{let{asChild:o,...l}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,u.jsx)(o?r:t,{...l,ref:n})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function c(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}}}]);
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.