(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2884],{671:(t,e,n)=>{"use strict";n.d(e,{B1:()=>R,C0:()=>d,Dz:()=>v,Jx:()=>f,LI:()=>r,PG:()=>h,RI:()=>l,Sg:()=>p,T9:()=>o,TV:()=>g,WJ:()=>x,_3:()=>s,bV:()=>T,jk:()=>i,lP:()=>b,nI:()=>L,qE:()=>a,sq:()=>m,w7:()=>y});let i=Math.min,o=Math.max,r=Math.round,l=Math.floor,f=t=>({x:t,y:t}),c={left:"right",right:"left",bottom:"top",top:"bottom"},u={start:"end",end:"start"};function a(t,e,n){return o(t,i(e,n))}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 v(t){return h(g(t))}function y(t,e,n){void 0===n&&(n=!1);let i=p(t),o=v(t),r=m(o),l="x"===o?i===(n?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[r]>e.floating[r]&&(l=T(l)),[l,T(l)]}function x(t){let e=T(t);return[w(t),e,w(e)]}function w(t){return t.replace(/start|end/g,t=>u[t])}function b(t,e,n,i){let o=p(t),r=function(t,e,n){let i=["left","right"],o=["right","left"];switch(t){case"top":case"bottom":if(n)return e?o:i;return e?i:o;case"left":case"right":return e?["top","bottom"]:["bottom","top"];default:return[]}}(d(t),"start"===n,i);return o&&(r=r.map(t=>t+"-"+o),e&&(r=r.concat(r.map(w)))),r}function T(t){return t.replace(/left|right|bottom|top/g,t=>c[t])}function L(t){return"number"!=typeof t?{top:0,right:0,bottom:0,left:0,...t}:{top:t,right:t,bottom:t,left:t}}function R(t){let{x:e,y:n,width:i,height:o}=t;return{width:i,height:o,top:n,left:e,right:e+i,bottom:n+o,x:e,y:n}}},29300:(t,e)=>{var n;!function(){"use strict";var i={}.hasOwnProperty;function o(){for(var t="",e=0;e{"use strict";n.d(e,{ll:()=>R,rD:()=>q,__:()=>k,UU:()=>A,cY:()=>C,BN:()=>E,Ej:()=>S});var i=n(671);function o(t,e,n){let o,{reference:r,floating:l}=t,f=(0,i.TV)(e),c=(0,i.Dz)(e),u=(0,i.sq)(c),a=(0,i.C0)(e),s="y"===f,d=r.x+r.width/2-l.width/2,p=r.y+r.height/2-l.height/2,h=r[u]/2-l[u]/2;switch(a){case"top":o={x:d,y:r.y-l.height};break;case"bottom":o={x:d,y:r.y+r.height};break;case"right":o={x:r.x+r.width,y:p};break;case"left":o={x:r.x-l.width,y:p};break;default:o={x:r.x,y:r.y}}switch((0,i.Sg)(e)){case"start":o[c]-=h*(n&&s?-1:1);break;case"end":o[c]+=h*(n&&s?-1:1)}return o}let r=async(t,e,n)=>{let{placement:i="bottom",strategy:r="absolute",middleware:l=[],platform:f}=n,c=l.filter(Boolean),u=await (null==f.isRTL?void 0:f.isRTL(e)),a=await f.getElementRects({reference:t,floating:e,strategy:r}),{x:s,y:d}=o(a,i,u),p=i,h={},m=0;for(let n=0;n(0,c.vq)(t)&&"body"!==(0,c.mq)(t)),o=null,r="fixed"===(0,c.L9)(t).position,l=r?(0,c.$4)(t):t;for(;(0,c.vq)(l)&&!(0,c.eu)(l);){let e=(0,c.L9)(l),n=(0,c.sQ)(l);n||"fixed"!==e.position||(o=null),(r?!n&&!o:!n&&"static"===e.position&&!!o&&["absolute","fixed"].includes(o.position)||(0,c.ZU)(l)&&!n&&function t(e,n){let i=(0,c.$4)(e);return!(i===n||!(0,c.vq)(i)||(0,c.eu)(i))&&("fixed"===(0,c.L9)(i).position||t(i,n))}(t,l))?i=i.filter(t=>t!==l):o=e,l=(0,c.$4)(l)}return e.set(t,i),i}(e,this._c):[].concat(n),o],f=l[0],u=l.reduce((t,n)=>{let o=v(e,n,r);return t.top=(0,i.T9)(o.top,t.top),t.right=(0,i.jk)(o.right,t.right),t.bottom=(0,i.jk)(o.bottom,t.bottom),t.left=(0,i.T9)(o.left,t.left),t},v(e,f,r));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:w,getElementRects:b,getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){let{width:e,height:n}=u(t);return{width:e,height:n}},getScale:s,isElement:c.vq,isRTL:function(t){return"rtl"===(0,c.L9)(t).direction}};function L(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function R(t,e,n,o){let r;void 0===o&&(o={});let{ancestorScroll:l=!0,ancestorResize:f=!0,elementResize:u="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:d=!1}=o,p=a(t),m=l||f?[...p?(0,c.v9)(p):[],...(0,c.v9)(e)]:[];m.forEach(t=>{l&&t.addEventListener("scroll",n,{passive:!0}),f&&t.addEventListener("resize",n)});let g=p&&s?function(t,e){let n,o=null,r=(0,c.ep)(t);function l(){var t;clearTimeout(n),null==(t=o)||t.disconnect(),o=null}return!function f(c,u){void 0===c&&(c=!1),void 0===u&&(u=1),l();let a=t.getBoundingClientRect(),{left:s,top:d,width:p,height:h}=a;if(c||e(),!p||!h)return;let m=(0,i.RI)(d),g=(0,i.RI)(r.clientWidth-(s+p)),v={rootMargin:-m+"px "+-g+"px "+-(0,i.RI)(r.clientHeight-(d+h))+"px "+-(0,i.RI)(s)+"px",threshold:(0,i.T9)(0,(0,i.jk)(1,u))||1},y=!0;function x(e){let i=e[0].intersectionRatio;if(i!==u){if(!y)return f();i?f(!1,i):n=setTimeout(()=>{f(!1,1e-7)},1e3)}1!==i||L(a,t.getBoundingClientRect())||f(),y=!1}try{o=new IntersectionObserver(x,{...v,root:r.ownerDocument})}catch(t){o=new IntersectionObserver(x,v)}o.observe(t)}(!0),l}(p,n):null,v=-1,y=null;u&&(y=new ResizeObserver(t=>{let[i]=t;i&&i.target===p&&y&&(y.unobserve(e),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var t;null==(t=y)||t.observe(e)})),n()}),p&&!d&&y.observe(p),y.observe(e));let x=d?h(t):null;return d&&function e(){let i=h(t);x&&!L(x,i)&&n(),x=i,r=requestAnimationFrame(e)}(),n(),()=>{var t;m.forEach(t=>{l&&t.removeEventListener("scroll",n),f&&t.removeEventListener("resize",n)}),null==g||g(),null==(t=y)||t.disconnect(),y=null,d&&cancelAnimationFrame(r)}}let k=l,C=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,i;let{x:o,y:r,placement:l,middlewareData:c}=e,u=await f(e,t);return l===(null==(n=c.offset)?void 0:n.placement)&&null!=(i=c.arrow)&&i.alignmentOffset?{}:{x:o+u.x,y:r+u.y,data:{...u,placement:l}}}}},E=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:o,placement:r}=e,{mainAxis:f=!0,crossAxis:c=!1,limiter:u={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...a}=(0,i._3)(t,e),s={x:n,y:o},d=await l(e,a),p=(0,i.TV)((0,i.C0)(r)),h=(0,i.PG)(p),m=s[h],g=s[p];if(f){let t="y"===h?"top":"left",e="y"===h?"bottom":"right",n=m+d[t],o=m-d[e];m=(0,i.qE)(n,m,o)}if(c){let t="y"===p?"top":"left",e="y"===p?"bottom":"right",n=g+d[t],o=g-d[e];g=(0,i.qE)(n,g,o)}let v=u.fn({...e,[h]:m,[p]:g});return{...v,data:{x:v.x-n,y:v.y-o,enabled:{[h]:f,[p]:c}}}}}},A=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,o,r,f,c;let{placement:u,middlewareData:a,rects:s,initialPlacement:d,platform:p,elements:h}=e,{mainAxis:m=!0,crossAxis:g=!0,fallbackPlacements:v,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:w=!0,...b}=(0,i._3)(t,e);if(null!=(n=a.arrow)&&n.alignmentOffset)return{};let T=(0,i.C0)(u),L=(0,i.TV)(d),R=(0,i.C0)(d)===d,k=await (null==p.isRTL?void 0:p.isRTL(h.floating)),C=v||(R||!w?[(0,i.bV)(d)]:(0,i.WJ)(d)),E="none"!==x;!v&&E&&C.push(...(0,i.lP)(d,w,x,k));let A=[d,...C],S=await l(e,b),q=[],P=(null==(o=a.flip)?void 0:o.overflows)||[];if(m&&q.push(S[T]),g){let t=(0,i.w7)(u,s,k);q.push(S[t[0]],S[t[1]])}if(P=[...P,{placement:u,overflows:q}],!q.every(t=>t<=0)){let t=((null==(r=a.flip)?void 0:r.index)||0)+1,e=A[t];if(e&&("alignment"!==g||L===(0,i.TV)(e)||P.every(t=>t.overflows[0]>0&&(0,i.TV)(t.placement)===L)))return{data:{index:t,overflows:P},reset:{placement:e}};let n=null==(f=P.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:f.placement;if(!n)switch(y){case"bestFit":{let t=null==(c=P.filter(t=>{if(E){let e=(0,i.TV)(t.placement);return e===L||"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:c[0];t&&(n=t);break}case"initialPlacement":n=d}if(u!==n)return{reset:{placement:n}}}return{}}}},S=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){var n,o;let r,f,{placement:c,rects:u,platform:a,elements:s}=e,{apply:d=()=>{},...p}=(0,i._3)(t,e),h=await l(e,p),m=(0,i.C0)(c),g=(0,i.Sg)(c),v="y"===(0,i.TV)(c),{width:y,height:x}=u.floating;"top"===m||"bottom"===m?(r=m,f=g===(await (null==a.isRTL?void 0:a.isRTL(s.floating))?"start":"end")?"left":"right"):(f=m,r="end"===g?"top":"bottom");let w=x-h.top-h.bottom,b=y-h.left-h.right,T=(0,i.jk)(x-h[r],w),L=(0,i.jk)(y-h[f],b),R=!e.middlewareData.shift,k=T,C=L;if(null!=(n=e.middlewareData.shift)&&n.enabled.x&&(C=b),null!=(o=e.middlewareData.shift)&&o.enabled.y&&(k=w),R&&!g){let t=(0,i.T9)(h.left,0),e=(0,i.T9)(h.right,0),n=(0,i.T9)(h.top,0),o=(0,i.T9)(h.bottom,0);v?C=y-2*(0!==t||0!==e?t+e:(0,i.T9)(h.left,h.right)):k=x-2*(0!==n||0!==o?n+o:(0,i.T9)(h.top,h.bottom))}await d({...e,availableWidth:C,availableHeight:k});let E=await a.getDimensions(s.floating);return y!==E.width||x!==E.height?{reset:{rects:!0}}:{}}}},q=(t,e,n)=>{let i=new Map,o={platform:T,...n},l={...o.platform,_c:i};return r(t,e,{...o,platform:l})}},86301:(t,e,n)=>{"use strict";function i(){return"undefined"!=typeof window}function o(t){return f(t)?(t.nodeName||"").toLowerCase():"#document"}function r(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 r(t).Node)}function c(t){return!!i()&&(t instanceof Element||t instanceof r(t).Element)}function u(t){return!!i()&&(t instanceof HTMLElement||t instanceof r(t).HTMLElement)}function a(t){return!!i()&&"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof r(t).ShadowRoot)}function s(t){let{overflow:e,overflowX:n,overflowY:i,display:o}=y(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&!["inline","contents"].includes(o)}function d(t){return["table","td","th"].includes(o(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=c(t)?y(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=w(t);for(;u(e)&&!v(e);){if(h(e))return e;if(p(e))break;e=w(e)}return null}function g(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function v(t){return["html","body","#document"].includes(o(t))}function y(t){return r(t).getComputedStyle(t)}function x(t){return c(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function w(t){if("html"===o(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:()=>w,CP:()=>x,L9:()=>y,Lv:()=>d,Tc:()=>g,Tf:()=>p,ZU:()=>s,_m:()=>b,ep:()=>l,eu:()=>v,gJ:()=>m,mq:()=>o,sQ:()=>h,sb:()=>u,v9:()=>function t(e,n,i){var o;void 0===n&&(n=[]),void 0===i&&(i=!0);let l=function t(e){let n=w(e);return v(n)?e.ownerDocument?e.ownerDocument.body:e.body:u(n)&&s(n)?n:t(n)}(e),f=l===(null==(o=e.ownerDocument)?void 0:o.body),c=r(l);if(f){let e=b(c);return n.concat(c,c.visualViewport||[],s(l)?l:[],e&&i?t(e):[])}return n.concat(l,t(l,[],i))},vq:()=>c,zk:()=>r})}}]);