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