"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1546],{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] *),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] *)',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]},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("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},y=function(t){return m(t)&&"radio"===t.type&&!v(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});var o=getComputedStyle(t).visibility;if("hidden"===o||"collapse"===o)return!0;var u=i.call(t,"details>summary:first-of-type")?t.parentElement:t;if(i.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 c=t.parentElement,f=l(t);if(c&&!c.shadowRoot&&!0===r(c))return b(t);t=t.assignedSlot?t.assignedSlot:c||f===t.ownerDocument?c:f.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!!i.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!(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){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:S.bind(null,e),flatten:!1,getShadowRoot:e.getShadowRoot,shadowRootFilter:L}):c(t,e.includeContainer,S.bind(null,e)))},A=function(t,e){if(e=e||{},!t)throw Error("No node provided");return!1!==i.call(t,r)&&S(e,t)}},6791:(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:()=>S,CP:()=>E,L9:()=>R,Lv:()=>p,Ng:()=>s,Tc:()=>b,Tf:()=>h,ZU:()=>d,_m:()=>L,ep:()=>u,eu:()=>x,gJ:()=>w,mq:()=>i,sQ:()=>y,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=S(e);return x(n)?(e.ownerDocument||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/,v=t=>!!t&&"none"!==t;function y(t){let e=c(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(;f(e)&&!x(e);){if(y(e))return e;if(h(e))break;e=S(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 E(t){return c(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}},9683:(t,e,n)=>{n.d(e,{BN:()=>p,UE:()=>g,UU:()=>h,cY:()=>d,jD:()=>m,we:()=>s});var r=n(17294),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: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!==O.current&&(O.current=t,E(t))},[]),C=o.useCallback(t=>{t!==k.current&&(k.current=t,L(t))},[]),A=p||R,P=h||S,O=o.useRef(null),k=o.useRef(null),N=o.useRef(y),D=null!=g,F=f(g),I=f(d),M=f(v),U=o.useCallback(()=>{if(!O.current||!k.current)return;let t={placement:e,strategy:n,middleware:b};I.current&&(t.platform=I.current),(0,r.rD)(O.current,k.current,t).then(t=>{let e={...t,isPositioned:!1!==M.current};q.current&&!u(N.current,e)&&(N.current=e,i.flushSync(()=>{w(e)}))})},[b,e,n,I,M]);l(()=>{!1===v&&N.current.isPositioned&&(N.current.isPositioned=!1,w(t=>({...t,isPositioned:!1})))},[v]);let q=o.useRef(!1);l(()=>(q.current=!0,()=>{q.current=!1}),[]),l(()=>{if(A&&(O.current=A),P&&(k.current=P),A&&P){if(F.current)return F.current(A,P,U);U()}},[A,P,U,F,D]);let z=o.useMemo(()=>({reference:O,floating:k,setReference:T,setFloating:C}),[T,C]),V=o.useMemo(()=>({reference:A,floating:P}),[A,P]),H=o.useMemo(()=>{let t={position:n,left:0,top:0};if(!V.floating)return t;let e=c(V.floating,y.x),r=c(V.floating,y.y);return m?{...t,transform:"translate("+e+"px, "+r+"px)",...a(V.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:e,top:r}},[n,m,V.floating,y.x,y.y]);return o.useMemo(()=>({...y,update:U,refs:z,elements:V,floatingStyles:H}),[y,U,z,V,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={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]}}},17294:(t,e,n)=>{n.d(e,{UE:()=>X,ll:()=>Y,rD:()=>K,UU:()=>Q,jD:()=>J,cY:()=>Z,BN:()=>G});let r=["top","right","bottom","left"],o=Math.min,i=Math.max,l=Math.round,u=Math.floor,a=t=>({x:t,y:t}),c={left:"right",right:"left",bottom:"top",top:"bottom"};function f(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 c[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),c=s(e),f=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(c){case"top":r={x:f,y:o.y-i.height};break;case"bottom":r={x:f,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:c="clippingAncestors",rootBoundary:s="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=f(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:c,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)),c=await l.getElementRects({reference:t,floating:e,strategy:o}),{x:f,y:s}=S(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:v}=m,{x:y,y:w,data:b,reset:x}=await v({x:f,y:s,initialPlacement:r,placement:d,strategy:o,middlewareData:h,rects:c,platform:u,elements:{reference:t,floating:e}});f=null!=y?y:f,s=null!=w?w:s,h[g]={...h[g],...b},x&&p<50&&(p++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(c=!0===x.rects?await l.getElementRects({reference:t,floating:e,strategy:o}):x.rects),{x:f,y:s}=S(c,d,a)),n=-1)}return{x:f,y:s,placement:d,strategy:o,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 P=new Set(["left","top"]);async function O(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),c=P.has(l)?-1:1,p=i&&a?-1:1,h=f(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*c}:{x:g*c,y:v*p}}var k=n(6791);function N(t){let e=(0,k.L9)(t),n=parseFloat(e.width)||0,r=parseFloat(e.height)||0,o=(0,k.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,k.vq)(t)?t:t.contextElement}function F(t){let e=D(t);if(!(0,k.sb)(e))return a(1);let n=e.getBoundingClientRect(),{width:r,height:o,$:i}=N(e),u=(i?l(n.width):n.width)/r,c=(i?l(n.height):n.height)/o;return u&&Number.isFinite(u)||(u=1),c&&Number.isFinite(c)||(c=1),{x:u,y:c}}let I=a(0);function M(t){let e=(0,k.zk)(t);return(0,k.Tc)()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:I}function U(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,k.vq)(r)&&(u=F(r)):u=F(t));let c=(void 0===(o=n)&&(o=!1),r&&o&&r===(0,k.zk)(l))?M(l):a(0),f=(i.left+c.x)/u.x,s=(i.top+c.y)/u.y,d=i.width/u.x,p=i.height/u.y;if(l&&r){let t=(0,k.zk)(l),e=(0,k.vq)(r)?(0,k.zk)(r):r,n=t,o=(0,k._m)(n);for(;o&&e!==n;){let t=F(o),e=o.getBoundingClientRect(),r=(0,k.L9)(o),i=e.left+(o.clientLeft+parseFloat(r.paddingLeft))*t.x,l=e.top+(o.clientTop+parseFloat(r.paddingTop))*t.y;f*=t.x,s*=t.y,d*=t.x,p*=t.y,f+=i,s+=l,n=(0,k.zk)(o),o=(0,k._m)(n)}}return E({width:d,height:p,x:f,y:s})}function q(t,e){let n=(0,k.CP)(t).scrollLeft;return e?e.left+n:U((0,k.ep)(t)).left+n}function z(t,e){let n=t.getBoundingClientRect();return{x:n.left+e.scrollLeft-q(t,n),y:n.top+e.scrollTop}}function V(t,e,n){var r;let o;if("viewport"===e||"layoutViewport"===e)o=function(t,e,n){void 0===n&&(n="viewport");let r="layoutViewport"===n,o=(0,k.zk)(t),i=(0,k.ep)(t),l=o.visualViewport,u=i.clientWidth,a=i.clientHeight,c=0,f=0;if(l){let t=!(0,k.Tc)()||"fixed"===e;r?t||(c=-l.offsetLeft,f=-l.offsetTop):(u=l.width,a=l.height,t&&(c=l.offsetLeft,f=l.offsetTop))}if(0>=q(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:c,y:f}}(t,n,e);else if("document"===e){let e,n,l,u,a,c;r=(0,k.ep)(t),e=(0,k.CP)(r),n=r.ownerDocument.body,l=i(r.scrollWidth,r.clientWidth,n.scrollWidth,n.clientWidth),u=i(r.scrollHeight,r.clientHeight,n.scrollHeight,n.clientHeight),a=-e.scrollLeft+q(r),c=-e.scrollTop,"rtl"===(0,k.L9)(n).direction&&(a+=i(r.clientWidth,n.clientWidth)-l),o={width:l,height:u,x:a,y:c}}else if((0,k.vq)(e)){let t,r,i,l,u,a;r=(t=U(e,!0,"fixed"===n)).top+e.clientTop,i=t.left+e.clientLeft,l=F(e),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=M(t);o={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return E(o)}function H(t){return"static"===(0,k.L9)(t).position}function W(t,e){if(!(0,k.sb)(t)||"fixed"===(0,k.L9)(t).position)return null;if(e)return e(t);let n=t.offsetParent;return(0,k.ep)(t)===n&&(n=n.ownerDocument.body),n}function _(t,e){let n=(0,k.zk)(t);if((0,k.Tf)(t))return n;if(!(0,k.sb)(t)){let e=(0,k.$4)(t);for(;e&&!(0,k.eu)(e);){if((0,k.vq)(e)&&!H(e))return e;e=(0,k.$4)(e)}return n}let r=W(t,e);for(;r&&(0,k.Lv)(r)&&H(r);)r=W(r,e);return r&&(0,k.eu)(r)&&H(r)&&!(0,k.sQ)(r)?n:r||(0,k.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,k.sb)(e),o=(0,k.ep)(e),i="fixed"===n,l=U(t,!0,i,e),u={scrollLeft:0,scrollTop:0},c=a(0);if((r||!i)&&(("body"!==(0,k.mq)(e)||(0,k.ZU)(o))&&(u=(0,k.CP)(e)),r)){let t=U(e,!0,i,e);c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}!r&&o&&(c.x=q(o));let f=!o||r||i?a(0):z(o,u);return{x:l.left+u.scrollLeft-c.x-f.x,y:l.top+u.scrollTop-c.y-f.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:o}=t,i="fixed"===o,l=(0,k.ep)(r),u=!!e&&(0,k.Tf)(e.floating);if(r===l||u&&i)return n;let c={scrollLeft:0,scrollTop:0},f=a(1),s=a(0),d=(0,k.sb)(r);if((d||!i)&&(("body"!==(0,k.mq)(r)||(0,k.ZU)(l))&&(c=(0,k.CP)(r)),d)){let t=U(r);f=F(r),s.x=t.x+r.clientLeft,s.y=t.y+r.clientTop}let p=!l||d||i?a(0):z(l,c);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-c.scrollLeft*f.x+s.x+p.x,y:n.y*f.y-c.scrollTop*f.y+s.y+p.y}},getDocumentElement:k.ep,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:r,strategy:l}=t,u=[..."clippingAncestors"===n?(0,k.Tf)(e)?[]:function(t,e){let n=e.get(t);if(n)return n;let r=(0,k.v9)(t,[],!1).filter(t=>(0,k.vq)(t)&&"body"!==(0,k.mq)(t)),o=null,i="fixed"===(0,k.L9)(t).position,l=i?(0,k.$4)(t):t;for(;(0,k.vq)(l)&&!(0,k.eu)(l);){let t=(0,k.L9)(l),e=(0,k.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,k.$4)(l)}return e.set(t,r),r}(e,this._c):[].concat(n),r],a=V(e,u[0],l),c=a.top,f=a.right,s=a.bottom,d=a.left;for(let t=1;t<u.length;t++){let n=V(e,u[t],l);c=i(n.top,c),f=o(n.right,f),s=o(n.bottom,s),d=i(n.left,d)}return{width:f-d,height:s-c,x:d,y:c}},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:k.vq,isRTL:function(t){return"rtl"===(0,k.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:c=!0,elementResize:f="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,p=D(t),h=a||c?[...p?(0,k.v9)(p):[],...e?(0,k.v9)(e):[]]:[];h.forEach(t=>{a&&t.addEventListener("scroll",n),c&&t.addEventListener("resize",n)});let m=p&&s?function(t,e,n){let r,l=null,a=(0,k.ep)(t);function c(){var t;clearTimeout(r),null==(t=l)||t.disconnect(),l=null}function f(n,s){void 0===n&&(n=!1),void 0===s&&(s=1),c();let d=t.getBoundingClientRect(),{left:p,top:h,width:m,height:g}=d;if(n||e(),!m||!g)return;let v={rootMargin:-u(h)+"px "+-u(a.clientWidth-(p+m))+"px "+-u(a.clientHeight-(h+g))+"px "+-u(p)+"px",threshold:i(0,o(1,s))||1},y=!0;function w(e){let n=e[0].intersectionRatio;if(!j(d,t.getBoundingClientRect()))return f();if(n!==s){if(!y)return f();n?f(!1,n):r=setTimeout(()=>{f(!1,1e-7)},1e3)}y=!1}try{l=new IntersectionObserver(w,{...v,root:a.ownerDocument})}catch(t){l=new IntersectionObserver(w,v)}l.observe(t)}let s=(0,k.zk)(t),d=()=>f(n);return s.addEventListener("resize",d),f(!0),()=>{s.removeEventListener("resize",d),c()}}(p,n,c):null,g=-1,v=null;f&&(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?U(t):null;return d&&function e(){let r=U(t);y&&!j(y,r)&&n(),y=r,l=requestAnimationFrame(e)}(),n(),()=>{var t;h.forEach(t=>{a&&t.removeEventListener("scroll",n),c&&t.removeEventListener("resize",n)}),null==m||m(),null==(t=v)||t.disconnect(),v=null,d&&cancelAnimationFrame(l)}}let Z=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 O(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}}}}},G=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:c=!1,limiter:s={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...d}=f(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)),c&&(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]:c}}}}}},Q=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,r,o,i,l,u,a,c;let R,E,S,{placement:L,middlewareData:T,rects:C,initialPlacement:A,platform:P,elements:O}=e,{mainAxis:k=!0,crossAxis:N=!0,fallbackPlacements:D,fallbackStrategy:F="bestFit",fallbackAxisSideDirection:I="none",flipAlignment:M=!0,...U}=f(t,e);if(null!=(n=T.arrow)&&n.alignmentOffset)return{};let q=s(L),z=m(A),V=s(A)===A,H=await (null==P.isRTL?void 0:P.isRTL(O.floating)),W=D||(V||!M?[x(A)]:(R=x(A),[g(A),R,g(R)])),_="none"!==I;!D&&_&&W.push(...(E=d(A),S=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(A),"start"===I,H),E&&(S=S.map(t=>t+"-"+E),M&&(S=S.concat(S.map(g)))),S));let B=[A,...W],$=await P.detectOverflow(e,U),j=[],Y=(null==(r=T.flip)?void 0:r.overflows)||[];if(k&&j.push($[q]),N){let t,e,n,r,o=(u=L,a=C,void 0===(c=H)&&(c=!1),t=d(u),n=h(e=p(m(u))),r="x"===e?t===(c?"end":"start")?"right":"left":"start"===t?"bottom":"top",a.reference[n]>a.floating[n]&&(r=x(r)),[r,x(r)]);j.push($[o[0]],$[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=B[t];if(e&&("alignment"!==N||z===m(e)||Y.every(t=>m(t.placement)!==z||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(F){case"bestFit":{let t=null==(l=Y.filter(t=>{if(_){let e=m(t.placement);return e===z||"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{}}}},J=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){let{rects:n,platform:r}=e,{strategy:o="referenceHidden",...i}=f(t,e);switch(o){case"referenceHidden":{let t=C(await r.detectOverflow(e,{...i,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:A(t)}}}case"escaped":{let t=C(await r.detectOverflow(e,{...i,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:c,middlewareData:s}=e,{element:g,padding:v=0}=f(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],C=w[b]-u.reference[b],A=await (null==a.getOffsetParent?void 0:a.getOffsetParent(g)),P=A?A[L]:0;P&&await (null==a.isElement?void 0:a.isElement(A))||(P=c.floating[L]||u.floating[x]);let O=P/2-E[x]/2-1,k=o(y[S?"top":"left"],O),N=o(y[S?"bottom":"right"],O),D=P-E[x]-N,F=P/2-E[x]/2+(T/2-C/2),I=i(k,o(F,D)),M=!s.arrow&&null!=d(l)&&F!==I&&u.reference[x]/2-(F<k?k:N)-E[x]/2<0,U=M?F<k?F-k: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,o=null!=n?n:{},i={...$,...o.platform,_c:r};return T(t,e,{...o,platform:i})}},63056:(t,e,n)=>{n.d(e,{EW:()=>v,F2:()=>g,Go:()=>d,O_:()=>p,Pg:()=>c,RS:()=>o,WZ:()=>w,YE:()=>m,YF:()=>a,gR:()=>i,jo:()=>y,nr:()=>f,tZ:()=>h,uo:()=>l});var r=n(6791);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 v(t){return"composedPath"in t?t.composedPath()[0]:t.target}function y(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])")}},92681:(t,e,n)=>{n.d(e,{g:()=>r});let r=(t,e=!0)=>e?t:void 0}}]);