1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[450],{50450:(t,e,n)=>{n.d(e,{BN:()=>p,ER:()=>h,Ej:()=>g,UE:()=>w,UU:()=>m,cY:()=>d,jD:()=>y,we:()=>s});var i=n(61546),r=n(2657),o=n(23940),l="undefined"!=typeof document?r.useLayoutEffect:r.useEffect;function f(t,e){let n,i,r;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(i=n;0!=i--;)if(!f(t[i],e[i]))return!1;return!0}if((n=(r=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(i=n;0!=i--;)if(!({}).hasOwnProperty.call(e,r[i]))return!1;for(i=n;0!=i--;){let n=r[i];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=r.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,v]=r.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[x,b]=r.useState(s);f(x,s)||b(s);let[R,L]=r.useState(null),[T,E]=r.useState(null),A=r.useCallback(t=>{t!==D.current&&(D.current=t,L(t))},[]),k=r.useCallback(t=>{t!==O.current&&(O.current=t,E(t))},[]),C=p||R,P=h||T,D=r.useRef(null),O=r.useRef(null),S=r.useRef(w),q=null!=g,H=a(g),F=a(d),U=a(y),z=r.useCallback(()=>{if(!D.current||!O.current)return;let t={placement:e,strategy:n,middleware:x};F.current&&(t.platform=F.current),(0,i.rD)(D.current,O.current,t).then(t=>{let e={...t,isPositioned:!1!==U.current};M.current&&!f(S.current,e)&&(S.current=e,o.flushSync(()=>{v(e)}))})},[x,e,n,F,U]);l(()=>{!1===y&&S.current.isPositioned&&(S.current.isPositioned=!1,v(t=>({...t,isPositioned:!1})))},[y]);let M=r.useRef(!1);l(()=>(M.current=!0,()=>{M.current=!1}),[]),l(()=>{if(C&&(D.current=C),P&&(O.current=P),C&&P){if(H.current)return H.current(C,P,z);z()}},[C,P,z,H,q]);let j=r.useMemo(()=>({reference:D,floating:O,setReference:A,setFloating:k}),[A,k]),B=r.useMemo(()=>({reference:C,floating:P}),[C,P]),N=r.useMemo(()=>{let t={position:n,left:0,top:0};if(!B.floating)return t;let e=c(B.floating,w.x),i=c(B.floating,w.y);return m?{...t,transform:"translate("+e+"px, "+i+"px)",...u(B.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:e,top:i}},[n,m,B.floating,w.x,w.y]);return r.useMemo(()=>({...w,update:z,refs:j,elements:B,floatingStyles:N}),[w,z,j,B,N])}let d=(t,e)=>({...(0,i.cY)(t),options:[t,e]}),p=(t,e)=>({...(0,i.BN)(t),options:[t,e]}),h=(t,e)=>({...(0,i.ER)(t),options:[t,e]}),m=(t,e)=>({...(0,i.UU)(t),options:[t,e]}),g=(t,e)=>({...(0,i.Ej)(t),options:[t,e]}),y=(t,e)=>({...(0,i.jD)(t),options:[t,e]}),w=(t,e)=>({...(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?(0,i.UE)({element:n.current,padding:r}).fn(e):{}:n?(0,i.UE)({element:n,padding:r}).fn(e):{}}}))(t),options:[t,e]})},52929:(t,e,n)=>{function i(){return"undefined"!=typeof window}function r(t){return f(t)?(t.nodeName||"").toLowerCase():"#document"}function o(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function l(t){var e;return null==(e=(f(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function f(t){return!!i()&&(t instanceof Node||t instanceof o(t).Node)}function u(t){return!!i()&&(t instanceof Element||t instanceof o(t).Element)}function c(t){return!!i()&&(t instanceof HTMLElement||t instanceof o(t).HTMLElement)}function a(t){return!!i()&&"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof o(t).ShadowRoot)}function s(t){let{overflow:e,overflowX:n,overflowY:i,display:r}=w(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&!["inline","contents"].includes(r)}function d(t){return["table","td","th"].includes(r(t))}function p(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch(t){return!1}})}function h(t){let e=g(),n=u(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 m(t){let e=x(t);for(;c(e)&&!y(e);){if(h(e))return e;if(p(e))break;e=x(e)}return null}function g(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function y(t){return["html","body","#document"].includes(r(t))}function w(t){return o(t).getComputedStyle(t)}function v(t){return u(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function x(t){if("html"===r(t))return t;let e=t.assignedSlot||t.parentNode||a(t)&&t.host||l(t);return a(e)?e.host:e}function b(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}n.d(e,{$4:()=>x,CP:()=>v,L9:()=>w,Lv:()=>d,Tc:()=>g,Tf:()=>p,ZU:()=>s,_m:()=>b,ep:()=>l,eu:()=>y,gJ:()=>m,mq:()=>r,sQ:()=>h,sb:()=>c,v9:()=>function t(e,n,i){var r;void 0===n&&(n=[]),void 0===i&&(i=!0);let l=function t(e){let n=x(e);return y(n)?e.ownerDocument?e.ownerDocument.body:e.body:c(n)&&s(n)?n:t(n)}(e),f=l===(null==(r=e.ownerDocument)?void 0:r.body),u=o(l);if(f){let e=b(u);
1return n.concat(u,u.visualViewport||[],s(l)?l:[],e&&i?t(e):[])}return n.concat(l,t(l,[],i))},vq:()=>u,zk:()=>o})},61546:(t,e,n)=>{n.d(e,{UE:()=>Q,ll:()=>V,rD:()=>X,UU:()=>Y,jD:()=>I,ER:()=>J,cY:()=>_,BN:()=>$,Ej:()=>Z});let i=["top","right","bottom","left"],r=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 v(t){return"number"!=typeof t?{top:0,right:0,bottom:0,left:0,...t}:{top:t,right:t,bottom:t,left:t}}function x(t){let{x:e,y:n,width:i,height:r}=t;return{width:i,height:r,top:n,left:e,right:e+i,bottom:n+r,x:e,y:n}}function b(t,e,n){let i,{reference:r,floating:o}=t,l=g(e),f=h(g(e)),u=m(f),c=d(e),a="y"===l,s=r.x+r.width/2-o.width/2,y=r.y+r.height/2-o.height/2,w=r[u]/2-o[u]/2;switch(c){case"top":i={x:s,y:r.y-o.height};break;case"bottom":i={x:s,y:r.y+r.height};break;case"right":i={x:r.x+r.width,y:y};break;case"left":i={x:r.x-o.width,y:y};break;default:i={x:r.x,y:r.y}}switch(p(e)){case"start":i[f]-=w*(n&&a?-1:1);break;case"end":i[f]+=w*(n&&a?-1:1)}return i}let R=async(t,e,n)=>{let{placement:i="bottom",strategy:r="absolute",middleware:o=[],platform:l}=n,f=o.filter(Boolean),u=await (null==l.isRTL?void 0:l.isRTL(e)),c=await l.getElementRects({reference:t,floating:e,strategy:r}),{x:a,y:s}=b(c,i,u),d=i,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:v}=await m({x:a,y:s,initialPlacement:i,placement:d,strategy:r,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}},v&&h<=50&&(h++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(c=!0===v.rects?await l.getElementRects({reference:t,floating:e,strategy:r}):v.rects),{x:a,y:s}=b(c,d,u)),n=-1)}return{x:a,y:s,placement:d,strategy:r,middlewareData:p}};async function L(t,e){var n;void 0===e&&(e={});let{x:i,y:r,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=v(h),g=f[p?"floating"===d?"reference":"floating":d],y=x(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:i,y:r,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},L=x(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:f,rect:w,offsetParent:b,strategy:u}):w);return{top:(y.top-L.top+m.top)/R.y,bottom:(L.bottom-y.bottom+m.bottom)/R.y,left:(y.left-L.left+m.left)/R.x,right:(L.right-y.right+m.right)/R.x}}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 E(t){return i.some(e=>t[e]>=0)}async function A(t,e){let{placement:n,platform:i,elements:r}=t,o=await (null==i.isRTL?void 0:i.isRTL(r.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}}var k=n(52929);function C(t){let e=(0,k.L9)(t),n=parseFloat(e.width)||0,i=parseFloat(e.height)||0,r=(0,k.sb)(t),o=r?t.offsetWidth:n,f=r?t.offsetHeight:i,u=l(n)!==o||l(i)!==f;return u&&(n=o,i=f),{width:n,height:i,$:u}}function P(t){return(0,k.vq)(t)?t:t.contextElement}function D(t){let e=P(t);if(!(0,k.sb)(e))return u(1);let n=e.getBoundingClientRect(),{width:i,height:r,$:o}=C(e),f=(o?l(n.width):n.width)/i,c=(o?l(n.height):n.height)/r;return f&&Number.isFinite(f)||(f=1),c&&Number.isFinite(c)||(c=1),{x:f,y:c}}let O=u(0);function S(t){let e=(0,k.zk)(t);
1return(0,k.Tc)()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:O}function q(t,e,n,i){var r;void 0===e&&(e=!1),void 0===n&&(n=!1);let o=t.getBoundingClientRect(),l=P(t),f=u(1);e&&(i?(0,k.vq)(i)&&(f=D(i)):f=D(t));let c=(void 0===(r=n)&&(r=!1),i&&(!r||i===(0,k.zk)(l))&&r)?S(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=(0,k.zk)(l),e=i&&(0,k.vq)(i)?(0,k.zk)(i):i,n=t,r=(0,k._m)(n);for(;r&&i&&e!==n;){let t=D(r),e=r.getBoundingClientRect(),i=(0,k.L9)(r),o=e.left+(r.clientLeft+parseFloat(i.paddingLeft))*t.x,l=e.top+(r.clientTop+parseFloat(i.paddingTop))*t.y;a*=t.x,s*=t.y,d*=t.x,p*=t.y,a+=o,s+=l,n=(0,k.zk)(r),r=(0,k._m)(n)}}return x({width:d,height:p,x:a,y:s})}function H(t,e){let n=(0,k.CP)(t).scrollLeft;return e?e.left+n:q((0,k.ep)(t)).left+n}function F(t,e,n){void 0===n&&(n=!1);let i=t.getBoundingClientRect();return{x:i.left+e.scrollLeft-(n?0:H(t,i)),y:i.top+e.scrollTop}}function U(t,e,n){let i;if("viewport"===e)i=function(t,e){let n=(0,k.zk)(t),i=(0,k.ep)(t),r=n.visualViewport,o=i.clientWidth,l=i.clientHeight,f=0,u=0;if(r){o=r.width,l=r.height;let t=(0,k.Tc)();(!t||t&&"fixed"===e)&&(f=r.offsetLeft,u=r.offsetTop)}return{width:o,height:l,x:f,y:u}}(t,n);else if("document"===e)i=function(t){let e=(0,k.ep)(t),n=(0,k.CP)(t),i=t.ownerDocument.body,r=o(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),l=o(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),f=-n.scrollLeft+H(t),u=-n.scrollTop;return"rtl"===(0,k.L9)(i).direction&&(f+=o(e.clientWidth,i.clientWidth)-r),{width:r,height:l,x:f,y:u}}((0,k.ep)(t));else if((0,k.vq)(e))i=function(t,e){let n=q(t,!0,"fixed"===e),i=n.top+t.clientTop,r=n.left+t.clientLeft,o=(0,k.sb)(t)?D(t):u(1),l=t.clientWidth*o.x,f=t.clientHeight*o.y;return{width:l,height:f,x:r*o.x,y:i*o.y}}(e,n);else{let n=S(t);i={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return x(i)}function z(t){return"static"===(0,k.L9)(t).position}function M(t,e){if(!(0,k.sb)(t)||"fixed"===(0,k.L9)(t).position)return null;if(e)return e(t);let n=t.offsetParent;return(0,k.ep)(t)===n&&(n=n.ownerDocument.body),n}function j(t,e){let n=(0,k.zk)(t);if((0,k.Tf)(t))return n;if(!(0,k.sb)(t)){let e=(0,k.$4)(t);for(;e&&!(0,k.eu)(e);){if((0,k.vq)(e)&&!z(e))return e;e=(0,k.$4)(e)}return n}let i=M(t,e);for(;i&&(0,k.Lv)(i)&&z(i);)i=M(i,e);return i&&(0,k.eu)(i)&&z(i)&&!(0,k.sQ)(i)?n:i||(0,k.gJ)(t)||n}let B=async function(t){let e=this.getOffsetParent||j,n=this.getDimensions,i=await n(t.floating);return{reference:function(t,e,n){let i=(0,k.sb)(e),r=(0,k.ep)(e),o="fixed"===n,l=q(t,!0,o,e),f={scrollLeft:0,scrollTop:0},c=u(0);if(i||!i&&!o)if(("body"!==(0,k.mq)(e)||(0,k.ZU)(r))&&(f=(0,k.CP)(e)),i){let t=q(e,!0,o,e);c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}else r&&(c.x=H(r));let a=!r||i||o?u(0):F(r,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:i.width,height:i.height}}},N={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:i,strategy:r}=t,o="fixed"===r,l=(0,k.ep)(i),f=!!e&&(0,k.Tf)(e.floating);if(i===l||f&&o)return n;let c={scrollLeft:0,scrollTop:0},a=u(1),s=u(0),d=(0,k.sb)(i);if((d||!d&&!o)&&(("body"!==(0,k.mq)(i)||(0,k.ZU)(l))&&(c=(0,k.CP)(i)),(0,k.sb)(i))){let t=q(i);a=D(i),s.x=t.x+i.clientLeft,s.y=t.y+i.clientTop}let p=!l||d||o?u(0):F(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:k.ep,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:i,strategy:l}=t,f=[..."clippingAncestors"===n?(0,k.Tf)(e)?[]:function(t,e){let n=e.get(t);if(n)return n;let i=(0,k.v9)(t,[],!1).filter(t=>(0,k.vq)(t)&&"body"!==(0,k.mq)(t)),r=null,o="fixed"===(0,k.L9)(t).position,l=o?(0,k.$4)(t):t;for(;(0,k.vq)(l)&&!(0,k.eu)(l);){let e=(0,k.L9)(l),n=(0,k.sQ)(l);n||"fixed"!==e.position||(r=null),(o?!n&&!r:!n&&"static"===e.position&&!!r&&["absolute","fixed"].includes(r.position)||(0,k.ZU)(l)&&!n&&function t(e,n){let i=(0,k.$4)(e);return!(i===n||!(0,k.vq)(i)||(0,k.eu)(i))&&("fixed"===(0,k.L9)(i).position||t(i,n))}(t,l))?i=i.filter(t=>t!==l):r=e,l=(0,k.$4)(l)}return e.set(t,i),i}(e,this._c):[].concat(n),i],u=f[0],c=f.reduce((t,n)=>{let i=U(e,n,l);return t.top=o(i.top,t.top),t.right=r(i.right,t.right),t.bottom=r(i.bottom,t.bottom),t.left=o(i.left,t.left),t},U(e,u,l));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:j,getElementRects:B,getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){let{width:e,height:n}=C(t);return{width:e,height:n}},getScale:D,isElement:k.vq,isRTL:function(t){return"rtl"===(0,k.L9)(t).direction}};function W(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function V(t,e,n,i){let l;void 0===i&&(i={});let{ancestorScroll:u=!0,ancestorResize:c=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:d=!1}=i,p=P(t),h=u||c?[...p?(0,k.v9)(p):[],...(0,k.v9)(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,i=null,l=(0,k.ep)(t);function u(){var t;clearTimeout(n),null==(t=i)||t.disconnect(),i=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)),v={rootMargin:-y+"px "+-w+"px "+-f(l.clientHeight-(h+g))+"px "+-f(p)+"px",threshold:o(0,r(1,s))||1},x=!0;function b(e){let i=e[0].intersectionRatio;if(i!==s){if(!x)return c();i?c(!1,i):n=setTimeout(()=>{c(!1,1e-7)},1e3)}1!==i||W(d,t.getBoundingClientRect())||c(),x=!1}try{i=new IntersectionObserver(b,{...v,root:l.ownerDocument})}catch(t){i=new IntersectionObserver(b,v)}i.observe(t)}(!0),u}(p,n):null,g=-1,y=null;a&&(y=new ResizeObserver(t=>{let[i]=t;i&&i.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?q(t):null;return d&&function e(){let i=q(t);w&&!W(w,i)&&n(),w=i,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 _=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,i;let{x:r,y:o,placement:l,middlewareData:f}=e,u=await A(e,t);return l===(null==(n=f.offset)?void 0:n.placement)&&null!=(i=f.arrow)&&i.alignmentOffset?{}:{x:r+u.x,y:o+u.y,data:{...u,placement:l}}}}},$=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:i,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:i},m=await L(e,a),y=g(d(l)),w=h(y),v=p[w],x=p[y];if(f){let t="y"===w?"top":"left",e="y"===w?"bottom":"right",n=v+m[t],i=v-m[e];v=o(n,r(v,i))}if(u){let t="y"===y?"top":"left",e="y"===y?"bottom":"right",n=x+m[t],i=x-m[e];x=o(n,r(x,i))}let b=c.fn({...e,[w]:v,[y]:x});return{...b,data:{x:b.x-n,y:b.y-i,enabled:{[w]:f,[y]:u}}}}}},Y=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,i,r,o,l;let{placement:f,middlewareData:u,rects:c,initialPlacement:a,platform:v,elements:x}=e,{mainAxis:b=!0,crossAxis:R=!0,fallbackPlacements:T,fallbackStrategy:E="bestFit",fallbackAxisSideDirection:A="none",flipAlignment:k=!0,...C}=s(t,e);if(null!=(n=u.arrow)&&n.alignmentOffset)return{};let P=d(f),D=g(a),O=d(a)===a,S=await (null==v.isRTL?void 0:v.isRTL(x.floating)),q=T||(O||!k?[w(a)]:function(t){let e=w(t);return[y(t),e,y(e)]}(a)),H="none"!==A;!T&&H&&q.push(...function(t,e,n,i){let r=p(t),o=function(t,e,n){let i=["left","right"],r=["right","left"];switch(t){case"top":case"bottom":if(n)return e?r:i;return e?i:r;case"left":case"right":return e?["top","bottom"]:["bottom","top"];default:return[]}}(d(t),"start"===n,i);return r&&(o=o.map(t=>t+"-"+r),e&&(o=o.concat(o.map(y)))),o}(a,k,A,S));let F=[a,...q],U=await L(e,C),z=[],M=(null==(i=u.flip)?void 0:i.overflows)||[];if(b&&z.push(U[P]),R){let t=function(t,e,n){void 0===n&&(n=!1);let i=p(t),r=h(g(t)),o=m(r),l="x"===r?i===(n?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[o]>e.floating[o]&&(l=w(l)),[l,w(l)]}(f,c,S);z.push(U[t[0]],U[t[1]])}if(M=[...M,{placement:f,overflows:z}],!z.every(t=>t<=0)){let t=((null==(r=u.flip)?void 0:r.index)||0)+1,e=F[t];if(e)return{data:{index:t,overflows:M},reset:{placement:e}};let n=null==(o=M.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=M.filter(t=>{if(H){let e=g(t.placement);return e===D||"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{}}}},Z=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){var n,i;let l,f,{placement:u,rects:c,platform:a,elements:h}=e,{apply:m=()=>{},...y}=s(t,e),w=await L(e,y),v=d(u),x=p(u),b="y"===g(u),{width:R,height:T}=c.floating;"top"===v||"bottom"===v?(l=v,f=x===(await (null==a.isRTL?void 0:a.isRTL(h.floating))?"start":"end")?"left":"right"):(f=v,l="end"===x?"top":"bottom");let E=T-w.top-w.bottom,A=R-w.left-w.right,k=r(T-w[l],E),C=r(R-w[f],A),P=!e.middlewareData.shift,D=k,O=C;if(null!=(n=e.middlewareData.shift)&&n.enabled.x&&(O=A),null!=(i=e.middlewareData.shift)&&i.enabled.y&&(D=E),P&&!x){let t=o(w.left,0),e=o(w.right,0),n=o(w.top,0),i=o(w.bottom,0);b?O=R-2*(0!==t||0!==e?t+e:o(w.left,w.right)):D=T-2*(0!==n||0!==i?n+i:o(w.top,w.bottom))}await m({...e,availableWidth:O,availableHeight:D});let S=await a.getDimensions(h.floating);return R!==S.width||T!==S.height?{reset:{rects:!0}}:{}}}},I=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){let{rects:n}=e,{strategy:i="referenceHidden",...r}=s(t,e);switch(i){case"referenceHidden":{let t=T(await L(e,{...r,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:E(t)}}}case"escaped":{let t=T(await L(e,{...r,altBoundary:!0}),n.floating);return{data:{escapedOffsets:t,escaped:E(t)}}}default:return{}}}}},Q=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:i,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=v(y),x={x:n,y:i},b=h(g(l)),R=m(b),L=await u.getDimensions(d),T="y"===b,E=T?"clientHeight":"clientWidth",A=f.reference[R]+f.reference[b]-x[b]-f.floating[R],k=x[b]-f.reference[b],C=await (null==u.getOffsetParent?void 0:u.getOffsetParent(d)),P=C?C[E]:0;P&&await (null==u.isElement?void 0:u.isElement(C))||(P=c.floating[E]||f.floating[R]);let D=P/2-L[R]/2-1,O=r(w[T?"top":"left"],D),S=r(w[T?"bottom":"right"],D),q=P-L[R]-S,H=P/2-L[R]/2+(A/2-k/2),F=o(O,r(H,q)),U=!a.arrow&&null!=p(l)&&H!==F&&f.reference[R]/2-(H<O?O:S)-L[R]/2<0,z=U?H<O?H-O:H-q:0;return{[b]:x[b]+z,data:{[b]:F,centerOffset:H-F-z,...U&&{alignmentOffset:z}},reset:U}}}),J=function(t){return void 0===t&&(t={}),{options:t,fn(e){let{x:n,y:i,placement:r,rects:o,middlewareData:l}=e,{offset:f=0,mainAxis:u=!0,crossAxis:c=!0}=s(t,e),a={x:n,y:i},p=g(r),m=h(p),y=a[m],w=a[p],v=s(f,e),x="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(u){let t="y"===m?"height":"width",e=o.reference[m]-o.floating[t]+x.mainAxis,n=o.reference[m]+o.reference[t]-x.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(r)),n=o.reference[p]-o.floating[t]+(e&&(null==(b=l.offset)?void 0:b[p])||0)+(e?0:x.crossAxis),i=o.reference[p]+o.reference[t]+(e?0:(null==(R=l.offset)?void 0:R[p])||0)-(e?x.crossAxis:0);w<n?w=n:w>i&&(w=i)}return{[m]:y,[p]:w}}}},X=(t,e,n)=>{let i=new Map,r={platform:N,...n},o={...r.platform,_c:i};return R(t,e,{...r,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.