"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2025],{19130:(t,e,n)=>{n.d(e,{AO:()=>A,Kr:()=>C});var r='input:not([inert]):not([inert] *),select:not([inert]):not([inert] *),textarea:not([inert]):not([inert] *),a[href]:not([inert]):not([inert] *),area[href]:not([inert]):not([inert] *),button:not([inert]):not([inert] *),[tabindex]:not(slot):not([inert]):not([inert] *),audio[controls]:not([inert]):not([inert] *),video[controls]:not([inert]):not([inert] *),[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *),details>summary:first-of-type:not([inert]):not([inert] *),details:not([inert]):not([inert] *)',i="undefined"==typeof Element,o=i?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,l=!i&&Element.prototype.getRootNode?function(t){var e;return null==t||null==(e=t.getRootNode)?void 0:e.call(t)}:function(t){return null==t?void 0:t.ownerDocument},u=function(t,e){void 0===e&&(e=!0);var n,r=null==t||null==(n=t.getAttribute)?void 0:n.call(t,"inert");return""===r||"true"===r||e&&t&&("function"==typeof t.closest?t.closest("[inert]"):u(t.parentNode))},a=function(t){var e,n=null==t||null==(e=t.getAttribute)?void 0:e.call(t,"contenteditable");return""===n||"true"===n},f=function(t,e,n){if(u(t))return[];var i=Array.prototype.slice.apply(t.querySelectorAll(r));return e&&o.call(t,r)&&i.unshift(t),i=i.filter(n)},c=function(t,e,n){for(var i=[],l=Array.from(t);l.length;){var a=l.shift();if(!u(a,!1))if("SLOT"===a.tagName){var f=a.assignedElements(),s=c(f.length?f:a.children,!0,n);n.flatten?i.push.apply(i,s):i.push({scopeParent:a,candidates:s})}else{o.call(a,r)&&n.filter(a)&&(e||!t.includes(a))&&i.push(a);var d=a.shadowRoot||"function"==typeof n.getShadowRoot&&n.getShadowRoot(a),p=!u(d,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(a));if(d&&p){var h=c(!0===d?a.children:d.children,!0,n);n.flatten?i.push.apply(i,h):i.push({scopeParent:a,candidates:h})}else l.unshift.apply(l,a.children)}}return i},s=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},d=function(t){if(!t)throw Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||a(t))&&!s(t)?0:t.tabIndex},p=function(t,e){var n=d(t);return n<0&&e&&!s(t)?0:n},h=function(t,e){return t.tabIndex===e.tabIndex?t.documentOrder-e.documentOrder:t.tabIndex-e.tabIndex},m=function(t){return"INPUT"===t.tagName},g=function(t,e){for(var n=0;n<t.length;n++)if(t[n].checked&&t[n].form===e)return t[n]},y=function(t){if(!t.name)return!0;var e,n=t.form||l(t),r=function(t){return n.querySelectorAll('input[type="radio"][name="'+t+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)e=r(window.CSS.escape(t.name));else try{e=r(t.name)}catch(t){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",t.message),!1}var i=g(e,t.form);return!i||i===t},v=function(t){return m(t)&&"radio"===t.type&&!y(t)},w=function(t){var e,n,r,i,o,u,a,f=t&&l(t),c=null==(e=f)?void 0:e.host,s=!1;if(f&&f!==t)for(s=!!(null!=(n=c)&&null!=(r=n.ownerDocument)&&r.contains(c)||null!=t&&null!=(i=t.ownerDocument)&&i.contains(t));!s&&c;)s=!!(null!=(u=c=null==(o=f=l(c))?void 0:o.host)&&null!=(a=u.ownerDocument)&&a.contains(c));return s},b=function(t){var e=t.getBoundingClientRect(),n=e.width,r=e.height;return 0===n&&0===r},x=function(t,e){var n=e.displayCheck,r=e.getShadowRoot;if("full-native"===n&&"checkVisibility"in t)return!t.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});var i=getComputedStyle(t).visibility;if("hidden"===i||"collapse"===i)return!0;var u=o.call(t,"details>summary:first-of-type")?t.parentElement:t;if(o.call(u,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"full-native"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return b(t)}else{if("function"==typeof r){for(var a=t;t;){var f=t.parentElement,c=l(t);if(f&&!f.shadowRoot&&!0===r(f))return b(t);t=t.assignedSlot?t.assignedSlot:f||c===t.ownerDocument?f:c.host}t=a}if(w(t))return!t.getClientRects().length;if("legacy-full"!==n)return!0}return!1},R=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var e=t.parentElement;e;){if("FIELDSET"===e.tagName&&e.disabled){for(var n=0;n<e.children.length;n++){var r=e.children.item(n);if("LEGEND"===r.tagName)return!!o.call(e,"fieldset[disabled] *")||!r.contains(t)}return!0}e=e.parentElement}return!1},E=function(t,e){return!(e.disabled||m(e)&&"hidden"===e.type||x(e,t)||"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some(function(t){return"SUMMARY"===t.tagName})||R(e))},S=function(t,e){return!(v(e)||0>d(e))&&!!E(t,e)},L=function(t){var e=parseInt(t.getAttribute("tabindex"),10);return!!isNaN(e)||!!(e>=0)},T=function(t){var e=[],n=[];return t.forEach(function(t,r){var i=!!t.scopeParent,o=i?t.scopeParent:t,l=p(o,i),u=i?T(t.candidates):o;0===l?i?e.push.apply(e,u):e.push(o):n.push({documentOrder:r,tabIndex:l,item:t,isScope:i,content:u})}),n.sort(h).reduce(function(t,e){return e.isScope?t.push.apply(t,e.content):t.push(e.content),t},[]).concat(e)},C=function(t,e){return T((e=e||{}).getShadowRoot?c([t],e.includeContainer,{filter:S.bind(null,e),flatten:!1,getShadowRoot:e.getShadowRoot,shadowRootFilter:L}):f(t,e.includeContainer,S.bind(null,e)))},A=function(t,e){if(e=e||{},!t)throw Error("No node provided");return!1!==o.call(t,r)&&S(e,t)}},50698:(t,e,n)=>{n.d(e,{UE:()=>X,ll:()=>Y,rD:()=>K,UU:()=>G,jD:()=>J,cY:()=>Q,BN:()=>Z});let r=["top","right","bottom","left"],i=Math.min,o=Math.max,l=Math.round,u=Math.floor,a=t=>({x:t,y:t}),f={left:"right",right:"left",bottom:"top",top:"bottom"};function c(t,e){return"function"==typeof t?t(e):t}function s(t){return t.split("-")[0]}function d(t){return t.split("-")[1]}function p(t){return"x"===t?"y":"x"}function h(t){return"y"===t?"height":"width"}function m(t){let e=t[0];return"t"===e||"b"===e?"y":"x"}function g(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}let y=["left","right"],v=["right","left"],w=["top","bottom"],b=["bottom","top"];function x(t){let e=s(t);return f[e]+t.slice(e.length)}function R(t){var e,n,r,i;return"number"!=typeof t?{top:null!=(e=t.top)?e:0,right:null!=(n=t.right)?n:0,bottom:null!=(r=t.bottom)?r:0,left:null!=(i=t.left)?i:0}:{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 S(t,e,n){let r,{reference:i,floating:o}=t,l=m(e),u=p(m(e)),a=h(u),f=s(e),c=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(f){case"top":r={x:c,y:i.y-o.height};break;case"bottom":r={x:c,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}}let v=d(e);return v&&(r[u]+=y*("end"===v?1:-1)*(n&&"y"===l?-1:1)),r}async function L(t,e){var n;void 0===e&&(e={});let{x:r,y:i,platform:o,rects:l,elements:u,strategy:a}=t,{boundary:f="clippingAncestors",rootBoundary:s="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=c(e,t),m=R(h),g=u[p?"floating"===d?"reference":"floating":d],y=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(u.floating)),boundary:f,rootBoundary:s,strategy:a})),v="floating"===d?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,w=await (null==o.getOffsetParent?void 0:o.getOffsetParent(u.floating)),b=await (null==o.isElement?void 0:o.isElement(w))&&await (null==o.getScale?void 0:o.getScale(w))||{x:1,y:1},x=E(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:v,offsetParent:w,strategy:a}):v);return{top:(y.top-x.top+m.top)/b.y,bottom:(x.bottom-y.bottom+m.bottom)/b.y,left:(y.left-x.left+m.left)/b.x,right:(x.right-y.right+m.right)/b.x}}let T=async(t,e,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,u=l.detectOverflow?l:{...l,detectOverflow:L},a=await (null==l.isRTL?void 0:l.isRTL(e)),f=await l.getElementRects({reference:t,floating:e,strategy:i}),{x:c,y:s}=S(f,r,a),d=r,p=0,h={};for(let n=0;n<o.length;n++){let m=o[n];if(!m)continue;let{name:g,fn:y}=m,{x:v,y:w,data:b,reset:x}=await y({x:c,y:s,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:f,platform:u,elements:{reference:t,floating:e}});c=null!=v?v:c,s=null!=w?w:s,h[g]={...h[g],...b},x&&p<50&&(p++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(f=!0===x.rects?await l.getElementRects({reference:t,floating:e,strategy:i}):x.rects),{x:c,y:s}=S(f,d,a)),n=-1)}return{x:c,y:s,placement:d,strategy:i,middlewareData:h}};function C(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function A(t){return r.some(e=>t[e]>=0)}let O=new Set(["left","top"]);async function k(t,e){let{placement:n,platform:r,elements:i}=t,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=s(n),u=d(n),a="y"===m(n),f=O.has(l)?-1:1,p=o&&a?-1:1,h=c(e,t),{mainAxis:g,crossAxis:y,alignmentAxis:v}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return u&&"number"==typeof v&&(y="end"===u?-1*v:v),a?{x:y*p,y:g*f}:{x:g*f,y:y*p}}var P=n(84974);function N(t){let e=(0,P.L9)(t),n=parseFloat(e.width)||0,r=parseFloat(e.height)||0,i=(0,P.sb)(t),o=i?t.offsetWidth:n,u=i?t.offsetHeight:r,a=l(n)!==o||l(r)!==u;return a&&(n=o,r=u),{width:n,height:r,$:a}}function D(t){return(0,P.vq)(t)?t:t.contextElement}function F(t){let e=D(t);if(!(0,P.sb)(e))return a(1);let n=e.getBoundingClientRect(),{width:r,height:i,$:o}=N(e),u=(o?l(n.width):n.width)/r,f=(o?l(n.height):n.height)/i;return u&&Number.isFinite(u)||(u=1),f&&Number.isFinite(f)||(f=1),{x:u,y:f}}let I=a(0);function M(t){let e=(0,P.zk)(t);return(0,P.Tc)()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:I}function U(t,e,n,r){var i;void 0===e&&(e=!1),void 0===n&&(n=!1);let o=t.getBoundingClientRect(),l=D(t),u=a(1);e&&(r?(0,P.vq)(r)&&(u=F(r)):u=F(t));let f=(void 0===(i=n)&&(i=!1),r&&i&&r===(0,P.zk)(l))?M(l):a(0),c=(o.left+f.x)/u.x,s=(o.top+f.y)/u.y,d=o.width/u.x,p=o.height/u.y;if(l&&r){let t=(0,P.zk)(l),e=(0,P.vq)(r)?(0,P.zk)(r):r,n=t,i=(0,P._m)(n);for(;i&&e!==n;){let t=F(i),e=i.getBoundingClientRect(),r=(0,P.L9)(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,p*=t.y,c+=o,s+=l,n=(0,P.zk)(i),i=(0,P._m)(n)}}return E({width:d,height:p,x:c,y:s})}function q(t,e){let n=(0,P.CP)(t).scrollLeft;return e?e.left+n:U((0,P.ep)(t)).left+n}function V(t,e){let n=t.getBoundingClientRect();return{x:n.left+e.scrollLeft-q(t,n),y:n.top+e.scrollTop}}function z(t,e,n){let r;if("viewport"===e||"layoutViewport"===e)r=function(t,e,n){void 0===n&&(n="viewport");let r="layoutViewport"===n,i=(0,P.zk)(t),o=(0,P.ep)(t),l=i.visualViewport,u=o.clientWidth,a=o.clientHeight,f=0,c=0;if(l){let t=!(0,P.Tc)()||"fixed"===e;r?t||(f=-l.offsetLeft,c=-l.offsetTop):(u=l.width,a=l.height,t&&(f=l.offsetLeft,c=l.offsetTop))}if(0>=q(o)){let t=o.ownerDocument,e=t.body,n=getComputedStyle(e),r="CSS1Compat"===t.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(o.clientWidth-e.clientWidth-r),l="stable both-edges"===getComputedStyle(o).scrollbarGutter?i/2:i;l<=25&&(u-=l)}return{width:u,height:a,x:f,y:c}}(t,n,e);else if("document"===e)r=function(t){let e=(0,P.CP)(t),n=t.ownerDocument.body,r=o(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=o(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),l=-e.scrollLeft+q(t),u=-e.scrollTop;return"rtl"===(0,P.L9)(n).direction&&(l+=o(t.clientWidth,n.clientWidth)-r),{width:r,height:i,x:l,y:u}}((0,P.ep)(t));else if((0,P.vq)(e))r=function(t,e){let n=U(t,!0,"fixed"===e),r=n.top+t.clientTop,i=n.left+t.clientLeft,o=F(t),l=t.clientWidth*o.x,u=t.clientHeight*o.y;return{width:l,height:u,x:i*o.x,y:r*o.y}}(e,n);else{let n=M(t);r={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return E(r)}function H(t){return"static"===(0,P.L9)(t).position}function W(t,e){if(!(0,P.sb)(t)||"fixed"===(0,P.L9)(t).position)return null;if(e)return e(t);let n=t.offsetParent;return(0,P.ep)(t)===n&&(n=n.ownerDocument.body),n}function _(t,e){let n=(0,P.zk)(t);if((0,P.Tf)(t))return n;if(!(0,P.sb)(t)){let e=(0,P.$4)(t);for(;e&&!(0,P.eu)(e);){if((0,P.vq)(e)&&!H(e))return e;e=(0,P.$4)(e)}return n}let r=W(t,e);for(;r&&(0,P.Lv)(r)&&H(r);)r=W(r,e);return r&&(0,P.eu)(r)&&H(r)&&!(0,P.sQ)(r)?n:r||(0,P.gJ)(t)||n}let B=async function(t){let e=this.getOffsetParent||_,n=this.getDimensions,r=await n(t.floating);return{reference:function(t,e,n){let r=(0,P.sb)(e),i=(0,P.ep)(e),o="fixed"===n,l=U(t,!0,o,e),u={scrollLeft:0,scrollTop:0},f=a(0);if((r||!o)&&(("body"!==(0,P.mq)(e)||(0,P.ZU)(i))&&(u=(0,P.CP)(e)),r)){let t=U(e,!0,o,e);f.x=t.x+e.clientLeft,f.y=t.y+e.clientTop}!r&&i&&(f.x=q(i));let c=!i||r||o?a(0):V(i,u);return{x:l.left+u.scrollLeft-f.x-c.x,y:l.top+u.scrollTop-f.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}}},$={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:r,strategy:i}=t,o="fixed"===i,l=(0,P.ep)(r),u=!!e&&(0,P.Tf)(e.floating);if(r===l||u&&o)return n;let f={scrollLeft:0,scrollTop:0},c=a(1),s=a(0),d=(0,P.sb)(r);if((d||!o)&&(("body"!==(0,P.mq)(r)||(0,P.ZU)(l))&&(f=(0,P.CP)(r)),d)){let t=U(r);c=F(r),s.x=t.x+r.clientLeft,s.y=t.y+r.clientTop}let p=!l||d||o?a(0):V(l,f);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-f.scrollLeft*c.x+s.x+p.x,y:n.y*c.y-f.scrollTop*c.y+s.y+p.y}},getDocumentElement:P.ep,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:r,strategy:l}=t,u=[..."clippingAncestors"===n?(0,P.Tf)(e)?[]:function(t,e){let n=e.get(t);if(n)return n;let r=(0,P.v9)(t,[],!1).filter(t=>(0,P.vq)(t)&&"body"!==(0,P.mq)(t)),i=null,o="fixed"===(0,P.L9)(t).position,l=o?(0,P.$4)(t):t;for(;(0,P.vq)(l)&&!(0,P.eu)(l);){let t=(0,P.L9)(l),e=(0,P.sQ)(l),n=i?i.position:o?"fixed":"";e||"fixed"!==n&&("absolute"!==n||"static"!==t.position)?i=t:r=r.filter(t=>t!==l),l=(0,P.$4)(l)}return e.set(t,r),r}(e,this._c):[].concat(n),r],a=z(e,u[0],l),f=a.top,c=a.right,s=a.bottom,d=a.left;for(let t=1;t<u.length;t++){let n=z(e,u[t],l);f=o(n.top,f),c=i(n.right,c),s=i(n.bottom,s),d=o(n.left,d)}return{width:c-d,height:s-f,x:d,y:f}},getOffsetParent:_,getElementRects:B,getClientRects:function(t){return t.getClientRects?Array.from(t.getClientRects()):[]},getDimensions:function(t){let{width:e,height:n}=N(t);return{width:e,height:n}},getScale:F,isElement:P.vq,isRTL:function(t){return"rtl"===(0,P.L9)(t).direction}};function j(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Y(t,e,n,r){let l;void 0===r&&(r={});let{ancestorScroll:a=!0,ancestorResize:f=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,p=D(t),h=a||f?[...p?(0,P.v9)(p):[],...e?(0,P.v9)(e):[]]:[];h.forEach(t=>{a&&t.addEventListener("scroll",n),f&&t.addEventListener("resize",n)});let m=p&&s?function(t,e,n){let r,l=null,a=(0,P.ep)(t);function f(){var t;clearTimeout(r),null==(t=l)||t.disconnect(),l=null}function c(n,s){void 0===n&&(n=!1),void 0===s&&(s=1),f();let d=t.getBoundingClientRect(),{left:p,top:h,width:m,height:g}=d;if(n||e(),!m||!g)return;let y=u(h),v=u(a.clientWidth-(p+m)),w={rootMargin:-y+"px "+-v+"px "+-u(a.clientHeight-(h+g))+"px "+-u(p)+"px",threshold:o(0,i(1,s))||1},b=!0;function x(e){let n=e[0].intersectionRatio;if(!j(d,t.getBoundingClientRect()))return c();if(n!==s){if(!b)return c();n?c(!1,n):r=setTimeout(()=>{c(!1,1e-7)},1e3)}b=!1}try{l=new IntersectionObserver(x,{...w,root:a.ownerDocument})}catch(t){l=new IntersectionObserver(x,w)}l.observe(t)}let s=(0,P.zk)(t),d=()=>c(n);return s.addEventListener("resize",d),c(!0),()=>{s.removeEventListener("resize",d),f()}}(p,n,f):null,g=-1,y=null;c&&(y=new ResizeObserver(t=>{let[r]=t;r&&r.target===p&&y&&e&&(y.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var t;null==(t=y)||t.observe(e)})),n()}),p&&!d&&y.observe(p),e&&y.observe(e));let v=d?U(t):null;return d&&function e(){let r=U(t);v&&!j(v,r)&&n(),v=r,l=requestAnimationFrame(e)}(),n(),()=>{var t;h.forEach(t=>{a&&t.removeEventListener("scroll",n),f&&t.removeEventListener("resize",n)}),null==m||m(),null==(t=y)||t.disconnect(),y=null,d&&cancelAnimationFrame(l)}}let Q=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:u}=e,a=await k(e,t);return l===(null==(n=u.offset)?void 0:n.placement)&&null!=(r=u.arrow)&&r.alignmentOffset?{}:{x:i+a.x,y:o+a.y,data:{...a,placement:l}}}}},Z=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:r,placement:l,platform:u}=e,{mainAxis:a=!0,crossAxis:f=!1,limiter:s={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...d}=c(t,e),h={x:n,y:r},g=await u.detectOverflow(e,d),y=m(l),v=p(y),w=h[v],b=h[y],x=(t,e)=>o(e+g["y"===t?"top":"left"],i(e,e-g["y"===t?"bottom":"right"]));a&&(w=x(v,w)),f&&(b=x(y,b));let R=s.fn({...e,[v]:w,[y]:b});return{...R,data:{x:R.x-n,y:R.y-r,enabled:{[v]:a,[y]:f}}}}}},G=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,r,i,o,l;let{placement:u,middlewareData:a,rects:f,initialPlacement:R,platform:E,elements:S}=e,{mainAxis:L=!0,crossAxis:T=!0,fallbackPlacements:C,fallbackStrategy:A="bestFit",fallbackAxisSideDirection:O="none",flipAlignment:k=!0,...P}=c(t,e);if(null!=(n=a.arrow)&&n.alignmentOffset)return{};let N=s(u),D=m(R),F=s(R)===R,I=await (null==E.isRTL?void 0:E.isRTL(S.floating)),M=C||(F||!k?[x(R)]:function(t){let e=x(t);return[g(t),e,g(e)]}(R)),U="none"!==O;!C&&U&&M.push(...function(t,e,n,r){let i=d(t),o=function(t,e,n){switch(t){case"top":case"bottom":if(n)return e?v:y;return e?y:v;case"left":case"right":return e?w:b;default:return[]}}(s(t),"start"===n,r);return i&&(o=o.map(t=>t+"-"+i),e&&(o=o.concat(o.map(g)))),o}(R,k,O,I));let q=[R,...M],V=await E.detectOverflow(e,P),z=[],H=(null==(r=a.flip)?void 0:r.overflows)||[];if(L&&z.push(V[N]),T){let t=function(t,e,n){void 0===n&&(n=!1);let r=d(t),i=p(m(t)),o=h(i),l="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[o]>e.floating[o]&&(l=x(l)),[l,x(l)]}(u,f,I);z.push(V[t[0]],V[t[1]])}if(H=[...H,{placement:u,overflows:z}],!z.every(t=>t<=0)){let t=((null==(i=a.flip)?void 0:i.index)||0)+1,e=q[t];if(e&&("alignment"!==T||D===m(e)||H.every(t=>m(t.placement)!==D||t.overflows[0]>0)))return{data:{index:t,overflows:H},reset:{placement:e}};let n=null==(o=H.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:o.placement;if(!n)switch(A){case"bestFit":{let t=null==(l=H.filter(t=>{if(U){let e=m(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=R}if(u!==n)return{reset:{placement:n}}}return{}}}},J=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){let{rects:n,platform:r}=e,{strategy:i="referenceHidden",...o}=c(t,e);switch(i){case"referenceHidden":{let t=C(await r.detectOverflow(e,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:A(t)}}}case"escaped":{let t=C(await r.detectOverflow(e,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:t,escaped:A(t)}}}default:return{}}}}},X=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:r,placement:l,rects:u,platform:a,elements:f,middlewareData:s}=e,{element:g,padding:y=0}=c(t,e)||{};if(null==g)return{};let v=R(y),w={x:n,y:r},b=p(m(l)),x=h(b),E=await a.getDimensions(g),S="y"===b,L=S?"clientHeight":"clientWidth",T=u.reference[x]+u.reference[b]-w[b]-u.floating[x],C=w[b]-u.reference[b],A=await (null==a.getOffsetParent?void 0:a.getOffsetParent(g)),O=A?A[L]:0;O&&await (null==a.isElement?void 0:a.isElement(A))||(O=f.floating[L]||u.floating[x]);let k=O/2-E[x]/2-1,P=i(v[S?"top":"left"],k),N=i(v[S?"bottom":"right"],k),D=O-E[x]-N,F=O/2-E[x]/2+(T/2-C/2),I=o(P,i(F,D)),M=!s.arrow&&null!=d(l)&&F!==I&&u.reference[x]/2-(F<P?P:N)-E[x]/2<0,U=M?F<P?F-P:F-D:0;return{[b]:w[b]+U,data:{[b]:I,centerOffset:F-I-U,...M&&{alignmentOffset:U}},reset:M}}}),K=(t,e,n)=>{let r=new Map,i=null!=n?n:{},o={...$,...i.platform,_c:r};return T(t,e,{...i,platform:o})}},84974:(t,e,n)=>{let r;function i(){return"undefined"!=typeof window}function o(t){return a(t)?(t.nodeName||"").toLowerCase():"#document"}function l(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function u(t){var e;return null==(e=(a(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function a(t){return!!i()&&(t instanceof Node||t instanceof l(t).Node)}function f(t){return!!i()&&(t instanceof Element||t instanceof l(t).Element)}function c(t){return!!i()&&(t instanceof HTMLElement||t instanceof l(t).HTMLElement)}function s(t){return!!i()&&"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof l(t).ShadowRoot)}function d(t){let{overflow:e,overflowX:n,overflowY:r,display:i}=R(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&"inline"!==i&&"contents"!==i}function p(t){return/^(table|td|th)$/.test(o(t))}function h(t){try{if(t.matches(":popover-open"))return!0}catch(t){}try{return t.matches(":modal")}catch(t){return!1}}n.d(e,{$4:()=>S,CP:()=>E,L9:()=>R,Lv:()=>p,Ng:()=>s,Tc:()=>b,Tf:()=>h,ZU:()=>d,_m:()=>L,ep:()=>u,eu:()=>x,gJ:()=>w,mq:()=>o,sQ:()=>v,sb:()=>c,v9:()=>function t(e,n,r){var i;void 0===n&&(n=[]),void 0===r&&(r=!0);let o=function t(e){let n=S(e);return x(n)?(e.ownerDocument||e).body:c(n)&&d(n)?n:t(n)}(e),u=o===(null==(i=e.ownerDocument)?void 0:i.body),a=l(o);if(!u)return n.concat(o,t(o,[],r));{let e=L(a);return n.concat(a,a.visualViewport||[],d(o)?o:[],e&&r?t(e):[])}},vq:()=>f,zk:()=>l});let m=/transform|translate|scale|rotate|perspective|filter/,g=/paint|layout|strict|content/,y=t=>!!t&&"none"!==t;function v(t){let e=f(t)?R(t):t;return y(e.transform)||y(e.translate)||y(e.scale)||y(e.rotate)||y(e.perspective)||!b()&&(y(e.backdropFilter)||y(e.filter))||m.test(e.willChange||"")||g.test(e.contain||"")}function w(t){let e=S(t);for(;c(e)&&!x(e);){if(v(e))return e;if(h(e))break;e=S(e)}return null}function b(){return null==r&&(r="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),r}function x(t){return/^(html|body|#document)$/.test(o(t))}function R(t){return l(t).getComputedStyle(t)}function E(t){return f(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function S(t){if("html"===o(t))return t;let e=t.assignedSlot||t.parentNode||s(t)&&t.host||u(t);return s(e)?e.host:e}function L(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}},94882:(t,e,n)=>{n.d(e,{BN:()=>p,UE:()=>g,UU:()=>h,cY:()=>d,jD:()=>m,we:()=>s});var r=n(50698),i=n(14232),o=n(98477),l="undefined"!=typeof document?i.useLayoutEffect:function(){};function u(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(!u(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)&&!u(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}function a(t){return"undefined"==typeof window?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function f(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:p,floating:h}={},transform:m=!0,whileElementsMounted:g,open:y}=t,[v,w]=i.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[b,x]=i.useState(s);u(b,s)||x(s);let[R,E]=i.useState(null),[S,L]=i.useState(null),T=i.useCallback(t=>{t!==k.current&&(k.current=t,E(t))},[]),C=i.useCallback(t=>{t!==P.current&&(P.current=t,L(t))},[]),A=p||R,O=h||S,k=i.useRef(null),P=i.useRef(null),N=i.useRef(v),D=null!=g,F=c(g),I=c(d),M=c(y),U=i.useCallback(()=>{if(!k.current||!P.current)return;let t={placement:e,strategy:n,middleware:b};I.current&&(t.platform=I.current),(0,r.rD)(k.current,P.current,t).then(t=>{let e={...t,isPositioned:!1!==M.current};q.current&&!u(N.current,e)&&(N.current=e,o.flushSync(()=>{w(e)}))})},[b,e,n,I,M]);l(()=>{!1===y&&N.current.isPositioned&&(N.current.isPositioned=!1,w(t=>({...t,isPositioned:!1})))},[y]);let q=i.useRef(!1);l(()=>(q.current=!0,()=>{q.current=!1}),[]),l(()=>{if(A&&(k.current=A),O&&(P.current=O),A&&O){if(F.current)return F.current(A,O,U);U()}},[A,O,U,F,D]);let V=i.useMemo(()=>({reference:k,floating:P,setReference:T,setFloating:C}),[T,C]),z=i.useMemo(()=>({reference:A,floating:O}),[A,O]),H=i.useMemo(()=>{let t={position:n,left:0,top:0};if(!z.floating)return t;let e=f(z.floating,v.x),r=f(z.floating,v.y);return m?{...t,transform:"translate("+e+"px, "+r+"px)",...a(z.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:e,top:r}},[n,m,z.floating,v.x,v.y]);return i.useMemo(()=>({...v,update:U,refs:V,elements:z,floatingStyles:H}),[v,U,V,z,H])}let d=(t,e)=>{let n=(0,r.cY)(t);return{name:n.name,fn:n.fn,options:[t,e]}},p=(t,e)=>{let n=(0,r.BN)(t);return{name:n.name,fn:n.fn,options:[t,e]}},h=(t,e)=>{let n=(0,r.UU)(t);return{name:n.name,fn:n.fn,options:[t,e]}},m=(t,e)=>{let n=(0,r.jD)(t);return{name:n.name,fn:n.fn,options:[t,e]}},g=(t,e)=>{let n=(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);return{name:n.name,fn:n.fn,options:[t,e]}}}}]);