function o0(i,r){for(var s=0;s<r.length;s++){const c=r[s];if(typeof c!="string"&&!Array.isArray(c)){for(const d in c)if(d!=="default"&&!(d in i)){const m=Object.getOwnPropertyDescriptor(c,d);m&&Object.defineProperty(i,d,m.get?m:{enumerable:!0,get:()=>c[d]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const d of document.querySelectorAll('link[rel="modulepreload"]'))c(d);new MutationObserver(d=>{for(const m of d)if(m.type==="childList")for(const S of m.addedNodes)S.tagName==="LINK"&&S.rel==="modulepreload"&&c(S)}).observe(document,{childList:!0,subtree:!0});function s(d){const m={};return d.integrity&&(m.integrity=d.integrity),d.referrerPolicy&&(m.referrerPolicy=d.referrerPolicy),d.crossOrigin==="use-credentials"?m.credentials="include":d.crossOrigin==="anonymous"?m.credentials="omit":m.credentials="same-origin",m}function c(d){if(d.ep)return;d.ep=!0;const m=s(d);fetch(d.href,m)}})();function Vm(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var Lr={exports:{}},Zn={};/**
 * @license React
 * react-jsx-runtime.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 dm;function s0(){if(dm)return Zn;dm=1;var i=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function s(c,d,m){var S=null;if(m!==void 0&&(S=""+m),d.key!==void 0&&(S=""+d.key),"key"in d){m={};for(var g in d)g!=="key"&&(m[g]=d[g])}else m=d;return d=m.ref,{$$typeof:i,type:c,key:S,ref:d!==void 0?d:null,props:m}}return Zn.Fragment=r,Zn.jsx=s,Zn.jsxs=s,Zn}var mm;function f0(){return mm||(mm=1,Lr.exports=s0()),Lr.exports}var y=f0(),Yr={exports:{}},ie={};/**
 * @license React
 * react.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 hm;function d0(){if(hm)return ie;hm=1;var i=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),m=Symbol.for("react.consumer"),S=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),E=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),C=Symbol.iterator;function U(b){return b===null||typeof b!="object"?null:(b=C&&b[C]||b["@@iterator"],typeof b=="function"?b:null)}var X={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},W=Object.assign,z={};function G(b,H,V){this.props=b,this.context=H,this.refs=z,this.updater=V||X}G.prototype.isReactComponent={},G.prototype.setState=function(b,H){if(typeof b!="object"&&typeof b!="function"&&b!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,b,H,"setState")},G.prototype.forceUpdate=function(b){this.updater.enqueueForceUpdate(this,b,"forceUpdate")};function I(){}I.prototype=G.prototype;function me(b,H,V){this.props=b,this.context=H,this.refs=z,this.updater=V||X}var te=me.prototype=new I;te.constructor=me,W(te,G.prototype),te.isPureReactComponent=!0;var ue=Array.isArray,Y={H:null,A:null,T:null,S:null,V:null},ne=Object.prototype.hasOwnProperty;function F(b,H,V,q,Q,se){return V=se.ref,{$$typeof:i,type:b,key:H,ref:V!==void 0?V:null,props:se}}function k(b,H){return F(b.type,H,void 0,void 0,void 0,b.props)}function he(b){return typeof b=="object"&&b!==null&&b.$$typeof===i}function ut(b){var H={"=":"=0",":":"=2"};return"$"+b.replace(/[=:]/g,function(V){return H[V]})}var yt=/\/+/g;function Ce(b,H){return typeof b=="object"&&b!==null&&b.key!=null?ut(""+b.key):H.toString(36)}function wt(){}function Ot(b){switch(b.status){case"fulfilled":return b.value;case"rejected":throw b.reason;default:switch(typeof b.status=="string"?b.then(wt,wt):(b.status="pending",b.then(function(H){b.status==="pending"&&(b.status="fulfilled",b.value=H)},function(H){b.status==="pending"&&(b.status="rejected",b.reason=H)})),b.status){case"fulfilled":return b.value;case"rejected":throw b.reason}}throw b}function De(b,H,V,q,Q){var se=typeof b;(se==="undefined"||se==="boolean")&&(b=null);var ae=!1;if(b===null)ae=!0;else switch(se){case"bigint":case"string":case"number":ae=!0;break;case"object":switch(b.$$typeof){case i:case r:ae=!0;break;case A:return ae=b._init,De(ae(b._payload),H,V,q,Q)}}if(ae)return Q=Q(b),ae=q===""?"."+Ce(b,0):q,ue(Q)?(V="",ae!=null&&(V=ae.replace(yt,"$&/")+"/"),De(Q,H,V,"",function(it){return it})):Q!=null&&(he(Q)&&(Q=k(Q,V+(Q.key==null||b&&b.key===Q.key?"":(""+Q.key).replace(yt,"$&/")+"/")+ae)),H.push(Q)),1;ae=0;var ge=q===""?".":q+":";if(ue(b))for(var Ne=0;Ne<b.length;Ne++)q=b[Ne],se=ge+Ce(q,Ne),ae+=De(q,H,V,se,Q);else if(Ne=U(b),typeof Ne=="function")for(b=Ne.call(b),Ne=0;!(q=b.next()).done;)q=q.value,se=ge+Ce(q,Ne++),ae+=De(q,H,V,se,Q);else if(se==="object"){if(typeof b.then=="function")return De(Ot(b),H,V,q,Q);throw H=String(b),Error("Objects are not valid as a React child (found: "+(H==="[object Object]"?"object with keys {"+Object.keys(b).join(", ")+"}":H)+"). If you meant to render a collection of children, use an array instead.")}return ae}function D(b,H,V){if(b==null)return b;var q=[],Q=0;return De(b,q,"","",function(se){return H.call(V,se,Q++)}),q}function L(b){if(b._status===-1){var H=b._result;H=H(),H.then(function(V){(b._status===0||b._status===-1)&&(b._status=1,b._result=V)},function(V){(b._status===0||b._status===-1)&&(b._status=2,b._result=V)}),b._status===-1&&(b._status=0,b._result=H)}if(b._status===1)return b._result.default;throw b._result}var B=typeof reportError=="function"?reportError:function(b){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var H=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof b=="object"&&b!==null&&typeof b.message=="string"?String(b.message):String(b),error:b});if(!window.dispatchEvent(H))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",b);return}console.error(b)};function pe(){}return ie.Children={map:D,forEach:function(b,H,V){D(b,function(){H.apply(this,arguments)},V)},count:function(b){var H=0;return D(b,function(){H++}),H},toArray:function(b){return D(b,function(H){return H})||[]},only:function(b){if(!he(b))throw Error("React.Children.only expected to receive a single React element child.");return b}},ie.Component=G,ie.Fragment=s,ie.Profiler=d,ie.PureComponent=me,ie.StrictMode=c,ie.Suspense=E,ie.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Y,ie.__COMPILER_RUNTIME={__proto__:null,c:function(b){return Y.H.useMemoCache(b)}},ie.cache=function(b){return function(){return b.apply(null,arguments)}},ie.cloneElement=function(b,H,V){if(b==null)throw Error("The argument must be a React element, but you passed "+b+".");var q=W({},b.props),Q=b.key,se=void 0;if(H!=null)for(ae in H.ref!==void 0&&(se=void 0),H.key!==void 0&&(Q=""+H.key),H)!ne.call(H,ae)||ae==="key"||ae==="__self"||ae==="__source"||ae==="ref"&&H.ref===void 0||(q[ae]=H[ae]);var ae=arguments.length-2;if(ae===1)q.children=V;else if(1<ae){for(var ge=Array(ae),Ne=0;Ne<ae;Ne++)ge[Ne]=arguments[Ne+2];q.children=ge}return F(b.type,Q,void 0,void 0,se,q)},ie.createContext=function(b){return b={$$typeof:S,_currentValue:b,_currentValue2:b,_threadCount:0,Provider:null,Consumer:null},b.Provider=b,b.Consumer={$$typeof:m,_context:b},b},ie.createElement=function(b,H,V){var q,Q={},se=null;if(H!=null)for(q in H.key!==void 0&&(se=""+H.key),H)ne.call(H,q)&&q!=="key"&&q!=="__self"&&q!=="__source"&&(Q[q]=H[q]);var ae=arguments.length-2;if(ae===1)Q.children=V;else if(1<ae){for(var ge=Array(ae),Ne=0;Ne<ae;Ne++)ge[Ne]=arguments[Ne+2];Q.children=ge}if(b&&b.defaultProps)for(q in ae=b.defaultProps,ae)Q[q]===void 0&&(Q[q]=ae[q]);return F(b,se,void 0,void 0,null,Q)},ie.createRef=function(){return{current:null}},ie.forwardRef=function(b){return{$$typeof:g,render:b}},ie.isValidElement=he,ie.lazy=function(b){return{$$typeof:A,_payload:{_status:-1,_result:b},_init:L}},ie.memo=function(b,H){return{$$typeof:h,type:b,compare:H===void 0?null:H}},ie.startTransition=function(b){var H=Y.T,V={};Y.T=V;try{var q=b(),Q=Y.S;Q!==null&&Q(V,q),typeof q=="object"&&q!==null&&typeof q.then=="function"&&q.then(pe,B)}catch(se){B(se)}finally{Y.T=H}},ie.unstable_useCacheRefresh=function(){return Y.H.useCacheRefresh()},ie.use=function(b){return Y.H.use(b)},ie.useActionState=function(b,H,V){return Y.H.useActionState(b,H,V)},ie.useCallback=function(b,H){return Y.H.useCallback(b,H)},ie.useContext=function(b){return Y.H.useContext(b)},ie.useDebugValue=function(){},ie.useDeferredValue=function(b,H){return Y.H.useDeferredValue(b,H)},ie.useEffect=function(b,H,V){var q=Y.H;if(typeof V=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return q.useEffect(b,H)},ie.useId=function(){return Y.H.useId()},ie.useImperativeHandle=function(b,H,V){return Y.H.useImperativeHandle(b,H,V)},ie.useInsertionEffect=function(b,H){return Y.H.useInsertionEffect(b,H)},ie.useLayoutEffect=function(b,H){return Y.H.useLayoutEffect(b,H)},ie.useMemo=function(b,H){return Y.H.useMemo(b,H)},ie.useOptimistic=function(b,H){return Y.H.useOptimistic(b,H)},ie.useReducer=function(b,H,V){return Y.H.useReducer(b,H,V)},ie.useRef=function(b){return Y.H.useRef(b)},ie.useState=function(b){return Y.H.useState(b)},ie.useSyncExternalStore=function(b,H,V){return Y.H.useSyncExternalStore(b,H,V)},ie.useTransition=function(){return Y.H.useTransition()},ie.version="19.1.0",ie}var vm;function oo(){return vm||(vm=1,Yr.exports=d0()),Yr.exports}var T=oo();const m0=Vm(T),Qm=o0({__proto__:null,default:m0},[T]);var Gr={exports:{}},Kn={},kr={exports:{}},Xr={};/**
 * @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 gm;function h0(){return gm||(gm=1,function(i){function r(D,L){var B=D.length;D.push(L);e:for(;0<B;){var pe=B-1>>>1,b=D[pe];if(0<d(b,L))D[pe]=L,D[B]=b,B=pe;else break e}}function s(D){return D.length===0?null:D[0]}function c(D){if(D.length===0)return null;var L=D[0],B=D.pop();if(B!==L){D[0]=B;e:for(var pe=0,b=D.length,H=b>>>1;pe<H;){var V=2*(pe+1)-1,q=D[V],Q=V+1,se=D[Q];if(0>d(q,B))Q<b&&0>d(se,q)?(D[pe]=se,D[Q]=B,pe=Q):(D[pe]=q,D[V]=B,pe=V);else if(Q<b&&0>d(se,B))D[pe]=se,D[Q]=B,pe=Q;else break e}}return L}function d(D,L){var B=D.sortIndex-L.sortIndex;return B!==0?B:D.id-L.id}if(i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var m=performance;i.unstable_now=function(){return m.now()}}else{var S=Date,g=S.now();i.unstable_now=function(){return S.now()-g}}var E=[],h=[],A=1,C=null,U=3,X=!1,W=!1,z=!1,G=!1,I=typeof setTimeout=="function"?setTimeout:null,me=typeof clearTimeout=="function"?clearTimeout:null,te=typeof setImmediate<"u"?setImmediate:null;function ue(D){for(var L=s(h);L!==null;){if(L.callback===null)c(h);else if(L.startTime<=D)c(h),L.sortIndex=L.expirationTime,r(E,L);else break;L=s(h)}}function Y(D){if(z=!1,ue(D),!W)if(s(E)!==null)W=!0,ne||(ne=!0,Ce());else{var L=s(h);L!==null&&De(Y,L.startTime-D)}}var ne=!1,F=-1,k=5,he=-1;function ut(){return G?!0:!(i.unstable_now()-he<k)}function yt(){if(G=!1,ne){var D=i.unstable_now();he=D;var L=!0;try{e:{W=!1,z&&(z=!1,me(F),F=-1),X=!0;var B=U;try{t:{for(ue(D),C=s(E);C!==null&&!(C.expirationTime>D&&ut());){var pe=C.callback;if(typeof pe=="function"){C.callback=null,U=C.priorityLevel;var b=pe(C.expirationTime<=D);if(D=i.unstable_now(),typeof b=="function"){C.callback=b,ue(D),L=!0;break t}C===s(E)&&c(E),ue(D)}else c(E);C=s(E)}if(C!==null)L=!0;else{var H=s(h);H!==null&&De(Y,H.startTime-D),L=!1}}break e}finally{C=null,U=B,X=!1}L=void 0}}finally{L?Ce():ne=!1}}}var Ce;if(typeof te=="function")Ce=function(){te(yt)};else if(typeof MessageChannel<"u"){var wt=new MessageChannel,Ot=wt.port2;wt.port1.onmessage=yt,Ce=function(){Ot.postMessage(null)}}else Ce=function(){I(yt,0)};function De(D,L){F=I(function(){D(i.unstable_now())},L)}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(D){D.callback=null},i.unstable_forceFrameRate=function(D){0>D||125<D?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):k=0<D?Math.floor(1e3/D):5},i.unstable_getCurrentPriorityLevel=function(){return U},i.unstable_next=function(D){switch(U){case 1:case 2:case 3:var L=3;break;default:L=U}var B=U;U=L;try{return D()}finally{U=B}},i.unstable_requestPaint=function(){G=!0},i.unstable_runWithPriority=function(D,L){switch(D){case 1:case 2:case 3:case 4:case 5:break;default:D=3}var B=U;U=D;try{return L()}finally{U=B}},i.unstable_scheduleCallback=function(D,L,B){var pe=i.unstable_now();switch(typeof B=="object"&&B!==null?(B=B.delay,B=typeof B=="number"&&0<B?pe+B:pe):B=pe,D){case 1:var b=-1;break;case 2:b=250;break;case 5:b=1073741823;break;case 4:b=1e4;break;default:b=5e3}return b=B+b,D={id:A++,callback:L,priorityLevel:D,startTime:B,expirationTime:b,sortIndex:-1},B>pe?(D.sortIndex=B,r(h,D),s(E)===null&&D===s(h)&&(z?(me(F),F=-1):z=!0,De(Y,B-pe))):(D.sortIndex=b,r(E,D),W||X||(W=!0,ne||(ne=!0,Ce()))),D},i.unstable_shouldYield=ut,i.unstable_wrapCallback=function(D){var L=U;return function(){var B=U;U=L;try{return D.apply(this,arguments)}finally{U=B}}}}(Xr)),Xr}var ym;function v0(){return ym||(ym=1,kr.exports=h0()),kr.exports}var Vr={exports:{}},Fe={};/**
 * @license React
 * react-dom.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 bm;function g0(){if(bm)return Fe;bm=1;var i=oo();function r(E){var h="https://react.dev/errors/"+E;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var A=2;A<arguments.length;A++)h+="&args[]="+encodeURIComponent(arguments[A])}return"Minified React error #"+E+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(){}var c={d:{f:s,r:function(){throw Error(r(522))},D:s,C:s,L:s,m:s,X:s,S:s,M:s},p:0,findDOMNode:null},d=Symbol.for("react.portal");function m(E,h,A){var C=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:d,key:C==null?null:""+C,children:E,containerInfo:h,implementation:A}}var S=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function g(E,h){if(E==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return Fe.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=c,Fe.createPortal=function(E,h){var A=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11)throw Error(r(299));return m(E,h,null,A)},Fe.flushSync=function(E){var h=S.T,A=c.p;try{if(S.T=null,c.p=2,E)return E()}finally{S.T=h,c.p=A,c.d.f()}},Fe.preconnect=function(E,h){typeof E=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,c.d.C(E,h))},Fe.prefetchDNS=function(E){typeof E=="string"&&c.d.D(E)},Fe.preinit=function(E,h){if(typeof E=="string"&&h&&typeof h.as=="string"){var A=h.as,C=g(A,h.crossOrigin),U=typeof h.integrity=="string"?h.integrity:void 0,X=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;A==="style"?c.d.S(E,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:C,integrity:U,fetchPriority:X}):A==="script"&&c.d.X(E,{crossOrigin:C,integrity:U,fetchPriority:X,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},Fe.preinitModule=function(E,h){if(typeof E=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var A=g(h.as,h.crossOrigin);c.d.M(E,{crossOrigin:A,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0})}}else h==null&&c.d.M(E)},Fe.preload=function(E,h){if(typeof E=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var A=h.as,C=g(A,h.crossOrigin);c.d.L(E,A,{crossOrigin:C,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0,type:typeof h.type=="string"?h.type:void 0,fetchPriority:typeof h.fetchPriority=="string"?h.fetchPriority:void 0,referrerPolicy:typeof h.referrerPolicy=="string"?h.referrerPolicy:void 0,imageSrcSet:typeof h.imageSrcSet=="string"?h.imageSrcSet:void 0,imageSizes:typeof h.imageSizes=="string"?h.imageSizes:void 0,media:typeof h.media=="string"?h.media:void 0})}},Fe.preloadModule=function(E,h){if(typeof E=="string")if(h){var A=g(h.as,h.crossOrigin);c.d.m(E,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:A,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else c.d.m(E)},Fe.requestFormReset=function(E){c.d.r(E)},Fe.unstable_batchedUpdates=function(E,h){return E(h)},Fe.useFormState=function(E,h,A){return S.H.useFormState(E,h,A)},Fe.useFormStatus=function(){return S.H.useHostTransitionStatus()},Fe.version="19.1.0",Fe}var pm;function Zm(){if(pm)return Vr.exports;pm=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(r){console.error(r)}}return i(),Vr.exports=g0(),Vr.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 Sm;function y0(){if(Sm)return Kn;Sm=1;var i=v0(),r=oo(),s=Zm();function c(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)t+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function d(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function m(e){var t=e,l=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(l=t.return),e=t.return;while(e)}return t.tag===3?l:null}function S(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function g(e){if(m(e)!==e)throw Error(c(188))}function E(e){var t=e.alternate;if(!t){if(t=m(e),t===null)throw Error(c(188));return t!==e?null:e}for(var l=e,a=t;;){var n=l.return;if(n===null)break;var u=n.alternate;if(u===null){if(a=n.return,a!==null){l=a;continue}break}if(n.child===u.child){for(u=n.child;u;){if(u===l)return g(n),e;if(u===a)return g(n),t;u=u.sibling}throw Error(c(188))}if(l.return!==a.return)l=n,a=u;else{for(var o=!1,f=n.child;f;){if(f===l){o=!0,l=n,a=u;break}if(f===a){o=!0,a=n,l=u;break}f=f.sibling}if(!o){for(f=u.child;f;){if(f===l){o=!0,l=u,a=n;break}if(f===a){o=!0,a=u,l=n;break}f=f.sibling}if(!o)throw Error(c(189))}}if(l.alternate!==a)throw Error(c(190))}if(l.tag!==3)throw Error(c(188));return l.stateNode.current===l?e:t}function h(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=h(e),t!==null)return t;e=e.sibling}return null}var A=Object.assign,C=Symbol.for("react.element"),U=Symbol.for("react.transitional.element"),X=Symbol.for("react.portal"),W=Symbol.for("react.fragment"),z=Symbol.for("react.strict_mode"),G=Symbol.for("react.profiler"),I=Symbol.for("react.provider"),me=Symbol.for("react.consumer"),te=Symbol.for("react.context"),ue=Symbol.for("react.forward_ref"),Y=Symbol.for("react.suspense"),ne=Symbol.for("react.suspense_list"),F=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),he=Symbol.for("react.activity"),ut=Symbol.for("react.memo_cache_sentinel"),yt=Symbol.iterator;function Ce(e){return e===null||typeof e!="object"?null:(e=yt&&e[yt]||e["@@iterator"],typeof e=="function"?e:null)}var wt=Symbol.for("react.client.reference");function Ot(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===wt?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case W:return"Fragment";case G:return"Profiler";case z:return"StrictMode";case Y:return"Suspense";case ne:return"SuspenseList";case he:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case X:return"Portal";case te:return(e.displayName||"Context")+".Provider";case me:return(e._context.displayName||"Context")+".Consumer";case ue:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case F:return t=e.displayName||null,t!==null?t:Ot(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return Ot(e(t))}catch{}}return null}var De=Array.isArray,D=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,L=s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,B={pending:!1,data:null,method:null,action:null},pe=[],b=-1;function H(e){return{current:e}}function V(e){0>b||(e.current=pe[b],pe[b]=null,b--)}function q(e,t){b++,pe[b]=e.current,e.current=t}var Q=H(null),se=H(null),ae=H(null),ge=H(null);function Ne(e,t){switch(q(ae,t),q(se,e),q(Q,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Yd(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Yd(t),e=Gd(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}V(Q),q(Q,e)}function it(){V(Q),V(se),V(ae)}function al(e){e.memoizedState!==null&&q(ge,e);var t=Q.current,l=Gd(t,e.type);t!==l&&(q(se,e),q(Q,l))}function nl(e){se.current===e&&(V(Q),V(se)),ge.current===e&&(V(ge),Gn._currentValue=B)}var ul=Object.prototype.hasOwnProperty,_i=i.unstable_scheduleCallback,Oi=i.unstable_cancelCallback,Gh=i.unstable_shouldYield,kh=i.unstable_requestPaint,Ct=i.unstable_now,Xh=i.unstable_getCurrentPriorityLevel,po=i.unstable_ImmediatePriority,So=i.unstable_UserBlockingPriority,Fn=i.unstable_NormalPriority,Vh=i.unstable_LowPriority,xo=i.unstable_IdlePriority,Qh=i.log,Zh=i.unstable_setDisableYieldValue,Ja=null,ct=null;function il(e){if(typeof Qh=="function"&&Zh(e),ct&&typeof ct.setStrictMode=="function")try{ct.setStrictMode(Ja,e)}catch{}}var rt=Math.clz32?Math.clz32:Wh,Kh=Math.log,Jh=Math.LN2;function Wh(e){return e>>>=0,e===0?32:31-(Kh(e)/Jh|0)|0}var Pn=256,In=4194304;function jl(e){var t=e&42;if(t!==0)return t;switch(e&-e){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 e&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function eu(e,t,l){var a=e.pendingLanes;if(a===0)return 0;var n=0,u=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var f=a&134217727;return f!==0?(a=f&~u,a!==0?n=jl(a):(o&=f,o!==0?n=jl(o):l||(l=f&~e,l!==0&&(n=jl(l))))):(f=a&~u,f!==0?n=jl(f):o!==0?n=jl(o):l||(l=a&~e,l!==0&&(n=jl(l)))),n===0?0:t!==0&&t!==n&&(t&u)===0&&(u=n&-n,l=t&-t,u>=l||u===32&&(l&4194048)!==0)?t:n}function Wa(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function $h(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+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 t+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 Eo(){var e=Pn;return Pn<<=1,(Pn&4194048)===0&&(Pn=256),e}function Ao(){var e=In;return In<<=1,(In&62914560)===0&&(In=4194304),e}function Mi(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function $a(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Fh(e,t,l,a,n,u){var o=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var f=e.entanglements,v=e.expirationTimes,_=e.hiddenUpdates;for(l=o&~l;0<l;){var R=31-rt(l),j=1<<R;f[R]=0,v[R]=-1;var O=_[R];if(O!==null)for(_[R]=null,R=0;R<O.length;R++){var M=O[R];M!==null&&(M.lane&=-536870913)}l&=~j}a!==0&&To(e,a,0),u!==0&&n===0&&e.tag!==0&&(e.suspendedLanes|=u&~(o&~t))}function To(e,t,l){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-rt(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|l&4194090}function No(e,t){var l=e.entangledLanes|=t;for(e=e.entanglements;l;){var a=31-rt(l),n=1<<a;n&t|e[a]&t&&(e[a]|=t),l&=~n}}function Di(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function zi(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function _o(){var e=L.p;return e!==0?e:(e=window.event,e===void 0?32:im(e.type))}function Ph(e,t){var l=L.p;try{return L.p=e,t()}finally{L.p=l}}var cl=Math.random().toString(36).slice(2),We="__reactFiber$"+cl,Ie="__reactProps$"+cl,ea="__reactContainer$"+cl,Ri="__reactEvents$"+cl,Ih="__reactListeners$"+cl,ev="__reactHandles$"+cl,Oo="__reactResources$"+cl,Fa="__reactMarker$"+cl;function wi(e){delete e[We],delete e[Ie],delete e[Ri],delete e[Ih],delete e[ev]}function ta(e){var t=e[We];if(t)return t;for(var l=e.parentNode;l;){if(t=l[ea]||l[We]){if(l=t.alternate,t.child!==null||l!==null&&l.child!==null)for(e=Qd(e);e!==null;){if(l=e[We])return l;e=Qd(e)}return t}e=l,l=e.parentNode}return null}function la(e){if(e=e[We]||e[ea]){var t=e.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return e}return null}function Pa(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(c(33))}function aa(e){var t=e[Oo];return t||(t=e[Oo]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Ge(e){e[Fa]=!0}var Mo=new Set,Do={};function Ul(e,t){na(e,t),na(e+"Capture",t)}function na(e,t){for(Do[e]=t,e=0;e<t.length;e++)Mo.add(t[e])}var tv=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]*$"),zo={},Ro={};function lv(e){return ul.call(Ro,e)?!0:ul.call(zo,e)?!1:tv.test(e)?Ro[e]=!0:(zo[e]=!0,!1)}function tu(e,t,l){if(lv(t))if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+l)}}function lu(e,t,l){if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+l)}}function Gt(e,t,l,a){if(a===null)e.removeAttribute(l);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(l);return}e.setAttributeNS(t,l,""+a)}}var Ci,wo;function ua(e){if(Ci===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);Ci=t&&t[1]||"",wo=-1<l.stack.indexOf(`
    at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
`+Ci+e+wo}var ji=!1;function Ui(e,t){if(!e||ji)return"";ji=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var j=function(){throw Error()};if(Object.defineProperty(j.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(j,[])}catch(M){var O=M}Reflect.construct(e,[],j)}else{try{j.call()}catch(M){O=M}e.call(j.prototype)}}else{try{throw Error()}catch(M){O=M}(j=e())&&typeof j.catch=="function"&&j.catch(function(){})}}catch(M){if(M&&O&&typeof M.stack=="string")return[M.stack,O.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=a.DetermineComponentFrameRoot(),o=u[0],f=u[1];if(o&&f){var v=o.split(`
`),_=f.split(`
`);for(n=a=0;a<v.length&&!v[a].includes("DetermineComponentFrameRoot");)a++;for(;n<_.length&&!_[n].includes("DetermineComponentFrameRoot");)n++;if(a===v.length||n===_.length)for(a=v.length-1,n=_.length-1;1<=a&&0<=n&&v[a]!==_[n];)n--;for(;1<=a&&0<=n;a--,n--)if(v[a]!==_[n]){if(a!==1||n!==1)do if(a--,n--,0>n||v[a]!==_[n]){var R=`
`+v[a].replace(" at new "," at ");return e.displayName&&R.includes("<anonymous>")&&(R=R.replace("<anonymous>",e.displayName)),R}while(1<=a&&0<=n);break}}}finally{ji=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?ua(l):""}function av(e){switch(e.tag){case 26:case 27:case 5:return ua(e.type);case 16:return ua("Lazy");case 13:return ua("Suspense");case 19:return ua("SuspenseList");case 0:case 15:return Ui(e.type,!1);case 11:return Ui(e.type.render,!1);case 1:return Ui(e.type,!0);case 31:return ua("Activity");default:return""}}function Co(e){try{var t="";do t+=av(e),e=e.return;while(e);return t}catch(l){return`
Error generating stack: `+l.message+`
`+l.stack}}function bt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function jo(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function nv(e){var t=jo(e)?"checked":"value",l=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),a=""+e[t];if(!e.hasOwnProperty(t)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var n=l.get,u=l.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return n.call(this)},set:function(o){a=""+o,u.call(this,o)}}),Object.defineProperty(e,t,{enumerable:l.enumerable}),{getValue:function(){return a},setValue:function(o){a=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function au(e){e._valueTracker||(e._valueTracker=nv(e))}function Uo(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var l=t.getValue(),a="";return e&&(a=jo(e)?e.checked?"true":"false":e.value),e=a,e!==l?(t.setValue(e),!0):!1}function nu(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var uv=/[\n"\\]/g;function pt(e){return e.replace(uv,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Hi(e,t,l,a,n,u,o,f){e.name="",o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"?e.type=o:e.removeAttribute("type"),t!=null?o==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+bt(t)):e.value!==""+bt(t)&&(e.value=""+bt(t)):o!=="submit"&&o!=="reset"||e.removeAttribute("value"),t!=null?Bi(e,o,bt(t)):l!=null?Bi(e,o,bt(l)):a!=null&&e.removeAttribute("value"),n==null&&u!=null&&(e.defaultChecked=!!u),n!=null&&(e.checked=n&&typeof n!="function"&&typeof n!="symbol"),f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"?e.name=""+bt(f):e.removeAttribute("name")}function Ho(e,t,l,a,n,u,o,f){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(e.type=u),t!=null||l!=null){if(!(u!=="submit"&&u!=="reset"||t!=null))return;l=l!=null?""+bt(l):"",t=t!=null?""+bt(t):l,f||t===e.value||(e.value=t),e.defaultValue=t}a=a??n,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=f?e.checked:!!a,e.defaultChecked=!!a,o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"&&(e.name=o)}function Bi(e,t,l){t==="number"&&nu(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function ia(e,t,l,a){if(e=e.options,t){t={};for(var n=0;n<l.length;n++)t["$"+l[n]]=!0;for(l=0;l<e.length;l++)n=t.hasOwnProperty("$"+e[l].value),e[l].selected!==n&&(e[l].selected=n),n&&a&&(e[l].defaultSelected=!0)}else{for(l=""+bt(l),t=null,n=0;n<e.length;n++){if(e[n].value===l){e[n].selected=!0,a&&(e[n].defaultSelected=!0);return}t!==null||e[n].disabled||(t=e[n])}t!==null&&(t.selected=!0)}}function Bo(e,t,l){if(t!=null&&(t=""+bt(t),t!==e.value&&(e.value=t),l==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=l!=null?""+bt(l):""}function qo(e,t,l,a){if(t==null){if(a!=null){if(l!=null)throw Error(c(92));if(De(a)){if(1<a.length)throw Error(c(93));a=a[0]}l=a}l==null&&(l=""),t=l}l=bt(t),e.defaultValue=l,a=e.textContent,a===l&&a!==""&&a!==null&&(e.value=a)}function ca(e,t){if(t){var l=e.firstChild;if(l&&l===e.lastChild&&l.nodeType===3){l.nodeValue=t;return}}e.textContent=t}var iv=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 Lo(e,t,l){var a=t.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?a?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":a?e.setProperty(t,l):typeof l!="number"||l===0||iv.has(t)?t==="float"?e.cssFloat=l:e[t]=(""+l).trim():e[t]=l+"px"}function Yo(e,t,l){if(t!=null&&typeof t!="object")throw Error(c(62));if(e=e.style,l!=null){for(var a in l)!l.hasOwnProperty(a)||t!=null&&t.hasOwnProperty(a)||(a.indexOf("--")===0?e.setProperty(a,""):a==="float"?e.cssFloat="":e[a]="");for(var n in t)a=t[n],t.hasOwnProperty(n)&&l[n]!==a&&Lo(e,n,a)}else for(var u in t)t.hasOwnProperty(u)&&Lo(e,u,t[u])}function qi(e){if(e.indexOf("-")===-1)return!1;switch(e){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 cv=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"]]),rv=/^[\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 uu(e){return rv.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var Li=null;function Yi(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ra=null,oa=null;function Go(e){var t=la(e);if(t&&(e=t.stateNode)){var l=e[Ie]||null;e:switch(e=t.stateNode,t.type){case"input":if(Hi(e,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),t=l.name,l.type==="radio"&&t!=null){for(l=e;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+pt(""+t)+'"][type="radio"]'),t=0;t<l.length;t++){var a=l[t];if(a!==e&&a.form===e.form){var n=a[Ie]||null;if(!n)throw Error(c(90));Hi(a,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(t=0;t<l.length;t++)a=l[t],a.form===e.form&&Uo(a)}break e;case"textarea":Bo(e,l.value,l.defaultValue);break e;case"select":t=l.value,t!=null&&ia(e,!!l.multiple,t,!1)}}}var Gi=!1;function ko(e,t,l){if(Gi)return e(t,l);Gi=!0;try{var a=e(t);return a}finally{if(Gi=!1,(ra!==null||oa!==null)&&(Vu(),ra&&(t=ra,e=oa,oa=ra=null,Go(t),e)))for(t=0;t<e.length;t++)Go(e[t])}}function Ia(e,t){var l=e.stateNode;if(l===null)return null;var a=l[Ie]||null;if(a===null)return null;l=a[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(l&&typeof l!="function")throw Error(c(231,t,typeof l));return l}var kt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ki=!1;if(kt)try{var en={};Object.defineProperty(en,"passive",{get:function(){ki=!0}}),window.addEventListener("test",en,en),window.removeEventListener("test",en,en)}catch{ki=!1}var rl=null,Xi=null,iu=null;function Xo(){if(iu)return iu;var e,t=Xi,l=t.length,a,n="value"in rl?rl.value:rl.textContent,u=n.length;for(e=0;e<l&&t[e]===n[e];e++);var o=l-e;for(a=1;a<=o&&t[l-a]===n[u-a];a++);return iu=n.slice(e,1<a?1-a:void 0)}function cu(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function ru(){return!0}function Vo(){return!1}function et(e){function t(l,a,n,u,o){this._reactName=l,this._targetInst=n,this.type=a,this.nativeEvent=u,this.target=o,this.currentTarget=null;for(var f in e)e.hasOwnProperty(f)&&(l=e[f],this[f]=l?l(u):u[f]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?ru:Vo,this.isPropagationStopped=Vo,this}return A(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=ru)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=ru)},persist:function(){},isPersistent:ru}),t}var Hl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ou=et(Hl),tn=A({},Hl,{view:0,detail:0}),ov=et(tn),Vi,Qi,ln,su=A({},tn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ki,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ln&&(ln&&e.type==="mousemove"?(Vi=e.screenX-ln.screenX,Qi=e.screenY-ln.screenY):Qi=Vi=0,ln=e),Vi)},movementY:function(e){return"movementY"in e?e.movementY:Qi}}),Qo=et(su),sv=A({},su,{dataTransfer:0}),fv=et(sv),dv=A({},tn,{relatedTarget:0}),Zi=et(dv),mv=A({},Hl,{animationName:0,elapsedTime:0,pseudoElement:0}),hv=et(mv),vv=A({},Hl,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),gv=et(vv),yv=A({},Hl,{data:0}),Zo=et(yv),bv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},pv={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"},Sv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function xv(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Sv[e])?!!t[e]:!1}function Ki(){return xv}var Ev=A({},tn,{key:function(e){if(e.key){var t=bv[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=cu(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?pv[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ki,charCode:function(e){return e.type==="keypress"?cu(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?cu(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Av=et(Ev),Tv=A({},su,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ko=et(Tv),Nv=A({},tn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ki}),_v=et(Nv),Ov=A({},Hl,{propertyName:0,elapsedTime:0,pseudoElement:0}),Mv=et(Ov),Dv=A({},su,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),zv=et(Dv),Rv=A({},Hl,{newState:0,oldState:0}),wv=et(Rv),Cv=[9,13,27,32],Ji=kt&&"CompositionEvent"in window,an=null;kt&&"documentMode"in document&&(an=document.documentMode);var jv=kt&&"TextEvent"in window&&!an,Jo=kt&&(!Ji||an&&8<an&&11>=an),Wo=" ",$o=!1;function Fo(e,t){switch(e){case"keyup":return Cv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Po(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var sa=!1;function Uv(e,t){switch(e){case"compositionend":return Po(t);case"keypress":return t.which!==32?null:($o=!0,Wo);case"textInput":return e=t.data,e===Wo&&$o?null:e;default:return null}}function Hv(e,t){if(sa)return e==="compositionend"||!Ji&&Fo(e,t)?(e=Xo(),iu=Xi=rl=null,sa=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Jo&&t.locale!=="ko"?null:t.data;default:return null}}var Bv={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 Io(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Bv[e.type]:t==="textarea"}function es(e,t,l,a){ra?oa?oa.push(a):oa=[a]:ra=a,t=$u(t,"onChange"),0<t.length&&(l=new ou("onChange","change",null,l,a),e.push({event:l,listeners:t}))}var nn=null,un=null;function qv(e){Ud(e,0)}function fu(e){var t=Pa(e);if(Uo(t))return e}function ts(e,t){if(e==="change")return t}var ls=!1;if(kt){var Wi;if(kt){var $i="oninput"in document;if(!$i){var as=document.createElement("div");as.setAttribute("oninput","return;"),$i=typeof as.oninput=="function"}Wi=$i}else Wi=!1;ls=Wi&&(!document.documentMode||9<document.documentMode)}function ns(){nn&&(nn.detachEvent("onpropertychange",us),un=nn=null)}function us(e){if(e.propertyName==="value"&&fu(un)){var t=[];es(t,un,e,Yi(e)),ko(qv,t)}}function Lv(e,t,l){e==="focusin"?(ns(),nn=t,un=l,nn.attachEvent("onpropertychange",us)):e==="focusout"&&ns()}function Yv(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return fu(un)}function Gv(e,t){if(e==="click")return fu(t)}function kv(e,t){if(e==="input"||e==="change")return fu(t)}function Xv(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ot=typeof Object.is=="function"?Object.is:Xv;function cn(e,t){if(ot(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var l=Object.keys(e),a=Object.keys(t);if(l.length!==a.length)return!1;for(a=0;a<l.length;a++){var n=l[a];if(!ul.call(t,n)||!ot(e[n],t[n]))return!1}return!0}function is(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cs(e,t){var l=is(e);e=0;for(var a;l;){if(l.nodeType===3){if(a=e+l.textContent.length,e<=t&&a>=t)return{node:l,offset:t-e};e=a}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=is(l)}}function rs(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?rs(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function os(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=nu(e.document);t instanceof e.HTMLIFrameElement;){try{var l=typeof t.contentWindow.location.href=="string"}catch{l=!1}if(l)e=t.contentWindow;else break;t=nu(e.document)}return t}function Fi(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var Vv=kt&&"documentMode"in document&&11>=document.documentMode,fa=null,Pi=null,rn=null,Ii=!1;function ss(e,t,l){var a=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Ii||fa==null||fa!==nu(a)||(a=fa,"selectionStart"in a&&Fi(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),rn&&cn(rn,a)||(rn=a,a=$u(Pi,"onSelect"),0<a.length&&(t=new ou("onSelect","select",null,t,l),e.push({event:t,listeners:a}),t.target=fa)))}function Bl(e,t){var l={};return l[e.toLowerCase()]=t.toLowerCase(),l["Webkit"+e]="webkit"+t,l["Moz"+e]="moz"+t,l}var da={animationend:Bl("Animation","AnimationEnd"),animationiteration:Bl("Animation","AnimationIteration"),animationstart:Bl("Animation","AnimationStart"),transitionrun:Bl("Transition","TransitionRun"),transitionstart:Bl("Transition","TransitionStart"),transitioncancel:Bl("Transition","TransitionCancel"),transitionend:Bl("Transition","TransitionEnd")},ec={},fs={};kt&&(fs=document.createElement("div").style,"AnimationEvent"in window||(delete da.animationend.animation,delete da.animationiteration.animation,delete da.animationstart.animation),"TransitionEvent"in window||delete da.transitionend.transition);function ql(e){if(ec[e])return ec[e];if(!da[e])return e;var t=da[e],l;for(l in t)if(t.hasOwnProperty(l)&&l in fs)return ec[e]=t[l];return e}var ds=ql("animationend"),ms=ql("animationiteration"),hs=ql("animationstart"),Qv=ql("transitionrun"),Zv=ql("transitionstart"),Kv=ql("transitioncancel"),vs=ql("transitionend"),gs=new Map,tc="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(" ");tc.push("scrollEnd");function Mt(e,t){gs.set(e,t),Ul(t,[e])}var ys=new WeakMap;function St(e,t){if(typeof e=="object"&&e!==null){var l=ys.get(e);return l!==void 0?l:(t={value:e,source:t,stack:Co(t)},ys.set(e,t),t)}return{value:e,source:t,stack:Co(t)}}var xt=[],ma=0,lc=0;function du(){for(var e=ma,t=lc=ma=0;t<e;){var l=xt[t];xt[t++]=null;var a=xt[t];xt[t++]=null;var n=xt[t];xt[t++]=null;var u=xt[t];if(xt[t++]=null,a!==null&&n!==null){var o=a.pending;o===null?n.next=n:(n.next=o.next,o.next=n),a.pending=n}u!==0&&bs(l,n,u)}}function mu(e,t,l,a){xt[ma++]=e,xt[ma++]=t,xt[ma++]=l,xt[ma++]=a,lc|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function ac(e,t,l,a){return mu(e,t,l,a),hu(e)}function ha(e,t){return mu(e,null,null,t),hu(e)}function bs(e,t,l){e.lanes|=l;var a=e.alternate;a!==null&&(a.lanes|=l);for(var n=!1,u=e.return;u!==null;)u.childLanes|=l,a=u.alternate,a!==null&&(a.childLanes|=l),u.tag===22&&(e=u.stateNode,e===null||e._visibility&1||(n=!0)),e=u,u=u.return;return e.tag===3?(u=e.stateNode,n&&t!==null&&(n=31-rt(l),e=u.hiddenUpdates,a=e[n],a===null?e[n]=[t]:a.push(t),t.lane=l|536870912),u):null}function hu(e){if(50<Cn)throw Cn=0,or=null,Error(c(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var va={};function Jv(e,t,l,a){this.tag=e,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function st(e,t,l,a){return new Jv(e,t,l,a)}function nc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Xt(e,t){var l=e.alternate;return l===null?(l=st(e.tag,t,e.key,e.mode),l.elementType=e.elementType,l.type=e.type,l.stateNode=e.stateNode,l.alternate=e,e.alternate=l):(l.pendingProps=t,l.type=e.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=e.flags&65011712,l.childLanes=e.childLanes,l.lanes=e.lanes,l.child=e.child,l.memoizedProps=e.memoizedProps,l.memoizedState=e.memoizedState,l.updateQueue=e.updateQueue,t=e.dependencies,l.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},l.sibling=e.sibling,l.index=e.index,l.ref=e.ref,l.refCleanup=e.refCleanup,l}function ps(e,t){e.flags&=65011714;var l=e.alternate;return l===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=l.childLanes,e.lanes=l.lanes,e.child=l.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=l.memoizedProps,e.memoizedState=l.memoizedState,e.updateQueue=l.updateQueue,e.type=l.type,t=l.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function vu(e,t,l,a,n,u){var o=0;if(a=e,typeof e=="function")nc(e)&&(o=1);else if(typeof e=="string")o=$g(e,l,Q.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case he:return e=st(31,l,t,n),e.elementType=he,e.lanes=u,e;case W:return Ll(l.children,n,u,t);case z:o=8,n|=24;break;case G:return e=st(12,l,t,n|2),e.elementType=G,e.lanes=u,e;case Y:return e=st(13,l,t,n),e.elementType=Y,e.lanes=u,e;case ne:return e=st(19,l,t,n),e.elementType=ne,e.lanes=u,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case I:case te:o=10;break e;case me:o=9;break e;case ue:o=11;break e;case F:o=14;break e;case k:o=16,a=null;break e}o=29,l=Error(c(130,e===null?"null":typeof e,"")),a=null}return t=st(o,l,t,n),t.elementType=e,t.type=a,t.lanes=u,t}function Ll(e,t,l,a){return e=st(7,e,a,t),e.lanes=l,e}function uc(e,t,l){return e=st(6,e,null,t),e.lanes=l,e}function ic(e,t,l){return t=st(4,e.children!==null?e.children:[],e.key,t),t.lanes=l,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var ga=[],ya=0,gu=null,yu=0,Et=[],At=0,Yl=null,Vt=1,Qt="";function Gl(e,t){ga[ya++]=yu,ga[ya++]=gu,gu=e,yu=t}function Ss(e,t,l){Et[At++]=Vt,Et[At++]=Qt,Et[At++]=Yl,Yl=e;var a=Vt;e=Qt;var n=32-rt(a)-1;a&=~(1<<n),l+=1;var u=32-rt(t)+n;if(30<u){var o=n-n%5;u=(a&(1<<o)-1).toString(32),a>>=o,n-=o,Vt=1<<32-rt(t)+n|l<<n|a,Qt=u+e}else Vt=1<<u|l<<n|a,Qt=e}function cc(e){e.return!==null&&(Gl(e,1),Ss(e,1,0))}function rc(e){for(;e===gu;)gu=ga[--ya],ga[ya]=null,yu=ga[--ya],ga[ya]=null;for(;e===Yl;)Yl=Et[--At],Et[At]=null,Qt=Et[--At],Et[At]=null,Vt=Et[--At],Et[At]=null}var Pe=null,Re=null,be=!1,kl=null,jt=!1,oc=Error(c(519));function Xl(e){var t=Error(c(418,""));throw fn(St(t,e)),oc}function xs(e){var t=e.stateNode,l=e.type,a=e.memoizedProps;switch(t[We]=e,t[Ie]=a,l){case"dialog":de("cancel",t),de("close",t);break;case"iframe":case"object":case"embed":de("load",t);break;case"video":case"audio":for(l=0;l<Un.length;l++)de(Un[l],t);break;case"source":de("error",t);break;case"img":case"image":case"link":de("error",t),de("load",t);break;case"details":de("toggle",t);break;case"input":de("invalid",t),Ho(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0),au(t);break;case"select":de("invalid",t);break;case"textarea":de("invalid",t),qo(t,a.value,a.defaultValue,a.children),au(t)}l=a.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||t.textContent===""+l||a.suppressHydrationWarning===!0||Ld(t.textContent,l)?(a.popover!=null&&(de("beforetoggle",t),de("toggle",t)),a.onScroll!=null&&de("scroll",t),a.onScrollEnd!=null&&de("scrollend",t),a.onClick!=null&&(t.onclick=Fu),t=!0):t=!1,t||Xl(e)}function Es(e){for(Pe=e.return;Pe;)switch(Pe.tag){case 5:case 13:jt=!1;return;case 27:case 3:jt=!0;return;default:Pe=Pe.return}}function on(e){if(e!==Pe)return!1;if(!be)return Es(e),be=!0,!1;var t=e.tag,l;if((l=t!==3&&t!==27)&&((l=t===5)&&(l=e.type,l=!(l!=="form"&&l!=="button")||Nr(e.type,e.memoizedProps)),l=!l),l&&Re&&Xl(e),Es(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(c(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8)if(l=e.data,l==="/$"){if(t===0){Re=zt(e.nextSibling);break e}t--}else l!=="$"&&l!=="$!"&&l!=="$?"||t++;e=e.nextSibling}Re=null}}else t===27?(t=Re,Tl(e.type)?(e=Dr,Dr=null,Re=e):Re=t):Re=Pe?zt(e.stateNode.nextSibling):null;return!0}function sn(){Re=Pe=null,be=!1}function As(){var e=kl;return e!==null&&(at===null?at=e:at.push.apply(at,e),kl=null),e}function fn(e){kl===null?kl=[e]:kl.push(e)}var sc=H(null),Vl=null,Zt=null;function ol(e,t,l){q(sc,t._currentValue),t._currentValue=l}function Kt(e){e._currentValue=sc.current,V(sc)}function fc(e,t,l){for(;e!==null;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===l)break;e=e.return}}function dc(e,t,l,a){var n=e.child;for(n!==null&&(n.return=e);n!==null;){var u=n.dependencies;if(u!==null){var o=n.child;u=u.firstContext;e:for(;u!==null;){var f=u;u=n;for(var v=0;v<t.length;v++)if(f.context===t[v]){u.lanes|=l,f=u.alternate,f!==null&&(f.lanes|=l),fc(u.return,l,e),a||(o=null);break e}u=f.next}}else if(n.tag===18){if(o=n.return,o===null)throw Error(c(341));o.lanes|=l,u=o.alternate,u!==null&&(u.lanes|=l),fc(o,l,e),o=null}else o=n.child;if(o!==null)o.return=n;else for(o=n;o!==null;){if(o===e){o=null;break}if(n=o.sibling,n!==null){n.return=o.return,o=n;break}o=o.return}n=o}}function dn(e,t,l,a){e=null;for(var n=t,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 o=n.alternate;if(o===null)throw Error(c(387));if(o=o.memoizedProps,o!==null){var f=n.type;ot(n.pendingProps.value,o.value)||(e!==null?e.push(f):e=[f])}}else if(n===ge.current){if(o=n.alternate,o===null)throw Error(c(387));o.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(e!==null?e.push(Gn):e=[Gn])}n=n.return}e!==null&&dc(t,e,l,a),t.flags|=262144}function bu(e){for(e=e.firstContext;e!==null;){if(!ot(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Ql(e){Vl=e,Zt=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function $e(e){return Ts(Vl,e)}function pu(e,t){return Vl===null&&Ql(e),Ts(e,t)}function Ts(e,t){var l=t._currentValue;if(t={context:t,memoizedValue:l,next:null},Zt===null){if(e===null)throw Error(c(308));Zt=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Zt=Zt.next=t;return l}var Wv=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(l,a){e.push(a)}};this.abort=function(){t.aborted=!0,e.forEach(function(l){return l()})}},$v=i.unstable_scheduleCallback,Fv=i.unstable_NormalPriority,qe={$$typeof:te,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function mc(){return{controller:new Wv,data:new Map,refCount:0}}function mn(e){e.refCount--,e.refCount===0&&$v(Fv,function(){e.controller.abort()})}var hn=null,hc=0,ba=0,pa=null;function Pv(e,t){if(hn===null){var l=hn=[];hc=0,ba=gr(),pa={status:"pending",value:void 0,then:function(a){l.push(a)}}}return hc++,t.then(Ns,Ns),t}function Ns(){if(--hc===0&&hn!==null){pa!==null&&(pa.status="fulfilled");var e=hn;hn=null,ba=0,pa=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Iv(e,t){var l=[],a={status:"pending",value:null,reason:null,then:function(n){l.push(n)}};return e.then(function(){a.status="fulfilled",a.value=t;for(var n=0;n<l.length;n++)(0,l[n])(t)},function(n){for(a.status="rejected",a.reason=n,n=0;n<l.length;n++)(0,l[n])(void 0)}),a}var _s=D.S;D.S=function(e,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&Pv(e,t),_s!==null&&_s(e,t)};var Zl=H(null);function vc(){var e=Zl.current;return e!==null?e:Oe.pooledCache}function Su(e,t){t===null?q(Zl,Zl.current):q(Zl,t.pool)}function Os(){var e=vc();return e===null?null:{parent:qe._currentValue,pool:e}}var vn=Error(c(460)),Ms=Error(c(474)),xu=Error(c(542)),gc={then:function(){}};function Ds(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Eu(){}function zs(e,t,l){switch(l=e[l],l===void 0?e.push(t):l!==t&&(t.then(Eu,Eu),t=l),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,ws(e),e;default:if(typeof t.status=="string")t.then(Eu,Eu);else{if(e=Oe,e!==null&&100<e.shellSuspendCounter)throw Error(c(482));e=t,e.status="pending",e.then(function(a){if(t.status==="pending"){var n=t;n.status="fulfilled",n.value=a}},function(a){if(t.status==="pending"){var n=t;n.status="rejected",n.reason=a}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,ws(e),e}throw gn=t,vn}}var gn=null;function Rs(){if(gn===null)throw Error(c(459));var e=gn;return gn=null,e}function ws(e){if(e===vn||e===xu)throw Error(c(483))}var sl=!1;function yc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function bc(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function fl(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function dl(e,t,l){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(Se&2)!==0){var n=a.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),a.pending=t,t=hu(e),bs(e,null,l),t}return mu(e,a,t,l),hu(e)}function yn(e,t,l){if(t=t.updateQueue,t!==null&&(t=t.shared,(l&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,No(e,l)}}function pc(e,t){var l=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,l===a)){var n=null,u=null;if(l=l.firstBaseUpdate,l!==null){do{var o={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};u===null?n=u=o:u=u.next=o,l=l.next}while(l!==null);u===null?n=u=t:u=u.next=t}else n=u=t;l={baseState:a.baseState,firstBaseUpdate:n,lastBaseUpdate:u,shared:a.shared,callbacks:a.callbacks},e.updateQueue=l;return}e=l.lastBaseUpdate,e===null?l.firstBaseUpdate=t:e.next=t,l.lastBaseUpdate=t}var Sc=!1;function bn(){if(Sc){var e=pa;if(e!==null)throw e}}function pn(e,t,l,a){Sc=!1;var n=e.updateQueue;sl=!1;var u=n.firstBaseUpdate,o=n.lastBaseUpdate,f=n.shared.pending;if(f!==null){n.shared.pending=null;var v=f,_=v.next;v.next=null,o===null?u=_:o.next=_,o=v;var R=e.alternate;R!==null&&(R=R.updateQueue,f=R.lastBaseUpdate,f!==o&&(f===null?R.firstBaseUpdate=_:f.next=_,R.lastBaseUpdate=v))}if(u!==null){var j=n.baseState;o=0,R=_=v=null,f=u;do{var O=f.lane&-536870913,M=O!==f.lane;if(M?(ve&O)===O:(a&O)===O){O!==0&&O===ba&&(Sc=!0),R!==null&&(R=R.next={lane:0,tag:f.tag,payload:f.payload,callback:null,next:null});e:{var le=e,P=f;O=t;var Te=l;switch(P.tag){case 1:if(le=P.payload,typeof le=="function"){j=le.call(Te,j,O);break e}j=le;break e;case 3:le.flags=le.flags&-65537|128;case 0:if(le=P.payload,O=typeof le=="function"?le.call(Te,j,O):le,O==null)break e;j=A({},j,O);break e;case 2:sl=!0}}O=f.callback,O!==null&&(e.flags|=64,M&&(e.flags|=8192),M=n.callbacks,M===null?n.callbacks=[O]:M.push(O))}else M={lane:O,tag:f.tag,payload:f.payload,callback:f.callback,next:null},R===null?(_=R=M,v=j):R=R.next=M,o|=O;if(f=f.next,f===null){if(f=n.shared.pending,f===null)break;M=f,f=M.next,M.next=null,n.lastBaseUpdate=M,n.shared.pending=null}}while(!0);R===null&&(v=j),n.baseState=v,n.firstBaseUpdate=_,n.lastBaseUpdate=R,u===null&&(n.shared.lanes=0),Sl|=o,e.lanes=o,e.memoizedState=j}}function Cs(e,t){if(typeof e!="function")throw Error(c(191,e));e.call(t)}function js(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;e<l.length;e++)Cs(l[e],t)}var Sa=H(null),Au=H(0);function Us(e,t){e=el,q(Au,e),q(Sa,t),el=e|t.baseLanes}function xc(){q(Au,el),q(Sa,Sa.current)}function Ec(){el=Au.current,V(Sa),V(Au)}var ml=0,ce=null,Ee=null,He=null,Tu=!1,xa=!1,Kl=!1,Nu=0,Sn=0,Ea=null,eg=0;function je(){throw Error(c(321))}function Ac(e,t){if(t===null)return!1;for(var l=0;l<t.length&&l<e.length;l++)if(!ot(e[l],t[l]))return!1;return!0}function Tc(e,t,l,a,n,u){return ml=u,ce=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,D.H=e===null||e.memoizedState===null?pf:Sf,Kl=!1,u=l(a,n),Kl=!1,xa&&(u=Bs(t,l,a,n)),Hs(e),u}function Hs(e){D.H=Ru;var t=Ee!==null&&Ee.next!==null;if(ml=0,He=Ee=ce=null,Tu=!1,Sn=0,Ea=null,t)throw Error(c(300));e===null||ke||(e=e.dependencies,e!==null&&bu(e)&&(ke=!0))}function Bs(e,t,l,a){ce=e;var n=0;do{if(xa&&(Ea=null),Sn=0,xa=!1,25<=n)throw Error(c(301));if(n+=1,He=Ee=null,e.updateQueue!=null){var u=e.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}D.H=cg,u=t(l,a)}while(xa);return u}function tg(){var e=D.H,t=e.useState()[0];return t=typeof t.then=="function"?xn(t):t,e=e.useState()[0],(Ee!==null?Ee.memoizedState:null)!==e&&(ce.flags|=1024),t}function Nc(){var e=Nu!==0;return Nu=0,e}function _c(e,t,l){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l}function Oc(e){if(Tu){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Tu=!1}ml=0,He=Ee=ce=null,xa=!1,Sn=Nu=0,Ea=null}function tt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return He===null?ce.memoizedState=He=e:He=He.next=e,He}function Be(){if(Ee===null){var e=ce.alternate;e=e!==null?e.memoizedState:null}else e=Ee.next;var t=He===null?ce.memoizedState:He.next;if(t!==null)He=t,Ee=e;else{if(e===null)throw ce.alternate===null?Error(c(467)):Error(c(310));Ee=e,e={memoizedState:Ee.memoizedState,baseState:Ee.baseState,baseQueue:Ee.baseQueue,queue:Ee.queue,next:null},He===null?ce.memoizedState=He=e:He=He.next=e}return He}function Mc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function xn(e){var t=Sn;return Sn+=1,Ea===null&&(Ea=[]),e=zs(Ea,e,t),t=ce,(He===null?t.memoizedState:He.next)===null&&(t=t.alternate,D.H=t===null||t.memoizedState===null?pf:Sf),e}function _u(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return xn(e);if(e.$$typeof===te)return $e(e)}throw Error(c(438,String(e)))}function Dc(e){var t=null,l=ce.updateQueue;if(l!==null&&(t=l.memoCache),t==null){var a=ce.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(n){return n.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),l===null&&(l=Mc(),ce.updateQueue=l),l.memoCache=t,l=t.data[t.index],l===void 0)for(l=t.data[t.index]=Array(e),a=0;a<e;a++)l[a]=ut;return t.index++,l}function Jt(e,t){return typeof t=="function"?t(e):t}function Ou(e){var t=Be();return zc(t,Ee,e)}function zc(e,t,l){var a=e.queue;if(a===null)throw Error(c(311));a.lastRenderedReducer=l;var n=e.baseQueue,u=a.pending;if(u!==null){if(n!==null){var o=n.next;n.next=u.next,u.next=o}t.baseQueue=n=u,a.pending=null}if(u=e.baseState,n===null)e.memoizedState=u;else{t=n.next;var f=o=null,v=null,_=t,R=!1;do{var j=_.lane&-536870913;if(j!==_.lane?(ve&j)===j:(ml&j)===j){var O=_.revertLane;if(O===0)v!==null&&(v=v.next={lane:0,revertLane:0,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null}),j===ba&&(R=!0);else if((ml&O)===O){_=_.next,O===ba&&(R=!0);continue}else j={lane:0,revertLane:_.revertLane,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null},v===null?(f=v=j,o=u):v=v.next=j,ce.lanes|=O,Sl|=O;j=_.action,Kl&&l(u,j),u=_.hasEagerState?_.eagerState:l(u,j)}else O={lane:j,revertLane:_.revertLane,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null},v===null?(f=v=O,o=u):v=v.next=O,ce.lanes|=j,Sl|=j;_=_.next}while(_!==null&&_!==t);if(v===null?o=u:v.next=f,!ot(u,e.memoizedState)&&(ke=!0,R&&(l=pa,l!==null)))throw l;e.memoizedState=u,e.baseState=o,e.baseQueue=v,a.lastRenderedState=u}return n===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function Rc(e){var t=Be(),l=t.queue;if(l===null)throw Error(c(311));l.lastRenderedReducer=e;var a=l.dispatch,n=l.pending,u=t.memoizedState;if(n!==null){l.pending=null;var o=n=n.next;do u=e(u,o.action),o=o.next;while(o!==n);ot(u,t.memoizedState)||(ke=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),l.lastRenderedState=u}return[u,a]}function qs(e,t,l){var a=ce,n=Be(),u=be;if(u){if(l===void 0)throw Error(c(407));l=l()}else l=t();var o=!ot((Ee||n).memoizedState,l);o&&(n.memoizedState=l,ke=!0),n=n.queue;var f=Gs.bind(null,a,n,e);if(En(2048,8,f,[e]),n.getSnapshot!==t||o||He!==null&&He.memoizedState.tag&1){if(a.flags|=2048,Aa(9,Mu(),Ys.bind(null,a,n,l,t),null),Oe===null)throw Error(c(349));u||(ml&124)!==0||Ls(a,t,l)}return l}function Ls(e,t,l){e.flags|=16384,e={getSnapshot:t,value:l},t=ce.updateQueue,t===null?(t=Mc(),ce.updateQueue=t,t.stores=[e]):(l=t.stores,l===null?t.stores=[e]:l.push(e))}function Ys(e,t,l,a){t.value=l,t.getSnapshot=a,ks(t)&&Xs(e)}function Gs(e,t,l){return l(function(){ks(t)&&Xs(e)})}function ks(e){var t=e.getSnapshot;e=e.value;try{var l=t();return!ot(e,l)}catch{return!0}}function Xs(e){var t=ha(e,2);t!==null&&vt(t,e,2)}function wc(e){var t=tt();if(typeof e=="function"){var l=e;if(e=l(),Kl){il(!0);try{l()}finally{il(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Jt,lastRenderedState:e},t}function Vs(e,t,l,a){return e.baseState=l,zc(e,Ee,typeof a=="function"?a:Jt)}function lg(e,t,l,a,n){if(zu(e))throw Error(c(485));if(e=t.action,e!==null){var u={payload:n,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(o){u.listeners.push(o)}};D.T!==null?l(!0):u.isTransition=!1,a(u),l=t.pending,l===null?(u.next=t.pending=u,Qs(t,u)):(u.next=l.next,t.pending=l.next=u)}}function Qs(e,t){var l=t.action,a=t.payload,n=e.state;if(t.isTransition){var u=D.T,o={};D.T=o;try{var f=l(n,a),v=D.S;v!==null&&v(o,f),Zs(e,t,f)}catch(_){Cc(e,t,_)}finally{D.T=u}}else try{u=l(n,a),Zs(e,t,u)}catch(_){Cc(e,t,_)}}function Zs(e,t,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(a){Ks(e,t,a)},function(a){return Cc(e,t,a)}):Ks(e,t,l)}function Ks(e,t,l){t.status="fulfilled",t.value=l,Js(t),e.state=l,t=e.pending,t!==null&&(l=t.next,l===t?e.pending=null:(l=l.next,t.next=l,Qs(e,l)))}function Cc(e,t,l){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=l,Js(t),t=t.next;while(t!==a)}e.action=null}function Js(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Ws(e,t){return t}function $s(e,t){if(be){var l=Oe.formState;if(l!==null){e:{var a=ce;if(be){if(Re){t:{for(var n=Re,u=jt;n.nodeType!==8;){if(!u){n=null;break t}if(n=zt(n.nextSibling),n===null){n=null;break t}}u=n.data,n=u==="F!"||u==="F"?n:null}if(n){Re=zt(n.nextSibling),a=n.data==="F!";break e}}Xl(a)}a=!1}a&&(t=l[0])}}return l=tt(),l.memoizedState=l.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ws,lastRenderedState:t},l.queue=a,l=gf.bind(null,ce,a),a.dispatch=l,a=wc(!1),u=qc.bind(null,ce,!1,a.queue),a=tt(),n={state:t,dispatch:null,action:e,pending:null},a.queue=n,l=lg.bind(null,ce,n,u,l),n.dispatch=l,a.memoizedState=e,[t,l,!1]}function Fs(e){var t=Be();return Ps(t,Ee,e)}function Ps(e,t,l){if(t=zc(e,t,Ws)[0],e=Ou(Jt)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=xn(t)}catch(o){throw o===vn?xu:o}else a=t;t=Be();var n=t.queue,u=n.dispatch;return l!==t.memoizedState&&(ce.flags|=2048,Aa(9,Mu(),ag.bind(null,n,l),null)),[a,u,e]}function ag(e,t){e.action=t}function Is(e){var t=Be(),l=Ee;if(l!==null)return Ps(t,l,e);Be(),t=t.memoizedState,l=Be();var a=l.queue.dispatch;return l.memoizedState=e,[t,a,!1]}function Aa(e,t,l,a){return e={tag:e,create:l,deps:a,inst:t,next:null},t=ce.updateQueue,t===null&&(t=Mc(),ce.updateQueue=t),l=t.lastEffect,l===null?t.lastEffect=e.next=e:(a=l.next,l.next=e,e.next=a,t.lastEffect=e),e}function Mu(){return{destroy:void 0,resource:void 0}}function ef(){return Be().memoizedState}function Du(e,t,l,a){var n=tt();a=a===void 0?null:a,ce.flags|=e,n.memoizedState=Aa(1|t,Mu(),l,a)}function En(e,t,l,a){var n=Be();a=a===void 0?null:a;var u=n.memoizedState.inst;Ee!==null&&a!==null&&Ac(a,Ee.memoizedState.deps)?n.memoizedState=Aa(t,u,l,a):(ce.flags|=e,n.memoizedState=Aa(1|t,u,l,a))}function tf(e,t){Du(8390656,8,e,t)}function lf(e,t){En(2048,8,e,t)}function af(e,t){return En(4,2,e,t)}function nf(e,t){return En(4,4,e,t)}function uf(e,t){if(typeof t=="function"){e=e();var l=t(e);return function(){typeof l=="function"?l():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function cf(e,t,l){l=l!=null?l.concat([e]):null,En(4,4,uf.bind(null,t,e),l)}function jc(){}function rf(e,t){var l=Be();t=t===void 0?null:t;var a=l.memoizedState;return t!==null&&Ac(t,a[1])?a[0]:(l.memoizedState=[e,t],e)}function of(e,t){var l=Be();t=t===void 0?null:t;var a=l.memoizedState;if(t!==null&&Ac(t,a[1]))return a[0];if(a=e(),Kl){il(!0);try{e()}finally{il(!1)}}return l.memoizedState=[a,t],a}function Uc(e,t,l){return l===void 0||(ml&1073741824)!==0?e.memoizedState=t:(e.memoizedState=l,e=dd(),ce.lanes|=e,Sl|=e,l)}function sf(e,t,l,a){return ot(l,t)?l:Sa.current!==null?(e=Uc(e,l,a),ot(e,t)||(ke=!0),e):(ml&42)===0?(ke=!0,e.memoizedState=l):(e=dd(),ce.lanes|=e,Sl|=e,t)}function ff(e,t,l,a,n){var u=L.p;L.p=u!==0&&8>u?u:8;var o=D.T,f={};D.T=f,qc(e,!1,t,l);try{var v=n(),_=D.S;if(_!==null&&_(f,v),v!==null&&typeof v=="object"&&typeof v.then=="function"){var R=Iv(v,a);An(e,t,R,ht(e))}else An(e,t,a,ht(e))}catch(j){An(e,t,{then:function(){},status:"rejected",reason:j},ht())}finally{L.p=u,D.T=o}}function ng(){}function Hc(e,t,l,a){if(e.tag!==5)throw Error(c(476));var n=df(e).queue;ff(e,n,t,B,l===null?ng:function(){return mf(e),l(a)})}function df(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:B,baseState:B,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Jt,lastRenderedState:B},next:null};var l={};return t.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Jt,lastRenderedState:l},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function mf(e){var t=df(e).next.queue;An(e,t,{},ht())}function Bc(){return $e(Gn)}function hf(){return Be().memoizedState}function vf(){return Be().memoizedState}function ug(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var l=ht();e=fl(l);var a=dl(t,e,l);a!==null&&(vt(a,t,l),yn(a,t,l)),t={cache:mc()},e.payload=t;return}t=t.return}}function ig(e,t,l){var a=ht();l={lane:a,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null},zu(e)?yf(t,l):(l=ac(e,t,l,a),l!==null&&(vt(l,e,a),bf(l,t,a)))}function gf(e,t,l){var a=ht();An(e,t,l,a)}function An(e,t,l,a){var n={lane:a,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null};if(zu(e))yf(t,n);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var o=t.lastRenderedState,f=u(o,l);if(n.hasEagerState=!0,n.eagerState=f,ot(f,o))return mu(e,t,n,0),Oe===null&&du(),!1}catch{}finally{}if(l=ac(e,t,n,a),l!==null)return vt(l,e,a),bf(l,t,a),!0}return!1}function qc(e,t,l,a){if(a={lane:2,revertLane:gr(),action:a,hasEagerState:!1,eagerState:null,next:null},zu(e)){if(t)throw Error(c(479))}else t=ac(e,l,a,2),t!==null&&vt(t,e,2)}function zu(e){var t=e.alternate;return e===ce||t!==null&&t===ce}function yf(e,t){xa=Tu=!0;var l=e.pending;l===null?t.next=t:(t.next=l.next,l.next=t),e.pending=t}function bf(e,t,l){if((l&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,No(e,l)}}var Ru={readContext:$e,use:_u,useCallback:je,useContext:je,useEffect:je,useImperativeHandle:je,useLayoutEffect:je,useInsertionEffect:je,useMemo:je,useReducer:je,useRef:je,useState:je,useDebugValue:je,useDeferredValue:je,useTransition:je,useSyncExternalStore:je,useId:je,useHostTransitionStatus:je,useFormState:je,useActionState:je,useOptimistic:je,useMemoCache:je,useCacheRefresh:je},pf={readContext:$e,use:_u,useCallback:function(e,t){return tt().memoizedState=[e,t===void 0?null:t],e},useContext:$e,useEffect:tf,useImperativeHandle:function(e,t,l){l=l!=null?l.concat([e]):null,Du(4194308,4,uf.bind(null,t,e),l)},useLayoutEffect:function(e,t){return Du(4194308,4,e,t)},useInsertionEffect:function(e,t){Du(4,2,e,t)},useMemo:function(e,t){var l=tt();t=t===void 0?null:t;var a=e();if(Kl){il(!0);try{e()}finally{il(!1)}}return l.memoizedState=[a,t],a},useReducer:function(e,t,l){var a=tt();if(l!==void 0){var n=l(t);if(Kl){il(!0);try{l(t)}finally{il(!1)}}}else n=t;return a.memoizedState=a.baseState=n,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},a.queue=e,e=e.dispatch=ig.bind(null,ce,e),[a.memoizedState,e]},useRef:function(e){var t=tt();return e={current:e},t.memoizedState=e},useState:function(e){e=wc(e);var t=e.queue,l=gf.bind(null,ce,t);return t.dispatch=l,[e.memoizedState,l]},useDebugValue:jc,useDeferredValue:function(e,t){var l=tt();return Uc(l,e,t)},useTransition:function(){var e=wc(!1);return e=ff.bind(null,ce,e.queue,!0,!1),tt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,l){var a=ce,n=tt();if(be){if(l===void 0)throw Error(c(407));l=l()}else{if(l=t(),Oe===null)throw Error(c(349));(ve&124)!==0||Ls(a,t,l)}n.memoizedState=l;var u={value:l,getSnapshot:t};return n.queue=u,tf(Gs.bind(null,a,u,e),[e]),a.flags|=2048,Aa(9,Mu(),Ys.bind(null,a,u,l,t),null),l},useId:function(){var e=tt(),t=Oe.identifierPrefix;if(be){var l=Qt,a=Vt;l=(a&~(1<<32-rt(a)-1)).toString(32)+l,t="«"+t+"R"+l,l=Nu++,0<l&&(t+="H"+l.toString(32)),t+="»"}else l=eg++,t="«"+t+"r"+l.toString(32)+"»";return e.memoizedState=t},useHostTransitionStatus:Bc,useFormState:$s,useActionState:$s,useOptimistic:function(e){var t=tt();t.memoizedState=t.baseState=e;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=l,t=qc.bind(null,ce,!0,l),l.dispatch=t,[e,t]},useMemoCache:Dc,useCacheRefresh:function(){return tt().memoizedState=ug.bind(null,ce)}},Sf={readContext:$e,use:_u,useCallback:rf,useContext:$e,useEffect:lf,useImperativeHandle:cf,useInsertionEffect:af,useLayoutEffect:nf,useMemo:of,useReducer:Ou,useRef:ef,useState:function(){return Ou(Jt)},useDebugValue:jc,useDeferredValue:function(e,t){var l=Be();return sf(l,Ee.memoizedState,e,t)},useTransition:function(){var e=Ou(Jt)[0],t=Be().memoizedState;return[typeof e=="boolean"?e:xn(e),t]},useSyncExternalStore:qs,useId:hf,useHostTransitionStatus:Bc,useFormState:Fs,useActionState:Fs,useOptimistic:function(e,t){var l=Be();return Vs(l,Ee,e,t)},useMemoCache:Dc,useCacheRefresh:vf},cg={readContext:$e,use:_u,useCallback:rf,useContext:$e,useEffect:lf,useImperativeHandle:cf,useInsertionEffect:af,useLayoutEffect:nf,useMemo:of,useReducer:Rc,useRef:ef,useState:function(){return Rc(Jt)},useDebugValue:jc,useDeferredValue:function(e,t){var l=Be();return Ee===null?Uc(l,e,t):sf(l,Ee.memoizedState,e,t)},useTransition:function(){var e=Rc(Jt)[0],t=Be().memoizedState;return[typeof e=="boolean"?e:xn(e),t]},useSyncExternalStore:qs,useId:hf,useHostTransitionStatus:Bc,useFormState:Is,useActionState:Is,useOptimistic:function(e,t){var l=Be();return Ee!==null?Vs(l,Ee,e,t):(l.baseState=e,[e,l.queue.dispatch])},useMemoCache:Dc,useCacheRefresh:vf},Ta=null,Tn=0;function wu(e){var t=Tn;return Tn+=1,Ta===null&&(Ta=[]),zs(Ta,e,t)}function Nn(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Cu(e,t){throw t.$$typeof===C?Error(c(525)):(e=Object.prototype.toString.call(t),Error(c(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function xf(e){var t=e._init;return t(e._payload)}function Ef(e){function t(x,p){if(e){var N=x.deletions;N===null?(x.deletions=[p],x.flags|=16):N.push(p)}}function l(x,p){if(!e)return null;for(;p!==null;)t(x,p),p=p.sibling;return null}function a(x){for(var p=new Map;x!==null;)x.key!==null?p.set(x.key,x):p.set(x.index,x),x=x.sibling;return p}function n(x,p){return x=Xt(x,p),x.index=0,x.sibling=null,x}function u(x,p,N){return x.index=N,e?(N=x.alternate,N!==null?(N=N.index,N<p?(x.flags|=67108866,p):N):(x.flags|=67108866,p)):(x.flags|=1048576,p)}function o(x){return e&&x.alternate===null&&(x.flags|=67108866),x}function f(x,p,N,w){return p===null||p.tag!==6?(p=uc(N,x.mode,w),p.return=x,p):(p=n(p,N),p.return=x,p)}function v(x,p,N,w){var Z=N.type;return Z===W?R(x,p,N.props.children,w,N.key):p!==null&&(p.elementType===Z||typeof Z=="object"&&Z!==null&&Z.$$typeof===k&&xf(Z)===p.type)?(p=n(p,N.props),Nn(p,N),p.return=x,p):(p=vu(N.type,N.key,N.props,null,x.mode,w),Nn(p,N),p.return=x,p)}function _(x,p,N,w){return p===null||p.tag!==4||p.stateNode.containerInfo!==N.containerInfo||p.stateNode.implementation!==N.implementation?(p=ic(N,x.mode,w),p.return=x,p):(p=n(p,N.children||[]),p.return=x,p)}function R(x,p,N,w,Z){return p===null||p.tag!==7?(p=Ll(N,x.mode,w,Z),p.return=x,p):(p=n(p,N),p.return=x,p)}function j(x,p,N){if(typeof p=="string"&&p!==""||typeof p=="number"||typeof p=="bigint")return p=uc(""+p,x.mode,N),p.return=x,p;if(typeof p=="object"&&p!==null){switch(p.$$typeof){case U:return N=vu(p.type,p.key,p.props,null,x.mode,N),Nn(N,p),N.return=x,N;case X:return p=ic(p,x.mode,N),p.return=x,p;case k:var w=p._init;return p=w(p._payload),j(x,p,N)}if(De(p)||Ce(p))return p=Ll(p,x.mode,N,null),p.return=x,p;if(typeof p.then=="function")return j(x,wu(p),N);if(p.$$typeof===te)return j(x,pu(x,p),N);Cu(x,p)}return null}function O(x,p,N,w){var Z=p!==null?p.key:null;if(typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint")return Z!==null?null:f(x,p,""+N,w);if(typeof N=="object"&&N!==null){switch(N.$$typeof){case U:return N.key===Z?v(x,p,N,w):null;case X:return N.key===Z?_(x,p,N,w):null;case k:return Z=N._init,N=Z(N._payload),O(x,p,N,w)}if(De(N)||Ce(N))return Z!==null?null:R(x,p,N,w,null);if(typeof N.then=="function")return O(x,p,wu(N),w);if(N.$$typeof===te)return O(x,p,pu(x,N),w);Cu(x,N)}return null}function M(x,p,N,w,Z){if(typeof w=="string"&&w!==""||typeof w=="number"||typeof w=="bigint")return x=x.get(N)||null,f(p,x,""+w,Z);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case U:return x=x.get(w.key===null?N:w.key)||null,v(p,x,w,Z);case X:return x=x.get(w.key===null?N:w.key)||null,_(p,x,w,Z);case k:var oe=w._init;return w=oe(w._payload),M(x,p,N,w,Z)}if(De(w)||Ce(w))return x=x.get(N)||null,R(p,x,w,Z,null);if(typeof w.then=="function")return M(x,p,N,wu(w),Z);if(w.$$typeof===te)return M(x,p,N,pu(p,w),Z);Cu(p,w)}return null}function le(x,p,N,w){for(var Z=null,oe=null,$=p,ee=p=0,Ve=null;$!==null&&ee<N.length;ee++){$.index>ee?(Ve=$,$=null):Ve=$.sibling;var ye=O(x,$,N[ee],w);if(ye===null){$===null&&($=Ve);break}e&&$&&ye.alternate===null&&t(x,$),p=u(ye,p,ee),oe===null?Z=ye:oe.sibling=ye,oe=ye,$=Ve}if(ee===N.length)return l(x,$),be&&Gl(x,ee),Z;if($===null){for(;ee<N.length;ee++)$=j(x,N[ee],w),$!==null&&(p=u($,p,ee),oe===null?Z=$:oe.sibling=$,oe=$);return be&&Gl(x,ee),Z}for($=a($);ee<N.length;ee++)Ve=M($,x,ee,N[ee],w),Ve!==null&&(e&&Ve.alternate!==null&&$.delete(Ve.key===null?ee:Ve.key),p=u(Ve,p,ee),oe===null?Z=Ve:oe.sibling=Ve,oe=Ve);return e&&$.forEach(function(Dl){return t(x,Dl)}),be&&Gl(x,ee),Z}function P(x,p,N,w){if(N==null)throw Error(c(151));for(var Z=null,oe=null,$=p,ee=p=0,Ve=null,ye=N.next();$!==null&&!ye.done;ee++,ye=N.next()){$.index>ee?(Ve=$,$=null):Ve=$.sibling;var Dl=O(x,$,ye.value,w);if(Dl===null){$===null&&($=Ve);break}e&&$&&Dl.alternate===null&&t(x,$),p=u(Dl,p,ee),oe===null?Z=Dl:oe.sibling=Dl,oe=Dl,$=Ve}if(ye.done)return l(x,$),be&&Gl(x,ee),Z;if($===null){for(;!ye.done;ee++,ye=N.next())ye=j(x,ye.value,w),ye!==null&&(p=u(ye,p,ee),oe===null?Z=ye:oe.sibling=ye,oe=ye);return be&&Gl(x,ee),Z}for($=a($);!ye.done;ee++,ye=N.next())ye=M($,x,ee,ye.value,w),ye!==null&&(e&&ye.alternate!==null&&$.delete(ye.key===null?ee:ye.key),p=u(ye,p,ee),oe===null?Z=ye:oe.sibling=ye,oe=ye);return e&&$.forEach(function(r0){return t(x,r0)}),be&&Gl(x,ee),Z}function Te(x,p,N,w){if(typeof N=="object"&&N!==null&&N.type===W&&N.key===null&&(N=N.props.children),typeof N=="object"&&N!==null){switch(N.$$typeof){case U:e:{for(var Z=N.key;p!==null;){if(p.key===Z){if(Z=N.type,Z===W){if(p.tag===7){l(x,p.sibling),w=n(p,N.props.children),w.return=x,x=w;break e}}else if(p.elementType===Z||typeof Z=="object"&&Z!==null&&Z.$$typeof===k&&xf(Z)===p.type){l(x,p.sibling),w=n(p,N.props),Nn(w,N),w.return=x,x=w;break e}l(x,p);break}else t(x,p);p=p.sibling}N.type===W?(w=Ll(N.props.children,x.mode,w,N.key),w.return=x,x=w):(w=vu(N.type,N.key,N.props,null,x.mode,w),Nn(w,N),w.return=x,x=w)}return o(x);case X:e:{for(Z=N.key;p!==null;){if(p.key===Z)if(p.tag===4&&p.stateNode.containerInfo===N.containerInfo&&p.stateNode.implementation===N.implementation){l(x,p.sibling),w=n(p,N.children||[]),w.return=x,x=w;break e}else{l(x,p);break}else t(x,p);p=p.sibling}w=ic(N,x.mode,w),w.return=x,x=w}return o(x);case k:return Z=N._init,N=Z(N._payload),Te(x,p,N,w)}if(De(N))return le(x,p,N,w);if(Ce(N)){if(Z=Ce(N),typeof Z!="function")throw Error(c(150));return N=Z.call(N),P(x,p,N,w)}if(typeof N.then=="function")return Te(x,p,wu(N),w);if(N.$$typeof===te)return Te(x,p,pu(x,N),w);Cu(x,N)}return typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint"?(N=""+N,p!==null&&p.tag===6?(l(x,p.sibling),w=n(p,N),w.return=x,x=w):(l(x,p),w=uc(N,x.mode,w),w.return=x,x=w),o(x)):l(x,p)}return function(x,p,N,w){try{Tn=0;var Z=Te(x,p,N,w);return Ta=null,Z}catch($){if($===vn||$===xu)throw $;var oe=st(29,$,null,x.mode);return oe.lanes=w,oe.return=x,oe}finally{}}}var Na=Ef(!0),Af=Ef(!1),Tt=H(null),Ut=null;function hl(e){var t=e.alternate;q(Le,Le.current&1),q(Tt,e),Ut===null&&(t===null||Sa.current!==null||t.memoizedState!==null)&&(Ut=e)}function Tf(e){if(e.tag===22){if(q(Le,Le.current),q(Tt,e),Ut===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(Ut=e)}}else vl()}function vl(){q(Le,Le.current),q(Tt,Tt.current)}function Wt(e){V(Tt),Ut===e&&(Ut=null),V(Le)}var Le=H(0);function ju(e){for(var t=e;t!==null;){if(t.tag===13){var l=t.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data==="$?"||Mr(l)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Lc(e,t,l,a){t=e.memoizedState,l=l(a,t),l=l==null?t:A({},t,l),e.memoizedState=l,e.lanes===0&&(e.updateQueue.baseState=l)}var Yc={enqueueSetState:function(e,t,l){e=e._reactInternals;var a=ht(),n=fl(a);n.payload=t,l!=null&&(n.callback=l),t=dl(e,n,a),t!==null&&(vt(t,e,a),yn(t,e,a))},enqueueReplaceState:function(e,t,l){e=e._reactInternals;var a=ht(),n=fl(a);n.tag=1,n.payload=t,l!=null&&(n.callback=l),t=dl(e,n,a),t!==null&&(vt(t,e,a),yn(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var l=ht(),a=fl(l);a.tag=2,t!=null&&(a.callback=t),t=dl(e,a,l),t!==null&&(vt(t,e,l),yn(t,e,l))}};function Nf(e,t,l,a,n,u,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,u,o):t.prototype&&t.prototype.isPureReactComponent?!cn(l,a)||!cn(n,u):!0}function _f(e,t,l,a){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(l,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(l,a),t.state!==e&&Yc.enqueueReplaceState(t,t.state,null)}function Jl(e,t){var l=t;if("ref"in t){l={};for(var a in t)a!=="ref"&&(l[a]=t[a])}if(e=e.defaultProps){l===t&&(l=A({},l));for(var n in e)l[n]===void 0&&(l[n]=e[n])}return l}var Uu=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function Of(e){Uu(e)}function Mf(e){console.error(e)}function Df(e){Uu(e)}function Hu(e,t){try{var l=e.onUncaughtError;l(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function zf(e,t,l){try{var a=e.onCaughtError;a(l.value,{componentStack:l.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function Gc(e,t,l){return l=fl(l),l.tag=3,l.payload={element:null},l.callback=function(){Hu(e,t)},l}function Rf(e){return e=fl(e),e.tag=3,e}function wf(e,t,l,a){var n=l.type.getDerivedStateFromError;if(typeof n=="function"){var u=a.value;e.payload=function(){return n(u)},e.callback=function(){zf(t,l,a)}}var o=l.stateNode;o!==null&&typeof o.componentDidCatch=="function"&&(e.callback=function(){zf(t,l,a),typeof n!="function"&&(xl===null?xl=new Set([this]):xl.add(this));var f=a.stack;this.componentDidCatch(a.value,{componentStack:f!==null?f:""})})}function rg(e,t,l,a,n){if(l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=l.alternate,t!==null&&dn(t,l,n,!0),l=Tt.current,l!==null){switch(l.tag){case 13:return Ut===null?fr():l.alternate===null&&we===0&&(we=3),l.flags&=-257,l.flags|=65536,l.lanes=n,a===gc?l.flags|=16384:(t=l.updateQueue,t===null?l.updateQueue=new Set([a]):t.add(a),mr(e,a,n)),!1;case 22:return l.flags|=65536,a===gc?l.flags|=16384:(t=l.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},l.updateQueue=t):(l=t.retryQueue,l===null?t.retryQueue=new Set([a]):l.add(a)),mr(e,a,n)),!1}throw Error(c(435,l.tag))}return mr(e,a,n),fr(),!1}if(be)return t=Tt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=n,a!==oc&&(e=Error(c(422),{cause:a}),fn(St(e,l)))):(a!==oc&&(t=Error(c(423),{cause:a}),fn(St(t,l))),e=e.current.alternate,e.flags|=65536,n&=-n,e.lanes|=n,a=St(a,l),n=Gc(e.stateNode,a,n),pc(e,n),we!==4&&(we=2)),!1;var u=Error(c(520),{cause:a});if(u=St(u,l),wn===null?wn=[u]:wn.push(u),we!==4&&(we=2),t===null)return!0;a=St(a,l),l=t;do{switch(l.tag){case 3:return l.flags|=65536,e=n&-n,l.lanes|=e,e=Gc(l.stateNode,a,e),pc(l,e),!1;case 1:if(t=l.type,u=l.stateNode,(l.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(xl===null||!xl.has(u))))return l.flags|=65536,n&=-n,l.lanes|=n,n=Rf(n),wf(n,e,l,a),pc(l,n),!1}l=l.return}while(l!==null);return!1}var Cf=Error(c(461)),ke=!1;function Ze(e,t,l,a){t.child=e===null?Af(t,null,l,a):Na(t,e.child,l,a)}function jf(e,t,l,a,n){l=l.render;var u=t.ref;if("ref"in a){var o={};for(var f in a)f!=="ref"&&(o[f]=a[f])}else o=a;return Ql(t),a=Tc(e,t,l,o,u,n),f=Nc(),e!==null&&!ke?(_c(e,t,n),$t(e,t,n)):(be&&f&&cc(t),t.flags|=1,Ze(e,t,a,n),t.child)}function Uf(e,t,l,a,n){if(e===null){var u=l.type;return typeof u=="function"&&!nc(u)&&u.defaultProps===void 0&&l.compare===null?(t.tag=15,t.type=u,Hf(e,t,u,a,n)):(e=vu(l.type,null,a,t,t.mode,n),e.ref=t.ref,e.return=t,t.child=e)}if(u=e.child,!Wc(e,n)){var o=u.memoizedProps;if(l=l.compare,l=l!==null?l:cn,l(o,a)&&e.ref===t.ref)return $t(e,t,n)}return t.flags|=1,e=Xt(u,a),e.ref=t.ref,e.return=t,t.child=e}function Hf(e,t,l,a,n){if(e!==null){var u=e.memoizedProps;if(cn(u,a)&&e.ref===t.ref)if(ke=!1,t.pendingProps=a=u,Wc(e,n))(e.flags&131072)!==0&&(ke=!0);else return t.lanes=e.lanes,$t(e,t,n)}return kc(e,t,l,a,n)}function Bf(e,t,l){var a=t.pendingProps,n=a.children,u=e!==null?e.memoizedState:null;if(a.mode==="hidden"){if((t.flags&128)!==0){if(a=u!==null?u.baseLanes|l:l,e!==null){for(n=t.child=e.child,u=0;n!==null;)u=u|n.lanes|n.childLanes,n=n.sibling;t.childLanes=u&~a}else t.childLanes=0,t.child=null;return qf(e,t,a,l)}if((l&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Su(t,u!==null?u.cachePool:null),u!==null?Us(t,u):xc(),Tf(t);else return t.lanes=t.childLanes=536870912,qf(e,t,u!==null?u.baseLanes|l:l,l)}else u!==null?(Su(t,u.cachePool),Us(t,u),vl(),t.memoizedState=null):(e!==null&&Su(t,null),xc(),vl());return Ze(e,t,n,l),t.child}function qf(e,t,l,a){var n=vc();return n=n===null?null:{parent:qe._currentValue,pool:n},t.memoizedState={baseLanes:l,cachePool:n},e!==null&&Su(t,null),xc(),Tf(t),e!==null&&dn(e,t,a,!0),null}function Bu(e,t){var l=t.ref;if(l===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(c(284));(e===null||e.ref!==l)&&(t.flags|=4194816)}}function kc(e,t,l,a,n){return Ql(t),l=Tc(e,t,l,a,void 0,n),a=Nc(),e!==null&&!ke?(_c(e,t,n),$t(e,t,n)):(be&&a&&cc(t),t.flags|=1,Ze(e,t,l,n),t.child)}function Lf(e,t,l,a,n,u){return Ql(t),t.updateQueue=null,l=Bs(t,a,l,n),Hs(e),a=Nc(),e!==null&&!ke?(_c(e,t,u),$t(e,t,u)):(be&&a&&cc(t),t.flags|=1,Ze(e,t,l,u),t.child)}function Yf(e,t,l,a,n){if(Ql(t),t.stateNode===null){var u=va,o=l.contextType;typeof o=="object"&&o!==null&&(u=$e(o)),u=new l(a,u),t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=Yc,t.stateNode=u,u._reactInternals=t,u=t.stateNode,u.props=a,u.state=t.memoizedState,u.refs={},yc(t),o=l.contextType,u.context=typeof o=="object"&&o!==null?$e(o):va,u.state=t.memoizedState,o=l.getDerivedStateFromProps,typeof o=="function"&&(Lc(t,l,o,a),u.state=t.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(o=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),o!==u.state&&Yc.enqueueReplaceState(u,u.state,null),pn(t,a,u,n),bn(),u.state=t.memoizedState),typeof u.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(e===null){u=t.stateNode;var f=t.memoizedProps,v=Jl(l,f);u.props=v;var _=u.context,R=l.contextType;o=va,typeof R=="object"&&R!==null&&(o=$e(R));var j=l.getDerivedStateFromProps;R=typeof j=="function"||typeof u.getSnapshotBeforeUpdate=="function",f=t.pendingProps!==f,R||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(f||_!==o)&&_f(t,u,a,o),sl=!1;var O=t.memoizedState;u.state=O,pn(t,a,u,n),bn(),_=t.memoizedState,f||O!==_||sl?(typeof j=="function"&&(Lc(t,l,j,a),_=t.memoizedState),(v=sl||Nf(t,l,v,a,O,_,o))?(R||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"&&(t.flags|=4194308)):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=_),u.props=a,u.state=_,u.context=o,a=v):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{u=t.stateNode,bc(e,t),o=t.memoizedProps,R=Jl(l,o),u.props=R,j=t.pendingProps,O=u.context,_=l.contextType,v=va,typeof _=="object"&&_!==null&&(v=$e(_)),f=l.getDerivedStateFromProps,(_=typeof f=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(o!==j||O!==v)&&_f(t,u,a,v),sl=!1,O=t.memoizedState,u.state=O,pn(t,a,u,n),bn();var M=t.memoizedState;o!==j||O!==M||sl||e!==null&&e.dependencies!==null&&bu(e.dependencies)?(typeof f=="function"&&(Lc(t,l,f,a),M=t.memoizedState),(R=sl||Nf(t,l,R,a,O,M,v)||e!==null&&e.dependencies!==null&&bu(e.dependencies))?(_||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(a,M,v),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(a,M,v)),typeof u.componentDidUpdate=="function"&&(t.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof u.componentDidUpdate!="function"||o===e.memoizedProps&&O===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&O===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=M),u.props=a,u.state=M,u.context=v,a=R):(typeof u.componentDidUpdate!="function"||o===e.memoizedProps&&O===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&O===e.memoizedState||(t.flags|=1024),a=!1)}return u=a,Bu(e,t),a=(t.flags&128)!==0,u||a?(u=t.stateNode,l=a&&typeof l.getDerivedStateFromError!="function"?null:u.render(),t.flags|=1,e!==null&&a?(t.child=Na(t,e.child,null,n),t.child=Na(t,null,l,n)):Ze(e,t,l,n),t.memoizedState=u.state,e=t.child):e=$t(e,t,n),e}function Gf(e,t,l,a){return sn(),t.flags|=256,Ze(e,t,l,a),t.child}var Xc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Vc(e){return{baseLanes:e,cachePool:Os()}}function Qc(e,t,l){return e=e!==null?e.childLanes&~l:0,t&&(e|=Nt),e}function kf(e,t,l){var a=t.pendingProps,n=!1,u=(t.flags&128)!==0,o;if((o=u)||(o=e!==null&&e.memoizedState===null?!1:(Le.current&2)!==0),o&&(n=!0,t.flags&=-129),o=(t.flags&32)!==0,t.flags&=-33,e===null){if(be){if(n?hl(t):vl(),be){var f=Re,v;if(v=f){e:{for(v=f,f=jt;v.nodeType!==8;){if(!f){f=null;break e}if(v=zt(v.nextSibling),v===null){f=null;break e}}f=v}f!==null?(t.memoizedState={dehydrated:f,treeContext:Yl!==null?{id:Vt,overflow:Qt}:null,retryLane:536870912,hydrationErrors:null},v=st(18,null,null,0),v.stateNode=f,v.return=t,t.child=v,Pe=t,Re=null,v=!0):v=!1}v||Xl(t)}if(f=t.memoizedState,f!==null&&(f=f.dehydrated,f!==null))return Mr(f)?t.lanes=32:t.lanes=536870912,null;Wt(t)}return f=a.children,a=a.fallback,n?(vl(),n=t.mode,f=qu({mode:"hidden",children:f},n),a=Ll(a,n,l,null),f.return=t,a.return=t,f.sibling=a,t.child=f,n=t.child,n.memoizedState=Vc(l),n.childLanes=Qc(e,o,l),t.memoizedState=Xc,a):(hl(t),Zc(t,f))}if(v=e.memoizedState,v!==null&&(f=v.dehydrated,f!==null)){if(u)t.flags&256?(hl(t),t.flags&=-257,t=Kc(e,t,l)):t.memoizedState!==null?(vl(),t.child=e.child,t.flags|=128,t=null):(vl(),n=a.fallback,f=t.mode,a=qu({mode:"visible",children:a.children},f),n=Ll(n,f,l,null),n.flags|=2,a.return=t,n.return=t,a.sibling=n,t.child=a,Na(t,e.child,null,l),a=t.child,a.memoizedState=Vc(l),a.childLanes=Qc(e,o,l),t.memoizedState=Xc,t=n);else if(hl(t),Mr(f)){if(o=f.nextSibling&&f.nextSibling.dataset,o)var _=o.dgst;o=_,a=Error(c(419)),a.stack="",a.digest=o,fn({value:a,source:null,stack:null}),t=Kc(e,t,l)}else if(ke||dn(e,t,l,!1),o=(l&e.childLanes)!==0,ke||o){if(o=Oe,o!==null&&(a=l&-l,a=(a&42)!==0?1:Di(a),a=(a&(o.suspendedLanes|l))!==0?0:a,a!==0&&a!==v.retryLane))throw v.retryLane=a,ha(e,a),vt(o,e,a),Cf;f.data==="$?"||fr(),t=Kc(e,t,l)}else f.data==="$?"?(t.flags|=192,t.child=e.child,t=null):(e=v.treeContext,Re=zt(f.nextSibling),Pe=t,be=!0,kl=null,jt=!1,e!==null&&(Et[At++]=Vt,Et[At++]=Qt,Et[At++]=Yl,Vt=e.id,Qt=e.overflow,Yl=t),t=Zc(t,a.children),t.flags|=4096);return t}return n?(vl(),n=a.fallback,f=t.mode,v=e.child,_=v.sibling,a=Xt(v,{mode:"hidden",children:a.children}),a.subtreeFlags=v.subtreeFlags&65011712,_!==null?n=Xt(_,n):(n=Ll(n,f,l,null),n.flags|=2),n.return=t,a.return=t,a.sibling=n,t.child=a,a=n,n=t.child,f=e.child.memoizedState,f===null?f=Vc(l):(v=f.cachePool,v!==null?(_=qe._currentValue,v=v.parent!==_?{parent:_,pool:_}:v):v=Os(),f={baseLanes:f.baseLanes|l,cachePool:v}),n.memoizedState=f,n.childLanes=Qc(e,o,l),t.memoizedState=Xc,a):(hl(t),l=e.child,e=l.sibling,l=Xt(l,{mode:"visible",children:a.children}),l.return=t,l.sibling=null,e!==null&&(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=l,t.memoizedState=null,l)}function Zc(e,t){return t=qu({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function qu(e,t){return e=st(22,e,null,t),e.lanes=0,e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function Kc(e,t,l){return Na(t,e.child,null,l),e=Zc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Xf(e,t,l){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),fc(e.return,t,l)}function Jc(e,t,l,a,n){var u=e.memoizedState;u===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:l,tailMode:n}:(u.isBackwards=t,u.rendering=null,u.renderingStartTime=0,u.last=a,u.tail=l,u.tailMode=n)}function Vf(e,t,l){var a=t.pendingProps,n=a.revealOrder,u=a.tail;if(Ze(e,t,a.children,l),a=Le.current,(a&2)!==0)a=a&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Xf(e,l,t);else if(e.tag===19)Xf(e,l,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}a&=1}switch(q(Le,a),n){case"forwards":for(l=t.child,n=null;l!==null;)e=l.alternate,e!==null&&ju(e)===null&&(n=l),l=l.sibling;l=n,l===null?(n=t.child,t.child=null):(n=l.sibling,l.sibling=null),Jc(t,!1,n,l,u);break;case"backwards":for(l=null,n=t.child,t.child=null;n!==null;){if(e=n.alternate,e!==null&&ju(e)===null){t.child=n;break}e=n.sibling,n.sibling=l,l=n,n=e}Jc(t,!0,l,null,u);break;case"together":Jc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function $t(e,t,l){if(e!==null&&(t.dependencies=e.dependencies),Sl|=t.lanes,(l&t.childLanes)===0)if(e!==null){if(dn(e,t,l,!1),(l&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(c(153));if(t.child!==null){for(e=t.child,l=Xt(e,e.pendingProps),t.child=l,l.return=t;e.sibling!==null;)e=e.sibling,l=l.sibling=Xt(e,e.pendingProps),l.return=t;l.sibling=null}return t.child}function Wc(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&bu(e)))}function og(e,t,l){switch(t.tag){case 3:Ne(t,t.stateNode.containerInfo),ol(t,qe,e.memoizedState.cache),sn();break;case 27:case 5:al(t);break;case 4:Ne(t,t.stateNode.containerInfo);break;case 10:ol(t,t.type,t.memoizedProps.value);break;case 13:var a=t.memoizedState;if(a!==null)return a.dehydrated!==null?(hl(t),t.flags|=128,null):(l&t.child.childLanes)!==0?kf(e,t,l):(hl(t),e=$t(e,t,l),e!==null?e.sibling:null);hl(t);break;case 19:var n=(e.flags&128)!==0;if(a=(l&t.childLanes)!==0,a||(dn(e,t,l,!1),a=(l&t.childLanes)!==0),n){if(a)return Vf(e,t,l);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),q(Le,Le.current),a)break;return null;case 22:case 23:return t.lanes=0,Bf(e,t,l);case 24:ol(t,qe,e.memoizedState.cache)}return $t(e,t,l)}function Qf(e,t,l){if(e!==null)if(e.memoizedProps!==t.pendingProps)ke=!0;else{if(!Wc(e,l)&&(t.flags&128)===0)return ke=!1,og(e,t,l);ke=(e.flags&131072)!==0}else ke=!1,be&&(t.flags&1048576)!==0&&Ss(t,yu,t.index);switch(t.lanes=0,t.tag){case 16:e:{e=t.pendingProps;var a=t.elementType,n=a._init;if(a=n(a._payload),t.type=a,typeof a=="function")nc(a)?(e=Jl(a,e),t.tag=1,t=Yf(null,t,a,e,l)):(t.tag=0,t=kc(null,t,a,e,l));else{if(a!=null){if(n=a.$$typeof,n===ue){t.tag=11,t=jf(null,t,a,e,l);break e}else if(n===F){t.tag=14,t=Uf(null,t,a,e,l);break e}}throw t=Ot(a)||a,Error(c(306,t,""))}}return t;case 0:return kc(e,t,t.type,t.pendingProps,l);case 1:return a=t.type,n=Jl(a,t.pendingProps),Yf(e,t,a,n,l);case 3:e:{if(Ne(t,t.stateNode.containerInfo),e===null)throw Error(c(387));a=t.pendingProps;var u=t.memoizedState;n=u.element,bc(e,t),pn(t,a,null,l);var o=t.memoizedState;if(a=o.cache,ol(t,qe,a),a!==u.cache&&dc(t,[qe],l,!0),bn(),a=o.element,u.isDehydrated)if(u={element:a,isDehydrated:!1,cache:o.cache},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){t=Gf(e,t,a,l);break e}else if(a!==n){n=St(Error(c(424)),t),fn(n),t=Gf(e,t,a,l);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Re=zt(e.firstChild),Pe=t,be=!0,kl=null,jt=!0,l=Af(t,null,a,l),t.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(sn(),a===n){t=$t(e,t,l);break e}Ze(e,t,a,l)}t=t.child}return t;case 26:return Bu(e,t),e===null?(l=Wd(t.type,null,t.pendingProps,null))?t.memoizedState=l:be||(l=t.type,e=t.pendingProps,a=Pu(ae.current).createElement(l),a[We]=t,a[Ie]=e,Je(a,l,e),Ge(a),t.stateNode=a):t.memoizedState=Wd(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return al(t),e===null&&be&&(a=t.stateNode=Zd(t.type,t.pendingProps,ae.current),Pe=t,jt=!0,n=Re,Tl(t.type)?(Dr=n,Re=zt(a.firstChild)):Re=n),Ze(e,t,t.pendingProps.children,l),Bu(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&be&&((n=a=Re)&&(a=Bg(a,t.type,t.pendingProps,jt),a!==null?(t.stateNode=a,Pe=t,Re=zt(a.firstChild),jt=!1,n=!0):n=!1),n||Xl(t)),al(t),n=t.type,u=t.pendingProps,o=e!==null?e.memoizedProps:null,a=u.children,Nr(n,u)?a=null:o!==null&&Nr(n,o)&&(t.flags|=32),t.memoizedState!==null&&(n=Tc(e,t,tg,null,null,l),Gn._currentValue=n),Bu(e,t),Ze(e,t,a,l),t.child;case 6:return e===null&&be&&((e=l=Re)&&(l=qg(l,t.pendingProps,jt),l!==null?(t.stateNode=l,Pe=t,Re=null,e=!0):e=!1),e||Xl(t)),null;case 13:return kf(e,t,l);case 4:return Ne(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=Na(t,null,a,l):Ze(e,t,a,l),t.child;case 11:return jf(e,t,t.type,t.pendingProps,l);case 7:return Ze(e,t,t.pendingProps,l),t.child;case 8:return Ze(e,t,t.pendingProps.children,l),t.child;case 12:return Ze(e,t,t.pendingProps.children,l),t.child;case 10:return a=t.pendingProps,ol(t,t.type,a.value),Ze(e,t,a.children,l),t.child;case 9:return n=t.type._context,a=t.pendingProps.children,Ql(t),n=$e(n),a=a(n),t.flags|=1,Ze(e,t,a,l),t.child;case 14:return Uf(e,t,t.type,t.pendingProps,l);case 15:return Hf(e,t,t.type,t.pendingProps,l);case 19:return Vf(e,t,l);case 31:return a=t.pendingProps,l=t.mode,a={mode:a.mode,children:a.children},e===null?(l=qu(a,l),l.ref=t.ref,t.child=l,l.return=t,t=l):(l=Xt(e.child,a),l.ref=t.ref,t.child=l,l.return=t,t=l),t;case 22:return Bf(e,t,l);case 24:return Ql(t),a=$e(qe),e===null?(n=vc(),n===null&&(n=Oe,u=mc(),n.pooledCache=u,u.refCount++,u!==null&&(n.pooledCacheLanes|=l),n=u),t.memoizedState={parent:a,cache:n},yc(t),ol(t,qe,n)):((e.lanes&l)!==0&&(bc(e,t),pn(t,null,null,l),bn()),n=e.memoizedState,u=t.memoizedState,n.parent!==a?(n={parent:a,cache:a},t.memoizedState=n,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=n),ol(t,qe,a)):(a=u.cache,ol(t,qe,a),a!==n.cache&&dc(t,[qe],l,!0))),Ze(e,t,t.pendingProps.children,l),t.child;case 29:throw t.pendingProps}throw Error(c(156,t.tag))}function Ft(e){e.flags|=4}function Zf(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!em(t)){if(t=Tt.current,t!==null&&((ve&4194048)===ve?Ut!==null:(ve&62914560)!==ve&&(ve&536870912)===0||t!==Ut))throw gn=gc,Ms;e.flags|=8192}}function Lu(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Ao():536870912,e.lanes|=t,Da|=t)}function _n(e,t){if(!be)switch(e.tailMode){case"hidden":t=e.tail;for(var l=null;t!==null;)t.alternate!==null&&(l=t),t=t.sibling;l===null?e.tail=null:l.sibling=null;break;case"collapsed":l=e.tail;for(var a=null;l!==null;)l.alternate!==null&&(a=l),l=l.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function ze(e){var t=e.alternate!==null&&e.alternate.child===e.child,l=0,a=0;if(t)for(var n=e.child;n!==null;)l|=n.lanes|n.childLanes,a|=n.subtreeFlags&65011712,a|=n.flags&65011712,n.return=e,n=n.sibling;else for(n=e.child;n!==null;)l|=n.lanes|n.childLanes,a|=n.subtreeFlags,a|=n.flags,n.return=e,n=n.sibling;return e.subtreeFlags|=a,e.childLanes=l,t}function sg(e,t,l){var a=t.pendingProps;switch(rc(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ze(t),null;case 1:return ze(t),null;case 3:return l=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Kt(qe),it(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(on(t)?Ft(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,As())),ze(t),null;case 26:return l=t.memoizedState,e===null?(Ft(t),l!==null?(ze(t),Zf(t,l)):(ze(t),t.flags&=-16777217)):l?l!==e.memoizedState?(Ft(t),ze(t),Zf(t,l)):(ze(t),t.flags&=-16777217):(e.memoizedProps!==a&&Ft(t),ze(t),t.flags&=-16777217),null;case 27:nl(t),l=ae.current;var n=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==a&&Ft(t);else{if(!a){if(t.stateNode===null)throw Error(c(166));return ze(t),null}e=Q.current,on(t)?xs(t):(e=Zd(n,a,l),t.stateNode=e,Ft(t))}return ze(t),null;case 5:if(nl(t),l=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&Ft(t);else{if(!a){if(t.stateNode===null)throw Error(c(166));return ze(t),null}if(e=Q.current,on(t))xs(t);else{switch(n=Pu(ae.current),e){case 1:e=n.createElementNS("http://www.w3.org/2000/svg",l);break;case 2:e=n.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;default:switch(l){case"svg":e=n.createElementNS("http://www.w3.org/2000/svg",l);break;case"math":e=n.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;case"script":e=n.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof a.is=="string"?n.createElement("select",{is:a.is}):n.createElement("select"),a.multiple?e.multiple=!0:a.size&&(e.size=a.size);break;default:e=typeof a.is=="string"?n.createElement(l,{is:a.is}):n.createElement(l)}}e[We]=t,e[Ie]=a;e:for(n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.tag!==27&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break e;for(;n.sibling===null;){if(n.return===null||n.return===t)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}t.stateNode=e;e:switch(Je(e,l,a),l){case"button":case"input":case"select":case"textarea":e=!!a.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&Ft(t)}}return ze(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&Ft(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(c(166));if(e=ae.current,on(t)){if(e=t.stateNode,l=t.memoizedProps,a=null,n=Pe,n!==null)switch(n.tag){case 27:case 5:a=n.memoizedProps}e[We]=t,e=!!(e.nodeValue===l||a!==null&&a.suppressHydrationWarning===!0||Ld(e.nodeValue,l)),e||Xl(t)}else e=Pu(e).createTextNode(a),e[We]=t,t.stateNode=e}return ze(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(n=on(t),a!==null&&a.dehydrated!==null){if(e===null){if(!n)throw Error(c(318));if(n=t.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(c(317));n[We]=t}else sn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;ze(t),n=!1}else n=As(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),n=!0;if(!n)return t.flags&256?(Wt(t),t):(Wt(t),null)}if(Wt(t),(t.flags&128)!==0)return t.lanes=l,t;if(l=a!==null,e=e!==null&&e.memoizedState!==null,l){a=t.child,n=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(n=a.alternate.memoizedState.cachePool.pool);var u=null;a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),u!==n&&(a.flags|=2048)}return l!==e&&l&&(t.child.flags|=8192),Lu(t,t.updateQueue),ze(t),null;case 4:return it(),e===null&&Sr(t.stateNode.containerInfo),ze(t),null;case 10:return Kt(t.type),ze(t),null;case 19:if(V(Le),n=t.memoizedState,n===null)return ze(t),null;if(a=(t.flags&128)!==0,u=n.rendering,u===null)if(a)_n(n,!1);else{if(we!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(u=ju(e),u!==null){for(t.flags|=128,_n(n,!1),e=u.updateQueue,t.updateQueue=e,Lu(t,e),t.subtreeFlags=0,e=l,l=t.child;l!==null;)ps(l,e),l=l.sibling;return q(Le,Le.current&1|2),t.child}e=e.sibling}n.tail!==null&&Ct()>ku&&(t.flags|=128,a=!0,_n(n,!1),t.lanes=4194304)}else{if(!a)if(e=ju(u),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,Lu(t,e),_n(n,!0),n.tail===null&&n.tailMode==="hidden"&&!u.alternate&&!be)return ze(t),null}else 2*Ct()-n.renderingStartTime>ku&&l!==536870912&&(t.flags|=128,a=!0,_n(n,!1),t.lanes=4194304);n.isBackwards?(u.sibling=t.child,t.child=u):(e=n.last,e!==null?e.sibling=u:t.child=u,n.last=u)}return n.tail!==null?(t=n.tail,n.rendering=t,n.tail=t.sibling,n.renderingStartTime=Ct(),t.sibling=null,e=Le.current,q(Le,a?e&1|2:e&1),t):(ze(t),null);case 22:case 23:return Wt(t),Ec(),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(l&536870912)!==0&&(t.flags&128)===0&&(ze(t),t.subtreeFlags&6&&(t.flags|=8192)):ze(t),l=t.updateQueue,l!==null&&Lu(t,l.retryQueue),l=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==l&&(t.flags|=2048),e!==null&&V(Zl),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),Kt(qe),ze(t),null;case 25:return null;case 30:return null}throw Error(c(156,t.tag))}function fg(e,t){switch(rc(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Kt(qe),it(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return nl(t),null;case 13:if(Wt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(c(340));sn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return V(Le),null;case 4:return it(),null;case 10:return Kt(t.type),null;case 22:case 23:return Wt(t),Ec(),e!==null&&V(Zl),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Kt(qe),null;case 25:return null;default:return null}}function Kf(e,t){switch(rc(t),t.tag){case 3:Kt(qe),it();break;case 26:case 27:case 5:nl(t);break;case 4:it();break;case 13:Wt(t);break;case 19:V(Le);break;case 10:Kt(t.type);break;case 22:case 23:Wt(t),Ec(),e!==null&&V(Zl);break;case 24:Kt(qe)}}function On(e,t){try{var l=t.updateQueue,a=l!==null?l.lastEffect:null;if(a!==null){var n=a.next;l=n;do{if((l.tag&e)===e){a=void 0;var u=l.create,o=l.inst;a=u(),o.destroy=a}l=l.next}while(l!==n)}}catch(f){_e(t,t.return,f)}}function gl(e,t,l){try{var a=t.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var u=n.next;a=u;do{if((a.tag&e)===e){var o=a.inst,f=o.destroy;if(f!==void 0){o.destroy=void 0,n=t;var v=l,_=f;try{_()}catch(R){_e(n,v,R)}}}a=a.next}while(a!==u)}}catch(R){_e(t,t.return,R)}}function Jf(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;try{js(t,l)}catch(a){_e(e,e.return,a)}}}function Wf(e,t,l){l.props=Jl(e.type,e.memoizedProps),l.state=e.memoizedState;try{l.componentWillUnmount()}catch(a){_e(e,t,a)}}function Mn(e,t){try{var l=e.ref;if(l!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:a=e.stateNode;break;default:a=e.stateNode}typeof l=="function"?e.refCleanup=l(a):l.current=a}}catch(n){_e(e,t,n)}}function Ht(e,t){var l=e.ref,a=e.refCleanup;if(l!==null)if(typeof a=="function")try{a()}catch(n){_e(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(n){_e(e,t,n)}else l.current=null}function $f(e){var t=e.type,l=e.memoizedProps,a=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":l.autoFocus&&a.focus();break e;case"img":l.src?a.src=l.src:l.srcSet&&(a.srcset=l.srcSet)}}catch(n){_e(e,e.return,n)}}function $c(e,t,l){try{var a=e.stateNode;wg(a,e.type,l,t),a[Ie]=t}catch(n){_e(e,e.return,n)}}function Ff(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Tl(e.type)||e.tag===4}function Fc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ff(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Tl(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Pc(e,t,l){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(e,t):(t=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,t.appendChild(e),l=l._reactRootContainer,l!=null||t.onclick!==null||(t.onclick=Fu));else if(a!==4&&(a===27&&Tl(e.type)&&(l=e.stateNode,t=null),e=e.child,e!==null))for(Pc(e,t,l),e=e.sibling;e!==null;)Pc(e,t,l),e=e.sibling}function Yu(e,t,l){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?l.insertBefore(e,t):l.appendChild(e);else if(a!==4&&(a===27&&Tl(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(Yu(e,t,l),e=e.sibling;e!==null;)Yu(e,t,l),e=e.sibling}function Pf(e){var t=e.stateNode,l=e.memoizedProps;try{for(var a=e.type,n=t.attributes;n.length;)t.removeAttributeNode(n[0]);Je(t,a,l),t[We]=e,t[Ie]=l}catch(u){_e(e,e.return,u)}}var Pt=!1,Ue=!1,Ic=!1,If=typeof WeakSet=="function"?WeakSet:Set,Xe=null;function dg(e,t){if(e=e.containerInfo,Ar=ni,e=os(e),Fi(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var a=l.getSelection&&l.getSelection();if(a&&a.rangeCount!==0){l=a.anchorNode;var n=a.anchorOffset,u=a.focusNode;a=a.focusOffset;try{l.nodeType,u.nodeType}catch{l=null;break e}var o=0,f=-1,v=-1,_=0,R=0,j=e,O=null;t:for(;;){for(var M;j!==l||n!==0&&j.nodeType!==3||(f=o+n),j!==u||a!==0&&j.nodeType!==3||(v=o+a),j.nodeType===3&&(o+=j.nodeValue.length),(M=j.firstChild)!==null;)O=j,j=M;for(;;){if(j===e)break t;if(O===l&&++_===n&&(f=o),O===u&&++R===a&&(v=o),(M=j.nextSibling)!==null)break;j=O,O=j.parentNode}j=M}l=f===-1||v===-1?null:{start:f,end:v}}else l=null}l=l||{start:0,end:0}}else l=null;for(Tr={focusedElem:e,selectionRange:l},ni=!1,Xe=t;Xe!==null;)if(t=Xe,e=t.child,(t.subtreeFlags&1024)!==0&&e!==null)e.return=t,Xe=e;else for(;Xe!==null;){switch(t=Xe,u=t.alternate,e=t.flags,t.tag){case 0:break;case 11:case 15:break;case 1:if((e&1024)!==0&&u!==null){e=void 0,l=t,n=u.memoizedProps,u=u.memoizedState,a=l.stateNode;try{var le=Jl(l.type,n,l.elementType===l.type);e=a.getSnapshotBeforeUpdate(le,u),a.__reactInternalSnapshotBeforeUpdate=e}catch(P){_e(l,l.return,P)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,l=e.nodeType,l===9)Or(e);else if(l===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Or(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(c(163))}if(e=t.sibling,e!==null){e.return=t.return,Xe=e;break}Xe=t.return}}function ed(e,t,l){var a=l.flags;switch(l.tag){case 0:case 11:case 15:yl(e,l),a&4&&On(5,l);break;case 1:if(yl(e,l),a&4)if(e=l.stateNode,t===null)try{e.componentDidMount()}catch(o){_e(l,l.return,o)}else{var n=Jl(l.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(n,t,e.__reactInternalSnapshotBeforeUpdate)}catch(o){_e(l,l.return,o)}}a&64&&Jf(l),a&512&&Mn(l,l.return);break;case 3:if(yl(e,l),a&64&&(e=l.updateQueue,e!==null)){if(t=null,l.child!==null)switch(l.child.tag){case 27:case 5:t=l.child.stateNode;break;case 1:t=l.child.stateNode}try{js(e,t)}catch(o){_e(l,l.return,o)}}break;case 27:t===null&&a&4&&Pf(l);case 26:case 5:yl(e,l),t===null&&a&4&&$f(l),a&512&&Mn(l,l.return);break;case 12:yl(e,l);break;case 13:yl(e,l),a&4&&ad(e,l),a&64&&(e=l.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(l=xg.bind(null,l),Lg(e,l))));break;case 22:if(a=l.memoizedState!==null||Pt,!a){t=t!==null&&t.memoizedState!==null||Ue,n=Pt;var u=Ue;Pt=a,(Ue=t)&&!u?bl(e,l,(l.subtreeFlags&8772)!==0):yl(e,l),Pt=n,Ue=u}break;case 30:break;default:yl(e,l)}}function td(e){var t=e.alternate;t!==null&&(e.alternate=null,td(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&wi(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Me=null,lt=!1;function It(e,t,l){for(l=l.child;l!==null;)ld(e,t,l),l=l.sibling}function ld(e,t,l){if(ct&&typeof ct.onCommitFiberUnmount=="function")try{ct.onCommitFiberUnmount(Ja,l)}catch{}switch(l.tag){case 26:Ue||Ht(l,t),It(e,t,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:Ue||Ht(l,t);var a=Me,n=lt;Tl(l.type)&&(Me=l.stateNode,lt=!1),It(e,t,l),Bn(l.stateNode),Me=a,lt=n;break;case 5:Ue||Ht(l,t);case 6:if(a=Me,n=lt,Me=null,It(e,t,l),Me=a,lt=n,Me!==null)if(lt)try{(Me.nodeType===9?Me.body:Me.nodeName==="HTML"?Me.ownerDocument.body:Me).removeChild(l.stateNode)}catch(u){_e(l,t,u)}else try{Me.removeChild(l.stateNode)}catch(u){_e(l,t,u)}break;case 18:Me!==null&&(lt?(e=Me,Vd(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.stateNode),Qn(e)):Vd(Me,l.stateNode));break;case 4:a=Me,n=lt,Me=l.stateNode.containerInfo,lt=!0,It(e,t,l),Me=a,lt=n;break;case 0:case 11:case 14:case 15:Ue||gl(2,l,t),Ue||gl(4,l,t),It(e,t,l);break;case 1:Ue||(Ht(l,t),a=l.stateNode,typeof a.componentWillUnmount=="function"&&Wf(l,t,a)),It(e,t,l);break;case 21:It(e,t,l);break;case 22:Ue=(a=Ue)||l.memoizedState!==null,It(e,t,l),Ue=a;break;default:It(e,t,l)}}function ad(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Qn(e)}catch(l){_e(t,t.return,l)}}function mg(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new If),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new If),t;default:throw Error(c(435,e.tag))}}function er(e,t){var l=mg(e);t.forEach(function(a){var n=Eg.bind(null,e,a);l.has(a)||(l.add(a),a.then(n,n))})}function ft(e,t){var l=t.deletions;if(l!==null)for(var a=0;a<l.length;a++){var n=l[a],u=e,o=t,f=o;e:for(;f!==null;){switch(f.tag){case 27:if(Tl(f.type)){Me=f.stateNode,lt=!1;break e}break;case 5:Me=f.stateNode,lt=!1;break e;case 3:case 4:Me=f.stateNode.containerInfo,lt=!0;break e}f=f.return}if(Me===null)throw Error(c(160));ld(u,o,n),Me=null,lt=!1,u=n.alternate,u!==null&&(u.return=null),n.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)nd(t,e),t=t.sibling}var Dt=null;function nd(e,t){var l=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:ft(t,e),dt(e),a&4&&(gl(3,e,e.return),On(3,e),gl(5,e,e.return));break;case 1:ft(t,e),dt(e),a&512&&(Ue||l===null||Ht(l,l.return)),a&64&&Pt&&(e=e.updateQueue,e!==null&&(a=e.callbacks,a!==null&&(l=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=l===null?a:l.concat(a))));break;case 26:var n=Dt;if(ft(t,e),dt(e),a&512&&(Ue||l===null||Ht(l,l.return)),a&4){var u=l!==null?l.memoizedState:null;if(a=e.memoizedState,l===null)if(a===null)if(e.stateNode===null){e:{a=e.type,l=e.memoizedProps,n=n.ownerDocument||n;t:switch(a){case"title":u=n.getElementsByTagName("title")[0],(!u||u[Fa]||u[We]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=n.createElement(a),n.head.insertBefore(u,n.querySelector("head > title"))),Je(u,a,l),u[We]=e,Ge(u),a=u;break e;case"link":var o=Pd("link","href",n).get(a+(l.href||""));if(o){for(var f=0;f<o.length;f++)if(u=o[f],u.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&u.getAttribute("rel")===(l.rel==null?null:l.rel)&&u.getAttribute("title")===(l.title==null?null:l.title)&&u.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){o.splice(f,1);break t}}u=n.createElement(a),Je(u,a,l),n.head.appendChild(u);break;case"meta":if(o=Pd("meta","content",n).get(a+(l.content||""))){for(f=0;f<o.length;f++)if(u=o[f],u.getAttribute("content")===(l.content==null?null:""+l.content)&&u.getAttribute("name")===(l.name==null?null:l.name)&&u.getAttribute("property")===(l.property==null?null:l.property)&&u.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&u.getAttribute("charset")===(l.charSet==null?null:l.charSet)){o.splice(f,1);break t}}u=n.createElement(a),Je(u,a,l),n.head.appendChild(u);break;default:throw Error(c(468,a))}u[We]=e,Ge(u),a=u}e.stateNode=a}else Id(n,e.type,e.stateNode);else e.stateNode=Fd(n,a,e.memoizedProps);else u!==a?(u===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):u.count--,a===null?Id(n,e.type,e.stateNode):Fd(n,a,e.memoizedProps)):a===null&&e.stateNode!==null&&$c(e,e.memoizedProps,l.memoizedProps)}break;case 27:ft(t,e),dt(e),a&512&&(Ue||l===null||Ht(l,l.return)),l!==null&&a&4&&$c(e,e.memoizedProps,l.memoizedProps);break;case 5:if(ft(t,e),dt(e),a&512&&(Ue||l===null||Ht(l,l.return)),e.flags&32){n=e.stateNode;try{ca(n,"")}catch(M){_e(e,e.return,M)}}a&4&&e.stateNode!=null&&(n=e.memoizedProps,$c(e,n,l!==null?l.memoizedProps:n)),a&1024&&(Ic=!0);break;case 6:if(ft(t,e),dt(e),a&4){if(e.stateNode===null)throw Error(c(162));a=e.memoizedProps,l=e.stateNode;try{l.nodeValue=a}catch(M){_e(e,e.return,M)}}break;case 3:if(ti=null,n=Dt,Dt=Iu(t.containerInfo),ft(t,e),Dt=n,dt(e),a&4&&l!==null&&l.memoizedState.isDehydrated)try{Qn(t.containerInfo)}catch(M){_e(e,e.return,M)}Ic&&(Ic=!1,ud(e));break;case 4:a=Dt,Dt=Iu(e.stateNode.containerInfo),ft(t,e),dt(e),Dt=a;break;case 12:ft(t,e),dt(e);break;case 13:ft(t,e),dt(e),e.child.flags&8192&&e.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(ir=Ct()),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,er(e,a)));break;case 22:n=e.memoizedState!==null;var v=l!==null&&l.memoizedState!==null,_=Pt,R=Ue;if(Pt=_||n,Ue=R||v,ft(t,e),Ue=R,Pt=_,dt(e),a&8192)e:for(t=e.stateNode,t._visibility=n?t._visibility&-2:t._visibility|1,n&&(l===null||v||Pt||Ue||Wl(e)),l=null,t=e;;){if(t.tag===5||t.tag===26){if(l===null){v=l=t;try{if(u=v.stateNode,n)o=u.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none";else{f=v.stateNode;var j=v.memoizedProps.style,O=j!=null&&j.hasOwnProperty("display")?j.display:null;f.style.display=O==null||typeof O=="boolean"?"":(""+O).trim()}}catch(M){_e(v,v.return,M)}}}else if(t.tag===6){if(l===null){v=t;try{v.stateNode.nodeValue=n?"":v.memoizedProps}catch(M){_e(v,v.return,M)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;l===t&&(l=null),t=t.return}l===t&&(l=null),t.sibling.return=t.return,t=t.sibling}a&4&&(a=e.updateQueue,a!==null&&(l=a.retryQueue,l!==null&&(a.retryQueue=null,er(e,l))));break;case 19:ft(t,e),dt(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,er(e,a)));break;case 30:break;case 21:break;default:ft(t,e),dt(e)}}function dt(e){var t=e.flags;if(t&2){try{for(var l,a=e.return;a!==null;){if(Ff(a)){l=a;break}a=a.return}if(l==null)throw Error(c(160));switch(l.tag){case 27:var n=l.stateNode,u=Fc(e);Yu(e,u,n);break;case 5:var o=l.stateNode;l.flags&32&&(ca(o,""),l.flags&=-33);var f=Fc(e);Yu(e,f,o);break;case 3:case 4:var v=l.stateNode.containerInfo,_=Fc(e);Pc(e,_,v);break;default:throw Error(c(161))}}catch(R){_e(e,e.return,R)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function ud(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;ud(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function yl(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)ed(e,t.alternate,t),t=t.sibling}function Wl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:gl(4,t,t.return),Wl(t);break;case 1:Ht(t,t.return);var l=t.stateNode;typeof l.componentWillUnmount=="function"&&Wf(t,t.return,l),Wl(t);break;case 27:Bn(t.stateNode);case 26:case 5:Ht(t,t.return),Wl(t);break;case 22:t.memoizedState===null&&Wl(t);break;case 30:Wl(t);break;default:Wl(t)}e=e.sibling}}function bl(e,t,l){for(l=l&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var a=t.alternate,n=e,u=t,o=u.flags;switch(u.tag){case 0:case 11:case 15:bl(n,u,l),On(4,u);break;case 1:if(bl(n,u,l),a=u,n=a.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(_){_e(a,a.return,_)}if(a=u,n=a.updateQueue,n!==null){var f=a.stateNode;try{var v=n.shared.hiddenCallbacks;if(v!==null)for(n.shared.hiddenCallbacks=null,n=0;n<v.length;n++)Cs(v[n],f)}catch(_){_e(a,a.return,_)}}l&&o&64&&Jf(u),Mn(u,u.return);break;case 27:Pf(u);case 26:case 5:bl(n,u,l),l&&a===null&&o&4&&$f(u),Mn(u,u.return);break;case 12:bl(n,u,l);break;case 13:bl(n,u,l),l&&o&4&&ad(n,u);break;case 22:u.memoizedState===null&&bl(n,u,l),Mn(u,u.return);break;case 30:break;default:bl(n,u,l)}t=t.sibling}}function tr(e,t){var l=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==l&&(e!=null&&e.refCount++,l!=null&&mn(l))}function lr(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&mn(e))}function Bt(e,t,l,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)id(e,t,l,a),t=t.sibling}function id(e,t,l,a){var n=t.flags;switch(t.tag){case 0:case 11:case 15:Bt(e,t,l,a),n&2048&&On(9,t);break;case 1:Bt(e,t,l,a);break;case 3:Bt(e,t,l,a),n&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&mn(e)));break;case 12:if(n&2048){Bt(e,t,l,a),e=t.stateNode;try{var u=t.memoizedProps,o=u.id,f=u.onPostCommit;typeof f=="function"&&f(o,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(v){_e(t,t.return,v)}}else Bt(e,t,l,a);break;case 13:Bt(e,t,l,a);break;case 23:break;case 22:u=t.stateNode,o=t.alternate,t.memoizedState!==null?u._visibility&2?Bt(e,t,l,a):Dn(e,t):u._visibility&2?Bt(e,t,l,a):(u._visibility|=2,_a(e,t,l,a,(t.subtreeFlags&10256)!==0)),n&2048&&tr(o,t);break;case 24:Bt(e,t,l,a),n&2048&&lr(t.alternate,t);break;default:Bt(e,t,l,a)}}function _a(e,t,l,a,n){for(n=n&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;){var u=e,o=t,f=l,v=a,_=o.flags;switch(o.tag){case 0:case 11:case 15:_a(u,o,f,v,n),On(8,o);break;case 23:break;case 22:var R=o.stateNode;o.memoizedState!==null?R._visibility&2?_a(u,o,f,v,n):Dn(u,o):(R._visibility|=2,_a(u,o,f,v,n)),n&&_&2048&&tr(o.alternate,o);break;case 24:_a(u,o,f,v,n),n&&_&2048&&lr(o.alternate,o);break;default:_a(u,o,f,v,n)}t=t.sibling}}function Dn(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var l=e,a=t,n=a.flags;switch(a.tag){case 22:Dn(l,a),n&2048&&tr(a.alternate,a);break;case 24:Dn(l,a),n&2048&&lr(a.alternate,a);break;default:Dn(l,a)}t=t.sibling}}var zn=8192;function Oa(e){if(e.subtreeFlags&zn)for(e=e.child;e!==null;)cd(e),e=e.sibling}function cd(e){switch(e.tag){case 26:Oa(e),e.flags&zn&&e.memoizedState!==null&&Pg(Dt,e.memoizedState,e.memoizedProps);break;case 5:Oa(e);break;case 3:case 4:var t=Dt;Dt=Iu(e.stateNode.containerInfo),Oa(e),Dt=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=zn,zn=16777216,Oa(e),zn=t):Oa(e));break;default:Oa(e)}}function rd(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Rn(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var a=t[l];Xe=a,sd(a,e)}rd(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)od(e),e=e.sibling}function od(e){switch(e.tag){case 0:case 11:case 15:Rn(e),e.flags&2048&&gl(9,e,e.return);break;case 3:Rn(e);break;case 12:Rn(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Gu(e)):Rn(e);break;default:Rn(e)}}function Gu(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var a=t[l];Xe=a,sd(a,e)}rd(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:gl(8,t,t.return),Gu(t);break;case 22:l=t.stateNode,l._visibility&2&&(l._visibility&=-3,Gu(t));break;default:Gu(t)}e=e.sibling}}function sd(e,t){for(;Xe!==null;){var l=Xe;switch(l.tag){case 0:case 11:case 15:gl(8,l,t);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var a=l.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:mn(l.memoizedState.cache)}if(a=l.child,a!==null)a.return=l,Xe=a;else e:for(l=e;Xe!==null;){a=Xe;var n=a.sibling,u=a.return;if(td(a),a===l){Xe=null;break e}if(n!==null){n.return=u,Xe=n;break e}Xe=u}}}var hg={getCacheForType:function(e){var t=$e(qe),l=t.data.get(e);return l===void 0&&(l=e(),t.data.set(e,l)),l}},vg=typeof WeakMap=="function"?WeakMap:Map,Se=0,Oe=null,fe=null,ve=0,xe=0,mt=null,pl=!1,Ma=!1,ar=!1,el=0,we=0,Sl=0,$l=0,nr=0,Nt=0,Da=0,wn=null,at=null,ur=!1,ir=0,ku=1/0,Xu=null,xl=null,Ke=0,El=null,za=null,Ra=0,cr=0,rr=null,fd=null,Cn=0,or=null;function ht(){if((Se&2)!==0&&ve!==0)return ve&-ve;if(D.T!==null){var e=ba;return e!==0?e:gr()}return _o()}function dd(){Nt===0&&(Nt=(ve&536870912)===0||be?Eo():536870912);var e=Tt.current;return e!==null&&(e.flags|=32),Nt}function vt(e,t,l){(e===Oe&&(xe===2||xe===9)||e.cancelPendingCommit!==null)&&(wa(e,0),Al(e,ve,Nt,!1)),$a(e,l),((Se&2)===0||e!==Oe)&&(e===Oe&&((Se&2)===0&&($l|=l),we===4&&Al(e,ve,Nt,!1)),qt(e))}function md(e,t,l){if((Se&6)!==0)throw Error(c(327));var a=!l&&(t&124)===0&&(t&e.expiredLanes)===0||Wa(e,t),n=a?bg(e,t):dr(e,t,!0),u=a;do{if(n===0){Ma&&!a&&Al(e,t,0,!1);break}else{if(l=e.current.alternate,u&&!gg(l)){n=dr(e,t,!1),u=!1;continue}if(n===2){if(u=t,e.errorRecoveryDisabledLanes&u)var o=0;else o=e.pendingLanes&-536870913,o=o!==0?o:o&536870912?536870912:0;if(o!==0){t=o;e:{var f=e;n=wn;var v=f.current.memoizedState.isDehydrated;if(v&&(wa(f,o).flags|=256),o=dr(f,o,!1),o!==2){if(ar&&!v){f.errorRecoveryDisabledLanes|=u,$l|=u,n=4;break e}u=at,at=n,u!==null&&(at===null?at=u:at.push.apply(at,u))}n=o}if(u=!1,n!==2)continue}}if(n===1){wa(e,0),Al(e,t,0,!0);break}e:{switch(a=e,u=n,u){case 0:case 1:throw Error(c(345));case 4:if((t&4194048)!==t)break;case 6:Al(a,t,Nt,!pl);break e;case 2:at=null;break;case 3:case 5:break;default:throw Error(c(329))}if((t&62914560)===t&&(n=ir+300-Ct(),10<n)){if(Al(a,t,Nt,!pl),eu(a,0,!0)!==0)break e;a.timeoutHandle=kd(hd.bind(null,a,l,at,Xu,ur,t,Nt,$l,Da,pl,u,2,-0,0),n);break e}hd(a,l,at,Xu,ur,t,Nt,$l,Da,pl,u,0,-0,0)}}break}while(!0);qt(e)}function hd(e,t,l,a,n,u,o,f,v,_,R,j,O,M){if(e.timeoutHandle=-1,j=t.subtreeFlags,(j&8192||(j&16785408)===16785408)&&(Yn={stylesheets:null,count:0,unsuspend:Fg},cd(t),j=Ig(),j!==null)){e.cancelPendingCommit=j(xd.bind(null,e,t,u,l,a,n,o,f,v,R,1,O,M)),Al(e,u,o,!_);return}xd(e,t,u,l,a,n,o,f,v)}function gg(e){for(var t=e;;){var l=t.tag;if((l===0||l===11||l===15)&&t.flags&16384&&(l=t.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var a=0;a<l.length;a++){var n=l[a],u=n.getSnapshot;n=n.value;try{if(!ot(u(),n))return!1}catch{return!1}}if(l=t.child,t.subtreeFlags&16384&&l!==null)l.return=t,t=l;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Al(e,t,l,a){t&=~nr,t&=~$l,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var n=t;0<n;){var u=31-rt(n),o=1<<u;a[u]=-1,n&=~o}l!==0&&To(e,l,t)}function Vu(){return(Se&6)===0?(jn(0),!1):!0}function sr(){if(fe!==null){if(xe===0)var e=fe.return;else e=fe,Zt=Vl=null,Oc(e),Ta=null,Tn=0,e=fe;for(;e!==null;)Kf(e.alternate,e),e=e.return;fe=null}}function wa(e,t){var l=e.timeoutHandle;l!==-1&&(e.timeoutHandle=-1,jg(l)),l=e.cancelPendingCommit,l!==null&&(e.cancelPendingCommit=null,l()),sr(),Oe=e,fe=l=Xt(e.current,null),ve=t,xe=0,mt=null,pl=!1,Ma=Wa(e,t),ar=!1,Da=Nt=nr=$l=Sl=we=0,at=wn=null,ur=!1,(t&8)!==0&&(t|=t&32);var a=e.entangledLanes;if(a!==0)for(e=e.entanglements,a&=t;0<a;){var n=31-rt(a),u=1<<n;t|=e[n],a&=~u}return el=t,du(),l}function vd(e,t){ce=null,D.H=Ru,t===vn||t===xu?(t=Rs(),xe=3):t===Ms?(t=Rs(),xe=4):xe=t===Cf?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,mt=t,fe===null&&(we=1,Hu(e,St(t,e.current)))}function gd(){var e=D.H;return D.H=Ru,e===null?Ru:e}function yd(){var e=D.A;return D.A=hg,e}function fr(){we=4,pl||(ve&4194048)!==ve&&Tt.current!==null||(Ma=!0),(Sl&134217727)===0&&($l&134217727)===0||Oe===null||Al(Oe,ve,Nt,!1)}function dr(e,t,l){var a=Se;Se|=2;var n=gd(),u=yd();(Oe!==e||ve!==t)&&(Xu=null,wa(e,t)),t=!1;var o=we;e:do try{if(xe!==0&&fe!==null){var f=fe,v=mt;switch(xe){case 8:sr(),o=6;break e;case 3:case 2:case 9:case 6:Tt.current===null&&(t=!0);var _=xe;if(xe=0,mt=null,Ca(e,f,v,_),l&&Ma){o=0;break e}break;default:_=xe,xe=0,mt=null,Ca(e,f,v,_)}}yg(),o=we;break}catch(R){vd(e,R)}while(!0);return t&&e.shellSuspendCounter++,Zt=Vl=null,Se=a,D.H=n,D.A=u,fe===null&&(Oe=null,ve=0,du()),o}function yg(){for(;fe!==null;)bd(fe)}function bg(e,t){var l=Se;Se|=2;var a=gd(),n=yd();Oe!==e||ve!==t?(Xu=null,ku=Ct()+500,wa(e,t)):Ma=Wa(e,t);e:do try{if(xe!==0&&fe!==null){t=fe;var u=mt;t:switch(xe){case 1:xe=0,mt=null,Ca(e,t,u,1);break;case 2:case 9:if(Ds(u)){xe=0,mt=null,pd(t);break}t=function(){xe!==2&&xe!==9||Oe!==e||(xe=7),qt(e)},u.then(t,t);break e;case 3:xe=7;break e;case 4:xe=5;break e;case 7:Ds(u)?(xe=0,mt=null,pd(t)):(xe=0,mt=null,Ca(e,t,u,7));break;case 5:var o=null;switch(fe.tag){case 26:o=fe.memoizedState;case 5:case 27:var f=fe;if(!o||em(o)){xe=0,mt=null;var v=f.sibling;if(v!==null)fe=v;else{var _=f.return;_!==null?(fe=_,Qu(_)):fe=null}break t}}xe=0,mt=null,Ca(e,t,u,5);break;case 6:xe=0,mt=null,Ca(e,t,u,6);break;case 8:sr(),we=6;break e;default:throw Error(c(462))}}pg();break}catch(R){vd(e,R)}while(!0);return Zt=Vl=null,D.H=a,D.A=n,Se=l,fe!==null?0:(Oe=null,ve=0,du(),we)}function pg(){for(;fe!==null&&!Gh();)bd(fe)}function bd(e){var t=Qf(e.alternate,e,el);e.memoizedProps=e.pendingProps,t===null?Qu(e):fe=t}function pd(e){var t=e,l=t.alternate;switch(t.tag){case 15:case 0:t=Lf(l,t,t.pendingProps,t.type,void 0,ve);break;case 11:t=Lf(l,t,t.pendingProps,t.type.render,t.ref,ve);break;case 5:Oc(t);default:Kf(l,t),t=fe=ps(t,el),t=Qf(l,t,el)}e.memoizedProps=e.pendingProps,t===null?Qu(e):fe=t}function Ca(e,t,l,a){Zt=Vl=null,Oc(t),Ta=null,Tn=0;var n=t.return;try{if(rg(e,n,t,l,ve)){we=1,Hu(e,St(l,e.current)),fe=null;return}}catch(u){if(n!==null)throw fe=n,u;we=1,Hu(e,St(l,e.current)),fe=null;return}t.flags&32768?(be||a===1?e=!0:Ma||(ve&536870912)!==0?e=!1:(pl=e=!0,(a===2||a===9||a===3||a===6)&&(a=Tt.current,a!==null&&a.tag===13&&(a.flags|=16384))),Sd(t,e)):Qu(t)}function Qu(e){var t=e;do{if((t.flags&32768)!==0){Sd(t,pl);return}e=t.return;var l=sg(t.alternate,t,el);if(l!==null){fe=l;return}if(t=t.sibling,t!==null){fe=t;return}fe=t=e}while(t!==null);we===0&&(we=5)}function Sd(e,t){do{var l=fg(e.alternate,e);if(l!==null){l.flags&=32767,fe=l;return}if(l=e.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!t&&(e=e.sibling,e!==null)){fe=e;return}fe=e=l}while(e!==null);we=6,fe=null}function xd(e,t,l,a,n,u,o,f,v){e.cancelPendingCommit=null;do Zu();while(Ke!==0);if((Se&6)!==0)throw Error(c(327));if(t!==null){if(t===e.current)throw Error(c(177));if(u=t.lanes|t.childLanes,u|=lc,Fh(e,l,u,o,f,v),e===Oe&&(fe=Oe=null,ve=0),za=t,El=e,Ra=l,cr=u,rr=n,fd=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Ag(Fn,function(){return _d(),null})):(e.callbackNode=null,e.callbackPriority=0),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=D.T,D.T=null,n=L.p,L.p=2,o=Se,Se|=4;try{dg(e,t,l)}finally{Se=o,L.p=n,D.T=a}}Ke=1,Ed(),Ad(),Td()}}function Ed(){if(Ke===1){Ke=0;var e=El,t=za,l=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||l){l=D.T,D.T=null;var a=L.p;L.p=2;var n=Se;Se|=4;try{nd(t,e);var u=Tr,o=os(e.containerInfo),f=u.focusedElem,v=u.selectionRange;if(o!==f&&f&&f.ownerDocument&&rs(f.ownerDocument.documentElement,f)){if(v!==null&&Fi(f)){var _=v.start,R=v.end;if(R===void 0&&(R=_),"selectionStart"in f)f.selectionStart=_,f.selectionEnd=Math.min(R,f.value.length);else{var j=f.ownerDocument||document,O=j&&j.defaultView||window;if(O.getSelection){var M=O.getSelection(),le=f.textContent.length,P=Math.min(v.start,le),Te=v.end===void 0?P:Math.min(v.end,le);!M.extend&&P>Te&&(o=Te,Te=P,P=o);var x=cs(f,P),p=cs(f,Te);if(x&&p&&(M.rangeCount!==1||M.anchorNode!==x.node||M.anchorOffset!==x.offset||M.focusNode!==p.node||M.focusOffset!==p.offset)){var N=j.createRange();N.setStart(x.node,x.offset),M.removeAllRanges(),P>Te?(M.addRange(N),M.extend(p.node,p.offset)):(N.setEnd(p.node,p.offset),M.addRange(N))}}}}for(j=[],M=f;M=M.parentNode;)M.nodeType===1&&j.push({element:M,left:M.scrollLeft,top:M.scrollTop});for(typeof f.focus=="function"&&f.focus(),f=0;f<j.length;f++){var w=j[f];w.element.scrollLeft=w.left,w.element.scrollTop=w.top}}ni=!!Ar,Tr=Ar=null}finally{Se=n,L.p=a,D.T=l}}e.current=t,Ke=2}}function Ad(){if(Ke===2){Ke=0;var e=El,t=za,l=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||l){l=D.T,D.T=null;var a=L.p;L.p=2;var n=Se;Se|=4;try{ed(e,t.alternate,t)}finally{Se=n,L.p=a,D.T=l}}Ke=3}}function Td(){if(Ke===4||Ke===3){Ke=0,kh();var e=El,t=za,l=Ra,a=fd;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Ke=5:(Ke=0,za=El=null,Nd(e,e.pendingLanes));var n=e.pendingLanes;if(n===0&&(xl=null),zi(l),t=t.stateNode,ct&&typeof ct.onCommitFiberRoot=="function")try{ct.onCommitFiberRoot(Ja,t,void 0,(t.current.flags&128)===128)}catch{}if(a!==null){t=D.T,n=L.p,L.p=2,D.T=null;try{for(var u=e.onRecoverableError,o=0;o<a.length;o++){var f=a[o];u(f.value,{componentStack:f.stack})}}finally{D.T=t,L.p=n}}(Ra&3)!==0&&Zu(),qt(e),n=e.pendingLanes,(l&4194090)!==0&&(n&42)!==0?e===or?Cn++:(Cn=0,or=e):Cn=0,jn(0)}}function Nd(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,mn(t)))}function Zu(e){return Ed(),Ad(),Td(),_d()}function _d(){if(Ke!==5)return!1;var e=El,t=cr;cr=0;var l=zi(Ra),a=D.T,n=L.p;try{L.p=32>l?32:l,D.T=null,l=rr,rr=null;var u=El,o=Ra;if(Ke=0,za=El=null,Ra=0,(Se&6)!==0)throw Error(c(331));var f=Se;if(Se|=4,od(u.current),id(u,u.current,o,l),Se=f,jn(0,!1),ct&&typeof ct.onPostCommitFiberRoot=="function")try{ct.onPostCommitFiberRoot(Ja,u)}catch{}return!0}finally{L.p=n,D.T=a,Nd(e,t)}}function Od(e,t,l){t=St(l,t),t=Gc(e.stateNode,t,2),e=dl(e,t,2),e!==null&&($a(e,2),qt(e))}function _e(e,t,l){if(e.tag===3)Od(e,e,l);else for(;t!==null;){if(t.tag===3){Od(t,e,l);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(xl===null||!xl.has(a))){e=St(l,e),l=Rf(2),a=dl(t,l,2),a!==null&&(wf(l,a,t,e),$a(a,2),qt(a));break}}t=t.return}}function mr(e,t,l){var a=e.pingCache;if(a===null){a=e.pingCache=new vg;var n=new Set;a.set(t,n)}else n=a.get(t),n===void 0&&(n=new Set,a.set(t,n));n.has(l)||(ar=!0,n.add(l),e=Sg.bind(null,e,t,l),t.then(e,e))}function Sg(e,t,l){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,Oe===e&&(ve&l)===l&&(we===4||we===3&&(ve&62914560)===ve&&300>Ct()-ir?(Se&2)===0&&wa(e,0):nr|=l,Da===ve&&(Da=0)),qt(e)}function Md(e,t){t===0&&(t=Ao()),e=ha(e,t),e!==null&&($a(e,t),qt(e))}function xg(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),Md(e,l)}function Eg(e,t){var l=0;switch(e.tag){case 13:var a=e.stateNode,n=e.memoizedState;n!==null&&(l=n.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(c(314))}a!==null&&a.delete(t),Md(e,l)}function Ag(e,t){return _i(e,t)}var Ku=null,ja=null,hr=!1,Ju=!1,vr=!1,Fl=0;function qt(e){e!==ja&&e.next===null&&(ja===null?Ku=ja=e:ja=ja.next=e),Ju=!0,hr||(hr=!0,Ng())}function jn(e,t){if(!vr&&Ju){vr=!0;do for(var l=!1,a=Ku;a!==null;){if(e!==0){var n=a.pendingLanes;if(n===0)var u=0;else{var o=a.suspendedLanes,f=a.pingedLanes;u=(1<<31-rt(42|e)+1)-1,u&=n&~(o&~f),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(l=!0,wd(a,u))}else u=ve,u=eu(a,a===Oe?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(u&3)===0||Wa(a,u)||(l=!0,wd(a,u));a=a.next}while(l);vr=!1}}function Tg(){Dd()}function Dd(){Ju=hr=!1;var e=0;Fl!==0&&(Cg()&&(e=Fl),Fl=0);for(var t=Ct(),l=null,a=Ku;a!==null;){var n=a.next,u=zd(a,t);u===0?(a.next=null,l===null?Ku=n:l.next=n,n===null&&(ja=l)):(l=a,(e!==0||(u&3)!==0)&&(Ju=!0)),a=n}jn(e)}function zd(e,t){for(var l=e.suspendedLanes,a=e.pingedLanes,n=e.expirationTimes,u=e.pendingLanes&-62914561;0<u;){var o=31-rt(u),f=1<<o,v=n[o];v===-1?((f&l)===0||(f&a)!==0)&&(n[o]=$h(f,t)):v<=t&&(e.expiredLanes|=f),u&=~f}if(t=Oe,l=ve,l=eu(e,e===t?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a=e.callbackNode,l===0||e===t&&(xe===2||xe===9)||e.cancelPendingCommit!==null)return a!==null&&a!==null&&Oi(a),e.callbackNode=null,e.callbackPriority=0;if((l&3)===0||Wa(e,l)){if(t=l&-l,t===e.callbackPriority)return t;switch(a!==null&&Oi(a),zi(l)){case 2:case 8:l=So;break;case 32:l=Fn;break;case 268435456:l=xo;break;default:l=Fn}return a=Rd.bind(null,e),l=_i(l,a),e.callbackPriority=t,e.callbackNode=l,t}return a!==null&&a!==null&&Oi(a),e.callbackPriority=2,e.callbackNode=null,2}function Rd(e,t){if(Ke!==0&&Ke!==5)return e.callbackNode=null,e.callbackPriority=0,null;var l=e.callbackNode;if(Zu()&&e.callbackNode!==l)return null;var a=ve;return a=eu(e,e===Oe?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a===0?null:(md(e,a,t),zd(e,Ct()),e.callbackNode!=null&&e.callbackNode===l?Rd.bind(null,e):null)}function wd(e,t){if(Zu())return null;md(e,t,!0)}function Ng(){Ug(function(){(Se&6)!==0?_i(po,Tg):Dd()})}function gr(){return Fl===0&&(Fl=Eo()),Fl}function Cd(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:uu(""+e)}function jd(e,t){var l=t.ownerDocument.createElement("input");return l.name=t.name,l.value=t.value,e.id&&l.setAttribute("form",e.id),t.parentNode.insertBefore(l,t),e=new FormData(e),l.parentNode.removeChild(l),e}function _g(e,t,l,a,n){if(t==="submit"&&l&&l.stateNode===n){var u=Cd((n[Ie]||null).action),o=a.submitter;o&&(t=(t=o[Ie]||null)?Cd(t.formAction):o.getAttribute("formAction"),t!==null&&(u=t,o=null));var f=new ou("action","action",null,a,n);e.push({event:f,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Fl!==0){var v=o?jd(n,o):new FormData(n);Hc(l,{pending:!0,data:v,method:n.method,action:u},null,v)}}else typeof u=="function"&&(f.preventDefault(),v=o?jd(n,o):new FormData(n),Hc(l,{pending:!0,data:v,method:n.method,action:u},u,v))},currentTarget:n}]})}}for(var yr=0;yr<tc.length;yr++){var br=tc[yr],Og=br.toLowerCase(),Mg=br[0].toUpperCase()+br.slice(1);Mt(Og,"on"+Mg)}Mt(ds,"onAnimationEnd"),Mt(ms,"onAnimationIteration"),Mt(hs,"onAnimationStart"),Mt("dblclick","onDoubleClick"),Mt("focusin","onFocus"),Mt("focusout","onBlur"),Mt(Qv,"onTransitionRun"),Mt(Zv,"onTransitionStart"),Mt(Kv,"onTransitionCancel"),Mt(vs,"onTransitionEnd"),na("onMouseEnter",["mouseout","mouseover"]),na("onMouseLeave",["mouseout","mouseover"]),na("onPointerEnter",["pointerout","pointerover"]),na("onPointerLeave",["pointerout","pointerover"]),Ul("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ul("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ul("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ul("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ul("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ul("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Un="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(" "),Dg=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Un));function Ud(e,t){t=(t&4)!==0;for(var l=0;l<e.length;l++){var a=e[l],n=a.event;a=a.listeners;e:{var u=void 0;if(t)for(var o=a.length-1;0<=o;o--){var f=a[o],v=f.instance,_=f.currentTarget;if(f=f.listener,v!==u&&n.isPropagationStopped())break e;u=f,n.currentTarget=_;try{u(n)}catch(R){Uu(R)}n.currentTarget=null,u=v}else for(o=0;o<a.length;o++){if(f=a[o],v=f.instance,_=f.currentTarget,f=f.listener,v!==u&&n.isPropagationStopped())break e;u=f,n.currentTarget=_;try{u(n)}catch(R){Uu(R)}n.currentTarget=null,u=v}}}}function de(e,t){var l=t[Ri];l===void 0&&(l=t[Ri]=new Set);var a=e+"__bubble";l.has(a)||(Hd(t,e,2,!1),l.add(a))}function pr(e,t,l){var a=0;t&&(a|=4),Hd(l,e,a,t)}var Wu="_reactListening"+Math.random().toString(36).slice(2);function Sr(e){if(!e[Wu]){e[Wu]=!0,Mo.forEach(function(l){l!=="selectionchange"&&(Dg.has(l)||pr(l,!1,e),pr(l,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Wu]||(t[Wu]=!0,pr("selectionchange",!1,t))}}function Hd(e,t,l,a){switch(im(t)){case 2:var n=l0;break;case 8:n=a0;break;default:n=jr}l=n.bind(null,t,l,e),n=void 0,!ki||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(n=!0),a?n!==void 0?e.addEventListener(t,l,{capture:!0,passive:n}):e.addEventListener(t,l,!0):n!==void 0?e.addEventListener(t,l,{passive:n}):e.addEventListener(t,l,!1)}function xr(e,t,l,a,n){var u=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var o=a.tag;if(o===3||o===4){var f=a.stateNode.containerInfo;if(f===n)break;if(o===4)for(o=a.return;o!==null;){var v=o.tag;if((v===3||v===4)&&o.stateNode.containerInfo===n)return;o=o.return}for(;f!==null;){if(o=ta(f),o===null)return;if(v=o.tag,v===5||v===6||v===26||v===27){a=u=o;continue e}f=f.parentNode}}a=a.return}ko(function(){var _=u,R=Yi(l),j=[];e:{var O=gs.get(e);if(O!==void 0){var M=ou,le=e;switch(e){case"keypress":if(cu(l)===0)break e;case"keydown":case"keyup":M=Av;break;case"focusin":le="focus",M=Zi;break;case"focusout":le="blur",M=Zi;break;case"beforeblur":case"afterblur":M=Zi;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":M=Qo;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":M=fv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":M=_v;break;case ds:case ms:case hs:M=hv;break;case vs:M=Mv;break;case"scroll":case"scrollend":M=ov;break;case"wheel":M=zv;break;case"copy":case"cut":case"paste":M=gv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":M=Ko;break;case"toggle":case"beforetoggle":M=wv}var P=(t&4)!==0,Te=!P&&(e==="scroll"||e==="scrollend"),x=P?O!==null?O+"Capture":null:O;P=[];for(var p=_,N;p!==null;){var w=p;if(N=w.stateNode,w=w.tag,w!==5&&w!==26&&w!==27||N===null||x===null||(w=Ia(p,x),w!=null&&P.push(Hn(p,w,N))),Te)break;p=p.return}0<P.length&&(O=new M(O,le,null,l,R),j.push({event:O,listeners:P}))}}if((t&7)===0){e:{if(O=e==="mouseover"||e==="pointerover",M=e==="mouseout"||e==="pointerout",O&&l!==Li&&(le=l.relatedTarget||l.fromElement)&&(ta(le)||le[ea]))break e;if((M||O)&&(O=R.window===R?R:(O=R.ownerDocument)?O.defaultView||O.parentWindow:window,M?(le=l.relatedTarget||l.toElement,M=_,le=le?ta(le):null,le!==null&&(Te=m(le),P=le.tag,le!==Te||P!==5&&P!==27&&P!==6)&&(le=null)):(M=null,le=_),M!==le)){if(P=Qo,w="onMouseLeave",x="onMouseEnter",p="mouse",(e==="pointerout"||e==="pointerover")&&(P=Ko,w="onPointerLeave",x="onPointerEnter",p="pointer"),Te=M==null?O:Pa(M),N=le==null?O:Pa(le),O=new P(w,p+"leave",M,l,R),O.target=Te,O.relatedTarget=N,w=null,ta(R)===_&&(P=new P(x,p+"enter",le,l,R),P.target=N,P.relatedTarget=Te,w=P),Te=w,M&&le)t:{for(P=M,x=le,p=0,N=P;N;N=Ua(N))p++;for(N=0,w=x;w;w=Ua(w))N++;for(;0<p-N;)P=Ua(P),p--;for(;0<N-p;)x=Ua(x),N--;for(;p--;){if(P===x||x!==null&&P===x.alternate)break t;P=Ua(P),x=Ua(x)}P=null}else P=null;M!==null&&Bd(j,O,M,P,!1),le!==null&&Te!==null&&Bd(j,Te,le,P,!0)}}e:{if(O=_?Pa(_):window,M=O.nodeName&&O.nodeName.toLowerCase(),M==="select"||M==="input"&&O.type==="file")var Z=ts;else if(Io(O))if(ls)Z=kv;else{Z=Yv;var oe=Lv}else M=O.nodeName,!M||M.toLowerCase()!=="input"||O.type!=="checkbox"&&O.type!=="radio"?_&&qi(_.elementType)&&(Z=ts):Z=Gv;if(Z&&(Z=Z(e,_))){es(j,Z,l,R);break e}oe&&oe(e,O,_),e==="focusout"&&_&&O.type==="number"&&_.memoizedProps.value!=null&&Bi(O,"number",O.value)}switch(oe=_?Pa(_):window,e){case"focusin":(Io(oe)||oe.contentEditable==="true")&&(fa=oe,Pi=_,rn=null);break;case"focusout":rn=Pi=fa=null;break;case"mousedown":Ii=!0;break;case"contextmenu":case"mouseup":case"dragend":Ii=!1,ss(j,l,R);break;case"selectionchange":if(Vv)break;case"keydown":case"keyup":ss(j,l,R)}var $;if(Ji)e:{switch(e){case"compositionstart":var ee="onCompositionStart";break e;case"compositionend":ee="onCompositionEnd";break e;case"compositionupdate":ee="onCompositionUpdate";break e}ee=void 0}else sa?Fo(e,l)&&(ee="onCompositionEnd"):e==="keydown"&&l.keyCode===229&&(ee="onCompositionStart");ee&&(Jo&&l.locale!=="ko"&&(sa||ee!=="onCompositionStart"?ee==="onCompositionEnd"&&sa&&($=Xo()):(rl=R,Xi="value"in rl?rl.value:rl.textContent,sa=!0)),oe=$u(_,ee),0<oe.length&&(ee=new Zo(ee,e,null,l,R),j.push({event:ee,listeners:oe}),$?ee.data=$:($=Po(l),$!==null&&(ee.data=$)))),($=jv?Uv(e,l):Hv(e,l))&&(ee=$u(_,"onBeforeInput"),0<ee.length&&(oe=new Zo("onBeforeInput","beforeinput",null,l,R),j.push({event:oe,listeners:ee}),oe.data=$)),_g(j,e,_,l,R)}Ud(j,t)})}function Hn(e,t,l){return{instance:e,listener:t,currentTarget:l}}function $u(e,t){for(var l=t+"Capture",a=[];e!==null;){var n=e,u=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||u===null||(n=Ia(e,l),n!=null&&a.unshift(Hn(e,n,u)),n=Ia(e,t),n!=null&&a.push(Hn(e,n,u))),e.tag===3)return a;e=e.return}return[]}function Ua(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Bd(e,t,l,a,n){for(var u=t._reactName,o=[];l!==null&&l!==a;){var f=l,v=f.alternate,_=f.stateNode;if(f=f.tag,v!==null&&v===a)break;f!==5&&f!==26&&f!==27||_===null||(v=_,n?(_=Ia(l,u),_!=null&&o.unshift(Hn(l,_,v))):n||(_=Ia(l,u),_!=null&&o.push(Hn(l,_,v)))),l=l.return}o.length!==0&&e.push({event:t,listeners:o})}var zg=/\r\n?/g,Rg=/\u0000|\uFFFD/g;function qd(e){return(typeof e=="string"?e:""+e).replace(zg,`
`).replace(Rg,"")}function Ld(e,t){return t=qd(t),qd(e)===t}function Fu(){}function Ae(e,t,l,a,n,u){switch(l){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||ca(e,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&ca(e,""+a);break;case"className":lu(e,"class",a);break;case"tabIndex":lu(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":lu(e,l,a);break;case"style":Yo(e,a,u);break;case"data":if(t!=="object"){lu(e,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||l!=="href")){e.removeAttribute(l);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(l);break}a=uu(""+a),e.setAttribute(l,a);break;case"action":case"formAction":if(typeof a=="function"){e.setAttribute(l,"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"&&(l==="formAction"?(t!=="input"&&Ae(e,t,"name",n.name,n,null),Ae(e,t,"formEncType",n.formEncType,n,null),Ae(e,t,"formMethod",n.formMethod,n,null),Ae(e,t,"formTarget",n.formTarget,n,null)):(Ae(e,t,"encType",n.encType,n,null),Ae(e,t,"method",n.method,n,null),Ae(e,t,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(l);break}a=uu(""+a),e.setAttribute(l,a);break;case"onClick":a!=null&&(e.onclick=Fu);break;case"onScroll":a!=null&&de("scroll",e);break;case"onScrollEnd":a!=null&&de("scrollend",e);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(c(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(c(60));e.innerHTML=l}}break;case"multiple":e.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":e.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){e.removeAttribute("xlink:href");break}l=uu(""+a),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(l,""+a):e.removeAttribute(l);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":a&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(l,""):e.removeAttribute(l);break;case"capture":case"download":a===!0?e.setAttribute(l,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(l,a):e.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?e.setAttribute(l,a):e.removeAttribute(l);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?e.removeAttribute(l):e.setAttribute(l,a);break;case"popover":de("beforetoggle",e),de("toggle",e),tu(e,"popover",a);break;case"xlinkActuate":Gt(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Gt(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Gt(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Gt(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Gt(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Gt(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Gt(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Gt(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Gt(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":tu(e,"is",a);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=cv.get(l)||l,tu(e,l,a))}}function Er(e,t,l,a,n,u){switch(l){case"style":Yo(e,a,u);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(c(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(c(60));e.innerHTML=l}}break;case"children":typeof a=="string"?ca(e,a):(typeof a=="number"||typeof a=="bigint")&&ca(e,""+a);break;case"onScroll":a!=null&&de("scroll",e);break;case"onScrollEnd":a!=null&&de("scrollend",e);break;case"onClick":a!=null&&(e.onclick=Fu);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Do.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(n=l.endsWith("Capture"),t=l.slice(2,n?l.length-7:void 0),u=e[Ie]||null,u=u!=null?u[l]:null,typeof u=="function"&&e.removeEventListener(t,u,n),typeof a=="function")){typeof u!="function"&&u!==null&&(l in e?e[l]=null:e.hasAttribute(l)&&e.removeAttribute(l)),e.addEventListener(t,a,n);break e}l in e?e[l]=a:a===!0?e.setAttribute(l,""):tu(e,l,a)}}}function Je(e,t,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":de("error",e),de("load",e);var a=!1,n=!1,u;for(u in l)if(l.hasOwnProperty(u)){var o=l[u];if(o!=null)switch(u){case"src":a=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(c(137,t));default:Ae(e,t,u,o,l,null)}}n&&Ae(e,t,"srcSet",l.srcSet,l,null),a&&Ae(e,t,"src",l.src,l,null);return;case"input":de("invalid",e);var f=u=o=n=null,v=null,_=null;for(a in l)if(l.hasOwnProperty(a)){var R=l[a];if(R!=null)switch(a){case"name":n=R;break;case"type":o=R;break;case"checked":v=R;break;case"defaultChecked":_=R;break;case"value":u=R;break;case"defaultValue":f=R;break;case"children":case"dangerouslySetInnerHTML":if(R!=null)throw Error(c(137,t));break;default:Ae(e,t,a,R,l,null)}}Ho(e,u,f,v,_,o,n,!1),au(e);return;case"select":de("invalid",e),a=o=u=null;for(n in l)if(l.hasOwnProperty(n)&&(f=l[n],f!=null))switch(n){case"value":u=f;break;case"defaultValue":o=f;break;case"multiple":a=f;default:Ae(e,t,n,f,l,null)}t=u,l=o,e.multiple=!!a,t!=null?ia(e,!!a,t,!1):l!=null&&ia(e,!!a,l,!0);return;case"textarea":de("invalid",e),u=n=a=null;for(o in l)if(l.hasOwnProperty(o)&&(f=l[o],f!=null))switch(o){case"value":a=f;break;case"defaultValue":n=f;break;case"children":u=f;break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(c(91));break;default:Ae(e,t,o,f,l,null)}qo(e,a,n,u),au(e);return;case"option":for(v in l)if(l.hasOwnProperty(v)&&(a=l[v],a!=null))switch(v){case"selected":e.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:Ae(e,t,v,a,l,null)}return;case"dialog":de("beforetoggle",e),de("toggle",e),de("cancel",e),de("close",e);break;case"iframe":case"object":de("load",e);break;case"video":case"audio":for(a=0;a<Un.length;a++)de(Un[a],e);break;case"image":de("error",e),de("load",e);break;case"details":de("toggle",e);break;case"embed":case"source":case"link":de("error",e),de("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(_ in l)if(l.hasOwnProperty(_)&&(a=l[_],a!=null))switch(_){case"children":case"dangerouslySetInnerHTML":throw Error(c(137,t));default:Ae(e,t,_,a,l,null)}return;default:if(qi(t)){for(R in l)l.hasOwnProperty(R)&&(a=l[R],a!==void 0&&Er(e,t,R,a,l,void 0));return}}for(f in l)l.hasOwnProperty(f)&&(a=l[f],a!=null&&Ae(e,t,f,a,l,null))}function wg(e,t,l,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,u=null,o=null,f=null,v=null,_=null,R=null;for(M in l){var j=l[M];if(l.hasOwnProperty(M)&&j!=null)switch(M){case"checked":break;case"value":break;case"defaultValue":v=j;default:a.hasOwnProperty(M)||Ae(e,t,M,null,a,j)}}for(var O in a){var M=a[O];if(j=l[O],a.hasOwnProperty(O)&&(M!=null||j!=null))switch(O){case"type":u=M;break;case"name":n=M;break;case"checked":_=M;break;case"defaultChecked":R=M;break;case"value":o=M;break;case"defaultValue":f=M;break;case"children":case"dangerouslySetInnerHTML":if(M!=null)throw Error(c(137,t));break;default:M!==j&&Ae(e,t,O,M,a,j)}}Hi(e,o,f,v,_,R,u,n);return;case"select":M=o=f=O=null;for(u in l)if(v=l[u],l.hasOwnProperty(u)&&v!=null)switch(u){case"value":break;case"multiple":M=v;default:a.hasOwnProperty(u)||Ae(e,t,u,null,a,v)}for(n in a)if(u=a[n],v=l[n],a.hasOwnProperty(n)&&(u!=null||v!=null))switch(n){case"value":O=u;break;case"defaultValue":f=u;break;case"multiple":o=u;default:u!==v&&Ae(e,t,n,u,a,v)}t=f,l=o,a=M,O!=null?ia(e,!!l,O,!1):!!a!=!!l&&(t!=null?ia(e,!!l,t,!0):ia(e,!!l,l?[]:"",!1));return;case"textarea":M=O=null;for(f in l)if(n=l[f],l.hasOwnProperty(f)&&n!=null&&!a.hasOwnProperty(f))switch(f){case"value":break;case"children":break;default:Ae(e,t,f,null,a,n)}for(o in a)if(n=a[o],u=l[o],a.hasOwnProperty(o)&&(n!=null||u!=null))switch(o){case"value":O=n;break;case"defaultValue":M=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(c(91));break;default:n!==u&&Ae(e,t,o,n,a,u)}Bo(e,O,M);return;case"option":for(var le in l)if(O=l[le],l.hasOwnProperty(le)&&O!=null&&!a.hasOwnProperty(le))switch(le){case"selected":e.selected=!1;break;default:Ae(e,t,le,null,a,O)}for(v in a)if(O=a[v],M=l[v],a.hasOwnProperty(v)&&O!==M&&(O!=null||M!=null))switch(v){case"selected":e.selected=O&&typeof O!="function"&&typeof O!="symbol";break;default:Ae(e,t,v,O,a,M)}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 P in l)O=l[P],l.hasOwnProperty(P)&&O!=null&&!a.hasOwnProperty(P)&&Ae(e,t,P,null,a,O);for(_ in a)if(O=a[_],M=l[_],a.hasOwnProperty(_)&&O!==M&&(O!=null||M!=null))switch(_){case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error(c(137,t));break;default:Ae(e,t,_,O,a,M)}return;default:if(qi(t)){for(var Te in l)O=l[Te],l.hasOwnProperty(Te)&&O!==void 0&&!a.hasOwnProperty(Te)&&Er(e,t,Te,void 0,a,O);for(R in a)O=a[R],M=l[R],!a.hasOwnProperty(R)||O===M||O===void 0&&M===void 0||Er(e,t,R,O,a,M);return}}for(var x in l)O=l[x],l.hasOwnProperty(x)&&O!=null&&!a.hasOwnProperty(x)&&Ae(e,t,x,null,a,O);for(j in a)O=a[j],M=l[j],!a.hasOwnProperty(j)||O===M||O==null&&M==null||Ae(e,t,j,O,a,M)}var Ar=null,Tr=null;function Pu(e){return e.nodeType===9?e:e.ownerDocument}function Yd(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Gd(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function Nr(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var _r=null;function Cg(){var e=window.event;return e&&e.type==="popstate"?e===_r?!1:(_r=e,!0):(_r=null,!1)}var kd=typeof setTimeout=="function"?setTimeout:void 0,jg=typeof clearTimeout=="function"?clearTimeout:void 0,Xd=typeof Promise=="function"?Promise:void 0,Ug=typeof queueMicrotask=="function"?queueMicrotask:typeof Xd<"u"?function(e){return Xd.resolve(null).then(e).catch(Hg)}:kd;function Hg(e){setTimeout(function(){throw e})}function Tl(e){return e==="head"}function Vd(e,t){var l=t,a=0,n=0;do{var u=l.nextSibling;if(e.removeChild(l),u&&u.nodeType===8)if(l=u.data,l==="/$"){if(0<a&&8>a){l=a;var o=e.ownerDocument;if(l&1&&Bn(o.documentElement),l&2&&Bn(o.body),l&4)for(l=o.head,Bn(l),o=l.firstChild;o;){var f=o.nextSibling,v=o.nodeName;o[Fa]||v==="SCRIPT"||v==="STYLE"||v==="LINK"&&o.rel.toLowerCase()==="stylesheet"||l.removeChild(o),o=f}}if(n===0){e.removeChild(u),Qn(t);return}n--}else l==="$"||l==="$?"||l==="$!"?n++:a=l.charCodeAt(0)-48;else a=0;l=u}while(l);Qn(t)}function Or(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var l=t;switch(t=t.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":Or(l),wi(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}e.removeChild(l)}}function Bg(e,t,l,a){for(;e.nodeType===1;){var n=l;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(a){if(!e[Fa])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(u=e.getAttribute("rel"),u==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(u!==n.rel||e.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||e.getAttribute("title")!==(n.title==null?null:n.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(u=e.getAttribute("src"),(u!==(n.src==null?null:n.src)||e.getAttribute("type")!==(n.type==null?null:n.type)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&u&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var u=n.name==null?null:""+n.name;if(n.type==="hidden"&&e.getAttribute("name")===u)return e}else return e;if(e=zt(e.nextSibling),e===null)break}return null}function qg(e,t,l){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!l||(e=zt(e.nextSibling),e===null))return null;return e}function Mr(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState==="complete"}function Lg(e,t){var l=e.ownerDocument;if(e.data!=="$?"||l.readyState==="complete")t();else{var a=function(){t(),l.removeEventListener("DOMContentLoaded",a)};l.addEventListener("DOMContentLoaded",a),e._reactRetry=a}}function zt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="F!"||t==="F")break;if(t==="/$")return null}}return e}var Dr=null;function Qd(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l==="$"||l==="$!"||l==="$?"){if(t===0)return e;t--}else l==="/$"&&t++}e=e.previousSibling}return null}function Zd(e,t,l){switch(t=Pu(l),e){case"html":if(e=t.documentElement,!e)throw Error(c(452));return e;case"head":if(e=t.head,!e)throw Error(c(453));return e;case"body":if(e=t.body,!e)throw Error(c(454));return e;default:throw Error(c(451))}}function Bn(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);wi(e)}var _t=new Map,Kd=new Set;function Iu(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var tl=L.d;L.d={f:Yg,r:Gg,D:kg,C:Xg,L:Vg,m:Qg,X:Kg,S:Zg,M:Jg};function Yg(){var e=tl.f(),t=Vu();return e||t}function Gg(e){var t=la(e);t!==null&&t.tag===5&&t.type==="form"?mf(t):tl.r(e)}var Ha=typeof document>"u"?null:document;function Jd(e,t,l){var a=Ha;if(a&&typeof t=="string"&&t){var n=pt(t);n='link[rel="'+e+'"][href="'+n+'"]',typeof l=="string"&&(n+='[crossorigin="'+l+'"]'),Kd.has(n)||(Kd.add(n),e={rel:e,crossOrigin:l,href:t},a.querySelector(n)===null&&(t=a.createElement("link"),Je(t,"link",e),Ge(t),a.head.appendChild(t)))}}function kg(e){tl.D(e),Jd("dns-prefetch",e,null)}function Xg(e,t){tl.C(e,t),Jd("preconnect",e,t)}function Vg(e,t,l){tl.L(e,t,l);var a=Ha;if(a&&e&&t){var n='link[rel="preload"][as="'+pt(t)+'"]';t==="image"&&l&&l.imageSrcSet?(n+='[imagesrcset="'+pt(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(n+='[imagesizes="'+pt(l.imageSizes)+'"]')):n+='[href="'+pt(e)+'"]';var u=n;switch(t){case"style":u=Ba(e);break;case"script":u=qa(e)}_t.has(u)||(e=A({rel:"preload",href:t==="image"&&l&&l.imageSrcSet?void 0:e,as:t},l),_t.set(u,e),a.querySelector(n)!==null||t==="style"&&a.querySelector(qn(u))||t==="script"&&a.querySelector(Ln(u))||(t=a.createElement("link"),Je(t,"link",e),Ge(t),a.head.appendChild(t)))}}function Qg(e,t){tl.m(e,t);var l=Ha;if(l&&e){var a=t&&typeof t.as=="string"?t.as:"script",n='link[rel="modulepreload"][as="'+pt(a)+'"][href="'+pt(e)+'"]',u=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=qa(e)}if(!_t.has(u)&&(e=A({rel:"modulepreload",href:e},t),_t.set(u,e),l.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Ln(u)))return}a=l.createElement("link"),Je(a,"link",e),Ge(a),l.head.appendChild(a)}}}function Zg(e,t,l){tl.S(e,t,l);var a=Ha;if(a&&e){var n=aa(a).hoistableStyles,u=Ba(e);t=t||"default";var o=n.get(u);if(!o){var f={loading:0,preload:null};if(o=a.querySelector(qn(u)))f.loading=5;else{e=A({rel:"stylesheet",href:e,"data-precedence":t},l),(l=_t.get(u))&&zr(e,l);var v=o=a.createElement("link");Ge(v),Je(v,"link",e),v._p=new Promise(function(_,R){v.onload=_,v.onerror=R}),v.addEventListener("load",function(){f.loading|=1}),v.addEventListener("error",function(){f.loading|=2}),f.loading|=4,ei(o,t,a)}o={type:"stylesheet",instance:o,count:1,state:f},n.set(u,o)}}}function Kg(e,t){tl.X(e,t);var l=Ha;if(l&&e){var a=aa(l).hoistableScripts,n=qa(e),u=a.get(n);u||(u=l.querySelector(Ln(n)),u||(e=A({src:e,async:!0},t),(t=_t.get(n))&&Rr(e,t),u=l.createElement("script"),Ge(u),Je(u,"link",e),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function Jg(e,t){tl.M(e,t);var l=Ha;if(l&&e){var a=aa(l).hoistableScripts,n=qa(e),u=a.get(n);u||(u=l.querySelector(Ln(n)),u||(e=A({src:e,async:!0,type:"module"},t),(t=_t.get(n))&&Rr(e,t),u=l.createElement("script"),Ge(u),Je(u,"link",e),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function Wd(e,t,l,a){var n=(n=ae.current)?Iu(n):null;if(!n)throw Error(c(446));switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(t=Ba(l.href),l=aa(n).hoistableStyles,a=l.get(t),a||(a={type:"style",instance:null,count:0,state:null},l.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){e=Ba(l.href);var u=aa(n).hoistableStyles,o=u.get(e);if(o||(n=n.ownerDocument||n,o={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(e,o),(u=n.querySelector(qn(e)))&&!u._p&&(o.instance=u,o.state.loading=5),_t.has(e)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},_t.set(e,l),u||Wg(n,e,l,o.state))),t&&a===null)throw Error(c(528,""));return o}if(t&&a!==null)throw Error(c(529,""));return null;case"script":return t=l.async,l=l.src,typeof l=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=qa(l),l=aa(n).hoistableScripts,a=l.get(t),a||(a={type:"script",instance:null,count:0,state:null},l.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(c(444,e))}}function Ba(e){return'href="'+pt(e)+'"'}function qn(e){return'link[rel="stylesheet"]['+e+"]"}function $d(e){return A({},e,{"data-precedence":e.precedence,precedence:null})}function Wg(e,t,l,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),Je(t,"link",l),Ge(t),e.head.appendChild(t))}function qa(e){return'[src="'+pt(e)+'"]'}function Ln(e){return"script[async]"+e}function Fd(e,t,l){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+pt(l.href)+'"]');if(a)return t.instance=a,Ge(a),a;var n=A({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),Ge(a),Je(a,"style",n),ei(a,l.precedence,e),t.instance=a;case"stylesheet":n=Ba(l.href);var u=e.querySelector(qn(n));if(u)return t.state.loading|=4,t.instance=u,Ge(u),u;a=$d(l),(n=_t.get(n))&&zr(a,n),u=(e.ownerDocument||e).createElement("link"),Ge(u);var o=u;return o._p=new Promise(function(f,v){o.onload=f,o.onerror=v}),Je(u,"link",a),t.state.loading|=4,ei(u,l.precedence,e),t.instance=u;case"script":return u=qa(l.src),(n=e.querySelector(Ln(u)))?(t.instance=n,Ge(n),n):(a=l,(n=_t.get(u))&&(a=A({},l),Rr(a,n)),e=e.ownerDocument||e,n=e.createElement("script"),Ge(n),Je(n,"link",a),e.head.appendChild(n),t.instance=n);case"void":return null;default:throw Error(c(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,ei(a,l.precedence,e));return t.instance}function ei(e,t,l){for(var a=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=a.length?a[a.length-1]:null,u=n,o=0;o<a.length;o++){var f=a[o];if(f.dataset.precedence===t)u=f;else if(u!==n)break}u?u.parentNode.insertBefore(e,u.nextSibling):(t=l.nodeType===9?l.head:l,t.insertBefore(e,t.firstChild))}function zr(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Rr(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var ti=null;function Pd(e,t,l){if(ti===null){var a=new Map,n=ti=new Map;n.set(l,a)}else n=ti,a=n.get(l),a||(a=new Map,n.set(l,a));if(a.has(e))return a;for(a.set(e,null),l=l.getElementsByTagName(e),n=0;n<l.length;n++){var u=l[n];if(!(u[Fa]||u[We]||e==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var o=u.getAttribute(t)||"";o=e+o;var f=a.get(o);f?f.push(u):a.set(o,[u])}}return a}function Id(e,t,l){e=e.ownerDocument||e,e.head.insertBefore(l,t==="title"?e.querySelector("head > title"):null)}function $g(e,t,l){if(l===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function em(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}var Yn=null;function Fg(){}function Pg(e,t,l){if(Yn===null)throw Error(c(475));var a=Yn;if(t.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(t.state.loading&4)===0){if(t.instance===null){var n=Ba(l.href),u=e.querySelector(qn(n));if(u){e=u._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(a.count++,a=li.bind(a),e.then(a,a)),t.state.loading|=4,t.instance=u,Ge(u);return}u=e.ownerDocument||e,l=$d(l),(n=_t.get(n))&&zr(l,n),u=u.createElement("link"),Ge(u);var o=u;o._p=new Promise(function(f,v){o.onload=f,o.onerror=v}),Je(u,"link",l),t.instance=u}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&3)===0&&(a.count++,t=li.bind(a),e.addEventListener("load",t),e.addEventListener("error",t))}}function Ig(){if(Yn===null)throw Error(c(475));var e=Yn;return e.stylesheets&&e.count===0&&wr(e,e.stylesheets),0<e.count?function(t){var l=setTimeout(function(){if(e.stylesheets&&wr(e,e.stylesheets),e.unsuspend){var a=e.unsuspend;e.unsuspend=null,a()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(l)}}:null}function li(){if(this.count--,this.count===0){if(this.stylesheets)wr(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var ai=null;function wr(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,ai=new Map,t.forEach(e0,e),ai=null,li.call(e))}function e0(e,t){if(!(t.state.loading&4)){var l=ai.get(e);if(l)var a=l.get(null);else{l=new Map,ai.set(e,l);for(var n=e.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<n.length;u++){var o=n[u];(o.nodeName==="LINK"||o.getAttribute("media")!=="not all")&&(l.set(o.dataset.precedence,o),a=o)}a&&l.set(null,a)}n=t.instance,o=n.getAttribute("data-precedence"),u=l.get(o)||a,u===a&&l.set(null,n),l.set(o,n),this.count++,a=li.bind(this),n.addEventListener("load",a),n.addEventListener("error",a),u?u.parentNode.insertBefore(n,u.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(n,e.firstChild)),t.state.loading|=4}}var Gn={$$typeof:te,Provider:null,Consumer:null,_currentValue:B,_currentValue2:B,_threadCount:0};function t0(e,t,l,a,n,u,o,f){this.tag=1,this.containerInfo=e,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=Mi(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Mi(0),this.hiddenUpdates=Mi(null),this.identifierPrefix=a,this.onUncaughtError=n,this.onCaughtError=u,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=f,this.incompleteTransitions=new Map}function tm(e,t,l,a,n,u,o,f,v,_,R,j){return e=new t0(e,t,l,o,f,v,_,j),t=1,u===!0&&(t|=24),u=st(3,null,null,t),e.current=u,u.stateNode=e,t=mc(),t.refCount++,e.pooledCache=t,t.refCount++,u.memoizedState={element:a,isDehydrated:l,cache:t},yc(u),e}function lm(e){return e?(e=va,e):va}function am(e,t,l,a,n,u){n=lm(n),a.context===null?a.context=n:a.pendingContext=n,a=fl(t),a.payload={element:l},u=u===void 0?null:u,u!==null&&(a.callback=u),l=dl(e,a,t),l!==null&&(vt(l,e,t),yn(l,e,t))}function nm(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var l=e.retryLane;e.retryLane=l!==0&&l<t?l:t}}function Cr(e,t){nm(e,t),(e=e.alternate)&&nm(e,t)}function um(e){if(e.tag===13){var t=ha(e,67108864);t!==null&&vt(t,e,67108864),Cr(e,67108864)}}var ni=!0;function l0(e,t,l,a){var n=D.T;D.T=null;var u=L.p;try{L.p=2,jr(e,t,l,a)}finally{L.p=u,D.T=n}}function a0(e,t,l,a){var n=D.T;D.T=null;var u=L.p;try{L.p=8,jr(e,t,l,a)}finally{L.p=u,D.T=n}}function jr(e,t,l,a){if(ni){var n=Ur(a);if(n===null)xr(e,t,a,ui,l),cm(e,a);else if(u0(n,e,t,l,a))a.stopPropagation();else if(cm(e,a),t&4&&-1<n0.indexOf(e)){for(;n!==null;){var u=la(n);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var o=jl(u.pendingLanes);if(o!==0){var f=u;for(f.pendingLanes|=2,f.entangledLanes|=2;o;){var v=1<<31-rt(o);f.entanglements[1]|=v,o&=~v}qt(u),(Se&6)===0&&(ku=Ct()+500,jn(0))}}break;case 13:f=ha(u,2),f!==null&&vt(f,u,2),Vu(),Cr(u,2)}if(u=Ur(a),u===null&&xr(e,t,a,ui,l),u===n)break;n=u}n!==null&&a.stopPropagation()}else xr(e,t,a,null,l)}}function Ur(e){return e=Yi(e),Hr(e)}var ui=null;function Hr(e){if(ui=null,e=ta(e),e!==null){var t=m(e);if(t===null)e=null;else{var l=t.tag;if(l===13){if(e=S(t),e!==null)return e;e=null}else if(l===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return ui=e,null}function im(e){switch(e){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(Xh()){case po:return 2;case So:return 8;case Fn:case Vh:return 32;case xo:return 268435456;default:return 32}default:return 32}}var Br=!1,Nl=null,_l=null,Ol=null,kn=new Map,Xn=new Map,Ml=[],n0="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 cm(e,t){switch(e){case"focusin":case"focusout":Nl=null;break;case"dragenter":case"dragleave":_l=null;break;case"mouseover":case"mouseout":Ol=null;break;case"pointerover":case"pointerout":kn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Xn.delete(t.pointerId)}}function Vn(e,t,l,a,n,u){return e===null||e.nativeEvent!==u?(e={blockedOn:t,domEventName:l,eventSystemFlags:a,nativeEvent:u,targetContainers:[n]},t!==null&&(t=la(t),t!==null&&um(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,n!==null&&t.indexOf(n)===-1&&t.push(n),e)}function u0(e,t,l,a,n){switch(t){case"focusin":return Nl=Vn(Nl,e,t,l,a,n),!0;case"dragenter":return _l=Vn(_l,e,t,l,a,n),!0;case"mouseover":return Ol=Vn(Ol,e,t,l,a,n),!0;case"pointerover":var u=n.pointerId;return kn.set(u,Vn(kn.get(u)||null,e,t,l,a,n)),!0;case"gotpointercapture":return u=n.pointerId,Xn.set(u,Vn(Xn.get(u)||null,e,t,l,a,n)),!0}return!1}function rm(e){var t=ta(e.target);if(t!==null){var l=m(t);if(l!==null){if(t=l.tag,t===13){if(t=S(l),t!==null){e.blockedOn=t,Ph(e.priority,function(){if(l.tag===13){var a=ht();a=Di(a);var n=ha(l,a);n!==null&&vt(n,l,a),Cr(l,a)}});return}}else if(t===3&&l.stateNode.current.memoizedState.isDehydrated){e.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}e.blockedOn=null}function ii(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var l=Ur(e.nativeEvent);if(l===null){l=e.nativeEvent;var a=new l.constructor(l.type,l);Li=a,l.target.dispatchEvent(a),Li=null}else return t=la(l),t!==null&&um(t),e.blockedOn=l,!1;t.shift()}return!0}function om(e,t,l){ii(e)&&l.delete(t)}function i0(){Br=!1,Nl!==null&&ii(Nl)&&(Nl=null),_l!==null&&ii(_l)&&(_l=null),Ol!==null&&ii(Ol)&&(Ol=null),kn.forEach(om),Xn.forEach(om)}function ci(e,t){e.blockedOn===t&&(e.blockedOn=null,Br||(Br=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,i0)))}var ri=null;function sm(e){ri!==e&&(ri=e,i.unstable_scheduleCallback(i.unstable_NormalPriority,function(){ri===e&&(ri=null);for(var t=0;t<e.length;t+=3){var l=e[t],a=e[t+1],n=e[t+2];if(typeof a!="function"){if(Hr(a||l)===null)continue;break}var u=la(l);u!==null&&(e.splice(t,3),t-=3,Hc(u,{pending:!0,data:n,method:l.method,action:a},a,n))}}))}function Qn(e){function t(v){return ci(v,e)}Nl!==null&&ci(Nl,e),_l!==null&&ci(_l,e),Ol!==null&&ci(Ol,e),kn.forEach(t),Xn.forEach(t);for(var l=0;l<Ml.length;l++){var a=Ml[l];a.blockedOn===e&&(a.blockedOn=null)}for(;0<Ml.length&&(l=Ml[0],l.blockedOn===null);)rm(l),l.blockedOn===null&&Ml.shift();if(l=(e.ownerDocument||e).$$reactFormReplay,l!=null)for(a=0;a<l.length;a+=3){var n=l[a],u=l[a+1],o=n[Ie]||null;if(typeof u=="function")o||sm(l);else if(o){var f=null;if(u&&u.hasAttribute("formAction")){if(n=u,o=u[Ie]||null)f=o.formAction;else if(Hr(n)!==null)continue}else f=o.action;typeof f=="function"?l[a+1]=f:(l.splice(a,3),a-=3),sm(l)}}}function qr(e){this._internalRoot=e}oi.prototype.render=qr.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(c(409));var l=t.current,a=ht();am(l,a,e,t,null,null)},oi.prototype.unmount=qr.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;am(e.current,2,null,e,null,null),Vu(),t[ea]=null}};function oi(e){this._internalRoot=e}oi.prototype.unstable_scheduleHydration=function(e){if(e){var t=_o();e={blockedOn:null,target:e,priority:t};for(var l=0;l<Ml.length&&t!==0&&t<Ml[l].priority;l++);Ml.splice(l,0,e),l===0&&rm(e)}};var fm=r.version;if(fm!=="19.1.0")throw Error(c(527,fm,"19.1.0"));L.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(c(188)):(e=Object.keys(e).join(","),Error(c(268,e)));return e=E(t),e=e!==null?h(e):null,e=e===null?null:e.stateNode,e};var c0={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:D,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var si=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!si.isDisabled&&si.supportsFiber)try{Ja=si.inject(c0),ct=si}catch{}}return Kn.createRoot=function(e,t){if(!d(e))throw Error(c(299));var l=!1,a="",n=Of,u=Mf,o=Df,f=null;return t!=null&&(t.unstable_strictMode===!0&&(l=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(n=t.onUncaughtError),t.onCaughtError!==void 0&&(u=t.onCaughtError),t.onRecoverableError!==void 0&&(o=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(f=t.unstable_transitionCallbacks)),t=tm(e,1,!1,null,null,l,a,n,u,o,f,null),e[ea]=t.current,Sr(e),new qr(t)},Kn.hydrateRoot=function(e,t,l){if(!d(e))throw Error(c(299));var a=!1,n="",u=Of,o=Mf,f=Df,v=null,_=null;return l!=null&&(l.unstable_strictMode===!0&&(a=!0),l.identifierPrefix!==void 0&&(n=l.identifierPrefix),l.onUncaughtError!==void 0&&(u=l.onUncaughtError),l.onCaughtError!==void 0&&(o=l.onCaughtError),l.onRecoverableError!==void 0&&(f=l.onRecoverableError),l.unstable_transitionCallbacks!==void 0&&(v=l.unstable_transitionCallbacks),l.formState!==void 0&&(_=l.formState)),t=tm(e,1,!0,t,l??null,a,n,u,o,f,v,_),t.context=lm(null),l=t.current,a=ht(),a=Di(a),n=fl(a),n.callback=null,dl(l,n,a),l=a,t.current.lanes=l,$a(t,l),qt(t),e[ea]=t.current,Sr(e),new oi(t)},Kn.version="19.1.0",Kn}var xm;function b0(){if(xm)return Gr.exports;xm=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(r){console.error(r)}}return i(),Gr.exports=y0(),Gr.exports}var p0=b0();const S0="modulepreload",x0=function(i){return"/"+i},Em={},Qr=function(r,s,c){let d=Promise.resolve();if(s&&s.length>0){let S=function(h){return Promise.all(h.map(A=>Promise.resolve(A).then(C=>({status:"fulfilled",value:C}),C=>({status:"rejected",reason:C}))))};document.getElementsByTagName("link");const g=document.querySelector("meta[property=csp-nonce]"),E=(g==null?void 0:g.nonce)||(g==null?void 0:g.getAttribute("nonce"));d=S(s.map(h=>{if(h=x0(h),h in Em)return;Em[h]=!0;const A=h.endsWith(".css"),C=A?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${h}"]${C}`))return;const U=document.createElement("link");if(U.rel=A?"stylesheet":S0,A||(U.as="script"),U.crossOrigin="",U.href=h,E&&U.setAttribute("nonce",E),document.head.appendChild(U),A)return new Promise((X,W)=>{U.addEventListener("load",X),U.addEventListener("error",()=>W(new Error(`Unable to preload CSS for ${h}`)))})}))}function m(S){const g=new Event("vite:preloadError",{cancelable:!0});if(g.payload=S,window.dispatchEvent(g),!g.defaultPrevented)throw S}return d.then(S=>{for(const g of S||[])g.status==="rejected"&&m(g.reason);return r().catch(m)})},La=async(i,r={})=>{try{const s=await fetch(i,{headers:{"Content-Type":"application/json",...r.headers},...r}),c=s.headers.get("content-type");if(c&&c.includes("application/json"))return await s.json();{const d=await s.text();try{return JSON.parse(d)}catch{return{success:!1,error:"Resposta inválida do servidor"}}}}catch(s){return console.error("Erro na requisição:",s),{success:!1,error:"Erro de conexão"}}},fi=i=>new Promise(r=>setTimeout(r,i)),Va={async login(i,r){return window.location.hostname==="localhost"?(await fi(1e3),i==="entregador@pede.la"&&r==="123456"?{success:!0,user:{id:1,nome:"Entregador Teste",email:i}}:{success:!1,error:"Credenciais inválidas"}):await La("/entregas/api/login.php",{method:"POST",body:JSON.stringify({email:i,password:r})})},async getDeliveries(i=1,r=12){if(window.location.hostname==="localhost"){const{mockDeliveries:c}=await Qr(async()=>{const{mockDeliveries:g}=await import("./mockData-CcYdo2fq.js");return{mockDeliveries:g}},[]);await fi(500);const d=(i-1)*r,m=d+r;return{success:!0,data:c.slice(d,m),total:c.length,totalPages:Math.ceil(c.length/r),currentPage:i}}const s=new URLSearchParams({page:i,limit:r});return await La(`/entregas/api/get_deliveries.php?${s}`)},async updateDeliveryStatus(i,r){if(window.location.hostname==="localhost"){const{mockDeliveries:s}=await Qr(async()=>{const{mockDeliveries:d}=await import("./mockData-CcYdo2fq.js");return{mockDeliveries:d}},[]);await fi(300);const c=s.findIndex(d=>d.id===i);return c===-1?{success:!1,error:"Entrega não encontrada"}:(s[c].status_entrega=r,r==="entregue"?s[c].datahora_entrega=new Date().toISOString():s[c].datahora_entrega=null,{success:!0})}return await La("/entregas/alterar_status.php",{method:"POST",body:JSON.stringify({id:i,status_entrega:r})})},async saveObservations(i,r){if(window.location.hostname==="localhost"){const{mockDeliveries:s}=await Qr(async()=>{const{mockDeliveries:d}=await import("./mockData-CcYdo2fq.js");return{mockDeliveries:d}},[]);await fi(300);const c=s.findIndex(d=>d.id===i);return c===-1?{success:!1,error:"Entrega não encontrada"}:(s[c].observacoes=r,{success:!0})}return await La("/entregas/salvar_observacoes.php",{method:"POST",body:JSON.stringify({id:i,observacoes:r})})},async checkSession(){if(window.location.hostname==="localhost"){const i=localStorage.getItem("user");return i?{success:!0,user:JSON.parse(i)}:{success:!1}}return await La("/entregas/api/check_session.php")},async logout(){return window.location.hostname==="localhost"?(localStorage.removeItem("user"),{success:!0}):await La("/entregas/sair/index.php",{method:"POST"})}},Km=T.createContext(),so=()=>{const i=T.useContext(Km);if(!i)throw new Error("useAuth deve ser usado dentro de um AuthProvider");return i},E0=({children:i})=>{const[r,s]=T.useState(null),[c,d]=T.useState(!0);T.useEffect(()=>{(async()=>{try{const h=await Va.checkSession();h.success&&h.user&&s(h.user)}catch(h){console.error("Erro ao verificar sessão:",h)}finally{d(!1)}})()},[]);const g={user:r,login:async(E,h)=>{try{const A=await Va.login(E,h);return A.success?(s(A.user),window.location.hostname==="localhost"&&localStorage.setItem("user",JSON.stringify(A.user)),{success:!0}):{success:!1,error:A.error}}catch{return{success:!1,error:"Erro de conexão"}}},logout:async()=>{try{await Va.logout(),s(null),window.location.hostname==="localhost"&&localStorage.removeItem("user")}catch(E){console.error("Erro ao fazer logout:",E),s(null),window.location.hostname==="localhost"&&localStorage.removeItem("user")}},loading:c};return y.jsx(Km.Provider,{value:g,children:i})};/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const A0=i=>i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),T0=i=>i.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,s,c)=>c?c.toUpperCase():s.toLowerCase()),Am=i=>{const r=T0(i);return r.charAt(0).toUpperCase()+r.slice(1)},Jm=(...i)=>i.filter((r,s,c)=>!!r&&r.trim()!==""&&c.indexOf(r)===s).join(" ").trim(),N0=i=>{for(const r in i)if(r.startsWith("aria-")||r==="role"||r==="title")return!0};/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */var _0={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const O0=T.forwardRef(({color:i="currentColor",size:r=24,strokeWidth:s=2,absoluteStrokeWidth:c,className:d="",children:m,iconNode:S,...g},E)=>T.createElement("svg",{ref:E,..._0,width:r,height:r,stroke:i,strokeWidth:c?Number(s)*24/Number(r):s,className:Jm("lucide",d),...!m&&!N0(g)&&{"aria-hidden":"true"},...g},[...S.map(([h,A])=>T.createElement(h,A)),...Array.isArray(m)?m:[m]]));/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Qe=(i,r)=>{const s=T.forwardRef(({className:c,...d},m)=>T.createElement(O0,{ref:m,iconNode:r,className:Jm(`lucide-${A0(Am(i))}`,`lucide-${i}`,c),...d}));return s.displayName=Am(i),s};/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const M0=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],D0=Qe("chevron-left",M0);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const z0=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],R0=Qe("chevron-right",z0);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const w0=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],C0=Qe("circle-alert",w0);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const j0=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]],U0=Qe("clock",j0);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const H0=[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]],B0=Qe("dollar-sign",H0);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const q0=[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]],L0=Qe("download",q0);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Y0=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],G0=Qe("info",Y0);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const k0=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],X0=Qe("loader-circle",k0);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const V0=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],Q0=Qe("lock",V0);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Z0=[["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}],["polyline",{points:"10 17 15 12 10 7",key:"1ail0h"}],["line",{x1:"15",x2:"3",y1:"12",y2:"12",key:"v6grx8"}]],K0=Qe("log-in",Z0);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const J0=[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]],W0=Qe("log-out",J0);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const $0=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],F0=Qe("mail",$0);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const P0=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],Wm=Qe("map-pin",P0);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const I0=[["path",{d:"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z",key:"169xi5"}],["path",{d:"M15 5.764v15",key:"1pn4in"}],["path",{d:"M9 3.236v15",key:"1uimfh"}]],ey=Qe("map",I0);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const ty=[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]],ly=Qe("save",ty);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const ay=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],ny=Qe("user",ay);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const uy=[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}],["path",{d:"M5 12.859a10 10 0 0 1 5.17-2.69",key:"1dl1wf"}],["path",{d:"M19 12.859a10 10 0 0 0-2.007-1.523",key:"4k23kn"}],["path",{d:"M2 8.82a15 15 0 0 1 4.177-2.643",key:"1grhjp"}],["path",{d:"M22 8.82a15 15 0 0 0-11.288-3.764",key:"z3jwby"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],iy=Qe("wifi-off",uy);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const cy=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],$m=Qe("x",cy);function Tm(i,r){if(typeof i=="function")return i(r);i!=null&&(i.current=r)}function ry(...i){return r=>{let s=!1;const c=i.map(d=>{const m=Tm(d,r);return!s&&typeof m=="function"&&(s=!0),m});if(s)return()=>{for(let d=0;d<c.length;d++){const m=c[d];typeof m=="function"?m():Tm(i[d],null)}}}}function Cl(...i){return T.useCallback(ry(...i),i)}function fo(i){const r=sy(i),s=T.forwardRef((c,d)=>{const{children:m,...S}=c,g=T.Children.toArray(m),E=g.find(dy);if(E){const h=E.props.children,A=g.map(C=>C===E?T.Children.count(h)>1?T.Children.only(null):T.isValidElement(h)?h.props.children:null:C);return y.jsx(r,{...S,ref:d,children:T.isValidElement(h)?T.cloneElement(h,void 0,A):null})}return y.jsx(r,{...S,ref:d,children:m})});return s.displayName=`${i}.Slot`,s}var oy=fo("Slot");function sy(i){const r=T.forwardRef((s,c)=>{const{children:d,...m}=s,S=T.isValidElement(d)?hy(d):void 0,g=Cl(S,c);if(T.isValidElement(d)){const E=my(m,d.props);return d.type!==T.Fragment&&(E.ref=g),T.cloneElement(d,E)}return T.Children.count(d)>1?T.Children.only(null):null});return r.displayName=`${i}.SlotClone`,r}var fy=Symbol("radix.slottable");function dy(i){return T.isValidElement(i)&&typeof i.type=="function"&&"__radixId"in i.type&&i.type.__radixId===fy}function my(i,r){const s={...r};for(const c in r){const d=i[c],m=r[c];/^on[A-Z]/.test(c)?d&&m?s[c]=(...g)=>{const E=m(...g);return d(...g),E}:d&&(s[c]=d):c==="style"?s[c]={...d,...m}:c==="className"&&(s[c]=[d,m].filter(Boolean).join(" "))}return{...i,...s}}function hy(i){var c,d;let r=(c=Object.getOwnPropertyDescriptor(i.props,"ref"))==null?void 0:c.get,s=r&&"isReactWarning"in r&&r.isReactWarning;return s?i.ref:(r=(d=Object.getOwnPropertyDescriptor(i,"ref"))==null?void 0:d.get,s=r&&"isReactWarning"in r&&r.isReactWarning,s?i.props.ref:i.props.ref||i.ref)}function Fm(i){var r,s,c="";if(typeof i=="string"||typeof i=="number")c+=i;else if(typeof i=="object")if(Array.isArray(i)){var d=i.length;for(r=0;r<d;r++)i[r]&&(s=Fm(i[r]))&&(c&&(c+=" "),c+=s)}else for(s in i)i[s]&&(c&&(c+=" "),c+=s);return c}function Pm(){for(var i,r,s=0,c="",d=arguments.length;s<d;s++)(i=arguments[s])&&(r=Fm(i))&&(c&&(c+=" "),c+=r);return c}const Nm=i=>typeof i=="boolean"?`${i}`:i===0?"0":i,_m=Pm,vy=(i,r)=>s=>{var c;if((r==null?void 0:r.variants)==null)return _m(i,s==null?void 0:s.class,s==null?void 0:s.className);const{variants:d,defaultVariants:m}=r,S=Object.keys(d).map(h=>{const A=s==null?void 0:s[h],C=m==null?void 0:m[h];if(A===null)return null;const U=Nm(A)||Nm(C);return d[h][U]}),g=s&&Object.entries(s).reduce((h,A)=>{let[C,U]=A;return U===void 0||(h[C]=U),h},{}),E=r==null||(c=r.compoundVariants)===null||c===void 0?void 0:c.reduce((h,A)=>{let{class:C,className:U,...X}=A;return Object.entries(X).every(W=>{let[z,G]=W;return Array.isArray(G)?G.includes({...m,...g}[z]):{...m,...g}[z]===G})?[...h,C,U]:h},[]);return _m(i,S,E,s==null?void 0:s.class,s==null?void 0:s.className)},mo="-",gy=i=>{const r=by(i),{conflictingClassGroups:s,conflictingClassGroupModifiers:c}=i;return{getClassGroupId:S=>{const g=S.split(mo);return g[0]===""&&g.length!==1&&g.shift(),Im(g,r)||yy(S)},getConflictingClassGroupIds:(S,g)=>{const E=s[S]||[];return g&&c[S]?[...E,...c[S]]:E}}},Im=(i,r)=>{var S;if(i.length===0)return r.classGroupId;const s=i[0],c=r.nextPart.get(s),d=c?Im(i.slice(1),c):void 0;if(d)return d;if(r.validators.length===0)return;const m=i.join(mo);return(S=r.validators.find(({validator:g})=>g(m)))==null?void 0:S.classGroupId},Om=/^\[(.+)\]$/,yy=i=>{if(Om.test(i)){const r=Om.exec(i)[1],s=r==null?void 0:r.substring(0,r.indexOf(":"));if(s)return"arbitrary.."+s}},by=i=>{const{theme:r,classGroups:s}=i,c={nextPart:new Map,validators:[]};for(const d in s)ao(s[d],c,d,r);return c},ao=(i,r,s,c)=>{i.forEach(d=>{if(typeof d=="string"){const m=d===""?r:Mm(r,d);m.classGroupId=s;return}if(typeof d=="function"){if(py(d)){ao(d(c),r,s,c);return}r.validators.push({validator:d,classGroupId:s});return}Object.entries(d).forEach(([m,S])=>{ao(S,Mm(r,m),s,c)})})},Mm=(i,r)=>{let s=i;return r.split(mo).forEach(c=>{s.nextPart.has(c)||s.nextPart.set(c,{nextPart:new Map,validators:[]}),s=s.nextPart.get(c)}),s},py=i=>i.isThemeGetter,Sy=i=>{if(i<1)return{get:()=>{},set:()=>{}};let r=0,s=new Map,c=new Map;const d=(m,S)=>{s.set(m,S),r++,r>i&&(r=0,c=s,s=new Map)};return{get(m){let S=s.get(m);if(S!==void 0)return S;if((S=c.get(m))!==void 0)return d(m,S),S},set(m,S){s.has(m)?s.set(m,S):d(m,S)}}},no="!",uo=":",xy=uo.length,Ey=i=>{const{prefix:r,experimentalParseClassName:s}=i;let c=d=>{const m=[];let S=0,g=0,E=0,h;for(let W=0;W<d.length;W++){let z=d[W];if(S===0&&g===0){if(z===uo){m.push(d.slice(E,W)),E=W+xy;continue}if(z==="/"){h=W;continue}}z==="["?S++:z==="]"?S--:z==="("?g++:z===")"&&g--}const A=m.length===0?d:d.substring(E),C=Ay(A),U=C!==A,X=h&&h>E?h-E:void 0;return{modifiers:m,hasImportantModifier:U,baseClassName:C,maybePostfixModifierPosition:X}};if(r){const d=r+uo,m=c;c=S=>S.startsWith(d)?m(S.substring(d.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:S,maybePostfixModifierPosition:void 0}}if(s){const d=c;c=m=>s({className:m,parseClassName:d})}return c},Ay=i=>i.endsWith(no)?i.substring(0,i.length-1):i.startsWith(no)?i.substring(1):i,Ty=i=>{const r=Object.fromEntries(i.orderSensitiveModifiers.map(c=>[c,!0]));return c=>{if(c.length<=1)return c;const d=[];let m=[];return c.forEach(S=>{S[0]==="["||r[S]?(d.push(...m.sort(),S),m=[]):m.push(S)}),d.push(...m.sort()),d}},Ny=i=>({cache:Sy(i.cacheSize),parseClassName:Ey(i),sortModifiers:Ty(i),...gy(i)}),_y=/\s+/,Oy=(i,r)=>{const{parseClassName:s,getClassGroupId:c,getConflictingClassGroupIds:d,sortModifiers:m}=r,S=[],g=i.trim().split(_y);let E="";for(let h=g.length-1;h>=0;h-=1){const A=g[h],{isExternal:C,modifiers:U,hasImportantModifier:X,baseClassName:W,maybePostfixModifierPosition:z}=s(A);if(C){E=A+(E.length>0?" "+E:E);continue}let G=!!z,I=c(G?W.substring(0,z):W);if(!I){if(!G){E=A+(E.length>0?" "+E:E);continue}if(I=c(W),!I){E=A+(E.length>0?" "+E:E);continue}G=!1}const me=m(U).join(":"),te=X?me+no:me,ue=te+I;if(S.includes(ue))continue;S.push(ue);const Y=d(I,G);for(let ne=0;ne<Y.length;++ne){const F=Y[ne];S.push(te+F)}E=A+(E.length>0?" "+E:E)}return E};function My(){let i=0,r,s,c="";for(;i<arguments.length;)(r=arguments[i++])&&(s=eh(r))&&(c&&(c+=" "),c+=s);return c}const eh=i=>{if(typeof i=="string")return i;let r,s="";for(let c=0;c<i.length;c++)i[c]&&(r=eh(i[c]))&&(s&&(s+=" "),s+=r);return s};function Dy(i,...r){let s,c,d,m=S;function S(E){const h=r.reduce((A,C)=>C(A),i());return s=Ny(h),c=s.cache.get,d=s.cache.set,m=g,g(E)}function g(E){const h=c(E);if(h)return h;const A=Oy(E,s);return d(E,A),A}return function(){return m(My.apply(null,arguments))}}const Ye=i=>{const r=s=>s[i]||[];return r.isThemeGetter=!0,r},th=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,lh=/^\((?:(\w[\w-]*):)?(.+)\)$/i,zy=/^\d+\/\d+$/,Ry=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,wy=/\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$/,Cy=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,jy=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Uy=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ya=i=>zy.test(i),re=i=>!!i&&!Number.isNaN(Number(i)),zl=i=>!!i&&Number.isInteger(Number(i)),Zr=i=>i.endsWith("%")&&re(i.slice(0,-1)),ll=i=>Ry.test(i),Hy=()=>!0,By=i=>wy.test(i)&&!Cy.test(i),ah=()=>!1,qy=i=>jy.test(i),Ly=i=>Uy.test(i),Yy=i=>!K(i)&&!J(i),Gy=i=>Za(i,ih,ah),K=i=>th.test(i),Pl=i=>Za(i,ch,By),Kr=i=>Za(i,Zy,re),Dm=i=>Za(i,nh,ah),ky=i=>Za(i,uh,Ly),di=i=>Za(i,rh,qy),J=i=>lh.test(i),Jn=i=>Ka(i,ch),Xy=i=>Ka(i,Ky),zm=i=>Ka(i,nh),Vy=i=>Ka(i,ih),Qy=i=>Ka(i,uh),mi=i=>Ka(i,rh,!0),Za=(i,r,s)=>{const c=th.exec(i);return c?c[1]?r(c[1]):s(c[2]):!1},Ka=(i,r,s=!1)=>{const c=lh.exec(i);return c?c[1]?r(c[1]):s:!1},nh=i=>i==="position"||i==="percentage",uh=i=>i==="image"||i==="url",ih=i=>i==="length"||i==="size"||i==="bg-size",ch=i=>i==="length",Zy=i=>i==="number",Ky=i=>i==="family-name",rh=i=>i==="shadow",Jy=()=>{const i=Ye("color"),r=Ye("font"),s=Ye("text"),c=Ye("font-weight"),d=Ye("tracking"),m=Ye("leading"),S=Ye("breakpoint"),g=Ye("container"),E=Ye("spacing"),h=Ye("radius"),A=Ye("shadow"),C=Ye("inset-shadow"),U=Ye("text-shadow"),X=Ye("drop-shadow"),W=Ye("blur"),z=Ye("perspective"),G=Ye("aspect"),I=Ye("ease"),me=Ye("animate"),te=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ue=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],Y=()=>[...ue(),J,K],ne=()=>["auto","hidden","clip","visible","scroll"],F=()=>["auto","contain","none"],k=()=>[J,K,E],he=()=>[Ya,"full","auto",...k()],ut=()=>[zl,"none","subgrid",J,K],yt=()=>["auto",{span:["full",zl,J,K]},zl,J,K],Ce=()=>[zl,"auto",J,K],wt=()=>["auto","min","max","fr",J,K],Ot=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],De=()=>["start","end","center","stretch","center-safe","end-safe"],D=()=>["auto",...k()],L=()=>[Ya,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...k()],B=()=>[i,J,K],pe=()=>[...ue(),zm,Dm,{position:[J,K]}],b=()=>["no-repeat",{repeat:["","x","y","space","round"]}],H=()=>["auto","cover","contain",Vy,Gy,{size:[J,K]}],V=()=>[Zr,Jn,Pl],q=()=>["","none","full",h,J,K],Q=()=>["",re,Jn,Pl],se=()=>["solid","dashed","dotted","double"],ae=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ge=()=>[re,Zr,zm,Dm],Ne=()=>["","none",W,J,K],it=()=>["none",re,J,K],al=()=>["none",re,J,K],nl=()=>[re,J,K],ul=()=>[Ya,"full",...k()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ll],breakpoint:[ll],color:[Hy],container:[ll],"drop-shadow":[ll],ease:["in","out","in-out"],font:[Yy],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ll],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ll],shadow:[ll],spacing:["px",re],text:[ll],"text-shadow":[ll],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Ya,K,J,G]}],container:["container"],columns:[{columns:[re,K,J,g]}],"break-after":[{"break-after":te()}],"break-before":[{"break-before":te()}],"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:Y()}],overflow:[{overflow:ne()}],"overflow-x":[{"overflow-x":ne()}],"overflow-y":[{"overflow-y":ne()}],overscroll:[{overscroll:F()}],"overscroll-x":[{"overscroll-x":F()}],"overscroll-y":[{"overscroll-y":F()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:he()}],"inset-x":[{"inset-x":he()}],"inset-y":[{"inset-y":he()}],start:[{start:he()}],end:[{end:he()}],top:[{top:he()}],right:[{right:he()}],bottom:[{bottom:he()}],left:[{left:he()}],visibility:["visible","invisible","collapse"],z:[{z:[zl,"auto",J,K]}],basis:[{basis:[Ya,"full","auto",g,...k()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[re,Ya,"auto","initial","none",K]}],grow:[{grow:["",re,J,K]}],shrink:[{shrink:["",re,J,K]}],order:[{order:[zl,"first","last","none",J,K]}],"grid-cols":[{"grid-cols":ut()}],"col-start-end":[{col:yt()}],"col-start":[{"col-start":Ce()}],"col-end":[{"col-end":Ce()}],"grid-rows":[{"grid-rows":ut()}],"row-start-end":[{row:yt()}],"row-start":[{"row-start":Ce()}],"row-end":[{"row-end":Ce()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":wt()}],"auto-rows":[{"auto-rows":wt()}],gap:[{gap:k()}],"gap-x":[{"gap-x":k()}],"gap-y":[{"gap-y":k()}],"justify-content":[{justify:[...Ot(),"normal"]}],"justify-items":[{"justify-items":[...De(),"normal"]}],"justify-self":[{"justify-self":["auto",...De()]}],"align-content":[{content:["normal",...Ot()]}],"align-items":[{items:[...De(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...De(),{baseline:["","last"]}]}],"place-content":[{"place-content":Ot()}],"place-items":[{"place-items":[...De(),"baseline"]}],"place-self":[{"place-self":["auto",...De()]}],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:D()}],mx:[{mx:D()}],my:[{my:D()}],ms:[{ms:D()}],me:[{me:D()}],mt:[{mt:D()}],mr:[{mr:D()}],mb:[{mb:D()}],ml:[{ml:D()}],"space-x":[{"space-x":k()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":k()}],"space-y-reverse":["space-y-reverse"],size:[{size:L()}],w:[{w:[g,"screen",...L()]}],"min-w":[{"min-w":[g,"screen","none",...L()]}],"max-w":[{"max-w":[g,"screen","none","prose",{screen:[S]},...L()]}],h:[{h:["screen","lh",...L()]}],"min-h":[{"min-h":["screen","lh","none",...L()]}],"max-h":[{"max-h":["screen","lh",...L()]}],"font-size":[{text:["base",s,Jn,Pl]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[c,J,Kr]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Zr,K]}],"font-family":[{font:[Xy,K,r]}],"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:[d,J,K]}],"line-clamp":[{"line-clamp":[re,"none",J,Kr]}],leading:[{leading:[m,...k()]}],"list-image":[{"list-image":["none",J,K]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",J,K]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:B()}],"text-color":[{text:B()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...se(),"wavy"]}],"text-decoration-thickness":[{decoration:[re,"from-font","auto",J,Pl]}],"text-decoration-color":[{decoration:B()}],"underline-offset":[{"underline-offset":[re,"auto",J,K]}],"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",J,K]}],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",J,K]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:pe()}],"bg-repeat":[{bg:b()}],"bg-size":[{bg:H()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},zl,J,K],radial:["",J,K],conic:[zl,J,K]},Qy,ky]}],"bg-color":[{bg:B()}],"gradient-from-pos":[{from:V()}],"gradient-via-pos":[{via:V()}],"gradient-to-pos":[{to:V()}],"gradient-from":[{from:B()}],"gradient-via":[{via:B()}],"gradient-to":[{to:B()}],rounded:[{rounded:q()}],"rounded-s":[{"rounded-s":q()}],"rounded-e":[{"rounded-e":q()}],"rounded-t":[{"rounded-t":q()}],"rounded-r":[{"rounded-r":q()}],"rounded-b":[{"rounded-b":q()}],"rounded-l":[{"rounded-l":q()}],"rounded-ss":[{"rounded-ss":q()}],"rounded-se":[{"rounded-se":q()}],"rounded-ee":[{"rounded-ee":q()}],"rounded-es":[{"rounded-es":q()}],"rounded-tl":[{"rounded-tl":q()}],"rounded-tr":[{"rounded-tr":q()}],"rounded-br":[{"rounded-br":q()}],"rounded-bl":[{"rounded-bl":q()}],"border-w":[{border:Q()}],"border-w-x":[{"border-x":Q()}],"border-w-y":[{"border-y":Q()}],"border-w-s":[{"border-s":Q()}],"border-w-e":[{"border-e":Q()}],"border-w-t":[{"border-t":Q()}],"border-w-r":[{"border-r":Q()}],"border-w-b":[{"border-b":Q()}],"border-w-l":[{"border-l":Q()}],"divide-x":[{"divide-x":Q()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Q()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...se(),"hidden","none"]}],"divide-style":[{divide:[...se(),"hidden","none"]}],"border-color":[{border:B()}],"border-color-x":[{"border-x":B()}],"border-color-y":[{"border-y":B()}],"border-color-s":[{"border-s":B()}],"border-color-e":[{"border-e":B()}],"border-color-t":[{"border-t":B()}],"border-color-r":[{"border-r":B()}],"border-color-b":[{"border-b":B()}],"border-color-l":[{"border-l":B()}],"divide-color":[{divide:B()}],"outline-style":[{outline:[...se(),"none","hidden"]}],"outline-offset":[{"outline-offset":[re,J,K]}],"outline-w":[{outline:["",re,Jn,Pl]}],"outline-color":[{outline:B()}],shadow:[{shadow:["","none",A,mi,di]}],"shadow-color":[{shadow:B()}],"inset-shadow":[{"inset-shadow":["none",C,mi,di]}],"inset-shadow-color":[{"inset-shadow":B()}],"ring-w":[{ring:Q()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:B()}],"ring-offset-w":[{"ring-offset":[re,Pl]}],"ring-offset-color":[{"ring-offset":B()}],"inset-ring-w":[{"inset-ring":Q()}],"inset-ring-color":[{"inset-ring":B()}],"text-shadow":[{"text-shadow":["none",U,mi,di]}],"text-shadow-color":[{"text-shadow":B()}],opacity:[{opacity:[re,J,K]}],"mix-blend":[{"mix-blend":[...ae(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ae()}],"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":[re]}],"mask-image-linear-from-pos":[{"mask-linear-from":ge()}],"mask-image-linear-to-pos":[{"mask-linear-to":ge()}],"mask-image-linear-from-color":[{"mask-linear-from":B()}],"mask-image-linear-to-color":[{"mask-linear-to":B()}],"mask-image-t-from-pos":[{"mask-t-from":ge()}],"mask-image-t-to-pos":[{"mask-t-to":ge()}],"mask-image-t-from-color":[{"mask-t-from":B()}],"mask-image-t-to-color":[{"mask-t-to":B()}],"mask-image-r-from-pos":[{"mask-r-from":ge()}],"mask-image-r-to-pos":[{"mask-r-to":ge()}],"mask-image-r-from-color":[{"mask-r-from":B()}],"mask-image-r-to-color":[{"mask-r-to":B()}],"mask-image-b-from-pos":[{"mask-b-from":ge()}],"mask-image-b-to-pos":[{"mask-b-to":ge()}],"mask-image-b-from-color":[{"mask-b-from":B()}],"mask-image-b-to-color":[{"mask-b-to":B()}],"mask-image-l-from-pos":[{"mask-l-from":ge()}],"mask-image-l-to-pos":[{"mask-l-to":ge()}],"mask-image-l-from-color":[{"mask-l-from":B()}],"mask-image-l-to-color":[{"mask-l-to":B()}],"mask-image-x-from-pos":[{"mask-x-from":ge()}],"mask-image-x-to-pos":[{"mask-x-to":ge()}],"mask-image-x-from-color":[{"mask-x-from":B()}],"mask-image-x-to-color":[{"mask-x-to":B()}],"mask-image-y-from-pos":[{"mask-y-from":ge()}],"mask-image-y-to-pos":[{"mask-y-to":ge()}],"mask-image-y-from-color":[{"mask-y-from":B()}],"mask-image-y-to-color":[{"mask-y-to":B()}],"mask-image-radial":[{"mask-radial":[J,K]}],"mask-image-radial-from-pos":[{"mask-radial-from":ge()}],"mask-image-radial-to-pos":[{"mask-radial-to":ge()}],"mask-image-radial-from-color":[{"mask-radial-from":B()}],"mask-image-radial-to-color":[{"mask-radial-to":B()}],"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":ue()}],"mask-image-conic-pos":[{"mask-conic":[re]}],"mask-image-conic-from-pos":[{"mask-conic-from":ge()}],"mask-image-conic-to-pos":[{"mask-conic-to":ge()}],"mask-image-conic-from-color":[{"mask-conic-from":B()}],"mask-image-conic-to-color":[{"mask-conic-to":B()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:pe()}],"mask-repeat":[{mask:b()}],"mask-size":[{mask:H()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",J,K]}],filter:[{filter:["","none",J,K]}],blur:[{blur:Ne()}],brightness:[{brightness:[re,J,K]}],contrast:[{contrast:[re,J,K]}],"drop-shadow":[{"drop-shadow":["","none",X,mi,di]}],"drop-shadow-color":[{"drop-shadow":B()}],grayscale:[{grayscale:["",re,J,K]}],"hue-rotate":[{"hue-rotate":[re,J,K]}],invert:[{invert:["",re,J,K]}],saturate:[{saturate:[re,J,K]}],sepia:[{sepia:["",re,J,K]}],"backdrop-filter":[{"backdrop-filter":["","none",J,K]}],"backdrop-blur":[{"backdrop-blur":Ne()}],"backdrop-brightness":[{"backdrop-brightness":[re,J,K]}],"backdrop-contrast":[{"backdrop-contrast":[re,J,K]}],"backdrop-grayscale":[{"backdrop-grayscale":["",re,J,K]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[re,J,K]}],"backdrop-invert":[{"backdrop-invert":["",re,J,K]}],"backdrop-opacity":[{"backdrop-opacity":[re,J,K]}],"backdrop-saturate":[{"backdrop-saturate":[re,J,K]}],"backdrop-sepia":[{"backdrop-sepia":["",re,J,K]}],"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",J,K]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[re,"initial",J,K]}],ease:[{ease:["linear","initial",I,J,K]}],delay:[{delay:[re,J,K]}],animate:[{animate:["none",me,J,K]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[z,J,K]}],"perspective-origin":[{"perspective-origin":Y()}],rotate:[{rotate:it()}],"rotate-x":[{"rotate-x":it()}],"rotate-y":[{"rotate-y":it()}],"rotate-z":[{"rotate-z":it()}],scale:[{scale:al()}],"scale-x":[{"scale-x":al()}],"scale-y":[{"scale-y":al()}],"scale-z":[{"scale-z":al()}],"scale-3d":["scale-3d"],skew:[{skew:nl()}],"skew-x":[{"skew-x":nl()}],"skew-y":[{"skew-y":nl()}],transform:[{transform:[J,K,"","none","gpu","cpu"]}],"transform-origin":[{origin:Y()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ul()}],"translate-x":[{"translate-x":ul()}],"translate-y":[{"translate-y":ul()}],"translate-z":[{"translate-z":ul()}],"translate-none":["translate-none"],accent:[{accent:B()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:B()}],"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",J,K]}],"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",J,K]}],fill:[{fill:["none",...B()]}],"stroke-w":[{stroke:[re,Jn,Pl,Kr]}],stroke:[{stroke:["none",...B()]}],"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"]}},Wy=Dy(Jy);function gt(...i){return Wy(Pm(i))}const $y=vy("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function nt({className:i,variant:r,size:s,asChild:c=!1,...d}){const m=c?oy:"button";return y.jsx(m,{"data-slot":"button",className:gt($y({variant:r,size:s,className:i})),...d})}function Rm({className:i,type:r,...s}){return y.jsx("input",{type:r,"data-slot":"input",className:gt("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",i),...s})}var oh=Zm();const Fy=Vm(oh);var Py=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Yt=Py.reduce((i,r)=>{const s=fo(`Primitive.${r}`),c=T.forwardRef((d,m)=>{const{asChild:S,...g}=d,E=S?s:r;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),y.jsx(E,{...g,ref:m})});return c.displayName=`Primitive.${r}`,{...i,[r]:c}},{});function Iy(i,r){i&&oh.flushSync(()=>i.dispatchEvent(r))}var eb="Label",sh=T.forwardRef((i,r)=>y.jsx(Yt.label,{...i,ref:r,onMouseDown:s=>{var d;s.target.closest("button, input, select, textarea")||((d=i.onMouseDown)==null||d.call(i,s),!s.defaultPrevented&&s.detail>1&&s.preventDefault())}}));sh.displayName=eb;var tb=sh;function io({className:i,...r}){return y.jsx(tb,{"data-slot":"label",className:gt("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",i),...r})}function ho({className:i,...r}){return y.jsx("div",{"data-slot":"card",className:gt("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",i),...r})}function lb({className:i,...r}){return y.jsx("div",{"data-slot":"card-header",className:gt("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",i),...r})}function ab({className:i,...r}){return y.jsx("div",{"data-slot":"card-title",className:gt("leading-none font-semibold",i),...r})}function vo({className:i,...r}){return y.jsx("div",{"data-slot":"card-content",className:gt("px-6",i),...r})}function nb({className:i,...r}){return y.jsx("div",{"data-slot":"card-footer",className:gt("flex items-center px-6 [.border-t]:pt-6",i),...r})}const xi=({size:i="default",text:r="Carregando..."})=>{const s={small:"w-4 h-4",default:"w-8 h-8",large:"w-12 h-12"};return y.jsxs("div",{className:"flex flex-col items-center justify-center p-8",children:[y.jsx(X0,{className:`${s[i]} animate-spin text-green-600 mb-2`}),y.jsx("p",{className:"text-gray-600 text-sm",children:r})]})},ub=()=>{const[i,r]=T.useState("entregador@pede.la"),[s,c]=T.useState("123456"),[d,m]=T.useState(!1),[S,g]=T.useState(""),{login:E}=so(),h=async A=>{A.preventDefault(),m(!0),g("");const C=await E(i,s);C.success||g(C.error),m(!1)};return y.jsx("div",{className:"min-h-screen bg-gradient-to-br from-green-50 to-green-100 flex items-center justify-center p-4",children:y.jsxs(ho,{className:"w-full max-w-md shadow-xl",children:[y.jsxs(lb,{className:"text-center pb-6",children:[y.jsx("div",{className:"text-6xl mb-4",children:"📦"}),y.jsx(ab,{className:"text-2xl font-bold text-green-700",children:"Minhas Entregas"}),y.jsx("p",{className:"text-gray-600 mt-2",children:"Faça login para acessar suas entregas"})]}),y.jsxs(vo,{children:[y.jsxs("form",{onSubmit:h,className:"space-y-4",children:[y.jsxs("div",{className:"space-y-2",children:[y.jsx(io,{htmlFor:"email",className:"text-sm font-medium",children:"Email"}),y.jsxs("div",{className:"relative",children:[y.jsx(F0,{className:"absolute left-3 top-3 h-4 w-4 text-gray-400"}),y.jsx(Rm,{id:"email",type:"email",value:i,onChange:A=>r(A.target.value),placeholder:"seu@email.com",className:"pl-10",required:!0})]})]}),y.jsxs("div",{className:"space-y-2",children:[y.jsx(io,{htmlFor:"password",className:"text-sm font-medium",children:"Senha"}),y.jsxs("div",{className:"relative",children:[y.jsx(Q0,{className:"absolute left-3 top-3 h-4 w-4 text-gray-400"}),y.jsx(Rm,{id:"password",type:"password",value:s,onChange:A=>c(A.target.value),placeholder:"Sua senha",className:"pl-10",required:!0})]})]}),S&&y.jsx("div",{className:"bg-red-50 border border-red-200 text-red-700 px-4 py-3 rounded-md text-sm",children:S}),y.jsx(nt,{type:"submit",disabled:d,className:"w-full bg-green-600 hover:bg-green-700 text-white font-semibold py-2 px-4 rounded-lg transition-colors",children:d?y.jsx(xi,{size:"small",text:""}):y.jsxs(y.Fragment,{children:[y.jsx(K0,{className:"w-4 h-4 mr-2"}),"Entrar"]})})]}),y.jsxs("div",{className:"mt-6 p-4 bg-blue-50 border border-blue-200 rounded-lg",children:[y.jsx("p",{className:"text-sm text-blue-800 font-medium mb-2",children:"Dados para teste:"}),y.jsxs("p",{className:"text-xs text-blue-700",children:[y.jsx("strong",{children:"Email:"})," entregador@pede.la",y.jsx("br",{}),y.jsx("strong",{children:"Senha:"})," 123456"]})]})]})]})})},Jr=()=>{const{logout:i}=so(),r=()=>{confirm("Deseja realmente sair?")&&i()};return y.jsx("header",{className:"w-full mb-6",children:y.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-between gap-4",children:[y.jsx("h1",{className:"text-3xl sm:text-4xl font-bold text-gray-800 text-center",children:"📦 Minhas Entregas"}),y.jsxs(nt,{onClick:r,variant:"destructive",className:"bg-red-600 hover:bg-red-700 text-white font-semibold px-4 py-2 rounded-lg shadow-lg transition-all duration-200 hover:shadow-xl",children:[y.jsx(W0,{className:"w-4 h-4 mr-2"}),"Sair"]})]})})},ib=({delivery:i,onStatusChange:r,onShowDetails:s})=>{const c=i.status_entrega==="entregue",d=h=>new Intl.NumberFormat("pt-BR",{style:"currency",currency:"BRL"}).format(h),m=h=>new Intl.DateTimeFormat("pt-BR",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit"}).format(new Date(h)),S=()=>`${i.endereco_rua}, ${i.endereco_numero} - ${i.endereco_bairro}`,g=()=>{const h=c?"pendente":"entregue";confirm(`Deseja marcar este pedido como "${h==="entregue"?"Entregue":"Pendente"}"?`)&&r(i.id,h)},E=()=>{i.link_localizacao&&window.open(i.link_localizacao,"_blank")};return y.jsxs(ho,{className:`h-full transition-all duration-300 hover:shadow-lg hover:-translate-y-1 ${c?"border-l-4 border-l-green-600 bg-green-50":"border-l-4 border-l-orange-500 bg-orange-50"}`,children:[y.jsxs(vo,{className:"p-4 flex-1",children:[y.jsxs("div",{className:"flex items-center justify-between mb-3",children:[y.jsxs("h3",{className:"text-lg font-bold text-green-700",children:["Pedido #",i.pedido_numero]}),i.link_localizacao&&y.jsx(nt,{variant:"ghost",size:"sm",onClick:E,className:"text-green-600 hover:text-green-800 hover:bg-green-100 p-1",title:"Ver localização no mapa",children:y.jsx(Wm,{className:"w-6 h-6"})})]}),y.jsxs("div",{className:"space-y-2 text-sm",children:[y.jsxs("div",{className:"flex items-center gap-2",children:[y.jsx(ny,{className:"w-4 h-4 text-gray-500"}),y.jsxs("span",{children:[y.jsx("strong",{children:"Cliente:"})," ",i.nome]})]}),y.jsxs("div",{className:"flex items-center gap-2",children:[y.jsx(U0,{className:"w-4 h-4 text-gray-500"}),y.jsxs("span",{children:[y.jsx("strong",{children:"Data:"})," ",m(i.data_hora)]})]}),y.jsxs("div",{className:"flex items-start gap-2",children:[y.jsx(ey,{className:"w-4 h-4 text-gray-500 mt-0.5"}),y.jsxs("span",{children:[y.jsx("strong",{children:"Endereço:"})," ",S()]})]}),y.jsxs("div",{className:"flex items-center gap-2",children:[y.jsx(B0,{className:"w-4 h-4 text-gray-500"}),y.jsxs("span",{children:[y.jsx("strong",{children:"Valor Total:"})," ",d(i.v_pedido)]})]}),y.jsxs("div",{className:"flex items-center gap-2 mt-3",children:[y.jsx("span",{className:"font-semibold",children:"Status:"}),y.jsx(nt,{onClick:g,size:"sm",className:`font-semibold text-white transition-colors ${c?"bg-green-600 hover:bg-green-700":"bg-orange-500 hover:bg-orange-600"}`,title:"Clique para alterar o status",children:c?"Entregue":"Pendente"})]})]})]}),y.jsx(nb,{className:"p-4 pt-0",children:y.jsxs(nt,{onClick:()=>s(i),variant:"outline",className:"w-full border-green-600 text-green-700 hover:bg-green-600 hover:text-white",children:[y.jsx(G0,{className:"w-4 h-4 mr-2"}),"Detalhes"]})})]})};function wl(i,r,{checkForDefaultPrevented:s=!0}={}){return function(d){if(i==null||i(d),s===!1||!d.defaultPrevented)return r==null?void 0:r(d)}}function cb(i,r){const s=T.createContext(r),c=m=>{const{children:S,...g}=m,E=T.useMemo(()=>g,Object.values(g));return y.jsx(s.Provider,{value:E,children:S})};c.displayName=i+"Provider";function d(m){const S=T.useContext(s);if(S)return S;if(r!==void 0)return r;throw new Error(`\`${m}\` must be used within \`${i}\``)}return[c,d]}function rb(i,r=[]){let s=[];function c(m,S){const g=T.createContext(S),E=s.length;s=[...s,S];const h=C=>{var I;const{scope:U,children:X,...W}=C,z=((I=U==null?void 0:U[i])==null?void 0:I[E])||g,G=T.useMemo(()=>W,Object.values(W));return y.jsx(z.Provider,{value:G,children:X})};h.displayName=m+"Provider";function A(C,U){var z;const X=((z=U==null?void 0:U[i])==null?void 0:z[E])||g,W=T.useContext(X);if(W)return W;if(S!==void 0)return S;throw new Error(`\`${C}\` must be used within \`${m}\``)}return[h,A]}const d=()=>{const m=s.map(S=>T.createContext(S));return function(g){const E=(g==null?void 0:g[i])||m;return T.useMemo(()=>({[`__scope${i}`]:{...g,[i]:E}}),[g,E])}};return d.scopeName=i,[c,ob(d,...r)]}function ob(...i){const r=i[0];if(i.length===1)return r;const s=()=>{const c=i.map(d=>({useScope:d(),scopeName:d.scopeName}));return function(m){const S=c.reduce((g,{useScope:E,scopeName:h})=>{const C=E(m)[`__scope${h}`];return{...g,...C}},{});return T.useMemo(()=>({[`__scope${r.scopeName}`]:S}),[S])}};return s.scopeName=r.scopeName,s}var Wn=globalThis!=null&&globalThis.document?T.useLayoutEffect:()=>{},sb=Qm[" useId ".trim().toString()]||(()=>{}),fb=0;function Wr(i){const[r,s]=T.useState(sb());return Wn(()=>{s(c=>c??String(fb++))},[i]),i||(r?`radix-${r}`:"")}var db=Qm[" useInsertionEffect ".trim().toString()]||Wn;function mb({prop:i,defaultProp:r,onChange:s=()=>{},caller:c}){const[d,m,S]=hb({defaultProp:r,onChange:s}),g=i!==void 0,E=g?i:d;{const A=T.useRef(i!==void 0);T.useEffect(()=>{const C=A.current;C!==g&&console.warn(`${c} is changing from ${C?"controlled":"uncontrolled"} to ${g?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),A.current=g},[g,c])}const h=T.useCallback(A=>{var C;if(g){const U=vb(A)?A(i):A;U!==i&&((C=S.current)==null||C.call(S,U))}else m(A)},[g,i,m,S]);return[E,h]}function hb({defaultProp:i,onChange:r}){const[s,c]=T.useState(i),d=T.useRef(s),m=T.useRef(r);return db(()=>{m.current=r},[r]),T.useEffect(()=>{var S;d.current!==s&&((S=m.current)==null||S.call(m,s),d.current=s)},[s,d]),[s,c,m]}function vb(i){return typeof i=="function"}function $n(i){const r=T.useRef(i);return T.useEffect(()=>{r.current=i}),T.useMemo(()=>(...s)=>{var c;return(c=r.current)==null?void 0:c.call(r,...s)},[])}function gb(i,r=globalThis==null?void 0:globalThis.document){const s=$n(i);T.useEffect(()=>{const c=d=>{d.key==="Escape"&&s(d)};return r.addEventListener("keydown",c,{capture:!0}),()=>r.removeEventListener("keydown",c,{capture:!0})},[s,r])}var yb="DismissableLayer",co="dismissableLayer.update",bb="dismissableLayer.pointerDownOutside",pb="dismissableLayer.focusOutside",wm,fh=T.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),dh=T.forwardRef((i,r)=>{const{disableOutsidePointerEvents:s=!1,onEscapeKeyDown:c,onPointerDownOutside:d,onFocusOutside:m,onInteractOutside:S,onDismiss:g,...E}=i,h=T.useContext(fh),[A,C]=T.useState(null),U=(A==null?void 0:A.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,X]=T.useState({}),W=Cl(r,F=>C(F)),z=Array.from(h.layers),[G]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),I=z.indexOf(G),me=A?z.indexOf(A):-1,te=h.layersWithOutsidePointerEventsDisabled.size>0,ue=me>=I,Y=Eb(F=>{const k=F.target,he=[...h.branches].some(ut=>ut.contains(k));!ue||he||(d==null||d(F),S==null||S(F),F.defaultPrevented||g==null||g())},U),ne=Ab(F=>{const k=F.target;[...h.branches].some(ut=>ut.contains(k))||(m==null||m(F),S==null||S(F),F.defaultPrevented||g==null||g())},U);return gb(F=>{me===h.layers.size-1&&(c==null||c(F),!F.defaultPrevented&&g&&(F.preventDefault(),g()))},U),T.useEffect(()=>{if(A)return s&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(wm=U.body.style.pointerEvents,U.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(A)),h.layers.add(A),Cm(),()=>{s&&h.layersWithOutsidePointerEventsDisabled.size===1&&(U.body.style.pointerEvents=wm)}},[A,U,s,h]),T.useEffect(()=>()=>{A&&(h.layers.delete(A),h.layersWithOutsidePointerEventsDisabled.delete(A),Cm())},[A,h]),T.useEffect(()=>{const F=()=>X({});return document.addEventListener(co,F),()=>document.removeEventListener(co,F)},[]),y.jsx(Yt.div,{...E,ref:W,style:{pointerEvents:te?ue?"auto":"none":void 0,...i.style},onFocusCapture:wl(i.onFocusCapture,ne.onFocusCapture),onBlurCapture:wl(i.onBlurCapture,ne.onBlurCapture),onPointerDownCapture:wl(i.onPointerDownCapture,Y.onPointerDownCapture)})});dh.displayName=yb;var Sb="DismissableLayerBranch",xb=T.forwardRef((i,r)=>{const s=T.useContext(fh),c=T.useRef(null),d=Cl(r,c);return T.useEffect(()=>{const m=c.current;if(m)return s.branches.add(m),()=>{s.branches.delete(m)}},[s.branches]),y.jsx(Yt.div,{...i,ref:d})});xb.displayName=Sb;function Eb(i,r=globalThis==null?void 0:globalThis.document){const s=$n(i),c=T.useRef(!1),d=T.useRef(()=>{});return T.useEffect(()=>{const m=g=>{if(g.target&&!c.current){let E=function(){mh(bb,s,h,{discrete:!0})};const h={originalEvent:g};g.pointerType==="touch"?(r.removeEventListener("click",d.current),d.current=E,r.addEventListener("click",d.current,{once:!0})):E()}else r.removeEventListener("click",d.current);c.current=!1},S=window.setTimeout(()=>{r.addEventListener("pointerdown",m)},0);return()=>{window.clearTimeout(S),r.removeEventListener("pointerdown",m),r.removeEventListener("click",d.current)}},[r,s]),{onPointerDownCapture:()=>c.current=!0}}function Ab(i,r=globalThis==null?void 0:globalThis.document){const s=$n(i),c=T.useRef(!1);return T.useEffect(()=>{const d=m=>{m.target&&!c.current&&mh(pb,s,{originalEvent:m},{discrete:!1})};return r.addEventListener("focusin",d),()=>r.removeEventListener("focusin",d)},[r,s]),{onFocusCapture:()=>c.current=!0,onBlurCapture:()=>c.current=!1}}function Cm(){const i=new CustomEvent(co);document.dispatchEvent(i)}function mh(i,r,s,{discrete:c}){const d=s.originalEvent.target,m=new CustomEvent(i,{bubbles:!1,cancelable:!0,detail:s});r&&d.addEventListener(i,r,{once:!0}),c?Iy(d,m):d.dispatchEvent(m)}var $r="focusScope.autoFocusOnMount",Fr="focusScope.autoFocusOnUnmount",jm={bubbles:!1,cancelable:!0},Tb="FocusScope",hh=T.forwardRef((i,r)=>{const{loop:s=!1,trapped:c=!1,onMountAutoFocus:d,onUnmountAutoFocus:m,...S}=i,[g,E]=T.useState(null),h=$n(d),A=$n(m),C=T.useRef(null),U=Cl(r,z=>E(z)),X=T.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;T.useEffect(()=>{if(c){let z=function(te){if(X.paused||!g)return;const ue=te.target;g.contains(ue)?C.current=ue:Rl(C.current,{select:!0})},G=function(te){if(X.paused||!g)return;const ue=te.relatedTarget;ue!==null&&(g.contains(ue)||Rl(C.current,{select:!0}))},I=function(te){if(document.activeElement===document.body)for(const Y of te)Y.removedNodes.length>0&&Rl(g)};document.addEventListener("focusin",z),document.addEventListener("focusout",G);const me=new MutationObserver(I);return g&&me.observe(g,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",z),document.removeEventListener("focusout",G),me.disconnect()}}},[c,g,X.paused]),T.useEffect(()=>{if(g){Hm.add(X);const z=document.activeElement;if(!g.contains(z)){const I=new CustomEvent($r,jm);g.addEventListener($r,h),g.dispatchEvent(I),I.defaultPrevented||(Nb(zb(vh(g)),{select:!0}),document.activeElement===z&&Rl(g))}return()=>{g.removeEventListener($r,h),setTimeout(()=>{const I=new CustomEvent(Fr,jm);g.addEventListener(Fr,A),g.dispatchEvent(I),I.defaultPrevented||Rl(z??document.body,{select:!0}),g.removeEventListener(Fr,A),Hm.remove(X)},0)}}},[g,h,A,X]);const W=T.useCallback(z=>{if(!s&&!c||X.paused)return;const G=z.key==="Tab"&&!z.altKey&&!z.ctrlKey&&!z.metaKey,I=document.activeElement;if(G&&I){const me=z.currentTarget,[te,ue]=_b(me);te&&ue?!z.shiftKey&&I===ue?(z.preventDefault(),s&&Rl(te,{select:!0})):z.shiftKey&&I===te&&(z.preventDefault(),s&&Rl(ue,{select:!0})):I===me&&z.preventDefault()}},[s,c,X.paused]);return y.jsx(Yt.div,{tabIndex:-1,...S,ref:U,onKeyDown:W})});hh.displayName=Tb;function Nb(i,{select:r=!1}={}){const s=document.activeElement;for(const c of i)if(Rl(c,{select:r}),document.activeElement!==s)return}function _b(i){const r=vh(i),s=Um(r,i),c=Um(r.reverse(),i);return[s,c]}function vh(i){const r=[],s=document.createTreeWalker(i,NodeFilter.SHOW_ELEMENT,{acceptNode:c=>{const d=c.tagName==="INPUT"&&c.type==="hidden";return c.disabled||c.hidden||d?NodeFilter.FILTER_SKIP:c.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;s.nextNode();)r.push(s.currentNode);return r}function Um(i,r){for(const s of i)if(!Ob(s,{upTo:r}))return s}function Ob(i,{upTo:r}){if(getComputedStyle(i).visibility==="hidden")return!0;for(;i;){if(r!==void 0&&i===r)return!1;if(getComputedStyle(i).display==="none")return!0;i=i.parentElement}return!1}function Mb(i){return i instanceof HTMLInputElement&&"select"in i}function Rl(i,{select:r=!1}={}){if(i&&i.focus){const s=document.activeElement;i.focus({preventScroll:!0}),i!==s&&Mb(i)&&r&&i.select()}}var Hm=Db();function Db(){let i=[];return{add(r){const s=i[0];r!==s&&(s==null||s.pause()),i=Bm(i,r),i.unshift(r)},remove(r){var s;i=Bm(i,r),(s=i[0])==null||s.resume()}}}function Bm(i,r){const s=[...i],c=s.indexOf(r);return c!==-1&&s.splice(c,1),s}function zb(i){return i.filter(r=>r.tagName!=="A")}var Rb="Portal",gh=T.forwardRef((i,r)=>{var g;const{container:s,...c}=i,[d,m]=T.useState(!1);Wn(()=>m(!0),[]);const S=s||d&&((g=globalThis==null?void 0:globalThis.document)==null?void 0:g.body);return S?Fy.createPortal(y.jsx(Yt.div,{...c,ref:r}),S):null});gh.displayName=Rb;function wb(i,r){return T.useReducer((s,c)=>r[s][c]??s,i)}var Ai=i=>{const{present:r,children:s}=i,c=Cb(r),d=typeof s=="function"?s({present:c.isPresent}):T.Children.only(s),m=Cl(c.ref,jb(d));return typeof s=="function"||c.isPresent?T.cloneElement(d,{ref:m}):null};Ai.displayName="Presence";function Cb(i){const[r,s]=T.useState(),c=T.useRef(null),d=T.useRef(i),m=T.useRef("none"),S=i?"mounted":"unmounted",[g,E]=wb(S,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return T.useEffect(()=>{const h=hi(c.current);m.current=g==="mounted"?h:"none"},[g]),Wn(()=>{const h=c.current,A=d.current;if(A!==i){const U=m.current,X=hi(h);i?E("MOUNT"):X==="none"||(h==null?void 0:h.display)==="none"?E("UNMOUNT"):E(A&&U!==X?"ANIMATION_OUT":"UNMOUNT"),d.current=i}},[i,E]),Wn(()=>{if(r){let h;const A=r.ownerDocument.defaultView??window,C=X=>{const z=hi(c.current).includes(X.animationName);if(X.target===r&&z&&(E("ANIMATION_END"),!d.current)){const G=r.style.animationFillMode;r.style.animationFillMode="forwards",h=A.setTimeout(()=>{r.style.animationFillMode==="forwards"&&(r.style.animationFillMode=G)})}},U=X=>{X.target===r&&(m.current=hi(c.current))};return r.addEventListener("animationstart",U),r.addEventListener("animationcancel",C),r.addEventListener("animationend",C),()=>{A.clearTimeout(h),r.removeEventListener("animationstart",U),r.removeEventListener("animationcancel",C),r.removeEventListener("animationend",C)}}else E("ANIMATION_END")},[r,E]),{isPresent:["mounted","unmountSuspended"].includes(g),ref:T.useCallback(h=>{c.current=h?getComputedStyle(h):null,s(h)},[])}}function hi(i){return(i==null?void 0:i.animationName)||"none"}function jb(i){var c,d;let r=(c=Object.getOwnPropertyDescriptor(i.props,"ref"))==null?void 0:c.get,s=r&&"isReactWarning"in r&&r.isReactWarning;return s?i.ref:(r=(d=Object.getOwnPropertyDescriptor(i,"ref"))==null?void 0:d.get,s=r&&"isReactWarning"in r&&r.isReactWarning,s?i.props.ref:i.props.ref||i.ref)}var Pr=0;function Ub(){T.useEffect(()=>{const i=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",i[0]??qm()),document.body.insertAdjacentElement("beforeend",i[1]??qm()),Pr++,()=>{Pr===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Pr--}},[])}function qm(){const i=document.createElement("span");return i.setAttribute("data-radix-focus-guard",""),i.tabIndex=0,i.style.outline="none",i.style.opacity="0",i.style.position="fixed",i.style.pointerEvents="none",i}var Lt=function(){return Lt=Object.assign||function(r){for(var s,c=1,d=arguments.length;c<d;c++){s=arguments[c];for(var m in s)Object.prototype.hasOwnProperty.call(s,m)&&(r[m]=s[m])}return r},Lt.apply(this,arguments)};function yh(i,r){var s={};for(var c in i)Object.prototype.hasOwnProperty.call(i,c)&&r.indexOf(c)<0&&(s[c]=i[c]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var d=0,c=Object.getOwnPropertySymbols(i);d<c.length;d++)r.indexOf(c[d])<0&&Object.prototype.propertyIsEnumerable.call(i,c[d])&&(s[c[d]]=i[c[d]]);return s}function Hb(i,r,s){if(s||arguments.length===2)for(var c=0,d=r.length,m;c<d;c++)(m||!(c in r))&&(m||(m=Array.prototype.slice.call(r,0,c)),m[c]=r[c]);return i.concat(m||Array.prototype.slice.call(r))}var pi="right-scroll-bar-position",Si="width-before-scroll-bar",Bb="with-scroll-bars-hidden",qb="--removed-body-scroll-bar-size";function Ir(i,r){return typeof i=="function"?i(r):i&&(i.current=r),i}function Lb(i,r){var s=T.useState(function(){return{value:i,callback:r,facade:{get current(){return s.value},set current(c){var d=s.value;d!==c&&(s.value=c,s.callback(c,d))}}}})[0];return s.callback=r,s.facade}var Yb=typeof window<"u"?T.useLayoutEffect:T.useEffect,Lm=new WeakMap;function Gb(i,r){var s=Lb(null,function(c){return i.forEach(function(d){return Ir(d,c)})});return Yb(function(){var c=Lm.get(s);if(c){var d=new Set(c),m=new Set(i),S=s.current;d.forEach(function(g){m.has(g)||Ir(g,null)}),m.forEach(function(g){d.has(g)||Ir(g,S)})}Lm.set(s,i)},[i]),s}function kb(i){return i}function Xb(i,r){r===void 0&&(r=kb);var s=[],c=!1,d={read:function(){if(c)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return s.length?s[s.length-1]:i},useMedium:function(m){var S=r(m,c);return s.push(S),function(){s=s.filter(function(g){return g!==S})}},assignSyncMedium:function(m){for(c=!0;s.length;){var S=s;s=[],S.forEach(m)}s={push:function(g){return m(g)},filter:function(){return s}}},assignMedium:function(m){c=!0;var S=[];if(s.length){var g=s;s=[],g.forEach(m),S=s}var E=function(){var A=S;S=[],A.forEach(m)},h=function(){return Promise.resolve().then(E)};h(),s={push:function(A){S.push(A),h()},filter:function(A){return S=S.filter(A),s}}}};return d}function Vb(i){i===void 0&&(i={});var r=Xb(null);return r.options=Lt({async:!0,ssr:!1},i),r}var bh=function(i){var r=i.sideCar,s=yh(i,["sideCar"]);if(!r)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var c=r.read();if(!c)throw new Error("Sidecar medium not found");return T.createElement(c,Lt({},s))};bh.isSideCarExport=!0;function Qb(i,r){return i.useMedium(r),bh}var ph=Vb(),eo=function(){},Ti=T.forwardRef(function(i,r){var s=T.useRef(null),c=T.useState({onScrollCapture:eo,onWheelCapture:eo,onTouchMoveCapture:eo}),d=c[0],m=c[1],S=i.forwardProps,g=i.children,E=i.className,h=i.removeScrollBar,A=i.enabled,C=i.shards,U=i.sideCar,X=i.noIsolation,W=i.inert,z=i.allowPinchZoom,G=i.as,I=G===void 0?"div":G,me=i.gapMode,te=yh(i,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),ue=U,Y=Gb([s,r]),ne=Lt(Lt({},te),d);return T.createElement(T.Fragment,null,A&&T.createElement(ue,{sideCar:ph,removeScrollBar:h,shards:C,noIsolation:X,inert:W,setCallbacks:m,allowPinchZoom:!!z,lockRef:s,gapMode:me}),S?T.cloneElement(T.Children.only(g),Lt(Lt({},ne),{ref:Y})):T.createElement(I,Lt({},ne,{className:E,ref:Y}),g))});Ti.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Ti.classNames={fullWidth:Si,zeroRight:pi};var Zb=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Kb(){if(!document)return null;var i=document.createElement("style");i.type="text/css";var r=Zb();return r&&i.setAttribute("nonce",r),i}function Jb(i,r){i.styleSheet?i.styleSheet.cssText=r:i.appendChild(document.createTextNode(r))}function Wb(i){var r=document.head||document.getElementsByTagName("head")[0];r.appendChild(i)}var $b=function(){var i=0,r=null;return{add:function(s){i==0&&(r=Kb())&&(Jb(r,s),Wb(r)),i++},remove:function(){i--,!i&&r&&(r.parentNode&&r.parentNode.removeChild(r),r=null)}}},Fb=function(){var i=$b();return function(r,s){T.useEffect(function(){return i.add(r),function(){i.remove()}},[r&&s])}},Sh=function(){var i=Fb(),r=function(s){var c=s.styles,d=s.dynamic;return i(c,d),null};return r},Pb={left:0,top:0,right:0,gap:0},to=function(i){return parseInt(i||"",10)||0},Ib=function(i){var r=window.getComputedStyle(document.body),s=r[i==="padding"?"paddingLeft":"marginLeft"],c=r[i==="padding"?"paddingTop":"marginTop"],d=r[i==="padding"?"paddingRight":"marginRight"];return[to(s),to(c),to(d)]},ep=function(i){if(i===void 0&&(i="margin"),typeof window>"u")return Pb;var r=Ib(i),s=document.documentElement.clientWidth,c=window.innerWidth;return{left:r[0],top:r[1],right:r[2],gap:Math.max(0,c-s+r[2]-r[0])}},tp=Sh(),Qa="data-scroll-locked",lp=function(i,r,s,c){var d=i.left,m=i.top,S=i.right,g=i.gap;return s===void 0&&(s="margin"),`
  .`.concat(Bb,` {
   overflow: hidden `).concat(c,`;
   padding-right: `).concat(g,"px ").concat(c,`;
  }
  body[`).concat(Qa,`] {
    overflow: hidden `).concat(c,`;
    overscroll-behavior: contain;
    `).concat([r&&"position: relative ".concat(c,";"),s==="margin"&&`
    padding-left: `.concat(d,`px;
    padding-top: `).concat(m,`px;
    padding-right: `).concat(S,`px;
    margin-left:0;
    margin-top:0;
    margin-right: `).concat(g,"px ").concat(c,`;
    `),s==="padding"&&"padding-right: ".concat(g,"px ").concat(c,";")].filter(Boolean).join(""),`
  }
  
  .`).concat(pi,` {
    right: `).concat(g,"px ").concat(c,`;
  }
  
  .`).concat(Si,` {
    margin-right: `).concat(g,"px ").concat(c,`;
  }
  
  .`).concat(pi," .").concat(pi,` {
    right: 0 `).concat(c,`;
  }
  
  .`).concat(Si," .").concat(Si,` {
    margin-right: 0 `).concat(c,`;
  }
  
  body[`).concat(Qa,`] {
    `).concat(qb,": ").concat(g,`px;
  }
`)},Ym=function(){var i=parseInt(document.body.getAttribute(Qa)||"0",10);return isFinite(i)?i:0},ap=function(){T.useEffect(function(){return document.body.setAttribute(Qa,(Ym()+1).toString()),function(){var i=Ym()-1;i<=0?document.body.removeAttribute(Qa):document.body.setAttribute(Qa,i.toString())}},[])},np=function(i){var r=i.noRelative,s=i.noImportant,c=i.gapMode,d=c===void 0?"margin":c;ap();var m=T.useMemo(function(){return ep(d)},[d]);return T.createElement(tp,{styles:lp(m,!r,d,s?"":"!important")})},ro=!1;if(typeof window<"u")try{var vi=Object.defineProperty({},"passive",{get:function(){return ro=!0,!0}});window.addEventListener("test",vi,vi),window.removeEventListener("test",vi,vi)}catch{ro=!1}var Ga=ro?{passive:!1}:!1,up=function(i){return i.tagName==="TEXTAREA"},xh=function(i,r){if(!(i instanceof Element))return!1;var s=window.getComputedStyle(i);return s[r]!=="hidden"&&!(s.overflowY===s.overflowX&&!up(i)&&s[r]==="visible")},ip=function(i){return xh(i,"overflowY")},cp=function(i){return xh(i,"overflowX")},Gm=function(i,r){var s=r.ownerDocument,c=r;do{typeof ShadowRoot<"u"&&c instanceof ShadowRoot&&(c=c.host);var d=Eh(i,c);if(d){var m=Ah(i,c),S=m[1],g=m[2];if(S>g)return!0}c=c.parentNode}while(c&&c!==s.body);return!1},rp=function(i){var r=i.scrollTop,s=i.scrollHeight,c=i.clientHeight;return[r,s,c]},op=function(i){var r=i.scrollLeft,s=i.scrollWidth,c=i.clientWidth;return[r,s,c]},Eh=function(i,r){return i==="v"?ip(r):cp(r)},Ah=function(i,r){return i==="v"?rp(r):op(r)},sp=function(i,r){return i==="h"&&r==="rtl"?-1:1},fp=function(i,r,s,c,d){var m=sp(i,window.getComputedStyle(r).direction),S=m*c,g=s.target,E=r.contains(g),h=!1,A=S>0,C=0,U=0;do{var X=Ah(i,g),W=X[0],z=X[1],G=X[2],I=z-G-m*W;(W||I)&&Eh(i,g)&&(C+=I,U+=W),g instanceof ShadowRoot?g=g.host:g=g.parentNode}while(!E&&g!==document.body||E&&(r.contains(g)||r===g));return(A&&Math.abs(C)<1||!A&&Math.abs(U)<1)&&(h=!0),h},gi=function(i){return"changedTouches"in i?[i.changedTouches[0].clientX,i.changedTouches[0].clientY]:[0,0]},km=function(i){return[i.deltaX,i.deltaY]},Xm=function(i){return i&&"current"in i?i.current:i},dp=function(i,r){return i[0]===r[0]&&i[1]===r[1]},mp=function(i){return`
  .block-interactivity-`.concat(i,` {pointer-events: none;}
  .allow-interactivity-`).concat(i,` {pointer-events: all;}
`)},hp=0,ka=[];function vp(i){var r=T.useRef([]),s=T.useRef([0,0]),c=T.useRef(),d=T.useState(hp++)[0],m=T.useState(Sh)[0],S=T.useRef(i);T.useEffect(function(){S.current=i},[i]),T.useEffect(function(){if(i.inert){document.body.classList.add("block-interactivity-".concat(d));var z=Hb([i.lockRef.current],(i.shards||[]).map(Xm),!0).filter(Boolean);return z.forEach(function(G){return G.classList.add("allow-interactivity-".concat(d))}),function(){document.body.classList.remove("block-interactivity-".concat(d)),z.forEach(function(G){return G.classList.remove("allow-interactivity-".concat(d))})}}},[i.inert,i.lockRef.current,i.shards]);var g=T.useCallback(function(z,G){if("touches"in z&&z.touches.length===2||z.type==="wheel"&&z.ctrlKey)return!S.current.allowPinchZoom;var I=gi(z),me=s.current,te="deltaX"in z?z.deltaX:me[0]-I[0],ue="deltaY"in z?z.deltaY:me[1]-I[1],Y,ne=z.target,F=Math.abs(te)>Math.abs(ue)?"h":"v";if("touches"in z&&F==="h"&&ne.type==="range")return!1;var k=Gm(F,ne);if(!k)return!0;if(k?Y=F:(Y=F==="v"?"h":"v",k=Gm(F,ne)),!k)return!1;if(!c.current&&"changedTouches"in z&&(te||ue)&&(c.current=Y),!Y)return!0;var he=c.current||Y;return fp(he,G,z,he==="h"?te:ue)},[]),E=T.useCallback(function(z){var G=z;if(!(!ka.length||ka[ka.length-1]!==m)){var I="deltaY"in G?km(G):gi(G),me=r.current.filter(function(Y){return Y.name===G.type&&(Y.target===G.target||G.target===Y.shadowParent)&&dp(Y.delta,I)})[0];if(me&&me.should){G.cancelable&&G.preventDefault();return}if(!me){var te=(S.current.shards||[]).map(Xm).filter(Boolean).filter(function(Y){return Y.contains(G.target)}),ue=te.length>0?g(G,te[0]):!S.current.noIsolation;ue&&G.cancelable&&G.preventDefault()}}},[]),h=T.useCallback(function(z,G,I,me){var te={name:z,delta:G,target:I,should:me,shadowParent:gp(I)};r.current.push(te),setTimeout(function(){r.current=r.current.filter(function(ue){return ue!==te})},1)},[]),A=T.useCallback(function(z){s.current=gi(z),c.current=void 0},[]),C=T.useCallback(function(z){h(z.type,km(z),z.target,g(z,i.lockRef.current))},[]),U=T.useCallback(function(z){h(z.type,gi(z),z.target,g(z,i.lockRef.current))},[]);T.useEffect(function(){return ka.push(m),i.setCallbacks({onScrollCapture:C,onWheelCapture:C,onTouchMoveCapture:U}),document.addEventListener("wheel",E,Ga),document.addEventListener("touchmove",E,Ga),document.addEventListener("touchstart",A,Ga),function(){ka=ka.filter(function(z){return z!==m}),document.removeEventListener("wheel",E,Ga),document.removeEventListener("touchmove",E,Ga),document.removeEventListener("touchstart",A,Ga)}},[]);var X=i.removeScrollBar,W=i.inert;return T.createElement(T.Fragment,null,W?T.createElement(m,{styles:mp(d)}):null,X?T.createElement(np,{gapMode:i.gapMode}):null)}function gp(i){for(var r=null;i!==null;)i instanceof ShadowRoot&&(r=i.host,i=i.host),i=i.parentNode;return r}const yp=Qb(ph,vp);var Th=T.forwardRef(function(i,r){return T.createElement(Ti,Lt({},i,{ref:r,sideCar:yp}))});Th.classNames=Ti.classNames;var bp=function(i){if(typeof document>"u")return null;var r=Array.isArray(i)?i[0]:i;return r.ownerDocument.body},Xa=new WeakMap,yi=new WeakMap,bi={},lo=0,Nh=function(i){return i&&(i.host||Nh(i.parentNode))},pp=function(i,r){return r.map(function(s){if(i.contains(s))return s;var c=Nh(s);return c&&i.contains(c)?c:(console.error("aria-hidden",s,"in not contained inside",i,". Doing nothing"),null)}).filter(function(s){return!!s})},Sp=function(i,r,s,c){var d=pp(r,Array.isArray(i)?i:[i]);bi[s]||(bi[s]=new WeakMap);var m=bi[s],S=[],g=new Set,E=new Set(d),h=function(C){!C||g.has(C)||(g.add(C),h(C.parentNode))};d.forEach(h);var A=function(C){!C||E.has(C)||Array.prototype.forEach.call(C.children,function(U){if(g.has(U))A(U);else try{var X=U.getAttribute(c),W=X!==null&&X!=="false",z=(Xa.get(U)||0)+1,G=(m.get(U)||0)+1;Xa.set(U,z),m.set(U,G),S.push(U),z===1&&W&&yi.set(U,!0),G===1&&U.setAttribute(s,"true"),W||U.setAttribute(c,"true")}catch(I){console.error("aria-hidden: cannot operate on ",U,I)}})};return A(r),g.clear(),lo++,function(){S.forEach(function(C){var U=Xa.get(C)-1,X=m.get(C)-1;Xa.set(C,U),m.set(C,X),U||(yi.has(C)||C.removeAttribute(c),yi.delete(C)),X||C.removeAttribute(s)}),lo--,lo||(Xa=new WeakMap,Xa=new WeakMap,yi=new WeakMap,bi={})}},xp=function(i,r,s){s===void 0&&(s="data-aria-hidden");var c=Array.from(Array.isArray(i)?i:[i]),d=bp(i);return d?(c.push.apply(c,Array.from(d.querySelectorAll("[aria-live]"))),Sp(c,d,s,"aria-hidden")):function(){return null}},Ni="Dialog",[_h,Ip]=rb(Ni),[Ep,Rt]=_h(Ni),Oh=i=>{const{__scopeDialog:r,children:s,open:c,defaultOpen:d,onOpenChange:m,modal:S=!0}=i,g=T.useRef(null),E=T.useRef(null),[h,A]=mb({prop:c,defaultProp:d??!1,onChange:m,caller:Ni});return y.jsx(Ep,{scope:r,triggerRef:g,contentRef:E,contentId:Wr(),titleId:Wr(),descriptionId:Wr(),open:h,onOpenChange:A,onOpenToggle:T.useCallback(()=>A(C=>!C),[A]),modal:S,children:s})};Oh.displayName=Ni;var Mh="DialogTrigger",Ap=T.forwardRef((i,r)=>{const{__scopeDialog:s,...c}=i,d=Rt(Mh,s),m=Cl(r,d.triggerRef);return y.jsx(Yt.button,{type:"button","aria-haspopup":"dialog","aria-expanded":d.open,"aria-controls":d.contentId,"data-state":bo(d.open),...c,ref:m,onClick:wl(i.onClick,d.onOpenToggle)})});Ap.displayName=Mh;var go="DialogPortal",[Tp,Dh]=_h(go,{forceMount:void 0}),zh=i=>{const{__scopeDialog:r,forceMount:s,children:c,container:d}=i,m=Rt(go,r);return y.jsx(Tp,{scope:r,forceMount:s,children:T.Children.map(c,S=>y.jsx(Ai,{present:s||m.open,children:y.jsx(gh,{asChild:!0,container:d,children:S})}))})};zh.displayName=go;var Ei="DialogOverlay",Rh=T.forwardRef((i,r)=>{const s=Dh(Ei,i.__scopeDialog),{forceMount:c=s.forceMount,...d}=i,m=Rt(Ei,i.__scopeDialog);return m.modal?y.jsx(Ai,{present:c||m.open,children:y.jsx(_p,{...d,ref:r})}):null});Rh.displayName=Ei;var Np=fo("DialogOverlay.RemoveScroll"),_p=T.forwardRef((i,r)=>{const{__scopeDialog:s,...c}=i,d=Rt(Ei,s);return y.jsx(Th,{as:Np,allowPinchZoom:!0,shards:[d.contentRef],children:y.jsx(Yt.div,{"data-state":bo(d.open),...c,ref:r,style:{pointerEvents:"auto",...c.style}})})}),Il="DialogContent",wh=T.forwardRef((i,r)=>{const s=Dh(Il,i.__scopeDialog),{forceMount:c=s.forceMount,...d}=i,m=Rt(Il,i.__scopeDialog);return y.jsx(Ai,{present:c||m.open,children:m.modal?y.jsx(Op,{...d,ref:r}):y.jsx(Mp,{...d,ref:r})})});wh.displayName=Il;var Op=T.forwardRef((i,r)=>{const s=Rt(Il,i.__scopeDialog),c=T.useRef(null),d=Cl(r,s.contentRef,c);return T.useEffect(()=>{const m=c.current;if(m)return xp(m)},[]),y.jsx(Ch,{...i,ref:d,trapFocus:s.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:wl(i.onCloseAutoFocus,m=>{var S;m.preventDefault(),(S=s.triggerRef.current)==null||S.focus()}),onPointerDownOutside:wl(i.onPointerDownOutside,m=>{const S=m.detail.originalEvent,g=S.button===0&&S.ctrlKey===!0;(S.button===2||g)&&m.preventDefault()}),onFocusOutside:wl(i.onFocusOutside,m=>m.preventDefault())})}),Mp=T.forwardRef((i,r)=>{const s=Rt(Il,i.__scopeDialog),c=T.useRef(!1),d=T.useRef(!1);return y.jsx(Ch,{...i,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:m=>{var S,g;(S=i.onCloseAutoFocus)==null||S.call(i,m),m.defaultPrevented||(c.current||(g=s.triggerRef.current)==null||g.focus(),m.preventDefault()),c.current=!1,d.current=!1},onInteractOutside:m=>{var E,h;(E=i.onInteractOutside)==null||E.call(i,m),m.defaultPrevented||(c.current=!0,m.detail.originalEvent.type==="pointerdown"&&(d.current=!0));const S=m.target;((h=s.triggerRef.current)==null?void 0:h.contains(S))&&m.preventDefault(),m.detail.originalEvent.type==="focusin"&&d.current&&m.preventDefault()}})}),Ch=T.forwardRef((i,r)=>{const{__scopeDialog:s,trapFocus:c,onOpenAutoFocus:d,onCloseAutoFocus:m,...S}=i,g=Rt(Il,s),E=T.useRef(null),h=Cl(r,E);return Ub(),y.jsxs(y.Fragment,{children:[y.jsx(hh,{asChild:!0,loop:!0,trapped:c,onMountAutoFocus:d,onUnmountAutoFocus:m,children:y.jsx(dh,{role:"dialog",id:g.contentId,"aria-describedby":g.descriptionId,"aria-labelledby":g.titleId,"data-state":bo(g.open),...S,ref:h,onDismiss:()=>g.onOpenChange(!1)})}),y.jsxs(y.Fragment,{children:[y.jsx(zp,{titleId:g.titleId}),y.jsx(wp,{contentRef:E,descriptionId:g.descriptionId})]})]})}),yo="DialogTitle",jh=T.forwardRef((i,r)=>{const{__scopeDialog:s,...c}=i,d=Rt(yo,s);return y.jsx(Yt.h2,{id:d.titleId,...c,ref:r})});jh.displayName=yo;var Uh="DialogDescription",Dp=T.forwardRef((i,r)=>{const{__scopeDialog:s,...c}=i,d=Rt(Uh,s);return y.jsx(Yt.p,{id:d.descriptionId,...c,ref:r})});Dp.displayName=Uh;var Hh="DialogClose",Bh=T.forwardRef((i,r)=>{const{__scopeDialog:s,...c}=i,d=Rt(Hh,s);return y.jsx(Yt.button,{type:"button",...c,ref:r,onClick:wl(i.onClick,()=>d.onOpenChange(!1))})});Bh.displayName=Hh;function bo(i){return i?"open":"closed"}var qh="DialogTitleWarning",[e1,Lh]=cb(qh,{contentName:Il,titleName:yo,docsSlug:"dialog"}),zp=({titleId:i})=>{const r=Lh(qh),s=`\`${r.contentName}\` requires a \`${r.titleName}\` for the component to be accessible for screen reader users.

If you want to hide the \`${r.titleName}\`, you can wrap it with our VisuallyHidden component.

For more information, see https://radix-ui.com/primitives/docs/components/${r.docsSlug}`;return T.useEffect(()=>{i&&(document.getElementById(i)||console.error(s))},[s,i]),null},Rp="DialogDescriptionWarning",wp=({contentRef:i,descriptionId:r})=>{const c=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Lh(Rp).contentName}}.`;return T.useEffect(()=>{var m;const d=(m=i.current)==null?void 0:m.getAttribute("aria-describedby");r&&d&&(document.getElementById(r)||console.warn(c))},[c,i,r]),null},Cp=Oh,jp=zh,Up=Rh,Hp=wh,Bp=jh,qp=Bh;function Lp({...i}){return y.jsx(Cp,{"data-slot":"dialog",...i})}function Yp({...i}){return y.jsx(jp,{"data-slot":"dialog-portal",...i})}function Gp({className:i,...r}){return y.jsx(Up,{"data-slot":"dialog-overlay",className:gt("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",i),...r})}function kp({className:i,children:r,...s}){return y.jsxs(Yp,{"data-slot":"dialog-portal",children:[y.jsx(Gp,{}),y.jsxs(Hp,{"data-slot":"dialog-content",className:gt("bg-background 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 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",i),...s,children:[r,y.jsxs(qp,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[y.jsx($m,{}),y.jsx("span",{className:"sr-only",children:"Close"})]})]})]})}function Xp({className:i,...r}){return y.jsx("div",{"data-slot":"dialog-header",className:gt("flex flex-col gap-2 text-center sm:text-left",i),...r})}function Vp({className:i,...r}){return y.jsx(Bp,{"data-slot":"dialog-title",className:gt("text-lg leading-none font-semibold",i),...r})}function Qp({className:i,...r}){return y.jsx("textarea",{"data-slot":"textarea",className:gt("border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",i),...r})}const Zp=({delivery:i,isOpen:r,onClose:s,onSaveObservations:c})=>{const[d,m]=T.useState((i==null?void 0:i.observacoes)||""),[S,g]=T.useState(!1),[E,h]=T.useState("");if(!i)return null;const A=z=>new Intl.NumberFormat("pt-BR",{style:"currency",currency:"BRL"}).format(z),C=z=>z?new Intl.DateTimeFormat("pt-BR",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit"}).format(new Date(z)):"Não informado",U=()=>`${i.endereco_rua}, ${i.endereco_numero} - ${i.endereco_bairro}`,X=async z=>{z.preventDefault(),g(!0);try{await c(i.id,d),h("Observações salvas com sucesso!"),setTimeout(()=>h(""),3e3)}catch{h("Erro ao salvar observações"),setTimeout(()=>h(""),3e3)}finally{g(!1)}},W=()=>{const G=`https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(U())}`;window.open(G,"_blank")};return y.jsx(Lp,{open:r,onOpenChange:s,children:y.jsxs(kp,{className:"max-w-md mx-auto max-h-[90vh] overflow-y-auto",children:[y.jsx(Xp,{children:y.jsxs(Vp,{className:"text-xl font-bold text-green-700",children:["Detalhes do Pedido #",i.pedido_numero]})}),y.jsxs("div",{className:"space-y-4",children:[y.jsxs("div",{className:"grid grid-cols-1 gap-3 text-sm",children:[y.jsxs("div",{children:[y.jsx("strong",{children:"Cliente:"})," ",i.nome]}),y.jsxs("div",{children:[y.jsx("strong",{children:"Endereço:"})," ",U()]}),y.jsxs("div",{children:[y.jsx("strong",{children:"Data do Pedido:"})," ",C(i.data_hora)]}),y.jsxs("div",{children:[y.jsx("strong",{children:"Valor Total:"})," ",A(i.v_pedido)]}),y.jsxs("div",{children:[y.jsx("strong",{children:"Status:"}),y.jsx("span",{className:`ml-2 px-2 py-1 rounded text-xs font-semibold ${i.status_entrega==="entregue"?"bg-green-100 text-green-800":"bg-orange-100 text-orange-800"}`,children:i.status_entrega==="entregue"?"Entregue":"Pendente"})]}),y.jsxs("div",{children:[y.jsx("strong",{children:"Horário da Entrega:"})," ",C(i.datahora_entrega)]})]}),y.jsxs("form",{onSubmit:X,className:"space-y-4",children:[y.jsxs("div",{children:[y.jsx(io,{htmlFor:"observations",className:"text-sm font-semibold",children:"Observações"}),y.jsx(Qp,{id:"observations",value:d,onChange:z=>m(z.target.value),placeholder:"Digite aqui suas observações...",rows:3,className:"mt-1"})]}),E&&y.jsx("div",{className:"text-green-600 text-sm font-semibold",children:E}),y.jsxs("div",{className:"flex flex-col sm:flex-row gap-2",children:[y.jsxs(nt,{type:"button",onClick:W,className:"bg-green-600 hover:bg-green-700 text-white flex-1",children:[y.jsx(Wm,{className:"w-4 h-4 mr-2"}),"Abrir no Mapa"]}),y.jsxs(nt,{type:"submit",disabled:S,variant:"outline",className:"border-green-600 text-green-700 hover:bg-green-600 hover:text-white flex-1",children:[y.jsx(ly,{className:"w-4 h-4 mr-2"}),S?"Salvando...":"Salvar Observações"]})]}),y.jsx(nt,{type:"button",onClick:s,variant:"secondary",className:"w-full",children:"Fechar"})]})]})]})})},Kp=({currentPage:i,totalPages:r,onPageChange:s})=>{if(r<=1)return null;const d=(()=>{const m=[];if(r<=5)for(let g=1;g<=r;g++)m.push(g);else if(i<=3){for(let g=1;g<=4;g++)m.push(g);m.push("..."),m.push(r)}else if(i>=r-2){m.push(1),m.push("...");for(let g=r-3;g<=r;g++)m.push(g)}else{m.push(1),m.push("...");for(let g=i-1;g<=i+1;g++)m.push(g);m.push("..."),m.push(r)}return m})();return y.jsxs("div",{className:"flex items-center justify-center space-x-2 mt-8",children:[y.jsx(nt,{variant:"outline",size:"sm",onClick:()=>s(i-1),disabled:i===1,className:"border-green-600 text-green-700 hover:bg-green-600 hover:text-white disabled:opacity-50 disabled:cursor-not-allowed",children:y.jsx(D0,{className:"w-4 h-4"})}),d.map((m,S)=>y.jsx("div",{children:m==="..."?y.jsx("span",{className:"px-3 py-2 text-gray-500",children:"..."}):y.jsx(nt,{variant:i===m?"default":"outline",size:"sm",onClick:()=>s(m),className:i===m?"bg-green-600 hover:bg-green-700 text-white":"border-green-600 text-green-700 hover:bg-green-600 hover:text-white",children:m})},S)),y.jsx(nt,{variant:"outline",size:"sm",onClick:()=>s(i+1),disabled:i===r,className:"border-green-600 text-green-700 hover:bg-green-600 hover:text-white disabled:opacity-50 disabled:cursor-not-allowed",children:y.jsx(R0,{className:"w-4 h-4"})})]})},Jp=()=>{const[i,r]=T.useState([]),[s,c]=T.useState(!0),[d,m]=T.useState(""),[S,g]=T.useState(null),[E,h]=T.useState(!1),[A,C]=T.useState(1),[U,X]=T.useState(1),[W,z]=T.useState(!1),G=async(Y=1)=>{try{c(!0);const ne=await Va.getDeliveries(Y,12);ne.success?(r(ne.data),X(ne.totalPages),C(ne.currentPage)):m("Erro ao carregar entregas")}catch{m("Erro de conexão")}finally{c(!1)}};T.useEffect(()=>{G()},[]);const I=async(Y,ne)=>{try{z(!0);const F=await Va.updateDeliveryStatus(Y,ne);F.success?r(k=>k.map(he=>he.id===Y?{...he,status_entrega:ne,datahora_entrega:ne==="entregue"?new Date().toISOString():null}:he)):alert("Erro ao atualizar status: "+F.error)}catch{alert("Erro de conexão ao atualizar status")}finally{z(!1)}},me=Y=>{g(Y),h(!0)},te=async(Y,ne)=>{const F=await Va.saveObservations(Y,ne);if(F.success)r(k=>k.map(he=>he.id===Y?{...he,observacoes:ne}:he)),(S==null?void 0:S.id)===Y&&g(k=>({...k,observacoes:ne}));else throw new Error(F.error)},ue=Y=>{G(Y)};return s?y.jsx("div",{className:"min-h-screen bg-gray-50 p-4",children:y.jsxs("div",{className:"max-w-7xl mx-auto",children:[y.jsx(Jr,{}),y.jsx(xi,{text:"Carregando entregas..."})]})}):d?y.jsx("div",{className:"min-h-screen bg-gray-50 p-4",children:y.jsxs("div",{className:"max-w-7xl mx-auto",children:[y.jsx(Jr,{}),y.jsx("div",{className:"flex items-center justify-center p-8",children:y.jsxs("div",{className:"text-center",children:[y.jsx(C0,{className:"w-12 h-12 text-red-500 mx-auto mb-4"}),y.jsx("p",{className:"text-red-600 text-lg font-semibold",children:d}),y.jsx("button",{onClick:()=>G(),className:"mt-4 px-4 py-2 bg-green-600 text-white rounded-lg hover:bg-green-700 transition-colors",children:"Tentar novamente"})]})})]})}):y.jsx("div",{className:"min-h-screen bg-gray-50 p-4",children:y.jsxs("div",{className:"max-w-7xl mx-auto",children:[y.jsx(Jr,{}),i.length===0?y.jsxs("div",{className:"text-center py-12",children:[y.jsx("div",{className:"text-6xl mb-4",children:"📦"}),y.jsx("p",{className:"text-xl text-gray-600 font-medium",children:"Nenhuma entrega encontrada"}),y.jsx("p",{className:"text-gray-500 mt-2",children:"Suas entregas aparecerão aqui quando disponíveis"})]}):y.jsxs(y.Fragment,{children:[y.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:i.map(Y=>y.jsx(ib,{delivery:Y,onStatusChange:I,onShowDetails:me},Y.id))}),y.jsx(Kp,{currentPage:A,totalPages:U,onPageChange:ue})]}),y.jsx(Zp,{delivery:S,isOpen:E,onClose:()=>h(!1),onSaveObservations:te}),W&&y.jsx("div",{className:"fixed inset-0 bg-black bg-opacity-20 flex items-center justify-center z-50",children:y.jsx("div",{className:"bg-white rounded-lg p-6 shadow-xl",children:y.jsx(xi,{size:"small",text:"Atualizando status..."})})})]})})},Yh=()=>{const[i,r]=T.useState(navigator.onLine),[s,c]=T.useState(!1),[d,m]=T.useState(null),[S,g]=T.useState(!1);return T.useEffect(()=>{"serviceWorker"in navigator&&window.addEventListener("load",()=>{navigator.serviceWorker.register("/sw.js").then(z=>{console.log("SW registered: ",z)}).catch(z=>{console.log("SW registration failed: ",z)})});const A=()=>r(!0),C=()=>r(!1);window.addEventListener("online",A),window.addEventListener("offline",C);const U=z=>{z.preventDefault(),m(z),c(!0)};window.addEventListener("beforeinstallprompt",U);const X=()=>{g(!0),c(!1),m(null)};return window.addEventListener("appinstalled",X),window.matchMedia("(display-mode: standalone)").matches&&g(!0),()=>{window.removeEventListener("online",A),window.removeEventListener("offline",C),window.removeEventListener("beforeinstallprompt",U),window.removeEventListener("appinstalled",X)}},[]),{isOnline:i,isInstallable:s,isInstalled:S,installApp:async()=>{if(!d)return!1;try{d.prompt();const{outcome:A}=await d.userChoice;return A==="accepted"?(g(!0),c(!1),m(null),!0):!1}catch(A){return console.error("Erro ao instalar app:",A),!1}},addToSyncQueue:(A,C)=>{const U=A==="status"?"pendingStatusUpdates":"pendingObservations",W=JSON.parse(localStorage.getItem(U)||"[]").filter(z=>z.id!==C.id);W.push(C),localStorage.setItem(U,JSON.stringify(W)),"serviceWorker"in navigator&&"sync"in window.ServiceWorkerRegistration.prototype&&navigator.serviceWorker.ready.then(z=>{const G=A==="status"?"delivery-status-sync":"observations-sync";return z.sync.register(G)}).catch(z=>{console.log("Erro ao registrar sync:",z)})}}},Wp=()=>{const{isOnline:i}=Yh();return i?null:y.jsx("div",{className:"fixed top-0 left-0 right-0 bg-red-600 text-white px-4 py-2 text-center text-sm font-medium z-50 shadow-lg",children:y.jsxs("div",{className:"flex items-center justify-center gap-2",children:[y.jsx(iy,{className:"w-4 h-4"}),y.jsx("span",{children:"Você está offline. Algumas funcionalidades podem estar limitadas."})]})})},$p=()=>{const{isInstallable:i,installApp:r}=Yh(),[s,c]=T.useState(!1);if(!i||s)return null;const d=async()=>{await r()&&c(!0)},m=()=>{c(!0)};return y.jsx("div",{className:"fixed bottom-4 left-4 right-4 z-50 max-w-sm mx-auto",children:y.jsx(ho,{className:"shadow-xl border-green-200 bg-green-50",children:y.jsx(vo,{className:"p-4",children:y.jsxs("div",{className:"flex items-start gap-3",children:[y.jsxs("div",{className:"flex-1",children:[y.jsx("h3",{className:"font-semibold text-green-800 mb-1",children:"Instalar App"}),y.jsx("p",{className:"text-sm text-green-700 mb-3",children:"Instale o app para acesso rápido e funcionamento offline!"}),y.jsxs("div",{className:"flex gap-2",children:[y.jsxs(nt,{onClick:d,size:"sm",className:"bg-green-600 hover:bg-green-700 text-white",children:[y.jsx(L0,{className:"w-4 h-4 mr-1"}),"Instalar"]}),y.jsx(nt,{onClick:m,variant:"outline",size:"sm",className:"border-green-600 text-green-700 hover:bg-green-600 hover:text-white",children:"Agora não"})]})]}),y.jsx(nt,{onClick:m,variant:"ghost",size:"sm",className:"text-green-600 hover:text-green-800 p-1",children:y.jsx($m,{className:"w-4 h-4"})})]})})})})};function Fp(){const{user:i,loading:r}=so();return r?y.jsx("div",{className:"min-h-screen bg-gray-50 flex items-center justify-center",children:y.jsx(xi,{text:"Carregando aplicação..."})}):y.jsxs(y.Fragment,{children:[y.jsx(Wp,{}),i?y.jsx(Jp,{}):y.jsx(ub,{}),y.jsx($p,{})]})}function Pp(){return y.jsx(E0,{children:y.jsx(Fp,{})})}p0.createRoot(document.getElementById("root")).render(y.jsx(T.StrictMode,{children:y.jsx(Pp,{})}));
