"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5843],{24750:function(t,e,n){n.d(e,{x7:function(){return B},X5:function(){return q},Me:function(){return V},oo:function(){return J},cv:function(){return H},uY:function(){return z}});let r=["top","right","bottom","left"].reduce((t,e)=>t.concat(e,e+"-start",e+"-end"),[]),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){let e=s(t);return c[e]+t.slice(e.length)}function y(t){return"number"!=typeof t?{top:0,right:0,bottom:0,left:0,...t}:{top:t,right:t,bottom:t,left:t}}function v(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 w(t,e,n){let r,{reference:o,floating:i}=t,l=m(e),u=p(m(e)),a=h(u),c=s(e),f="y"===l,g=o.x+o.width/2-i.width/2,y=o.y+o.height/2-i.height/2,v=o[a]/2-i[a]/2;switch(c){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(d(e)){case"start":r[u]-=v*(n&&f?-1:1);break;case"end":r[u]+=v*(n&&f?-1:1)}return r}async function x(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=y(h),g=u[p?"floating"===d?"reference":"floating":d],w=v(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})),x="floating"===d?{x:r,y:o,width:l.floating.width,height:l.floating.height}:l.reference,b=await (null==i.getOffsetParent?void 0:i.getOffsetParent(u.floating)),R=await (null==i.isElement?void 0:i.isElement(b))&&await (null==i.getScale?void 0:i.getScale(b))||{x:1,y:1},E=v(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:x,offsetParent:b,strategy:a}):x);return{top:(w.top-E.top+m.top)/R.y,bottom:(E.bottom-w.bottom+m.bottom)/R.y,left:(w.left-E.left+m.left)/R.x,right:(E.right-w.right+m.right)/R.x}}let b=async(t,e,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:l}=n,u=l.detectOverflow?l:{...l,detectOverflow:x},a=await (null==l.isRTL?void 0:l.isRTL(e)),c=await l.getElementRects({reference:t,floating:e,strategy:o}),{x:f,y:s}=w(c,r,a),d=r,p=0,h={};for(let n=0;n(0,S.kK)(t)&&"body"!==(0,S.wk)(t)),o=null,i="fixed"===(0,S.Dx)(t).position,l=i?(0,S.Ow)(t):t;for(;(0,S.kK)(l)&&!(0,S.Py)(l);){let e=(0,S.Dx)(l),n=(0,S.hT)(l);n||"fixed"!==e.position||(o=null),(i?n||o:!(!n&&"static"===e.position&&o&&("absolute"===o.position||"fixed"===o.position)||(0,S.ao)(l)&&!n&&function t(e,n){let r=(0,S.Ow)(e);return!(r===n||!(0,S.kK)(r)||(0,S.Py)(r))&&("fixed"===(0,S.Dx)(r).position||t(r,n))}(t,l)))?o=e:r=r.filter(t=>t!==l),l=(0,S.Ow)(l)}return e.set(t,r),r}(e,this._c):[].concat(n),r],a=N(e,u[0],l),c=a.top,f=a.right,s=a.bottom,d=a.left;for(let t=1;t{a&&t.addEventListener("scroll",n,{passive:!0}),c&&t.addEventListener("resize",n)});let m=p&&s?function(t,e){let n,r=null,l=(0,S.tF)(t);function a(){var t;clearTimeout(n),null==(t=r)||t.disconnect(),r=null}return!function c(f,s){void 0===f&&(f=!1),void 0===s&&(s=1),a();let d=t.getBoundingClientRect(),{left:p,top:h,width:m,height:g}=d;if(f||e(),!m||!g)return;let y=u(h),v=u(l.clientWidth-(p+m)),w={rootMargin:-y+"px "+-v+"px "+-u(l.clientHeight-(h+g))+"px "+-u(p)+"px",threshold:i(0,o(1,s))||1},x=!0;function b(e){let r=e[0].intersectionRatio;if(r!==s){if(!x)return c();r?c(!1,r):n=setTimeout(()=>{c(!1,1e-7)},1e3)}1!==r||W(d,t.getBoundingClientRect())||c(),x=!1}try{r=new IntersectionObserver(b,{...w,root:l.ownerDocument})}catch(t){r=new IntersectionObserver(b,w)}r.observe(t)}(!0),a}(p,n):null,g=-1,y=null;f&&(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?C(t):null;return d&&function e(){let r=C(t);v&&!W(v,r)&&n(),v=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=y)||t.disconnect(),y=null,d&&cancelAnimationFrame(l)}}let H=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 E(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}}}}},q=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,o,i,l;let{rects:u,middlewareData:a,placement:c,platform:y,elements:v}=e,{crossAxis:w=!1,alignment:x,allowedPlacements:b=r,autoAlignment:R=!0,...E}=f(t,e),S=void 0!==x||b===r?((l=x||null)?[...b.filter(t=>d(t)===l),...b.filter(t=>d(t)!==l)]:b.filter(t=>s(t)===t)).filter(t=>!l||d(t)===l||!!R&&(t.includes("start")?t.replace("start","end"):t.replace("end","start"))!==t):b,A=await y.detectOverflow(e,E),L=(null==(n=a.autoPlacement)?void 0:n.index)||0,T=S[L];if(null==T)return{};let k=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=g(l)),[l,g(l)]}(T,u,await (null==y.isRTL?void 0:y.isRTL(v.floating)));if(c!==T)return{reset:{placement:S[0]}};let P=[A[s(T)],A[k[0]],A[k[1]]],C=[...(null==(o=a.autoPlacement)?void 0:o.overflows)||[],{placement:T,overflows:P}],D=S[L+1];if(D)return{data:{index:L+1,overflows:C},reset:{placement:D}};let O=C.map(t=>{let e=d(t.placement);return[t.placement,e&&w?t.overflows.slice(0,2).reduce((t,e)=>t+e,0):t.overflows[0],t.overflows]}).sort((t,e)=>t[1]-e[1]),N=(null==(i=O.filter(t=>t[2].slice(0,d(t[0])?2:3).every(t=>t<=0))[0])?void 0:i[0])||O[0][0];return N!==c?{data:{index:L+1,overflows:C},reset:{placement:N}}:{}}}},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:c=!1,limiter:d={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...h}=f(t,e),g={x:n,y:r},y=await u.detectOverflow(e,h),v=m(s(l)),w=p(v),x=g[w],b=g[v];if(a){let t="y"===w?"top":"left",e="y"===w?"bottom":"right",n=x+y[t],r=x-y[e];x=i(n,o(x,r))}if(c){let t="y"===v?"top":"left",e="y"===v?"bottom":"right",n=b+y[t],r=b-y[e];b=i(n,o(b,r))}let R=d.fn({...e,[w]:x,[v]:b});return{...R,data:{x:R.x-n,y:R.y-r,enabled:{[w]:a,[v]:c}}}}}},B=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 w=y(v),x={x:n,y:r},b=p(m(l)),R=h(b),E=await a.getDimensions(g),S="y"===b,A=S?"clientHeight":"clientWidth",L=u.reference[R]+u.reference[b]-x[b]-u.floating[R],T=x[b]-u.reference[b],k=await (null==a.getOffsetParent?void 0:a.getOffsetParent(g)),P=k?k[A]:0;P&&await (null==a.isElement?void 0:a.isElement(k))||(P=c.floating[A]||u.floating[R]);let C=P/2-E[R]/2-1,D=o(w[S?"top":"left"],C),O=o(w[S?"bottom":"right"],C),N=P-E[R]-O,F=P/2-E[R]/2+(L/2-T/2),M=i(D,o(F,N)),I=!s.arrow&&null!=d(l)&&F!==M&&u.reference[R]/2-(F{let r=new Map,o={platform:K,...n},i={...o.platform,_c:r};return b(t,e,{...o,platform:i})}},1371:function(t,e,n){n.d(e,{X5:function(){return m},YF:function(){return s},cv:function(){return p},uY:function(){return h},x7:function(){return g}});var r=n(24750),o=n(67294),i=n(73935),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 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}),[x,b]=o.useState(s);u(x,s)||b(s);let[R,E]=o.useState(null),[S,A]=o.useState(null),L=o.useCallback(t=>{t!==C.current&&(C.current=t,E(t))},[]),T=o.useCallback(t=>{t!==D.current&&(D.current=t,A(t))},[]),k=p||R,P=h||S,C=o.useRef(null),D=o.useRef(null),O=o.useRef(v),N=null!=g,F=f(g),M=f(d),I=f(y),j=o.useCallback(()=>{if(!C.current||!D.current)return;let t={placement:e,strategy:n,middleware:x};M.current&&(t.platform=M.current),(0,r.oo)(C.current,D.current,t).then(t=>{let e={...t,isPositioned:!1!==I.current};K.current&&!u(O.current,e)&&(O.current=e,i.flushSync(()=>{w(e)}))})},[x,e,n,M,I]);l(()=>{!1===y&&O.current.isPositioned&&(O.current.isPositioned=!1,w(t=>({...t,isPositioned:!1})))},[y]);let K=o.useRef(!1);l(()=>(K.current=!0,()=>{K.current=!1}),[]),l(()=>{if(k&&(C.current=k),P&&(D.current=P),k&&P){if(F.current)return F.current(k,P,j);j()}},[k,P,j,F,N]);let W=o.useMemo(()=>({reference:C,floating:D,setReference:L,setFloating:T}),[L,T]),V=o.useMemo(()=>({reference:k,floating:P}),[k,P]),H=o.useMemo(()=>{let t={position:n,left:0,top:0};if(!V.floating)return t;let e=c(V.floating,v.x),r=c(V.floating,v.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,v.x,v.y]);return o.useMemo(()=>({...v,update:j,refs:W,elements:V,floatingStyles:H}),[v,j,W,V,H])}let d=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.x7)({element:n.current,padding:o}).fn(e):{}:n?(0,r.x7)({element:n,padding:o}).fn(e):{}}}),p=(t,e)=>{let n=(0,r.cv)(t);return{name:n.name,fn:n.fn,options:[t,e]}},h=(t,e)=>{let n=(0,r.uY)(t);return{name:n.name,fn:n.fn,options:[t,e]}},m=(t,e)=>{let n=(0,r.X5)(t);return{name:n.name,fn:n.fn,options:[t,e]}},g=(t,e)=>{let n=d(t);return{name:n.name,fn:n.fn,options:[t,e]}}},21720:function(t,e,n){n.d(e,{AW:function(){return O},r3:function(){return N},N6:function(){return G},NX:function(){return Q},Me:function(){return j},zd:function(){return V},k0:function(){return _},El:function(){return 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)])}},e8:function(){return Y},U9:function(){return F},Pe:function(){return M},V5:function(){return C},r:function(){return q},dE:function(){return Z},MM:function(){return H},ex:function(){return I},G6:function(){return P},j7:function(){return K},WL:function(){return W},iW:function(){return U},II:function(){return B},Xj:function(){return z}});var r=n(37317),o=n(67294),i=n.t(o,2),l='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] *)',u="undefined"==typeof Element,a=u?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,c=!u&&Element.prototype.getRootNode?function(t){var e;return null==t?void 0:null===(e=t.getRootNode)||void 0===e?void 0:e.call(t)}:function(t){return null==t?void 0:t.ownerDocument},f=function(t,e){void 0===e&&(e=!0);var n,r=null==t?void 0:null===(n=t.getAttribute)||void 0===n?void 0:n.call(t,"inert");return""===r||"true"===r||e&&t&&("function"==typeof t.closest?t.closest("[inert]"):f(t.parentNode))},s=function(t){var e,n=null==t?void 0:null===(e=t.getAttribute)||void 0===e?void 0:e.call(t,"contenteditable");return""===n||"true"===n},d=function(t,e,n){if(f(t))return[];var r=Array.prototype.slice.apply(t.querySelectorAll(l));return e&&a.call(t,l)&&r.unshift(t),r=r.filter(n)},p=function(t,e,n){for(var r=[],o=Array.from(t);o.length;){var i=o.shift();if(!f(i,!1)){if("SLOT"===i.tagName){var u=i.assignedElements(),c=p(u.length?u:i.children,!0,n);n.flatten?r.push.apply(r,c):r.push({scopeParent:i,candidates:c})}else{a.call(i,l)&&n.filter(i)&&(e||!t.includes(i))&&r.push(i);var s=i.shadowRoot||"function"==typeof n.getShadowRoot&&n.getShadowRoot(i),d=!f(s,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(i));if(s&&d){var h=p(!0===s?i.children:s.children,!0,n);n.flatten?r.push.apply(r,h):r.push({scopeParent:i,candidates:h})}else o.unshift.apply(o,i.children)}}}return r},h=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},m=function(t){if(!t)throw Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||s(t))&&!h(t)?0:t.tabIndex},g=function(t,e){var n=m(t);return n<0&&e&&!h(t)?0:n},y=function(t,e){return t.tabIndex===e.tabIndex?t.documentOrder-e.documentOrder:t.tabIndex-e.tabIndex},v=function(t){return"INPUT"===t.tagName},w=function(t,e){for(var n=0;nsummary:first-of-type")?t.parentElement:t;if(a.call(o,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"full-native"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return R(t)}else{if("function"==typeof r){for(var i=t;t;){var l=t.parentElement,u=c(t);if(l&&!l.shadowRoot&&!0===r(l))return R(t);t=t.assignedSlot?t.assignedSlot:l||u===t.ownerDocument?l:u.host}t=i}if(b(t))return!t.getClientRects().length;if("legacy-full"!==n)return!0}return!1},S=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;nm(e))&&(r=t,!((o=e).disabled||v(o)&&"hidden"===o.type||E(o,r)||"DETAILS"===o.tagName&&Array.prototype.slice.apply(o.children).some(function(t){return"SUMMARY"===t.tagName})||S(o)))},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=g(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(y).reduce(function(t,e){return e.isScope?t.push.apply(t,e.content):t.push(e.content),t},[]).concat(e)},k=function(t,e){return T((e=e||{}).getShadowRoot?p([t],e.includeContainer,{filter:A.bind(null,e),flatten:!1,getShadowRoot:e.getShadowRoot,shadowRootFilter:L}):d(t,e.includeContainer,A.bind(null,e)))};function P(){return/apple/i.test(navigator.vendor)}function C(){return(function(){let t=navigator.userAgentData;return null!=t&&t.platform?t.platform:navigator.platform})().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints}let D="data-floating-ui-focusable";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 N(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.Zq)(n)){let n=e;for(;n;){if(t===n)return!0;n=n.parentNode||n.host}}return!1}function F(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 I(t){return t.matches("html,body")}function j(t){return(null==t?void 0:t.ownerDocument)||document}function K(t){return(0,r.Re)(t)&&t.matches("input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])")}function W(t){if(!t||(function(){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})().includes("jsdom/"))return!0;try{return t.matches(":focus-visible")}catch(t){return!0}}function V(t){return t?t.hasAttribute(D)?t:t.querySelector("["+D+"]")||t:null}function H(t){return"nativeEvent"in t}function q(t,e){let n=["mouse","pen"];return e||n.push("",void 0),n.includes(t)}var z="undefined"!=typeof document?o.useLayoutEffect:function(){};function B(t){let e=o.useRef(t);return z(()=>{e.current=t}),e}let J={...i}.useInsertionEffect||(t=>t());function U(t){let e=o.useRef(()=>{});return J(()=>{e.current=t}),o.useCallback(function(){for(var t=arguments.length,n=Array(t),r=0;r({getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function $(t,e){let n=k(t,X()),r=n.length;if(0===r)return;let o=O(j(t)),i=n.indexOf(o);return n[-1===i?1===e?0:r-1:i+e]}function _(t){return $(j(t).body,1)||t}function Y(t){return $(j(t).body,-1)||t}function Z(t,e){let n=e||t.currentTarget,r=t.relatedTarget;return!r||!N(n,r)}function G(t){k(t,X()).forEach(t=>{t.dataset.tabindex=t.getAttribute("tabindex")||"",t.setAttribute("tabindex","-1")})}function Q(t){t.querySelectorAll("[data-tabindex]").forEach(t=>{let e=t.dataset.tabindex;delete t.dataset.tabindex,e?t.setAttribute("tabindex",e):t.removeAttribute("tabindex")})}},37317:function(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 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()&&"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,{Dx:function(){return R},Jj:function(){return l},Kx:function(){return 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 b(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=A(a);return n.concat(a,a.visualViewport||[],d(i)?i:[],e&&r?t(e):[])}}},Lw:function(){return E},Ow:function(){return S},Pf:function(){return x},Py:function(){return b},Re:function(){return f},UG:function(){return a},Ze:function(){return p},Zq:function(){return s},ao:function(){return d},gQ:function(){return w},hT:function(){return v},kK:function(){return c},tF:function(){return u},tR:function(){return h},wK:function(){return A},wk:function(){return i}});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)||!x()&&(y(e.backdropFilter)||y(e.filter))||m.test(e.willChange||"")||g.test(e.contain||"")}function w(t){let e=S(t);for(;f(e)&&!b(e);){if(v(e))return e;if(h(e))break;e=S(e)}return null}function x(){return null==r&&(r="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),r}function b(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 A(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}}}]);