PageSourceSearch

https://www.innolease.fi/_next/static/chunks/4434-cd94562cc7f7a10a.js?dpl=dpl_FoYQ7ZkzpeiRaupXrzgYUYdCXN82

js innolease.fi collected 2026-09-30 15:30:39 UTC 60,452 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4434],{3083:(e,t,r)=>{"use strict";r.d(t,{rc:()=>el,bm:()=>ec,VY:()=>eu,Kq:()=>es,bL:()=>ea,hE:()=>eo,LM:()=>ei});var n,s=r(99481),i=r(45484),a=r(85185),o=r(6101),u=r(46081),l=r(99708),c=r(92237),d=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let r=s.forwardRef((e,r)=>{let{asChild:n,...s}=e,i=n?l.DX:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,c.jsx)(i,{...s,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function h(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}var f=r(39033),p="dismissableLayer.update",m=s.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),v=s.forwardRef((e,t)=>{var r,i;let{disableOutsidePointerEvents:u=!1,onEscapeKeyDown:l,onPointerDownOutside:h,onFocusOutside:v,onInteractOutside:y,onDismiss:g,...E}=e,C=s.useContext(m),[S,P]=s.useState(null),O=null!=(i=null==S?void 0:S.ownerDocument)?i:null==(r=globalThis)?void 0:r.document,[,T]=s.useState({}),x=(0,o.s)(t,e=>P(e)),R=Array.from(C.layers),[A]=[...C.layersWithOutsidePointerEventsDisabled].slice(-1),k=R.indexOf(A),D=S?R.indexOf(S):-1,F=C.layersWithOutsidePointerEventsDisabled.size>0,N=D>=k,M=function(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,n=(0,f.c)(e),i=s.useRef(!1),a=s.useRef(()=>{});return s.useEffect(()=>{let e=e=>{if(e.target&&!i.current){let t=function(){b("dismissableLayer.pointerDownOutside",n,s,{discrete:!0})},s={originalEvent:e};"touch"===e.pointerType?(r.removeEventListener("click",a.current),a.current=t,r.addEventListener("click",a.current,{once:!0})):t()}else r.removeEventListener("click",a.current);i.current=!1},t=window.setTimeout(()=>{r.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),r.removeEventListener("pointerdown",e),r.removeEventListener("click",a.current)}},[r,n]),{onPointerDownCapture:()=>i.current=!0}}(e=>{let t=e.target,r=[...C.branches].some(e=>e.contains(t));N&&!r&&(null==h||h(e),null==y||y(e),e.defaultPrevented||null==g||g())},O),j=function(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,n=(0,f.c)(e),i=s.useRef(!1);return s.useEffect(()=>{let e=e=>{e.target&&!i.current&&b("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return r.addEventListener("focusin",e),()=>r.removeEventListener("focusin",e)},[r,n]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}(e=>{let t=e.target;![...C.branches].some(e=>e.contains(t))&&(null==v||v(e),null==y||y(e),e.defaultPrevented||null==g||g())},O);return!function(e,t=globalThis?.document){let r=(0,f.c)(e);s.useEffect(()=>{let e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[r,t])}(e=>{D===C.layers.size-1&&(null==l||l(e),!e.defaultPrevented&&g&&(e.preventDefault(),g()))},O),s.useEffect(()=>{if(S)return u&&(0===C.layersWithOutsidePointerEventsDisabled.size&&(n=O.body.style.pointerEvents,O.body.style.pointerEvents="none"),C.layersWithOutsidePointerEventsDisabled.add(S)),C.layers.add(S),w(),()=>{u&&1===C.layersWithOutsidePointerEventsDisabled.size&&(O.body.style.pointerEvents=n)}},[S,O,u,C]),s.useEffect(()=>()=>{S&&(C.layers.delete(S),C.layersWithOutsidePointerEventsDisabled.delete(S),w())},[S,C]),s.useEffect(()=>{let e=()=>T({});return document.addEventListener(p,e),()=>document.removeEventListener(p,e)},[]),(0,c.jsx)(d.div,{...E,ref:x,style:{pointerEvents:F?N?"auto":"none":void 0,...e.style},onFocusCapture:(0,a.m)(e.onFocusCapture,j.onFocusCapture),onBlurCapture:(0,a.m)(e.onBlurCapture,j.onBlurCapture),onPointerDownCapture:(0,a.m)(e.onPointerDownCapture,M.onPointerDownCapture)})});v.displayName="DismissableLayer";var y=s.forwardRef((e,t)=>{let r=s.useContext(m),n=s.useRef(null),i=(0,o.s)(t,n);return s.useEffect(()=>{let e=n.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,c.jsx)(d.div,{...e,ref:i})});function w(){let e=new CustomEvent(p);document.dispatchEvent(e)}function b(e,t,r,n){let{discrete:s}=n,i=r.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&i.addEventListener(e,t,{once:!0}),s?h(i,a):i.dispatchEvent(a)}y.displayName="DismissableLayerBranch";var g=r(52712),E=s.forwardRef((e,t)=>
1{var r,n;let{container:a,...o}=e,[u,l]=s.useState(!1);(0,g.N)(()=>l(!0),[]);let h=a||u&&(null==(n=globalThis)||null==(r=n.document)?void 0:r.body);return h?i.createPortal((0,c.jsx)(d.div,{...o,ref:t}),h):null});E.displayName="Portal";var C=e=>{let{present:t,children:r}=e,n=function(e){var t,r;let[n,i]=s.useState(),a=s.useRef({}),o=s.useRef(e),u=s.useRef("none"),[l,c]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},s.useReducer((e,t)=>{let n=r[e][t];return null!=n?n:e},t));return s.useEffect(()=>{let e=S(a.current);u.current="mounted"===l?e:"none"},[l]),(0,g.N)(()=>{let t=a.current,r=o.current;if(r!==e){let n=u.current,s=S(t);e?c("MOUNT"):"none"===s||(null==t?void 0:t.display)==="none"?c("UNMOUNT"):r&&n!==s?c("ANIMATION_OUT"):c("UNMOUNT"),o.current=e}},[e,c]),(0,g.N)(()=>{if(n){var e;let t,r=null!=(e=n.ownerDocument.defaultView)?e:window,s=e=>{let s=S(a.current).includes(e.animationName);if(e.target===n&&s&&(c("ANIMATION_END"),!o.current)){let e=n.style.animationFillMode;n.style.animationFillMode="forwards",t=r.setTimeout(()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=e)})}},i=e=>{e.target===n&&(u.current=S(a.current))};return n.addEventListener("animationstart",i),n.addEventListener("animationcancel",s),n.addEventListener("animationend",s),()=>{r.clearTimeout(t),n.removeEventListener("animationstart",i),n.removeEventListener("animationcancel",s),n.removeEventListener("animationend",s)}}c("ANIMATION_END")},[n,c]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:s.useCallback(e=>{e&&(a.current=getComputedStyle(e)),i(e)},[])}}(t),i="function"==typeof r?r({present:n.isPresent}):s.Children.only(r),a=(0,o.s)(n.ref,function(e){var t,r;let n=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,s=n&&"isReactWarning"in n&&n.isReactWarning;return s?e.ref:(s=(n=null==(r=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:r.get)&&"isReactWarning"in n&&n.isReactWarning)?e.props.ref:e.props.ref||e.ref}(i));return"function"==typeof r||n.isPresent?s.cloneElement(i,{ref:a}):null};function S(e){return(null==e?void 0:e.animationName)||"none"}C.displayName="Presence";var P=r(5845),O=s.forwardRef((e,t)=>(0,c.jsx)(d.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}}));O.displayName="VisuallyHidden";var T="ToastProvider",[x,R,A]=function(e){let t=e+"CollectionProvider",[r,n]=(0,u.A)(t),[i,a]=r(t,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:t,children:r}=e,n=s.useRef(null),a=s.useRef(new Map).current;return(0,c.jsx)(i,{scope:t,itemMap:a,collectionRef:n,children:r})};d.displayName=t;let h=e+"CollectionSlot",f=s.forwardRef((e,t)=>{let{scope:r,children:n}=e,s=a(h,r),i=(0,o.s)(t,s.collectionRef);return(0,c.jsx)(l.DX,{ref:i,children:n})});f.displayName=h;let p=e+"CollectionItemSlot",m="data-radix-collection-item",v=s.forwardRef((e,t)=>{let{scope:r,children:n,...i}=e,u=s.useRef(null),d=(0,o.s)(t,u),h=a(p,r);return s.useEffect(()=>(h.itemMap.set(u,{ref:u,...i}),()=>void h.itemMap.delete(u))),(0,c.jsx)(l.DX,{...{[m]:""},ref:d,children:n})});return v.displayName=p,[{Provider:d,Slot:f,ItemSlot:v},function(t){let r=a(e+"CollectionConsumer",t);return s.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(m,"]")));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},n]}("Toast"),[k,D]=(0,u.A)("Toast",[A]),[F,N]=k(T),M=e=>{let{__scopeToast:t,label:r="Notification",duration:n=5e3,swipeDirection:i="right",swipeThreshold:a=50,children:o}=e,[u,l]=s.useState(null),[d,h]=s.useState(0),f=s.useRef(!1),p=s.useRef(!1);return r.trim()||console.error("Invalid prop `label` supplied to `".concat(T,"`. Expected non-empty `string`.")),(0,c.jsx)(x.Provider,{scope:t,children:(0,c.jsx)(F,{scope:t,label:r,duration:n,swipeDirection:i,swipeThreshold:a,toastCount:d,viewport:u,onViewportChange:l,onToastAdd:s.useCallback(()=>h(e=>e+1),[]),onToastRemove:s.useCallback(()=>h(e=>e-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:p,children:o})})};M.displayName=T;var j="ToastViewport",q=["F8"],L="toast.viewportPause",I="toast.viewportResume",_=s.forwardRef((e,t)=>
1{let{__scopeToast:r,hotkey:n=q,label:i="Notifications ({hotkey})",...a}=e,u=N(j,r),l=R(r),h=s.useRef(null),f=s.useRef(null),p=s.useRef(null),m=s.useRef(null),v=(0,o.s)(t,m,u.onViewportChange),w=n.join("+").replace(/Key/g,"").replace(/Digit/g,""),b=u.toastCount>0;s.useEffect(()=>{let e=e=>{var t;0!==n.length&&n.every(t=>e[t]||e.code===t)&&(null==(t=m.current)||t.focus())};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[n]),s.useEffect(()=>{let e=h.current,t=m.current;if(b&&e&&t){let r=()=>{if(!u.isClosePausedRef.current){let e=new CustomEvent(L);t.dispatchEvent(e),u.isClosePausedRef.current=!0}},n=()=>{if(u.isClosePausedRef.current){let e=new CustomEvent(I);t.dispatchEvent(e),u.isClosePausedRef.current=!1}},s=t=>{e.contains(t.relatedTarget)||n()},i=()=>{e.contains(document.activeElement)||n()};return e.addEventListener("focusin",r),e.addEventListener("focusout",s),e.addEventListener("pointermove",r),e.addEventListener("pointerleave",i),window.addEventListener("blur",r),window.addEventListener("focus",n),()=>{e.removeEventListener("focusin",r),e.removeEventListener("focusout",s),e.removeEventListener("pointermove",r),e.removeEventListener("pointerleave",i),window.removeEventListener("blur",r),window.removeEventListener("focus",n)}}},[b,u.isClosePausedRef]);let g=s.useCallback(e=>{let{tabbingDirection:t}=e,r=l().map(e=>{let r=e.ref.current,n=[r,...function(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}(r)];return"forwards"===t?n:n.reverse()});return("forwards"===t?r.reverse():r).flat()},[l]);return s.useEffect(()=>{let e=m.current;if(e){let t=t=>{let r=t.altKey||t.ctrlKey||t.metaKey;if("Tab"===t.key&&!r){var n,s,i;let r=document.activeElement,a=t.shiftKey;if(t.target===e&&a){null==(n=f.current)||n.focus();return}let o=g({tabbingDirection:a?"backwards":"forwards"}),u=o.findIndex(e=>e===r);en(o.slice(u+1))?t.preventDefault():a?null==(s=f.current)||s.focus():null==(i=p.current)||i.focus()}};return e.addEventListener("keydown",t),()=>e.removeEventListener("keydown",t)}},[l,g]),(0,c.jsxs)(y,{ref:h,role:"region","aria-label":i.replace("{hotkey}",w),tabIndex:-1,style:{pointerEvents:b?void 0:"none"},children:[b&&(0,c.jsx)(U,{ref:f,onFocusFromOutsideViewport:()=>{en(g({tabbingDirection:"forwards"}))}}),(0,c.jsx)(x.Slot,{scope:r,children:(0,c.jsx)(d.ol,{tabIndex:-1,...a,ref:v})}),b&&(0,c.jsx)(U,{ref:p,onFocusFromOutsideViewport:()=>{en(g({tabbingDirection:"backwards"}))}})]})});_.displayName=j;var K="ToastFocusProxy",U=s.forwardRef((e,t)=>{let{__scopeToast:r,onFocusFromOutsideViewport:n,...s}=e,i=N(K,r);return(0,c.jsx)(O,{"aria-hidden":!0,tabIndex:0,...s,ref:t,style:{position:"fixed"},onFocus:e=>{var t;let r=e.relatedTarget;(null==(t=i.viewport)?void 0:t.contains(r))||n()}})});U.displayName=K;var Q="Toast",W=s.forwardRef((e,t)=>{let{forceMount:r,open:n,defaultOpen:s,onOpenChange:i,...o}=e,[u=!0,l]=(0,P.i)({prop:n,defaultProp:s,onChange:i});return(0,c.jsx)(C,{present:r||u,children:(0,c.jsx)(V,{open:u,...o,ref:t,onClose:()=>l(!1),onPause:(0,f.c)(e.onPause),onResume:(0,f.c)(e.onResume),onSwipeStart:(0,a.m)(e.onSwipeStart,e=>{e.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:(0,a.m)(e.onSwipeMove,e=>{let{x:t,y:r}=e.detail.delta;e.currentTarget.setAttribute("data-swipe","move"),e.currentTarget.style.setProperty("--radix-toast-swipe-move-x","".concat(t,"px")),e.currentTarget.style.setProperty("--radix-toast-swipe-move-y","".concat(r,"px"))}),onSwipeCancel:(0,a.m)(e.onSwipeCancel,e=>{e.currentTarget.setAttribute("data-swipe","cancel"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),e.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),e.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:(0,a.m)(e.onSwipeEnd,e=>{let{x:t,y:r}=e.detail.delta;e.currentTarget.setAttribute("data-swipe","end"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),e.currentTarget.style.setProperty("--radix-toast-swipe-end-x","".concat(t,"px")),e.currentTarget.style.setProperty("--radix-toast-swipe-end-y","".concat(r,"px")),l(!1)})})})});W.displayName=Q;var[H,G]=k(Q,{onClose(){}}),V=s.forwardRef((e,t)=>
1{let{__scopeToast:r,type:n="foreground",duration:u,open:l,onClose:h,onEscapeKeyDown:p,onPause:m,onResume:y,onSwipeStart:w,onSwipeMove:b,onSwipeCancel:g,onSwipeEnd:E,...C}=e,S=N(Q,r),[P,O]=s.useState(null),T=(0,o.s)(t,e=>O(e)),R=s.useRef(null),A=s.useRef(null),k=u||S.duration,D=s.useRef(0),F=s.useRef(k),M=s.useRef(0),{onToastAdd:j,onToastRemove:q}=S,_=(0,f.c)(()=>{var e;(null==P?void 0:P.contains(document.activeElement))&&(null==(e=S.viewport)||e.focus()),h()}),K=s.useCallback(e=>{e&&e!==1/0&&(window.clearTimeout(M.current),D.current=new Date().getTime(),M.current=window.setTimeout(_,e))},[_]);s.useEffect(()=>{let e=S.viewport;if(e){let t=()=>{K(F.current),null==y||y()},r=()=>{let e=new Date().getTime()-D.current;F.current=F.current-e,window.clearTimeout(M.current),null==m||m()};return e.addEventListener(L,r),e.addEventListener(I,t),()=>{e.removeEventListener(L,r),e.removeEventListener(I,t)}}},[S.viewport,k,m,y,K]),s.useEffect(()=>{l&&!S.isClosePausedRef.current&&K(k)},[l,k,S.isClosePausedRef,K]),s.useEffect(()=>(j(),()=>q()),[j,q]);let U=s.useMemo(()=>P?function e(t){let r=[];return Array.from(t.childNodes).forEach(t=>{var n;if(t.nodeType===t.TEXT_NODE&&t.textContent&&r.push(t.textContent),(n=t).nodeType===n.ELEMENT_NODE){let n=t.ariaHidden||t.hidden||"none"===t.style.display,s=""===t.dataset.radixToastAnnounceExclude;if(!n)if(s){let e=t.dataset.radixToastAnnounceAlt;e&&r.push(e)}else r.push(...e(t))}}),r}(P):null,[P]);return S.viewport?(0,c.jsxs)(c.Fragment,{children:[U&&(0,c.jsx)(B,{__scopeToast:r,role:"status","aria-live":"foreground"===n?"assertive":"polite","aria-atomic":!0,children:U}),(0,c.jsx)(H,{scope:r,onClose:_,children:i.createPortal((0,c.jsx)(x.ItemSlot,{scope:r,children:(0,c.jsx)(v,{asChild:!0,onEscapeKeyDown:(0,a.m)(p,()=>{S.isFocusedToastEscapeKeyDownRef.current||_(),S.isFocusedToastEscapeKeyDownRef.current=!1}),children:(0,c.jsx)(d.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":l?"open":"closed","data-swipe-direction":S.swipeDirection,...C,ref:T,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:(0,a.m)(e.onKeyDown,e=>{"Escape"===e.key&&(null==p||p(e.nativeEvent),e.nativeEvent.defaultPrevented||(S.isFocusedToastEscapeKeyDownRef.current=!0,_()))}),onPointerDown:(0,a.m)(e.onPointerDown,e=>{0===e.button&&(R.current={x:e.clientX,y:e.clientY})}),onPointerMove:(0,a.m)(e.onPointerMove,e=>{if(!R.current)return;let t=e.clientX-R.current.x,r=e.clientY-R.current.y,n=!!A.current,s=["left","right"].includes(S.swipeDirection),i=["left","up"].includes(S.swipeDirection)?Math.min:Math.max,a=s?i(0,t):0,o=s?0:i(0,r),u="touch"===e.pointerType?10:2,l={x:a,y:o},c={originalEvent:e,delta:l};n?(A.current=l,et("toast.swipeMove",b,c,{discrete:!1})):er(l,S.swipeDirection,u)?(A.current=l,et("toast.swipeStart",w,c,{discrete:!1}),e.target.setPointerCapture(e.pointerId)):(Math.abs(t)>u||Math.abs(r)>u)&&(R.current=null)}),onPointerUp:(0,a.m)(e.onPointerUp,e=>{let t=A.current,r=e.target;if(r.hasPointerCapture(e.pointerId)&&r.releasePointerCapture(e.pointerId),A.current=null,R.current=null,t){let r=e.currentTarget,n={originalEvent:e,delta:t};er(t,S.swipeDirection,S.swipeThreshold)?et("toast.swipeEnd",E,n,{discrete:!0}):et("toast.swipeCancel",g,n,{discrete:!0}),r.addEventListener("click",e=>e.preventDefault(),{once:!0})}})})})}),S.viewport)})]}):null}),B=e=>{let{__scopeToast:t,children:r,...n}=e,i=N(Q,t),[a,o]=s.useState(!1),[u,l]=s.useState(!1);return function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:()=>{},t=(0,f.c)(e);(0,g.N)(()=>{let e=0,r=0;return e=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(e),window.cancelAnimationFrame(r)}},[t])}(()=>o(!0)),s.useEffect(()=>{let e=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(e)},[]),u?null:(0,c.jsx)(E,{asChild:!0,children:(0,c.jsx)(O,{...n,children:a&&(0,c.jsxs)(c.Fragment,{children:[i.label," ",r]})})})},$=s.forwardRef((e,t)=>{let{__scopeToast:r,...n}=e;return(0,c.jsx)(d.div,{...n,ref:t})});$.displayName="ToastTitle";var z=s.forwardRef((e,t)=>{let{__scopeToast:r,...n}=e;return(0,c.jsx)(d.div,{...n,ref:t})});z.displayName="ToastDescription";var X="ToastAction",J=s.forwardRef((e,t)=>
1{let{altText:r,...n}=e;return r.trim()?(0,c.jsx)(ee,{altText:r,asChild:!0,children:(0,c.jsx)(Z,{...n,ref:t})}):(console.error("Invalid prop `altText` supplied to `".concat(X,"`. Expected non-empty `string`.")),null)});J.displayName=X;var Y="ToastClose",Z=s.forwardRef((e,t)=>{let{__scopeToast:r,...n}=e,s=G(Y,r);return(0,c.jsx)(ee,{asChild:!0,children:(0,c.jsx)(d.button,{type:"button",...n,ref:t,onClick:(0,a.m)(e.onClick,s.onClose)})})});Z.displayName=Y;var ee=s.forwardRef((e,t)=>{let{__scopeToast:r,altText:n,...s}=e;return(0,c.jsx)(d.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":n||void 0,...s,ref:t})});function et(e,t,r,n){let{discrete:s}=n,i=r.originalEvent.currentTarget,a=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:r});t&&i.addEventListener(e,t,{once:!0}),s?h(i,a):i.dispatchEvent(a)}var er=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=Math.abs(e.x),s=Math.abs(e.y),i=n>s;return"left"===t||"right"===t?i&&n>r:!i&&s>r};function en(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}var es=M,ei=_,ea=W,eo=$,eu=z,el=J,ec=Z},5845:(e,t,r)=>{"use strict";r.d(t,{i:()=>i});var n=r(99481),s=r(39033);function i({prop:e,defaultProp:t,onChange:r=()=>{}}){let[i,a]=function({defaultProp:e,onChange:t}){let r=n.useState(e),[i]=r,a=n.useRef(i),o=(0,s.c)(t);return n.useEffect(()=>{a.current!==i&&(o(i),a.current=i)},[i,a,o]),r}({defaultProp:t,onChange:r}),o=void 0!==e,u=o?e:i,l=(0,s.c)(r);return[u,n.useCallback(t=>{if(o){let r="function"==typeof t?t(e):t;r!==e&&l(r)}else a(t)},[o,e,a,l])]}},6101:(e,t,r)=>{"use strict";r.d(t,{s:()=>a,t:()=>i});var n=r(99481);function s(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function i(...e){return t=>{let r=!1,n=e.map(e=>{let n=s(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():s(e[t],null)}}}}function a(...e){return n.useCallback(i(...e),e)}},20871:e=>{e.exports={style:{fontFamily:"'Geist Mono', 'Geist Mono Fallback'",fontStyle:"normal"},className:"__className_c29908",variable:"__variable_c29908"}},25318:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(40157).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},26715:(e,t,r)=>{"use strict";r.d(t,{Ht:()=>a});var n=r(99481),s=r(92237),i=n.createContext(void 0),a=e=>{let{client:t,children:r}=e;return n.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),(0,s.jsx)(i.Provider,{value:t,children:r})}},31828:(e,t,r)=>{"use strict";r.d(t,{j:()=>l});var n=r(99481),s=()=>{window.va||(window.va=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];(window.vaq=window.vaq||[]).push(t)})};function i(){return"undefined"!=typeof window}function a(){return"production"}function o(){return(i()?window.vam:a())||"production"}function u(){return"development"===o()}function l(e){return(0,n.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.va)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]),(0,n.useEffect)(()=>{!function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{debug:!0};if(!i())return;!function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"auto";if("auto"===e){window.vam=a();return}window.vam=e}(t.mode),s(),t.beforeSend&&(null==(e=window.va)||e.call(window,"beforeSend",t.beforeSend));let r=t.scriptSrc||(u()?"https://va.vercel-scripts.com/v1/script.debug.js":"/_vercel/insights/script.js");if(document.head.querySelector('script[src*="'.concat(r,'"]')))return;let n=document.createElement("script");n.src=r,n.defer=!0,n.dataset.sdkn="@vercel/analytics"+(t.framework?"/".concat(t.framework):""),n.dataset.sdkv="1.4.1",t.disableAutoTrack&&(n.dataset.disableAutoTrack="1"),t.endpoint&&(n.dataset.endpoint=t.endpoint),t.dsn&&(n.dataset.dsn=t.dsn),n.onerror=()=>{let e=u()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log("[Vercel Web Analytics] Failed to load script from ".concat(r,". ").concat(e))},u()&&!1===t.debug&&(n.dataset.debug="false"),document.head.appendChild(n)}({framework:e.framework||"react",...void 0!==e.route&&{disableAutoTrack:!0},...e})},[]),(0,n.useEffect)(()=>{e.route&&e.path&&function(e){var t;let{route:r,path:n}=e;null==(t=window.va)||t.call(window,"pageview",{route:r,path:n})}({route:e.route,path:e.path})},[e.route,e.path]),null}},33237:e=>{e.exports={style:{fontFamily:"'Inter Tight', 'Inter Tight Fallback'",fontStyle:"normal"},className:"__className_a3c0d3",variable:"__variable_a3c0d3"}},35695:(e,t,r)=>{"use strict";r.r(t);var n=r(18999),s={};for(let e in n)"default"!==e&&(s[e]=()=>n[e]);r.d(t,s)},39033:(e,t,r)=>{"use strict";r.d(t,{c:()=>s});var n=r(99481);function s(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}},40157:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(99481);let s=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),i=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim()};var a={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let o=(0,n.forwardRef)((e,t)=>{let{color:r="currentColor",size:s=24,strokeWidth:o=2,absoluteStrokeWidth:u,className:l="",children:c,iconNode:d,...h}=e;return(0,n.createElement)("svg",{ref:t,...a,width:s,height:s,stroke:r,strokeWidth:u?24*Number(o)/Number(s):o,className:i("lucide",l),...h},[...d.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(c)?c:[c]])}),u=(e,t)=>
1{let r=(0,n.forwardRef)((r,a)=>{let{className:u,...l}=r;return(0,n.createElement)(o,{ref:a,iconNode:t,className:i("lucide-".concat(s(e)),u),...l})});return r.displayName="".concat(e),r}},46081:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(99481),s=r(92237);function i(e,t=[]){let r=[],a=()=>{let t=r.map(e=>n.createContext(e));return function(r){let s=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:s}}),[r,s])}};return a.scopeName=e,[function(t,i){let a=n.createContext(i),o=r.length;r=[...r,i];let u=t=>{let{scope:r,children:i,...u}=t,l=r?.[e]?.[o]||a,c=n.useMemo(()=>u,Object.values(u));return(0,s.jsx)(l.Provider,{value:c,children:i})};return u.displayName=t+"Provider",[u,function(r,s){let u=s?.[e]?.[o]||a,l=n.useContext(u);if(l)return l;if(void 0!==i)return i;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let s=r.reduce((t,{useScope:r,scopeName:n})=>{let s=r(e)[`__scope${n}`];return{...t,...s}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return r.scopeName=t.scopeName,r}(a,...t)]}},48031:(e,t,r)=>{"use strict";r.d(t,{b:()=>p});var n=r(99481),s=r(35695),i=()=>{window.si||(window.si=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];(window.siq=window.siq||[]).push(t)})};function a(){return"development"===function(){return"production"}()}function o(e){return new RegExp("/".concat(e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"(?=[/?#]|$)"))}var u="https://va.vercel-scripts.com/v1/speed-insights",l="".concat(u,"/script.js"),c="".concat(u,"/script.debug.js");function d(e){(0,n.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.si)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]);let t=(0,n.useRef)(null);return(0,n.useEffect)(()=>{if(t.current)e.route&&t.current(e.route);else{let r=function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if("undefined"==typeof window||null===t.route)return null;i();let r=!!t.dsn,n=t.scriptSrc||(a()?c:r?l:"/_vercel/speed-insights/script.js");if(document.head.querySelector('script[src*="'.concat(n,'"]')))return null;t.beforeSend&&(null==(e=window.si)||e.call(window,"beforeSend",t.beforeSend));let s=document.createElement("script");return s.src=n,s.defer=!0,s.dataset.sdkn="@vercel/speed-insights"+(t.framework?"/".concat(t.framework):""),s.dataset.sdkv="1.1.0",t.sampleRate&&(s.dataset.sampleRate=t.sampleRate.toString()),t.route&&(s.dataset.route=t.route),t.endpoint&&(s.dataset.endpoint=t.endpoint),t.dsn&&(s.dataset.dsn=t.dsn),a()&&!1===t.debug&&(s.dataset.debug="false"),s.onerror=()=>{console.log("[Vercel Speed Insights] Failed to load script from ".concat(n,". Please check if any content blockers are enabled and try again."))},document.head.appendChild(s),{setRoute:e=>{s.dataset.route=null!=e?e:void 0}}}({framework:e.framework||"react",...e});r&&(t.current=r.setRoute)}},[e.route]),null}var h=()=>{let e=(0,s.useParams)(),t=(0,s.useSearchParams)()||new URLSearchParams,r=(0,s.usePathname)();return e?function(e,t){if(!e||!t)return e;let r=e;try{let e=Object.entries(t);for(let[t,n]of e)if(!Array.isArray(n)){let e=o(n);e.test(r)&&(r=r.replace(e,"/[".concat(t,"]")))}for(let[t,n]of e)if(Array.isArray(n)){let e=o(n.join("/"));e.test(r)&&(r=r.replace(e,"/[...".concat(t,"]")))}return r}catch(t){return e}}(r,Object.keys(e).length?e:Object.fromEntries(t.entries())):null};function f(e){let t=h();return n.createElement(d,{route:t,...e,framework:"next"})}function p(e){return n.createElement(n.Suspense,{fallback:null},n.createElement(f,{...e}))}},51362:(e,t,r)=>{"use strict";r.d(t,{D:()=>l,ThemeProvider:()=>c});var n=r(99481),s=(e,t,r,n,s,i,a,o)=>{let u=document.documentElement,l=["light","dark"];function c(t){var r;(Array.isArray(e)?e:[e]).forEach(e=>{let r="class"===e,n=r&&i?s.map(e=>i[e]||e):s;r?(u.classList.remove(...n),u.classList.add(t)):u.setAttribute(e,t)}),r=t,o&&l.includes(r)&&(u.style.colorScheme=r)}if(n)c(n);else try{let e=localStorage.getItem(t)||r,n=a&&"system"===e?window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
1k":"light":e;c(n)}catch(e){}},i=["light","dark"],a="(prefers-color-scheme: dark)",o=n.createContext(void 0),u={setTheme:e=>{},themes:[]},l=()=>{var e;return null!=(e=n.useContext(o))?e:u},c=e=>n.useContext(o)?n.createElement(n.Fragment,null,e.children):n.createElement(h,{...e}),d=["light","dark"],h=e=>{let{forcedTheme:t,disableTransitionOnChange:r=!1,enableSystem:s=!0,enableColorScheme:u=!0,storageKey:l="theme",themes:c=d,defaultTheme:h=s?"system":"light",attribute:y="data-theme",value:w,children:b,nonce:g,scriptProps:E}=e,[C,S]=n.useState(()=>p(l,h)),[P,O]=n.useState(()=>p(l)),T=w?Object.values(w):c,x=n.useCallback(e=>{let t=e;if(!t)return;"system"===e&&s&&(t=v());let n=w?w[t]:t,a=r?m(g):null,o=document.documentElement,l=e=>{"class"===e?(o.classList.remove(...T),n&&o.classList.add(n)):e.startsWith("data-")&&(n?o.setAttribute(e,n):o.removeAttribute(e))};if(Array.isArray(y)?y.forEach(l):l(y),u){let e=i.includes(h)?h:null,r=i.includes(t)?t:e;o.style.colorScheme=r}null==a||a()},[g]),R=n.useCallback(e=>{let t="function"==typeof e?e(C):e;S(t);try{localStorage.setItem(l,t)}catch(e){}},[C]),A=n.useCallback(e=>{O(v(e)),"system"===C&&s&&!t&&x("system")},[C,t]);n.useEffect(()=>{let e=window.matchMedia(a);return e.addListener(A),A(e),()=>e.removeListener(A)},[A]),n.useEffect(()=>{let e=e=>{e.key===l&&(e.newValue?S(e.newValue):R(h))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[R]),n.useEffect(()=>{x(null!=t?t:C)},[t,C]);let k=n.useMemo(()=>({theme:C,setTheme:R,forcedTheme:t,resolvedTheme:"system"===C?P:C,themes:s?[...c,"system"]:c,systemTheme:s?P:void 0}),[C,R,t,P,s,c]);return n.createElement(o.Provider,{value:k},n.createElement(f,{forcedTheme:t,storageKey:l,attribute:y,enableSystem:s,enableColorScheme:u,defaultTheme:h,value:w,themes:c,nonce:g,scriptProps:E}),b)},f=n.memo(e=>{let{forcedTheme:t,storageKey:r,attribute:i,enableSystem:a,enableColorScheme:o,defaultTheme:u,value:l,themes:c,nonce:d,scriptProps:h}=e,f=JSON.stringify([i,r,u,t,c,l,a,o]).slice(1,-1);return n.createElement("script",{...h,suppressHydrationWarning:!0,nonce:"",dangerouslySetInnerHTML:{__html:"(".concat(s.toString(),")(").concat(f,")")}})}),p=(e,t)=>{let r;try{r=localStorage.getItem(e)||void 0}catch(e){}return r||t},m=e=>{let t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(t)},1)}},v=e=>(e||(e=window.matchMedia(a)),e.matches?"dark":"light")},52712:(e,t,r)=>{"use strict";r.d(t,{N:()=>s});var n=r(99481),s=globalThis?.document?n.useLayoutEffect:()=>{}},72922:(e,t,r)=>{"use strict";r.d(t,{E:()=>j});var n="undefined"==typeof window||"Deno"in globalThis;function s(){}function i(e,t){return"function"==typeof e?e(t):e}function a(e,t){let{type:r="all",exact:n,fetchStatus:s,predicate:i,queryKey:a,stale:o}=e;if(a){if(n){if(t.queryHash!==u(a,t.options))return!1}else if(!c(t.queryKey,a))return!1}if("all"!==r){let e=t.isActive();if("active"===r&&!e||"inactive"===r&&e)return!1}return("boolean"!=typeof o||t.isStale()===o)&&(!s||s===t.state.fetchStatus)&&(!i||!!i(t))}function o(e,t){let{exact:r,status:n,predicate:s,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(r){if(l(t.options.mutationKey)!==l(i))return!1}else if(!c(t.options.mutationKey,i))return!1}return(!n||t.state.status===n)&&(!s||!!s(t))}function u(e,t){return(t?.queryKeyHashFn||l)(e)}function l(e){return JSON.stringify(e,(e,t)=>h(t)?Object.keys(t).sort().reduce((e,r)=>(e[r]=t[r],e),{}):t)}function c(e,t){return e===t||typeof e==typeof t&&!!e&&!!t&&"object"==typeof e&&"object"==typeof t&&!Object.keys(t).some(r=>!c(e[r],t[r]))}function d(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function h(e){if(!f(e))return!1;let t=e.constructor;if(void 0===t)return!0;let r=t.prototype;return!!f(r)&&!!r.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype}function f(e){return"[object Object]"===Object.prototype.toString.call(e)}function p(e,t,r=0){let n=[...e,t];return r&&n.length>r?n.slice(1):n}function m(e,t,r=0){let n=[t,...e];return r&&n.length>r?n.slice(0,-1):n}var v=Symbol();function y(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==v?e.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`))}var w=function(){let e=[],t=0,r=e=>{e()},n=e=>{e()},s=e=>setTimeout(e,0),i=n=>{t?e.push(n):s(()=>{r(n)})},a=()=>{let t=e;e=[],t.length&&s(()=>{n(()=>
1{t.forEach(e=>{r(e)})})})};return{batch:e=>{let r;t++;try{r=e()}finally{--t||a()}return r},batchCalls:e=>(...t)=>{i(()=>{e(...t)})},schedule:i,setNotifyFunction:e=>{r=e},setBatchNotifyFunction:e=>{n=e},setScheduler:e=>{s=e}}}(),b=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},g=new class extends b{#e;#t;#r;constructor(){super(),this.#r=e=>{if(!n&&window.addEventListener){let t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#r=e,this.#t?.(),this.#t=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return"boolean"==typeof this.#e?this.#e:globalThis.document?.visibilityState!=="hidden"}},E=new class extends b{#n=!0;#t;#r;constructor(){super(),this.#r=e=>{if(!n&&window.addEventListener){let t=()=>e(!0),r=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",r)}}}}onSubscribe(){this.#t||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#r=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#n!==e&&(this.#n=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#n}};function C(e){return Math.min(1e3*2**e,3e4)}function S(e){return(e??"online")!=="online"||E.isOnline()}var P=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function O(e){return e instanceof P}function T(e){let t,r=!1,s=0,i=!1,a=function(){let e,t,r=new Promise((r,n)=>{e=r,t=n});function n(e){Object.assign(r,e),delete r.resolve,delete r.reject}return r.status="pending",r.catch(()=>{}),r.resolve=t=>{n({status:"fulfilled",value:t}),e(t)},r.reject=e=>{n({status:"rejected",reason:e}),t(e)},r}(),o=()=>g.isFocused()&&("always"===e.networkMode||E.isOnline())&&e.canRun(),u=()=>S(e.networkMode)&&e.canRun(),l=r=>{i||(i=!0,e.onSuccess?.(r),t?.(),a.resolve(r))},c=r=>{i||(i=!0,e.onError?.(r),t?.(),a.reject(r))},d=()=>new Promise(r=>{t=e=>{(i||o())&&r(e)},e.onPause?.()}).then(()=>{t=void 0,i||e.onContinue?.()}),h=()=>{let t;if(i)return;let a=0===s?e.initialPromise:void 0;try{t=a??e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(l).catch(t=>{if(i)return;let a=e.retry??3*!n,u=e.retryDelay??C,l="function"==typeof u?u(s,t):u,f=!0===a||"number"==typeof a&&s<a||"function"==typeof a&&a(s,t);if(r||!f)return void c(t);s++,e.onFail?.(s,t),new Promise(e=>{setTimeout(e,l)}).then(()=>o()?void 0:d()).then(()=>{r?c(t):h()})})};return{promise:a,cancel:t=>{i||(c(new P(t)),e.abort?.())},continue:()=>(t?.(),a),cancelRetry:()=>{r=!0},continueRetry:()=>{r=!1},canStart:u,start:()=>(u()?h():d().then(h),a)}}var x=class{#s;destroy(){this.clearGcTimeout()}scheduleGc(){var e;this.clearGcTimeout(),"number"==typeof(e=this.gcTime)&&e>=0&&e!==1/0&&(this.#s=setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(n?1/0:3e5))}clearGcTimeout(){this.#s&&(clearTimeout(this.#s),this.#s=void 0)}},R=class extends x{#i;#a;#o;#u;#l;#c;constructor(e){super(),this.#c=!1,this.#l=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#o=e.cache,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#i=function(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,r=void 0!==t,n=r?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?n??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}(this.options),this.state=e.state??this.#i,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#u?.promise}setOptions(e){this.options={...this.#l,...e},this.updateGcTime(this.options.gcTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#o.remove(this)}setData(e,t){var r,n;let s=(r=this.state.data,"function"==typeof(n=this.options).structuralSharing?n.structuralSharing(r,e):!1!==n.structuralSharing?function e(t,r){if(t===r)return t;let n=d(t)&&d(r);if(n||h(t)&&h(r)){let s=n?t:Object.keys(t),i=s.length,a=n?r:Object.keys(r),o=a.length,u=n?[]:{},l=0;for(let i=0;i<o;i++){let o=n?i:a[i];(!n&&s.includes(o)||n)&&void 0===t[o]&&void 0===r[o]?(u[o]=void 0,l++):(u[o]=e(t[o],r[o]),u[o]===t[o]&&void 0!==t[o]&&l++)}return i===o&&l===i?t:u}return r}(r,e):e);return this.#d({data:s,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),s}setState(e,t){this.#d({type:"setState",state:e,setStateOptions:t})}cancel(e){let t=this.#u?.promise;return this.#u?.cancel(e),t?t.then(s).catch(s):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#i)}isActive(){return this.observers.some(e=>{var t;return!1!==(t=e.options.enabled,"function"==typeof t?t(this):t)})}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===v||this.state.dataUpdateCount+this.state.errorUpdate
1Count===0}isStale(){return!!this.state.isInvalidated||(this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data)}isStaleByTime(e=0){return this.state.isInvalidated||void 0===this.state.data||!Math.max(this.state.dataUpdatedAt+(e||0)-Date.now(),0)}onFocus(){let e=this.observers.find(e=>e.shouldFetchOnWindowFocus());e?.refetch({cancelRefetch:!1}),this.#u?.continue()}onOnline(){let e=this.observers.find(e=>e.shouldFetchOnReconnect());e?.refetch({cancelRefetch:!1}),this.#u?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#o.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#u&&(this.#c?this.#u.cancel({revert:!0}):this.#u.cancelRetry()),this.scheduleGc()),this.#o.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#d({type:"invalidate"})}fetch(e,t){if("idle"!==this.state.fetchStatus){if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#u)return this.#u.continueRetry(),this.#u.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let r=new AbortController,n=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#c=!0,r.signal)})},s={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:()=>{let e=y(this.options,t),r={queryKey:this.queryKey,meta:this.meta};return(n(r),this.#c=!1,this.options.persister)?this.options.persister(e,r,this):e(r)}};n(s),this.options.behavior?.onFetch(s,this),this.#a=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==s.fetchOptions?.meta)&&this.#d({type:"fetch",meta:s.fetchOptions?.meta});let i=e=>{O(e)&&e.silent||this.#d({type:"error",error:e}),O(e)||(this.#o.config.onError?.(e,this),this.#o.config.onSettled?.(this.state.data,e,this)),this.scheduleGc()};return this.#u=T({initialPromise:t?.initialPromise,fn:s.fetchFn,abort:r.abort.bind(r),onSuccess:e=>{if(void 0===e)return void i(Error(`${this.queryHash} data is undefined`));try{this.setData(e)}catch(e){i(e);return}this.#o.config.onSuccess?.(e,this),this.#o.config.onSettled?.(e,this.state.error,this),this.scheduleGc()},onError:i,onFail:(e,t)=>{this.#d({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#d({type:"pause"})},onContinue:()=>{this.#d({type:"continue"})},retry:s.options.retry,retryDelay:s.options.retryDelay,networkMode:s.options.networkMode,canRun:()=>!0}),this.#u.start()}#d(e){this.state=(t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":var r;return{...t,...(r=t.data,{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:S(this.options.networkMode)?"fetching":"paused",...void 0===r&&{error:null,status:"pending"}}),fetchMeta:e.meta??null};case"success":return{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":let n=e.error;if(O(n)&&n.revert&&this.#a)return{...this.#a,fetchStatus:"idle"};return{...t,error:n,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),w.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#o.notify({query:this,type:"updated",action:e})})}},A=class extends b{constructor(e={}){super(),this.config=e,this.#h=new Map}#h;build(e,t,r){let n=t.queryKey,s=t.queryHash??u(n,t),i=this.get(s);return i||(i=new R({cache:this,queryKey:n,queryHash:s,options:e.defaultQueryOptions(t),state:r,defaultOptions:e.getQueryDefaults(n)}),this.add(i)),i}add(e){this.#h.has(e.queryHash)||(this.#h.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){let t=this.#h.get(e.queryHash);t&&(e.destroy(),t===e&&this.#h.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){w.batch(()=>
1{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#h.get(e)}getAll(){return[...this.#h.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>a(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>a(e,t)):t}notify(e){w.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){w.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){w.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},k=class extends x{#f;#p;#u;constructor(e){super(),this.mutationId=e.mutationId,this.#p=e.mutationCache,this.#f=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#f.includes(e)||(this.#f.push(e),this.clearGcTimeout(),this.#p.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#f=this.#f.filter(t=>t!==e),this.scheduleGc(),this.#p.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#f.length||("pending"===this.state.status?this.scheduleGc():this.#p.remove(this))}continue(){return this.#u?.continue()??this.execute(this.state.variables)}async execute(e){this.#u=T({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(Error("No mutationFn found")),onFail:(e,t)=>{this.#d({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#d({type:"pause"})},onContinue:()=>{this.#d({type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#p.canRun(this)});let t="pending"===this.state.status,r=!this.#u.canStart();try{if(!t){this.#d({type:"pending",variables:e,isPaused:r}),await this.#p.config.onMutate?.(e,this);let t=await this.options.onMutate?.(e);t!==this.state.context&&this.#d({type:"pending",context:t,variables:e,isPaused:r})}let n=await this.#u.start();return await this.#p.config.onSuccess?.(n,e,this.state.context,this),await this.options.onSuccess?.(n,e,this.state.context),await this.#p.config.onSettled?.(n,null,this.state.variables,this.state.context,this),await this.options.onSettled?.(n,null,e,this.state.context),this.#d({type:"success",data:n}),n}catch(t){try{throw await this.#p.config.onError?.(t,e,this.state.context,this),await this.options.onError?.(t,e,this.state.context),await this.#p.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this),await this.options.onSettled?.(void 0,t,e,this.state.context),t}finally{this.#d({type:"error",error:t})}}finally{this.#p.runNext(this)}}#d(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),w.batch(()=>{this.#f.forEach(t=>{t.onMutationUpdate(e)}),this.#p.notify({mutation:this,type:"updated",action:e})})}},D=class extends b{constructor(e={}){super(),this.config=e,this.#m=new Set,this.#v=new Map,this.#y=0}#m;#v;#y;build(e,t,r){let n=new k({mutationCache:this,mutationId:++this.#y,options:e.defaultMutationOptions(t),state:r});return this.add(n),n}add(e){this.#m.add(e);let t=F(e);if("string"==typeof t){let r=this.#v.get(t);r?r.push(e):this.#v.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#m.delete(e)){let t=F(e);if("string"==typeof t){let r=this.#v.get(t);if(r)if(r.length>1){let t=r.indexOf(e);-1!==t&&r.splice(t,1)}else r[0]===e&&this.#v.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){let t=F(e);if("string"!=typeof t)return!0;{let r=this.#v.get(t),n=r?.find(e=>"pending"===e.state.status);return!n||n===e}}runNext(e){let t=F(e);if("string"!=typeof t)return Promise.resolve();{let r=this.#v.get(t)?.find(t=>
1t!==e&&t.state.isPaused);return r?.continue()??Promise.resolve()}}clear(){w.batch(()=>{this.#m.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#m.clear(),this.#v.clear()})}getAll(){return Array.from(this.#m)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>o(t,e))}findAll(e={}){return this.getAll().filter(t=>o(e,t))}notify(e){w.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return w.batch(()=>Promise.all(e.map(e=>e.continue().catch(s))))}};function F(e){return e.options.scope?.id}function N(e){return{onFetch:(t,r)=>{let n=t.options,s=t.fetchOptions?.meta?.fetchMore?.direction,i=t.state.data?.pages||[],a=t.state.data?.pageParams||[],o={pages:[],pageParams:[]},u=0,l=async()=>{let r=!1,l=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(t.signal.aborted?r=!0:t.signal.addEventListener("abort",()=>{r=!0}),t.signal)})},c=y(t.options,t.fetchOptions),d=async(e,n,s)=>{if(r)return Promise.reject();if(null==n&&e.pages.length)return Promise.resolve(e);let i={queryKey:t.queryKey,pageParam:n,direction:s?"backward":"forward",meta:t.options.meta};l(i);let a=await c(i),{maxPages:o}=t.options,u=s?m:p;return{pages:u(e.pages,a,o),pageParams:u(e.pageParams,n,o)}};if(s&&i.length){let e="backward"===s,t={pages:i,pageParams:a},r=(e?function(e,{pages:t,pageParams:r}){return t.length>0?e.getPreviousPageParam?.(t[0],t,r[0],r):void 0}:M)(n,t);o=await d(t,r,e)}else{let t=e??i.length;do{let e=0===u?a[0]??n.initialPageParam:M(n,o);if(u>0&&null==e)break;o=await d(o,e),u++}while(u<t)}return o};t.options.persister?t.fetchFn=()=>t.options.persister?.(l,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r):t.fetchFn=l}}}function M(e,{pages:t,pageParams:r}){let n=t.length-1;return t.length>0?e.getNextPageParam(t[n],t,r[n],r):void 0}var j=class{#w;#p;#l;#b;#g;#E;#C;#S;constructor(e={}){this.#w=e.queryCache||new A,this.#p=e.mutationCache||new D,this.#l=e.defaultOptions||{},this.#b=new Map,this.#g=new Map,this.#E=0}mount(){this.#E++,1===this.#E&&(this.#C=g.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#w.onFocus())}),this.#S=E.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#w.onOnline())}))}unmount(){this.#E--,0===this.#E&&(this.#C?.(),this.#C=void 0,this.#S?.(),this.#S=void 0)}isFetching(e){return this.#w.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#p.findAll({...e,status:"pending"}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#w.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),r=this.#w.build(this,t),n=r.state.data;return void 0===n?this.fetchQuery(e):(e.revalidateIfStale&&r.isStaleByTime(i(t.staleTime,r))&&this.prefetchQuery(t),Promise.resolve(n))}getQueriesData(e){return this.#w.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,r){let n=this.defaultQueryOptions({queryKey:e}),s=this.#w.get(n.queryHash),i=s?.state.data,a="function"==typeof t?t(i):t;if(void 0!==a)return this.#w.build(this,n).setData(a,{...r,manual:!0})}setQueriesData(e,t,r){return w.batch(()=>this.#w.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,r)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#w.get(t.queryHash)?.state}removeQueries(e){let t=this.#w;w.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let r=this.#w,n={type:"active",...e};return w.batch(()=>(r.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries(n,t)))}cancelQueries(e,t={}){let r={revert:!0,...t};return Promise.all(w.batch(()=>this.#w.findAll(e).map(e=>e.cancel(r)))).then(s).catch(s)}invalidateQueries(e,t={}){return w.batch(()=>{if(this.#w.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType==="none")return Promise.resolve();let r={...e,type:e?.refetchType??e?.type??"active"};return this.refetchQueries(r,t)})}refetchQueries(e,t={}){let r={...t,cancelRefetch:t.cancelRefetch??!0};return Promise.all(w.batch(()=>this.#w.findAll(e).filter(e=>!e.isDisabled()).map(e=>{let t=e.fetch(void 0,r);return r.throwOnError||(t=t.catch(s)),"paused"===e.state.fetchStatus?Promise.resolve():t}
1))).then(s)}fetchQuery(e){let t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);let r=this.#w.build(this,t);return r.isStaleByTime(i(t.staleTime,r))?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(s).catch(s)}fetchInfiniteQuery(e){return e.behavior=N(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(s).catch(s)}ensureInfiniteQueryData(e){return e.behavior=N(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return E.isOnline()?this.#p.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#w}getMutationCache(){return this.#p}getDefaultOptions(){return this.#l}setDefaultOptions(e){this.#l=e}setQueryDefaults(e,t){this.#b.set(l(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#b.values()],r={};return t.forEach(t=>{c(e,t.queryKey)&&Object.assign(r,t.defaultOptions)}),r}setMutationDefaults(e,t){this.#g.set(l(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#g.values()],r={};return t.forEach(t=>{c(e,t.mutationKey)&&(r={...r,...t.defaultOptions})}),r}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#l.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=u(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===v&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#l.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#w.clear(),this.#p.clear()}}},74466:(e,t,r)=>{"use strict";r.d(t,{F:()=>a});var n=r(52596);let s=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,i=n.$,a=(e,t)=>r=>{var n;if((null==t?void 0:t.variants)==null)return i(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:a,defaultVariants:o}=t,u=Object.keys(a).map(e=>{let t=null==r?void 0:r[e],n=null==o?void 0:o[e];if(null===t)return null;let i=s(t)||s(n);return a[e][i]}),l=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return i(e,u,null==t||null==(n=t.compoundVariants)?void 0:n.reduce((e,t)=>{let{class:r,className:n,...s}=t;return Object.entries(s).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...o,...l}[t]):({...o,...l})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}},85185:(e,t,r)=>{"use strict";function n(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}r.d(t,{m:()=>n})},92757:(e,t,r)=>{"use strict";r.d(t,{Kq:()=>E});var n=r(99481);let s=(e,t)=>e.unstable_is?e.unstable_is(t):t===e,i=e=>"init"in e,a=e=>!!e.write,o=new WeakMap,u=e=>{var t;return d(e)&&!(null==(t=o.get(e))?void 0:t[1])},l=(e,t)=>{let r=o.get(e);if(r)r[1]=!0,r[0].forEach(e=>e(t));else if(1)throw Error("[Bug] cancelable promise not found")},c=e=>{if(o.has(e))return;let t=[new Set,!1];o.set(e,t);let r=()=>{t[1]=!0};e.then(r,r),e.onCancel=e=>{t[0].add(e)}},d=e=>"function"==typeof(null==e?void 0:e.then),h=e=>"v"in e||"e"in e,f=e=>{if("e"in e)throw e.e;if(!("v"in e))throw Error("[Bug] atom state is not initialized");return e.v},p=(e,t,r)=>{r.p.has(e)||(r.p.add(e),t.then(()=>{r.p.delete(e)},()=>{r.p.delete(e)}))},m=(e,t,r,n)=>{var s;if(r===e)throw Error("[Bug] atom cannot depend on itself");t.d.set(r,n.n),u(t.v)&&p(e,t.v,n),null==(s=n.m)||s.t.add(e)},v=Symbol.for("JOTAI.EXPERIMENTAL.FLUSHSTOREHOOK"),y=(...e)=>{let[t,r,n,o,w,b]=e,g=e=>{if(!e)throw Error("Atom is undefined or null");let n=t(e);return n||(r(e,n={d:new Map,p:new Set,n:0}),null==w||w(e,q)),n},E=new WeakMap,C=new Map,S=new Set,P=new Set,O=()=>{var e;let t=[],r=e=>{try{e()}catch(e){t.push(e)}};do{null==(e=q[v])||e.call(q);let t=new Set,n=t.add.bind(t);C.forEach(e=>{var t;return null==(t=e.m)?void 0:t.l.forEach(n)}),C.clear(),S.forEach(n),S.clear(),P.forEach(n),P.clear(),t.forEach(r),C.size&&k()}while(C.size||S.size||P.size);if(t.length)throw t[0]},T=(e,t,r)=>{let n="v"in t,s=t.v,i=u(t.v)?t.v:null;if(d(r)){for(let n of(c(r),t.d.keys()))p(e,r,g(n));t.v=r}else t.v=r;delete t.e,n&&Object.is(s,t.v)||(++t.n,i&&l(i,r))},x=e=>{var t;let r,o,u=g(e);
1if(h(u)&&(u.m&&E.get(e)!==u.n||Array.from(u.d).every(([e,t])=>x(e).n===t)))return u;u.d.clear();let l=!0,c=()=>{u.m&&(N(e,u),k(),O())};try{let p=n(e,t=>{if(s(e,t)){let e=g(t);if(!h(e))if(i(t))T(t,e,t.init);else throw Error("no atom init");return f(e)}let r=x(t);try{return f(r)}finally{m(e,u,t,r),l||c()}},{get signal(){return r||(r=new AbortController),r.signal},get setSelf(){return a(e)||console.warn("setSelf function cannot be used with read-only atom"),!o&&a(e)&&(o=(...t)=>{if(l&&console.warn("setSelf function cannot be called in sync"),!l)return F(e,...t)}),o}});return T(e,u,p),d(p)&&(null==(t=p.onCancel)||t.call(p,()=>null==r?void 0:r.abort()),p.then(c,c)),u}catch(e){return delete u.v,u.e=e,++u.n,u}finally{l=!1}},R=e=>{var t;let r=new Map;for(let n of(null==(t=e.m)?void 0:t.t)||[]){let e=g(n);e.m&&r.set(n,e)}for(let t of e.p)r.set(t,g(t));return r},A=e=>{let t=[e];for(;t.length;)for(let[e,r]of R(t.pop()))E.has(e)||(E.set(e,r.n),t.push(r))},k=()=>{var e;let t=[],r=new WeakSet,n=new WeakSet,s=Array.from(C);for(;s.length;){let[e,i]=s[s.length-1];if(n.has(e)){s.pop();continue}if(r.has(e)){E.get(e)===i.n?t.push([e,i,i.n]):(E.delete(e),C.set(e,i)),n.add(e),s.pop();continue}for(let[t,n]of(r.add(e),R(i)))r.has(t)||s.push([t,n])}for(let r=t.length-1;r>=0;--r){let[n,s,i]=t[r],a=!1;for(let e of s.d.keys())if(e!==n&&C.has(e)){a=!0;break}a&&(x(n),N(n,s),i!==s.n&&(C.set(n,s),null==(e=s.u)||e.call(s))),E.delete(n)}},D=(e,...t)=>{let r=!0;try{return o(e,e=>f(x(e)),(t,...n)=>{var a;let o=g(t);try{if(!s(e,t))return D(t,...n);{if(!i(t))throw Error("atom not writable");let e=o.n,r=n[0];T(t,o,r),N(t,o),e!==o.n&&(C.set(t,o),null==(a=o.u)||a.call(o),A(o));return}}finally{r||(k(),O())}},...t)}finally{r=!1}},F=(e,...t)=>{try{return D(e,...t)}finally{k(),O()}},N=(e,t)=>{var r;if(t.m&&!u(t.v)){for(let[n,s]of t.d)if(!t.m.d.has(n)){let i=g(n);M(n,i).t.add(e),t.m.d.add(n),s!==i.n&&(C.set(n,i),null==(r=i.u)||r.call(i),A(i))}for(let r of t.m.d||[])if(!t.d.has(r)){t.m.d.delete(r);let n=j(r,g(r));null==n||n.t.delete(e)}}},M=(e,t)=>{var r;if(!t.m){for(let r of(x(e),t.d.keys()))M(r,g(r)).t.add(e);if(t.m={l:new Set,d:new Set(t.d.keys()),t:new Set},null==(r=t.h)||r.call(t),a(e)){let r=t.m;P.add(()=>{let t=!0;try{let n=b(e,(...r)=>{try{return D(e,...r)}finally{t||(k(),O())}});n&&(r.u=()=>{t=!0;try{n()}finally{t=!1}})}finally{t=!1}})}}return t.m},j=(e,t)=>{var r;if(t.m&&!t.m.l.size&&!Array.from(t.m.t).some(t=>{var r;return null==(r=g(t).m)?void 0:r.d.has(e)})){let n=t.m.u;for(let s of(n&&S.add(n),delete t.m,null==(r=t.h)||r.call(t),t.d.keys())){let t=j(s,g(s));null==t||t.t.delete(e)}return}return t.m},q={get:e=>f(x(e)),set:F,sub:(e,t)=>{let r=g(e),n=M(e,r).l;return n.add(t),O(),()=>{n.delete(t),j(e,r),O()}},unstable_derive:t=>y(...t(...e))};return q},w=e=>{let t,r=new Set,n=0,s=e.unstable_derive((...e)=>{let[s,i,,a]=e;return t=s,e[1]=function(e,t){i(e,t);let n=t.h;t.h=()=>{null==n||n(),t.m?r.add(e):r.delete(e)}},e[3]=function(e,t,r,...s){return n?r(e,...s):a(e,t,r,...s)},e}),a=s.set;return Object.assign(s,{dev4_get_internal_weak_map:()=>({get:e=>{let r=t(e);if(r&&0!==r.n)return r}}),dev4_get_mounted_atoms:()=>r,dev4_restore_atoms:e=>{a({read:()=>null,write:(t,r)=>{++n;try{for(let[t,n]of e)i(t)&&r(t,n)}finally{--n}}})}})},b=()=>{let e=new WeakMap;return w(y(t=>e.get(t),(t,r)=>e.set(t,r).get(t),(e,...t)=>e.read(...t),(e,...t)=>e.write(...t),(e,...t)=>{var r;return null==(r=e.unstable_onInit)?void 0:r.call(e,...t)},(e,...t)=>{var r;return null==(r=e.onMount)?void 0:r.call(e,...t)}))},g=(0,n.createContext)(void 0),E=e=>{let{children:t,store:r}=e,s=(0,n.useRef)(void 0);return r||s.current||(s.current=b()),(0,n.createElement)(g.Provider,{value:r||s.current},t)},C=e=>"function"==typeof(null==e?void 0:e.then),S=e=>{e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t})},P=(n.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;if("rejected"===e.status)throw e.reason;throw S(e),e}),new WeakMap)},99708:(e,t,r)=>{"use strict";r.d(t,{DX:()=>a});var n=r(99481),s=r(6101),i=r(92237),a=n.forwardRef((e,t)=>
1{let{children:r,...s}=e,a=n.Children.toArray(r),u=a.find(l);if(u){let e=u.props.children,r=a.map(t=>t!==u?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,i.jsx)(o,{...s,ref:t,children:n.isValidElement(e)?n.cloneElement(e,void 0,r):null})}return(0,i.jsx)(o,{...s,ref:t,children:r})});a.displayName="Slot";var o=n.forwardRef((e,t)=>{let{children:r,...i}=e;if(n.isValidElement(r)){let e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(r=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}(r);return n.cloneElement(r,{...function(e,t){let r={...t};for(let n in t){let s=e[n],i=t[n];/^on[A-Z]/.test(n)?s&&i?r[n]=(...e)=>{i(...e),s(...e)}:s&&(r[n]=s):"style"===n?r[n]={...s,...i}:"className"===n&&(r[n]=[s,i].filter(Boolean).join(" "))}return{...e,...r}}(i,r.props),ref:t?(0,s.t)(t,e):e})}return n.Children.count(r)>1?n.Children.only(null):null});o.displayName="SlotClone";var u=({children:e})=>(0,i.jsx)(i.Fragment,{children:e});function l(e){return n.isValidElement(e)&&e.type===u}}}]);

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.