1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1774],{71774:function(t,e,n){let r;n.d(e,{ee:function(){return t7},Eh:function(){return t4},VY:function(){return t3},fC:function(){return t5},D7:function(){return tz}});var i=n(2265);let o=["top","right","bottom","left"],l=Math.min,a=Math.max,f=Math.round,c=Math.floor,u=t=>({x:t,y:t}),s={left:"right",right:"left",bottom:"top",top:"bottom"};function d(t,e){return"function"==typeof t?t(e):t}function p(t){return t.split("-")[0]}function h(t){return t.split("-")[1]}function m(t){return"x"===t?"y":"x"}function g(t){return"y"===t?"height":"width"}function w(t){let e=t[0];return"t"===e||"b"===e?"y":"x"}function y(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}let v=["left","right"],x=["right","left"],b=["top","bottom"],R=["bottom","top"];function A(t){let e=p(t);return s[e]+t.slice(e.length)}function O(t){return"number"!=typeof t?{top:0,right:0,bottom:0,left:0,...t}:{top:t,right:t,bottom:t,left:t}}function L(t){let{x:e,y:n,width:r,height:i}=t;return{width:r,height:i,top:n,left:e,right:e+r,bottom:n+i,x:e,y:n}}function C(t,e,n){let r,{reference:i,floating:o}=t,l=w(e),a=m(w(e)),f=g(a),c=p(e),u="y"===l,s=i.x+i.width/2-o.width/2,d=i.y+i.height/2-o.height/2,y=i[f]/2-o[f]/2;switch(c){case"top":r={x:s,y:i.y-o.height};break;case"bottom":r={x:s,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(e)){case"start":r[a]-=y*(n&&u?-1:1);break;case"end":r[a]+=y*(n&&u?-1:1)}return r}async function E(t,e){var n;void 0===e&&(e={});let{x:r,y:i,platform:o,rects:l,elements:a,strategy:f}=t,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:s="floating",altBoundary:p=!1,padding:h=0}=d(e,t),m=O(h),g=a[p?"floating"===s?"reference":"floating":s],w=L(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:c,rootBoundary:u,strategy:f})),y="floating"===s?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,v=await (null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),x=await (null==o.isElement?void 0:o.isElement(v))&&await (null==o.getScale?void 0:o.getScale(v))||{x:1,y:1},b=L(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:v,strategy:f}):y);return{top:(w.top-b.top+m.top)/x.y,bottom:(b.bottom-w.bottom+m.bottom)/x.y,left:(w.left-b.left+m.left)/x.x,right:(b.right-w.right+m.right)/x.x}}let S=async(t,e,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,a=l.detectOverflow?l:{...l,detectOverflow:E},f=await (null==l.isRTL?void 0:l.isRTL(e)),c=await l.getElementRects({reference:t,floating:e,strategy:i}),{x:u,y:s}=C(c,r,f),d=r,p=0,h={};for(let n=0;n<o.length;n++){let m=o[n];if(!m)continue;let{name:g,fn:w}=m,{x:y,y:v,data:x,reset:b}=await w({x:u,y:s,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:e}});u=null!=y?y:u,s=null!=v?v:s,h[g]={...h[g],...x},b&&p<50&&(p++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(c=!0===b.rects?await l.getElementRects({reference:t,floating:e,strategy:i}):b.rects),{x:u,y:s}=C(c,d,f)),n=-1)}return{x:u,y:s,placement:d,strategy:i,middlewareData:h}};function T(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function P(t){return o.some(e=>t[e]>=0)}let D=new Set(["left","top"]);async function k(t,e){let{placement:n,platform:r,elements:i}=t,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=p(n),a=h(n),f="y"===w(n),c=D.has(l)?-1:1,u=o&&f?-1:1,s=d(e,t),{mainAxis:m,crossAxis:g,alignmentAxis:y}="number"==typeof s?{mainAxis:s,crossAxis:0,alignmentAxis:null}:{mainAxis:s.mainAxis||0,crossAxis:s.crossAxis||0,alignmentAxis:s.alignmentAxis};return a&&"number"==typeof y&&(g="end"===a?-1*y:y),f?{x:g*u,y:m*c}:{x:m*c,y:g*u}}function H(){return"undefined"!=typeof window}function W(t){return j(t)?(t.nodeName||"").toLowerCase():"#document"}function F(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function M(t){var e;return null==(e=(j(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function j(t){return!!H()&&(t instanceof Node||t instanceof F(t).Node)}function V(t){return!!H()&&(t instanceof Element||t instanceof F(t).Element)}function N(t){return!!H()&&(t instanceof HTMLElement||t instanceof F(t).HTMLElement)}function B(t){return!!H()&&"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof F(t).ShadowRoot)}function z(t){let{overflow:e,overflowX:n,overflowY:r,display:i}=J(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&"inline"!==i&&"contents"!==i}function _(t){try{if(t.matches(":popover-open"))return!0}catch(t){}try{return t.matches(":modal")}catch(t){return!1}}let Y=/transform|translate|scale|rotate|perspective|filter/,I=/paint|layout|strict|content/,$=t=>!!t&&"none"!==t;function X(t){let e=V(t)?J(t):t;return $(e.transform)||$(e.translate)||$(e.scale)||$(e.rotate)||$(e.perspective)||!q()&&($(e.backdropFilter)||$(e.filter))||Y.test(e.willChange||"")||I.test(e.contain||"")}function q(){return null==r&&(r="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),r}function G(t){return/^(html|body|#document)$/.test(W(t))}function J(t){return F(t).getComputedStyle(t)}function K(t){return V(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Q(t){if("html"===W(t))return t;let e=t.assignedSlot||t.parentNode||B(t)&&t.host||M(t);return B(e)?e.host:e}function U(t,e,n){var r;void 0===e&&(e=[]),void 0===n&&(n=!0);let i=function t(e){let n=Q(e);return G(n)?e.ownerDocument?e.ownerDocument.body:e.body:N(n)&&z(n)?n:t(n)}(t),o=i===(null==(r=t.ownerDocument)?void 0:r.body),l=F(i);if(!o)return e.concat(i,U(i,[],n));{let t=Z(l);
1return e.concat(l,l.visualViewport||[],z(i)?i:[],t&&n?U(t):[])}}function Z(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function tt(t){let e=J(t),n=parseFloat(e.width)||0,r=parseFloat(e.height)||0,i=N(t),o=i?t.offsetWidth:n,l=i?t.offsetHeight:r,a=f(n)!==o||f(r)!==l;return a&&(n=o,r=l),{width:n,height:r,$:a}}function te(t){return V(t)?t:t.contextElement}function tn(t){let e=te(t);if(!N(e))return u(1);let n=e.getBoundingClientRect(),{width:r,height:i,$:o}=tt(e),l=(o?f(n.width):n.width)/r,a=(o?f(n.height):n.height)/i;return l&&Number.isFinite(l)||(l=1),a&&Number.isFinite(a)||(a=1),{x:l,y:a}}let tr=u(0);function ti(t){let e=F(t);return q()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:tr}function to(t,e,n,r){var i;void 0===e&&(e=!1),void 0===n&&(n=!1);let o=t.getBoundingClientRect(),l=te(t),a=u(1);e&&(r?V(r)&&(a=tn(r)):a=tn(t));let f=(void 0===(i=n)&&(i=!1),r&&(!i||r===F(l))&&i)?ti(l):u(0),c=(o.left+f.x)/a.x,s=(o.top+f.y)/a.y,d=o.width/a.x,p=o.height/a.y;if(l){let t=F(l),e=r&&V(r)?F(r):r,n=t,i=Z(n);for(;i&&r&&e!==n;){let t=tn(i),e=i.getBoundingClientRect(),r=J(i),o=e.left+(i.clientLeft+parseFloat(r.paddingLeft))*t.x,l=e.top+(i.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,s*=t.y,d*=t.x,p*=t.y,c+=o,s+=l,i=Z(n=F(i))}}return L({width:d,height:p,x:c,y:s})}function tl(t,e){let n=K(t).scrollLeft;return e?e.left+n:to(M(t)).left+n}function ta(t,e){let n=t.getBoundingClientRect();return{x:n.left+e.scrollLeft-tl(t,n),y:n.top+e.scrollTop}}function tf(t,e,n){let r;if("viewport"===e)r=function(t,e){let n=F(t),r=M(t),i=n.visualViewport,o=r.clientWidth,l=r.clientHeight,a=0,f=0;if(i){o=i.width,l=i.height;let t=q();(!t||t&&"fixed"===e)&&(a=i.offsetLeft,f=i.offsetTop)}let c=tl(r);if(c<=0){let t=r.ownerDocument,e=t.body,n=getComputedStyle(e),i="CSS1Compat"===t.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,l=Math.abs(r.clientWidth-e.clientWidth-i);l<=25&&(o-=l)}else c<=25&&(o+=c);return{width:o,height:l,x:a,y:f}}(t,n);else if("document"===e)r=function(t){let e=M(t),n=K(t),r=t.ownerDocument.body,i=a(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),o=a(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight),l=-n.scrollLeft+tl(t),f=-n.scrollTop;return"rtl"===J(r).direction&&(l+=a(e.clientWidth,r.clientWidth)-i),{width:i,height:o,x:l,y:f}}(M(t));else if(V(e))r=function(t,e){let n=to(t,!0,"fixed"===e),r=n.top+t.clientTop,i=n.left+t.clientLeft,o=N(t)?tn(t):u(1),l=t.clientWidth*o.x;return{width:l,height:t.clientHeight*o.y,x:i*o.x,y:r*o.y}}(e,n);else{let n=ti(t);r={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return L(r)}function tc(t){return"static"===J(t).position}function tu(t,e){if(!N(t)||"fixed"===J(t).position)return null;if(e)return e(t);let n=t.offsetParent;return M(t)===n&&(n=n.ownerDocument.body),n}function ts(t,e){var n;let r=F(t);if(_(t))return r;if(!N(t)){let e=Q(t);for(;e&&!G(e);){if(V(e)&&!tc(e))return e;e=Q(e)}return r}let i=tu(t,e);for(;i&&(n=i,/^(table|td|th)$/.test(W(n)))&&tc(i);)i=tu(i,e);return i&&G(i)&&tc(i)&&!X(i)?r:i||function(t){let e=Q(t);for(;N(e)&&!G(e);){if(X(e))return e;if(_(e))break;e=Q(e)}return null}(t)||r}let td=async function(t){let e=this.getOffsetParent||ts,n=this.getDimensions,r=await n(t.floating);return{reference:function(t,e,n){let r=N(e),i=M(e),o="fixed"===n,l=to(t,!0,o,e),a={scrollLeft:0,scrollTop:0},f=u(0);if(r||!r&&!o){if(("body"!==W(e)||z(i))&&(a=K(e)),r){let t=to(e,!0,o,e);f.x=t.x+e.clientLeft,f.y=t.y+e.clientTop}else i&&(f.x=tl(i))}o&&!r&&i&&(f.x=tl(i));let c=!i||r||o?u(0):ta(i,a);return{x:l.left+a.scrollLeft-f.x-c.x,y:l.top+a.scrollTop-f.y-c.y,width:l.width,height:l.height}}(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},tp={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:r,strategy:i}=t,o="fixed"===i,l=M(r),a=!!e&&_(e.floating);if(r===l||a&&o)return n;let f={scrollLeft:0,scrollTop:0},c=u(1),s=u(0),d=N(r);if((d||!d&&!o)&&(("body"!==W(r)||z(l))&&(f=K(r)),d)){let t=to(r);c=tn(r),s.x=t.x+r.clientLeft,s.y=t.y+r.clientTop}let p=!l||d||o?u(0):ta(l,f);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-f.scrollLeft*c.x+s.x+p.x,y:n.y*c.y-f.scrollTop*c.y+s.y+p.y}},getDocumentElement:M,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:r,strategy:i}=t,o=[..."clippingAncestors"===n?_(e)?[]:function(t,e){let n=e.get(t);if(n)return n;let r=U(t,[],!1).filter(t=>V(t)&&"body"!==W(t)),i=null,o="fixed"===J(t).position,l=o?Q(t):t;for(;V(l)&&!G(l);){let e=J(l),n=X(l);n||"fixed"!==e.position||(i=null),(o?n||i:!(!n&&"static"===e.position&&i&&("absolute"===i.position||"fixed"===i.position)||z(l)&&!n&&function t(e,n){let r=Q(e);return!(r===n||!V(r)||G(r))&&("fixed"===J(r).position||t(r,n))}(t,l)))?i=e:r=r.filter(t=>t!==l),l=Q(l)}return e.set(t,r),r}(e,this._c):[].concat(n),r],f=tf(e,o[0],i),c=f.top,u=f.right,s=f.bottom,d=f.left;for(let t=1;t<o.length;t++){let n=tf(e,o[t],i);c=a(n.top,c),u=l(n.right,u),s=l(n.bottom,s),d=a(n.left,d)}return{width:u-d,height:s-c,x:d,y:c}},getOffsetParent:ts,getElementRects:td,getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){let{width:e,height:n}=tt(t);return{width:e,height:n}},getScale:tn,isElement:V,isRTL:function(t){return"rtl"===J(t).direction}};function th(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}let tm=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:r,placement:i,rects:o,platform:f,elements:c,middlewareData:u}=e,{element:s,padding:p=0}=d(t,e)||{};if(null==s)return{};let y=O(p),v={x:n,y:r},x=m(w(i)),b=g(x),R=await f.getDimensions(s),A="y"===x,L=A?"clientHeight":"clientWidth",C=o.reference[b]+o.reference[x]-v[x]-o.floating[b],E=v[x]-o.reference[x],S=await (null==f.getOffsetParent?void 0:f.getOffsetParent(s)),T=S?S[L]:0;T&&await (null==f.isElement?void 0:f.isElement(S))||(T=c.floating[L]||o.floating[b]);let P=T/2-R[b]/2-1,D=l(y[A?"top":"left"],P),k=l(y[A?"bottom":"right"],P),H=T-R[b]-k,W=T/2-R[b]/2+(C/2-E/2),F=a(D,l(W,H)),M=!u.arrow&&null!=h(i)&&W!==F&&o.reference[b]/2-(W<D?D:k)-R[b]/2<0,j=M?W<D?W-D:W-H:0;return{[x]:v[x]+j,data:{[x]:F,centerOffset:W-F-j,...M&&{alignmentOffset:j}},reset:M}}}),tg=(t,e,n)=>{let r=new Map,i={platform:tp,...n},o={...i.platform,_c:r};return S(t,e,{...i,platform:o})};var tw=n(54887),ty="undefined"!=typeof document?i.useLayoutEffect:function(){};function tv(t,e){let n,r,i;if(t===e)return!0;
1if(typeof t!=typeof e)return!1;if("function"==typeof t&&t.toString()===e.toString())return!0;if(t&&e&&"object"==typeof t){if(Array.isArray(t)){if((n=t.length)!==e.length)return!1;for(r=n;0!=r--;)if(!tv(t[r],e[r]))return!1;return!0}if((n=(i=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(e,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!t.$$typeof)&&!tv(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}function tx(t){return"undefined"==typeof window?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function tb(t,e){let n=tx(t);return Math.round(e*n)/n}function tR(t){let e=i.useRef(t);return ty(()=>{e.current=t}),e}let tA=t=>({name:"arrow",options:t,fn(e){let{element:n,padding:r}="function"==typeof t?t(e):t;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?tm({element:n.current,padding:r}).fn(e):{}:n?tm({element:n,padding:r}).fn(e):{}}}),tO=(t,e)=>{var n;let r=(void 0===(n=t)&&(n=0),{name:"offset",options:n,async fn(t){var e,r;let{x:i,y:o,placement:l,middlewareData:a}=t,f=await k(t,n);return l===(null==(e=a.offset)?void 0:e.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:i+f.x,y:o+f.y,data:{...f,placement:l}}}});return{name:r.name,fn:r.fn,options:[t,e]}},tL=(t,e)=>{var n;let r=(void 0===(n=t)&&(n={}),{name:"shift",options:n,async fn(t){let{x:e,y:r,placement:i,platform:o}=t,{mainAxis:f=!0,crossAxis:c=!1,limiter:u={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...s}=d(n,t),h={x:e,y:r},g=await o.detectOverflow(t,s),y=w(p(i)),v=m(y),x=h[v],b=h[y];if(f){let t="y"===v?"top":"left",e="y"===v?"bottom":"right",n=x+g[t],r=x-g[e];x=a(n,l(x,r))}if(c){let t="y"===y?"top":"left",e="y"===y?"bottom":"right",n=b+g[t],r=b-g[e];b=a(n,l(b,r))}let R=u.fn({...t,[v]:x,[y]:b});return{...R,data:{x:R.x-e,y:R.y-r,enabled:{[v]:f,[y]:c}}}}});return{name:r.name,fn:r.fn,options:[t,e]}},tC=(t,e)=>{var n;return{fn:(void 0===(n=t)&&(n={}),{options:n,fn(t){let{x:e,y:r,placement:i,rects:o,middlewareData:l}=t,{offset:a=0,mainAxis:f=!0,crossAxis:c=!0}=d(n,t),u={x:e,y:r},s=w(i),h=m(s),g=u[h],y=u[s],v=d(a,t),x="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(f){let t="y"===h?"height":"width",e=o.reference[h]-o.floating[t]+x.mainAxis,n=o.reference[h]+o.reference[t]-x.mainAxis;g<e?g=e:g>n&&(g=n)}if(c){var b,R;let t="y"===h?"width":"height",e=D.has(p(i)),n=o.reference[s]-o.floating[t]+(e&&(null==(b=l.offset)?void 0:b[s])||0)+(e?0:x.crossAxis),r=o.reference[s]+o.reference[t]+(e?0:(null==(R=l.offset)?void 0:R[s])||0)-(e?x.crossAxis:0);y<n?y=n:y>r&&(y=r)}return{[h]:g,[s]:y}}}).fn,options:[t,e]}},tE=(t,e)=>{var n;let r=(void 0===(n=t)&&(n={}),{name:"flip",options:n,async fn(t){var e,r,i,o,l;
1let{placement:a,middlewareData:f,rects:c,initialPlacement:u,platform:s,elements:O}=t,{mainAxis:L=!0,crossAxis:C=!0,fallbackPlacements:E,fallbackStrategy:S="bestFit",fallbackAxisSideDirection:T="none",flipAlignment:P=!0,...D}=d(n,t);if(null!=(e=f.arrow)&&e.alignmentOffset)return{};let k=p(a),H=w(u),W=p(u)===u,F=await (null==s.isRTL?void 0:s.isRTL(O.floating)),M=E||(W||!P?[A(u)]:function(t){let e=A(t);return[y(t),e,y(e)]}(u)),j="none"!==T;!E&&j&&M.push(...function(t,e,n,r){let i=h(t),o=function(t,e,n){switch(t){case"top":case"bottom":if(n)return e?x:v;return e?v:x;case"left":case"right":return e?b:R;default:return[]}}(p(t),"start"===n,r);return i&&(o=o.map(t=>t+"-"+i),e&&(o=o.concat(o.map(y)))),o}(u,P,T,F));let V=[u,...M],N=await s.detectOverflow(t,D),B=[],z=(null==(r=f.flip)?void 0:r.overflows)||[];if(L&&B.push(N[k]),C){let t=function(t,e,n){void 0===n&&(n=!1);let r=h(t),i=m(w(t)),o=g(i),l="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[o]>e.floating[o]&&(l=A(l)),[l,A(l)]}(a,c,F);B.push(N[t[0]],N[t[1]])}if(z=[...z,{placement:a,overflows:B}],!B.every(t=>t<=0)){let t=((null==(i=f.flip)?void 0:i.index)||0)+1,e=V[t];if(e&&(!("alignment"===C&&H!==w(e))||z.every(t=>w(t.placement)!==H||t.overflows[0]>0)))return{data:{index:t,overflows:z},reset:{placement:e}};let n=null==(o=z.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:o.placement;if(!n)switch(S){case"bestFit":{let t=null==(l=z.filter(t=>{if(j){let e=w(t.placement);return e===H||"y"===e}return!0}).map(t=>[t.placement,t.overflows.filter(t=>t>0).reduce((t,e)=>t+e,0)]).sort((t,e)=>t[1]-e[1])[0])?void 0:l[0];t&&(n=t);break}case"initialPlacement":n=u}if(a!==n)return{reset:{placement:n}}}return{}}});return{name:r.name,fn:r.fn,options:[t,e]}},tS=(t,e)=>{var n;let r=(void 0===(n=t)&&(n={}),{name:"size",options:n,async fn(t){var e,r;let i,o;let{placement:f,rects:c,platform:u,elements:s}=t,{apply:m=()=>{},...g}=d(n,t),y=await u.detectOverflow(t,g),v=p(f),x=h(f),b="y"===w(f),{width:R,height:A}=c.floating;"top"===v||"bottom"===v?(i=v,o=x===(await (null==u.isRTL?void 0:u.isRTL(s.floating))?"start":"end")?"left":"right"):(o=v,i="end"===x?"top":"bottom");let O=A-y.top-y.bottom,L=R-y.left-y.right,C=l(A-y[i],O),E=l(R-y[o],L),S=!t.middlewareData.shift,T=C,P=E;if(null!=(e=t.middlewareData.shift)&&e.enabled.x&&(P=L),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(T=O),S&&!x){let t=a(y.left,0),e=a(y.right,0),n=a(y.top,0),r=a(y.bottom,0);b?P=R-2*(0!==t||0!==e?t+e:a(y.left,y.right)):T=A-2*(0!==n||0!==r?n+r:a(y.top,y.bottom))}await m({...t,availableWidth:P,availableHeight:T});let D=await u.getDimensions(s.floating);return R!==D.width||A!==D.height?{reset:{rects:!0}}:{}}});return{name:r.name,fn:r.fn,options:[t,e]}},tT=(t,e)=>{var n;let r=(void 0===(n=t)&&(n={}),{name:"hide",options:n,async fn(t){let{rects:e,platform:r}=t,{strategy:i="referenceHidden",...o}=d(n,t);switch(i){case"referenceHidden":{let n=T(await r.detectOverflow(t,{...o,elementContext:"reference"}),e.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:P(n)}}}case"escaped":{let n=T(await r.detectOverflow(t,{...o,altBoundary:!0}),e.floating);return{data:{escapedOffsets:n,escaped:P(n)}}}default:return{}}}});return{name:r.name,fn:r.fn,options:[t,e]}},tP=(t,e)=>{let n=tA(t);return{name:n.name,fn:n.fn,options:[t,e]}};var tD=n(259),tk=n(57437),tH=i.forwardRef((t,e)=>{let{children:n,width:r=10,height:i=5,...o}=t;return(0,tk.jsx)(tD.WV.svg,{...o,ref:e,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?n:(0,tk.jsx)("polygon",{points:"0,0 30,0 15,10"})})});tH.displayName="Arrow";var tW=n(91307),tF=n(52539),tM=n(20137),tj=n(45046),tV=n(49373),tN="Popper",[tB,tz]=(0,tF.b)(tN),[t_,tY]=tB(tN),tI=t=>{let{__scopePopper:e,children:n}=t,[r,o]=i.useState(null);return(0,tk.jsx)(t_,{scope:e,anchor:r,onAnchorChange:o,children:n})};tI.displayName=tN;var t$="PopperAnchor",tX=i.forwardRef((t,e)=>{let{__scopePopper:n,virtualRef:r,...o}=t,l=tY(t$,n),a=i.useRef(null),f=(0,tW.e)(e,a),c=i.useRef(null);return i.useEffect(()=>{let t=c.current;c.current=(null==r?void 0:r.current)||a.current,t!==c.current&&l.onAnchorChange(c.current)}),r?null:(0,tk.jsx)(tD.WV.div,{...o,ref:f})});tX.displayName=t$;var tq="PopperContent",[tG,tJ]=tB(tq),tK=i.forwardRef((t,e)=>{var n,r,o,f,u,s,d,p;let{__scopePopper:h,side:m="bottom",sideOffset:g=0,align:w="center",alignOffset:y=0,arrowPadding:v=0,avoidCollisions:x=!0,collisionBoundary:b=[],collisionPadding:R=0,sticky:A="partial",hideWhenDetached:O=!1,updatePositionStrategy:L="optimized",onPlaced:C,...E}=t,S=tY(tq,h),[T,P]=i.useState(null),D=(0,tW.e)(e,t=>P(t)),[k,H]=i.useState(null),W=(0,tV.t)(k),F=null!==(d=null==W?void 0:W.width)&&void 0!==d?d:0,j=null!==(p=null==W?void 0:W.height)&&void 0!==p?p:0,V="number"==typeof R?R:{top:0,right:0,bottom:0,left:0,...R},N=Array.isArray(b)?b:[b],B=N.length>0,z={padding:V,boundary:N.filter(t0),altBoundary:B},{refs:_,floatingStyles:Y,placement:I,isPositioned:$,middlewareData:X}=function(t){void 0===t&&(t={});let{placement:e="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:l,floating:a}={},transform:f=!0,whileElementsMounted:c,open:u}=t,[s,d]=i.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[p,h]=i.useState(r);tv(p,r)||h(r);let[m,g]=i.useState(null),[w,y]=i.useState(null),v=i.useCallback(t=>{t!==A.current&&(A.current=t,g(t))},[]),x=i.useCallback(t=>{t!==O.current&&(O.current=t,y(t))},[]),b=l||m,R=a||w,A=i.useRef(null),O=i.useRef(null),L=i.useRef(s),C=null!=c,E=tR(c),S=tR(o),T=tR(u),P=i.useCallback(()=>
1{if(!A.current||!O.current)return;let t={placement:e,strategy:n,middleware:p};S.current&&(t.platform=S.current),tg(A.current,O.current,t).then(t=>{let e={...t,isPositioned:!1!==T.current};D.current&&!tv(L.current,e)&&(L.current=e,tw.flushSync(()=>{d(e)}))})},[p,e,n,S,T]);ty(()=>{!1===u&&L.current.isPositioned&&(L.current.isPositioned=!1,d(t=>({...t,isPositioned:!1})))},[u]);let D=i.useRef(!1);ty(()=>(D.current=!0,()=>{D.current=!1}),[]),ty(()=>{if(b&&(A.current=b),R&&(O.current=R),b&&R){if(E.current)return E.current(b,R,P);P()}},[b,R,P,E,C]);let k=i.useMemo(()=>({reference:A,floating:O,setReference:v,setFloating:x}),[v,x]),H=i.useMemo(()=>({reference:b,floating:R}),[b,R]),W=i.useMemo(()=>{let t={position:n,left:0,top:0};if(!H.floating)return t;let e=tb(H.floating,s.x),r=tb(H.floating,s.y);return f?{...t,transform:"translate("+e+"px, "+r+"px)",...tx(H.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:e,top:r}},[n,f,H.floating,s.x,s.y]);return i.useMemo(()=>({...s,update:P,refs:k,elements:H,floatingStyles:W}),[s,P,k,H,W])}({strategy:"fixed",placement:m+("center"!==w?"-"+w:""),whileElementsMounted:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t,e,n,r){let i;void 0===r&&(r={});let{ancestorScroll:o=!0,ancestorResize:f=!0,elementResize:u="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,p=te(t),h=o||f?[...p?U(p):[],...e?U(e):[]]:[];h.forEach(t=>{o&&t.addEventListener("scroll",n,{passive:!0}),f&&t.addEventListener("resize",n)});let m=p&&s?function(t,e){let n,r=null,i=M(t);function o(){var t;clearTimeout(n),null==(t=r)||t.disconnect(),r=null}return!function f(u,s){void 0===u&&(u=!1),void 0===s&&(s=1),o();let d=t.getBoundingClientRect(),{left:p,top:h,width:m,height:g}=d;if(u||e(),!m||!g)return;let w=c(h),y=c(i.clientWidth-(p+m)),v={rootMargin:-w+"px "+-y+"px "+-c(i.clientHeight-(h+g))+"px "+-c(p)+"px",threshold:a(0,l(1,s))||1},x=!0;function b(e){let r=e[0].intersectionRatio;if(r!==s){if(!x)return f();r?f(!1,r):n=setTimeout(()=>{f(!1,1e-7)},1e3)}1!==r||th(d,t.getBoundingClientRect())||f(),x=!1}try{r=new IntersectionObserver(b,{...v,root:i.ownerDocument})}catch(t){r=new IntersectionObserver(b,v)}r.observe(t)}(!0),o}(p,n):null,g=-1,w=null;u&&(w=new ResizeObserver(t=>{let[r]=t;r&&r.target===p&&w&&e&&(w.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var t;null==(t=w)||t.observe(e)})),n()}),p&&!d&&w.observe(p),e&&w.observe(e));let y=d?to(t):null;return d&&function e(){let r=to(t);y&&!th(y,r)&&n(),y=r,i=requestAnimationFrame(e)}(),n(),()=>{var t;h.forEach(t=>{o&&t.removeEventListener("scroll",n),f&&t.removeEventListener("resize",n)}),null==m||m(),null==(t=w)||t.disconnect(),w=null,d&&cancelAnimationFrame(i)}}(...e,{animationFrame:"always"===L})},elements:{reference:S.anchor},middleware:[tO({mainAxis:g+j,alignmentAxis:y}),x&&tL({mainAxis:!0,crossAxis:!1,limiter:"partial"===A?tC():void 0,...z}),x&&tE({...z}),tS({...z,apply:t=>{let{elements:e,rects:n,availableWidth:r,availableHeight:i}=t,{width:o,height:l}=n.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width","".concat(r,"px")),a.setProperty("--radix-popper-available-height","".concat(i,"px")),a.setProperty("--radix-popper-anchor-width","".concat(o,"px")),a.setProperty("--radix-popper-anchor-height","".concat(l,"px"))}}),k&&tP({element:k,padding:v}),t1({arrowWidth:F,arrowHeight:j}),O&&tT({strategy:"referenceHidden",...z})]}),[q,G]=t2(I),J=(0,tM.W)(C);(0,tj.b)(()=>{$&&(null==J||J())},[$,J]);let K=null===(n=X.arrow)||void 0===n?void 0:n.x,Q=null===(r=X.arrow)||void 0===r?void 0:r.y,Z=(null===(o=X.arrow)||void 0===o?void 0:o.centerOffset)!==0,[tt,tn]=i.useState();return(0,tj.b)(()=>{T&&tn(window.getComputedStyle(T).zIndex)},[T]),(0,tk.jsx)("div",{ref:_.setFloating,"data-radix-popper-content-wrapper":"",style:{...Y,transform:$?Y.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:tt,"--radix-popper-transform-origin":[null===(f=X.transformOrigin)||void 0===f?void 0:f.x,null===(u=X.transformOrigin)||void 0===u?void 0:u.y].join(" "),...(null===(s=X.hide)||void 0===s?void 0:s.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:(0,tk.jsx)(tG,{scope:h,placedSide:q,onArrowChange:H,arrowX:K,arrowY:Q,shouldHideArrow:Z,children:(0,tk.jsx)(tD.WV.div,{"data-side":q,"data-align":G,...E,ref:D,style:{...E.style,animation:$?void 0:"none"}})})})});tK.displayName=tq;var tQ="PopperArrow",tU={top:"bottom",right:"left",bottom:"top",left:"r
1ight"},tZ=i.forwardRef(function(t,e){let{__scopePopper:n,...r}=t,i=tJ(tQ,n),o=tU[i.placedSide];return(0,tk.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,tk.jsx)(tH,{...r,ref:e,style:{...r.style,display:"block"}})})});function t0(t){return null!==t}tZ.displayName=tQ;var t1=t=>({name:"transformOrigin",options:t,fn(e){var n,r,i,o,l;let{placement:a,rects:f,middlewareData:c}=e,u=(null===(n=c.arrow)||void 0===n?void 0:n.centerOffset)!==0,s=u?0:t.arrowWidth,d=u?0:t.arrowHeight,[p,h]=t2(a),m={start:"0%",center:"50%",end:"100%"}[h],g=(null!==(o=null===(r=c.arrow)||void 0===r?void 0:r.x)&&void 0!==o?o:0)+s/2,w=(null!==(l=null===(i=c.arrow)||void 0===i?void 0:i.y)&&void 0!==l?l:0)+d/2,y="",v="";return"bottom"===p?(y=u?m:"".concat(g,"px"),v="".concat(-d,"px")):"top"===p?(y=u?m:"".concat(g,"px"),v="".concat(f.floating.height+d,"px")):"right"===p?(y="".concat(-d,"px"),v=u?m:"".concat(w,"px")):"left"===p&&(y="".concat(f.floating.width+d,"px"),v=u?m:"".concat(w,"px")),{data:{x:y,y:v}}}});function t2(t){let[e,n="center"]=t.split("-");return[e,n]}var t5=tI,t7=tX,t3=tK,t4=tZ}}]);
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.