1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/IndexEN-Be4vt4JU.js","assets/vendor-ui-DGTaiksY.js","assets/vendor-react-_LZH6vhe.js","assets/SEOHead-450E8qtk.js","assets/Header-D5xAPFj4.js","assets/translations-CnrxJUal.js","assets/HeroSection-FJXXUIVH.js","assets/play-DAaUEuvb.js","assets/IndexKR-Dr-JY7qs.js","assets/EducationKR-D6QUuRRT.js","assets/external-link-Da_vTRMJ.js","assets/stra-studio-screenshot-7C5R-5D4.js","assets/graduation-cap-CV7YmsMN.js","assets/audio-editor-screenshot-Ct7pB5bN.js","assets/translation-dict-CKCH6pvq.js","assets/file-download-screenshot-L-JbBgH3.js","assets/check-DjGN06iU.js","assets/accordion-3xr2GJtP.js","assets/client-CXGBxx9E.js","assets/types-DekcOyGs.js","assets/BusinessEN-zyjKVryh.js","assets/BrochureRequestForm-BqTD1bDO.js","assets/file-text-CJWO_8w8.js","assets/label-Dlk-Fqm4.js","assets/Footer-BhlVX9zk.js","assets/stra-logo-COEOLRHz.js","assets/BusinessKR-D9oybMmX.js","assets/BlogEN-Dvr0Gmrb.js","assets/PressKR-RAwfyadh.js","assets/NotFound-Cbi_lC3F.js"])))=>i.map(i=>d[i]); 2var ti=Object.defineProperty;var On=e=>{throw TypeError(e)};var ri=(e,t,r)=>t in e?ti(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ke=(e,t,r)=>ri(e,typeof t!="symbol"?t+"":t,r),Rr=(e,t,r)=>t.has(e)||On("Cannot "+r);var v=(e,t,r)=>(Rr(e,t,"read from private field"),r?r.call(e):t.get(e)),z=(e,t,r)=>t.has(e)?On("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),D=(e,t,r,n)=>(Rr(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),te=(e,t,r)=>(Rr(e,t,"access private method"),r);var Jt=(e,t,r,n)=>({set _(o){D(e,t,o,r)},get _(){return v(e,t,n)}});import{j as w,P as Te,c as ni,a as rn,u as Dt,B as oi,b as si,d as vo,e as Vt,f as ne,R as ii,g as ai,h as ur,i as li,D as ci,k as ui}from"./vendor-ui-DGTaiksY.js";import{a as nn,r as g,R as E,v as di,g as on,u as fi,c as hi,B as pi,d as mi,e as Me}from"./vendor-react-_LZH6vhe.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&n(i)}).observe(document,{childList:!0,subtree:!0});function r(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function n(o){if(o.ep)return;o.ep=!0;const s=r(o);fetch(o.href,s)}})();var bo,kn=nn;bo=kn.createRoot,kn.hydrateRoot;const gi="modulepreload",yi=function(e){return"/"+e},Mn={},Xe=function(t,r,n){let o=Promise.resolve();if(r&&r.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),a=i?.nonce||i?.getAttribute("nonce");o=Promise.allSettled(r.map(c=>{if(c=yi(c),c in Mn)return;Mn[c]=!0;const l=c.endsWith(".css"),d=l?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${d}`))return;const f=document.createElement("link");if(f.rel=l?"stylesheet":gi,l||(f.as="script"),f.crossOrigin="",f.href=c,a&&f.setAttribute("nonce",a),document.head.appendChild(f),l)return new Promise((m,u)=>{f.addEventListener("load",m),f.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${c}`)))})}))}function s(i){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i}return o.then(i=>{for(const a of i||[])a.status==="rejected"&&s(a.reason);return t().catch(s)})},vi=1,bi=1e6;let Or=0;function wi(){return Or=(Or+1)%Number.MAX_SAFE_INTEGER,Or.toString()}const kr=new Map,Dn=e=>{if(kr.has(e))return;const t=setTimeout(()=>{kr.delete(e),Bt({type:"REMOVE_TOAST",toastId:e})},bi);kr.set(e,t)},xi=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,vi)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(r=>r.id===t.toast.id?{...r,...t.toast}:r)};case"DISMISS_TOAST":{const{toastId:r}=t;
2return r?Dn(r):e.toasts.forEach(n=>{Dn(n.id)}),{...e,toasts:e.toasts.map(n=>n.id===r||r===void 0?{...n,open:!1}:n)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(r=>r.id!==t.toastId)}}},sr=[];let ir={toasts:[]};function Bt(e){ir=xi(ir,e),sr.forEach(t=>{t(ir)})}function Ti({...e}){const t=wi(),r=o=>Bt({type:"UPDATE_TOAST",toast:{...o,id:t}}),n=()=>Bt({type:"DISMISS_TOAST",toastId:t});return Bt({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||n()}}}),{id:t,dismiss:n,update:r}}function Ei(){const[e,t]=g.useState(ir);return g.useEffect(()=>(sr.push(t),()=>{const r=sr.indexOf(t);r>-1&&sr.splice(r,1)}),[e]),{...e,toast:Ti,dismiss:r=>Bt({type:"DISMISS_TOAST",toastId:r})}}var Ci=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),Si="VisuallyHidden",gr=g.forwardRef((e,t)=>w.jsx(Te.span,{...e,ref:t,style:{...Ci,...e.style}}));gr.displayName=Si;var Ai=gr,sn="ToastProvider",[an,Pi,Ri]=ni("Toast"),[wo,yd]=rn("Toast",[Ri]),[Oi,yr]=wo(sn),xo=e=>{const{__scopeToast:t,label:r="Notification",duration:n=5e3,swipeDirection:o="right",swipeThreshold:s=50,children:i}=e,[a,c]=g.useState(null),[l,d]=g.useState(0),f=g.useRef(!1),m=g.useRef(!1);return r.trim()||console.error(`Invalid prop \`label\` supplied to \`${sn}\`. Expected non-empty \`string\`.`),w.jsx(an.Provider,{scope:t,children:w.jsx(Oi,{scope:t,label:r,duration:n,swipeDirection:o,swipeThreshold:s,toastCount:l,viewport:a,onViewportChange:c,onToastAdd:g.useCallback(()=>d(u=>u+1),[]),onToastRemove:g.useCallback(()=>d(u=>u-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:m,children:i})})};xo.displayName=sn;var To="ToastViewport",ki=["F8"],Hr="toast.viewportPause",Br="toast.viewportResume",Eo=g.forwardRef((e,t)=>{const{__scopeToast:r,hotkey:n=ki,label:o="Notifications ({hotkey})",...s}=e,i=yr(To,r),a=Pi(r),c=g.useRef(null),l=g.useRef(null),d=g.useRef(null),f=g.useRef(null),m=Dt(t,f,i.onViewportChange),u=n.join("+").replace(/Key/g,"").replace(/Digit/g,""),y=i.toastCount>0;g.useEffect(()=>{const p=b=>{n.length!==0&&n.every(T=>b[T]||b.code===T)&&f.current?.focus()};return document.addEventListener("keydown",p),()=>document.removeEventListener("keydown",p)},[n]),g.useEffect(()=>{const p=c.current,b=f.current;if(y&&p&&b){const x=()=>{if(!i.isClosePausedRef.current){const R=new CustomEvent(Hr);b.dispatchEvent(R),i.isClosePausedRef.current=!0}},T=()=>{if(i.isClosePausedRef.current){const R=new CustomEvent(Br);b.dispatchEvent(R),i.isClosePausedRef.current=!1}},C=R=>{!p.contains(R.relatedTarget)&&T()},S=()=>{p.contains(document.activeElement)||T()};return p.addEventListener("focusin",x),p.addEventListener("focusout",C),p.addEventListener("pointermove",x),p.addEventListener("pointerleave",S),window.addEventListener("blur",x),window.addEventListener("focus",T),()=>{p.removeEventListener("focusin",x),p.removeEventListener("focusout",C),p.removeEventListener("pointermove",x),p.removeEventListener("pointerleave",S),window.removeEventListener("blur",x),window.removeEventListener("focus",T)}}},[y,i.isClosePausedRef]);const h=g.useCallback(({tabbingDirection:p})=>{const x=a().map(T=>{const C=T.ref.current,S=[C,...Vi(C)];return p==="forwards"?S:S.reverse()});return(p==="forwards"?x.reverse():x).flat()},[a]);return g.useEffect(()=>{const p=f.current;if(p){const b=x=>{const T=x.altKey||x.ctrlKey||x.metaKey;if(x.key==="Tab"&&!T){const S=document.activeElement,R=x.shiftKey;if(x.target===p&&R){l.current?.focus();return}const U=h({tabbingDirection:R?"backwards":"forwards"}),H=U.findIndex(F=>F===S);Mr(U.slice(H+1))?x.preventDefault():R?l.current?.focus():d.current?.focus()}};return p.addEventListener("keydown",b),()=>p.removeEventListener("keydown",b)}},[a,h]),w.jsxs(oi,{ref:c,role:"region","aria-label":o.replace("{hotkey}",u),tabIndex:-1,style:{pointerEvents:y?void 0:"none"},children:[y&&w.jsx(Vr,{ref:l,onFocusFromOutsideViewport:()=>{const p=h({tabbingDirection:"forwards"});Mr(p)}}),w.jsx(an.Slot,{scope:r,children:w.jsx(Te.ol,{tabIndex:-1,...s,ref:m})}),y&&w.jsx(Vr,{ref:d,onFocusFromOutsideViewport:()=>{const p=h({tabbingDirection:"backwards"});Mr(p)}})]})});Eo.displayName=To;var Co="ToastFocusProxy",Vr=g.forwardRef((e,t)=>
2{const{__scopeToast:r,onFocusFromOutsideViewport:n,...o}=e,s=yr(Co,r);return w.jsx(gr,{"aria-hidden":!0,tabIndex:0,...o,ref:t,style:{position:"fixed"},onFocus:i=>{const a=i.relatedTarget;!s.viewport?.contains(a)&&n()}})});Vr.displayName=Co;var Yt="Toast",Mi="toast.swipeStart",Di="toast.swipeMove",Ii="toast.swipeCancel",Ni="toast.swipeEnd",So=g.forwardRef((e,t)=>{const{forceMount:r,open:n,defaultOpen:o,onOpenChange:s,...i}=e,[a,c]=si({prop:n,defaultProp:o??!0,onChange:s,caller:Yt});return w.jsx(vo,{present:r||a,children:w.jsx(_i,{open:a,...i,ref:t,onClose:()=>c(!1),onPause:Vt(e.onPause),onResume:Vt(e.onResume),onSwipeStart:ne(e.onSwipeStart,l=>{l.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:ne(e.onSwipeMove,l=>{const{x:d,y:f}=l.detail.delta;l.currentTarget.setAttribute("data-swipe","move"),l.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${d}px`),l.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${f}px`)}),onSwipeCancel:ne(e.onSwipeCancel,l=>{l.currentTarget.setAttribute("data-swipe","cancel"),l.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),l.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),l.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),l.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:ne(e.onSwipeEnd,l=>{const{x:d,y:f}=l.detail.delta;l.currentTarget.setAttribute("data-swipe","end"),l.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),l.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),l.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${d}px`),l.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${f}px`),c(!1)})})})});So.displayName=Yt;var[ji,Li]=wo(Yt,{onClose(){}}),_i=g.forwardRef((e,t)=>{const{__scopeToast:r,type:n="foreground",duration:o,open:s,onClose:i,onEscapeKeyDown:a,onPause:c,onResume:l,onSwipeStart:d,onSwipeMove:f,onSwipeCancel:m,onSwipeEnd:u,...y}=e,h=yr(Yt,r),[p,b]=g.useState(null),x=Dt(t,A=>b(A)),T=g.useRef(null),C=g.useRef(null),S=o||h.duration,R=g.useRef(0),j=g.useRef(S),V=g.useRef(0),{onToastAdd:U,onToastRemove:H}=h,F=Vt(()=>{p?.contains(document.activeElement)&&h.viewport?.focus(),i()}),O=g.useCallback(A=>{!A||A===1/0||(window.clearTimeout(V.current),R.current=new Date().getTime(),V.current=window.setTimeout(F,A))},[F]);g.useEffect(()=>{const A=h.viewport;if(A){const B=()=>{O(j.current),l?.()},I=()=>{const L=new Date().getTime()-R.current;j.current=j.current-L,window.clearTimeout(V.current),c?.()};return A.addEventListener(Hr,I),A.addEventListener(Br,B),()=>{A.removeEventListener(Hr,I),A.removeEventListener(Br,B)}}},[h.viewport,S,c,l,O]),g.useEffect(()=>{s&&!h.isClosePausedRef.current&&O(S)},[s,S,h.isClosePausedRef,O]),g.useEffect(()=>(U(),()=>H()),[U,H]);const q=g.useMemo(()=>p?Do(p):null,[p]);return h.viewport?w.jsxs(w.Fragment,{children:[q&&w.jsx(Fi,{__scopeToast:r,role:"status","aria-live":n==="foreground"?"assertive":"polite","aria-atomic":!0,children:q}),w.jsx(ji,{scope:r,onClose:F,children:nn.createPortal(w.jsx(an.ItemSlot,{scope:r,children:w.jsx(ii,{asChild:!0,onEscapeKeyDown:ne(a,()=>{h.isFocusedToastEscapeKeyDownRef.current||F(),h.isFocusedToastEscapeKeyDownRef.current=!1}),children:w.jsx(Te.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":s?"open":"closed","data-swipe-direction":h.swipeDirection,...y,ref:x,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:ne(e.onKeyDown,A=>{A.key==="Escape"&&(a?.(A.nativeEvent),A.nativeEvent.defaultPrevented||(h.isFocusedToastEscapeKeyDownRef.current=!0,F()))}),onPointerDown:ne(e.onPointerDown,A=>{A.button===0&&(T.current={x:A.clientX,y:A.clientY})}),onPointerMove:ne(e.onPointerMove,A=>{if(!T.current)return;const B=A.clientX-T.current.x,I=A.clientY-T.current.y,L=!!C.current,k=["left","right"].includes(h.swipeDirection),P=["left","up"].includes(h.swipeDirection)?Math.min:Math.max,K=k?P(0,B):0,J=k?0:P(0,I),_=A.pointerType==="touch"?10:2,$={x:K,y:J},W={originalEvent:A,delta:$};L?(C.current=$,er(Di,f,W,{discrete:!1})):In($,h.swipeDirection,_)?(C.current=$,er(Mi,d,W,{discrete:!1}),A.target.setPointerCapture(A.pointerId)):(Math.abs(B)>_||Math.abs(I)>_)&&(T.current=null)}),onPointerUp:ne(e.onPointerUp,A=>{const B=C.current,I=A.target;if(I.hasPointerCapture(A.pointerId)&&I.releasePointerCapture(A.pointerId),C.current=null,T.current=null,B){const L=A.currentTarget,k={originalEvent:A,delta:B};In(B,h.swipeDirection,h.swipeThreshold)?er(Ni,u,k,{discrete:!0}):er(Ii,m,k,{discrete:!0}),L.addEventListener("click",P=>P.preventDefault(),{once:!0})}})})})}),h.viewport)})]}):null}
2),Fi=e=>{const{__scopeToast:t,children:r,...n}=e,o=yr(Yt,t),[s,i]=g.useState(!1),[a,c]=g.useState(!1);return Hi(()=>i(!0)),g.useEffect(()=>{const l=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(l)},[]),a?null:w.jsx(ai,{asChild:!0,children:w.jsx(gr,{...n,children:s&&w.jsxs(w.Fragment,{children:[o.label," ",r]})})})},$i="ToastTitle",Ao=g.forwardRef((e,t)=>{const{__scopeToast:r,...n}=e;return w.jsx(Te.div,{...n,ref:t})});Ao.displayName=$i;var zi="ToastDescription",Po=g.forwardRef((e,t)=>{const{__scopeToast:r,...n}=e;return w.jsx(Te.div,{...n,ref:t})});Po.displayName=zi;var Ro="ToastAction",Oo=g.forwardRef((e,t)=>{const{altText:r,...n}=e;return r.trim()?w.jsx(Mo,{altText:r,asChild:!0,children:w.jsx(ln,{...n,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${Ro}\`. Expected non-empty \`string\`.`),null)});Oo.displayName=Ro;var ko="ToastClose",ln=g.forwardRef((e,t)=>{const{__scopeToast:r,...n}=e,o=Li(ko,r);return w.jsx(Mo,{asChild:!0,children:w.jsx(Te.button,{type:"button",...n,ref:t,onClick:ne(e.onClick,o.onClose)})})});ln.displayName=ko;var Mo=g.forwardRef((e,t)=>{const{__scopeToast:r,altText:n,...o}=e;return w.jsx(Te.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":n||void 0,...o,ref:t})});function Do(e){const t=[];return Array.from(e.childNodes).forEach(n=>{if(n.nodeType===n.TEXT_NODE&&n.textContent&&t.push(n.textContent),Bi(n)){const o=n.ariaHidden||n.hidden||n.style.display==="none",s=n.dataset.radixToastAnnounceExclude==="";if(!o)if(s){const i=n.dataset.radixToastAnnounceAlt;i&&t.push(i)}else t.push(...Do(n))}}),t}function er(e,t,r,{discrete:n}){const o=r.originalEvent.currentTarget,s=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?li(o,s):o.dispatchEvent(s)}var In=(e,t,r=0)=>{const n=Math.abs(e.x),o=Math.abs(e.y),s=n>o;return t==="left"||t==="right"?s&&n>r:!s&&o>r};function Hi(e=()=>{}){const t=Vt(e);ur(()=>{let r=0,n=0;return r=window.requestAnimationFrame(()=>n=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(r),window.cancelAnimationFrame(n)}},[t])}function Bi(e){return e.nodeType===e.ELEMENT_NODE}function Vi(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function Mr(e){const t=document.activeElement;return e.some(r=>r===t?!0:(r.focus(),document.activeElement!==t))}var qi=xo,Io=Eo,No=So,jo=Ao,Lo=Po,_o=Oo,Fo=ln;function $o(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=$o(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function zo(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=$o(e))&&(n&&(n+=" "),n+=t);return n}const Nn=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,jn=zo,Ui=(e,t)=>r=>{var n;if(t?.variants==null)return jn(e,r?.class,r?.className);const{variants:o,defaultVariants:s}=t,i=Object.keys(o).map(l=>{const d=r?.[l],f=s?.[l];if(d===null)return null;const m=Nn(d)||Nn(f);return o[l][m]}),a=r&&Object.entries(r).reduce((l,d)=>{let[f,m]=d;return m===void 0||(l[f]=m),l},{}),c=t==null||(n=t.compoundVariants)===null||n===void 0?void 0:n.reduce((l,d)=>{let{class:f,className:m,...u}=d;return Object.entries(u).every(y=>{let[h,p]=y;return Array.isArray(p)?p.includes({...s,...a}[h]):{...s,...a}[h]===p})?[...l,f,m]:l},[]);return jn(e,i,c,r?.class,r?.className)};/** 3 * @license lucide-react v0.462.0 - ISC 4 * 5 * This source code is licensed under the ISC license. 6 * See the LICENSE file in the root directory of this source tree. 7 */const Ki=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Ho=(...e)=>e.filter((t,r,n)=>!!t&&t.trim()!==""&&n.indexOf(t)===r).join(" ").trim();/** 8 * @license lucide-react v0.462.0 - ISC 9 * 10 * This source code is licensed under the ISC license. 11 * See the LICENSE file in the root directory of this source tree. 12 */var Wi={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"};/** 13 * @license lucide-react v0.462.0 - ISC 14 * 15 * This source code is licensed under the ISC license. 16 * See the LICENSE file in the root directory of this source tree. 17 */const Qi=g.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:n,className:o="",children:s,iconNode:i,...a},c)=>g.createElement("svg",{ref:c,...Wi,width:t,height:t,stroke:e,strokeWidth:n?Number(r)*24/Number(t):r,className:Ho("lucide",o),...a},[...i.map(([l,d])=>g.createElement(l,d)),...Array.isArray(s)?s:[s]]));/** 18 * @license lucide-react v0.462.0 - ISC 19 * 20 * This source code is licensed under the ISC license. 21 * See the LICENSE file in the root directory of this source tree. 22 */const Gi=(e,t)=>{const r=g.forwardRef(({className:n,...o},s)=>g.createElement(Qi,{ref:s,iconNode:t,className:Ho(`lucide-${Ki(e)}`,n),...o}));return r.displayName=`${e}`,r};/** 23 * @license lucide-react v0.462.0 - ISC 24 * 25 * This source code is licensed under the ISC license. 26 * See the LICENSE file in the root directory of this source tree. 27 */const Yi=Gi("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 9,015 bytes, line 27
27],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),cn="-",Xi=e=>{const t=Ji(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:i=>{const a=i.split(cn);return a[0]===""&&a.length!==1&&a.shift(),Bo(a,t)||Zi(i)},getConflictingClassGroupIds:(i,a)=>{const c=r[i]||[];return a&&n[i]?[...c,...n[i]]:c}}},Bo=(e,t)=>{if(e.length===0)return t.classGroupId;const r=e[0],n=t.nextPart.get(r),o=n?Bo(e.slice(1),n):void 0;if(o)return o;if(t.validators.length===0)return;const s=e.join(cn);return t.validators.find(({validator:i})=>i(s))?.classGroupId},Ln=/^\[(.+)\]$/,Zi=e=>{if(Ln.test(e)){const t=Ln.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Ji=e=>{const{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return ta(Object.entries(e.classGroups),r).forEach(([s,i])=>{qr(i,n,s,t)}),n},qr=(e,t,r,n)=>{e.forEach(o=>{if(typeof o=="string"){const s=o===""?t:_n(t,o);s.classGroupId=r;return}if(typeof o=="function"){if(ea(o)){qr(o(n),t,r,n);return}t.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([s,i])=>{qr(i,_n(t,s),r,n)})})},_n=(e,t)=>{let r=e;return t.split(cn).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},ea=e=>e.isThemeGetter,ta=(e,t)=>t?e.map(([r,n])=>{const o=n.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([i,a])=>[t+i,a])):s);return[r,o]}):e,ra=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map;const o=(s,i)=>{r.set(s,i),t++,t>e&&(t=0,n=r,r=new Map)};return{get(s){let i=r.get(s);if(i!==void 0)return i;if((i=n.get(s))!==void 0)return o(s,i),i},set(s,i){r.has(s)?r.set(s,i):o(s,i)}}},Vo="!",na=e=>{const{separator:t,experimentalParseClassName:r}=e,n=t.length===1,o=t[0],s=t.length,i=a=>{const c=[];let l=0,d=0,f;for(let p=0;p<a.length;p++){let b=a[p];if(l===0){if(b===o&&(n||a.slice(p,p+s)===t)){c.push(a.slice(d,p)),d=p+s;continue}if(b==="/"){f=p;continue}}b==="["?l++:b==="]"&&l--}const m=c.length===0?a:a.substring(d),u=m.startsWith(Vo),y=u?m.substring(1):m,h=f&&f>d?f-d:void 0;return{modifiers:c,hasImportantModifier:u,baseClassName:y,maybePostfixModifierPosition:h}};return r?a=>r({className:a,parseClassName:i}):i},oa=e=>{if(e.length<=1)return e;const t=[];let r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t},sa=e=>({cache:ra(e.cacheSize),parseClassName:na(e),...Xi(e)}),ia=/\s+/,aa=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o}=t,s=[],i=e.trim().split(ia);let a="";for(let c=i.length-1;c>=0;c-=1){const l=i[c],{modifiers:d,hasImportantModifier:f,baseClassName:m,maybePostfixModifierPosition:u}=r(l);let y=!!u,h=n(y?m.substring(0,u):m);if(!h){if(!y){a=l+(a.length>0?" "+a:a);continue}if(h=n(m),!h){a=l+(a.length>0?" "+a:a);continue}y=!1}const p=oa(d).join(":"),b=f?p+Vo:p,x=b+h;if(s.includes(x))continue;s.push(x);const T=o(h,y);for(let C=0;C<T.length;++C){const S=T[C];s.push(b+S)}a=l+(a.length>0?" "+a:a)}return a};function la(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=qo(t))&&(n&&(n+=" "),n+=r);return n}const qo=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=qo(e[n]))&&(r&&(r+=" "),r+=t);return r};function ca(e,...t){let r,n,o,s=i;function i(c){const l=t.reduce((d,f)=>f(d),e());return r=sa(l),n=r.cache.get,o=r.cache.set,s=a,a(c)}function a(c){const l=n(c);if(l)return l;const d=aa(c,r);return o(c,d),d}return function(){return s(la.apply(null,arguments))}}const Y=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},Uo=/^\[(?:([a-z-]+):)?(.+)\]$/i,ua=/^\d+\/\d+$/,da=new Set(["px","full","screen"]),fa=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ha=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,pa=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ma=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ga=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,De=e=>vt(e)||da.has(e)||ua.test(e),He=e=>It(e,"length",Ca),vt=e=>!!e&&!Number.isNaN(Number(e)),Dr=e=>It(e,"number",vt),Ft=e=>!!e&&Number.isInteger(Number(e)),ya=e=>e.endsWith("%")&&vt(e.slice(0,-1)),N=e=>Uo.test(e),Be=e=>fa.test(e),va=new Set(["length","size","percentage"]),ba=e=>It(e,va,Ko),wa=e=>It(e,"position",Ko),xa=new Set(["image","url"]),Ta=e=>It(e,xa,Aa),Ea=e=>It(e,"",Sa),$t=()=>!0,It=(e,t,r)=>{const n=Uo.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},Ca=e=>ha.test(e)&&!pa.test(e),Ko=()=>!1,Sa=e=>ma.test(e),Aa=e=>ga.test(e),Pa=()=>{const e=Y("colors"),t=Y("spacing"),r=Y("blur"),n=Y("brightness"),o=Y("borderColor"),s=Y("borderRadius"),i=Y("borderSpacing"),a=Y("borderWidth"),c=Y("contrast"),l=Y("grayscale"),d=Y("hueRotate"),f=Y("invert"),m=Y("gap"),u=Y("gradientColorStops"),y=Y("gradientColorStopPositions"),h=Y("inset"),p=Y("margin"),b=Y("opacity"),x=Y("padding"),T=Y("saturate"),C=Y("scale"),S=Y("sepia"),R=Y("skew"),j=Y("space"),V=Y("translate"),U=()=>["auto","contain","none"],H=()=>["auto","hidden","clip","visible","scroll"],F=()=>["auto",N,t],O=()=>[N,t],q=()=>["",De,He],A=()=>["auto",vt,N],B=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],I=()=>["solid","dashed","dotted","double","none"],L=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],k=()=>["start","end","center","between","around","evenly","stretch"],P=()=>["","0",N],K=()=>["auto","avoid","all","avoid-page","page","left","right","column"],J=()=>[vt,N];return{cacheSize:500,separator:":",theme:{colors:[$t],spacing:[De,He],blur:["none","",Be,N],brightness:J(),borderColor:[e],borderRadius:["none","","full",Be,N],borderSpacing:O(),borderWidth:q(),contrast:J(),grayscale:P(),hueRotate:J(),invert:P(),gap:O(),gradientColorStops:[e],gradientColorStopPositions:[ya,He],inset:F(),margin:F(),opacity:J(),padding:O(),saturate:J(),scale:J(),sepia:P(),skew:J(),space:O(),translate:O()},classGroups:{aspect:[{aspect:["auto","square","video",N]}],container:["container"],columns:[{columns:[Be]}],"break-after":[{"break-after":K()}],"break-before":[{"break-before":K()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...B(),N]}],overflow:[{overflow:H()}],"overflow-x":[{"overflow-x":H()}],"overflow-y":[{"overflow-y":H()}],overscroll:[{overscroll:U()}],"overscroll-x":[{"overscroll-x":U()}],"overscroll-y":[{"overscroll-y":U()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Ft,N]}],basis:[{basis:F()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",N]}],grow:[{grow:P()}],shrink:[{shrink:P()}],order:[{order:["first","last","none",Ft,N]}],"grid-cols":[{"grid-cols":[$t]}],"col-start-end":[{col:["auto",{span:["full",Ft,N]},N]}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":[$t]}],"row-start-end":[{row:["auto",{span:[Ft,N]},N]}],"row-start":[{"row-start":A()}],"row-end":[{"row-end":A()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",N]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",N]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal",...k()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...k(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...k(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}
vendor: 8,317 bytes, line 27
27],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],m:[{m:[p]}],mx:[{mx:[p]}],my:[{my:[p]}],ms:[{ms:[p]}],me:[{me:[p]}],mt:[{mt:[p]}],mr:[{mr:[p]}],mb:[{mb:[p]}],ml:[{ml:[p]}],"space-x":[{"space-x":[j]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[j]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",N,t]}],"min-w":[{"min-w":[N,t,"min","max","fit"]}],"max-w":[{"max-w":[N,t,"none","full","min","max","fit","prose",{screen:[Be]},Be]}],h:[{h:[N,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[N,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[N,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[N,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Be,He]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Dr]}],"font-family":[{font:[$t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",N]}],"line-clamp":[{"line-clamp":["none",vt,Dr]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",De,N]}],"list-image":[{"list-image":["none",N]}],"list-style-type":[{list:["none","disc","decimal",N]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[b]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[b]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...I(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",De,He]}],"underline-offset":[{"underline-offset":["auto",De,N]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:O()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",N]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",N]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[b]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...B(),wa]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",ba]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ta]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[y]}],"gradient-via-pos":[{via:[y]}],"gradient-to-pos":[{to:[y]}],"gradient-from":[{from:[u]}],"gradient-via":[{via:[u]}],"gradient-to":[{to:[u]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[b]}],"border-style":[{border:[...I(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[b]}],"divide-style":[{divide:I()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...I()]}],"outline-offset":[{"outline-offset":[De,N]}],"outline-w":[{outline:[De,He]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:q()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[b]}],"ring-offset-w":[{"ring-offset":[De,He]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Be,Ea]}],"shadow-color":[{shadow:[$t]}],opacity:[{opacity:[b]}],"mix-blend":[{"mix-blend":[...L(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":L()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",Be,N]}],grayscale:[{grayscale:[l]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[f]}],saturate:[{saturate:[T]}],sepia:[{sepia:[S]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[b]}],"backdrop-saturate":[{"backdrop-saturate":[T]}],"backdrop-sepia":[{"backdrop-sepia":[S]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",N]}],duration:[{duration:J()}],ease:[{ease:["linear","in","out","in-out",N]}],delay:[{delay:J()}],animate:[{animate:["none","spin","ping","pulse","bounce",N]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[C]}],"scale-x":[{"scale-x":[C]}],"scale-y":[{"scale-y":[C]}],rotate:[{rotate:[Ft,N]}],"translate-x":[{"translate-x":[V]}],"translate-y":[{"translate-y":[V]}],"skew-x":[{"skew-x":[R]}],"skew-y":[{"skew-y":[R]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",N]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",N]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pt":[{"scroll-pt":O()}],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
27],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",N]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[De,He,Dr]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},Ra=ca(Pa);function dt(...e){return Ra(zo(e))}const Oa=qi,Wo=g.forwardRef(({className:e,...t},r)=>w.jsx(Io,{ref:r,className:dt("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));Wo.displayName=Io.displayName;const ka=Ui("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),Qo=g.forwardRef(({className:e,variant:t,...r},n)=>w.jsx(No,{ref:n,className:dt(ka({variant:t}),e),...r}));Qo.displayName=No.displayName;const Ma=g.forwardRef(({className:e,...t},r)=>w.jsx(_o,{ref:r,className:dt("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors group-[.destructive]:border-muted/40 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",e),...t}));Ma.displayName=_o.displayName;const Go=g.forwardRef(({className:e,...t},r)=>w.jsx(Fo,{ref:r,className:dt("absolute right-2 top-2 rounded-md p-1 text-foreground
27/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:w.jsx(Yi,{className:"h-4 w-4"})}));Go.displayName=Fo.displayName;const Yo=g.forwardRef(({className:e,...t},r)=>w.jsx(jo,{ref:r,className:dt("text-sm font-semibold",e),...t}));Yo.displayName=jo.displayName;const Xo=g.forwardRef(({className:e,...t},r)=>w.jsx(Lo,{ref:r,className:dt("text-sm opacity-90",e),...t}));Xo.displayName=Lo.displayName;function Da(){const{toasts:e}=Ei();return w.jsxs(Oa,{children:[e.map(function({id:t,title:r,description:n,action:o,...s}){return w.jsxs(Qo,{...s,children:[w.jsxs("div",{className:"grid gap-1",children:[r&&w.jsx(Yo,{children:r}),n&&w.jsx(Xo,{children:n})]}),o,w.jsx(Go,{})]},t)}),w.jsx(Wo,{})]})}var Fn=["light","dark"],Ia="(prefers-color-scheme: dark)",Na=g.createContext(void 0),ja={setTheme:e=>{},themes:[]},La=()=>{var e;return(e=g.useContext(Na))!=null?e:ja};g.memo(({forcedTheme:e,storageKey:t,attribute:r,enableSystem:n,enableColorScheme:o,defaultTheme:s,value:i,attrs:a,nonce:c})=>{let l=s==="system",d=r==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${a.map(y=>`'${y}'`).join(",")})`};`:`var d=document.documentElement,n='${r}',s='setAttribute';`,f=o?Fn.includes(s)&&s?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${s}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",m=(y,h=!1,p=!0)=>{let b=i?i[y]:y,x=h?y+"|| ''":`'${b}'`,T="";return o&&p&&!h&&Fn.includes(y)&&(T+=`d.style.colorScheme = '${y}';`),r==="class"?h||b?T+=`c.add(${x})`:T+="null":b&&(T+=`d[s](n,${x})`),T},u=e?`!function(){${d}${m(e)}}()`:n?`!function(){try{${d}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${l})){var t='${Ia}',m=window.matchMedia(t);if(m.media!==t||m.matches){${m("dark")}}else{${m("light")}}}else if(e){${i?`var x=${JSON.stringify(i)};`:""}${m(i?"x[e]":"e",!0)}}${l?"":"else{"+m(s,!1,!1)+"}"}${f}}catch(e){}}()`:`!function(){try{${d}var e=localStorage.getItem('${t}');if(e){${i?`var x=${JSON.stringify(i)};`:""}${m(i?"x[e]":"e",!0)}}else{${m(s,!1,!1)};}${f}}catch(t){}}();`;return g.createElement("script",{nonce:c,dangerouslySetInnerHTML:{__html:u}})});var _a=e=>{switch(e){case"success":return za;case"info":return Ba;case"warning":return Ha;case"error":return Va;default:return null}},Fa=Array(12).fill(0),$a=({visible:e,className:t})=>E.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},E.createElement("div",{className:"sonner-spinner"},Fa.map((r,n)=>E.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${n}`})))),za=E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},E.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),Ha=E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},E.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),Ba=E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},E.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),Va=E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},E.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),qa=E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},E.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),E.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),Ua=()=>{let[e,t]=E.useState(document.hidden);return E.useEffect(()=>{let r=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",r),()=>window.removeEventListener("visibilitychange",r)},[]),e},Ur=1,Ka=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>
27{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:r,...n}=e,o=typeof e?.id=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:Ur++,s=this.toasts.find(a=>a.id===o),i=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(o)&&this.dismissedToasts.delete(o),s?this.toasts=this.toasts.map(a=>a.id===o?(this.publish({...a,...e,id:o,title:r}),{...a,...e,id:o,dismissible:i,title:r}):a):this.addToast({title:r,...n,dismissible:i,id:o}),o},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(r=>r({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
27this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let r;t.loading!==void 0&&(r=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let n=e instanceof Promise?e:e(),o=r!==void 0,s,i=n.then(async c=>{if(s=["resolve",c],E.isValidElement(c))o=!1,this.create({id:r,type:"default",message:c});else if(Qa(c)&&!c.ok){o=!1;let l=typeof t.error=="function"?await t.error(`HTTP error! status: ${c.status}`):t.error,d=typeof t.description=="function"?await t.description(`HTTP error! status: ${c.status}`):t.description;this.create({id:r,type:"error",message:l,description:d})}else if(t.success!==void 0){o=!1;let l=typeof t.success=="function"?await t.success(c):t.success,d=typeof t.description=="function"?await t.description(c):t.description;this.create({id:r,type:"success",message:l,description:d})}}).catch(async c=>{if(s=["reject",c],t.error!==void 0){o=!1;let l=typeof t.error=="function"?await t.error(c):t.error,d=typeof t.description=="function"?await t.description(c):t.description;this.create({id:r,type:"error",message:l,description:d})}}).finally(()=>{var c;o&&(this.dismiss(r),r=void 0),(c=t.finally)==null||c.call(t)}),a=()=>new Promise((c,l)=>i.then(()=>s[0]==="reject"?l(s[1]):c(s[1])).catch(l));return typeof r!="string"&&typeof r!="number"?{unwrap:a}:Object.assign(r,{unwrap:a})},this.custom=(e,t)=>{let r=t?.id||Ur++;return this.create({jsx:e(r),id:r,...t}),r},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},ie=new Ka,Wa=(e,t)=>{let r=t?.id||Ur++;return ie.addToast({title:e,...t,id:r}),r},Qa=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",Ga=Wa,Ya=()=>ie.toasts,Xa=()=>ie.getActiveToasts();Object.assign(Ga,{success:ie.success,info:ie.info,warning:ie.warning,error:ie.error,custom:ie.custom,message:ie.message,promise:ie.promise,dismiss:ie.dismiss,loading:ie.loading},{getHistory:Ya,getToasts:Xa});function Za(e,{insertAt:t}={}){if(typeof document>"u")return;let r=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t==="top"&&r.firstChild?r.insertBefore(n,r.firstChild):r.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}Za(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;
27left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}
27:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);
27--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)} 28`);function tr(e){return e.label!==void 0}var Ja=3,el="32px",tl="16px",$n=4e3,rl=356,nl=14,ol=20,sl=200;function me(...e){return e.filter(Boolean).join(" ")}function il(e){let[t,r]=e.split("-"),n=[];return t&&n.push(t),r&&n.push(r),n}var al=e=>{var t,r,n,o,s,i,a,c,l,d,f;let{invert:m,toast:u,unstyled:y,interacting:h,setHeights:p,visibleToasts:b,heights:x,index:T,toasts:C,expanded:S,removeToast:R,defaultRichColors:j,closeButton:V,style:U,cancelButtonStyle:H,actionButtonStyle:F,className:O="",descriptionClassName:q="",duration:A,position:B,gap:I,loadingIcon:L,expandByDefault:k,classNames:P,icons:K,closeButtonAriaLabel:J="Close toast",pauseWhenPageIsHidden:_}=e,[$,W]=E.useState(null),[ee,_e]=E.useState(null),[Q,ft]=E.useState(!1),[Ze,ht]=E.useState(!1),[Je,Lt]=E.useState(!1),[et,Bs]=E.useState(!1),[Vs,Tn]=E.useState(!1),[qs,Sr]=E.useState(0),[Us,En]=E.useState(0),_t=E.useRef(u.duration||A||$n),Cn=E.useRef(null),tt=E.useRef(null),Ks=T===0,Ws=T+1<=b,ce=u.type,pt=u.dismissible!==!1,Qs=u.className||"",Gs=u.descriptionClassName||"",Zt=E.useMemo(()=>x.findIndex(M=>M.toastId===u.id)||0,[x,u.id]),Ys=E.useMemo(()=>{var M;return(M=u.closeButton)!=null?M:V},[u.closeButton,V]),Sn=E.useMemo(()=>u.duration||A||$n,[u.duration,A]),Ar=E.useRef(0),mt=E.useRef(0),An=E.useRef(0),gt=E.useRef(null),[Xs,Zs]=B.split("-"),Pn=E.useMemo(()=>x.reduce((M,G,X)=>X>
28=Zt?M:M+G.height,0),[x,Zt]),Rn=Ua(),Js=u.invert||m,Pr=ce==="loading";mt.current=E.useMemo(()=>Zt*I+Pn,[Zt,Pn]),E.useEffect(()=>{_t.current=Sn},[Sn]),E.useEffect(()=>{ft(!0)},[]),E.useEffect(()=>{let M=tt.current;if(M){let G=M.getBoundingClientRect().height;return En(G),p(X=>[{toastId:u.id,height:G,position:u.position},...X]),()=>p(X=>X.filter(fe=>fe.toastId!==u.id))}},[p,u.id]),E.useLayoutEffect(()=>{if(!Q)return;let M=tt.current,G=M.style.height;M.style.height="auto";let X=M.getBoundingClientRect().height;M.style.height=G,En(X),p(fe=>fe.find(he=>he.toastId===u.id)?fe.map(he=>he.toastId===u.id?{...he,height:X}:he):[{toastId:u.id,height:X,position:u.position},...fe])},[Q,u.title,u.description,p,u.id]);let Fe=E.useCallback(()=>{ht(!0),Sr(mt.current),p(M=>M.filter(G=>G.toastId!==u.id)),setTimeout(()=>{R(u)},sl)},[u,R,p,mt]);E.useEffect(()=>{if(u.promise&&ce==="loading"||u.duration===1/0||u.type==="loading")return;let M;return S||h||_&&Rn?(()=>{if(An.current<Ar.current){let G=new Date().getTime()-Ar.current;_t.current=_t.current-G}An.current=new Date().getTime()})():_t.current!==1/0&&(Ar.current=new Date().getTime(),M=setTimeout(()=>{var G;(G=u.onAutoClose)==null||G.call(u,u),Fe()},_t.current)),()=>clearTimeout(M)},[S,h,u,ce,_,Rn,Fe]),E.useEffect(()=>{u.delete&&Fe()},[Fe,u.delete]);function ei(){var M,G,X;return K!=null&&K.loading?E.createElement("div",{className:me(P?.loader,(M=u?.classNames)==null?void 0:M.loader,"sonner-loader"),"data-visible":ce==="loading"},K.loading):L?E.createElement("div",{className:me(P?.loader,(G=u?.classNames)==null?void 0:G.loader,"sonner-loader"),"data-visible":ce==="loading"},L):E.createElement($a,{className:me(P?.loader,(X=u?.classNames)==null?void 0:X.loader),visible:ce==="loading"})}return E.createElement("li",{tabIndex:0,ref:tt,className:me(O,Qs,P?.toast,(t=u?.classNames)==null?void 0:t.toast,P?.default,P?.[ce],(r=u?.classNames)==null?void 0:r[ce]),"data-sonner-toast":"","data-rich-colors":(n=u.richColors)!=null?n:j,"data-styled":!(u.jsx||u.unstyled||y),"data-mounted":Q,"data-promise":!!u.promise,"data-swiped":Vs,"data-removed":Ze,"data-visible":Ws,"data-y-position":Xs,"data-x-position":Zs,"data-index":T,"data-front":Ks,"data-swiping":Je,"data-dismissible":pt,"data-type":ce,"data-invert":Js,"data-swipe-out":et,"data-swipe-direction":ee,"data-expanded":!!(S||k&&Q),style:{"--index":T,"--toasts-before":T,"--z-index":C.length-T,"--offset":`${Ze?qs:mt.current}px`,"--initial-height":k?"auto":`${Us}px`,...U,...u.style},onDragEnd:()=>{Lt(!1),W(null),gt.current=null},onPointerDown:M=>{Pr||!pt||(Cn.current=new Date,Sr(mt.current),M.target.setPointerCapture(M.pointerId),M.target.tagName!=="BUTTON"&&(Lt(!0),gt.current={x:M.clientX,y:M.clientY}))},onPointerUp:()=>{var M,G,X,fe;if(et||!pt)return;gt.current=null;let he=Number(((M=tt.current)==null?void 0:M.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),$e=Number(((G=tt.current)==null?void 0:G.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),rt=new Date().getTime()-((X=Cn.current)==null?void 0:X.getTime()),pe=$==="x"?he:$e,ze=Math.abs(pe)/rt;if(Math.abs(pe)>=ol||ze>.11){Sr(mt.current),(fe=u.onDismiss)==null||fe.call(u,u),_e($==="x"?he>0?"right":"left":$e>0?"down":"up"),Fe(),Bs(!0),Tn(!1);return}Lt(!1),W(null)},onPointerMove:M=>{var G,X,fe,he;if(!gt.current||!pt||((G=window.getSelection())==null?void 0:G.toString().length)>0)return;let $e=M.clientY-gt.current.y,rt=M.clientX-gt.current.x,pe=(X=e.swipeDirections)!=null?X:il(B);!$&&(Math.abs(rt)>1||Math.abs($e)>1)&&W(Math.abs(rt)>Math.abs($e)?"x":"y");let ze={x:0,y:0};$==="y"?(pe.includes("top")||pe.includes("bottom"))&&(pe.includes("top")&&$e<0||pe.includes("bottom")&&$e>0)&&(ze.y=$e):$==="x"&&(pe.includes("left")||pe.includes("right"))&&(pe.includes("left")&&rt<0||pe.includes("right")&&rt>0)&&(ze.x=rt),(Math.abs(ze.x)>0||Math.abs(ze.y)>0)&&Tn(!0),(fe=tt.current)==null||fe.style.setProperty("--swipe-amount-x",`${ze.x}px`),(he=tt.current)==null||he.style.setProperty("--swipe-amount-y",`${ze.y}px`)}},Ys&&!u.jsx?E.createElement("button",{"aria-label":J,"data-disabled":Pr,"data-close-button":!0,onClick:Pr||!pt?()=>{}:()=>{var M;Fe(),(M=u.onDismiss)==null||M.call(u,u)},className:me(P?.closeButton,(o=u?.classNames)==null?void 0:o.closeButton)},(s=K?.close)!=null?s:qa):null,u.jsx||g.isValidElement(u.title)?u.jsx?u.jsx:typeof u.title=="function"?u.title():u.title:E.createElement(E.Fragment,null,ce||u.icon||u.promise?E.createElement("div",{"data-icon":"",className:me(P?.icon,(i=u?.classNames)==null?void 0:i.icon)},u.promise||u.type==="loading"&&!u.icon?u.icon||ei():null,u.type!=="loading"?u.icon||K?.[ce]||_a(ce):null):null,E.createElement("div",{"data-content":"",className:me(P?.content,(a=u?.classNames)==null?void 0:a.content)},E.createElement("div",{"data-title":"",className:me(P?.title,(c=u?.classNames)==null?void 0:c.title)},typeof u.title=="function"?u.title():u.title),u.description?E.createElement("div",{"data-description":"",className:me(q,Gs,P?.description,(l=u?.classNames)==null?void 0:l.description)},typeof u.description=="function"?u.description():u.description):null),g.isValidElement(u.cancel)?u.cancel:u.cancel&&tr(u.cancel)?E.createElement("button",{"data-button":!0,"data-cancel":!0,style:u.cancelButtonStyle||H,onClick:M=>{var G,X;tr(u.cancel)&&pt&&((X=(G=u.cancel).onClick)==null||X.call(G,M),Fe()
28)},className:me(P?.cancelButton,(d=u?.classNames)==null?void 0:d.cancelButton)},u.cancel.label):null,g.isValidElement(u.action)?u.action:u.action&&tr(u.action)?E.createElement("button",{"data-button":!0,"data-action":!0,style:u.actionButtonStyle||F,onClick:M=>{var G,X;tr(u.action)&&((X=(G=u.action).onClick)==null||X.call(G,M),!M.defaultPrevented&&Fe())},className:me(P?.actionButton,(f=u?.classNames)==null?void 0:f.actionButton)},u.action.label):null))};function zn(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function ll(e,t){let r={};return[e,t].forEach((n,o)=>{let s=o===1,i=s?"--mobile-offset":"--offset",a=s?tl:el;function c(l){["top","right","bottom","left"].forEach(d=>{r[`${i}-${d}`]=typeof l=="number"?`${l}px`:l})}typeof n=="number"||typeof n=="string"?c(n):typeof n=="object"?["top","right","bottom","left"].forEach(l=>{n[l]===void 0?r[`${i}-${l}`]=a:r[`${i}-${l}`]=typeof n[l]=="number"?`${n[l]}px`:n[l]}):c(a)}),r}var cl=g.forwardRef(function(e,t){let{invert:r,position:n="bottom-right",hotkey:o=["altKey","KeyT"],expand:s,closeButton:i,className:a,offset:c,mobileOffset:l,theme:d="light",richColors:f,duration:m,style:u,visibleToasts:y=Ja,toastOptions:h,dir:p=zn(),gap:b=nl,loadingIcon:x,icons:T,containerAriaLabel:C="Notifications",pauseWhenPageIsHidden:S}=e,[R,j]=E.useState([]),V=E.useMemo(()=>Array.from(new Set([n].concat(R.filter(_=>_.position).map(_=>_.position)))),[R,n]),[U,H]=E.useState([]),[F,O]=E.useState(!1),[q,A]=E.useState(!1),[B,I]=E.useState(d!=="system"?d:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),L=E.useRef(null),k=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),P=E.useRef(null),K=E.useRef(!1),J=E.useCallback(_=>{j($=>{var W;return(W=$.find(ee=>ee.id===_.id))!=null&&W.delete||ie.dismiss(_.id),$.filter(({id:ee})=>ee!==_.id)})},[]);return E.useEffect(()=>ie.subscribe(_=>{if(_.dismiss){j($=>$.map(W=>W.id===_.id?{...W,delete:!0}:W));return}setTimeout(()=>{di.flushSync(()=>{j($=>{let W=$.findIndex(ee=>ee.id===_.id);return W!==-1?[...$.slice(0,W),{...$[W],..._},...$.slice(W+1)]:[_,...$]})})})}),[]),E.useEffect(()=>{if(d!=="system"){I(d);return}if(d==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?I("dark"):I("light")),typeof window>"u")return;let _=window.matchMedia("(prefers-color-scheme: dark)");try{_.addEventListener("change",({matches:$})=>{I($?"dark":"light")})}catch{_.addListener(({matches:W})=>{try{I(W?"dark":"light")}catch(ee){console.error(ee)}})}},[d]),E.useEffect(()=>{R.length<=1&&O(!1)},[R]),E.useEffect(()=>{let _=$=>{var W,ee;o.every(_e=>$[_e]||$.code===_e)&&(O(!0),(W=L.current)==null||W.focus()),$.code==="Escape"&&(document.activeElement===L.current||(ee=L.current)!=null&&ee.contains(document.activeElement))&&O(!1)};return document.addEventListener("keydown",_),()=>document.removeEventListener("keydown",_)},[o]),E.useEffect(()=>{if(L.current)return()=>{P.current&&(P.current.focus({preventScroll:!0}),P.current=null,K.current=!1)}},[L.current]),E.createElement("section",{ref:t,"aria-label":`${C} ${k}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},V.map((_,$)=>{var W;let[ee,_e]=_.split("-");return R.length?E.createElement("ol",{key:_,dir:p==="auto"?zn():p,tabIndex:-1,ref:L,className:a,"data-sonner-toaster":!0,"data-theme":B,"data-y-position":ee,"data-lifted":F&&R.length>1&&!s,"data-x-position":_e,style:{"--front-toast-height":`${((W=U[0])==null?void 0:W.height)||0}px`,"--width":`${rl}px`,"--gap":`${b}px`,...u,...ll(c,l)},onBlur:Q=>{K.current&&!Q.currentTarget.contains(Q.relatedTarget)&&(K.current=!1,P.current&&(P.current.focus({preventScroll:!0}),P.current=null))},onFocus:Q=>{Q.target instanceof HTMLElement&&Q.target.dataset.dismissible==="false"||K.current||(K.current=!0,P.current=Q.relatedTarget)},onMouseEnter:()=>O(!0),onMouseMove:()=>O(!0),onMouseLeave:()=>{q||O(!1)},onDragEnd:()=>O(!1),onPointerDown:Q=>{Q.target instanceof HTMLElement&&Q.target.dataset.dismissible==="false"||A(!0)},onPointerUp:()=>A(!1)},R.filter(Q=>!Q.position&&$===0||Q.position===_).map((Q,ft)=>{var Ze,ht;return E.createElement(al,{key:Q.id,icons:T,index:ft,toast:Q,defaultRichColors:f,duration:(Ze=h?.duration)!=null?Ze:m,className:h?.className,descriptionClassName:h?.descriptionClassName,invert:r,visibleToasts:y,closeButton:(ht=h?.closeButton)!=null?ht:i,interacting:q,position:_,style:h?.style,unstyled:h?.unstyled,classNames:h?.classNames,cancelButtonStyle:h?.cancelButtonStyle,actionButtonStyle:h?.actionButtonStyle,removeToast:J,toasts:R.filter(Je=>Je.position==Q.position),heights:U.filter(Je=>Je.position==Q.position),setHeights:H,expandByDefault:s,gap:b,loadingIcon:x,expanded:F,pauseWhenPageIsHidden:S,swipeDirections:e.swipeDirections})})):null}))});const ul=({...e})=>{const{theme:t="system"}=La();return w.jsx(cl,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})},dl=["top","right","bottom","left"],Ge=Math.min,ae=Math.max,dr=Math.round,rr=Math.floor,Pe=e=>({x:e,y:e}
vendor: 11,919 bytes, line 28
28),fl={left:"right",right:"left",bottom:"top",top:"bottom"},hl={start:"end",end:"start"};function Kr(e,t,r){return ae(e,Ge(t,r))}function je(e,t){return typeof e=="function"?e(t):e}function Le(e){return e.split("-")[0]}function Nt(e){return e.split("-")[1]}function un(e){return e==="x"?"y":"x"}function dn(e){return e==="y"?"height":"width"}const pl=new Set(["top","bottom"]);function Ae(e){return pl.has(Le(e))?"y":"x"}function fn(e){return un(Ae(e))}function ml(e,t,r){r===void 0&&(r=!1);const n=Nt(e),o=fn(e),s=dn(o);let i=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=fr(i)),[i,fr(i)]}function gl(e){const t=fr(e);return[Wr(e),t,Wr(t)]}function Wr(e){return e.replace(/start|end/g,t=>hl[t])}const Hn=["left","right"],Bn=["right","left"],yl=["top","bottom"],vl=["bottom","top"];function bl(e,t,r){switch(e){case"top":case"bottom":return r?t?Bn:Hn:t?Hn:Bn;case"left":case"right":return t?yl:vl;default:return[]}}function wl(e,t,r,n){const o=Nt(e);let s=bl(Le(e),r==="start",n);return o&&(s=s.map(i=>i+"-"+o),t&&(s=s.concat(s.map(Wr)))),s}function fr(e){return e.replace(/left|right|bottom|top/g,t=>fl[t])}function xl(e){return{top:0,right:0,bottom:0,left:0,...e}}function Zo(e){return typeof e!="number"?xl(e):{top:e,right:e,bottom:e,left:e}}function hr(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function Vn(e,t,r){let{reference:n,floating:o}=e;const s=Ae(t),i=fn(t),a=dn(i),c=Le(t),l=s==="y",d=n.x+n.width/2-o.width/2,f=n.y+n.height/2-o.height/2,m=n[a]/2-o[a]/2;let u;switch(c){case"top":u={x:d,y:n.y-o.height};break;case"bottom":u={x:d,y:n.y+n.height};break;case"right":u={x:n.x+n.width,y:f};break;case"left":u={x:n.x-o.width,y:f};break;default:u={x:n.x,y:n.y}}switch(Nt(t)){case"start":u[i]-=m*(r&&l?-1:1);break;case"end":u[i]+=m*(r&&l?-1:1);break}return u}const Tl=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:s=[],platform:i}=r,a=s.filter(Boolean),c=await(i.isRTL==null?void 0:i.isRTL(t));let l=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:f}=Vn(l,n,c),m=n,u={},y=0;for(let h=0;h<a.length;h++){const{name:p,fn:b}=a[h],{x,y:T,data:C,reset:S}=await b({x:d,y:f,initialPlacement:n,placement:m,strategy:o,middlewareData:u,rects:l,platform:i,elements:{reference:e,floating:t}});d=x??d,f=T??f,u={...u,[p]:{...u[p],...C}},S&&y<=50&&(y++,typeof S=="object"&&(S.placement&&(m=S.placement),S.rects&&(l=S.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):S.rects),{x:d,y:f}=Vn(l,m,c)),h=-1)}return{x:d,y:f,placement:m,strategy:o,middlewareData:u}};async function qt(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:s,rects:i,elements:a,strategy:c}=e,{boundary:l="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:m=!1,padding:u=0}=je(t,e),y=Zo(u),p=a[m?f==="floating"?"reference":"floating":f],b=hr(await s.getClippingRect({element:(r=await(s.isElement==null?void 0:s.isElement(p)))==null||r?p:p.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:l,rootBoundary:d,strategy:c})),x=f==="floating"?{x:n,y:o,width:i.floating.width,height:i.floating.height}:i.reference,T=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),C=await(s.isElement==null?void 0:s.isElement(T))?await(s.getScale==null?void 0:s.getScale(T))||{x:1,y:1}:{x:1,y:1},S=hr(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:x,offsetParent:T,strategy:c}):x);return{top:(b.top-S.top+y.top)/C.y,bottom:(S.bottom-b.bottom+y.bottom)/C.y,left:(b.left-S.left+y.left)/C.x,right:(S.right-b.right+y.right)/C.x}}const El=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:s,platform:i,elements:a,middlewareData:c}=t,{element:l,padding:d=0}=je(e,t)||{};if(l==null)return{};const f=Zo(d),m={x:r,y:n},u=fn(o),y=dn(u),h=await i.getDimensions(l),p=u==="y",b=p?"top":"left",x=p?"bottom":"right",T=p?"clientHeight":"clientWidth",C=s.reference[y]+s.reference[u]-m[u]-s.floating[y],S=m[u]-s.reference[u],R=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l));let j=R?R[T]:0;(!j||!await(i.isElement==null?void 0:i.isElement(R)))&&(j=a.floating[T]||s.floating[y]);const V=C/2-S/2,U=j/2-h[y]/2-1,H=Ge(f[b],U),F=Ge(f[x],U),O=H,q=j-h[y]-F,A=j/2-h[y]/2+V,B=Kr(O,A,q),I=!c.arrow&&Nt(o)!=null&&A!==B&&s.reference[y]/2-(A<O?H:F)-h[y]/2<0,L=I?A<O?A-O:A-q:0;return{[u]:m[u]+L,data:{[u]:B,centerOffset:A-B-L,...I&&{alignmentOffset:L}},reset:I}}}),Cl=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:s,rects:i,initialPlacement:a,platform:c,elements:l}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:m,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:h=!0,...p}=je(e,t);if((r=s.arrow)!=null&&r.alignmentOffset)return{};const b=Le(o),x=Ae(a),T=Le(a)===a,C=await(c.isRTL==null?void 0:c.isRTL(l.floating)),S=m||(T||!h?[fr(a)]:gl(a)),R=y!=="none";!m&&R&&S.push(...wl(a,h,y,C));const j=[a,...S],V=await qt(t,p),U=[];let H=((n=s.flip)==null?void 0:n.overflows)||[];if(d&&U.push(V[b]),f){const A=ml(o,i,C);U.push(V[A[0]],V[A[1]])}if(H=[...H,{placement:o,overflows:U}],!U.every(A=>A<=0)){var F,O;const A=(((F=s.flip)==null?void 0:F.index)||0)+1,B=j[A];if(B&&(!(f==="alignment"?x!==Ae(B):!1)||H.every(k=>k.overflows[0]>0&&Ae(k.placement)===x)))return{data:{index:A,overflows:H},reset:{placement:B}};let I=(O=H.filter(L=>L.overflows[0]<=0).sort((L,k)=>L.overflows[1]-k.overflows[1])[0])==null?void 0:O.placement;if(!I)switch(u){case"bestFit":{var q;const L=(q=H.filter(k=>{if(R){const P=Ae(k.placement);return P===x||P==="y"}return!0}).map(k=>[k.placement,k.overflows.filter(P=>P>0).reduce((P,K)=>P+K,0)]).sort((k,P)=>k[1]-P[1])[0])==null?void 0:q[0];L&&(I=L);break}case"initialPlacement":I=a;break}if(o!==I)return{reset:{placement:I}}}return{}}}};function qn(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Un(e){return dl.some(t=>e[t]>=0)}const Sl=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:n="referenceHidden",...o}=je(e,t);switch(n){case"referenceHidden":{const s=await qt(t,{...o,elementContext:"reference"}),i=qn(s,r.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:Un(i)}}}case"escaped":{const s=await qt(t,{...o,altBoundary:!0}),i=qn(s,r.floating);return{data:{escapedOffsets:i,escaped:Un(i)}}}default:return{}}}}},Jo=new Set(["left","top"]);async function Al(e,t){const{placement:r,platform:n,elements:o}=e,s=await(n.isRTL==null?void 0:n.isRTL(o.floating)),i=Le(r),a=Nt(r),c=Ae(r)==="y",l=Jo.has(i)?-1:1,d=s&&c?-1:1,f=je(t,e);let{mainAxis:m,crossAxis:u,alignmentAxis:y}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof y=="number"&&(u=a==="end"?y*-1:y),c?{x:u*d,y:m*l}:{x:m*l,y:u*d}}const Pl=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:s,placement:i,middlewareData:a}=t,c=await Al(t,e);return i===((r=a.offset)==null?void 0:r.placement)&&(n=a.arrow)!=null&&n.alignmentOffset?{}:{x:o+c.x,y:s+c.y,data:{...c,placement:i}}}}},Rl=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:s=!0,crossAxis:i=!1,limiter:a={fn:p=>{let{x:b,y:x}=p;return{x:b,y:x}}},...c}=je(e,t),l={x:r,y:n},d=await qt(t,c),f=Ae(Le(o)),m=un(f);let u=l[m],y=l[f];if(s){const p=m==="y"?"top":"left",b=m==="y"?"bottom":"right",x=u+d[p],T=u-d[b];u=Kr(x,u,T)}if(i){const p=f==="y"?"top":"left",b=f==="y"?"bottom":"right",x=y+d[p],T=y-d[b];y=Kr(x,y,T)}const h=a.fn({...t,[m]:u,[f]:y});return{...h,data:{x:h.x-r,y:h.y-n,enabled:{[m]:s,[f]:i}}}}}},Ol=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:s,middlewareData:i}=t,{offset:a=0,mainAxis:c=!0,crossAxis:l=!0}=je(e,t),d={x:r,y:n},f=Ae(o),m=un(f);let u=d[m],y=d[f];const h=je(a,t),p=typeof h=="number"?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(c){const T=m==="y"?"height":"width",C=s.reference[m]-s.floating[T]+p.mainAxis,S=s.reference[m]+s.reference[T]-p.mainAxis;u<C?u=C:u>S&&(u=S)}if(l){var b,x;const T=m==="y"?"width":"height",C=Jo.has(Le(o)),S=s.reference[f]-s.floating[T]+(C&&((b=i.offset)==null?void 0:b[f])||0)+(C?0:p.crossAxis),R=s.reference[f]+s.reference[T]+(C?0:((x=i.offset)==null?void 0:x[f])||0)-(C?p.crossAxis:0);y<S?y=S:y>R&&(y=R)}return{[m]:u,[f]:y}}}},kl=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,n;const{placement:o,rects:s,platform:i,elements:a}=t,{apply:c=()=>{},...l}=je(e,t),d=await qt(t,l),f=Le(o),m=Nt(o),u=Ae(o)==="y",{width:y,height:h}=s.floating;let p,b;f==="top"||f==="bottom"?(p=f,b=m===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(b=f,p=m==="end"?"top":"bottom");const x=h-d.top-d.bottom,T=y-d.left-d.right,C=Ge(h-d[p],x),S=Ge(y-d[b],T),R=!t.middlewareData.shift;let j=C,V=S;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(V=T),(n=t.middlewareData.shift)!=null&&n.enabled.y&&(j=x),R&&!m){const H=ae(d.left,0),F=ae(d.right,0),O=ae(d.top,0),q=ae(d.bottom,0);u?V=y-2*(H!==0||F!==0?H+F:ae(d.left,d.right)):j=h-2*(O!==0||q!==0?O+q:ae(d.top,d.bottom))}await c({...t,availableWidth:V,availableHeight:j});const U=await i.getDimensions(a.floating);return y!==U.width||h!==U.height?{reset:{rects:!0}}:{}}}};function vr(){return typeof window<"u"}function jt(e){return es(e)?(e.nodeName||"").toLowerCase():"#document"}function le(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Oe(e){var t;return(t=(es(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function es(e){return vr()?e instanceof Node||e instanceof le(e).Node:!1}function we(e){return vr()?e instanceof Element||e instanceof le(e).Element:!1}function Re(e){return vr()?e instanceof HTMLElement||e instanceof le(e).HTMLElement:!1}function Kn(e){return!vr()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof le(e).ShadowRoot}const Ml=new Set(["inline","contents"]);function Xt(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=xe(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!Ml.has(o)}const Dl=new Set(["table","td","th"]);function Il(e){return Dl.has(jt(e))}const Nl=[":popover-open",":modal"];function br(e){return Nl.some(t=>{try{return e.matches(t)}catch{return!1}})}const jl=["transform","translate","scale","rotate","perspective"],Ll=["transform","translate","scale","rotate","perspective","filter"],_l=["paint","layout","strict","content"];function hn(e){const t=pn(),r=we(e)?xe(e):e;return jl.some(n=>r[n]?r[n]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||Ll.some(n=>(r.willChange||"").includes(n))||_l.some(n=>(r.contain||"").includes(n))}function Fl(e){let t=Ye(e);for(;Re(t)&&!kt(t);){if(hn(t))return t;if(br(t))return null;t=Ye(t)}return null}function pn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const $l=new Set(["html","body","#document"]);function kt(e){return $l.has(jt(e))}function xe(e){return le(e).getComputedStyle(e)}function wr(e){return we(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ye(e){if(jt(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Kn(e)&&e.host||Oe(e);return Kn(t)?t.host:t}function ts(e){const t=Ye(e);return kt(t)?e.ownerDocument?e.ownerDocument.body:e.body:Re(t)&&Xt(t)?t:ts(t)}function Ut(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=ts(e),s=o===((n=e.ownerDocument)==null?void 0:n.body),i=le(o);if(s){const a=Qr(i);
vendor: 2,649 bytes, line 28
28return t.concat(i,i.visualViewport||[],Xt(o)?o:[],a&&r?Ut(a):[])}return t.concat(o,Ut(o,[],r))}function Qr(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function rs(e){const t=xe(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=Re(e),s=o?e.offsetWidth:r,i=o?e.offsetHeight:n,a=dr(r)!==s||dr(n)!==i;return a&&(r=s,n=i),{width:r,height:n,$:a}}function mn(e){return we(e)?e:e.contextElement}function bt(e){const t=mn(e);if(!Re(t))return Pe(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:s}=rs(t);let i=(s?dr(r.width):r.width)/n,a=(s?dr(r.height):r.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const zl=Pe(0);function ns(e){const t=le(e);return!pn()||!t.visualViewport?zl:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Hl(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==le(e)?!1:t}function ut(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),s=mn(e);let i=Pe(1);t&&(n?we(n)&&(i=bt(n)):i=bt(e));const a=Hl(s,r,n)?ns(s):Pe(0);let c=(o.left+a.x)/i.x,l=(o.top+a.y)/i.y,d=o.width/i.x,f=o.height/i.y;if(s){const m=le(s),u=n&&we(n)?le(n):n;let y=m,h=Qr(y);for(;h&&n&&u!==y;){const p=bt(h),b=h.getBoundingClientRect(),x=xe(h),T=b.left+(h.clientLeft+parseFloat(x.paddingLeft))*p.x,C=b.top+(h.clientTop+parseFloat(x.paddingTop))*p.y;c*=p.x,l*=p.y,d*=p.x,f*=p.y,c+=T,l+=C,y=le(h),h=Qr(y)}}return hr({width:d,height:f,x:c,y:l})}function gn(e,t){const r=wr(e).scrollLeft;return t?t.left+r:ut(Oe(e)).left+r}function os(e,t,r){r===void 0&&(r=!1);const n=e.getBoundingClientRect(),o=n.left+t.scrollLeft-(r?0:gn(e,n)),s=n.top+t.scrollTop;return{x:o,y:s}}function Bl(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const s=o==="fixed",i=Oe(n),a=t?br(t.floating):!1;if(n===i||a&&s)return r;let c={scrollLeft:0,scrollTop:0},l=Pe(1);const d=Pe(0),f=Re(n);if((f||!f&&!s)&&((jt(n)!=="body"||Xt(i))&&(c=wr(n)),Re(n))){const u=ut(n);l=bt(n),d.x=u.x+n.clientLeft,d.y=u.y+n.clientTop}const m=i&&!f&&!s?os(i,c,!0):Pe(0);return{width:r.width*l.x,height:r.height*l.y,x:r.x*l.x-c.scrollLeft*l.x+d.x+m.x,y:r.y*l.y-c.scrollTop*l.y+d.y+m.y}}function Vl(e){return Array.from(e.getClientRects())}function ql(e){const t=Oe(e),r=wr(e),n=e.ownerDocument.body,o=ae(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),s=ae(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let i=-r.scrollLeft+gn(e);const a=-r.scrollTop;return xe(n).direction==="rtl"&&(i+=ae(t.clientWidth,n.clientWidth)-o),{width:o,height:s,x:i,y:a}}function Ul(e,t){const r=le(e),n=Oe(e),o=r.visualViewport;let s=n.clientWidth,i=n.clientHeight,a=0,c=0;
vendor: 4,740 bytes, line 28
28if(o){s=o.width,i=o.height;const l=pn();(!l||l&&t==="fixed")&&(a=o.offsetLeft,c=o.offsetTop)}return{width:s,height:i,x:a,y:c}}const Kl=new Set(["absolute","fixed"]);function Wl(e,t){const r=ut(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,s=Re(e)?bt(e):Pe(1),i=e.clientWidth*s.x,a=e.clientHeight*s.y,c=o*s.x,l=n*s.y;return{width:i,height:a,x:c,y:l}}function Wn(e,t,r){let n;if(t==="viewport")n=Ul(e,r);else if(t==="document")n=ql(Oe(e));else if(we(t))n=Wl(t,r);else{const o=ns(e);n={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return hr(n)}function ss(e,t){const r=Ye(e);return r===t||!we(r)||kt(r)?!1:xe(r).position==="fixed"||ss(r,t)}function Ql(e,t){const r=t.get(e);if(r)return r;let n=Ut(e,[],!1).filter(a=>we(a)&&jt(a)!=="body"),o=null;const s=xe(e).position==="fixed";let i=s?Ye(e):e;for(;we(i)&&!kt(i);){const a=xe(i),c=hn(i);!c&&a.position==="fixed"&&(o=null),(s?!c&&!o:!c&&a.position==="static"&&!!o&&Kl.has(o.position)||Xt(i)&&!c&&ss(e,i))?n=n.filter(d=>d!==i):o=a,i=Ye(i)}return t.set(e,n),n}function Gl(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const i=[...r==="clippingAncestors"?br(t)?[]:Ql(t,this._c):[].concat(r),n],a=i[0],c=i.reduce((l,d)=>{const f=Wn(t,d,o);return l.top=ae(f.top,l.top),l.right=Ge(f.right,l.right),l.bottom=Ge(f.bottom,l.bottom),l.left=ae(f.left,l.left),l},Wn(t,a,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Yl(e){const{width:t,height:r}=rs(e);return{width:t,height:r}}function Xl(e,t,r){const n=Re(t),o=Oe(t),s=r==="fixed",i=ut(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const c=Pe(0);function l(){c.x=gn(o)}if(n||!n&&!s)if((jt(t)!=="body"||Xt(o))&&(a=wr(t)),n){const u=ut(t,!0,s,t);c.x=u.x+t.clientLeft,c.y=u.y+t.clientTop}else o&&l();s&&!n&&o&&l();const d=o&&!n&&!s?os(o,a):Pe(0),f=i.left+a.scrollLeft-c.x-d.x,m=i.top+a.scrollTop-c.y-d.y;return{x:f,y:m,width:i.width,height:i.height}}function Ir(e){return xe(e).position==="static"}function Qn(e,t){if(!Re(e)||xe(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return Oe(e)===r&&(r=r.ownerDocument.body),r}function is(e,t){const r=le(e);if(br(e))return r;if(!Re(e)){let o=Ye(e);for(;o&&!kt(o);){if(we(o)&&!Ir(o))return o;o=Ye(o)}return r}let n=Qn(e,t);for(;n&&Il(n)&&Ir(n);)n=Qn(n,t);return n&&kt(n)&&Ir(n)&&!hn(n)?r:n||Fl(e)||r}const Zl=async function(e){const t=this.getOffsetParent||is,r=this.getDimensions,n=await r(e.floating);return{reference:Xl(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Jl(e){return xe(e).direction==="rtl"}const ec={convertOffsetParentRelativeRectToViewportRelativeRect:Bl,getDocumentElement:Oe,getClippingRect:Gl,getOffsetParent:is,getElementRects:Zl,getClientRects:Vl,getDimensions:Yl,getScale:bt,isElement:we,isRTL:Jl};function as(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function tc(e,t){let r=null,n;const o=Oe(e);function s(){var a;clearTimeout(n),(a=r)==null||a.disconnect(),r=null}function i(a,c){a===void 0&&(a=!1),c===void 0&&(c=1),s();const l=e.getBoundingClientRect(),{left:d,top:f,width:m,height:u}=l;if(a||t(),!m||!u)return;const y=rr(f),h=rr(o.clientWidth-(d+m)),p=rr(o.clientHeight-(f+u)),b=rr(d),T={rootMargin:-y+"px "+-h+"px "+-p+"px "+-b+"px",threshold:ae(0,Ge(1,c))||1};let C=!0;function S(R){const j=R[0].intersectionRatio;if(j!==c){if(!C)return i();j?i(!1,j):n=setTimeout(()=>{i(!1,1e-7)},1e3)}j===1&&!as(l,e.getBoundingClientRect())&&i(),C=!1}try{r=new IntersectionObserver(S,{...T,root:o.ownerDocument})}catch{r=new IntersectionObserver(S,T)}r.observe(e)}return i(!0),s}function rc(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:c=!1}=n,l=mn(e),d=o||s?[...l?Ut(l):[],...Ut(t)]:[];d.forEach(b=>{o&&b.addEventListener("scroll",r,{passive:!0}),s&&b.addEventListener("resize",r)});const f=l&&a?tc(l,r):null;let m=-1,u=null;i&&(u=new ResizeObserver(b=>{let[x]=b;x&&x.target===l&&u&&(u.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var T;(T=u)==null||T.observe(t)})),r()}),l&&!c&&u.observe(l),u.observe(t));let y,h=c?ut(e):null;c&&p();function p(){const b=ut(e);h&&!as(h,b)&&r(),h=b,y=requestAnimationFrame(p)}return r(),()=>{var b;d.forEach(x=>{o&&x.removeEventListener("scroll",r),s&&x.removeEventListener("resize",r)}),f?.(),(b=u)==null||b.disconnect(),u=null,c&&cancelAnimationFrame(y)}}const nc=Pl,oc=Rl,sc=Cl,ic=kl,ac=Sl,Gn=El,lc=Ol,cc=(e,t,r)=>{const n=new Map,o={platform:ec,...r},s={...o.platform,_c:n};return Tl(e,t,{...o,platform:s})};var uc=typeof document<"u",dc=function(){},ar=uc?g.useLayoutEffect:dc;function pr(e,t){if(e===t)return!0;
vendor: 6,155 bytes, line 28
28if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,n,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(n=r;n--!==0;)if(!pr(e[n],t[n]))return!1;return!0}if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(t,o[n]))return!1;for(n=r;n--!==0;){const s=o[n];if(!(s==="_owner"&&e.$$typeof)&&!pr(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function ls(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Yn(e,t){const r=ls(e);return Math.round(t*r)/r}function Nr(e){const t=g.useRef(e);return ar(()=>{t.current=e}),t}function fc(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:o,elements:{reference:s,floating:i}={},transform:a=!0,whileElementsMounted:c,open:l}=e,[d,f]=g.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[m,u]=g.useState(n);pr(m,n)||u(n);const[y,h]=g.useState(null),[p,b]=g.useState(null),x=g.useCallback(k=>{k!==R.current&&(R.current=k,h(k))},[]),T=g.useCallback(k=>{k!==j.current&&(j.current=k,b(k))},[]),C=s||y,S=i||p,R=g.useRef(null),j=g.useRef(null),V=g.useRef(d),U=c!=null,H=Nr(c),F=Nr(o),O=Nr(l),q=g.useCallback(()=>{if(!R.current||!j.current)return;const k={placement:t,strategy:r,middleware:m};F.current&&(k.platform=F.current),cc(R.current,j.current,k).then(P=>{const K={...P,isPositioned:O.current!==!1};A.current&&!pr(V.current,K)&&(V.current=K,nn.flushSync(()=>{f(K)}))})},[m,t,r,F,O]);ar(()=>{l===!1&&V.current.isPositioned&&(V.current.isPositioned=!1,f(k=>({...k,isPositioned:!1})))},[l]);const A=g.useRef(!1);ar(()=>(A.current=!0,()=>{A.current=!1}),[]),ar(()=>{if(C&&(R.current=C),S&&(j.current=S),C&&S){if(H.current)return H.current(C,S,q);q()}},[C,S,q,H,U]);const B=g.useMemo(()=>({reference:R,floating:j,setReference:x,setFloating:T}),[x,T]),I=g.useMemo(()=>({reference:C,floating:S}),[C,S]),L=g.useMemo(()=>{const k={position:r,left:0,top:0};if(!I.floating)return k;const P=Yn(I.floating,d.x),K=Yn(I.floating,d.y);return a?{...k,transform:"translate("+P+"px, "+K+"px)",...ls(I.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:P,top:K}},[r,a,I.floating,d.x,d.y]);return g.useMemo(()=>({...d,update:q,refs:B,elements:I,floatingStyles:L}),[d,q,B,I,L])}const hc=e=>{function t(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){const{element:n,padding:o}=typeof e=="function"?e(r):e;return n&&t(n)?n.current!=null?Gn({element:n.current,padding:o}).fn(r):{}:n?Gn({element:n,padding:o}).fn(r):{}}}},pc=(e,t)=>({...nc(e),options:[e,t]}),mc=(e,t)=>({...oc(e),options:[e,t]}),gc=(e,t)=>({...lc(e),options:[e,t]}),yc=(e,t)=>({...sc(e),options:[e,t]}),vc=(e,t)=>({...ic(e),options:[e,t]}),bc=(e,t)=>({...ac(e),options:[e,t]}),wc=(e,t)=>({...hc(e),options:[e,t]});var xc="Arrow",cs=g.forwardRef((e,t)=>{const{children:r,width:n=10,height:o=5,...s}=e;return w.jsx(Te.svg,{...s,ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:w.jsx("polygon",{points:"0,0 30,0 15,10"})})});cs.displayName=xc;var Tc=cs;function Ec(e){const[t,r]=g.useState(void 0);return ur(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const n=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const s=o[0];let i,a;if("borderBoxSize"in s){const c=s.borderBoxSize,l=Array.isArray(c)?c[0]:c;i=l.inlineSize,a=l.blockSize}else i=e.offsetWidth,a=e.offsetHeight;r({width:i,height:a})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),t}var us="Popper",[ds,fs]=rn(us),[vd,hs]=ds(us),ps="PopperAnchor",ms=g.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,s=hs(ps,r),i=g.useRef(null),a=Dt(t,i);return g.useEffect(()=>{s.onAnchorChange(n?.current||i.current)}),n?null:w.jsx(Te.div,{...o,ref:a})});ms.displayName=ps;var yn="PopperContent",[Cc,Sc]=ds(yn),gs=g.forwardRef((e,t)=>{const{__scopePopper:r,side:n="bottom",sideOffset:o=0,align:s="center",alignOffset:i=0,arrowPadding:a=0,avoidCollisions:c=!0,collisionBoundary:l=[],collisionPadding:d=0,sticky:f="partial",hideWhenDetached:m=!1,updatePositionStrategy:u="optimized",onPlaced:y,...h}=e,p=hs(yn,r),[b,x]=g.useState(null),T=Dt(t,Q=>x(Q)),[C,S]=g.useState(null),R=Ec(C),j=R?.width??0,V=R?.height??0,U=n+(s!=="center"?"-"+s:""),H=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},F=Array.isArray(l)?l:[l],O=F.length>0,q={padding:H,boundary:F.filter(Pc),altBoundary:O},{refs:A,floatingStyles:B,placement:I,isPositioned:L,middlewareData:k}=fc({strategy:"fixed",placement:U,whileElementsMounted:(...Q)=>rc(...Q,{animationFrame:u==="always"}),elements:{reference:p.anchor},middleware:[pc({mainAxis:o+V,alignmentAxis:i}),c&&mc({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?gc():void 0,...q}),c&&yc({...q}),vc({...q,apply:({elements:Q,rects:ft,availableWidth:Ze,availableHeight:ht})=>{const{width:Je,height:Lt}=ft.reference,et=Q.floating.style;et.setProperty("--radix-popper-available-width",`${Ze}px`),et.setProperty("--radix-popper-available-height",`${ht}px`),et.setProperty("--radix-popper-anchor-width",`${Je}px`),et.setProperty("--radix-popper-anchor-height",`${Lt}px`)}}),C&&wc({element:C,padding:a}),Rc({arrowWidth:j,arrowHeight:V}),m&&bc({strategy:"referenceHidden",...q})]}),[P,K]=bs(I),J=Vt(y);ur(()=>{L&&J?.()},[L,J]);const _=k.arrow?.x,$=k.arrow?.y,W=k.arrow?.centerOffset!==0,[ee,_e]=g.useState();return ur(()=>{b&&_e(window.getComputedStyle(b).zIndex)},[b]),w.jsx("div",{ref:A.setFloating,"data-radix-popper-content-wrapper":"",style:{...B,transform:L?B.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ee,"--radix-popper-transform-origin":[k.transformOrigin?.x,k.transformOrigin?.y].join(" "),...k.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:w.jsx(Cc,{scope:r,placedSide:P,onArrowChange:S,arrowX:_,arrowY:$,shouldHideArrow:W,children:w.jsx(Te.div,{"data-side":P,"data-align":K,...h,ref:T,style:{...h.style,animation:L?void 0:"none"}})})})});gs.displayName=yn;var ys="PopperArrow",Ac={top:"bottom",right:"left",bottom:"top",left:"r
28ight"},vs=g.forwardRef(function(t,r){const{__scopePopper:n,...o}=t,s=Sc(ys,n),i=Ac[s.placedSide];return w.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:w.jsx(Tc,{...o,ref:r,style:{...o.style,display:"block"}})})});vs.displayName=ys;function Pc(e){return e!==null}var Rc=e=>({name:"transformOrigin",options:e,fn(t){const{placement:r,rects:n,middlewareData:o}=t,i=o.arrow?.centerOffset!==0,a=i?0:e.arrowWidth,c=i?0:e.arrowHeight,[l,d]=bs(r),f={start:"0%",center:"50%",end:"100%"}[d],m=(o.arrow?.x??0)+a/2,u=(o.arrow?.y??0)+c/2;let y="",h="";return l==="bottom"?(y=i?f:`${m}px`,h=`${-c}px`):l==="top"?(y=i?f:`${m}px`,h=`${n.floating.height+c}px`):l==="right"?(y=`${-c}px`,h=i?f:`${u}px`):l==="left"&&(y=`${n.floating.width+c}px`,h=i?f:`${u}px`),{data:{x:y,y:h}}}});function bs(e){const[t,r="center"]=e.split("-");return[t,r]}var Oc=ms,kc=gs,Mc=vs,[xr,bd]=rn("Tooltip",[fs]),vn=fs(),ws="TooltipProvider",Dc=700,Xn="tooltip.open",[Ic,xs]=xr(ws),Ts=e=>{const{__scopeTooltip:t,delayDuration:r=Dc,skipDelayDuration:n=300,disableHoverableContent:o=!1,children:s}=e,i=g.useRef(!0),a=g.useRef(!1),c=g.useRef(0);return g.useEffect(()=>{const l=c.current;return()=>window.clearTimeout(l)},[]),w.jsx(Ic,{scope:t,isOpenDelayedRef:i,delayDuration:r,onOpen:g.useCallback(()=>{window.clearTimeout(c.current),i.current=!1},[]),onClose:g.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>i.current=!0,n)},[n]),isPointerInTransitRef:a,onPointerInTransitChange:g.useCallback(l=>{a.current=l},[]),disableHoverableContent:o,children:s})};Ts.displayName=ws;var Es="Tooltip",[wd,Tr]=xr(Es),Gr="TooltipTrigger",Nc=g.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=Tr(Gr,r),s=xs(Gr,r),i=vn(r),a=g.useRef(null),c=Dt(t,a,o.onTriggerChange),l=g.useRef(!1),d=g.useRef(!1),f=g.useCallback(()=>l.current=!1,[]);return g.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),w.jsx(Oc,{asChild:!0,...i,children:w.jsx(Te.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...n,ref:c,onPointerMove:ne(e.onPointerMove,m=>{m.pointerType!=="touch"&&!d.current&&!s.isPointerInTransitRef.current&&(o.onTriggerEnter(),d.current=!0)}),onPointerLeave:ne(e.onPointerLeave,()=>{o.onTriggerLeave(),d.current=!1}),onPointerDown:ne(e.onPointerDown,()=>{o.open&&o.onClose(),l.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:ne(e.onFocus,()=>{l.current||o.onOpen()}),onBlur:ne(e.onBlur,o.onClose),onClick:ne(e.onClick,o.onClose)})})});Nc.displayName=Gr;var jc="TooltipPortal",[xd,Lc]=xr(jc,{forceMount:void 0}),Mt="TooltipContent",Cs=g.forwardRef((e,t)=>{const r=Lc(Mt,e.__scopeTooltip),{forceMount:n=r.forceMount,side:o="top",...s}=e,i=Tr(Mt,e.__scopeTooltip);return w.jsx(vo,{present:n||i.open,children:i.disableHoverableContent?w.jsx(Ss,{side:o,...s,ref:t}):w.jsx(_c,{side:o,...s,ref:t})})}),_c=g.forwardRef((e,t)=>{const r=Tr(Mt,e.__scopeTooltip),n=xs(Mt,e.__scopeTooltip),o=g.useRef(null),s=Dt(t,o),[i,a]=g.useState(null),{trigger:c,onClose:l}=r,d=o.current,{onPointerInTransitChange:f}=n,m=g.useCallback(()=>{a(null),f(!1)},[f]),u=g.useCallback((y,h)=>{const p=y.currentTarget,b={x:y.clientX,y:y.clientY},x=Bc(b,p.getBoundingClientRect()),T=Vc(b,x),C=qc(h.getBoundingClientRect()),S=Kc([...T,...C]);a(S),f(!0)},[f]);return g.useEffect(()=>()=>m(),[m]),g.useEffect(()=>{if(c&&d){const y=p=>u(p,d),h=p=>u(p,c);return c.addEventListener("pointerleave",y),d.addEventListener("pointerleave",h),()=>{c.removeEventListener("pointerleave",y),d.removeEventListener("pointerleave",h)}}},[c,d,u,m]),g.useEffect(()=>{if(i){const y=h=>{const p=h.target,b={x:h.clientX,y:h.clientY},x=c?.contains(p)||d?.contains(p),T=!Uc(b,i);x?m():T&&(m(),l())};return document.addEventListener("pointermove",y),()=>document.removeEventListener("pointermove",y)}},[c,d,i,l,m]),w.jsx(Ss,{...e,ref:s})}),[Fc,$c]=xr(Es,{isInside:!1}),zc=ui("TooltipContent"),Ss=g.forwardRef((e,t)=>
28{const{__scopeTooltip:r,children:n,"aria-label":o,onEscapeKeyDown:s,onPointerDownOutside:i,...a}=e,c=Tr(Mt,r),l=vn(r),{onClose:d}=c;return g.useEffect(()=>(document.addEventListener(Xn,d),()=>document.removeEventListener(Xn,d)),[d]),g.useEffect(()=>{if(c.trigger){const f=m=>{m.target?.contains(c.trigger)&&d()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[c.trigger,d]),w.jsx(ci,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:f=>f.preventDefault(),onDismiss:d,children:w.jsxs(kc,{"data-state":c.stateAttribute,...l,...a,ref:t,style:{...a.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:[w.jsx(zc,{children:n}),w.jsx(Fc,{scope:r,isInside:!0,children:w.jsx(Ai,{id:c.contentId,role:"tooltip",children:o||n})})]})})});Cs.displayName=Mt;var As="TooltipArrow",Hc=g.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=vn(r);return $c(As,r).isInside?null:w.jsx(Mc,{...o,...n,ref:t})});Hc.displayName=As;function Bc(e,t){const r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(r,n,o,s)){case s:return"left";case o:return"right";case r:return"top";case n:return"bottom";default:throw new Error("unreachable")}}function Vc(e,t,r=5){const n=[];switch(t){case"top":n.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":n.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":n.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":n.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r});break}return n}function qc(e){const{top:t,right:r,bottom:n,left:o}=e;return[{x:o,y:t},{x:r,y:t},{x:r,y:n},{x:o,y:n}]}function Uc(e,t){const{x:r,y:n}=e;let o=!1;for(let s=0,i=t.length-1;s<t.length;i=s++){const a=t[s],c=t[i],l=a.x,d=a.y,f=c.x,m=c.y;d>n!=m>n&&r<(f-l)*(n-d)/(m-d)+l&&(o=!o)}return o}function Kc(e){const t=e.slice();return t.sort((r,n)=>r.x<n.x?-1:r.x>n.x?1:r.y<n.y?-1:r.y>n.y?1:0),Wc(t)}function Wc(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n<e.length;n++){const o=e[n];for(;t.length>=2;){const s=t[t.length-1],i=t[t.length-2];if((s.x-i.x)*(o.y-i.y)>=(s.y-i.y)*(o.x-i.x))t.pop();else break}t.push(o)}t.pop();const r=[];for(let n=e.length-1;n>=0;n--){const o=e[n];for(;r.length>=2;){const s=r[r.length-1],i=r[r.length-2];if((s.x-i.x)*(o.y-i.y)>=(s.y-i.y)*(o.x-i.x))r.pop();else break}r.push(o)}return r.pop(),t.length===1&&r.length===1&&t[0].x===r[0].x&&t[0].y===r[0].y?t:t.concat(r)}var Qc=Ts,Ps=Cs;const Gc=Qc,Yc=g.forwardRef(({className:e,sideOffset:t=4,...r},n)=>w.jsx(Ps,{ref:n,sideOffset:t,className:dt("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...r}));Yc.displayName=Ps.displayName;var Er=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(){}},Cr=typeof window>"u"||"Deno"in globalThis;function ge(){}function Xc(e,t){return typeof e=="function"?e(t):e}function Zc(e){return typeof e=="number"&&e>=0&&e!==1/0}function Jc(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Yr(e,t){return typeof e=="function"?e(t):e}function eu(e,t){return typeof e=="function"?e(t):e}function Zn(e,t){const{type:r="all",exact:n,fetchStatus:o,predicate:s,queryKey:i,stale:a}=e;if(i){if(n){if(t.queryHash!==bn(i,t.options))return!1}else if(!Wt(t.queryKey,i))return!1}if(r!=="all"){const c=t.isActive();if(r==="active"&&!c||r==="inactive"&&c)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||o&&o!==t.state.fetchStatus||s&&!s(t))}function Jn(e,t){const{exact:r,status:n,predicate:o,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(r){if(Kt(t.options.mutationKey)!==Kt(s))return!1}else if(!Wt(t.options.mutationKey,s))return!1}return!(n&&t.state.status!==n||o&&!o(t))}function bn(e,t){return(t?.queryKeyHashFn||Kt)(e)}function Kt(e){return JSON.stringify(e,(t,r)=>Xr(r)?Object.keys(r).sort().reduce((n,o)=>(n[o]=r[o],n),{}):r)}function Wt(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(r=>Wt(e[r],t[r])):!1}function Rs(e,t){if(e===t)return e;const r=eo(e)&&eo(t);if(r||Xr(e)&&Xr(t)){const n=r?e:Object.keys(e),o=n.length,s=r?t:Object.keys(t),i=s.length,a=r?[]:{},c=new Set(n);let l=0;for(let d=0;d<i;d++){const f=r?d:s[d];(!r&&c.has(f)||r)&&e[f]===void 0&&t[f]===void 0?(a[f]=void 0,l++):(a[f]=Rs(e[f],t[f]),a[f]===e[f]&&e[f]!==void 0&&l++)}return o===i&&l===o?e:a}return t}function eo(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Xr(e){if(!to(e))return!1;const t=e.constructor;if(t===void 0)return!0;const r=t.prototype;return!(!to(r)||!r.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function to(e){return Object.prototype.toString.call(e)==="[object Object]"}function tu(e){return new Promise(t=>{setTimeout(t,e)})}function ru(e,t,r){return typeof r.structuralSharing=="function"?r.structuralSharing(e,t):r.structuralSharing!==!1?Rs(e,t):t}function nu(e,t,r=0){const n=[...e,t];return r&&n.length>r?n.slice(1):n}function ou(e,t,r=0){const n=[t,...e];return r&&n.length>r?n.slice(0,-1):n}var wn=Symbol();function Os(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===wn?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}
28var nt,qe,Tt,co,su=(co=class extends Er{constructor(){super();z(this,nt);z(this,qe);z(this,Tt);D(this,Tt,t=>{if(!Cr&&window.addEventListener){const r=()=>t();return window.addEventListener("visibilitychange",r,!1),()=>{window.removeEventListener("visibilitychange",r)}}})}onSubscribe(){v(this,qe)||this.setEventListener(v(this,Tt))}onUnsubscribe(){var t;this.hasListeners()||((t=v(this,qe))==null||t.call(this),D(this,qe,void 0))}setEventListener(t){var r;D(this,Tt,t),(r=v(this,qe))==null||r.call(this),D(this,qe,t(n=>{typeof n=="boolean"?this.setFocused(n):this.onFocus()}))}setFocused(t){v(this,nt)!==t&&(D(this,nt,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(r=>{r(t)})}isFocused(){return typeof v(this,nt)=="boolean"?v(this,nt):globalThis.document?.visibilityState!=="hidden"}},nt=new WeakMap,qe=new WeakMap,Tt=new WeakMap,co),ks=new su,Et,Ue,Ct,uo,iu=(uo=class extends Er{constructor(){super();z(this,Et,!0);z(this,Ue);z(this,Ct);D(this,Ct,t=>{if(!Cr&&window.addEventListener){const r=()=>t(!0),n=()=>t(!1);return window.addEventListener("online",r,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",n)}}})}onSubscribe(){v(this,Ue)||this.setEventListener(v(this,Ct))}onUnsubscribe(){var t;this.hasListeners()||((t=v(this,Ue))==null||t.call(this),D(this,Ue,void 0))}setEventListener(t){var r;D(this,Ct,t),(r=v(this,Ue))==null||r.call(this),D(this,Ue,t(this.setOnline.bind(this)))}setOnline(t){v(this,Et)!==t&&(D(this,Et,t),this.listeners.forEach(n=>{n(t)}))}isOnline(){return v(this,Et)}},Et=new WeakMap,Ue=new WeakMap,Ct=new WeakMap,uo),mr=new iu;function au(){let e,t;const r=new Promise((o,s)=>{e=o,t=s});r.status="pending",r.catch(()=>{});function n(o){Object.assign(r,o),delete r.resolve,delete r.reject}return r.resolve=o=>{n({status:"fulfilled",value:o}),e(o)},r.reject=o=>{n({status:"rejected",reason:o}),t(o)},r}function lu(e){return Math.min(1e3*2**e,3e4)}function Ms(e){return(e??"online")==="online"?mr.isOnline():!0}var Ds=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function jr(e){return e instanceof Ds}function Is(e){let t=!1,r=0,n=!1,o;const s=au(),i=h=>{n||(m(new Ds(h)),e.abort?.())},a=()=>{t=!0},c=()=>{t=!1},l=()=>ks.isFocused()&&(e.networkMode==="always"||mr.isOnline())&&e.canRun(),d=()=>Ms(e.networkMode)&&e.canRun(),f=h=>{n||(n=!0,e.onSuccess?.(h),o?.(),s.resolve(h))},m=h=>{n||(n=!0,e.onError?.(h),o?.(),s.reject(h))},u=()=>new Promise(h=>{o=p=>{(n||l())&&h(p)},e.onPause?.()}).then(()=>{o=void 0,n||e.onContinue?.()}),y=()=>{if(n)return;let h;const p=r===0?e.initialPromise:void 0;try{h=p??e.fn()}catch(b){h=Promise.reject(b)}Promise.resolve(h).then(f).catch(b=>{if(n)return;const x=e.retry??(Cr?0:3),T=e.retryDelay??lu,C=typeof T=="function"?T(r,b):T,S=x===!0||typeof x=="number"&&r<x||typeof x=="function"&&x(r,b);if(t||!S){m(b);return}r++,e.onFail?.(r,b),tu(C).then(()=>l()?void 0:u()).then(()=>{t?m(b):y()})})};return{promise:s,cancel:i,continue:()=>(o?.(),s),cancelRetry:a,continueRetry:c,canStart:d,start:()=>(d()?y():u().then(y),s)}}var cu=e=>setTimeout(e,0);function uu(){let e=[],t=0,r=a=>{a()},n=a=>{a()},o=cu;const s=a=>{t?e.push(a):o(()=>{r(a)})},i=()=>{const a=e;e=[],a.length&&o(()=>{n(()=>{a.forEach(c=>{r(c)})})})};return{batch:a=>{let c;t++;try{c=a()}finally{t--,t||i()}return c},batchCalls:a=>(...c)=>{s(()=>{a(...c)})},schedule:s,setNotifyFunction:a=>{r=a},setBatchNotifyFunction:a=>{n=a},setScheduler:a=>{o=a}}}var se=uu(),ot,fo,Ns=(fo=class{constructor(){z(this,ot)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Zc(this.gcTime)&&D(this,ot,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Cr?1/0:5*60*1e3))}clearGcTimeout(){v(this,ot)&&(clearTimeout(v(this,ot)),D(this,ot,void 0))}},ot=new WeakMap,fo),St,st,de,it,re,Qt,at,ye,Ie,ho,du=(ho=class extends Ns{constructor(t){super();z(this,ye);z(this,St);z(this,st);z(this,de);z(this,it);z(this,re);z(this,Qt);z(this,at);D(this,at,!1),D(this,Qt,t.defaultOptions),this.setOptions(t.options),this.observers=[],D(this,it,t.client),D(this,de,v(this,it).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,D(this,St,hu(this.options)),this.state=t.state??v(this,St),this.scheduleGc()}get meta(){return this.options.meta}get promise(){return v(this,re)?.promise}setOptions(t){this.options={...v(this,Qt),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&v(this,de).remove(this)}setData(t,r){const n=ru(this.state.data,t,this.options);return te(this,ye,Ie).call(this,{data:n,type:"success",dataUpdatedAt:r?.updatedAt,manual:r?.manual}),n}
28setState(t,r){te(this,ye,Ie).call(this,{type:"setState",state:t,setStateOptions:r})}cancel(t){const r=v(this,re)?.promise;return v(this,re)?.cancel(t),r?r.then(ge).catch(ge):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(v(this,St))}isActive(){return this.observers.some(t=>eu(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===wn||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Yr(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!Jc(this.state.dataUpdatedAt,t)}onFocus(){this.observers.find(r=>r.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),v(this,re)?.continue()}onOnline(){this.observers.find(r=>r.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),v(this,re)?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),v(this,de).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(r=>r!==t),this.observers.length||(v(this,re)&&(v(this,at)?v(this,re).cancel({revert:!0}):v(this,re).cancelRetry()),this.scheduleGc()),v(this,de).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||te(this,ye,Ie).call(this,{type:"invalidate"})}fetch(t,r){if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&r?.cancelRefetch)this.cancel({silent:!0});else if(v(this,re))return v(this,re).continueRetry(),v(this,re).promise}if(t&&this.setOptions(t),!this.options.queryFn){const l=this.observers.find(d=>d.options.queryFn);l&&this.setOptions(l.options)}const n=new AbortController,o=l=>{Object.defineProperty(l,"signal",{enumerable:!0,get:()=>(D(this,at,!0),n.signal)})},s=()=>{const l=Os(this.options,r),f=(()=>{const m={client:v(this,it),queryKey:this.queryKey,meta:this.meta};return o(m),m})();return D(this,at,!1),this.options.persister?this.options.persister(l,f,this):l(f)},a=(()=>{const l={fetchOptions:r,options:this.options,queryKey:this.queryKey,client:v(this,it),state:this.state,fetchFn:s};return o(l),l})();this.options.behavior?.onFetch(a,this),D(this,st,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==a.fetchOptions?.meta)&&te(this,ye,Ie).call(this,{type:"fetch",meta:a.fetchOptions?.meta});const c=l=>{jr(l)&&l.silent||te(this,ye,Ie).call(this,{type:"error",error:l}),jr(l)||(v(this,de).config.onError?.(l,this),v(this,de).config.onSettled?.(this.state.data,l,this)),this.scheduleGc()};return D(this,re,Is({initialPromise:r?.initialPromise,fn:a.fetchFn,abort:n.abort.bind(n),onSuccess:l=>{if(l===void 0){c(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(l)}catch(d){c(d);return}v(this,de).config.onSuccess?.(l,this),v(this,de).config.onSettled?.(l,this.state.error,this),this.scheduleGc()},onError:c,onFail:(l,d)=>{te(this,ye,Ie).call(this,{type:"failed",failureCount:l,error:d})},onPause:()=>{te(this,ye,Ie).call(this,{type:"pause"})},onContinue:()=>{te(this,ye,Ie).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),v(this,re).start()}},St=new WeakMap,st=new WeakMap,de=new WeakMap,it=new WeakMap,re=new WeakMap,Qt=new WeakMap,at=new WeakMap,ye=new WeakSet,Ie=function(t){const r=n=>{switch(t.type){case"failed":return{...n,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...fu(n.data,this.options),fetchMeta:t.meta??null};case"success":return D(this,st,void 0),{...n,data:t.data,dataUpdateCount:n.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const o=t.error;return jr(o)&&o.revert&&v(this,st)?{...v(this,st),fetchStatus:"idle"}
28:{...n,error:o,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...t.state}}};this.state=r(this.state),se.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),v(this,de).notify({query:this,type:"updated",action:t})})},ho);function fu(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Ms(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function hu(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,r=t!==void 0,n=r?typeof e.initialDataUpdatedAt=="function"?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"}}var Ee,po,pu=(po=class extends Er{constructor(t={}){super();z(this,Ee);this.config=t,D(this,Ee,new Map)}build(t,r,n){const o=r.queryKey,s=r.queryHash??bn(o,r);let i=this.get(s);return i||(i=new du({client:t,queryKey:o,queryHash:s,options:t.defaultQueryOptions(r),state:n,defaultOptions:t.getQueryDefaults(o)}),this.add(i)),i}add(t){v(this,Ee).has(t.queryHash)||(v(this,Ee).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const r=v(this,Ee).get(t.queryHash);r&&(t.destroy(),r===t&&v(this,Ee).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){se.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return v(this,Ee).get(t)}getAll(){return[...v(this,Ee).values()]}find(t){const r={exact:!0,...t};return this.getAll().find(n=>Zn(r,n))}findAll(t={}){const r=this.getAll();return Object.keys(t).length>0?r.filter(n=>Zn(t,n)):r}notify(t){se.batch(()=>{this.listeners.forEach(r=>{r(t)})})}onFocus(){se.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){se.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Ee=new WeakMap,po),Ce,oe,lt,Se,Ve,mo,mu=(mo=class extends Ns{constructor(t){super();z(this,Se);z(this,Ce);z(this,oe);z(this,lt);this.mutationId=t.mutationId,D(this,oe,t.mutationCache),D(this,Ce,[]),this.state=t.state||gu(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){v(this,Ce).includes(t)||(v(this,Ce).push(t),this.clearGcTimeout(),v(this,oe).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){D(this,Ce,v(this,Ce).filter(r=>r!==t)),this.scheduleGc(),v(this,oe).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){v(this,Ce).length||(this.state.status==="pending"?this.scheduleGc():v(this,oe).remove(this))}continue(){return v(this,lt)?.continue()??this.execute(this.state.variables)}async execute(t){const r=()=>{te(this,Se,Ve).call(this,{type:"continue"})};D(this,lt,Is({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(s,i)=>{te(this,Se,Ve).call(this,{type:"failed",failureCount:s,error:i})},onPause:()=>{te(this,Se,Ve).call(this,{type:"pause"})},onContinue:r,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>v(this,oe).canRun(this)}));const n=this.state.status==="pending",o=!v(this,lt).canStart();try{if(n)r();else{te(this,Se,Ve).call(this,{type:"pending",variables:t,isPaused:o}),await v(this,oe).config.onMutate?.(t,this);const i=await this.options.onMutate?.(t);i!==this.state.context&&te(this,Se,Ve).call(this,{type:"pending",context:i,variables:t,isPaused:o})}const s=await v(this,lt).start();return await v(this,oe).config.onSuccess?.(s,t,this.state.context,this),await this.options.onSuccess?.(s,t,this.state.context),await v(this,oe).config.onSettled?.(s,null,this.state.variables,this.state.context,this),await this.options.onSettled?.(s,null,t,this.state.context),te(this,Se,Ve).call(this,{type:"success",data:s}),s}catch(s){try{throw await v(this,oe).config.onError?.(s,t,this.state.context,this),await this.options.onError?.(s,t,this.state.context),await v(this,oe).config.onSettled?.(void 0,s,this.state.variables,this.state.context,this),await this.options.onSettled?.(void 0,s,t,this.state.context),s}finally{te(this,Se,Ve).call(this,{type:"error",error:s})}}finally{v(this,oe).runNext(this)}}},Ce=new WeakMap,oe=new WeakMap,lt=new WeakMap,Se=new WeakSet,Ve=function(t){const r=n=>{switch(t.type){case"failed":return{...n,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};
28case"pending":return{...n,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...n,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:t.error,failureCount:n.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=r(this.state),se.batch(()=>{v(this,Ce).forEach(n=>{n.onMutationUpdate(t)}),v(this,oe).notify({mutation:this,type:"updated",action:t})})},mo);function gu(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Ne,ve,Gt,go,yu=(go=class extends Er{constructor(t={}){super();z(this,Ne);z(this,ve);z(this,Gt);this.config=t,D(this,Ne,new Set),D(this,ve,new Map),D(this,Gt,0)}build(t,r,n){const o=new mu({mutationCache:this,mutationId:++Jt(this,Gt)._,options:t.defaultMutationOptions(r),state:n});return this.add(o),o}add(t){v(this,Ne).add(t);const r=nr(t);if(typeof r=="string"){const n=v(this,ve).get(r);n?n.push(t):v(this,ve).set(r,[t])}this.notify({type:"added",mutation:t})}remove(t){if(v(this,Ne).delete(t)){const r=nr(t);if(typeof r=="string"){const n=v(this,ve).get(r);if(n)if(n.length>1){const o=n.indexOf(t);o!==-1&&n.splice(o,1)}else n[0]===t&&v(this,ve).delete(r)}}this.notify({type:"removed",mutation:t})}canRun(t){const r=nr(t);if(typeof r=="string"){const o=v(this,ve).get(r)?.find(s=>s.state.status==="pending");return!o||o===t}else return!0}runNext(t){const r=nr(t);return typeof r=="string"?v(this,ve).get(r)?.find(o=>o!==t&&o.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){se.batch(()=>{v(this,Ne).forEach(t=>{this.notify({type:"removed",mutation:t})}),v(this,Ne).clear(),v(this,ve).clear()})}getAll(){return Array.from(v(this,Ne))}find(t){const r={exact:!0,...t};return this.getAll().find(n=>Jn(r,n))}findAll(t={}){return this.getAll().filter(r=>Jn(t,r))}notify(t){se.batch(()=>{this.listeners.forEach(r=>{r(t)})})}resumePausedMutations(){const t=this.getAll().filter(r=>
28r.state.isPaused);return se.batch(()=>Promise.all(t.map(r=>r.continue().catch(ge))))}},Ne=new WeakMap,ve=new WeakMap,Gt=new WeakMap,go);function nr(e){return e.options.scope?.id}function ro(e){return{onFetch:(t,r)=>{const n=t.options,o=t.fetchOptions?.meta?.fetchMore?.direction,s=t.state.data?.pages||[],i=t.state.data?.pageParams||[];let a={pages:[],pageParams:[]},c=0;const l=async()=>{let d=!1;const f=y=>{Object.defineProperty(y,"signal",{enumerable:!0,get:()=>(t.signal.aborted?d=!0:t.signal.addEventListener("abort",()=>{d=!0}),t.signal)})},m=Os(t.options,t.fetchOptions),u=async(y,h,p)=>{if(d)return Promise.reject();if(h==null&&y.pages.length)return Promise.resolve(y);const x=(()=>{const R={client:t.client,queryKey:t.queryKey,pageParam:h,direction:p?"backward":"forward",meta:t.options.meta};return f(R),R})(),T=await m(x),{maxPages:C}=t.options,S=p?ou:nu;return{pages:S(y.pages,T,C),pageParams:S(y.pageParams,h,C)}};if(o&&s.length){const y=o==="backward",h=y?vu:no,p={pages:s,pageParams:i},b=h(n,p);a=await u(p,b,y)}else{const y=e??s.length;do{const h=c===0?i[0]??n.initialPageParam:no(n,a);if(c>0&&h==null)break;a=await u(a,h),c++}while(c<y)}return a};t.options.persister?t.fetchFn=()=>t.options.persister?.(l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r):t.fetchFn=l}}}function no(e,{pages:t,pageParams:r}){const n=t.length-1;return t.length>0?e.getNextPageParam(t[n],t,r[n],r):void 0}function vu(e,{pages:t,pageParams:r}){return t.length>0?e.getPreviousPageParam?.(t[0],t,r[0],r):void 0}var Z,Ke,We,At,Pt,Qe,Rt,Ot,yo,bu=(yo=class{constructor(e={}){z(this,Z);z(this,Ke);z(this,We);z(this,At);z(this,Pt);z(this,Qe);z(this,Rt);z(this,Ot);D(this,Z,e.queryCache||new pu),D(this,Ke,e.mutationCache||new yu),D(this,We,e.defaultOptions||{}),D(this,At,new Map),D(this,Pt,new Map),D(this,Qe,0)}mount(){Jt(this,Qe)._++,v(this,Qe)===1&&(D(this,Rt,ks.subscribe(async e=>{e&&(await this.resumePausedMutations(),v(this,Z).onFocus())})),D(this,Ot,mr.subscribe(async e=>{e&&(await this.resumePausedMutations(),v(this,Z).onOnline())})))}unmount(){var e,t;Jt(this,Qe)._--,v(this,Qe)===0&&((e=v(this,Rt))==null||e.call(this),D(this,Rt,void 0),(t=v(this,Ot))==null||t.call(this),D(this,Ot,void 0))}isFetching(e){return v(this,Z).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return v(this,Ke).findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return v(this,Z).get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),r=v(this,Z).build(this,t),n=r.state.data;return n===void 0?this.fetchQuery(e):(e.revalidateIfStale&&r.isStaleByTime(Yr(t.staleTime,r))&&this.prefetchQuery(t),Promise.resolve(n))}getQueriesData(e){return v(this,Z).findAll(e).map(({queryKey:t,state:r})=>{const n=r.data;return[t,n]})}setQueryData(e,t,r){const n=this.defaultQueryOptions({queryKey:e}),s=v(this,Z).get(n.queryHash)?.state.data,i=Xc(t,s);if(i!==void 0)return v(this,Z).build(this,n).setData(i,{...r,manual:!0})}setQueriesData(e,t,r){return se.batch(()=>v(this,Z).findAll(e).map(({queryKey:n})=>[n,this.setQueryData(n,t,r)]))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return v(this,Z).get(t.queryHash)?.state}removeQueries(e){const t=v(this,Z);se.batch(()=>{t.findAll(e).forEach(r=>{t.remove(r)})})}resetQueries(e,t){const r=v(this,Z);return se.batch(()=>(r.findAll(e).forEach(n=>{n.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const r={revert:!0,...t},n=se.batch(()=>v(this,Z).findAll(e).map(o=>o.cancel(r)));return Promise.all(n).then(ge).catch(ge)}invalidateQueries(e,t={}){return se.batch(()=>(v(this,Z).findAll(e).forEach(r=>{r.invalidate()}),e?.refetchType==="none"?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t)))}refetchQueries(e,t={}){const r={...t,cancelRefetch:t.cancelRefetch??!0},n=se.batch(()=>v(this,Z).findAll(e).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let s=o.fetch(void 0,r);return r.throwOnError||(s=s.catch(ge)),o.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(n).then(ge)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const r=v(this,Z).build(this,t);return r.isStaleByTime(Yr(t.staleTime,r))?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(ge).catch(ge)}fetchInfiniteQuery(e){return e.behavior=ro(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(ge).catch(ge)}ensureInfiniteQueryData(e){return e.behavior=ro(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return mr.isOnline()?v(this,Ke).resumePausedMutations():Promise.resolve()}getQueryCache(){return v(this,Z)}getMutationCache(){return v(this,Ke)}getDefaultOptions(){return v(this,We)}setDefaultOptions(e){D(this,We,e)}setQueryDefaults(e,t){v(this,At).set(Kt(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...v(this,At).values()],r={};return t.forEach(n=>{Wt(e,n.queryKey)&&Object.assign(r,n.defaultOptions)}),r}setMutationDefaults(e,t){v(this,Pt).set(Kt(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...v(this,Pt).values()],r={};return t.forEach(n=>{Wt(e,n.mutationKey)&&Object.assign(r,n.defaultOptions)}),r}defaultQueryOptions(e){if(e._defaulted)return e;const t={...v(this,We).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=bn(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===wn&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...v(this,We).mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){v(this,Z).clear(),v(this,Ke).clear()}},Z=new WeakMap,Ke=new WeakMap,We=new WeakMap,At=new WeakMap,Pt=new WeakMap,Qe=new WeakMap,Rt=new WeakMap,Ot=new WeakMap,yo),wu=g.createContext(void 0),xu=({client:e,children:t})=>(g.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),w.jsx(wu.Provider,{value:e,children:t})),Tu=typeof Element<"u",Eu=typeof Map=="function",Cu=typeof Set=="function",Su=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function lr(e,t){if(e===t)return!0;
28if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var r,n,o;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!lr(e[n],t[n]))return!1;return!0}var s;if(Eu&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(s=e.entries();!(n=s.next()).done;)if(!t.has(n.value[0]))return!1;for(s=e.entries();!(n=s.next()).done;)if(!lr(n.value[1],t.get(n.value[0])))return!1;return!0}if(Cu&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(s=e.entries();!(n=s.next()).done;)if(!t.has(n.value[0]))return!1;return!0}if(Su&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(e[n]!==t[n])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[n]))return!1;if(Tu&&e instanceof Element)return!1;for(n=r;n--!==0;)if(!((o[n]==="_owner"||o[n]==="__v"||o[n]==="__o")&&e.$$typeof)&&!lr(e[o[n]],t[o[n]]))return!1;return!0}return e!==e&&t!==t}var Au=function(t,r){try{return lr(t,r)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}};const Pu=on(Au);var Ru=function(e,t,r,n,o,s,i,a){if(!e){var c;if(t===void 0)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[r,n,o,s,i,a],d=0;c=new Error(t.replace(/%s/g,function(){return l[d++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}},Ou=Ru;const oo=on(Ou);var ku=function(t,r,n,o){var s=n?n.call(o,t,r):void 0;if(s!==void 0)return!!s;if(t===r)return!0;if(typeof t!="object"||!t||typeof r!="object"||!r)return!1;var i=Object.keys(t),a=Object.keys(r);if(i.length!==a.length)return!1;for(var c=Object.prototype.hasOwnProperty.bind(r),l=0;l<i.length;l++){var d=i[l];if(!c(d))return!1;var f=t[d],m=r[d];if(s=n?n.call(o,f,m,d):void 0,s===!1||s===void 0&&f!==m)return!1}return!0};const Mu=on(ku);var js=(e=>(e.BASE="base",e.BODY="body",e.HEAD="head",e.HTML="html",e.LINK="link",e.META="meta",e.NOSCRIPT="noscript",e.SCRIPT="script",e.STYLE="style",e.TITLE="title",e.FRAGMENT="Symbol(react.fragment)",e))(js||{}),Lr={link:{rel:["amphtml","canonical","alternate"]},script:{type:["application/ld+json"]},meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]}},so=Object.values(js),xn={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},Du=Object.entries(xn).reduce((e,[t,r])=>(e[r]=t,e),{}),be="data-rh",wt={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},xt=(e,t)=>{for(let r=e.length-1;r>=0;r-=1){const n=e[r];if(Object.prototype.hasOwnProperty.call(n,t))return n[t]}return null},Iu=e=>{let t=xt(e,"title");const r=xt(e,wt.TITLE_TEMPLATE);if(Array.isArray(t)&&(t=t.join("")),r&&t)return r.replace(/%s/g,()=>t);const n=xt(e,wt.DEFAULT_TITLE);return t||n||void 0},Nu=e=>xt(e,wt.ON_CHANGE_CLIENT_STATE)||(()=>{}),_r=(e,t)=>t.filter(r=>typeof r[e]<"u").map(r=>r[e]).reduce((r,n)=>({...r,...n}),{}),ju=(e,t)=>t.filter(r=>typeof r.base<"u").map(r=>r.base).reverse().reduce((r,n)=>{if(!r.length){const o=Object.keys(n);for(let s=0;s<o.length;s+=1){const a=o[s].toLowerCase();if(e.indexOf(a)!==-1&&n[a])return r.concat(n)}}return r},[]),Lu=e=>console&&typeof console.warn=="function"&&console.warn(e),zt=(e,t,r)=>{const n={};return r.filter(o=>Array.isArray(o[e])?!0:(typeof o[e]<"u"&&Lu(`Helmet: ${e} should be of type "Array". Instead found type "${typeof o[e]}"`),!1)).map(o=>o[e]).reverse().reduce((o,s)=>{const i={};s.filter(c=>{let l;const d=Object.keys(c);for(let m=0;m<d.length;m+=1){const u=d[m],y=u.toLowerCase();t.indexOf(y)!==-1&&!(l==="rel"&&c[l].toLowerCase()==="canonical")&&!(y==="rel"&&c[y].toLowerCase()==="stylesheet")&&(l=y),t.indexOf(u)!==-1&&(u==="innerHTML"||u==="cssText"||u==="itemprop")&&(l=u)}if(!l||!c[l])return!1;const f=c[l].toLowerCase();return n[l]||(n[l]={}),i[l]||(i[l]={}),n[l][f]?!1:(i[l][f]=!0,!0)}
28).reverse().forEach(c=>o.push(c));const a=Object.keys(i);for(let c=0;c<a.length;c+=1){const l=a[c],d={...n[l],...i[l]};n[l]=d}return o},[]).reverse()},_u=(e,t)=>{if(Array.isArray(e)&&e.length){for(let r=0;r<e.length;r+=1)if(e[r][t])return!0}return!1},Fu=e=>({baseTag:ju(["href"],e),bodyAttributes:_r("bodyAttributes",e),defer:xt(e,wt.DEFER),encode:xt(e,wt.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:_r("htmlAttributes",e),linkTags:zt("link",["rel","href"],e),metaTags:zt("meta",["name","charset","http-equiv","property","itemprop"],e),noscriptTags:zt("noscript",["innerHTML"],e),onChangeClientState:Nu(e),scriptTags:zt("script",["src","innerHTML"],e),styleTags:zt("style",["cssText"],e),title:Iu(e),titleAttributes:_r("titleAttributes",e),prioritizeSeoTags:_u(e,wt.PRIORITIZE_SEO_TAGS)}),Ls=e=>Array.isArray(e)?e.join(""):e,$u=(e,t)=>{const r=Object.keys(e);for(let n=0;n<r.length;n+=1)if(t[r[n]]&&t[r[n]].includes(e[r[n]]))return!0;return!1},Fr=(e,t)=>Array.isArray(e)?e.reduce((r,n)=>($u(n,t)?r.priority.push(n):r.default.push(n),r),{priority:[],default:[]}):{default:e,priority:[]},io=(e,t)=>({...e,[t]:void 0}),zu=["noscript","script","style"],Zr=(e,t=!0)=>t===!1?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"),_s=e=>Object.keys(e).reduce((t,r)=>{const n=typeof e[r]<"u"?`${r}="${e[r]}"`:`${r}`;return t?`${t} ${n}`:n},""),Hu=(e,t,r,n)=>{const o=_s(r),s=Ls(t);return o?`<${e} ${be}="true" ${o}>${Zr(s,n)}</${e}>`:`<${e} ${be}="true">${Zr(s,n)}</${e}>`},Bu=(e,t,r=!0)=>t.reduce((n,o)=>{const s=o,i=Object.keys(s).filter(l=>!(l==="innerHTML"||l==="cssText")).reduce((l,d)=>{const f=typeof s[d]>"u"?d:`${d}="${Zr(s[d],r)}"`;return l?`${l} ${f}`:f},""),a=s.innerHTML||s.cssText||"",c=zu.indexOf(e)===-1;return`${n}<${e} ${be}="true" ${i}${c?"/>":`>${a}</${e}>`}`},""),Fs=(e,t={})=>Object.keys(e).reduce((r,n)=>{const o=xn[n];return r[o||n]=e[n],r},t),Vu=(e,t,r)=>{const n={key:t,[be]:!0},o=Fs(r,n);return[E.createElement("title",o,t)]},cr=(e,t)=>t.map((r,n)=>{const o={key:n,[be]:!0};return Object.keys(r).forEach(s=>{const a=xn[s]||s;if(a==="innerHTML"||a==="cssText"){const c=r.innerHTML||r.cssText;o.dangerouslySetInnerHTML={__html:c}}else o[a]=r[s]}),E.createElement(e,o)}),ue=(e,t,r=!0)=>{switch(e){case"title":return{toComponent:()=>Vu(e,t.title,t.titleAttributes),toString:()=>Hu(e,t.title,t.titleAttributes,r)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>Fs(t),toString:()=>_s(t)};default:return{toComponent:()=>cr(e,t),toString:()=>Bu(e,t,r)}}},qu=({metaTags:e,linkTags:t,scriptTags:r,encode:n})=>{const o=Fr(e,Lr.meta),s=Fr(t,Lr.link),i=Fr(r,Lr.script);return{priorityMethods:{toComponent:()=>[...cr("meta",o.priority),...cr("link",s.priority),...cr("script",i.priority)],toString:()=>`${ue("meta",o.priority,n)} ${ue("link",s.priority,n)} ${ue("script",i.priority,n)}`},metaTags:o.default,linkTags:s.default,scriptTags:i.default}},Uu=e=>{const{baseTag:t,bodyAttributes:r,encode:n=!0,htmlAttributes:o,noscriptTags:s,styleTags:i,title:a="",titleAttributes:c,prioritizeSeoTags:l}=e;let{linkTags:d,metaTags:f,scriptTags:m}=e,u={toComponent:()=>{},toString:()=>""};return l&&({priorityMethods:u,linkTags:d,metaTags:f,scriptTags:m}=qu(e)),{priority:u,base:ue("base",t,n),bodyAttributes:ue("bodyAttributes",r,n),htmlAttributes:ue("htmlAttributes",o,n),link:ue("link",d,n),meta:ue("meta",f,n),noscript:ue("noscript",s,n),script:ue("script",m,n),style:ue("style",i,n),title:ue("title",{title:a,titleAttributes:c},n)}},Jr=Uu,or=[],$s=!!(typeof window<"u"&&window.document&&window.document.createElement),en=class{constructor(e,t){ke(this,"instances",[]);ke(this,"canUseDOM",$s);ke(this,"context");ke(this,"value",{setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?or:this.instances,add:e=>{(this.canUseDOM?or:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?or:this.instances).indexOf(e);(this.canUseDOM?or:this.instances).splice(t,1)}}});this.context=e,this.canUseDOM=t||!1,t||(e.helmet=Jr({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},Ku={},zs=E.createContext(Ku),ct,Hs=(ct=class extends g.Component{constructor(r){super(r);ke(this,"helmetData");this.helmetData=new en(this.props.context||{},ct.canUseDOM)}render(){return E.createElement(zs.Provider,{value:this.helmetData.value},this.props.children)}},ke(ct,"canUseDOM",$s),ct),yt=(e,t)=>
28{const r=document.head||document.querySelector("head"),n=r.querySelectorAll(`${e}[${be}]`),o=[].slice.call(n),s=[];let i;return t&&t.length&&t.forEach(a=>{const c=document.createElement(e);for(const l in a)if(Object.prototype.hasOwnProperty.call(a,l))if(l==="innerHTML")c.innerHTML=a.innerHTML;else if(l==="cssText")c.styleSheet?c.styleSheet.cssText=a.cssText:c.appendChild(document.createTextNode(a.cssText));else{const d=l,f=typeof a[d]>"u"?"":a[d];c.setAttribute(l,f)}c.setAttribute(be,"true"),o.some((l,d)=>(i=d,c.isEqualNode(l)))?o.splice(i,1):s.push(c)}),o.forEach(a=>a.parentNode?.removeChild(a)),s.forEach(a=>r.appendChild(a)),{oldTags:o,newTags:s}},tn=(e,t)=>{const r=document.getElementsByTagName(e)[0];if(!r)return;const n=r.getAttribute(be),o=n?n.split(","):[],s=[...o],i=Object.keys(t);for(const a of i){const c=t[a]||"";r.getAttribute(a)!==c&&r.setAttribute(a,c),o.indexOf(a)===-1&&o.push(a);const l=s.indexOf(a);l!==-1&&s.splice(l,1)}for(let a=s.length-1;a>=0;a-=1)r.removeAttribute(s[a]);o.length===s.length?r.removeAttribute(be):r.getAttribute(be)!==i.join(",")&&r.setAttribute(be,i.join(","))},Wu=(e,t)=>{typeof e<"u"&&document.title!==e&&(document.title=Ls(e)),tn("title",t)},ao=(e,t)=>{const{baseTag:r,bodyAttributes:n,htmlAttributes:o,linkTags:s,metaTags:i,noscriptTags:a,onChangeClientState:c,scriptTags:l,styleTags:d,title:f,titleAttributes:m}=e;tn("body",n),tn("html",o),Wu(f,m);const u={baseTag:yt("base",r),linkTags:yt("link",s),metaTags:yt("meta",i),noscriptTags:yt("noscript",a),scriptTags:yt("script",l),styleTags:yt("style",d)},y={},h={};Object.keys(u).forEach(p=>{const{newTags:b,oldTags:x}=u[p];b.length&&(y[p]=b),x.length&&(h[p]=u[p].oldTags)}),t&&t(),c(e,y,h)},Ht=null,Qu=e=>{Ht&&cancelAnimationFrame(Ht),e.defer?Ht=requestAnimationFrame(()=>{ao(e,()=>{Ht=null})}):(ao(e),Ht=null)},Gu=Qu,lo=class extends g.Component{constructor(){super(...arguments);ke(this,"rendered",!1)}shouldComponentUpdate(t){return!Mu(t,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:t}=this.props.context;t.remove(this),this.emitChange()}emitChange(){const{helmetInstances:t,setHelmet:r}=this.props.context;let n=null;const o=Fu(t.get().map(s=>{const i={...s.props};return delete i.context,i}));Hs.canUseDOM?Gu(o):Jr&&(n=Jr(o)),r(n)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:t}=this.props.context;t.add(this),this.emitChange()}render(){return this.init(),null}},zr,Td=(zr=class extends g.Component{shouldComponentUpdate(e){return!Pu(io(this.props,"helmetData"),io(e,"helmetData"))}mapNestedChildrenToProps(e,t){if(!t)return null;switch(e.type){case"script":case"noscript":return{innerHTML:t};case"style":return{cssText:t};default:throw new Error(`<${e.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(e,t,r,n){return{...t,[e.type]:[...t[e.type]||[],{...r,...this.mapNestedChildrenToProps(e,n)}]}}mapObjectTypeChildren(e,t,r,n){switch(e.type){case"title":return{...t,[e.type]:n,titleAttributes:{...r}};case"body":return{...t,bodyAttributes:{...r}};case"html":return{...t,htmlAttributes:{...r}};default:return{...t,[e.type]:{...r}}}}mapArrayTypeChildrenToProps(e,t){let r={...t};return Object.keys(e).forEach(n=>{r={...r,[n]:e[n]}}),r}warnOnInvalidChildren(e,t){return oo(so.some(r=>e.type===r),typeof e.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${so.join(", ")} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`),oo(!t||typeof t=="string"||Array.isArray(t)&&!t.some(r=>typeof r!="string"),`Helmet expects a string as a child of <${e.type}>. Did you forget to wrap your children in braces? ( <${e.type}>{\`\`}</${e.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(e,t){let r={};return E.Children.forEach(e,n=>{if(!n||!n.props)return;const{children:o,...s}=n.props,i=Object.keys(s).reduce((c,l)=>(c[Du[l]||l]=s[l],c),{});let{type:a}=n;
28switch(typeof a=="symbol"?a=a.toString():this.warnOnInvalidChildren(n,o),a){case"Symbol(react.fragment)":t=this.mapChildrenToProps(o,t);break;case"link":case"meta":case"noscript":case"script":case"style":r=this.flattenArrayTypeChildren(n,r,i,o);break;default:t=this.mapObjectTypeChildren(n,t,i,o);break}}),this.mapArrayTypeChildrenToProps(r,t)}render(){const{children:e,...t}=this.props;let r={...t},{helmetData:n}=t;if(e&&(r=this.mapChildrenToProps(e,r)),n&&!(n instanceof en)){const o=n;n=new en(o.context,!0),delete r.helmetData}return n?E.createElement(lo,{...r,context:n.value}):E.createElement(zs.Consumer,null,o=>E.createElement(lo,{...r,context:o}))}},ke(zr,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),zr);const Yu=()=>{const e=fi();return g.useEffect(()=>{const t=new URLSearchParams(window.location.search),r=t.get("lang"),n=window.location.hash||"";t.delete("lang");const o=t.toString(),s=`${o?`?${o}`:""}${n}`,i=l=>e(`/${l}${s}`,{replace:!0});if(r==="ko"||r==="en"){localStorage.setItem("preferred_language",r),i(r);return}const a=localStorage.getItem("preferred_language");if(a==="ko"||a==="en"){i(a);return}const c=navigator.language||navigator.userLanguage;i(c?.startsWith("ko")?"ko":"en")},[e]),null};function Xu(){const e=hi(),t=g.useRef(new Set);return g.useEffect(()=>{t.current.clear()},[e.pathname]),null}let $r=!1;const Zu=()=>(g.useEffect(()=>{if($r)return;try{if(window.self!==window.top)return}catch{return}const t=setTimeout(()=>{if(!$r){if($r=!0,!window.ChannelIO){const r=function(...n){r.c(n)};r.q=[],r.c=function(n){r.q.push(n)},window.ChannelIO=r}if(!window.ChannelIOInitialized){window.ChannelIOInitialized=!0;const r=document.createElement("script");r.type="text/javascript",r.async=!0,r.src="https://cdn.channel.io/plugin/ch-plugin-web.js",document.head.appendChild(r)}window.ChannelIO("boot",{pluginKey:"0162503e-83d4-4d80-9743-c25064d169b7"})}},3e3);return()=>clearTimeout(t)},[]),null),Ju=1920,ed=()=>/^((?!chrome|android).)*safari/i.test(navigator.userAgent);function td(){g.useEffect(()=>{if(ed())return;const e=()=>{const t=window.innerWidth;if(t>=768){const r=t/Ju;document.documentElement.style.zoom=`${r}`}else document.documentElement.style.zoom=""};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e),document.documentElement.style.zoom=""}},[])}const rd=g.lazy(()=>Xe(()=>import("./IndexEN-Be4vt4JU.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]))),nd=g.lazy(()=>Xe(()=>import("./IndexKR-Dr-JY7qs.js"),__vite__mapDeps([8,1,2,3,4,5,6,7]))),od=g.lazy(()=>Xe(()=>import("./EducationKR-D6QUuRRT.js"),__vite__mapDeps([9,1,2,3,10,11,12,13,14,15,7,16,17,18,19]))),sd=g.lazy(()=>Xe(()=>import("./BusinessEN-zyjKVryh.js"),__vite__mapDeps([20,1,2,3,5,4,21,22,23,12,17,16,18,19,24,25]))),id=g.lazy(()=>Xe(()=>import("./BusinessKR-D9oybMmX.js"),__vite__mapDeps([26,1,2,3,5,4,21,22,23,12,17,16,18,19,24,25]))),ad=g.lazy(()=>Xe(()=>import("./BlogEN-Dvr0Gmrb.js"),__vite__mapDeps([27,1,2,3,4,5,24,25]))),ld=g.lazy(()=>Xe(()=>import("./PressKR-RAwfyadh.js"),__vite__mapDeps([28,1,2,3,4,5,24,25,10]))),cd=g.lazy(()=>Xe(()=>import("./NotFound-Cbi_lC3F.js"),__vite__mapDeps([29,1,2]))),ud=new bu,dd=()=>w.jsx("div",{className:"min-h-screen bg-background flex items-center justify-center",children:w.jsx("div",{className:"w-8 h-8 border-2 border-foreground
28/30 border-t-foreground rounded-full animate-spin"})}),fd=()=>(td(),w.jsx(Hs,{children:w.jsx(xu,{client:ud,children:w.jsxs(Gc,{children:[w.jsx(Da,{}),w.jsx(ul,{}),w.jsx(Zu,{}),w.jsxs(pi,{children:[w.jsx(Xu,{}),w.jsx(g.Suspense,{fallback:w.jsx(dd,{}),children:w.jsxs(mi,{children:[w.jsx(Me,{path:"/",element:w.jsx(Yu,{})}),w.jsx(Me,{path:"/en",element:w.jsx(rd,{})}),w.jsx(Me,{path:"/ko",element:w.jsx(nd,{})}),w.jsx(Me,{path:"/education",element:w.jsx(od,{})}),w.jsx(Me,{path:"/en/business",element:w.jsx(sd,{})}),w.jsx(Me,{path:"/ko/business",element:w.jsx(id,{})}),w.jsx(Me,{path:"/en/blog",element:w.jsx(ad,{})}),w.jsx(Me,{path:"/ko/press",element:w.jsx(ld,{})}),w.jsx(Me,{path:"*",element:w.jsx(cd,{})})]})})]})]})})})),hd=()=>w.jsx(fd,{});bo(document.getElementById("root")).render(w.jsx(hd,{}));export{Td as H,Yi as X,Xe as _,dt as a,Ui as b,Gi as c,Ec as 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.