"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6551],{4569:(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] *),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] *)',o="u"<typeof Element,i=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,l=!o&&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},c=function(t,e,n){if(u(t))return[];var o=Array.prototype.slice.apply(t.querySelectorAll(r));return e&&i.call(t,r)&&o.unshift(t),o=o.filter(n)},f=function(t,e,n){for(var o=[],l=Array.from(t);l.length;){var a=l.shift();if(!u(a,!1))if("SLOT"===a.tagName){var c=a.assignedElements(),s=f(c.length?c:a.children,!0,n);n.flatten?o.push.apply(o,s):o.push({scopeParent:a,candidates:s})}else{i.call(a,r)&&n.filter(a)&&(e||!t.includes(a))&&o.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=f(!0===d?a.children:d.children,!0,n);n.flatten?o.push.apply(o,h):o.push({scopeParent:a,candidates:h})}else l.unshift.apply(l,a.children)}}return o},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("u">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 o=g(e,t.form);return!o||o===t},v=function(t){return m(t)&&"radio"===t.type&&!y(t)},w=function(t){var e,n,r,o,i,u,a,c=t&&l(t),f=null==(e=c)?void 0:e.host,s=!1;if(c&&c!==t)for(s=!!(null!=(n=f)&&null!=(r=n.ownerDocument)&&r.contains(f)||null!=t&&null!=(o=t.ownerDocument)&&o.contains(t));!s&&f;)s=!!(null!=(u=f=null==(i=c=l(f))?void 0:i.host)&&null!=(a=u.ownerDocument)&&a.contains(f));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});if("hidden"===getComputedStyle(t).visibility)return!0;var o=i.call(t,"details>summary:first-of-type")?t.parentElement:t;if(i.call(o,"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 u=t;t;){var a=t.parentElement,c=l(t);if(a&&!a.shadowRoot&&!0===r(a))return b(t);t=t.assignedSlot?t.assignedSlot:a||c===t.ownerDocument?a:c.host}t=u}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!!i.call(e,"fieldset[disabled] *")||!r.contains(t)}return!0}e=e.parentElement}return!1},S=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))},E=function(t,e){return!(v(e)||0>d(e))&&!!S(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 o=!!t.scopeParent,i=o?t.scopeParent:t,l=p(i,o),u=o?T(t.candidates):i;0===l?o?e.push.apply(e,u):e.push(i):n.push({documentOrder:r,tabIndex:l,item:t,isScope:o,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?f([t],e.includeContainer,{filter:E.bind(null,e),flatten:!1,getShadowRoot:e.getShadowRoot,shadowRootFilter:L}):c(t,e.includeContainer,E.bind(null,e)))},A=function(t,e){if(e=e||{},!t)throw Error("No node provided");return!1!==i.call(t,r)&&E(e,t)}},4901:(t,e,n)=>{n.d(e,{UE:()=>tt,ll:()=>Q,rD:()=>te,UU:()=>X,jD:()=>K,cY:()=>G,BN:()=>J});let r=["top","right","bottom","left"],o=Math.min,i=Math.max,l={left:"right",right:"left",bottom:"top",top:"bottom"};function u(t,e){return"function"==typeof t?t(e):t}function a(t){return t.split("-")[0]}function c(t){return t.split("-")[1]}function f(t){return"x"===t?"y":"x"}function s(t){return"y"===t?"height":"width"}function d(t){let e=t[0];return"t"===e||"b"===e?"y":"x"}function p(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}let h=["left","right"],m=["right","left"],g=["top","bottom"],y=["bottom","top"];function v(t){let e=a(t);return l[e]+t.slice(e.length)}function w(t){return"number"!=typeof t?{top:0,right:0,bottom:0,left:0,...t}:{top:t,right:t,bottom:t,left:t}}function b(t){let{x:e,y:n,width:r,height:o}=t;return{width:r,height:o,top:n,left:e,right:e+r,bottom:n+o,x:e,y:n}}function x(t,e,n){let r,{reference:o,floating:i}=t,l=d(e),u=f(d(e)),p=s(u),h=a(e),m="y"===l,g=o.x+o.width/2-i.width/2,y=o.y+o.height/2-i.height/2,v=o[p]/2-i[p]/2;switch(h){case"top":r={x:g,y:o.y-i.height};break;case"bottom":r={x:g,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:y};break;case"left":r={x:o.x-i.width,y:y};break;default:r={x:o.x,y:o.y}}switch(c(e)){case"start":r[u]-=v*(n&&m?-1:1);break;case"end":r[u]+=v*(n&&m?-1:1)}return r}async function R(t,e){var n;void 0===e&&(e={});let{x:r,y:o,platform:i,rects:l,elements:a,strategy:c}=t,{boundary:f="clippingAncestors",rootBoundary:s="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=u(e,t),m=w(h),g=a[p?"floating"===d?"reference":"floating":d],y=b(await i.getClippingRect({element:null==(n=await (null==i.isElement?void 0:i.isElement(g)))||n?g:g.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:f,rootBoundary:s,strategy:c})),v="floating"===d?{x:r,y:o,width:l.floating.width,height:l.floating.height}:l.reference,x=await (null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),R=await (null==i.isElement?void 0:i.isElement(x))&&await (null==i.getScale?void 0:i.getScale(x))||{x:1,y:1},S=b(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:x,strategy:c}):v);return{top:(y.top-S.top+m.top)/R.y,bottom:(S.bottom-y.bottom+m.bottom)/R.y,left:(y.left-S.left+m.left)/R.x,right:(S.right-y.right+m.right)/R.x}}let S=async(t,e,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:l}=n,u=l.detectOverflow?l:{...l,detectOverflow:R},a=await (null==l.isRTL?void 0:l.isRTL(e)),c=await l.getElementRects({reference:t,floating:e,strategy:o}),{x:f,y:s}=x(c,r,a),d=r,p=0,h={};for(let n=0;n<i.length;n++){let m=i[n];if(!m)continue;let{name:g,fn:y}=m,{x:v,y:w,data:b,reset:R}=await y({x:f,y:s,initialPlacement:r,placement:d,strategy:o,middlewareData:h,rects:c,platform:u,elements:{reference:t,floating:e}});f=null!=v?v:f,s=null!=w?w:s,h[g]={...h[g],...b},R&&p<50&&(p++,"object"==typeof R&&(R.placement&&(d=R.placement),R.rects&&(c=!0===R.rects?await l.getElementRects({reference:t,floating:e,strategy:o}):R.rects),{x:f,y:s}=x(c,d,a)),n=-1)}return{x:f,y:s,placement:d,strategy:o,middlewareData:h}};function E(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function L(t){return r.some(e=>t[e]>=0)}let T=new Set(["left","top"]);async function C(t,e){let{placement:n,platform:r,elements:o}=t,i=await (null==r.isRTL?void 0:r.isRTL(o.floating)),l=a(n),f=c(n),s="y"===d(n),p=T.has(l)?-1:1,h=i&&s?-1:1,m=u(e,t),{mainAxis:g,crossAxis:y,alignmentAxis:v}="number"==typeof m?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return f&&"number"==typeof v&&(y="end"===f?-1*v:v),s?{x:y*h,y:g*p}:{x:g*p,y:y*h}}let A=Math.min,k=Math.max,N=Math.round,P=Math.floor,D=t=>({x:t,y:t});var O=n(94455);function M(t){let e=(0,O.L9)(t),n=parseFloat(e.width)||0,r=parseFloat(e.height)||0,o=(0,O.sb)(t),i=o?t.offsetWidth:n,l=o?t.offsetHeight:r,u=N(n)!==i||N(r)!==l;return u&&(n=i,r=l),{width:n,height:r,$:u}}function F(t){return(0,O.vq)(t)?t:t.contextElement}function q(t){let e=F(t);if(!(0,O.sb)(e))return D(1);let n=e.getBoundingClientRect(),{width:r,height:o,$:i}=M(e),l=(i?N(n.width):n.width)/r,u=(i?N(n.height):n.height)/o;return l&&Number.isFinite(l)||(l=1),u&&Number.isFinite(u)||(u=1),{x:l,y:u}}let I=D(0);function U(t){let e=(0,O.zk)(t);return(0,O.Tc)()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:I}function H(t,e,n,r){var o;void 0===e&&(e=!1),void 0===n&&(n=!1);let i=t.getBoundingClientRect(),l=F(t),u=D(1);e&&(r?(0,O.vq)(r)&&(u=q(r)):u=q(t));let a=(void 0===(o=n)&&(o=!1),r&&(!o||r===(0,O.zk)(l))&&o)?U(l):D(0),c=(i.left+a.x)/u.x,f=(i.top+a.y)/u.y,s=i.width/u.x,d=i.height/u.y;if(l){let t=(0,O.zk)(l),e=r&&(0,O.vq)(r)?(0,O.zk)(r):r,n=t,o=(0,O._m)(n);for(;o&&r&&e!==n;){let t=q(o),e=o.getBoundingClientRect(),r=(0,O.L9)(o),i=e.left+(o.clientLeft+parseFloat(r.paddingLeft))*t.x,l=e.top+(o.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,f*=t.y,s*=t.x,d*=t.y,c+=i,f+=l,n=(0,O.zk)(o),o=(0,O._m)(n)}}return b({width:s,height:d,x:c,y:f})}function $(t,e){let n=(0,O.CP)(t).scrollLeft;return e?e.left+n:H((0,O.ep)(t)).left+n}function V(t,e){let n=t.getBoundingClientRect();return{x:n.left+e.scrollLeft-$(t,n),y:n.top+e.scrollTop}}function W(t,e,n){var r;let o;if("viewport"===e)o=function(t,e){let n=(0,O.zk)(t),r=(0,O.ep)(t),o=n.visualViewport,i=r.clientWidth,l=r.clientHeight,u=0,a=0;if(o){i=o.width,l=o.height;let t=(0,O.Tc)();(!t||t&&"fixed"===e)&&(u=o.offsetLeft,a=o.offsetTop)}let c=$(r);if(c<=0){let t=r.ownerDocument,e=t.body,n=getComputedStyle(e),o="CSS1Compat"===t.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,l=Math.abs(r.clientWidth-e.clientWidth-o);l<=25&&(i-=l)}else c<=25&&(i+=c);return{width:i,height:l,x:u,y:a}}(t,n);else if("document"===e){let e,n,i,l,u,a,c;r=(0,O.ep)(t),e=(0,O.ep)(r),n=(0,O.CP)(r),i=r.ownerDocument.body,l=k(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),u=k(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),a=-n.scrollLeft+$(r),c=-n.scrollTop,"rtl"===(0,O.L9)(i).direction&&(a+=k(e.clientWidth,i.clientWidth)-l),o={width:l,height:u,x:a,y:c}}else if((0,O.vq)(e)){let t,r,i,l,u,a;r=(t=H(e,!0,"fixed"===n)).top+e.clientTop,i=t.left+e.clientLeft,l=(0,O.sb)(e)?q(e):D(1),u=e.clientWidth*l.x,a=e.clientHeight*l.y,o={width:u,height:a,x:i*l.x,y:r*l.y}}else{let n=U(t);o={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return b(o)}function z(t){return"static"===(0,O.L9)(t).position}function _(t,e){if(!(0,O.sb)(t)||"fixed"===(0,O.L9)(t).position)return null;if(e)return e(t);let n=t.offsetParent;return(0,O.ep)(t)===n&&(n=n.ownerDocument.body),n}function B(t,e){let n=(0,O.zk)(t);if((0,O.Tf)(t))return n;if(!(0,O.sb)(t)){let e=(0,O.$4)(t);for(;e&&!(0,O.eu)(e);){if((0,O.vq)(e)&&!z(e))return e;e=(0,O.$4)(e)}return n}let r=_(t,e);for(;r&&(0,O.Lv)(r)&&z(r);)r=_(r,e);return r&&(0,O.eu)(r)&&z(r)&&!(0,O.sQ)(r)?n:r||(0,O.gJ)(t)||n}let j=async function(t){let e=this.getOffsetParent||B,n=this.getDimensions,r=await n(t.floating);return{reference:function(t,e,n){let r=(0,O.sb)(e),o=(0,O.ep)(e),i="fixed"===n,l=H(t,!0,i,e),u={scrollLeft:0,scrollTop:0},a=D(0);if(r||!r&&!i)if(("body"!==(0,O.mq)(e)||(0,O.ZU)(o))&&(u=(0,O.CP)(e)),r){let t=H(e,!0,i,e);a.x=t.x+e.clientLeft,a.y=t.y+e.clientTop}else o&&(a.x=$(o));i&&!r&&o&&(a.x=$(o));let c=!o||r||i?D(0):V(o,u);return{x:l.left+u.scrollLeft-a.x-c.x,y:l.top+u.scrollTop-a.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}}},Y={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:r,strategy:o}=t,i="fixed"===o,l=(0,O.ep)(r),u=!!e&&(0,O.Tf)(e.floating);if(r===l||u&&i)return n;let a={scrollLeft:0,scrollTop:0},c=D(1),f=D(0),s=(0,O.sb)(r);if((s||!s&&!i)&&(("body"!==(0,O.mq)(r)||(0,O.ZU)(l))&&(a=(0,O.CP)(r)),s)){let t=H(r);c=q(r),f.x=t.x+r.clientLeft,f.y=t.y+r.clientTop}let d=!l||s||i?D(0):V(l,a);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-a.scrollLeft*c.x+f.x+d.x,y:n.y*c.y-a.scrollTop*c.y+f.y+d.y}},getDocumentElement:O.ep,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:r,strategy:o}=t,i=[..."clippingAncestors"===n?(0,O.Tf)(e)?[]:function(t,e){let n=e.get(t);if(n)return n;let r=(0,O.v9)(t,[],!1).filter(t=>(0,O.vq)(t)&&"body"!==(0,O.mq)(t)),o=null,i="fixed"===(0,O.L9)(t).position,l=i?(0,O.$4)(t):t;for(;(0,O.vq)(l)&&!(0,O.eu)(l);){let e=(0,O.L9)(l),n=(0,O.sQ)(l);n||"fixed"!==e.position||(o=null),(i?n||o:!(!n&&"static"===e.position&&o&&("absolute"===o.position||"fixed"===o.position)||(0,O.ZU)(l)&&!n&&function t(e,n){let r=(0,O.$4)(e);return!(r===n||!(0,O.vq)(r)||(0,O.eu)(r))&&("fixed"===(0,O.L9)(r).position||t(r,n))}(t,l)))?o=e:r=r.filter(t=>t!==l),l=(0,O.$4)(l)}return e.set(t,r),r}(e,this._c):[].concat(n),r],l=W(e,i[0],o),u=l.top,a=l.right,c=l.bottom,f=l.left;for(let t=1;t<i.length;t++){let n=W(e,i[t],o);u=k(n.top,u),a=A(n.right,a),c=A(n.bottom,c),f=k(n.left,f)}return{width:a-f,height:c-u,x:f,y:u}},getOffsetParent:B,getElementRects:j,getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){let{width:e,height:n}=M(t);return{width:e,height:n}},getScale:q,isElement:O.vq,isRTL:function(t){return"rtl"===(0,O.L9)(t).direction}};function Z(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Q(t,e,n,r){let o;void 0===r&&(r={});let{ancestorScroll:i=!0,ancestorResize:l=!0,elementResize:u="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:c=!1}=r,f=F(t),s=i||l?[...f?(0,O.v9)(f):[],...e?(0,O.v9)(e):[]]:[];s.forEach(t=>{i&&t.addEventListener("scroll",n,{passive:!0}),l&&t.addEventListener("resize",n)});let d=f&&a?function(t,e){let n,r=null,o=(0,O.ep)(t);function i(){var t;clearTimeout(n),null==(t=r)||t.disconnect(),r=null}return!function l(u,a){void 0===u&&(u=!1),void 0===a&&(a=1),i();let c=t.getBoundingClientRect(),{left:f,top:s,width:d,height:p}=c;if(u||e(),!d||!p)return;let h={rootMargin:-P(s)+"px "+-P(o.clientWidth-(f+d))+"px "+-P(o.clientHeight-(s+p))+"px "+-P(f)+"px",threshold:k(0,A(1,a))||1},m=!0;function g(e){let r=e[0].intersectionRatio;if(r!==a){if(!m)return l();r?l(!1,r):n=setTimeout(()=>{l(!1,1e-7)},1e3)}1!==r||Z(c,t.getBoundingClientRect())||l(),m=!1}try{r=new IntersectionObserver(g,{...h,root:o.ownerDocument})}catch(t){r=new IntersectionObserver(g,h)}r.observe(t)}(!0),i}(f,n):null,p=-1,h=null;u&&(h=new ResizeObserver(t=>{let[r]=t;r&&r.target===f&&h&&e&&(h.unobserve(e),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var t;null==(t=h)||t.observe(e)})),n()}),f&&!c&&h.observe(f),e&&h.observe(e));let m=c?H(t):null;return c&&function e(){let r=H(t);m&&!Z(m,r)&&n(),m=r,o=requestAnimationFrame(e)}(),n(),()=>{var t;s.forEach(t=>{i&&t.removeEventListener("scroll",n),l&&t.removeEventListener("resize",n)}),null==d||d(),null==(t=h)||t.disconnect(),h=null,c&&cancelAnimationFrame(o)}}let G=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,r;let{x:o,y:i,placement:l,middlewareData:u}=e,a=await C(e,t);return l===(null==(n=u.offset)?void 0:n.placement)&&null!=(r=u.arrow)&&r.alignmentOffset?{}:{x:o+a.x,y:i+a.y,data:{...a,placement:l}}}}},J=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:r,placement:l,platform:c}=e,{mainAxis:s=!0,crossAxis:p=!1,limiter:h={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...m}=u(t,e),g={x:n,y:r},y=await c.detectOverflow(e,m),v=d(a(l)),w=f(v),b=g[w],x=g[v];if(s){let t="y"===w?"top":"left",e="y"===w?"bottom":"right",n=b+y[t],r=b-y[e];b=i(n,o(b,r))}if(p){let t="y"===v?"top":"left",e="y"===v?"bottom":"right",n=x+y[t],r=x-y[e];x=i(n,o(x,r))}let R=h.fn({...e,[w]:b,[v]:x});return{...R,data:{x:R.x-n,y:R.y-r,enabled:{[w]:s,[v]:p}}}}}},X=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,r,o,i,l,w,b,x;let R,S,E,{placement:L,middlewareData:T,rects:C,initialPlacement:A,platform:k,elements:N}=e,{mainAxis:P=!0,crossAxis:D=!0,fallbackPlacements:O,fallbackStrategy:M="bestFit",fallbackAxisSideDirection:F="none",flipAlignment:q=!0,...I}=u(t,e);if(null!=(n=T.arrow)&&n.alignmentOffset)return{};let U=a(L),H=d(A),$=a(A)===A,V=await (null==k.isRTL?void 0:k.isRTL(N.floating)),W=O||($||!q?[v(A)]:(R=v(A),[p(A),R,p(R)])),z="none"!==F;!O&&z&&W.push(...(S=c(A),E=function(t,e,n){switch(t){case"top":case"bottom":if(n)return e?m:h;return e?h:m;case"left":case"right":return e?g:y;default:return[]}}(a(A),"start"===F,V),S&&(E=E.map(t=>t+"-"+S),q&&(E=E.concat(E.map(p)))),E));let _=[A,...W],B=await k.detectOverflow(e,I),j=[],Y=(null==(r=T.flip)?void 0:r.overflows)||[];if(P&&j.push(B[U]),D){let t,e,n,r,o=(w=L,b=C,void 0===(x=V)&&(x=!1),t=c(w),n=s(e=f(d(w))),r="x"===e?t===(x?"end":"start")?"right":"left":"start"===t?"bottom":"top",b.reference[n]>b.floating[n]&&(r=v(r)),[r,v(r)]);j.push(B[o[0]],B[o[1]])}if(Y=[...Y,{placement:L,overflows:j}],!j.every(t=>t<=0)){let t=((null==(o=T.flip)?void 0:o.index)||0)+1,e=_[t];if(e&&("alignment"!==D||H===d(e)||Y.every(t=>d(t.placement)!==H||t.overflows[0]>0)))return{data:{index:t,overflows:Y},reset:{placement:e}};let n=null==(i=Y.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:i.placement;if(!n)switch(M){case"bestFit":{let t=null==(l=Y.filter(t=>{if(z){let e=d(t.placement);return e===H||"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(L!==n)return{reset:{placement:n}}}return{}}}},K=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){let{rects:n,platform:r}=e,{strategy:o="referenceHidden",...i}=u(t,e);switch(o){case"referenceHidden":{let t=E(await r.detectOverflow(e,{...i,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:L(t)}}}case"escaped":{let t=E(await r.detectOverflow(e,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:t,escaped:L(t)}}}default:return{}}}}},tt=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:r,placement:l,rects:a,platform:p,elements:h,middlewareData:m}=e,{element:g,padding:y=0}=u(t,e)||{};if(null==g)return{};let v=w(y),b={x:n,y:r},x=f(d(l)),R=s(x),S=await p.getDimensions(g),E="y"===x,L=E?"clientHeight":"clientWidth",T=a.reference[R]+a.reference[x]-b[x]-a.floating[R],C=b[x]-a.reference[x],A=await (null==p.getOffsetParent?void 0:p.getOffsetParent(g)),k=A?A[L]:0;k&&await (null==p.isElement?void 0:p.isElement(A))||(k=h.floating[L]||a.floating[R]);let N=k/2-S[R]/2-1,P=o(v[E?"top":"left"],N),D=o(v[E?"bottom":"right"],N),O=k-S[R]-D,M=k/2-S[R]/2+(T/2-C/2),F=i(P,o(M,O)),q=!m.arrow&&null!=c(l)&&M!==F&&a.reference[R]/2-(M<P?P:D)-S[R]/2<0,I=q?M<P?M-P:M-O:0;return{[x]:b[x]+I,data:{[x]:F,centerOffset:M-F-I,...q&&{alignmentOffset:I}},reset:q}}}),te=(t,e,n)=>{let r=new Map,o={platform:Y,...n},i={...o.platform,_c:r};return S(t,e,{...o,platform:i})}},7596:(t,e,n)=>{n.d(e,{g:()=>r});function r(t,e){return`finkit-widgets-${e}-${t}`}},9683:(t,e,n)=>{n.d(e,{BN:()=>p,UE:()=>g,UU:()=>h,cY:()=>d,jD:()=>m,we:()=>s});var r=n(4901),o=n(12115),i=n(47650),l="u">typeof document?o.useLayoutEffect:function(){};function u(t,e){let n,r,o;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=(o=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(e,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!t.$$typeof)&&!u(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 f(t){let e=o.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]=o.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[b,x]=o.useState(s);u(b,s)||x(s);let[R,S]=o.useState(null),[E,L]=o.useState(null),T=o.useCallback(t=>{t!==N.current&&(N.current=t,S(t))},[]),C=o.useCallback(t=>{t!==P.current&&(P.current=t,L(t))},[]),A=p||R,k=h||E,N=o.useRef(null),P=o.useRef(null),D=o.useRef(v),O=null!=g,M=f(g),F=f(d),q=f(y),I=o.useCallback(()=>{if(!N.current||!P.current)return;let t={placement:e,strategy:n,middleware:b};F.current&&(t.platform=F.current),(0,r.rD)(N.current,P.current,t).then(t=>{let e={...t,isPositioned:!1!==q.current};U.current&&!u(D.current,e)&&(D.current=e,i.flushSync(()=>{w(e)}))})},[b,e,n,F,q]);l(()=>{!1===y&&D.current.isPositioned&&(D.current.isPositioned=!1,w(t=>({...t,isPositioned:!1})))},[y]);let U=o.useRef(!1);l(()=>(U.current=!0,()=>{U.current=!1}),[]),l(()=>{if(A&&(N.current=A),k&&(P.current=k),A&&k){if(M.current)return M.current(A,k,I);I()}},[A,k,I,M,O]);let H=o.useMemo(()=>({reference:N,floating:P,setReference:T,setFloating:C}),[T,C]),$=o.useMemo(()=>({reference:A,floating:k}),[A,k]),V=o.useMemo(()=>{let t={position:n,left:0,top:0};if(!$.floating)return t;let e=c($.floating,v.x),r=c($.floating,v.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,v.x,v.y]);return o.useMemo(()=>({...v,update:I,refs:H,elements:$,floatingStyles:V}),[v,I,H,$,V])}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={name:"arrow",options:t,fn(e){let{element:n,padding:o}="function"==typeof t?t(e):t;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?(0,r.UE)({element:n.current,padding:o}).fn(e):{}:n?(0,r.UE)({element:n,padding:o}).fn(e):{}}};return{name:n.name,fn:n.fn,options:[t,e]}}},63056:(t,e,n)=>{n.d(e,{EW:()=>y,F2:()=>g,Go:()=>d,O_:()=>p,Pg:()=>c,RS:()=>o,WZ:()=>w,YE:()=>m,YF:()=>a,gR:()=>i,jo:()=>v,nr:()=>f,tZ:()=>h,uo:()=>l});var r=n(98192);function o(t){let e=t.activeElement;for(;(null==(n=e)||null==(n=n.shadowRoot)?void 0:n.activeElement)!=null;){var n;e=e.shadowRoot.activeElement}return e}function i(t,e){if(!t||!e)return!1;let n=null==e.getRootNode?void 0:e.getRootNode();if(t.contains(e))return!0;if(n&&(0,r.Ng)(n)){let n=e;for(;n;){if(t===n)return!0;n=n.parentNode||n.host}}return!1}function l(){let t=navigator.userAgentData;return null!=t&&t.platform?t.platform:navigator.platform}function u(){let t=navigator.userAgentData;return t&&Array.isArray(t.brands)?t.brands.map(t=>{let{brand:e,version:n}=t;return e+"/"+n}).join(" "):navigator.userAgent}function a(t){return 0===t.mozInputSource&&!!t.isTrusted||(s()&&t.pointerType?"click"===t.type&&1===t.buttons:0===t.detail&&!t.pointerType)}function c(t){return!u().includes("jsdom/")&&(!s()&&0===t.width&&0===t.height||s()&&1===t.width&&1===t.height&&0===t.pressure&&0===t.detail&&"mouse"===t.pointerType||t.width<1&&t.height<1&&0===t.pressure&&0===t.detail&&"touch"===t.pointerType)}function f(){return/apple/i.test(navigator.vendor)}function s(){let t=/android/i;return t.test(l())||t.test(u())}function d(t,e){let n=["mouse","pen"];return e||n.push("",void 0),n.includes(t)}function p(t){return"nativeEvent"in t}function h(t){return t.matches("html,body")}function m(t){return(null==t?void 0:t.ownerDocument)||document}function g(t,e){return null!=e&&("composedPath"in t?t.composedPath().includes(e):null!=t.target&&e.contains(t.target))}function y(t){return"composedPath"in t?t.composedPath()[0]:t.target}function v(t){t.preventDefault(),t.stopPropagation()}function w(t){return!!t&&"combobox"===t.getAttribute("role")&&(0,r.sb)(t)&&t.matches("input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])")}},94455:(t,e,n)=>{let r;function o(){return"u">typeof window}function i(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!!o()&&(t instanceof Node||t instanceof l(t).Node)}function c(t){return!!o()&&(t instanceof Element||t instanceof l(t).Element)}function f(t){return!!o()&&(t instanceof HTMLElement||t instanceof l(t).HTMLElement)}function s(t){return!(!o()||"u"<typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof l(t).ShadowRoot)}function d(t){let{overflow:e,overflowX:n,overflowY:r,display:o}=R(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&"inline"!==o&&"contents"!==o}function p(t){return/^(table|td|th)$/.test(i(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:()=>E,CP:()=>S,L9:()=>R,Lv:()=>p,Tc:()=>b,Tf:()=>h,ZU:()=>d,_m:()=>L,ep:()=>u,eu:()=>x,gJ:()=>w,mq:()=>i,sQ:()=>v,sb:()=>f,v9:()=>function t(e,n,r){var o;void 0===n&&(n=[]),void 0===r&&(r=!0);let i=function t(e){let n=E(e);return x(n)?e.ownerDocument?e.ownerDocument.body:e.body:f(n)&&d(n)?n:t(n)}(e),u=i===(null==(o=e.ownerDocument)?void 0:o.body),a=l(i);if(!u)return n.concat(i,t(i,[],r));{let e=L(a);return n.concat(a,a.visualViewport||[],d(i)?i:[],e&&r?t(e):[])}},vq:()=>c,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=c(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=E(t);for(;f(e)&&!x(e);){if(v(e))return e;if(h(e))break;e=E(e)}return null}function b(){return null==r&&(r="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),r}function x(t){return/^(html|body|#document)$/.test(i(t))}function R(t){return l(t).getComputedStyle(t)}function S(t){return c(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function E(t){if("html"===i(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}},98192:(t,e,n)=>{let r;function o(){return"u">typeof window}function i(t){return u(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){return!!o()&&(t instanceof Node||t instanceof l(t).Node)}function a(t){return!!o()&&(t instanceof Element||t instanceof l(t).Element)}function c(t){return!!o()&&(t instanceof HTMLElement||t instanceof l(t).HTMLElement)}function f(t){return!(!o()||"u"<typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof l(t).ShadowRoot)}function s(){return null==r&&(r="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),r}function d(t){return/^(html|body|#document)$/.test(i(t))}function p(t){return l(t).getComputedStyle(t)}function h(t){var e;if("html"===i(t))return t;let n=t.assignedSlot||t.parentNode||f(t)&&t.host||(null==(e=(u(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement);return f(n)?n.host:n}n.d(e,{$4:()=>h,L9:()=>p,Ng:()=>f,Tc:()=>s,eu:()=>d,mq:()=>i,sb:()=>c,vq:()=>a})}}]);