const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/page-login-Pizj3Ysu.js","assets/radixui-DBNNXUn7.js","assets/router-ZPDjRWWZ.js","assets/vendor-C0DUGSOM.js","assets/utils-CbOYy0fT.js","assets/form-ChakSTWw.js","assets/label-wWBD5Ozj.js","assets/card-BaxfxC-x.js","assets/icons-DvPHMWAM.js","assets/Home-qYjiubyc.js","assets/Home-BqyueEVs.css","assets/admin-dashboard-D4DX7xts.js","assets/badge-BMZJ96FB.js","assets/table-Be5yzNoc.js","assets/index-U7QFbmMr.js","assets/page-studios-list-j_05_H7a.js","assets/useQuery-tXf2Qa8J.js","assets/studios-services-jgdX3LyR.js","assets/pagination-CCE7qJl8.js","assets/generic-filter-BigdvSBE.js","assets/popover-D_hLgl2z.js","assets/page-studios-create-DWaLqpS4.js","assets/select-CTEv52Fz.js","assets/switch-D-xviNN8.js","assets/use-get-regionals-MiNNMFPG.js","assets/settings-services-C1WB00Jx.js","assets/schema-studios-CjN2zG-S.js","assets/page-studios-update-CcjuUTpe.js","assets/use-get-payment-methods-B4ebBzz0.js","assets/accounts-list-page-DWoDpep6.js","assets/page-masters-list-zGhEof7j.js","assets/master-pagination-component-CxDfFOcS.js","assets/use-get-masters-DTVPQ8zV.js","assets/master-services-DEBO56lc.js","assets/page-masters-create-CTFdOJEw.js","assets/textarea-B-1X0qcQ.js","assets/page-masters-update-DfXcgVsL.js","assets/page-users-list-BSZ98dPN.js","assets/page-roles-list-CKjOYV_Y.js","assets/page-permissions-update-CwGM2kFJ.js"])))=>i.map(i=>d[i]);
var qp=Object.defineProperty,Vp=Object.defineProperties;var Gp=Object.getOwnPropertyDescriptors;var ns=Object.getOwnPropertySymbols;var S0=Object.prototype.hasOwnProperty,T0=Object.prototype.propertyIsEnumerable;var E0=i=>{throw TypeError(i)},A0=Math.pow,x0=(i,s,r)=>s in i?qp(i,s,{enumerable:!0,configurable:!0,writable:!0,value:r}):i[s]=r,M=(i,s)=>{for(var r in s||(s={}))S0.call(s,r)&&x0(i,r,s[r]);if(ns)for(var r of ns(s))T0.call(s,r)&&x0(i,r,s[r]);return i},Y=(i,s)=>Vp(i,Gp(s));var q=(i,s)=>{var r={};for(var c in i)S0.call(i,c)&&s.indexOf(c)<0&&(r[c]=i[c]);if(i!=null&&ns)for(var c of ns(i))s.indexOf(c)<0&&T0.call(i,c)&&(r[c]=i[c]);return r};var qc=(i,s,r)=>s.has(i)||E0("Cannot "+r);var O=(i,s,r)=>(qc(i,s,"read from private field"),r?r.call(i):s.get(i)),vt=(i,s,r)=>s.has(i)?E0("Cannot add the same private member more than once"):s instanceof WeakSet?s.add(i):s.set(i,r),ut=(i,s,r,c)=>(qc(i,s,"write to private field"),c?c.call(i,r):s.set(i,r),r),Qt=(i,s,r)=>(qc(i,s,"access private method"),r);var is=(i,s,r,c)=>({set _(o){ut(i,s,o,r)},get _(){return O(i,s,c)}});var Ie=(i,s,r)=>new Promise((c,o)=>{var h=g=>{try{x(r.next(g))}catch(w){o(w)}},v=g=>{try{x(r.throw(g))}catch(w){o(w)}},x=g=>g.done?c(g.value):Promise.resolve(g.value).then(h,v);x((r=r.apply(i,s)).next())});import{j as m,u as oo,c as fo,a as lh,P as ke,b as le,d as bs,e as Vi,f as nh,R as Qp,T as Yp,g as Zp,C as ih,L as uh,S as sh,I as rh,h as ch,i as oh,k as fh,l as dh,m as hh,G as Xp,n as kp,O as mh,o as Kp,p as vh,q as Jp,r as ph,D as gh,s as Fp,t as yh,v as Wp,A as $p,w as bh,x as Pp,y as Ip,z as tg,B as eg,E as ag,F as xh,H as Sh,J as Th,K as lg,M as ng,N as vs,V as Eh,Q as ig,U as ug}from"./radixui-DBNNXUn7.js";import{r as b,u as Ah,b as wh,d as Mh,L as os,O as zh,e as sg,f as Vc,a as rg,B as cg}from"./router-ZPDjRWWZ.js";import{r as og,a as fg,g as dg}from"./vendor-C0DUGSOM.js";import{a as hg}from"./utils-CbOYy0fT.js";import{G as Ot,C as ps,a as mg,D as vg,b as Ch,V as pg,c as gg,B as yg,L as bg}from"./icons-DvPHMWAM.js";(function(){const s=document.createElement("link").relList;if(s&&s.supports&&s.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))c(o);new MutationObserver(o=>{for(const h of o)if(h.type==="childList")for(const v of h.addedNodes)v.tagName==="LINK"&&v.rel==="modulepreload"&&c(v)}).observe(document,{childList:!0,subtree:!0});function r(o){const h={};return o.integrity&&(h.integrity=o.integrity),o.referrerPolicy&&(h.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?h.credentials="include":o.crossOrigin==="anonymous"?h.credentials="omit":h.credentials="same-origin",h}function c(o){if(o.ep)return;o.ep=!0;const h=r(o);fetch(o.href,h)}})();var Gc={exports:{}},Ni={},Qc={exports:{}},Yc={};/**
 * @license React
 * scheduler.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var w0;function xg(){return w0||(w0=1,function(i){function s(N,B){var L=N.length;N.push(B);t:for(;0<L;){var pt=L-1>>>1,bt=N[pt];if(0<o(bt,B))N[pt]=B,N[L]=bt,L=pt;else break t}}function r(N){return N.length===0?null:N[0]}function c(N){if(N.length===0)return null;var B=N[0],L=N.pop();if(L!==B){N[0]=L;t:for(var pt=0,bt=N.length,Yt=bt>>>1;pt<Yt;){var Tt=2*(pt+1)-1,nt=N[Tt],dt=Tt+1,Ft=N[dt];if(0>o(nt,L))dt<bt&&0>o(Ft,nt)?(N[pt]=Ft,N[dt]=L,pt=dt):(N[pt]=nt,N[Tt]=L,pt=Tt);else if(dt<bt&&0>o(Ft,L))N[pt]=Ft,N[dt]=L,pt=dt;else break t}}return B}function o(N,B){var L=N.sortIndex-B.sortIndex;return L!==0?L:N.id-B.id}if(i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var h=performance;i.unstable_now=function(){return h.now()}}else{var v=Date,x=v.now();i.unstable_now=function(){return v.now()-x}}var g=[],w=[],T=1,R=null,_=3,Q=!1,G=!1,H=!1,Z=!1,V=typeof setTimeout=="function"?setTimeout:null,tt=typeof clearTimeout=="function"?clearTimeout:null,X=typeof setImmediate!="undefined"?setImmediate:null;function k(N){for(var B=r(w);B!==null;){if(B.callback===null)c(w);else if(B.startTime<=N)c(w),B.sortIndex=B.expirationTime,s(g,B);else break;B=r(w)}}function $(N){if(H=!1,k(N),!G)if(r(g)!==null)G=!0,st||(st=!0,_t());else{var B=r(w);B!==null&&et($,B.startTime-N)}}var st=!1,rt=-1,K=5,Ct=-1;function yt(){return Z?!0:!(i.unstable_now()-Ct<K)}function qt(){if(Z=!1,st){var N=i.unstable_now();Ct=N;var B=!0;try{t:{G=!1,H&&(H=!1,tt(rt),rt=-1),Q=!0;var L=_;try{e:{for(k(N),R=r(g);R!==null&&!(R.expirationTime>N&&yt());){var pt=R.callback;if(typeof pt=="function"){R.callback=null,_=R.priorityLevel;var bt=pt(R.expirationTime<=N);if(N=i.unstable_now(),typeof bt=="function"){R.callback=bt,k(N),B=!0;break e}R===r(g)&&c(g),k(N)}else c(g);R=r(g)}if(R!==null)B=!0;else{var Yt=r(w);Yt!==null&&et($,Yt.startTime-N),B=!1}}break t}finally{R=null,_=L,Q=!1}B=void 0}}finally{B?_t():st=!1}}}var _t;if(typeof X=="function")_t=function(){X(qt)};else if(typeof MessageChannel!="undefined"){var ye=new MessageChannel,oe=ye.port2;ye.port1.onmessage=qt,_t=function(){oe.postMessage(null)}}else _t=function(){V(qt,0)};function et(N,B){rt=V(function(){N(i.unstable_now())},B)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(N){N.callback=null},i.unstable_forceFrameRate=function(N){0>N||125<N?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):K=0<N?Math.floor(1e3/N):5},i.unstable_getCurrentPriorityLevel=function(){return _},i.unstable_next=function(N){switch(_){case 1:case 2:case 3:var B=3;break;default:B=_}var L=_;_=B;try{return N()}finally{_=L}},i.unstable_requestPaint=function(){Z=!0},i.unstable_runWithPriority=function(N,B){switch(N){case 1:case 2:case 3:case 4:case 5:break;default:N=3}var L=_;_=N;try{return B()}finally{_=L}},i.unstable_scheduleCallback=function(N,B,L){var pt=i.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0<L?pt+L:pt):L=pt,N){case 1:var bt=-1;break;case 2:bt=250;break;case 5:bt=1073741823;break;case 4:bt=1e4;break;default:bt=5e3}return bt=L+bt,N={id:T++,callback:B,priorityLevel:N,startTime:L,expirationTime:bt,sortIndex:-1},L>pt?(N.sortIndex=L,s(w,N),r(g)===null&&N===r(w)&&(H?(tt(rt),rt=-1):H=!0,et($,L-pt))):(N.sortIndex=bt,s(g,N),G||Q||(G=!0,st||(st=!0,_t()))),N},i.unstable_shouldYield=yt,i.unstable_wrapCallback=function(N){var B=_;return function(){var L=_;_=B;try{return N.apply(this,arguments)}finally{_=L}}}}(Yc)),Yc}var M0;function Sg(){return M0||(M0=1,Qc.exports=xg()),Qc.exports}/**
 * @license React
 * react-dom-client.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var z0;function Tg(){if(z0)return Ni;z0=1;var i=Sg(),s=og(),r=fg();function c(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)e+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function h(t){var e=t,a=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(a=e.return),t=e.return;while(t)}return e.tag===3?a:null}function v(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function x(t){if(h(t)!==t)throw Error(c(188))}function g(t){var e=t.alternate;if(!e){if(e=h(t),e===null)throw Error(c(188));return e!==t?null:t}for(var a=t,l=e;;){var n=a.return;if(n===null)break;var u=n.alternate;if(u===null){if(l=n.return,l!==null){a=l;continue}break}if(n.child===u.child){for(u=n.child;u;){if(u===a)return x(n),t;if(u===l)return x(n),e;u=u.sibling}throw Error(c(188))}if(a.return!==l.return)a=n,l=u;else{for(var f=!1,d=n.child;d;){if(d===a){f=!0,a=n,l=u;break}if(d===l){f=!0,l=n,a=u;break}d=d.sibling}if(!f){for(d=u.child;d;){if(d===a){f=!0,a=u,l=n;break}if(d===l){f=!0,l=u,a=n;break}d=d.sibling}if(!f)throw Error(c(189))}}if(a.alternate!==l)throw Error(c(190))}if(a.tag!==3)throw Error(c(188));return a.stateNode.current===a?t:e}function w(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=w(t),e!==null)return e;t=t.sibling}return null}var T=Object.assign,R=Symbol.for("react.element"),_=Symbol.for("react.transitional.element"),Q=Symbol.for("react.portal"),G=Symbol.for("react.fragment"),H=Symbol.for("react.strict_mode"),Z=Symbol.for("react.profiler"),V=Symbol.for("react.provider"),tt=Symbol.for("react.consumer"),X=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),$=Symbol.for("react.suspense"),st=Symbol.for("react.suspense_list"),rt=Symbol.for("react.memo"),K=Symbol.for("react.lazy"),Ct=Symbol.for("react.activity"),yt=Symbol.for("react.memo_cache_sentinel"),qt=Symbol.iterator;function _t(t){return t===null||typeof t!="object"?null:(t=qt&&t[qt]||t["@@iterator"],typeof t=="function"?t:null)}var ye=Symbol.for("react.client.reference");function oe(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===ye?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case G:return"Fragment";case Z:return"Profiler";case H:return"StrictMode";case $:return"Suspense";case st:return"SuspenseList";case Ct:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case Q:return"Portal";case X:return(t.displayName||"Context")+".Provider";case tt:return(t._context.displayName||"Context")+".Consumer";case k:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case rt:return e=t.displayName||null,e!==null?e:oe(t.type)||"Memo";case K:e=t._payload,t=t._init;try{return oe(t(e))}catch(a){}}return null}var et=Array.isArray,N=s.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,B=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,L={pending:!1,data:null,method:null,action:null},pt=[],bt=-1;function Yt(t){return{current:t}}function Tt(t){0>bt||(t.current=pt[bt],pt[bt]=null,bt--)}function nt(t,e){bt++,pt[bt]=t.current,t.current=e}var dt=Yt(null),Ft=Yt(null),Be=Yt(null),jt=Yt(null);function il(t,e){switch(nt(Be,e),nt(Ft,t),nt(dt,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?J1(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=J1(e),t=F1(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}Tt(dt),nt(dt,t)}function qe(){Tt(dt),Tt(Ft),Tt(Be)}function Ea(t){t.memoizedState!==null&&nt(jt,t);var e=dt.current,a=F1(e,t.type);e!==a&&(nt(Ft,t),nt(dt,a))}function Aa(t){Ft.current===t&&(Tt(dt),Tt(Ft)),jt.current===t&&(Tt(jt),Ai._currentValue=L)}var wa=Object.prototype.hasOwnProperty,Ms=i.unstable_scheduleCallback,zs=i.unstable_cancelCallback,gm=i.unstable_shouldYield,ym=i.unstable_requestPaint,Ke=i.unstable_now,bm=i.unstable_getCurrentPriorityLevel,zo=i.unstable_ImmediatePriority,Co=i.unstable_UserBlockingPriority,Zi=i.unstable_NormalPriority,xm=i.unstable_LowPriority,No=i.unstable_IdlePriority,Sm=i.log,Tm=i.unstable_setDisableYieldValue,Dn=null,be=null;function Ma(t){if(typeof Sm=="function"&&Tm(t),be&&typeof be.setStrictMode=="function")try{be.setStrictMode(Dn,t)}catch(e){}}var xe=Math.clz32?Math.clz32:wm,Em=Math.log,Am=Math.LN2;function wm(t){return t>>>=0,t===0?32:31-(Em(t)/Am|0)|0}var Xi=256,ki=4194304;function ul(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Ki(t,e,a){var l=t.pendingLanes;if(l===0)return 0;var n=0,u=t.suspendedLanes,f=t.pingedLanes;t=t.warmLanes;var d=l&134217727;return d!==0?(l=d&~u,l!==0?n=ul(l):(f&=d,f!==0?n=ul(f):a||(a=d&~t,a!==0&&(n=ul(a))))):(d=l&~u,d!==0?n=ul(d):f!==0?n=ul(f):a||(a=l&~t,a!==0&&(n=ul(a)))),n===0?0:e!==0&&e!==n&&(e&u)===0&&(u=n&-n,a=e&-e,u>=a||u===32&&(a&4194048)!==0)?e:n}function _n(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function Mm(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Oo(){var t=Xi;return Xi<<=1,(Xi&4194048)===0&&(Xi=256),t}function Ro(){var t=ki;return ki<<=1,(ki&62914560)===0&&(ki=4194304),t}function Cs(t){for(var e=[],a=0;31>a;a++)e.push(t);return e}function jn(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function zm(t,e,a,l,n,u){var f=t.pendingLanes;t.pendingLanes=a,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=a,t.entangledLanes&=a,t.errorRecoveryDisabledLanes&=a,t.shellSuspendCounter=0;var d=t.entanglements,p=t.expirationTimes,A=t.hiddenUpdates;for(a=f&~a;0<a;){var D=31-xe(a),U=1<<D;d[D]=0,p[D]=-1;var z=A[D];if(z!==null)for(A[D]=null,D=0;D<z.length;D++){var C=z[D];C!==null&&(C.lane&=-536870913)}a&=~U}l!==0&&Do(t,l,0),u!==0&&n===0&&t.tag!==0&&(t.suspendedLanes|=u&~(f&~e))}function Do(t,e,a){t.pendingLanes|=e,t.suspendedLanes&=~e;var l=31-xe(e);t.entangledLanes|=e,t.entanglements[l]=t.entanglements[l]|1073741824|a&4194090}function _o(t,e){var a=t.entangledLanes|=e;for(t=t.entanglements;a;){var l=31-xe(a),n=1<<l;n&e|t[l]&e&&(t[l]|=e),a&=~n}}function Ns(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function Os(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function jo(){var t=B.p;return t!==0?t:(t=window.event,t===void 0?32:m0(t.type))}function Cm(t,e){var a=B.p;try{return B.p=t,e()}finally{B.p=a}}var za=Math.random().toString(36).slice(2),ie="__reactFiber$"+za,fe="__reactProps$"+za,Dl="__reactContainer$"+za,Rs="__reactEvents$"+za,Nm="__reactListeners$"+za,Om="__reactHandles$"+za,Uo="__reactResources$"+za,Un="__reactMarker$"+za;function Ds(t){delete t[ie],delete t[fe],delete t[Rs],delete t[Nm],delete t[Om]}function _l(t){var e=t[ie];if(e)return e;for(var a=t.parentNode;a;){if(e=a[Dl]||a[ie]){if(a=e.alternate,e.child!==null||a!==null&&a.child!==null)for(t=I1(t);t!==null;){if(a=t[ie])return a;t=I1(t)}return e}t=a,a=t.parentNode}return null}function jl(t){if(t=t[ie]||t[Dl]){var e=t.tag;if(e===5||e===6||e===13||e===26||e===27||e===3)return t}return null}function Hn(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(c(33))}function Ul(t){var e=t[Uo];return e||(e=t[Uo]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function Wt(t){t[Un]=!0}var Ho=new Set,Lo={};function sl(t,e){Hl(t,e),Hl(t+"Capture",e)}function Hl(t,e){for(Lo[t]=e,t=0;t<e.length;t++)Ho.add(e[t])}var Rm=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Bo={},qo={};function Dm(t){return wa.call(qo,t)?!0:wa.call(Bo,t)?!1:Rm.test(t)?qo[t]=!0:(Bo[t]=!0,!1)}function Ji(t,e,a){if(Dm(e))if(a===null)t.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var l=e.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+a)}}function Fi(t,e,a){if(a===null)t.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+a)}}function la(t,e,a,l){if(l===null)t.removeAttribute(a);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(a);return}t.setAttributeNS(e,a,""+l)}}var _s,Vo;function Ll(t){if(_s===void 0)try{throw Error()}catch(a){var e=a.stack.trim().match(/\n( *(at )?)/);_s=e&&e[1]||"",Vo=-1<a.stack.indexOf(`
    at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
`+_s+t+Vo}var js=!1;function Us(t,e){if(!t||js)return"";js=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(e){var U=function(){throw Error()};if(Object.defineProperty(U.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(U,[])}catch(C){var z=C}Reflect.construct(t,[],U)}else{try{U.call()}catch(C){z=C}t.call(U.prototype)}}else{try{throw Error()}catch(C){z=C}(U=t())&&typeof U.catch=="function"&&U.catch(function(){})}}catch(C){if(C&&z&&typeof C.stack=="string")return[C.stack,z.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=l.DetermineComponentFrameRoot(),f=u[0],d=u[1];if(f&&d){var p=f.split(`
`),A=d.split(`
`);for(n=l=0;l<p.length&&!p[l].includes("DetermineComponentFrameRoot");)l++;for(;n<A.length&&!A[n].includes("DetermineComponentFrameRoot");)n++;if(l===p.length||n===A.length)for(l=p.length-1,n=A.length-1;1<=l&&0<=n&&p[l]!==A[n];)n--;for(;1<=l&&0<=n;l--,n--)if(p[l]!==A[n]){if(l!==1||n!==1)do if(l--,n--,0>n||p[l]!==A[n]){var D=`
`+p[l].replace(" at new "," at ");return t.displayName&&D.includes("<anonymous>")&&(D=D.replace("<anonymous>",t.displayName)),D}while(1<=l&&0<=n);break}}}finally{js=!1,Error.prepareStackTrace=a}return(a=t?t.displayName||t.name:"")?Ll(a):""}function _m(t){switch(t.tag){case 26:case 27:case 5:return Ll(t.type);case 16:return Ll("Lazy");case 13:return Ll("Suspense");case 19:return Ll("SuspenseList");case 0:case 15:return Us(t.type,!1);case 11:return Us(t.type.render,!1);case 1:return Us(t.type,!0);case 31:return Ll("Activity");default:return""}}function Go(t){try{var e="";do e+=_m(t),t=t.return;while(t);return e}catch(a){return`
Error generating stack: `+a.message+`
`+a.stack}}function Ce(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Qo(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function jm(t){var e=Qo(t)?"checked":"value",a=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),l=""+t[e];if(!t.hasOwnProperty(e)&&typeof a!="undefined"&&typeof a.get=="function"&&typeof a.set=="function"){var n=a.get,u=a.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return n.call(this)},set:function(f){l=""+f,u.call(this,f)}}),Object.defineProperty(t,e,{enumerable:a.enumerable}),{getValue:function(){return l},setValue:function(f){l=""+f},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Wi(t){t._valueTracker||(t._valueTracker=jm(t))}function Yo(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var a=e.getValue(),l="";return t&&(l=Qo(t)?t.checked?"true":"false":t.value),t=l,t!==a?(e.setValue(t),!0):!1}function $i(t){if(t=t||(typeof document!="undefined"?document:void 0),typeof t=="undefined")return null;try{return t.activeElement||t.body}catch(e){return t.body}}var Um=/[\n"\\]/g;function Ne(t){return t.replace(Um,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Hs(t,e,a,l,n,u,f,d){t.name="",f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"?t.type=f:t.removeAttribute("type"),e!=null?f==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Ce(e)):t.value!==""+Ce(e)&&(t.value=""+Ce(e)):f!=="submit"&&f!=="reset"||t.removeAttribute("value"),e!=null?Ls(t,f,Ce(e)):a!=null?Ls(t,f,Ce(a)):l!=null&&t.removeAttribute("value"),n==null&&u!=null&&(t.defaultChecked=!!u),n!=null&&(t.checked=n&&typeof n!="function"&&typeof n!="symbol"),d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?t.name=""+Ce(d):t.removeAttribute("name")}function Zo(t,e,a,l,n,u,f,d){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(t.type=u),e!=null||a!=null){if(!(u!=="submit"&&u!=="reset"||e!=null))return;a=a!=null?""+Ce(a):"",e=e!=null?""+Ce(e):a,d||e===t.value||(t.value=e),t.defaultValue=e}l=l!=null?l:n,l=typeof l!="function"&&typeof l!="symbol"&&!!l,t.checked=d?t.checked:!!l,t.defaultChecked=!!l,f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(t.name=f)}function Ls(t,e,a){e==="number"&&$i(t.ownerDocument)===t||t.defaultValue===""+a||(t.defaultValue=""+a)}function Bl(t,e,a,l){if(t=t.options,e){e={};for(var n=0;n<a.length;n++)e["$"+a[n]]=!0;for(a=0;a<t.length;a++)n=e.hasOwnProperty("$"+t[a].value),t[a].selected!==n&&(t[a].selected=n),n&&l&&(t[a].defaultSelected=!0)}else{for(a=""+Ce(a),e=null,n=0;n<t.length;n++){if(t[n].value===a){t[n].selected=!0,l&&(t[n].defaultSelected=!0);return}e!==null||t[n].disabled||(e=t[n])}e!==null&&(e.selected=!0)}}function Xo(t,e,a){if(e!=null&&(e=""+Ce(e),e!==t.value&&(t.value=e),a==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=a!=null?""+Ce(a):""}function ko(t,e,a,l){if(e==null){if(l!=null){if(a!=null)throw Error(c(92));if(et(l)){if(1<l.length)throw Error(c(93));l=l[0]}a=l}a==null&&(a=""),e=a}a=Ce(e),t.defaultValue=a,l=t.textContent,l===a&&l!==""&&l!==null&&(t.value=l)}function ql(t,e){if(e){var a=t.firstChild;if(a&&a===t.lastChild&&a.nodeType===3){a.nodeValue=e;return}}t.textContent=e}var Hm=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Ko(t,e,a){var l=e.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?l?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":l?t.setProperty(e,a):typeof a!="number"||a===0||Hm.has(e)?e==="float"?t.cssFloat=a:t[e]=(""+a).trim():t[e]=a+"px"}function Jo(t,e,a){if(e!=null&&typeof e!="object")throw Error(c(62));if(t=t.style,a!=null){for(var l in a)!a.hasOwnProperty(l)||e!=null&&e.hasOwnProperty(l)||(l.indexOf("--")===0?t.setProperty(l,""):l==="float"?t.cssFloat="":t[l]="");for(var n in e)l=e[n],e.hasOwnProperty(n)&&a[n]!==l&&Ko(t,n,l)}else for(var u in e)e.hasOwnProperty(u)&&Ko(t,u,e[u])}function Bs(t){if(t.indexOf("-")===-1)return!1;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Lm=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Bm=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Pi(t){return Bm.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}var qs=null;function Vs(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Vl=null,Gl=null;function Fo(t){var e=jl(t);if(e&&(t=e.stateNode)){var a=t[fe]||null;t:switch(t=e.stateNode,e.type){case"input":if(Hs(t,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),e=a.name,a.type==="radio"&&e!=null){for(a=t;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+Ne(""+e)+'"][type="radio"]'),e=0;e<a.length;e++){var l=a[e];if(l!==t&&l.form===t.form){var n=l[fe]||null;if(!n)throw Error(c(90));Hs(l,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(e=0;e<a.length;e++)l=a[e],l.form===t.form&&Yo(l)}break t;case"textarea":Xo(t,a.value,a.defaultValue);break t;case"select":e=a.value,e!=null&&Bl(t,!!a.multiple,e,!1)}}}var Gs=!1;function Wo(t,e,a){if(Gs)return t(e,a);Gs=!0;try{var l=t(e);return l}finally{if(Gs=!1,(Vl!==null||Gl!==null)&&(Lu(),Vl&&(e=Vl,t=Gl,Gl=Vl=null,Fo(e),t)))for(e=0;e<t.length;e++)Fo(t[e])}}function Ln(t,e){var a=t.stateNode;if(a===null)return null;var l=a[fe]||null;if(l===null)return null;a=l[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(t=t.type,l=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!l;break t;default:t=!1}if(t)return null;if(a&&typeof a!="function")throw Error(c(231,e,typeof a));return a}var na=!(typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"),Qs=!1;if(na)try{var Bn={};Object.defineProperty(Bn,"passive",{get:function(){Qs=!0}}),window.addEventListener("test",Bn,Bn),window.removeEventListener("test",Bn,Bn)}catch(t){Qs=!1}var Ca=null,Ys=null,Ii=null;function $o(){if(Ii)return Ii;var t,e=Ys,a=e.length,l,n="value"in Ca?Ca.value:Ca.textContent,u=n.length;for(t=0;t<a&&e[t]===n[t];t++);var f=a-t;for(l=1;l<=f&&e[a-l]===n[u-l];l++);return Ii=n.slice(t,1<l?1-l:void 0)}function tu(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function eu(){return!0}function Po(){return!1}function de(t){function e(a,l,n,u,f){this._reactName=a,this._targetInst=n,this.type=l,this.nativeEvent=u,this.target=f,this.currentTarget=null;for(var d in t)t.hasOwnProperty(d)&&(a=t[d],this[d]=a?a(u):u[d]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?eu:Po,this.isPropagationStopped=Po,this}return T(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=eu)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=eu)},persist:function(){},isPersistent:eu}),e}var rl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},au=de(rl),qn=T({},rl,{view:0,detail:0}),qm=de(qn),Zs,Xs,Vn,lu=T({},qn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ks,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Vn&&(Vn&&t.type==="mousemove"?(Zs=t.screenX-Vn.screenX,Xs=t.screenY-Vn.screenY):Xs=Zs=0,Vn=t),Zs)},movementY:function(t){return"movementY"in t?t.movementY:Xs}}),Io=de(lu),Vm=T({},lu,{dataTransfer:0}),Gm=de(Vm),Qm=T({},qn,{relatedTarget:0}),ks=de(Qm),Ym=T({},rl,{animationName:0,elapsedTime:0,pseudoElement:0}),Zm=de(Ym),Xm=T({},rl,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),km=de(Xm),Km=T({},rl,{data:0}),tf=de(Km),Jm={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Fm={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Wm={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function $m(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=Wm[t])?!!e[t]:!1}function Ks(){return $m}var Pm=T({},qn,{key:function(t){if(t.key){var e=Jm[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=tu(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?Fm[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ks,charCode:function(t){return t.type==="keypress"?tu(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?tu(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),Im=de(Pm),tv=T({},lu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ef=de(tv),ev=T({},qn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ks}),av=de(ev),lv=T({},rl,{propertyName:0,elapsedTime:0,pseudoElement:0}),nv=de(lv),iv=T({},lu,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),uv=de(iv),sv=T({},rl,{newState:0,oldState:0}),rv=de(sv),cv=[9,13,27,32],Js=na&&"CompositionEvent"in window,Gn=null;na&&"documentMode"in document&&(Gn=document.documentMode);var ov=na&&"TextEvent"in window&&!Gn,af=na&&(!Js||Gn&&8<Gn&&11>=Gn),lf=" ",nf=!1;function uf(t,e){switch(t){case"keyup":return cv.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function sf(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Ql=!1;function fv(t,e){switch(t){case"compositionend":return sf(e);case"keypress":return e.which!==32?null:(nf=!0,lf);case"textInput":return t=e.data,t===lf&&nf?null:t;default:return null}}function dv(t,e){if(Ql)return t==="compositionend"||!Js&&uf(t,e)?(t=$o(),Ii=Ys=Ca=null,Ql=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return af&&e.locale!=="ko"?null:e.data;default:return null}}var hv={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function rf(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!hv[t.type]:e==="textarea"}function cf(t,e,a,l){Vl?Gl?Gl.push(l):Gl=[l]:Vl=l,e=Yu(e,"onChange"),0<e.length&&(a=new au("onChange","change",null,a,l),t.push({event:a,listeners:e}))}var Qn=null,Yn=null;function mv(t){Y1(t,0)}function nu(t){var e=Hn(t);if(Yo(e))return t}function of(t,e){if(t==="change")return e}var ff=!1;if(na){var Fs;if(na){var Ws="oninput"in document;if(!Ws){var df=document.createElement("div");df.setAttribute("oninput","return;"),Ws=typeof df.oninput=="function"}Fs=Ws}else Fs=!1;ff=Fs&&(!document.documentMode||9<document.documentMode)}function hf(){Qn&&(Qn.detachEvent("onpropertychange",mf),Yn=Qn=null)}function mf(t){if(t.propertyName==="value"&&nu(Yn)){var e=[];cf(e,Yn,t,Vs(t)),Wo(mv,e)}}function vv(t,e,a){t==="focusin"?(hf(),Qn=e,Yn=a,Qn.attachEvent("onpropertychange",mf)):t==="focusout"&&hf()}function pv(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return nu(Yn)}function gv(t,e){if(t==="click")return nu(e)}function yv(t,e){if(t==="input"||t==="change")return nu(e)}function bv(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var Se=typeof Object.is=="function"?Object.is:bv;function Zn(t,e){if(Se(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var a=Object.keys(t),l=Object.keys(e);if(a.length!==l.length)return!1;for(l=0;l<a.length;l++){var n=a[l];if(!wa.call(e,n)||!Se(t[n],e[n]))return!1}return!0}function vf(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function pf(t,e){var a=vf(t);t=0;for(var l;a;){if(a.nodeType===3){if(l=t+a.textContent.length,t<=e&&l>=e)return{node:a,offset:e-t};t=l}t:{for(;a;){if(a.nextSibling){a=a.nextSibling;break t}a=a.parentNode}a=void 0}a=vf(a)}}function gf(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?gf(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function yf(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=$i(t.document);e instanceof t.HTMLIFrameElement;){try{var a=typeof e.contentWindow.location.href=="string"}catch(l){a=!1}if(a)t=e.contentWindow;else break;e=$i(t.document)}return e}function $s(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var xv=na&&"documentMode"in document&&11>=document.documentMode,Yl=null,Ps=null,Xn=null,Is=!1;function bf(t,e,a){var l=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Is||Yl==null||Yl!==$i(l)||(l=Yl,"selectionStart"in l&&$s(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),Xn&&Zn(Xn,l)||(Xn=l,l=Yu(Ps,"onSelect"),0<l.length&&(e=new au("onSelect","select",null,e,a),t.push({event:e,listeners:l}),e.target=Yl)))}function cl(t,e){var a={};return a[t.toLowerCase()]=e.toLowerCase(),a["Webkit"+t]="webkit"+e,a["Moz"+t]="moz"+e,a}var Zl={animationend:cl("Animation","AnimationEnd"),animationiteration:cl("Animation","AnimationIteration"),animationstart:cl("Animation","AnimationStart"),transitionrun:cl("Transition","TransitionRun"),transitionstart:cl("Transition","TransitionStart"),transitioncancel:cl("Transition","TransitionCancel"),transitionend:cl("Transition","TransitionEnd")},tr={},xf={};na&&(xf=document.createElement("div").style,"AnimationEvent"in window||(delete Zl.animationend.animation,delete Zl.animationiteration.animation,delete Zl.animationstart.animation),"TransitionEvent"in window||delete Zl.transitionend.transition);function ol(t){if(tr[t])return tr[t];if(!Zl[t])return t;var e=Zl[t],a;for(a in e)if(e.hasOwnProperty(a)&&a in xf)return tr[t]=e[a];return t}var Sf=ol("animationend"),Tf=ol("animationiteration"),Ef=ol("animationstart"),Sv=ol("transitionrun"),Tv=ol("transitionstart"),Ev=ol("transitioncancel"),Af=ol("transitionend"),wf=new Map,er="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");er.push("scrollEnd");function Ve(t,e){wf.set(t,e),sl(e,[t])}var Mf=new WeakMap;function Oe(t,e){if(typeof t=="object"&&t!==null){var a=Mf.get(t);return a!==void 0?a:(e={value:t,source:e,stack:Go(e)},Mf.set(t,e),e)}return{value:t,source:e,stack:Go(e)}}var Re=[],Xl=0,ar=0;function iu(){for(var t=Xl,e=ar=Xl=0;e<t;){var a=Re[e];Re[e++]=null;var l=Re[e];Re[e++]=null;var n=Re[e];Re[e++]=null;var u=Re[e];if(Re[e++]=null,l!==null&&n!==null){var f=l.pending;f===null?n.next=n:(n.next=f.next,f.next=n),l.pending=n}u!==0&&zf(a,n,u)}}function uu(t,e,a,l){Re[Xl++]=t,Re[Xl++]=e,Re[Xl++]=a,Re[Xl++]=l,ar|=l,t.lanes|=l,t=t.alternate,t!==null&&(t.lanes|=l)}function lr(t,e,a,l){return uu(t,e,a,l),su(t)}function kl(t,e){return uu(t,null,null,e),su(t)}function zf(t,e,a){t.lanes|=a;var l=t.alternate;l!==null&&(l.lanes|=a);for(var n=!1,u=t.return;u!==null;)u.childLanes|=a,l=u.alternate,l!==null&&(l.childLanes|=a),u.tag===22&&(t=u.stateNode,t===null||t._visibility&1||(n=!0)),t=u,u=u.return;return t.tag===3?(u=t.stateNode,n&&e!==null&&(n=31-xe(a),t=u.hiddenUpdates,l=t[n],l===null?t[n]=[e]:l.push(e),e.lane=a|536870912),u):null}function su(t){if(50<pi)throw pi=0,cc=null,Error(c(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var Kl={};function Av(t,e,a,l){this.tag=t,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Te(t,e,a,l){return new Av(t,e,a,l)}function nr(t){return t=t.prototype,!(!t||!t.isReactComponent)}function ia(t,e){var a=t.alternate;return a===null?(a=Te(t.tag,e,t.key,t.mode),a.elementType=t.elementType,a.type=t.type,a.stateNode=t.stateNode,a.alternate=t,t.alternate=a):(a.pendingProps=e,a.type=t.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=t.flags&65011712,a.childLanes=t.childLanes,a.lanes=t.lanes,a.child=t.child,a.memoizedProps=t.memoizedProps,a.memoizedState=t.memoizedState,a.updateQueue=t.updateQueue,e=t.dependencies,a.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},a.sibling=t.sibling,a.index=t.index,a.ref=t.ref,a.refCleanup=t.refCleanup,a}function Cf(t,e){t.flags&=65011714;var a=t.alternate;return a===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=a.childLanes,t.lanes=a.lanes,t.child=a.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=a.memoizedProps,t.memoizedState=a.memoizedState,t.updateQueue=a.updateQueue,t.type=a.type,e=a.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function ru(t,e,a,l,n,u){var f=0;if(l=t,typeof t=="function")nr(t)&&(f=1);else if(typeof t=="string")f=Mp(t,a,dt.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case Ct:return t=Te(31,a,e,n),t.elementType=Ct,t.lanes=u,t;case G:return fl(a.children,n,u,e);case H:f=8,n|=24;break;case Z:return t=Te(12,a,e,n|2),t.elementType=Z,t.lanes=u,t;case $:return t=Te(13,a,e,n),t.elementType=$,t.lanes=u,t;case st:return t=Te(19,a,e,n),t.elementType=st,t.lanes=u,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case V:case X:f=10;break t;case tt:f=9;break t;case k:f=11;break t;case rt:f=14;break t;case K:f=16,l=null;break t}f=29,a=Error(c(130,t===null?"null":typeof t,"")),l=null}return e=Te(f,a,e,n),e.elementType=t,e.type=l,e.lanes=u,e}function fl(t,e,a,l){return t=Te(7,t,l,e),t.lanes=a,t}function ir(t,e,a){return t=Te(6,t,null,e),t.lanes=a,t}function ur(t,e,a){return e=Te(4,t.children!==null?t.children:[],t.key,e),e.lanes=a,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var Jl=[],Fl=0,cu=null,ou=0,De=[],_e=0,dl=null,ua=1,sa="";function hl(t,e){Jl[Fl++]=ou,Jl[Fl++]=cu,cu=t,ou=e}function Nf(t,e,a){De[_e++]=ua,De[_e++]=sa,De[_e++]=dl,dl=t;var l=ua;t=sa;var n=32-xe(l)-1;l&=~(1<<n),a+=1;var u=32-xe(e)+n;if(30<u){var f=n-n%5;u=(l&(1<<f)-1).toString(32),l>>=f,n-=f,ua=1<<32-xe(e)+n|a<<n|l,sa=u+t}else ua=1<<u|a<<n|l,sa=t}function sr(t){t.return!==null&&(hl(t,1),Nf(t,1,0))}function rr(t){for(;t===cu;)cu=Jl[--Fl],Jl[Fl]=null,ou=Jl[--Fl],Jl[Fl]=null;for(;t===dl;)dl=De[--_e],De[_e]=null,sa=De[--_e],De[_e]=null,ua=De[--_e],De[_e]=null}var re=null,Ht=null,St=!1,ml=null,Je=!1,cr=Error(c(519));function vl(t){var e=Error(c(418,""));throw Jn(Oe(e,t)),cr}function Of(t){var e=t.stateNode,a=t.type,l=t.memoizedProps;switch(e[ie]=t,e[fe]=l,a){case"dialog":mt("cancel",e),mt("close",e);break;case"iframe":case"object":case"embed":mt("load",e);break;case"video":case"audio":for(a=0;a<yi.length;a++)mt(yi[a],e);break;case"source":mt("error",e);break;case"img":case"image":case"link":mt("error",e),mt("load",e);break;case"details":mt("toggle",e);break;case"input":mt("invalid",e),Zo(e,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0),Wi(e);break;case"select":mt("invalid",e);break;case"textarea":mt("invalid",e),ko(e,l.value,l.defaultValue,l.children),Wi(e)}a=l.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||e.textContent===""+a||l.suppressHydrationWarning===!0||K1(e.textContent,a)?(l.popover!=null&&(mt("beforetoggle",e),mt("toggle",e)),l.onScroll!=null&&mt("scroll",e),l.onScrollEnd!=null&&mt("scrollend",e),l.onClick!=null&&(e.onclick=Zu),e=!0):e=!1,e||vl(t)}function Rf(t){for(re=t.return;re;)switch(re.tag){case 5:case 13:Je=!1;return;case 27:case 3:Je=!0;return;default:re=re.return}}function kn(t){if(t!==re)return!1;if(!St)return Rf(t),St=!0,!1;var e=t.tag,a;if((a=e!==3&&e!==27)&&((a=e===5)&&(a=t.type,a=!(a!=="form"&&a!=="button")||wc(t.type,t.memoizedProps)),a=!a),a&&Ht&&vl(t),Rf(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(c(317));t:{for(t=t.nextSibling,e=0;t;){if(t.nodeType===8)if(a=t.data,a==="/$"){if(e===0){Ht=Qe(t.nextSibling);break t}e--}else a!=="$"&&a!=="$!"&&a!=="$?"||e++;t=t.nextSibling}Ht=null}}else e===27?(e=Ht,Za(t.type)?(t=Nc,Nc=null,Ht=t):Ht=e):Ht=re?Qe(t.stateNode.nextSibling):null;return!0}function Kn(){Ht=re=null,St=!1}function Df(){var t=ml;return t!==null&&(ve===null?ve=t:ve.push.apply(ve,t),ml=null),t}function Jn(t){ml===null?ml=[t]:ml.push(t)}var or=Yt(null),pl=null,ra=null;function Na(t,e,a){nt(or,e._currentValue),e._currentValue=a}function ca(t){t._currentValue=or.current,Tt(or)}function fr(t,e,a){for(;t!==null;){var l=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,l!==null&&(l.childLanes|=e)):l!==null&&(l.childLanes&e)!==e&&(l.childLanes|=e),t===a)break;t=t.return}}function dr(t,e,a,l){var n=t.child;for(n!==null&&(n.return=t);n!==null;){var u=n.dependencies;if(u!==null){var f=n.child;u=u.firstContext;t:for(;u!==null;){var d=u;u=n;for(var p=0;p<e.length;p++)if(d.context===e[p]){u.lanes|=a,d=u.alternate,d!==null&&(d.lanes|=a),fr(u.return,a,t),l||(f=null);break t}u=d.next}}else if(n.tag===18){if(f=n.return,f===null)throw Error(c(341));f.lanes|=a,u=f.alternate,u!==null&&(u.lanes|=a),fr(f,a,t),f=null}else f=n.child;if(f!==null)f.return=n;else for(f=n;f!==null;){if(f===t){f=null;break}if(n=f.sibling,n!==null){n.return=f.return,f=n;break}f=f.return}n=f}}function Fn(t,e,a,l){t=null;for(var n=e,u=!1;n!==null;){if(!u){if((n.flags&524288)!==0)u=!0;else if((n.flags&262144)!==0)break}if(n.tag===10){var f=n.alternate;if(f===null)throw Error(c(387));if(f=f.memoizedProps,f!==null){var d=n.type;Se(n.pendingProps.value,f.value)||(t!==null?t.push(d):t=[d])}}else if(n===jt.current){if(f=n.alternate,f===null)throw Error(c(387));f.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(t!==null?t.push(Ai):t=[Ai])}n=n.return}t!==null&&dr(e,t,a,l),e.flags|=262144}function fu(t){for(t=t.firstContext;t!==null;){if(!Se(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function gl(t){pl=t,ra=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function ue(t){return _f(pl,t)}function du(t,e){return pl===null&&gl(t),_f(t,e)}function _f(t,e){var a=e._currentValue;if(e={context:e,memoizedValue:a,next:null},ra===null){if(t===null)throw Error(c(308));ra=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else ra=ra.next=e;return a}var wv=typeof AbortController!="undefined"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(a,l){t.push(l)}};this.abort=function(){e.aborted=!0,t.forEach(function(a){return a()})}},Mv=i.unstable_scheduleCallback,zv=i.unstable_NormalPriority,kt={$$typeof:X,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function hr(){return{controller:new wv,data:new Map,refCount:0}}function Wn(t){t.refCount--,t.refCount===0&&Mv(zv,function(){t.controller.abort()})}var $n=null,mr=0,Wl=0,$l=null;function Cv(t,e){if($n===null){var a=$n=[];mr=0,Wl=pc(),$l={status:"pending",value:void 0,then:function(l){a.push(l)}}}return mr++,e.then(jf,jf),e}function jf(){if(--mr===0&&$n!==null){$l!==null&&($l.status="fulfilled");var t=$n;$n=null,Wl=0,$l=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function Nv(t,e){var a=[],l={status:"pending",value:null,reason:null,then:function(n){a.push(n)}};return t.then(function(){l.status="fulfilled",l.value=e;for(var n=0;n<a.length;n++)(0,a[n])(e)},function(n){for(l.status="rejected",l.reason=n,n=0;n<a.length;n++)(0,a[n])(void 0)}),l}var Uf=N.S;N.S=function(t,e){typeof e=="object"&&e!==null&&typeof e.then=="function"&&Cv(t,e),Uf!==null&&Uf(t,e)};var yl=Yt(null);function vr(){var t=yl.current;return t!==null?t:Rt.pooledCache}function hu(t,e){e===null?nt(yl,yl.current):nt(yl,e.pool)}function Hf(){var t=vr();return t===null?null:{parent:kt._currentValue,pool:t}}var Pn=Error(c(460)),Lf=Error(c(474)),mu=Error(c(542)),pr={then:function(){}};function Bf(t){return t=t.status,t==="fulfilled"||t==="rejected"}function vu(){}function qf(t,e,a){switch(a=t[a],a===void 0?t.push(e):a!==e&&(e.then(vu,vu),e=a),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Gf(t),t;default:if(typeof e.status=="string")e.then(vu,vu);else{if(t=Rt,t!==null&&100<t.shellSuspendCounter)throw Error(c(482));t=e,t.status="pending",t.then(function(l){if(e.status==="pending"){var n=e;n.status="fulfilled",n.value=l}},function(l){if(e.status==="pending"){var n=e;n.status="rejected",n.reason=l}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Gf(t),t}throw In=e,Pn}}var In=null;function Vf(){if(In===null)throw Error(c(459));var t=In;return In=null,t}function Gf(t){if(t===Pn||t===mu)throw Error(c(483))}var Oa=!1;function gr(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function yr(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function Ra(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Da(t,e,a){var l=t.updateQueue;if(l===null)return null;if(l=l.shared,(Et&2)!==0){var n=l.pending;return n===null?e.next=e:(e.next=n.next,n.next=e),l.pending=e,e=su(t),zf(t,null,a),e}return uu(t,l,e,a),su(t)}function ti(t,e,a){if(e=e.updateQueue,e!==null&&(e=e.shared,(a&4194048)!==0)){var l=e.lanes;l&=t.pendingLanes,a|=l,e.lanes=a,_o(t,a)}}function br(t,e){var a=t.updateQueue,l=t.alternate;if(l!==null&&(l=l.updateQueue,a===l)){var n=null,u=null;if(a=a.firstBaseUpdate,a!==null){do{var f={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};u===null?n=u=f:u=u.next=f,a=a.next}while(a!==null);u===null?n=u=e:u=u.next=e}else n=u=e;a={baseState:l.baseState,firstBaseUpdate:n,lastBaseUpdate:u,shared:l.shared,callbacks:l.callbacks},t.updateQueue=a;return}t=a.lastBaseUpdate,t===null?a.firstBaseUpdate=e:t.next=e,a.lastBaseUpdate=e}var xr=!1;function ei(){if(xr){var t=$l;if(t!==null)throw t}}function ai(t,e,a,l){xr=!1;var n=t.updateQueue;Oa=!1;var u=n.firstBaseUpdate,f=n.lastBaseUpdate,d=n.shared.pending;if(d!==null){n.shared.pending=null;var p=d,A=p.next;p.next=null,f===null?u=A:f.next=A,f=p;var D=t.alternate;D!==null&&(D=D.updateQueue,d=D.lastBaseUpdate,d!==f&&(d===null?D.firstBaseUpdate=A:d.next=A,D.lastBaseUpdate=p))}if(u!==null){var U=n.baseState;f=0,D=A=p=null,d=u;do{var z=d.lane&-536870913,C=z!==d.lane;if(C?(gt&z)===z:(l&z)===z){z!==0&&z===Wl&&(xr=!0),D!==null&&(D=D.next={lane:0,tag:d.tag,payload:d.payload,callback:null,next:null});t:{var it=t,at=d;z=e;var zt=a;switch(at.tag){case 1:if(it=at.payload,typeof it=="function"){U=it.call(zt,U,z);break t}U=it;break t;case 3:it.flags=it.flags&-65537|128;case 0:if(it=at.payload,z=typeof it=="function"?it.call(zt,U,z):it,z==null)break t;U=T({},U,z);break t;case 2:Oa=!0}}z=d.callback,z!==null&&(t.flags|=64,C&&(t.flags|=8192),C=n.callbacks,C===null?n.callbacks=[z]:C.push(z))}else C={lane:z,tag:d.tag,payload:d.payload,callback:d.callback,next:null},D===null?(A=D=C,p=U):D=D.next=C,f|=z;if(d=d.next,d===null){if(d=n.shared.pending,d===null)break;C=d,d=C.next,C.next=null,n.lastBaseUpdate=C,n.shared.pending=null}}while(!0);D===null&&(p=U),n.baseState=p,n.firstBaseUpdate=A,n.lastBaseUpdate=D,u===null&&(n.shared.lanes=0),Va|=f,t.lanes=f,t.memoizedState=U}}function Qf(t,e){if(typeof t!="function")throw Error(c(191,t));t.call(e)}function Yf(t,e){var a=t.callbacks;if(a!==null)for(t.callbacks=null,t=0;t<a.length;t++)Qf(a[t],e)}var Pl=Yt(null),pu=Yt(0);function Zf(t,e){t=pa,nt(pu,t),nt(Pl,e),pa=t|e.baseLanes}function Sr(){nt(pu,pa),nt(Pl,Pl.current)}function Tr(){pa=pu.current,Tt(Pl),Tt(pu)}var _a=0,ct=null,wt=null,Zt=null,gu=!1,Il=!1,bl=!1,yu=0,li=0,tn=null,Ov=0;function Vt(){throw Error(c(321))}function Er(t,e){if(e===null)return!1;for(var a=0;a<e.length&&a<t.length;a++)if(!Se(t[a],e[a]))return!1;return!0}function Ar(t,e,a,l,n,u){return _a=u,ct=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,N.H=t===null||t.memoizedState===null?zd:Cd,bl=!1,u=a(l,n),bl=!1,Il&&(u=kf(e,a,l,n)),Xf(t),u}function Xf(t){N.H=Au;var e=wt!==null&&wt.next!==null;if(_a=0,Zt=wt=ct=null,gu=!1,li=0,tn=null,e)throw Error(c(300));t===null||$t||(t=t.dependencies,t!==null&&fu(t)&&($t=!0))}function kf(t,e,a,l){ct=t;var n=0;do{if(Il&&(tn=null),li=0,Il=!1,25<=n)throw Error(c(301));if(n+=1,Zt=wt=null,t.updateQueue!=null){var u=t.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}N.H=Lv,u=e(a,l)}while(Il);return u}function Rv(){var t=N.H,e=t.useState()[0];return e=typeof e.then=="function"?ni(e):e,t=t.useState()[0],(wt!==null?wt.memoizedState:null)!==t&&(ct.flags|=1024),e}function wr(){var t=yu!==0;return yu=0,t}function Mr(t,e,a){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~a}function zr(t){if(gu){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}gu=!1}_a=0,Zt=wt=ct=null,Il=!1,li=yu=0,tn=null}function he(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Zt===null?ct.memoizedState=Zt=t:Zt=Zt.next=t,Zt}function Xt(){if(wt===null){var t=ct.alternate;t=t!==null?t.memoizedState:null}else t=wt.next;var e=Zt===null?ct.memoizedState:Zt.next;if(e!==null)Zt=e,wt=t;else{if(t===null)throw ct.alternate===null?Error(c(467)):Error(c(310));wt=t,t={memoizedState:wt.memoizedState,baseState:wt.baseState,baseQueue:wt.baseQueue,queue:wt.queue,next:null},Zt===null?ct.memoizedState=Zt=t:Zt=Zt.next=t}return Zt}function Cr(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ni(t){var e=li;return li+=1,tn===null&&(tn=[]),t=qf(tn,t,e),e=ct,(Zt===null?e.memoizedState:Zt.next)===null&&(e=e.alternate,N.H=e===null||e.memoizedState===null?zd:Cd),t}function bu(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return ni(t);if(t.$$typeof===X)return ue(t)}throw Error(c(438,String(t)))}function Nr(t){var e=null,a=ct.updateQueue;if(a!==null&&(e=a.memoCache),e==null){var l=ct.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(e={data:l.data.map(function(n){return n.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),a===null&&(a=Cr(),ct.updateQueue=a),a.memoCache=e,a=e.data[e.index],a===void 0)for(a=e.data[e.index]=Array(t),l=0;l<t;l++)a[l]=yt;return e.index++,a}function oa(t,e){return typeof e=="function"?e(t):e}function xu(t){var e=Xt();return Or(e,wt,t)}function Or(t,e,a){var l=t.queue;if(l===null)throw Error(c(311));l.lastRenderedReducer=a;var n=t.baseQueue,u=l.pending;if(u!==null){if(n!==null){var f=n.next;n.next=u.next,u.next=f}e.baseQueue=n=u,l.pending=null}if(u=t.baseState,n===null)t.memoizedState=u;else{e=n.next;var d=f=null,p=null,A=e,D=!1;do{var U=A.lane&-536870913;if(U!==A.lane?(gt&U)===U:(_a&U)===U){var z=A.revertLane;if(z===0)p!==null&&(p=p.next={lane:0,revertLane:0,action:A.action,hasEagerState:A.hasEagerState,eagerState:A.eagerState,next:null}),U===Wl&&(D=!0);else if((_a&z)===z){A=A.next,z===Wl&&(D=!0);continue}else U={lane:0,revertLane:A.revertLane,action:A.action,hasEagerState:A.hasEagerState,eagerState:A.eagerState,next:null},p===null?(d=p=U,f=u):p=p.next=U,ct.lanes|=z,Va|=z;U=A.action,bl&&a(u,U),u=A.hasEagerState?A.eagerState:a(u,U)}else z={lane:U,revertLane:A.revertLane,action:A.action,hasEagerState:A.hasEagerState,eagerState:A.eagerState,next:null},p===null?(d=p=z,f=u):p=p.next=z,ct.lanes|=U,Va|=U;A=A.next}while(A!==null&&A!==e);if(p===null?f=u:p.next=d,!Se(u,t.memoizedState)&&($t=!0,D&&(a=$l,a!==null)))throw a;t.memoizedState=u,t.baseState=f,t.baseQueue=p,l.lastRenderedState=u}return n===null&&(l.lanes=0),[t.memoizedState,l.dispatch]}function Rr(t){var e=Xt(),a=e.queue;if(a===null)throw Error(c(311));a.lastRenderedReducer=t;var l=a.dispatch,n=a.pending,u=e.memoizedState;if(n!==null){a.pending=null;var f=n=n.next;do u=t(u,f.action),f=f.next;while(f!==n);Se(u,e.memoizedState)||($t=!0),e.memoizedState=u,e.baseQueue===null&&(e.baseState=u),a.lastRenderedState=u}return[u,l]}function Kf(t,e,a){var l=ct,n=Xt(),u=St;if(u){if(a===void 0)throw Error(c(407));a=a()}else a=e();var f=!Se((wt||n).memoizedState,a);f&&(n.memoizedState=a,$t=!0),n=n.queue;var d=Wf.bind(null,l,n,t);if(ii(2048,8,d,[t]),n.getSnapshot!==e||f||Zt!==null&&Zt.memoizedState.tag&1){if(l.flags|=2048,en(9,Su(),Ff.bind(null,l,n,a,e),null),Rt===null)throw Error(c(349));u||(_a&124)!==0||Jf(l,e,a)}return a}function Jf(t,e,a){t.flags|=16384,t={getSnapshot:e,value:a},e=ct.updateQueue,e===null?(e=Cr(),ct.updateQueue=e,e.stores=[t]):(a=e.stores,a===null?e.stores=[t]:a.push(t))}function Ff(t,e,a,l){e.value=a,e.getSnapshot=l,$f(e)&&Pf(t)}function Wf(t,e,a){return a(function(){$f(e)&&Pf(t)})}function $f(t){var e=t.getSnapshot;t=t.value;try{var a=e();return!Se(t,a)}catch(l){return!0}}function Pf(t){var e=kl(t,2);e!==null&&ze(e,t,2)}function Dr(t){var e=he();if(typeof t=="function"){var a=t;if(t=a(),bl){Ma(!0);try{a()}finally{Ma(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:oa,lastRenderedState:t},e}function If(t,e,a,l){return t.baseState=a,Or(t,wt,typeof l=="function"?l:oa)}function Dv(t,e,a,l,n){if(Eu(t))throw Error(c(485));if(t=e.action,t!==null){var u={payload:n,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(f){u.listeners.push(f)}};N.T!==null?a(!0):u.isTransition=!1,l(u),a=e.pending,a===null?(u.next=e.pending=u,td(e,u)):(u.next=a.next,e.pending=a.next=u)}}function td(t,e){var a=e.action,l=e.payload,n=t.state;if(e.isTransition){var u=N.T,f={};N.T=f;try{var d=a(n,l),p=N.S;p!==null&&p(f,d),ed(t,e,d)}catch(A){_r(t,e,A)}finally{N.T=u}}else try{u=a(n,l),ed(t,e,u)}catch(A){_r(t,e,A)}}function ed(t,e,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(l){ad(t,e,l)},function(l){return _r(t,e,l)}):ad(t,e,a)}function ad(t,e,a){e.status="fulfilled",e.value=a,ld(e),t.state=a,e=t.pending,e!==null&&(a=e.next,a===e?t.pending=null:(a=a.next,e.next=a,td(t,a)))}function _r(t,e,a){var l=t.pending;if(t.pending=null,l!==null){l=l.next;do e.status="rejected",e.reason=a,ld(e),e=e.next;while(e!==l)}t.action=null}function ld(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function nd(t,e){return e}function id(t,e){if(St){var a=Rt.formState;if(a!==null){t:{var l=ct;if(St){if(Ht){e:{for(var n=Ht,u=Je;n.nodeType!==8;){if(!u){n=null;break e}if(n=Qe(n.nextSibling),n===null){n=null;break e}}u=n.data,n=u==="F!"||u==="F"?n:null}if(n){Ht=Qe(n.nextSibling),l=n.data==="F!";break t}}vl(l)}l=!1}l&&(e=a[0])}}return a=he(),a.memoizedState=a.baseState=e,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:nd,lastRenderedState:e},a.queue=l,a=Ad.bind(null,ct,l),l.dispatch=a,l=Dr(!1),u=Br.bind(null,ct,!1,l.queue),l=he(),n={state:e,dispatch:null,action:t,pending:null},l.queue=n,a=Dv.bind(null,ct,n,u,a),n.dispatch=a,l.memoizedState=t,[e,a,!1]}function ud(t){var e=Xt();return sd(e,wt,t)}function sd(t,e,a){if(e=Or(t,e,nd)[0],t=xu(oa)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var l=ni(e)}catch(f){throw f===Pn?mu:f}else l=e;e=Xt();var n=e.queue,u=n.dispatch;return a!==e.memoizedState&&(ct.flags|=2048,en(9,Su(),_v.bind(null,n,a),null)),[l,u,t]}function _v(t,e){t.action=e}function rd(t){var e=Xt(),a=wt;if(a!==null)return sd(e,a,t);Xt(),e=e.memoizedState,a=Xt();var l=a.queue.dispatch;return a.memoizedState=t,[e,l,!1]}function en(t,e,a,l){return t={tag:t,create:a,deps:l,inst:e,next:null},e=ct.updateQueue,e===null&&(e=Cr(),ct.updateQueue=e),a=e.lastEffect,a===null?e.lastEffect=t.next=t:(l=a.next,a.next=t,t.next=l,e.lastEffect=t),t}function Su(){return{destroy:void 0,resource:void 0}}function cd(){return Xt().memoizedState}function Tu(t,e,a,l){var n=he();l=l===void 0?null:l,ct.flags|=t,n.memoizedState=en(1|e,Su(),a,l)}function ii(t,e,a,l){var n=Xt();l=l===void 0?null:l;var u=n.memoizedState.inst;wt!==null&&l!==null&&Er(l,wt.memoizedState.deps)?n.memoizedState=en(e,u,a,l):(ct.flags|=t,n.memoizedState=en(1|e,u,a,l))}function od(t,e){Tu(8390656,8,t,e)}function fd(t,e){ii(2048,8,t,e)}function dd(t,e){return ii(4,2,t,e)}function hd(t,e){return ii(4,4,t,e)}function md(t,e){if(typeof e=="function"){t=t();var a=e(t);return function(){typeof a=="function"?a():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function vd(t,e,a){a=a!=null?a.concat([t]):null,ii(4,4,md.bind(null,e,t),a)}function jr(){}function pd(t,e){var a=Xt();e=e===void 0?null:e;var l=a.memoizedState;return e!==null&&Er(e,l[1])?l[0]:(a.memoizedState=[t,e],t)}function gd(t,e){var a=Xt();e=e===void 0?null:e;var l=a.memoizedState;if(e!==null&&Er(e,l[1]))return l[0];if(l=t(),bl){Ma(!0);try{t()}finally{Ma(!1)}}return a.memoizedState=[l,e],l}function Ur(t,e,a){return a===void 0||(_a&1073741824)!==0?t.memoizedState=e:(t.memoizedState=a,t=x1(),ct.lanes|=t,Va|=t,a)}function yd(t,e,a,l){return Se(a,e)?a:Pl.current!==null?(t=Ur(t,a,l),Se(t,e)||($t=!0),t):(_a&42)===0?($t=!0,t.memoizedState=a):(t=x1(),ct.lanes|=t,Va|=t,e)}function bd(t,e,a,l,n){var u=B.p;B.p=u!==0&&8>u?u:8;var f=N.T,d={};N.T=d,Br(t,!1,e,a);try{var p=n(),A=N.S;if(A!==null&&A(d,p),p!==null&&typeof p=="object"&&typeof p.then=="function"){var D=Nv(p,l);ui(t,e,D,Me(t))}else ui(t,e,l,Me(t))}catch(U){ui(t,e,{then:function(){},status:"rejected",reason:U},Me())}finally{B.p=u,N.T=f}}function jv(){}function Hr(t,e,a,l){if(t.tag!==5)throw Error(c(476));var n=xd(t).queue;bd(t,n,e,L,a===null?jv:function(){return Sd(t),a(l)})}function xd(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:L,baseState:L,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:oa,lastRenderedState:L},next:null};var a={};return e.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:oa,lastRenderedState:a},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function Sd(t){var e=xd(t).next.queue;ui(t,e,{},Me())}function Lr(){return ue(Ai)}function Td(){return Xt().memoizedState}function Ed(){return Xt().memoizedState}function Uv(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var a=Me();t=Ra(a);var l=Da(e,t,a);l!==null&&(ze(l,e,a),ti(l,e,a)),e={cache:hr()},t.payload=e;return}e=e.return}}function Hv(t,e,a){var l=Me();a={lane:l,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null},Eu(t)?wd(e,a):(a=lr(t,e,a,l),a!==null&&(ze(a,t,l),Md(a,e,l)))}function Ad(t,e,a){var l=Me();ui(t,e,a,l)}function ui(t,e,a,l){var n={lane:l,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null};if(Eu(t))wd(e,n);else{var u=t.alternate;if(t.lanes===0&&(u===null||u.lanes===0)&&(u=e.lastRenderedReducer,u!==null))try{var f=e.lastRenderedState,d=u(f,a);if(n.hasEagerState=!0,n.eagerState=d,Se(d,f))return uu(t,e,n,0),Rt===null&&iu(),!1}catch(p){}finally{}if(a=lr(t,e,n,l),a!==null)return ze(a,t,l),Md(a,e,l),!0}return!1}function Br(t,e,a,l){if(l={lane:2,revertLane:pc(),action:l,hasEagerState:!1,eagerState:null,next:null},Eu(t)){if(e)throw Error(c(479))}else e=lr(t,a,l,2),e!==null&&ze(e,t,2)}function Eu(t){var e=t.alternate;return t===ct||e!==null&&e===ct}function wd(t,e){Il=gu=!0;var a=t.pending;a===null?e.next=e:(e.next=a.next,a.next=e),t.pending=e}function Md(t,e,a){if((a&4194048)!==0){var l=e.lanes;l&=t.pendingLanes,a|=l,e.lanes=a,_o(t,a)}}var Au={readContext:ue,use:bu,useCallback:Vt,useContext:Vt,useEffect:Vt,useImperativeHandle:Vt,useLayoutEffect:Vt,useInsertionEffect:Vt,useMemo:Vt,useReducer:Vt,useRef:Vt,useState:Vt,useDebugValue:Vt,useDeferredValue:Vt,useTransition:Vt,useSyncExternalStore:Vt,useId:Vt,useHostTransitionStatus:Vt,useFormState:Vt,useActionState:Vt,useOptimistic:Vt,useMemoCache:Vt,useCacheRefresh:Vt},zd={readContext:ue,use:bu,useCallback:function(t,e){return he().memoizedState=[t,e===void 0?null:e],t},useContext:ue,useEffect:od,useImperativeHandle:function(t,e,a){a=a!=null?a.concat([t]):null,Tu(4194308,4,md.bind(null,e,t),a)},useLayoutEffect:function(t,e){return Tu(4194308,4,t,e)},useInsertionEffect:function(t,e){Tu(4,2,t,e)},useMemo:function(t,e){var a=he();e=e===void 0?null:e;var l=t();if(bl){Ma(!0);try{t()}finally{Ma(!1)}}return a.memoizedState=[l,e],l},useReducer:function(t,e,a){var l=he();if(a!==void 0){var n=a(e);if(bl){Ma(!0);try{a(e)}finally{Ma(!1)}}}else n=e;return l.memoizedState=l.baseState=n,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:n},l.queue=t,t=t.dispatch=Hv.bind(null,ct,t),[l.memoizedState,t]},useRef:function(t){var e=he();return t={current:t},e.memoizedState=t},useState:function(t){t=Dr(t);var e=t.queue,a=Ad.bind(null,ct,e);return e.dispatch=a,[t.memoizedState,a]},useDebugValue:jr,useDeferredValue:function(t,e){var a=he();return Ur(a,t,e)},useTransition:function(){var t=Dr(!1);return t=bd.bind(null,ct,t.queue,!0,!1),he().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,a){var l=ct,n=he();if(St){if(a===void 0)throw Error(c(407));a=a()}else{if(a=e(),Rt===null)throw Error(c(349));(gt&124)!==0||Jf(l,e,a)}n.memoizedState=a;var u={value:a,getSnapshot:e};return n.queue=u,od(Wf.bind(null,l,u,t),[t]),l.flags|=2048,en(9,Su(),Ff.bind(null,l,u,a,e),null),a},useId:function(){var t=he(),e=Rt.identifierPrefix;if(St){var a=sa,l=ua;a=(l&~(1<<32-xe(l)-1)).toString(32)+a,e="«"+e+"R"+a,a=yu++,0<a&&(e+="H"+a.toString(32)),e+="»"}else a=Ov++,e="«"+e+"r"+a.toString(32)+"»";return t.memoizedState=e},useHostTransitionStatus:Lr,useFormState:id,useActionState:id,useOptimistic:function(t){var e=he();e.memoizedState=e.baseState=t;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=a,e=Br.bind(null,ct,!0,a),a.dispatch=e,[t,e]},useMemoCache:Nr,useCacheRefresh:function(){return he().memoizedState=Uv.bind(null,ct)}},Cd={readContext:ue,use:bu,useCallback:pd,useContext:ue,useEffect:fd,useImperativeHandle:vd,useInsertionEffect:dd,useLayoutEffect:hd,useMemo:gd,useReducer:xu,useRef:cd,useState:function(){return xu(oa)},useDebugValue:jr,useDeferredValue:function(t,e){var a=Xt();return yd(a,wt.memoizedState,t,e)},useTransition:function(){var t=xu(oa)[0],e=Xt().memoizedState;return[typeof t=="boolean"?t:ni(t),e]},useSyncExternalStore:Kf,useId:Td,useHostTransitionStatus:Lr,useFormState:ud,useActionState:ud,useOptimistic:function(t,e){var a=Xt();return If(a,wt,t,e)},useMemoCache:Nr,useCacheRefresh:Ed},Lv={readContext:ue,use:bu,useCallback:pd,useContext:ue,useEffect:fd,useImperativeHandle:vd,useInsertionEffect:dd,useLayoutEffect:hd,useMemo:gd,useReducer:Rr,useRef:cd,useState:function(){return Rr(oa)},useDebugValue:jr,useDeferredValue:function(t,e){var a=Xt();return wt===null?Ur(a,t,e):yd(a,wt.memoizedState,t,e)},useTransition:function(){var t=Rr(oa)[0],e=Xt().memoizedState;return[typeof t=="boolean"?t:ni(t),e]},useSyncExternalStore:Kf,useId:Td,useHostTransitionStatus:Lr,useFormState:rd,useActionState:rd,useOptimistic:function(t,e){var a=Xt();return wt!==null?If(a,wt,t,e):(a.baseState=t,[t,a.queue.dispatch])},useMemoCache:Nr,useCacheRefresh:Ed},an=null,si=0;function wu(t){var e=si;return si+=1,an===null&&(an=[]),qf(an,t,e)}function ri(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function Mu(t,e){throw e.$$typeof===R?Error(c(525)):(t=Object.prototype.toString.call(e),Error(c(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function Nd(t){var e=t._init;return e(t._payload)}function Od(t){function e(S,y){if(t){var E=S.deletions;E===null?(S.deletions=[y],S.flags|=16):E.push(y)}}function a(S,y){if(!t)return null;for(;y!==null;)e(S,y),y=y.sibling;return null}function l(S){for(var y=new Map;S!==null;)S.key!==null?y.set(S.key,S):y.set(S.index,S),S=S.sibling;return y}function n(S,y){return S=ia(S,y),S.index=0,S.sibling=null,S}function u(S,y,E){return S.index=E,t?(E=S.alternate,E!==null?(E=E.index,E<y?(S.flags|=67108866,y):E):(S.flags|=67108866,y)):(S.flags|=1048576,y)}function f(S){return t&&S.alternate===null&&(S.flags|=67108866),S}function d(S,y,E,j){return y===null||y.tag!==6?(y=ir(E,S.mode,j),y.return=S,y):(y=n(y,E),y.return=S,y)}function p(S,y,E,j){var J=E.type;return J===G?D(S,y,E.props.children,j,E.key):y!==null&&(y.elementType===J||typeof J=="object"&&J!==null&&J.$$typeof===K&&Nd(J)===y.type)?(y=n(y,E.props),ri(y,E),y.return=S,y):(y=ru(E.type,E.key,E.props,null,S.mode,j),ri(y,E),y.return=S,y)}function A(S,y,E,j){return y===null||y.tag!==4||y.stateNode.containerInfo!==E.containerInfo||y.stateNode.implementation!==E.implementation?(y=ur(E,S.mode,j),y.return=S,y):(y=n(y,E.children||[]),y.return=S,y)}function D(S,y,E,j,J){return y===null||y.tag!==7?(y=fl(E,S.mode,j,J),y.return=S,y):(y=n(y,E),y.return=S,y)}function U(S,y,E){if(typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint")return y=ir(""+y,S.mode,E),y.return=S,y;if(typeof y=="object"&&y!==null){switch(y.$$typeof){case _:return E=ru(y.type,y.key,y.props,null,S.mode,E),ri(E,y),E.return=S,E;case Q:return y=ur(y,S.mode,E),y.return=S,y;case K:var j=y._init;return y=j(y._payload),U(S,y,E)}if(et(y)||_t(y))return y=fl(y,S.mode,E,null),y.return=S,y;if(typeof y.then=="function")return U(S,wu(y),E);if(y.$$typeof===X)return U(S,du(S,y),E);Mu(S,y)}return null}function z(S,y,E,j){var J=y!==null?y.key:null;if(typeof E=="string"&&E!==""||typeof E=="number"||typeof E=="bigint")return J!==null?null:d(S,y,""+E,j);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case _:return E.key===J?p(S,y,E,j):null;case Q:return E.key===J?A(S,y,E,j):null;case K:return J=E._init,E=J(E._payload),z(S,y,E,j)}if(et(E)||_t(E))return J!==null?null:D(S,y,E,j,null);if(typeof E.then=="function")return z(S,y,wu(E),j);if(E.$$typeof===X)return z(S,y,du(S,E),j);Mu(S,E)}return null}function C(S,y,E,j,J){if(typeof j=="string"&&j!==""||typeof j=="number"||typeof j=="bigint")return S=S.get(E)||null,d(y,S,""+j,J);if(typeof j=="object"&&j!==null){switch(j.$$typeof){case _:return S=S.get(j.key===null?E:j.key)||null,p(y,S,j,J);case Q:return S=S.get(j.key===null?E:j.key)||null,A(y,S,j,J);case K:var ft=j._init;return j=ft(j._payload),C(S,y,E,j,J)}if(et(j)||_t(j))return S=S.get(E)||null,D(y,S,j,J,null);if(typeof j.then=="function")return C(S,y,E,wu(j),J);if(j.$$typeof===X)return C(S,y,E,du(y,j),J);Mu(y,j)}return null}function it(S,y,E,j){for(var J=null,ft=null,I=y,lt=y=0,It=null;I!==null&&lt<E.length;lt++){I.index>lt?(It=I,I=null):It=I.sibling;var xt=z(S,I,E[lt],j);if(xt===null){I===null&&(I=It);break}t&&I&&xt.alternate===null&&e(S,I),y=u(xt,y,lt),ft===null?J=xt:ft.sibling=xt,ft=xt,I=It}if(lt===E.length)return a(S,I),St&&hl(S,lt),J;if(I===null){for(;lt<E.length;lt++)I=U(S,E[lt],j),I!==null&&(y=u(I,y,lt),ft===null?J=I:ft.sibling=I,ft=I);return St&&hl(S,lt),J}for(I=l(I);lt<E.length;lt++)It=C(I,S,lt,E[lt],j),It!==null&&(t&&It.alternate!==null&&I.delete(It.key===null?lt:It.key),y=u(It,y,lt),ft===null?J=It:ft.sibling=It,ft=It);return t&&I.forEach(function(Fa){return e(S,Fa)}),St&&hl(S,lt),J}function at(S,y,E,j){if(E==null)throw Error(c(151));for(var J=null,ft=null,I=y,lt=y=0,It=null,xt=E.next();I!==null&&!xt.done;lt++,xt=E.next()){I.index>lt?(It=I,I=null):It=I.sibling;var Fa=z(S,I,xt.value,j);if(Fa===null){I===null&&(I=It);break}t&&I&&Fa.alternate===null&&e(S,I),y=u(Fa,y,lt),ft===null?J=Fa:ft.sibling=Fa,ft=Fa,I=It}if(xt.done)return a(S,I),St&&hl(S,lt),J;if(I===null){for(;!xt.done;lt++,xt=E.next())xt=U(S,xt.value,j),xt!==null&&(y=u(xt,y,lt),ft===null?J=xt:ft.sibling=xt,ft=xt);return St&&hl(S,lt),J}for(I=l(I);!xt.done;lt++,xt=E.next())xt=C(I,S,lt,xt.value,j),xt!==null&&(t&&xt.alternate!==null&&I.delete(xt.key===null?lt:xt.key),y=u(xt,y,lt),ft===null?J=xt:ft.sibling=xt,ft=xt);return t&&I.forEach(function(Bp){return e(S,Bp)}),St&&hl(S,lt),J}function zt(S,y,E,j){if(typeof E=="object"&&E!==null&&E.type===G&&E.key===null&&(E=E.props.children),typeof E=="object"&&E!==null){switch(E.$$typeof){case _:t:{for(var J=E.key;y!==null;){if(y.key===J){if(J=E.type,J===G){if(y.tag===7){a(S,y.sibling),j=n(y,E.props.children),j.return=S,S=j;break t}}else if(y.elementType===J||typeof J=="object"&&J!==null&&J.$$typeof===K&&Nd(J)===y.type){a(S,y.sibling),j=n(y,E.props),ri(j,E),j.return=S,S=j;break t}a(S,y);break}else e(S,y);y=y.sibling}E.type===G?(j=fl(E.props.children,S.mode,j,E.key),j.return=S,S=j):(j=ru(E.type,E.key,E.props,null,S.mode,j),ri(j,E),j.return=S,S=j)}return f(S);case Q:t:{for(J=E.key;y!==null;){if(y.key===J)if(y.tag===4&&y.stateNode.containerInfo===E.containerInfo&&y.stateNode.implementation===E.implementation){a(S,y.sibling),j=n(y,E.children||[]),j.return=S,S=j;break t}else{a(S,y);break}else e(S,y);y=y.sibling}j=ur(E,S.mode,j),j.return=S,S=j}return f(S);case K:return J=E._init,E=J(E._payload),zt(S,y,E,j)}if(et(E))return it(S,y,E,j);if(_t(E)){if(J=_t(E),typeof J!="function")throw Error(c(150));return E=J.call(E),at(S,y,E,j)}if(typeof E.then=="function")return zt(S,y,wu(E),j);if(E.$$typeof===X)return zt(S,y,du(S,E),j);Mu(S,E)}return typeof E=="string"&&E!==""||typeof E=="number"||typeof E=="bigint"?(E=""+E,y!==null&&y.tag===6?(a(S,y.sibling),j=n(y,E),j.return=S,S=j):(a(S,y),j=ir(E,S.mode,j),j.return=S,S=j),f(S)):a(S,y)}return function(S,y,E,j){try{si=0;var J=zt(S,y,E,j);return an=null,J}catch(I){if(I===Pn||I===mu)throw I;var ft=Te(29,I,null,S.mode);return ft.lanes=j,ft.return=S,ft}finally{}}}var ln=Od(!0),Rd=Od(!1),je=Yt(null),Fe=null;function ja(t){var e=t.alternate;nt(Kt,Kt.current&1),nt(je,t),Fe===null&&(e===null||Pl.current!==null||e.memoizedState!==null)&&(Fe=t)}function Dd(t){if(t.tag===22){if(nt(Kt,Kt.current),nt(je,t),Fe===null){var e=t.alternate;e!==null&&e.memoizedState!==null&&(Fe=t)}}else Ua()}function Ua(){nt(Kt,Kt.current),nt(je,je.current)}function fa(t){Tt(je),Fe===t&&(Fe=null),Tt(Kt)}var Kt=Yt(0);function zu(t){for(var e=t;e!==null;){if(e.tag===13){var a=e.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||a.data==="$?"||Cc(a)))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}function qr(t,e,a,l){e=t.memoizedState,a=a(l,e),a=a==null?e:T({},e,a),t.memoizedState=a,t.lanes===0&&(t.updateQueue.baseState=a)}var Vr={enqueueSetState:function(t,e,a){t=t._reactInternals;var l=Me(),n=Ra(l);n.payload=e,a!=null&&(n.callback=a),e=Da(t,n,l),e!==null&&(ze(e,t,l),ti(e,t,l))},enqueueReplaceState:function(t,e,a){t=t._reactInternals;var l=Me(),n=Ra(l);n.tag=1,n.payload=e,a!=null&&(n.callback=a),e=Da(t,n,l),e!==null&&(ze(e,t,l),ti(e,t,l))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var a=Me(),l=Ra(a);l.tag=2,e!=null&&(l.callback=e),e=Da(t,l,a),e!==null&&(ze(e,t,a),ti(e,t,a))}};function _d(t,e,a,l,n,u,f){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(l,u,f):e.prototype&&e.prototype.isPureReactComponent?!Zn(a,l)||!Zn(n,u):!0}function jd(t,e,a,l){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(a,l),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(a,l),e.state!==t&&Vr.enqueueReplaceState(e,e.state,null)}function xl(t,e){var a=e;if("ref"in e){a={};for(var l in e)l!=="ref"&&(a[l]=e[l])}if(t=t.defaultProps){a===e&&(a=T({},a));for(var n in t)a[n]===void 0&&(a[n]=t[n])}return a}var Cu=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)};function Ud(t){Cu(t)}function Hd(t){console.error(t)}function Ld(t){Cu(t)}function Nu(t,e){try{var a=t.onUncaughtError;a(e.value,{componentStack:e.stack})}catch(l){setTimeout(function(){throw l})}}function Bd(t,e,a){try{var l=t.onCaughtError;l(a.value,{componentStack:a.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function Gr(t,e,a){return a=Ra(a),a.tag=3,a.payload={element:null},a.callback=function(){Nu(t,e)},a}function qd(t){return t=Ra(t),t.tag=3,t}function Vd(t,e,a,l){var n=a.type.getDerivedStateFromError;if(typeof n=="function"){var u=l.value;t.payload=function(){return n(u)},t.callback=function(){Bd(e,a,l)}}var f=a.stateNode;f!==null&&typeof f.componentDidCatch=="function"&&(t.callback=function(){Bd(e,a,l),typeof n!="function"&&(Ga===null?Ga=new Set([this]):Ga.add(this));var d=l.stack;this.componentDidCatch(l.value,{componentStack:d!==null?d:""})})}function Bv(t,e,a,l,n){if(a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(e=a.alternate,e!==null&&Fn(e,a,n,!0),a=je.current,a!==null){switch(a.tag){case 13:return Fe===null?fc():a.alternate===null&&Lt===0&&(Lt=3),a.flags&=-257,a.flags|=65536,a.lanes=n,l===pr?a.flags|=16384:(e=a.updateQueue,e===null?a.updateQueue=new Set([l]):e.add(l),hc(t,l,n)),!1;case 22:return a.flags|=65536,l===pr?a.flags|=16384:(e=a.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([l])},a.updateQueue=e):(a=e.retryQueue,a===null?e.retryQueue=new Set([l]):a.add(l)),hc(t,l,n)),!1}throw Error(c(435,a.tag))}return hc(t,l,n),fc(),!1}if(St)return e=je.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=n,l!==cr&&(t=Error(c(422),{cause:l}),Jn(Oe(t,a)))):(l!==cr&&(e=Error(c(423),{cause:l}),Jn(Oe(e,a))),t=t.current.alternate,t.flags|=65536,n&=-n,t.lanes|=n,l=Oe(l,a),n=Gr(t.stateNode,l,n),br(t,n),Lt!==4&&(Lt=2)),!1;var u=Error(c(520),{cause:l});if(u=Oe(u,a),vi===null?vi=[u]:vi.push(u),Lt!==4&&(Lt=2),e===null)return!0;l=Oe(l,a),a=e;do{switch(a.tag){case 3:return a.flags|=65536,t=n&-n,a.lanes|=t,t=Gr(a.stateNode,l,t),br(a,t),!1;case 1:if(e=a.type,u=a.stateNode,(a.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(Ga===null||!Ga.has(u))))return a.flags|=65536,n&=-n,a.lanes|=n,n=qd(n),Vd(n,t,a,l),br(a,n),!1}a=a.return}while(a!==null);return!1}var Gd=Error(c(461)),$t=!1;function te(t,e,a,l){e.child=t===null?Rd(e,null,a,l):ln(e,t.child,a,l)}function Qd(t,e,a,l,n){a=a.render;var u=e.ref;if("ref"in l){var f={};for(var d in l)d!=="ref"&&(f[d]=l[d])}else f=l;return gl(e),l=Ar(t,e,a,f,u,n),d=wr(),t!==null&&!$t?(Mr(t,e,n),da(t,e,n)):(St&&d&&sr(e),e.flags|=1,te(t,e,l,n),e.child)}function Yd(t,e,a,l,n){if(t===null){var u=a.type;return typeof u=="function"&&!nr(u)&&u.defaultProps===void 0&&a.compare===null?(e.tag=15,e.type=u,Zd(t,e,u,l,n)):(t=ru(a.type,null,l,e,e.mode,n),t.ref=e.ref,t.return=e,e.child=t)}if(u=t.child,!Fr(t,n)){var f=u.memoizedProps;if(a=a.compare,a=a!==null?a:Zn,a(f,l)&&t.ref===e.ref)return da(t,e,n)}return e.flags|=1,t=ia(u,l),t.ref=e.ref,t.return=e,e.child=t}function Zd(t,e,a,l,n){if(t!==null){var u=t.memoizedProps;if(Zn(u,l)&&t.ref===e.ref)if($t=!1,e.pendingProps=l=u,Fr(t,n))(t.flags&131072)!==0&&($t=!0);else return e.lanes=t.lanes,da(t,e,n)}return Qr(t,e,a,l,n)}function Xd(t,e,a){var l=e.pendingProps,n=l.children,u=t!==null?t.memoizedState:null;if(l.mode==="hidden"){if((e.flags&128)!==0){if(l=u!==null?u.baseLanes|a:a,t!==null){for(n=e.child=t.child,u=0;n!==null;)u=u|n.lanes|n.childLanes,n=n.sibling;e.childLanes=u&~l}else e.childLanes=0,e.child=null;return kd(t,e,l,a)}if((a&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&hu(e,u!==null?u.cachePool:null),u!==null?Zf(e,u):Sr(),Dd(e);else return e.lanes=e.childLanes=536870912,kd(t,e,u!==null?u.baseLanes|a:a,a)}else u!==null?(hu(e,u.cachePool),Zf(e,u),Ua(),e.memoizedState=null):(t!==null&&hu(e,null),Sr(),Ua());return te(t,e,n,a),e.child}function kd(t,e,a,l){var n=vr();return n=n===null?null:{parent:kt._currentValue,pool:n},e.memoizedState={baseLanes:a,cachePool:n},t!==null&&hu(e,null),Sr(),Dd(e),t!==null&&Fn(t,e,l,!0),null}function Ou(t,e){var a=e.ref;if(a===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(c(284));(t===null||t.ref!==a)&&(e.flags|=4194816)}}function Qr(t,e,a,l,n){return gl(e),a=Ar(t,e,a,l,void 0,n),l=wr(),t!==null&&!$t?(Mr(t,e,n),da(t,e,n)):(St&&l&&sr(e),e.flags|=1,te(t,e,a,n),e.child)}function Kd(t,e,a,l,n,u){return gl(e),e.updateQueue=null,a=kf(e,l,a,n),Xf(t),l=wr(),t!==null&&!$t?(Mr(t,e,u),da(t,e,u)):(St&&l&&sr(e),e.flags|=1,te(t,e,a,u),e.child)}function Jd(t,e,a,l,n){if(gl(e),e.stateNode===null){var u=Kl,f=a.contextType;typeof f=="object"&&f!==null&&(u=ue(f)),u=new a(l,u),e.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=Vr,e.stateNode=u,u._reactInternals=e,u=e.stateNode,u.props=l,u.state=e.memoizedState,u.refs={},gr(e),f=a.contextType,u.context=typeof f=="object"&&f!==null?ue(f):Kl,u.state=e.memoizedState,f=a.getDerivedStateFromProps,typeof f=="function"&&(qr(e,a,f,l),u.state=e.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(f=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),f!==u.state&&Vr.enqueueReplaceState(u,u.state,null),ai(e,l,u,n),ei(),u.state=e.memoizedState),typeof u.componentDidMount=="function"&&(e.flags|=4194308),l=!0}else if(t===null){u=e.stateNode;var d=e.memoizedProps,p=xl(a,d);u.props=p;var A=u.context,D=a.contextType;f=Kl,typeof D=="object"&&D!==null&&(f=ue(D));var U=a.getDerivedStateFromProps;D=typeof U=="function"||typeof u.getSnapshotBeforeUpdate=="function",d=e.pendingProps!==d,D||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(d||A!==f)&&jd(e,u,l,f),Oa=!1;var z=e.memoizedState;u.state=z,ai(e,l,u,n),ei(),A=e.memoizedState,d||z!==A||Oa?(typeof U=="function"&&(qr(e,a,U,l),A=e.memoizedState),(p=Oa||_d(e,a,p,l,z,A,f))?(D||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(e.flags|=4194308)):(typeof u.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=l,e.memoizedState=A),u.props=l,u.state=A,u.context=f,l=p):(typeof u.componentDidMount=="function"&&(e.flags|=4194308),l=!1)}else{u=e.stateNode,yr(t,e),f=e.memoizedProps,D=xl(a,f),u.props=D,U=e.pendingProps,z=u.context,A=a.contextType,p=Kl,typeof A=="object"&&A!==null&&(p=ue(A)),d=a.getDerivedStateFromProps,(A=typeof d=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(f!==U||z!==p)&&jd(e,u,l,p),Oa=!1,z=e.memoizedState,u.state=z,ai(e,l,u,n),ei();var C=e.memoizedState;f!==U||z!==C||Oa||t!==null&&t.dependencies!==null&&fu(t.dependencies)?(typeof d=="function"&&(qr(e,a,d,l),C=e.memoizedState),(D=Oa||_d(e,a,D,l,z,C,p)||t!==null&&t.dependencies!==null&&fu(t.dependencies))?(A||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(l,C,p),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(l,C,p)),typeof u.componentDidUpdate=="function"&&(e.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof u.componentDidUpdate!="function"||f===t.memoizedProps&&z===t.memoizedState||(e.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||f===t.memoizedProps&&z===t.memoizedState||(e.flags|=1024),e.memoizedProps=l,e.memoizedState=C),u.props=l,u.state=C,u.context=p,l=D):(typeof u.componentDidUpdate!="function"||f===t.memoizedProps&&z===t.memoizedState||(e.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||f===t.memoizedProps&&z===t.memoizedState||(e.flags|=1024),l=!1)}return u=l,Ou(t,e),l=(e.flags&128)!==0,u||l?(u=e.stateNode,a=l&&typeof a.getDerivedStateFromError!="function"?null:u.render(),e.flags|=1,t!==null&&l?(e.child=ln(e,t.child,null,n),e.child=ln(e,null,a,n)):te(t,e,a,n),e.memoizedState=u.state,t=e.child):t=da(t,e,n),t}function Fd(t,e,a,l){return Kn(),e.flags|=256,te(t,e,a,l),e.child}var Yr={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Zr(t){return{baseLanes:t,cachePool:Hf()}}function Xr(t,e,a){return t=t!==null?t.childLanes&~a:0,e&&(t|=Ue),t}function Wd(t,e,a){var l=e.pendingProps,n=!1,u=(e.flags&128)!==0,f;if((f=u)||(f=t!==null&&t.memoizedState===null?!1:(Kt.current&2)!==0),f&&(n=!0,e.flags&=-129),f=(e.flags&32)!==0,e.flags&=-33,t===null){if(St){if(n?ja(e):Ua(),St){var d=Ht,p;if(p=d){t:{for(p=d,d=Je;p.nodeType!==8;){if(!d){d=null;break t}if(p=Qe(p.nextSibling),p===null){d=null;break t}}d=p}d!==null?(e.memoizedState={dehydrated:d,treeContext:dl!==null?{id:ua,overflow:sa}:null,retryLane:536870912,hydrationErrors:null},p=Te(18,null,null,0),p.stateNode=d,p.return=e,e.child=p,re=e,Ht=null,p=!0):p=!1}p||vl(e)}if(d=e.memoizedState,d!==null&&(d=d.dehydrated,d!==null))return Cc(d)?e.lanes=32:e.lanes=536870912,null;fa(e)}return d=l.children,l=l.fallback,n?(Ua(),n=e.mode,d=Ru({mode:"hidden",children:d},n),l=fl(l,n,a,null),d.return=e,l.return=e,d.sibling=l,e.child=d,n=e.child,n.memoizedState=Zr(a),n.childLanes=Xr(t,f,a),e.memoizedState=Yr,l):(ja(e),kr(e,d))}if(p=t.memoizedState,p!==null&&(d=p.dehydrated,d!==null)){if(u)e.flags&256?(ja(e),e.flags&=-257,e=Kr(t,e,a)):e.memoizedState!==null?(Ua(),e.child=t.child,e.flags|=128,e=null):(Ua(),n=l.fallback,d=e.mode,l=Ru({mode:"visible",children:l.children},d),n=fl(n,d,a,null),n.flags|=2,l.return=e,n.return=e,l.sibling=n,e.child=l,ln(e,t.child,null,a),l=e.child,l.memoizedState=Zr(a),l.childLanes=Xr(t,f,a),e.memoizedState=Yr,e=n);else if(ja(e),Cc(d)){if(f=d.nextSibling&&d.nextSibling.dataset,f)var A=f.dgst;f=A,l=Error(c(419)),l.stack="",l.digest=f,Jn({value:l,source:null,stack:null}),e=Kr(t,e,a)}else if($t||Fn(t,e,a,!1),f=(a&t.childLanes)!==0,$t||f){if(f=Rt,f!==null&&(l=a&-a,l=(l&42)!==0?1:Ns(l),l=(l&(f.suspendedLanes|a))!==0?0:l,l!==0&&l!==p.retryLane))throw p.retryLane=l,kl(t,l),ze(f,t,l),Gd;d.data==="$?"||fc(),e=Kr(t,e,a)}else d.data==="$?"?(e.flags|=192,e.child=t.child,e=null):(t=p.treeContext,Ht=Qe(d.nextSibling),re=e,St=!0,ml=null,Je=!1,t!==null&&(De[_e++]=ua,De[_e++]=sa,De[_e++]=dl,ua=t.id,sa=t.overflow,dl=e),e=kr(e,l.children),e.flags|=4096);return e}return n?(Ua(),n=l.fallback,d=e.mode,p=t.child,A=p.sibling,l=ia(p,{mode:"hidden",children:l.children}),l.subtreeFlags=p.subtreeFlags&65011712,A!==null?n=ia(A,n):(n=fl(n,d,a,null),n.flags|=2),n.return=e,l.return=e,l.sibling=n,e.child=l,l=n,n=e.child,d=t.child.memoizedState,d===null?d=Zr(a):(p=d.cachePool,p!==null?(A=kt._currentValue,p=p.parent!==A?{parent:A,pool:A}:p):p=Hf(),d={baseLanes:d.baseLanes|a,cachePool:p}),n.memoizedState=d,n.childLanes=Xr(t,f,a),e.memoizedState=Yr,l):(ja(e),a=t.child,t=a.sibling,a=ia(a,{mode:"visible",children:l.children}),a.return=e,a.sibling=null,t!==null&&(f=e.deletions,f===null?(e.deletions=[t],e.flags|=16):f.push(t)),e.child=a,e.memoizedState=null,a)}function kr(t,e){return e=Ru({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function Ru(t,e){return t=Te(22,t,null,e),t.lanes=0,t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},t}function Kr(t,e,a){return ln(e,t.child,null,a),t=kr(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function $d(t,e,a){t.lanes|=e;var l=t.alternate;l!==null&&(l.lanes|=e),fr(t.return,e,a)}function Jr(t,e,a,l,n){var u=t.memoizedState;u===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:l,tail:a,tailMode:n}:(u.isBackwards=e,u.rendering=null,u.renderingStartTime=0,u.last=l,u.tail=a,u.tailMode=n)}function Pd(t,e,a){var l=e.pendingProps,n=l.revealOrder,u=l.tail;if(te(t,e,l.children,a),l=Kt.current,(l&2)!==0)l=l&1|2,e.flags|=128;else{if(t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&$d(t,a,e);else if(t.tag===19)$d(t,a,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}l&=1}switch(nt(Kt,l),n){case"forwards":for(a=e.child,n=null;a!==null;)t=a.alternate,t!==null&&zu(t)===null&&(n=a),a=a.sibling;a=n,a===null?(n=e.child,e.child=null):(n=a.sibling,a.sibling=null),Jr(e,!1,n,a,u);break;case"backwards":for(a=null,n=e.child,e.child=null;n!==null;){if(t=n.alternate,t!==null&&zu(t)===null){e.child=n;break}t=n.sibling,n.sibling=a,a=n,n=t}Jr(e,!0,a,null,u);break;case"together":Jr(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function da(t,e,a){if(t!==null&&(e.dependencies=t.dependencies),Va|=e.lanes,(a&e.childLanes)===0)if(t!==null){if(Fn(t,e,a,!1),(a&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(c(153));if(e.child!==null){for(t=e.child,a=ia(t,t.pendingProps),e.child=a,a.return=e;t.sibling!==null;)t=t.sibling,a=a.sibling=ia(t,t.pendingProps),a.return=e;a.sibling=null}return e.child}function Fr(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&fu(t)))}function qv(t,e,a){switch(e.tag){case 3:il(e,e.stateNode.containerInfo),Na(e,kt,t.memoizedState.cache),Kn();break;case 27:case 5:Ea(e);break;case 4:il(e,e.stateNode.containerInfo);break;case 10:Na(e,e.type,e.memoizedProps.value);break;case 13:var l=e.memoizedState;if(l!==null)return l.dehydrated!==null?(ja(e),e.flags|=128,null):(a&e.child.childLanes)!==0?Wd(t,e,a):(ja(e),t=da(t,e,a),t!==null?t.sibling:null);ja(e);break;case 19:var n=(t.flags&128)!==0;if(l=(a&e.childLanes)!==0,l||(Fn(t,e,a,!1),l=(a&e.childLanes)!==0),n){if(l)return Pd(t,e,a);e.flags|=128}if(n=e.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),nt(Kt,Kt.current),l)break;return null;case 22:case 23:return e.lanes=0,Xd(t,e,a);case 24:Na(e,kt,t.memoizedState.cache)}return da(t,e,a)}function Id(t,e,a){if(t!==null)if(t.memoizedProps!==e.pendingProps)$t=!0;else{if(!Fr(t,a)&&(e.flags&128)===0)return $t=!1,qv(t,e,a);$t=(t.flags&131072)!==0}else $t=!1,St&&(e.flags&1048576)!==0&&Nf(e,ou,e.index);switch(e.lanes=0,e.tag){case 16:t:{t=e.pendingProps;var l=e.elementType,n=l._init;if(l=n(l._payload),e.type=l,typeof l=="function")nr(l)?(t=xl(l,t),e.tag=1,e=Jd(null,e,l,t,a)):(e.tag=0,e=Qr(null,e,l,t,a));else{if(l!=null){if(n=l.$$typeof,n===k){e.tag=11,e=Qd(null,e,l,t,a);break t}else if(n===rt){e.tag=14,e=Yd(null,e,l,t,a);break t}}throw e=oe(l)||l,Error(c(306,e,""))}}return e;case 0:return Qr(t,e,e.type,e.pendingProps,a);case 1:return l=e.type,n=xl(l,e.pendingProps),Jd(t,e,l,n,a);case 3:t:{if(il(e,e.stateNode.containerInfo),t===null)throw Error(c(387));l=e.pendingProps;var u=e.memoizedState;n=u.element,yr(t,e),ai(e,l,null,a);var f=e.memoizedState;if(l=f.cache,Na(e,kt,l),l!==u.cache&&dr(e,[kt],a,!0),ei(),l=f.element,u.isDehydrated)if(u={element:l,isDehydrated:!1,cache:f.cache},e.updateQueue.baseState=u,e.memoizedState=u,e.flags&256){e=Fd(t,e,l,a);break t}else if(l!==n){n=Oe(Error(c(424)),e),Jn(n),e=Fd(t,e,l,a);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(Ht=Qe(t.firstChild),re=e,St=!0,ml=null,Je=!0,a=Rd(e,null,l,a),e.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(Kn(),l===n){e=da(t,e,a);break t}te(t,e,l,a)}e=e.child}return e;case 26:return Ou(t,e),t===null?(a=l0(e.type,null,e.pendingProps,null))?e.memoizedState=a:St||(a=e.type,t=e.pendingProps,l=Xu(Be.current).createElement(a),l[ie]=e,l[fe]=t,ae(l,a,t),Wt(l),e.stateNode=l):e.memoizedState=l0(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return Ea(e),t===null&&St&&(l=e.stateNode=t0(e.type,e.pendingProps,Be.current),re=e,Je=!0,n=Ht,Za(e.type)?(Nc=n,Ht=Qe(l.firstChild)):Ht=n),te(t,e,e.pendingProps.children,a),Ou(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&St&&((n=l=Ht)&&(l=hp(l,e.type,e.pendingProps,Je),l!==null?(e.stateNode=l,re=e,Ht=Qe(l.firstChild),Je=!1,n=!0):n=!1),n||vl(e)),Ea(e),n=e.type,u=e.pendingProps,f=t!==null?t.memoizedProps:null,l=u.children,wc(n,u)?l=null:f!==null&&wc(n,f)&&(e.flags|=32),e.memoizedState!==null&&(n=Ar(t,e,Rv,null,null,a),Ai._currentValue=n),Ou(t,e),te(t,e,l,a),e.child;case 6:return t===null&&St&&((t=a=Ht)&&(a=mp(a,e.pendingProps,Je),a!==null?(e.stateNode=a,re=e,Ht=null,t=!0):t=!1),t||vl(e)),null;case 13:return Wd(t,e,a);case 4:return il(e,e.stateNode.containerInfo),l=e.pendingProps,t===null?e.child=ln(e,null,l,a):te(t,e,l,a),e.child;case 11:return Qd(t,e,e.type,e.pendingProps,a);case 7:return te(t,e,e.pendingProps,a),e.child;case 8:return te(t,e,e.pendingProps.children,a),e.child;case 12:return te(t,e,e.pendingProps.children,a),e.child;case 10:return l=e.pendingProps,Na(e,e.type,l.value),te(t,e,l.children,a),e.child;case 9:return n=e.type._context,l=e.pendingProps.children,gl(e),n=ue(n),l=l(n),e.flags|=1,te(t,e,l,a),e.child;case 14:return Yd(t,e,e.type,e.pendingProps,a);case 15:return Zd(t,e,e.type,e.pendingProps,a);case 19:return Pd(t,e,a);case 31:return l=e.pendingProps,a=e.mode,l={mode:l.mode,children:l.children},t===null?(a=Ru(l,a),a.ref=e.ref,e.child=a,a.return=e,e=a):(a=ia(t.child,l),a.ref=e.ref,e.child=a,a.return=e,e=a),e;case 22:return Xd(t,e,a);case 24:return gl(e),l=ue(kt),t===null?(n=vr(),n===null&&(n=Rt,u=hr(),n.pooledCache=u,u.refCount++,u!==null&&(n.pooledCacheLanes|=a),n=u),e.memoizedState={parent:l,cache:n},gr(e),Na(e,kt,n)):((t.lanes&a)!==0&&(yr(t,e),ai(e,null,null,a),ei()),n=t.memoizedState,u=e.memoizedState,n.parent!==l?(n={parent:l,cache:l},e.memoizedState=n,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=n),Na(e,kt,l)):(l=u.cache,Na(e,kt,l),l!==n.cache&&dr(e,[kt],a,!0))),te(t,e,e.pendingProps.children,a),e.child;case 29:throw e.pendingProps}throw Error(c(156,e.tag))}function ha(t){t.flags|=4}function t1(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!r0(e)){if(e=je.current,e!==null&&((gt&4194048)===gt?Fe!==null:(gt&62914560)!==gt&&(gt&536870912)===0||e!==Fe))throw In=pr,Lf;t.flags|=8192}}function Du(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?Ro():536870912,t.lanes|=e,rn|=e)}function ci(t,e){if(!St)switch(t.tailMode){case"hidden":e=t.tail;for(var a=null;e!==null;)e.alternate!==null&&(a=e),e=e.sibling;a===null?t.tail=null:a.sibling=null;break;case"collapsed":a=t.tail;for(var l=null;a!==null;)a.alternate!==null&&(l=a),a=a.sibling;l===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:l.sibling=null}}function Ut(t){var e=t.alternate!==null&&t.alternate.child===t.child,a=0,l=0;if(e)for(var n=t.child;n!==null;)a|=n.lanes|n.childLanes,l|=n.subtreeFlags&65011712,l|=n.flags&65011712,n.return=t,n=n.sibling;else for(n=t.child;n!==null;)a|=n.lanes|n.childLanes,l|=n.subtreeFlags,l|=n.flags,n.return=t,n=n.sibling;return t.subtreeFlags|=l,t.childLanes=a,e}function Vv(t,e,a){var l=e.pendingProps;switch(rr(e),e.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ut(e),null;case 1:return Ut(e),null;case 3:return a=e.stateNode,l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),ca(kt),qe(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(t===null||t.child===null)&&(kn(e)?ha(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,Df())),Ut(e),null;case 26:return a=e.memoizedState,t===null?(ha(e),a!==null?(Ut(e),t1(e,a)):(Ut(e),e.flags&=-16777217)):a?a!==t.memoizedState?(ha(e),Ut(e),t1(e,a)):(Ut(e),e.flags&=-16777217):(t.memoizedProps!==l&&ha(e),Ut(e),e.flags&=-16777217),null;case 27:Aa(e),a=Be.current;var n=e.type;if(t!==null&&e.stateNode!=null)t.memoizedProps!==l&&ha(e);else{if(!l){if(e.stateNode===null)throw Error(c(166));return Ut(e),null}t=dt.current,kn(e)?Of(e):(t=t0(n,l,a),e.stateNode=t,ha(e))}return Ut(e),null;case 5:if(Aa(e),a=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==l&&ha(e);else{if(!l){if(e.stateNode===null)throw Error(c(166));return Ut(e),null}if(t=dt.current,kn(e))Of(e);else{switch(n=Xu(Be.current),t){case 1:t=n.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:t=n.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":t=n.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":t=n.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":t=n.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild);break;case"select":t=typeof l.is=="string"?n.createElement("select",{is:l.is}):n.createElement("select"),l.multiple?t.multiple=!0:l.size&&(t.size=l.size);break;default:t=typeof l.is=="string"?n.createElement(a,{is:l.is}):n.createElement(a)}}t[ie]=e,t[fe]=l;t:for(n=e.child;n!==null;){if(n.tag===5||n.tag===6)t.appendChild(n.stateNode);else if(n.tag!==4&&n.tag!==27&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break t;for(;n.sibling===null;){if(n.return===null||n.return===e)break t;n=n.return}n.sibling.return=n.return,n=n.sibling}e.stateNode=t;t:switch(ae(t,a,l),a){case"button":case"input":case"select":case"textarea":t=!!l.autoFocus;break t;case"img":t=!0;break t;default:t=!1}t&&ha(e)}}return Ut(e),e.flags&=-16777217,null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==l&&ha(e);else{if(typeof l!="string"&&e.stateNode===null)throw Error(c(166));if(t=Be.current,kn(e)){if(t=e.stateNode,a=e.memoizedProps,l=null,n=re,n!==null)switch(n.tag){case 27:case 5:l=n.memoizedProps}t[ie]=e,t=!!(t.nodeValue===a||l!==null&&l.suppressHydrationWarning===!0||K1(t.nodeValue,a)),t||vl(e)}else t=Xu(t).createTextNode(l),t[ie]=e,e.stateNode=t}return Ut(e),null;case 13:if(l=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(n=kn(e),l!==null&&l.dehydrated!==null){if(t===null){if(!n)throw Error(c(318));if(n=e.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(c(317));n[ie]=e}else Kn(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Ut(e),n=!1}else n=Df(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),n=!0;if(!n)return e.flags&256?(fa(e),e):(fa(e),null)}if(fa(e),(e.flags&128)!==0)return e.lanes=a,e;if(a=l!==null,t=t!==null&&t.memoizedState!==null,a){l=e.child,n=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(n=l.alternate.memoizedState.cachePool.pool);var u=null;l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(u=l.memoizedState.cachePool.pool),u!==n&&(l.flags|=2048)}return a!==t&&a&&(e.child.flags|=8192),Du(e,e.updateQueue),Ut(e),null;case 4:return qe(),t===null&&xc(e.stateNode.containerInfo),Ut(e),null;case 10:return ca(e.type),Ut(e),null;case 19:if(Tt(Kt),n=e.memoizedState,n===null)return Ut(e),null;if(l=(e.flags&128)!==0,u=n.rendering,u===null)if(l)ci(n,!1);else{if(Lt!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(u=zu(t),u!==null){for(e.flags|=128,ci(n,!1),t=u.updateQueue,e.updateQueue=t,Du(e,t),e.subtreeFlags=0,t=a,a=e.child;a!==null;)Cf(a,t),a=a.sibling;return nt(Kt,Kt.current&1|2),e.child}t=t.sibling}n.tail!==null&&Ke()>Uu&&(e.flags|=128,l=!0,ci(n,!1),e.lanes=4194304)}else{if(!l)if(t=zu(u),t!==null){if(e.flags|=128,l=!0,t=t.updateQueue,e.updateQueue=t,Du(e,t),ci(n,!0),n.tail===null&&n.tailMode==="hidden"&&!u.alternate&&!St)return Ut(e),null}else 2*Ke()-n.renderingStartTime>Uu&&a!==536870912&&(e.flags|=128,l=!0,ci(n,!1),e.lanes=4194304);n.isBackwards?(u.sibling=e.child,e.child=u):(t=n.last,t!==null?t.sibling=u:e.child=u,n.last=u)}return n.tail!==null?(e=n.tail,n.rendering=e,n.tail=e.sibling,n.renderingStartTime=Ke(),e.sibling=null,t=Kt.current,nt(Kt,l?t&1|2:t&1),e):(Ut(e),null);case 22:case 23:return fa(e),Tr(),l=e.memoizedState!==null,t!==null?t.memoizedState!==null!==l&&(e.flags|=8192):l&&(e.flags|=8192),l?(a&536870912)!==0&&(e.flags&128)===0&&(Ut(e),e.subtreeFlags&6&&(e.flags|=8192)):Ut(e),a=e.updateQueue,a!==null&&Du(e,a.retryQueue),a=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),l=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),l!==a&&(e.flags|=2048),t!==null&&Tt(yl),null;case 24:return a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),ca(kt),Ut(e),null;case 25:return null;case 30:return null}throw Error(c(156,e.tag))}function Gv(t,e){switch(rr(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return ca(kt),qe(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return Aa(e),null;case 13:if(fa(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(c(340));Kn()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return Tt(Kt),null;case 4:return qe(),null;case 10:return ca(e.type),null;case 22:case 23:return fa(e),Tr(),t!==null&&Tt(yl),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return ca(kt),null;case 25:return null;default:return null}}function e1(t,e){switch(rr(e),e.tag){case 3:ca(kt),qe();break;case 26:case 27:case 5:Aa(e);break;case 4:qe();break;case 13:fa(e);break;case 19:Tt(Kt);break;case 10:ca(e.type);break;case 22:case 23:fa(e),Tr(),t!==null&&Tt(yl);break;case 24:ca(kt)}}function oi(t,e){try{var a=e.updateQueue,l=a!==null?a.lastEffect:null;if(l!==null){var n=l.next;a=n;do{if((a.tag&t)===t){l=void 0;var u=a.create,f=a.inst;l=u(),f.destroy=l}a=a.next}while(a!==n)}}catch(d){Nt(e,e.return,d)}}function Ha(t,e,a){try{var l=e.updateQueue,n=l!==null?l.lastEffect:null;if(n!==null){var u=n.next;l=u;do{if((l.tag&t)===t){var f=l.inst,d=f.destroy;if(d!==void 0){f.destroy=void 0,n=e;var p=a,A=d;try{A()}catch(D){Nt(n,p,D)}}}l=l.next}while(l!==u)}}catch(D){Nt(e,e.return,D)}}function a1(t){var e=t.updateQueue;if(e!==null){var a=t.stateNode;try{Yf(e,a)}catch(l){Nt(t,t.return,l)}}}function l1(t,e,a){a.props=xl(t.type,t.memoizedProps),a.state=t.memoizedState;try{a.componentWillUnmount()}catch(l){Nt(t,e,l)}}function fi(t,e){try{var a=t.ref;if(a!==null){switch(t.tag){case 26:case 27:case 5:var l=t.stateNode;break;case 30:l=t.stateNode;break;default:l=t.stateNode}typeof a=="function"?t.refCleanup=a(l):a.current=l}}catch(n){Nt(t,e,n)}}function We(t,e){var a=t.ref,l=t.refCleanup;if(a!==null)if(typeof l=="function")try{l()}catch(n){Nt(t,e,n)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(n){Nt(t,e,n)}else a.current=null}function n1(t){var e=t.type,a=t.memoizedProps,l=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":a.autoFocus&&l.focus();break t;case"img":a.src?l.src=a.src:a.srcSet&&(l.srcset=a.srcSet)}}catch(n){Nt(t,t.return,n)}}function Wr(t,e,a){try{var l=t.stateNode;rp(l,t.type,a,e),l[fe]=e}catch(n){Nt(t,t.return,n)}}function i1(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Za(t.type)||t.tag===4}function $r(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||i1(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&Za(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Pr(t,e,a){var l=t.tag;if(l===5||l===6)t=t.stateNode,e?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(t,e):(e=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,e.appendChild(t),a=a._reactRootContainer,a!=null||e.onclick!==null||(e.onclick=Zu));else if(l!==4&&(l===27&&Za(t.type)&&(a=t.stateNode,e=null),t=t.child,t!==null))for(Pr(t,e,a),t=t.sibling;t!==null;)Pr(t,e,a),t=t.sibling}function _u(t,e,a){var l=t.tag;if(l===5||l===6)t=t.stateNode,e?a.insertBefore(t,e):a.appendChild(t);else if(l!==4&&(l===27&&Za(t.type)&&(a=t.stateNode),t=t.child,t!==null))for(_u(t,e,a),t=t.sibling;t!==null;)_u(t,e,a),t=t.sibling}function u1(t){var e=t.stateNode,a=t.memoizedProps;try{for(var l=t.type,n=e.attributes;n.length;)e.removeAttributeNode(n[0]);ae(e,l,a),e[ie]=t,e[fe]=a}catch(u){Nt(t,t.return,u)}}var ma=!1,Gt=!1,Ir=!1,s1=typeof WeakSet=="function"?WeakSet:Set,Pt=null;function Qv(t,e){if(t=t.containerInfo,Ec=$u,t=yf(t),$s(t)){if("selectionStart"in t)var a={start:t.selectionStart,end:t.selectionEnd};else t:{a=(a=t.ownerDocument)&&a.defaultView||window;var l=a.getSelection&&a.getSelection();if(l&&l.rangeCount!==0){a=l.anchorNode;var n=l.anchorOffset,u=l.focusNode;l=l.focusOffset;try{a.nodeType,u.nodeType}catch(at){a=null;break t}var f=0,d=-1,p=-1,A=0,D=0,U=t,z=null;e:for(;;){for(var C;U!==a||n!==0&&U.nodeType!==3||(d=f+n),U!==u||l!==0&&U.nodeType!==3||(p=f+l),U.nodeType===3&&(f+=U.nodeValue.length),(C=U.firstChild)!==null;)z=U,U=C;for(;;){if(U===t)break e;if(z===a&&++A===n&&(d=f),z===u&&++D===l&&(p=f),(C=U.nextSibling)!==null)break;U=z,z=U.parentNode}U=C}a=d===-1||p===-1?null:{start:d,end:p}}else a=null}a=a||{start:0,end:0}}else a=null;for(Ac={focusedElem:t,selectionRange:a},$u=!1,Pt=e;Pt!==null;)if(e=Pt,t=e.child,(e.subtreeFlags&1024)!==0&&t!==null)t.return=e,Pt=t;else for(;Pt!==null;){switch(e=Pt,u=e.alternate,t=e.flags,e.tag){case 0:break;case 11:case 15:break;case 1:if((t&1024)!==0&&u!==null){t=void 0,a=e,n=u.memoizedProps,u=u.memoizedState,l=a.stateNode;try{var it=xl(a.type,n,a.elementType===a.type);t=l.getSnapshotBeforeUpdate(it,u),l.__reactInternalSnapshotBeforeUpdate=t}catch(at){Nt(a,a.return,at)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,a=t.nodeType,a===9)zc(t);else if(a===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":zc(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(c(163))}if(t=e.sibling,t!==null){t.return=e.return,Pt=t;break}Pt=e.return}}function r1(t,e,a){var l=a.flags;switch(a.tag){case 0:case 11:case 15:La(t,a),l&4&&oi(5,a);break;case 1:if(La(t,a),l&4)if(t=a.stateNode,e===null)try{t.componentDidMount()}catch(f){Nt(a,a.return,f)}else{var n=xl(a.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(n,e,t.__reactInternalSnapshotBeforeUpdate)}catch(f){Nt(a,a.return,f)}}l&64&&a1(a),l&512&&fi(a,a.return);break;case 3:if(La(t,a),l&64&&(t=a.updateQueue,t!==null)){if(e=null,a.child!==null)switch(a.child.tag){case 27:case 5:e=a.child.stateNode;break;case 1:e=a.child.stateNode}try{Yf(t,e)}catch(f){Nt(a,a.return,f)}}break;case 27:e===null&&l&4&&u1(a);case 26:case 5:La(t,a),e===null&&l&4&&n1(a),l&512&&fi(a,a.return);break;case 12:La(t,a);break;case 13:La(t,a),l&4&&f1(t,a),l&64&&(t=a.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(a=$v.bind(null,a),vp(t,a))));break;case 22:if(l=a.memoizedState!==null||ma,!l){e=e!==null&&e.memoizedState!==null||Gt,n=ma;var u=Gt;ma=l,(Gt=e)&&!u?Ba(t,a,(a.subtreeFlags&8772)!==0):La(t,a),ma=n,Gt=u}break;case 30:break;default:La(t,a)}}function c1(t){var e=t.alternate;e!==null&&(t.alternate=null,c1(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&Ds(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var Dt=null,me=!1;function va(t,e,a){for(a=a.child;a!==null;)o1(t,e,a),a=a.sibling}function o1(t,e,a){if(be&&typeof be.onCommitFiberUnmount=="function")try{be.onCommitFiberUnmount(Dn,a)}catch(u){}switch(a.tag){case 26:Gt||We(a,e),va(t,e,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:Gt||We(a,e);var l=Dt,n=me;Za(a.type)&&(Dt=a.stateNode,me=!1),va(t,e,a),xi(a.stateNode),Dt=l,me=n;break;case 5:Gt||We(a,e);case 6:if(l=Dt,n=me,Dt=null,va(t,e,a),Dt=l,me=n,Dt!==null)if(me)try{(Dt.nodeType===9?Dt.body:Dt.nodeName==="HTML"?Dt.ownerDocument.body:Dt).removeChild(a.stateNode)}catch(u){Nt(a,e,u)}else try{Dt.removeChild(a.stateNode)}catch(u){Nt(a,e,u)}break;case 18:Dt!==null&&(me?(t=Dt,P1(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,a.stateNode),Ci(t)):P1(Dt,a.stateNode));break;case 4:l=Dt,n=me,Dt=a.stateNode.containerInfo,me=!0,va(t,e,a),Dt=l,me=n;break;case 0:case 11:case 14:case 15:Gt||Ha(2,a,e),Gt||Ha(4,a,e),va(t,e,a);break;case 1:Gt||(We(a,e),l=a.stateNode,typeof l.componentWillUnmount=="function"&&l1(a,e,l)),va(t,e,a);break;case 21:va(t,e,a);break;case 22:Gt=(l=Gt)||a.memoizedState!==null,va(t,e,a),Gt=l;break;default:va(t,e,a)}}function f1(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Ci(t)}catch(a){Nt(e,e.return,a)}}function Yv(t){switch(t.tag){case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new s1),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new s1),e;default:throw Error(c(435,t.tag))}}function tc(t,e){var a=Yv(t);e.forEach(function(l){var n=Pv.bind(null,t,l);a.has(l)||(a.add(l),l.then(n,n))})}function Ee(t,e){var a=e.deletions;if(a!==null)for(var l=0;l<a.length;l++){var n=a[l],u=t,f=e,d=f;t:for(;d!==null;){switch(d.tag){case 27:if(Za(d.type)){Dt=d.stateNode,me=!1;break t}break;case 5:Dt=d.stateNode,me=!1;break t;case 3:case 4:Dt=d.stateNode.containerInfo,me=!0;break t}d=d.return}if(Dt===null)throw Error(c(160));o1(u,f,n),Dt=null,me=!1,u=n.alternate,u!==null&&(u.return=null),n.return=null}if(e.subtreeFlags&13878)for(e=e.child;e!==null;)d1(e,t),e=e.sibling}var Ge=null;function d1(t,e){var a=t.alternate,l=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:Ee(e,t),Ae(t),l&4&&(Ha(3,t,t.return),oi(3,t),Ha(5,t,t.return));break;case 1:Ee(e,t),Ae(t),l&512&&(Gt||a===null||We(a,a.return)),l&64&&ma&&(t=t.updateQueue,t!==null&&(l=t.callbacks,l!==null&&(a=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=a===null?l:a.concat(l))));break;case 26:var n=Ge;if(Ee(e,t),Ae(t),l&512&&(Gt||a===null||We(a,a.return)),l&4){var u=a!==null?a.memoizedState:null;if(l=t.memoizedState,a===null)if(l===null)if(t.stateNode===null){t:{l=t.type,a=t.memoizedProps,n=n.ownerDocument||n;e:switch(l){case"title":u=n.getElementsByTagName("title")[0],(!u||u[Un]||u[ie]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=n.createElement(l),n.head.insertBefore(u,n.querySelector("head > title"))),ae(u,l,a),u[ie]=t,Wt(u),l=u;break t;case"link":var f=u0("link","href",n).get(l+(a.href||""));if(f){for(var d=0;d<f.length;d++)if(u=f[d],u.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&u.getAttribute("rel")===(a.rel==null?null:a.rel)&&u.getAttribute("title")===(a.title==null?null:a.title)&&u.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){f.splice(d,1);break e}}u=n.createElement(l),ae(u,l,a),n.head.appendChild(u);break;case"meta":if(f=u0("meta","content",n).get(l+(a.content||""))){for(d=0;d<f.length;d++)if(u=f[d],u.getAttribute("content")===(a.content==null?null:""+a.content)&&u.getAttribute("name")===(a.name==null?null:a.name)&&u.getAttribute("property")===(a.property==null?null:a.property)&&u.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&u.getAttribute("charset")===(a.charSet==null?null:a.charSet)){f.splice(d,1);break e}}u=n.createElement(l),ae(u,l,a),n.head.appendChild(u);break;default:throw Error(c(468,l))}u[ie]=t,Wt(u),l=u}t.stateNode=l}else s0(n,t.type,t.stateNode);else t.stateNode=i0(n,l,t.memoizedProps);else u!==l?(u===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):u.count--,l===null?s0(n,t.type,t.stateNode):i0(n,l,t.memoizedProps)):l===null&&t.stateNode!==null&&Wr(t,t.memoizedProps,a.memoizedProps)}break;case 27:Ee(e,t),Ae(t),l&512&&(Gt||a===null||We(a,a.return)),a!==null&&l&4&&Wr(t,t.memoizedProps,a.memoizedProps);break;case 5:if(Ee(e,t),Ae(t),l&512&&(Gt||a===null||We(a,a.return)),t.flags&32){n=t.stateNode;try{ql(n,"")}catch(C){Nt(t,t.return,C)}}l&4&&t.stateNode!=null&&(n=t.memoizedProps,Wr(t,n,a!==null?a.memoizedProps:n)),l&1024&&(Ir=!0);break;case 6:if(Ee(e,t),Ae(t),l&4){if(t.stateNode===null)throw Error(c(162));l=t.memoizedProps,a=t.stateNode;try{a.nodeValue=l}catch(C){Nt(t,t.return,C)}}break;case 3:if(Ju=null,n=Ge,Ge=ku(e.containerInfo),Ee(e,t),Ge=n,Ae(t),l&4&&a!==null&&a.memoizedState.isDehydrated)try{Ci(e.containerInfo)}catch(C){Nt(t,t.return,C)}Ir&&(Ir=!1,h1(t));break;case 4:l=Ge,Ge=ku(t.stateNode.containerInfo),Ee(e,t),Ae(t),Ge=l;break;case 12:Ee(e,t),Ae(t);break;case 13:Ee(e,t),Ae(t),t.child.flags&8192&&t.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(uc=Ke()),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,tc(t,l)));break;case 22:n=t.memoizedState!==null;var p=a!==null&&a.memoizedState!==null,A=ma,D=Gt;if(ma=A||n,Gt=D||p,Ee(e,t),Gt=D,ma=A,Ae(t),l&8192)t:for(e=t.stateNode,e._visibility=n?e._visibility&-2:e._visibility|1,n&&(a===null||p||ma||Gt||Sl(t)),a=null,e=t;;){if(e.tag===5||e.tag===26){if(a===null){p=a=e;try{if(u=p.stateNode,n)f=u.style,typeof f.setProperty=="function"?f.setProperty("display","none","important"):f.display="none";else{d=p.stateNode;var U=p.memoizedProps.style,z=U!=null&&U.hasOwnProperty("display")?U.display:null;d.style.display=z==null||typeof z=="boolean"?"":(""+z).trim()}}catch(C){Nt(p,p.return,C)}}}else if(e.tag===6){if(a===null){p=e;try{p.stateNode.nodeValue=n?"":p.memoizedProps}catch(C){Nt(p,p.return,C)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;a===e&&(a=null),e=e.return}a===e&&(a=null),e.sibling.return=e.return,e=e.sibling}l&4&&(l=t.updateQueue,l!==null&&(a=l.retryQueue,a!==null&&(l.retryQueue=null,tc(t,a))));break;case 19:Ee(e,t),Ae(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,tc(t,l)));break;case 30:break;case 21:break;default:Ee(e,t),Ae(t)}}function Ae(t){var e=t.flags;if(e&2){try{for(var a,l=t.return;l!==null;){if(i1(l)){a=l;break}l=l.return}if(a==null)throw Error(c(160));switch(a.tag){case 27:var n=a.stateNode,u=$r(t);_u(t,u,n);break;case 5:var f=a.stateNode;a.flags&32&&(ql(f,""),a.flags&=-33);var d=$r(t);_u(t,d,f);break;case 3:case 4:var p=a.stateNode.containerInfo,A=$r(t);Pr(t,A,p);break;default:throw Error(c(161))}}catch(D){Nt(t,t.return,D)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function h1(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;h1(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function La(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)r1(t,e.alternate,e),e=e.sibling}function Sl(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:Ha(4,e,e.return),Sl(e);break;case 1:We(e,e.return);var a=e.stateNode;typeof a.componentWillUnmount=="function"&&l1(e,e.return,a),Sl(e);break;case 27:xi(e.stateNode);case 26:case 5:We(e,e.return),Sl(e);break;case 22:e.memoizedState===null&&Sl(e);break;case 30:Sl(e);break;default:Sl(e)}t=t.sibling}}function Ba(t,e,a){for(a=a&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var l=e.alternate,n=t,u=e,f=u.flags;switch(u.tag){case 0:case 11:case 15:Ba(n,u,a),oi(4,u);break;case 1:if(Ba(n,u,a),l=u,n=l.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(A){Nt(l,l.return,A)}if(l=u,n=l.updateQueue,n!==null){var d=l.stateNode;try{var p=n.shared.hiddenCallbacks;if(p!==null)for(n.shared.hiddenCallbacks=null,n=0;n<p.length;n++)Qf(p[n],d)}catch(A){Nt(l,l.return,A)}}a&&f&64&&a1(u),fi(u,u.return);break;case 27:u1(u);case 26:case 5:Ba(n,u,a),a&&l===null&&f&4&&n1(u),fi(u,u.return);break;case 12:Ba(n,u,a);break;case 13:Ba(n,u,a),a&&f&4&&f1(n,u);break;case 22:u.memoizedState===null&&Ba(n,u,a),fi(u,u.return);break;case 30:break;default:Ba(n,u,a)}e=e.sibling}}function ec(t,e){var a=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==a&&(t!=null&&t.refCount++,a!=null&&Wn(a))}function ac(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Wn(t))}function $e(t,e,a,l){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)m1(t,e,a,l),e=e.sibling}function m1(t,e,a,l){var n=e.flags;switch(e.tag){case 0:case 11:case 15:$e(t,e,a,l),n&2048&&oi(9,e);break;case 1:$e(t,e,a,l);break;case 3:$e(t,e,a,l),n&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Wn(t)));break;case 12:if(n&2048){$e(t,e,a,l),t=e.stateNode;try{var u=e.memoizedProps,f=u.id,d=u.onPostCommit;typeof d=="function"&&d(f,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(p){Nt(e,e.return,p)}}else $e(t,e,a,l);break;case 13:$e(t,e,a,l);break;case 23:break;case 22:u=e.stateNode,f=e.alternate,e.memoizedState!==null?u._visibility&2?$e(t,e,a,l):di(t,e):u._visibility&2?$e(t,e,a,l):(u._visibility|=2,nn(t,e,a,l,(e.subtreeFlags&10256)!==0)),n&2048&&ec(f,e);break;case 24:$e(t,e,a,l),n&2048&&ac(e.alternate,e);break;default:$e(t,e,a,l)}}function nn(t,e,a,l,n){for(n=n&&(e.subtreeFlags&10256)!==0,e=e.child;e!==null;){var u=t,f=e,d=a,p=l,A=f.flags;switch(f.tag){case 0:case 11:case 15:nn(u,f,d,p,n),oi(8,f);break;case 23:break;case 22:var D=f.stateNode;f.memoizedState!==null?D._visibility&2?nn(u,f,d,p,n):di(u,f):(D._visibility|=2,nn(u,f,d,p,n)),n&&A&2048&&ec(f.alternate,f);break;case 24:nn(u,f,d,p,n),n&&A&2048&&ac(f.alternate,f);break;default:nn(u,f,d,p,n)}e=e.sibling}}function di(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var a=t,l=e,n=l.flags;switch(l.tag){case 22:di(a,l),n&2048&&ec(l.alternate,l);break;case 24:di(a,l),n&2048&&ac(l.alternate,l);break;default:di(a,l)}e=e.sibling}}var hi=8192;function un(t){if(t.subtreeFlags&hi)for(t=t.child;t!==null;)v1(t),t=t.sibling}function v1(t){switch(t.tag){case 26:un(t),t.flags&hi&&t.memoizedState!==null&&Cp(Ge,t.memoizedState,t.memoizedProps);break;case 5:un(t);break;case 3:case 4:var e=Ge;Ge=ku(t.stateNode.containerInfo),un(t),Ge=e;break;case 22:t.memoizedState===null&&(e=t.alternate,e!==null&&e.memoizedState!==null?(e=hi,hi=16777216,un(t),hi=e):un(t));break;default:un(t)}}function p1(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function mi(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var a=0;a<e.length;a++){var l=e[a];Pt=l,y1(l,t)}p1(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)g1(t),t=t.sibling}function g1(t){switch(t.tag){case 0:case 11:case 15:mi(t),t.flags&2048&&Ha(9,t,t.return);break;case 3:mi(t);break;case 12:mi(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,ju(t)):mi(t);break;default:mi(t)}}function ju(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var a=0;a<e.length;a++){var l=e[a];Pt=l,y1(l,t)}p1(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:Ha(8,e,e.return),ju(e);break;case 22:a=e.stateNode,a._visibility&2&&(a._visibility&=-3,ju(e));break;default:ju(e)}t=t.sibling}}function y1(t,e){for(;Pt!==null;){var a=Pt;switch(a.tag){case 0:case 11:case 15:Ha(8,a,e);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var l=a.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:Wn(a.memoizedState.cache)}if(l=a.child,l!==null)l.return=a,Pt=l;else t:for(a=t;Pt!==null;){l=Pt;var n=l.sibling,u=l.return;if(c1(l),l===a){Pt=null;break t}if(n!==null){n.return=u,Pt=n;break t}Pt=u}}}var Zv={getCacheForType:function(t){var e=ue(kt),a=e.data.get(t);return a===void 0&&(a=t(),e.data.set(t,a)),a}},Xv=typeof WeakMap=="function"?WeakMap:Map,Et=0,Rt=null,ht=null,gt=0,At=0,we=null,qa=!1,sn=!1,lc=!1,pa=0,Lt=0,Va=0,Tl=0,nc=0,Ue=0,rn=0,vi=null,ve=null,ic=!1,uc=0,Uu=1/0,Hu=null,Ga=null,ee=0,Qa=null,cn=null,on=0,sc=0,rc=null,b1=null,pi=0,cc=null;function Me(){if((Et&2)!==0&&gt!==0)return gt&-gt;if(N.T!==null){var t=Wl;return t!==0?t:pc()}return jo()}function x1(){Ue===0&&(Ue=(gt&536870912)===0||St?Oo():536870912);var t=je.current;return t!==null&&(t.flags|=32),Ue}function ze(t,e,a){(t===Rt&&(At===2||At===9)||t.cancelPendingCommit!==null)&&(fn(t,0),Ya(t,gt,Ue,!1)),jn(t,a),((Et&2)===0||t!==Rt)&&(t===Rt&&((Et&2)===0&&(Tl|=a),Lt===4&&Ya(t,gt,Ue,!1)),Pe(t))}function S1(t,e,a){if((Et&6)!==0)throw Error(c(327));var l=!a&&(e&124)===0&&(e&t.expiredLanes)===0||_n(t,e),n=l?Jv(t,e):dc(t,e,!0),u=l;do{if(n===0){sn&&!l&&Ya(t,e,0,!1);break}else{if(a=t.current.alternate,u&&!kv(a)){n=dc(t,e,!1),u=!1;continue}if(n===2){if(u=e,t.errorRecoveryDisabledLanes&u)var f=0;else f=t.pendingLanes&-536870913,f=f!==0?f:f&536870912?536870912:0;if(f!==0){e=f;t:{var d=t;n=vi;var p=d.current.memoizedState.isDehydrated;if(p&&(fn(d,f).flags|=256),f=dc(d,f,!1),f!==2){if(lc&&!p){d.errorRecoveryDisabledLanes|=u,Tl|=u,n=4;break t}u=ve,ve=n,u!==null&&(ve===null?ve=u:ve.push.apply(ve,u))}n=f}if(u=!1,n!==2)continue}}if(n===1){fn(t,0),Ya(t,e,0,!0);break}t:{switch(l=t,u=n,u){case 0:case 1:throw Error(c(345));case 4:if((e&4194048)!==e)break;case 6:Ya(l,e,Ue,!qa);break t;case 2:ve=null;break;case 3:case 5:break;default:throw Error(c(329))}if((e&62914560)===e&&(n=uc+300-Ke(),10<n)){if(Ya(l,e,Ue,!qa),Ki(l,0,!0)!==0)break t;l.timeoutHandle=W1(T1.bind(null,l,a,ve,Hu,ic,e,Ue,Tl,rn,qa,u,2,-0,0),n);break t}T1(l,a,ve,Hu,ic,e,Ue,Tl,rn,qa,u,0,-0,0)}}break}while(!0);Pe(t)}function T1(t,e,a,l,n,u,f,d,p,A,D,U,z,C){if(t.timeoutHandle=-1,U=e.subtreeFlags,(U&8192||(U&16785408)===16785408)&&(Ei={stylesheets:null,count:0,unsuspend:zp},v1(e),U=Np(),U!==null)){t.cancelPendingCommit=U(N1.bind(null,t,e,u,a,l,n,f,d,p,D,1,z,C)),Ya(t,u,f,!A);return}N1(t,e,u,a,l,n,f,d,p)}function kv(t){for(var e=t;;){var a=e.tag;if((a===0||a===11||a===15)&&e.flags&16384&&(a=e.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var l=0;l<a.length;l++){var n=a[l],u=n.getSnapshot;n=n.value;try{if(!Se(u(),n))return!1}catch(f){return!1}}if(a=e.child,e.subtreeFlags&16384&&a!==null)a.return=e,e=a;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function Ya(t,e,a,l){e&=~nc,e&=~Tl,t.suspendedLanes|=e,t.pingedLanes&=~e,l&&(t.warmLanes|=e),l=t.expirationTimes;for(var n=e;0<n;){var u=31-xe(n),f=1<<u;l[u]=-1,n&=~f}a!==0&&Do(t,a,e)}function Lu(){return(Et&6)===0?(gi(0),!1):!0}function oc(){if(ht!==null){if(At===0)var t=ht.return;else t=ht,ra=pl=null,zr(t),an=null,si=0,t=ht;for(;t!==null;)e1(t.alternate,t),t=t.return;ht=null}}function fn(t,e){var a=t.timeoutHandle;a!==-1&&(t.timeoutHandle=-1,op(a)),a=t.cancelPendingCommit,a!==null&&(t.cancelPendingCommit=null,a()),oc(),Rt=t,ht=a=ia(t.current,null),gt=e,At=0,we=null,qa=!1,sn=_n(t,e),lc=!1,rn=Ue=nc=Tl=Va=Lt=0,ve=vi=null,ic=!1,(e&8)!==0&&(e|=e&32);var l=t.entangledLanes;if(l!==0)for(t=t.entanglements,l&=e;0<l;){var n=31-xe(l),u=1<<n;e|=t[n],l&=~u}return pa=e,iu(),a}function E1(t,e){ct=null,N.H=Au,e===Pn||e===mu?(e=Vf(),At=3):e===Lf?(e=Vf(),At=4):At=e===Gd?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,we=e,ht===null&&(Lt=1,Nu(t,Oe(e,t.current)))}function A1(){var t=N.H;return N.H=Au,t===null?Au:t}function w1(){var t=N.A;return N.A=Zv,t}function fc(){Lt=4,qa||(gt&4194048)!==gt&&je.current!==null||(sn=!0),(Va&134217727)===0&&(Tl&134217727)===0||Rt===null||Ya(Rt,gt,Ue,!1)}function dc(t,e,a){var l=Et;Et|=2;var n=A1(),u=w1();(Rt!==t||gt!==e)&&(Hu=null,fn(t,e)),e=!1;var f=Lt;t:do try{if(At!==0&&ht!==null){var d=ht,p=we;switch(At){case 8:oc(),f=6;break t;case 3:case 2:case 9:case 6:je.current===null&&(e=!0);var A=At;if(At=0,we=null,dn(t,d,p,A),a&&sn){f=0;break t}break;default:A=At,At=0,we=null,dn(t,d,p,A)}}Kv(),f=Lt;break}catch(D){E1(t,D)}while(!0);return e&&t.shellSuspendCounter++,ra=pl=null,Et=l,N.H=n,N.A=u,ht===null&&(Rt=null,gt=0,iu()),f}function Kv(){for(;ht!==null;)M1(ht)}function Jv(t,e){var a=Et;Et|=2;var l=A1(),n=w1();Rt!==t||gt!==e?(Hu=null,Uu=Ke()+500,fn(t,e)):sn=_n(t,e);t:do try{if(At!==0&&ht!==null){e=ht;var u=we;e:switch(At){case 1:At=0,we=null,dn(t,e,u,1);break;case 2:case 9:if(Bf(u)){At=0,we=null,z1(e);break}e=function(){At!==2&&At!==9||Rt!==t||(At=7),Pe(t)},u.then(e,e);break t;case 3:At=7;break t;case 4:At=5;break t;case 7:Bf(u)?(At=0,we=null,z1(e)):(At=0,we=null,dn(t,e,u,7));break;case 5:var f=null;switch(ht.tag){case 26:f=ht.memoizedState;case 5:case 27:var d=ht;if(!f||r0(f)){At=0,we=null;var p=d.sibling;if(p!==null)ht=p;else{var A=d.return;A!==null?(ht=A,Bu(A)):ht=null}break e}}At=0,we=null,dn(t,e,u,5);break;case 6:At=0,we=null,dn(t,e,u,6);break;case 8:oc(),Lt=6;break t;default:throw Error(c(462))}}Fv();break}catch(D){E1(t,D)}while(!0);return ra=pl=null,N.H=l,N.A=n,Et=a,ht!==null?0:(Rt=null,gt=0,iu(),Lt)}function Fv(){for(;ht!==null&&!gm();)M1(ht)}function M1(t){var e=Id(t.alternate,t,pa);t.memoizedProps=t.pendingProps,e===null?Bu(t):ht=e}function z1(t){var e=t,a=e.alternate;switch(e.tag){case 15:case 0:e=Kd(a,e,e.pendingProps,e.type,void 0,gt);break;case 11:e=Kd(a,e,e.pendingProps,e.type.render,e.ref,gt);break;case 5:zr(e);default:e1(a,e),e=ht=Cf(e,pa),e=Id(a,e,pa)}t.memoizedProps=t.pendingProps,e===null?Bu(t):ht=e}function dn(t,e,a,l){ra=pl=null,zr(e),an=null,si=0;var n=e.return;try{if(Bv(t,n,e,a,gt)){Lt=1,Nu(t,Oe(a,t.current)),ht=null;return}}catch(u){if(n!==null)throw ht=n,u;Lt=1,Nu(t,Oe(a,t.current)),ht=null;return}e.flags&32768?(St||l===1?t=!0:sn||(gt&536870912)!==0?t=!1:(qa=t=!0,(l===2||l===9||l===3||l===6)&&(l=je.current,l!==null&&l.tag===13&&(l.flags|=16384))),C1(e,t)):Bu(e)}function Bu(t){var e=t;do{if((e.flags&32768)!==0){C1(e,qa);return}t=e.return;var a=Vv(e.alternate,e,pa);if(a!==null){ht=a;return}if(e=e.sibling,e!==null){ht=e;return}ht=e=t}while(e!==null);Lt===0&&(Lt=5)}function C1(t,e){do{var a=Gv(t.alternate,t);if(a!==null){a.flags&=32767,ht=a;return}if(a=t.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!e&&(t=t.sibling,t!==null)){ht=t;return}ht=t=a}while(t!==null);Lt=6,ht=null}function N1(t,e,a,l,n,u,f,d,p){t.cancelPendingCommit=null;do qu();while(ee!==0);if((Et&6)!==0)throw Error(c(327));if(e!==null){if(e===t.current)throw Error(c(177));if(u=e.lanes|e.childLanes,u|=ar,zm(t,a,u,f,d,p),t===Rt&&(ht=Rt=null,gt=0),cn=e,Qa=t,on=a,sc=u,rc=n,b1=l,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,Iv(Zi,function(){return j1(),null})):(t.callbackNode=null,t.callbackPriority=0),l=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||l){l=N.T,N.T=null,n=B.p,B.p=2,f=Et,Et|=4;try{Qv(t,e,a)}finally{Et=f,B.p=n,N.T=l}}ee=1,O1(),R1(),D1()}}function O1(){if(ee===1){ee=0;var t=Qa,e=cn,a=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||a){a=N.T,N.T=null;var l=B.p;B.p=2;var n=Et;Et|=4;try{d1(e,t);var u=Ac,f=yf(t.containerInfo),d=u.focusedElem,p=u.selectionRange;if(f!==d&&d&&d.ownerDocument&&gf(d.ownerDocument.documentElement,d)){if(p!==null&&$s(d)){var A=p.start,D=p.end;if(D===void 0&&(D=A),"selectionStart"in d)d.selectionStart=A,d.selectionEnd=Math.min(D,d.value.length);else{var U=d.ownerDocument||document,z=U&&U.defaultView||window;if(z.getSelection){var C=z.getSelection(),it=d.textContent.length,at=Math.min(p.start,it),zt=p.end===void 0?at:Math.min(p.end,it);!C.extend&&at>zt&&(f=zt,zt=at,at=f);var S=pf(d,at),y=pf(d,zt);if(S&&y&&(C.rangeCount!==1||C.anchorNode!==S.node||C.anchorOffset!==S.offset||C.focusNode!==y.node||C.focusOffset!==y.offset)){var E=U.createRange();E.setStart(S.node,S.offset),C.removeAllRanges(),at>zt?(C.addRange(E),C.extend(y.node,y.offset)):(E.setEnd(y.node,y.offset),C.addRange(E))}}}}for(U=[],C=d;C=C.parentNode;)C.nodeType===1&&U.push({element:C,left:C.scrollLeft,top:C.scrollTop});for(typeof d.focus=="function"&&d.focus(),d=0;d<U.length;d++){var j=U[d];j.element.scrollLeft=j.left,j.element.scrollTop=j.top}}$u=!!Ec,Ac=Ec=null}finally{Et=n,B.p=l,N.T=a}}t.current=e,ee=2}}function R1(){if(ee===2){ee=0;var t=Qa,e=cn,a=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||a){a=N.T,N.T=null;var l=B.p;B.p=2;var n=Et;Et|=4;try{r1(t,e.alternate,e)}finally{Et=n,B.p=l,N.T=a}}ee=3}}function D1(){if(ee===4||ee===3){ee=0,ym();var t=Qa,e=cn,a=on,l=b1;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?ee=5:(ee=0,cn=Qa=null,_1(t,t.pendingLanes));var n=t.pendingLanes;if(n===0&&(Ga=null),Os(a),e=e.stateNode,be&&typeof be.onCommitFiberRoot=="function")try{be.onCommitFiberRoot(Dn,e,void 0,(e.current.flags&128)===128)}catch(p){}if(l!==null){e=N.T,n=B.p,B.p=2,N.T=null;try{for(var u=t.onRecoverableError,f=0;f<l.length;f++){var d=l[f];u(d.value,{componentStack:d.stack})}}finally{N.T=e,B.p=n}}(on&3)!==0&&qu(),Pe(t),n=t.pendingLanes,(a&4194090)!==0&&(n&42)!==0?t===cc?pi++:(pi=0,cc=t):pi=0,gi(0)}}function _1(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,Wn(e)))}function qu(t){return O1(),R1(),D1(),j1()}function j1(){if(ee!==5)return!1;var t=Qa,e=sc;sc=0;var a=Os(on),l=N.T,n=B.p;try{B.p=32>a?32:a,N.T=null,a=rc,rc=null;var u=Qa,f=on;if(ee=0,cn=Qa=null,on=0,(Et&6)!==0)throw Error(c(331));var d=Et;if(Et|=4,g1(u.current),m1(u,u.current,f,a),Et=d,gi(0,!1),be&&typeof be.onPostCommitFiberRoot=="function")try{be.onPostCommitFiberRoot(Dn,u)}catch(p){}return!0}finally{B.p=n,N.T=l,_1(t,e)}}function U1(t,e,a){e=Oe(a,e),e=Gr(t.stateNode,e,2),t=Da(t,e,2),t!==null&&(jn(t,2),Pe(t))}function Nt(t,e,a){if(t.tag===3)U1(t,t,a);else for(;e!==null;){if(e.tag===3){U1(e,t,a);break}else if(e.tag===1){var l=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Ga===null||!Ga.has(l))){t=Oe(a,t),a=qd(2),l=Da(e,a,2),l!==null&&(Vd(a,l,e,t),jn(l,2),Pe(l));break}}e=e.return}}function hc(t,e,a){var l=t.pingCache;if(l===null){l=t.pingCache=new Xv;var n=new Set;l.set(e,n)}else n=l.get(e),n===void 0&&(n=new Set,l.set(e,n));n.has(a)||(lc=!0,n.add(a),t=Wv.bind(null,t,e,a),e.then(t,t))}function Wv(t,e,a){var l=t.pingCache;l!==null&&l.delete(e),t.pingedLanes|=t.suspendedLanes&a,t.warmLanes&=~a,Rt===t&&(gt&a)===a&&(Lt===4||Lt===3&&(gt&62914560)===gt&&300>Ke()-uc?(Et&2)===0&&fn(t,0):nc|=a,rn===gt&&(rn=0)),Pe(t)}function H1(t,e){e===0&&(e=Ro()),t=kl(t,e),t!==null&&(jn(t,e),Pe(t))}function $v(t){var e=t.memoizedState,a=0;e!==null&&(a=e.retryLane),H1(t,a)}function Pv(t,e){var a=0;switch(t.tag){case 13:var l=t.stateNode,n=t.memoizedState;n!==null&&(a=n.retryLane);break;case 19:l=t.stateNode;break;case 22:l=t.stateNode._retryCache;break;default:throw Error(c(314))}l!==null&&l.delete(e),H1(t,a)}function Iv(t,e){return Ms(t,e)}var Vu=null,hn=null,mc=!1,Gu=!1,vc=!1,El=0;function Pe(t){t!==hn&&t.next===null&&(hn===null?Vu=hn=t:hn=hn.next=t),Gu=!0,mc||(mc=!0,ep())}function gi(t,e){if(!vc&&Gu){vc=!0;do for(var a=!1,l=Vu;l!==null;){if(t!==0){var n=l.pendingLanes;if(n===0)var u=0;else{var f=l.suspendedLanes,d=l.pingedLanes;u=(1<<31-xe(42|t)+1)-1,u&=n&~(f&~d),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(a=!0,V1(l,u))}else u=gt,u=Ki(l,l===Rt?u:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(u&3)===0||_n(l,u)||(a=!0,V1(l,u));l=l.next}while(a);vc=!1}}function tp(){L1()}function L1(){Gu=mc=!1;var t=0;El!==0&&(cp()&&(t=El),El=0);for(var e=Ke(),a=null,l=Vu;l!==null;){var n=l.next,u=B1(l,e);u===0?(l.next=null,a===null?Vu=n:a.next=n,n===null&&(hn=a)):(a=l,(t!==0||(u&3)!==0)&&(Gu=!0)),l=n}gi(t)}function B1(t,e){for(var a=t.suspendedLanes,l=t.pingedLanes,n=t.expirationTimes,u=t.pendingLanes&-62914561;0<u;){var f=31-xe(u),d=1<<f,p=n[f];p===-1?((d&a)===0||(d&l)!==0)&&(n[f]=Mm(d,e)):p<=e&&(t.expiredLanes|=d),u&=~d}if(e=Rt,a=gt,a=Ki(t,t===e?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l=t.callbackNode,a===0||t===e&&(At===2||At===9)||t.cancelPendingCommit!==null)return l!==null&&l!==null&&zs(l),t.callbackNode=null,t.callbackPriority=0;if((a&3)===0||_n(t,a)){if(e=a&-a,e===t.callbackPriority)return e;switch(l!==null&&zs(l),Os(a)){case 2:case 8:a=Co;break;case 32:a=Zi;break;case 268435456:a=No;break;default:a=Zi}return l=q1.bind(null,t),a=Ms(a,l),t.callbackPriority=e,t.callbackNode=a,e}return l!==null&&l!==null&&zs(l),t.callbackPriority=2,t.callbackNode=null,2}function q1(t,e){if(ee!==0&&ee!==5)return t.callbackNode=null,t.callbackPriority=0,null;var a=t.callbackNode;if(qu()&&t.callbackNode!==a)return null;var l=gt;return l=Ki(t,t===Rt?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l===0?null:(S1(t,l,e),B1(t,Ke()),t.callbackNode!=null&&t.callbackNode===a?q1.bind(null,t):null)}function V1(t,e){if(qu())return null;S1(t,e,!0)}function ep(){fp(function(){(Et&6)!==0?Ms(zo,tp):L1()})}function pc(){return El===0&&(El=Oo()),El}function G1(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Pi(""+t)}function Q1(t,e){var a=e.ownerDocument.createElement("input");return a.name=e.name,a.value=e.value,t.id&&a.setAttribute("form",t.id),e.parentNode.insertBefore(a,e),t=new FormData(t),a.parentNode.removeChild(a),t}function ap(t,e,a,l,n){if(e==="submit"&&a&&a.stateNode===n){var u=G1((n[fe]||null).action),f=l.submitter;f&&(e=(e=f[fe]||null)?G1(e.formAction):f.getAttribute("formAction"),e!==null&&(u=e,f=null));var d=new au("action","action",null,l,n);t.push({event:d,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(El!==0){var p=f?Q1(n,f):new FormData(n);Hr(a,{pending:!0,data:p,method:n.method,action:u},null,p)}}else typeof u=="function"&&(d.preventDefault(),p=f?Q1(n,f):new FormData(n),Hr(a,{pending:!0,data:p,method:n.method,action:u},u,p))},currentTarget:n}]})}}for(var gc=0;gc<er.length;gc++){var yc=er[gc],lp=yc.toLowerCase(),np=yc[0].toUpperCase()+yc.slice(1);Ve(lp,"on"+np)}Ve(Sf,"onAnimationEnd"),Ve(Tf,"onAnimationIteration"),Ve(Ef,"onAnimationStart"),Ve("dblclick","onDoubleClick"),Ve("focusin","onFocus"),Ve("focusout","onBlur"),Ve(Sv,"onTransitionRun"),Ve(Tv,"onTransitionStart"),Ve(Ev,"onTransitionCancel"),Ve(Af,"onTransitionEnd"),Hl("onMouseEnter",["mouseout","mouseover"]),Hl("onMouseLeave",["mouseout","mouseover"]),Hl("onPointerEnter",["pointerout","pointerover"]),Hl("onPointerLeave",["pointerout","pointerover"]),sl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),sl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),sl("onBeforeInput",["compositionend","keypress","textInput","paste"]),sl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),sl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),sl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var yi="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),ip=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(yi));function Y1(t,e){e=(e&4)!==0;for(var a=0;a<t.length;a++){var l=t[a],n=l.event;l=l.listeners;t:{var u=void 0;if(e)for(var f=l.length-1;0<=f;f--){var d=l[f],p=d.instance,A=d.currentTarget;if(d=d.listener,p!==u&&n.isPropagationStopped())break t;u=d,n.currentTarget=A;try{u(n)}catch(D){Cu(D)}n.currentTarget=null,u=p}else for(f=0;f<l.length;f++){if(d=l[f],p=d.instance,A=d.currentTarget,d=d.listener,p!==u&&n.isPropagationStopped())break t;u=d,n.currentTarget=A;try{u(n)}catch(D){Cu(D)}n.currentTarget=null,u=p}}}}function mt(t,e){var a=e[Rs];a===void 0&&(a=e[Rs]=new Set);var l=t+"__bubble";a.has(l)||(Z1(e,t,2,!1),a.add(l))}function bc(t,e,a){var l=0;e&&(l|=4),Z1(a,t,l,e)}var Qu="_reactListening"+Math.random().toString(36).slice(2);function xc(t){if(!t[Qu]){t[Qu]=!0,Ho.forEach(function(a){a!=="selectionchange"&&(ip.has(a)||bc(a,!1,t),bc(a,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[Qu]||(e[Qu]=!0,bc("selectionchange",!1,e))}}function Z1(t,e,a,l){switch(m0(e)){case 2:var n=Dp;break;case 8:n=_p;break;default:n=jc}a=n.bind(null,e,a,t),n=void 0,!Qs||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(n=!0),l?n!==void 0?t.addEventListener(e,a,{capture:!0,passive:n}):t.addEventListener(e,a,!0):n!==void 0?t.addEventListener(e,a,{passive:n}):t.addEventListener(e,a,!1)}function Sc(t,e,a,l,n){var u=l;if((e&1)===0&&(e&2)===0&&l!==null)t:for(;;){if(l===null)return;var f=l.tag;if(f===3||f===4){var d=l.stateNode.containerInfo;if(d===n)break;if(f===4)for(f=l.return;f!==null;){var p=f.tag;if((p===3||p===4)&&f.stateNode.containerInfo===n)return;f=f.return}for(;d!==null;){if(f=_l(d),f===null)return;if(p=f.tag,p===5||p===6||p===26||p===27){l=u=f;continue t}d=d.parentNode}}l=l.return}Wo(function(){var A=u,D=Vs(a),U=[];t:{var z=wf.get(t);if(z!==void 0){var C=au,it=t;switch(t){case"keypress":if(tu(a)===0)break t;case"keydown":case"keyup":C=Im;break;case"focusin":it="focus",C=ks;break;case"focusout":it="blur",C=ks;break;case"beforeblur":case"afterblur":C=ks;break;case"click":if(a.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":C=Io;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":C=Gm;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":C=av;break;case Sf:case Tf:case Ef:C=Zm;break;case Af:C=nv;break;case"scroll":case"scrollend":C=qm;break;case"wheel":C=uv;break;case"copy":case"cut":case"paste":C=km;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":C=ef;break;case"toggle":case"beforetoggle":C=rv}var at=(e&4)!==0,zt=!at&&(t==="scroll"||t==="scrollend"),S=at?z!==null?z+"Capture":null:z;at=[];for(var y=A,E;y!==null;){var j=y;if(E=j.stateNode,j=j.tag,j!==5&&j!==26&&j!==27||E===null||S===null||(j=Ln(y,S),j!=null&&at.push(bi(y,j,E))),zt)break;y=y.return}0<at.length&&(z=new C(z,it,null,a,D),U.push({event:z,listeners:at}))}}if((e&7)===0){t:{if(z=t==="mouseover"||t==="pointerover",C=t==="mouseout"||t==="pointerout",z&&a!==qs&&(it=a.relatedTarget||a.fromElement)&&(_l(it)||it[Dl]))break t;if((C||z)&&(z=D.window===D?D:(z=D.ownerDocument)?z.defaultView||z.parentWindow:window,C?(it=a.relatedTarget||a.toElement,C=A,it=it?_l(it):null,it!==null&&(zt=h(it),at=it.tag,it!==zt||at!==5&&at!==27&&at!==6)&&(it=null)):(C=null,it=A),C!==it)){if(at=Io,j="onMouseLeave",S="onMouseEnter",y="mouse",(t==="pointerout"||t==="pointerover")&&(at=ef,j="onPointerLeave",S="onPointerEnter",y="pointer"),zt=C==null?z:Hn(C),E=it==null?z:Hn(it),z=new at(j,y+"leave",C,a,D),z.target=zt,z.relatedTarget=E,j=null,_l(D)===A&&(at=new at(S,y+"enter",it,a,D),at.target=E,at.relatedTarget=zt,j=at),zt=j,C&&it)e:{for(at=C,S=it,y=0,E=at;E;E=mn(E))y++;for(E=0,j=S;j;j=mn(j))E++;for(;0<y-E;)at=mn(at),y--;for(;0<E-y;)S=mn(S),E--;for(;y--;){if(at===S||S!==null&&at===S.alternate)break e;at=mn(at),S=mn(S)}at=null}else at=null;C!==null&&X1(U,z,C,at,!1),it!==null&&zt!==null&&X1(U,zt,it,at,!0)}}t:{if(z=A?Hn(A):window,C=z.nodeName&&z.nodeName.toLowerCase(),C==="select"||C==="input"&&z.type==="file")var J=of;else if(rf(z))if(ff)J=yv;else{J=pv;var ft=vv}else C=z.nodeName,!C||C.toLowerCase()!=="input"||z.type!=="checkbox"&&z.type!=="radio"?A&&Bs(A.elementType)&&(J=of):J=gv;if(J&&(J=J(t,A))){cf(U,J,a,D);break t}ft&&ft(t,z,A),t==="focusout"&&A&&z.type==="number"&&A.memoizedProps.value!=null&&Ls(z,"number",z.value)}switch(ft=A?Hn(A):window,t){case"focusin":(rf(ft)||ft.contentEditable==="true")&&(Yl=ft,Ps=A,Xn=null);break;case"focusout":Xn=Ps=Yl=null;break;case"mousedown":Is=!0;break;case"contextmenu":case"mouseup":case"dragend":Is=!1,bf(U,a,D);break;case"selectionchange":if(xv)break;case"keydown":case"keyup":bf(U,a,D)}var I;if(Js)t:{switch(t){case"compositionstart":var lt="onCompositionStart";break t;case"compositionend":lt="onCompositionEnd";break t;case"compositionupdate":lt="onCompositionUpdate";break t}lt=void 0}else Ql?uf(t,a)&&(lt="onCompositionEnd"):t==="keydown"&&a.keyCode===229&&(lt="onCompositionStart");lt&&(af&&a.locale!=="ko"&&(Ql||lt!=="onCompositionStart"?lt==="onCompositionEnd"&&Ql&&(I=$o()):(Ca=D,Ys="value"in Ca?Ca.value:Ca.textContent,Ql=!0)),ft=Yu(A,lt),0<ft.length&&(lt=new tf(lt,t,null,a,D),U.push({event:lt,listeners:ft}),I?lt.data=I:(I=sf(a),I!==null&&(lt.data=I)))),(I=ov?fv(t,a):dv(t,a))&&(lt=Yu(A,"onBeforeInput"),0<lt.length&&(ft=new tf("onBeforeInput","beforeinput",null,a,D),U.push({event:ft,listeners:lt}),ft.data=I)),ap(U,t,A,a,D)}Y1(U,e)})}function bi(t,e,a){return{instance:t,listener:e,currentTarget:a}}function Yu(t,e){for(var a=e+"Capture",l=[];t!==null;){var n=t,u=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||u===null||(n=Ln(t,a),n!=null&&l.unshift(bi(t,n,u)),n=Ln(t,e),n!=null&&l.push(bi(t,n,u))),t.tag===3)return l;t=t.return}return[]}function mn(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function X1(t,e,a,l,n){for(var u=e._reactName,f=[];a!==null&&a!==l;){var d=a,p=d.alternate,A=d.stateNode;if(d=d.tag,p!==null&&p===l)break;d!==5&&d!==26&&d!==27||A===null||(p=A,n?(A=Ln(a,u),A!=null&&f.unshift(bi(a,A,p))):n||(A=Ln(a,u),A!=null&&f.push(bi(a,A,p)))),a=a.return}f.length!==0&&t.push({event:e,listeners:f})}var up=/\r\n?/g,sp=/\u0000|\uFFFD/g;function k1(t){return(typeof t=="string"?t:""+t).replace(up,`
`).replace(sp,"")}function K1(t,e){return e=k1(e),k1(t)===e}function Zu(){}function Mt(t,e,a,l,n,u){switch(a){case"children":typeof l=="string"?e==="body"||e==="textarea"&&l===""||ql(t,l):(typeof l=="number"||typeof l=="bigint")&&e!=="body"&&ql(t,""+l);break;case"className":Fi(t,"class",l);break;case"tabIndex":Fi(t,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":Fi(t,a,l);break;case"style":Jo(t,l,u);break;case"data":if(e!=="object"){Fi(t,"data",l);break}case"src":case"href":if(l===""&&(e!=="a"||a!=="href")){t.removeAttribute(a);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(a);break}l=Pi(""+l),t.setAttribute(a,l);break;case"action":case"formAction":if(typeof l=="function"){t.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof u=="function"&&(a==="formAction"?(e!=="input"&&Mt(t,e,"name",n.name,n,null),Mt(t,e,"formEncType",n.formEncType,n,null),Mt(t,e,"formMethod",n.formMethod,n,null),Mt(t,e,"formTarget",n.formTarget,n,null)):(Mt(t,e,"encType",n.encType,n,null),Mt(t,e,"method",n.method,n,null),Mt(t,e,"target",n.target,n,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(a);break}l=Pi(""+l),t.setAttribute(a,l);break;case"onClick":l!=null&&(t.onclick=Zu);break;case"onScroll":l!=null&&mt("scroll",t);break;case"onScrollEnd":l!=null&&mt("scrollend",t);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(c(61));if(a=l.__html,a!=null){if(n.children!=null)throw Error(c(60));t.innerHTML=a}}break;case"multiple":t.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":t.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){t.removeAttribute("xlink:href");break}a=Pi(""+l),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(a,""+l):t.removeAttribute(a);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":l&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(a,""):t.removeAttribute(a);break;case"capture":case"download":l===!0?t.setAttribute(a,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(a,l):t.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?t.setAttribute(a,l):t.removeAttribute(a);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?t.removeAttribute(a):t.setAttribute(a,l);break;case"popover":mt("beforetoggle",t),mt("toggle",t),Ji(t,"popover",l);break;case"xlinkActuate":la(t,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":la(t,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":la(t,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":la(t,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":la(t,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":la(t,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":la(t,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":la(t,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":la(t,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":Ji(t,"is",l);break;case"innerText":case"textContent":break;default:(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(a=Lm.get(a)||a,Ji(t,a,l))}}function Tc(t,e,a,l,n,u){switch(a){case"style":Jo(t,l,u);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(c(61));if(a=l.__html,a!=null){if(n.children!=null)throw Error(c(60));t.innerHTML=a}}break;case"children":typeof l=="string"?ql(t,l):(typeof l=="number"||typeof l=="bigint")&&ql(t,""+l);break;case"onScroll":l!=null&&mt("scroll",t);break;case"onScrollEnd":l!=null&&mt("scrollend",t);break;case"onClick":l!=null&&(t.onclick=Zu);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Lo.hasOwnProperty(a))t:{if(a[0]==="o"&&a[1]==="n"&&(n=a.endsWith("Capture"),e=a.slice(2,n?a.length-7:void 0),u=t[fe]||null,u=u!=null?u[a]:null,typeof u=="function"&&t.removeEventListener(e,u,n),typeof l=="function")){typeof u!="function"&&u!==null&&(a in t?t[a]=null:t.hasAttribute(a)&&t.removeAttribute(a)),t.addEventListener(e,l,n);break t}a in t?t[a]=l:l===!0?t.setAttribute(a,""):Ji(t,a,l)}}}function ae(t,e,a){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":mt("error",t),mt("load",t);var l=!1,n=!1,u;for(u in a)if(a.hasOwnProperty(u)){var f=a[u];if(f!=null)switch(u){case"src":l=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(c(137,e));default:Mt(t,e,u,f,a,null)}}n&&Mt(t,e,"srcSet",a.srcSet,a,null),l&&Mt(t,e,"src",a.src,a,null);return;case"input":mt("invalid",t);var d=u=f=n=null,p=null,A=null;for(l in a)if(a.hasOwnProperty(l)){var D=a[l];if(D!=null)switch(l){case"name":n=D;break;case"type":f=D;break;case"checked":p=D;break;case"defaultChecked":A=D;break;case"value":u=D;break;case"defaultValue":d=D;break;case"children":case"dangerouslySetInnerHTML":if(D!=null)throw Error(c(137,e));break;default:Mt(t,e,l,D,a,null)}}Zo(t,u,d,p,A,f,n,!1),Wi(t);return;case"select":mt("invalid",t),l=f=u=null;for(n in a)if(a.hasOwnProperty(n)&&(d=a[n],d!=null))switch(n){case"value":u=d;break;case"defaultValue":f=d;break;case"multiple":l=d;default:Mt(t,e,n,d,a,null)}e=u,a=f,t.multiple=!!l,e!=null?Bl(t,!!l,e,!1):a!=null&&Bl(t,!!l,a,!0);return;case"textarea":mt("invalid",t),u=n=l=null;for(f in a)if(a.hasOwnProperty(f)&&(d=a[f],d!=null))switch(f){case"value":l=d;break;case"defaultValue":n=d;break;case"children":u=d;break;case"dangerouslySetInnerHTML":if(d!=null)throw Error(c(91));break;default:Mt(t,e,f,d,a,null)}ko(t,l,n,u),Wi(t);return;case"option":for(p in a)if(a.hasOwnProperty(p)&&(l=a[p],l!=null))switch(p){case"selected":t.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:Mt(t,e,p,l,a,null)}return;case"dialog":mt("beforetoggle",t),mt("toggle",t),mt("cancel",t),mt("close",t);break;case"iframe":case"object":mt("load",t);break;case"video":case"audio":for(l=0;l<yi.length;l++)mt(yi[l],t);break;case"image":mt("error",t),mt("load",t);break;case"details":mt("toggle",t);break;case"embed":case"source":case"link":mt("error",t),mt("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(A in a)if(a.hasOwnProperty(A)&&(l=a[A],l!=null))switch(A){case"children":case"dangerouslySetInnerHTML":throw Error(c(137,e));default:Mt(t,e,A,l,a,null)}return;default:if(Bs(e)){for(D in a)a.hasOwnProperty(D)&&(l=a[D],l!==void 0&&Tc(t,e,D,l,a,void 0));return}}for(d in a)a.hasOwnProperty(d)&&(l=a[d],l!=null&&Mt(t,e,d,l,a,null))}function rp(t,e,a,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,u=null,f=null,d=null,p=null,A=null,D=null;for(C in a){var U=a[C];if(a.hasOwnProperty(C)&&U!=null)switch(C){case"checked":break;case"value":break;case"defaultValue":p=U;default:l.hasOwnProperty(C)||Mt(t,e,C,null,l,U)}}for(var z in l){var C=l[z];if(U=a[z],l.hasOwnProperty(z)&&(C!=null||U!=null))switch(z){case"type":u=C;break;case"name":n=C;break;case"checked":A=C;break;case"defaultChecked":D=C;break;case"value":f=C;break;case"defaultValue":d=C;break;case"children":case"dangerouslySetInnerHTML":if(C!=null)throw Error(c(137,e));break;default:C!==U&&Mt(t,e,z,C,l,U)}}Hs(t,f,d,p,A,D,u,n);return;case"select":C=f=d=z=null;for(u in a)if(p=a[u],a.hasOwnProperty(u)&&p!=null)switch(u){case"value":break;case"multiple":C=p;default:l.hasOwnProperty(u)||Mt(t,e,u,null,l,p)}for(n in l)if(u=l[n],p=a[n],l.hasOwnProperty(n)&&(u!=null||p!=null))switch(n){case"value":z=u;break;case"defaultValue":d=u;break;case"multiple":f=u;default:u!==p&&Mt(t,e,n,u,l,p)}e=d,a=f,l=C,z!=null?Bl(t,!!a,z,!1):!!l!=!!a&&(e!=null?Bl(t,!!a,e,!0):Bl(t,!!a,a?[]:"",!1));return;case"textarea":C=z=null;for(d in a)if(n=a[d],a.hasOwnProperty(d)&&n!=null&&!l.hasOwnProperty(d))switch(d){case"value":break;case"children":break;default:Mt(t,e,d,null,l,n)}for(f in l)if(n=l[f],u=a[f],l.hasOwnProperty(f)&&(n!=null||u!=null))switch(f){case"value":z=n;break;case"defaultValue":C=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(c(91));break;default:n!==u&&Mt(t,e,f,n,l,u)}Xo(t,z,C);return;case"option":for(var it in a)if(z=a[it],a.hasOwnProperty(it)&&z!=null&&!l.hasOwnProperty(it))switch(it){case"selected":t.selected=!1;break;default:Mt(t,e,it,null,l,z)}for(p in l)if(z=l[p],C=a[p],l.hasOwnProperty(p)&&z!==C&&(z!=null||C!=null))switch(p){case"selected":t.selected=z&&typeof z!="function"&&typeof z!="symbol";break;default:Mt(t,e,p,z,l,C)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var at in a)z=a[at],a.hasOwnProperty(at)&&z!=null&&!l.hasOwnProperty(at)&&Mt(t,e,at,null,l,z);for(A in l)if(z=l[A],C=a[A],l.hasOwnProperty(A)&&z!==C&&(z!=null||C!=null))switch(A){case"children":case"dangerouslySetInnerHTML":if(z!=null)throw Error(c(137,e));break;default:Mt(t,e,A,z,l,C)}return;default:if(Bs(e)){for(var zt in a)z=a[zt],a.hasOwnProperty(zt)&&z!==void 0&&!l.hasOwnProperty(zt)&&Tc(t,e,zt,void 0,l,z);for(D in l)z=l[D],C=a[D],!l.hasOwnProperty(D)||z===C||z===void 0&&C===void 0||Tc(t,e,D,z,l,C);return}}for(var S in a)z=a[S],a.hasOwnProperty(S)&&z!=null&&!l.hasOwnProperty(S)&&Mt(t,e,S,null,l,z);for(U in l)z=l[U],C=a[U],!l.hasOwnProperty(U)||z===C||z==null&&C==null||Mt(t,e,U,z,l,C)}var Ec=null,Ac=null;function Xu(t){return t.nodeType===9?t:t.ownerDocument}function J1(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function F1(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function wc(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var Mc=null;function cp(){var t=window.event;return t&&t.type==="popstate"?t===Mc?!1:(Mc=t,!0):(Mc=null,!1)}var W1=typeof setTimeout=="function"?setTimeout:void 0,op=typeof clearTimeout=="function"?clearTimeout:void 0,$1=typeof Promise=="function"?Promise:void 0,fp=typeof queueMicrotask=="function"?queueMicrotask:typeof $1!="undefined"?function(t){return $1.resolve(null).then(t).catch(dp)}:W1;function dp(t){setTimeout(function(){throw t})}function Za(t){return t==="head"}function P1(t,e){var a=e,l=0,n=0;do{var u=a.nextSibling;if(t.removeChild(a),u&&u.nodeType===8)if(a=u.data,a==="/$"){if(0<l&&8>l){a=l;var f=t.ownerDocument;if(a&1&&xi(f.documentElement),a&2&&xi(f.body),a&4)for(a=f.head,xi(a),f=a.firstChild;f;){var d=f.nextSibling,p=f.nodeName;f[Un]||p==="SCRIPT"||p==="STYLE"||p==="LINK"&&f.rel.toLowerCase()==="stylesheet"||a.removeChild(f),f=d}}if(n===0){t.removeChild(u),Ci(e);return}n--}else a==="$"||a==="$?"||a==="$!"?n++:l=a.charCodeAt(0)-48;else l=0;a=u}while(a);Ci(e)}function zc(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var a=e;switch(e=e.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":zc(a),Ds(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}t.removeChild(a)}}function hp(t,e,a,l){for(;t.nodeType===1;){var n=a;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!l&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(l){if(!t[Un])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(u=t.getAttribute("rel"),u==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(u!==n.rel||t.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||t.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||t.getAttribute("title")!==(n.title==null?null:n.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(u=t.getAttribute("src"),(u!==(n.src==null?null:n.src)||t.getAttribute("type")!==(n.type==null?null:n.type)||t.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&u&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var u=n.name==null?null:""+n.name;if(n.type==="hidden"&&t.getAttribute("name")===u)return t}else return t;if(t=Qe(t.nextSibling),t===null)break}return null}function mp(t,e,a){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!a||(t=Qe(t.nextSibling),t===null))return null;return t}function Cc(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState==="complete"}function vp(t,e){var a=t.ownerDocument;if(t.data!=="$?"||a.readyState==="complete")e();else{var l=function(){e(),a.removeEventListener("DOMContentLoaded",l)};a.addEventListener("DOMContentLoaded",l),t._reactRetry=l}}function Qe(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="F!"||e==="F")break;if(e==="/$")return null}}return t}var Nc=null;function I1(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var a=t.data;if(a==="$"||a==="$!"||a==="$?"){if(e===0)return t;e--}else a==="/$"&&e++}t=t.previousSibling}return null}function t0(t,e,a){switch(e=Xu(a),t){case"html":if(t=e.documentElement,!t)throw Error(c(452));return t;case"head":if(t=e.head,!t)throw Error(c(453));return t;case"body":if(t=e.body,!t)throw Error(c(454));return t;default:throw Error(c(451))}}function xi(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);Ds(t)}var He=new Map,e0=new Set;function ku(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var ga=B.d;B.d={f:pp,r:gp,D:yp,C:bp,L:xp,m:Sp,X:Ep,S:Tp,M:Ap};function pp(){var t=ga.f(),e=Lu();return t||e}function gp(t){var e=jl(t);e!==null&&e.tag===5&&e.type==="form"?Sd(e):ga.r(t)}var vn=typeof document=="undefined"?null:document;function a0(t,e,a){var l=vn;if(l&&typeof e=="string"&&e){var n=Ne(e);n='link[rel="'+t+'"][href="'+n+'"]',typeof a=="string"&&(n+='[crossorigin="'+a+'"]'),e0.has(n)||(e0.add(n),t={rel:t,crossOrigin:a,href:e},l.querySelector(n)===null&&(e=l.createElement("link"),ae(e,"link",t),Wt(e),l.head.appendChild(e)))}}function yp(t){ga.D(t),a0("dns-prefetch",t,null)}function bp(t,e){ga.C(t,e),a0("preconnect",t,e)}function xp(t,e,a){ga.L(t,e,a);var l=vn;if(l&&t&&e){var n='link[rel="preload"][as="'+Ne(e)+'"]';e==="image"&&a&&a.imageSrcSet?(n+='[imagesrcset="'+Ne(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(n+='[imagesizes="'+Ne(a.imageSizes)+'"]')):n+='[href="'+Ne(t)+'"]';var u=n;switch(e){case"style":u=pn(t);break;case"script":u=gn(t)}He.has(u)||(t=T({rel:"preload",href:e==="image"&&a&&a.imageSrcSet?void 0:t,as:e},a),He.set(u,t),l.querySelector(n)!==null||e==="style"&&l.querySelector(Si(u))||e==="script"&&l.querySelector(Ti(u))||(e=l.createElement("link"),ae(e,"link",t),Wt(e),l.head.appendChild(e)))}}function Sp(t,e){ga.m(t,e);var a=vn;if(a&&t){var l=e&&typeof e.as=="string"?e.as:"script",n='link[rel="modulepreload"][as="'+Ne(l)+'"][href="'+Ne(t)+'"]',u=n;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=gn(t)}if(!He.has(u)&&(t=T({rel:"modulepreload",href:t},e),He.set(u,t),a.querySelector(n)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(Ti(u)))return}l=a.createElement("link"),ae(l,"link",t),Wt(l),a.head.appendChild(l)}}}function Tp(t,e,a){ga.S(t,e,a);var l=vn;if(l&&t){var n=Ul(l).hoistableStyles,u=pn(t);e=e||"default";var f=n.get(u);if(!f){var d={loading:0,preload:null};if(f=l.querySelector(Si(u)))d.loading=5;else{t=T({rel:"stylesheet",href:t,"data-precedence":e},a),(a=He.get(u))&&Oc(t,a);var p=f=l.createElement("link");Wt(p),ae(p,"link",t),p._p=new Promise(function(A,D){p.onload=A,p.onerror=D}),p.addEventListener("load",function(){d.loading|=1}),p.addEventListener("error",function(){d.loading|=2}),d.loading|=4,Ku(f,e,l)}f={type:"stylesheet",instance:f,count:1,state:d},n.set(u,f)}}}function Ep(t,e){ga.X(t,e);var a=vn;if(a&&t){var l=Ul(a).hoistableScripts,n=gn(t),u=l.get(n);u||(u=a.querySelector(Ti(n)),u||(t=T({src:t,async:!0},e),(e=He.get(n))&&Rc(t,e),u=a.createElement("script"),Wt(u),ae(u,"link",t),a.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},l.set(n,u))}}function Ap(t,e){ga.M(t,e);var a=vn;if(a&&t){var l=Ul(a).hoistableScripts,n=gn(t),u=l.get(n);u||(u=a.querySelector(Ti(n)),u||(t=T({src:t,async:!0,type:"module"},e),(e=He.get(n))&&Rc(t,e),u=a.createElement("script"),Wt(u),ae(u,"link",t),a.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},l.set(n,u))}}function l0(t,e,a,l){var n=(n=Be.current)?ku(n):null;if(!n)throw Error(c(446));switch(t){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(e=pn(a.href),a=Ul(n).hoistableStyles,l=a.get(e),l||(l={type:"style",instance:null,count:0,state:null},a.set(e,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){t=pn(a.href);var u=Ul(n).hoistableStyles,f=u.get(t);if(f||(n=n.ownerDocument||n,f={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(t,f),(u=n.querySelector(Si(t)))&&!u._p&&(f.instance=u,f.state.loading=5),He.has(t)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},He.set(t,a),u||wp(n,t,a,f.state))),e&&l===null)throw Error(c(528,""));return f}if(e&&l!==null)throw Error(c(529,""));return null;case"script":return e=a.async,a=a.src,typeof a=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=gn(a),a=Ul(n).hoistableScripts,l=a.get(e),l||(l={type:"script",instance:null,count:0,state:null},a.set(e,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(c(444,t))}}function pn(t){return'href="'+Ne(t)+'"'}function Si(t){return'link[rel="stylesheet"]['+t+"]"}function n0(t){return T({},t,{"data-precedence":t.precedence,precedence:null})}function wp(t,e,a,l){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?l.loading=1:(e=t.createElement("link"),l.preload=e,e.addEventListener("load",function(){return l.loading|=1}),e.addEventListener("error",function(){return l.loading|=2}),ae(e,"link",a),Wt(e),t.head.appendChild(e))}function gn(t){return'[src="'+Ne(t)+'"]'}function Ti(t){return"script[async]"+t}function i0(t,e,a){if(e.count++,e.instance===null)switch(e.type){case"style":var l=t.querySelector('style[data-href~="'+Ne(a.href)+'"]');if(l)return e.instance=l,Wt(l),l;var n=T({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return l=(t.ownerDocument||t).createElement("style"),Wt(l),ae(l,"style",n),Ku(l,a.precedence,t),e.instance=l;case"stylesheet":n=pn(a.href);var u=t.querySelector(Si(n));if(u)return e.state.loading|=4,e.instance=u,Wt(u),u;l=n0(a),(n=He.get(n))&&Oc(l,n),u=(t.ownerDocument||t).createElement("link"),Wt(u);var f=u;return f._p=new Promise(function(d,p){f.onload=d,f.onerror=p}),ae(u,"link",l),e.state.loading|=4,Ku(u,a.precedence,t),e.instance=u;case"script":return u=gn(a.src),(n=t.querySelector(Ti(u)))?(e.instance=n,Wt(n),n):(l=a,(n=He.get(u))&&(l=T({},a),Rc(l,n)),t=t.ownerDocument||t,n=t.createElement("script"),Wt(n),ae(n,"link",l),t.head.appendChild(n),e.instance=n);case"void":return null;default:throw Error(c(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(l=e.instance,e.state.loading|=4,Ku(l,a.precedence,t));return e.instance}function Ku(t,e,a){for(var l=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=l.length?l[l.length-1]:null,u=n,f=0;f<l.length;f++){var d=l[f];if(d.dataset.precedence===e)u=d;else if(u!==n)break}u?u.parentNode.insertBefore(t,u.nextSibling):(e=a.nodeType===9?a.head:a,e.insertBefore(t,e.firstChild))}function Oc(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function Rc(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var Ju=null;function u0(t,e,a){if(Ju===null){var l=new Map,n=Ju=new Map;n.set(a,l)}else n=Ju,l=n.get(a),l||(l=new Map,n.set(a,l));if(l.has(t))return l;for(l.set(t,null),a=a.getElementsByTagName(t),n=0;n<a.length;n++){var u=a[n];if(!(u[Un]||u[ie]||t==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var f=u.getAttribute(e)||"";f=t+f;var d=l.get(f);d?d.push(u):l.set(f,[u])}}return l}function s0(t,e,a){t=t.ownerDocument||t,t.head.insertBefore(a,e==="title"?t.querySelector("head > title"):null)}function Mp(t,e,a){if(a===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function r0(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}var Ei=null;function zp(){}function Cp(t,e,a){if(Ei===null)throw Error(c(475));var l=Ei;if(e.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(e.state.loading&4)===0){if(e.instance===null){var n=pn(a.href),u=t.querySelector(Si(n));if(u){t=u._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(l.count++,l=Fu.bind(l),t.then(l,l)),e.state.loading|=4,e.instance=u,Wt(u);return}u=t.ownerDocument||t,a=n0(a),(n=He.get(n))&&Oc(a,n),u=u.createElement("link"),Wt(u);var f=u;f._p=new Promise(function(d,p){f.onload=d,f.onerror=p}),ae(u,"link",a),e.instance=u}l.stylesheets===null&&(l.stylesheets=new Map),l.stylesheets.set(e,t),(t=e.state.preload)&&(e.state.loading&3)===0&&(l.count++,e=Fu.bind(l),t.addEventListener("load",e),t.addEventListener("error",e))}}function Np(){if(Ei===null)throw Error(c(475));var t=Ei;return t.stylesheets&&t.count===0&&Dc(t,t.stylesheets),0<t.count?function(e){var a=setTimeout(function(){if(t.stylesheets&&Dc(t,t.stylesheets),t.unsuspend){var l=t.unsuspend;t.unsuspend=null,l()}},6e4);return t.unsuspend=e,function(){t.unsuspend=null,clearTimeout(a)}}:null}function Fu(){if(this.count--,this.count===0){if(this.stylesheets)Dc(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Wu=null;function Dc(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Wu=new Map,e.forEach(Op,t),Wu=null,Fu.call(t))}function Op(t,e){if(!(e.state.loading&4)){var a=Wu.get(t);if(a)var l=a.get(null);else{a=new Map,Wu.set(t,a);for(var n=t.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<n.length;u++){var f=n[u];(f.nodeName==="LINK"||f.getAttribute("media")!=="not all")&&(a.set(f.dataset.precedence,f),l=f)}l&&a.set(null,l)}n=e.instance,f=n.getAttribute("data-precedence"),u=a.get(f)||l,u===l&&a.set(null,n),a.set(f,n),this.count++,l=Fu.bind(this),n.addEventListener("load",l),n.addEventListener("error",l),u?u.parentNode.insertBefore(n,u.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(n,t.firstChild)),e.state.loading|=4}}var Ai={$$typeof:X,Provider:null,Consumer:null,_currentValue:L,_currentValue2:L,_threadCount:0};function Rp(t,e,a,l,n,u,f,d){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Cs(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Cs(0),this.hiddenUpdates=Cs(null),this.identifierPrefix=l,this.onUncaughtError=n,this.onCaughtError=u,this.onRecoverableError=f,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=d,this.incompleteTransitions=new Map}function c0(t,e,a,l,n,u,f,d,p,A,D,U){return t=new Rp(t,e,a,f,d,p,A,U),e=1,u===!0&&(e|=24),u=Te(3,null,null,e),t.current=u,u.stateNode=t,e=hr(),e.refCount++,t.pooledCache=e,e.refCount++,u.memoizedState={element:l,isDehydrated:a,cache:e},gr(u),t}function o0(t){return t?(t=Kl,t):Kl}function f0(t,e,a,l,n,u){n=o0(n),l.context===null?l.context=n:l.pendingContext=n,l=Ra(e),l.payload={element:a},u=u===void 0?null:u,u!==null&&(l.callback=u),a=Da(t,l,e),a!==null&&(ze(a,t,e),ti(a,t,e))}function d0(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var a=t.retryLane;t.retryLane=a!==0&&a<e?a:e}}function _c(t,e){d0(t,e),(t=t.alternate)&&d0(t,e)}function h0(t){if(t.tag===13){var e=kl(t,67108864);e!==null&&ze(e,t,67108864),_c(t,67108864)}}var $u=!0;function Dp(t,e,a,l){var n=N.T;N.T=null;var u=B.p;try{B.p=2,jc(t,e,a,l)}finally{B.p=u,N.T=n}}function _p(t,e,a,l){var n=N.T;N.T=null;var u=B.p;try{B.p=8,jc(t,e,a,l)}finally{B.p=u,N.T=n}}function jc(t,e,a,l){if($u){var n=Uc(l);if(n===null)Sc(t,e,l,Pu,a),v0(t,l);else if(Up(n,t,e,a,l))l.stopPropagation();else if(v0(t,l),e&4&&-1<jp.indexOf(t)){for(;n!==null;){var u=jl(n);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var f=ul(u.pendingLanes);if(f!==0){var d=u;for(d.pendingLanes|=2,d.entangledLanes|=2;f;){var p=1<<31-xe(f);d.entanglements[1]|=p,f&=~p}Pe(u),(Et&6)===0&&(Uu=Ke()+500,gi(0))}}break;case 13:d=kl(u,2),d!==null&&ze(d,u,2),Lu(),_c(u,2)}if(u=Uc(l),u===null&&Sc(t,e,l,Pu,a),u===n)break;n=u}n!==null&&l.stopPropagation()}else Sc(t,e,l,null,a)}}function Uc(t){return t=Vs(t),Hc(t)}var Pu=null;function Hc(t){if(Pu=null,t=_l(t),t!==null){var e=h(t);if(e===null)t=null;else{var a=e.tag;if(a===13){if(t=v(e),t!==null)return t;t=null}else if(a===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return Pu=t,null}function m0(t){switch(t){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(bm()){case zo:return 2;case Co:return 8;case Zi:case xm:return 32;case No:return 268435456;default:return 32}default:return 32}}var Lc=!1,Xa=null,ka=null,Ka=null,wi=new Map,Mi=new Map,Ja=[],jp="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function v0(t,e){switch(t){case"focusin":case"focusout":Xa=null;break;case"dragenter":case"dragleave":ka=null;break;case"mouseover":case"mouseout":Ka=null;break;case"pointerover":case"pointerout":wi.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Mi.delete(e.pointerId)}}function zi(t,e,a,l,n,u){return t===null||t.nativeEvent!==u?(t={blockedOn:e,domEventName:a,eventSystemFlags:l,nativeEvent:u,targetContainers:[n]},e!==null&&(e=jl(e),e!==null&&h0(e)),t):(t.eventSystemFlags|=l,e=t.targetContainers,n!==null&&e.indexOf(n)===-1&&e.push(n),t)}function Up(t,e,a,l,n){switch(e){case"focusin":return Xa=zi(Xa,t,e,a,l,n),!0;case"dragenter":return ka=zi(ka,t,e,a,l,n),!0;case"mouseover":return Ka=zi(Ka,t,e,a,l,n),!0;case"pointerover":var u=n.pointerId;return wi.set(u,zi(wi.get(u)||null,t,e,a,l,n)),!0;case"gotpointercapture":return u=n.pointerId,Mi.set(u,zi(Mi.get(u)||null,t,e,a,l,n)),!0}return!1}function p0(t){var e=_l(t.target);if(e!==null){var a=h(e);if(a!==null){if(e=a.tag,e===13){if(e=v(a),e!==null){t.blockedOn=e,Cm(t.priority,function(){if(a.tag===13){var l=Me();l=Ns(l);var n=kl(a,l);n!==null&&ze(n,a,l),_c(a,l)}});return}}else if(e===3&&a.stateNode.current.memoizedState.isDehydrated){t.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Iu(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var a=Uc(t.nativeEvent);if(a===null){a=t.nativeEvent;var l=new a.constructor(a.type,a);qs=l,a.target.dispatchEvent(l),qs=null}else return e=jl(a),e!==null&&h0(e),t.blockedOn=a,!1;e.shift()}return!0}function g0(t,e,a){Iu(t)&&a.delete(e)}function Hp(){Lc=!1,Xa!==null&&Iu(Xa)&&(Xa=null),ka!==null&&Iu(ka)&&(ka=null),Ka!==null&&Iu(Ka)&&(Ka=null),wi.forEach(g0),Mi.forEach(g0)}function ts(t,e){t.blockedOn===e&&(t.blockedOn=null,Lc||(Lc=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Hp)))}var es=null;function y0(t){es!==t&&(es=t,i.unstable_scheduleCallback(i.unstable_NormalPriority,function(){es===t&&(es=null);for(var e=0;e<t.length;e+=3){var a=t[e],l=t[e+1],n=t[e+2];if(typeof l!="function"){if(Hc(l||a)===null)continue;break}var u=jl(a);u!==null&&(t.splice(e,3),e-=3,Hr(u,{pending:!0,data:n,method:a.method,action:l},l,n))}}))}function Ci(t){function e(p){return ts(p,t)}Xa!==null&&ts(Xa,t),ka!==null&&ts(ka,t),Ka!==null&&ts(Ka,t),wi.forEach(e),Mi.forEach(e);for(var a=0;a<Ja.length;a++){var l=Ja[a];l.blockedOn===t&&(l.blockedOn=null)}for(;0<Ja.length&&(a=Ja[0],a.blockedOn===null);)p0(a),a.blockedOn===null&&Ja.shift();if(a=(t.ownerDocument||t).$$reactFormReplay,a!=null)for(l=0;l<a.length;l+=3){var n=a[l],u=a[l+1],f=n[fe]||null;if(typeof u=="function")f||y0(a);else if(f){var d=null;if(u&&u.hasAttribute("formAction")){if(n=u,f=u[fe]||null)d=f.formAction;else if(Hc(n)!==null)continue}else d=f.action;typeof d=="function"?a[l+1]=d:(a.splice(l,3),l-=3),y0(a)}}}function Bc(t){this._internalRoot=t}as.prototype.render=Bc.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(c(409));var a=e.current,l=Me();f0(a,l,t,e,null,null)},as.prototype.unmount=Bc.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;f0(t.current,2,null,t,null,null),Lu(),e[Dl]=null}};function as(t){this._internalRoot=t}as.prototype.unstable_scheduleHydration=function(t){if(t){var e=jo();t={blockedOn:null,target:t,priority:e};for(var a=0;a<Ja.length&&e!==0&&e<Ja[a].priority;a++);Ja.splice(a,0,t),a===0&&p0(t)}};var b0=s.version;if(b0!=="19.1.0")throw Error(c(527,b0,"19.1.0"));B.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(c(188)):(t=Object.keys(t).join(","),Error(c(268,t)));return t=g(e),t=t!==null?w(t):null,t=t===null?null:t.stateNode,t};var Lp={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:N,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"){var ls=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ls.isDisabled&&ls.supportsFiber)try{Dn=ls.inject(Lp),be=ls}catch(t){}}return Ni.createRoot=function(t,e){if(!o(t))throw Error(c(299));var a=!1,l="",n=Ud,u=Hd,f=Ld,d=null;return e!=null&&(e.unstable_strictMode===!0&&(a=!0),e.identifierPrefix!==void 0&&(l=e.identifierPrefix),e.onUncaughtError!==void 0&&(n=e.onUncaughtError),e.onCaughtError!==void 0&&(u=e.onCaughtError),e.onRecoverableError!==void 0&&(f=e.onRecoverableError),e.unstable_transitionCallbacks!==void 0&&(d=e.unstable_transitionCallbacks)),e=c0(t,1,!1,null,null,a,l,n,u,f,d,null),t[Dl]=e.current,xc(t),new Bc(e)},Ni.hydrateRoot=function(t,e,a){if(!o(t))throw Error(c(299));var l=!1,n="",u=Ud,f=Hd,d=Ld,p=null,A=null;return a!=null&&(a.unstable_strictMode===!0&&(l=!0),a.identifierPrefix!==void 0&&(n=a.identifierPrefix),a.onUncaughtError!==void 0&&(u=a.onUncaughtError),a.onCaughtError!==void 0&&(f=a.onCaughtError),a.onRecoverableError!==void 0&&(d=a.onRecoverableError),a.unstable_transitionCallbacks!==void 0&&(p=a.unstable_transitionCallbacks),a.formState!==void 0&&(A=a.formState)),e=c0(t,1,!0,e,a!=null?a:null,l,n,u,f,d,p,A),e.context=o0(null),a=e.current,l=Me(),l=Ns(l),n=Ra(l),n.callback=null,Da(a,n,l),a=l,e.current.lanes=a,jn(e,a),Pe(e),t[Dl]=e.current,xc(t),new as(e)},Ni.version="19.1.0",Ni}var C0;function Eg(){if(C0)return Gc.exports;C0=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(s){console.error(s)}}return i(),Gc.exports=Tg(),Gc.exports}var Ag=Eg();const wg=dg(Ag),Ui=hg.create({baseURL:"https://api.camsodacol.com",timeout:3e4,headers:{"Content-Type":"application/json"}});Ui.interceptors.request.use(i=>{const s=sessionStorage.getItem("user");let r="";return s&&(r=JSON.parse(s).access_token),r&&i.url!=="/users/login"&&(i.headers.Authorization=`Bearer ${r}`),i.data instanceof FormData||(i.headers["Content-Type"]="application/json"),i});Ui.interceptors.response.use(i=>i,i=>{const{response:s}=i;throw s?(s.status===401&&(sessionStorage.clear(),delete Ui.defaults.headers.common.Authorization,window.location.href="/login"),i):(console.error("Network error:",i.message),i)});const Mg=i=>{let c=0;const o=g=>{try{const w=g.split(".");return JSON.parse(atob(w[1])).exp*1e3}catch(w){return 0}},h=(g,w)=>Ie(null,null,function*(){try{const R=(yield Ui.post("/users/refresh-token",{refresh_token:w})).data.access_token;sessionStorage.setItem("user",JSON.stringify(Y(M({},JSON.parse(g)),{access_token:R})))}catch(T){console.error("Error refreshing token:",T),i()}}),v=()=>Ie(null,null,function*(){try{const g=sessionStorage.getItem("user");if(!g)return;const{access_token:w,refresh_token:T}=JSON.parse(g);if(w==null)return;const R=o(w);if(!R)return;const _=Date.now(),Q=R-_;x(0),Q<=0||c>=6e5?i():Q<=6e4&&h(g,T)}catch(g){console.error("Error checking token expiration:",g),i()}}),x=g=>{g==0&&(c=c+6e4),g==1&&(c=0)};return b.useEffect(()=>{["mousemove","keydown","click","scroll"].forEach(w=>window.addEventListener(w,()=>x(1))),setInterval(v,6e4)},[]),null};var Gi=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(i){return this.listeners.add(i),this.onSubscribe(),()=>{this.listeners.delete(i),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},xs=typeof window=="undefined"||"Deno"in globalThis;function Ye(){}function zg(i,s){return typeof i=="function"?i(s):i}function Cg(i){return typeof i=="number"&&i>=0&&i!==1/0}function Ng(i,s){return Math.max(i+(s||0)-Date.now(),0)}function N0(i,s){return typeof i=="function"?i(s):i}function Og(i,s){return typeof i=="function"?i(s):i}function O0(i,s){const{type:r="all",exact:c,fetchStatus:o,predicate:h,queryKey:v,stale:x}=i;if(v){if(c){if(s.queryHash!==ho(v,s.options))return!1}else if(!Hi(s.queryKey,v))return!1}if(r!=="all"){const g=s.isActive();if(r==="active"&&!g||r==="inactive"&&g)return!1}return!(typeof x=="boolean"&&s.isStale()!==x||o&&o!==s.state.fetchStatus||h&&!h(s))}function R0(i,s){const{exact:r,status:c,predicate:o,mutationKey:h}=i;if(h){if(!s.options.mutationKey)return!1;if(r){if(Ol(s.options.mutationKey)!==Ol(h))return!1}else if(!Hi(s.options.mutationKey,h))return!1}return!(c&&s.state.status!==c||o&&!o(s))}function ho(i,s){return((s==null?void 0:s.queryKeyHashFn)||Ol)(i)}function Ol(i){return JSON.stringify(i,(s,r)=>$c(r)?Object.keys(r).sort().reduce((c,o)=>(c[o]=r[o],c),{}):r)}function Hi(i,s){return i===s?!0:typeof i!=typeof s?!1:i&&s&&typeof i=="object"&&typeof s=="object"?Object.keys(s).every(r=>Hi(i[r],s[r])):!1}function Nh(i,s){if(i===s)return i;const r=D0(i)&&D0(s);if(r||$c(i)&&$c(s)){const c=r?i:Object.keys(i),o=c.length,h=r?s:Object.keys(s),v=h.length,x=r?[]:{};let g=0;for(let w=0;w<v;w++){const T=r?w:h[w];(!r&&c.includes(T)||r)&&i[T]===void 0&&s[T]===void 0?(x[T]=void 0,g++):(x[T]=Nh(i[T],s[T]),x[T]===i[T]&&i[T]!==void 0&&g++)}return o===v&&g===o?i:x}return s}function Rg(i,s){if(!s||Object.keys(i).length!==Object.keys(s).length)return!1;for(const r in i)if(i[r]!==s[r])return!1;return!0}function D0(i){return Array.isArray(i)&&i.length===Object.keys(i).length}function $c(i){if(!_0(i))return!1;const s=i.constructor;if(s===void 0)return!0;const r=s.prototype;return!(!_0(r)||!r.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(i)!==Object.prototype)}function _0(i){return Object.prototype.toString.call(i)==="[object Object]"}function Dg(i){return new Promise(s=>{setTimeout(s,i)})}function _g(i,s,r){return typeof r.structuralSharing=="function"?r.structuralSharing(i,s):r.structuralSharing!==!1?Nh(i,s):s}function jg(i,s,r=0){const c=[...i,s];return r&&c.length>r?c.slice(1):c}function Ug(i,s,r=0){const c=[s,...i];return r&&c.length>r?c.slice(0,-1):c}var mo=Symbol();function Oh(i,s){return!i.queryFn&&(s!=null&&s.initialPromise)?()=>s.initialPromise:!i.queryFn||i.queryFn===mo?()=>Promise.reject(new Error(`Missing queryFn: '${i.queryHash}'`)):i.queryFn}var wl,Pa,bn,J0,Hg=(J0=class extends Gi{constructor(){super();vt(this,wl);vt(this,Pa);vt(this,bn);ut(this,bn,s=>{if(!xs&&window.addEventListener){const r=()=>s();return window.addEventListener("visibilitychange",r,!1),()=>{window.removeEventListener("visibilitychange",r)}}})}onSubscribe(){O(this,Pa)||this.setEventListener(O(this,bn))}onUnsubscribe(){var s;this.hasListeners()||((s=O(this,Pa))==null||s.call(this),ut(this,Pa,void 0))}setEventListener(s){var r;ut(this,bn,s),(r=O(this,Pa))==null||r.call(this),ut(this,Pa,s(c=>{typeof c=="boolean"?this.setFocused(c):this.onFocus()}))}setFocused(s){O(this,wl)!==s&&(ut(this,wl,s),this.onFocus())}onFocus(){const s=this.isFocused();this.listeners.forEach(r=>{r(s)})}isFocused(){var s;return typeof O(this,wl)=="boolean"?O(this,wl):((s=globalThis.document)==null?void 0:s.visibilityState)!=="hidden"}},wl=new WeakMap,Pa=new WeakMap,bn=new WeakMap,J0),Rh=new Hg,xn,Ia,Sn,F0,Lg=(F0=class extends Gi{constructor(){super();vt(this,xn,!0);vt(this,Ia);vt(this,Sn);ut(this,Sn,s=>{if(!xs&&window.addEventListener){const r=()=>s(!0),c=()=>s(!1);return window.addEventListener("online",r,!1),window.addEventListener("offline",c,!1),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",c)}}})}onSubscribe(){O(this,Ia)||this.setEventListener(O(this,Sn))}onUnsubscribe(){var s;this.hasListeners()||((s=O(this,Ia))==null||s.call(this),ut(this,Ia,void 0))}setEventListener(s){var r;ut(this,Sn,s),(r=O(this,Ia))==null||r.call(this),ut(this,Ia,s(this.setOnline.bind(this)))}setOnline(s){O(this,xn)!==s&&(ut(this,xn,s),this.listeners.forEach(c=>{c(s)}))}isOnline(){return O(this,xn)}},xn=new WeakMap,Ia=new WeakMap,Sn=new WeakMap,F0),gs=new Lg;function Bg(){let i,s;const r=new Promise((o,h)=>{i=o,s=h});r.status="pending",r.catch(()=>{});function c(o){Object.assign(r,o),delete r.resolve,delete r.reject}return r.resolve=o=>{c({status:"fulfilled",value:o}),i(o)},r.reject=o=>{c({status:"rejected",reason:o}),s(o)},r}function qg(i){return Math.min(1e3*A0(2,i),3e4)}function Dh(i){return(i!=null?i:"online")==="online"?gs.isOnline():!0}var _h=class extends Error{constructor(i){super("CancelledError"),this.revert=i==null?void 0:i.revert,this.silent=i==null?void 0:i.silent}};function Zc(i){return i instanceof _h}function jh(i){let s=!1,r=0,c=!1,o;const h=Bg(),v=H=>{var Z;c||(_(new _h(H)),(Z=i.abort)==null||Z.call(i))},x=()=>{s=!0},g=()=>{s=!1},w=()=>Rh.isFocused()&&(i.networkMode==="always"||gs.isOnline())&&i.canRun(),T=()=>Dh(i.networkMode)&&i.canRun(),R=H=>{var Z;c||(c=!0,(Z=i.onSuccess)==null||Z.call(i,H),o==null||o(),h.resolve(H))},_=H=>{var Z;c||(c=!0,(Z=i.onError)==null||Z.call(i,H),o==null||o(),h.reject(H))},Q=()=>new Promise(H=>{var Z;o=V=>{(c||w())&&H(V)},(Z=i.onPause)==null||Z.call(i)}).then(()=>{var H;o=void 0,c||(H=i.onContinue)==null||H.call(i)}),G=()=>{if(c)return;let H;const Z=r===0?i.initialPromise:void 0;try{H=Z!=null?Z:i.fn()}catch(V){H=Promise.reject(V)}Promise.resolve(H).then(R).catch(V=>{var st,rt,K;if(c)return;const tt=(st=i.retry)!=null?st:xs?0:3,X=(rt=i.retryDelay)!=null?rt:qg,k=typeof X=="function"?X(r,V):X,$=tt===!0||typeof tt=="number"&&r<tt||typeof tt=="function"&&tt(r,V);if(s||!$){_(V);return}r++,(K=i.onFail)==null||K.call(i,r,V),Dg(k).then(()=>w()?void 0:Q()).then(()=>{s?_(V):G()})})};return{promise:h,cancel:v,continue:()=>(o==null||o(),h),cancelRetry:x,continueRetry:g,canStart:T,start:()=>(T()?G():Q().then(G),h)}}var Vg=i=>setTimeout(i,0);function Gg(){let i=[],s=0,r=x=>{x()},c=x=>{x()},o=Vg;const h=x=>{s?i.push(x):o(()=>{r(x)})},v=()=>{const x=i;i=[],x.length&&o(()=>{c(()=>{x.forEach(g=>{r(g)})})})};return{batch:x=>{let g;s++;try{g=x()}finally{s--,s||v()}return g},batchCalls:x=>(...g)=>{h(()=>{x(...g)})},schedule:h,setNotifyFunction:x=>{r=x},setBatchNotifyFunction:x=>{c=x},setScheduler:x=>{o=x}}}var ne=Gg(),Ml,W0,Uh=(W0=class{constructor(){vt(this,Ml)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Cg(this.gcTime)&&ut(this,Ml,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(i){this.gcTime=Math.max(this.gcTime||0,i!=null?i:xs?1/0:5*60*1e3)}clearGcTimeout(){O(this,Ml)&&(clearTimeout(O(this,Ml)),ut(this,Ml,void 0))}},Ml=new WeakMap,W0),Tn,En,Le,zl,se,Bi,Cl,Ze,ba,$0,Qg=($0=class extends Uh{constructor(s){var r;super();vt(this,Ze);vt(this,Tn);vt(this,En);vt(this,Le);vt(this,zl);vt(this,se);vt(this,Bi);vt(this,Cl);ut(this,Cl,!1),ut(this,Bi,s.defaultOptions),this.setOptions(s.options),this.observers=[],ut(this,zl,s.client),ut(this,Le,O(this,zl).getQueryCache()),this.queryKey=s.queryKey,this.queryHash=s.queryHash,ut(this,Tn,Zg(this.options)),this.state=(r=s.state)!=null?r:O(this,Tn),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var s;return(s=O(this,se))==null?void 0:s.promise}setOptions(s){this.options=M(M({},O(this,Bi)),s),this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&O(this,Le).remove(this)}setData(s,r){const c=_g(this.state.data,s,this.options);return Qt(this,Ze,ba).call(this,{data:c,type:"success",dataUpdatedAt:r==null?void 0:r.updatedAt,manual:r==null?void 0:r.manual}),c}setState(s,r){Qt(this,Ze,ba).call(this,{type:"setState",state:s,setStateOptions:r})}cancel(s){var c,o;const r=(c=O(this,se))==null?void 0:c.promise;return(o=O(this,se))==null||o.cancel(s),r?r.then(Ye).catch(Ye):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(O(this,Tn))}isActive(){return this.observers.some(s=>Og(s.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===mo||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(s=>s.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(s=0){return this.state.isInvalidated||this.state.data===void 0||!Ng(this.state.dataUpdatedAt,s)}onFocus(){var r;const s=this.observers.find(c=>c.shouldFetchOnWindowFocus());s==null||s.refetch({cancelRefetch:!1}),(r=O(this,se))==null||r.continue()}onOnline(){var r;const s=this.observers.find(c=>c.shouldFetchOnReconnect());s==null||s.refetch({cancelRefetch:!1}),(r=O(this,se))==null||r.continue()}addObserver(s){this.observers.includes(s)||(this.observers.push(s),this.clearGcTimeout(),O(this,Le).notify({type:"observerAdded",query:this,observer:s}))}removeObserver(s){this.observers.includes(s)&&(this.observers=this.observers.filter(r=>r!==s),this.observers.length||(O(this,se)&&(O(this,Cl)?O(this,se).cancel({revert:!0}):O(this,se).cancelRetry()),this.scheduleGc()),O(this,Le).notify({type:"observerRemoved",query:this,observer:s}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Qt(this,Ze,ba).call(this,{type:"invalidate"})}fetch(s,r){var g,w,T;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(r!=null&&r.cancelRefetch))this.cancel({silent:!0});else if(O(this,se))return O(this,se).continueRetry(),O(this,se).promise}if(s&&this.setOptions(s),!this.options.queryFn){const R=this.observers.find(_=>_.options.queryFn);R&&this.setOptions(R.options)}const c=new AbortController,o=R=>{Object.defineProperty(R,"signal",{enumerable:!0,get:()=>(ut(this,Cl,!0),c.signal)})},h=()=>{const R=Oh(this.options,r),_={client:O(this,zl),queryKey:this.queryKey,meta:this.meta};return o(_),ut(this,Cl,!1),this.options.persister?this.options.persister(R,_,this):R(_)},v={fetchOptions:r,options:this.options,queryKey:this.queryKey,client:O(this,zl),state:this.state,fetchFn:h};o(v),(g=this.options.behavior)==null||g.onFetch(v,this),ut(this,En,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((w=v.fetchOptions)==null?void 0:w.meta))&&Qt(this,Ze,ba).call(this,{type:"fetch",meta:(T=v.fetchOptions)==null?void 0:T.meta});const x=R=>{var _,Q,G,H;Zc(R)&&R.silent||Qt(this,Ze,ba).call(this,{type:"error",error:R}),Zc(R)||((Q=(_=O(this,Le).config).onError)==null||Q.call(_,R,this),(H=(G=O(this,Le).config).onSettled)==null||H.call(G,this.state.data,R,this)),this.scheduleGc()};return ut(this,se,jh({initialPromise:r==null?void 0:r.initialPromise,fn:v.fetchFn,abort:c.abort.bind(c),onSuccess:R=>{var _,Q,G,H;if(R===void 0){x(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(R)}catch(Z){x(Z);return}(Q=(_=O(this,Le).config).onSuccess)==null||Q.call(_,R,this),(H=(G=O(this,Le).config).onSettled)==null||H.call(G,R,this.state.error,this),this.scheduleGc()},onError:x,onFail:(R,_)=>{Qt(this,Ze,ba).call(this,{type:"failed",failureCount:R,error:_})},onPause:()=>{Qt(this,Ze,ba).call(this,{type:"pause"})},onContinue:()=>{Qt(this,Ze,ba).call(this,{type:"continue"})},retry:v.options.retry,retryDelay:v.options.retryDelay,networkMode:v.options.networkMode,canRun:()=>!0})),O(this,se).start()}},Tn=new WeakMap,En=new WeakMap,Le=new WeakMap,zl=new WeakMap,se=new WeakMap,Bi=new WeakMap,Cl=new WeakMap,Ze=new WeakSet,ba=function(s){const r=c=>{var o,h;switch(s.type){case"failed":return Y(M({},c),{fetchFailureCount:s.failureCount,fetchFailureReason:s.error});case"pause":return Y(M({},c),{fetchStatus:"paused"});case"continue":return Y(M({},c),{fetchStatus:"fetching"});case"fetch":return Y(M(M({},c),Yg(c.data,this.options)),{fetchMeta:(o=s.meta)!=null?o:null});case"success":return M(Y(M({},c),{data:s.data,dataUpdateCount:c.dataUpdateCount+1,dataUpdatedAt:(h=s.dataUpdatedAt)!=null?h:Date.now(),error:null,isInvalidated:!1,status:"success"}),!s.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null});case"error":const v=s.error;return Zc(v)&&v.revert&&O(this,En)?Y(M({},O(this,En)),{fetchStatus:"idle"}):Y(M({},c),{error:v,errorUpdateCount:c.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:c.fetchFailureCount+1,fetchFailureReason:v,fetchStatus:"idle",status:"error"});case"invalidate":return Y(M({},c),{isInvalidated:!0});case"setState":return M(M({},c),s.state)}};this.state=r(this.state),ne.batch(()=>{this.observers.forEach(c=>{c.onQueryUpdate()}),O(this,Le).notify({query:this,type:"updated",action:s})})},$0);function Yg(i,s){return M({fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Dh(s.networkMode)?"fetching":"paused"},i===void 0&&{error:null,status:"pending"})}function Zg(i){const s=typeof i.initialData=="function"?i.initialData():i.initialData,r=s!==void 0,c=r?typeof i.initialDataUpdatedAt=="function"?i.initialDataUpdatedAt():i.initialDataUpdatedAt:0;return{data:s,dataUpdateCount:0,dataUpdatedAt:r?c!=null?c:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}var ta,P0,Xg=(P0=class extends Gi{constructor(s={}){super();vt(this,ta);this.config=s,ut(this,ta,new Map)}build(s,r,c){var x;const o=r.queryKey,h=(x=r.queryHash)!=null?x:ho(o,r);let v=this.get(h);return v||(v=new Qg({client:s,queryKey:o,queryHash:h,options:s.defaultQueryOptions(r),state:c,defaultOptions:s.getQueryDefaults(o)}),this.add(v)),v}add(s){O(this,ta).has(s.queryHash)||(O(this,ta).set(s.queryHash,s),this.notify({type:"added",query:s}))}remove(s){const r=O(this,ta).get(s.queryHash);r&&(s.destroy(),r===s&&O(this,ta).delete(s.queryHash),this.notify({type:"removed",query:s}))}clear(){ne.batch(()=>{this.getAll().forEach(s=>{this.remove(s)})})}get(s){return O(this,ta).get(s)}getAll(){return[...O(this,ta).values()]}find(s){const r=M({exact:!0},s);return this.getAll().find(c=>O0(r,c))}findAll(s={}){const r=this.getAll();return Object.keys(s).length>0?r.filter(c=>O0(s,c)):r}notify(s){ne.batch(()=>{this.listeners.forEach(r=>{r(s)})})}onFocus(){ne.batch(()=>{this.getAll().forEach(s=>{s.onFocus()})})}onOnline(){ne.batch(()=>{this.getAll().forEach(s=>{s.onOnline()})})}},ta=new WeakMap,P0),ea,ce,Nl,aa,$a,I0,kg=(I0=class extends Uh{constructor(s){super();vt(this,aa);vt(this,ea);vt(this,ce);vt(this,Nl);this.mutationId=s.mutationId,ut(this,ce,s.mutationCache),ut(this,ea,[]),this.state=s.state||Hh(),this.setOptions(s.options),this.scheduleGc()}setOptions(s){this.options=s,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(s){O(this,ea).includes(s)||(O(this,ea).push(s),this.clearGcTimeout(),O(this,ce).notify({type:"observerAdded",mutation:this,observer:s}))}removeObserver(s){ut(this,ea,O(this,ea).filter(r=>r!==s)),this.scheduleGc(),O(this,ce).notify({type:"observerRemoved",mutation:this,observer:s})}optionalRemove(){O(this,ea).length||(this.state.status==="pending"?this.scheduleGc():O(this,ce).remove(this))}continue(){var s,r;return(r=(s=O(this,Nl))==null?void 0:s.continue())!=null?r:this.execute(this.state.variables)}execute(s){return Ie(this,null,function*(){var h,v,x,g,w,T,R,_,Q,G,H,Z,V,tt,X,k,$,st,rt,K,Ct;const r=()=>{Qt(this,aa,$a).call(this,{type:"continue"})};ut(this,Nl,jh({fn:()=>this.options.mutationFn?this.options.mutationFn(s):Promise.reject(new Error("No mutationFn found")),onFail:(yt,qt)=>{Qt(this,aa,$a).call(this,{type:"failed",failureCount:yt,error:qt})},onPause:()=>{Qt(this,aa,$a).call(this,{type:"pause"})},onContinue:r,retry:(h=this.options.retry)!=null?h:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>O(this,ce).canRun(this)}));const c=this.state.status==="pending",o=!O(this,Nl).canStart();try{if(c)r();else{Qt(this,aa,$a).call(this,{type:"pending",variables:s,isPaused:o}),yield(x=(v=O(this,ce).config).onMutate)==null?void 0:x.call(v,s,this);const qt=yield(w=(g=this.options).onMutate)==null?void 0:w.call(g,s);qt!==this.state.context&&Qt(this,aa,$a).call(this,{type:"pending",context:qt,variables:s,isPaused:o})}const yt=yield O(this,Nl).start();return yield(R=(T=O(this,ce).config).onSuccess)==null?void 0:R.call(T,yt,s,this.state.context,this),yield(Q=(_=this.options).onSuccess)==null?void 0:Q.call(_,yt,s,this.state.context),yield(H=(G=O(this,ce).config).onSettled)==null?void 0:H.call(G,yt,null,this.state.variables,this.state.context,this),yield(V=(Z=this.options).onSettled)==null?void 0:V.call(Z,yt,null,s,this.state.context),Qt(this,aa,$a).call(this,{type:"success",data:yt}),yt}catch(yt){try{throw yield(X=(tt=O(this,ce).config).onError)==null?void 0:X.call(tt,yt,s,this.state.context,this),yield($=(k=this.options).onError)==null?void 0:$.call(k,yt,s,this.state.context),yield(rt=(st=O(this,ce).config).onSettled)==null?void 0:rt.call(st,void 0,yt,this.state.variables,this.state.context,this),yield(Ct=(K=this.options).onSettled)==null?void 0:Ct.call(K,void 0,yt,s,this.state.context),yt}finally{Qt(this,aa,$a).call(this,{type:"error",error:yt})}}finally{O(this,ce).runNext(this)}})}},ea=new WeakMap,ce=new WeakMap,Nl=new WeakMap,aa=new WeakSet,$a=function(s){const r=c=>{switch(s.type){case"failed":return Y(M({},c),{failureCount:s.failureCount,failureReason:s.error});case"pause":return Y(M({},c),{isPaused:!0});case"continue":return Y(M({},c),{isPaused:!1});case"pending":return Y(M({},c),{context:s.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:s.isPaused,status:"pending",variables:s.variables,submittedAt:Date.now()});case"success":return Y(M({},c),{data:s.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1});case"error":return Y(M({},c),{data:void 0,error:s.error,failureCount:c.failureCount+1,failureReason:s.error,isPaused:!1,status:"error"})}};this.state=r(this.state),ne.batch(()=>{O(this,ea).forEach(c=>{c.onMutationUpdate(s)}),O(this,ce).notify({mutation:this,type:"updated",action:s})})},I0);function Hh(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var xa,Xe,qi,th,Kg=(th=class extends Gi{constructor(s={}){super();vt(this,xa);vt(this,Xe);vt(this,qi);this.config=s,ut(this,xa,new Set),ut(this,Xe,new Map),ut(this,qi,0)}build(s,r,c){const o=new kg({mutationCache:this,mutationId:++is(this,qi)._,options:s.defaultMutationOptions(r),state:c});return this.add(o),o}add(s){O(this,xa).add(s);const r=us(s);if(typeof r=="string"){const c=O(this,Xe).get(r);c?c.push(s):O(this,Xe).set(r,[s])}this.notify({type:"added",mutation:s})}remove(s){if(O(this,xa).delete(s)){const r=us(s);if(typeof r=="string"){const c=O(this,Xe).get(r);if(c)if(c.length>1){const o=c.indexOf(s);o!==-1&&c.splice(o,1)}else c[0]===s&&O(this,Xe).delete(r)}}this.notify({type:"removed",mutation:s})}canRun(s){const r=us(s);if(typeof r=="string"){const c=O(this,Xe).get(r),o=c==null?void 0:c.find(h=>h.state.status==="pending");return!o||o===s}else return!0}runNext(s){var c,o;const r=us(s);if(typeof r=="string"){const h=(c=O(this,Xe).get(r))==null?void 0:c.find(v=>v!==s&&v.state.isPaused);return(o=h==null?void 0:h.continue())!=null?o:Promise.resolve()}else return Promise.resolve()}clear(){ne.batch(()=>{O(this,xa).forEach(s=>{this.notify({type:"removed",mutation:s})}),O(this,xa).clear(),O(this,Xe).clear()})}getAll(){return Array.from(O(this,xa))}find(s){const r=M({exact:!0},s);return this.getAll().find(c=>R0(r,c))}findAll(s={}){return this.getAll().filter(r=>R0(s,r))}notify(s){ne.batch(()=>{this.listeners.forEach(r=>{r(s)})})}resumePausedMutations(){const s=this.getAll().filter(r=>r.state.isPaused);return ne.batch(()=>Promise.all(s.map(r=>r.continue().catch(Ye))))}},xa=new WeakMap,Xe=new WeakMap,qi=new WeakMap,th);function us(i){var s;return(s=i.options.scope)==null?void 0:s.id}function j0(i){return{onFetch:(s,r)=>{var T,R,_,Q,G;const c=s.options,o=(_=(R=(T=s.fetchOptions)==null?void 0:T.meta)==null?void 0:R.fetchMore)==null?void 0:_.direction,h=((Q=s.state.data)==null?void 0:Q.pages)||[],v=((G=s.state.data)==null?void 0:G.pageParams)||[];let x={pages:[],pageParams:[]},g=0;const w=()=>Ie(null,null,function*(){var X;let H=!1;const Z=k=>{Object.defineProperty(k,"signal",{enumerable:!0,get:()=>(s.signal.aborted?H=!0:s.signal.addEventListener("abort",()=>{H=!0}),s.signal)})},V=Oh(s.options,s.fetchOptions),tt=(k,$,st)=>Ie(null,null,function*(){if(H)return Promise.reject();if($==null&&k.pages.length)return Promise.resolve(k);const rt={client:s.client,queryKey:s.queryKey,pageParam:$,direction:st?"backward":"forward",meta:s.options.meta};Z(rt);const K=yield V(rt),{maxPages:Ct}=s.options,yt=st?Ug:jg;return{pages:yt(k.pages,K,Ct),pageParams:yt(k.pageParams,$,Ct)}});if(o&&h.length){const k=o==="backward",$=k?Jg:U0,st={pages:h,pageParams:v},rt=$(c,st);x=yield tt(st,rt,k)}else{const k=i!=null?i:h.length;do{const $=g===0?(X=v[0])!=null?X:c.initialPageParam:U0(c,x);if(g>0&&$==null)break;x=yield tt(x,$),g++}while(g<k)}return x});s.options.persister?s.fetchFn=()=>{var H,Z;return(Z=(H=s.options).persister)==null?void 0:Z.call(H,w,{client:s.client,queryKey:s.queryKey,meta:s.options.meta,signal:s.signal},r)}:s.fetchFn=w}}}function U0(i,{pages:s,pageParams:r}){const c=s.length-1;return s.length>0?i.getNextPageParam(s[c],s,r[c],r):void 0}function Jg(i,{pages:s,pageParams:r}){var c;return s.length>0?(c=i.getPreviousPageParam)==null?void 0:c.call(i,s[0],s,r[0],r):void 0}var Bt,tl,el,An,wn,al,Mn,zn,eh,Fg=(eh=class{constructor(i={}){vt(this,Bt);vt(this,tl);vt(this,el);vt(this,An);vt(this,wn);vt(this,al);vt(this,Mn);vt(this,zn);ut(this,Bt,i.queryCache||new Xg),ut(this,tl,i.mutationCache||new Kg),ut(this,el,i.defaultOptions||{}),ut(this,An,new Map),ut(this,wn,new Map),ut(this,al,0)}mount(){is(this,al)._++,O(this,al)===1&&(ut(this,Mn,Rh.subscribe(i=>Ie(this,null,function*(){i&&(yield this.resumePausedMutations(),O(this,Bt).onFocus())}))),ut(this,zn,gs.subscribe(i=>Ie(this,null,function*(){i&&(yield this.resumePausedMutations(),O(this,Bt).onOnline())}))))}unmount(){var i,s;is(this,al)._--,O(this,al)===0&&((i=O(this,Mn))==null||i.call(this),ut(this,Mn,void 0),(s=O(this,zn))==null||s.call(this),ut(this,zn,void 0))}isFetching(i){return O(this,Bt).findAll(Y(M({},i),{fetchStatus:"fetching"})).length}isMutating(i){return O(this,tl).findAll(Y(M({},i),{status:"pending"})).length}getQueryData(i){var r;const s=this.defaultQueryOptions({queryKey:i});return(r=O(this,Bt).get(s.queryHash))==null?void 0:r.state.data}ensureQueryData(i){const s=this.defaultQueryOptions(i),r=O(this,Bt).build(this,s),c=r.state.data;return c===void 0?this.fetchQuery(i):(i.revalidateIfStale&&r.isStaleByTime(N0(s.staleTime,r))&&this.prefetchQuery(s),Promise.resolve(c))}getQueriesData(i){return O(this,Bt).findAll(i).map(({queryKey:s,state:r})=>{const c=r.data;return[s,c]})}setQueryData(i,s,r){const c=this.defaultQueryOptions({queryKey:i}),o=O(this,Bt).get(c.queryHash),h=o==null?void 0:o.state.data,v=zg(s,h);if(v!==void 0)return O(this,Bt).build(this,c).setData(v,Y(M({},r),{manual:!0}))}setQueriesData(i,s,r){return ne.batch(()=>O(this,Bt).findAll(i).map(({queryKey:c})=>[c,this.setQueryData(c,s,r)]))}getQueryState(i){var r;const s=this.defaultQueryOptions({queryKey:i});return(r=O(this,Bt).get(s.queryHash))==null?void 0:r.state}removeQueries(i){const s=O(this,Bt);ne.batch(()=>{s.findAll(i).forEach(r=>{s.remove(r)})})}resetQueries(i,s){const r=O(this,Bt);return ne.batch(()=>(r.findAll(i).forEach(c=>{c.reset()}),this.refetchQueries(M({type:"active"},i),s)))}cancelQueries(i,s={}){const r=M({revert:!0},s),c=ne.batch(()=>O(this,Bt).findAll(i).map(o=>o.cancel(r)));return Promise.all(c).then(Ye).catch(Ye)}invalidateQueries(i,s={}){return ne.batch(()=>{var r,c;return O(this,Bt).findAll(i).forEach(o=>{o.invalidate()}),(i==null?void 0:i.refetchType)==="none"?Promise.resolve():this.refetchQueries(Y(M({},i),{type:(c=(r=i==null?void 0:i.refetchType)!=null?r:i==null?void 0:i.type)!=null?c:"active"}),s)})}refetchQueries(i,s={}){var o;const r=Y(M({},s),{cancelRefetch:(o=s.cancelRefetch)!=null?o:!0}),c=ne.batch(()=>O(this,Bt).findAll(i).filter(h=>!h.isDisabled()).map(h=>{let v=h.fetch(void 0,r);return r.throwOnError||(v=v.catch(Ye)),h.state.fetchStatus==="paused"?Promise.resolve():v}));return Promise.all(c).then(Ye)}fetchQuery(i){const s=this.defaultQueryOptions(i);s.retry===void 0&&(s.retry=!1);const r=O(this,Bt).build(this,s);return r.isStaleByTime(N0(s.staleTime,r))?r.fetch(s):Promise.resolve(r.state.data)}prefetchQuery(i){return this.fetchQuery(i).then(Ye).catch(Ye)}fetchInfiniteQuery(i){return i.behavior=j0(i.pages),this.fetchQuery(i)}prefetchInfiniteQuery(i){return this.fetchInfiniteQuery(i).then(Ye).catch(Ye)}ensureInfiniteQueryData(i){return i.behavior=j0(i.pages),this.ensureQueryData(i)}resumePausedMutations(){return gs.isOnline()?O(this,tl).resumePausedMutations():Promise.resolve()}getQueryCache(){return O(this,Bt)}getMutationCache(){return O(this,tl)}getDefaultOptions(){return O(this,el)}setDefaultOptions(i){ut(this,el,i)}setQueryDefaults(i,s){O(this,An).set(Ol(i),{queryKey:i,defaultOptions:s})}getQueryDefaults(i){const s=[...O(this,An).values()],r={};return s.forEach(c=>{Hi(i,c.queryKey)&&Object.assign(r,c.defaultOptions)}),r}setMutationDefaults(i,s){O(this,wn).set(Ol(i),{mutationKey:i,defaultOptions:s})}getMutationDefaults(i){const s=[...O(this,wn).values()],r={};return s.forEach(c=>{Hi(i,c.mutationKey)&&Object.assign(r,c.defaultOptions)}),r}defaultQueryOptions(i){if(i._defaulted)return i;const s=Y(M(M(M({},O(this,el).queries),this.getQueryDefaults(i.queryKey)),i),{_defaulted:!0});return s.queryHash||(s.queryHash=ho(s.queryKey,s)),s.refetchOnReconnect===void 0&&(s.refetchOnReconnect=s.networkMode!=="always"),s.throwOnError===void 0&&(s.throwOnError=!!s.suspense),!s.networkMode&&s.persister&&(s.networkMode="offlineFirst"),s.queryFn===mo&&(s.enabled=!1),s}defaultMutationOptions(i){return i!=null&&i._defaulted?i:Y(M(M(M({},O(this,el).mutations),(i==null?void 0:i.mutationKey)&&this.getMutationDefaults(i.mutationKey)),i),{_defaulted:!0})}clear(){O(this,Bt).clear(),O(this,tl).clear()}},Bt=new WeakMap,tl=new WeakMap,el=new WeakMap,An=new WeakMap,wn=new WeakMap,al=new WeakMap,Mn=new WeakMap,zn=new WeakMap,eh),ll,nl,ge,Sa,Ta,fs,Pc,ah,Wg=(ah=class extends Gi{constructor(r,c){super();vt(this,Ta);vt(this,ll);vt(this,nl);vt(this,ge);vt(this,Sa);ut(this,ll,r),this.setOptions(c),this.bindMethods(),Qt(this,Ta,fs).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(r){var o;const c=this.options;this.options=O(this,ll).defaultMutationOptions(r),Rg(this.options,c)||O(this,ll).getMutationCache().notify({type:"observerOptionsUpdated",mutation:O(this,ge),observer:this}),c!=null&&c.mutationKey&&this.options.mutationKey&&Ol(c.mutationKey)!==Ol(this.options.mutationKey)?this.reset():((o=O(this,ge))==null?void 0:o.state.status)==="pending"&&O(this,ge).setOptions(this.options)}onUnsubscribe(){var r;this.hasListeners()||(r=O(this,ge))==null||r.removeObserver(this)}onMutationUpdate(r){Qt(this,Ta,fs).call(this),Qt(this,Ta,Pc).call(this,r)}getCurrentResult(){return O(this,nl)}reset(){var r;(r=O(this,ge))==null||r.removeObserver(this),ut(this,ge,void 0),Qt(this,Ta,fs).call(this),Qt(this,Ta,Pc).call(this)}mutate(r,c){var o;return ut(this,Sa,c),(o=O(this,ge))==null||o.removeObserver(this),ut(this,ge,O(this,ll).getMutationCache().build(O(this,ll),this.options)),O(this,ge).addObserver(this),O(this,ge).execute(r)}},ll=new WeakMap,nl=new WeakMap,ge=new WeakMap,Sa=new WeakMap,Ta=new WeakSet,fs=function(){var c,o;const r=(o=(c=O(this,ge))==null?void 0:c.state)!=null?o:Hh();ut(this,nl,Y(M({},r),{isPending:r.status==="pending",isSuccess:r.status==="success",isError:r.status==="error",isIdle:r.status==="idle",mutate:this.mutate,reset:this.reset}))},Pc=function(r){ne.batch(()=>{var c,o,h,v,x,g,w,T;if(O(this,Sa)&&this.hasListeners()){const R=O(this,nl).variables,_=O(this,nl).context;(r==null?void 0:r.type)==="success"?((o=(c=O(this,Sa)).onSuccess)==null||o.call(c,r.data,R,_),(v=(h=O(this,Sa)).onSettled)==null||v.call(h,r.data,null,R,_)):(r==null?void 0:r.type)==="error"&&((g=(x=O(this,Sa)).onError)==null||g.call(x,r.error,R,_),(T=(w=O(this,Sa)).onSettled)==null||T.call(w,void 0,r.error,R,_))}this.listeners.forEach(R=>{R(O(this,nl))})})},ah),Lh=b.createContext(void 0),Bh=i=>{const s=b.useContext(Lh);if(!s)throw new Error("No QueryClient set, use QueryClientProvider to set one");return s},$g=({client:i,children:s})=>(b.useEffect(()=>(i.mount(),()=>{i.unmount()}),[i]),m.jsx(Lh.Provider,{value:i,children:s}));function Pg(i,s){return typeof i=="function"?i(...s):!!i}function Ig(){}function t3(i,s){const r=Bh(),[c]=b.useState(()=>new Wg(r,i));b.useEffect(()=>{c.setOptions(i)},[c,i]);const o=b.useSyncExternalStore(b.useCallback(v=>c.subscribe(ne.batchCalls(v)),[c]),()=>c.getCurrentResult(),()=>c.getCurrentResult()),h=b.useCallback((v,x)=>{c.mutate(v,x).catch(Ig)},[c]);if(o.error&&Pg(c.options.throwOnError,[o.error]))throw o.error;return Y(M({},o),{mutate:h,mutateAsync:o.mutate})}const qh=b.createContext(void 0),e3=({children:i})=>{const[s,r]=b.useState(()=>{const g=sessionStorage.getItem("user");try{return g?JSON.parse(g):null}catch(w){return console.error("Error parsing user from sessionStorage"),null}}),c=Ah(),o=Bh(),h=t3({mutationFn:T=>Ie(null,[T],function*({email:g,password:w}){const{data:R}=yield Ui.post("/users/login",{email:g,password:w});return console.log(R.access_token),R}),onSuccess:g=>{r(g),sessionStorage.setItem("user",JSON.stringify(g)),localStorage.setItem("logout","false"),g.role==="admin"?c("/admin/dashboard"):g.role==="visitor"?c("/visitor"):c("/profile")},onError:g=>{console.error(g),alert("Login failed")}}),v=(g,w)=>Ie(null,null,function*(){yield h.mutateAsync({email:g,password:w})}),x=()=>{r(null),sessionStorage.removeItem("user"),sessionStorage.clear(),localStorage.setItem("logout","true"),o.clear(),c("/login")};return window.addEventListener("storage",g=>{g.key==="logout"&&g.newValue==="true"&&(sessionStorage.clear(),localStorage.clear(),r(null),o.clear(),c("/login"))}),Mg(x),m.jsx(qh.Provider,{value:{user:s,login:v,logout:x},children:i})},Vh=()=>{const i=b.useContext(qh);if(!i)throw new Error("useAuth must be used within an AuthProvider");return i},a3=({component:i,roles:s=[],permissions:r=[]})=>{const{user:c}=Vh(),o=Ah();return b.useEffect(()=>{if(!c){console.log("este es el que me esta sacando",c),o("/login",{replace:!0});return}if(s.length===0&&r.length===0)return;const h=r.length===0||r.every(x=>c.permissions.includes(x)),v=s.length===0||s.includes(c.role);(!h||!v)&&o("/403",{replace:!0})},[c,s,r,o]),c?m.jsx(i,{}):null},l3="modulepreload",n3=function(i){return"/"+i},H0={},pe=function(s,r,c){let o=Promise.resolve();if(r&&r.length>0){let g=function(w){return Promise.all(w.map(T=>Promise.resolve(T).then(R=>({status:"fulfilled",value:R}),R=>({status:"rejected",reason:R}))))};document.getElementsByTagName("link");const v=document.querySelector("meta[property=csp-nonce]"),x=(v==null?void 0:v.nonce)||(v==null?void 0:v.getAttribute("nonce"));o=g(r.map(w=>{if(w=n3(w),w in H0)return;H0[w]=!0;const T=w.endsWith(".css"),R=T?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${w}"]${R}`))return;const _=document.createElement("link");if(_.rel=T?"stylesheet":l3,T||(_.as="script"),_.crossOrigin="",_.href=w,x&&_.setAttribute("nonce",x),document.head.appendChild(_),T)return new Promise((Q,G)=>{_.addEventListener("load",Q),_.addEventListener("error",()=>G(new Error(`Unable to preload CSS for ${w}`)))})}))}function h(v){const x=new Event("vite:preloadError",{cancelable:!0});if(x.payload=v,window.dispatchEvent(x),!x.defaultPrevented)throw v}return o.then(v=>{for(const x of v||[])x.status==="rejected"&&h(x.reason);return s().catch(h)})},L0=[{path:"login",component:b.lazy(()=>pe(()=>import("./page-login-Pizj3Ysu.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]))),label:"Login",layout:"PublicLayout",showInMenu:!1},{path:"",component:b.lazy(()=>pe(()=>import("./Home-qYjiubyc.js"),__vite__mapDeps([9,1,2,3,10]))),label:"Home",layout:"PublicLayout",showInMenu:!1},{path:"home",component:b.lazy(()=>pe(()=>import("./Home-qYjiubyc.js"),__vite__mapDeps([9,1,2,3,10]))),label:"Home",layout:"PublicLayout",showInMenu:!1},{path:"dashboard",component:b.lazy(()=>pe(()=>import("./admin-dashboard-D4DX7xts.js"),__vite__mapDeps([11,1,2,3,12,7,13,8,14,4]))),label:"Admin Dashboard",roles:["user","admin"],layout:"AdminLayout",showInMenu:!0},{path:"entailment/studios",component:b.lazy(()=>pe(()=>import("./page-studios-list-j_05_H7a.js"),__vite__mapDeps([15,1,2,3,16,17,18,8,19,6,20,12,7,13,4]))),label:"Studios List",roles:["user","admin"],layout:"AdminLayout",showInMenu:!0},{path:"entailment/studios/create",component:b.lazy(()=>pe(()=>import("./page-studios-create-DWaLqpS4.js"),__vite__mapDeps([21,1,2,3,22,16,5,6,4,8,20,23,13,24,25,17,26,7]))),label:"Studios Create",roles:["user","admin"],layout:"AdminLayout",showInMenu:!0},{path:"entailment/studios/:id",component:b.lazy(()=>pe(()=>import("./page-studios-update-CcjuUTpe.js"),__vite__mapDeps([27,1,2,3,26,4,5,6,16,17,22,8,7,20,23,13,24,25,28]))),label:"Studios Update",roles:["user","admin"],layout:"AdminLayout",showInMenu:!0},{path:"administration/accounts/list",component:b.lazy(()=>pe(()=>import("./accounts-list-page-DWoDpep6.js"),__vite__mapDeps([29,1,2,3,14,8,7,13,12,4]))),label:"Accounts List",roles:["user","admin"],layout:"AdminLayout",showInMenu:!0},{path:"administration/masters",component:b.lazy(()=>pe(()=>import("./page-masters-list-zGhEof7j.js"),__vite__mapDeps([30,1,2,3,31,18,8,32,16,33,19,6,20,12,7,13,4]))),label:"Masters List",roles:["user","admin"],layout:"AdminLayout",showInMenu:!0},{path:"administration/masters/create",component:b.lazy(()=>pe(()=>import("./page-masters-create-CTFdOJEw.js"),__vite__mapDeps([34,1,2,3,22,16,5,6,4,8,20,23,13,35,25,28,24,33,7]))),label:"Create Master",roles:["user","admin"],layout:"AdminLayout",showInMenu:!0},{path:"administration/masters/:id",component:b.lazy(()=>pe(()=>import("./page-masters-update-DfXcgVsL.js"),__vite__mapDeps([36,1,2,3,22,16,5,6,4,8,20,23,13,35,25,33,32,28,24,7]))),label:"Update Master",roles:["user","admin"],layout:"AdminLayout",showInMenu:!1},{path:"administration/users",component:b.lazy(()=>pe(()=>import("./page-users-list-BSZ98dPN.js"),__vite__mapDeps([37,1,2,3,22,16,5,6,4,8,19,20,23,18,12,13]))),label:"Users List",roles:["user","admin"],layout:"AdminLayout",showInMenu:!0},{path:"settings/roles",component:b.lazy(()=>pe(()=>import("./page-roles-list-CKjOYV_Y.js"),__vite__mapDeps([38,1,2,3,31,18,8,16,25,12,7,13,4]))),label:"Sub Masters List",roles:["user","admin"],layout:"AdminLayout",showInMenu:!0},{path:"settings/roles/permissions/:roleName",component:b.lazy(()=>pe(()=>import("./page-permissions-update-CwGM2kFJ.js"),__vite__mapDeps([39,1,2,3,16,25,12,7,23,4,8]))),label:"Permisos",roles:["user","admin"],layout:"AdminLayout",showInMenu:!1}],Gh=b.memo(()=>m.jsx("div",{className:"flex h-screen w-full items-center justify-center",children:m.jsx("div",{className:"h-12 w-12 animate-spin rounded-full border-b-2 border-blue-600"})}));Gh.displayName="LazyLoading";class i3 extends wh.Component{constructor(s){super(s),this.state={hasError:!1}}static getDerivedStateFromError(s){return{hasError:!0,error:s}}componentDidCatch(s,r){console.error("Navigation Error:",s,r)}render(){return this.state.hasError?this.props.fallback||m.jsx("div",{className:"flex h-screen items-center justify-center",children:m.jsxs("div",{className:"text-center",children:[m.jsx("h2",{className:"text-xl font-semibold mb-4",children:"Algo salió mal"}),m.jsx("p",{className:"text-gray-600 mb-4",children:"Ha ocurrido un error al cargar la página."}),m.jsx("button",{onClick:()=>window.location.reload(),className:"bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded",children:"Recargar página"})]})}):this.props.children}}function u3(i){return Ot({attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M888 784H664c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h224c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM373.5 510.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 0 1-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.9-1.7-203.3 89.2-203.3 199.9 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 0 0 8 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.9-1 6.5-4.7 6-8.7zM824 484c0-109.4-87.9-198.3-196.9-200C516.3 282.3 424 373.2 424 484c0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 0 0-86.4 60.4C357 754.6 326 826.8 324 903.8a8 8 0 0 0 8 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5C505.8 707.7 563 684 624 684c110.4 0 200-89.5 200-200zm-109.5 90.5C690.3 598.7 658.2 612 624 612s-66.3-13.3-90.5-37.5a127.26 127.26 0 0 1-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4-.1 34.2-13.4 66.3-37.6 90.5z"},child:[]}]})(i)}function s3(i){return Ot({attr:{viewBox:"0 0 24 24"},child:[{tag:"circle",attr:{cx:"6",cy:"4",r:"2"},child:[]},{tag:"path",attr:{d:"M9 7H3a1 1 0 0 0-1 1v7h2v7h4v-7h2V8a1 1 0 0 0-1-1z"},child:[]},{tag:"circle",attr:{cx:"17",cy:"4",r:"2"},child:[]},{tag:"path",attr:{d:"M20.21 7.73a1 1 0 0 0-1-.73h-4.5a1 1 0 0 0-1 .73L12 14h2l-1 4h2v4h4v-4h2l-1-4h2z"},child:[]}]})(i)}function r3(i){return Ot({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M2.047 14.668a.994.994 0 0 0 .465.607l1.91 1.104v2.199a1 1 0 0 0 1 1h2.199l1.104 1.91a1.01 1.01 0 0 0 .866.5c.174 0 .347-.046.501-.135L12 20.75l1.91 1.104a1.001 1.001 0 0 0 1.366-.365l1.103-1.91h2.199a1 1 0 0 0 1-1V16.38l1.91-1.104a1 1 0 0 0 .365-1.367L20.75 12l1.104-1.908a1 1 0 0 0-.365-1.366l-1.91-1.104v-2.2a1 1 0 0 0-1-1H16.38l-1.103-1.909a1.008 1.008 0 0 0-.607-.466.993.993 0 0 0-.759.1L12 3.25l-1.909-1.104a1 1 0 0 0-1.366.365l-1.104 1.91H5.422a1 1 0 0 0-1 1V7.62l-1.91 1.104a1.003 1.003 0 0 0-.365 1.368L3.251 12l-1.104 1.908a1.009 1.009 0 0 0-.1.76zM12 13c-3.48 0-4-1.879-4-3 0-1.287 1.029-2.583 3-2.915V6.012h2v1.109c1.734.41 2.4 1.853 2.4 2.879h-1l-1 .018C13.386 9.638 13.185 9 12 9c-1.299 0-2 .515-2 1 0 .374 0 1 2 1 3.48 0 4 1.879 4 3 0 1.287-1.029 2.583-3 2.915V18h-2v-1.08c-2.339-.367-3-2.003-3-2.92h2c.011.143.159 1 2 1 1.38 0 2-.585 2-1 0-.325 0-1-2-1z"},child:[]}]})(i)}function c3(i){return Ot({attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M2 1a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v7.256A4.5 4.5 0 0 0 12.5 8a4.5 4.5 0 0 0-3.59 1.787A.5.5 0 0 0 9 9.5v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .39-.187A4.5 4.5 0 0 0 8.027 12H6.5a.5.5 0 0 0-.5.5V16H3a1 1 0 0 1-1-1zm2 1.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5m3 0v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5m3.5-.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5zM4 5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5M7.5 5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5zm2.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5M4.5 8a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5z"},child:[]},{tag:"path",attr:{d:"M11.886 9.46c.18-.613 1.048-.613 1.229 0l.043.148a.64.64 0 0 0 .921.382l.136-.074c.561-.306 1.175.308.87.869l-.075.136a.64.64 0 0 0 .382.92l.149.045c.612.18.612 1.048 0 1.229l-.15.043a.64.64 0 0 0-.38.921l.074.136c.305.561-.309 1.175-.87.87l-.136-.075a.64.64 0 0 0-.92.382l-.045.149c-.18.612-1.048.612-1.229 0l-.043-.15a.64.64 0 0 0-.921-.38l-.136.074c-.561.305-1.175-.309-.87-.87l.075-.136a.64.64 0 0 0-.382-.92l-.148-.045c-.613-.18-.613-1.048 0-1.229l.148-.043a.64.64 0 0 0 .382-.921l-.074-.136c-.306-.561.308-1.175.869-.87l.136.075a.64.64 0 0 0 .92-.382zM14 12.5a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0"},child:[]}]})(i)}function o3(i){return Ot({attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M11 5a3 3 0 1 1-6 0 3 3 0 0 1 6 0m-9 8c0 1 1 1 1 1h5.256A4.5 4.5 0 0 1 8 12.5a4.5 4.5 0 0 1 1.544-3.393Q8.844 9.002 8 9c-5 0-6 3-6 4m9.886-3.54c.18-.613 1.048-.613 1.229 0l.043.148a.64.64 0 0 0 .921.382l.136-.074c.561-.306 1.175.308.87.869l-.075.136a.64.64 0 0 0 .382.92l.149.045c.612.18.612 1.048 0 1.229l-.15.043a.64.64 0 0 0-.38.921l.074.136c.305.561-.309 1.175-.87.87l-.136-.075a.64.64 0 0 0-.92.382l-.045.149c-.18.612-1.048.612-1.229 0l-.043-.15a.64.64 0 0 0-.921-.38l-.136.074c-.561.305-1.175-.309-.87-.87l.075-.136a.64.64 0 0 0-.382-.92l-.148-.045c-.613-.18-.613-1.048 0-1.229l.148-.043a.64.64 0 0 0 .382-.921l-.074-.136c-.306-.561.308-1.175.869-.87l.136.075a.64.64 0 0 0 .92-.382zM14 12.5a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0"},child:[]}]})(i)}function f3(i){return Ot({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M12.41 148.02l232.94 105.67c6.8 3.09 14.49 3.09 21.29 0l232.94-105.67c16.55-7.51 16.55-32.52 0-40.03L266.65 2.31a25.607 25.607 0 0 0-21.29 0L12.41 107.98c-16.55 7.51-16.55 32.53 0 40.04zm487.18 88.28l-58.09-26.33-161.64 73.27c-7.56 3.43-15.59 5.17-23.86 5.17s-16.29-1.74-23.86-5.17L70.51 209.97l-58.1 26.33c-16.55 7.5-16.55 32.5 0 40l232.94 105.59c6.8 3.08 14.49 3.08 21.29 0L499.59 276.3c16.55-7.5 16.55-32.5 0-40zm0 127.8l-57.87-26.23-161.86 73.37c-7.56 3.43-15.59 5.17-23.86 5.17s-16.29-1.74-23.86-5.17L70.29 337.87 12.41 364.1c-16.55 7.5-16.55 32.5 0 40l232.94 105.59c6.8 3.08 14.49 3.08 21.29 0L499.59 404.1c16.55-7.5 16.55-32.5 0-40z"},child:[]}]})(i)}function l4(i){return Ot({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"},child:[]}]})(i)}function n4(i){return Ot({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M433.941 129.941l-83.882-83.882A48 48 0 0 0 316.118 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V163.882a48 48 0 0 0-14.059-33.941zM224 416c-35.346 0-64-28.654-64-64 0-35.346 28.654-64 64-64s64 28.654 64 64c0 35.346-28.654 64-64 64zm96-304.52V212c0 6.627-5.373 12-12 12H76c-6.627 0-12-5.373-12-12V108c0-6.627 5.373-12 12-12h228.52c3.183 0 6.235 1.264 8.485 3.515l3.48 3.48A11.996 11.996 0 0 1 320 111.48z"},child:[]}]})(i)}function d3(i){return Ot({attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M610.5 341.3c2.6-14.1 2.6-28.5 0-42.6l25.8-14.9c3-1.7 4.3-5.2 3.3-8.5-6.7-21.6-18.2-41.2-33.2-57.4-2.3-2.5-6-3.1-9-1.4l-25.8 14.9c-10.9-9.3-23.4-16.5-36.9-21.3v-29.8c0-3.4-2.4-6.4-5.7-7.1-22.3-5-45-4.8-66.2 0-3.3.7-5.7 3.7-5.7 7.1v29.8c-13.5 4.8-26 12-36.9 21.3l-25.8-14.9c-2.9-1.7-6.7-1.1-9 1.4-15 16.2-26.5 35.8-33.2 57.4-1 3.3.4 6.8 3.3 8.5l25.8 14.9c-2.6 14.1-2.6 28.5 0 42.6l-25.8 14.9c-3 1.7-4.3 5.2-3.3 8.5 6.7 21.6 18.2 41.1 33.2 57.4 2.3 2.5 6 3.1 9 1.4l25.8-14.9c10.9 9.3 23.4 16.5 36.9 21.3v29.8c0 3.4 2.4 6.4 5.7 7.1 22.3 5 45 4.8 66.2 0 3.3-.7 5.7-3.7 5.7-7.1v-29.8c13.5-4.8 26-12 36.9-21.3l25.8 14.9c2.9 1.7 6.7 1.1 9-1.4 15-16.2 26.5-35.8 33.2-57.4 1-3.3-.4-6.8-3.3-8.5l-25.8-14.9zM496 368.5c-26.8 0-48.5-21.8-48.5-48.5s21.8-48.5 48.5-48.5 48.5 21.8 48.5 48.5-21.7 48.5-48.5 48.5zM96 224c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm224 32c1.9 0 3.7-.5 5.6-.6 8.3-21.7 20.5-42.1 36.3-59.2 7.4-8 17.9-12.6 28.9-12.6 6.9 0 13.7 1.8 19.6 5.3l7.9 4.6c.8-.5 1.6-.9 2.4-1.4 7-14.6 11.2-30.8 11.2-48 0-61.9-50.1-112-112-112S208 82.1 208 144c0 61.9 50.1 112 112 112zm105.2 194.5c-2.3-1.2-4.6-2.6-6.8-3.9-8.2 4.8-15.3 9.8-27.5 9.8-10.9 0-21.4-4.6-28.9-12.6-18.3-19.8-32.3-43.9-40.2-69.6-10.7-34.5 24.9-49.7 25.8-50.3-.1-2.6-.1-5.2 0-7.8l-7.9-4.6c-3.8-2.2-7-5-9.8-8.1-3.3.2-6.5.6-9.8.6-24.6 0-47.6-6-68.5-16h-8.3C179.6 288 128 339.6 128 403.2V432c0 26.5 21.5 48 48 48h255.4c-3.7-6-6.2-12.8-6.2-20.3v-9.2zM173.1 274.6C161.5 263.1 145.6 256 128 256H64c-35.3 0-64 28.7-64 64v32c0 17.7 14.3 32 32 32h65.9c6.3-47.4 34.9-87.3 75.2-109.4z"},child:[]}]})(i)}function i4(i){return Ot({attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M96 224c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm448 0c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm32 32h-64c-17.6 0-33.5 7.1-45.1 18.6 40.3 22.1 68.9 62 75.1 109.4h66c17.7 0 32-14.3 32-32v-32c0-35.3-28.7-64-64-64zm-256 0c61.9 0 112-50.1 112-112S381.9 32 320 32 208 82.1 208 144s50.1 112 112 112zm76.8 32h-8.3c-20.8 10-43.9 16-68.5 16s-47.6-6-68.5-16h-8.3C179.6 288 128 339.6 128 403.2V432c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48v-28.8c0-63.6-51.6-115.2-115.2-115.2zm-223.7-13.4C161.5 263.1 145.6 256 128 256H64c-35.3 0-64 28.7-64 64v32c0 17.7 14.3 32 32 32h65.9c6.3-47.4 34.9-87.3 75.2-109.4z"},child:[]}]})(i)}function u4(i){return Ot({attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M527.9 32H48.1C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48.1 48h479.8c26.6 0 48.1-21.5 48.1-48V80c0-26.5-21.5-48-48.1-48zM54.1 80h467.8c3.3 0 6 2.7 6 6v42H48.1V86c0-3.3 2.7-6 6-6zm467.8 352H54.1c-3.3 0-6-2.7-6-6V256h479.8v170c0 3.3-2.7 6-6 6zM192 332v40c0 6.6-5.4 12-12 12h-72c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h72c6.6 0 12 5.4 12 12zm192 0v40c0 6.6-5.4 12-12 12H236c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h136c6.6 0 12 5.4 12 12z"},child:[]}]})(i)}function s4(i){return Ot({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M16 12a4 4 0 1 1-8 0 4 4 0 0 1 8 0Zm-1.5 0a2.5 2.5 0 1 0-5 0 2.5 2.5 0 0 0 5 0Z"},child:[]},{tag:"path",attr:{d:"M12 1c.266 0 .532.009.797.028.763.055 1.345.617 1.512 1.304l.352 1.45c.019.078.09.171.225.221.247.089.49.19.728.302.13.061.246.044.315.002l1.275-.776c.603-.368 1.411-.353 1.99.147.402.349.78.726 1.128 1.129.501.578.515 1.386.147 1.99l-.776 1.274c-.042.069-.058.185.002.315.112.238.213.481.303.728.048.135.142.205.22.225l1.45.352c.687.167 1.249.749 1.303 1.512.038.531.038 1.063 0 1.594-.054.763-.616 1.345-1.303 1.512l-1.45.352c-.078.019-.171.09-.221.225-.089.248-.19.491-.302.728-.061.13-.044.246-.002.315l.776 1.275c.368.603.353 1.411-.147 1.99-.349.402-.726.78-1.129 1.128-.578.501-1.386.515-1.99.147l-1.274-.776c-.069-.042-.185-.058-.314.002a8.606 8.606 0 0 1-.729.303c-.135.048-.205.142-.225.22l-.352 1.45c-.167.687-.749 1.249-1.512 1.303-.531.038-1.063.038-1.594 0-.763-.054-1.345-.616-1.512-1.303l-.352-1.45c-.019-.078-.09-.171-.225-.221a8.138 8.138 0 0 1-.728-.302c-.13-.061-.246-.044-.315-.002l-1.275.776c-.603.368-1.411.353-1.99-.147-.402-.349-.78-.726-1.128-1.129-.501-.578-.515-1.386-.147-1.99l.776-1.274c.042-.069.058-.185-.002-.314a8.606 8.606 0 0 1-.303-.729c-.048-.135-.142-.205-.22-.225l-1.45-.352c-.687-.167-1.249-.749-1.304-1.512a11.158 11.158 0 0 1 0-1.594c.055-.763.617-1.345 1.304-1.512l1.45-.352c.078-.019.171-.09.221-.225.089-.248.19-.491.302-.728.061-.13.044-.246.002-.315l-.776-1.275c-.368-.603-.353-1.411.147-1.99.349-.402.726-.78 1.129-1.128.578-.501 1.386-.515 1.99-.147l1.274.776c.069.042.185.058.315-.002.238-.112.481-.213.728-.303.135-.048.205-.142.225-.22l.352-1.45c.167-.687.749-1.249 1.512-1.304C11.466 1.01 11.732 1 12 1Zm-.69 1.525c-.055.004-.135.05-.161.161l-.353 1.45a1.832 1.832 0 0 1-1.172 1.277 7.147 7.147 0 0 0-.6.249 1.833 1.833 0 0 1-1.734-.074l-1.274-.776c-.098-.06-.186-.036-.228 0a9.774 9.774 0 0 0-.976.976c-.036.042-.06.131 0 .228l.776 1.274c.314.529.342 1.18.074 1.734a7.147 7.147 0 0 0-.249.6 1.831 1.831 0 0 1-1.278 1.173l-1.45.351c-.11.027-.156.107-.16.162a9.63 9.63 0 0 0 0 1.38c.004.055.05.135.161.161l1.45.353a1.832 1.832 0 0 1 1.277 1.172c.074.204.157.404.249.6.268.553.24 1.204-.074 1.733l-.776 1.275c-.06.098-.036.186 0 .228.301.348.628.675.976.976.042.036.131.06.228 0l1.274-.776a1.83 1.83 0 0 1 1.734-.075c.196.093.396.176.6.25a1.831 1.831 0 0 1 1.173 1.278l.351 1.45c.027.11.107.156.162.16a9.63 9.63 0 0 0 1.38 0c.055-.004.135-.05.161-.161l.353-1.45a1.834 1.834 0 0 1 1.172-1.278 6.82 6.82 0 0 0 .6-.248 1.831 1.831 0 0 1 1.733.074l1.275.776c.098.06.186.036.228 0 .348-.301.675-.628.976-.976.036-.042.06-.131 0-.228l-.776-1.275a1.834 1.834 0 0 1-.075-1.733c.093-.196.176-.396.25-.6a1.831 1.831 0 0 1 1.278-1.173l1.45-.351c.11-.027.156-.107.16-.162a9.63 9.63 0 0 0 0-1.38c-.004-.055-.05-.135-.161-.161l-1.45-.353c-.626-.152-1.08-.625-1.278-1.172a6.576 6.576 0 0 0-.248-.6 1.833 1.833 0 0 1 .074-1.734l.776-1.274c.06-.098.036-.186 0-.228a9.774 9.774 0 0 0-.976-.976c-.042-.036-.131-.06-.228 0l-1.275.776a1.831 1.831 0 0 1-1.733.074 6.88 6.88 0 0 0-.6-.249 1.835 1.835 0 0 1-1.173-1.278l-.351-1.45c-.027-.11-.107-.156-.162-.16a9.63 9.63 0 0 0-1.38 0Z"},child:[]}]})(i)}function h3(i){return Ot({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M11.46 1.137a1.748 1.748 0 0 1 1.08 0l8.25 2.675A1.75 1.75 0 0 1 22 5.476V10.5c0 6.19-3.77 10.705-9.401 12.83a1.704 1.704 0 0 1-1.198 0C5.771 21.204 2 16.69 2 10.5V5.476c0-.76.49-1.43 1.21-1.664Zm.617 1.426a.253.253 0 0 0-.154 0L3.673 5.24a.25.25 0 0 0-.173.237V10.5c0 5.461 3.28 9.483 8.43 11.426a.199.199 0 0 0 .14 0c5.15-1.943 8.43-5.965 8.43-11.426V5.476a.25.25 0 0 0-.173-.237ZM13 12.232V15a1 1 0 0 1-2 0v-2.768a2 2 0 1 1 2 0Z"},child:[]}]})(i)}function m3(i){return Ot({attr:{viewBox:"0 0 32 32"},child:[{tag:"path",attr:{d:"M 8 5 C 4.7 5 2 7.7 2 11 C 2 13 3 14.800781 4.5 15.800781 C 1.8 17.200781 0 19.9 0 23 L 2 23 C 2 19.7 4.7 17 8 17 C 11.3 17 14 19.7 14 23 L 16 23 C 16 19.8 18.600781 17.1 21.800781 17 L 22 17 C 24.5 17 26.6 15.500391 27.5 13.400391 C 27.5 13.400391 27.499609 13.300781 27.599609 13.300781 C 27.699609 13.200781 27.699219 13.000391 27.699219 12.900391 C 27.699219 12.800391 27.700781 12.799219 27.800781 12.699219 C 27.800781 12.599219 27.900391 12.400781 27.900391 12.300781 C 27.900391 12.200781 27.9 12.1 28 12 C 28 11.9 27.999609 11.799219 28.099609 11.699219 L 28.099609 11.199219 L 28.099609 11.099609 C 28.099609 7.7996094 25.399609 5.0996094 22.099609 5.0996094 C 18.799609 5.0996094 16.099609 7.7996094 16.099609 11.099609 C 16.099609 13.099609 17.099609 14.900391 18.599609 15.900391 C 17.099609 16.600391 15.899609 17.799219 15.099609 19.199219 C 14.299609 17.799219 13.099609 16.600391 11.599609 15.900391 C 12.999609 14.800391 14 13 14 11 C 14 7.7 11.3 5 8 5 z M 8 7 C 10.2 7 12 8.8 12 11 C 12 13.2 10.2 15 8 15 C 5.8 15 4 13.2 4 11 C 4 8.8 5.8 7 8 7 z M 22 7 C 24.2 7 26 8.8 26 11 C 26 13.2 24.2 15 22 15 C 19.8 15 18 13.2 18 11 C 18 8.8 19.8 7 22 7 z M 24.099609 18 L 24.099609 20.099609 C 23.499609 20.199609 22.900391 20.500781 22.400391 20.800781 L 20.900391 19.300781 L 19.5 20.699219 L 21 22.199219 C 20.6 22.699219 20.400781 23.3 20.300781 24 L 18 24 L 18 26 L 20.099609 26 C 20.199609 26.6 20.500781 27.200781 20.800781 27.800781 L 19.300781 29.300781 L 20.699219 30.699219 L 22.199219 29.199219 C 22.699219 29.499219 23.300391 29.800391 23.900391 29.900391 L 23.900391 32 L 25.900391 32 L 25.900391 29.900391 C 26.500391 29.800391 27.099609 29.499219 27.599609 29.199219 L 29.099609 30.699219 L 30.5 29.300781 L 29 27.800781 C 29.4 27.300781 29.599219 26.7 29.699219 26 L 32 26 L 32 24 L 29.900391 24 C 29.800391 23.4 29.499219 22.799219 29.199219 22.199219 L 30.699219 20.699219 L 29.300781 19.300781 L 27.800781 20.800781 C 27.300781 20.500781 26.699609 20.199609 26.099609 20.099609 L 26.099609 18 L 24.099609 18 z M 25 22 C 26.7 22 28 23.3 28 25 C 28 26.7 26.7 28 25 28 C 23.3 28 22 26.7 22 25 C 22 23.3 23.3 22 25 22 z M 25 24 C 24.875 24 24.75 24.03125 24.632812 24.085938 C 24.515625 24.140625 24.40625 24.21875 24.3125 24.3125 C 24.21875 24.40625 24.140625 24.515625 24.085938 24.632812 C 24.03125 24.75 24 24.875 24 25 C 24 25.125 24.03125 25.25 24.085938 25.367188 C 24.140625 25.484375 24.21875 25.59375 24.3125 25.6875 C 24.40625 25.78125 24.515625 25.859375 24.632812 25.914062 C 24.75 25.96875 24.875 26 25 26 C 25.5 26 26 25.5 26 25 C 26 24.5 25.5 24 25 24 z"},child:[]}]})(i)}function v3(i){return Ot({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M16.49 15.5v-1.75L14 16.25l2.49 2.5V17H22v-1.5zm3.02 4.25H14v1.5h5.51V23L22 20.5 19.51 18zM9.5 5.5c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zM5.75 8.9 3 23h2.1l1.75-8L9 17v6h2v-7.55L8.95 13.4l.6-3C10.85 12 12.8 13 15 13v-2c-1.85 0-3.45-1-4.35-2.45l-.95-1.6C9.35 6.35 8.7 6 8 6c-.25 0-.5.05-.75.15L2 8.3V13h2V9.65l1.75-.75"},child:[]}]})(i)}function r4(i){return Ot({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M13 11H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2h9v7zM4 9h7V6H4v3zm11 11H4c-1.1 0-2-.9-2-2v-3c0-1.1.9-2 2-2h11v7zM4 18h9v-3H4v3zm18-9h-2l2-5h-7v7h2v9l5-11zM4.75 17.25h1.5v-1.5h-1.5v1.5zm0-9h1.5v-1.5h-1.5v1.5z"},child:[]}]})(i)}function p3(i){return Ot({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M9 12c1.93 0 3.5-1.57 3.5-3.5S10.93 5 9 5 5.5 6.57 5.5 8.5 7.07 12 9 12zm0-5c.83 0 1.5.67 1.5 1.5S9.83 10 9 10s-1.5-.67-1.5-1.5S8.17 7 9 7zm.05 10H4.77c.99-.5 2.7-1 4.23-1 .11 0 .23.01.34.01.34-.73.93-1.33 1.64-1.81-.73-.13-1.42-.2-1.98-.2-2.34 0-7 1.17-7 3.5V19h7v-1.5c0-.17.02-.34.05-.5zm7.45-2.5c-1.84 0-5.5 1.01-5.5 3V19h11v-1.5c0-1.99-3.66-3-5.5-3zm1.21-1.82c.76-.43 1.29-1.24 1.29-2.18a2.5 2.5 0 0 0-5 0c0 .94.53 1.75 1.29 2.18.36.2.77.32 1.21.32s.85-.12 1.21-.32z"},child:[]}]})(i)}function c4(i){return Ot({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M224,56V200a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8H216A8,8,0,0,1,224,56Z",opacity:"0.2"},child:[]},{tag:"path",attr:{d:"M184,104v32a8,8,0,0,1-8,8H99.31l10.35,10.34a8,8,0,0,1-11.32,11.32l-24-24a8,8,0,0,1,0-11.32l24-24a8,8,0,0,1,11.32,11.32L99.31,128H168V104a8,8,0,0,1,16,0Zm48-48V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56ZM216,200V56H40V200H216Z"},child:[]}]})(i)}function g3(i){return Ot({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm40-68a28,28,0,0,1-28,28h-4v8a8,8,0,0,1-16,0v-8H104a8,8,0,0,1,0-16h36a12,12,0,0,0,0-24H116a28,28,0,0,1,0-56h4V72a8,8,0,0,1,16,0v8h16a8,8,0,0,1,0,16H116a12,12,0,0,0,0,24h24A28,28,0,0,1,168,148Z"},child:[]}]})(i)}function y3(i){return Ot({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M240,136v64a16,16,0,0,1-16,16H32a16,16,0,0,1-16-16V136a16,16,0,0,1,16-16H72a8,8,0,0,1,0,16H32v64H224V136H184a8,8,0,0,1,0-16h40A16,16,0,0,1,240,136Zm-117.66-2.34a8,8,0,0,0,11.32,0l48-48a8,8,0,0,0-11.32-11.32L136,108.69V24a8,8,0,0,0-16,0v84.69L85.66,74.34A8,8,0,0,0,74.34,85.66ZM200,168a12,12,0,1,0-12,12A12,12,0,0,0,200,168Z"},child:[]}]})(i)}function b3(i){return Ot({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M225.86,102.82c-3.77-3.94-7.67-8-9.14-11.57-1.36-3.27-1.44-8.69-1.52-13.94-.15-9.76-.31-20.82-8-28.51s-18.75-7.85-28.51-8c-5.25-.08-10.67-.16-13.94-1.52-3.56-1.47-7.63-5.37-11.57-9.14C146.28,23.51,138.44,16,128,16s-18.27,7.51-25.18,14.14c-3.94,3.77-8,7.67-11.57,9.14C88,40.64,82.56,40.72,77.31,40.8c-9.76.15-20.82.31-28.51,8S41,67.55,40.8,77.31c-.08,5.25-.16,10.67-1.52,13.94-1.47,3.56-5.37,7.63-9.14,11.57C23.51,109.73,16,117.56,16,128s7.51,18.27,14.14,25.18c3.77,3.94,7.67,8,9.14,11.57,1.36,3.27,1.44,8.69,1.52,13.94.15,9.76.31,20.82,8,28.51s18.75,7.85,28.51,8c5.25.08,10.67.16,13.94,1.52,3.56,1.47,7.63,5.37,11.57,9.14C109.72,232.49,117.56,240,128,240s18.27-7.51,25.18-14.14c3.94-3.77,8-7.67,11.57-9.14,3.27-1.36,8.69-1.44,13.94-1.52,9.76-.15,20.82-.31,28.51-8s7.85-18.75,8-28.51c.08-5.25.16-10.67,1.52-13.94,1.47-3.56,5.37-7.63,9.14-11.57C232.49,146.27,240,138.44,240,128S232.49,109.73,225.86,102.82Zm-11.55,39.29c-4.79,5-9.75,10.17-12.38,16.52-2.52,6.1-2.63,13.07-2.73,19.82-.1,7-.21,14.33-3.32,17.43s-10.39,3.22-17.43,3.32c-6.75.1-13.72.21-19.82,2.73-6.35,2.63-11.52,7.59-16.52,12.38S132,224,128,224s-9.15-4.92-14.11-9.69-10.17-9.75-16.52-12.38c-6.1-2.52-13.07-2.63-19.82-2.73-7-.1-14.33-.21-17.43-3.32s-3.22-10.39-3.32-17.43c-.1-6.75-.21-13.72-2.73-19.82-2.63-6.35-7.59-11.52-12.38-16.52S32,132,32,128s4.92-9.14,9.69-14.11,9.75-10.17,12.38-16.52c2.52-6.1,2.63-13.07,2.73-19.82.1-7,.21-14.33,3.32-17.43S70.51,56.9,77.55,56.8c6.75-.1,13.72-.21,19.82-2.73,6.35-2.63,11.52-7.59,16.52-12.38S124,32,128,32s9.15,4.92,14.11,9.69,10.17,9.75,16.52,12.38c6.1,2.52,13.07,2.63,19.82,2.73,7,.1,14.33.21,17.43,3.32s3.22,10.39,3.32,17.43c.1,6.75.21,13.72,2.73,19.82,2.63,6.35,7.59,11.52,12.38,16.52S224,124,224,128,219.08,137.14,214.31,142.11ZM120,96a24,24,0,1,0-24,24A24,24,0,0,0,120,96ZM88,96a8,8,0,1,1,8,8A8,8,0,0,1,88,96Zm72,40a24,24,0,1,0,24,24A24,24,0,0,0,160,136Zm0,32a8,8,0,1,1,8-8A8,8,0,0,1,160,168Zm13.66-74.34-80,80a8,8,0,0,1-11.32-11.32l80-80a8,8,0,0,1,11.32,11.32Z"},child:[]}]})(i)}function x3(i){return Ot({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M240,136v64a16,16,0,0,1-16,16H32a16,16,0,0,1-16-16V136a16,16,0,0,1,16-16H80a8,8,0,0,1,0,16H32v64H224V136H176a8,8,0,0,1,0-16h48A16,16,0,0,1,240,136ZM85.66,77.66,120,43.31V128a8,8,0,0,0,16,0V43.31l34.34,34.35a8,8,0,0,0,11.32-11.32l-48-48a8,8,0,0,0-11.32,0l-48,48A8,8,0,0,0,85.66,77.66ZM200,168a12,12,0,1,0-12,12A12,12,0,0,0,200,168Z"},child:[]}]})(i)}function S3(i){return Ot({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M168,56a8,8,0,0,1,8-8h16V32a8,8,0,0,1,16,0V48h16a8,8,0,0,1,0,16H208V80a8,8,0,0,1-16,0V64H176A8,8,0,0,1,168,56Zm62.56,54.68a103.92,103.92,0,1,1-85.24-85.24,8,8,0,0,1-2.64,15.78A88.07,88.07,0,0,0,40,128a87.62,87.62,0,0,0,22.24,58.41A79.66,79.66,0,0,1,98.3,157.66a48,48,0,1,1,59.4,0,79.66,79.66,0,0,1,36.06,28.75A87.62,87.62,0,0,0,216,128a88.85,88.85,0,0,0-1.22-14.68,8,8,0,1,1,15.78-2.64ZM128,152a32,32,0,1,0-32-32A32,32,0,0,0,128,152Zm0,64a87.57,87.57,0,0,0,53.92-18.5,64,64,0,0,0-107.84,0A87.57,87.57,0,0,0,128,216Z"},child:[]}]})(i)}function T3(i){return Ot({attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M3 10C3 10.5523 3.44772 11 4 11L12 11C12.5523 11 13 10.5523 13 10V4C13 3.44772 12.5523 3 12 3H4C3.44772 3 3 3.44772 3 4V10ZM11 20C11 20.5523 11.4477 21 12 21H20C20.5523 21 21 20.5523 21 20V14C21 13.4477 20.5523 13 20 13H12C11.4477 13 11 13.4477 11 14V20ZM13 15H19V19H13V15ZM3 20C3 20.5523 3.44772 21 4 21H8C8.55229 21 9 20.5523 9 20V14C9 13.4477 8.55229 13 8 13H4C3.44772 13 3 13.4477 3 14V20ZM5 19V15H7V19H5ZM5 9V5L11 5L11 9L5 9ZM20 11C20.5523 11 21 10.5523 21 10V4C21 3.44772 20.5523 3 20 3H16C15.4477 3 15 3.44772 15 4V10C15 10.5523 15.4477 11 16 11H20ZM19 9H17V5H19V9Z"},child:[]}]})(i)}function o4(i){return Ot({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M7 7h-1a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-1"},child:[]},{tag:"path",attr:{d:"M20.385 6.585a2.1 2.1 0 0 0 -2.97 -2.97l-8.415 8.385v3h3l8.385 -8.415z"},child:[]},{tag:"path",attr:{d:"M16 5l3 3"},child:[]}]})(i)}function E3(i){return Ot({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M12.003 21c-.732 .001 -1.465 -.438 -1.678 -1.317a1.724 1.724 0 0 0 -2.573 -1.066c-1.543 .94 -3.31 -.826 -2.37 -2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756 -.426 -1.756 -2.924 0 -3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94 -1.543 .826 -3.31 2.37 -2.37c1 .608 2.296 .07 2.572 -1.065c.426 -1.756 2.924 -1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543 -.94 3.31 .826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c.886 .215 1.325 .957 1.318 1.694"},child:[]},{tag:"path",attr:{d:"M9 12a3 3 0 1 0 6 0a3 3 0 0 0 -6 0"},child:[]},{tag:"path",attr:{d:"M19.001 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"},child:[]},{tag:"path",attr:{d:"M19.001 15.5v1.5"},child:[]},{tag:"path",attr:{d:"M19.001 21v1.5"},child:[]},{tag:"path",attr:{d:"M22.032 17.25l-1.299 .75"},child:[]},{tag:"path",attr:{d:"M17.27 20l-1.3 .75"},child:[]},{tag:"path",attr:{d:"M15.97 17.25l1.3 .75"},child:[]},{tag:"path",attr:{d:"M20.733 20l1.3 .75"},child:[]}]})(i)}function Oi(i){return Ot({attr:{viewBox:"0 0 16 16",fill:"currentColor"},child:[{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 14H15v-1H2V0H1v13.5l.5.5zM3 11.5v-8l.5-.5h2l.5.5v8l-.5.5h-2l-.5-.5zm2-.5V4H4v7h1zm6-9.5v10l.5.5h2l.5-.5v-10l-.5-.5h-2l-.5.5zm2 .5v9h-1V2h1zm-6 9.5v-6l.5-.5h2l.5.5v6l-.5.5h-2l-.5-.5zm2-.5V6H8v5h1z"},child:[]}]})(i)}function Qh(i){var s,r,c="";if(typeof i=="string"||typeof i=="number")c+=i;else if(typeof i=="object")if(Array.isArray(i)){var o=i.length;for(s=0;s<o;s++)i[s]&&(r=Qh(i[s]))&&(c&&(c+=" "),c+=r)}else for(r in i)i[r]&&(c&&(c+=" "),c+=r);return c}function Yh(){for(var i,s,r=0,c="",o=arguments.length;r<o;r++)(i=arguments[r])&&(s=Qh(i))&&(c&&(c+=" "),c+=s);return c}const vo="-",A3=i=>{const s=M3(i),{conflictingClassGroups:r,conflictingClassGroupModifiers:c}=i;return{getClassGroupId:v=>{const x=v.split(vo);return x[0]===""&&x.length!==1&&x.shift(),Zh(x,s)||w3(v)},getConflictingClassGroupIds:(v,x)=>{const g=r[v]||[];return x&&c[v]?[...g,...c[v]]:g}}},Zh=(i,s)=>{var v;if(i.length===0)return s.classGroupId;const r=i[0],c=s.nextPart.get(r),o=c?Zh(i.slice(1),c):void 0;if(o)return o;if(s.validators.length===0)return;const h=i.join(vo);return(v=s.validators.find(({validator:x})=>x(h)))==null?void 0:v.classGroupId},B0=/^\[(.+)\]$/,w3=i=>{if(B0.test(i)){const s=B0.exec(i)[1],r=s==null?void 0:s.substring(0,s.indexOf(":"));if(r)return"arbitrary.."+r}},M3=i=>{const{theme:s,classGroups:r}=i,c={nextPart:new Map,validators:[]};for(const o in r)Ic(r[o],c,o,s);return c},Ic=(i,s,r,c)=>{i.forEach(o=>{if(typeof o=="string"){const h=o===""?s:q0(s,o);h.classGroupId=r;return}if(typeof o=="function"){if(z3(o)){Ic(o(c),s,r,c);return}s.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([h,v])=>{Ic(v,q0(s,h),r,c)})})},q0=(i,s)=>{let r=i;return s.split(vo).forEach(c=>{r.nextPart.has(c)||r.nextPart.set(c,{nextPart:new Map,validators:[]}),r=r.nextPart.get(c)}),r},z3=i=>i.isThemeGetter,C3=i=>{if(i<1)return{get:()=>{},set:()=>{}};let s=0,r=new Map,c=new Map;const o=(h,v)=>{r.set(h,v),s++,s>i&&(s=0,c=r,r=new Map)};return{get(h){let v=r.get(h);if(v!==void 0)return v;if((v=c.get(h))!==void 0)return o(h,v),v},set(h,v){r.has(h)?r.set(h,v):o(h,v)}}},to="!",eo=":",N3=eo.length,O3=i=>{const{prefix:s,experimentalParseClassName:r}=i;let c=o=>{const h=[];let v=0,x=0,g=0,w;for(let G=0;G<o.length;G++){let H=o[G];if(v===0&&x===0){if(H===eo){h.push(o.slice(g,G)),g=G+N3;continue}if(H==="/"){w=G;continue}}H==="["?v++:H==="]"?v--:H==="("?x++:H===")"&&x--}const T=h.length===0?o:o.substring(g),R=R3(T),_=R!==T,Q=w&&w>g?w-g:void 0;return{modifiers:h,hasImportantModifier:_,baseClassName:R,maybePostfixModifierPosition:Q}};if(s){const o=s+eo,h=c;c=v=>v.startsWith(o)?h(v.substring(o.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:v,maybePostfixModifierPosition:void 0}}if(r){const o=c;c=h=>r({className:h,parseClassName:o})}return c},R3=i=>i.endsWith(to)?i.substring(0,i.length-1):i.startsWith(to)?i.substring(1):i,D3=i=>{const s=Object.fromEntries(i.orderSensitiveModifiers.map(c=>[c,!0]));return c=>{if(c.length<=1)return c;const o=[];let h=[];return c.forEach(v=>{v[0]==="["||s[v]?(o.push(...h.sort(),v),h=[]):h.push(v)}),o.push(...h.sort()),o}},_3=i=>M({cache:C3(i.cacheSize),parseClassName:O3(i),sortModifiers:D3(i)},A3(i)),j3=/\s+/,U3=(i,s)=>{const{parseClassName:r,getClassGroupId:c,getConflictingClassGroupIds:o,sortModifiers:h}=s,v=[],x=i.trim().split(j3);let g="";for(let w=x.length-1;w>=0;w-=1){const T=x[w],{isExternal:R,modifiers:_,hasImportantModifier:Q,baseClassName:G,maybePostfixModifierPosition:H}=r(T);if(R){g=T+(g.length>0?" "+g:g);continue}let Z=!!H,V=c(Z?G.substring(0,H):G);if(!V){if(!Z){g=T+(g.length>0?" "+g:g);continue}if(V=c(G),!V){g=T+(g.length>0?" "+g:g);continue}Z=!1}const tt=h(_).join(":"),X=Q?tt+to:tt,k=X+V;if(v.includes(k))continue;v.push(k);const $=o(V,Z);for(let st=0;st<$.length;++st){const rt=$[st];v.push(X+rt)}g=T+(g.length>0?" "+g:g)}return g};function H3(){let i=0,s,r,c="";for(;i<arguments.length;)(s=arguments[i++])&&(r=Xh(s))&&(c&&(c+=" "),c+=r);return c}const Xh=i=>{if(typeof i=="string")return i;let s,r="";for(let c=0;c<i.length;c++)i[c]&&(s=Xh(i[c]))&&(r&&(r+=" "),r+=s);return r};function L3(i,...s){let r,c,o,h=v;function v(g){const w=s.reduce((T,R)=>R(T),i());return r=_3(w),c=r.cache.get,o=r.cache.set,h=x,x(g)}function x(g){const w=c(g);if(w)return w;const T=U3(g,r);return o(g,T),T}return function(){return h(H3.apply(null,arguments))}}const Jt=i=>{const s=r=>r[i]||[];return s.isThemeGetter=!0,s},kh=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Kh=/^\((?:(\w[\w-]*):)?(.+)\)$/i,B3=/^\d+\/\d+$/,q3=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,V3=/\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$/,G3=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Q3=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Y3=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,yn=i=>B3.test(i),ot=i=>!!i&&!Number.isNaN(Number(i)),Wa=i=>!!i&&Number.isInteger(Number(i)),Xc=i=>i.endsWith("%")&&ot(i.slice(0,-1)),ya=i=>q3.test(i),Z3=()=>!0,X3=i=>V3.test(i)&&!G3.test(i),Jh=()=>!1,k3=i=>Q3.test(i),K3=i=>Y3.test(i),J3=i=>!F(i)&&!W(i),F3=i=>Nn(i,$h,Jh),F=i=>kh.test(i),Al=i=>Nn(i,Ph,X3),kc=i=>Nn(i,ty,ot),V0=i=>Nn(i,Fh,Jh),W3=i=>Nn(i,Wh,K3),ss=i=>Nn(i,Ih,k3),W=i=>Kh.test(i),Ri=i=>On(i,Ph),$3=i=>On(i,ey),G0=i=>On(i,Fh),P3=i=>On(i,$h),I3=i=>On(i,Wh),rs=i=>On(i,Ih,!0),Nn=(i,s,r)=>{const c=kh.exec(i);return c?c[1]?s(c[1]):r(c[2]):!1},On=(i,s,r=!1)=>{const c=Kh.exec(i);return c?c[1]?s(c[1]):r:!1},Fh=i=>i==="position"||i==="percentage",Wh=i=>i==="image"||i==="url",$h=i=>i==="length"||i==="size"||i==="bg-size",Ph=i=>i==="length",ty=i=>i==="number",ey=i=>i==="family-name",Ih=i=>i==="shadow",ay=()=>{const i=Jt("color"),s=Jt("font"),r=Jt("text"),c=Jt("font-weight"),o=Jt("tracking"),h=Jt("leading"),v=Jt("breakpoint"),x=Jt("container"),g=Jt("spacing"),w=Jt("radius"),T=Jt("shadow"),R=Jt("inset-shadow"),_=Jt("text-shadow"),Q=Jt("drop-shadow"),G=Jt("blur"),H=Jt("perspective"),Z=Jt("aspect"),V=Jt("ease"),tt=Jt("animate"),X=()=>["auto","avoid","all","avoid-page","page","left","right","column"],k=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],$=()=>[...k(),W,F],st=()=>["auto","hidden","clip","visible","scroll"],rt=()=>["auto","contain","none"],K=()=>[W,F,g],Ct=()=>[yn,"full","auto",...K()],yt=()=>[Wa,"none","subgrid",W,F],qt=()=>["auto",{span:["full",Wa,W,F]},Wa,W,F],_t=()=>[Wa,"auto",W,F],ye=()=>["auto","min","max","fr",W,F],oe=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],et=()=>["start","end","center","stretch","center-safe","end-safe"],N=()=>["auto",...K()],B=()=>[yn,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...K()],L=()=>[i,W,F],pt=()=>[...k(),G0,V0,{position:[W,F]}],bt=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Yt=()=>["auto","cover","contain",P3,F3,{size:[W,F]}],Tt=()=>[Xc,Ri,Al],nt=()=>["","none","full",w,W,F],dt=()=>["",ot,Ri,Al],Ft=()=>["solid","dashed","dotted","double"],Be=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],jt=()=>[ot,Xc,G0,V0],il=()=>["","none",G,W,F],qe=()=>["none",ot,W,F],Ea=()=>["none",ot,W,F],Aa=()=>[ot,W,F],wa=()=>[yn,"full",...K()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ya],breakpoint:[ya],color:[Z3],container:[ya],"drop-shadow":[ya],ease:["in","out","in-out"],font:[J3],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ya],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ya],shadow:[ya],spacing:["px",ot],text:[ya],"text-shadow":[ya],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",yn,F,W,Z]}],container:["container"],columns:[{columns:[ot,F,W,x]}],"break-after":[{"break-after":X()}],"break-before":[{"break-before":X()}],"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"],sr:["sr-only","not-sr-only"],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:$()}],overflow:[{overflow:st()}],"overflow-x":[{"overflow-x":st()}],"overflow-y":[{"overflow-y":st()}],overscroll:[{overscroll:rt()}],"overscroll-x":[{"overscroll-x":rt()}],"overscroll-y":[{"overscroll-y":rt()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:Ct()}],"inset-x":[{"inset-x":Ct()}],"inset-y":[{"inset-y":Ct()}],start:[{start:Ct()}],end:[{end:Ct()}],top:[{top:Ct()}],right:[{right:Ct()}],bottom:[{bottom:Ct()}],left:[{left:Ct()}],visibility:["visible","invisible","collapse"],z:[{z:[Wa,"auto",W,F]}],basis:[{basis:[yn,"full","auto",x,...K()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ot,yn,"auto","initial","none",F]}],grow:[{grow:["",ot,W,F]}],shrink:[{shrink:["",ot,W,F]}],order:[{order:[Wa,"first","last","none",W,F]}],"grid-cols":[{"grid-cols":yt()}],"col-start-end":[{col:qt()}],"col-start":[{"col-start":_t()}],"col-end":[{"col-end":_t()}],"grid-rows":[{"grid-rows":yt()}],"row-start-end":[{row:qt()}],"row-start":[{"row-start":_t()}],"row-end":[{"row-end":_t()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ye()}],"auto-rows":[{"auto-rows":ye()}],gap:[{gap:K()}],"gap-x":[{"gap-x":K()}],"gap-y":[{"gap-y":K()}],"justify-content":[{justify:[...oe(),"normal"]}],"justify-items":[{"justify-items":[...et(),"normal"]}],"justify-self":[{"justify-self":["auto",...et()]}],"align-content":[{content:["normal",...oe()]}],"align-items":[{items:[...et(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...et(),{baseline:["","last"]}]}],"place-content":[{"place-content":oe()}],"place-items":[{"place-items":[...et(),"baseline"]}],"place-self":[{"place-self":["auto",...et()]}],p:[{p:K()}],px:[{px:K()}],py:[{py:K()}],ps:[{ps:K()}],pe:[{pe:K()}],pt:[{pt:K()}],pr:[{pr:K()}],pb:[{pb:K()}],pl:[{pl:K()}],m:[{m:N()}],mx:[{mx:N()}],my:[{my:N()}],ms:[{ms:N()}],me:[{me:N()}],mt:[{mt:N()}],mr:[{mr:N()}],mb:[{mb:N()}],ml:[{ml:N()}],"space-x":[{"space-x":K()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":K()}],"space-y-reverse":["space-y-reverse"],size:[{size:B()}],w:[{w:[x,"screen",...B()]}],"min-w":[{"min-w":[x,"screen","none",...B()]}],"max-w":[{"max-w":[x,"screen","none","prose",{screen:[v]},...B()]}],h:[{h:["screen","lh",...B()]}],"min-h":[{"min-h":["screen","lh","none",...B()]}],"max-h":[{"max-h":["screen","lh",...B()]}],"font-size":[{text:["base",r,Ri,Al]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[c,W,kc]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Xc,F]}],"font-family":[{font:[$3,F,s]}],"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:[o,W,F]}],"line-clamp":[{"line-clamp":[ot,"none",W,kc]}],leading:[{leading:[h,...K()]}],"list-image":[{"list-image":["none",W,F]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",W,F]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:L()}],"text-color":[{text:L()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Ft(),"wavy"]}],"text-decoration-thickness":[{decoration:[ot,"from-font","auto",W,Al]}],"text-decoration-color":[{decoration:L()}],"underline-offset":[{"underline-offset":[ot,"auto",W,F]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:K()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",W,F]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",W,F]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:pt()}],"bg-repeat":[{bg:bt()}],"bg-size":[{bg:Yt()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Wa,W,F],radial:["",W,F],conic:[Wa,W,F]},I3,W3]}],"bg-color":[{bg:L()}],"gradient-from-pos":[{from:Tt()}],"gradient-via-pos":[{via:Tt()}],"gradient-to-pos":[{to:Tt()}],"gradient-from":[{from:L()}],"gradient-via":[{via:L()}],"gradient-to":[{to:L()}],rounded:[{rounded:nt()}],"rounded-s":[{"rounded-s":nt()}],"rounded-e":[{"rounded-e":nt()}],"rounded-t":[{"rounded-t":nt()}],"rounded-r":[{"rounded-r":nt()}],"rounded-b":[{"rounded-b":nt()}],"rounded-l":[{"rounded-l":nt()}],"rounded-ss":[{"rounded-ss":nt()}],"rounded-se":[{"rounded-se":nt()}],"rounded-ee":[{"rounded-ee":nt()}],"rounded-es":[{"rounded-es":nt()}],"rounded-tl":[{"rounded-tl":nt()}],"rounded-tr":[{"rounded-tr":nt()}],"rounded-br":[{"rounded-br":nt()}],"rounded-bl":[{"rounded-bl":nt()}],"border-w":[{border:dt()}],"border-w-x":[{"border-x":dt()}],"border-w-y":[{"border-y":dt()}],"border-w-s":[{"border-s":dt()}],"border-w-e":[{"border-e":dt()}],"border-w-t":[{"border-t":dt()}],"border-w-r":[{"border-r":dt()}],"border-w-b":[{"border-b":dt()}],"border-w-l":[{"border-l":dt()}],"divide-x":[{"divide-x":dt()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":dt()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Ft(),"hidden","none"]}],"divide-style":[{divide:[...Ft(),"hidden","none"]}],"border-color":[{border:L()}],"border-color-x":[{"border-x":L()}],"border-color-y":[{"border-y":L()}],"border-color-s":[{"border-s":L()}],"border-color-e":[{"border-e":L()}],"border-color-t":[{"border-t":L()}],"border-color-r":[{"border-r":L()}],"border-color-b":[{"border-b":L()}],"border-color-l":[{"border-l":L()}],"divide-color":[{divide:L()}],"outline-style":[{outline:[...Ft(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ot,W,F]}],"outline-w":[{outline:["",ot,Ri,Al]}],"outline-color":[{outline:L()}],shadow:[{shadow:["","none",T,rs,ss]}],"shadow-color":[{shadow:L()}],"inset-shadow":[{"inset-shadow":["none",R,rs,ss]}],"inset-shadow-color":[{"inset-shadow":L()}],"ring-w":[{ring:dt()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:L()}],"ring-offset-w":[{"ring-offset":[ot,Al]}],"ring-offset-color":[{"ring-offset":L()}],"inset-ring-w":[{"inset-ring":dt()}],"inset-ring-color":[{"inset-ring":L()}],"text-shadow":[{"text-shadow":["none",_,rs,ss]}],"text-shadow-color":[{"text-shadow":L()}],opacity:[{opacity:[ot,W,F]}],"mix-blend":[{"mix-blend":[...Be(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Be()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[ot]}],"mask-image-linear-from-pos":[{"mask-linear-from":jt()}],"mask-image-linear-to-pos":[{"mask-linear-to":jt()}],"mask-image-linear-from-color":[{"mask-linear-from":L()}],"mask-image-linear-to-color":[{"mask-linear-to":L()}],"mask-image-t-from-pos":[{"mask-t-from":jt()}],"mask-image-t-to-pos":[{"mask-t-to":jt()}],"mask-image-t-from-color":[{"mask-t-from":L()}],"mask-image-t-to-color":[{"mask-t-to":L()}],"mask-image-r-from-pos":[{"mask-r-from":jt()}],"mask-image-r-to-pos":[{"mask-r-to":jt()}],"mask-image-r-from-color":[{"mask-r-from":L()}],"mask-image-r-to-color":[{"mask-r-to":L()}],"mask-image-b-from-pos":[{"mask-b-from":jt()}],"mask-image-b-to-pos":[{"mask-b-to":jt()}],"mask-image-b-from-color":[{"mask-b-from":L()}],"mask-image-b-to-color":[{"mask-b-to":L()}],"mask-image-l-from-pos":[{"mask-l-from":jt()}],"mask-image-l-to-pos":[{"mask-l-to":jt()}],"mask-image-l-from-color":[{"mask-l-from":L()}],"mask-image-l-to-color":[{"mask-l-to":L()}],"mask-image-x-from-pos":[{"mask-x-from":jt()}],"mask-image-x-to-pos":[{"mask-x-to":jt()}],"mask-image-x-from-color":[{"mask-x-from":L()}],"mask-image-x-to-color":[{"mask-x-to":L()}],"mask-image-y-from-pos":[{"mask-y-from":jt()}],"mask-image-y-to-pos":[{"mask-y-to":jt()}],"mask-image-y-from-color":[{"mask-y-from":L()}],"mask-image-y-to-color":[{"mask-y-to":L()}],"mask-image-radial":[{"mask-radial":[W,F]}],"mask-image-radial-from-pos":[{"mask-radial-from":jt()}],"mask-image-radial-to-pos":[{"mask-radial-to":jt()}],"mask-image-radial-from-color":[{"mask-radial-from":L()}],"mask-image-radial-to-color":[{"mask-radial-to":L()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":k()}],"mask-image-conic-pos":[{"mask-conic":[ot]}],"mask-image-conic-from-pos":[{"mask-conic-from":jt()}],"mask-image-conic-to-pos":[{"mask-conic-to":jt()}],"mask-image-conic-from-color":[{"mask-conic-from":L()}],"mask-image-conic-to-color":[{"mask-conic-to":L()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:pt()}],"mask-repeat":[{mask:bt()}],"mask-size":[{mask:Yt()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",W,F]}],filter:[{filter:["","none",W,F]}],blur:[{blur:il()}],brightness:[{brightness:[ot,W,F]}],contrast:[{contrast:[ot,W,F]}],"drop-shadow":[{"drop-shadow":["","none",Q,rs,ss]}],"drop-shadow-color":[{"drop-shadow":L()}],grayscale:[{grayscale:["",ot,W,F]}],"hue-rotate":[{"hue-rotate":[ot,W,F]}],invert:[{invert:["",ot,W,F]}],saturate:[{saturate:[ot,W,F]}],sepia:[{sepia:["",ot,W,F]}],"backdrop-filter":[{"backdrop-filter":["","none",W,F]}],"backdrop-blur":[{"backdrop-blur":il()}],"backdrop-brightness":[{"backdrop-brightness":[ot,W,F]}],"backdrop-contrast":[{"backdrop-contrast":[ot,W,F]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ot,W,F]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ot,W,F]}],"backdrop-invert":[{"backdrop-invert":["",ot,W,F]}],"backdrop-opacity":[{"backdrop-opacity":[ot,W,F]}],"backdrop-saturate":[{"backdrop-saturate":[ot,W,F]}],"backdrop-sepia":[{"backdrop-sepia":["",ot,W,F]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":K()}],"border-spacing-x":[{"border-spacing-x":K()}],"border-spacing-y":[{"border-spacing-y":K()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",W,F]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ot,"initial",W,F]}],ease:[{ease:["linear","initial",V,W,F]}],delay:[{delay:[ot,W,F]}],animate:[{animate:["none",tt,W,F]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[H,W,F]}],"perspective-origin":[{"perspective-origin":$()}],rotate:[{rotate:qe()}],"rotate-x":[{"rotate-x":qe()}],"rotate-y":[{"rotate-y":qe()}],"rotate-z":[{"rotate-z":qe()}],scale:[{scale:Ea()}],"scale-x":[{"scale-x":Ea()}],"scale-y":[{"scale-y":Ea()}],"scale-z":[{"scale-z":Ea()}],"scale-3d":["scale-3d"],skew:[{skew:Aa()}],"skew-x":[{"skew-x":Aa()}],"skew-y":[{"skew-y":Aa()}],transform:[{transform:[W,F,"","none","gpu","cpu"]}],"transform-origin":[{origin:$()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:wa()}],"translate-x":[{"translate-x":wa()}],"translate-y":[{"translate-y":wa()}],"translate-z":[{"translate-z":wa()}],"translate-none":["translate-none"],accent:[{accent:L()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:L()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],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",W,F]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":K()}],"scroll-mx":[{"scroll-mx":K()}],"scroll-my":[{"scroll-my":K()}],"scroll-ms":[{"scroll-ms":K()}],"scroll-me":[{"scroll-me":K()}],"scroll-mt":[{"scroll-mt":K()}],"scroll-mr":[{"scroll-mr":K()}],"scroll-mb":[{"scroll-mb":K()}],"scroll-ml":[{"scroll-ml":K()}],"scroll-p":[{"scroll-p":K()}],"scroll-px":[{"scroll-px":K()}],"scroll-py":[{"scroll-py":K()}],"scroll-ps":[{"scroll-ps":K()}],"scroll-pe":[{"scroll-pe":K()}],"scroll-pt":[{"scroll-pt":K()}],"scroll-pr":[{"scroll-pr":K()}],"scroll-pb":[{"scroll-pb":K()}],"scroll-pl":[{"scroll-pl":K()}],"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"]}],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",W,F]}],fill:[{fill:["none",...L()]}],"stroke-w":[{stroke:[ot,Ri,Al,kc]}],stroke:[{stroke:["none",...L()]}],"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-x","border-w-y","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-x","border-color-y","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"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"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"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},ly=L3(ay);function P(...i){return ly(Yh(i))}var Ss="Collapsible",[ny,f4]=fo(Ss),[iy,po]=ny(Ss),t2=b.forwardRef((i,s)=>{const T=i,{__scopeCollapsible:r,open:c,defaultOpen:o,disabled:h,onOpenChange:v}=T,x=q(T,["__scopeCollapsible","open","defaultOpen","disabled","onOpenChange"]),[g,w]=oo({prop:c,defaultProp:o!=null?o:!1,onChange:v,caller:Ss});return m.jsx(iy,{scope:r,disabled:h,contentId:lh(),open:g,onOpenToggle:b.useCallback(()=>w(R=>!R),[w]),children:m.jsx(ke.div,Y(M({"data-state":yo(g),"data-disabled":h?"":void 0},x),{ref:s}))})});t2.displayName=Ss;var e2="CollapsibleTrigger",a2=b.forwardRef((i,s)=>{const h=i,{__scopeCollapsible:r}=h,c=q(h,["__scopeCollapsible"]),o=po(e2,r);return m.jsx(ke.button,Y(M({type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":yo(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled},c),{ref:s,onClick:le(i.onClick,o.onOpenToggle)}))});a2.displayName=e2;var go="CollapsibleContent",l2=b.forwardRef((i,s)=>{const h=i,{forceMount:r}=h,c=q(h,["forceMount"]),o=po(go,i.__scopeCollapsible);return m.jsx(bs,{present:r||o.open,children:({present:v})=>m.jsx(uy,Y(M({},c),{ref:s,present:v}))})});l2.displayName=go;var uy=b.forwardRef((i,s)=>{const tt=i,{__scopeCollapsible:r,present:c,children:o}=tt,h=q(tt,["__scopeCollapsible","present","children"]),v=po(go,r),[x,g]=b.useState(c),w=b.useRef(null),T=Vi(s,w),R=b.useRef(0),_=R.current,Q=b.useRef(0),G=Q.current,H=v.open||x,Z=b.useRef(H),V=b.useRef(void 0);return b.useEffect(()=>{const X=requestAnimationFrame(()=>Z.current=!1);return()=>cancelAnimationFrame(X)},[]),nh(()=>{const X=w.current;if(X){V.current=V.current||{transitionDuration:X.style.transitionDuration,animationName:X.style.animationName},X.style.transitionDuration="0s",X.style.animationName="none";const k=X.getBoundingClientRect();R.current=k.height,Q.current=k.width,Z.current||(X.style.transitionDuration=V.current.transitionDuration,X.style.animationName=V.current.animationName),g(c)}},[v.open,c]),m.jsx(ke.div,Y(M({"data-state":yo(v.open),"data-disabled":v.disabled?"":void 0,id:v.contentId,hidden:!H},h),{ref:T,style:M({"--radix-collapsible-content-height":_?`${_}px`:void 0,"--radix-collapsible-content-width":G?`${G}px`:void 0},i.style),children:H&&o}))});function yo(i){return i?"open":"closed"}var sy=t2;const ry=sy,cy=a2,oy=l2,n2=Qp,i2=Yp,fy=Xp,dy=b.forwardRef((h,o)=>{var v=h,{className:i,inset:s,children:r}=v,c=q(v,["className","inset","children"]);return m.jsxs(ch,Y(M({ref:o,className:P("flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",s&&"pl-8",i)},c),{children:[r,m.jsx(ps,{className:"ml-auto"})]}))});dy.displayName=ch.displayName;const hy=b.forwardRef((c,r)=>{var o=c,{className:i}=o,s=q(o,["className"]);return m.jsx(oh,M({ref:r,className:P("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-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",i)},s))});hy.displayName=oh.displayName;const bo=b.forwardRef((o,c)=>{var h=o,{className:i,sideOffset:s=4}=h,r=q(h,["className","sideOffset"]);return m.jsx(Zp,{children:m.jsx(ih,M({ref:c,sideOffset:s,className:P("z-50 max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-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",i)},r))})});bo.displayName=ih.displayName;const ys=b.forwardRef((o,c)=>{var h=o,{className:i,inset:s}=h,r=q(h,["className","inset"]);return m.jsx(rh,M({ref:c,className:P("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",s&&"pl-8",i)},r))});ys.displayName=rh.displayName;const my=b.forwardRef((h,o)=>{var v=h,{className:i,children:s,checked:r}=v,c=q(v,["className","children","checked"]);return m.jsxs(fh,Y(M({ref:o,className:P("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",i),checked:r},c),{children:[m.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:m.jsx(dh,{children:m.jsx(mg,{className:"h-4 w-4"})})}),s]}))});my.displayName=fh.displayName;const vy=b.forwardRef((o,c)=>{var h=o,{className:i,children:s}=h,r=q(h,["className","children"]);return m.jsxs(hh,Y(M({ref:c,className:P("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",i)},r),{children:[m.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:m.jsx(dh,{children:m.jsx(vg,{className:"h-2 w-2 fill-current"})})}),s]}))});vy.displayName=hh.displayName;const u2=b.forwardRef((o,c)=>{var h=o,{className:i,inset:s}=h,r=q(h,["className","inset"]);return m.jsx(uh,M({ref:c,className:P("px-2 py-1.5 text-sm font-semibold",s&&"pl-8",i)},r))});u2.displayName=uh.displayName;const ds=b.forwardRef((c,r)=>{var o=c,{className:i}=o,s=q(o,["className"]);return m.jsx(sh,M({ref:r,className:P("-mx-1 my-1 h-px bg-muted",i)},s))});ds.displayName=sh.displayName;function py(i){const s=gy(i),r=b.forwardRef((c,o)=>{const w=c,{children:h}=w,v=q(w,["children"]),x=b.Children.toArray(h),g=x.find(by);if(g){const T=g.props.children,R=x.map(_=>_===g?b.Children.count(T)>1?b.Children.only(null):b.isValidElement(T)?T.props.children:null:_);return m.jsx(s,Y(M({},v),{ref:o,children:b.isValidElement(T)?b.cloneElement(T,void 0,R):null}))}return m.jsx(s,Y(M({},v),{ref:o,children:h}))});return r.displayName=`${i}.Slot`,r}var Rl=py("Slot");function gy(i){const s=b.forwardRef((r,c)=>{const v=r,{children:o}=v,h=q(v,["children"]);if(b.isValidElement(o)){const x=Sy(o),g=xy(h,o.props);return o.type!==b.Fragment&&(g.ref=c?kp(c,x):x),b.cloneElement(o,g)}return b.Children.count(o)>1?b.Children.only(null):null});return s.displayName=`${i}.SlotClone`,s}var yy=Symbol("radix.slottable");function by(i){return b.isValidElement(i)&&typeof i.type=="function"&&"__radixId"in i.type&&i.type.__radixId===yy}function xy(i,s){const r=M({},s);for(const c in s){const o=i[c],h=s[c];/^on[A-Z]/.test(c)?o&&h?r[c]=(...x)=>{const g=h(...x);return o(...x),g}:o&&(r[c]=o):c==="style"?r[c]=M(M({},o),h):c==="className"&&(r[c]=[o,h].filter(Boolean).join(" "))}return M(M({},i),r)}function Sy(i){var c,o;let s=(c=Object.getOwnPropertyDescriptor(i.props,"ref"))==null?void 0:c.get,r=s&&"isReactWarning"in s&&s.isReactWarning;return r?i.ref:(s=(o=Object.getOwnPropertyDescriptor(i,"ref"))==null?void 0:o.get,r=s&&"isReactWarning"in s&&s.isReactWarning,r?i.props.ref:i.props.ref||i.ref)}const Q0=i=>typeof i=="boolean"?`${i}`:i===0?"0":i,Y0=Yh,Ts=(i,s)=>r=>{var c;if((s==null?void 0:s.variants)==null)return Y0(i,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:o,defaultVariants:h}=s,v=Object.keys(o).map(w=>{const T=r==null?void 0:r[w],R=h==null?void 0:h[w];if(T===null)return null;const _=Q0(T)||Q0(R);return o[w][_]}),x=r&&Object.entries(r).reduce((w,T)=>{let[R,_]=T;return _===void 0||(w[R]=_),w},{}),g=s==null||(c=s.compoundVariants)===null||c===void 0?void 0:c.reduce((w,T)=>{let G=T,{class:R,className:_}=G,Q=q(G,["class","className"]);return Object.entries(Q).every(H=>{let[Z,V]=H;return Array.isArray(V)?V.includes(M(M({},h),x)[Z]):M(M({},h),x)[Z]===V})?[...w,R,_]:w},[]);return Y0(i,v,g,r==null?void 0:r.class,r==null?void 0:r.className)},Kc=768;function Ty(){const[i,s]=b.useState(void 0);return b.useEffect(()=>{const r=window.matchMedia(`(max-width: ${Kc-1}px)`),c=()=>{s(window.innerWidth<Kc)};return r.addEventListener("change",c),s(window.innerWidth<Kc),()=>r.removeEventListener("change",c)},[]),!!i}const Ey=Ts("focus-visible:ring-ring inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90 shadow",accent:"text-accent-foreground bg-accent hover:bg-accent/90 shadow","primary-soft":"bg-primary/15 text-primary hover:bg-primary/25 dark:bg-primary/10 dark:text-primary dark:hover:bg-primary/20",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90 shadow-sm",outline:"hover:text-accent-foreground border-input bg-background hover:bg-accent border shadow-sm",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80 shadow-sm",ghost:"hover:text-accent-foreground hover:bg-accent dark:hover:bg-accent",link:"text-primary underline-offset-4 hover:underline",info:"bg-info hover:bg-info/80 dark:bg-info/5 dark:text-info-foreground dark:hover:hover:bg-info/20 text-white shadow",warning:"bg-warning hover:bg-warning/80 dark:bg-warning/5 dark:text-warning-foreground dark:hover:hover:bg-warning/20 text-white shadow",danger:"bg-danger hover:bg-danger/80 dark:bg-danger/5 dark:text-danger-foreground dark:hover:hover:bg-danger/20 text-white shadow",success:"bg-success hover:bg-success/80 dark:bg-success/5 dark:text-success-foreground dark:hover:hover:bg-success/20 text-white shadow","info-soft":"bg-info/15 text-info-foreground shadow-info/20 hover:bg-info/25 dark:bg-info/5 dark:hover:hover:bg-info/20 dark:shadow","warning-soft":"bg-warning/15 text-warning-foreground shadow-warning/20 hover:bg-warning/25 dark:bg-warning/5 dark:hover:hover:bg-warning/20 dark:shadow","danger-soft":"bg-danger/15 text-danger-foreground shadow-danger/20 hover:bg-danger/25 dark:bg-danger/5 dark:hover:hover:bg-danger/20 dark:shadow","success-soft":"bg-success/15 text-success-foreground shadow-success/20 hover:bg-success/25 dark:bg-success/5 dark:hover:hover:bg-success/20 dark:shadow","secondary-soft":"bg-secondary/10 text-secondary-foreground shadow-secondary/10 hover:bg-secondary/15 dark:bg-secondary/5 dark:hover:hover:bg-secondary/10 dark:shadow","accent-soft":"text-accent-foreground bg-accent/80 shadow-accent/10 hover:bg-accent/15 dark:bg-accent/5 dark:hover:hover:bg-accent/10 dark:shadow"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),s2=b.forwardRef((v,h)=>{var x=v,{className:i,variant:s,size:r,asChild:c=!1}=x,o=q(x,["className","variant","size","asChild"]);const g=c?Rl:"button";return m.jsx(g,M({className:P(Ey({variant:s,size:r,className:i})),ref:h},o))});s2.displayName="Button";const r2=b.forwardRef((o,c)=>{var h=o,{className:i,type:s}=h,r=q(h,["className","type"]);return m.jsx("input",M({type:s,className:P("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",i),ref:c},r))});r2.displayName="Input";var Ay="Separator",Z0="horizontal",wy=["horizontal","vertical"],c2=b.forwardRef((i,s)=>{const g=i,{decorative:r,orientation:c=Z0}=g,o=q(g,["decorative","orientation"]),h=My(c)?c:Z0,x=r?{role:"none"}:{"aria-orientation":h==="vertical"?h:void 0,role:"separator"};return m.jsx(ke.div,Y(M(M({"data-orientation":h},x),o),{ref:s}))});c2.displayName=Ay;function My(i){return wy.includes(i)}var o2=c2;const xo=b.forwardRef((h,o)=>{var v=h,{className:i,orientation:s="horizontal",decorative:r=!0}=v,c=q(v,["className","orientation","decorative"]);return m.jsx(o2,M({ref:o,decorative:r,orientation:s,className:P("shrink-0 bg-border",s==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",i)},c))});xo.displayName=o2.displayName;const zy=Fp,Cy=Kp,f2=b.forwardRef((c,r)=>{var o=c,{className:i}=o,s=q(o,["className"]);return m.jsx(mh,Y(M({className:P("fixed inset-0 z-50 bg-black/80  data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",i)},s),{ref:r}))});f2.displayName=mh.displayName;const Ny=Ts("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),d2=b.forwardRef((h,o)=>{var v=h,{side:i="right",className:s,children:r}=v,c=q(v,["side","className","children"]);return m.jsxs(Cy,{children:[m.jsx(f2,{}),m.jsxs(vh,Y(M({ref:o,className:P(Ny({side:i}),s)},c),{children:[m.jsxs(Jp,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[m.jsx(Ch,{className:"h-4 w-4"}),m.jsx("span",{className:"sr-only",children:"Close"})]}),r]}))]})});d2.displayName=vh.displayName;const h2=r=>{var c=r,{className:i}=c,s=q(c,["className"]);return m.jsx("div",M({className:P("flex flex-col space-y-2 text-center sm:text-left",i)},s))};h2.displayName="SheetHeader";const m2=b.forwardRef((c,r)=>{var o=c,{className:i}=o,s=q(o,["className"]);return m.jsx(ph,M({ref:r,className:P("text-lg font-semibold text-foreground",i)},s))});m2.displayName=ph.displayName;const v2=b.forwardRef((c,r)=>{var o=c,{className:i}=o,s=q(o,["className"]);return m.jsx(gh,M({ref:r,className:P("text-sm text-muted-foreground",i)},s))});v2.displayName=gh.displayName;function X0(r){var c=r,{className:i}=c,s=q(c,["className"]);return m.jsx("div",M({className:P("animate-pulse rounded-md bg-primary/10",i)},s))}var[Es,d4]=fo("Tooltip",[yh]),As=yh(),p2="TooltipProvider",Oy=700,ao="tooltip.open",[Ry,So]=Es(p2),g2=i=>{const{__scopeTooltip:s,delayDuration:r=Oy,skipDelayDuration:c=300,disableHoverableContent:o=!1,children:h}=i,v=b.useRef(!0),x=b.useRef(!1),g=b.useRef(0);return b.useEffect(()=>{const w=g.current;return()=>window.clearTimeout(w)},[]),m.jsx(Ry,{scope:s,isOpenDelayedRef:v,delayDuration:r,onOpen:b.useCallback(()=>{window.clearTimeout(g.current),v.current=!1},[]),onClose:b.useCallback(()=>{window.clearTimeout(g.current),g.current=window.setTimeout(()=>v.current=!0,c)},[c]),isPointerInTransitRef:x,onPointerInTransitChange:b.useCallback(w=>{x.current=w},[]),disableHoverableContent:o,children:h})};g2.displayName=p2;var Li="Tooltip",[Dy,Qi]=Es(Li),y2=i=>{const{__scopeTooltip:s,children:r,open:c,defaultOpen:o,onOpenChange:h,disableHoverableContent:v,delayDuration:x}=i,g=So(Li,i.__scopeTooltip),w=As(s),[T,R]=b.useState(null),_=lh(),Q=b.useRef(0),G=v!=null?v:g.disableHoverableContent,H=x!=null?x:g.delayDuration,Z=b.useRef(!1),[V,tt]=oo({prop:c,defaultProp:o!=null?o:!1,onChange:rt=>{rt?(g.onOpen(),document.dispatchEvent(new CustomEvent(ao))):g.onClose(),h==null||h(rt)},caller:Li}),X=b.useMemo(()=>V?Z.current?"delayed-open":"instant-open":"closed",[V]),k=b.useCallback(()=>{window.clearTimeout(Q.current),Q.current=0,Z.current=!1,tt(!0)},[tt]),$=b.useCallback(()=>{window.clearTimeout(Q.current),Q.current=0,tt(!1)},[tt]),st=b.useCallback(()=>{window.clearTimeout(Q.current),Q.current=window.setTimeout(()=>{Z.current=!0,tt(!0),Q.current=0},H)},[H,tt]);return b.useEffect(()=>()=>{Q.current&&(window.clearTimeout(Q.current),Q.current=0)},[]),m.jsx(Wp,Y(M({},w),{children:m.jsx(Dy,{scope:s,contentId:_,open:V,stateAttribute:X,trigger:T,onTriggerChange:R,onTriggerEnter:b.useCallback(()=>{g.isOpenDelayedRef.current?st():k()},[g.isOpenDelayedRef,st,k]),onTriggerLeave:b.useCallback(()=>{G?$():(window.clearTimeout(Q.current),Q.current=0)},[$,G]),onOpen:k,onClose:$,disableHoverableContent:G,children:r})}))};y2.displayName=Li;var lo="TooltipTrigger",b2=b.forwardRef((i,s)=>{const _=i,{__scopeTooltip:r}=_,c=q(_,["__scopeTooltip"]),o=Qi(lo,r),h=So(lo,r),v=As(r),x=b.useRef(null),g=Vi(s,x,o.onTriggerChange),w=b.useRef(!1),T=b.useRef(!1),R=b.useCallback(()=>w.current=!1,[]);return b.useEffect(()=>()=>document.removeEventListener("pointerup",R),[R]),m.jsx($p,Y(M({asChild:!0},v),{children:m.jsx(ke.button,Y(M({"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute},c),{ref:g,onPointerMove:le(i.onPointerMove,Q=>{Q.pointerType!=="touch"&&!T.current&&!h.isPointerInTransitRef.current&&(o.onTriggerEnter(),T.current=!0)}),onPointerLeave:le(i.onPointerLeave,()=>{o.onTriggerLeave(),T.current=!1}),onPointerDown:le(i.onPointerDown,()=>{o.open&&o.onClose(),w.current=!0,document.addEventListener("pointerup",R,{once:!0})}),onFocus:le(i.onFocus,()=>{w.current||o.onOpen()}),onBlur:le(i.onBlur,o.onClose),onClick:le(i.onClick,o.onClose)}))}))});b2.displayName=lo;var To="TooltipPortal",[_y,jy]=Es(To,{forceMount:void 0}),x2=i=>{const{__scopeTooltip:s,forceMount:r,children:c,container:o}=i,h=Qi(To,s);return m.jsx(_y,{scope:s,forceMount:r,children:m.jsx(bs,{present:r||h.open,children:m.jsx(bh,{asChild:!0,container:o,children:c})})})};x2.displayName=To;var Cn="TooltipContent",S2=b.forwardRef((i,s)=>{const r=jy(Cn,i.__scopeTooltip),x=i,{forceMount:c=r.forceMount,side:o="top"}=x,h=q(x,["forceMount","side"]),v=Qi(Cn,i.__scopeTooltip);return m.jsx(bs,{present:c||v.open,children:v.disableHoverableContent?m.jsx(T2,Y(M({side:o},h),{ref:s})):m.jsx(Uy,Y(M({side:o},h),{ref:s}))})}),Uy=b.forwardRef((i,s)=>{const r=Qi(Cn,i.__scopeTooltip),c=So(Cn,i.__scopeTooltip),o=b.useRef(null),h=Vi(s,o),[v,x]=b.useState(null),{trigger:g,onClose:w}=r,T=o.current,{onPointerInTransitChange:R}=c,_=b.useCallback(()=>{x(null),R(!1)},[R]),Q=b.useCallback((G,H)=>{const Z=G.currentTarget,V={x:G.clientX,y:G.clientY},tt=Vy(V,Z.getBoundingClientRect()),X=Gy(V,tt),k=Qy(H.getBoundingClientRect()),$=Zy([...X,...k]);x($),R(!0)},[R]);return b.useEffect(()=>()=>_(),[_]),b.useEffect(()=>{if(g&&T){const G=Z=>Q(Z,T),H=Z=>Q(Z,g);return g.addEventListener("pointerleave",G),T.addEventListener("pointerleave",H),()=>{g.removeEventListener("pointerleave",G),T.removeEventListener("pointerleave",H)}}},[g,T,Q,_]),b.useEffect(()=>{if(v){const G=H=>{const Z=H.target,V={x:H.clientX,y:H.clientY},tt=(g==null?void 0:g.contains(Z))||(T==null?void 0:T.contains(Z)),X=!Yy(V,v);tt?_():X&&(_(),w())};return document.addEventListener("pointermove",G),()=>document.removeEventListener("pointermove",G)}},[g,T,v,w,_]),m.jsx(T2,Y(M({},i),{ref:h}))}),[Hy,Ly]=Es(Li,{isInside:!1}),By=tg("TooltipContent"),T2=b.forwardRef((i,s)=>{const R=i,{__scopeTooltip:r,children:c,"aria-label":o,onEscapeKeyDown:h,onPointerDownOutside:v}=R,x=q(R,["__scopeTooltip","children","aria-label","onEscapeKeyDown","onPointerDownOutside"]),g=Qi(Cn,r),w=As(r),{onClose:T}=g;return b.useEffect(()=>(document.addEventListener(ao,T),()=>document.removeEventListener(ao,T)),[T]),b.useEffect(()=>{if(g.trigger){const _=Q=>{const G=Q.target;G!=null&&G.contains(g.trigger)&&T()};return window.addEventListener("scroll",_,{capture:!0}),()=>window.removeEventListener("scroll",_,{capture:!0})}},[g.trigger,T]),m.jsx(Pp,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:h,onPointerDownOutside:v,onFocusOutside:_=>_.preventDefault(),onDismiss:T,children:m.jsxs(Ip,Y(M(M({"data-state":g.stateAttribute},w),x),{ref:s,style:Y(M({},x.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:[m.jsx(By,{children:c}),m.jsx(Hy,{scope:r,isInside:!0,children:m.jsx(eg,{id:g.contentId,role:"tooltip",children:o||c})})]}))})});S2.displayName=Cn;var E2="TooltipArrow",qy=b.forwardRef((i,s)=>{const v=i,{__scopeTooltip:r}=v,c=q(v,["__scopeTooltip"]),o=As(r);return Ly(E2,r).isInside?null:m.jsx(ag,Y(M(M({},o),c),{ref:s}))});qy.displayName=E2;function Vy(i,s){const r=Math.abs(s.top-i.y),c=Math.abs(s.bottom-i.y),o=Math.abs(s.right-i.x),h=Math.abs(s.left-i.x);switch(Math.min(r,c,o,h)){case h:return"left";case o:return"right";case r:return"top";case c:return"bottom";default:throw new Error("unreachable")}}function Gy(i,s,r=5){const c=[];switch(s){case"top":c.push({x:i.x-r,y:i.y+r},{x:i.x+r,y:i.y+r});break;case"bottom":c.push({x:i.x-r,y:i.y-r},{x:i.x+r,y:i.y-r});break;case"left":c.push({x:i.x+r,y:i.y-r},{x:i.x+r,y:i.y+r});break;case"right":c.push({x:i.x-r,y:i.y-r},{x:i.x-r,y:i.y+r});break}return c}function Qy(i){const{top:s,right:r,bottom:c,left:o}=i;return[{x:o,y:s},{x:r,y:s},{x:r,y:c},{x:o,y:c}]}function Yy(i,s){const{x:r,y:c}=i;let o=!1;for(let h=0,v=s.length-1;h<s.length;v=h++){const x=s[h],g=s[v],w=x.x,T=x.y,R=g.x,_=g.y;T>c!=_>c&&r<(R-w)*(c-T)/(_-T)+w&&(o=!o)}return o}function Zy(i){const s=i.slice();return s.sort((r,c)=>r.x<c.x?-1:r.x>c.x?1:r.y<c.y?-1:r.y>c.y?1:0),Xy(s)}function Xy(i){if(i.length<=1)return i.slice();const s=[];for(let c=0;c<i.length;c++){const o=i[c];for(;s.length>=2;){const h=s[s.length-1],v=s[s.length-2];if((h.x-v.x)*(o.y-v.y)>=(h.y-v.y)*(o.x-v.x))s.pop();else break}s.push(o)}s.pop();const r=[];for(let c=i.length-1;c>=0;c--){const o=i[c];for(;r.length>=2;){const h=r[r.length-1],v=r[r.length-2];if((h.x-v.x)*(o.y-v.y)>=(h.y-v.y)*(o.x-v.x))r.pop();else break}r.push(o)}return r.pop(),s.length===1&&r.length===1&&s[0].x===r[0].x&&s[0].y===r[0].y?s:s.concat(r)}var ky=g2,Ky=y2,Jy=b2,Fy=x2,A2=S2;const Wy=ky,$y=Ky,Py=Jy,w2=b.forwardRef((o,c)=>{var h=o,{className:i,sideOffset:s=4}=h,r=q(h,["className","sideOffset"]);return m.jsx(Fy,{children:m.jsx(A2,M({ref:c,sideOffset:s,className:P("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground 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",i)},r))})});w2.displayName=A2.displayName;const Iy="sidebar_state",tb=60*60*24*7,eb="16rem",ab="18rem",M2="3rem",lb="b",z2=b.createContext(null);function Rn(){const i=b.useContext(z2);if(!i)throw new Error("useSidebar must be used within a SidebarProvider.");return i}const C2=b.forwardRef((g,x)=>{var w=g,{defaultOpen:i=!0,open:s,onOpenChange:r,className:c,style:o,children:h}=w,v=q(w,["defaultOpen","open","onOpenChange","className","style","children"]);const T=Ty(),[R,_]=b.useState(!1),[Q,G]=b.useState(i),H=s!=null?s:Q,Z=b.useCallback(k=>{const $=typeof k=="function"?k(H):k;r?r($):G($),document.cookie=`${Iy}=${$}; path=/; max-age=${tb}`},[r,H]),V=b.useCallback(()=>T?_(k=>!k):Z(k=>!k),[T,Z,_]);b.useEffect(()=>{const k=$=>{$.key===lb&&($.metaKey||$.ctrlKey)&&($.preventDefault(),V())};return window.addEventListener("keydown",k),()=>window.removeEventListener("keydown",k)},[V]);const tt=H?"expanded":"collapsed",X=b.useMemo(()=>({state:tt,open:H,setOpen:Z,isMobile:T,openMobile:R,setOpenMobile:_,toggleSidebar:V}),[tt,H,Z,T,R,_,V]);return m.jsx(z2.Provider,{value:X,children:m.jsx(Wy,{delayDuration:0,children:m.jsx("div",Y(M({style:M({"--sidebar-width":eb,"--sidebar-width-icon":M2},o),className:P("group/sidebar-wrapper flex min-h-svh w-full has-[[data-variant=inset]]:bg-sidebar",c),ref:x},v),{children:h}))})})});C2.displayName="SidebarProvider";const N2=b.forwardRef((x,v)=>{var g=x,{side:i="left",variant:s="sidebar",collapsible:r="offcanvas",className:c,children:o}=g,h=q(g,["side","variant","collapsible","className","children"]);const{isMobile:w,state:T,openMobile:R,setOpenMobile:_}=Rn();return r==="none"?m.jsx("div",Y(M({className:P("bg-sidebar text-sidebar-foreground flex h-full flex-col",c),style:{width:"var(--sidebar-width)"},ref:v},h),{children:o})):w?m.jsx(zy,Y(M({open:R,onOpenChange:_},h),{children:m.jsxs(d2,{"data-sidebar":"sidebar","data-mobile":"true",className:"bg-sidebar text-sidebar-foreground p-0 [&>button]:hidden",style:{"--sidebar-width":ab,width:"var(--sidebar-width)"},side:i,children:[m.jsxs(h2,{className:"sr-only",children:[m.jsx(m2,{children:"Sidebar"}),m.jsx(v2,{children:"Displays the mobile sidebar."})]}),m.jsx("div",{className:"flex h-full w-full flex-col",children:o})]})})):m.jsxs("div",{ref:v,className:"text-sidebar-foreground group peer hidden md:block","data-state":T,"data-collapsible":T==="collapsed"?r:"","data-variant":s,"data-side":i,children:[m.jsx("div",{className:P("sidebar-gap relative bg-transparent transition-[width] duration-200 ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",s==="floating"||s==="inset"?"group-data-[collapsible=icon]:w-[calc(3rem_+_1rem)]":"group-data-[collapsible=icon]:w-12"),style:{width:"var(--sidebar-width)"}}),m.jsx("div",Y(M({className:P("fixed inset-y-0 z-10 hidden h-svh transition-[left,right,width] duration-200 ease-linear md:flex",i==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",s==="floating"||s==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]":"sidebar-collapsed-width group-data-[side=left]:border-r group-data-[side=right]:border-l",c),style:{width:"var(--sidebar-width)","--sidebar-width-icon":M2}},h),{children:m.jsx("div",{"data-sidebar":"sidebar",className:"bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow",children:o})}))]})});N2.displayName="Sidebar";const O2=b.forwardRef((o,c)=>{var h=o,{className:i,onClick:s}=h,r=q(h,["className","onClick"]);const{toggleSidebar:v}=Rn();return m.jsxs(s2,Y(M({ref:c,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:P("h-7 w-7",i),onClick:x=>{s==null||s(x),v()}},r),{children:[m.jsx(pg,{}),m.jsx("span",{className:"sr-only",children:"Toggle Sidebar"})]}))});O2.displayName="SidebarTrigger";const R2=b.forwardRef((c,r)=>{var o=c,{className:i}=o,s=q(o,["className"]);const{toggleSidebar:h}=Rn();return m.jsx("button",M({ref:r,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:h,title:"Toggle Sidebar",className:P("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",i)},s))});R2.displayName="SidebarRail";const D2=b.forwardRef((c,r)=>{var o=c,{className:i}=o,s=q(o,["className"]);return m.jsx("main",M({ref:r,className:P("relative flex w-full flex-1 flex-col bg-background md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow","md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",i)},s))});D2.displayName="SidebarInset";const nb=b.forwardRef((c,r)=>{var o=c,{className:i}=o,s=q(o,["className"]);return m.jsx(r2,M({ref:r,"data-sidebar":"input",className:P("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",i)},s))});nb.displayName="SidebarInput";const _2=b.forwardRef((c,r)=>{var o=c,{className:i}=o,s=q(o,["className"]);return m.jsx("div",M({ref:r,"data-sidebar":"header",className:P("flex flex-col gap-2 p-2",i)},s))});_2.displayName="SidebarHeader";const j2=b.forwardRef((c,r)=>{var o=c,{className:i}=o,s=q(o,["className"]);return m.jsx("div",M({ref:r,"data-sidebar":"footer",className:P("flex flex-col gap-2 p-2",i)},s))});j2.displayName="SidebarFooter";const ib=b.forwardRef((c,r)=>{var o=c,{className:i}=o,s=q(o,["className"]);return m.jsx(xo,M({ref:r,"data-sidebar":"separator",className:P("mx-2 w-auto bg-sidebar-border",i)},s))});ib.displayName="SidebarSeparator";const U2=b.forwardRef((c,r)=>{var o=c,{className:i}=o,s=q(o,["className"]);return m.jsx("div",M({ref:r,"data-sidebar":"content",className:P("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",i)},s))});U2.displayName="SidebarContent";const H2=b.forwardRef((c,r)=>{var o=c,{className:i}=o,s=q(o,["className"]);return m.jsx("div",M({ref:r,"data-sidebar":"group",className:P("relative flex w-full min-w-0 flex-col p-2",i)},s))});H2.displayName="SidebarGroup";const L2=b.forwardRef((o,c)=>{var h=o,{className:i,asChild:s=!1}=h,r=q(h,["className","asChild"]);const v=s?Rl:"div";return m.jsx(v,M({ref:c,"data-sidebar":"group-label",className:P("flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",i)},r))});L2.displayName="SidebarGroupLabel";const ub=b.forwardRef((o,c)=>{var h=o,{className:i,asChild:s=!1}=h,r=q(h,["className","asChild"]);const v=s?Rl:"button";return m.jsx(v,M({ref:c,"data-sidebar":"group-action",className:P("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",i)},r))});ub.displayName="SidebarGroupAction";const sb=b.forwardRef((c,r)=>{var o=c,{className:i}=o,s=q(o,["className"]);return m.jsx("div",M({ref:r,"data-sidebar":"group-content",className:P("w-full text-sm",i)},s))});sb.displayName="SidebarGroupContent";const Eo=b.forwardRef((c,r)=>{var o=c,{className:i}=o,s=q(o,["className"]);return m.jsx("ul",M({ref:r,"data-sidebar":"menu",className:P("flex w-full min-w-0 flex-col gap-1",i)},s))});Eo.displayName="SidebarMenu";const Di=b.forwardRef((c,r)=>{var o=c,{className:i}=o,s=q(o,["className"]);return m.jsx("li",M({ref:r,"data-sidebar":"menu-item",className:P("group/menu-item relative",i)},s))});Di.displayName="SidebarMenuItem";const rb=Ts("peer/menu-button ring-sidebar-ring data-[active=true]:from-primary/30 data-[active=true]:to-primary/5 flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none transition-[width,height,padding] hover:bg-neutral-100 focus-visible:ring-2 active:bg-neutral-100 disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-gradient-to-r data-[active=true]:font-medium data-[active=true]:hover:bg-transparent data-[state=open]:hover:bg-neutral-100 group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-neutral-100 data-[active=true]:hover:bg-transparent",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-neutral-100 hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))] data-[active=true]:hover:bg-transparent"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),_i=b.forwardRef((g,x)=>{var w=g,{asChild:i=!1,isActive:s=!1,variant:r="default",size:c="default",tooltip:o,className:h}=w,v=q(w,["asChild","isActive","variant","size","tooltip","className"]);const T=i?Rl:"button",{isMobile:R,state:_}=Rn(),Q=m.jsx(T,M({ref:x,"data-sidebar":"menu-button","data-size":c,"data-active":s,className:P(rb({variant:r,size:c}),h)},v));return o?(typeof o=="string"&&(o={children:o}),m.jsxs($y,{children:[m.jsx(Py,{asChild:!0,children:Q}),m.jsx(w2,M({side:"right",align:"center",hidden:_!=="collapsed"||R},o))]})):Q});_i.displayName="SidebarMenuButton";const cb=b.forwardRef((h,o)=>{var v=h,{className:i,asChild:s=!1,showOnHover:r=!1}=v,c=q(v,["className","asChild","showOnHover"]);const x=s?Rl:"button";return m.jsx(x,M({ref:o,"data-sidebar":"menu-action",className:P("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-none transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",r&&"peer-data-[active=true]/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0",i)},c))});cb.displayName="SidebarMenuAction";const ob=b.forwardRef((c,r)=>{var o=c,{className:i}=o,s=q(o,["className"]);return m.jsx("div",M({ref:r,"data-sidebar":"menu-badge",className:P("text-sidebar-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 select-none items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",i)},s))});ob.displayName="SidebarMenuBadge";const fb=b.forwardRef((o,c)=>{var h=o,{className:i,showIcon:s=!1}=h,r=q(h,["className","showIcon"]);const v=b.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return m.jsxs("div",Y(M({ref:c,"data-sidebar":"menu-skeleton",className:P("flex h-8 items-center gap-2 rounded-md px-2",i)},r),{children:[s&&m.jsx(X0,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),m.jsx(X0,{className:"h-4 max-w-[--skeleton-width] flex-1","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":v}})]}))});fb.displayName="SidebarMenuSkeleton";const B2=b.forwardRef((c,r)=>{var o=c,{className:i}=o,s=q(o,["className"]);return m.jsx("ul",M({ref:r,"data-sidebar":"menu-sub",className:P("border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",i)},s))});B2.displayName="SidebarMenuSub";const q2=b.forwardRef((r,s)=>{var i=q(r,[]);return m.jsx("li",M({ref:s},i))});q2.displayName="SidebarMenuSubItem";const V2=b.forwardRef((v,h)=>{var x=v,{asChild:i=!1,size:s="md",isActive:r,className:c}=x,o=q(x,["asChild","size","isActive","className"]);const g=i?Rl:"a";return m.jsx(g,M({ref:h,"data-sidebar":"menu-sub-button","data-size":s,"data-active":r,className:P("text-sidebar-foreground ring-sidebar-ring flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 outline-none hover:bg-neutral-100 focus-visible:ring-2 active:bg-neutral-100 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:hover:bg-transparent [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0","data-[active=true]:from-primary/30 data-[active=true]:to-primary/5 data-[active=true]:bg-gradient-to-r",s==="sm"&&"text-xs",s==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",c)},o))});V2.displayName="SidebarMenuSubButton";function db({items:i}){const s=Mh(),{state:r}=Rn();return m.jsxs(H2,{children:[m.jsx(L2,{className:"text-muted-foreground/60 uppercase",children:"Menú de acciones"}),m.jsx(Eo,{children:i.map(c=>{var g;const o=(g=c.items)==null?void 0:g.some(w=>s.pathname.startsWith(w.url)),h=c.items&&c.items.length>0,x=s.pathname===c.url||s.pathname.startsWith(c.url)&&!o;return h?r==="collapsed"&&c.items?m.jsx(Di,{children:m.jsxs(n2,{children:[m.jsx(i2,{asChild:!0,children:m.jsxs(_i,{tooltip:c.title,className:"group/menu-button h-9 gap-3 rounded-md font-medium [&>svg]:size-auto",isActive:x,children:[c.icon&&m.jsx(c.icon,{className:"text-muted-foreground/60 group-data-[active=true]/menu-button:text-primary",size:22}),m.jsx("span",{children:c.title}),m.jsx(ps,{className:"ml-auto transition-transform duration-200"})]})}),m.jsx(bo,{side:"right",children:c.items.map(w=>{const T=s.pathname.startsWith(w.url);return m.jsx(ys,{asChild:!0,children:m.jsxs(os,{to:w.url,className:P("flex items-center gap-2",T&&"from-primary/30 to-primary/5 bg-gradient-to-r"),children:[w.icon&&m.jsx(w.icon,{className:"text-muted-foreground/60 h-4 w-4",size:16}),m.jsx("span",{children:w.title})]})},w.title)})})]})},c.title):c.items?m.jsx(ry,{asChild:!0,defaultOpen:c.isActive||o,className:P("group/collapsible"),children:m.jsxs(Di,{children:[m.jsx(cy,{asChild:!0,children:m.jsxs(_i,{tooltip:c.title,className:"group/menu-button h-9 gap-3 rounded-md font-medium [&>svg]:size-auto",isActive:x,children:[c.icon&&m.jsx(c.icon,{className:"text-muted-foreground/60 group-data-[active=true]/menu-button:text-primary",size:22}),m.jsx("span",{children:c.title}),m.jsx(ps,{className:"ml-auto transition-transform duration-200 group-data-[state=open]/collapsible:rotate-90"})]})}),m.jsx(oy,{children:m.jsx(B2,{className:"mb-2",children:c.items.map(w=>{const T=s.pathname.startsWith(w.url);return m.jsx(q2,{children:m.jsx(V2,{asChild:!0,className:"group/submenu-button ml-2 h-8 gap-3 rounded-md font-medium",isActive:T,children:m.jsxs(os,{to:w.url,children:[w.icon&&m.jsx(w.icon,{className:"text-muted-foreground/60 group-data-[active=true]/submenu-button:text-primary",size:18}),m.jsx("span",{children:w.title})]})})},w.title)})})})]})},c.title):null:m.jsx(Di,{children:m.jsx(_i,{asChild:!0,tooltip:c.title,className:"group/menu-button h-9 gap-3 rounded-md font-medium [&>svg]:size-auto",isActive:x,children:m.jsxs(os,{to:c.url,children:[c.icon&&m.jsx(c.icon,{className:"text-muted-foreground/60 group-data-[active=true]/menu-button:text-primary",size:22}),m.jsx("span",{children:c.title})]})})},c.title)})})]})}const no=b.forwardRef((c,r)=>{var o=c,{className:i}=o,s=q(o,["className"]);return m.jsx(xh,M({ref:r,className:P("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",i)},s))});no.displayName=xh.displayName;const io=b.forwardRef((c,r)=>{var o=c,{className:i}=o,s=q(o,["className"]);return m.jsx(Sh,M({ref:r,className:P("aspect-square h-full w-full",i)},s))});io.displayName=Sh.displayName;const uo=b.forwardRef((c,r)=>{var o=c,{className:i}=o,s=q(o,["className"]);return m.jsx(Th,M({ref:r,className:P("flex h-full w-full items-center justify-center rounded-full bg-muted",i)},s))});uo.displayName=Th.displayName;function hb({user:i,logout:s}){const{isMobile:r}=Rn();function c(){s()}function o(h){return h?h.split(" ").slice(0,2).map(g=>g[0]).join("").toUpperCase():"CN"}return m.jsx(Eo,{children:m.jsx(Di,{children:m.jsxs(n2,{children:[m.jsx(i2,{asChild:!0,children:m.jsxs(_i,{size:"lg",className:"bg-primary/20 hover:bg-sidebar-active-parent hover:text-sidebar-foreground data-[state=open]:bg-sidebar-active-parent data-[state=open]:text-sidebar-foreground",children:[m.jsxs(no,{className:"h-8 w-8 rounded-lg",children:[m.jsx(io,{src:i.avatar,alt:i.full_name}),m.jsx(uo,{className:"bg-primary text-sidebar-accent-foreground rounded-lg",children:o(i.full_name)})]}),m.jsxs("div",{className:"grid flex-1 text-left text-sm leading-tight",children:[m.jsx("span",{className:"truncate font-semibold",children:i.full_name}),m.jsx("span",{className:"truncate text-xs",children:i.email})]}),m.jsx(gg,{className:"ml-auto size-4"})]})}),m.jsxs(bo,{className:"w-[--radix-dropdown-menu-trigger-width] min-w-56 rounded-lg",side:r?"bottom":"right",align:"end",sideOffset:4,children:[m.jsx(u2,{className:"p-0 font-normal",children:m.jsxs("div",{className:"flex items-center gap-2 px-1 py-1.5 text-left text-sm",children:[m.jsxs(no,{className:"h-8 w-8 rounded-lg",children:[m.jsx(io,{src:i.avatar,alt:i.full_name}),m.jsx(uo,{className:"rounded-lg",children:o(i.full_name)})]}),m.jsxs("div",{className:"grid flex-1 text-left text-sm leading-tight",children:[m.jsx("span",{className:"truncate font-semibold",children:i.full_name}),m.jsx("span",{className:"truncate text-xs",children:i.email})]})]})}),m.jsx(ds,{}),m.jsx(ds,{}),m.jsx(fy,{children:m.jsxs(ys,{children:[m.jsx(yg,{}),"Account"]})}),m.jsx(ds,{}),m.jsxs(ys,{className:"cursor-pointer",onClick:c,children:[m.jsx(bg,{}),"Log out"]})]})]})})})}const mb={navMain:[{title:"Dashboard",url:"/admin/dashboard",icon:T3,isActive:!0,items:[]},{title:"Vinculación",url:"#",icon:S3,isActive:!1,items:[{title:"Estudios",url:"/admin/entailment/studios",icon:c3},{title:"Modelos",url:"#",icon:s3},{title:"Cuentas",url:"/accounts/list",icon:p3},{title:"Traslados",url:"#",icon:v3}]},{title:"Pagos",url:"#",icon:r3,items:[{title:"Descarga de archivos",url:"#",icon:y3},{title:"Subida de archivos",url:"#",icon:x3},{title:"Comisiones",url:"#",icon:b3},{title:"Pagos",url:"#",icon:g3},{title:"Nicks no vinculados",url:"#",icon:u3},{title:"Nicks acumulados",url:"#",icon:m3}]},{title:"Informes",url:"#",icon:Oi,items:[{title:"Informe 1",url:"#",icon:Oi},{title:"Informe 2",url:"#",icon:Oi},{title:"Informe 3",url:"#",icon:Oi},{title:"Informe 4",url:"#",icon:Oi}]},{title:"Administración",url:"#",icon:o3,items:[{title:"Usuarios",url:"/admin/administration/users",icon:d3},{title:"Masters",url:"/admin/administration/masters",icon:f3}]},{title:"Configuraciones",url:"#",icon:E3,items:[{title:"Roles",url:"/admin/settings/roles",icon:h3}]}]};function vb(s){var i=q(s,[]);const{user:r,logout:c}=Vh();return m.jsxs(N2,Y(M({collapsible:"icon",className:"group-data-[side=left]:border-r-0 group-data-[side=right]:border-l-0 pl-1"},i),{children:[m.jsx(_2,{className:"mb-4",children:m.jsx("img",{className:"w-full",src:"/assets/logos/CamSoda.png",alt:"CamSoda Logo"})}),m.jsx(U2,{children:m.jsx(db,{items:mb.navMain})}),m.jsx(j2,{children:r&&m.jsx(hb,{user:r,logout:c})}),m.jsx(R2,{})]}))}const G2=b.forwardRef((r,s)=>{var i=q(r,[]);return m.jsx("nav",M({ref:s,"aria-label":"breadcrumb"},i))});G2.displayName="Breadcrumb";const Q2=b.forwardRef((c,r)=>{var o=c,{className:i}=o,s=q(o,["className"]);return m.jsx("ol",M({ref:r,className:P("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",i)},s))});Q2.displayName="BreadcrumbList";const Y2=b.forwardRef((c,r)=>{var o=c,{className:i}=o,s=q(o,["className"]);return m.jsx("li",M({ref:r,className:P("inline-flex items-center gap-1.5",i)},s))});Y2.displayName="BreadcrumbItem";const Z2=b.forwardRef((o,c)=>{var h=o,{asChild:i,className:s}=h,r=q(h,["asChild","className"]);const v=i?Rl:"a";return m.jsx(v,M({ref:c,className:P("transition-colors hover:text-foreground",s)},r))});Z2.displayName="BreadcrumbLink";const pb=b.forwardRef((c,r)=>{var o=c,{className:i}=o,s=q(o,["className"]);return m.jsx("span",M({ref:r,role:"link","aria-disabled":"true","aria-current":"page",className:P("font-normal text-foreground",i)},s))});pb.displayName="BreadcrumbPage";const X2=c=>{var o=c,{children:i,className:s}=o,r=q(o,["children","className"]);return m.jsx("li",Y(M({role:"presentation","aria-hidden":"true",className:P("[&>svg]:w-3.5 [&>svg]:h-3.5",s)},r),{children:i!=null?i:m.jsx(ps,{})}))};X2.displayName="BreadcrumbSeparator";const gb=()=>{const s=Mh().pathname.split("/").filter(Boolean),r=2,c=s.slice(r);return m.jsx("nav",{className:"text-sm text-gray-600 flex items-center space-x-1",children:c.map((o,h)=>{const v="/"+s.slice(0,r+h+1).join("/"),x=h===c.length-1,g=decodeURIComponent(o).replace(/-/g," ");return m.jsxs("div",{className:"flex items-center space-x-1",children:[h!==0&&m.jsx("span",{children:"/"}),x?m.jsx("span",{className:"font-semibold",children:g}):m.jsx(os,{to:v,className:"hover:underline",children:g})]},v)})})},yb=()=>m.jsxs(C2,{children:[m.jsx(vb,{}),m.jsxs(D2,{className:"m-2 rounded-2xl",children:[m.jsx("header",{className:"flex h-16 shrink-0 items-center gap-2",children:m.jsxs("div",{className:"flex items-center gap-2 px-4",children:[m.jsx(O2,{className:"-ml-1"}),m.jsx(xo,{orientation:"vertical",className:"mr-2 h-4"}),m.jsx(G2,{children:m.jsxs(Q2,{children:[m.jsx(Y2,{className:"hidden md:block",children:m.jsx(Z2,{href:"/admin/dashboard",children:"Camsoda Application"})}),m.jsx(X2,{className:"hidden md:block"})]})}),m.jsx(gb,{})]})}),m.jsx("div",{className:"flex flex-1 flex-col gap-4 p-4 pt-0",children:m.jsx(zh,{})})]})]}),bb=()=>m.jsx("div",{className:"h-full w-full",children:m.jsxs("main",{className:"h-full w-full",children:[m.jsx(zh,{})," "]})}),k2=b.memo(()=>{const i=(s,r)=>s.map(c=>m.jsx(Vc,{path:c.path,element:m.jsx(b.Suspense,{fallback:m.jsx(Gh,{}),children:r?m.jsx(a3,{component:c.component,roles:c.roles,permissions:c.permissions}):m.jsx(c.component,{})}),children:c.children&&i(c.children,r)},c.path));return m.jsx(i3,{children:m.jsxs(sg,{children:[m.jsx(Vc,{path:"/*",element:m.jsx(bb,{}),children:i(L0.filter(s=>s.layout==="PublicLayout"),!1)}),m.jsx(Vc,{path:"/admin/*",element:m.jsx(yb,{}),children:i(L0.filter(s=>s.layout==="AdminLayout"),!0)})]})})});k2.displayName="AppRouter";var xb=function(){return null};const Sb=1,Tb=1e6;let Jc=0;function Eb(){return Jc=(Jc+1)%Number.MAX_SAFE_INTEGER,Jc.toString()}const Fc=new Map,k0=i=>{if(Fc.has(i))return;const s=setTimeout(()=>{Fc.delete(i),ji({type:"REMOVE_TOAST",toastId:i})},Tb);Fc.set(i,s)},Ab=(i,s)=>{switch(s.type){case"ADD_TOAST":return Y(M({},i),{toasts:[s.toast,...i.toasts].slice(0,Sb)});case"UPDATE_TOAST":return Y(M({},i),{toasts:i.toasts.map(r=>r.id===s.toast.id?M(M({},r),s.toast):r)});case"DISMISS_TOAST":{const{toastId:r}=s;return r?k0(r):i.toasts.forEach(c=>{k0(c.id)}),Y(M({},i),{toasts:i.toasts.map(c=>c.id===r||r===void 0?Y(M({},c),{open:!1}):c)})}case"REMOVE_TOAST":return s.toastId===void 0?Y(M({},i),{toasts:[]}):Y(M({},i),{toasts:i.toasts.filter(r=>r.id!==s.toastId)})}},hs=[];let ms={toasts:[]};function ji(i){ms=Ab(ms,i),hs.forEach(s=>{s(ms)})}function wb(s){var i=q(s,[]);const r=Eb(),c=h=>ji({type:"UPDATE_TOAST",toast:Y(M({},h),{id:r})}),o=()=>ji({type:"DISMISS_TOAST",toastId:r});return ji({type:"ADD_TOAST",toast:Y(M({},i),{id:r,open:!0,onOpenChange:h=>{h||o()}})}),{id:r,dismiss:o,update:c}}function Mb(){const[i,s]=b.useState(ms);return b.useEffect(()=>(hs.push(s),()=>{const r=hs.indexOf(s);r>-1&&hs.splice(r,1)}),[i]),Y(M({},i),{toast:wb,dismiss:r=>ji({type:"DISMISS_TOAST",toastId:r})})}var Ao="ToastProvider",[wo,zb,Cb]=lg("Toast"),[K2,h4]=fo("Toast",[Cb]),[Nb,ws]=K2(Ao),J2=i=>{const{__scopeToast:s,label:r="Notification",duration:c=5e3,swipeDirection:o="right",swipeThreshold:h=50,children:v}=i,[x,g]=b.useState(null),[w,T]=b.useState(0),R=b.useRef(!1),_=b.useRef(!1);return r.trim()||console.error(`Invalid prop \`label\` supplied to \`${Ao}\`. Expected non-empty \`string\`.`),m.jsx(wo.Provider,{scope:s,children:m.jsx(Nb,{scope:s,label:r,duration:c,swipeDirection:o,swipeThreshold:h,toastCount:w,viewport:x,onViewportChange:g,onToastAdd:b.useCallback(()=>T(Q=>Q+1),[]),onToastRemove:b.useCallback(()=>T(Q=>Q-1),[]),isFocusedToastEscapeKeyDownRef:R,isClosePausedRef:_,children:v})})};J2.displayName=Ao;var F2="ToastViewport",Ob=["F8"],so="toast.viewportPause",ro="toast.viewportResume",W2=b.forwardRef((i,s)=>{const Z=i,{__scopeToast:r,hotkey:c=Ob,label:o="Notifications ({hotkey})"}=Z,h=q(Z,["__scopeToast","hotkey","label"]),v=ws(F2,r),x=zb(r),g=b.useRef(null),w=b.useRef(null),T=b.useRef(null),R=b.useRef(null),_=Vi(s,R,v.onViewportChange),Q=c.join("+").replace(/Key/g,"").replace(/Digit/g,""),G=v.toastCount>0;b.useEffect(()=>{const V=tt=>{var k;c.length!==0&&c.every($=>tt[$]||tt.code===$)&&((k=R.current)==null||k.focus())};return document.addEventListener("keydown",V),()=>document.removeEventListener("keydown",V)},[c]),b.useEffect(()=>{const V=g.current,tt=R.current;if(G&&V&&tt){const X=()=>{if(!v.isClosePausedRef.current){const rt=new CustomEvent(so);tt.dispatchEvent(rt),v.isClosePausedRef.current=!0}},k=()=>{if(v.isClosePausedRef.current){const rt=new CustomEvent(ro);tt.dispatchEvent(rt),v.isClosePausedRef.current=!1}},$=rt=>{!V.contains(rt.relatedTarget)&&k()},st=()=>{V.contains(document.activeElement)||k()};return V.addEventListener("focusin",X),V.addEventListener("focusout",$),V.addEventListener("pointermove",X),V.addEventListener("pointerleave",st),window.addEventListener("blur",X),window.addEventListener("focus",k),()=>{V.removeEventListener("focusin",X),V.removeEventListener("focusout",$),V.removeEventListener("pointermove",X),V.removeEventListener("pointerleave",st),window.removeEventListener("blur",X),window.removeEventListener("focus",k)}}},[G,v.isClosePausedRef]);const H=b.useCallback(({tabbingDirection:V})=>{const X=x().map(k=>{const $=k.ref.current,st=[$,...Yb($)];return V==="forwards"?st:st.reverse()});return(V==="forwards"?X.reverse():X).flat()},[x]);return b.useEffect(()=>{const V=R.current;if(V){const tt=X=>{var st,rt,K;const k=X.altKey||X.ctrlKey||X.metaKey;if(X.key==="Tab"&&!k){const Ct=document.activeElement,yt=X.shiftKey;if(X.target===V&&yt){(st=w.current)==null||st.focus();return}const ye=H({tabbingDirection:yt?"backwards":"forwards"}),oe=ye.findIndex(et=>et===Ct);Wc(ye.slice(oe+1))?X.preventDefault():yt?(rt=w.current)==null||rt.focus():(K=T.current)==null||K.focus()}};return V.addEventListener("keydown",tt),()=>V.removeEventListener("keydown",tt)}},[x,H]),m.jsxs(ng,{ref:g,role:"region","aria-label":o.replace("{hotkey}",Q),tabIndex:-1,style:{pointerEvents:G?void 0:"none"},children:[G&&m.jsx(co,{ref:w,onFocusFromOutsideViewport:()=>{const V=H({tabbingDirection:"forwards"});Wc(V)}}),m.jsx(wo.Slot,{scope:r,children:m.jsx(ke.ol,Y(M({tabIndex:-1},h),{ref:_}))}),G&&m.jsx(co,{ref:T,onFocusFromOutsideViewport:()=>{const V=H({tabbingDirection:"backwards"});Wc(V)}})]})});W2.displayName=F2;var $2="ToastFocusProxy",co=b.forwardRef((i,s)=>{const v=i,{__scopeToast:r,onFocusFromOutsideViewport:c}=v,o=q(v,["__scopeToast","onFocusFromOutsideViewport"]),h=ws($2,r);return m.jsx(Eh,Y(M({"aria-hidden":!0,tabIndex:0},o),{ref:s,style:{position:"fixed"},onFocus:x=>{var T;const g=x.relatedTarget;!((T=h.viewport)!=null&&T.contains(g))&&c()}}))});co.displayName=$2;var Yi="Toast",Rb="toast.swipeStart",Db="toast.swipeMove",_b="toast.swipeCancel",jb="toast.swipeEnd",P2=b.forwardRef((i,s)=>{const w=i,{forceMount:r,open:c,defaultOpen:o,onOpenChange:h}=w,v=q(w,["forceMount","open","defaultOpen","onOpenChange"]),[x,g]=oo({prop:c,defaultProp:o!=null?o:!0,onChange:h,caller:Yi});return m.jsx(bs,{present:r||x,children:m.jsx(Lb,Y(M({open:x},v),{ref:s,onClose:()=>g(!1),onPause:vs(i.onPause),onResume:vs(i.onResume),onSwipeStart:le(i.onSwipeStart,T=>{T.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:le(i.onSwipeMove,T=>{const{x:R,y:_}=T.detail.delta;T.currentTarget.setAttribute("data-swipe","move"),T.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${R}px`),T.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${_}px`)}),onSwipeCancel:le(i.onSwipeCancel,T=>{T.currentTarget.setAttribute("data-swipe","cancel"),T.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),T.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),T.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),T.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:le(i.onSwipeEnd,T=>{const{x:R,y:_}=T.detail.delta;T.currentTarget.setAttribute("data-swipe","end"),T.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),T.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),T.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${R}px`),T.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${_}px`),g(!1)})}))})});P2.displayName=Yi;var[Ub,Hb]=K2(Yi,{onClose(){}}),Lb=b.forwardRef((i,s)=>{const oe=i,{__scopeToast:r,type:c="foreground",duration:o,open:h,onClose:v,onEscapeKeyDown:x,onPause:g,onResume:w,onSwipeStart:T,onSwipeMove:R,onSwipeCancel:_,onSwipeEnd:Q}=oe,G=q(oe,["__scopeToast","type","duration","open","onClose","onEscapeKeyDown","onPause","onResume","onSwipeStart","onSwipeMove","onSwipeCancel","onSwipeEnd"]),H=ws(Yi,r),[Z,V]=b.useState(null),tt=Vi(s,et=>V(et)),X=b.useRef(null),k=b.useRef(null),$=o||H.duration,st=b.useRef(0),rt=b.useRef($),K=b.useRef(0),{onToastAdd:Ct,onToastRemove:yt}=H,qt=vs(()=>{var N;(Z==null?void 0:Z.contains(document.activeElement))&&((N=H.viewport)==null||N.focus()),v()}),_t=b.useCallback(et=>{!et||et===1/0||(window.clearTimeout(K.current),st.current=new Date().getTime(),K.current=window.setTimeout(qt,et))},[qt]);b.useEffect(()=>{const et=H.viewport;if(et){const N=()=>{_t(rt.current),w==null||w()},B=()=>{const L=new Date().getTime()-st.current;rt.current=rt.current-L,window.clearTimeout(K.current),g==null||g()};return et.addEventListener(so,B),et.addEventListener(ro,N),()=>{et.removeEventListener(so,B),et.removeEventListener(ro,N)}}},[H.viewport,$,g,w,_t]),b.useEffect(()=>{h&&!H.isClosePausedRef.current&&_t($)},[h,$,H.isClosePausedRef,_t]),b.useEffect(()=>(Ct(),()=>yt()),[Ct,yt]);const ye=b.useMemo(()=>Z?im(Z):null,[Z]);return H.viewport?m.jsxs(m.Fragment,{children:[ye&&m.jsx(Bb,{__scopeToast:r,role:"status","aria-live":c==="foreground"?"assertive":"polite","aria-atomic":!0,children:ye}),m.jsx(Ub,{scope:r,onClose:qt,children:rg.createPortal(m.jsx(wo.ItemSlot,{scope:r,children:m.jsx(ig,{asChild:!0,onEscapeKeyDown:le(x,()=>{H.isFocusedToastEscapeKeyDownRef.current||qt(),H.isFocusedToastEscapeKeyDownRef.current=!1}),children:m.jsx(ke.li,Y(M({role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":h?"open":"closed","data-swipe-direction":H.swipeDirection},G),{ref:tt,style:M({userSelect:"none",touchAction:"none"},i.style),onKeyDown:le(i.onKeyDown,et=>{et.key==="Escape"&&(x==null||x(et.nativeEvent),et.nativeEvent.defaultPrevented||(H.isFocusedToastEscapeKeyDownRef.current=!0,qt()))}),onPointerDown:le(i.onPointerDown,et=>{et.button===0&&(X.current={x:et.clientX,y:et.clientY})}),onPointerMove:le(i.onPointerMove,et=>{if(!X.current)return;const N=et.clientX-X.current.x,B=et.clientY-X.current.y,L=!!k.current,pt=["left","right"].includes(H.swipeDirection),bt=["left","up"].includes(H.swipeDirection)?Math.min:Math.max,Yt=pt?bt(0,N):0,Tt=pt?0:bt(0,B),nt=et.pointerType==="touch"?10:2,dt={x:Yt,y:Tt},Ft={originalEvent:et,delta:dt};L?(k.current=dt,cs(Db,R,Ft,{discrete:!1})):K0(dt,H.swipeDirection,nt)?(k.current=dt,cs(Rb,T,Ft,{discrete:!1}),et.target.setPointerCapture(et.pointerId)):(Math.abs(N)>nt||Math.abs(B)>nt)&&(X.current=null)}),onPointerUp:le(i.onPointerUp,et=>{const N=k.current,B=et.target;if(B.hasPointerCapture(et.pointerId)&&B.releasePointerCapture(et.pointerId),k.current=null,X.current=null,N){const L=et.currentTarget,pt={originalEvent:et,delta:N};K0(N,H.swipeDirection,H.swipeThreshold)?cs(jb,Q,pt,{discrete:!0}):cs(_b,_,pt,{discrete:!0}),L.addEventListener("click",bt=>bt.preventDefault(),{once:!0})}})}))})}),H.viewport)})]}):null}),Bb=i=>{const w=i,{__scopeToast:s,children:r}=w,c=q(w,["__scopeToast","children"]),o=ws(Yi,s),[h,v]=b.useState(!1),[x,g]=b.useState(!1);return Gb(()=>v(!0)),b.useEffect(()=>{const T=window.setTimeout(()=>g(!0),1e3);return()=>window.clearTimeout(T)},[]),x?null:m.jsx(bh,{asChild:!0,children:m.jsx(Eh,Y(M({},c),{children:h&&m.jsxs(m.Fragment,{children:[o.label," ",r]})}))})},qb="ToastTitle",I2=b.forwardRef((i,s)=>{const o=i,{__scopeToast:r}=o,c=q(o,["__scopeToast"]);return m.jsx(ke.div,Y(M({},c),{ref:s}))});I2.displayName=qb;var Vb="ToastDescription",tm=b.forwardRef((i,s)=>{const o=i,{__scopeToast:r}=o,c=q(o,["__scopeToast"]);return m.jsx(ke.div,Y(M({},c),{ref:s}))});tm.displayName=Vb;var em="ToastAction",am=b.forwardRef((i,s)=>{const o=i,{altText:r}=o,c=q(o,["altText"]);return r.trim()?m.jsx(nm,{altText:r,asChild:!0,children:m.jsx(Mo,Y(M({},c),{ref:s}))}):(console.error(`Invalid prop \`altText\` supplied to \`${em}\`. Expected non-empty \`string\`.`),null)});am.displayName=em;var lm="ToastClose",Mo=b.forwardRef((i,s)=>{const h=i,{__scopeToast:r}=h,c=q(h,["__scopeToast"]),o=Hb(lm,r);return m.jsx(nm,{asChild:!0,children:m.jsx(ke.button,Y(M({type:"button"},c),{ref:s,onClick:le(i.onClick,o.onClose)}))})});Mo.displayName=lm;var nm=b.forwardRef((i,s)=>{const h=i,{__scopeToast:r,altText:c}=h,o=q(h,["__scopeToast","altText"]);return m.jsx(ke.div,Y(M({"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":c||void 0},o),{ref:s}))});function im(i){const s=[];return Array.from(i.childNodes).forEach(c=>{if(c.nodeType===c.TEXT_NODE&&c.textContent&&s.push(c.textContent),Qb(c)){const o=c.ariaHidden||c.hidden||c.style.display==="none",h=c.dataset.radixToastAnnounceExclude==="";if(!o)if(h){const v=c.dataset.radixToastAnnounceAlt;v&&s.push(v)}else s.push(...im(c))}}),s}function cs(i,s,r,{discrete:c}){const o=r.originalEvent.currentTarget,h=new CustomEvent(i,{bubbles:!0,cancelable:!0,detail:r});s&&o.addEventListener(i,s,{once:!0}),c?ug(o,h):o.dispatchEvent(h)}var K0=(i,s,r=0)=>{const c=Math.abs(i.x),o=Math.abs(i.y),h=c>o;return s==="left"||s==="right"?h&&c>r:!h&&o>r};function Gb(i=()=>{}){const s=vs(i);nh(()=>{let r=0,c=0;return r=window.requestAnimationFrame(()=>c=window.requestAnimationFrame(s)),()=>{window.cancelAnimationFrame(r),window.cancelAnimationFrame(c)}},[s])}function Qb(i){return i.nodeType===i.ELEMENT_NODE}function Yb(i){const s=[],r=document.createTreeWalker(i,NodeFilter.SHOW_ELEMENT,{acceptNode:c=>{const o=c.tagName==="INPUT"&&c.type==="hidden";return c.disabled||c.hidden||o?NodeFilter.FILTER_SKIP:c.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)s.push(r.currentNode);return s}function Wc(i){const s=document.activeElement;return i.some(r=>r===s?!0:(r.focus(),document.activeElement!==s))}var Zb=J2,um=W2,sm=P2,rm=I2,cm=tm,om=am,fm=Mo;const Xb=Zb,dm=b.forwardRef((c,r)=>{var o=c,{className:i}=o,s=q(o,["className"]);return m.jsx(um,M({ref:r,className:P("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]",i)},s))});dm.displayName=um.displayName;const kb=Ts("group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 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"}}),hm=b.forwardRef((o,c)=>{var h=o,{className:i,variant:s}=h,r=q(h,["className","variant"]);return m.jsx(sm,M({ref:c,className:P(kb({variant:s}),i)},r))});hm.displayName=sm.displayName;const Kb=b.forwardRef((c,r)=>{var o=c,{className:i}=o,s=q(o,["className"]);return m.jsx(om,M({ref:r,className:P("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",i)},s))});Kb.displayName=om.displayName;const mm=b.forwardRef((c,r)=>{var o=c,{className:i}=o,s=q(o,["className"]);return m.jsx(fm,Y(M({ref:r,className:P("absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",i),"toast-close":""},s),{children:m.jsx(Ch,{className:"h-4 w-4"})}))});mm.displayName=fm.displayName;const vm=b.forwardRef((c,r)=>{var o=c,{className:i}=o,s=q(o,["className"]);return m.jsx(rm,M({ref:r,className:P("text-sm font-semibold [&+div]:text-xs",i)},s))});vm.displayName=rm.displayName;const pm=b.forwardRef((c,r)=>{var o=c,{className:i}=o,s=q(o,["className"]);return m.jsx(cm,M({ref:r,className:P("text-sm opacity-90",i)},s))});pm.displayName=cm.displayName;function Jb(){const{toasts:i}=Mb();return m.jsxs(Xb,{children:[i.map(function(v){var x=v,{id:s,title:r,description:c,action:o}=x,h=q(x,["id","title","description","action"]);return m.jsxs(hm,Y(M({},h),{children:[m.jsxs("div",{className:"grid gap-1",children:[r&&m.jsx(vm,{children:r}),c&&m.jsx(pm,{children:c})]}),o,m.jsx(mm,{})]}),s)}),m.jsx(dm,{})]})}const Fb=new Fg;wg.createRoot(document.getElementById("root")).render(m.jsx(wh.StrictMode,{children:m.jsxs($g,{client:Fb,children:[m.jsx(cg,{future:{v7_startTransition:!0,v7_relativeSplatPath:!0},children:m.jsx(e3,{children:m.jsx(k2,{})})}),m.jsx(xb,{initialIsOpen:!1}),m.jsx(Jb,{})]})}));export{no as A,s2 as B,Bg as C,n2 as D,Og as E,i4 as F,s4 as G,Rg as H,r2 as I,N0 as J,Ye as K,xs as L,r4 as M,Cg as N,Ng as O,c4 as P,Rh as Q,Yg as R,X0 as S,Wy as T,_g as U,ne as V,Pg as W,Ig as X,u4 as a,io as b,P as c,uo as d,l4 as e,i2 as f,bo as g,u2 as h,ds as i,ys as j,Bh as k,t3 as l,c3 as m,n4 as n,Ey as o,Ui as p,xo as q,$y as r,Py as s,wb as t,Vh as u,w2 as v,Rl as w,Ts as x,o4 as y,Gi as z};
