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