1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5510],{25510:function(t,e,n){let r;n.d(e,{ee:function(){return t3},Eh:function(){return t8},VY:function(){return t7},fC:function(){return t5},D7:function(){return tB}});var i=n(2265);let o=["top","right","bottom","left"],l=Math.min,a=Math.max,f=Math.round,u=Math.floor,c=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 y(t){let e=t[0];return"t"===e||"b"===e?"y":"x"}function v(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}let w=["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 S(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 L(t,e,n){let r,{reference:i,floating:o}=t,l=y(e),a=m(y(e)),f=g(a),u=p(e),c="y"===l,s=i.x+i.width/2-o.width/2,d=i.y+i.height/2-o.height/2,v=i[f]/2-o[f]/2;switch(u){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]-=v*(n&&c?-1:1);break;case"end":r[a]+=v*(n&&c?-1:1)}return r}async function C(t,e){var n;void 0===e&&(e={});let{x:r,y:i,platform:o,rects:l,elements:a,strategy:f}=t,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:s="floating",altBoundary:p=!1,padding:h=0}=d(e,t),m=O(h),g=a[p?"floating"===s?"reference":"floating":s],y=S(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:c,strategy:f})),v="floating"===s?{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)),x=await (null==o.isElement?void 0:o.isElement(w))&&await (null==o.getScale?void 0:o.getScale(w))||{x:1,y:1},b=S(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:w,strategy:f}):v);return{top:(y.top-b.top+m.top)/x.y,bottom:(b.bottom-y.bottom+m.bottom)/x.y,left:(y.left-b.left+m.left)/x.x,right:(b.right-y.right+m.right)/x.x}}let E=async(t,e,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,a=l.detectOverflow?l:{...l,detectOverflow:C},f=await (null==l.isRTL?void 0:l.isRTL(e)),u=await l.getElementRects({reference:t,floating:e,strategy:i}),{x:c,y:s}=L(u,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:y}=m,{x:v,y:w,data:x,reset:b}=await y({x:c,y:s,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:u,platform:a,elements:{reference:t,floating:e}});c=null!=v?v:c,s=null!=w?w:s,h[g]={...h[g],...x},b&&p<50&&(p++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(u=!0===b.rects?await l.getElementRects({reference:t,floating:e,strategy:i}):b.rects),{x:c,y:s}=L(u,d,f)),n=-1)}return{x:c,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 k=new Set(["left","top"]);async function D(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"===y(n),u=k.has(l)?-1:1,c=o&&f?-1:1,s=d(e,t),{mainAxis:m,crossAxis:g,alignmentAxis:v}="number"==typeof s?{mainAxis:s,crossAxis:0,alignmentAxis:null}:{mainAxis:s.mainAxis||0,crossAxis:s.crossAxis||0,alignmentAxis:s.alignmentAxis};return a&&"number"==typeof v&&(g="end"===a?-1*v:v),f?{x:g*c,y:m*u}:{x:m*u,y:g*c}}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 z(t){return!!H()&&(t instanceof HTMLElement||t instanceof F(t).HTMLElement)}function N(t){return!!H()&&"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof F(t).ShadowRoot)}function B(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||N(t)&&t.host||M(t);return N(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:z(n)&&B(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||[],B(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=z(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(!z(e))return c(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=c(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=c(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):c(0),u=(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;u*=t.x,s*=t.y,d*=t.x,p*=t.y,u+=o,s+=l,i=Z(n=F(i))}}return S({width:d,height:p,x:u,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 u=tl(r);if(u<=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 u<=25&&(o+=u);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=z(t)?tn(t):c(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 S(r)}function tu(t){return"static"===J(t).position}function tc(t,e){if(!z(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(!z(t)){let e=Q(t);for(;e&&!G(e);){if(V(e)&&!tu(e))return e;e=Q(e)}return r}let i=tc(t,e);for(;i&&(n=i,/^(table|td|th)$/.test(W(n)))&&tu(i);)i=tc(i,e);return i&&G(i)&&tu(i)&&!X(i)?r:i||function(t){let e=Q(t);for(;z(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=z(e),i=M(e),o="fixed"===n,l=to(t,!0,o,e),a={scrollLeft:0,scrollTop:0},f=c(0);if(r||!r&&!o){if(("body"!==W(e)||B(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 u=!i||r||o?c(0):ta(i,a);return{x:l.left+a.scrollLeft-f.x-u.x,y:l.top+a.scrollTop-f.y-u.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},u=c(1),s=c(0),d=z(r);if((d||!d&&!o)&&(("body"!==W(r)||B(l))&&(f=K(r)),d)){let t=to(r);u=tn(r),s.x=t.x+r.clientLeft,s.y=t.y+r.clientTop}let p=!l||d||o?c(0):ta(l,f);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-f.scrollLeft*u.x+s.x+p.x,y:n.y*u.y-f.scrollTop*u.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)||B(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),u=f.top,c=f.right,s=f.bottom,d=f.left;for(let t=1;t<o.length;t++){let n=tf(e,o[t],i);u=a(n.top,u),c=l(n.right,c),s=l(n.bottom,s),d=a(n.left,d)}return{width:c-d,height:s-u,x:d,y:u}},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:u,middlewareData:c}=e,{element:s,padding:p=0}=d(t,e)||{};if(null==s)return{};let v=O(p),w={x:n,y:r},x=m(y(i)),b=g(x),R=await f.getDimensions(s),A="y"===x,S=A?"clientHeight":"clientWidth",L=o.reference[b]+o.reference[x]-w[x]-o.floating[b],C=w[x]-o.reference[x],E=await (null==f.getOffsetParent?void 0:f.getOffsetParent(s)),T=E?E[S]:0;T&&await (null==f.isElement?void 0:f.isElement(E))||(T=u.floating[S]||o.floating[b]);let P=T/2-R[b]/2-1,k=l(v[A?"top":"left"],P),D=l(v[A?"bottom":"right"],P),H=T-R[b]-D,W=T/2-R[b]/2+(L/2-C/2),F=a(k,l(W,H)),M=!c.arrow&&null!=h(i)&&W!==F&&o.reference[b]/2-(W<k?k:D)-R[b]/2<0,j=M?W<k?W-k:W-H:0;return{[x]:w[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 E(t,e,{...i,platform:o})};var ty=n(54887),tv="undefined"!=typeof document?i.useLayoutEffect:function(){};function tw(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(!tw(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)&&!tw(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 tv(()=>{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 D(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]}},tS=(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:u=!1,limiter:c={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),v=y(p(i)),w=m(v),x=h[w],b=h[v];if(f){let t="y"===w?"top":"left",e="y"===w?"bottom":"right",n=x+g[t],r=x-g[e];x=a(n,l(x,r))}if(u){let t="y"===v?"top":"left",e="y"===v?"bottom":"right",n=b+g[t],r=b-g[e];b=a(n,l(b,r))}let R=c.fn({...t,[w]:x,[v]:b});return{...R,data:{x:R.x-e,y:R.y-r,enabled:{[w]:f,[v]:u}}}}});return{name:r.name,fn:r.fn,options:[t,e]}},tL=(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:u=!0}=d(n,t),c={x:e,y:r},s=y(i),h=m(s),g=c[h],v=c[s],w=d(a,t),x="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};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(u){var b,R;let t="y"===h?"width":"height",e=k.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);v<n?v=n:v>r&&(v=r)}return{[h]:g,[s]:v}}}).fn,options:[t,e]}},tC=(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:u,initialPlacement:c,platform:s,elements:O}=t,{mainAxis:S=!0,crossAxis:L=!0,fallbackPlacements:C,fallbackStrategy:E="bestFit",fallbackAxisSideDirection:T="none",flipAlignment:P=!0,...k}=d(n,t);if(null!=(e=f.arrow)&&e.alignmentOffset)return{};let D=p(a),H=y(c),W=p(c)===c,F=await (null==s.isRTL?void 0:s.isRTL(O.floating)),M=C||(W||!P?[A(c)]:function(t){let e=A(t);return[v(t),e,v(e)]}(c)),j="none"!==T;!C&&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:w;return e?w: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(v)))),o}(c,P,T,F));let V=[c,...M],z=await s.detectOverflow(t,k),N=[],B=(null==(r=f.flip)?void 0:r.overflows)||[];if(S&&N.push(z[D]),L){let t=function(t,e,n){void 0===n&&(n=!1);let r=h(t),i=m(y(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,u,F);N.push(z[t[0]],z[t[1]])}if(B=[...B,{placement:a,overflows:N}],!N.every(t=>t<=0)){let t=((null==(i=f.flip)?void 0:i.index)||0)+1,e=V[t];if(e&&(!("alignment"===L&&H!==y(e))||B.every(t=>y(t.placement)!==H||t.overflows[0]>0)))return{data:{index:t,overflows:B},reset:{placement:e}};let n=null==(o=B.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:o.placement;if(!n)switch(E){case"bestFit":{let t=null==(l=B.filter(t=>{if(j){let e=y(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=c}if(a!==n)return{reset:{placement:n}}}return{}}});return{name:r.name,fn:r.fn,options:[t,e]}},tE=(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:u,platform:c,elements:s}=t,{apply:m=()=>{},...g}=d(n,t),v=await c.detectOverflow(t,g),w=p(f),x=h(f),b="y"===y(f),{width:R,height:A}=u.floating;"top"===w||"bottom"===w?(i=w,o=x===(await (null==c.isRTL?void 0:c.isRTL(s.floating))?"start":"end")?"left":"right"):(o=w,i="end"===x?"top":"bottom");let O=A-v.top-v.bottom,S=R-v.left-v.right,L=l(A-v[i],O),C=l(R-v[o],S),E=!t.middlewareData.shift,T=L,P=C;if(null!=(e=t.middlewareData.shift)&&e.enabled.x&&(P=S),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(T=O),E&&!x){let t=a(v.left,0),e=a(v.right,0),n=a(v.top,0),r=a(v.bottom,0);b?P=R-2*(0!==t||0!==e?t+e:a(v.left,v.right)):T=A-2*(0!==n||0!==r?n+r:a(v.top,v.bottom))}await m({...t,availableWidth:P,availableHeight:T});let k=await c.getDimensions(s.floating);return R!==k.width||A!==k.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 tk=n(18676),tD=n(57437),tH=i.forwardRef((t,e)=>{let{children:n,width:r=10,height:i=5,...o}=t;return(0,tD.jsx)(tk.WV.svg,{...o,ref:e,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?n:(0,tD.jsx)("polygon",{points:"0,0 30,0 15,10"})})});tH.displayName="Arrow";var tW=n(1584),tF=n(98324),tM=n(75137),tj=n(1336),tV=n(75238),tz="Popper",[tN,tB]=(0,tF.b)(tz),[t_,tY]=tN(tz),tI=t=>{let{__scopePopper:e,children:n}=t,[r,o]=i.useState(null);return(0,tD.jsx)(t_,{scope:e,anchor:r,onAnchorChange:o,children:n})};tI.displayName=tz;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),u=i.useRef(null);return i.useEffect(()=>{let t=u.current;u.current=(null==r?void 0:r.current)||a.current,t!==u.current&&l.onAnchorChange(u.current)}),r?null:(0,tD.jsx)(tk.WV.div,{...o,ref:f})});tX.displayName=t$;var tq="PopperContent",[tG,tJ]=tN(tq),tK=i.forwardRef((t,e)=>{var n,r,o,f,c,s,d,p;let{__scopePopper:h,side:m="bottom",sideOffset:g=0,align:y="center",alignOffset:v=0,arrowPadding:w=0,avoidCollisions:x=!0,collisionBoundary:b=[],collisionPadding:R=0,sticky:A="partial",hideWhenDetached:O=!1,updatePositionStrategy:S="optimized",onPlaced:L,...C}=t,E=tY(tq,h),[T,P]=i.useState(null),k=(0,tW.e)(e,t=>P(t)),[D,H]=i.useState(null),W=(0,tV.t)(D),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},z=Array.isArray(b)?b:[b],N=z.length>0,B={padding:V,boundary:z.filter(t0),altBoundary:N},{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:u,open:c}=t,[s,d]=i.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[p,h]=i.useState(r);tw(p,r)||h(r);let[m,g]=i.useState(null),[y,v]=i.useState(null),w=i.useCallback(t=>{t!==A.current&&(A.current=t,g(t))},[]),x=i.useCallback(t=>{t!==O.current&&(O.current=t,v(t))},[]),b=l||m,R=a||y,A=i.useRef(null),O=i.useRef(null),S=i.useRef(s),L=null!=u,C=tR(u),E=tR(o),T=tR(c),P=i.useCallback(()=>
1{if(!A.current||!O.current)return;let t={placement:e,strategy:n,middleware:p};E.current&&(t.platform=E.current),tg(A.current,O.current,t).then(t=>{let e={...t,isPositioned:!1!==T.current};k.current&&!tw(S.current,e)&&(S.current=e,ty.flushSync(()=>{d(e)}))})},[p,e,n,E,T]);tv(()=>{!1===c&&S.current.isPositioned&&(S.current.isPositioned=!1,d(t=>({...t,isPositioned:!1})))},[c]);let k=i.useRef(!1);tv(()=>(k.current=!0,()=>{k.current=!1}),[]),tv(()=>{if(b&&(A.current=b),R&&(O.current=R),b&&R){if(C.current)return C.current(b,R,P);P()}},[b,R,P,C,L]);let D=i.useMemo(()=>({reference:A,floating:O,setReference:w,setFloating:x}),[w,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:D,elements:H,floatingStyles:W}),[s,P,D,H,W])}({strategy:"fixed",placement:m+("center"!==y?"-"+y:""),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:c="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(c,s){void 0===c&&(c=!1),void 0===s&&(s=1),o();let d=t.getBoundingClientRect(),{left:p,top:h,width:m,height:g}=d;if(c||e(),!m||!g)return;let y=u(h),v=u(i.clientWidth-(p+m)),w={rootMargin:-y+"px "+-v+"px "+-u(i.clientHeight-(h+g))+"px "+-u(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,{...w,root:i.ownerDocument})}catch(t){r=new IntersectionObserver(b,w)}r.observe(t)}(!0),o}(p,n):null,g=-1,y=null;c&&(y=new ResizeObserver(t=>{let[r]=t;r&&r.target===p&&y&&e&&(y.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var t;null==(t=y)||t.observe(e)})),n()}),p&&!d&&y.observe(p),e&&y.observe(e));let v=d?to(t):null;return d&&function e(){let r=to(t);v&&!th(v,r)&&n(),v=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=y)||t.disconnect(),y=null,d&&cancelAnimationFrame(i)}}(...e,{animationFrame:"always"===S})},elements:{reference:E.anchor},middleware:[tO({mainAxis:g+j,alignmentAxis:v}),x&&tS({mainAxis:!0,crossAxis:!1,limiter:"partial"===A?tL():void 0,...B}),x&&tC({...B}),tE({...B,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"))}}),D&&tP({element:D,padding:w}),t1({arrowWidth:F,arrowHeight:j}),O&&tT({strategy:"referenceHidden",...B})]}),[q,G]=t2(I),J=(0,tM.W)(L);(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,tD.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===(c=X.transformOrigin)||void 0===c?void 0:c.y].join(" "),...(null===(s=X.hide)||void 0===s?void 0:s.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:(0,tD.jsx)(tG,{scope:h,placedSide:q,onArrowChange:H,arrowX:K,arrowY:Q,shouldHideArrow:Z,children:(0,tD.jsx)(tk.WV.div,{"data-side":q,"data-align":G,...C,ref:k,style:{...C.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,tD.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,tD.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:u}=e,c=(null===(n=u.arrow)||void 0===n?void 0:n.centerOffset)!==0,s=c?0:t.arrowWidth,d=c?0:t.arrowHeight,[p,h]=t2(a),m={start:"0%",center:"50%",end:"100%"}[h],g=(null!==(o=null===(r=u.arrow)||void 0===r?void 0:r.x)&&void 0!==o?o:0)+s/2,y=(null!==(l=null===(i=u.arrow)||void 0===i?void 0:i.y)&&void 0!==l?l:0)+d/2,v="",w="";return"bottom"===p?(v=c?m:"".concat(g,"px"),w="".concat(-d,"px")):"top"===p?(v=c?m:"".concat(g,"px"),w="".concat(f.floating.height+d,"px")):"right"===p?(v="".concat(-d,"px"),w=c?m:"".concat(y,"px")):"left"===p&&(v="".concat(f.floating.width+d,"px"),w=c?m:"".concat(y,"px")),{data:{x:v,y:w}}}});function t2(t){let[e,n="center"]=t.split("-");return[e,n]}var t5=tI,t3=tX,t7=tK,t8=tZ},75238:function(t,e,n){n.d(e,{t:function(){return o}});var r=n(2265),i=n(1336);function o(t){let[e,n]=r.useState(void 0);return(0,i.b)(()=>{if(t){n({width:t.offsetWidth,height:t.offsetHeight});let e=new ResizeObserver(e=>{let r,i;if(!Array.isArray(e)||!e.length)return;let o=e[0];if("borderBoxSize"in o){let t=o.borderBoxSize,e=Array.isArray(t)?t[0]:t;r=e.inlineSize,i=e.blockSize}else r=t.offsetWidth,i=t.offsetHeight;n({width:r,height:i})});return e.observe(t,{box:"border-box"}),()=>e.unobserve(t)}n(void 0)},[t]),e}}}]);
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.