1/*! For license information please see 3682.b01c2f98.chunk.js.LICENSE.txt */ 2"use strict";(globalThis.webpackChunkfrontend=globalThis.webpackChunkfrontend||[]).push([[3682],{7033(e,t,n){n.d(t,{A:()=>r});const r=(0,n(7784).A)("chart-column",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]])},5505(e,t,n){n.d(t,{A:()=>r});const r=(0,n(7784).A)("pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]])},8693(e,t,n){n.d(t,{A:()=>r});const r=(0,n(7784).A)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]])},7943(e,t,n){n.d(t,{bL:()=>C,zi:()=>k});var r=n(5043),o=n(858),a=n(2814),i=n(1862),s=n(3642),c=n(3168),l=n(3124),u=n(7914),d=n(579),p="Switch",[h,f]=(0,i.A)(p),[b,y]=h(p),v=r.forwardRef((e,t)=>{const{__scopeSwitch:n,name:i,checked:c,defaultChecked:l,required:h,disabled:f,value:y="on",onCheckedChange:v,form:x,...g}=e,[C,k]=r.useState(null),T=(0,a.s)(t,e=>k(e)),E=r.useRef(!1),_=!C||(x||!!C.closest("form")),[R,j]=(0,s.i)({prop:c,defaultProp:l??!1,onChange:v,caller:p});return(0,d.jsxs)(b,{scope:n,checked:R,disabled:f,children:[(0,d.jsx)(u.sG.button,{type:"button",role:"switch","aria-checked":R,"aria-required":h,"data-state":w(R),"data-disabled":f?"":void 0,disabled:f,value:y,...g,ref:T,onClick:(0,o.mK)(e.onClick,e=>{j(e=>!e),_&&(E.current=e.isPropagationStopped(),E.current||e.stopPropagation())})}),_&&(0,d.jsx)(m,{control:C,bubbles:!E.current,name:i,value:y,checked:R,required:h,disabled:f,form:x,style:{transform:"translateX(-100%)"}})]})});v.displayName=p;var x="SwitchThumb",g=r.forwardRef((e,t)=>{const{__scopeSwitch:n,...r}=e,o=y(x,n);return(0,d.jsx)(u.sG.span,{"data-state":w(o.checked),"data-disabled":o.disabled?"":void 0,...r,ref:t})});g.displayName=x;var m=r.forwardRef((e,t)=>{let{__scopeSwitch:n,control:o,checked:i,bubbles:s=!0,...u}=e;const p=r.useRef(null),h=(0,a.s)(p,t),f=(0,c.Z)(i),b=(0,l.X)(o);return r.useEffect(()=>{const e=p.current;if(!e)return;const t=window.HTMLInputElement.prototype,n=Object.getOwnPropertyDescriptor(t,"checked").set;if(f!==i&&n){const t=new Event("click",{bubbles:s});n.call(e,i),e.dispatchEvent(t)}},[f,i,s]),(0,d.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:i,...u,tabIndex:-1,ref:h,style:{...u.style,...b,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function w(e){return e?"checked":"unchecked"}m.displayName="SwitchBubbleInput";var C=v,k=g},5208(e,t,n){n.d(t,{UC:()=>W,ZL:()=>Y,Kq:()=>G,bL:()=>Z,l9:()=>U});var r=n(5043),o=n(858),a=n(2814),i=n(1862),s=n(1184),c=n(4490),l=n(2593),u=n(3321),d=n(2894),p=n(7914),h=n(579);var f=Symbol("radix.slottable");function b(e){const t=e=>{let{children:t}=e;return(0,h.jsx)(h.Fragment,{children:t})};return t.displayName=`${e}.Slottable`,t.__radixId=f,t}var y=n(3642),v=n(4451),[x,g]=(0,i.A)("Tooltip",[l.Bk]),m=(0,l.Bk)(),w="TooltipProvider",C=700,k="tooltip.open",[T,E]=x(w),_=e=>{const{__scopeTooltip:t,delayDuration:n=C,skipDelayDuration:o=300,disableHoverableContent:a=!1,children:i}=e,s=r.useRef(!0),c=r.useRef(!1),l=r.useRef(0);return r.useEffect(()=>{const e=l.current;return()=>window.clearTimeout(e)},[]),(0,h.jsx)(T,{scope:t,isOpenDelayedRef:s,delayDuration:n,onOpen:r.useCallback(()=>{window.clearTimeout(l.current),s.current=!1},[]),onClose:r.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>s.current=!0,o)},[o]),isPointerInTransitRef:c,onPointerInTransitChange:r.useCallback(e=>{c.current=e},[]),disableHoverableContent:a,children:i})};_.displayName=w;var R="Tooltip",[j,L]=x(R),M=e=>{const{__scopeTooltip:t,children:n,open:o,defaultOpen:a,onOpenChange:i,disableHoverableContent:s,delayDuration:u}=e,d=E(R,e.__scopeTooltip),p=m(t),[f,b]=r.useState(null),v=(0,c.B)(),x=r.useRef(0),g=s??d.disableHoverableContent,w=u??d.delayDuration,C=r.useRef(!1),[T,_]=(0,y.i)({prop:o,defaultProp:a??!1,onChange:e=>{e?(d.onOpen(),document.dispatchEvent(new CustomEvent(k))):d.onClose(),i?.(e)},caller:R}),L=r.useMemo(()=>T?C.current?"delayed-open":"instant-open":"closed",[T]),M=r.useCallback(()=>{window.clearTimeout(x.current),x.current=0,C.current=!1,_(!0)},[_]),P=r.useCallback(()=>{window.clearTimeout(x.current),x.current=0,_(!1)},[_]),D=r.useCallback(()=>{window.clearTimeout(x.current),x.current=window.setTimeout(()=>{C.current=!0,_(!0),x.current=0},w)},[w,_]);return r.useEffect(()=>()=>{x.current&&(window.clearTimeout(x.current),x.current=0)},[]),(0,h.jsx)(l.bL,{...p,children:(0,h.jsx)(j,{scope:t,contentId:v,open:T,stateAttribute:L,trigger:f,onTriggerChange:b,onTriggerEnter:r.useCallback(()=>{d.isOpenDelayedRef.current?D():M()},[d.isOpenDelayedRef,D,M]),onTriggerLeave:r.useCallback(()=>{g?P():(window.clearTimeout(x.current),x.current=0)},[P,g]),onOpen:M,onClose:P,disableHoverableContent:g,children:n})})};M.displayName=R;var P="TooltipTrigger",D=r.forwardRef((e,t)=>
2{const{__scopeTooltip:n,...i}=e,s=L(P,n),c=E(P,n),u=m(n),d=r.useRef(null),f=(0,a.s)(t,d,s.onTriggerChange),b=r.useRef(!1),y=r.useRef(!1),v=r.useCallback(()=>b.current=!1,[]);return r.useEffect(()=>()=>document.removeEventListener("pointerup",v),[v]),(0,h.jsx)(l.Mz,{asChild:!0,...u,children:(0,h.jsx)(p.sG.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...i,ref:f,onPointerMove:(0,o.mK)(e.onPointerMove,e=>{"touch"!==e.pointerType&&(y.current||c.isPointerInTransitRef.current||(s.onTriggerEnter(),y.current=!0))}),onPointerLeave:(0,o.mK)(e.onPointerLeave,()=>{s.onTriggerLeave(),y.current=!1}),onPointerDown:(0,o.mK)(e.onPointerDown,()=>{s.open&&s.onClose(),b.current=!0,document.addEventListener("pointerup",v,{once:!0})}),onFocus:(0,o.mK)(e.onFocus,()=>{b.current||s.onOpen()}),onBlur:(0,o.mK)(e.onBlur,s.onClose),onClick:(0,o.mK)(e.onClick,s.onClose)})})});D.displayName=P;var O="TooltipPortal",[I,A]=x(O,{forceMount:void 0}),S=e=>{const{__scopeTooltip:t,forceMount:n,children:r,container:o}=e,a=L(O,t);return(0,h.jsx)(I,{scope:t,forceMount:n,children:(0,h.jsx)(d.C,{present:n||a.open,children:(0,h.jsx)(u.Z,{asChild:!0,container:o,children:r})})})};S.displayName=O;var K="TooltipContent",N=r.forwardRef((e,t)=>{const n=A(K,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...a}=e,i=L(K,e.__scopeTooltip);return(0,h.jsx)(d.C,{present:r||i.open,children:i.disableHoverableContent?(0,h.jsx)(F,{side:o,...a,ref:t}):(0,h.jsx)(H,{side:o,...a,ref:t})})}),H=r.forwardRef((e,t)=>{const n=L(K,e.__scopeTooltip),o=E(K,e.__scopeTooltip),i=r.useRef(null),s=(0,a.s)(t,i),[c,l]=r.useState(null),{trigger:u,onClose:d}=n,p=i.current,{onPointerInTransitChange:f}=o,b=r.useCallback(()=>{l(null),f(!1)},[f]),y=r.useCallback((e,t)=>{const n=e.currentTarget,r={x:e.clientX,y:e.clientY},o=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5;const 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,function(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(n,r,o,a)){case a:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}(r,n.getBoundingClientRect())),a=function(e){const 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();const t=[];for(let r=0;r<e.length;r++){const n=e[r];for(;t.length>=2;){const e=t[t.length-1],r=t[t.length-2];if(!((e.x-r.x)*(n.y-r.y)>=(e.y-r.y)*(n.x-r.x)))break;t.pop()}t.push(n)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const t=e[r];for(;n.length>=2;){const e=n[n.length-1],r=n[n.length-2];if(!((e.x-r.x)*(t.y-r.y)>=(e.y-r.y)*(t.x-r.x)))break;n.pop()}n.push(t)}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)}([...o,...function(e){const{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())]);l(a),f(!0)},[f]);return r.useEffect(()=>()=>b(),[b]),r.useEffect(()=>{if(u&&p){const e=e=>y(e,p),t=e=>y(e,u);return u.addEventListener("pointerleave",e),p.addEventListener("pointerleave",t),()=>{u.removeEventListener("pointerleave",e),p.removeEventListener("pointerleave",t)}}},[u,p,y,b]),r.useEffect(()=>{if(c){const e=e=>{const t=e.target,n={x:e.clientX,y:e.clientY},r=u?.contains(t)||p?.contains(t),o=!function(e,t){const{x:n,y:r}=e;let o=!1;for(let a=0,i=t.length-1;a<t.length;i=a++){const e=t[a],s=t[i],c=e.x,l=e.y,u=s.x,d=s.y;l>r!==d>r&&n<(u-c)*(r-l)/(d-l)+c&&(o=!o)}return o}(n,c);r?b():o&&(b(),d())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[u,p,c,d,b]),(0,h.jsx)(F,{...e,ref:s})}),[B,z]=x(R,{isInside:!1}),q=b("TooltipContent"),F=r.forwardRef((e,t)=>{const{__scopeTooltip:n,children:o,"aria-label":a,onEscapeKeyDown:i,onPointerDownOutside:c,...u}=e,d=L(K,n),p=m(n),{onClose:f}=d;return r.useEffect(()=>(document.addEventListener(k,f),()=>document.removeEventListener(k,f)),[f]),r.useEffect(()=>{if(d.trigger){const e=e=>{const t=e.target;t?.contains(d.trigger)&&f()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[d.trigger,f]),(0,h.jsx)(s.qW,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:c,onFocusOutside:e=>e.preventDefault(),onDismiss:f,children:(0,h.jsxs)(l.UC,{"data-state":d.stateAttribute,...p,...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,h.jsx)(q,{children:o}),(0,h.jsx)(B,{scope:n,isInside:!0,children:(0,h.jsx)(v.bL,{id:d.contentId,role:"tooltip",children:a||o})})]})})});N.displayName=K;var V="TooltipArrow",X=r.forwardRef((e,t)=>
2{const{__scopeTooltip:n,...r}=e,o=m(n);return z(V,n).isInside?null:(0,h.jsx)(l.i3,{...o,...r,ref:t})});X.displayName=V;var G=_,Z=M,U=D,Y=S,W=N}}]); 3//# sourceMappingURL=3682.b01c2f98.chunk.js.map
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.