"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7491],{2066:(t,e,n)=>{let r;function o(){return"undefined"!=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 f(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 s(t){return!!o()&&"undefined"!=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:()=>S,CP:()=>E,L9:()=>R,Ll:()=>a,Lv:()=>p,Ng:()=>s,Tc:()=>b,Tf:()=>h,ZU:()=>d,_m:()=>L,ep:()=>u,eu:()=>x,gJ:()=>w,mq:()=>i,sQ:()=>y,sb:()=>c,v9:()=>function t(e,n,r){var o;void 0===n&&(n=[]),void 0===r&&(r=!0);let i=function t(e){let n=S(e);return x(n)?(e.ownerDocument||e).body:c(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:()=>f,zk:()=>l});let m=/transform|translate|scale|rotate|perspective|filter/,g=/paint|layout|strict|content/,v=t=>!!t&&"none"!==t;function y(t){let e=f(t)?R(t):t;return v(e.transform)||v(e.translate)||v(e.scale)||v(e.rotate)||v(e.perspective)||!b()&&(v(e.backdropFilter)||v(e.filter))||m.test(e.willChange||"")||g.test(e.contain||"")}function w(t){let e=S(t);for(;c(e)&&!x(e);){if(y(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(i(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"===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}},15234:(t,e,n)=>{n.d(e,{AO:()=>O,Kr:()=>A,nq:()=>C});var r='input:not([inert]),select:not([inert]),textarea:not([inert]),a[href]:not([inert]),button:not([inert]),[tabindex]:not(slot):not([inert]),audio[controls]:not([inert]),video[controls]:not([inert]),[contenteditable]:not([contenteditable="false"]):not([inert]),details>summary:first-of-type:not([inert]),details:not([inert])',o="undefined"==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,n){void 0===n&&(n=!0);var r,o=null==e||null==(r=e.getAttribute)?void 0:r.call(e,"inert");return""===o||"true"===o||n&&e&&t(e.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 o=Array.prototype.slice.apply(t.querySelectorAll(r));return e&&i.call(t,r)&&o.unshift(t),o=o.filter(n)},c=function t(e,n,o){for(var l=[],a=Array.from(e);a.length;){var f=a.shift();if(!u(f,!1))if("SLOT"===f.tagName){var c=f.assignedElements(),s=t(c.length?c:f.children,!0,o);o.flatten?l.push.apply(l,s):l.push({scopeParent:f,candidates:s})}else{i.call(f,r)&&o.filter(f)&&(n||!e.includes(f))&&l.push(f);var d=f.shadowRoot||"function"==typeof o.getShadowRoot&&o.getShadowRoot(f),p=!u(d,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(f));if(d&&p){var h=t(!0===d?f.children:d.children,!0,o);o.flatten?l.push.apply(l,h):l.push({scopeParent:f,candidates:h})}else a.unshift.apply(a,f.children)}}return l},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]},v=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 o=g(e,t.form);return!o||o===t},y=function(t){return m(t)&&"radio"===t.type&&!v(t)},w=function(t){var e,n,r,o,i,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!=(o=t.ownerDocument)&&o.contains(t));!s&&c;)s=!!(null!=(u=c=null==(i=f=l(c))?void 0:i.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("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&&"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,f=l(t);if(a&&!a.shadowRoot&&!0===r(a))return b(t);t=t.assignedSlot?t.assignedSlot:a||f===t.ownerDocument?a:f.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},E=function(t,e){return!(e.disabled||u(e)||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!(y(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(e){var n=[],r=[];return e.forEach(function(e,o){var i=!!e.scopeParent,l=i?e.scopeParent:e,u=p(l,i),a=i?t(e.candidates):l;0===u?i?n.push.apply(n,a):n.push(l):r.push({documentOrder:o,tabIndex:u,item:e,isScope:i,content:a})}),r.sort(h).reduce(function(t,e){return e.isScope?t.push.apply(t,e.content):t.push(e.content),t},[]).concat(n)},A=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)))},C=function(t,e){return(e=e||{}).getShadowRoot?c([t],e.includeContainer,{filter:E.bind(null,e),flatten:!0,getShadowRoot:e.getShadowRoot}):f(t,e.includeContainer,E.bind(null,e))},O=function(t,e){if(e=e||{},!t)throw Error("No node provided");return!1!==i.call(t,r)&&S(e,t)}},21166:(t,e,n)=>{n.d(e,{UE:()=>K,ll:()=>Y,rD:()=>X,UU:()=>J,jD:()=>G,cY:()=>Q,BN:()=>Z});let r=["top","right","bottom","left"],o=Math.min,i=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 v=["left","right"],y=["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,o;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!=(o=t.left)?o:0}:{top:t,right:t,bottom:t,left:t}}function E(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 S(t,e,n){let r,{reference:o,floating:i}=t,l=m(e),u=p(m(e)),a=h(u),f=s(e),c=o.x+o.width/2-i.width/2,g=o.y+o.height/2-i.height/2,v=o[a]/2-i[a]/2;switch(f){case"top":r={x:c,y:o.y-i.height};break;case"bottom":r={x:c,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:g};break;case"left":r={x:o.x-i.width,y:g};break;default:r={x:o.x,y:o.y}}let y=d(e);return y&&(r[u]+=v*("end"===y?1:-1)*(n&&"y"===l?-1:1)),r}async function L(t,e){var n;void 0===e&&(e={});let{x:r,y:o,platform:i,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],v=E(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(u.floating)),boundary:f,rootBoundary:s,strategy:a})),y="floating"===d?{x:r,y:o,width:l.floating.width,height:l.floating.height}:l.reference,w=await (null==i.getOffsetParent?void 0:i.getOffsetParent(u.floating)),b=await (null==i.isElement?void 0:i.isElement(w))&&await (null==i.getScale?void 0:i.getScale(w))||{x:1,y:1},x=E(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:y,offsetParent:w,strategy:a}):y);return{top:(v.top-x.top+m.top)/b.y,bottom:(x.bottom-v.bottom+m.bottom)/b.y,left:(v.left-x.left+m.left)/b.x,right:(x.right-v.right+m.right)/b.x}}let T=async(t,e,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],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:o}),{x:c,y:s}=S(f,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:v}=m,{x:y,y:w,data:b,reset:x}=await v({x:c,y:s,initialPlacement:r,placement:d,strategy:o,middlewareData:h,rects:f,platform:u,elements:{reference:t,floating:e}});c=null!=y?y: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:o}):x.rects),{x:c,y:s}=S(f,d,a)),n=-1)}return{x:c,y:s,placement:d,strategy:o,middlewareData:h}};function A(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function C(t){return r.some(e=>t[e]>=0)}let O=new Set(["left","top"]);async function N(t,e){let{placement:n,platform:r,elements:o}=t,i=await (null==r.isRTL?void 0:r.isRTL(o.floating)),l=s(n),u=d(n),a="y"===m(n),f=O.has(l)?-1:1,p=i&&a?-1:1,h=c(e,t),{mainAxis:g,crossAxis:v,alignmentAxis:y}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return u&&"number"==typeof y&&(v="end"===u?-1*y:y),a?{x:v*p,y:g*f}:{x:g*f,y:v*p}}var P=n(2066);function k(t){let e=(0,P.L9)(t),n=parseFloat(e.width)||0,r=parseFloat(e.height)||0,o=(0,P.sb)(t),i=o?t.offsetWidth:n,u=o?t.offsetHeight:r,a=l(n)!==i||l(r)!==u;return a&&(n=i,r=u),{width:n,height:r,$:a}}function D(t){return(0,P.vq)(t)?t:t.contextElement}function I(t){let e=D(t);if(!(0,P.sb)(e))return a(1);let n=e.getBoundingClientRect(),{width:r,height:o,$:i}=k(e),u=(i?l(n.width):n.width)/r,f=(i?l(n.height):n.height)/o;return u&&Number.isFinite(u)||(u=1),f&&Number.isFinite(f)||(f=1),{x:u,y:f}}let F=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}:F}function q(t,e,n,r){var o;void 0===e&&(e=!1),void 0===n&&(n=!1);let i=t.getBoundingClientRect(),l=D(t),u=a(1);e&&(r?(0,P.vq)(r)&&(u=I(r)):u=I(t));let f=(void 0===(o=n)&&(o=!1),r&&o&&r===(0,P.zk)(l))?M(l):a(0),c=(i.left+f.x)/u.x,s=(i.top+f.y)/u.y,d=i.width/u.x,p=i.height/u.y;if(l&&r){let t=(0,P.zk)(l),e=(0,P.vq)(r)?(0,P.zk)(r):r,n=t,o=(0,P._m)(n);for(;o&&e!==n;){let t=I(o),e=o.getBoundingClientRect(),r=(0,P.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,s*=t.y,d*=t.x,p*=t.y,c+=i,s+=l,n=(0,P.zk)(o),o=(0,P._m)(n)}}return E({width:d,height:p,x:c,y:s})}function z(t,e){let n=(0,P.CP)(t).scrollLeft;return e?e.left+n:q((0,P.ep)(t)).left+n}function U(t,e){let n=t.getBoundingClientRect();return{x:n.left+e.scrollLeft-z(t,n),y:n.top+e.scrollTop}}function H(t,e,n){let r;if("viewport"===e||"layoutViewport"===e)r=function(t,e,n){void 0===n&&(n="viewport");let r="layoutViewport"===n,o=(0,P.zk)(t),i=(0,P.ep)(t),l=o.visualViewport,u=i.clientWidth,a=i.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>=z(i)){let t=i.ownerDocument,e=t.body,n=getComputedStyle(e),r="CSS1Compat"===t.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(i.clientWidth-e.clientWidth-r),l="stable both-edges"===getComputedStyle(i).scrollbarGutter?o/2:o;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=i(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),o=i(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),l=-e.scrollLeft+z(t),u=-e.scrollTop;return"rtl"===(0,P.L9)(n).direction&&(l+=i(t.clientWidth,n.clientWidth)-r),{width:r,height:o,x:l,y:u}}((0,P.ep)(t));else if((0,P.vq)(e))r=function(t,e){let n=q(t,!0,"fixed"===e),r=n.top+t.clientTop,o=n.left+t.clientLeft,i=I(t),l=t.clientWidth*i.x,u=t.clientHeight*i.y;return{width:l,height:u,x:o*i.x,y:r*i.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 W(t){return"static"===(0,P.L9)(t).position}function V(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)&&!W(e))return e;e=(0,P.$4)(e)}return n}let r=V(t,e);for(;r&&(0,P.Lv)(r)&&W(r);)r=V(r,e);return r&&(0,P.eu)(r)&&W(r)&&!(0,P.sQ)(r)?n:r||(0,P.gJ)(t)||n}let $=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),o=(0,P.ep)(e),i="fixed"===n,l=q(t,!0,i,e),u={scrollLeft:0,scrollTop:0},f=a(0);if((r||!i)&&(("body"!==(0,P.mq)(e)||(0,P.ZU)(o))&&(u=(0,P.CP)(e)),r)){let t=q(e,!0,i,e);f.x=t.x+e.clientLeft,f.y=t.y+e.clientTop}!r&&o&&(f.x=z(o));let c=!o||r||i?a(0):U(o,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}}},B={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:r,strategy:o}=t,i="fixed"===o,l=(0,P.ep)(r),u=!!e&&(0,P.Tf)(e.floating);if(r===l||u&&i)return n;let f={scrollLeft:0,scrollTop:0},c=a(1),s=a(0),d=(0,P.sb)(r);if((d||!i)&&(("body"!==(0,P.mq)(r)||(0,P.ZU)(l))&&(f=(0,P.CP)(r)),d)){let t=q(r);c=I(r),s.x=t.x+r.clientLeft,s.y=t.y+r.clientTop}let p=!l||d||i?a(0):U(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)),o=null,i="fixed"===(0,P.L9)(t).position,l=i?(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=o?o.position:i?"fixed":"";e||"fixed"!==n&&("absolute"!==n||"static"!==t.position)?o=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=H(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=H(e,u[t],l);f=i(n.top,f),c=o(n.right,c),s=o(n.bottom,s),d=i(n.left,d)}return{width:c-d,height:s-f,x:d,y:f}},getOffsetParent:_,getElementRects:$,getClientRects:function(t){return t.getClientRects?Array.from(t.getClientRects()):[]},getDimensions:function(t){let{width:e,height:n}=k(t);return{width:e,height:n}},getScale:I,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 v=u(h),y=u(a.clientWidth-(p+m)),w={rootMargin:-v+"px "+-y+"px "+-u(a.clientHeight-(h+g))+"px "+-u(p)+"px",threshold:i(0,o(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,v=null;c&&(v=new ResizeObserver(t=>{let[r]=t;r&&r.target===p&&v&&e&&(v.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var t;null==(t=v)||t.observe(e)})),n()}),p&&!d&&v.observe(p),e&&v.observe(e));let y=d?q(t):null;return d&&function e(){let r=q(t);y&&!j(y,r)&&n(),y=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=v)||t.disconnect(),v=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:o,y:i,placement:l,middlewareData:u}=e,a=await N(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}}}}},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),v=m(l),y=p(v),w=h[y],b=h[v],x=(t,e)=>i(e+g["y"===t?"top":"left"],o(e,e-g["y"===t?"bottom":"right"]));a&&(w=x(y,w)),f&&(b=x(v,b));let R=s.fn({...e,[y]:w,[v]:b});return{...R,data:{x:R.x-n,y:R.y-r,enabled:{[y]:a,[v]:f}}}}}},J=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,r,o,i,l;let{placement:u,middlewareData:a,rects:f,initialPlacement:R,platform:E,elements:S}=e,{mainAxis:L=!0,crossAxis:T=!0,fallbackPlacements:A,fallbackStrategy:C="bestFit",fallbackAxisSideDirection:O="none",flipAlignment:N=!0,...P}=c(t,e);if(null!=(n=a.arrow)&&n.alignmentOffset)return{};let k=s(u),D=m(R),I=s(R)===R,F=await (null==E.isRTL?void 0:E.isRTL(S.floating)),M=A||(I||!N?[x(R)]:function(t){let e=x(t);return[g(t),e,g(e)]}(R)),q="none"!==O;!A&&q&&M.push(...function(t,e,n,r){let o=d(t),i=function(t,e,n){switch(t){case"top":case"bottom":if(n)return e?y:v;return e?v:y;case"left":case"right":return e?w:b;default:return[]}}(s(t),"start"===n,r);return o&&(i=i.map(t=>t+"-"+o),e&&(i=i.concat(i.map(g)))),i}(R,N,O,F));let z=[R,...M],U=await E.detectOverflow(e,P),H=[],W=(null==(r=a.flip)?void 0:r.overflows)||[];if(L&&H.push(U[k]),T){let t=function(t,e,n){void 0===n&&(n=!1);let r=d(t),o=p(m(t)),i=h(o),l="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[i]>e.floating[i]&&(l=x(l)),[l,x(l)]}(u,f,F);H.push(U[t[0]],U[t[1]])}if(W=[...W,{placement:u,overflows:H}],!H.every(t=>t<=0)){let t=((null==(o=a.flip)?void 0:o.index)||0)+1,e=z[t];if(e&&("alignment"!==T||D===m(e)||W.every(t=>m(t.placement)!==D||t.overflows[0]>0)))return{data:{index:t,overflows:W},reset:{placement:e}};let n=null==(i=W.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:i.placement;if(!n)switch(C){case"bestFit":{let t=null==(l=W.filter(t=>{if(q){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{}}}},G=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){let{rects:n,platform:r}=e,{strategy:o="referenceHidden",...i}=c(t,e);switch(o){case"referenceHidden":{let t=A(await r.detectOverflow(e,{...i,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:C(t)}}}case"escaped":{let t=A(await r.detectOverflow(e,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:t,escaped:C(t)}}}default:return{}}}}},K=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:v=0}=c(t,e)||{};if(null==g)return{};let y=R(v),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],A=w[b]-u.reference[b],C=await (null==a.getOffsetParent?void 0:a.getOffsetParent(g)),O=C?C[L]:0;O&&await (null==a.isElement?void 0:a.isElement(C))||(O=f.floating[L]||u.floating[x]);let N=O/2-E[x]/2-1,P=o(y[S?"top":"left"],N),k=o(y[S?"bottom":"right"],N),D=O-E[x]-k,I=O/2-E[x]/2+(T/2-A/2),F=i(P,o(I,D)),M=!s.arrow&&null!=d(l)&&I!==F&&u.reference[x]/2-(I<P?P:k)-E[x]/2<0,q=M?I<P?I-P:I-D:0;return{[b]:w[b]+q,data:{[b]:F,centerOffset:I-F-q,...M&&{alignmentOffset:q}},reset:M}}}),X=(t,e,n)=>{let r=new Map,o=null!=n?n:{},i={...B,...o.platform,_c:r};return T(t,e,{...o,platform:i})}},26146:(t,e,n)=>{n.d(e,{g:()=>r});let r=(t,e=!0)=>e?t:void 0},73473:(t,e,n)=>{n.d(e,{$4:()=>b,CM:()=>function t(e,n,r){return void 0===r&&(r=!0),e.filter(t=>{var e;return t.parentId===n&&(!r||(null==(e=t.context)?void 0:e.open))}).flatMap(n=>[n,...t(e,n.id,r)])},EW:()=>h,F2:()=>m,Go:()=>L,Jt:()=>O,N:()=>F,OS:()=>T,O_:()=>R,Pg:()=>S,Qp:()=>I,RS:()=>d,SE:()=>A,WZ:()=>y,XJ:()=>D,YE:()=>v,YF:()=>E,gR:()=>p,jo:()=>x,kQ:()=>N,nd:()=>w,nr:()=>f,tZ:()=>g,uo:()=>u,vF:()=>k,yV:()=>M});var r,o=n(2066),i=n(12115),l=n(15234);function u(){let t=navigator.userAgentData;return null!=t&&t.platform?t.platform:navigator.platform}function a(){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 f(){return/apple/i.test(navigator.vendor)}function c(){let t=/android/i;return t.test(u())||t.test(a())}let s="data-floating-ui-focusable";function d(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 p(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,o.Ng)(n)){let n=e;for(;n;){if(t===n)return!0;n=n.parentNode||n.host}}return!1}function h(t){return"composedPath"in t?t.composedPath()[0]:t.target}function m(t,e){return null!=e&&("composedPath"in t?t.composedPath().includes(e):null!=t.target&&e.contains(t.target))}function g(t){return t.matches("html,body")}function v(t){return(null==t?void 0:t.ownerDocument)||document}function y(t){return!!t&&"combobox"===t.getAttribute("role")&&(0,o.sb)(t)&&t.matches("input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])")}function w(t){return t?t.hasAttribute(s)?t:t.querySelector("["+s+"]")||t:null}function b(t,e){var n;let r=[],o=null==(n=t.find(t=>t.id===e))?void 0:n.parentId;for(;o;){let e=t.find(t=>t.id===o);o=null==e?void 0:e.parentId,e&&(r=r.concat(e))}return r}function x(t){t.preventDefault(),t.stopPropagation()}function R(t){return"nativeEvent"in t}function E(t){return 0===t.mozInputSource&&!!t.isTrusted||(c()&&t.pointerType?"click"===t.type&&1===t.buttons:0===t.detail&&!t.pointerType)}function S(t){return!a().includes("jsdom/")&&(!c()&&0===t.width&&0===t.height||c()&&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 L(t,e){let n=["mouse","pen"];return e||n.push("",void 0),n.includes(t)}var T="undefined"!=typeof document?i.useLayoutEffect:function(){};function A(t){let e=i.useRef(t);return T(()=>{e.current=t}),e}let C={...r||(r=n.t(i,2))}.useInsertionEffect||(t=>t());function O(t){let e=i.useRef(()=>{});return C(()=>{e.current=t}),i.useCallback(function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return null==e.current?void 0:e.current(...n)},[])}let N=()=>({getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function P(t,e){let n=(0,l.Kr)(t,N()),r=n.length;if(0===r)return;let o=d(v(t)),i=n.indexOf(o);return n[-1===i?1===e?0:r-1:i+e]}function k(t){return P(v(t).body,1)||t}function D(t){return P(v(t).body,-1)||t}function I(t,e){let n=e||t.currentTarget,r=t.relatedTarget;return!r||!p(n,r)}function F(t){(0,l.Kr)(t,N()).forEach(t=>{t.dataset.tabindex=t.getAttribute("tabindex")||"",t.setAttribute("tabindex","-1")})}function M(t){t.querySelectorAll("[data-tabindex]").forEach(t=>{let e=t.dataset.tabindex;delete t.dataset.tabindex,e?t.setAttribute("tabindex",e):t.removeAttribute("tabindex")})}},88334:(t,e,n)=>{n.d(e,{BN:()=>p,UE:()=>g,UU:()=>h,cY:()=>d,jD:()=>m,we:()=>s});var r=n(21166),o=n(12115),i=n(47650),l="undefined"!=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"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=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:v}=t,[y,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,E]=o.useState(null),[S,L]=o.useState(null),T=o.useCallback(t=>{t!==N.current&&(N.current=t,E(t))},[]),A=o.useCallback(t=>{t!==P.current&&(P.current=t,L(t))},[]),C=p||R,O=h||S,N=o.useRef(null),P=o.useRef(null),k=o.useRef(y),D=null!=g,I=c(g),F=c(d),M=c(v),q=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!==M.current};z.current&&!u(k.current,e)&&(k.current=e,i.flushSync(()=>{w(e)}))})},[b,e,n,F,M]);l(()=>{!1===v&&k.current.isPositioned&&(k.current.isPositioned=!1,w(t=>({...t,isPositioned:!1})))},[v]);let z=o.useRef(!1);l(()=>(z.current=!0,()=>{z.current=!1}),[]),l(()=>{if(C&&(N.current=C),O&&(P.current=O),C&&O){if(I.current)return I.current(C,O,q);q()}},[C,O,q,I,D]);let U=o.useMemo(()=>({reference:N,floating:P,setReference:T,setFloating:A}),[T,A]),H=o.useMemo(()=>({reference:C,floating:O}),[C,O]),W=o.useMemo(()=>{let t={position:n,left:0,top:0};if(!H.floating)return t;let e=f(H.floating,y.x),r=f(H.floating,y.y);return m?{...t,transform:"translate("+e+"px, "+r+"px)",...a(H.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:e,top:r}},[n,m,H.floating,y.x,y.y]);return o.useMemo(()=>({...y,update:q,refs:U,elements:H,floatingStyles:W}),[y,q,U,H,W])}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: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):{}}}))(t);return{name:n.name,fn:n.fn,options:[t,e]}}}}]);