"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4838],{31382:(t,e,n)=>{n.d(e,{Oh:()=>o});var i=n(85556),r=0;function o(){i.useEffect(()=>{let t=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",t[0]??l()),document.body.insertAdjacentElement("beforeend",t[1]??l()),r++,()=>{1===r&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),r--}},[])}function l(){let t=document.createElement("span");return t.setAttribute("data-radix-focus-guard",""),t.tabIndex=0,t.style.outline="none",t.style.opacity="0",t.style.position="fixed",t.style.pointerEvents="none",t}},31445:(t,e,n)=>{n.d(e,{UE:()=>ts,ll:()=>to,rD:()=>th,UU:()=>tf,jD:()=>tu,ER:()=>td,cY:()=>tl,BN:()=>ta,Ej:()=>tc});let i=["top","right","bottom","left"],r=Math.min,o=Math.max,l=Math.round,a=Math.floor,f=t=>({x:t,y:t}),c={left:"right",right:"left",bottom:"top",top:"bottom"},u={start:"end",end:"start"};function s(t,e){return"function"==typeof t?t(e):t}function d(t){return t.split("-")[0]}function h(t){return t.split("-")[1]}function p(t){return"x"===t?"y":"x"}function m(t){return"y"===t?"height":"width"}function g(t){return["top","bottom"].includes(d(t))?"y":"x"}function y(t){return t.replace(/start|end/g,t=>u[t])}function w(t){return t.replace(/left|right|bottom|top/g,t=>c[t])}function v(t){return"number"!=typeof t?{top:0,right:0,bottom:0,left:0,...t}:{top:t,right:t,bottom:t,left:t}}function x(t){let{x:e,y:n,width:i,height:r}=t;return{width:i,height:r,top:n,left:e,right:e+i,bottom:n+r,x:e,y:n}}function b(t,e,n){let i,{reference:r,floating:o}=t,l=g(e),a=p(g(e)),f=m(a),c=d(e),u="y"===l,s=r.x+r.width/2-o.width/2,y=r.y+r.height/2-o.height/2,w=r[f]/2-o[f]/2;switch(c){case"top":i={x:s,y:r.y-o.height};break;case"bottom":i={x:s,y:r.y+r.height};break;case"right":i={x:r.x+r.width,y:y};break;case"left":i={x:r.x-o.width,y:y};break;default:i={x:r.x,y:r.y}}switch(h(e)){case"start":i[a]-=w*(n&&u?-1:1);break;case"end":i[a]+=w*(n&&u?-1:1)}return i}let A=async(t,e,n)=>{let{placement:i="bottom",strategy:r="absolute",middleware:o=[],platform:l}=n,a=o.filter(Boolean),f=await (null==l.isRTL?void 0:l.isRTL(e)),c=await l.getElementRects({reference:t,floating:e,strategy:r}),{x:u,y:s}=b(c,i,f),d=i,h={},p=0;for(let n=0;nt[e]>=0)}async function T(t,e){let{placement:n,platform:i,elements:r}=t,o=await (null==i.isRTL?void 0:i.isRTL(r.floating)),l=d(n),a=h(n),f="y"===g(n),c=["left","top"].includes(l)?-1:1,u=o&&f?-1:1,p=s(e,t),{mainAxis:m,crossAxis:y,alignmentAxis:w}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return a&&"number"==typeof w&&(y="end"===a?-1*w:w),f?{x:y*u,y:m*c}:{x:m*c,y:y*u}}function k(){return"undefined"!=typeof window}function S(t){return W(t)?(t.nodeName||"").toLowerCase():"#document"}function D(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function O(t){var e;return null==(e=(W(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function W(t){return!!k()&&(t instanceof Node||t instanceof D(t).Node)}function C(t){return!!k()&&(t instanceof Element||t instanceof D(t).Element)}function H(t){return!!k()&&(t instanceof HTMLElement||t instanceof D(t).HTMLElement)}function F(t){return!!k()&&"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof D(t).ShadowRoot)}function M(t){let{overflow:e,overflowX:n,overflowY:i,display:r}=V(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&!["inline","contents"].includes(r)}function P(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch(t){return!1}})}function N(t){let e=z(),n=C(t)?V(t):t;return["transform","translate","scale","rotate","perspective"].some(t=>!!n[t]&&"none"!==n[t])||!!n.containerType&&"normal"!==n.containerType||!e&&!!n.backdropFilter&&"none"!==n.backdropFilter||!e&&!!n.filter&&"none"!==n.filter||["transform","translate","scale","rotate","perspective","filter"].some(t=>(n.willChange||"").includes(t))||["paint","layout","strict","content"].some(t=>(n.contain||"").includes(t))}function z(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function B(t){return["html","body","#document"].includes(S(t))}function V(t){return D(t).getComputedStyle(t)}function j(t){return C(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function q(t){if("html"===S(t))return t;let e=t.assignedSlot||t.parentNode||F(t)&&t.host||O(t);return F(e)?e.host:e}function _(t,e,n){var i;void 0===e&&(e=[]),void 0===n&&(n=!0);let r=function t(e){let n=q(e);return B(n)?e.ownerDocument?e.ownerDocument.body:e.body:H(n)&&M(n)?n:t(n)}(t),o=r===(null==(i=t.ownerDocument)?void 0:i.body),l=D(r);if(o){let t=I(l);return e.concat(l,l.visualViewport||[],M(r)?r:[],t&&n?_(t):[])}return e.concat(r,_(r,[],n))}function I(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function U(t){let e=V(t),n=parseFloat(e.width)||0,i=parseFloat(e.height)||0,r=H(t),o=r?t.offsetWidth:n,a=r?t.offsetHeight:i,f=l(n)!==o||l(i)!==a;return f&&(n=o,i=a),{width:n,height:i,$:f}}function X(t){return C(t)?t:t.contextElement}function Y(t){let e=X(t);if(!H(e))return f(1);let n=e.getBoundingClientRect(),{width:i,height:r,$:o}=U(e),a=(o?l(n.width):n.width)/i,c=(o?l(n.height):n.height)/r;return a&&Number.isFinite(a)||(a=1),c&&Number.isFinite(c)||(c=1),{x:a,y:c}}let $=f(0);function G(t){let e=D(t);return z()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:$}function J(t,e,n,i){var r;void 0===e&&(e=!1),void 0===n&&(n=!1);let o=t.getBoundingClientRect(),l=X(t),a=f(1);e&&(i?C(i)&&(a=Y(i)):a=Y(t));let c=(void 0===(r=n)&&(r=!1),i&&(!r||i===D(l))&&r)?G(l):f(0),u=(o.left+c.x)/a.x,s=(o.top+c.y)/a.y,d=o.width/a.x,h=o.height/a.y;if(l){let t=D(l),e=i&&C(i)?D(i):i,n=t,r=I(n);for(;r&&i&&e!==n;){let t=Y(r),e=r.getBoundingClientRect(),i=V(r),o=e.left+(r.clientLeft+parseFloat(i.paddingLeft))*t.x,l=e.top+(r.clientTop+parseFloat(i.paddingTop))*t.y;u*=t.x,s*=t.y,d*=t.x,h*=t.y,u+=o,s+=l,r=I(n=D(r))}}return x({width:d,height:h,x:u,y:s})}function K(t,e){let n=j(t).scrollLeft;return e?e.left+n:J(O(t)).left+n}function Q(t,e,n){void 0===n&&(n=!1);let i=t.getBoundingClientRect();return{x:i.left+e.scrollLeft-(n?0:K(t,i)),y:i.top+e.scrollTop}}function Z(t,e,n){let i;if("viewport"===e)i=function(t,e){let n=D(t),i=O(t),r=n.visualViewport,o=i.clientWidth,l=i.clientHeight,a=0,f=0;if(r){o=r.width,l=r.height;let t=z();(!t||t&&"fixed"===e)&&(a=r.offsetLeft,f=r.offsetTop)}return{width:o,height:l,x:a,y:f}}(t,n);else if("document"===e)i=function(t){let e=O(t),n=j(t),i=t.ownerDocument.body,r=o(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),l=o(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),a=-n.scrollLeft+K(t),f=-n.scrollTop;return"rtl"===V(i).direction&&(a+=o(e.clientWidth,i.clientWidth)-r),{width:r,height:l,x:a,y:f}}(O(t));else if(C(e))i=function(t,e){let n=J(t,!0,"fixed"===e),i=n.top+t.clientTop,r=n.left+t.clientLeft,o=H(t)?Y(t):f(1),l=t.clientWidth*o.x,a=t.clientHeight*o.y;return{width:l,height:a,x:r*o.x,y:i*o.y}}(e,n);else{let n=G(t);i={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return x(i)}function tt(t){return"static"===V(t).position}function te(t,e){if(!H(t)||"fixed"===V(t).position)return null;if(e)return e(t);let n=t.offsetParent;return O(t)===n&&(n=n.ownerDocument.body),n}function tn(t,e){let n=D(t);if(P(t))return n;if(!H(t)){let e=q(t);for(;e&&!B(e);){if(C(e)&&!tt(e))return e;e=q(e)}return n}let i=te(t,e);for(;i&&["table","td","th"].includes(S(i))&&tt(i);)i=te(i,e);return i&&B(i)&&tt(i)&&!N(i)?n:i||function(t){let e=q(t);for(;H(e)&&!B(e);){if(N(e))return e;if(P(e))break;e=q(e)}return null}(t)||n}let ti=async function(t){let e=this.getOffsetParent||tn,n=this.getDimensions,i=await n(t.floating);return{reference:function(t,e,n){let i=H(e),r=O(e),o="fixed"===n,l=J(t,!0,o,e),a={scrollLeft:0,scrollTop:0},c=f(0);if(i||!i&&!o){if(("body"!==S(e)||M(r))&&(a=j(e)),i){let t=J(e,!0,o,e);c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}else r&&(c.x=K(r))}let u=!r||i||o?f(0):Q(r,a);return{x:l.left+a.scrollLeft-c.x-u.x,y:l.top+a.scrollTop-c.y-u.y,width:l.width,height:l.height}}(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}},tr={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:i,strategy:r}=t,o="fixed"===r,l=O(i),a=!!e&&P(e.floating);if(i===l||a&&o)return n;let c={scrollLeft:0,scrollTop:0},u=f(1),s=f(0),d=H(i);if((d||!d&&!o)&&(("body"!==S(i)||M(l))&&(c=j(i)),H(i))){let t=J(i);u=Y(i),s.x=t.x+i.clientLeft,s.y=t.y+i.clientTop}let h=!l||d||o?f(0):Q(l,c,!0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+s.x+h.x,y:n.y*u.y-c.scrollTop*u.y+s.y+h.y}},getDocumentElement:O,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:i,strategy:l}=t,a=[..."clippingAncestors"===n?P(e)?[]:function(t,e){let n=e.get(t);if(n)return n;let i=_(t,[],!1).filter(t=>C(t)&&"body"!==S(t)),r=null,o="fixed"===V(t).position,l=o?q(t):t;for(;C(l)&&!B(l);){let e=V(l),n=N(l);n||"fixed"!==e.position||(r=null),(o?!n&&!r:!n&&"static"===e.position&&!!r&&["absolute","fixed"].includes(r.position)||M(l)&&!n&&function t(e,n){let i=q(e);return!(i===n||!C(i)||B(i))&&("fixed"===V(i).position||t(i,n))}(t,l))?i=i.filter(t=>t!==l):r=e,l=q(l)}return e.set(t,i),i}(e,this._c):[].concat(n),i],f=a[0],c=a.reduce((t,n)=>{let i=Z(e,n,l);return t.top=o(i.top,t.top),t.right=r(i.right,t.right),t.bottom=r(i.bottom,t.bottom),t.left=o(i.left,t.left),t},Z(e,f,l));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:tn,getElementRects:ti,getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){let{width:e,height:n}=U(t);return{width:e,height:n}},getScale:Y,isElement:C,isRTL:function(t){return"rtl"===V(t).direction}};function to(t,e,n,i){let l;void 0===i&&(i={});let{ancestorScroll:f=!0,ancestorResize:c=!0,elementResize:u="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:d=!1}=i,h=X(t),p=f||c?[...h?_(h):[],..._(e)]:[];p.forEach(t=>{f&&t.addEventListener("scroll",n,{passive:!0}),c&&t.addEventListener("resize",n)});let m=h&&s?function(t,e){let n,i=null,l=O(t);function f(){var t;clearTimeout(n),null==(t=i)||t.disconnect(),i=null}return!function c(u,s){void 0===u&&(u=!1),void 0===s&&(s=1),f();let{left:d,top:h,width:p,height:m}=t.getBoundingClientRect();if(u||e(),!p||!m)return;let g=a(h),y=a(l.clientWidth-(d+p)),w={rootMargin:-g+"px "+-y+"px "+-a(l.clientHeight-(h+m))+"px "+-a(d)+"px",threshold:o(0,r(1,s))||1},v=!0;function x(t){let e=t[0].intersectionRatio;if(e!==s){if(!v)return c();e?c(!1,e):n=setTimeout(()=>{c(!1,1e-7)},1e3)}v=!1}try{i=new IntersectionObserver(x,{...w,root:l.ownerDocument})}catch(t){i=new IntersectionObserver(x,w)}i.observe(t)}(!0),f}(h,n):null,g=-1,y=null;u&&(y=new ResizeObserver(t=>{let[i]=t;i&&i.target===h&&y&&(y.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var t;null==(t=y)||t.observe(e)})),n()}),h&&!d&&y.observe(h),y.observe(e));let w=d?J(t):null;return d&&function e(){let i=J(t);w&&(i.x!==w.x||i.y!==w.y||i.width!==w.width||i.height!==w.height)&&n(),w=i,l=requestAnimationFrame(e)}(),n(),()=>{var t;p.forEach(t=>{f&&t.removeEventListener("scroll",n),c&&t.removeEventListener("resize",n)}),null==m||m(),null==(t=y)||t.disconnect(),y=null,d&&cancelAnimationFrame(l)}}let tl=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,i;let{x:r,y:o,placement:l,middlewareData:a}=e,f=await T(e,t);return l===(null==(n=a.offset)?void 0:n.placement)&&null!=(i=a.arrow)&&i.alignmentOffset?{}:{x:r+f.x,y:o+f.y,data:{...f,placement:l}}}}},ta=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:i,placement:l}=e,{mainAxis:a=!0,crossAxis:f=!1,limiter:c={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...u}=s(t,e),h={x:n,y:i},m=await E(e,u),y=g(d(l)),w=p(y),v=h[w],x=h[y];if(a){let t="y"===w?"top":"left",e="y"===w?"bottom":"right",n=v+m[t],i=v-m[e];v=o(n,r(v,i))}if(f){let t="y"===y?"top":"left",e="y"===y?"bottom":"right",n=x+m[t],i=x-m[e];x=o(n,r(x,i))}let b=c.fn({...e,[w]:v,[y]:x});return{...b,data:{x:b.x-n,y:b.y-i,enabled:{[w]:a,[y]:f}}}}}},tf=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,i,r,o,l;let{placement:a,middlewareData:f,rects:c,initialPlacement:u,platform:v,elements:x}=e,{mainAxis:b=!0,crossAxis:A=!0,fallbackPlacements:R,fallbackStrategy:L="bestFit",fallbackAxisSideDirection:T="none",flipAlignment:k=!0,...S}=s(t,e);if(null!=(n=f.arrow)&&n.alignmentOffset)return{};let D=d(a),O=g(u),W=d(u)===u,C=await (null==v.isRTL?void 0:v.isRTL(x.floating)),H=R||(W||!k?[w(u)]:function(t){let e=w(t);return[y(t),e,y(e)]}(u)),F="none"!==T;!R&&F&&H.push(...function(t,e,n,i){let r=h(t),o=function(t,e,n){let i=["left","right"],r=["right","left"];switch(t){case"top":case"bottom":if(n)return e?r:i;return e?i:r;case"left":case"right":return e?["top","bottom"]:["bottom","top"];default:return[]}}(d(t),"start"===n,i);return r&&(o=o.map(t=>t+"-"+r),e&&(o=o.concat(o.map(y)))),o}(u,k,T,C));let M=[u,...H],P=await E(e,S),N=[],z=(null==(i=f.flip)?void 0:i.overflows)||[];if(b&&N.push(P[D]),A){let t=function(t,e,n){void 0===n&&(n=!1);let i=h(t),r=p(g(t)),o=m(r),l="x"===r?i===(n?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[o]>e.floating[o]&&(l=w(l)),[l,w(l)]}(a,c,C);N.push(P[t[0]],P[t[1]])}if(z=[...z,{placement:a,overflows:N}],!N.every(t=>t<=0)){let t=((null==(r=f.flip)?void 0:r.index)||0)+1,e=M[t];if(e)return{data:{index:t,overflows:z},reset:{placement:e}};let n=null==(o=z.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:o.placement;if(!n)switch(L){case"bestFit":{let t=null==(l=z.filter(t=>{if(F){let e=g(t.placement);return e===O||"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=u}if(a!==n)return{reset:{placement:n}}}return{}}}},tc=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){var n,i;let l,a;let{placement:f,rects:c,platform:u,elements:p}=e,{apply:m=()=>{},...y}=s(t,e),w=await E(e,y),v=d(f),x=h(f),b="y"===g(f),{width:A,height:R}=c.floating;"top"===v||"bottom"===v?(l=v,a=x===(await (null==u.isRTL?void 0:u.isRTL(p.floating))?"start":"end")?"left":"right"):(a=v,l="end"===x?"top":"bottom");let L=R-w.top-w.bottom,T=A-w.left-w.right,k=r(R-w[l],L),S=r(A-w[a],T),D=!e.middlewareData.shift,O=k,W=S;if(null!=(n=e.middlewareData.shift)&&n.enabled.x&&(W=T),null!=(i=e.middlewareData.shift)&&i.enabled.y&&(O=L),D&&!x){let t=o(w.left,0),e=o(w.right,0),n=o(w.top,0),i=o(w.bottom,0);b?W=A-2*(0!==t||0!==e?t+e:o(w.left,w.right)):O=R-2*(0!==n||0!==i?n+i:o(w.top,w.bottom))}await m({...e,availableWidth:W,availableHeight:O});let C=await u.getDimensions(p.floating);return A!==C.width||R!==C.height?{reset:{rects:!0}}:{}}}},tu=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){let{rects:n}=e,{strategy:i="referenceHidden",...r}=s(t,e);switch(i){case"referenceHidden":{let t=R(await E(e,{...r,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:L(t)}}}case"escaped":{let t=R(await E(e,{...r,altBoundary:!0}),n.floating);return{data:{escapedOffsets:t,escaped:L(t)}}}default:return{}}}}},ts=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:i,placement:l,rects:a,platform:f,elements:c,middlewareData:u}=e,{element:d,padding:y=0}=s(t,e)||{};if(null==d)return{};let w=v(y),x={x:n,y:i},b=p(g(l)),A=m(b),E=await f.getDimensions(d),R="y"===b,L=R?"clientHeight":"clientWidth",T=a.reference[A]+a.reference[b]-x[b]-a.floating[A],k=x[b]-a.reference[b],S=await (null==f.getOffsetParent?void 0:f.getOffsetParent(d)),D=S?S[L]:0;D&&await (null==f.isElement?void 0:f.isElement(S))||(D=c.floating[L]||a.floating[A]);let O=D/2-E[A]/2-1,W=r(w[R?"top":"left"],O),C=r(w[R?"bottom":"right"],O),H=D-E[A]-C,F=D/2-E[A]/2+(T/2-k/2),M=o(W,r(F,H)),P=!u.arrow&&null!=h(l)&&F!==M&&a.reference[A]/2-(Fn&&(y=n)}if(c){var b,A;let t="y"===m?"width":"height",e=["top","left"].includes(d(r)),n=o.reference[h]-o.floating[t]+(e&&(null==(b=l.offset)?void 0:b[h])||0)+(e?0:x.crossAxis),i=o.reference[h]+o.reference[t]+(e?0:(null==(A=l.offset)?void 0:A[h])||0)-(e?x.crossAxis:0);wi&&(w=i)}return{[m]:y,[h]:w}}}},th=(t,e,n)=>{let i=new Map,r={platform:tr,...n},o={...r.platform,_c:i};return A(t,e,{...r,platform:o})}},45507:(t,e,n)=>{n.d(e,{U:()=>o});var i=n(85556),r=n(92247);function o(t,e=globalThis?.document){let n=(0,r.c)(t);i.useEffect(()=>{let t=t=>{"Escape"===t.key&&n(t)};return e.addEventListener("keydown",t,{capture:!0}),()=>e.removeEventListener("keydown",t,{capture:!0})},[n,e])}},45789:(t,e,n)=>{n.d(e,{Eq:()=>u});var i=function(t){return"undefined"==typeof document?null:(Array.isArray(t)?t[0]:t).ownerDocument.body},r=new WeakMap,o=new WeakMap,l={},a=0,f=function(t){return t&&(t.host||f(t.parentNode))},c=function(t,e,n,i){var c=(Array.isArray(t)?t:[t]).map(function(t){if(e.contains(t))return t;var n=f(t);return n&&e.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)}).filter(function(t){return!!t});l[n]||(l[n]=new WeakMap);var u=l[n],s=[],d=new Set,h=new Set(c),p=function(t){!(!t||d.has(t))&&(d.add(t),p(t.parentNode))};c.forEach(p);var m=function(t){!(!t||h.has(t))&&Array.prototype.forEach.call(t.children,function(t){if(d.has(t))m(t);else try{var e=t.getAttribute(i),l=null!==e&&"false"!==e,a=(r.get(t)||0)+1,f=(u.get(t)||0)+1;r.set(t,a),u.set(t,f),s.push(t),1===a&&l&&o.set(t,!0),1===f&&t.setAttribute(n,"true"),l||t.setAttribute(i,"true")}catch(e){console.error("aria-hidden: cannot operate on ",t,e)}})};return m(e),d.clear(),a++,function(){s.forEach(function(t){var e=r.get(t)-1,l=u.get(t)-1;r.set(t,e),u.set(t,l),e||(o.has(t)||t.removeAttribute(i),o.delete(t)),l||t.removeAttribute(n)}),--a||(r=new WeakMap,r=new WeakMap,o=new WeakMap,l={})}},u=function(t,e,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(t)?t:[t]),o=e||i(t);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),c(r,o,n,"aria-hidden")):function(){return null}}},45931:(t,e,n)=>{n.d(e,{X:()=>o});var i=n(85556),r=n(22095);function o(t){let[e,n]=i.useState(void 0);return(0,r.N)(()=>{if(t){n({width:t.offsetWidth,height:t.offsetHeight});let e=new ResizeObserver(e=>{let i,r;if(!Array.isArray(e)||!e.length)return;let o=e[0];if("borderBoxSize"in o){let t=o.borderBoxSize,e=Array.isArray(t)?t[0]:t;i=e.inlineSize,r=e.blockSize}else i=t.offsetWidth,r=t.offsetHeight;n({width:i,height:r})});return e.observe(t,{box:"border-box"}),()=>e.unobserve(t)}n(void 0)},[t]),e}}}]);