1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,981140,e=>{"use strict";"u">typeof window&&window.document&&window.document.createElement,e.s(["composeEventHandlers",0,function(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}])},30030,e=>{"use strict";var t=e.i(271645),r=e.i(843476);e.s(["createContext",0,function(e,n){let o=t.createContext(n),i=e=>{let{children:n,...i}=e,a=t.useMemo(()=>i,Object.values(i));return(0,r.jsx)(o.Provider,{value:a,children:n})};return i.displayName=e+"Provider",[i,function(r){let i=t.useContext(o);if(i)return i;if(void 0!==n)return n;throw Error(`\`${r}\` must be used within \`${e}\``)}]},"createContextScope",0,function(e,n=[]){let o=[],i=()=>{let r=o.map(e=>t.createContext(e));return function(n){let o=n?.[e]||r;return t.useMemo(()=>({[`__scope${e}`]:{...n,[e]:o}}),[n,o])}};return i.scopeName=e,[function(n,i){let a=t.createContext(i),s=o.length;o=[...o,i];let l=n=>{let{scope:o,children:i,...l}=n,u=o?.[e]?.[s]||a,c=t.useMemo(()=>l,Object.values(l));return(0,r.jsx)(u.Provider,{value:c,children:i})};return l.displayName=n+"Provider",[l,function(r,o){let l=o?.[e]?.[s]||a,u=t.useContext(l);if(u)return u;if(void 0!==i)return i;throw Error(`\`${r}\` must be used within \`${n}\``)}]},function(...e){let r=e[0];if(1===e.length)return r;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=n.reduce((t,{useScope:r,scopeName:n})=>{let o=r(e)[`__scope${n}`];return{...t,...o}},{});return t.useMemo(()=>({[`__scope${r.scopeName}`]:o}),[o])}};return n.scopeName=r.scopeName,n}(i,...n)]}])},934620,e=>{"use strict";var t=e.i(271645),r=globalThis?.document?t.useLayoutEffect:()=>{};e.s(["useLayoutEffect",0,r])},369340,e=>{"use strict";var t=e.i(271645),r=e.i(934620);t[" useEffectEvent ".trim().toString()],t[" useInsertionEffect ".trim().toString()];var n=t[" useInsertionEffect ".trim().toString()]||r.useLayoutEffect;Symbol("RADIX:SYNC_STATE"),e.s(["useControllableState",0,function({prop:e,defaultProp:r,onChange:o=()=>{},caller:i}){let[a,s,l]=function({defaultProp:e,onChange:r}){let[o,i]=t.useState(e),a=t.useRef(o),s=t.useRef(r);return n(()=>{s.current=r},[r]),t.useEffect(()=>{a.current!==o&&(s.current?.(o),a.current=o)},[o,a]),[o,i,s]}({defaultProp:r,onChange:o}),u=void 0!==e,c=u?e:a;{let r=t.useRef(void 0!==e);t.useEffect(()=>{let e=r.current;if(e!==u){let t=u?"controlled":"uncontrolled";console.warn(`${i} 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.`)}r.current=u},[u,i])}return[c,t.useCallback(t=>{if(u){let r="function"==typeof t?t(e):t;r!==e&&l.current?.(r)}else s(t)},[u,e,s,l])]}],369340)},248425,e=>{"use strict";var t=e.i(271645),r=e.i(174080),n=e.i(820783),o=e.i(843476),i=Symbol("radix.slottable");function a(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===i}var s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{var i,s;let l,u,c,d=(s=i=`Primitive.${r}`,(l=t.forwardRef((e,r)=>{let{children:o,...i}=e;if(t.isValidElement(o)){var a;let e,s,l=(a=o,(s=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(s=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),u=function(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}(i,o.props);return o.type!==t.Fragment&&(u.ref=r?(0,n.composeRefs)(r,l):l),t.cloneElement(o,u)}return t.Children.count(o)>1?t.Children.only(null):null})).displayName=`${s}.SlotClone`,u=l,(c=t.forwardRef((e,r)=>{let{children:n,...i}=e,s=t.Children.toArray(n),l=s.find(a);if(l){let e=l.props.children,n=s.map(r=>r!==l?r:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,o.jsx)(u,{...i,ref:r,children:t.isValidElement(e)?t.cloneElement(e,void 0,n):null})}return(0,o.jsx)(u,{...i,ref:r,children:n})})).displayName=`${i}.Slot`,c),f=t.forwardRef((e,t)=>
1{let{asChild:n,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(n?d:r,{...i,ref:t})});return f.displayName=`Primitive.${r}`,{...e,[r]:f}},{});e.s(["Primitive",0,s,"dispatchDiscreteCustomEvent",0,function(e,t){e&&r.flushSync(()=>e.dispatchEvent(t))}],248425)},75830,e=>{"use strict";var t=e.i(271645),r=e.i(30030),n=e.i(820783),o=e.i(843476);function i(e){var r;let i,a=(r=e,(i=t.forwardRef((e,r)=>{let{children:o,...i}=e;if(t.isValidElement(o)){var a;let e,s,l=(a=o,(s=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(s=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),u=function(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}(i,o.props);return o.type!==t.Fragment&&(u.ref=r?(0,n.composeRefs)(r,l):l),t.cloneElement(o,u)}return t.Children.count(o)>1?t.Children.only(null):null})).displayName=`${r}.SlotClone`,i),l=t.forwardRef((e,r)=>{let{children:n,...i}=e,l=t.Children.toArray(n),u=l.find(s);if(u){let e=u.props.children,n=l.map(r=>r!==u?r:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,o.jsx)(a,{...i,ref:r,children:t.isValidElement(e)?t.cloneElement(e,void 0,n):null})}return(0,o.jsx)(a,{...i,ref:r,children:n})});return l.displayName=`${e}.Slot`,l}var a=Symbol("radix.slottable");function s(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===a}var l=new WeakMap;function u(e,t){var r,n;let o,i,a;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let s=(r=e,n=t,o=r.length,(a=(i=c(n))>=0?i:o+i)<0||a>=o?-1:a);return -1===s?void 0:e[s]}function c(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],l.set(this,!0)}set(e,t){return l.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,r){let n,o=this.has(t),i=this.#e.length,a=c(e),s=a>=0?a:i+a,l=s<0||s>=i?-1:s;if(l===this.size||o&&l===this.size-1||-1===l)return this.set(t,r),this;let u=this.size+ +!o;a<0&&s++;let d=[...this.#e],f=!1;for(let e=s;e<u;e++)if(s===e){let i=d[e];d[e]===t&&(i=d[e+1]),o&&this.delete(t),n=this.get(i),this.set(t,r)}else{f||d[e-1]!==t||(f=!0);let r=d[f?e:e-1],o=n;n=this.get(r),this.delete(r),this.set(r,o)}return this}with(t,r,n){let o=new e(this);return o.insert(t,r,n),o}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n,t,r)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=u(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=u(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return u(this.#e,e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return n;r++}}findIndex(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return r;r++}return -1}filter(t,r){let n=[],o=0;for(let e of this)Reflect.apply(t,r,[e,o,this])&&n.push(e),o++;return new e(n)}map(t,r){let n=[],o=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,o,this])]),o++;return new e(n)}reduce(...e){let[t,r]=e,n=0,o=r??this.at(0);for(let r of this)o=0===n&&1===e.length?r:Reflect.apply(t,this,[o,r,n,this]),n++;return o}reduceRight(...e){let[t,r]=e,n=r??this.at(-1);for(let r=this.size-1;r>=0;r--){let o=this.at(r);n=r===this.size-1&&1===e.length?o:Reflect.apply(t,this,[n,o,r,this])}return n}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),n=this.get(r);t.set(r,n)}return t}toSpliced(...t){let r=[...this.entries()];return r.splice(...t),new e(r)}slice(t,r){let n=new e,o=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(o=r-1);for(let e=t;e<=o;e++){let t=this.keyAt(e),r=this.get(t);n.set(t,r)}return n}every(e,t){let r=0;for(let n of this){if(!Reflect.apply(e,t,[n,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return!0;r++}return!1}}),e.s(["createCollection",0,function(e){let a=e+"CollectionProvider",[s,l]=(0,r.createContextScope)(a),[u,c]=s(a,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:r,children:n}=e,i=t.default.useRef(null),a=t.default.useRef(new Map).current;return(0,o.jsx)(u,{scope:r,itemMap:a,collectionRef:i,children:n})};d.displayName=a;let f=e+"CollectionSlot",p=i(f),h=t.default.forwardRef((e,t)=>
1{let{scope:r,children:i}=e,a=c(f,r),s=(0,n.useComposedRefs)(t,a.collectionRef);return(0,o.jsx)(p,{ref:s,children:i})});h.displayName=f;let m=e+"CollectionItemSlot",v="data-radix-collection-item",y=i(m),g=t.default.forwardRef((e,r)=>{let{scope:i,children:a,...s}=e,l=t.default.useRef(null),u=(0,n.useComposedRefs)(r,l),d=c(m,i);return t.default.useEffect(()=>(d.itemMap.set(l,{ref:l,...s}),()=>void d.itemMap.delete(l))),(0,o.jsx)(y,{...{[v]:""},ref:u,children:a})});return g.displayName=m,[{Provider:d,Slot:h,ItemSlot:g},function(r){let n=c(e+"CollectionConsumer",r);return t.default.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${v}]`));return Array.from(n.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[n.collectionRef,n.itemMap])},l]}],75830)},586318,e=>{"use strict";var t=e.i(271645);e.i(843476);var r=t.createContext(void 0);e.s(["useDirection",0,function(e){let n=t.useContext(r);return e||n||"ltr"}])},610772,e=>{"use strict";var t=e.i(271645),r=e.i(934620),n=t[" useId ".trim().toString()]||(()=>void 0),o=0;e.s(["useId",0,function(e){let[i,a]=t.useState(n());return(0,r.useLayoutEffect)(()=>{e||a(e=>e??String(o++))},[e]),e||(i?`radix-${i}`:"")}])},726330,30207,303536,765491,853660,774606,186312,985369,e=>{"use strict";let t;var r,n,o,i,a,s,l,u,c=e.i(271645),d=e.i(981140),f=e.i(248425),p=e.i(820783);function h(e){let t=c.useRef(e);return c.useEffect(()=>{t.current=e}),c.useMemo(()=>(...e)=>t.current?.(...e),[])}e.s(["useCallbackRef",0,h],30207);var m=e.i(843476),v="dismissableLayer.update",y=c.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),g=c.forwardRef((e,t)=>{let{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:a,onDismiss:s,...u}=e,g=c.useContext(y),[E,x]=c.useState(null),C=E?.ownerDocument??globalThis?.document,[,S]=c.useState({}),R=(0,p.useComposedRefs)(t,e=>x(e)),A=Array.from(g.layers),[k]=[...g.layersWithOutsidePointerEventsDisabled].slice(-1),P=A.indexOf(k),O=E?A.indexOf(E):-1,N=g.layersWithOutsidePointerEventsDisabled.size>0,L=O>=P,M=function(e,t=globalThis?.document){let r=h(e),n=c.useRef(!1),o=c.useRef(()=>{});return c.useEffect(()=>{let e=e=>{if(e.target&&!n.current){let n=function(){b("dismissableLayer.pointerDownOutside",r,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=n,t.addEventListener("click",o.current,{once:!0})):n()}else t.removeEventListener("click",o.current);n.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}(e=>{let t=e.target,r=[...g.branches].some(e=>e.contains(t));L&&!r&&(o?.(e),a?.(e),e.defaultPrevented||s?.())},C),T=function(e,t=globalThis?.document){let r=h(e),n=c.useRef(!1);return c.useEffect(()=>{let e=e=>{e.target&&!n.current&&b("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}(e=>{let t=e.target;![...g.branches].some(e=>e.contains(t))&&(i?.(e),a?.(e),e.defaultPrevented||s?.())},C);return!function(e,t=globalThis?.document){let r=h(e);c.useEffect(()=>{let e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[r,t])}(e=>{O===g.layers.size-1&&(n?.(e),!e.defaultPrevented&&s&&(e.preventDefault(),s()))},C),c.useEffect(()=>{if(E)return r&&(0===g.layersWithOutsidePointerEventsDisabled.size&&(l=C.body.style.pointerEvents,C.body.style.pointerEvents="none"),g.layersWithOutsidePointerEventsDisabled.add(E)),g.layers.add(E),w(),()=>{r&&1===g.layersWithOutsidePointerEventsDisabled.size&&(C.body.style.pointerEvents=l)}},[E,C,r,g]),c.useEffect(()=>()=>{E&&(g.layers.delete(E),g.layersWithOutsidePointerEventsDisabled.delete(E),w())},[E,g]),c.useEffect(()=>{let e=()=>S({});return document.addEventListener(v,e),()=>document.removeEventListener(v,e)},[]),(0,m.jsx)(f.Primitive.div,{...u,ref:R,style:{pointerEvents:N?L?"auto":"none":void 0,...e.style},onFocusCapture:(0,d.composeEventHandlers)(e.onFocusCapture,T.onFocusCapture),onBlurCapture:(0,d.composeEventHandlers)(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:(0,d.composeEventHandlers)(e.onPointerDownCapture,M.onPointerDownCapture)})});function w(){let e=new CustomEvent(v);document.dispatchEvent(e)}function b(e,t,r,{discrete:n}){let o=r.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?(0,f.dispatchDiscreteCustomEvent)(o,i):o.dispatchEvent(i)}g.displayName="DismissableLayer",c.forwardRef((e,t)=>
1{let r=c.useContext(y),n=c.useRef(null),o=(0,p.useComposedRefs)(t,n);return c.useEffect(()=>{let e=n.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,m.jsx)(f.Primitive.div,{...e,ref:o})}).displayName="DismissableLayerBranch",e.s(["DismissableLayer",0,g],726330);var E=0;function x(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}e.s(["useFocusGuards",0,function(){c.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??x()),document.body.insertAdjacentElement("beforeend",e[1]??x()),E++,()=>{1===E&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),E--}},[])}],303536);var C="focusScope.autoFocusOnMount",S="focusScope.autoFocusOnUnmount",R={bubbles:!1,cancelable:!0},A=c.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,l]=c.useState(null),u=h(o),d=h(i),v=c.useRef(null),y=(0,p.useComposedRefs)(t,e=>l(e)),g=c.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;c.useEffect(()=>{if(n){let e=function(e){if(g.paused||!s)return;let t=e.target;s.contains(t)?v.current=t:O(v.current,{select:!0})},t=function(e){if(g.paused||!s)return;let t=e.relatedTarget;null!==t&&(s.contains(t)||O(v.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&O(s)});return s&&r.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[n,s,g.paused]),c.useEffect(()=>{if(s){N.add(g);let e=document.activeElement;if(!s.contains(e)){let t=new CustomEvent(C,R);s.addEventListener(C,u),s.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(O(n,{select:t}),document.activeElement!==r)return}(k(s).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&O(s))}return()=>{s.removeEventListener(C,u),setTimeout(()=>{let t=new CustomEvent(S,R);s.addEventListener(S,d),s.dispatchEvent(t),t.defaultPrevented||O(e??document.body,{select:!0}),s.removeEventListener(S,d),N.remove(g)},0)}}},[s,u,d,g]);let w=c.useCallback(e=>{if(!r&&!n||g.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){var i;let t,n=e.currentTarget,[a,s]=[P(t=k(i=n),i),P(t.reverse(),i)];a&&s?e.shiftKey||o!==s?e.shiftKey&&o===a&&(e.preventDefault(),r&&O(s,{select:!0})):(e.preventDefault(),r&&O(a,{select:!0})):o===n&&e.preventDefault()}},[r,n,g.paused]);return(0,m.jsx)(f.Primitive.div,{tabIndex:-1,...a,ref:y,onKeyDown:w})});function k(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function P(e,t){for(let r of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(r,{upTo:t}))return r}function O(e,{select:t=!1}={}){if(e&&e.focus){var r;let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&(r=e)instanceof HTMLInputElement&&"select"in r&&t&&e.select()}}A.displayName="FocusScope";var N=(t=[],{add(e){let r=t[0];e!==r&&r?.pause(),(t=L(t,e)).unshift(e)},remove(e){t=L(t,e),t[0]?.resume()}});function L(e,t){let r=[...e],n=r.indexOf(t);return -1!==n&&r.splice(n,1),r}e.s(["FocusScope",0,A],765491);var M=e.i(258950),T=e.i(953760),j=c.forwardRef((e,t)=>{let{children:r,width:n=10,height:o=5,...i}=e;return(0,m.jsx)(f.Primitive.svg,{...i,ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,m.jsx)("polygon",{points:"0,0 30,0 15,10"})})});j.displayName="Arrow";var D=e.i(30030),W=e.i(934620),I="Popper",[_,$]=(0,D.createContextScope)(I),[z,F]=_(I),B=e=>{let{__scopePopper:t,children:r}=e,[n,o]=c.useState(null);return(0,m.jsx)(z,{scope:t,anchor:n,onAnchorChange:o,children:r})};B.displayName=I;var H="PopperAnchor",Y=c.forwardRef((e,t)=>
1{let{__scopePopper:r,virtualRef:n,...o}=e,i=F(H,r),a=c.useRef(null),s=(0,p.useComposedRefs)(t,a),l=c.useRef(null);return c.useEffect(()=>{let e=l.current;l.current=n?.current||a.current,e!==l.current&&i.onAnchorChange(l.current)}),n?null:(0,m.jsx)(f.Primitive.div,{...o,ref:s})});Y.displayName=H;var K="PopperContent",[X,V]=_(K),U=c.forwardRef((e,t)=>{let{__scopePopper:r,side:n="bottom",sideOffset:o=0,align:i="center",alignOffset:a=0,arrowPadding:s=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:v="partial",hideWhenDetached:y=!1,updatePositionStrategy:g="optimized",onPlaced:w,...b}=e,E=F(K,r),[x,C]=c.useState(null),S=(0,p.useComposedRefs)(t,e=>C(e)),[R,A]=c.useState(null),k=function(e){let[t,r]=c.useState(void 0);return(0,W.useLayoutEffect)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,o;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,o=t.blockSize}else n=e.offsetWidth,o=e.offsetHeight;r({width:n,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}(R),P=k?.width??0,O=k?.height??0,N="number"==typeof d?d:{top:0,right:0,bottom:0,left:0,...d},L=Array.isArray(u)?u:[u],j=L.length>0,D={padding:N,boundary:L.filter(J),altBoundary:j},{refs:I,floatingStyles:_,placement:$,isPositioned:z,middlewareData:B}=(0,M.useFloating)({strategy:"fixed",placement:n+("center"!==i?"-"+i:""),whileElementsMounted:(...e)=>(0,T.autoUpdate)(...e,{animationFrame:"always"===g}),elements:{reference:E.anchor},middleware:[(0,M.offset)({mainAxis:o+O,alignmentAxis:a}),l&&(0,M.shift)({mainAxis:!0,crossAxis:!1,limiter:"partial"===v?(0,M.limitShift)():void 0,...D}),l&&(0,M.flip)({...D}),(0,M.size)({...D,apply:({elements:e,rects:t,availableWidth:r,availableHeight:n})=>{let{width:o,height:i}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${r}px`),a.setProperty("--radix-popper-available-height",`${n}px`),a.setProperty("--radix-popper-anchor-width",`${o}px`),a.setProperty("--radix-popper-anchor-height",`${i}px`)}}),R&&(0,M.arrow)({element:R,padding:s}),Q({arrowWidth:P,arrowHeight:O}),y&&(0,M.hide)({strategy:"referenceHidden",...D})]}),[H,Y]=ee($),V=h(w);(0,W.useLayoutEffect)(()=>{z&&V?.()},[z,V]);let U=B.arrow?.x,Z=B.arrow?.y,q=B.arrow?.centerOffset!==0,[G,et]=c.useState();return(0,W.useLayoutEffect)(()=>{x&&et(window.getComputedStyle(x).zIndex)},[x]),(0,m.jsx)("div",{ref:I.setFloating,"data-radix-popper-content-wrapper":"",style:{..._,transform:z?_.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:G,"--radix-popper-transform-origin":[B.transformOrigin?.x,B.transformOrigin?.y].join(" "),...B.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,m.jsx)(X,{scope:r,placedSide:H,onArrowChange:A,arrowX:U,arrowY:Z,shouldHideArrow:q,children:(0,m.jsx)(f.Primitive.div,{"data-side":H,"data-align":Y,...b,ref:S,style:{...b.style,animation:z?void 0:"none"}})})})});U.displayName=K;var Z="PopperArrow",q={top:"bottom",right:"left",bottom:"top",left:"right"},G=c.forwardRef(function(e,t){let{__scopePopper:r,...n}=e,o=V(Z,r),i=q[o.placedSide];return(0,m.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,m.jsx)(j,{...n,ref:t,style:{...n.style,display:"block"}})})});function J(e){return null!==e}G.displayName=Z;var Q=e=>({name:"transformOrigin",options:e,fn(t){let{placement:r,rects:n,middlewareData:o}=t,i=o.arrow?.centerOffset!==0,a=i?0:e.arrowWidth,s=i?0:e.arrowHeight,[l,u]=ee(r),c={start:"0%",center:"50%",end:"100%"}[u],d=(o.arrow?.x??0)+a/2,f=(o.arrow?.y??0)+s/2,p="",h="";return"bottom"===l?(p=i?c:`${d}px`,h=`${-s}px`):"top"===l?(p=i?c:`${d}px`,h=`${n.floating.height+s}px`):"right"===l?(p=`${-s}px`,h=i?c:`${f}px`):"left"===l&&(p=`${n.floating.width+s}px`,h=i?c:`${f}px`),{data:{x:p,y:h}}}});function ee(e){let[t,r="center"]=e.split("-");return[t,r]}e.s(["Anchor",0,Y,"Arrow",0,G,"Content",0,U,"Root",0,B,"createPopperScope",0,$],853660);var et=e.i(174080),er=c.forwardRef((e,t)=>
1{let{container:r,...n}=e,[o,i]=c.useState(!1);(0,W.useLayoutEffect)(()=>i(!0),[]);let a=r||o&&globalThis?.document?.body;return a?et.default.createPortal((0,m.jsx)(f.Primitive.div,{...n,ref:t}),a):null});er.displayName="Portal",e.s(["Portal",0,er],774606);var en=new WeakMap,eo=new WeakMap,ei={},ea=0,es=function(e){return e&&(e.host||es(e.parentNode))},el=function(e,t,r,n){var o=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var r=es(e);return r&&t.contains(r)?r:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});ei[r]||(ei[r]=new WeakMap);var i=ei[r],a=[],s=new Set,l=new Set(o),u=function(e){!e||s.has(e)||(s.add(e),u(e.parentNode))};o.forEach(u);var c=function(e){!e||l.has(e)||Array.prototype.forEach.call(e.children,function(e){if(s.has(e))c(e);else try{var t=e.getAttribute(n),o=null!==t&&"false"!==t,l=(en.get(e)||0)+1,u=(i.get(e)||0)+1;en.set(e,l),i.set(e,u),a.push(e),1===l&&o&&eo.set(e,!0),1===u&&e.setAttribute(r,"true"),o||e.setAttribute(n,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return c(t),s.clear(),ea++,function(){a.forEach(function(e){var t=en.get(e)-1,o=i.get(e)-1;en.set(e,t),i.set(e,o),t||(eo.has(e)||e.removeAttribute(n),eo.delete(e)),o||e.removeAttribute(r)}),--ea||(en=new WeakMap,en=new WeakMap,eo=new WeakMap,ei={})}};e.s(["hideOthers",0,function(e,t,r){void 0===r&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live], script"))),el(n,o,r,"aria-hidden")):function(){return null}}],186312);var eu=function(){return(eu=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function ec(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}var ed=("function"==typeof SuppressedError&&SuppressedError,"right-scroll-bar-position"),ef="width-before-scroll-bar";function ep(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var eh="u">typeof window?c.useLayoutEffect:c.useEffect,em=new WeakMap,ev=(void 0===r&&(r={}),(void 0===n&&(n=function(e){return e}),o=[],i=!1,a={read:function(){if(i)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return o.length?o[o.length-1]:null},useMedium:function(e){var t=n(e,i);return o.push(t),function(){o=o.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(i=!0;o.length;){var t=o;o=[],t.forEach(e)}o={push:function(t){return e(t)},filter:function(){return o}}},assignMedium:function(e){i=!0;var t=[];if(o.length){var r=o;o=[],r.forEach(e),t=o}var n=function(){var r=t;t=[],r.forEach(e)},a=function(){return Promise.resolve().then(n)};a(),o={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),o}}}}).options=eu({async:!0,ssr:!1},r),a),ey=function(){},eg=c.forwardRef(function(e,t){var r,n,o,i,a=c.useRef(null),s=c.useState({onScrollCapture:ey,onWheelCapture:ey,onTouchMoveCapture:ey}),l=s[0],u=s[1],d=e.forwardProps,f=e.children,p=e.className,h=e.removeScrollBar,m=e.enabled,v=e.shards,y=e.sideCar,g=e.noRelative,w=e.noIsolation,b=e.inert,E=e.allowPinchZoom,x=e.as,C=e.gapMode,S=ec(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),R=(r=[a,t],n=function(e){return r.forEach(function(t){return ep(t,e)})},(o=(0,c.useState)(function(){return{value:null,callback:n,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=n,i=o.facade,eh(function(){var e=em.get(i);if(e){var t=new Set(e),n=new Set(r),o=i.current;t.forEach(function(e){n.has(e)||ep(e,null)}
1),n.forEach(function(e){t.has(e)||ep(e,o)})}em.set(i,r)},[r]),i),A=eu(eu({},S),l);return c.createElement(c.Fragment,null,m&&c.createElement(y,{sideCar:ev,removeScrollBar:h,shards:v,noRelative:g,noIsolation:w,inert:b,setCallbacks:u,allowPinchZoom:!!E,lockRef:a,gapMode:C}),d?c.cloneElement(c.Children.only(f),eu(eu({},A),{ref:R})):c.createElement(void 0===x?"div":x,eu({},A,{className:p,ref:R}),f))});eg.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},eg.classNames={fullWidth:ef,zeroRight:ed};var ew=function(e){var t=e.sideCar,r=ec(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw Error("Sidecar medium not found");return c.createElement(n,eu({},r))};ew.isSideCarExport=!0;var eb=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=u||("u">typeof __webpack_nonce__?__webpack_nonce__:void 0);return t&&e.setAttribute("nonce",t),e}())){var n,o;(n=t).styleSheet?n.styleSheet.cssText=r:n.appendChild(document.createTextNode(r)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},eE=function(){var e=eb();return function(t,r){c.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},ex=function(){var e=eE();return function(t){return e(t.styles,t.dynamic),null}},eC={left:0,top:0,right:0,gap:0},eS=function(e){return parseInt(e||"",10)||0},eR=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[eS(r),eS(n),eS(o)]},eA=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return eC;var t=eR(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},ek=ex(),eP="data-scroll-locked",eO=function(e,t,r,n){var o=e.left,i=e.top,a=e.right,s=e.gap;return void 0===r&&(r="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(n,";\n padding-right: ").concat(s,"px ").concat(n,";\n }\n body[").concat(eP,"] {\n overflow: hidden ").concat(n,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(n,";\n "),"padding"===r&&"padding-right: ".concat(s,"px ").concat(n,";")].filter(Boolean).join(""),"\n }\n \n .").concat(ed," {\n right: ").concat(s,"px ").concat(n,";\n }\n \n .").concat(ef," {\n margin-right: ").concat(s,"px ").concat(n,";\n }\n \n .").concat(ed," .").concat(ed," {\n right: 0 ").concat(n,";\n }\n \n .").concat(ef," .").concat(ef," {\n margin-right: 0 ").concat(n,";\n }\n \n body[").concat(eP,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},eN=function(){var e=parseInt(document.body.getAttribute(eP)||"0",10);return isFinite(e)?e:0},eL=function(){c.useEffect(function(){return document.body.setAttribute(eP,(eN()+1).toString()),function(){var e=eN()-1;e<=0?document.body.removeAttribute(eP):document.body.setAttribute(eP,e.toString())}},[])},eM=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=void 0===n?"margin":n;eL();var i=c.useMemo(function(){return eA(o)},[o]);return c.createElement(ek,{styles:eO(i,!t,o,r?"":"!important")})},eT=!1;if("u">typeof window)try{var ej=Object.defineProperty({},"passive",{get:function(){return eT=!0,!0}});window.addEventListener("test",ej,ej),window.removeEventListener("test",ej,ej)}catch(e){eT=!1}var eD=!!eT&&{passive:!1},eW=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return"hidden"!==r[t]&&(r.overflowY!==r.overflowX||"TEXTAREA"===e.tagName||"visible"!==r[t])},eI=function(e,t){var r=t.ownerDocument,n=t;do{if("u">typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),e_(e,n)){var o=e$(e,n);if(o[1]>o[2])return!0}n=n.parentNode}while(n&&n!==r.body)return!1},e_=function(e,t){return"v"===e?eW(t,"overflowY"):eW(t,"overflowX")},e$=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},ez=function(e,t,r,n,o){var i,a=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),s=a*n,l=r.target,u=t.contains(l),c=!1,d=s>0,f=0,p=0;
1do{if(!l)break;var h=e$(e,l),m=h[0],v=h[1]-h[2]-a*m;(m||v)&&e_(e,l)&&(f+=v,p+=m);var y=l.parentNode;l=y&&y.nodeType===Node.DOCUMENT_FRAGMENT_NODE?y.host:y}while(!u&&l!==document.body||u&&(t.contains(l)||t===l))return d&&(o&&1>Math.abs(f)||!o&&s>f)?c=!0:!d&&(o&&1>Math.abs(p)||!o&&-s>p)&&(c=!0),c},eF=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},eB=function(e){return[e.deltaX,e.deltaY]},eH=function(e){return e&&"current"in e?e.current:e},eY=0,eK=[];let eX=(s=function(e){var t=c.useRef([]),r=c.useRef([0,0]),n=c.useRef(),o=c.useState(eY++)[0],i=c.useState(ex)[0],a=c.useRef(e);c.useEffect(function(){a.current=e},[e]),c.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(function(e,t,r){if(r||2==arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(eH),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=c.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!a.current.allowPinchZoom;var o,i=eF(e),s=r.current,l="deltaX"in e?e.deltaX:s[0]-i[0],u="deltaY"in e?e.deltaY:s[1]-i[1],c=e.target,d=Math.abs(l)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var f=window.getSelection(),p=f&&f.anchorNode;if(p&&(p===c||p.contains(c)))return!1;var h=eI(d,c);if(!h)return!0;if(h?o=d:(o="v"===d?"h":"v",h=eI(d,c)),!h)return!1;if(!n.current&&"changedTouches"in e&&(l||u)&&(n.current=o),!o)return!0;var m=n.current||o;return ez(m,t,e,"h"===m?l:u,!0)},[]),l=c.useCallback(function(e){if(eK.length&&eK[eK.length-1]===i){var r="deltaY"in e?eB(e):eF(e),n=t.current.filter(function(t){var n;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(n=t.delta,n[0]===r[0]&&n[1]===r[1])})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}if(!n){var o=(a.current.shards||[]).map(eH).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?s(e,o[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),u=c.useCallback(function(e,r,n,o){var i={name:e,delta:r,target:n,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(n)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),d=c.useCallback(function(e){r.current=eF(e),n.current=void 0},[]),f=c.useCallback(function(t){u(t.type,eB(t),t.target,s(t,e.lockRef.current))},[]),p=c.useCallback(function(t){u(t.type,eF(t),t.target,s(t,e.lockRef.current))},[]);c.useEffect(function(){return eK.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",l,eD),document.addEventListener("touchmove",l,eD),document.addEventListener("touchstart",d,eD),function(){eK=eK.filter(function(e){return e!==i}),document.removeEventListener("wheel",l,eD),document.removeEventListener("touchmove",l,eD),document.removeEventListener("touchstart",d,eD)}},[]);var h=e.removeScrollBar,m=e.inert;return c.createElement(c.Fragment,null,m?c.createElement(i,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,h?c.createElement(eM,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},ev.useMedium(s),ew);var eV=c.forwardRef(function(e,t){return c.createElement(eg,eu({},e,{ref:t,sideCar:eX}))});eV.classNames=eg.classNames,e.s(["RemoveScroll",0,eV],985369)},678784,e=>{"use strict";var t=e.i(678745);e.s(["CheckIcon",()=>t.default])}]);
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.