1!function(){try{var 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]="1bce8cfd-ec7f-4824-b62c-5e9353d4e994",e._sentryDebugIdIdentifier="sentry-dbid-1bce8cfd-ec7f-4824-b62c-5e9353d4e994")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3518],{3836:(e,t,n)=>{n.d(t,{N:()=>i});var r=n(7002),i=globalThis?.document?r.useLayoutEffect:()=>{}},15581:(e,t,n)=>{n.d(t,{A:()=>l,q:()=>o});var r=n(7002),i=n(59173);function o(e,t){let n=r.createContext(t),o=e=>{let{children:t,...o}=e,l=r.useMemo(()=>o,Object.values(o));return(0,i.jsx)(n.Provider,{value:l,children:t})};return o.displayName=e+"Provider",[o,function(i){let o=r.useContext(n);if(o)return o;if(void 0!==t)return t;throw Error(`\`${i}\` must be used within \`${e}\``)}]}function l(e,t=[]){let n=[],o=()=>{let t=n.map(e=>r.createContext(e));return function(n){let i=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return o.scopeName=e,[function(t,o){let l=r.createContext(o),a=n.length;n=[...n,o];let s=t=>{let{scope:n,children:o,...s}=t,u=n?.[e]?.[a]||l,f=r.useMemo(()=>s,Object.values(s));return(0,i.jsx)(u.Provider,{value:f,children:o})};return s.displayName=t+"Provider",[s,function(n,i){let s=i?.[e]?.[a]||l,u=r.useContext(s);if(u)return u;if(void 0!==o)return o;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 i=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}(o,...t)]}},20970:(e,t,n)=>{n.d(t,{X:()=>o});var r=n(7002),i=n(3836);function o(e){let[t,n]=r.useState(void 0);return(0,i.N)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,i;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,i=t.blockSize}else r=e.offsetWidth,i=e.offsetHeight;n({width:r,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}},32190:(e,t,n)=>{function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}n.d(t,{mK:()=>r}),"undefined"!=typeof window&&window.document&&window.document.createElement},36350:(e,t,n)=>{n.d(t,{Mz:()=>e1,i3:()=>e3,UC:()=>e2,bL:()=>e0,Bk:()=>eH});var r=n(7002);let i=["top","right","bottom","left"],o=Math.min,l=Math.max,a=Math.round,s=Math.floor,u=e=>({x:e,y:e}
1),f={left:"right",right:"left",bottom:"top",top:"bottom"},c={start:"end",end:"start"};function d(e,t){return"function"==typeof e?e(t):e}function p(e){return e.split("-")[0]}function h(e){return e.split("-")[1]}function m(e){return"x"===e?"y":"x"}function g(e){return"y"===e?"height":"width"}let y=new Set(["top","bottom"]);function v(e){return y.has(p(e))?"y":"x"}function w(e){return e.replace(/start|end/g,e=>c[e])}let b=["left","right"],x=["right","left"],E=["top","bottom"],R=["bottom","top"];function C(e){return e.replace(/left|right|bottom|top/g,e=>f[e])}function S(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function A(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function L(e,t,n){let r,{reference:i,floating:o}=e,l=v(t),a=m(v(t)),s=g(a),u=p(t),f="y"===l,c=i.x+i.width/2-o.width/2,d=i.y+i.height/2-o.height/2,y=i[s]/2-o[s]/2;switch(u){case"top":r={x:c,y:i.y-o.height};break;case"bottom":r={x:c,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:d};break;case"left":r={x:i.x-o.width,y:d};break;default:r={x:i.x,y:i.y}}switch(h(t)){case"start":r[a]-=y*(n&&f?-1:1);break;case"end":r[a]+=y*(n&&f?-1:1)}return r}let P=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,a=o.filter(Boolean),s=await (null==l.isRTL?void 0:l.isRTL(t)),u=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:f,y:c}=L(u,r,s),d=r,p={},h=0;for(let n=0;n<a.length;n++){let{name:o,fn:m}=a[n],{x:g,y:y,data:v,reset:w}=await m({x:f,y:c,initialPlacement:r,placement:d,strategy:i,middlewareData:p,rects:u,platform:l,elements:{reference:e,floating:t}});f=null!=g?g:f,c=null!=y?y:c,p={...p,[o]:{...p[o],...v}},w&&h<=50&&(h++,"object"==typeof w&&(w.placement&&(d=w.placement),w.rects&&(u=!0===w.rects?await l.getElementRects({reference:e,floating:t,strategy:i}):w.rects),{x:f,y:c}=L(u,d,s)),n=-1)}return{x:f,y:c,placement:d,strategy:i,middlewareData:p}};async function T(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:l,elements:a,strategy:s}=e,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:c="floating",altBoundary:p=!1,padding:h=0}=d(t,e),m=S(h),g=a[p?"floating"===c?"reference":"floating":c],y=A(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(g)))||n?g:g.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:u,rootBoundary:f,strategy:s})),v="floating"===c?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,w=await (null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),b=await (null==o.isElement?void 0:o.isElement(w))&&await (null==o.getScale?void 0:o.getScale(w))||{x:1,y:1},x=A(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:w,strategy:s}):v);return{top:(y.top-x.top+m.top)/b.y,bottom:(x.bottom-y.bottom+m.bottom)/b.y,left:(y.left-x.left+m.left)/b.x,right:(x.right-y.right+m.right)/b.x}}function O(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function D(e){return i.some(t=>e[t]>=0)}let k=new Set(["left","top"]);async function N(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=p(n),a=h(n),s="y"===v(n),u=k.has(l)?-1:1,f=o&&s?-1:1,c=d(t,e),{mainAxis:m,crossAxis:g,alignmentAxis:y}="number"==typeof c?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:c.mainAxis||0,crossAxis:c.crossAxis||0,alignmentAxis:c.alignmentAxis};return a&&"number"==typeof y&&(g="end"===a?-1*y:y),s?{x:g*f,y:m*u}:{x:m*u,y:g*f}}function $(){return"undefined"!=typeof window}function W(e){return H(e)?(e.nodeName||"").toLowerCase():"#document"}function j(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function F(e){var t;return null==(t=(H(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function H(e){return!!$()&&(e instanceof Node||e instanceof j(e).Node)}function M(e){return!!$()&&(e instanceof Element||e instanceof j(e).Element)}function _(e){return!!$()&&(e instanceof HTMLElement||e instanceof j(e).HTMLElement)}function B(e){return!!$()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof j(e).ShadowRoot)}let z=new Set(["inline","contents"]);function I(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=ee(e);
1return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!z.has(i)}let V=new Set(["table","td","th"]),G=[":popover-open",":modal"];function X(e){return G.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let Y=["transform","translate","scale","rotate","perspective"],q=["transform","translate","scale","rotate","perspective","filter"],K=["paint","layout","strict","content"];function U(e){let t=Z(),n=M(e)?ee(e):e;return Y.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||q.some(e=>(n.willChange||"").includes(e))||K.some(e=>(n.contain||"").includes(e))}function Z(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let J=new Set(["html","body","#document"]);function Q(e){return J.has(W(e))}function ee(e){return j(e).getComputedStyle(e)}function et(e){return M(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function en(e){if("html"===W(e))return e;let t=e.assignedSlot||e.parentNode||B(e)&&e.host||F(e);return B(t)?t.host:t}function er(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=en(t);return Q(n)?t.ownerDocument?t.ownerDocument.body:t.body:_(n)&&I(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),l=j(i);if(o){let e=ei(l);return t.concat(l,l.visualViewport||[],I(i)?i:[],e&&n?er(e):[])}return t.concat(i,er(i,[],n))}function ei(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function eo(e){let t=ee(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=_(e),o=i?e.offsetWidth:n,l=i?e.offsetHeight:r,s=a(n)!==o||a(r)!==l;return s&&(n=o,r=l),{width:n,height:r,$:s}}function el(e){return M(e)?e:e.contextElement}function ea(e){let t=el(e);if(!_(t))return u(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:o}=eo(t),l=(o?a(n.width):n.width)/r,s=(o?a(n.height):n.height)/i;return l&&Number.isFinite(l)||(l=1),s&&Number.isFinite(s)||(s=1),{x:l,y:s}}let es=u(0);function eu(e){let t=j(e);return Z()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:es}function ef(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),l=el(e),a=u(1);t&&(r?M(r)&&(a=ea(r)):a=ea(e));let s=(void 0===(i=n)&&(i=!1),r&&(!i||r===j(l))&&i)?eu(l):u(0),f=(o.left+s.x)/a.x,c=(o.top+s.y)/a.y,d=o.width/a.x,p=o.height/a.y;if(l){let e=j(l),t=r&&M(r)?j(r):r,n=e,i=ei(n);for(;i&&r&&t!==n;){let e=ea(i),t=i.getBoundingClientRect(),r=ee(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;f*=e.x,c*=e.y,d*=e.x,p*=e.y,f+=o,c+=l,i=ei(n=j(i))}}return A({width:d,height:p,x:f,y:c})}function ec(e,t){let n=et(e).scrollLeft;return t?t.left+n:ef(F(e)).left+n}function ed(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-ec(e,n),y:n.top+t.scrollTop}}let ep=new Set(["absolute","fixed"]);function eh(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=j(e),r=F(e),i=n.visualViewport,o=r.clientWidth,l=r.clientHeight,a=0,s=0;if(i){o=i.width,l=i.height;let e=Z();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,s=i.offsetTop)}let u=ec(r);if(u<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,l=Math.abs(r.clientWidth-t.clientWidth-i);l<=25&&(o-=l)}else u<=25&&(o+=u);return{width:o,height:l,x:a,y:s}}(e,n);else if("document"===t)r=function(e){let t=F(e),n=et(e),r=e.ownerDocument.body,i=l(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=l(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),a=-n.scrollLeft+ec(e),s=-n.scrollTop;return"rtl"===ee(r).direction&&(a+=l(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:a,y:s}}(F(e));else if(M(t))r=function(e,t){let n=ef(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=_(e)?ea(e):u(1),l=e.clientWidth*o.x,a=e.clientHeight*o.y;return{width:l,height:a,x:i*o.x,y:r*o.y}}(t,n);else{let n=eu(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return A(r)}function em(e){return"static"===ee(e).position}function eg(e,t){if(!_(e)||"fixed"===ee(e).position)return null;if(t)return t(e);let n=e.offsetParent;return F(e)===n&&(n=n.ownerDocument.body),n}function ey(e,t){var n;let r=j(e);if(X(e))return r;if(!_(e)){let t=en(e);for(;t&&!Q(t);){if(M(t)&&!em(t))return t;t=en(t)}return r}let i=eg(e,t);for(;i&&(n=i,V.has(W(n)))&&em(i);)i=eg(i,t);
1return i&&Q(i)&&em(i)&&!U(i)?r:i||function(e){let t=en(e);for(;_(t)&&!Q(t);){if(U(t))return t;if(X(t))break;t=en(t)}return null}(e)||r}let ev=async function(e){let t=this.getOffsetParent||ey,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=_(t),i=F(t),o="fixed"===n,l=ef(e,!0,o,t),a={scrollLeft:0,scrollTop:0},s=u(0);if(r||!r&&!o)if(("body"!==W(t)||I(i))&&(a=et(t)),r){let e=ef(t,!0,o,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else i&&(s.x=ec(i));o&&!r&&i&&(s.x=ec(i));let f=!i||r||o?u(0):ed(i,a);return{x:l.left+a.scrollLeft-s.x-f.x,y:l.top+a.scrollTop-s.y-f.y,width:l.width,height:l.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},ew={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,l=F(r),a=!!t&&X(t.floating);if(r===l||a&&o)return n;let s={scrollLeft:0,scrollTop:0},f=u(1),c=u(0),d=_(r);if((d||!d&&!o)&&(("body"!==W(r)||I(l))&&(s=et(r)),_(r))){let e=ef(r);f=ea(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}let p=!l||d||o?u(0):ed(l,s);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-s.scrollLeft*f.x+c.x+p.x,y:n.y*f.y-s.scrollTop*f.y+c.y+p.y}},getDocumentElement:F,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[..."clippingAncestors"===n?X(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=er(e,[],!1).filter(e=>M(e)&&"body"!==W(e)),i=null,o="fixed"===ee(e).position,l=o?en(e):e;for(;M(l)&&!Q(l);){let t=ee(l),n=U(l);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&!!i&&ep.has(i.position)||I(l)&&!n&&function e(t,n){let r=en(t);return!(r===n||!M(r)||Q(r))&&("fixed"===ee(r).position||e(r,n))}(e,l))?r=r.filter(e=>e!==l):i=t,l=en(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],s=a[0],u=a.reduce((e,n)=>{let r=eh(t,n,i);return e.top=l(r.top,e.top),e.right=o(r.right,e.right),e.bottom=o(r.bottom,e.bottom),e.left=l(r.left,e.left),e},eh(t,s,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:ey,getElementRects:ev,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=eo(e);return{width:t,height:n}},getScale:ea,isElement:M,isRTL:function(e){return"rtl"===ee(e).direction}};function eb(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let ex=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:s,elements:u,middlewareData:f}=t,{element:c,padding:p=0}=d(e,t)||{};if(null==c)return{};let y=S(p),w={x:n,y:r},b=m(v(i)),x=g(b),E=await s.getDimensions(c),R="y"===b,C=R?"clientHeight":"clientWidth",A=a.reference[x]+a.reference[b]-w[b]-a.floating[x],L=w[b]-a.reference[b],P=await (null==s.getOffsetParent?void 0:s.getOffsetParent(c)),T=P?P[C]:0;T&&await (null==s.isElement?void 0:s.isElement(P))||(T=u.floating[C]||a.floating[x]);let O=T/2-E[x]/2-1,D=o(y[R?"top":"left"],O),k=o(y[R?"bottom":"right"],O),N=T-E[x]-k,$=T/2-E[x]/2+(A/2-L/2),W=l(D,o($,N)),j=!f.arrow&&null!=h(i)&&$!==W&&a.reference[x]/2-($<D?D:k)-E[x]/2<0,F=j?$<D?$-D:$-N:0;return{[b]:w[b]+F,data:{[b]:W,centerOffset:$-W-F,...j&&{alignmentOffset:F}},reset:j}}});var eE=n(40007),eR="undefined"!=typeof document?r.useLayoutEffect:function(){};function eC(e,t){let n,r,i;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(!eC(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!eC(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eS(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eA(e,t){let n=eS(e);return Math.round(t*n)/n}function eL(e){let t=r.useRef(e);return eR(()=>{t.current=e}),t}var eP=n(40941),eT=n(59173),eO=r.forwardRef((e,t)=>{let{children:n,width:r=10,height:i=5,...o}=e;return(0,eT.jsx)(eP.sG.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,eT.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eO.displayName="Arrow";
1var eD=n(22031),ek=n(15581),eN=n(57746),e$=n(3836),eW=n(20970),ej="Popper",[eF,eH]=(0,ek.A)(ej),[eM,e_]=eF(ej),eB=e=>{let{__scopePopper:t,children:n}=e,[i,o]=r.useState(null);return(0,eT.jsx)(eM,{scope:t,anchor:i,onAnchorChange:o,children:n})};eB.displayName=ej;var ez="PopperAnchor",eI=r.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:i,...o}=e,l=e_(ez,n),a=r.useRef(null),s=(0,eD.s)(t,a),u=r.useRef(null);return r.useEffect(()=>{let e=u.current;u.current=i?.current||a.current,e!==u.current&&l.onAnchorChange(u.current)}),i?null:(0,eT.jsx)(eP.sG.div,{...o,ref:s})});eI.displayName=ez;var eV="PopperContent",[eG,eX]=eF(eV),eY=r.forwardRef((e,t)=>{let{__scopePopper:n,side:i="bottom",sideOffset:a=0,align:u="center",alignOffset:f=0,arrowPadding:c=0,avoidCollisions:y=!0,collisionBoundary:S=[],collisionPadding:A=0,sticky:L="partial",hideWhenDetached:$=!1,updatePositionStrategy:W="optimized",onPlaced:j,...H}=e,M=e_(eV,n),[_,B]=r.useState(null),z=(0,eD.s)(t,e=>B(e)),[I,V]=r.useState(null),G=(0,eW.X)(I),X=G?.width??0,Y=G?.height??0,q="number"==typeof A?A:{top:0,right:0,bottom:0,left:0,...A},K=Array.isArray(S)?S:[S],U=K.length>0,Z={padding:q,boundary:K.filter(eZ),altBoundary:U},{refs:J,floatingStyles:Q,placement:ee,isPositioned:et,middlewareData:en}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:i=[],platform:o,elements:{reference:l,floating:a}={},transform:s=!0,whileElementsMounted:u,open:f}=e,[c,d]=r.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=r.useState(i);eC(p,i)||h(i);let[m,g]=r.useState(null),[y,v]=r.useState(null),w=r.useCallback(e=>{e!==R.current&&(R.current=e,g(e))},[]),b=r.useCallback(e=>{e!==C.current&&(C.current=e,v(e))},[]),x=l||m,E=a||y,R=r.useRef(null),C=r.useRef(null),S=r.useRef(c),A=null!=u,L=eL(u),T=eL(o),O=eL(f),D=r.useCallback(()=>{if(!R.current||!C.current)return;let e={placement:t,strategy:n,middleware:p};T.current&&(e.platform=T.current),((e,t,n)=>{let r=new Map,i={platform:ew,...n},o={...i.platform,_c:r};return P(e,t,{...i,platform:o})})(R.current,C.current,e).then(e=>{let t={...e,isPositioned:!1!==O.current};k.current&&!eC(S.current,t)&&(S.current=t,eE.flushSync(()=>{d(t)}))})},[p,t,n,T,O]);eR(()=>{!1===f&&S.current.isPositioned&&(S.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[f]);let k=r.useRef(!1);eR(()=>(k.current=!0,()=>{k.current=!1}),[]),eR(()=>{if(x&&(R.current=x),E&&(C.current=E),x&&E){if(L.current)return L.current(x,E,D);D()}},[x,E,D,L,A]);let N=r.useMemo(()=>({reference:R,floating:C,setReference:w,setFloating:b}),[w,b]),$=r.useMemo(()=>({reference:x,floating:E}),[x,E]),W=r.useMemo(()=>{let e={position:n,left:0,top:0};if(!$.floating)return e;let t=eA($.floating,c.x),r=eA($.floating,c.y);return s?{...e,transform:"translate("+t+"px, "+r+"px)",...eS($.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,s,$.floating,c.x,c.y]);return r.useMemo(()=>({...c,update:D,refs:N,elements:$,floatingStyles:W}),[c,D,N,$,W])}({strategy:"fixed",placement:i+("center"!==u?"-"+u:""),whileElementsMounted:(...e)=>(function(e,t,n,r){let i;void 0===r&&(r={});let{ancestorScroll:a=!0,ancestorResize:u=!0,elementResize:f="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,p=el(e),h=a||u?[...p?er(p):[],...er(t)]:[];h.forEach(e=>{a&&e.addEventListener("scroll",n,{passive:!0}),u&&e.addEventListener("resize",n)});let m=p&&c?function(e,t){let n,r=null,i=F(e);function a(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function u(f,c){void 0===f&&(f=!1),void 0===c&&(c=1),a();let d=e.getBoundingClientRect(),{left:p,top:h,width:m,height:g}=d;if(f||t(),!m||!g)return;let y=s(h),v=s(i.clientWidth-(p+m)),w={rootMargin:-y+"px "+-v+"px "+-s(i.clientHeight-(h+g))+"px "+-s(p)+"px",threshold:l(0,o(1,c))||1},b=!0;function x(t){let r=t[0].intersectionRatio;if(r!==c){if(!b)return u();r?u(!1,r):n=setTimeout(()=>{u(!1,1e-7)},1e3)}1!==r||eb(d,e.getBoundingClientRect())||u(),b=!1}try{r=new IntersectionObserver(x,{...w,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(x,w)}r.observe(e)}(!0),a}(p,n):null,g=-1,y=null;f&&(y=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&y&&(y.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),n()}
1),p&&!d&&y.observe(p),y.observe(t));let v=d?ef(e):null;return d&&function t(){let r=ef(e);v&&!eb(v,r)&&n(),v=r,i=requestAnimationFrame(t)}(),n(),()=>{var e;h.forEach(e=>{a&&e.removeEventListener("scroll",n),u&&e.removeEventListener("resize",n)}),null==m||m(),null==(e=y)||e.disconnect(),y=null,d&&cancelAnimationFrame(i)}})(...e,{animationFrame:"always"===W}),elements:{reference:M.anchor},middleware:[((e,t)=>({...function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:i,y:o,placement:l,middlewareData:a}=t,s=await N(t,e);return l===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:i+s.x,y:o+s.y,data:{...s,placement:l}}}}}(e),options:[e,void 0]}))({mainAxis:a+Y,alignmentAxis:f}),y&&((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:i}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:u={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...f}=d(e,t),c={x:n,y:r},h=await T(t,f),g=v(p(i)),y=m(g),w=c[y],b=c[g];if(a){let e="y"===y?"top":"left",t="y"===y?"bottom":"right",n=w+h[e],r=w-h[t];w=l(n,o(w,r))}if(s){let e="y"===g?"top":"left",t="y"===g?"bottom":"right",n=b+h[e],r=b-h[t];b=l(n,o(b,r))}let x=u.fn({...t,[y]:w,[g]:b});return{...x,data:{x:x.x-n,y:x.y-r,enabled:{[y]:a,[g]:s}}}}}}(e),options:[e,void 0]}))({mainAxis:!0,crossAxis:!1,limiter:"partial"===L?{...function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:o,middlewareData:l}=t,{offset:a=0,mainAxis:s=!0,crossAxis:u=!0}=d(e,t),f={x:n,y:r},c=v(i),h=m(c),g=f[h],y=f[c],w=d(a,t),b="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(s){let e="y"===h?"height":"width",t=o.reference[h]-o.floating[e]+b.mainAxis,n=o.reference[h]+o.reference[e]-b.mainAxis;g<t?g=t:g>n&&(g=n)}if(u){var x,E;let e="y"===h?"width":"height",t=k.has(p(i)),n=o.reference[c]-o.floating[e]+(t&&(null==(x=l.offset)?void 0:x[c])||0)+(t?0:b.crossAxis),r=o.reference[c]+o.reference[e]+(t?0:(null==(E=l.offset)?void 0:E[c])||0)-(t?b.crossAxis:0);y<n?y=n:y>r&&(y=r)}return{[h]:g,[c]:y}}}}(void 0),options:[void 0,void 0]}:void 0,...Z}),y&&((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,i,o,l;let{placement:a,middlewareData:s,rects:u,initialPlacement:f,platform:c,elements:y}=t,{mainAxis:S=!0,crossAxis:A=!0,fallbackPlacements:L,fallbackStrategy:P="bestFit",fallbackAxisSideDirection:O="none",flipAlignment:D=!0,...k}=d(e,t);if(null!=(n=s.arrow)&&n.alignmentOffset)return{};let N=p(a),$=v(f),W=p(f)===f,j=await (null==c.isRTL?void 0:c.isRTL(y.floating)),F=L||(W||!D?[C(f)]:function(e){let t=C(e);return[w(e),t,w(t)]}(f)),H="none"!==O;!L&&H&&F.push(...function(e,t,n,r){let i=h(e),o=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?x:b;return t?b:x;case"left":case"right":return t?E:R;default:return[]}}(p(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(w)))),o}(f,D,O,j));let M=[f,...F],_=await T(t,k),B=[],z=(null==(r=s.flip)?void 0:r.overflows)||[];if(S&&B.push(_[N]),A){let e=function(e,t,n){void 0===n&&(n=!1);let r=h(e),i=m(v(e)),o=g(i),l="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(l=C(l)),[l,C(l)]}(a,u,j);B.push(_[e[0]],_[e[1]])}if(z=[...z,{placement:a,overflows:B}],!B.every(e=>e<=0)){let e=((null==(i=s.flip)?void 0:i.index)||0)+1,t=M[e];if(t&&("alignment"!==A||$===v(t)||z.every(e=>v(e.placement)!==$||e.overflows[0]>0)))return{data:{index:e,overflows:z},reset:{placement:t}};let n=null==(o=z.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(P){case"bestFit":{let e=null==(l=z.filter(e=>{if(H){let t=v(e.placement);return t===$||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:l[0];e&&(n=e);break}case"initialPlacement":n=f}if(a!==n)return{reset:{placement:n}}}return{}}}}(e),options:[e,void 0]}))({...Z}),((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;let i,a,{placement:s,rects:u,platform:f,elements:c}=t,{apply:m=()=>{},...g}=d(e,t),y=await T(t,g),w=p(s),b=h(s),x="y"===v(s),{width:E,height:R}=u.floating;"top"===w||"bottom"===w?(i=w,a=b===(await (null==f.isRTL?void 0:f.isRTL(c.floating))?"start":"end")?"left":"right"):(a=w,i="end"===b?"top":"bottom");let C=R-y.top-y.bottom,S=E-y.left-y.right,A=o(R-y[i],C),L=o(E-y[a],S),P=!t.middlewareData.shift,O=A,D=L;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(D=S),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(O=C),P&&!b){let e=l(y.left,0),t=l(y.right,0),n=l(y.top,0),r=l(y.bottom,0);x?D=E-2*(0!==e||0!==t?e+t:l(y.left,y.right)):O=R-2*(0!==n||0!==r?n+r:l(y.top,y.bottom))}await m({...t,availableWidth:D,availableHeight:O});let k=await f.getDimensions(c.floating);return E!==k.width||R!==k.height?{reset:{rects:!0}}:{}}}}(e),options:[e,void 0]}))({...Z,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:o}=t.reference,l=e.floating.style;l.setProperty("--radix-popper-available-width",`${n}px`),l.setProperty("--radix-popper-available-height",`${r}px`),l.setProperty("--radix-popper-anchor-width",`${i}px`),l.setProperty("--radix-popper-anchor-height",`${o}px`)}}),I&&((e,t)=>({...(e=>({name:"arrow",options:e,fn(t){let{element:n,padding:r}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?ex({element:n.current,padding:r}).fn(t):{}:n?ex({element:n,padding:r}).fn(t):{}}}))(e),options:[e,void 0]}))({element:I,padding:c}),eJ({arrowWidth:X,arrowHeight:Y}),$&&((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n}=t,{strategy:r="referenceHidden",...i}=d(e,t);switch(r){case"referenceHidden":{let e=O(await T(t,{...i,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:D(e)}}}case"escaped":{let e=O(await T(t,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:D(e)}}}default:return{}}}}}(e),options:[e,void 0]}))({strategy:"referenceHidden",...Z})]}),[ei,eo]=eQ(ee),ea=(0,eN.c)(j);(0,e$.N)(()=>{et&&ea?.()},[et,ea]);let es=en.arrow?.x,eu=en.arrow?.y,ec=en.arrow?.centerOffset!==0,[ed,ep]=r.useState();return(0,e$.N)(()=>{_&&ep(window.getComputedStyle(_).zIndex)},[_]),(0,eT.jsx)("div",{ref:J.setFloating,"data-radix-popper-content-wrapper":"",style:{...Q,transform:et?Q.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ed,"--radix-popper-transform-origin":[en.transformOrigin?.x,en.transformOrigin?.y].join(" "),...en.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eT.jsx)(eG,{scope:n,placedSide:ei,onArrowChange:V,arrowX:es,arrowY:eu,shouldHideArrow:ec,children:(0,eT.jsx)(eP.sG.div,{"data-side":ei,"data-align":eo,...H,ref:z,style:{...H.style,animation:et?void 0:"none"}})})})});eY.displayName=eV;var eq="PopperArrow",eK={top:"bottom",right:"left",bottom:"top",left:"r
1ight"},eU=r.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=eX(eq,n),o=eK[i.placedSide];return(0,eT.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,eT.jsx)(eO,{...r,ref:t,style:{...r.style,display:"block"}})})});function eZ(e){return null!==e}eU.displayName=eq;var eJ=e=>({name:"transformOrigin",options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,o=i.arrow?.centerOffset!==0,l=o?0:e.arrowWidth,a=o?0:e.arrowHeight,[s,u]=eQ(n),f={start:"0%",center:"50%",end:"100%"}[u],c=(i.arrow?.x??0)+l/2,d=(i.arrow?.y??0)+a/2,p="",h="";return"bottom"===s?(p=o?f:`${c}px`,h=`${-a}px`):"top"===s?(p=o?f:`${c}px`,h=`${r.floating.height+a}px`):"right"===s?(p=`${-a}px`,h=o?f:`${d}px`):"left"===s&&(p=`${r.floating.width+a}px`,h=o?f:`${d}px`),{data:{x:p,y:h}}}});function eQ(e){let[t,n="center"]=e.split("-");return[t,n]}var e0=eB,e1=eI,e2=eY,e3=eU},37297:(e,t,n)=>{n.d(t,{qW:()=>d});var r,i=n(7002),o=n(32190),l=n(40941),a=n(22031),s=n(57746),u=n(59173),f="dismissableLayer.update",c=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),d=i.forwardRef((e,t)=>{let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:d,onPointerDownOutside:m,onFocusOutside:g,onInteractOutside:y,onDismiss:v,...w}=e,b=i.useContext(c),[x,E]=i.useState(null),R=x?.ownerDocument??globalThis?.document,[,C]=i.useState({}),S=(0,a.s)(t,e=>E(e)),A=Array.from(b.layers),[L]=[...b.layersWithOutsidePointerEventsDisabled].slice(-1),P=A.indexOf(L),T=x?A.indexOf(x):-1,O=b.layersWithOutsidePointerEventsDisabled.size>0,D=T>=P,k=function(e,t=globalThis?.document){let n=(0,s.c)(e),r=i.useRef(!1),o=i.useRef(()=>{});return i.useEffect(()=>{let e=e=>{if(e.target&&!r.current){let r=function(){h("dismissableLayer.pointerDownOutside",n,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=r,t.addEventListener("click",o.current,{once:!0})):r()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}(e=>{let t=e.target,n=[...b.branches].some(e=>e.contains(t));D&&!n&&(m?.(e),y?.(e),e.defaultPrevented||v?.())},R),N=function(e,t=globalThis?.document){let n=(0,s.c)(e),r=i.useRef(!1);return i.useEffect(()=>{let e=e=>{e.target&&!r.current&&h("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{let t=e.target;![...b.branches].some(e=>e.contains(t))&&(g?.(e),y?.(e),e.defaultPrevented||v?.())},R);return!function(e,t=globalThis?.document){let n=(0,s.c)(e);i.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=>{T===b.layers.size-1&&(d?.(e),!e.defaultPrevented&&v&&(e.preventDefault(),v()))},R),i.useEffect(()=>{if(x)return n&&(0===b.layersWithOutsidePointerEventsDisabled.size&&(r=R.body.style.pointerEvents,R.body.style.pointerEvents="none"),b.layersWithOutsidePointerEventsDisabled.add(x)),b.layers.add(x),p(),()=>{n&&1===b.layersWithOutsidePointerEventsDisabled.size&&(R.body.style.pointerEvents=r)}},[x,R,n,b]),i.useEffect(()=>()=>{x&&(b.layers.delete(x),b.layersWithOutsidePointerEventsDisabled.delete(x),p())},[x,b]),i.useEffect(()=>{let e=()=>C({});return document.addEventListener(f,e),()=>document.removeEventListener(f,e)},[]),(0,u.jsx)(l.sG.div,{...w,ref:S,style:{pointerEvents:O?D?"auto":"none":void 0,...e.style},onFocusCapture:(0,o.mK)(e.onFocusCapture,N.onFocusCapture),onBlurCapture:(0,o.mK)(e.onBlurCapture,N.onBlurCapture),onPointerDownCapture:(0,o.mK)(e.onPointerDownCapture,k.onPointerDownCapture)})});function p(){let e=new CustomEvent(f);document.dispatchEvent(e)}function h(e,t,n,{discrete:r}){let i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?(0,l.hO)(i,o):i.dispatchEvent(o)}d.displayName="DismissableLayer",i.forwardRef((e,t)=>
1{let n=i.useContext(c),r=i.useRef(null),o=(0,a.s)(t,r);return i.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,u.jsx)(l.sG.div,{...e,ref:o})}).displayName="DismissableLayerBranch"},40941:(e,t,n)=>{n.d(t,{hO:()=>s,sG:()=>a});var r=n(7002),i=n(40007),o=n(24609),l=n(59173),a=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=(0,o.TL)(`Primitive.${t}`),i=r.forwardRef((e,r)=>{let{asChild:i,...o}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(i?n:t,{...o,ref:r})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{});function s(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}},45078:(e,t,n)=>{n.d(t,{B:()=>s});var r,i=n(7002),o=n(3836),l=(r||(r=n.t(i,2)))[" useId ".trim().toString()]||(()=>void 0),a=0;function s(e){let[t,n]=i.useState(l());return(0,o.N)(()=>{e||n(e=>e??String(a++))},[e]),e||(t?`radix-${t}`:"")}},57746:(e,t,n)=>{n.d(t,{c:()=>i});var r=n(7002);function i(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},65690:(e,t,n)=>{n.d(t,{i:()=>a});var r,i=n(7002),o=n(3836),l=(r||(r=n.t(i,2)))[" useInsertionEffect ".trim().toString()]||o.N;function a({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){let[o,a,s]=function({defaultProp:e,onChange:t}){let[n,r]=i.useState(e),o=i.useRef(n),a=i.useRef(t);return l(()=>{a.current=t},[t]),i.useEffect(()=>{o.current!==n&&(a.current?.(n),o.current=n)},[n,o]),[n,r,a]}({defaultProp:t,onChange:n}),u=void 0!==e,f=u?e:o;{let t=i.useRef(void 0!==e);i.useEffect(()=>{let e=t.current;if(e!==u){let t=u?"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=u},[u,r])}return[f,i.useCallback(t=>{if(u){let n="function"==typeof t?t(e):t;n!==e&&s.current?.(n)}else a(t)},[u,e,a,s])]}Symbol("RADIX:SYNC_STATE")},98801:(e,t,n)=>{n.d(t,{Z:()=>s});var r=n(7002),i=n(40007),o=n(40941),l=n(3836),a=n(59173),s=r.forwardRef((e,t)=>{let{container:n,...s}=e,[u,f]=r.useState(!1);(0,l.N)(()=>f(!0),[]);let c=n||u&&globalThis?.document?.body;return c?i.createPortal((0,a.jsx)(o.sG.div,{...s,ref:t}),c):null});s.displayName="Portal"}}]);
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.