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