1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5208],{7386:(e,t,n)=>{n.d(t,{z:()=>f});var r=n(33777),o=n(48864),i=n(72212),l=n(57110),a=n(80075),u=n(76554),s=n(5802);function c(e){return"number"==typeof e?e:parseFloat(e)}function f(e,t={}){let{isStatic:n}=(0,r.useContext)(i.Q),d=(0,r.useRef)(null),p=(0,a.d)((0,u.S)(e)?c(e.get()):e),h=(0,r.useRef)(p.get()),g=(0,r.useRef)(()=>{}),m=()=>{let e=d.current;e&&0===e.time&&e.sample(s.uv.delta),y(),d.current=(0,o.L)({keyframes:[p.get(),h.current],velocity:p.getVelocity(),type:"spring",restDelta:.001,restSpeed:.01,...t,onUpdate:g.current})},y=()=>{d.current&&d.current.stop()};return(0,r.useInsertionEffect)(()=>p.attach((e,t)=>n?t(e):(h.current=e,g.current=t,s.Gt.update(m),p.get()),y),[JSON.stringify(t)]),(0,l.E)(()=>{if((0,u.S)(e))return e.on("change",e=>p.set(c(e)))},[p]),p}},23826:(e,t,n)=>{n.d(t,{X:()=>i});var r=n(33777),o=n(73450);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}},69998:(e,t,n)=>{n.d(t,{UC:()=>tW,ZL:()=>tF,Kq:()=>tM,bL:()=>tH,l9:()=>tN});var r=n(33777),o=n(52679),i=n(23063),l=n(4579),a=n(23883),u=n(77846);let s=["top","right","bottom","left"],c=Math.min,f=Math.max,d=Math.round,p=Math.floor,h=e=>({x:e,y:e}
1),g={left:"right",right:"left",bottom:"top",top:"bottom"},m={start:"end",end:"start"};function y(e,t){return"function"==typeof e?e(t):e}function x(e){return e.split("-")[0]}function v(e){return e.split("-")[1]}function w(e){return"x"===e?"y":"x"}function b(e){return"y"===e?"height":"width"}let R=new Set(["top","bottom"]);function C(e){return R.has(x(e))?"y":"x"}function T(e){return e.replace(/start|end/g,e=>m[e])}let E=["left","right"],A=["right","left"],L=["top","bottom"],S=["bottom","top"];function O(e){return e.replace(/left|right|bottom|top/g,e=>g[e])}function k(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function P(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 j(e,t,n){let r,{reference:o,floating:i}=e,l=C(t),a=w(C(t)),u=b(a),s=x(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(v(t)){case"start":r[a]-=p*(n&&c?-1:1);break;case"end":r[a]+=p*(n&&c?-1:1)}return r}async function D(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),h=k(p),g=a[d?"floating"===f?"reference":"floating":f],m=P(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(a.floating)),boundary:s,rootBoundary:c,strategy:u})),x="floating"===f?{x:r,y:o,width:l.floating.width,height:l.floating.height}:l.reference,v=await (null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),w=await (null==i.isElement?void 0:i.isElement(v))&&await (null==i.getScale?void 0:i.getScale(v))||{x:1,y:1},b=P(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:x,offsetParent:v,strategy:u}):x);return{top:(m.top-b.top+h.top)/w.y,bottom:(b.bottom-m.bottom+h.bottom)/w.y,left:(m.left-b.left+h.left)/w.x,right:(b.right-m.right+h.right)/w.x}}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}=j(s,r,u),d=r,p={},h=0;for(let n=0;n<a.length;n++){var g;let{name:i,fn:m}=a[n],{x:y,y:x,data:v,reset:w}=await m({x:c,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:p,rects:s,platform:{...l,detectOverflow:null!=(g=l.detectOverflow)?g:D},elements:{reference:e,floating:t}});c=null!=y?y:c,f=null!=x?x:f,p={...p,[i]:{...p[i],...v}},w&&h<=50&&(h++,"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}=j(s,d,u)),n=-1)}return{x:c,y:f,placement:d,strategy:o,middlewareData:p}};function H(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function N(e){return s.some(t=>e[t]>=0)}let F=new Set(["left","top"]);async function W(e,t){let{placement:n,platform:r,elements:o}=e,i=await (null==r.isRTL?void 0:r.isRTL(o.floating)),l=x(n),a=v(n),u="y"===C(n),s=F.has(l)?-1:1,c=i&&u?-1:1,f=y(t,e),{mainAxis:d,crossAxis:p,alignmentAxis:h}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&"number"==typeof h&&(p="end"===a?-1*h:h),u?{x:p*c,y:d*s}:{x:d*s,y:p*c}}function B(){return"undefined"!=typeof window}function _(e){return V(e)?(e.nodeName||"").toLowerCase():"#document"}function z(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function I(e){var t;return null==(t=(V(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function V(e){return!!B()&&(e instanceof Node||e instanceof z(e).Node)}function G(e){return!!B()&&(e instanceof Element||e instanceof z(e).Element)}function X(e){return!!B()&&(e instanceof HTMLElement||e instanceof z(e).HTMLElement)}function K(e){return!!B()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof z(e).ShadowRoot)}let Y=new Set(["inline","contents"]);function q(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=ei(e);
1return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Y.has(o)}let Q=new Set(["table","td","th"]),$=[":popover-open",":modal"];function U(e){return $.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let Z=["transform","translate","scale","rotate","perspective"],J=["transform","translate","scale","rotate","perspective","filter"],ee=["paint","layout","strict","content"];function et(e){let t=en(),n=G(e)?ei(e):e;return Z.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||J.some(e=>(n.willChange||"").includes(e))||ee.some(e=>(n.contain||"").includes(e))}function en(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let er=new Set(["html","body","#document"]);function eo(e){return er.has(_(e))}function ei(e){return z(e).getComputedStyle(e)}function el(e){return G(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ea(e){if("html"===_(e))return e;let t=e.assignedSlot||e.parentNode||K(e)&&e.host||I(e);return K(t)?t.host:t}function eu(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let o=function e(t){let n=ea(t);return eo(n)?t.ownerDocument?t.ownerDocument.body:t.body:X(n)&&q(n)?n:e(n)}(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),l=z(o);if(i){let e=es(l);return t.concat(l,l.visualViewport||[],q(o)?o:[],e&&n?eu(e):[])}return t.concat(o,eu(o,[],n))}function es(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ec(e){let t=ei(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=X(e),i=o?e.offsetWidth:n,l=o?e.offsetHeight:r,a=d(n)!==i||d(r)!==l;return a&&(n=i,r=l),{width:n,height:r,$:a}}function ef(e){return G(e)?e:e.contextElement}function ed(e){let t=ef(e);if(!X(t))return h(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:i}=ec(t),l=(i?d(n.width):n.width)/r,a=(i?d(n.height):n.height)/o;return l&&Number.isFinite(l)||(l=1),a&&Number.isFinite(a)||(a=1),{x:l,y:a}}let ep=h(0);function eh(e){let t=z(e);return en()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ep}function eg(e,t,n,r){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let i=e.getBoundingClientRect(),l=ef(e),a=h(1);t&&(r?G(r)&&(a=ed(r)):a=ed(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&&G(r)?z(r):r,n=e,o=es(n);for(;o&&r&&t!==n;){let e=ed(o),t=o.getBoundingClientRect(),r=ei(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=es(n=z(o))}}return P({width:f,height:d,x:s,y:c})}function em(e,t){let n=el(e).scrollLeft;return t?t.left+n:eg(I(e)).left+n}function ey(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-em(e,n),y:n.top+t.scrollTop}}let ex=new Set(["absolute","fixed"]);function ev(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=z(e),r=I(e),o=n.visualViewport,i=r.clientWidth,l=r.clientHeight,a=0,u=0;if(o){i=o.width,l=o.height;let e=en();(!e||e&&"fixed"===t)&&(a=o.offsetLeft,u=o.offsetTop)}let s=em(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)r=function(e){let t=I(e),n=el(e),r=e.ownerDocument.body,o=f(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=f(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),l=-n.scrollLeft+em(e),a=-n.scrollTop;return"rtl"===ei(r).direction&&(l+=f(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:l,y:a}}(I(e));else if(G(t))r=function(e,t){let n=eg(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=X(e)?ed(e):h(1),l=e.clientWidth*i.x,a=e.clientHeight*i.y;return{width:l,height:a,x:o*i.x,y:r*i.y}}(t,n);else{let n=eh(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return P(r)}function ew(e){return"static"===ei(e).position}function eb(e,t){if(!X(e)||"fixed"===ei(e).position)return null;if(t)return t(e);let n=e.offsetParent;return I(e)===n&&(n=n.ownerDocument.body),n}function eR(e,t){var n;let r=z(e);
1if(U(e))return r;if(!X(e)){let t=ea(e);for(;t&&!eo(t);){if(G(t)&&!ew(t))return t;t=ea(t)}return r}let o=eb(e,t);for(;o&&(n=o,Q.has(_(n)))&&ew(o);)o=eb(o,t);return o&&eo(o)&&ew(o)&&!et(o)?r:o||function(e){let t=ea(e);for(;X(t)&&!eo(t);){if(et(t))return t;if(U(t))break;t=ea(t)}return null}(e)||r}let eC=async function(e){let t=this.getOffsetParent||eR,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=X(t),o=I(t),i="fixed"===n,l=eg(e,!0,i,t),a={scrollLeft:0,scrollTop:0},u=h(0);if(r||!r&&!i)if(("body"!==_(t)||q(o))&&(a=el(t)),r){let e=eg(t,!0,i,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else o&&(u.x=em(o));i&&!r&&o&&(u.x=em(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}}},eT={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,i="fixed"===o,l=I(r),a=!!t&&U(t.floating);if(r===l||a&&i)return n;let u={scrollLeft:0,scrollTop:0},s=h(1),c=h(0),f=X(r);if((f||!f&&!i)&&(("body"!==_(r)||q(l))&&(u=el(r)),X(r))){let e=eg(r);s=ed(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:I,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e,i=[..."clippingAncestors"===n?U(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=eu(e,[],!1).filter(e=>G(e)&&"body"!==_(e)),o=null,i="fixed"===ei(e).position,l=i?ea(e):e;for(;G(l)&&!eo(l);){let t=ei(l),n=et(l);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&!!o&&ex.has(o.position)||q(l)&&!n&&function e(t,n){let r=ea(t);return!(r===n||!G(r)||eo(r))&&("fixed"===ei(r).position||e(r,n))}(e,l))?r=r.filter(e=>e!==l):o=t,l=ea(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],l=i[0],a=i.reduce((e,n)=>{let r=ev(t,n,o);return e.top=f(r.top,e.top),e.right=c(r.right,e.right),e.bottom=c(r.bottom,e.bottom),e.left=f(r.left,e.left),e},ev(t,l,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:eR,getElementRects:eC,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=ec(e);return{width:t,height:n}},getScale:ed,isElement:G,isRTL:function(e){return"rtl"===ei(e).direction}};function eE(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}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:d=0}=y(e,t)||{};if(null==s)return{};let p=k(d),h={x:n,y:r},g=w(C(o)),m=b(g),x=await l.getDimensions(s),R="y"===g,T=R?"clientHeight":"clientWidth",E=i.reference[m]+i.reference[g]-h[g]-i.floating[m],A=h[g]-i.reference[g],L=await (null==l.getOffsetParent?void 0:l.getOffsetParent(s)),S=L?L[T]:0;S&&await (null==l.isElement?void 0:l.isElement(L))||(S=a.floating[T]||i.floating[m]);let O=S/2-x[m]/2-1,P=c(p[R?"top":"left"],O),j=c(p[R?"bottom":"right"],O),D=S-x[m]-j,M=S/2-x[m]/2+(E/2-A/2),H=f(P,c(M,D)),N=!u.arrow&&null!=v(o)&&M!==H&&i.reference[m]/2-(M<P?P:j)-x[m]/2<0,F=N?M<P?M-P:M-D:0;return{[g]:h[g]+F,data:{[g]:H,centerOffset:M-H-F,...N&&{alignmentOffset:F}},reset:N}}}),eL=(e,t,n)=>{let r=new Map,o={platform:eT,...n},i={...o.platform,_c:r};return M(e,t,{...o,platform:i})};var eS=n(63764),eO="undefined"!=typeof document?r.useLayoutEffect:function(){};function ek(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(!ek(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)&&!ek(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eP(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ej(e,t){let n=eP(e);return Math.round(t*n)/n}function eD(e){let t=r.useRef(e);return eO(()=>{t.current=e}),t}let eM=e=>({name:"arrow",options:e,fn(t){let{element:n,padding:r}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?eA({element:n.current,padding:r}).fn(t):{}:n?eA({element:n,padding:r}).fn(t):{}}}),eH=(e,t)=>({...function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:o,y:i,placement:l,middlewareData:a}=t,u=await W(t,e);return l===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:o+u.x,y:i+u.y,data:{...u,placement:l}}}}}(e),options:[e,t]}),eN=(e,t)=>({...function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:o,platform:i}=t,{mainAxis:l=!0,crossAxis:a=!1,limiter:u={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...s}=y(e,t),d={x:n,y:r},p=await i.detectOverflow(t,s),h=C(x(o)),g=w(h),m=d[g],v=d[h];if(l){let e="y"===g?"top":"left",t="y"===g?"bottom":"right",n=m+p[e],r=m-p[t];m=f(n,c(m,r))}
1if(a){let e="y"===h?"top":"left",t="y"===h?"bottom":"right",n=v+p[e],r=v-p[t];v=f(n,c(v,r))}let b=u.fn({...t,[g]:m,[h]:v});return{...b,data:{x:b.x-n,y:b.y-r,enabled:{[g]:l,[h]:a}}}}}}(e),options:[e,t]}),eF=(e,t)=>({...function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:o,rects:i,middlewareData:l}=t,{offset:a=0,mainAxis:u=!0,crossAxis:s=!0}=y(e,t),c={x:n,y:r},f=C(o),d=w(f),p=c[d],h=c[f],g=y(a,t),m="number"==typeof g?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(u){let e="y"===d?"height":"width",t=i.reference[d]-i.floating[e]+m.mainAxis,n=i.reference[d]+i.reference[e]-m.mainAxis;p<t?p=t:p>n&&(p=n)}if(s){var v,b;let e="y"===d?"width":"height",t=F.has(x(o)),n=i.reference[f]-i.floating[e]+(t&&(null==(v=l.offset)?void 0:v[f])||0)+(t?0:m.crossAxis),r=i.reference[f]+i.reference[e]+(t?0:(null==(b=l.offset)?void 0:b[f])||0)-(t?m.crossAxis:0);h<n?h=n:h>r&&(h=r)}return{[d]:p,[f]:h}}}}(e),options:[e,t]}),eW=(e,t)=>({...function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,o,i,l;let{placement:a,middlewareData:u,rects:s,initialPlacement:c,platform:f,elements:d}=t,{mainAxis:p=!0,crossAxis:h=!0,fallbackPlacements:g,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:R="none",flipAlignment:k=!0,...P}=y(e,t);if(null!=(n=u.arrow)&&n.alignmentOffset)return{};let j=x(a),D=C(c),M=x(c)===c,H=await (null==f.isRTL?void 0:f.isRTL(d.floating)),N=g||(M||!k?[O(c)]:function(e){let t=O(e);return[T(e),t,T(t)]}(c)),F="none"!==R;!g&&F&&N.push(...function(e,t,n,r){let o=v(e),i=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?A:E;return t?E:A;case"left":case"right":return t?L:S;default:return[]}}(x(e),"start"===n,r);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(T)))),i}(c,k,R,H));let W=[c,...N],B=await f.detectOverflow(t,P),_=[],z=(null==(r=u.flip)?void 0:r.overflows)||[];if(p&&_.push(B[j]),h){let e=function(e,t,n){void 0===n&&(n=!1);let r=v(e),o=w(C(e)),i=b(o),l="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=O(l)),[l,O(l)]}(a,s,H);_.push(B[e[0]],B[e[1]])}if(z=[...z,{placement:a,overflows:_}],!_.every(e=>e<=0)){let e=((null==(o=u.flip)?void 0:o.index)||0)+1,t=W[e];if(t&&("alignment"!==h||D===C(t)||z.every(e=>C(e.placement)!==D||e.overflows[0]>0)))return{data:{index:e,overflows:z},reset:{placement:t}};let n=null==(i=z.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!n)switch(m){case"bestFit":{let e=null==(l=z.filter(e=>{if(F){let t=C(e.placement);return t===D||"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:l[0];e&&(n=e);break}case"initialPlacement":n=c}if(a!==n)return{reset:{placement:n}}}return{}}}}(e),options:[e,t]}),eB=(e,t)=>({...function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;let o,i,{placement:l,rects:a,platform:u,elements:s}=t,{apply:d=()=>{},...p}=y(e,t),h=await u.detectOverflow(t,p),g=x(l),m=v(l),w="y"===C(l),{width:b,height:R}=a.floating;"top"===g||"bottom"===g?(o=g,i=m===(await (null==u.isRTL?void 0:u.isRTL(s.floating))?"start":"end")?"left":"right"):(i=g,o="end"===m?"top":"bottom");let T=R-h.top-h.bottom,E=b-h.left-h.right,A=c(R-h[o],T),L=c(b-h[i],E),S=!t.middlewareData.shift,O=A,k=L;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(k=E),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(O=T),S&&!m){let e=f(h.left,0),t=f(h.right,0),n=f(h.top,0),r=f(h.bottom,0);w?k=b-2*(0!==e||0!==t?e+t:f(h.left,h.right)):O=R-2*(0!==n||0!==r?n+r:f(h.top,h.bottom))}await d({...t,availableWidth:k,availableHeight:O});let P=await u.getDimensions(s.floating);return b!==P.width||R!==P.height?{reset:{rects:!0}}:{}}}}(e),options:[e,t]}),e_=(e,t)=>({...function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:o="referenceHidden",...i}=y(e,t);switch(o){case"referenceHidden":{let e=H(await r.detectOverflow(t,{...i,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:N(e)}}}case"escaped":{let e=H(await r.detectOverflow(t,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:N(e)}}}default:return{}}}}}(e),options:[e,t]}),ez=(e,t)=>({...eM(e),options:[e,t]});var eI=n(30433),eV=n(52693),eG=r.forwardRef((e,t)=>
1{let{children:n,width:r=10,height:o=5,...i}=e;return(0,eV.jsx)(eI.sG.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,eV.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eG.displayName="Arrow";var eX=n(43086),eK=n(73450),eY=n(23826),eq="Popper",[eQ,e$]=(0,l.A)(eq),[eU,eZ]=eQ(eq),eJ=e=>{let{__scopePopper:t,children:n}=e,[o,i]=r.useState(null);return(0,eV.jsx)(eU,{scope:t,anchor:o,onAnchorChange:i,children:n})};eJ.displayName=eq;var e0="PopperAnchor",e1=r.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:o,...l}=e,a=eZ(e0,n),u=r.useRef(null),s=(0,i.s)(t,u),c=r.useRef(null);return r.useEffect(()=>{let e=c.current;c.current=(null==o?void 0:o.current)||u.current,e!==c.current&&a.onAnchorChange(c.current)}),o?null:(0,eV.jsx)(eI.sG.div,{...l,ref:s})});e1.displayName=e0;var e2="PopperContent",[e7,e3]=eQ(e2),e5=r.forwardRef((e,t)=>{var n,o,l,a,u,s,d,h;let{__scopePopper:g,side:m="bottom",sideOffset:y=0,align:x="center",alignOffset:v=0,arrowPadding:w=0,avoidCollisions:b=!0,collisionBoundary:R=[],collisionPadding:C=0,sticky:T="partial",hideWhenDetached:E=!1,updatePositionStrategy:A="optimized",onPlaced:L,...S}=e,O=eZ(e2,g),[k,P]=r.useState(null),j=(0,i.s)(t,e=>P(e)),[D,M]=r.useState(null),H=(0,eY.X)(D),N=null!=(d=null==H?void 0:H.width)?d:0,F=null!=(h=null==H?void 0:H.height)?h:0,W="number"==typeof C?C:{top:0,right:0,bottom:0,left:0,...C},B=Array.isArray(R)?R:[R],_=B.length>0,z={padding:W,boundary:B.filter(e4),altBoundary:_},{refs:V,floatingStyles:G,placement:X,isPositioned:K,middlewareData:Y}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:o=[],platform:i,elements:{reference:l,floating:a}={},transform:u=!0,whileElementsMounted:s,open:c}=e,[f,d]=r.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=r.useState(o);ek(p,o)||h(o);let[g,m]=r.useState(null),[y,x]=r.useState(null),v=r.useCallback(e=>{e!==C.current&&(C.current=e,m(e))},[]),w=r.useCallback(e=>{e!==T.current&&(T.current=e,x(e))},[]),b=l||g,R=a||y,C=r.useRef(null),T=r.useRef(null),E=r.useRef(f),A=null!=s,L=eD(s),S=eD(i),O=eD(c),k=r.useCallback(()=>{if(!C.current||!T.current)return;let e={placement:t,strategy:n,middleware:p};S.current&&(e.platform=S.current),eL(C.current,T.current,e).then(e=>{let t={...e,isPositioned:!1!==O.current};P.current&&!ek(E.current,t)&&(E.current=t,eS.flushSync(()=>{d(t)}))})},[p,t,n,S,O]);eO(()=>{!1===c&&E.current.isPositioned&&(E.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[c]);let P=r.useRef(!1);eO(()=>(P.current=!0,()=>{P.current=!1}),[]),eO(()=>{if(b&&(C.current=b),R&&(T.current=R),b&&R){if(L.current)return L.current(b,R,k);k()}},[b,R,k,L,A]);let j=r.useMemo(()=>({reference:C,floating:T,setReference:v,setFloating:w}),[v,w]),D=r.useMemo(()=>({reference:b,floating:R}),[b,R]),M=r.useMemo(()=>{let e={position:n,left:0,top:0};if(!D.floating)return e;let t=ej(D.floating,f.x),r=ej(D.floating,f.y);
1return u?{...e,transform:"translate("+t+"px, "+r+"px)",...eP(D.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,u,D.floating,f.x,f.y]);return r.useMemo(()=>({...f,update:k,refs:j,elements:D,floatingStyles:M}),[f,k,j,D,M])}({strategy:"fixed",placement:m+("center"!==x?"-"+x:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(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,d=ef(e),h=i||l?[...d?eu(d):[],...eu(t)]:[];h.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),l&&e.addEventListener("resize",n)});let g=d&&u?function(e,t){let n,r=null,o=I(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:d,top:h,width:g,height:m}=s;if(a||t(),!g||!m)return;let y=p(h),x=p(o.clientWidth-(d+g)),v={rootMargin:-y+"px "+-x+"px "+-p(o.clientHeight-(h+m))+"px "+-p(d)+"px",threshold:f(0,c(1,u))||1},w=!0;function b(t){let r=t[0].intersectionRatio;if(r!==u){if(!w)return l();r?l(!1,r):n=setTimeout(()=>{l(!1,1e-7)},1e3)}1!==r||eE(s,e.getBoundingClientRect())||l(),w=!1}try{r=new IntersectionObserver(b,{...v,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(b,v)}r.observe(e)}(!0),i}(d,n):null,m=-1,y=null;a&&(y=new ResizeObserver(e=>{let[r]=e;r&&r.target===d&&y&&(y.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),n()}),d&&!s&&y.observe(d),y.observe(t));let x=s?eg(e):null;return s&&function t(){let r=eg(e);x&&!eE(x,r)&&n(),x=r,o=requestAnimationFrame(t)}(),n(),()=>{var e;h.forEach(e=>{i&&e.removeEventListener("scroll",n),l&&e.removeEventListener("resize",n)}),null==g||g(),null==(e=y)||e.disconnect(),y=null,s&&cancelAnimationFrame(o)}}(...t,{animationFrame:"always"===A})},elements:{reference:O.anchor},middleware:[eH({mainAxis:y+F,alignmentAxis:v}),b&&eN({mainAxis:!0,crossAxis:!1,limiter:"partial"===T?eF():void 0,...z}),b&&eW({...z}),eB({...z,apply:e=>{let{elements:t,rects:n,availableWidth:r,availableHeight:o}=e,{width:i,height:l}=n.reference,a=t.floating.style;a.setProperty("--radix-popper-available-width","".concat(r,"px")),a.setProperty("--radix-popper-available-height","".concat(o,"px")),a.setProperty("--radix-popper-anchor-width","".concat(i,"px")),a.setProperty("--radix-popper-anchor-height","".concat(l,"px"))}}),D&&ez({element:D,padding:w}),te({arrowWidth:N,arrowHeight:F}),E&&e_({strategy:"referenceHidden",...z})]}),[q,Q]=tt(X),$=(0,eX.c)(L);(0,eK.N)(()=>{K&&(null==$||$())},[K,$]);let U=null==(n=Y.arrow)?void 0:n.x,Z=null==(o=Y.arrow)?void 0:o.y,J=(null==(l=Y.arrow)?void 0:l.centerOffset)!==0,[ee,et]=r.useState();return(0,eK.N)(()=>{k&&et(window.getComputedStyle(k).zIndex)},[k]),(0,eV.jsx)("div",{ref:V.setFloating,"data-radix-popper-content-wrapper":"",style:{...G,transform:K?G.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ee,"--radix-popper-transform-origin":[null==(a=Y.transformOrigin)?void 0:a.x,null==(u=Y.transformOrigin)?void 0:u.y].join(" "),...(null==(s=Y.hide)?void 0:s.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eV.jsx)(e7,{scope:g,placedSide:q,onArrowChange:M,arrowX:U,arrowY:Z,shouldHideArrow:J,children:(0,eV.jsx)(eI.sG.div,{"data-side":q,"data-align":Q,...S,ref:j,style:{...S.style,animation:K?void 0:"none"}})})})});e5.displayName=e2;var e8="PopperArrow",e9={top:"bottom",right:"left",bottom:"top",left:"right"},e6=r.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,o=e3(e8,n),i=e9[o.placedSide];return(0,eV.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,eV.jsx)(eG,{...r,ref:t,style:{...r.style,display:"block"}})})});function e4(e){return null!==e}e6.displayName=e8;var te=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,l;let{placement:a,rects:u,middlewareData:s}=t,c=(null==(n=s.arrow)?void 0:n.centerOffset)!==0,f=c?0:e.arrowWidth,d=c?0:e.arrowHeight,[p,h]=tt(a),g={start:"0%",center:"50%",end:"100%"}[h],m=(null!=(i=null==(r=s.arrow)?void 0:r.x)?i:0)+f/2,y=(null!=(l=null==(o=s.arrow)?void 0:o.y)?l:0)+d/2,x="",v="";return"bottom"===p?(x=c?g:"".concat(m,"px"),v="".concat(-d,"px")):"top"===p?(x=c?g:"".concat(m,"px"),v="".concat(u.floating.height+d,"px")):"right"===p?(x="".concat(-d,"px"),v=c?g:"".concat(y,"px")):"left"===p&&(x="".concat(u.floating.width+d,"px"),v=c?g:"".concat(y,"px")),{data:{x,y:v}}}});function tt(e){let[t,n="center"]=e.split("-");return[t,n]}var tn=n(51093),tr=n(89248),to=n(8025),ti=n(19694),tl=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"}),ta=r.forwardRef((e,t)=>
1(0,eV.jsx)(eI.sG.span,{...e,ref:t,style:{...tl,...e.style}}));ta.displayName="VisuallyHidden";var[tu,ts]=(0,l.A)("Tooltip",[e$]),tc=e$(),tf="TooltipProvider",td="tooltip.open",[tp,th]=tu(tf),tg=e=>{let{__scopeTooltip:t,delayDuration:n=700,skipDelayDuration:o=300,disableHoverableContent:i=!1,children:l}=e,a=r.useRef(!0),u=r.useRef(!1),s=r.useRef(0);return r.useEffect(()=>{let e=s.current;return()=>window.clearTimeout(e)},[]),(0,eV.jsx)(tp,{scope:t,isOpenDelayedRef:a,delayDuration:n,onOpen:r.useCallback(()=>{window.clearTimeout(s.current),a.current=!1},[]),onClose:r.useCallback(()=>{window.clearTimeout(s.current),s.current=window.setTimeout(()=>a.current=!0,o)},[o]),isPointerInTransitRef:u,onPointerInTransitChange:r.useCallback(e=>{u.current=e},[]),disableHoverableContent:i,children:l})};tg.displayName=tf;var tm="Tooltip",[ty,tx]=tu(tm),tv=e=>{let{__scopeTooltip:t,children:n,open:o,defaultOpen:i,onOpenChange:l,disableHoverableContent:a,delayDuration:s}=e,c=th(tm,e.__scopeTooltip),f=tc(t),[d,p]=r.useState(null),h=(0,u.B)(),g=r.useRef(0),m=null!=a?a:c.disableHoverableContent,y=null!=s?s:c.delayDuration,x=r.useRef(!1),[v,w]=(0,ti.i)({prop:o,defaultProp:null!=i&&i,onChange:e=>{e?(c.onOpen(),document.dispatchEvent(new CustomEvent(td))):c.onClose(),null==l||l(e)},caller:tm}),b=r.useMemo(()=>v?x.current?"delayed-open":"instant-open":"closed",[v]),R=r.useCallback(()=>{window.clearTimeout(g.current),g.current=0,x.current=!1,w(!0)},[w]),C=r.useCallback(()=>{window.clearTimeout(g.current),g.current=0,w(!1)},[w]),T=r.useCallback(()=>{window.clearTimeout(g.current),g.current=window.setTimeout(()=>{x.current=!0,w(!0),g.current=0},y)},[y,w]);return r.useEffect(()=>()=>{g.current&&(window.clearTimeout(g.current),g.current=0)},[]),(0,eV.jsx)(eJ,{...f,children:(0,eV.jsx)(ty,{scope:t,contentId:h,open:v,stateAttribute:b,trigger:d,onTriggerChange:p,onTriggerEnter:r.useCallback(()=>{c.isOpenDelayedRef.current?T():R()},[c.isOpenDelayedRef,T,R]),onTriggerLeave:r.useCallback(()=>{m?C():(window.clearTimeout(g.current),g.current=0)},[C,m]),onOpen:R,onClose:C,disableHoverableContent:m,children:n})})};tv.displayName=tm;var tw="TooltipTrigger",tb=r.forwardRef((e,t)=>{let{__scopeTooltip:n,...l}=e,a=tx(tw,n),u=th(tw,n),s=tc(n),c=r.useRef(null),f=(0,i.s)(t,c,a.onTriggerChange),d=r.useRef(!1),p=r.useRef(!1),h=r.useCallback(()=>d.current=!1,[]);return r.useEffect(()=>()=>document.removeEventListener("pointerup",h),[h]),(0,eV.jsx)(e1,{asChild:!0,...s,children:(0,eV.jsx)(eI.sG.button,{"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute,...l,ref:f,onPointerMove:(0,o.mK)(e.onPointerMove,e=>{"touch"!==e.pointerType&&(p.current||u.isPointerInTransitRef.current||(a.onTriggerEnter(),p.current=!0))}),onPointerLeave:(0,o.mK)(e.onPointerLeave,()=>{a.onTriggerLeave(),p.current=!1}),onPointerDown:(0,o.mK)(e.onPointerDown,()=>{a.open&&a.onClose(),d.current=!0,document.addEventListener("pointerup",h,{once:!0})}),onFocus:(0,o.mK)(e.onFocus,()=>{d.current||a.onOpen()}),onBlur:(0,o.mK)(e.onBlur,a.onClose),onClick:(0,o.mK)(e.onClick,a.onClose)})})});tb.displayName=tw;var tR="TooltipPortal",[tC,tT]=tu(tR,{forceMount:void 0}),tE=e=>{let{__scopeTooltip:t,forceMount:n,children:r,container:o}=e,i=tx(tR,t);return(0,eV.jsx)(tC,{scope:t,forceMount:n,children:(0,eV.jsx)(tr.C,{present:n||i.open,children:(0,eV.jsx)(tn.Z,{asChild:!0,container:o,children:r})})})};tE.displayName=tR;var tA="TooltipContent",tL=r.forwardRef((e,t)=>{let n=tT(tA,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,l=tx(tA,e.__scopeTooltip);return(0,eV.jsx)(tr.C,{present:r||l.open,children:l.disableHoverableContent?(0,eV.jsx)(tj,{side:o,...i,ref:t}):(0,eV.jsx)(tS,{side:o,...i,ref:t})})}),tS=r.forwardRef((e,t)=>{let n=tx(tA,e.__scopeTooltip),o=th(tA,e.__scopeTooltip),l=r.useRef(null),a=(0,i.s)(t,l),[u,s]=r.useState(null),{trigger:c,onClose:f}=n,d=l.current,{onPointerInTransitChange:p}=o,h=r.useCallback(()=>{s(null),p(!1)},[p]),g=r.useCallback((e,t)=>{let n=e.currentTarget,r={x:e.clientX,y:e.clientY},o=function(e,t){let n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw Error("unreachable")}}(r,n.getBoundingClientRect());s(function(e){let t=e.slice();return t.sort((e,t)=>
1e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:1*!!(e.y>t.y)),function(e){if(e.length<=1)return e.slice();let t=[];for(let n=0;n<e.length;n++){let r=e[n];for(;t.length>=2;){let e=t[t.length-1],n=t[t.length-2];if((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x))t.pop();else break}t.push(r)}t.pop();let n=[];for(let t=e.length-1;t>=0;t--){let r=e[t];for(;n.length>=2;){let e=n[n.length-1],t=n[n.length-2];if((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x))n.pop();else break}n.push(r)}return(n.pop(),1===t.length&&1===n.length&&t[0].x===n[0].x&&t[0].y===n[0].y)?t:t.concat(n)}(t)}([...function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n})}return r}(r,o),...function(e){let{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}(t.getBoundingClientRect())])),p(!0)},[p]);return r.useEffect(()=>()=>h(),[h]),r.useEffect(()=>{if(c&&d){let e=e=>g(e,d),t=e=>g(e,c);return c.addEventListener("pointerleave",e),d.addEventListener("pointerleave",t),()=>{c.removeEventListener("pointerleave",e),d.removeEventListener("pointerleave",t)}}},[c,d,g,h]),r.useEffect(()=>{if(u){let e=e=>{let t=e.target,n={x:e.clientX,y:e.clientY},r=(null==c?void 0:c.contains(t))||(null==d?void 0:d.contains(t)),o=!function(e,t){let{x:n,y:r}=e,o=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){let l=t[e],a=t[i],u=l.x,s=l.y,c=a.x,f=a.y;s>r!=f>r&&n<(c-u)*(r-s)/(f-s)+u&&(o=!o)}return o}(n,u);r?h():o&&(h(),f())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[c,d,u,f,h]),(0,eV.jsx)(tj,{...e,ref:a})}),[tO,tk]=tu(tm,{isInside:!1}),tP=(0,to.Dc)("TooltipContent"),tj=r.forwardRef((e,t)=>{let{__scopeTooltip:n,children:o,"aria-label":i,onEscapeKeyDown:l,onPointerDownOutside:u,...s}=e,c=tx(tA,n),f=tc(n),{onClose:d}=c;return r.useEffect(()=>(document.addEventListener(td,d),()=>document.removeEventListener(td,d)),[d]),r.useEffect(()=>{if(c.trigger){let e=e=>{let t=e.target;(null==t?void 0:t.contains(c.trigger))&&d()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[c.trigger,d]),(0,eV.jsx)(a.qW,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:e=>e.preventDefault(),onDismiss:d,children:(0,eV.jsxs)(e5,{"data-state":c.stateAttribute,...f,...s,ref:t,style:{...s.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[(0,eV.jsx)(tP,{children:o}),(0,eV.jsx)(tO,{scope:n,isInside:!0,children:(0,eV.jsx)(ta,{id:c.contentId,role:"tooltip",children:i||o})})]})})});tL.displayName=tA;var tD="TooltipArrow";r.forwardRef((e,t)=>{let{__scopeTooltip:n,...r}=e,o=tc(n);return tk(tD,n).isInside?null:(0,eV.jsx)(e6,{...o,...r,ref:t})}).displayName=tD;var tM=tg,tH=tv,tN=tb,tF=tE,tW=tL},80075:(e,t,n)=>{n.d(t,{d:()=>a});var r=n(33777),o=n(46339),i=n(72212),l=n(95077);function a(e){let t=(0,l.M)(()=>(0,o.OQ)(e)),{isStatic:n}=(0,r.useContext)(i.Q);if(n){let[,n]=(0,r.useState)(e);(0,r.useEffect)(()=>t.on("change",n),[])}return t}},88890:(e,t,n)=>{n.d(t,{G:()=>d});var r=n(92662);let o=e=>e&&"object"==typeof e&&e.mix,i=e=>o(e)?e.mix:void 0;var l=n(80075),a=n(57110),u=n(5802);function s(e,t){let n=(0,l.d)(t()),r=()=>n.set(t());return r(),(0,a.E)(()=>{let t=()=>u.Gt.preRender(r,!1,!0),n=e.map(e=>e.on("change",t));return()=>{n.forEach(e=>e()),(0,u.WG)(r)}}),n}var c=n(95077),f=n(46339);function d(e,t,n,o){if("function"==typeof e){f.bt.current=[],e();let t=s(f.bt.current,e);return f.bt.current=void 0,t}let l="function"==typeof t?t:function(...e){let t=!Array.isArray(e[0]),n=t?0:-1,o=e[0+n],l=e[1+n],a=e[2+n],u=e[3+n],s=(0,r.G)(l,a,{mixer:i(a[0]),...u});return t?s(o):s}(t,n,o);return Array.isArray(e)?p(e,l):p([e],([e])=>l(e))}function p(e,t){let n=(0,c.M)(()=>[]);return s(e,()=>{n.length=0;let r=e.length;for(let t=0;t<r;t++)n[t]=e[t].get();return t(n)})}}}]);
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.