1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4109],{3937:(e,t,n)=>{n.d(t,{qW:()=>g});var r,o=n(22469),i=n(99048),l=n(97738),a=n(86165),u=n(70489),s=n(53859),c=n(69345),f=n(37674),d=n(50866),p=n(66653),m=n(38019),h="dismissableLayer.update",v=s.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),g=s.forwardRef(function(e,t){var n,g,b=e.disableOutsidePointerEvents,x=void 0!==b&&b,E=e.onEscapeKeyDown,_=e.onPointerDownOutside,R=e.onFocusOutside,O=e.onInteractOutside,P=e.onDismiss,S=(0,l._)(e,["disableOutsidePointerEvents","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside","onDismiss"]),A=s.useContext(v),C=(0,a._)(s.useState(null),2),L=C[0],T=C[1],N=null!=(n=null==L?void 0:L.ownerDocument)?n:null==(g=globalThis)?void 0:g.document,D=(0,a._)(s.useState({}),2)[1],M=(0,d.s)(t,function(e){return T(e)}),k=Array.from(A.layers),W=(0,a._)((0,u._)(A.layersWithOutsidePointerEventsDisabled).slice(-1),1)[0],j=k.indexOf(W),F=L?k.indexOf(L):-1,H=A.layersWithOutsidePointerEventsDisabled.size>0,I=F>=j,B=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=(0,p.c)(e),o=s.useRef(!1),i=s.useRef(function(){});return s.useEffect(function(){var e=function(e){if(e.target&&!o.current){var t=function(){w("dismissableLayer.pointerDownOutside",r,l,{discrete:!0})},l={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",i.current),i.current=t,n.addEventListener("click",i.current,{once:!0})):t()}else n.removeEventListener("click",i.current);o.current=!1},t=window.setTimeout(function(){n.addEventListener("pointerdown",e)},0);return function(){window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",i.current)}},[n,r]),{onPointerDownCapture:function(){return o.current=!0}}}(function(e){var t=e.target,n=(0,u._)(A.branches).some(function(e){return e.contains(t)});I&&!n&&(null==_||_(e),null==O||O(e),e.defaultPrevented||null==P||P())},N),z=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=(0,p.c)(e),o=s.useRef(!1);return s.useEffect(function(){var e=function(e){e.target&&!o.current&&w("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),function(){return n.removeEventListener("focusin",e)}},[n,r]),{onFocusCapture:function(){return o.current=!0},onBlurCapture:function(){return o.current=!1}}}(function(e){var t=e.target;!(0,u._)(A.branches).some(function(e){return e.contains(t)})&&(null==R||R(e),null==O||O(e),e.defaultPrevented||null==P||P())},N);return!function(e,t=globalThis?.document){let n=(0,p.c)(e);s.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(function(e){F===A.layers.size-1&&(null==E||E(e),!e.defaultPrevented&&P&&(e.preventDefault(),P()))},N),s.useEffect(function(){if(L)return x&&(0===A.layersWithOutsidePointerEventsDisabled.size&&(r=N.body.style.pointerEvents,N.body.style.pointerEvents="none"),A.layersWithOutsidePointerEventsDisabled.add(L)),A.layers.add(L),y(),function(){x&&1===A.layersWithOutsidePointerEventsDisabled.size&&(N.body.style.pointerEvents=r)}},[L,N,x,A]),s.useEffect(function(){return function(){L&&(A.layers.delete(L),A.layersWithOutsidePointerEventsDisabled.delete(L),y())}},[L,A]),s.useEffect(function(){var e=function(){return D({})};return document.addEventListener(h,e),function(){return document.removeEventListener(h,e)}},[]),(0,m.jsx)(f.sG.div,(0,i._)((0,o._)({},S),{ref:M,style:(0,o._)({pointerEvents:H?I?"auto":"none":void 0},e.style),onFocusCapture:(0,c.mK)(e.onFocusCapture,z.onFocusCapture),onBlurCapture:(0,c.mK)(e.onBlurCapture,z.onBlurCapture),onPointerDownCapture:(0,c.mK)(e.onPointerDownCapture,B.onPointerDownCapture)}))});function y(){var e=new CustomEvent(h);document.dispatchEvent(e)}function w(e,t,n,r){var o=r.discrete,i=n.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),o?(0,f.hO)(i,l):i.dispatchEvent(l)}g.displayName="DismissableLayer",s.forwardRef(function(e,t){var n=s.useContext(v),r=s.useRef(null),l=(0,d.s)(t,r);return s.useEffect(function(){var e=r.current;if(e)return n.branches.add(e),function(){n.branches.delete(e)}},[n.branches]),(0,m.jsx)(f.sG.div,(0,i._)((0,o._)({},e),{ref:l}))}).displayName="DismissableLayerBranch"}
1,17754:(e,t,n)=>{n.d(t,{Qg:()=>l,bL:()=>u});var r=n(53859),o=n(37674),i=n(38019),l=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),a=r.forwardRef((e,t)=>(0,i.jsx)(o.sG.span,{...e,ref:t,style:{...l,...e.style}}));a.displayName="VisuallyHidden";var u=a},25427:(e,t,n)=>{n.d(t,{Mz:()=>tt,i3:()=>tr,UC:()=>tn,bL:()=>te,Bk:()=>eG});var r=n(31263),o=n(22469),i=n(99048),l=n(97738),a=n(86165),u=n(70489),s=n(53859);let c=["top","right","bottom","left"],f=Math.min,d=Math.max,p=Math.round,m=Math.floor,h=e=>({x:e,y:e}),v={left:"right",right:"left",bottom:"top",top:"bottom"},g={start:"end",end:"start"};function y(e,t){return"function"==typeof e?e(t):e}function w(e){return e.split("-")[0]}function b(e){return e.split("-")[1]}function x(e){return"x"===e?"y":"x"}function E(e){return"y"===e?"height":"width"}let _=new Set(["top","bottom"]);function R(e){return _.has(w(e))?"y":"x"}function O(e){return e.replace(/start|end/g,e=>g[e])}let P=["left","right"],S=["right","left"],A=["top","bottom"],C=["bottom","top"];function L(e){return e.replace(/left|right|bottom|top/g,e=>v[e])}function T(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function N(e){let{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function D(e,t,n){let r,{reference:o,floating:i}=e,l=R(t),a=x(R(t)),u=E(a),s=w(t),c="y"===l,f=o.x+o.width/2-i.width/2,d=o.y+o.height/2-i.height/2,p=o[u]/2-i[u]/2;switch(s){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:d};break;case"left":r={x:o.x-i.width,y:d};break;default:r={x:o.x,y:o.y}}switch(b(t)){case"start":r[a]-=p*(n&&c?-1:1);break;case"end":r[a]+=p*(n&&c?-1:1)}return r}let M=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:l}=n,a=i.filter(Boolean),u=await (null==l.isRTL?void 0:l.isRTL(t)),s=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:f}=D(s,r,u),d=r,p={},m=0;for(let n=0;n<a.length;n++){let{name:i,fn:h}=a[n],{x:v,y:g,data:y,reset:w}=await h({x:c,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:p,rects:s,platform:l,elements:{reference:e,floating:t}});c=null!=v?v:c,f=null!=g?g:f,p={...p,[i]:{...p[i],...y}},w&&m<=50&&(m++,"object"==typeof w&&(w.placement&&(d=w.placement),w.rects&&(s=!0===w.rects?await l.getElementRects({reference:e,floating:t,strategy:o}):w.rects),{x:c,y:f}=D(s,d,u)),n=-1)}return{x:c,y:f,placement:d,strategy:o,middlewareData:p}};async function k(e,t){var n;void 0===t&&(t={});let{x:r,y:o,platform:i,rects:l,elements:a,strategy:u}=e,{boundary:s="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=y(t,e),m=T(p),h=a[d?"floating"===f?"reference":"floating":f],v=N(await i.getClippingRect({element:null==(n=await (null==i.isElement?void 0:i.isElement(h)))||n?h:h.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:s,rootBoundary:c,strategy:u})),g="floating"===f?{x:r,y:o,width:l.floating.width,height:l.floating.height}:l.reference,w=await (null==i.getOffsetParent?void 0:i.getOffsetParent(a.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=N(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:g,offsetParent:w,strategy:u}):g);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}}function W(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function j(e){return c.some(t=>e[t]>=0)}let F=new Set(["left","top"]);async function H(e,t){let{placement:n,platform:r,elements:o}=e,i=await (null==r.isRTL?void 0:r.isRTL(o.floating)),l=w(n),a=b(n),u="y"===R(n),s=F.has(l)?-1:1,c=i&&u?-1:1,f=y(t,e),{mainAxis:d,crossAxis:p,alignmentAxis:m}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}
1:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&"number"==typeof m&&(p="end"===a?-1*m:m),u?{x:p*c,y:d*s}:{x:d*s,y:p*c}}function I(){return"u">typeof window}function B(e){return $(e)?(e.nodeName||"").toLowerCase():"#document"}function z(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function U(e){var t;return null==(t=($(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function $(e){return!!I()&&(e instanceof Node||e instanceof z(e).Node)}function V(e){return!!I()&&(e instanceof Element||e instanceof z(e).Element)}function G(e){return!!I()&&(e instanceof HTMLElement||e instanceof z(e).HTMLElement)}function X(e){return!(!I()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof z(e).ShadowRoot)}let Y=new Set(["inline","contents"]);function K(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=el(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Y.has(o)}let q=new Set(["table","td","th"]),Z=[":popover-open",":modal"];function Q(e){return Z.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let J=["transform","translate","scale","rotate","perspective"],ee=["transform","translate","scale","rotate","perspective","filter"],et=["paint","layout","strict","content"];function en(e){let t=er(),n=V(e)?el(e):e;return J.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||ee.some(e=>(n.willChange||"").includes(e))||et.some(e=>(n.contain||"").includes(e))}function er(){return!("u"<typeof CSS)&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let eo=new Set(["html","body","#document"]);function ei(e){return eo.has(B(e))}function el(e){return z(e).getComputedStyle(e)}function ea(e){return V(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function eu(e){if("html"===B(e))return e;let t=e.assignedSlot||e.parentNode||X(e)&&e.host||U(e);return X(t)?t.host:t}
1function es(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let o=function e(t){let n=eu(t);return ei(n)?t.ownerDocument?t.ownerDocument.body:t.body:G(n)&&K(n)?n:e(n)}(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),l=z(o);if(i){let e=ec(l);return t.concat(l,l.visualViewport||[],K(o)?o:[],e&&n?es(e):[])}return t.concat(o,es(o,[],n))}function ec(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ef(e){let t=el(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=G(e),i=o?e.offsetWidth:n,l=o?e.offsetHeight:r,a=p(n)!==i||p(r)!==l;return a&&(n=i,r=l),{width:n,height:r,$:a}}function ed(e){return V(e)?e:e.contextElement}function ep(e){let t=ed(e);if(!G(t))return h(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:i}=ef(t),l=(i?p(n.width):n.width)/r,a=(i?p(n.height):n.height)/o;return l&&Number.isFinite(l)||(l=1),a&&Number.isFinite(a)||(a=1),{x:l,y:a}}let em=h(0);function eh(e){let t=z(e);return er()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:em}function ev(e,t,n,r){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let i=e.getBoundingClientRect(),l=ed(e),a=h(1);t&&(r?V(r)&&(a=ep(r)):a=ep(e));let u=(void 0===(o=n)&&(o=!1),r&&(!o||r===z(l))&&o)?eh(l):h(0),s=(i.left+u.x)/a.x,c=(i.top+u.y)/a.y,f=i.width/a.x,d=i.height/a.y;if(l){let e=z(l),t=r&&V(r)?z(r):r,n=e,o=ec(n);for(;o&&r&&t!==n;){let e=ep(o),t=o.getBoundingClientRect(),r=el(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;s*=e.x,c*=e.y,f*=e.x,d*=e.y,s+=i,c+=l,o=ec(n=z(o))}}return N({width:f,height:d,x:s,y:c})}function eg(e,t){let n=ea(e).scrollLeft;return t?t.left+n:ev(U(e)).left+n}function ey(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-eg(e,n),y:n.top+t.scrollTop}}let ew=new Set(["absolute","fixed"]);function eb(e,t,n){var r;let o;if("viewport"===t)o=function(e,t){let n=z(e),r=U(e),o=n.visualViewport,i=r.clientWidth,l=r.clientHeight,a=0,u=0;if(o){i=o.width,l=o.height;let e=er();(!e||e&&"fixed"===t)&&(a=o.offsetLeft,u=o.offsetTop)}let s=eg(r);if(s<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),o="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,l=Math.abs(r.clientWidth-t.clientWidth-o);l<=25&&(i-=l)}else s<=25&&(i+=s);return{width:i,height:l,x:a,y:u}}(e,n);else if("document"===t){let t,n,i,l,a,u,s;r=U(e),t=U(r),n=ea(r),i=r.ownerDocument.body,l=d(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),a=d(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight),u=-n.scrollLeft+eg(r),s=-n.scrollTop,"rtl"===el(i).direction&&(u+=d(t.clientWidth,i.clientWidth)-l),o={width:l,height:a,x:u,y:s}}else if(V(t)){let e,r,i,l,a,u;r=(e=ev(t,!0,"fixed"===n)).top+t.clientTop,i=e.left+t.clientLeft,l=G(t)?ep(t):h(1),a=t.clientWidth*l.x,u=t.clientHeight*l.y,o={width:a,height:u,x:i*l.x,y:r*l.y}}else{let n=eh(e);o={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return N(o)}function ex(e){return"static"===el(e).position}function eE(e,t){if(!G(e)||"fixed"===el(e).position)return null;if(t)return t(e);let n=e.offsetParent;return U(e)===n&&(n=n.ownerDocument.body),n}function e_(e,t){var n;let r=z(e);if(Q(e))return r;if(!G(e)){let t=eu(e);for(;t&&!ei(t);){if(V(t)&&!ex(t))return t;t=eu(t)}return r}let o=eE(e,t);for(;o&&(n=o,q.has(B(n)))&&ex(o);)o=eE(o,t);return o&&ei(o)&&ex(o)&&!en(o)?r:o||function(e){let t=eu(e);for(;G(t)&&!ei(t);){if(en(t))return t;if(Q(t))break;t=eu(t)}return null}(e)||r}let eR=async function(e){let t=this.getOffsetParent||e_,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=G(t),o=U(t),i="fixed"===n,l=ev(e,!0,i,t),a={scrollLeft:0,scrollTop:0},u=h(0);if(r||!r&&!i)if(("body"!==B(t)||K(o))&&(a=ea(t)),r){let e=ev(t,!0,i,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else o&&(u.x=eg(o));i&&!r&&o&&(u.x=eg(o));let s=!o||r||i?h(0):ey(o,a);return{x:l.left+a.scrollLeft-u.x-s.x,y:l.top+a.scrollTop-u.y-s.y,width:l.width,height:l.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},eO={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,i="fixed"===o,l=U(r),a=!!t&&Q(t.floating);if(r===l||a&&i)return n;let u={scrollLeft:0,scrollTop:0},s=h(1),c=h(0),f=G(r);if((f||!f&&!i)&&(("body"!==B(r)||K(l))&&(u=ea(r)),G(r))){let e=ev(r);s=ep(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}let d=!l||f||i?h(0):ey(l,u);return{width:n.width*s.x,height:n.height*s.y,x:n.x*s.x-u.scrollLeft*s.x+c.x+d.x,y:n.y*s.y-u.scrollTop*s.y+c.y+d.y}},getDocumentElement:U,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e,i=[..."clippingAncestors"===n?Q(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=es(e,[],!1).filter(e=>V(e)&&"body"!==B(e)),o=null,i="fixed"===el(e).position,l=i?eu(e):e;for(;V(l)&&!ei(l);){let t=el(l),n=en(l);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&!!o&&ew.has(o.position)||K(l)&&!n&&function e(t,n){let r=eu(t);return!(r===n||!V(r)||ei(r))&&("fixed"===el(r).position||e(r,n))}(e,l))?r=r.filter(e=>e!==l):o=t,l=eu(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],l=i[0],a=i.reduce((e,n)=>{let r=eb(t,n,o);return e.top=d(r.top,e.top),e.right=f(r.right,e.right),e.bottom=f(r.bottom,e.bottom),e.left=d(r.left,e.left),e},eb(t,l,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:e_,getElementRects:eR,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=ef(e);return{width:t,height:n}},getScale:ep,isElement:V,isRTL:function(e){return"rtl"===el(e).direction}};function eP(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function eS(e,t,n,r){let o;void 0===r&&(r={});let{ancestorScroll:i=!0,ancestorResize:l=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:s=!1}=r,c=ed(e),p=i||l?[...c?es(c):[],...es(t)]:[];
1p.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),l&&e.addEventListener("resize",n)});let h=c&&u?function(e,t){let n,r=null,o=U(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function l(a,u){void 0===a&&(a=!1),void 0===u&&(u=1),i();let s=e.getBoundingClientRect(),{left:c,top:p,width:h,height:v}=s;if(a||t(),!h||!v)return;let g={rootMargin:-m(p)+"px "+-m(o.clientWidth-(c+h))+"px "+-m(o.clientHeight-(p+v))+"px "+-m(c)+"px",threshold:d(0,f(1,u))||1},y=!0;function w(t){let r=t[0].intersectionRatio;if(r!==u){if(!y)return l();r?l(!1,r):n=setTimeout(()=>{l(!1,1e-7)},1e3)}1!==r||eP(s,e.getBoundingClientRect())||l(),y=!1}try{r=new IntersectionObserver(w,{...g,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(w,g)}r.observe(e)}(!0),i}(c,n):null,v=-1,g=null;a&&(g=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&g&&(g.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var e;null==(e=g)||e.observe(t)})),n()}),c&&!s&&g.observe(c),g.observe(t));let y=s?ev(e):null;return s&&function t(){let r=ev(e);y&&!eP(y,r)&&n(),y=r,o=requestAnimationFrame(t)}(),n(),()=>{var e;p.forEach(e=>{i&&e.removeEventListener("scroll",n),l&&e.removeEventListener("resize",n)}),null==h||h(),null==(e=g)||e.disconnect(),g=null,s&&cancelAnimationFrame(o)}}let eA=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:o,rects:i,platform:l,elements:a,middlewareData:u}=t,{element:s,padding:c=0}=y(e,t)||{};if(null==s)return{};let p=T(c),m={x:n,y:r},h=x(R(o)),v=E(h),g=await l.getDimensions(s),w="y"===h,_=w?"clientHeight":"clientWidth",O=i.reference[v]+i.reference[h]-m[h]-i.floating[v],P=m[h]-i.reference[h],S=await (null==l.getOffsetParent?void 0:l.getOffsetParent(s)),A=S?S[_]:0;A&&await (null==l.isElement?void 0:l.isElement(S))||(A=a.floating[_]||i.floating[v]);let C=A/2-g[v]/2-1,L=f(p[w?"top":"left"],C),N=f(p[w?"bottom":"right"],C),D=A-g[v]-N,M=A/2-g[v]/2+(O/2-P/2),k=d(L,f(M,D)),W=!u.arrow&&null!=b(o)&&M!==k&&i.reference[v]/2-(M<L?L:N)-g[v]/2<0,j=W?M<L?M-L:M-D:0;return{[h]:m[h]+j,data:{[h]:k,centerOffset:M-k-j,...W&&{alignmentOffset:j}},reset:W}}});var eC=n(7890),eL="u">typeof document?s.useLayoutEffect:function(){};function eT(e,t){let n,r,o;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!eT(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!e.$$typeof)&&!eT(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eN(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eD(e,t){let n=eN(e);return Math.round(t*n)/n}function eM(e){let t=s.useRef(e);return eL(()=>{t.current=e}),t}var ek=n(37674),eW=n(38019),ej=s.forwardRef((e,t)=>{let{children:n,width:r=10,height:o=5,...i}=e;return(0,eW.jsx)(ek.sG.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,eW.jsx)("polygon",{points:"0,0 30,0 15,10"})})});ej.displayName="Arrow";var eF=n(50866),eH=n(75504),eI=n(66653),eB=n(59777),ez=n(55897),eU="Popper",e$=(0,a._)((0,eH.A)(eU),2),eV=e$[0],eG=e$[1],eX=(0,a._)(eV(eU),2),eY=eX[0],eK=eX[1],eq=function(e){var t=e.__scopePopper,n=e.children,r=(0,a._)(s.useState(null),2),o=r[0],i=r[1];return(0,eW.jsx)(eY,{scope:t,anchor:o,onAnchorChange:i,children:n})};eq.displayName=eU;var eZ="PopperAnchor",eQ=s.forwardRef(function(e,t){var n=e.__scopePopper,r=e.virtualRef,a=(0,l._)(e,["__scopePopper","virtualRef"]),u=eK(eZ,n),c=s.useRef(null),f=(0,eF.s)(t,c),d=s.useRef(null);return s.useEffect(function(){var e=d.current;d.current=(null==r?void 0:r.current)||c.current,e!==d.current&&u.onAnchorChange(d.current)}),r?null:(0,eW.jsx)(ek.sG.div,(0,i._)((0,o._)({},a),{ref:f}))});eQ.displayName=eZ;var eJ="PopperContent",e0=(0,a._)(eV(eJ),2),e1=e0[0],e5=e0[1],e6=s.forwardRef(function(e,t){var n,c,p,m,h,v,g,_,T,N,D,I,B,z,U,$,V,G,X,Y,K,q,Z,Q,J,ee,et,en,er,eo=e.__scopePopper,ei=e.side,el=e.sideOffset,ea=e.align,eu=void 0===ea?"center":ea,es=e.alignOffset,ec=e.arrowPadding,ef=e.avoidCollisions,ed=void 0===ef||ef,ep=e.collisionBoundary,em=void 0===ep?[]:ep,eh=e.collisionPadding,ev=void 0===eh?0:eh,eg=e.sticky,ey=e.hideWhenDetached,ew=e.updatePositionStrategy,eb=void 0===ew?"optimized":ew,ex=e.onPlaced,eE=(0,l._)(e,["__scopePopper","side","sideOffset","align","alignOffset","arrowPadding","avoidCollisions","collisionBoundary","collisionPadding","sticky","hideWhenDetached","updatePositionStrategy","onPlaced"]),e_=eK(eJ,eo),eR=(0,a._)(s.useState(null),2),eP=eR[0],ej=eR[1],eH=(0,eF.s)(t,function(e){return ej(e)}),eU=(0,a._)(s.useState(null),2),e$=eU[0],eV=eU[1],eG=(0,ez.X)(e$),eX=null!=(q=null==eG?void 0:eG.width)?q:0,eY=null!=(Z=null==eG?void 0:eG.height)?Z:0,eq="number"==typeof ev?ev:(0,o._)({top:0,right:0,bottom:0,left:0},ev),eZ=Array.isArray(em)?em:[em],eQ=eZ.length>0,e0={padding:eq,boundary:eZ.filter(e3),altBoundary:eQ},e5=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:l}={},transform:a=!0,whileElementsMounted:u,open:c}=e,[f,d]=s.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,m]=s.useState(r);eT(p,r)||m(r);let[h,v]=s.useState(null),[g,y]=s.useState(null),w=s.useCallback(e=>
1{e!==_.current&&(_.current=e,v(e))},[]),b=s.useCallback(e=>{e!==R.current&&(R.current=e,y(e))},[]),x=i||h,E=l||g,_=s.useRef(null),R=s.useRef(null),O=s.useRef(f),P=null!=u,S=eM(u),A=eM(o),C=eM(c),L=s.useCallback(()=>{var e,r;let o,i,l;if(!_.current||!R.current)return;let a={placement:t,strategy:n,middleware:p};A.current&&(a.platform=A.current),(e=_.current,r=R.current,o=new Map,l={...(i={platform:eO,...a}).platform,_c:o},M(e,r,{...i,platform:l})).then(e=>{let t={...e,isPositioned:!1!==C.current};T.current&&!eT(O.current,t)&&(O.current=t,eC.flushSync(()=>{d(t)}))})},[p,t,n,A,C]);eL(()=>{!1===c&&O.current.isPositioned&&(O.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[c]);let T=s.useRef(!1);eL(()=>(T.current=!0,()=>{T.current=!1}),[]),eL(()=>{if(x&&(_.current=x),E&&(R.current=E),x&&E){if(S.current)return S.current(x,E,L);L()}},[x,E,L,S,P]);let N=s.useMemo(()=>({reference:_,floating:R,setReference:w,setFloating:b}),[w,b]),D=s.useMemo(()=>({reference:x,floating:E}),[x,E]),k=s.useMemo(()=>{let e={position:n,left:0,top:0};if(!D.floating)return e;let t=eD(D.floating,f.x),r=eD(D.floating,f.y);return a?{...e,transform:"translate("+t+"px, "+r+"px)",...eN(D.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,a,D.floating,f.x,f.y]);return s.useMemo(()=>({...f,update:L,refs:N,elements:D,floatingStyles:k}),[f,L,N,D,k])}({strategy:"fixed",placement:(void 0===ei?"bottom":ei)+("center"!==eu?"-"+eu:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return eS.apply(void 0,(0,u._)(t).concat([{animationFrame:"always"===eb}]))},elements:{reference:e_.anchor},middleware:[{...{name:"offset",options:p=n={mainAxis:(void 0===el?0:el)+eY,alignmentAxis:void 0===es?0:es},async fn(e){var t,n;let{x:r,y:o,placement:i,middlewareData:l}=e,a=await H(e,p);return i===(null==(t=l.offset)?void 0:t.placement)&&null!=(n=l.arrow)&&n.alignmentOffset?{}:{x:r+a.x,y:o+a.y,data:{...a,placement:i}}}},options:[n,c]},ed&&{...(void 0===(T=g=(0,o._)({mainAxis:!0,crossAxis:!1,limiter:"partial"===(void 0===eg?"partial":eg)?{...(void 0===(v=m)&&(v={}),{options:v,fn(e){let{x:t,y:n,placement:r,rects:o,middlewareData:i}=e,{offset:l=0,mainAxis:a=!0,crossAxis:u=!0}=y(v,e),s={x:t,y:n},c=R(r),f=x(c),d=s[f],p=s[c],m=y(l,e),h="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(a){let e="y"===f?"height":"width",t=o.reference[f]-o.floating[e]+h.mainAxis,n=o.reference[f]+o.reference[e]-h.mainAxis;d<t?d=t:d>n&&(d=n)}if(u){var g,b;let e="y"===f?"width":"height",t=F.has(w(r)),n=o.reference[c]-o.floating[e]+(t&&(null==(g=i.offset)?void 0:g[c])||0)+(t?0:h.crossAxis),l=o.reference[c]+o.reference[e]+(t?0:(null==(b=i.offset)?void 0:b[c])||0)-(t?h.crossAxis:0);p<n?p=n:p>l&&(p=l)}return{[f]:d,[c]:p}}}),options:[m,h]}:void 0},e0))&&(T={}),{name:"shift",options:T,async fn(e){let{x:t,y:n,placement:r}=e,{mainAxis:o=!0,crossAxis:i=!1,limiter:l={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...a}=y(T,e),u={x:t,y:n},s=await k(e,a),c=R(w(r)),p=x(c),m=u[p],h=u[c];
1if(o){let e="y"===p?"top":"left",t="y"===p?"bottom":"right",n=m+s[e],r=m-s[t];m=d(n,f(m,r))}if(i){let e="y"===c?"top":"left",t="y"===c?"bottom":"right",n=h+s[e],r=h-s[t];h=d(n,f(h,r))}let v=l.fn({...e,[p]:m,[c]:h});return{...v,data:{x:v.x-t,y:v.y-n,enabled:{[p]:o,[c]:i}}}}}),options:[g,_]},ed&&{...(void 0===(I=N=(0,o._)({},e0))&&(I={}),{name:"flip",options:I,async fn(e){var t,n,r,o,i,l,a,u;let s,c,f,{placement:d,middlewareData:p,rects:m,initialPlacement:h,platform:v,elements:g}=e,{mainAxis:_=!0,crossAxis:T=!0,fallbackPlacements:N,fallbackStrategy:D="bestFit",fallbackAxisSideDirection:M="none",flipAlignment:W=!0,...j}=y(I,e);if(null!=(t=p.arrow)&&t.alignmentOffset)return{};let F=w(d),H=R(h),B=w(h)===h,z=await (null==v.isRTL?void 0:v.isRTL(g.floating)),U=N||(B||!W?[L(h)]:(s=L(h),[O(h),s,O(s)])),$="none"!==M;!N&&$&&U.push(...(c=b(h),f=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?S:P;return t?P:S;case"left":case"right":return t?A:C;default:return[]}}(w(h),"start"===M,z),c&&(f=f.map(e=>e+"-"+c),W&&(f=f.concat(f.map(O)))),f));let V=[h,...U],G=await k(e,j),X=[],Y=(null==(n=p.flip)?void 0:n.overflows)||[];if(_&&X.push(G[F]),T){let e,t,n,r,o=(l=d,a=m,void 0===(u=z)&&(u=!1),e=b(l),n=E(t=x(R(l))),r="x"===t?e===(u?"end":"start")?"right":"left":"start"===e?"bottom":"top",a.reference[n]>a.floating[n]&&(r=L(r)),[r,L(r)]);X.push(G[o[0]],G[o[1]])}if(Y=[...Y,{placement:d,overflows:X}],!X.every(e=>e<=0)){let e=((null==(r=p.flip)?void 0:r.index)||0)+1,t=V[e];if(t&&("alignment"!==T||H===R(t)||Y.every(e=>R(e.placement)!==H||e.overflows[0]>0)))return{data:{index:e,overflows:Y},reset:{placement:t}};let n=null==(o=Y.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(D){case"bestFit":{let e=null==(i=Y.filter(e=>{if($){let t=R(e.placement);return t===H||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:i[0];e&&(n=e);break}case"initialPlacement":n=h}if(d!==n)return{reset:{placement:n}}}return{}}}),options:[N,D]},{...(void 0===(U=B=(0,i._)((0,o._)({},e0),{apply:function(e){var t=e.elements,n=e.rects,r=e.availableWidth,o=e.availableHeight,i=n.reference,l=i.width,a=i.height,u=t.floating.style;u.setProperty("--radix-popper-available-width","".concat(r,"px")),u.setProperty("--radix-popper-available-height","".concat(o,"px")),u.setProperty("--radix-popper-anchor-width","".concat(l,"px")),u.setProperty("--radix-popper-anchor-height","".concat(a,"px"))}}))&&(U={}),{name:"size",options:U,async fn(e){var t,n;let r,o,{placement:i,rects:l,platform:a,elements:u}=e,{apply:s=()=>{},...c}=y(U,e),p=await k(e,c),m=w(i),h=b(i),v="y"===R(i),{width:g,height:x}=l.floating;"top"===m||"bottom"===m?(r=m,o=h===(await (null==a.isRTL?void 0:a.isRTL(u.floating))?"start":"end")?"left":"right"):(o=m,r="end"===h?"top":"bottom");let E=x-p.top-p.bottom,_=g-p.left-p.right,O=f(x-p[r],E),P=f(g-p[o],_),S=!e.middlewareData.shift,A=O,C=P;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(C=_),null!=(n=e.middlewareData.shift)&&n.enabled.y&&(A=E),S&&!h){let e=d(p.left,0),t=d(p.right,0),n=d(p.top,0),r=d(p.bottom,0);v?C=g-2*(0!==e||0!==t?e+t:d(p.left,p.right)):A=x-2*(0!==n||0!==r?n+r:d(p.top,p.bottom))}await s({...e,availableWidth:C,availableHeight:A});let L=await a.getDimensions(u.floating);return g!==L.width||x!==L.height?{reset:{rects:!0}}:{}}}),options:[B,z]},e$&&{...{name:"arrow",options:G=$={element:e$,padding:void 0===ec?0:ec},fn(e){let{element:t,padding:n}="function"==typeof G?G(e):G;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?eA({element:t.current,padding:n}).fn(e):{}:t?eA({element:t,padding:n}).fn(e):{}}},options:[$,V]},e8({arrowWidth:eX,arrowHeight:eY}),void 0!==ey&&ey&&{...(void 0===(K=X=(0,o._)({strategy:"referenceHidden"},e0))&&(K={}),{name:"hide",options:K,async fn(e){let{rects:t}=e,{strategy:n="referenceHidden",...r}=y(K,e);switch(n){case"referenceHidden":{let n=W(await k(e,{...r,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:j(n)}}}case"escaped":{let n=W(await k(e,{...r,altBoundary:!0}),t.floating);return{data:{escapedOffsets:n,escaped:j(n)}}}default:return{}}}}),options:[X,Y]}]}),e6=e5.refs,e2=e5.floatingStyles,e7=e5.placement,e9=e5.isPositioned,te=e5.middlewareData,tt=(0,a._)(e4(e7),2),tn=tt[0],tr=tt[1],to=(0,eI.c)(ex);(0,eB.N)(function(){e9&&(null==to||to())},[e9,to]);var ti=null==(Q=te.arrow)?void 0:Q.x,tl=null==(J=te.arrow)?void 0:J.y,ta=(null==(ee=te.arrow)?void 0:ee.centerOffset)!==0,tu=(0,a._)(s.useState(),2),ts=tu[0],tc=tu[1];return(0,eB.N)(function(){eP&&tc(window.getComputedStyle(eP).zIndex)},[eP]),(0,eW.jsx)("div",{ref:e6.setFloating,"data-radix-popper-content-wrapper":"",style:(0,o._)((0,i._)((0,o._)({},e2),(0,r._)({transform:e9?e2.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ts},"--radix-popper-transform-origin",[null==(et=te.transformOrigin)?void 0:et.x,null==(en=te.transformOrigin)?void 0:en.y].join(" "))),(null==(er=te.hide)?void 0:er.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}),dir:e.dir,children:(0,eW.jsx)(e1,{scope:eo,placedSide:tn,onArrowChange:eV,arrowX:ti,arrowY:tl,shouldHideArrow:ta,children:(0,eW.jsx)(ek.sG.div,(0,i._)((0,o._)({"data-side":tn,"data-align":tr},eE),{ref:eH,style:(0,i._)((0,o._)({},eE.style),{animation:e9?void 0:"none"})}))})})});e6.displayName=eJ;var e2="PopperArrow",e7={top:"bottom",right:"left",bottom:"top",left:"r
1ight"},e9=s.forwardRef(function(e,t){var n,a=e.__scopePopper,u=(0,l._)(e,["__scopePopper"]),s=e5(e2,a),c=e7[s.placedSide];return(0,eW.jsx)("span",{ref:s.onArrowChange,style:(n={position:"absolute",left:s.arrowX,top:s.arrowY},(0,r._)(n,c,0),(0,r._)(n,"transformOrigin",{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide]),(0,r._)(n,"transform",{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide]),(0,r._)(n,"visibility",s.shouldHideArrow?"hidden":void 0),n),children:(0,eW.jsx)(ej,(0,i._)((0,o._)({},u),{ref:t,style:(0,i._)((0,o._)({},u.style),{display:"block"})}))})});function e3(e){return null!==e}e9.displayName=e2;var e8=function(e){return{name:"transformOrigin",options:e,fn:function(t){var n,r,o,i,l,u=t.placement,s=t.rects,c=t.middlewareData,f=(null==(o=c.arrow)?void 0:o.centerOffset)!==0,d=f?0:e.arrowWidth,p=f?0:e.arrowHeight,m=(0,a._)(e4(u),2),h=m[0],v={start:"0%",center:"50%",end:"100%"}[m[1]],g=(null!=(n=null==(i=c.arrow)?void 0:i.x)?n:0)+d/2,y=(null!=(r=null==(l=c.arrow)?void 0:l.y)?r:0)+p/2,w="",b="";return"bottom"===h?(w=f?v:"".concat(g,"px"),b="".concat(-p,"px")):"top"===h?(w=f?v:"".concat(g,"px"),b="".concat(s.floating.height+p,"px")):"right"===h?(w="".concat(-p,"px"),b=f?v:"".concat(y,"px")):"left"===h&&(w="".concat(s.floating.width+p,"px"),b=f?v:"".concat(y,"px")),{data:{x:w,y:b}}}}};function e4(e){var t=(0,a._)(e.split("-"),2),n=t[0],r=t[1];return[n,void 0===r?"center":r]}var te=eq,tt=eQ,tn=e6,tr=e9},36975:(e,t,n)=>{n.d(t,{_:()=>o});var r=n(73461);function o(e,t,n){return(o="u">typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var o=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=(0,r._)(e)););return e}(e,t);if(o){var i=Object.getOwnPropertyDescriptor(o,t);return i.get?i.get.call(n||e):i.value}})(e,t,n||e)}},37674:(e,t,n)=>{n.d(t,{hO:()=>u,sG:()=>a});var r=n(53859),o=n(7890),i=n(32346),l=n(38019),a=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=(0,i.TL)(`Primitive.${t}`),o=r.forwardRef((e,r)=>{let{asChild:o,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(o?n:t,{...i,ref:r})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function u(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}},44668:(e,t,n)=>{n.d(t,{C:()=>a});var r=n(86165),o=n(53859),i=n(50866),l=n(59777),a=function(e){var t,n,a,s,c,f=e.present,d=e.children,p=function(e){var t,n=(0,r._)(o.useState(),2),i=n[0],a=n[1],s=o.useRef(null),c=o.useRef(e),f=o.useRef("none"),d=e?"mounted":"unmounted",p=(0,r._)((t={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},o.useReducer(function(e,n){var r=t[e][n];return null!=r?r:e},d)),2),m=p[0],h=p[1];return o.useEffect(function(){var e=u(s.current);f.current="mounted"===m?e:"none"},[m]),(0,l.N)(function(){var t=s.current,n=c.current;if(n!==e){var r=f.current,o=u(t);e?h("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?h("UNMOUNT"):n&&r!==o?h("ANIMATION_OUT"):h("UNMOUNT"),c.current=e}},[e,h]),(0,l.N)(function(){if(i){var e,t,n=null!=(e=i.ownerDocument.defaultView)?e:window,r=function(e){var r=u(s.current).includes(CSS.escape(e.animationName));if(e.target===i&&r&&(h("ANIMATION_END"),!c.current)){var o=i.style.animationFillMode;i.style.animationFillMode="forwards",t=n.setTimeout(function(){"forwards"===i.style.animationFillMode&&(i.style.animationFillMode=o)})}},o=function(e){e.target===i&&(f.current=u(s.current))};return i.addEventListener("animationstart",o),i.addEventListener("animationcancel",r),i.addEventListener("animationend",r),function(){n.clearTimeout(t),i.removeEventListener("animationstart",o),i.removeEventListener("animationcancel",r),i.removeEventListener("animationend",r)}}h("ANIMATION_END")},[i,h]),{isPresent:["mounted","unmountSuspended"].includes(m),ref:o.useCallback(function(e){s.current=e?getComputedStyle(e):null,a(e)},[])}}(f),m="function"==typeof d?d({present:p.isPresent}):o.Children.only(d),h=(0,i.s)(p.ref,(c=(s=null==(n=Object.getOwnPropertyDescriptor((t=m).props,"ref"))?void 0:n.get)&&"isReactWarning"in s&&s.isReactWarning)?t.ref:(c=(s=null==(a=Object.getOwnPropertyDescriptor(t,"ref"))?void 0:a.get)&&"isReactWarning"in s&&s.isReactWarning)?t.props.ref:t.props.ref||t.ref);return"function"==typeof d||p.isPresent?o.cloneElement(m,{ref:h}):null};function u(e){return(null==e?void 0:e.animationName)||"none"}a.displayName="Presence"}
1,45333:(e,t,n)=>{n.d(t,{i:()=>a});var r,o=n(53859),i=n(59777),l=(r||(r=n.t(o,2)))[" useInsertionEffect ".trim().toString()]||i.N;function a({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){let[i,u,s]=function({defaultProp:e,onChange:t}){let[n,r]=o.useState(e),i=o.useRef(n),a=o.useRef(t);return l(()=>{a.current=t},[t]),o.useEffect(()=>{i.current!==n&&(a.current?.(n),i.current=n)},[n,i]),[n,r,a]}({defaultProp:t,onChange:n}),c=void 0!==e,f=c?e:i;{let t=o.useRef(void 0!==e);o.useEffect(()=>{let e=t.current;if(e!==c){let t=c?"controlled":"uncontrolled";console.warn(`${r} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=c},[c,r])}return[f,o.useCallback(t=>{if(c){let n="function"==typeof t?t(e):t;n!==e&&s.current?.(n)}else u(t)},[c,e,u,s])]}Symbol("RADIX:SYNC_STATE")},53415:(e,t,n)=>{n.d(t,{f:()=>r});let r=e=>e?.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/\s+/g,"-").toLowerCase()},55897:(e,t,n)=>{n.d(t,{X:()=>i});var r=n(53859),o=n(59777);function i(e){let[t,n]=r.useState(void 0);return(0,o.N)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,o;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,o=t.blockSize}else r=e.offsetWidth,o=e.offsetHeight;n({width:r,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}},59001:(e,t,n)=>{n.d(t,{B:()=>u});var r,o=n(53859),i=n(59777),l=(r||(r=n.t(o,2)))[" useId ".trim().toString()]||(()=>void 0),a=0;function u(e){let[t,n]=o.useState(l());return(0,i.N)(()=>{e||n(e=>e??String(a++))},[e]),e||(t?`radix-${t}`:"")}},59777:(e,t,n)=>{n.d(t,{N:()=>o});var r=n(53859),o=globalThis?.document?r.useLayoutEffect:()=>{}},66653:(e,t,n)=>{n.d(t,{c:()=>o});var r=n(53859);function o(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},68606:(e,t,n)=>{n.d(t,{Z:()=>d});var r=n(22469),o=n(99048),i=n(97738),l=n(86165),a=n(53859),u=n(7890),s=n(37674),c=n(59777),f=n(38019),d=a.forwardRef(function(e,t){var n,d,p=e.container,m=(0,i._)(e,["container"]),h=(0,l._)(a.useState(!1),2),v=h[0],g=h[1];(0,c.N)(function(){return g(!0)},[]);var y=p||v&&(null==(d=globalThis)||null==(n=d.document)?void 0:n.body);return y?u.createPortal((0,f.jsx)(s.sG.div,(0,o._)((0,r._)({},m),{ref:t})),y):null});d.displayName="Portal"},69345:(e,t,n)=>{function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}n.d(t,{mK:()=>r}),"u">typeof window&&window.document&&window.document.createElement},75504:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(53859),o=n(38019);function i(e,t=[]){let n=[],l=()=>{let t=n.map(e=>r.createContext(e));return function(n){let o=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:o}}),[n,o])}};return l.scopeName=e,[function(t,i){let l=r.createContext(i),a=n.length;n=[...n,i];let u=t=>{let{scope:n,children:i,...u}=t,s=n?.[e]?.[a]||l,c=r.useMemo(()=>u,Object.values(u));return(0,o.jsx)(s.Provider,{value:c,children:i})};return u.displayName=t+"Provider",[u,function(n,o){let u=o?.[e]?.[a]||l,s=r.useContext(u);if(s)return s;if(void 0!==i)return i;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=n.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}(l,...t)]}},91306:(e,t,n)=>{let r;n.d(t,{A:()=>a});let o="u">typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),i=new Uint8Array(16),l=[];for(let e=0;e<256;++e)l.push((e+256).toString(16).slice(1));let a=function(e,t,n){if(o&&!t&&!e)return o();var a=e,u=n;let s=(a=a||{}).random??a.rng?.()??function(){if(!r){if("u"<typeof crypto||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");r=crypto.getRandomValues.bind(crypto)}return r(i)}();if(s.length<16)throw Error("Random bytes length must be >= 16");if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t){if((u=u||0)<0||u+16>t.length)throw RangeError(`UUID byte range ${u}:${u+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[u+e]=s[e];return t}return function(e,t=0){return(l[e[t+0]]+l[e[t+1]]+l[e[t+2]]+l[e[t+3]]+"-"+l[e[t+4]]+l[e[t+5]]+"-"+l[e[t+6]]+l[e[t+7]]+"-"+l[e[t+8]]+l[e[t+9]]+"-"+l[e[t+10]]+l[e[t+11]]+l[e[t+12]]+l[e[t+13]]+l[e[t+14]]+l[e[t+15]]).toLowerCase()}(s)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.