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