1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[802],{30964:(e,t,n)=>{n.r(t),n.d(t,{default:()=>l});var r=n(25558),o=n(14568),i=n(89796),l=(0,o.forwardRef)(({href:e="#",external:t=!(e.startsWith("/")||e.startsWith("#")||e.startsWith(".")),prefetch:n,...o},l)=>t?(0,i.jsx)("a",{ref:l,href:e,rel:"noreferrer noopener",target:"_blank",...o,children:o.children}):(0,i.jsx)(r.N_,{ref:l,href:e,prefetch:n,...o}));l.displayName="Link",n(87619)},57115:(e,t,n)=>{n.d(t,{UC:()=>tN,iN:()=>tT,ZL:()=>tF,bL:()=>tk,l9:()=>tD});var r=n(14568),o=n(87144),i=n(11801),l=n(61091),a=n(70164),s=n(46956),u=n(10619),f=n(78906);let c=["top","right","bottom","left"],d=Math.min,p=Math.max,h=Math.round,g=Math.floor,m=e=>({x:e,y:e}),v={left:"right",right:"left",bottom:"top",top:"bottom"},y={start:"end",end:"start"};function w(e,t){return"function"==typeof e?e(t):e}function x(e){return e.split("-")[0]}function b(e){return e.split("-")[1]}function R(e){return"x"===e?"y":"x"}function A(e){return"y"===e?"height":"width"}let C=new Set(["top","bottom"]);function P(e){return C.has(x(e))?"y":"x"}function O(e){return e.replace(/start|end/g,e=>y[e])}let S=["left","right"],E=["right","left"],L=["top","bottom"],T=["bottom","top"];function j(e){return e.replace(/left|right|bottom|top/g,e=>v[e])}function k(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function D(e){let{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function F(e,t,n){let r,{reference:o,floating:i}=e,l=P(t),a=R(P(t)),s=A(a),u=x(t),f="y"===l,c=o.x+o.width/2-i.width/2,d=o.y+o.height/2-i.height/2,p=o[s]/2-i[s]/2;switch(u){case"top":r={x:c,y:o.y-i.height};break;case"bottom":r={x:c,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:d};break;case"left":r={x:o.x-i.width,y:d};break;default:r={x:o.x,y:o.y}}switch(b(t)){case"start":r[a]-=p*(n&&f?-1:1);break;case"end":r[a]+=p*(n&&f?-1:1)}return r}let N=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:l}=n,a=i.filter(Boolean),s=await (null==l.isRTL?void 0:l.isRTL(t)),u=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:c}=F(u,r,s),d=r,p={},h=0;for(let n=0;n<a.length;n++){let{name:i,fn:g}=a[n],{x:m,y:v,data:y,reset:w}=await g({x:f,y:c,initialPlacement:r,placement:d,strategy:o,middlewareData:p,rects:u,platform:l,elements:{reference:e,floating:t}});f=null!=m?m:f,c=null!=v?v:c,p={...p,[i]:{...p[i],...y}},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:o}):w.rects),{x:f,y:c}=F(u,d,s)),n=-1)}return{x:f,y:c,placement:d,strategy:o,middlewareData:p}};async function H(e,t){var n;void 0===t&&(t={});let{x:r,y:o,platform:i,rects:l,elements:a,strategy:s}=e,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:c="floating",altBoundary:d=!1,padding:p=0}=w(t,e),h=k(p),g=a[d?"floating"===c?"reference":"floating":c],m=D(await i.getClippingRect({element:null==(n=await (null==i.isElement?void 0:i.isElement(g)))||n?g:g.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:u,rootBoundary:f,strategy:s})),v="floating"===c?{x:r,y:o,width:l.floating.width,height:l.floating.height}:l.reference,y=await (null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),x=await (null==i.isElement?void 0:i.isElement(y))&&await (null==i.getScale?void 0:i.getScale(y))||{x:1,y:1},b=D(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:y,strategy:s}):v);return{top:(m.top-b.top+h.top)/x.y,bottom:(b.bottom-m.bottom+h.bottom)/x.y,left:(m.left-b.left+h.left)/x.x,right:(b.right-m.right+h.right)/x.x}}function W(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function M(e){return c.some(t=>e[t]>=0)}let _=new Set(["left","top"]);async function z(e,t){let{placement:n,platform:r,elements:o}=e,i=await (null==r.isRTL?void 0:r.isRTL(o.floating)),l=x(n),a=b(n),s="y"===P(n),u=_.has(l)?-1:1,f=i&&s?-1:1,c=w(t,e),{mainAxis:d,crossAxis:p,alignmentAxis:h}="number"==typeof c?{mainAxis:c,crossAxis:0,alignmentAxis:null}
1:{mainAxis:c.mainAxis||0,crossAxis:c.crossAxis||0,alignmentAxis:c.alignmentAxis};return a&&"number"==typeof h&&(p="end"===a?-1*h:h),s?{x:p*f,y:d*u}:{x:d*u,y:p*f}}function B(){return"undefined"!=typeof window}function I(e){return G(e)?(e.nodeName||"").toLowerCase():"#document"}function V(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function K(e){var t;return null==(t=(G(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function G(e){return!!B()&&(e instanceof Node||e instanceof V(e).Node)}function Y(e){return!!B()&&(e instanceof Element||e instanceof V(e).Element)}function q(e){return!!B()&&(e instanceof HTMLElement||e instanceof V(e).HTMLElement)}function X(e){return!!B()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof V(e).ShadowRoot)}let Z=new Set(["inline","contents"]);function $(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=ea(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Z.has(o)}let U=new Set(["table","td","th"]),J=[":popover-open",":modal"];function Q(e){return J.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let ee=["transform","translate","scale","rotate","perspective"],et=["transform","translate","scale","rotate","perspective","filter"],en=["paint","layout","strict","content"];function er(e){let t=eo(),n=Y(e)?ea(e):e;return ee.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||et.some(e=>(n.willChange||"").includes(e))||en.some(e=>(n.contain||"").includes(e))}function eo(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let ei=new Set(["html","body","#document"]);function el(e){return ei.has(I(e))}function ea(e){return V(e).getComputedStyle(e)}function es(e){return Y(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function eu(e){if("html"===I(e))return e;let t=e.assignedSlot||e.parentNode||X(e)&&e.host||K(e);return X(t)?t.host:t}function ef(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let o=function e(t){let n=eu(t);return el(n)?t.ownerDocument?t.ownerDocument.body:t.body:q(n)&&$(n)?n:e(n)}(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),l=V(o);if(i){let e=ec(l);return t.concat(l,l.visualViewport||[],$(o)?o:[],e&&n?ef(e):[])}return t.concat(o,ef(o,[],n))}function ec(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ed(e){let t=ea(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=q(e),i=o?e.offsetWidth:n,l=o?e.offsetHeight:r,a=h(n)!==i||h(r)!==l;return a&&(n=i,r=l),{width:n,height:r,$:a}}function ep(e){return Y(e)?e:e.contextElement}function eh(e){let t=ep(e);if(!q(t))return m(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:i}=ed(t),l=(i?h(n.width):n.width)/r,a=(i?h(n.height):n.height)/o;return l&&Number.isFinite(l)||(l=1),a&&Number.isFinite(a)||(a=1),{x:l,y:a}}let eg=m(0);function em(e){let t=V(e);return eo()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:eg}function ev(e,t,n,r){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let i=e.getBoundingClientRect(),l=ep(e),a=m(1);t&&(r?Y(r)&&(a=eh(r)):a=eh(e));let s=(void 0===(o=n)&&(o=!1),r&&(!o||r===V(l))&&o)?em(l):m(0),u=(i.left+s.x)/a.x,f=(i.top+s.y)/a.y,c=i.width/a.x,d=i.height/a.y;if(l){let e=V(l),t=r&&Y(r)?V(r):r,n=e,o=ec(n);for(;o&&r&&t!==n;){let e=eh(o),t=o.getBoundingClientRect(),r=ea(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;u*=e.x,f*=e.y,c*=e.x,d*=e.y,u+=i,f+=l,o=ec(n=V(o))}}return D({width:c,height:d,x:u,y:f})}function ey(e,t){let n=es(e).scrollLeft;return t?t.left+n:ev(K(e)).left+n}function ew(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-ey(e,n),y:n.top+t.scrollTop}}let ex=new Set(["absolute","fixed"]);function eb(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=V(e),r=K(e),o=n.visualViewport,i=r.clientWidth,l=r.clientHeight,a=0,s=0;if(o){i=o.width,l=o.height;let e=eo();
1(!e||e&&"fixed"===t)&&(a=o.offsetLeft,s=o.offsetTop)}let u=ey(r);if(u<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),o="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,l=Math.abs(r.clientWidth-t.clientWidth-o);l<=25&&(i-=l)}else u<=25&&(i+=u);return{width:i,height:l,x:a,y:s}}(e,n);else if("document"===t)r=function(e){let t=K(e),n=es(e),r=e.ownerDocument.body,o=p(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=p(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),l=-n.scrollLeft+ey(e),a=-n.scrollTop;return"rtl"===ea(r).direction&&(l+=p(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:l,y:a}}(K(e));else if(Y(t))r=function(e,t){let n=ev(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=q(e)?eh(e):m(1),l=e.clientWidth*i.x,a=e.clientHeight*i.y;return{width:l,height:a,x:o*i.x,y:r*i.y}}(t,n);else{let n=em(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return D(r)}function eR(e){return"static"===ea(e).position}function eA(e,t){if(!q(e)||"fixed"===ea(e).position)return null;if(t)return t(e);let n=e.offsetParent;return K(e)===n&&(n=n.ownerDocument.body),n}function eC(e,t){var n;let r=V(e);if(Q(e))return r;if(!q(e)){let t=eu(e);for(;t&&!el(t);){if(Y(t)&&!eR(t))return t;t=eu(t)}return r}let o=eA(e,t);for(;o&&(n=o,U.has(I(n)))&&eR(o);)o=eA(o,t);return o&&el(o)&&eR(o)&&!er(o)?r:o||function(e){let t=eu(e);for(;q(t)&&!el(t);){if(er(t))return t;if(Q(t))break;t=eu(t)}return null}(e)||r}let eP=async function(e){let t=this.getOffsetParent||eC,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=q(t),o=K(t),i="fixed"===n,l=ev(e,!0,i,t),a={scrollLeft:0,scrollTop:0},s=m(0);if(r||!r&&!i)if(("body"!==I(t)||$(o))&&(a=es(t)),r){let e=ev(t,!0,i,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&(s.x=ey(o));i&&!r&&o&&(s.x=ey(o));let u=!o||r||i?m(0):ew(o,a);return{x:l.left+a.scrollLeft-s.x-u.x,y:l.top+a.scrollTop-s.y-u.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}}},eO={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,i="fixed"===o,l=K(r),a=!!t&&Q(t.floating);if(r===l||a&&i)return n;let s={scrollLeft:0,scrollTop:0},u=m(1),f=m(0),c=q(r);if((c||!c&&!i)&&(("body"!==I(r)||$(l))&&(s=es(r)),q(r))){let e=ev(r);u=eh(r),f.x=e.x+r.clientLeft,f.y=e.y+r.clientTop}let d=!l||c||i?m(0):ew(l,s);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-s.scrollLeft*u.x+f.x+d.x,y:n.y*u.y-s.scrollTop*u.y+f.y+d.y}},getDocumentElement:K,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e,i=[..."clippingAncestors"===n?Q(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=ef(e,[],!1).filter(e=>Y(e)&&"body"!==I(e)),o=null,i="fixed"===ea(e).position,l=i?eu(e):e;for(;Y(l)&&!el(l);){let t=ea(l),n=er(l);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&!!o&&ex.has(o.position)||$(l)&&!n&&function e(t,n){let r=eu(t);return!(r===n||!Y(r)||el(r))&&("fixed"===ea(r).position||e(r,n))}(e,l))?r=r.filter(e=>e!==l):o=t,l=eu(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],l=i[0],a=i.reduce((e,n)=>{let r=eb(t,n,o);return e.top=p(r.top,e.top),e.right=d(r.right,e.right),e.bottom=d(r.bottom,e.bottom),e.left=p(r.left,e.left),e},eb(t,l,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:eC,getElementRects:eP,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=ed(e);return{width:t,height:n}},getScale:eh,isElement:Y,isRTL:function(e){return"rtl"===ea(e).direction}};function eS(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let eE=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:o,rects:i,platform:l,elements:a,middlewareData:s}=t,{element:u,padding:f=0}=w(e,t)||{};if(null==u)return{};let c=k(f),h={x:n,y:r},g=R(P(o)),m=A(g),v=await l.getDimensions(u),y="y"===g,x=y?"clientHeight":"clientWidth",C=i.reference[m]+i.reference[g]-h[g]-i.floating[m],O=h[g]-i.reference[g],S=await (null==l.getOffsetParent?void 0:l.getOffsetParent(u)),E=S?S[x]:0;E&&await (null==l.isElement?void 0:l.isElement(S))||(E=a.floating[x]||i.floating[m]);let L=E/2-v[m]/2-1,T=d(c[y?"top":"left"],L),j=d(c[y?"bottom":"right"],L),D=E-v[m]-j,F=E/2-v[m]/2+(C/2-O/2),N=p(T,d(F,D)),H=!s.arrow&&null!=b(o)&&F!==N&&i.reference[m]/2-(F<T?T:j)-v[m]/2<0,W=H?F<T?F-T:F-D:0;return{[g]:h[g]+W,data:{[g]:N,centerOffset:F-N-W,...H&&{alignmentOffset:W}},reset:H}}}),eL=(e,t,n)=>{let r=new Map,o={platform:eO,...n},i={...o.platform,_c:r};return N(e,t,{...o,platform:i})};var eT=n(77961),ej="undefined"!=typeof document?r.useLayoutEffect:function(){};function ek(e,t){let n,r,o;
1if(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(!ek(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)&&!ek(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eD(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eF(e,t){let n=eD(e);return Math.round(t*n)/n}function eN(e){let t=r.useRef(e);return ej(()=>{t.current=e}),t}let eH=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?eE({element:n.current,padding:r}).fn(t):{}:n?eE({element:n,padding:r}).fn(t):{}}}),eW=(e,t)=>({...function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:o,y:i,placement:l,middlewareData:a}=t,s=await z(t,e);return l===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:o+s.x,y:i+s.y,data:{...s,placement:l}}}}}(e),options:[e,t]}),eM=(e,t)=>({...function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:l=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...s}=w(e,t),u={x:n,y:r},f=await H(t,s),c=P(x(o)),h=R(c),g=u[h],m=u[c];if(i){let e="y"===h?"top":"left",t="y"===h?"bottom":"right",n=g+f[e],r=g-f[t];g=p(n,d(g,r))}if(l){let e="y"===c?"top":"left",t="y"===c?"bottom":"right",n=m+f[e],r=m-f[t];m=p(n,d(m,r))}let v=a.fn({...t,[h]:g,[c]:m});return{...v,data:{x:v.x-n,y:v.y-r,enabled:{[h]:i,[c]:l}}}}}}(e),options:[e,t]}),e_=(e,t)=>({...function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:o,rects:i,middlewareData:l}=t,{offset:a=0,mainAxis:s=!0,crossAxis:u=!0}=w(e,t),f={x:n,y:r},c=P(o),d=R(c),p=f[d],h=f[c],g=w(a,t),m="number"==typeof g?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(s){let e="y"===d?"height":"width",t=i.reference[d]-i.floating[e]+m.mainAxis,n=i.reference[d]+i.reference[e]-m.mainAxis;p<t?p=t:p>n&&(p=n)}if(u){var v,y;let e="y"===d?"width":"height",t=_.has(x(o)),n=i.reference[c]-i.floating[e]+(t&&(null==(v=l.offset)?void 0:v[c])||0)+(t?0:m.crossAxis),r=i.reference[c]+i.reference[e]+(t?0:(null==(y=l.offset)?void 0:y[c])||0)-(t?m.crossAxis:0);h<n?h=n:h>r&&(h=r)}return{[d]:p,[c]:h}}}}(e),options:[e,t]}),ez=(e,t)=>({...function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,o,i,l;let{placement:a,middlewareData:s,rects:u,initialPlacement:f,platform:c,elements:d}=t,{mainAxis:p=!0,crossAxis:h=!0,fallbackPlacements:g,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:y=!0,...C}=w(e,t);if(null!=(n=s.arrow)&&n.alignmentOffset)return{};let k=x(a),D=P(f),F=x(f)===f,N=await (null==c.isRTL?void 0:c.isRTL(d.floating)),W=g||(F||!y?[j(f)]:function(e){let t=j(e);return[O(e),t,O(t)]}(f)),M="none"!==v;!g&&M&&W.push(...function(e,t,n,r){let o=b(e),i=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?E:S;return t?S:E;case"left":case"right":return t?L:T;default:return[]}}(x(e),"start"===n,r);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(O)))),i}(f,y,v,N));let _=[f,...W],z=await H(t,C),B=[],I=(null==(r=s.flip)?void 0:r.overflows)||[];if(p&&B.push(z[k]),h){let e=function(e,t,n){void 0===n&&(n=!1);let r=b(e),o=R(P(e)),i=A(o),l="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=j(l)),[l,j(l)]}(a,u,N);B.push(z[e[0]],z[e[1]])}if(I=[...I,{placement:a,overflows:B}],!B.every(e=>e<=0)){let e=((null==(o=s.flip)?void 0:o.index)||0)+1,t=_[e];if(t&&("alignment"!==h||D===P(t)||I.every(e=>P(e.placement)!==D||e.overflows[0]>0)))return{data:{index:e,overflows:I},reset:{placement:t}};let n=null==(i=I.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!n)switch(m){case"bestFit":{let e=null==(l=I.filter(e=>{if(M){let t=P(e.placement);return t===D||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>
1e+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,t]}),eB=(e,t)=>({...function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;let o,i,{placement:l,rects:a,platform:s,elements:u}=t,{apply:f=()=>{},...c}=w(e,t),h=await H(t,c),g=x(l),m=b(l),v="y"===P(l),{width:y,height:R}=a.floating;"top"===g||"bottom"===g?(o=g,i=m===(await (null==s.isRTL?void 0:s.isRTL(u.floating))?"start":"end")?"left":"right"):(i=g,o="end"===m?"top":"bottom");let A=R-h.top-h.bottom,C=y-h.left-h.right,O=d(R-h[o],A),S=d(y-h[i],C),E=!t.middlewareData.shift,L=O,T=S;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(T=C),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(L=A),E&&!m){let e=p(h.left,0),t=p(h.right,0),n=p(h.top,0),r=p(h.bottom,0);v?T=y-2*(0!==e||0!==t?e+t:p(h.left,h.right)):L=R-2*(0!==n||0!==r?n+r:p(h.top,h.bottom))}await f({...t,availableWidth:T,availableHeight:L});let j=await s.getDimensions(u.floating);return y!==j.width||R!==j.height?{reset:{rects:!0}}:{}}}}(e),options:[e,t]}),eI=(e,t)=>({...function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n}=t,{strategy:r="referenceHidden",...o}=w(e,t);switch(r){case"referenceHidden":{let e=W(await H(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:M(e)}}}case"escaped":{let e=W(await H(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:M(e)}}}default:return{}}}}}(e),options:[e,t]}),eV=(e,t)=>({...eH(e),options:[e,t]});var eK=n(80045),eG=n(89796),eY=r.forwardRef((e,t)=>{let{children:n,width:r=10,height:o=5,...i}=e;return(0,eG.jsx)(eK.sG.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,eG.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eY.displayName="Arrow";var eq=n(93626),eX=n(50414),eZ="Popper",[e$,eU]=(0,l.A)(eZ),[eJ,eQ]=e$(eZ),e0=e=>{let{__scopePopper:t,children:n}=e,[o,i]=r.useState(null);return(0,eG.jsx)(eJ,{scope:t,anchor:o,onAnchorChange:i,children:n})};e0.displayName=eZ;var e1="PopperAnchor",e2=r.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:o,...l}=e,a=eQ(e1,n),s=r.useRef(null),u=(0,i.s)(t,s),f=r.useRef(null);return r.useEffect(()=>{let e=f.current;f.current=(null==o?void 0:o.current)||s.current,e!==f.current&&a.onAnchorChange(f.current)}),o?null:(0,eG.jsx)(eK.sG.div,{...l,ref:u})});e2.displayName=e1;var e5="PopperContent",[e6,e8]=e$(e5),e9=r.forwardRef((e,t)=>{var n,o,l,a,s,u,f,c;let{__scopePopper:h,side:m="bottom",sideOffset:v=0,align:y="center",alignOffset:w=0,arrowPadding:x=0,avoidCollisions:b=!0,collisionBoundary:R=[],collisionPadding:A=0,sticky:C="partial",hideWhenDetached:P=!1,updatePositionStrategy:O="optimized",onPlaced:S,...E}=e,L=eQ(e5,h),[T,j]=r.useState(null),k=(0,i.s)(t,e=>j(e)),[D,F]=r.useState(null),N=function(e){let[t,n]=r.useState(void 0);return(0,eX.N)(()=>{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}(D),H=null!=(f=null==N?void 0:N.width)?f:0,W=null!=(c=null==N?void 0:N.height)?c:0,M="number"==typeof A?A:{top:0,right:0,bottom:0,left:0,...A},_=Array.isArray(R)?R:[R],z=_.length>0,B={padding:M,boundary:_.filter(te),altBoundary:z},{refs:I,floatingStyles:V,placement:G,isPositioned:Y,middlewareData:q}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:o=[],platform:i,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(o);ek(p,o)||h(o);let[g,m]=r.useState(null),[v,y]=r.useState(null),w=r.useCallback(e=>{e!==A.current&&(A.current=e,m(e))},[]),x=r.useCallback(e=>{e!==C.current&&(C.current=e,y(e))},[]),b=l||g,R=a||v,A=r.useRef(null),C=r.useRef(null),P=r.useRef(c),O=null!=u,S=eN(u),E=eN(i),L=eN(f),T=r.useCallback(()=>
1{if(!A.current||!C.current)return;let e={placement:t,strategy:n,middleware:p};E.current&&(e.platform=E.current),eL(A.current,C.current,e).then(e=>{let t={...e,isPositioned:!1!==L.current};j.current&&!ek(P.current,t)&&(P.current=t,eT.flushSync(()=>{d(t)}))})},[p,t,n,E,L]);ej(()=>{!1===f&&P.current.isPositioned&&(P.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[f]);let j=r.useRef(!1);ej(()=>(j.current=!0,()=>{j.current=!1}),[]),ej(()=>{if(b&&(A.current=b),R&&(C.current=R),b&&R){if(S.current)return S.current(b,R,T);T()}},[b,R,T,S,O]);let k=r.useMemo(()=>({reference:A,floating:C,setReference:w,setFloating:x}),[w,x]),D=r.useMemo(()=>({reference:b,floating:R}),[b,R]),F=r.useMemo(()=>{let e={position:n,left:0,top:0};if(!D.floating)return e;let t=eF(D.floating,c.x),r=eF(D.floating,c.y);return s?{...e,transform:"translate("+t+"px, "+r+"px)",...eD(D.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,s,D.floating,c.x,c.y]);return r.useMemo(()=>({...c,update:T,refs:k,elements:D,floatingStyles:F}),[c,T,k,D,F])}({strategy:"fixed",placement:m+("center"!==y?"-"+y:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,t,n,r){let o;void 0===r&&(r={});let{ancestorScroll:i=!0,ancestorResize:l=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:u=!1}=r,f=ep(e),c=i||l?[...f?ef(f):[],...ef(t)]:[];c.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),l&&e.addEventListener("resize",n)});let h=f&&s?function(e,t){let n,r=null,o=K(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function l(a,s){void 0===a&&(a=!1),void 0===s&&(s=1),i();let u=e.getBoundingClientRect(),{left:f,top:c,width:h,height:m}=u;if(a||t(),!h||!m)return;let v=g(c),y=g(o.clientWidth-(f+h)),w={rootMargin:-v+"px "+-y+"px "+-g(o.clientHeight-(c+m))+"px "+-g(f)+"px",threshold:p(0,d(1,s))||1},x=!0;function b(t){let r=t[0].intersectionRatio;if(r!==s){if(!x)return l();r?l(!1,r):n=setTimeout(()=>{l(!1,1e-7)},1e3)}1!==r||eS(u,e.getBoundingClientRect())||l(),x=!1}try{r=new IntersectionObserver(b,{...w,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(b,w)}r.observe(e)}(!0),i}(f,n):null,m=-1,v=null;a&&(v=new ResizeObserver(e=>{let[r]=e;r&&r.target===f&&v&&(v.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var e;null==(e=v)||e.observe(t)})),n()}),f&&!u&&v.observe(f),v.observe(t));let y=u?ev(e):null;return u&&function t(){let r=ev(e);y&&!eS(y,r)&&n(),y=r,o=requestAnimationFrame(t)}(),n(),()=>{var e;c.forEach(e=>{i&&e.removeEventListener("scroll",n),l&&e.removeEventListener("resize",n)}),null==h||h(),null==(e=v)||e.disconnect(),v=null,u&&cancelAnimationFrame(o)}}(...t,{animationFrame:"always"===O})},elements:{reference:L.anchor},middleware:[eW({mainAxis:v+W,alignmentAxis:w}),b&&eM({mainAxis:!0,crossAxis:!1,limiter:"partial"===C?e_():void 0,...B}),b&&ez({...B}),eB({...B,apply:e=>{let{elements:t,rects:n,availableWidth:r,availableHeight:o}=e,{width:i,height:l}=n.reference,a=t.floating.style;a.setProperty("--radix-popper-available-width","".concat(r,"px")),a.setProperty("--radix-popper-available-height","".concat(o,"px")),a.setProperty("--radix-popper-anchor-width","".concat(i,"px")),a.setProperty("--radix-popper-anchor-height","".concat(l,"px"))}}),D&&eV({element:D,padding:x}),tt({arrowWidth:H,arrowHeight:W}),P&&eI({strategy:"referenceHidden",...B})]}),[X,Z]=tn(G),$=(0,eq.c)(S);(0,eX.N)(()=>{Y&&(null==$||$())},[Y,$]);let U=null==(n=q.arrow)?void 0:n.x,J=null==(o=q.arrow)?void 0:o.y,Q=(null==(l=q.arrow)?void 0:l.centerOffset)!==0,[ee,et]=r.useState();return(0,eX.N)(()=>{T&&et(window.getComputedStyle(T).zIndex)},[T]),(0,eG.jsx)("div",{ref:I.setFloating,"data-radix-popper-content-wrapper":"",style:{...V,transform:Y?V.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ee,"--radix-popper-transform-origin":[null==(a=q.transformOrigin)?void 0:a.x,null==(s=q.transformOrigin)?void 0:s.y].join(" "),...(null==(u=q.hide)?void 0:u.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eG.jsx)(e6,{scope:h,placedSide:X,onArrowChange:F,arrowX:U,arrowY:J,shouldHideArrow:Q,children:(0,eG.jsx)(eK.sG.div,{"data-side":X,"data-align":Z,...E,ref:k,style:{...E.style,animation:Y?void 0:"none"}})})})});e9.displayName=e5;var e4="PopperArrow",e7={top:"bottom",right:"left",bottom:"top",left:"r
1ight"},e3=r.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,o=e8(e4,n),i=e7[o.placedSide];return(0,eG.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,eG.jsx)(eY,{...r,ref:t,style:{...r.style,display:"block"}})})});function te(e){return null!==e}e3.displayName=e4;var tt=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,l;let{placement:a,rects:s,middlewareData:u}=t,f=(null==(n=u.arrow)?void 0:n.centerOffset)!==0,c=f?0:e.arrowWidth,d=f?0:e.arrowHeight,[p,h]=tn(a),g={start:"0%",center:"50%",end:"100%"}[h],m=(null!=(i=null==(r=u.arrow)?void 0:r.x)?i:0)+c/2,v=(null!=(l=null==(o=u.arrow)?void 0:o.y)?l:0)+d/2,y="",w="";return"bottom"===p?(y=f?g:"".concat(m,"px"),w="".concat(-d,"px")):"top"===p?(y=f?g:"".concat(m,"px"),w="".concat(s.floating.height+d,"px")):"right"===p?(y="".concat(-d,"px"),w=f?g:"".concat(v,"px")):"left"===p&&(y="".concat(s.floating.width+d,"px"),w=f?g:"".concat(v,"px")),{data:{x:y,y:w}}}});function tn(e){let[t,n="center"]=e.split("-");return[t,n]}var tr=n(15141),to=n(18003),ti=n(55609),tl=n(35878),ta=n(79016),ts=n(46808),tu="Popover",[tf,tc]=(0,l.A)(tu,[eU]),td=eU(),[tp,th]=tf(tu),tg=e=>{let{__scopePopover:t,children:n,open:o,defaultOpen:i,onOpenChange:l,modal:a=!1}=e,s=td(t),u=r.useRef(null),[c,d]=r.useState(!1),[p,h]=(0,tl.i)({prop:o,defaultProp:null!=i&&i,onChange:l,caller:tu});return(0,eG.jsx)(e0,{...s,children:(0,eG.jsx)(tp,{scope:t,contentId:(0,f.B)(),triggerRef:u,open:p,onOpenChange:h,onOpenToggle:r.useCallback(()=>h(e=>!e),[h]),hasCustomAnchor:c,onCustomAnchorAdd:r.useCallback(()=>d(!0),[]),onCustomAnchorRemove:r.useCallback(()=>d(!1),[]),modal:a,children:n})})};tg.displayName=tu;var tm="PopoverAnchor";r.forwardRef((e,t)=>{let{__scopePopover:n,...o}=e,i=th(tm,n),l=td(n),{onCustomAnchorAdd:a,onCustomAnchorRemove:s}=i;return r.useEffect(()=>(a(),()=>s()),[a,s]),(0,eG.jsx)(e2,{...l,...o,ref:t})}).displayName=tm;var tv="PopoverTrigger",ty=r.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,l=th(tv,n),a=td(n),s=(0,i.s)(t,l.triggerRef),u=(0,eG.jsx)(eK.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":l.open,"aria-controls":l.contentId,"data-state":tj(l.open),...r,ref:s,onClick:(0,o.mK)(e.onClick,l.onOpenToggle)});return l.hasCustomAnchor?u:(0,eG.jsx)(e2,{asChild:!0,...a,children:u})});ty.displayName=tv;var tw="PopoverPortal",[tx,tb]=tf(tw,{forceMount:void 0}),tR=e=>{let{__scopePopover:t,forceMount:n,children:r,container:o}=e,i=th(tw,t);return(0,eG.jsx)(tx,{scope:t,forceMount:n,children:(0,eG.jsx)(to.C,{present:n||i.open,children:(0,eG.jsx)(tr.Z,{asChild:!0,container:o,children:r})})})};tR.displayName=tw;var tA="PopoverContent",tC=r.forwardRef((e,t)=>{let n=tb(tA,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=th(tA,e.__scopePopover);return(0,eG.jsx)(to.C,{present:r||i.open,children:i.modal?(0,eG.jsx)(tO,{...o,ref:t}):(0,eG.jsx)(tS,{...o,ref:t})})});tC.displayName=tA;var tP=(0,ti.TL)("PopoverContent.RemoveScroll"),tO=r.forwardRef((e,t)=>{let n=th(tA,e.__scopePopover),l=r.useRef(null),a=(0,i.s)(t,l),s=r.useRef(!1);return r.useEffect(()=>{let e=l.current;if(e)return(0,ta.Eq)(e)},[]),(0,eG.jsx)(ts.A,{as:tP,allowPinchZoom:!0,children:(0,eG.jsx)(tE,{...e,ref:a,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.mK)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),s.current||null==(t=n.triggerRef.current)||t.focus()}),onPointerDownOutside:(0,o.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;s.current=2===t.button||n},{checkForDefaultPrevented:!1}),onFocusOutside:(0,o.mK)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),tS=r.forwardRef((e,t)=>{let n=th(tA,e.__scopePopover),o=r.useRef(!1),i=r.useRef(!1);return(0,eG.jsx)(tE,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var r,l;null==(r=e.onCloseAutoFocus)||r.call(e,t),t.defaultPrevented||(o.current||null==(l=n.triggerRef.current)||l.focus(),t.preventDefault()),o.current=!1,i.current=!1},onInteractOutside:t=>{var r,l;null==(r=e.onInteractOutside)||r.call(e,t),t.defaultPrevented||(o.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));let a=t.target;(null==(l=n.triggerRef.current)?void 0:l.contains(a))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),tE=r.forwardRef((e,t)=>
1{let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:l,onEscapeKeyDown:f,onPointerDownOutside:c,onFocusOutside:d,onInteractOutside:p,...h}=e,g=th(tA,n),m=td(n);return(0,s.Oh)(),(0,eG.jsx)(u.n,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i,children:(0,eG.jsx)(a.qW,{asChild:!0,disableOutsidePointerEvents:l,onInteractOutside:p,onEscapeKeyDown:f,onPointerDownOutside:c,onFocusOutside:d,onDismiss:()=>g.onOpenChange(!1),children:(0,eG.jsx)(e9,{"data-state":tj(g.open),role:"dialog",id:g.contentId,...m,...h,ref:t,style:{...h.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)"}})})})}),tL="PopoverClose",tT=r.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=th(tL,n);return(0,eG.jsx)(eK.sG.button,{type:"button",...r,ref:t,onClick:(0,o.mK)(e.onClick,()=>i.onOpenChange(!1))})});function tj(e){return e?"open":"closed"}tT.displayName=tL,r.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,o=td(n);return(0,eG.jsx)(e3,{...o,...r,ref:t})}).displayName="PopoverArrow";var tk=tg,tD=ty,tF=tR,tN=tC}}]);
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.