PageSourceSearch

https://www.genieo.ai/_next/static/chunks/1483.1c2b38bedc975d75.js

js genieo.ai collected 2026-10-05 14:55:52 UTC 42,350 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1483],{14806:(e,t,n)=>{e.exports=n(30125)},30125:(e,t,n)=>{var r=n(12115),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useState,l=r.useEffect,a=r.useLayoutEffect,s=r.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),o=r[0].inst,c=r[1];return a(function(){o.value=n,o.getSnapshot=t,u(o)&&c({inst:o})},[e,n,t]),l(function(){return u(o)&&c({inst:o}),e(function(){u(o)&&c({inst:o})})},[e]),s(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},46591:(e,t,n)=>{n.d(t,{H4:()=>R,_V:()=>C,bL:()=>E});var r=n(12115),o=n(3468),i=n(70222),l=n(4129),a=n(97602),s=n(14806);function u(){return()=>{}}var c=n(95155),f="Avatar",[d,p]=(0,o.A)(f),[h,m]=d(f),g=r.forwardRef((e,t)=>{let{__scopeAvatar:n,...o}=e,[i,l]=r.useState("idle");return(0,c.jsx)(h,{scope:n,imageLoadingStatus:i,onImageLoadingStatusChange:l,children:(0,c.jsx)(a.sG.span,{...o,ref:t})})});g.displayName=f;var v="AvatarImage",y=r.forwardRef((e,t)=>{let{__scopeAvatar:n,src:o,onLoadingStatusChange:f=()=>{},...d}=e,p=m(v,n),h=function(e,t){let{referrerPolicy:n,crossOrigin:o}
1=t,i=(0,s.useSyncExternalStore)(u,()=>!0,()=>!1),a=r.useRef(null),c=i?(a.current||(a.current=new window.Image),a.current):null,[f,d]=r.useState(()=>b(c,e));return(0,l.N)(()=>{d(b(c,e))},[c,e]),(0,l.N)(()=>{let e=e=>()=>{d(e)};if(!c)return;let t=e("loaded"),r=e("error");return c.addEventListener("load",t),c.addEventListener("error",r),n&&(c.referrerPolicy=n),"string"==typeof o&&(c.crossOrigin=o),()=>{c.removeEventListener("load",t),c.removeEventListener("error",r)}},[c,o,n]),f}(o,d),g=(0,i.c)(e=>{f(e),p.onImageLoadingStatusChange(e)});return(0,l.N)(()=>{"idle"!==h&&g(h)},[h,g]),"loaded"===h?(0,c.jsx)(a.sG.img,{...d,ref:t,src:o}):null});y.displayName=v;var w="AvatarFallback",x=r.forwardRef((e,t)=>{let{__scopeAvatar:n,delayMs:o,...i}=e,l=m(w,n),[s,u]=r.useState(void 0===o);return r.useEffect(()=>{if(void 0!==o){let e=window.setTimeout(()=>u(!0),o);return()=>window.clearTimeout(e)}},[o]),s&&"loaded"!==l.imageLoadingStatus?(0,c.jsx)(a.sG.span,{...i,ref:t}):null});function b(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}x.displayName=w;var E=g,C=y,R=x},64102:(e,t,n)=>{n.d(t,{i3:()=>tH,UC:()=>tW,ZL:()=>tN,Kq:()=>tk,bL:()=>tD,l9:()=>tj});var r,o=n(12115),i=n(92556),l=n(94446),a=n(3468),s=n(97602),u=n(70222),c=n(95155),f="dismissableLayer.update",d=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),p=o.forwardRef((e,t)=>{var n,a;let{disableOutsidePointerEvents:p=!1,onEscapeKeyDown:g,onPointerDownOutside:v,onFocusOutside:y,onInteractOutside:w,onDismiss:x,...b}=e,E=o.useContext(d),[C,R]=o.useState(null),L=null!=(a=null==C?void 0:C.ownerDocument)?a:null==(n=globalThis)?void 0:n.document,[,T]=o.useState({}),S=(0,l.s)(t,e=>R(e)),A=Array.from(E.layers),[P]=[...E.layersWithOutsidePointerEventsDisabled].slice(-1),O=A.indexOf(P),k=C?A.indexOf(C):-1,D=E.layersWithOutsidePointerEventsDisabled.size>0,j=k>=O,N=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=(0,u.c)(e),i=o.useRef(!1),l=o.useRef(()=>{});return o.useEffect(()=>{let e=e=>{if(e.target&&!i.current){let t=function(){m("dismissableLayer.pointerDownOutside",r,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",l.current),l.current=t,n.addEventListener("click",l.current,{once:!0})):t()}else n.removeEventListener("click",l.current);i.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",l.current)}},[n,r]),{onPointerDownCapture:()=>i.current=!0}}(e=>{let t=e.target,n=[...E.branches].some(e=>e.contains(t));j&&!n&&(null==v||v(e),null==w||w(e),e.defaultPrevented||null==x||x())},L),W=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=(0,u.c)(e),i=o.useRef(!1);return o.useEffect(()=>{let e=e=>{e.target&&!i.current&&m("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}(e=>{let t=e.target;![...E.branches].some(e=>e.contains(t))&&(null==y||y(e),null==w||w(e),e.defaultPrevented||null==x||x())},L);return!function(e,t=globalThis?.document){let n=(0,u.c)(e);o.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{k===E.layers.size-1&&(null==g||g(e),!e.defaultPrevented&&x&&(e.preventDefault(),x()))},L),o.useEffect(()=>{if(C)return p&&(0===E.layersWithOutsidePointerEventsDisabled.size&&(r=L.body.style.pointerEvents,L.body.style.pointerEvents="none"),E.layersWithOutsidePointerEventsDisabled.add(C)),E.layers.add(C),h(),()=>{p&&1===E.layersWithOutsidePointerEventsDisabled.size&&(L.body.style.pointerEvents=r)}},[C,L,p,E]),o.useEffect(()=>()=>{C&&(E.layers.delete(C),E.layersWithOutsidePointerEventsDisabled.delete(C),h())},[C,E]),o.useEffect(()=>{let e=()=>T({});return document.addEventListener(f,e),()=>document.removeEventListener(f,e)},[]),(0,c.jsx)(s.sG.div,{...b,ref:S,style:{pointerEvents:D?j?"auto":"none":void 0,...e.style},onFocusCapture:(0,i.mK)(e.onFocusCapture,W.onFocusCapture),onBlurCapture:(0,i.mK)(e.onBlurCapture,W.onBlurCapture),onPointerDownCapture:(0,i.mK)(e.onPointerDownCapture,N.onPointerDownCapture)})});function h(){let e=new CustomEvent(f);document.dispatchEvent(e)}function m(e,t,n,r){let{discrete:o}=r,i=n.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),o?(0,s.hO)(i,l):i.dispatchEvent(l)}p.displayName="DismissableLayer",o.forwardRef((e,t)=>
1{let n=o.useContext(d),r=o.useRef(null),i=(0,l.s)(t,r);return o.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,c.jsx)(s.sG.div,{...e,ref:i})}).displayName="DismissableLayerBranch";var g=n(68946);let v=["top","right","bottom","left"],y=Math.min,w=Math.max,x=Math.round,b=Math.floor,E=e=>({x:e,y:e}),C={left:"right",right:"left",bottom:"top",top:"bottom"},R={start:"end",end:"start"};function L(e,t){return"function"==typeof e?e(t):e}function T(e){return e.split("-")[0]}function S(e){return e.split("-")[1]}function A(e){return"x"===e?"y":"x"}function P(e){return"y"===e?"height":"width"}let O=new Set(["top","bottom"]);function k(e){return O.has(T(e))?"y":"x"}function D(e){return e.replace(/start|end/g,e=>R[e])}let j=["left","right"],N=["right","left"],W=["top","bottom"],H=["bottom","top"];function M(e){return e.replace(/left|right|bottom|top/g,e=>C[e])}function F(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function B(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 _(e,t,n){let r,{reference:o,floating:i}=e,l=k(t),a=A(k(t)),s=P(a),u=T(t),c="y"===l,f=o.x+o.width/2-i.width/2,d=o.y+o.height/2-i.height/2,p=o[s]/2-i[s]/2;switch(u){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(S(t)){case"start":r[a]-=p*(n&&c?-1:1);break;case"end":r[a]+=p*(n&&c?-1:1)}return r}let I=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:l}=n,a=i.filter(Boolean),s=await (null==l.isRTL?void 0:l.isRTL(t)),u=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:f}=_(u,r,s),d=r,p={},h=0;for(let n=0;n<a.length;n++){let{name:i,fn:m}=a[n],{x:g,y:v,data:y,reset:w}=await m({x:c,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:p,rects:u,platform:l,elements:{reference:e,floating:t}});c=null!=g?g:c,f=null!=v?v:f,p={...p,[i]:{...p[i],...y}},w&&h<=50&&(h++,"object"==typeof w&&(w.placement&&(d=w.placement),w.rects&&(u=!0===w.rects?await l.getElementRects({reference:e,floating:t,strategy:o}):w.rects),{x:c,y:f}=_(u,d,s)),n=-1)}return{x:c,y:f,placement:d,strategy:o,middlewareData:p}};async function z(e,t){var n;void 0===t&&(t={});let{x:r,y:o,platform:i,rects:l,elements:a,strategy:s}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=L(t,e),h=F(p),m=a[d?"floating"===f?"reference":"floating":f],g=B(await i.getClippingRect({element:null==(n=await (null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:s})),v="floating"===f?{x:r,y:o,width:l.floating.width,height:l.floating.height}:l.reference,y=await (null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),w=await (null==i.isElement?void 0:i.isElement(y))&&await (null==i.getScale?void 0:i.getScale(y))||{x:1,y:1},x=B(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:y,strategy:s}):v);return{top:(g.top-x.top+h.top)/w.y,bottom:(x.bottom-g.bottom+h.bottom)/w.y,left:(g.left-x.left+h.left)/w.x,right:(x.right-g.right+h.right)/w.x}}function V(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function G(e){return v.some(t=>e[t]>=0)}let K=new Set(["left","top"]);async function X(e,t){let{placement:n,platform:r,elements:o}=e,i=await (null==r.isRTL?void 0:r.isRTL(o.floating)),l=T(n),a=S(n),s="y"===k(n),u=K.has(l)?-1:1,c=i&&s?-1:1,f=L(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),s?{x:p*c,y:d*u}:{x:d*u,y:p*c}}function Y(){return"undefined"!=typeof window}function q(e){return Z(e)?(e.nodeName||"").toLowerCase():"#document"}function $(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function U(e){var t;return null==(t=(Z(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Z(e){return!!Y()&&(e instanceof Node||e instanceof $(e).Node)}function J(e){return!!Y()&&(e instanceof Element||e instanceof $(e).Element)}function Q(e){return!!Y()&&(e instanceof HTMLElement||e instanceof $(e).HTMLElement)}function ee(e){return!!Y()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof $(e).ShadowRoot)}let et=new Set(["inline","contents"]);function en(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=ep(e);
1return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!et.has(o)}let er=new Set(["table","td","th"]),eo=[":popover-open",":modal"];function ei(e){return eo.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let el=["transform","translate","scale","rotate","perspective"],ea=["transform","translate","scale","rotate","perspective","filter"],es=["paint","layout","strict","content"];function eu(e){let t=ec(),n=J(e)?ep(e):e;return el.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||ea.some(e=>(n.willChange||"").includes(e))||es.some(e=>(n.contain||"").includes(e))}function ec(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let ef=new Set(["html","body","#document"]);function ed(e){return ef.has(q(e))}function ep(e){return $(e).getComputedStyle(e)}function eh(e){return J(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function em(e){if("html"===q(e))return e;let t=e.assignedSlot||e.parentNode||ee(e)&&e.host||U(e);return ee(t)?t.host:t}function eg(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let o=function e(t){let n=em(t);return ed(n)?t.ownerDocument?t.ownerDocument.body:t.body:Q(n)&&en(n)?n:e(n)}(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),l=$(o);if(i){let e=ev(l);return t.concat(l,l.visualViewport||[],en(o)?o:[],e&&n?eg(e):[])}return t.concat(o,eg(o,[],n))}function ev(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ey(e){let t=ep(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=Q(e),i=o?e.offsetWidth:n,l=o?e.offsetHeight:r,a=x(n)!==i||x(r)!==l;return a&&(n=i,r=l),{width:n,height:r,$:a}}function ew(e){return J(e)?e:e.contextElement}function ex(e){let t=ew(e);if(!Q(t))return E(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:i}=ey(t),l=(i?x(n.width):n.width)/r,a=(i?x(n.height):n.height)/o;return l&&Number.isFinite(l)||(l=1),a&&Number.isFinite(a)||(a=1),{x:l,y:a}}let eb=E(0);function eE(e){let t=$(e);return ec()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:eb}function eC(e,t,n,r){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let i=e.getBoundingClientRect(),l=ew(e),a=E(1);t&&(r?J(r)&&(a=ex(r)):a=ex(e));let s=(void 0===(o=n)&&(o=!1),r&&(!o||r===$(l))&&o)?eE(l):E(0),u=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,f=i.width/a.x,d=i.height/a.y;if(l){let e=$(l),t=r&&J(r)?$(r):r,n=e,o=ev(n);for(;o&&r&&t!==n;){let e=ex(o),t=o.getBoundingClientRect(),r=ep(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;u*=e.x,c*=e.y,f*=e.x,d*=e.y,u+=i,c+=l,o=ev(n=$(o))}}return B({width:f,height:d,x:u,y:c})}function eR(e,t){let n=eh(e).scrollLeft;return t?t.left+n:eC(U(e)).left+n}function eL(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-eR(e,n),y:n.top+t.scrollTop}}let eT=new Set(["absolute","fixed"]);function eS(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=$(e),r=U(e),o=n.visualViewport,i=r.clientWidth,l=r.clientHeight,a=0,s=0;if(o){i=o.width,l=o.height;let e=ec();(!e||e&&"fixed"===t)&&(a=o.offsetLeft,s=o.offsetTop)}let u=eR(r);if(u<=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 u<=25&&(i+=u);return{width:i,height:l,x:a,y:s}}(e,n);else if("document"===t)r=function(e){let t=U(e),n=eh(e),r=e.ownerDocument.body,o=w(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=w(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),l=-n.scrollLeft+eR(e),a=-n.scrollTop;return"rtl"===ep(r).direction&&(l+=w(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:l,y:a}}(U(e));else if(J(t))r=function(e,t){let n=eC(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Q(e)?ex(e):E(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=eE(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return B(r)}function eA(e){return"static"===ep(e).position}function eP(e,t){if(!Q(e)||"fixed"===ep(e).position)return null;if(t)return t(e);let n=e.offsetParent;return U(e)===n&&(n=n.ownerDocument.body),n}function eO(e,t){var n;let r=$(e);
1if(ei(e))return r;if(!Q(e)){let t=em(e);for(;t&&!ed(t);){if(J(t)&&!eA(t))return t;t=em(t)}return r}let o=eP(e,t);for(;o&&(n=o,er.has(q(n)))&&eA(o);)o=eP(o,t);return o&&ed(o)&&eA(o)&&!eu(o)?r:o||function(e){let t=em(e);for(;Q(t)&&!ed(t);){if(eu(t))return t;if(ei(t))break;t=em(t)}return null}(e)||r}let ek=async function(e){let t=this.getOffsetParent||eO,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=Q(t),o=U(t),i="fixed"===n,l=eC(e,!0,i,t),a={scrollLeft:0,scrollTop:0},s=E(0);if(r||!r&&!i)if(("body"!==q(t)||en(o))&&(a=eh(t)),r){let e=eC(t,!0,i,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&(s.x=eR(o));i&&!r&&o&&(s.x=eR(o));let u=!o||r||i?E(0):eL(o,a);return{x:l.left+a.scrollLeft-s.x-u.x,y:l.top+a.scrollTop-s.y-u.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}}},eD={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,i="fixed"===o,l=U(r),a=!!t&&ei(t.floating);if(r===l||a&&i)return n;let s={scrollLeft:0,scrollTop:0},u=E(1),c=E(0),f=Q(r);if((f||!f&&!i)&&(("body"!==q(r)||en(l))&&(s=eh(r)),Q(r))){let e=eC(r);u=ex(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}let d=!l||f||i?E(0):eL(l,s);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-s.scrollLeft*u.x+c.x+d.x,y:n.y*u.y-s.scrollTop*u.y+c.y+d.y}},getDocumentElement:U,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e,i=[..."clippingAncestors"===n?ei(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=eg(e,[],!1).filter(e=>J(e)&&"body"!==q(e)),o=null,i="fixed"===ep(e).position,l=i?em(e):e;for(;J(l)&&!ed(l);){let t=ep(l),n=eu(l);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&!!o&&eT.has(o.position)||en(l)&&!n&&function e(t,n){let r=em(t);return!(r===n||!J(r)||ed(r))&&("fixed"===ep(r).position||e(r,n))}(e,l))?r=r.filter(e=>e!==l):o=t,l=em(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],l=i[0],a=i.reduce((e,n)=>{let r=eS(t,n,o);return e.top=w(r.top,e.top),e.right=y(r.right,e.right),e.bottom=y(r.bottom,e.bottom),e.left=w(r.left,e.left),e},eS(t,l,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:eO,getElementRects:ek,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=ey(e);return{width:t,height:n}},getScale:ex,isElement:J,isRTL:function(e){return"rtl"===ep(e).direction}};function ej(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let eN=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:o,rects:i,platform:l,elements:a,middlewareData:s}=t,{element:u,padding:c=0}=L(e,t)||{};if(null==u)return{};let f=F(c),d={x:n,y:r},p=A(k(o)),h=P(p),m=await l.getDimensions(u),g="y"===p,v=g?"clientHeight":"clientWidth",x=i.reference[h]+i.reference[p]-d[p]-i.floating[h],b=d[p]-i.reference[p],E=await (null==l.getOffsetParent?void 0:l.getOffsetParent(u)),C=E?E[v]:0;C&&await (null==l.isElement?void 0:l.isElement(E))||(C=a.floating[v]||i.floating[h]);let R=C/2-m[h]/2-1,T=y(f[g?"top":"left"],R),O=y(f[g?"bottom":"right"],R),D=C-m[h]-O,j=C/2-m[h]/2+(x/2-b/2),N=w(T,y(j,D)),W=!s.arrow&&null!=S(o)&&j!==N&&i.reference[h]/2-(j<T?T:O)-m[h]/2<0,H=W?j<T?j-T:j-D:0;return{[p]:d[p]+H,data:{[p]:N,centerOffset:j-N-H,...W&&{alignmentOffset:H}},reset:W}}});var eW=n(47650),eH="undefined"!=typeof document?o.useLayoutEffect:function(){};function eM(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(!eM(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)&&!eM(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eF(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eB(e,t){let n=eF(e);return Math.round(t*n)/n}function e_(e){let t=o.useRef(e);return eH(()=>{t.current=e}),t}var eI=o.forwardRef((e,t)=>
1{let{children:n,width:r=10,height:o=5,...i}=e;return(0,c.jsx)(s.sG.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,c.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eI.displayName="Arrow";var ez=n(4129),eV=n(84288),eG="Popper",[eK,eX]=(0,a.A)(eG),[eY,eq]=eK(eG),e$=e=>{let{__scopePopper:t,children:n}=e,[r,i]=o.useState(null);return(0,c.jsx)(eY,{scope:t,anchor:r,onAnchorChange:i,children:n})};e$.displayName=eG;var eU="PopperAnchor",eZ=o.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:r,...i}=e,a=eq(eU,n),u=o.useRef(null),f=(0,l.s)(t,u),d=o.useRef(null);return o.useEffect(()=>{let e=d.current;d.current=(null==r?void 0:r.current)||u.current,e!==d.current&&a.onAnchorChange(d.current)}),r?null:(0,c.jsx)(s.sG.div,{...i,ref:f})});eZ.displayName=eU;var eJ="PopperContent",[eQ,e0]=eK(eJ),e1=o.forwardRef((e,t)=>{var n,r,i,a,f,d,p,h;let{__scopePopper:m,side:g="bottom",sideOffset:v=0,align:x="center",alignOffset:E=0,arrowPadding:C=0,avoidCollisions:R=!0,collisionBoundary:O=[],collisionPadding:F=0,sticky:B="partial",hideWhenDetached:_=!1,updatePositionStrategy:Y="optimized",onPlaced:q,...$}
1=e,Z=eq(eJ,m),[J,Q]=o.useState(null),ee=(0,l.s)(t,e=>Q(e)),[et,en]=o.useState(null),er=(0,eV.X)(et),eo=null!=(p=null==er?void 0:er.width)?p:0,ei=null!=(h=null==er?void 0:er.height)?h:0,el="number"==typeof F?F:{top:0,right:0,bottom:0,left:0,...F},ea=Array.isArray(O)?O:[O],es=ea.length>0,eu={padding:el,boundary:ea.filter(e6),altBoundary:es},{refs:ec,floatingStyles:ef,placement:ed,isPositioned:ep,middlewareData:eh}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:l,floating:a}={},transform:s=!0,whileElementsMounted:u,open:c}=e,[f,d]=o.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=o.useState(r);eM(p,r)||h(r);let[m,g]=o.useState(null),[v,y]=o.useState(null),w=o.useCallback(e=>{e!==C.current&&(C.current=e,g(e))},[]),x=o.useCallback(e=>{e!==R.current&&(R.current=e,y(e))},[]),b=l||m,E=a||v,C=o.useRef(null),R=o.useRef(null),L=o.useRef(f),T=null!=u,S=e_(u),A=e_(i),P=e_(c),O=o.useCallback(()=>{if(!C.current||!R.current)return;let e={placement:t,strategy:n,middleware:p};A.current&&(e.platform=A.current),((e,t,n)=>{let r=new Map,o={platform:eD,...n},i={...o.platform,_c:r};return I(e,t,{...o,platform:i})})(C.current,R.current,e).then(e=>{let t={...e,isPositioned:!1!==P.current};k.current&&!eM(L.current,t)&&(L.current=t,eW.flushSync(()=>{d(t)}))})},[p,t,n,A,P]);eH(()=>{!1===c&&L.current.isPositioned&&(L.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[c]);let k=o.useRef(!1);eH(()=>(k.current=!0,()=>{k.current=!1}),[]),eH(()=>{if(b&&(C.current=b),E&&(R.current=E),b&&E){if(S.current)return S.current(b,E,O);O()}},[b,E,O,S,T]);let D=o.useMemo(()=>({reference:C,floating:R,setReference:w,setFloating:x}),[w,x]),j=o.useMemo(()=>({reference:b,floating:E}),[b,E]),N=o.useMemo(()=>{let e={position:n,left:0,top:0};if(!j.floating)return e;let t=eB(j.floating,f.x),r=eB(j.floating,f.y);return s?{...e,transform:"translate("+t+"px, "+r+"px)",...eF(j.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,s,j.floating,f.x,f.y]);return o.useMemo(()=>({...f,update:O,refs:D,elements:j,floatingStyles:N}),[f,O,D,j,N])}({strategy:"fixed",placement:g+("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:s="function"==typeof IntersectionObserver,animationFrame:u=!1}=r,c=ew(e),f=i||l?[...c?eg(c):[],...eg(t)]:[];f.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),l&&e.addEventListener("resize",n)});let d=c&&s?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,s){void 0===a&&(a=!1),void 0===s&&(s=1),i();let u=e.getBoundingClientRect(),{left:c,top:f,width:d,height:p}=u;if(a||t(),!d||!p)return;let h=b(f),m=b(o.clientWidth-(c+d)),g={rootMargin:-h+"px "+-m+"px "+-b(o.clientHeight-(f+p))+"px "+-b(c)+"px",threshold:w(0,y(1,s))||1},v=!0;function x(t){let r=t[0].intersectionRatio;if(r!==s){if(!v)return l();r?l(!1,r):n=setTimeout(()=>{l(!1,1e-7)},1e3)}1!==r||ej(u,e.getBoundingClientRect())||l(),v=!1}try{r=new IntersectionObserver(x,{...g,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(x,g)}r.observe(e)}(!0),i}(c,n):null,p=-1,h=null;a&&(h=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),c&&!u&&h.observe(c),h.observe(t));let m=u?eC(e):null;return u&&function t(){let r=eC(e);m&&!ej(m,r)&&n(),m=r,o=requestAnimationFrame(t)}(),n(),()=>{var e;f.forEach(e=>{i&&e.removeEventListener("scroll",n),l&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=h)||e.disconnect(),h=null,u&&cancelAnimationFrame(o)}}(...t,{animationFrame:"always"===Y})},elements:{reference:Z.anchor},middleware:[((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,s=await X(t,e);return l===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:o+s.x,y:i+s.y,data:{...s,placement:l}}}}}(e),options:[e,t]}))({mainAxis:v+ei,alignmentAxis:E}),R&&((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:l=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...s}=L(e,t),u={x:n,y:r},c=await z(t,s),f=k(T(o)),d=A(f),p=u[d],h=u[f];if(i){let e="y"===d?"top":"left",t="y"===d?"bottom":"right",n=p+c[e],r=p-c[t];p=w(n,y(p,r))}if(l){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",n=h+c[e],r=h-c[t];h=w(n,y(h,r))}let m=a.fn({...t,[d]:p,[f]:h});
1return{...m,data:{x:m.x-n,y:m.y-r,enabled:{[d]:i,[f]:l}}}}}}(e),options:[e,t]}))({mainAxis:!0,crossAxis:!1,limiter:"partial"===B?((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:s=!0,crossAxis:u=!0}=L(e,t),c={x:n,y:r},f=k(o),d=A(f),p=c[d],h=c[f],m=L(a,t),g="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(s){let e="y"===d?"height":"width",t=i.reference[d]-i.floating[e]+g.mainAxis,n=i.reference[d]+i.reference[e]-g.mainAxis;p<t?p=t:p>n&&(p=n)}if(u){var v,y;let e="y"===d?"width":"height",t=K.has(T(o)),n=i.reference[f]-i.floating[e]+(t&&(null==(v=l.offset)?void 0:v[f])||0)+(t?0:g.crossAxis),r=i.reference[f]+i.reference[e]+(t?0:(null==(y=l.offset)?void 0:y[f])||0)-(t?g.crossAxis:0);h<n?h=n:h>r&&(h=r)}return{[d]:p,[f]:h}}}}(e),options:[e,t]}))():void 0,...eu}),R&&((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:s,rects:u,initialPlacement:c,platform:f,elements:d}=t,{mainAxis:p=!0,crossAxis:h=!0,fallbackPlacements:m,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:y=!0,...w}=L(e,t);if(null!=(n=s.arrow)&&n.alignmentOffset)return{};let x=T(a),b=k(c),E=T(c)===c,C=await (null==f.isRTL?void 0:f.isRTL(d.floating)),R=m||(E||!y?[M(c)]:function(e){let t=M(e);return[D(e),t,D(t)]}(c)),O="none"!==v;!m&&O&&R.push(...function(e,t,n,r){let o=S(e),i=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?N:j;return t?j:N;case"left":case"right":return t?W:H;default:return[]}}(T(e),"start"===n,r);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(D)))),i}(c,y,v,C));let F=[c,...R],B=await z(t,w),_=[],I=(null==(r=s.flip)?void 0:r.overflows)||[];if(p&&_.push(B[x]),h){let e=function(e,t,n){void 0===n&&(n=!1);let r=S(e),o=A(k(e)),i=P(o),l="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=M(l)),[l,M(l)]}(a,u,C);_.push(B[e[0]],B[e[1]])}if(I=[...I,{placement:a,overflows:_}],!_.every(e=>e<=0)){let e=((null==(o=s.flip)?void 0:o.index)||0)+1,t=F[e];if(t&&("alignment"!==h||b===k(t)||I.every(e=>k(e.placement)!==b||e.overflows[0]>0)))return{data:{index:e,overflows:I},reset:{placement:t}};let n=null==(i=I.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!n)switch(g){case"bestFit":{let e=null==(l=I.filter(e=>{if(O){let t=k(e.placement);return t===b||"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]}))({...eu}),((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:s,elements:u}=t,{apply:c=()=>{},...f}=L(e,t),d=await z(t,f),p=T(l),h=S(l),m="y"===k(l),{width:g,height:v}=a.floating;"top"===p||"bottom"===p?(o=p,i=h===(await (null==s.isRTL?void 0:s.isRTL(u.floating))?"start":"end")?"left":"right"):(i=p,o="end"===h?"top":"bottom");let x=v-d.top-d.bottom,b=g-d.left-d.right,E=y(v-d[o],x),C=y(g-d[i],b),R=!t.middlewareData.shift,A=E,P=C;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(P=b),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(A=x),R&&!h){let e=w(d.left,0),t=w(d.right,0),n=w(d.top,0),r=w(d.bottom,0);m?P=g-2*(0!==e||0!==t?e+t:w(d.left,d.right)):A=v-2*(0!==n||0!==r?n+r:w(d.top,d.bottom))}await c({...t,availableWidth:P,availableHeight:A});let O=await s.getDimensions(u.floating);return g!==O.width||v!==O.height?{reset:{rects:!0}}:{}}}}(e),options:[e,t]}))({...eu,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"))}}),et&&((e,t)=>({...(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?eN({element:n.current,padding:r}).fn(t):{}:n?eN({element:n,padding:r}).fn(t):{}}}))(e),options:[e,t]}))({element:et,padding:C}),e8({arrowWidth:eo,arrowHeight:ei}),_&&((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n}=t,{strategy:r="referenceHidden",...o}=L(e,t);switch(r){case"referenceHidden":{let e=V(await z(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:G(e)}}}case"escaped":{let e=V(await z(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:G(e)}}}default:return{}}}}}(e),options:[e,t]}))({strategy:"referenceHidden",...eu})]}),[em,ev]=e9(ed),ey=(0,u.c)(q);(0,ez.N)(()=>{ep&&(null==ey||ey())},[ep,ey]);let ex=null==(n=eh.arrow)?void 0:n.x,eb=null==(r=eh.arrow)?void 0:r.y,eE=(null==(i=eh.arrow)?void 0:i.centerOffset)!==0,[eR,eL]=o.useState();return(0,ez.N)(()=>{J&&eL(window.getComputedStyle(J).zIndex)},[J]),(0,c.jsx)("div",{ref:ec.setFloating,"data-radix-popper-content-wrapper":"",style:{...ef,transform:ep?ef.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eR,"--radix-popper-transform-origin":[null==(a=eh.transformOrigin)?void 0:a.x,null==(f=eh.transformOrigin)?void 0:f.y].join(" "),...(null==(d=eh.hide)?void 0:d.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,c.jsx)(eQ,{scope:m,placedSide:em,onArrowChange:en,arrowX:ex,arrowY:eb,shouldHideArrow:eE,children:(0,c.jsx)(s.sG.div,{"data-side":em,"data-align":ev,...$,ref:ee,style:{...$.style,animation:ep?void 0:"none"}})})})});e1.displayName=eJ;var e2="PopperArrow",e5={top:"bottom",right:"left",bottom:"top",left:"r
1ight"},e4=o.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,o=e0(e2,n),i=e5[o.placedSide];return(0,c.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,c.jsx)(eI,{...r,ref:t,style:{...r.style,display:"block"}})})});function e6(e){return null!==e}e4.displayName=e2;var e8=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,l;let{placement:a,rects:s,middlewareData:u}=t,c=(null==(n=u.arrow)?void 0:n.centerOffset)!==0,f=c?0:e.arrowWidth,d=c?0:e.arrowHeight,[p,h]=e9(a),m={start:"0%",center:"50%",end:"100%"}[h],g=(null!=(i=null==(r=u.arrow)?void 0:r.x)?i:0)+f/2,v=(null!=(l=null==(o=u.arrow)?void 0:o.y)?l:0)+d/2,y="",w="";return"bottom"===p?(y=c?m:"".concat(g,"px"),w="".concat(-d,"px")):"top"===p?(y=c?m:"".concat(g,"px"),w="".concat(s.floating.height+d,"px")):"right"===p?(y="".concat(-d,"px"),w=c?m:"".concat(v,"px")):"left"===p&&(y="".concat(s.floating.width+d,"px"),w=c?m:"".concat(v,"px")),{data:{x:y,y:w}}}});function e9(e){let[t,n="center"]=e.split("-");return[t,n]}var e3=o.forwardRef((e,t)=>{var n,r;let{container:i,...l}=e,[a,u]=o.useState(!1);(0,ez.N)(()=>u(!0),[]);let f=i||a&&(null==(r=globalThis)||null==(n=r.document)?void 0:n.body);return f?eW.createPortal((0,c.jsx)(s.sG.div,{...l,ref:t}),f):null});e3.displayName="Portal";var e7=n(76842),te=n(32467),tt=n(23558),tn=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"}),tr=o.forwardRef((e,t)=>(0,c.jsx)(s.sG.span,{...e,ref:t,style:{...tn,...e.style}}));tr.displayName="VisuallyHidden";var[to,ti]=(0,a.A)("Tooltip",[eX]),tl=eX(),ta="TooltipProvider",ts="tooltip.open",[tu,tc]=to(ta),tf=e=>{let{__scopeTooltip:t,delayDuration:n=700,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:l}=e,a=o.useRef(!0),s=o.useRef(!1),u=o.useRef(0);return o.useEffect(()=>{let e=u.current;return()=>window.clearTimeout(e)},[]),(0,c.jsx)(tu,{scope:t,isOpenDelayedRef:a,delayDuration:n,onOpen:o.useCallback(()=>{window.clearTimeout(u.current),a.current=!1},[]),onClose:o.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>a.current=!0,r)},[r]),isPointerInTransitRef:s,onPointerInTransitChange:o.useCallback(e=>{s.current=e},[]),disableHoverableContent:i,children:l})};tf.displayName=ta;var td="Tooltip",[tp,th]=to(td),tm=e=>{let{__scopeTooltip:t,children:n,open:r,defaultOpen:i,onOpenChange:l,disableHoverableContent:a,delayDuration:s}=e,u=tc(td,e.__scopeTooltip),f=tl(t),[d,p]=o.useState(null),h=(0,g.B)(),m=o.useRef(0),v=null!=a?a:u.disableHoverableContent,y=null!=s?s:u.delayDuration,w=o.useRef(!1),[x,b]=(0,tt.i)({prop:r,defaultProp:null!=i&&i,onChange:e=>{e?(u.onOpen(),document.dispatchEvent(new CustomEvent(ts))):u.onClose(),null==l||l(e)},caller:td}),E=o.useMemo(()=>x?w.current?"delayed-open":"instant-open":"closed",[x]),C=o.useCallback(()=>{window.clearTimeout(m.current),m.current=0,w.current=!1,b(!0)},[b]),R=o.useCallback(()=>{window.clearTimeout(m.current),m.current=0,b(!1)},[b]),L=o.useCallback(()=>{window.clearTimeout(m.current),m.current=window.setTimeout(()=>{w.current=!0,b(!0),m.current=0},y)},[y,b]);return o.useEffect(()=>()=>{m.current&&(window.clearTimeout(m.current),m.current=0)},[]),(0,c.jsx)(e$,{...f,children:(0,c.jsx)(tp,{scope:t,contentId:h,open:x,stateAttribute:E,trigger:d,onTriggerChange:p,onTriggerEnter:o.useCallback(()=>{u.isOpenDelayedRef.current?L():C()},[u.isOpenDelayedRef,L,C]),onTriggerLeave:o.useCallback(()=>{v?R():(window.clearTimeout(m.current),m.current=0)},[R,v]),onOpen:C,onClose:R,disableHoverableContent:v,children:n})})};tm.displayName=td;var tg="TooltipTrigger",tv=o.forwardRef((e,t)=>{let{__scopeTooltip:n,...r}=e,a=th(tg,n),u=tc(tg,n),f=tl(n),d=o.useRef(null),p=(0,l.s)(t,d,a.onTriggerChange),h=o.useRef(!1),m=o.useRef(!1),g=o.useCallback(()=>h.current=!1,[]);return o.useEffect(()=>()=>document.removeEventListener("pointerup",g),[g]),(0,c.jsx)(eZ,{asChild:!0,...f,children:(0,c.jsx)(s.sG.button,{"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute,...r,ref:p,onPointerMove:(0,i.mK)(e.onPointerMove,e=>{"touch"!==e.pointerType&&(m.current||u.isPointerInTransitRef.current||(a.onTriggerEnter(),m.current=!0))}),onPointerLeave:(0,i.mK)(e.onPointerLeave,()=>{a.onTriggerLeave(),m.current=!1}),onPointerDown:(0,i.mK)(e.onPointerDown,()=>{a.open&&a.onClose(),h.current=!0,document.addEventListener("pointerup",g,{once:!0})}),onFocus:(0,i.mK)(e.onFocus,()=>{h.current||a.onOpen()}),onBlur:(0,i.mK)(e.onBlur,a.onClose),onClick:(0,i.mK)(e.onClick,a.onClose)})})});tv.displayName=tg;var ty="TooltipPortal",[tw,tx]=to(ty,{forceMount:void 0}),tb=e=>{let{__scopeTooltip:t,forceMount:n,children:r,container:o}=e,i=th(ty,t);return(0,c.jsx)(tw,{scope:t,forceMount:n,children:(0,c.jsx)(e7.C,{present:n||i.open,children:(0,c.jsx)(e3,{asChild:!0,container:o,children:r})})})};tb.displayName=ty;var tE="TooltipContent",tC=o.forwardRef((e,t)=>
1{let n=tx(tE,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,l=th(tE,e.__scopeTooltip);return(0,c.jsx)(e7.C,{present:r||l.open,children:l.disableHoverableContent?(0,c.jsx)(tA,{side:o,...i,ref:t}):(0,c.jsx)(tR,{side:o,...i,ref:t})})}),tR=o.forwardRef((e,t)=>{let n=th(tE,e.__scopeTooltip),r=tc(tE,e.__scopeTooltip),i=o.useRef(null),a=(0,l.s)(t,i),[s,u]=o.useState(null),{trigger:f,onClose:d}=n,p=i.current,{onPointerInTransitChange:h}=r,m=o.useCallback(()=>{u(null),h(!1)},[h]),g=o.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());u(function(e){let t=e.slice();return t.sort((e,t)=>e.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())])),h(!0)},[h]);return o.useEffect(()=>()=>m(),[m]),o.useEffect(()=>{if(f&&p){let e=e=>g(e,p),t=e=>g(e,f);return f.addEventListener("pointerleave",e),p.addEventListener("pointerleave",t),()=>{f.removeEventListener("pointerleave",e),p.removeEventListener("pointerleave",t)}}},[f,p,g,m]),o.useEffect(()=>{if(s){let e=e=>{let t=e.target,n={x:e.clientX,y:e.clientY},r=(null==f?void 0:f.contains(t))||(null==p?void 0:p.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],s=l.x,u=l.y,c=a.x,f=a.y;u>r!=f>r&&n<(c-s)*(r-u)/(f-u)+s&&(o=!o)}return o}(n,s);r?m():o&&(m(),d())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[f,p,s,d,m]),(0,c.jsx)(tA,{...e,ref:a})}),[tL,tT]=to(td,{isInside:!1}),tS=(0,te.Dc)("TooltipContent"),tA=o.forwardRef((e,t)=>{let{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:l,onPointerDownOutside:a,...s}=e,u=th(tE,n),f=tl(n),{onClose:d}=u;return o.useEffect(()=>(document.addEventListener(ts,d),()=>document.removeEventListener(ts,d)),[d]),o.useEffect(()=>{if(u.trigger){let e=e=>{let t=e.target;(null==t?void 0:t.contains(u.trigger))&&d()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[u.trigger,d]),(0,c.jsx)(p,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:l,onPointerDownOutside:a,onFocusOutside:e=>e.preventDefault(),onDismiss:d,children:(0,c.jsxs)(e1,{"data-state":u.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,c.jsx)(tS,{children:r}),(0,c.jsx)(tL,{scope:n,isInside:!0,children:(0,c.jsx)(tr,{id:u.contentId,role:"tooltip",children:i||r})})]})})});tC.displayName=tE;var tP="TooltipArrow",tO=o.forwardRef((e,t)=>{let{__scopeTooltip:n,...r}=e,o=tl(n);return tT(tP,n).isInside?null:(0,c.jsx)(e4,{...o,...r,ref:t})});tO.displayName=tP;var tk=tf,tD=tm,tj=tv,tN=tb,tW=tC,tH=tO},74570:(e,t,n)=>{n.d(t,{W:()=>l});var r=n(12115),o=n(38561);let i={some:0,all:1};function l(e){let{root:t,margin:n,amount:l,once:a=!1,initial:s=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},[u,c]=(0,r.useState)(s);return(0,r.useEffect)(()=>
1{if(!e.current||a&&u)return;let r={root:t&&t.current||void 0,margin:n,amount:l};return function(e,t,{root:n,margin:r,amount:l="some"}={}){let a=(0,o.K)(e),s=new WeakMap,u=new IntersectionObserver(e=>{e.forEach(e=>{let n=s.get(e.target);if(!!n!==e.isIntersecting)if(e.isIntersecting){let n=t(e.target,e);"function"==typeof n?s.set(e.target,n):u.unobserve(e.target)}else"function"==typeof n&&(n(e),s.delete(e.target))})},{root:n,rootMargin:r,threshold:"number"==typeof l?l:i[l]});return a.forEach(e=>u.observe(e)),()=>u.disconnect()}(e.current,()=>(c(!0),a?void 0:()=>c(!1)),r)},[t,e,n,a,l]),u}},84288:(e,t,n)=>{n.d(t,{X:()=>i});var r=n(12115),o=n(4129);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}}}]);

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.