1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[16967],{16967:(t,e,n)=>{n.d(e,{BN:()=>h,ER:()=>m,Ej:()=>g,UE:()=>y,UU:()=>p,cY:()=>d,jD:()=>w,we:()=>s});var r=n(30644),i=n(2193),o=n(61396),l="u">typeof document?i.useLayoutEffect:function(){};function f(t,e){let n,r,i;if(t===e)return!0;if(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(!f(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)&&!f(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}function a(t){return"u"<typeof window?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function c(t,e){let n=a(t);return Math.round(e*n)/n}function u(t){let e=i.useRef(t);return l(()=>{e.current=t}),e}function s(t){void 0===t&&(t={});let{placement:e="bottom",strategy:n="absolute",middleware:s=[],platform:d,elements:{reference:h,floating:m}={},transform:p=!0,whileElementsMounted:g,open:w}=t,[y,x]=i.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[v,b]=i.useState(s);f(v,s)||b(s);let[R,E]=i.useState(null),[L,A]=i.useState(null),T=i.useCallback(t=>{t!==S.current&&(S.current=t,E(t))},[]),O=i.useCallback(t=>{t!==P.current&&(P.current=t,A(t))},[]),C=h||R,D=m||L,S=i.useRef(null),P=i.useRef(null),k=i.useRef(y),F=null!=g,H=u(g),M=u(d),W=u(w),j=i.useCallback(()=>{if(!S.current||!P.current)return;let t={placement:e,strategy:n,middleware:v};M.current&&(t.platform=M.current),(0,r.rD)(S.current,P.current,t).then(t=>{let e={...t,isPositioned:!1!==W.current};N.current&&!f(k.current,e)&&(k.current=e,o.flushSync(()=>{x(e)}))})},[v,e,n,M,W]);l(()=>{!1===w&&k.current.isPositioned&&(k.current.isPositioned=!1,x(t=>({...t,isPositioned:!1})))},[w]);let N=i.useRef(!1);l(()=>(N.current=!0,()=>{N.current=!1}),[]),l(()=>{if(C&&(S.current=C),D&&(P.current=D),C&&D){if(H.current)return H.current(C,D,j);j()}},[C,D,j,H,F]);let B=i.useMemo(()=>({reference:S,floating:P,setReference:T,setFloating:O}),[T,O]),U=i.useMemo(()=>({reference:C,floating:D}),[C,D]),V=i.useMemo(()=>{let t={position:n,left:0,top:0};if(!U.floating)return t;let e=c(U.floating,y.x),r=c(U.floating,y.y);return p?{...t,transform:"translate("+e+"px, "+r+"px)",...a(U.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:e,top:r}},[n,p,U.floating,y.x,y.y]);return i.useMemo(()=>({...y,update:j,refs:B,elements:U,floatingStyles:V}),[y,j,B,U,V])}let d=(t,e)=>{let n=(0,r.cY)(t);return{name:n.name,fn:n.fn,options:[t,e]}},h=(t,e)=>{let n=(0,r.BN)(t);return{name:n.name,fn:n.fn,options:[t,e]}},m=(t,e)=>({fn:(0,r.ER)(t).fn,options:[t,e]}),p=(t,e)=>{let n=(0,r.UU)(t);return{name:n.name,fn:n.fn,options:[t,e]}},g=(t,e)=>{let n=(0,r.Ej)(t);return{name:n.name,fn:n.fn,options:[t,e]}},w=(t,e)=>{let n=(0,r.jD)(t);return{name:n.name,fn:n.fn,options:[t,e]}},y=(t,e)=>{let n={name:"arrow",options:t,fn(e){let{element:n,padding:i}="function"==typeof t?t(e):t;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?(0,r.UE)({element:n.current,padding:i}).fn(e):{}:n?(0,r.UE)({element:n,padding:i}).fn(e):{}}};return{name:n.name,fn:n.fn,options:[t,e]}}},30644:(t,e,n)=>{let r;n.d(e,{UE:()=>tv,ll:()=>tm,rD:()=>tR,UU:()=>tw,jD:()=>tx,ER:()=>tb,cY:()=>tp,BN:()=>tg,Ej:()=>ty});let i=["top","right","bottom","left"],o=Math.min,l=Math.max,f=Math.round,a=Math.floor,c=t=>({x:t,y:t}),u={left:"right",right:"left",bottom:"top",top:"bottom"};function s(t,e){return"function"==typeof t?t(e):t}function d(t){return t.split("-")[0]}function h(t){return t.split("-")[1]}function m(t){return"x"===t?"y":"x"}function p(t){return"y"===t?"height":"width"}function g(t){let e=t[0];return"t"===e||"b"===e?"y":"x"}function w(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}let y=["left","right"],x=["right","left"],v=["top","bottom"],b=["bottom","top"];function R(t){let e=d(t);return u[e]+t.slice(e.length)}function E(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 A(t,e,n){let r,{reference:i,floating:o}=t,l=g(e),f=m(g(e)),a=p(f),c=d(e),u="y"===l,s=i.x+i.width/2-o.width/2,w=i.y+i.height/2-o.height/2,y=i[a]/2-o[a]/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:w};break;case"left":r={x:i.x-o.width,y:w};break;default:r={x:i.x,y:i.y}}switch(h(e)){case"start":r[f]-=y*(n&&u?-1:1);break;case"end":r[f]+=y*(n&&u?-1:1)}return r}async function T(t,e){var n;void 0===e&&(e={});let{x:r,y:i,platform:o,rects:l,elements:f,strategy:a}=t,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:h=!1,padding:m=0}=s(e,t),p=E(m),g=f[h?"floating"===d?"reference":"floating":d],w=L(await o.getClippingRect
1({element:null==(n=await (null==o.isElement?void 0:o.isElement(g)))||n?g:g.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(f.floating)),boundary:c,rootBoundary:u,strategy:a})),y="floating"===d?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,x=await (null==o.getOffsetParent?void 0:o.getOffsetParent(f.floating)),v=await (null==o.isElement?void 0:o.isElement(x))&&await (null==o.getScale?void 0:o.getScale(x))||{x:1,y:1},b=L(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:f,rect:y,offsetParent:x,strategy:a}):y);return{top:(w.top-b.top+p.top)/v.y,bottom:(b.bottom-w.bottom+p.bottom)/v.y,left:(w.left-b.left+p.left)/v.x,right:(b.right-w.right+p.right)/v.x}}let O=async(t,e,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,f=l.detectOverflow?l:{...l,detectOverflow:T},a=await (null==l.isRTL?void 0:l.isRTL(e)),c=await l.getElementRects({reference:t,floating:e,strategy:i}),{x:u,y:s}=A(c,r,a),d=r,h=0,m={};for(let n=0;n<o.length;n++){let p=o[n];if(!p)continue;let{name:g,fn:w}=p,{x:y,y:x,data:v,reset:b}=await w({x:u,y:s,initialPlacement:r,placement:d,strategy:i,middlewareData:m,rects:c,platform:f,elements:{reference:t,floating:e}});u=null!=y?y:u,s=null!=x?x:s,m[g]={...m[g],...v},b&&h<50&&(h++,"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}=A(c,d,a)),n=-1)}return{x:u,y:s,placement:d,strategy:i,middlewareData:m}};function C(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function D(t){return i.some(e=>t[e]>=0)}let S=new Set(["left","top"]);async function P(t,e){let{placement:n,platform:r,elements:i}=t,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=d(n),f=h(n),a="y"===g(n),c=S.has(l)?-1:1,u=o&&a?-1:1,m=s(e,t),{mainAxis:p,crossAxis:w,alignmentAxis:y}="number"==typeof m?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return f&&"number"==typeof y&&(w="end"===f?-1*y:y),a?{x:w*u,y:p*c}:{x:p*c,y:w*u}}function k(){return"u">typeof window}function F(t){return W(t)?(t.nodeName||"").toLowerCase():"#document"}function H(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function M(t){var e;return null==(e=(W(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function W(t){return!!k()&&(t instanceof Node||t instanceof H(t).Node)}function j(t){return!!k()&&(t instanceof Element||t instanceof H(t).Element)}function N(t){return!!k()&&(t instanceof HTMLElement||t instanceof H(t).HTMLElement)}function B(t){return!(!k()||"u"<typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof H(t).ShadowRoot)}function U(t){let{overflow:e,overflowX:n,overflowY:r,display:i}=X(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&"inline"!==i&&"contents"!==i}function V(t){try{if(t.matches(":popover-open"))return!0}catch(t){}try{return t.matches(":modal")}catch(t){return!1}}let _=/transform|translate|scale|rotate|perspective|filter/,z=/paint|layout|strict|content/,$=t=>!!t&&"none"!==t;function Y(t){let e=j(t)?X(t):t;return $(e.transform)||$(e.translate)||$(e.scale)||$(e.rotate)||$(e.perspective)||!I()&&($(e.backdropFilter)||$(e.filter))||_.test(e.willChange||"")||z.test(e.contain||"")}function I(){return null==r&&(r="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),r}function q(t){return/^(html|body|#document)$/.test(F(t))}function X(t){return H(t).getComputedStyle(t)}function G(t){return j(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function J(t){if("html"===F(t))return t;let e=t.assignedSlot||t.parentNode||B(t)&&t.host||M(t);return B(e)?e.host:e}function K(t,e,n){var r;void 0===e&&(e=[]),void 0===n&&(n=!0);let i=function t(e){let n=J(e);return q(n)?e.ownerDocument?e.ownerDocument.body:e.body:N(n)&&U(n)?n:t(n)}(t),o=i===(null==(r=t.ownerDocument)?void 0:r.body),l=H(i);if(!o)return e.concat(i,K(i,[],n));{let t=Q(l);
1return e.concat(l,l.visualViewport||[],U(i)?i:[],t&&n?K(t):[])}}function Q(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Z(t){let e=X(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 tt(t){return j(t)?t:t.contextElement}function te(t){let e=tt(t);if(!N(e))return c(1);let n=e.getBoundingClientRect(),{width:r,height:i,$:o}=Z(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 tn=c(0);function tr(t){let e=H(t);return I()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:tn}function ti(t,e,n,r){var i;void 0===e&&(e=!1),void 0===n&&(n=!1);let o=t.getBoundingClientRect(),l=tt(t),f=c(1);e&&(r?j(r)&&(f=te(r)):f=te(t));let a=(void 0===(i=n)&&(i=!1),r&&(!i||r===H(l))&&i)?tr(l):c(0),u=(o.left+a.x)/f.x,s=(o.top+a.y)/f.y,d=o.width/f.x,h=o.height/f.y;if(l){let t=H(l),e=r&&j(r)?H(r):r,n=t,i=Q(n);for(;i&&r&&e!==n;){let t=te(i),e=i.getBoundingClientRect(),r=X(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,h*=t.y,u+=o,s+=l,i=Q(n=H(i))}}return L({width:d,height:h,x:u,y:s})}function to(t,e){let n=G(t).scrollLeft;return e?e.left+n:ti(M(t)).left+n}function tl(t,e){let n=t.getBoundingClientRect();return{x:n.left+e.scrollLeft-to(t,n),y:n.top+e.scrollTop}}function tf(t,e,n){var r;let i;if("viewport"===e)i=function(t,e){let n=H(t),r=M(t),i=n.visualViewport,o=r.clientWidth,l=r.clientHeight,f=0,a=0;if(i){o=i.width,l=i.height;let t=I();(!t||t&&"fixed"===e)&&(f=i.offsetLeft,a=i.offsetTop)}let c=to(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:f,y:a}}(t,n);else if("document"===e){let e,n,o,f,a,c,u;r=M(t),e=M(r),n=G(r),o=r.ownerDocument.body,f=l(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),a=l(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight),c=-n.scrollLeft+to(r),u=-n.scrollTop,"rtl"===X(o).direction&&(c+=l(e.clientWidth,o.clientWidth)-f),i={width:f,height:a,x:c,y:u}}else if(j(e)){let t,r,o,l,f,a;r=(t=ti(e,!0,"fixed"===n)).top+e.clientTop,o=t.left+e.clientLeft,l=N(e)?te(e):c(1),f=e.clientWidth*l.x,a=e.clientHeight*l.y,i={width:f,height:a,x:o*l.x,y:r*l.y}}else{let n=tr(t);i={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return L(i)}function ta(t){return"static"===X(t).position}function tc(t,e){if(!N(t)||"fixed"===X(t).position)return null;if(e)return e(t);let n=t.offsetParent;return M(t)===n&&(n=n.ownerDocument.body),n}function tu(t,e){var n;let r=H(t);if(V(t))return r;if(!N(t)){let e=J(t);for(;e&&!q(e);){if(j(e)&&!ta(e))return e;e=J(e)}return r}let i=tc(t,e);for(;i&&(n=i,/^(table|td|th)$/.test(F(n)))&&ta(i);)i=tc(i,e);return i&&q(i)&&ta(i)&&!Y(i)?r:i||function(t){let e=J(t);for(;N(e)&&!q(e);){if(Y(e))return e;if(V(e))break;e=J(e)}return null}(t)||r}let ts=async function(t){let e=this.getOffsetParent||tu,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=ti(t,!0,o,e),f={scrollLeft:0,scrollTop:0},a=c(0);if(r||!r&&!o)if(("body"!==F(e)||U(i))&&(f=G(e)),r){let t=ti(e,!0,o,e);a.x=t.x+e.clientLeft,a.y=t.y+e.clientTop}else i&&(a.x=to(i));o&&!r&&i&&(a.x=to(i));let u=!i||r||o?c(0):tl(i,f);return{x:l.left+f.scrollLeft-a.x-u.x,y:l.top+f.scrollTop-a.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}}},td={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:r,strategy:i}=t,o="fixed"===i,l=M(r),f=!!e&&V(e.floating);if(r===l||f&&o)return n;let a={scrollLeft:0,scrollTop:0},u=c(1),s=c(0),d=N(r);if((d||!d&&!o)&&(("body"!==F(r)||U(l))&&(a=G(r)),d)){let t=ti(r);u=te(r),s.x=t.x+r.clientLeft,s.y=t.y+r.clientTop}let h=!l||d||o?c(0):tl(l,a);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-a.scrollLeft*u.x+s.x+h.x,y:n.y*u.y-a.scrollTop*u.y+s.y+h.y}},getDocumentElement:M,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:r,strategy:i}=t,f=[..."clippingAncestors"===n?V(e)?[]:function(t,e){let n=e.get(t);if(n)return n;let r=K(t,[],!1).filter(t=>j(t)&&"body"!==F(t)),i=null,o="fixed"===X(t).position,l=o?J(t):t;for(;j(l)&&!q(l);){let e=X(l),n=Y(l);n||"fixed"!==e.position||(i=null),(o?n||i:!(!n&&"static"===e.position&&i&&("absolute"===i.position||"fixed"===i.position)||U(l)&&!n&&function t(e,n){let r=J(e);return!(r===n||!j(r)||q(r))&&("fixed"===X(r).position||t(r,n))}(t,l)))?i=e:r=r.filter(t=>t!==l),l=J(l)}return e.set(t,r),r}(e,this._c):[].concat(n),r],a=tf(e,f[0],i),c=a.top,u=a.right,s=a.bottom,d=a.left;for(let t=1;t<f.length;t++){let n=tf(e,f[t],i);c=l(n.top,c),u=o(n.right,u),s=o(n.bottom,s),d=l(n.left,d)}return{width:u-d,height:s-c,x:d,y:c}},getOffsetParent:tu,getElementRects:ts,getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){let{width:e,height:n}=Z(t);return{width:e,height:n}},getScale:te,isElement:j,isRTL:function(t){return"rtl"===X(t).direction}};function th(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function tm(t,e,n,r){let i;void 0===r&&(r={});let{ancestorScroll:f=!0,ancestorResize:c=!0,elementResize:u="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,h=tt(t),m=f||c?[...h?K(h):[],...e?K(e):[]]:[];m.forEach(t=>{f&&t.addEventListener("scroll",n,{passive:!0}),c&&t.addEventListener("resize",n)});let p=h&&s?function(t,e){let n,r=null,i=M(t);function f(){var t;clearTimeout(n),null==(t=r)||t.disconnect(),r=null}return!function c(u,s){void 0===u&&(u=!1),void 0===s&&(s=1),f();let d=t.getBoundingClientRect(),{left:h,top:m,width:p,height:g}=d;if(u||e(),!p||!g)return;let w={rootMargin:-a(m)+"px "+-a(i.clientWidth-(h+p))+"px "+-a(i.clientHeight-(m+g))+"px "+-a(h)+"px",threshold:l(0,o(1,s))||1},y=!0;function x(e){let r=e[0].intersectionRatio;if(r!==s){if(!y)return c();r?c(!1,r):n=setTimeout(()=>{c(!1,1e-7)},1e3)}1!==r||th(d,t.getBoundingClientRect())||c(),y=!1}try{r=new IntersectionObserver(x,{...w,root:i.ownerDocument})}catch(t){r=new IntersectionObserver(x,w)}r.observe(t)}(!0),f}(h,n):null,g=-1,w=null;u&&(w=new ResizeObserver(t=>{let[r]=t;r&&r.target===h&&w&&e&&(w.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var t;null==(t=w)||t.observe(e)})),n()}
1),h&&!d&&w.observe(h),e&&w.observe(e));let y=d?ti(t):null;return d&&function e(){let r=ti(t);y&&!th(y,r)&&n(),y=r,i=requestAnimationFrame(e)}(),n(),()=>{var t;m.forEach(t=>{f&&t.removeEventListener("scroll",n),c&&t.removeEventListener("resize",n)}),null==p||p(),null==(t=w)||t.disconnect(),w=null,d&&cancelAnimationFrame(i)}}let tp=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,r;let{x:i,y:o,placement:l,middlewareData:f}=e,a=await P(e,t);return l===(null==(n=f.offset)?void 0:n.placement)&&null!=(r=f.arrow)&&r.alignmentOffset?{}:{x:i+a.x,y:o+a.y,data:{...a,placement:l}}}}},tg=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:r,placement:i,platform:f}=e,{mainAxis:a=!0,crossAxis:c=!1,limiter:u={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...h}=s(t,e),p={x:n,y:r},w=await f.detectOverflow(e,h),y=g(d(i)),x=m(y),v=p[x],b=p[y];if(a){let t="y"===x?"top":"left",e="y"===x?"bottom":"right",n=v+w[t],r=v-w[e];v=l(n,o(v,r))}if(c){let t="y"===y?"top":"left",e="y"===y?"bottom":"right",n=b+w[t],r=b-w[e];b=l(n,o(b,r))}let R=u.fn({...e,[x]:v,[y]:b});return{...R,data:{x:R.x-n,y:R.y-r,enabled:{[x]:a,[y]:c}}}}}},tw=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,r,i,o,l,f,a,c;let u,E,L,{placement:A,middlewareData:T,rects:O,initialPlacement:C,platform:D,elements:S}=e,{mainAxis:P=!0,crossAxis:k=!0,fallbackPlacements:F,fallbackStrategy:H="bestFit",fallbackAxisSideDirection:M="none",flipAlignment:W=!0,...j}=s(t,e);if(null!=(n=T.arrow)&&n.alignmentOffset)return{};let N=d(A),B=g(C),U=d(C)===C,V=await (null==D.isRTL?void 0:D.isRTL(S.floating)),_=F||(U||!W?[R(C)]:(u=R(C),[w(C),u,w(u)])),z="none"!==M;!F&&z&&_.push(...(E=h(C),L=function(t,e,n){switch(t){case"top":case"bottom":if(n)return e?x:y;return e?y:x;case"left":case"right":return e?v:b;default:return[]}}(d(C),"start"===M,V),E&&(L=L.map(t=>t+"-"+E),W&&(L=L.concat(L.map(w)))),L));let $=[C,..._],Y=await D.detectOverflow(e,j),I=[],q=(null==(r=T.flip)?void 0:r.overflows)||[];if(P&&I.push(Y[N]),k){let t,e,n,r,i=(f=A,a=O,void 0===(c=V)&&(c=!1),t=h(f),n=p(e=m(g(f))),r="x"===e?t===(c?"end":"start")?"right":"left":"start"===t?"bottom":"top",a.reference[n]>a.floating[n]&&(r=R(r)),[r,R(r)]);I.push(Y[i[0]],Y[i[1]])}if(q=[...q,{placement:A,overflows:I}],!I.every(t=>t<=0)){let t=((null==(i=T.flip)?void 0:i.index)||0)+1,e=$[t];if(e&&("alignment"!==k||B===g(e)||q.every(t=>g(t.placement)!==B||t.overflows[0]>0)))return{data:{index:t,overflows:q},reset:{placement:e}};let n=null==(o=q.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:o.placement;if(!n)switch(H){case"bestFit":{let t=null==(l=q.filter(t=>{if(z){let e=g(t.placement);return e===B||"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{}}}},ty=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){var n,r;let i,f,{placement:a,rects:c,platform:u,elements:m}=e,{apply:p=()=>{},...w}=s(t,e),y=await u.detectOverflow(e,w),x=d(a),v=h(a),b="y"===g(a),{width:R,height:E}=c.floating;"top"===x||"bottom"===x?(i=x,f=v===(await (null==u.isRTL?void 0:u.isRTL(m.floating))?"start":"end")?"left":"right"):(f=x,i="end"===v?"top":"bottom");let L=E-y.top-y.bottom,A=R-y.left-y.right,T=o(E-y[i],L),O=o(R-y[f],A),C=!e.middlewareData.shift,D=T,S=O;if(null!=(n=e.middlewareData.shift)&&n.enabled.x&&(S=A),null!=(r=e.middlewareData.shift)&&r.enabled.y&&(D=L),C&&!v){let t=l(y.left,0),e=l(y.right,0),n=l(y.top,0),r=l(y.bottom,0);b?S=R-2*(0!==t||0!==e?t+e:l(y.left,y.right)):D=E-2*(0!==n||0!==r?n+r:l(y.top,y.bottom))}await p({...e,availableWidth:S,availableHeight:D});let P=await u.getDimensions(m.floating);return R!==P.width||E!==P.height?{reset:{rects:!0}}:{}}}},tx=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){let{rects:n,platform:r}=e,{strategy:i="referenceHidden",...o}=s(t,e);switch(i){case"referenceHidden":{let t=C(await r.detectOverflow(e,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:D(t)}}}case"escaped":{let t=C(await r.detectOverflow(e,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:t,escaped:D(t)}}}default:return{}}}}},tv=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:r,placement:i,rects:f,platform:a,elements:c,middlewareData:u}=e,{element:d,padding:w=0}=s(t,e)||{};if(null==d)return{};let y=E(w),x={x:n,y:r},v=m(g(i)),b=p(v),R=await a.getDimensions(d),L="y"===v,A=L?"clientHeight":"clientWidth",T=f.reference[b]+f.reference[v]-x[v]-f.floating[b],O=x[v]-f.reference[v],C=await (null==a.getOffsetParent?void 0:a.getOffsetParent(d)),D=C?C[A]:0;D&&await (null==a.isElement?void 0:a.isElement(C))||(D=c.floating[A]||f.floating[b]);
1let S=D/2-R[b]/2-1,P=o(y[L?"top":"left"],S),k=o(y[L?"bottom":"right"],S),F=D-R[b]-k,H=D/2-R[b]/2+(T/2-O/2),M=l(P,o(H,F)),W=!u.arrow&&null!=h(i)&&H!==M&&f.reference[b]/2-(H<P?P:k)-R[b]/2<0,j=W?H<P?H-P:H-F:0;return{[v]:x[v]+j,data:{[v]:M,centerOffset:H-M-j,...W&&{alignmentOffset:j}},reset:W}}}),tb=function(t){return void 0===t&&(t={}),{options:t,fn(e){let{x:n,y:r,placement:i,rects:o,middlewareData:l}=e,{offset:f=0,mainAxis:a=!0,crossAxis:c=!0}=s(t,e),u={x:n,y:r},h=g(i),p=m(h),w=u[p],y=u[h],x=s(f,e),v="number"==typeof x?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(a){let t="y"===p?"height":"width",e=o.reference[p]-o.floating[t]+v.mainAxis,n=o.reference[p]+o.reference[t]-v.mainAxis;w<e?w=e:w>n&&(w=n)}if(c){var b,R;let t="y"===p?"width":"height",e=S.has(d(i)),n=o.reference[h]-o.floating[t]+(e&&(null==(b=l.offset)?void 0:b[h])||0)+(e?0:v.crossAxis),r=o.reference[h]+o.reference[t]+(e?0:(null==(R=l.offset)?void 0:R[h])||0)-(e?v.crossAxis:0);y<n?y=n:y>r&&(y=r)}return{[p]:w,[h]:y}}}},tR=(t,e,n)=>{let r=new Map,i={platform:td,...n},o={...i.platform,_c:r};return O(t,e,{...i,platform:o})}}}]);
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.