1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ea17101f-5054-475a-a77b-86db4c3b8831",e._sentryDebugIdIdentifier="sentry-dbid-ea17101f-5054-475a-a77b-86db4c3b8831")}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3088],{43088:(e,t,n)=>{n.d(t,{Mz:()=>eW,UC:()=>eB,ZL:()=>ez,bL:()=>eU,l9:()=>e$});var r,o=n(12115),i=n.t(o,2);function l(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}function u(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function a(...e){return o.useCallback(function(...e){return t=>{let n=!1,r=e.map(e=>{let r=u(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():u(e[t],null)}}}}(...e),e)}"undefined"!=typeof window&&window.document&&window.document.createElement;var s=n(95155);function c(e,t=[]){let n=[],r=()=>{let t=n.map(e=>o.createContext(e));return function(n){let r=n?.[e]||t;return o.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return r.scopeName=e,[function(t,r){let i=o.createContext(r);i.displayName=t+"Context";let l=n.length;n=[...n,r];let u=t=>{let{scope:n,children:r,...u}=t,a=n?.[e]?.[l]||i,c=o.useMemo(()=>u,Object.values(u));return(0,s.jsx)(a.Provider,{value:c,children:r})};return u.displayName=t+"Provider",[u,function(n,u){let a=u?.[e]?.[l]||i,s=o.useContext(a);if(s)return s;if(void 0!==r)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return o.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}(r,...t)]}var d=n(47650);function f(e){let t=o.forwardRef((t,n)=>{var r;let i,l,{children:u,...s}=t,c=null,d=!1,f=[];y(u)&&"function"==typeof b&&(u=b(u._payload)),o.Children.forEach(u,e=>{var t;if(t=e,o.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===p){d=!0;let t="child"in e.props?e.props.child:e.props.children;y(t)&&"function"==typeof b&&(t=b(t._payload)),c=v(e,t),f.push(c?.props?.children)}else f.push(e)}),c?c=o.cloneElement(c,void 0,f):!d&&1===o.Children.count(u)&&o.isValidElement(u)&&(c=u);let m=c?(r=c,(l=(i=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in i&&i.isReactWarning)?r.ref:(l=(i=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in i&&i.isReactWarning)?r.props.ref:r.props.ref||r.ref):void 0,E=a(n,m);if(!c){if(u||0===u)throw Error(d?g(e):h(e));return u}let w=function(e,t){let n={...t};for(let r in t){let o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(s,c.props??{});return c.type!==o.Fragment&&(w.ref=n?E:m),o.cloneElement(c,w)});return t.displayName=`${e}.Slot`,t}var p=Symbol.for("radix.slottable"),v=(e,t)=>{if("child"in e.props){let t=e.props.child;return o.isValidElement(t)?o.cloneElement(t,void 0,e.props.children(t.props.children)):null}return o.isValidElement(t)?t:null},m=Symbol.for("react.lazy");function y(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===m&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var h=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,g=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,b=i[" use ".trim().toString()],E=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=f(`Primitive.${t}`),r=o.forwardRef((e,r)=>{let{asChild:o,...i}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,s.jsx)(o?n:t,{...i,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function w(e){let t=o.useRef(e);return o.useEffect(()=>{t.current=e}),o.useMemo(()=>(...e)=>t.current?.(...e),[])}var x="dismissableLayer.update",C=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),P=o.forwardRef((e,t)=>
1{var n,i;let{disableOutsidePointerEvents:u=!1,deferPointerDownOutside:c=!1,onEscapeKeyDown:d,onPointerDownOutside:f,onFocusOutside:p,onInteractOutside:v,onDismiss:m,...y}=e,h=o.useContext(C),[g,b]=o.useState(null),P=null!=(i=null==g?void 0:g.ownerDocument)?i:null==(n=globalThis)?void 0:n.document,[,S]=o.useState({}),O=a(t,e=>b(e)),A=Array.from(h.layers),[j]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),D=A.indexOf(j),L=g?A.indexOf(g):-1,T=h.layersWithOutsidePointerEventsDisabled.size>0,_=L>=D,k=o.useRef(!1),I=function(e,t){var n;let{ownerDocument:r=null==(n=globalThis)?void 0:n.document,deferPointerDownOutside:i=!1,isDeferredPointerDownOutsideRef:l,dismissableSurfaces:u}=t,a=w(e),s=o.useRef(!1),c=o.useRef(!1),d=o.useRef(new Map),f=o.useRef(()=>{});return o.useEffect(()=>{function e(){c.current=!1,l.current=!1,d.current.clear()}function t(e){if(!c.current)return;let t=e.target;t instanceof Node&&[...u].some(e=>e.contains(t))||d.current.set(e.type,!0),"click"===e.type&&window.setTimeout(()=>{c.current&&f.current()},0)}function n(e){c.current&&d.current.set(e.type,!1)}let o=t=>{if(t.target&&!s.current){let n=function(){r.removeEventListener("click",f.current);let t=Array.from(d.current.values()).some(Boolean);e(),t||N("dismissableLayer.pointerDownOutside",a,o,{discrete:!0})},o={originalEvent:t};c.current=!0,l.current=i&&0===t.button,d.current.clear(),i&&0===t.button?(r.removeEventListener("click",f.current),f.current=n,r.addEventListener("click",f.current,{once:!0})):n()}else r.removeEventListener("click",f.current),e();s.current=!1},p=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(let e of p)r.addEventListener(e,t,!0),r.addEventListener(e,n);let v=window.setTimeout(()=>{r.addEventListener("pointerdown",o)},0);return()=>{for(let e of(window.clearTimeout(v),r.removeEventListener("pointerdown",o),r.removeEventListener("click",f.current),p))r.removeEventListener(e,t,!0),r.removeEventListener(e,n)}},[r,a,i,l,u]),{onPointerDownCapture:()=>s.current=!0}}(e=>{let t=e.target;if(!(t instanceof Node))return;let n=[...h.branches].some(e=>e.contains(t));_&&!n&&(null==f||f(e),null==v||v(e),e.defaultPrevented||null==m||m())},{ownerDocument:P,deferPointerDownOutside:c,isDeferredPointerDownOutsideRef:k,dismissableSurfaces:h.dismissableSurfaces}),M=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=w(e),i=o.useRef(!1);return o.useEffect(()=>{let e=e=>{e.target&&!i.current&&N("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}(e=>{if(c&&k.current)return;let t=e.target;![...h.branches].some(e=>e.contains(t))&&(null==p||p(e),null==v||v(e),e.defaultPrevented||null==m||m())},P);return!function(e,t=globalThis?.document){let n=w(e);o.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{L===h.layers.size-1&&(null==d||d(e),!e.defaultPrevented&&m&&(e.preventDefault(),m()))},P),o.useEffect(()=>{if(g)return u&&(0===h.layersWithOutsidePointerEventsDisabled.size&&(r=P.body.style.pointerEvents,P.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(g)),h.layers.add(g),R(),()=>{u&&(h.layersWithOutsidePointerEventsDisabled.delete(g),0===h.layersWithOutsidePointerEventsDisabled.size&&(P.body.style.pointerEvents=r))}},[g,P,u,h]),o.useEffect(()=>()=>{g&&(h.layers.delete(g),h.layersWithOutsidePointerEventsDisabled.delete(g),R())},[g,h]),o.useEffect(()=>{let e=()=>S({});return document.addEventListener(x,e),()=>document.removeEventListener(x,e)},[]),(0,s.jsx)(E.div,{...y,ref:O,style:{pointerEvents:T?_?"auto":"none":void 0,...e.style},onFocusCapture:l(e.onFocusCapture,M.onFocusCapture),onBlurCapture:l(e.onBlurCapture,M.onBlurCapture),onPointerDownCapture:l(e.onPointerDownCapture,I.onPointerDownCapture)})});function R(){let e=new CustomEvent(x);document.dispatchEvent(e)}function N(e,t,n,r){let{discrete:o}=r,i=n.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});if(t&&i.addEventListener(e,t,{once:!0}),o)i&&d.flushSync(()=>i.dispatchEvent(l));else i.dispatchEvent(l)}P.displayName="DismissableLayer",o.forwardRef((e,t)=>
1{let n=o.useContext(C),r=o.useRef(null),i=a(t,r);return o.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,s.jsx)(E.div,{...e,ref:i})}).displayName="DismissableLayerBranch";var S=0,O=null;function A(){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}var j="focusScope.autoFocusOnMount",D="focusScope.autoFocusOnUnmount",L={bubbles:!1,cancelable:!0},T=o.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:l,...u}=e,[c,d]=o.useState(null),f=w(i),p=w(l),v=o.useRef(null),m=a(t,e=>d(e)),y=o.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;o.useEffect(()=>{if(r){let e=function(e){if(y.paused||!c)return;let t=e.target;c.contains(t)?v.current=t:I(v.current,{select:!0})},t=function(e){if(y.paused||!c)return;let t=e.relatedTarget;null!==t&&(c.contains(t)||I(v.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&I(c)});return c&&n.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,c,y.paused]),o.useEffect(()=>{if(c){M.add(y);let e=document.activeElement;if(!c.contains(e)){let t=new CustomEvent(j,L);c.addEventListener(j,f),c.dispatchEvent(t),t.defaultPrevented||(function(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=document.activeElement;for(let r of e)if(I(r,{select:t}),document.activeElement!==n)return}(_(c).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&I(c))}return()=>{c.removeEventListener(j,f),setTimeout(()=>{let t=new CustomEvent(D,L);c.addEventListener(D,p),c.dispatchEvent(t),t.defaultPrevented||I(null!=e?e:document.body,{select:!0}),c.removeEventListener(D,p),M.remove(y)},0)}}},[c,f,p,y]);let h=o.useCallback(e=>{if(!n&&!r||y.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){let t=e.currentTarget,[r,i]=function(e){let t=_(e);return[k(t,e),k(t.reverse(),e)]}(t);r&&i?e.shiftKey||o!==i?e.shiftKey&&o===r&&(e.preventDefault(),n&&I(i,{select:!0})):(e.preventDefault(),n&&I(r,{select:!0})):o===t&&e.preventDefault()}},[n,r,y.paused]);return(0,s.jsx)(E.div,{tabIndex:-1,...u,ref:m,onKeyDown:h})});function _(e){let t=[],n=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(;n.nextNode();)t.push(n.currentNode);return t}function k(e,t){for(let n of e)if(!function(e,t){let{upTo:n}=t;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===n||e!==n);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function I(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}T.displayName="FocusScope";var M=function(){let e=[];return{add(t){let n=e[0];t!==n&&(null==n||n.pause()),(e=F(e,t)).unshift(t)},remove(t){var n;null==(n=(e=F(e,t))[0])||n.resume()}}}();function F(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}var U=globalThis?.document?o.useLayoutEffect:()=>{},W=i[" useId ".trim().toString()]||(()=>void 0),$=0,z=n(88334),B=n(58146),H=o.forwardRef((e,t)=>{let{children:n,width:r=10,height:o=5,...i}=e;return(0,s.jsx)(E.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,s.jsx)("polygon",{points:"0,0 30,0 15,10"})})});H.displayName="Arrow";var K="Popper",[Y,V]=c(K),[X,Z]=Y(K),q=e=>{let{__scopePopper:t,children:n}=e,[r,i]=o.useState(null),[l,u]=o.useState(void 0);return(0,s.jsx)(X,{scope:t,anchor:r,onAnchorChange:i,placementState:l,setPlacementState:u,children:n})};q.displayName=K;var G="PopperAnchor",J=o.forwardRef((e,t)=>
1{let{__scopePopper:n,virtualRef:r,...i}=e,l=Z(G,n),u=o.useRef(null),c=l.onAnchorChange,d=a(t,o.useCallback(e=>{u.current=e,e&&c(e)},[c])),f=o.useRef(null);o.useEffect(()=>{if(!r)return;let e=f.current;f.current=r.current,e!==f.current&&c(f.current)});let p=l.placementState&&ea(l.placementState),v=null==p?void 0:p[0],m=null==p?void 0:p[1];return r?null:(0,s.jsx)(E.div,{"data-radix-popper-side":v,"data-radix-popper-align":m,...i,ref:d})});J.displayName=G;var Q="PopperContent",[ee,et]=Y(Q),en=o.forwardRef((e,t)=>{var n,r,i,l,u,c,d,f;let{__scopePopper:p,side:v="bottom",sideOffset:m=0,align:y="center",alignOffset:h=0,arrowPadding:g=0,avoidCollisions:b=!0,collisionBoundary:x=[],collisionPadding:C=0,sticky:P="partial",hideWhenDetached:R=!1,updatePositionStrategy:N="optimized",onPlaced:S,...O}=e,A=Z(Q,p),[j,D]=o.useState(null),L=a(t,e=>D(e)),[T,_]=o.useState(null),k=function(e){let[t,n]=o.useState(void 0);return U(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,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;r=t.inlineSize,o=t.blockSize}else r=e.offsetWidth,o=e.offsetHeight;n({width:r,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}(T),I=null!=(d=null==k?void 0:k.width)?d:0,M=null!=(f=null==k?void 0:k.height)?f:0,F="number"==typeof C?C:{top:0,right:0,bottom:0,left:0,...C},W=Array.isArray(x)?x:[x],$=W.length>0,H={padding:F,boundary:W.filter(el),altBoundary:$},{refs:K,floatingStyles:Y,placement:V,isPositioned:X,middlewareData:q}=(0,z.we)({strategy:"fixed",placement:v+("center"!==y?"-"+y:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,B.ll)(...t,{animationFrame:"always"===N})},elements:{reference:A.anchor},middleware:[(0,z.cY)({mainAxis:m+M,alignmentAxis:h}),b&&(0,z.BN)({mainAxis:!0,crossAxis:!1,limiter:"partial"===P?(0,z.ER)():void 0,...H}),b&&(0,z.UU)({...H}),(0,z.Ej)({...H,apply:e=>{let{elements:t,rects:n,availableWidth:r,availableHeight:o}=e,{width:i,height:l}=n.reference,u=t.floating.style;u.setProperty("--radix-popper-available-width","".concat(r,"px")),u.setProperty("--radix-popper-available-height","".concat(o,"px")),u.setProperty("--radix-popper-anchor-width","".concat(i,"px")),u.setProperty("--radix-popper-anchor-height","".concat(l,"px"))}}),T&&(0,z.UE)({element:T,padding:g}),eu({arrowWidth:I,arrowHeight:M}),R&&(0,z.jD)({strategy:"referenceHidden",...H,boundary:$?H.boundary:void 0})]}),G=A.setPlacementState;U(()=>(G(V),()=>{G(void 0)}),[V,G]);let[J,et]=ea(V),en=w(S);U(()=>{X&&(null==en||en())},[X,en]);let er=null==(n=q.arrow)?void 0:n.x,eo=null==(r=q.arrow)?void 0:r.y,ei=(null==(i=q.arrow)?void 0:i.centerOffset)!==0,[es,ec]=o.useState();return U(()=>{j&&ec(window.getComputedStyle(j).zIndex)},[j]),(0,s.jsx)("div",{ref:K.setFloating,"data-radix-popper-content-wrapper":"",style:{...Y,transform:X?Y.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:es,"--radix-popper-transform-origin":[null==(l=q.transformOrigin)?void 0:l.x,null==(u=q.transformOrigin)?void 0:u.y].join(" "),...(null==(c=q.hide)?void 0:c.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,s.jsx)(ee,{scope:p,placedSide:J,placedAlign:et,onArrowChange:_,arrowX:er,arrowY:eo,shouldHideArrow:ei,children:(0,s.jsx)(E.div,{"data-side":J,"data-align":et,...O,ref:L,style:{...O.style,animation:X?void 0:"none"}})})})});en.displayName=Q;var er="PopperArrow",eo={top:"bottom",right:"left",bottom:"top",left:"right"},ei=o.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,o=et(er,n),i=eo[o.placedSide];return(0,s.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,s.jsx)(H,{...r,ref:t,style:{...r.style,display:"block"}})})});function el(e){return null!==e}ei.displayName=er;var eu=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,l;let{placement:u,rects:a,middlewareData:s}=t,c=(null==(n=s.arrow)?void 0:n.centerOffset)!==0,d=c?0:e.arrowWidth,f=c?0:e.arrowHeight,[p,v]=ea(u),m={start:"0%",center:"50%",end:"100%"}[v],y=(null!=(i=null==(r=s.arrow)?void 0:r.x)?i:0)+d/2,h=(null!=(l=null==(o=s.arrow)?void 0:o.y)?l:0)+f/2,g="",b="";return"bottom"===p?(g=c?m:"".concat(y,"px"),b="".concat(-f,"px")):"top"===p?(g=c?m:"".concat(y,"px"),b="".concat(a.floating.height+f,"px")):"right"===p?(g="".concat(-f,"px"),b=c?m:"".concat(h,"px")):"left"===p&&(g="".concat(a.floating.width+f,"px"),b=c?m:"".concat(h,"px")),{data:{x:g,y:b}}}});function ea(e){let[t,n="center"]=e.split("-");return[t,n]}var es=o.forwardRef((e,t)=>
1{var n,r;let{container:i,...l}=e,[u,a]=o.useState(!1);U(()=>a(!0),[]);let c=i||u&&(null==(r=globalThis)||null==(n=r.document)?void 0:n.body);return c?d.createPortal((0,s.jsx)(E.div,{...l,ref:t}),c):null});es.displayName="Portal";var ec=e=>{let{present:t,children:n}=e,r=function(e){var t,n;let[r,i]=o.useState(),l=o.useRef(null),u=o.useRef(e),a=o.useRef("none"),[s,c]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},o.useReducer((e,t)=>{let r=n[e][t];return null!=r?r:e},t));return o.useEffect(()=>{let e=ef(l.current);a.current="mounted"===s?e:"none"},[s]),U(()=>{let t=l.current,n=u.current;if(n!==e){let r=a.current,o=ef(t);e?c("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?c("UNMOUNT"):n&&r!==o?c("ANIMATION_OUT"):c("UNMOUNT"),u.current=e}},[e,c]),U(()=>{if(r){var e;let t,n=null!=(e=r.ownerDocument.defaultView)?e:window,o=e=>{let o=ef(l.current).includes(CSS.escape(e.animationName));if(e.target===r&&o&&(c("ANIMATION_END"),!u.current)){let e=r.style.animationFillMode;r.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===r.style.animationFillMode&&(r.style.animationFillMode=e)})}},i=e=>{e.target===r&&(a.current=ef(l.current))};return r.addEventListener("animationstart",i),r.addEventListener("animationcancel",o),r.addEventListener("animationend",o),()=>{n.clearTimeout(t),r.removeEventListener("animationstart",i),r.removeEventListener("animationcancel",o),r.removeEventListener("animationend",o)}}c("ANIMATION_END")},[r,c]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:o.useCallback(e=>{l.current=e?getComputedStyle(e):null,i(e)},[])}}(t),i="function"==typeof n?n({present:r.isPresent}):o.Children.only(n),l=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let r=o.useRef(t);return r.current=t,o.useCallback(e=>{let t=r.current,n=!1,o=t.map(t=>{let r=ed(t,e);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let e=0;e<o.length;e++){let n=o[e];"function"==typeof n?n():ed(t[e],null)}}},[])}(r.ref,function(e){var t,n;let r=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?e.ref:(o=(r=null==(n=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:n.get)&&"isReactWarning"in r&&r.isReactWarning)?e.props.ref:e.props.ref||e.ref}(i));return"function"==typeof n||r.isPresent?o.cloneElement(i,{ref:l}):null};function ed(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function ef(e){return(null==e?void 0:e.animationName)||"none"}ec.displayName="Presence";var ep=i[" useInsertionEffect ".trim().toString()]||U;Symbol("RADIX:SYNC_STATE");var ev=n(97745),em=n(40101),ey="Popover",[eh,eg]=c(ey,[V]),eb=V(),[eE,ew]=eh(ey),ex=e=>{let{__scopePopover:t,children:n,open:r,defaultOpen:i,onOpenChange:l,modal:u=!1}=e,a=eb(t),c=o.useRef(null),[d,f]=o.useState(!1),[p,v]=function({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){let[i,l,u]=function({defaultProp:e,onChange:t}){let[n,r]=o.useState(e),i=o.useRef(n),l=o.useRef(t);return ep(()=>{l.current=t},[t]),o.useEffect(()=>{i.current!==n&&(l.current?.(n),i.current=n)},[n,i]),[n,r,l]}({defaultProp:t,onChange:n}),a=void 0!==e,s=a?e:i;{let t=o.useRef(void 0!==e);o.useEffect(()=>{let e=t.current;if(e!==a){let t=a?"controlled":"uncontrolled";console.warn(`${r} 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,r])}return[s,o.useCallback(t=>{if(a){let n="function"==typeof t?t(e):t;n!==e&&u.current?.(n)}else l(t)},[a,e,l,u])]}({prop:r,defaultProp:null!=i&&i,onChange:l,caller:ey});return(0,s.jsx)(q,{...a,children:(0,s.jsx)(eE,{scope:t,contentId:function(e){let[t,n]=o.useState(W());return U(()=>{n(e=>e??String($++))},[void 0]),e||(t?`radix-${t}`:"")}(),triggerRef:c,open:p,onOpenChange:v,onOpenToggle:o.useCallback(()=>v(e=>!e),[v]),hasCustomAnchor:d,onCustomAnchorAdd:o.useCallback(()=>f(!0),[]),onCustomAnchorRemove:o.useCallback(()=>f(!1),[]),modal:u,children:n})})};ex.displayName=ey;var eC="PopoverAnchor",eP=o.forwardRef((e,t)=>
1{let{__scopePopover:n,...r}=e,i=ew(eC,n),l=eb(n),{onCustomAnchorAdd:u,onCustomAnchorRemove:a}=i;return o.useEffect(()=>(u(),()=>a()),[u,a]),(0,s.jsx)(J,{...l,...r,ref:t})});eP.displayName=eC;var eR="PopoverTrigger",eN=o.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,o=ew(eR,n),i=eb(n),u=a(t,o.triggerRef),c=(0,s.jsx)(E.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.open?o.contentId:void 0,"data-state":eF(o.open),...r,ref:u,onClick:l(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?c:(0,s.jsx)(J,{asChild:!0,...i,children:c})});eN.displayName=eR;var eS="PopoverPortal",[eO,eA]=eh(eS,{forceMount:void 0}),ej=e=>{let{__scopePopover:t,forceMount:n,children:r,container:o}=e,i=ew(eS,t);return(0,s.jsx)(eO,{scope:t,forceMount:n,children:(0,s.jsx)(ec,{present:n||i.open,children:(0,s.jsx)(es,{asChild:!0,container:o,children:r})})})};ej.displayName=eS;var eD="PopoverContent",eL=o.forwardRef((e,t)=>{let n=eA(eD,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=ew(eD,e.__scopePopover);return(0,s.jsx)(ec,{present:r||i.open,children:i.modal?(0,s.jsx)(e_,{...o,ref:t}):(0,s.jsx)(ek,{...o,ref:t})})});eL.displayName=eD;var eT=f("PopoverContent.RemoveScroll"),e_=o.forwardRef((e,t)=>{let n=ew(eD,e.__scopePopover),r=o.useRef(null),i=a(t,r),u=o.useRef(!1);return o.useEffect(()=>{let e=r.current;if(e)return(0,ev.Eq)(e)},[]),(0,s.jsx)(em.A,{as:eT,allowPinchZoom:!0,children:(0,s.jsx)(eI,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:l(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),u.current||null==(t=n.triggerRef.current)||t.focus()}),onPointerDownOutside:l(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;u.current=2===t.button||n},{checkForDefaultPrevented:!1}),onFocusOutside:l(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),ek=o.forwardRef((e,t)=>{let n=ew(eD,e.__scopePopover),r=o.useRef(!1),i=o.useRef(!1);return(0,s.jsx)(eI,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var o,l;null==(o=e.onCloseAutoFocus)||o.call(e,t),t.defaultPrevented||(r.current||null==(l=n.triggerRef.current)||l.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{var o,l;null==(o=e.onInteractOutside)||o.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));let u=t.target;(null==(l=n.triggerRef.current)?void 0:l.contains(u))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),eI=o.forwardRef((e,t)=>{let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:l,disableOutsidePointerEvents:u,onEscapeKeyDown:a,onPointerDownOutside:c,onFocusOutside:d,onInteractOutside:f,...p}=e,v=ew(eD,n),m=eb(n);return o.useEffect(()=>{O||(O={start:A(),end:A()});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),S++,()=>{1===S&&(null==O||O.start.remove(),null==O||O.end.remove(),O=null),S=Math.max(0,S-1)}},[]),(0,s.jsx)(T,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:l,children:(0,s.jsx)(P,{asChild:!0,disableOutsidePointerEvents:u,onInteractOutside:f,onEscapeKeyDown:a,onPointerDownOutside:c,onFocusOutside:d,onDismiss:()=>v.onOpenChange(!1),deferPointerDownOutside:!0,children:(0,s.jsx)(en,{"data-state":eF(v.open),role:"dialog",id:v.contentId,...m,...p,ref:t,style:{...p.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),eM="PopoverClose";function eF(e){return e?"open":"closed"}o.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,o=ew(eM,n);return(0,s.jsx)(E.button,{type:"button",...r,ref:t,onClick:l(e.onClick,()=>o.onOpenChange(!1))})}).displayName=eM,o.forwardRef((e,t)=>
1{let{__scopePopover:n,...r}=e,o=eb(n);return(0,s.jsx)(ei,{...o,...r,ref:t})}).displayName="PopoverArrow";var eU=ex,eW=eP,e$=eN,ez=ej,eB=eL},88334:(e,t,n)=>{n.d(t,{BN:()=>p,ER:()=>v,Ej:()=>y,UE:()=>g,UU:()=>m,cY:()=>f,jD:()=>h,we:()=>d});var r=n(58146),o=n(12115),i=n(47650),l="undefined"!=typeof document?o.useLayoutEffect:function(){};function u(e,t){let n,r,o;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!u(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!e.$$typeof)&&!u(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function a(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function s(e,t){let n=a(e);return Math.round(t*n)/n}function c(e){let t=o.useRef(e);return l(()=>{t.current=e}),t}function d(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:d=[],platform:f,elements:{reference:p,floating:v}={},transform:m=!0,whileElementsMounted:y,open:h}=e,[g,b]=o.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[E,w]=o.useState(d);u(E,d)||w(d);let[x,C]=o.useState(null),[P,R]=o.useState(null),N=o.useCallback(e=>{e!==j.current&&(j.current=e,C(e))},[]),S=o.useCallback(e=>{e!==D.current&&(D.current=e,R(e))},[]),O=p||x,A=v||P,j=o.useRef(null),D=o.useRef(null),L=o.useRef(g),T=null!=y,_=c(y),k=c(f),I=c(h),M=o.useCallback(()=>{if(!j.current||!D.current)return;let e={placement:t,strategy:n,middleware:E};k.current&&(e.platform=k.current),(0,r.rD)(j.current,D.current,e).then(e=>{let t={...e,isPositioned:!1!==I.current};F.current&&!u(L.current,t)&&(L.current=t,i.flushSync(()=>{b(t)}))})},[E,t,n,k,I]);l(()=>{!1===h&&L.current.isPositioned&&(L.current.isPositioned=!1,b(e=>({...e,isPositioned:!1})))},[h]);let F=o.useRef(!1);l(()=>(F.current=!0,()=>{F.current=!1}),[]),l(()=>{if(O&&(j.current=O),A&&(D.current=A),O&&A){if(_.current)return _.current(O,A,M);M()}},[O,A,M,_,T]);let U=o.useMemo(()=>({reference:j,floating:D,setReference:N,setFloating:S}),[N,S]),W=o.useMemo(()=>({reference:O,floating:A}),[O,A]),$=o.useMemo(()=>{let e={position:n,left:0,top:0};if(!W.floating)return e;let t=s(W.floating,g.x),r=s(W.floating,g.y);return m?{...e,transform:"translate("+t+"px, "+r+"px)",...a(W.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,m,W.floating,g.x,g.y]);return o.useMemo(()=>({...g,update:M,refs:U,elements:W,floatingStyles:$}),[g,M,U,W,$])}let f=(e,t)=>({...(0,r.cY)(e),options:[e,t]}),p=(e,t)=>({...(0,r.BN)(e),options:[e,t]}),v=(e,t)=>
1({...(0,r.ER)(e),options:[e,t]}),m=(e,t)=>({...(0,r.UU)(e),options:[e,t]}),y=(e,t)=>({...(0,r.Ej)(e),options:[e,t]}),h=(e,t)=>({...(0,r.jD)(e),options:[e,t]}),g=(e,t)=>({...(e=>({name:"arrow",options:e,fn(t){let{element:n,padding:o}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?(0,r.UE)({element:n.current,padding:o}).fn(t):{}:n?(0,r.UE)({element:n,padding:o}).fn(t):{}}}))(e),options:[e,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.