1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,985412,e=>{"use strict";var t=e.i(271645),n=e.i(586011),r=e.i(225913),i=e.i(937934);let o=(0,r.cva)("tw:inline-flex tw:justify-center tw:items-center tw:gap-x-2 tw:font-medium tw:transition tw:whitespace-nowrap tw:focus-visible:outline-hidden tw:disabled:pointer-events-none tw:disabled:bg-action-primary-disabled tw:disabled:text-disabled",{variants:{variant:{primary:"tw:bg-action-primary tw:text-white tw:hover:bg-action-primary-hover tw:active:bg-action-primary-active tw:focus-visible:ring-action-primary tw:focus-visible:ring-1 tw:focus-visible:ring-offset-2",secondary:"tw:bg-action-secondary tw:border tw:border-primary tw:text-secondary tw:hover:bg-action-secondary-hover tw:hover:border-hover tw:active:bg-action-secondary-active tw:focus-visible:ring-action-primary tw:focus-visible:ring-1 tw:focus-visible:ring-offset-2 tw:disabled:border-0",tertiary:"tw:bg-action-tertiary tw:text-primary tw:hover:bg-action-tertiary-hover tw:active:bg-action-tertiary-active tw:focus-visible:ring-action-primary tw:focus-visible:ring-1 tw:focus-visible:ring-offset-2",brand:"tw:bg-action-brand tw:text-white tw:hover:bg-action-brand-hover tw:active:bg-action-brand-active tw:focus-visible:ring-action-primary tw:focus-visible:ring-1 tw:focus-visible:ring-offset-2","brand-outlined":"tw:bg-action-brand-outlined tw:border tw:border-brand tw:text-brand tw:hover:bg-action-brand-outlined-hover tw:hover:border-brand-solid tw:active:bg-action-brand-outlined-active tw:focus-visible:ring-action-primary tw:focus-visible:ring-1 tw:focus-visible:ring-offset-2 tw:disabled:border-0",ghost:"tw:bg-action-ghost tw:text-brand tw:hover:bg-action-ghost-hover tw:active:bg-action-ghost-active tw:focus-visible:ring-action-primary tw:focus-visible:ring-1 tw:focus-visible:ring-offset-2","ghost-neutral":"tw:bg-action-ghost tw:text-fg-tertiary tw:hover:text-fg-primary tw:hover:bg-action-ghost-hover tw:active:text-fg-primary tw:active:bg-action-ghost-active tw:focus-visible:text-fg-tertiary tw:focus-visible:ring-action-primary tw:focus-visible:ring-1 tw:focus-visible:ring-offset-2"},size:{"2xl":"tw:size-16 tw:p-2 tw:[&_svg]:size-12",xl:"tw:size-14 tw:p-2 tw:[&_svg]:size-10",lg:"tw:size-12 tw:p-2 tw:[&_svg]:size-8",md:"tw:size-10 tw:p-2 tw:[&_svg]:size-6",sm:"tw:size-8 tw:p-1.5 tw:[&_svg]:size-5",xs:"tw:size-6 tw:p-1 tw:[&_svg]:size-4","2xs":"tw:size-5 tw:[&_svg]:size-4"},shape:{rounded:"",circle:"tw:rounded-full"}},compoundVariants:[{size:"2xl",shape:"rounded",className:"tw:rounded-lg"},{size:"xl",shape:"rounded",className:"tw:rounded-lg"},{size:"lg",shape:"rounded",className:"tw:rounded-lg"},{size:"md",shape:"rounded",className:"tw:rounded-lg"},{size:"sm",shape:"rounded",className:"tw:rounded-lg"},{size:"xs",shape:"rounded",className:"tw:rounded-sm"},{size:"2xs",shape:"rounded",className:"tw:rounded-sm"}],defaultVariants:{variant:"primary",shape:"rounded",size:"lg"}});e.s(["ButtonIcon",0,function({className:e,variant:r,size:s,shape:u,asChild:a=!1,...c}){let l=a?n.Slot.Slot:"button";return t.createElement(l,{"data-slot":"button",className:(0,i.twcn)(o({variant:r,size:s,shape:u,className:e})),...c})}])},981140,e=>{"use strict";var t=Object.defineProperty,n=(e,n)=>t(e,"name",{value:n,configurable:!0}),r=!!("u">typeof window&&window.document&&window.document.createElement);function i(e,t,{checkForDefaultPrevented:r=!0}={}){return n(function(n){if(e?.(n),!1===r||!n||!n.defaultPrevented)return t?.(n)},"handleEvent")}function o(e){if(!r)throw Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}function s(e){return"IFRAME"===e.tagName}n(i,"composeEventHandlers"),n(function(e){if(!r)throw Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window},"getOwnerWindow"),n(o,"getOwnerDocument"),n(function e(t,n=!1){let{activeElement:r}=o(t);if(!r?.nodeName)return null;if(s(r)&&r.contentDocument)return e(r.contentDocument.body,n);if(n){let e=r.getAttribute("aria-activedescendant");if(e){let t=o(r).getElementById(e);if(t)return t}}return r},"getActiveElement"),n(s,"isFrame"),e.s(["composeEventHandlers",0,i])},30030,248425,e=>{"use strict";var t=e.i(271645),n=e.i(843476),r=Object.defineProperty,i=(e,t)=>r(e,"name",{value:t,configurable:!0});function o(e,r=[]){let u=[];function a(r,o){let s=t.createContext(o);s.displayName=r+"Context";let a=u.length;u=[...u,o];let c=i(r=>{let{scope:i,children:o,...u}=r,c=i?.[e]?.[a]||s,l=t.useMemo(()=>u,Object.values(u));return(0,n.jsx)(c.Provider,{value:l,children:o})},"Provider");function l(n,i,u={}){let{optional:c=!1}
1=u,d=i?.[e]?.[a]||s,f=t.useContext(d);if(f)return f;if(void 0!==o)return o;if(!c)throw Error(`\`${n}\` must be used within \`${r}\``)}return c.displayName=r+"Provider",i(l,"useContext"),[c,l]}i(a,"createContext");let c=i(()=>{let n=u.map(e=>t.createContext(e));return i(function(r){let i=r?.[e]||n;return t.useMemo(()=>({[`__scope${e}`]:{...r,[e]:i}}),[r,i])},"useScope")},"createScope");return c.scopeName=e,[a,s(c,...r)]}function s(...e){let n=e[0];if(1===e.length)return n;let r=i(()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return i(function(e){let i=r.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return t.useMemo(()=>({[`__scope${n.scopeName}`]:i}),[i])},"useComposedScopes")},"createScope");return r.scopeName=n.scopeName,r}i(function(e,r){let o=t.createContext(r);o.displayName=e+"Context";let s=i(e=>{let{children:r,...i}=e,s=t.useMemo(()=>i,Object.values(i));return(0,n.jsx)(o.Provider,{value:s,children:r})},"Provider");function u(n,i={}){let{optional:s=!1}=i,a=t.useContext(o);if(a)return a;if(void 0!==r)return r;if(!s)throw Error(`\`${n}\` must be used within \`${e}\``)}return s.displayName=e+"Provider",i(u,"useContext"),[s,u]},"createContext"),i(o,"createContextScope"),i(s,"composeContextScopes"),e.s(["createContextScope",0,o],30030);var u=e.i(174080),a=e.i(991918),c=Object.defineProperty,l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{let i=(0,a.createSlot)(`Primitive.${r}`),o=t.forwardRef((e,t)=>{let{asChild:o,...s}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,n.jsx)(o?i:r,{...s,ref:t})});return o.displayName=`Primitive.${r}`,{...e,[r]:o}},{});function d(e,t){e&&u.flushSync(()=>e.dispatchEvent(t))}c(d,"name",{value:"dispatchDiscreteCustomEvent",configurable:!0}),e.s(["Primitive",0,l,"dispatchDiscreteCustomEvent",0,d],248425)},726330,30207,e=>{"use strict";var t,n=e.i(271645),r=e.i(981140),i=e.i(248425),o=e.i(820783);function s(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}(0,Object.defineProperty)(s,"name",{value:"useCallbackRef",configurable:!0}),e.s(["useCallbackRef",0,s],30207);var u=e.i(843476),a=Object.defineProperty,c=(e,t)=>a(e,"name",{value:t,configurable:!0}),l="dismissableLayer.update",d=n.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),f=n.forwardRef(c(function(e,a){let{disableOutsidePointerEvents:f=!1,deferPointerDownOutside:m=!1,onEscapeKeyDown:p,onPointerDownOutside:y,onFocusOutside:h,onInteractOutside:g,onDismiss:E,...S}=e,C=n.useContext(d),[O,P]=n.useState(null),N=O?.ownerDocument??globalThis?.document,[,x]=n.useState({}),R=(0,o.useComposedRefs)(a,P),L=Array.from(C.layers),[D]=[...C.layersWithOutsidePointerEventsDisabled].slice(-1),A=D?L.indexOf(D):-1,T=O?L.indexOf(O):-1,I=C.layersWithOutsidePointerEventsDisabled.size>0,M=T>=A,k=n.useRef(!1),F=v(e=>{y?.(e),g?.(e),e.defaultPrevented||E?.()},{ownerDocument:N,deferPointerDownOutside:m,isDeferredPointerDownOutsideRef:k,dismissableSurfaces:C.dismissableSurfaces,shouldHandlePointerDownOutside:n.useCallback(e=>{if(!(e instanceof Node))return!1;let t=[...C.branches].some(t=>t.contains(e));return M&&!t},[C.branches,M])}),j=b(e=>{if(m&&k.current)return;let t=e.target;![...C.branches].some(e=>e.contains(t))&&(h?.(e),g?.(e),e.defaultPrevented||E?.())},N),_=!!O&&T===L.length-1,z=s(e=>{"Escape"===e.key&&(p?.(e),!e.defaultPrevented&&E&&(e.preventDefault(),E()))});return n.useEffect(()=>{if(_)return N.addEventListener("keydown",z,{capture:!0}),()=>N.removeEventListener("keydown",z,{capture:!0})}
1,[N,_,z]),n.useEffect(()=>{if(O)return f&&(0===C.layersWithOutsidePointerEventsDisabled.size&&(t=N.body.style.pointerEvents,N.body.style.pointerEvents="none"),C.layersWithOutsidePointerEventsDisabled.add(O)),C.layers.add(O),w(),()=>{f&&(C.layersWithOutsidePointerEventsDisabled.delete(O),0===C.layersWithOutsidePointerEventsDisabled.size&&(N.body.style.pointerEvents=t))}},[O,N,f,C]),n.useEffect(()=>()=>{O&&(C.layers.delete(O),C.layersWithOutsidePointerEventsDisabled.delete(O),w())},[O,C]),n.useEffect(()=>{let e=c(()=>x({}),"handleUpdate");return document.addEventListener(l,e),()=>document.removeEventListener(l,e)},[]),(0,u.jsx)(i.Primitive.div,{...S,ref:R,style:{pointerEvents:I?M?"auto":"none":void 0,...e.style},onFocusCapture:(0,r.composeEventHandlers)(e.onFocusCapture,j.onFocusCapture),onBlurCapture:(0,r.composeEventHandlers)(e.onBlurCapture,j.onBlurCapture),onPointerDownCapture:(0,r.composeEventHandlers)(e.onPointerDownCapture,F.onPointerDownCapture)})},"DismissableLayer"));function m(){let e=n.useContext(d),[t,r]=n.useState(null);return n.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),r}c(m,"useDismissableLayerSurface");var p=c(()=>!0,"IS_TRUE");function v(e,t){let{ownerDocument:r=globalThis?.document,deferPointerDownOutside:i=!1,isDeferredPointerDownOutsideRef:o,dismissableSurfaces:u,shouldHandlePointerDownOutside:a=p}=t,l=s(e),d=n.useRef(!1),f=n.useRef(!1),m=n.useRef(new Map),v=n.useRef(()=>{});return n.useEffect(()=>{function e(){f.current=!1,o.current=!1,m.current.clear()}function t(){return Array.from(m.current.values()).some(Boolean)}function n(e){if(!f.current)return;let t=e.target;t instanceof Node&&[...u].some(e=>e.contains(t))||m.current.set(e.type,!0),"click"===e.type&&window.setTimeout(()=>{f.current&&v.current()},0)}function s(e){f.current&&m.current.set(e.type,!1)}c(e,"resetOutsideInteraction"),c(t,"isOutsideInteractionIntercepted"),c(n,"handleInteractionCapture"),c(s,"handleInteractionBubble");let p=c(n=>{if(n.target&&!d.current){let s=function(){r.removeEventListener("click",v.current);let n=t();e(),n||y("dismissableLayer.pointerDownOutside",l,u,{discrete:!0})};if(c(s,"handleAndDispatchPointerDownOutsideEvent"),!a(n.target)){r.removeEventListener("click",v.current),e(),d.current=!1;return}let u={originalEvent:n};f.current=!0,o.current=i&&0===n.button,m.current.clear(),i&&0===n.button?(r.removeEventListener("click",v.current),v.current=s,r.addEventListener("click",v.current,{once:!0})):s()}else r.removeEventListener("click",v.current),e();d.current=!1},"handlePointerDown"),b=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(let e of b)r.addEventListener(e,n,!0),r.addEventListener(e,s);let w=window.setTimeout(()=>{r.addEventListener("pointerdown",p)},0);return()=>{for(let e of(window.clearTimeout(w),r.removeEventListener("pointerdown",p),r.removeEventListener("click",v.current),b))r.removeEventListener(e,n,!0),r.removeEventListener(e,s)}},[r,l,i,o,u,a]),{onPointerDownCapture:c(()=>d.current=!0,"onPointerDownCapture")}}function b(e,t=globalThis?.document){let r=s(e),i=n.useRef(!1);return n.useEffect(()=>{let e=c(e=>{e.target&&!i.current&&y("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:c(()=>i.current=!0,"onFocusCapture"),onBlurCapture:c(()=>i.current=!1,"onBlurCapture")}}function w(){let e=new CustomEvent(l);document.dispatchEvent(e)}function y(e,t,n,{discrete:r}){let o=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?(0,i.dispatchDiscreteCustomEvent)(o,s):o.dispatchEvent(s)}c(v,"usePointerDownOutside"),c(b,"useFocusOutside"),c(w,"dispatchUpdate"),c(y,"handleAndDispatchCustomEvent"),e.s(["DismissableLayer",0,f,"useDismissableLayerSurface",0,m],726330)},303536,e=>{"use strict";var t=e.i(271645),n=Object.defineProperty,r=(e,t)=>n(e,"name",{value:t,configurable:!0}),i=0,o=null;function s(){t.useEffect(()=>{o||(o={start:u(),end:u()});let{start:e,end:t}=o;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),i++,()=>{1===i&&(o?.start.remove(),o?.end.remove(),o=null),i=Math.max(0,i-1)}},[])}function u(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.
1style.position="fixed",e.style.pointerEvents="none",e}r(function(e){return s(),e.children},"FocusGuards"),r(s,"useFocusGuards"),r(u,"createFocusGuard"),e.s(["useFocusGuards",0,s])},765491,e=>{"use strict";var t=e.i(271645),n=e.i(820783),r=e.i(248425),i=e.i(30207),o=e.i(843476),s=Object.defineProperty,u=(e,t)=>s(e,"name",{value:t,configurable:!0}),a="focusScope.autoFocusOnMount",c="focusScope.autoFocusOnUnmount",l={bubbles:!1,cancelable:!0},d=t.forwardRef(u(function(e,s){let{loop:d=!1,trapped:v=!1,onMountAutoFocus:b,onUnmountAutoFocus:w,...g}=e,[E,C]=t.useState(null),O=(0,i.useCallbackRef)(b),P=(0,i.useCallbackRef)(w),N=t.useRef(null),x=(0,n.useComposedRefs)(s,C),R=t.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;t.useEffect(()=>{if(v){let e=function(e){if(R.paused||!E)return;let t=e.target;E.contains(t)?N.current=t:y(N.current,{select:!0})},t=function(e){if(R.paused||!E)return;let t=e.relatedTarget;null!==t&&(E.contains(t)||y(N.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&y(E)};u(e,"handleFocusIn"),u(t,"handleFocusOut"),u(n,"handleMutations"),document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(n);return E&&r.observe(E,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[v,E,R.paused]),t.useEffect(()=>{if(E){h.add(R);let e=document.activeElement;if(!E.contains(e)){let t=new CustomEvent(a,l);E.addEventListener(a,O),E.dispatchEvent(t),t.defaultPrevented||(f(S(p(E)),{select:!0}),document.activeElement===e&&y(E))}return()=>{E.removeEventListener(a,O),setTimeout(()=>{let t=new CustomEvent(c,l);E.addEventListener(c,P),E.dispatchEvent(t),t.defaultPrevented||y(e??document.body,{select:!0}),E.removeEventListener(c,P),h.remove(R)},0)}}},[E,O,P,R]);let L=t.useCallback(e=>{if(!d&&!v||R.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){let t=e.currentTarget,[r,i]=m(t);r&&i?e.shiftKey||n!==i?e.shiftKey&&n===r&&(e.preventDefault(),d&&y(i,{select:!0})):(e.preventDefault(),d&&y(r,{select:!0})):n===t&&e.preventDefault()}},[d,v,R.paused]);return(0,o.jsx)(r.Primitive.div,{tabIndex:-1,...g,ref:x,onKeyDown:L})},"FocusScope"));function f(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(y(r,{select:t}),document.activeElement!==n)return}function m(e){let t=p(e);return[v(t,e),v(t.reverse(),e)]}function p(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:u(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},"acceptNode")});for(;n.nextNode();)t.push(n.currentNode);return t}function v(e,t){let n="function"==typeof t.checkVisibility&&t.checkVisibility({checkVisibilityCSS:!0});for(let r of e)if(!(n?!r.checkVisibility({checkVisibilityCSS:!0}):b(r,{upTo:t})))return r}function b(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}function w(e){return e instanceof HTMLInputElement&&"select"in e}function y(e,{select:t=!1}={}){if(e&&e.focus){let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&w(e)&&t&&e.select()}}u(f,"focusFirst"),u(m,"getTabbableEdges"),u(p,"getTabbableCandidates"),u(v,"findVisible"),u(b,"isHidden"),u(w,"isSelectableInput"),u(y,"focus");var h=g();function g(){let e=[];return{add(t){let n=e[0];t!==n&&n?.pause(),(e=E(e,t)).unshift(t)},remove(t){e=E(e,t),e[0]?.resume()}}}function E(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}function S(e){return e.filter(e=>"A"!==e.tagName)}u(g,"createFocusScopesStack"),u(E,"arrayRemove"),u(S,"removeLinks"),e.s(["FocusScope",0,d])},610772,934620,e=>{"use strict";var t=e.i(271645),n=globalThis?.document?t.useLayoutEffect:()=>{};e.s(["useLayoutEffect",0,n],934620);var r=Object.defineProperty,i=t[" useId ".trim().toString()]||(()=>void 0),o=0;function s(e){let[r,s]=t.useState(i());return n(()=>{e||s(e=>e??String(o++))},[e]),e||(r?`radix-${r}`:"")}r(s,"name",{value:"useId",configurable:!0}),e.s(["useId",0,s],610772)},774606,296626,e=>{"use strict";var t=e.i(271645),n=e.i(174080),r=e.i(248425),i=e.i(934620),o=e.i(843476),s=Object.defineProperty,u=t.forwardRef(s(function(e,s){let{container:u,...a}=e,[c,l]=t.useState(!1);(0,i.useLayoutEffect)(()=>l(!0),[]);let d=u||c&&globalThis?.document?.body;return d?n.createPortal((0,o.jsx)(r.Primitive.div,{...a,ref:s}),d):null},"name",{value:"Portal",configurable:!0}));e.s(["Portal",0,u],774606);var a=Object.defineProperty,c=(e,t)=>a(e,"name",{value:t,configurable:!0});function l(e,n){return t.useReducer((e,t)=>
1n[e][t]??e,e)}c(l,"useStateMachine");var d=c(e=>{let{present:n,children:r}=e,i=f(n),o="function"==typeof r?r({present:i.isPresent}):t.Children.only(r),s=p(i.ref,b(o));return"function"==typeof r||i.isPresent?t.cloneElement(o,{ref:s}):null},"Presence");function f(e){let[n,r]=t.useState(),o=t.useRef(null),s=t.useRef(e),u=t.useRef("none"),a=t.useRef(void 0),[d,f]=l(e?"mounted":"unmounted",{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return t.useEffect(()=>{"mounted"===d?(u.current=a.current??v(o.current),a.current=void 0):u.current="none"},[d]),(0,i.useLayoutEffect)(()=>{let t=o.current,n=s.current;if(n!==e){let r=u.current,i=v(t);e?(a.current=i,f("MOUNT")):"none"===i||t?.display==="none"?f("UNMOUNT"):n&&r!==i?f("ANIMATION_OUT"):f("UNMOUNT"),s.current=e}},[e,f]),(0,i.useLayoutEffect)(()=>{if(n){let e,t=n.ownerDocument.defaultView??window,r=c(r=>{let i=v(o.current).includes(CSS.escape(r.animationName));if(r.target===n&&i&&(f("ANIMATION_END"),!s.current)){let r=n.style.animationFillMode;n.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=r)})}},"handleAnimationEnd"),i=c(e=>{e.target===n&&(u.current=v(o.current))},"handleAnimationStart");return n.addEventListener("animationstart",i),n.addEventListener("animationcancel",r),n.addEventListener("animationend",r),()=>{t.clearTimeout(e),n.removeEventListener("animationstart",i),n.removeEventListener("animationcancel",r),n.removeEventListener("animationend",r)}}f("ANIMATION_END")},[n,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:t.useCallback(e=>{if(e){let t=getComputedStyle(e);o.current=t,a.current=v(t)}else o.current=null;r(e)},[])}}function m(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function p(...e){let n=t.useRef(e);return n.current=e,t.useCallback(e=>{let t=n.current,r=!1,i=t.map(t=>{let n=m(t,e);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let e=0;e<i.length;e++){let n=i[e];"function"==typeof n?n():m(t[e],null)}}},[])}function v(e){return e?.animationName||"none"}function b(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}c(f,"usePresence"),c(m,"setRef"),c(p,"useStableComposedRefs"),c(v,"getAnimationName"),c(b,"getElementRef"),e.s(["Presence",0,d],296626)},991918,820783,e=>{"use strict";var t=e.i(271645),n=Object.defineProperty,r=(e,t)=>n(e,"name",{value:t,configurable:!0});function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function o(...e){return t=>{let n=!1,r=e.map(e=>{let r=i(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():i(e[t],null)}}}}function s(...e){return t.useCallback(o(...e),e)}r(i,"setRef"),r(o,"composeRefs"),r(s,"useComposedRefs"),e.s(["useComposedRefs",0,s],820783);var u=Object.defineProperty,a=(e,t)=>u(e,"name",{value:t,configurable:!0});function c(e){let n=t.forwardRef((n,r)=>{let{children:i,...o}=n,u=null,a=!1,c=[];h(i)&&"function"==typeof C&&(i=C(i._payload)),t.Children.forEach(i,e=>{if(w(e)){a=!0;let t="child"in e.props?e.props.child:e.props.children;h(t)&&"function"==typeof C&&(t=C(t._payload)),u=p(e,t),c.push(u?.props?.children)}else c.push(e)}),u?u=t.cloneElement(u,void 0,c):!a&&1===t.Children.count(i)&&t.isValidElement(i)&&(u=i);let l=u?b(u):void 0,d=s(r,l);if(!u){if(i||0===i)throw Error(a?S(e):E(e));return i}let f=v(o,u.props??{});return u.type!==t.Fragment&&(f.ref=r?d:l),t.cloneElement(u,f)});return n.displayName=`${e}.Slot`,n}a(c,"createSlot");var l=c("Slot"),d=Symbol.for("radix.slottable");function f(e){let t=a(e=>"child"in e?e.children(e.child):e.children,"Slottable");return t.displayName=`${e}.Slottable`,t.__radixId=d,t}a(f,"createSlottable");var m=f("Slottable"),p=a((e,n)=>{if("child"in e.props){let n=e.props.child;return t.isValidElement(n)?t.cloneElement(n,void 0,e.props.children(n.props.children)):null}return t.isValidElement(n)?n:null},"getSlottableElementFromSlottable");function v(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>
1{let t=o(...e);return i(...e),t}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}function b(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}function w(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===d}a(v,"mergeProps"),a(b,"getElementRef"),a(w,"isSlottable");var y=Symbol.for("react.lazy");function h(e){return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===y&&"_payload"in e&&g(e._payload)}function g(e){return"object"==typeof e&&null!==e&&"then"in e}a(h,"isLazyComponent"),a(g,"isPromiseLike");var E=a(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),S=a(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),C=t[" use ".trim().toString()];e.s(["Root",0,l,"Slot",0,l,"Slottable",0,m,"createSlot",0,c,"createSlottable",0,f],991918)},586011,e=>{"use strict";var t=e.i(991918);e.s(["Slot",0,t])},369340,e=>{"use strict";var t=e.i(271645),n=e.i(934620),r=Object.defineProperty,i=t[" useEffectEvent ".trim().toString()],o=t[" useInsertionEffect ".trim().toString()];function s(e){if("function"==typeof i)return i(e);let r=t.useRef(()=>{throw Error("Cannot call an event handler while rendering.")});return"function"==typeof o?o(()=>{r.current=e}):(0,n.useLayoutEffect)(()=>{r.current=e}),t.useMemo(()=>(...e)=>r.current?.(...e),[])}r(s,"name",{value:"useEffectEvent",configurable:!0});var u=Object.defineProperty,a=(e,t)=>u(e,"name",{value:t,configurable:!0}),c=t[" useInsertionEffect ".trim().toString()]||n.useLayoutEffect;function l({prop:e,defaultProp:n,onChange:r=a(()=>{},"onChange"),caller:i}){let[o,s,u]=d({defaultProp:n,onChange:r}),c=void 0!==e,m=c?e:o;return[m,t.useCallback(t=>{if(c){let n=f(t)?t(e):t;n!==e&&u.current?.(n)}else s(t)},[c,e,s,u])]}function d({defaultProp:e,onChange:n}){let[r,i]=t.useState(e),o=t.useRef(r),s=t.useRef(n);return c(()=>{s.current=n},[n]),t.useEffect(()=>{o.current!==r&&(s.current?.(r),o.current=r)},[r,o]),[r,i,s]}function f(e){return"function"==typeof e}a(l,"useControllableState"),a(d,"useUncontrolledState"),a(f,"isFunction");var m=Symbol("RADIX:SYNC_STATE");a(function(e,n,r,i){let{prop:o,defaultProp:u,onChange:a,caller:c}=n,l=void 0!==o,d=s(a),f=[{...r,state:u}];i&&f.push(i);let[p,v]=t.useReducer((t,n)=>{if(n.type===m)return{...t,state:n.state};let r=e(t,n);return l&&!Object.is(r.state,t.state)&&d(r.state),r},...f),b=p.state,w=t.useRef(b);t.useEffect(()=>{w.current!==b&&(w.current=b,l||d(b))},[b,w,l]);let y=t.useMemo(()=>void 0!==o?{...p,state:o}:p,[p,o]);return t.useEffect(()=>{l&&!Object.is(o,p.state)&&v({type:m,state:o})},[o,p.state,l]),[y,v]},"useControllableStateReducer"),e.s(["useControllableState",0,l],369340)},186312,e=>{"use strict";var t=new WeakMap,n=new WeakMap,r={},i=0,o=function(e){return e&&(e.host||o(e.parentNode))},s=function(e,s,u,a){var c=(Array.isArray(e)?e:[e]).map(function(e){if(s.contains(e))return e;var t=o(e);return t&&s.contains(t)?t:(console.error("aria-hidden",e,"in not contained inside",s,". Doing nothing"),null)}).filter(function(e){return!!e});r[u]||(r[u]=new WeakMap);var l=r[u],d=[],f=new Set,m=new Set(c),p=function(e){!e||f.has(e)||(f.add(e),p(e.parentNode))};c.forEach(p);var v=function(e){!e||m.has(e)||Array.prototype.forEach.call(e.children,function(e){if(f.has(e))v(e);else try{var r=e.getAttribute(a),i=null!==r&&"false"!==r,o=(t.get(e)||0)+1,s=(l.get(e)||0)+1;t.set(e,o),l.set(e,s),d.push(e),1===o&&i&&n.set(e,!0),1===s&&e.setAttribute(u,"true"),i||e.setAttribute(a,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return v(s),f.clear(),i++,function(){d.forEach(function(e){var r=t.get(e)-1,i=l.get(e)-1;t.set(e,r),l.set(e,i),r||(n.has(e)||e.removeAttribute(a),n.delete(e)),i||e.removeAttribute(u)}),--i||(t=new WeakMap,t=new WeakMap,n=new WeakMap,r={})}};e.s(["hideOthers",0,function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live], script"))),s(r,i,n,"aria-hidden")):function(){return null}}])}]);
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.