1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4163],{27648:function(e,t,n){n.d(t,{default:function(){return o.a}});var r=n(72972),o=n.n(r)},66922:function(e,t,n){n.d(t,{VY:function(){return eC},zt:function(){return ew},fC:function(){return eb},xz:function(){return eE}});var r,o=n(2265),i=n.t(o,2);function l(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}function a(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function u(...e){return t=>{let n=!1,r=e.map(e=>{let r=a(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():a(e[t],null)}}}}function s(...e){return o.useCallback(u(...e),e)}var d=n(57437);function c(e,t=[]){let n=[],r=()=>{let t=n.map(e=>o.createContext(e));return function(n){let r=n?.[e]||t;return o.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return r.scopeName=e,[function(t,r){let i=o.createContext(r),l=n.length;n=[...n,r];let a=t=>{let{scope:n,children:r,...a}=t,u=n?.[e]?.[l]||i,s=o.useMemo(()=>a,Object.values(a));return(0,d.jsx)(u.Provider,{value:s,children:r})};return a.displayName=t+"Provider",[a,function(n,a){let u=a?.[e]?.[l]||i,s=o.useContext(u);if(s)return s;if(void 0!==r)return r;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 r=n.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return o.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}(r,...t)]}var f=n(54887),p=o.forwardRef((e,t)=>{let{children:n,...r}=e,i=o.Children.toArray(n),l=i.find(h);if(l){let e=l.props.children,n=i.map(t=>t!==l?t:o.Children.count(e)>1?o.Children.only(null):o.isValidElement(e)?e.props.children:null);return(0,d.jsx)(v,{...r,ref:t,children:o.isValidElement(e)?o.cloneElement(e,void 0,n):null})}return(0,d.jsx)(v,{...r,ref:t,children:n})});p.displayName="Slot";var v=o.forwardRef((e,t)=>{let{children:n,...r}=e;if(o.isValidElement(n)){let e,i;let l=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref,a=function(e,t){let n={...t};for(let r in t){let o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{i(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props);return n.type!==o.Fragment&&(a.ref=t?u(t,l):l),o.cloneElement(n,a)}return o.Children.count(n)>1?o.Children.only(null):null});v.displayName="SlotClone";var m=({children:e})=>(0,d.jsx)(d.Fragment,{children:e});function h(e){return o.isValidElement(e)&&e.type===m}var y=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=o.forwardRef((e,n)=>{let{asChild:r,...o}=e,i=r?p:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,d.jsx)(i,{...o,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function g(e){let t=o.useRef(e);return o.useEffect(()=>{t.current=e}),o.useMemo(()=>(...e)=>t.current?.(...e),[])}var x="dismissableLayer.update",w=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),b=o.forwardRef((e,t)=>{var n,i;let{disableOutsidePointerEvents:a=!1,onEscapeKeyDown:u,onPointerDownOutside:c,onFocusOutside:f,onInteractOutside:p,onDismiss:v,...m}=e,h=o.useContext(w),[b,T]=o.useState(null),N=null!==(i=null==b?void 0:b.ownerDocument)&&void 0!==i?i:null===(n=globalThis)||void 0===n?void 0:n.document,[,O]=o.useState({}),R=s(t,e=>T(e)),P=Array.from(h.layers),[j]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),L=P.indexOf(j),A=b?P.indexOf(b):-1,S=h.layersWithOutsidePointerEventsDisabled.size>0,k=A>=L,D=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=g(e),i=o.useRef(!1),l=o.useRef(()=>{});return o.useEffect(()=>{let e=e=>{if(e.target&&!i.current){let t=function(){C("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=[...h.branches].some(e=>e.contains(t));!k||n||(null==c||c(e),null==p||p(e),e.defaultPrevented||null==v||v())},N),M=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=g(e),i=o.useRef(!1);return o.useEffect(()=>{let e=e=>
1{e.target&&!i.current&&C("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;[...h.branches].some(e=>e.contains(t))||(null==f||f(e),null==p||p(e),e.defaultPrevented||null==v||v())},N);return!function(e,t=globalThis?.document){let n=g(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=>{A!==h.layers.size-1||(null==u||u(e),!e.defaultPrevented&&v&&(e.preventDefault(),v()))},N),o.useEffect(()=>{if(b)return a&&(0===h.layersWithOutsidePointerEventsDisabled.size&&(r=N.body.style.pointerEvents,N.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(b)),h.layers.add(b),E(),()=>{a&&1===h.layersWithOutsidePointerEventsDisabled.size&&(N.body.style.pointerEvents=r)}},[b,N,a,h]),o.useEffect(()=>()=>{b&&(h.layers.delete(b),h.layersWithOutsidePointerEventsDisabled.delete(b),E())},[b,h]),o.useEffect(()=>{let e=()=>O({});return document.addEventListener(x,e),()=>document.removeEventListener(x,e)},[]),(0,d.jsx)(y.div,{...m,ref:R,style:{pointerEvents:S?k?"auto":"none":void 0,...e.style},onFocusCapture:l(e.onFocusCapture,M.onFocusCapture),onBlurCapture:l(e.onBlurCapture,M.onBlurCapture),onPointerDownCapture:l(e.onPointerDownCapture,D.onPointerDownCapture)})});function E(){let e=new CustomEvent(x);document.dispatchEvent(e)}function C(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)?i&&f.flushSync(()=>i.dispatchEvent(l)):i.dispatchEvent(l)}b.displayName="DismissableLayer",o.forwardRef((e,t)=>{let n=o.useContext(w),r=o.useRef(null),i=s(t,r);return o.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,d.jsx)(y.div,{...e,ref:i})}).displayName="DismissableLayerBranch";var T=globalThis?.document?o.useLayoutEffect:()=>{},N=i["useId".toString()]||(()=>void 0),O=0,R=n(97859),P=n(50032),j=o.forwardRef((e,t)=>{let{children:n,width:r=10,height:o=5,...i}=e;return(0,d.jsx)(y.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,d.jsx)("polygon",{points:"0,0 30,0 15,10"})})});j.displayName="Arrow";var L="Popper",[A,S]=c(L),[k,D]=A(L),M=e=>{let{__scopePopper:t,children:n}=e,[r,i]=o.useState(null);return(0,d.jsx)(k,{scope:t,anchor:r,onAnchorChange:i,children:n})};M.displayName=L;var _="PopperAnchor",W=o.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:r,...i}=e,l=D(_,n),a=o.useRef(null),u=s(t,a);return o.useEffect(()=>{l.onAnchorChange((null==r?void 0:r.current)||a.current)}),r?null:(0,d.jsx)(y.div,{...i,ref:u})});W.displayName=_;var I="PopperContent",[F,z]=A(I),B=o.forwardRef((e,t)=>{var n,r,i,l,a,u,c,f;let{__scopePopper:p,side:v="bottom",sideOffset:m=0,align:h="center",alignOffset:x=0,arrowPadding:w=0,avoidCollisions:b=!0,collisionBoundary:E=[],collisionPadding:C=0,sticky:N="partial",hideWhenDetached:O=!1,updatePositionStrategy:j="optimized",onPlaced:L,...A}=e,S=D(I,p),[k,M]=o.useState(null),_=s(t,e=>M(e)),[W,z]=o.useState(null),B=function(e){let[t,n]=o.useState(void 0);return T(()=>{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}(W),H=null!==(c=null==B?void 0:B.width)&&void 0!==c?c:0,U=null!==(f=null==B?void 0:B.height)&&void 0!==f?f:0,Y="number"==typeof C?C:{top:0,right:0,bottom:0,left:0,...C},Z=Array.isArray(E)?E:[E],q=Z.length>0,G={padding:Y,boundary:Z.filter(V),altBoundary:q},{refs:J,floatingStyles:K,placement:Q,isPositioned:ee,middlewareData:et}=(0,R.YF)({strategy:"fixed",placement:v+("center"!==h?"-"+h:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,P.Me)(...t,{animationFrame:"always"===j})}
1,elements:{reference:S.anchor},middleware:[(0,R.cv)({mainAxis:m+U,alignmentAxis:x}),b&&(0,R.uY)({mainAxis:!0,crossAxis:!1,limiter:"partial"===N?(0,R.dr)():void 0,...G}),b&&(0,R.RR)({...G}),(0,R.dp)({...G,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"))}}),W&&(0,R.x7)({element:W,padding:w}),$({arrowWidth:H,arrowHeight:U}),O&&(0,R.Cp)({strategy:"referenceHidden",...G})]}),[en,er]=X(Q),eo=g(L);T(()=>{ee&&(null==eo||eo())},[ee,eo]);let ei=null===(n=et.arrow)||void 0===n?void 0:n.x,el=null===(r=et.arrow)||void 0===r?void 0:r.y,ea=(null===(i=et.arrow)||void 0===i?void 0:i.centerOffset)!==0,[eu,es]=o.useState();return T(()=>{k&&es(window.getComputedStyle(k).zIndex)},[k]),(0,d.jsx)("div",{ref:J.setFloating,"data-radix-popper-content-wrapper":"",style:{...K,transform:ee?K.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eu,"--radix-popper-transform-origin":[null===(l=et.transformOrigin)||void 0===l?void 0:l.x,null===(a=et.transformOrigin)||void 0===a?void 0:a.y].join(" "),...(null===(u=et.hide)||void 0===u?void 0:u.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,d.jsx)(F,{scope:p,placedSide:en,onArrowChange:z,arrowX:ei,arrowY:el,shouldHideArrow:ea,children:(0,d.jsx)(y.div,{"data-side":en,"data-align":er,...A,ref:_,style:{...A.style,animation:ee?void 0:"none"}})})})});B.displayName=I;var H="PopperArrow",U={top:"bottom",right:"left",bottom:"top",left:"right"},Y=o.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,o=z(H,n),i=U[o.placedSide];return(0,d.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,d.jsx)(j,{...r,ref:t,style:{...r.style,display:"block"}})})});function V(e){return null!==e}Y.displayName=H;var $=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,l;let{placement:a,rects:u,middlewareData:s}=t,d=(null===(n=s.arrow)||void 0===n?void 0:n.centerOffset)!==0,c=d?0:e.arrowWidth,f=d?0:e.arrowHeight,[p,v]=X(a),m={start:"0%",center:"50%",end:"100%"}[v],h=(null!==(i=null===(r=s.arrow)||void 0===r?void 0:r.x)&&void 0!==i?i:0)+c/2,y=(null!==(l=null===(o=s.arrow)||void 0===o?void 0:o.y)&&void 0!==l?l:0)+f/2,g="",x="";return"bottom"===p?(g=d?m:"".concat(h,"px"),x="".concat(-f,"px")):"top"===p?(g=d?m:"".concat(h,"px"),x="".concat(u.floating.height+f,"px")):"right"===p?(g="".concat(-f,"px"),x=d?m:"".concat(y,"px")):"left"===p&&(g="".concat(u.floating.width+f,"px"),x=d?m:"".concat(y,"px")),{data:{x:g,y:x}}}});function X(e){let[t,n="center"]=e.split("-");return[t,n]}o.forwardRef((e,t)=>{var n,r;let{container:i,...l}=e,[a,u]=o.useState(!1);T(()=>u(!0),[]);let s=i||a&&(null===(r=globalThis)||void 0===r?void 0:null===(n=r.document)||void 0===n?void 0:n.body);return s?f.createPortal((0,d.jsx)(y.div,{...l,ref:t}),s):null}).displayName="Portal";var Z=e=>{var t,n;let r,i;let{present:l,children:a}=e,u=function(e){var t,n;let[r,i]=o.useState(),l=o.useRef({}),a=o.useRef(e),u=o.useRef("none"),[s,d]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},o.useReducer((e,t)=>{let r=n[e][t];return null!=r?r:e},t));return o.useEffect(()=>{let e=q(l.current);u.current="mounted"===s?e:"none"},[s]),T(()=>{let t=l.current,n=a.current;if(n!==e){let r=u.current,o=q(t);e?d("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?d("UNMOUNT"):n&&r!==o?d("ANIMATION_OUT"):d("UNMOUNT"),a.current=e}},[e,d]),T(()=>{if(r){var e;let t;let n=null!==(e=r.ownerDocument.defaultView)&&void 0!==e?e:window,o=e=>{let o=q(l.current).includes(e.animationName);if(e.target===r&&o&&(d("ANIMATION_END"),!a.current)){let e=r.style.animationFillMode;r.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===r.style.animationFillMode&&(r.style.animationFillMode=e)})}},i=e=>{e.target===r&&(u.current=q(l.current))};return r.addEventListener("animationstart",i),r.addEventListener("animationcancel",o),r.addEventListener("animationend",o),()=>{n.clearTimeout(t),r.removeEventListener("animationstart",i),r.removeEventListener("animationcancel",o),r.removeEventListener("animationend",o)}}d("ANIMATION_END")},[r,d]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:o.useCallback(e=>{e&&(l.current=getComputedStyle(e)),i(e)},[])}}(l),d="function"==typeof a?a({present:u.isPresent}):o.Children.only(a),c=s(u.ref,(r=null===(t=Object.getOwnPropertyDescriptor(d.props,"ref"))||void 0===t?void 0:t.get)&&"isReactWarning"in r&&r.isReactWarning?d.ref:(r=null===(n=Object.getOwnPropertyDescriptor(d,"ref"))||void 0===n?void 0:n.get)&&"isReactWarning"in r&&r.isReactWarning?d.props.ref:d.props.ref||d.ref);return"function"==typeof a||u.isPresent?o.cloneElement(d,{ref:c}):null};function q(e){return(null==e?void 0:e.animationName)||"none"}Z.displayName="Presence";var G=o.forwardRef((e,t)=>
1(0,d.jsx)(y.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));G.displayName="VisuallyHidden";var[J,K]=c("Tooltip",[S]),Q=S(),ee="TooltipProvider",et="tooltip.open",[en,er]=J(ee),eo=e=>{let{__scopeTooltip:t,delayDuration:n=700,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:l}=e,[a,u]=o.useState(!0),s=o.useRef(!1),c=o.useRef(0);return o.useEffect(()=>{let e=c.current;return()=>window.clearTimeout(e)},[]),(0,d.jsx)(en,{scope:t,isOpenDelayed:a,delayDuration:n,onOpen:o.useCallback(()=>{window.clearTimeout(c.current),u(!1)},[]),onClose:o.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>u(!0),r)},[r]),isPointerInTransitRef:s,onPointerInTransitChange:o.useCallback(e=>{s.current=e},[]),disableHoverableContent:i,children:l})};eo.displayName=ee;var ei="Tooltip",[el,ea]=J(ei),eu=e=>{let{__scopeTooltip:t,children:n,open:r,defaultOpen:i=!1,onOpenChange:l,disableHoverableContent:a,delayDuration:u}
1=e,s=er(ei,e.__scopeTooltip),c=Q(t),[f,p]=o.useState(null),v=function(e){let[t,n]=o.useState(N());return T(()=>{n(e=>e??String(O++))},[void 0]),t?`radix-${t}`:""}(),m=o.useRef(0),h=null!=a?a:s.disableHoverableContent,y=null!=u?u:s.delayDuration,x=o.useRef(!1),[w=!1,b]=function({prop:e,defaultProp:t,onChange:n=()=>{}}){let[r,i]=function({defaultProp:e,onChange:t}){let n=o.useState(e),[r]=n,i=o.useRef(r),l=g(t);return o.useEffect(()=>{i.current!==r&&(l(r),i.current=r)},[r,i,l]),n}({defaultProp:t,onChange:n}),l=void 0!==e,a=l?e:r,u=g(n);return[a,o.useCallback(t=>{if(l){let n="function"==typeof t?t(e):t;n!==e&&u(n)}else i(t)},[l,e,i,u])]}({prop:r,defaultProp:i,onChange:e=>{e?(s.onOpen(),document.dispatchEvent(new CustomEvent(et))):s.onClose(),null==l||l(e)}}),E=o.useMemo(()=>w?x.current?"delayed-open":"instant-open":"closed",[w]),C=o.useCallback(()=>{window.clearTimeout(m.current),m.current=0,x.current=!1,b(!0)},[b]),R=o.useCallback(()=>{window.clearTimeout(m.current),m.current=0,b(!1)},[b]),P=o.useCallback(()=>{window.clearTimeout(m.current),m.current=window.setTimeout(()=>{x.current=!0,b(!0),m.current=0},y)},[y,b]);return o.useEffect(()=>()=>{m.current&&(window.clearTimeout(m.current),m.current=0)},[]),(0,d.jsx)(M,{...c,children:(0,d.jsx)(el,{scope:t,contentId:v,open:w,stateAttribute:E,trigger:f,onTriggerChange:p,onTriggerEnter:o.useCallback(()=>{s.isOpenDelayed?P():C()},[s.isOpenDelayed,P,C]),onTriggerLeave:o.useCallback(()=>{h?R():(window.clearTimeout(m.current),m.current=0)},[R,h]),onOpen:C,onClose:R,disableHoverableContent:h,children:n})})};eu.displayName=ei;var es="TooltipTrigger",ed=o.forwardRef((e,t)=>{let{__scopeTooltip:n,...r}=e,i=ea(es,n),a=er(es,n),u=Q(n),c=s(t,o.useRef(null),i.onTriggerChange),f=o.useRef(!1),p=o.useRef(!1),v=o.useCallback(()=>f.current=!1,[]);return o.useEffect(()=>()=>document.removeEventListener("pointerup",v),[v]),(0,d.jsx)(W,{asChild:!0,...u,children:(0,d.jsx)(y.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:c,onPointerMove:l(e.onPointerMove,e=>{"touch"===e.pointerType||p.current||a.isPointerInTransitRef.current||(i.onTriggerEnter(),p.current=!0)}),onPointerLeave:l(e.onPointerLeave,()=>{i.onTriggerLeave(),p.current=!1}),onPointerDown:l(e.onPointerDown,()=>{f.current=!0,document.addEventListener("pointerup",v,{once:!0})}),onFocus:l(e.onFocus,()=>{f.current||i.onOpen()}),onBlur:l(e.onBlur,i.onClose),onClick:l(e.onClick,i.onClose)})})});ed.displayName=es;var[ec,ef]=J("TooltipPortal",{forceMount:void 0}),ep="TooltipContent",ev=o.forwardRef((e,t)=>{let n=ef(ep,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,l=ea(ep,e.__scopeTooltip);return(0,d.jsx)(Z,{present:r||l.open,children:l.disableHoverableContent?(0,d.jsx)(eg,{side:o,...i,ref:t}):(0,d.jsx)(em,{side:o,...i,ref:t})})}),em=o.forwardRef((e,t)=>{let n=ea(ep,e.__scopeTooltip),r=er(ep,e.__scopeTooltip),i=o.useRef(null),l=s(t,i),[a,u]=o.useState(null),{trigger:c,onClose:f}=n,p=i.current,{onPointerInTransitChange:v}=r,m=o.useCallback(()=>{u(null),v(!1)},[v]),h=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:e.y>t.y?1:0),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())])),v(!0)},[v]);return o.useEffect(()=>()=>m(),[m]),o.useEffect(()=>{if(c&&p){let e=e=>h(e,p),t=e=>h(e,c);return c.addEventListener("pointerleave",e),p.addEventListener("pointerleave",t),()=>{c.removeEventListener("pointerleave",e),p.removeEventListener("pointerleave",t)}}},[c,p,h,m]),o.useEffect(()=>{if(a){let e=e=>{let t=e.target,n={x:e.clientX,y:e.clientY},r=(null==c?void 0:c.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].x,a=t[e].y,u=t[i].x,s=t[i].y;a>r!=s>r&&n<(u-l)*(r-a)/(s-a)+l&&(o=!o)}return o}(n,a);r?m():o&&(m(),f())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[c,p,a,f,m]),(0,d.jsx)(eg,{...e,ref:l})}),[eh,ey]=J(ei,{isInside:!1}),eg=o.forwardRef((e,t)=>
1{let{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:l,onPointerDownOutside:a,...u}=e,s=ea(ep,n),c=Q(n),{onClose:f}=s;return o.useEffect(()=>(document.addEventListener(et,f),()=>document.removeEventListener(et,f)),[f]),o.useEffect(()=>{if(s.trigger){let e=e=>{let t=e.target;(null==t?void 0:t.contains(s.trigger))&&f()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[s.trigger,f]),(0,d.jsx)(b,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:l,onPointerDownOutside:a,onFocusOutside:e=>e.preventDefault(),onDismiss:f,children:(0,d.jsxs)(B,{"data-state":s.stateAttribute,...c,...u,ref:t,style:{...u.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,d.jsx)(m,{children:r}),(0,d.jsx)(eh,{scope:n,isInside:!0,children:(0,d.jsx)(G,{id:s.contentId,role:"tooltip",children:i||r})})]})})});ev.displayName=ep;var ex="TooltipArrow";o.forwardRef((e,t)=>{let{__scopeTooltip:n,...r}=e,o=Q(n);return ey(ex,n).isInside?null:(0,d.jsx)(Y,{...o,...r,ref:t})}).displayName=ex;var ew=eo,eb=eu,eE=ed,eC=ev},90535:function(e,t,n){n.d(t,{j:function(){return l}});var r=n(61994);let o=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,i=r.W,l=(e,t)=>n=>{var r;if((null==t?void 0:t.variants)==null)return i(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:l,defaultVariants:a}=t,u=Object.keys(l).map(e=>{let t=null==n?void 0:n[e],r=null==a?void 0:a[e];if(null===t)return null;let i=o(t)||o(r);return l[e][i]}),s=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{});return i(e,u,null==t?void 0:null===(r=t.compoundVariants)||void 0===r?void 0:r.reduce((e,t)=>{let{class:n,className:r,...o}=t;return Object.entries(o).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...a,...s}[t]):({...a,...s})[t]===n})?[...e,n,r]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)}}}]);
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.